diff --git a/node_modules/.bin/browsers b/node_modules/.bin/browsers deleted file mode 100644 index f38b41d..0000000 --- a/node_modules/.bin/browsers +++ /dev/null @@ -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/../@puppeteer/browsers/lib/cjs/main-cli.js" "$@" -else - exec node "$basedir/../@puppeteer/browsers/lib/cjs/main-cli.js" "$@" -fi diff --git a/node_modules/.bin/browsers.cmd b/node_modules/.bin/browsers.cmd deleted file mode 100644 index 7cb5cf2..0000000 --- a/node_modules/.bin/browsers.cmd +++ /dev/null @@ -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%\..\@puppeteer\browsers\lib\cjs\main-cli.js" %* diff --git a/node_modules/.bin/browsers.ps1 b/node_modules/.bin/browsers.ps1 deleted file mode 100644 index 8c69573..0000000 --- a/node_modules/.bin/browsers.ps1 +++ /dev/null @@ -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/../@puppeteer/browsers/lib/cjs/main-cli.js" $args - } else { - & "$basedir/node$exe" "$basedir/../@puppeteer/browsers/lib/cjs/main-cli.js" $args - } - $ret=$LASTEXITCODE -} else { - # Support pipeline input - if ($MyInvocation.ExpectingInput) { - $input | & "node$exe" "$basedir/../@puppeteer/browsers/lib/cjs/main-cli.js" $args - } else { - & "node$exe" "$basedir/../@puppeteer/browsers/lib/cjs/main-cli.js" $args - } - $ret=$LASTEXITCODE -} -exit $ret diff --git a/node_modules/.bin/escodegen b/node_modules/.bin/escodegen deleted file mode 100644 index 1dbc1f0..0000000 --- a/node_modules/.bin/escodegen +++ /dev/null @@ -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/../escodegen/bin/escodegen.js" "$@" -else - exec node "$basedir/../escodegen/bin/escodegen.js" "$@" -fi diff --git a/node_modules/.bin/escodegen.cmd b/node_modules/.bin/escodegen.cmd deleted file mode 100644 index 9ac38a7..0000000 --- a/node_modules/.bin/escodegen.cmd +++ /dev/null @@ -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%\..\escodegen\bin\escodegen.js" %* diff --git a/node_modules/.bin/escodegen.ps1 b/node_modules/.bin/escodegen.ps1 deleted file mode 100644 index 61d258e..0000000 --- a/node_modules/.bin/escodegen.ps1 +++ /dev/null @@ -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/../escodegen/bin/escodegen.js" $args - } else { - & "$basedir/node$exe" "$basedir/../escodegen/bin/escodegen.js" $args - } - $ret=$LASTEXITCODE -} else { - # Support pipeline input - if ($MyInvocation.ExpectingInput) { - $input | & "node$exe" "$basedir/../escodegen/bin/escodegen.js" $args - } else { - & "node$exe" "$basedir/../escodegen/bin/escodegen.js" $args - } - $ret=$LASTEXITCODE -} -exit $ret diff --git a/node_modules/.bin/esgenerate b/node_modules/.bin/esgenerate deleted file mode 100644 index 8633c74..0000000 --- a/node_modules/.bin/esgenerate +++ /dev/null @@ -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/../escodegen/bin/esgenerate.js" "$@" -else - exec node "$basedir/../escodegen/bin/esgenerate.js" "$@" -fi diff --git a/node_modules/.bin/esgenerate.cmd b/node_modules/.bin/esgenerate.cmd deleted file mode 100644 index 5c6426d..0000000 --- a/node_modules/.bin/esgenerate.cmd +++ /dev/null @@ -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%\..\escodegen\bin\esgenerate.js" %* diff --git a/node_modules/.bin/esgenerate.ps1 b/node_modules/.bin/esgenerate.ps1 deleted file mode 100644 index 8835d60..0000000 --- a/node_modules/.bin/esgenerate.ps1 +++ /dev/null @@ -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/../escodegen/bin/esgenerate.js" $args - } else { - & "$basedir/node$exe" "$basedir/../escodegen/bin/esgenerate.js" $args - } - $ret=$LASTEXITCODE -} else { - # Support pipeline input - if ($MyInvocation.ExpectingInput) { - $input | & "node$exe" "$basedir/../escodegen/bin/esgenerate.js" $args - } else { - & "node$exe" "$basedir/../escodegen/bin/esgenerate.js" $args - } - $ret=$LASTEXITCODE -} -exit $ret diff --git a/node_modules/.bin/esparse b/node_modules/.bin/esparse deleted file mode 100644 index 601762c..0000000 --- a/node_modules/.bin/esparse +++ /dev/null @@ -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/../esprima/bin/esparse.js" "$@" -else - exec node "$basedir/../esprima/bin/esparse.js" "$@" -fi diff --git a/node_modules/.bin/esparse.cmd b/node_modules/.bin/esparse.cmd deleted file mode 100644 index 2ca6d50..0000000 --- a/node_modules/.bin/esparse.cmd +++ /dev/null @@ -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%\..\esprima\bin\esparse.js" %* diff --git a/node_modules/.bin/esparse.ps1 b/node_modules/.bin/esparse.ps1 deleted file mode 100644 index f19ed73..0000000 --- a/node_modules/.bin/esparse.ps1 +++ /dev/null @@ -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/../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 diff --git a/node_modules/.bin/esvalidate b/node_modules/.bin/esvalidate deleted file mode 100644 index e2fee1f..0000000 --- a/node_modules/.bin/esvalidate +++ /dev/null @@ -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/../esprima/bin/esvalidate.js" "$@" -else - exec node "$basedir/../esprima/bin/esvalidate.js" "$@" -fi diff --git a/node_modules/.bin/esvalidate.cmd b/node_modules/.bin/esvalidate.cmd deleted file mode 100644 index 4c41643..0000000 --- a/node_modules/.bin/esvalidate.cmd +++ /dev/null @@ -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%\..\esprima\bin\esvalidate.js" %* diff --git a/node_modules/.bin/esvalidate.ps1 b/node_modules/.bin/esvalidate.ps1 deleted file mode 100644 index 23699d1..0000000 --- a/node_modules/.bin/esvalidate.ps1 +++ /dev/null @@ -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/../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 diff --git a/node_modules/.bin/extract-zip b/node_modules/.bin/extract-zip deleted file mode 100644 index ff2b934..0000000 --- a/node_modules/.bin/extract-zip +++ /dev/null @@ -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/../extract-zip/cli.js" "$@" -else - exec node "$basedir/../extract-zip/cli.js" "$@" -fi diff --git a/node_modules/.bin/extract-zip.cmd b/node_modules/.bin/extract-zip.cmd deleted file mode 100644 index 6767bfe..0000000 --- a/node_modules/.bin/extract-zip.cmd +++ /dev/null @@ -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%\..\extract-zip\cli.js" %* diff --git a/node_modules/.bin/extract-zip.ps1 b/node_modules/.bin/extract-zip.ps1 deleted file mode 100644 index cf7515c..0000000 --- a/node_modules/.bin/extract-zip.ps1 +++ /dev/null @@ -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/../extract-zip/cli.js" $args - } else { - & "$basedir/node$exe" "$basedir/../extract-zip/cli.js" $args - } - $ret=$LASTEXITCODE -} else { - # Support pipeline input - if ($MyInvocation.ExpectingInput) { - $input | & "node$exe" "$basedir/../extract-zip/cli.js" $args - } else { - & "node$exe" "$basedir/../extract-zip/cli.js" $args - } - $ret=$LASTEXITCODE -} -exit $ret diff --git a/node_modules/.bin/js-yaml b/node_modules/.bin/js-yaml deleted file mode 100644 index 82416ef..0000000 --- a/node_modules/.bin/js-yaml +++ /dev/null @@ -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/../js-yaml/bin/js-yaml.js" "$@" -else - exec node "$basedir/../js-yaml/bin/js-yaml.js" "$@" -fi diff --git a/node_modules/.bin/js-yaml.cmd b/node_modules/.bin/js-yaml.cmd deleted file mode 100644 index 453312b..0000000 --- a/node_modules/.bin/js-yaml.cmd +++ /dev/null @@ -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%\..\js-yaml\bin\js-yaml.js" %* diff --git a/node_modules/.bin/js-yaml.ps1 b/node_modules/.bin/js-yaml.ps1 deleted file mode 100644 index 2acfc61..0000000 --- a/node_modules/.bin/js-yaml.ps1 +++ /dev/null @@ -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/../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 diff --git a/node_modules/.bin/puppeteer b/node_modules/.bin/puppeteer deleted file mode 100644 index b57d954..0000000 --- a/node_modules/.bin/puppeteer +++ /dev/null @@ -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/../puppeteer/lib/esm/puppeteer/node/cli.js" "$@" -else - exec node "$basedir/../puppeteer/lib/esm/puppeteer/node/cli.js" "$@" -fi diff --git a/node_modules/.bin/puppeteer.cmd b/node_modules/.bin/puppeteer.cmd deleted file mode 100644 index a88a892..0000000 --- a/node_modules/.bin/puppeteer.cmd +++ /dev/null @@ -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%\..\puppeteer\lib\esm\puppeteer\node\cli.js" %* diff --git a/node_modules/.bin/puppeteer.ps1 b/node_modules/.bin/puppeteer.ps1 deleted file mode 100644 index 804f89a..0000000 --- a/node_modules/.bin/puppeteer.ps1 +++ /dev/null @@ -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/../puppeteer/lib/esm/puppeteer/node/cli.js" $args - } else { - & "$basedir/node$exe" "$basedir/../puppeteer/lib/esm/puppeteer/node/cli.js" $args - } - $ret=$LASTEXITCODE -} else { - # Support pipeline input - if ($MyInvocation.ExpectingInput) { - $input | & "node$exe" "$basedir/../puppeteer/lib/esm/puppeteer/node/cli.js" $args - } else { - & "node$exe" "$basedir/../puppeteer/lib/esm/puppeteer/node/cli.js" $args - } - $ret=$LASTEXITCODE -} -exit $ret diff --git a/node_modules/.bin/semver b/node_modules/.bin/semver deleted file mode 100644 index 97c5327..0000000 --- a/node_modules/.bin/semver +++ /dev/null @@ -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 diff --git a/node_modules/.bin/semver.cmd b/node_modules/.bin/semver.cmd deleted file mode 100644 index 9913fa9..0000000 --- a/node_modules/.bin/semver.cmd +++ /dev/null @@ -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" %* diff --git a/node_modules/.bin/semver.ps1 b/node_modules/.bin/semver.ps1 deleted file mode 100644 index 314717a..0000000 --- a/node_modules/.bin/semver.ps1 +++ /dev/null @@ -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 diff --git a/node_modules/.package-lock.json b/node_modules/.package-lock.json deleted file mode 100644 index c1e598c..0000000 --- a/node_modules/.package-lock.json +++ /dev/null @@ -1,1206 +0,0 @@ -{ - "name": "landing-page-design-examples", - "lockfileVersion": 3, - "requires": true, - "packages": { - "node_modules/@babel/code-frame": { - "version": "7.23.5", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.23.5.tgz", - "integrity": "sha512-CgH3s1a96LipHCmSUmYFPwY7MNx8C3avkq7i4Wl3cfa662ldtUe4VM1TPXX70pfmrlWTb6jLqTYrZyT2ZTJBgA==", - "dependencies": { - "@babel/highlight": "^7.23.4", - "chalk": "^2.4.2" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-validator-identifier": { - "version": "7.22.20", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.22.20.tgz", - "integrity": "sha512-Y4OZ+ytlatR8AI+8KZfKuL5urKp7qey08ha31L8b3BwewJAoJamTzyvxPR/5D+KkdJCGPq/+8TukHBlY10FX9A==", - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/highlight": { - "version": "7.23.4", - "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.23.4.tgz", - "integrity": "sha512-acGdbYSfp2WheJoJm/EBBBLh/ID8KDc64ISZ9DYtBmC8/Q204PZJLHyzeB5qMzJ5trcOkybd78M4x2KWsUq++A==", - "dependencies": { - "@babel/helper-validator-identifier": "^7.22.20", - "chalk": "^2.4.2", - "js-tokens": "^4.0.0" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@puppeteer/browsers": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/@puppeteer/browsers/-/browsers-2.1.0.tgz", - "integrity": "sha512-xloWvocjvryHdUjDam/ZuGMh7zn4Sn3ZAaV4Ah2e2EwEt90N3XphZlSsU3n0VDc1F7kggCjMuH0UuxfPQ5mD9w==", - "dependencies": { - "debug": "4.3.4", - "extract-zip": "2.0.1", - "progress": "2.0.3", - "proxy-agent": "6.4.0", - "semver": "7.6.0", - "tar-fs": "3.0.5", - "unbzip2-stream": "1.4.3", - "yargs": "17.7.2" - }, - "bin": { - "browsers": "lib/cjs/main-cli.js" - }, - "engines": { - "node": ">=18" - } - }, - "node_modules/@tootallnate/quickjs-emscripten": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/@tootallnate/quickjs-emscripten/-/quickjs-emscripten-0.23.0.tgz", - "integrity": "sha512-C5Mc6rdnsaJDjO3UpGW/CQTHtCKaYlScZTly4JIu97Jxo/odCiH0ITnDXSJPTOrEKk/ycSZ0AOgTmkDtkOsvIA==" - }, - "node_modules/@types/node": { - "version": "20.11.25", - "resolved": "https://registry.npmjs.org/@types/node/-/node-20.11.25.tgz", - "integrity": "sha512-TBHyJxk2b7HceLVGFcpAUjsa5zIdsPWlR6XHfyGzd0SFu+/NFgQgMAl96MSDZgQDvJAvV6BKsFOrt6zIL09JDw==", - "optional": true, - "dependencies": { - "undici-types": "~5.26.4" - } - }, - "node_modules/@types/yauzl": { - "version": "2.10.3", - "resolved": "https://registry.npmjs.org/@types/yauzl/-/yauzl-2.10.3.tgz", - "integrity": "sha512-oJoftv0LSuaDZE3Le4DbKX+KS9G36NzOeSap90UIK0yMA/NhKJhqlSGtNDORNRaIbQfzjXDrQa0ytJ6mNRGz/Q==", - "optional": true, - "dependencies": { - "@types/node": "*" - } - }, - "node_modules/agent-base": { - "version": "7.1.0", - "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-7.1.0.tgz", - "integrity": "sha512-o/zjMZRhJxny7OyEF+Op8X+efiELC7k7yOjMzgfzVqOzXqkBkWI79YoTdOtsuWd5BWhAGAuOY/Xa6xpiaWXiNg==", - "dependencies": { - "debug": "^4.3.4" - }, - "engines": { - "node": ">= 14" - } - }, - "node_modules/ansi-regex": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", - "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", - "engines": { - "node": ">=8" - } - }, - "node_modules/ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "dependencies": { - "color-convert": "^1.9.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/argparse": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", - "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==" - }, - "node_modules/ast-types": { - "version": "0.13.4", - "resolved": "https://registry.npmjs.org/ast-types/-/ast-types-0.13.4.tgz", - "integrity": "sha512-x1FCFnFifvYDDzTaLII71vG5uvDwgtmDTEVWAxrgeiR8VjMONcCXJx7E+USjDtHlwFmt9MysbqgF9b9Vjr6w+w==", - "dependencies": { - "tslib": "^2.0.1" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/b4a": { - "version": "1.6.6", - "resolved": "https://registry.npmjs.org/b4a/-/b4a-1.6.6.tgz", - "integrity": "sha512-5Tk1HLk6b6ctmjIkAcU/Ujv/1WqiDl0F0JdRCR80VsOcUlHcu7pWeWRlOqQLHfDEsVx9YH/aif5AG4ehoCtTmg==" - }, - "node_modules/bare-events": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/bare-events/-/bare-events-2.2.1.tgz", - "integrity": "sha512-9GYPpsPFvrWBkelIhOhTWtkeZxVxZOdb3VnFTCzlOo3OjvmTvzLoZFUT8kNFACx0vJej6QPney1Cf9BvzCNE/A==", - "optional": true - }, - "node_modules/bare-fs": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/bare-fs/-/bare-fs-2.2.1.tgz", - "integrity": "sha512-+CjmZANQDFZWy4PGbVdmALIwmt33aJg8qTkVjClU6X4WmZkTPBDxRHiBn7fpqEWEfF3AC2io++erpViAIQbSjg==", - "optional": true, - "dependencies": { - "bare-events": "^2.0.0", - "bare-os": "^2.0.0", - "bare-path": "^2.0.0", - "streamx": "^2.13.0" - } - }, - "node_modules/bare-os": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/bare-os/-/bare-os-2.2.0.tgz", - "integrity": "sha512-hD0rOPfYWOMpVirTACt4/nK8mC55La12K5fY1ij8HAdfQakD62M+H4o4tpfKzVGLgRDTuk3vjA4GqGXXCeFbag==", - "optional": true - }, - "node_modules/bare-path": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/bare-path/-/bare-path-2.1.0.tgz", - "integrity": "sha512-DIIg7ts8bdRKwJRJrUMy/PICEaQZaPGZ26lsSx9MJSwIhSrcdHn7/C8W+XmnG/rKi6BaRcz+JO00CjZteybDtw==", - "optional": true, - "dependencies": { - "bare-os": "^2.1.0" - } - }, - "node_modules/base64-js": { - "version": "1.5.1", - "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz", - "integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==", - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ] - }, - "node_modules/basic-ftp": { - "version": "5.0.5", - "resolved": "https://registry.npmjs.org/basic-ftp/-/basic-ftp-5.0.5.tgz", - "integrity": "sha512-4Bcg1P8xhUuqcii/S0Z9wiHIrQVPMermM1any+MX5GeGD7faD3/msQUDGLol9wOcz4/jbg/WJnGqoJF6LiBdtg==", - "engines": { - "node": ">=10.0.0" - } - }, - "node_modules/buffer": { - "version": "5.7.1", - "resolved": "https://registry.npmjs.org/buffer/-/buffer-5.7.1.tgz", - "integrity": "sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ==", - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ], - "dependencies": { - "base64-js": "^1.3.1", - "ieee754": "^1.1.13" - } - }, - "node_modules/buffer-crc32": { - "version": "0.2.13", - "resolved": "https://registry.npmjs.org/buffer-crc32/-/buffer-crc32-0.2.13.tgz", - "integrity": "sha512-VO9Ht/+p3SN7SKWqcrgEzjGbRSJYTx+Q1pTQC0wrWqHx0vpJraQ6GtHx8tvcg1rlK1byhU5gccxgOgj7B0TDkQ==", - "engines": { - "node": "*" - } - }, - "node_modules/callsites": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz", - "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==", - "engines": { - "node": ">=6" - } - }, - "node_modules/chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", - "dependencies": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/chromium-bidi": { - "version": "0.5.12", - "resolved": "https://registry.npmjs.org/chromium-bidi/-/chromium-bidi-0.5.12.tgz", - "integrity": "sha512-sZMgEBWKbupD0Q7lyFu8AWkrE+rs5ycE12jFkGwIgD/VS8lDPtelPlXM7LYaq4zrkZ/O2L3f4afHUHL0ICdKog==", - "dependencies": { - "mitt": "3.0.1", - "urlpattern-polyfill": "10.0.0" - }, - "peerDependencies": { - "devtools-protocol": "*" - } - }, - "node_modules/cliui": { - "version": "8.0.1", - "resolved": "https://registry.npmjs.org/cliui/-/cliui-8.0.1.tgz", - "integrity": "sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==", - "dependencies": { - "string-width": "^4.2.0", - "strip-ansi": "^6.0.1", - "wrap-ansi": "^7.0.0" - }, - "engines": { - "node": ">=12" - } - }, - "node_modules/color-convert": { - "version": "1.9.3", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", - "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", - "dependencies": { - "color-name": "1.1.3" - } - }, - "node_modules/color-name": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", - "integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==" - }, - "node_modules/cosmiconfig": { - "version": "9.0.0", - "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-9.0.0.tgz", - "integrity": "sha512-itvL5h8RETACmOTFc4UfIyB2RfEHi71Ax6E/PivVxq9NseKbOWpeyHEOIbmAw1rs8Ak0VursQNww7lf7YtUwzg==", - "dependencies": { - "env-paths": "^2.2.1", - "import-fresh": "^3.3.0", - "js-yaml": "^4.1.0", - "parse-json": "^5.2.0" - }, - "engines": { - "node": ">=14" - }, - "funding": { - "url": "https://github.com/sponsors/d-fischer" - }, - "peerDependencies": { - "typescript": ">=4.9.5" - }, - "peerDependenciesMeta": { - "typescript": { - "optional": true - } - } - }, - "node_modules/cross-fetch": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/cross-fetch/-/cross-fetch-4.0.0.tgz", - "integrity": "sha512-e4a5N8lVvuLgAWgnCrLr2PP0YyDOTHa9H/Rj54dirp61qXnNq46m82bRhNqIA5VccJtWBvPTFRV3TtvHUKPB1g==", - "dependencies": { - "node-fetch": "^2.6.12" - } - }, - "node_modules/data-uri-to-buffer": { - "version": "6.0.2", - "resolved": "https://registry.npmjs.org/data-uri-to-buffer/-/data-uri-to-buffer-6.0.2.tgz", - "integrity": "sha512-7hvf7/GW8e86rW0ptuwS3OcBGDjIi6SZva7hCyWC0yYry2cOPmLIjXAUHI6DK2HsnwJd9ifmt57i8eV2n4YNpw==", - "engines": { - "node": ">= 14" - } - }, - "node_modules/debug": { - "version": "4.3.4", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", - "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", - "dependencies": { - "ms": "2.1.2" - }, - "engines": { - "node": ">=6.0" - }, - "peerDependenciesMeta": { - "supports-color": { - "optional": true - } - } - }, - "node_modules/degenerator": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/degenerator/-/degenerator-5.0.1.tgz", - "integrity": "sha512-TllpMR/t0M5sqCXfj85i4XaAzxmS5tVA16dqvdkMwGmzI+dXLXnw3J+3Vdv7VKw+ThlTMboK6i9rnZ6Nntj5CQ==", - "dependencies": { - "ast-types": "^0.13.4", - "escodegen": "^2.1.0", - "esprima": "^4.0.1" - }, - "engines": { - "node": ">= 14" - } - }, - "node_modules/devtools-protocol": { - "version": "0.0.1249869", - "resolved": "https://registry.npmjs.org/devtools-protocol/-/devtools-protocol-0.0.1249869.tgz", - "integrity": "sha512-Ctp4hInA0BEavlUoRy9mhGq0i+JSo/AwVyX2EFgZmV1kYB+Zq+EMBAn52QWu6FbRr10hRb6pBl420upbp4++vg==" - }, - "node_modules/emoji-regex": { - "version": "8.0.0", - "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", - "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==" - }, - "node_modules/end-of-stream": { - "version": "1.4.4", - "resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.4.tgz", - "integrity": "sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q==", - "dependencies": { - "once": "^1.4.0" - } - }, - "node_modules/env-paths": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/env-paths/-/env-paths-2.2.1.tgz", - "integrity": "sha512-+h1lkLKhZMTYjog1VEpJNG7NZJWcuc2DDk/qsqSTRRCOXiLjeQ1d1/udrUGhqMxUgAlwKNZ0cf2uqan5GLuS2A==", - "engines": { - "node": ">=6" - } - }, - "node_modules/error-ex": { - "version": "1.3.2", - "resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz", - "integrity": "sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==", - "dependencies": { - "is-arrayish": "^0.2.1" - } - }, - "node_modules/escalade": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.2.tgz", - "integrity": "sha512-ErCHMCae19vR8vQGe50xIsVomy19rg6gFu3+r3jkEO46suLMWBksvVyoGgQV+jOfl84ZSOSlmv6Gxa89PmTGmA==", - "engines": { - "node": ">=6" - } - }, - "node_modules/escape-string-regexp": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", - "integrity": "sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==", - "engines": { - "node": ">=0.8.0" - } - }, - "node_modules/escodegen": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/escodegen/-/escodegen-2.1.0.tgz", - "integrity": "sha512-2NlIDTwUWJN0mRPQOdtQBzbUHvdGY2P1VXSyU83Q3xKxM7WHX2Ql8dKq782Q9TgQUNOLEzEYu9bzLNj1q88I5w==", - "dependencies": { - "esprima": "^4.0.1", - "estraverse": "^5.2.0", - "esutils": "^2.0.2" - }, - "bin": { - "escodegen": "bin/escodegen.js", - "esgenerate": "bin/esgenerate.js" - }, - "engines": { - "node": ">=6.0" - }, - "optionalDependencies": { - "source-map": "~0.6.1" - } - }, - "node_modules/esprima": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz", - "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==", - "bin": { - "esparse": "bin/esparse.js", - "esvalidate": "bin/esvalidate.js" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/estraverse": { - "version": "5.3.0", - "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", - "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", - "engines": { - "node": ">=4.0" - } - }, - "node_modules/esutils": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz", - "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/extract-zip": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/extract-zip/-/extract-zip-2.0.1.tgz", - "integrity": "sha512-GDhU9ntwuKyGXdZBUgTIe+vXnWj0fppUEtMDL0+idd5Sta8TGpHssn/eusA9mrPr9qNDym6SxAYZjNvCn/9RBg==", - "dependencies": { - "debug": "^4.1.1", - "get-stream": "^5.1.0", - "yauzl": "^2.10.0" - }, - "bin": { - "extract-zip": "cli.js" - }, - "engines": { - "node": ">= 10.17.0" - }, - "optionalDependencies": { - "@types/yauzl": "^2.9.1" - } - }, - "node_modules/fast-fifo": { - "version": "1.3.2", - "resolved": "https://registry.npmjs.org/fast-fifo/-/fast-fifo-1.3.2.tgz", - "integrity": "sha512-/d9sfos4yxzpwkDkuN7k2SqFKtYNmCTzgfEpz82x34IM9/zc8KGxQoXg1liNC/izpRM/MBdt44Nmx41ZWqk+FQ==" - }, - "node_modules/fd-slicer": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/fd-slicer/-/fd-slicer-1.1.0.tgz", - "integrity": "sha512-cE1qsB/VwyQozZ+q1dGxR8LBYNZeofhEdUNGSMbQD3Gw2lAzX9Zb3uIU6Ebc/Fmyjo9AWWfnn0AUCHqtevs/8g==", - "dependencies": { - "pend": "~1.2.0" - } - }, - "node_modules/fs-extra": { - "version": "11.2.0", - "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-11.2.0.tgz", - "integrity": "sha512-PmDi3uwK5nFuXh7XDTlVnS17xJS7vW36is2+w3xcv8SVxiB4NyATf4ctkVY5bkSjX0Y4nbvZCq1/EjtEyr9ktw==", - "dependencies": { - "graceful-fs": "^4.2.0", - "jsonfile": "^6.0.1", - "universalify": "^2.0.0" - }, - "engines": { - "node": ">=14.14" - } - }, - "node_modules/get-caller-file": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz", - "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==", - "engines": { - "node": "6.* || 8.* || >= 10.*" - } - }, - "node_modules/get-stream": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-5.2.0.tgz", - "integrity": "sha512-nBF+F1rAZVCu/p7rjzgA+Yb4lfYXrpl7a6VmJrU8wF9I1CKvP/QwPNZHnOlwbTkY6dvtFIzFMSyQXbLoTQPRpA==", - "dependencies": { - "pump": "^3.0.0" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/get-uri": { - "version": "6.0.3", - "resolved": "https://registry.npmjs.org/get-uri/-/get-uri-6.0.3.tgz", - "integrity": "sha512-BzUrJBS9EcUb4cFol8r4W3v1cPsSyajLSthNkz5BxbpDcHN5tIrM10E2eNvfnvBn3DaT3DUgx0OpsBKkaOpanw==", - "dependencies": { - "basic-ftp": "^5.0.2", - "data-uri-to-buffer": "^6.0.2", - "debug": "^4.3.4", - "fs-extra": "^11.2.0" - }, - "engines": { - "node": ">= 14" - } - }, - "node_modules/graceful-fs": { - "version": "4.2.11", - "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.11.tgz", - "integrity": "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==" - }, - "node_modules/has-flag": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", - "integrity": "sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==", - "engines": { - "node": ">=4" - } - }, - "node_modules/http-proxy-agent": { - "version": "7.0.2", - "resolved": "https://registry.npmjs.org/http-proxy-agent/-/http-proxy-agent-7.0.2.tgz", - "integrity": "sha512-T1gkAiYYDWYx3V5Bmyu7HcfcvL7mUrTWiM6yOfa3PIphViJ/gFPbvidQ+veqSOHci/PxBcDabeUNCzpOODJZig==", - "dependencies": { - "agent-base": "^7.1.0", - "debug": "^4.3.4" - }, - "engines": { - "node": ">= 14" - } - }, - "node_modules/https-proxy-agent": { - "version": "7.0.4", - "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-7.0.4.tgz", - "integrity": "sha512-wlwpilI7YdjSkWaQ/7omYBMTliDcmCN8OLihO6I9B86g06lMyAoqgoDpV0XqoaPOKj+0DIdAvnsWfyAAhmimcg==", - "dependencies": { - "agent-base": "^7.0.2", - "debug": "4" - }, - "engines": { - "node": ">= 14" - } - }, - "node_modules/ieee754": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz", - "integrity": "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==", - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ] - }, - "node_modules/import-fresh": { - "version": "3.3.0", - "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.0.tgz", - "integrity": "sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==", - "dependencies": { - "parent-module": "^1.0.0", - "resolve-from": "^4.0.0" - }, - "engines": { - "node": ">=6" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/ip-address": { - "version": "9.0.5", - "resolved": "https://registry.npmjs.org/ip-address/-/ip-address-9.0.5.tgz", - "integrity": "sha512-zHtQzGojZXTwZTHQqra+ETKd4Sn3vgi7uBmlPoXVWZqYvuKmtI0l/VZTjqGmJY9x88GGOaZ9+G9ES8hC4T4X8g==", - "dependencies": { - "jsbn": "1.1.0", - "sprintf-js": "^1.1.3" - }, - "engines": { - "node": ">= 12" - } - }, - "node_modules/is-arrayish": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz", - "integrity": "sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg==" - }, - "node_modules/is-fullwidth-code-point": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", - "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", - "engines": { - "node": ">=8" - } - }, - "node_modules/jquery": { - "version": "3.7.1", - "resolved": "https://registry.npmjs.org/jquery/-/jquery-3.7.1.tgz", - "integrity": "sha512-m4avr8yL8kmFN8psrbFFFmB/If14iN5o9nw/NgnnM+kybDJpRsAynV2BsfpTYrTRysYUdADVD7CkUUizgkpLfg==" - }, - "node_modules/js-tokens": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", - "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==" - }, - "node_modules/js-yaml": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz", - "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==", - "dependencies": { - "argparse": "^2.0.1" - }, - "bin": { - "js-yaml": "bin/js-yaml.js" - } - }, - "node_modules/jsbn": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/jsbn/-/jsbn-1.1.0.tgz", - "integrity": "sha512-4bYVV3aAMtDTTu4+xsDYa6sy9GyJ69/amsu9sYF2zqjiEoZA5xJi3BrfX3uY+/IekIu7MwdObdbDWpoZdBv3/A==" - }, - "node_modules/json-parse-even-better-errors": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz", - "integrity": "sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==" - }, - "node_modules/jsonfile": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.1.0.tgz", - "integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==", - "dependencies": { - "universalify": "^2.0.0" - }, - "optionalDependencies": { - "graceful-fs": "^4.1.6" - } - }, - "node_modules/lines-and-columns": { - "version": "1.2.4", - "resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.2.4.tgz", - "integrity": "sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==" - }, - "node_modules/lru-cache": { - "version": "7.18.3", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-7.18.3.tgz", - "integrity": "sha512-jumlc0BIUrS3qJGgIkWZsyfAM7NCWiBcCDhnd+3NNM5KbBmLTgHVfWBcg6W+rLUsIpzpERPsvwUP7CckAQSOoA==", - "engines": { - "node": ">=12" - } - }, - "node_modules/mitt": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/mitt/-/mitt-3.0.1.tgz", - "integrity": "sha512-vKivATfr97l2/QBCYAkXYDbrIWPM2IIKEl7YPhjCvKlG3kE2gm+uBo6nEXK3M5/Ffh/FLpKExzOQ3JJoJGFKBw==" - }, - "node_modules/ms": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", - "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" - }, - "node_modules/netmask": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/netmask/-/netmask-2.0.2.tgz", - "integrity": "sha512-dBpDMdxv9Irdq66304OLfEmQ9tbNRFnFTuZiLo+bD+r332bBmMJ8GBLXklIXXgxd3+v9+KUnZaUR5PJMa75Gsg==", - "engines": { - "node": ">= 0.4.0" - } - }, - "node_modules/node-fetch": { - "version": "2.7.0", - "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.7.0.tgz", - "integrity": "sha512-c4FRfUm/dbcWZ7U+1Wq0AwCyFL+3nt2bEw05wfxSz+DWpWsitgmSgYmy2dQdWyKC1694ELPqMs/YzUSNozLt8A==", - "dependencies": { - "whatwg-url": "^5.0.0" - }, - "engines": { - "node": "4.x || >=6.0.0" - }, - "peerDependencies": { - "encoding": "^0.1.0" - }, - "peerDependenciesMeta": { - "encoding": { - "optional": true - } - } - }, - "node_modules/once": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", - "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==", - "dependencies": { - "wrappy": "1" - } - }, - "node_modules/pac-proxy-agent": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/pac-proxy-agent/-/pac-proxy-agent-7.0.1.tgz", - "integrity": "sha512-ASV8yU4LLKBAjqIPMbrgtaKIvxQri/yh2OpI+S6hVa9JRkUI3Y3NPFbfngDtY7oFtSMD3w31Xns89mDa3Feo5A==", - "dependencies": { - "@tootallnate/quickjs-emscripten": "^0.23.0", - "agent-base": "^7.0.2", - "debug": "^4.3.4", - "get-uri": "^6.0.1", - "http-proxy-agent": "^7.0.0", - "https-proxy-agent": "^7.0.2", - "pac-resolver": "^7.0.0", - "socks-proxy-agent": "^8.0.2" - }, - "engines": { - "node": ">= 14" - } - }, - "node_modules/pac-resolver": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/pac-resolver/-/pac-resolver-7.0.1.tgz", - "integrity": "sha512-5NPgf87AT2STgwa2ntRMr45jTKrYBGkVU36yT0ig/n/GMAa3oPqhZfIQ2kMEimReg0+t9kZViDVZ83qfVUlckg==", - "dependencies": { - "degenerator": "^5.0.0", - "netmask": "^2.0.2" - }, - "engines": { - "node": ">= 14" - } - }, - "node_modules/parent-module": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz", - "integrity": "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==", - "dependencies": { - "callsites": "^3.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/parse-json": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-5.2.0.tgz", - "integrity": "sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg==", - "dependencies": { - "@babel/code-frame": "^7.0.0", - "error-ex": "^1.3.1", - "json-parse-even-better-errors": "^2.3.0", - "lines-and-columns": "^1.1.6" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/pend": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/pend/-/pend-1.2.0.tgz", - "integrity": "sha512-F3asv42UuXchdzt+xXqfW1OGlVBe+mxa2mqI0pg5yAHZPvFmY3Y6drSf/GQ1A86WgWEN9Kzh/WrgKa6iGcHXLg==" - }, - "node_modules/progress": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/progress/-/progress-2.0.3.tgz", - "integrity": "sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA==", - "engines": { - "node": ">=0.4.0" - } - }, - "node_modules/proxy-agent": { - "version": "6.4.0", - "resolved": "https://registry.npmjs.org/proxy-agent/-/proxy-agent-6.4.0.tgz", - "integrity": "sha512-u0piLU+nCOHMgGjRbimiXmA9kM/L9EHh3zL81xCdp7m+Y2pHIsnmbdDoEDoAz5geaonNR6q6+yOPQs6n4T6sBQ==", - "dependencies": { - "agent-base": "^7.0.2", - "debug": "^4.3.4", - "http-proxy-agent": "^7.0.1", - "https-proxy-agent": "^7.0.3", - "lru-cache": "^7.14.1", - "pac-proxy-agent": "^7.0.1", - "proxy-from-env": "^1.1.0", - "socks-proxy-agent": "^8.0.2" - }, - "engines": { - "node": ">= 14" - } - }, - "node_modules/proxy-from-env": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/proxy-from-env/-/proxy-from-env-1.1.0.tgz", - "integrity": "sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg==" - }, - "node_modules/pump": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.0.tgz", - "integrity": "sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww==", - "dependencies": { - "end-of-stream": "^1.1.0", - "once": "^1.3.1" - } - }, - "node_modules/puppeteer": { - "version": "22.4.1", - "resolved": "https://registry.npmjs.org/puppeteer/-/puppeteer-22.4.1.tgz", - "integrity": "sha512-Mag1wRLanzwS4yEUyrDRBUgsKlH3dpL6oAfVwNHG09oxd0+ySsatMvYj7HwjynWy/S+Hg+XHLgjyC/F6CsL/lg==", - "hasInstallScript": true, - "dependencies": { - "@puppeteer/browsers": "2.1.0", - "cosmiconfig": "9.0.0", - "puppeteer-core": "22.4.1" - }, - "bin": { - "puppeteer": "lib/esm/puppeteer/node/cli.js" - }, - "engines": { - "node": ">=18" - } - }, - "node_modules/puppeteer-core": { - "version": "22.4.1", - "resolved": "https://registry.npmjs.org/puppeteer-core/-/puppeteer-core-22.4.1.tgz", - "integrity": "sha512-l9nf8NcirYOHdID12CIMWyy7dqcJCVtgVS+YAiJuUJHg8+9yjgPiG2PcNhojIEEpCkvw3FxvnyITVfKVmkWpjA==", - "dependencies": { - "@puppeteer/browsers": "2.1.0", - "chromium-bidi": "0.5.12", - "cross-fetch": "4.0.0", - "debug": "4.3.4", - "devtools-protocol": "0.0.1249869", - "ws": "8.16.0" - }, - "engines": { - "node": ">=18" - } - }, - "node_modules/queue-tick": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/queue-tick/-/queue-tick-1.0.1.tgz", - "integrity": "sha512-kJt5qhMxoszgU/62PLP1CJytzd2NKetjSRnyuj31fDd3Rlcz3fzlFdFLD1SItunPwyqEOkca6GbV612BWfaBag==" - }, - "node_modules/require-directory": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", - "integrity": "sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/resolve-from": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz", - "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==", - "engines": { - "node": ">=4" - } - }, - "node_modules/semver": { - "version": "7.6.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.0.tgz", - "integrity": "sha512-EnwXhrlwXMk9gKu5/flx5sv/an57AkRplG3hTK68W7FRDN+k+OWBj65M7719OkA82XLBxrcX0KSHj+X5COhOVg==", - "dependencies": { - "lru-cache": "^6.0.0" - }, - "bin": { - "semver": "bin/semver.js" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/semver/node_modules/lru-cache": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", - "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", - "dependencies": { - "yallist": "^4.0.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/smart-buffer": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/smart-buffer/-/smart-buffer-4.2.0.tgz", - "integrity": "sha512-94hK0Hh8rPqQl2xXc3HsaBoOXKV20MToPkcXvwbISWLEs+64sBq5kFgn2kJDHb1Pry9yrP0dxrCI9RRci7RXKg==", - "engines": { - "node": ">= 6.0.0", - "npm": ">= 3.0.0" - } - }, - "node_modules/socks": { - "version": "2.8.1", - "resolved": "https://registry.npmjs.org/socks/-/socks-2.8.1.tgz", - "integrity": "sha512-B6w7tkwNid7ToxjZ08rQMT8M9BJAf8DKx8Ft4NivzH0zBUfd6jldGcisJn/RLgxcX3FPNDdNQCUEMMT79b+oCQ==", - "dependencies": { - "ip-address": "^9.0.5", - "smart-buffer": "^4.2.0" - }, - "engines": { - "node": ">= 10.0.0", - "npm": ">= 3.0.0" - } - }, - "node_modules/socks-proxy-agent": { - "version": "8.0.2", - "resolved": "https://registry.npmjs.org/socks-proxy-agent/-/socks-proxy-agent-8.0.2.tgz", - "integrity": "sha512-8zuqoLv1aP/66PHF5TqwJ7Czm3Yv32urJQHrVyhD7mmA6d61Zv8cIXQYPTWwmg6qlupnPvs/QKDmfa4P/qct2g==", - "dependencies": { - "agent-base": "^7.0.2", - "debug": "^4.3.4", - "socks": "^2.7.1" - }, - "engines": { - "node": ">= 14" - } - }, - "node_modules/source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "optional": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/sprintf-js": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.1.3.tgz", - "integrity": "sha512-Oo+0REFV59/rz3gfJNKQiBlwfHaSESl1pcGyABQsnnIfWOFt6JNj5gCog2U6MLZ//IGYD+nA8nI+mTShREReaA==" - }, - "node_modules/streamx": { - "version": "2.16.1", - "resolved": "https://registry.npmjs.org/streamx/-/streamx-2.16.1.tgz", - "integrity": "sha512-m9QYj6WygWyWa3H1YY69amr4nVgy61xfjys7xO7kviL5rfIEc2naf+ewFiOA+aEJD7y0JO3h2GoiUv4TDwEGzQ==", - "dependencies": { - "fast-fifo": "^1.1.0", - "queue-tick": "^1.0.1" - }, - "optionalDependencies": { - "bare-events": "^2.2.0" - } - }, - "node_modules/string-width": { - "version": "4.2.3", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", - "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", - "dependencies": { - "emoji-regex": "^8.0.0", - "is-fullwidth-code-point": "^3.0.0", - "strip-ansi": "^6.0.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/strip-ansi": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", - "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", - "dependencies": { - "ansi-regex": "^5.0.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/tar-fs": { - "version": "3.0.5", - "resolved": "https://registry.npmjs.org/tar-fs/-/tar-fs-3.0.5.tgz", - "integrity": "sha512-JOgGAmZyMgbqpLwct7ZV8VzkEB6pxXFBVErLtb+XCOqzc6w1xiWKI9GVd6bwk68EX7eJ4DWmfXVmq8K2ziZTGg==", - "dependencies": { - "pump": "^3.0.0", - "tar-stream": "^3.1.5" - }, - "optionalDependencies": { - "bare-fs": "^2.1.1", - "bare-path": "^2.1.0" - } - }, - "node_modules/tar-stream": { - "version": "3.1.7", - "resolved": "https://registry.npmjs.org/tar-stream/-/tar-stream-3.1.7.tgz", - "integrity": "sha512-qJj60CXt7IU1Ffyc3NJMjh6EkuCFej46zUqJ4J7pqYlThyd9bO0XBTmcOIhSzZJVWfsLks0+nle/j538YAW9RQ==", - "dependencies": { - "b4a": "^1.6.4", - "fast-fifo": "^1.2.0", - "streamx": "^2.15.0" - } - }, - "node_modules/through": { - "version": "2.3.8", - "resolved": "https://registry.npmjs.org/through/-/through-2.3.8.tgz", - "integrity": "sha512-w89qg7PI8wAdvX60bMDP+bFoD5Dvhm9oLheFp5O4a2QF0cSBGsBX4qZmadPMvVqlLJBBci+WqGGOAPvcDeNSVg==" - }, - "node_modules/tr46": { - "version": "0.0.3", - "resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz", - "integrity": "sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==" - }, - "node_modules/tslib": { - "version": "2.6.2", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.6.2.tgz", - "integrity": "sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==" - }, - "node_modules/unbzip2-stream": { - "version": "1.4.3", - "resolved": "https://registry.npmjs.org/unbzip2-stream/-/unbzip2-stream-1.4.3.tgz", - "integrity": "sha512-mlExGW4w71ebDJviH16lQLtZS32VKqsSfk80GCfUlwT/4/hNRFsoscrF/c++9xinkMzECL1uL9DDwXqFWkruPg==", - "dependencies": { - "buffer": "^5.2.1", - "through": "^2.3.8" - } - }, - "node_modules/undici-types": { - "version": "5.26.5", - "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-5.26.5.tgz", - "integrity": "sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==", - "optional": true - }, - "node_modules/universalify": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.1.tgz", - "integrity": "sha512-gptHNQghINnc/vTGIk0SOFGFNXw7JVrlRUtConJRlvaw6DuX0wO5Jeko9sWrMBhh+PsYAZ7oXAiOnf/UKogyiw==", - "engines": { - "node": ">= 10.0.0" - } - }, - "node_modules/urlpattern-polyfill": { - "version": "10.0.0", - "resolved": "https://registry.npmjs.org/urlpattern-polyfill/-/urlpattern-polyfill-10.0.0.tgz", - "integrity": "sha512-H/A06tKD7sS1O1X2SshBVeA5FLycRpjqiBeqGKmBwBDBy28EnRjORxTNe269KSSr5un5qyWi1iL61wLxpd+ZOg==" - }, - "node_modules/webidl-conversions": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz", - "integrity": "sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==" - }, - "node_modules/whatwg-url": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-5.0.0.tgz", - "integrity": "sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==", - "dependencies": { - "tr46": "~0.0.3", - "webidl-conversions": "^3.0.0" - } - }, - "node_modules/wrap-ansi": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", - "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", - "dependencies": { - "ansi-styles": "^4.0.0", - "string-width": "^4.1.0", - "strip-ansi": "^6.0.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/chalk/wrap-ansi?sponsor=1" - } - }, - "node_modules/wrap-ansi/node_modules/ansi-styles": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", - "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", - "dependencies": { - "color-convert": "^2.0.1" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/chalk/ansi-styles?sponsor=1" - } - }, - "node_modules/wrap-ansi/node_modules/color-convert": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", - "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", - "dependencies": { - "color-name": "~1.1.4" - }, - "engines": { - "node": ">=7.0.0" - } - }, - "node_modules/wrap-ansi/node_modules/color-name": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", - "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" - }, - "node_modules/wrappy": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", - "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==" - }, - "node_modules/ws": { - "version": "8.16.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.16.0.tgz", - "integrity": "sha512-HS0c//TP7Ina87TfiPUz1rQzMhHrl/SG2guqRcTOIUYD2q8uhUdNHZYJUaQ8aTGPzCh+c6oawMKW35nFl1dxyQ==", - "engines": { - "node": ">=10.0.0" - }, - "peerDependencies": { - "bufferutil": "^4.0.1", - "utf-8-validate": ">=5.0.2" - }, - "peerDependenciesMeta": { - "bufferutil": { - "optional": true - }, - "utf-8-validate": { - "optional": true - } - } - }, - "node_modules/y18n": { - "version": "5.0.8", - "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz", - "integrity": "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==", - "engines": { - "node": ">=10" - } - }, - "node_modules/yallist": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", - "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==" - }, - "node_modules/yargs": { - "version": "17.7.2", - "resolved": "https://registry.npmjs.org/yargs/-/yargs-17.7.2.tgz", - "integrity": "sha512-7dSzzRQ++CKnNI/krKnYRV7JKKPUXMEh61soaHKg9mrWEhzFWhFnxPxGl+69cD1Ou63C13NUPCnmIcrvqCuM6w==", - "dependencies": { - "cliui": "^8.0.1", - "escalade": "^3.1.1", - "get-caller-file": "^2.0.5", - "require-directory": "^2.1.1", - "string-width": "^4.2.3", - "y18n": "^5.0.5", - "yargs-parser": "^21.1.1" - }, - "engines": { - "node": ">=12" - } - }, - "node_modules/yargs-parser": { - "version": "21.1.1", - "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-21.1.1.tgz", - "integrity": "sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==", - "engines": { - "node": ">=12" - } - }, - "node_modules/yauzl": { - "version": "2.10.0", - "resolved": "https://registry.npmjs.org/yauzl/-/yauzl-2.10.0.tgz", - "integrity": "sha512-p4a9I6X6nu6IhoGmBqAcbJy1mlC4j27vEPZX9F4L4/vZT3Lyq1VkFHw/V/PUcB9Buo+DG3iHkT0x3Qya58zc3g==", - "dependencies": { - "buffer-crc32": "~0.2.3", - "fd-slicer": "~1.1.0" - } - } - } -} diff --git a/node_modules/@babel/code-frame/LICENSE b/node_modules/@babel/code-frame/LICENSE deleted file mode 100644 index f31575e..0000000 --- a/node_modules/@babel/code-frame/LICENSE +++ /dev/null @@ -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. diff --git a/node_modules/@babel/code-frame/README.md b/node_modules/@babel/code-frame/README.md deleted file mode 100644 index 7160755..0000000 --- a/node_modules/@babel/code-frame/README.md +++ /dev/null @@ -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 -``` diff --git a/node_modules/@babel/code-frame/lib/index.js b/node_modules/@babel/code-frame/lib/index.js deleted file mode 100644 index 2f900eb..0000000 --- a/node_modules/@babel/code-frame/lib/index.js +++ /dev/null @@ -1,157 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.codeFrameColumns = codeFrameColumns; -exports.default = _default; -var _highlight = require("@babel/highlight"); -var _chalk = _interopRequireWildcard(require("chalk"), true); -function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); } -function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; } -let chalkWithForcedColor = undefined; -function getChalk(forceColor) { - if (forceColor) { - var _chalkWithForcedColor; - (_chalkWithForcedColor = chalkWithForcedColor) != null ? _chalkWithForcedColor : chalkWithForcedColor = new _chalk.default.constructor({ - enabled: true, - level: 1 - }); - return chalkWithForcedColor; - } - return _chalk.default; -} -let deprecationWarningShown = false; -function getDefs(chalk) { - return { - gutter: chalk.grey, - marker: chalk.red.bold, - message: chalk.red.bold - }; -} -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 highlighted = (opts.highlightCode || opts.forceColor) && (0, _highlight.shouldHighlight)(opts); - const chalk = getChalk(opts.forceColor); - const defs = getDefs(chalk); - const maybeHighlight = (chalkFn, string) => { - return highlighted ? chalkFn(string) : string; - }; - 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 = highlighted ? (0, _highlight.default)(rawLines, opts) : 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 ", maybeHighlight(defs.gutter, gutter.replace(/\d/g, " ")), " ", markerSpacing, maybeHighlight(defs.marker, "^").repeat(numberOfMarkers)].join(""); - if (lastMarkerLine && opts.message) { - markerLine += " " + maybeHighlight(defs.message, opts.message); - } - } - return [maybeHighlight(defs.marker, ">"), maybeHighlight(defs.gutter, gutter), line.length > 0 ? ` ${line}` : "", markerLine].join(""); - } else { - return ` ${maybeHighlight(defs.gutter, gutter)}${line.length > 0 ? ` ${line}` : ""}`; - } - }).join("\n"); - if (opts.message && !hasColumns) { - frame = `${" ".repeat(numberMaxWidth + 1)}${opts.message}\n${frame}`; - } - if (highlighted) { - return chalk.reset(frame); - } else { - return frame; - } -} -function _default(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); -} - -//# sourceMappingURL=index.js.map diff --git a/node_modules/@babel/code-frame/lib/index.js.map b/node_modules/@babel/code-frame/lib/index.js.map deleted file mode 100644 index 0882e00..0000000 --- a/node_modules/@babel/code-frame/lib/index.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"names":["_highlight","require","_chalk","_interopRequireWildcard","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","prototype","hasOwnProperty","call","i","set","chalkWithForcedColor","undefined","getChalk","forceColor","_chalkWithForcedColor","chalk","constructor","enabled","level","deprecationWarningShown","getDefs","gutter","grey","marker","red","bold","message","NEWLINE","getMarkerLines","loc","source","opts","startLoc","assign","column","line","start","endLoc","end","linesAbove","linesBelow","startLine","startColumn","endLine","endColumn","Math","max","min","length","lineDiff","markerLines","lineNumber","sourceLength","codeFrameColumns","rawLines","highlighted","highlightCode","shouldHighlight","defs","maybeHighlight","chalkFn","string","lines","split","hasColumns","numberMaxWidth","String","highlightedLines","highlight","frame","slice","map","index","number","paddedNumber","hasMarker","lastMarkerLine","markerLine","Array","isArray","markerSpacing","replace","numberOfMarkers","repeat","join","reset","_default","colNumber","process","emitWarning","deprecationError","Error","name","console","warn","location"],"sources":["../src/index.ts"],"sourcesContent":["import highlight, { shouldHighlight } from \"@babel/highlight\";\n\nimport chalk, { Chalk as ChalkClass, type ChalkInstance as Chalk } from \"chalk\";\n\nlet chalkWithForcedColor: Chalk = undefined;\nfunction getChalk(forceColor: boolean) {\n if (forceColor) {\n chalkWithForcedColor ??= process.env.BABEL_8_BREAKING\n ? new ChalkClass({ level: 1 })\n : // @ts-expect-error .Instance was .constructor in chalk 2\n new chalk.constructor({ enabled: true, level: 1 });\n return chalkWithForcedColor;\n }\n return chalk;\n}\n\nlet deprecationWarningShown = false;\n\ntype Location = {\n column: number;\n line: number;\n};\n\ntype NodeLocation = {\n end?: Location;\n start: Location;\n};\n\nexport interface Options {\n /** Syntax highlight the code as JavaScript for terminals. default: false */\n highlightCode?: boolean;\n /** The number of lines to show above the error. default: 2 */\n linesAbove?: number;\n /** The number of lines to show below the error. default: 3 */\n linesBelow?: number;\n /**\n * Forcibly syntax highlight the code as JavaScript (for non-terminals);\n * overrides highlightCode.\n * default: false\n */\n forceColor?: boolean;\n /**\n * Pass in a string to be displayed inline (if possible) next to the\n * highlighted location in the code. If it can't be positioned inline,\n * it will be placed above the code frame.\n * default: nothing\n */\n message?: string;\n}\n\n/**\n * Chalk styles for code frame token types.\n */\nfunction getDefs(chalk: Chalk) {\n return {\n gutter: chalk.grey,\n marker: chalk.red.bold,\n message: chalk.red.bold,\n };\n}\n\n/**\n * RegExp to test for newlines in terminal.\n */\n\nconst NEWLINE = /\\r\\n|[\\n\\r\\u2028\\u2029]/;\n\n/**\n * Extract what lines should be marked and highlighted.\n */\n\ntype MarkerLines = Record;\n\nfunction getMarkerLines(\n loc: NodeLocation,\n source: Array,\n opts: Options,\n): {\n start: number;\n end: number;\n markerLines: MarkerLines;\n} {\n const startLoc: Location = {\n column: 0,\n line: -1,\n ...loc.start,\n };\n const endLoc: Location = {\n ...startLoc,\n ...loc.end,\n };\n const { linesAbove = 2, linesBelow = 3 } = opts || {};\n const startLine = startLoc.line;\n const startColumn = startLoc.column;\n const endLine = endLoc.line;\n const endColumn = endLoc.column;\n\n let start = Math.max(startLine - (linesAbove + 1), 0);\n let end = Math.min(source.length, endLine + linesBelow);\n\n if (startLine === -1) {\n start = 0;\n }\n\n if (endLine === -1) {\n end = source.length;\n }\n\n const lineDiff = endLine - startLine;\n const markerLines: MarkerLines = {};\n\n if (lineDiff) {\n for (let i = 0; i <= lineDiff; i++) {\n const lineNumber = i + startLine;\n\n if (!startColumn) {\n markerLines[lineNumber] = true;\n } else if (i === 0) {\n const sourceLength = source[lineNumber - 1].length;\n\n markerLines[lineNumber] = [startColumn, sourceLength - startColumn + 1];\n } else if (i === lineDiff) {\n markerLines[lineNumber] = [0, endColumn];\n } else {\n const sourceLength = source[lineNumber - i].length;\n\n markerLines[lineNumber] = [0, sourceLength];\n }\n }\n } else {\n if (startColumn === endColumn) {\n if (startColumn) {\n markerLines[startLine] = [startColumn, 0];\n } else {\n markerLines[startLine] = true;\n }\n } else {\n markerLines[startLine] = [startColumn, endColumn - startColumn];\n }\n }\n\n return { start, end, markerLines };\n}\n\nexport function codeFrameColumns(\n rawLines: string,\n loc: NodeLocation,\n opts: Options = {},\n): string {\n const highlighted =\n (opts.highlightCode || opts.forceColor) && shouldHighlight(opts);\n const chalk = getChalk(opts.forceColor);\n const defs = getDefs(chalk);\n const maybeHighlight = (chalkFn: Chalk, string: string) => {\n return highlighted ? chalkFn(string) : string;\n };\n const lines = rawLines.split(NEWLINE);\n const { start, end, markerLines } = getMarkerLines(loc, lines, opts);\n const hasColumns = loc.start && typeof loc.start.column === \"number\";\n\n const numberMaxWidth = String(end).length;\n\n const highlightedLines = highlighted ? highlight(rawLines, opts) : rawLines;\n\n let frame = highlightedLines\n .split(NEWLINE, end)\n .slice(start, end)\n .map((line, index) => {\n const number = start + 1 + index;\n const paddedNumber = ` ${number}`.slice(-numberMaxWidth);\n const gutter = ` ${paddedNumber} |`;\n const hasMarker = markerLines[number];\n const lastMarkerLine = !markerLines[number + 1];\n if (hasMarker) {\n let markerLine = \"\";\n if (Array.isArray(hasMarker)) {\n const markerSpacing = line\n .slice(0, Math.max(hasMarker[0] - 1, 0))\n .replace(/[^\\t]/g, \" \");\n const numberOfMarkers = hasMarker[1] || 1;\n\n markerLine = [\n \"\\n \",\n maybeHighlight(defs.gutter, gutter.replace(/\\d/g, \" \")),\n \" \",\n markerSpacing,\n maybeHighlight(defs.marker, \"^\").repeat(numberOfMarkers),\n ].join(\"\");\n\n if (lastMarkerLine && opts.message) {\n markerLine += \" \" + maybeHighlight(defs.message, opts.message);\n }\n }\n return [\n maybeHighlight(defs.marker, \">\"),\n maybeHighlight(defs.gutter, gutter),\n line.length > 0 ? ` ${line}` : \"\",\n markerLine,\n ].join(\"\");\n } else {\n return ` ${maybeHighlight(defs.gutter, gutter)}${\n line.length > 0 ? ` ${line}` : \"\"\n }`;\n }\n })\n .join(\"\\n\");\n\n if (opts.message && !hasColumns) {\n frame = `${\" \".repeat(numberMaxWidth + 1)}${opts.message}\\n${frame}`;\n }\n\n if (highlighted) {\n return chalk.reset(frame);\n } else {\n return frame;\n }\n}\n\n/**\n * Create a code frame, adding line numbers, code highlighting, and pointing to a given position.\n */\n\nexport default function (\n rawLines: string,\n lineNumber: number,\n colNumber?: number | null,\n opts: Options = {},\n): string {\n if (!deprecationWarningShown) {\n deprecationWarningShown = true;\n\n const message =\n \"Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.\";\n\n if (process.emitWarning) {\n // A string is directly supplied to emitWarning, because when supplying an\n // Error object node throws in the tests because of different contexts\n process.emitWarning(message, \"DeprecationWarning\");\n } else {\n const deprecationError = new Error(message);\n deprecationError.name = \"DeprecationWarning\";\n console.warn(new Error(message));\n }\n }\n\n colNumber = Math.max(colNumber, 0);\n\n const location: NodeL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AAC,MAAM;MACL,MAAMgE,gBAAgB,GAAG,IAAIC,KAAK,CAACjE,OAAO,CAAC;MAC3CgE,gBAAgB,CAACE,IAAI,GAAG,oBAAoB;MAC5CC,OAAO,CAACC,IAAI,CAAC,IAAIH,KAAK,CAACjE,OAAO,CAAC,CAAC;IAClC;EACF;EAEA6D,SAAS,GAAG1C,IAAI,CAACC,GAAG,CAACyC,SAAS,EAAE,CAAC,CAAC;EAElC,MAAMQ,QAAsB,GAAG;IAC7B3D,KAAK,EAAE;MAAEF,MAAM,EAAEqD,SAAS;MAAEpD,IAAI,EAAEgB;IAAW;EAC/C,CAAC;EAED,OAAOE,gBAAgB,CAACC,QAAQ,EAAEyC,QAAQ,EAAEhE,IAAI,CAAC;AACnD"} \ No newline at end of file diff --git a/node_modules/@babel/code-frame/package.json b/node_modules/@babel/code-frame/package.json deleted file mode 100644 index 46a9ba9..0000000 --- a/node_modules/@babel/code-frame/package.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "name": "@babel/code-frame", - "version": "7.23.5", - "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/highlight": "^7.23.4", - "chalk": "^2.4.2" - }, - "devDependencies": { - "import-meta-resolve": "^4.0.0", - "strip-ansi": "^4.0.0" - }, - "engines": { - "node": ">=6.9.0" - }, - "type": "commonjs" -} \ No newline at end of file diff --git a/node_modules/@babel/helper-validator-identifier/LICENSE b/node_modules/@babel/helper-validator-identifier/LICENSE deleted file mode 100644 index f31575e..0000000 --- a/node_modules/@babel/helper-validator-identifier/LICENSE +++ /dev/null @@ -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. diff --git a/node_modules/@babel/helper-validator-identifier/README.md b/node_modules/@babel/helper-validator-identifier/README.md deleted file mode 100644 index 05c19e6..0000000 --- a/node_modules/@babel/helper-validator-identifier/README.md +++ /dev/null @@ -1,19 +0,0 @@ -# @babel/helper-validator-identifier - -> Validate identifier/keywords name - -See our website [@babel/helper-validator-identifier](https://babeljs.io/docs/babel-helper-validator-identifier) for more information. - -## Install - -Using npm: - -```sh -npm install --save @babel/helper-validator-identifier -``` - -or using yarn: - -```sh -yarn add @babel/helper-validator-identifier -``` diff --git a/node_modules/@babel/helper-validator-identifier/lib/identifier.js b/node_modules/@babel/helper-validator-identifier/lib/identifier.js deleted file mode 100644 index 8ef8303..0000000 --- a/node_modules/@babel/helper-validator-identifier/lib/identifier.js +++ /dev/null @@ -1,70 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.isIdentifierChar = isIdentifierChar; -exports.isIdentifierName = isIdentifierName; -exports.isIdentifierStart = isIdentifierStart; -let nonASCIIidentifierStartChars = "\xaa\xb5\xba\xc0-\xd6\xd8-\xf6\xf8-\u02c1\u02c6-\u02d1\u02e0-\u02e4\u02ec\u02ee\u0370-\u0374\u0376\u0377\u037a-\u037d\u037f\u0386\u0388-\u038a\u038c\u038e-\u03a1\u03a3-\u03f5\u03f7-\u0481\u048a-\u052f\u0531-\u0556\u0559\u0560-\u0588\u05d0-\u05ea\u05ef-\u05f2\u0620-\u064a\u066e\u066f\u0671-\u06d3\u06d5\u06e5\u06e6\u06ee\u06ef\u06fa-\u06fc\u06ff\u0710\u0712-\u072f\u074d-\u07a5\u07b1\u07ca-\u07ea\u07f4\u07f5\u07fa\u0800-\u0815\u081a\u0824\u0828\u0840-\u0858\u0860-\u086a\u0870-\u0887\u0889-\u088e\u08a0-\u08c9\u0904-\u0939\u093d\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098c\u098f\u0990\u0993-\u09a8\u09aa-\u09b0\u09b2\u09b6-\u09b9\u09bd\u09ce\u09dc\u09dd\u09df-\u09e1\u09f0\u09f1\u09fc\u0a05-\u0a0a\u0a0f\u0a10\u0a13-\u0a28\u0a2a-\u0a30\u0a32\u0a33\u0a35\u0a36\u0a38\u0a39\u0a59-\u0a5c\u0a5e\u0a72-\u0a74\u0a85-\u0a8d\u0a8f-\u0a91\u0a93-\u0aa8\u0aaa-\u0ab0\u0ab2\u0ab3\u0ab5-\u0ab9\u0abd\u0ad0\u0ae0\u0ae1\u0af9\u0b05-\u0b0c\u0b0f\u0b10\u0b13-\u0b28\u0b2a-\u0b30\u0b32\u0b33\u0b35-\u0b39\u0b3d\u0b5c\u0b5d\u0b5f-\u0b61\u0b71\u0b83\u0b85-\u0b8a\u0b8e-\u0b90\u0b92-\u0b95\u0b99\u0b9a\u0b9c\u0b9e\u0b9f\u0ba3\u0ba4\u0ba8-\u0baa\u0bae-\u0bb9\u0bd0\u0c05-\u0c0c\u0c0e-\u0c10\u0c12-\u0c28\u0c2a-\u0c39\u0c3d\u0c58-\u0c5a\u0c5d\u0c60\u0c61\u0c80\u0c85-\u0c8c\u0c8e-\u0c90\u0c92-\u0ca8\u0caa-\u0cb3\u0cb5-\u0cb9\u0cbd\u0cdd\u0cde\u0ce0\u0ce1\u0cf1\u0cf2\u0d04-\u0d0c\u0d0e-\u0d10\u0d12-\u0d3a\u0d3d\u0d4e\u0d54-\u0d56\u0d5f-\u0d61\u0d7a-\u0d7f\u0d85-\u0d96\u0d9a-\u0db1\u0db3-\u0dbb\u0dbd\u0dc0-\u0dc6\u0e01-\u0e30\u0e32\u0e33\u0e40-\u0e46\u0e81\u0e82\u0e84\u0e86-\u0e8a\u0e8c-\u0ea3\u0ea5\u0ea7-\u0eb0\u0eb2\u0eb3\u0ebd\u0ec0-\u0ec4\u0ec6\u0edc-\u0edf\u0f00\u0f40-\u0f47\u0f49-\u0f6c\u0f88-\u0f8c\u1000-\u102a\u103f\u1050-\u1055\u105a-\u105d\u1061\u1065\u1066\u106e-\u1070\u1075-\u1081\u108e\u10a0-\u10c5\u10c7\u10cd\u10d0-\u10fa\u10fc-\u1248\u124a-\u124d\u1250-\u1256\u1258\u125a-\u125d\u1260-\u1288\u128a-\u128d\u1290-\u12b0\u12b2-\u12b5\u12b8-\u12be\u12c0\u12c2-\u12c5\u12c8-\u12d6\u12d8-\u1310\u1312-\u1315\u1318-\u135a\u1380-\u138f\u13a0-\u13f5\u13f8-\u13fd\u1401-\u166c\u166f-\u167f\u1681-\u169a\u16a0-\u16ea\u16ee-\u16f8\u1700-\u1711\u171f-\u1731\u1740-\u1751\u1760-\u176c\u176e-\u1770\u1780-\u17b3\u17d7\u17dc\u1820-\u1878\u1880-\u18a8\u18aa\u18b0-\u18f5\u1900-\u191e\u1950-\u196d\u1970-\u1974\u1980-\u19ab\u19b0-\u19c9\u1a00-\u1a16\u1a20-\u1a54\u1aa7\u1b05-\u1b33\u1b45-\u1b4c\u1b83-\u1ba0\u1bae\u1baf\u1bba-\u1be5\u1c00-\u1c23\u1c4d-\u1c4f\u1c5a-\u1c7d\u1c80-\u1c88\u1c90-\u1cba\u1cbd-\u1cbf\u1ce9-\u1cec\u1cee-\u1cf3\u1cf5\u1cf6\u1cfa\u1d00-\u1dbf\u1e00-\u1f15\u1f18-\u1f1d\u1f20-\u1f45\u1f48-\u1f4d\u1f50-\u1f57\u1f59\u1f5b\u1f5d\u1f5f-\u1f7d\u1f80-\u1fb4\u1fb6-\u1fbc\u1fbe\u1fc2-\u1fc4\u1fc6-\u1fcc\u1fd0-\u1fd3\u1fd6-\u1fdb\u1fe0-\u1fec\u1ff2-\u1ff4\u1ff6-\u1ffc\u2071\u207f\u2090-\u209c\u2102\u2107\u210a-\u2113\u2115\u2118-\u211d\u2124\u2126\u2128\u212a-\u2139\u213c-\u213f\u2145-\u2149\u214e\u2160-\u2188\u2c00-\u2ce4\u2ceb-\u2cee\u2cf2\u2cf3\u2d00-\u2d25\u2d27\u2d2d\u2d30-\u2d67\u2d6f\u2d80-\u2d96\u2da0-\u2da6\u2da8-\u2dae\u2db0-\u2db6\u2db8-\u2dbe\u2dc0-\u2dc6\u2dc8-\u2dce\u2dd0-\u2dd6\u2dd8-\u2dde\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303c\u3041-\u3096\u309b-\u309f\u30a1-\u30fa\u30fc-\u30ff\u3105-\u312f\u3131-\u318e\u31a0-\u31bf\u31f0-\u31ff\u3400-\u4dbf\u4e00-\ua48c\ua4d0-\ua4fd\ua500-\ua60c\ua610-\ua61f\ua62a\ua62b\ua640-\ua66e\ua67f-\ua69d\ua6a0-\ua6ef\ua717-\ua71f\ua722-\ua788\ua78b-\ua7ca\ua7d0\ua7d1\ua7d3\ua7d5-\ua7d9\ua7f2-\ua801\ua803-\ua805\ua807-\ua80a\ua80c-\ua822\ua840-\ua873\ua882-\ua8b3\ua8f2-\ua8f7\ua8fb\ua8fd\ua8fe\ua90a-\ua925\ua930-\ua946\ua960-\ua97c\ua984-\ua9b2\ua9cf\ua9e0-\ua9e4\ua9e6-\ua9ef\ua9fa-\ua9fe\uaa00-\uaa28\uaa40-\uaa42\uaa44-\uaa4b\uaa60-\uaa76\uaa7a\uaa7e-\uaaaf\uaab1\uaab5\uaab6\uaab9-\uaabd\uaac0\uaac2\uaadb-\uaadd\uaae0-\uaaea\uaaf2-\uaaf4\uab01-\uab06\uab09-\uab0e\uab11-\uab16\uab20-\uab26\uab28-\uab2e\uab30-\uab5a\uab5c-\uab69\uab70-\uabe2\uac00-\ud7a3\ud7b0-\ud7c6\ud7cb-\ud7fb\uf900-\ufa6d\ufa70-\ufad9\ufb00-\ufb06\ufb13-\ufb17\ufb1d\ufb1f-\ufb28\ufb2a-\ufb36\ufb38-\ufb3c\ufb3e\ufb40\ufb41\ufb43\ufb44\ufb46-\ufbb1\ufbd3-\ufd3d\ufd50-\ufd8f\ufd92-\ufdc7\ufdf0-\ufdfb\ufe70-\ufe74\ufe76-\ufefc\uff21-\uff3a\uff41-\uff5a\uff66-\uffbe\uffc2-\uffc7\uffca-\uffcf\uffd2-\uffd7\uffda-\uffdc"; -let nonASCIIidentifierChars = "\u200c\u200d\xb7\u0300-\u036f\u0387\u0483-\u0487\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u0669\u0670\u06d6-\u06dc\u06df-\u06e4\u06e7\u06e8\u06ea-\u06ed\u06f0-\u06f9\u0711\u0730-\u074a\u07a6-\u07b0\u07c0-\u07c9\u07eb-\u07f3\u07fd\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0859-\u085b\u0898-\u089f\u08ca-\u08e1\u08e3-\u0903\u093a-\u093c\u093e-\u094f\u0951-\u0957\u0962\u0963\u0966-\u096f\u0981-\u0983\u09bc\u09be-\u09c4\u09c7\u09c8\u09cb-\u09cd\u09d7\u09e2\u09e3\u09e6-\u09ef\u09fe\u0a01-\u0a03\u0a3c\u0a3e-\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a66-\u0a71\u0a75\u0a81-\u0a83\u0abc\u0abe-\u0ac5\u0ac7-\u0ac9\u0acb-\u0acd\u0ae2\u0ae3\u0ae6-\u0aef\u0afa-\u0aff\u0b01-\u0b03\u0b3c\u0b3e-\u0b44\u0b47\u0b48\u0b4b-\u0b4d\u0b55-\u0b57\u0b62\u0b63\u0b66-\u0b6f\u0b82\u0bbe-\u0bc2\u0bc6-\u0bc8\u0bca-\u0bcd\u0bd7\u0be6-\u0bef\u0c00-\u0c04\u0c3c\u0c3e-\u0c44\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0c66-\u0c6f\u0c81-\u0c83\u0cbc\u0cbe-\u0cc4\u0cc6-\u0cc8\u0cca-\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0ce6-\u0cef\u0cf3\u0d00-\u0d03\u0d3b\u0d3c\u0d3e-\u0d44\u0d46-\u0d48\u0d4a-\u0d4d\u0d57\u0d62\u0d63\u0d66-\u0d6f\u0d81-\u0d83\u0dca\u0dcf-\u0dd4\u0dd6\u0dd8-\u0ddf\u0de6-\u0def\u0df2\u0df3\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0e50-\u0e59\u0eb1\u0eb4-\u0ebc\u0ec8-\u0ece\u0ed0-\u0ed9\u0f18\u0f19\u0f20-\u0f29\u0f35\u0f37\u0f39\u0f3e\u0f3f\u0f71-\u0f84\u0f86\u0f87\u0f8d-\u0f97\u0f99-\u0fbc\u0fc6\u102b-\u103e\u1040-\u1049\u1056-\u1059\u105e-\u1060\u1062-\u1064\u1067-\u106d\u1071-\u1074\u1082-\u108d\u108f-\u109d\u135d-\u135f\u1369-\u1371\u1712-\u1715\u1732-\u1734\u1752\u1753\u1772\u1773\u17b4-\u17d3\u17dd\u17e0-\u17e9\u180b-\u180d\u180f-\u1819\u18a9\u1920-\u192b\u1930-\u193b\u1946-\u194f\u19d0-\u19da\u1a17-\u1a1b\u1a55-\u1a5e\u1a60-\u1a7c\u1a7f-\u1a89\u1a90-\u1a99\u1ab0-\u1abd\u1abf-\u1ace\u1b00-\u1b04\u1b34-\u1b44\u1b50-\u1b59\u1b6b-\u1b73\u1b80-\u1b82\u1ba1-\u1bad\u1bb0-\u1bb9\u1be6-\u1bf3\u1c24-\u1c37\u1c40-\u1c49\u1c50-\u1c59\u1cd0-\u1cd2\u1cd4-\u1ce8\u1ced\u1cf4\u1cf7-\u1cf9\u1dc0-\u1dff\u200c\u200d\u203f\u2040\u2054\u20d0-\u20dc\u20e1\u20e5-\u20f0\u2cef-\u2cf1\u2d7f\u2de0-\u2dff\u302a-\u302f\u3099\u309a\u30fb\ua620-\ua629\ua66f\ua674-\ua67d\ua69e\ua69f\ua6f0\ua6f1\ua802\ua806\ua80b\ua823-\ua827\ua82c\ua880\ua881\ua8b4-\ua8c5\ua8d0-\ua8d9\ua8e0-\ua8f1\ua8ff-\ua909\ua926-\ua92d\ua947-\ua953\ua980-\ua983\ua9b3-\ua9c0\ua9d0-\ua9d9\ua9e5\ua9f0-\ua9f9\uaa29-\uaa36\uaa43\uaa4c\uaa4d\uaa50-\uaa59\uaa7b-\uaa7d\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uaaeb-\uaaef\uaaf5\uaaf6\uabe3-\uabea\uabec\uabed\uabf0-\uabf9\ufb1e\ufe00-\ufe0f\ufe20-\ufe2f\ufe33\ufe34\ufe4d-\ufe4f\uff10-\uff19\uff3f\uff65"; -const nonASCIIidentifierStart = new RegExp("[" + nonASCIIidentifierStartChars + "]"); -const nonASCIIidentifier = new RegExp("[" + nonASCIIidentifierStartChars + nonASCIIidentifierChars + "]"); -nonASCIIidentifierStartChars = nonASCIIidentifierChars = null; -const astralIdentifierStartCodes = [0, 11, 2, 25, 2, 18, 2, 1, 2, 14, 3, 13, 35, 122, 70, 52, 268, 28, 4, 48, 48, 31, 14, 29, 6, 37, 11, 29, 3, 35, 5, 7, 2, 4, 43, 157, 19, 35, 5, 35, 5, 39, 9, 51, 13, 10, 2, 14, 2, 6, 2, 1, 2, 10, 2, 14, 2, 6, 2, 1, 68, 310, 10, 21, 11, 7, 25, 5, 2, 41, 2, 8, 70, 5, 3, 0, 2, 43, 2, 1, 4, 0, 3, 22, 11, 22, 10, 30, 66, 18, 2, 1, 11, 21, 11, 25, 71, 55, 7, 1, 65, 0, 16, 3, 2, 2, 2, 28, 43, 28, 4, 28, 36, 7, 2, 27, 28, 53, 11, 21, 11, 18, 14, 17, 111, 72, 56, 50, 14, 50, 14, 35, 349, 41, 7, 1, 79, 28, 11, 0, 9, 21, 43, 17, 47, 20, 28, 22, 13, 52, 58, 1, 3, 0, 14, 44, 33, 24, 27, 35, 30, 0, 3, 0, 9, 34, 4, 0, 13, 47, 15, 3, 22, 0, 2, 0, 36, 17, 2, 24, 20, 1, 64, 6, 2, 0, 2, 3, 2, 14, 2, 9, 8, 46, 39, 7, 3, 1, 3, 21, 2, 6, 2, 1, 2, 4, 4, 0, 19, 0, 13, 4, 159, 52, 19, 3, 21, 2, 31, 47, 21, 1, 2, 0, 185, 46, 42, 3, 37, 47, 21, 0, 60, 42, 14, 0, 72, 26, 38, 6, 186, 43, 117, 63, 32, 7, 3, 0, 3, 7, 2, 1, 2, 23, 16, 0, 2, 0, 95, 7, 3, 38, 17, 0, 2, 0, 29, 0, 11, 39, 8, 0, 22, 0, 12, 45, 20, 0, 19, 72, 264, 8, 2, 36, 18, 0, 50, 29, 113, 6, 2, 1, 2, 37, 22, 0, 26, 5, 2, 1, 2, 31, 15, 0, 328, 18, 16, 0, 2, 12, 2, 33, 125, 0, 80, 921, 103, 110, 18, 195, 2637, 96, 16, 1071, 18, 5, 4026, 582, 8634, 568, 8, 30, 18, 78, 18, 29, 19, 47, 17, 3, 32, 20, 6, 18, 689, 63, 129, 74, 6, 0, 67, 12, 65, 1, 2, 0, 29, 6135, 9, 1237, 43, 8, 8936, 3, 2, 6, 2, 1, 2, 290, 16, 0, 30, 2, 3, 0, 15, 3, 9, 395, 2309, 106, 6, 12, 4, 8, 8, 9, 5991, 84, 2, 70, 2, 1, 3, 0, 3, 1, 3, 3, 2, 11, 2, 0, 2, 6, 2, 64, 2, 3, 3, 7, 2, 6, 2, 27, 2, 3, 2, 4, 2, 0, 4, 6, 2, 339, 3, 24, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, 2, 7, 1845, 30, 7, 5, 262, 61, 147, 44, 11, 6, 17, 0, 322, 29, 19, 43, 485, 27, 757, 6, 2, 3, 2, 1, 2, 14, 2, 196, 60, 67, 8, 0, 1205, 3, 2, 26, 2, 1, 2, 0, 3, 0, 2, 9, 2, 3, 2, 0, 2, 0, 7, 0, 5, 0, 2, 0, 2, 0, 2, 2, 2, 1, 2, 0, 3, 0, 2, 0, 2, 0, 2, 0, 2, 0, 2, 1, 2, 0, 3, 3, 2, 6, 2, 3, 2, 3, 2, 0, 2, 9, 2, 16, 6, 2, 2, 4, 2, 16, 4421, 42719, 33, 4153, 7, 221, 3, 5761, 15, 7472, 16, 621, 2467, 541, 1507, 4938, 6, 4191]; -const astralIdentifierCodes = [509, 0, 227, 0, 150, 4, 294, 9, 1368, 2, 2, 1, 6, 3, 41, 2, 5, 0, 166, 1, 574, 3, 9, 9, 370, 1, 81, 2, 71, 10, 50, 3, 123, 2, 54, 14, 32, 10, 3, 1, 11, 3, 46, 10, 8, 0, 46, 9, 7, 2, 37, 13, 2, 9, 6, 1, 45, 0, 13, 2, 49, 13, 9, 3, 2, 11, 83, 11, 7, 0, 3, 0, 158, 11, 6, 9, 7, 3, 56, 1, 2, 6, 3, 1, 3, 2, 10, 0, 11, 1, 3, 6, 4, 4, 193, 17, 10, 9, 5, 0, 82, 19, 13, 9, 214, 6, 3, 8, 28, 1, 83, 16, 16, 9, 82, 12, 9, 9, 84, 14, 5, 9, 243, 14, 166, 9, 71, 5, 2, 1, 3, 3, 2, 0, 2, 1, 13, 9, 120, 6, 3, 6, 4, 0, 29, 9, 41, 6, 2, 3, 9, 0, 10, 10, 47, 15, 406, 7, 2, 7, 17, 9, 57, 21, 2, 13, 123, 5, 4, 0, 2, 1, 2, 6, 2, 0, 9, 9, 49, 4, 2, 1, 2, 4, 9, 9, 330, 3, 10, 1, 2, 0, 49, 6, 4, 4, 14, 9, 5351, 0, 7, 14, 13835, 9, 87, 9, 39, 4, 60, 6, 26, 9, 1014, 0, 2, 54, 8, 3, 82, 0, 12, 1, 19628, 1, 4706, 45, 3, 22, 543, 4, 4, 5, 9, 7, 3, 6, 31, 3, 149, 2, 1418, 49, 513, 54, 5, 49, 9, 0, 15, 0, 23, 4, 2, 14, 1361, 6, 2, 16, 3, 6, 2, 1, 2, 4, 101, 0, 161, 6, 10, 9, 357, 0, 62, 13, 499, 13, 983, 6, 110, 6, 6, 9, 4759, 9, 787719, 239]; -function isInAstralSet(code, set) { - let pos = 0x10000; - for (let i = 0, length = set.length; i < length; i += 2) { - pos += set[i]; - if (pos > code) return false; - pos += set[i + 1]; - if (pos >= code) return true; - } - return false; -} -function isIdentifierStart(code) { - if (code < 65) return code === 36; - if (code <= 90) return true; - if (code < 97) return code === 95; - if (code <= 122) return true; - if (code <= 0xffff) { - return code >= 0xaa && nonASCIIidentifierStart.test(String.fromCharCode(code)); - } - return isInAstralSet(code, astralIdentifierStartCodes); -} -function isIdentifierChar(code) { - if (code < 48) return code === 36; - if (code < 58) return true; - if (code < 65) return false; - if (code <= 90) return true; - if (code < 97) return code === 95; - if (code <= 122) return true; - if (code <= 0xffff) { - return code >= 0xaa && nonASCIIidentifier.test(String.fromCharCode(code)); - } - return isInAstralSet(code, astralIdentifierStartCodes) || isInAstralSet(code, astralIdentifierCodes); -} -function isIdentifierName(name) { - let isFirst = true; - for (let i = 0; i < name.length; i++) { - let cp = name.charCodeAt(i); - if ((cp & 0xfc00) === 0xd800 && i + 1 < name.length) { - const trail = name.charCodeAt(++i); - if ((trail & 0xfc00) === 0xdc00) { - cp = 0x10000 + ((cp & 0x3ff) << 10) + (trail & 0x3ff); - } - } - if (isFirst) { - isFirst = false; - if (!isIdentifierStart(cp)) { - return false; - } - } else if (!isIdentifierChar(cp)) { - return false; - } - } - return !isFirst; -} - -//# sourceMappingURL=identifier.js.map diff --git a/node_modules/@babel/helper-validator-identifier/lib/identifier.js.map b/node_modules/@babel/helper-validator-identifier/lib/identifier.js.map deleted file mode 100644 index 04370d4..0000000 --- a/node_modules/@babel/helper-validator-identifier/lib/identifier.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"names":["nonASCIIidentifierStartChars","nonASCIIidentifierChars","nonASCIIidentifierStart","RegExp","nonASCIIidentifier","astralIdentifierStartCodes","astralIdentifierCodes","isInAstralSet","code","set","pos","i","length","isIdentifierStart","test","String","fromCharCode","isIdentifierChar","isIdentifierName","name","isFirst","cp","charCodeAt","trail"],"sources":["../src/identifier.ts"],"sourcesContent":["import * as charCodes from \"charcodes\";\n\n// ## Character categories\n\n// Big ugly regular expressions that match characters in the\n// whitespace, identifier, and identifier-start categories. These\n// are only applied when a character is found to actually have a\n// code point between 0x80 and 0xffff.\n// Generated by `scripts/generate-identifier-regex.js`.\n\n/* prettier-ignore */\nlet nonASCIIidentifierStartChars = \"\\xaa\\xb5\\xba\\xc0-\\xd6\\xd8-\\xf6\\xf8-\\u02c1\\u02c6-\\u02d1\\u02e0-\\u02e4\\u02ec\\u02ee\\u0370-\\u0374\\u0376\\u0377\\u037a-\\u037d\\u037f\\u0386\\u0388-\\u038a\\u038c\\u038e-\\u03a1\\u03a3-\\u03f5\\u03f7-\\u0481\\u048a-\\u052f\\u0531-\\u0556\\u0559\\u0560-\\u0588\\u05d0-\\u05ea\\u05ef-\\u05f2\\u0620-\\u064a\\u066e\\u066f\\u0671-\\u06d3\\u06d5\\u06e5\\u06e6\\u06ee\\u06ef\\u06fa-\\u06fc\\u06ff\\u0710\\u0712-\\u072f\\u074d-\\u07a5\\u07b1\\u07ca-\\u07ea\\u07f4\\u07f5\\u07fa\\u0800-\\u0815\\u081a\\u0824\\u0828\\u0840-\\u0858\\u0860-\\u086a\\u0870-\\u0887\\u0889-\\u088e\\u08a0-\\u08c9\\u0904-\\u0939\\u093d\\u0950\\u0958-\\u0961\\u0971-\\u0980\\u0985-\\u098c\\u098f\\u0990\\u0993-\\u09a8\\u09aa-\\u09b0\\u09b2\\u09b6-\\u09b9\\u09bd\\u09ce\\u09dc\\u09dd\\u09df-\\u09e1\\u09f0\\u09f1\\u09fc\\u0a05-\\u0a0a\\u0a0f\\u0a10\\u0a13-\\u0a28\\u0a2a-\\u0a30\\u0a32\\u0a33\\u0a35\\u0a36\\u0a38\\u0a39\\u0a59-\\u0a5c\\u0a5e\\u0a72-\\u0a74\\u0a85-\\u0a8d\\u0a8f-\\u0a91\\u0a93-\\u0aa8\\u0aaa-\\u0ab0\\u0ab2\\u0ab3\\u0ab5-\\u0ab9\\u0abd\\u0ad0\\u0ae0\\u0ae1\\u0af9\\u0b05-\\u0b0c\\u0b0f\\u0b10\\u0b13-\\u0b28\\u0b2a-\\u0b30\\u0b32\\u0b33\\u0b35-\\u0b39\\u0b3d\\u0b5c\\u0b5d\\u0b5f-\\u0b61\\u0b71\\u0b83\\u0b85-\\u0b8a\\u0b8e-\\u0b90\\u0b92-\\u0b95\\u0b99\\u0b9a\\u0b9c\\u0b9e\\u0b9f\\u0ba3\\u0ba4\\u0ba8-\\u0baa\\u0bae-\\u0bb9\\u0bd0\\u0c05-\\u0c0c\\u0c0e-\\u0c10\\u0c12-\\u0c28\\u0c2a-\\u0c39\\u0c3d\\u0c58-\\u0c5a\\u0c5d\\u0c60\\u0c61\\u0c80\\u0c85-\\u0c8c\\u0c8e-\\u0c90\\u0c92-\\u0ca8\\u0caa-\\u0cb3\\u0cb5-\\u0cb9\\u0cbd\\u0cdd\\u0cde\\u0ce0\\u0ce1\\u0cf1\\u0cf2\\u0d04-\\u0d0c\\u0d0e-\\u0d10\\u0d12-\\u0d3a\\u0d3d\\u0d4e\\u0d54-\\u0d56\\u0d5f-\\u0d61\\u0d7a-\\u0d7f\\u0d85-\\u0d96\\u0d9a-\\u0db1\\u0db3-\\u0dbb\\u0dbd\\u0dc0-\\u0dc6\\u0e01-\\u0e30\\u0e32\\u0e33\\u0e40-\\u0e46\\u0e81\\u0e82\\u0e84\\u0e86-\\u0e8a\\u0e8c-\\u0ea3\\u0ea5\\u0ea7-\\u0eb0\\u0eb2\\u0eb3\\u0ebd\\u0ec0-\\u0ec4\\u0ec6\\u0edc-\\u0edf\\u0f00\\u0f40-\\u0f47\\u0f49-\\u0f6c\\u0f88-\\u0f8c\\u1000-\\u102a\\u103f\\u1050-\\u1055\\u105a-\\u105d\\u1061\\u1065\\u1066\\u106e-\\u1070\\u1075-\\u1081\\u108e\\u10a0-\\u10c5\\u10c7\\u10cd\\u10d0-\\u10fa\\u10fc-\\u1248\\u124a-\\u124d\\u1250-\\u1256\\u1258\\u125a-\\u125d\\u1260-\\u1288\\u128a-\\u128d\\u1290-\\u12b0\\u12b2-\\u12b5\\u12b8-\\u12be\\u12c0\\u12c2-\\u12c5\\u12c8-\\u12d6\\u12d8-\\u1310\\u1312-\\u1315\\u1318-\\u135a\\u1380-\\u138f\\u13a0-\\u13f5\\u13f8-\\u13fd\\u1401-\\u166c\\u166f-\\u167f\\u1681-\\u169a\\u16a0-\\u16ea\\u16ee-\\u16f8\\u1700-\\u1711\\u171f-\\u1731\\u1740-\\u1751\\u1760-\\u176c\\u176e-\\u1770\\u1780-\\u17b3\\u17d7\\u17dc\\u1820-\\u1878\\u1880-\\u18a8\\u18aa\\u18b0-\\u18f5\\u1900-\\u191e\\u1950-\\u196d\\u1970-\\u1974\\u1980-\\u19ab\\u19b0-\\u19c9\\u1a00-\\u1a16\\u1a20-\\u1a54\\u1aa7\\u1b05-\\u1b33\\u1b45-\\u1b4c\\u1b83-\\u1ba0\\u1bae\\u1baf\\u1bba-\\u1be5\\u1c00-\\u1c23\\u1c4d-\\u1c4f\\u1c5a-\\u1c7d\\u1c80-\\u1c88\\u1c90-\\u1cba\\u1cbd-\\u1cbf\\u1ce9-\\u1cec\\u1cee-\\u1cf3\\u1cf5\\u1cf6\\u1cfa\\u1d00-\\u1dbf\\u1e00-\\u1f15\\u1f18-\\u1f1d\\u1f20-\\u1f45\\u1f48-\\u1f4d\\u1f50-\\u1f57\\u1f59\\u1f5b\\u1f5d\\u1f5f-\\u1f7d\\u1f80-\\u1fb4\\u1fb6-\\u1fbc\\u1fbe\\u1fc2-\\u1fc4\\u1fc6-\\u1fcc\\u1fd0-\\u1fd3\\u1fd6-\\u1fdb\\u1fe0-\\u1fec\\u1ff2-\\u1ff4\\u1ff6-\\u1ffc\\u2071\\u207f\\u2090-\\u209c\\u2102\\u2107\\u210a-\\u2113\\u2115\\u2118-\\u211d\\u2124\\u2126\\u2128\\u212a-\\u2139\\u213c-\\u213f\\u2145-\\u2149\\u214e\\u2160-\\u2188\\u2c00-\\u2ce4\\u2ceb-\\u2cee\\u2cf2\\u2cf3\\u2d00-\\u2d25\\u2d27\\u2d2d\\u2d30-\\u2d67\\u2d6f\\u2d80-\\u2d96\\u2da0-\\u2da6\\u2da8-\\u2dae\\u2db0-\\u2db6\\u2db8-\\u2dbe\\u2dc0-\\u2dc6\\u2dc8-\\u2dce\\u2dd0-\\u2dd6\\u2dd8-\\u2dde\\u3005-\\u3007\\u3021-\\u3029\\u3031-\\u3035\\u3038-\\u303c\\u3041-\\u3096\\u309b-\\u309f\\u30a1-\\u30fa\\u30fc-\\u30ff\\u3105-\\u312f\\u3131-\\u318e\\u31a0-\\u31bf\\u31f0-\\u31ff\\u3400-\\u4dbf\\u4e00-\\ua48c\\ua4d0-\\ua4fd\\ua500-\\ua60c\\ua610-\\ua61f\\ua62a\\ua62b\\ua640-\\ua66e\\ua67f-\\ua69d\\ua6a0-\\ua6ef\\ua717-\\ua71f\\ua722-\\ua788\\ua78b-\\ua7ca\\ua7d0\\ua7d1\\ua7d3\\ua7d5-\\ua7d9\\ua7f2-\\ua801\\ua803-\\ua805\\ua807-\\ua80a\\ua80c-\\ua822\\ua840-\\ua873\\ua882-\\ua8b3\\ua8f2-\\ua8f7\\ua8fb\\ua8fd\\ua8fe\\ua90a-\\ua925\\ua930-\\ua946\\ua960-\\ua97c\\ua984-\\ua9b2\\ua9cf\\ua9e0-\\ua9e4\\ua9e6-\\ua9ef\\ua9fa-\\ua9fe\\uaa00-\\uaa28\\uaa40-\\uaa42\\uaa44-\\uaa4b\\uaa60-\\uaa76\\uaa7a\\uaa7e-\\uaaaf\\uaab1\\uaab5\\uaab6\\uaab9-\\uaabd\\uaac0\\uaac2\\uaadb-\\uaadd\\uaae0-\\uaaea\\uaaf2-\\uaaf4\\uab01-\\uab06\\uab09-\\uab0e\\uab11-\\uab16\\uab20-\\uab26\\uab28-\\uab2e\\uab30-\\uab5a\\uab5c-\\uab69\\uab70-\\uabe2\\uac00-\\ud7a3\\ud7b0-\\ud7c6\\ud7cb-\\ud7fb\\uf900-\\ufa6d\\ufa70-\\ufad9\\ufb00-\\ufb06\\ufb13-\\ufb17\\ufb1d\\ufb1f-\\ufb28\\ufb2a-\\ufb36\\ufb38-\\ufb3c\\ufb3e\\ufb40\\ufb41\\ufb43\\ufb44\\ufb46-\\ufbb1\\ufbd3-\\ufd3d\\ufd50-\\ufd8f\\ufd92-\\ufdc7\\ufdf0-\\ufdfb\\ufe70-\\ufe74\\ufe76-\\ufefc\\uff21-\\uff3a\\uff41-\\uff5a\\uff66-\\uffbe\\uffc2-\\uffc7\\uffca-\\uffcf\\uffd2-\\uffd7\\uffda-\\uffdc\";\n/* prettier-ignore */\nlet nonASCIIidentifierChars = \"\\u200c\\u200d\\xb7\\u0300-\\u036f\\u0387\\u0483-\\u0487\\u0591-\\u05bd\\u05bf\\u05c1\\u05c2\\u05c4\\u05c5\\u05c7\\u0610-\\u061a\\u064b-\\u0669\\u0670\\u06d6-\\u06dc\\u06df-\\u06e4\\u06e7\\u06e8\\u06ea-\\u06ed\\u06f0-\\u06f9\\u0711\\u0730-\\u074a\\u07a6-\\u07b0\\u07c0-\\u07c9\\u07eb-\\u07f3\\u07fd\\u0816-\\u0819\\u081b-\\u0823\\u0825-\\u0827\\u0829-\\u082d\\u0859-\\u085b\\u0898-\\u089f\\u08ca-\\u08e1\\u08e3-\\u0903\\u093a-\\u093c\\u093e-\\u094f\\u0951-\\u0957\\u0962\\u0963\\u0966-\\u096f\\u0981-\\u0983\\u09bc\\u09be-\\u09c4\\u09c7\\u09c8\\u09cb-\\u09cd\\u09d7\\u09e2\\u09e3\\u09e6-\\u09ef\\u09fe\\u0a01-\\u0a03\\u0a3c\\u0a3e-\\u0a42\\u0a47\\u0a48\\u0a4b-\\u0a4d\\u0a51\\u0a66-\\u0a71\\u0a75\\u0a81-\\u0a83\\u0abc\\u0abe-\\u0ac5\\u0ac7-\\u0ac9\\u0acb-\\u0acd\\u0ae2\\u0ae3\\u0ae6-\\u0aef\\u0afa-\\u0aff\\u0b01-\\u0b03\\u0b3c\\u0b3e-\\u0b44\\u0b47\\u0b48\\u0b4b-\\u0b4d\\u0b55-\\u0b57\\u0b62\\u0b63\\u0b66-\\u0b6f\\u0b82\\u0bbe-\\u0bc2\\u0bc6-\\u0bc8\\u0bca-\\u0bcd\\u0bd7\\u0be6-\\u0bef\\u0c00-\\u0c04\\u0c3c\\u0c3e-\\u0c44\\u0c46-\\u0c48\\u0c4a-\\u0c4d\\u0c55\\u0c56\\u0c62\\u0c63\\u0c66-\\u0c6f\\u0c81-\\u0c83\\u0cbc\\u0cbe-\\u0cc4\\u0cc6-\\u0cc8\\u0cca-\\u0ccd\\u0cd5\\u0cd6\\u0ce2\\u0ce3\\u0ce6-\\u0cef\\u0cf3\\u0d00-\\u0d03\\u0d3b\\u0d3c\\u0d3e-\\u0d44\\u0d46-\\u0d48\\u0d4a-\\u0d4d\\u0d57\\u0d62\\u0d63\\u0d66-\\u0d6f\\u0d81-\\u0d83\\u0dca\\u0dcf-\\u0dd4\\u0dd6\\u0dd8-\\u0ddf\\u0de6-\\u0def\\u0df2\\u0df3\\u0e31\\u0e34-\\u0e3a\\u0e47-\\u0e4e\\u0e50-\\u0e59\\u0eb1\\u0eb4-\\u0ebc\\u0ec8-\\u0ece\\u0ed0-\\u0ed9\\u0f18\\u0f19\\u0f20-\\u0f29\\u0f35\\u0f37\\u0f39\\u0f3e\\u0f3f\\u0f71-\\u0f84\\u0f86\\u0f87\\u0f8d-\\u0f97\\u0f99-\\u0fbc\\u0fc6\\u102b-\\u103e\\u1040-\\u1049\\u1056-\\u1059\\u105e-\\u1060\\u1062-\\u1064\\u1067-\\u106d\\u1071-\\u1074\\u1082-\\u108d\\u108f-\\u109d\\u135d-\\u135f\\u1369-\\u1371\\u1712-\\u1715\\u1732-\\u1734\\u1752\\u1753\\u1772\\u1773\\u17b4-\\u17d3\\u17dd\\u17e0-\\u17e9\\u180b-\\u180d\\u180f-\\u1819\\u18a9\\u1920-\\u192b\\u1930-\\u193b\\u1946-\\u194f\\u19d0-\\u19da\\u1a17-\\u1a1b\\u1a55-\\u1a5e\\u1a60-\\u1a7c\\u1a7f-\\u1a89\\u1a90-\\u1a99\\u1ab0-\\u1abd\\u1abf-\\u1ace\\u1b00-\\u1b04\\u1b34-\\u1b44\\u1b50-\\u1b59\\u1b6b-\\u1b73\\u1b80-\\u1b82\\u1ba1-\\u1bad\\u1bb0-\\u1bb9\\u1be6-\\u1bf3\\u1c24-\\u1c37\\u1c40-\\u1c49\\u1c50-\\u1c59\\u1cd0-\\u1cd2\\u1cd4-\\u1ce8\\u1ced\\u1cf4\\u1cf7-\\u1cf9\\u1dc0-\\u1dff\\u200c\\u200d\\u203f\\u2040\\u2054\\u20d0-\\u20dc\\u20e1\\u20e5-\\u20f0\\u2cef-\\u2cf1\\u2d7f\\u2de0-\\u2dff\\u302a-\\u302f\\u3099\\u309a\\u30fb\\ua620-\\ua629\\ua66f\\ua674-\\ua67d\\ua69e\\ua69f\\ua6f0\\ua6f1\\ua802\\ua806\\ua80b\\ua823-\\ua827\\ua82c\\ua880\\ua881\\ua8b4-\\ua8c5\\ua8d0-\\ua8d9\\ua8e0-\\ua8f1\\ua8ff-\\ua909\\ua926-\\ua92d\\ua947-\\ua953\\ua980-\\ua983\\ua9b3-\\ua9c0\\ua9d0-\\ua9d9\\ua9e5\\ua9f0-\\ua9f9\\uaa29-\\uaa36\\uaa43\\uaa4c\\uaa4d\\uaa50-\\uaa59\\uaa7b-\\uaa7d\\uaab0\\uaab2-\\uaab4\\uaab7\\uaab8\\uaabe\\uaabf\\uaac1\\uaaeb-\\uaaef\\uaaf5\\uaaf6\\uabe3-\\uabea\\uabec\\uabed\\uabf0-\\uabf9\\ufb1e\\ufe00-\\ufe0f\\ufe20-\\ufe2f\\ufe33\\ufe34\\ufe4d-\\ufe4f\\uff10-\\uff19\\uff3f\\uff65\";\n\nconst nonASCIIidentifierStart = new RegExp(\n \"[\" + nonASCIIidentifierStartChars + \"]\",\n);\nconst nonASCIIidentifier = new RegExp(\n \"[\" + nonASCIIidentifierStartChars + nonASCIIidentifierChars + \"]\",\n);\n\nnonASCIIidentifierStartChars = nonASCIIidentifierChars = null;\n\n// These are a run-length and offset-encoded representation of the\n// >0xffff code points that are a valid part of identifiers. The\n// offset starts at 0x10000, and each pair of numbers represents an\n// offset to the next range, and then a size of the range. They were\n// generated by `scripts/generate-identifier-regex.js`.\n/* prettier-ignore */\nconst astralIdentifierStartCodes = [0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,68,310,10,21,11,7,25,5,2,41,2,8,70,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,43,17,47,20,28,22,13,52,58,1,3,0,14,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,20,1,64,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,38,6,186,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,19,72,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,16,0,2,12,2,33,125,0,80,921,103,110,18,195,2637,96,16,1071,18,5,4026,582,8634,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8936,3,2,6,2,1,2,290,16,0,30,2,3,0,15,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,1845,30,7,5,262,61,147,44,11,6,17,0,322,29,19,43,485,27,757,6,2,3,2,1,2,14,2,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42719,33,4153,7,221,3,5761,15,7472,16,621,2467,541,1507,4938,6,4191];\n/* prettier-ignore */\nconst astralIdentifierCodes = [509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,81,2,71,10,50,3,123,2,54,14,32,10,3,1,11,3,46,10,8,0,46,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,3,0,158,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,10,1,2,0,49,6,4,4,14,9,5351,0,7,14,13835,9,87,9,39,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,4706,45,3,22,543,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,101,0,161,6,10,9,357,0,62,13,499,13,983,6,110,6,6,9,4759,9,787719,239];\n\n// This has a complexity linear to the value of the code. The\n// assumption is that looking up astral identifier characters is\n// rare.\nfunction isInAstralSet(code: number, set: readonly number[]): boolean {\n let pos = 0x10000;\n for (let i = 0, length = set.length; i < length; i += 2) {\n pos += set[i];\n if (pos > code) return false;\n\n pos += set[i + 1];\n if (pos >= code) return true;\n }\n return false;\n}\n\n// Test whether a given character code starts an identifier.\n\nexport function isIdentifierStart(code: number): boolean {\n if (code < charCodes.uppercaseA) return code === charCodes.dollarSign;\n if (code <= charCodes.uppercaseZ) return true;\n if (code < charCodes.lowercaseA) return code === charCodes.underscore;\n if (code <= charCodes.lowercaseZ) return true;\n if (code <= 0xffff) {\n return (\n code >= 0xaa && nonASCIIidentifierStart.test(String.fromCharCode(code))\n );\n }\n return isInAstralSet(code, astralIdentifierStartCodes);\n}\n\n// Test whether a given character is part of an identifier.\n\nexport function isIdentifierChar(code: number): boolean {\n if (code < charCodes.digit0) return code === charCodes.dollarSign;\n if (code < charCodes.colon) return true;\n if (code < charCodes.uppercaseA) return false;\n if (code <= charCodes.uppercaseZ) return true;\n if (code < charCodes.lowercaseA) return code === charCodes.underscore;\n if (code <= charCodes.lowercaseZ) return true;\n if (code <= 0xffff) {\n return code >= 0xaa && nonASCIIidentifier.test(String.fromCharCode(code));\n }\n return (\n isInAstralSet(code, astralIdentifierStartCodes) ||\n isInAstralSet(code, astralIdentifierCodes)\n );\n}\n\n// Test whether a given string is a valid identifier name\n\nexport function isIdentifierName(name: string): boolean {\n let isFirst = true;\n for (let i = 0; i < name.length; i++) {\n // The implementation is based on\n // https://source.chromium.org/chromium/chromium/src/+/master:v8/src/builtins/builtins-string-gen.cc;l=1455;drc=221e331b49dfefadbc6fa40b0c68e6f97606d0b3;bpv=0;bpt=1\n // We reimplement `codePointAt` because `codePointAt` is a V8 builtin which is not inlined by TurboFan (as of M91)\n // since `name` is mostly ASCII, an inlined `charCodeAt` wins here\n let cp = name.charCodeAt(i);\n if ((cp & 0xfc00) === 0xd800 && i + 1 < name.length) {\n const trail = name.charCodeAt(++i);\n if ((trail & 0xfc00) === 0xdc00) {\n cp = 0x10000 + ((cp & 0x3ff) << 10) + (trail & 0x3ff);\n }\n }\n if (isFirst) {\n isFirst = false;\n if (!isIdentifierStart(cp)) {\n return false;\n }\n } else if (!isIdentifierChar(cp)) {\n return false;\n }\n }\n return !isFirst;\n}\n"],"mappings":";;;;;;;;AAWA,IAAIA,4BAA4B,GAAG,8qIAA8qI;AAEjtI,IAAIC,uBAAuB,GAAG,2lFAA2lF;AAEznF,MAAMC,uBAAuB,GAAG,IAAIC,MAAM,CACxC,GAAG,GAAGH,4BAA4B,GAAG,GACvC,CAAC;AACD,MAAMI,kBAAkB,GAAG,IAAID,MAAM,CACnC,GAAG,GAAGH,4BAA4B,GAAGC,uBAAuB,GAAG,GACjE,CAAC;AAEDD,4BAA4B,GAAGC,uBAAuB,GAAG,IAAI;AAQ7D,MAAMI,0BAA0B,GAAG,CAAC,CAAC,EAAC,EAAE,EAAC,CAAC,EAAC,EAAE,EAAC,CAAC,EAAC,EAAE,EAAC,CAAC,EAAC,CAAC,EAAC,CAAC,EAAC,EAAE,EAAC,CAAC,EAAC,EAAE,EAAC,EAAE,EAAC,GAAG,EAAC,EAAE,EAAC,EAAE,EAAC,GAAG,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AAK;IACd;EACF;EACA,OAAO,CAACD,OAAO;AACjB"} \ No newline at end of file diff --git a/node_modules/@babel/helper-validator-identifier/lib/index.js b/node_modules/@babel/helper-validator-identifier/lib/index.js deleted file mode 100644 index 76b2282..0000000 --- a/node_modules/@babel/helper-validator-identifier/lib/index.js +++ /dev/null @@ -1,57 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -Object.defineProperty(exports, "isIdentifierChar", { - enumerable: true, - get: function () { - return _identifier.isIdentifierChar; - } -}); -Object.defineProperty(exports, "isIdentifierName", { - enumerable: true, - get: function () { - return _identifier.isIdentifierName; - } -}); -Object.defineProperty(exports, "isIdentifierStart", { - enumerable: true, - get: function () { - return _identifier.isIdentifierStart; - } -}); -Object.defineProperty(exports, "isKeyword", { - enumerable: true, - get: function () { - return _keyword.isKeyword; - } -}); -Object.defineProperty(exports, "isReservedWord", { - enumerable: true, - get: function () { - return _keyword.isReservedWord; - } -}); -Object.defineProperty(exports, "isStrictBindOnlyReservedWord", { - enumerable: true, - get: function () { - return _keyword.isStrictBindOnlyReservedWord; - } -}); -Object.defineProperty(exports, "isStrictBindReservedWord", { - enumerable: true, - get: function () { - return _keyword.isStrictBindReservedWord; - } -}); -Object.defineProperty(exports, "isStrictReservedWord", { - enumerable: true, - get: function () { - return _keyword.isStrictReservedWord; - } -}); -var _identifier = require("./identifier.js"); -var _keyword = require("./keyword.js"); - -//# sourceMappingURL=index.js.map diff --git a/node_modules/@babel/helper-validator-identifier/lib/index.js.map b/node_modules/@babel/helper-validator-identifier/lib/index.js.map deleted file mode 100644 index 8f8a913..0000000 --- a/node_modules/@babel/helper-validator-identifier/lib/index.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"names":["_identifier","require","_keyword"],"sources":["../src/index.ts"],"sourcesContent":["export {\n isIdentifierName,\n isIdentifierChar,\n isIdentifierStart,\n} from \"./identifier.ts\";\nexport {\n isReservedWord,\n isStrictBindOnlyReservedWord,\n isStrictBindReservedWord,\n isStrictReservedWord,\n isKeyword,\n} from \"./keyword.ts\";\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAAA,WAAA,GAAAC,OAAA;AAKA,IAAAC,QAAA,GAAAD,OAAA"} \ No newline at end of file diff --git a/node_modules/@babel/helper-validator-identifier/lib/keyword.js b/node_modules/@babel/helper-validator-identifier/lib/keyword.js deleted file mode 100644 index 054cf84..0000000 --- a/node_modules/@babel/helper-validator-identifier/lib/keyword.js +++ /dev/null @@ -1,35 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.isKeyword = isKeyword; -exports.isReservedWord = isReservedWord; -exports.isStrictBindOnlyReservedWord = isStrictBindOnlyReservedWord; -exports.isStrictBindReservedWord = isStrictBindReservedWord; -exports.isStrictReservedWord = isStrictReservedWord; -const reservedWords = { - keyword: ["break", "case", "catch", "continue", "debugger", "default", "do", "else", "finally", "for", "function", "if", "return", "switch", "throw", "try", "var", "const", "while", "with", "new", "this", "super", "class", "extends", "export", "import", "null", "true", "false", "in", "instanceof", "typeof", "void", "delete"], - strict: ["implements", "interface", "let", "package", "private", "protected", "public", "static", "yield"], - strictBind: ["eval", "arguments"] -}; -const keywords = new Set(reservedWords.keyword); -const reservedWordsStrictSet = new Set(reservedWords.strict); -const reservedWordsStrictBindSet = new Set(reservedWords.strictBind); -function isReservedWord(word, inModule) { - return inModule && word === "await" || word === "enum"; -} -function isStrictReservedWord(word, inModule) { - return isReservedWord(word, inModule) || reservedWordsStrictSet.has(word); -} -function isStrictBindOnlyReservedWord(word) { - return reservedWordsStrictBindSet.has(word); -} -function isStrictBindReservedWord(word, inModule) { - return isStrictReservedWord(word, inModule) || isStrictBindOnlyReservedWord(word); -} -function isKeyword(word) { - return keywords.has(word); -} - -//# sourceMappingURL=keyword.js.map diff --git a/node_modules/@babel/helper-validator-identifier/lib/keyword.js.map b/node_modules/@babel/helper-validator-identifier/lib/keyword.js.map deleted file mode 100644 index 52a9e99..0000000 --- a/node_modules/@babel/helper-validator-identifier/lib/keyword.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"names":["reservedWords","keyword","strict","strictBind","keywords","Set","reservedWordsStrictSet","reservedWordsStrictBindSet","isReservedWord","word","inModule","isStrictReservedWord","has","isStrictBindOnlyReservedWord","isStrictBindReservedWord","isKeyword"],"sources":["../src/keyword.ts"],"sourcesContent":["const reservedWords = {\n keyword: [\n \"break\",\n \"case\",\n \"catch\",\n \"continue\",\n \"debugger\",\n \"default\",\n \"do\",\n \"else\",\n \"finally\",\n \"for\",\n \"function\",\n \"if\",\n \"return\",\n \"switch\",\n \"throw\",\n \"try\",\n \"var\",\n \"const\",\n \"while\",\n \"with\",\n \"new\",\n \"this\",\n \"super\",\n \"class\",\n \"extends\",\n \"export\",\n \"import\",\n \"null\",\n \"true\",\n \"false\",\n \"in\",\n \"instanceof\",\n \"typeof\",\n \"void\",\n \"delete\",\n ],\n strict: [\n \"implements\",\n \"interface\",\n \"let\",\n \"package\",\n \"private\",\n \"protected\",\n \"public\",\n \"static\",\n \"yield\",\n ],\n strictBind: [\"eval\", \"arguments\"],\n};\nconst keywords = new Set(reservedWords.keyword);\nconst reservedWordsStrictSet = new Set(reservedWords.strict);\nconst reservedWordsStrictBindSet = new Set(reservedWords.strictBind);\n\n/**\n * Checks if word is a reserved word in non-strict mode\n */\nexport function isReservedWord(word: string, inModule: boolean): boolean {\n return (inModule && word === \"await\") || word === \"enum\";\n}\n\n/**\n * Checks if word is a reserved word in non-binding strict mode\n *\n * Includes non-strict reserved words\n */\nexport function isStrictReservedWord(word: string, inModule: boolean): boolean {\n return isReservedWord(word, inModule) || reservedWordsStrictSet.has(word);\n}\n\n/**\n * Checks if word is a reserved word in binding strict mode, but it is allowed as\n * a normal identifier.\n */\nexport function isStrictBindOnlyReservedWord(word: string): boolean {\n return reservedWordsStrictBindSet.has(word);\n}\n\n/**\n * Checks if word is a reserved word in binding strict mode\n *\n * Includes non-strict reserved words and non-binding strict reserved words\n */\nexport function isStrictBindReservedWord(\n word: string,\n inModule: boolean,\n): boolean {\n return (\n isStrictReservedWord(word, inModule) || isStrictBindOnlyReservedWord(word)\n );\n}\n\nexport function isKeyword(word: string): boolean {\n return keywords.has(word);\n}\n"],"mappings":";;;;;;;;;;AAAA,MAAMA,aAAa,GAAG;EACpBC,OAAO,EAAE,CACP,OAAO,EACP,MAAM,EACN,OAAO,EACP,UAAU,EACV,UAAU,EACV,SAAS,EACT,IAAI,EACJ,MAAM,EACN,SAAS,EACT,KAAK,EACL,UAAU,EACV,IAAI,EACJ,QAAQ,EACR,QAAQ,EACR,OAAO,EACP,KAAK,EACL,KAAK,EACL,OAAO,EACP,OAAO,EACP,MAAM,EACN,KAAK,EACL,MAAM,EACN,OAAO,EACP,OAAO,EACP,SAAS,EACT,QAAQ,EACR,QAAQ,EACR,MAAM,EACN,MAAM,EACN,OAAO,EACP,IAAI,EACJ,YAAY,EACZ,QAAQ,EACR,MAAM,EACN,QAAQ,CACT;EACDC,MAAM,EAAE,CACN,YAAY,EACZ,WAAW,EACX,KAAK,EACL,SAAS,EACT,SAAS,EACT,WAAW,EACX,QAAQ,EACR,QAAQ,EACR,OAAO,CACR;EACDC,UAAU,EAAE,CAAC,MAAM,EAAE,WAAW;AAClC,CAAC;AACD,MAAMC,QAAQ,GAAG,IAAIC,GAAG,CAACL,aAAa,CAACC,OAAO,CAAC;AAC/C,MAAMK,sBAAsB,GAAG,IAAID,GAAG,CAACL,aAAa,CAACE,MAAM,CAAC;AAC5D,MAAMK,0BAA0B,GAAG,IAAIF,GAAG,CAACL,aAAa,CAACG,UAAU,CAAC;AAK7D,SAASK,cAAcA,CAACC,IAAY,EAAEC,QAAiB,EAAW;EACvE,OAAQA,QAAQ,IAAID,IAAI,KAAK,OAAO,IAAKA,IAAI,KAAK,MAAM;AAC1D;AAOO,SAASE,oBAAoBA,CAACF,IAAY,EAAEC,QAAiB,EAAW;EAC7E,OAAOF,cAAc,CAACC,IAAI,EAAEC,QAAQ,CAAC,IAAIJ,sBAAsB,CAACM,GAAG,CAACH,IAAI,CAAC;AAC3E;AAMO,SAASI,4BAA4BA,CAACJ,IAAY,EAAW;EAClE,OAAOF,0BAA0B,CAACK,GAAG,CAACH,IAAI,CAAC;AAC7C;AAOO,SAASK,wBAAwBA,CACtCL,IAAY,EACZC,QAAiB,EACR;EACT,OACEC,oBAAoB,CAACF,IAAI,EAAEC,QAAQ,CAAC,IAAIG,4BAA4B,CAACJ,IAAI,CAAC;AAE9E;AAEO,SAASM,SAASA,CAACN,IAAY,EAAW;EAC/C,OAAOL,QAAQ,CAACQ,GAAG,CAACH,IAAI,CAAC;AAC3B"} \ No newline at end of file diff --git a/node_modules/@babel/helper-validator-identifier/package.json b/node_modules/@babel/helper-validator-identifier/package.json deleted file mode 100644 index 67bddb4..0000000 --- a/node_modules/@babel/helper-validator-identifier/package.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "name": "@babel/helper-validator-identifier", - "version": "7.22.20", - "description": "Validate identifier/keywords name", - "repository": { - "type": "git", - "url": "https://github.com/babel/babel.git", - "directory": "packages/babel-helper-validator-identifier" - }, - "license": "MIT", - "publishConfig": { - "access": "public" - }, - "main": "./lib/index.js", - "exports": { - ".": "./lib/index.js", - "./package.json": "./package.json" - }, - "devDependencies": { - "@unicode/unicode-15.1.0": "^1.5.2", - "charcodes": "^0.2.0" - }, - "engines": { - "node": ">=6.9.0" - }, - "author": "The Babel Team (https://babel.dev/team)", - "type": "commonjs" -} \ No newline at end of file diff --git a/node_modules/@babel/helper-validator-identifier/scripts/generate-identifier-regex.js b/node_modules/@babel/helper-validator-identifier/scripts/generate-identifier-regex.js deleted file mode 100644 index 7f753a9..0000000 --- a/node_modules/@babel/helper-validator-identifier/scripts/generate-identifier-regex.js +++ /dev/null @@ -1,73 +0,0 @@ -"use strict"; - -// Always use the latest available version of Unicode! -// https://tc39.github.io/ecma262/#sec-conformance -const version = "15.1.0"; - -const start = require( - "@unicode/unicode-" + version + "/Binary_Property/ID_Start/code-points.js" -).filter(function (ch) { - return ch > 0x7f; -}); -let last = -1; -const cont = require( - "@unicode/unicode-" + version + "/Binary_Property/ID_Continue/code-points.js" -).filter(function (ch) { - return ch > 0x7f && search(start, ch, last + 1) == -1; -}); - -function search(arr, ch, starting) { - for (let i = starting; arr[i] <= ch && i < arr.length; last = i++) { - if (arr[i] === ch) return i; - } - return -1; -} - -function pad(str, width) { - while (str.length < width) str = "0" + str; - return str; -} - -function esc(code) { - const hex = code.toString(16); - if (hex.length <= 2) return "\\x" + pad(hex, 2); - else return "\\u" + pad(hex, 4); -} - -function generate(chars) { - const astral = []; - let re = ""; - for (let i = 0, at = 0x10000; i < chars.length; i++) { - const from = chars[i]; - let to = from; - while (i < chars.length - 1 && chars[i + 1] == to + 1) { - i++; - to++; - } - if (to <= 0xffff) { - if (from == to) re += esc(from); - else if (from + 1 == to) re += esc(from) + esc(to); - else re += esc(from) + "-" + esc(to); - } else { - astral.push(from - at, to - from); - at = to; - } - } - return { nonASCII: re, astral: astral }; -} - -const startData = generate(start); -const contData = generate(cont); - -console.log("/* prettier-ignore */"); -console.log('let nonASCIIidentifierStartChars = "' + startData.nonASCII + '";'); -console.log("/* prettier-ignore */"); -console.log('let nonASCIIidentifierChars = "' + contData.nonASCII + '";'); -console.log("/* prettier-ignore */"); -console.log( - "const astralIdentifierStartCodes = " + JSON.stringify(startData.astral) + ";" -); -console.log("/* prettier-ignore */"); -console.log( - "const astralIdentifierCodes = " + JSON.stringify(contData.astral) + ";" -); diff --git a/node_modules/@babel/highlight/LICENSE b/node_modules/@babel/highlight/LICENSE deleted file mode 100644 index f31575e..0000000 --- a/node_modules/@babel/highlight/LICENSE +++ /dev/null @@ -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. diff --git a/node_modules/@babel/highlight/README.md b/node_modules/@babel/highlight/README.md deleted file mode 100644 index 4c2ec87..0000000 --- a/node_modules/@babel/highlight/README.md +++ /dev/null @@ -1,19 +0,0 @@ -# @babel/highlight - -> Syntax highlight JavaScript strings for output in terminals. - -See our website [@babel/highlight](https://babeljs.io/docs/babel-highlight) for more information. - -## Install - -Using npm: - -```sh -npm install --save-dev @babel/highlight -``` - -or using yarn: - -```sh -yarn add @babel/highlight --dev -``` diff --git a/node_modules/@babel/highlight/lib/index.js b/node_modules/@babel/highlight/lib/index.js deleted file mode 100644 index a45bc5a..0000000 --- a/node_modules/@babel/highlight/lib/index.js +++ /dev/null @@ -1,105 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default = highlight; -exports.shouldHighlight = shouldHighlight; -var _jsTokens = require("js-tokens"); -var _helperValidatorIdentifier = require("@babel/helper-validator-identifier"); -var _chalk = _interopRequireWildcard(require("chalk"), true); -function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); } -function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; } -const sometimesKeywords = new Set(["as", "async", "from", "get", "of", "set"]); -function getDefs(chalk) { - return { - keyword: chalk.cyan, - capitalized: chalk.yellow, - jsxIdentifier: chalk.yellow, - punctuator: chalk.yellow, - number: chalk.magenta, - string: chalk.green, - regex: chalk.magenta, - comment: chalk.grey, - invalid: chalk.white.bgRed.bold - }; -} -const NEWLINE = /\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 ((0, _helperValidatorIdentifier.isKeyword)(token.value) || (0, _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) == " colorize(str)).join("\n"); - } else { - highlighted += value; - } - } - return highlighted; -} -function shouldHighlight(options) { - return _chalk.default.level > 0 || options.forceColor; -} -let chalkWithForcedColor = undefined; -function getChalk(forceColor) { - if (forceColor) { - var _chalkWithForcedColor; - (_chalkWithForcedColor = chalkWithForcedColor) != null ? _chalkWithForcedColor : chalkWithForcedColor = new _chalk.default.constructor({ - enabled: true, - level: 1 - }); - return chalkWithForcedColor; - } - return _chalk.default; -} -{ - exports.getChalk = options => getChalk(options.forceColor); -} -function highlight(code, options = {}) { - if (code !== "" && shouldHighlight(options)) { - const defs = getDefs(getChalk(options.forceColor)); - return highlightTokens(defs, code); - } else { - return code; - } -} - -//# sourceMappingURL=index.js.map diff --git a/node_modules/@babel/highlight/lib/index.js.map b/node_modules/@babel/highlight/lib/index.js.map deleted file mode 100644 index 5a17880..0000000 --- a/node_modules/@babel/highlight/lib/index.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"names":["_jsTokens","require","_helperValidatorIdentifier","_chalk","_interopRequireWildcard","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","prototype","hasOwnProperty","call","i","set","sometimesKeywords","Set","getDefs","chalk","keyword","cyan","capitalized","yellow","jsxIdentifier","punctuator","number","magenta","string","green","regex","comment","grey","invalid","white","bgRed","bold","NEWLINE","BRACKET","tokenize","JSX_TAG","getTokenType","token","offset","text","type","isKeyword","value","isStrictReservedWord","test","slice","toLowerCase","match","jsTokens","exec","matchToToken","index","highlightTokens","defs","highlighted","colorize","split","map","str","join","shouldHighlight","options","level","forceColor","chalkWithForcedColor","undefined","getChalk","_chalkWithForcedColor","constructor","enabled","exports","highlight","code"],"sources":["../src/index.ts"],"sourcesContent":["/// \n\nimport type { Token as JSToken, JSXToken } from \"js-tokens\";\nimport jsTokens from \"js-tokens\";\n\nimport {\n isStrictReservedWord,\n isKeyword,\n} from \"@babel/helper-validator-identifier\";\n\nimport chalk, { Chalk as ChalkClass, type ChalkInstance as Chalk } from \"chalk\";\n\n/**\n * Names that are always allowed as identifiers, but also appear as keywords\n * within certain syntactic productions.\n *\n * https://tc39.es/ecma262/#sec-keywords-and-reserved-words\n *\n * `target` has been omitted since it is very likely going to be a false\n * positive.\n */\nconst sometimesKeywords = new Set([\"as\", \"async\", \"from\", \"get\", \"of\", \"set\"]);\n\ntype InternalTokenType =\n | \"keyword\"\n | \"capitalized\"\n | \"jsxIdentifier\"\n | \"punctuator\"\n | \"number\"\n | \"string\"\n | \"regex\"\n | \"comment\"\n | \"invalid\";\n\ntype Token = {\n type: InternalTokenType | \"uncolored\";\n value: string;\n};\n/**\n * Chalk styles for token types.\n */\nfunction getDefs(chalk: Chalk): Record {\n return {\n keyword: chalk.cyan,\n capitalized: chalk.yellow,\n jsxIdentifier: chalk.yellow,\n punctuator: chalk.yellow,\n number: chalk.magenta,\n string: chalk.green,\n regex: chalk.magenta,\n comment: chalk.grey,\n invalid: chalk.white.bgRed.bold,\n };\n}\n\n/**\n * RegExp to test for newlines in terminal.\n */\nconst NEWLINE = /\\r\\n|[\\n\\r\\u2028\\u2029]/;\n\n/**\n * RegExp to test for the three types of brackets.\n */\nconst BRACKET = /^[()[\\]{}]$/;\n\nlet tokenize: (\n text: string,\n) => Generator<{ type: InternalTokenType | \"uncolored\"; value: string }>;\n\nif (process.env.BABEL_8_BREAKING) {\n /**\n * Get the type of token, specifying punctuator type.\n */\n const getTokenType = function (\n token: JSToken | JSXToken,\n ): InternalTokenType | \"uncolored\" {\n if (token.type === \"IdentifierName\") {\n if (\n isKeyword(token.value) ||\n isStrictReservedWord(token.value, true) ||\n sometimesKeywords.has(token.value)\n ) {\n return \"keyword\";\n }\n\n if (token.value[0] !== token.value[0].toLowerCase()) {\n return \"capitalized\";\n }\n }\n\n if (token.type === \"Punctuator\" && BRACKET.test(token.value)) {\n return \"uncolored\";\n }\n\n if (token.type === \"Invalid\" && token.value === \"@\") {\n return \"punctuator\";\n }\n\n switch (token.type) {\n case \"NumericLiteral\":\n return \"number\";\n\n case \"StringLiteral\":\n case \"JSXString\":\n case \"NoSubstitutionTemplate\":\n return \"string\";\n\n case \"RegularExpressionLiteral\":\n return \"regex\";\n\n case \"Punctuator\":\n case \"JSXPunctuator\":\n return \"punctuator\";\n\n case \"MultiLineComment\":\n case \"SingleLineComment\":\n return \"comment\";\n\n case \"Invalid\":\n case \"JSXInvalid\":\n return \"invalid\";\n\n case \"JSXIdentifier\":\n return \"jsxIdentifier\";\n\n default:\n return \"uncolored\";\n }\n };\n\n /**\n * Turn a string of JS into an array of objects.\n */\n tokenize = function* (text: string): Generator {\n for (const token of jsTokens(text, { jsx: true })) {\n switch (token.type) {\n case \"TemplateHead\":\n yield { type: \"string\", value: token.value.slice(0, -2) };\n yield { type: \"punctuator\", value: \"${\" };\n break;\n\n case \"TemplateMiddle\":\n yield { type: \"punctuator\", value: \"}\" };\n yield { type: \"string\", value: token.value.slice(1, -2) };\n yield { type: \"punctuator\", value: \"${\" };\n break;\n\n case \"TemplateTail\":\n yield { type: \"punctuator\", value: \"}\" };\n yield { type: \"string\", value: token.value.slice(1) };\n break;\n\n default:\n yield {\n type: getTokenType(token),\n value: token.value,\n };\n }\n }\n };\n} else {\n /**\n * RegExp to test for what seems to be a JSX tag name.\n */\n const JSX_TAG = /^[a-z][\\w-]*$/i;\n\n // The token here is defined in js-tokens@4. However we don't bother\n // typing it since the whole block will be removed in Babel 8\n const getTokenType = function (token: any, offset: number, text: string) {\n if (token.type === \"name\") {\n if (\n isKeyword(token.value) ||\n isStrictReservedWord(token.value, true) ||\n sometimesKeywords.has(token.value)\n ) {\n return \"keyword\";\n }\n\n if (\n JSX_TAG.test(token.value) &&\n (text[offset - 1] === \"<\" || text.slice(offset - 2, offset) == \", text: string) {\n let highlighted = \"\";\n\n for (const { type, value } of tokenize(text)) {\n const colorize = defs[type];\n if (colorize) {\n highlighted += value\n .split(NEWLINE)\n .map(str => colorize(str))\n .join(\"\\n\");\n } else {\n highlighted += value;\n }\n }\n\n return highlighted;\n}\n\n/**\n * Highlight `text` using the token definitions in `defs`.\n */\n\ntype Options = {\n forceColor?: boolean;\n};\n\n/**\n * Whether the code should be highlighted given the passed options.\n */\nexport function shouldHighlight(options: Options): boolean {\n return chalk.level > 0 || options.forceColor;\n}\n\nlet chalkWithForcedColor: Chalk = undefined;\nfunction getChalk(forceColor: boolean) {\n if (forceColor) {\n chalkWithForcedColor ??= process.env.BABEL_8_BREAKING\n ? new ChalkClass({ level: 1 })\n : // @ts-expect-error .Instance was .constructor in chalk 2\n new chalk.constructor({ enabled: true, level: 1 });\n return chalkWithForcedColor;\n }\n return chalk;\n}\nif (!process.env.BABEL_8_BREAKING && !USE_ESM) {\n // eslint-disable-next-line no-restricted-globals\n exports.getChalk = (options: Options) => getChalk(options.forceColor);\n}\n\n/**\n * Highlight `code`.\n */\nexport default function highlight(code: string, options: Options = {}): string {\n if (code !== \"\" && shouldHighlight(options)) {\n const defs = getDefs(getChalk(options.forceColor));\n return highlightTokens(defs, code);\n } else {\n return code;\n }\n}\n"],"mappings":";;;;;;;AAGA,IAAAA,SAAA,GAAAC,OAAA;AAEA,IAAAC,0BAAA,GAAAD,OAAA;AAKA,IAAAE,MAAA,GAAAC,uBAAA,CAAAH,OAAA;AAAgF,SAAAI,yBAAAC,CAAA,6BAAAC,OAAA,mBAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAF,wBAAA,YAAAA,CAAAC,CAAA,WAAAA,CAAA,GAAAG,CAAA,GAAAD,CAAA,KAAAF,CAAA;AAAA,SAAAF,wBAAAE,CAAA,EAAAE,CAAA,SAAAA,CAAA,IAAAF,CAAA,IAAAA,CAAA,CAAAI,UAAA,SAAAJ,CAAA,eAAAA,CAAA,uBAAAA,CAAA,yBAAAA,CAAA,WAAAK,OAAA,EAAAL,CAAA,QAAAG,CAAA,GAAAJ,wBAAA,CAAAG,CAAA,OAAAC,CAAA,IAAAA,CAAA,CAAAG,GAAA,CAAAN,CAAA,UAAAG,CAAA,CAAAI,GAAA,CAAAP,CAAA,OAAAQ,CAAA,KAAAC,SAAA,UAAAC,CAAA,GAAAC,MAAA,CAAAC,cAAA,IAAAD,MAAA,CAAAE,wBAAA,WAAAC,CAAA,IAAAd,CAAA,oBAAAc,CAAA,IAAAH,MAAA,CAAAI,SAAA,CAAAC,cAAA,CAAAC,IAAA,CAAAjB,CAAA,EAAAc,CAAA,SAAAI,CAAA,GAAAR,CAAA,GAAAC,MAAA,CAAAE,wBAAA,CAAAb,CAAA,EAAAc,CAAA,UAAAI,CAAA,KAAAA,CAAA,CAAAX,GAAA,IAAAW,CAAA,CAAAC,GAAA,IA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AAC,MAAM;IACL,OAAOA,IAAI;EACb;AACF"} \ No newline at end of file diff --git a/node_modules/@babel/highlight/package.json b/node_modules/@babel/highlight/package.json deleted file mode 100644 index 640f836..0000000 --- a/node_modules/@babel/highlight/package.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "name": "@babel/highlight", - "version": "7.23.4", - "description": "Syntax highlight JavaScript strings for output in terminals.", - "author": "The Babel Team (https://babel.dev/team)", - "homepage": "https://babel.dev/docs/en/next/babel-highlight", - "license": "MIT", - "publishConfig": { - "access": "public" - }, - "repository": { - "type": "git", - "url": "https://github.com/babel/babel.git", - "directory": "packages/babel-highlight" - }, - "main": "./lib/index.js", - "dependencies": { - "@babel/helper-validator-identifier": "^7.22.20", - "chalk": "^2.4.2", - "js-tokens": "^4.0.0" - }, - "devDependencies": { - "strip-ansi": "^4.0.0" - }, - "engines": { - "node": ">=6.9.0" - }, - "type": "commonjs" -} \ No newline at end of file diff --git a/node_modules/@puppeteer/browsers/README.md b/node_modules/@puppeteer/browsers/README.md deleted file mode 100644 index f534212..0000000 --- a/node_modules/@puppeteer/browsers/README.md +++ /dev/null @@ -1,28 +0,0 @@ -# @puppeteer/browsers - -Manage and launch browsers/drivers from a CLI or programmatically. - -## CLI - -Use `npx` to run the CLI: - -```bash -npx @puppeteer/browsers --help -``` - -CLI help will provide all documentation you need to use the CLI. - -```bash -npx @puppeteer/browsers --help # help for all commands -npx @puppeteer/browsers install --help # help for the install command -npx @puppeteer/browsers launch --help # help for the launch command -``` - -## Known limitations - -1. We support installing and running Firefox, Chrome and Chromium. The `latest`, `beta`, `dev`, `canary`, `stable` keywords are only supported for the install command. For the `launch` command you need to specify an exact build ID. The build ID is provided by the `install` command (see `npx @puppeteer/browsers install --help` for the format). -2. Launching the system browsers is only possible for Chrome/Chromium. - -## API - -The programmatic API allows installing and launching browsers from your code. See the `test` folder for examples on how to use the `install`, `canInstall`, `launch`, `computeExecutablePath`, `computeSystemExecutablePath` and other methods. diff --git a/node_modules/@puppeteer/browsers/lib/cjs/CLI.d.ts b/node_modules/@puppeteer/browsers/lib/cjs/CLI.d.ts deleted file mode 100644 index 4c2d25b..0000000 --- a/node_modules/@puppeteer/browsers/lib/cjs/CLI.d.ts +++ /dev/null @@ -1,32 +0,0 @@ -/** - * @license - * Copyright 2023 Google Inc. - * SPDX-License-Identifier: Apache-2.0 - */ -/// -import * as readline from 'readline'; -import { type Browser } from './browser-data/browser-data.js'; -/** - * @public - */ -export declare class CLI { - #private; - constructor(opts?: string | { - cachePath?: string; - scriptName?: string; - prefixCommand?: { - cmd: string; - description: string; - }; - allowCachePathOverride?: boolean; - pinnedBrowsers?: Partial<{ - [key in Browser]: string; - }>; - }, rl?: readline.Interface); - run(argv: string[]): Promise; -} -/** - * @public - */ -export declare function makeProgressCallback(browser: Browser, buildId: string): (downloadedBytes: number, totalBytes: number) => void; -//# sourceMappingURL=CLI.d.ts.map \ No newline at end of file diff --git a/node_modules/@puppeteer/browsers/lib/cjs/CLI.d.ts.map b/node_modules/@puppeteer/browsers/lib/cjs/CLI.d.ts.map deleted file mode 100644 index 0a6d8fa..0000000 --- a/node_modules/@puppeteer/browsers/lib/cjs/CLI.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"CLI.d.ts","sourceRoot":"","sources":["../../src/CLI.ts"],"names":[],"mappings":"AAAA;;;;GAIG;;AAGH,OAAO,KAAK,QAAQ,MAAM,UAAU,CAAC;AAOrC,OAAO,EAEL,KAAK,OAAO,EAGb,MAAM,gCAAgC,CAAC;AAmCxC;;GAEG;AACH,qBAAa,GAAG;;gBASZ,IAAI,CAAC,EACD,MAAM,GACN;QACE,SAAS,CAAC,EAAE,MAAM,CAAC;QACnB,UAAU,CAAC,EAAE,MAAM,CAAC;QACpB,aAAa,CAAC,EAAE;YAAC,GAAG,EAAE,MAAM,CAAC;YAAC,WAAW,EAAE,MAAM,CAAA;SAAC,CAAC;QACnD,sBAAsB,CAAC,EAAE,OAAO,CAAC;QACjC,cAAc,CAAC,EAAE,OAAO,CAAC;aAAE,GAAG,IAAI,OAAO,GAAG,MAAM;SAAC,CAAC,CAAC;KACtD,EACL,EAAE,CAAC,EAAE,QAAQ,CAAC,SAAS;IAwDnB,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,IAAI,CAAC;CA4PzC;AAED;;GAEG;AACH,wBAAgB,oBAAoB,CAClC,OAAO,EAAE,OAAO,EAChB,OAAO,EAAE,MAAM,GACd,CAAC,eAAe,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,KAAK,IAAI,CAqBvD"} \ No newline at end of file diff --git a/node_modules/@puppeteer/browsers/lib/cjs/CLI.js b/node_modules/@puppeteer/browsers/lib/cjs/CLI.js deleted file mode 100644 index e20923b..0000000 --- a/node_modules/@puppeteer/browsers/lib/cjs/CLI.js +++ /dev/null @@ -1,283 +0,0 @@ -"use strict"; -/** - * @license - * Copyright 2023 Google Inc. - * SPDX-License-Identifier: Apache-2.0 - */ -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { - Object.defineProperty(o, "default", { enumerable: true, value: v }); -}) : function(o, v) { - o["default"] = v; -}); -var __importStar = (this && this.__importStar) || function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); - __setModuleDefault(result, mod); - return result; -}; -var __importDefault = (this && this.__importDefault) || function (mod) { - return (mod && mod.__esModule) ? mod : { "default": mod }; -}; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.makeProgressCallback = exports.CLI = void 0; -const process_1 = require("process"); -const readline = __importStar(require("readline")); -const progress_1 = __importDefault(require("progress")); -const helpers_1 = require("yargs/helpers"); -const yargs_1 = __importDefault(require("yargs/yargs")); -const browser_data_js_1 = require("./browser-data/browser-data.js"); -const Cache_js_1 = require("./Cache.js"); -const detectPlatform_js_1 = require("./detectPlatform.js"); -const install_js_1 = require("./install.js"); -const launch_js_1 = require("./launch.js"); -/** - * @public - */ -class CLI { - #cachePath; - #rl; - #scriptName = ''; - #allowCachePathOverride = true; - #pinnedBrowsers; - #prefixCommand; - constructor(opts, rl) { - if (!opts) { - opts = {}; - } - if (typeof opts === 'string') { - opts = { - cachePath: opts, - }; - } - this.#cachePath = opts.cachePath ?? process.cwd(); - this.#rl = rl; - this.#scriptName = opts.scriptName ?? '@puppeteer/browsers'; - this.#allowCachePathOverride = opts.allowCachePathOverride ?? true; - this.#pinnedBrowsers = opts.pinnedBrowsers; - this.#prefixCommand = opts.prefixCommand; - } - #defineBrowserParameter(yargs) { - yargs.positional('browser', { - description: 'Which browser to install [@]. `latest` will try to find the latest available build. `buildId` is a browser-specific identifier such as a version or a revision.', - type: 'string', - coerce: (opt) => { - return { - name: this.#parseBrowser(opt), - buildId: this.#parseBuildId(opt), - }; - }, - }); - } - #definePlatformParameter(yargs) { - yargs.option('platform', { - type: 'string', - desc: 'Platform that the binary needs to be compatible with.', - choices: Object.values(browser_data_js_1.BrowserPlatform), - defaultDescription: 'Auto-detected', - }); - } - #definePathParameter(yargs, required = false) { - if (!this.#allowCachePathOverride) { - return; - } - yargs.option('path', { - type: 'string', - desc: 'Path to the root folder for the browser downloads and installation. The installation folder structure is compatible with the cache structure used by Puppeteer.', - defaultDescription: 'Current working directory', - ...(required ? {} : { default: process.cwd() }), - }); - if (required) { - yargs.demandOption('path'); - } - } - async run(argv) { - const yargsInstance = (0, yargs_1.default)((0, helpers_1.hideBin)(argv)); - let target = yargsInstance.scriptName(this.#scriptName); - if (this.#prefixCommand) { - target = target.command(this.#prefixCommand.cmd, this.#prefixCommand.description, yargs => { - return this.#build(yargs); - }); - } - else { - target = this.#build(target); - } - await target - .demandCommand(1) - .help() - .wrap(Math.min(120, yargsInstance.terminalWidth())) - .parse(); - } - #build(yargs) { - const latestOrPinned = this.#pinnedBrowsers ? 'pinned' : 'latest'; - return yargs - .command('install ', 'Download and install the specified browser. If successful, the command outputs the actual browser buildId that was installed and the absolute path to the browser executable (format: @ ).', yargs => { - this.#defineBrowserParameter(yargs); - this.#definePlatformParameter(yargs); - this.#definePathParameter(yargs); - yargs.option('base-url', { - type: 'string', - desc: 'Base URL to download from', - }); - yargs.example('$0 install chrome', `Install the ${latestOrPinned} available build of the Chrome browser.`); - yargs.example('$0 install chrome@latest', 'Install the latest available build for the Chrome browser.'); - yargs.example('$0 install chrome@stable', 'Install the latest available build for the Chrome browser from the stable channel.'); - yargs.example('$0 install chrome@beta', 'Install the latest available build for the Chrome browser from the beta channel.'); - yargs.example('$0 install chrome@dev', 'Install the latest available build for the Chrome browser from the dev channel.'); - yargs.example('$0 install chrome@canary', 'Install the latest available build for the Chrome Canary browser.'); - yargs.example('$0 install chrome@115', 'Install the latest available build for Chrome 115.'); - yargs.example('$0 install chromedriver@canary', 'Install the latest available build for ChromeDriver Canary.'); - yargs.example('$0 install chromedriver@115', 'Install the latest available build for ChromeDriver 115.'); - yargs.example('$0 install chromedriver@115.0.5790', 'Install the latest available patch (115.0.5790.X) build for ChromeDriver.'); - yargs.example('$0 install chrome-headless-shell', 'Install the latest available chrome-headless-shell build.'); - yargs.example('$0 install chrome-headless-shell@beta', 'Install the latest available chrome-headless-shell build corresponding to the Beta channel.'); - yargs.example('$0 install chrome-headless-shell@118', 'Install the latest available chrome-headless-shell 118 build.'); - yargs.example('$0 install chromium@1083080', 'Install the revision 1083080 of the Chromium browser.'); - yargs.example('$0 install firefox', 'Install the latest available build of the Firefox browser.'); - yargs.example('$0 install firefox --platform mac', 'Install the latest Mac (Intel) build of the Firefox browser.'); - if (this.#allowCachePathOverride) { - yargs.example('$0 install firefox --path /tmp/my-browser-cache', 'Install to the specified cache directory.'); - } - }, async (argv) => { - const args = argv; - args.platform ??= (0, detectPlatform_js_1.detectBrowserPlatform)(); - if (!args.platform) { - throw new Error(`Could not resolve the current platform`); - } - if (args.browser.buildId === 'pinned') { - const pinnedVersion = this.#pinnedBrowsers?.[args.browser.name]; - if (!pinnedVersion) { - throw new Error(`No pinned version found for ${args.browser.name}`); - } - args.browser.buildId = pinnedVersion; - } - const originalBuildId = args.browser.buildId; - args.browser.buildId = await (0, browser_data_js_1.resolveBuildId)(args.browser.name, args.platform, args.browser.buildId); - await (0, install_js_1.install)({ - browser: args.browser.name, - buildId: args.browser.buildId, - platform: args.platform, - cacheDir: args.path ?? this.#cachePath, - downloadProgressCallback: makeProgressCallback(args.browser.name, args.browser.buildId), - baseUrl: args.baseUrl, - buildIdAlias: originalBuildId !== args.browser.buildId - ? originalBuildId - : undefined, - }); - console.log(`${args.browser.name}@${args.browser.buildId} ${(0, launch_js_1.computeExecutablePath)({ - browser: args.browser.name, - buildId: args.browser.buildId, - cacheDir: args.path ?? this.#cachePath, - platform: args.platform, - })}`); - }) - .command('launch ', 'Launch the specified browser', yargs => { - this.#defineBrowserParameter(yargs); - this.#definePlatformParameter(yargs); - this.#definePathParameter(yargs); - yargs.option('detached', { - type: 'boolean', - desc: 'Detach the child process.', - default: false, - }); - yargs.option('system', { - type: 'boolean', - desc: 'Search for a browser installed on the system instead of the cache folder.', - default: false, - }); - yargs.example('$0 launch chrome@115.0.5790.170', 'Launch Chrome 115.0.5790.170'); - yargs.example('$0 launch firefox@112.0a1', 'Launch the Firefox browser identified by the milestone 112.0a1.'); - yargs.example('$0 launch chrome@115.0.5790.170 --detached', 'Launch the browser but detach the sub-processes.'); - yargs.example('$0 launch chrome@canary --system', 'Try to locate the Canary build of Chrome installed on the system and launch it.'); - }, async (argv) => { - const args = argv; - const executablePath = args.system - ? (0, launch_js_1.computeSystemExecutablePath)({ - browser: args.browser.name, - // TODO: throw an error if not a ChromeReleaseChannel is provided. - channel: args.browser.buildId, - platform: args.platform, - }) - : (0, launch_js_1.computeExecutablePath)({ - browser: args.browser.name, - buildId: args.browser.buildId, - cacheDir: args.path ?? this.#cachePath, - platform: args.platform, - }); - (0, launch_js_1.launch)({ - executablePath, - detached: args.detached, - }); - }) - .command('clear', this.#allowCachePathOverride - ? 'Removes all installed browsers from the specified cache directory' - : `Removes all installed browsers from ${this.#cachePath}`, yargs => { - this.#definePathParameter(yargs, true); - }, async (argv) => { - const args = argv; - const cacheDir = args.path ?? this.#cachePath; - const rl = this.#rl ?? readline.createInterface({ input: process_1.stdin, output: process_1.stdout }); - rl.question(`Do you want to permanently and recursively delete the content of ${cacheDir} (yes/No)? `, answer => { - rl.close(); - if (!['y', 'yes'].includes(answer.toLowerCase().trim())) { - console.log('Cancelled.'); - return; - } - const cache = new Cache_js_1.Cache(cacheDir); - cache.clear(); - console.log(`${cacheDir} cleared.`); - }); - }) - .demandCommand(1) - .help(); - } - #parseBrowser(version) { - return version.split('@').shift(); - } - #parseBuildId(version) { - const parts = version.split('@'); - return parts.length === 2 - ? parts[1] - : this.#pinnedBrowsers - ? 'pinned' - : 'latest'; - } -} -exports.CLI = CLI; -/** - * @public - */ -function makeProgressCallback(browser, buildId) { - let progressBar; - let lastDownloadedBytes = 0; - return (downloadedBytes, totalBytes) => { - if (!progressBar) { - progressBar = new progress_1.default(`Downloading ${browser} r${buildId} - ${toMegabytes(totalBytes)} [:bar] :percent :etas `, { - complete: '=', - incomplete: ' ', - width: 20, - total: totalBytes, - }); - } - const delta = downloadedBytes - lastDownloadedBytes; - lastDownloadedBytes = downloadedBytes; - progressBar.tick(delta); - }; -} -exports.makeProgressCallback = makeProgressCallback; -function toMegabytes(bytes) { - const mb = bytes / 1000 / 1000; - return `${Math.round(mb * 10) / 10} MB`; -} -//# sourceMappingURL=CLI.js.map \ No newline at end of file diff --git a/node_modules/@puppeteer/browsers/lib/cjs/CLI.js.map b/node_modules/@puppeteer/browsers/lib/cjs/CLI.js.map deleted file mode 100644 index 4007b13..0000000 --- a/node_modules/@puppeteer/browsers/lib/cjs/CLI.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"CLI.js","sourceRoot":"","sources":["../../src/CLI.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,qCAAyD;AACzD,mDAAqC;AAErC,wDAAmC;AAEnC,2CAAsC;AACtC,wDAAgC;AAEhC,oEAKwC;AACxC,yCAAiC;AACjC,2DAA0D;AAC1D,6CAAqC;AACrC,2CAIqB;AA2BrB;;GAEG;AACH,MAAa,GAAG;IACd,UAAU,CAAC;IACX,GAAG,CAAsB;IACzB,WAAW,GAAG,EAAE,CAAC;IACjB,uBAAuB,GAAG,IAAI,CAAC;IAC/B,eAAe,CAAuC;IACtD,cAAc,CAAsC;IAEpD,YACE,IAQK,EACL,EAAuB;QAEvB,IAAI,CAAC,IAAI,EAAE,CAAC;YACV,IAAI,GAAG,EAAE,CAAC;QACZ,CAAC;QACD,IAAI,OAAO,IAAI,KAAK,QAAQ,EAAE,CAAC;YAC7B,IAAI,GAAG;gBACL,SAAS,EAAE,IAAI;aAChB,CAAC;QACJ,CAAC;QACD,IAAI,CAAC,UAAU,GAAG,IAAI,CAAC,SAAS,IAAI,OAAO,CAAC,GAAG,EAAE,CAAC;QAClD,IAAI,CAAC,GAAG,GAAG,EAAE,CAAC;QACd,IAAI,CAAC,WAAW,GAAG,IAAI,CAAC,UAAU,IAAI,qBAAqB,CAAC;QAC5D,IAAI,CAAC,uBAAuB,GAAG,IAAI,CAAC,sBAAsB,IAAI,IAAI,CAAC;QACnE,IAAI,CAAC,eAAe,GAAG,IAAI,CAAC,cAAc,CAAC;QAC3C,IAAI,CAAC,cAAc,GAAG,IAAI,CAAC,aAAa,CAAC;IAC3C,CAAC;IAED,uBAAuB,CAAC,KAA0B;QAChD,KAAK,CAAC,UAAU,C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AC1B,CAAC,CAAC;AACJ,CAAC;AAxBD,oDAwBC;AAED,SAAS,WAAW,CAAC,KAAa;IAChC,MAAM,EAAE,GAAG,KAAK,GAAG,IAAI,GAAG,IAAI,CAAC;IAC/B,OAAO,GAAG,IAAI,CAAC,KAAK,CAAC,EAAE,GAAG,EAAE,CAAC,GAAG,EAAE,KAAK,CAAC;AAC1C,CAAC"} \ No newline at end of file diff --git a/node_modules/@puppeteer/browsers/lib/cjs/Cache.d.ts b/node_modules/@puppeteer/browsers/lib/cjs/Cache.d.ts deleted file mode 100644 index af18af5..0000000 --- a/node_modules/@puppeteer/browsers/lib/cjs/Cache.d.ts +++ /dev/null @@ -1,83 +0,0 @@ -/** - * @license - * Copyright 2023 Google Inc. - * SPDX-License-Identifier: Apache-2.0 - */ -import { Browser, type BrowserPlatform } from './browser-data/browser-data.js'; -/** - * @public - */ -export declare class InstalledBrowser { - #private; - browser: Browser; - buildId: string; - platform: BrowserPlatform; - readonly executablePath: string; - /** - * @internal - */ - constructor(cache: Cache, browser: Browser, buildId: string, platform: BrowserPlatform); - /** - * Path to the root of the installation folder. Use - * {@link computeExecutablePath} to get the path to the executable binary. - */ - get path(): string; - readMetadata(): Metadata; - writeMetadata(metadata: Metadata): void; -} -/** - * @internal - */ -export interface ComputeExecutablePathOptions { - /** - * Determines which platform the browser will be suited for. - * - * @defaultValue **Auto-detected.** - */ - platform?: BrowserPlatform; - /** - * Determines which browser to launch. - */ - browser: Browser; - /** - * Determines which buildId to download. BuildId should uniquely identify - * binaries and they are used for caching. - */ - buildId: string; -} -export interface Metadata { - aliases: Record; -} -/** - * The cache used by Puppeteer relies on the following structure: - * - * - rootDir - * -- | browserRoot(browser1) - * ---- - | installationDir() - * ------ the browser-platform-buildId - * ------ specific structure. - * -- | browserRoot(browser2) - * ---- - | installationDir() - * ------ the browser-platform-buildId - * ------ specific structure. - * @internal - */ -export declare class Cache { - #private; - constructor(rootDir: string); - /** - * @internal - */ - get rootDir(): string; - browserRoot(browser: Browser): string; - metadataFile(browser: Browser): string; - readMetadata(browser: Browser): Metadata; - writeMetadata(browser: Browser, metadata: Metadata): void; - resolveAlias(browser: Browser, alias: string): string | undefined; - installationDir(browser: Browser, platform: BrowserPlatform, buildId: string): string; - clear(): void; - uninstall(browser: Browser, platform: BrowserPlatform, buildId: string): void; - getInstalledBrowsers(): InstalledBrowser[]; - computeExecutablePath(options: ComputeExecutablePathOptions): string; -} -//# sourceMappingURL=Cache.d.ts.map \ No newline at end of file diff --git a/node_modules/@puppeteer/browsers/lib/cjs/Cache.d.ts.map b/node_modules/@puppeteer/browsers/lib/cjs/Cache.d.ts.map deleted file mode 100644 index 71d5ba4..0000000 --- a/node_modules/@puppeteer/browsers/lib/cjs/Cache.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"Cache.d.ts","sourceRoot":"","sources":["../../src/Cache.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAQH,OAAO,EACL,OAAO,EACP,KAAK,eAAe,EAGrB,MAAM,gCAAgC,CAAC;AAKxC;;GAEG;AACH,qBAAa,gBAAgB;;IAC3B,OAAO,EAAE,OAAO,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,eAAe,CAAC;IAC1B,QAAQ,CAAC,cAAc,EAAE,MAAM,CAAC;IAIhC;;OAEG;gBAED,KAAK,EAAE,KAAK,EACZ,OAAO,EAAE,OAAO,EAChB,OAAO,EAAE,MAAM,EACf,QAAQ,EAAE,eAAe;IAa3B;;;OAGG;IACH,IAAI,IAAI,IAAI,MAAM,CAMjB;IAED,YAAY,IAAI,QAAQ;IAIxB,aAAa,CAAC,QAAQ,EAAE,QAAQ,GAAG,IAAI;CAGxC;AAED;;GAEG;AACH,MAAM,WAAW,4BAA4B;IAC3C;;;;OAIG;IACH,QAAQ,CAAC,EAAE,eAAe,CAAC;IAC3B;;OAEG;IACH,OAAO,EAAE,OAAO,CAAC;IACjB;;;OAGG;IACH,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,QAAQ;IAEvB,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CACjC;AAED;;;;;;;;;;;;;GAaG;AACH,qBAAa,KAAK;;gBAGJ,OAAO,EAAE,MAAM;IAI3B;;OAEG;IACH,IAAI,OAAO,IAAI,MAAM,CAEpB;IAED,WAAW,CAAC,OAAO,EAAE,OAAO,GAAG,MAAM;IAIrC,YAAY,CAAC,OAAO,EAAE,OAAO,GAAG,MAAM;IAItC,YAAY,CAAC,OAAO,EAAE,OAAO,GAAG,QAAQ;IAaxC,aAAa,CAAC,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,QAAQ,GAAG,IAAI;IAMzD,YAAY,CAAC,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS;IAUjE,eAAe,CACb,OAAO,EAAE,OAAO,EAChB,QAAQ,EAAE,eAAe,EACzB,OAAO,EAAE,MAAM,GACd,MAAM;IAIT,KAAK,IAAI,IAAI;IASb,SAAS,CACP,OAAO,EAAE,OAAO,EAChB,QAAQ,EAAE,eAAe,EACzB,OAAO,EAAE,MAAM,GACd,IAAI;IAeP,oBAAoB,IAAI,gBAAgB,EAAE;IA+B1C,qBAAqB,CAAC,OAAO,EAAE,4BAA4B,GAAG,MAAM;CA0BrE"} \ No newline at end of file diff --git a/node_modules/@puppeteer/browsers/lib/cjs/Cache.js b/node_modules/@puppeteer/browsers/lib/cjs/Cache.js deleted file mode 100644 index a5eee16..0000000 --- a/node_modules/@puppeteer/browsers/lib/cjs/Cache.js +++ /dev/null @@ -1,191 +0,0 @@ -"use strict"; -/** - * @license - * Copyright 2023 Google Inc. - * SPDX-License-Identifier: Apache-2.0 - */ -var __importDefault = (this && this.__importDefault) || function (mod) { - return (mod && mod.__esModule) ? mod : { "default": mod }; -}; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.Cache = exports.InstalledBrowser = void 0; -const fs_1 = __importDefault(require("fs")); -const os_1 = __importDefault(require("os")); -const path_1 = __importDefault(require("path")); -const debug_1 = __importDefault(require("debug")); -const browser_data_js_1 = require("./browser-data/browser-data.js"); -const detectPlatform_js_1 = require("./detectPlatform.js"); -const debugCache = (0, debug_1.default)('puppeteer:browsers:cache'); -/** - * @public - */ -class InstalledBrowser { - browser; - buildId; - platform; - executablePath; - #cache; - /** - * @internal - */ - constructor(cache, browser, buildId, platform) { - this.#cache = cache; - this.browser = browser; - this.buildId = buildId; - this.platform = platform; - this.executablePath = cache.computeExecutablePath({ - browser, - buildId, - platform, - }); - } - /** - * Path to the root of the installation folder. Use - * {@link computeExecutablePath} to get the path to the executable binary. - */ - get path() { - return this.#cache.installationDir(this.browser, this.platform, this.buildId); - } - readMetadata() { - return this.#cache.readMetadata(this.browser); - } - writeMetadata(metadata) { - this.#cache.writeMetadata(this.browser, metadata); - } -} -exports.InstalledBrowser = InstalledBrowser; -/** - * The cache used by Puppeteer relies on the following structure: - * - * - rootDir - * -- | browserRoot(browser1) - * ---- - | installationDir() - * ------ the browser-platform-buildId - * ------ specific structure. - * -- | browserRoot(browser2) - * ---- - | installationDir() - * ------ the browser-platform-buildId - * ------ specific structure. - * @internal - */ -class Cache { - #rootDir; - constructor(rootDir) { - this.#rootDir = rootDir; - } - /** - * @internal - */ - get rootDir() { - return this.#rootDir; - } - browserRoot(browser) { - return path_1.default.join(this.#rootDir, browser); - } - metadataFile(browser) { - return path_1.default.join(this.browserRoot(browser), '.metadata'); - } - readMetadata(browser) { - const metatadaPath = this.metadataFile(browser); - if (!fs_1.default.existsSync(metatadaPath)) { - return { aliases: {} }; - } - // TODO: add type-safe parsing. - const data = JSON.parse(fs_1.default.readFileSync(metatadaPath, 'utf8')); - if (typeof data !== 'object') { - throw new Error('.metadata is not an object'); - } - return data; - } - writeMetadata(browser, metadata) { - const metatadaPath = this.metadataFile(browser); - fs_1.default.mkdirSync(path_1.default.dirname(metatadaPath), { recursive: true }); - fs_1.default.writeFileSync(metatadaPath, JSON.stringify(metadata, null, 2)); - } - resolveAlias(browser, alias) { - const metadata = this.readMetadata(browser); - if (alias === 'latest') { - return Object.values(metadata.aliases || {}) - .sort((0, browser_data_js_1.getVersionComparator)(browser)) - .at(-1); - } - return metadata.aliases[alias]; - } - installationDir(browser, platform, buildId) { - return path_1.default.join(this.browserRoot(browser), `${platform}-${buildId}`); - } - clear() { - fs_1.default.rmSync(this.#rootDir, { - force: true, - recursive: true, - maxRetries: 10, - retryDelay: 500, - }); - } - uninstall(browser, platform, buildId) { - const metadata = this.readMetadata(browser); - for (const alias of Object.keys(metadata.aliases)) { - if (metadata.aliases[alias] === buildId) { - delete metadata.aliases[alias]; - } - } - fs_1.default.rmSync(this.installationDir(browser, platform, buildId), { - force: true, - recursive: true, - maxRetries: 10, - retryDelay: 500, - }); - } - getInstalledBrowsers() { - if (!fs_1.default.existsSync(this.#rootDir)) { - return []; - } - const types = fs_1.default.readdirSync(this.#rootDir); - const browsers = types.filter((t) => { - return Object.values(browser_data_js_1.Browser).includes(t); - }); - return browsers.flatMap(browser => { - const files = fs_1.default.readdirSync(this.browserRoot(browser)); - return files - .map(file => { - const result = parseFolderPath(path_1.default.join(this.browserRoot(browser), file)); - if (!result) { - return null; - } - return new InstalledBrowser(this, browser, result.buildId, result.platform); - }) - .filter((item) => { - return item !== null; - }); - }); - } - computeExecutablePath(options) { - options.platform ??= (0, detectPlatform_js_1.detectBrowserPlatform)(); - if (!options.platform) { - throw new Error(`Cannot download a binary for the provided platform: ${os_1.default.platform()} (${os_1.default.arch()})`); - } - try { - options.buildId = - this.resolveAlias(options.browser, options.buildId) ?? options.buildId; - } - catch { - debugCache('could not read .metadata file for the browser'); - } - const installationDir = this.installationDir(options.browser, options.platform, options.buildId); - return path_1.default.join(installationDir, browser_data_js_1.executablePathByBrowser[options.browser](options.platform, options.buildId)); - } -} -exports.Cache = Cache; -function parseFolderPath(folderPath) { - const name = path_1.default.basename(folderPath); - const splits = name.split('-'); - if (splits.length !== 2) { - return; - } - const [platform, buildId] = splits; - if (!buildId || !platform) { - return; - } - return { platform, buildId }; -} -//# sourceMappingURL=Cache.js.map \ No newline at end of file diff --git a/node_modules/@puppeteer/browsers/lib/cjs/Cache.js.map b/node_modules/@puppeteer/browsers/lib/cjs/Cache.js.map deleted file mode 100644 index 579a06a..0000000 --- a/node_modules/@puppeteer/browsers/lib/cjs/Cache.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"Cache.js","sourceRoot":"","sources":["../../src/Cache.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;;;;AAEH,4CAAoB;AACpB,4CAAoB;AACpB,gDAAwB;AAExB,kDAA0B;AAE1B,oEAKwC;AACxC,2DAA0D;AAE1D,MAAM,UAAU,GAAG,IAAA,eAAK,EAAC,0BAA0B,CAAC,CAAC;AAErD;;GAEG;AACH,MAAa,gBAAgB;IAC3B,OAAO,CAAU;IACjB,OAAO,CAAS;IAChB,QAAQ,CAAkB;IACjB,cAAc,CAAS;IAEhC,MAAM,CAAQ;IAEd;;OAEG;IACH,YACE,KAAY,EACZ,OAAgB,EAChB,OAAe,EACf,QAAyB;QAEzB,IAAI,CAAC,MAAM,GAAG,KAAK,CAAC;QACpB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;QACzB,IAAI,CAAC,cAAc,GAAG,KAAK,CAAC,qBAAqB,CAAC;YAChD,OAAO;YACP,OAAO;YACP,QAAQ;SACT,CAAC,CAAC;IACL,CAAC;IAED;;;OAGG;IACH,IAAI,IAAI;QACN,OAAO,IAAI,CAAC,MAAM,CAAC,eAAe,CAChC,IAAI,CAAC,OAAO,EACZ,IAAI,CAAC,QAAQ,EACb,IAAI,CAAC,OAAO,CACb,CAAC;IACJ,CAAC;IAED,YAAY;QACV,OAAO,IAAI,CAAC,MAAM,CAAC,YAAY,CAAC,IAAI,CAAC,OAAO,CA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D,MAAM,CAAC,QAAQ,EAAE,OAAO,CAAC,GAAG,MAAM,CAAC;IACnC,IAAI,CAAC,OAAO,IAAI,CAAC,QAAQ,EAAE,CAAC;QAC1B,OAAO;IACT,CAAC;IACD,OAAO,EAAC,QAAQ,EAAE,OAAO,EAAC,CAAC;AAC7B,CAAC"} \ No newline at end of file diff --git a/node_modules/@puppeteer/browsers/lib/cjs/browser-data/browser-data.d.ts b/node_modules/@puppeteer/browsers/lib/cjs/browser-data/browser-data.d.ts deleted file mode 100644 index bd6b75d..0000000 --- a/node_modules/@puppeteer/browsers/lib/cjs/browser-data/browser-data.d.ts +++ /dev/null @@ -1,61 +0,0 @@ -/** - * @license - * Copyright 2023 Google Inc. - * SPDX-License-Identifier: Apache-2.0 - */ -import * as chromeHeadlessShell from './chrome-headless-shell.js'; -import * as chrome from './chrome.js'; -import * as chromedriver from './chromedriver.js'; -import * as chromium from './chromium.js'; -import * as firefox from './firefox.js'; -import { Browser, BrowserPlatform, ChromeReleaseChannel, type ProfileOptions } from './types.js'; -export type { ProfileOptions }; -export declare const downloadUrls: { - chromedriver: typeof chromedriver.resolveDownloadUrl; - "chrome-headless-shell": typeof chromeHeadlessShell.resolveDownloadUrl; - chrome: typeof chrome.resolveDownloadUrl; - chromium: typeof chromium.resolveDownloadUrl; - firefox: typeof firefox.resolveDownloadUrl; -}; -export declare const downloadPaths: { - chromedriver: typeof chromedriver.resolveDownloadPath; - "chrome-headless-shell": typeof chromeHeadlessShell.resolveDownloadPath; - chrome: typeof chrome.resolveDownloadPath; - chromium: typeof chromium.resolveDownloadPath; - firefox: typeof firefox.resolveDownloadPath; -}; -export declare const executablePathByBrowser: { - chromedriver: typeof chromedriver.relativeExecutablePath; - "chrome-headless-shell": typeof chromeHeadlessShell.relativeExecutablePath; - chrome: typeof chrome.relativeExecutablePath; - chromium: typeof chromium.relativeExecutablePath; - firefox: typeof firefox.relativeExecutablePath; -}; -export declare const versionComparators: { - chromedriver: typeof chromeHeadlessShell.compareVersions; - "chrome-headless-shell": typeof chromeHeadlessShell.compareVersions; - chrome: typeof chromeHeadlessShell.compareVersions; - chromium: typeof chromium.compareVersions; - firefox: typeof firefox.compareVersions; -}; -export { Browser, BrowserPlatform, ChromeReleaseChannel }; -/** - * @public - */ -export declare function resolveBuildId(browser: Browser, platform: BrowserPlatform, tag: string): Promise; -/** - * @public - */ -export declare function createProfile(browser: Browser, opts: ProfileOptions): Promise; -/** - * @public - */ -export declare function resolveSystemExecutablePath(browser: Browser, platform: BrowserPlatform, channel: ChromeReleaseChannel): string; -/** - * Returns a version comparator for the given browser that can be used to sort - * browser versions. - * - * @public - */ -export declare function getVersionComparator(browser: Browser): (a: string, b: string) => number; -//# sourceMappingURL=browser-data.d.ts.map \ No newline at end of file diff --git a/node_modules/@puppeteer/browsers/lib/cjs/browser-data/browser-data.d.ts.map b/node_modules/@puppeteer/browsers/lib/cjs/browser-data/browser-data.d.ts.map deleted file mode 100644 index e198507..0000000 --- a/node_modules/@puppeteer/browsers/lib/cjs/browser-data/browser-data.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"browser-data.d.ts","sourceRoot":"","sources":["../../../src/browser-data/browser-data.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,mBAAmB,MAAM,4BAA4B,CAAC;AAClE,OAAO,KAAK,MAAM,MAAM,aAAa,CAAC;AACtC,OAAO,KAAK,YAAY,MAAM,mBAAmB,CAAC;AAClD,OAAO,KAAK,QAAQ,MAAM,eAAe,CAAC;AAC1C,OAAO,KAAK,OAAO,MAAM,cAAc,CAAC;AACxC,OAAO,EACL,OAAO,EACP,eAAe,EAEf,oBAAoB,EACpB,KAAK,cAAc,EACpB,MAAM,YAAY,CAAC;AAEpB,YAAY,EAAC,cAAc,EAAC,CAAC;AAE7B,eAAO,MAAM,YAAY;;;;;;CAMxB,CAAC;AAEF,eAAO,MAAM,aAAa;;;;;;CAMzB,CAAC;AAEF,eAAO,MAAM,uBAAuB;;;;;;CAMnC,CAAC;AAEF,eAAO,MAAM,kBAAkB;;;;;;CAM9B,CAAC;AAEF,OAAO,EAAC,OAAO,EAAE,eAAe,EAAE,oBAAoB,EAAC,CAAC;AAExD;;GAEG;AACH,wBAAsB,cAAc,CAClC,OAAO,EAAE,OAAO,EAChB,QAAQ,EAAE,eAAe,EACzB,GAAG,EAAE,MAAM,GACV,OAAO,CAAC,MAAM,CAAC,CA+FjB;AAED;;GAEG;AACH,wBAAsB,aAAa,CACjC,OAAO,EAAE,OAAO,EAChB,IAAI,EAAE,cAAc,GACnB,OAAO,CAAC,IAAI,CAAC,CAQf;AAED;;GAEG;AACH,wBAAgB,2BAA2B,CACzC,OAAO,EAAE,OAAO,EAChB,QAAQ,EAAE,eAAe,EACzB,OAAO,EAAE,oBAAoB,GAC5B,MAAM,CAYR;AAED;;;;;GAKG;AACH,wBAAgB,oBAAoB,CAClC,OAAO,EAAE,OAAO,GACf,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,KAAK,MAAM,CAElC"} \ No newline at end of file diff --git a/node_modules/@puppeteer/browsers/lib/cjs/browser-data/browser-data.js b/node_modules/@puppeteer/browsers/lib/cjs/browser-data/browser-data.js deleted file mode 100644 index 28fe9f4..0000000 --- a/node_modules/@puppeteer/browsers/lib/cjs/browser-data/browser-data.js +++ /dev/null @@ -1,195 +0,0 @@ -"use strict"; -/** - * @license - * Copyright 2023 Google Inc. - * SPDX-License-Identifier: Apache-2.0 - */ -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { - Object.defineProperty(o, "default", { enumerable: true, value: v }); -}) : function(o, v) { - o["default"] = v; -}); -var __importStar = (this && this.__importStar) || function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); - __setModuleDefault(result, mod); - return result; -}; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.getVersionComparator = exports.resolveSystemExecutablePath = exports.createProfile = exports.resolveBuildId = exports.ChromeReleaseChannel = exports.BrowserPlatform = exports.Browser = exports.versionComparators = exports.executablePathByBrowser = exports.downloadPaths = exports.downloadUrls = void 0; -const chromeHeadlessShell = __importStar(require("./chrome-headless-shell.js")); -const chrome = __importStar(require("./chrome.js")); -const chromedriver = __importStar(require("./chromedriver.js")); -const chromium = __importStar(require("./chromium.js")); -const firefox = __importStar(require("./firefox.js")); -const types_js_1 = require("./types.js"); -Object.defineProperty(exports, "Browser", { enumerable: true, get: function () { return types_js_1.Browser; } }); -Object.defineProperty(exports, "BrowserPlatform", { enumerable: true, get: function () { return types_js_1.BrowserPlatform; } }); -Object.defineProperty(exports, "ChromeReleaseChannel", { enumerable: true, get: function () { return types_js_1.ChromeReleaseChannel; } }); -exports.downloadUrls = { - [types_js_1.Browser.CHROMEDRIVER]: chromedriver.resolveDownloadUrl, - [types_js_1.Browser.CHROMEHEADLESSSHELL]: chromeHeadlessShell.resolveDownloadUrl, - [types_js_1.Browser.CHROME]: chrome.resolveDownloadUrl, - [types_js_1.Browser.CHROMIUM]: chromium.resolveDownloadUrl, - [types_js_1.Browser.FIREFOX]: firefox.resolveDownloadUrl, -}; -exports.downloadPaths = { - [types_js_1.Browser.CHROMEDRIVER]: chromedriver.resolveDownloadPath, - [types_js_1.Browser.CHROMEHEADLESSSHELL]: chromeHeadlessShell.resolveDownloadPath, - [types_js_1.Browser.CHROME]: chrome.resolveDownloadPath, - [types_js_1.Browser.CHROMIUM]: chromium.resolveDownloadPath, - [types_js_1.Browser.FIREFOX]: firefox.resolveDownloadPath, -}; -exports.executablePathByBrowser = { - [types_js_1.Browser.CHROMEDRIVER]: chromedriver.relativeExecutablePath, - [types_js_1.Browser.CHROMEHEADLESSSHELL]: chromeHeadlessShell.relativeExecutablePath, - [types_js_1.Browser.CHROME]: chrome.relativeExecutablePath, - [types_js_1.Browser.CHROMIUM]: chromium.relativeExecutablePath, - [types_js_1.Browser.FIREFOX]: firefox.relativeExecutablePath, -}; -exports.versionComparators = { - [types_js_1.Browser.CHROMEDRIVER]: chromedriver.compareVersions, - [types_js_1.Browser.CHROMEHEADLESSSHELL]: chromeHeadlessShell.compareVersions, - [types_js_1.Browser.CHROME]: chrome.compareVersions, - [types_js_1.Browser.CHROMIUM]: chromium.compareVersions, - [types_js_1.Browser.FIREFOX]: firefox.compareVersions, -}; -/** - * @public - */ -async function resolveBuildId(browser, platform, tag) { - switch (browser) { - case types_js_1.Browser.FIREFOX: - switch (tag) { - case types_js_1.BrowserTag.LATEST: - return await firefox.resolveBuildId('FIREFOX_NIGHTLY'); - case types_js_1.BrowserTag.BETA: - case types_js_1.BrowserTag.CANARY: - case types_js_1.BrowserTag.DEV: - case types_js_1.BrowserTag.STABLE: - throw new Error(`${tag} is not supported for ${browser}. Use 'latest' instead.`); - } - case types_js_1.Browser.CHROME: { - switch (tag) { - case types_js_1.BrowserTag.LATEST: - return await chrome.resolveBuildId(types_js_1.ChromeReleaseChannel.CANARY); - case types_js_1.BrowserTag.BETA: - return await chrome.resolveBuildId(types_js_1.ChromeReleaseChannel.BETA); - case types_js_1.BrowserTag.CANARY: - return await chrome.resolveBuildId(types_js_1.ChromeReleaseChannel.CANARY); - case types_js_1.BrowserTag.DEV: - return await chrome.resolveBuildId(types_js_1.ChromeReleaseChannel.DEV); - case types_js_1.BrowserTag.STABLE: - return await chrome.resolveBuildId(types_js_1.ChromeReleaseChannel.STABLE); - default: - const result = await chrome.resolveBuildId(tag); - if (result) { - return result; - } - } - return tag; - } - case types_js_1.Browser.CHROMEDRIVER: { - switch (tag) { - case types_js_1.BrowserTag.LATEST: - case types_js_1.BrowserTag.CANARY: - return await chromedriver.resolveBuildId(types_js_1.ChromeReleaseChannel.CANARY); - case types_js_1.BrowserTag.BETA: - return await chromedriver.resolveBuildId(types_js_1.ChromeReleaseChannel.BETA); - case types_js_1.BrowserTag.DEV: - return await chromedriver.resolveBuildId(types_js_1.ChromeReleaseChannel.DEV); - case types_js_1.BrowserTag.STABLE: - return await chromedriver.resolveBuildId(types_js_1.ChromeReleaseChannel.STABLE); - default: - const result = await chromedriver.resolveBuildId(tag); - if (result) { - return result; - } - } - return tag; - } - case types_js_1.Browser.CHROMEHEADLESSSHELL: { - switch (tag) { - case types_js_1.BrowserTag.LATEST: - case types_js_1.BrowserTag.CANARY: - return await chromeHeadlessShell.resolveBuildId(types_js_1.ChromeReleaseChannel.CANARY); - case types_js_1.BrowserTag.BETA: - return await chromeHeadlessShell.resolveBuildId(types_js_1.ChromeReleaseChannel.BETA); - case types_js_1.BrowserTag.DEV: - return await chromeHeadlessShell.resolveBuildId(types_js_1.ChromeReleaseChannel.DEV); - case types_js_1.BrowserTag.STABLE: - return await chromeHeadlessShell.resolveBuildId(types_js_1.ChromeReleaseChannel.STABLE); - default: - const result = await chromeHeadlessShell.resolveBuildId(tag); - if (result) { - return result; - } - } - return tag; - } - case types_js_1.Browser.CHROMIUM: - switch (tag) { - case types_js_1.BrowserTag.LATEST: - return await chromium.resolveBuildId(platform); - case types_js_1.BrowserTag.BETA: - case types_js_1.BrowserTag.CANARY: - case types_js_1.BrowserTag.DEV: - case types_js_1.BrowserTag.STABLE: - throw new Error(`${tag} is not supported for ${browser}. Use 'latest' instead.`); - } - } - // We assume the tag is the buildId if it didn't match any keywords. - return tag; -} -exports.resolveBuildId = resolveBuildId; -/** - * @public - */ -async function createProfile(browser, opts) { - switch (browser) { - case types_js_1.Browser.FIREFOX: - return await firefox.createProfile(opts); - case types_js_1.Browser.CHROME: - case types_js_1.Browser.CHROMIUM: - throw new Error(`Profile creation is not support for ${browser} yet`); - } -} -exports.createProfile = createProfile; -/** - * @public - */ -function resolveSystemExecutablePath(browser, platform, channel) { - switch (browser) { - case types_js_1.Browser.CHROMEDRIVER: - case types_js_1.Browser.CHROMEHEADLESSSHELL: - case types_js_1.Browser.FIREFOX: - case types_js_1.Browser.CHROMIUM: - throw new Error(`System browser detection is not supported for ${browser} yet.`); - case types_js_1.Browser.CHROME: - return chrome.resolveSystemExecutablePath(platform, channel); - } -} -exports.resolveSystemExecutablePath = resolveSystemExecutablePath; -/** - * Returns a version comparator for the given browser that can be used to sort - * browser versions. - * - * @public - */ -function getVersionComparator(browser) { - return exports.versionComparators[browser]; -} -exports.getVersionComparator = getVersionComparator; -//# sourceMappingURL=browser-data.js.map \ No newline at end of file diff --git a/node_modules/@puppeteer/browsers/lib/cjs/browser-data/browser-data.js.map b/node_modules/@puppeteer/browsers/lib/cjs/browser-data/browser-data.js.map deleted file mode 100644 index 966b681..0000000 --- a/node_modules/@puppeteer/browsers/lib/cjs/browser-data/browser-data.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"browser-data.js","sourceRoot":"","sources":["../../../src/browser-data/browser-data.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,gFAAkE;AAClE,oDAAsC;AACtC,gEAAkD;AAClD,wDAA0C;AAC1C,sDAAwC;AACxC,yCAMoB;AAoCZ,wFAzCN,kBAAO,OAyCM;AAAE,gGAxCf,0BAAe,OAwCe;AAAE,qGAtChC,+BAAoB,OAsCgC;AAhCzC,QAAA,YAAY,GAAG;IAC1B,CAAC,kBAAO,CAAC,YAAY,CAAC,EAAE,YAAY,CAAC,kBAAkB;IACvD,CAAC,kBAAO,CAAC,mBAAmB,CAAC,EAAE,mBAAmB,CAAC,kBAAkB;IACrE,CAAC,kBAAO,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC,kBAAkB;IAC3C,CAAC,kBAAO,CAAC,QAAQ,CAAC,E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7B,QAAQ,OAAO,EAAE,CAAC;QAChB,KAAK,kBAAO,CAAC,YAAY,CAAC;QAC1B,KAAK,kBAAO,CAAC,mBAAmB,CAAC;QACjC,KAAK,kBAAO,CAAC,OAAO,CAAC;QACrB,KAAK,kBAAO,CAAC,QAAQ;YACnB,MAAM,IAAI,KAAK,CACb,iDAAiD,OAAO,OAAO,CAChE,CAAC;QACJ,KAAK,kBAAO,CAAC,MAAM;YACjB,OAAO,MAAM,CAAC,2BAA2B,CAAC,QAAQ,EAAE,OAAO,CAAC,CAAC;IACjE,CAAC;AACH,CAAC;AAhBD,kEAgBC;AAED;;;;;GAKG;AACH,SAAgB,oBAAoB,CAClC,OAAgB;IAEhB,OAAO,0BAAkB,CAAC,OAAO,CAAC,CAAC;AACrC,CAAC;AAJD,oDAIC"} \ No newline at end of file diff --git a/node_modules/@puppeteer/browsers/lib/cjs/browser-data/chrome-headless-shell.d.ts b/node_modules/@puppeteer/browsers/lib/cjs/browser-data/chrome-headless-shell.d.ts deleted file mode 100644 index d21d11b..0000000 --- a/node_modules/@puppeteer/browsers/lib/cjs/browser-data/chrome-headless-shell.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { BrowserPlatform } from './types.js'; -export declare function resolveDownloadUrl(platform: BrowserPlatform, buildId: string, baseUrl?: string): string; -export declare function resolveDownloadPath(platform: BrowserPlatform, buildId: string): string[]; -export declare function relativeExecutablePath(platform: BrowserPlatform, _buildId: string): string; -export { resolveBuildId, compareVersions } from './chrome.js'; -//# sourceMappingURL=chrome-headless-shell.d.ts.map \ No newline at end of file diff --git a/node_modules/@puppeteer/browsers/lib/cjs/browser-data/chrome-headless-shell.d.ts.map b/node_modules/@puppeteer/browsers/lib/cjs/browser-data/chrome-headless-shell.d.ts.map deleted file mode 100644 index 111c511..0000000 --- a/node_modules/@puppeteer/browsers/lib/cjs/browser-data/chrome-headless-shell.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"chrome-headless-shell.d.ts","sourceRoot":"","sources":["../../../src/browser-data/chrome-headless-shell.ts"],"names":[],"mappings":"AAOA,OAAO,EAAC,eAAe,EAAC,MAAM,YAAY,CAAC;AAiB3C,wBAAgB,kBAAkB,CAChC,QAAQ,EAAE,eAAe,EACzB,OAAO,EAAE,MAAM,EACf,OAAO,SAA6D,GACnE,MAAM,CAER;AAED,wBAAgB,mBAAmB,CACjC,QAAQ,EAAE,eAAe,EACzB,OAAO,EAAE,MAAM,GACd,MAAM,EAAE,CAMV;AAED,wBAAgB,sBAAsB,CACpC,QAAQ,EAAE,eAAe,EACzB,QAAQ,EAAE,MAAM,GACf,MAAM,CAoBR;AAED,OAAO,EAAC,cAAc,EAAE,eAAe,EAAC,MAAM,aAAa,CAAC"} \ No newline at end of file diff --git a/node_modules/@puppeteer/browsers/lib/cjs/browser-data/chrome-headless-shell.js b/node_modules/@puppeteer/browsers/lib/cjs/browser-data/chrome-headless-shell.js deleted file mode 100644 index 2add843..0000000 --- a/node_modules/@puppeteer/browsers/lib/cjs/browser-data/chrome-headless-shell.js +++ /dev/null @@ -1,56 +0,0 @@ -"use strict"; -var __importDefault = (this && this.__importDefault) || function (mod) { - return (mod && mod.__esModule) ? mod : { "default": mod }; -}; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.compareVersions = exports.resolveBuildId = exports.relativeExecutablePath = exports.resolveDownloadPath = exports.resolveDownloadUrl = void 0; -/** - * @license - * Copyright 2023 Google Inc. - * SPDX-License-Identifier: Apache-2.0 - */ -const path_1 = __importDefault(require("path")); -const types_js_1 = require("./types.js"); -function folder(platform) { - switch (platform) { - case types_js_1.BrowserPlatform.LINUX: - return 'linux64'; - case types_js_1.BrowserPlatform.MAC_ARM: - return 'mac-arm64'; - case types_js_1.BrowserPlatform.MAC: - return 'mac-x64'; - case types_js_1.BrowserPlatform.WIN32: - return 'win32'; - case types_js_1.BrowserPlatform.WIN64: - return 'win64'; - } -} -function resolveDownloadUrl(platform, buildId, baseUrl = 'https://storage.googleapis.com/chrome-for-testing-public') { - return `${baseUrl}/${resolveDownloadPath(platform, buildId).join('/')}`; -} -exports.resolveDownloadUrl = resolveDownloadUrl; -function resolveDownloadPath(platform, buildId) { - return [ - buildId, - folder(platform), - `chrome-headless-shell-${folder(platform)}.zip`, - ]; -} -exports.resolveDownloadPath = resolveDownloadPath; -function relativeExecutablePath(platform, _buildId) { - switch (platform) { - case types_js_1.BrowserPlatform.MAC: - case types_js_1.BrowserPlatform.MAC_ARM: - return path_1.default.join('chrome-headless-shell-' + folder(platform), 'chrome-headless-shell'); - case types_js_1.BrowserPlatform.LINUX: - return path_1.default.join('chrome-headless-shell-linux64', 'chrome-headless-shell'); - case types_js_1.BrowserPlatform.WIN32: - case types_js_1.BrowserPlatform.WIN64: - return path_1.default.join('chrome-headless-shell-' + folder(platform), 'chrome-headless-shell.exe'); - } -} -exports.relativeExecutablePath = relativeExecutablePath; -var chrome_js_1 = require("./chrome.js"); -Object.defineProperty(exports, "resolveBuildId", { enumerable: true, get: function () { return chrome_js_1.resolveBuildId; } }); -Object.defineProperty(exports, "compareVersions", { enumerable: true, get: function () { return chrome_js_1.compareVersions; } }); -//# sourceMappingURL=chrome-headless-shell.js.map \ No newline at end of file diff --git a/node_modules/@puppeteer/browsers/lib/cjs/browser-data/chrome-headless-shell.js.map b/node_modules/@puppeteer/browsers/lib/cjs/browser-data/chrome-headless-shell.js.map deleted file mode 100644 index b238582..0000000 --- a/node_modules/@puppeteer/browsers/lib/cjs/browser-data/chrome-headless-shell.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"chrome-headless-shell.js","sourceRoot":"","sources":["../../../src/browser-data/chrome-headless-shell.ts"],"names":[],"mappings":";;;;;;AAAA;;;;GAIG;AACH,gDAAwB;AAExB,yCAA2C;AAE3C,SAAS,MAAM,CAAC,QAAyB;IACvC,QAAQ,QAAQ,EAAE,CAAC;QACjB,KAAK,0BAAe,CAAC,KAAK;YACxB,OAAO,SAAS,CAAC;QACnB,KAAK,0BAAe,CAAC,OAAO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"} \ No newline at end of file diff --git a/node_modules/@puppeteer/browsers/lib/cjs/browser-data/chrome.d.ts b/node_modules/@puppeteer/browsers/lib/cjs/browser-data/chrome.d.ts deleted file mode 100644 index da0c1e7..0000000 --- a/node_modules/@puppeteer/browsers/lib/cjs/browser-data/chrome.d.ts +++ /dev/null @@ -1,30 +0,0 @@ -/** - * @license - * Copyright 2023 Google Inc. - * SPDX-License-Identifier: Apache-2.0 - */ -import { BrowserPlatform, ChromeReleaseChannel } from './types.js'; -export declare function resolveDownloadUrl(platform: BrowserPlatform, buildId: string, baseUrl?: string): string; -export declare function resolveDownloadPath(platform: BrowserPlatform, buildId: string): string[]; -export declare function relativeExecutablePath(platform: BrowserPlatform, _buildId: string): string; -export declare function getLastKnownGoodReleaseForChannel(channel: ChromeReleaseChannel): Promise<{ - version: string; - revision: string; -}>; -export declare function getLastKnownGoodReleaseForMilestone(milestone: string): Promise<{ - version: string; - revision: string; -} | undefined>; -export declare function getLastKnownGoodReleaseForBuild( -/** - * @example `112.0.23`, - */ -buildPrefix: string): Promise<{ - version: string; - revision: string; -} | undefined>; -export declare function resolveBuildId(channel: ChromeReleaseChannel): Promise; -export declare function resolveBuildId(channel: string): Promise; -export declare function resolveSystemExecutablePath(platform: BrowserPlatform, channel: ChromeReleaseChannel): string; -export declare function compareVersions(a: string, b: string): number; -//# sourceMappingURL=chrome.d.ts.map \ No newline at end of file diff --git a/node_modules/@puppeteer/browsers/lib/cjs/browser-data/chrome.d.ts.map b/node_modules/@puppeteer/browsers/lib/cjs/browser-data/chrome.d.ts.map deleted file mode 100644 index 018fee9..0000000 --- a/node_modules/@puppeteer/browsers/lib/cjs/browser-data/chrome.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"chrome.d.ts","sourceRoot":"","sources":["../../../src/browser-data/chrome.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAQH,OAAO,EAAC,eAAe,EAAE,oBAAoB,EAAC,MAAM,YAAY,CAAC;AAiBjE,wBAAgB,kBAAkB,CAChC,QAAQ,EAAE,eAAe,EACzB,OAAO,EAAE,MAAM,EACf,OAAO,SAA6D,GACnE,MAAM,CAER;AAED,wBAAgB,mBAAmB,CACjC,QAAQ,EAAE,eAAe,EACzB,OAAO,EAAE,MAAM,GACd,MAAM,EAAE,CAEV;AAED,wBAAgB,sBAAsB,CACpC,QAAQ,EAAE,eAAe,EACzB,QAAQ,EAAE,MAAM,GACf,MAAM,CAiBR;AAED,wBAAsB,iCAAiC,CACrD,OAAO,EAAE,oBAAoB,GAC5B,OAAO,CAAC;IAAC,OAAO,EAAE,MAAM,CAAC;IAAC,QAAQ,EAAE,MAAM,CAAA;CAAC,CAAC,CAqB9C;AAED,wBAAsB,mCAAmC,CACvD,SAAS,EAAE,MAAM,GAChB,OAAO,CAAC;IAAC,OAAO,EAAE,MAAM,CAAC;IAAC,QAAQ,EAAE,MAAM,CAAA;CAAC,GAAG,SAAS,CAAC,CAW1D;AAED,wBAAsB,+BAA+B;AACnD;;GAEG;AACH,WAAW,EAAE,MAAM,GAClB,OAAO,CAAC;IAAC,OAAO,EAAE,MAAM,CAAC;IAAC,QAAQ,EAAE,MAAM,CAAA;CAAC,GAAG,SAAS,CAAC,CAW1D;AAED,wBAAsB,cAAc,CAClC,OAAO,EAAE,oBAAoB,GAC5B,OAAO,CAAC,MAAM,CAAC,CAAC;AACnB,wBAAsB,cAAc,CAClC,OAAO,EAAE,MAAM,GACd,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;AAwB/B,wBAAgB,2BAA2B,CACzC,QAAQ,EAAE,eAAe,EACzB,OAAO,EAAE,oBAAoB,GAC5B,MAAM,CAwCR;AAED,wBAAgB,eAAe,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,CAc5D"} \ No newline at end of file diff --git a/node_modules/@puppeteer/browsers/lib/cjs/browser-data/chrome.js b/node_modules/@puppeteer/browsers/lib/cjs/browser-data/chrome.js deleted file mode 100644 index 30b67dd..0000000 --- a/node_modules/@puppeteer/browsers/lib/cjs/browser-data/chrome.js +++ /dev/null @@ -1,146 +0,0 @@ -"use strict"; -/** - * @license - * Copyright 2023 Google Inc. - * SPDX-License-Identifier: Apache-2.0 - */ -var __importDefault = (this && this.__importDefault) || function (mod) { - return (mod && mod.__esModule) ? mod : { "default": mod }; -}; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.compareVersions = exports.resolveSystemExecutablePath = exports.resolveBuildId = exports.getLastKnownGoodReleaseForBuild = exports.getLastKnownGoodReleaseForMilestone = exports.getLastKnownGoodReleaseForChannel = exports.relativeExecutablePath = exports.resolveDownloadPath = exports.resolveDownloadUrl = void 0; -const path_1 = __importDefault(require("path")); -const semver_1 = __importDefault(require("semver")); -const httpUtil_js_1 = require("../httpUtil.js"); -const types_js_1 = require("./types.js"); -function folder(platform) { - switch (platform) { - case types_js_1.BrowserPlatform.LINUX: - return 'linux64'; - case types_js_1.BrowserPlatform.MAC_ARM: - return 'mac-arm64'; - case types_js_1.BrowserPlatform.MAC: - return 'mac-x64'; - case types_js_1.BrowserPlatform.WIN32: - return 'win32'; - case types_js_1.BrowserPlatform.WIN64: - return 'win64'; - } -} -function resolveDownloadUrl(platform, buildId, baseUrl = 'https://storage.googleapis.com/chrome-for-testing-public') { - return `${baseUrl}/${resolveDownloadPath(platform, buildId).join('/')}`; -} -exports.resolveDownloadUrl = resolveDownloadUrl; -function resolveDownloadPath(platform, buildId) { - return [buildId, folder(platform), `chrome-${folder(platform)}.zip`]; -} -exports.resolveDownloadPath = resolveDownloadPath; -function relativeExecutablePath(platform, _buildId) { - switch (platform) { - case types_js_1.BrowserPlatform.MAC: - case types_js_1.BrowserPlatform.MAC_ARM: - return path_1.default.join('chrome-' + folder(platform), 'Google Chrome for Testing.app', 'Contents', 'MacOS', 'Google Chrome for Testing'); - case types_js_1.BrowserPlatform.LINUX: - return path_1.default.join('chrome-linux64', 'chrome'); - case types_js_1.BrowserPlatform.WIN32: - case types_js_1.BrowserPlatform.WIN64: - return path_1.default.join('chrome-' + folder(platform), 'chrome.exe'); - } -} -exports.relativeExecutablePath = relativeExecutablePath; -async function getLastKnownGoodReleaseForChannel(channel) { - const data = (await (0, httpUtil_js_1.getJSON)(new URL('https://googlechromelabs.github.io/chrome-for-testing/last-known-good-versions.json'))); - for (const channel of Object.keys(data.channels)) { - data.channels[channel.toLowerCase()] = data.channels[channel]; - delete data.channels[channel]; - } - return data.channels[channel]; -} -exports.getLastKnownGoodReleaseForChannel = getLastKnownGoodReleaseForChannel; -async function getLastKnownGoodReleaseForMilestone(milestone) { - const data = (await (0, httpUtil_js_1.getJSON)(new URL('https://googlechromelabs.github.io/chrome-for-testing/latest-versions-per-milestone.json'))); - return data.milestones[milestone]; -} -exports.getLastKnownGoodReleaseForMilestone = getLastKnownGoodReleaseForMilestone; -async function getLastKnownGoodReleaseForBuild( -/** - * @example `112.0.23`, - */ -buildPrefix) { - const data = (await (0, httpUtil_js_1.getJSON)(new URL('https://googlechromelabs.github.io/chrome-for-testing/latest-patch-versions-per-build.json'))); - return data.builds[buildPrefix]; -} -exports.getLastKnownGoodReleaseForBuild = getLastKnownGoodReleaseForBuild; -async function resolveBuildId(channel) { - if (Object.values(types_js_1.ChromeReleaseChannel).includes(channel)) { - return (await getLastKnownGoodReleaseForChannel(channel)).version; - } - if (channel.match(/^\d+$/)) { - // Potentially a milestone. - return (await getLastKnownGoodReleaseForMilestone(channel))?.version; - } - if (channel.match(/^\d+\.\d+\.\d+$/)) { - // Potentially a build prefix without the patch version. - return (await getLastKnownGoodReleaseForBuild(channel))?.version; - } - return; -} -exports.resolveBuildId = resolveBuildId; -function resolveSystemExecutablePath(platform, channel) { - switch (platform) { - case types_js_1.BrowserPlatform.WIN64: - case types_js_1.BrowserPlatform.WIN32: - switch (channel) { - case types_js_1.ChromeReleaseChannel.STABLE: - return `${process.env['PROGRAMFILES']}\\Google\\Chrome\\Application\\chrome.exe`; - case types_js_1.ChromeReleaseChannel.BETA: - return `${process.env['PROGRAMFILES']}\\Google\\Chrome Beta\\Application\\chrome.exe`; - case types_js_1.ChromeReleaseChannel.CANARY: - return `${process.env['PROGRAMFILES']}\\Google\\Chrome SxS\\Application\\chrome.exe`; - case types_js_1.ChromeReleaseChannel.DEV: - return `${process.env['PROGRAMFILES']}\\Google\\Chrome Dev\\Application\\chrome.exe`; - } - case types_js_1.BrowserPlatform.MAC_ARM: - case types_js_1.BrowserPlatform.MAC: - switch (channel) { - case types_js_1.ChromeReleaseChannel.STABLE: - return '/Applications/Google Chrome.app/Contents/MacOS/Google Chrome'; - case types_js_1.ChromeReleaseChannel.BETA: - return '/Applications/Google Chrome Beta.app/Contents/MacOS/Google Chrome Beta'; - case types_js_1.ChromeReleaseChannel.CANARY: - return '/Applications/Google Chrome Canary.app/Contents/MacOS/Google Chrome Canary'; - case types_js_1.ChromeReleaseChannel.DEV: - return '/Applications/Google Chrome Dev.app/Contents/MacOS/Google Chrome Dev'; - } - case types_js_1.BrowserPlatform.LINUX: - switch (channel) { - case types_js_1.ChromeReleaseChannel.STABLE: - return '/opt/google/chrome/chrome'; - case types_js_1.ChromeReleaseChannel.BETA: - return '/opt/google/chrome-beta/chrome'; - case types_js_1.ChromeReleaseChannel.DEV: - return '/opt/google/chrome-unstable/chrome'; - } - } - throw new Error(`Unable to detect browser executable path for '${channel}' on ${platform}.`); -} -exports.resolveSystemExecutablePath = resolveSystemExecutablePath; -function compareVersions(a, b) { - if (!semver_1.default.valid(a)) { - throw new Error(`Version ${a} is not a valid semver version`); - } - if (!semver_1.default.valid(b)) { - throw new Error(`Version ${b} is not a valid semver version`); - } - if (semver_1.default.gt(a, b)) { - return 1; - } - else if (semver_1.default.lt(a, b)) { - return -1; - } - else { - return 0; - } -} -exports.compareVersions = compareVersions; -//# sourceMappingURL=chrome.js.map \ No newline at end of file diff --git a/node_modules/@puppeteer/browsers/lib/cjs/browser-data/chrome.js.map b/node_modules/@puppeteer/browsers/lib/cjs/browser-data/chrome.js.map deleted file mode 100644 index f3b9156..0000000 --- a/node_modules/@puppeteer/browsers/lib/cjs/browser-data/chrome.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"chrome.js","sourceRoot":"","sources":["../../../src/browser-data/chrome.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;;;;AAEH,gDAAwB;AAExB,oDAA4B;AAE5B,gDAAuC;AAEvC,yCAAiE;AAEjE,SAAS,MAAM,CAAC,QAAyB;IACvC,QAAQ,QAAQ,EAAE,CAAC;QACjB,KAAK,0BAAe,CAAC,KAAK;YACxB,OAAO,SAAS,CAAC;QACnB,KAAK,0BAAe,CAAC,OAAO;YAC1B,OAAO,WAAW,CAAC;QACrB,KAAK,0BAAe,CAAC,GAAG;YACtB,OAAO,SAAS,CAAC;QACnB,KAAK,0BAAe,CAAC,KAAK;YACxB,OAAO,OAAO,CAAC;QACjB,KAAK,0BAAe,CAAC,KAAK;YACxB,OAAO,OAAO,CAAC;IACnB,CAAC;AACH,CAAC;AAED,SAAgB,kBAAkB,CAChC,QAAyB,EACzB,OAAe,EACf,OAAO,GAAG,0DAA0D;IAEpE,OAAO,GAAG,OAAO,IAAI,mBAAmB,CAAC,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC;AAC1E,CAAC;AAND,gDAMC;AAED,SAAgB,mBAAmB,CACjC,QAAyB,EACzB,OAAe;IAEf,OAAO,CAAC,OAAO,EAAE,MAAM,CAAC,QAAQ,CAAC,EAAE,UAAU,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC;AACvE,CAAC;AALD,kDAKC;AAED,SAAgB,sBAAsB,CACpC,QAAyB,EACzB,QAAgB;IAEhB,QAAQ,QAAQ,EAAE,CAAC;QACjB,KAAK,0BAAe,CAAC,GAAG,CAAC;QACzB,KAAK,0BAAe,CAAC,OAAO;YAC1B,OAAO,cAAI,CAAC,IAAI,CACd,SAAS,GAAG,MAAM,CAAC,QAAQ,CAAC,EAC5B,+BAA+B,EA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CAAC,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC,EAAE,CAAC;QAC3B,OAAO,CAAC,CAAC,CAAC;IACZ,CAAC;SAAM,CAAC;QACN,OAAO,CAAC,CAAC;IACX,CAAC;AACH,CAAC;AAdD,0CAcC"} \ No newline at end of file diff --git a/node_modules/@puppeteer/browsers/lib/cjs/browser-data/chromedriver.d.ts b/node_modules/@puppeteer/browsers/lib/cjs/browser-data/chromedriver.d.ts deleted file mode 100644 index 5a26c3f..0000000 --- a/node_modules/@puppeteer/browsers/lib/cjs/browser-data/chromedriver.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { BrowserPlatform } from './types.js'; -export declare function resolveDownloadUrl(platform: BrowserPlatform, buildId: string, baseUrl?: string): string; -export declare function resolveDownloadPath(platform: BrowserPlatform, buildId: string): string[]; -export declare function relativeExecutablePath(platform: BrowserPlatform, _buildId: string): string; -export { resolveBuildId, compareVersions } from './chrome.js'; -//# sourceMappingURL=chromedriver.d.ts.map \ No newline at end of file diff --git a/node_modules/@puppeteer/browsers/lib/cjs/browser-data/chromedriver.d.ts.map b/node_modules/@puppeteer/browsers/lib/cjs/browser-data/chromedriver.d.ts.map deleted file mode 100644 index 6f59ef1..0000000 --- a/node_modules/@puppeteer/browsers/lib/cjs/browser-data/chromedriver.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"chromedriver.d.ts","sourceRoot":"","sources":["../../../src/browser-data/chromedriver.ts"],"names":[],"mappings":"AAOA,OAAO,EAAC,eAAe,EAAC,MAAM,YAAY,CAAC;AAiB3C,wBAAgB,kBAAkB,CAChC,QAAQ,EAAE,eAAe,EACzB,OAAO,EAAE,MAAM,EACf,OAAO,SAA6D,GACnE,MAAM,CAER;AAED,wBAAgB,mBAAmB,CACjC,QAAQ,EAAE,eAAe,EACzB,OAAO,EAAE,MAAM,GACd,MAAM,EAAE,CAEV;AAED,wBAAgB,sBAAsB,CACpC,QAAQ,EAAE,eAAe,EACzB,QAAQ,EAAE,MAAM,GACf,MAAM,CAWR;AAED,OAAO,EAAC,cAAc,EAAE,eAAe,EAAC,MAAM,aAAa,CAAC"} \ No newline at end of file diff --git a/node_modules/@puppeteer/browsers/lib/cjs/browser-data/chromedriver.js b/node_modules/@puppeteer/browsers/lib/cjs/browser-data/chromedriver.js deleted file mode 100644 index aa6fe18..0000000 --- a/node_modules/@puppeteer/browsers/lib/cjs/browser-data/chromedriver.js +++ /dev/null @@ -1,52 +0,0 @@ -"use strict"; -var __importDefault = (this && this.__importDefault) || function (mod) { - return (mod && mod.__esModule) ? mod : { "default": mod }; -}; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.compareVersions = exports.resolveBuildId = exports.relativeExecutablePath = exports.resolveDownloadPath = exports.resolveDownloadUrl = void 0; -/** - * @license - * Copyright 2023 Google Inc. - * SPDX-License-Identifier: Apache-2.0 - */ -const path_1 = __importDefault(require("path")); -const types_js_1 = require("./types.js"); -function folder(platform) { - switch (platform) { - case types_js_1.BrowserPlatform.LINUX: - return 'linux64'; - case types_js_1.BrowserPlatform.MAC_ARM: - return 'mac-arm64'; - case types_js_1.BrowserPlatform.MAC: - return 'mac-x64'; - case types_js_1.BrowserPlatform.WIN32: - return 'win32'; - case types_js_1.BrowserPlatform.WIN64: - return 'win64'; - } -} -function resolveDownloadUrl(platform, buildId, baseUrl = 'https://storage.googleapis.com/chrome-for-testing-public') { - return `${baseUrl}/${resolveDownloadPath(platform, buildId).join('/')}`; -} -exports.resolveDownloadUrl = resolveDownloadUrl; -function resolveDownloadPath(platform, buildId) { - return [buildId, folder(platform), `chromedriver-${folder(platform)}.zip`]; -} -exports.resolveDownloadPath = resolveDownloadPath; -function relativeExecutablePath(platform, _buildId) { - switch (platform) { - case types_js_1.BrowserPlatform.MAC: - case types_js_1.BrowserPlatform.MAC_ARM: - return path_1.default.join('chromedriver-' + folder(platform), 'chromedriver'); - case types_js_1.BrowserPlatform.LINUX: - return path_1.default.join('chromedriver-linux64', 'chromedriver'); - case types_js_1.BrowserPlatform.WIN32: - case types_js_1.BrowserPlatform.WIN64: - return path_1.default.join('chromedriver-' + folder(platform), 'chromedriver.exe'); - } -} -exports.relativeExecutablePath = relativeExecutablePath; -var chrome_js_1 = require("./chrome.js"); -Object.defineProperty(exports, "resolveBuildId", { enumerable: true, get: function () { return chrome_js_1.resolveBuildId; } }); -Object.defineProperty(exports, "compareVersions", { enumerable: true, get: function () { return chrome_js_1.compareVersions; } }); -//# sourceMappingURL=chromedriver.js.map \ No newline at end of file diff --git a/node_modules/@puppeteer/browsers/lib/cjs/browser-data/chromedriver.js.map b/node_modules/@puppeteer/browsers/lib/cjs/browser-data/chromedriver.js.map deleted file mode 100644 index 9a70f5c..0000000 --- a/node_modules/@puppeteer/browsers/lib/cjs/browser-data/chromedriver.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"chromedriver.js","sourceRoot":"","sources":["../../../src/browser-data/chromedriver.ts"],"names":[],"mappings":";;;;;;AAAA;;;;GAIG;AACH,gDAAwB;AAExB,yCAA2C;AAE3C,SAAS,MAAM,CAAC,QAAyB;IACvC,QAAQ,QAAQ,EAAE,CAAC;QACjB,KAAK,0BAAe,CAAC,KAAK;YACxB,OAAO,SAAS,CAAC;QACnB,KAAK,0BAAe,CAAC,OAAO;YAC1B,OAAO,WAAW,CAAC;QACrB,KAAK,0BAAe,CAAC,GAAG;YACtB,OAAO,SAAS,CAAC;QACnB,KAAK,0BAAe,CAAC,KAAK;YACxB,OAAO,OAAO,CAAC;QACjB,KAAK,0BAAe,CAAC,KAAK;YACxB,OAAO,OAAO,CAAC;IACnB,CAAC;AACH,CAAC;AAED,SAAgB,kBAAkB,CAChC,QAAyB,EACzB,OAAe,EACf,OAAO,GAAG,0DAA0D;IAEpE,OAAO,GAAG,OAAO,IAAI,mBAAmB,CAAC,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC;AAC1E,CAAC;AAND,gDAMC;AAED,SAAgB,mBAAmB,CACjC,QAAyB,EACzB,OAAe;IAEf,OAAO,CAAC,OAAO,EAAE,MAAM,CAAC,QAAQ,CAAC,EAAE,gBAAgB,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC;AAC7E,CAAC;AALD,kDAKC;AAED,SAAgB,sBAAsB,CACpC,QAAyB,EACzB,QAAgB;IAEhB,QAAQ,QAAQ,EAAE,CAAC;QACjB,KAAK,0BAAe,CAAC,GAAG,CAAC;QACzB,KAAK,0BAAe,CAAC,OAAO;YAC1B,OAAO,cAAI,CAAC,IAAI,CAAC,eAAe,GAAG,MAAM,CAAC,QAAQ,CAAC,EAAE,cAAc,CAAC,CAAC;QACvE,KAAK,0BAAe,CAAC,KAAK;YACxB,OAAO,cAAI,CAAC,IAAI,CAAC,sBAAsB,EAAE,cAAc,CAAC,CAAC;QAC3D,KAAK,0BAAe,CAAC,KAAK,CAAC;QAC3B,KAAK,0BAAe,CAAC,KAAK;YACxB,OAAO,cAAI,CAAC,IAAI,CAAC,eAAe,GAAG,MAAM,CAAC,QAAQ,CAAC,EAAE,kBAAkB,CAAC,CAAC;IAC7E,CAAC;AACH,CAAC;AAdD,wDAcC;AAED,yCAA4D;AAApD,2GAAA,cAAc,OAAA;AAAE,4GAAA,eAAe,OAAA"} \ No newline at end of file diff --git a/node_modules/@puppeteer/browsers/lib/cjs/browser-data/chromium.d.ts b/node_modules/@puppeteer/browsers/lib/cjs/browser-data/chromium.d.ts deleted file mode 100644 index 6bcb936..0000000 --- a/node_modules/@puppeteer/browsers/lib/cjs/browser-data/chromium.d.ts +++ /dev/null @@ -1,12 +0,0 @@ -/** - * @license - * Copyright 2023 Google Inc. - * SPDX-License-Identifier: Apache-2.0 - */ -import { BrowserPlatform } from './types.js'; -export declare function resolveDownloadUrl(platform: BrowserPlatform, buildId: string, baseUrl?: string): string; -export declare function resolveDownloadPath(platform: BrowserPlatform, buildId: string): string[]; -export declare function relativeExecutablePath(platform: BrowserPlatform, _buildId: string): string; -export declare function resolveBuildId(platform: BrowserPlatform): Promise; -export declare function compareVersions(a: string, b: string): number; -//# sourceMappingURL=chromium.d.ts.map \ No newline at end of file diff --git a/node_modules/@puppeteer/browsers/lib/cjs/browser-data/chromium.d.ts.map b/node_modules/@puppeteer/browsers/lib/cjs/browser-data/chromium.d.ts.map deleted file mode 100644 index 72e3a10..0000000 --- a/node_modules/@puppeteer/browsers/lib/cjs/browser-data/chromium.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"chromium.d.ts","sourceRoot":"","sources":["../../../src/browser-data/chromium.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAMH,OAAO,EAAC,eAAe,EAAC,MAAM,YAAY,CAAC;AA+B3C,wBAAgB,kBAAkB,CAChC,QAAQ,EAAE,eAAe,EACzB,OAAO,EAAE,MAAM,EACf,OAAO,SAA8D,GACpE,MAAM,CAER;AAED,wBAAgB,mBAAmB,CACjC,QAAQ,EAAE,eAAe,EACzB,OAAO,EAAE,MAAM,GACd,MAAM,EAAE,CAEV;AAED,wBAAgB,sBAAsB,CACpC,QAAQ,EAAE,eAAe,EACzB,QAAQ,EAAE,MAAM,GACf,MAAM,CAiBR;AACD,wBAAsB,cAAc,CAClC,QAAQ,EAAE,eAAe,GACxB,OAAO,CAAC,MAAM,CAAC,CAQjB;AAED,wBAAgB,eAAe,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,CAE5D"} \ No newline at end of file diff --git a/node_modules/@puppeteer/browsers/lib/cjs/browser-data/chromium.js b/node_modules/@puppeteer/browsers/lib/cjs/browser-data/chromium.js deleted file mode 100644 index e9faeaf..0000000 --- a/node_modules/@puppeteer/browsers/lib/cjs/browser-data/chromium.js +++ /dev/null @@ -1,71 +0,0 @@ -"use strict"; -/** - * @license - * Copyright 2023 Google Inc. - * SPDX-License-Identifier: Apache-2.0 - */ -var __importDefault = (this && this.__importDefault) || function (mod) { - return (mod && mod.__esModule) ? mod : { "default": mod }; -}; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.compareVersions = exports.resolveBuildId = exports.relativeExecutablePath = exports.resolveDownloadPath = exports.resolveDownloadUrl = void 0; -const path_1 = __importDefault(require("path")); -const httpUtil_js_1 = require("../httpUtil.js"); -const types_js_1 = require("./types.js"); -function archive(platform, buildId) { - switch (platform) { - case types_js_1.BrowserPlatform.LINUX: - return 'chrome-linux'; - case types_js_1.BrowserPlatform.MAC_ARM: - case types_js_1.BrowserPlatform.MAC: - return 'chrome-mac'; - case types_js_1.BrowserPlatform.WIN32: - case types_js_1.BrowserPlatform.WIN64: - // Windows archive name changed at r591479. - return parseInt(buildId, 10) > 591479 ? 'chrome-win' : 'chrome-win32'; - } -} -function folder(platform) { - switch (platform) { - case types_js_1.BrowserPlatform.LINUX: - return 'Linux_x64'; - case types_js_1.BrowserPlatform.MAC_ARM: - return 'Mac_Arm'; - case types_js_1.BrowserPlatform.MAC: - return 'Mac'; - case types_js_1.BrowserPlatform.WIN32: - return 'Win'; - case types_js_1.BrowserPlatform.WIN64: - return 'Win_x64'; - } -} -function resolveDownloadUrl(platform, buildId, baseUrl = 'https://storage.googleapis.com/chromium-browser-snapshots') { - return `${baseUrl}/${resolveDownloadPath(platform, buildId).join('/')}`; -} -exports.resolveDownloadUrl = resolveDownloadUrl; -function resolveDownloadPath(platform, buildId) { - return [folder(platform), buildId, `${archive(platform, buildId)}.zip`]; -} -exports.resolveDownloadPath = resolveDownloadPath; -function relativeExecutablePath(platform, _buildId) { - switch (platform) { - case types_js_1.BrowserPlatform.MAC: - case types_js_1.BrowserPlatform.MAC_ARM: - return path_1.default.join('chrome-mac', 'Chromium.app', 'Contents', 'MacOS', 'Chromium'); - case types_js_1.BrowserPlatform.LINUX: - return path_1.default.join('chrome-linux', 'chrome'); - case types_js_1.BrowserPlatform.WIN32: - case types_js_1.BrowserPlatform.WIN64: - return path_1.default.join('chrome-win', 'chrome.exe'); - } -} -exports.relativeExecutablePath = relativeExecutablePath; -async function resolveBuildId(platform) { - return await (0, httpUtil_js_1.getText)(new URL(`https://storage.googleapis.com/chromium-browser-snapshots/${folder(platform)}/LAST_CHANGE`)); -} -exports.resolveBuildId = resolveBuildId; -function compareVersions(a, b) { - return Number(a) - Number(b); -} -exports.compareVersions = compareVersions; -//# sourceMappingURL=chromium.js.map \ No newline at end of file diff --git a/node_modules/@puppeteer/browsers/lib/cjs/browser-data/chromium.js.map b/node_modules/@puppeteer/browsers/lib/cjs/browser-data/chromium.js.map deleted file mode 100644 index 31d55f6..0000000 --- a/node_modules/@puppeteer/browsers/lib/cjs/browser-data/chromium.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"chromium.js","sourceRoot":"","sources":["../../../src/browser-data/chromium.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;;;;AAEH,gDAAwB;AAExB,gDAAuC;AAEvC,yCAA2C;AAE3C,SAAS,OAAO,CAAC,QAAyB,EAAE,OAAe;IACzD,QAAQ,QAAQ,EAAE,CAAC;QACjB,KAAK,0BAAe,CAAC,KAAK;YACxB,OAAO,cAAc,CAAC;QACxB,KAAK,0BAAe,CAAC,OAAO,CAAC;QAC7B,KAAK,0BAAe,CAAC,GAAG;YACtB,OAAO,YAAY,CAAC;QACtB,KAAK,0BAAe,CAAC,KAAK,CAAC;QAC3B,KAAK,0BAAe,CAAC,KAAK;YACxB,2CAA2C;YAC3C,OAAO,QAAQ,CAAC,OAAO,EAAE,EAAE,CAAC,GAAG,MAAM,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,cAAc,CAAC;IAC1E,CAAC;AACH,CAAC;AAED,SAAS,MAAM,CAAC,QAAyB;IACvC,QAAQ,QAAQ,EAAE,CAAC;QACjB,KAAK,0BAAe,CAAC,KAAK;YACxB,OAAO,WAAW,CAAC;QACrB,KAAK,0BAAe,CAAC,OAAO;YAC1B,OAAO,SAAS,CAAC;QACnB,KAAK,0BAAe,CAAC,GAAG;YACtB,OAAO,KAAK,CAAC;QACf,KAAK,0BAAe,CAAC,KAAK;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AAS;IAClD,OAAO,MAAM,CAAC,CAAC,CAAC,GAAG,MAAM,CAAC,CAAC,CAAC,CAAC;AAC/B,CAAC;AAFD,0CAEC"} \ No newline at end of file diff --git a/node_modules/@puppeteer/browsers/lib/cjs/browser-data/firefox.d.ts b/node_modules/@puppeteer/browsers/lib/cjs/browser-data/firefox.d.ts deleted file mode 100644 index de4a922..0000000 --- a/node_modules/@puppeteer/browsers/lib/cjs/browser-data/firefox.d.ts +++ /dev/null @@ -1,13 +0,0 @@ -/** - * @license - * Copyright 2023 Google Inc. - * SPDX-License-Identifier: Apache-2.0 - */ -import { BrowserPlatform, type ProfileOptions } from './types.js'; -export declare function resolveDownloadUrl(platform: BrowserPlatform, buildId: string, baseUrl?: string): string; -export declare function resolveDownloadPath(platform: BrowserPlatform, buildId: string): string[]; -export declare function relativeExecutablePath(platform: BrowserPlatform, _buildId: string): string; -export declare function resolveBuildId(channel?: 'FIREFOX_NIGHTLY'): Promise; -export declare function createProfile(options: ProfileOptions): Promise; -export declare function compareVersions(a: string, b: string): number; -//# sourceMappingURL=firefox.d.ts.map \ No newline at end of file diff --git a/node_modules/@puppeteer/browsers/lib/cjs/browser-data/firefox.d.ts.map b/node_modules/@puppeteer/browsers/lib/cjs/browser-data/firefox.d.ts.map deleted file mode 100644 index 6dd32c6..0000000 --- a/node_modules/@puppeteer/browsers/lib/cjs/browser-data/firefox.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"firefox.d.ts","sourceRoot":"","sources":["../../../src/browser-data/firefox.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAOH,OAAO,EAAC,eAAe,EAAE,KAAK,cAAc,EAAC,MAAM,YAAY,CAAC;AAehE,wBAAgB,kBAAkB,CAChC,QAAQ,EAAE,eAAe,EACzB,OAAO,EAAE,MAAM,EACf,OAAO,SAA2E,GACjF,MAAM,CAER;AAED,wBAAgB,mBAAmB,CACjC,QAAQ,EAAE,eAAe,EACzB,OAAO,EAAE,MAAM,GACd,MAAM,EAAE,CAEV;AAED,wBAAgB,sBAAsB,CACpC,QAAQ,EAAE,eAAe,EACzB,QAAQ,EAAE,MAAM,GACf,MAAM,CAWR;AAED,wBAAsB,cAAc,CAClC,OAAO,GAAE,iBAAqC,GAC7C,OAAO,CAAC,MAAM,CAAC,CASjB;AAED,wBAAsB,aAAa,CAAC,OAAO,EAAE,cAAc,GAAG,OAAO,CAAC,IAAI,CAAC,CAa1E;AAwPD,wBAAgB,eAAe,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,CAG5D"} \ No newline at end of file diff --git a/node_modules/@puppeteer/browsers/lib/cjs/browser-data/firefox.js b/node_modules/@puppeteer/browsers/lib/cjs/browser-data/firefox.js deleted file mode 100644 index a8428d8..0000000 --- a/node_modules/@puppeteer/browsers/lib/cjs/browser-data/firefox.js +++ /dev/null @@ -1,262 +0,0 @@ -"use strict"; -/** - * @license - * Copyright 2023 Google Inc. - * SPDX-License-Identifier: Apache-2.0 - */ -var __importDefault = (this && this.__importDefault) || function (mod) { - return (mod && mod.__esModule) ? mod : { "default": mod }; -}; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.compareVersions = exports.createProfile = exports.resolveBuildId = exports.relativeExecutablePath = exports.resolveDownloadPath = exports.resolveDownloadUrl = void 0; -const fs_1 = __importDefault(require("fs")); -const path_1 = __importDefault(require("path")); -const httpUtil_js_1 = require("../httpUtil.js"); -const types_js_1 = require("./types.js"); -function archive(platform, buildId) { - switch (platform) { - case types_js_1.BrowserPlatform.LINUX: - return `firefox-${buildId}.en-US.${platform}-x86_64.tar.bz2`; - case types_js_1.BrowserPlatform.MAC_ARM: - case types_js_1.BrowserPlatform.MAC: - return `firefox-${buildId}.en-US.mac.dmg`; - case types_js_1.BrowserPlatform.WIN32: - case types_js_1.BrowserPlatform.WIN64: - return `firefox-${buildId}.en-US.${platform}.zip`; - } -} -function resolveDownloadUrl(platform, buildId, baseUrl = 'https://archive.mozilla.org/pub/firefox/nightly/latest-mozilla-central') { - return `${baseUrl}/${resolveDownloadPath(platform, buildId).join('/')}`; -} -exports.resolveDownloadUrl = resolveDownloadUrl; -function resolveDownloadPath(platform, buildId) { - return [archive(platform, buildId)]; -} -exports.resolveDownloadPath = resolveDownloadPath; -function relativeExecutablePath(platform, _buildId) { - switch (platform) { - case types_js_1.BrowserPlatform.MAC_ARM: - case types_js_1.BrowserPlatform.MAC: - return path_1.default.join('Firefox Nightly.app', 'Contents', 'MacOS', 'firefox'); - case types_js_1.BrowserPlatform.LINUX: - return path_1.default.join('firefox', 'firefox'); - case types_js_1.BrowserPlatform.WIN32: - case types_js_1.BrowserPlatform.WIN64: - return path_1.default.join('firefox', 'firefox.exe'); - } -} -exports.relativeExecutablePath = relativeExecutablePath; -async function resolveBuildId(channel = 'FIREFOX_NIGHTLY') { - const versions = (await (0, httpUtil_js_1.getJSON)(new URL('https://product-details.mozilla.org/1.0/firefox_versions.json'))); - const version = versions[channel]; - if (!version) { - throw new Error(`Channel ${channel} is not found.`); - } - return version; -} -exports.resolveBuildId = resolveBuildId; -async function createProfile(options) { - if (!fs_1.default.existsSync(options.path)) { - await fs_1.default.promises.mkdir(options.path, { - recursive: true, - }); - } - await writePreferences({ - preferences: { - ...defaultProfilePreferences(options.preferences), - ...options.preferences, - }, - path: options.path, - }); -} -exports.createProfile = createProfile; -function defaultProfilePreferences(extraPrefs) { - const server = 'dummy.test'; - const defaultPrefs = { - // Make sure Shield doesn't hit the network. - 'app.normandy.api_url': '', - // Disable Firefox old build background check - 'app.update.checkInstallTime': false, - // Disable automatically upgrading Firefox - 'app.update.disabledForTesting': true, - // Increase the APZ content response timeout to 1 minute - 'apz.content_response_timeout': 60000, - // Prevent various error message on the console - // jest-puppeteer asserts that no error message is emitted by the console - 'browser.contentblocking.features.standard': '-tp,tpPrivate,cookieBehavior0,-cm,-fp', - // Enable the dump function: which sends messages to the system - // console - // https://bugzilla.mozilla.org/show_bug.cgi?id=1543115 - 'browser.dom.window.dump.enabled': true, - // Disable topstories - 'browser.newtabpage.activity-stream.feeds.system.topstories': false, - // Always display a blank page - 'browser.newtabpage.enabled': false, - // Background thumbnails in particular cause grief: and disabling - // thumbnails in general cannot hurt - 'browser.pagethumbnails.capturing_disabled': true, - // Disable safebrowsing components. - 'browser.safebrowsing.blockedURIs.enabled': false, - 'browser.safebrowsing.downloads.enabled': false, - 'browser.safebrowsing.malware.enabled': false, - 'browser.safebrowsing.phishing.enabled': false, - // Disable updates to search engines. - 'browser.search.update': false, - // Do not restore the last open set of tabs if the browser has crashed - 'browser.sessionstore.resume_from_crash': false, - // Skip check for default browser on startup - 'browser.shell.checkDefaultBrowser': false, - // Disable newtabpage - 'browser.startup.homepage': 'about:blank', - // Do not redirect user when a milstone upgrade of Firefox is detected - 'browser.startup.homepage_override.mstone': 'ignore', - // Start with a blank page about:blank - 'browser.startup.page': 0, - // Do not allow background tabs to be zombified on Android: otherwise for - // tests that open additional tabs: the test harness tab itself might get - // unloaded - 'browser.tabs.disableBackgroundZombification': false, - // Do not warn when closing all other open tabs - 'browser.tabs.warnOnCloseOtherTabs': false, - // Do not warn when multiple tabs will be opened - 'browser.tabs.warnOnOpen': false, - // Do not automatically offer translations, as tests do not expect this. - 'browser.translations.automaticallyPopup': false, - // Disable the UI tour. - 'browser.uitour.enabled': false, - // Turn off search suggestions in the location bar so as not to trigger - // network connections. - 'browser.urlbar.suggest.searches': false, - // Disable first run splash page on Windows 10 - 'browser.usedOnWindows10.introURL': '', - // Do not warn on quitting Firefox - 'browser.warnOnQuit': false, - // Defensively disable data reporting systems - 'datareporting.healthreport.documentServerURI': `http://${server}/dummy/healthreport/`, - 'datareporting.healthreport.logging.consoleEnabled': false, - 'datareporting.healthreport.service.enabled': false, - 'datareporting.healthreport.service.firstRun': false, - 'datareporting.healthreport.uploadEnabled': false, - // Do not show datareporting policy notifications which can interfere with tests - 'datareporting.policy.dataSubmissionEnabled': false, - 'datareporting.policy.dataSubmissionPolicyBypassNotification': true, - // DevTools JSONViewer sometimes fails to load dependencies with its require.js. - // This doesn't affect Puppeteer but spams console (Bug 1424372) - 'devtools.jsonview.enabled': false, - // Disable popup-blocker - 'dom.disable_open_during_load': false, - // Enable the support for File object creation in the content process - // Required for |Page.setFileInputFiles| protocol method. - 'dom.file.createInChild': true, - // Disable the ProcessHangMonitor - 'dom.ipc.reportProcessHangs': false, - // Disable slow script dialogues - 'dom.max_chrome_script_run_time': 0, - 'dom.max_script_run_time': 0, - // Only load extensions from the application and user profile - // AddonManager.SCOPE_PROFILE + AddonManager.SCOPE_APPLICATION - 'extensions.autoDisableScopes': 0, - 'extensions.enabledScopes': 5, - // Disable metadata caching for installed add-ons by default - 'extensions.getAddons.cache.enabled': false, - // Disable installing any distribution extensions or add-ons. - 'extensions.installDistroAddons': false, - // Disabled screenshots extension - 'extensions.screenshots.disabled': true, - // Turn off extension updates so they do not bother tests - 'extensions.update.enabled': false, - // Turn off extension updates so they do not bother tests - 'extensions.update.notifyUser': false, - // Make sure opening about:addons will not hit the network - 'extensions.webservice.discoverURL': `http://${server}/dummy/discoveryURL`, - // Allow the application to have focus even it runs in the background - 'focusmanager.testmode': true, - // Disable useragent updates - 'general.useragent.updates.enabled': false, - // Always use network provider for geolocation tests so we bypass the - // macOS dialog raised by the corelocation provider - 'geo.provider.testing': true, - // Do not scan Wifi - 'geo.wifi.scan': false, - // No hang monitor - 'hangmonitor.timeout': 0, - // Show chrome errors and warnings in the error console - 'javascript.options.showInConsole': true, - // Disable download and usage of OpenH264: and Widevine plugins - 'media.gmp-manager.updateEnabled': false, - // Disable the GFX sanity window - 'media.sanity-test.disabled': true, - // Prevent various error message on the console - // jest-puppeteer asserts that no error message is emitted by the console - 'network.cookie.cookieBehavior': 0, - // Disable experimental feature that is only available in Nightly - 'network.cookie.sameSite.laxByDefault': false, - // Do not prompt for temporary redirects - 'network.http.prompt-temp-redirect': false, - // Disable speculative connections so they are not reported as leaking - // when they are hanging around - 'network.http.speculative-parallel-limit': 0, - // Do not automatically switch between offline and online - 'network.manage-offline-status': false, - // Make sure SNTP requests do not hit the network - 'network.sntp.pools': server, - // Disable Flash. - 'plugin.state.flash': 0, - 'privacy.trackingprotection.enabled': false, - // Can be removed once Firefox 89 is no longer supported - // https://bugzilla.mozilla.org/show_bug.cgi?id=1710839 - 'remote.enabled': true, - // Don't do network connections for mitm priming - 'security.certerrors.mitm.priming.enabled': false, - // Local documents have access to all other local documents, - // including directory listings - 'security.fileuri.strict_origin_policy': false, - // Do not wait for the notification button security delay - 'security.notification_enable_delay': 0, - // Ensure blocklist updates do not hit the network - 'services.settings.server': `http://${server}/dummy/blocklist/`, - // Do not automatically fill sign-in forms with known usernames and - // passwords - 'signon.autofillForms': false, - // Disable password capture, so that tests that include forms are not - // influenced by the presence of the persistent doorhanger notification - 'signon.rememberSignons': false, - // Disable first-run welcome page - 'startup.homepage_welcome_url': 'about:blank', - // Disable first-run welcome page - 'startup.homepage_welcome_url.additional': '', - // Disable browser animations (tabs, fullscreen, sliding alerts) - 'toolkit.cosmeticAnimations.enabled': false, - // Prevent starting into safe mode after application crashes - 'toolkit.startup.max_resumed_crashes': -1, - }; - return Object.assign(defaultPrefs, extraPrefs); -} -/** - * Populates the user.js file with custom preferences as needed to allow - * Firefox's CDP support to properly function. These preferences will be - * automatically copied over to prefs.js during startup of Firefox. To be - * able to restore the original values of preferences a backup of prefs.js - * will be created. - * - * @param prefs - List of preferences to add. - * @param profilePath - Firefox profile to write the preferences to. - */ -async function writePreferences(options) { - const lines = Object.entries(options.preferences).map(([key, value]) => { - return `user_pref(${JSON.stringify(key)}, ${JSON.stringify(value)});`; - }); - await fs_1.default.promises.writeFile(path_1.default.join(options.path, 'user.js'), lines.join('\n')); - // Create a backup of the preferences file if it already exitsts. - const prefsPath = path_1.default.join(options.path, 'prefs.js'); - if (fs_1.default.existsSync(prefsPath)) { - const prefsBackupPath = path_1.default.join(options.path, 'prefs.js.puppeteer'); - await fs_1.default.promises.copyFile(prefsPath, prefsBackupPath); - } -} -function compareVersions(a, b) { - // TODO: this is a not very reliable check. - return parseInt(a.replace('.', ''), 16) - parseInt(b.replace('.', ''), 16); -} -exports.compareVersions = compareVersions; -//# sourceMappingURL=firefox.js.map \ No newline at end of file diff --git a/node_modules/@puppeteer/browsers/lib/cjs/browser-data/firefox.js.map b/node_modules/@puppeteer/browsers/lib/cjs/browser-data/firefox.js.map deleted file mode 100644 index 2e61616..0000000 --- a/node_modules/@puppeteer/browsers/lib/cjs/browser-data/firefox.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"firefox.js","sourceRoot":"","sources":["../../../src/browser-data/firefox.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;;;;AAEH,4CAAoB;AACpB,gDAAwB;AAExB,gDAAuC;AAEvC,yCAAgE;AAEhE,SAAS,OAAO,CAAC,QAAyB,EAAE,OAAe;IACzD,QAAQ,QAAQ,EAAE,CAAC;QACjB,KAAK,0BAAe,CAAC,KAAK;YACxB,OAAO,WAAW,OAAO,UAAU,QAAQ,iBAAiB,CAAC;QAC/D,KAAK,0BAAe,CAAC,OAAO,CAAC;QAC7B,KAAK,0BAAe,CAAC,GAAG;YACtB,OAAO,WAAW,OAAO,gBAAgB,CAAC;QAC5C,KAAK,0BAAe,CAAC,KAAK,CAAC;QAC3B,KAAK,0BAAe,CAAC,KAAK;YACxB,OAAO,WAAW,OAAO,UAAU,QAAQ,MAAM,CAAC;IACtD,CAAC;AACH,CAAC;AAED,SAAgB,kBAAkB,CAChC,QAAyB,EACzB,OAAe,EACf,OAAO,GAAG,wEAAwE;IAElF,OAAO,GAAG,OAAO,IAAI,mBAAmB,CAAC,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC;AAC1E,CAAC;AAND,gDAMC;AAED,SAAgB,mBAAmB,CACjC,QAAyB,EACzB,OAAe;IAEf,OAAO,CAAC,OAAO,CAAC,QAAQ,EAAE,OAAO,CAAC,CAAC,CAAC;AACtC,CAAC;AALD,kDAKC;AAED,SA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AAG,CAAC,CAAC,CAAC,GAAG,EAAE,KAAK,CAAC,EAAE,EAAE;QACrE,OAAO,aAAa,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,KAAK,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,IAAI,CAAC;IACxE,CAAC,CAAC,CAAC;IAEH,MAAM,YAAE,CAAC,QAAQ,CAAC,SAAS,CACzB,cAAI,CAAC,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,SAAS,CAAC,EAClC,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,CACjB,CAAC;IAEF,iEAAiE;IACjE,MAAM,SAAS,GAAG,cAAI,CAAC,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;IACtD,IAAI,YAAE,CAAC,UAAU,CAAC,SAAS,CAAC,EAAE,CAAC;QAC7B,MAAM,eAAe,GAAG,cAAI,CAAC,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,oBAAoB,CAAC,CAAC;QACtE,MAAM,YAAE,CAAC,QAAQ,CAAC,QAAQ,CAAC,SAAS,EAAE,eAAe,CAAC,CAAC;IACzD,CAAC;AACH,CAAC;AAED,SAAgB,eAAe,CAAC,CAAS,EAAE,CAAS;IAClD,2CAA2C;IAC3C,OAAO,QAAQ,CAAC,CAAC,CAAC,OAAO,CAAC,GAAG,EAAE,EAAE,CAAC,EAAE,EAAE,CAAC,GAAG,QAAQ,CAAC,CAAC,CAAC,OAAO,CAAC,GAAG,EAAE,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC;AAC7E,CAAC;AAHD,0CAGC"} \ No newline at end of file diff --git a/node_modules/@puppeteer/browsers/lib/cjs/browser-data/types.d.ts b/node_modules/@puppeteer/browsers/lib/cjs/browser-data/types.d.ts deleted file mode 100644 index 587efa4..0000000 --- a/node_modules/@puppeteer/browsers/lib/cjs/browser-data/types.d.ts +++ /dev/null @@ -1,57 +0,0 @@ -/** - * @license - * Copyright 2023 Google Inc. - * SPDX-License-Identifier: Apache-2.0 - */ -/** - * Supported browsers. - * - * @public - */ -export declare enum Browser { - CHROME = "chrome", - CHROMEHEADLESSSHELL = "chrome-headless-shell", - CHROMIUM = "chromium", - FIREFOX = "firefox", - CHROMEDRIVER = "chromedriver" -} -/** - * Platform names used to identify a OS platform x architecture combination in the way - * that is relevant for the browser download. - * - * @public - */ -export declare enum BrowserPlatform { - LINUX = "linux", - MAC = "mac", - MAC_ARM = "mac_arm", - WIN32 = "win32", - WIN64 = "win64" -} -/** - * @public - */ -export declare enum BrowserTag { - CANARY = "canary", - BETA = "beta", - DEV = "dev", - STABLE = "stable", - LATEST = "latest" -} -/** - * @public - */ -export interface ProfileOptions { - preferences: Record; - path: string; -} -/** - * @public - */ -export declare enum ChromeReleaseChannel { - STABLE = "stable", - DEV = "dev", - CANARY = "canary", - BETA = "beta" -} -//# sourceMappingURL=types.d.ts.map \ No newline at end of file diff --git a/node_modules/@puppeteer/browsers/lib/cjs/browser-data/types.d.ts.map b/node_modules/@puppeteer/browsers/lib/cjs/browser-data/types.d.ts.map deleted file mode 100644 index 2d6b36a..0000000 --- a/node_modules/@puppeteer/browsers/lib/cjs/browser-data/types.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/browser-data/types.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH;;;;GAIG;AACH,oBAAY,OAAO;IACjB,MAAM,WAAW;IACjB,mBAAmB,0BAA0B;IAC7C,QAAQ,aAAa;IACrB,OAAO,YAAY;IACnB,YAAY,iBAAiB;CAC9B;AAED;;;;;GAKG;AACH,oBAAY,eAAe;IACzB,KAAK,UAAU;IACf,GAAG,QAAQ;IACX,OAAO,YAAY;IACnB,KAAK,UAAU;IACf,KAAK,UAAU;CAChB;AAED;;GAEG;AACH,oBAAY,UAAU;IACpB,MAAM,WAAW;IACjB,IAAI,SAAS;IACb,GAAG,QAAQ;IACX,MAAM,WAAW;IACjB,MAAM,WAAW;CAClB;AAED;;GAEG;AACH,MAAM,WAAW,cAAc;IAC7B,WAAW,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACrC,IAAI,EAAE,MAAM,CAAC;CACd;AAED;;GAEG;AACH,oBAAY,oBAAoB;IAC9B,MAAM,WAAW;IACjB,GAAG,QAAQ;IACX,MAAM,WAAW;IACjB,IAAI,SAAS;CACd"} \ No newline at end of file diff --git a/node_modules/@puppeteer/browsers/lib/cjs/browser-data/types.js b/node_modules/@puppeteer/browsers/lib/cjs/browser-data/types.js deleted file mode 100644 index c6619a9..0000000 --- a/node_modules/@puppeteer/browsers/lib/cjs/browser-data/types.js +++ /dev/null @@ -1,57 +0,0 @@ -"use strict"; -/** - * @license - * Copyright 2023 Google Inc. - * SPDX-License-Identifier: Apache-2.0 - */ -Object.defineProperty(exports, "__esModule", { value: true }); -exports.ChromeReleaseChannel = exports.BrowserTag = exports.BrowserPlatform = exports.Browser = void 0; -/** - * Supported browsers. - * - * @public - */ -var Browser; -(function (Browser) { - Browser["CHROME"] = "chrome"; - Browser["CHROMEHEADLESSSHELL"] = "chrome-headless-shell"; - Browser["CHROMIUM"] = "chromium"; - Browser["FIREFOX"] = "firefox"; - Browser["CHROMEDRIVER"] = "chromedriver"; -})(Browser || (exports.Browser = Browser = {})); -/** - * Platform names used to identify a OS platform x architecture combination in the way - * that is relevant for the browser download. - * - * @public - */ -var BrowserPlatform; -(function (BrowserPlatform) { - BrowserPlatform["LINUX"] = "linux"; - BrowserPlatform["MAC"] = "mac"; - BrowserPlatform["MAC_ARM"] = "mac_arm"; - BrowserPlatform["WIN32"] = "win32"; - BrowserPlatform["WIN64"] = "win64"; -})(BrowserPlatform || (exports.BrowserPlatform = BrowserPlatform = {})); -/** - * @public - */ -var BrowserTag; -(function (BrowserTag) { - BrowserTag["CANARY"] = "canary"; - BrowserTag["BETA"] = "beta"; - BrowserTag["DEV"] = "dev"; - BrowserTag["STABLE"] = "stable"; - BrowserTag["LATEST"] = "latest"; -})(BrowserTag || (exports.BrowserTag = BrowserTag = {})); -/** - * @public - */ -var ChromeReleaseChannel; -(function (ChromeReleaseChannel) { - ChromeReleaseChannel["STABLE"] = "stable"; - ChromeReleaseChannel["DEV"] = "dev"; - ChromeReleaseChannel["CANARY"] = "canary"; - ChromeReleaseChannel["BETA"] = "beta"; -})(ChromeReleaseChannel || (exports.ChromeReleaseChannel = ChromeReleaseChannel = {})); -//# sourceMappingURL=types.js.map \ No newline at end of file diff --git a/node_modules/@puppeteer/browsers/lib/cjs/browser-data/types.js.map b/node_modules/@puppeteer/browsers/lib/cjs/browser-data/types.js.map deleted file mode 100644 index 5f9063e..0000000 --- a/node_modules/@puppeteer/browsers/lib/cjs/browser-data/types.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/browser-data/types.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;AAEH;;;;GAIG;AACH,IAAY,OAMX;AAND,WAAY,OAAO;IACjB,4BAAiB,CAAA;IACjB,wDAA6C,CAAA;IAC7C,gCAAqB,CAAA;IACrB,8BAAmB,CAAA;IACnB,wCAA6B,CAAA;AAC/B,CAAC,EANW,OAAO,uBAAP,OAAO,QAMlB;AAED;;;;;GAKG;AACH,IAAY,eAMX;AAND,WAAY,eAAe;IACzB,kCAAe,CAAA;IACf,8BAAW,CAAA;IACX,sCAAmB,CAAA;IACnB,kCAAe,CAAA;IACf,kCAAe,CAAA;AACjB,CAAC,EANW,eAAe,+BAAf,eAAe,QAM1B;AAED;;GAEG;AACH,IAAY,UAMX;AAND,WAAY,UAAU;IACpB,+BAAiB,CAAA;IACjB,2BAAa,CAAA;IACb,yBAAW,CAAA;IACX,+BAAiB,CAAA;IACjB,+BAAiB,CAAA;AACnB,CAAC,EANW,UAAU,0BAAV,UAAU,QAMrB;AAUD;;GAEG;AACH,IAAY,oBAKX;AALD,WAAY,oBAAoB;IAC9B,yCAAiB,CAAA;IACjB,mCAAW,CAAA;IACX,yCAAiB,CAAA;IACjB,qCAAa,CAAA;AACf,CAAC,EALW,oBAAoB,oCAApB,oBAAoB,QAK/B"} \ No newline at end of file diff --git a/node_modules/@puppeteer/browsers/lib/cjs/debug.d.ts b/node_modules/@puppeteer/browsers/lib/cjs/debug.d.ts deleted file mode 100644 index aa062da..0000000 --- a/node_modules/@puppeteer/browsers/lib/cjs/debug.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -/** - * @license - * Copyright 2023 Google Inc. - * SPDX-License-Identifier: Apache-2.0 - */ -import debug from 'debug'; -export { debug }; -//# sourceMappingURL=debug.d.ts.map \ No newline at end of file diff --git a/node_modules/@puppeteer/browsers/lib/cjs/debug.d.ts.map b/node_modules/@puppeteer/browsers/lib/cjs/debug.d.ts.map deleted file mode 100644 index 2f5f252..0000000 --- a/node_modules/@puppeteer/browsers/lib/cjs/debug.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"debug.d.ts","sourceRoot":"","sources":["../../src/debug.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC,KAAK,EAAC,CAAC"} \ No newline at end of file diff --git a/node_modules/@puppeteer/browsers/lib/cjs/debug.js b/node_modules/@puppeteer/browsers/lib/cjs/debug.js deleted file mode 100644 index 754d7e2..0000000 --- a/node_modules/@puppeteer/browsers/lib/cjs/debug.js +++ /dev/null @@ -1,14 +0,0 @@ -"use strict"; -/** - * @license - * Copyright 2023 Google Inc. - * SPDX-License-Identifier: Apache-2.0 - */ -var __importDefault = (this && this.__importDefault) || function (mod) { - return (mod && mod.__esModule) ? mod : { "default": mod }; -}; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.debug = void 0; -const debug_1 = __importDefault(require("debug")); -exports.debug = debug_1.default; -//# sourceMappingURL=debug.js.map \ No newline at end of file diff --git a/node_modules/@puppeteer/browsers/lib/cjs/debug.js.map b/node_modules/@puppeteer/browsers/lib/cjs/debug.js.map deleted file mode 100644 index e300130..0000000 --- a/node_modules/@puppeteer/browsers/lib/cjs/debug.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"debug.js","sourceRoot":"","sources":["../../src/debug.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;;;;AAEH,kDAA0B;AAElB,gBAFD,eAAK,CAEC"} \ No newline at end of file diff --git a/node_modules/@puppeteer/browsers/lib/cjs/detectPlatform.d.ts b/node_modules/@puppeteer/browsers/lib/cjs/detectPlatform.d.ts deleted file mode 100644 index 3ed4758..0000000 --- a/node_modules/@puppeteer/browsers/lib/cjs/detectPlatform.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -/** - * @license - * Copyright 2023 Google Inc. - * SPDX-License-Identifier: Apache-2.0 - */ -import { BrowserPlatform } from './browser-data/browser-data.js'; -/** - * @public - */ -export declare function detectBrowserPlatform(): BrowserPlatform | undefined; -//# sourceMappingURL=detectPlatform.d.ts.map \ No newline at end of file diff --git a/node_modules/@puppeteer/browsers/lib/cjs/detectPlatform.d.ts.map b/node_modules/@puppeteer/browsers/lib/cjs/detectPlatform.d.ts.map deleted file mode 100644 index d664376..0000000 --- a/node_modules/@puppeteer/browsers/lib/cjs/detectPlatform.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"detectPlatform.d.ts","sourceRoot":"","sources":["../../src/detectPlatform.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAIH,OAAO,EAAC,eAAe,EAAC,MAAM,gCAAgC,CAAC;AAE/D;;GAEG;AACH,wBAAgB,qBAAqB,IAAI,eAAe,GAAG,SAAS,CAkBnE"} \ No newline at end of file diff --git a/node_modules/@puppeteer/browsers/lib/cjs/detectPlatform.js b/node_modules/@puppeteer/browsers/lib/cjs/detectPlatform.js deleted file mode 100644 index 4dc7669..0000000 --- a/node_modules/@puppeteer/browsers/lib/cjs/detectPlatform.js +++ /dev/null @@ -1,53 +0,0 @@ -"use strict"; -/** - * @license - * Copyright 2023 Google Inc. - * SPDX-License-Identifier: Apache-2.0 - */ -var __importDefault = (this && this.__importDefault) || function (mod) { - return (mod && mod.__esModule) ? mod : { "default": mod }; -}; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.detectBrowserPlatform = void 0; -const os_1 = __importDefault(require("os")); -const browser_data_js_1 = require("./browser-data/browser-data.js"); -/** - * @public - */ -function detectBrowserPlatform() { - const platform = os_1.default.platform(); - switch (platform) { - case 'darwin': - return os_1.default.arch() === 'arm64' - ? browser_data_js_1.BrowserPlatform.MAC_ARM - : browser_data_js_1.BrowserPlatform.MAC; - case 'linux': - return browser_data_js_1.BrowserPlatform.LINUX; - case 'win32': - return os_1.default.arch() === 'x64' || - // Windows 11 for ARM supports x64 emulation - (os_1.default.arch() === 'arm64' && isWindows11(os_1.default.release())) - ? browser_data_js_1.BrowserPlatform.WIN64 - : browser_data_js_1.BrowserPlatform.WIN32; - default: - return undefined; - } -} -exports.detectBrowserPlatform = detectBrowserPlatform; -/** - * Windows 11 is identified by the version 10.0.22000 or greater - * @internal - */ -function isWindows11(version) { - const parts = version.split('.'); - if (parts.length > 2) { - const major = parseInt(parts[0], 10); - const minor = parseInt(parts[1], 10); - const patch = parseInt(parts[2], 10); - return (major > 10 || - (major === 10 && minor > 0) || - (major === 10 && minor === 0 && patch >= 22000)); - } - return false; -} -//# sourceMappingURL=detectPlatform.js.map \ No newline at end of file diff --git a/node_modules/@puppeteer/browsers/lib/cjs/detectPlatform.js.map b/node_modules/@puppeteer/browsers/lib/cjs/detectPlatform.js.map deleted file mode 100644 index f12c9a7..0000000 --- a/node_modules/@puppeteer/browsers/lib/cjs/detectPlatform.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"detectPlatform.js","sourceRoot":"","sources":["../../src/detectPlatform.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;;;;AAEH,4CAAoB;AAEpB,oEAA+D;AAE/D;;GAEG;AACH,SAAgB,qBAAqB;IACnC,MAAM,QAAQ,GAAG,YAAE,CAAC,QAAQ,EAAE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;AACf,CAAC"} \ No newline at end of file diff --git a/node_modules/@puppeteer/browsers/lib/cjs/fileUtil.d.ts b/node_modules/@puppeteer/browsers/lib/cjs/fileUtil.d.ts deleted file mode 100644 index af56994..0000000 --- a/node_modules/@puppeteer/browsers/lib/cjs/fileUtil.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -/** - * @license - * Copyright 2023 Google Inc. - * SPDX-License-Identifier: Apache-2.0 - */ -/** - * @internal - */ -export declare function unpackArchive(archivePath: string, folderPath: string): Promise; -//# sourceMappingURL=fileUtil.d.ts.map \ No newline at end of file diff --git a/node_modules/@puppeteer/browsers/lib/cjs/fileUtil.d.ts.map b/node_modules/@puppeteer/browsers/lib/cjs/fileUtil.d.ts.map deleted file mode 100644 index bcf818b..0000000 --- a/node_modules/@puppeteer/browsers/lib/cjs/fileUtil.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"fileUtil.d.ts","sourceRoot":"","sources":["../../src/fileUtil.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAcH;;GAEG;AACH,wBAAsB,aAAa,CACjC,WAAW,EAAE,MAAM,EACnB,UAAU,EAAE,MAAM,GACjB,OAAO,CAAC,IAAI,CAAC,CAWf"} \ No newline at end of file diff --git a/node_modules/@puppeteer/browsers/lib/cjs/fileUtil.js b/node_modules/@puppeteer/browsers/lib/cjs/fileUtil.js deleted file mode 100644 index 725f8e5..0000000 --- a/node_modules/@puppeteer/browsers/lib/cjs/fileUtil.js +++ /dev/null @@ -1,100 +0,0 @@ -"use strict"; -/** - * @license - * Copyright 2023 Google Inc. - * SPDX-License-Identifier: Apache-2.0 - */ -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { - Object.defineProperty(o, "default", { enumerable: true, value: v }); -}) : function(o, v) { - o["default"] = v; -}); -var __importStar = (this && this.__importStar) || function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); - __setModuleDefault(result, mod); - return result; -}; -var __importDefault = (this && this.__importDefault) || function (mod) { - return (mod && mod.__esModule) ? mod : { "default": mod }; -}; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.unpackArchive = void 0; -const child_process_1 = require("child_process"); -const fs_1 = require("fs"); -const promises_1 = require("fs/promises"); -const path = __importStar(require("path")); -const util_1 = require("util"); -const extract_zip_1 = __importDefault(require("extract-zip")); -const tar_fs_1 = __importDefault(require("tar-fs")); -const unbzip2_stream_1 = __importDefault(require("unbzip2-stream")); -const exec = (0, util_1.promisify)(child_process_1.exec); -/** - * @internal - */ -async function unpackArchive(archivePath, folderPath) { - if (archivePath.endsWith('.zip')) { - await (0, extract_zip_1.default)(archivePath, { dir: folderPath }); - } - else if (archivePath.endsWith('.tar.bz2')) { - await extractTar(archivePath, folderPath); - } - else if (archivePath.endsWith('.dmg')) { - await (0, promises_1.mkdir)(folderPath); - await installDMG(archivePath, folderPath); - } - else { - throw new Error(`Unsupported archive format: ${archivePath}`); - } -} -exports.unpackArchive = unpackArchive; -/** - * @internal - */ -function extractTar(tarPath, folderPath) { - return new Promise((fulfill, reject) => { - const tarStream = tar_fs_1.default.extract(folderPath); - tarStream.on('error', reject); - tarStream.on('finish', fulfill); - const readStream = (0, fs_1.createReadStream)(tarPath); - readStream.pipe((0, unbzip2_stream_1.default)()).pipe(tarStream); - }); -} -/** - * @internal - */ -async function installDMG(dmgPath, folderPath) { - const { stdout } = await exec(`hdiutil attach -nobrowse -noautoopen "${dmgPath}"`); - const volumes = stdout.match(/\/Volumes\/(.*)/m); - if (!volumes) { - throw new Error(`Could not find volume path in ${stdout}`); - } - const mountPath = volumes[0]; - try { - const fileNames = await (0, promises_1.readdir)(mountPath); - const appName = fileNames.find(item => { - return typeof item === 'string' && item.endsWith('.app'); - }); - if (!appName) { - throw new Error(`Cannot find app in ${mountPath}`); - } - const mountedPath = path.join(mountPath, appName); - await exec(`cp -R "${mountedPath}" "${folderPath}"`); - } - finally { - await exec(`hdiutil detach "${mountPath}" -quiet`); - } -} -//# sourceMappingURL=fileUtil.js.map \ No newline at end of file diff --git a/node_modules/@puppeteer/browsers/lib/cjs/fileUtil.js.map b/node_modules/@puppeteer/browsers/lib/cjs/fileUtil.js.map deleted file mode 100644 index ecc079d..0000000 --- a/node_modules/@puppeteer/browsers/lib/cjs/fileUtil.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"fileUtil.js","sourceRoot":"","sources":["../../src/fileUtil.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,iDAAuD;AACvD,2BAAoC;AACpC,0CAA2C;AAC3C,2CAA6B;AAC7B,+BAA+B;AAE/B,8DAAqC;AACrC,oDAAyB;AACzB,oEAAkC;AAElC,MAAM,IAAI,GAAG,IAAA,gBAAS,EAAC,oBAAgB,CAAC,CAAC;AAEzC;;GAEG;AACI,KAAK,UAAU,aAAa,CACjC,WAAmB,EACnB,UAAkB;IAElB,IAAI,WAAW,CAAC,QAAQ,CAAC,MAAM,CAAC,EAAE,CAAC;QACjC,MAAM,IAAA,qBAAU,EAAC,WAAW,EAAE,EAAC,GAAG,EAAE,UAAU,EAAC,CAAC,CAAC;IACnD,CAAC;SAAM,IAAI,WAAW,CAAC,QAAQ,CAAC,UAAU,CAAC,EAAE,CAAC;QAC5C,MAAM,UAAU,CAAC,WAAW,EAAE,UAAU,CAAC,CAAC;IAC5C,CAAC;SAAM,IAAI,WAAW,CAAC,QAAQ,CAAC,MAAM,CAAC,E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AAS,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE;YACpC,OAAO,OAAO,IAAI,KAAK,QAAQ,IAAI,IAAI,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC;QAC3D,CAAC,CAAC,CAAC;QACH,IAAI,CAAC,OAAO,EAAE,CAAC;YACb,MAAM,IAAI,KAAK,CAAC,sBAAsB,SAAS,EAAE,CAAC,CAAC;QACrD,CAAC;QACD,MAAM,WAAW,GAAG,IAAI,CAAC,IAAI,CAAC,SAAU,EAAE,OAAO,CAAC,CAAC;QAEnD,MAAM,IAAI,CAAC,UAAU,WAAW,MAAM,UAAU,GAAG,CAAC,CAAC;IACvD,CAAC;YAAS,CAAC;QACT,MAAM,IAAI,CAAC,mBAAmB,SAAS,UAAU,CAAC,CAAC;IACrD,CAAC;AACH,CAAC"} \ No newline at end of file diff --git a/node_modules/@puppeteer/browsers/lib/cjs/httpUtil.d.ts b/node_modules/@puppeteer/browsers/lib/cjs/httpUtil.d.ts deleted file mode 100644 index 48bfd37..0000000 --- a/node_modules/@puppeteer/browsers/lib/cjs/httpUtil.d.ts +++ /dev/null @@ -1,18 +0,0 @@ -/** - * @license - * Copyright 2023 Google Inc. - * SPDX-License-Identifier: Apache-2.0 - */ -/// -/// -import * as http from 'http'; -import { URL } from 'url'; -export declare function headHttpRequest(url: URL): Promise; -export declare function httpRequest(url: URL, method: string, response: (x: http.IncomingMessage) => void, keepAlive?: boolean): http.ClientRequest; -/** - * @internal - */ -export declare function downloadFile(url: URL, destinationPath: string, progressCallback?: (downloadedBytes: number, totalBytes: number) => void): Promise; -export declare function getJSON(url: URL): Promise; -export declare function getText(url: URL): Promise; -//# sourceMappingURL=httpUtil.d.ts.map \ No newline at end of file diff --git a/node_modules/@puppeteer/browsers/lib/cjs/httpUtil.d.ts.map b/node_modules/@puppeteer/browsers/lib/cjs/httpUtil.d.ts.map deleted file mode 100644 index e7253d2..0000000 --- a/node_modules/@puppeteer/browsers/lib/cjs/httpUtil.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"httpUtil.d.ts","sourceRoot":"","sources":["../../src/httpUtil.ts"],"names":[],"mappings":"AAAA;;;;GAIG;;;AAGH,OAAO,KAAK,IAAI,MAAM,MAAM,CAAC;AAE7B,OAAO,EAAC,GAAG,EAAmB,MAAM,KAAK,CAAC;AAI1C,wBAAgB,eAAe,CAAC,GAAG,EAAE,GAAG,GAAG,OAAO,CAAC,OAAO,CAAC,CAgB1D;AAED,wBAAgB,WAAW,CACzB,GAAG,EAAE,GAAG,EACR,MAAM,EAAE,MAAM,EACd,QAAQ,EAAE,CAAC,CAAC,EAAE,IAAI,CAAC,eAAe,KAAK,IAAI,EAC3C,SAAS,UAAO,GACf,IAAI,CAAC,aAAa,CA8BpB;AAED;;GAEG;AACH,wBAAgB,YAAY,CAC1B,GAAG,EAAE,GAAG,EACR,eAAe,EAAE,MAAM,EACvB,gBAAgB,CAAC,EAAE,CAAC,eAAe,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,KAAK,IAAI,GACvE,OAAO,CAAC,IAAI,CAAC,CAqCf;AAED,wBAAsB,OAAO,CAAC,GAAG,EAAE,GAAG,GAAG,OAAO,CAAC,OAAO,CAAC,CAOxD;AAED,wBAAgB,OAAO,CAAC,GAAG,EAAE,GAAG,GAAG,OAAO,CAAC,MAAM,CAAC,CA2BjD"} \ No newline at end of file diff --git a/node_modules/@puppeteer/browsers/lib/cjs/httpUtil.js b/node_modules/@puppeteer/browsers/lib/cjs/httpUtil.js deleted file mode 100644 index baf50fc..0000000 --- a/node_modules/@puppeteer/browsers/lib/cjs/httpUtil.js +++ /dev/null @@ -1,152 +0,0 @@ -"use strict"; -/** - * @license - * Copyright 2023 Google Inc. - * SPDX-License-Identifier: Apache-2.0 - */ -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { - Object.defineProperty(o, "default", { enumerable: true, value: v }); -}) : function(o, v) { - o["default"] = v; -}); -var __importStar = (this && this.__importStar) || function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); - __setModuleDefault(result, mod); - return result; -}; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.getText = exports.getJSON = exports.downloadFile = exports.httpRequest = exports.headHttpRequest = void 0; -const fs_1 = require("fs"); -const http = __importStar(require("http")); -const https = __importStar(require("https")); -const url_1 = require("url"); -const proxy_agent_1 = require("proxy-agent"); -function headHttpRequest(url) { - return new Promise(resolve => { - const request = httpRequest(url, 'HEAD', response => { - // consume response data free node process - response.resume(); - resolve(response.statusCode === 200); - }, false); - request.on('error', () => { - resolve(false); - }); - }); -} -exports.headHttpRequest = headHttpRequest; -function httpRequest(url, method, response, keepAlive = true) { - const options = { - protocol: url.protocol, - hostname: url.hostname, - port: url.port, - path: url.pathname + url.search, - method, - headers: keepAlive ? { Connection: 'keep-alive' } : undefined, - auth: (0, url_1.urlToHttpOptions)(url).auth, - agent: new proxy_agent_1.ProxyAgent(), - }; - const requestCallback = (res) => { - if (res.statusCode && - res.statusCode >= 300 && - res.statusCode < 400 && - res.headers.location) { - httpRequest(new url_1.URL(res.headers.location), method, response); - } - else { - response(res); - } - }; - const request = options.protocol === 'https:' - ? https.request(options, requestCallback) - : http.request(options, requestCallback); - request.end(); - return request; -} -exports.httpRequest = httpRequest; -/** - * @internal - */ -function downloadFile(url, destinationPath, progressCallback) { - return new Promise((resolve, reject) => { - let downloadedBytes = 0; - let totalBytes = 0; - function onData(chunk) { - downloadedBytes += chunk.length; - progressCallback(downloadedBytes, totalBytes); - } - const request = httpRequest(url, 'GET', response => { - if (response.statusCode !== 200) { - const error = new Error(`Download failed: server returned code ${response.statusCode}. URL: ${url}`); - // consume response data to free up memory - response.resume(); - reject(error); - return; - } - const file = (0, fs_1.createWriteStream)(destinationPath); - file.on('finish', () => { - return resolve(); - }); - file.on('error', error => { - return reject(error); - }); - response.pipe(file); - totalBytes = parseInt(response.headers['content-length'], 10); - if (progressCallback) { - response.on('data', onData); - } - }); - request.on('error', error => { - return reject(error); - }); - }); -} -exports.downloadFile = downloadFile; -async function getJSON(url) { - const text = await getText(url); - try { - return JSON.parse(text); - } - catch { - throw new Error('Could not parse JSON from ' + url.toString()); - } -} -exports.getJSON = getJSON; -function getText(url) { - return new Promise((resolve, reject) => { - const request = httpRequest(url, 'GET', response => { - let data = ''; - if (response.statusCode && response.statusCode >= 400) { - return reject(new Error(`Got status code ${response.statusCode}`)); - } - response.on('data', chunk => { - data += chunk; - }); - response.on('end', () => { - try { - return resolve(String(data)); - } - catch { - return reject(new Error('Chrome version not found')); - } - }); - }, false); - request.on('error', err => { - reject(err); - }); - }); -} -exports.getText = getText; -//# sourceMappingURL=httpUtil.js.map \ No newline at end of file diff --git a/node_modules/@puppeteer/browsers/lib/cjs/httpUtil.js.map b/node_modules/@puppeteer/browsers/lib/cjs/httpUtil.js.map deleted file mode 100644 index 3411599..0000000 --- a/node_modules/@puppeteer/browsers/lib/cjs/httpUtil.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"httpUtil.js","sourceRoot":"","sources":["../../src/httpUtil.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,2BAAqC;AACrC,2CAA6B;AAC7B,6CAA+B;AAC/B,6BAA0C;AAE1C,6CAAuC;AAEvC,SAAgB,eAAe,CAAC,GAAQ;IACtC,OAAO,IAAI,OAAO,CAAC,OAAO,CAAC,EAAE;QAC3B,MAAM,OAAO,GAAG,WA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,CAAC;YACD,QAAQ,CAAC,EAAE,CAAC,MAAM,EAAE,KAAK,CAAC,EAAE;gBAC1B,IAAI,IAAI,KAAK,CAAC;YAChB,CAAC,CAAC,CAAC;YACH,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,GAAG,EAAE;gBACtB,IAAI,CAAC;oBACH,OAAO,OAAO,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC;gBAC/B,CAAC;gBAAC,MAAM,CAAC;oBACP,OAAO,MAAM,CAAC,IAAI,KAAK,CAAC,0BAA0B,CAAC,CAAC,CAAC;gBACvD,CAAC;YACH,CAAC,CAAC,CAAC;QACL,CAAC,EACD,KAAK,CACN,CAAC;QACF,OAAO,CAAC,EAAE,CAAC,OAAO,EAAE,GAAG,CAAC,EAAE;YACxB,MAAM,CAAC,GAAG,CAAC,CAAC;QACd,CAAC,CAAC,CAAC;IACL,CAAC,CAAC,CAAC;AACL,CAAC;AA3BD,0BA2BC"} \ No newline at end of file diff --git a/node_modules/@puppeteer/browsers/lib/cjs/install.d.ts b/node_modules/@puppeteer/browsers/lib/cjs/install.d.ts deleted file mode 100644 index a2ad587..0000000 --- a/node_modules/@puppeteer/browsers/lib/cjs/install.d.ts +++ /dev/null @@ -1,118 +0,0 @@ -/** - * @license - * Copyright 2017 Google Inc. - * SPDX-License-Identifier: Apache-2.0 - */ -import { Browser, BrowserPlatform } from './browser-data/browser-data.js'; -import { InstalledBrowser } from './Cache.js'; -/** - * @public - */ -export interface InstallOptions { - /** - * Determines the path to download browsers to. - */ - cacheDir: string; - /** - * Determines which platform the browser will be suited for. - * - * @defaultValue **Auto-detected.** - */ - platform?: BrowserPlatform; - /** - * Determines which browser to install. - */ - browser: Browser; - /** - * Determines which buildId to download. BuildId should uniquely identify - * binaries and they are used for caching. - */ - buildId: string; - /** - * An alias for the provided `buildId`. It will be used to maintain local - * metadata to support aliases in the `launch` command. - * - * @example 'canary' - */ - buildIdAlias?: string; - /** - * Provides information about the progress of the download. - */ - downloadProgressCallback?: (downloadedBytes: number, totalBytes: number) => void; - /** - * Determines the host that will be used for downloading. - * - * @defaultValue Either - * - * - https://storage.googleapis.com/chrome-for-testing-public or - * - https://archive.mozilla.org/pub/firefox/nightly/latest-mozilla-central - * - */ - baseUrl?: string; - /** - * Whether to unpack and install browser archives. - * - * @defaultValue `true` - */ - unpack?: boolean; -} -/** - * @public - */ -export declare function install(options: InstallOptions & { - unpack?: true; -}): Promise; -/** - * @public - */ -export declare function install(options: InstallOptions & { - unpack: false; -}): Promise; -/** - * @public - */ -export interface UninstallOptions { - /** - * Determines the platform for the browser binary. - * - * @defaultValue **Auto-detected.** - */ - platform?: BrowserPlatform; - /** - * The path to the root of the cache directory. - */ - cacheDir: string; - /** - * Determines which browser to uninstall. - */ - browser: Browser; - /** - * The browser build to uninstall - */ - buildId: string; -} -/** - * - * @public - */ -export declare function uninstall(options: UninstallOptions): Promise; -/** - * @public - */ -export interface GetInstalledBrowsersOptions { - /** - * The path to the root of the cache directory. - */ - cacheDir: string; -} -/** - * Returns metadata about browsers installed in the cache directory. - * - * @public - */ -export declare function getInstalledBrowsers(options: GetInstalledBrowsersOptions): Promise; -/** - * @public - */ -export declare function canDownload(options: InstallOptions): Promise; -//# sourceMappingURL=install.d.ts.map \ No newline at end of file diff --git a/node_modules/@puppeteer/browsers/lib/cjs/install.d.ts.map b/node_modules/@puppeteer/browsers/lib/cjs/install.d.ts.map deleted file mode 100644 index d60705c..0000000 --- a/node_modules/@puppeteer/browsers/lib/cjs/install.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"install.d.ts","sourceRoot":"","sources":["../../src/install.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAQH,OAAO,EACL,OAAO,EACP,eAAe,EAEhB,MAAM,gCAAgC,CAAC;AACxC,OAAO,EAAQ,gBAAgB,EAAC,MAAM,YAAY,CAAC;AAwBnD;;GAEG;AACH,MAAM,WAAW,cAAc;IAC7B;;OAEG;IACH,QAAQ,EAAE,MAA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AsB,WAAW,CAAC,OAAO,EAAE,cAAc,GAAG,OAAO,CAAC,OAAO,CAAC,CAe3E"} \ No newline at end of file diff --git a/node_modules/@puppeteer/browsers/lib/cjs/install.js b/node_modules/@puppeteer/browsers/lib/cjs/install.js deleted file mode 100644 index 043db1f..0000000 --- a/node_modules/@puppeteer/browsers/lib/cjs/install.js +++ /dev/null @@ -1,185 +0,0 @@ -"use strict"; -/** - * @license - * Copyright 2017 Google Inc. - * SPDX-License-Identifier: Apache-2.0 - */ -var __importDefault = (this && this.__importDefault) || function (mod) { - return (mod && mod.__esModule) ? mod : { "default": mod }; -}; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.canDownload = exports.getInstalledBrowsers = exports.uninstall = exports.install = void 0; -const assert_1 = __importDefault(require("assert")); -const fs_1 = require("fs"); -const promises_1 = require("fs/promises"); -const os_1 = __importDefault(require("os")); -const path_1 = __importDefault(require("path")); -const browser_data_js_1 = require("./browser-data/browser-data.js"); -const Cache_js_1 = require("./Cache.js"); -const debug_js_1 = require("./debug.js"); -const detectPlatform_js_1 = require("./detectPlatform.js"); -const fileUtil_js_1 = require("./fileUtil.js"); -const httpUtil_js_1 = require("./httpUtil.js"); -const debugInstall = (0, debug_js_1.debug)('puppeteer:browsers:install'); -const times = new Map(); -function debugTime(label) { - times.set(label, process.hrtime()); -} -function debugTimeEnd(label) { - const end = process.hrtime(); - const start = times.get(label); - if (!start) { - return; - } - const duration = end[0] * 1000 + end[1] / 1e6 - (start[0] * 1000 + start[1] / 1e6); // calculate duration in milliseconds - debugInstall(`Duration for ${label}: ${duration}ms`); -} -async function install(options) { - options.platform ??= (0, detectPlatform_js_1.detectBrowserPlatform)(); - options.unpack ??= true; - if (!options.platform) { - throw new Error(`Cannot download a binary for the provided platform: ${os_1.default.platform()} (${os_1.default.arch()})`); - } - const url = getDownloadUrl(options.browser, options.platform, options.buildId, options.baseUrl); - try { - return await installUrl(url, options); - } - catch (err) { - debugInstall(`Error downloading from ${url}.`); - switch (options.browser) { - case browser_data_js_1.Browser.CHROME: - case browser_data_js_1.Browser.CHROMEDRIVER: - case browser_data_js_1.Browser.CHROMEHEADLESSSHELL: { - debugInstall(`Trying to find download URL via https://googlechromelabs.github.io/chrome-for-testing.`); - const version = (await (0, httpUtil_js_1.getJSON)(new URL(`https://googlechromelabs.github.io/chrome-for-testing/${options.buildId}.json`))); - let platform = ''; - switch (options.platform) { - case browser_data_js_1.BrowserPlatform.LINUX: - platform = 'linux64'; - break; - case browser_data_js_1.BrowserPlatform.MAC_ARM: - platform = 'mac-arm64'; - break; - case browser_data_js_1.BrowserPlatform.MAC: - platform = 'mac-x64'; - break; - case browser_data_js_1.BrowserPlatform.WIN32: - platform = 'win32'; - break; - case browser_data_js_1.BrowserPlatform.WIN64: - platform = 'win64'; - break; - } - const url = version.downloads[options.browser]?.find(link => { - return link['platform'] === platform; - })?.url; - if (url) { - debugInstall(`Falling back to downloading from ${url}.`); - return await installUrl(new URL(url), options); - } - throw err; - } - default: - throw err; - } - } -} -exports.install = install; -async function installUrl(url, options) { - options.platform ??= (0, detectPlatform_js_1.detectBrowserPlatform)(); - if (!options.platform) { - throw new Error(`Cannot download a binary for the provided platform: ${os_1.default.platform()} (${os_1.default.arch()})`); - } - const fileName = url.toString().split('/').pop(); - (0, assert_1.default)(fileName, `A malformed download URL was found: ${url}.`); - const cache = new Cache_js_1.Cache(options.cacheDir); - const browserRoot = cache.browserRoot(options.browser); - const archivePath = path_1.default.join(browserRoot, `${options.buildId}-${fileName}`); - if (!(0, fs_1.existsSync)(browserRoot)) { - await (0, promises_1.mkdir)(browserRoot, { recursive: true }); - } - if (!options.unpack) { - if ((0, fs_1.existsSync)(archivePath)) { - return archivePath; - } - debugInstall(`Downloading binary from ${url}`); - debugTime('download'); - await (0, httpUtil_js_1.downloadFile)(url, archivePath, options.downloadProgressCallback); - debugTimeEnd('download'); - return archivePath; - } - const outputPath = cache.installationDir(options.browser, options.platform, options.buildId); - try { - if ((0, fs_1.existsSync)(outputPath)) { - const installedBrowser = new Cache_js_1.InstalledBrowser(cache, options.browser, options.buildId, options.platform); - if (!(0, fs_1.existsSync)(installedBrowser.executablePath)) { - throw new Error(`The browser folder (${outputPath}) exists but the executable (${installedBrowser.executablePath}) is missing`); - } - return installedBrowser; - } - debugInstall(`Downloading binary from ${url}`); - try { - debugTime('download'); - await (0, httpUtil_js_1.downloadFile)(url, archivePath, options.downloadProgressCallback); - } - finally { - debugTimeEnd('download'); - } - debugInstall(`Installing ${archivePath} to ${outputPath}`); - try { - debugTime('extract'); - await (0, fileUtil_js_1.unpackArchive)(archivePath, outputPath); - } - finally { - debugTimeEnd('extract'); - } - const installedBrowser = new Cache_js_1.InstalledBrowser(cache, options.browser, options.buildId, options.platform); - if (options.buildIdAlias) { - const metadata = installedBrowser.readMetadata(); - metadata.aliases[options.buildIdAlias] = options.buildId; - installedBrowser.writeMetadata(metadata); - } - return installedBrowser; - } - finally { - if ((0, fs_1.existsSync)(archivePath)) { - await (0, promises_1.unlink)(archivePath); - } - } -} -/** - * - * @public - */ -async function uninstall(options) { - options.platform ??= (0, detectPlatform_js_1.detectBrowserPlatform)(); - if (!options.platform) { - throw new Error(`Cannot detect the browser platform for: ${os_1.default.platform()} (${os_1.default.arch()})`); - } - new Cache_js_1.Cache(options.cacheDir).uninstall(options.browser, options.platform, options.buildId); -} -exports.uninstall = uninstall; -/** - * Returns metadata about browsers installed in the cache directory. - * - * @public - */ -async function getInstalledBrowsers(options) { - return new Cache_js_1.Cache(options.cacheDir).getInstalledBrowsers(); -} -exports.getInstalledBrowsers = getInstalledBrowsers; -/** - * @public - */ -async function canDownload(options) { - options.platform ??= (0, detectPlatform_js_1.detectBrowserPlatform)(); - if (!options.platform) { - throw new Error(`Cannot download a binary for the provided platform: ${os_1.default.platform()} (${os_1.default.arch()})`); - } - return await (0, httpUtil_js_1.headHttpRequest)(getDownloadUrl(options.browser, options.platform, options.buildId, options.baseUrl)); -} -exports.canDownload = canDownload; -function getDownloadUrl(browser, platform, buildId, baseUrl) { - return new URL(browser_data_js_1.downloadUrls[browser](platform, buildId, baseUrl)); -} -//# sourceMappingURL=install.js.map \ No newline at end of file diff --git a/node_modules/@puppeteer/browsers/lib/cjs/install.js.map b/node_modules/@puppeteer/browsers/lib/cjs/install.js.map deleted file mode 100644 index 7dcbc51..0000000 --- a/node_modules/@puppeteer/browsers/lib/cjs/install.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"install.js","sourceRoot":"","sources":["../../src/install.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;;;;AAEH,oDAA4B;AAC5B,2BAA8B;AAC9B,0CAA0C;AAC1C,4CAAoB;AACpB,gDAAwB;AAExB,oEAIwC;AACxC,yCAAmD;AACnD,yCAAiC;AACjC,2DAA0D;AAC1D,+CAA4C;AAC5C,+CAAqE;AAErE,MAAM,YAAY,GAAG,IAAA,gBAAK,EAAC,4BAA4B,CAAC,CAAC;AAEzD,MAAM,KAAK,GAAG,IAAI,GAAG,EAA4B,CAAC;AAClD,SAAS,SAAS,CAAC,KAAa;IAC9B,KAAK,CAAC,GAAG,CAAC,KAAK,EAAE,OAAO,CAAC,MAAM,EAAE,CAAC,CAAC;AACrC,CAAC;AAED,SAAS,YAAY,CAAC,KAAa;IACjC,MAAM,GAAG,GAAG,OAAO,CAAC,MAAM,EAAE,CAAC;IAC7B,MAAM,KAAK,GAAG,KAAK,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;IAC/B,IAAI,CAAC,KAAK,EAAE,CAAC;QACX,OAAO;IACT,CAAC;IACD,MAAM,QAAQ,GACZ,GAAG,CAAC,CAAC,CAAC,GAAG,IAAI,GAAG,GAAG,CAAC,CAAC,CAAC,GAAG,GAAG,GAAG,CAAC,KAAK,CAAC,CAAC,CAAC,GAAG,IAAI,GAAG,KAAK,CAAC,CAAC,CAAC,GAAG,GAAG,CAAC,CAAC,CAAC,qCAAqC;IAC1G,YAAY,CAAC,gBAAgB,KAAK,KAAK,QAAQ,IAAI,CAAC,CAAC;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ers/lib/cjs/launch.d.ts b/node_modules/@puppeteer/browsers/lib/cjs/launch.d.ts deleted file mode 100644 index 54335f7..0000000 --- a/node_modules/@puppeteer/browsers/lib/cjs/launch.d.ts +++ /dev/null @@ -1,124 +0,0 @@ -/** - * @license - * Copyright 2023 Google Inc. - * SPDX-License-Identifier: Apache-2.0 - */ -/// -/// -import childProcess from 'child_process'; -import { type Browser, type BrowserPlatform, type ChromeReleaseChannel } from './browser-data/browser-data.js'; -/** - * @public - */ -export interface ComputeExecutablePathOptions { - /** - * Root path to the storage directory. - */ - cacheDir: string; - /** - * Determines which platform the browser will be suited for. - * - * @defaultValue **Auto-detected.** - */ - platform?: BrowserPlatform; - /** - * Determines which browser to launch. - */ - browser: Browser; - /** - * Determines which buildId to download. BuildId should uniquely identify - * binaries and they are used for caching. - */ - buildId: string; -} -/** - * @public - */ -export declare function computeExecutablePath(options: ComputeExecutablePathOptions): string; -/** - * @public - */ -export interface SystemOptions { - /** - * Determines which platform the browser will be suited for. - * - * @defaultValue **Auto-detected.** - */ - platform?: BrowserPlatform; - /** - * Determines which browser to launch. - */ - browser: Browser; - /** - * Release channel to look for on the system. - */ - channel: ChromeReleaseChannel; -} -/** - * @public - */ -export declare function computeSystemExecutablePath(options: SystemOptions): string; -/** - * @public - */ -export interface LaunchOptions { - executablePath: string; - pipe?: boolean; - dumpio?: boolean; - args?: string[]; - env?: Record; - handleSIGINT?: boolean; - handleSIGTERM?: boolean; - handleSIGHUP?: boolean; - detached?: boolean; - onExit?: () => Promise; -} -/** - * @public - */ -export declare function launch(opts: LaunchOptions): Process; -/** - * @public - */ -export declare const CDP_WEBSOCKET_ENDPOINT_REGEX: RegExp; -/** - * @public - */ -export declare const WEBDRIVER_BIDI_WEBSOCKET_ENDPOINT_REGEX: RegExp; -/** - * @public - */ -export declare class Process { - #private; - constructor(opts: LaunchOptions); - get nodeProcess(): childProcess.ChildProcess; - close(): Promise; - hasClosed(): Promise; - kill(): void; - waitForLineOutput(regex: RegExp, timeout?: number): Promise; -} -/** - * @internal - */ -export interface ErrorLike extends Error { - name: string; - message: string; -} -/** - * @internal - */ -export declare function isErrorLike(obj: unknown): obj is ErrorLike; -/** - * @internal - */ -export declare function isErrnoException(obj: unknown): obj is NodeJS.ErrnoException; -/** - * @public - */ -export declare class TimeoutError extends Error { - /** - * @internal - */ - constructor(message?: string); -} -//# sourceMappingURL=launch.d.ts.map \ No newline at end of file diff --git a/node_modules/@puppeteer/browsers/lib/cjs/launch.d.ts.map b/node_modules/@puppeteer/browsers/lib/cjs/launch.d.ts.map deleted file mode 100644 index 5b26214..0000000 --- a/node_modules/@puppeteer/browsers/lib/cjs/launch.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"launch.d.ts","sourceRoot":"","sources":["../../src/launch.ts"],"names":[],"mappings":"AAAA;;;;GAIG;;;AAEH,OAAO,YAAY,MAAM,eAAe,CAAC;AAKzC,OAAO,EACL,KAAK,OAAO,EACZ,KAAK,eAAe,EAEpB,KAAK,oBAAoB,EAC1B,MAAM,gCAAgC,CAAC;AAOxC;;GAEG;AACH,MAAM,WAAW,4BAA4B;IAC3C;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,eAAe,CAAC;IAC3B;;OAEG;IACH,OAAO,EAAE,OAAO,CAAC;IACjB;;;OAGG;IACH,OAAO,EAAE,MAAM,CAAC;CACjB;AAED;;GAEG;AACH,wBAAgB,qBAAqB,CACnC,OAAO,EAAE,4BAA4B,GACpC,MAAM,CAER;AAED;;GAEG;AACH,MAAM,WAAW,aAAa;IAC5B;;;;OAIG;IACH,QAAQ,CAAC,EAAE,eAAe,CAAC;IAC3B;;OAEG;IACH,OAAO,EAAE,OAAO,CAAC;IACjB;;OAEG;IACH,OAAO,EAAE,oBAAoB,CAAC;CAC/B;AAED;;GAEG;AACH,wBAAgB,2BAA2B,CAAC,OAAO,EAAE,aAAa,GAAG,MAAM,CAoB1E;AAED;;GAEG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AAM,CAAC,cAAc,CAK3E;AAED;;GAEG;AACH,qBAAa,YAAa,SAAQ,KAAK;IACrC;;OAEG;gBACS,OAAO,CAAC,EAAE,MAAM;CAK7B"} \ No newline at end of file diff --git a/node_modules/@puppeteer/browsers/lib/cjs/launch.js b/node_modules/@puppeteer/browsers/lib/cjs/launch.js deleted file mode 100644 index 45cbaf0..0000000 --- a/node_modules/@puppeteer/browsers/lib/cjs/launch.js +++ /dev/null @@ -1,342 +0,0 @@ -"use strict"; -/** - * @license - * Copyright 2023 Google Inc. - * SPDX-License-Identifier: Apache-2.0 - */ -var __importDefault = (this && this.__importDefault) || function (mod) { - return (mod && mod.__esModule) ? mod : { "default": mod }; -}; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.TimeoutError = exports.isErrnoException = exports.isErrorLike = exports.Process = exports.WEBDRIVER_BIDI_WEBSOCKET_ENDPOINT_REGEX = exports.CDP_WEBSOCKET_ENDPOINT_REGEX = exports.launch = exports.computeSystemExecutablePath = exports.computeExecutablePath = void 0; -const child_process_1 = __importDefault(require("child_process")); -const fs_1 = require("fs"); -const os_1 = __importDefault(require("os")); -const readline_1 = __importDefault(require("readline")); -const browser_data_js_1 = require("./browser-data/browser-data.js"); -const Cache_js_1 = require("./Cache.js"); -const debug_js_1 = require("./debug.js"); -const detectPlatform_js_1 = require("./detectPlatform.js"); -const debugLaunch = (0, debug_js_1.debug)('puppeteer:browsers:launcher'); -/** - * @public - */ -function computeExecutablePath(options) { - return new Cache_js_1.Cache(options.cacheDir).computeExecutablePath(options); -} -exports.computeExecutablePath = computeExecutablePath; -/** - * @public - */ -function computeSystemExecutablePath(options) { - options.platform ??= (0, detectPlatform_js_1.detectBrowserPlatform)(); - if (!options.platform) { - throw new Error(`Cannot download a binary for the provided platform: ${os_1.default.platform()} (${os_1.default.arch()})`); - } - const path = (0, browser_data_js_1.resolveSystemExecutablePath)(options.browser, options.platform, options.channel); - try { - (0, fs_1.accessSync)(path); - } - catch (error) { - throw new Error(`Could not find Google Chrome executable for channel '${options.channel}' at '${path}'.`); - } - return path; -} -exports.computeSystemExecutablePath = computeSystemExecutablePath; -/** - * @public - */ -function launch(opts) { - return new Process(opts); -} -exports.launch = launch; -/** - * @public - */ -exports.CDP_WEBSOCKET_ENDPOINT_REGEX = /^DevTools listening on (ws:\/\/.*)$/; -/** - * @public - */ -exports.WEBDRIVER_BIDI_WEBSOCKET_ENDPOINT_REGEX = /^WebDriver BiDi listening on (ws:\/\/.*)$/; -/** - * @public - */ -class Process { - #executablePath; - #args; - #browserProcess; - #exited = false; - // The browser process can be closed externally or from the driver process. We - // need to invoke the hooks only once though but we don't know how many times - // we will be invoked. - #hooksRan = false; - #onExitHook = async () => { }; - #browserProcessExiting; - constructor(opts) { - this.#executablePath = opts.executablePath; - this.#args = opts.args ?? []; - opts.pipe ??= false; - opts.dumpio ??= false; - opts.handleSIGINT ??= true; - opts.handleSIGTERM ??= true; - opts.handleSIGHUP ??= true; - // On non-windows platforms, `detached: true` makes child process a - // leader of a new process group, making it possible to kill child - // process tree with `.kill(-pid)` command. @see - // https://nodejs.org/api/child_process.html#child_process_options_detached - opts.detached ??= process.platform !== 'win32'; - const stdio = this.#configureStdio({ - pipe: opts.pipe, - dumpio: opts.dumpio, - }); - const env = opts.env || {}; - debugLaunch(`Launching ${this.#executablePath} ${this.#args.join(' ')}`, { - detached: opts.detached, - env: Object.keys(env).reduce((res, key) => { - if (key.toLowerCase().startsWith('puppeteer_')) { - res[key] = env[key]; - } - return res; - }, {}), - stdio, - }); - this.#browserProcess = child_process_1.default.spawn(this.#executablePath, this.#args, { - detached: opts.detached, - env, - stdio, - }); - debugLaunch(`Launched ${this.#browserProcess.pid}`); - if (opts.dumpio) { - this.#browserProcess.stderr?.pipe(process.stderr); - this.#browserProcess.stdout?.pipe(process.stdout); - } - process.on('exit', this.#onDriverProcessExit); - if (opts.handleSIGINT) { - process.on('SIGINT', this.#onDriverProcessSignal); - } - if (opts.handleSIGTERM) { - process.on('SIGTERM', this.#onDriverProcessSignal); - } - if (opts.handleSIGHUP) { - process.on('SIGHUP', this.#onDriverProcessSignal); - } - if (opts.onExit) { - this.#onExitHook = opts.onExit; - } - this.#browserProcessExiting = new Promise((resolve, reject) => { - this.#browserProcess.once('exit', async () => { - debugLaunch(`Browser process ${this.#browserProcess.pid} onExit`); - this.#clearListeners(); - this.#exited = true; - try { - await this.#runHooks(); - } - catch (err) { - reject(err); - return; - } - resolve(); - }); - }); - } - async #runHooks() { - if (this.#hooksRan) { - return; - } - this.#hooksRan = true; - await this.#onExitHook(); - } - get nodeProcess() { - return this.#browserProcess; - } - #configureStdio(opts) { - if (opts.pipe) { - if (opts.dumpio) { - return ['ignore', 'pipe', 'pipe', 'pipe', 'pipe']; - } - else { - return ['ignore', 'ignore', 'ignore', 'pipe', 'pipe']; - } - } - else { - if (opts.dumpio) { - return ['pipe', 'pipe', 'pipe']; - } - else { - return ['pipe', 'ignore', 'pipe']; - } - } - } - #clearListeners() { - process.off('exit', this.#onDriverProcessExit); - process.off('SIGINT', this.#onDriverProcessSignal); - process.off('SIGTERM', this.#onDriverProcessSignal); - process.off('SIGHUP', this.#onDriverProcessSignal); - } - #onDriverProcessExit = (_code) => { - this.kill(); - }; - #onDriverProcessSignal = (signal) => { - switch (signal) { - case 'SIGINT': - this.kill(); - process.exit(130); - case 'SIGTERM': - case 'SIGHUP': - void this.close(); - break; - } - }; - async close() { - await this.#runHooks(); - if (!this.#exited) { - this.kill(); - } - return await this.#browserProcessExiting; - } - hasClosed() { - return this.#browserProcessExiting; - } - kill() { - debugLaunch(`Trying to kill ${this.#browserProcess.pid}`); - // If the process failed to launch (for example if the browser executable path - // is invalid), then the process does not get a pid assigned. A call to - // `proc.kill` would error, as the `pid` to-be-killed can not be found. - if (this.#browserProcess && - this.#browserProcess.pid && - pidExists(this.#browserProcess.pid)) { - try { - debugLaunch(`Browser process ${this.#browserProcess.pid} exists`); - if (process.platform === 'win32') { - try { - child_process_1.default.execSync(`taskkill /pid ${this.#browserProcess.pid} /T /F`); - } - catch (error) { - debugLaunch(`Killing ${this.#browserProcess.pid} using taskkill failed`, error); - // taskkill can fail to kill the process e.g. due to missing permissions. - // Let's kill the process via Node API. This delays killing of all child - // processes of `this.proc` until the main Node.js process dies. - this.#browserProcess.kill(); - } - } - else { - // on linux the process group can be killed with the group id prefixed with - // a minus sign. The process group id is the group leader's pid. - const processGroupId = -this.#browserProcess.pid; - try { - process.kill(processGroupId, 'SIGKILL'); - } - catch (error) { - debugLaunch(`Killing ${this.#browserProcess.pid} using process.kill failed`, error); - // Killing the process group can fail due e.g. to missing permissions. - // Let's kill the process via Node API. This delays killing of all child - // processes of `this.proc` until the main Node.js process dies. - this.#browserProcess.kill('SIGKILL'); - } - } - } - catch (error) { - throw new Error(`${PROCESS_ERROR_EXPLANATION}\nError cause: ${isErrorLike(error) ? error.stack : error}`); - } - } - this.#clearListeners(); - } - waitForLineOutput(regex, timeout = 0) { - if (!this.#browserProcess.stderr) { - throw new Error('`browserProcess` does not have stderr.'); - } - const rl = readline_1.default.createInterface(this.#browserProcess.stderr); - let stderr = ''; - return new Promise((resolve, reject) => { - rl.on('line', onLine); - rl.on('close', onClose); - this.#browserProcess.on('exit', onClose); - this.#browserProcess.on('error', onClose); - const timeoutId = timeout > 0 ? setTimeout(onTimeout, timeout) : undefined; - const cleanup = () => { - if (timeoutId) { - clearTimeout(timeoutId); - } - rl.off('line', onLine); - rl.off('close', onClose); - this.#browserProcess.off('exit', onClose); - this.#browserProcess.off('error', onClose); - }; - function onClose(error) { - cleanup(); - reject(new Error([ - `Failed to launch the browser process!${error ? ' ' + error.message : ''}`, - stderr, - '', - 'TROUBLESHOOTING: https://pptr.dev/troubleshooting', - '', - ].join('\n'))); - } - function onTimeout() { - cleanup(); - reject(new TimeoutError(`Timed out after ${timeout} ms while waiting for the WS endpoint URL to appear in stdout!`)); - } - function onLine(line) { - stderr += line + '\n'; - const match = line.match(regex); - if (!match) { - return; - } - cleanup(); - // The RegExp matches, so this will obviously exist. - resolve(match[1]); - } - }); - } -} -exports.Process = Process; -const PROCESS_ERROR_EXPLANATION = `Puppeteer was unable to kill the process which ran the browser binary. -This means that, on future Puppeteer launches, Puppeteer might not be able to launch the browser. -Please check your open processes and ensure that the browser processes that Puppeteer launched have been killed. -If you think this is a bug, please report it on the Puppeteer issue tracker.`; -/** - * @internal - */ -function pidExists(pid) { - try { - return process.kill(pid, 0); - } - catch (error) { - if (isErrnoException(error)) { - if (error.code && error.code === 'ESRCH') { - return false; - } - } - throw error; - } -} -/** - * @internal - */ -function isErrorLike(obj) { - return (typeof obj === 'object' && obj !== null && 'name' in obj && 'message' in obj); -} -exports.isErrorLike = isErrorLike; -/** - * @internal - */ -function isErrnoException(obj) { - return (isErrorLike(obj) && - ('errno' in obj || 'code' in obj || 'path' in obj || 'syscall' in obj)); -} -exports.isErrnoException = isErrnoException; -/** - * @public - */ -class TimeoutError extends Error { - /** - * @internal - */ - constructor(message) { - super(message); - this.name = this.constructor.name; - Error.captureStackTrace(this, this.constructor); - } -} -exports.TimeoutError = TimeoutError; -//# sourceMappingURL=launch.js.map \ No newline at end of file diff --git a/node_modules/@puppeteer/browsers/lib/cjs/launch.js.map b/node_modules/@puppeteer/browsers/lib/cjs/launch.js.map deleted file mode 100644 index 48777a8..0000000 --- a/node_modules/@puppeteer/browsers/lib/cjs/launch.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"launch.js","sourceRoot":"","sources":["../../src/launch.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;;;;AAEH,kEAAyC;AACzC,2BAA8B;AAC9B,4CAAoB;AACpB,wDAAgC;AAEhC,oEAKwC;AACxC,yCAAiC;AACjC,yCAAiC;AACjC,2DAA0D;AAE1D,MAAM,WAAW,GAAG,IAAA,gBAAK,EAAC,6BAA6B,CAAC,CAAC;AA2BzD;;GAEG;AACH,SAAgB,qBAAqB,CACnC,OAAqC;IAErC,OAAO,IAAI,gBAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC,q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,CAAC;AAJD,kCAIC;AACD;;GAEG;AACH,SAAgB,gBAAgB,CAAC,GAAY;IAC3C,OAAO,CACL,WAAW,CAAC,GAAG,CAAC;QAChB,CAAC,OAAO,IAAI,GAAG,IAAI,MAAM,IAAI,GAAG,IAAI,MAAM,IAAI,GAAG,IAAI,SAAS,IAAI,GAAG,CAAC,CACvE,CAAC;AACJ,CAAC;AALD,4CAKC;AAED;;GAEG;AACH,MAAa,YAAa,SAAQ,KAAK;IACrC;;OAEG;IACH,YAAY,OAAgB;QAC1B,KAAK,CAAC,OAAO,CAAC,CAAC;QACf,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC;QAClC,KAAK,CAAC,iBAAiB,CAAC,IAAI,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC;IAClD,CAAC;CACF;AATD,oCASC"} \ No newline at end of file diff --git a/node_modules/@puppeteer/browsers/lib/cjs/main-cli.d.ts b/node_modules/@puppeteer/browsers/lib/cjs/main-cli.d.ts deleted file mode 100644 index 24f6aa5..0000000 --- a/node_modules/@puppeteer/browsers/lib/cjs/main-cli.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -#!/usr/bin/env node -/** - * @license - * Copyright 2023 Google Inc. - * SPDX-License-Identifier: Apache-2.0 - */ -export {}; -//# sourceMappingURL=main-cli.d.ts.map \ No newline at end of file diff --git a/node_modules/@puppeteer/browsers/lib/cjs/main-cli.d.ts.map b/node_modules/@puppeteer/browsers/lib/cjs/main-cli.d.ts.map deleted file mode 100644 index 97cfca7..0000000 --- a/node_modules/@puppeteer/browsers/lib/cjs/main-cli.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"main-cli.d.ts","sourceRoot":"","sources":["../../src/main-cli.ts"],"names":[],"mappings":";AAEA;;;;GAIG"} \ No newline at end of file diff --git a/node_modules/@puppeteer/browsers/lib/cjs/main-cli.js b/node_modules/@puppeteer/browsers/lib/cjs/main-cli.js deleted file mode 100644 index 0671147..0000000 --- a/node_modules/@puppeteer/browsers/lib/cjs/main-cli.js +++ /dev/null @@ -1,11 +0,0 @@ -#!/usr/bin/env node -"use strict"; -/** - * @license - * Copyright 2023 Google Inc. - * SPDX-License-Identifier: Apache-2.0 - */ -Object.defineProperty(exports, "__esModule", { value: true }); -const CLI_js_1 = require("./CLI.js"); -void new CLI_js_1.CLI().run(process.argv); -//# sourceMappingURL=main-cli.js.map \ No newline at end of file diff --git a/node_modules/@puppeteer/browsers/lib/cjs/main-cli.js.map b/node_modules/@puppeteer/browsers/lib/cjs/main-cli.js.map deleted file mode 100644 index e8ef40f..0000000 --- a/node_modules/@puppeteer/browsers/lib/cjs/main-cli.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"main-cli.js","sourceRoot":"","sources":["../../src/main-cli.ts"],"names":[],"mappings":";;AAEA;;;;GAIG;;AAEH,qCAA6B;AAE7B,KAAK,IAAI,YAAG,EAAE,CAAC,GAAG,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC"} \ No newline at end of file diff --git a/node_modules/@puppeteer/browsers/lib/cjs/main.d.ts b/node_modules/@puppeteer/browsers/lib/cjs/main.d.ts deleted file mode 100644 index 9ca6ab1..0000000 --- a/node_modules/@puppeteer/browsers/lib/cjs/main.d.ts +++ /dev/null @@ -1,15 +0,0 @@ -/** - * @license - * Copyright 2023 Google Inc. - * SPDX-License-Identifier: Apache-2.0 - */ -export type { LaunchOptions, ComputeExecutablePathOptions as Options, SystemOptions, } from './launch.js'; -export { launch, computeExecutablePath, computeSystemExecutablePath, TimeoutError, CDP_WEBSOCKET_ENDPOINT_REGEX, WEBDRIVER_BIDI_WEBSOCKET_ENDPOINT_REGEX, Process, } from './launch.js'; -export type { InstallOptions, GetInstalledBrowsersOptions, UninstallOptions, } from './install.js'; -export { install, getInstalledBrowsers, canDownload, uninstall, } from './install.js'; -export { detectBrowserPlatform } from './detectPlatform.js'; -export type { ProfileOptions } from './browser-data/browser-data.js'; -export { resolveBuildId, Browser, BrowserPlatform, ChromeReleaseChannel, createProfile, getVersionComparator, } from './browser-data/browser-data.js'; -export { CLI, makeProgressCallback } from './CLI.js'; -export { Cache, InstalledBrowser } from './Cache.js'; -//# sourceMappingURL=main.d.ts.map \ No newline at end of file diff --git a/node_modules/@puppeteer/browsers/lib/cjs/main.d.ts.map b/node_modules/@puppeteer/browsers/lib/cjs/main.d.ts.map deleted file mode 100644 index a6c0b8e..0000000 --- a/node_modules/@puppeteer/browsers/lib/cjs/main.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"main.d.ts","sourceRoot":"","sources":["../../src/main.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,YAAY,EACV,aAAa,EACb,4BAA4B,IAAI,OAAO,EACvC,aAAa,GACd,MAAM,aAAa,CAAC;AACrB,OAAO,EACL,MAAM,EACN,qBAAqB,EACrB,2BAA2B,EAC3B,YAAY,EACZ,4BAA4B,EAC5B,uCAAuC,EACvC,OAAO,GACR,MAAM,aAAa,CAAC;AACrB,YAAY,EACV,cAAc,EACd,2BAA2B,EAC3B,gBAAgB,GACjB,MAAM,cAAc,CAAC;AACtB,OAAO,EACL,OAAO,EACP,oBAAoB,EACpB,WAAW,EACX,SAAS,GACV,MAAM,cAAc,CAAC;AACtB,OAAO,EAAC,qBAAqB,EAAC,MAAM,qBAAqB,CAAC;AAC1D,YAAY,EAAC,cAAc,EAAC,MAAM,gCAAgC,CAAC;AACnE,OAAO,EACL,cAAc,EACd,OAAO,EACP,eAAe,EACf,oBAAoB,EACpB,aAAa,EACb,oBAAoB,GACrB,MAAM,gCAAgC,CAAC;AACxC,OAAO,EAAC,GAAG,EAAE,oBAAoB,EAAC,MAAM,UAAU,CAAC;AACnD,OAAO,EAAC,KAAK,EAAE,gBAAgB,EAAC,MAAM,YAAY,CAAC"} \ No newline at end of file diff --git a/node_modules/@puppeteer/browsers/lib/cjs/main.js b/node_modules/@puppeteer/browsers/lib/cjs/main.js deleted file mode 100644 index b4cdbb1..0000000 --- a/node_modules/@puppeteer/browsers/lib/cjs/main.js +++ /dev/null @@ -1,37 +0,0 @@ -"use strict"; -/** - * @license - * Copyright 2023 Google Inc. - * SPDX-License-Identifier: Apache-2.0 - */ -Object.defineProperty(exports, "__esModule", { value: true }); -exports.InstalledBrowser = exports.Cache = exports.makeProgressCallback = exports.CLI = exports.getVersionComparator = exports.createProfile = exports.ChromeReleaseChannel = exports.BrowserPlatform = exports.Browser = exports.resolveBuildId = exports.detectBrowserPlatform = exports.uninstall = exports.canDownload = exports.getInstalledBrowsers = exports.install = exports.Process = exports.WEBDRIVER_BIDI_WEBSOCKET_ENDPOINT_REGEX = exports.CDP_WEBSOCKET_ENDPOINT_REGEX = exports.TimeoutError = exports.computeSystemExecutablePath = exports.computeExecutablePath = exports.launch = void 0; -var launch_js_1 = require("./launch.js"); -Object.defineProperty(exports, "launch", { enumerable: true, get: function () { return launch_js_1.launch; } }); -Object.defineProperty(exports, "computeExecutablePath", { enumerable: true, get: function () { return launch_js_1.computeExecutablePath; } }); -Object.defineProperty(exports, "computeSystemExecutablePath", { enumerable: true, get: function () { return launch_js_1.computeSystemExecutablePath; } }); -Object.defineProperty(exports, "TimeoutError", { enumerable: true, get: function () { return launch_js_1.TimeoutError; } }); -Object.defineProperty(exports, "CDP_WEBSOCKET_ENDPOINT_REGEX", { enumerable: true, get: function () { return launch_js_1.CDP_WEBSOCKET_ENDPOINT_REGEX; } }); -Object.defineProperty(exports, "WEBDRIVER_BIDI_WEBSOCKET_ENDPOINT_REGEX", { enumerable: true, get: function () { return launch_js_1.WEBDRIVER_BIDI_WEBSOCKET_ENDPOINT_REGEX; } }); -Object.defineProperty(exports, "Process", { enumerable: true, get: function () { return launch_js_1.Process; } }); -var install_js_1 = require("./install.js"); -Object.defineProperty(exports, "install", { enumerable: true, get: function () { return install_js_1.install; } }); -Object.defineProperty(exports, "getInstalledBrowsers", { enumerable: true, get: function () { return install_js_1.getInstalledBrowsers; } }); -Object.defineProperty(exports, "canDownload", { enumerable: true, get: function () { return install_js_1.canDownload; } }); -Object.defineProperty(exports, "uninstall", { enumerable: true, get: function () { return install_js_1.uninstall; } }); -var detectPlatform_js_1 = require("./detectPlatform.js"); -Object.defineProperty(exports, "detectBrowserPlatform", { enumerable: true, get: function () { return detectPlatform_js_1.detectBrowserPlatform; } }); -var browser_data_js_1 = require("./browser-data/browser-data.js"); -Object.defineProperty(exports, "resolveBuildId", { enumerable: true, get: function () { return browser_data_js_1.resolveBuildId; } }); -Object.defineProperty(exports, "Browser", { enumerable: true, get: function () { return browser_data_js_1.Browser; } }); -Object.defineProperty(exports, "BrowserPlatform", { enumerable: true, get: function () { return browser_data_js_1.BrowserPlatform; } }); -Object.defineProperty(exports, "ChromeReleaseChannel", { enumerable: true, get: function () { return browser_data_js_1.ChromeReleaseChannel; } }); -Object.defineProperty(exports, "createProfile", { enumerable: true, get: function () { return browser_data_js_1.createProfile; } }); -Object.defineProperty(exports, "getVersionComparator", { enumerable: true, get: function () { return browser_data_js_1.getVersionComparator; } }); -var CLI_js_1 = require("./CLI.js"); -Object.defineProperty(exports, "CLI", { enumerable: true, get: function () { return CLI_js_1.CLI; } }); -Object.defineProperty(exports, "makeProgressCallback", { enumerable: true, get: function () { return CLI_js_1.makeProgressCallback; } }); -var Cache_js_1 = require("./Cache.js"); -Object.defineProperty(exports, "Cache", { enumerable: true, get: function () { return Cache_js_1.Cache; } }); -Object.defineProperty(exports, "InstalledBrowser", { enumerable: true, get: function () { return Cache_js_1.InstalledBrowser; } }); -//# sourceMappingURL=main.js.map \ No newline at end of file diff --git a/node_modules/@puppeteer/browsers/lib/cjs/main.js.map b/node_modules/@puppeteer/browsers/lib/cjs/main.js.map deleted file mode 100644 index 71c1ad4..0000000 --- a/node_modules/@puppeteer/browsers/lib/cjs/main.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"main.js","sourceRoot":"","sources":["../../src/main.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;AAOH,yCAQqB;AAPnB,mGAAA,MAAM,OAAA;AACN,kHAAA,qBAAqB,OAAA;AACrB,wHAAA,2BAA2B,OAAA;AAC3B,yGAAA,YAAY,OAAA;AACZ,yHAAA,4BAA4B,OAAA;AAC5B,oIAAA,uCAAuC,OAAA;AACvC,oGAAA,OAAO,OAAA;AAOT,2CAKsB;AAJpB,qGAAA,OAAO,OAAA;AACP,kHAAA,oBAAoB,OAAA;AACpB,yGAAA,WAAW,OAAA;AACX,uGAAA,SAAS,OAAA;AAEX,yDAA0D;AAAlD,0HAAA,qBAAqB,OAAA;AAE7B,kEAOwC;AANtC,iHAAA,cAAc,OAAA;AACd,0GAAA,OAAO,OAAA;AACP,kHAAA,eAAe,OAAA;AACf,uHAAA,oBAAoB,OAAA;AACpB,gHAAA,aAAa,OAAA;AACb,uHAAA,oBAAoB,OAAA;AAEtB,mCAAmD;AAA3C,6FAAA,GAAG,OAAA;AAAE,8GAAA,oBAAoB,OAAA;AACjC,uCAAmD;AAA3C,iGAAA,KAAK,OAAA;AAAE,4GAAA,gBAAgB,OAAA"} \ No newline at end of file diff --git a/node_modules/@puppeteer/browsers/lib/esm/CLI.d.ts b/node_modules/@puppeteer/browsers/lib/esm/CLI.d.ts deleted file mode 100644 index 4c2d25b..0000000 --- a/node_modules/@puppeteer/browsers/lib/esm/CLI.d.ts +++ /dev/null @@ -1,32 +0,0 @@ -/** - * @license - * Copyright 2023 Google Inc. - * SPDX-License-Identifier: Apache-2.0 - */ -/// -import * as readline from 'readline'; -import { type Browser } from './browser-data/browser-data.js'; -/** - * @public - */ -export declare class CLI { - #private; - constructor(opts?: string | { - cachePath?: string; - scriptName?: string; - prefixCommand?: { - cmd: string; - description: string; - }; - allowCachePathOverride?: boolean; - pinnedBrowsers?: Partial<{ - [key in Browser]: string; - }>; - }, rl?: readline.Interface); - run(argv: string[]): Promise; -} -/** - * @public - */ -export declare function makeProgressCallback(browser: Browser, buildId: string): (downloadedBytes: number, totalBytes: number) => void; -//# sourceMappingURL=CLI.d.ts.map \ No newline at end of file diff --git a/node_modules/@puppeteer/browsers/lib/esm/CLI.d.ts.map b/node_modules/@puppeteer/browsers/lib/esm/CLI.d.ts.map deleted file mode 100644 index 0a6d8fa..0000000 --- a/node_modules/@puppeteer/browsers/lib/esm/CLI.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"CLI.d.ts","sourceRoot":"","sources":["../../src/CLI.ts"],"names":[],"mappings":"AAAA;;;;GAIG;;AAGH,OAAO,KAAK,QAAQ,MAAM,UAAU,CAAC;AAOrC,OAAO,EAEL,KAAK,OAAO,EAGb,MAAM,gCAAgC,CAAC;AAmCxC;;GAEG;AACH,qBAAa,GAAG;;gBASZ,IAAI,CAAC,EACD,MAAM,GACN;QACE,SAAS,CAAC,EAAE,MAAM,CAAC;QACnB,UAAU,CAAC,EAAE,MAAM,CAAC;QACpB,aAAa,CAAC,EAAE;YAAC,GAAG,EAAE,MAAM,CAAC;YAAC,WAAW,EAAE,MAAM,CAAA;SAAC,CAAC;QACnD,sBAAsB,CAAC,EAAE,OAAO,CAAC;QACjC,cAAc,CAAC,EAAE,OAAO,CAAC;aAAE,GAAG,IAAI,OAAO,GAAG,MAAM;SAAC,CAAC,CAAC;KACtD,EACL,EAAE,CAAC,EAAE,QAAQ,CAAC,SAAS;IAwDnB,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,IAAI,CAAC;CA4PzC;AAED;;GAEG;AACH,wBAAgB,oBAAoB,CAClC,OAAO,EAAE,OAAO,EAChB,OAAO,EAAE,MAAM,GACd,CAAC,eAAe,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,KAAK,IAAI,CAqBvD"} \ No newline at end of file diff --git a/node_modules/@puppeteer/browsers/lib/esm/CLI.js b/node_modules/@puppeteer/browsers/lib/esm/CLI.js deleted file mode 100644 index cd0ce9a..0000000 --- a/node_modules/@puppeteer/browsers/lib/esm/CLI.js +++ /dev/null @@ -1,252 +0,0 @@ -/** - * @license - * Copyright 2023 Google Inc. - * SPDX-License-Identifier: Apache-2.0 - */ -import { stdin as input, stdout as output } from 'process'; -import * as readline from 'readline'; -import ProgressBar from 'progress'; -import { hideBin } from 'yargs/helpers'; -import yargs from 'yargs/yargs'; -import { resolveBuildId, BrowserPlatform, } from './browser-data/browser-data.js'; -import { Cache } from './Cache.js'; -import { detectBrowserPlatform } from './detectPlatform.js'; -import { install } from './install.js'; -import { computeExecutablePath, computeSystemExecutablePath, launch, } from './launch.js'; -/** - * @public - */ -export class CLI { - #cachePath; - #rl; - #scriptName = ''; - #allowCachePathOverride = true; - #pinnedBrowsers; - #prefixCommand; - constructor(opts, rl) { - if (!opts) { - opts = {}; - } - if (typeof opts === 'string') { - opts = { - cachePath: opts, - }; - } - this.#cachePath = opts.cachePath ?? process.cwd(); - this.#rl = rl; - this.#scriptName = opts.scriptName ?? '@puppeteer/browsers'; - this.#allowCachePathOverride = opts.allowCachePathOverride ?? true; - this.#pinnedBrowsers = opts.pinnedBrowsers; - this.#prefixCommand = opts.prefixCommand; - } - #defineBrowserParameter(yargs) { - yargs.positional('browser', { - description: 'Which browser to install [@]. `latest` will try to find the latest available build. `buildId` is a browser-specific identifier such as a version or a revision.', - type: 'string', - coerce: (opt) => { - return { - name: this.#parseBrowser(opt), - buildId: this.#parseBuildId(opt), - }; - }, - }); - } - #definePlatformParameter(yargs) { - yargs.option('platform', { - type: 'string', - desc: 'Platform that the binary needs to be compatible with.', - choices: Object.values(BrowserPlatform), - defaultDescription: 'Auto-detected', - }); - } - #definePathParameter(yargs, required = false) { - if (!this.#allowCachePathOverride) { - return; - } - yargs.option('path', { - type: 'string', - desc: 'Path to the root folder for the browser downloads and installation. The installation folder structure is compatible with the cache structure used by Puppeteer.', - defaultDescription: 'Current working directory', - ...(required ? {} : { default: process.cwd() }), - }); - if (required) { - yargs.demandOption('path'); - } - } - async run(argv) { - const yargsInstance = yargs(hideBin(argv)); - let target = yargsInstance.scriptName(this.#scriptName); - if (this.#prefixCommand) { - target = target.command(this.#prefixCommand.cmd, this.#prefixCommand.description, yargs => { - return this.#build(yargs); - }); - } - else { - target = this.#build(target); - } - await target - .demandCommand(1) - .help() - .wrap(Math.min(120, yargsInstance.terminalWidth())) - .parse(); - } - #build(yargs) { - const latestOrPinned = this.#pinnedBrowsers ? 'pinned' : 'latest'; - return yargs - .command('install ', 'Download and install the specified browser. If successful, the command outputs the actual browser buildId that was installed and the absolute path to the browser executable (format: @ ).', yargs => { - this.#defineBrowserParameter(yargs); - this.#definePlatformParameter(yargs); - this.#definePathParameter(yargs); - yargs.option('base-url', { - type: 'string', - desc: 'Base URL to download from', - }); - yargs.example('$0 install chrome', `Install the ${latestOrPinned} available build of the Chrome browser.`); - yargs.example('$0 install chrome@latest', 'Install the latest available build for the Chrome browser.'); - yargs.example('$0 install chrome@stable', 'Install the latest available build for the Chrome browser from the stable channel.'); - yargs.example('$0 install chrome@beta', 'Install the latest available build for the Chrome browser from the beta channel.'); - yargs.example('$0 install chrome@dev', 'Install the latest available build for the Chrome browser from the dev channel.'); - yargs.example('$0 install chrome@canary', 'Install the latest available build for the Chrome Canary browser.'); - yargs.example('$0 install chrome@115', 'Install the latest available build for Chrome 115.'); - yargs.example('$0 install chromedriver@canary', 'Install the latest available build for ChromeDriver Canary.'); - yargs.example('$0 install chromedriver@115', 'Install the latest available build for ChromeDriver 115.'); - yargs.example('$0 install chromedriver@115.0.5790', 'Install the latest available patch (115.0.5790.X) build for ChromeDriver.'); - yargs.example('$0 install chrome-headless-shell', 'Install the latest available chrome-headless-shell build.'); - yargs.example('$0 install chrome-headless-shell@beta', 'Install the latest available chrome-headless-shell build corresponding to the Beta channel.'); - yargs.example('$0 install chrome-headless-shell@118', 'Install the latest available chrome-headless-shell 118 build.'); - yargs.example('$0 install chromium@1083080', 'Install the revision 1083080 of the Chromium browser.'); - yargs.example('$0 install firefox', 'Install the latest available build of the Firefox browser.'); - yargs.example('$0 install firefox --platform mac', 'Install the latest Mac (Intel) build of the Firefox browser.'); - if (this.#allowCachePathOverride) { - yargs.example('$0 install firefox --path /tmp/my-browser-cache', 'Install to the specified cache directory.'); - } - }, async (argv) => { - const args = argv; - args.platform ??= detectBrowserPlatform(); - if (!args.platform) { - throw new Error(`Could not resolve the current platform`); - } - if (args.browser.buildId === 'pinned') { - const pinnedVersion = this.#pinnedBrowsers?.[args.browser.name]; - if (!pinnedVersion) { - throw new Error(`No pinned version found for ${args.browser.name}`); - } - args.browser.buildId = pinnedVersion; - } - const originalBuildId = args.browser.buildId; - args.browser.buildId = await resolveBuildId(args.browser.name, args.platform, args.browser.buildId); - await install({ - browser: args.browser.name, - buildId: args.browser.buildId, - platform: args.platform, - cacheDir: args.path ?? this.#cachePath, - downloadProgressCallback: makeProgressCallback(args.browser.name, args.browser.buildId), - baseUrl: args.baseUrl, - buildIdAlias: originalBuildId !== args.browser.buildId - ? originalBuildId - : undefined, - }); - console.log(`${args.browser.name}@${args.browser.buildId} ${computeExecutablePath({ - browser: args.browser.name, - buildId: args.browser.buildId, - cacheDir: args.path ?? this.#cachePath, - platform: args.platform, - })}`); - }) - .command('launch ', 'Launch the specified browser', yargs => { - this.#defineBrowserParameter(yargs); - this.#definePlatformParameter(yargs); - this.#definePathParameter(yargs); - yargs.option('detached', { - type: 'boolean', - desc: 'Detach the child process.', - default: false, - }); - yargs.option('system', { - type: 'boolean', - desc: 'Search for a browser installed on the system instead of the cache folder.', - default: false, - }); - yargs.example('$0 launch chrome@115.0.5790.170', 'Launch Chrome 115.0.5790.170'); - yargs.example('$0 launch firefox@112.0a1', 'Launch the Firefox browser identified by the milestone 112.0a1.'); - yargs.example('$0 launch chrome@115.0.5790.170 --detached', 'Launch the browser but detach the sub-processes.'); - yargs.example('$0 launch chrome@canary --system', 'Try to locate the Canary build of Chrome installed on the system and launch it.'); - }, async (argv) => { - const args = argv; - const executablePath = args.system - ? computeSystemExecutablePath({ - browser: args.browser.name, - // TODO: throw an error if not a ChromeReleaseChannel is provided. - channel: args.browser.buildId, - platform: args.platform, - }) - : computeExecutablePath({ - browser: args.browser.name, - buildId: args.browser.buildId, - cacheDir: args.path ?? this.#cachePath, - platform: args.platform, - }); - launch({ - executablePath, - detached: args.detached, - }); - }) - .command('clear', this.#allowCachePathOverride - ? 'Removes all installed browsers from the specified cache directory' - : `Removes all installed browsers from ${this.#cachePath}`, yargs => { - this.#definePathParameter(yargs, true); - }, async (argv) => { - const args = argv; - const cacheDir = args.path ?? this.#cachePath; - const rl = this.#rl ?? readline.createInterface({ input, output }); - rl.question(`Do you want to permanently and recursively delete the content of ${cacheDir} (yes/No)? `, answer => { - rl.close(); - if (!['y', 'yes'].includes(answer.toLowerCase().trim())) { - console.log('Cancelled.'); - return; - } - const cache = new Cache(cacheDir); - cache.clear(); - console.log(`${cacheDir} cleared.`); - }); - }) - .demandCommand(1) - .help(); - } - #parseBrowser(version) { - return version.split('@').shift(); - } - #parseBuildId(version) { - const parts = version.split('@'); - return parts.length === 2 - ? parts[1] - : this.#pinnedBrowsers - ? 'pinned' - : 'latest'; - } -} -/** - * @public - */ -export function makeProgressCallback(browser, buildId) { - let progressBar; - let lastDownloadedBytes = 0; - return (downloadedBytes, totalBytes) => { - if (!progressBar) { - progressBar = new ProgressBar(`Downloading ${browser} r${buildId} - ${toMegabytes(totalBytes)} [:bar] :percent :etas `, { - complete: '=', - incomplete: ' ', - width: 20, - total: totalBytes, - }); - } - const delta = downloadedBytes - lastDownloadedBytes; - lastDownloadedBytes = downloadedBytes; - progressBar.tick(delta); - }; -} -function toMegabytes(bytes) { - const mb = bytes / 1000 / 1000; - return `${Math.round(mb * 10) / 10} MB`; -} -//# sourceMappingURL=CLI.js.map \ No newline at end of file diff --git a/node_modules/@puppeteer/browsers/lib/esm/CLI.js.map b/node_modules/@puppeteer/browsers/lib/esm/CLI.js.map deleted file mode 100644 index 8f72c37..0000000 --- a/node_modules/@puppeteer/browsers/lib/esm/CLI.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"CLI.js","sourceRoot":"","sources":["../../src/CLI.ts"],"names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AAmB,GAAG,eAAe,CAAC;QACtC,WAAW,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;IAC1B,CAAC,CAAC;AACJ,CAAC;AAED,SAAS,WAAW,CAAC,KAAa;IAChC,MAAM,EAAE,GAAG,KAAK,GAAG,IAAI,GAAG,IAAI,CAAC;IAC/B,OAAO,GAAG,IAAI,CAAC,KAAK,CAAC,EAAE,GAAG,EAAE,CAAC,GAAG,EAAE,KAAK,CAAC;AAC1C,CAAC"} \ No newline at end of file diff --git a/node_modules/@puppeteer/browsers/lib/esm/Cache.d.ts b/node_modules/@puppeteer/browsers/lib/esm/Cache.d.ts deleted file mode 100644 index af18af5..0000000 --- a/node_modules/@puppeteer/browsers/lib/esm/Cache.d.ts +++ /dev/null @@ -1,83 +0,0 @@ -/** - * @license - * Copyright 2023 Google Inc. - * SPDX-License-Identifier: Apache-2.0 - */ -import { Browser, type BrowserPlatform } from './browser-data/browser-data.js'; -/** - * @public - */ -export declare class InstalledBrowser { - #private; - browser: Browser; - buildId: string; - platform: BrowserPlatform; - readonly executablePath: string; - /** - * @internal - */ - constructor(cache: Cache, browser: Browser, buildId: string, platform: BrowserPlatform); - /** - * Path to the root of the installation folder. Use - * {@link computeExecutablePath} to get the path to the executable binary. - */ - get path(): string; - readMetadata(): Metadata; - writeMetadata(metadata: Metadata): void; -} -/** - * @internal - */ -export interface ComputeExecutablePathOptions { - /** - * Determines which platform the browser will be suited for. - * - * @defaultValue **Auto-detected.** - */ - platform?: BrowserPlatform; - /** - * Determines which browser to launch. - */ - browser: Browser; - /** - * Determines which buildId to download. BuildId should uniquely identify - * binaries and they are used for caching. - */ - buildId: string; -} -export interface Metadata { - aliases: Record; -} -/** - * The cache used by Puppeteer relies on the following structure: - * - * - rootDir - * -- | browserRoot(browser1) - * ---- - | installationDir() - * ------ the browser-platform-buildId - * ------ specific structure. - * -- | browserRoot(browser2) - * ---- - | installationDir() - * ------ the browser-platform-buildId - * ------ specific structure. - * @internal - */ -export declare class Cache { - #private; - constructor(rootDir: string); - /** - * @internal - */ - get rootDir(): string; - browserRoot(browser: Browser): string; - metadataFile(browser: Browser): string; - readMetadata(browser: Browser): Metadata; - writeMetadata(browser: Browser, metadata: Metadata): void; - resolveAlias(browser: Browser, alias: string): string | undefined; - installationDir(browser: Browser, platform: BrowserPlatform, buildId: string): string; - clear(): void; - uninstall(browser: Browser, platform: BrowserPlatform, buildId: string): void; - getInstalledBrowsers(): InstalledBrowser[]; - computeExecutablePath(options: ComputeExecutablePathOptions): string; -} -//# sourceMappingURL=Cache.d.ts.map \ No newline at end of file diff --git a/node_modules/@puppeteer/browsers/lib/esm/Cache.d.ts.map b/node_modules/@puppeteer/browsers/lib/esm/Cache.d.ts.map deleted file mode 100644 index 71d5ba4..0000000 --- a/node_modules/@puppeteer/browsers/lib/esm/Cache.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"Cache.d.ts","sourceRoot":"","sources":["../../src/Cache.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAQH,OAAO,EACL,OAAO,EACP,KAAK,eAAe,EAGrB,MAAM,gCAAgC,CAAC;AAKxC;;GAEG;AACH,qBAAa,gBAAgB;;IAC3B,OAAO,EAAE,OAAO,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,eAAe,CAAC;IAC1B,QAAQ,CAAC,cAAc,EAAE,MAAM,CAAC;IAIhC;;OAEG;gBAED,KAAK,EAAE,KAAK,EACZ,OAAO,EAAE,OAAO,EAChB,OAAO,EAAE,MAAM,EACf,QAAQ,EAAE,eAAe;IAa3B;;;OAGG;IACH,IAAI,IAAI,IAAI,MAAM,CAMjB;IAED,YAAY,IAAI,QAAQ;IAIxB,aAAa,CAAC,QAAQ,EAAE,QAAQ,GAAG,IAAI;CAGxC;AAED;;GAEG;AACH,MAAM,WAAW,4BAA4B;IAC3C;;;;OAIG;IACH,QAAQ,CAAC,EAAE,eAAe,CAAC;IAC3B;;OAEG;IACH,OAAO,EAAE,OAAO,CAAC;IACjB;;;OAGG;IACH,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,QAAQ;IAEvB,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CACjC;AAED;;;;;;;;;;;;;GAaG;AACH,qBAAa,KAAK;;gBAGJ,OAAO,EAAE,MAAM;IAI3B;;OAEG;IACH,IAAI,OAAO,IAAI,MAAM,CAEpB;IAED,WAAW,CAAC,OAAO,EAAE,OAAO,GAAG,MAAM;IAIrC,YAAY,CAAC,OAAO,EAAE,OAAO,GAAG,MAAM;IAItC,YAAY,CAAC,OAAO,EAAE,OAAO,GAAG,QAAQ;IAaxC,aAAa,CAAC,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,QAAQ,GAAG,IAAI;IAMzD,YAAY,CAAC,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS;IAUjE,eAAe,CACb,OAAO,EAAE,OAAO,EAChB,QAAQ,EAAE,eAAe,EACzB,OAAO,EAAE,MAAM,GACd,MAAM;IAIT,KAAK,IAAI,IAAI;IASb,SAAS,CACP,OAAO,EAAE,OAAO,EAChB,QAAQ,EAAE,eAAe,EACzB,OAAO,EAAE,MAAM,GACd,IAAI;IAeP,oBAAoB,IAAI,gBAAgB,EAAE;IA+B1C,qBAAqB,CAAC,OAAO,EAAE,4BAA4B,GAAG,MAAM;CA0BrE"} \ No newline at end of file diff --git a/node_modules/@puppeteer/browsers/lib/esm/Cache.js b/node_modules/@puppeteer/browsers/lib/esm/Cache.js deleted file mode 100644 index bacf330..0000000 --- a/node_modules/@puppeteer/browsers/lib/esm/Cache.js +++ /dev/null @@ -1,183 +0,0 @@ -/** - * @license - * Copyright 2023 Google Inc. - * SPDX-License-Identifier: Apache-2.0 - */ -import fs from 'fs'; -import os from 'os'; -import path from 'path'; -import debug from 'debug'; -import { Browser, executablePathByBrowser, getVersionComparator, } from './browser-data/browser-data.js'; -import { detectBrowserPlatform } from './detectPlatform.js'; -const debugCache = debug('puppeteer:browsers:cache'); -/** - * @public - */ -export class InstalledBrowser { - browser; - buildId; - platform; - executablePath; - #cache; - /** - * @internal - */ - constructor(cache, browser, buildId, platform) { - this.#cache = cache; - this.browser = browser; - this.buildId = buildId; - this.platform = platform; - this.executablePath = cache.computeExecutablePath({ - browser, - buildId, - platform, - }); - } - /** - * Path to the root of the installation folder. Use - * {@link computeExecutablePath} to get the path to the executable binary. - */ - get path() { - return this.#cache.installationDir(this.browser, this.platform, this.buildId); - } - readMetadata() { - return this.#cache.readMetadata(this.browser); - } - writeMetadata(metadata) { - this.#cache.writeMetadata(this.browser, metadata); - } -} -/** - * The cache used by Puppeteer relies on the following structure: - * - * - rootDir - * -- | browserRoot(browser1) - * ---- - | installationDir() - * ------ the browser-platform-buildId - * ------ specific structure. - * -- | browserRoot(browser2) - * ---- - | installationDir() - * ------ the browser-platform-buildId - * ------ specific structure. - * @internal - */ -export class Cache { - #rootDir; - constructor(rootDir) { - this.#rootDir = rootDir; - } - /** - * @internal - */ - get rootDir() { - return this.#rootDir; - } - browserRoot(browser) { - return path.join(this.#rootDir, browser); - } - metadataFile(browser) { - return path.join(this.browserRoot(browser), '.metadata'); - } - readMetadata(browser) { - const metatadaPath = this.metadataFile(browser); - if (!fs.existsSync(metatadaPath)) { - return { aliases: {} }; - } - // TODO: add type-safe parsing. - const data = JSON.parse(fs.readFileSync(metatadaPath, 'utf8')); - if (typeof data !== 'object') { - throw new Error('.metadata is not an object'); - } - return data; - } - writeMetadata(browser, metadata) { - const metatadaPath = this.metadataFile(browser); - fs.mkdirSync(path.dirname(metatadaPath), { recursive: true }); - fs.writeFileSync(metatadaPath, JSON.stringify(metadata, null, 2)); - } - resolveAlias(browser, alias) { - const metadata = this.readMetadata(browser); - if (alias === 'latest') { - return Object.values(metadata.aliases || {}) - .sort(getVersionComparator(browser)) - .at(-1); - } - return metadata.aliases[alias]; - } - installationDir(browser, platform, buildId) { - return path.join(this.browserRoot(browser), `${platform}-${buildId}`); - } - clear() { - fs.rmSync(this.#rootDir, { - force: true, - recursive: true, - maxRetries: 10, - retryDelay: 500, - }); - } - uninstall(browser, platform, buildId) { - const metadata = this.readMetadata(browser); - for (const alias of Object.keys(metadata.aliases)) { - if (metadata.aliases[alias] === buildId) { - delete metadata.aliases[alias]; - } - } - fs.rmSync(this.installationDir(browser, platform, buildId), { - force: true, - recursive: true, - maxRetries: 10, - retryDelay: 500, - }); - } - getInstalledBrowsers() { - if (!fs.existsSync(this.#rootDir)) { - return []; - } - const types = fs.readdirSync(this.#rootDir); - const browsers = types.filter((t) => { - return Object.values(Browser).includes(t); - }); - return browsers.flatMap(browser => { - const files = fs.readdirSync(this.browserRoot(browser)); - return files - .map(file => { - const result = parseFolderPath(path.join(this.browserRoot(browser), file)); - if (!result) { - return null; - } - return new InstalledBrowser(this, browser, result.buildId, result.platform); - }) - .filter((item) => { - return item !== null; - }); - }); - } - computeExecutablePath(options) { - options.platform ??= detectBrowserPlatform(); - if (!options.platform) { - throw new Error(`Cannot download a binary for the provided platform: ${os.platform()} (${os.arch()})`); - } - try { - options.buildId = - this.resolveAlias(options.browser, options.buildId) ?? options.buildId; - } - catch { - debugCache('could not read .metadata file for the browser'); - } - const installationDir = this.installationDir(options.browser, options.platform, options.buildId); - return path.join(installationDir, executablePathByBrowser[options.browser](options.platform, options.buildId)); - } -} -function parseFolderPath(folderPath) { - const name = path.basename(folderPath); - const splits = name.split('-'); - if (splits.length !== 2) { - return; - } - const [platform, buildId] = splits; - if (!buildId || !platform) { - return; - } - return { platform, buildId }; -} -//# sourceMappingURL=Cache.js.map \ No newline at end of file diff --git a/node_modules/@puppeteer/browsers/lib/esm/Cache.js.map b/node_modules/@puppeteer/browsers/lib/esm/Cache.js.map deleted file mode 100644 index 1aed348..0000000 --- a/node_modules/@puppeteer/browsers/lib/esm/Cache.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"Cache.js","sourceRoot":"","sources":["../../src/Cache.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,OAAO,EAAC,CAAC;AAC7B,CAAC"} \ No newline at end of file diff --git a/node_modules/@puppeteer/browsers/lib/esm/browser-data/browser-data.d.ts b/node_modules/@puppeteer/browsers/lib/esm/browser-data/browser-data.d.ts deleted file mode 100644 index bd6b75d..0000000 --- a/node_modules/@puppeteer/browsers/lib/esm/browser-data/browser-data.d.ts +++ /dev/null @@ -1,61 +0,0 @@ -/** - * @license - * Copyright 2023 Google Inc. - * SPDX-License-Identifier: Apache-2.0 - */ -import * as chromeHeadlessShell from './chrome-headless-shell.js'; -import * as chrome from './chrome.js'; -import * as chromedriver from './chromedriver.js'; -import * as chromium from './chromium.js'; -import * as firefox from './firefox.js'; -import { Browser, BrowserPlatform, ChromeReleaseChannel, type ProfileOptions } from './types.js'; -export type { ProfileOptions }; -export declare const downloadUrls: { - chromedriver: typeof chromedriver.resolveDownloadUrl; - "chrome-headless-shell": typeof chromeHeadlessShell.resolveDownloadUrl; - chrome: typeof chrome.resolveDownloadUrl; - chromium: typeof chromium.resolveDownloadUrl; - firefox: typeof firefox.resolveDownloadUrl; -}; -export declare const downloadPaths: { - chromedriver: typeof chromedriver.resolveDownloadPath; - "chrome-headless-shell": typeof chromeHeadlessShell.resolveDownloadPath; - chrome: typeof chrome.resolveDownloadPath; - chromium: typeof chromium.resolveDownloadPath; - firefox: typeof firefox.resolveDownloadPath; -}; -export declare const executablePathByBrowser: { - chromedriver: typeof chromedriver.relativeExecutablePath; - "chrome-headless-shell": typeof chromeHeadlessShell.relativeExecutablePath; - chrome: typeof chrome.relativeExecutablePath; - chromium: typeof chromium.relativeExecutablePath; - firefox: typeof firefox.relativeExecutablePath; -}; -export declare const versionComparators: { - chromedriver: typeof chromeHeadlessShell.compareVersions; - "chrome-headless-shell": typeof chromeHeadlessShell.compareVersions; - chrome: typeof chromeHeadlessShell.compareVersions; - chromium: typeof chromium.compareVersions; - firefox: typeof firefox.compareVersions; -}; -export { Browser, BrowserPlatform, ChromeReleaseChannel }; -/** - * @public - */ -export declare function resolveBuildId(browser: Browser, platform: BrowserPlatform, tag: string): Promise; -/** - * @public - */ -export declare function createProfile(browser: Browser, opts: ProfileOptions): Promise; -/** - * @public - */ -export declare function resolveSystemExecutablePath(browser: Browser, platform: BrowserPlatform, channel: ChromeReleaseChannel): string; -/** - * Returns a version comparator for the given browser that can be used to sort - * browser versions. - * - * @public - */ -export declare function getVersionComparator(browser: Browser): (a: string, b: string) => number; -//# sourceMappingURL=browser-data.d.ts.map \ No newline at end of file diff --git a/node_modules/@puppeteer/browsers/lib/esm/browser-data/browser-data.d.ts.map b/node_modules/@puppeteer/browsers/lib/esm/browser-data/browser-data.d.ts.map deleted file mode 100644 index e198507..0000000 --- a/node_modules/@puppeteer/browsers/lib/esm/browser-data/browser-data.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"browser-data.d.ts","sourceRoot":"","sources":["../../../src/browser-data/browser-data.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,mBAAmB,MAAM,4BAA4B,CAAC;AAClE,OAAO,KAAK,MAAM,MAAM,aAAa,CAAC;AACtC,OAAO,KAAK,YAAY,MAAM,mBAAmB,CAAC;AAClD,OAAO,KAAK,QAAQ,MAAM,eAAe,CAAC;AAC1C,OAAO,KAAK,OAAO,MAAM,cAAc,CAAC;AACxC,OAAO,EACL,OAAO,EACP,eAAe,EAEf,oBAAoB,EACpB,KAAK,cAAc,EACpB,MAAM,YAAY,CAAC;AAEpB,YAAY,EAAC,cAAc,EAAC,CAAC;AAE7B,eAAO,MAAM,YAAY;;;;;;CAMxB,CAAC;AAEF,eAAO,MAAM,aAAa;;;;;;CAMzB,CAAC;AAEF,eAAO,MAAM,uBAAuB;;;;;;CAMnC,CAAC;AAEF,eAAO,MAAM,kBAAkB;;;;;;CAM9B,CAAC;AAEF,OAAO,EAAC,OAAO,EAAE,eAAe,EAAE,oBAAoB,EAAC,CAAC;AAExD;;GAEG;AACH,wBAAsB,cAAc,CAClC,OAAO,EAAE,OAAO,EAChB,QAAQ,EAAE,eAAe,EACzB,GAAG,EAAE,MAAM,GACV,OAAO,CAAC,MAAM,CAAC,CA+FjB;AAED;;GAEG;AACH,wBAAsB,aAAa,CACjC,OAAO,EAAE,OAAO,EAChB,IAAI,EAAE,cAAc,GACnB,OAAO,CAAC,IAAI,CAAC,CAQf;AAED;;GAEG;AACH,wBAAgB,2BAA2B,CACzC,OAAO,EAAE,OAAO,EAChB,QAAQ,EAAE,eAAe,EACzB,OAAO,EAAE,oBAAoB,GAC5B,MAAM,CAYR;AAED;;;;;GAKG;AACH,wBAAgB,oBAAoB,CAClC,OAAO,EAAE,OAAO,GACf,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,KAAK,MAAM,CAElC"} \ No newline at end of file diff --git a/node_modules/@puppeteer/browsers/lib/esm/browser-data/browser-data.js b/node_modules/@puppeteer/browsers/lib/esm/browser-data/browser-data.js deleted file mode 100644 index 75a7365..0000000 --- a/node_modules/@puppeteer/browsers/lib/esm/browser-data/browser-data.js +++ /dev/null @@ -1,163 +0,0 @@ -/** - * @license - * Copyright 2023 Google Inc. - * SPDX-License-Identifier: Apache-2.0 - */ -import * as chromeHeadlessShell from './chrome-headless-shell.js'; -import * as chrome from './chrome.js'; -import * as chromedriver from './chromedriver.js'; -import * as chromium from './chromium.js'; -import * as firefox from './firefox.js'; -import { Browser, BrowserPlatform, BrowserTag, ChromeReleaseChannel, } from './types.js'; -export const downloadUrls = { - [Browser.CHROMEDRIVER]: chromedriver.resolveDownloadUrl, - [Browser.CHROMEHEADLESSSHELL]: chromeHeadlessShell.resolveDownloadUrl, - [Browser.CHROME]: chrome.resolveDownloadUrl, - [Browser.CHROMIUM]: chromium.resolveDownloadUrl, - [Browser.FIREFOX]: firefox.resolveDownloadUrl, -}; -export const downloadPaths = { - [Browser.CHROMEDRIVER]: chromedriver.resolveDownloadPath, - [Browser.CHROMEHEADLESSSHELL]: chromeHeadlessShell.resolveDownloadPath, - [Browser.CHROME]: chrome.resolveDownloadPath, - [Browser.CHROMIUM]: chromium.resolveDownloadPath, - [Browser.FIREFOX]: firefox.resolveDownloadPath, -}; -export const executablePathByBrowser = { - [Browser.CHROMEDRIVER]: chromedriver.relativeExecutablePath, - [Browser.CHROMEHEADLESSSHELL]: chromeHeadlessShell.relativeExecutablePath, - [Browser.CHROME]: chrome.relativeExecutablePath, - [Browser.CHROMIUM]: chromium.relativeExecutablePath, - [Browser.FIREFOX]: firefox.relativeExecutablePath, -}; -export const versionComparators = { - [Browser.CHROMEDRIVER]: chromedriver.compareVersions, - [Browser.CHROMEHEADLESSSHELL]: chromeHeadlessShell.compareVersions, - [Browser.CHROME]: chrome.compareVersions, - [Browser.CHROMIUM]: chromium.compareVersions, - [Browser.FIREFOX]: firefox.compareVersions, -}; -export { Browser, BrowserPlatform, ChromeReleaseChannel }; -/** - * @public - */ -export async function resolveBuildId(browser, platform, tag) { - switch (browser) { - case Browser.FIREFOX: - switch (tag) { - case BrowserTag.LATEST: - return await firefox.resolveBuildId('FIREFOX_NIGHTLY'); - case BrowserTag.BETA: - case BrowserTag.CANARY: - case BrowserTag.DEV: - case BrowserTag.STABLE: - throw new Error(`${tag} is not supported for ${browser}. Use 'latest' instead.`); - } - case Browser.CHROME: { - switch (tag) { - case BrowserTag.LATEST: - return await chrome.resolveBuildId(ChromeReleaseChannel.CANARY); - case BrowserTag.BETA: - return await chrome.resolveBuildId(ChromeReleaseChannel.BETA); - case BrowserTag.CANARY: - return await chrome.resolveBuildId(ChromeReleaseChannel.CANARY); - case BrowserTag.DEV: - return await chrome.resolveBuildId(ChromeReleaseChannel.DEV); - case BrowserTag.STABLE: - return await chrome.resolveBuildId(ChromeReleaseChannel.STABLE); - default: - const result = await chrome.resolveBuildId(tag); - if (result) { - return result; - } - } - return tag; - } - case Browser.CHROMEDRIVER: { - switch (tag) { - case BrowserTag.LATEST: - case BrowserTag.CANARY: - return await chromedriver.resolveBuildId(ChromeReleaseChannel.CANARY); - case BrowserTag.BETA: - return await chromedriver.resolveBuildId(ChromeReleaseChannel.BETA); - case BrowserTag.DEV: - return await chromedriver.resolveBuildId(ChromeReleaseChannel.DEV); - case BrowserTag.STABLE: - return await chromedriver.resolveBuildId(ChromeReleaseChannel.STABLE); - default: - const result = await chromedriver.resolveBuildId(tag); - if (result) { - return result; - } - } - return tag; - } - case Browser.CHROMEHEADLESSSHELL: { - switch (tag) { - case BrowserTag.LATEST: - case BrowserTag.CANARY: - return await chromeHeadlessShell.resolveBuildId(ChromeReleaseChannel.CANARY); - case BrowserTag.BETA: - return await chromeHeadlessShell.resolveBuildId(ChromeReleaseChannel.BETA); - case BrowserTag.DEV: - return await chromeHeadlessShell.resolveBuildId(ChromeReleaseChannel.DEV); - case BrowserTag.STABLE: - return await chromeHeadlessShell.resolveBuildId(ChromeReleaseChannel.STABLE); - default: - const result = await chromeHeadlessShell.resolveBuildId(tag); - if (result) { - return result; - } - } - return tag; - } - case Browser.CHROMIUM: - switch (tag) { - case BrowserTag.LATEST: - return await chromium.resolveBuildId(platform); - case BrowserTag.BETA: - case BrowserTag.CANARY: - case BrowserTag.DEV: - case BrowserTag.STABLE: - throw new Error(`${tag} is not supported for ${browser}. Use 'latest' instead.`); - } - } - // We assume the tag is the buildId if it didn't match any keywords. - return tag; -} -/** - * @public - */ -export async function createProfile(browser, opts) { - switch (browser) { - case Browser.FIREFOX: - return await firefox.createProfile(opts); - case Browser.CHROME: - case Browser.CHROMIUM: - throw new Error(`Profile creation is not support for ${browser} yet`); - } -} -/** - * @public - */ -export function resolveSystemExecutablePath(browser, platform, channel) { - switch (browser) { - case Browser.CHROMEDRIVER: - case Browser.CHROMEHEADLESSSHELL: - case Browser.FIREFOX: - case Browser.CHROMIUM: - throw new Error(`System browser detection is not supported for ${browser} yet.`); - case Browser.CHROME: - return chrome.resolveSystemExecutablePath(platform, channel); - } -} -/** - * Returns a version comparator for the given browser that can be used to sort - * browser versions. - * - * @public - */ -export function getVersionComparator(browser) { - return versionComparators[browser]; -} -//# sourceMappingURL=browser-data.js.map \ No newline at end of file diff --git a/node_modules/@puppeteer/browsers/lib/esm/browser-data/browser-data.js.map b/node_modules/@puppeteer/browsers/lib/esm/browser-data/browser-data.js.map deleted file mode 100644 index b22f1b3..0000000 --- a/node_modules/@puppeteer/browsers/lib/esm/browser-data/browser-data.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"browser-data.js","sourceRoot":"","sources":["../../../src/browser-data/browser-data.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,mBAAmB,MAAM,4BAA4B,CAAC;AAClE,OAAO,KAAK,MAAM,MAAM,aAAa,CAAC;AACtC,OAAO,KAAK,YAAY,MAAM,mBAAmB,CAAC;AAClD,OAAO,KAAK,QAAQ,MAAM,eAAe,CAAC;AAC1C,OAAO,KAAK,OAAO,MAAM,cAAc,CAAC;AACxC,OAAO,EACL,OAAO,EACP,eAAe,EACf,UAAU,EACV,oBAAoB,GAErB,MAAM,YAAY,CAAC;AAIpB,MAAM,CAAC,MAAM,YAAY,GAAG;IAC1B,CAAC,OAAO,CAAC,YAAY,CAAC,EAAE,YAAY,CAAC,kBAAkB;IACvD,CAAC,OAAO,CAAC,mBAAmB,CAAC,EAAE,mBAAmB,CAAC,kBAAkB;IACrE,CAAC,OAAO,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC,kBAAkB;IAC3C,CAAC,OAAO,CAAC,QAAQ,CAAC,EAAE,QAAQ,CAAC,kBAAkB;IAC/C,CAAC,OAAO,CAAC,OAAO,CAAC,EAAE,OAAO,CAAC,kBAAkB;CAC9C,CAAC;AAEF,MAAM,CAAC,MAAM,aAAa,GAAG;IAC3B,CAAC,OAAO,CAAC,YAAY,CAAC,EAAE,YAAY,CAAC,mBAAmB;IACxD,CAAC,OAAO,CAAC,mBAAmB,CAAC,EAAE,mBAAmB,CAAC,mBAAmB;IACtE,CAAC,OAAO,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC,mBAAmB;IAC5C,CAAC,O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,EAAE,OAAO,CAAC,CAAC;IACjE,CAAC;AACH,CAAC;AAED;;;;;GAKG;AACH,MAAM,UAAU,oBAAoB,CAClC,OAAgB;IAEhB,OAAO,kBAAkB,CAAC,OAAO,CAAC,CAAC;AACrC,CAAC"} \ No newline at end of file diff --git a/node_modules/@puppeteer/browsers/lib/esm/browser-data/chrome-headless-shell.d.ts b/node_modules/@puppeteer/browsers/lib/esm/browser-data/chrome-headless-shell.d.ts deleted file mode 100644 index d21d11b..0000000 --- a/node_modules/@puppeteer/browsers/lib/esm/browser-data/chrome-headless-shell.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { BrowserPlatform } from './types.js'; -export declare function resolveDownloadUrl(platform: BrowserPlatform, buildId: string, baseUrl?: string): string; -export declare function resolveDownloadPath(platform: BrowserPlatform, buildId: string): string[]; -export declare function relativeExecutablePath(platform: BrowserPlatform, _buildId: string): string; -export { resolveBuildId, compareVersions } from './chrome.js'; -//# sourceMappingURL=chrome-headless-shell.d.ts.map \ No newline at end of file diff --git a/node_modules/@puppeteer/browsers/lib/esm/browser-data/chrome-headless-shell.d.ts.map b/node_modules/@puppeteer/browsers/lib/esm/browser-data/chrome-headless-shell.d.ts.map deleted file mode 100644 index 111c511..0000000 --- a/node_modules/@puppeteer/browsers/lib/esm/browser-data/chrome-headless-shell.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"chrome-headless-shell.d.ts","sourceRoot":"","sources":["../../../src/browser-data/chrome-headless-shell.ts"],"names":[],"mappings":"AAOA,OAAO,EAAC,eAAe,EAAC,MAAM,YAAY,CAAC;AAiB3C,wBAAgB,kBAAkB,CAChC,QAAQ,EAAE,eAAe,EACzB,OAAO,EAAE,MAAM,EACf,OAAO,SAA6D,GACnE,MAAM,CAER;AAED,wBAAgB,mBAAmB,CACjC,QAAQ,EAAE,eAAe,EACzB,OAAO,EAAE,MAAM,GACd,MAAM,EAAE,CAMV;AAED,wBAAgB,sBAAsB,CACpC,QAAQ,EAAE,eAAe,EACzB,QAAQ,EAAE,MAAM,GACf,MAAM,CAoBR;AAED,OAAO,EAAC,cAAc,EAAE,eAAe,EAAC,MAAM,aAAa,CAAC"} \ No newline at end of file diff --git a/node_modules/@puppeteer/browsers/lib/esm/browser-data/chrome-headless-shell.js b/node_modules/@puppeteer/browsers/lib/esm/browser-data/chrome-headless-shell.js deleted file mode 100644 index 4c31584..0000000 --- a/node_modules/@puppeteer/browsers/lib/esm/browser-data/chrome-headless-shell.js +++ /dev/null @@ -1,45 +0,0 @@ -/** - * @license - * Copyright 2023 Google Inc. - * SPDX-License-Identifier: Apache-2.0 - */ -import path from 'path'; -import { BrowserPlatform } from './types.js'; -function folder(platform) { - switch (platform) { - case BrowserPlatform.LINUX: - return 'linux64'; - case BrowserPlatform.MAC_ARM: - return 'mac-arm64'; - case BrowserPlatform.MAC: - return 'mac-x64'; - case BrowserPlatform.WIN32: - return 'win32'; - case BrowserPlatform.WIN64: - return 'win64'; - } -} -export function resolveDownloadUrl(platform, buildId, baseUrl = 'https://storage.googleapis.com/chrome-for-testing-public') { - return `${baseUrl}/${resolveDownloadPath(platform, buildId).join('/')}`; -} -export function resolveDownloadPath(platform, buildId) { - return [ - buildId, - folder(platform), - `chrome-headless-shell-${folder(platform)}.zip`, - ]; -} -export function relativeExecutablePath(platform, _buildId) { - switch (platform) { - case BrowserPlatform.MAC: - case BrowserPlatform.MAC_ARM: - return path.join('chrome-headless-shell-' + folder(platform), 'chrome-headless-shell'); - case BrowserPlatform.LINUX: - return path.join('chrome-headless-shell-linux64', 'chrome-headless-shell'); - case BrowserPlatform.WIN32: - case BrowserPlatform.WIN64: - return path.join('chrome-headless-shell-' + folder(platform), 'chrome-headless-shell.exe'); - } -} -export { resolveBuildId, compareVersions } from './chrome.js'; -//# sourceMappingURL=chrome-headless-shell.js.map \ No newline at end of file diff --git a/node_modules/@puppeteer/browsers/lib/esm/browser-data/chrome-headless-shell.js.map b/node_modules/@puppeteer/browsers/lib/esm/browser-data/chrome-headless-shell.js.map deleted file mode 100644 index ccfe09d..0000000 --- a/node_modules/@puppeteer/browsers/lib/esm/browser-data/chrome-headless-shell.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"chrome-headless-shell.js","sourceRoot":"","sources":["../../../src/browser-data/chrome-headless-shell.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,OAAO,IAAI,MAAM,MAAM,CAAC;AAExB,OAAO,EAAC,eAAe,EAAC,MAAM,YAAY,CAAC;AAE3C,SAAS,MAAM,CAAC,QAAyB;IACvC,QAAQ,QAAQ,EAAE,CAAC;QACjB,KAAK,eAAe,CAAC,KAAK;YACxB,OAAO,SAAS,CAAC;QACnB,KAAK,eAAe,CAAC,OAAO;YAC1B,OAAO,WAAW,CAAC;QACrB,KAAK,eAAe,CAAC,GAAG;YACtB,OAAO,SAAS,CAAC;QACnB,KAAK,eAAe,CAAC,KAAK;YACxB,OAAO,OAAO,CAAC;QACjB,KAAK,eAAe,CAAC,KAAK;YACxB,OAAO,OAAO,CAAC;IACnB,CAAC;AACH,CAAC;AAED,MAAM,UAAU,kBAAkB,CAChC,QAAyB,EACzB,OAAe,EACf,OAAO,GAAG,0DAA0D;IAEpE,OAAO,GAAG,OAAO,IAAI,mBAAmB,CAAC,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC;AAC1E,CAAC;AAED,MAAM,UAAU,mBAAmB,CACjC,QAAyB,EACzB,OAAe;IAEf,OAAO;QACL,OAAO;QACP,MAAM,CAAC,QAAQ,CAAC;QAChB,yBAAyB,MAAM,CAAC,QAAQ,CAAC,MAAM;KAChD,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,sBAAsB,CACpC,QAAyB,EACzB,QAAgB;IAEhB,QAAQ,QAAQ,EAAE,CAAC;QACjB,KAAK,eAAe,CAAC,GAAG,CAAC;QACzB,KAAK,eAAe,CAAC,OAAO;YAC1B,OAAO,IAAI,CAAC,IAAI,CACd,wBAAwB,GAAG,MAAM,CAAC,QAAQ,CAAC,EAC3C,uBAAuB,CACxB,CAAC;QACJ,KAAK,eAAe,CAAC,KAAK;YACxB,OAAO,IAAI,CAAC,IAAI,CACd,+BAA+B,EAC/B,uBAAuB,CACxB,CAAC;QACJ,KAAK,eAAe,CAAC,KAAK,CAAC;QAC3B,KAAK,eAAe,CAAC,KAAK;YACxB,OAAO,IAAI,CAAC,IAAI,CACd,wBAAwB,GAAG,MAAM,CAAC,QAAQ,CAAC,EAC3C,2BAA2B,CAC5B,CAAC;IACN,CAAC;AACH,CAAC;AAED,OAAO,EAAC,cAAc,EAAE,eAAe,EAAC,MAAM,aAAa,CAAC"} \ No newline at end of file diff --git a/node_modules/@puppeteer/browsers/lib/esm/browser-data/chrome.d.ts b/node_modules/@puppeteer/browsers/lib/esm/browser-data/chrome.d.ts deleted file mode 100644 index da0c1e7..0000000 --- a/node_modules/@puppeteer/browsers/lib/esm/browser-data/chrome.d.ts +++ /dev/null @@ -1,30 +0,0 @@ -/** - * @license - * Copyright 2023 Google Inc. - * SPDX-License-Identifier: Apache-2.0 - */ -import { BrowserPlatform, ChromeReleaseChannel } from './types.js'; -export declare function resolveDownloadUrl(platform: BrowserPlatform, buildId: string, baseUrl?: string): string; -export declare function resolveDownloadPath(platform: BrowserPlatform, buildId: string): string[]; -export declare function relativeExecutablePath(platform: BrowserPlatform, _buildId: string): string; -export declare function getLastKnownGoodReleaseForChannel(channel: ChromeReleaseChannel): Promise<{ - version: string; - revision: string; -}>; -export declare function getLastKnownGoodReleaseForMilestone(milestone: string): Promise<{ - version: string; - revision: string; -} | undefined>; -export declare function getLastKnownGoodReleaseForBuild( -/** - * @example `112.0.23`, - */ -buildPrefix: string): Promise<{ - version: string; - revision: string; -} | undefined>; -export declare function resolveBuildId(channel: ChromeReleaseChannel): Promise; -export declare function resolveBuildId(channel: string): Promise; -export declare function resolveSystemExecutablePath(platform: BrowserPlatform, channel: ChromeReleaseChannel): string; -export declare function compareVersions(a: string, b: string): number; -//# sourceMappingURL=chrome.d.ts.map \ No newline at end of file diff --git a/node_modules/@puppeteer/browsers/lib/esm/browser-data/chrome.d.ts.map b/node_modules/@puppeteer/browsers/lib/esm/browser-data/chrome.d.ts.map deleted file mode 100644 index 018fee9..0000000 --- a/node_modules/@puppeteer/browsers/lib/esm/browser-data/chrome.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"chrome.d.ts","sourceRoot":"","sources":["../../../src/browser-data/chrome.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAQH,OAAO,EAAC,eAAe,EAAE,oBAAoB,EAAC,MAAM,YAAY,CAAC;AAiBjE,wBAAgB,kBAAkB,CAChC,QAAQ,EAAE,eAAe,EACzB,OAAO,EAAE,MAAM,EACf,OAAO,SAA6D,GACnE,MAAM,CAER;AAED,wBAAgB,mBAAmB,CACjC,QAAQ,EAAE,eAAe,EACzB,OAAO,EAAE,MAAM,GACd,MAAM,EAAE,CAEV;AAED,wBAAgB,sBAAsB,CACpC,QAAQ,EAAE,eAAe,EACzB,QAAQ,EAAE,MAAM,GACf,MAAM,CAiBR;AAED,wBAAsB,iCAAiC,CACrD,OAAO,EAAE,oBAAoB,GAC5B,OAAO,CAAC;IAAC,OAAO,EAAE,MAAM,CAAC;IAAC,QAAQ,EAAE,MAAM,CAAA;CAAC,CAAC,CAqB9C;AAED,wBAAsB,mCAAmC,CACvD,SAAS,EAAE,MAAM,GAChB,OAAO,CAAC;IAAC,OAAO,EAAE,MAAM,CAAC;IAAC,QAAQ,EAAE,MAAM,CAAA;CAAC,GAAG,SAAS,CAAC,CAW1D;AAED,wBAAsB,+BAA+B;AACnD;;GAEG;AACH,WAAW,EAAE,MAAM,GAClB,OAAO,CAAC;IAAC,OAAO,EAAE,MAAM,CAAC;IAAC,QAAQ,EAAE,MAAM,CAAA;CAAC,GAAG,SAAS,CAAC,CAW1D;AAED,wBAAsB,cAAc,CAClC,OAAO,EAAE,oBAAoB,GAC5B,OAAO,CAAC,MAAM,CAAC,CAAC;AACnB,wBAAsB,cAAc,CAClC,OAAO,EAAE,MAAM,GACd,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;AAwB/B,wBAAgB,2BAA2B,CACzC,QAAQ,EAAE,eAAe,EACzB,OAAO,EAAE,oBAAoB,GAC5B,MAAM,CAwCR;AAED,wBAAgB,eAAe,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,CAc5D"} \ No newline at end of file diff --git a/node_modules/@puppeteer/browsers/lib/esm/browser-data/chrome.js b/node_modules/@puppeteer/browsers/lib/esm/browser-data/chrome.js deleted file mode 100644 index 12ef15f..0000000 --- a/node_modules/@puppeteer/browsers/lib/esm/browser-data/chrome.js +++ /dev/null @@ -1,131 +0,0 @@ -/** - * @license - * Copyright 2023 Google Inc. - * SPDX-License-Identifier: Apache-2.0 - */ -import path from 'path'; -import semver from 'semver'; -import { getJSON } from '../httpUtil.js'; -import { BrowserPlatform, ChromeReleaseChannel } from './types.js'; -function folder(platform) { - switch (platform) { - case BrowserPlatform.LINUX: - return 'linux64'; - case BrowserPlatform.MAC_ARM: - return 'mac-arm64'; - case BrowserPlatform.MAC: - return 'mac-x64'; - case BrowserPlatform.WIN32: - return 'win32'; - case BrowserPlatform.WIN64: - return 'win64'; - } -} -export function resolveDownloadUrl(platform, buildId, baseUrl = 'https://storage.googleapis.com/chrome-for-testing-public') { - return `${baseUrl}/${resolveDownloadPath(platform, buildId).join('/')}`; -} -export function resolveDownloadPath(platform, buildId) { - return [buildId, folder(platform), `chrome-${folder(platform)}.zip`]; -} -export function relativeExecutablePath(platform, _buildId) { - switch (platform) { - case BrowserPlatform.MAC: - case BrowserPlatform.MAC_ARM: - return path.join('chrome-' + folder(platform), 'Google Chrome for Testing.app', 'Contents', 'MacOS', 'Google Chrome for Testing'); - case BrowserPlatform.LINUX: - return path.join('chrome-linux64', 'chrome'); - case BrowserPlatform.WIN32: - case BrowserPlatform.WIN64: - return path.join('chrome-' + folder(platform), 'chrome.exe'); - } -} -export async function getLastKnownGoodReleaseForChannel(channel) { - const data = (await getJSON(new URL('https://googlechromelabs.github.io/chrome-for-testing/last-known-good-versions.json'))); - for (const channel of Object.keys(data.channels)) { - data.channels[channel.toLowerCase()] = data.channels[channel]; - delete data.channels[channel]; - } - return data.channels[channel]; -} -export async function getLastKnownGoodReleaseForMilestone(milestone) { - const data = (await getJSON(new URL('https://googlechromelabs.github.io/chrome-for-testing/latest-versions-per-milestone.json'))); - return data.milestones[milestone]; -} -export async function getLastKnownGoodReleaseForBuild( -/** - * @example `112.0.23`, - */ -buildPrefix) { - const data = (await getJSON(new URL('https://googlechromelabs.github.io/chrome-for-testing/latest-patch-versions-per-build.json'))); - return data.builds[buildPrefix]; -} -export async function resolveBuildId(channel) { - if (Object.values(ChromeReleaseChannel).includes(channel)) { - return (await getLastKnownGoodReleaseForChannel(channel)).version; - } - if (channel.match(/^\d+$/)) { - // Potentially a milestone. - return (await getLastKnownGoodReleaseForMilestone(channel))?.version; - } - if (channel.match(/^\d+\.\d+\.\d+$/)) { - // Potentially a build prefix without the patch version. - return (await getLastKnownGoodReleaseForBuild(channel))?.version; - } - return; -} -export function resolveSystemExecutablePath(platform, channel) { - switch (platform) { - case BrowserPlatform.WIN64: - case BrowserPlatform.WIN32: - switch (channel) { - case ChromeReleaseChannel.STABLE: - return `${process.env['PROGRAMFILES']}\\Google\\Chrome\\Application\\chrome.exe`; - case ChromeReleaseChannel.BETA: - return `${process.env['PROGRAMFILES']}\\Google\\Chrome Beta\\Application\\chrome.exe`; - case ChromeReleaseChannel.CANARY: - return `${process.env['PROGRAMFILES']}\\Google\\Chrome SxS\\Application\\chrome.exe`; - case ChromeReleaseChannel.DEV: - return `${process.env['PROGRAMFILES']}\\Google\\Chrome Dev\\Application\\chrome.exe`; - } - case BrowserPlatform.MAC_ARM: - case BrowserPlatform.MAC: - switch (channel) { - case ChromeReleaseChannel.STABLE: - return '/Applications/Google Chrome.app/Contents/MacOS/Google Chrome'; - case ChromeReleaseChannel.BETA: - return '/Applications/Google Chrome Beta.app/Contents/MacOS/Google Chrome Beta'; - case ChromeReleaseChannel.CANARY: - return '/Applications/Google Chrome Canary.app/Contents/MacOS/Google Chrome Canary'; - case ChromeReleaseChannel.DEV: - return '/Applications/Google Chrome Dev.app/Contents/MacOS/Google Chrome Dev'; - } - case BrowserPlatform.LINUX: - switch (channel) { - case ChromeReleaseChannel.STABLE: - return '/opt/google/chrome/chrome'; - case ChromeReleaseChannel.BETA: - return '/opt/google/chrome-beta/chrome'; - case ChromeReleaseChannel.DEV: - return '/opt/google/chrome-unstable/chrome'; - } - } - throw new Error(`Unable to detect browser executable path for '${channel}' on ${platform}.`); -} -export function compareVersions(a, b) { - if (!semver.valid(a)) { - throw new Error(`Version ${a} is not a valid semver version`); - } - if (!semver.valid(b)) { - throw new Error(`Version ${b} is not a valid semver version`); - } - if (semver.gt(a, b)) { - return 1; - } - else if (semver.lt(a, b)) { - return -1; - } - else { - return 0; - } -} -//# sourceMappingURL=chrome.js.map \ No newline at end of file diff --git a/node_modules/@puppeteer/browsers/lib/esm/browser-data/chrome.js.map b/node_modules/@puppeteer/browsers/lib/esm/browser-data/chrome.js.map deleted file mode 100644 index 3651ad8..0000000 --- a/node_modules/@puppeteer/browsers/lib/esm/browser-data/chrome.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"chrome.js","sourceRoot":"","sources":["../../../src/browser-data/chrome.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,IAAI,MAAM,MAAM,CAAC;AAExB,OAAO,MAAM,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAC,OAAO,EAAC,MAAM,gBAAgB,CAAC;AAEvC,OAAO,EAAC,eAAe,EAAE,oBAAoB,EAAC,MAAM,YAAY,CAAC;AAEjE,SAAS,MAAM,CAAC,QAAyB;IACvC,QAAQ,QAAQ,EAAE,CAAC;QACjB,KAAK,eAAe,CAAC,KAAK;YACxB,OAAO,SAAS,CAAC;QACn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K;YACxB,QAAQ,OAAO,EAAE,CAAC;gBAChB,KAAK,oBAAoB,CAAC,MAAM;oBAC9B,OAAO,2BAA2B,CAAC;gBACrC,KAAK,oBAAoB,CAAC,IAAI;oBAC5B,OAAO,gCAAgC,CAAC;gBAC1C,KAAK,oBAAoB,CAAC,GAAG;oBAC3B,OAAO,oCAAoC,CAAC;YAChD,CAAC;IACL,CAAC;IAED,MAAM,IAAI,KAAK,CACb,iDAAiD,OAAO,QAAQ,QAAQ,GAAG,CAC5E,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,eAAe,CAAC,CAAS,EAAE,CAAS;IAClD,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC;QACrB,MAAM,IAAI,KAAK,CAAC,WAAW,CAAC,gCAAgC,CAAC,CAAC;IAChE,CAAC;IACD,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC;QACrB,MAAM,IAAI,KAAK,CAAC,WAAW,CAAC,gCAAgC,CAAC,CAAC;IAChE,CAAC;IACD,IAAI,MAAM,CAAC,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC,EAAE,CAAC;QACpB,OAAO,CAAC,CAAC;IACX,CAAC;SAAM,IAAI,MAAM,CAAC,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC,EAAE,CAAC;QAC3B,OAAO,CAAC,CAAC,CAAC;IACZ,CAAC;SAAM,CAAC;QACN,OAAO,CAAC,CAAC;IACX,CAAC;AACH,CAAC"} \ No newline at end of file diff --git a/node_modules/@puppeteer/browsers/lib/esm/browser-data/chromedriver.d.ts b/node_modules/@puppeteer/browsers/lib/esm/browser-data/chromedriver.d.ts deleted file mode 100644 index 5a26c3f..0000000 --- a/node_modules/@puppeteer/browsers/lib/esm/browser-data/chromedriver.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { BrowserPlatform } from './types.js'; -export declare function resolveDownloadUrl(platform: BrowserPlatform, buildId: string, baseUrl?: string): string; -export declare function resolveDownloadPath(platform: BrowserPlatform, buildId: string): string[]; -export declare function relativeExecutablePath(platform: BrowserPlatform, _buildId: string): string; -export { resolveBuildId, compareVersions } from './chrome.js'; -//# sourceMappingURL=chromedriver.d.ts.map \ No newline at end of file diff --git a/node_modules/@puppeteer/browsers/lib/esm/browser-data/chromedriver.d.ts.map b/node_modules/@puppeteer/browsers/lib/esm/browser-data/chromedriver.d.ts.map deleted file mode 100644 index 6f59ef1..0000000 --- a/node_modules/@puppeteer/browsers/lib/esm/browser-data/chromedriver.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"chromedriver.d.ts","sourceRoot":"","sources":["../../../src/browser-data/chromedriver.ts"],"names":[],"mappings":"AAOA,OAAO,EAAC,eAAe,EAAC,MAAM,YAAY,CAAC;AAiB3C,wBAAgB,kBAAkB,CAChC,QAAQ,EAAE,eAAe,EACzB,OAAO,EAAE,MAAM,EACf,OAAO,SAA6D,GACnE,MAAM,CAER;AAED,wBAAgB,mBAAmB,CACjC,QAAQ,EAAE,eAAe,EACzB,OAAO,EAAE,MAAM,GACd,MAAM,EAAE,CAEV;AAED,wBAAgB,sBAAsB,CACpC,QAAQ,EAAE,eAAe,EACzB,QAAQ,EAAE,MAAM,GACf,MAAM,CAWR;AAED,OAAO,EAAC,cAAc,EAAE,eAAe,EAAC,MAAM,aAAa,CAAC"} \ No newline at end of file diff --git a/node_modules/@puppeteer/browsers/lib/esm/browser-data/chromedriver.js b/node_modules/@puppeteer/browsers/lib/esm/browser-data/chromedriver.js deleted file mode 100644 index 3e31d2f..0000000 --- a/node_modules/@puppeteer/browsers/lib/esm/browser-data/chromedriver.js +++ /dev/null @@ -1,41 +0,0 @@ -/** - * @license - * Copyright 2023 Google Inc. - * SPDX-License-Identifier: Apache-2.0 - */ -import path from 'path'; -import { BrowserPlatform } from './types.js'; -function folder(platform) { - switch (platform) { - case BrowserPlatform.LINUX: - return 'linux64'; - case BrowserPlatform.MAC_ARM: - return 'mac-arm64'; - case BrowserPlatform.MAC: - return 'mac-x64'; - case BrowserPlatform.WIN32: - return 'win32'; - case BrowserPlatform.WIN64: - return 'win64'; - } -} -export function resolveDownloadUrl(platform, buildId, baseUrl = 'https://storage.googleapis.com/chrome-for-testing-public') { - return `${baseUrl}/${resolveDownloadPath(platform, buildId).join('/')}`; -} -export function resolveDownloadPath(platform, buildId) { - return [buildId, folder(platform), `chromedriver-${folder(platform)}.zip`]; -} -export function relativeExecutablePath(platform, _buildId) { - switch (platform) { - case BrowserPlatform.MAC: - case BrowserPlatform.MAC_ARM: - return path.join('chromedriver-' + folder(platform), 'chromedriver'); - case BrowserPlatform.LINUX: - return path.join('chromedriver-linux64', 'chromedriver'); - case BrowserPlatform.WIN32: - case BrowserPlatform.WIN64: - return path.join('chromedriver-' + folder(platform), 'chromedriver.exe'); - } -} -export { resolveBuildId, compareVersions } from './chrome.js'; -//# sourceMappingURL=chromedriver.js.map \ No newline at end of file diff --git a/node_modules/@puppeteer/browsers/lib/esm/browser-data/chromedriver.js.map b/node_modules/@puppeteer/browsers/lib/esm/browser-data/chromedriver.js.map deleted file mode 100644 index 744536d..0000000 --- a/node_modules/@puppeteer/browsers/lib/esm/browser-data/chromedriver.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"chromedriver.js","sourceRoot":"","sources":["../../../src/browser-data/chromedriver.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,OAAO,IAAI,MAAM,MAAM,CAAC;AAExB,OAAO,EAAC,eAAe,EAAC,MAAM,YAAY,CAAC;AAE3C,SAAS,MAAM,CAAC,QAAyB;IACvC,QAAQ,QAAQ,EAAE,CAAC;QACjB,KAAK,eAAe,CAAC,KAAK;YACxB,OAAO,SAAS,CAAC;QACnB,KAAK,eAAe,CAAC,OAAO;YAC1B,OAAO,WAAW,CAAC;QACrB,KAAK,eAAe,CAAC,GAAG;YACtB,OAAO,SAAS,CAAC;QACnB,KAAK,eAAe,CAAC,KAAK;YACxB,OAAO,OAAO,CAAC;QACjB,KAAK,eAAe,CAAC,KAAK;YACxB,OAAO,OAAO,CAAC;IACnB,CAAC;AACH,CAAC;AAED,MAAM,UAAU,kBAAkB,CAChC,QAAyB,EACzB,OAAe,EACf,OAAO,GAAG,0DAA0D;IAEpE,OAAO,GAAG,OAAO,IAAI,mBAAmB,CAAC,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC;AAC1E,CAAC;AAED,MAAM,UAAU,mBAAmB,CACjC,QAAyB,EACzB,OAAe;IAEf,OAAO,CAAC,OAAO,EAAE,MAAM,CAAC,QAAQ,CAAC,EAAE,gBAAgB,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC;AAC7E,CAAC;AAED,MAAM,UAAU,sBAAsB,CACpC,QAAyB,EACzB,QAAgB;IAEhB,QAAQ,QAAQ,EAAE,CAAC;QACjB,KAAK,eAAe,CAAC,GAAG,CAAC;QACzB,KAAK,eAAe,CAAC,OAAO;YAC1B,OAAO,IAAI,CAAC,IAAI,CAAC,eAAe,GAAG,MAAM,CAAC,QAAQ,CAAC,EAAE,cAAc,CAAC,CAAC;QACvE,KAAK,eAAe,CAAC,KAAK;YACxB,OAAO,IAAI,CAAC,IAAI,CAAC,sBAAsB,EAAE,cAAc,CAAC,CAAC;QAC3D,KAAK,eAAe,CAAC,KAAK,CAAC;QAC3B,KAAK,eAAe,CAAC,KAAK;YACxB,OAAO,IAAI,CAAC,IAAI,CAAC,eAAe,GAAG,MAAM,CAAC,QAAQ,CAAC,EAAE,kBAAkB,CAAC,CAAC;IAC7E,CAAC;AACH,CAAC;AAED,OAAO,EAAC,cAAc,EAAE,eAAe,EAAC,MAAM,aAAa,CAAC"} \ No newline at end of file diff --git a/node_modules/@puppeteer/browsers/lib/esm/browser-data/chromium.d.ts b/node_modules/@puppeteer/browsers/lib/esm/browser-data/chromium.d.ts deleted file mode 100644 index 6bcb936..0000000 --- a/node_modules/@puppeteer/browsers/lib/esm/browser-data/chromium.d.ts +++ /dev/null @@ -1,12 +0,0 @@ -/** - * @license - * Copyright 2023 Google Inc. - * SPDX-License-Identifier: Apache-2.0 - */ -import { BrowserPlatform } from './types.js'; -export declare function resolveDownloadUrl(platform: BrowserPlatform, buildId: string, baseUrl?: string): string; -export declare function resolveDownloadPath(platform: BrowserPlatform, buildId: string): string[]; -export declare function relativeExecutablePath(platform: BrowserPlatform, _buildId: string): string; -export declare function resolveBuildId(platform: BrowserPlatform): Promise; -export declare function compareVersions(a: string, b: string): number; -//# sourceMappingURL=chromium.d.ts.map \ No newline at end of file diff --git a/node_modules/@puppeteer/browsers/lib/esm/browser-data/chromium.d.ts.map b/node_modules/@puppeteer/browsers/lib/esm/browser-data/chromium.d.ts.map deleted file mode 100644 index 72e3a10..0000000 --- a/node_modules/@puppeteer/browsers/lib/esm/browser-data/chromium.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"chromium.d.ts","sourceRoot":"","sources":["../../../src/browser-data/chromium.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAMH,OAAO,EAAC,eAAe,EAAC,MAAM,YAAY,CAAC;AA+B3C,wBAAgB,kBAAkB,CAChC,QAAQ,EAAE,eAAe,EACzB,OAAO,EAAE,MAAM,EACf,OAAO,SAA8D,GACpE,MAAM,CAER;AAED,wBAAgB,mBAAmB,CACjC,QAAQ,EAAE,eAAe,EACzB,OAAO,EAAE,MAAM,GACd,MAAM,EAAE,CAEV;AAED,wBAAgB,sBAAsB,CACpC,QAAQ,EAAE,eAAe,EACzB,QAAQ,EAAE,MAAM,GACf,MAAM,CAiBR;AACD,wBAAsB,cAAc,CAClC,QAAQ,EAAE,eAAe,GACxB,OAAO,CAAC,MAAM,CAAC,CAQjB;AAED,wBAAgB,eAAe,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,CAE5D"} \ No newline at end of file diff --git a/node_modules/@puppeteer/browsers/lib/esm/browser-data/chromium.js b/node_modules/@puppeteer/browsers/lib/esm/browser-data/chromium.js deleted file mode 100644 index 0e0228a..0000000 --- a/node_modules/@puppeteer/browsers/lib/esm/browser-data/chromium.js +++ /dev/null @@ -1,60 +0,0 @@ -/** - * @license - * Copyright 2023 Google Inc. - * SPDX-License-Identifier: Apache-2.0 - */ -import path from 'path'; -import { getText } from '../httpUtil.js'; -import { BrowserPlatform } from './types.js'; -function archive(platform, buildId) { - switch (platform) { - case BrowserPlatform.LINUX: - return 'chrome-linux'; - case BrowserPlatform.MAC_ARM: - case BrowserPlatform.MAC: - return 'chrome-mac'; - case BrowserPlatform.WIN32: - case BrowserPlatform.WIN64: - // Windows archive name changed at r591479. - return parseInt(buildId, 10) > 591479 ? 'chrome-win' : 'chrome-win32'; - } -} -function folder(platform) { - switch (platform) { - case BrowserPlatform.LINUX: - return 'Linux_x64'; - case BrowserPlatform.MAC_ARM: - return 'Mac_Arm'; - case BrowserPlatform.MAC: - return 'Mac'; - case BrowserPlatform.WIN32: - return 'Win'; - case BrowserPlatform.WIN64: - return 'Win_x64'; - } -} -export function resolveDownloadUrl(platform, buildId, baseUrl = 'https://storage.googleapis.com/chromium-browser-snapshots') { - return `${baseUrl}/${resolveDownloadPath(platform, buildId).join('/')}`; -} -export function resolveDownloadPath(platform, buildId) { - return [folder(platform), buildId, `${archive(platform, buildId)}.zip`]; -} -export function relativeExecutablePath(platform, _buildId) { - switch (platform) { - case BrowserPlatform.MAC: - case BrowserPlatform.MAC_ARM: - return path.join('chrome-mac', 'Chromium.app', 'Contents', 'MacOS', 'Chromium'); - case BrowserPlatform.LINUX: - return path.join('chrome-linux', 'chrome'); - case BrowserPlatform.WIN32: - case BrowserPlatform.WIN64: - return path.join('chrome-win', 'chrome.exe'); - } -} -export async function resolveBuildId(platform) { - return await getText(new URL(`https://storage.googleapis.com/chromium-browser-snapshots/${folder(platform)}/LAST_CHANGE`)); -} -export function compareVersions(a, b) { - return Number(a) - Number(b); -} -//# sourceMappingURL=chromium.js.map \ No newline at end of file diff --git a/node_modules/@puppeteer/browsers/lib/esm/browser-data/chromium.js.map b/node_modules/@puppeteer/browsers/lib/esm/browser-data/chromium.js.map deleted file mode 100644 index d3d6430..0000000 --- a/node_modules/@puppeteer/browsers/lib/esm/browser-data/chromium.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"chromium.js","sourceRoot":"","sources":["../../../src/browser-data/chromium.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,IAAI,MAAM,MAAM,CAAC;AAExB,OAAO,EAAC,OAAO,EAAC,MAAM,gBAAgB,CAAC;AAEvC,OAAO,EAAC,eAAe,EAAC,MAAM,YAAY,CAAC;AAE3C,SAAS,OAAO,CAAC,QAAyB,EAAE,OAAe;IACzD,QAAQ,QAAQ,EAAE,CAAC;QACjB,KAAK,eAAe,CAAC,KAAK;YACxB,OAAO,cAAc,CAAC;QACxB,KAAK,eAAe,CAAC,OAAO,CAAC;QAC7B,KAAK,eAAe,CAAC,GAAG;YACtB,OAAO,YAAY,CAAC;QACtB,KAAK,eAAe,CAAC,KAAK,CAAC;QAC3B,KAAK,eAAe,CAAC,KAAK;YACxB,2CAA2C;YAC3C,OAAO,QAAQ,CAAC,OAAO,EAAE,EAAE,CAAC,GAAG,MAAM,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,cAAc,CAAC;IAC1E,CAAC;AACH,CAAC;AAED,SAAS,MAAM,CAAC,QAAyB;IACvC,QAAQ,QAAQ,EAAE,CAAC;QACjB,KAAK,eAAe,CAAC,KAAK;YACxB,OAAO,WAAW,CAAC;QACrB,KAAK,eAAe,CAAC,OAAO;YAC1B,OAAO,SAAS,CAAC;QACnB,KAAK,eAAe,CAAC,GAAG;YACtB,OAAO,KAAK,CAAC;QACf,KAAK,eAAe,CAAC,KAAK;YACxB,OAAO,KAAK,CAAC;QACf,KAAK,eAAe,CAAC,KAAK;YACxB,OAAO,SAAS,CAAC;IACrB,CAAC;AACH,CAAC;AAED,MAAM,UAAU,kBAAkB,CAChC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teer/browsers/lib/esm/browser-data/firefox.d.ts deleted file mode 100644 index de4a922..0000000 --- a/node_modules/@puppeteer/browsers/lib/esm/browser-data/firefox.d.ts +++ /dev/null @@ -1,13 +0,0 @@ -/** - * @license - * Copyright 2023 Google Inc. - * SPDX-License-Identifier: Apache-2.0 - */ -import { BrowserPlatform, type ProfileOptions } from './types.js'; -export declare function resolveDownloadUrl(platform: BrowserPlatform, buildId: string, baseUrl?: string): string; -export declare function resolveDownloadPath(platform: BrowserPlatform, buildId: string): string[]; -export declare function relativeExecutablePath(platform: BrowserPlatform, _buildId: string): string; -export declare function resolveBuildId(channel?: 'FIREFOX_NIGHTLY'): Promise; -export declare function createProfile(options: ProfileOptions): Promise; -export declare function compareVersions(a: string, b: string): number; -//# sourceMappingURL=firefox.d.ts.map \ No newline at end of file diff --git a/node_modules/@puppeteer/browsers/lib/esm/browser-data/firefox.d.ts.map b/node_modules/@puppeteer/browsers/lib/esm/browser-data/firefox.d.ts.map deleted file mode 100644 index 6dd32c6..0000000 --- a/node_modules/@puppeteer/browsers/lib/esm/browser-data/firefox.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"firefox.d.ts","sourceRoot":"","sources":["../../../src/browser-data/firefox.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAOH,OAAO,EAAC,eAAe,EAAE,KAAK,cAAc,EAAC,MAAM,YAAY,CAAC;AAehE,wBAAgB,kBAAkB,CAChC,QAAQ,EAAE,eAAe,EACzB,OAAO,EAAE,MAAM,EACf,OAAO,SAA2E,GACjF,MAAM,CAER;AAED,wBAAgB,mBAAmB,CACjC,QAAQ,EAAE,eAAe,EACzB,OAAO,EAAE,MAAM,GACd,MAAM,EAAE,CAEV;AAED,wBAAgB,sBAAsB,CACpC,QAAQ,EAAE,eAAe,EACzB,QAAQ,EAAE,MAAM,GACf,MAAM,CAWR;AAED,wBAAsB,cAAc,CAClC,OAAO,GAAE,iBAAqC,GAC7C,OAAO,CAAC,MAAM,CAAC,CASjB;AAED,wBAAsB,aAAa,CAAC,OAAO,EAAE,cAAc,GAAG,OAAO,CAAC,IAAI,CAAC,CAa1E;AAwPD,wBAAgB,eAAe,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,CAG5D"} \ No newline at end of file diff --git a/node_modules/@puppeteer/browsers/lib/esm/browser-data/firefox.js b/node_modules/@puppeteer/browsers/lib/esm/browser-data/firefox.js deleted file mode 100644 index 94fda75..0000000 --- a/node_modules/@puppeteer/browsers/lib/esm/browser-data/firefox.js +++ /dev/null @@ -1,250 +0,0 @@ -/** - * @license - * Copyright 2023 Google Inc. - * SPDX-License-Identifier: Apache-2.0 - */ -import fs from 'fs'; -import path from 'path'; -import { getJSON } from '../httpUtil.js'; -import { BrowserPlatform } from './types.js'; -function archive(platform, buildId) { - switch (platform) { - case BrowserPlatform.LINUX: - return `firefox-${buildId}.en-US.${platform}-x86_64.tar.bz2`; - case BrowserPlatform.MAC_ARM: - case BrowserPlatform.MAC: - return `firefox-${buildId}.en-US.mac.dmg`; - case BrowserPlatform.WIN32: - case BrowserPlatform.WIN64: - return `firefox-${buildId}.en-US.${platform}.zip`; - } -} -export function resolveDownloadUrl(platform, buildId, baseUrl = 'https://archive.mozilla.org/pub/firefox/nightly/latest-mozilla-central') { - return `${baseUrl}/${resolveDownloadPath(platform, buildId).join('/')}`; -} -export function resolveDownloadPath(platform, buildId) { - return [archive(platform, buildId)]; -} -export function relativeExecutablePath(platform, _buildId) { - switch (platform) { - case BrowserPlatform.MAC_ARM: - case BrowserPlatform.MAC: - return path.join('Firefox Nightly.app', 'Contents', 'MacOS', 'firefox'); - case BrowserPlatform.LINUX: - return path.join('firefox', 'firefox'); - case BrowserPlatform.WIN32: - case BrowserPlatform.WIN64: - return path.join('firefox', 'firefox.exe'); - } -} -export async function resolveBuildId(channel = 'FIREFOX_NIGHTLY') { - const versions = (await getJSON(new URL('https://product-details.mozilla.org/1.0/firefox_versions.json'))); - const version = versions[channel]; - if (!version) { - throw new Error(`Channel ${channel} is not found.`); - } - return version; -} -export async function createProfile(options) { - if (!fs.existsSync(options.path)) { - await fs.promises.mkdir(options.path, { - recursive: true, - }); - } - await writePreferences({ - preferences: { - ...defaultProfilePreferences(options.preferences), - ...options.preferences, - }, - path: options.path, - }); -} -function defaultProfilePreferences(extraPrefs) { - const server = 'dummy.test'; - const defaultPrefs = { - // Make sure Shield doesn't hit the network. - 'app.normandy.api_url': '', - // Disable Firefox old build background check - 'app.update.checkInstallTime': false, - // Disable automatically upgrading Firefox - 'app.update.disabledForTesting': true, - // Increase the APZ content response timeout to 1 minute - 'apz.content_response_timeout': 60000, - // Prevent various error message on the console - // jest-puppeteer asserts that no error message is emitted by the console - 'browser.contentblocking.features.standard': '-tp,tpPrivate,cookieBehavior0,-cm,-fp', - // Enable the dump function: which sends messages to the system - // console - // https://bugzilla.mozilla.org/show_bug.cgi?id=1543115 - 'browser.dom.window.dump.enabled': true, - // Disable topstories - 'browser.newtabpage.activity-stream.feeds.system.topstories': false, - // Always display a blank page - 'browser.newtabpage.enabled': false, - // Background thumbnails in particular cause grief: and disabling - // thumbnails in general cannot hurt - 'browser.pagethumbnails.capturing_disabled': true, - // Disable safebrowsing components. - 'browser.safebrowsing.blockedURIs.enabled': false, - 'browser.safebrowsing.downloads.enabled': false, - 'browser.safebrowsing.malware.enabled': false, - 'browser.safebrowsing.phishing.enabled': false, - // Disable updates to search engines. - 'browser.search.update': false, - // Do not restore the last open set of tabs if the browser has crashed - 'browser.sessionstore.resume_from_crash': false, - // Skip check for default browser on startup - 'browser.shell.checkDefaultBrowser': false, - // Disable newtabpage - 'browser.startup.homepage': 'about:blank', - // Do not redirect user when a milstone upgrade of Firefox is detected - 'browser.startup.homepage_override.mstone': 'ignore', - // Start with a blank page about:blank - 'browser.startup.page': 0, - // Do not allow background tabs to be zombified on Android: otherwise for - // tests that open additional tabs: the test harness tab itself might get - // unloaded - 'browser.tabs.disableBackgroundZombification': false, - // Do not warn when closing all other open tabs - 'browser.tabs.warnOnCloseOtherTabs': false, - // Do not warn when multiple tabs will be opened - 'browser.tabs.warnOnOpen': false, - // Do not automatically offer translations, as tests do not expect this. - 'browser.translations.automaticallyPopup': false, - // Disable the UI tour. - 'browser.uitour.enabled': false, - // Turn off search suggestions in the location bar so as not to trigger - // network connections. - 'browser.urlbar.suggest.searches': false, - // Disable first run splash page on Windows 10 - 'browser.usedOnWindows10.introURL': '', - // Do not warn on quitting Firefox - 'browser.warnOnQuit': false, - // Defensively disable data reporting systems - 'datareporting.healthreport.documentServerURI': `http://${server}/dummy/healthreport/`, - 'datareporting.healthreport.logging.consoleEnabled': false, - 'datareporting.healthreport.service.enabled': false, - 'datareporting.healthreport.service.firstRun': false, - 'datareporting.healthreport.uploadEnabled': false, - // Do not show datareporting policy notifications which can interfere with tests - 'datareporting.policy.dataSubmissionEnabled': false, - 'datareporting.policy.dataSubmissionPolicyBypassNotification': true, - // DevTools JSONViewer sometimes fails to load dependencies with its require.js. - // This doesn't affect Puppeteer but spams console (Bug 1424372) - 'devtools.jsonview.enabled': false, - // Disable popup-blocker - 'dom.disable_open_during_load': false, - // Enable the support for File object creation in the content process - // Required for |Page.setFileInputFiles| protocol method. - 'dom.file.createInChild': true, - // Disable the ProcessHangMonitor - 'dom.ipc.reportProcessHangs': false, - // Disable slow script dialogues - 'dom.max_chrome_script_run_time': 0, - 'dom.max_script_run_time': 0, - // Only load extensions from the application and user profile - // AddonManager.SCOPE_PROFILE + AddonManager.SCOPE_APPLICATION - 'extensions.autoDisableScopes': 0, - 'extensions.enabledScopes': 5, - // Disable metadata caching for installed add-ons by default - 'extensions.getAddons.cache.enabled': false, - // Disable installing any distribution extensions or add-ons. - 'extensions.installDistroAddons': false, - // Disabled screenshots extension - 'extensions.screenshots.disabled': true, - // Turn off extension updates so they do not bother tests - 'extensions.update.enabled': false, - // Turn off extension updates so they do not bother tests - 'extensions.update.notifyUser': false, - // Make sure opening about:addons will not hit the network - 'extensions.webservice.discoverURL': `http://${server}/dummy/discoveryURL`, - // Allow the application to have focus even it runs in the background - 'focusmanager.testmode': true, - // Disable useragent updates - 'general.useragent.updates.enabled': false, - // Always use network provider for geolocation tests so we bypass the - // macOS dialog raised by the corelocation provider - 'geo.provider.testing': true, - // Do not scan Wifi - 'geo.wifi.scan': false, - // No hang monitor - 'hangmonitor.timeout': 0, - // Show chrome errors and warnings in the error console - 'javascript.options.showInConsole': true, - // Disable download and usage of OpenH264: and Widevine plugins - 'media.gmp-manager.updateEnabled': false, - // Disable the GFX sanity window - 'media.sanity-test.disabled': true, - // Prevent various error message on the console - // jest-puppeteer asserts that no error message is emitted by the console - 'network.cookie.cookieBehavior': 0, - // Disable experimental feature that is only available in Nightly - 'network.cookie.sameSite.laxByDefault': false, - // Do not prompt for temporary redirects - 'network.http.prompt-temp-redirect': false, - // Disable speculative connections so they are not reported as leaking - // when they are hanging around - 'network.http.speculative-parallel-limit': 0, - // Do not automatically switch between offline and online - 'network.manage-offline-status': false, - // Make sure SNTP requests do not hit the network - 'network.sntp.pools': server, - // Disable Flash. - 'plugin.state.flash': 0, - 'privacy.trackingprotection.enabled': false, - // Can be removed once Firefox 89 is no longer supported - // https://bugzilla.mozilla.org/show_bug.cgi?id=1710839 - 'remote.enabled': true, - // Don't do network connections for mitm priming - 'security.certerrors.mitm.priming.enabled': false, - // Local documents have access to all other local documents, - // including directory listings - 'security.fileuri.strict_origin_policy': false, - // Do not wait for the notification button security delay - 'security.notification_enable_delay': 0, - // Ensure blocklist updates do not hit the network - 'services.settings.server': `http://${server}/dummy/blocklist/`, - // Do not automatically fill sign-in forms with known usernames and - // passwords - 'signon.autofillForms': false, - // Disable password capture, so that tests that include forms are not - // influenced by the presence of the persistent doorhanger notification - 'signon.rememberSignons': false, - // Disable first-run welcome page - 'startup.homepage_welcome_url': 'about:blank', - // Disable first-run welcome page - 'startup.homepage_welcome_url.additional': '', - // Disable browser animations (tabs, fullscreen, sliding alerts) - 'toolkit.cosmeticAnimations.enabled': false, - // Prevent starting into safe mode after application crashes - 'toolkit.startup.max_resumed_crashes': -1, - }; - return Object.assign(defaultPrefs, extraPrefs); -} -/** - * Populates the user.js file with custom preferences as needed to allow - * Firefox's CDP support to properly function. These preferences will be - * automatically copied over to prefs.js during startup of Firefox. To be - * able to restore the original values of preferences a backup of prefs.js - * will be created. - * - * @param prefs - List of preferences to add. - * @param profilePath - Firefox profile to write the preferences to. - */ -async function writePreferences(options) { - const lines = Object.entries(options.preferences).map(([key, value]) => { - return `user_pref(${JSON.stringify(key)}, ${JSON.stringify(value)});`; - }); - await fs.promises.writeFile(path.join(options.path, 'user.js'), lines.join('\n')); - // Create a backup of the preferences file if it already exitsts. - const prefsPath = path.join(options.path, 'prefs.js'); - if (fs.existsSync(prefsPath)) { - const prefsBackupPath = path.join(options.path, 'prefs.js.puppeteer'); - await fs.promises.copyFile(prefsPath, prefsBackupPath); - } -} -export function compareVersions(a, b) { - // TODO: this is a not very reliable check. - return parseInt(a.replace('.', ''), 16) - parseInt(b.replace('.', ''), 16); -} -//# sourceMappingURL=firefox.js.map \ No newline at end of file diff --git a/node_modules/@puppeteer/browsers/lib/esm/browser-data/firefox.js.map b/node_modules/@puppeteer/browsers/lib/esm/browser-data/firefox.js.map deleted file mode 100644 index 5a21cd7..0000000 --- a/node_modules/@puppeteer/browsers/lib/esm/browser-data/firefox.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"firefox.js","sourceRoot":"","sources":["../../../src/browser-data/firefox.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,MAAM,IAAI,CAAC;AACpB,OAAO,IAAI,MAAM,MAAM,CAAC;AAExB,OAAO,EAAC,OAAO,EAAC,MAAM,gBAAgB,CAAC;AAEvC,OAAO,EAAC,eAAe,EAAsB,MAAM,YAAY,CAAC;AAEhE,SAAS,OAAO,CAAC,QAAyB,EAAE,OAAe;IACzD,QAAQ,QAAQ,EAAE,CAAC;QACjB,KAAK,eAAe,CAAC,KAAK;YACxB,OAAO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CAAC,QAAQ,CAAC,QAAQ,CAAC,SAAS,EAAE,eAAe,CAAC,CAAC;IACzD,CAAC;AACH,CAAC;AAED,MAAM,UAAU,eAAe,CAAC,CAAS,EAAE,CAAS;IAClD,2CAA2C;IAC3C,OAAO,QAAQ,CAAC,CAAC,CAAC,OAAO,CAAC,GAAG,EAAE,EAAE,CAAC,EAAE,EAAE,CAAC,GAAG,QAAQ,CAAC,CAAC,CAAC,OAAO,CAAC,GAAG,EAAE,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC;AAC7E,CAAC"} \ No newline at end of file diff --git a/node_modules/@puppeteer/browsers/lib/esm/browser-data/types.d.ts b/node_modules/@puppeteer/browsers/lib/esm/browser-data/types.d.ts deleted file mode 100644 index 587efa4..0000000 --- a/node_modules/@puppeteer/browsers/lib/esm/browser-data/types.d.ts +++ /dev/null @@ -1,57 +0,0 @@ -/** - * @license - * Copyright 2023 Google Inc. - * SPDX-License-Identifier: Apache-2.0 - */ -/** - * Supported browsers. - * - * @public - */ -export declare enum Browser { - CHROME = "chrome", - CHROMEHEADLESSSHELL = "chrome-headless-shell", - CHROMIUM = "chromium", - FIREFOX = "firefox", - CHROMEDRIVER = "chromedriver" -} -/** - * Platform names used to identify a OS platform x architecture combination in the way - * that is relevant for the browser download. - * - * @public - */ -export declare enum BrowserPlatform { - LINUX = "linux", - MAC = "mac", - MAC_ARM = "mac_arm", - WIN32 = "win32", - WIN64 = "win64" -} -/** - * @public - */ -export declare enum BrowserTag { - CANARY = "canary", - BETA = "beta", - DEV = "dev", - STABLE = "stable", - LATEST = "latest" -} -/** - * @public - */ -export interface ProfileOptions { - preferences: Record; - path: string; -} -/** - * @public - */ -export declare enum ChromeReleaseChannel { - STABLE = "stable", - DEV = "dev", - CANARY = "canary", - BETA = "beta" -} -//# sourceMappingURL=types.d.ts.map \ No newline at end of file diff --git a/node_modules/@puppeteer/browsers/lib/esm/browser-data/types.d.ts.map b/node_modules/@puppeteer/browsers/lib/esm/browser-data/types.d.ts.map deleted file mode 100644 index 2d6b36a..0000000 --- a/node_modules/@puppeteer/browsers/lib/esm/browser-data/types.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/browser-data/types.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH;;;;GAIG;AACH,oBAAY,OAAO;IACjB,MAAM,WAAW;IACjB,mBAAmB,0BAA0B;IAC7C,QAAQ,aAAa;IACrB,OAAO,YAAY;IACnB,YAAY,iBAAiB;CAC9B;AAED;;;;;GAKG;AACH,oBAAY,eAAe;IACzB,KAAK,UAAU;IACf,GAAG,QAAQ;IACX,OAAO,YAAY;IACnB,KAAK,UAAU;IACf,KAAK,UAAU;CAChB;AAED;;GAEG;AACH,oBAAY,UAAU;IACpB,MAAM,WAAW;IACjB,IAAI,SAAS;IACb,GAAG,QAAQ;IACX,MAAM,WAAW;IACjB,MAAM,WAAW;CAClB;AAED;;GAEG;AACH,MAAM,WAAW,cAAc;IAC7B,WAAW,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACrC,IAAI,EAAE,MAAM,CAAC;CACd;AAED;;GAEG;AACH,oBAAY,oBAAoB;IAC9B,MAAM,WAAW;IACjB,GAAG,QAAQ;IACX,MAAM,WAAW;IACjB,IAAI,SAAS;CACd"} \ No newline at end of file diff --git a/node_modules/@puppeteer/browsers/lib/esm/browser-data/types.js b/node_modules/@puppeteer/browsers/lib/esm/browser-data/types.js deleted file mode 100644 index 9fab533..0000000 --- a/node_modules/@puppeteer/browsers/lib/esm/browser-data/types.js +++ /dev/null @@ -1,54 +0,0 @@ -/** - * @license - * Copyright 2023 Google Inc. - * SPDX-License-Identifier: Apache-2.0 - */ -/** - * Supported browsers. - * - * @public - */ -export var Browser; -(function (Browser) { - Browser["CHROME"] = "chrome"; - Browser["CHROMEHEADLESSSHELL"] = "chrome-headless-shell"; - Browser["CHROMIUM"] = "chromium"; - Browser["FIREFOX"] = "firefox"; - Browser["CHROMEDRIVER"] = "chromedriver"; -})(Browser || (Browser = {})); -/** - * Platform names used to identify a OS platform x architecture combination in the way - * that is relevant for the browser download. - * - * @public - */ -export var BrowserPlatform; -(function (BrowserPlatform) { - BrowserPlatform["LINUX"] = "linux"; - BrowserPlatform["MAC"] = "mac"; - BrowserPlatform["MAC_ARM"] = "mac_arm"; - BrowserPlatform["WIN32"] = "win32"; - BrowserPlatform["WIN64"] = "win64"; -})(BrowserPlatform || (BrowserPlatform = {})); -/** - * @public - */ -export var BrowserTag; -(function (BrowserTag) { - BrowserTag["CANARY"] = "canary"; - BrowserTag["BETA"] = "beta"; - BrowserTag["DEV"] = "dev"; - BrowserTag["STABLE"] = "stable"; - BrowserTag["LATEST"] = "latest"; -})(BrowserTag || (BrowserTag = {})); -/** - * @public - */ -export var ChromeReleaseChannel; -(function (ChromeReleaseChannel) { - ChromeReleaseChannel["STABLE"] = "stable"; - ChromeReleaseChannel["DEV"] = "dev"; - ChromeReleaseChannel["CANARY"] = "canary"; - ChromeReleaseChannel["BETA"] = "beta"; -})(ChromeReleaseChannel || (ChromeReleaseChannel = {})); -//# sourceMappingURL=types.js.map \ No newline at end of file diff --git a/node_modules/@puppeteer/browsers/lib/esm/browser-data/types.js.map b/node_modules/@puppeteer/browsers/lib/esm/browser-data/types.js.map deleted file mode 100644 index 6600340..0000000 --- a/node_modules/@puppeteer/browsers/lib/esm/browser-data/types.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/browser-data/types.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH;;;;GAIG;AACH,MAAM,CAAN,IAAY,OAMX;AAND,WAAY,OAAO;IACjB,4BAAiB,CAAA;IACjB,wDAA6C,CAAA;IAC7C,gCAAqB,CAAA;IACrB,8BAAmB,CAAA;IACnB,wCAA6B,CAAA;AAC/B,CAAC,EANW,OAAO,KAAP,OAAO,QAMlB;AAED;;;;;GAKG;AACH,MAAM,CAAN,IAAY,eAMX;AAND,WAAY,eAAe;IACzB,kCAAe,CAAA;IACf,8BAAW,CAAA;IACX,sCAAmB,CAAA;IACnB,kCAAe,CAAA;IACf,kCAAe,CAAA;AACjB,CAAC,EANW,eAAe,KAAf,eAAe,QAM1B;AAED;;GAEG;AACH,MAAM,CAAN,IAAY,UAMX;AAND,WAAY,UAAU;IACpB,+BAAiB,CAAA;IACjB,2BAAa,CAAA;IACb,yBAAW,CAAA;IACX,+BAAiB,CAAA;IACjB,+BAAiB,CAAA;AACnB,CAAC,EANW,UAAU,KAAV,UAAU,QAMrB;AAUD;;GAEG;AACH,MAAM,CAAN,IAAY,oBAKX;AALD,WAAY,oBAAoB;IAC9B,yCAAiB,CAAA;IACjB,mCAAW,CAAA;IACX,yCAAiB,CAAA;IACjB,qCAAa,CAAA;AACf,CAAC,EALW,oBAAoB,KAApB,oBAAoB,QAK/B"} \ No newline at end of file diff --git a/node_modules/@puppeteer/browsers/lib/esm/debug.d.ts b/node_modules/@puppeteer/browsers/lib/esm/debug.d.ts deleted file mode 100644 index aa062da..0000000 --- a/node_modules/@puppeteer/browsers/lib/esm/debug.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -/** - * @license - * Copyright 2023 Google Inc. - * SPDX-License-Identifier: Apache-2.0 - */ -import debug from 'debug'; -export { debug }; -//# sourceMappingURL=debug.d.ts.map \ No newline at end of file diff --git a/node_modules/@puppeteer/browsers/lib/esm/debug.d.ts.map b/node_modules/@puppeteer/browsers/lib/esm/debug.d.ts.map deleted file mode 100644 index 2f5f252..0000000 --- a/node_modules/@puppeteer/browsers/lib/esm/debug.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"debug.d.ts","sourceRoot":"","sources":["../../src/debug.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC,KAAK,EAAC,CAAC"} \ No newline at end of file diff --git a/node_modules/@puppeteer/browsers/lib/esm/debug.js b/node_modules/@puppeteer/browsers/lib/esm/debug.js deleted file mode 100644 index 6d7db6a..0000000 --- a/node_modules/@puppeteer/browsers/lib/esm/debug.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * @license - * Copyright 2023 Google Inc. - * SPDX-License-Identifier: Apache-2.0 - */ -import debug from 'debug'; -export { debug }; -//# sourceMappingURL=debug.js.map \ No newline at end of file diff --git a/node_modules/@puppeteer/browsers/lib/esm/debug.js.map b/node_modules/@puppeteer/browsers/lib/esm/debug.js.map deleted file mode 100644 index 9351349..0000000 --- a/node_modules/@puppeteer/browsers/lib/esm/debug.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"debug.js","sourceRoot":"","sources":["../../src/debug.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC,KAAK,EAAC,CAAC"} \ No newline at end of file diff --git a/node_modules/@puppeteer/browsers/lib/esm/detectPlatform.d.ts b/node_modules/@puppeteer/browsers/lib/esm/detectPlatform.d.ts deleted file mode 100644 index 3ed4758..0000000 --- a/node_modules/@puppeteer/browsers/lib/esm/detectPlatform.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -/** - * @license - * Copyright 2023 Google Inc. - * SPDX-License-Identifier: Apache-2.0 - */ -import { BrowserPlatform } from './browser-data/browser-data.js'; -/** - * @public - */ -export declare function detectBrowserPlatform(): BrowserPlatform | undefined; -//# sourceMappingURL=detectPlatform.d.ts.map \ No newline at end of file diff --git a/node_modules/@puppeteer/browsers/lib/esm/detectPlatform.d.ts.map b/node_modules/@puppeteer/browsers/lib/esm/detectPlatform.d.ts.map deleted file mode 100644 index d664376..0000000 --- a/node_modules/@puppeteer/browsers/lib/esm/detectPlatform.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"detectPlatform.d.ts","sourceRoot":"","sources":["../../src/detectPlatform.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAIH,OAAO,EAAC,eAAe,EAAC,MAAM,gCAAgC,CAAC;AAE/D;;GAEG;AACH,wBAAgB,qBAAqB,IAAI,eAAe,GAAG,SAAS,CAkBnE"} \ No newline at end of file diff --git a/node_modules/@puppeteer/browsers/lib/esm/detectPlatform.js b/node_modules/@puppeteer/browsers/lib/esm/detectPlatform.js deleted file mode 100644 index e155989..0000000 --- a/node_modules/@puppeteer/browsers/lib/esm/detectPlatform.js +++ /dev/null @@ -1,46 +0,0 @@ -/** - * @license - * Copyright 2023 Google Inc. - * SPDX-License-Identifier: Apache-2.0 - */ -import os from 'os'; -import { BrowserPlatform } from './browser-data/browser-data.js'; -/** - * @public - */ -export function detectBrowserPlatform() { - const platform = os.platform(); - switch (platform) { - case 'darwin': - return os.arch() === 'arm64' - ? BrowserPlatform.MAC_ARM - : BrowserPlatform.MAC; - case 'linux': - return BrowserPlatform.LINUX; - case 'win32': - return os.arch() === 'x64' || - // Windows 11 for ARM supports x64 emulation - (os.arch() === 'arm64' && isWindows11(os.release())) - ? BrowserPlatform.WIN64 - : BrowserPlatform.WIN32; - default: - return undefined; - } -} -/** - * Windows 11 is identified by the version 10.0.22000 or greater - * @internal - */ -function isWindows11(version) { - const parts = version.split('.'); - if (parts.length > 2) { - const major = parseInt(parts[0], 10); - const minor = parseInt(parts[1], 10); - const patch = parseInt(parts[2], 10); - return (major > 10 || - (major === 10 && minor > 0) || - (major === 10 && minor === 0 && patch >= 22000)); - } - return false; -} -//# sourceMappingURL=detectPlatform.js.map \ No newline at end of file diff --git a/node_modules/@puppeteer/browsers/lib/esm/detectPlatform.js.map b/node_modules/@puppeteer/browsers/lib/esm/detectPlatform.js.map deleted file mode 100644 index e34b7d4..0000000 --- a/node_modules/@puppeteer/browsers/lib/esm/detectPlatform.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"detectPlatform.js","sourceRoot":"","sources":["../../src/detectPlatform.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,MAAM,IAAI,CAAC;AAE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AK,KAAK,EAAE,IAAI,KAAK,KAAK,CAAC,IAAI,KAAK,IAAI,KAAK,CAAC,CAChD,CAAC;IACJ,CAAC;IACD,OAAO,KAAK,CAAC;AACf,CAAC"} \ No newline at end of file diff --git a/node_modules/@puppeteer/browsers/lib/esm/fileUtil.d.ts b/node_modules/@puppeteer/browsers/lib/esm/fileUtil.d.ts deleted file mode 100644 index af56994..0000000 --- a/node_modules/@puppeteer/browsers/lib/esm/fileUtil.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -/** - * @license - * Copyright 2023 Google Inc. - * SPDX-License-Identifier: Apache-2.0 - */ -/** - * @internal - */ -export declare function unpackArchive(archivePath: string, folderPath: string): Promise; -//# sourceMappingURL=fileUtil.d.ts.map \ No newline at end of file diff --git a/node_modules/@puppeteer/browsers/lib/esm/fileUtil.d.ts.map b/node_modules/@puppeteer/browsers/lib/esm/fileUtil.d.ts.map deleted file mode 100644 index bcf818b..0000000 --- a/node_modules/@puppeteer/browsers/lib/esm/fileUtil.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"fileUtil.d.ts","sourceRoot":"","sources":["../../src/fileUtil.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAcH;;GAEG;AACH,wBAAsB,aAAa,CACjC,WAAW,EAAE,MAAM,EACnB,UAAU,EAAE,MAAM,GACjB,OAAO,CAAC,IAAI,CAAC,CAWf"} \ No newline at end of file diff --git a/node_modules/@puppeteer/browsers/lib/esm/fileUtil.js b/node_modules/@puppeteer/browsers/lib/esm/fileUtil.js deleted file mode 100644 index e2b2d60..0000000 --- a/node_modules/@puppeteer/browsers/lib/esm/fileUtil.js +++ /dev/null @@ -1,70 +0,0 @@ -/** - * @license - * Copyright 2023 Google Inc. - * SPDX-License-Identifier: Apache-2.0 - */ -import { exec as execChildProcess } from 'child_process'; -import { createReadStream } from 'fs'; -import { mkdir, readdir } from 'fs/promises'; -import * as path from 'path'; -import { promisify } from 'util'; -import extractZip from 'extract-zip'; -import tar from 'tar-fs'; -import bzip from 'unbzip2-stream'; -const exec = promisify(execChildProcess); -/** - * @internal - */ -export async function unpackArchive(archivePath, folderPath) { - if (archivePath.endsWith('.zip')) { - await extractZip(archivePath, { dir: folderPath }); - } - else if (archivePath.endsWith('.tar.bz2')) { - await extractTar(archivePath, folderPath); - } - else if (archivePath.endsWith('.dmg')) { - await mkdir(folderPath); - await installDMG(archivePath, folderPath); - } - else { - throw new Error(`Unsupported archive format: ${archivePath}`); - } -} -/** - * @internal - */ -function extractTar(tarPath, folderPath) { - return new Promise((fulfill, reject) => { - const tarStream = tar.extract(folderPath); - tarStream.on('error', reject); - tarStream.on('finish', fulfill); - const readStream = createReadStream(tarPath); - readStream.pipe(bzip()).pipe(tarStream); - }); -} -/** - * @internal - */ -async function installDMG(dmgPath, folderPath) { - const { stdout } = await exec(`hdiutil attach -nobrowse -noautoopen "${dmgPath}"`); - const volumes = stdout.match(/\/Volumes\/(.*)/m); - if (!volumes) { - throw new Error(`Could not find volume path in ${stdout}`); - } - const mountPath = volumes[0]; - try { - const fileNames = await readdir(mountPath); - const appName = fileNames.find(item => { - return typeof item === 'string' && item.endsWith('.app'); - }); - if (!appName) { - throw new Error(`Cannot find app in ${mountPath}`); - } - const mountedPath = path.join(mountPath, appName); - await exec(`cp -R "${mountedPath}" "${folderPath}"`); - } - finally { - await exec(`hdiutil detach "${mountPath}" -quiet`); - } -} -//# sourceMappingURL=fileUtil.js.map \ No newline at end of file diff --git a/node_modules/@puppeteer/browsers/lib/esm/fileUtil.js.map b/node_modules/@puppeteer/browsers/lib/esm/fileUtil.js.map deleted file mode 100644 index 36b4578..0000000 --- a/node_modules/@puppeteer/browsers/lib/esm/fileUtil.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"fileUtil.js","sourceRoot":"","sources":["../../src/fileUtil.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAC,IAAI,IAAI,gBAAgB,EAAC,MAAM,eAAe,CAAC;AACvD,OAA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AAC"} \ No newline at end of file diff --git a/node_modules/@puppeteer/browsers/lib/esm/httpUtil.d.ts b/node_modules/@puppeteer/browsers/lib/esm/httpUtil.d.ts deleted file mode 100644 index 48bfd37..0000000 --- a/node_modules/@puppeteer/browsers/lib/esm/httpUtil.d.ts +++ /dev/null @@ -1,18 +0,0 @@ -/** - * @license - * Copyright 2023 Google Inc. - * SPDX-License-Identifier: Apache-2.0 - */ -/// -/// -import * as http from 'http'; -import { URL } from 'url'; -export declare function headHttpRequest(url: URL): Promise; -export declare function httpRequest(url: URL, method: string, response: (x: http.IncomingMessage) => void, keepAlive?: boolean): http.ClientRequest; -/** - * @internal - */ -export declare function downloadFile(url: URL, destinationPath: string, progressCallback?: (downloadedBytes: number, totalBytes: number) => void): Promise; -export declare function getJSON(url: URL): Promise; -export declare function getText(url: URL): Promise; -//# sourceMappingURL=httpUtil.d.ts.map \ No newline at end of file diff --git a/node_modules/@puppeteer/browsers/lib/esm/httpUtil.d.ts.map b/node_modules/@puppeteer/browsers/lib/esm/httpUtil.d.ts.map deleted file mode 100644 index e7253d2..0000000 --- a/node_modules/@puppeteer/browsers/lib/esm/httpUtil.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"httpUtil.d.ts","sourceRoot":"","sources":["../../src/httpUtil.ts"],"names":[],"mappings":"AAAA;;;;GAIG;;;AAGH,OAAO,KAAK,IAAI,MAAM,MAAM,CAAC;AAE7B,OAAO,EAAC,GAAG,EAAmB,MAAM,KAAK,CAAC;AAI1C,wBAAgB,eAAe,CAAC,GAAG,EAAE,GAAG,GAAG,OAAO,CAAC,OAAO,CAAC,CAgB1D;AAED,wBAAgB,WAAW,CACzB,GAAG,EAAE,GAAG,EACR,MAAM,EAAE,MAAM,EACd,QAAQ,EAAE,CAAC,CAAC,EAAE,IAAI,CAAC,eAAe,KAAK,IAAI,EAC3C,SAAS,UAAO,GACf,IAAI,CAAC,aAAa,CA8BpB;AAED;;GAEG;AACH,wBAAgB,YAAY,CAC1B,GAAG,EAAE,GAAG,EACR,eAAe,EAAE,MAAM,EACvB,gBAAgB,CAAC,EAAE,CAAC,eAAe,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,KAAK,IAAI,GACvE,OAAO,CAAC,IAAI,CAAC,CAqCf;AAED,wBAAsB,OAAO,CAAC,GAAG,EAAE,GAAG,GAAG,OAAO,CAAC,OAAO,CAAC,CAOxD;AAED,wBAAgB,OAAO,CAAC,GAAG,EAAE,GAAG,GAAG,OAAO,CAAC,MAAM,CAAC,CA2BjD"} \ No newline at end of file diff --git a/node_modules/@puppeteer/browsers/lib/esm/httpUtil.js b/node_modules/@puppeteer/browsers/lib/esm/httpUtil.js deleted file mode 100644 index 10640af..0000000 --- a/node_modules/@puppeteer/browsers/lib/esm/httpUtil.js +++ /dev/null @@ -1,121 +0,0 @@ -/** - * @license - * Copyright 2023 Google Inc. - * SPDX-License-Identifier: Apache-2.0 - */ -import { createWriteStream } from 'fs'; -import * as http from 'http'; -import * as https from 'https'; -import { URL, urlToHttpOptions } from 'url'; -import { ProxyAgent } from 'proxy-agent'; -export function headHttpRequest(url) { - return new Promise(resolve => { - const request = httpRequest(url, 'HEAD', response => { - // consume response data free node process - response.resume(); - resolve(response.statusCode === 200); - }, false); - request.on('error', () => { - resolve(false); - }); - }); -} -export function httpRequest(url, method, response, keepAlive = true) { - const options = { - protocol: url.protocol, - hostname: url.hostname, - port: url.port, - path: url.pathname + url.search, - method, - headers: keepAlive ? { Connection: 'keep-alive' } : undefined, - auth: urlToHttpOptions(url).auth, - agent: new ProxyAgent(), - }; - const requestCallback = (res) => { - if (res.statusCode && - res.statusCode >= 300 && - res.statusCode < 400 && - res.headers.location) { - httpRequest(new URL(res.headers.location), method, response); - } - else { - response(res); - } - }; - const request = options.protocol === 'https:' - ? https.request(options, requestCallback) - : http.request(options, requestCallback); - request.end(); - return request; -} -/** - * @internal - */ -export function downloadFile(url, destinationPath, progressCallback) { - return new Promise((resolve, reject) => { - let downloadedBytes = 0; - let totalBytes = 0; - function onData(chunk) { - downloadedBytes += chunk.length; - progressCallback(downloadedBytes, totalBytes); - } - const request = httpRequest(url, 'GET', response => { - if (response.statusCode !== 200) { - const error = new Error(`Download failed: server returned code ${response.statusCode}. URL: ${url}`); - // consume response data to free up memory - response.resume(); - reject(error); - return; - } - const file = createWriteStream(destinationPath); - file.on('finish', () => { - return resolve(); - }); - file.on('error', error => { - return reject(error); - }); - response.pipe(file); - totalBytes = parseInt(response.headers['content-length'], 10); - if (progressCallback) { - response.on('data', onData); - } - }); - request.on('error', error => { - return reject(error); - }); - }); -} -export async function getJSON(url) { - const text = await getText(url); - try { - return JSON.parse(text); - } - catch { - throw new Error('Could not parse JSON from ' + url.toString()); - } -} -export function getText(url) { - return new Promise((resolve, reject) => { - const request = httpRequest(url, 'GET', response => { - let data = ''; - if (response.statusCode && response.statusCode >= 400) { - return reject(new Error(`Got status code ${response.statusCode}`)); - } - response.on('data', chunk => { - data += chunk; - }); - response.on('end', () => { - try { - return resolve(String(data)); - } - catch { - return reject(new Error('Chrome version not found')); - } - }); - }, false); - request.on('error', err => { - reject(err); - }); - }); -} -//# sourceMappingURL=httpUtil.js.map \ No newline at end of file diff --git a/node_modules/@puppeteer/browsers/lib/esm/httpUtil.js.map b/node_modules/@puppeteer/browsers/lib/esm/httpUtil.js.map deleted file mode 100644 index c743430..0000000 --- a/node_modules/@puppeteer/browsers/lib/esm/httpUtil.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"httpUtil.js","sourceRoot":"","sources":["../../src/httpUtil.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAC,iBAAiB,EAAC,MAAM,IAAI,CAAC;AACrC,OAAO,KAAK,IAAI,MAAM,MAAM,CAAC;AAC7B,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAC,GAAG,EAAE,gBAAgB,EAAC,MAAM,KAAK,CAAC;AAE1C,OAAO,EAAC,UAAU,EAAC,MAAM,aAAa,C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I,KAAK,CAAC,mBAAmB,QAAQ,CAAC,UAAU,EAAE,CAAC,CAAC,CAAC;YACrE,CAAC;YACD,QAAQ,CAAC,EAAE,CAAC,MAAM,EAAE,KAAK,CAAC,EAAE;gBAC1B,IAAI,IAAI,KAAK,CAAC;YAChB,CAAC,CAAC,CAAC;YACH,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,GAAG,EAAE;gBACtB,IAAI,CAAC;oBACH,OAAO,OAAO,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC;gBAC/B,CAAC;gBAAC,MAAM,CAAC;oBACP,OAAO,MAAM,CAAC,IAAI,KAAK,CAAC,0BAA0B,CAAC,CAAC,CAAC;gBACvD,CAAC;YACH,CAAC,CAAC,CAAC;QACL,CAAC,EACD,KAAK,CACN,CAAC;QACF,OAAO,CAAC,EAAE,CAAC,OAAO,EAAE,GAAG,CAAC,EAAE;YACxB,MAAM,CAAC,GAAG,CAAC,CAAC;QACd,CAAC,CAAC,CAAC;IACL,CAAC,CAAC,CAAC;AACL,CAAC"} \ No newline at end of file diff --git a/node_modules/@puppeteer/browsers/lib/esm/install.d.ts b/node_modules/@puppeteer/browsers/lib/esm/install.d.ts deleted file mode 100644 index a2ad587..0000000 --- a/node_modules/@puppeteer/browsers/lib/esm/install.d.ts +++ /dev/null @@ -1,118 +0,0 @@ -/** - * @license - * Copyright 2017 Google Inc. - * SPDX-License-Identifier: Apache-2.0 - */ -import { Browser, BrowserPlatform } from './browser-data/browser-data.js'; -import { InstalledBrowser } from './Cache.js'; -/** - * @public - */ -export interface InstallOptions { - /** - * Determines the path to download browsers to. - */ - cacheDir: string; - /** - * Determines which platform the browser will be suited for. - * - * @defaultValue **Auto-detected.** - */ - platform?: BrowserPlatform; - /** - * Determines which browser to install. - */ - browser: Browser; - /** - * Determines which buildId to download. BuildId should uniquely identify - * binaries and they are used for caching. - */ - buildId: string; - /** - * An alias for the provided `buildId`. It will be used to maintain local - * metadata to support aliases in the `launch` command. - * - * @example 'canary' - */ - buildIdAlias?: string; - /** - * Provides information about the progress of the download. - */ - downloadProgressCallback?: (downloadedBytes: number, totalBytes: number) => void; - /** - * Determines the host that will be used for downloading. - * - * @defaultValue Either - * - * - https://storage.googleapis.com/chrome-for-testing-public or - * - https://archive.mozilla.org/pub/firefox/nightly/latest-mozilla-central - * - */ - baseUrl?: string; - /** - * Whether to unpack and install browser archives. - * - * @defaultValue `true` - */ - unpack?: boolean; -} -/** - * @public - */ -export declare function install(options: InstallOptions & { - unpack?: true; -}): Promise; -/** - * @public - */ -export declare function install(options: InstallOptions & { - unpack: false; -}): Promise; -/** - * @public - */ -export interface UninstallOptions { - /** - * Determines the platform for the browser binary. - * - * @defaultValue **Auto-detected.** - */ - platform?: BrowserPlatform; - /** - * The path to the root of the cache directory. - */ - cacheDir: string; - /** - * Determines which browser to uninstall. - */ - browser: Browser; - /** - * The browser build to uninstall - */ - buildId: string; -} -/** - * - * @public - */ -export declare function uninstall(options: UninstallOptions): Promise; -/** - * @public - */ -export interface GetInstalledBrowsersOptions { - /** - * The path to the root of the cache directory. - */ - cacheDir: string; -} -/** - * Returns metadata about browsers installed in the cache directory. - * - * @public - */ -export declare function getInstalledBrowsers(options: GetInstalledBrowsersOptions): Promise; -/** - * @public - */ -export declare function canDownload(options: InstallOptions): Promise; -//# sourceMappingURL=install.d.ts.map \ No newline at end of file diff --git a/node_modules/@puppeteer/browsers/lib/esm/install.d.ts.map b/node_modules/@puppeteer/browsers/lib/esm/install.d.ts.map deleted file mode 100644 index d60705c..0000000 --- a/node_modules/@puppeteer/browsers/lib/esm/install.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"install.d.ts","sourceRoot":"","sources":["../../src/install.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAQH,OAAO,EACL,OAAO,EACP,eAAe,EAEhB,MAAM,gCAAgC,CAAC;AACxC,OAAO,EAAQ,gBAAgB,EAAC,MAAM,YAAY,CAAC;AAwBnD;;GAEG;AACH,MAAM,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gBAAgB,EAAE,CAAC,CAE7B;AAED;;GAEG;AACH,wBAAsB,WAAW,CAAC,OAAO,EAAE,cAAc,GAAG,OAAO,CAAC,OAAO,CAAC,CAe3E"} \ No newline at end of file diff --git a/node_modules/@puppeteer/browsers/lib/esm/install.js b/node_modules/@puppeteer/browsers/lib/esm/install.js deleted file mode 100644 index 1ea7b29..0000000 --- a/node_modules/@puppeteer/browsers/lib/esm/install.js +++ /dev/null @@ -1,175 +0,0 @@ -/** - * @license - * Copyright 2017 Google Inc. - * SPDX-License-Identifier: Apache-2.0 - */ -import assert from 'assert'; -import { existsSync } from 'fs'; -import { mkdir, unlink } from 'fs/promises'; -import os from 'os'; -import path from 'path'; -import { Browser, BrowserPlatform, downloadUrls, } from './browser-data/browser-data.js'; -import { Cache, InstalledBrowser } from './Cache.js'; -import { debug } from './debug.js'; -import { detectBrowserPlatform } from './detectPlatform.js'; -import { unpackArchive } from './fileUtil.js'; -import { downloadFile, getJSON, headHttpRequest } from './httpUtil.js'; -const debugInstall = debug('puppeteer:browsers:install'); -const times = new Map(); -function debugTime(label) { - times.set(label, process.hrtime()); -} -function debugTimeEnd(label) { - const end = process.hrtime(); - const start = times.get(label); - if (!start) { - return; - } - const duration = end[0] * 1000 + end[1] / 1e6 - (start[0] * 1000 + start[1] / 1e6); // calculate duration in milliseconds - debugInstall(`Duration for ${label}: ${duration}ms`); -} -export async function install(options) { - options.platform ??= detectBrowserPlatform(); - options.unpack ??= true; - if (!options.platform) { - throw new Error(`Cannot download a binary for the provided platform: ${os.platform()} (${os.arch()})`); - } - const url = getDownloadUrl(options.browser, options.platform, options.buildId, options.baseUrl); - try { - return await installUrl(url, options); - } - catch (err) { - debugInstall(`Error downloading from ${url}.`); - switch (options.browser) { - case Browser.CHROME: - case Browser.CHROMEDRIVER: - case Browser.CHROMEHEADLESSSHELL: { - debugInstall(`Trying to find download URL via https://googlechromelabs.github.io/chrome-for-testing.`); - const version = (await getJSON(new URL(`https://googlechromelabs.github.io/chrome-for-testing/${options.buildId}.json`))); - let platform = ''; - switch (options.platform) { - case BrowserPlatform.LINUX: - platform = 'linux64'; - break; - case BrowserPlatform.MAC_ARM: - platform = 'mac-arm64'; - break; - case BrowserPlatform.MAC: - platform = 'mac-x64'; - break; - case BrowserPlatform.WIN32: - platform = 'win32'; - break; - case BrowserPlatform.WIN64: - platform = 'win64'; - break; - } - const url = version.downloads[options.browser]?.find(link => { - return link['platform'] === platform; - })?.url; - if (url) { - debugInstall(`Falling back to downloading from ${url}.`); - return await installUrl(new URL(url), options); - } - throw err; - } - default: - throw err; - } - } -} -async function installUrl(url, options) { - options.platform ??= detectBrowserPlatform(); - if (!options.platform) { - throw new Error(`Cannot download a binary for the provided platform: ${os.platform()} (${os.arch()})`); - } - const fileName = url.toString().split('/').pop(); - assert(fileName, `A malformed download URL was found: ${url}.`); - const cache = new Cache(options.cacheDir); - const browserRoot = cache.browserRoot(options.browser); - const archivePath = path.join(browserRoot, `${options.buildId}-${fileName}`); - if (!existsSync(browserRoot)) { - await mkdir(browserRoot, { recursive: true }); - } - if (!options.unpack) { - if (existsSync(archivePath)) { - return archivePath; - } - debugInstall(`Downloading binary from ${url}`); - debugTime('download'); - await downloadFile(url, archivePath, options.downloadProgressCallback); - debugTimeEnd('download'); - return archivePath; - } - const outputPath = cache.installationDir(options.browser, options.platform, options.buildId); - try { - if (existsSync(outputPath)) { - const installedBrowser = new InstalledBrowser(cache, options.browser, options.buildId, options.platform); - if (!existsSync(installedBrowser.executablePath)) { - throw new Error(`The browser folder (${outputPath}) exists but the executable (${installedBrowser.executablePath}) is missing`); - } - return installedBrowser; - } - debugInstall(`Downloading binary from ${url}`); - try { - debugTime('download'); - await downloadFile(url, archivePath, options.downloadProgressCallback); - } - finally { - debugTimeEnd('download'); - } - debugInstall(`Installing ${archivePath} to ${outputPath}`); - try { - debugTime('extract'); - await unpackArchive(archivePath, outputPath); - } - finally { - debugTimeEnd('extract'); - } - const installedBrowser = new InstalledBrowser(cache, options.browser, options.buildId, options.platform); - if (options.buildIdAlias) { - const metadata = installedBrowser.readMetadata(); - metadata.aliases[options.buildIdAlias] = options.buildId; - installedBrowser.writeMetadata(metadata); - } - return installedBrowser; - } - finally { - if (existsSync(archivePath)) { - await unlink(archivePath); - } - } -} -/** - * - * @public - */ -export async function uninstall(options) { - options.platform ??= detectBrowserPlatform(); - if (!options.platform) { - throw new Error(`Cannot detect the browser platform for: ${os.platform()} (${os.arch()})`); - } - new Cache(options.cacheDir).uninstall(options.browser, options.platform, options.buildId); -} -/** - * Returns metadata about browsers installed in the cache directory. - * - * @public - */ -export async function getInstalledBrowsers(options) { - return new Cache(options.cacheDir).getInstalledBrowsers(); -} -/** - * @public - */ -export async function canDownload(options) { - options.platform ??= detectBrowserPlatform(); - if (!options.platform) { - throw new Error(`Cannot download a binary for the provided platform: ${os.platform()} (${os.arch()})`); - } - return await headHttpRequest(getDownloadUrl(options.browser, options.platform, options.buildId, options.baseUrl)); -} -function getDownloadUrl(browser, platform, buildId, baseUrl) { - return new URL(downloadUrls[browser](platform, buildId, baseUrl)); -} -//# sourceMappingURL=install.js.map \ No newline at end of file diff --git a/node_modules/@puppeteer/browsers/lib/esm/install.js.map b/node_modules/@puppeteer/browsers/lib/esm/install.js.map deleted file mode 100644 index 5ad3dae..0000000 --- a/node_modules/@puppeteer/browsers/lib/esm/install.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"install.js","sourceRoot":"","sources":["../../src/install.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,MAAM,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAC,UAAU,EAAC,MAAM,IAAI,CAAC;AAC9B,OAAO,EAAC,KAAK,EAAE,MAAM,EAAC,MAAM,aAAa,CAAC;AAC1C,OAAO,EAAE,MAAM,IAAI,CAAC;AACpB,OAAO,IAAI,MAAM,MAAM,CAAC;AAExB,OAAO,EACL,OAAO,EACP,eAAe,EACf,YAAY,GACb,MAAM,gCAAgC,CAAC;AACxC,OAAO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OAAO,CAChB,CAAC;AACJ,CAAC;AAYD;;;;GAIG;AACH,MAAM,CAAC,KAAK,UAAU,oBAAoB,CACxC,OAAoC;IAEpC,OAAO,IAAI,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC,oBAAoB,EAAE,CAAC;AAC5D,CAAC;AAED;;GAEG;AACH,MAAM,CAAC,KAAK,UAAU,WAAW,CAAC,OAAuB;IACvD,OAAO,CAAC,QAAQ,KAAK,qBAAqB,EAAE,CAAC;IAC7C,IAAI,CAAC,OAAO,CAAC,QAAQ,EAAE,CAAC;QACtB,MAAM,IAAI,KAAK,CACb,uDAAuD,EAAE,CAAC,QAAQ,EAAE,KAAK,EAAE,CAAC,IAAI,EAAE,GAAG,CACtF,CAAC;IACJ,CAAC;IACD,OAAO,MAAM,eAAe,CAC1B,cAAc,CACZ,OAAO,CAAC,OAAO,EACf,OAAO,CAAC,QAAQ,EAChB,OAAO,CAAC,OAAO,EACf,OAAO,CAAC,OAAO,CAChB,CACF,CAAC;AACJ,CAAC;AAED,SAAS,cAAc,CACrB,OAAgB,EAChB,QAAyB,EACzB,OAAe,EACf,OAAgB;IAEhB,OAAO,IAAI,GAAG,CAAC,YAAY,CAAC,OAAO,CAAC,CAAC,QAAQ,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC,CAAC;AACpE,CAAC"} \ No newline at end of file diff --git a/node_modules/@puppeteer/browsers/lib/esm/launch.d.ts b/node_modules/@puppeteer/browsers/lib/esm/launch.d.ts deleted file mode 100644 index 54335f7..0000000 --- a/node_modules/@puppeteer/browsers/lib/esm/launch.d.ts +++ /dev/null @@ -1,124 +0,0 @@ -/** - * @license - * Copyright 2023 Google Inc. - * SPDX-License-Identifier: Apache-2.0 - */ -/// -/// -import childProcess from 'child_process'; -import { type Browser, type BrowserPlatform, type ChromeReleaseChannel } from './browser-data/browser-data.js'; -/** - * @public - */ -export interface ComputeExecutablePathOptions { - /** - * Root path to the storage directory. - */ - cacheDir: string; - /** - * Determines which platform the browser will be suited for. - * - * @defaultValue **Auto-detected.** - */ - platform?: BrowserPlatform; - /** - * Determines which browser to launch. - */ - browser: Browser; - /** - * Determines which buildId to download. BuildId should uniquely identify - * binaries and they are used for caching. - */ - buildId: string; -} -/** - * @public - */ -export declare function computeExecutablePath(options: ComputeExecutablePathOptions): string; -/** - * @public - */ -export interface SystemOptions { - /** - * Determines which platform the browser will be suited for. - * - * @defaultValue **Auto-detected.** - */ - platform?: BrowserPlatform; - /** - * Determines which browser to launch. - */ - browser: Browser; - /** - * Release channel to look for on the system. - */ - channel: ChromeReleaseChannel; -} -/** - * @public - */ -export declare function computeSystemExecutablePath(options: SystemOptions): string; -/** - * @public - */ -export interface LaunchOptions { - executablePath: string; - pipe?: boolean; - dumpio?: boolean; - args?: string[]; - env?: Record; - handleSIGINT?: boolean; - handleSIGTERM?: boolean; - handleSIGHUP?: boolean; - detached?: boolean; - onExit?: () => Promise; -} -/** - * @public - */ -export declare function launch(opts: LaunchOptions): Process; -/** - * @public - */ -export declare const CDP_WEBSOCKET_ENDPOINT_REGEX: RegExp; -/** - * @public - */ -export declare const WEBDRIVER_BIDI_WEBSOCKET_ENDPOINT_REGEX: RegExp; -/** - * @public - */ -export declare class Process { - #private; - constructor(opts: LaunchOptions); - get nodeProcess(): childProcess.ChildProcess; - close(): Promise; - hasClosed(): Promise; - kill(): void; - waitForLineOutput(regex: RegExp, timeout?: number): Promise; -} -/** - * @internal - */ -export interface ErrorLike extends Error { - name: string; - message: string; -} -/** - * @internal - */ -export declare function isErrorLike(obj: unknown): obj is ErrorLike; -/** - * @internal - */ -export declare function isErrnoException(obj: unknown): obj is NodeJS.ErrnoException; -/** - * @public - */ -export declare class TimeoutError extends Error { - /** - * @internal - */ - constructor(message?: string); -} -//# sourceMappingURL=launch.d.ts.map \ No newline at end of file diff --git a/node_modules/@puppeteer/browsers/lib/esm/launch.d.ts.map b/node_modules/@puppeteer/browsers/lib/esm/launch.d.ts.map deleted file mode 100644 index 5b26214..0000000 --- a/node_modules/@puppeteer/browsers/lib/esm/launch.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"launch.d.ts","sourceRoot":"","sources":["../../src/launch.ts"],"names":[],"mappings":"AAAA;;;;GAIG;;;AAEH,OAAO,YAAY,MAAM,eAAe,CAAC;AAKzC,OAAO,EACL,KAAK,OAAO,EACZ,KAAK,eAAe,EAEpB,KAAK,oBAAoB,EAC1B,MAAM,gCAAgC,CAAC;AAOxC;;GAEG;AACH,MAAM,WAAW,4BAA4B;IAC3C;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,eAAe,CAAC;IAC3B;;OAEG;IACH,OAAO,EAAE,OAAO,CAAC;IACjB;;;OAGG;IACH,OAAO,EAAE,MAAM,CAAC;CACjB;AAED;;GAEG;AACH,wBAAgB,qBAAqB,CACnC,OAAO,EAAE,4BAA4B,GACpC,MAAM,CAER;AAED;;GAEG;AACH,MAAM,WAAW,aAAa;IAC5B;;;;OAIG;IACH,QAAQ,CAAC,EAAE,eAAe,CAAC;IAC3B;;OAEG;IACH,OAAO,EAAE,OAAO,CAAC;IACjB;;OAEG;IACH,OAAO,EAAE,oBAAoB,CAAC;CAC/B;AAED;;GAEG;AACH,wBAAgB,2BAA2B,CAAC,OAAO,EAAE,aAAa,GAAG,MAAM,CAoB1E;AAED;;GAEG;AACH,MAAM,WAAW,aAAa;IAC5B,cAAc,EAAE,MAAM,CAAC;IACvB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;IAChB,GAAG,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,SAAS,CAAC,CAAC;IACzC,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;CAC9B;AAED;;GAEG;AACH,wBAAgB,MAAM,CAAC,IAAI,EAAE,aAAa,GAAG,OAAO,CAEnD;AAED;;GAEG;AACH,eAAO,MAAM,4BAA4B,QACF,CAAC;AAExC;;GAEG;AACH,eAAO,MAAM,uCAAuC,QACP,CAAC;AAE9C;;GAEG;AACH,qBAAa,OAAO;;gBAYN,IAAI,EAAE,aAAa;IAwF/B,IAAI,WAAW,IAAI,YAAY,CAAC,YAAY,CAE3C;IA4CK,KAAK,IAAI,OAAO,CAAC,IAAI,CAAC;IAQ5B,SAAS,IAAI,OAAO,CAAC,IAAI,CAAC;IAI1B,IAAI,IAAI,IAAI;IAwDZ,iBAAiB,CAAC,KAAK,EAAE,MAAM,EAAE,OAAO,SAAI,GAAG,OAAO,CAAC,MAAM,CAAC;CA+D/D;AAuBD;;GAEG;AACH,MAAM,WAAW,SAAU,SAAQ,KAAK;IACtC,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;CACjB;AAED;;GAEG;AACH,wBAAgB,WAAW,CAAC,GAAG,EAAE,OAAO,GAAG,GAAG,IAAI,SAAS,CAI1D;AACD;;GAEG;AACH,wBAAgB,gBAAgB,CAAC,GAAG,EAAE,OAAO,GAAG,GAAG,IAAI,MAAM,CAAC,cAAc,CAK3E;AAED;;GAEG;AACH,qBAAa,YAAa,SAAQ,KAAK;IACrC;;OAEG;gBACS,OAAO,CAAC,EAAE,MAAM;CAK7B"} \ No newline at end of file diff --git a/node_modules/@puppeteer/browsers/lib/esm/launch.js b/node_modules/@puppeteer/browsers/lib/esm/launch.js deleted file mode 100644 index 5f6cac9..0000000 --- a/node_modules/@puppeteer/browsers/lib/esm/launch.js +++ /dev/null @@ -1,329 +0,0 @@ -/** - * @license - * Copyright 2023 Google Inc. - * SPDX-License-Identifier: Apache-2.0 - */ -import childProcess from 'child_process'; -import { accessSync } from 'fs'; -import os from 'os'; -import readline from 'readline'; -import { resolveSystemExecutablePath, } from './browser-data/browser-data.js'; -import { Cache } from './Cache.js'; -import { debug } from './debug.js'; -import { detectBrowserPlatform } from './detectPlatform.js'; -const debugLaunch = debug('puppeteer:browsers:launcher'); -/** - * @public - */ -export function computeExecutablePath(options) { - return new Cache(options.cacheDir).computeExecutablePath(options); -} -/** - * @public - */ -export function computeSystemExecutablePath(options) { - options.platform ??= detectBrowserPlatform(); - if (!options.platform) { - throw new Error(`Cannot download a binary for the provided platform: ${os.platform()} (${os.arch()})`); - } - const path = resolveSystemExecutablePath(options.browser, options.platform, options.channel); - try { - accessSync(path); - } - catch (error) { - throw new Error(`Could not find Google Chrome executable for channel '${options.channel}' at '${path}'.`); - } - return path; -} -/** - * @public - */ -export function launch(opts) { - return new Process(opts); -} -/** - * @public - */ -export const CDP_WEBSOCKET_ENDPOINT_REGEX = /^DevTools listening on (ws:\/\/.*)$/; -/** - * @public - */ -export const WEBDRIVER_BIDI_WEBSOCKET_ENDPOINT_REGEX = /^WebDriver BiDi listening on (ws:\/\/.*)$/; -/** - * @public - */ -export class Process { - #executablePath; - #args; - #browserProcess; - #exited = false; - // The browser process can be closed externally or from the driver process. We - // need to invoke the hooks only once though but we don't know how many times - // we will be invoked. - #hooksRan = false; - #onExitHook = async () => { }; - #browserProcessExiting; - constructor(opts) { - this.#executablePath = opts.executablePath; - this.#args = opts.args ?? []; - opts.pipe ??= false; - opts.dumpio ??= false; - opts.handleSIGINT ??= true; - opts.handleSIGTERM ??= true; - opts.handleSIGHUP ??= true; - // On non-windows platforms, `detached: true` makes child process a - // leader of a new process group, making it possible to kill child - // process tree with `.kill(-pid)` command. @see - // https://nodejs.org/api/child_process.html#child_process_options_detached - opts.detached ??= process.platform !== 'win32'; - const stdio = this.#configureStdio({ - pipe: opts.pipe, - dumpio: opts.dumpio, - }); - const env = opts.env || {}; - debugLaunch(`Launching ${this.#executablePath} ${this.#args.join(' ')}`, { - detached: opts.detached, - env: Object.keys(env).reduce((res, key) => { - if (key.toLowerCase().startsWith('puppeteer_')) { - res[key] = env[key]; - } - return res; - }, {}), - stdio, - }); - this.#browserProcess = childProcess.spawn(this.#executablePath, this.#args, { - detached: opts.detached, - env, - stdio, - }); - debugLaunch(`Launched ${this.#browserProcess.pid}`); - if (opts.dumpio) { - this.#browserProcess.stderr?.pipe(process.stderr); - this.#browserProcess.stdout?.pipe(process.stdout); - } - process.on('exit', this.#onDriverProcessExit); - if (opts.handleSIGINT) { - process.on('SIGINT', this.#onDriverProcessSignal); - } - if (opts.handleSIGTERM) { - process.on('SIGTERM', this.#onDriverProcessSignal); - } - if (opts.handleSIGHUP) { - process.on('SIGHUP', this.#onDriverProcessSignal); - } - if (opts.onExit) { - this.#onExitHook = opts.onExit; - } - this.#browserProcessExiting = new Promise((resolve, reject) => { - this.#browserProcess.once('exit', async () => { - debugLaunch(`Browser process ${this.#browserProcess.pid} onExit`); - this.#clearListeners(); - this.#exited = true; - try { - await this.#runHooks(); - } - catch (err) { - reject(err); - return; - } - resolve(); - }); - }); - } - async #runHooks() { - if (this.#hooksRan) { - return; - } - this.#hooksRan = true; - await this.#onExitHook(); - } - get nodeProcess() { - return this.#browserProcess; - } - #configureStdio(opts) { - if (opts.pipe) { - if (opts.dumpio) { - return ['ignore', 'pipe', 'pipe', 'pipe', 'pipe']; - } - else { - return ['ignore', 'ignore', 'ignore', 'pipe', 'pipe']; - } - } - else { - if (opts.dumpio) { - return ['pipe', 'pipe', 'pipe']; - } - else { - return ['pipe', 'ignore', 'pipe']; - } - } - } - #clearListeners() { - process.off('exit', this.#onDriverProcessExit); - process.off('SIGINT', this.#onDriverProcessSignal); - process.off('SIGTERM', this.#onDriverProcessSignal); - process.off('SIGHUP', this.#onDriverProcessSignal); - } - #onDriverProcessExit = (_code) => { - this.kill(); - }; - #onDriverProcessSignal = (signal) => { - switch (signal) { - case 'SIGINT': - this.kill(); - process.exit(130); - case 'SIGTERM': - case 'SIGHUP': - void this.close(); - break; - } - }; - async close() { - await this.#runHooks(); - if (!this.#exited) { - this.kill(); - } - return await this.#browserProcessExiting; - } - hasClosed() { - return this.#browserProcessExiting; - } - kill() { - debugLaunch(`Trying to kill ${this.#browserProcess.pid}`); - // If the process failed to launch (for example if the browser executable path - // is invalid), then the process does not get a pid assigned. A call to - // `proc.kill` would error, as the `pid` to-be-killed can not be found. - if (this.#browserProcess && - this.#browserProcess.pid && - pidExists(this.#browserProcess.pid)) { - try { - debugLaunch(`Browser process ${this.#browserProcess.pid} exists`); - if (process.platform === 'win32') { - try { - childProcess.execSync(`taskkill /pid ${this.#browserProcess.pid} /T /F`); - } - catch (error) { - debugLaunch(`Killing ${this.#browserProcess.pid} using taskkill failed`, error); - // taskkill can fail to kill the process e.g. due to missing permissions. - // Let's kill the process via Node API. This delays killing of all child - // processes of `this.proc` until the main Node.js process dies. - this.#browserProcess.kill(); - } - } - else { - // on linux the process group can be killed with the group id prefixed with - // a minus sign. The process group id is the group leader's pid. - const processGroupId = -this.#browserProcess.pid; - try { - process.kill(processGroupId, 'SIGKILL'); - } - catch (error) { - debugLaunch(`Killing ${this.#browserProcess.pid} using process.kill failed`, error); - // Killing the process group can fail due e.g. to missing permissions. - // Let's kill the process via Node API. This delays killing of all child - // processes of `this.proc` until the main Node.js process dies. - this.#browserProcess.kill('SIGKILL'); - } - } - } - catch (error) { - throw new Error(`${PROCESS_ERROR_EXPLANATION}\nError cause: ${isErrorLike(error) ? error.stack : error}`); - } - } - this.#clearListeners(); - } - waitForLineOutput(regex, timeout = 0) { - if (!this.#browserProcess.stderr) { - throw new Error('`browserProcess` does not have stderr.'); - } - const rl = readline.createInterface(this.#browserProcess.stderr); - let stderr = ''; - return new Promise((resolve, reject) => { - rl.on('line', onLine); - rl.on('close', onClose); - this.#browserProcess.on('exit', onClose); - this.#browserProcess.on('error', onClose); - const timeoutId = timeout > 0 ? setTimeout(onTimeout, timeout) : undefined; - const cleanup = () => { - if (timeoutId) { - clearTimeout(timeoutId); - } - rl.off('line', onLine); - rl.off('close', onClose); - this.#browserProcess.off('exit', onClose); - this.#browserProcess.off('error', onClose); - }; - function onClose(error) { - cleanup(); - reject(new Error([ - `Failed to launch the browser process!${error ? ' ' + error.message : ''}`, - stderr, - '', - 'TROUBLESHOOTING: https://pptr.dev/troubleshooting', - '', - ].join('\n'))); - } - function onTimeout() { - cleanup(); - reject(new TimeoutError(`Timed out after ${timeout} ms while waiting for the WS endpoint URL to appear in stdout!`)); - } - function onLine(line) { - stderr += line + '\n'; - const match = line.match(regex); - if (!match) { - return; - } - cleanup(); - // The RegExp matches, so this will obviously exist. - resolve(match[1]); - } - }); - } -} -const PROCESS_ERROR_EXPLANATION = `Puppeteer was unable to kill the process which ran the browser binary. -This means that, on future Puppeteer launches, Puppeteer might not be able to launch the browser. -Please check your open processes and ensure that the browser processes that Puppeteer launched have been killed. -If you think this is a bug, please report it on the Puppeteer issue tracker.`; -/** - * @internal - */ -function pidExists(pid) { - try { - return process.kill(pid, 0); - } - catch (error) { - if (isErrnoException(error)) { - if (error.code && error.code === 'ESRCH') { - return false; - } - } - throw error; - } -} -/** - * @internal - */ -export function isErrorLike(obj) { - return (typeof obj === 'object' && obj !== null && 'name' in obj && 'message' in obj); -} -/** - * @internal - */ -export function isErrnoException(obj) { - return (isErrorLike(obj) && - ('errno' in obj || 'code' in obj || 'path' in obj || 'syscall' in obj)); -} -/** - * @public - */ -export class TimeoutError extends Error { - /** - * @internal - */ - constructor(message) { - super(message); - this.name = this.constructor.name; - Error.captureStackTrace(this, this.constructor); - } -} -//# sourceMappingURL=launch.js.map \ No newline at end of file diff --git a/node_modules/@puppeteer/browsers/lib/esm/launch.js.map b/node_modules/@puppeteer/browsers/lib/esm/launch.js.map deleted file mode 100644 index d03645b..0000000 --- a/node_modules/@puppeteer/browsers/lib/esm/launch.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"launch.js","sourceRoot":"","sources":["../../src/launch.ts"],"names":[],"mappings":"AAAA;;;;GAIG;A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OAAO,OAAO,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC,CAAC;IAC9B,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,IAAI,gBAAgB,CAAC,KAAK,CAAC,EAAE,CAAC;YAC5B,IAAI,KAAK,CAAC,IAAI,IAAI,KAAK,CAAC,IAAI,KAAK,OAAO,EAAE,CAAC;gBACzC,OAAO,KAAK,CAAC;YACf,CAAC;QACH,CAAC;QACD,MAAM,KAAK,CAAC;IACd,CAAC;AACH,CAAC;AAUD;;GAEG;AACH,MAAM,UAAU,WAAW,CAAC,GAAY;IACtC,OAAO,CACL,OAAO,GAAG,KAAK,QAAQ,IAAI,GAAG,KAAK,IAAI,IAAI,MAAM,IAAI,GAAG,IAAI,SAAS,IAAI,GAAG,CAC7E,CAAC;AACJ,CAAC;AACD;;GAEG;AACH,MAAM,UAAU,gBAAgB,CAAC,GAAY;IAC3C,OAAO,CACL,WAAW,CAAC,GAAG,CAAC;QAChB,CAAC,OAAO,IAAI,GAAG,IAAI,MAAM,IAAI,GAAG,IAAI,MAAM,IAAI,GAAG,IAAI,SAAS,IAAI,GAAG,CAAC,CACvE,CAAC;AACJ,CAAC;AAED;;GAEG;AACH,MAAM,OAAO,YAAa,SAAQ,KAAK;IACrC;;OAEG;IACH,YAAY,OAAgB;QAC1B,KAAK,CAAC,OAAO,CAAC,CAAC;QACf,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC;QAClC,KAAK,CAAC,iBAAiB,CAAC,IAAI,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC;IAClD,CAAC;CACF"} \ No newline at end of file diff --git a/node_modules/@puppeteer/browsers/lib/esm/main-cli.d.ts b/node_modules/@puppeteer/browsers/lib/esm/main-cli.d.ts deleted file mode 100644 index 24f6aa5..0000000 --- a/node_modules/@puppeteer/browsers/lib/esm/main-cli.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -#!/usr/bin/env node -/** - * @license - * Copyright 2023 Google Inc. - * SPDX-License-Identifier: Apache-2.0 - */ -export {}; -//# sourceMappingURL=main-cli.d.ts.map \ No newline at end of file diff --git a/node_modules/@puppeteer/browsers/lib/esm/main-cli.d.ts.map b/node_modules/@puppeteer/browsers/lib/esm/main-cli.d.ts.map deleted file mode 100644 index 97cfca7..0000000 --- a/node_modules/@puppeteer/browsers/lib/esm/main-cli.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"main-cli.d.ts","sourceRoot":"","sources":["../../src/main-cli.ts"],"names":[],"mappings":";AAEA;;;;GAIG"} \ No newline at end of file diff --git a/node_modules/@puppeteer/browsers/lib/esm/main-cli.js b/node_modules/@puppeteer/browsers/lib/esm/main-cli.js deleted file mode 100644 index 7a9047e..0000000 --- a/node_modules/@puppeteer/browsers/lib/esm/main-cli.js +++ /dev/null @@ -1,9 +0,0 @@ -#!/usr/bin/env node -/** - * @license - * Copyright 2023 Google Inc. - * SPDX-License-Identifier: Apache-2.0 - */ -import { CLI } from './CLI.js'; -void new CLI().run(process.argv); -//# sourceMappingURL=main-cli.js.map \ No newline at end of file diff --git a/node_modules/@puppeteer/browsers/lib/esm/main-cli.js.map b/node_modules/@puppeteer/browsers/lib/esm/main-cli.js.map deleted file mode 100644 index d856a59..0000000 --- a/node_modules/@puppeteer/browsers/lib/esm/main-cli.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"main-cli.js","sourceRoot":"","sources":["../../src/main-cli.ts"],"names":[],"mappings":";AAEA;;;;GAIG;AAEH,OAAO,EAAC,GAAG,EAAC,MAAM,UAAU,CAAC;AAE7B,KAAK,IAAI,GAAG,EAAE,CAAC,GAAG,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC"} \ No newline at end of file diff --git a/node_modules/@puppeteer/browsers/lib/esm/main.d.ts b/node_modules/@puppeteer/browsers/lib/esm/main.d.ts deleted file mode 100644 index 9ca6ab1..0000000 --- a/node_modules/@puppeteer/browsers/lib/esm/main.d.ts +++ /dev/null @@ -1,15 +0,0 @@ -/** - * @license - * Copyright 2023 Google Inc. - * SPDX-License-Identifier: Apache-2.0 - */ -export type { LaunchOptions, ComputeExecutablePathOptions as Options, SystemOptions, } from './launch.js'; -export { launch, computeExecutablePath, computeSystemExecutablePath, TimeoutError, CDP_WEBSOCKET_ENDPOINT_REGEX, WEBDRIVER_BIDI_WEBSOCKET_ENDPOINT_REGEX, Process, } from './launch.js'; -export type { InstallOptions, GetInstalledBrowsersOptions, UninstallOptions, } from './install.js'; -export { install, getInstalledBrowsers, canDownload, uninstall, } from './install.js'; -export { detectBrowserPlatform } from './detectPlatform.js'; -export type { ProfileOptions } from './browser-data/browser-data.js'; -export { resolveBuildId, Browser, BrowserPlatform, ChromeReleaseChannel, createProfile, getVersionComparator, } from './browser-data/browser-data.js'; -export { CLI, makeProgressCallback } from './CLI.js'; -export { Cache, InstalledBrowser } from './Cache.js'; -//# sourceMappingURL=main.d.ts.map \ No newline at end of file diff --git a/node_modules/@puppeteer/browsers/lib/esm/main.d.ts.map b/node_modules/@puppeteer/browsers/lib/esm/main.d.ts.map deleted file mode 100644 index a6c0b8e..0000000 --- a/node_modules/@puppeteer/browsers/lib/esm/main.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"main.d.ts","sourceRoot":"","sources":["../../src/main.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,YAAY,EACV,aAAa,EACb,4BAA4B,IAAI,OAAO,EACvC,aAAa,GACd,MAAM,aAAa,CAAC;AACrB,OAAO,EACL,MAAM,EACN,qBAAqB,EACrB,2BAA2B,EAC3B,YAAY,EACZ,4BAA4B,EAC5B,uCAAuC,EACvC,OAAO,GACR,MAAM,aAAa,CAAC;AACrB,YAAY,EACV,cAAc,EACd,2BAA2B,EAC3B,gBAAgB,GACjB,MAAM,cAAc,CAAC;AACtB,OAAO,EACL,OAAO,EACP,oBAAoB,EACpB,WAAW,EACX,SAAS,GACV,MAAM,cAAc,CAAC;AACtB,OAAO,EAAC,qBAAqB,EAAC,MAAM,qBAAqB,CAAC;AAC1D,YAAY,EAAC,cAAc,EAAC,MAAM,gCAAgC,CAAC;AACnE,OAAO,EACL,cAAc,EACd,OAAO,EACP,eAAe,EACf,oBAAoB,EACpB,aAAa,EACb,oBAAoB,GACrB,MAAM,gCAAgC,CAAC;AACxC,OAAO,EAAC,GAAG,EAAE,oBAAoB,EAAC,MAAM,UAAU,CAAC;AACnD,OAAO,EAAC,KAAK,EAAE,gBAAgB,EAAC,MAAM,YAAY,CAAC"} \ No newline at end of file diff --git a/node_modules/@puppeteer/browsers/lib/esm/main.js b/node_modules/@puppeteer/browsers/lib/esm/main.js deleted file mode 100644 index 22f36ee..0000000 --- a/node_modules/@puppeteer/browsers/lib/esm/main.js +++ /dev/null @@ -1,12 +0,0 @@ -/** - * @license - * Copyright 2023 Google Inc. - * SPDX-License-Identifier: Apache-2.0 - */ -export { launch, computeExecutablePath, computeSystemExecutablePath, TimeoutError, CDP_WEBSOCKET_ENDPOINT_REGEX, WEBDRIVER_BIDI_WEBSOCKET_ENDPOINT_REGEX, Process, } from './launch.js'; -export { install, getInstalledBrowsers, canDownload, uninstall, } from './install.js'; -export { detectBrowserPlatform } from './detectPlatform.js'; -export { resolveBuildId, Browser, BrowserPlatform, ChromeReleaseChannel, createProfile, getVersionComparator, } from './browser-data/browser-data.js'; -export { CLI, makeProgressCallback } from './CLI.js'; -export { Cache, InstalledBrowser } from './Cache.js'; -//# sourceMappingURL=main.js.map \ No newline at end of file diff --git a/node_modules/@puppeteer/browsers/lib/esm/main.js.map b/node_modules/@puppeteer/browsers/lib/esm/main.js.map deleted file mode 100644 index 236001d..0000000 --- a/node_modules/@puppeteer/browsers/lib/esm/main.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"main.js","sourceRoot":"","sources":["../../src/main.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAOH,OAAO,EACL,MAAM,EACN,qBAAqB,EACrB,2BAA2B,EAC3B,YAAY,EACZ,4BAA4B,EAC5B,uCAAuC,EACvC,OAAO,GACR,MAAM,aAAa,CAAC;AAMrB,OAAO,EACL,OAAO,EACP,oBAAoB,EACpB,WAAW,EACX,SAAS,GACV,MAAM,cAAc,CAAC;AACtB,OAAO,EAAC,qBAAqB,EAAC,MAAM,qBAAqB,CAAC;AAE1D,OAAO,EACL,cAAc,EACd,OAAO,EACP,eAAe,EACf,oBAAoB,EACpB,aAAa,EACb,oBAAoB,GACrB,MAAM,gCAAgC,CAAC;AACxC,OAAO,EAAC,GAAG,EAAE,oBAAoB,EAAC,MAAM,UAAU,CAAC;AACnD,OAAO,EAAC,KAAK,EAAE,gBAAgB,EAAC,MAAM,YAAY,CAAC"} \ No newline at end of file diff --git a/node_modules/@puppeteer/browsers/lib/esm/package.json b/node_modules/@puppeteer/browsers/lib/esm/package.json deleted file mode 100644 index 1632c2c..0000000 --- a/node_modules/@puppeteer/browsers/lib/esm/package.json +++ /dev/null @@ -1 +0,0 @@ -{"type": "module"} \ No newline at end of file diff --git a/node_modules/@puppeteer/browsers/package.json b/node_modules/@puppeteer/browsers/package.json deleted file mode 100644 index 0f2afa7..0000000 --- a/node_modules/@puppeteer/browsers/package.json +++ /dev/null @@ -1,114 +0,0 @@ -{ - "name": "@puppeteer/browsers", - "version": "2.1.0", - "description": "Download and launch browsers", - "scripts": { - "build:docs": "wireit", - "build": "wireit", - "build:test": "wireit", - "clean": "../../tools/clean.mjs", - "test": "wireit" - }, - "type": "commonjs", - "bin": "lib/cjs/main-cli.js", - "main": "./lib/cjs/main.js", - "exports": { - "import": "./lib/esm/main.js", - "require": "./lib/cjs/main.js" - }, - "wireit": { - "build": { - "command": "tsc -b && tsx ../../tools/chmod.ts 755 lib/cjs/main-cli.js lib/esm/main-cli.js", - "files": [ - "src/**/*.ts", - "tsconfig.json" - ], - "clean": "if-file-deleted", - "output": [ - "lib/**", - "!lib/esm/package.json" - ], - "dependencies": [ - "generate:package-json" - ] - }, - "generate:package-json": { - "command": "tsx ../../tools/generate_module_package_json.ts lib/esm/package.json", - "files": [ - "../../tools/generate_module_package_json.ts" - ], - "output": [ - "lib/esm/package.json" - ] - }, - "build:docs": { - "command": "api-extractor run --local --config \"./api-extractor.docs.json\"", - "files": [ - "api-extractor.docs.json", - "lib/esm/main.d.ts", - "tsconfig.json" - ], - "dependencies": [ - "build" - ] - }, - "build:test": { - "command": "tsc -b test/src/tsconfig.json", - "files": [ - "test/**/*.ts", - "test/src/tsconfig.json" - ], - "output": [ - "test/build/**" - ], - "dependencies": [ - "build", - "../testserver:build" - ] - }, - "test": { - "command": "node tools/downloadTestBrowsers.mjs && mocha", - "files": [ - ".mocharc.cjs" - ], - "dependencies": [ - "build:test" - ] - } - }, - "keywords": [ - "puppeteer", - "browsers" - ], - "repository": { - "type": "git", - "url": "https://github.com/puppeteer/puppeteer/tree/main/packages/browsers" - }, - "author": "The Chromium Authors", - "license": "Apache-2.0", - "engines": { - "node": ">=18" - }, - "files": [ - "lib", - "src", - "!*.tsbuildinfo" - ], - "dependencies": { - "debug": "4.3.4", - "extract-zip": "2.0.1", - "progress": "2.0.3", - "proxy-agent": "6.4.0", - "tar-fs": "3.0.5", - "unbzip2-stream": "1.4.3", - "yargs": "17.7.2", - "semver": "7.6.0" - }, - "devDependencies": { - "@types/debug": "4.1.12", - "@types/progress": "2.0.7", - "@types/tar-fs": "2.0.4", - "@types/unbzip2-stream": "1.4.3", - "@types/yargs": "17.0.32" - } -} diff --git a/node_modules/@puppeteer/browsers/src/CLI.ts b/node_modules/@puppeteer/browsers/src/CLI.ts deleted file mode 100644 index 281f22c..0000000 --- a/node_modules/@puppeteer/browsers/src/CLI.ts +++ /dev/null @@ -1,418 +0,0 @@ -/** - * @license - * Copyright 2023 Google Inc. - * SPDX-License-Identifier: Apache-2.0 - */ - -import {stdin as input, stdout as output} from 'process'; -import * as readline from 'readline'; - -import ProgressBar from 'progress'; -import type * as Yargs from 'yargs'; -import {hideBin} from 'yargs/helpers'; -import yargs from 'yargs/yargs'; - -import { - resolveBuildId, - type Browser, - BrowserPlatform, - type ChromeReleaseChannel, -} from './browser-data/browser-data.js'; -import {Cache} from './Cache.js'; -import {detectBrowserPlatform} from './detectPlatform.js'; -import {install} from './install.js'; -import { - computeExecutablePath, - computeSystemExecutablePath, - launch, -} from './launch.js'; - -interface InstallArgs { - browser: { - name: Browser; - buildId: string; - }; - path?: string; - platform?: BrowserPlatform; - baseUrl?: string; -} - -interface LaunchArgs { - browser: { - name: Browser; - buildId: string; - }; - path?: string; - platform?: BrowserPlatform; - detached: boolean; - system: boolean; -} - -interface ClearArgs { - path?: string; -} - -/** - * @public - */ -export class CLI { - #cachePath; - #rl?: readline.Interface; - #scriptName = ''; - #allowCachePathOverride = true; - #pinnedBrowsers?: Partial<{[key in Browser]: string}>; - #prefixCommand?: {cmd: string; description: string}; - - constructor( - opts?: - | string - | { - cachePath?: string; - scriptName?: string; - prefixCommand?: {cmd: string; description: string}; - allowCachePathOverride?: boolean; - pinnedBrowsers?: Partial<{[key in Browser]: string}>; - }, - rl?: readline.Interface - ) { - if (!opts) { - opts = {}; - } - if (typeof opts === 'string') { - opts = { - cachePath: opts, - }; - } - this.#cachePath = opts.cachePath ?? process.cwd(); - this.#rl = rl; - this.#scriptName = opts.scriptName ?? '@puppeteer/browsers'; - this.#allowCachePathOverride = opts.allowCachePathOverride ?? true; - this.#pinnedBrowsers = opts.pinnedBrowsers; - this.#prefixCommand = opts.prefixCommand; - } - - #defineBrowserParameter(yargs: Yargs.Argv): void { - yargs.positional('browser', { - description: - 'Which browser to install [@]. `latest` will try to find the latest available build. `buildId` is a browser-specific identifier such as a version or a revision.', - type: 'string', - coerce: (opt): InstallArgs['browser'] => { - return { - name: this.#parseBrowser(opt), - buildId: this.#parseBuildId(opt), - }; - }, - }); - } - - #definePlatformParameter(yargs: Yargs.Argv): void { - yargs.option('platform', { - type: 'string', - desc: 'Platform that the binary needs to be compatible with.', - choices: Object.values(BrowserPlatform), - defaultDescription: 'Auto-detected', - }); - } - - #definePathParameter(yargs: Yargs.Argv, required = false): void { - if (!this.#allowCachePathOverride) { - return; - } - yargs.option('path', { - type: 'string', - desc: 'Path to the root folder for the browser downloads and installation. The installation folder structure is compatible with the cache structure used by Puppeteer.', - defaultDescription: 'Current working directory', - ...(required ? {} : {default: process.cwd()}), - }); - if (required) { - yargs.demandOption('path'); - } - } - - async run(argv: string[]): Promise { - const yargsInstance = yargs(hideBin(argv)); - let target = yargsInstance.scriptName(this.#scriptName); - if (this.#prefixCommand) { - target = target.command( - this.#prefixCommand.cmd, - this.#prefixCommand.description, - yargs => { - return this.#build(yargs); - } - ); - } else { - target = this.#build(target); - } - await target - .demandCommand(1) - .help() - .wrap(Math.min(120, yargsInstance.terminalWidth())) - .parse(); - } - - #build(yargs: Yargs.Argv): Yargs.Argv { - const latestOrPinned = this.#pinnedBrowsers ? 'pinned' : 'latest'; - return yargs - .command( - 'install ', - 'Download and install the specified browser. If successful, the command outputs the actual browser buildId that was installed and the absolute path to the browser executable (format: @ ).', - yargs => { - this.#defineBrowserParameter(yargs); - this.#definePlatformParameter(yargs); - this.#definePathParameter(yargs); - yargs.option('base-url', { - type: 'string', - desc: 'Base URL to download from', - }); - yargs.example( - '$0 install chrome', - `Install the ${latestOrPinned} available build of the Chrome browser.` - ); - yargs.example( - '$0 install chrome@latest', - 'Install the latest available build for the Chrome browser.' - ); - yargs.example( - '$0 install chrome@stable', - 'Install the latest available build for the Chrome browser from the stable channel.' - ); - yargs.example( - '$0 install chrome@beta', - 'Install the latest available build for the Chrome browser from the beta channel.' - ); - yargs.example( - '$0 install chrome@dev', - 'Install the latest available build for the Chrome browser from the dev channel.' - ); - yargs.example( - '$0 install chrome@canary', - 'Install the latest available build for the Chrome Canary browser.' - ); - yargs.example( - '$0 install chrome@115', - 'Install the latest available build for Chrome 115.' - ); - yargs.example( - '$0 install chromedriver@canary', - 'Install the latest available build for ChromeDriver Canary.' - ); - yargs.example( - '$0 install chromedriver@115', - 'Install the latest available build for ChromeDriver 115.' - ); - yargs.example( - '$0 install chromedriver@115.0.5790', - 'Install the latest available patch (115.0.5790.X) build for ChromeDriver.' - ); - yargs.example( - '$0 install chrome-headless-shell', - 'Install the latest available chrome-headless-shell build.' - ); - yargs.example( - '$0 install chrome-headless-shell@beta', - 'Install the latest available chrome-headless-shell build corresponding to the Beta channel.' - ); - yargs.example( - '$0 install chrome-headless-shell@118', - 'Install the latest available chrome-headless-shell 118 build.' - ); - yargs.example( - '$0 install chromium@1083080', - 'Install the revision 1083080 of the Chromium browser.' - ); - yargs.example( - '$0 install firefox', - 'Install the latest available build of the Firefox browser.' - ); - yargs.example( - '$0 install firefox --platform mac', - 'Install the latest Mac (Intel) build of the Firefox browser.' - ); - if (this.#allowCachePathOverride) { - yargs.example( - '$0 install firefox --path /tmp/my-browser-cache', - 'Install to the specified cache directory.' - ); - } - }, - async argv => { - const args = argv as unknown as InstallArgs; - args.platform ??= detectBrowserPlatform(); - if (!args.platform) { - throw new Error(`Could not resolve the current platform`); - } - if (args.browser.buildId === 'pinned') { - const pinnedVersion = this.#pinnedBrowsers?.[args.browser.name]; - if (!pinnedVersion) { - throw new Error( - `No pinned version found for ${args.browser.name}` - ); - } - args.browser.buildId = pinnedVersion; - } - const originalBuildId = args.browser.buildId; - args.browser.buildId = await resolveBuildId( - args.browser.name, - args.platform, - args.browser.buildId - ); - await install({ - browser: args.browser.name, - buildId: args.browser.buildId, - platform: args.platform, - cacheDir: args.path ?? this.#cachePath, - downloadProgressCallback: makeProgressCallback( - args.browser.name, - args.browser.buildId - ), - baseUrl: args.baseUrl, - buildIdAlias: - originalBuildId !== args.browser.buildId - ? originalBuildId - : undefined, - }); - console.log( - `${args.browser.name}@${ - args.browser.buildId - } ${computeExecutablePath({ - browser: args.browser.name, - buildId: args.browser.buildId, - cacheDir: args.path ?? this.#cachePath, - platform: args.platform, - })}` - ); - } - ) - .command( - 'launch ', - 'Launch the specified browser', - yargs => { - this.#defineBrowserParameter(yargs); - this.#definePlatformParameter(yargs); - this.#definePathParameter(yargs); - yargs.option('detached', { - type: 'boolean', - desc: 'Detach the child process.', - default: false, - }); - yargs.option('system', { - type: 'boolean', - desc: 'Search for a browser installed on the system instead of the cache folder.', - default: false, - }); - yargs.example( - '$0 launch chrome@115.0.5790.170', - 'Launch Chrome 115.0.5790.170' - ); - yargs.example( - '$0 launch firefox@112.0a1', - 'Launch the Firefox browser identified by the milestone 112.0a1.' - ); - yargs.example( - '$0 launch chrome@115.0.5790.170 --detached', - 'Launch the browser but detach the sub-processes.' - ); - yargs.example( - '$0 launch chrome@canary --system', - 'Try to locate the Canary build of Chrome installed on the system and launch it.' - ); - }, - async argv => { - const args = argv as unknown as LaunchArgs; - const executablePath = args.system - ? computeSystemExecutablePath({ - browser: args.browser.name, - // TODO: throw an error if not a ChromeReleaseChannel is provided. - channel: args.browser.buildId as ChromeReleaseChannel, - platform: args.platform, - }) - : computeExecutablePath({ - browser: args.browser.name, - buildId: args.browser.buildId, - cacheDir: args.path ?? this.#cachePath, - platform: args.platform, - }); - launch({ - executablePath, - detached: args.detached, - }); - } - ) - .command( - 'clear', - this.#allowCachePathOverride - ? 'Removes all installed browsers from the specified cache directory' - : `Removes all installed browsers from ${this.#cachePath}`, - yargs => { - this.#definePathParameter(yargs, true); - }, - async argv => { - const args = argv as unknown as ClearArgs; - const cacheDir = args.path ?? this.#cachePath; - const rl = this.#rl ?? readline.createInterface({input, output}); - rl.question( - `Do you want to permanently and recursively delete the content of ${cacheDir} (yes/No)? `, - answer => { - rl.close(); - if (!['y', 'yes'].includes(answer.toLowerCase().trim())) { - console.log('Cancelled.'); - return; - } - const cache = new Cache(cacheDir); - cache.clear(); - console.log(`${cacheDir} cleared.`); - } - ); - } - ) - .demandCommand(1) - .help(); - } - - #parseBrowser(version: string): Browser { - return version.split('@').shift() as Browser; - } - - #parseBuildId(version: string): string { - const parts = version.split('@'); - return parts.length === 2 - ? parts[1]! - : this.#pinnedBrowsers - ? 'pinned' - : 'latest'; - } -} - -/** - * @public - */ -export function makeProgressCallback( - browser: Browser, - buildId: string -): (downloadedBytes: number, totalBytes: number) => void { - let progressBar: ProgressBar; - let lastDownloadedBytes = 0; - return (downloadedBytes: number, totalBytes: number) => { - if (!progressBar) { - progressBar = new ProgressBar( - `Downloading ${browser} r${buildId} - ${toMegabytes( - totalBytes - )} [:bar] :percent :etas `, - { - complete: '=', - incomplete: ' ', - width: 20, - total: totalBytes, - } - ); - } - const delta = downloadedBytes - lastDownloadedBytes; - lastDownloadedBytes = downloadedBytes; - progressBar.tick(delta); - }; -} - -function toMegabytes(bytes: number) { - const mb = bytes / 1000 / 1000; - return `${Math.round(mb * 10) / 10} MB`; -} diff --git a/node_modules/@puppeteer/browsers/src/Cache.ts b/node_modules/@puppeteer/browsers/src/Cache.ts deleted file mode 100644 index e6b574d..0000000 --- a/node_modules/@puppeteer/browsers/src/Cache.ts +++ /dev/null @@ -1,274 +0,0 @@ -/** - * @license - * Copyright 2023 Google Inc. - * SPDX-License-Identifier: Apache-2.0 - */ - -import fs from 'fs'; -import os from 'os'; -import path from 'path'; - -import debug from 'debug'; - -import { - Browser, - type BrowserPlatform, - executablePathByBrowser, - getVersionComparator, -} from './browser-data/browser-data.js'; -import {detectBrowserPlatform} from './detectPlatform.js'; - -const debugCache = debug('puppeteer:browsers:cache'); - -/** - * @public - */ -export class InstalledBrowser { - browser: Browser; - buildId: string; - platform: BrowserPlatform; - readonly executablePath: string; - - #cache: Cache; - - /** - * @internal - */ - constructor( - cache: Cache, - browser: Browser, - buildId: string, - platform: BrowserPlatform - ) { - this.#cache = cache; - this.browser = browser; - this.buildId = buildId; - this.platform = platform; - this.executablePath = cache.computeExecutablePath({ - browser, - buildId, - platform, - }); - } - - /** - * Path to the root of the installation folder. Use - * {@link computeExecutablePath} to get the path to the executable binary. - */ - get path(): string { - return this.#cache.installationDir( - this.browser, - this.platform, - this.buildId - ); - } - - readMetadata(): Metadata { - return this.#cache.readMetadata(this.browser); - } - - writeMetadata(metadata: Metadata): void { - this.#cache.writeMetadata(this.browser, metadata); - } -} - -/** - * @internal - */ -export interface ComputeExecutablePathOptions { - /** - * Determines which platform the browser will be suited for. - * - * @defaultValue **Auto-detected.** - */ - platform?: BrowserPlatform; - /** - * Determines which browser to launch. - */ - browser: Browser; - /** - * Determines which buildId to download. BuildId should uniquely identify - * binaries and they are used for caching. - */ - buildId: string; -} - -export interface Metadata { - // Maps an alias (canary/latest/dev/etc.) to a buildId. - aliases: Record; -} - -/** - * The cache used by Puppeteer relies on the following structure: - * - * - rootDir - * -- | browserRoot(browser1) - * ---- - | installationDir() - * ------ the browser-platform-buildId - * ------ specific structure. - * -- | browserRoot(browser2) - * ---- - | installationDir() - * ------ the browser-platform-buildId - * ------ specific structure. - * @internal - */ -export class Cache { - #rootDir: string; - - constructor(rootDir: string) { - this.#rootDir = rootDir; - } - - /** - * @internal - */ - get rootDir(): string { - return this.#rootDir; - } - - browserRoot(browser: Browser): string { - return path.join(this.#rootDir, browser); - } - - metadataFile(browser: Browser): string { - return path.join(this.browserRoot(browser), '.metadata'); - } - - readMetadata(browser: Browser): Metadata { - const metatadaPath = this.metadataFile(browser); - if (!fs.existsSync(metatadaPath)) { - return {aliases: {}}; - } - // TODO: add type-safe parsing. - const data = JSON.parse(fs.readFileSync(metatadaPath, 'utf8')); - if (typeof data !== 'object') { - throw new Error('.metadata is not an object'); - } - return data; - } - - writeMetadata(browser: Browser, metadata: Metadata): void { - const metatadaPath = this.metadataFile(browser); - fs.mkdirSync(path.dirname(metatadaPath), {recursive: true}); - fs.writeFileSync(metatadaPath, JSON.stringify(metadata, null, 2)); - } - - resolveAlias(browser: Browser, alias: string): string | undefined { - const metadata = this.readMetadata(browser); - if (alias === 'latest') { - return Object.values(metadata.aliases || {}) - .sort(getVersionComparator(browser)) - .at(-1); - } - return metadata.aliases[alias]; - } - - installationDir( - browser: Browser, - platform: BrowserPlatform, - buildId: string - ): string { - return path.join(this.browserRoot(browser), `${platform}-${buildId}`); - } - - clear(): void { - fs.rmSync(this.#rootDir, { - force: true, - recursive: true, - maxRetries: 10, - retryDelay: 500, - }); - } - - uninstall( - browser: Browser, - platform: BrowserPlatform, - buildId: string - ): void { - const metadata = this.readMetadata(browser); - for (const alias of Object.keys(metadata.aliases)) { - if (metadata.aliases[alias] === buildId) { - delete metadata.aliases[alias]; - } - } - fs.rmSync(this.installationDir(browser, platform, buildId), { - force: true, - recursive: true, - maxRetries: 10, - retryDelay: 500, - }); - } - - getInstalledBrowsers(): InstalledBrowser[] { - if (!fs.existsSync(this.#rootDir)) { - return []; - } - const types = fs.readdirSync(this.#rootDir); - const browsers = types.filter((t): t is Browser => { - return (Object.values(Browser) as string[]).includes(t); - }); - return browsers.flatMap(browser => { - const files = fs.readdirSync(this.browserRoot(browser)); - return files - .map(file => { - const result = parseFolderPath( - path.join(this.browserRoot(browser), file) - ); - if (!result) { - return null; - } - return new InstalledBrowser( - this, - browser, - result.buildId, - result.platform as BrowserPlatform - ); - }) - .filter((item: InstalledBrowser | null): item is InstalledBrowser => { - return item !== null; - }); - }); - } - - computeExecutablePath(options: ComputeExecutablePathOptions): string { - options.platform ??= detectBrowserPlatform(); - if (!options.platform) { - throw new Error( - `Cannot download a binary for the provided platform: ${os.platform()} (${os.arch()})` - ); - } - try { - options.buildId = - this.resolveAlias(options.browser, options.buildId) ?? options.buildId; - } catch { - debugCache('could not read .metadata file for the browser'); - } - const installationDir = this.installationDir( - options.browser, - options.platform, - options.buildId - ); - return path.join( - installationDir, - executablePathByBrowser[options.browser]( - options.platform, - options.buildId - ) - ); - } -} - -function parseFolderPath( - folderPath: string -): {platform: string; buildId: string} | undefined { - const name = path.basename(folderPath); - const splits = name.split('-'); - if (splits.length !== 2) { - return; - } - const [platform, buildId] = splits; - if (!buildId || !platform) { - return; - } - return {platform, buildId}; -} diff --git a/node_modules/@puppeteer/browsers/src/browser-data/browser-data.ts b/node_modules/@puppeteer/browsers/src/browser-data/browser-data.ts deleted file mode 100644 index 3e78030..0000000 --- a/node_modules/@puppeteer/browsers/src/browser-data/browser-data.ts +++ /dev/null @@ -1,207 +0,0 @@ -/** - * @license - * Copyright 2023 Google Inc. - * SPDX-License-Identifier: Apache-2.0 - */ - -import * as chromeHeadlessShell from './chrome-headless-shell.js'; -import * as chrome from './chrome.js'; -import * as chromedriver from './chromedriver.js'; -import * as chromium from './chromium.js'; -import * as firefox from './firefox.js'; -import { - Browser, - BrowserPlatform, - BrowserTag, - ChromeReleaseChannel, - type ProfileOptions, -} from './types.js'; - -export type {ProfileOptions}; - -export const downloadUrls = { - [Browser.CHROMEDRIVER]: chromedriver.resolveDownloadUrl, - [Browser.CHROMEHEADLESSSHELL]: chromeHeadlessShell.resolveDownloadUrl, - [Browser.CHROME]: chrome.resolveDownloadUrl, - [Browser.CHROMIUM]: chromium.resolveDownloadUrl, - [Browser.FIREFOX]: firefox.resolveDownloadUrl, -}; - -export const downloadPaths = { - [Browser.CHROMEDRIVER]: chromedriver.resolveDownloadPath, - [Browser.CHROMEHEADLESSSHELL]: chromeHeadlessShell.resolveDownloadPath, - [Browser.CHROME]: chrome.resolveDownloadPath, - [Browser.CHROMIUM]: chromium.resolveDownloadPath, - [Browser.FIREFOX]: firefox.resolveDownloadPath, -}; - -export const executablePathByBrowser = { - [Browser.CHROMEDRIVER]: chromedriver.relativeExecutablePath, - [Browser.CHROMEHEADLESSSHELL]: chromeHeadlessShell.relativeExecutablePath, - [Browser.CHROME]: chrome.relativeExecutablePath, - [Browser.CHROMIUM]: chromium.relativeExecutablePath, - [Browser.FIREFOX]: firefox.relativeExecutablePath, -}; - -export const versionComparators = { - [Browser.CHROMEDRIVER]: chromedriver.compareVersions, - [Browser.CHROMEHEADLESSSHELL]: chromeHeadlessShell.compareVersions, - [Browser.CHROME]: chrome.compareVersions, - [Browser.CHROMIUM]: chromium.compareVersions, - [Browser.FIREFOX]: firefox.compareVersions, -}; - -export {Browser, BrowserPlatform, ChromeReleaseChannel}; - -/** - * @public - */ -export async function resolveBuildId( - browser: Browser, - platform: BrowserPlatform, - tag: string -): Promise { - switch (browser) { - case Browser.FIREFOX: - switch (tag as BrowserTag) { - case BrowserTag.LATEST: - return await firefox.resolveBuildId('FIREFOX_NIGHTLY'); - case BrowserTag.BETA: - case BrowserTag.CANARY: - case BrowserTag.DEV: - case BrowserTag.STABLE: - throw new Error( - `${tag} is not supported for ${browser}. Use 'latest' instead.` - ); - } - case Browser.CHROME: { - switch (tag as BrowserTag) { - case BrowserTag.LATEST: - return await chrome.resolveBuildId(ChromeReleaseChannel.CANARY); - case BrowserTag.BETA: - return await chrome.resolveBuildId(ChromeReleaseChannel.BETA); - case BrowserTag.CANARY: - return await chrome.resolveBuildId(ChromeReleaseChannel.CANARY); - case BrowserTag.DEV: - return await chrome.resolveBuildId(ChromeReleaseChannel.DEV); - case BrowserTag.STABLE: - return await chrome.resolveBuildId(ChromeReleaseChannel.STABLE); - default: - const result = await chrome.resolveBuildId(tag); - if (result) { - return result; - } - } - return tag; - } - case Browser.CHROMEDRIVER: { - switch (tag) { - case BrowserTag.LATEST: - case BrowserTag.CANARY: - return await chromedriver.resolveBuildId(ChromeReleaseChannel.CANARY); - case BrowserTag.BETA: - return await chromedriver.resolveBuildId(ChromeReleaseChannel.BETA); - case BrowserTag.DEV: - return await chromedriver.resolveBuildId(ChromeReleaseChannel.DEV); - case BrowserTag.STABLE: - return await chromedriver.resolveBuildId(ChromeReleaseChannel.STABLE); - default: - const result = await chromedriver.resolveBuildId(tag); - if (result) { - return result; - } - } - return tag; - } - case Browser.CHROMEHEADLESSSHELL: { - switch (tag) { - case BrowserTag.LATEST: - case BrowserTag.CANARY: - return await chromeHeadlessShell.resolveBuildId( - ChromeReleaseChannel.CANARY - ); - case BrowserTag.BETA: - return await chromeHeadlessShell.resolveBuildId( - ChromeReleaseChannel.BETA - ); - case BrowserTag.DEV: - return await chromeHeadlessShell.resolveBuildId( - ChromeReleaseChannel.DEV - ); - case BrowserTag.STABLE: - return await chromeHeadlessShell.resolveBuildId( - ChromeReleaseChannel.STABLE - ); - default: - const result = await chromeHeadlessShell.resolveBuildId(tag); - if (result) { - return result; - } - } - return tag; - } - case Browser.CHROMIUM: - switch (tag as BrowserTag) { - case BrowserTag.LATEST: - return await chromium.resolveBuildId(platform); - case BrowserTag.BETA: - case BrowserTag.CANARY: - case BrowserTag.DEV: - case BrowserTag.STABLE: - throw new Error( - `${tag} is not supported for ${browser}. Use 'latest' instead.` - ); - } - } - // We assume the tag is the buildId if it didn't match any keywords. - return tag; -} - -/** - * @public - */ -export async function createProfile( - browser: Browser, - opts: ProfileOptions -): Promise { - switch (browser) { - case Browser.FIREFOX: - return await firefox.createProfile(opts); - case Browser.CHROME: - case Browser.CHROMIUM: - throw new Error(`Profile creation is not support for ${browser} yet`); - } -} - -/** - * @public - */ -export function resolveSystemExecutablePath( - browser: Browser, - platform: BrowserPlatform, - channel: ChromeReleaseChannel -): string { - switch (browser) { - case Browser.CHROMEDRIVER: - case Browser.CHROMEHEADLESSSHELL: - case Browser.FIREFOX: - case Browser.CHROMIUM: - throw new Error( - `System browser detection is not supported for ${browser} yet.` - ); - case Browser.CHROME: - return chrome.resolveSystemExecutablePath(platform, channel); - } -} - -/** - * Returns a version comparator for the given browser that can be used to sort - * browser versions. - * - * @public - */ -export function getVersionComparator( - browser: Browser -): (a: string, b: string) => number { - return versionComparators[browser]; -} diff --git a/node_modules/@puppeteer/browsers/src/browser-data/chrome-headless-shell.ts b/node_modules/@puppeteer/browsers/src/browser-data/chrome-headless-shell.ts deleted file mode 100644 index f5f65cd..0000000 --- a/node_modules/@puppeteer/browsers/src/browser-data/chrome-headless-shell.ts +++ /dev/null @@ -1,69 +0,0 @@ -/** - * @license - * Copyright 2023 Google Inc. - * SPDX-License-Identifier: Apache-2.0 - */ -import path from 'path'; - -import {BrowserPlatform} from './types.js'; - -function folder(platform: BrowserPlatform): string { - switch (platform) { - case BrowserPlatform.LINUX: - return 'linux64'; - case BrowserPlatform.MAC_ARM: - return 'mac-arm64'; - case BrowserPlatform.MAC: - return 'mac-x64'; - case BrowserPlatform.WIN32: - return 'win32'; - case BrowserPlatform.WIN64: - return 'win64'; - } -} - -export function resolveDownloadUrl( - platform: BrowserPlatform, - buildId: string, - baseUrl = 'https://storage.googleapis.com/chrome-for-testing-public' -): string { - return `${baseUrl}/${resolveDownloadPath(platform, buildId).join('/')}`; -} - -export function resolveDownloadPath( - platform: BrowserPlatform, - buildId: string -): string[] { - return [ - buildId, - folder(platform), - `chrome-headless-shell-${folder(platform)}.zip`, - ]; -} - -export function relativeExecutablePath( - platform: BrowserPlatform, - _buildId: string -): string { - switch (platform) { - case BrowserPlatform.MAC: - case BrowserPlatform.MAC_ARM: - return path.join( - 'chrome-headless-shell-' + folder(platform), - 'chrome-headless-shell' - ); - case BrowserPlatform.LINUX: - return path.join( - 'chrome-headless-shell-linux64', - 'chrome-headless-shell' - ); - case BrowserPlatform.WIN32: - case BrowserPlatform.WIN64: - return path.join( - 'chrome-headless-shell-' + folder(platform), - 'chrome-headless-shell.exe' - ); - } -} - -export {resolveBuildId, compareVersions} from './chrome.js'; diff --git a/node_modules/@puppeteer/browsers/src/browser-data/chrome.ts b/node_modules/@puppeteer/browsers/src/browser-data/chrome.ts deleted file mode 100644 index c797516..0000000 --- a/node_modules/@puppeteer/browsers/src/browser-data/chrome.ts +++ /dev/null @@ -1,213 +0,0 @@ -/** - * @license - * Copyright 2023 Google Inc. - * SPDX-License-Identifier: Apache-2.0 - */ - -import path from 'path'; - -import semver from 'semver'; - -import {getJSON} from '../httpUtil.js'; - -import {BrowserPlatform, ChromeReleaseChannel} from './types.js'; - -function folder(platform: BrowserPlatform): string { - switch (platform) { - case BrowserPlatform.LINUX: - return 'linux64'; - case BrowserPlatform.MAC_ARM: - return 'mac-arm64'; - case BrowserPlatform.MAC: - return 'mac-x64'; - case BrowserPlatform.WIN32: - return 'win32'; - case BrowserPlatform.WIN64: - return 'win64'; - } -} - -export function resolveDownloadUrl( - platform: BrowserPlatform, - buildId: string, - baseUrl = 'https://storage.googleapis.com/chrome-for-testing-public' -): string { - return `${baseUrl}/${resolveDownloadPath(platform, buildId).join('/')}`; -} - -export function resolveDownloadPath( - platform: BrowserPlatform, - buildId: string -): string[] { - return [buildId, folder(platform), `chrome-${folder(platform)}.zip`]; -} - -export function relativeExecutablePath( - platform: BrowserPlatform, - _buildId: string -): string { - switch (platform) { - case BrowserPlatform.MAC: - case BrowserPlatform.MAC_ARM: - return path.join( - 'chrome-' + folder(platform), - 'Google Chrome for Testing.app', - 'Contents', - 'MacOS', - 'Google Chrome for Testing' - ); - case BrowserPlatform.LINUX: - return path.join('chrome-linux64', 'chrome'); - case BrowserPlatform.WIN32: - case BrowserPlatform.WIN64: - return path.join('chrome-' + folder(platform), 'chrome.exe'); - } -} - -export async function getLastKnownGoodReleaseForChannel( - channel: ChromeReleaseChannel -): Promise<{version: string; revision: string}> { - const data = (await getJSON( - new URL( - 'https://googlechromelabs.github.io/chrome-for-testing/last-known-good-versions.json' - ) - )) as { - channels: Record; - }; - - for (const channel of Object.keys(data.channels)) { - data.channels[channel.toLowerCase()] = data.channels[channel]!; - delete data.channels[channel]; - } - - return ( - data as { - channels: { - [channel in ChromeReleaseChannel]: {version: string; revision: string}; - }; - } - ).channels[channel]; -} - -export async function getLastKnownGoodReleaseForMilestone( - milestone: string -): Promise<{version: string; revision: string} | undefined> { - const data = (await getJSON( - new URL( - 'https://googlechromelabs.github.io/chrome-for-testing/latest-versions-per-milestone.json' - ) - )) as { - milestones: Record; - }; - return data.milestones[milestone] as - | {version: string; revision: string} - | undefined; -} - -export async function getLastKnownGoodReleaseForBuild( - /** - * @example `112.0.23`, - */ - buildPrefix: string -): Promise<{version: string; revision: string} | undefined> { - const data = (await getJSON( - new URL( - 'https://googlechromelabs.github.io/chrome-for-testing/latest-patch-versions-per-build.json' - ) - )) as { - builds: Record; - }; - return data.builds[buildPrefix] as - | {version: string; revision: string} - | undefined; -} - -export async function resolveBuildId( - channel: ChromeReleaseChannel -): Promise; -export async function resolveBuildId( - channel: string -): Promise; -export async function resolveBuildId( - channel: ChromeReleaseChannel | string -): Promise { - if ( - Object.values(ChromeReleaseChannel).includes( - channel as ChromeReleaseChannel - ) - ) { - return ( - await getLastKnownGoodReleaseForChannel(channel as ChromeReleaseChannel) - ).version; - } - if (channel.match(/^\d+$/)) { - // Potentially a milestone. - return (await getLastKnownGoodReleaseForMilestone(channel))?.version; - } - if (channel.match(/^\d+\.\d+\.\d+$/)) { - // Potentially a build prefix without the patch version. - return (await getLastKnownGoodReleaseForBuild(channel))?.version; - } - return; -} - -export function resolveSystemExecutablePath( - platform: BrowserPlatform, - channel: ChromeReleaseChannel -): string { - switch (platform) { - case BrowserPlatform.WIN64: - case BrowserPlatform.WIN32: - switch (channel) { - case ChromeReleaseChannel.STABLE: - return `${process.env['PROGRAMFILES']}\\Google\\Chrome\\Application\\chrome.exe`; - case ChromeReleaseChannel.BETA: - return `${process.env['PROGRAMFILES']}\\Google\\Chrome Beta\\Application\\chrome.exe`; - case ChromeReleaseChannel.CANARY: - return `${process.env['PROGRAMFILES']}\\Google\\Chrome SxS\\Application\\chrome.exe`; - case ChromeReleaseChannel.DEV: - return `${process.env['PROGRAMFILES']}\\Google\\Chrome Dev\\Application\\chrome.exe`; - } - case BrowserPlatform.MAC_ARM: - case BrowserPlatform.MAC: - switch (channel) { - case ChromeReleaseChannel.STABLE: - return '/Applications/Google Chrome.app/Contents/MacOS/Google Chrome'; - case ChromeReleaseChannel.BETA: - return '/Applications/Google Chrome Beta.app/Contents/MacOS/Google Chrome Beta'; - case ChromeReleaseChannel.CANARY: - return '/Applications/Google Chrome Canary.app/Contents/MacOS/Google Chrome Canary'; - case ChromeReleaseChannel.DEV: - return '/Applications/Google Chrome Dev.app/Contents/MacOS/Google Chrome Dev'; - } - case BrowserPlatform.LINUX: - switch (channel) { - case ChromeReleaseChannel.STABLE: - return '/opt/google/chrome/chrome'; - case ChromeReleaseChannel.BETA: - return '/opt/google/chrome-beta/chrome'; - case ChromeReleaseChannel.DEV: - return '/opt/google/chrome-unstable/chrome'; - } - } - - throw new Error( - `Unable to detect browser executable path for '${channel}' on ${platform}.` - ); -} - -export function compareVersions(a: string, b: string): number { - if (!semver.valid(a)) { - throw new Error(`Version ${a} is not a valid semver version`); - } - if (!semver.valid(b)) { - throw new Error(`Version ${b} is not a valid semver version`); - } - if (semver.gt(a, b)) { - return 1; - } else if (semver.lt(a, b)) { - return -1; - } else { - return 0; - } -} diff --git a/node_modules/@puppeteer/browsers/src/browser-data/chromedriver.ts b/node_modules/@puppeteer/browsers/src/browser-data/chromedriver.ts deleted file mode 100644 index 2f1242b..0000000 --- a/node_modules/@puppeteer/browsers/src/browser-data/chromedriver.ts +++ /dev/null @@ -1,56 +0,0 @@ -/** - * @license - * Copyright 2023 Google Inc. - * SPDX-License-Identifier: Apache-2.0 - */ -import path from 'path'; - -import {BrowserPlatform} from './types.js'; - -function folder(platform: BrowserPlatform): string { - switch (platform) { - case BrowserPlatform.LINUX: - return 'linux64'; - case BrowserPlatform.MAC_ARM: - return 'mac-arm64'; - case BrowserPlatform.MAC: - return 'mac-x64'; - case BrowserPlatform.WIN32: - return 'win32'; - case BrowserPlatform.WIN64: - return 'win64'; - } -} - -export function resolveDownloadUrl( - platform: BrowserPlatform, - buildId: string, - baseUrl = 'https://storage.googleapis.com/chrome-for-testing-public' -): string { - return `${baseUrl}/${resolveDownloadPath(platform, buildId).join('/')}`; -} - -export function resolveDownloadPath( - platform: BrowserPlatform, - buildId: string -): string[] { - return [buildId, folder(platform), `chromedriver-${folder(platform)}.zip`]; -} - -export function relativeExecutablePath( - platform: BrowserPlatform, - _buildId: string -): string { - switch (platform) { - case BrowserPlatform.MAC: - case BrowserPlatform.MAC_ARM: - return path.join('chromedriver-' + folder(platform), 'chromedriver'); - case BrowserPlatform.LINUX: - return path.join('chromedriver-linux64', 'chromedriver'); - case BrowserPlatform.WIN32: - case BrowserPlatform.WIN64: - return path.join('chromedriver-' + folder(platform), 'chromedriver.exe'); - } -} - -export {resolveBuildId, compareVersions} from './chrome.js'; diff --git a/node_modules/@puppeteer/browsers/src/browser-data/chromium.ts b/node_modules/@puppeteer/browsers/src/browser-data/chromium.ts deleted file mode 100644 index 820e76d..0000000 --- a/node_modules/@puppeteer/browsers/src/browser-data/chromium.ts +++ /dev/null @@ -1,92 +0,0 @@ -/** - * @license - * Copyright 2023 Google Inc. - * SPDX-License-Identifier: Apache-2.0 - */ - -import path from 'path'; - -import {getText} from '../httpUtil.js'; - -import {BrowserPlatform} from './types.js'; - -function archive(platform: BrowserPlatform, buildId: string): string { - switch (platform) { - case BrowserPlatform.LINUX: - return 'chrome-linux'; - case BrowserPlatform.MAC_ARM: - case BrowserPlatform.MAC: - return 'chrome-mac'; - case BrowserPlatform.WIN32: - case BrowserPlatform.WIN64: - // Windows archive name changed at r591479. - return parseInt(buildId, 10) > 591479 ? 'chrome-win' : 'chrome-win32'; - } -} - -function folder(platform: BrowserPlatform): string { - switch (platform) { - case BrowserPlatform.LINUX: - return 'Linux_x64'; - case BrowserPlatform.MAC_ARM: - return 'Mac_Arm'; - case BrowserPlatform.MAC: - return 'Mac'; - case BrowserPlatform.WIN32: - return 'Win'; - case BrowserPlatform.WIN64: - return 'Win_x64'; - } -} - -export function resolveDownloadUrl( - platform: BrowserPlatform, - buildId: string, - baseUrl = 'https://storage.googleapis.com/chromium-browser-snapshots' -): string { - return `${baseUrl}/${resolveDownloadPath(platform, buildId).join('/')}`; -} - -export function resolveDownloadPath( - platform: BrowserPlatform, - buildId: string -): string[] { - return [folder(platform), buildId, `${archive(platform, buildId)}.zip`]; -} - -export function relativeExecutablePath( - platform: BrowserPlatform, - _buildId: string -): string { - switch (platform) { - case BrowserPlatform.MAC: - case BrowserPlatform.MAC_ARM: - return path.join( - 'chrome-mac', - 'Chromium.app', - 'Contents', - 'MacOS', - 'Chromium' - ); - case BrowserPlatform.LINUX: - return path.join('chrome-linux', 'chrome'); - case BrowserPlatform.WIN32: - case BrowserPlatform.WIN64: - return path.join('chrome-win', 'chrome.exe'); - } -} -export async function resolveBuildId( - platform: BrowserPlatform -): Promise { - return await getText( - new URL( - `https://storage.googleapis.com/chromium-browser-snapshots/${folder( - platform - )}/LAST_CHANGE` - ) - ); -} - -export function compareVersions(a: string, b: string): number { - return Number(a) - Number(b); -} diff --git a/node_modules/@puppeteer/browsers/src/browser-data/firefox.ts b/node_modules/@puppeteer/browsers/src/browser-data/firefox.ts deleted file mode 100644 index 6c22193..0000000 --- a/node_modules/@puppeteer/browsers/src/browser-data/firefox.ts +++ /dev/null @@ -1,335 +0,0 @@ -/** - * @license - * Copyright 2023 Google Inc. - * SPDX-License-Identifier: Apache-2.0 - */ - -import fs from 'fs'; -import path from 'path'; - -import {getJSON} from '../httpUtil.js'; - -import {BrowserPlatform, type ProfileOptions} from './types.js'; - -function archive(platform: BrowserPlatform, buildId: string): string { - switch (platform) { - case BrowserPlatform.LINUX: - return `firefox-${buildId}.en-US.${platform}-x86_64.tar.bz2`; - case BrowserPlatform.MAC_ARM: - case BrowserPlatform.MAC: - return `firefox-${buildId}.en-US.mac.dmg`; - case BrowserPlatform.WIN32: - case BrowserPlatform.WIN64: - return `firefox-${buildId}.en-US.${platform}.zip`; - } -} - -export function resolveDownloadUrl( - platform: BrowserPlatform, - buildId: string, - baseUrl = 'https://archive.mozilla.org/pub/firefox/nightly/latest-mozilla-central' -): string { - return `${baseUrl}/${resolveDownloadPath(platform, buildId).join('/')}`; -} - -export function resolveDownloadPath( - platform: BrowserPlatform, - buildId: string -): string[] { - return [archive(platform, buildId)]; -} - -export function relativeExecutablePath( - platform: BrowserPlatform, - _buildId: string -): string { - switch (platform) { - case BrowserPlatform.MAC_ARM: - case BrowserPlatform.MAC: - return path.join('Firefox Nightly.app', 'Contents', 'MacOS', 'firefox'); - case BrowserPlatform.LINUX: - return path.join('firefox', 'firefox'); - case BrowserPlatform.WIN32: - case BrowserPlatform.WIN64: - return path.join('firefox', 'firefox.exe'); - } -} - -export async function resolveBuildId( - channel: 'FIREFOX_NIGHTLY' = 'FIREFOX_NIGHTLY' -): Promise { - const versions = (await getJSON( - new URL('https://product-details.mozilla.org/1.0/firefox_versions.json') - )) as Record; - const version = versions[channel]; - if (!version) { - throw new Error(`Channel ${channel} is not found.`); - } - return version; -} - -export async function createProfile(options: ProfileOptions): Promise { - if (!fs.existsSync(options.path)) { - await fs.promises.mkdir(options.path, { - recursive: true, - }); - } - await writePreferences({ - preferences: { - ...defaultProfilePreferences(options.preferences), - ...options.preferences, - }, - path: options.path, - }); -} - -function defaultProfilePreferences( - extraPrefs: Record -): Record { - const server = 'dummy.test'; - - const defaultPrefs = { - // Make sure Shield doesn't hit the network. - 'app.normandy.api_url': '', - // Disable Firefox old build background check - 'app.update.checkInstallTime': false, - // Disable automatically upgrading Firefox - 'app.update.disabledForTesting': true, - - // Increase the APZ content response timeout to 1 minute - 'apz.content_response_timeout': 60000, - - // Prevent various error message on the console - // jest-puppeteer asserts that no error message is emitted by the console - 'browser.contentblocking.features.standard': - '-tp,tpPrivate,cookieBehavior0,-cm,-fp', - - // Enable the dump function: which sends messages to the system - // console - // https://bugzilla.mozilla.org/show_bug.cgi?id=1543115 - 'browser.dom.window.dump.enabled': true, - // Disable topstories - 'browser.newtabpage.activity-stream.feeds.system.topstories': false, - // Always display a blank page - 'browser.newtabpage.enabled': false, - // Background thumbnails in particular cause grief: and disabling - // thumbnails in general cannot hurt - 'browser.pagethumbnails.capturing_disabled': true, - - // Disable safebrowsing components. - 'browser.safebrowsing.blockedURIs.enabled': false, - 'browser.safebrowsing.downloads.enabled': false, - 'browser.safebrowsing.malware.enabled': false, - 'browser.safebrowsing.phishing.enabled': false, - - // Disable updates to search engines. - 'browser.search.update': false, - // Do not restore the last open set of tabs if the browser has crashed - 'browser.sessionstore.resume_from_crash': false, - // Skip check for default browser on startup - 'browser.shell.checkDefaultBrowser': false, - - // Disable newtabpage - 'browser.startup.homepage': 'about:blank', - // Do not redirect user when a milstone upgrade of Firefox is detected - 'browser.startup.homepage_override.mstone': 'ignore', - // Start with a blank page about:blank - 'browser.startup.page': 0, - - // Do not allow background tabs to be zombified on Android: otherwise for - // tests that open additional tabs: the test harness tab itself might get - // unloaded - 'browser.tabs.disableBackgroundZombification': false, - // Do not warn when closing all other open tabs - 'browser.tabs.warnOnCloseOtherTabs': false, - // Do not warn when multiple tabs will be opened - 'browser.tabs.warnOnOpen': false, - - // Do not automatically offer translations, as tests do not expect this. - 'browser.translations.automaticallyPopup': false, - - // Disable the UI tour. - 'browser.uitour.enabled': false, - // Turn off search suggestions in the location bar so as not to trigger - // network connections. - 'browser.urlbar.suggest.searches': false, - // Disable first run splash page on Windows 10 - 'browser.usedOnWindows10.introURL': '', - // Do not warn on quitting Firefox - 'browser.warnOnQuit': false, - - // Defensively disable data reporting systems - 'datareporting.healthreport.documentServerURI': `http://${server}/dummy/healthreport/`, - 'datareporting.healthreport.logging.consoleEnabled': false, - 'datareporting.healthreport.service.enabled': false, - 'datareporting.healthreport.service.firstRun': false, - 'datareporting.healthreport.uploadEnabled': false, - - // Do not show datareporting policy notifications which can interfere with tests - 'datareporting.policy.dataSubmissionEnabled': false, - 'datareporting.policy.dataSubmissionPolicyBypassNotification': true, - - // DevTools JSONViewer sometimes fails to load dependencies with its require.js. - // This doesn't affect Puppeteer but spams console (Bug 1424372) - 'devtools.jsonview.enabled': false, - - // Disable popup-blocker - 'dom.disable_open_during_load': false, - - // Enable the support for File object creation in the content process - // Required for |Page.setFileInputFiles| protocol method. - 'dom.file.createInChild': true, - - // Disable the ProcessHangMonitor - 'dom.ipc.reportProcessHangs': false, - - // Disable slow script dialogues - 'dom.max_chrome_script_run_time': 0, - 'dom.max_script_run_time': 0, - - // Only load extensions from the application and user profile - // AddonManager.SCOPE_PROFILE + AddonManager.SCOPE_APPLICATION - 'extensions.autoDisableScopes': 0, - 'extensions.enabledScopes': 5, - - // Disable metadata caching for installed add-ons by default - 'extensions.getAddons.cache.enabled': false, - - // Disable installing any distribution extensions or add-ons. - 'extensions.installDistroAddons': false, - - // Disabled screenshots extension - 'extensions.screenshots.disabled': true, - - // Turn off extension updates so they do not bother tests - 'extensions.update.enabled': false, - - // Turn off extension updates so they do not bother tests - 'extensions.update.notifyUser': false, - - // Make sure opening about:addons will not hit the network - 'extensions.webservice.discoverURL': `http://${server}/dummy/discoveryURL`, - - // Allow the application to have focus even it runs in the background - 'focusmanager.testmode': true, - - // Disable useragent updates - 'general.useragent.updates.enabled': false, - - // Always use network provider for geolocation tests so we bypass the - // macOS dialog raised by the corelocation provider - 'geo.provider.testing': true, - - // Do not scan Wifi - 'geo.wifi.scan': false, - - // No hang monitor - 'hangmonitor.timeout': 0, - - // Show chrome errors and warnings in the error console - 'javascript.options.showInConsole': true, - - // Disable download and usage of OpenH264: and Widevine plugins - 'media.gmp-manager.updateEnabled': false, - - // Disable the GFX sanity window - 'media.sanity-test.disabled': true, - - // Prevent various error message on the console - // jest-puppeteer asserts that no error message is emitted by the console - 'network.cookie.cookieBehavior': 0, - - // Disable experimental feature that is only available in Nightly - 'network.cookie.sameSite.laxByDefault': false, - - // Do not prompt for temporary redirects - 'network.http.prompt-temp-redirect': false, - - // Disable speculative connections so they are not reported as leaking - // when they are hanging around - 'network.http.speculative-parallel-limit': 0, - - // Do not automatically switch between offline and online - 'network.manage-offline-status': false, - - // Make sure SNTP requests do not hit the network - 'network.sntp.pools': server, - - // Disable Flash. - 'plugin.state.flash': 0, - - 'privacy.trackingprotection.enabled': false, - - // Can be removed once Firefox 89 is no longer supported - // https://bugzilla.mozilla.org/show_bug.cgi?id=1710839 - 'remote.enabled': true, - - // Don't do network connections for mitm priming - 'security.certerrors.mitm.priming.enabled': false, - - // Local documents have access to all other local documents, - // including directory listings - 'security.fileuri.strict_origin_policy': false, - - // Do not wait for the notification button security delay - 'security.notification_enable_delay': 0, - - // Ensure blocklist updates do not hit the network - 'services.settings.server': `http://${server}/dummy/blocklist/`, - - // Do not automatically fill sign-in forms with known usernames and - // passwords - 'signon.autofillForms': false, - - // Disable password capture, so that tests that include forms are not - // influenced by the presence of the persistent doorhanger notification - 'signon.rememberSignons': false, - - // Disable first-run welcome page - 'startup.homepage_welcome_url': 'about:blank', - - // Disable first-run welcome page - 'startup.homepage_welcome_url.additional': '', - - // Disable browser animations (tabs, fullscreen, sliding alerts) - 'toolkit.cosmeticAnimations.enabled': false, - - // Prevent starting into safe mode after application crashes - 'toolkit.startup.max_resumed_crashes': -1, - }; - - return Object.assign(defaultPrefs, extraPrefs); -} - -/** - * Populates the user.js file with custom preferences as needed to allow - * Firefox's CDP support to properly function. These preferences will be - * automatically copied over to prefs.js during startup of Firefox. To be - * able to restore the original values of preferences a backup of prefs.js - * will be created. - * - * @param prefs - List of preferences to add. - * @param profilePath - Firefox profile to write the preferences to. - */ -async function writePreferences(options: ProfileOptions): Promise { - const lines = Object.entries(options.preferences).map(([key, value]) => { - return `user_pref(${JSON.stringify(key)}, ${JSON.stringify(value)});`; - }); - - await fs.promises.writeFile( - path.join(options.path, 'user.js'), - lines.join('\n') - ); - - // Create a backup of the preferences file if it already exitsts. - const prefsPath = path.join(options.path, 'prefs.js'); - if (fs.existsSync(prefsPath)) { - const prefsBackupPath = path.join(options.path, 'prefs.js.puppeteer'); - await fs.promises.copyFile(prefsPath, prefsBackupPath); - } -} - -export function compareVersions(a: string, b: string): number { - // TODO: this is a not very reliable check. - return parseInt(a.replace('.', ''), 16) - parseInt(b.replace('.', ''), 16); -} diff --git a/node_modules/@puppeteer/browsers/src/browser-data/types.ts b/node_modules/@puppeteer/browsers/src/browser-data/types.ts deleted file mode 100644 index ac72661..0000000 --- a/node_modules/@puppeteer/browsers/src/browser-data/types.ts +++ /dev/null @@ -1,61 +0,0 @@ -/** - * @license - * Copyright 2023 Google Inc. - * SPDX-License-Identifier: Apache-2.0 - */ - -/** - * Supported browsers. - * - * @public - */ -export enum Browser { - CHROME = 'chrome', - CHROMEHEADLESSSHELL = 'chrome-headless-shell', - CHROMIUM = 'chromium', - FIREFOX = 'firefox', - CHROMEDRIVER = 'chromedriver', -} - -/** - * Platform names used to identify a OS platform x architecture combination in the way - * that is relevant for the browser download. - * - * @public - */ -export enum BrowserPlatform { - LINUX = 'linux', - MAC = 'mac', - MAC_ARM = 'mac_arm', - WIN32 = 'win32', - WIN64 = 'win64', -} - -/** - * @public - */ -export enum BrowserTag { - CANARY = 'canary', - BETA = 'beta', - DEV = 'dev', - STABLE = 'stable', - LATEST = 'latest', -} - -/** - * @public - */ -export interface ProfileOptions { - preferences: Record; - path: string; -} - -/** - * @public - */ -export enum ChromeReleaseChannel { - STABLE = 'stable', - DEV = 'dev', - CANARY = 'canary', - BETA = 'beta', -} diff --git a/node_modules/@puppeteer/browsers/src/debug.ts b/node_modules/@puppeteer/browsers/src/debug.ts deleted file mode 100644 index 491097f..0000000 --- a/node_modules/@puppeteer/browsers/src/debug.ts +++ /dev/null @@ -1,9 +0,0 @@ -/** - * @license - * Copyright 2023 Google Inc. - * SPDX-License-Identifier: Apache-2.0 - */ - -import debug from 'debug'; - -export {debug}; diff --git a/node_modules/@puppeteer/browsers/src/detectPlatform.ts b/node_modules/@puppeteer/browsers/src/detectPlatform.ts deleted file mode 100644 index df644c3..0000000 --- a/node_modules/@puppeteer/browsers/src/detectPlatform.ts +++ /dev/null @@ -1,51 +0,0 @@ -/** - * @license - * Copyright 2023 Google Inc. - * SPDX-License-Identifier: Apache-2.0 - */ - -import os from 'os'; - -import {BrowserPlatform} from './browser-data/browser-data.js'; - -/** - * @public - */ -export function detectBrowserPlatform(): BrowserPlatform | undefined { - const platform = os.platform(); - switch (platform) { - case 'darwin': - return os.arch() === 'arm64' - ? BrowserPlatform.MAC_ARM - : BrowserPlatform.MAC; - case 'linux': - return BrowserPlatform.LINUX; - case 'win32': - return os.arch() === 'x64' || - // Windows 11 for ARM supports x64 emulation - (os.arch() === 'arm64' && isWindows11(os.release())) - ? BrowserPlatform.WIN64 - : BrowserPlatform.WIN32; - default: - return undefined; - } -} - -/** - * Windows 11 is identified by the version 10.0.22000 or greater - * @internal - */ -function isWindows11(version: string): boolean { - const parts = version.split('.'); - if (parts.length > 2) { - const major = parseInt(parts[0] as string, 10); - const minor = parseInt(parts[1] as string, 10); - const patch = parseInt(parts[2] as string, 10); - return ( - major > 10 || - (major === 10 && minor > 0) || - (major === 10 && minor === 0 && patch >= 22000) - ); - } - return false; -} diff --git a/node_modules/@puppeteer/browsers/src/fileUtil.ts b/node_modules/@puppeteer/browsers/src/fileUtil.ts deleted file mode 100644 index 50a6897..0000000 --- a/node_modules/@puppeteer/browsers/src/fileUtil.ts +++ /dev/null @@ -1,79 +0,0 @@ -/** - * @license - * Copyright 2023 Google Inc. - * SPDX-License-Identifier: Apache-2.0 - */ - -import {exec as execChildProcess} from 'child_process'; -import {createReadStream} from 'fs'; -import {mkdir, readdir} from 'fs/promises'; -import * as path from 'path'; -import {promisify} from 'util'; - -import extractZip from 'extract-zip'; -import tar from 'tar-fs'; -import bzip from 'unbzip2-stream'; - -const exec = promisify(execChildProcess); - -/** - * @internal - */ -export async function unpackArchive( - archivePath: string, - folderPath: string -): Promise { - if (archivePath.endsWith('.zip')) { - await extractZip(archivePath, {dir: folderPath}); - } else if (archivePath.endsWith('.tar.bz2')) { - await extractTar(archivePath, folderPath); - } else if (archivePath.endsWith('.dmg')) { - await mkdir(folderPath); - await installDMG(archivePath, folderPath); - } else { - throw new Error(`Unsupported archive format: ${archivePath}`); - } -} - -/** - * @internal - */ -function extractTar(tarPath: string, folderPath: string): Promise { - return new Promise((fulfill, reject) => { - const tarStream = tar.extract(folderPath); - tarStream.on('error', reject); - tarStream.on('finish', fulfill); - const readStream = createReadStream(tarPath); - readStream.pipe(bzip()).pipe(tarStream); - }); -} - -/** - * @internal - */ -async function installDMG(dmgPath: string, folderPath: string): Promise { - const {stdout} = await exec( - `hdiutil attach -nobrowse -noautoopen "${dmgPath}"` - ); - - const volumes = stdout.match(/\/Volumes\/(.*)/m); - if (!volumes) { - throw new Error(`Could not find volume path in ${stdout}`); - } - const mountPath = volumes[0]!; - - try { - const fileNames = await readdir(mountPath); - const appName = fileNames.find(item => { - return typeof item === 'string' && item.endsWith('.app'); - }); - if (!appName) { - throw new Error(`Cannot find app in ${mountPath}`); - } - const mountedPath = path.join(mountPath!, appName); - - await exec(`cp -R "${mountedPath}" "${folderPath}"`); - } finally { - await exec(`hdiutil detach "${mountPath}" -quiet`); - } -} diff --git a/node_modules/@puppeteer/browsers/src/httpUtil.ts b/node_modules/@puppeteer/browsers/src/httpUtil.ts deleted file mode 100644 index 96f7fc9..0000000 --- a/node_modules/@puppeteer/browsers/src/httpUtil.ts +++ /dev/null @@ -1,151 +0,0 @@ -/** - * @license - * Copyright 2023 Google Inc. - * SPDX-License-Identifier: Apache-2.0 - */ - -import {createWriteStream} from 'fs'; -import * as http from 'http'; -import * as https from 'https'; -import {URL, urlToHttpOptions} from 'url'; - -import {ProxyAgent} from 'proxy-agent'; - -export function headHttpRequest(url: URL): Promise { - return new Promise(resolve => { - const request = httpRequest( - url, - 'HEAD', - response => { - // consume response data free node process - response.resume(); - resolve(response.statusCode === 200); - }, - false - ); - request.on('error', () => { - resolve(false); - }); - }); -} - -export function httpRequest( - url: URL, - method: string, - response: (x: http.IncomingMessage) => void, - keepAlive = true -): http.ClientRequest { - const options: http.RequestOptions = { - protocol: url.protocol, - hostname: url.hostname, - port: url.port, - path: url.pathname + url.search, - method, - headers: keepAlive ? {Connection: 'keep-alive'} : undefined, - auth: urlToHttpOptions(url).auth, - agent: new ProxyAgent(), - }; - - const requestCallback = (res: http.IncomingMessage): void => { - if ( - res.statusCode && - res.statusCode >= 300 && - res.statusCode < 400 && - res.headers.location - ) { - httpRequest(new URL(res.headers.location), method, response); - } else { - response(res); - } - }; - const request = - options.protocol === 'https:' - ? https.request(options, requestCallback) - : http.request(options, requestCallback); - request.end(); - return request; -} - -/** - * @internal - */ -export function downloadFile( - url: URL, - destinationPath: string, - progressCallback?: (downloadedBytes: number, totalBytes: number) => void -): Promise { - return new Promise((resolve, reject) => { - let downloadedBytes = 0; - let totalBytes = 0; - - function onData(chunk: string): void { - downloadedBytes += chunk.length; - progressCallback!(downloadedBytes, totalBytes); - } - - const request = httpRequest(url, 'GET', response => { - if (response.statusCode !== 200) { - const error = new Error( - `Download failed: server returned code ${response.statusCode}. URL: ${url}` - ); - // consume response data to free up memory - response.resume(); - reject(error); - return; - } - const file = createWriteStream(destinationPath); - file.on('finish', () => { - return resolve(); - }); - file.on('error', error => { - return reject(error); - }); - response.pipe(file); - totalBytes = parseInt(response.headers['content-length']!, 10); - if (progressCallback) { - response.on('data', onData); - } - }); - request.on('error', error => { - return reject(error); - }); - }); -} - -export async function getJSON(url: URL): Promise { - const text = await getText(url); - try { - return JSON.parse(text); - } catch { - throw new Error('Could not parse JSON from ' + url.toString()); - } -} - -export function getText(url: URL): Promise { - return new Promise((resolve, reject) => { - const request = httpRequest( - url, - 'GET', - response => { - let data = ''; - if (response.statusCode && response.statusCode >= 400) { - return reject(new Error(`Got status code ${response.statusCode}`)); - } - response.on('data', chunk => { - data += chunk; - }); - response.on('end', () => { - try { - return resolve(String(data)); - } catch { - return reject(new Error('Chrome version not found')); - } - }); - }, - false - ); - request.on('error', err => { - reject(err); - }); - }); -} diff --git a/node_modules/@puppeteer/browsers/src/install.ts b/node_modules/@puppeteer/browsers/src/install.ts deleted file mode 100644 index e78b2c3..0000000 --- a/node_modules/@puppeteer/browsers/src/install.ts +++ /dev/null @@ -1,353 +0,0 @@ -/** - * @license - * Copyright 2017 Google Inc. - * SPDX-License-Identifier: Apache-2.0 - */ - -import assert from 'assert'; -import {existsSync} from 'fs'; -import {mkdir, unlink} from 'fs/promises'; -import os from 'os'; -import path from 'path'; - -import { - Browser, - BrowserPlatform, - downloadUrls, -} from './browser-data/browser-data.js'; -import {Cache, InstalledBrowser} from './Cache.js'; -import {debug} from './debug.js'; -import {detectBrowserPlatform} from './detectPlatform.js'; -import {unpackArchive} from './fileUtil.js'; -import {downloadFile, getJSON, headHttpRequest} from './httpUtil.js'; - -const debugInstall = debug('puppeteer:browsers:install'); - -const times = new Map(); -function debugTime(label: string) { - times.set(label, process.hrtime()); -} - -function debugTimeEnd(label: string) { - const end = process.hrtime(); - const start = times.get(label); - if (!start) { - return; - } - const duration = - end[0] * 1000 + end[1] / 1e6 - (start[0] * 1000 + start[1] / 1e6); // calculate duration in milliseconds - debugInstall(`Duration for ${label}: ${duration}ms`); -} - -/** - * @public - */ -export interface InstallOptions { - /** - * Determines the path to download browsers to. - */ - cacheDir: string; - /** - * Determines which platform the browser will be suited for. - * - * @defaultValue **Auto-detected.** - */ - platform?: BrowserPlatform; - /** - * Determines which browser to install. - */ - browser: Browser; - /** - * Determines which buildId to download. BuildId should uniquely identify - * binaries and they are used for caching. - */ - buildId: string; - /** - * An alias for the provided `buildId`. It will be used to maintain local - * metadata to support aliases in the `launch` command. - * - * @example 'canary' - */ - buildIdAlias?: string; - /** - * Provides information about the progress of the download. - */ - downloadProgressCallback?: ( - downloadedBytes: number, - totalBytes: number - ) => void; - /** - * Determines the host that will be used for downloading. - * - * @defaultValue Either - * - * - https://storage.googleapis.com/chrome-for-testing-public or - * - https://archive.mozilla.org/pub/firefox/nightly/latest-mozilla-central - * - */ - baseUrl?: string; - /** - * Whether to unpack and install browser archives. - * - * @defaultValue `true` - */ - unpack?: boolean; -} - -/** - * @public - */ -export function install( - options: InstallOptions & {unpack?: true} -): Promise; -/** - * @public - */ -export function install( - options: InstallOptions & {unpack: false} -): Promise; -export async function install( - options: InstallOptions -): Promise { - options.platform ??= detectBrowserPlatform(); - options.unpack ??= true; - if (!options.platform) { - throw new Error( - `Cannot download a binary for the provided platform: ${os.platform()} (${os.arch()})` - ); - } - const url = getDownloadUrl( - options.browser, - options.platform, - options.buildId, - options.baseUrl - ); - try { - return await installUrl(url, options); - } catch (err) { - debugInstall(`Error downloading from ${url}.`); - switch (options.browser) { - case Browser.CHROME: - case Browser.CHROMEDRIVER: - case Browser.CHROMEHEADLESSSHELL: { - debugInstall( - `Trying to find download URL via https://googlechromelabs.github.io/chrome-for-testing.` - ); - interface Version { - downloads: Record>; - } - const version = (await getJSON( - new URL( - `https://googlechromelabs.github.io/chrome-for-testing/${options.buildId}.json` - ) - )) as Version; - let platform = ''; - switch (options.platform) { - case BrowserPlatform.LINUX: - platform = 'linux64'; - break; - case BrowserPlatform.MAC_ARM: - platform = 'mac-arm64'; - break; - case BrowserPlatform.MAC: - platform = 'mac-x64'; - break; - case BrowserPlatform.WIN32: - platform = 'win32'; - break; - case BrowserPlatform.WIN64: - platform = 'win64'; - break; - } - const url = version.downloads[options.browser]?.find(link => { - return link['platform'] === platform; - })?.url; - if (url) { - debugInstall(`Falling back to downloading from ${url}.`); - return await installUrl(new URL(url), options); - } - throw err; - } - default: - throw err; - } - } -} - -async function installUrl( - url: URL, - options: InstallOptions -): Promise { - options.platform ??= detectBrowserPlatform(); - if (!options.platform) { - throw new Error( - `Cannot download a binary for the provided platform: ${os.platform()} (${os.arch()})` - ); - } - const fileName = url.toString().split('/').pop(); - assert(fileName, `A malformed download URL was found: ${url}.`); - const cache = new Cache(options.cacheDir); - const browserRoot = cache.browserRoot(options.browser); - const archivePath = path.join(browserRoot, `${options.buildId}-${fileName}`); - if (!existsSync(browserRoot)) { - await mkdir(browserRoot, {recursive: true}); - } - - if (!options.unpack) { - if (existsSync(archivePath)) { - return archivePath; - } - debugInstall(`Downloading binary from ${url}`); - debugTime('download'); - await downloadFile(url, archivePath, options.downloadProgressCallback); - debugTimeEnd('download'); - return archivePath; - } - - const outputPath = cache.installationDir( - options.browser, - options.platform, - options.buildId - ); - - try { - if (existsSync(outputPath)) { - const installedBrowser = new InstalledBrowser( - cache, - options.browser, - options.buildId, - options.platform - ); - if (!existsSync(installedBrowser.executablePath)) { - throw new Error( - `The browser folder (${outputPath}) exists but the executable (${installedBrowser.executablePath}) is missing` - ); - } - return installedBrowser; - } - debugInstall(`Downloading binary from ${url}`); - try { - debugTime('download'); - await downloadFile(url, archivePath, options.downloadProgressCallback); - } finally { - debugTimeEnd('download'); - } - - debugInstall(`Installing ${archivePath} to ${outputPath}`); - try { - debugTime('extract'); - await unpackArchive(archivePath, outputPath); - } finally { - debugTimeEnd('extract'); - } - const installedBrowser = new InstalledBrowser( - cache, - options.browser, - options.buildId, - options.platform - ); - if (options.buildIdAlias) { - const metadata = installedBrowser.readMetadata(); - metadata.aliases[options.buildIdAlias] = options.buildId; - installedBrowser.writeMetadata(metadata); - } - return installedBrowser; - } finally { - if (existsSync(archivePath)) { - await unlink(archivePath); - } - } -} - -/** - * @public - */ -export interface UninstallOptions { - /** - * Determines the platform for the browser binary. - * - * @defaultValue **Auto-detected.** - */ - platform?: BrowserPlatform; - /** - * The path to the root of the cache directory. - */ - cacheDir: string; - /** - * Determines which browser to uninstall. - */ - browser: Browser; - /** - * The browser build to uninstall - */ - buildId: string; -} - -/** - * - * @public - */ -export async function uninstall(options: UninstallOptions): Promise { - options.platform ??= detectBrowserPlatform(); - if (!options.platform) { - throw new Error( - `Cannot detect the browser platform for: ${os.platform()} (${os.arch()})` - ); - } - - new Cache(options.cacheDir).uninstall( - options.browser, - options.platform, - options.buildId - ); -} - -/** - * @public - */ -export interface GetInstalledBrowsersOptions { - /** - * The path to the root of the cache directory. - */ - cacheDir: string; -} - -/** - * Returns metadata about browsers installed in the cache directory. - * - * @public - */ -export async function getInstalledBrowsers( - options: GetInstalledBrowsersOptions -): Promise { - return new Cache(options.cacheDir).getInstalledBrowsers(); -} - -/** - * @public - */ -export async function canDownload(options: InstallOptions): Promise { - options.platform ??= detectBrowserPlatform(); - if (!options.platform) { - throw new Error( - `Cannot download a binary for the provided platform: ${os.platform()} (${os.arch()})` - ); - } - return await headHttpRequest( - getDownloadUrl( - options.browser, - options.platform, - options.buildId, - options.baseUrl - ) - ); -} - -function getDownloadUrl( - browser: Browser, - platform: BrowserPlatform, - buildId: string, - baseUrl?: string -): URL { - return new URL(downloadUrls[browser](platform, buildId, baseUrl)); -} diff --git a/node_modules/@puppeteer/browsers/src/launch.ts b/node_modules/@puppeteer/browsers/src/launch.ts deleted file mode 100644 index dfb0fbf..0000000 --- a/node_modules/@puppeteer/browsers/src/launch.ts +++ /dev/null @@ -1,479 +0,0 @@ -/** - * @license - * Copyright 2023 Google Inc. - * SPDX-License-Identifier: Apache-2.0 - */ - -import childProcess from 'child_process'; -import {accessSync} from 'fs'; -import os from 'os'; -import readline from 'readline'; - -import { - type Browser, - type BrowserPlatform, - resolveSystemExecutablePath, - type ChromeReleaseChannel, -} from './browser-data/browser-data.js'; -import {Cache} from './Cache.js'; -import {debug} from './debug.js'; -import {detectBrowserPlatform} from './detectPlatform.js'; - -const debugLaunch = debug('puppeteer:browsers:launcher'); - -/** - * @public - */ -export interface ComputeExecutablePathOptions { - /** - * Root path to the storage directory. - */ - cacheDir: string; - /** - * Determines which platform the browser will be suited for. - * - * @defaultValue **Auto-detected.** - */ - platform?: BrowserPlatform; - /** - * Determines which browser to launch. - */ - browser: Browser; - /** - * Determines which buildId to download. BuildId should uniquely identify - * binaries and they are used for caching. - */ - buildId: string; -} - -/** - * @public - */ -export function computeExecutablePath( - options: ComputeExecutablePathOptions -): string { - return new Cache(options.cacheDir).computeExecutablePath(options); -} - -/** - * @public - */ -export interface SystemOptions { - /** - * Determines which platform the browser will be suited for. - * - * @defaultValue **Auto-detected.** - */ - platform?: BrowserPlatform; - /** - * Determines which browser to launch. - */ - browser: Browser; - /** - * Release channel to look for on the system. - */ - channel: ChromeReleaseChannel; -} - -/** - * @public - */ -export function computeSystemExecutablePath(options: SystemOptions): string { - options.platform ??= detectBrowserPlatform(); - if (!options.platform) { - throw new Error( - `Cannot download a binary for the provided platform: ${os.platform()} (${os.arch()})` - ); - } - const path = resolveSystemExecutablePath( - options.browser, - options.platform, - options.channel - ); - try { - accessSync(path); - } catch (error) { - throw new Error( - `Could not find Google Chrome executable for channel '${options.channel}' at '${path}'.` - ); - } - return path; -} - -/** - * @public - */ -export interface LaunchOptions { - executablePath: string; - pipe?: boolean; - dumpio?: boolean; - args?: string[]; - env?: Record; - handleSIGINT?: boolean; - handleSIGTERM?: boolean; - handleSIGHUP?: boolean; - detached?: boolean; - onExit?: () => Promise; -} - -/** - * @public - */ -export function launch(opts: LaunchOptions): Process { - return new Process(opts); -} - -/** - * @public - */ -export const CDP_WEBSOCKET_ENDPOINT_REGEX = - /^DevTools listening on (ws:\/\/.*)$/; - -/** - * @public - */ -export const WEBDRIVER_BIDI_WEBSOCKET_ENDPOINT_REGEX = - /^WebDriver BiDi listening on (ws:\/\/.*)$/; - -/** - * @public - */ -export class Process { - #executablePath; - #args: string[]; - #browserProcess: childProcess.ChildProcess; - #exited = false; - // The browser process can be closed externally or from the driver process. We - // need to invoke the hooks only once though but we don't know how many times - // we will be invoked. - #hooksRan = false; - #onExitHook = async () => {}; - #browserProcessExiting: Promise; - - constructor(opts: LaunchOptions) { - this.#executablePath = opts.executablePath; - this.#args = opts.args ?? []; - - opts.pipe ??= false; - opts.dumpio ??= false; - opts.handleSIGINT ??= true; - opts.handleSIGTERM ??= true; - opts.handleSIGHUP ??= true; - // On non-windows platforms, `detached: true` makes child process a - // leader of a new process group, making it possible to kill child - // process tree with `.kill(-pid)` command. @see - // https://nodejs.org/api/child_process.html#child_process_options_detached - opts.detached ??= process.platform !== 'win32'; - - const stdio = this.#configureStdio({ - pipe: opts.pipe, - dumpio: opts.dumpio, - }); - - const env = opts.env || {}; - - debugLaunch(`Launching ${this.#executablePath} ${this.#args.join(' ')}`, { - detached: opts.detached, - env: Object.keys(env).reduce>( - (res, key) => { - if (key.toLowerCase().startsWith('puppeteer_')) { - res[key] = env[key]; - } - return res; - }, - {} - ), - stdio, - }); - - this.#browserProcess = childProcess.spawn( - this.#executablePath, - this.#args, - { - detached: opts.detached, - env, - stdio, - } - ); - - debugLaunch(`Launched ${this.#browserProcess.pid}`); - if (opts.dumpio) { - this.#browserProcess.stderr?.pipe(process.stderr); - this.#browserProcess.stdout?.pipe(process.stdout); - } - process.on('exit', this.#onDriverProcessExit); - if (opts.handleSIGINT) { - process.on('SIGINT', this.#onDriverProcessSignal); - } - if (opts.handleSIGTERM) { - process.on('SIGTERM', this.#onDriverProcessSignal); - } - if (opts.handleSIGHUP) { - process.on('SIGHUP', this.#onDriverProcessSignal); - } - if (opts.onExit) { - this.#onExitHook = opts.onExit; - } - this.#browserProcessExiting = new Promise((resolve, reject) => { - this.#browserProcess.once('exit', async () => { - debugLaunch(`Browser process ${this.#browserProcess.pid} onExit`); - this.#clearListeners(); - this.#exited = true; - try { - await this.#runHooks(); - } catch (err) { - reject(err); - return; - } - resolve(); - }); - }); - } - - async #runHooks() { - if (this.#hooksRan) { - return; - } - this.#hooksRan = true; - await this.#onExitHook(); - } - - get nodeProcess(): childProcess.ChildProcess { - return this.#browserProcess; - } - - #configureStdio(opts: { - pipe: boolean; - dumpio: boolean; - }): Array<'ignore' | 'pipe'> { - if (opts.pipe) { - if (opts.dumpio) { - return ['ignore', 'pipe', 'pipe', 'pipe', 'pipe']; - } else { - return ['ignore', 'ignore', 'ignore', 'pipe', 'pipe']; - } - } else { - if (opts.dumpio) { - return ['pipe', 'pipe', 'pipe']; - } else { - return ['pipe', 'ignore', 'pipe']; - } - } - } - - #clearListeners(): void { - process.off('exit', this.#onDriverProcessExit); - process.off('SIGINT', this.#onDriverProcessSignal); - process.off('SIGTERM', this.#onDriverProcessSignal); - process.off('SIGHUP', this.#onDriverProcessSignal); - } - - #onDriverProcessExit = (_code: number) => { - this.kill(); - }; - - #onDriverProcessSignal = (signal: string): void => { - switch (signal) { - case 'SIGINT': - this.kill(); - process.exit(130); - case 'SIGTERM': - case 'SIGHUP': - void this.close(); - break; - } - }; - - async close(): Promise { - await this.#runHooks(); - if (!this.#exited) { - this.kill(); - } - return await this.#browserProcessExiting; - } - - hasClosed(): Promise { - return this.#browserProcessExiting; - } - - kill(): void { - debugLaunch(`Trying to kill ${this.#browserProcess.pid}`); - // If the process failed to launch (for example if the browser executable path - // is invalid), then the process does not get a pid assigned. A call to - // `proc.kill` would error, as the `pid` to-be-killed can not be found. - if ( - this.#browserProcess && - this.#browserProcess.pid && - pidExists(this.#browserProcess.pid) - ) { - try { - debugLaunch(`Browser process ${this.#browserProcess.pid} exists`); - if (process.platform === 'win32') { - try { - childProcess.execSync( - `taskkill /pid ${this.#browserProcess.pid} /T /F` - ); - } catch (error) { - debugLaunch( - `Killing ${this.#browserProcess.pid} using taskkill failed`, - error - ); - // taskkill can fail to kill the process e.g. due to missing permissions. - // Let's kill the process via Node API. This delays killing of all child - // processes of `this.proc` until the main Node.js process dies. - this.#browserProcess.kill(); - } - } else { - // on linux the process group can be killed with the group id prefixed with - // a minus sign. The process group id is the group leader's pid. - const processGroupId = -this.#browserProcess.pid; - - try { - process.kill(processGroupId, 'SIGKILL'); - } catch (error) { - debugLaunch( - `Killing ${this.#browserProcess.pid} using process.kill failed`, - error - ); - // Killing the process group can fail due e.g. to missing permissions. - // Let's kill the process via Node API. This delays killing of all child - // processes of `this.proc` until the main Node.js process dies. - this.#browserProcess.kill('SIGKILL'); - } - } - } catch (error) { - throw new Error( - `${PROCESS_ERROR_EXPLANATION}\nError cause: ${ - isErrorLike(error) ? error.stack : error - }` - ); - } - } - this.#clearListeners(); - } - - waitForLineOutput(regex: RegExp, timeout = 0): Promise { - if (!this.#browserProcess.stderr) { - throw new Error('`browserProcess` does not have stderr.'); - } - const rl = readline.createInterface(this.#browserProcess.stderr); - let stderr = ''; - - return new Promise((resolve, reject) => { - rl.on('line', onLine); - rl.on('close', onClose); - this.#browserProcess.on('exit', onClose); - this.#browserProcess.on('error', onClose); - const timeoutId = - timeout > 0 ? setTimeout(onTimeout, timeout) : undefined; - - const cleanup = (): void => { - if (timeoutId) { - clearTimeout(timeoutId); - } - rl.off('line', onLine); - rl.off('close', onClose); - this.#browserProcess.off('exit', onClose); - this.#browserProcess.off('error', onClose); - }; - - function onClose(error?: Error): void { - cleanup(); - reject( - new Error( - [ - `Failed to launch the browser process!${ - error ? ' ' + error.message : '' - }`, - stderr, - '', - 'TROUBLESHOOTING: https://pptr.dev/troubleshooting', - '', - ].join('\n') - ) - ); - } - - function onTimeout(): void { - cleanup(); - reject( - new TimeoutError( - `Timed out after ${timeout} ms while waiting for the WS endpoint URL to appear in stdout!` - ) - ); - } - - function onLine(line: string): void { - stderr += line + '\n'; - const match = line.match(regex); - if (!match) { - return; - } - cleanup(); - // The RegExp matches, so this will obviously exist. - resolve(match[1]!); - } - }); - } -} - -const PROCESS_ERROR_EXPLANATION = `Puppeteer was unable to kill the process which ran the browser binary. -This means that, on future Puppeteer launches, Puppeteer might not be able to launch the browser. -Please check your open processes and ensure that the browser processes that Puppeteer launched have been killed. -If you think this is a bug, please report it on the Puppeteer issue tracker.`; - -/** - * @internal - */ -function pidExists(pid: number): boolean { - try { - return process.kill(pid, 0); - } catch (error) { - if (isErrnoException(error)) { - if (error.code && error.code === 'ESRCH') { - return false; - } - } - throw error; - } -} - -/** - * @internal - */ -export interface ErrorLike extends Error { - name: string; - message: string; -} - -/** - * @internal - */ -export function isErrorLike(obj: unknown): obj is ErrorLike { - return ( - typeof obj === 'object' && obj !== null && 'name' in obj && 'message' in obj - ); -} -/** - * @internal - */ -export function isErrnoException(obj: unknown): obj is NodeJS.ErrnoException { - return ( - isErrorLike(obj) && - ('errno' in obj || 'code' in obj || 'path' in obj || 'syscall' in obj) - ); -} - -/** - * @public - */ -export class TimeoutError extends Error { - /** - * @internal - */ - constructor(message?: string) { - super(message); - this.name = this.constructor.name; - Error.captureStackTrace(this, this.constructor); - } -} diff --git a/node_modules/@puppeteer/browsers/src/main-cli.ts b/node_modules/@puppeteer/browsers/src/main-cli.ts deleted file mode 100644 index 9919a4d..0000000 --- a/node_modules/@puppeteer/browsers/src/main-cli.ts +++ /dev/null @@ -1,11 +0,0 @@ -#!/usr/bin/env node - -/** - * @license - * Copyright 2023 Google Inc. - * SPDX-License-Identifier: Apache-2.0 - */ - -import {CLI} from './CLI.js'; - -void new CLI().run(process.argv); diff --git a/node_modules/@puppeteer/browsers/src/main.ts b/node_modules/@puppeteer/browsers/src/main.ts deleted file mode 100644 index c03c0c0..0000000 --- a/node_modules/@puppeteer/browsers/src/main.ts +++ /dev/null @@ -1,43 +0,0 @@ -/** - * @license - * Copyright 2023 Google Inc. - * SPDX-License-Identifier: Apache-2.0 - */ - -export type { - LaunchOptions, - ComputeExecutablePathOptions as Options, - SystemOptions, -} from './launch.js'; -export { - launch, - computeExecutablePath, - computeSystemExecutablePath, - TimeoutError, - CDP_WEBSOCKET_ENDPOINT_REGEX, - WEBDRIVER_BIDI_WEBSOCKET_ENDPOINT_REGEX, - Process, -} from './launch.js'; -export type { - InstallOptions, - GetInstalledBrowsersOptions, - UninstallOptions, -} from './install.js'; -export { - install, - getInstalledBrowsers, - canDownload, - uninstall, -} from './install.js'; -export {detectBrowserPlatform} from './detectPlatform.js'; -export type {ProfileOptions} from './browser-data/browser-data.js'; -export { - resolveBuildId, - Browser, - BrowserPlatform, - ChromeReleaseChannel, - createProfile, - getVersionComparator, -} from './browser-data/browser-data.js'; -export {CLI, makeProgressCallback} from './CLI.js'; -export {Cache, InstalledBrowser} from './Cache.js'; diff --git a/node_modules/@puppeteer/browsers/src/tsconfig.cjs.json b/node_modules/@puppeteer/browsers/src/tsconfig.cjs.json deleted file mode 100644 index acb1968..0000000 --- a/node_modules/@puppeteer/browsers/src/tsconfig.cjs.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "extends": "../../../tsconfig.base.json", - "compilerOptions": { - "module": "NodeNext", - "moduleResolution": "NodeNext", - "outDir": "../lib/cjs" - } -} diff --git a/node_modules/@puppeteer/browsers/src/tsconfig.esm.json b/node_modules/@puppeteer/browsers/src/tsconfig.esm.json deleted file mode 100644 index a824bc8..0000000 --- a/node_modules/@puppeteer/browsers/src/tsconfig.esm.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "../../../tsconfig.base.json", - "compilerOptions": { - "outDir": "../lib/esm" - } -} diff --git a/node_modules/@tootallnate/quickjs-emscripten/LICENSE b/node_modules/@tootallnate/quickjs-emscripten/LICENSE deleted file mode 100644 index 07499f6..0000000 --- a/node_modules/@tootallnate/quickjs-emscripten/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -MIT License - -quickjs-emscripten copyright (c) 2019 Jake Teton-Landis - -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. diff --git a/node_modules/@tootallnate/quickjs-emscripten/README.md b/node_modules/@tootallnate/quickjs-emscripten/README.md deleted file mode 100644 index 70658a5..0000000 --- a/node_modules/@tootallnate/quickjs-emscripten/README.md +++ /dev/null @@ -1,597 +0,0 @@ -# quickjs-emscripten - -Javascript/Typescript bindings for QuickJS, a modern Javascript interpreter, -compiled to WebAssembly. - -- Safely evaluate untrusted Javascript (up to ES2020). -- Create and manipulate values inside the QuickJS runtime ([more][values]). -- Expose host functions to the QuickJS runtime ([more][functions]). -- Execute synchronous code that uses asynchronous functions, with [asyncify][asyncify]. - -[Github] | [NPM] | [API Documentation][api] | [Examples][tests] - -```typescript -import { getQuickJS } from "quickjs-emscripten" - -async function main() { - const QuickJS = await getQuickJS() - const vm = QuickJS.newContext() - - const world = vm.newString("world") - vm.setProp(vm.global, "NAME", world) - world.dispose() - - const result = vm.evalCode(`"Hello " + NAME + "!"`) - if (result.error) { - console.log("Execution failed:", vm.dump(result.error)) - result.error.dispose() - } else { - console.log("Success:", vm.dump(result.value)) - result.value.dispose() - } - - vm.dispose() -} - -main() -``` - -[github]: https://github.com/justjake/quickjs-emscripten -[npm]: https://www.npmjs.com/package/quickjs-emscripten -[api]: https://github.com/justjake/quickjs-emscripten/blob/main/doc/modules.md -[tests]: https://github.com/justjake/quickjs-emscripten/blob/main/ts/quickjs.test.ts -[values]: #interfacing-with-the-interpreter -[asyncify]: #asyncify -[functions]: #exposing-apis - -## Usage - -Install from `npm`: `npm install --save quickjs-emscripten` or `yarn add quickjs-emscripten`. - -The root entrypoint of this library is the `getQuickJS` function, which returns -a promise that resolves to a [QuickJS singleton](./doc/classes/quickjs.md) when -the QuickJS WASM module is ready. - -Once `getQuickJS` has been awaited at least once, you also can use the `getQuickJSSync` -function to directly access the singleton engine in your synchronous code. - -### Safely evaluate Javascript code - -See [QuickJS.evalCode](https://github.com/justjake/quickjs-emscripten/blob/main/doc/classes/quickjs.md#evalcode) - -```typescript -import { getQuickJS, shouldInterruptAfterDeadline } from "quickjs-emscripten" - -getQuickJS().then((QuickJS) => { - const result = QuickJS.evalCode("1 + 1", { - shouldInterrupt: shouldInterruptAfterDeadline(Date.now() + 1000), - memoryLimitBytes: 1024 * 1024, - }) - console.log(result) -}) -``` - -### Interfacing with the interpreter - -You can use [QuickJSContext](https://github.com/justjake/quickjs-emscripten/blob/main/doc/classes/QuickJSContext.md) -to build a scripting environment by modifying globals and exposing functions -into the QuickJS interpreter. - -Each `QuickJSContext` instance has its own environment -- globals, built-in -classes -- and actions from one context won't leak into other contexts or -runtimes (with one exception, see [Asyncify][asyncify]). - -Every context is created inside a -[QuickJSRuntime](https://github.com/justjake/quickjs-emscripten/blob/main/doc/classes/QuickJSRuntime.md). -A runtime represents a Javascript heap, and you can even share values between -contexts in the same runtime. - -```typescript -const vm = QuickJS.newContext() -let state = 0 - -const fnHandle = vm.newFunction("nextId", () => { - return vm.newNumber(++state) -}) - -vm.setProp(vm.global, "nextId", fnHandle) -fnHandle.dispose() - -const nextId = vm.unwrapResult(vm.evalCode(`nextId(); nextId(); nextId()`)) -console.log("vm result:", vm.getNumber(nextId), "native state:", state) - -nextId.dispose() -vm.dispose() -``` - -When you create a context from a top-level API like in the example above, -instead of by calling `runtime.newContext()`, a runtime is automatically created -for the lifetime of the context, and disposed of when you dispose the context. - -#### Runtime - -The runtime has APIs for CPU and memory limits that apply to all contexts within -the runtime in aggregate. You can also use the runtime to configure EcmaScript -module loading. - -```typescript -const runtime = QuickJS.newRuntime() -// "Should be enough for everyone" -- attributed to B. Gates -runtime.setMemoryLimit(1024 * 640) -// Limit stack size -runtime.setMaxStackSize(1024 * 320) -// Interrupt computation after 1024 calls to the interrupt handler -let interruptCycles = 0 -runtime.setInterruptHandler(() => ++interruptCycles > 1024) -// Toy module system that always returns the module name -// as the default export -runtime.setModuleLoader((moduleName) => `export default '${moduleName}'`) -const context = runtime.newContext() -const ok = context.evalCode(` -import fooName from './foo.js' -globalThis.result = fooName -`) -context.unwrapResult(ok).dispose() -// logs "foo.js" -console.log(context.getProp(context.global, "result").consume(context.dump)) -context.dispose() -runtime.dispose() -``` - -### Memory Management - -Many methods in this library return handles to memory allocated inside the -WebAssembly heap. These types cannot be garbage-collected as usual in -Javascript. Instead, you must manually manage their memory by calling a -`.dispose()` method to free the underlying resources. Once a handle has been -disposed, it cannot be used anymore. Note that in the example above, we call -`.dispose()` on each handle once it is no longer needed. - -Calling `QuickJSContext.dispose()` will throw a RuntimeError if you've forgotten to -dispose any handles associated with that VM, so it's good practice to create a -new VM instance for each of your tests, and to call `vm.dispose()` at the end -of every test. - -```typescript -const vm = QuickJS.newContext() -const numberHandle = vm.newNumber(42) -// Note: numberHandle not disposed, so it leaks memory. -vm.dispose() -// throws RuntimeError: abort(Assertion failed: list_empty(&rt->gc_obj_list), at: quickjs/quickjs.c,1963,JS_FreeRuntime) -``` - -Here are some strategies to reduce the toil of calling `.dispose()` on each -handle you create: - -#### Scope - -A -[`Scope`](https://github.com/justjake/quickjs-emscripten/blob/main/doc/classes/scope.md#class-scope) -instance manages a set of disposables and calls their `.dispose()` -method in the reverse order in which they're added to the scope. Here's the -"Interfacing with the interpreter" example re-written using `Scope`: - -```typescript -Scope.withScope((scope) => { - const vm = scope.manage(QuickJS.newContext()) - let state = 0 - - const fnHandle = scope.manage( - vm.newFunction("nextId", () => { - return vm.newNumber(++state) - }) - ) - - vm.setProp(vm.global, "nextId", fnHandle) - - const nextId = scope.manage(vm.unwrapResult(vm.evalCode(`nextId(); nextId(); nextId()`))) - console.log("vm result:", vm.getNumber(nextId), "native state:", state) - - // When the withScope block exits, it calls scope.dispose(), which in turn calls - // the .dispose() methods of all the disposables managed by the scope. -}) -``` - -You can also create `Scope` instances with `new Scope()` if you want to manage -calling `scope.dispose()` yourself. - -#### `Lifetime.consume(fn)` - -[`Lifetime.consume`](https://github.com/justjake/quickjs-emscripten/blob/main/doc/classes/lifetime.md#consume) -is sugar for the common pattern of using a handle and then -immediately disposing of it. `Lifetime.consume` takes a `map` function that -produces a result of any type. The `map` fuction is called with the handle, -then the handle is disposed, then the result is returned. - -Here's the "Interfacing with interpreter" example re-written using `.consume()`: - -```typescript -const vm = QuickJS.newContext() -let state = 0 - -vm.newFunction("nextId", () => { - return vm.newNumber(++state) -}).consume((fnHandle) => vm.setProp(vm.global, "nextId", fnHandle)) - -vm.unwrapResult(vm.evalCode(`nextId(); nextId(); nextId()`)).consume((nextId) => - console.log("vm result:", vm.getNumber(nextId), "native state:", state) -) - -vm.dispose() -``` - -Generally working with `Scope` leads to more straight-forward code, but -`Lifetime.consume` can be handy sugar as part of a method call chain. - -### Exposing APIs - -To add APIs inside the QuickJS environment, you'll need to create objects to -define the shape of your API, and add properties and functions to those objects -to allow code inside QuickJS to call code on the host. - -By default, no host functionality is exposed to code running inside QuickJS. - -```typescript -const vm = QuickJS.newContext() -// `console.log` -const logHandle = vm.newFunction("log", (...args) => { - const nativeArgs = args.map(vm.dump) - console.log("QuickJS:", ...nativeArgs) -}) -// Partially implement `console` object -const consoleHandle = vm.newObject() -vm.setProp(consoleHandle, "log", logHandle) -vm.setProp(vm.global, "console", consoleHandle) -consoleHandle.dispose() -logHandle.dispose() - -vm.unwrapResult(vm.evalCode(`console.log("Hello from QuickJS!")`)).dispose() -``` - -#### Promises - -To expose an asynchronous function that _returns a promise_ to callers within -QuickJS, your function can return the handle of a `QuickJSDeferredPromise` -created via `context.newPromise()`. - -When you resolve a `QuickJSDeferredPromise` -- and generally whenever async -behavior completes for the VM -- pending listeners inside QuickJS may not -execute immediately. Your code needs to explicitly call -`runtime.executePendingJobs()` to resume execution inside QuickJS. This API -gives your code maximum control to _schedule_ when QuickJS will block the host's -event loop by resuming execution. - -To work with QuickJS handles that contain a promise inside the environment, you -can convert the QuickJSHandle into a native promise using -`context.resolvePromise()`. Take care with this API to avoid 'deadlocks' where -the host awaits a guest promise, but the guest cannot make progress until the -host calls `runtime.executePendingJobs()`. The simplest way to avoid this kind -of deadlock is to always schedule `executePendingJobs` after any promise is -settled. - -```typescript -const vm = QuickJS.newContext() -const fakeFileSystem = new Map([["example.txt", "Example file content"]]) - -// Function that simulates reading data asynchronously -const readFileHandle = vm.newFunction("readFile", (pathHandle) => { - const path = vm.getString(pathHandle) - const promise = vm.newPromise() - setTimeout(() => { - const content = fakeFileSystem.get(path) - promise.resolve(vm.newString(content || "")) - }, 100) - // IMPORTANT: Once you resolve an async action inside QuickJS, - // call runtime.executePendingJobs() to run any code that was - // waiting on the promise or callback. - promise.settled.then(vm.runtime.executePendingJobs) - return promise.handle -}) -readFileHandle.consume((handle) => vm.setProp(vm.global, "readFile", handle)) - -// Evaluate code that uses `readFile`, which returns a promise -const result = vm.evalCode(`(async () => { - const content = await readFile('example.txt') - return content.toUpperCase() -})()`) -const promiseHandle = vm.unwrapResult(result) - -// Convert the promise handle into a native promise and await it. -// If code like this deadlocks, make sure you are calling -// runtime.executePendingJobs appropriately. -const resolvedResult = await vm.resolvePromise(promiseHandle) -promiseHandle.dispose() -const resolvedHandle = vm.unwrapResult(resolvedResult) -console.log("Result:", vm.getString(resolvedHandle)) -resolvedHandle.dispose() -``` - -#### Asyncify - -Sometimes, we want to create a function that's synchronous from the perspective -of QuickJS, but prefer to implement that function _asynchronously_ in your host -code. The most obvious use-case is for EcmaScript module loading. The underlying -QuickJS C library expects the module loader function to return synchronously, -but loading data synchronously in the browser or server is somewhere between "a -bad idea" and "impossible". QuickJS also doesn't expose an API to "pause" the -execution of a runtime, and adding such an API is tricky due to the VM's -implementation. - -As a work-around, we provide an alternate build of QuickJS processed by -Emscripten/Binaryen's [ASYNCIFY](https://emscripten.org/docs/porting/asyncify.html) -compiler transform. Here's how Emscripten's documentation describes Asyncify: - -> Asyncify lets synchronous C or C++ code interact with asynchronous \[host] JavaScript. This allows things like: -> -> - A synchronous call in C that yields to the event loop, which allows browser events to be handled. -> -> - A synchronous call in C that waits for an asynchronous operation in \[host] JS to complete. -> -> Asyncify automatically transforms ... code into a form that can be paused and -> resumed ..., so that it is asynchronous (hence the name “Asyncify”) even though -> \[it is written] in a normal synchronous way. - -This means we can suspend an _entire WebAssembly module_ (which could contain -multiple runtimes and contexts) while our host Javascript loads data -asynchronously, and then resume execution once the data load completes. This is -a very handy superpower, but it comes with a couple of major limitations: - -1. _An asyncified WebAssembly module can only suspend to wait for a single - asynchronous call at a time_. You may call back into a suspended WebAssembly - module eg. to create a QuickJS value to return a result, but the system will - crash if this call tries to suspend again. Take a look at Emscripten's documentation - on [reentrancy](https://emscripten.org/docs/porting/asyncify.html#reentrancy). - -2. _Asyncified code is bigger and runs slower_. The asyncified build of - Quickjs-emscripten library is 1M, 2x larger than the 500K of the default - version. There may be room for further - [optimization](https://emscripten.org/docs/porting/asyncify.html#optimizing) - Of our build in the future. - -To use asyncify features, use the following functions: - -- [newAsyncRuntime][]: create a runtime inside a new WebAssembly module. -- [newAsyncContext][]: create runtime and context together inside a new - WebAssembly module. -- [newQuickJSAsyncWASMModule][]: create an empty WebAssembly module. - -[newasyncruntime]: https://github.com/justjake/quickjs-emscripten/blob/main/doc/modules.md#newasyncruntime -[newasynccontext]: https://github.com/justjake/quickjs-emscripten/blob/main/doc/modules.md#newasynccontext -[newquickjsasyncwasmmodule]: https://github.com/justjake/quickjs-emscripten/blob/main/doc/modules.md#newquickjsasyncwasmmodule - -These functions are asynchronous because they always create a new underlying -WebAssembly module so that each instance can suspend and resume independently, -and instantiating a WebAssembly module is an async operation. This also adds -substantial overhead compared to creating a runtime or context inside an -existing module; if you only need to wait for a single async action at a time, -you can create a single top-level module and create runtimes or contexts inside -of it. - -##### Async module loader - -Here's an example of valuating a script that loads React asynchronously as an ES -module. In our example, we're loading from the filesystem for reproducibility, -but you can use this technique to load using `fetch`. - -```typescript -const module = await newQuickJSAsyncWASMModule() -const runtime = module.newRuntime() -const path = await import("path") -const { promises: fs } = await import("fs") - -const importsPath = path.join(__dirname, "../examples/imports") + "/" -// Module loaders can return promises. -// Execution will suspend until the promise resolves. -runtime.setModuleLoader((moduleName) => { - const modulePath = path.join(importsPath, moduleName) - if (!modulePath.startsWith(importsPath)) { - throw new Error("out of bounds") - } - console.log("loading", moduleName, "from", modulePath) - return fs.readFile(modulePath, "utf-8") -}) - -// evalCodeAsync is required when execution may suspend. -const context = runtime.newContext() -const result = await context.evalCodeAsync(` -import * as React from 'esm.sh/react@17' -import * as ReactDOMServer from 'esm.sh/react-dom@17/server' -const e = React.createElement -globalThis.html = ReactDOMServer.renderToStaticMarkup( - e('div', null, e('strong', null, 'Hello world!')) -) -`) -context.unwrapResult(result).dispose() -const html = context.getProp(context.global, "html").consume(context.getString) -console.log(html) //
Hello world!
-``` - -##### Async on host, sync in QuickJS - -Here's an example of turning an async function into a sync function inside the -VM. - -```typescript -const context = await newAsyncContext() -const path = await import("path") -const { promises: fs } = await import("fs") - -const importsPath = path.join(__dirname, "../examples/imports") + "/" -const readFileHandle = context.newAsyncifiedFunction("readFile", async (pathHandle) => { - const pathString = path.join(importsPath, context.getString(pathHandle)) - if (!pathString.startsWith(importsPath)) { - throw new Error("out of bounds") - } - const data = await fs.readFile(pathString, "utf-8") - return context.newString(data) -}) -readFileHandle.consume((fn) => context.setProp(context.global, "readFile", fn)) - -// evalCodeAsync is required when execution may suspend. -const result = await context.evalCodeAsync(` -// Not a promise! Sync! vvvvvvvvvvvvvvvvvvvv -const data = JSON.parse(readFile('data.json')) -data.map(x => x.toUpperCase()).join(' ') -`) -const upperCaseData = context.unwrapResult(result).consume(context.getString) -console.log(upperCaseData) // 'VERY USEFUL DATA' -``` - -### Testing your code - -This library is complicated to use, so please consider automated testing your -implementation. We highly writing your test suite to run with both the "release" -build variant of quickjs-emscripten, and also the [DEBUG_SYNC] build variant. -The debug sync build variant has extra instrumentation code for detecting memory -leaks. - -The class [TestQuickJSWASMModule] exposes the memory leak detection API, although -this API is only accurate when using `DEBUG_SYNC` variant. - -```typescript -// Define your test suite in a function, so that you can test against -// different module loaders. -function myTests(moduleLoader: () => Promise) { - let QuickJS: TestQuickJSWASMModule - beforeEach(async () => { - // Get a unique TestQuickJSWASMModule instance for each test. - const wasmModule = await moduleLoader() - QuickJS = new TestQuickJSWASMModule(wasmModule) - }) - afterEach(() => { - // Assert that the test disposed all handles. The DEBUG_SYNC build - // variant will show detailed traces for each leak. - QuickJS.assertNoMemoryAllocated() - }) - - it("works well", () => { - // TODO: write a test using QuickJS - const context = QuickJS.newContext() - context.unwrapResult(context.evalCode("1 + 1")).dispose() - context.dispose() - }) -} - -// Run the test suite against a matrix of module loaders. -describe("Check for memory leaks with QuickJS DEBUG build", () => { - const moduleLoader = memoizePromiseFactory(() => newQuickJSWASMModule(DEBUG_SYNC)) - myTests(moduleLoader) -}) - -describe("Realistic test with QuickJS RELEASE build", () => { - myTests(getQuickJS) -}) -``` - -For more testing examples, please explore the typescript source of [quickjs-emscripten][ts] repository. - -[ts]: https://github.com/justjake/quickjs-emscripten/blob/main/ts -[debug_sync]: https://github.com/justjake/quickjs-emscripten/blob/main/doc/modules.md#debug_sync -[testquickjswasmmodule]: https://github.com/justjake/quickjs-emscripten/blob/main/doc/classes/TestQuickJSWASMModule.md - -### Debugging - -- Switch to a DEBUG build variant of the WebAssembly module to see debug log messages from the C part of this library. -- Set `process.env.QTS_DEBUG` to see debug log messages from the Javascript part of this library. - -### More Documentation - -[Github] | [NPM] | [API Documentation][api] | [Examples][tests] - -## Background - -This was inspired by seeing https://github.com/maple3142/duktape-eval -[on Hacker News](https://news.ycombinator.com/item?id=21946565) and Figma's -blogposts about using building a Javascript plugin runtime: - -- [How Figma built the Figma plugin system](https://www.figma.com/blog/how-we-built-the-figma-plugin-system/): Describes the LowLevelJavascriptVm interface. -- [An update on plugin security](https://www.figma.com/blog/an-update-on-plugin-security/): Figma switches to QuickJS. - -## Status & Roadmap - -**Stability**: Because the version number of this project is below `1.0.0`, -\*expect occasional breaking API changes. - -**Security**: This project makes every effort to be secure, but has not been -audited. Please use with care in production settings. - -**Roadmap**: I work on this project in my free time, for fun. Here's I'm -thinking comes next. Last updated 2022-03-18. - -1. Further work on module loading APIs: - - - Create modules via Javascript, instead of source text. - - Scan source text for imports, for ahead of time or concurrent loading. - (This is possible with third-party tools, so lower priority.) - -2. Higher-level tools for reading QuickJS values: - - - Type guard functions: `context.isArray(handle)`, `context.isPromise(handle)`, etc. - - Iteration utilities: `context.getIterable(handle)`, `context.iterateObjectEntries(handle)`. - This better supports user-level code to deserialize complex handle objects. - -3. Higher-level tools for creating QuickJS values: - - - Devise a way to avoid needing to mess around with handles when setting up - the environment. - - Consider integrating - [quickjs-emscripten-sync](https://github.com/reearth/quickjs-emscripten-sync) - for automatic translation. - - Consider class-based or interface-type-based marshalling. - -4. EcmaScript Modules / WebAssembly files / Deno support. This requires me to - learn a lot of new things, but should be interesting for modern browser usage. - -5. SQLite integration. - -## Related - -- Duktape wrapped in Wasm: https://github.com/maple3142/duktape-eval/blob/main/src/Makefile -- QuickJS wrapped in C++: https://github.com/ftk/quickjspp - -## Developing - -This library is implemented in two languages: C (compiled to WASM with -Emscripten), and Typescript. - -### The C parts - -The ./c directory contains C code that wraps the QuickJS C library (in ./quickjs). -Public functions (those starting with `QTS_`) in ./c/interface.c are -automatically exported to native code (via a generated header) and to -Typescript (via a generated FFI class). See ./generate.ts for how this works. - -The C code builds as both with `emscripten` (using `emcc`), to produce WASM (or -ASM.js) and with `clang`. Build outputs are checked in, so you can iterate on -the Javascript parts of the library without setting up the Emscripten toolchain. - -Intermediate object files from QuickJS end up in ./build/quickjs/. - -This project uses `emscripten 3.1.32`. - -- On ARM64, you should install `emscripten` on your machine. For example on macOS, `brew install emscripten`. -- If _the correct version of emcc_ is not in your PATH, compilation falls back to using Docker. - On ARM64, this is 10-50x slower than native compilation, but it's just fine on x64. - -Related NPM scripts: - -- `yarn update-quickjs` will sync the ./quickjs folder with a - github repo tracking the upstream QuickJS. -- `yarn make-debug` will rebuild C outputs into ./build/wrapper -- `yarn make-release` will rebuild C outputs in release mode, which is the mode - that should be checked into the repo. - -### The Typescript parts - -The ./ts directory contains Typescript types and wraps the generated Emscripten -FFI in a more usable interface. - -You'll need `node` and `yarn`. Install dependencies with `yarn install`. - -- `yarn build` produces ./dist. -- `yarn test` runs the tests. -- `yarn test --watch` watches for changes and re-runs the tests. - -### Yarn updates - -Just run `yarn set version from sources` to upgrade the Yarn release. diff --git a/node_modules/@tootallnate/quickjs-emscripten/c/interface.c b/node_modules/@tootallnate/quickjs-emscripten/c/interface.c deleted file mode 100644 index 0126cff..0000000 --- a/node_modules/@tootallnate/quickjs-emscripten/c/interface.c +++ /dev/null @@ -1,819 +0,0 @@ -/** - * interface.c - * - * We primarily use JSValue* (pointer to JSValue) when communicating with the - * host javascript environment, because pointers are trivial to use for calls - * into emscripten because they're just a number! - * - * As with the quickjs.h API, a JSValueConst* value is "borrowed" and should - * not be freed. A JSValue* is "owned" and should be freed by the owner. - * - * Functions starting with "QTS_" are exported by generate.ts to: - * - interface.h for native C code. - * - ffi.ts for emscripten. - * - * We support building the following build outputs: - * - * ## 1. Native machine code - * For internal development testing purposes. - * - * ## 2. WASM via Emscripten - * For general production use. - * - * ## 3. Experimental: Asyncified WASM via Emscripten with -s ASYNCIFY=1. - * This variant supports treating async host Javascript calls as synchronous - * from the perspective of the WASM c code. - * - * The way this works is described here: - * https://emscripten.org/docs/porting/asyncify.html - * - * In this variant, any call into our C code could return a promise if it ended - * up suspended. We mark the methods we suspect might suspend due to users' code - * as returning MaybeAsync(T). This information is ignored for the regular - * build. - */ - -#ifdef __EMSCRIPTEN__ -#include -#endif - -#include // For NAN -#include -#include -#include -#ifdef QTS_SANITIZE_LEAK -#include -#endif - -#include "../quickjs/cutils.h" -#include "../quickjs/quickjs-libc.h" -#include "../quickjs/quickjs.h" - -#define PKG "quickjs-emscripten: " - -#ifdef QTS_DEBUG_MODE -#define QTS_DEBUG(msg) qts_log(msg); -#define QTS_DUMP(value) qts_dump(ctx, value); -#else -#define QTS_DEBUG(msg) ; -#define QTS_DUMP(value) ; -#endif - -/** - * Signal to our FFI code generator that this string argument should be passed as a pointer - * allocated by the caller on the heap, not a JS string on the stack. - * https://github.com/emscripten-core/emscripten/issues/6860#issuecomment-405818401 - */ -#define BorrowedHeapChar const char -#define OwnedHeapChar char -#define JSBorrowedChar const char - -/** - * Signal to our FFI code generator that this function should be called - * asynchronously when compiled with ASYNCIFY. - */ -#define MaybeAsync(T) T - -/** - * Signal to our FFI code generator that this function is only available in - * ASYNCIFY builds. - */ -#define AsyncifyOnly(T) T - -#define JSVoid void - -#define EvalFlags int -#define EvalDetectModule int - -void qts_log(char *msg) { - fputs(PKG, stderr); - fputs(msg, stderr); - fputs("\n", stderr); -} - -void qts_dump(JSContext *ctx, JSValueConst value) { - const char *str = JS_ToCString(ctx, value); - if (!str) { - QTS_DEBUG("QTS_DUMP: can't dump"); - return; - } - fputs(str, stderr); - JS_FreeCString(ctx, str); - putchar('\n'); -} - -void copy_prop_if_needed(JSContext *ctx, JSValueConst dest, JSValueConst src, const char *prop_name) { - JSAtom prop_atom = JS_NewAtom(ctx, prop_name); - JSValue dest_prop = JS_GetProperty(ctx, dest, prop_atom); - if (JS_IsUndefined(dest_prop)) { - JSValue src_prop = JS_GetProperty(ctx, src, prop_atom); - if (!JS_IsUndefined(src_prop) && !JS_IsException(src_prop)) { - JS_SetProperty(ctx, dest, prop_atom, src_prop); - } - } else { - JS_FreeValue(ctx, dest_prop); - } - JS_FreeAtom(ctx, prop_atom); -} - -JSValue *jsvalue_to_heap(JSValueConst value) { - JSValue *result = malloc(sizeof(JSValue)); - if (result) { - // Could be better optimized, but at -0z / -ftlo, it - // appears to produce the same binary code as a memcpy. - *result = value; - } - return result; -} - -JSValue *QTS_Throw(JSContext *ctx, JSValueConst *error) { - JSValue copy = JS_DupValue(ctx, *error); - return jsvalue_to_heap(JS_Throw(ctx, copy)); -} - -JSValue *QTS_NewError(JSContext *ctx) { - return jsvalue_to_heap(JS_NewError(ctx)); -} - -/** - * Limits. - */ - -/** - * Memory limit. Set to -1 to disable. - */ -void QTS_RuntimeSetMemoryLimit(JSRuntime *rt, size_t limit) { - JS_SetMemoryLimit(rt, limit); -} - -/** - * Memory diagnostics - */ - -JSValue *QTS_RuntimeComputeMemoryUsage(JSRuntime *rt, JSContext *ctx) { - JSMemoryUsage s; - JS_ComputeMemoryUsage(rt, &s); - - // Note that we're going to allocate more memory just to report the memory usage. - // A more sound approach would be to bind JSMemoryUsage struct directly - but that's - // a lot of work. This should be okay in the mean time. - JSValue result = JS_NewObject(ctx); - - // Manually generated via editor-fu from JSMemoryUsage struct definition in quickjs.h - JS_SetPropertyStr(ctx, result, "malloc_limit", JS_NewInt64(ctx, s.malloc_limit)); - JS_SetPropertyStr(ctx, result, "memory_used_size", JS_NewInt64(ctx, s.memory_used_size)); - JS_SetPropertyStr(ctx, result, "malloc_count", JS_NewInt64(ctx, s.malloc_count)); - JS_SetPropertyStr(ctx, result, "memory_used_count", JS_NewInt64(ctx, s.memory_used_count)); - JS_SetPropertyStr(ctx, result, "atom_count", JS_NewInt64(ctx, s.atom_count)); - JS_SetPropertyStr(ctx, result, "atom_size", JS_NewInt64(ctx, s.atom_size)); - JS_SetPropertyStr(ctx, result, "str_count", JS_NewInt64(ctx, s.str_count)); - JS_SetPropertyStr(ctx, result, "str_size", JS_NewInt64(ctx, s.str_size)); - JS_SetPropertyStr(ctx, result, "obj_count", JS_NewInt64(ctx, s.obj_count)); - JS_SetPropertyStr(ctx, result, "obj_size", JS_NewInt64(ctx, s.obj_size)); - JS_SetPropertyStr(ctx, result, "prop_count", JS_NewInt64(ctx, s.prop_count)); - JS_SetPropertyStr(ctx, result, "prop_size", JS_NewInt64(ctx, s.prop_size)); - JS_SetPropertyStr(ctx, result, "shape_count", JS_NewInt64(ctx, s.shape_count)); - JS_SetPropertyStr(ctx, result, "shape_size", JS_NewInt64(ctx, s.shape_size)); - JS_SetPropertyStr(ctx, result, "js_func_count", JS_NewInt64(ctx, s.js_func_count)); - JS_SetPropertyStr(ctx, result, "js_func_size", JS_NewInt64(ctx, s.js_func_size)); - JS_SetPropertyStr(ctx, result, "js_func_code_size", JS_NewInt64(ctx, s.js_func_code_size)); - JS_SetPropertyStr(ctx, result, "js_func_pc2line_count", JS_NewInt64(ctx, s.js_func_pc2line_count)); - JS_SetPropertyStr(ctx, result, "js_func_pc2line_size", JS_NewInt64(ctx, s.js_func_pc2line_size)); - JS_SetPropertyStr(ctx, result, "c_func_count", JS_NewInt64(ctx, s.c_func_count)); - JS_SetPropertyStr(ctx, result, "array_count", JS_NewInt64(ctx, s.array_count)); - JS_SetPropertyStr(ctx, result, "fast_array_count", JS_NewInt64(ctx, s.fast_array_count)); - JS_SetPropertyStr(ctx, result, "fast_array_elements", JS_NewInt64(ctx, s.fast_array_elements)); - JS_SetPropertyStr(ctx, result, "binary_object_count", JS_NewInt64(ctx, s.binary_object_count)); - JS_SetPropertyStr(ctx, result, "binary_object_size", JS_NewInt64(ctx, s.binary_object_size)); - - return jsvalue_to_heap(result); -} - -OwnedHeapChar *QTS_RuntimeDumpMemoryUsage(JSRuntime *rt) { - char *result = malloc(sizeof(char) * 1024); - FILE *memfile = fmemopen(result, 1024, "w"); - JSMemoryUsage s; - JS_ComputeMemoryUsage(rt, &s); - JS_DumpMemoryUsage(memfile, &s, rt); - fclose(memfile); - return result; -} - -int QTS_RecoverableLeakCheck() { -#ifdef QTS_SANITIZE_LEAK - return __lsan_do_recoverable_leak_check(); -#else - return 0; -#endif -} - -int QTS_BuildIsSanitizeLeak() { -#ifdef QTS_SANITIZE_LEAK - return 1; -#else - return 0; -#endif -} - -#ifdef QTS_ASYNCIFY -EM_JS(void, set_asyncify_stack_size, (size_t size), { - Asyncify.StackSize = size || 81920; -}); -#endif - -/** - * Set the stack size limit, in bytes. Set to 0 to disable. - */ -void QTS_RuntimeSetMaxStackSize(JSRuntime *rt, size_t stack_size) { -#ifdef QTS_ASYNCIFY - set_asyncify_stack_size(stack_size); -#endif - JS_SetMaxStackSize(rt, stack_size); -} - -/** - * Constant pointers. Because we always use JSValue* from the host Javascript environment, - * we need helper fuctions to return pointers to these constants. - */ - -JSValueConst QTS_Undefined = JS_UNDEFINED; -JSValueConst *QTS_GetUndefined() { - return &QTS_Undefined; -} - -JSValueConst QTS_Null = JS_NULL; -JSValueConst *QTS_GetNull() { - return &QTS_Null; -} - -JSValueConst QTS_False = JS_FALSE; -JSValueConst *QTS_GetFalse() { - return &QTS_False; -} - -JSValueConst QTS_True = JS_TRUE; -JSValueConst *QTS_GetTrue() { - return &QTS_True; -} - -/** - * Standard FFI functions - */ - -JSRuntime *QTS_NewRuntime() { - return JS_NewRuntime(); -} - -void QTS_FreeRuntime(JSRuntime *rt) { - JS_FreeRuntime(rt); -} - -JSContext *QTS_NewContext(JSRuntime *rt) { - return JS_NewContext(rt); -} - -void QTS_FreeContext(JSContext *ctx) { - JS_FreeContext(ctx); -} - -void QTS_FreeValuePointer(JSContext *ctx, JSValue *value) { - JS_FreeValue(ctx, *value); - free(value); -} - -void QTS_FreeValuePointerRuntime(JSRuntime *rt, JSValue *value) { - JS_FreeValueRT(rt, *value); - free(value); -} - -void QTS_FreeVoidPointer(JSContext *ctx, JSVoid *ptr) { - js_free(ctx, ptr); -} - -void QTS_FreeCString(JSContext *ctx, JSBorrowedChar *str) { - JS_FreeCString(ctx, str); -} - -JSValue *QTS_DupValuePointer(JSContext *ctx, JSValueConst *val) { - return jsvalue_to_heap(JS_DupValue(ctx, *val)); -} - -JSValue *QTS_NewObject(JSContext *ctx) { - return jsvalue_to_heap(JS_NewObject(ctx)); -} - -JSValue *QTS_NewObjectProto(JSContext *ctx, JSValueConst *proto) { - return jsvalue_to_heap(JS_NewObjectProto(ctx, *proto)); -} - -JSValue *QTS_NewArray(JSContext *ctx) { - return jsvalue_to_heap(JS_NewArray(ctx)); -} - -JSValue *QTS_NewFloat64(JSContext *ctx, double num) { - return jsvalue_to_heap(JS_NewFloat64(ctx, num)); -} - -double QTS_GetFloat64(JSContext *ctx, JSValueConst *value) { - double result = NAN; - JS_ToFloat64(ctx, &result, *value); - return result; -} - -JSValue *QTS_NewString(JSContext *ctx, BorrowedHeapChar *string) { - return jsvalue_to_heap(JS_NewString(ctx, string)); -} - -JSBorrowedChar *QTS_GetString(JSContext *ctx, JSValueConst *value) { - return JS_ToCString(ctx, *value); -} - -JSValue qts_get_symbol_key(JSContext *ctx, JSValueConst *value) { - JSValue global = JS_GetGlobalObject(ctx); - JSValue Symbol = JS_GetPropertyStr(ctx, global, "Symbol"); - JS_FreeValue(ctx, global); - - JSValue Symbol_keyFor = JS_GetPropertyStr(ctx, Symbol, "keyFor"); - JSValue key = JS_Call(ctx, Symbol_keyFor, Symbol, 1, value); - JS_FreeValue(ctx, Symbol_keyFor); - JS_FreeValue(ctx, Symbol); - return key; -} - -JSValue *QTS_NewSymbol(JSContext *ctx, BorrowedHeapChar *description, int isGlobal) { - JSValue global = JS_GetGlobalObject(ctx); - JSValue Symbol = JS_GetPropertyStr(ctx, global, "Symbol"); - JS_FreeValue(ctx, global); - JSValue descriptionValue = JS_NewString(ctx, description); - JSValue symbol; - - if (isGlobal != 0) { - JSValue Symbol_for = JS_GetPropertyStr(ctx, Symbol, "for"); - symbol = JS_Call(ctx, Symbol_for, Symbol, 1, &descriptionValue); - JS_FreeValue(ctx, descriptionValue); - JS_FreeValue(ctx, Symbol_for); - JS_FreeValue(ctx, Symbol); - return jsvalue_to_heap(symbol); - } - - symbol = JS_Call(ctx, Symbol, JS_UNDEFINED, 1, &descriptionValue); - JS_FreeValue(ctx, descriptionValue); - JS_FreeValue(ctx, Symbol); - - return jsvalue_to_heap(symbol); -} - -MaybeAsync(JSBorrowedChar *) QTS_GetSymbolDescriptionOrKey(JSContext *ctx, JSValueConst *value) { - JSBorrowedChar *result; - - JSValue key = qts_get_symbol_key(ctx, value); - if (!JS_IsUndefined(key)) { - result = JS_ToCString(ctx, key); - JS_FreeValue(ctx, key); - return result; - } - - JSValue description = JS_GetPropertyStr(ctx, *value, "description"); - result = JS_ToCString(ctx, description); - JS_FreeValue(ctx, description); - return result; -} - -int QTS_IsGlobalSymbol(JSContext *ctx, JSValueConst *value) { - JSValue key = qts_get_symbol_key(ctx, value); - int undefined = JS_IsUndefined(key); - JS_FreeValue(ctx, key); - - if (undefined) { - return 0; - } else { - return 1; - } -} - -int QTS_IsJobPending(JSRuntime *rt) { - return JS_IsJobPending(rt); -} - -/* - runs pending jobs (Promises/async functions) until it encounters - an exception or it executed the passed maxJobsToExecute jobs. - - Passing a negative value will run the loop until there are no more - pending jobs or an exception happened - - Returns the executed number of jobs or the exception encountered -*/ -MaybeAsync(JSValue *) QTS_ExecutePendingJob(JSRuntime *rt, int maxJobsToExecute, JSContext **lastJobContext) { - JSContext *pctx; - int status = 1; - int executed = 0; - while (executed != maxJobsToExecute && status == 1) { - status = JS_ExecutePendingJob(rt, &pctx); - if (status == -1) { - *lastJobContext = pctx; - return jsvalue_to_heap(JS_GetException(pctx)); - } else if (status == 1) { - *lastJobContext = pctx; - executed++; - } - } -#ifdef QTS_DEBUG_MODE - char msg[500]; - sprintf(msg, "QTS_ExecutePendingJob(executed: %d, pctx: %p, lastJobExecuted: %p)", executed, pctx, *lastJobContext); - QTS_DEBUG(msg) -#endif - return jsvalue_to_heap(JS_NewFloat64(pctx, executed)); -} - -MaybeAsync(JSValue *) QTS_GetProp(JSContext *ctx, JSValueConst *this_val, JSValueConst *prop_name) { - JSAtom prop_atom = JS_ValueToAtom(ctx, *prop_name); - JSValue prop_val = JS_GetProperty(ctx, *this_val, prop_atom); - JS_FreeAtom(ctx, prop_atom); - return jsvalue_to_heap(prop_val); -} - -MaybeAsync(void) QTS_SetProp(JSContext *ctx, JSValueConst *this_val, JSValueConst *prop_name, JSValueConst *prop_value) { - JSAtom prop_atom = JS_ValueToAtom(ctx, *prop_name); - JSValue extra_prop_value = JS_DupValue(ctx, *prop_value); - // TODO: should we use DefineProperty internally if this object doesn't have the property yet? - JS_SetProperty(ctx, *this_val, prop_atom, extra_prop_value); // consumes extra_prop_value - JS_FreeAtom(ctx, prop_atom); -} - -void QTS_DefineProp(JSContext *ctx, JSValueConst *this_val, JSValueConst *prop_name, JSValueConst *prop_value, JSValueConst *get, JSValueConst *set, bool configurable, bool enumerable, bool has_value) { - JSAtom prop_atom = JS_ValueToAtom(ctx, *prop_name); - - int flags = 0; - if (configurable) { - flags = flags | JS_PROP_CONFIGURABLE; - if (has_value) { - flags = flags | JS_PROP_HAS_CONFIGURABLE; - } - } - if (enumerable) { - flags = flags | JS_PROP_ENUMERABLE; - if (has_value) { - flags = flags | JS_PROP_HAS_ENUMERABLE; - } - } - if (!JS_IsUndefined(*get)) { - flags = flags | JS_PROP_HAS_GET; - } - if (!JS_IsUndefined(*set)) { - flags = flags | JS_PROP_HAS_SET; - } - if (has_value) { - flags = flags | JS_PROP_HAS_VALUE; - } - - JS_DefineProperty(ctx, *this_val, prop_atom, *prop_value, *get, *set, flags); - JS_FreeAtom(ctx, prop_atom); -} - -MaybeAsync(JSValue *) QTS_Call(JSContext *ctx, JSValueConst *func_obj, JSValueConst *this_obj, int argc, JSValueConst **argv_ptrs) { - // convert array of pointers to array of values - JSValueConst argv[argc]; - int i; - for (i = 0; i < argc; i++) { - argv[i] = *(argv_ptrs[i]); - } - - return jsvalue_to_heap(JS_Call(ctx, *func_obj, *this_obj, argc, argv)); -} - -/** - * If maybe_exception is an exception, get the error. - * Otherwise, return NULL. - */ -JSValue *QTS_ResolveException(JSContext *ctx, JSValue *maybe_exception) { - if (JS_IsException(*maybe_exception)) { - return jsvalue_to_heap(JS_GetException(ctx)); - } - - return NULL; -} - -MaybeAsync(JSBorrowedChar *) QTS_Dump(JSContext *ctx, JSValueConst *obj) { - JSValue obj_json_value = JS_JSONStringify(ctx, *obj, JS_UNDEFINED, JS_UNDEFINED); - if (!JS_IsException(obj_json_value)) { - const char *obj_json_chars = JS_ToCString(ctx, obj_json_value); - JS_FreeValue(ctx, obj_json_value); - if (obj_json_chars != NULL) { - JSValue enumerable_props = JS_ParseJSON(ctx, obj_json_chars, strlen(obj_json_chars), ""); - JS_FreeCString(ctx, obj_json_chars); - if (!JS_IsException(enumerable_props)) { - // Copy common non-enumerable props for different object types. - // Errors: - copy_prop_if_needed(ctx, enumerable_props, *obj, "name"); - copy_prop_if_needed(ctx, enumerable_props, *obj, "message"); - copy_prop_if_needed(ctx, enumerable_props, *obj, "stack"); - - // Serialize again. - JSValue enumerable_json = JS_JSONStringify(ctx, enumerable_props, JS_UNDEFINED, JS_UNDEFINED); - JS_FreeValue(ctx, enumerable_props); - - JSBorrowedChar *result = QTS_GetString(ctx, &enumerable_json); - JS_FreeValue(ctx, enumerable_json); - return result; - } - } - } - -#ifdef QTS_DEBUG_MODE - qts_log("Error dumping JSON:"); - js_std_dump_error(ctx); -#endif - - // Fallback: convert to string - return QTS_GetString(ctx, obj); -} - -MaybeAsync(JSValue *) QTS_Eval(JSContext *ctx, BorrowedHeapChar *js_code, const char *filename, EvalDetectModule detectModule, EvalFlags evalFlags) { - size_t js_code_len = strlen(js_code); - - if (detectModule) { - if (JS_DetectModule((const char *)js_code, js_code_len)) { - QTS_DEBUG("QTS_Eval: Detected module = true"); - evalFlags |= JS_EVAL_TYPE_MODULE; - } else { - QTS_DEBUG("QTS_Eval: Detected module = false"); - } - } else { - QTS_DEBUG("QTS_Eval: do not detect module"); - } - - return jsvalue_to_heap(JS_Eval(ctx, js_code, strlen(js_code), filename, evalFlags)); -} - -OwnedHeapChar *QTS_Typeof(JSContext *ctx, JSValueConst *value) { - const char *result = "unknown"; - uint32_t tag = JS_VALUE_GET_TAG(*value); - - if (JS_IsNumber(*value)) { - result = "number"; - } else if (JS_IsBigInt(ctx, *value)) { - result = "bigint"; - } else if (JS_IsBigFloat(*value)) { - result = "bigfloat"; - } else if (JS_IsBigDecimal(*value)) { - result = "bigdecimal"; - } else if (JS_IsFunction(ctx, *value)) { - result = "function"; - } else if (JS_IsBool(*value)) { - result = "boolean"; - } else if (JS_IsNull(*value)) { - result = "object"; - } else if (JS_IsUndefined(*value)) { - result = "undefined"; - } else if (JS_IsUninitialized(*value)) { - result = "undefined"; - } else if (JS_IsString(*value)) { - result = "string"; - } else if (JS_IsSymbol(*value)) { - result = "symbol"; - } else if (JS_IsObject(*value)) { - result = "object"; - } - - char *out = strdup(result); - return out; -} - -JSValue *QTS_GetGlobalObject(JSContext *ctx) { - return jsvalue_to_heap(JS_GetGlobalObject(ctx)); -} - -JSValue *QTS_NewPromiseCapability(JSContext *ctx, JSValue **resolve_funcs_out) { - JSValue resolve_funcs[2]; - JSValue promise = JS_NewPromiseCapability(ctx, resolve_funcs); - resolve_funcs_out[0] = jsvalue_to_heap(resolve_funcs[0]); - resolve_funcs_out[1] = jsvalue_to_heap(resolve_funcs[1]); - return jsvalue_to_heap(promise); -} - -void QTS_TestStringArg(const char *string) { - // pass -} - -int QTS_BuildIsDebug() { -#ifdef QTS_DEBUG_MODE - return 1; -#else - return 0; -#endif -} - -int QTS_BuildIsAsyncify() { -#ifdef QTS_ASYNCIFY - return 1; -#else - return 0; -#endif -} - -// ---------------------------------------------------------------------------- -// Module loading helpers - -// ---------------------------------------------------------------------------- -// C -> Host Callbacks -// Note: inside EM_JS, we need to use ['...'] subscript syntax for accessing JS -// objects, because in optimized builds, Closure compiler will mangle all the -// names. - -// ------------------- -// function: C -> Host -#ifdef __EMSCRIPTEN__ -EM_JS(MaybeAsync(JSValue *), qts_host_call_function, (JSContext * ctx, JSValueConst *this_ptr, int argc, JSValueConst *argv, uint32_t magic_func_id), { -#ifdef QTS_ASYNCIFY - const asyncify = {['handleSleep'] : Asyncify.handleSleep}; -#else - const asyncify = undefined; -#endif - return Module['callbacks']['callFunction'](asyncify, ctx, this_ptr, argc, argv, magic_func_id); -}); -#endif - -// Function: QuickJS -> C -JSValue qts_call_function(JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv, int magic) { - JSValue *result_ptr = qts_host_call_function(ctx, &this_val, argc, argv, magic); - if (result_ptr == NULL) { - return JS_UNDEFINED; - } - JSValue result = *result_ptr; - free(result_ptr); - return result; -} - -// Function: Host -> QuickJS -JSValue *QTS_NewFunction(JSContext *ctx, uint32_t func_id, const char *name) { -#ifdef QTS_DEBUG_MODE - char msg[500]; - sprintf(msg, "new_function(name: %s, magic: %d)", name, func_id); - QTS_DEBUG(msg) -#endif - JSValue func_obj = JS_NewCFunctionMagic( - /* context */ ctx, - /* JSCFunctionMagic* */ &qts_call_function, - /* name */ name, - /* min argc */ 0, - /* function type */ JS_CFUNC_generic_magic, - /* magic: fn id */ func_id); - return jsvalue_to_heap(func_obj); -} - -JSValueConst *QTS_ArgvGetJSValueConstPointer(JSValueConst *argv, int index) { - return &argv[index]; -} - -// -------------------- -// interrupt: C -> Host -#ifdef __EMSCRIPTEN__ -EM_JS(int, qts_host_interrupt_handler, (JSRuntime * rt), { - // Async not supported here. - // #ifdef QTS_ASYNCIFY - // const asyncify = Asyncify; - // #else - const asyncify = undefined; - // #endif - return Module['callbacks']['shouldInterrupt'](asyncify, rt); -}); -#endif - -// interrupt: QuickJS -> C -int qts_interrupt_handler(JSRuntime *rt, void *_unused) { - return qts_host_interrupt_handler(rt); -} - -// interrupt: Host -> QuickJS -void QTS_RuntimeEnableInterruptHandler(JSRuntime *rt) { - JS_SetInterruptHandler(rt, &qts_interrupt_handler, NULL); -} - -void QTS_RuntimeDisableInterruptHandler(JSRuntime *rt) { - JS_SetInterruptHandler(rt, NULL, NULL); -} - -// -------------------- -// load module: C -> Host -// TODO: a future version can support host returning JSModuleDef* directly; -// for now we only support loading module source code. - -/* -The module loading model under ASYNCIFY is convoluted. We need to make sure we -never have an async request running concurrently for loading modules. - -The first implemenation looked like this: - -C HOST SUSPENDED -qts_host_load_module(name) ------> false - call rt.loadModule(name) false - Start async load module false - Suspend C true - Async load complete true - < --------------- QTS_CompileModule(source) true -QTS_Eval(source, COMPILE_ONLY) true -Loaded module has import true -qts_host_load_module(dep) -------> true - call rt.loadModule(dep) true - Start async load module true - ALREADY SUSPENDED, CRASH - -We can solve this in two different ways: - -1. Return to C as soon as we async load the module source. - That way, we unsuspend before calling QTS_CompileModule. -2. Once we load the module, use a new API to detect and async - load the module's downstream dependencies. This way - they're loaded synchronously so we don't need to suspend "again". - -Probably we could optimize (2) to make it more performant, eg with parallel -loading, but (1) seems much easier to implement in the sort run. -*/ - -JSModuleDef *qts_compile_module(JSContext *ctx, const char *module_name, BorrowedHeapChar *module_body) { -#ifdef QTS_DEBUG_MODE - char msg[500]; - sprintf(msg, "QTS_CompileModule(ctx: %p, name: %s, bodyLength: %lu)", ctx, module_name, strlen(module_body)); - QTS_DEBUG(msg) -#endif - JSValue func_val = JS_Eval(ctx, module_body, strlen(module_body), module_name, JS_EVAL_TYPE_MODULE | JS_EVAL_FLAG_COMPILE_ONLY); - if (JS_IsException(func_val)) { - return NULL; - } - // TODO: Is exception ok? - // TODO: set import.meta? - JSModuleDef *module = JS_VALUE_GET_PTR(func_val); - JS_FreeValue(ctx, func_val); - return module; -} - -#ifdef __EMSCRIPTEN__ -EM_JS(MaybeAsync(char *), qts_host_load_module_source, (JSRuntime * rt, JSContext *ctx, const char *module_name), { -#ifdef QTS_ASYNCIFY - const asyncify = {['handleSleep'] : Asyncify.handleSleep}; -#else - const asyncify = undefined; -#endif - // https://emscripten.org/docs/api_reference/preamble.js.html#UTF8ToString - const moduleNameString = UTF8ToString(module_name); - return Module['callbacks']['loadModuleSource'](asyncify, rt, ctx, moduleNameString); -}); - -EM_JS(MaybeAsync(char *), qts_host_normalize_module, (JSRuntime * rt, JSContext *ctx, const char *module_base_name, const char *module_name), { -#ifdef QTS_ASYNCIFY - const asyncify = {['handleSleep'] : Asyncify.handleSleep}; -#else - const asyncify = undefined; -#endif - // https://emscripten.org/docs/api_reference/preamble.js.html#UTF8ToString - const moduleBaseNameString = UTF8ToString(module_base_name); - const moduleNameString = UTF8ToString(module_name); - return Module['callbacks']['normalizeModule'](asyncify, rt, ctx, moduleBaseNameString, moduleNameString); -}); -#endif - -// load module: QuickJS -> C -// See js_module_loader in quickjs/quickjs-libc.c:567 -JSModuleDef *qts_load_module(JSContext *ctx, const char *module_name, void *_unused) { - JSRuntime *rt = JS_GetRuntime(ctx); -#ifdef QTS_DEBUG_MODE - char msg[500]; - sprintf(msg, "qts_load_module(rt: %p, ctx: %p, name: %s)", rt, ctx, module_name); - QTS_DEBUG(msg) -#endif - char *module_source = qts_host_load_module_source(rt, ctx, module_name); - if (module_source == NULL) { - return NULL; - } - - JSModuleDef *module = qts_compile_module(ctx, module_name, module_source); - free(module_source); - return module; -} - -char *qts_normalize_module(JSContext *ctx, const char *module_base_name, const char *module_name, void *_unused) { - JSRuntime *rt = JS_GetRuntime(ctx); -#ifdef QTS_DEBUG_MODE - char msg[500]; - sprintf(msg, "qts_normalize_module(rt: %p, ctx: %p, base_name: %s, name: %s)", rt, ctx, module_base_name, module_name); - QTS_DEBUG(msg) -#endif - char *em_module_name = qts_host_normalize_module(rt, ctx, module_base_name, module_name); - char *js_module_name = js_strdup(ctx, em_module_name); - free(em_module_name); - return js_module_name; -} - -// Load module: Host -> QuickJS -void QTS_RuntimeEnableModuleLoader(JSRuntime *rt, int use_custom_normalize) { - JSModuleNormalizeFunc *module_normalize = NULL; /* use default name normalizer */ - if (use_custom_normalize) { - module_normalize = &qts_normalize_module; - } - JS_SetModuleLoaderFunc(rt, module_normalize, &qts_load_module, NULL); -} - -void QTS_RuntimeDisableModuleLoader(JSRuntime *rt) { - JS_SetModuleLoaderFunc(rt, NULL, NULL, NULL); -} \ No newline at end of file diff --git a/node_modules/@tootallnate/quickjs-emscripten/dist/asyncify-helpers.d.ts b/node_modules/@tootallnate/quickjs-emscripten/dist/asyncify-helpers.d.ts deleted file mode 100644 index f3bb599..0000000 --- a/node_modules/@tootallnate/quickjs-emscripten/dist/asyncify-helpers.d.ts +++ /dev/null @@ -1,24 +0,0 @@ -declare function awaitYield(value: T | Promise): Generator, T, T>; -declare function awaitYieldOf(generator: Generator, T, Yielded>): Generator, T, T>; -export type AwaitYield = typeof awaitYield & { - of: typeof awaitYieldOf; -}; -/** - * Create a function that may or may not be async, using a generator - * - * Within the generator, call `yield* awaited(maybePromise)` to await a value - * that may or may not be a promise. - * - * If the inner function never yields a promise, it will return synchronously. - */ -export declare function maybeAsyncFn< -/** Function arguments */ -Args extends any[], This, -/** Function return type */ -Return, -/** Yields to unwrap */ -Yielded>(that: This, fn: (this: This, awaited: AwaitYield, ...args: Args) => Generator, Return, Yielded>): (...args: Args) => Return | Promise; -export type MaybeAsyncBlock = (this: This, awaited: AwaitYield, ...args: Args) => Generator, Return, Yielded>; -export declare function maybeAsync(that: This, startGenerator: (this: This, await: AwaitYield) => Generator, Return, Yielded>): Return | Promise; -export declare function awaitEachYieldedPromise(gen: Generator, Returned, Yielded>): Returned | Promise; -export {}; diff --git a/node_modules/@tootallnate/quickjs-emscripten/dist/asyncify-helpers.js b/node_modules/@tootallnate/quickjs-emscripten/dist/asyncify-helpers.js deleted file mode 100644 index c140dde..0000000 --- a/node_modules/@tootallnate/quickjs-emscripten/dist/asyncify-helpers.js +++ /dev/null @@ -1,53 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.awaitEachYieldedPromise = exports.maybeAsync = exports.maybeAsyncFn = void 0; -function* awaitYield(value) { - return (yield value); -} -function awaitYieldOf(generator) { - return awaitYield(awaitEachYieldedPromise(generator)); -} -const AwaitYield = awaitYield; -AwaitYield.of = awaitYieldOf; -/** - * Create a function that may or may not be async, using a generator - * - * Within the generator, call `yield* awaited(maybePromise)` to await a value - * that may or may not be a promise. - * - * If the inner function never yields a promise, it will return synchronously. - */ -function maybeAsyncFn(that, fn) { - return (...args) => { - const generator = fn.call(that, AwaitYield, ...args); - return awaitEachYieldedPromise(generator); - }; -} -exports.maybeAsyncFn = maybeAsyncFn; -class Example { - constructor() { - this.maybeAsyncMethod = maybeAsyncFn(this, function* (awaited, a) { - yield* awaited(new Promise((resolve) => setTimeout(resolve, a))); - return 5; - }); - } -} -function maybeAsync(that, startGenerator) { - const generator = startGenerator.call(that, AwaitYield); - return awaitEachYieldedPromise(generator); -} -exports.maybeAsync = maybeAsync; -function awaitEachYieldedPromise(gen) { - function handleNextStep(step) { - if (step.done) { - return step.value; - } - if (step.value instanceof Promise) { - return step.value.then((value) => handleNextStep(gen.next(value)), (error) => handleNextStep(gen.throw(error))); - } - return handleNextStep(gen.next(step.value)); - } - return handleNextStep(gen.next()); -} -exports.awaitEachYieldedPromise = awaitEachYieldedPromise; -//# sourceMappingURL=asyncify-helpers.js.map \ No newline at end of file diff --git a/node_modules/@tootallnate/quickjs-emscripten/dist/asyncify-helpers.js.map b/node_modules/@tootallnate/quickjs-emscripten/dist/asyncify-helpers.js.map deleted file mode 100644 index 10dcc46..0000000 --- a/node_modules/@tootallnate/quickjs-emscripten/dist/asyncify-helpers.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"asyncify-helpers.js","sourceRoot":"","sources":["../ts/asyncify-helpers.ts"],"names":[],"mappings":";;;AAAA,QAAQ,CAAC,CAAC,UAAU,CAAI,KAAqB;IAC3C,OAAO,CAAC,MAAM,KAAK,CAAM,CAAA;AAC3B,CAAC;AAED,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,CAAC,cAAc,CAAC,GAAG,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,EAC1C,CAAC,KAAK,EAAE,EAAE,CAAC,cAAc,CAAC,GAAG,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CAC5C,CAAA;SACF;QAED,OAAO,cAAc,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAA;IAC7C,CAAC;IAED,OAAO,cAAc,CAAC,GAAG,CAAC,IAAI,EAAE,CAAC,CAAA;AACnC,CAAC;AArBD,0DAqBC","sourcesContent":["function* awaitYield(value: T | Promise) {\n return (yield value) as T\n}\n\nfunction awaitYieldOf(\n generator: Generator, T, Yielded>\n): Generator, T, T> {\n return awaitYield(awaitEachYieldedPromise(generator))\n}\n\nexport type AwaitYield = typeof awaitYield & {\n of: typeof awaitYieldOf\n}\n\nconst AwaitYield: AwaitYield = awaitYield as AwaitYield\nAwaitYield.of = awaitYieldOf\n\n/**\n * Create a function that may or may not be async, using a generator\n *\n * Within the generator, call `yield* awaited(maybePromise)` to await a value\n * that may or may not be a promise.\n *\n * If the inner function never yields a promise, it will return synchronously.\n */\nexport function maybeAsyncFn<\n /** Function arguments */\n Args extends any[],\n This,\n /** Function return type */\n Return,\n /** Yields to unwrap */\n Yielded\n>(\n that: This,\n fn: (\n this: This,\n awaited: AwaitYield,\n ...args: Args\n ) => Generator, Return, Yielded>\n): (...args: Args) => Return | Promise {\n return (...args: Args) => {\n const generator = fn.call(that, AwaitYield, ...args)\n return awaitEachYieldedPromise(generator)\n }\n}\n\nclass Example {\n private maybeAsyncMethod = maybeAsyncFn(this, function* (awaited, a: number) {\n yield* awaited(new Promise((resolve) => setTimeout(resolve, a)))\n return 5\n })\n}\n\nexport type MaybeAsyncBlock = (\n this: This,\n awaited: AwaitYield,\n ...args: Args\n) => Generator, Return, Yielded>\n\nexport function maybeAsync(\n that: This,\n startGenerator: (\n this: This,\n await: AwaitYield\n ) => Generator, Return, Yielded>\n): Return | Promise {\n const generator = startGenerator.call(that, AwaitYield)\n return awaitEachYieldedPromise(generator)\n}\n\nexport function awaitEachYieldedPromise(\n gen: Generator, Returned, Yielded>\n): Returned | Promise {\n type NextResult = ReturnType\n\n function handleNextStep(step: NextResult): Returned | Promise {\n if (step.done) {\n return step.value\n }\n\n if (step.value instanceof Promise) {\n return step.value.then(\n (value) => handleNextStep(gen.next(value)),\n (error) => handleNextStep(gen.throw(error))\n )\n }\n\n return handleNextStep(gen.next(step.value))\n }\n\n return handleNextStep(gen.next())\n}\n"]} \ No newline at end of file diff --git a/node_modules/@tootallnate/quickjs-emscripten/dist/context-asyncify.d.ts b/node_modules/@tootallnate/quickjs-emscripten/dist/context-asyncify.d.ts deleted file mode 100644 index 290a9ec..0000000 --- a/node_modules/@tootallnate/quickjs-emscripten/dist/context-asyncify.d.ts +++ /dev/null @@ -1,48 +0,0 @@ -import { QuickJSContext } from "./context"; -import { QuickJSAsyncEmscriptenModule } from "./emscripten-types"; -import { QuickJSAsyncFFI } from "./variants"; -import { JSRuntimePointer } from "./types-ffi"; -import { Lifetime } from "./lifetime"; -import { QuickJSModuleCallbacks } from "./module"; -import { QuickJSAsyncRuntime } from "./runtime-asyncify"; -import { ContextEvalOptions, QuickJSHandle } from "./types"; -import { VmCallResult } from "./vm-interface"; -export type AsyncFunctionImplementation = (this: QuickJSHandle, ...args: QuickJSHandle[]) => Promise | void>; -/** - * Asyncified version of [[QuickJSContext]]. - * - * *Asyncify* allows normally synchronous code to wait for asynchronous Promises - * or callbacks. The asyncified version of QuickJSContext can wait for async - * host functions as though they were synchronous. - */ -export declare class QuickJSAsyncContext extends QuickJSContext { - runtime: QuickJSAsyncRuntime; - /** @private */ - protected module: QuickJSAsyncEmscriptenModule; - /** @private */ - protected ffi: QuickJSAsyncFFI; - /** @private */ - protected rt: Lifetime; - /** @private */ - protected callbacks: QuickJSModuleCallbacks; - /** - * Asyncified version of [[evalCode]]. - */ - evalCodeAsync(code: string, filename?: string, - /** See [[EvalFlags]] for number semantics */ - options?: number | ContextEvalOptions): Promise>; - /** - * Similar to [[newFunction]]. - * Convert an async host Javascript function into a synchronous QuickJS function value. - * - * Whenever QuickJS calls this function, the VM's stack will be unwound while - * waiting the async function to complete, and then restored when the returned - * promise resolves. - * - * Asyncified functions must never call other asyncified functions or - * `import`, even indirectly, because the stack cannot be unwound twice. - * - * See [Emscripten's docs on Asyncify](https://emscripten.org/docs/porting/asyncify.html). - */ - newAsyncifiedFunction(name: string, fn: AsyncFunctionImplementation): QuickJSHandle; -} diff --git a/node_modules/@tootallnate/quickjs-emscripten/dist/context-asyncify.js b/node_modules/@tootallnate/quickjs-emscripten/dist/context-asyncify.js deleted file mode 100644 index 7b3fe56..0000000 --- a/node_modules/@tootallnate/quickjs-emscripten/dist/context-asyncify.js +++ /dev/null @@ -1,58 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.QuickJSAsyncContext = void 0; -const context_1 = require("./context"); -const debug_1 = require("./debug"); -const types_1 = require("./types"); -/** - * Asyncified version of [[QuickJSContext]]. - * - * *Asyncify* allows normally synchronous code to wait for asynchronous Promises - * or callbacks. The asyncified version of QuickJSContext can wait for async - * host functions as though they were synchronous. - */ -class QuickJSAsyncContext extends context_1.QuickJSContext { - /** - * Asyncified version of [[evalCode]]. - */ - async evalCodeAsync(code, filename = "eval.js", - /** See [[EvalFlags]] for number semantics */ - options) { - const detectModule = (options === undefined ? 1 : 0); - const flags = (0, types_1.evalOptionsToFlags)(options); - let resultPtr = 0; - try { - resultPtr = await this.memory - .newHeapCharPointer(code) - .consume((charHandle) => this.ffi.QTS_Eval_MaybeAsync(this.ctx.value, charHandle.value, filename, detectModule, flags)); - } - catch (error) { - (0, debug_1.debugLog)("QTS_Eval_MaybeAsync threw", error); - throw error; - } - const errorPtr = this.ffi.QTS_ResolveException(this.ctx.value, resultPtr); - if (errorPtr) { - this.ffi.QTS_FreeValuePointer(this.ctx.value, resultPtr); - return { error: this.memory.heapValueHandle(errorPtr) }; - } - return { value: this.memory.heapValueHandle(resultPtr) }; - } - /** - * Similar to [[newFunction]]. - * Convert an async host Javascript function into a synchronous QuickJS function value. - * - * Whenever QuickJS calls this function, the VM's stack will be unwound while - * waiting the async function to complete, and then restored when the returned - * promise resolves. - * - * Asyncified functions must never call other asyncified functions or - * `import`, even indirectly, because the stack cannot be unwound twice. - * - * See [Emscripten's docs on Asyncify](https://emscripten.org/docs/porting/asyncify.html). - */ - newAsyncifiedFunction(name, fn) { - return this.newFunction(name, fn); - } -} -exports.QuickJSAsyncContext = QuickJSAsyncContext; -//# sourceMappingURL=context-asyncify.js.map \ No newline at end of file diff --git a/node_modules/@tootallnate/quickjs-emscripten/dist/context-asyncify.js.map b/node_modules/@tootallnate/quickjs-emscripten/dist/context-asyncify.js.map deleted file mode 100644 index 93695e2..0000000 --- a/node_modules/@tootallnate/quickjs-emscripten/dist/context-asyncify.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"context-asyncify.js","sourceRoot":"","sources":["../ts/context-asyncify.ts"],"names":[],"mappings":";;;AAAA,uCAA0C;AAC1C,mCAAkC;AAOlC,mCAA+E;AAQ/E;;;;;;GAMG;AACH,MAAa,mBAAoB,SAAQ,wBAAc;IAWrD;;OAEG;IACH,KAAK,CAAC,aAAa,CACjB,IAAY,EACZ,WAAmB,SAAS;IAC5B,6CAA6C;IAC7C,OAAqC;QAErC,MAAM,YAAY,GAAG,CAAC,OAAO,KAAK,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAqB,CAAA;QACxE,MAAM,KAAK,GAAG,IAAA,0BAAkB,EAAC,OAAO,CAAc,CAAA;QACtD,IAAI,SAAS,GAAG,CAAmB,CAAA;QACnC,IAAI;YACF,SAAS,GAAG,MAAM,IAAI,CAAC,MAAM;iBAC1B,kBAAkB,CAAC,IAAI,CAAC;iBACxB,OAAO,CAAC,CAAC,UAAU,EAAE,EAAE,CACtB,IAAI,CAAC,GAAG,CAAC,mBAAmB,CAC1B,IAAI,CAAC,GAAG,CAAC,KAAK,EACd,UAAU,CAAC,KAAK,EAChB,QAAQ,EACR,YAAY,EACZ,KAAK,CACN,CACF,CAAA;SACJ;QAAC,OAAO,KAAK,EAAE;YACd,IAAA,gBAAQ,EAAC,2BAA2B,EAAE,KAAK,CAAC,CAAA;YAC5C,MAAM,KAAK,CAAA;SACZ;QACD,MAAM,QAAQ,GAAG,IAAI,CAAC,GAAG,CAAC,oBAAoB,CAAC,IAAI,CAAC,GAAG,CAAC,KAAK,EAAE,SAAS,CAAC,CAAA;QACzE,IAAI,QAAQ,EAAE;YACZ,IAAI,CAAC,GAAG,CAAC,oBAAoB,CAAC,IAAI,CAAC,GAAG,CAAC,KAAK,EAAE,SAAS,CAAC,CAAA;YACxD,OAAO,EAAE,KAAK,EAAE,IAAI,CAAC,MAAM,CAAC,eAAe,CAAC,QAAQ,CAAC,EAAE,CAAA;SACxD;QACD,OAAO,EAAE,KAAK,EAAE,IAAI,CAAC,MAAM,CAAC,eAAe,CAAC,SAAS,CAAC,EAAE,CAAA;IAC1D,CAAC;IAED;;;;;;;;;;;;OAYG;IACH,qBAAqB,CAAC,IAAY,EAAE,EAA+B;QACjE,OAAO,IAAI,CAAC,WAAW,CAAC,IAAI,EAAE,EAAS,CAAC,CAAA;IAC1C,CAAC;CACF;AA/DD,kDA+DC","sourcesContent":["import { QuickJSContext } from \"./context\"\nimport { debugLog } from \"./debug\"\nimport { QuickJSAsyncEmscriptenModule } from \"./emscripten-types\"\nimport { QuickJSAsyncFFI } from \"./variants\"\nimport { EvalDetectModule, EvalFlags, JSRuntimePointer, JSValuePointer } from \"./types-ffi\"\nimport { Lifetime } from \"./lifetime\"\nimport { QuickJSModuleCallbacks } from \"./module\"\nimport { QuickJSAsyncRuntime } from \"./runtime-asyncify\"\nimport { ContextEvalOptions, evalOptionsToFlags, QuickJSHandle } from \"./types\"\nimport { VmCallResult } from \"./vm-interface\"\n\nexport type AsyncFunctionImplementation = (\n this: QuickJSHandle,\n ...args: QuickJSHandle[]\n) => Promise | void>\n\n/**\n * Asyncified version of [[QuickJSContext]].\n *\n * *Asyncify* allows normally synchronous code to wait for asynchronous Promises\n * or callbacks. The asyncified version of QuickJSContext can wait for async\n * host functions as though they were synchronous.\n */\nexport class QuickJSAsyncContext extends QuickJSContext {\n public declare runtime: QuickJSAsyncRuntime\n /** @private */\n protected declare module: QuickJSAsyncEmscriptenModule\n /** @private */\n protected declare ffi: QuickJSAsyncFFI\n /** @private */\n protected declare rt: Lifetime\n /** @private */\n protected declare callbacks: QuickJSModuleCallbacks\n\n /**\n * Asyncified version of [[evalCode]].\n */\n async evalCodeAsync(\n code: string,\n filename: string = \"eval.js\",\n /** See [[EvalFlags]] for number semantics */\n options?: number | ContextEvalOptions\n ): Promise> {\n const detectModule = (options === undefined ? 1 : 0) as EvalDetectModule\n const flags = evalOptionsToFlags(options) as EvalFlags\n let resultPtr = 0 as JSValuePointer\n try {\n resultPtr = await this.memory\n .newHeapCharPointer(code)\n .consume((charHandle) =>\n this.ffi.QTS_Eval_MaybeAsync(\n this.ctx.value,\n charHandle.value,\n filename,\n detectModule,\n flags\n )\n )\n } catch (error) {\n debugLog(\"QTS_Eval_MaybeAsync threw\", error)\n throw error\n }\n const errorPtr = this.ffi.QTS_ResolveException(this.ctx.value, resultPtr)\n if (errorPtr) {\n this.ffi.QTS_FreeValuePointer(this.ctx.value, resultPtr)\n return { error: this.memory.heapValueHandle(errorPtr) }\n }\n return { value: this.memory.heapValueHandle(resultPtr) }\n }\n\n /**\n * Similar to [[newFunction]].\n * Convert an async host Javascript function into a synchronous QuickJS function value.\n *\n * Whenever QuickJS calls this function, the VM's stack will be unwound while\n * waiting the async function to complete, and then restored when the returned\n * promise resolves.\n *\n * Asyncified functions must never call other asyncified functions or\n * `import`, even indirectly, because the stack cannot be unwound twice.\n *\n * See [Emscripten's docs on Asyncify](https://emscripten.org/docs/porting/asyncify.html).\n */\n newAsyncifiedFunction(name: string, fn: AsyncFunctionImplementation): QuickJSHandle {\n return this.newFunction(name, fn as any)\n }\n}\n"]} \ No newline at end of file diff --git a/node_modules/@tootallnate/quickjs-emscripten/dist/context.d.ts b/node_modules/@tootallnate/quickjs-emscripten/dist/context.d.ts deleted file mode 100644 index d30d199..0000000 --- a/node_modules/@tootallnate/quickjs-emscripten/dist/context.d.ts +++ /dev/null @@ -1,371 +0,0 @@ -import { QuickJSDeferredPromise } from "./deferred-promise"; -import type { EitherModule } from "./emscripten-types"; -import { JSBorrowedCharPointer, JSContextPointer, JSRuntimePointer, JSValueConstPointer, JSValuePointer } from "./types-ffi"; -import { Disposable, Lifetime, Scope } from "./lifetime"; -import { ModuleMemory } from "./memory"; -import { QuickJSModuleCallbacks } from "./module"; -import { QuickJSRuntime } from "./runtime"; -import { ContextEvalOptions, EitherFFI, JSValue, PromiseExecutor, QuickJSHandle } from "./types"; -import { LowLevelJavascriptVm, SuccessOrFail, VmCallResult, VmFunctionImplementation, VmPropertyDescriptor } from "./vm-interface"; -/** - * Property key for getting or setting a property on a handle with - * [[QuickJSContext.getProp]], [[QuickJSContext.setProp]], or [[QuickJSContext.defineProp]]. - */ -export type QuickJSPropertyKey = number | string | QuickJSHandle; -/** - * @private - */ -declare class ContextMemory extends ModuleMemory implements Disposable { - readonly owner: QuickJSRuntime; - readonly ctx: Lifetime; - readonly rt: Lifetime; - readonly module: EitherModule; - readonly ffi: EitherFFI; - readonly scope: Scope; - /** @private */ - constructor(args: { - owner: QuickJSRuntime; - module: EitherModule; - ffi: EitherFFI; - ctx: Lifetime; - rt: Lifetime; - ownedLifetimes?: Disposable[]; - }); - get alive(): boolean; - dispose(): void; - /** - * Track `lifetime` so that it is disposed when this scope is disposed. - */ - manage(lifetime: T): T; - copyJSValue: (ptr: JSValuePointer | JSValueConstPointer) => any; - freeJSValue: (ptr: JSValuePointer) => void; - consumeJSCharPointer(ptr: JSBorrowedCharPointer): string; - heapValueHandle(ptr: JSValuePointer): JSValue; -} -/** - * QuickJSContext wraps a QuickJS Javascript context (JSContext*) within a - * runtime. The contexts within the same runtime may exchange objects freely. - * You can think of separate runtimes like different domains in a browser, and - * the contexts within a runtime like the different windows open to the same - * domain. The {@link runtime} references the context's runtime. - * - * This class's methods return {@link QuickJSHandle}, which wrap C pointers (JSValue*). - * It's the caller's responsibility to call `.dispose()` on any - * handles you create to free memory once you're done with the handle. - * - * Use {@link QuickJSRuntime.newContext} or {@link QuickJSWASMModule.newContext} - * to create a new QuickJSContext. - * - * Create QuickJS values inside the interpreter with methods like - * [[newNumber]], [[newString]], [[newArray]], [[newObject]], - * [[newFunction]], and [[newPromise]]. - * - * Call [[setProp]] or [[defineProp]] to customize objects. Use those methods - * with [[global]] to expose the values you create to the interior of the - * interpreter, so they can be used in [[evalCode]]. - * - * Use [[evalCode]] or [[callFunction]] to execute Javascript inside the VM. If - * you're using asynchronous code inside the QuickJSContext, you may need to also - * call [[executePendingJobs]]. Executing code inside the runtime returns a - * result object representing successful execution or an error. You must dispose - * of any such results to avoid leaking memory inside the VM. - * - * Implement memory and CPU constraints at the runtime level, using [[runtime]]. - * See {@link QuickJSRuntime} for more information. - * - */ -export declare class QuickJSContext implements LowLevelJavascriptVm, Disposable { - /** - * The runtime that created this context. - */ - readonly runtime: QuickJSRuntime; - /** @private */ - protected readonly ctx: Lifetime; - /** @private */ - protected readonly rt: Lifetime; - /** @private */ - protected readonly module: EitherModule; - /** @private */ - protected readonly ffi: EitherFFI; - /** @private */ - protected memory: ContextMemory; - /** @private */ - protected _undefined: QuickJSHandle | undefined; - /** @private */ - protected _null: QuickJSHandle | undefined; - /** @private */ - protected _false: QuickJSHandle | undefined; - /** @private */ - protected _true: QuickJSHandle | undefined; - /** @private */ - protected _global: QuickJSHandle | undefined; - /** @private */ - protected _BigInt: QuickJSHandle | undefined; - /** - * Use {@link QuickJS.createVm} to create a QuickJSContext instance. - */ - constructor(args: { - module: EitherModule; - ffi: EitherFFI; - ctx: Lifetime; - rt: Lifetime; - runtime: QuickJSRuntime; - ownedLifetimes?: Disposable[]; - callbacks: QuickJSModuleCallbacks; - }); - get alive(): boolean; - /** - * Dispose of this VM's underlying resources. - * - * @throws Calling this method without disposing of all created handles - * will result in an error. - */ - dispose(): void; - /** - * [`undefined`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/undefined). - */ - get undefined(): QuickJSHandle; - /** - * [`null`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/null). - */ - get null(): QuickJSHandle; - /** - * [`true`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/true). - */ - get true(): QuickJSHandle; - /** - * [`false`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/false). - */ - get false(): QuickJSHandle; - /** - * [`global`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects). - * A handle to the global object inside the interpreter. - * You can set properties to create global variables. - */ - get global(): QuickJSHandle; - /** - * Converts a Javascript number into a QuickJS value. - */ - newNumber(num: number): QuickJSHandle; - /** - * Create a QuickJS [string](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String) value. - */ - newString(str: string): QuickJSHandle; - /** - * Create a QuickJS [symbol](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Symbol) value. - * No two symbols created with this function will be the same value. - */ - newUniqueSymbol(description: string | symbol): QuickJSHandle; - /** - * Get a symbol from the [global registry](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Symbol#shared_symbols_in_the_global_symbol_registry) for the given key. - * All symbols created with the same key will be the same value. - */ - newSymbolFor(key: string | symbol): QuickJSHandle; - /** - * Create a QuickJS [bigint](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/BigInt) value. - */ - newBigInt(num: bigint): QuickJSHandle; - /** - * `{}`. - * Create a new QuickJS [object](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Object_initializer). - * - * @param prototype - Like [`Object.create`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/create). - */ - newObject(prototype?: QuickJSHandle): QuickJSHandle; - /** - * `[]`. - * Create a new QuickJS [array](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array). - */ - newArray(): QuickJSHandle; - /** - * Create a new [[QuickJSDeferredPromise]]. Use `deferred.resolve(handle)` and - * `deferred.reject(handle)` to fulfill the promise handle available at `deferred.handle`. - * Note that you are responsible for calling `deferred.dispose()` to free the underlying - * resources; see the documentation on [[QuickJSDeferredPromise]] for details. - */ - newPromise(): QuickJSDeferredPromise; - /** - * Create a new [[QuickJSDeferredPromise]] that resolves when the - * given native Promise resolves. Rejections will be coerced - * to a QuickJS error. - * - * You can still resolve/reject the created promise "early" using its methods. - */ - newPromise(promise: Promise): QuickJSDeferredPromise; - /** - * Construct a new native Promise, and then convert it into a - * [[QuickJSDeferredPromise]]. - * - * You can still resolve/reject the created promise "early" using its methods. - */ - newPromise(newPromiseFn: PromiseExecutor): QuickJSDeferredPromise; - /** - * Convert a Javascript function into a QuickJS function value. - * See [[VmFunctionImplementation]] for more details. - * - * A [[VmFunctionImplementation]] should not free its arguments or its return - * value. A VmFunctionImplementation should also not retain any references to - * its return value. - * - * To implement an async function, create a promise with [[newPromise]], then - * return the deferred promise handle from `deferred.handle` from your - * function implementation: - * - * ``` - * const deferred = vm.newPromise() - * someNativeAsyncFunction().then(deferred.resolve) - * return deferred.handle - * ``` - */ - newFunction(name: string, fn: VmFunctionImplementation): QuickJSHandle; - newError(error: { - name: string; - message: string; - }): QuickJSHandle; - newError(message: string): QuickJSHandle; - newError(): QuickJSHandle; - /** - * `typeof` operator. **Not** [standards compliant](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/typeof). - * - * @remarks - * Does not support BigInt values correctly. - */ - typeof(handle: QuickJSHandle): string; - /** - * Converts `handle` into a Javascript number. - * @returns `NaN` on error, otherwise a `number`. - */ - getNumber(handle: QuickJSHandle): number; - /** - * Converts `handle` to a Javascript string. - */ - getString(handle: QuickJSHandle): string; - /** - * Converts `handle` into a Javascript symbol. If the symbol is in the global - * registry in the guest, it will be created with Symbol.for on the host. - */ - getSymbol(handle: QuickJSHandle): symbol; - /** - * Converts `handle` to a Javascript bigint. - */ - getBigInt(handle: QuickJSHandle): bigint; - /** - * `Promise.resolve(value)`. - * Convert a handle containing a Promise-like value inside the VM into an - * actual promise on the host. - * - * @remarks - * You may need to call [[executePendingJobs]] to ensure that the promise is resolved. - * - * @param promiseLikeHandle - A handle to a Promise-like value with a `.then(onSuccess, onError)` method. - */ - resolvePromise(promiseLikeHandle: QuickJSHandle): Promise>; - /** - * `handle[key]`. - * Get a property from a JSValue. - * - * @param key - The property may be specified as a JSValue handle, or as a - * Javascript string (which will be converted automatically). - */ - getProp(handle: QuickJSHandle, key: QuickJSPropertyKey): QuickJSHandle; - /** - * `handle[key] = value`. - * Set a property on a JSValue. - * - * @remarks - * Note that the QuickJS authors recommend using [[defineProp]] to define new - * properties. - * - * @param key - The property may be specified as a JSValue handle, or as a - * Javascript string or number (which will be converted automatically to a JSValue). - */ - setProp(handle: QuickJSHandle, key: QuickJSPropertyKey, value: QuickJSHandle): void; - /** - * [`Object.defineProperty(handle, key, descriptor)`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/defineProperty). - * - * @param key - The property may be specified as a JSValue handle, or as a - * Javascript string or number (which will be converted automatically to a JSValue). - */ - defineProp(handle: QuickJSHandle, key: QuickJSPropertyKey, descriptor: VmPropertyDescriptor): void; - /** - * [`func.call(thisVal, ...args)`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function/call). - * Call a JSValue as a function. - * - * See [[unwrapResult]], which will throw if the function returned an error, or - * return the result handle directly. If evaluation returned a handle containing - * a promise, use [[resolvePromise]] to convert it to a native promise and - * [[executePendingJobs]] to finish evaluating the promise. - * - * @returns A result. If the function threw synchronously, `result.error` be a - * handle to the exception. Otherwise `result.value` will be a handle to the - * value. - */ - callFunction(func: QuickJSHandle, thisVal: QuickJSHandle, ...args: QuickJSHandle[]): VmCallResult; - /** - * Like [`eval(code)`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/eval#Description). - * Evaluates the Javascript source `code` in the global scope of this VM. - * When working with async code, you many need to call [[executePendingJobs]] - * to execute callbacks pending after synchronous evaluation returns. - * - * See [[unwrapResult]], which will throw if the function returned an error, or - * return the result handle directly. If evaluation returned a handle containing - * a promise, use [[resolvePromise]] to convert it to a native promise and - * [[executePendingJobs]] to finish evaluating the promise. - * - * *Note*: to protect against infinite loops, provide an interrupt handler to - * [[setInterruptHandler]]. You can use [[shouldInterruptAfterDeadline]] to - * create a time-based deadline. - * - * @returns The last statement's value. If the code threw synchronously, - * `result.error` will be a handle to the exception. If execution was - * interrupted, the error will have name `InternalError` and message - * `interrupted`. - */ - evalCode(code: string, filename?: string, - /** - * If no options are passed, a heuristic will be used to detect if `code` is - * an ES module. - * - * See [[EvalFlags]] for number semantics. - */ - options?: number | ContextEvalOptions): VmCallResult; - /** - * Throw an error in the VM, interrupted whatever current execution is in progress when execution resumes. - * @experimental - */ - throw(error: Error | QuickJSHandle): any; - /** - * @private - */ - protected borrowPropertyKey(key: QuickJSPropertyKey): QuickJSHandle; - /** - * @private - */ - getMemory(rt: JSRuntimePointer): ContextMemory; - /** - * Dump a JSValue to Javascript in a best-effort fashion. - * Returns `handle.toString()` if it cannot be serialized to JSON. - */ - dump(handle: QuickJSHandle): any; - /** - * Unwrap a SuccessOrFail result such as a [[VmCallResult]] or a - * [[ExecutePendingJobsResult]], where the fail branch contains a handle to a QuickJS error value. - * If the result is a success, returns the value. - * If the result is an error, converts the error to a native object and throws the error. - */ - unwrapResult(result: SuccessOrFail): T; - /** @private */ - protected fnNextId: number; - /** @private */ - protected fnMaps: Map>>; - /** @private */ - protected getFunction(fn_id: number): VmFunctionImplementation | undefined; - /** @private */ - protected setFunction(fn_id: number, handle: VmFunctionImplementation): Map>; - /** - * @hidden - */ - private cToHostCallbacks; - private errorToHandle; -} -export {}; diff --git a/node_modules/@tootallnate/quickjs-emscripten/dist/context.js b/node_modules/@tootallnate/quickjs-emscripten/dist/context.js deleted file mode 100644 index e65258d..0000000 --- a/node_modules/@tootallnate/quickjs-emscripten/dist/context.js +++ /dev/null @@ -1,691 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.QuickJSContext = void 0; -const debug_1 = require("./debug"); -const deferred_promise_1 = require("./deferred-promise"); -const errors_1 = require("./errors"); -const lifetime_1 = require("./lifetime"); -const memory_1 = require("./memory"); -const types_1 = require("./types"); -/** - * @private - */ -class ContextMemory extends memory_1.ModuleMemory { - /** @private */ - constructor(args) { - super(args.module); - this.scope = new lifetime_1.Scope(); - this.copyJSValue = (ptr) => { - return this.ffi.QTS_DupValuePointer(this.ctx.value, ptr); - }; - this.freeJSValue = (ptr) => { - this.ffi.QTS_FreeValuePointer(this.ctx.value, ptr); - }; - args.ownedLifetimes?.forEach((lifetime) => this.scope.manage(lifetime)); - this.owner = args.owner; - this.module = args.module; - this.ffi = args.ffi; - this.rt = args.rt; - this.ctx = this.scope.manage(args.ctx); - } - get alive() { - return this.scope.alive; - } - dispose() { - return this.scope.dispose(); - } - /** - * Track `lifetime` so that it is disposed when this scope is disposed. - */ - manage(lifetime) { - return this.scope.manage(lifetime); - } - consumeJSCharPointer(ptr) { - const str = this.module.UTF8ToString(ptr); - this.ffi.QTS_FreeCString(this.ctx.value, ptr); - return str; - } - heapValueHandle(ptr) { - return new lifetime_1.Lifetime(ptr, this.copyJSValue, this.freeJSValue, this.owner); - } -} -/** - * QuickJSContext wraps a QuickJS Javascript context (JSContext*) within a - * runtime. The contexts within the same runtime may exchange objects freely. - * You can think of separate runtimes like different domains in a browser, and - * the contexts within a runtime like the different windows open to the same - * domain. The {@link runtime} references the context's runtime. - * - * This class's methods return {@link QuickJSHandle}, which wrap C pointers (JSValue*). - * It's the caller's responsibility to call `.dispose()` on any - * handles you create to free memory once you're done with the handle. - * - * Use {@link QuickJSRuntime.newContext} or {@link QuickJSWASMModule.newContext} - * to create a new QuickJSContext. - * - * Create QuickJS values inside the interpreter with methods like - * [[newNumber]], [[newString]], [[newArray]], [[newObject]], - * [[newFunction]], and [[newPromise]]. - * - * Call [[setProp]] or [[defineProp]] to customize objects. Use those methods - * with [[global]] to expose the values you create to the interior of the - * interpreter, so they can be used in [[evalCode]]. - * - * Use [[evalCode]] or [[callFunction]] to execute Javascript inside the VM. If - * you're using asynchronous code inside the QuickJSContext, you may need to also - * call [[executePendingJobs]]. Executing code inside the runtime returns a - * result object representing successful execution or an error. You must dispose - * of any such results to avoid leaking memory inside the VM. - * - * Implement memory and CPU constraints at the runtime level, using [[runtime]]. - * See {@link QuickJSRuntime} for more information. - * - */ -// TODO: Manage own callback registration -class QuickJSContext { - /** - * Use {@link QuickJS.createVm} to create a QuickJSContext instance. - */ - constructor(args) { - /** @private */ - this._undefined = undefined; - /** @private */ - this._null = undefined; - /** @private */ - this._false = undefined; - /** @private */ - this._true = undefined; - /** @private */ - this._global = undefined; - /** @private */ - this._BigInt = undefined; - /** @private */ - this.fnNextId = -32768; // min value of signed 16bit int used by Quickjs - /** @private */ - this.fnMaps = new Map(); - /** - * @hidden - */ - this.cToHostCallbacks = { - callFunction: (ctx, this_ptr, argc, argv, fn_id) => { - if (ctx !== this.ctx.value) { - throw new Error("QuickJSContext instance received C -> JS call with mismatched ctx"); - } - const fn = this.getFunction(fn_id); - if (!fn) { - // this "throw" is not catch-able from the TS side. could we somehow handle this higher up? - throw new Error(`QuickJSContext had no callback with id ${fn_id}`); - } - return lifetime_1.Scope.withScopeMaybeAsync(this, function* (awaited, scope) { - const thisHandle = scope.manage(new lifetime_1.WeakLifetime(this_ptr, this.memory.copyJSValue, this.memory.freeJSValue, this.runtime)); - const argHandles = new Array(argc); - for (let i = 0; i < argc; i++) { - const ptr = this.ffi.QTS_ArgvGetJSValueConstPointer(argv, i); - argHandles[i] = scope.manage(new lifetime_1.WeakLifetime(ptr, this.memory.copyJSValue, this.memory.freeJSValue, this.runtime)); - } - try { - const result = yield* awaited(fn.apply(thisHandle, argHandles)); - if (result) { - if ("error" in result && result.error) { - (0, debug_1.debugLog)("throw error", result.error); - throw result.error; - } - const handle = scope.manage(result instanceof lifetime_1.Lifetime ? result : result.value); - return this.ffi.QTS_DupValuePointer(this.ctx.value, handle.value); - } - return 0; - } - catch (error) { - return this.errorToHandle(error).consume((errorHandle) => this.ffi.QTS_Throw(this.ctx.value, errorHandle.value)); - } - }); - }, - }; - this.runtime = args.runtime; - this.module = args.module; - this.ffi = args.ffi; - this.rt = args.rt; - this.ctx = args.ctx; - this.memory = new ContextMemory({ - ...args, - owner: this.runtime, - }); - args.callbacks.setContextCallbacks(this.ctx.value, this.cToHostCallbacks); - this.dump = this.dump.bind(this); - this.getString = this.getString.bind(this); - this.getNumber = this.getNumber.bind(this); - this.resolvePromise = this.resolvePromise.bind(this); - } - // @implement Disposable ---------------------------------------------------- - get alive() { - return this.memory.alive; - } - /** - * Dispose of this VM's underlying resources. - * - * @throws Calling this method without disposing of all created handles - * will result in an error. - */ - dispose() { - this.memory.dispose(); - } - // Globals ------------------------------------------------------------------ - /** - * [`undefined`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/undefined). - */ - get undefined() { - if (this._undefined) { - return this._undefined; - } - // Undefined is a constant, immutable value in QuickJS. - const ptr = this.ffi.QTS_GetUndefined(); - return (this._undefined = new lifetime_1.StaticLifetime(ptr)); - } - /** - * [`null`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/null). - */ - get null() { - if (this._null) { - return this._null; - } - // Null is a constant, immutable value in QuickJS. - const ptr = this.ffi.QTS_GetNull(); - return (this._null = new lifetime_1.StaticLifetime(ptr)); - } - /** - * [`true`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/true). - */ - get true() { - if (this._true) { - return this._true; - } - // True is a constant, immutable value in QuickJS. - const ptr = this.ffi.QTS_GetTrue(); - return (this._true = new lifetime_1.StaticLifetime(ptr)); - } - /** - * [`false`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/false). - */ - get false() { - if (this._false) { - return this._false; - } - // False is a constant, immutable value in QuickJS. - const ptr = this.ffi.QTS_GetFalse(); - return (this._false = new lifetime_1.StaticLifetime(ptr)); - } - /** - * [`global`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects). - * A handle to the global object inside the interpreter. - * You can set properties to create global variables. - */ - get global() { - if (this._global) { - return this._global; - } - // The global is a JSValue, but since it's lifetime is as long as the VM's, - // we should manage it. - const ptr = this.ffi.QTS_GetGlobalObject(this.ctx.value); - // Automatically clean up this reference when we dispose - this.memory.manage(this.memory.heapValueHandle(ptr)); - // This isn't technically a static lifetime, but since it has the same - // lifetime as the VM, it's okay to fake one since when the VM is - // disposed, no other functions will accept the value. - this._global = new lifetime_1.StaticLifetime(ptr, this.runtime); - return this._global; - } - // New values --------------------------------------------------------------- - /** - * Converts a Javascript number into a QuickJS value. - */ - newNumber(num) { - return this.memory.heapValueHandle(this.ffi.QTS_NewFloat64(this.ctx.value, num)); - } - /** - * Create a QuickJS [string](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String) value. - */ - newString(str) { - const ptr = this.memory - .newHeapCharPointer(str) - .consume((charHandle) => this.ffi.QTS_NewString(this.ctx.value, charHandle.value)); - return this.memory.heapValueHandle(ptr); - } - /** - * Create a QuickJS [symbol](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Symbol) value. - * No two symbols created with this function will be the same value. - */ - newUniqueSymbol(description) { - const key = (typeof description === "symbol" ? description.description : description) ?? ""; - const ptr = this.memory - .newHeapCharPointer(key) - .consume((charHandle) => this.ffi.QTS_NewSymbol(this.ctx.value, charHandle.value, 0)); - return this.memory.heapValueHandle(ptr); - } - /** - * Get a symbol from the [global registry](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Symbol#shared_symbols_in_the_global_symbol_registry) for the given key. - * All symbols created with the same key will be the same value. - */ - newSymbolFor(key) { - const description = (typeof key === "symbol" ? key.description : key) ?? ""; - const ptr = this.memory - .newHeapCharPointer(description) - .consume((charHandle) => this.ffi.QTS_NewSymbol(this.ctx.value, charHandle.value, 1)); - return this.memory.heapValueHandle(ptr); - } - /** - * Create a QuickJS [bigint](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/BigInt) value. - */ - newBigInt(num) { - if (!this._BigInt) { - const bigIntHandle = this.getProp(this.global, "BigInt"); - this.memory.manage(bigIntHandle); - this._BigInt = new lifetime_1.StaticLifetime(bigIntHandle.value, this.runtime); - } - const bigIntHandle = this._BigInt; - const asString = String(num); - return this.newString(asString).consume((handle) => this.unwrapResult(this.callFunction(bigIntHandle, this.undefined, handle))); - } - /** - * `{}`. - * Create a new QuickJS [object](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Object_initializer). - * - * @param prototype - Like [`Object.create`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/create). - */ - newObject(prototype) { - if (prototype) { - this.runtime.assertOwned(prototype); - } - const ptr = prototype - ? this.ffi.QTS_NewObjectProto(this.ctx.value, prototype.value) - : this.ffi.QTS_NewObject(this.ctx.value); - return this.memory.heapValueHandle(ptr); - } - /** - * `[]`. - * Create a new QuickJS [array](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array). - */ - newArray() { - const ptr = this.ffi.QTS_NewArray(this.ctx.value); - return this.memory.heapValueHandle(ptr); - } - newPromise(value) { - const deferredPromise = lifetime_1.Scope.withScope((scope) => { - const mutablePointerArray = scope.manage(this.memory.newMutablePointerArray(2)); - const promisePtr = this.ffi.QTS_NewPromiseCapability(this.ctx.value, mutablePointerArray.value.ptr); - const promiseHandle = this.memory.heapValueHandle(promisePtr); - const [resolveHandle, rejectHandle] = Array.from(mutablePointerArray.value.typedArray).map((jsvaluePtr) => this.memory.heapValueHandle(jsvaluePtr)); - return new deferred_promise_1.QuickJSDeferredPromise({ - context: this, - promiseHandle, - resolveHandle, - rejectHandle, - }); - }); - if (value && typeof value === "function") { - value = new Promise(value); - } - if (value) { - Promise.resolve(value).then(deferredPromise.resolve, (error) => error instanceof lifetime_1.Lifetime - ? deferredPromise.reject(error) - : this.newError(error).consume(deferredPromise.reject)); - } - return deferredPromise; - } - /** - * Convert a Javascript function into a QuickJS function value. - * See [[VmFunctionImplementation]] for more details. - * - * A [[VmFunctionImplementation]] should not free its arguments or its return - * value. A VmFunctionImplementation should also not retain any references to - * its return value. - * - * To implement an async function, create a promise with [[newPromise]], then - * return the deferred promise handle from `deferred.handle` from your - * function implementation: - * - * ``` - * const deferred = vm.newPromise() - * someNativeAsyncFunction().then(deferred.resolve) - * return deferred.handle - * ``` - */ - newFunction(name, fn) { - const fnId = ++this.fnNextId; - this.setFunction(fnId, fn); - return this.memory.heapValueHandle(this.ffi.QTS_NewFunction(this.ctx.value, fnId, name)); - } - newError(error) { - const errorHandle = this.memory.heapValueHandle(this.ffi.QTS_NewError(this.ctx.value)); - if (error && typeof error === "object") { - if (error.name !== undefined) { - this.newString(error.name).consume((handle) => this.setProp(errorHandle, "name", handle)); - } - if (error.message !== undefined) { - this.newString(error.message).consume((handle) => this.setProp(errorHandle, "message", handle)); - } - } - else if (typeof error === "string") { - this.newString(error).consume((handle) => this.setProp(errorHandle, "message", handle)); - } - else if (error !== undefined) { - // This isn't supported in the type signature but maybe it will make life easier. - this.newString(String(error)).consume((handle) => this.setProp(errorHandle, "message", handle)); - } - return errorHandle; - } - // Read values -------------------------------------------------------------- - /** - * `typeof` operator. **Not** [standards compliant](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/typeof). - * - * @remarks - * Does not support BigInt values correctly. - */ - typeof(handle) { - this.runtime.assertOwned(handle); - return this.memory.consumeHeapCharPointer(this.ffi.QTS_Typeof(this.ctx.value, handle.value)); - } - /** - * Converts `handle` into a Javascript number. - * @returns `NaN` on error, otherwise a `number`. - */ - getNumber(handle) { - this.runtime.assertOwned(handle); - return this.ffi.QTS_GetFloat64(this.ctx.value, handle.value); - } - /** - * Converts `handle` to a Javascript string. - */ - getString(handle) { - this.runtime.assertOwned(handle); - return this.memory.consumeJSCharPointer(this.ffi.QTS_GetString(this.ctx.value, handle.value)); - } - /** - * Converts `handle` into a Javascript symbol. If the symbol is in the global - * registry in the guest, it will be created with Symbol.for on the host. - */ - getSymbol(handle) { - this.runtime.assertOwned(handle); - const key = this.memory.consumeJSCharPointer(this.ffi.QTS_GetSymbolDescriptionOrKey(this.ctx.value, handle.value)); - const isGlobal = this.ffi.QTS_IsGlobalSymbol(this.ctx.value, handle.value); - return isGlobal ? Symbol.for(key) : Symbol(key); - } - /** - * Converts `handle` to a Javascript bigint. - */ - getBigInt(handle) { - this.runtime.assertOwned(handle); - const asString = this.getString(handle); - return BigInt(asString); - } - /** - * `Promise.resolve(value)`. - * Convert a handle containing a Promise-like value inside the VM into an - * actual promise on the host. - * - * @remarks - * You may need to call [[executePendingJobs]] to ensure that the promise is resolved. - * - * @param promiseLikeHandle - A handle to a Promise-like value with a `.then(onSuccess, onError)` method. - */ - resolvePromise(promiseLikeHandle) { - this.runtime.assertOwned(promiseLikeHandle); - const vmResolveResult = lifetime_1.Scope.withScope((scope) => { - const vmPromise = scope.manage(this.getProp(this.global, "Promise")); - const vmPromiseResolve = scope.manage(this.getProp(vmPromise, "resolve")); - return this.callFunction(vmPromiseResolve, vmPromise, promiseLikeHandle); - }); - if (vmResolveResult.error) { - return Promise.resolve(vmResolveResult); - } - return new Promise((resolve) => { - lifetime_1.Scope.withScope((scope) => { - const resolveHandle = scope.manage(this.newFunction("resolve", (value) => { - resolve({ value: value && value.dup() }); - })); - const rejectHandle = scope.manage(this.newFunction("reject", (error) => { - resolve({ error: error && error.dup() }); - })); - const promiseHandle = scope.manage(vmResolveResult.value); - const promiseThenHandle = scope.manage(this.getProp(promiseHandle, "then")); - this.unwrapResult(this.callFunction(promiseThenHandle, promiseHandle, resolveHandle, rejectHandle)).dispose(); - }); - }); - } - // Properties --------------------------------------------------------------- - /** - * `handle[key]`. - * Get a property from a JSValue. - * - * @param key - The property may be specified as a JSValue handle, or as a - * Javascript string (which will be converted automatically). - */ - getProp(handle, key) { - this.runtime.assertOwned(handle); - const ptr = this.borrowPropertyKey(key).consume((quickJSKey) => this.ffi.QTS_GetProp(this.ctx.value, handle.value, quickJSKey.value)); - const result = this.memory.heapValueHandle(ptr); - return result; - } - /** - * `handle[key] = value`. - * Set a property on a JSValue. - * - * @remarks - * Note that the QuickJS authors recommend using [[defineProp]] to define new - * properties. - * - * @param key - The property may be specified as a JSValue handle, or as a - * Javascript string or number (which will be converted automatically to a JSValue). - */ - setProp(handle, key, value) { - this.runtime.assertOwned(handle); - // free newly allocated value if key was a string or number. No-op if string was already - // a QuickJS handle. - this.borrowPropertyKey(key).consume((quickJSKey) => this.ffi.QTS_SetProp(this.ctx.value, handle.value, quickJSKey.value, value.value)); - } - /** - * [`Object.defineProperty(handle, key, descriptor)`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/defineProperty). - * - * @param key - The property may be specified as a JSValue handle, or as a - * Javascript string or number (which will be converted automatically to a JSValue). - */ - defineProp(handle, key, descriptor) { - this.runtime.assertOwned(handle); - lifetime_1.Scope.withScope((scope) => { - const quickJSKey = scope.manage(this.borrowPropertyKey(key)); - const value = descriptor.value || this.undefined; - const configurable = Boolean(descriptor.configurable); - const enumerable = Boolean(descriptor.enumerable); - const hasValue = Boolean(descriptor.value); - const get = descriptor.get - ? scope.manage(this.newFunction(descriptor.get.name, descriptor.get)) - : this.undefined; - const set = descriptor.set - ? scope.manage(this.newFunction(descriptor.set.name, descriptor.set)) - : this.undefined; - this.ffi.QTS_DefineProp(this.ctx.value, handle.value, quickJSKey.value, value.value, get.value, set.value, configurable, enumerable, hasValue); - }); - } - // Evaluation --------------------------------------------------------------- - /** - * [`func.call(thisVal, ...args)`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function/call). - * Call a JSValue as a function. - * - * See [[unwrapResult]], which will throw if the function returned an error, or - * return the result handle directly. If evaluation returned a handle containing - * a promise, use [[resolvePromise]] to convert it to a native promise and - * [[executePendingJobs]] to finish evaluating the promise. - * - * @returns A result. If the function threw synchronously, `result.error` be a - * handle to the exception. Otherwise `result.value` will be a handle to the - * value. - */ - callFunction(func, thisVal, ...args) { - this.runtime.assertOwned(func); - const resultPtr = this.memory - .toPointerArray(args) - .consume((argsArrayPtr) => this.ffi.QTS_Call(this.ctx.value, func.value, thisVal.value, args.length, argsArrayPtr.value)); - const errorPtr = this.ffi.QTS_ResolveException(this.ctx.value, resultPtr); - if (errorPtr) { - this.ffi.QTS_FreeValuePointer(this.ctx.value, resultPtr); - return { error: this.memory.heapValueHandle(errorPtr) }; - } - return { value: this.memory.heapValueHandle(resultPtr) }; - } - /** - * Like [`eval(code)`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/eval#Description). - * Evaluates the Javascript source `code` in the global scope of this VM. - * When working with async code, you many need to call [[executePendingJobs]] - * to execute callbacks pending after synchronous evaluation returns. - * - * See [[unwrapResult]], which will throw if the function returned an error, or - * return the result handle directly. If evaluation returned a handle containing - * a promise, use [[resolvePromise]] to convert it to a native promise and - * [[executePendingJobs]] to finish evaluating the promise. - * - * *Note*: to protect against infinite loops, provide an interrupt handler to - * [[setInterruptHandler]]. You can use [[shouldInterruptAfterDeadline]] to - * create a time-based deadline. - * - * @returns The last statement's value. If the code threw synchronously, - * `result.error` will be a handle to the exception. If execution was - * interrupted, the error will have name `InternalError` and message - * `interrupted`. - */ - evalCode(code, filename = "eval.js", - /** - * If no options are passed, a heuristic will be used to detect if `code` is - * an ES module. - * - * See [[EvalFlags]] for number semantics. - */ - options) { - const detectModule = (options === undefined ? 1 : 0); - const flags = (0, types_1.evalOptionsToFlags)(options); - const resultPtr = this.memory - .newHeapCharPointer(code) - .consume((charHandle) => this.ffi.QTS_Eval(this.ctx.value, charHandle.value, filename, detectModule, flags)); - const errorPtr = this.ffi.QTS_ResolveException(this.ctx.value, resultPtr); - if (errorPtr) { - this.ffi.QTS_FreeValuePointer(this.ctx.value, resultPtr); - return { error: this.memory.heapValueHandle(errorPtr) }; - } - return { value: this.memory.heapValueHandle(resultPtr) }; - } - /** - * Throw an error in the VM, interrupted whatever current execution is in progress when execution resumes. - * @experimental - */ - throw(error) { - return this.errorToHandle(error).consume((handle) => this.ffi.QTS_Throw(this.ctx.value, handle.value)); - } - /** - * @private - */ - borrowPropertyKey(key) { - if (typeof key === "number") { - return this.newNumber(key); - } - if (typeof key === "string") { - return this.newString(key); - } - // key is already a JSValue, but we're borrowing it. Return a static handle - // for internal use only. - return new lifetime_1.StaticLifetime(key.value, this.runtime); - } - /** - * @private - */ - getMemory(rt) { - if (rt === this.rt.value) { - return this.memory; - } - else { - throw new Error("Private API. Cannot get memory from a different runtime"); - } - } - // Utilities ---------------------------------------------------------------- - /** - * Dump a JSValue to Javascript in a best-effort fashion. - * Returns `handle.toString()` if it cannot be serialized to JSON. - */ - dump(handle) { - this.runtime.assertOwned(handle); - const type = this.typeof(handle); - if (type === "string") { - return this.getString(handle); - } - else if (type === "number") { - return this.getNumber(handle); - } - else if (type === "bigint") { - return this.getBigInt(handle); - } - else if (type === "undefined") { - return undefined; - } - else if (type === "symbol") { - return this.getSymbol(handle); - } - const str = this.memory.consumeJSCharPointer(this.ffi.QTS_Dump(this.ctx.value, handle.value)); - try { - return JSON.parse(str); - } - catch (err) { - return str; - } - } - /** - * Unwrap a SuccessOrFail result such as a [[VmCallResult]] or a - * [[ExecutePendingJobsResult]], where the fail branch contains a handle to a QuickJS error value. - * If the result is a success, returns the value. - * If the result is an error, converts the error to a native object and throws the error. - */ - unwrapResult(result) { - if (result.error) { - const context = "context" in result.error ? result.error.context : this; - const cause = result.error.consume((error) => this.dump(error)); - if (cause && typeof cause === "object" && typeof cause.message === "string") { - const { message, name, stack } = cause; - const exception = new errors_1.QuickJSUnwrapError(""); - const hostStack = exception.stack; - if (typeof name === "string") { - exception.name = cause.name; - } - if (typeof stack === "string") { - exception.stack = `${name}: ${message}\n${cause.stack}Host: ${hostStack}`; - } - Object.assign(exception, { cause, context, message }); - throw exception; - } - throw new errors_1.QuickJSUnwrapError(cause, context); - } - return result.value; - } - /** @private */ - getFunction(fn_id) { - const map_id = fn_id >> 8; - const fnMap = this.fnMaps.get(map_id); - if (!fnMap) { - return undefined; - } - return fnMap.get(fn_id); - } - /** @private */ - setFunction(fn_id, handle) { - const map_id = fn_id >> 8; - let fnMap = this.fnMaps.get(map_id); - if (!fnMap) { - fnMap = new Map(); - this.fnMaps.set(map_id, fnMap); - } - return fnMap.set(fn_id, handle); - } - errorToHandle(error) { - if (error instanceof lifetime_1.Lifetime) { - return error; - } - return this.newError(error); - } -} -exports.QuickJSContext = QuickJSContext; -//# sourceMappingURL=context.js.map \ No newline at end of file diff --git a/node_modules/@tootallnate/quickjs-emscripten/dist/context.js.map b/node_modules/@tootallnate/quickjs-emscripten/dist/context.js.map deleted file mode 100644 index 1398a53..0000000 --- a/node_modules/@tootallnate/quickjs-emscripten/dist/context.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"context.js","sourceRoot":"","sources":["../ts/context.ts"],"names":[],"mappings":";;;AAAA,mCAAkC;AAClC,yDAA2D;AAE3D,qCAA6C;AAa7C,yCAAsF;AACtF,qCAAuC;AAGvC,mCAOgB;AAehB;;GAEG;AACH,MAAM,aAAc,SAAQ,qBAAY;IAQtC,eAAe;IACf,YAAY,IAOX;QACC,KAAK,CAAC,IAAI,CAAC,MAAM,CAAC,CAAA;QAXX,UAAK,GAAG,IAAI,gBAAK,EAAE,CAAA;QAmC5B,gBAAW,GAAG,CAAC,GAAyC,EAAE,EAAE;YAC1D,OAAO,IAAI,CAAC,GAAG,CAAC,mBAAmB,CAAC,IAA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,KAAK,SAAS,SAAS,EAAE,CAAA;iBAC1E;gBAED,MAAM,CAAC,MAAM,CAAC,SAAS,EAAE,EAAE,KAAK,EAAE,OAAO,EAAE,OAAO,EAAE,CAAC,CAAA;gBACrD,MAAM,SAAS,CAAA;aAChB;YAED,MAAM,IAAI,2BAAkB,CAAC,KAAK,EAAE,OAAO,CAAC,CAAA;SAC7C;QAED,OAAO,MAAM,CAAC,KAAK,CAAA;IACrB,CAAC;IAOD,eAAe;IACL,WAAW,CAAC,KAAa;QACjC,MAAM,MAAM,GAAG,KAAK,IAAI,CAAC,CAAA;QACzB,MAAM,KAAK,GAAG,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,MAAM,CAAC,CAAA;QACrC,IAAI,CAAC,KAAK,EAAE;YACV,OAAO,SAAS,CAAA;SACjB;QACD,OAAO,KAAK,CAAC,GAAG,CAAC,KAAK,CAAC,CAAA;IACzB,CAAC;IAED,eAAe;IACL,WAAW,CAAC,KAAa,EAAE,MAA+C;QAClF,MAAM,MAAM,GAAG,KAAK,IAAI,CAAC,CAAA;QACzB,IAAI,KAAK,GAAG,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,MAAM,CAAC,CAAA;QACnC,IAAI,CAAC,KAAK,EAAE;YACV,KAAK,GAAG,IAAI,GAAG,EAAmD,CAAA;YAClE,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,MAAM,EAAE,KAAK,CAAC,CAAA;SAC/B;QACD,OAAO,KAAK,CAAC,GAAG,CAAC,KAAK,EAAE,MAAM,CAAC,CAAA;IACjC,CAAC;IAiDO,aAAa,CAAC,KAA4B;QAChD,IAAI,KAAK,YAAY,mBAAQ,EAAE;YAC7B,OAAO,KAAK,CAAA;SACb;QAED,OAAO,IAAI,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAA;IAC7B,CAAC;CACF;AA5xBD,wCA4xBC","sourcesContent":["import { debugLog } from \"./debug\"\nimport { QuickJSDeferredPromise } from \"./deferred-promise\"\nimport type { EitherModule } from \"./emscripten-types\"\nimport { QuickJSUnwrapError } from \"./errors\"\nimport {\n EvalDetectModule,\n EvalFlags,\n JSBorrowedCharPointer,\n JSContextPointer,\n JSModuleDefPointer,\n JSRuntimePointer,\n JSValueConstPointer,\n JSValuePointer,\n JSValuePointerPointer,\n JSVoidPointer,\n} from \"./types-ffi\"\nimport { Disposable, Lifetime, Scope, StaticLifetime, WeakLifetime } from \"./lifetime\"\nimport { ModuleMemory } from \"./memory\"\nimport { ContextCallbacks, QuickJSModuleCallbacks } from \"./module\"\nimport { QuickJSRuntime } from \"./runtime\"\nimport {\n ContextEvalOptions,\n EitherFFI,\n evalOptionsToFlags,\n JSValue,\n PromiseExecutor,\n QuickJSHandle,\n} from \"./types\"\nimport {\n LowLevelJavascriptVm,\n SuccessOrFail,\n VmCallResult,\n VmFunctionImplementation,\n VmPropertyDescriptor,\n} from \"./vm-interface\"\n\n/**\n * Property key for getting or setting a property on a handle with\n * [[QuickJSContext.getProp]], [[QuickJSContext.setProp]], or [[QuickJSContext.defineProp]].\n */\nexport type QuickJSPropertyKey = number | string | QuickJSHandle\n\n/**\n * @private\n */\nclass ContextMemory extends ModuleMemory implements Disposable {\n readonly owner: QuickJSRuntime\n readonly ctx: Lifetime\n readonly rt: Lifetime\n readonly module: EitherModule\n readonly ffi: EitherFFI\n readonly scope = new Scope()\n\n /** @private */\n constructor(args: {\n owner: QuickJSRuntime\n module: EitherModule\n ffi: EitherFFI\n ctx: Lifetime\n rt: Lifetime\n ownedLifetimes?: Disposable[]\n }) {\n super(args.module)\n args.ownedLifetimes?.forEach((lifetime) => this.scope.manage(lifetime))\n this.owner = args.owner\n this.module = args.module\n this.ffi = args.ffi\n this.rt = args.rt\n this.ctx = this.scope.manage(args.ctx)\n }\n\n get alive() {\n return this.scope.alive\n }\n\n dispose() {\n return this.scope.dispose()\n }\n\n /**\n * Track `lifetime` so that it is disposed when this scope is disposed.\n */\n manage(lifetime: T): T {\n return this.scope.manage(lifetime)\n }\n\n copyJSValue = (ptr: JSValuePointer | JSValueConstPointer) => {\n return this.ffi.QTS_DupValuePointer(this.ctx.value, ptr)\n }\n\n freeJSValue = (ptr: JSValuePointer) => {\n this.ffi.QTS_FreeValuePointer(this.ctx.value, ptr)\n }\n\n consumeJSCharPointer(ptr: JSBorrowedCharPointer): string {\n const str = this.module.UTF8ToString(ptr)\n this.ffi.QTS_FreeCString(this.ctx.value, ptr)\n return str\n }\n\n heapValueHandle(ptr: JSValuePointer): JSValue {\n return new Lifetime(ptr, this.copyJSValue, this.freeJSValue, this.owner)\n }\n}\n\n/**\n * QuickJSContext wraps a QuickJS Javascript context (JSContext*) within a\n * runtime. The contexts within the same runtime may exchange objects freely.\n * You can think of separate runtimes like different domains in a browser, and\n * the contexts within a runtime like the different windows open to the same\n * domain. The {@link runtime} references the context's runtime.\n *\n * This class's methods return {@link QuickJSHandle}, which wrap C pointers (JSValue*).\n * It's the caller's responsibility to call `.dispose()` on any\n * handles you create to free memory once you're done with the handle.\n *\n * Use {@link QuickJSRuntime.newContext} or {@link QuickJSWASMModule.newContext}\n * to create a new QuickJSContext.\n *\n * Create QuickJS values inside the interpreter with methods like\n * [[newNumber]], [[newString]], [[newArray]], [[newObject]],\n * [[newFunction]], and [[newPromise]].\n *\n * Call [[setProp]] or [[defineProp]] to customize objects. Use those methods\n * with [[global]] to expose the values you create to the interior of the\n * interpreter, so they can be used in [[evalCode]].\n *\n * Use [[evalCode]] or [[callFunction]] to execute Javascript inside the VM. If\n * you're using asynchronous code inside the QuickJSContext, you may need to also\n * call [[executePendingJobs]]. Executing code inside the runtime returns a\n * result object representing successful execution or an error. You must dispose\n * of any such results to avoid leaking memory inside the VM.\n *\n * Implement memory and CPU constraints at the runtime level, using [[runtime]].\n * See {@link QuickJSRuntime} for more information.\n *\n */\n// TODO: Manage own callback registration\nexport class QuickJSContext implements LowLevelJavascriptVm, Disposable {\n /**\n * The runtime that created this context.\n */\n public readonly runtime: QuickJSRuntime\n\n /** @private */\n protected readonly ctx: Lifetime\n /** @private */\n protected readonly rt: Lifetime\n /** @private */\n protected readonly module: EitherModule\n /** @private */\n protected readonly ffi: EitherFFI\n /** @private */\n protected memory: ContextMemory\n\n /** @private */\n protected _undefined: QuickJSHandle | undefined = undefined\n /** @private */\n protected _null: QuickJSHandle | undefined = undefined\n /** @private */\n protected _false: QuickJSHandle | undefined = undefined\n /** @private */\n protected _true: QuickJSHandle | undefined = undefined\n /** @private */\n protected _global: QuickJSHandle | undefined = undefined\n /** @private */\n protected _BigInt: QuickJSHandle | undefined = undefined\n\n /**\n * Use {@link QuickJS.createVm} to create a QuickJSContext instance.\n */\n constructor(args: {\n module: EitherModule\n ffi: EitherFFI\n ctx: Lifetime\n rt: Lifetime\n runtime: QuickJSRuntime\n ownedLifetimes?: Disposable[]\n callbacks: QuickJSModuleCallbacks\n }) {\n this.runtime = args.runtime\n this.module = args.module\n this.ffi = args.ffi\n this.rt = args.rt\n this.ctx = args.ctx\n this.memory = new ContextMemory({\n ...args,\n owner: this.runtime,\n })\n args.callbacks.setContextCallbacks(this.ctx.value, this.cToHostCallbacks)\n this.dump = this.dump.bind(this)\n this.getString = this.getString.bind(this)\n this.getNumber = this.getNumber.bind(this)\n this.resolvePromise = this.resolvePromise.bind(this)\n }\n\n // @implement Disposable ----------------------------------------------------\n\n get alive() {\n return this.memory.alive\n }\n\n /**\n * Dispose of this VM's underlying resources.\n *\n * @throws Calling this method without disposing of all created handles\n * will result in an error.\n */\n dispose() {\n this.memory.dispose()\n }\n\n // Globals ------------------------------------------------------------------\n\n /**\n * [`undefined`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/undefined).\n */\n get undefined(): QuickJSHandle {\n if (this._undefined) {\n return this._undefined\n }\n\n // Undefined is a constant, immutable value in QuickJS.\n const ptr = this.ffi.QTS_GetUndefined()\n return (this._undefined = new StaticLifetime(ptr))\n }\n\n /**\n * [`null`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/null).\n */\n get null(): QuickJSHandle {\n if (this._null) {\n return this._null\n }\n\n // Null is a constant, immutable value in QuickJS.\n const ptr = this.ffi.QTS_GetNull()\n return (this._null = new StaticLifetime(ptr))\n }\n\n /**\n * [`true`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/true).\n */\n get true(): QuickJSHandle {\n if (this._true) {\n return this._true\n }\n\n // True is a constant, immutable value in QuickJS.\n const ptr = this.ffi.QTS_GetTrue()\n return (this._true = new StaticLifetime(ptr))\n }\n\n /**\n * [`false`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/false).\n */\n get false(): QuickJSHandle {\n if (this._false) {\n return this._false\n }\n\n // False is a constant, immutable value in QuickJS.\n const ptr = this.ffi.QTS_GetFalse()\n return (this._false = new StaticLifetime(ptr))\n }\n\n /**\n * [`global`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects).\n * A handle to the global object inside the interpreter.\n * You can set properties to create global variables.\n */\n get global(): QuickJSHandle {\n if (this._global) {\n return this._global\n }\n\n // The global is a JSValue, but since it's lifetime is as long as the VM's,\n // we should manage it.\n const ptr = this.ffi.QTS_GetGlobalObject(this.ctx.value)\n\n // Automatically clean up this reference when we dispose\n this.memory.manage(this.memory.heapValueHandle(ptr))\n\n // This isn't technically a static lifetime, but since it has the same\n // lifetime as the VM, it's okay to fake one since when the VM is\n // disposed, no other functions will accept the value.\n this._global = new StaticLifetime(ptr, this.runtime)\n return this._global\n }\n\n // New values ---------------------------------------------------------------\n\n /**\n * Converts a Javascript number into a QuickJS value.\n */\n newNumber(num: number): QuickJSHandle {\n return this.memory.heapValueHandle(this.ffi.QTS_NewFloat64(this.ctx.value, num))\n }\n\n /**\n * Create a QuickJS [string](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String) value.\n */\n newString(str: string): QuickJSHandle {\n const ptr = this.memory\n .newHeapCharPointer(str)\n .consume((charHandle) => this.ffi.QTS_NewString(this.ctx.value, charHandle.value))\n return this.memory.heapValueHandle(ptr)\n }\n\n /**\n * Create a QuickJS [symbol](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Symbol) value.\n * No two symbols created with this function will be the same value.\n */\n newUniqueSymbol(description: string | symbol): QuickJSHandle {\n const key = (typeof description === \"symbol\" ? description.description : description) ?? \"\"\n const ptr = this.memory\n .newHeapCharPointer(key)\n .consume((charHandle) => this.ffi.QTS_NewSymbol(this.ctx.value, charHandle.value, 0))\n return this.memory.heapValueHandle(ptr)\n }\n\n /**\n * Get a symbol from the [global registry](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Symbol#shared_symbols_in_the_global_symbol_registry) for the given key.\n * All symbols created with the same key will be the same value.\n */\n newSymbolFor(key: string | symbol): QuickJSHandle {\n const description = (typeof key === \"symbol\" ? key.description : key) ?? \"\"\n const ptr = this.memory\n .newHeapCharPointer(description)\n .consume((charHandle) => this.ffi.QTS_NewSymbol(this.ctx.value, charHandle.value, 1))\n return this.memory.heapValueHandle(ptr)\n }\n\n /**\n * Create a QuickJS [bigint](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/BigInt) value.\n */\n newBigInt(num: bigint): QuickJSHandle {\n if (!this._BigInt) {\n const bigIntHandle = this.getProp(this.global, \"BigInt\")\n this.memory.manage(bigIntHandle)\n this._BigInt = new StaticLifetime(bigIntHandle.value as JSValueConstPointer, this.runtime)\n }\n\n const bigIntHandle = this._BigInt\n const asString = String(num)\n return this.newString(asString).consume((handle) =>\n this.unwrapResult(this.callFunction(bigIntHandle, this.undefined, handle))\n )\n }\n\n /**\n * `{}`.\n * Create a new QuickJS [object](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Object_initializer).\n *\n * @param prototype - Like [`Object.create`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/create).\n */\n newObject(prototype?: QuickJSHandle): QuickJSHandle {\n if (prototype) {\n this.runtime.assertOwned(prototype)\n }\n const ptr = prototype\n ? this.ffi.QTS_NewObjectProto(this.ctx.value, prototype.value)\n : this.ffi.QTS_NewObject(this.ctx.value)\n return this.memory.heapValueHandle(ptr)\n }\n\n /**\n * `[]`.\n * Create a new QuickJS [array](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array).\n */\n newArray(): QuickJSHandle {\n const ptr = this.ffi.QTS_NewArray(this.ctx.value)\n return this.memory.heapValueHandle(ptr)\n }\n\n /**\n * Create a new [[QuickJSDeferredPromise]]. Use `deferred.resolve(handle)` and\n * `deferred.reject(handle)` to fulfill the promise handle available at `deferred.handle`.\n * Note that you are responsible for calling `deferred.dispose()` to free the underlying\n * resources; see the documentation on [[QuickJSDeferredPromise]] for details.\n */\n newPromise(): QuickJSDeferredPromise\n /**\n * Create a new [[QuickJSDeferredPromise]] that resolves when the\n * given native Promise resolves. Rejections will be coerced\n * to a QuickJS error.\n *\n * You can still resolve/reject the created promise \"early\" using its methods.\n */\n newPromise(promise: Promise): QuickJSDeferredPromise\n /**\n * Construct a new native Promise, and then convert it into a\n * [[QuickJSDeferredPromise]].\n *\n * You can still resolve/reject the created promise \"early\" using its methods.\n */\n newPromise(\n newPromiseFn: PromiseExecutor\n ): QuickJSDeferredPromise\n newPromise(\n value?: PromiseExecutor | Promise\n ): QuickJSDeferredPromise {\n const deferredPromise = Scope.withScope((scope) => {\n const mutablePointerArray = scope.manage(\n this.memory.newMutablePointerArray(2)\n )\n const promisePtr = this.ffi.QTS_NewPromiseCapability(\n this.ctx.value,\n mutablePointerArray.value.ptr\n )\n const promiseHandle = this.memory.heapValueHandle(promisePtr)\n const [resolveHandle, rejectHandle] = Array.from(mutablePointerArray.value.typedArray).map(\n (jsvaluePtr) => this.memory.heapValueHandle(jsvaluePtr as any)\n )\n return new QuickJSDeferredPromise({\n context: this,\n promiseHandle,\n resolveHandle,\n rejectHandle,\n })\n })\n\n if (value && typeof value === \"function\") {\n value = new Promise(value)\n }\n\n if (value) {\n Promise.resolve(value).then(deferredPromise.resolve, (error) =>\n error instanceof Lifetime\n ? deferredPromise.reject(error)\n : this.newError(error).consume(deferredPromise.reject)\n )\n }\n\n return deferredPromise\n }\n\n /**\n * Convert a Javascript function into a QuickJS function value.\n * See [[VmFunctionImplementation]] for more details.\n *\n * A [[VmFunctionImplementation]] should not free its arguments or its return\n * value. A VmFunctionImplementation should also not retain any references to\n * its return value.\n *\n * To implement an async function, create a promise with [[newPromise]], then\n * return the deferred promise handle from `deferred.handle` from your\n * function implementation:\n *\n * ```\n * const deferred = vm.newPromise()\n * someNativeAsyncFunction().then(deferred.resolve)\n * return deferred.handle\n * ```\n */\n newFunction(name: string, fn: VmFunctionImplementation): QuickJSHandle {\n const fnId = ++this.fnNextId\n this.setFunction(fnId, fn)\n return this.memory.heapValueHandle(this.ffi.QTS_NewFunction(this.ctx.value, fnId, name))\n }\n\n newError(error: { name: string; message: string }): QuickJSHandle\n newError(message: string): QuickJSHandle\n newError(): QuickJSHandle\n newError(error?: string | { name: string; message: string }): QuickJSHandle {\n const errorHandle = this.memory.heapValueHandle(this.ffi.QTS_NewError(this.ctx.value))\n\n if (error && typeof error === \"object\") {\n if (error.name !== undefined) {\n this.newString(error.name).consume((handle) => this.setProp(errorHandle, \"name\", handle))\n }\n\n if (error.message !== undefined) {\n this.newString(error.message).consume((handle) =>\n this.setProp(errorHandle, \"message\", handle)\n )\n }\n } else if (typeof error === \"string\") {\n this.newString(error).consume((handle) => this.setProp(errorHandle, \"message\", handle))\n } else if (error !== undefined) {\n // This isn't supported in the type signature but maybe it will make life easier.\n this.newString(String(error)).consume((handle) =>\n this.setProp(errorHandle, \"message\", handle)\n )\n }\n\n return errorHandle\n }\n\n // Read values --------------------------------------------------------------\n\n /**\n * `typeof` operator. **Not** [standards compliant](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/typeof).\n *\n * @remarks\n * Does not support BigInt values correctly.\n */\n typeof(handle: QuickJSHandle) {\n this.runtime.assertOwned(handle)\n return this.memory.consumeHeapCharPointer(this.ffi.QTS_Typeof(this.ctx.value, handle.value))\n }\n\n /**\n * Converts `handle` into a Javascript number.\n * @returns `NaN` on error, otherwise a `number`.\n */\n getNumber(handle: QuickJSHandle): number {\n this.runtime.assertOwned(handle)\n return this.ffi.QTS_GetFloat64(this.ctx.value, handle.value)\n }\n\n /**\n * Converts `handle` to a Javascript string.\n */\n getString(handle: QuickJSHandle): string {\n this.runtime.assertOwned(handle)\n return this.memory.consumeJSCharPointer(this.ffi.QTS_GetString(this.ctx.value, handle.value))\n }\n\n /**\n * Converts `handle` into a Javascript symbol. If the symbol is in the global\n * registry in the guest, it will be created with Symbol.for on the host.\n */\n getSymbol(handle: QuickJSHandle): symbol {\n this.runtime.assertOwned(handle)\n const key = this.memory.consumeJSCharPointer(\n this.ffi.QTS_GetSymbolDescriptionOrKey(this.ctx.value, handle.value)\n )\n const isGlobal = this.ffi.QTS_IsGlobalSymbol(this.ctx.value, handle.value)\n return isGlobal ? Symbol.for(key) : Symbol(key)\n }\n\n /**\n * Converts `handle` to a Javascript bigint.\n */\n getBigInt(handle: QuickJSHandle): bigint {\n this.runtime.assertOwned(handle)\n const asString = this.getString(handle)\n return BigInt(asString)\n }\n\n /**\n * `Promise.resolve(value)`.\n * Convert a handle containing a Promise-like value inside the VM into an\n * actual promise on the host.\n *\n * @remarks\n * You may need to call [[executePendingJobs]] to ensure that the promise is resolved.\n *\n * @param promiseLikeHandle - A handle to a Promise-like value with a `.then(onSuccess, onError)` method.\n */\n resolvePromise(promiseLikeHandle: QuickJSHandle): Promise> {\n this.runtime.assertOwned(promiseLikeHandle)\n const vmResolveResult = Scope.withScope((scope) => {\n const vmPromise = scope.manage(this.getProp(this.global, \"Promise\"))\n const vmPromiseResolve = scope.manage(this.getProp(vmPromise, \"resolve\"))\n return this.callFunction(vmPromiseResolve, vmPromise, promiseLikeHandle)\n })\n if (vmResolveResult.error) {\n return Promise.resolve(vmResolveResult)\n }\n\n return new Promise>((resolve) => {\n Scope.withScope((scope) => {\n const resolveHandle = scope.manage(\n this.newFunction(\"resolve\", (value) => {\n resolve({ value: value && value.dup() })\n })\n )\n\n const rejectHandle = scope.manage(\n this.newFunction(\"reject\", (error) => {\n resolve({ error: error && error.dup() })\n })\n )\n\n const promiseHandle = scope.manage(vmResolveResult.value)\n const promiseThenHandle = scope.manage(this.getProp(promiseHandle, \"then\"))\n this.unwrapResult(\n this.callFunction(promiseThenHandle, promiseHandle, resolveHandle, rejectHandle)\n ).dispose()\n })\n })\n }\n\n // Properties ---------------------------------------------------------------\n\n /**\n * `handle[key]`.\n * Get a property from a JSValue.\n *\n * @param key - The property may be specified as a JSValue handle, or as a\n * Javascript string (which will be converted automatically).\n */\n getProp(handle: QuickJSHandle, key: QuickJSPropertyKey): QuickJSHandle {\n this.runtime.assertOwned(handle)\n const ptr = this.borrowPropertyKey(key).consume((quickJSKey) =>\n this.ffi.QTS_GetProp(this.ctx.value, handle.value, quickJSKey.value)\n )\n const result = this.memory.heapValueHandle(ptr)\n\n return result\n }\n\n /**\n * `handle[key] = value`.\n * Set a property on a JSValue.\n *\n * @remarks\n * Note that the QuickJS authors recommend using [[defineProp]] to define new\n * properties.\n *\n * @param key - The property may be specified as a JSValue handle, or as a\n * Javascript string or number (which will be converted automatically to a JSValue).\n */\n setProp(handle: QuickJSHandle, key: QuickJSPropertyKey, value: QuickJSHandle) {\n this.runtime.assertOwned(handle)\n // free newly allocated value if key was a string or number. No-op if string was already\n // a QuickJS handle.\n this.borrowPropertyKey(key).consume((quickJSKey) =>\n this.ffi.QTS_SetProp(this.ctx.value, handle.value, quickJSKey.value, value.value)\n )\n }\n\n /**\n * [`Object.defineProperty(handle, key, descriptor)`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/defineProperty).\n *\n * @param key - The property may be specified as a JSValue handle, or as a\n * Javascript string or number (which will be converted automatically to a JSValue).\n */\n defineProp(\n handle: QuickJSHandle,\n key: QuickJSPropertyKey,\n descriptor: VmPropertyDescriptor\n ): void {\n this.runtime.assertOwned(handle)\n Scope.withScope((scope) => {\n const quickJSKey = scope.manage(this.borrowPropertyKey(key))\n\n const value = descriptor.value || this.undefined\n const configurable = Boolean(descriptor.configurable)\n const enumerable = Boolean(descriptor.enumerable)\n const hasValue = Boolean(descriptor.value)\n const get = descriptor.get\n ? scope.manage(this.newFunction(descriptor.get.name, descriptor.get))\n : this.undefined\n const set = descriptor.set\n ? scope.manage(this.newFunction(descriptor.set.name, descriptor.set))\n : this.undefined\n\n this.ffi.QTS_DefineProp(\n this.ctx.value,\n handle.value,\n quickJSKey.value,\n value.value,\n get.value,\n set.value,\n configurable,\n enumerable,\n hasValue\n )\n })\n }\n\n // Evaluation ---------------------------------------------------------------\n\n /**\n * [`func.call(thisVal, ...args)`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function/call).\n * Call a JSValue as a function.\n *\n * See [[unwrapResult]], which will throw if the function returned an error, or\n * return the result handle directly. If evaluation returned a handle containing\n * a promise, use [[resolvePromise]] to convert it to a native promise and\n * [[executePendingJobs]] to finish evaluating the promise.\n *\n * @returns A result. If the function threw synchronously, `result.error` be a\n * handle to the exception. Otherwise `result.value` will be a handle to the\n * value.\n */\n callFunction(\n func: QuickJSHandle,\n thisVal: QuickJSHandle,\n ...args: QuickJSHandle[]\n ): VmCallResult {\n this.runtime.assertOwned(func)\n const resultPtr = this.memory\n .toPointerArray(args)\n .consume((argsArrayPtr) =>\n this.ffi.QTS_Call(\n this.ctx.value,\n func.value,\n thisVal.value,\n args.length,\n argsArrayPtr.value\n )\n )\n\n const errorPtr = this.ffi.QTS_ResolveException(this.ctx.value, resultPtr)\n if (errorPtr) {\n this.ffi.QTS_FreeValuePointer(this.ctx.value, resultPtr)\n return { error: this.memory.heapValueHandle(errorPtr) }\n }\n\n return { value: this.memory.heapValueHandle(resultPtr) }\n }\n\n /**\n * Like [`eval(code)`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/eval#Description).\n * Evaluates the Javascript source `code` in the global scope of this VM.\n * When working with async code, you many need to call [[executePendingJobs]]\n * to execute callbacks pending after synchronous evaluation returns.\n *\n * See [[unwrapResult]], which will throw if the function returned an error, or\n * return the result handle directly. If evaluation returned a handle containing\n * a promise, use [[resolvePromise]] to convert it to a native promise and\n * [[executePendingJobs]] to finish evaluating the promise.\n *\n * *Note*: to protect against infinite loops, provide an interrupt handler to\n * [[setInterruptHandler]]. You can use [[shouldInterruptAfterDeadline]] to\n * create a time-based deadline.\n *\n * @returns The last statement's value. If the code threw synchronously,\n * `result.error` will be a handle to the exception. If execution was\n * interrupted, the error will have name `InternalError` and message\n * `interrupted`.\n */\n evalCode(\n code: string,\n filename: string = \"eval.js\",\n /**\n * If no options are passed, a heuristic will be used to detect if `code` is\n * an ES module.\n *\n * See [[EvalFlags]] for number semantics.\n */\n options?: number | ContextEvalOptions\n ): VmCallResult {\n const detectModule = (options === undefined ? 1 : 0) as EvalDetectModule\n const flags = evalOptionsToFlags(options) as EvalFlags\n const resultPtr = this.memory\n .newHeapCharPointer(code)\n .consume((charHandle) =>\n this.ffi.QTS_Eval(this.ctx.value, charHandle.value, filename, detectModule, flags)\n )\n const errorPtr = this.ffi.QTS_ResolveException(this.ctx.value, resultPtr)\n if (errorPtr) {\n this.ffi.QTS_FreeValuePointer(this.ctx.value, resultPtr)\n return { error: this.memory.heapValueHandle(errorPtr) }\n }\n return { value: this.memory.heapValueHandle(resultPtr) }\n }\n\n /**\n * Throw an error in the VM, interrupted whatever current execution is in progress when execution resumes.\n * @experimental\n */\n throw(error: Error | QuickJSHandle) {\n return this.errorToHandle(error).consume((handle) =>\n this.ffi.QTS_Throw(this.ctx.value, handle.value)\n )\n }\n\n /**\n * @private\n */\n protected borrowPropertyKey(key: QuickJSPropertyKey): QuickJSHandle {\n if (typeof key === \"number\") {\n return this.newNumber(key)\n }\n\n if (typeof key === \"string\") {\n return this.newString(key)\n }\n\n // key is already a JSValue, but we're borrowing it. Return a static handle\n // for internal use only.\n return new StaticLifetime(key.value as JSValueConstPointer, this.runtime)\n }\n\n /**\n * @private\n */\n getMemory(rt: JSRuntimePointer): ContextMemory {\n if (rt === this.rt.value) {\n return this.memory\n } else {\n throw new Error(\"Private API. Cannot get memory from a different runtime\")\n }\n }\n\n // Utilities ----------------------------------------------------------------\n\n /**\n * Dump a JSValue to Javascript in a best-effort fashion.\n * Returns `handle.toString()` if it cannot be serialized to JSON.\n */\n dump(handle: QuickJSHandle) {\n this.runtime.assertOwned(handle)\n const type = this.typeof(handle)\n if (type === \"string\") {\n return this.getString(handle)\n } else if (type === \"number\") {\n return this.getNumber(handle)\n } else if (type === \"bigint\") {\n return this.getBigInt(handle)\n } else if (type === \"undefined\") {\n return undefined\n } else if (type === \"symbol\") {\n return this.getSymbol(handle)\n }\n\n const str = this.memory.consumeJSCharPointer(this.ffi.QTS_Dump(this.ctx.value, handle.value))\n try {\n return JSON.parse(str)\n } catch (err) {\n return str\n }\n }\n\n /**\n * Unwrap a SuccessOrFail result such as a [[VmCallResult]] or a\n * [[ExecutePendingJobsResult]], where the fail branch contains a handle to a QuickJS error value.\n * If the result is a success, returns the value.\n * If the result is an error, converts the error to a native object and throws the error.\n */\n unwrapResult(result: SuccessOrFail): T {\n if (result.error) {\n const context: QuickJSContext =\n \"context\" in result.error ? (result.error as { context: QuickJSContext }).context : this\n const cause = result.error.consume((error) => this.dump(error))\n\n if (cause && typeof cause === \"object\" && typeof cause.message === \"string\") {\n const { message, name, stack } = cause\n const exception = new QuickJSUnwrapError(\"\")\n const hostStack = exception.stack\n\n if (typeof name === \"string\") {\n exception.name = cause.name\n }\n\n if (typeof stack === \"string\") {\n exception.stack = `${name}: ${message}\\n${cause.stack}Host: ${hostStack}`\n }\n\n Object.assign(exception, { cause, context, message })\n throw exception\n }\n\n throw new QuickJSUnwrapError(cause, context)\n }\n\n return result.value\n }\n\n /** @private */\n protected fnNextId = -32768 // min value of signed 16bit int used by Quickjs\n /** @private */\n protected fnMaps = new Map>>()\n\n /** @private */\n protected getFunction(fn_id: number): VmFunctionImplementation | undefined {\n const map_id = fn_id >> 8\n const fnMap = this.fnMaps.get(map_id)\n if (!fnMap) {\n return undefined\n }\n return fnMap.get(fn_id)\n }\n\n /** @private */\n protected setFunction(fn_id: number, handle: VmFunctionImplementation) {\n const map_id = fn_id >> 8\n let fnMap = this.fnMaps.get(map_id)\n if (!fnMap) {\n fnMap = new Map>()\n this.fnMaps.set(map_id, fnMap)\n }\n return fnMap.set(fn_id, handle)\n }\n\n /**\n * @hidden\n */\n private cToHostCallbacks: ContextCallbacks = {\n callFunction: (ctx, this_ptr, argc, argv, fn_id) => {\n if (ctx !== this.ctx.value) {\n throw new Error(\"QuickJSContext instance received C -> JS call with mismatched ctx\")\n }\n\n const fn = this.getFunction(fn_id)\n if (!fn) {\n // this \"throw\" is not catch-able from the TS side. could we somehow handle this higher up?\n throw new Error(`QuickJSContext had no callback with id ${fn_id}`)\n }\n\n return Scope.withScopeMaybeAsync(this, function* (awaited, scope) {\n const thisHandle = scope.manage(\n new WeakLifetime(this_ptr, this.memory.copyJSValue, this.memory.freeJSValue, this.runtime)\n )\n const argHandles = new Array(argc)\n for (let i = 0; i < argc; i++) {\n const ptr = this.ffi.QTS_ArgvGetJSValueConstPointer(argv, i)\n argHandles[i] = scope.manage(\n new WeakLifetime(ptr, this.memory.copyJSValue, this.memory.freeJSValue, this.runtime)\n )\n }\n\n try {\n const result = yield* awaited(fn.apply(thisHandle, argHandles))\n if (result) {\n if (\"error\" in result && result.error) {\n debugLog(\"throw error\", result.error)\n throw result.error\n }\n const handle = scope.manage(result instanceof Lifetime ? result : result.value)\n return this.ffi.QTS_DupValuePointer(this.ctx.value, handle.value)\n }\n return 0 as JSValuePointer\n } catch (error) {\n return this.errorToHandle(error as Error).consume((errorHandle) =>\n this.ffi.QTS_Throw(this.ctx.value, errorHandle.value)\n )\n }\n }) as JSValuePointer\n },\n }\n\n private errorToHandle(error: Error | QuickJSHandle): QuickJSHandle {\n if (error instanceof Lifetime) {\n return error\n }\n\n return this.newError(error)\n }\n}\n"]} \ No newline at end of file diff --git a/node_modules/@tootallnate/quickjs-emscripten/dist/debug.d.ts b/node_modules/@tootallnate/quickjs-emscripten/dist/debug.d.ts deleted file mode 100644 index f64be56..0000000 --- a/node_modules/@tootallnate/quickjs-emscripten/dist/debug.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -export declare const QTS_DEBUG: boolean; -export declare let debugLog: { - (...data: any[]): void; - (message?: any, ...optionalParams: any[]): void; -}; diff --git a/node_modules/@tootallnate/quickjs-emscripten/dist/debug.js b/node_modules/@tootallnate/quickjs-emscripten/dist/debug.js deleted file mode 100644 index 383e777..0000000 --- a/node_modules/@tootallnate/quickjs-emscripten/dist/debug.js +++ /dev/null @@ -1,6 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.debugLog = exports.QTS_DEBUG = void 0; -exports.QTS_DEBUG = false || Boolean(typeof process === "object" && process.env.QTS_DEBUG); -exports.debugLog = exports.QTS_DEBUG ? console.log.bind(console) : () => { }; -//# sourceMappingURL=debug.js.map \ No newline at end of file diff --git a/node_modules/@tootallnate/quickjs-emscripten/dist/debug.js.map b/node_modules/@tootallnate/quickjs-emscripten/dist/debug.js.map deleted file mode 100644 index df538cc..0000000 --- a/node_modules/@tootallnate/quickjs-emscripten/dist/debug.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"debug.js","sourceRoot":"","sources":["../ts/debug.ts"],"names":[],"mappings":";;;AAAa,QAAA,SAAS,GAAG,KAAK,IAAI,OAAO,CAAC,OAAO,OAAO,KAAK,QAAQ,IAAI,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAA;AACpF,QAAA,QAAQ,GAAG,iBAAS,CAAC,CAAC,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,GAAG,EAAE,GAAE,CAAC,CAAA","sourcesContent":["export const QTS_DEBUG = false || Boolean(typeof process === \"object\" && process.env.QTS_DEBUG)\nexport let debugLog = QTS_DEBUG ? console.log.bind(console) : () => {}\n"]} \ No newline at end of file diff --git a/node_modules/@tootallnate/quickjs-emscripten/dist/deferred-promise.d.ts b/node_modules/@tootallnate/quickjs-emscripten/dist/deferred-promise.d.ts deleted file mode 100644 index 4ec594d..0000000 --- a/node_modules/@tootallnate/quickjs-emscripten/dist/deferred-promise.d.ts +++ /dev/null @@ -1,75 +0,0 @@ -import type { Disposable } from "./lifetime"; -import type { QuickJSHandle } from "./types"; -import type { QuickJSRuntime } from "./runtime"; -import type { QuickJSContext } from "./context"; -export type { PromiseExecutor } from "./types"; -/** - * QuickJSDeferredPromise wraps a QuickJS promise [[handle]] and allows - * [[resolve]]ing or [[reject]]ing that promise. Use it to bridge asynchronous - * code on the host to APIs inside a QuickJSContext. - * - * Managing the lifetime of promises is tricky. There are three - * [[QuickJSHandle]]s inside of each deferred promise object: (1) the promise - * itself, (2) the `resolve` callback, and (3) the `reject` callback. - * - * - If the promise will be fulfilled before the end of it's [[owner]]'s lifetime, - * the only cleanup necessary is `deferred.handle.dispose()`, because - * calling [[resolve]] or [[reject]] will dispose of both callbacks automatically. - * - * - As the return value of a [[VmFunctionImplementation]], return [[handle]], - * and ensure that either [[resolve]] or [[reject]] will be called. No other - * clean-up is necessary. - * - * - In other cases, call [[dispose]], which will dispose [[handle]] as well as the - * QuickJS handles that back [[resolve]] and [[reject]]. For this object, - * [[dispose]] is idempotent. - */ -export declare class QuickJSDeferredPromise implements Disposable { - owner: QuickJSRuntime; - context: QuickJSContext; - /** - * A handle of the Promise instance inside the QuickJSContext. - * You must dispose [[handle]] or the entire QuickJSDeferredPromise once you - * are finished with it. - */ - handle: QuickJSHandle; - /** - * A native promise that will resolve once this deferred is settled. - */ - settled: Promise; - private resolveHandle; - private rejectHandle; - private onSettled; - /** - * Use [[QuickJSContext.newPromise]] to create a new promise instead of calling - * this constructor directly. - * @unstable - */ - constructor(args: { - context: QuickJSContext; - promiseHandle: QuickJSHandle; - resolveHandle: QuickJSHandle; - rejectHandle: QuickJSHandle; - }); - /** - * Resolve [[handle]] with the given value, if any. - * Calling this method after calling [[dispose]] is a no-op. - * - * Note that after resolving a promise, you may need to call - * [[QuickJSContext.executePendingJobs]] to propagate the result to the promise's - * callbacks. - */ - resolve: (value?: QuickJSHandle) => void; - /** - * Reject [[handle]] with the given value, if any. - * Calling this method after calling [[dispose]] is a no-op. - * - * Note that after rejecting a promise, you may need to call - * [[QuickJSContext.executePendingJobs]] to propagate the result to the promise's - * callbacks. - */ - reject: (value?: QuickJSHandle) => void; - get alive(): boolean; - dispose: () => void; - private disposeResolvers; -} diff --git a/node_modules/@tootallnate/quickjs-emscripten/dist/deferred-promise.js b/node_modules/@tootallnate/quickjs-emscripten/dist/deferred-promise.js deleted file mode 100644 index 19ef7a1..0000000 --- a/node_modules/@tootallnate/quickjs-emscripten/dist/deferred-promise.js +++ /dev/null @@ -1,96 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.QuickJSDeferredPromise = void 0; -/** - * QuickJSDeferredPromise wraps a QuickJS promise [[handle]] and allows - * [[resolve]]ing or [[reject]]ing that promise. Use it to bridge asynchronous - * code on the host to APIs inside a QuickJSContext. - * - * Managing the lifetime of promises is tricky. There are three - * [[QuickJSHandle]]s inside of each deferred promise object: (1) the promise - * itself, (2) the `resolve` callback, and (3) the `reject` callback. - * - * - If the promise will be fulfilled before the end of it's [[owner]]'s lifetime, - * the only cleanup necessary is `deferred.handle.dispose()`, because - * calling [[resolve]] or [[reject]] will dispose of both callbacks automatically. - * - * - As the return value of a [[VmFunctionImplementation]], return [[handle]], - * and ensure that either [[resolve]] or [[reject]] will be called. No other - * clean-up is necessary. - * - * - In other cases, call [[dispose]], which will dispose [[handle]] as well as the - * QuickJS handles that back [[resolve]] and [[reject]]. For this object, - * [[dispose]] is idempotent. - */ -class QuickJSDeferredPromise { - /** - * Use [[QuickJSContext.newPromise]] to create a new promise instead of calling - * this constructor directly. - * @unstable - */ - constructor(args) { - /** - * Resolve [[handle]] with the given value, if any. - * Calling this method after calling [[dispose]] is a no-op. - * - * Note that after resolving a promise, you may need to call - * [[QuickJSContext.executePendingJobs]] to propagate the result to the promise's - * callbacks. - */ - this.resolve = (value) => { - if (!this.resolveHandle.alive) { - return; - } - this.context - .unwrapResult(this.context.callFunction(this.resolveHandle, this.context.undefined, value || this.context.undefined)) - .dispose(); - this.disposeResolvers(); - this.onSettled(); - }; - /** - * Reject [[handle]] with the given value, if any. - * Calling this method after calling [[dispose]] is a no-op. - * - * Note that after rejecting a promise, you may need to call - * [[QuickJSContext.executePendingJobs]] to propagate the result to the promise's - * callbacks. - */ - this.reject = (value) => { - if (!this.rejectHandle.alive) { - return; - } - this.context - .unwrapResult(this.context.callFunction(this.rejectHandle, this.context.undefined, value || this.context.undefined)) - .dispose(); - this.disposeResolvers(); - this.onSettled(); - }; - this.dispose = () => { - if (this.handle.alive) { - this.handle.dispose(); - } - this.disposeResolvers(); - }; - this.context = args.context; - this.owner = args.context.runtime; - this.handle = args.promiseHandle; - this.settled = new Promise((resolve) => { - this.onSettled = resolve; - }); - this.resolveHandle = args.resolveHandle; - this.rejectHandle = args.rejectHandle; - } - get alive() { - return this.handle.alive || this.resolveHandle.alive || this.rejectHandle.alive; - } - disposeResolvers() { - if (this.resolveHandle.alive) { - this.resolveHandle.dispose(); - } - if (this.rejectHandle.alive) { - this.rejectHandle.dispose(); - } - } -} -exports.QuickJSDeferredPromise = QuickJSDeferredPromise; -//# sourceMappingURL=deferred-promise.js.map \ No newline at end of file diff --git a/node_modules/@tootallnate/quickjs-emscripten/dist/deferred-promise.js.map b/node_modules/@tootallnate/quickjs-emscripten/dist/deferred-promise.js.map deleted file mode 100644 index b80e826..0000000 --- a/node_modules/@tootallnate/quickjs-emscripten/dist/deferred-promise.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"deferred-promise.js","sourceRoot":"","sources":["../ts/deferred-promise.ts"],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AC3B,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,OAAO,CAAC,OAAO,CAAA;QACjC,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC,aAAa,CAAA;QAChC,IAAI,CAAC,OAAO,GAAG,IAAI,OAAO,CAAC,CAAC,OAAO,EAAE,EAAE;YACrC,IAAI,CAAC,SAAS,GAAG,OAAO,CAAA;QAC1B,CAAC,CAAC,CAAA;QACF,IAAI,CAAC,aAAa,GAAG,IAAI,CAAC,aAAa,CAAA;QACvC,IAAI,CAAC,YAAY,GAAG,IAAI,CAAC,YAAY,CAAA;IACvC,CAAC;IAwDD,IAAI,KAAK;QACP,OAAO,IAAI,CAAC,MAAM,CAAC,KAAK,IAAI,IAAI,CAAC,aAAa,CAAC,KAAK,IAAI,IAAI,CAAC,YAAY,CAAC,KAAK,CAAA;IACjF,CAAC;IASO,gBAAgB;QACtB,IAAI,IAAI,CAAC,aAAa,CAAC,KAAK,EAAE;YAC5B,IAAI,CAAC,aAAa,CAAC,OAAO,EAAE,CAAA;SAC7B;QAED,IAAI,IAAI,CAAC,YAAY,CAAC,KAAK,EAAE;YAC3B,IAAI,CAAC,YAAY,CAAC,OAAO,EAAE,CAAA;SAC5B;IACH,CAAC;CACF;AAnHD,wDAmHC","sourcesContent":["import type { Disposable } from \"./lifetime\"\nimport type { QuickJSHandle } from \"./types\"\nimport type { QuickJSRuntime } from \"./runtime\"\nimport type { QuickJSContext } from \"./context\"\nexport type { PromiseExecutor } from \"./types\"\n\n/**\n * QuickJSDeferredPromise wraps a QuickJS promise [[handle]] and allows\n * [[resolve]]ing or [[reject]]ing that promise. Use it to bridge asynchronous\n * code on the host to APIs inside a QuickJSContext.\n *\n * Managing the lifetime of promises is tricky. There are three\n * [[QuickJSHandle]]s inside of each deferred promise object: (1) the promise\n * itself, (2) the `resolve` callback, and (3) the `reject` callback.\n *\n * - If the promise will be fulfilled before the end of it's [[owner]]'s lifetime,\n * the only cleanup necessary is `deferred.handle.dispose()`, because\n * calling [[resolve]] or [[reject]] will dispose of both callbacks automatically.\n *\n * - As the return value of a [[VmFunctionImplementation]], return [[handle]],\n * and ensure that either [[resolve]] or [[reject]] will be called. No other\n * clean-up is necessary.\n *\n * - In other cases, call [[dispose]], which will dispose [[handle]] as well as the\n * QuickJS handles that back [[resolve]] and [[reject]]. For this object,\n * [[dispose]] is idempotent.\n */\nexport class QuickJSDeferredPromise implements Disposable {\n public owner: QuickJSRuntime\n public context: QuickJSContext\n\n /**\n * A handle of the Promise instance inside the QuickJSContext.\n * You must dispose [[handle]] or the entire QuickJSDeferredPromise once you\n * are finished with it.\n */\n public handle: QuickJSHandle\n\n /**\n * A native promise that will resolve once this deferred is settled.\n */\n public settled: Promise\n\n private resolveHandle: QuickJSHandle\n private rejectHandle: QuickJSHandle\n private onSettled!: () => void\n\n /**\n * Use [[QuickJSContext.newPromise]] to create a new promise instead of calling\n * this constructor directly.\n * @unstable\n */\n constructor(args: {\n context: QuickJSContext\n promiseHandle: QuickJSHandle\n resolveHandle: QuickJSHandle\n rejectHandle: QuickJSHandle\n }) {\n this.context = args.context\n this.owner = args.context.runtime\n this.handle = args.promiseHandle\n this.settled = new Promise((resolve) => {\n this.onSettled = resolve\n })\n this.resolveHandle = args.resolveHandle\n this.rejectHandle = args.rejectHandle\n }\n\n /**\n * Resolve [[handle]] with the given value, if any.\n * Calling this method after calling [[dispose]] is a no-op.\n *\n * Note that after resolving a promise, you may need to call\n * [[QuickJSContext.executePendingJobs]] to propagate the result to the promise's\n * callbacks.\n */\n resolve = (value?: QuickJSHandle) => {\n if (!this.resolveHandle.alive) {\n return\n }\n\n this.context\n .unwrapResult(\n this.context.callFunction(\n this.resolveHandle,\n this.context.undefined,\n value || this.context.undefined\n )\n )\n .dispose()\n\n this.disposeResolvers()\n this.onSettled()\n }\n\n /**\n * Reject [[handle]] with the given value, if any.\n * Calling this method after calling [[dispose]] is a no-op.\n *\n * Note that after rejecting a promise, you may need to call\n * [[QuickJSContext.executePendingJobs]] to propagate the result to the promise's\n * callbacks.\n */\n reject = (value?: QuickJSHandle) => {\n if (!this.rejectHandle.alive) {\n return\n }\n\n this.context\n .unwrapResult(\n this.context.callFunction(\n this.rejectHandle,\n this.context.undefined,\n value || this.context.undefined\n )\n )\n .dispose()\n\n this.disposeResolvers()\n this.onSettled()\n }\n\n get alive() {\n return this.handle.alive || this.resolveHandle.alive || this.rejectHandle.alive\n }\n\n dispose = () => {\n if (this.handle.alive) {\n this.handle.dispose()\n }\n this.disposeResolvers()\n }\n\n private disposeResolvers() {\n if (this.resolveHandle.alive) {\n this.resolveHandle.dispose()\n }\n\n if (this.rejectHandle.alive) {\n this.rejectHandle.dispose()\n }\n }\n}\n"]} \ No newline at end of file diff --git a/node_modules/@tootallnate/quickjs-emscripten/dist/emscripten-types.d.ts b/node_modules/@tootallnate/quickjs-emscripten/dist/emscripten-types.d.ts deleted file mode 100644 index 315b07d..0000000 --- a/node_modules/@tootallnate/quickjs-emscripten/dist/emscripten-types.d.ts +++ /dev/null @@ -1,97 +0,0 @@ -import { BorrowedHeapCharPointer, JSContextPointer, JSRuntimePointer, JSValueConstPointer, JSValuePointer, OwnedHeapCharPointer } from "./types-ffi"; -declare namespace Emscripten { - interface FileSystemType { - } - type EnvironmentType = "WEB" | "NODE" | "SHELL" | "WORKER"; - type ValueType = "number" | "string" | "array" | "boolean"; - type TypeCompatibleWithC = number | string | any[] | boolean; - type WebAssemblyImports = Array<{ - name: string; - kind: string; - }>; - type WebAssemblyExports = Array<{ - module: string; - name: string; - kind: string; - }>; - interface CCallOpts { - async?: boolean; - } -} -/** - * Typings for the features we use to interface with our Emscripten build of - * QuickJS. - */ -interface EmscriptenModule { - /** - * Write JS `str` to HeapChar pointer. - * https://emscripten.org/docs/api_reference/preamble.js.html#stringToUTF8 - */ - stringToUTF8(str: string, outPtr: OwnedHeapCharPointer, maxBytesToRead?: number): void; - /** - * HeapChar to JS string. - * https://emscripten.org/docs/api_reference/preamble.js.html#UTF8ToString - */ - UTF8ToString(ptr: BorrowedHeapCharPointer, maxBytesToRead?: number): string; - lengthBytesUTF8(str: string): number; - _malloc(size: number): number; - _free(ptr: number): void; - cwrap(ident: string, returnType: Emscripten.ValueType | null, argTypes: Emscripten.ValueType[], opts?: Emscripten.CCallOpts): (...args: any[]) => any; - HEAP8: Int8Array; - HEAP16: Int16Array; - HEAP32: Int32Array; - HEAPU8: Uint8Array; - HEAPU16: Uint16Array; - HEAPU32: Uint32Array; - HEAPF32: Float32Array; - HEAPF64: Float64Array; - TOTAL_STACK: number; - TOTAL_MEMORY: number; - FAST_MEMORY: number; -} -declare const AsyncifySleepReturnValue: unique symbol; -/** @private */ -export type AsyncifySleepResult = T & typeof AsyncifySleepReturnValue; -/** - * Allows us to optionally suspend the Emscripten runtime to wait for a promise. - * https://emscripten.org/docs/porting/asyncify.html#ways-to-use-async-apis-in-older-engines - * ``` - * EM_JS(int, do_fetch, (), { - * return Asyncify.handleSleep(function (wakeUp) { - * out("waiting for a fetch"); - * fetch("a.html").then(function (response) { - * out("got the fetch response"); - * // (normally you would do something with the fetch here) - * wakeUp(42); - * }); - * }); - * }); - * ``` - * @private - */ -export interface Asyncify { - handleSleep(maybeAsyncFn: (wakeUp: (result: T) => void) => void): AsyncifySleepResult; -} -/** - * @private - */ -export interface EmscriptenModuleCallbacks { - callFunction: (asyncify: Asyncify | undefined, ctx: JSContextPointer, this_ptr: JSValueConstPointer, argc: number, argv: JSValueConstPointer, fn_id: number) => JSValuePointer | AsyncifySleepResult; - loadModuleSource: (asyncify: Asyncify | undefined, rt: JSRuntimePointer, ctx: JSContextPointer, module_name: string) => BorrowedHeapCharPointer | AsyncifySleepResult; - normalizeModule: (asyncify: Asyncify | undefined, rt: JSRuntimePointer, ctx: JSContextPointer, module_base_name: string, module_name: string) => BorrowedHeapCharPointer | AsyncifySleepResult; - shouldInterrupt: (asyncify: Asyncify | undefined, rt: JSRuntimePointer) => 0 | 1 | AsyncifySleepResult<0 | 1>; -} -export interface QuickJSEmscriptenModule extends EmscriptenModule { - type: "sync"; - callbacks: EmscriptenModuleCallbacks; -} -export interface QuickJSAsyncEmscriptenModule extends EmscriptenModule { - /** @todo Implement this field */ - type: "async"; - callbacks: EmscriptenModuleCallbacks; -} -export type EitherModule = QuickJSEmscriptenModule | QuickJSAsyncEmscriptenModule; -export interface EmscriptenModuleLoader { - (): Promise; -} -export {}; diff --git a/node_modules/@tootallnate/quickjs-emscripten/dist/emscripten-types.js b/node_modules/@tootallnate/quickjs-emscripten/dist/emscripten-types.js deleted file mode 100644 index 35ce029..0000000 --- a/node_modules/@tootallnate/quickjs-emscripten/dist/emscripten-types.js +++ /dev/null @@ -1,15 +0,0 @@ -"use strict"; -// This is a subset of the Emscripten type definitions from @types/emscripten -// Project: http://kripken.github.io/emscripten-site/index.html -// Definitions by: Kensuke Matsuzaki -// Periklis Tsirakidis -// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// -// quickjs-emscripten doesn't use the full EmscriptenModule type from @types/emscripten because: -// -// - the upstream types define many properties that don't exist on our module due -// to our build settings -// - some upstream types reference web-only ambient types like WebGL stuff, which -// we don't use. -Object.defineProperty(exports, "__esModule", { value: true }); -//# sourceMappingURL=emscripten-types.js.map \ No newline at end of file diff --git a/node_modules/@tootallnate/quickjs-emscripten/dist/emscripten-types.js.map b/node_modules/@tootallnate/quickjs-emscripten/dist/emscripten-types.js.map deleted file mode 100644 index 8a710f4..0000000 --- a/node_modules/@tootallnate/quickjs-emscripten/dist/emscripten-types.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"emscripten-types.js","sourceRoot":"","sources":["../ts/emscripten-types.ts"],"names":[],"mappings":";AAAA,6EAA6E;AAC7E,+DAA+D;AAC/D,+DAA+D;AAC/D,oEAAoE;AACpE,kEAAkE;AAClE,EAAE;AACF,gGAAgG;AAChG,EAAE;AACF,iFAAiF;AACjF,0BAA0B;AAC1B,iFAAiF;AACjF,kBAAkB","sourcesContent":["// This is a subset of the Emscripten type definitions from @types/emscripten\n// Project: http://kripken.github.io/emscripten-site/index.html\n// Definitions by: Kensuke Matsuzaki \n// Periklis Tsirakidis \n// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped\n//\n// quickjs-emscripten doesn't use the full EmscriptenModule type from @types/emscripten because:\n//\n// - the upstream types define many properties that don't exist on our module due\n// to our build settings\n// - some upstream types reference web-only ambient types like WebGL stuff, which\n// we don't use.\n\nimport {\n BorrowedHeapCharPointer,\n JSContextPointer,\n JSRuntimePointer,\n JSValueConstPointer,\n JSValuePointer,\n OwnedHeapCharPointer,\n} from \"./types-ffi\"\n\ndeclare namespace Emscripten {\n interface FileSystemType {}\n type EnvironmentType = \"WEB\" | \"NODE\" | \"SHELL\" | \"WORKER\"\n type ValueType = \"number\" | \"string\" | \"array\" | \"boolean\"\n type TypeCompatibleWithC = number | string | any[] | boolean\n\n type WebAssemblyImports = Array<{\n name: string\n kind: string\n }>\n\n type WebAssemblyExports = Array<{\n module: string\n name: string\n kind: string\n }>\n\n interface CCallOpts {\n async?: boolean\n }\n}\n\n/**\n * Typings for the features we use to interface with our Emscripten build of\n * QuickJS.\n */\ninterface EmscriptenModule {\n // No longer needed:\n // addFunction(fn: Function, type: string): number\n // removeFunction(pointer: number): void\n\n /**\n * Write JS `str` to HeapChar pointer.\n * https://emscripten.org/docs/api_reference/preamble.js.html#stringToUTF8\n */\n stringToUTF8(str: string, outPtr: OwnedHeapCharPointer, maxBytesToRead?: number): void\n /**\n * HeapChar to JS string.\n * https://emscripten.org/docs/api_reference/preamble.js.html#UTF8ToString\n */\n UTF8ToString(ptr: BorrowedHeapCharPointer, maxBytesToRead?: number): string\n lengthBytesUTF8(str: string): number\n\n _malloc(size: number): number\n _free(ptr: number): void\n cwrap(\n ident: string,\n returnType: Emscripten.ValueType | null,\n argTypes: Emscripten.ValueType[],\n opts?: Emscripten.CCallOpts\n ): (...args: any[]) => any\n\n // USE_TYPED_ARRAYS == 2\n HEAP8: Int8Array\n HEAP16: Int16Array\n HEAP32: Int32Array\n HEAPU8: Uint8Array\n HEAPU16: Uint16Array\n HEAPU32: Uint32Array\n HEAPF32: Float32Array\n HEAPF64: Float64Array\n\n TOTAL_STACK: number\n TOTAL_MEMORY: number\n FAST_MEMORY: number\n}\n\n// This isn't the real return type of handleAsync, but it's better to treat it this way.\ndeclare const AsyncifySleepReturnValue: unique symbol\n/** @private */\nexport type AsyncifySleepResult = T & typeof AsyncifySleepReturnValue\n\n/**\n * Allows us to optionally suspend the Emscripten runtime to wait for a promise.\n * https://emscripten.org/docs/porting/asyncify.html#ways-to-use-async-apis-in-older-engines\n * ```\n * EM_JS(int, do_fetch, (), {\n * return Asyncify.handleSleep(function (wakeUp) {\n * out(\"waiting for a fetch\");\n * fetch(\"a.html\").then(function (response) {\n * out(\"got the fetch response\");\n * // (normally you would do something with the fetch here)\n * wakeUp(42);\n * });\n * });\n * });\n * ```\n * @private\n */\nexport interface Asyncify {\n handleSleep(maybeAsyncFn: (wakeUp: (result: T) => void) => void): AsyncifySleepResult\n // Because this one requires a promise, it's going to be less efficient than\n // the callback system. Plus it seems like we'd need to use SyncPromise to\n // avoid suspending.\n // handleAsync(asyncFn: () => T | Promise): AsyncifySleepResult\n}\n\n/**\n * @private\n */\nexport interface EmscriptenModuleCallbacks {\n callFunction: (\n asyncify: Asyncify | undefined,\n ctx: JSContextPointer,\n this_ptr: JSValueConstPointer,\n argc: number,\n argv: JSValueConstPointer,\n fn_id: number\n ) => JSValuePointer | AsyncifySleepResult\n\n loadModuleSource: (\n asyncify: Asyncify | undefined,\n rt: JSRuntimePointer,\n ctx: JSContextPointer,\n module_name: string\n ) => BorrowedHeapCharPointer | AsyncifySleepResult\n\n normalizeModule: (\n asyncify: Asyncify | undefined,\n rt: JSRuntimePointer,\n ctx: JSContextPointer,\n module_base_name: string,\n module_name: string\n ) => BorrowedHeapCharPointer | AsyncifySleepResult\n\n shouldInterrupt: (\n asyncify: Asyncify | undefined,\n rt: JSRuntimePointer\n ) => 0 | 1 | AsyncifySleepResult<0 | 1>\n}\n\nexport interface QuickJSEmscriptenModule extends EmscriptenModule {\n type: \"sync\"\n callbacks: EmscriptenModuleCallbacks\n}\n\nexport interface QuickJSAsyncEmscriptenModule extends EmscriptenModule {\n /** @todo Implement this field */\n type: \"async\"\n callbacks: EmscriptenModuleCallbacks\n}\n\nexport type EitherModule = QuickJSEmscriptenModule | QuickJSAsyncEmscriptenModule\n\nexport interface EmscriptenModuleLoader {\n (): Promise\n}\n"]} \ No newline at end of file diff --git a/node_modules/@tootallnate/quickjs-emscripten/dist/errors.d.ts b/node_modules/@tootallnate/quickjs-emscripten/dist/errors.d.ts deleted file mode 100644 index 5852ec1..0000000 --- a/node_modules/@tootallnate/quickjs-emscripten/dist/errors.d.ts +++ /dev/null @@ -1,28 +0,0 @@ -import type { QuickJSContext } from "./context"; -/** - * Error thrown if [[QuickJSContext.unwrapResult]] unwraps an error value that isn't an object. - */ -export declare class QuickJSUnwrapError extends Error { - cause: unknown; - context?: QuickJSContext | undefined; - name: string; - constructor(cause: unknown, context?: QuickJSContext | undefined); -} -export declare class QuickJSWrongOwner extends Error { - name: string; -} -export declare class QuickJSUseAfterFree extends Error { - name: string; -} -export declare class QuickJSNotImplemented extends Error { - name: string; -} -export declare class QuickJSAsyncifyError extends Error { - name: string; -} -export declare class QuickJSAsyncifySuspended extends Error { - name: string; -} -export declare class QuickJSMemoryLeakDetected extends Error { - name: string; -} diff --git a/node_modules/@tootallnate/quickjs-emscripten/dist/errors.js b/node_modules/@tootallnate/quickjs-emscripten/dist/errors.js deleted file mode 100644 index 19eaa25..0000000 --- a/node_modules/@tootallnate/quickjs-emscripten/dist/errors.js +++ /dev/null @@ -1,58 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.QuickJSMemoryLeakDetected = exports.QuickJSAsyncifySuspended = exports.QuickJSAsyncifyError = exports.QuickJSNotImplemented = exports.QuickJSUseAfterFree = exports.QuickJSWrongOwner = exports.QuickJSUnwrapError = void 0; -/** - * Error thrown if [[QuickJSContext.unwrapResult]] unwraps an error value that isn't an object. - */ -class QuickJSUnwrapError extends Error { - constructor(cause, context) { - super(String(cause)); - this.cause = cause; - this.context = context; - this.name = "QuickJSUnwrapError"; - } -} -exports.QuickJSUnwrapError = QuickJSUnwrapError; -class QuickJSWrongOwner extends Error { - constructor() { - super(...arguments); - this.name = "QuickJSWrongOwner"; - } -} -exports.QuickJSWrongOwner = QuickJSWrongOwner; -class QuickJSUseAfterFree extends Error { - constructor() { - super(...arguments); - this.name = "QuickJSUseAfterFree"; - } -} -exports.QuickJSUseAfterFree = QuickJSUseAfterFree; -class QuickJSNotImplemented extends Error { - constructor() { - super(...arguments); - this.name = "QuickJSNotImplemented"; - } -} -exports.QuickJSNotImplemented = QuickJSNotImplemented; -class QuickJSAsyncifyError extends Error { - constructor() { - super(...arguments); - this.name = "QuickJSAsyncifyError"; - } -} -exports.QuickJSAsyncifyError = QuickJSAsyncifyError; -class QuickJSAsyncifySuspended extends Error { - constructor() { - super(...arguments); - this.name = "QuickJSAsyncifySuspended"; - } -} -exports.QuickJSAsyncifySuspended = QuickJSAsyncifySuspended; -class QuickJSMemoryLeakDetected extends Error { - constructor() { - super(...arguments); - this.name = "QuickJSMemoryLeakDetected"; - } -} -exports.QuickJSMemoryLeakDetected = QuickJSMemoryLeakDetected; -//# sourceMappingURL=errors.js.map \ No newline at end of file diff --git a/node_modules/@tootallnate/quickjs-emscripten/dist/errors.js.map b/node_modules/@tootallnate/quickjs-emscripten/dist/errors.js.map deleted file mode 100644 index c39db8d..0000000 --- a/node_modules/@tootallnate/quickjs-emscripten/dist/errors.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"errors.js","sourceRoot":"","sources":["../ts/errors.ts"],"names":[],"mappings":";;;AAEA;;GAEG;AACH,MAAa,kBAAmB,SAAQ,KAAK;IAE3C,YAAmB,KAAc,EAAS,OAAwB;QAChE,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAA;QADH,UAAK,GAAL,KAAK,CAAS;QAAS,YAAO,GAAP,OAAO,CAAiB;QADlE,SAAI,GAAG,oBAAoB,CAAA;IAG3B,CAAC;CACF;AALD,gDAKC;AAED,MAAa,iBAAkB,SAAQ,KAAK;IAA5C;;QACE,SAAI,GAAG,mBAAmB,CAAA;IAC5B,CAAC;CAAA;AAFD,8CAEC;AAED,MAAa,mBAAoB,SAAQ,KAAK;IAA9C;;QACE,SAAI,GAAG,qBAAqB,CAAA;IAC9B,CAAC;CAAA;AAFD,kDAEC;AAED,MAAa,qBAAsB,SAAQ,KAAK;IAAhD;;QACE,SAAI,GAAG,uBAAuB,CAAA;IAChC,CAAC;CAAA;AAFD,sDAEC;AAED,MAAa,oBAAqB,SAAQ,KAAK;IAA/C;;QACE,SAAI,GAAG,sBAAsB,CAAA;IAC/B,CAAC;CAAA;AAFD,oDAEC;AAED,MAAa,wBAAyB,SAAQ,KAAK;IAAnD;;QACE,SAAI,GAAG,0BAA0B,CAAA;IACnC,CAAC;CAAA;AAFD,4DAEC;AAED,MAAa,yBAA0B,SAAQ,KAAK;IAApD;;QACE,SAAI,GAAG,2BAA2B,CAAA;IACpC,CAAC;CAAA;AAFD,8DAEC","sourcesContent":["import type { QuickJSContext } from \"./context\"\n\n/**\n * Error thrown if [[QuickJSContext.unwrapResult]] unwraps an error value that isn't an object.\n */\nexport class QuickJSUnwrapError extends Error {\n name = \"QuickJSUnwrapError\"\n constructor(public cause: unknown, public context?: QuickJSContext) {\n super(String(cause))\n }\n}\n\nexport class QuickJSWrongOwner extends Error {\n name = \"QuickJSWrongOwner\"\n}\n\nexport class QuickJSUseAfterFree extends Error {\n name = \"QuickJSUseAfterFree\"\n}\n\nexport class QuickJSNotImplemented extends Error {\n name = \"QuickJSNotImplemented\"\n}\n\nexport class QuickJSAsyncifyError extends Error {\n name = \"QuickJSAsyncifyError\"\n}\n\nexport class QuickJSAsyncifySuspended extends Error {\n name = \"QuickJSAsyncifySuspended\"\n}\n\nexport class QuickJSMemoryLeakDetected extends Error {\n name = \"QuickJSMemoryLeakDetected\"\n}\n"]} \ No newline at end of file diff --git a/node_modules/@tootallnate/quickjs-emscripten/dist/esmHelpers.d.ts b/node_modules/@tootallnate/quickjs-emscripten/dist/esmHelpers.d.ts deleted file mode 100644 index 4dca032..0000000 --- a/node_modules/@tootallnate/quickjs-emscripten/dist/esmHelpers.d.ts +++ /dev/null @@ -1,9 +0,0 @@ -/** Typescript thinks import('...js/.d.ts') needs mod.default.default */ -declare function fakeUnwrapDefault(mod: { - default: T; -}): T; -/** Typescript thinks import('...ts') doesn't need mod.default.default, but does */ -declare function actualUnwrapDefault(mod: T): T; -export declare const unwrapTypescript: typeof actualUnwrapDefault; -export declare const unwrapJavascript: typeof fakeUnwrapDefault; -export {}; diff --git a/node_modules/@tootallnate/quickjs-emscripten/dist/esmHelpers.js b/node_modules/@tootallnate/quickjs-emscripten/dist/esmHelpers.js deleted file mode 100644 index 8fc6045..0000000 --- a/node_modules/@tootallnate/quickjs-emscripten/dist/esmHelpers.js +++ /dev/null @@ -1,19 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.unwrapJavascript = exports.unwrapTypescript = void 0; -/** Typescript thinks import('...js/.d.ts') needs mod.default.default */ -function fakeUnwrapDefault(mod) { - // console.log("fakeUnwrapDefault", mod) - return mod.default; -} -/** Typescript thinks import('...ts') doesn't need mod.default.default, but does */ -function actualUnwrapDefault(mod) { - // console.log("actualUnwrapDefault", mod) - const maybeUnwrap = mod.default; - return maybeUnwrap ?? mod; -} -// I'm not sure if this behavior is needed in all runtimes, -// or just for mocha + ts-node. -exports.unwrapTypescript = actualUnwrapDefault; -exports.unwrapJavascript = fakeUnwrapDefault; -//# sourceMappingURL=esmHelpers.js.map \ No newline at end of file diff --git a/node_modules/@tootallnate/quickjs-emscripten/dist/esmHelpers.js.map b/node_modules/@tootallnate/quickjs-emscripten/dist/esmHelpers.js.map deleted file mode 100644 index 3ee6118..0000000 --- a/node_modules/@tootallnate/quickjs-emscripten/dist/esmHelpers.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"esmHelpers.js","sourceRoot":"","sources":["../ts/esmHelpers.ts"],"names":[],"mappings":";;;AAAA,wEAAwE;AACxE,SAAS,iBAAiB,CAAI,GAAmB;IAC/C,wCAAwC;IACxC,OAAO,GAAG,CAAC,OAAY,CAAA;AACzB,CAAC;AAED,mFAAmF;AACnF,SAAS,mBAAmB,CAAI,GAAM;IACpC,0CAA0C;IAC1C,MAAM,WAAW,GAAI,GAAW,CAAC,OAAO,CAAA;IACxC,OAAO,WAAW,IAAI,GAAG,CAAA;AAC3B,CAAC;AAED,2DAA2D;AAC3D,+BAA+B;AAClB,QAAA,gBAAgB,GAAG,mBAAmB,CAAA;AACtC,QAAA,gBAAgB,GAAG,iBAAiB,CAAA","sourcesContent":["/** Typescript thinks import('...js/.d.ts') needs mod.default.default */\nfunction fakeUnwrapDefault(mod: { default: T }): T {\n // console.log(\"fakeUnwrapDefault\", mod)\n return mod.default as T\n}\n\n/** Typescript thinks import('...ts') doesn't need mod.default.default, but does */\nfunction actualUnwrapDefault(mod: T): T {\n // console.log(\"actualUnwrapDefault\", mod)\n const maybeUnwrap = (mod as any).default\n return maybeUnwrap ?? mod\n}\n\n// I'm not sure if this behavior is needed in all runtimes,\n// or just for mocha + ts-node.\nexport const unwrapTypescript = actualUnwrapDefault\nexport const unwrapJavascript = fakeUnwrapDefault\n"]} \ No newline at end of file diff --git a/node_modules/@tootallnate/quickjs-emscripten/dist/generated/emscripten-module.WASM_RELEASE_SYNC.d.ts b/node_modules/@tootallnate/quickjs-emscripten/dist/generated/emscripten-module.WASM_RELEASE_SYNC.d.ts deleted file mode 100644 index 766fffe..0000000 --- a/node_modules/@tootallnate/quickjs-emscripten/dist/generated/emscripten-module.WASM_RELEASE_SYNC.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -export = QuickJSRaw; -declare function QuickJSRaw(QuickJSRaw?: {}): any; -declare namespace QuickJSRaw { - export { QuickJSRaw }; -} diff --git a/node_modules/@tootallnate/quickjs-emscripten/dist/generated/emscripten-module.WASM_RELEASE_SYNC.js b/node_modules/@tootallnate/quickjs-emscripten/dist/generated/emscripten-module.WASM_RELEASE_SYNC.js deleted file mode 100644 index 4320683..0000000 --- a/node_modules/@tootallnate/quickjs-emscripten/dist/generated/emscripten-module.WASM_RELEASE_SYNC.js +++ /dev/null @@ -1,387 +0,0 @@ -"use strict"; -var QuickJSRaw = (() => { - var _scriptDir = typeof document !== 'undefined' && document.currentScript ? document.currentScript.src : undefined; - if (typeof __filename !== 'undefined') - _scriptDir = _scriptDir || __filename; - return (function (QuickJSRaw = {}) { - var a; - a || (a = typeof QuickJSRaw !== 'undefined' ? QuickJSRaw : {}); - var m, n; - a.ready = new Promise(function (b, c) { m = b; n = c; }); - var p = Object.assign({}, a), t = "./this.program", u = "object" == typeof window, v = "function" == typeof importScripts, w = "object" == typeof process && "object" == typeof process.versions && "string" == typeof process.versions.node, x = "", y, z, A; - if (w) { - var fs = require("fs"), B = require("path"); - x = v ? B.dirname(x) + "/" : __dirname + "/"; - y = (b, c) => { var d = C(b); if (d) - return c ? d : d.toString(); b = b.startsWith("file://") ? new URL(b) : B.normalize(b); return fs.readFileSync(b, c ? void 0 : "utf8"); }; - A = b => { b = y(b, !0); b.buffer || (b = new Uint8Array(b)); return b; }; - z = (b, c, d) => { var e = C(b); e && c(e); b = b.startsWith("file://") ? new URL(b) : B.normalize(b); fs.readFile(b, function (f, g) { f ? d(f) : c(g.buffer); }); }; - !a.thisProgram && 1 < process.argv.length && (t = process.argv[1].replace(/\\/g, "/")); - process.argv.slice(2); - a.inspect = function () { return "[Emscripten Module object]"; }; - } - else if (u || v) - v ? x = self.location.href : "undefined" != typeof document && document.currentScript && (x = document.currentScript.src), _scriptDir && (x = _scriptDir), 0 !== x.indexOf("blob:") ? x = x.substr(0, x.replace(/[?#].*/, "").lastIndexOf("/") + 1) : x = "", y = b => { - try { - var c = new XMLHttpRequest; - c.open("GET", b, !1); - c.send(null); - return c.responseText; - } - catch (f) { - if (b = C(b)) { - c = []; - for (var d = 0; d < b.length; d++) { - var e = b[d]; - 255 < e && (e &= 255); - c.push(String.fromCharCode(e)); - } - return c.join(""); - } - throw f; - } - }, v && (A = b => { try { - var c = new XMLHttpRequest; - c.open("GET", b, !1); - c.responseType = "arraybuffer"; - c.send(null); - return new Uint8Array(c.response); - } - catch (d) { - if (b = C(b)) - return b; - throw d; - } }), z = (b, c, d) => { var e = new XMLHttpRequest; e.open("GET", b, !0); e.responseType = "arraybuffer"; e.onload = () => { if (200 == e.status || 0 == e.status && e.response) - c(e.response); - else { - var f = C(b); - f ? c(f.buffer) : d(); - } }; e.onerror = d; e.send(null); }; - var aa = a.print || console.log.bind(console), D = a.printErr || console.warn.bind(console); - Object.assign(a, p); - p = null; - a.thisProgram && (t = a.thisProgram); - var E; - a.wasmBinary && (E = a.wasmBinary); - var noExitRuntime = a.noExitRuntime || !0; - "object" != typeof WebAssembly && F("no native wasm support detected"); - var G, H = !1, I, J, K, L; - function M() { var b = G.buffer; a.HEAP8 = I = new Int8Array(b); a.HEAP16 = new Int16Array(b); a.HEAP32 = K = new Int32Array(b); a.HEAPU8 = J = new Uint8Array(b); a.HEAPU16 = new Uint16Array(b); a.HEAPU32 = L = new Uint32Array(b); a.HEAPF32 = new Float32Array(b); a.HEAPF64 = new Float64Array(b); } - var ba = [], ca = [], da = []; - function ea() { var b = a.preRun.shift(); ba.unshift(b); } - var N = 0, O = null, P = null; - function F(b) { if (a.onAbort) - a.onAbort(b); b = "Aborted(" + b + ")"; D(b); H = !0; b = new WebAssembly.RuntimeError(b + ". Build with -sASSERTIONS for more info."); n(b); throw b; } - var Q = "data:application/octet-stream;base64,", R; - R = "data:application/octet-stream;base64,AGFzbQEAAAAB9QZxYAJ/fwBgA39/fwF/YAR/fn9/AX5gAn9/AX9gAX8Bf2AFf35/f38BfmADf39/AGAEf39/fwF/YAJ/fgF+YAF/AGAFf39/f38Bf2ABfAF8YAJ/fgBgA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gACADKAAENgIYIAAgAy0ACDYCHAwBCwsgACAJNgIMIAAgATYCCEEBIQsLIAsLCwAgACABQQAQjgQLJAEBfyAAKAIQIgJBEGogASACKAIAEQMAIgFFBEAgABB8CyABCyYBAX8jAEEQayICJAAgAiABOwEOIAAgAkEOakECEHIgAkEQaiQACykBAX8gAgRAIAAhAwNAIAMgAToAACADQQFqIQMgAkEBayICDQALCyAACz8BAX8jAEEQayICJAACfyABIAAoAhBHBEAgAiABNgIAIABBoJgBIAIQFkF/DAELIAAQEgshACACQRBqJAAgAAsLACAAIAFBARDmBQvDCgIFfw9+IwBB4ABrIgUkACAEQv///////z+DIQwgAiAEhUKAgICAgICAgIB/gyEKIAJC////////P4MiDUIgiCEOIARCMIinQf//AXEhBwJAAkAgAkIwiKdB//8BcSIJQf//AWtBgoB+TwRAIAdB//8Ba0GBgH5LDQELIAFQIAJC////////////AIMiC0KAgICAgIDA//8AVCALQoCAgICAgMD//wBRG0UEQCACQoCAgICAgCCEIQoMAgsgA1AgBEL///////////8AgyICQoCAgICAgMD//wBUIAJCgICAgICAwP//AFEbRQRAIARCgICAgICAIIQhCiADIQEMAgsgASALQoCAgICAgMD//wCFhFAEQCACIAOEUARAQoCAgICAgOD//wAhCkIAIQEMAwsgCkKAgICAgIDA//8AhCEKQgAhAQwCCyADIAJCgICAgICAwP//AIWEUARAIAEgC4QhAkIAIQEgAlAEQEKAgICAgIDg//8AIQoMAwsgCkKAgICAgIDA//8AhCEKDAILIAEgC4RQBEBCACEBDAILIAIgA4RQBEBCACEBDAILIAtC////////P1gEQCAFQdAAaiABIA0gASANIA1QIgYbeSAGQQZ0rXynIgZBD2sQZ0EQIAZrIQYgBSkDWCINQiCIIQ4gBSkDUCEBCyACQv///////z9WDQAgBUFAayADIAwgAyAMIAxQIggbeSAIQQZ0rXynIghBD2sQZyAGIAhrQRBqIQYgBSkDSCEMIAUpA0AhAwsgA0IPhiILQoCA/v8PgyICIAFCIIgiBH4iECALQiCIIhMgAUL/////D4MiAX58Ig9CIIYiESABIAJ+fCILIBFUrSACIA1C/////w+DIg1+IhUgBCATfnwiESAMQg+GIhIgA0IxiIRC/////w+DIgMgAX58IhQgDyAQVK1CIIYgD0IgiIR8Ig8gAiAOQoCABIQiDH4iFiANIBN+fCIOIBJCIIhCgICAgAiEIgIgAX58IhAgAyAEfnwiEkIghnwiF3whASAHIAlqIAZqQf//AGshBgJAIAIgBH4iGCAMIBN+fCIEIBhUrSAEIAQgAyANfnwiBFatfCACIAx+fCAEIAQgESAVVK0gESAUVq18fCIEVq18IAMgDH4iAyACIA1+fCICIANUrUIghiACQiCIhHwgBCACQiCGfCICIARUrXwgAiACIBAgElatIA4gFlStIA4gEFatfHxCIIYgEkIgiIR8IgJWrXwgAiACIA8gFFStIA8gF1atfHwiAlatfCIEQoCAgICAgMAAg1BFBEAgBkEBaiEGDAELIAtCP4ghAyAEQgGGIAJCP4iEIQQgAkIBhiABQj+IhCECIAtCAYYhCyADIAFCAYaEIQELIAZB//8BTgRAIApCgICAgICAwP//AIQhCkIAIQEMAQsCfiAGQQBMBEBBASAGayIHQf8ATQRAIAVBMGogCyABIAZB/wBqIgYQZyAFQSBqIAIgBCAGEGcgBUEQaiALIAEgBxCOAiAFIAIgBCAHEI4CIAUpAzAgBSkDOIRCAFKtIAUpAyAgBSkDEISEIQsgBSkDKCAFKQMYhCEBIAUpAwAhAiAFKQMIDAILQgAhAQwCCyAEQv///////z+DIAatQjCGhAsgCoQhCiALUCABQgBZIAFCgICAgICAgICAf1EbRQRAIAogAkIBfCIBUK18IQoMAQsgCyABQoCAgICAgICAgH+FhFBFBEAgAiEBDAELIAogAiACQgGDfCIBIAJUrXwhCgsgACABNwMAIAAgCjcDCCAFQeAAaiQACyEAIAAgASACQoCAgIAwIAMgBEECENgBIQIgACABEA8gAgumAQEEfyAAQQA2AgQgAVAEQCAAQYCAgIB4NgIIIABBABBBGkEADwsCQCABQv////8PWARAIABBARBBDQEgACgCECABIAGnZyICrYY+AgAgAEEgIAJrN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cIQ3AxhBAQ8LIAUoAgAoAhApAwAiB0KAgICAcINCgICAgMAAUQ0EIAdCIIinQXVPBEAgB6ciACAAKAIAQQFqNgIACyABIAc3AwgMCAsgACACIAMgBSAEEMgCRQ0BDAYLCyAFKQMAIgdCIIinQXVPBEAgB6ciACAAKAIAQQFqNgIACyABIAc3AwgMBQtBASEEIAZBgICAgHxxQYCAgIB4Rw0CIAUoAgAoAhA1AgRCIIZCgICAgMAAUg0CCyAAIAMQ2QEMAgtBACEEIAItAAUiBUEEcUUNACAFQQhxBEAgA0EATg0BIANB/////wdxIgMgAigCKCIFSSEEIAFFIAMgBU9yDQEgAUKAgICAMDcDGCABQoCAgIAwNwMQIAFBBzYCACABIAAgAq1CgICAgHCEIAMQsAE3AwgMAwsgACgCECgCRCACLwEGQRhsaigCFCIFRQ0AIAUoAgAiBUUNACAAIAEgAq1CgICAgHCEIAMgBREXACEECyAEDwtBfw8LQQELoQQBAn8CQAJAIAFCgICAgHBUIAJC/////w9Wcg0AIAKnIgQgAaciAygCKE8NAAJAAkACQAJAAkACQAJAAkACQAJAAkAgAy8BBkECaw4eAAsLCwsLAAsLCwsLCwsLCwsLCwIBAgMEBQYHCAkKCwsgAygCJCAEQQN0aikDACIBQiCIp0F1SQ0LIAGnIgAgACgCAEEBajYCACABDwsgAygCJCAEajAAAEL/////D4MPCyADKAIkIARqMQAADwsgAygCJCAEQQF0ajIBAEL/////D4MPCyADKAIkIARBAXRqMwEADwsgAygCJCAEQQJ0ajUCAA8LIAMoAiQgBEECdGooAgAiAEEATgRAIACtDwtCgICAgMB+IAC4vSIBQoCAgIDAgYD8/wB9IAFC////////////AINCgICAgICAgPj/AFYbDwsgACADKAIkIARBA3RqKQMAEIcCDwsgACADKAIkIARBA3RqKQMAEPsDDwtCgICAgMB+IAMoAiQgBEECdGoqAgC7vSIBQoCAgIDAgYD8/wB9IAFC////////////AINCgICAgICAgPj/AFYbDwtCgICAgMB+IAMoAiQgBEEDdGopAwAiAUKAgICAwIGA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0H/AXEQEQ8LIAAgAkEra0H/AXEQEQ8LIAAgAkEna0H/AXEQEQ8LIAAgAkEja0H/AXEQEQ8LIAAgAkEfa0H/AXEQEQ8LIAAgAkEba0H/AXEQEQ8LIAJB/wFLDQECQAJAAkAgAUHYAGsOAwABAgQLIABBwgEQEQwFCyAAQcMBEBEMBAsgAEHEARARDAMLIAFBIkYNAQsgACABQf8BcRARIAAgAkH//wNxECoPCyAAIAJBEmtB/wFxEBEPCyAAIAJB/wFxEBELIQAgASACRgRAIAEQGw8LIAAgAUEEa61CgICAgPB+hBAPCywBAX8gACgCECICQRBqIAEgAigCABEDACICBEAgAkEAIAEQKw8LIAAQfCACCxwBAX8gACABEDgEf0EABSAAQZvMAEEAEBVBfwsLQwEDfwJAIAJFDQADQCAALQAAIgQgAS0AACIFRgRAIAFBAWohASAAQQFqIQAgAkEBayICDQEMAgsLIAQgBWshAwsgAwsNACAAIAEgARA/EJMCC20BAX8jAEGAAmsiBSQAIARBgMAEcSACIANMckUEQCAFIAFB/wFxIAIgA2siA0GAAiADQYACSSIBGxArGiABRQRAA0AgACAFQYACEFsgA0GAAmsiA0H/AUsNAAsLIAAgBSADEFsLIAVBgAJqJAALDAAgAEGAAmogARARC74BAgF+AX8CQAJAIAFCgICAgHCDQoCAgIAwUQRAIAAoAiggAkEDdGopAwAiA0IgiKdBdEsNAQwCCyAAIAFBOyABQQAQFCIDQoCAgIBwg0KAgICA4ABRBEAgAw8LIANC/////29WDQEgACADEA8gACABEIADIgRFBEBCgICAgOAADwsgBCgCKCACQQN0aikDACIDQiCIp0F1SQ0BCyADpyIEIAQoAgBBAWo2AgALIAAgAyACEEkhASAAIAMQDyABC3UBAX4gACABIAR+IAIgA358IANCIIgiAiABQiCIIgR+fCADQv////8PgyIDIAFC/////w+DIgF+IgVCIIggAyAEfnwiA0IgiHwgASACfiADQv////8Pg3wiAUIgiHw3AwggACAFQv////8PgyABQiCGhDcDAAtQAQF+AkAgA0HAAHEEQCABIANBQGqthiECQgAhAQwBCyADRQ0AIAIgA60iBIYgAUHAACADa62IhCECIAEgBIYhAQsgACABNwMAIAAgAjcDCAtVAQN/IAEgAkEFdSIESwRAIAAgBEECdGooAgAhAwsgAkEfcSICBH8gASAEQQFqIgRLBH8gACAEQQJ0aigCAAVBAAtBAXQgAkEfc3QgAyACdnIFIAMLC2QAAkACQCABQQBIDQAgACgCrAIgAUwNACAAKAKkAiABQRRsaiIAIAAoAgAgAmoiADYCACAAQQBIDQEgAA8LQYUpQa78AEHIqAFBlNUAEAAAC0GmjgFBrvwAQcuoAUGU1QAQAAALYAAgACABIAJCgICAgAh8Qv////8PWAR+IAJC/////w+DBUKAgICAwH4gArm9IgJCgICAgMCBgPz/AH0gAkL///////////8Ag0KAgICAgICA+P8AVhsLIANBh4ABEL0BCwwAIABBhvsAQQAQFQsLACAAIAFBARDBBQvSEAIMfwF+IwBBEGsiCiQAAkACQCABQv////9vWARAIAAQJAwBCyAGQYAwcSIORSAGIAZBCHYiEHEgEEF/c3JBB3EiEUEHRnEhEiAGQYDAAHEhDCACQf////8HcSENIAGnIQkCQAJAAkACQAJAA0AgCSgCECIHQTBqIQggByAHKAIYIAJxQX9zQQJ0aigCACEHAkADQCAHRQ0BIAIgCCAHQQFrQQN0IgtqIgcoAgRHBEAgBygCAEH///8fcSEHDAELCyAJKAIUIAtqIQggCiAHNgIMIAxFIAcoAgAiC0GAgICAAnFFckUEQCADQiCIp0F1TwRAIAOnIgcgBygCAEEBajYCAAsgACAKQQhqIANBABDCAg0IAn4gCigCCCIHQQBOBEAgB60MAQtCgICAgMB+IAe4vSIDQoCAgIDAgYD8/wB9IANC////////////AINCgICAgICAgPj/AFYbCyEDIAkoAhAiB0EwaiEIIAcgBygCGCACcUF/c0ECdGooAgAhBwJAA0AgBwRAIAggB0EBa0EDdCILaiIHKAIEIAJGDQIgBygCAEH///8fcSEHDAELC0H4gwFBrvwAQdjGAEHPHBAAAAsgCSgCFCALaiEIIAogBzYCDCAHKAIAIQsLIAtBGnY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F/IQcLIApBEGokACAHC/8BAgJ/AXwjAEEQayIEJAACQCACQiCIpyIDQQJNBEAgASACp7c5AwBBACEADAELIANBB2tBbU0EQCABIAJCgICAgMCBgPz/AHw3AwBBACEADAELAn8gACACEI0BIgJCgICAgHCDQoCAgIDgAFEEQEQAAAAAAAD4fyEFQX8MAQsCfAJAAkBBByACQiCIpyIDIANBB2tBbkkbIgNBCmpBAk8EQCADQQdGDQIgAw0BIAKntwwDCyACp0EEaiAEQQhqELUFIAAgAhAPIAQrAwghBUEADAMLEAEACyACQoCAgIDAgYD8/wB8vwshBUEACyEAIAEgBTkDAAsgBEEQaiQAIAALXQECfyMAQRBrIgMkAAJAIAFBgIABcUUEQCABQYCAAnFFDQEgACgCECgCjAEiAUUNASABLQAoQQFxRQ0BCyADQQA2AgwgAEEEIAJBABCSBEF/IQQLIANBEGokACAEC8YJAgR/BX4jAEHwAGsiBiQAIARC////////////AIMhCQJAAkAgAVAiBSACQv///////////wCDIgpCgICAgICAwP//AH1CgICAgICAwICAf1QgClAbRQRAIANCAFIgCUKAgICAgIDA//8AfSILQoCAgICAgMCAgH9WIAtCgICAgICAwICAf1EbDQELIAUgCkKAgICAgIDA//8AVCAKQoCAgICAgMD//wBRG0UEQCACQoCAgICAgCCEIQQgASEDDAILIANQIAlCgICAgICAwP//AFQgCUKAgICAgIDA//8AURtFBEAgBEKAgICAgIAghCEEDAILIAEgCkKAgICAgIDA//8AhYRQBEBCgICAgICA4P//ACACIAEgA4UgAiAEhUKAgICAgICAgIB/hYRQIgUbIQRCACABIAUbIQMMAgsgAyAJQoCAgICAgMD//wCFhFANASABIAqEUARAIAMgCYRCAFINAiABIAODIQMgAiAEgyEEDAILIAMgCYRQRQ0AIAEhAyACIQQMAQsgAyABIAEgA1QgCSAKViAJIApRGyIIGyEKIAQgAiAIGyILQv///////z+DIQkgAiAEIAgbIgJCMIinQf//AXEhByALQjCIp0H//wFxIgVFBEAgBkHgAGogCiAJIAogCSAJUCIFG3kgBUEGdK18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gIBwg0KAgICAkH9RDQAgACgCACABEDciAUKAgICAcINCgICAgOAAUg0AIAAQgwNBfw8LIAAgAaciAkEAIAIoAgRB/////wdxEFEhAiAAKAIAIAEQDyACC7UCAQd/IwBBEGsiBSQAAkAgAEFAaygCACIBRQRADAELAkAgAQJ/IAEoAsgBIgQgASgCxAEiAkgEQCABKALMASEDIAQMAQsgBEEBaiIDIAJBA2xBAm0iAiACIANIGyIGQQN0IQIgACgCACEDAkAgASgCzAEiByABQdABakYEQCADQQAgAiAFQQxqEKgBIgNFDQMgAyABKALMASABKALIAUEDdBAfGgwBCyADIAcgAiAFQQxqEKgBIgNFDQILIAUoAgwhAiABIAM2AswBIAEgAkEDdiAGajYCxAEgASgCyAELQQFqNgLIASADIARBA3RqIgIgASgCvAE2AgAgAiABKALAATYCBCAAQbQBEBAgAEFAaygCACAEQf//A3EQFyABIAQ2ArwBDAELQX8hBAsgBUEQaiQAIAQLoQECA38BfiMAIQYCQCACQoCAgIBwVA0AIAKnIgUvAQZBMEcNACAFKAIgIQQLAn8gBiAAKAIQKAJ4SQRAIAAQ6QFBAAwBCyAELQARBEAgABC2AkEADAELQQAgACAEKQMIIgIgAyACQQAQFCIHQoCAgIBwgyICQoCAgIDgAFENABogAUKAgICAMCAHIAJCgICAgCBRGzcDACAECyEFIAYkACAFCxYAIAAgASACIAMgBCAFIAApAzAQ8QELKQEBfyMAQRBrIgIkACACIAA2AgwgAkEMaiABEJMEIQAgAkEQaiQAIAALngICA38BfiACIAEpAgQiB6dB/////wdxIANHckUEQCABIAEoAgBBAWo2AgAgAa1CgICAgJB/hA8LIAFBEGohBSAHQoCAgIAIg1AgAyACayIEQQBMckUEQCADIAIgAiADSBshBkEAIQMgAiEBA0AgASAGRkUEQCAFIAFBAXRqLwEAIANyIQMgAUEBaiEBDAELCyADQf//A3FBgAJPBEAgACAFIAJBAXRqIAQQ7gMPC0EAIQEgACAEQQAQ6gEiAEUEQEKAgICA4AAPCyAAQRBqIQMDQCABIARGRQRA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AhAiBEEQaiABIAIgBCgCCBEBACIBIAJFckUEQCAAEHwgAQ8LIAMEQCADIAEgACgCECgCDBEEACIAIAJrIgJBACAAIAJPGzYCAAsgAQvAAQAgAAJ/IAEoAggiAEH+////B04EQEEAIAJBAXENARpB/////wcgAEH+////B0cNARogASgCBEH/////B2oMAQtBACAAQQBMDQAaIABBH00EQEEAIAEoAhAgASgCDEECdGpBBGsoAgBBICAAa3YiAmsgAiABKAIEGwwBCyACQQFxRQRAQYCAgIB4Qf////8HIAEoAgQbDAELQQAgASgCECABKAIMIgIgAkEFdCAAaxBoIgJrIAIgASgCBBsLNgIACw0AIAAgASABED8QhQML+QECA34CfyMAQRBrIgUkAAJ+IAG9IgNC////////////AIMiAkKAgICAgICACH1C/////////+//AFgEQCACQjyGIQQgAkIEiEKAgICAgICAgDx8DAELIAJCgICAgICAgPj/AFoEQCADQjyGIQQgA0IEiEKAgICAgIDA//8AhAwBCyACUARAQgAMAQsgBSACQgAgA6dnQSBqIAJCIIinZyACQoCAgIAQVBsiBkExahBnIAUpAwAhBCAFKQMIQoCAgICAgMAAhUGM+AAgBmutQjCGhAshAiAAIAQ3AwAgACACIANCgICAgICAgICAf4OENwMIIAVBEGokAAu2AQEBfyMAQRBrIgMkAAJAAkAgAkEASARAIAEgAkH/////B3E2AgBBASECDAELIAAoAhAiACgCLCACTQ0BAn8CQCAAKAI4IAJBAnRqKAIAIgApAgRCgICAgICAgIBAg0KAgICAgICAgMAAUg0AIANBDGogABC9BUUNAEEBIAMoAgwiAEF/Rw0BGgtBACEAQQALIQIgASAANgIACyADQRBqJAAgAg8LQe/fAEGu/ABBvxhBryAQAAAL1QECAn8DfgJ/IAJFBEBCgICAgDAhBUEADAELIAAoAhAiAykDgAEhBSADQoCAgIAgNwOAAUF/CyEDAkAgACABQQYgAUEAEBQiB0KAgICAcIMiBkKAgICAIFEgBkKAgICAMFFyRQRAQX8hBCAGQoCAgIDgAFENASAAIAcgAUEAQQAQLyEBAn8gAyACDQAaQX8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ISNgKMASATKAIwIQYgESALQQN0aiIIIRwLQQAMAQtBAQshBwNAAkACQAJAAkAgB0UEQCAEQQN0IScgA0KAgICAcIMhMyARQQhqIR0gEUEQaiEeIBFBGGohHyAVQQhqISAgFUEQaiEhIBVBGGohIiASQRhqISggBkHIAWohGyAcQRhqISkgBkHAAWohGSACQiCIpyIkQX5xISogA0IgiKchKyAErSEyIAOnISUgDkEwaiEsIA5B6ABqISYgCCEHAkADQAJAIApBAWohDUIBIS5CgICAgDAhAQJ/AkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJ/AkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAgCi0AACIJQQFrDvUBAAElCZIBCgsMDQ4PEBESExQVGBYXGRobHCEiIyQdIB4fKScnKiorLNsB+gEtLi8w2QExMjM0NTY3ODk5Ojo7nwGiAT08Po8BkAGRAZMBlAGVAZ0BngGhAaABowGWAZcBmAGZAZoBpAGmAacBmwGbAZwBnAE/QEFCQ0RsbW5yc3R1b3Bxdn18eYABg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EQCABpyIHIAcoAgBBAWo2AgALIAggATcDECAIQRhqIQcM2wELIAggCEEIayIHKQMANwMAIAhBEGspAwAiAUIgiKdBdU8EQCABpyIKIAooAgBBAWo2AgALIAcgATcDACAIQQhqIQcM2gELIAggCEEIayIHKQMAIgE3AwAgByAIQRBrIgcpAwA3AwAgAUIgiKdBdU8EQCABpyIKIAooAgBBAWo2AgALIAcgATcDACAIQQhqIQcM2QELIAggCEEIayIHKQMAIgE3AwAgCEEQayIKKQMAIS0gCiAIQRhrIgopAwA3AwAgByAtNwMAIAFCIIinQXVPBEAgAaciByAHKAIAQQFqNgIACyAKIAE3AwAgCEEIaiEHDNgBCyAIIAhBCGsiBykDACIBNwMAIAhBEGsiCikDACEtIAogCEEYayIKKQMANwMAIAcgLTcDACAKIAhBIGsiBykDADcDACABQiCIp0F1TwRAIAGnIgogCigCAEEBajYCAAsgByABNwMAIAhBCGohBwzXAQsgCEEQayIHKQMAIQEgByAIQRhrIgcpAwA3AwAgByABNwMADNABCyAIQRhrIgcpAwAhASAHIAhBEGsiBykDADcDACAIQQhrIgopAwAhLSAKIAE3AwAgByAtNwMADM8BCyAIQSBrIgcpAwAhASAHIAhBGGsiBykDADcDACAIQRBrIgopAwAhLSAKIAhBCGsiCikDADcDACAHIC03AwAgCiABNwMADM4BCyAIQShrIgcpAwAhASAHIAhBIGsiBykDADcDACAIQRhrIgopAwAhLSAKIAhBEGsiCikDADcDACAHIC03AwAgCiAIQQhrIgcpAwA3AwAgByABNwMADM0BCyAIQQhrIgcpAwAhASAHIAhBEGsiBykDADcDACAIQRhrIgopAwAhLSAKIAE3AwAgByAtNwMADMwBCyAIQRBrIgcpAwAhASAHIAhBGGsiBykDADcDACAIQSBrIgopAwAhLSAKIAE3AwAgByAtNwMADMsBCyAIQRBrIgcpAwAhASAHIAhBGGsiBykDADcDACAIQSBrIgopAwAhLSAKIAhBKGsiCikDADcDACAHIC03AwAgCiABNwMADMoBCyAIQQhrIgcpAwAhASAHIAhBEGsiByk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gDEQLIAFCIIinQXVPBEAgAaciCSAJKAIAQQFqNgIACyAOIAE3AyAgDiAIKQMANwMoIAYgLBDTBQ1NIAYgByAOKQMgECAMQwsgCEEIayIHKQMAIgFCIIinIgwgCEEQayILKQMAIi1CIIinIg9yRQRAIC3EIAHEfSIBQoCAgIAIfEL/////D1YNBCALIAFC/////w+DNwMADEkLIA9BB2tBbUsgDEEHa0FtS3INAyALQoCAgIDAfiAtQoCAgIDAgYD8/wB8vyABQoCAgIDAgYD8/wB8v6G9IgFCgICAgMCBgPz/AH0gAUL///////////8Ag0KAgICAgICA+P8AVhs3AwAMSAsCfCAIQQhrIgcpAwAiLUIgiKciDCAIQRBrIgspAwAiLkIgiKciD3JFBEAgLcQgLsR+IgFCgICAgAh8QoCAgIAQWgRAIBItAChBBHFBACABQoCAgICAgIAQfUKBgICAgICAYFQbDQUgAbkMAgtEAAAAAAAAAIAgLSAuhEKAgICACINQIAFCAFJyRQ0BGiALIAFC/////w+DNwMADEkLIA9BB2tBbUsgDEEHa0FtS3INAyASLQAoQQRxDQMgLkKAgICAwIGA/P8AfL8gLUKAgICAwIGA/P8AfL+iCyE0IAtCgICAgMB+IDS9IgFCgICAgMCBgPz/AH0gAUL///////////8Ag0KAgICAgICA+P8AVhs3AwAMRwsgCEEIayIHKQMAIgEgCEEQayILKQMAIi2EQv////8PVg0BIBItAChBBHENASALAn4gLae3IAGnt6MiNL0iAQJ/IDSZRAAAAAAAAOBBYwRAIDSqDAELQYCAgIB4CyIIt71RBEAgCK0MAQtCgICAgMB+IAFCgICAgMCBgPz/AH0gAUL///////////8Ag0KAgICAgICA+P8AVhsLNwMADEYLIAhBCGsiBykDACIBIAhBEGsiCykDACIthEL/////D1YNACAtpyIMQQBIDQAgAaciD0EATA0AIAsgDCAPcK03AwAMRQsjAEEgayIHJAACfwJAAkACQAJAAn4CQAJAAkACQAJAAkACQEEHIAhBEGsiCykDACIBQiCIpyIMIAxBB2tBbkkbIgxBB0dBByAIQQhrIiMpAwAi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AAAAAAAAOBBIApBgICAgHhGDQEaIAdCACABfUL/////D4M3AwAMPwsgCUEHa0FtSw0BIAFCgICAgMD+/wN9vwshNCAHQoCAgIDAfiA0vSIBQoCAgIDAgYD8/wB9IAFC////////////AINCgICAgICAgPj/AFYbNwMADD0LIAghByAGIAhBjAEQ5gFFDUIMRgsgCEEIayIHKQMAIgFC/////w9WIAFC/////w+DQv////8HUXJFBEAgByABQgF8Qv////8PgzcDAAw8CyAIIQcgBiAIQY8BEOYBRQ1BDEULIAhBCGsiBykDACIBQv////8PViABQv////8Pg0KAgICACFFyRQRAIAcgAUIBfUL/////D4M3AwAMOwsgCCEHIAYgCEGOARDmAUUNQAxECyAGIAhBCGsiBykDABBsIgFCgICAgHCDQoCAgIDgAFEEQCAHQoCAgIAwNwMADEQLIAcgATcDACABQiCIp0F1TwRAIAGnIgcgBygCAEEBajYCAAsgCCABNwMAIAYgCEEIaiIHIAlBAmsQ5gFFDT8MQwsgCkECaiENIBEgCi0AAUEDdGoiBykDACIBQv////8PViABQv////8Pg0L/////B1FyRQRAIAcgAUIBfEL/////D4M3AwAMOQsgAUIgiKdBdU8EQCABpyIJIAkoAgBBAWo2AgALIA4gATcDYCAGICZBjwEQ5gENQiAGIAcgDikDYBAgDDgLIApBAmohDSARIAotAAFBA3RqIgcpAwAiAUL/////D1YgAUL/////D4NCgICAgAhRckUEQCAHIAFCAX1C/////w+DNwMADDgLIAFCIIinQXVPBEAgAaciCSAJKAIAQQFqNgIACyAOIAE3A2AgBiAmQY4BEOYBDUEgBiAHIA4pA2AQIAw3CyAIQQhrIgcpAwAiAUL/////D1gEQCAHIAFC/////w+FNwMADDcLIAghByMAQRBrIgkkAAJ/AkACQAJAIAhBCGsiCykDACIBQoCAgIBwVA0AIAYgCUEIaiABQZUBEMIFIgxBAEgNASAMRQ0AIAYgARAPIAsgCSkDCDcDAAwCCwJAIAYgARBsIgFCgICAgHCDIi1CgICAgOAAUQ0AIAYoAhAiDCgCjAEiDwR/IA8tAChBBHFBAnYFQQALRSAtQoCAgIDgflJxRQRAIAYgC0GVASABIAwoApwCERsADQEMAwsgBiAJQQRqIAEQmAENACALIAk1AgRC/////w+FNwMADAILIAtCgICAgDA3AwALQX8MAQtBAAshCyAJQRBqJAAgC0UNPAxACwJAAkACQCAIQQhrIgcpAwAiASAIQRBrIgspAwAiLYRC/////w9WDQAgAachCSASLQAoQQRxRQ0BIAlBH0sNACAtIAGGQoCAgIAIfEKAgICAEFQNAgsgBiAIQaABEMMCRQ09DEELIAlBH3EhCQsgCyAtpyAJdK03AwAMOwsgCEEIayIHKQMAIgEgCEEQayIJKQMAIi2EQv////8PWARAIAkCfiAtpyABp3YiCEEATgRAIAitDAELQoCAgIDAfiAIuL0iAUKAgICAwIGA/P8AfSABQv///////////wCDQoCAgICAgID4/wBWGws3AwAMOwsjAEEQayIJJAAgCEEIayIMKQMAIS0CfwJAAkAgBiAIQRBrIgspAwAQbCIBQoCAgIBwgyIuQoCAgIDgAFEEQCAGIC0QDwwBCyAGIC0QbCItQoCAgIBwgyIvQoCAgIDgAFEEQCAGIAEQDwwBCyAGKAIQKAKMASIPBEAgDy0AKEEEcQ0CCyAuQoCAgIDgflIgL0KAgICA4H5ScQ0BIAZB+ogBQQAQFSAGIAEQDyAGIC0QDwsgC0KAgICAMDcDACAMQoCAgIAwNwMAQX8MAQsgBiAJQQxqIAEQmAEaIAYgCUEIaiAtEJgBGiALAn4gCSgCDCAJKAIIdiILQQBOBEAgC60MAQtCgICAgMB+IAu4vSIBQoCAgIDAgYD8/wB9IAFC////////////AINCgICAgICAgPj/AFYbCzcDAEEACyELIAlBEGokACALRQ06DD4LAkAgCEEIayIHKQMAIgEgCEEQayIJKQMAIi2EQv////8PVg0AIAkgLacgAaciCUEgTwR/IBItAChBBHENASAJQR9xBSAJC3WtNwMADDoLIAYgCEGhARDDAkUNOQw9CyAIQQhrIgcpAwAiASAIQRBrIgkpAwAiLYRC/////w9YBEAgCSABIC2DNwMADDkLIAYgCEGtARDDAkUNOAw8CyAIQQhrIgcpAwAgCEEQayIJKQMAhCIBQv////8PWARAIAkgATcDAAw4CyAGIAhBrwEQwwJFDTcMOwsgCEEIayIHKQMAIgEgCEEQayIJKQMAIi2EQv////8PWARAIAkgASAthTcDAAw3CyAGIAhBrgEQwwJFDTYMOgsgCEEIayIHKQMAIgEgCEEQayIJKQMAIi2EQv////8PWARAIAkgLacgAadIrUKAgICAEIQ3AwAMNgsgBiAIQaMBEJcDRQ01DDkLIAhBCGsiBykDACIBIAhBEGsiCSkDACIthEL/////D1gEQCAJIC2nIAGnTK1CgICAgBCENwMADDULIAYgCEGkARCXA0UNNAw4CyAIQQhrIgcpAwAiASAIQRBrIgkpAwAiLYRC/////w9YBEAgCSAtpyABp0qtQoCAgIAQhDcDAAw0CyAGIAhBpQEQlwNFDTMMNwsgCEEIayIHKQMAIgEgCEEQayIJKQMAIi2EQv////8PWARAIAkgLacgAadOrUKAgICAEIQ3AwAMMwsgBiAIQaYBEJcDRQ0yDDYLIAhBCGsiBykDACIBIAhBEGsiCSkDACIthEL/////D1gEQCAJIC2nIAGnRq1CgICAgBCENwMADDILIAYgCEEAENIFRQ0xDDULIAhBCGsiBykDACIBIAhBEGsiCSkDACIthEL/////D1gEQCAJIC2nIAGnR61CgICAgBCENwMADDELIAYgCEEBENIFRQ0wDDQLIAhBCGsiBykDACIBIAhBEGsiCikDACIthEL/////D1gEQCAKIC2nIAGnRq1CgICAgBCENwMADDALIAYgCEEAENEFDC8LIAhBCGsiBykDACIBIAhBEGsiCikDACIthEL/////D1gEQCAKIC2nIAGnR61CgICAgBCENwMADC8LIAYgCEEBENEFDC4LIAYgCCAWKALIAhEDAA0xIAhBCGshBwwtCyAIQQhrIgcpAwAiAUL/////b1gEQCAGQaH0AEEAEBUMMQsgBiAIQRBrIgwpAwAiLRAxIglFDTAgBiABIAkQcSELIAYgCRATIAtBAEgNMCAGIC0QDyAGIAEQDyAMIAtBAEetQoCAgIAQhDcDAAwsCyAGIAhBEGsiCSkDAC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QQA2AmwgAyAENgJoIAAQEg0hIAAQwAEgACABEB4gABDyAQ0hIABB6QAgAhAcGiAAEKACDSEgAEHrACABEBwaIAAgAhAeIABBQGsoAgAiACAAKAKwAigCADYCsAIMIgsgAEFAayIBKAIAEDIhAiABKAIAEDIhBCABKAIAEDIhBSADIAEoAgAiASgCsAI2AlAgASADQdAAajYCsAIgA0KAgICAcDcCYCADIAI2AlwgAyAENgJYIAMgCTYCVCABKAK8ASEBIANBADYCbCADIAE2AmggABASDSAgACAFEB4gABDAASAAEKACDSAgACACEB4gAEG8fxAsDSAgABDyAQ0gIAAoAhBBO0YEQCAAEBINIQsgAEHqACAFEBwaIAAgBBAeIABBQGsoAgAiACAAKAKwAigCADYCsAIMIQsgABASDR8gABDAASADQQA2AhgCQCAAKAIQIgJBWkcEQEEBIQEgAkEoRw0BIAAgA0EYakEAEJ4BGgwBCyAAKAJALQBsQQJxRQRAIABBmTZBABAWDCELIAAQEg0gQQAhAQsgAEEoECwNH0EBIQQgAy0AGEEBcUUEQCAAKAIAIQogAEFAayICKAIAIggoArwBIQ8gCBAyIQcgAigCABAyIRAgAigCABAyIREgAigCABAyIRIgABCAARogAyACKAIAIgUoArACNgJQIAUgA0HQAGo2ArACIANBADYCbCADQoGAgIBwNwJgIAMgBzYCXCADIBE2AlggAyAJNgJUIAMgDzYCaCAAQesAQX8QHCEMIAIoAgAoAoQCIQsgACASEB4gACgCECECQVMhBQJAAkACQAJAIABBBBC9Aw4CAAEkCyACQUtGIQ0gAkFTRiEEIAQgAkGzf0ZyRSACQUtHcQ0BIAIhBQsgABASDSIgACgCECICQfsARiACQdsARnINEgJAIAJBg39GBEAgACgCKEUNAQsgAEHJ9wBBABAWDCMLIAogACgCIBAYIQYgABASBEAgACgCACAGEBMMIwsgACAGIAUQoQIEQCAAKAIAIAYQEwwjCyAAQb0BQb0BQbkBIAQbIA0bEBAgACAGEBogAEFAaygCACAILwG8ARAXDAELAkACQCAAKAIQQSByQfsARw0AIAAgA0FAa0E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AAIAEpAxgQIwsgASgCCCICIAEoAgwiAzYCBCADIAI2AgAgAUIANwIIIABBEGogASAAKAIEEQAACw8LQdaNAUGu/ABB9ChB6t0AEAAACxIAIAFB3gFOBEAgACABEOgFCwvbAQIBfwJ+QQEhBAJAIABCAFIgAUL///////////8AgyIFQoCAgICAgMD//wBWIAVCgICAgICAwP//AFEbDQAgAkIAUiADQv///////////wCDIgZCgICAgICAwP//AFYgBkKAgICAgIDA//8AURsNACAAIAKEIAUgBoSEUARAQQAPCyABIAODQgBZBEBBfyEEIAAgAlQgASADUyABIANRGw0BIAAgAoUgASADhYRCAFIPC0F/IQQgACACViABIANVIAEgA1EbDQAgACAChSABIAOFhEIAUiEECyAECy0BAX9BASEBAkACQAJAIABBDWsOBAIBAQIACyAAQTRGDQELIABBOEYhAQsgAQsfACAAIAEgACACEKoBIgIgAyAEEBkhBCAAIAIQEyAEC0QBAX9BfyEDIAAgACgCBCACahDGAQR/QX8FIAAoAgAgAWoiAyACaiADIAAoAgQgAWsQnAEgACAAKAIEIAJqNgIEQQALC44BAQF/IAAgBkEMEEkiBkKAgICAcINCgICAgOAAUgRAIAAgACgCAEEBajYCACAGpyIHIAU7ASogByAEOgApIAcgAzoAKCAHIAE2AiQgByAANgIgIAcgBy0ABUHvAXEgBEECa0EESUEEdHI6AAUgACAGIAAgAkHMngEgAhsQqgEiASADEJYDIAAgARATCyAGCykBAX9BfyEBAkAgAEEoECwNACAAEJEBDQBBf0EAIABBKRAsGyEBCyABC4IBAQN/IABBQGsiAygCACIBBEAgASgCvAEhAiAAQbUBEBAgAygCACACQf//A3EQFyABIAEoAswBIgMgAkEDdGooAgAiADYCvAEDQAJAIABBAEgEQEF/IQAMAQsgAyAAQQN0aiICKAIEIgBBAE4NACACKAIAIQAMAQsLIAEgADYCwAELC0cBAn8gACgCfCECAkADQCACQQBKBEAgACgCdCACQQFrIgJBBHRqIgMoAgAgAUcNASADKAIEDQEMAgsLIAAgARDgBCECCyACC7YBAQJ/AkAgAi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2MCAX8BfiMAQRBrIgIkACAAAn4gAUUEQEIADAELIAIgAa1CACABZyIBQdEAahBnIAIpAwhCgICAgICAwACFQZ6AASABa61CMIZ8IQMgAikDAAs3AwAgACADNwMIIAJBEGokAAvHAQIBfgF/AkAgACgCECgCjAEiA0UgAUL/////////D3xC/v///////x9Wcg0AIAMoAihBBHFFDQAgAUKAgICACHxC/////w9YBEAgAUL/////D4MPC0KAgICAwH4gAbm9IgFCgICAgMCBgPz/AH0gAUL///////////8Ag0KAgICAgICA+P8AVhsPCyAAEJcBIgJCgICAgHCDQoCAgIDgAFIEQCACp0EEaiABELoCRQRAIAIPCyAAIAIQDyAAEHwLQoCAgIDgAAuTAQECfwJ/IAAoAgggAmoiBCAAKAIMSgRAQX8gACAEQQAQtwINARoLAkAgACgCEARAIAJBACACQQBKGyEEA0AgAyAERg0CIAAoAgQgACgCCCADakEBdGogASADai0AADsBECADQQFqIQMMAAsACyAAKAIEIAAoAghqQRBqIAEgAhAfGgsgACAAKAIIIAJqNgIIQQALCyoBAX8gACgCECIDQRBqIAEgAiADKAIIEQEAIgEgAkVyRQRAIAAQfAsgAQtEAQJ/AkAgAEKAgICAcFQNACAApyIDLwEGQQJHDQAgAy0ABUEIcUUNACACIAMoAig2AgAgASADKAIkNgIAQQEhBAsgBAugBAIFfwF+IwBBIGsiBiQAAkACQAJAAkAgAwRAIAFCgICAgGCDQoCAgIAgUg0BDAILIAFCgICAgHBUDQELQQEhBAJAAkAgAkIgiKciCEEBag4EAAICAQILIAKnIQULIAFC/////29YQQAgAxsNAgJAIAGnIgcvAQZBMEYEQCAAIAZBGGogAUHgABCBASIFRQ0DIAUpAwAhCSAGKQMYIgFCgICAgHCDQoCAgIAwUQRAIAAgCSACIAMQiwIhBAwFCyAGIAI3AwggBiAJNwMAIAAgASAFKQMIQQIgBhAvIgFCgICAgHCDQoCAgIDgAFENAyAAIAEQJkUEQCADRQ0CIABBouQAQQAQFQwECyAAIAUpAwAQmQEiA0EASA0DIAMNBCA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iAEQX9HcnENACAAIANBCGogCSAIIAJBAUEAEIUCIgRFDQAgACAJEA8gACAIEA8gBEEASA0BIAEgAykDCDcDAAwCCyAAIAkQbCIJQoCAgIBwg0KAgICA4ABRBEAgACAIEA8MAQsgACAIEGwiCEKAgICAcINCgICAgOAAUQRAIAAgCRAPDAELAkACQCAAKAIQIgUoAowBIgQEQCAELQAoQQRxDQELIAlCIIinIgdBdkcgCEIgiKciBEF2R3ENASAEIAdGDQAgACAJEA8gACAIEA8gAEGFLEEAEBUMAgsgACACIAEgCSAIIAUoAqACERoADQEMAgsgACADQQRqIAkQmAEEQCAAIAgQDwwBCyAAIAMgCBCYAQ0AIAECfwJAAkACQAJAAkACQCACQa0Baw4DAQMCAAsCQCACQaABaw4CBQAECyADKAIEIAMoAgB1DAULIAMoAgAgAygCBHEMBAsgAygCACADKAIEcgwDCyADKAIAIAMoAgRzDAILEAEACyADKAIEIAMoAgB0C603AwAMAQsgAUKAgICAMDcDACAGQoCAgIAwNwMAQX8MAQtBAAshACADQRBqJAAgAAuGBQIHfwJ+AkAgAUKAgICAcINCgICAgJB/UgRAQoCAgIDgACEKIAAgARA3IgFCgICAgHCDQoCAgIDgAFENAQsCQCACQoCAgIBwg0KAgICAkH9RDQBCgICAgOAAIQogACACEDciAkKAgICAcINCgICAgOAAUg0AIAEhAgwBCwJAIAKnIgUpAgQiCkL/////B4NQDQAgAaciAykCBCELAkAgAygCAEEBRyAKIAuFQoCAgIAIg0IAUnINACADIAAoAhAoAgwRBAAgBSkCBCIKpyIEQf////8HcSIHIAMpAgQiC6ciBkH/////B3EiCGogBEEfdnQgBkEfdiIJQRFzakkNACAFQRBqIQYgA0EQaiEEIAkEQCAEIAhBAXRqIAYgB0EBdBAfGiADIAMpAgQiCiAFKQIEfEL/////B4MgCkKAgICAeIOENwIEDAILIAQgCGogBiAHEB8aIAMgAykCBCIKIAUpAgR8Qv////8HgyILIApCgICAgHiDhDcCBCAEIAunakEAOgAADAELAn4CQAJAIAunQf////8HcSAKp0H/////B3FqIgdBgICAgARPBEAgAEHA2gBBABBGDAELIAAgByAKIAuEpyIGQR92EOoBIggNAQtCgICAgOAADAELIAhBEGohBAJAIAZBAE4EQCAEIANBEGogAygCBEH/////B3EQHyIEIAMoAgRB/////wdxaiAFQRBqIAUoAgRB/////wdxEB8aIAQgB2pBADoAAAwBCyAEIAMgAygCBEH/////B3EQwwUgBCADKAIEQQF0aiAFIAUoAgRB/////wdxEMMFCyAIrUKAgICAkH+ECyEKIAAgARAPDAELIAEhCgsgACACEA8gCgtAACAAAn8CfyADBEAgASgCJCACQQN0akEEagwBC0EAIAEoAiAiA0UNARogAyABLwEoIAJqQQR0agsoAgALENkBCw0AIAAgASACQQIQzgILNQEBfyMAQdAAayICJAAgAiAAKAIQIAJBEGogARCQATYCACAAQef5ACACEMYCIAJB0ABqJAALowECAX8BfiMAQRBrIgUkACAFIAQ2AgxBfyEEIAAgASAFQQxqENQBRQRAIAMoAgAiAEF8cSABIAIgAygCBCAAQQNxQQJ0QZTAAWooAgARIAAhBiADKAIAEOoFIAUoAgwiACAAKAIAQf////8DcTYCACADQoCAgIAwIAYgBkKAgICAcINCgICAgOAAUSIAGzcDAEF/QQAgABshBAsgBUEQaiQAIAQL9QEBA38jAEEQayIGJAAgBiAAOQMIIAYgAUEBayIHNgIAIAVBgAFB+PAAIAYQThogAyAFLQAAQS1GNgIAIAQgBS0AAToAACABQQJOBEAgBEEBaiAFQQNqIAcQHxoLIAEgBGpBADoAACACIQggASAFaiABQQFKakECaiECQQAhA0EAIQQDQCACIgFBAWohAiABLAAAIgUQjgYNAAsCQAJAAkAgBUEraw4DAQIAAgtBASEECyACIQELA0AgASwAACICENECBEAgAUEBaiEBIANBCmwgAmtBMGohAwwBCwsgCCADQQAgA2sgBBtBAWo2AgAgBkEQaiQAC5kHAgp/AX4jAEHwAGsiBSQAIAAoAhAhBiAFQgA3A1ggBUIANwNQIAUgBjYCZCAFQTs2AmACQCACBH8gBSACNgJAIAVB0ABqQdM8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EDdGogADYCBCABIAA2AsABCyAAC20BAX8gACABQfwBakEQIAFB+AFqIAEoAvQBQQFqEHhFBEAgASABKAL0ASIDQQFqNgL0ASABKAL8ASADQQR0aiIDQX82AgAgAyADLQAEQfgBcToABCADIAEoArwBNgIIIAMgACACEBg2AgwLIAMLxgMBBH8gAEFAayIFKAIAQbACaiEDA0BBACECAkADQCADKAIAIgNFDQEgAygCHARAIAFFBEAgAEEGEBALIABBhAEQEEGDASECIAAgBSgCAC0AbEEDRgR/IABBDhAQIABBDhAQIABBwgAQECAAQQYQGiAAQREQECAAQbABEBAgAEHqAEF/EBwhASAAQSQQECAFKAIAQQAQFyAAQYEBEBAgAEGLARAQIABB6wBBfxAcIQQgACABEB4gAEEOEBAgACAEEB5BDgVBgwELEBBBfSECQQEhAQsgAygCECACaiECIAMoAhRBf0YNAAtBD0EOIAEbIQQDQCACBEAgACAEEBAgAkEBayECDAELCyABRQRAIABBBhAQCyAAQe0AIAMoAhQQHBpBASEBDAELCwJAIABBQGsoAgAiAigCYARAAkAgAUUEQEF/IQIMAQsgAEEqEBAgAEHpAEF/EBwhAiAAQQ4QEAsgAEG4ARAQIABBCBAaIABBQGsoAgBBABAXIAAgAhAeQSghAgwBCyACLQBsIgMEQCABRQRAIABBBhAQQS4hAgwCC0EuIQIgA0EDRw0BIABBiwEQEAwBC0EoQSkgARshAgsgACACEBALXQECfwJAAkAgACgCmAIiAUEASA0AIAAoAoACIAFqLQAAIgBBI2siAUENTUEAQQEgAXRB5fAAcRsNAQJAIABB6wBrDgQCAQECAAsgAEHsAWtBAkkNAQtBASECCyACCy8AIAAgASACIAMQ4wIiAEEATgRAIAEoAnQgAEEEdGoiASABKAIMQQNyNgIMCyAACy4AIABBDBApIgAEQCAAIAM2AgggACACNgIEIAAgASgCEDYCACABIAA2AhALIAALawEBfwJAIAEoAqABIgNBAE4NACAAIAEgAhBPIgNBAEgNACABIAM2AqABIANBBHQiACABKAJ0aiICIAIoAgxBh39xQSByNgIMIAEtAG5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AAALaAEBfgJAAkAgABA0IgNCgICAgHCDQoCAgIDgAFEEQCABIQMMAQsgACADQcAAIAFBBxAZQQBIDQAgACADQekAIAJBAEetQoCAgIAQhEEHEBlBAE4NAQsgACADEA9CgICAgOAAIQMLIAMLjAEBAn8CQANAIAFCgICAgHBUDQECQAJAAkACQAJAAkAgAaciAi8BBiIDQQxrDgUFAQMHAQALIANBMEYNASADQTRrDgUABgYGAAYLIAIoAiAoAjAPCyACKAIgIgJFDQQgAi0AEUUNASAAELYCQQAPCyACKAIgIQILIAIpAwAhAQwBCwsgAigCICEACyAACyIAIAAgAkEBahApIgAEQCAAIAEgAhAfIAJqQQA6AAALIAALjQMCA34EfwJAIAEoAggiBkH+////B04EQEEBIQcgAkEBcQ0BQv///////////wAhAyAGQf7///8HRw0BIAE0AgRC////////////AHwhAwwBCyAGQQBMBEAMAQsgBkE/TQRAIAEoAhAiCSABKAIMIgJBAnRqQQRrKAIAIQhCACAGQSBNBH4gCEEgIAZrdq0FIAJBAk8EfiACQQJ0IAlqQQhrNQIABUIACyAIrUIghoRBwAAgBmutiAsiA30gAyABKAIEGyEDDAELIAJBAXFFBEAgASgCBEUEQEL///////////8AIQNBASEHDAILQoCAgICAgICAgH8hA0EBIQcgBkHAAEcNASABKAIQIAEoAgwiAUECdGoiAkEEazUCAEIghiEEIAFBAk8EfiACQQhrNQIABUIACyAEhEKAgICAgICAgIB/UiEHDAELQgAgASgCECIIIAEoAgwiAiACQQV0IAZrIgYQaK0gCCACIAZBIGoQaK1CIIaEIgN9IAMgASgCBBshAwsgACADNwMAIAcLMwEBfyAAKAIAKAIQIgFBEGogACgCBCABKAIEEQAAIABBADYCDCAAQgA3AgQgAEF/NgIUC0YAIAJBAEwEQCAAQS8QLQ8LIAAgAkEAEOoBIgBFBEBCgICAgOAADwsgAEEQaiABIAIQHyACakEAOgAAIACtQoCAgICQf4QLbwIBfwF+AkACQAJ/IAJFBEAgACgCECABQQAQswUMAQsgASwAAEE6a0F2Tw0BIAAo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EMIABBCxB2IgtCgICAgHCDQoCAgIDgAFENASADQgA3AxggA0IANwMQIANCADcDCCAAIANBCGogAUEAEK8FIQQgACgCECICQRBqIAMoAgggAigCBBEAAAJAAkAgBARAIAMoAhQhBgwBCyALpyEHIAMoAhwiCEEAIAhBAEobIQkgAygCFCEGQQAhBAJAA0AgBCAJRwRAAkACQAJAIAYgBEEMbGoiAigCCCIFBEAgAyABNgIADAELAkAgACADIANBBGogASACKAIAEPQDIgUOBAAGBgIGCyADKAIEIQULIAUoAgxB/QBGBEAgAkECNgIEIAIgAygCACgCECAFKAIAQQN0aigCBDYCCAwCCyACQQE2AgQgBSgCBCIKBEAgAiAKNgIIDAILIAIgAygCACgCSCgCJCAFKAIAQQJ0aigCADYCCAwBCyACQQA2AgQLIARBAWohBAwBCwsgBiAIQQxBwQAgABC+AkEAIQQDQCAEIAlGDQMCQAJAAkAgBiAEQQxsaiICKAIEQQFrDgIAAQILIAIoAgghBSAAIAcgAigCAEEmEHoiAkUNBCAFIAUoAgBBAWo2AgAgAiAFNgIADAELIAAgCyACKAIAQQEgAigCCEEGEJUDQQBIDQMLIARBAWohBAwACwALIAAgBSABIAIoAgAQ8wMLIAAoAhAiAUEQaiAGIAEoAgQRAAAgACALEA8MAgsgACgCECIEQRBqIAYgBCgCBBEAACAAIAtB1wEgAEH+ABAtQQAQGRogByAHLQAFQf4BcToABSABIAs3A0ALIAtCIIinQXVPBEAgC6ciACAAKAIAQQFqNgIACyALIQwLIANBIGokACAMC4kEAgR+An8CQAJAIAG9IgRCAYYiA1ANACABvSECIAC9IgVCNIinQf8PcSIGQf8PRg0AIAJC////////////AINCgYCAgICAgPj/AFQNAQsgACABoiIAIACjDwsgAyAFQgGGIgJaBEAgAEQAAAAAAAAAAKIgACACIANRGw8LIARCNIinQf8PcSEHAn4gBkUEQEEAIQYgBUIMhiICQgBZBEADQCAGQQFrIQYgAkIBhiICQgBZDQALCyAFQQEgBmuthgwBCyAFQv////////8Hg0KAgICAgICACIQLIQIC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IGQiCIp0F1TwRAIAanIgIgAigCAEEBajYCAAsgACAEQQhqIAYQowENACAEKQMIIAWtVw0BIABB0NQAQQAQFQsgACABEA9CgICAgOAAIQELIARBEGokACABC5gBAQR/IAGnIgYvAQZB5aYBajEAACEBIABBGBApIgVFBEAgACACEA9Bfw8LIAKnIgcoAiAhACAFIAQgAYY+AhQgBSADpyIINgIQIAUgBzYCDCAFIAY2AgggACgCDCIHIAU2AgQgBSAAQQxqNgIEIAUgBzYCACAAIAU2AgwgBiAEPgIoIAYgBTYCICAGIAAoAgggCGo2AiRBAAuoAgEEfyAAKAIQIQYCQAJAIAAgASADEGUiAUKAgICAcINCgICAgOAAUQ0AIAJCgICAgAhaBEAgAEH22ABBABBQDAILIABBHBApIgRFBEBBACEEDAILIAQgAqciBTYCAAJAAkAgA0EURw0AIAYoArgBIgdFDQAgBCAGKALEAUEBIAUgBUEBTBsgBxEDACIGNgIIIAZFDQMgBkEAIAUQKxoMAQsgBCAAQQEgBSAFQQFMGxBfIgU2AgggBUUNAgsgBEHSADYCGCAEQQA2AhQgBEEAOgAEIAQgBEEMaiIANgIQIAQgADYCDCAEIANBFEY6AAUgAUKAgICAcFQNACABpyAENgIgCyABDwsgACABEA8gACgCECIAQRBqIAQgACgCBBEAAEKAgICA4AALGwAgASgCIARAIAAgAUEoahD+AiABQQA2AiALC2YCAn8BfiMAQRBrIgMkAEF/IQQCQCAAIAFCABBNIgVCgICAgHCDQoCAgIDgAFENACAAIANBDGogBRCYAQ0AIAAgAUEAIAMoAgwgAmoiAK0QpQFBAEgNACAARSEECyADQRBqJAAgBAsNACAAIAEgAkEBEIMFCyEAIAEoAgRBBUcEQCABQQU2AgQgACgCECABQQhqEP4CCwuRAQEDfwJAIAAoAggiBEH9////B0oNACACQQZGBEAgASADSA8LIARBgICAgHhGIAFBAmogA0pyDQAgACgCECIGIAAoAgwiBCABQX9zIgAgBEEFdGoiARCZAiACQXtxRXMhAiAAIANqIQADQCAARQ0BIABBAWshACAGIAQgA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IAQf////8HRwRAIAMoAggiA0H/////B0cNAQsgARA1DAILIABB/v///wdHIANBgICAgHhHcUUEQCABEDVBASEEDAILIAEgAhBEGiABQf////8DQQEQzgEhBAwBCyACKAIEIgcgAygCBHMhCgJAAkACQAJAAkAgBEECaw4FAAEEAgMECyAKIQYMAwsgCkEBcyEGDAILQQEhBgwBCyAHIQYLIAUgAigCCCIHNgIkIAIoAhAhCyAFIAg2AiggBSALNgIsIAVBADYCICAFIAMoAggiCDYCECADKAIQIQMgBSAJNgIUIAUgAzYCGCAFQQA2AgwCQCAFQRxqIAVBCGoQ0wFBAEgEQCAAQgAQMBogASAFQRxqEEQaDAELIAAgBUEcaiIJIAVBCGoiC0EBIAcgCGsiAyADQQFMG0EBakEBEJUBGiAAQQEQ0QEaIAEgACALQf////8DQQEQQxogASAJIAFB/////wNBARDkARoLAkAgACgCCCIHQf////8HRg0AIAEoAghB/////wdGDQACQCABKAIMRQ0AAkACQAJAIAQOBQABAQEAAQsgBSAFKAIQIgZBAWs2AhAgASAFQQhqENMBIQMgBSAGNgIQIANBAEoNASADDQIgBEEERg0BIAAoAhAgACgCDCIDIANBBXQgB2sQmQINAQwCCyAGRQ0BCyAAIABCAUH/////A0EBEHUgASABIAVBCGpB/////wNBARDkAXJBIHENAQsgASABKAIEIAIoAgRzNgIEIAAgCjYCBCABQf////8DQQEQzgEhBAwBCyAAEDUgARA1QSAhBAsgBUEwaiQAIAQPC0HD/QBB1PwAQcwNQd/SABAAAAtBsv0AQdT8AEHNDUHf0gAQAAALQfHIAEHU/ABBzg1B39IAEAAAC/cBAQR/IwBBIGsiByQAAkAgAkEBRgRAIAAgATUCABAwIQMMAQsgBEEBdCADQQFqIgl2QQFqQQF2IQggBiADQRRsaiIKKAIMRQRAIAogBSAIQf////8DQQEQ/AIiAw0BCyAAIAEgCEECdGogAiAIayAJIAQgBSAGEOUDIgMNACAAIAAgCkH/////A0EBEEMiAw0AIAAoAgAhAiAHQgA3AhggB0KAgICAgICAgIB/NwI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EgA60QMBogAUEBNgIECyACIANBAXRBAXKtEDAaIAIgAigCCEECajYCCCAAIAEQRBoMAQsgACgCACEHIAAgASACIAMgCEEBdiADaiIDQQEQoAQgBkIANwI4IAZCgICAgICAgICAfzcCMCAGIAc2AiwgBkIANwIkIAZCgICAgICAgICAfzcCHCAGIAc2AhggBkIANwIQIAZCgICAgICAgICAfzcCCCAGIAc2AgQgBkEsaiIHIAZBGGogBkEEaiIIIAMgBCAFEKAEIAAgACAIQf////8DQQEQQxogByAHIAFB/////wNBARBDGiAAIAAgB0H/////A0EBEMsBGiAFBEAgASABIAZBGGpB/////wNBARBDGgsgAiACIAZBBGoiAEH/////A0EBEEMaIAZBLGoQGyAGQRhqEBsgABAbCyAGQUBrJAALzgUCB38DfiMAQTBrIggkAAJ/AkACQAJAAkACQCADDgMAAQIDC0HcjAFB1PwAQbUaQZb8ABAAAAsgASACKAIQIAIoAgwiACAAQQV0IAIoAghrEGg2AgAMAgsgAigCECIDIAIoAgwiACAAQQV0IAIoAghrIgJBIGoQaK1CIIYgAyAAIAIQaK2EIQ8gBkGAlOvcA0YEQCABIA9CgJTr3AOAIhA+AgQgASAQQoDslKMMfiAPfD4CAAwCCyABIA8gBq0iEIAiET4CBCABIA8gECARfn0+AgAMAQsgAigCACEKIAhCADcCKCAIQoCAgICAgICAgH83AiAgCCAKNgIcIAhCADcCFCAIQoCAgICAgICAgH83AgwgCCAKNgIIIAMgBUEBdCAEQQFqIgt2QQFqQQF2IgprIQwgACAEQQF0QQFyQRRsaiENQQAhAyAAIARBKGxqIgQoAgxFBEAgBCAGIApB/////wNBARD8AiAIQQhqIglCARAwciANIAkgBCAKQQFqIAdsQQJqQQAQlQFyIQkLAkACQCAIQRxqIg4gAiANIAcgDGxBABBDIAlyIA5BARDRAXIgCEEIaiIJIA4gBEH/////A0EBEENyIAkgAiAJQf////8DQQEQ5AFyQSBxDQADQAJAIAgoAgxFDQAgCCgCFEUNACAIQQhqIgIgAiAEQf////8DQQEQywENAiADQQ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VBEHM1QQ2AgBBwNQEQSo2AgALVAAjAEEQayICJAAgACACQQhqIAMpAwAQQgR+QoCAgIDgAAUgAikDCEKAgICAgICA+P8Ag0KAgICAgICA+P8AUq1CgICAgBCECyEBIAJBEGokACABC1QAIwBBEGsiAiQAIAAgAkEIaiADKQMAEEIEfkKAgICA4AAFIAIpAwhC////////////AINCgICAgICAgPj/AFatQoCAgIAQhAshASACQRBqJAAgAQtVAQF/AkACQAJAIAFCIIinQQFqDgMAAQIBCyABpyICLwEGQQZHDQAgAikDICIBQoCAgIBwg0KAgICAEFENAQsgAEHk0QBBABAVQoCAgIDgACEBCyABC24BBX9B6AIhAQNAIAEgAk4EQCAAIAEgAmpBAXYiA0ECdEGQggJqKAIAIgRBD3YiBUkEQCADQQFrIQEMAgsgACAEQQh2Qf8AcSAFakkEQEEBDwUgA0EBaiECDAILAAsLIABBsJECQeCSAkEGEKwDCxEAIABBgJMCQcCYAkEWEKwDC0YBAX8CQCAAKAIIIAJqIgMgACgCDEoEQCAAIAMgARC3Ag0BCwNAIAJBAEwEQEEADwsgAkEBayECIAAgARCLAUUNAAsLQX8LmAECBX8BfiABKQIEIginQf////8HcSIERQRAIAIPCyAAKAIEIQMCfyAIQoCAgIAIg1BFBEAgAS8BEAwBCyABLQAQCyEGIANB/////wdxIQUgBEEBayEHAkADQCACIARqIAVKDQEgACAGIAIQxwEiA0EASCADIARqIAVKcg0BIAAgASADQQFqIgJBASAHELMDDQALIAMPC0F/C5YCAQR/IAAoAhAhBiABKAIAIgUtABAEfyAGIAUQkAQgBSgCFCADakGBgNzxeWwgBGpBgYDc8XlsBUEACyEHAn8gBSgCICIIIAUoAhxOBEAgACABIAIgCEEBahC8BQRAQX8gBS0AEEUNAhogBiAFEJQDQX8PCyABKAIAIQULIAUtABAEQCAFIAc2AhQgBiAFEJQDCyAFIAUoAiAiAUEBajYCICAFIAFBA3RqIgEgACADEBgiADYCNCABIAEoAjBB////H3EgBEEadHI2AjAgBSAFLQARIABBH3ZyO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xqIAVB0ABsaiACQQJ0akGoDWoiBygCACIIBEAgBCgCACIJKAIAIAhBACAJKAIEEQEAGiAHQQA2AgALIAJBAWohAgwBCwsgBUEBaiEFDAELCyABQQFqIQEMAQsLIAAoAtgBIARBACAAKALcAREBABogAEEANgKQAgsgAEHgAWoQoQUgAEH4AWoQoQVBACECA0ACQCAAKAI4IQEgAiAAKAIsTg0AIAEgAkECdGooAgAiAUEBcUUEQCADIAEgACgCBBEAAAsgAkEBaiECDAELCyADIAEgACgCBBEAACADIAAoAjQgACgCBBEAACADIAAoAtQBIAAoAgQRAAAgBiADKQIINwMIIAYgAykCADcDACAGIAAgACgCBBEAACAGQRBqJAAPC0GNkQFBrvwAQb8PQaTlABAAAAtDAQJ/IAAoAogBIQJBfyEDAkADQCACQQBMDQEgACgCgAEgAkEBayICQQR0aigCACABRw0ACyACQYCAgIACciEDCyADC8YBAgR/AX4jAEEQayIDJAAgACABEC0iB0KAgICAcINCgICAgOAAUgRAAkAgACADQQxqIAcQ5QEiBkUEQAwBCwJAIAAgAhA/IgEgAygCDGpBAWoQKSIERQRAQQAhBAwBCyAEIAYgAygCDBAfIgUgAygCDGogAiABEB8aIAUgAygCDCABampBADoAACAAIAUgAygCDCABahCFAyEEIAAoAhAiAUEQaiAFIAEoAgQRAAALIAAgBhBUCyAAIAcQDwsgA0EQaiQAIAQLvwEBAX8gASADai0AAEE8RgRAIAAgBEH/AXEQESAAIAVB//8DcRAqIANBAWohAwsgASACKAIEIgBBBWsiAmoiBi0AAEG2AUYEQCAAIAFqLQAAQRZGBEAgBkEROgAAIABBBGshAgsgAEECaiEAIAEgAmoiBiAFOwABIAYgBEEBajoAACACQQNqIQIDQCAAIAJMRQRAIAEgAmpBswE6AAAgAkEBaiECDAELCyADDwtBodUAQa78AEHs5QFBtd4AEAAAC0IBAX8CQCAAIAFqIgAtAAFBPUcNAEEBIQICQAJAIAAtAAAiAEEWaw4EAgEBAgALIABBswFGDQELIABBHUYhAgsgAguzAQEBf0F/IQ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YbBUEACyEDIAAgAkE+EHEEQEKAgICAMCEFQoCAgIAwIQZCgICAgDAhCCAAIAJBPiACQQAQFCIHQoCAgIBwg0KAgICA4ABRDQFBggRBgAQgACAHECYbIANyIQMLIAAgAkE/EHEEQEKAgICAMCEFQoCAgIAwIQZCgICAgDAhCCAAIAJBPyACQQAQFCIHQoCAgIBwg0KAgICA4ABRDQFBhAhBgAggACAHECYbIANyIQMLQoCAgIAwIQYCQCAAIAJBwAAQcUUEQEKAgICAMCEIDAELQoCAgIAwIQUgACACQcAAIAJBABAUIghCgICAgHCDQoCAgIDgAFEEQAwCCyADQYDAAHIhAwsCQAJAIAAgAkHBABBxRQ0AQoCAgIAwIQUgA0GAEHIhAyAAIAJBwQAgAkEAEBQiBkKAgICAcIMiB0KAgICAMFENAEHDwgAhBCAHQoCAgIDgAFENASAAIAYQOEUNAQsCQCAAIAJBwgAQcUUEQEKAgICAMCEFDAELIANBgCByIQMgACACQcIAIAJBABAUIgVCgICAgHCDIgJCgICAgDBRDQBBtMIAIQQgAkKAgICA4ABRDQEgACAFEDhFDQELIANBgDBxBEBBsekAIQQgA0GAxABxDQELIAEgBTcDGCABIAY3AxAgASAINwMIIAEgAzYCAEEADwsgACAEQQAQFQsgACAIEA8gACAGEA8gACAFEA8LQX8LwgEBAn8gAigCBEUEQCACKAIYIgMgAigCHCIENgIEIAQgAzYCACACQgA3AhgCQCABKAIABEAgAhCfBQwBCyAAIAIpAyAQIwsgACACKQMoECMgAiACKAIAQQFrIgM2AgACQCADRQRAIAIoAhAiAyACKAIUIgQ2AgQgBCADNgIAIAJCADcCECAAQRBqIAIgACgCBBEAAAwBCyACQoCAgIAwNwMoIAJCgICAgDA3AyAgAkEBNgIECyABIAEoAgxBAWs2AgwLC5UBAQN+IAG9IgJC////////////AIMhAyAAvSIEQv///////////wCDQoGAgICAgID4/wBaBEAgA0KBgICAgICA+P8AVA8LAn9BfyADQoCAgICAgID4/wBWIAAgAWNyDQAaQQEgACABZA0AGkEAIABEAAAAAAAAAABiDQAaIARCAFMEQCACQj+Hp0F/cw8LIAJCP4inCwswACABQoCAgIAQhEKAgICAcINCgICAgDBRBEAgACABEDcPCyAAIAFBOEEAQQAQrQILKQEBfyACQiCIp0F1TwRAIAKnIgMgAygCAEEBajYCAAsgACABIAIQxQULUgIBfwF+QoCAgIDgACEEIAAgASACEJMBIgMEfiADKAIgIgMoAgwoAiAtAAQEQCACRQRAQgAPCyAAEGtCgICAgOAADwsgAzUCEAVCgICAgOAACws4ACAAIAEgAhCTASIARQRAQoCAgIDgAA8LIAAoAiAoAgwiACAAKAIAQQFqNgIAIACtQoCAgIBwhAtRAgF+AX8gACAAKQOQAUEDEEkiAkKAgICAcINCgICAgOAAUgRAIAFCIIinQXVPBEAgAaciAyADKAIAQQFqNgIACyAAIAJBNCABQQMQGRoLIAILlQEBA38jAEEQayIEJAAgBCACNwMIIAEoAgAiBSABKAIEIgY2AgQgBiAFNgIAIAFCADcCACAAIAAgAUEgaiADQQN0aikDAEKAgICAMEEBIARBCGoQIRAPIAAgASkDEBAPIAAgASkDGBAPIAAgASkDIBAPIAAgASkDKBAPIAAoAhAiAEEQaiABIAAoAgQRAAAgBEEQaiQAC40BAQN/IwBBEGsiBCQAIAQgATcDCCADQQF0IQZBACEDA0ACQAJAIANBAkYNACAAQcwAQQEgAyAGakEBIARBCGoQzwEiAUKAgICAcINCgICAgOAAUg0BQX8hBSADQQFHDQAgACACKQMAEA8LIARBEGokACAFDwsgAiADQQN0aiABNwMAIANBAWohAwwACwALyAYCBn8CfiMAQTBrIgMkACABQQhqIQUgAUHIAGohBgJAAkACQAJAA0AgASgCTCICIAZGDQQCQAJAAn8CQAJAAkACQCABKAIEIgQOBgACAgULAQYLIAIoAghFDQIgACABEOADDAYLAkACQCACKAIIDgIIAAELIAFBBDYCBCADIAIpAxA3AyggACAAKQNQIAEgA0EoakEAEP4BIghCgICAgHCDQoCAgIDgAFENCiAAIAE1AgBCgICAgHCEIANBARCEBUUEQCADQoCAgIAwN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qJAALwgECA38BfiAAIABBH3UiA3MgA2shA0EAAn8gASABQQFrIgRxRQRAQSAgBGciBWshBCACBEBBHyAFa0EAIABBAE4bIANqIARuDAILIARBACABQQJPGyADbAwBCyAAQX9zQR92IQQgAUECayEBIAQCfiACBEAgA60iBiABQQN0IgFB5KEEajUCAH5CIIggAUHgoQRqNQIAIAZ+fEIfiAwBCyABQQJ0QYCkBGo1AgAgA61+Qh2IC6dqCyIBayABIABBAEgbC0gBAn8jAEEQayICJABBfyEDAkAgACACQQxqIAEQugENACACKAIMIgNBJWtBXEsNACAAQdmJAUEAEFBBfyEDCyACQRBqJAAgAwt1AQF/AkAgAUKAgICAcINCgICAgOB+UQRADAELAkAgAUKAgICAcFQNACABpyICLwEGQSFHDQAgAikDICIBQoCAgIBwg0KAgICA4H5SDQAMAQsgAEGiLEEAEBVCgICAgOAADwsgAaciACAAKAIAQQFqNgIAIAELrgICAXwBfwJAA0ACQAJAAkACQAJAQQcgAkIgiKciBCAEQQdrQW5JG0EJag4RAgMDAwMDAwMDAAAAAAMDBAEDCyABIALENwMADAULIAJCgICAgMCBgPz/AHwiAkL///////////8Ag0KBgICAgICA+P8AWgRAIAFCADcDAAwFCyACvyIDRAAAAAAAAODDYwRAIAFCgICAgICAgICAfzcDAAwFCyADRAAAAAAAAOBDZARAIAFC////////////ADcDAAwFCyABAn4gA5lEAAAAAAAA4ENjBEAgA7AMAQtCgICAgICAgICAfws3AwAMBAsgASACp0EEakEAEIIDGiAAIAIQDwwDCyAAIAIQjQEiAkKAgICAcINCgICAgOAAUg0BCwsgAUIANwMAQX8PC0EAC7ECAQJ/IwBBIGsiBCQAAkACQAJAIAIoAgxFBEACQAJAAkACQCACKAIIQf7///8Haw4CAQACCyAAEDUMAgsgAigCBA0DCyAAIAIQRBoLQQAhAiABRQ0DIAFCABAwGgwDCyACKAIERQ0BCyAAEDVBASECIAFFDQEgAUIAEDAaDAELIAAgAiACKAIIQQFqQQJtQQEQkQYgAEEBENEBGiABIgNFBEAgACgCACEDIARCADcCGCAEQoCAgICAgICAgH83AhAgBCADNgIMIARBDGohAwsgAyAAIABB/////wNBARBDGiADIAMoAgRBAXM2AgQgAyADIAJB/////wNBARDLARpBICECIAMoAghB/////wdHBEAgAygCDEEAR0EEdCECCyABDQAgAxAbCyAEQSBqJAAgAgsMACAAIAEQiANBAEwLDQAgACABIAJBAhDjAwvRDAEIfyMAQYABayIFJAACQAJAAkACQAJAAkACQAJAAkACQAJAAkAgASgCDARAIAIoAgwNAQsgAigCCEGAgICAeEYEQCAAQgEQMBoMCwsgASgCCEH/////B0YNCSAAQgEQMBoCQCABIAAQ0wEiAyAEQYCABHFFckUEQCACKAIIQf7///8HTg0LDAELIAMNAgsgASgCBEUNCiACKAIIQf////8HRg0JDAoLIAAoAgAhByAFQgA3AjwgBUKAgICAgICAgIB/NwI0IAUgBzYCMCAFQTBqIAEQRBogAhCxAiEKIAQhCCABKAIEBEAgCkEASARAIAAQNSAFQTBqEBtBASEGDAwLIAUgBSgCNEEBczYCNCAKRSIMIARBBnFBAkZxIARzIQgLIABCARAwGiAFQTBqIAAQggINBCAFQgA3AiggBUKAgICAgICAgIB/NwIgIAUgBzYCHCAFQgA3AhQgBUKAgICAgICAgIB/NwIMIAUgBzYCCCAFQRxqIgEgBUEwaiIJQSBBAhCfBCAFQQhqIgYgCUEgQQMQnwQgASABIAJBICACKAIEQQJzEEMaIAYgBiACQSAgAigCBEEDcxBDGkEAIQYCQCAFKAIQQQBMDQAgBUIANwJkIAVCgICAgICAgICAfzcCXCAFIAc2AlggBUIANwJQIAVCgICAgICAgICAfzcCSCAFIAc2AkQgBUHEAGoiCUEgQQMQ0wIgBUIANwJ4IAVCgICAgICAgICAfzcCcCAFIAUoAlg2AmwgBUHsAGoiB0GAgICAAkEBQRwgCEEFdkE/cSIBa3QgAUE/RhsiAawQMBogBUHYAGoiCyAJIAdBIEEDEEMaIAcQGyALIAVBHGoQsgIEQCAFQdgAahAbIAVBxABqEBsgAEEAIAMgCBCrB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IEIAIQsQJFcSEDIAIoAgQgASgCCEGAgICAeEZGBEAgACADEIwBQQIhBiACKAIERQ0DDAQLIAAgAxCJAQwCCyACKAIEIANBAEpGBEAgAEEAEIkBDAILIABBABCMAQwBCyAAEDULQQAhBgsgBUGAAWokACAGC1MBAn8jAEEgayIEJAAgACgCACEFIARCADcCGCAEQoCAgICAgICAgH83AhAgBCAFNgIMIARBDGoiBSAAIAEgAiADEOQDIQAgBRAbIARBIGokACAAC4gCAgJ/AX4jAEEQayIEJAACQAJAIAFCgICAgHCDQoCAgIDgflINACABpyEDAkAgAkUNACAEQQhqIANBBGpBABCCAw0AIAQpAwgiBUKBgICAgICAcFMgBUL/////////D1VyDQAgACABEA8gBUKAgICACHxC/////w9YBEAgBUL/////D4MhAQwCC0KAgICAwH4gBbm9IgFCgICAgMCBgPz/AH0gAUL///////////8Ag0KAgICAgICA+P8AVhshAQwBCyADKAIMQYCAgIB4Rw0AIAMoAghFDQAgAygCAEEBRw0BIANBADYCCAsgBEEQaiQAIAEPC0HjjAFBrvwAQbHgAEGSjAEQAAALQAEDf0EBIABB3qgEai0AACIBIAFBAU0bIQNBASECIAAhAQNAIAIgA0ZFBEAgAkEBaiECIAAgAWwhAQwBCwsgAQu2FQMJfwx+AnwjAEFAaiICJAAgAkEAQcAAECshBCABQQBB0AEQKyICIAA1AhA3AxggAiAANQIUNwMAIAA1AhghCyACQgI3AyAgAiALNwMIIAIgACgCQEEDdEHwAmqtNwMQIABBzABqIQEgAEHIAGohCANAIAEoAgAiBSAIRkUEQCAFKAIQIQEgAiACKQMgQgJ8NwMgIAIgAikDECAAKAJAQQN0QYgCaq18NwMQIAIgAikDwAEgBTMBCHw3A8ABIAIgAikDyAEgBTQCDHw3A8gBAkAgAUUNACABLQAQDQAgASgCGCEDIAIgAikDaEIBfDcDaCACIAIpA3AgA0ECdCABKAIcQQN0akE0aq18NwNwCyAFQeQBaiEBIAVB4AFqIQkDQCAJIAEoAgAiA0cEQCACIAIpAyAiDUIBfC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pJG0cEQEEADwUgAUEBaiEBIABBAWohAAwCCwALCyACBEAgAiAANgIAC0EBC70HAgp/AX4jAEHgAGsiAyQAQoCAgIDgACENAkAgACADQQxqIAEQuwEiBkUNACAGKAIEIgwhBSAGKAIIIgRBgICAgHhGBEAgBkEANgIEQQAhBQsgBigCACEKIANCADcDUCADQgA3A0ggAyAKNgJcIANBxQA2AlgCfwJAAkAgBEH/////B0YEQCADQcgAakGBgwEQ+wIMAQsgBQRAIANByABqQS0QESAGKAIIIQQLIARB/v///wdGBEAgA0HIAGpB9RwQ+wIMAQtBACEFIANCADcCQCADQoCAgICAgICAgH83AjggAyAKNgI0IAIgAkEBayIIcUUEQEEgIAhna0EAIAJBAk8bIQULAkACQAJAAkAgBQRAIANBNGogBhBEDQEgA0E0akEAQREQzgFBIHENASADKAI8IgQgBUEBa0EAIARBAE4baiAFbSEFIARBgICAgHhGBEAgA0HIAGpBqJABEPsCDAULQQAhBCAFQQBKDQIgA0HIAGpBvZABEPsCQQAgBWshAgNAIAIgBEYNBSADQcgAakEwEBEgBEEBaiEEDAALAAsgAyAGKAIQNgIwIAMgBigCDCIFNgIsIANBADYCJCADIAQ2AiggBEEAIARBAEobIAJBARCNBUEBaiEIAkAgBQRAIAggAkEAEI0FIQVBECEEA0AgA0E0aiILIAJBACAEIAVqIglBAWoiB0HgDxD8AiALIAsgA0EgaiAHQeAPEENyIgdBIHENAyAHQRBxRQ0CIANBNGogAygCPEEBIAkQ4QMNAiAEQQJtIARqIQQMAAsACyADQTRqIANBIGoQRA0BDAMLIANBNGpBARDRAUEgcUUNAgsgA0E0ahAbDAQLIANByABqIANBNGogAiAFIAUQjAUMAQsgAygCTCEFIANByABqIANBNGogAiAIIAgQjAUgAygCTCIJIAVBAWoiAiACIAlJG0EBayEIIAMoAkghByAFIQQDQAJAIAkgBCICQQFqIgRNBEAgCCECDAELIAIgB2otAABBMEcNACAEIAdqLQAAQS5HDQELCyACIAVNDQAgBSAHaiACIAdqIAkgAmsQnAEgA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QEgAnRBgIDQjHxxDQ8gAkUNCyACQQVHDQ4gA0F/NgIYIANCyfqAgOABNwMQIANB3AVqIAggA0EQahAnRQ0RIANBgAZqIAMtAOwFEBEgAygC5AUhCCADKALoBSICQX9GIAIgBkZyDRMgASABKALcAkEBajYC3AIgA0GABmoiBEHCARARIAQgAhAdIAIhBgwTCyAAIAEgCSgAASICIAkvAAUgBCADQYAGakEAQQAgCBDpBCEIIAAgAhATDBILIAkvAAkhByAJKAABIQIgASgCpAIgCSgABUEUbGoiBCAEKAIAQQFrNgIAIAAgASACIAdBuwEgA0GABmogDSAEIAgQ6QQhCCAAIAIQEwwRCyAAIANBmAZqIANBnAZqIAEgCSgAASIHIAkvAAUiCRDoBCIFQQBIDQUgAygCnAYiCkUNBAJAAkACQAJAAkAgBEG+AWsOAwAAAQILAkACQAJAIApBBWsOBQABAgUCBAsgBEG/AUYEQCADQYAGakEREBELIANBgAZqIgIgAygCmAYgBRClAiACQcQAEBEMBQsgA0GABmoiAiADKAKYBiAFEKUCIAJBLBARIARBvwFGDQQgA0GABmpBDxARDAQLIARBvwFGBEAgA0GABmpBERARCyADQYAGaiICIAMoApgGIAUQpQIgAkEsEBEgAkEkEBEgAkEAECoMAwsCQAJAAkAgCkEFaw4FAAEBAgIDCyADQYAGaiICIAMoApgGIAUQpQIgAkHFABARDAQLIANBgAZqIgJBMBARIAIgACAHEBgQHSACQQAQEQwDCyAAIAcQ5wQiBEUNCCAAIANBmAZqIANBnAZqIAEgBCAJEOgEIQUgACAEEBMgBUEASA0IIAMoApwGQQhHDQYgA0GABmoiAiADKAKYBiAFEKUCIAJBGxARIAJBHhARIAJBLBARIAJBHRARIAJBJBARIAJBARAqDAILEAEACyADQYAGaiICQTAQESACIAAgBxAYEB0gAkEAEBELIAAgBxATDBALIAkoAAEiAkEASA0BIAIgASgCrAJODQEgASgCpAIgAkEUbGogAygChAYgD2o2AggMDQtBACEFQQAhAiAJLwABIg8gASgC8AFHDQgDQCABKAKIASACSgRAIAEo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EBEgAiAJKAIAEB0gAkHAABARIAIgACAJKAIMEBgQHSACIBEQEQsgACAJKAIMEBMgBEEBaiEEDAALAAtBhSlBrvwAQYzyAUH7ORAAAAtBmoIBQa78AEHY6wFB3/QAEAAAC0GuhAFBrvwAQZvrAUHf9AAQAAALA0AgAiAOTkUEQCADQYAGaiACIA1qIgQgBC0AAEECdEGAuAFqLQAAIgQQciACIARqIQIMAQsLIAwQ9gEgDCADKQOQBjcCECAMIAMpA4gGNwIIIAwgAykDgAY3AgAMDAsgDBD2ASAMIAMpA5AGNwIQIAwgAykDiAY3AgggDCADKQOABjcCAAJAIAEoAowCDQAgASgCpAIhDSADIAEoAvACNgKYBiADIAEoAoACIgk2AtwFIAMgASgChAIiCzYC4AUgACgCECECIANCADcDiAYgA0IANwOABiADIAI2ApQGIANBOzYCkAYgASgC0AIiAgRAIAEgASgCACACQQR0EF8iAjYCzAIgAkUNDQsCQCABKALcAiICRQ0AIAEtAG5BAnENACABIAEoAgAgAkEDdBBfIgI2AtgCIAJFDQ0gAUEANgLoAiABIAEoAvACNgLkAgsgASgCtAFBAE4EQCADQYAGaiICQQwQESACQQQQESACQdkAIAEoArQBEF0LIAEoArABQQBOBEAgA0GABmoiAkEMEBEgAkECEBEgAkHZACABKAKwARBdCyABKAKsAUEATgRAIANBgAZqIgJBDBARIAJBAxARIAJB2QAgASgCrAEQXQsCQCABKAKoAUEASA0AIAEoAmAEQCADQYAGaiICQeEAEBEgAiABLwGoARAqDAELIANBgAZqIgJBCBARIAJB2QAgASgCqAEQXQsgASgCmAFBAE4EQEEAIQIgAS0AbkEBcUUEQCABKAI4QQBHIQILIANBgAZqIgRBDBARIAQgAhARIAEoApwBIgJBAE4EQCADQYAGakHaACACEF0LIANBgAZqQdkAIAEoApgBEF0LIAEoAqABQQBOBEAgA0GABmoiAkEMEBEgAkECEBEgAkHZACABKAKgARBdCyABKAKQAUEATgRAIANBgAZqIgJBDBARIAJBBRARIAJB2QAgASgCkAEQXQsgASgClAFBAE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aiIEIAYoAhA2AgACQCADRQRAIAYoAghFDQELIARBADYCCAwCCyAEIAY2AggMAQsgDEEANgIICyAFQQFqIQUMAQsLQX8PCyAFC2gCAn8BfiAAQRBqIQIgACkCBCIEp0H/////B3EhAwJAIARCgICAgAiDUEUEQEEAIQADQCAAIANGDQIgAiAAQQF0ai8BACABQYcCbGohASAAQQFqIQAMAAsACyACIAMgARCyBSEBCyABCxIAIAAgASACIANBgIABENABGgssAQF/A0AgASADRkUEQCAAIANqLQAAIAJBhwJsaiECIANBAWohAwwBCwsgAgvOAQIDfwF+IAEgAkEBELIFIgNB/////wNxIQUgACgCNCAAKAIkQQFrIANxQQJ0aiEDA0AgAygCACIERQRAQQAPCwJAIAAoAjggBEECdGooAgAiAykCBCIGQiCIp0H/////A3EgBUcgBkKAgICAgICAgECDQoCAgICAgICAwABSciAGp0H/////B3EgAkcgBkKAgICACINCAFJycg0AIANBEGogASACEGENACAEQd4BTgRAIAMgAygCAEEBajYCAAsgBA8LIANBDGohAwwACwALfwEEfyABLQAAQdsARgRAIAFBAWoiAxA/QQFrIQIgACgCECgCOCEEQdABIQEDQCABQd4BRwRAAkAgBCABQQJ0aigCACIFKAIEQf////8HcSACRw0AIAVBEGogAyACEGENACAAIAEQGA8LIAFBAWohAQwBCwsQAQALIAAgARCqAQusAgMCfwJ+AXwjAEEgayICJABEAAAAAAAA+H8hBiAAKAIIQf////8HRwRAIAAoAgAhAyACQgA3AhggAkKAgICAgICAgIB/NwIQIAIgAzYCDCACQQxqIAAQRBoCfiACKAIUIgBB/f///wdMBEAgAkEMakE1QcgEEM4BGiACKAIUIQALQoCAgICAgID4/wAgAEH+////B0YNABogAEGAgICAeEYEQEIADAELIAIoAhwhAwJ+IAIoAhhBAkYEQCADKQIADAELIAM1AgBCIIYLIQQgAEGCeEwEQCAEQY54IABrrYghBEIADAELIARCC4hC/////////weDIQQgAEH+B2qtQjSGCyEFIAQgBYQgAjUCEEI/hoS/IQYgAkEMahAbCyABIAY5AwAgAk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EIAFBAWohASAGrSADrUIKfnwiB6chAyAHQoCAgIAQVA0ACwwDC0EAIgMgBEEBRw0BGgsgACADNgIAQQELDwtBAAupAgIDfwF+AkAgACACEDhFDQAgAqciBC8BBkEORgRAIAAgASAEKAIgKQMAENAFDwsgAUKAgICAcFQNAAJAIAAgAkE7IAJBABAUIgJC/////29YBEBBfyEDIAJCgICAgHCDQoCAgIDgAFENASAAQcYwQQAQFQwBCyABpyEEIAKnIQUCQANAAkAgBCgCECgCLCIDRQRAQQAhAyAELwEGQTBHDQQgBCAEKAIAQQFqNgIAIAStQoCAgIBwhCEBA0AgACABEIwCIgFCgICAgHCDIgZCgICAgCBRDQRBfyEDIAZCgICAgOAAUQ0FIAGnIAVGBEAgACABEA8MAwsgABB7RQ0ACyAAIAEQDwwECyADIgQgBUcNAQsLQQEhAwwBC0EAIQMLIAAgAhAPCyADC9IDAgJ+An8jAEEgayIEJAACQCABQv///////////wCDIgNCgICAgICAwIA8fSADQoCAgICAgMD/wwB9VARAIAFCBIYgAEI8iIQhAyAAQv//////////D4MiAEKBgICAgICAgAhaBEAgA0KBgICAgICAgMAAfCECDAILIANCgICAgICAgIBAfSECIABCgICAgICAgIAIUg0BIAIgA0IBg3whAgwBCyAAUCADQoCAgICAgMD//wBUIANCgICAgICAwP//AFEbRQRAIAFCBIYgAEI8iIRC/////////wODQoCAgICAgID8/wCEIQIMAQtCgICAgICAgPj/ACECIANC////////v//DAFYNAEIAIQIgA0IwiKciBUGR9wBJDQAgBEEQaiAAIAFC////////P4NCgICAgICAwACEIgIgBUGB9wBrEGcgBCAAIAJBgfgAIAVrEI4CIAQpAwhCBIYgBCkDACIAQjyIhCECIAQpAxAgBCkDGIRCAFKtIABC//////////8Pg4QiAEKBgICAgICAgAhaBEAgAkIBfCECDAELIABCgICAgICAgIAIUg0AIAJCAYMgAnwhAgsgBEEgaiQAIAIgAUKAgICAgICAgIB/g4S/Cw0AIAAgASACQQAQvAELugMCAX4DfyMAQRBrIgQkAAJAAkAC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yIBIAFBB2tBbkkbIgEOCAAAAAADAwMBAgsgAqcMBgtBACEAIAJCgICAgMCBgPz/AHwiAkL///////////8Ag0KAgICAgICA+P8AVg0DIAK/IgREAAAAAAAAAABjDQNB/wEgBEQAAAAAAOBvQGQNBhoCfyAEniIEmUQAAAAAAADgQWMEQCAEqgwBC0GAgICAeAsMBgsgAUF3Rg0DCyAAIAIQjQEiAkKAgICAcINCgICAgOAAUg0AC0F/IQALQQAMAgsgACgC2AEhASADQgA3AhQgA0KAgICAgICAgIB/NwIMIAMgATYCCCADQQhqIgEgAqdBBGoQRBogAUEAENEBGiADQRxqIAFBABCpASABEBsgACACEA8gAygCHAshAUEAIQBB/wEgASABQf8BThsiAUEAIAFBAEobCzYCACADQSBqJAAgAAtPAQJ/IwBBIGsiAyQAAn8gACADQQxqIAIQqwUiBEUEQCABQgA3AwBBfwwBCyABIARBARCCAxogACAEIANBDGoQXkEACyEAIANBIGokACAAC6gBAQV/IACnIgMoAhAiAUEwaiEEIAEgASgCGEF/c0ECdEGkfnJqKAIAIQEDQCABRQRAQQAPCyAEIAFBAWsiBUEDdGoiASgCACECIAEoAgRBNkcEQCACQf///x9xIQEMAQsLQQEhAQJAIAJB/////wNLDQAgAygCFCAFQQN0aikDACIAQoCAgIBwg0KAgICAkH9SDQAgAKcoAgRB/////wdxQQBHIQELIAELywECAn8BfiMAQRBrIgYkAAJAAkAgAkKAgICAcFQNACACpyIHLwEGQQxHDQAgBy0AKUEMRw0AIAAgASADIAMEfyAEBSAGQoCAgIAwNwMIIAZBCGoLIAUgBy4BKiAHKAIkERIAIQgMAQtCgICAgOAAIQgCQCAAIAIgASADIAQQISIBQoCAgIBwg0KAgICA4ABSBEAgAUL/////b1YNASAAIAEQDyAAQY4xQQAQFQsgBUEANgIADAELIAVBAjYCACABIQgLIAZBEGokACAIC5cBAAJAAkACQAJAAkAgAUIgiKdBA2oOAgEAAgsgACAAIAEgAyAEEIwEIAJBAEEAEC8PCyAAIAEQDwJAIAAgAaci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ACACQQIQmgEiAkKAgICAcINCgICAgOAAUQ0CIAAgA0ECEJoBIgNCgICAgHCDQoCAgIDgAFEEQCAAIAIQDwwEC0EHIANCIIinIgEgAUEHa0FuSRshBEEHIAJCIIinIgEgAUEHa0FuSRsLQXlHIARBeUdxRQRAIAUgACACIAMQxAIiAjcDAEEAIQEgAkKAgICAcINCgICAgOAAUQ0DDAQLIAAgAhBsIgJCgICAgHCDQoCAgIDgAFENASAAIAMQbCIDQoCAgIBwg0KAgICA4ABRBEAgACACEA8MAwtBByACQiCIpyIBIAFBB2tBbkkbIgFBByADQiCIpyIEIARBB2tBbkkbIgRyRQRAIAUCfiADxCACxHwiAkKAgICACHxC/////w9YBEAgAkL/////D4MMAQtCgICAgMB+IAK5vSICQoCAgIDAgYD8/wB9IAJC////////////AINCgICAgICAgPj/AFYbCzcDAAwBCyABQXVHIARBdUdxRQRAIABBnQEgBSACIAMgACgCECgC2AIRGgANAwwBCyABQXdHIARBd0dxRQRAIABBnQEgBSACIAMgACgCECgCvAIRGgBFDQEMAwsCQCABQXZHIARBdkdxRQRAIAAoAhAhAQwBCyAAIAZBEGogAhBuBEAgACADEA8MBAsgACAGQQhqIAMQbg0DAkAgACgCECIBKAKMASIERQ0AIAQtAChBBHFFDQAgBisDEBC9AkUNACAGKwMIEL0CDQELIAVCgICAgMB+IAYrAxAgBisDCKC9IgJCgICAgMCBgPz/AH0gAkL///////////8Ag0KAgICAgICA+P8AVhs3AwAMAQsgAEGdASAFIAIgAyABKAKgAhEaAA0CC0EAIQEMAgsgACADEA8LIAVCgICAgDA3AwAgB0KAgICAMDcDAEF/IQELIAZBIGokACABC5ADAQl/IwBBMGsiByQAAkAgAkKAgICAcFQNAEETIQUCQCACpyIKLQAFQQRxRQ0AIAAoAhAoAkQgCi8BBkEYbGooAhQiCEUNAEEDQRMgCCgCBBshBQtBfyEJIAAgB0EsaiAHQShqIAogBRCOAQ0AIAOnQQAgA0L/////b1YbIQwgBygCLCEIIAcoAighCyAFQQ9L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ICAcFQNACADpyIBLwEGEO4BRQ0AIAEoAiAiAS0AEkEEcUUNACAAIAEoAkAQGCECCyACC6oPAgV/D34jAEHQAmsiBSQAIARC////////P4MhCyACQv///////z+DIQogAiAEhUKAgICAgICAgIB/gyENIARCMIinQf//AXEhCAJAAkAgAkIwiKdB//8BcSIJQf//AWtBgoB+TwRAIAhB//8Ba0GBgH5LDQELIAFQIAJC////////////AIMiDEKAgICAgIDA//8AVCAMQoCAgICAgMD//wBRG0UEQCACQoCAgICAgCCEIQ0MAgsgA1AgBEL///////////8AgyICQoCAgICAgMD//wBUIAJCgICAgICAwP//AFEbRQRAIARCgICAgICAIIQhDSADIQEMAgsgASAMQoCAgICAgMD//wCFhFAEQCADIAJCgICAgICAwP//AIWEUARAQgAhAUKAgICAgIDg//8AIQ0MAwsgDUKAgICAgIDA//8AhCENQgAhAQwCCyADIAJCgICAgICAwP//AIWEUARAQgAhAQwCCyABIAyEUARAQoCAgICAgOD//wAgDSACIAOEUBshDUIAIQEMAgsgAiADhFAEQCANQoCAgICAgMD//wCEIQ1CACEBDAILIAxC////////P1gEQCAFQcACaiABIAogASAKIApQIgYbeSAGQQZ0rXynIgZBD2sQZ0EQIAZrIQYgBSkDyAIhCiAFKQPAAiEBCyACQv///////z9WDQAgBUGwAmogAyALIAMgCyALUCIHG3kgB0EGdK18pyIHQQ9rEGcgBiAHakEQayEGIAUpA7gCIQsgBSkDsAIhAwsgBUGgAmogC0KAgICAgIDAAIQiEkIPhiADQjGIhCICQgBCgICAgLDmvIL1ACACfSIEQgAQZiAFQZACakIAIAUpA6gCfUIAIARCABBmIAVBgAJqIAUpA5gCQgGGIAUpA5ACQj+IhCIEQgAgAkIAEGYgBUHwAWogBEIAQgAgBSkDiAJ9QgAQZiAFQeABaiAFKQP4AUIBhiAFKQPwAUI/iIQiBEIAIAJCABBmIAVB0AFqIARCAEIAIAUpA+gBfUIAEGYgBUHAAWogBSkD2AFCAYYgBSkD0AFCP4iEIgRCACACQgAQZiAFQbAB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IAIQEMAgsgBUFAayACIARBASAGaxCOAiAFQTBqIAwgFSAGQfAAahBnIAVBIGogAyASIAUpA0AiAiAFKQNIIgwQZiAFKQM4IAUpAyhCAYYgBSkDICIBQj+IhH0gBSkDMCIEIAFCAYYiAVStfSEKIAQgAX0LIQQgBUEQaiADIBJCA0IAEGYgBSADIBJCBUIAEGYgDCACIAIgAyACQgGDIgEgBHwiA1QgCiABIANWrXwiASASViABIBJRG618IgJWrXwiBCACIAIgBEKAgICAgIDA//8AVCADIAUpAxBWIAEgBSkDGCIEViABIARRG3GtfCICVq18IgQgAiAEQoCAgICAgMD//wBUIAMgBSkDAFYgASAFKQMIIgNWIAEgA1Ebca18IgEgAlStfCANhCENCyAAIAE3AwAgACANNwMIIAVB0AJqJAALyDIDEX8HfgF8IwBBEGsiECQAIwBBoAFrIg8kACAPIAA2AjwgDyAANgIUIA9BfzYCGCAPQRBqIgIQmgQjAEEwayIOJAADQAJ/IAIoAgQiACACKAJoRwRAIAIgAEEBajYCBCAALQAADAELIAIQVQsiBRCOBg0AC0EBIQMCQAJAIAVBK2sOAwABAAELQX9BASAFQS1GGyEDIAIoAgQiACACKAJoRwRAIAIgAEEBajYCBCAALQAAIQUMAQsgAhBVIQULAkACQAJAA0AgBkHsHGosAAAgBUEgckYEQAJAIAZBBksNACACKAIEIgAgAigCaEcEQCACIABBAWo2AgQgAC0AACEFDAELIAIQVSEFCyAGQQFqIgZBCEcNAQwCCwsgBkEDRwRAIAZBCEYNASAGQQRJDQIgBkEIRg0BCyACKQNwIhJCAFkEQCACIAIoAgRBAWs2AgQLIAZBBEkNACASQgBTIQADQCAARQRAIAIgAigCBEEBazYCBAsgBkEBayIGQQNLDQALC0IAIRIjAEEQayIFJAACfiADskMAAIB/lLwiA0H/////B3EiAEGAgIAEa0H////3B00EQCAArUIZhkKAgICAgICAwD98DAELIAOtQhmGQoCAgICAgMD//wCEIABBgICA/AdPDQAaQgAgAEUNABogBSAArUIAIABnIgBB0QBqEGcgBSkDACES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iATIAgbIRIgA0UgAEFfcUHFAEdyRQRAAkAgAhCHBiIUQoCAgICAgICAgH9SDQBCACEUIAIpA3BCAFMNACACIAIoAgRBAWs2AgQLIBIgFHwhEgwDCyADRSEFIABBAEgNAQsgAikDcEIAUw0AIAIgAigCBEEBazYCBAsgBUUNAEGg1ARBHDYCACACEJoEQgAhE0IADAELIAEoApAGIgBFBEAgASAGt0QAAAAAAAAAAKIQqwEgASkDACETIAEpAwgMAQsgEiATUiATQglVckUEQCABQTBqIAYQeSABQSBqIAAQhgIgAUEQaiABKQMwIAEpAzggASkDICABKQMoEC4gASkDECETIAEpAxgMAQsgEkKaBFkEQEGg1ARBxAA2AgAgAUHgAGogBhB5IAFB0ABqIAEpA2AgASkDaEJ/Qv///////7///wAQLiABQUBrIAEpA1AgASkDWEJ/Qv///////7///wAQLiABKQNAIRMgASkDSAwBCyASQut1VwRAQaDUBEHEADYCACABQZABaiAGEHkgAUGAAWogASkDkAEgASkDmAFCAEKAgICAgIDAABAuIAFB8ABqIAEpA4ABIAEpA4gBQgBCgICAgICAwAAQLiABKQNwIRMgASkDeAwBCyAKBEAgCkEITARAIAFBkAZqIAdBAnRqIgAoAgAhCQNAIAlBCmwhCSAKQQFqIgpBCUcNAAsgACAJNgIACyAHQQFqIQcLAkAgCyASpyIISiALQQhKciAIQRFKcg0AIAhBCUYEQCABQcABaiAGEHkgAUGwAWogASgCkAYQhgIgAUGgAWogASkDwAEgASkDyAEgASkDsAEgASkDuAEQLiABKQOgASETIAEpA6gBDAILIAhBCEwEQCABQZACaiAGEHkgAUGAAmogASgCkAYQhgIgAUHwAWogASkDkAIgASkDmAIgASkDgAIgASkDiAIQLiABQeABakEAIAhrQQJ0QeDBBGooAgAQeSABQdABaiABKQPwASABKQP4ASABKQPgASABKQPoARDjBSABKQPQASETIAEpA9gBDAILIAhBEU5BACABKAKQBiIAIAhBfWxB0ABqdhsNACABQeACaiAGEHkgAUHQAmogABCGAiABQcACaiABKQPgAiABKQPoAiABKQPQ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AgASgCNCEDIAIgASgCOE5FBEAgACADIAJBDGxqKAIEEBMgAkEBaiECDAELCyAAKAIQIgJBEGogAyACKAIEEQAAIAAgASkDQBAPIAAgASkDSBAPIAAgASkDYBAPIAAgASkDaBAPIAEoAggiAiABKAIMIgM2AgQgAyACNgIAIAFCADcCCCAAKAIQIgBBEGogASAAKAIEEQAACzABAX8gACgCOCABQQJ0aigCACIBIAEoAgAiAkEBazYCACACQQFMBEAgACABEKIDCwvAAQIBfwJ+QX8hAwJAIABCAFIgAUL///////////8AgyIEQoCAgICAgMD//wBWIARCgICAgICAwP//AFEbDQAgAkL///////////8AgyIFQoCAgICAgMD//wBWIAVCgICAgICAwP//AFJxDQAgACAEIAWEhFAEQEEADwsgASACg0IAWQRAIAEgAlIgASACU3ENASAAIAEgAoWEQgBSDwsgAEIAUiABIAJVIAEgAlEbDQAgACABIAKFhEIAUiEDCyADCwoAIABBfHEQpAMLZQEEfwNAIAIgBUoEQCABIAVqIgYtAAAiBEEPaiAEIARBswFLGyAEIAMbQQJ0IgRBgLgBai0AACEHIARBg7gBai0AAEEXa0H/AXFBBE0EQCAAIAYoAAEQ7AELIAUgB2ohBQwBCwsLcAACQAJAAkACQAJAIAJBBHZBA3FBAWsOAwABAgMLIAEoAgAiAgRAIAAgAq1CgICAgHCEECMLIAEoAgQiAUUNAyAAIAGtQoCAgIBwhBAjDwsgACABKAIAEOsBDwsgASgCABDqBQ8LIAAgASkDABAjCwvJBgEFfwJAAkACQAJAAkACQAJAIAEtAARBD3EOAgABBQsgASABLQAFQQJyOgAFIAEoAhAiBEEwaiEDA0AgASgCFCEFIAIgBCgCIE5FBEAgACAFIAJBA3RqIAMoAgBBGnYQ7AUgAkEBaiECIANBCGohAwwBCwsgAEEQaiIGIAUgACgCBBEAACAAIAQQkQIgAUIANwMQIAEoAhgiAgRAIAIhAwNAIAMEQCADKAIIKAIARQ0FIAMoAgQNBCADKAIYIgQgAygCHCIFNgIEIAUgBDYCACADQgA3AhggAygCECIEIA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sMACAAIAEpAwAQswELygYCBH8DfiMAQYABayIFJAACQAJAAkAgAyAEQgBCABDtAUUNAAJ/IARC////////P4MhCgJ/IARCMIinQf//AXEiBkH//wFHBEBBBCAGDQEaQQJBAyADIAqEUBsMAgsgAyAKhFALCyEGIAJCMIinIghB//8BcSIHQf//AUYNACAGDQELIAVBEGogASACIAMgBBAuIAUgBSkDECICIAUpAxgiASACIAEQ4wUgBSkDCCECIAUpAwAhBAwBCyABIAJC////////////AIMiCiADIARC////////////AIMiCRDtAUEATARAIAEgCiADIAkQ7QEEQCABIQQMAgsgBUHwAGogASACQgBCABAuIAUpA3ghAiAFKQNwIQQMAQsgBEIwiKdB//8BcSEGIAcEfiABBSAFQeAAaiABIApCAEKAgICAgIDAu8AAEC4gBSkDaCIKQjCIp0H4AGshByAFKQNgCyEEIAZFBEAgBUHQAGogAyAJQgBCgICAgICAwLvAABAuIAUpA1giCUIwiKdB+ABrIQYgBSkDUCEDCyAJQv///////z+DQoCAgICAgMAAhCELIApC////////P4NCgICAgICAwACEIQogBiAHSARAA0ACfiAKIAt9IAMgBFatfSIJQgBZBEAgCSAEIAN9IgSEUARAIAVBIGogASACQgBCABAuIAUpAyghAiAFKQMgIQQMBQsgCUIBhiAEQj+IhAwBCyAKQgGGIARCP4iECyEKIARCAYYhBCAHQQFrIgcgBkoNAAsgBiEHCwJAIAogC30gAyAEVq19IglCAFMEQCAKIQkMAQsgCSAEIAN9IgSEQgBSDQAgBUEwaiABIAJCAEIAEC4gBSkDOCECIAUpAzAhBAwBCyAJQv///////z9YBEADQCAEQj+IIQEgB0EBayEHIARCAYYhBCABIAlCAYaEIglCgICAgICAwABUDQALCyAIQYCAAnEhBiAHQQBMBEAgBUFAayAEIAlC////////P4MgB0H4AGogBnKtQjCGhEIAQoCAgICAgMDDPxAuIAUpA0ghAiAFKQNAIQQMAQsgCUL///////8/gyAGIAdyrUIwhoQhAgsgACAENwMAIAAgAjcDCCAFQYABaiQAC4sDAgJ+A38jAEEgayICJAB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AFBP3FBgAFyOgACIAAgAUEMdkHgAXI6AAAgACABQQZ2QT9xQYABcjoAAUEDDAMLIAFBgIAEa0H//z9NBEAgACABQT9xQYABcjoAAyAAIAFBEnZB8AFyOgAAIAAgAUEGdkE/cUGAAXI6AAIgACABQQx2QT9xQYABcjoAAUEEDAMLC0Gg1ARBGTYCAEF/DAELIAAgAToAAEEBCwvEAgACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQCABQQlrDhIACgsMCgsCAwQFDAsMDAoLBwgJCyACIAIoAgAiAUEEajYCACAAIAEoAgA2AgAPCwALIAIgAigCACIBQQRqNgIAIAAgATIBADcDAA8LIAIgAigCACIBQQRqNgIAIAAgATMBADcDAA8LIAIgAigCACIBQQRqNgIAIAAgATAAADcDAA8LIAIgAigCACIBQQRqNgIAIAAgATEAADcDAA8LAAsgAiACKAIAQQdqQXhxIgFBCGo2AgAgACABKwMAOQMADwsgACACIAMRAAALDwsgAiACKAIAIgFBBGo2AgAgACABNAIANwMADwsgAiACKAIAIgFBBGo2AgAgACABNQIANwMADwsgAiACKAIAQQdqQXhxIgFBCGo2AgAgACABKQMANwMAC14BBH8gACgCACECA0AgAiwAACIDENECBEBBfyEEIAAgAkEBaiICNgIAIAFBzJmz5gBNBH9BfyADQTBrIgMgAUEKbCIEaiADIARB/////wdzShsFQX8LIQEMAQsLIAEL3BICEn8BfiMAQdAAayIIJAAgCCABNgJMIAhBN2ohFyAIQThqIRICQAJAAkACQANAIAEhDCAHIA5B/////wdzSg0BIAcgDmohDgJAAkACQCAMIgctAAAiCQRAA0ACQAJAIAlB/wFxIgFFBEAgByEBDAELIAFBJUcNASAHIQkDQCAJLQABQSVHBEAgCSEBDAILIAdBAWohByAJLQACIQogCUECaiIBIQkgCkElRg0ACwsgByAMayIHIA5B/////wdzIhhKDQcgAARAIAAgDCAHEFsLIAcNBiAIIAE2AkwgAUEBaiEHQX8hDwJAIAEsAAEiChDRAkUNACABLQACQSRHDQAgAUEDaiEHIApBMGshD0EBIRM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ai8BAGohCEEAIQECQANAIAIgCE8NASACQQFqIQYCQAJAIAItAAAiBEE/TQRAIAMgBEEDdmpBAWohAiABBEAgACADIAIQfg0DCyABQQFzIQEgBEEHcSACakEBaiEFDAELAn8gAyAEakH/AGsgBMBBAEgNABogBi0AACEFIARB3wBNBEAgAkECaiEGIAMgBEEIdGogBWpB//8AawwBCyACQQNqIQYgAi0AAiADIARBEHRqIAVBCHRqakH///8CawshBSADIQILIAEEQCAAIAIgBRB+DQELIAFBAXMhASAGIQIgBSEDDAELC0F/IQcLIAcLOABBsNQCIAEQrwQiAUEASARAQX4PCyAAIAFBHU0Ef0IBIAGthqcFIAFBAnRB2NgCaigCAAsQoQYLNQEBfyMAQRBrIgMkACADIAE2AgggAyACQQFqNgIMIAAgA0EIakECELEEIQAgA0EQaiQAIAALlwIBA38gASgCACICQf7/B08EQCAAQYY7QQAQOkF/DwsCQCACQQFNBEAgAEECQX8QuAEaDAELIAEoAgggAkECdGoiBEEEaygCACIDQX9GBEAgBEEIaygCACEDCyACQQF2IQIgA0H//wNNBEAgAEEVIAIQsgRBACECA0AgAiABKAIATg0CIAAgAkECdCIDIAEoAghqLwEAECogAEF/IAEoAgggA0EEcmooAgBBAWsiAyADQX5GG0H//wNxECogAkECaiECDAALAAsgAEEWIAIQsgRBACECA0AgAiABKAIATg0BIAAgAkECdCIDIAEoAghqKAIAEB0gACABKAIIIANBBHJqKAIAQQFrEB0gAkECaiECDAALAAtBAAsmAQF/IAAoAjgiAUEASARAIAAgACAAQTxqQQAQqwYiATYCOAsgAQvgAgEFfyMAQZABayIEJAAgAUEANgIAIAAoAiAhA0EBIQYDQCAEIAM2AowBAkACQAJAIAAoAhwiByADTQRAIAYhBQwBCwJAAkACQAJAIAMtAAAiBUHbAGsOAgECAAsgBUEoRw0FIAMtAAFBP0cNAiADLQACQTxHDQUgAy0AAyIFQSFGIAVBPUZyDQUgAUEBNgIAAkAgAkUNACAEIANBA2o2AowBIAQgBEGMAWogACgCKBC1BA0AIA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NACACKAIIIQUgACACQQhqEEhBgIYBQYCCASAFQQJxGyEFCyAAIAEgCUKAgICAMEKAgICAMEKAgICAMCAFEG1BAEgNAiADQQFqIQMMAQsLIAAgByAIEFogBiAGKAIAQQFqNgIADAELIAAgByAIEFoMAQsgASELCyACQTBqJAAgCwsQAEGimQEgAEELEPsBQQBHC4kBAgN/AX5BlZkBIQMCQAJAIAEpAgQiBqdB/////wdxIgUgAkwNACABQRBqIQQCfyAGQoCAgIAIg1BFBEAgBCACQQF0ai8BAAwBCyACIARqLQAAC0ElRw0AQb0tIQMgAkECaiAFTg0AIAEgAkEBakECELgEIgJBAE4NAQsgACADELkEQX8hAgsgAguLAgIBfgF8IwBBEGsiAiQAQoCAgIDgACEEAkAgACABEN0CIgFCgICAgHCDQoCAgIDgAFEEQCABIQQMAQsgACACIAEQbg0AIAAgAkEMaiADKQMAELoBDQAgAisDACIFvSIBQoCAgICAgID4/wCDQoCAgICAgID4/wBRBEAgAEKAgICAwH4gAUKAgICAwIGA/P8AfSABQv///////////wCDQoCAgICAgID4/wBWGxA3IQQMAQsgAzUCBEIghkKAgICAMFEEQCAAIAVBCkEAQQQQjwIhBAwBCyACKAIMIgNB5QBPBEAgAEGKNEEAEFAMAQsgACAFQQogA0EBakEFEI8CIQQLIAJBEGokACAEC18AIwBBEGsiAiQAAn4gAykDACIBQiCIpyIDBEBCgICAgBAgA0ELakESSQ0BGgtCgICAgOAAIAAgAkEIaiABEEINABogAisDCBC9Aq1CgICAgBCECyEBIAJBEGokACABCyYAQoCAgIDgACAAIAMpAwAQzAUiAEEAR61CgICAgBCEIABBAEgbCy8BAX4CfiADKAIEIgIEQEKAgICAECIEIAJBC2pBEkkNARoLIAAgBCADIAMQvAQLCy8BAX4CfiADKAIEIgIEQEKAgICAECIEIAJBC2pBEkkNARoLIAAgBCADIAMQvQQLCwkAIAAgARC+BAssACAAIAEQvgQiAUKAgICAcINCgICAgOAAUgR+IABBA0ECIAGnGxAtBSABCwvMAgIBfwd+IwB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ggACgCBBEAAEKAgICA4AAhAQsgBUEwaiQAIAELdAEBfkKAgICA4AAhBCAAIAEQWSIBQoCAgIBwg0KAgICA4ABSBH4gACADKQMAECgiBEKAgICAcINCgICAgOAAUQRAIAAgARAPQoCAgIDgAA8LIAGnIASnEIMCIQIgACABEA8gACAEEA8gAq0FQoCAgIDgAAsLCQAgACABEPYECxIAIABBsjRBABAVQoCAgIDgAAtqAAJAAkAgAUIgiKciAkF/RwRAIAJBeUcNAQwCCyABpyICLwEGQQVHDQAgAikDICIBQoCAgIBwg0KAgICAkH9SDQAMAQsgAEGi2wBBABAVQoCAgIDgAA8LIAGnIgAgACgCAEEBajYCACABC4QCAgJ/An4gACABEFkiAUKAgICAcINCgICAgOAAUQRAIAEPCyABpyIGKQIEIgenQf////8HcSECAkAgBEEBcUUNACAGQRBqIQMgB0KAgICACIMhCANAIAIgBUYEQCACIQUMAgsCfyAIUEUEQCADIAVBAXRqLwEADAELIAMgBWotAAALEIcDRQ0BIAVBAWohBQwACwALAkAgBEECcUUEQCACIQMMAQsgBkEQaiEEIAdCgICAgAiDIQcDQCACIgMgBUwNASADQQFrIQICfyAHUEUEQCAEIAJBAXRqLwEADAELIAIgBGotAAALEIcDDQALCyAAIAYgBSADEIQBIQcgACABEA8gBwvqAwIGfwN+IwBBIGsiBSQAQoCAgIDgACEMAkAgACABEFkiAUKAgICAcINCgICAgOAAUQ0AAkACQCAAIAVBBGogAykDABC6AQ0AIAUoAgQiByABpyIJKAIEQf////8HcSIITA0BQSAhCkKAgICAMCELAkAgAkECSA0AIAMpAwgiDUKAgICAcINCgICAgDBRDQAgACANECgiC0KAgICAcINCgICAgOAAUQ0BAkACQCALpyIGKQIEIg2nQf////8HcQ4CAAECCyAAIAsQDwwDCwJ/IA1CgICAgAiDUEUEQCAGLwEQDAELIAYtABALIQpBACEGCyAHQYCAgIAETgRAIABBwNoAQQAQRgwBCyAAIAVBCGogBxA9RQRAAkAgBARAIAVBCGogCUEAIAgQUQ0BCyAHIAh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QEhDCAEDQELCyACQQhqIgMgCyAKIAsoAgRB/////wdxEFEaIAAgBRAPIAAgCBAPIAAgBxAPIAMQNiEGDAELIAIoAggoAhAiA0EQaiACKAIMIAMoAgQRAAAgACAFEA8gACAIEA8gACAHEA8LIAJB0ABqJAAgBgu4AgIDfwN+IwBBIGsiAiQAQoCAgIDgACEHAkACQAJAIAAgARBZIgFCgICAgHCDQoCAgIDgAFENACAAIAIgAykDABDiAw0AIAIpAwAiCEKAgICACFoEQCAAQeIqQQAQUAwBCyABpyIEKQIEIgmnIgZB/////wdxIgVFDQEgCKciA0EBRg0BIAlC/////weDIAh+QoCAgIAEWgRAIABBwNoAQQAQRgwBCyAAIAJBCGogAyAFbCAGQR92EIoDDQACQCAFQQFHBEADQCADQQBMDQIgAkEIaiAEQQAgBRBRGiADQQFrIQMMAAsACyACQQhqAn8gBC0AB0GAAXEEQCAELwEQDAELIAQtABALIAMQwQQaCyAAIAEQDyACQQhqEDYhBwwCCyAAIAEQDwwBCyABIQcLIAJBIGokACAHC8EBAgJ/An4jAEEQayIEJABCgICAgOAAIQYCQCAAIAEQWSIBQoCAgIBwg0KAgICA4ABRBEAgASEGDAELAkAgACAEQQxqIAMpAwAgAaciBSgCBEH/////B3EiAiACEFcNACAEIAI2AgggAykDCCIHQoCAgIBwg0KAgICAMFIEQCAAIARBCGogByACIAIQVw0BIAQoAgghAgsgACAFIAQoAgwiAyACIAMgAiADShsQhAEhBgsgACABEA8LIARBEGokACAGC8ABAgN/An4jAEEQayICJABCgICAgOAAIQcCQCAAIAEQWSIBQoCAgIBwg0KAgICA4ABRBEAgASEHDAELAkAgACACQQxqIAMpAwAgAaciBigCBEH/////B3EiBCAEEFcNACACIAQgAigCDCIFayIENgIIIAAgBiAFIAMpAwgiCEKAgICAcINCgICAgDBSBH8gACACQQhqIAggBEEAEFcNASACKAIIBSAECyAFahCEASEHCyAAIAEQDwsgAkEQaiQAIAcL0wECAn8CfiMAQRBrIgIkAEKAgICA4AAhBgJAIAA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8gASEHDAILIAELEA8gACAKEA8gACAIEA8LIAJBEGokACAHC6ADAQR+IwBBMGsiAiQAIAIgATcDKAJAIAFCgICAgBCEQoCAgIBwg0KAgICAMFEEQCAAQZUwQQAQFUKAgICA4AAhBgwBCwJAIAMpAwAiBUKAgICAEIRCgICAgHCDQoCAgIAwUQ0AQoCAgIDgACEGIAAgBSAEIAVBABAUIgdCgICAgHCDIghCgICAgOAAUQ0BAkAgBEHTAUcNACAAIAUQxARBAE4NACAAIAcQDwwCCyAIQoCAgIAQhEKAgICAMFENACAAIAcgBUEBIAJBKGoQLyEGDAELIAIgACABECgiBzcDCEKAgICA4AAhBiAHQoCAgIBwg0KAgICA4ABRDQAgAiAFNwMQAkACQAJ/IARB0wFHBEBCgICAgDAhAUEBDAELIABBp90AEGIiAUKAgICAcINCgICAgOAAUQ0BIAIgATcDGEECCyEDIAAgACkDSCADIAJBEGoQpwEhBSAAIAEQDyAFQoCAgIBwg0KAgICA4ABSDQELIAAgBxAPDAELIAAgBSAEQQEgAkEIahCtAiEGIAAgAikDCBAPCyACQTBqJAAgBguYAwIFfwN+IwBBEGsiBiQAAkAgACABEFkiCkKAgICAcINCgICAgOAAUQRAIAohAQwBCwJAIAAgAykDABDQAyIFBEBCgICAgOAAIQFCgICAgDAhCyAFQQBMDQEgAEH89QBBABAVDAELQoCAgIDgACEBIAAgAykDABAoIgtCgICAgHCDQoCAgIDgAFENACALpyIHKAIEIQggBiAKpyIJKAIEQf////8HcSIFQQAgBEECRhs2AgwCQCACQQJIDQAgAykDCCIMQoCAgIBwg0KAgICAMFENACAAIAZBDGogDCAFQQAQVw0BCyAFIAhB/////wdxIgVrIQICQAJAAkACQCAEDgIAAQILIAYoAgwhAwwCCyAGKAIMIgMgAkohBEKAgICAECEBIAMhAiAERQ0BDAILIAYoAgwgBWsiAyECC0KAgICAECEBIANBAEggAiADSHINAANAIAkgByADQQAgBRCzA0UEQEKBgICAECEBDAILIAIgA0chBCADQQFqIQMgBA0ACwsgACAKE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gAAJ/IARCgICAgAiDUEUEQCAFIANBAXRqLwEADAELIAMgBWotAAALQf//A3EQnwMhBAsgACABEA8LIAJBEGokACAEC7gBAgJ+AX8jAEEQayICJABCgICAgOAAIQQCQCAAIAEQWSIBQoCAgIBwg0KAgICA4ABRBEAgASEEDAELAkAgACACQQxqIAMpAwAQugENAEKAgICAwH4hBCACKAIMIgNBAEgNACADIAGnIgYpAgQiBadB/////wdxTw0AIAZBEGohBiAFQoCAgIAIg1BFBEAgBiADQQF0ajMBACEEDAELIAMgBmoxAAAhBAsgACABEA8LIAJBEGokACAEC+MBAgF+An8jAEEQayICJAACQCAAIAFBLRBLIgNFBEAgBEEANgIAQoCAgIDgACEBDAELQoCAgIAwIQECQCADKQMAIgZCgICAgHCDQoCAgIAwUgRAIAIgAygCDCIFNgIMIAUgBqciBygCBEH/////B3FJDQEgACAGEA8gA0KAgICAMDcDAAsgBEEBNgIADAELIAcgAkEMahDJASEIIAMgAigCDDYCDCAEQQA2AgAgCEH//wNNBEAgACAIQf//A3EQnwMhAQwBCyAAIAcgBUEBdGpBEGpBAhDuAyEBCyACQRBqJAAgAQs3ACMAQRBrIgIkACAAIAJBDGogAykDABB3IQAgAigCDCEDIAJBEGokAEKAgICA4AAgA2etIAAbC04AIwBBEGsiAiQAQoCAgIDgACEBAkAgACACQQxqIAMpAwAQdw0AIAAgAkEIaiADKQMIEHcNACACKAIIIAIoAgxsrSEBCyACQRBqJAAgAQsGACAAtrsLfwAgACAAKQPQASIBQgyIIAGFIgFCGYYgAYUiAUIbiCABhSIBNwPQAUKAgICAwH4gAUKdurP7lJL9oiV+QgyIQoCAgICAgID4P4S/RAAAAAAAAPC/oL0iAUKAgICAwIGA/P8AfSABQv///////////wCDQoCAgICAgID4/wBWGwujBAMDfAV/A34jAEEQayIIJAAgCEIANwMIAkACQCACQQBMDQBCgICAgOAAIQEgACAIQQhqIAMpAwAQQg0BQQEhCSAIKwMIIQQgAkEBRwRAA0AgAiAJRg0CIAAgCCADIAlBA3RqKQMAEEINAyAJQQFqIQkgCCsDACEFIwBBIGsiByQAIAS9Qv///////////wCDIg0gBb1C////////////AIMiDCAMIA1WGyIOvyEEAkAgDkI0iKciCkH/D0YNACANIAwgDCANVBsiDL8hBQJAIA5QDQAgDEI0iKciC0H/D0YNACALIAprQcEATgRAIAUgBKAhBAwCCwJ8IAtB/gtPBEAgBEQAAAAAAAAwFKIhBCAFRAAAAAAAADAUoiEFRAAAAAAAALBrDAELRAAAAAAAAPA/IApBvARLDQAaIAREAAAAAAAAsGuiIQQgBUQAAAAAAACwa6IhBUQAAAAAAAAwFAshBiAHQRhqIAdBEGogBRCKBiAHQQhqIAcgBBCKBiAGIAcrAwAgBysDEKAgBysDCKAgBysDGKCfoiEEDAELIAUhBAsgB0EgaiQADAALAAsgBJkhBAsgBL0iAQJ/IASZRAAAAAAAAOBBYwRAIASqDAELQYCAgIB4CyIAt71RBEAgAK0hAQwBC0KAgICAwH4gAUKAgICAwIGA/P8AfSABQv///////////wCDQoCAgICAgID4/wBWGyEBCyAIQRBqJAAgAQtOACAAIABEAAAAAAAA8L9EAAAAAAAA8D8gAEQAAAAAAAAAAGMbIAC9Qv///////////wCDQoCAgICAgID4/wBWGyAARAAAAAAAAAAAYRsLQwACfCABvUKAgICAgICA+P8Ag0KAgICAgICA+P8AUQRARAAAAAAAAPh/IACZRAAAAAAAAPA/YQ0BGgsgACABEI8DCwuDAQICfgF/IAC9IgFCNIinQf8PcSIDQf4HTQRAIAFCgICAgICAgICAf4MhAiADQf4HRyABQoCAgICAgIDwv39RckUEQCACQoCAgICAgID4P4S/DwsgAr8PCyADQbIITQR8IAFCP4cgAXxCAUGzCCADa62GIgFCAYh8QgAgAX2DvwUgAAsLggUDAnwFfwF+IwBBEGsiCSQAAn5CgICAgMD+//v/AEKAgICAwP7/eyAEGyACRQ0AGgJ8IAMpAwAiAUL/////D1gEQEEBIAIgAkEBTBshCiABpyEIQQEhBwNAIAcgCkcEQCAItyADIAdBA3RqKQMAIgFCgICAgBBaDQMaIAggAaciCyAIIAtKGyAIIAsgCCALSBsgBBshCCAHQQFqIQcMAQsLIAitDAILQoCAgIDgACAAIAlBCGogARBCDQEaQQEhByAJKwMICyEFIAcgAiACIAdIGyECA0AgAiAHRwRAQoCAgIDgACAAIAkgAyAHQQN0aikDABBCDQIaAkAgBb0iDEL///////////8Ag0KAgICAgICA+P8AVg0AIAkrAwAiBr0iAUL///////////8Ag0KAgICAgICA+P8AVgRAIAYhBQwBCyAFRAAAAAAAAAAAYSAGRAAAAAAAAAAAYXEhCiAEBEAgCgRAIAEgDIO/IQUMAgsgBSAFIAalIAa9Qv///////////wCDQoCAgICAgID4/wBWGyAGIAW9Qv///////////wCDQoCAgICAgID4/wBYGyEFDAELIAoEQCABIAyEvyEFDAELIAUgBSAGpCAGvUL///////////8Ag0KAgICAgICA+P8AVhsgBiAFvUL///////////8Ag0KAgICAgICA+P8AWBshBQsgB0EBaiEHDAELCyAFvSIBAn8gBZlEAAAAAAAA4EFjBEAgBaoMAQtBgICAgHgLIgC3vVEEQCAArQwBC0KAgICAwH4gAUKAgICAwIGA/P8AfSABQv///////////wCDQoCAgICAgID4/wBWGwshASAJQRBqJAAgAQstAEKAgICA4AAgACADKQMAIAMpAwhBABCLAiIAQQBHrUKAgICAEIQgAEEASBsLoAEBA34gAykDACIFIQQgAkEETgRAIAMpAxghBAsgBUL/////b1gEQCAAECRCgICAgOAADwsgAykDECEBQoCAgIDgACEGAkAgACADKQMIEDEiAkUNACABQiCIp0F1TwRAIAGnIgMgAygCAEEBajYCAAsgACAFIAIgASAEQQAQhgQhAyAAIAIQEyADQQBIDQAgA0EAR61CgICAgBCEIQYLIAYLjwEAAkACQCADKQMAIgFC/////29YBEAgBARAIAAQJAwDCyABQiCIp0F1SQ0BIAGnIgAgACgCAEEBajYCACABDwsgACABELYDIgJBAEgNASAEBEAgAkEAR61CgICAgBCEDwsgAkUEQCAAQfjiAEEAEBUMAgsgAaciACAAKAIAQQFqNgIACyABDwtCgICAgOAACyoAIAMpAwAiAUL/////b1gEQCAAECRCgICAgOAADwsgACABQQNBABCqAgtPAAJAAkAgAykDACIBQv////9vWARAIARFBEBCgICAgBAPCyAAECQMAQsgACABEJkBIgBBAE4NAQtCgICAgOAADwsgAEEAR61CgICAgBCEC2MBAX4gAykDACIEQv////9vWARAIAAQJEKAgICA4AAPC0KAgICA4AAhAQJAIAAgAykDCBAxIgJFDQAgACAEIAIQcSEDIAAgAhATIANBAEgNACADQQBHrUKAgICAEIQhAQsgAQs2ACADKQMAIgFCIIinIgJBf0YgBEUgAkF+cUECR3FyRQRAIAAQJEKAgICA4AAPCyAAIAEQ6AELYwECfgJAAkAgAykDACIBQv////9vWARAIAAQJAwBCyADKQMIIQUgASEEIAJBA04EQCADKQMQIQQLIAAgBRAxIgINAQtCgICAgOAADwsgACABIAIgBEEAEBQhASAAIAIQEyABC2YBAX4gAykDACIEQv////9vWARAIAAQJEKAgICA4AAPC0KAgICA4AAhAQJAIAAgAykDCBAxIgJFDQAgACAEIAJBABDVASEDIAAgAhATIANBAEgNACADQQBHrUKAgICAEIQhAQsgAQuLAQECfiADKQMAIgFC/////29YBEAgABAkQoCAgIDgAA8LIAMpAxAhBkKAgICA4AAhBQJAIAAgAykDCBAxIgJFDQAgACABIAIgBiAERUEOdBDHBCEDIAAgAhATIANBAEgNACAEBEAgA0EAR61CgICAgBCEDwsgAaciACAAKAIAQQFqNgIAIAEhBQsgBQuaAQIBfwJ+IwBBEGsiBCQAIAMpAwghBSADKQMAIgYhAQJAAkACQAJAIAJBA0gNACADKQMQIgFCgICAgHBaBEAgAactAAVBEHENAQsgAEGiPkEAEBUMAQsgACAEQQxqIAUQiQQiAg0BC0KAgICA4AAhAQwBCyAAIAYgASAEKAIMIgMgAhCQAyEBIAAgAiADEJsDCyAEQRBqJAAgAQsVACAAIAMpAwAgAyADQQhqQQIQnQMLVgIBfgF/IAAgARC0AyIBQoCAgIBwg0KAgICA4ABRBEAgAQ8LQoCAgIAwIQIgAaciAygCBEGAgICAeEcEQCAAIAAoAhAgAxDBAhAtIQILIAAgARAPIAILCQAgACABELQDC1sBAX4jAEEQayICJAAgAiAAIAEQtAMiATcDCAJAIAFCgICAgHCDQoCAgIDgAFEEQCABIQQMAQsgAEKAgICAMEEBIAJBCGoQlwYhBCAAIAEQDwsgAkEQaiQAIAQLfgEBfiADKQMAIgFCgICAgHCDQoCAgICAf1IEQCAAQfbSAEEAEBVCgICAgOAADwtCgICAgDAhBCABpyIAKQIEQoCAgICAgICAQINCgICAgICAgICAf1EEfiAAIAAoAgBBAWo2AgAgAUL/////D4NCgICAgJB/hAVCgICAgDALCzwBAX5CgICAgOAAIQEgACADKQMAECgiBEKAgICAcINCgICAgOAAUgR+IAAgBKdBAhCABAVCgICAgOAACwuBBAIBfgF/AkACQAJAAkACQCABQoCAgIBwWgRAIAGnIgIvAQZBL0YNAQsgBEEBNgIADAELIAIoAiAhAiAEQQE2AgAgAg0BCyAAQbY/QQAQFQwBCwJAAkACQAJAAkACQAJAAkAgAigCACIHQQFrDgQCAgcBAAsgBUUNAiAAKAIQIAIQtQMLQoCAgIAwIQEgBUEBaw4CAwQHCyADKQMAIgFCIIinQXVPBEAgAaciAyADKAIAQQFqNgIACwJAIAVBAkcNAEEBIQMgB0EBRw0AIAAgARCKAQwCCyACKAJEIgMgBa03AwAgA0EIayABNwMAIAIgA0EIajYCRAtBACEDCyACQQM2AgAgAiADNgIUIAAgAkEIahC0AiEBIAJBATYCACABQoCAgIBwg0KAgICA4ABRBEAgACgCECACELUDIAEPCyACKAJEQQhrIgMpAwAhBiADQoCAgIAwNwMAIAFC/////w9YBEAgAUICUQRAIAJBAjYCACAEQQI2AgAgBg8LIARBADYCACAGDwsgACABEA8gACgCECACELUDIAYPCyADKQMAIgFCIIinQXVJDQMgAaciACAAKAIAQQFqNgIAIAEPCyADKQMAIgFCIIinQXVPBEAgAaciAiACKAIAQQFqNgIACyAAIAEQigEMAQsgAEGUP0EAEBULQoCAgIDgACEBCyABC+8BAQN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AINCgICAgICAgPj/AFYbCyEBIAJB0ABqJAAgAQuFAQEBfCMAQRBrIgIkAAJ+QoCAgIDgACAAIAJBCGogARCbAg0AGkKAgICAwH4gAisDCCIEvUL///////////8Ag0KAgICAgICA+P8AVg0AGgJ+IASdIgSZRAAAAAAAAOBDYwRAIASwDAELQoCAgICAgICAgH8LELgDrQshASACQRBqJAAgAQuGAQEBfgJAIAFC/////29YBEAgABAkDAELAkAgAykDACIEQoCAgIBwg0KAgICAkH9SDQAgACAEEDEiAkUNASAAIAIQE0ERIQMCQAJAAkAgAkHGAGsOBgIDAQMDAgALIAJBFkcNAgtBECEDCyAAIAEgAxCQAg8LIABBtitBABAVC0KAgICA4AALlgEBAXwjAEEQayICJAACfkKAgICA4AAgACACQQhqIAEQmwINABogAisDCCIEvSIBAn8gBJlEAAAAAAAA4EFjBEAgBKoMAQtBgICAgHgLIgC3vVEEQCAArQwBC0KAgICAwH4gAUKAgICAwIGA/P8AfSABQv///////////wCDQoCAgICAgID4/wBWGwshASACQRBqJAAgAQvsAgIDfwF8IwBB0ABrIgQkACAEQRBqQQBBOBArGiAEQoCAgICAgID4PzcDIEKAgICAwH4hAQJAIAJFDQBBByACIAJBB04bIgJBACACQQBKGyECA0AgAiAFRwRAIAAgBEEIaiADIAVBA3QiBmopAwAQQgRAQoCAgIDgACEBDAMLIAQrAwgiB71CgICAgICAgPj/AINCgICAgICAgPj/AFENAiAEQRBqIAZqIAedOQMAAkAgBQ0AIAQrAxAiB0QAAAAAAAAAAGZFIAdEAAAAAAAAWUBjRXINACAEIAdEAAAAAACwnUCgOQMQCyAFQQFqIQUMAQsLIARBEGpBABDgAiIHvSIBAn8gB5lEAAAAAAAA4EFjBEAgB6oMAQtBgICAgHgLIgW3vVEEQCAFrSEBDAELQoCAgIDAfiABQoCAgIDAgYD8/wB9IAFC////////////AINCgICAgICAgPj/AFYbIQELIARB0ABqJAAgAQtWABDQBCIBQoCAgIAIfEL/////D1gEQCABQv////8Pgw8LQoCAgIDA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BLxBlIgFCgICAgHCDQoCAgIDgAFENACABQoCAgIBwWgRAIAGnIAU2AiALIAEPCyAAKAIQIAUQ7AMgACgCECIAQRBqIAUgACgCBBEAAAtCgICAgOAAC4gHAgl/AXwjAEFAaiIGJAACQCAAKAIQIgooAnggBiABpyIILQAoIgtBA3QiDGtLBEAgABDpAUKAgICA4AAhAQwBCyAILQApIQ0gBiAKKAKMASIANgIQIAogBkEQajYCjAEgAAR/IAAoAihBBHEFQQALIQAgCCgCICEHIAYgATcDGCAGIAA2AjggBiADNgI0AkAgAyALTgRAIAQhAAwBCyADQQAgA0EAShshDiAGIAxBD2pB8B9xayIAJAADQCAJIA5GBEAgAyEEA0AgBCALRkUEQCAAIARBA3RqQoCAgIAwNwMAIARBAWohBAwBCwsgBiALNgI0BSAAIAlBA3QiDGogBCAMaikDADcDACAJQQFqIQkMAQsLCyAGIAA2AiAgCCgCJCEEAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAIA0ODQsCAAEAAQcIAwQFBgkKCyAFQQFxDQpCgICAgDAhAiANQQJHDQoMCwsgBUEBcQ0AQoCAgIAwIQIgDUEDRg0KCyAHIAIgAyAAIAguASogBBEFACEBDAsLIAcgAiAEEQgAIQEMCgsgByACIAApAwAgBBEYACEBDAkLIAcgAiAILgEqIAQREAAhAQwICyAHIAIgACkDACAILgEqIAQRNAAhAQwHCyAHIAZBCGogACkDABBCDQUgBisDCCAEEQsAIg+9IgECfyAPmUQAAAAAAADgQWMEQCAPqgwBC0GAgICAeAsiALe9UQRAIACtIQEMBwtCgICAgMB+IAFCgICAgMCBgPz/AH0gAUL///////////8Ag0KAgICAgICA+P8AVhshAQwGC0KAgICA4AAhASAHIAZBCGogACkDABBCDQUgByAGIAApAwgQQg0FIAYrAwggBisDACAEESMAIg+9IgECfyAPmUQAAAAAAADgQWMEQCAPqgwBC0GAgICAeAsiALe9UQRAIACtIQEMBgtCgICAgMB+IAFCgICAgMCBgPz/AH0gAUL///////////8Ag0KAgICAgICA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MQIAAgBkECIAJBEGoQpwEiBUKAgICAcINCgICAgOAAUQ0AIAAgAkEIaiAAIAFB1QAgAUEAEBQQowENACAAIAVB1QACfiACKQMIIgFCgICAgAh8Qv////8PWARAIAFC/////w+DDAELQoCAgIDAfiABub0iAUKAgICAwIGA/P8AfSABQv///////////wCDQoCAgICAgID4/wBWGwsQRUEASA0AQoCAgIDgACEIIABBLhB2IgFCgICAgHCDQoCAgIDgAFENACAAQSAQKSIDRQRAIAEhCAwBCyADIAk3AwggAyAFNwMAIAMgBKciCkHnAEEAEMcBQX9zQR92NgIQIApB9QBBABDHASEKIANBADYCGCADIApBf3NBH3Y2AhQgAUKAgICAcFoEQCABpyADNgIgCyAAIAYQDyAAIAQQDyABIQcMAQsgACAJEA8gACAGEA8gACAEEA8gACAFEA8gACAIEA8LIAJBIGokACAHC74EAgd+An8jAEEQayICJAACQCABQv////9vWARAIAAQJEKAgICA4AAhBgwBC0KAgICA4AAhBkKAgICAMCEFAkAgAAJ+AkAgACADKQMAECgiB0KAgICAcINCgICAgOAAUQ0AIAAgACABQe4AIAFBABAUECYiA0EASA0AIANFBEAgACABIAcQyAEhBgwDCyAAIAAgAUHvACABQQAQFBAmIgtBAEgNACAAIAFB1QBCABBFQQBIDQBCgICAgOAAIAAQPiIIQoCAgIBwg0KAgICA4ABRDQEaIAenIQwCQANAIAAgBRAPIAAgASAHEMgBIgVCgICAgHCDIgRCgICAgCBRDQECQCAEQoCAgIDgAFENAAJ/IAAgACAFQgAQTRA3IgRCgICAgHCDIgpCgICAgJB/UgRAQQAgCkKAgICA4ABSDQEaDAILIASnKAIEQf////8HcUULIQMgACAIIAkgBBCGAUEASA0AIAlCAXwhCSADRQ0BIAAgAkEIaiAAIAFB1QAgAUEAEBQQowFBAEgNACAAIAFB1QACfiAMIAIpAwggCxDxAiIEQoCAgIAIfEL/////D1gEQCAEQv////8PgwwBC0KAgICAwH4gBLm9IgRCgICAgMCBgPz/AH0gBEL///////////8Ag0KAgICAgICA+P8AV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IgAaciACAAKAIAQQFqNgIADAILIAAgBBAPIAAgBRAPC0KAgICA4AAPCyABC2oBAX8gAUL/////b1gEQCAAECRCgICAgOAADwsCfiABpyIDLwEGQRJHBEBCgICAgDAgACABIAAoAigpA5ABEFINARogAEESEIYDQoCAgIDgAA8LIAMoAiQtABAgAnFBAEetQoCAgIAQhAsLvQQBCX8jAEEgayIHJAACQAJAAkACQAJAIAFC/////29YBEAgABAkDAELIAAgASAAKAIoKQOQARBSDQIgACABEPACIgINAQtCgICAgOAAIQEMAwsgAigCACIIKAIEIgJB/////wdxIgMNAQsgAEH+kwEQYiEBDAELIAAgB0EIaiADIAJBH3YQigMaIAhBEGohBiAIKAIEQf////8HcSEJQQAhAANAAkACQCAAIAlIBEAgAEEBaiECQX8hBQJAAn8CQAJAAkACQAJAAkACQAJ/IAgpAgRCgICAgAiDIgFQIgpFBEAgBiAAQQF0ai8BAAwBCyAAIAZqLQAACyIDQdsAaw4DAwECAAsgAiEAAkAgA0EKaw4EBAsLBQALIANBL0cNByAERQ0FQQEhBEEvIQMMBwtB3AAhAyACIAlODQYgAEECaiEAIApFBEAgBiACQQF0ai8BACEFDAoLIAIgBmotAAAhBQwJC0EAIQRB3QAhAwwFC0HbACEDIAQgAiAJTnINBiAAQQJqIQAgAVAEQEHdAEF/IAIgBmotAABB3QBGIgQbIQUgACACIAQbIQBBASEEDAgLQQEhBEHdAEF/IAYgAkEBdGovAQBB3QBGIgobIQUgACACIAobIQAMBwtB7gAMAgtB8gAMAQtBACEEQS8LIQVB3AAhAwsgAiEADAILIAdBCGoQNiEBDAMLIAIhAEEBIQQLIAdBCGogAxCLARogBUEASA0AIAdBCGogBRCLARoMAAsACyAHQSBqJAAgAQvWAgIDfwF+IwBBEGsiBCQAAkAgAUL/////b1gEQCAAECRCgICAgOAAIQUMAQtCgICAgOAAIQUgACAAIAFB7gAgAUEAEBQQJiICQQBIDQAgAgR/IARB5wA6AAggBEEJagUgBEEIagshAiAAIAAgAUHr4wAQsgEQJiIDQQBIDQAgAwRAIAJB6QA6AAAgAkEBaiECCyAAIAAgAUGL5QAQsgEQJiIDQQBIDQAgAwRAIAJB7QA6AAAgAkEBaiECCyAAIAAgAUH01AAQsgEQJiIDQQBIDQAgAwRAIAJB8wA6AAAgAkEBaiECCyAAIAAgAUHvACABQQAQFBAmIgNBAEgNACADBEAgAkH1ADoAACACQQFqIQILIAAgACABQfsdELIBECYiA0EASA0AIAAgBEEIaiIAIAMEfyACQfkAOgAAIAJBAWoFIAILIABrEJMCIQULIARBEGokACAFC6UDAQR+IwBBEGsiAyQAIAQCfwJAAkACQAJAIAAgAUEuEEsiAkUEQEKAgICAMCEBDAELIAIoAhgEQEKAgICAMCEBQQEMBQsgACACKQMAIgggAikDCCIGEMgBIgFCgICAgHCDIgdCgICAgOAAUg0BC0KAgICAMCEHDAELIAdCgICAgCBRBEAgAkEBNgIYQoCAgIAwIQFBAQwDCyACKAIQBEAgACAAIAFCABBNEDciB0KAgICAcIMiCUKAgICA4ABRDQECQCAJQoCAgICQf1INACAHpygCBEH/////B3ENACAAIANBCGogACAIQdUAIAhBABAUEKMBQQBIDQIgACAIQdUAAn4gBqcgAykDCCACKAIUEPECIgZCgICAgAh8Qv////8PWARAIAZC/////w+DDAELQoCAgIDAfiAGub0iBkKAgICAwIGA/P8AfSAGQv///////////wCDQoCAgICAgID4/wBWGwsQRUEASA0CCyAAIAcQDwwCCyACQQE2AhgMAQsgACABEA8gACAHEA9CgICAgOAAIQELQQALNgIAIANBEGokACABCw4AIAAQtQJCgICAgOAACwkAQoCAgIDAfgsWACAAIAMpAwAgAykDCCADKQMQEJQEC9EBAgN+An8jAEEQayIHJAACQCAAIAdBDGogAykDABDlASIIRQRAQoCAgIDgACEEDAELIAAgCCAHKAIMQdKIARD1BSEBIAAgCBBUAkAgAkECSCABQoCAgIBwg0KAgICA4ABRcg0AIAAgAykDCCIGEDhFDQBCgICAgOAAIQQCQCAAEDQiBUKAgICAcINCgICAgOAAUQRAIAEhBQwBCyA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DCCEGCyAAIAcQYA0AIAlBBGohCiAJKAIIIQMDQCADIApGBEBCgICAgDAhBQwCCyADQQxrKAIABEAgAygCBCEDBSADQRBrIgIgAigCAEEBajYCACADKQMQIgVCIIinQXVPBEAgBaciCSAJKAIAQQFqNgIACyAIIAU3AwgCQCAEDQAgAykDGCIFQiCIp0F1SQ0AIAWnIgkgCSgCAEEBajYCAAsgCCABNwMQIAggBTcDACAAIAcgBkEDIAgQISEFIAAgCCkDABAPIARFBEAgACAIKQMIEA8LIAMoAgQhAyAAKAIQIAIQ6gMgBUKAgICAcINCgICAgOAAUQ0CIAAgBRAPCwwACwALIAhBIGokACAFC2AAIAAgASACQSZqEEsiAEUEQEKAgICA4AAPCyAAKAIMIgBBAE4EQCAArQ8LQoCAgIDAfiAAuL0iAUKAgICAwIGA/P8AfSABQv///////////wCDQoCAgICAgID4/wBWGwtZAQF/IAAgASAEQSZqEEsiAkUEQEKAgICA4AAPCyACQQRqIQMgAigCCCEEA34gAyAERgR+QoCAgIAwBSAEQRBrIQUgBCgCBCEEIAAoAhAgAiAFEPwEDAELCwsVACAAIAMQDyAAIAQQDyAAELUCQX8LhgEAIAAgASAEQSZqEEsiAkUEQEKAgICA4AAPCyAAIAIgAykDACIBQgAgAUIgiKdBB2tBbk8bIAEgAUKAgICAwIGA/P8AfEL///////////8Ag1AbEPUCIgBFBEBCgICAgDAPCyAAKQMoIgFCIIinQXVPBEAgAaciACAAKAIAQQFqNgIACyABC3UAIAAgASAEQSZqEEsiAkUEQEKAgICA4AAPCyAAIAIgAykDACIBQgAgAUIgiKdBB2tBbk8bIAEgAUKAgICAwIGA/P8AfEL///////////8Ag1AbEPUCIgNFBEBCgICAgBAPCyAAKAIQIAIgAxD8BEKBgICAEAthACAAIAEgBEEmahBLIgJFBEBCgICAgOAADwsgACACIAMpAwAiAUIAIAFCIIinQQdrQW5PGyABIAFCgICAgMCBgPz/AHxC////////////AINQGxD1AkEAR61CgICAgBCEC7sFAgN+B38jAEEQayILJABCg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BQsOACAAELUCQoCAgIDgAAtdACAAIAEgAhBLIgBFBEBCgICAgOAADwsgACgCACIAQQBOBEAgAK0PC0KAgICAwH4gALi9IgFCgICAgMCBgPz/AH0gAUL///////////8Ag0KAgICAgICA+P8AVhsLOQEBfkKAgICAwH4gASkDACICQoCAgIDAgYD8/wB9IAJC////////////AINCgICAgICAgPj/AFYbCzsBAX5CgICAgMB+IAEqAgC7vSICQoCAgIDAgYD8/wB9IAJC////////////AINCgICAgICAgPj/AFYbCwwAIAAgASkDABD7AwsMACAAIAEpAwAQhwILSQEBfiABKAIAIgBBAE4EQCAArQ8LQoCAgIDAfiAAuL0iAkKAgICAwIGA/P8AfSACQv///////////wCDQoCAgICAgID4/wBWGwsHACABNQIACwcAIAEzAQALDgAgATIBAEL/////D4MLCQAgABC1AkF/Cw4AIAEwAABC/////w+DCwcAIAExAAALDwAgACsDACABKwMAEP0ECxEAIAAqAgC7IAEqAgC7EP0ECxkBAn4gASkDACIDIAApAwAiBFQgAyAEVmsLGQECfiABKQMAIgMgACkDACIEUyADIARVawsXACABKAIAIgEgACgCACIASSAAIAFJawsXACABKAIAIgEgACgCACIASCAAIAFIawsNACAALwEAIAEvAQBrCw0AIAAuAQAgAS4BAGsLDQAgACwAACABLAAAawsNACAALQAAIAEtAABrC8wNBAd/AXwBfgF9IwBBIGsiBiQAQoCAgIDgACENAkAgACABEJIBIgpBAEgNAEF/IQUCQAJAAkAgCkUNAEEBIQgCQAJAIARBAUYEQEF/IQggBiAKQQFrIgU2AhwgAkECSA0BIAAgBkEIaiADKQMIEEINBiAGKwMIIgy9Qv///////////wCDQoGAgICAgID4/wBaBEAgBkEANgIcDAILIAxEAAAAAAAAAABmBEAgDCAFt2NFDQIgBgJ/IAyZRAAAAAAAAOBBYwRAIAyqDAELQYCAgIB4CzYCHAwCC0F/IQUgDCAKt6AiDEQAAAAAAAAAAGMNBCAGAn8gDJlEAAAAAAAA4EFjBEAgDKoMAQtBgICAgHgLNgIcDAELIAZBADYCHC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gPgPgyABQhiIQoCA/AeDhCABQiiIQoD+A4MgAUI4iISEhCABIAYbIgFCgICAgMCBgPz/AH0gAUL///////////8Ag0KAgICAgICA+P8AVhshBQwCCxABAAsgAjAAAEL/////D4MhBQsgB0EQaiQAIAULUgIBfwF+QoCAgIDgACEEIAAgASACEJMBIgMEfiADKAIgIgMoAgwoAiAtAAQEQCACRQRAQgAPCyAAEGtCgICAgOAADwsgAzUCFAVCgICAgOAACwvXAQEDfwJAIAFCgICAgHBUDQAgAaciAy8BBkE5Rw0AIAMoAiAiBEUNACAEQcwAaiEDIARByABqIQUDQCAFIAMoAgAiA0cEQCADKQMQIgFCgICAgGBaBEAgACABpyACEQAACyADKQMYIgFCgICAgGBaBEAgACABpyACEQAACyADKQMgIgFCgICAgGBaBEAgACABpyACEQAACyADKQMoIgFCgICAgGBaBEAgACABpyACEQAACyADQQRqIQMMAQsLIAQoAgRBfnFBBEYNACAAIARBCGogAhDvAwsLBgBB4MYECzABAX8CQCABQoCAgIBwVA0AIAGnIgIvAQZBOUcNACACKAIgIgJFDQAgACACEIcFCwsNACAAIAEgAkE3EP0FCwsAIAAgAUE3EP4FCxYBAX8gAacoAiAiAgRAIAAgAhCIBQsLMQEBfyABpygCICICBEAgACACKAIIEKMFIAAgAikDABAjIABBEGogAiAAKAIEEQAACwvcAQEEfwJAIAFCgICAgHBUDQAgAaciBC8BBkExRw0AIAQoAiAiBkUNAEEAIQQDQCAEQQJGRQRAIAYgBEEDdGoiBUEIaiEDIAVBBGohBQNAIAUgAygCACIDRwRAIAMpAwgiAUKAgICAYFoEQCAAIAGnIAIRAAALIAMpAxAiAUKAgICAYFoEQCAAIAGnIAIRAAALIAMpAxgiAUKAgICAYFoEQCAAIAGnIAIRAAALIANBBGohAwwBCwsgBEEBaiEEDAELCyAGKQMYIgFCgICAgGBUDQAgACABpyACEQAACwuMAQEFfwJAIAFCgICAgHBUDQAgAaciAi8BBkExRw0AIAIoAiAiBEUNAANAIANBAkZFBEAgBCADQQN0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ICAfzcCBCACIAM2AgAgAkIBEDAaIAIgAikDKCIBpyIHQf////8DQQEQzAEaIAIgAkJ/Qf////8DQQEQdRogBadBBGoiAyAGIAIQkwUaAkAgBEUgAVByDQAgAkIBEDAaIAIgB0EBa0H/////A0EBEMwBGiADIAIQ0wFBAEgNACACQgEQMBogAiAHQf////8DQQEQzAEaIAMgAyACQf////8DQQEQ5AEaCyACEBsgACAGIAJBFGoQXiAAIAUQzQEhAQsgAkEwaiQAIAEL6hMCAn4BfyMAQdABayIEJAAgACAEEJgFIAEgARA0IgNBqi0CfiAEKQMIIgJCgICAgAh8Qv////8PWARAIAJC/////w+DDAELQoCAgIDAfiACub0iAkKAgICAwIGA/P8AfSACQv///////////wCDQoCAgICAgID4/wBWGwsQQCABIANB3+AAAn4gBCkDECICQoCAgIAIfEL/////D1gEQCACQv////8PgwwBC0KAgICAwH4gArm9IgJCgICAgMCBgPz/AH0gAkL///////////8Ag0KAgICAgICA+P8AVhsLEEAgASADQboqAn4gBCkDGCICQoCAgIAIfEL/////D1gEQCACQv////8PgwwBC0KAgICAwH4gArm9IgJCgICAgMCBgPz/AH0gAkL///////////8Ag0KAgICAgICA+P8AVhsLEEAgASADQagqAn4gBCkDICICQoCAgIAIfEL/////D1gEQCACQv////8PgwwBC0KAgICAwH4gArm9IgJCgICAgMCBgPz/AH0gAkL///////////8Ag0KAgICAgICA+P8AVhsLEEAgASADQfooAn4gBCkDKCICQoCAgIAIfEL/////D1gEQCACQv////8PgwwBC0KAgICAwH4gArm9IgJCgICAgMCBgPz/AH0gAkL///////////8Ag0KAgICAgICA+P8AVhsLEEAgASADQfrfAAJ+IAQpAzAiAkKAgICACHxC/////w9YBEAgAkL/////D4MMAQtCgICAgMB+IAK5vSICQoCAgIDAgYD8/wB9IAJC////////////AINCgICAgICAgPj/AFYbCxBAIAEgA0HYKAJ+IAQpAzgiAkKAgICACHxC/////w9YBEAgAkL/////D4MMAQtCgICAgMB+IAK5vSICQoCAgIDAgYD8/wB9IAJC////////////AINCgICAgICAgPj/AFYbCxBAIAEgA0G23wACfiAEKQNAIgJCgICAgAh8Qv////8PWARAIAJC/////w+DDAELQoCAgIDAfiACub0iAkKAgICAwIGA/P8AfSACQv///////////wCDQoCAgICAgID4/wBWGwsQQCABIANBzSkCfiAEKQNIIgJCgICAgAh8Qv////8PWARAIAJC/////w+DDAELQoCAgIDAfiACub0iAkKAgICAwIGA/P8AfSACQv///////////wCDQoCAgICAgID4/wBWGwsQQCABIANBl+AAAn4gBCkDUCICQoCAgIAIfEL/////D1gEQCACQv////8PgwwBC0KAgICAwH4gArm9IgJCgICAgMCBgPz/AH0gAkL///////////8Ag0KAgICAgICA+P8AVhsLEEAgASADQeIoAn4gBCkDWCICQoCAgIAIfEL/////D1gEQCACQv////8PgwwBC0KAgICAwH4gArm9IgJCgICAgMCBgPz/AH0gAkL///////////8Ag0KAgICAgICA+P8AVhsLEEAgASADQc/fAAJ+IAQpA2AiAkKAgICACHxC/////w9YBEAgAkL/////D4MMAQtCgICAgMB+IAK5vSICQoCAgIDAgYD8/wB9IAJC////////////AINCgICAgICAgPj/AFYbCxBAIAEgA0GGKgJ+IAQpA2giAkKAgICACHxC/////w9YBEAgAkL/////D4MMAQtCgICAgMB+IAK5vSICQoCAgIDAgYD8/wB9IAJC////////////AINCgICAgICAgPj/AFYbCxBAIAEgA0Gt4AACfiAEKQNwIgJCgICAgAh8Qv////8PWARAIAJC/////w+DDAELQoCAgIDAfiACub0iAkKAgICAwIGA/P8AfSACQv///////////wCDQoCAgICAgID4/wBWGwsQQCABIANBxyoCfiAEKQN4IgJCgICAgAh8Qv////8PWARAIAJC/////w+DDAELQoCAgIDAfiACub0iAkKAgICAwIGA/P8AfSACQv///////////wCDQoCAgICAgID4/wBWGwsQQCABIANB8OAAAn4gBCkDgAEiAkKAgICACHxC/////w9YBEAgAkL/////D4MMAQtCgICAgMB+IAK5vSICQoCAgIDAgYD8/wB9IAJC////////////AINCgICAgICAgPj/AFYbCxBAIAEgA0HN4AACfiAEKQOIASICQoCAgIAIfEL/////D1gEQCACQv////8PgwwBC0KAgICAwH4gArm9IgJCgICAgMCBgPz/AH0gAkL///////////8Ag0KAgICAgICA+P8AVhsLEEAgASADQZIqAn4gBCkDkAEiAkKAgICACHxC/////w9YBEAgAkL/////D4MMAQtCgICAgMB+IAK5vSICQoCAgIDAgYD8/wB9IAJC////////////AINCgICAgICAgPj/AFYbCxBAIAEgA0G44AACfiAEKQOYASICQoCAgIAIfEL/////D1gEQCACQv////8PgwwBC0KAgICAwH4gArm9IgJCgICAgMCBgPz/AH0gAkL///////////8Ag0KAgICAgICA+P8AVhsLEEAgASADQdUqAn4gBCkDoAEiAkKAgICACHxC/////w9YBEAgAkL/////D4MMAQtCgICAgMB+IAK5vSICQoCAgIDAgYD8/wB9IAJC////////////AINCgICAgICAgPj/AFYbCxBAIAEgA0HvJwJ+IAQpA6gBIgJCgICAgAh8Qv////8PWARAIAJC/////w+DDAELQoCAgIDAfiACub0iAkKAgICAwIGA/P8AfSACQv///////////wCDQoCAgICAgID4/wBWGwsQQCABIANB6icCfiAEKQOwASICQoCAgIAIfEL/////D1gEQCACQv////8PgwwBC0KAgICAwH4gArm9IgJCgICAgMCBgPz/AH0gAkL///////////8Ag0KAgICAgICA+P8AVhsLEEAgASADQeszAn4gBCkDuAEiAkKAgICACHxC/////w9YBEAgAkL/////D4MMAQtCgICAgMB+IAK5vSICQoCAgIDAgYD8/wB9IAJC////////////AINCgICAgICAgPj/AFYbCxBAIAEgA0H7JwJ+IAQpA8ABIgJCgICAgAh8Qv////8PWARAIAJC/////w+DDAELQoCAgIDAfiACub0iAkKAgICAwIGA/P8AfSACQv///////////wCDQoCAgICAgID4/wBWGwsQQCABIANBo98AAn4gBCkDyAEiAkKAgICACHxC/////w9YBEAgAkL/////D4MMAQtCgICAgMB+IAK5vSICQoCAgIDAgYD8/wB9IAJC////////////AINCgICAgICAgPj/AFYbCxBAIAMQUyEAIARB0AFqJAAgAAufAgEDfiABQv////9vWARAIAA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ACIAQQDyAAC2sBAX4CQAJAAkACQAJAIAMtAAUiAQ4EAwICAAELIAAgAygCCBDKBA8LIAFBCEYNAgsQAQALIAAgAygCDCADKAIAIAMtAAggAy0ACSADLgEGEIIBDwsgACAAEDQiBCADKAIIIAMoAgwQIiAECwkAIAAgAxCNAwtTAQF+IAAQNCIEQoCAgIBwg0KAgICA4ABSBEAgASABKAIAQQFqNgIAIAAgBEE8IAGtQoCAgIBwhEEDEBlBAE4EQCAEDwsgACAEEA8LQoCAgIDgAAsDAAELagEBfyMAQRBrIgMkACABKAIEIQEgAiADQQxqIAAoAgQQrAFBACACIANBCGogARCsARtFBEBB0MUAQa78AEGDOkH8yQAQAAALIAMoAgghACADKAIMIQEgA0EQaiQAQX8gACABRyAAIAFLGwvaAwICfgF/IwBBIGsiBSQAAkACQCAAIAFBLBBLIgJFDQBCgICAgDAhAQJAIAIpAwAiBkKAgICAcINCgICAgDBSBEACfwJAIAanIgMvAQZBFWtB//8DcUEKTQRAIAMoAiAoAgwoAiAtAARFDQEgABBrDAULIAAgBUEcaiAGENYBDQQgBUEcagwBCyADQShqCyEIIAIoAgwiAyAIKAIASQ0BIAAgAikDABAPIAJCgICAgDA3AwALIARBATYCAAwCCyACIANBAWo2AgwgBEEANgIAIAIoAghFBEAgA0EATgRAIAOtIQEMAwtCgICAgMB+IAO4vSIBQoCAgIDAgYD8/wB9IAFC////////////AINCgICAgICAgPj/AFYbIQEMAgtCgICAgOAAIQEgACACKQMAIAMQsAEiBkKAgICAcINCgICAgOAAUQ0BIAIoAghBAUYEQCAGIQEMAgsgBSAGNwMIIAUgA0EATgR+IAOtBUKAgICAwH4gA7i9IgFCgICAgMCBgPz/AH0gAUL///////////8Ag0KAgICAgICA+P8AVhsLIgc3AwAgAEECIAUQiQMhASAAIAYQDyAAIAcQDwwBCyAEQQA2AgBCgICAgOAAIQELIAVBIGokACABCxAAIwAgAGtBcHEiACQAIAALBgAgACQACwQAIwAL7gICBH8CfiMAQRBrIgMkAAJAAk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QFqNgIACyAAIAEpAwAgAiAEELEFIAAgAhATCywBAX4gACACKQMAEDEhAiAAIAEpAwAiAyACIANBABAUIQMgACACEBMgAxBTC/QBAgV/AX4gAEGgAWohBwJAA0ACQCABIAZGDQAgACgCpAEiAyAHRg0AIAMoAgAiBSADKAIEIgQ2AgQgBCAFNgIAIANCADcCAEEAIQQgAygCCCIFIAMoAhAgA0EYaiADKAIMERkAIQgDQCAEIAMoAhBORQRAIAUgAyAEQQN0aikDGBAPIARBAWohBAwBCwsgBSAIEA8gBSgCECIEQRBqIAMgBCgCBBEAACACIAU2AgAgCEKAgICAcINCgICAgOAAUQRAIAUoAhAiACkDgAEhCCAAQoCAgIAgNwOAAQwDBSAGQQFqIQYMAgsACwsgBq0hCAsgCBBTCw8AIAAoAqQBIABBoAFqRwshAQF+IAAgACABEPYFIgIQDyACQoCAgIBwg0KAgICAMFILPwEBfiAAIAEQ9gUiAkKAgICAcINCgICAgDBRBEAgACABKQMAQa3LABCyASECCyAAIAIQswEhASAAIAIQDyABC7UBAgJ/A34jAEEQayIDJAAgACkDwAEiBUIgiKdBdU8EQCAFpyIEIAQoAgBBAWo2AgALIAAgBUGD0wAQsgEhBiAAIAUQDyADIAAgARBiNwMIAkAgAgRAIAAgACAGQdnAABCyASIFIAZBASADQQhqECEhByAAIAMpAwgQDwwBCyAAIAZCgICAgDBBASADQQhqECEhByADKQMIIQULIAAgBRAPIAAgBhAPIAcQUyEAIANBEGokACAACwoAIAAgARBiEFMLPgIBfwF8IwBBEGsiAiQAIAJCgICAgICAgPz/ADcDCCAAIAJBCGogASkDABBCGiACKwMIIQMgAkEQaiQAIAMLaQEBfgJ+IAG9IgICfyABmUQAAAAAAADgQWMEQCABqgwBC0GAgICAeAsiALe9UQRAIACtDAELQoCAgIDAfiACQoCAgIDAgYD8/wB9IAJC////////////AINCgICAgICAgPj/AFYbCxBTCwgAIAAQPhBTCw0AIAAgASkDABBHEFMLCAAgABA0EFMLKQEBfiABKQMAIgJCIIinQXVP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ACAAIABEAAAAAAAA4D+ioiIDob1CgICAgHCDvyIERAAAIBV7y9s/oiICoCIGIAIgASAGoaAgACAARAAAAAAAAABAoKMiASADIAEgAaIiAiACoiIBIAEgAUSfxnjQCZrDP6JEr3iOHcVxzD+gokQE+peZmZnZP6CiIAIgASABIAFERFI+3xLxwj+iRN4Dy5ZkRsc/oKJEWZMilCRJ0j+gokSTVVVVVVXlP6CioKCiIAAgBKEgA6GgIgBEAAAgFXvL2z+iIAVENivxEfP+WT2iIAAgBKBE1a2ayjiUuz2ioKCgoCEACyAACwQAQgALmQECAnwBf0QAAAAAAADgPyAApiECIACZIQECQCAAvUKAgICA8P////8Ag0IgiKciA0HB3JiEBE0EQCABEJcCIQEgA0H//7//A00EQCADQYCAwPIDSQ0CIAIgASABoCABIAGiIAFEAAAAAAAA8D+go6GiDwsgAiABIAEgAUQAAAAAAADwP6CjoKIPCyABIAIgAqAQjQYhAAsgAAvLAQECfyMAQRBrIgEkAAJAIAC9QiCIp0H/////B3EiAkH7w6T/A00EQCACQYCAwPIDSQ0BIABEAAAAAAAAAABBABDPAiEADAELIAJBgIDA/wdPBEAgACAAoSEADAELAkACQAJAAkAgACABEJwEQQNxDgMAAQIDCyABKwMAIAErAwhBARDPAiEADAMLIAErAwAgASsDCBDQAiEADAILIAErAwAgASsDCEEBEM8CmiEADAELIAErAwAgASsDCBDQApohAAsgAUEQaiQAIAALoQEBBH8gAiAAKAJUIgMoAgQiBCADKAIAIgVrIgZBACAEIAZPGyIESwRAIAAgACgCAEEQcjYCACAEIQILIAEgAygCDCAFaiACEB8aIAMgAygCACACaiIFNgIAIAAgACgCLCIBNgIEIAAgASAEIAJrIgQgACgCMCIAIAAgBEsbIgBqNgIIIAEgAygCDCAFaiAAEB8aIAMgAygCACAAajYCACACC4sBAQF/IwBBEGsiAyQAAn4CQCACQQNPDQAgACgCVCEAIANBADYCBCADIAAoAgA2AgggAyAAKAIENgIMQQAgA0EEaiACQQJ0aigCACICa6wgAVUNACAAKAII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BCGoiAkHgDxCiBCEBIAMoAgQEQCAEQgA3AhggBEKAgICAgICAgIB/NwIQIAQgBTYCDCAEQQxqIgNCARAwGiAAIAMgACACQeAPEJUBIAFyIQEgAxAbCyAEQSBqJAAgAQuQBgIIfwF+IwBB8ABrIgMkACAAIAFHBEAgACgCACEEIANCADcCaCADQoCAgICAgICAgH83AmAgAyAENgJcIANB3ABqIgUgARBEGiADQgA3AlQgA0KAgICAgICAgIB/NwJMIAMgBDYCSCADKAJkIQYgA0EANgJkIANByABqIgFCqtWq1QoQMBogA0EANgJQIAUgARCyAgRAIAMgAygCZEEBajYCZCAGQQFrIQYLIANByABqEBsgAkEBakEBdhCVBiEFIANCADcCVCADQoCAgICAgICAgH83AkwgAyAENgJIIANCADcCQCADQoCAgICAgICAgH83AjggAyAENgI0IANB3ABqIgEgAUJ/Qf////8DQQAQdRogBUEAIAVBAEobIQkgAiAFaiACIAVBAXRuQQFqIgpBAXRqQSBqIQJBACEBA0AgASAJRkUEQCADQcgAaiIHIANB3ABqIghCASACQQAQdRogA0E0aiILIAcgAkEGEJEGIAcgC0IBIAJBABB1GiAIIAggByACQQAQlQEaIAFBAWohAQwBCwsgA0IANwIsIANCgICAgICAgICAfzcCJCADIAQ2AiAgA0IANwIYIANCgICAgICAgICAfzcCECADIAQ2AgwgA0EgaiIBIANB3ABqIgRCAiACQQAQdRogASAEIAEgAkEAEJUBGiADQQxqIAEgASACQQAQQxogAEIAEDAaIAqsIQwDQCAMQgBXRQRAIANByABqIgFCARAwGiADQTRqIgQgDKdBAXRBAXKsEDAaIAEgASAEIAJBABCVARogACAAIAEgAkEAEMsBGiAAIAAgA0EMaiACQQAQQxogDEIBfSEMDAELCyAAIABCASACQQAQdRogACAAIANBIGoiASACQQAQQxogARAbIANBDGoQGyADQTRqEBsgA0HIAGoQGyAAIAVBAWpB/////wNBARDMARogA0HcAGoiASACQQYQ0wIgASABIAasIAJBABDUAiAAIAAgASACQQAQywEaIAEQGyADQfAAaiQAQRAPC0HY/QBB1PwAQdciQajWABAAAAsRACAAIAEgAiADIARBABCWBgsRACAAIAEgAiADIARBARCWBgvYAwEHfyACKAIEIAEoAgRzIQcCQAJAAkACQAJAAkACQCABKAIIIgZB/f///wdMBEAgAigCCCIFQf3///8HSg0BIAZBgICAgHhHDQYgBUGAgICAeEYNBAwHCyAGQf////8HRg0BIAIoAgghBQsgBUH/////B0cNAQsgABA1QQAPCyAGQf7///8HRyIBIAVB/v///wdHcg0BCyAAEDVBAQ8LIAENASAAIAcQjAFBAA8LIAVBgICAgHhGBEAgACAHEIwBQQIPCwJAIAAoAgAiBSgCAEEAIAEoAgwiBiADQSFqQQV2IgggBiAIShsiCiACKAIMIghqIglBAnRBBGogBSgCBBEBACIGBEAgBkEAIAkgASgCDGtBAnQiCxArIgYgC2ogASgCECABKAIMQQJ0EB8aIAAgCkEBahBBRQRAIAUgACgCECAGIAkgAigCECAIEKUERQ0CCyAFKAIAIAZBACAFKAIEEQEAGgsgABA1QSAPCyAGIAgQqAMEQCAAKAIQIgUgBSgCAEEBcjYCAAsgACgCACIFKAIAIAZBACAFKAIEEQEAGiACKAIIIQIgASgCCCEBIAAgBzYCBCAAIAEgAmtBIGo2AgggACADIAQQswIPCyAAIAcQiQFBAAtYAQF+IAAgAykDABD9AUEAR61CgICAgBCEIQQgAUKAgICAcINCgICAgDBRBEAgBA8LIAAgAUEGEGUiAUKAgICAcINCgICAgOAAUgRAIAAgASAEENsBCyABC5MCAgF+AX8jAEEQayIFJAACQAJAIAJFBEAMAQsgACADKQMAELkCIgRCgICAgHCDQoCAgIDgAFENAQJAAkAgBEIgiKdBC2oOAwEAAAILIASnQQRqIAVBCGoQtQUgACAEEA9CgICAgMB+IAUpAwgiBEKAgICAwIGA/P8AfSAEQv///////////wCDQoCAgICAgID4/wBWGyEEDAELIAAgBBA3IgRCgICAgHCDQoCAgIDgAFENASAAIAQQjQEiBEKAgICAcINCgICAgOAAUQ0BCyABQoCAgIBwg0KAgICAMFENACAAIAFBBBBlI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IDgACEBIAAgAkEsaiACQShqIAmnIghBAxCOAQ0AIAIoAiwhBiACKAIoIQdBACEDAkADQCADIAdHBEAgACACQQhqIAggBiADQQN0aigCBBBMIgVBAEgNAgJAIAVFDQAgACACQQhqEEggAigCCCIFQQFxRSAERSAFQQJxRXJxDQBCgICAgBAhAQwDCyADQQFqIQMMAQsLIAAgCRCZASIDQQBIDQEgA0EBR61CgICAgBCEIQELIAAgBiAHEFoLIAJBMGokACABC78BAgF+AX9CgICAgDAhAQJAIAAgAykDABAlIgRCgICAgHCDQoCAgIDgAFENAEEBIAIgAkEBTBshBUEBIQIDQCACIAVGBEAgBA8LIAMgAkEDdGopAwAiAUKAgICAEIRCgICAgHCDQoCAgIAwUgRAIAAgARAlIgFCgICAgHCDQoCAgIDgAFENAiAAIAQgAUKAgICAMEEBENQFDQIgACABEA8LIAJBAWohAgwACwALIAAgBBAPIAAgARAPQoCAgIDgAAsYACAAIAMpAwAgAykDCBBSrUKAgICAEIQL4gICA34DfyMAQSBrIgIkAEKAgICA4AAhBCAAIAMpAwAQJSIFQoCAgIBwg0KAgICA4ABSBEBCgICAgDAhAQJAAkAgACACQRxqIAJBGGogBadBAxCOAQ0AQoCAgIDgACEBIAAQNCIEQoCAgIBwg0KAgICA4ABRDQAgAigCHCEHIAIoAhghCEEAIQMDQCADIAhHBEACQAJAIAAgByADQQN0aiIJKAIEEFwiAUKAgICAcINCgICAgOAAUQ0AIAIgATcDCCACIAU3AwAgACAEIAAgAkEAEMYEIQYgACABEA8gBkKAgICAcIMiAUKAgICAMFENASABQoCAgIDgAFENACAAIAQgCSgCBCAGQYeAARAZQQBODQELIAQhAQwDCyADQQFqIQMMAQsLIAAgByAIEFogBSEBDAELIAAgAigCHCACKAIYEFogACAFEA9CgICAgOAAIQQLIAAgARAPCyACQSBqJAAgBAsQACAAIAMpAwBBESAEEKoCCxAAIAAgAykDAEECQQAQqgILEAAgACADKQMAQQFBABCqAgtHAQF+QoCAgIDgACEEIAAgAykDACIBIAM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CAgIDgAFIEQCACIASnRiAFQoCAgIAgUXINAyAAEHtFDQELCyAAIAQQDyAAIAEQD0KAgICA4AALDwsgACAEEA8gACABEA8gBUKAgICAIFKtQoCAgIAQhAt6AQF+IAAgAykDABAxIgJFBEBCgICAgOAADwtCgICAgOAAIQQgACABECUiAUKAgICAcINCgICAgOAAUQRAIAAgAhATIAEPCyAAQQAgAacgAhBMIQMgACACEBMgACABEA9CgICAgOAAIANBAEetQoCAgIAQhCADQQBIGwsIACAAIAEQJQsPACAAIAFBN0EAQQAQrAILLQEBfkKAgICAMCECAkAgARCjAyIARQ0AIAAtABJBBHFFDQAgADUCRCECCyACCzMCAX4Bf0KAgICAMCECAkAgARCjAyIDRQ0AIAMtABJBBHFFDQAgACADKAJAEC0hAgsgAgsoAEKAgICA4AAgACADKQMAIAEQvgUiAEEAR61CgICAgBCEIABBAEgbC7cBAgF+An9CgICAgOAAIQQgACABEGAEfkKAgICA4AAFQcqZASECAkAgAaciAy8BBhDuAUUNAAJAIAMoAiAiAy8AESIFQYAIcUUNACADKAJUIgZFDQAgACAGIAMoAkgQkwIPCyAFQQR2QQNxQQFrIgNBAksNACADQQJ0QfT/AWooAgAhAgsgACACIAAgAUE2IAFBABAUIgFCgICAgHCDQoCAgIAwUQR+IABBLxAtBSABC0G+GRC+AQsL6QUDA34GfwN8AkACfkKAgICA4AAgACABEGANABpCgICAgOAAIAAgACkDMEEOEEkiBUKAgICAcINCgICAgOAAUQ0AGiAFpyIKIAFCgICAgHBaBH8gAactAAVBEHEFQQALIAotAAVB7wFxcjoABSAAQQEgAiACQQFMGyILQQFrIghBA3RBGGoQKSIHRQ0BIAFCIIinQXVPBEAgAaciAiACKAIAQQFqNgIACyAHIAE3AwAgAykDACIEQiCIp0F1TwRAIASnIgIgAigCAEEBajYCAAsgByAINgIQIAcgBDcDCEEAIQIDQCACIAhHBEAgAyACQQFqIglBA3RqKQMAIgRCIIinQXVPBEAgBKciDCAMKAIAQQFqNgIACyAHIAJBA3RqIA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gMCBgPz/AH0gAUL///////////8Ag0KAgICAgICA+P8AVhsMAQsgACAIEA9CgICAgOAACyEBIARBIGokACABC64DAgh+AX8jAEEwayINJABCgICAgDAhBgJAAkAgACANQQhqIAAgARAlIgcQPARAQoCAgIAwIQUMAQtCgICAgDAhBSAAIAMpAwAiChBgDQBCgICAgDAhCSACQQJOBEAgAykDCCEJCyANKQMIIgVCACAFQgBVGyELA0AgCCALUgRAIAgiBUKAgICACFoEQEKAgICAwH4gCLm9IgVCgICAgMCBgPz/AH0gBUL///////////8Ag0KAgICAgICA+P8AVhshBQsgBUKAgICAcINCgICAgOAAUQ0CIAAgByAFEE0iBkKAgICAcINCgICAgOAAUQ0CIA0gATcDICANIAU3AxggDSAGNwMQIAAgCiAJQQMgDUEQahAhIgxCgICAgHCDQoCAgIDgAFENAiAAIAwQJgRAIAQEQCAAIAYQDyAAIAcQDwwFCyAAIAUQDyAAIAcQDyAGIQUMBAUgACAGEA8gACAFEA8gCEIBfCEIDAILAAsLIAAgBxAPQv////8PQoCAgIAwIAQbIQUMAQsgACAFEA8gACAGEA8gACAHEA9CgICAgOAAIQULIA1BMGokACAFC6ICAgN+AX8jAEEgayIHJAACQAJAIAAgB0EYaiAAIAEQJSIFEDwNACAHQgA3AxACQCACQQFMBEAgBykDGCEEDAELIAcpAxghBCADKQMIIgFCgICAgHCDQoCAgIAwUgRAIAAgB0EQaiABQgAgBCAEEHQNAgsgByAENwMIIAJBA0kNACADKQMQIgFCgICAgHCDQoCAgIAwUQ0AIAAgB0EIaiABQgAgBCAEEHQNASAHKQMIIQQLIAQgBykDECIBIAEgBFMbIQYDQCABIAZRDQIgAykDACIEQiCIp0F1TwRAIASnIgIgAigCAEEBajYCAAsgACAFIAEgBBCGAUEASA0BIAFCAXwhAQwACwALIAAgBRAPQoCAgIDgACEFCyAHQSBqJAAgBQuuBAIFfgN/IwBBEGsiCSQAQoCAgIAwIQYCQAJAIAAgARAlIghCgICAgHCDQoCAgIDgAFENACAAIAhCABCrAiIGQoCAgIBwg0KAgICA4ABRDQBBfyEKQX8gAiACQQBIGyELAkADQCAKIAtHBEAgCCEFIApBAE4EQCADIApBA3RqKQMAIQULAkACQCAFQoCAgIBwVA0AAn8gACAFQdgBIAVBABAUIgFCgICAgHCDIgdCgICAgDBSBEAgB0KAgICA4ABRDQcgACABECYMAQsgACAFEMoBCyICQQBIDQUgAkUNACAAIAkgBRA8DQUgCSkDACIHIAR8Qv////////8PVQ0EQgAhASAHQgAgB0IAVRshBwNAIAEgB1ENAiAAIAUgASAJQQhqEIUBIgJBAEgNBiACBEAgACAGIAQgCSkDCBBqQQBIDQcLIARCAXwhBCABQgF8IQEMAAsACyAEQv7///////8PVQ0DIAVCIIinQXVPBEAgBaciAiACKAIAQQFqNgIACyAAIAYgBCAFEGpBAEgNBCAEQgF8IQQLIApBAWohCgwBCwsgACAGQTAgBEKAgICACHxC/////w9YBH4gBEL/////D4MFQoCAgIDAfiAEub0iAUKAgICAwIGA/P8AfSABQv///////////wCDQoCAgICAgID4/wBWGwsQRUEASA0BDAILIABB0NoAQQAQFQsgACAGEA9CgICAgOAAIQYLIAAgCBAPIAlBEGokACAGC7ECAgR+An8jAEEQayIIJABCgICAgOAAIQUCQAJ+AkAgAUKAgICAcFQNACABpy0ABUEQcUUNACAIIAKtNwMIIAAgAUEBIAhBCGoQpwEMAQsgABA+CyIEQoCAgIBwg0KAgICA4ABRDQAgAkEAIAJBAEobrSEHQgAhAQJAA0AgASAHUgRAIAMgAadBA3RqKQMAIgZCIIinQXVPBEAgBqciCSAJKAIAQQFqNgIACyAAIAQgASAGQYCAARDSASEJIAFCAXwhASAJQQBODQEMAgsLIAAgBEEwIAJBAE4EfiACrQVCgICAgMB+IAK4vSIBQoCAgIDAgYD8/wB9IAFC////////////AINCgICAgICAgPj/AFYbCxBFQQBIDQAgBCEFDAELIAAgBBAPCyAIQRBqJAAgBQu6CQICfwh+IwBBMGsiBCQAIAMpAwAhBiAEQoCAgIAwNwMYQQEhBQJAAkACfi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cyIGQoCAgIBwg0KAgICA4ABRDQICQCAFBEAgBiEBDAELIAQgBjcDICAEIAdC/////w+DNwMoIAAgDCANQQIgBEEgahAhIQEgACAGEA8gAUKAgICAcINCgICAgOAAUQ0DCyAAIAggByABEGpBAEgNAiAHQgF8IQcMAAsAC0KAgICAMCELIAlCgICAgHCDQoCAgIAwUQ0DIAAgCUEBEK0BGgwDC0KAgICAMCEJDAILQoCAgIAwIQpCgICAgDAhCUKAgICAMCEIDAELIAAgCEEwIAenIgJBAE4EfiAHQv////8PgwVCgICAgMB+IAK4vSIBQoCAgIDAgYD8/wB9IAFC////////////AINCgICAgICAgPj/AFYbCxBFQQBODQELIAAgCBAPQoCAgIDgACEICyAAIAsQDyAAIAkQDyAAIAoQDyAEQTBqJAAgCAsmAEKAgICA4AAgACADKQMAEMoBIgBBAEetQoCAgIAQhCAAQQBIGwuAAQAjAEEQayIAJAAgABCjBAJ+IAA0AgggACkDAELAhD1+fCIBQoCAgIAIfEL/////D1gEQCABQv////8PgwwBC0KAgICAwH4gAbm9IgFCgICAgMCBgPz/AH0gAUL///////////8Ag0KAgICAgICA+P8AVhsLIQEgAEEQaiQAIAELxwIBBX8jAEEgayIEJAAgACADKQMAECgiAUKAgICAcINCgICAgOAAUgRAIAAgBEEIakEAED0aIAGnIgVBEGohBiAFKAIEQf////8HcSEHQQAhAwNAIAMgB05FBEACQAJ/IAUpAgRCgICAgAiDUCIIRQRAIAYgA0EBdGovAQAMAQsgAyAGai0AAAsiAkElRw0AAkAgA0EGaiAHSg0AIANBAWohAgJ/IAhFBEAgBiACQQF0ai8BAAwBCyACIAZqLQAAC0H1AEcNACAFIANBAmpBBBC4BCICQQBIDQAgA0EFaiEDDAELQSUhAiADQQNqIAdKDQAgBSADQQFqQQIQuAQiAkElIAJBAE4iCBshAiADQQJqIAMgCBshAwsgBEEIaiACEIsBGiADQQFqIQMMAQsLIAAgARAPIARBCGoQNiEBCyAEQSBqJAAgAQvkAQEEfyMAQSBrIgIkACAAIA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QMAECgiAUKAgICAcINCgICAgOAAUQ0AIAAgBUEIakEAED0aIAGnIghBEGohCUEAIQIDQAJAAkACQCAIKQIEIgunQf////8HcSACSgRAAn8gC0KAgICACINQRQRAIAkgAkEBdGovAQAMAQsgAiAJai0AAAsiA0ElRgRAIAAgCCACELMGIgNBAEgNAyACQQNqIQYgA0H/AE0EQCAEBEAgBiECDAYLQSUgAyADELIGIgcbIQMgAkEBaiAGIAcbIQIMBQsCfyADQWBxQcABRgRAIANBH3EhA0GAASEHQQEMAQsgA0FwcUHgAUYEQCADQQ9xIQNBgBAhB0ECDAELIANBeHFB8AFHBEBBASEHQQAhA0EADAELIANBB3EhA0GAgAQhB0EDCyECA0AgAkEATA0DIAAgCCAGELMGIgpBAEgNBCAGQQNqIQYgCkHAAXFBgAFHBEBBACEDDAQFIAJBAWshAiAKQT9xIANBBnRyIQMMAQsACwALIAJBAWohAgwDCyAAIAEQDyAFQQhqEDYhAQwECyAGIQIgAyAHSCADQf//wwBKckUgA0GAcHFBgLADR3ENASAAQcmJARC5BAsgACABEA8gBSgCCCgCECIAQRBqIAUoAgwgACgCBBEAAEKAgICA4AAhAQwCCyAFQQhqIAMQuQEaDAALAAsgBUEgaiQAIAELNwAgACADKQMAELMBIgJFBEBCgICAgOAADwsgACACEIECIAJqQQBBCkEAELgCIQEgACACEFQgAQuHAQEBfyMAQRBrIgIkAAJAIAAgAykDABCzASIERQRAQoCAgIDgACEBDAELAn5CgICAgOAAIAAgAkEMaiADKQMIEHcNABogAigCDCIDBEBCgICAgMB+IANBJWtBXUkNARoLIAAgBBCBAiAEakEAIANBgQgQuAILIQEgACAEEFQLIAJBEGokACABCwkAIAAgARDdAgujAQIBfgF/IwBBEGsiAiQAAn4gACABEN0CIgVCgICAgHCDQoCAgIDgAFEEQCAFDAELQQohBgJAAkAgBA0AIAMpAwAiAUKAgICAcINCgICAgDBRDQAgACABEI4FIgZBAEgNAQtCgICAgOAAIAAgAkEIaiAFEG4NARogACACKwMIIAZBAEEAEI8CDAELIAAgBRAPQoCAgIDgAAshASACQRBqJAAgAQuMAgIBfgF8IwBBEGsiAiQAQoCAgIDgACEEAkAgACABEN0CIgFCgICAgHCDQoCAgIDgAFEEQCABIQQMAQsgACACIAEQbg0AAkACQCADKQMAIgFCgICAgHCDQoCAgIAwUQRAIAIpAwAhAQwBCyAAIAJBDGogARC6AQ0CIAIrAwAiBb0iAUKAgICAgICA+P8Ag0KAgICAgICA+P8AUg0BCyAAQoCAgIDAfiABQoCAgIDAgYD8/wB9IAFC////////////AINCgICAgICAgPj/AFYbEDchBAwBCyACKAIMIgNB5QBrQZt/TQRAIABBijRBABBQDAELIAAgBUEKIANBARCPAiEECyACQRBqJAAgBAvYAQIBfgF8IwBBEGsiAiQAQoCAgIDgACEEAkAgACABEN0CIgFCgICAgHCDQoCAgIDgAFEEQCABIQQMAQsgACACIAEQbg0AIAAgAkEMaiADKQMAELoBDQAgAigCDCIDQeUATwRAIABBijRBABBQDAELIAIrAwAiBZlEUO/i1uQaS0RmBEAgAEKAgICAwH4gBb0iAUKAgICAwIGA/P8AfSABQv///////////wCDQoCAgICAgID4/wBWGxA3IQQMAQsgACAFQQogA0ECEI8CIQQLIAJBEGokACAECz0AAn4CQCABEKMDIgJFDQAgAi0AEEEBcQ0AQoCAgIAwIAItABFBAXENARoLIABBsjRBABAVQoCAgIDgAAsLzQMDBXwBfgN/AkACQAJAAkAgAL0iBkIAWQRAIAZCIIinIgdB//8/Sw0BCyAGQv///////////wCDUARARAAAAAAAAPC/IAAgAKKjDwsgBkIAWQ0BIAAgAKFEAAAAAAAAAACjDwsgB0H//7//B0sNAkGAgMD/AyEIQYF4IQkgB0GAgMD/A0cEQCAHIQgMAgsgBqcNAUQAAAAAAAAAAA8LIABEAAAAAAAAUEOivSIGQiCIpyEIQct3IQkLIAZC/////w+DIAhB4r4laiIHQf//P3FBnsGa/wNqrUIghoS/RAAAAAAAAPC/oCIAIAAgAEQAAAAAAADgP6KiIgOhvUKAgICAcIO/IgREA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wCAlpgAAOH1BRkACgAZGRkAAAAABQAAAAAAAAkAAAAACwAAAAAAAAAAGQARChkZGQMKBwABAAkLGAAACQYLAAALAAYZAAAAGRkZAEGxwgQLIQ4AAAAAAAAAABkACg0ZGRkADQAAAgAJDgAAAAkADgAADgBB68IECwEMAEH3wgQLFRMAAAAAEwAAAAAJDAAAAAAADAAADABBpcMECwEQAEGxwwQLFQ8AAAAEDwAAAAAJEAAAAAAAEAAAEABB38MECwESAEHrwwQLHhEAAAAAEQAAAAAJEgAAAAAAEgAAEgAAGgAAABoaGgBBosQECw4aAAAAGhoaAAAAAAAACQBB08QECwEUAEHfxAQLFRcAAAAAFwAAAAAJFAAAAAAAFAAAFABBjcUECwEWAEGZxQQLJxUAAAAAFQAAAAAJFgAAAAAAFgAAFgAAMDEyMzQ1Njc4OUFCQ0RFRgBB5MUECwE6AEGMxgQLCP//////////AEHQxgQLAxAvUQBB3MYECx0DAAAAAAAAAAIAAAAAAAAAAQAAAAEAAAABAAAABQBBhMcECwKWAQBBnMcECwuXAQAAmAEAAOwqAQBBtMcECwECAEHExwQLCP//////////AEGIyAQLCXgjAQAAAAAABQBBnMgECwKZAQBBtMgECw6XAQAAmgEAAPgqAQAABABBzMgECwEBAEHcyAQLBf////8KAEGgyQQLAxAkAQ=="; - if (!R.startsWith(Q)) { - var fa = R; - R = a.locateFile ? a.locateFile(fa, x) : x + fa; - } - function ha(b) { try { - if (b == R && E) - return new Uint8Array(E); - var c = C(b); - if (c) - return c; - if (A) - return A(b); - throw "both async and sync fetching of the wasm failed"; - } - catch (d) { - F(d); - } } - function ia(b) { if (!E && (u || v)) { - if ("function" == typeof fetch && !b.startsWith("file://")) - return fetch(b, { credentials: "same-origin" }).then(function (c) { if (!c.ok) - throw "failed to load wasm binary file at '" + b + "'"; return c.arrayBuffer(); }).catch(function () { return ha(b); }); - if (z) - return new Promise(function (c, d) { z(b, function (e) { c(new Uint8Array(e)); }, d); }); - } return Promise.resolve().then(function () { return ha(b); }); } - function ja(b, c, d) { return ia(b).then(function (e) { return WebAssembly.instantiate(e, c); }).then(function (e) { return e; }).then(d, function (e) { D("failed to asynchronously prepare wasm: " + e); F(e); }); } - function ka(b, c) { var d = R; return E || "function" != typeof WebAssembly.instantiateStreaming || d.startsWith(Q) || d.startsWith("file://") || w || "function" != typeof fetch ? ja(d, b, c) : fetch(d, { credentials: "same-origin" }).then(function (e) { return WebAssembly.instantiateStreaming(e, b).then(c, function (f) { D("wasm streaming compile failed: " + f); D("falling back to ArrayBuffer instantiation"); return ja(d, b, c); }); }); } - function S(b) { for (; 0 < b.length;) - b.shift()(a); } - var la = "undefined" != typeof TextDecoder ? new TextDecoder("utf8") : void 0; - function na(b, c, d) { var e = c + d; for (d = c; b[d] && !(d >= e);) - ++d; if (16 < d - c && b.buffer && la) - return la.decode(b.subarray(c, d)); for (e = ""; c < d;) { - var f = b[c++]; - if (f & 128) { - var g = b[c++] & 63; - if (192 == (f & 224)) - e += String.fromCharCode((f & 31) << 6 | g); - else { - var h = b[c++] & 63; - f = 224 == (f & 240) ? (f & 15) << 12 | g << 6 | h : (f & 7) << 18 | g << 12 | h << 6 | b[c++] & 63; - 65536 > f ? e += String.fromCharCode(f) : (f -= 65536, e += String.fromCharCode(55296 | f >> 10, 56320 | f & 1023)); - } - } - else - e += String.fromCharCode(f); - } return e; } - function T(b, c) { return b ? na(J, b, c) : ""; } - var oa = [0, 31, 60, 91, 121, 152, 182, 213, 244, 274, 305, 335], pa = [0, 31, 59, 90, 120, 151, 181, 212, 243, 273, 304, 334]; - function U(b) { for (var c = 0, d = 0; d < b.length; ++d) { - var e = b.charCodeAt(d); - 127 >= e ? c++ : 2047 >= e ? c += 2 : 55296 <= e && 57343 >= e ? (c += 4, ++d) : c += 3; - } return c; } - function V(b, c, d) { var e = J; if (!(0 < d)) - return 0; var f = c; d = c + d - 1; for (var g = 0; g < b.length; ++g) { - var h = b.charCodeAt(g); - if (55296 <= h && 57343 >= h) { - var k = b.charCodeAt(++g); - h = 65536 + ((h & 1023) << 10) | k & 1023; - } - if (127 >= h) { - if (c >= d) - break; - e[c++] = h; - } - else { - if (2047 >= h) { - if (c + 1 >= d) - break; - e[c++] = 192 | h >> 6; - } - else { - if (65535 >= h) { - if (c + 2 >= d) - break; - e[c++] = 224 | h >> 12; - } - else { - if (c + 3 >= d) - break; - e[c++] = 240 | h >> 18; - e[c++] = 128 | h >> 12 & 63; - } - e[c++] = 128 | h >> 6 & 63; - } - e[c++] = 128 | h & 63; - } - } e[c] = 0; return c - f; } - function qa(b) { var c = U(b) + 1, d = ra(c); d && V(b, d, c); return d; } - var W = {}; - function sa() { if (!X) { - var b = { USER: "web_user", LOGNAME: "web_user", PATH: "/", PWD: "/", HOME: "/home/web_user", LANG: ("object" == typeof navigator && navigator.languages && navigator.languages[0] || "C").replace("-", "_") + ".UTF-8", _: t || "./this.program" }, c; - for (c in W) - void 0 === W[c] ? delete b[c] : b[c] = W[c]; - var d = []; - for (c in b) - d.push(c + "=" + b[c]); - X = d; - } return X; } - var X, ta = [null, [], []]; - function ua(b, c, d, e) { var f = { string: l => { var q = 0; if (null !== l && void 0 !== l && 0 !== l) { - q = U(l) + 1; - var ma = Y(q); - V(l, ma, q); - q = ma; - } return q; }, array: l => { var q = Y(l.length); I.set(l, q); return q; } }; b = a["_" + b]; var g = [], h = 0; if (e) - for (var k = 0; k < e.length; k++) { - var r = f[d[k]]; - r ? (0 === h && (h = va()), g[k] = r(e[k])) : g[k] = e[k]; - } d = b.apply(null, g); return d = function (l) { 0 !== h && wa(h); return "string" === c ? T(l) : "boolean" === c ? !!l : l; }(d); } - var xa = "function" == typeof atob ? atob : function (b) { - var c = "", d = 0; - b = b.replace(/[^A-Za-z0-9\+\/=]/g, ""); - do { - var e = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(b.charAt(d++)); - var f = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(b.charAt(d++)); - var g = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(b.charAt(d++)); - var h = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(b.charAt(d++)); - e = e << 2 | f >> 4; - f = (f & 15) << 4 | g >> 2; - var k = (g & 3) << 6 | h; - c += String.fromCharCode(e); - 64 !== g && (c += String.fromCharCode(f)); - 64 !== h && (c += String.fromCharCode(k)); - } while (d < b.length); - return c; - }; - function C(b) { if (b.startsWith(Q)) { - b = b.slice(Q.length); - if ("boolean" == typeof w && w) { - var c = Buffer.from(b, "base64"); - c = new Uint8Array(c.buffer, c.byteOffset, c.byteLength); - } - else - try { - var d = xa(b), e = new Uint8Array(d.length); - for (b = 0; b < d.length; ++b) - e[b] = d.charCodeAt(b); - c = e; - } - catch (f) { - throw Error("Converting base64 string to bytes failed."); - } - return c; - } } - var ya = { a: function (b, c, d, e) { F("Assertion failed: " + T(b) + ", at: " + [c ? T(c) : "unknown filename", d, e ? T(e) : "unknown function"]); }, l: function (b, c) { - b = new Date(1E3 * (L[b >> 2] + 4294967296 * K[b + 4 >> 2])); - K[c >> 2] = b.getSeconds(); - K[c + 4 >> 2] = b.getMinutes(); - K[c + 8 >> 2] = b.getHours(); - K[c + 12 >> 2] = b.getDate(); - K[c + 16 >> 2] = b.getMonth(); - K[c + 20 >> 2] = b.getFullYear() - 1900; - K[c + 24 >> 2] = b.getDay(); - var d = b.getFullYear(); - K[c + 28 >> 2] = (0 !== d % 4 || 0 === d % 100 && 0 !== d % 400 ? pa : oa)[b.getMonth()] + b.getDate() - 1 | 0; - K[c + 36 >> 2] = -(60 * b.getTimezoneOffset()); - d = (new Date(b.getFullYear(), 6, 1)).getTimezoneOffset(); - var e = (new Date(b.getFullYear(), 0, 1)).getTimezoneOffset(); - K[c + 32 >> 2] = (d != e && b.getTimezoneOffset() == Math.min(e, d)) | 0; - }, k: function (b, c, d) { function e(r) { return (r = r.toTimeString().match(/\(([A-Za-z ]+)\)$/)) ? r[1] : "GMT"; } var f = (new Date).getFullYear(), g = new Date(f, 0, 1), h = new Date(f, 6, 1); f = g.getTimezoneOffset(); var k = h.getTimezoneOffset(); L[b >> 2] = 60 * Math.max(f, k); K[c >> 2] = Number(f != k); b = e(g); c = e(h); b = qa(b); c = qa(c); k < f ? (L[d >> 2] = b, L[d + 4 >> 2] = c) : (L[d >> 2] = c, L[d + 4 >> 2] = b); }, b: function () { F(""); }, - m: function () { return Date.now(); }, j: function (b) { var c = J.length; b >>>= 0; if (2147483648 < b) - return !1; for (var d = 1; 4 >= d; d *= 2) { - var e = c * (1 + .2 / d); - e = Math.min(e, b + 100663296); - var f = Math, g = f.min; - e = Math.max(b, e); - e += (65536 - e % 65536) % 65536; - a: { - var h = G.buffer; - try { - G.grow(g.call(f, 2147483648, e) - h.byteLength + 65535 >>> 16); - M(); - var k = 1; - break a; - } - catch (r) { } - k = void 0; - } - if (k) - return !0; - } return !1; }, e: function (b, c) { - var d = 0; - sa().forEach(function (e, f) { - var g = c + d; - f = L[b + 4 * f >> 2] = g; - for (g = 0; g < e.length; ++g) - I[f++ >> 0] = e.charCodeAt(g); - I[f >> 0] = 0; - d += e.length + - 1; - }); - return 0; - }, f: function (b, c) { var d = sa(); L[b >> 2] = d.length; var e = 0; d.forEach(function (f) { e += f.length + 1; }); L[c >> 2] = e; return 0; }, d: function () { return 52; }, i: function () { return 70; }, c: function (b, c, d, e) { for (var f = 0, g = 0; g < d; g++) { - var h = L[c >> 2], k = L[c + 4 >> 2]; - c += 8; - for (var r = 0; r < k; r++) { - var l = J[h + r], q = ta[b]; - 0 === l || 10 === l ? ((1 === b ? aa : D)(na(q, 0)), q.length = 0) : q.push(l); - } - f += k; - } L[e >> 2] = f; return 0; }, o: function (b, c, d, e, f) { return a.callbacks.callFunction(void 0, b, c, d, e, f); }, n: function (b) { - return a.callbacks.shouldInterrupt(void 0, b); - }, h: function (b, c, d) { d = T(d); return a.callbacks.loadModuleSource(void 0, b, c, d); }, g: function (b, c, d, e) { d = T(d); e = T(e); return a.callbacks.normalizeModule(void 0, b, c, d, e); } }; - (function () { function b(d) { d = d.exports; a.asm = d; G = a.asm.p; M(); ca.unshift(a.asm.q); N--; a.monitorRunDependencies && a.monitorRunDependencies(N); if (0 == N && (null !== O && (clearInterval(O), O = null), P)) { - var e = P; - P = null; - e(); - } return d; } var c = { a: ya }; N++; a.monitorRunDependencies && a.monitorRunDependencies(N); if (a.instantiateWasm) - try { - return a.instantiateWasm(c, b); - } - catch (d) { - D("Module.instantiateWasm callback failed with error: " + d), n(d); - } ka(c, function (d) { b(d.instance); }).catch(n); return {}; })(); - var ra = a._malloc = function () { return (ra = a._malloc = a.asm.r).apply(null, arguments); }; - a._QTS_Throw = function () { return (a._QTS_Throw = a.asm.s).apply(null, arguments); }; - a._QTS_NewError = function () { return (a._QTS_NewError = a.asm.t).apply(null, arguments); }; - a._QTS_RuntimeSetMemoryLimit = function () { return (a._QTS_RuntimeSetMemoryLimit = a.asm.u).apply(null, arguments); }; - a._QTS_RuntimeComputeMemoryUsage = function () { return (a._QTS_RuntimeComputeMemoryUsage = a.asm.v).apply(null, arguments); }; - a._QTS_RuntimeDumpMemoryUsage = function () { return (a._QTS_RuntimeDumpMemoryUsage = a.asm.w).apply(null, arguments); }; - a._QTS_RecoverableLeakCheck = function () { return (a._QTS_RecoverableLeakCheck = a.asm.x).apply(null, arguments); }; - a._QTS_BuildIsSanitizeLeak = function () { return (a._QTS_BuildIsSanitizeLeak = a.asm.y).apply(null, arguments); }; - a._QTS_RuntimeSetMaxStackSize = function () { return (a._QTS_RuntimeSetMaxStackSize = a.asm.z).apply(null, arguments); }; - a._QTS_GetUndefined = function () { return (a._QTS_GetUndefined = a.asm.A).apply(null, arguments); }; - a._QTS_GetNull = function () { return (a._QTS_GetNull = a.asm.B).apply(null, arguments); }; - a._QTS_GetFalse = function () { return (a._QTS_GetFalse = a.asm.C).apply(null, arguments); }; - a._QTS_GetTrue = function () { return (a._QTS_GetTrue = a.asm.D).apply(null, arguments); }; - a._QTS_NewRuntime = function () { return (a._QTS_NewRuntime = a.asm.E).apply(null, arguments); }; - a._QTS_FreeRuntime = function () { return (a._QTS_FreeRuntime = a.asm.F).apply(null, arguments); }; - a._QTS_NewContext = function () { return (a._QTS_NewContext = a.asm.G).apply(null, arguments); }; - a._QTS_FreeContext = function () { return (a._QTS_FreeContext = a.asm.H).apply(null, arguments); }; - a._QTS_FreeValuePointer = function () { return (a._QTS_FreeValuePointer = a.asm.I).apply(null, arguments); }; - a._free = function () { return (a._free = a.asm.J).apply(null, arguments); }; - a._QTS_FreeValuePointerRuntime = function () { return (a._QTS_FreeValuePointerRuntime = a.asm.K).apply(null, arguments); }; - a._QTS_FreeVoidPointer = function () { return (a._QTS_FreeVoidPointer = a.asm.L).apply(null, arguments); }; - a._QTS_FreeCString = function () { return (a._QTS_FreeCString = a.asm.M).apply(null, arguments); }; - a._QTS_DupValuePointer = function () { return (a._QTS_DupValuePointer = a.asm.N).apply(null, arguments); }; - a._QTS_NewObject = function () { return (a._QTS_NewObject = a.asm.O).apply(null, arguments); }; - a._QTS_NewObjectProto = function () { return (a._QTS_NewObjectProto = a.asm.P).apply(null, arguments); }; - a._QTS_NewArray = function () { return (a._QTS_NewArray = a.asm.Q).apply(null, arguments); }; - a._QTS_NewFloat64 = function () { return (a._QTS_NewFloat64 = a.asm.R).apply(null, arguments); }; - a._QTS_GetFloat64 = function () { return (a._QTS_GetFloat64 = a.asm.S).apply(null, arguments); }; - a._QTS_NewString = function () { return (a._QTS_NewString = a.asm.T).apply(null, arguments); }; - a._QTS_GetString = function () { return (a._QTS_GetString = a.asm.U).apply(null, arguments); }; - a._QTS_NewSymbol = function () { return (a._QTS_NewSymbol = a.asm.V).apply(null, arguments); }; - a._QTS_GetSymbolDescriptionOrKey = function () { return (a._QTS_GetSymbolDescriptionOrKey = a.asm.W).apply(null, arguments); }; - a._QTS_IsGlobalSymbol = function () { return (a._QTS_IsGlobalSymbol = a.asm.X).apply(null, arguments); }; - a._QTS_IsJobPending = function () { return (a._QTS_IsJobPending = a.asm.Y).apply(null, arguments); }; - a._QTS_ExecutePendingJob = function () { return (a._QTS_ExecutePendingJob = a.asm.Z).apply(null, arguments); }; - a._QTS_GetProp = function () { return (a._QTS_GetProp = a.asm._).apply(null, arguments); }; - a._QTS_SetProp = function () { return (a._QTS_SetProp = a.asm.$).apply(null, arguments); }; - a._QTS_DefineProp = function () { return (a._QTS_DefineProp = a.asm.aa).apply(null, arguments); }; - a._QTS_Call = function () { return (a._QTS_Call = a.asm.ba).apply(null, arguments); }; - a._QTS_ResolveException = function () { return (a._QTS_ResolveException = a.asm.ca).apply(null, arguments); }; - a._QTS_Dump = function () { return (a._QTS_Dump = a.asm.da).apply(null, arguments); }; - a._QTS_Eval = function () { return (a._QTS_Eval = a.asm.ea).apply(null, arguments); }; - a._QTS_Typeof = function () { return (a._QTS_Typeof = a.asm.fa).apply(null, arguments); }; - a._QTS_GetGlobalObject = function () { return (a._QTS_GetGlobalObject = a.asm.ga).apply(null, arguments); }; - a._QTS_NewPromiseCapability = function () { return (a._QTS_NewPromiseCapability = a.asm.ha).apply(null, arguments); }; - a._QTS_TestStringArg = function () { return (a._QTS_TestStringArg = a.asm.ia).apply(null, arguments); }; - a._QTS_BuildIsDebug = function () { return (a._QTS_BuildIsDebug = a.asm.ja).apply(null, arguments); }; - a._QTS_BuildIsAsyncify = function () { return (a._QTS_BuildIsAsyncify = a.asm.ka).apply(null, arguments); }; - a._QTS_NewFunction = function () { return (a._QTS_NewFunction = a.asm.la).apply(null, arguments); }; - a._QTS_ArgvGetJSValueConstPointer = function () { return (a._QTS_ArgvGetJSValueConstPointer = a.asm.ma).apply(null, arguments); }; - a._QTS_RuntimeEnableInterruptHandler = function () { return (a._QTS_RuntimeEnableInterruptHandler = a.asm.na).apply(null, arguments); }; - a._QTS_RuntimeDisableInterruptHandler = function () { return (a._QTS_RuntimeDisableInterruptHandler = a.asm.oa).apply(null, arguments); }; - a._QTS_RuntimeEnableModuleLoader = function () { return (a._QTS_RuntimeEnableModuleLoader = a.asm.pa).apply(null, arguments); }; - a._QTS_RuntimeDisableModuleLoader = function () { return (a._QTS_RuntimeDisableModuleLoader = a.asm.qa).apply(null, arguments); }; - function va() { return (va = a.asm.sa).apply(null, arguments); } - function wa() { return (wa = a.asm.ta).apply(null, arguments); } - function Y() { return (Y = a.asm.ua).apply(null, arguments); } - a.___start_em_js = 74916; - a.___stop_em_js = 75818; - a.cwrap = function (b, c, d, e) { var f = !d || d.every(g => "number" === g || "boolean" === g); return "string" !== c && f && !e ? a["_" + b] : function () { return ua(b, c, d, arguments); }; }; - a.UTF8ToString = T; - a.stringToUTF8 = function (b, c, d) { return V(b, c, d); }; - a.lengthBytesUTF8 = U; - var Z; - P = function za() { Z || Aa(); Z || (P = za); }; - function Aa() { function b() { if (!Z && (Z = !0, a.calledRun = !0, !H)) { - S(ca); - m(a); - if (a.onRuntimeInitialized) - a.onRuntimeInitialized(); - if (a.postRun) - for ("function" == typeof a.postRun && (a.postRun = [a.postRun]); a.postRun.length;) { - var c = a.postRun.shift(); - da.unshift(c); - } - S(da); - } } if (!(0 < N)) { - if (a.preRun) - for ("function" == typeof a.preRun && (a.preRun = [a.preRun]); a.preRun.length;) - ea(); - S(ba); - 0 < N || (a.setStatus ? (a.setStatus("Running..."), setTimeout(function () { setTimeout(function () { a.setStatus(""); }, 1); b(); }, 1)) : b()); - } } - if (a.preInit) - for ("function" == typeof a.preInit && (a.preInit = [a.preInit]); 0 < a.preInit.length;) - a.preInit.pop()(); - Aa(); - return QuickJSRaw.ready; - }); -})(); -if (typeof exports === 'object' && typeof module === 'object') - module.exports = QuickJSRaw; -else if (typeof define === 'function' && define['amd']) - define([], function () { return QuickJSRaw; }); -else if (typeof exports === 'object') - exports["QuickJSRaw"] = QuickJSRaw; -//# sourceMappingURL=emscripten-module.WASM_RELEASE_SYNC.js.map \ No newline at end of file diff --git a/node_modules/@tootallnate/quickjs-emscripten/dist/generated/emscripten-module.WASM_RELEASE_SYNC.js.map b/node_modules/@tootallnate/quickjs-emscripten/dist/generated/emscripten-module.WASM_RELEASE_SYNC.js.map deleted file mode 100644 index 4dc43c0..0000000 --- a/node_modules/@tootallnate/quickjs-emscripten/dist/generated/emscripten-module.WASM_RELEASE_SYNC.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"emscripten-module.WASM_RELEASE_SYNC.js","sourceRoot":"","sources":["../../ts/generated/emscripten-module.WASM_RELEASE_SYNC.js"],"names":[],"mappings":";AACA,IAAI,UAAU,GAAG,CAAC,GAAG,EAAE;IACrB,IAAI,UAAU,GAAG,OAAO,QAAQ,KAAK,WAAW,IAAI,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,GAAG,CAAC,CAAC,CAAC,SAAS,CAAC;IACpH,IAAI,OAAO,UAAU,KAAK,WAAW;QAAE,UAAU,GAAG,UAAU,IAAI,UAAU,CAAC;IAC7E,OAAO,CACT,UAAS,UAAU,GAAG,EAAE;QAExB,IAAI,CAAC,CAAC;QAAA,CAAC,IAAE,CAAC,CAAC,GAAC,OAAO,UAAU,KAAK,WAAW,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC;QAAA,IAAI,CAAC,EAAC,CAAC,CAAC;QAAA,CAAC,CAAC,KAAK,GAAC,IAAI,OAAO,CAAC,UAAS,CAAC,EAAC,CAAC,IAAE,CAAC,GAAC,CAAC,CAAC,CAAA,CAAC,GAAC,CAAC,CAAA,CAAA,CAAC,CAAC,CAAC;QAAA,IAAI,CAAC,GAAC,MAAM,CAAC,MAAM,CAAC,EAAE,EAAC,CAAC,CAAC,EAAC,CAAC,GAAC,gBAAgB,EAAC,CAAC,GAAC,QAAQ,IAAE,OAAO,MAAM,EAAC,CAAC,GAAC,UAAU,IAAE,OAAO,aAAa,EAAC,CAAC,GAAC,QAAQ,IAAE,O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AAG,CAAC,CAAC,OAAO;YAAC,KAAI,UAAU,IAAE,OAAO,CAAC,CAAC,OAAO,IAAE,CAAC,CAAC,CAAC,OAAO,GAAC,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,EAAC,CAAC,GAAC,CAAC,CAAC,OAAO,CAAC,MAAM;gBAAE,CAAC,CAAC,OAAO,CAAC,GAAG,EAAE,EAAE,CAAC;QAAA,EAAE,EAAE,CAAC;QAGhH,OAAO,UAAU,CAAC,KAAK,CAAA;IACzB,CAAC,CAEA,CAAC;AACF,CAAC,CAAC,EAAE,CAAC;AACL,IAAI,OAAO,OAAO,KAAK,QAAQ,IAAI,OAAO,MAAM,KAAK,QAAQ;IAC3D,MAAM,CAAC,OAAO,GAAG,UAAU,CAAC;KACzB,IAAI,OAAO,MAAM,KAAK,UAAU,IAAI,MAAM,CAAC,KAAK,CAAC;IACpD,MAAM,CAAC,EAAE,EAAE,cAAa,OAAO,UAAU,CAAC,CAAC,CAAC,CAAC,CAAC;KAC3C,IAAI,OAAO,OAAO,KAAK,QAAQ;IAClC,OAAO,CAAC,YAAY,CAAC,GAAG,UAAU,CAAC","sourcesContent":["\nvar QuickJSRaw = (() => {\n var _scriptDir = typeof document !== 'undefined' && document.currentScript ? document.currentScript.src : undefined;\n if (typeof __filename !== 'undefined') _scriptDir = _scriptDir || __filename;\n return (\nfunction(QuickJSRaw = {}) {\n\nvar a;a||(a=typeof QuickJSRaw !== 'undefined' ? QuickJSRaw : {});var m,n;a.ready=new Promise(function(b,c){m=b;n=c});var p=Object.assign({},a),t=\"./this.program\",u=\"object\"==typeof window,v=\"function\"==typeof importScripts,w=\"object\"==typeof process&&\"object\"==typeof process.versions&&\"string\"==typeof process.versions.node,x=\"\",y,z,A;\nif(w){var fs=require(\"fs\"),B=require(\"path\");x=v?B.dirname(x)+\"/\":__dirname+\"/\";y=(b,c)=>{var d=C(b);if(d)return c?d:d.toString();b=b.startsWith(\"file://\")?new URL(b):B.normalize(b);return fs.readFileSync(b,c?void 0:\"utf8\")};A=b=>{b=y(b,!0);b.buffer||(b=new Uint8Array(b));return b};z=(b,c,d)=>{var e=C(b);e&&c(e);b=b.startsWith(\"file://\")?new URL(b):B.normalize(b);fs.readFile(b,function(f,g){f?d(f):c(g.buffer)})};!a.thisProgram&&1{try{var c=new XMLHttpRequest;c.open(\"GET\",b,!1);c.send(null);return c.responseText}catch(f){if(b=C(b)){c=[];for(var d=0;d{try{var c=new XMLHttpRequest;c.open(\"GET\",b,!1);c.responseType=\"arraybuffer\";c.send(null);return new Uint8Array(c.response)}catch(d){if(b=C(b))return b;throw d;}}),z=(b,c,d)=>{var e=new XMLHttpRequest;e.open(\"GET\",b,!0);e.responseType=\"arraybuffer\";e.onload=()=>{if(200==e.status||0==e.status&&e.response)c(e.response);else{var f=C(b);f?c(f.buffer):d()}};e.onerror=d;e.send(null)};var aa=a.print||console.log.bind(console),D=a.printErr||console.warn.bind(console);Object.assign(a,p);p=null;\na.thisProgram&&(t=a.thisProgram);var E;a.wasmBinary&&(E=a.wasmBinary);var noExitRuntime=a.noExitRuntime||!0;\"object\"!=typeof WebAssembly&&F(\"no native wasm support detected\");var G,H=!1,I,J,K,L;function M(){var b=G.buffer;a.HEAP8=I=new Int8Array(b);a.HEAP16=new Int16Array(b);a.HEAP32=K=new Int32Array(b);a.HEAPU8=J=new Uint8Array(b);a.HEAPU16=new Uint16Array(b);a.HEAPU32=L=new Uint32Array(b);a.HEAPF32=new Float32Array(b);a.HEAPF64=new Float64Array(b)}var ba=[],ca=[],da=[];\nfunction ea(){var b=a.preRun.shift();ba.unshift(b)}var N=0,O=null,P=null;function F(b){if(a.onAbort)a.onAbort(b);b=\"Aborted(\"+b+\")\";D(b);H=!0;b=new WebAssembly.RuntimeError(b+\". Build with -sASSERTIONS for more info.\");n(b);throw b;}var Q=\"data:application/octet-stream;base64,\",R;R=\"data:application/octet-stream;base64,AGFzbQEAAAAB9QZxYAJ/fwBgA39/fwF/YAR/fn9/AX5gAn9/AX9gAX8B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gAy0ABDYCHAwDCyAAIAQgBWoiAygAADYCICAAIAMvAAQ2AhwMAgsgACAEIAVqIgMoAAA2AiAgACADKAAENgIYIAAgAy0ACDYCHAwBCwsgACAJNgIMIAAgATYCCEEBIQsLIAsLCwAgACABQQAQjgQLJAEBfyAAKAIQIgJBEGogASACKAIAEQMAIgFFBEAgABB8CyABCyYBAX8jAEEQayICJAAgAiABOwEOIAAgAkEOakECEHIgAkEQaiQACykBAX8gAgRAIAAhAwNAIAMgAToAACADQQFqIQMgAkEBayICDQALCyAACz8BAX8jAEEQayICJAACfyABIAAoAhBHBEAgAiABNgIAIABBoJgBIAIQFkF/DAELIAAQEgshACACQRBqJAAgAAsLACAAIAFBARDmBQvDCgIFfw9+IwBB4ABrIgUkACAEQv///////z+DIQwgAiAEhUKAgICAgICAgIB/gyEKIAJC////////P4MiDUIgiCEOIARCMIinQf//AXEhBwJAAkAgAkIwiKdB//8BcSIJQf//AWtBgoB+TwRAIAdB//8Ba0GBgH5LDQELIAFQIAJC////////////AIMiC0KAgICAgIDA//8AVCALQoCAgICAgMD//wBRG0UEQCACQoCAgICAgCCEIQoMAgsgA1AgBEL///////////8AgyICQoCAgICAgMD//wBUIAJCgICAgICAwP//AFEbRQRAIARCgICAgICAIIQhCiADIQEMAgsgASALQoCAgICAgMD//wCFhFAEQCACIAOEUARAQoCAgICAgOD//wAhCkIAIQEMAwsgCkKAgICAgIDA//8AhCEKQgAhAQwCCyADIAJCgICAgICAwP//AIWEUARAIAEgC4QhAkIAIQEgAlAEQEKAgICAgIDg//8AIQoMAwsgCkKAgICAgIDA//8AhCEKDAILIAEgC4RQBEBCACEBDAILIAIgA4RQBEBCACEBDAILIAtC////////P1gEQCAFQdAAaiABIA0gASANIA1QIgYbeSAGQQZ0rXynIgZBD2sQZ0EQIAZrIQYgBSkDWCINQiCIIQ4gBSkDUCEBCyACQv///////z9WDQAgBUFAayADIAwgAyAMIAxQIggbeSAIQQZ0rXynIghBD2sQZyAGIAhrQRBqIQYg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/wB9IAFC////////////AINCgICAgICAgPj/AFYbDwtCgICAgMB+IAMoAiQgBEEDdGopAwAiAUKAgICAwIGA/P8AfSABQv///////////wCDQoCAgICAgID4/wBWGw8LIAAgAhAxIQMgACACEA8gA0UEQEKAgICA4AAPCyAAIAEgAyABQQAQFCEBIAAgAxATCyABCyoBAX8jAEEQayIEJAAgBCADNgIMIAAgASACIAMQywIhACAEQRBqJAAgAAuMAQECfyABKAJ8IgRBgIAETgRAIABBjTpBABBGQX8PC0F/IQMgACABQfQAakEQIAFB+ABqIARBAWoQeAR/QX8FIAEgASgCfCIDQQFqNgJ8IAEoAnQgA0EEdGoiA0IANwIAIANCADcCCCADIAAgAhAYNgIAIAMgAygCDEGA////B3I2AgwgASgCfEEBawsLDQAgACABIAJBARDOAgurAgEEfwJAIAIgA08NACADIAJrIQUgAUEQaiEEIAEtAAdBgAFxBEBBACEDIAVBACAFQQBKGyEGIAQgAkEBdGohAUEAIQIDQCACIAZGRQRAIAMgASACQQF0ai8BAHIhAyACQQFqIQIMAQsLAkAgACgCCCAFaiICIAAoAgwiB0oEQEF/IQQgACACIAMQtwJFDQEMAwsgACgCECADQYACSHINAEF/IQQgACAHEPUDDQILAkAgACgCEEUEQEEAIQIDQCACIAZGDQIgACgCBCAAKAIIIAJqaiABIAJBAXRqLQAAOgAQIAJBAWohAgwACwALIAAoAgQgACgCCEEBdGpBEGogASAFQQF0EB8aCyAAIAAoAgggBWo2AghBAA8LIAAgAiAEaiAFEIgCIQQLIAQLRwEBfyABQiCIp0F1TwRAIAGnIgMgAygCAEEBajYCAAsgAkIgiKdBdU8EQCACpyIDIAMoAgBBAWo2AgALIAAgASACQQEQvAELFwEBf0EIELEBIgEEQCABIAA3AwALIAELGQAgAQRAIAAgAUEQa61CgICAgJB/hBAPCwuCAwIEfwJ+AkAgACkDcCIFUEUgBSAAKQN4IAAoAgQiASAAKAIsIgJrrHwiBldxRQRAIwBBEGsiAiQAQX8hAQJAAn8gACAAKAJIIgNBAWsgA3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g3wiAUIgiHw3AwggACAFQv////8PgyABQiCGhDcDAAtQAQF+AkAgA0HAAHEEQCABIANBQGqthiECQgAhAQwBCyADRQ0AIAIgA60iBIYgAUHAACADa62IhCECIAEgBIYhAQsgACABNwMAIAAgAjcDCAtVAQN/IAEgAkEFdSIESwRAIAAgBEECdGooAgAhAwsgAkEfcSICBH8gASAEQQFqIgRLBH8gACAEQQJ0aigCAAVBAAtBAXQgAkEfc3QgAyACdnIFIAMLC2QAAkACQCABQQBIDQAgACgCrAIgAUwNACAAKAKkAiABQRRsaiIAIAAoAgAgAmoiADYCACAAQQBIDQEgAA8LQYUpQa78AEHIqAFBlNUAEAAAC0GmjgFBrvwAQcuoAUGU1QAQAAALYAAgACABIAJCgICAgAh8Qv////8PWAR+IAJC/////w+DBUKAgICAwH4gArm9IgJCgICAgMCBgPz/AH0gAkL///////////8Ag0KAgICAgICA+P8AVhsLIANBh4ABEL0BCwwAIABBhvsAQQAQFQsLACAAIAFBARDBBQvSEAIMfwF+IwBBEGsiCiQAAkACQCABQv////9vWARAIAAQJAwBCyAGQYAwcSIORSAGIAZBCHYiEHEgEEF/c3JBB3EiEUEHRnEhEiAGQYDAAHEhDCACQf////8HcSENIAGnIQkCQAJAAkACQAJAA0AgCSgCECIHQTBqIQggByAHKAIYIAJxQX9zQQJ0aigCACEHAkADQCAHRQ0BIAIgCCAHQQFrQQN0IgtqIgcoAgRHBEAgBygCAEH///8fcSEHDAELCyAJKAIUIAtqIQggCiAHNgIMIAxFIAcoAgAiC0GAgICAAnFFckUEQCADQiCIp0F1TwRAIAOnIgcgBygCAEEBajYCAAsgACAKQQhqIANBABDCAg0IAn4gCigCCCIHQQBOBEAgB60MAQtCgICAgMB+IAe4vSIDQoCAgIDAgYD8/wB9IANC////////////AINCgICAgICAgPj/AFYbCyEDIAkoAhAiB0EwaiEIIAcgBygCGCACcUF/c0ECdGooAgAhBwJAA0AgBwRAIAggB0EBa0EDdCILaiIHKAIEIAJGDQIgBygCAEH///8fcSE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qIBBBBXEiAEF/cyAKKAIMKAIAQRp2cSAAIAZxchCRAxshBwwCCyAAIAZB4ekAEG8hBwwBC0F/IQcLIApBEGokACAHC/8BAgJ/AXwjAEEQayIEJAACQCACQiCIpyIDQQJNBEAgASACp7c5AwBBACEADAELIANBB2tBbU0EQCABIAJCgICAgMCBgPz/AHw3AwBBACEADAELAn8gACACEI0BIgJCgICAgHCDQoCAgIDgAFEEQEQAAAAAAAD4fyEFQX8MAQsCfAJAAkBBByACQiCIpyIDIANBB2tBbkkbIgNBCmpBAk8EQCADQQdGDQIgAw0BIAKntwwDCyACp0EEaiAEQQhqELUFIAAgAhAPIAQrAwghBUEADAMLEAEACyACQoCAgIDAgYD8/wB8vwshBUEACyEAIAEgBTkDAAsgBEEQaiQAIAALXQECfyMAQRBrIgMkAAJAIAFBgIABcUUEQCABQYCAAnFFDQEgACgCECgCjAEiAUUNASABLQAoQQFxRQ0BCyADQQA2AgwgAEEEIAJBABCSBEF/IQQLIANBEGokACAEC8YJAgR/BX4jAEHwAGsiBiQAIARC////////////AIMhCQJAAkAgAVAiBSACQv///////////wCDIgpCgICAgICAwP//AH1CgICAgICAwICAf1QgClAbRQRAIANCAFIgCUKAgICAgIDA//8AfSILQoCAgICAgMCAgH9WIAtCgICAgICAwICAf1EbDQELIAUgCkKAgICAgIDA//8AVCAKQoCAgICAgMD//wBRG0UEQCACQoCAgICAgCCEIQQgASEDDAILIANQIAlCgICAgICAwP//AFQgCUKAgICAgIDA//8AURtFBEAgBEKAgICAgIAghCEEDAILIAEgCkKAgICAgIDA//8AhYRQBEBCgICAgICA4P//ACACIAEgA4UgAiAEhUKAgICAgICAgIB/hYRQIgUbIQRCACABIAUbIQMMAgsgAyAJQoCAgICAgMD//wCFhFANASABIAqEUARAIAMgCYRCAFINAiABIAODIQMgAiAEgyEEDAILIAMgCYRQRQ0AIAEhAyACIQQMAQsgAyABIAEgA1QgCSAKViAJIApRGyIIGyEKIAQgAiAIGyILQv///////z+DIQkgAiAEIAg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AQQFqNgIAIAQgAEECdGogAjYCAEEACwt2AQF/IAAoAhQEQCAAKAIAIAEQD0F/DwsCQCABQoCAgIBwg0KAgICAkH9RDQAgACgCACABEDciAUKAgICAcINCgICAgOAAUg0AIAAQgwNBfw8LIAAgAaciAkEAIAIoAgRB/////wdxEFEhAiAAKAIAIAEQDyACC7UCAQd/IwBBEGsiBSQAAkAgAEFAaygCACIBRQRADAELAkAgAQJ/IAEoAsgBIgQgASgCxAEiAkgEQCABKALMASEDIAQMAQsgBEEBaiIDIAJBA2xBAm0iAiACIANIGyIGQQN0IQIgACgCACEDAkAgASgCzAEiByABQdABakYEQCADQQAgAiAFQQxqEKgBIgNFDQMgAyABKALMASABKALIAUEDdBAfGgwBCyADIAcgAiAFQQxqEKgBIgNFDQILIAUoAgwhAiABIAM2AswBIAEgAkEDdiAGajYCxAEgASgCyAELQQFqNgLIASADIARBA3RqIgIgASgCvAE2AgAgAiABKALAATYCBCAAQbQBEBAgAEFAaygCACAEQf//A3EQFyABIAQ2ArwBDAELQX8hBAsgBUEQaiQAIAQLoQECA38BfiMAIQYCQCACQoCAgIBwVA0AIAKnIgUvAQZBMEcNACAFKAIgIQQLAn8gBiAAKAIQKAJ4SQRAIAAQ6QFBAAwBCyAELQARBEAgABC2AkEADAELQQAgACAEKQMIIgIgAyACQQAQFCIHQoCAgIBwgyICQoCAgIDgAFENABogAUKAgICAMCAHIAJCgICAgCBRGzcDACAECyEFIAYkACAFCxYAIAAgASACIAMgBCAFIAApAzAQ8QELKQEBfyMAQRBrIgIkACACIAA2AgwgAkEMaiABEJMEIQAgAkEQaiQAIAALngICA38BfiACIAEpAgQiB6dB/////wdxIANHckUEQCABIAEoAgBBAWo2AgAgAa1CgICAgJB/hA8LIAFBEGohBSAHQoCAgIAIg1AgAyACayIEQQBMckUEQCADIAIgAiADSBshBkEAIQMgAiEBA0AgASAGRkUEQCAFIAFBAXRqLwEAIANyIQMgAUEBaiEBDAELCyADQf//A3FBgAJPBEAgACAFIAJBA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FUEAIQQLIANBEGokACAECyQBAX8jAEEQayIDJAAgAyACNgIMIAAgASACEJsEIANBEGokAAsSACAAIAEgAiADIARBxgAQpAQLDQAgAEEaQSRBGRD/BQsOACAAQoCAgIDgfhCABguxAgICfwF8IwBBEGsiBCQAAn8CQANAAkACQAJAAn8CQAJAQQcgAkIgiKciAyADQQdrQW5JGyIDDggAAAAABQUFAQQLIAKnDAELIAJCgICAgMCBgPz/AHwiAkI0iKdB/w9xIgBBnQhLDQEgAr8iBZlEAAAAAAAA4EFjBEAgBaoMAQtBgICAgHgLIQNBAAwFC0EAIQNBACAAQdIISw0EGkEAIAJC/////////weDQoCAgICAgIAIhCAAQZMIa62GQiCIpyIDayADIAJCAFMbIQNBAAwECyADQXdGDQILIAAgAhCNASICQoCAgIBwg0KAgICA4ABSDQALQQAhA0F/DAELIARBDGogAqdBBGpBARCpASAAIAIQDyAEKAIMIQNBAAshACABIAM2AgAgBEEQaiQAIAALzgEBA38jAEEQayIEJAACQCABQoCAgIBwVARADAELIAGnIgIvAQZBMEYEQAJAIAAgBEEIaiABQeEAEIEBIgNFDQAgBCkDCCIBQoCAgIBwg0KAgICAMFEEQCAAIAMpAwAQmQEhAgwDCyAAIAEgAykDCEEBIAMQLyIBQoCAgIBwg0KAgICA4ABRDQAgACABECYhAiAAIAMpAwAQmQEiA0EASA0AIAIgA0YNAiAAQZDpAEEAEBULQX8hAgwBCyACLQAFQQFxIQILIARBEGokACACC4gDAgJ+An8jAEEQayIGJAACQCABQoCAgIBwVARAIAEhAwwBCyACQW9xIQUCQAJAAkAgAkEQcQ0AIAAgAUHQASABQQAQFCIEQoCAgIBwgyIDQoCAgIAgUSADQoCAgIAwUXINACADQoCAgIDgAFENASAGIABBxgBBFiAFQQFGG0HIACAFGxAtNwMIIAAgBCABQQEgBkEIahAvIQMgACAGKQMIEA8gA0KAgICAcINCgICAgOAAUQ0BIAAgARAPIANCgICAgHBUDQMgACADEA8gAEGW4QBBABAVDAILIAVBAEchBUEAIQID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AEGAIEEAEFBBfyEEQgAFIAILNwMACyADQRBqJAAgBAsRACAAIAEgASACIANBAhCKBAtTAQF/IAAoAhAiBEEQaiABIAIgBCgCCBEBACIBIAJFckUEQCAAEHwgAQ8LIAMEQCADIAEgACgCECgCDBEEACIAIAJrIgJBACAAIAJPGzYCAAsgAQvAAQAgAAJ/IAEoAggiAEH+////B04EQEEAIAJBAXENARpB/////wcgAEH+////B0cNARogASgCBEH/////B2oMAQtBACAAQQBMDQAaIABBH00EQEEAIAEoAhAgASgCDEECdGpBBGsoAgBBICAAa3YiAmsgAiABKAIEGwwBCyACQQFxRQRAQYCAgIB4Qf////8HIAEoAgQbDAELQQAgASgCECABKAIMIgIgAkEFdCAAaxBoIgJrIAIgASgCBBsLNgIACw0AIAAgASABED8QhQML+QECA34CfyMAQRBrIgUkAAJ+IAG9IgNC////////////AIMiAkKAgICAgICACH1C/////////+//AFgEQCACQjyGIQQgAkIEiEKAgICAgICAgDx8DAELIAJCgICAgICAgPj/AFoEQCADQjyGIQQgA0IEiEKAgICAgIDA//8AhAwBCyACUARAQgAMAQsgBSACQgAgA6dnQSBqIAJCIIinZyACQoCAgIAQVBsiBkExahBnIAUpAwAhBCAFKQMIQoCAgICAgMAAhUGM+AAgBmutQjCGhAshAiAAIAQ3AwAgACACIANCgICAgICAgICAf4OENwMIIAVBEGokAAu2AQEBfyMAQRBrIgMkAAJAAkAgAkEASARAIAEgAkH/////B3E2AgBBASECDAELIAAoAhAiACgCLCACTQ0BAn8CQCAAKAI4IAJBAnRqKAIAIgApAgRCgICAgICAgIBAg0KAgICAgICAgMAAUg0AIANBDGogABC9BUUNAEEBIAMoAgwiAEF/Rw0BGgtBACEAQQALIQIgASAANgIACyADQRBqJAAgAg8LQe/fAEGu/ABBvxhBryAQAAAL1QECAn8DfgJ/IAJFBEBCgICAgDAhBUEADAELIAAoAhAiAykDgAEhBSADQoCAgIAgNwOAAUF/CyEDAkAgACABQQYgAUEAEBQiB0KAgICAcIMiBkKAgICAIF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AFBABAUIgJCgICAgHCDQoCAgIDgAFENACAAIAIQOARAIAAgAiABQQEgA0EIahAvIgJC/////29WIAJCgICAgLB/g0KAgICAIFFyDQEgACACEA8gAEGK0wBBABAVQoCAgIDgACECDAELIAAgAhAPIAAgASADIANBCGoQ8QQhAgsgA0EQaiQAIAILowECA38BfiAAQRBqIQIgASgCACIEQQFqIQMCQCAAKQIEIgVCgICAgAiDUEUEQCACIARBAXRqLwEAIgBBgPgDcUGAsANHIAMgBadB/////wdxTnINASACIANBAXRqLwEAIgJBgPgDcUGAuANHDQEgAEEKdEGA+D9xIAJB/wdxckGAgARqIQAgBEECaiEDDAELIAIgBGotAAAhAAsgASADNgIAIAALUQEDfwJAA0AgAUKAgICAcFQNASABpyICLwEGIgRBMEYEQCACKAIgIgJFDQIgAi0AEQRAIAAQtgJBfw8LIAIpAwAhAQwBCwsgBEECRiEDCyADCxIAIAAgASACIAMgBEHKABCkBAtOAQF/IAAoAgwiBEUEQEEADwsgACAAKAIIQf////8DQYGAgIB8IAEgAUGBgICAfEwbIgEgAUH/////A04bajYCCCAAIAIgAyAEQQAQqgMLJQAgACABIAAoAhAoAowBIgAEfyAAKAIoQQJ2QQFxBUEACxCWBQsfAQF/IAAoAgwiA0UEQEEADwsgACABIAIgA0EAEKoDC90BAgJ/An4CQCAAIAApAzBBDxBJIghCgICAgHCDQoCAgIDgAFENACAAIARBA3RBCGoQKSIGRQRAIAAgCBAPDAELIAYgAzsBBiAGIAQ6AAUgBiACOgAEIAYgATYCAEEAIQMgBEEAIARBAEobIQEDQCABIANHBEAgBSADQQN0IgRqKQMAIglCIIinQXVPBEAgCaciByAHKAIAQQFqNgIACyAEIAZqIAk3AwggA0EBaiEDDAELCyAIQoCAgIBwWgRAIAinIAY2AiALIAAgCEEvIAIQlgMgCA8LQoCAgIDgAAuDCwIHfwF+IwBBIGsiCSQAAkACQAJAAkACQAJAAn8CQAJAAkACQAJAIAFCIIinQQFqDgUDAgIAAQILIAAgAxAPIAAgAkHm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BEAgESAIQQN0akKAgICAMDcDACAIQQFqIQgMAQsLIBMoAhQhCiAOIBYoAowBNgIwIBYgDkEwaiISNgKMASATKAIwIQYgESALQQN0aiIIIRwLQQAMAQtBAQshBwNAAkACQAJAAkAgB0UEQCAEQQN0IScgA0KAgICAcIMhMyARQQhqIR0gEUEQaiEeIBFBGGohHyAVQQhqISAgFUEQaiEhIBVBGGohIiASQRhqISggBkHIAWohGyAcQRhqISkgBkHAAWohGSACQiCIpyIkQX5xISogA0IgiKchKyAErSEyIAOnISUgDkEwaiEsIA5B6ABqISYgCCEHAkADQAJAIApBAWohDUIBIS5CgICAgDAhAQJ/AkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJ/AkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAgCi0AACIJQQFrDvUBAAElCZIBCgsMDQ4PEBESExQVGBYXGRobHCEiIyQdIB4fKScnKiorLNsB+gEtLi8w2QExMjM0NTY3ODk5Ojo7nwGiAT08Po8BkAGRAZMBlAGVAZ0B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aykDACIBQiCIp0F1TwRAIAGnIgcgBygCAEEBajYCAAsgCCABNwMIIAhBCGspAwAiAUIgiKdBdU8EQCABpyIHIAcoAgBBAWo2AgALIAggATcDECAIQRhqIQcM2wELIAggCEEIayIHKQMANwMAIAhBEGspAwAiAUIgiKdBdU8EQCABpyIKIAooAgBBAWo2AgALIAcgATcDACAIQQhqIQcM2gELIAggCEEIayIHKQMAIgE3AwAgByAIQRBrIgcpAwA3AwAgAUIgiKdBdU8EQCABpyIKIAooAgBBAWo2AgALIAcgATcDACAIQQhqIQcM2QELIAggCEEIayIHKQMAIgE3AwAgCEEQayIKKQMAIS0gCiAIQRhrIgopAwA3AwAgByAtNwMAIAFCIIinQXVPBEAgAaciByAHKAIAQQFqNgIACyAKIAE3AwAgCEEIaiEHDNgBCyAIIAhBCGsiBykDACIBNwMAIAhBEGsiCikDACEtIAogCEEYayIKKQMANwMAIAcgLTcDACAKIAhBIGsiBykDADcDACABQiCIp0F1TwRAIAGnIgogCigCAEEBajYCAAsgByABNwMAIAhBCGohBwzXAQsgCEEQayIHKQMAIQEgByAIQRhrIgcpAwA3AwAgByABNwMADNABCyAIQRhrIgcpAwAhASAHIAhBEGsiBykDADcDACAIQQhrIgopAwAhLSAKIAE3AwAgByAtNwMADM8BCyAIQSBrIgcpAwAhASAHIAhBGGsiBykDADcDACAIQRBrIgopAwAhLSAKIAhBCGsiCikDADcDACAHIC03AwAgCiABNwMADM4BCyAIQShrIgcpAwAhASAHIAhBIGsiBykDADcDACAIQRhrIgopAwAhLSAKIAhBEGsiCikDADcDACAHIC03AwAgCiAIQQhrIgcpAwA3AwAgByABNwMADM0BCyAIQQhrIgcpAwAhASAHIAhBEGsiBykDADcDACAIQRhrIgopAwAhLSAKIAE3AwAgByAtNwMADMwBCyAIQRBrIgcpAwAhASAHIAhBGGsiBykDADcDACAIQSBrIgopAwAhLSAKIAE3AwAgByAtNwMADMsBCyAIQRBrIgcpAwAhASAHIAhBGGsiBykDADcDACAIQSBrIgopAw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dU8EQCABpyIJIAkoAgBBAWo2AgALIAYgASAtEMQCIgFCgICAgHCDQoCAgIDgAFENTiAGIAcgARAgDEQLIAFCIIinQXVPBEAgAaciCSAJKAIAQQFqNgIACyAOIAE3AyAgDiAIKQMANwMoIAYgLBDTBQ1NIAYgByAOKQMgECAMQwsgCEEIayIHKQMAIgFCIIinIgwgCEEQayILKQMAIi1CIIinIg9yRQRAIC3EIAHEfSIBQoCAgIAIfEL/////D1YNBCALIAFC/////w+DNwMADEkLIA9BB2tBbUsgDEEHa0FtS3INAyALQoCAgIDAfiAtQoCAgIDAgYD8/wB8vyABQoCAgIDAgYD8/wB8v6G9IgFCgICAgMCBgPz/AH0gAUL///////////8Ag0KAgICAgICA+P8AVhs3AwAMSAsCfCAIQQhrIgcpAwAiLUIgiKciDCAIQRBrIgspAwAiLkIgiKciD3JFBEAgLcQgLsR+IgFCgICAgAh8QoCAgIAQWgRAIBItAChBBHFBACABQoCAgICAgIAQfUKBgICAgICAYFQbDQUgAbkMAgtEAAAAAAAAAIAgLSAuhEKAgICACINQIAFCAFJyRQ0BGiALIAFC/////w+DNwMADEkLIA9BB2tBbUsgDEEHa0FtS3INAyASLQAoQQRxDQMgLkKAgICAwIGA/P8AfL8gLUKAgICAwIGA/P8AfL+iCyE0IAtCgICAgMB+IDS9IgFCgICAgMCBgPz/AH0gAUL///////////8Ag0KAgICAgICA+P8AVhs3AwAMRwsgCEEIayIHKQMAIgEgCEEQayILKQMAIi2EQv////8PVg0BIBItAChBBHENASALAn4gLae3IAGnt6MiNL0iAQJ/IDSZRAAAAAAAAOBBYwRAIDSqDAELQYCAgIB4CyIIt71RBEAgCK0MAQtCgICAgMB+IAFCgICAgMCBgPz/AH0gAUL///////////8Ag0KAgICAgICA+P8AVhsLNwMADEYLIAhBCGsiBykDACIBIAhBEGsiCykDACIthEL/////D1YNACAtpyIMQQBIDQAgAaciD0EATA0AIAsgDCAPcK03AwAMRQsjAEEgayIHJAACfwJAAkACQAJAAn4CQAJAAk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EQ5gFFDUMMRwsCQAJ8IAhBCGsiBykDACIBQiCIpyIJRQRARAAAAAAAAACAIAGnIgpFDQEaRAAAAAAAAOBBIApBgICAgHhGDQEaIAdCACABfUL/////D4M3AwAMPwsgCUEHa0FtSw0BIAFCgICAgMD+/wN9vwshNCAHQoCAgIDAfiA0vSIBQoCAgIDAgYD8/wB9IAFC////////////AINCgICAgICAgPj/AFYbNwMADD0LIAghByAGIAhBjAEQ5gFFDUIMRgsgCEEIayIHKQMAIgFC/////w9WIAFC/////w+DQv////8HUXJFBEAgByABQgF8Qv////8PgzcDAAw8CyAIIQcgBiAIQY8BEOYBRQ1BDEULIAhBCGsiBykDACIBQv////8PViABQv////8Pg0KAgICACFFyRQRAIAcgAUIBfUL/////D4M3AwAMOwsgCCEHIAYgCEGOARDmAUUNQAxECyAGIAhBCGsiBykDABBsIgFCgICAgHCDQoCAgIDgAFEEQCAHQoCAgIAwNwMADEQLIAcgATcDACABQiCIp0F1TwRAIAGnIgcgBygCAEEBajYCAAsgCCABNwMAIAYgCEEIaiIHIAlBAmsQ5gFFDT8MQwsgCkECaiENIBEgCi0AAUEDdGoiBykDACIBQv////8PViABQv////8Pg0L/////B1FyRQRAIAcgAUIBfEL/////D4M3AwAMOQsgAUIgiKdBdU8EQCABpyIJIAkoAgBBAWo2AgALIA4gATcDYCAGICZBjwEQ5gENQiAGIAcgDikDYBAgDDgLIApBAmohDSARIAotAAFBA3RqIgcpAwAiAUL/////D1YgAUL/////D4NCgICAgAhRckUEQCAHIAFCAX1C/////w+DNwMADDgLIAFCIIinQXVPBEAgAaciCSAJKAIAQQFqNgIACyAOIAE3A2AgBiAmQY4BEOYBDUEgBiAHIA4pA2AQIAw3CyAIQQhrIgcpAwAiAUL/////D1gEQCAHIAFC/////w+FNwMADDcLIAghByMAQRBrIgkkAAJ/AkACQAJAIAhBCGsiCykDACIBQoCAgIBwVA0AIAYgCUEIaiABQZUBEMIFIgxBAEgNASAMRQ0AIAYgARAPIAsgCSkDCDcD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IQQhrIgcpAwAiASAIQRBrIgkpAwAiLYRC/////w9YBEAgCSABIC2DNwMADDkLIAYgCEGtARDDAkUNOAw8CyAIQQhrIgcpAwAgCEEQayIJKQMAhCIBQv////8PWARAIAkgATcDAAw4CyAGIAhBrwEQwwJFDTcMOwsgCEEIayIHKQMAIgEgCEEQayIJKQMAIi2EQv////8PWARAIAkgASAthTcDAAw3CyAGIAhBrgEQwwJFDTYMOgsgCEEIayIHKQMAIgEgCEEQayIJKQMAIi2EQv////8PWARAIAkgLacgAadIrUKAgICAEIQ3AwAMNgsgBiAIQaMBEJcDRQ01DDkLIAhBCGsiBykDACIBIAhBEGsiCSkDACIthEL/////D1gEQCAJIC2nIAGnTK1CgICAgBCENwMADDULIAYgCEGkARCXA0UNNAw4CyAIQQhrIgcpAwAiASAIQRBrIgkpAwAiLYRC/////w9YBEAgCSAtpyABp0qtQoCAgIAQhDcDAAw0CyAGIAhBpQEQlwNFDTMMNwsgCEEIayIHKQMAIgEgCEEQayIJKQMAIi2EQv////8PWARAIAkgLacgAadOrUKAgICAEIQ3AwAMMwsgBiAIQaYBEJcDRQ0yDDYLIAhBCGsiBykDACIBIAhBEGsiCSkDACIthEL/////D1gEQCAJIC2nIAGnRq1CgICAgBCENwMADDILIAYgCEEAENIFRQ0xDDULIAhBCGsiBykDACIBIAhBEGsiCSkDACIthEL/////D1gEQCAJIC2nIAGnR61CgICAgBCENwMADDELIAYgCEEBENIFRQ0wDDQLIAhBCGsiBykDACIBIAhBEGsiCikDACIthEL/////D1gEQCAKIC2nIAGnRq1CgICAgBCENwMADDALIAYgCEEAENEFDC8LIAhBCGsiBykDACIBIAhBEGsiCikDACIthEL/////D1gEQCAKIC2nIAGnR61CgICAgBCENwMADC8LIAYgCEEBENEFDC4LIAYgCCAWKALIAhEDAA0xIAhBCGshBwwtCyAIQQhrIgcpAwAiAUL/////b1gEQCAGQaH0AEEAEBUMMQsgBiAIQRBrIgwpAwAiLRAxIglFDTAgBiABIAkQcSELIAYgCR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gJQIAQgA0HQAGo2ArACIANCgICAgHA3AmAgAyABNgJcIAMgAjYCWCADIAk2AlQgBCgCvAEhBCADQQA2AmwgAyAENgJoIAAQEg0hIAAQwAEgACABEB4gABDyAQ0hIABB6QAgAhAcGiAAEKACDSEgAEHrACABEBwaIAAgAhAeIABBQGsoAgAiACAAKAKwAigCADYCsAIMIgsgAEFAayIBKAIAEDIhAiABKAIAEDIhBCABKAIAEDIhBSADIAEoAgAiASgCsAI2AlAgASADQdAAajYCsAIgA0KAgICAcDcCYCADIAI2AlwgAyAENgJYIAMgCTYCVCABKAK8ASEBIANBADYCbCADIAE2AmggABASDSAgACAFEB4gABDAASAAEKACDSAgACACEB4gAEG8fxAsDSAgABDyAQ0gIAAoAhBBO0YEQCAAEBINIQsgAEHqACAFEBwaIAAgBBAeIABBQGsoAgAiACAAKAKwAigCADYCsAIMIQsgABASDR8gABDAASADQQA2AhgCQCAAKAIQIgJBWkcEQEEBIQEgAkEoRw0BIAAgA0EYakEAEJ4BGgwBCyAAKAJALQBsQQJxRQRAIABBmTZBABAWDCELIAAQEg0gQQAhAQsgAEEoECwNH0EBIQQgAy0AGEEBcUUEQCAAKAIAIQogAEFAayICKAIAIggoArwBIQ8gCBAyIQcgAigCABAyIRAgAigCABAyIREgAigCABAyIRIgABCAARogAyACKAIAIgUoArACNgJQIAUgA0HQAGo2ArACIANBADYCbCADQoGAgIBwNwJgIAMgBzYCXCADIBE2AlggAyAJNgJUIAMgDzYCaCAAQesAQX8QHCEMIAIoAgAoAoQCIQsgACASEB4gACgCECECQVMhBQJAAkACQAJAIABBBBC9Aw4CAAEkCyACQUtGIQ0gAkFTRiEEIAQgAkGzf0ZyRSACQUtHcQ0BIAIhBQsgABASDSIgACgCECICQfsARiACQdsARnINEgJAIAJBg39GBEAgACgCKEUNAQsgAEHJ9wBBABAWDCMLIAogACgCIBAYIQYgABASBEAgACgCACAGEBMMIwsgACAGIAUQoQIEQCAAKAIAIAYQEwwjCyAAQb0BQb0BQbkBI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ABLwGkARAXIAQoAgAhAgsgAiACKAKwAigCADYCsAILIABB7gAQECAAIAcQHgwMCyAAIAJBABAWDAoLIABB6wAgAhAcGiAAEBINCQsgABC3AUUNCQwICyABIQQLIAAQEg0GIABBACAEQQAQzAMNBgsgACAAQUBrKAIAKAK8ASAGEJ8CCyAAQTsQLA0EIABBQGsiAigCABAyIQUgAigCABAyIQQgAigCABAyIQEgAigCABAyIQcgAyACKAIAIgIoArACNgIcIAIgA0EcajYCsAIgA0KAgICAcDcCLCADIAQ2AiggAyAHNgIkIAMgCTYCICACKAK8ASECIANBADYCOCADIAI2AjQgASECIAAoAhBBO0cEQCAAIAUQHiAAEJEBDQUgAEHpACAHEBwaIAUhAgsgAEE7ECwNBAJAIAAoAhBBKUYEQCADIAI2AihBACEFIAIhBAwBCyAAQesAIAEQHBogAEFAaygCACgChAIhBSAAIAQQHiAAEJEBDQUgAEEOEBAgASACRg0AIABB6wAgAhAcGgsgAEEpECwNBCAAQUBrIggoAgAoAoQCIQsgACABEB4gABCgAg0EIAAgCCgCACgCvAEgBhCfAgJAIAEgAkYgAiAERnJFBEAgAEFAayIGKAIAIgFBgAJqIgggASgChAIiCiALIAVrIgJqEMYBGiAIIAEoAoACIAVqIAIQciABKAKAAiAFakGzASACECsaIAYoAgAiAiABKAKEAkEFazYCmAIgBCACKAKsAiIBIAEgBEgbIQYgCiAFayEIA0AgBCAGRg0CIAIoAqQCIARBFGxqIgooAgQiASAFSCABIAtOckUEQCAKIAEgCGo2AgQLIARBAWohBAwACwALIABB6wAgBBAcGgsgACAHEB4gAEFAaygCACIBIAEoArACKAIANgKwAgwBCyAAQesAIBAQHBogAEFAaygCACgChAIhDSAAIAwQHgJAIAAoAhAiDEE9Rw0AAkAgABASRQRAIABBABC2AUUNAQsgCiAGEBMMBQsgBkUNACAAQbkBEBAgACAGEBogAEFAaygCACAILwG8ARAXCyAKIAYQEwJAAkACQCAAQcMAEEoiBARAIANBATYCbCADIAMoAmBBAmo2AmBBqd0AIQY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LIAELgAEBAn8CQAJAIAFFDQAgASgCACICQQBMDQEgASACQQFrIgI2AgAgAg0AIAEtAAVBAXEEQCAAIAEpAxgQIwsgASgCCCICIAEoAgwiAzYCBCADIAI2AgAgAUIANwIIIABBEGogASAAKAIEEQAACw8LQdaNAUGu/ABB9ChB6t0AEAAACxIAIAFB3gFOBEAgACABEOgFCwvbAQIBfwJ+QQEhBAJAIABCAFIgAUL///////////8AgyIFQoCAgICAgMD//wBWIAVCgICAgICAwP//AFEbDQAgAkIAUiADQv///////////wCDIgZCgICAgICAwP//AFYgBkKAgICAgIDA//8AURsNACAAIAKEIAUgBoSEUARAQQAPCyABIAODQgBZBEBBfyEEIAAgAlQgASADUyABIANRGw0BIAAgAoUgASADhYRCAFIPC0F/IQQgACACViABIANVIAEgA1EbDQAgACAChSABIAOFhEIAUiEECyAECy0BAX9BASEBAkACQAJAIABBDWsOBAIBAQIACyAAQTRGDQELIABBOEYhAQsgAQsfACAAIAEgACACEKoBIgIgAyAEEBkhBCAAIAIQEyAEC0QBAX9BfyEDIAAgACgCBCACahDGAQR/QX8FIAAoAgAgAWoiAyACaiADIAAoAgQgAWsQnAEgACAAKAIEIAJqNgIEQQALC44BAQF/IAAgBkEMEEkiBkKAgICAcINCgICAgOAAUgRAIAAgACgCAEEBajYCACAGpyIHIAU7ASogByAEOgApIAcgAzoAKCAHIAE2AiQgByAANgIgIAcgBy0ABUHvAXEgBEECa0EESUEEdHI6AAUgACAGIAAgAkHMngEgAhsQqgEiASADEJYDIAAgARATCyAGCykBAX9BfyEBAkAgAEEoECwNACAAEJEBDQBBf0EAIABBKRAsGyEBCyABC4IBAQN/IABBQGsiAygCACIBBEAgASgCvAEhAiAAQbUBEBAgAygCACACQf//A3EQFyABIAEoAswBIgMgAkEDdGooAgAiADYCvAEDQAJAIABBAEgEQEF/IQAMAQsgAyAAQQN0aiICKAIEIgBBAE4NACACKAIAIQAMAQsLIAEgADYCwAELC0cBAn8gACgCfCECAkADQCACQQBKBEAgACgC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EA8gACAOEA8gASADNwMAQQEMAQsgACAPEA8gACAOEA8gAUKAgICAMDcDAEF/CyEHIAlBIGokACAHC2MCAX8BfiMAQRBrIgIkACAAAn4gAUUEQEIADAELIAIgAa1CACABZyIBQdEAahBnIAIpAwhCgICAgICAwACFQZ6AASABa61CMIZ8IQMgAikDAAs3AwAgACADNwMIIAJBEGokAAvHAQIBfgF/AkAgACgCECgCjAEiA0UgAUL/////////D3xC/v///////x9Wcg0AIAMoAihBBHFFDQAgAUKAgICACHxC/////w9YBEAgAUL/////D4MPC0KAgICAwH4gAbm9IgFCgICAgMCBgPz/AH0gAUL///////////8Ag0KAgICAgICA+P8AVhsPCyAAEJcBIgJCgICAgHCDQoCAgIDgAFIEQCACp0EEaiABELoCRQRAIAIPCyAAIAIQDyAAEHwLQoCAgIDgAAuTAQECfwJ/IAAoAgggAmoiBCAAKAIMSgRAQX8gACAEQQAQtwINARoLAkAgACgCEARAIAJBACACQQBKGyEEA0AgAyAERg0CIAAoAgQgACgCCCADakEBdGogASADai0AADsBECADQQFqIQMMAAsACyAAKAIEIAAoAghqQRBqIAEgAhAfGgsgACAAKAIIIAJqNgIIQQALCyoBAX8gACgCECIDQRBqIAEgAiADKAIIEQEAIgEgAkVyRQRAIAAQfAsgAQtEAQJ/AkAgAEKAgICAcFQNACAApyIDLwEGQQJHDQAgAy0ABUEIcUUNACACIAMoAig2AgAgASADKAIkNgIAQQEhBAsgBAugBAIFfwF+IwBBIGsiBiQAAkACQAJAAkAgAwRAIAFCgICAgGCDQoCAgIAgUg0BDAILIAFCgICAgHBUDQELQQEhBAJAAkAgAkIgiKciCEEBag4EAAICAQILIAKnIQULIAFC/////29YQQAgAxsNAgJAIAGnIgcvAQZBMEYEQCAAIAZBGGogAUHgABCBASIFRQ0DIAUpAwAhCSAGKQMYIgFCgICAgHCDQoCAgIAwUQRAIAAgCSACIAMQiwIhBAwFCyAGIAI3AwggBiAJNwMAIAAgASAFKQMIQQIgBhAvIgFCgICAgHCDQoCAg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ACIAEpAgQiDEI+iKdGBEAgACABEMECIgRB3QFKDQUgASABKAIAQQFrNgIAIAQPCyAAKAI0IAAoAiRBAWsgASACELAFQf////8DcSIHcSIKQQJ0aiEDIAynQf////8HcSEFA0AgAiADKAIAIgRFDQIaAkAgACgCOCAEQQJ0aigCACIDKQIEIgxCIIinQf////8DcSAHRyAMQj6IpyACR3IgDKdB/////wdxIAVHcg0AIAMgASAFELsFDQAgBEHeAUgNBCADIAMoAgBBAWo2AgAMBAsgA0EMaiEDDAALAAsgAkEDRyEHQQMLIQUCQCAAKAI8DQBBACEEIABBEGoiCyAAKAI4QdMBIAAoAixBA2xBAm0iAiACQdMBTBsiAkECdCAAKAIIEQEAIghFDQEgACgCLCIJIQMgCUUEQCALQRAgACgCABEDACIGRQRAIAsgCCAAKAIEEQAADAMLIAZCgICAgICAgIBANwIEIAZBATYCACAGQQA2AAwgCCAGNgIAIAAgACgCKEEBajYCKEEBIQMLIAAgAzYCPCAAIAg2AjggACACNgIsIAkgAiACIAlJGyEEIAJBAWshBgNAIAMgBEYNASAAKAI4IANBAnRqQQEgA0EBaiICQQF0QQFyIAMgBkYbNgIAIAIhAwwACwALAkAgAQRAIAEpAgQiDEL//////////z9YBEAgASAMIAWtQj6GhDcCBAwCCyAAQRBqIAynIgJBH3UgAkH/////B3EgAkEfdnRqQRFqIAAoAgARAwAiAkUEQEEAIQQMBAsgAkEBNgIAIAIgAikCBEL/////d4MgASkCBEKAgICACIOEIgw3AgQgAiAMQoCAgIB4gyABKQIEQv////8Hg4Q3AgQgAkEQaiABQRBqIAEoAgQiA0H/////B3EgA0EfdnQgA0F/c0EfdmoQHxogACABEPYDIAIhAQwBCyAAQRBqQRAgACgCABEDACIBRQRAQQAPCyABQoGAgICAgICAgH83AgALIAAgACgCOCAAKAI8IgRBAnRqIgIoAgBBAXY2AjwgAiABNgIAIAEgBDYCDCABIAE1AgQgB61CIIaEIAWtQj6GhDcCBCAAIAAoAihBAWo2AiggBUEDRg0CIAEgACgCN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ykCBCIKIAUpAgR8Qv////8HgyILIApCgICAgHiDhDcCBCAEIAunakEAOgAADAELAn4CQAJAIAunQf////8HcSAKp0H/////B3FqIgdBgICAgARPBEAgAEHA2gBBABBGDAELIAAgByAKIAuEpyIGQR92EOoBIggNAQtCgICAgOAADAELIAhBEGohBAJAIAZBAE4EQCAEIANBEGogAygCBEH/////B3EQHyIEIAMoAgRB/////wdxaiAFQRBqIAUoAgRB/////wdxEB8aIAQgB2pBADoAAAwBCyAEIAMgAygCBEH/////B3EQwwUgBCADKAIEQQF0aiAFIAUoAgRB/////wdxEMMFCyAIrUKAgICAkH+ECyEKIAAgARAPDAELIAEhCgsgACACEA8gCgtAACAAAn8CfyADBEAgASgCJCACQQN0akEEagwBC0EAIAEoAiAiA0UNARogAyABLwEoIAJqQQR0agsoAgALENkBCw0AIAAgASACQQIQzgILNQEBfyMAQdAAayICJAAgAiAAKAIQIAJBEGogARCQATYCACAAQef5ACACEMYCIAJB0ABqJAALowECAX8BfiMAQRBrIgUkACAFIAQ2AgxBfyEEIAAgASAFQQxqENQBRQRAIAMoAgAiAEF8cSABIAIgAygCBCAAQQNxQQJ0QZTAAWooAgARIAAhBiADKAIAEOoFIAUoAgwiACAAKAIAQf////8DcTYCACADQoCAgIAwIAYgBkKAgICAcINCgICAgOAAUSIAGzcDAEF/QQAgABshBAsgBUEQaiQAIAQL9QEBA38jAEEQayIGJAAgBiAAOQMIIAYgAUEBayIHNgIAIAVBgAFB+PAAIAYQThogAyAFLQAAQS1GNgIAIAQgBS0AAToAACABQQJOBEAgBEEBaiAFQQNqIAcQHxoLIAEgBGpBADoAACACIQggASAFaiABQQFKakECaiECQQAhA0EAIQQDQCACIgFBAWohAiABLAAAIgUQjgYNAAsCQAJAAkAgBUEraw4DAQIAAgtBASEECyACIQELA0AgASwAACICENECBEAgAUEBaiEBIANBCmwgAmtBMGohAwwBCwsgCCADQQAgA2sgBBtBAWo2AgAgBkEQaiQAC5kHAgp/AX4jAEHwAGsiBSQAIAA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iAiACKAIMQYd/cSADQQN0QfgAcXI2AgwgAiABKAK8ASIDNgIEIAIgASgCwAE2AgggASgCzAEgA0EDdGogADYCBCABIAA2AsABCyAAC20BAX8gACABQfwBakEQIAFB+AFqIAEoAvQBQQFqEHhFBEAgASABKAL0ASIDQQFqNgL0ASABKAL8ASADQQR0aiIDQX82AgAgAyADLQAEQfgBcToABCADIAEoArwBNgIIIAMgACACEBg2AgwLIAMLxgMBBH8gAEFAayIFKAIAQbACaiEDA0BBACECAkADQCADKAIAIgNFDQEgAygCHARAIAFFBEAgAEEGEBALIABBhAEQEEGDASECIAAgBSgCAC0AbEEDRgR/IABBDhAQIABBDhAQIABBwgAQECAAQQYQGiAAQREQECAAQbABEBAgAEHqAEF/EBwhASAAQSQQECAFKAIAQQAQFyAAQYEBEBAgAEGLARAQIABB6wBBfxAcIQQgACABEB4gAEEOEBAgACAEEB5BDgVBgwELEBBBfSECQQEhAQsgAygCECACaiECIAMoAhRBf0YNAAtBD0EOIAEbIQQDQCACBEAgACAEEBAgAkEBayECDAELCyABRQRAIABBBhAQCyAAQe0AIAMoAhQQHBpBASEBDAELCwJAIABBQGsoAgAiAigCYARAAkAgAUUEQEF/IQIMAQsgAEEqEBAgAEHpAEF/EBwhAiAAQQ4QEAsgAEG4ARAQIABBCBAaIABBQGsoAgBBABAXIAAgAhAeQSghAgwBCyACLQBsIgMEQCABRQRAIABBBhAQQS4hAgwCC0EuIQIgA0EDRw0BIABBiwEQEAwBC0EoQSkgARshAgsgACACEBALXQECfwJAAkAgACgCmAIiAUEASA0AIAAoAoACIAFqLQAAIgBBI2siAUENTUEAQQEgAXRB5fAAcRsNAQJAIABB6wBrDgQCAQECAAsgAEHsAWtBAkkNAQtBASECCyACCy8AIAAgASACIAMQ4wIiAEEATgRAIAEoAnQgAEEEdGoiASABKAIMQQNyNgIMCyAACy4AIABBDBApIgAEQCAAIAM2AgggACACNgIEIAAgASgCEDYCACABIAA2AhALIAALawEBfwJAIAEoAqABIgNBAE4NAC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CyAAQRBqIAEoAiAgACgCBBEAAAsgACABKQMYECMgACABKQMAECMPC0GEhAFBrvwAQYmUAUHC6wAQAAALaAEBfgJAAkAgABA0IgNCgICAgHCDQoCAgIDgAFEEQCABIQMMAQsgACADQcAAIAFBBxAZQQBIDQAgACADQekAIAJBAEetQoCAgIAQhEEHEBlBAE4NAQsgACADEA9CgICAgOAAIQMLIAMLjAEBAn8CQANAIAFCgICAgHBUDQECQAJAAkACQAJAAkAgAaciAi8BBiIDQQxrDgUFAQMHAQALIANBMEYNASADQTRrDgUABgYGAAYLIAIoAiAoAjAPCyACKAIgIgJFDQQgAi0AEUUNASAAELYCQQAPCyACKAIgIQILIAIpAwAhAQwBCwsgAigCICEACyAACyIAIAAgAkEBahApIgAEQCAAIAEgAhAfIAJqQQA6AAALIAALjQMCA34EfwJAIAEoAggiBkH+////B04EQEEBIQcgAkEBcQ0BQv///////////wAhAyAGQf7///8HRw0BIAE0AgRC////////////AHwhAwwBCyAGQQBMBEAMAQsgBkE/TQRAIAEoAhAiCSABKAIMIgJBAnRqQQRrKAIAIQhCACAGQSBNBH4gCEEgIAZrdq0FIAJBAk8EfiACQQJ0IAlqQQhrNQIABUIACyAIrUIghoRBwAAgBmutiAsiA30gAyABKAIEGyEDDAELIAJBAXFFBEAgASgCBEUEQEL///////////8AIQNBASEHDAILQoCAgICAgICAgH8hA0EBIQcgBkHAAEcNASABKAIQIAEoAgwiAUECdGoiAkEEazUCAEIghiEEIAFBAk8EfiACQQhrNQIABUIACyAEhEKAgICAgICAgIB/UiEHDAELQgAgASgCECIIIAEoAgwiAiACQQV0IAZrIgYQaK0gCCACIAZBIGoQaK1CIIaEIgN9IAMgASgCBBshAwsgACADNwMAIAcLMwEBfyAAKAIAKAIQIgFBEGogACgCBCABKAIEEQAAIABBADYCDCAAQgA3AgQgAEF/NgIUC0YAIAJBAEwEQCAAQS8QLQ8LIAAgAkEAEOoBIgBFBEBCgICAgOAADwsgAEEQaiABIAIQHyACakEAOgAAIACtQo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AAtBASECCyACC6cFAgl/An4jAEEgayIDJAACQCABKQNAIgtCgICAgHCDQoCAgIAwUQRAQoCAgIDgACEMIABBCxB2IgtCgICAgHCDQoCAgIDgAFENASADQgA3AxggA0IANwMQIANCADcDCCAAIANBCGogAUEAEK8FIQQgACgCECICQRBqIAMoAgggAigCBBEAAAJAAkAgBARAIAMoAhQhBgwBCyALpyEHIAMoAhwiCEEAIAhBAEobIQkgAygCFCEGQQAhBAJAA0AgBCAJRwRAAkACQAJAIAYgBEEMbGoiAigCCCIFBEAgAyABNgIADAELAkAgACADIANBBGogASACKAIAEPQDIgUOBAAGBgIGCyADKAIEIQULIAUoAgxB/QBGBEAgAkECNgIEIAIgAygCACgCECAFKAIAQQN0aigCBDYCCAwCCyACQQE2AgQgBSgCBCIKBEAgAiAKNgIIDAILIAIgAygCACgCSCgCJCAFKAIAQQJ0aigCADYCCAwBCyACQQA2AgQLIARBAWohBAwBCwsgBiAIQQxBwQAgABC+AkEAIQQDQCAEIAlGDQMCQAJAAkAgBiAEQQxsaiICKAIEQQFrDgIAAQILIAIoAgghBSAAIAcgAigCAEEmEHoiAkUNBCAFIAUoAgBBAWo2AgAgAiAFNgIADAELIAAgCyACKAIAQQEgAigCCEEGEJUDQQBIDQMLIARBAWohBAwACwALIAAgBSABIAIoAgAQ8wMLIAAoAhAiAUEQaiAGIAEoAgQRAAAgACALEA8MAgsgACgCECIEQRBqIAYgBCgCBBEAACAAIAtB1wEgAEH+ABAtQQAQGRogByAHLQAFQf4BcToABSABIAs3A0ALIAtCIIinQXVPBEAgC6ciACAAKAIAQQFqNgIACyALIQwLIANBIGokACAMC4kEAgR+An8CQAJAIAG9IgRCAYYiA1ANACABvSECIAC9IgVCNIinQf8PcSIGQf8PRg0AIAJC////////////AINCgYCAgICAgPj/AFQNAQsgACABoiIAIACjDwsgAyAFQgGGIgJaBEAgAEQAAAAAAAAAAKIgACACIANRGw8LIARCNIinQf8PcSEHAn4gBkUEQEEAIQYgBUIMhiICQgBZBE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AIAAgASACIAMQpwEiAUKAgICAcINCgICAgOAAUQ0AAkAgACABEJIBIgVBAEgNACACQQFHDQEgAykDACIGQiCIp0F1TwRAIAanIgIgAigCAEEBajYCAAsgACAEQQhqIAYQowENACAEKQMIIAWtVw0BIABB0NQAQQAQFQsgACABEA9CgICAgOAAIQELIARBEGokACABC5gBAQR/IAGnIgYvAQZB5aYBajEAACEBIABBGBApIgVFBEAgACACEA9Bfw8LIAKnIgcoAiAhACAFIAQgAYY+AhQgBSADpyIINgIQIAUgBzYCDCAFIAY2AgggACgCDCIHIAU2AgQgBSAAQQxqNgIEIAUgBzYCACAAIAU2AgwgBiAEPgIoIAYgBTYCICAGIAAoAgggCGo2AiRBAAuoAgEEfyAAKAIQIQYCQAJAIAAgASADEGUiAUKAgICAcINCgICAgOAAUQ0AIAJCgICAgAhaBEAgAEH22ABBABBQDAILIABBHBApIgRFBEBBACEEDAILIAQgAqciBTYCAAJAAkAgA0EURw0AIAYoArgBIgdFDQAgBCAGKALEAUEBIAUgBUEBTBsgBxEDACIGNgIIIAZFDQMgBkEAIAUQKxoMAQsgBCAAQQEgBSAFQQFMGxBfIgU2AgggBUUNAgsgBEHSADYCGCAEQQA2AhQgBEEAOgAEIAQgBEEMaiIANgIQIAQgADYCDCAEIANBFEY6AAUgAUKAgICAcFQNACABpyAENgIgCyABDwsgACABEA8gACgCECIAQRBqIAQgACgCBBEAAEKAgICA4AALGwAgASgCIARAIAAgAUEoahD+AiABQQA2AiALC2YCAn8BfiMAQRBrIgMkAEF/IQQCQCAAIAFCABBNIgVCgICAgHCDQoCAgIDgAFENACAAIANBDGogBRCYAQ0AIAAgAUEAIAMoAgwgAmoiAK0QpQFBAEgNACAARSEECyADQRBqJAAgBAsNACAAIAEgAkEBEIMFCyEAIAEoAgRBBUcEQCABQQU2AgQgACgCECABQQhqEP4CCwuRAQEDfwJAIAAoAggiBEH9////B0oNACACQQZGBEAgASADSA8LIARBgICAgHhGIAFBAmogA0pyDQAgACgCECIGIAAo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gASADRnINASAAIAFGDQICQAJAIAIoAgwiCARAIAMoAgwiCQ0BC0EAIQQgAEEAEIkBAkAgAigCCCIAQf////8HRwRAIAMoAggiA0H/////B0cNAQsgARA1DAILIABB/v///wdHIANBgICAgHhHcUUEQCABEDVBASEEDAILIAEgAhBEGiABQf////8DQQEQzgEhBAwBCyACKAIEIgcgAygCBHMhCgJAAkACQAJAAkAgBEECaw4FAAEEAgMECyAKIQYMAwsgCkEBcyEGDAILQQEhBgwBCyAHIQYLIAUgAigCCCIHNgIkIAIoAhAhCyAFIAg2AiggBSALNgIsIAVBADYCICAFIAMoAggiCDYCECADKAIQIQMgBSAJNgIUIAUgAzYCGCAFQQA2AgwCQCAFQRxqIAVBCGoQ0wFBAEgEQCAAQgAQMBogASAFQRxqEEQaDAELIAAgBUEcaiIJIAVBCGoiC0EBIAcgCGsiAyADQQFMG0EBakEBEJUBGiAAQQEQ0QEaIAEgACALQf////8DQQEQQxogASAJIAFB/////wNBARDkARoLAkAgACgCCCIHQf////8HRg0AIAEoAghB/////wdGDQACQCABKAIMRQ0AAkACQAJAIAQOBQABAQEAAQsgBSAFKAIQIgZBAWs2AhAgASAFQQhqENMBIQMgBSAGNgIQIANBAEoNASADDQIgBEEERg0BIAAoAhAgACgCDCIDIANBBXQgB2sQmQINAQwCCyAGRQ0BCyAAIABCAUH/////A0EBEHUgASABIAVBCGpB/////wNBARDkAXJBIHENAQsgASABKAIEIAIoAgRzNgIEIAAgCjYCBCABQf////8DQQEQzgEhBAwBCyAAEDUgARA1QSAhBAsgBUEwaiQAIAQPC0HD/QBB1PwAQcwNQd/SABAAAAtBsv0AQdT8AEHNDUHf0gAQAAALQfHIAEHU/ABBzg1B39IAEAAAC/cBAQR/IwBBIGsiByQAAkAgAkEBRgRAIAAgATUCABAwIQMMAQsgBEEBdCADQQFqIgl2QQFqQQF2IQggBiADQRRsaiIKKAIMRQRAIAogBSAIQf////8DQQEQ/AIiAw0BCyAAIAEgCEECdGogAiAIayAJIAQgBSA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I0Gq2gAQAAAL8gIBA38jAEFAaiIGJAACQCAEIANrIghBAUYEQAJAIANFBEAgAUIDEDAaDAELIAEgA60QMBogAUEBNgIECyACIANBAXRBAXKtEDAaIAIgAigCCEECajYCCCAAIAEQRBoMAQsgACgCACEHIAAgASACIAMgCEEBdiADaiIDQQEQoAQgBkIANwI4IAZCgICAgICAgICAfzcCMCAGIAc2AiwgBkIANwIkIAZCgICAgICAgICAfzcCHCAGIAc2AhggBkIANwIQIAZCgICAgICAgICAfzcCCCAGIAc2AgQgBkEsaiIHIAZBGGogBkEEaiIIIAMgBCAFEKAEIAAgACAIQf////8DQQEQQxogByAHIAFB/////wNBARBDGiAAIAAgB0H/////A0EBEMsBGiAFBEAgASABIAZBGGpB/////wNBARBDGgsgAiACIAZBBGoiAEH/////A0EBEEMaIAZBLGoQGyAGQRhqEBsgABAbCyAGQUBrJAALzgUCB38DfiMAQTBrIggkAAJ/AkACQAJAAkACQCADDgMAAQIDC0HcjAFB1PwAQbUaQZb8ABAAAAsgASACKAIQIAIoAgwiACAAQQV0IAIoAghrEGg2AgAMAgsgAigCECIDIAIoAgwiACAAQQV0IAIoAghrIgJBIGoQaK1CIIYgAyAAIAIQaK2EIQ8gBkGAlOvcA0YEQCABIA9CgJTr3AOAIhA+AgQgASAQQoDslKMMfiAPfD4CAAwCCyABIA8gBq0iEIAiET4CBCABIA8gECARfn0+AgAMAQsgAigCACEKIAhCADcCKCAIQoCAgICAgICAgH83AiAgCCAKNgIcIAhCADcCFCAIQoCAgICAgICAgH83AgwgCCAKNgIIIAMgBUEBdCAEQQFqIgt2QQFqQQF2IgprIQwgACAEQQF0QQFyQRRsaiENQQAhAyAAIARBKGxqIgQoAgxFBEAgBCAGIApB/////wNBARD8AiAIQQhqIglCARAwciANIAkgBCAKQQFqIAdsQQJqQQAQlQFyIQkLAkACQCAIQRxqIg4gAiANIAcgDGxBABBDIAlyIA5BARDRAXIgCEEIaiIJIA4gBEH/////A0EBEENyIAkgAiAJQf////8DQQ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ACAgACC0EAIQQgASgCiAEiAkEAIAJBAEobIQhBACEDA0AgAyAIRg0CQQAhAgJAIAEoAoABIgUgA0EEdGooAgAiBkUNAANAAkAgAiADRgRAQQAhAiABKAJ8IgVBACAFQQBKGyEFA0AgAiAFRg0EIAYgASgCdCACQQR0aiIHKAIARgRAIAcoAgRFDQMLIAJBAWohAgwACwALIAJBBHQhByACQQFqIQIgBSAHaigCACAGRw0BCwtBmCQhAwwCCyADQQFqIQMMAAsACyAAIANBABAWQX8hBAsgBAtaAQJ/IABBQGsiAyABKAIANgIAIABBKRAQIAMgAygCACgCBCICNgIAIAAoAgAgAkKAgICAIBC+AyECIAEoAgAgAjYCCCAAQQMQECADKAIAIAIQOSAAQdAAEBALRwEBfwJ/QQAgASgCCA0AGiABKAIAIgIEfyACBUF/IAAgARDeBA0BGiABKAIACygCgAIgASgCDGpBCjoAACABQQE2AghBAAsL3AEBAn8gACgCACAAQUBrIgMoAgBBAEEAIAAoAgxBABDoAyICRQRAIAFBADYCAEF/DwsgAkEANgJwIAJBADYCYCACQoCAgIAQNwJIIAJCATcCMCACQYAMOwFsIAJCATcCWCACQgE3AlAgASACNgIAIAMgAjYCACAAQQkQECABIAEoAgAoApgCNgIMIABB6QBBfxAcIQEgAEG4ARAQIABBCBAaIAMoAgBBABAXIABBuAEQECAAQfMAEBogAygCAEEAEBcgAEEtEBAgACABEB4gAyADKAIAKAIENgIAQQAL3gQBCX8jAEEQayIGJAAgACAAKQOAARAjIABBEGohAyAAQaABaiEEIAAoAqQBIQEDQCABIARGRQRAIAEoAgQhBUEAIQIDQCACIAEoAhBORQRAIAAgASACQQN0aikDGBAjIAJBAWohAgwBCwsgAyABIAAoAgQRAAAgBSEBDAELCyAAIAQ2AqQBIAAgAEGgAWo2AqABIAAQogUgACgCVCAAQdAAakYEQEEAIQIDQAJAIAAoAkQhASACIAAoAkBODQAgASACQRhsaiIBKAIABEAgACABKAIEEOwBCyACQQFqIQIMAQsLIAMgASAAKAIEEQAAIAAoAp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IinQXVPBEAgCKciAiACKAIAQQFqNgIACyABIAd8IQogAUIBfCEBIAAgBiAKIAgQhgFBAE4NAQwDCwsgACAGQTAgBUKAgICACHwiAUL/////D1gEfiAFQv////8PgwVCgICAgMB+IAW5vSIHQoCAgIDAgYD8/wB9IAdC////////////AINCgICAgICAgPj/AFYbCxBFQQBIDQELIAAgBhAPIAVC/////w+DIAFC/////w9YDQEaQoCAgIDAfiAFub0iAUKAgICAwIGA/P8AfSABQv///////////wCDQoCAgICAgID4/wBWGwwBCyAAIAYQD0KAgICA4AALIQEgDEEQaiQAIAEL0gMCB38DfiMAQSBrIgQkACAEQQA2AgwgBEEANgIIAkACQCAEIAAoAhAoAnhJBEAgABDpAQwBCyAAIAEgAiABQQAQFCILQoCAgIBwg0KAgICA4ABRBEAgCyEBDAILAkACQCALQoCAgIBwVA0AIAAgCxDKASIKQQBIDQECQCAKBEAgACAEQQxqIAsQ1gFFDQEMAwsgACAEQQhqIARBDGogC6dBERCOASEJIAQoAgghBSAJQQBIDQILIAQoAgwhCANAIAcgCEYNAQJAIAoEQCAAIAcQqQUiBkUNBAwBCyAAIAUgB0EDdGooAgQQGCEGCwJ/AkAgACALIAYgAxD5BCINQoCAgIBwgyIMQoCAgIAwUgRAIAxCgICAgOAAUg0BIAAgBhATDAULIAAgCyAGQQAQ1QEMAQsgACALIAYgDUEHEBkLIQkgACAGEBMgB0EBaiEHIAlBAE4NAAsMAQsgACAFIAgQWkEAIQUgACACEFwiDEKAgICAcINCgICAgOAAUQ0AIAQgCzcDGCAEIAw3AxAgACADIAFBAiAEQRBqECEhASAAIAwQDyAAIAsQDwwCCyAAIAUgBCgCDBBaIAAgCxAPC0KAgICA4AAhAQsgBEEgaiQAIAELPwEBfyABQQAgAUEAShshAQNAAkAgASADRgRAQX8hAwwBCyAAIANBA3RqKAIEIAJGDQAgA0EBaiEDDAELCyADC/8EAgJ/BH4CQCACQv////9vWARAIAAQJAwBCwJAIAAgAkE9EHEEf0KAgICAMCEFQoCA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A0KBgICAgICA+P8AVA8LAn9BfyADQoCAgICAgID4/wBWIAAgAWNyDQAaQQEgACABZA0AGkEAIABEAAAAAAAAAABiDQAaIARCAFMEQCACQj+Hp0F/cw8LIAJCP4inCwswACABQoCAgIAQhEKAgICAcINCgICAgDBRBEAgACABEDcPCyAAIAFBOEEAQQAQrQILKQEBfyACQiCIp0F1TwRAIAKnIgMgAygCAEEBajYCAAsgACABIAIQxQULUgIBfwF+QoCAgIDgACEEIAAgASACEJMBIgMEfiADKAIgIgMoAgwoAiAtAAQEQCACRQRAQgAPCyAAEGtCgICAgOAADwsgAzUCEAVCgICAgOAACws4ACAAIAEgAhCTASIARQRAQoCAgIDgAA8LIAAoAiAoAgwiACAAKAIAQQFqNgIAIACtQoCAgIBwhAtRAgF+AX8gACAAKQOQAUEDEEkiAkKAgICAcINCgICAgOAAUgRAIAFCIIinQXVPBEAgAaciAyADKAIAQQFqNgIACyAAIAJBNCABQQMQGRoLIAILlQEBA38jAEEQayIEJAAgBCACNwMIIAEoAgAiBSABKAIEIgY2AgQgBiAFNgIAIAFCADcCACAAIAAgAUEgaiADQQN0aikDAEKAgICAMEEBIARBCGoQIRAPIAAgASkDEBAPIAAgASkDGBAPIAAgASkDIBAPIAAgASkDKBAPIAAoAhAiAEEQaiABIAAoAgQRAAAgBEEQaiQAC40BAQN/IwBBEGsiBCQAIAQgATcDCCADQQF0IQZBACEDA0ACQAJAIANBAkYNACAAQcwAQQEgAyAGakEBIARBCGoQzwEiAUKAgICAcINCgICAgOAAUg0BQX8hBSADQQFHDQAgACACKQMAEA8LIARBEGokACAFDwsgAiADQQN0aiABNwMAIANBAWohAwwACwALyAYCBn8CfiMAQTBrIgMkACABQQhqIQUgAUHIAGohBgJAAkACQAJAA0AgASgCTCICIAZGDQQCQAJAAn8CQAJAAkACQCABKAIEIgQOBgACAgULAQYLIAIoAghFDQIgACABEOADDAYLAkACQCACKAIIDgIIAAELIAFBBDYCBCADIAIpAxA3AyggACAAKQNQIAEgA0Eo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yIGEHIgBiAKaiEKIAUgBmohBQwACwALIABBATYCDCAHQQxqIQgLIAEgCEcEQCAIEBsLIAdB8ABqJAALwgECA38BfiAAIABBH3UiA3MgA2shA0EAAn8gASABQQFrIgRxRQRAQSAgBGciBWshBCACBEBBHyAFa0EAIABBAE4bIANqIARuDAILIARBACABQQJPGyADbAwBCyAAQX9zQR92IQQgAUECayEBIAQCfiACBEAgA60iBiABQQN0IgFB5KEEajUCAH5CIIggAUHgoQRqNQIAIAZ+fEIfiAwBCyABQQJ0QYCkBGo1AgAgA61+Qh2IC6dqCyIBayABIABBAEgbC0gBAn8jAEEQayICJABBfyEDAkAgACACQQxqIAEQugENACACKAIMIgNBJWtBXEsNACAAQdmJAUEAEFBBfyEDCyACQRBqJAAgAwt1AQF/AkAgAUKAgICAcINCgICAgOB+UQRADAELAkAgAUKAgICAcFQNACABpyICLwEGQSFHDQAgAikDICIBQoCAgIBwg0KAgICA4H5SDQAMAQsgAEGiLEEAEBVCgICAgOAADwsgAaciACAAKAIAQQFqNgIAIAELrgICAXwBfwJAA0ACQAJAAkACQAJAQQcgAkIgiKciBCAEQQdrQW5JG0EJag4RAgMDAwMDAwMDAAAAAAMDBAEDCyABIALENwMADAULIAJCgICAgMCBgPz/AHwiAkL///////////8Ag0KBgICAgICA+P8AWgRAIAFCADcDAAwFCyACvyIDRAAAAAAAAODDYwRAIAFCgICAgICAgICAfzcDAAwFCyADRAAAAAAAAOBDZARAIAFC////////////ADcDAAwFCyABAn4gA5lEAAAAAAAA4ENjBEAgA7AMAQtCgICAgICAgICAfws3AwAMBAsgASACp0EEakEAEIIDGiAAIAIQDwwDCyAAIAIQjQEiAkKAgICAcINCgICAgOAAUg0BCwsgAUIANwMAQX8PC0EAC7ECAQJ/IwBBIGsiBCQAAkACQAJAIAIoAgxFBEACQAJAAkACQCACKAIIQf7///8Haw4CAQACCyAAEDUMAgsgAigCBA0DCyAAIAIQRBoLQQAhAiABRQ0DIAFCABAwGgwDCyACKAIERQ0BCyAAEDVBASECIAFFDQEgAUIAEDAaDAELIAAgAiACKAIIQQFqQQJtQQEQkQYgAEEBENEBGiABIgNFBEAgACgCACEDIARCADcCGCAEQoCAgICAgICAgH83AhAgBCADNgIMIARBDGohAwsgAyAAIABB/////wNBARBDGiADIAMoAgRBAXM2AgQgAyADIAJB/////wNBARDLARpBICECIAMoAghB/////wdHBEAgAygCDEEAR0EEdCECCyABDQAgAxAbCyAEQSBqJAAgAgsMACAAIAEQiANBAEwLDQAgACABIAJBAhDjAwvRDAEIfyMAQYABayIFJAACQAJAAkACQAJAAkACQAJAAkACQAJAAkAgASgCDARAIAIoAgwNAQsgAigCCEGAgICAeEYEQCAAQgEQMBoMCwsgASgCCEH/////B0YNCSAAQgEQMBoCQCABIAAQ0wEiAyAEQYCABHFFckUEQCACKAIIQf7///8HTg0LDAELIAMNAgsgASgCBEUNCiACKAIIQf////8HRg0JDAoLIAAoAgAhByAFQgA3AjwgBUKAgICAgICAgIB/NwI0IAUgBzYCMCAFQTBqIAEQRBogAhCxAiEKIAQhCCABKAIEBEAgCkEASARAIAAQNSAFQTBqEBtBASEGDAwLIAUgBSgCNEEBczYCNCAKRSIMIARBBnFBAkZxIARzIQgLIABCARAwGiAFQTBqIAAQggINBCAFQgA3AiggBUKAgICAgICAgIB/NwIgIAUgBzYCHCAFQgA3AhQgBUKAgICAgICAgIB/NwIMIAUgBzYCCCAFQRxqIgEgBUEwaiIJQSBBAhCfBCAFQQhqIgYgCUEgQQMQnwQgASABIAJBICACKAIEQQJzEEMaIAYgBiACQSAgAigCBEEDcxBDGkEAIQYCQCAFKAIQQQBMDQAgBUIANwJkIAVCgICAgICAgICAfzcCXCAFIAc2AlggBUIANwJQIAVCgICAgICAgICAfzcCSCAFIAc2AkQgBUHEAGoiCUEgQQMQ0wIgBUIANwJ4IAVCgICAgICAgICAfzcCcCAFIAUoAlg2AmwgBUHsAGoiB0GAgICAAkEBQRwgCEEFdkE/cSIBa3QgAUE/RhsiAawQMBogBUHYAGoiC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VBMGogAyAIQckAIAIQngQhBgsgBUEwahAbIAAgDDYCBAwFC0HO0ABB1PwAQaElQfEhEAAACyABKAIEIAIQsQJFcSEDIAIoAgQgASgCCEGAgICAeEZGBEAgACADEIwBQQIhBiACKAIERQ0DDAQLIAAgAxCJAQwCCyACKAIEIANBAEpGBEAgAEEAEIkBDAILIABBABCMAQwBCyAAEDULQQAhBgsgBUGAAWokACAGC1MBAn8jAEEgayIEJAAgACgCACEFIARCADcCGCAEQoCAgICAgICAgH83AhAgBCAFNgIMIARBDGoiBSAAIAEgAiADEOQDIQAgBRAbIARBIGokACAAC4gCAgJ/AX4jAEEQayIEJAACQAJAIAFCgICAgHCDQoCAgIDgflINACABpyEDAkAgAkUNACAEQQhqIANBBGpBABCCAw0AIAQpAwgiBUKBgICAgICAcFMgBUL/////////D1VyDQAgACABEA8gBUKAgICACHxC/////w9YBEAgBUL/////D4MhAQwCC0KAgICAwH4gBbm9IgFCgICAgMCBgPz/AH0gAUL///////////8Ag0KAgICAgICA+P8AVhshAQwBCyADKAIMQYCAgIB4Rw0AIAMoAghFDQAgAygCAEEBRw0BIANBADYCCAsgBEEQaiQAIAEPC0HjjAFBrvwAQbHgAEGSjAEQAAALQAEDf0EBIABB3qgEai0AACIBIAFBAU0bIQNBASECIAAhAQNAIAIgA0ZFBEAgAkEBaiECIAAgAWwhAQwBCwsgAQu2FQMJfwx+AnwjAEFAaiICJAAgAkEAQcAAECshBCABQQBB0AEQKyICIAA1AhA3AxggAiAANQIUNwMAIAA1AhghCyACQgI3AyAgAiALNwMIIAIgACgCQEEDdEHwAmqtNwMQIABBzABqIQEgAEHIAGohCANAIAEoAgAiBSAIRkUEQCAFKAIQIQEgAiACKQMgQgJ8NwMgIAIgAikDECAAKAJAQQN0QYgCaq18NwMQIAIgAikDwAEgBTMBCHw3A8ABIAIgAikDyAEgBTQCDHw3A8gBAkAgAUUNACABLQAQDQAgASgCGCEDIAIgAikDaEIBfDcDaCACIAIpA3AgA0ECdCABKAIcQQ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ICAgICAgICAfws3AyAgBEFAayQAC1ABAn8DQCABLAAAIgQEQCAEIAAsAAAiA0EgaiADIANBwQBrQRpJG0cEQEEADwUgAUEBaiEBIABBAWohAAwCCwALCyACBEAgAiAANgIAC0EBC70HAgp/AX4jAEHgAGsiAyQAQoCAgIDgACENAkAgACADQQxqIAEQuwEiBkUNACAGKAIEIgwhBSAGKAIIIgRBgICAgHhGBEAgBkEANgIEQQAhBQsgBigCACEKIANCADcDUCADQgA3A0ggAyAKNgJcIANBxQA2AlgCfwJAAkAgBEH/////B0YEQCADQcgAakGBgwEQ+wIMAQsgBQRAIANByABqQS0QESAGKAIIIQQLIARB/v///wdGBEAgA0HIAGpB9RwQ+wIMAQtBACEFIANCADcCQCADQoCAgICAgICAgH83AjggAyAKNgI0IAIgAkEBayIIcUUEQEEgIAhna0EAIAJBAk8bIQULAkACQAJAAkAgBQRAIANBNGogBhBEDQEgA0E0akEAQREQzgFBIHENASADKAI8IgQgBUEBa0EAIARBAE4baiAFbSEFIARBgICAgHhGBEAgA0HIAGpBqJABEPsCDAULQQAhBCAFQQBKDQIgA0HIAGpBvZABEPsCQQAgBWshAgNAIAIgBEYNBSADQcgAakEwEBEgBEEBaiEEDAALAAsgAyAGKAIQNgIwIAMgBigCDCIFNgIsIANBADYCJCADIAQ2AiggBEEAIARBAEobIAJBARCNBUEBaiEIAkAgBQRAIAggAkEAEI0FIQVBECEEA0AgA0E0aiILIAJBACAEIAVqIglBAWoiB0HgDxD8AiALIAsgA0EgaiAHQeAPEENyIgdBIHENAyAHQRBxRQ0CIANBNGogAygCPEEBIAkQ4QMNAiAEQQJtIARqIQQMAAsACyADQTRqIANBIGoQRA0BDAMLIANBNGpBARDRAUEgcUUNAgsgA0E0ahAbDAQLIANByABqIANBNGogAiAFIAUQjAUMAQsgAygCTCEFIANByABqIANBNGogAiAIIAgQjAUgAygCTCIJIAVBAWoiAiACIAlJG0EBayEIIAMoAkghByAFIQQDQAJAIAkgBCICQQFqIgRNBEAgCCECD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GNgIICyAAKAIQIgJBEGogASgC/AEgAigCBBEAACABQgA3AvQBIAFBADYC/AEMCwsgA0GABmoiAkEDEBEgAiAJKAIAEB0gAkHAABARIAIgACAJKAIMEBgQHSACIBEQEQsgACAJKAIMEBMgBEEBaiEEDAALAAtBhSlBrvwAQYzyAUH7ORAAAAtBmoIBQa78AEHY6wFB3/QAEAAAC0GuhAFBrvwAQZvrAUHf9AAQAAALA0AgAiAOTkUEQCADQYAGaiACIA1qIgQgBC0AAEECdEGAuAFqLQAAIgQQciACIARqIQIMAQsLIAwQ9gEgDCADKQOQBjcCECAMIAMpA4gGNwIIIAwgAykDgAY3AgAMDAsgDBD2ASAMIAMpA5AGNwIQIAwgAykDiAY3AgggDCADKQOABjcCAAJAIAEoAowCDQAgASgCpAIhDSADIAEoAvACNgKYBiADIAEoAoACIgk2AtwFIAMgASgChAIiCzYC4AUgACgCECECIANCADcDiAYgA0IANwOABiADIAI2ApQGIANBOzYCkAYgASgC0AIiAgRAIAEgASgCACACQQR0EF8iAjYCzAIgAkUNDQsCQCABKALcAiICRQ0AIAEtAG5BAnENACABIAEoAgAgAkEDdBBfIgI2AtgCIAJFDQ0gAUEANgLoAiABIAEoAvACNgLkAgsgASgCtAFBAE4EQCADQYAGaiICQQwQESACQQQQESACQdkAIAEoArQBEF0LIAEoArABQQBOBEAgA0GABmoiAkEMEBEgAkECEBEgAkHZACABKAKwARBdCyABKAKsAUEATgRAIANBgAZqIgJBDBARIAJBAxARIAJB2QAgASgCrAEQXQsCQCABKAKoAUEASA0AIAEoAmAEQCADQYAGaiICQeEAEBEgAiABLwGoARAqDAELIANBgAZqIgJBCBARIAJB2QAgASgCqAEQXQsgASgCmAFBAE4EQEEAIQIgAS0AbkEBcUUEQCABKAI4QQBHIQILIANBgAZqIgRBDBARIAQgAhARIAEoApwBIgJBAE4EQCADQYAGakHaACACEF0LIANBgAZqQdkAIAEoApgBEF0LIAEoAqABQQBOBEAgA0GABmoiAkEMEBEgAkECEBEgAkHZACAB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cgASAGKAAFIANBnAZqQQAQxwMiAkEASA0PIAIgASgCrAJODQ8gASADKAKEBiADKAKYBhAzIAEgASgC1AIiBkEBajYC1AIgASgCzAIgBkEEdGoiBkEENgIEIAYgBTYCACADKAKEBiEKIAYgAjYCDCAGIApBBWo2AgggA0GABmoiBiAFEBEgBiAHEB0gBiANIAJBFGxqIgIoAgwgAygChAZrEB0gAigCDEF/RgRAIAAgAiADKAKEBkEEa0EEEOgCRQ0dCyADQYAGaiAIEBEgBCECDB0LIANCqYCAgHA3A3AgA0HcBWogBCADQfAAahAnRQ0TIAQhAiADKALoBSIEQQBIDRwgAyAENgKYBgwcCyADQquBgIBwNwOgASADQdwFaiAEIANBoAFqECcEQAJAIAMoAugFIgJBAEgEQCADKAKYBiECDAELIAMgAjYCmAYLIAEgAygChAYgAhAzIANBgAZqQfMBEBEMGAsgA0F/NgKYASADQqyBgICQzRo3A5ABIANB3AVqIAQgA0GQAWoQJ0UNAAJAIAMoAugFIgVBAEgEQCADKAKYBiEFDAELIAMgBTYCmAYLIAEgAygChAYgBRAzIANBgAZqQfMBEBEgAygC7AVBA3MhBQwYCyADQunUgYBwNwOAASADQdwFaiAEIANBgAFqECdFDREgBUEKRiEKDA0LAkAgBigAASIGQYCAgIB4ckGAgICAeEYNACADQoyBgIBwNwPgASADQdwFaiAEIANB4AFqECdFDQAgAygC6AUiAkEATgRAIAMgAjYCmAYLIANCjoCAgHA3A9ABIANB3AVqIAMoAuQFIANB0AFqECcEQCADKALoBSICQQBIDRcgAyACNgKYBgwXCyABIAMoAoQGIAMoApgGEDMgA0GABmpBACAGaxDFAwwWCyADQo6AgIBwNwPAASADQdwFaiAEIANBwAFqECcEQCADKALoBSICQQBIDRYgAyACNgKYBgwWCyADQunUgYBwNwOwASADQdwFaiAEIANBsAFqECcEQCAGQQBHIQoMDQsgASADKAKEBiADKAKYBhAzIANBgAZqIAYQxQMgBCECDBkLIAYoAAEiAkH/AUoNDyABIAMoAoQGIAMoApgGEDMgA0GABm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AACyAAKAIQIgZBEGogAiAGKAIEEQAADAELCyAIQQA2AhAgBCECDAsLIANCjoCAgHA3A6gFIANC2bj9gnA3A6AFIANB3AVqIAQgA0GgBWoQJwRAIAMoAugFIgJBAE4EQCADIAI2ApgGCyADIAMoAvAFIgY2ApQFIANBfzYCmAUgAyADKALsBSIEQQFrNgKQBSADQdwFaiADKALkBSICIANBkAVqECcEQCADKALoBSICQQBOBEAgAyACNgKYBgsgBEEBaiEEIAMoAuQFIQILIAEgAygChAYgAygCmAYQMyADQYAGaiIHIAVBAmtB/wFxEBEgByAEIAYQXQwLCyADQo6AgIBwNwOIBSADQpiAgICw6A43A4AFIANB3AVqIAQgA0GABWoQJwRAAkAgAygC6AUiAkEASARAIAMoApgGIQIMAQsgAyACNgKYBgsgASADKAKEBiACEDMgA0GABmoiAiAFQQJrQf8BcRARIAIgAy0A7AUQESACIAMoAvwFEB0MBwsgA0KOgICAcDcD+AQgA0KZgICAkAk3A/AEIANB3AVqIAQgA0HwBGoQJ0UNAQJAIAMoAugFIgJBAEgEQCADKAKYBiECDAELIAMgAjYCmAYLIAEgAygChAYgAhAzIANBgAZqIgIgBUECa0H/AXEQESACQckAEBEMBgsgA0F/NgLIBSADQoSAgICwlevUqn83A8AFIANB3AVqIAQgA0HABWoQJ0UNACADKALoBSIIQQBOBEAgAyAINgKYBgsgAygC7AUhCCADKAL8BSIFQcUARgR/QfQBBSAFQRtHDQFB9QELIQogCEF9cUGpAUYEQCABIAMoAoQGIAMoApgGEDMgA0GABmogChARIAAgAygC/AUQEwwGCyADQumAgIBwNwOwBSADQdwFaiADKALkBSADQbAFahAnRQ0AAkAgAygC6AUiBUEASARAIAMoApgGIQUMAQsgAyAFNgKYBgsgASADKAKEBiAFEDMgA0GABmogChARIAAgAygC/AUQE0HqACEFDAYLIAEgAygChAYgAygCmAYQMyADQYAGaiAGIAcQciAEIQIMCAtBhSlBrvwAQeP1AUGUOBAAAAtBvYwBQa78AEHl9QFBlDgQAAALQcXdAEGu/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aiEEDAELCyAEQQBODQELIAAgB0EMIAkgCEEBahB4DQIgASABKAIUIgRBAWo2AhQgASgCDCAEQQxsaiIEIAYoAhA2AgACQCADRQRAIAYoAghFDQELIARBADYCCAwCCyAEIAY2AggMAQsgDEEANgIICyAFQQFqIQUMAQsLQX8PCyAFC2gCAn8BfiAAQRBqIQIgACkCBCIEp0H/////B3EhAwJAIARCgICAgAiDUEUEQEEAIQADQCAAIANGDQIgAiAAQQF0ai8BACABQYcCbGohASAAQQFqIQAMAAsACyACIAMgARCyBSEBCyABCxIAIAAgASACIANBgIABENABGgssAQF/A0AgASADRkUEQCAAIANqLQAAIAJBhwJsaiECIANBAWohAwwBCwsgAgvOAQIDfwF+IAEgAkEBELIFIgNB/////wNxIQUgACgCNCAAKAIkQQFrIANxQQJ0aiEDA0AgAygCACIERQRAQQAPCwJAIAAoAjggBEECdGooAgAiAykCBCIGQiCIp0H/////A3EgBUcgBkKAgICAgICAgECDQoCAgICAgICAwABSciAGp0H/////B3EgAkcgBkKAgICACINCAFJycg0AIANBEGogASACEGENACAEQd4BTgRAIAMgAygCAEEBajYCAAsgBA8LIANBDGohAwwACwALfwEEfyABLQAAQdsARgRAIAFBAWoiAxA/QQFrIQIgACgCECgCOCEEQdABIQEDQCABQd4BRwRAAkAgBCABQQJ0aigCACIFKAIEQf////8HcSACRw0AIAVBEGogAyACEGENACAAIAEQGA8LIAFBAWohAQwBCwsQAQALIAAgARCqAQusAgMCfwJ+AXwjAEEgayICJABEAAAAAAAA+H8hBiAAKAIIQf////8HRwRAIAAoAgAhAyACQgA3AhggAkKAgICAgICAgIB/NwIQIAIgAzYCDCACQQxqIAAQRBoCfiACKAIUIgBB/f///wdMBEAgAkEMakE1QcgEEM4BGiACKAIUIQALQoCAgICAgID4/wAgAEH+////B0YNABogAEGAgICAeEYEQEIADAELIAIoAhwhAwJ+IAIoAhhBAkYEQCADKQIADAELIAM1AgBCIIYLIQQgAEGCeEwEQCAEQY54IABrrYghBEIADAELIARCC4hC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BMEcEQEEBIQEDQCABIARGDQICfyAFRQRAIAIgAUEBdGovAQAMAQsgASACai0AAAtBMGsiBkEJSw0EIAFBAWohASAGrSADrUIKfnwiB6chAyAHQoCAgIAQVA0ACwwDC0EAIgMgBEEBRw0BGgsgACADNgIAQQELDwtBAAupAgIDfwF+AkAgACACEDhFDQAgAqciBC8BBkEORgRAIAAgASAEKAIgKQMAENAFDwsgAUKAgICAcFQNAAJAIAAgAkE7IAJBABAUIgJC/////29YBEBBfyEDIAJCgICAgHCDQoCAgIDgAFENASAAQcYwQQAQFQwBCyABpyEEIAKnIQUCQANAAkAgBCgCECgCLCIDRQRAQQAhAyAELwEGQTBHDQQgBCAEKAIAQQFqNgIAIAStQoCAgIBwhCEBA0AgACABEIwCIgFCgICAgHCDIgZCgICAgCBRDQRBfyEDIAZCgICAgOAAUQ0FIAGnIAVGBEAgACABEA8MAwsgABB7RQ0ACyAAIAEQDwwECyADIgQgBUcNAQsLQQEhAwwBC0EAIQMLIAAgAhAPCyADC9IDAgJ+An8jAEEgayIEJAACQCABQv///////////wCDIgNCgICAgICAwIA8fSADQoCAgICAgMD/wwB9VARAIAFCBIYgAEI8iIQhAyAAQv//////////D4MiAEKBgICAgICAgAhaBEAgA0KBgICAgICAgMAAfCECDAILIANCgICAgICAgIBAfSECIABCgICAgICAgIAIUg0BIAIgA0IBg3whAgwBCyAAUCADQoCAgICAgMD//wBUIANCgICAgICAwP//AFEbRQRAIAFCBIYgAEI8iIRC/////////wODQoCAgICAgID8/wCEIQIMAQtCgICAgICAgPj/ACECIANC////////v//DAFYNAEIAIQIgA0IwiKciBUGR9wBJDQAgBEEQaiAAIAFC////////P4NCgICAgICAwACEIgIgBUGB9wBrEGcgBCAAIAJBgfgAIAVrEI4CIAQpAwhCBIYgBCkDACIAQjyIhCECIAQpAxAgBCkDGIRCAFKtIABC//////////8Pg4QiAEKBgICAgICAgAhaBEAgAkIBfCECDAELIABCgICAgICAgIAIUg0AIAJCAYMgAnwhAgsgBEEga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ACABQQFqIQEMAAsACwvvAgIBfwF8IwBBIGsiAyQAIAECfwJ/AkACQANAAkACQAJAAkBBByACQiCIpyIBIAFBB2tBbkkbIgEOCAAAAAADAwMBAgsgAqcMBgtBACEAIAJCgICAgMCBgPz/AHwiAkL///////////8Ag0KAgICAgICA+P8AVg0DIAK/IgREAAAAAAAAAABjDQNB/wEgBEQAAAAAAOBvQGQNBhoCfyAEniIEmUQAAAAAAADgQWMEQCAEqgwBC0GAgICAeAsMBgsgAUF3Rg0DCyAAIAIQjQEiAkKAgICAcINCgICAgOAAUg0AC0F/IQALQQAMAgsgACgC2AEhASADQgA3AhQgA0KAgICAgICAgIB/NwIMIAMgATYCCCADQQhqIgEgAqdBBGoQRBogAUEAENEBGiADQRxqIAFBABCpASABEBsgACACEA8gAygCHAshAUEAIQBB/wEgASABQf8BThsiAUEAIAFBAEobCzYCACADQSBqJAAgAAtPAQJ/IwBBIGsiAyQAAn8gACADQQxqIAIQqwUiBEUEQCABQgA3AwBBfwwBCyABIARBARCCAxogACAEIANBDGoQXkEACyEAIANBIGokACAAC6gBAQV/IACnIgMoAhAiAUEwaiEEIAEgASgCGEF/c0ECdEGkfnJqKAIAIQEDQCABRQRAQQAPCyAEIAFBAWsiBUEDdGoiASgCACECIAEoAgRBNkcEQCACQf///x9xIQEMAQsLQQEhAQJAIAJB/////wNLDQAgAygCFCAFQQN0aikDACIAQoCAgIBwg0KAgICAkH9SDQAgAKcoAgRB/////wdxQQBHIQELIAELywECAn8BfiMAQRBrIgYkAAJAAkAgAkKAgICAcFQNACACpyIHLwEGQQxHDQAgBy0AKUEMRw0AIAAgASADIAMEfyAEBSAGQoCAgIAwNwMIIAZBCGoLIAUgBy4BKiAHKAIkERIAIQgMAQtCgICAgOAAIQgCQCAAIAIgASADIAQQISIBQoCAgIBwg0KAgICA4ABSBEAgAUL/////b1YNASAAIAEQDyAAQY4xQQAQFQsgBUEANgIADAELIAVBAjYCACABIQgLIAZBEGokACAIC5cBAAJAAkACQAJAA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zYCKAsgASgCFCADQQBOBH4gA60FQoCAgIDAfiADuL0iAkKAgICAwIGA/P8AfSACQv///////////wCDQoCAgICAgID4/wBWGws3AwBBAQwBCyAAIAZBBGogASgCFCkDABB3GiAGKAIMIgghBQJAIAYoAgQiByAITQ0AIAEoAhAiCigCICIEIAcgCGtPBEADQCAHIgUgCE0NAiAAIAEgACAFQQFrIgcQqQUiCRD5AyEEIAAgCRATIAQNAAwCCwALIApBMGoiByEMA0AgBCAJTARAA0AgBCALTA0DAkAgBygCBCIERQ0AIAAgBkEIaiAEEKwBRQ0AIAYoAgggBUkNACAAIAEgBygCBBD5AxogASgCECIKIAtBA3RqQTBqIQcLIAdBCGohByALQQFqIQsgCigCICEEDAALAAUCQCAMKAIEIgRFDQAgACAGQQhqIAQQrAFFDQAgBigCCCIEIAVJDQAgBSAEQQFqIAwtAANBBHEbIQULIAxBCGohDCAJQQFqIQkgCigCICEEDAELAAsACyAAIAEoAhQgBUEATgR+IAWtBUKAgICAwH4gBbi9IgJCgICAgMCBgPz/AH0gAkL///////////8Ag0KAgICAgICA+P8AVhsLECBBASAFIAhNDQAaIAAgA0Ht6QAQbwshBCAGQRBqJAAgBAtsAgJ/AXwjAEEQayICJAACfyABQiCIpyIDBEBBACADQQtqQRJJDQEaC0F/IAAgAkEIaiABEEINABogAisDCCIEvUKAgICAgICA+P8Ag0KAgICAgICA+P8AUiAEnCAEYXELIQAgAkEQaiQAIAAL4AMCBH8CfiABQQBIBEAgAUH/////B3GtDwsCQCABIAAoAhAiBCgCLEkEQAJ+AkAgBCgCOCABQQJ0aigCACICKQIEIgZCgICAgICAgIBAg0KAgICAgICAgMAAUg0AIAJBEGohBCAGp0H/////B3EhBQJAIAZCgICAgAiDUEUEQCAFRQ0CAkAgBCIBLwEAIgNBLUcNACACQRJqIQEgAi8BEiIDQTBHDQBCgICAgMD+/wMgBUECRg0EGgsgA0E6a0F1Sw0BIANByQBHIAQgBUEBdGogAWtBEEdyDQIgAUECakGgwAFBDhBhR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BGBH8gAkEIawUgAkEEaiECDAELCwtSAgJ/AX4CQCAAKAIQKAKMASIBRQ0AIAEpAwgiA0KAgICAcFQNACADpyIBLwEGEO4BRQ0AIAEoAiAiAS0AEkEEcUUNACAAIAEoAkAQGCECCyACC6oPAgV/D34jAEHQAmsiBSQAIARC////////P4MhCyACQv///////z+DIQogAiAEhUKAgICAgICAgIB/gyENIARCMIinQf//AXEhCAJAAkAgAkIwiKdB//8BcSIJQf//AWtBgoB+TwRAIAhB//8Ba0GBgH5LDQELIAFQIAJC////////////AIMiDEKAgICAgIDA//8AVCAMQoCAgICAgMD//wBRG0UEQCACQoCAgICAgCCEIQ0MAgsgA1AgBEL///////////8AgyICQoCAgICAgMD//wBUIAJCgICAgICAwP//AFEbRQRAIARCgICAgICAIIQhDSADIQEMAgsgASAMQoCAgICAgMD//wCFhFAEQCADIAJCgICAgICAwP//AIWEUARAQgAhAUKAgICAgIDg//8AIQ0MAwsgDUKAgICAgIDA//8AhCENQgAhAQwCCyADIAJCgICAgICAwP//AIWEUARAQgAhAQwCCyABIAyEUARAQoCAgICAgOD//wAgDSACIAOEUBshDUIAIQEMAgsgAiADhFAEQCANQoCAgICAgMD//wCEIQ1CACEBDAILIAxC////////P1gEQCAFQcACaiABIAogASAKIApQIgYbeSAGQQZ0rXynIgZBD2sQZ0EQIAZrIQYgBSkDyAIhCiAFKQPAAiEBCyACQv///////z9WDQAgBUGwAmogAyALIAMgCyALUCIHG3kgB0EGdK18pyIHQQ9rEGcgBiAHakEQayEGIAUpA7gCIQsgBSkDsAIhAwsgBUGgAmogC0KAgICAgIDAAIQiEkIPhiADQjGIhCICQgBCgICAgLDmvIL1ACACfSIEQgAQZiAFQZACakIAIAUpA6gCfUIAIARCABBmIAVBgAJqIAUpA5gCQgGGIAUpA5ACQj+IhCIEQgAgAkIAEGYgBUHwAWogBEIAQgAgBSkDiAJ9QgAQZiAFQeABaiAFKQP4AUIBhiAFKQPwAUI/iIQiBEIAIAJCABBmIAVB0AFqIAR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n4gBkEASgRAIApCAYYgC0I/iIQhCiAEQv///////z+DIAatQjCGhCEMIAtCAYYMAQsgBkGPf0wEQEIAIQEMAgsgBUFAayACIARBASAGaxCOAiAFQTBqIAwgFSAGQfAAahBnIAVBIGogAyASIAUpA0AiAiAFKQNIIgwQZiAFKQM4IAUpAyhCAYYgBSkDICIBQj+IhH0gBSkDMCIEIAFCAYYiAVStfSEKIAQgAX0LIQQgBUEQaiADIBJCA0IAEGYgBSADIBJCBUIAEGYgDCACIAIgAyACQgGDIgEgBHwiA1QgCiABIANWrXwiASASViABIBJRG618IgJWrXwiBCACIAIgBEKAgICAgIDA//8AVCADIAUpAxBWIAEgBSkDGCIEViABIARRG3GtfCICVq18IgQgAiAEQoCAgICAgMD//wBUIAMgBSkDAFYgASAFKQMIIgNWIAEgA1Ebca18IgEgAlStfCANhCENCyAAIAE3AwAgACANNwMIIAVB0AJqJAALyDIDEX8HfgF8IwBBEGsiECQAIwBBoAFrIg8kACAPIAA2AjwgDyAANgIUIA9BfzYCGCAPQRBqIgIQmgQjAEEwayIOJAADQAJ/IAIoAgQiACACKAJoRwRAIAIgAEEBajYCBCAALQAADAELIAIQVQsiBRCOBg0AC0EBIQMCQAJAIAVBK2sOAwABAAELQX9BASAFQS1GGyEDIAIoAgQiACACKAJoRwRAIAIgAEEBajYCBCAALQAAIQUMAQsgAhBVIQULAkACQAJAA0AgBkHsHGosAAAgBUEgckYEQAJAIAZBBksNACACKAIEIgAgAigCaEcEQCACIABBAWo2AgQgAC0AACEFDAELIAIQVSEFCyAGQQFqIgZBCEcNAQwCCwsgBkEDRwRAIAZBCEYNASAGQQRJDQIgBkEIRg0BCyACKQNwIhJCAFkEQCACIAIoAgRBAWs2AgQLIAZBBEkNACASQgBTIQADQCAARQRAIAIgAigCBEEBazYCBAsgBkEBayIGQQNLDQALC0IAIRIjAEEQayIFJAACfiADskMAAIB/lLwiA0H/////B3EiAEGAgIAEa0H////3B00EQCAArUIZhkKAgICAgICAwD98DAELIAOtQ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IoAmhHBEAgAiAAQQFqNgIEIAAtAAAMAQsgAhBVCyIAQS5GIgUgAEEwayINQQpJcg0ACwsgEiATIAgbIRIgA0UgAEFfcUHFAEdyRQRAAkAgAhCHBiIUQoCAgICAgICAgH9SDQBCACEUIAIpA3BCAFMNACACIAIoAgRBAWs2AgQLIBIgFHwhEgwDCyADRSEFIABBAEgNAQsgAikDcEIAUw0AIAIgAigCBEEBazYCBAsgBUUNAEGg1ARBHDYCACACEJoEQgAhE0IADAELIAEoApAGIgBFBEAgASAGt0QAAAAAAAAAAKIQqwEgASkDACETIAEpAwgMAQsgEiATUiATQglVckUEQCABQTBqIAYQeSABQSBqIAAQhgIgAUEQaiABKQMwIAEpAzggASkDICABKQMoEC4gASkDECETIAEpAxgMAQsgEkKaBFkEQEGg1ARBxAA2AgAgAUHgAGogBhB5IAFB0ABqIAEpA2AgASkDaEJ/Qv///////7///wAQLiABQUBrIAEpA1AgASkDWEJ/Qv///////7///wAQLiABKQNAIRMgASkDSAwBCyASQut1VwRAQaDUBEHEADYCACABQZABaiAGEHkgAUGAAWogASkDkAEgASkDmAFCAEKAgICAgIDAABAuIAFB8ABqIAEpA4ABIAEpA4gBQgBCgICAgICAwAAQLiABKQNwIRMgASkDeAwBCyAKBEAgCkEITARAIAFBkAZqIAdBAnRqIgAoAgAhCQNAIAlBCmwhCSAKQQFqIgpBCUcNAAsgACAJNgIACyAHQQFqIQcLAkAgCyASpyIISiALQQhKciAIQRFKcg0AIAhBCUYEQCABQcABaiAGEHkgAUGwAWogASgCkAYQhgIgAUGgAWogASkDwAEgASkDyAEgASkDsAEgASkDuAEQLiABKQOgASETIAEpA6gBDAILIAhBCEwEQCABQZACaiAGEHkgAUGAAmogASgCkAYQhgIgAUHwAWogASkDkAIgASkDmAIgASkDgAIgASkDiAIQLiABQeABakEAIAhrQQJ0QeDBBGooAgAQeSABQdABaiABKQPwASABKQP4ASABKQPgASABKQPoARDjBSABKQPQASETIAEpA9gBDAILIAhBEU5BACABKAKQB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kEBaiECDAELCyAAKAIQIgJBEGogAyACKAIEEQAAIAAoAhAiAkEQaiABKAIoIAIoAgQRAABBACECA0AgASgCNCEDIAIgASgCOE5FBEAgACADIAJBDGxqKAIEEBMgAkEBaiECDAELCyAAKAIQIgJBEGogAyACKAIEEQAAIAAgASkDQBAPIAAgASkDSBAPIAAgASkDYBAPIAAgASkDaBAPIAEoAggiAiABKAIMIgM2AgQgAyACNgIAIAFCADcCCCAAKAIQIgBBEGogASAAKAIEEQAACzABAX8gACgCOCABQQJ0aigCACIBIAEoAgAiAkEBazYCACACQQFMBEAgACABEKIDCwvAAQIBfwJ+QX8hAwJAIABCAFIgAUL///////////8AgyIEQoCAgICAgMD//wBWIARCgICAgICAwP//AFEbDQAgAkL///////////8AgyIFQoCAgICAgMD//wBWIAVCgICAgICAwP//AFJxDQAgACAEIAWEhFAEQEEADwsgASACg0IAWQRAIAEgAlIgASACU3ENASAAIAEgAoWEQgBSDwsgAEIAUiABIAJVIAEgAlEbDQAgACABIAKFhEIAUiEDCyADCwoAIABBfHEQpAMLZQEEfwNAIAIgBUoEQCABIAVqIgYtAAAiBEEPaiAEIARBswFLGyAEIAMbQQJ0IgRBgLgBai0AACEHIARBg7gBai0AAEEXa0H/AXFBBE0EQCAAIAYoAAEQ7AELIAUgB2ohBQwBCwsLcAACQAJAAkACQAJAIAJBBHZBA3FBAWsOAwABAgMLIAEoAgAiAgRAIAAgAq1CgICAgHCEECMLIAEoAgQiAUUNAyAAIAGtQoCAgIBwhBAjDwsgACABKAIAEOsBDwsgASgCABDqBQ8LIAAgASkDABAjCwvJBgEFfwJAAkACQAJAAkACQAJAIAEtAARBD3EOAgABBQsgASABLQAFQQJyOgAFIAEoAhAiBEEwaiEDA0AgASgCFCEFIAIgBCgCIE5FBEAgACAFIAJBA3RqIAMoAgBBGnYQ7AUgAkEBaiECIANBCGohAwwBCwsgAEEQaiIGIAUgACgCBBEAACAAIAQQkQIgAUIANwMQIAEoAhgiAgRAIAIhAwNAIAMEQ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gAkGD0wAQsgEhAyAAIAIQDyAAIAAgA0HdwAAQsgEiAiADQQEgARAhIQQgACACEA8gACADEA8gBAsMACAAIAEpAwAQswELygYCBH8DfiMAQYABayIFJAACQAJAAkAgAyAEQgBCABDtAUUNAAJ/IARC////////P4MhCgJ/IARCMIinQf//AXEiBkH//wFHBEBBBCAGDQEaQQJBAyADIAqEUBsMAgsgAyAKhFALCyEGIAJCMIinIghB//8BcSIHQf//AUYNACAGDQELIAVBEGogASACIAMgBBAuIAUgBSkDECICIAUpAxgiASACIAEQ4wUgBSkDCCECIAUpAwAhBAwBCyABIAJC////////////AIMiCiADIARC////////////AIMiCRDtAUEATARAIAEgCiADIAkQ7QEEQCABIQQMAgsgBUHwAGogASACQgBCABAuIAUpA3ghAiAFKQNwIQQMAQsgBEIwiKdB//8BcSEGIAcEfiABBSAFQeAAaiABIApCAEKAgICAgIDAu8AAEC4gBSkDaCIKQjCIp0H4AGshByAFKQNgCyEEIAZFBEAgBUHQAGogAyAJQgBCgICAgICAwLvAABAuIAUpA1giCUIwiKdB+ABrIQYgBSkDUCEDCyAJQv///////z+DQoCAgICAgMAAhCELIApC////////P4NCgICAgICAwACEIQogBiAHSARAA0ACfiAKIAt9IAMgBFatfSIJQgBZBEAgCSAEIAN9IgSEUARAIAVBIGogASACQgBCABAuIAUpAyghAiAFKQMgIQQMBQsgCUIBhiAEQj+IhAwBCyAKQgGGIARCP4iECyEKIARCAYYhBCAHQQFrIgcgBkoNAAsgBiEHCwJAIAogC30gAyAEVq19IglCAFMEQCAKIQkMAQsgCSAEIAN9IgSEQgBSDQAgBUEwaiABIAJCAEIAEC4gBSkDOCECIAUpAzAhBAwBCyAJQv///////z9YBEADQCAEQj+IIQEgB0EBayEHIARCAYYhBCABIAlCAYaEIglCgICAgICAwABUDQALCyAIQYCAAnEhBiAHQQBMBEAgBUFAayAEIAlC////////P4MgB0H4AGogBnKtQjCGhEIAQoCAgICAgMDDPxAuIAUpA0ghAiAFKQNAIQQMAQsgCUL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AUE/cUGAAXI6AAEgACABQQZ2QcABcjoAAEECDAMLIAFBgEBxQYDAA0cgAUGAsANPcUUEQCAAIAFBP3FBgAFyOgACIAAgAUEMdkHgAXI6AAAgACABQQZ2QT9xQYABcjoAAUEDDAMLIAFBgIAEa0H//z9NBEAgACABQT9xQYABcjoAAyAAIAFBEnZB8AFyOgAAIAAgAUEGdkE/cUGAAXI6AAIgACABQQx2QT9xQYABcjoAAUEEDAMLC0Gg1ARBGTYCAEF/DAELIAAgAToAAEEBCwvEAgACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQCABQQlrDhIACgsMCgsCAwQFDAsMDAoLBwgJCyACIAIoAgAiAUEEajYCACAAIAEoAgA2AgAPCwALIAIgAigCACIBQQRqNgIAIAAgATIBADcDAA8LIAIgAigCACIBQQRqNgIAIAAgATMBADcDAA8LIAIgAigCACIBQQRqNgIAIAAgATAAADcDAA8LIAIgAigCACIBQQRqNgIAIAAgATEAADcDAA8LAAsgAiACKAIAQQdqQXhxIgFBCGo2AgAgACABKwMAOQMADwsgACACIAMRAAALDwsgAiACKAIAIgFBBGo2AgAgACABNAIANwMADwsgAiACKAIAIgFBBGo2AgAgACABNQIANwMADwsgAiACKAIAQQdqQXhxIgFBCGo2AgAgACABKQMANwMAC14BBH8gACgCACECA0AgAiwAACIDENECBEBBfyEEIAAgAkEBaiICNgIAIAFBzJmz5gBNBH9BfyADQTBrIgMgAUEKbCIEaiADIARB/////wdzShsFQX8LIQEMAQsLIAEL3BICEn8BfiMAQdAAayIIJAAgCCABNgJMIAhBN2ohFyAIQThqIRICQAJAAkACQANAIAEhDCAHIA5B/////wdzSg0BIAcgDmohDgJAAkACQCAMIgctAAAiCQRAA0ACQAJAIAlB/wFxIgFFBEAgByEBDAELIAFBJUcNASAHIQkDQCAJLQABQSVHBEAgCSEBDAILIAdBAWohByAJLQACIQogCUECaiIBIQkgCkElRg0ACwsgByAMayIHIA5B/////wdzIhhKDQcgAARAIAAgDCAHEFsLIAcNBiAIIAE2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IgQgEygCACASKAIAa2oiEyAUIAFBAnQiIGooAgBsIAQgGiAgajUCACATrX5CIIinbGsiEyAEQQAgBCATTRtrNgIAIABBAWohACABQQFqIQEMAQsACwALCyAHIBwoAgA2AiBBASEBIAwhBANAIARBAEoEQCAPIARBAnQiAGo1AgAhISAHQUBrIABqKAIAIQJBACEAA0AgACABRwRAIAdBIGogAEECdGoiEiACrSAhIBI1AgB+fCIiPgIAIABBAWohACAiQiCIpyECDAELCyAHQSBqIAFBAnRqIAI2AgAgBEEBayEEIAFBAWohAQwBCwsgDyAEQQJ0ajUCACEhQQAhACAHKAJAIQIDQCAAIAFJBEAgAEECdCIEIAdBIGpqIhIgBCAHajUCACACrSAhIBI1AgB+fHwiIj4CACAiQiCIpyECIABBAWohAAwBCwsgAUECdCIAIAdBIGpqIAAgB2ooAgAgAmo2AgAgBiAQbCECQQAhAANAIAAgA0cEQCARIAUgAiAHQSBqIABBAnRqKAIAEJsGIABBAWohACACQSBqIQIMAQsLIBEgBSACIB0oAgAiASAWcRCbBiANIQIgAyEAAkAgCEUEQANAIAIgC04NAiAHIAIgDWtBAnRqIAdBIGogAkECdGooAgA2AgAgAkEBaiECDAALAAsDQCAAIBdHBEAgByAAIANrQQJ0aiAHQSBqIABBAWoiAEECdGooAgAiAkEBdCAfdCABIAh2cjYCACACIQEMAQsLIB4gGygCACAIdjYCAAsgEEEBaiEQDAIFIABBAnQiASAHQUBraiAJIAAgDnQgEGpBAnRqKAIAIgIgASAPaigCACIBQQAgASACTRtrNgIAIABBAWohAAwBCwALAAsACwUgByAAQQJ0akEANgIAIABBAWohAAwBCwsgB0HgAGokACAKKAIAIgAoAgAgCUEAIAAoAgQRAQAaQQAFQX8LDwsQAQALSwECfyAAIAFHBEAgACgCECICBEAgACgCACIDKAIAIAJBACADKAIEEQEAGgsgACABKQIANwIAIAAgASgCEDYCECAAIAEpAgg3AggLC6QCAQl/IAFBBnEhBiABQQJ2QQFxIQpB4OADIQMCQANAIANBrv4DTw0BIAI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A0ECdBAfGiAAIAAoAjBBAWs2AjAMAAsAC4sCAQd/IAFBAnRBwP4DaigCACICIAFBAXRBkIAEai8BAGohCEEAIQECQANAIAIgCE8NASACQQFqIQYCQAJAIAItAAAiBEE/TQRAIAMgBEEDdmpBAWohAiABBEAgACADIAIQfg0DCyABQQFzIQEgBEEHcSACakEBaiEFDAELAn8gAyAEakH/AGsgBMBBAEgNABogBi0AACEFIARB3wBNBEAgAkECaiEGIAMgBEEIdGogBWpB//8AawwBCyACQQNqIQYgAi0AAiADIARBEHRqIAVBCHRqakH///8CawshBSADIQILIAEEQCAAIAIgBRB+DQELIAFBAXMhASAGIQIgBSEDDAELC0F/IQcLIAcLOABBsNQCIAEQrwQiAUEASARAQX4PCyAAIAFBHU0Ef0IBIAGthqcFIAFBAnRB2NgCaigCAAsQoQYLNQEBfyMAQRBrIgMkACADIAE2AgggAyACQQFqNgIMIAAgA0EIakECELEEIQAgA0EQaiQAIAALlwIBA38gASgCACICQf7/B08EQCAAQYY7QQAQOkF/DwsCQCACQQFNBEAgAEECQX8QuAEaDAELIAEoAgggAkECdGoiBEEEaygCACIDQX9GBEAgBEEIaygCACEDCyACQQF2IQIgA0H//wNNBEAgAEEVIAIQsgRBACECA0AgAiABKAIATg0CIAAgAkECdCIDIAEoAghqLwEAECogAEF/IAEoAgggA0EEcmooAgBBAWsiAyADQX5GG0H//wNxECogAkECaiECDAALAAsgAEEWIAIQsgRBACECA0AgAiABKAIATg0BIAAgAkECdCIDIAEoAghqKAIAEB0gACABKAIIIANBBHJqKAIAQQFrEB0gAkECaiECDAALAAtBAAsmAQF/IAAoAjgiAUEASARAIAAgACAAQTxqQQAQqwYiATYCOAsgAQvgAgEFfyMAQZABayIEJAAgAUEANgIAIAAoAiAhA0EBIQYDQCAEIAM2AowBAkACQAJAIAAoAhwiByADTQRAIAYhBQwBCwJAAkACQAJAIAMtAAAiBUHbAGsOAgECAAsgBUEoRw0FIAMtAAFBP0cNAiADLQACQTxHDQUgAy0AAyIF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AAsMAwsgACABEA8gBUEUahA2IQEMAwsgBSgCECECDAALAAsgACABEA8gBSgCFCgCECIAQRBqIAUoAhggACgCBBEAAEKAgICA4AAhAQsgBUEwaiQAIAELdAEBfkKAgICA4AAhBCAAIAEQWSIBQoCAgIBwg0KAgICA4ABSBH4gACADKQMAECgiBEKAgICAcINCgICAgOAAUQRAIAAgARAPQoCAgIDgAA8LIAGnIASnEIMCIQIgACABEA8gACAEEA8gAq0FQoCAgIDgAAsLCQAgACABEPYECxIAIABBsjRBABAVQoCAgIDgAAtqAAJAAkAgAUIgiKciAkF/RwRAIAJBeUcNAQwCCyABpyICLwEGQQVHDQAgAikDICIBQoCAgIBwg0KAgICAkH9SDQAMAQsgAEGi2wBBABAVQoCAgIDgAA8LIAGnIgAgACgCAEEBajYCACABC4QCAgJ/An4gACABEFkiAUKAgICAcINCgICAgOAAUQRAIAEPCyABpyIGKQIEIgenQf////8HcSECAkAgBEEBcUUNACAGQRBqIQMgB0KAgICACIMhCANAIAIgBUYEQCACIQUMAgsCfyAIUEUEQCADIAVBAXRqLwEADAELIAMgBWotAAALEIcDRQ0BIAVBAWohBQwACwALAkAgBEECcUUEQCACIQMMAQsgBkEQaiEEIAdCgICAgAiDIQcDQCACIgMgBUwNASADQQFrIQICfyAHUEUEQCAEIAJBAXRqLwEADAELIAIgBGotAAALEIcDDQALCyAAIAYgBSADEIQBIQcgACABEA8gBwvqAwIGfwN+IwBBIGsiBSQAQoCAgIDgACEMAkAgACABEFkiAUKAgICAcINCgICAgOAAUQ0AAkACQCAAIAVBBGogAykDABC6AQ0AIAUoAgQiByABpyIJKAIEQf////8HcSIITA0BQSAhCkKAgICAMCELAkAgAkECSA0AIAMpAwgiDUKAgICAcINCgICAgDBRDQAgACANECgiC0KAgICAcINCgICAgOAAUQ0BAkACQCALpyIGKQIEIg2nQf////8HcQ4CAAECCyAAIAsQDwwDCwJ/IA1CgICAgAiDUEUEQCAGLwEQDAELIAYtABALIQpBACEGCyAHQYCAgIAETgR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gIBwg0KAgICA4ABRDQIgAkEIaiIMIAsgCiADEFEaIAwgARB/GiANKQIEIgGnQf////8HcSADaiEKQQEhDCAEDQELCyACQQhqIgMgCyAKIAsoAgRB/////wdxEFEaIAAgBRAPIAAgCBAPIAAgBxAPIAMQNiEGDAELIAIoAggoAhAiA0EQaiACKAIMIAMoAgQRAAAgACAFEA8gACAIEA8gACAHEA8LIAJB0ABqJAAgBgu4AgIDfwN+IwBBIGsiAiQAQoCAgIDgACEHAkACQAJAIAAgARBZIgFCgICAgHCDQoCAgIDgAFENACAAIAIgAykDABDiAw0AIAIpAwAiCEKAgICACFoEQCAAQeIqQQAQUAwBCyABpyIEKQIEIgmnIgZB/////wdxIgVFDQEgCKciA0EBRg0BIAlC/////weDIAh+QoCAgIAEWgRAIABBwNoAQQAQRgwBCyAAIAJBCGogAyAFbCAGQR92EIoDDQACQCAFQQFHBEADQCADQQBMDQIgAkEIaiAEQQAgBRBRGiADQQFrIQMMAAsACyACQQhqAn8gBC0AB0GAAXEEQCAELwEQDAELIAQtABALIAMQwQQaCyAAIAEQDyACQQhqEDYhBwwCCyAAIAEQDwwBCyABIQcLIAJBIGokACAHC8EBAgJ/An4jAEEQayIEJABCgICAgOAAIQYCQCAAIAEQWSIBQoCAgIBwg0KAgICA4ABRBEAgASEGDAELAkAgACAEQQxqIAMpAwAgAaciBSgCBEH/////B3EiAiACEFcNACAEIAI2AgggAykDCCIHQoCAgIBwg0KAgICAMFIEQCAAIARBCGogByACIAIQVw0BIAQoAgghAgsgACAFIAQoAgwiAyACIAMgAiADShsQhAEhBgsgACABEA8LIARBEGokACAGC8ABAgN/An4jAEEQayICJABCgICAgOAAIQcCQCAAIAEQWSIBQoCAgIBwg0KAgICA4ABRBEAgASEHDAELAkAgACACQQxqIAMpAwAgAaciBigCBEH/////B3EiBCAEEFcNACACIAQgAigCDCIFayIENgIIIAAgBiAFIAMpAwgiCEKAgICAcINCgICAgDBSBH8gACACQQhqIAggBEEAEFcNASACKAIIBSAECy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iADSHINAANAIAkgByADQQAgBRCzA0UEQEKBgICAECEBDAILIAIgA0chBCADQQFqIQMgBA0ACwsgACAKEA8gACALEA8LIAZBEGokACABC7ADAwd/AXwBfiMAQRBrIgUkAAJAIAAgARBZIgFCgICAgHCDQoCAgIDgAFENAAJAAkAgACADKQMAECgiDUKAgICAcINCgICAgOAAUQ0AIA2nIgkoAgRB/////wdxIQYgAaciCigCBEH/////B3EhBwJAIAQEQCAFIAcgBmsiCzYCDEF/IQhBACEEIAJBAkgNASAAIAUgAykDCBBCDQIgBSsDACIMvUL///////////8Ag0KAgICAgICA+P8AVg0BIAxEAAAAAAAAAABlBEAgBUEANgIMDAILIAwgC7djRQ0BIAUCfyAMmUQAAAAAAADgQWMEQCAMqgwBC0GAgICAeAs2AgwMAQsgBUEANgIMIAJBAk4EQCAAIAVBDGogAykDCCAHQQAQVw0CCyAHIAZrIQRBASEIC0F/IQIgBiAHSw0BIAQgBSgCDCIDayAIbEEASA0BA0AgCiAJIANBACAGELMDRQRAIAMhAgwDCyADIARGDQIgAyAIaiEDDAALAAsgACABEA8gACANEA9CgICAgOAAIQEMAQsgACABEA8gACANEA8gAq0hAQsgBUEQaiQAIAELkwECAX4BfyMAQRBrIgIkAEKAgICA4AAhBAJAIAAgARBZIgFCgICAgHCDQoCAgIDgAFEEQCABIQQMAQsCQCAAIAJBDGogAykDABC6AQ0AQoCAgIAwIQQgAigCDCIDQQBIDQAgAyABpyIFKAIEQf////8HcU8NACAFIAJBDGoQyQGtIQQLIAAgARAPCyACQRBqJAAgBAtpAgJ/AX4gACABEFkhAQNAIAIgBEwgAUKAgICAcINCgICAgOAAUXJFBEAgAyAEQQN0aikDACIGQiCIp0F1TwRAIAanIgUgBSgCAEEBajYCAAsgBEEBaiEEIAAgASAGEMQCIQEMAQsLIAELyAECAX4BfyMAQRBrIgIkAEKAgICA4AAhBAJAIAAgARBZIgFCgICAgHCDQoCAgIDgAFEEQCABIQQMAQsCQCAAIAJBDGogAykDABC6AQ0AAkAgAigCDCIDQQBOBEAgAyABpyIFKQIEIgSnQf////8HcUkNAQsgAEEvEC0hBAwBCyAFQRBqIQUgAAJ/IARCgICAgAiDUEUEQCAFIANBAXRqLwEADAELIAMgBWotAAALQf//A3EQnwMhBAsgACABEA8LIAJBEGokACAEC7gBAgJ+AX8jAEEQayICJABCgICAgOAAIQQCQCAAIAEQWSIBQoCAgIBwg0KAgICA4ABRBEAgASEEDAELAkAgACACQQxqIAMpAwAQugENAEKAgICAwH4hBCACKAIMIgNBAEgNACADIAGnIgYpAgQiBadB/////wdxTw0AIAZBEGohBiAFQoCAgIAIg1BFBEAgBiADQQF0ajMBACEEDAELIAMgBmoxAAAhBAsgACABEA8LIAJBEGokACAEC+MBAgF+An8jAEEQayICJAACQCAAIAFBLRBLIgNFBEAgBEEANgIAQoCAgIDgACEBDAELQoCAgIAwIQECQCADKQMAIgZCgICAgHCDQoCAgIAwUgRAIAIgAygCDCIFNgIMIAUgBqciBygCBEH/////B3FJDQEgACAGEA8gA0KAgICAMDcDAAsgBEEBNgIADAELIAcgAkEMahDJASEIIAMgAigCDDYCDCAEQQA2AgAgCEH//wNNBEAgACAIQf//A3EQnwMhAQwBCyAAIAcgBUEBdGpBEGpBAhDuAyEBCyACQRBqJAAgAQs3ACMAQRBrIgIkACAAIAJBDGogAykDABB3IQAgAigCDCEDIAJBEGokAEKAgICA4AAgA2etIAAbC04AIwBBEGsiAiQAQoCAgIDgACEBAkAgACACQQxqIAMpAwAQdw0AIAAgAkEIaiADKQMIEHcNACACKAIIIAIoAgxsrSEBCyACQRBqJAAgAQsGACAAtrsLfwAgACAAKQPQASIBQgyIIAGFIgFCGYYgAYUiAUIbiCABhSIBNwPQAUKAgICAwH4gAUKdurP7lJL9oiV+QgyIQoCAgICAgID4P4S/RAAAAAAAAPC/oL0iAUKAgICAwIGA/P8AfSABQv///////////wCDQoCAgICAgID4/wBWGwujBAMDfAV/A34jAEEQayIIJAAgCEIANwMIAkACQCACQQBMDQBCgICAgOAAI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UL/////D1gEQEEBIAIgAkEBTBshCiABpyEIQQEhBwNAIAcgCkcEQCAItyADIAdBA3RqKQMAIgFCgICAgBBaDQMaIAggAaciCyAIIAtKGyAIIAsgCCALSBsgBBshCCAHQQFqIQcMAQsLIAitDAILQoCAgIDgACAAIAlBCGogARBCDQEaQQEhByAJKwMICyEFIAcgAiACIAdIGyECA0AgAiAHRwRAQoCAgIDgACAAIAkgAyAHQQN0aikDABBCDQIaAkAgBb0iDEL///////////8Ag0KAgICAgICA+P8AVg0AIAkrAwAiBr0iAUL///////////8Ag0KAgICAgICA+P8AVgRAIAYhBQwBCyAFRAAAAAAAAAAAYSAGRAAAAAAAAAAAYXEhCiAEBEAgCgRAIAEgDIO/IQUMAgsgBSAFIAalIAa9Qv///////////wCDQoCAgICAgID4/wBWGyAGIAW9Qv///////////wCDQoCAgICAgID4/wBYGyEFDAELIAoEQCABIAyEvyEFDAELIAUgBSAGpCAGvUL///////////8Ag0KAgICAgICA+P8AVhsgBiAFvUL///////////8Ag0KAgICAgICA+P8AWBshBQsgB0EBaiEHDAELCyAFvSIBAn8gBZlEAAAAAAAA4EFjBEAgBaoMAQtBgICAgHgLIgC3vVEEQCAArQwBC0KAgICAwH4gAUKAgICAwIGA/P8AfSABQv///////////wCDQoCAgICAgID4/wBWGwshASAJQRBqJAAgAQstAEKAgICA4AAgACADKQMAIAMpAwhBABCLAiIAQQBHrUKAgICAEIQgAEEASBsLoAEBA34gAykDACIFIQQgAkEETgRAIAMpAxghBAsgBUL/////b1gEQCAAECRCgICAgOAADwsgAykDECEBQoCAgIDgACEGAkAgACADKQMIEDEiAkUNACABQiCIp0F1TwRAIAGnIgMgAygCAEEBajYCAAsgACAFIAIgASAEQQAQhgQhAyAAIAIQEyADQQBIDQAgA0EAR61CgICAgBCEIQYLIAYLjwEAAkACQCADKQMAIgFC/////29YBEAgBARAIAAQJAwDCyABQiCIp0F1SQ0BIAGnIgAgACgCAEEBajYCACABDwsgACABELYDIgJBAEgNASAEBEAgAkEAR61CgICAgBCEDwsgAkUEQCAAQfjiAEEAEBUMAgsgAaciACAAKAIAQQFqNgIACyABDwtCgICAgOAACyoAIAMpAwAiAUL/////b1gEQCAAECRCgICAgOAADwsgACABQQNBABCqAgtPAAJAAkAgAykDACIBQv////9vWARAIARFBEBCgICAgBAPCyAAECQMAQsgACABEJkBIgBBAE4NAQtCgICAgOAADwsgAEEAR61CgICAgBCEC2MBAX4gAykDACIEQv////9vWARAIAAQJEKAgICA4AAPC0KAgICA4AAhAQJAIAAgAykDCBAxIgJFDQAgACAEIAIQcSEDIAAgAhATIANBAEgNACADQQBHrUKAgICAEIQhAQsgAQs2ACADKQMAIgFCIIinIgJBf0YgBEUgAkF+cUECR3FyRQRAIAAQJEKAgICA4AAPCyAAIAEQ6AELYwECfgJAAkAgAykDACIBQv////9vWARAIAAQJAwBCyADKQMIIQUgASEEIAJBA04EQCADKQMQIQQLIAAgBRAxIgINAQtCgICAgOAADwsgACABIAIgBEEAEBQhASAAIAIQEyABC2YBAX4gAykDACIEQv////9vWARAIAAQJEKAgICA4AAPC0KAgICA4AAhAQJAIAAgAykDCBAxIgJFDQAgACAEIAJBABDVASEDIAAgAhATIANBAEgNACADQQBHrUKAgICAEIQhAQsgAQuLAQECfiADKQMAIgFC/////29YBEAgABAkQoCAgIDgAA8LIAMpAxAhBkKAgICA4AAhBQJAIAAgAykDCBAxIgJFDQAgACABIAIgBiAERUEOdBDHBCEDIAAgAhATIANBAEgNACAEBEAgA0EAR61CgICAgBCEDwsgAaciACAAKAIAQQFqNgIAIAEhBQsgBQuaAQIBfwJ+IwBBEGsiBCQAIAMpAwghBSADKQMAIgYhAQJAAkACQAJAIAJBA0gNACADKQMQIgFCgICAgHBaBEAgAactAAVBEHENAQsgAEGiPkEAEBUMAQsgACAEQQxqIAUQiQQiAg0BC0KAgICA4AAhAQwBCyAAIAYgASAEKAIMIgMgAhCQAyEBIAAgAiADEJsDCyAEQRBqJAAgAQsVACAAIAMpAwAgAyADQQhqQQIQ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MEQCAFqgwBC0GAgICAeAsiBLe9UQRAIAStDAELQoCAgIDAfiABQoCAgIDAgYD8/wB9IAFC////////////AINCgICAgICAgPj/AFYbCyEBIAJB0ABqJAAgAQuFAQEBfCMAQRBrIgIkAAJ+QoCAgIDgACAAIAJBCGogARCbAg0AGkKAgICAwH4gAisDCCIEvUL///////////8Ag0KAgICAgICA+P8AVg0AGgJ+IASdIgSZRAAAAAAAAOBDYwRAIASwDAELQoCAgICAgICAgH8LELgDrQshASACQRBqJAAgAQuGAQEBfgJAIAFC/////29YBEAgABAkDAELAkAgAykDACIEQoCAgIBwg0KAgICAkH9SDQAgACAEEDEiAkUNASAAIAIQE0ERIQMCQAJAAkAgAkHGAGsOBgIDAQMDAgALIAJBFkcNAgtBECEDCyAAIAEgAxCQAg8LIABBtitBABAVC0KAgICA4AALlgEBAXwjAEEQayICJAACfkKAgICA4AAgACACQQhqIAEQmwINABogAisDCCIEvSIBAn8gBJlEAAAAAAAA4EFjBEAgBKoMAQtBgICAgHgLIgC3vVEEQCAArQwBC0KAgICAwH4gAUKAgICAwIGA/P8AfSABQv///////////wCDQoCAgICAgID4/wBWGwshASACQRBqJAAgAQvsAgIDfwF8IwBB0ABrIgQkACAEQRBqQQBBOBArGiAEQoCAgICAgID4PzcDIEKAgICAwH4hAQJAIAJFDQBBByACIAJBB04bIgJBACACQQBKGyECA0AgAiAFRwRAIAAgBEEIaiADIAVBA3QiBmopAwAQQgRAQoCAgIDgACEBDAMLIAQrAwgiB71CgICAgICAgPj/AINCgICAgICAgPj/AFENAiAEQRBqIAZqIAedOQMAAkAgBQ0AIAQrAxAiB0QAAAAAAAAAAGZFIAdEAAAAAAAAWUBjRXINACAEIAdEAAAAAACwnUCgOQMQCyAFQQFqIQUMAQsLIARBEGpBABDgAiIHvSIBAn8gB5lEAAAAAAAA4EFjBEAgB6oMAQtBgICAgHgLIgW3vVEEQCAFrSEBDAELQoCAgIDAfiABQoCAgIDAgYD8/wB9IAFC////////////AINCgICAgICAgP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AgAUHtACABQQAQFBA3IgRCgICAgHCDQoCAgIDgAFINAQtCgICAgDAhBQwBCyACIAQ3AxggAiABNwMQIAAgBkECIAJBEGoQpwEiBUKAgICAcINCgICAgOAAUQ0AIAAgAkEIaiAAIAFB1QAgAUEAEBQQowENACAAIAVB1QACfiACKQMIIgFCgICAgAh8Qv////8PWARAIAFC/////w+DDAELQoCAgIDAfiABub0iAUKAgICAwIGA/P8AfSABQv///////////wCDQoCAgICAgID4/wBWGwsQRUEASA0AQoCAgIDgACEIIABBLhB2IgFCgICAgHCDQoCAgIDgAFENACAAQSAQKSIDRQRAIAEhCAwBCyADIAk3AwggAyAFNwMAIAMgBKciCkHnAEEAEMcBQX9zQR92NgIQIApB9QBBABDHASEKIANBADYCGCADIApBf3NBH3Y2AhQgAUKAgICAcFoEQCABpyADNgIgCyAAIAYQDyAAIAQQDyABIQcMAQsgACAJEA8gACAGEA8gACAEEA8gACAFEA8gACAIEA8LIAJBIGokACAHC74EAgd+An8jAEEQayICJAACQCABQv////9vWARAIAAQJEKAgICA4AAhBgwBC0KAgICA4AAhBkKAgICAMCEFAkAgAAJ+AkAgACADKQMAECgiB0KAgICAcINCgICAgOAAUQ0AIAAgACABQe4AIAFBABAUECYiA0EASA0AIANFBEAgACABIAcQyAEhBgwDCyAAIAAgAUHvACABQQAQFBAmIgtBAEgNACAAIAFB1QBCABBFQQBIDQBCgICAgOAAIAAQPiIIQoCAgIBwg0KAgICA4ABRDQEaIAenIQwCQANAIAAgBRAPIAAgASAHEMgBIgVCgICAgHCDIgRCgICAgCBRDQECQCAEQoCAgIDgAFENAAJ/IAAgACAFQgAQTRA3IgRCgICAgHCDIgpCgICAgJB/UgRAQQAgCkKAgICA4ABSDQEaDAILIASnKAIEQf////8HcUULIQMgACAIIAkgBBCGAUEASA0AIAlCAXwhCSADRQ0BIAAgAkEIaiAAIAFB1QAgAUEAEBQQowFBAEgNACAAIAFB1QACfiAMIAIpAwggCxDxAiIEQoCAgIAIfEL/////D1gEQCAEQv////8PgwwBC0KAgICAwH4gBLm9IgRCgICAgMCBgPz/AH0gBEL///////////8Ag0KAgICAgICA+P8AVhsLEEVBAE4NAQsLIAgMAgsgCacEQCAIIQYMAwsgACAIEA9CgICAgCAhBgwCC0KAgICAMAsQDwsgACAFEA8gACAHEA8LIAJBEGokACAGC40VAgp/DX4jAEGQAWsiBCQAAkAgAUL/////b1gEQCAAECRCgICAgOAAIRAMAQsgAykDCCEZIAAgBEE4akEAED0aIARBADYCMCAEQoCAgIDAADcDKCAEIAA2AgAgBCAEQQhqIgo2AgRCgICAgOAAIRBCgICAgDAhEQJAAkAgACADKQMAECgiFEKAgICAcINCgICAgOAAUQRAQoCAgIAwIRNCgICAgDAhAUKAgICAMCEPQoCAgIAwIRcMAQtCgICAgDAhFwJAIAAgGRA4IghFBEAgACAZECgiF0KAgICAcINCgICAgOAAUQRADAILIBenIQULIAAgACABQe4AIAFBABAUECYiDEEASA0AIAwEQCAAIAAgAUHvACABQQAQFBAmIg1BAEgNASAAIAFB1QBCABBFQQBIDQELIBSnIQlCgICAgDAhDwJAAkACQAJAIAVFDQAgDEUNACAFKQIEQv////8Hg0IAUg0AAkAgACABQTwgAUEAEBQiDkKAgICAcINCgICAgOAAUQ0AIAAgDiAAKQNIEFIhAiAAIA4QDyACRQ0BIAAgAUGGASABQQAQFCIOQoCAgIBwg0KAgICA4ABRDQAgDkHVAEEAEIUEIQIgACAOEA8gAkUNAQsgACABEPACIgJFDQNBACEDIAAgBEHQAGpBABA9GiAAIBQQKCISQoCAgIBwg0KAgICA4ABRDQICQCACKAIEIgctABAiBkEhcSIKRQRAIARCADcDgAEMAQsgACABQdUAIAFBABAUIg5CgICAgHCDQoCAgIDgAFENAyAAIARBgAFqIA4QowENAwtBACEIAkAgBy0AESICRQ0AIAAgAkEDdBApIgMNAEEAIQMMAwsgB0EQaiEMIAZBEHEhDSAGQQFxIQcgEqciC0EQaiEFIAspAgQiD6dBH3YhCSAEKQOAASERA0AgESAPQv////8Hg1U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ICAgMCBgPz/AH0gDkL///////////8Ag0KAgICAgICA+P8AVhsLEEUiAkEATg0AIAJBHnZBAnEMAQtBAAtFDQELCwwCCwwGC0KAgICAMCETC0KAgICAMCEBDAQLIARB0ABqIAsgCCALKAIEQf////8HcRBRDQAgACASEA8gACgCECICQRBqIAMgAigCBBEAACAEQdAAahA2IRAMAQsgACASEA8gACgCECICQRBqIAMgAigCBBEAACAEKAJQKAIQIgJBEGogBCgCVCACKAIEEQAAC0KAgICAMCERC0KAgICAMCETQoCAgIAwIQFCgICAgDAhDwsgBCgCOCgCECICQRBqIAQoAjwgAigCBBEAAAsgBBDuBCAAIBcQDyAAIA8QDyAAIAEQDyAAIBMQDyAAIBEQDyAAIBQQDwsgBEGQAWokACAQC6IBACMAQSBrIgIkAAJ+AkAgAUL/////b1gEQCAAECQMAQsgACACQQhqIgNBABA9GiADQS8QOxoCQCADIAAgAUHsACABQQAQFBB/DQAgAkEIaiIDQS8QOxogAyAAIAFB7QAgAUEAEBQQfw0AIAJBCGoQNgwCCyACKAIIKAIQIgBBEGogAigCDCAAKAIEEQAAC0KAgICA4AALIQEgAkEgaiQAIAELTgECfkKAgICA4AAhBCAAIAEgAykDABDIASIBQoCAgIBwgyIFQoCAgIDgAFIEfiAAIAEQDyAFQoCAgIAgUq1CgICAgBCEBUKAgICA4AALC/gCAgN+AX8CQAJAIAAgARDwAiICRQ0AIAMpAwghBgJAAkACQCADKQMAIgRCgICAgHBUDQAgBKciAy8BBkESRw0AIAZCgICAgHCDQoCAgIAwUgRAIABBnvkAQQAQFUKAgICA4AAPCyADKAIgIgcgBygCAEEBajYCACADKAIkIgMgAygCAEEBajYCACAHrUKAgICAkH+EIQQgA61CgICAgJB/hCEFDAELQoCAgIAwIQUCfiAEQoCAgIBwg0KAgICAMFEEQCAAQS8QLQwBCyAAIAQQKAsiBEKAgICAcINCgICAgOAAUQ0BIAAgBCAGEJgEIgVCgICAgHCDQoCAgIDgAFENAQsgACACNQIAQoCAgICQf4QQDyAA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AgAUEAEBQQJiICQQBIDQAgAgR/IARB5wA6AAggBEEJagUgBEEIagshAiAAIAAgAUHr4wAQsgEQJiIDQQBIDQAgAwRAIAJB6QA6AAAgAkEBaiECCyAAIAAgAUGL5QAQsgEQJiIDQQBIDQAgAwRAIAJB7QA6AAAgAkEBaiECCyAAIAAgAUH01AAQsgEQJiIDQQBIDQAgAwRAIAJB8wA6AAAgAkEBaiECCyAAIAAgAUHvACABQQAQFBAmIgNBAEgNACADBEAgAkH1ADoAACACQQFqIQILIAAgACABQfsdELIBECYiA0EASA0AIAAgBEEIaiIAIAMEfyACQfkAOgAAIAJBAWoFIAILIABrEJMCIQULIARBEGokACAFC6UDAQR+IwBBEGsiAyQAIAQCfwJAAkACQAJAIAAgAUEuEEsiAkUEQEKAgICAMCEBDAELIAIoAhgEQEKAgICAMCEBQQEMBQsgACACKQMAIgggAikDCCIGEMgBIgFCgICAgHCDIgdCgICAgOAAUg0BC0KAgICAMCEHDAELIAdCgICAgCBRBEAgAkEBNgIYQoCAgIAwIQFBAQwDCyACKAIQBEAgACAAIAFCABBNEDciB0KAgICAcIMiCUKAgICA4ABRDQECQCAJQoCAgICQf1INACAHpygCBEH/////B3ENACAAIANBCGogACAIQdUAIAhBABAUEKMBQQBIDQIgACAIQdUAAn4gBqcgAykDCCACKAIUEPECIgZCgICAgAh8Qv////8PWARAIAZC/////w+DDAELQoCAgIDAfiAGub0iBkKAgICAwIGA/P8AfSAGQv///////////wCDQoCAgICAgID4/wBWGwsQRUEASA0CCyAAIAcQDwwCCyACQQE2AhgMAQsgACABEA8gACAHEA9CgICAgOAAIQELQQALNgIAIANBEGokACABCw4AIAAQtQJCgICAgOAACwkAQoCAgIDAfgsWACAAIAMpAwAgAykDCCADKQMQEJQEC9EBAgN+An8jAEEQayIHJAACQCAAIAdBDGogAykDABDlASIIRQRAQoCAgIDgACEEDAELIAAgCCAHKAIMQdKIARD1BSEBIAAgCBBUAkAgAkECSCABQoCAgIBwg0KAgICA4ABRcg0AI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EDQAgAygCCCAJKAIIIAinaiAGpxAfGgwCCyAAEGsLIAAgBRAPQoCAgIDgACEFCyACQSBqJAAgBQsOACAAELUCQoCAgIDgAAtdACAAIAEgAhBLIgBFBEBCgICAgOAADwsgACgCACIAQQBOBEAgAK0PC0KAgICAwH4gALi9IgFCgICAgMCBgPz/AH0gAUL///////////8Ag0KAgICAgICA+P8AVhsLOQEBfkKAgICAwH4gASkDACICQoCAgIDAgYD8/wB9IAJC////////////AINCgICAgICAgPj/AFYbCzsBAX5CgICAgMB+IAEqAgC7vSICQoCAgIDAgYD8/wB9IAJC////////////AINCgICAgICAgPj/AFYbCwwAIAAgASkDABD7AwsMACAAIAEpAwAQhwILSQEBfiABKAIAIgBBAE4EQCAArQ8LQoCAgIDAfiAAuL0iAkKAgICAwIGA/P8AfSACQv///////////wCDQoCAgICAgID4/wBWGwsHACABNQIACwcAIAEzAQALDgAgATIBAEL/////D4MLCQAgABC1AkF/Cw4AIAEwAABC/////w+DCwcAIAExAAALDwAgACsDACABKwMAEP0ECxEAIAAqAgC7IAEqAgC7EP0ECxkBAn4gASkDACIDIAApAwAiBFQgAyAEVmsLGQECfiABKQMAIgMgACkDACIEUyADIARVawsXACABKAIAIgEgACgCACIASSAAIAFJawsXACABKAIAIgEgACgCACIASCAAIAFIawsNACAALwEAIAEvAQBrCw0AIAAuAQAgAS4BAGsLDQAgACwAACABLAAAawsNACAALQAAIAEtAABrC8wNBAd/AXwBfgF9IwBBIGsiBiQAQoCAgIDgACENAkAgACABEJIBIgpBAEgNAEF/IQUCQAJAAkAgCkUNAEEBIQgCQAJAIARBAUYEQEF/IQggBiAKQQFrIgU2AhwgAkECSA0BIAAgBkEIaiADKQMIEEINBiAGKwMIIgy9Qv///////////wCDQoGAgICAgID4/wBaBEAgBkEANgIcDAILIAxEAAAAAAAAAABmBEAgDCAFt2NFDQIgBgJ/IAyZRAAAAAAAAOBBYwRAIAyqDAELQYCAgIB4CzYCHAwCC0F/IQUgDCAKt6AiDEQAAA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+IAIpAAAiAUI4hiABQoD+A4NCKIaEIAFCgID8B4NCGIYgAUKAgID4D4NCCIaEhCABQgiIQoCAgPgPgyABQhiIQoCA/AeDhCABQiiIQoD+A4MgAUI4iISEhCABIAYbIgFCgICAgMCBgPz/AH0gAUL///////////8Ag0KAgICAgICA+P8AVhshBQwCCxABAAsgAjAAAEL/////D4MhBQsgB0EQaiQAIAULUgIBfwF+QoCAgIDgACEEIAAgASACEJMBIgMEfiADKAIgIgMoAgwoAiAtAAQEQCACRQRAQgAPCyAAEGtCgICAgOAADwsgAzUCFAVCgICAgOAACwvXAQEDfwJAIAFCgICAgHBUDQAgAaciAy8BBkE5Rw0AIAMoAiAiBEUNACAEQcwAaiEDIARByABqIQUDQCAFIAMoAgAiA0cEQCADKQMQIgFCgICAgGBaBEAgACABpyACEQAACyADKQMYIgFCgICAgGBaBEAgACABpyACEQAACyADKQMgIgFCgICAgGBaBEAgACABpyACEQAACyADKQMoIgFCgICAgGBaBEAgACABpyACEQAACyADQQRqIQMMAQsLIAQoAgRBfnFBBEYNACAAIARBCGogAhDvAwsLBgBB4MYECzABAX8CQCABQoCAgIBwVA0AIAGnIgIvAQZBOUcNACACKAIgIgJFDQAgACACEIcFCwsNACAAIAEgAkE3EP0FCwsAIAAgAUE3EP4FCxYBAX8gAacoAiAiAgRAIAAgAhCIBQsLMQEBfyABpygCICICBEAgACACKAIIEKMFIAAgAikDABAjIABBEGogAiAAKAIEEQAACwvcAQEEfwJAIAFCgICAgHBUDQAgAaciBC8BBkExRw0AIAQoAiAiBkUNAEEAIQQDQCAEQQJGRQRAIAYgBEEDdGoiBUEIaiEDIAVBBGohBQNAIAUgAygCACIDRwRAIAMpAwgiAUKAgICAYFoEQCAAIAGnIAIRAAALIAMpAxAiAUKAgICAYFoEQCAAIAGnIAIRAAALIAMpAxgiAUKAgICAYFoEQCAAIAGnIAIRAAALIANBBGohAwwBCwsgBEEBaiEEDAELCyAGKQMYIgFCgICAgGBUDQAgACABpyACEQAACwuMA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AFENACAAIAJBFGogAykDCBC7ASIGRQRAIAAgBRAPDAELIAAoAtgBIQMgAkIANwIMIAJCgICAgICAgICAfzcCBCACIAM2AgAgAkIBEDAaIAIgAikDKCIBpyIHQf////8DQQEQzAEaIAIgAkJ/Qf////8DQQEQdRogBadBBGoiAyAGIAIQkwUaAkAgBEUgAVByDQAgAkIBEDAaIAIgB0EBa0H/////A0EBEMwBGiADIAIQ0wFBAEgNACACQgEQMBogAiAHQf////8DQQEQzAEaIAMgAyACQf////8DQQEQ5AEaCyACEBsgACAGIAJBFGoQXiAAIAUQzQEhAQsgAkEwaiQAIAEL6hMCAn4BfyMAQdABayIEJAAgACAEEJgFIAEgARA0IgNBqi0CfiAEKQMIIgJCgICAgAh8Qv////8PWARAIAJC/////w+DDAELQoCAgIDAfiACub0iAkKAgICAwIGA/P8AfSACQv///////////wCDQoCAgICAgID4/wBWGwsQQCABIANB3+AAAn4gBCkDECICQoCAgIAIfEL/////D1gEQCACQv////8PgwwBC0KAgICAwH4gArm9IgJCgICAgMCBgPz/AH0gAkL///////////8Ag0KAgICAgICA+P8AVhsLEEAgASADQboqAn4gBCkDGCICQoCAgIAIfEL/////D1gEQCACQv////8PgwwBC0KAgICAwH4gArm9IgJCgICAgMCBgPz/AH0gAkL///////////8Ag0KAgICAgICA+P8AVhsLEEAgASADQagqAn4gBCkDICICQoCAgIAIfEL/////D1gEQCACQv////8PgwwBC0KAgICAwH4gArm9IgJCgICAgMCBgPz/AH0gAkL///////////8Ag0KAgICAgICA+P8AVhsLEEAgASADQfooAn4gBCkDKCICQoCAgIAIfEL/////D1gEQCACQv////8PgwwBC0KAgICAwH4gArm9IgJCgICAgMCBgPz/AH0gAkL///////////8Ag0KAgICAgICA+P8AVhsLEEAgASADQfrfAAJ+IAQpAzAiAkKAgICACHxC/////w9YBEAgAkL/////D4MMAQtCgICAgMB+IAK5vSICQoCAgIDAgYD8/wB9IAJC////////////AINCgICAgICAgPj/AFYbCxBAIAEgA0HYKAJ+IAQpAzgiAkKAgICACHxC/////w9YBEAgAkL/////D4MMAQtCgICAgMB+IAK5vSICQoCAgIDAgYD8/wB9IAJC////////////AINCgICAgICAgPj/AFYbCxBAIAEgA0G23wACfiAEKQNAIgJCgICAgAh8Qv////8PWARAIAJC/////w+DDAELQoCAgIDAfiACub0iAkKAgICAwIGA/P8AfSACQv///////////wCDQoCAgICAgID4/wBWGwsQQCABIANBzSkCfiAEKQNIIgJCgICAgAh8Qv////8PWARAIAJC/////w+DDAELQoCAgIDAfiACub0iAkKAgICAwIGA/P8AfSACQv///////////wCDQoCAgICAgID4/wBWGwsQQCABIANBl+AAAn4gBCkDUCICQoCAgIAIfEL/////D1gEQCACQv////8PgwwBC0KAgICAwH4gArm9IgJCgICAgMCBgPz/AH0gAkL///////////8Ag0KAgICAgICA+P8AVhsLEEAgASADQeIoAn4gBCkDWCICQoCAgIAIfEL/////D1gEQCACQv////8PgwwBC0KAgICAwH4gArm9IgJCgICAgMCBgPz/AH0gAkL///////////8Ag0KAgICAgICA+P8AVhsLEEAgASADQc/fAAJ+IAQpA2AiAkKAgICACHxC/////w9YBEAgAkL/////D4MMAQtCgICAgMB+IAK5vSICQoCAgIDAgYD8/wB9IAJC////////////AINCgICAgICAgPj/AFYbCxBAIAEgA0GGKgJ+IAQpA2giAkKAgICACHxC/////w9YBEAgAkL/////D4MMAQtCgICAgMB+IAK5vSICQoCAgIDAgYD8/wB9IAJC////////////AINCgICAgICAgPj/AFYbCxBAIAEgA0Gt4AACfiAEKQNwIgJCgICAgAh8Qv////8PWARAIAJC/////w+DDAELQoCAgIDAfiACub0iAkKAgICAwIGA/P8AfSACQv///////////wCDQoCAgICAgID4/wBWGwsQQCABIANBxyoCfiAEKQN4IgJCgICAgAh8Qv////8PWARAIAJC/////w+DDAELQoCAgIDAfiACub0iAkKAgICAwIGA/P8AfSACQv///////////wCDQoCAgICAgID4/wBWGwsQQCABIANB8OAAAn4gBCkDgAEiAkKAgICACHxC/////w9YBEAgAkL/////D4MMAQtCgICAgMB+IAK5vSICQoCAgIDAgYD8/wB9IAJC////////////AINCgICAgICAgPj/AFYbCxBAIAEgA0HN4AACfiAEKQOIASICQoCAgIAIfEL/////D1gEQCACQv////8PgwwBC0KAgICAwH4gArm9IgJCgICAgMCBgPz/AH0gAkL///////////8Ag0KAgICAgICA+P8AVhsLEEAgASADQZIqAn4gBCkDkAEiAkKAgICACHxC/////w9YBEAgAkL/////D4MMAQtCgICAgMB+IAK5vSICQoCAgIDAgYD8/wB9IAJC////////////AINCgICAgICAgPj/AFYbCxBAIAEgA0G44AACfiAEKQOYASICQoCAgIAIfEL/////D1gEQCACQv////8PgwwBC0KAgICAwH4gArm9IgJCgICAgMCBgPz/AH0gAkL///////////8Ag0KAgICAgICA+P8AVhsLEEAgASADQdUqAn4gBCkDoAEiAkKAgICACHxC/////w9YBEAgAkL/////D4MMAQtCgICAgMB+IAK5vSICQoCAgIDAgYD8/wB9IAJC////////////AINCgICAgICAgPj/AFYbCxBAIAEgA0HvJwJ+IAQpA6gBIgJCgICAgAh8Qv////8PWARAIAJC/////w+DDAELQoCAgIDAfiACub0iAkKAgICAwIGA/P8AfSACQv///////////wCDQoCAgICAgID4/wBWGwsQQCABIANB6icCfiAEKQOwASICQoCAgIAIfEL/////D1gEQCACQv////8PgwwBC0KAgICAwH4gArm9IgJCgICAgMCBgPz/AH0gAkL///////////8Ag0KAgICAgICA+P8AVhsLEEAgASADQeszAn4gBCkDuAEiAkKAgICACHxC/////w9YBEAgAkL/////D4MMAQtCgICAgMB+IAK5vSICQoCAgIDAgYD8/wB9IAJC////////////AINCgICAgICAgPj/AFYbCxBAIAEgA0H7JwJ+IAQpA8ABIgJCgICAgAh8Qv////8PWARAIAJC/////w+DDAELQoCAgIDAfiACub0iAkKAgICAwIGA/P8AfSACQv///////////wCDQoCAgICAgID4/wBWGwsQQCABIANBo98AAn4gBCkDyAEiAkKAgICACHxC/////w9YBEAgAkL/////D4MMAQtCgICAgMB+IAK5vSICQoCAgIDAgYD8/wB9IAJC////////////AINCgICAgICAgPj/AFYbCxBAIAMQUyEAIARB0AFqJAAgAAufAgEDfiABQv////9vWARAIAAQJEKAgICA4AAPC0KAgICA4AAhBQJ+IAAgAUE2IAFBABAUIgRCgICAgHCDQoCAgIAwUQRAIABBlAEQLQwBCyAAIAQQNwsiBEKAgICAcIMiBkKAgICA4ABSBH4CfiAAIAFBMyABQQAQFCIBQoCAgIBwg0KAgICAMFEEQCAAQS8QLQwBCyAAIAEQNwsiAUKAgICAcIMiBUKAgICA4ABRBEAgACAEEA9CgICAgOAADwsCQCAGQoCAgICQf1EEQCAEpygCBEH/////B3FFDQELIAVCgICAgJB/UQRAIAGnKAIEQf////8HcUUNAQsgAEHMngEgBEH4mQEQvgEhBAsgACAEIAEQxAIFQoCAgIDgAAsLXwEBfwJAIAFFBEAgAkUNASAAIAIQ2QMPCyACRQRAIAAgACgCAEEBazYCACAAIAAoAgRBCGs2AgQgARCbAQwBCyAAKAIIIAAoAgQgAmpPBH8gASACEPMFBUEACw8LQQALJgAgAQRAIAAgACgCAEEBazYCACAAIAAoAgRBCGs2AgQgARCbAQsLCQAgACABNgIYCygBAX8CQCABpygCICIDRQ0AIAMoAgBBBEYNACAAIANBCGogAhDvAwsLPwEBfwJAIAFCgICAgHBUDQAgAaciAi8BBkEvRw0AIAIoAiAiAkUNACAAIAIQ7AMgAEEQaiACIAAoAgQRAAALC0cBAX8CQCABpygCICIDRQ0AIAMpAwAiAUKAgICAYFoEQCAAIAGnIAIRAAALIAMpAwgiAUKAgICAYFQNACAAIAGnIAIRAAALCzABAX8gAacoAiAiAgRAIAAgAikDABAjIAAgAikDCBAjIABBEGogAiAAKAIEEQAACwsnAQF/IAGnKAIgIgIEQCAAIAIpAwAQIyAAQRBqIAIgACgCBBEAAAsLWgECfyABpygCICICBEACQCACKQMAIgFCgICAgHBUDQAgAactAAVBAnENACACKAIMIgNFDQAgACADEOoDIAIpAwAhAQsgACABECMgAEEQaiACIAAoAgQRAAALC3gBA38CQCABpyg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AZBgIAIchBtIQILIAILRgACfwJAIAJBAE4NACABpykDICIBQoCAgIBwg0KAgICAkH9SDQBBACACQf////8HcSABpygCBEH/////B3FJDQEaC0EBCwuzAQECfwJAIANBAE4NACACpykDICICQoCAgIBwg0KAgICAkH9SDQAgA0H/////B3EiAyACpyIEKQIEIgKnQf////8HcU8NAEEBIQUgAUUNACAEQRBqIQQCfyACQoCAgIAIg1BFBEAgBCADQQF0ai8BAAwBCyADIARqLQAACyEDIAFBBDYCACAAIANB//8DcRCfAyECIAFCgICAgDA3AxggAUKAgICAMDcDECABIAI3AwgLIAULWwECfyABpygCECIAQTBqIQMgACAAKAIYIAJxQX9zQQJ0aigCACEAA0ACQCAARQ0AIAMgAEEBa0EDdGoiBCgCBCACRg0AIAQoAgBB////H3EhAAwBCwsgAEEARws1AQF+IAEpAwAiAkIgiKdBdU8EQCACpyIBIAEoAgBBAWo2AgALIAAgAhCKAUKAgICA4AAQUwuOAQECfyABKAIAIgJBAEoEQCABIAJBAWsiAjYCAAJAIAINACABLQAEQfABcUEQRw0AIAEoAggiAiABKAIMIgM2AgQgAyACNgIAIAFBADYCCCAAKAJgIgIgAUEIaiIDNgIEIAEgAEHgAGo2AgwgASACNgIIIAAgAzYCYAsPC0HFjQFBrvwAQbAsQc/0ABAAAAtvAQJ/IAEgASgCACICQQFqNgIAIAJFBEAgASgCCCICIAEoAgwiAzYCBCADIAI2AgAgAUEANgIIIAAoAlAiAiABQQhqIgM2AgQgASAAQdAAajYCDCABIAI2AgggACADNgJQIAEgAS0ABEEPcToABAsLDwAgASABKAIAQQFqNgIAC4gBAgF+AX9BACECQoCAgIAwIQEDQAJAIAJBAkcEfiAFIAJBA3QiBGoiBzUCBEIghkKAgICAMFENASAAQawuQQAQFUKAgICA4AAFQoCAgIAwCw8LIAMgBGopAwAiBkIgiKdBdU8EQCAGpyIEIAQoAgBBAWo2AgALIAcgBjcDACACQQFqIQIMAAsAC1wBAn4gAiAAKAIAEC0hA0EAIQAgA0KAgICAcINCgICAgOAAUSACIAEoAgAQLSIEQoCAgIBwg0KAgICA4ABRckUEQCADpyAEpxCDAiEACyACIAMQDyACIAQQDyAAC2sBAX4CQAJAAkACQAJAIAMtAAUiAQ4EAwICAAELIAAgAygCCBDKBA8LIAFBCEYNAgsQAQALIAAgAygCDCADKAIAIAMtAAggAy0ACSADLgEGEIIBDwsgACAAEDQiBCADKAIIIAMoAgwQIiAECwkAIAAgAxCNAwtTAQF+IAAQNCIEQoCAgIBwg0KAgICA4ABSBEAgASABKAIAQQFqNgIAIAAgBEE8IAGtQoCAgIBwhEEDEBlBAE4EQCAEDwsgACAEEA8LQoCAgIDgAAsDAAELagEBfyMAQRBrIgMkACABKAIEIQEgAiADQQxqIAAoAgQQrAFBACACIANBCGogARCsARtFBEBB0MUAQa78AEGDOkH8yQAQAAALIAMoAgghACADKAIMIQEgA0EQaiQAQX8gACABRyAAIAFLGwvaAwICfgF/IwBBIGsiBSQAAkACQCAAIAFBLBBLIgJFDQBCgICAgDAhAQJAIAIpAwAiBkKAgICAcINCgICAgDBSBEACfwJAIAanIgMvAQZBFWtB//8DcUEKTQRAIAMoAiAoAgwoAiAtAARFDQEgABBrDAULIAAgBUEcaiAGENYBDQQgBUEcagwBCyADQShqCyEIIAIoAgwiAyAIKAIASQ0BIAAgAikDABAPIAJCgICAgDA3AwALIARBATYCAAwCCyACIANBAWo2AgwgBEEANgIAIAIoAghFBEAgA0EATgRAIAOtIQEMAwtCgICAgMB+IAO4vSIBQoCAgIDAgYD8/wB9IAFC////////////AINCgICAgICAgPj/AFYbIQEMAgtCgICAgOAAIQEgACACKQMAIAMQsAEiBkKAgICAcINCgICAgOAAUQ0BIAIoAghBAUYEQCAGIQEMAgsgBSAGNwMIIAUgA0EATgR+IAOtBUKAgICAwH4gA7i9IgFCgICAgMCBgPz/AH0gAUL///////////8Ag0KAgICAgICA+P8AVhsLIgc3AwAgAEECIAUQiQMhASAAIAYQDyAAIAcQDwwBCyAEQQA2AgBCgICAgOAAIQELI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AciABIAgbEG0aIAAgAhATC0QBAX4gACACKQMAEDEhAiADKQMAIgRCIIinQXVPBEAgBKciAyADKAIAQQFqNgIACyAAIAEpAwAgAiAEELEFIAAgAhATCywBAX4gACACKQMAEDEhAiAAIAEpAwAiAyACIANBABAUIQMgACACEBMgAxBTC/QBAgV/AX4gAEGgAWohBwJAA0ACQCABIAZGDQAgACgCpAEiAyAHRg0AIAMoAgAiBSADKAIEIgQ2AgQgBCAFNgIAIANCADcCAEEAIQQgAygCCCIFIAMoAhAgA0EYaiADKAIMERkAIQgDQCAEIAMoAhBORQRAIAUgAyAEQQN0aikDGBAPIARBAWohBAwBCwsgBSAIEA8gBSgCECIEQRBqIAMgBCgCBBEAACACIAU2AgAgCEKAgICAcINCgICAgOAAUQRAIAUoAhAiACkDgAEhCCAAQoCAgIAgNwOAAQwDBSAGQQFqIQYMAgsACwsgBq0hCAsgCBBTCw8AIAAoAqQBIABBoAFqRwshAQF+IAAgACABEPYFIgIQDyACQoCAgIBwg0KAgICAMFILPwEBfiAAIAEQ9gUiAkKAgICAcINCgICAgDBRBEAgACABKQMAQa3LABCyASECCyAAIAIQswEhASAAIAIQDyABC7UBAgJ/A34jAEEQayIDJAAgACkDwAEiBUIgiKdBdU8EQCAFpyIEIAQoAgBBAWo2AgALIAAgBUGD0wAQsgEhBiAAIAUQDyADIAAgARBiNwMIAkAgAgRAIAAgACAGQdnAABCyASIFIAZBASADQQhqECEhByAAIAMpAwgQDwwBCyAAIAZCgICAgDBBASADQQhqECEhByADKQMIIQULIAAgBRAPIAAgBhAPIAcQUyEAIANBEGokACAACwoAIAAgARBiEFMLPgIBfwF8IwBBEGsiAiQAIAJCgICAgICAgPz/ADcDCCAAIAJBCGogASkDABBCGiACKwMIIQMgAkEQaiQAIAMLaQEBfgJ+IAG9IgICfyABmUQAAAAAAADgQWMEQCABqgwBC0GAgICAeAsiALe9UQRAIACtDAELQoCAgIDAfiACQoCAgIDAgYD8/wB9IAJC////////////AINCgICAgICAgPj/AF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BEEIaiADQQAQqQEgACABIAQoAggiASABQR91IgFzIAFrIgEgAkHAACABQQFrZ0EBdGtBACABQQJPG2pBCGoiAkHgDxCiBCEBIAMoAgQEQCAEQgA3AhggBEKAgICAgICAgIB/NwIQIAQgBTYCDCAEQQxqIgNCARAwGiAAIAMgACACQeAPEJUBIAFyIQEgAxAbCyAEQSBqJAAgAQuQBgIIfwF+IwBB8ABrIgMkACAAIAFHBEAgACgCACEEIANCADcCaCADQoCAgICAgICAgH83AmAgAyAENgJcIANB3ABqIgUgARBEGiADQgA3AlQgA0KAgICAgICAgIB/NwJMIAMgBDYCSCADKAJkIQYgA0EANgJkIANByABqIgFCqtWq1QoQMBogA0EANgJQIAUgARCyAgRAIAMgAygCZEEBajYCZCAGQQFrIQYLIANByABqEBsgAkEBakEBdhCVBiEFIANCADcCVCADQoCAgICAgICAgH83AkwgAyAENgJIIANCADcCQCADQoCAgICAgICAgH83AjggAyAENgI0IANB3ABqIgEgAUJ/Qf////8DQQAQdRogBUEAIAVBAEobIQkgAiAFaiACIAVBAXRuQQFqIgpBAXRqQSBqIQJBACEBA0AgASAJRkUEQCADQcgAaiIHIANB3ABqIghCASACQQAQdRogA0E0aiILIAcgAkEGEJEGIAcgC0IBIAJBABB1GiAIIAggByACQQAQlQEaIAFBAWohAQwBCwsgA0IANwIsIANCgICAgICAgICAfzcCJCADIAQ2AiAgA0IANwIYIANCgICAgICAgICAfzcCECADIAQ2AgwgA0EgaiIBIANB3ABqIgRCAiACQQAQdRogASAEIAEgAkEAEJUBGiADQQxqIAEgASACQQAQQxogAEIAEDAaIAqsIQwDQCAMQgBXRQRAIANByABqIgFCARAwGiADQTRqIgQgDKdBAXRBAXKsEDAaIAEgASAEIAJBABCVARogACAAIAEgAkEAEMsBGiAAIAAgA0EMaiACQQAQQxogDEIBfSEMDAELCyAAIABCASACQQAQdRogACAAIANBIGoiASACQQAQQxogARAbIANBDGoQGyADQTRqEBsgA0HIAGoQGyAAIAVBAWpB/////wNBARDMARogA0HcAGoiASACQQYQ0wIgASABIAasIAJBABDUAiAAIAAgASACQQAQywEaIAEQGyADQfAAaiQAQRAPC0HY/QBB1PwAQdciQajWABAAAAsRACAAIAEgAiADIARBABCWBgsRACAAIAEgAiADIARBARCWBgvYAwEHfyACKAIEIAEoAgRzIQcCQAJAAkACQAJAAkACQCABKAIIIgZB/f///wdMBEAgAigCCCIFQf3///8HSg0BIAZBgICAgHhHDQYgBUGAgICAeEYNBAwHCyAGQf////8HRg0BIAIoAgghBQsgBUH/////B0cNAQsgABA1QQAPCyAGQf7///8HRyIBIAVB/v///wdHcg0BCyAAEDVBAQ8LIAENASAAIAcQjAFBAA8LIAVBgICAgHhGBEAgACAHEIwBQQIPCwJAIAAoAgAiBSgCAEEAIAEoAgwiBiADQSFqQQV2IgggBiAIShsiCiACKAIMIghqIglBAnRBBGogBSgCBBEBACIGBEAgBkEAIAkgASgCDGtBAnQiCxArIgYgC2ogASgCECABKAIMQQJ0EB8aIAAgCkEBahBBRQRAIAUgACgCECAGIAkgAigCECAIEKUERQ0CCyAFKAIAIAZBACAFKAIEEQEAGgsgABA1QSAPCyAGIAgQqAMEQCAAKAIQIgUgBSgCAEEBcjYCAAsgACgCACIFKAIAIAZBACAFKAIEEQEAGiACKAIIIQIgASgCCCEBIAAgBzYCBCAAIAEgAmtBIGo2AgggACADIAQQswIPCyAAIAcQiQFBAAtYAQF+IAAgAykDABD9AUEAR61CgICAgBCEIQQgAUKAgICAcINCgICAgDBRBEAgBA8LIAAgAUEGEGUiAUKAgICAcINCgICAgOAAUgRAIAAgASAEENsBCyABC5MCAgF+AX8jAEEQayIFJAACQAJAIAJFBEAMAQsgACADKQMAELkCIgRCgICAgHCDQoCAgIDgAFENAQJAAkAgBEIgiKdBC2oOAwEAAAILIASnQQRqIAVBCGoQtQUgACAEEA9CgICAgMB+IAUpAwgiBEKAgICAwIGA/P8AfSAEQv///////////wCDQoCAgICAgID4/wBWGyEEDAELIAAgBBA3IgRCgICAgHCDQoCAgIDg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ooAgQFQS8LEC0L8gECBH8BfiMAQTBrIgIkAEKBgICAECEBAkAgAykDACIJQoCAgIBwVA0AQoCAgIDgACEBIAAgAkEsaiACQShqIAmnIghBAxCOAQ0AIAIoAiwhBiACKAIoIQdBACEDAkADQCADIAdHBEAgACACQQhqIAggBiADQQN0aigCBBBMIgVBAEgNAgJAIAVFDQAgACACQQhqEEggAigCCCIFQQFxRSAERSAFQQJxRXJxDQBCgICAgBAhAQwDCyADQQFqIQMMAQsLIAAgCRCZASIDQQBIDQEgA0EBR61CgICAgBCEIQELIAAgBiAHEFoLIAJBMGokACABC78BAgF+AX9CgICAgDAhAQJAIAAgAykDABAlIgRCgICAgHCDQoCAgIDgAFENAEEBIAIgAkEBTBshBUEBIQIDQCACIAVGBEAgBA8LIAMgAkEDdGopAwAiAUKAgICAEIRCgICAgHCDQoCAgIAwUgRAIAAgARAlIgFCgICAgHCDQoCAgIDgAFENAiAAIAQgAUKAgICAMEEBENQFDQIgACABEA8LIAJBAWohAgwACwALIAAgBBAPIAAgARAPQoCAgIDgAAsYACAAIAMpAwAgAykDCBBSrUKAgICAEIQL4gICA34DfyMAQSBrIgIkAEKAgICA4AAhBCAAIAMpAwAQJSIFQoCAgIBwg0KAgICA4ABSBEBCgICAgDAhAQJAAkAgACACQRxqIAJBGGogBadBAxCOAQ0AQoCAgIDgACEBIAAQNCIEQoCAgIBwg0KAgICA4ABRDQAgAigCHCEHIAIoAhghCEEAIQMDQCADIAhHBEACQAJAIAAgByADQQN0aiIJKAIEEFwiAUKAgICAcINCgICAgOAAUQ0AIAIgATcDCCACIAU3AwAgACAEIAAgAkEAEMYEIQYgACABEA8gBkKAgICAcIMiAUKAgICAMFENASABQoCAgIDgAFENACAAIAQgCSgCBCAGQYeAARAZQQBODQELIAQhAQwDCyADQQFqIQMMAQsLIAAgByAIEFogBSEBDAELIAAgAigCHCACKAIYEFogACAFEA9CgICAgOAAIQQLIAAgARAPCyACQSBqJAAgBAsQACAAIAMpAwBBESAEEKoCC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INCgICAgOAAUQ0AGiAEpyICIAIoAgBBAWo2AgAgAachAgNAIAAgBBCMAiIEQoCAgIBwgyIFQoCAgIDgAFIEQCACIASnRiAFQoCAgIAgUXINAyAAEHtFDQELCyAAIAQQDyAAIAEQD0KAgICA4AALDwsgACAEEA8gACABEA8gBUKAgICAIFKtQoCAgIAQhAt6AQF+IAAgAykDABAxIgJFBEBCgICAgOAADwtCgICAgOAAIQQgACABECUiAUKAgICAcINCgICAgOAAUQRAIAAgAhATIAEPCyAAQQAgAacgAhBMIQMgACACEBMgACABEA9CgICAgOAAIANBAEetQoCAgIAQhCADQQBIGwsIACAAIAEQJQsPACAAIAFBN0EAQQAQrAILLQEBfkKAgICAMCECAkAgARCjAyIARQ0AIAAtABJBBHFFDQAgADUCRCECCyACCzMCAX4Bf0KAgICAMCECAkAgARCjAyIDRQ0AIAMtABJBBHFFDQAgACADKAJAEC0hAgsgAgsoAEKAgICA4AAgACADKQMAIAEQvgUiAEEAR61CgICAgBCEIABBAEgbC7cBAgF+An9CgICAgOAAIQQgACABEGAEfkKAgICA4AAFQcqZASECAkAgAaciAy8BBhDuAUUNAAJAIAMoAiAiAy8AESIFQYAIcUUNACADKAJUIgZFDQAgACAGIAMoAkgQkwIPCyAFQQR2QQNxQQFrIgNBAksNACADQQJ0QfT/AWooAgAhAgsgACACIAAgAUE2IAFBABAUIgFCgICAgHCDQoCAgIAwUQR+IABBLxAtBSABC0G+GRC+AQsL6QUDA34GfwN8AkACfkKAgICA4AAgACABEGANABpCgICAgOAAIAAgACkDMEEOEEkiBUKAgICAcINCgICAgOAAUQ0AGiAFpyIKIAFCgICAgHBaBH8gAactAAVBEHEFQQALIAotAAVB7wFxcjoABSAAQQEgAiACQQFMGyILQQFrIghBA3RBGGoQKSIHRQ0BIAFCIIinQXVPBEAgAaciAiACKAIAQQFqNgIACyAHIAE3AwAgAykDACIEQiCIp0F1TwRAIASnIgIgAigCAEEBajYCAAsgByAINgIQIAcgBDcDCEEAIQIDQCACIAhH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AsACyABIQkLIAAgCBAPIAlC/////w+DIAlCgICAgAh8Qv////8PWA0BGkKAgICAwH4gCbm9IgFCgICAgMCBgPz/AH0gAUL///////////8Ag0KAgICAgICA+P8AVhsMAQsgACAIEA9CgICAgOAACyEBIARBIGokACABC64DAgh+AX8jAEEwayINJABCgICAgDAhBgJAAkAgACANQQhqIAAgARAlIgcQPARAQoCAgIAwIQUMAQtCgICAgDAhBSAAIAMpAwAiChBgDQBCgICAgDAhCSACQQJOBEAgAykDCCEJCyANKQMIIgVCACAFQgBVGyELA0AgCCALUgRAIAgiBUKAgICACFoEQEKAgICAwH4gCLm9IgVCgICAgMCBgPz/AH0gBUL///////////8Ag0KAgICAgICA+P8AVhshBQsgBUKAgICAcINCgICAgOAAUQ0CIAAgByAFEE0iBkKAgICAcINCgICAgOAAUQ0CIA0gATcDICANIAU3AxggDSAGNwMQIAAgCiAJQQMgDUEQahAhIgxCgICAgHCDQoCAgIDgAFENAiAAIAwQJgRAIAQEQCAAIAYQDyAAIAcQDwwFCyAAIAUQDyAAIAcQDyAGIQUMBAUgACAGEA8gACAFEA8gCEIBfCEIDAILAAsLIAAgBxAPQv////8PQoCAgIAwIAQbIQUMAQsgACAFEA8gACAGEA8gACAHEA9CgICAgOAAIQULIA1BMGokACAFC6ICAgN+AX8jAEEgayIHJAACQAJAIAAgB0EYaiAAIAEQJSIFEDwNACAHQgA3AxACQCACQQFMBEAgBykDGCEEDAELIAcpAxghBCADKQMIIgFCgICAgHCDQoCAgIAwUgRAIAAgB0EQaiABQgAgBCAEEHQNAgsgByAENwMIIAJBA0kNACADKQMQIgFCgICAgHCDQoCAgIAwUQ0AIAAgB0EIaiABQgAgBCAEEHQNASAHKQMIIQQLIAQgBykDECIBIAEgBFMbIQYDQCABIAZRDQIgAykDACIEQiCIp0F1TwRAIASnIgIgAigCAEEBajYCAAsgACAFIAEgBBCGAUEASA0BIAFCAXwhAQwACwALIAAgBRAPQoCAgIDgACEFCyAHQSBqJAAgBQuuBAIFfgN/IwBBEGsiCSQAQoCAgIAwIQYCQAJAIAAgARAlIghCgICAgHCDQoCAgIDgAFENACAAIAhCABCrAiIGQoCAgIBwg0KAgICA4ABRDQBBfyEKQX8gAiACQQBIGyELAkADQCAKIAtHBEAgCCEFIApBAE4EQCADIApBA3RqKQMAIQULAkACQCAFQoCAgIBwVA0AAn8gACAFQdgBIAVBABAUIgFCgICAgHCDIgdCgICAgDBSBEAgB0KAgICA4ABRDQcgACABECYMAQsgACAFEMoBCyICQQBIDQUgAkUNACAAIAkgBRA8DQUgCSkDACIHIAR8Qv////////8PVQ0EQgAhASAHQgAgB0IAVRshBwNAIAEgB1ENAiAAIAUgASAJQQhqEIUBIgJBAEgNBiACBEAgACAGIAQgCSkDCBBqQQBIDQcLIARCAXwhBCABQgF8IQEMAAsACyAEQv7///////8PVQ0DIAVCIIinQXVPBEAgBaciAiACKAIAQQFqNgIACyAAIAYgBCAFEGpBAEgNBCAEQgF8IQQLIApBAWohCgwBCwsgACAGQTAgBEKAgICACHxC/////w9YBH4gBEL/////D4MFQoCAgIDAfiAEub0iAUKAgICAwIGA/P8AfSABQv///////////wCDQoCAgICAgID4/wBWGwsQRUEASA0BDAILIABB0NoAQQAQFQsgACAGEA9CgICAgOAAIQYLIAAgCBAPIAlBEGokACAGC7ECAgR+An8jAEEQayIIJABCgICAgOAAIQUCQAJ+AkAgAUKAgICAcFQNACABpy0ABUEQcUUNACAIIAKtNwMIIAAgAUEBIAhBCGoQpwEMAQsgABA+CyIEQoCAgIBwg0KAgICA4ABRDQAgAkEAIAJBAEobrSEHQgAhAQJAA0AgASAHUgRAIAMgAadBA3RqKQMAIgZCIIinQXVPBEAgBqciCSAJKAIAQQFqNgIACyAAIAQgASAGQYCAARDSASEJIAFCAXwhASAJQQBODQEMAgsLIAAgBEEwIAJBAE4EfiACrQVCgICAgMB+IAK4vSIBQoCAgIDAgYD8/wB9IAFC////////////AINCgICAgICAgPj/AFYbCxBFQQBIDQAgBCEFDAELIAAgBBAPCyA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QcgBkIAIAZCAFUbIQkDQCAHIAlRBEBCgICAgDAhCkKAgICAMCEJDAULQoCAgIAwIQogACALIAcQcyIGQoCAgIBwg0KAgICA4ABRDQICQCAFBEAgBiEBDAELIAQgBjcDICAEIAdC/////w+DNwMoIAAgDCANQQIgBEEgahAhIQEgACAGEA8gAUKAgICAcINCgICAgOAAUQ0DCyAAIAggByABEGpBAEgNAiAHQgF8IQcMAAsAC0KAgICAMCELIAlCgICAgHCDQoCAgIAwUQ0DIAAgCUEBEK0BGgwDC0KAgICAMCEJDAILQoCAgIAwIQpCgICAgDAhCUKAgICAMCEIDAELIAAgCEEwIAenIgJBAE4EfiAHQv////8PgwVCgICAgMB+IAK4vSIBQoCAgIDAgYD8/wB9IAFC////////////AINCgICAgICAgPj/AFYbCxBFQQBODQELIAAgCBAPQoCAgIDgACEICyAAIAsQDyAAIAkQDyAAIAoQDyAEQTBqJAAgCAsmAEKAgICA4AAgACADKQMAEMoBIgBBAEetQoCAgIAQhCAAQQBIGwuAAQAjAEEQayIAJAAgABCjBAJ+IAA0AgggACkDAELAhD1+fCIBQoCAgIAIfEL/////D1gEQCABQv////8PgwwBC0KAgICAwH4gAbm9IgFCgICAgMCBgPz/AH0gAUL///////////8Ag0KAgICAgICA+P8AVhsLIQEgAEEQaiQAIAELxwIBBX8jAEEgayIEJAAgACADKQMAECgiAUKAgICAcINCgICAgOAAUgRAIAAgBEEIakEAED0aIAGnIgVBEGohBiAFKAIEQf////8HcSEHQQAhAwNAIAMgB05FBEACQAJ/IAUpAgRCgICAgAiDUCIIRQRAIAYgA0EBdGovAQAMAQsgAyAGai0AAAsiAkElRw0AAkAgA0EGaiAHSg0AIANBAWohAgJ/IAhFBEAgBiACQQF0ai8BAAwBCyACIAZqLQAAC0H1AEcNACAFIANBAmpBBBC4BCICQQBIDQAgA0EFaiEDDAELQSUhAiADQQNqIAdKDQAgBSADQQFqQQIQuAQiAkElIAJBAE4iCBshAiADQQJqIAMgCBshAwsgBEEIaiACEIsBG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INCgICAgDBRDQAgACABEI4FIgZBAEgNAQtCgICAgOAAIAAgAkEIaiAFEG4NARogACACKwMIIAZBAEEAEI8CDAELIAAgBRAPQoCAgIDgAAshASACQRBqJAAgAQuMAgIBfgF8IwBBEGsiAiQAQoCAgIDgACEEAkAgACABEN0CIgFCgICAgHCDQoCAgIDgAFEEQCABIQQMAQsgACACIAEQbg0AAkACQCADKQMAIgFCgICAgHCDQoCAgIAwUQRAIAIpAwAhAQwBCyAAIAJBDGogARC6AQ0CIAIrAwAiBb0iAUKAgICAgICA+P8Ag0KAgICAgICA+P8AUg0BCyAAQoCAgIDAfiABQoCAgIDAgYD8/wB9IAFC////////////AINCgICAgICAgPj/AFYbEDchBAwBCyACKAIMIgNB5QBrQZt/TQRAIABBijRBABBQDAELIAAgBUEKIANBARCPAiEECyACQRBqJAAgBAvYAQIBfgF8IwBBEGsiAiQAQoCAgIDgACEEAkAgACABEN0CIgFCgICAgHCDQoCAgIDgAFEEQCABIQQMAQsgACACIAEQbg0AIAAgAkEMaiADKQMAELoBDQAgAigCDCIDQeUATwRAIABBijRBABBQDAELIAIrAwAiBZlEUO/i1uQaS0RmBEAgAEKAgICAwH4gBb0iAUKAgICAwIGA/P8AfSABQv///////////wCDQoCAgICAgID4/wBWGxA3IQQMAQsgACAFQQogA0ECEI8CIQQLIAJBEGokACAECz0AAn4CQCABEKMDIgJFDQAgAi0AEEEBcQ0AQoCAgIAwIAItABFBAXENARoLIABBsjRBABAVQoCAgIDgAAsLzQMDBXwBfgN/AkACQAJAAkAgAL0iBkIAWQRAIAZCIIinIgdB//8/Sw0BCyAGQv///////////wCDUARARAAAAAAAAPC/IAAgAKKjDwsgBkIAWQ0BIAAgAKFEAAAAAAAAAACjDwsgB0H//7//B0sNAkGAgMD/AyEIQYF4IQkgB0GAgMD/A0cEQCAHIQgMAgsgBqcNAUQAAAAAAAAAAA8LIABEAAAAAAAAUEOivSIGQiCIpyEIQct3IQkLIAZC/////w+DIAhB4r4laiIHQf//P3FB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AAAAAAAAh0EAAAMIAADwYQAAAwAAAHIxAAADAAAAAgAAALAAAAAfDwAAAwAAAAMAAACxAAAApz8AAAEDAACHQQAAAAAAAIQ1AAADAAAAAgAAALIAAABfFwAAAwAAAAIBAACzAAAAthcAAAMAAAABAQAAtAAAADceAAADAAAAAQEAALUAAAApMQAAAwAAAAEBAAC2AAAAJSQAAAMAAAAAAQAAtwAAAHgwAAABAgAAuAAAAAAAAAAiLQAAAwAAAAEBAAC5AAAAcRwAAAMABAAAAQAAugAAACUZAAADAAAAAAEAALoAAAByHQAAAwAIAAABAAC6AAAATT8AAAMJAAByHQAA/////6c/AAABAwAAIyUAAAAAAACePQAAAwABAAEBAACzAAAANx4AAAMAAQABAQAAtQAAACkxAAADAAEAAQEAALYAAAAlJAAAAwABAAABAAC3AAAAeDAAAAECAQC4AAAAAAAAACItAAADAAEAAQEAALkAAABxHAAAAwABAAABAAC6AAAAJRkAAAMJAABxHAAA/////00/AAADCQAAcRwAAP////9yHQAAAwAJAAABAAC6AAAApz8AAAEDAAC+FwAAAAAAAF8XAAADAAIAAgEAALMAAAC2FwAAAwACAAEBAAC0AAAANx4AAAMAAgABAQAAtQAAACkxAAADAAIAAQEAALYAAACnPwAAAQMAAB8lAAAAAAAAnj0AAAMAAwABAQAAswAAADceAAADAAMAAQEAALUAAAApMQAAAwADAAEBAAC2AAAApz8AAAEDAAC6FwAAAAAAAPUSAAADAAAAAAwAALsAAACnPwAAAQMAAFAfAAAAAAAA9RIAAAMAAQAADAAAuwAAAKc/AAABAwAAQx8AAAAAAAA8PwAAAQEAAK4AAAAAAAAAoigAAAMAAAACAAAAvAAAABUtAAADAAAAAQAAAL0AAADzDgAAAwAAAAEAAAC+AAAApz8AAAEDAACnMQAAAAAAAI4wAAADAAAAAQEAAL8AAADxFwAAAwABAAEBAAC/AAAAcCoAAAMAAAABAQAAwAAAADM9AAADAAEAAQEAAMAAAADEDgAAAwACAAEBAADAAAAAazgAAAMAAAABAAAAwQAAADw/AAABAQA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AAAgCKC4zYAAAAAHfNpNdF0ngBXnb0qgHBSD///PicKAAAAZAAAAOgDAAAQJwAAoIYBAEBCDwCAlpgAAOH1BRkACgAZGRkAAAAABQAAAAAAAAkAAAAACwAAAAAAAAAAGQARChkZGQMKBwABAAkLGAAACQYLAAALAAYZAAAAGRkZAEGxwgQLIQ4AAAAAAAAAABkACg0ZGRkADQAAAgAJDgAAAAkADgAADgBB68IECwEMAEH3wgQLFRMAAAAAEwAAAAAJDAAAAAAADAAADABBpcMECwEQAEGxwwQLFQ8AAAAEDwAAAAAJEAAAAAAAEAAAEABB38MECwESAEHrwwQLHhEAAAAAEQAAAAAJEgAAAAAAEgAAEgAAGgAAABoaGgBBosQECw4aAAAAGhoaAAAAAAAACQBB08QECwEUAEHfxAQLFRcAAAAAFwAAAAAJFAAAAAAAFAAAFABBjcUECwEWAEGZxQQLJxUAAAAAFQAAAAAJFgAAAAAAFgAAFgAAMDEyMzQ1Njc4OUFCQ0RFRgBB5MUECwE6AEGMxgQLCP//////////AEHQxgQLAxAvUQBB3MYECx0DAAAAAAAAAAIAAAAAAAAAAQAAAAEAAAABAAAABQBBhMcECwKWAQBBnMcECwuXAQAAmAEAAOwqAQBBtMcECwECAEHExwQLCP//////////AEGIyAQLCXgjAQAAAAAABQBBnMgECwKZAQBBtMgECw6XAQAAmgEAAPgqAQAABABBzMgECwEBAEHcyAQLBf////8KAEGgyQQLAxAkAQ==\";if(!R.startsWith(Q)){var fa=R;R=a.locateFile?a.locateFile(fa,x):x+fa}\nfunction ha(b){try{if(b==R&&E)return new Uint8Array(E);var c=C(b);if(c)return c;if(A)return A(b);throw\"both async and sync fetching of the wasm failed\";}catch(d){F(d)}}\nfunction ia(b){if(!E&&(u||v)){if(\"function\"==typeof fetch&&!b.startsWith(\"file://\"))return fetch(b,{credentials:\"same-origin\"}).then(function(c){if(!c.ok)throw\"failed to load wasm binary file at '\"+b+\"'\";return c.arrayBuffer()}).catch(function(){return ha(b)});if(z)return new Promise(function(c,d){z(b,function(e){c(new Uint8Array(e))},d)})}return Promise.resolve().then(function(){return ha(b)})}\nfunction ja(b,c,d){return ia(b).then(function(e){return WebAssembly.instantiate(e,c)}).then(function(e){return e}).then(d,function(e){D(\"failed to asynchronously prepare wasm: \"+e);F(e)})}\nfunction ka(b,c){var d=R;return E||\"function\"!=typeof WebAssembly.instantiateStreaming||d.startsWith(Q)||d.startsWith(\"file://\")||w||\"function\"!=typeof fetch?ja(d,b,c):fetch(d,{credentials:\"same-origin\"}).then(function(e){return WebAssembly.instantiateStreaming(e,b).then(c,function(f){D(\"wasm streaming compile failed: \"+f);D(\"falling back to ArrayBuffer instantiation\");return ja(d,b,c)})})}function S(b){for(;0=e);)++d;if(16f?e+=String.fromCharCode(f):(f-=65536,e+=String.fromCharCode(55296|f>>10,56320|f&1023))}}else e+=String.fromCharCode(f)}return e}function T(b,c){return b?na(J,b,c):\"\"}\nvar oa=[0,31,60,91,121,152,182,213,244,274,305,335],pa=[0,31,59,90,120,151,181,212,243,273,304,334];function U(b){for(var c=0,d=0;d=e?c++:2047>=e?c+=2:55296<=e&&57343>=e?(c+=4,++d):c+=3}return c}\nfunction V(b,c,d){var e=J;if(!(0=h){var k=b.charCodeAt(++g);h=65536+((h&1023)<<10)|k&1023}if(127>=h){if(c>=d)break;e[c++]=h}else{if(2047>=h){if(c+1>=d)break;e[c++]=192|h>>6}else{if(65535>=h){if(c+2>=d)break;e[c++]=224|h>>12}else{if(c+3>=d)break;e[c++]=240|h>>18;e[c++]=128|h>>12&63}e[c++]=128|h>>6&63}e[c++]=128|h&63}}e[c]=0;return c-f}function qa(b){var c=U(b)+1,d=ra(c);d&&V(b,d,c);return d}var W={};\nfunction sa(){if(!X){var b={USER:\"web_user\",LOGNAME:\"web_user\",PATH:\"/\",PWD:\"/\",HOME:\"/home/web_user\",LANG:(\"object\"==typeof navigator&&navigator.languages&&navigator.languages[0]||\"C\").replace(\"-\",\"_\")+\".UTF-8\",_:t||\"./this.program\"},c;for(c in W)void 0===W[c]?delete b[c]:b[c]=W[c];var d=[];for(c in b)d.push(c+\"=\"+b[c]);X=d}return X}var X,ta=[null,[],[]];\nfunction ua(b,c,d,e){var f={string:l=>{var q=0;if(null!==l&&void 0!==l&&0!==l){q=U(l)+1;var ma=Y(q);V(l,ma,q);q=ma}return q},array:l=>{var q=Y(l.length);I.set(l,q);return q}};b=a[\"_\"+b];var g=[],h=0;if(e)for(var k=0;k>4;\nf=(f&15)<<4|g>>2;var k=(g&3)<<6|h;c+=String.fromCharCode(e);64!==g&&(c+=String.fromCharCode(f));64!==h&&(c+=String.fromCharCode(k))}while(d>2]+4294967296*K[b+4>>2]));K[c>>2]=b.getSeconds();K[c+4>>2]=b.getMinutes();K[c+8>>2]=b.getHours();K[c+12>>2]=b.getDate();K[c+16>>2]=b.getMonth();K[c+20>>2]=b.getFullYear()-1900;K[c+24>>2]=b.getDay();var d=b.getFullYear();K[c+28>>2]=(0!==d%4||0===d%100&&0!==d%400?pa:oa)[b.getMonth()]+b.getDate()-1|0;K[c+36>>2]=-(60*b.getTimezoneOffset());d=(new Date(b.getFullYear(),\n6,1)).getTimezoneOffset();var e=(new Date(b.getFullYear(),0,1)).getTimezoneOffset();K[c+32>>2]=(d!=e&&b.getTimezoneOffset()==Math.min(e,d))|0},k:function(b,c,d){function e(r){return(r=r.toTimeString().match(/\\(([A-Za-z ]+)\\)$/))?r[1]:\"GMT\"}var f=(new Date).getFullYear(),g=new Date(f,0,1),h=new Date(f,6,1);f=g.getTimezoneOffset();var k=h.getTimezoneOffset();L[b>>2]=60*Math.max(f,k);K[c>>2]=Number(f!=k);b=e(g);c=e(h);b=qa(b);c=qa(c);k>2]=b,L[d+4>>2]=c):(L[d>>2]=c,L[d+4>>2]=b)},b:function(){F(\"\")},\nm:function(){return Date.now()},j:function(b){var c=J.length;b>>>=0;if(2147483648=d;d*=2){var e=c*(1+.2/d);e=Math.min(e,b+100663296);var f=Math,g=f.min;e=Math.max(b,e);e+=(65536-e%65536)%65536;a:{var h=G.buffer;try{G.grow(g.call(f,2147483648,e)-h.byteLength+65535>>>16);M();var k=1;break a}catch(r){}k=void 0}if(k)return!0}return!1},e:function(b,c){var d=0;sa().forEach(function(e,f){var g=c+d;f=L[b+4*f>>2]=g;for(g=0;g>0]=e.charCodeAt(g);I[f>>0]=0;d+=e.length+\n1});return 0},f:function(b,c){var d=sa();L[b>>2]=d.length;var e=0;d.forEach(function(f){e+=f.length+1});L[c>>2]=e;return 0},d:function(){return 52},i:function(){return 70},c:function(b,c,d,e){for(var f=0,g=0;g>2],k=L[c+4>>2];c+=8;for(var r=0;r>2]=f;return 0},o:function(b,c,d,e,f){return a.callbacks.callFunction(void 0,b,c,d,e,f)},n:function(b){return a.callbacks.shouldInterrupt(void 0,\nb)},h:function(b,c,d){d=T(d);return a.callbacks.loadModuleSource(void 0,b,c,d)},g:function(b,c,d,e){d=T(d);e=T(e);return a.callbacks.normalizeModule(void 0,b,c,d,e)}};\n(function(){function b(d){d=d.exports;a.asm=d;G=a.asm.p;M();ca.unshift(a.asm.q);N--;a.monitorRunDependencies&&a.monitorRunDependencies(N);if(0==N&&(null!==O&&(clearInterval(O),O=null),P)){var e=P;P=null;e()}return d}var c={a:ya};N++;a.monitorRunDependencies&&a.monitorRunDependencies(N);if(a.instantiateWasm)try{return a.instantiateWasm(c,b)}catch(d){D(\"Module.instantiateWasm callback failed with error: \"+d),n(d)}ka(c,function(d){b(d.instance)}).catch(n);return{}})();\nvar ra=a._malloc=function(){return(ra=a._malloc=a.asm.r).apply(null,arguments)};a._QTS_Throw=function(){return(a._QTS_Throw=a.asm.s).apply(null,arguments)};a._QTS_NewError=function(){return(a._QTS_NewError=a.asm.t).apply(null,arguments)};a._QTS_RuntimeSetMemoryLimit=function(){return(a._QTS_RuntimeSetMemoryLimit=a.asm.u).apply(null,arguments)};a._QTS_RuntimeComputeMemoryUsage=function(){return(a._QTS_RuntimeComputeMemoryUsage=a.asm.v).apply(null,arguments)};\na._QTS_RuntimeDumpMemoryUsage=function(){return(a._QTS_RuntimeDumpMemoryUsage=a.asm.w).apply(null,arguments)};a._QTS_RecoverableLeakCheck=function(){return(a._QTS_RecoverableLeakCheck=a.asm.x).apply(null,arguments)};a._QTS_BuildIsSanitizeLeak=function(){return(a._QTS_BuildIsSanitizeLeak=a.asm.y).apply(null,arguments)};a._QTS_RuntimeSetMaxStackSize=function(){return(a._QTS_RuntimeSetMaxStackSize=a.asm.z).apply(null,arguments)};\na._QTS_GetUndefined=function(){return(a._QTS_GetUndefined=a.asm.A).apply(null,arguments)};a._QTS_GetNull=function(){return(a._QTS_GetNull=a.asm.B).apply(null,arguments)};a._QTS_GetFalse=function(){return(a._QTS_GetFalse=a.asm.C).apply(null,arguments)};a._QTS_GetTrue=function(){return(a._QTS_GetTrue=a.asm.D).apply(null,arguments)};a._QTS_NewRuntime=function(){return(a._QTS_NewRuntime=a.asm.E).apply(null,arguments)};a._QTS_FreeRuntime=function(){return(a._QTS_FreeRuntime=a.asm.F).apply(null,arguments)};\na._QTS_NewContext=function(){return(a._QTS_NewContext=a.asm.G).apply(null,arguments)};a._QTS_FreeContext=function(){return(a._QTS_FreeContext=a.asm.H).apply(null,arguments)};a._QTS_FreeValuePointer=function(){return(a._QTS_FreeValuePointer=a.asm.I).apply(null,arguments)};a._free=function(){return(a._free=a.asm.J).apply(null,arguments)};a._QTS_FreeValuePointerRuntime=function(){return(a._QTS_FreeValuePointerRuntime=a.asm.K).apply(null,arguments)};\na._QTS_FreeVoidPointer=function(){return(a._QTS_FreeVoidPointer=a.asm.L).apply(null,arguments)};a._QTS_FreeCString=function(){return(a._QTS_FreeCString=a.asm.M).apply(null,arguments)};a._QTS_DupValuePointer=function(){return(a._QTS_DupValuePointer=a.asm.N).apply(null,arguments)};a._QTS_NewObject=function(){return(a._QTS_NewObject=a.asm.O).apply(null,arguments)};a._QTS_NewObjectProto=function(){return(a._QTS_NewObjectProto=a.asm.P).apply(null,arguments)};\na._QTS_NewArray=function(){return(a._QTS_NewArray=a.asm.Q).apply(null,arguments)};a._QTS_NewFloat64=function(){return(a._QTS_NewFloat64=a.asm.R).apply(null,arguments)};a._QTS_GetFloat64=function(){return(a._QTS_GetFloat64=a.asm.S).apply(null,arguments)};a._QTS_NewString=function(){return(a._QTS_NewString=a.asm.T).apply(null,arguments)};a._QTS_GetString=function(){return(a._QTS_GetString=a.asm.U).apply(null,arguments)};a._QTS_NewSymbol=function(){return(a._QTS_NewSymbol=a.asm.V).apply(null,arguments)};\na._QTS_GetSymbolDescriptionOrKey=function(){return(a._QTS_GetSymbolDescriptionOrKey=a.asm.W).apply(null,arguments)};a._QTS_IsGlobalSymbol=function(){return(a._QTS_IsGlobalSymbol=a.asm.X).apply(null,arguments)};a._QTS_IsJobPending=function(){return(a._QTS_IsJobPending=a.asm.Y).apply(null,arguments)};a._QTS_ExecutePendingJob=function(){return(a._QTS_ExecutePendingJob=a.asm.Z).apply(null,arguments)};a._QTS_GetProp=function(){return(a._QTS_GetProp=a.asm._).apply(null,arguments)};\na._QTS_SetProp=function(){return(a._QTS_SetProp=a.asm.$).apply(null,arguments)};a._QTS_DefineProp=function(){return(a._QTS_DefineProp=a.asm.aa).apply(null,arguments)};a._QTS_Call=function(){return(a._QTS_Call=a.asm.ba).apply(null,arguments)};a._QTS_ResolveException=function(){return(a._QTS_ResolveException=a.asm.ca).apply(null,arguments)};a._QTS_Dump=function(){return(a._QTS_Dump=a.asm.da).apply(null,arguments)};a._QTS_Eval=function(){return(a._QTS_Eval=a.asm.ea).apply(null,arguments)};\na._QTS_Typeof=function(){return(a._QTS_Typeof=a.asm.fa).apply(null,arguments)};a._QTS_GetGlobalObject=function(){return(a._QTS_GetGlobalObject=a.asm.ga).apply(null,arguments)};a._QTS_NewPromiseCapability=function(){return(a._QTS_NewPromiseCapability=a.asm.ha).apply(null,arguments)};a._QTS_TestStringArg=function(){return(a._QTS_TestStringArg=a.asm.ia).apply(null,arguments)};a._QTS_BuildIsDebug=function(){return(a._QTS_BuildIsDebug=a.asm.ja).apply(null,arguments)};\na._QTS_BuildIsAsyncify=function(){return(a._QTS_BuildIsAsyncify=a.asm.ka).apply(null,arguments)};a._QTS_NewFunction=function(){return(a._QTS_NewFunction=a.asm.la).apply(null,arguments)};a._QTS_ArgvGetJSValueConstPointer=function(){return(a._QTS_ArgvGetJSValueConstPointer=a.asm.ma).apply(null,arguments)};a._QTS_RuntimeEnableInterruptHandler=function(){return(a._QTS_RuntimeEnableInterruptHandler=a.asm.na).apply(null,arguments)};\na._QTS_RuntimeDisableInterruptHandler=function(){return(a._QTS_RuntimeDisableInterruptHandler=a.asm.oa).apply(null,arguments)};a._QTS_RuntimeEnableModuleLoader=function(){return(a._QTS_RuntimeEnableModuleLoader=a.asm.pa).apply(null,arguments)};a._QTS_RuntimeDisableModuleLoader=function(){return(a._QTS_RuntimeDisableModuleLoader=a.asm.qa).apply(null,arguments)};function va(){return(va=a.asm.sa).apply(null,arguments)}function wa(){return(wa=a.asm.ta).apply(null,arguments)}\nfunction Y(){return(Y=a.asm.ua).apply(null,arguments)}a.___start_em_js=74916;a.___stop_em_js=75818;a.cwrap=function(b,c,d,e){var f=!d||d.every(g=>\"number\"===g||\"boolean\"===g);return\"string\"!==c&&f&&!e?a[\"_\"+b]:function(){return ua(b,c,d,arguments)}};a.UTF8ToString=T;a.stringToUTF8=function(b,c,d){return V(b,c,d)};a.lengthBytesUTF8=U;var Z;P=function za(){Z||Aa();Z||(P=za)};\nfunction Aa(){function b(){if(!Z&&(Z=!0,a.calledRun=!0,!H)){S(ca);m(a);if(a.onRuntimeInitialized)a.onRuntimeInitialized();if(a.postRun)for(\"function\"==typeof a.postRun&&(a.postRun=[a.postRun]);a.postRun.length;){var c=a.postRun.shift();da.unshift(c)}S(da)}}if(!(0 JSValuePointer; - QTS_NewError: (ctx: JSContextPointer) => JSValuePointer; - QTS_RuntimeSetMemoryLimit: (rt: JSRuntimePointer, limit: number) => void; - QTS_RuntimeComputeMemoryUsage: (rt: JSRuntimePointer, ctx: JSContextPointer) => JSValuePointer; - QTS_RuntimeDumpMemoryUsage: (rt: JSRuntimePointer) => OwnedHeapCharPointer; - QTS_RecoverableLeakCheck: () => number; - QTS_BuildIsSanitizeLeak: () => number; - QTS_RuntimeSetMaxStackSize: (rt: JSRuntimePointer, stack_size: number) => void; - QTS_GetUndefined: () => JSValueConstPointer; - QTS_GetNull: () => JSValueConstPointer; - QTS_GetFalse: () => JSValueConstPointer; - QTS_GetTrue: () => JSValueConstPointer; - QTS_NewRuntime: () => JSRuntimePointer; - QTS_FreeRuntime: (rt: JSRuntimePointer) => void; - QTS_NewContext: (rt: JSRuntimePointer) => JSContextPointer; - QTS_FreeContext: (ctx: JSContextPointer) => void; - QTS_FreeValuePointer: (ctx: JSContextPointer, value: JSValuePointer) => void; - QTS_FreeValuePointerRuntime: (rt: JSRuntimePointer, value: JSValuePointer) => void; - QTS_FreeVoidPointer: (ctx: JSContextPointer, ptr: JSVoidPointer) => void; - QTS_FreeCString: (ctx: JSContextPointer, str: JSBorrowedCharPointer) => void; - QTS_DupValuePointer: (ctx: JSContextPointer, val: JSValuePointer | JSValueConstPointer) => JSValuePointer; - QTS_NewObject: (ctx: JSContextPointer) => JSValuePointer; - QTS_NewObjectProto: (ctx: JSContextPointer, proto: JSValuePointer | JSValueConstPointer) => JSValuePointer; - QTS_NewArray: (ctx: JSContextPointer) => JSValuePointer; - QTS_NewFloat64: (ctx: JSContextPointer, num: number) => JSValuePointer; - QTS_GetFloat64: (ctx: JSContextPointer, value: JSValuePointer | JSValueConstPointer) => number; - QTS_NewString: (ctx: JSContextPointer, string: BorrowedHeapCharPointer) => JSValuePointer; - QTS_GetString: (ctx: JSContextPointer, value: JSValuePointer | JSValueConstPointer) => JSBorrowedCharPointer; - QTS_NewSymbol: (ctx: JSContextPointer, description: BorrowedHeapCharPointer, isGlobal: number) => JSValuePointer; - QTS_GetSymbolDescriptionOrKey: (ctx: JSContextPointer, value: JSValuePointer | JSValueConstPointer) => JSBorrowedCharPointer; - QTS_IsGlobalSymbol: (ctx: JSContextPointer, value: JSValuePointer | JSValueConstPointer) => number; - QTS_IsJobPending: (rt: JSRuntimePointer) => number; - QTS_ExecutePendingJob: (rt: JSRuntimePointer, maxJobsToExecute: number, lastJobContext: JSContextPointerPointer) => JSValuePointer; - QTS_GetProp: (ctx: JSContextPointer, this_val: JSValuePointer | JSValueConstPointer, prop_name: JSValuePointer | JSValueConstPointer) => JSValuePointer; - QTS_SetProp: (ctx: JSContextPointer, this_val: JSValuePointer | JSValueConstPointer, prop_name: JSValuePointer | JSValueConstPointer, prop_value: JSValuePointer | JSValueConstPointer) => void; - QTS_DefineProp: (ctx: JSContextPointer, this_val: JSValuePointer | JSValueConstPointer, prop_name: JSValuePointer | JSValueConstPointer, prop_value: JSValuePointer | JSValueConstPointer, get: JSValuePointer | JSValueConstPointer, set: JSValuePointer | JSValueConstPointer, configurable: boolean, enumerable: boolean, has_value: boolean) => void; - QTS_Call: (ctx: JSContextPointer, func_obj: JSValuePointer | JSValueConstPointer, this_obj: JSValuePointer | JSValueConstPointer, argc: number, argv_ptrs: JSValueConstPointerPointer) => JSValuePointer; - QTS_ResolveException: (ctx: JSContextPointer, maybe_exception: JSValuePointer) => JSValuePointer; - QTS_Dump: (ctx: JSContextPointer, obj: JSValuePointer | JSValueConstPointer) => JSBorrowedCharPointer; - QTS_Eval: (ctx: JSContextPointer, js_code: BorrowedHeapCharPointer, filename: string, detectModule: EvalDetectModule, evalFlags: EvalFlags) => JSValuePointer; - QTS_Typeof: (ctx: JSContextPointer, value: JSValuePointer | JSValueConstPointer) => OwnedHeapCharPointer; - QTS_GetGlobalObject: (ctx: JSContextPointer) => JSValuePointer; - QTS_NewPromiseCapability: (ctx: JSContextPointer, resolve_funcs_out: JSValuePointerPointer) => JSValuePointer; - QTS_TestStringArg: (string: string) => void; - QTS_BuildIsDebug: () => number; - QTS_BuildIsAsyncify: () => number; - QTS_NewFunction: (ctx: JSContextPointer, func_id: number, name: string) => JSValuePointer; - QTS_ArgvGetJSValueConstPointer: (argv: JSValuePointer | JSValueConstPointer, index: number) => JSValueConstPointer; - QTS_RuntimeEnableInterruptHandler: (rt: JSRuntimePointer) => void; - QTS_RuntimeDisableInterruptHandler: (rt: JSRuntimePointer) => void; - QTS_RuntimeEnableModuleLoader: (rt: JSRuntimePointer, use_custom_normalize: number) => void; - QTS_RuntimeDisableModuleLoader: (rt: JSRuntimePointer) => void; -} diff --git a/node_modules/@tootallnate/quickjs-emscripten/dist/generated/ffi.WASM_RELEASE_SYNC.js b/node_modules/@tootallnate/quickjs-emscripten/dist/generated/ffi.WASM_RELEASE_SYNC.js deleted file mode 100644 index 107c43e..0000000 --- a/node_modules/@tootallnate/quickjs-emscripten/dist/generated/ffi.WASM_RELEASE_SYNC.js +++ /dev/null @@ -1,71 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.QuickJSFFI = void 0; -/** - * Low-level FFI bindings to QuickJS's Emscripten module. - * See instead [[QuickJSContext]], the public Javascript interface exposed by this - * library. - * - * @unstable The FFI interface is considered private and may change. - */ -class QuickJSFFI { - constructor(module) { - this.module = module; - /** Set at compile time. */ - this.DEBUG = false; - this.QTS_Throw = this.module.cwrap("QTS_Throw", "number", ["number", "number"]); - this.QTS_NewError = this.module.cwrap("QTS_NewError", "number", ["number"]); - this.QTS_RuntimeSetMemoryLimit = this.module.cwrap("QTS_RuntimeSetMemoryLimit", null, ["number", "number"]); - this.QTS_RuntimeComputeMemoryUsage = this.module.cwrap("QTS_RuntimeComputeMemoryUsage", "number", ["number", "number"]); - this.QTS_RuntimeDumpMemoryUsage = this.module.cwrap("QTS_RuntimeDumpMemoryUsage", "number", ["number"]); - this.QTS_RecoverableLeakCheck = this.module.cwrap("QTS_RecoverableLeakCheck", "number", []); - this.QTS_BuildIsSanitizeLeak = this.module.cwrap("QTS_BuildIsSanitizeLeak", "number", []); - this.QTS_RuntimeSetMaxStackSize = this.module.cwrap("QTS_RuntimeSetMaxStackSize", null, ["number", "number"]); - this.QTS_GetUndefined = this.module.cwrap("QTS_GetUndefined", "number", []); - this.QTS_GetNull = this.module.cwrap("QTS_GetNull", "number", []); - this.QTS_GetFalse = this.module.cwrap("QTS_GetFalse", "number", []); - this.QTS_GetTrue = this.module.cwrap("QTS_GetTrue", "number", []); - this.QTS_NewRuntime = this.module.cwrap("QTS_NewRuntime", "number", []); - this.QTS_FreeRuntime = this.module.cwrap("QTS_FreeRuntime", null, ["number"]); - this.QTS_NewContext = this.module.cwrap("QTS_NewContext", "number", ["number"]); - this.QTS_FreeContext = this.module.cwrap("QTS_FreeContext", null, ["number"]); - this.QTS_FreeValuePointer = this.module.cwrap("QTS_FreeValuePointer", null, ["number", "number"]); - this.QTS_FreeValuePointerRuntime = this.module.cwrap("QTS_FreeValuePointerRuntime", null, ["number", "number"]); - this.QTS_FreeVoidPointer = this.module.cwrap("QTS_FreeVoidPointer", null, ["number", "number"]); - this.QTS_FreeCString = this.module.cwrap("QTS_FreeCString", null, ["number", "number"]); - this.QTS_DupValuePointer = this.module.cwrap("QTS_DupValuePointer", "number", ["number", "number"]); - this.QTS_NewObject = this.module.cwrap("QTS_NewObject", "number", ["number"]); - this.QTS_NewObjectProto = this.module.cwrap("QTS_NewObjectProto", "number", ["number", "number"]); - this.QTS_NewArray = this.module.cwrap("QTS_NewArray", "number", ["number"]); - this.QTS_NewFloat64 = this.module.cwrap("QTS_NewFloat64", "number", ["number", "number"]); - this.QTS_GetFloat64 = this.module.cwrap("QTS_GetFloat64", "number", ["number", "number"]); - this.QTS_NewString = this.module.cwrap("QTS_NewString", "number", ["number", "number"]); - this.QTS_GetString = this.module.cwrap("QTS_GetString", "number", ["number", "number"]); - this.QTS_NewSymbol = this.module.cwrap("QTS_NewSymbol", "number", ["number", "number", "number"]); - this.QTS_GetSymbolDescriptionOrKey = this.module.cwrap("QTS_GetSymbolDescriptionOrKey", "number", ["number", "number"]); - this.QTS_IsGlobalSymbol = this.module.cwrap("QTS_IsGlobalSymbol", "number", ["number", "number"]); - this.QTS_IsJobPending = this.module.cwrap("QTS_IsJobPending", "number", ["number"]); - this.QTS_ExecutePendingJob = this.module.cwrap("QTS_ExecutePendingJob", "number", ["number", "number", "number"]); - this.QTS_GetProp = this.module.cwrap("QTS_GetProp", "number", ["number", "number", "number"]); - this.QTS_SetProp = this.module.cwrap("QTS_SetProp", null, ["number", "number", "number", "number"]); - this.QTS_DefineProp = this.module.cwrap("QTS_DefineProp", null, ["number", "number", "number", "number", "number", "number", "boolean", "boolean", "boolean"]); - this.QTS_Call = this.module.cwrap("QTS_Call", "number", ["number", "number", "number", "number", "number"]); - this.QTS_ResolveException = this.module.cwrap("QTS_ResolveException", "number", ["number", "number"]); - this.QTS_Dump = this.module.cwrap("QTS_Dump", "number", ["number", "number"]); - this.QTS_Eval = this.module.cwrap("QTS_Eval", "number", ["number", "number", "string", "number", "number"]); - this.QTS_Typeof = this.module.cwrap("QTS_Typeof", "number", ["number", "number"]); - this.QTS_GetGlobalObject = this.module.cwrap("QTS_GetGlobalObject", "number", ["number"]); - this.QTS_NewPromiseCapability = this.module.cwrap("QTS_NewPromiseCapability", "number", ["number", "number"]); - this.QTS_TestStringArg = this.module.cwrap("QTS_TestStringArg", null, ["string"]); - this.QTS_BuildIsDebug = this.module.cwrap("QTS_BuildIsDebug", "number", []); - this.QTS_BuildIsAsyncify = this.module.cwrap("QTS_BuildIsAsyncify", "number", []); - this.QTS_NewFunction = this.module.cwrap("QTS_NewFunction", "number", ["number", "number", "string"]); - this.QTS_ArgvGetJSValueConstPointer = this.module.cwrap("QTS_ArgvGetJSValueConstPointer", "number", ["number", "number"]); - this.QTS_RuntimeEnableInterruptHandler = this.module.cwrap("QTS_RuntimeEnableInterruptHandler", null, ["number"]); - this.QTS_RuntimeDisableInterruptHandler = this.module.cwrap("QTS_RuntimeDisableInterruptHandler", null, ["number"]); - this.QTS_RuntimeEnableModuleLoader = this.module.cwrap("QTS_RuntimeEnableModuleLoader", null, ["number", "number"]); - this.QTS_RuntimeDisableModuleLoader = this.module.cwrap("QTS_RuntimeDisableModuleLoader", null, ["number"]); - } -} -exports.QuickJSFFI = QuickJSFFI; -//# sourceMappingURL=ffi.WASM_RELEASE_SYNC.js.map \ No newline at end of file diff --git a/node_modules/@tootallnate/quickjs-emscripten/dist/generated/ffi.WASM_RELEASE_SYNC.js.map b/node_modules/@tootallnate/quickjs-emscripten/dist/generated/ffi.WASM_RELEASE_SYNC.js.map deleted file mode 100644 index 5fcf567..0000000 --- a/node_modules/@tootallnate/quickjs-emscripten/dist/generated/ffi.WASM_RELEASE_SYNC.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"ffi.WASM_RELEASE_SYNC.js","sourceRoot":"","sources":["../../ts/generated/ffi.WASM_RELEASE_SYNC.ts"],"names":[],"mappings":";;;AAIA;;;;;;GAMG;AACH,MAAa,UAAU;IACrB,YAAoB,MAA+B;QAA/B,WAAM,GAAN,MAAM,CAAyB;QACnD,2BAA2B;QAClB,UAAK,GAAG,KAAK,CAAA;QAEtB,cAAS,GACP,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,WAAW,EAAE,QAAQ,EAAE,CAAC,QAAQ,EAAC,QAAQ,CAAC,CAAC,CAAA;QAE/D,iBAAY,GACV,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,cAAc,EAAE,QAAQ,EAAE,CAAC,QAAQ,CAAC,CAAC,CAAA;QAEzD,8BAAyB,GACvB,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,2BAA2B,EAAE,IAAI,EAAE,CAAC,QAAQ,EAAC,QAAQ,CAAC,CAAC,CAAA;QAE3E,kCAA6B,GAC3B,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,+BAA+B,EAAE,QAAQ,EAAE,CAAC,QAAQ,EAAC,QAAQ,CAAC,CAAC,CAAA;QAEnF,+BAA0B,GACxB,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,4BAA4B,EAAE,QAAQ,EAAE,CAAC,QAAQ,CAAC,CAAC,CAAA;QAEvE,6BAAwB,GACt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AC,KAAK,CAAC,kBAAkB,EAAE,QAAQ,EAAE,EAAE,CAAC,CAAA;QAErD,wBAAmB,GACjB,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,qBAAqB,EAAE,QAAQ,EAAE,EAAE,CAAC,CAAA;QAExD,oBAAe,GACb,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,iBAAiB,EAAE,QAAQ,EAAE,CAAC,QAAQ,EAAC,QAAQ,EAAC,QAAQ,CAAC,CAAC,CAAA;QAE9E,mCAA8B,GAC5B,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,gCAAgC,EAAE,QAAQ,EAAE,CAAC,QAAQ,EAAC,QAAQ,CAAC,CAAC,CAAA;QAEpF,sCAAiC,GAC/B,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,mCAAmC,EAAE,IAAI,EAAE,CAAC,QAAQ,CAAC,CAAC,CAAA;QAE1E,uCAAkC,GAChC,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,oCAAoC,EAAE,IAAI,EAAE,CAAC,QAAQ,CAAC,CAAC,CAAA;QAE3E,kCAA6B,GAC3B,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,+BAA+B,EAAE,IAAI,EAAE,CAAC,QAAQ,EAAC,QAAQ,CAAC,CAAC,CAAA;QAE/E,mCAA8B,GAC5B,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,gCAAgC,EAAE,IAAI,EAAE,CAAC,QAAQ,CAAC,CAAC,CAAA;IA9JjB,CAAC;CA+JxD;AAhKD,gCAgKC","sourcesContent":["// This file generated by \"generate.ts ffi\" in the root of the repo.\nimport { QuickJSEmscriptenModule } from \"../emscripten-types\"\nimport { JSRuntimePointer, JSContextPointer, JSContextPointerPointer, JSModuleDefPointer, JSValuePointer, JSValueConstPointer, JSValuePointerPointer, JSValueConstPointerPointer, QTS_C_To_HostCallbackFuncPointer, QTS_C_To_HostInterruptFuncPointer, QTS_C_To_HostLoadModuleFuncPointer, BorrowedHeapCharPointer, OwnedHeapCharPointer, JSBorrowedCharPointer, JSVoidPointer, EvalFlags, EvalDetectModule } from \"../types-ffi\"\n\n/**\n * Low-level FFI bindings to QuickJS's Emscripten module.\n * See instead [[QuickJSContext]], the public Javascript interface exposed by this\n * library.\n *\n * @unstable The FFI interface is considered private and may change.\n */\nexport class QuickJSFFI {\n constructor(private module: QuickJSEmscriptenModule) {}\n /** Set at compile time. */\n readonly DEBUG = false\n\n QTS_Throw: (ctx: JSContextPointer, error: JSValuePointer | JSValueConstPointer) => JSValuePointer =\n this.module.cwrap(\"QTS_Throw\", \"number\", [\"number\",\"number\"])\n\n QTS_NewError: (ctx: JSContextPointer) => JSValuePointer =\n this.module.cwrap(\"QTS_NewError\", \"number\", [\"number\"])\n\n QTS_RuntimeSetMemoryLimit: (rt: JSRuntimePointer, limit: number) => void =\n this.module.cwrap(\"QTS_RuntimeSetMemoryLimit\", null, [\"number\",\"number\"])\n\n QTS_RuntimeComputeMemoryUsage: (rt: JSRuntimePointer, ctx: JSContextPointer) => JSValuePointer =\n this.module.cwrap(\"QTS_RuntimeComputeMemoryUsage\", \"number\", [\"number\",\"number\"])\n\n QTS_RuntimeDumpMemoryUsage: (rt: JSRuntimePointer) => OwnedHeapCharPointer =\n this.module.cwrap(\"QTS_RuntimeDumpMemoryUsage\", \"number\", [\"number\"])\n\n QTS_RecoverableLeakCheck: () => number =\n this.module.cwrap(\"QTS_RecoverableLeakCheck\", \"number\", [])\n\n QTS_BuildIsSanitizeLeak: () => number =\n this.module.cwrap(\"QTS_BuildIsSanitizeLeak\", \"number\", [])\n\n QTS_RuntimeSetMaxStackSize: (rt: JSRuntimePointer, stack_size: number) => void =\n this.module.cwrap(\"QTS_RuntimeSetMaxStackSize\", null, [\"number\",\"number\"])\n\n QTS_GetUndefined: () => JSValueConstPointer =\n this.module.cwrap(\"QTS_GetUndefined\", \"number\", [])\n\n QTS_GetNull: () => JSValueConstPointer =\n this.module.cwrap(\"QTS_GetNull\", \"number\", [])\n\n QTS_GetFalse: () => JSValueConstPointer =\n this.module.cwrap(\"QTS_GetFalse\", \"number\", [])\n\n QTS_GetTrue: () => JSValueConstPointer =\n this.module.cwrap(\"QTS_GetTrue\", \"number\", [])\n\n QTS_NewRuntime: () => JSRuntimePointer =\n this.module.cwrap(\"QTS_NewRuntime\", \"number\", [])\n\n QTS_FreeRuntime: (rt: JSRuntimePointer) => void =\n this.module.cwrap(\"QTS_FreeRuntime\", null, [\"number\"])\n\n QTS_NewContext: (rt: JSRuntimePointer) => JSContextPointer =\n this.module.cwrap(\"QTS_NewContext\", \"number\", [\"number\"])\n\n QTS_FreeContext: (ctx: JSContextPointer) => void =\n this.module.cwrap(\"QTS_FreeContext\", null, [\"number\"])\n\n QTS_FreeValuePointer: (ctx: JSContextPointer, value: JSValuePointer) => void =\n this.module.cwrap(\"QTS_FreeValuePointer\", null, [\"number\",\"number\"])\n\n QTS_FreeValuePointerRuntime: (rt: JSRuntimePointer, value: JSValuePointer) => void =\n this.module.cwrap(\"QTS_FreeValuePointerRuntime\", null, [\"number\",\"number\"])\n\n QTS_FreeVoidPointer: (ctx: JSContextPointer, ptr: JSVoidPointer) => void =\n this.module.cwrap(\"QTS_FreeVoidPointer\", null, [\"number\",\"number\"])\n\n QTS_FreeCString: (ctx: JSContextPointer, str: JSBorrowedCharPointer) => void =\n this.module.cwrap(\"QTS_FreeCString\", null, [\"number\",\"number\"])\n\n QTS_DupValuePointer: (ctx: JSContextPointer, val: JSValuePointer | JSValueConstPointer) => JSValuePointer =\n this.module.cwrap(\"QTS_DupValuePointer\", \"number\", [\"number\",\"number\"])\n\n QTS_NewObject: (ctx: JSContextPointer) => JSValuePointer =\n this.module.cwrap(\"QTS_NewObject\", \"number\", [\"number\"])\n\n QTS_NewObjectProto: (ctx: JSContextPointer, proto: JSValuePointer | JSValueConstPointer) => JSValuePointer =\n this.module.cwrap(\"QTS_NewObjectProto\", \"number\", [\"number\",\"number\"])\n\n QTS_NewArray: (ctx: JSContextPointer) => JSValuePointer =\n this.module.cwrap(\"QTS_NewArray\", \"number\", [\"number\"])\n\n QTS_NewFloat64: (ctx: JSContextPointer, num: number) => JSValuePointer =\n this.module.cwrap(\"QTS_NewFloat64\", \"number\", [\"number\",\"number\"])\n\n QTS_GetFloat64: (ctx: JSContextPointer, value: JSValuePointer | JSValueConstPointer) => number =\n this.module.cwrap(\"QTS_GetFloat64\", \"number\", [\"number\",\"number\"])\n\n QTS_NewString: (ctx: JSContextPointer, string: BorrowedHeapCharPointer) => JSValuePointer =\n this.module.cwrap(\"QTS_NewString\", \"number\", [\"number\",\"number\"])\n\n QTS_GetString: (ctx: JSContextPointer, value: JSValuePointer | JSValueConstPointer) => JSBorrowedCharPointer =\n this.module.cwrap(\"QTS_GetString\", \"number\", [\"number\",\"number\"])\n\n QTS_NewSymbol: (ctx: JSContextPointer, description: BorrowedHeapCharPointer, isGlobal: number) => JSValuePointer =\n this.module.cwrap(\"QTS_NewSymbol\", \"number\", [\"number\",\"number\",\"number\"])\n\n QTS_GetSymbolDescriptionOrKey: (ctx: JSContextPointer, value: JSValuePointer | JSValueConstPointer) => JSBorrowedCharPointer =\n this.module.cwrap(\"QTS_GetSymbolDescriptionOrKey\", \"number\", [\"number\",\"number\"])\n\n QTS_IsGlobalSymbol: (ctx: JSContextPointer, value: JSValuePointer | JSValueConstPointer) => number =\n this.module.cwrap(\"QTS_IsGlobalSymbol\", \"number\", [\"number\",\"number\"])\n\n QTS_IsJobPending: (rt: JSRuntimePointer) => number =\n this.module.cwrap(\"QTS_IsJobPending\", \"number\", [\"number\"])\n\n QTS_ExecutePendingJob: (rt: JSRuntimePointer, maxJobsToExecute: number, lastJobContext: JSContextPointerPointer) => JSValuePointer =\n this.module.cwrap(\"QTS_ExecutePendingJob\", \"number\", [\"number\",\"number\",\"number\"])\n\n QTS_GetProp: (ctx: JSContextPointer, this_val: JSValuePointer | JSValueConstPointer, prop_name: JSValuePointer | JSValueConstPointer) => JSValuePointer =\n this.module.cwrap(\"QTS_GetProp\", \"number\", [\"number\",\"number\",\"number\"])\n\n QTS_SetProp: (ctx: JSContextPointer, this_val: JSValuePointer | JSValueConstPointer, prop_name: JSValuePointer | JSValueConstPointer, prop_value: JSValuePointer | JSValueConstPointer) => void =\n this.module.cwrap(\"QTS_SetProp\", null, [\"number\",\"number\",\"number\",\"number\"])\n\n QTS_DefineProp: (ctx: JSContextPointer, this_val: JSValuePointer | JSValueConstPointer, prop_name: JSValuePointer | JSValueConstPointer, prop_value: JSValuePointer | JSValueConstPointer, get: JSValuePointer | JSValueConstPointer, set: JSValuePointer | JSValueConstPointer, configurable: boolean, enumerable: boolean, has_value: boolean) => void =\n this.module.cwrap(\"QTS_DefineProp\", null, [\"number\",\"number\",\"number\",\"number\",\"number\",\"number\",\"boolean\",\"boolean\",\"boolean\"])\n\n QTS_Call: (ctx: JSContextPointer, func_obj: JSValuePointer | JSValueConstPointer, this_obj: JSValuePointer | JSValueConstPointer, argc: number, argv_ptrs: JSValueConstPointerPointer) => JSValuePointer =\n this.module.cwrap(\"QTS_Call\", \"number\", [\"number\",\"number\",\"number\",\"number\",\"number\"])\n\n QTS_ResolveException: (ctx: JSContextPointer, maybe_exception: JSValuePointer) => JSValuePointer =\n this.module.cwrap(\"QTS_ResolveException\", \"number\", [\"number\",\"number\"])\n\n QTS_Dump: (ctx: JSContextPointer, obj: JSValuePointer | JSValueConstPointer) => JSBorrowedCharPointer =\n this.module.cwrap(\"QTS_Dump\", \"number\", [\"number\",\"number\"])\n\n QTS_Eval: (ctx: JSContextPointer, js_code: BorrowedHeapCharPointer, filename: string, detectModule: EvalDetectModule, evalFlags: EvalFlags) => JSValuePointer =\n this.module.cwrap(\"QTS_Eval\", \"number\", [\"number\",\"number\",\"string\",\"number\",\"number\"])\n\n QTS_Typeof: (ctx: JSContextPointer, value: JSValuePointer | JSValueConstPointer) => OwnedHeapCharPointer =\n this.module.cwrap(\"QTS_Typeof\", \"number\", [\"number\",\"number\"])\n\n QTS_GetGlobalObject: (ctx: JSContextPointer) => JSValuePointer =\n this.module.cwrap(\"QTS_GetGlobalObject\", \"number\", [\"number\"])\n\n QTS_NewPromiseCapability: (ctx: JSContextPointer, resolve_funcs_out: JSValuePointerPointer) => JSValuePointer =\n this.module.cwrap(\"QTS_NewPromiseCapability\", \"number\", [\"number\",\"number\"])\n\n QTS_TestStringArg: (string: string) => void =\n this.module.cwrap(\"QTS_TestStringArg\", null, [\"string\"])\n\n QTS_BuildIsDebug: () => number =\n this.module.cwrap(\"QTS_BuildIsDebug\", \"number\", [])\n\n QTS_BuildIsAsyncify: () => number =\n this.module.cwrap(\"QTS_BuildIsAsyncify\", \"number\", [])\n\n QTS_NewFunction: (ctx: JSContextPointer, func_id: number, name: string) => JSValuePointer =\n this.module.cwrap(\"QTS_NewFunction\", \"number\", [\"number\",\"number\",\"string\"])\n\n QTS_ArgvGetJSValueConstPointer: (argv: JSValuePointer | JSValueConstPointer, index: number) => JSValueConstPointer =\n this.module.cwrap(\"QTS_ArgvGetJSValueConstPointer\", \"number\", [\"number\",\"number\"])\n\n QTS_RuntimeEnableInterruptHandler: (rt: JSRuntimePointer) => void =\n this.module.cwrap(\"QTS_RuntimeEnableInterruptHandler\", null, [\"number\"])\n\n QTS_RuntimeDisableInterruptHandler: (rt: JSRuntimePointer) => void =\n this.module.cwrap(\"QTS_RuntimeDisableInterruptHandler\", null, [\"number\"])\n\n QTS_RuntimeEnableModuleLoader: (rt: JSRuntimePointer, use_custom_normalize: number) => void =\n this.module.cwrap(\"QTS_RuntimeEnableModuleLoader\", null, [\"number\",\"number\"])\n\n QTS_RuntimeDisableModuleLoader: (rt: JSRuntimePointer) => void =\n this.module.cwrap(\"QTS_RuntimeDisableModuleLoader\", null, [\"number\"])\n}\n"]} \ No newline at end of file diff --git a/node_modules/@tootallnate/quickjs-emscripten/dist/index.d.ts b/node_modules/@tootallnate/quickjs-emscripten/dist/index.d.ts deleted file mode 100644 index 3134e11..0000000 --- a/node_modules/@tootallnate/quickjs-emscripten/dist/index.d.ts +++ /dev/null @@ -1,75 +0,0 @@ -import type { QuickJSWASMModule } from "./module"; -import type { QuickJSRuntime, InterruptHandler } from "./runtime"; -import type { QuickJSContext } from "./context"; -export type { QuickJSWASMModule, QuickJSContext, QuickJSRuntime }; -import type { QuickJSAsyncWASMModule } from "./module-asyncify"; -import type { QuickJSAsyncRuntime } from "./runtime-asyncify"; -import type { QuickJSAsyncContext, AsyncFunctionImplementation } from "./context-asyncify"; -import { AsyncRuntimeOptions, ContextOptions } from "./types"; -export type { QuickJSAsyncContext, QuickJSAsyncRuntime, QuickJSAsyncWASMModule, AsyncFunctionImplementation, }; -import { newQuickJSWASMModule, newQuickJSAsyncWASMModule, DEBUG_ASYNC, DEBUG_SYNC, RELEASE_ASYNC, RELEASE_SYNC, SyncBuildVariant, AsyncBuildVariant } from "./variants"; -export { newQuickJSWASMModule, newQuickJSAsyncWASMModule, DEBUG_ASYNC, DEBUG_SYNC, RELEASE_ASYNC, RELEASE_SYNC, SyncBuildVariant, AsyncBuildVariant, }; -export * from "./vm-interface"; -export * from "./lifetime"; -/** Collects the informative errors this library may throw. */ -export * as errors from "./errors"; -export * from "./deferred-promise"; -export * from "./module-test"; -export type { StaticJSValue, JSValueConst, JSValue, QuickJSHandle, ContextOptions, ContextEvalOptions, RuntimeOptions, AsyncRuntimeOptions, RuntimeOptionsBase, JSModuleLoader, JSModuleLoadResult, JSModuleLoaderAsync, JSModuleLoadSuccess, JSModuleLoadFailure, JSModuleNormalizer, JSModuleNormalizerAsync, JSModuleNormalizeResult, JSModuleNormalizeFailure, JSModuleNormalizeSuccess, } from "./types"; -export type { ModuleEvalOptions } from "./module"; -export type { InterruptHandler, ExecutePendingJobsResult } from "./runtime"; -export type { QuickJSPropertyKey } from "./context"; -/** - * Get a shared singleton {@link QuickJSWASMModule}. Use this to evaluate code - * or create Javascript environments. - * - * This is the top-level entrypoint for the quickjs-emscripten library. - * - * If you need strictest possible isolation guarantees, you may create a - * separate {@link QuickJSWASMModule} via {@link newQuickJSWASMModule}. - * - * To work with the asyncified version of this library, see these functions: - * - * - {@link newAsyncRuntime}. - * - {@link newAsyncContext}. - * - {@link newQuickJSAsyncWASMModule}. - */ -export declare function getQuickJS(): Promise; -/** - * Provides synchronous access to the shared {@link QuickJSWASMModule} instance returned by {@link getQuickJS}, as long as - * least once. - * @throws If called before `getQuickJS` resolves. - */ -export declare function getQuickJSSync(): QuickJSWASMModule; -/** - * Create a new [[QuickJSAsyncRuntime]] in a separate WebAssembly module. - * - * Each runtime is isolated in a separate WebAssembly module, so that errors in - * one runtime cannot contaminate another runtime, and each runtime can execute - * an asynchronous action without conflicts. - * - * Note that there is a hard limit on the number of WebAssembly modules in older - * versions of v8: - * https://bugs.chromium.org/p/v8/issues/detail?id=12076 - */ -export declare function newAsyncRuntime(options?: AsyncRuntimeOptions): Promise; -/** - * Create a new [[QuickJSAsyncContext]] (with an associated runtime) in an - * separate WebAssembly module. - * - * Each context is isolated in a separate WebAssembly module, so that errors in - * one runtime cannot contaminate another runtime, and each runtime can execute - * an asynchronous action without conflicts. - * - * Note that there is a hard limit on the number of WebAssembly modules in older - * versions of v8: - * https://bugs.chromium.org/p/v8/issues/detail?id=12076 - */ -export declare function newAsyncContext(options?: ContextOptions): Promise; -/** - * Returns an interrupt handler that interrupts Javascript execution after a deadline time. - * - * @param deadline - Interrupt execution if it's still running after this time. - * Number values are compared against `Date.now()` - */ -export declare function shouldInterruptAfterDeadline(deadline: Date | number): InterruptHandler; diff --git a/node_modules/@tootallnate/quickjs-emscripten/dist/index.js b/node_modules/@tootallnate/quickjs-emscripten/dist/index.js deleted file mode 100644 index 6ae3f50..0000000 --- a/node_modules/@tootallnate/quickjs-emscripten/dist/index.js +++ /dev/null @@ -1,128 +0,0 @@ -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { - Object.defineProperty(o, "default", { enumerable: true, value: v }); -}) : function(o, v) { - o["default"] = v; -}); -var __exportStar = (this && this.__exportStar) || function(m, exports) { - for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); -}; -var __importStar = (this && this.__importStar) || function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); - __setModuleDefault(result, mod); - return result; -}; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.shouldInterruptAfterDeadline = exports.newAsyncContext = exports.newAsyncRuntime = exports.getQuickJSSync = exports.getQuickJS = exports.errors = exports.RELEASE_SYNC = exports.RELEASE_ASYNC = exports.DEBUG_SYNC = exports.DEBUG_ASYNC = exports.newQuickJSAsyncWASMModule = exports.newQuickJSWASMModule = void 0; -// Build variants -const variants_1 = require("./variants"); -Object.defineProperty(exports, "newQuickJSWASMModule", { enumerable: true, get: function () { return variants_1.newQuickJSWASMModule; } }); -Object.defineProperty(exports, "newQuickJSAsyncWASMModule", { enumerable: true, get: function () { return variants_1.newQuickJSAsyncWASMModule; } }); -Object.defineProperty(exports, "DEBUG_ASYNC", { enumerable: true, get: function () { return variants_1.DEBUG_ASYNC; } }); -Object.defineProperty(exports, "DEBUG_SYNC", { enumerable: true, get: function () { return variants_1.DEBUG_SYNC; } }); -Object.defineProperty(exports, "RELEASE_ASYNC", { enumerable: true, get: function () { return variants_1.RELEASE_ASYNC; } }); -Object.defineProperty(exports, "RELEASE_SYNC", { enumerable: true, get: function () { return variants_1.RELEASE_SYNC; } }); -// Export helpers -__exportStar(require("./vm-interface"), exports); -__exportStar(require("./lifetime"), exports); -/** Collects the informative errors this library may throw. */ -exports.errors = __importStar(require("./errors")); -__exportStar(require("./deferred-promise"), exports); -__exportStar(require("./module-test"), exports); -let singleton = undefined; -let singletonPromise = undefined; -/** - * Get a shared singleton {@link QuickJSWASMModule}. Use this to evaluate code - * or create Javascript environments. - * - * This is the top-level entrypoint for the quickjs-emscripten library. - * - * If you need strictest possible isolation guarantees, you may create a - * separate {@link QuickJSWASMModule} via {@link newQuickJSWASMModule}. - * - * To work with the asyncified version of this library, see these functions: - * - * - {@link newAsyncRuntime}. - * - {@link newAsyncContext}. - * - {@link newQuickJSAsyncWASMModule}. - */ -async function getQuickJS() { - singletonPromise ?? (singletonPromise = (0, variants_1.newQuickJSWASMModule)().then((instance) => { - singleton = instance; - return instance; - })); - return await singletonPromise; -} -exports.getQuickJS = getQuickJS; -/** - * Provides synchronous access to the shared {@link QuickJSWASMModule} instance returned by {@link getQuickJS}, as long as - * least once. - * @throws If called before `getQuickJS` resolves. - */ -function getQuickJSSync() { - if (!singleton) { - throw new Error("QuickJS not initialized. Await getQuickJS() at least once."); - } - return singleton; -} -exports.getQuickJSSync = getQuickJSSync; -/** - * Create a new [[QuickJSAsyncRuntime]] in a separate WebAssembly module. - * - * Each runtime is isolated in a separate WebAssembly module, so that errors in - * one runtime cannot contaminate another runtime, and each runtime can execute - * an asynchronous action without conflicts. - * - * Note that there is a hard limit on the number of WebAssembly modules in older - * versions of v8: - * https://bugs.chromium.org/p/v8/issues/detail?id=12076 - */ -async function newAsyncRuntime(options) { - const module = await (0, variants_1.newQuickJSAsyncWASMModule)(); - return module.newRuntime(options); -} -exports.newAsyncRuntime = newAsyncRuntime; -/** - * Create a new [[QuickJSAsyncContext]] (with an associated runtime) in an - * separate WebAssembly module. - * - * Each context is isolated in a separate WebAssembly module, so that errors in - * one runtime cannot contaminate another runtime, and each runtime can execute - * an asynchronous action without conflicts. - * - * Note that there is a hard limit on the number of WebAssembly modules in older - * versions of v8: - * https://bugs.chromium.org/p/v8/issues/detail?id=12076 - */ -async function newAsyncContext(options) { - const module = await (0, variants_1.newQuickJSAsyncWASMModule)(); - return module.newContext(options); -} -exports.newAsyncContext = newAsyncContext; -/** - * Returns an interrupt handler that interrupts Javascript execution after a deadline time. - * - * @param deadline - Interrupt execution if it's still running after this time. - * Number values are compared against `Date.now()` - */ -function shouldInterruptAfterDeadline(deadline) { - const deadlineAsNumber = typeof deadline === "number" ? deadline : deadline.getTime(); - return function () { - return Date.now() > deadlineAsNumber; - }; -} -exports.shouldInterruptAfterDeadline = shouldInterruptAfterDeadline; -//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/node_modules/@tootallnate/quickjs-emscripten/dist/index.js.map b/node_modules/@tootallnate/quickjs-emscripten/dist/index.js.map deleted file mode 100644 index 6a70928..0000000 --- a/node_modules/@tootallnate/quickjs-emscripten/dist/index.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"index.js","sourceRoot":"","sources":["../ts/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAkBA,iBAAiB;AACjB,yCASmB;AAEjB,qGAVA,+BAAoB,OAUA;AACpB,0GAVA,oCAAyB,OAUA;AACzB,4FAVA,sBAAW,OAUA;AACX,2FAVA,qBAAU,OAUA;AACV,8FAVA,wBAAa,OAUA;AACb,6FAVA,uBAAY,OAUA;AAKd,iBAAiB;AACjB,iDAA8B;AAC9B,6CAA0B;AAC1B,8DAA8D;AAC9D,mDAAkC;AAClC,qDAAkC;AAClC,gDAA6B;AA0B7B,IAAI,SAAS,GAAkC,SAAS,CAAA;AACxD,IAAI,gBAAgB,GAA2C,SAAS,CAAA;AAExE;;;;;;;;;;;;;;GAcG;AACI,KAAK,UAAU,UAAU;IAC9B,gBAAgB,KAAhB,gBAAgB,GAAK,IAAA,+BAAoB,GAAE,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,EAAE;QAC5D,SAAS,GAAG,QAAQ,CAAA;QACpB,OAAO,QAAQ,CAAA;IACjB,CAAC,CAAC,EAAA;IACF,OAAO,MAAM,gBAAgB,CAAA;AAC/B,CAAC;AAND,gCAMC;AAED;;;;GAIG;AACH,SAAgB,cAAc;IAC5B,IAAI,CAAC,SAAS,EAAE;QACd,MAAM,IAAI,KAAK,CAAC,4DAA4D,CAAC,CAAA;KAC9E;IACD,OAAO,SAAS,CAAA;AAClB,CAAC;AALD,wCAKC;AAED;;;;;;;;;;GAUG;AACI,KAAK,UAAU,eAAe,CAAC,OAA6B;IACjE,MAAM,MAAM,GAAG,MAAM,IAAA,oCAAyB,GAAE,CAAA;IAChD,OAAO,MAAM,CAAC,UAAU,CAAC,OAAO,CAAC,CAAA;AACnC,CAAC;AAHD,0CAGC;AAED;;;;;;;;;;;GAWG;AACI,KAAK,UAAU,eAAe,CAAC,OAAwB;IAC5D,MAAM,MAAM,GAAG,MAAM,IAAA,oCAAyB,GAAE,CAAA;IAChD,OAAO,MAAM,CAAC,UAAU,CAAC,OAAO,CAAC,CAAA;AACnC,CAAC;AAHD,0CAGC;AAED;;;;;GAKG;AACH,SAAgB,4BAA4B,CAAC,QAAuB;IAClE,MAAM,gBAAgB,GAAG,OAAO,QAAQ,KAAK,QAAQ,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAA;IAErF,OAAO;QACL,OAAO,IAAI,CAAC,GAAG,EAAE,GAAG,gBAAgB,CAAA;IACtC,CAAC,CAAA;AACH,CAAC;AAND,oEAMC","sourcesContent":["// Sync classes\nimport type { QuickJSWASMModule } from \"./module\"\nimport type { QuickJSRuntime, InterruptHandler } from \"./runtime\"\nimport type { QuickJSContext } from \"./context\"\nexport type { QuickJSWASMModule, QuickJSContext, QuickJSRuntime }\n\n// Async classes\nimport type { QuickJSAsyncWASMModule } from \"./module-asyncify\"\nimport type { QuickJSAsyncRuntime } from \"./runtime-asyncify\"\nimport type { QuickJSAsyncContext, AsyncFunctionImplementation } from \"./context-asyncify\"\nimport { AsyncRuntimeOptions, ContextOptions } from \"./types\"\nexport type {\n QuickJSAsyncContext,\n QuickJSAsyncRuntime,\n QuickJSAsyncWASMModule,\n AsyncFunctionImplementation,\n}\n\n// Build variants\nimport {\n newQuickJSWASMModule,\n newQuickJSAsyncWASMModule,\n DEBUG_ASYNC,\n DEBUG_SYNC,\n RELEASE_ASYNC,\n RELEASE_SYNC,\n SyncBuildVariant,\n AsyncBuildVariant,\n} from \"./variants\"\nexport {\n newQuickJSWASMModule,\n newQuickJSAsyncWASMModule,\n DEBUG_ASYNC,\n DEBUG_SYNC,\n RELEASE_ASYNC,\n RELEASE_SYNC,\n SyncBuildVariant,\n AsyncBuildVariant,\n}\n\n// Export helpers\nexport * from \"./vm-interface\"\nexport * from \"./lifetime\"\n/** Collects the informative errors this library may throw. */\nexport * as errors from \"./errors\"\nexport * from \"./deferred-promise\"\nexport * from \"./module-test\"\nexport type {\n StaticJSValue,\n JSValueConst,\n JSValue,\n QuickJSHandle,\n ContextOptions,\n ContextEvalOptions,\n RuntimeOptions,\n AsyncRuntimeOptions,\n RuntimeOptionsBase,\n JSModuleLoader,\n JSModuleLoadResult,\n JSModuleLoaderAsync,\n JSModuleLoadSuccess,\n JSModuleLoadFailure,\n JSModuleNormalizer,\n JSModuleNormalizerAsync,\n JSModuleNormalizeResult,\n JSModuleNormalizeFailure,\n JSModuleNormalizeSuccess,\n} from \"./types\"\nexport type { ModuleEvalOptions } from \"./module\"\nexport type { InterruptHandler, ExecutePendingJobsResult } from \"./runtime\"\nexport type { QuickJSPropertyKey } from \"./context\"\n\nlet singleton: QuickJSWASMModule | undefined = undefined\nlet singletonPromise: Promise | undefined = undefined\n\n/**\n * Get a shared singleton {@link QuickJSWASMModule}. Use this to evaluate code\n * or create Javascript environments.\n *\n * This is the top-level entrypoint for the quickjs-emscripten library.\n *\n * If you need strictest possible isolation guarantees, you may create a\n * separate {@link QuickJSWASMModule} via {@link newQuickJSWASMModule}.\n *\n * To work with the asyncified version of this library, see these functions:\n *\n * - {@link newAsyncRuntime}.\n * - {@link newAsyncContext}.\n * - {@link newQuickJSAsyncWASMModule}.\n */\nexport async function getQuickJS(): Promise {\n singletonPromise ??= newQuickJSWASMModule().then((instance) => {\n singleton = instance\n return instance\n })\n return await singletonPromise\n}\n\n/**\n * Provides synchronous access to the shared {@link QuickJSWASMModule} instance returned by {@link getQuickJS}, as long as\n * least once.\n * @throws If called before `getQuickJS` resolves.\n */\nexport function getQuickJSSync(): QuickJSWASMModule {\n if (!singleton) {\n throw new Error(\"QuickJS not initialized. Await getQuickJS() at least once.\")\n }\n return singleton\n}\n\n/**\n * Create a new [[QuickJSAsyncRuntime]] in a separate WebAssembly module.\n *\n * Each runtime is isolated in a separate WebAssembly module, so that errors in\n * one runtime cannot contaminate another runtime, and each runtime can execute\n * an asynchronous action without conflicts.\n *\n * Note that there is a hard limit on the number of WebAssembly modules in older\n * versions of v8:\n * https://bugs.chromium.org/p/v8/issues/detail?id=12076\n */\nexport async function newAsyncRuntime(options?: AsyncRuntimeOptions): Promise {\n const module = await newQuickJSAsyncWASMModule()\n return module.newRuntime(options)\n}\n\n/**\n * Create a new [[QuickJSAsyncContext]] (with an associated runtime) in an\n * separate WebAssembly module.\n *\n * Each context is isolated in a separate WebAssembly module, so that errors in\n * one runtime cannot contaminate another runtime, and each runtime can execute\n * an asynchronous action without conflicts.\n *\n * Note that there is a hard limit on the number of WebAssembly modules in older\n * versions of v8:\n * https://bugs.chromium.org/p/v8/issues/detail?id=12076\n */\nexport async function newAsyncContext(options?: ContextOptions): Promise {\n const module = await newQuickJSAsyncWASMModule()\n return module.newContext(options)\n}\n\n/**\n * Returns an interrupt handler that interrupts Javascript execution after a deadline time.\n *\n * @param deadline - Interrupt execution if it's still running after this time.\n * Number values are compared against `Date.now()`\n */\nexport function shouldInterruptAfterDeadline(deadline: Date | number): InterruptHandler {\n const deadlineAsNumber = typeof deadline === \"number\" ? deadline : deadline.getTime()\n\n return function () {\n return Date.now() > deadlineAsNumber\n }\n}\n"]} \ No newline at end of file diff --git a/node_modules/@tootallnate/quickjs-emscripten/dist/lifetime.d.ts b/node_modules/@tootallnate/quickjs-emscripten/dist/lifetime.d.ts deleted file mode 100644 index 939e9f9..0000000 --- a/node_modules/@tootallnate/quickjs-emscripten/dist/lifetime.d.ts +++ /dev/null @@ -1,115 +0,0 @@ -import { MaybeAsyncBlock } from "./asyncify-helpers"; -import type { QuickJSHandle } from "./types"; -/** - * An object that can be disposed. - * [[Lifetime]] is the canonical implementation of Disposable. - * Use [[Scope]] to manage cleaning up multiple disposables. - */ -export interface Disposable { - /** - * Dispose of the underlying resources used by this object. - */ - dispose(): void; - /** - * @returns true if the object is alive - * @returns false after the object has been [[dispose]]d - */ - alive: boolean; -} -/** - * A lifetime prevents access to a value after the lifetime has been - * [[dispose]]ed. - * - * Typically, quickjs-emscripten uses Lifetimes to protect C memory pointers. - */ -export declare class Lifetime implements Disposable { - protected readonly _value: T; - protected readonly copier?: ((value: T | TCopy) => TCopy) | undefined; - protected readonly disposer?: ((value: T | TCopy) => void) | undefined; - protected readonly _owner?: Owner | undefined; - protected _alive: boolean; - protected _constructorStack: string | undefined; - /** - * When the Lifetime is disposed, it will call `disposer(_value)`. Use the - * disposer function to implement whatever cleanup needs to happen at the end - * of `value`'s lifetime. - * - * `_owner` is not used or controlled by the lifetime. It's just metadata for - * the creator. - */ - constructor(_value: T, copier?: ((value: T | TCopy) => TCopy) | undefined, disposer?: ((value: T | TCopy) => void) | undefined, _owner?: Owner | undefined); - get alive(): boolean; - /** - * The value this Lifetime protects. You must never retain the value - it - * may become invalid, leading to memory errors. - * - * @throws If the lifetime has been [[dispose]]d already. - */ - get value(): T; - get owner(): Owner | undefined; - get dupable(): boolean; - /** - * Create a new handle pointing to the same [[value]]. - */ - dup(): Lifetime; - /** - * Call `map` with this lifetime, then dispose the lifetime. - * @return the result of `map(this)`. - */ - consume(map: (lifetime: this) => O): O; - consume(map: (lifetime: QuickJSHandle) => O): O; - /** - * Dispose of [[value]] and perform cleanup. - */ - dispose(): void; - private assertAlive; -} -/** - * A Lifetime that lives forever. Used for constants. - */ -export declare class StaticLifetime extends Lifetime { - constructor(value: T, owner?: Owner); - get dupable(): boolean; - dup(): this; - dispose(): void; -} -/** - * A Lifetime that does not own its `value`. A WeakLifetime never calls its - * `disposer` function, but can be `dup`ed to produce regular lifetimes that - * do. - * - * Used for function arguments. - */ -export declare class WeakLifetime extends Lifetime { - constructor(value: T, copier?: (value: T | TCopy) => TCopy, disposer?: (value: TCopy) => void, owner?: Owner); - dispose(): void; -} -/** - * Scope helps reduce the burden of manually tracking and disposing of - * Lifetimes. See [[withScope]]. and [[withScopeAsync]]. - */ -export declare class Scope implements Disposable { - /** - * Run `block` with a new Scope instance that will be disposed after the block returns. - * Inside `block`, call `scope.manage` on each lifetime you create to have the lifetime - * automatically disposed after the block returns. - * - * @warning Do not use with async functions. Instead, use [[withScopeAsync]]. - */ - static withScope(block: (scope: Scope) => R): R; - static withScopeMaybeAsync(_this: This, block: MaybeAsyncBlock): Return | Promise; - /** - * Run `block` with a new Scope instance that will be disposed after the - * block's returned promise settles. Inside `block`, call `scope.manage` on each - * lifetime you create to have the lifetime automatically disposed after the - * block returns. - */ - static withScopeAsync(block: (scope: Scope) => Promise): Promise; - private _disposables; - /** - * Track `lifetime` so that it is disposed when this scope is disposed. - */ - manage(lifetime: T): T; - get alive(): boolean; - dispose(): void; -} diff --git a/node_modules/@tootallnate/quickjs-emscripten/dist/lifetime.js b/node_modules/@tootallnate/quickjs-emscripten/dist/lifetime.js deleted file mode 100644 index 061c8e4..0000000 --- a/node_modules/@tootallnate/quickjs-emscripten/dist/lifetime.js +++ /dev/null @@ -1,227 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.Scope = exports.WeakLifetime = exports.StaticLifetime = exports.Lifetime = void 0; -const asyncify_helpers_1 = require("./asyncify-helpers"); -const debug_1 = require("./debug"); -const errors_1 = require("./errors"); -/** - * A lifetime prevents access to a value after the lifetime has been - * [[dispose]]ed. - * - * Typically, quickjs-emscripten uses Lifetimes to protect C memory pointers. - */ -class Lifetime { - /** - * When the Lifetime is disposed, it will call `disposer(_value)`. Use the - * disposer function to implement whatever cleanup needs to happen at the end - * of `value`'s lifetime. - * - * `_owner` is not used or controlled by the lifetime. It's just metadata for - * the creator. - */ - constructor(_value, copier, disposer, _owner) { - this._value = _value; - this.copier = copier; - this.disposer = disposer; - this._owner = _owner; - this._alive = true; - this._constructorStack = debug_1.QTS_DEBUG ? new Error("Lifetime constructed").stack : undefined; - } - get alive() { - return this._alive; - } - /** - * The value this Lifetime protects. You must never retain the value - it - * may become invalid, leading to memory errors. - * - * @throws If the lifetime has been [[dispose]]d already. - */ - get value() { - this.assertAlive(); - return this._value; - } - get owner() { - return this._owner; - } - get dupable() { - return !!this.copier; - } - /** - * Create a new handle pointing to the same [[value]]. - */ - dup() { - this.assertAlive(); - if (!this.copier) { - throw new Error("Non-dupable lifetime"); - } - return new Lifetime(this.copier(this._value), this.copier, this.disposer, this._owner); - } - consume(map) { - this.assertAlive(); - const result = map(this); - this.dispose(); - return result; - } - /** - * Dispose of [[value]] and perform cleanup. - */ - dispose() { - this.assertAlive(); - if (this.disposer) { - this.disposer(this._value); - } - this._alive = false; - } - assertAlive() { - if (!this.alive) { - if (this._constructorStack) { - throw new errors_1.QuickJSUseAfterFree(`Lifetime not alive\n${this._constructorStack}\nLifetime used`); - } - throw new errors_1.QuickJSUseAfterFree("Lifetime not alive"); - } - } -} -exports.Lifetime = Lifetime; -/** - * A Lifetime that lives forever. Used for constants. - */ -class StaticLifetime extends Lifetime { - constructor(value, owner) { - super(value, undefined, undefined, owner); - } - // Static lifetime doesn't need a copier to be copiable - get dupable() { - return true; - } - // Copy returns the same instance. - dup() { - return this; - } - // Dispose does nothing. - dispose() { } -} -exports.StaticLifetime = StaticLifetime; -/** - * A Lifetime that does not own its `value`. A WeakLifetime never calls its - * `disposer` function, but can be `dup`ed to produce regular lifetimes that - * do. - * - * Used for function arguments. - */ -class WeakLifetime extends Lifetime { - constructor(value, copier, disposer, owner) { - // We don't care if the disposer doesn't support freeing T - super(value, copier, disposer, owner); - } - dispose() { - this._alive = false; - } -} -exports.WeakLifetime = WeakLifetime; -function scopeFinally(scope, blockError) { - // console.log('scopeFinally', scope, blockError) - let disposeError; - try { - scope.dispose(); - } - catch (error) { - disposeError = error; - } - if (blockError && disposeError) { - Object.assign(blockError, { - message: `${blockError.message}\n Then, failed to dispose scope: ${disposeError.message}`, - disposeError, - }); - throw blockError; - } - if (blockError || disposeError) { - throw blockError || disposeError; - } -} -/** - * Scope helps reduce the burden of manually tracking and disposing of - * Lifetimes. See [[withScope]]. and [[withScopeAsync]]. - */ -class Scope { - constructor() { - this._disposables = new Lifetime(new Set()); - } - /** - * Run `block` with a new Scope instance that will be disposed after the block returns. - * Inside `block`, call `scope.manage` on each lifetime you create to have the lifetime - * automatically disposed after the block returns. - * - * @warning Do not use with async functions. Instead, use [[withScopeAsync]]. - */ - static withScope(block) { - const scope = new Scope(); - let blockError; - try { - return block(scope); - } - catch (error) { - blockError = error; - throw error; - } - finally { - scopeFinally(scope, blockError); - } - } - static withScopeMaybeAsync(_this, block) { - return (0, asyncify_helpers_1.maybeAsync)(undefined, function* (awaited) { - const scope = new Scope(); - let blockError; - try { - return yield* awaited.of(block.call(_this, awaited, scope)); - } - catch (error) { - blockError = error; - throw error; - } - finally { - scopeFinally(scope, blockError); - } - }); - } - /** - * Run `block` with a new Scope instance that will be disposed after the - * block's returned promise settles. Inside `block`, call `scope.manage` on each - * lifetime you create to have the lifetime automatically disposed after the - * block returns. - */ - static async withScopeAsync(block) { - const scope = new Scope(); - let blockError; - try { - return await block(scope); - } - catch (error) { - blockError = error; - throw error; - } - finally { - scopeFinally(scope, blockError); - } - } - /** - * Track `lifetime` so that it is disposed when this scope is disposed. - */ - manage(lifetime) { - this._disposables.value.add(lifetime); - return lifetime; - } - get alive() { - return this._disposables.alive; - } - dispose() { - const lifetimes = Array.from(this._disposables.value.values()).reverse(); - for (const lifetime of lifetimes) { - if (lifetime.alive) { - lifetime.dispose(); - } - } - this._disposables.dispose(); - } -} -exports.Scope = Scope; -//# sourceMappingURL=lifetime.js.map \ No newline at end of file diff --git a/node_modules/@tootallnate/quickjs-emscripten/dist/lifetime.js.map b/node_modules/@tootallnate/quickjs-emscripten/dist/lifetime.js.map deleted file mode 100644 index 7dedbd2..0000000 --- a/node_modules/@tootallnate/quickjs-emscripten/dist/lifetime.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"lifetime.js","sourceRoot":"","sources":["../ts/lifetime.ts"],"names":[],"mappings":";;;AAAA,yDAAgE;AAChE,mCAAmC;AACnC,qCAA8C;AAqB9C;;;;;GAKG;AACH,MAAa,QAAQ;IAInB;;;;;;;OAOG;IACH,YACqB,MAAS,EACT,MAAoC,EACpC,QAAqC,EACrC,MAAc;QAHd,WAAM,GAAN,MAAM,CAAG;QACT,WAAM,GAAN,MAAM,CAA8B;QACpC,aAAQ,GAAR,QAAQ,CAA6B;QACrC,WAAM,GAAN,MAAM,CAAQ;QAfzB,WAAM,GAAY,IAAI,CAAA;QACtB,sBAAiB,GAAG,iBAAS,CAAC,CAAC,CAAC,IAAI,KAAK,CAAC,sBAAsB,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAA;IAe1F,CAAC;IAEJ,IAAI,KAAK;QACP,OAAO,IAAI,CAAC,MAAM,CAAA;IACpB,CAAC;IAED;;;;;OAKG;IACH,IAAI,KAAK;QACP,IAAI,CAAC,WAAW,EAAE,CAAA;QAClB,OAAO,IAAI,CAAC,MAAM,CAAA;IACpB,CAAC;IAED,IAAI,KAAK;QACP,OAAO,IAAI,CAAC,MAAM,CAAA;IACpB,CAAC;IAED,IAAI,OAAO;QACT,OAAO,CAAC,CAAC,IAAI,CAAC,MAAM,CAAA;IACtB,CAAC;IAED;;OAEG;IACH,GAAG;QACD,IAAI,CAAC,WAAW,EAAE,CAAA;QAClB,IAAI,CAAC,IAAI,CAAC,MAAM,EAAE;YAChB,M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AAC,CAAC,OAAO,EAAE,CAAA;QACxE,KAAK,MAAM,QAAQ,IAAI,SAAS,EAAE;YAChC,IAAI,QAAQ,CAAC,KAAK,EAAE;gBAClB,QAAQ,CAAC,OAAO,EAAE,CAAA;aACnB;SACF;QACD,IAAI,CAAC,YAAY,CAAC,OAAO,EAAE,CAAA;IAC7B,CAAC;CACF;AAjFD,sBAiFC","sourcesContent":["import { maybeAsync, MaybeAsyncBlock } from \"./asyncify-helpers\"\nimport { QTS_DEBUG } from \"./debug\"\nimport { QuickJSUseAfterFree } from \"./errors\"\nimport type { QuickJSHandle } from \"./types\"\n\n/**\n * An object that can be disposed.\n * [[Lifetime]] is the canonical implementation of Disposable.\n * Use [[Scope]] to manage cleaning up multiple disposables.\n */\nexport interface Disposable {\n /**\n * Dispose of the underlying resources used by this object.\n */\n dispose(): void\n\n /**\n * @returns true if the object is alive\n * @returns false after the object has been [[dispose]]d\n */\n alive: boolean\n}\n\n/**\n * A lifetime prevents access to a value after the lifetime has been\n * [[dispose]]ed.\n *\n * Typically, quickjs-emscripten uses Lifetimes to protect C memory pointers.\n */\nexport class Lifetime implements Disposable {\n protected _alive: boolean = true\n protected _constructorStack = QTS_DEBUG ? new Error(\"Lifetime constructed\").stack : undefined\n\n /**\n * When the Lifetime is disposed, it will call `disposer(_value)`. Use the\n * disposer function to implement whatever cleanup needs to happen at the end\n * of `value`'s lifetime.\n *\n * `_owner` is not used or controlled by the lifetime. It's just metadata for\n * the creator.\n */\n constructor(\n protected readonly _value: T,\n protected readonly copier?: (value: T | TCopy) => TCopy,\n protected readonly disposer?: (value: T | TCopy) => void,\n protected readonly _owner?: Owner\n ) {}\n\n get alive() {\n return this._alive\n }\n\n /**\n * The value this Lifetime protects. You must never retain the value - it\n * may become invalid, leading to memory errors.\n *\n * @throws If the lifetime has been [[dispose]]d already.\n */\n get value() {\n this.assertAlive()\n return this._value\n }\n\n get owner() {\n return this._owner\n }\n\n get dupable() {\n return !!this.copier\n }\n\n /**\n * Create a new handle pointing to the same [[value]].\n */\n dup() {\n this.assertAlive()\n if (!this.copier) {\n throw new Error(\"Non-dupable lifetime\")\n }\n return new Lifetime(\n this.copier(this._value),\n this.copier,\n this.disposer,\n this._owner\n )\n }\n\n /**\n * Call `map` with this lifetime, then dispose the lifetime.\n * @return the result of `map(this)`.\n */\n consume(map: (lifetime: this) => O): O\n // A specific type definition is needed for our common use-case\n // https://github.com/microsoft/TypeScript/issues/30271\n consume(map: (lifetime: QuickJSHandle) => O): O\n consume(map: (lifetime: any) => O): O {\n this.assertAlive()\n const result = map(this)\n this.dispose()\n return result\n }\n\n /**\n * Dispose of [[value]] and perform cleanup.\n */\n dispose() {\n this.assertAlive()\n if (this.disposer) {\n this.disposer(this._value)\n }\n this._alive = false\n }\n\n private assertAlive() {\n if (!this.alive) {\n if (this._constructorStack) {\n throw new QuickJSUseAfterFree(\n `Lifetime not alive\\n${this._constructorStack}\\nLifetime used`\n )\n }\n throw new QuickJSUseAfterFree(\"Lifetime not alive\")\n }\n }\n}\n\n/**\n * A Lifetime that lives forever. Used for constants.\n */\nexport class StaticLifetime extends Lifetime {\n constructor(value: T, owner?: Owner) {\n super(value, undefined, undefined, owner)\n }\n\n // Static lifetime doesn't need a copier to be copiable\n get dupable() {\n return true\n }\n\n // Copy returns the same instance.\n dup() {\n return this\n }\n\n // Dispose does nothing.\n dispose() {}\n}\n\n/**\n * A Lifetime that does not own its `value`. A WeakLifetime never calls its\n * `disposer` function, but can be `dup`ed to produce regular lifetimes that\n * do.\n *\n * Used for function arguments.\n */\nexport class WeakLifetime extends Lifetime {\n constructor(\n value: T,\n copier?: (value: T | TCopy) => TCopy,\n disposer?: (value: TCopy) => void,\n owner?: Owner\n ) {\n // We don't care if the disposer doesn't support freeing T\n super(value, copier, disposer as (value: T | TCopy) => void, owner)\n }\n\n dispose() {\n this._alive = false\n }\n}\n\nfunction scopeFinally(scope: Scope, blockError: Error | undefined) {\n // console.log('scopeFinally', scope, blockError)\n let disposeError: Error | undefined\n try {\n scope.dispose()\n } catch (error) {\n disposeError = error as any\n }\n\n if (blockError && disposeError) {\n Object.assign(blockError, {\n message: `${blockError.message}\\n Then, failed to dispose scope: ${disposeError.message}`,\n disposeError,\n })\n throw blockError\n }\n\n if (blockError || disposeError) {\n throw blockError || disposeError\n }\n}\n\n/**\n * Scope helps reduce the burden of manually tracking and disposing of\n * Lifetimes. See [[withScope]]. and [[withScopeAsync]].\n */\nexport class Scope implements Disposable {\n /**\n * Run `block` with a new Scope instance that will be disposed after the block returns.\n * Inside `block`, call `scope.manage` on each lifetime you create to have the lifetime\n * automatically disposed after the block returns.\n *\n * @warning Do not use with async functions. Instead, use [[withScopeAsync]].\n */\n static withScope(block: (scope: Scope) => R): R {\n const scope = new Scope()\n let blockError: Error | undefined\n try {\n return block(scope)\n } catch (error) {\n blockError = error as any\n throw error\n } finally {\n scopeFinally(scope, blockError)\n }\n }\n\n static withScopeMaybeAsync(\n _this: This,\n block: MaybeAsyncBlock\n ): Return | Promise {\n return maybeAsync(undefined, function* (awaited) {\n const scope = new Scope()\n let blockError: Error | undefined\n try {\n return yield* awaited.of(block.call(_this, awaited, scope))\n } catch (error) {\n blockError = error as any\n throw error\n } finally {\n scopeFinally(scope, blockError)\n }\n })\n }\n\n /**\n * Run `block` with a new Scope instance that will be disposed after the\n * block's returned promise settles. Inside `block`, call `scope.manage` on each\n * lifetime you create to have the lifetime automatically disposed after the\n * block returns.\n */\n static async withScopeAsync(block: (scope: Scope) => Promise): Promise {\n const scope = new Scope()\n let blockError: Error | undefined\n try {\n return await block(scope)\n } catch (error) {\n blockError = error as any\n throw error\n } finally {\n scopeFinally(scope, blockError)\n }\n }\n\n private _disposables: Lifetime> = new Lifetime(new Set())\n\n /**\n * Track `lifetime` so that it is disposed when this scope is disposed.\n */\n manage(lifetime: T): T {\n this._disposables.value.add(lifetime)\n return lifetime\n }\n\n get alive() {\n return this._disposables.alive\n }\n\n dispose() {\n const lifetimes = Array.from(this._disposables.value.values()).reverse()\n for (const lifetime of lifetimes) {\n if (lifetime.alive) {\n lifetime.dispose()\n }\n }\n this._disposables.dispose()\n }\n}\n"]} \ No newline at end of file diff --git a/node_modules/@tootallnate/quickjs-emscripten/dist/memory.d.ts b/node_modules/@tootallnate/quickjs-emscripten/dist/memory.d.ts deleted file mode 100644 index 156073b..0000000 --- a/node_modules/@tootallnate/quickjs-emscripten/dist/memory.d.ts +++ /dev/null @@ -1,18 +0,0 @@ -import { EitherModule } from "./emscripten-types"; -import { OwnedHeapCharPointer, JSContextPointerPointer, JSValueConstPointerPointer, JSValuePointerPointer } from "./types-ffi"; -import { Lifetime } from "./lifetime"; -import { QuickJSHandle } from "./types"; -/** - * @private - */ -export declare class ModuleMemory { - module: EitherModule; - constructor(module: EitherModule); - toPointerArray(handleArray: QuickJSHandle[]): Lifetime; - newMutablePointerArray(length: number): Lifetime<{ - typedArray: Int32Array; - ptr: T; - }>; - newHeapCharPointer(string: string): Lifetime; - consumeHeapCharPointer(ptr: OwnedHeapCharPointer): string; -} diff --git a/node_modules/@tootallnate/quickjs-emscripten/dist/memory.js b/node_modules/@tootallnate/quickjs-emscripten/dist/memory.js deleted file mode 100644 index de165e1..0000000 --- a/node_modules/@tootallnate/quickjs-emscripten/dist/memory.js +++ /dev/null @@ -1,41 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.ModuleMemory = void 0; -const lifetime_1 = require("./lifetime"); -/** - * @private - */ -class ModuleMemory { - constructor(module) { - this.module = module; - } - toPointerArray(handleArray) { - const typedArray = new Int32Array(handleArray.map((handle) => handle.value)); - const numBytes = typedArray.length * typedArray.BYTES_PER_ELEMENT; - const ptr = this.module._malloc(numBytes); - var heapBytes = new Uint8Array(this.module.HEAPU8.buffer, ptr, numBytes); - heapBytes.set(new Uint8Array(typedArray.buffer)); - return new lifetime_1.Lifetime(ptr, undefined, (ptr) => this.module._free(ptr)); - } - newMutablePointerArray(length) { - const zeros = new Int32Array(new Array(length).fill(0)); - const numBytes = zeros.length * zeros.BYTES_PER_ELEMENT; - const ptr = this.module._malloc(numBytes); - const typedArray = new Int32Array(this.module.HEAPU8.buffer, ptr, length); - typedArray.set(zeros); - return new lifetime_1.Lifetime({ typedArray, ptr }, undefined, (value) => this.module._free(value.ptr)); - } - newHeapCharPointer(string) { - const numBytes = this.module.lengthBytesUTF8(string) + 1; - const ptr = this.module._malloc(numBytes); - this.module.stringToUTF8(string, ptr, numBytes); - return new lifetime_1.Lifetime(ptr, undefined, (value) => this.module._free(value)); - } - consumeHeapCharPointer(ptr) { - const str = this.module.UTF8ToString(ptr); - this.module._free(ptr); - return str; - } -} -exports.ModuleMemory = ModuleMemory; -//# sourceMappingURL=memory.js.map \ No newline at end of file diff --git a/node_modules/@tootallnate/quickjs-emscripten/dist/memory.js.map b/node_modules/@tootallnate/quickjs-emscripten/dist/memory.js.map deleted file mode 100644 index 6b68abf..0000000 --- a/node_modules/@tootallnate/quickjs-emscripten/dist/memory.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"memory.js","sourceRoot":"","sources":["../ts/memory.ts"],"names":[],"mappings":";;;AAOA,yCAAqC;AAGrC;;GAEG;AACH,MAAa,YAAY;IACvB,YAAmB,MAAoB;QAApB,WAAM,GAAN,MAAM,CAAc;IAAG,CAAC;IAE3C,cAAc,CAAC,WAA4B;QACzC,MAAM,UAAU,GAAG,IAAI,UAAU,CAAC,WAAW,CAAC,GAAG,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAA;QAC5E,MAAM,QAAQ,GAAG,UAAU,CAAC,MAAM,GAAG,UAAU,CAAC,iBAAiB,CAAA;QACjE,MAAM,GAAG,GAAG,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,QAAQ,CAA+B,CAAA;QACvE,IAAI,SAAS,GAAG,IAAI,UAAU,CAAC,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC,MAAM,EAAE,GAAG,EAAE,QAAQ,CAAC,CAAA;QACxE,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S,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CAAA;IAC1E,CAAC;IAED,sBAAsB,CAAC,GAAyB;QAC9C,MAAM,GAAG,GAAG,IAAI,CAAC,MAAM,CAAC,YAAY,CAAC,GAAG,CAAC,CAAA;QACzC,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,GAAG,CAAC,CAAA;QACtB,OAAO,GAAG,CAAA;IACZ,CAAC;CACF;AAnCD,oCAmCC","sourcesContent":["import { EitherModule } from \"./emscripten-types\"\nimport {\n OwnedHeapCharPointer,\n JSContextPointerPointer,\n JSValueConstPointerPointer,\n JSValuePointerPointer,\n} from \"./types-ffi\"\nimport { Lifetime } from \"./lifetime\"\nimport { EitherFFI, QuickJSHandle } from \"./types\"\n\n/**\n * @private\n */\nexport class ModuleMemory {\n constructor(public module: EitherModule) {}\n\n toPointerArray(handleArray: QuickJSHandle[]): Lifetime {\n const typedArray = new Int32Array(handleArray.map((handle) => handle.value))\n const numBytes = typedArray.length * typedArray.BYTES_PER_ELEMENT\n const ptr = this.module._malloc(numBytes) as JSValueConstPointerPointer\n var heapBytes = new Uint8Array(this.module.HEAPU8.buffer, ptr, numBytes)\n heapBytes.set(new Uint8Array(typedArray.buffer))\n return new Lifetime(ptr, undefined, (ptr) => this.module._free(ptr))\n }\n\n newMutablePointerArray(\n length: number\n ): Lifetime<{ typedArray: Int32Array; ptr: T }> {\n const zeros = new Int32Array(new Array(length).fill(0))\n const numBytes = zeros.length * zeros.BYTES_PER_ELEMENT\n const ptr = this.module._malloc(numBytes) as T\n const typedArray = new Int32Array(this.module.HEAPU8.buffer, ptr, length)\n typedArray.set(zeros)\n return new Lifetime({ typedArray, ptr }, undefined, (value) => this.module._free(value.ptr))\n }\n\n newHeapCharPointer(string: string): Lifetime {\n const numBytes = this.module.lengthBytesUTF8(string) + 1\n const ptr: OwnedHeapCharPointer = this.module._malloc(numBytes) as OwnedHeapCharPointer\n this.module.stringToUTF8(string, ptr, numBytes)\n return new Lifetime(ptr, undefined, (value) => this.module._free(value))\n }\n\n consumeHeapCharPointer(ptr: OwnedHeapCharPointer): string {\n const str = this.module.UTF8ToString(ptr)\n this.module._free(ptr)\n return str\n }\n}\n"]} \ No newline at end of file diff --git a/node_modules/@tootallnate/quickjs-emscripten/dist/module-asyncify.d.ts b/node_modules/@tootallnate/quickjs-emscripten/dist/module-asyncify.d.ts deleted file mode 100644 index 3797d87..0000000 --- a/node_modules/@tootallnate/quickjs-emscripten/dist/module-asyncify.d.ts +++ /dev/null @@ -1,53 +0,0 @@ -import { QuickJSAsyncContext } from "./context-asyncify"; -import { QuickJSAsyncEmscriptenModule } from "./emscripten-types"; -import { QuickJSAsyncFFI } from "./variants"; -import { ModuleEvalOptions, QuickJSWASMModule } from "./module"; -import { QuickJSAsyncRuntime } from "./runtime-asyncify"; -import { AsyncRuntimeOptions, ContextOptions } from "./types"; -/** - * Asyncified version of [[QuickJSWASMModule]]. - * - * Due to limitations of Emscripten's ASYNCIFY process, only a single async - * function call can happen at a time across the entire WebAssembly module. - * - * That means that all runtimes, contexts, functions, etc created inside this - * WebAssembly are limited to a single concurrent async action. - * **Multiple concurrent async actions is an error.** - * - * To allow for multiple concurrent async actions, you must create multiple WebAssembly - * modules. - */ -export declare class QuickJSAsyncWASMModule extends QuickJSWASMModule { - /** @private */ - protected ffi: QuickJSAsyncFFI; - /** @private */ - protected module: QuickJSAsyncEmscriptenModule; - /** @private */ - constructor(module: QuickJSAsyncEmscriptenModule, ffi: QuickJSAsyncFFI); - /** - * Create a new async runtime inside this WebAssembly module. All runtimes inside a - * module are limited to a single async call at a time. For multiple - * concurrent async actions, create multiple WebAssembly modules. - */ - newRuntime(options?: AsyncRuntimeOptions): QuickJSAsyncRuntime; - /** - * A simplified API to create a new [[QuickJSRuntime]] and a - * [[QuickJSContext]] inside that runtime at the same time. The runtime will - * be disposed when the context is disposed. - */ - newContext(options?: ContextOptions): QuickJSAsyncContext; - /** Synchronous evalCode is not supported. */ - evalCode(): never; - /** - * One-off evaluate code without needing to create a [[QuickJSRuntimeAsync]] or - * [[QuickJSContextSync]] explicitly. - * - * This version allows for asynchronous Ecmascript module loading. - * - * Note that only a single async action can occur at a time inside the entire WebAssembly module. - * **Multiple concurrent async actions is an error.** - * - * See the documentation for [[QuickJSWASMModule.evalCode]] for more details. - */ - evalCodeAsync(code: string, options: ModuleEvalOptions): Promise; -} diff --git a/node_modules/@tootallnate/quickjs-emscripten/dist/module-asyncify.js b/node_modules/@tootallnate/quickjs-emscripten/dist/module-asyncify.js deleted file mode 100644 index 16a5735..0000000 --- a/node_modules/@tootallnate/quickjs-emscripten/dist/module-asyncify.js +++ /dev/null @@ -1,97 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.QuickJSAsyncWASMModule = void 0; -const errors_1 = require("./errors"); -const lifetime_1 = require("./lifetime"); -const module_1 = require("./module"); -const runtime_asyncify_1 = require("./runtime-asyncify"); -/** - * Asyncified version of [[QuickJSWASMModule]]. - * - * Due to limitations of Emscripten's ASYNCIFY process, only a single async - * function call can happen at a time across the entire WebAssembly module. - * - * That means that all runtimes, contexts, functions, etc created inside this - * WebAssembly are limited to a single concurrent async action. - * **Multiple concurrent async actions is an error.** - * - * To allow for multiple concurrent async actions, you must create multiple WebAssembly - * modules. - */ -class QuickJSAsyncWASMModule extends module_1.QuickJSWASMModule { - /** @private */ - constructor(module, ffi) { - super(module, ffi); - this.ffi = ffi; - this.module = module; - } - /** - * Create a new async runtime inside this WebAssembly module. All runtimes inside a - * module are limited to a single async call at a time. For multiple - * concurrent async actions, create multiple WebAssembly modules. - */ - newRuntime(options = {}) { - const rt = new lifetime_1.Lifetime(this.ffi.QTS_NewRuntime(), undefined, (rt_ptr) => { - this.callbacks.deleteRuntime(rt_ptr); - this.ffi.QTS_FreeRuntime(rt_ptr); - }); - const runtime = new runtime_asyncify_1.QuickJSAsyncRuntime({ - module: this.module, - ffi: this.ffi, - rt, - callbacks: this.callbacks, - }); - (0, module_1.applyBaseRuntimeOptions)(runtime, options); - if (options.moduleLoader) { - runtime.setModuleLoader(options.moduleLoader); - } - return runtime; - } - /** - * A simplified API to create a new [[QuickJSRuntime]] and a - * [[QuickJSContext]] inside that runtime at the same time. The runtime will - * be disposed when the context is disposed. - */ - newContext(options = {}) { - const runtime = this.newRuntime(); - const lifetimes = options.ownedLifetimes ? options.ownedLifetimes.concat([runtime]) : [runtime]; - const context = runtime.newContext({ ...options, ownedLifetimes: lifetimes }); - runtime.context = context; - return context; - } - /** Synchronous evalCode is not supported. */ - evalCode() { - throw new errors_1.QuickJSNotImplemented("QuickJSWASMModuleAsyncify.evalCode: use evalCodeAsync instead"); - } - /** - * One-off evaluate code without needing to create a [[QuickJSRuntimeAsync]] or - * [[QuickJSContextSync]] explicitly. - * - * This version allows for asynchronous Ecmascript module loading. - * - * Note that only a single async action can occur at a time inside the entire WebAssembly module. - * **Multiple concurrent async actions is an error.** - * - * See the documentation for [[QuickJSWASMModule.evalCode]] for more details. - */ - evalCodeAsync(code, options) { - // TODO: we should really figure out generator for the Promise monad... - return lifetime_1.Scope.withScopeAsync(async (scope) => { - const vm = scope.manage(this.newContext()); - (0, module_1.applyModuleEvalRuntimeOptions)(vm.runtime, options); - const result = await vm.evalCodeAsync(code, "eval.js"); - if (options.memoryLimitBytes !== undefined) { - // Remove memory limit so we can dump the result without exceeding it. - vm.runtime.setMemoryLimit(-1); - } - if (result.error) { - const error = vm.dump(scope.manage(result.error)); - throw error; - } - const value = vm.dump(scope.manage(result.value)); - return value; - }); - } -} -exports.QuickJSAsyncWASMModule = QuickJSAsyncWASMModule; -//# sourceMappingURL=module-asyncify.js.map \ No newline at end of file diff --git a/node_modules/@tootallnate/quickjs-emscripten/dist/module-asyncify.js.map b/node_modules/@tootallnate/quickjs-emscripten/dist/module-asyncify.js.map deleted file mode 100644 index 54ec0f1..0000000 --- a/node_modules/@tootallnate/quickjs-emscripten/dist/module-async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AK,CAAA;QACd,CAAC,CAAC,CAAA;IACJ,CAAC;CACF;AAzFD,wDAyFC","sourcesContent":["import { QuickJSAsyncContext } from \"./context-asyncify\"\nimport { QuickJSAsyncEmscriptenModule } from \"./emscripten-types\"\nimport { QuickJSNotImplemented } from \"./errors\"\nimport { QuickJSAsyncFFI } from \"./variants\"\nimport { Lifetime, Scope } from \"./lifetime\"\nimport {\n applyBaseRuntimeOptions,\n applyModuleEvalRuntimeOptions,\n ModuleEvalOptions,\n QuickJSWASMModule,\n} from \"./module\"\nimport { QuickJSAsyncRuntime } from \"./runtime-asyncify\"\nimport { AsyncRuntimeOptions, ContextOptions, RuntimeOptions } from \"./types\"\n\n/**\n * Asyncified version of [[QuickJSWASMModule]].\n *\n * Due to limitations of Emscripten's ASYNCIFY process, only a single async\n * function call can happen at a time across the entire WebAssembly module.\n *\n * That means that all runtimes, contexts, functions, etc created inside this\n * WebAssembly are limited to a single concurrent async action.\n * **Multiple concurrent async actions is an error.**\n *\n * To allow for multiple concurrent async actions, you must create multiple WebAssembly\n * modules.\n */\nexport class QuickJSAsyncWASMModule extends QuickJSWASMModule {\n /** @private */\n protected ffi: QuickJSAsyncFFI\n /** @private */\n protected module: QuickJSAsyncEmscriptenModule\n\n /** @private */\n constructor(module: QuickJSAsyncEmscriptenModule, ffi: QuickJSAsyncFFI) {\n super(module, ffi)\n this.ffi = ffi\n this.module = module\n }\n\n /**\n * Create a new async runtime inside this WebAssembly module. All runtimes inside a\n * module are limited to a single async call at a time. For multiple\n * concurrent async actions, create multiple WebAssembly modules.\n */\n override newRuntime(options: AsyncRuntimeOptions = {}): QuickJSAsyncRuntime {\n const rt = new Lifetime(this.ffi.QTS_NewRuntime(), undefined, (rt_ptr) => {\n this.callbacks.deleteRuntime(rt_ptr)\n this.ffi.QTS_FreeRuntime(rt_ptr)\n })\n const runtime = new QuickJSAsyncRuntime({\n module: this.module,\n ffi: this.ffi,\n rt,\n callbacks: this.callbacks,\n })\n\n applyBaseRuntimeOptions(runtime, options)\n\n if (options.moduleLoader) {\n runtime.setModuleLoader(options.moduleLoader)\n }\n\n return runtime\n }\n\n /**\n * A simplified API to create a new [[QuickJSRuntime]] and a\n * [[QuickJSContext]] inside that runtime at the same time. The runtime will\n * be disposed when the context is disposed.\n */\n override newContext(options: ContextOptions = {}): QuickJSAsyncContext {\n const runtime = this.newRuntime()\n const lifetimes = options.ownedLifetimes ? options.ownedLifetimes.concat([runtime]) : [runtime]\n const context = runtime.newContext({ ...options, ownedLifetimes: lifetimes })\n runtime.context = context\n return context\n }\n\n /** Synchronous evalCode is not supported. */\n override evalCode(): never {\n throw new QuickJSNotImplemented(\"QuickJSWASMModuleAsyncify.evalCode: use evalCodeAsync instead\")\n }\n\n /**\n * One-off evaluate code without needing to create a [[QuickJSRuntimeAsync]] or\n * [[QuickJSContextSync]] explicitly.\n *\n * This version allows for asynchronous Ecmascript module loading.\n *\n * Note that only a single async action can occur at a time inside the entire WebAssembly module.\n * **Multiple concurrent async actions is an error.**\n *\n * See the documentation for [[QuickJSWASMModule.evalCode]] for more details.\n */\n evalCodeAsync(code: string, options: ModuleEvalOptions): Promise {\n // TODO: we should really figure out generator for the Promise monad...\n return Scope.withScopeAsync(async (scope) => {\n const vm = scope.manage(this.newContext())\n applyModuleEvalRuntimeOptions(vm.runtime, options)\n const result = await vm.evalCodeAsync(code, \"eval.js\")\n\n if (options.memoryLimitBytes !== undefined) {\n // Remove memory limit so we can dump the result without exceeding it.\n vm.runtime.setMemoryLimit(-1)\n }\n\n if (result.error) {\n const error = vm.dump(scope.manage(result.error))\n throw error\n }\n\n const value = vm.dump(scope.manage(result.value))\n return value\n })\n }\n}\n"]} \ No newline at end of file diff --git a/node_modules/@tootallnate/quickjs-emscripten/dist/module-test.d.ts b/node_modules/@tootallnate/quickjs-emscripten/dist/module-test.d.ts deleted file mode 100644 index c71f0b0..0000000 --- a/node_modules/@tootallnate/quickjs-emscripten/dist/module-test.d.ts +++ /dev/null @@ -1,27 +0,0 @@ -import type { QuickJSContext } from "./context"; -import type { ModuleEvalOptions, QuickJSWASMModule } from "./module"; -import type { QuickJSRuntime } from "./runtime"; -import type { ContextOptions, RuntimeOptions } from "./types"; -/** - * A test wrapper of [[QuickJSWASMModule]] that keeps a reference to each - * context or runtime created. - * - * Call [[disposeAll]] to reset these sets and calls `dispose` on any left alive - * (which may throw an error). - * - * Call [[assertNoMemoryAllocated]] at the end of a test, when you expect that you've - * freed all the memory you've ever allocated. - */ -export declare class TestQuickJSWASMModule implements Pick { - private parent; - contexts: Set; - runtimes: Set; - constructor(parent: QuickJSWASMModule); - newRuntime(options?: RuntimeOptions): QuickJSRuntime; - newContext(options?: ContextOptions): QuickJSContext; - evalCode(code: string, options?: ModuleEvalOptions): unknown; - disposeAll(): void; - assertNoMemoryAllocated(): void; - /** @private */ - getFFI(): any; -} diff --git a/node_modules/@tootallnate/quickjs-emscripten/dist/module-test.js b/node_modules/@tootallnate/quickjs-emscripten/dist/module-test.js deleted file mode 100644 index c6794a7..0000000 --- a/node_modules/@tootallnate/quickjs-emscripten/dist/module-test.js +++ /dev/null @@ -1,77 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.TestQuickJSWASMModule = void 0; -const errors_1 = require("./errors"); -const lifetime_1 = require("./lifetime"); -/** - * A test wrapper of [[QuickJSWASMModule]] that keeps a reference to each - * context or runtime created. - * - * Call [[disposeAll]] to reset these sets and calls `dispose` on any left alive - * (which may throw an error). - * - * Call [[assertNoMemoryAllocated]] at the end of a test, when you expect that you've - * freed all the memory you've ever allocated. - */ -class TestQuickJSWASMModule { - constructor(parent) { - this.parent = parent; - this.contexts = new Set(); - this.runtimes = new Set(); - } - newRuntime(options) { - const runtime = this.parent.newRuntime({ - ...options, - ownedLifetimes: [ - new lifetime_1.Lifetime(undefined, undefined, () => this.runtimes.delete(runtime)), - ...(options?.ownedLifetimes ?? []), - ], - }); - this.runtimes.add(runtime); - return runtime; - } - newContext(options) { - const context = this.parent.newContext({ - ...options, - ownedLifetimes: [ - new lifetime_1.Lifetime(undefined, undefined, () => this.contexts.delete(context)), - ...(options?.ownedLifetimes ?? []), - ], - }); - this.contexts.add(context); - return context; - } - evalCode(code, options) { - return this.parent.evalCode(code, options); - } - disposeAll() { - const allDisposables = [...this.contexts, ...this.runtimes]; - this.runtimes.clear(); - this.contexts.clear(); - allDisposables.forEach((d) => { - if (d.alive) { - d.dispose(); - } - }); - } - assertNoMemoryAllocated() { - const leaksDetected = this.getFFI().QTS_RecoverableLeakCheck(); - if (leaksDetected) { - // Note: this is currently only available when building from source - // with debug builds. - throw new errors_1.QuickJSMemoryLeakDetected("Leak sanitizer detected un-freed memory"); - } - if (this.contexts.size > 0) { - throw new errors_1.QuickJSMemoryLeakDetected(`${this.contexts.size} contexts leaked`); - } - if (this.runtimes.size > 0) { - throw new errors_1.QuickJSMemoryLeakDetected(`${this.runtimes.size} runtimes leaked`); - } - } - /** @private */ - getFFI() { - return this.parent.getFFI(); - } -} -exports.TestQuickJSWASMModule = TestQuickJSWASMModule; -//# sourceMappingURL=module-test.js.map \ No newline at end of file diff --git a/node_modules/@tootallnate/quickjs-emscripten/dist/module-test.js.map b/node_modules/@tootallnate/quickjs-emscripten/dist/module-test.js.map deleted file mode 100644 index 0fc53ff..0000000 --- a/node_modules/@tootallnate/quickjs-emscripten/dist/module-test.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"module-test.js","sourceRoot":"","sources":["../ts/module-test.ts"],"names":[],"mappings":";;;AAIA,qCAAoD;AACpD,yCAAqC;AAErC;;;;;;;;;GASG;AACH,MAAa,qBAAqB;IAGhC,YAAoB,MAAyB;QAAzB,WAAM,GAAN,MAAM,CAAmB;QAF7C,aAAQ,GAAG,IAAI,GAAG,EAAkB,CAAA;QACpC,aAAQ,GAAG,IAAI,GAAG,EAAkB,CAAA;IACY,CAAC;IAEjD,UAAU,CAAC,OAAwB;QACjC,MAAM,OAAO,GAAG,IAAI,CAAC,MAAM,CAAC,UAAU,CAAC;Y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C,CAAC,CAAA;IACJ,CAAC;IAED,uBAAuB;QACrB,MAAM,aAAa,GAAG,IAAI,CAAC,MAAM,EAAE,CAAC,wBAAwB,EAAE,CAAA;QAC9D,IAAI,aAAa,EAAE;YACjB,mEAAmE;YACnE,qBAAqB;YACrB,MAAM,IAAI,kCAAyB,CAAC,yCAAyC,CAAC,CAAA;SAC/E;QAED,IAAI,IAAI,CAAC,QAAQ,CAAC,IAAI,GAAG,CAAC,EAAE;YAC1B,MAAM,IAAI,kCAAyB,CAAC,GAAG,IAAI,CAAC,QAAQ,CAAC,IAAI,kBAAkB,CAAC,CAAA;SAC7E;QAED,IAAI,IAAI,CAAC,QAAQ,CAAC,IAAI,GAAG,CAAC,EAAE;YAC1B,MAAM,IAAI,kCAAyB,CAAC,GAAG,IAAI,CAAC,QAAQ,CAAC,IAAI,kBAAkB,CAAC,CAAA;SAC7E;IACH,CAAC;IAED,eAAe;IACf,MAAM;QACJ,OAAO,IAAI,CAAC,MAAM,CAAC,MAAM,EAAE,CAAA;IAC7B,CAAC;CACF;AAjED,sDAiEC","sourcesContent":["import type { QuickJSContext } from \"./context\"\nimport type { ModuleEvalOptions, QuickJSWASMModule } from \"./module\"\nimport type { QuickJSRuntime } from \"./runtime\"\nimport type { ContextOptions, RuntimeOptions } from \"./types\"\nimport { QuickJSMemoryLeakDetected } from \"./errors\"\nimport { Lifetime } from \"./lifetime\"\n\n/**\n * A test wrapper of [[QuickJSWASMModule]] that keeps a reference to each\n * context or runtime created.\n *\n * Call [[disposeAll]] to reset these sets and calls `dispose` on any left alive\n * (which may throw an error).\n *\n * Call [[assertNoMemoryAllocated]] at the end of a test, when you expect that you've\n * freed all the memory you've ever allocated.\n */\nexport class TestQuickJSWASMModule implements Pick {\n contexts = new Set()\n runtimes = new Set()\n constructor(private parent: QuickJSWASMModule) {}\n\n newRuntime(options?: RuntimeOptions): QuickJSRuntime {\n const runtime = this.parent.newRuntime({\n ...options,\n ownedLifetimes: [\n new Lifetime(undefined, undefined, () => this.runtimes.delete(runtime)),\n ...(options?.ownedLifetimes ?? []),\n ],\n })\n this.runtimes.add(runtime)\n return runtime\n }\n\n newContext(options?: ContextOptions): QuickJSContext {\n const context = this.parent.newContext({\n ...options,\n ownedLifetimes: [\n new Lifetime(undefined, undefined, () => this.contexts.delete(context)),\n ...(options?.ownedLifetimes ?? []),\n ],\n })\n this.contexts.add(context)\n return context\n }\n\n evalCode(code: string, options?: ModuleEvalOptions): unknown {\n return this.parent.evalCode(code, options)\n }\n\n disposeAll() {\n const allDisposables = [...this.contexts, ...this.runtimes]\n this.runtimes.clear()\n this.contexts.clear()\n allDisposables.forEach((d) => {\n if (d.alive) {\n d.dispose()\n }\n })\n }\n\n assertNoMemoryAllocated() {\n const leaksDetected = this.getFFI().QTS_RecoverableLeakCheck()\n if (leaksDetected) {\n // Note: this is currently only available when building from source\n // with debug builds.\n throw new QuickJSMemoryLeakDetected(\"Leak sanitizer detected un-freed memory\")\n }\n\n if (this.contexts.size > 0) {\n throw new QuickJSMemoryLeakDetected(`${this.contexts.size} contexts leaked`)\n }\n\n if (this.runtimes.size > 0) {\n throw new QuickJSMemoryLeakDetected(`${this.runtimes.size} runtimes leaked`)\n }\n }\n\n /** @private */\n getFFI() {\n return this.parent.getFFI()\n }\n}\n"]} \ No newline at end of file diff --git a/node_modules/@tootallnate/quickjs-emscripten/dist/module.d.ts b/node_modules/@tootallnate/quickjs-emscripten/dist/module.d.ts deleted file mode 100644 index 0279ef4..0000000 --- a/node_modules/@tootallnate/quickjs-emscripten/dist/module.d.ts +++ /dev/null @@ -1,152 +0,0 @@ -import { QuickJSContext } from "./context"; -import { Asyncify, AsyncifySleepResult, EitherModule, EmscriptenModuleCallbacks } from "./emscripten-types"; -import { JSContextPointer, JSRuntimePointer } from "./types-ffi"; -import { InterruptHandler, QuickJSRuntime } from "./runtime"; -import { ContextOptions, EitherFFI, JSModuleLoader, RuntimeOptions, RuntimeOptionsBase } from "./types"; -type EmscriptenCallback = (...args: [Asyncify | undefined, ...BaseArgs]) => Result | AsyncifySleepResult; -type MaybeAsyncEmscriptenCallback> = T extends EmscriptenCallback ? (...args: Args) => Result | Promise : never; -type MaybeAsyncEmscriptenCallbacks = { - [K in keyof EmscriptenModuleCallbacks]: MaybeAsyncEmscriptenCallback; -}; -/** - * @private - */ -export interface ContextCallbacks { - callFunction: MaybeAsyncEmscriptenCallbacks["callFunction"]; -} -/** - * @private - */ -export interface RuntimeCallbacks { - shouldInterrupt: MaybeAsyncEmscriptenCallbacks["shouldInterrupt"]; - loadModuleSource: MaybeAsyncEmscriptenCallbacks["loadModuleSource"]; - normalizeModule: MaybeAsyncEmscriptenCallbacks["normalizeModule"]; -} -/** - * Options for [[QuickJSWASMModule.evalCode]]. - */ -export interface ModuleEvalOptions { - /** - * Interrupt evaluation if `shouldInterrupt` returns `true`. - * See [[shouldInterruptAfterDeadline]]. - */ - shouldInterrupt?: InterruptHandler; - /** - * Memory limit, in bytes, of WebAssembly heap memory used by the QuickJS VM. - */ - memoryLimitBytes?: number; - /** - * Stack size limit for this vm, in bytes - * To remove the limit, set to `0`. - */ - maxStackSizeBytes?: number; - /** - * Module loader for any `import` statements or expressions. - */ - moduleLoader?: JSModuleLoader; -} -/** - * We use static functions per module to dispatch runtime or context calls from - * C to the host. This class manages the indirection from a specific runtime or - * context pointer to the appropriate callback handler. - * - * @private - */ -export declare class QuickJSModuleCallbacks { - private module; - private contextCallbacks; - private runtimeCallbacks; - constructor(module: EitherModule); - setRuntimeCallbacks(rt: JSRuntimePointer, callbacks: RuntimeCallbacks): void; - deleteRuntime(rt: JSRuntimePointer): void; - setContextCallbacks(ctx: JSContextPointer, callbacks: ContextCallbacks): void; - deleteContext(ctx: JSContextPointer): void; - private suspendedCount; - private suspended; - private handleAsyncify; - private cToHostCallbacks; -} -/** - * Process RuntimeOptions and apply them to a QuickJSRuntime. - * @private - */ -export declare function applyBaseRuntimeOptions(runtime: QuickJSRuntime, options: RuntimeOptionsBase): void; -/** - * Process ModuleEvalOptions and apply them to a QuickJSRuntime. - * @private - */ -export declare function applyModuleEvalRuntimeOptions(runtime: T, options: ModuleEvalOptions): void; -/** - * This class presents a Javascript interface to QuickJS, a Javascript interpreter - * that supports EcmaScript 2020 (ES2020). - * - * It wraps a single WebAssembly module containing the QuickJS library and - * associated helper C code. WebAssembly modules are completely isolated from - * each other by the host's WebAssembly runtime. Separate WebAssembly modules - * have the most isolation guarantees possible with this library. - * - * The simplest way to start running code is {@link evalCode}. This shortcut - * method will evaluate Javascript safely and return the result as a native - * Javascript value. - * - * For more control over the execution environment, or to interact with values - * inside QuickJS, create a context with {@link newContext} or a runtime with - * {@link newRuntime}. - */ -export declare class QuickJSWASMModule { - /** @private */ - protected ffi: EitherFFI; - /** @private */ - protected callbacks: QuickJSModuleCallbacks; - /** @private */ - protected module: EitherModule; - /** @private */ - constructor(module: EitherModule, ffi: EitherFFI); - /** - * Create a runtime. - * Use the runtime to set limits on CPU and memory usage and configure module - * loading for one or more [[QuickJSContext]]s inside the runtime. - */ - newRuntime(options?: RuntimeOptions): QuickJSRuntime; - /** - * A simplified API to create a new [[QuickJSRuntime]] and a - * [[QuickJSContext]] inside that runtime at the same time. The runtime will - * be disposed when the context is disposed. - */ - newContext(options?: ContextOptions): QuickJSContext; - /** - * One-off evaluate code without needing to create a [[QuickJSRuntime]] or - * [[QuickJSContext]] explicitly. - * - * To protect against infinite loops, use the `shouldInterrupt` option. The - * [[shouldInterruptAfterDeadline]] function will create a time-based deadline. - * - * If you need more control over how the code executes, create a - * [[QuickJSRuntime]] (with [[newRuntime]]) or a [[QuickJSContext]] (with - * [[newContext]] or [[QuickJSRuntime.newContext]]), and use its - * [[QuickJSContext.evalCode]] method. - * - * Asynchronous callbacks may not run during the first call to `evalCode`. If - * you need to work with async code inside QuickJS, create a runtime and use - * [[QuickJSRuntime.executePendingJobs]]. - * - * @returns The result is coerced to a native Javascript value using JSON - * serialization, so properties and values unsupported by JSON will be dropped. - * - * @throws If `code` throws during evaluation, the exception will be - * converted into a native Javascript value and thrown. - * - * @throws if `options.shouldInterrupt` interrupted execution, will throw a Error - * with name `"InternalError"` and message `"interrupted"`. - */ - evalCode(code: string, options?: ModuleEvalOptions): unknown; - /** - * Get a low-level interface to the QuickJS functions in this WebAssembly - * module. - * @experimental - * @unstable No warranty is provided with this API. It could change at any time. - * @private - */ - getFFI(): EitherFFI; -} -export {}; diff --git a/node_modules/@tootallnate/quickjs-emscripten/dist/module.js b/node_modules/@tootallnate/quickjs-emscripten/dist/module.js deleted file mode 100644 index 1336c77..0000000 --- a/node_modules/@tootallnate/quickjs-emscripten/dist/module.js +++ /dev/null @@ -1,302 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.QuickJSWASMModule = exports.applyModuleEvalRuntimeOptions = exports.applyBaseRuntimeOptions = exports.QuickJSModuleCallbacks = void 0; -const debug_1 = require("./debug"); -const errors_1 = require("./errors"); -const lifetime_1 = require("./lifetime"); -const runtime_1 = require("./runtime"); -const types_1 = require("./types"); -class QuickJSEmscriptenModuleCallbacks { - constructor(args) { - this.callFunction = args.callFunction; - this.shouldInterrupt = args.shouldInterrupt; - this.loadModuleSource = args.loadModuleSource; - this.normalizeModule = args.normalizeModule; - } -} -/** - * We use static functions per module to dispatch runtime or context calls from - * C to the host. This class manages the indirection from a specific runtime or - * context pointer to the appropriate callback handler. - * - * @private - */ -class QuickJSModuleCallbacks { - constructor(module) { - this.contextCallbacks = new Map(); - this.runtimeCallbacks = new Map(); - this.suspendedCount = 0; - this.cToHostCallbacks = new QuickJSEmscriptenModuleCallbacks({ - callFunction: (asyncify, ctx, this_ptr, argc, argv, fn_id) => this.handleAsyncify(asyncify, () => { - try { - const vm = this.contextCallbacks.get(ctx); - if (!vm) { - throw new Error(`QuickJSContext(ctx = ${ctx}) not found for C function call "${fn_id}"`); - } - return vm.callFunction(ctx, this_ptr, argc, argv, fn_id); - } - catch (error) { - console.error("[C to host error: returning null]", error); - return 0; - } - }), - shouldInterrupt: (asyncify, rt) => this.handleAsyncify(asyncify, () => { - try { - const vm = this.runtimeCallbacks.get(rt); - if (!vm) { - throw new Error(`QuickJSRuntime(rt = ${rt}) not found for C interrupt`); - } - return vm.shouldInterrupt(rt); - } - catch (error) { - console.error("[C to host interrupt: returning error]", error); - return 1; - } - }), - loadModuleSource: (asyncify, rt, ctx, moduleName) => this.handleAsyncify(asyncify, () => { - try { - const runtimeCallbacks = this.runtimeCallbacks.get(rt); - if (!runtimeCallbacks) { - throw new Error(`QuickJSRuntime(rt = ${rt}) not found for C module loader`); - } - const loadModule = runtimeCallbacks.loadModuleSource; - if (!loadModule) { - throw new Error(`QuickJSRuntime(rt = ${rt}) does not support module loading`); - } - return loadModule(rt, ctx, moduleName); - } - catch (error) { - console.error("[C to host module loader error: returning null]", error); - return 0; - } - }), - normalizeModule: (asyncify, rt, ctx, moduleBaseName, moduleName) => this.handleAsyncify(asyncify, () => { - try { - const runtimeCallbacks = this.runtimeCallbacks.get(rt); - if (!runtimeCallbacks) { - throw new Error(`QuickJSRuntime(rt = ${rt}) not found for C module loader`); - } - const normalizeModule = runtimeCallbacks.normalizeModule; - if (!normalizeModule) { - throw new Error(`QuickJSRuntime(rt = ${rt}) does not support module loading`); - } - return normalizeModule(rt, ctx, moduleBaseName, moduleName); - } - catch (error) { - console.error("[C to host module loader error: returning null]", error); - return 0; - } - }), - }); - this.module = module; - this.module.callbacks = this.cToHostCallbacks; - } - setRuntimeCallbacks(rt, callbacks) { - this.runtimeCallbacks.set(rt, callbacks); - } - deleteRuntime(rt) { - this.runtimeCallbacks.delete(rt); - } - setContextCallbacks(ctx, callbacks) { - this.contextCallbacks.set(ctx, callbacks); - } - deleteContext(ctx) { - this.contextCallbacks.delete(ctx); - } - handleAsyncify(asyncify, fn) { - if (asyncify) { - // We must always call asyncify.handleSync around our function. - // This allows asyncify to resume suspended execution on the second call. - // Asyncify internally can detect sync behavior, and avoid suspending. - return asyncify.handleSleep((done) => { - try { - const result = fn(); - if (!(result instanceof Promise)) { - (0, debug_1.debugLog)("asyncify.handleSleep: not suspending:", result); - done(result); - return; - } - // Is promise, we intend to suspend. - if (this.suspended) { - throw new errors_1.QuickJSAsyncifyError(`Already suspended at: ${this.suspended.stack}\nAttempted to suspend at:`); - } - else { - this.suspended = new errors_1.QuickJSAsyncifySuspended(`(${this.suspendedCount++})`); - (0, debug_1.debugLog)("asyncify.handleSleep: suspending:", this.suspended); - } - result.then((resolvedResult) => { - this.suspended = undefined; - (0, debug_1.debugLog)("asyncify.handleSleep: resolved:", resolvedResult); - done(resolvedResult); - }, (error) => { - (0, debug_1.debugLog)("asyncify.handleSleep: rejected:", error); - console.error("QuickJS: cannot handle error in suspended function", error); - this.suspended = undefined; - }); - } - catch (error) { - (0, debug_1.debugLog)("asyncify.handleSleep: error:", error); - this.suspended = undefined; - throw error; - } - }); - } - // No asyncify - we should never return a promise. - const value = fn(); - if (value instanceof Promise) { - throw new Error("Promise return value not supported in non-asyncify context."); - } - return value; - } -} -exports.QuickJSModuleCallbacks = QuickJSModuleCallbacks; -/** - * Process RuntimeOptions and apply them to a QuickJSRuntime. - * @private - */ -function applyBaseRuntimeOptions(runtime, options) { - if (options.interruptHandler) { - runtime.setInterruptHandler(options.interruptHandler); - } - if (options.maxStackSizeBytes !== undefined) { - runtime.setMaxStackSize(options.maxStackSizeBytes); - } - if (options.memoryLimitBytes !== undefined) { - runtime.setMemoryLimit(options.memoryLimitBytes); - } -} -exports.applyBaseRuntimeOptions = applyBaseRuntimeOptions; -/** - * Process ModuleEvalOptions and apply them to a QuickJSRuntime. - * @private - */ -function applyModuleEvalRuntimeOptions(runtime, options) { - if (options.moduleLoader) { - runtime.setModuleLoader(options.moduleLoader); - } - if (options.shouldInterrupt) { - runtime.setInterruptHandler(options.shouldInterrupt); - } - if (options.memoryLimitBytes !== undefined) { - runtime.setMemoryLimit(options.memoryLimitBytes); - } - if (options.maxStackSizeBytes !== undefined) { - runtime.setMaxStackSize(options.maxStackSizeBytes); - } -} -exports.applyModuleEvalRuntimeOptions = applyModuleEvalRuntimeOptions; -/** - * This class presents a Javascript interface to QuickJS, a Javascript interpreter - * that supports EcmaScript 2020 (ES2020). - * - * It wraps a single WebAssembly module containing the QuickJS library and - * associated helper C code. WebAssembly modules are completely isolated from - * each other by the host's WebAssembly runtime. Separate WebAssembly modules - * have the most isolation guarantees possible with this library. - * - * The simplest way to start running code is {@link evalCode}. This shortcut - * method will evaluate Javascript safely and return the result as a native - * Javascript value. - * - * For more control over the execution environment, or to interact with values - * inside QuickJS, create a context with {@link newContext} or a runtime with - * {@link newRuntime}. - */ -class QuickJSWASMModule { - /** @private */ - constructor(module, ffi) { - this.module = module; - this.ffi = ffi; - this.callbacks = new QuickJSModuleCallbacks(module); - } - /** - * Create a runtime. - * Use the runtime to set limits on CPU and memory usage and configure module - * loading for one or more [[QuickJSContext]]s inside the runtime. - */ - newRuntime(options = {}) { - const rt = new lifetime_1.Lifetime(this.ffi.QTS_NewRuntime(), undefined, (rt_ptr) => { - this.callbacks.deleteRuntime(rt_ptr); - this.ffi.QTS_FreeRuntime(rt_ptr); - }); - const runtime = new runtime_1.QuickJSRuntime({ - module: this.module, - callbacks: this.callbacks, - ffi: this.ffi, - rt, - }); - applyBaseRuntimeOptions(runtime, options); - if (options.moduleLoader) { - runtime.setModuleLoader(options.moduleLoader); - } - return runtime; - } - /** - * A simplified API to create a new [[QuickJSRuntime]] and a - * [[QuickJSContext]] inside that runtime at the same time. The runtime will - * be disposed when the context is disposed. - */ - newContext(options = {}) { - const runtime = this.newRuntime(); - const context = runtime.newContext({ - ...options, - ownedLifetimes: (0, types_1.concat)(runtime, options.ownedLifetimes), - }); - runtime.context = context; - return context; - } - /** - * One-off evaluate code without needing to create a [[QuickJSRuntime]] or - * [[QuickJSContext]] explicitly. - * - * To protect against infinite loops, use the `shouldInterrupt` option. The - * [[shouldInterruptAfterDeadline]] function will create a time-based deadline. - * - * If you need more control over how the code executes, create a - * [[QuickJSRuntime]] (with [[newRuntime]]) or a [[QuickJSContext]] (with - * [[newContext]] or [[QuickJSRuntime.newContext]]), and use its - * [[QuickJSContext.evalCode]] method. - * - * Asynchronous callbacks may not run during the first call to `evalCode`. If - * you need to work with async code inside QuickJS, create a runtime and use - * [[QuickJSRuntime.executePendingJobs]]. - * - * @returns The result is coerced to a native Javascript value using JSON - * serialization, so properties and values unsupported by JSON will be dropped. - * - * @throws If `code` throws during evaluation, the exception will be - * converted into a native Javascript value and thrown. - * - * @throws if `options.shouldInterrupt` interrupted execution, will throw a Error - * with name `"InternalError"` and message `"interrupted"`. - */ - evalCode(code, options = {}) { - return lifetime_1.Scope.withScope((scope) => { - const vm = scope.manage(this.newContext()); - applyModuleEvalRuntimeOptions(vm.runtime, options); - const result = vm.evalCode(code, "eval.js"); - if (options.memoryLimitBytes !== undefined) { - // Remove memory limit so we can dump the result without exceeding it. - vm.runtime.setMemoryLimit(-1); - } - if (result.error) { - const error = vm.dump(scope.manage(result.error)); - throw error; - } - const value = vm.dump(scope.manage(result.value)); - return value; - }); - } - /** - * Get a low-level interface to the QuickJS functions in this WebAssembly - * module. - * @experimental - * @unstable No warranty is provided with this API. It could change at any time. - * @private - */ - getFFI() { - return this.ffi; - } -} -exports.QuickJSWASMModule = QuickJSWASMModule; -//# sourceMappingURL=module.js.map \ No newline at end of file diff --git a/node_modules/@tootallnate/quickjs-emscripten/dist/module.js.map b/node_modules/@tootallnate/quickjs-emscripten/dist/module.js.map deleted file mode 100644 index e562d12..0000000 --- a/node_modules/@tootallnate/quickjs-emscripten/dist/module.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"module.js","sourceRoot":"","sources":["../ts/module.ts"],"names":[],"mappings":";;;AACA,mCAAkC;AAOlC,qCAAyE;AAOzE,yCAA4C;AAC5C,uCAA4D;AAC5D,mCAQgB;AA6BhB,MAAM,gCAAgC;IAKpC,YAAY,IAA+B;QACzC,IAAI,CAAC,YAAY,GAAG,IAAI,CAAC,YAAY,CAAA;QACrC,IAAI,CAAC,eAAe,GAAG,IAAI,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;;OAwBG;IACH,QAAQ,CAAC,IAAY,EAAE,UAA6B,EAAE;QACpD,OAAO,gBAAK,CAAC,SAAS,CAAC,CAAC,KAAK,EAAE,EAAE;YAC/B,MAAM,EAAE,GAAG,KAAK,CAAC,MAAM,CAAC,IAAI,CAAC,UAAU,EAAE,CAAC,CAAA;YAE1C,6BAA6B,CAAC,EAAE,CAAC,OAAO,EAAE,OAAO,CAAC,CAAA;YAClD,MAAM,MAAM,GAAG,EAAE,CAAC,QAAQ,CAAC,IAAI,EAAE,SAAS,CAAC,CAAA;YAE3C,IAAI,OAAO,CAAC,gBAAgB,KAAK,SAAS,EAAE;gBAC1C,sEAAsE;gBACtE,EAAE,CAAC,OAAO,CAAC,cAAc,CAAC,CAAC,CAAC,CAAC,CAAA;aAC9B;YAED,IAAI,MAAM,CAAC,KAAK,EAAE;gBAChB,MAAM,KAAK,GAAG,EAAE,CAAC,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAA;gBACjD,MAAM,KAAK,CAAA;aACZ;YAED,MAAM,KAAK,GAAG,EAAE,CAAC,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAA;YACjD,OAAO,KAAK,CAAA;QACd,CAAC,CAAC,CAAA;IACJ,CAAC;IAED;;;;;;OAMG;IACH,MAAM;QACJ,OAAO,IAAI,CAAC,GAAG,CAAA;IACjB,CAAC;CACF;AAlHD,8CAkHC","sourcesContent":["import { QuickJSContext } from \"./context\"\nimport { debugLog } from \"./debug\"\nimport {\n Asyncify,\n AsyncifySleepResult,\n EitherModule,\n EmscriptenModuleCallbacks,\n} from \"./emscripten-types\"\nimport { QuickJSAsyncifyError, QuickJSAsyncifySuspended } from \"./errors\"\nimport {\n BorrowedHeapCharPointer,\n JSContextPointer,\n JSRuntimePointer,\n JSValuePointer,\n} from \"./types-ffi\"\nimport { Lifetime, Scope } from \"./lifetime\"\nimport { InterruptHandler, QuickJSRuntime } from \"./runtime\"\nimport {\n AsyncRuntimeOptions,\n concat,\n ContextOptions,\n EitherFFI,\n JSModuleLoader,\n RuntimeOptions,\n RuntimeOptionsBase,\n} from \"./types\"\n\ntype EmscriptenCallback = (\n ...args: [Asyncify | undefined, ...BaseArgs]\n) => Result | AsyncifySleepResult\ntype MaybeAsyncEmscriptenCallback> =\n T extends EmscriptenCallback\n ? (...args: Args) => Result | Promise\n : never\ntype MaybeAsyncEmscriptenCallbacks = {\n [K in keyof EmscriptenModuleCallbacks]: MaybeAsyncEmscriptenCallback\n}\n\n/**\n * @private\n */\nexport interface ContextCallbacks {\n callFunction: MaybeAsyncEmscriptenCallbacks[\"callFunction\"]\n}\n\n/**\n * @private\n */\nexport interface RuntimeCallbacks {\n shouldInterrupt: MaybeAsyncEmscriptenCallbacks[\"shouldInterrupt\"]\n loadModuleSource: MaybeAsyncEmscriptenCallbacks[\"loadModuleSource\"]\n normalizeModule: MaybeAsyncEmscriptenCallbacks[\"normalizeModule\"]\n}\n\nclass QuickJSEmscriptenModuleCallbacks implements EmscriptenModuleCallbacks {\n public callFunction: EmscriptenModuleCallbacks[\"callFunction\"]\n public shouldInterrupt: EmscriptenModuleCallbacks[\"shouldInterrupt\"]\n public loadModuleSource: EmscriptenModuleCallbacks[\"loadModuleSource\"]\n public normalizeModule: EmscriptenModuleCallbacks[\"normalizeModule\"]\n constructor(args: EmscriptenModuleCallbacks) {\n this.callFunction = args.callFunction\n this.shouldInterrupt = args.shouldInterrupt\n this.loadModuleSource = args.loadModuleSource\n this.normalizeModule = args.normalizeModule\n }\n}\n\n/**\n * Options for [[QuickJSWASMModule.evalCode]].\n */\nexport interface ModuleEvalOptions {\n /**\n * Interrupt evaluation if `shouldInterrupt` returns `true`.\n * See [[shouldInterruptAfterDeadline]].\n */\n shouldInterrupt?: InterruptHandler\n\n /**\n * Memory limit, in bytes, of WebAssembly heap memory used by the QuickJS VM.\n */\n memoryLimitBytes?: number\n\n /**\n * Stack size limit for this vm, in bytes\n * To remove the limit, set to `0`.\n */\n maxStackSizeBytes?: number\n\n /**\n * Module loader for any `import` statements or expressions.\n */\n moduleLoader?: JSModuleLoader\n}\n\n/**\n * We use static functions per module to dispatch runtime or context calls from\n * C to the host. This class manages the indirection from a specific runtime or\n * context pointer to the appropriate callback handler.\n *\n * @private\n */\nexport class QuickJSModuleCallbacks {\n private module: EitherModule\n private contextCallbacks = new Map()\n private runtimeCallbacks = new Map()\n\n constructor(module: EitherModule) {\n this.module = module\n this.module.callbacks = this.cToHostCallbacks\n }\n\n setRuntimeCallbacks(rt: JSRuntimePointer, callbacks: RuntimeCallbacks) {\n this.runtimeCallbacks.set(rt, callbacks)\n }\n\n deleteRuntime(rt: JSRuntimePointer) {\n this.runtimeCallbacks.delete(rt)\n }\n\n setContextCallbacks(ctx: JSContextPointer, callbacks: ContextCallbacks) {\n this.contextCallbacks.set(ctx, callbacks)\n }\n\n deleteContext(ctx: JSContextPointer) {\n this.contextCallbacks.delete(ctx)\n }\n\n private suspendedCount = 0\n private suspended: QuickJSAsyncifySuspended | undefined\n\n private handleAsyncify(\n asyncify: Asyncify | undefined,\n fn: () => T | Promise\n ): T | AsyncifySleepResult {\n if (asyncify) {\n // We must always call asyncify.handleSync around our function.\n // This allows asyncify to resume suspended execution on the second call.\n // Asyncify internally can detect sync behavior, and avoid suspending.\n return asyncify.handleSleep((done) => {\n try {\n const result = fn()\n if (!(result instanceof Promise)) {\n debugLog(\"asyncify.handleSleep: not suspending:\", result)\n done(result)\n return\n }\n\n // Is promise, we intend to suspend.\n if (this.suspended) {\n throw new QuickJSAsyncifyError(\n `Already suspended at: ${this.suspended.stack}\\nAttempted to suspend at:`\n )\n } else {\n this.suspended = new QuickJSAsyncifySuspended(`(${this.suspendedCount++})`)\n debugLog(\"asyncify.handleSleep: suspending:\", this.suspended)\n }\n\n result.then(\n (resolvedResult) => {\n this.suspended = undefined\n debugLog(\"asyncify.handleSleep: resolved:\", resolvedResult)\n done(resolvedResult)\n },\n (error) => {\n debugLog(\"asyncify.handleSleep: rejected:\", error)\n console.error(\"QuickJS: cannot handle error in suspended function\", error)\n this.suspended = undefined\n }\n )\n } catch (error) {\n debugLog(\"asyncify.handleSleep: error:\", error)\n this.suspended = undefined\n throw error\n }\n })\n }\n\n // No asyncify - we should never return a promise.\n const value = fn()\n if (value instanceof Promise) {\n throw new Error(\"Promise return value not supported in non-asyncify context.\")\n }\n return value\n }\n\n private cToHostCallbacks = new QuickJSEmscriptenModuleCallbacks({\n callFunction: (asyncify, ctx, this_ptr, argc, argv, fn_id) =>\n this.handleAsyncify(asyncify, () => {\n try {\n const vm = this.contextCallbacks.get(ctx)\n if (!vm) {\n throw new Error(`QuickJSContext(ctx = ${ctx}) not found for C function call \"${fn_id}\"`)\n }\n return vm.callFunction(ctx, this_ptr, argc, argv, fn_id)\n } catch (error) {\n console.error(\"[C to host error: returning null]\", error)\n return 0 as JSValuePointer\n }\n }),\n\n shouldInterrupt: (asyncify, rt) =>\n this.handleAsyncify(asyncify, () => {\n try {\n const vm = this.runtimeCallbacks.get(rt)\n if (!vm) {\n throw new Error(`QuickJSRuntime(rt = ${rt}) not found for C interrupt`)\n }\n return vm.shouldInterrupt(rt)\n } catch (error) {\n console.error(\"[C to host interrupt: returning error]\", error)\n return 1\n }\n }),\n\n loadModuleSource: (asyncify, rt, ctx, moduleName) =>\n this.handleAsyncify(asyncify, () => {\n try {\n const runtimeCallbacks = this.runtimeCallbacks.get(rt)\n if (!runtimeCallbacks) {\n throw new Error(`QuickJSRuntime(rt = ${rt}) not found for C module loader`)\n }\n\n const loadModule = runtimeCallbacks.loadModuleSource\n if (!loadModule) {\n throw new Error(`QuickJSRuntime(rt = ${rt}) does not support module loading`)\n }\n return loadModule(rt, ctx, moduleName)\n } catch (error) {\n console.error(\"[C to host module loader error: returning null]\", error)\n return 0 as BorrowedHeapCharPointer\n }\n }),\n\n normalizeModule: (asyncify, rt, ctx, moduleBaseName, moduleName) =>\n this.handleAsyncify(asyncify, () => {\n try {\n const runtimeCallbacks = this.runtimeCallbacks.get(rt)\n if (!runtimeCallbacks) {\n throw new Error(`QuickJSRuntime(rt = ${rt}) not found for C module loader`)\n }\n\n const normalizeModule = runtimeCallbacks.normalizeModule\n if (!normalizeModule) {\n throw new Error(`QuickJSRuntime(rt = ${rt}) does not support module loading`)\n }\n return normalizeModule(rt, ctx, moduleBaseName, moduleName)\n } catch (error) {\n console.error(\"[C to host module loader error: returning null]\", error)\n return 0 as BorrowedHeapCharPointer\n }\n }),\n })\n}\n\n/**\n * Process RuntimeOptions and apply them to a QuickJSRuntime.\n * @private\n */\nexport function applyBaseRuntimeOptions(\n runtime: QuickJSRuntime,\n options: RuntimeOptionsBase\n): void {\n if (options.interruptHandler) {\n runtime.setInterruptHandler(options.interruptHandler)\n }\n\n if (options.maxStackSizeBytes !== undefined) {\n runtime.setMaxStackSize(options.maxStackSizeBytes)\n }\n\n if (options.memoryLimitBytes !== undefined) {\n runtime.setMemoryLimit(options.memoryLimitBytes)\n }\n}\n\n/**\n * Process ModuleEvalOptions and apply them to a QuickJSRuntime.\n * @private\n */\nexport function applyModuleEvalRuntimeOptions(\n runtime: T,\n options: ModuleEvalOptions\n) {\n if (options.moduleLoader) {\n runtime.setModuleLoader(options.moduleLoader)\n }\n\n if (options.shouldInterrupt) {\n runtime.setInterruptHandler(options.shouldInterrupt)\n }\n\n if (options.memoryLimitBytes !== undefined) {\n runtime.setMemoryLimit(options.memoryLimitBytes)\n }\n\n if (options.maxStackSizeBytes !== undefined) {\n runtime.setMaxStackSize(options.maxStackSizeBytes)\n }\n}\n\n/**\n * This class presents a Javascript interface to QuickJS, a Javascript interpreter\n * that supports EcmaScript 2020 (ES2020).\n *\n * It wraps a single WebAssembly module containing the QuickJS library and\n * associated helper C code. WebAssembly modules are completely isolated from\n * each other by the host's WebAssembly runtime. Separate WebAssembly modules\n * have the most isolation guarantees possible with this library.\n *\n * The simplest way to start running code is {@link evalCode}. This shortcut\n * method will evaluate Javascript safely and return the result as a native\n * Javascript value.\n *\n * For more control over the execution environment, or to interact with values\n * inside QuickJS, create a context with {@link newContext} or a runtime with\n * {@link newRuntime}.\n */\nexport class QuickJSWASMModule {\n /** @private */\n protected ffi: EitherFFI\n /** @private */\n protected callbacks: QuickJSModuleCallbacks\n /** @private */\n protected module: EitherModule\n\n /** @private */\n constructor(module: EitherModule, ffi: EitherFFI) {\n this.module = module\n this.ffi = ffi\n this.callbacks = new QuickJSModuleCallbacks(module)\n }\n\n /**\n * Create a runtime.\n * Use the runtime to set limits on CPU and memory usage and configure module\n * loading for one or more [[QuickJSContext]]s inside the runtime.\n */\n newRuntime(options: RuntimeOptions = {}): QuickJSRuntime {\n const rt = new Lifetime(this.ffi.QTS_NewRuntime(), undefined, (rt_ptr) => {\n this.callbacks.deleteRuntime(rt_ptr)\n this.ffi.QTS_FreeRuntime(rt_ptr)\n })\n\n const runtime = new QuickJSRuntime({\n module: this.module,\n callbacks: this.callbacks,\n ffi: this.ffi,\n rt,\n })\n\n applyBaseRuntimeOptions(runtime, options)\n\n if (options.moduleLoader) {\n runtime.setModuleLoader(options.moduleLoader)\n }\n\n return runtime\n }\n\n /**\n * A simplified API to create a new [[QuickJSRuntime]] and a\n * [[QuickJSContext]] inside that runtime at the same time. The runtime will\n * be disposed when the context is disposed.\n */\n newContext(options: ContextOptions = {}): QuickJSContext {\n const runtime = this.newRuntime()\n const context = runtime.newContext({\n ...options,\n ownedLifetimes: concat(runtime, options.ownedLifetimes),\n })\n runtime.context = context\n return context\n }\n\n /**\n * One-off evaluate code without needing to create a [[QuickJSRuntime]] or\n * [[QuickJSContext]] explicitly.\n *\n * To protect against infinite loops, use the `shouldInterrupt` option. The\n * [[shouldInterruptAfterDeadline]] function will create a time-based deadline.\n *\n * If you need more control over how the code executes, create a\n * [[QuickJSRuntime]] (with [[newRuntime]]) or a [[QuickJSContext]] (with\n * [[newContext]] or [[QuickJSRuntime.newContext]]), and use its\n * [[QuickJSContext.evalCode]] method.\n *\n * Asynchronous callbacks may not run during the first call to `evalCode`. If\n * you need to work with async code inside QuickJS, create a runtime and use\n * [[QuickJSRuntime.executePendingJobs]].\n *\n * @returns The result is coerced to a native Javascript value using JSON\n * serialization, so properties and values unsupported by JSON will be dropped.\n *\n * @throws If `code` throws during evaluation, the exception will be\n * converted into a native Javascript value and thrown.\n *\n * @throws if `options.shouldInterrupt` interrupted execution, will throw a Error\n * with name `\"InternalError\"` and message `\"interrupted\"`.\n */\n evalCode(code: string, options: ModuleEvalOptions = {}): unknown {\n return Scope.withScope((scope) => {\n const vm = scope.manage(this.newContext())\n\n applyModuleEvalRuntimeOptions(vm.runtime, options)\n const result = vm.evalCode(code, \"eval.js\")\n\n if (options.memoryLimitBytes !== undefined) {\n // Remove memory limit so we can dump the result without exceeding it.\n vm.runtime.setMemoryLimit(-1)\n }\n\n if (result.error) {\n const error = vm.dump(scope.manage(result.error))\n throw error\n }\n\n const value = vm.dump(scope.manage(result.value))\n return value\n })\n }\n\n /**\n * Get a low-level interface to the QuickJS functions in this WebAssembly\n * module.\n * @experimental\n * @unstable No warranty is provided with this API. It could change at any time.\n * @private\n */\n getFFI(): EitherFFI {\n return this.ffi\n }\n}\n"]} \ No newline at end of file diff --git a/node_modules/@tootallnate/quickjs-emscripten/dist/runtime-asyncify.d.ts b/node_modules/@tootallnate/quickjs-emscripten/dist/runtime-asyncify.d.ts deleted file mode 100644 index fe4bd28..0000000 --- a/node_modules/@tootallnate/quickjs-emscripten/dist/runtime-asyncify.d.ts +++ /dev/null @@ -1,38 +0,0 @@ -import { Lifetime } from "."; -import { QuickJSAsyncContext } from "./context-asyncify"; -import { QuickJSAsyncEmscriptenModule } from "./emscripten-types"; -import { QuickJSAsyncFFI } from "./variants"; -import { JSContextPointer, JSRuntimePointer } from "./types-ffi"; -import { QuickJSModuleCallbacks } from "./module"; -import { QuickJSRuntime } from "./runtime"; -import { ContextOptions, JSModuleLoaderAsync, JSModuleNormalizerAsync } from "./types"; -export declare class QuickJSAsyncRuntime extends QuickJSRuntime { - context: QuickJSAsyncContext | undefined; - /** @private */ - protected module: QuickJSAsyncEmscriptenModule; - /** @private */ - protected ffi: QuickJSAsyncFFI; - /** @private */ - protected rt: Lifetime; - /** @private */ - protected callbacks: QuickJSModuleCallbacks; - /** @private */ - protected contextMap: Map; - /** @private */ - constructor(args: { - module: QuickJSAsyncEmscriptenModule; - ffi: QuickJSAsyncFFI; - rt: Lifetime; - callbacks: QuickJSModuleCallbacks; - }); - newContext(options?: ContextOptions): QuickJSAsyncContext; - setModuleLoader(moduleLoader: JSModuleLoaderAsync, moduleNormalizer?: JSModuleNormalizerAsync): void; - /** - * Set the max stack size for this runtime in bytes. - * To remove the limit, set to `0`. - * - * Setting this limit also adjusts the global `ASYNCIFY_STACK_SIZE` for the entire {@link QuickJSAsyncWASMModule}. - * See the [pull request](https://github.com/justjake/quickjs-emscripten/pull/114) for more details. - */ - setMaxStackSize(stackSize: number): void; -} diff --git a/node_modules/@tootallnate/quickjs-emscripten/dist/runtime-asyncify.js b/node_modules/@tootallnate/quickjs-emscripten/dist/runtime-asyncify.js deleted file mode 100644 index d88ebc5..0000000 --- a/node_modules/@tootallnate/quickjs-emscripten/dist/runtime-asyncify.js +++ /dev/null @@ -1,49 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.QuickJSAsyncRuntime = void 0; -const _1 = require("."); -const context_asyncify_1 = require("./context-asyncify"); -const runtime_1 = require("./runtime"); -const types_1 = require("./types"); -class QuickJSAsyncRuntime extends runtime_1.QuickJSRuntime { - /** @private */ - constructor(args) { - super(args); - } - newContext(options = {}) { - if (options.intrinsics && options.intrinsics !== types_1.DefaultIntrinsics) { - throw new Error("TODO: Custom intrinsics are not supported yet"); - } - const ctx = new _1.Lifetime(this.ffi.QTS_NewContext(this.rt.value), undefined, (ctx_ptr) => { - this.contextMap.delete(ctx_ptr); - this.callbacks.deleteContext(ctx_ptr); - this.ffi.QTS_FreeContext(ctx_ptr); - }); - const context = new context_asyncify_1.QuickJSAsyncContext({ - module: this.module, - ctx, - ffi: this.ffi, - rt: this.rt, - ownedLifetimes: [], - runtime: this, - callbacks: this.callbacks, - }); - this.contextMap.set(ctx.value, context); - return context; - } - setModuleLoader(moduleLoader, moduleNormalizer) { - super.setModuleLoader(moduleLoader, moduleNormalizer); - } - /** - * Set the max stack size for this runtime in bytes. - * To remove the limit, set to `0`. - * - * Setting this limit also adjusts the global `ASYNCIFY_STACK_SIZE` for the entire {@link QuickJSAsyncWASMModule}. - * See the [pull request](https://github.com/justjake/quickjs-emscripten/pull/114) for more details. - */ - setMaxStackSize(stackSize) { - return super.setMaxStackSize(stackSize); - } -} -exports.QuickJSAsyncRuntime = QuickJSAsyncRuntime; -//# sourceMappingURL=runtime-asyncify.js.map \ No newline at end of file diff --git a/node_modules/@tootallnate/quickjs-emscripten/dist/runtime-asyncify.js.map b/node_modules/@tootallnate/quickjs-emscripten/dist/runtime-asyncify.js.map deleted file mode 100644 index e5b8837..0000000 --- a/node_modules/@tootallnate/quickjs-emscripten/dist/runtime-asyncify.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"runtime-asyncify.js","sourceRoot":"","sources":["../ts/runtime-asyncify.ts"],"names":[],"mappings":";;;AACA,wBAA4B;AAC5B,yDAAwD;AAKxD,uCAA0C;AAC1C,mCAOgB;AAEhB,MAAa,mBAAoB,SAAQ,wBAAc;IAcrD,eAAe;IACf,YAAY,IAKX;QACC,KAAK,CAAC,IAAI,CAAC,CAAA;IACb,CAAC;IAEQ,UAAU,CAAC,UAA0B,EAAE;QAC9C,IAAI,OAAO,CAAC,UAAU,IAAI,OAAO,CAAC,UAAU,KAAK,yBAAiB,EAAE;YAClE,MAAM,IAAI,KAAK,CAAC,+CAA+C,CAAC,CAAA;SACjE;QAED,MAAM,GAAG,GAAG,IAAI,WAAQ,CAAC,IAAI,CAAC,GAAG,CAAC,cAAc,CAAC,IAAI,CAAC,EAAE,CAAC,KAAK,CAAC,EAAE,SAAS,EAAE,CAAC,OAAO,EAAE,EAAE;YACtF,IAAI,CAAC,UAAU,CAAC,MAAM,CAAC,OAAO,CAAC,CAAA;YAC/B,IAAI,CAAC,SAAS,CAAC,aAAa,CAAC,OAAO,CAAC,CAAA;YACrC,IAAI,CAAC,GAAG,CAAC,eAAe,CAAC,OAAO,CAAC,CAAA;QACnC,CAAC,CAAC,CAAA;QAEF,MAAM,OAAO,GAAG,IAAI,sCAAmB,CAAC;YACtC,MAAM,EAAE,IAAI,CAAC,MAAM;YACnB,GAAG;YACH,GAAG,EAAE,IAAI,CAAC,GAAG;YACb,EAAE,EAAE,IAAI,CAAC,EAAE;YACX,cAAc,EAAE,EAAE;YAClB,OAAO,EAAE,IAAI;YACb,SAAS,EAAE,IAAI,CAAC,SAAS;SAC1B,CAAC,CAAA;QACF,IAAI,CAAC,UAAU,CAAC,GAAG,CAAC,GAAG,CAAC,KAAK,EAAE,OAAO,CAAC,CAAA;QAEvC,OAAO,OAAO,CAAA;IAChB,CAAC;IAEe,eAAe,CAC7B,YAAiC,EACjC,gBAA0C;QAE1C,KAAK,CAAC,eAAe,CACnB,YAA8B,EAC9B,gBAAkD,CACnD,CAAA;IACH,CAAC;IAED;;;;;;OAMG;IACa,eAAe,CAAC,SAAiB;QAC/C,OAAO,KAAK,CAAC,eAAe,CAAC,SAAS,CAAC,CAAA;IACzC,CAAC;CACF;AArED,kDAqEC","sourcesContent":["import type { QuickJSAsyncWASMModule } from \"./module-asyncify\"\nimport { Lifetime } from \".\"\nimport { QuickJSAsyncContext } from \"./context-asyncify\"\nimport { QuickJSAsyncEmscriptenModule } from \"./emscripten-types\"\nimport { QuickJSAsyncFFI } from \"./variants\"\nimport { JSContextPointer, JSRuntimePointer } from \"./types-ffi\"\nimport { QuickJSModuleCallbacks } from \"./module\"\nimport { QuickJSRuntime } from \"./runtime\"\nimport {\n ContextOptions,\n DefaultIntrinsics,\n JSModuleLoader,\n JSModuleLoaderAsync,\n JSModuleNormalizer,\n JSModuleNormalizerAsync,\n} from \"./types\"\n\nexport class QuickJSAsyncRuntime extends QuickJSRuntime {\n public context: QuickJSAsyncContext | undefined\n\n /** @private */\n protected declare module: QuickJSAsyncEmscriptenModule\n /** @private */\n protected declare ffi: QuickJSAsyncFFI\n /** @private */\n protected declare rt: Lifetime\n /** @private */\n protected declare callbacks: QuickJSModuleCallbacks\n /** @private */\n protected declare contextMap: Map\n\n /** @private */\n constructor(args: {\n module: QuickJSAsyncEmscriptenModule\n ffi: QuickJSAsyncFFI\n rt: Lifetime\n callbacks: QuickJSModuleCallbacks\n }) {\n super(args)\n }\n\n override newContext(options: ContextOptions = {}): QuickJSAsyncContext {\n if (options.intrinsics && options.intrinsics !== DefaultIntrinsics) {\n throw new Error(\"TODO: Custom intrinsics are not supported yet\")\n }\n\n const ctx = new Lifetime(this.ffi.QTS_NewContext(this.rt.value), undefined, (ctx_ptr) => {\n this.contextMap.delete(ctx_ptr)\n this.callbacks.deleteContext(ctx_ptr)\n this.ffi.QTS_FreeContext(ctx_ptr)\n })\n\n const context = new QuickJSAsyncContext({\n module: this.module,\n ctx,\n ffi: this.ffi,\n rt: this.rt,\n ownedLifetimes: [],\n runtime: this,\n callbacks: this.callbacks,\n })\n this.contextMap.set(ctx.value, context)\n\n return context\n }\n\n public override setModuleLoader(\n moduleLoader: JSModuleLoaderAsync,\n moduleNormalizer?: JSModuleNormalizerAsync\n ): void {\n super.setModuleLoader(\n moduleLoader as JSModuleLoader,\n moduleNormalizer as JSModuleNormalizer | undefined\n )\n }\n\n /**\n * Set the max stack size for this runtime in bytes.\n * To remove the limit, set to `0`.\n *\n * Setting this limit also adjusts the global `ASYNCIFY_STACK_SIZE` for the entire {@link QuickJSAsyncWASMModule}.\n * See the [pull request](https://github.com/justjake/quickjs-emscripten/pull/114) for more details.\n */\n public override setMaxStackSize(stackSize: number): void {\n return super.setMaxStackSize(stackSize)\n }\n}\n"]} \ No newline at end of file diff --git a/node_modules/@tootallnate/quickjs-emscripten/dist/runtime.d.ts b/node_modules/@tootallnate/quickjs-emscripten/dist/runtime.d.ts deleted file mode 100644 index 9878acb..0000000 --- a/node_modules/@tootallnate/quickjs-emscripten/dist/runtime.d.ts +++ /dev/null @@ -1,174 +0,0 @@ -import { QuickJSContext } from "./context"; -import { EitherModule } from "./emscripten-types"; -import { JSContextPointer, JSRuntimePointer } from "./types-ffi"; -import { Disposable, Lifetime, Scope } from "./lifetime"; -import { ModuleMemory } from "./memory"; -import { QuickJSModuleCallbacks } from "./module"; -import { ContextOptions, EitherFFI, JSModuleLoader, JSModuleNormalizer, QuickJSHandle } from "./types"; -import { SuccessOrFail } from "./vm-interface"; -/** - * Callback called regularly while the VM executes code. - * Determines if a VM's execution should be interrupted. - * - * @returns `true` to interrupt JS execution inside the VM. - * @returns `false` or `undefined` to continue JS execution inside the VM. - */ -export type InterruptHandler = (runtime: QuickJSRuntime) => boolean | undefined; -/** - * Used as an optional for the results of executing pendingJobs. - * On success, `value` contains the number of async jobs executed - * by the runtime. - * @source - */ -export type ExecutePendingJobsResult = SuccessOrFail< -/** Number of jobs successfully executed. */ -number, -/** The error that occurred. */ -QuickJSHandle & { - /** The context where the error occurred. */ - context: QuickJSContext; -}>; -/** - * A runtime represents a Javascript runtime corresponding to an object heap. - * Several runtimes can exist at the same time but they cannot exchange objects. - * Inside a given runtime, no multi-threading is supported. - * - * You can think of separate runtimes like different domains in a browser, and - * the contexts within a runtime like the different windows open to the same - * domain. - * - * Create a runtime via {@link QuickJSWASMModule.newRuntime}. - * - * You should create separate runtime instances for untrusted code from - * different sources for isolation. However, stronger isolation is also - * available (at the cost of memory usage), by creating separate WebAssembly - * modules to further isolate untrusted code. - * See {@link newQuickJSWASMModule}. - * - * Implement memory and CPU constraints with [[setInterruptHandler]] - * (called regularly while the interpreter runs), [[setMemoryLimit]], and - * [[setMaxStackSize]]. - * Use [[computeMemoryUsage]] or [[dumpMemoryUsage]] to guide memory limit - * tuning. - * - * Configure ES module loading with [[setModuleLoader]]. - */ -export declare class QuickJSRuntime implements Disposable { - /** - * If this runtime was created as as part of a context, points to the context - * associated with the runtime. - * - * If this runtime was created stand-alone, this may or may not contain a context. - * A context here may be allocated if one is needed by the runtime, eg for [[computeMemoryUsage]]. - */ - context: QuickJSContext | undefined; - /** @private */ - protected module: EitherModule; - /** @private */ - protected memory: ModuleMemory; - /** @private */ - protected ffi: EitherFFI; - /** @private */ - protected rt: Lifetime; - /** @private */ - protected callbacks: QuickJSModuleCallbacks; - /** @private */ - protected scope: Scope; - /** @private */ - protected contextMap: Map; - /** @private */ - protected moduleLoader: JSModuleLoader | undefined; - /** @private */ - protected moduleNormalizer: JSModuleNormalizer | undefined; - /** @private */ - constructor(args: { - module: EitherModule; - ffi: EitherFFI; - rt: Lifetime; - callbacks: QuickJSModuleCallbacks; - ownedLifetimes?: Disposable[]; - }); - get alive(): boolean; - dispose(): void; - newContext(options?: ContextOptions): QuickJSContext; - /** - * Set the loader for EcmaScript modules requested by any context in this - * runtime. - * - * The loader can be removed with [[removeModuleLoader]]. - */ - setModuleLoader(moduleLoader: JSModuleLoader, moduleNormalizer?: JSModuleNormalizer): void; - /** - * Remove the the loader set by [[setModuleLoader]]. This disables module loading. - */ - removeModuleLoader(): void; - /** - * In QuickJS, promises and async functions create pendingJobs. These do not execute - * immediately and need to be run by calling [[executePendingJobs]]. - * - * @return true if there is at least one pendingJob queued up. - */ - hasPendingJob(): boolean; - private interruptHandler; - /** - * Set a callback which is regularly called by the QuickJS engine when it is - * executing code. This callback can be used to implement an execution - * timeout. - * - * The interrupt handler can be removed with [[removeInterruptHandler]]. - */ - setInterruptHandler(cb: InterruptHandler): void; - /** - * Remove the interrupt handler, if any. - * See [[setInterruptHandler]]. - */ - removeInterruptHandler(): void; - /** - * Execute pendingJobs on the runtime until `maxJobsToExecute` jobs are - * executed (default all pendingJobs), the queue is exhausted, or the runtime - * encounters an exception. - * - * In QuickJS, promises and async functions *inside the runtime* create - * pendingJobs. These do not execute immediately and need to triggered to run. - * - * @param maxJobsToExecute - When negative, run all pending jobs. Otherwise execute - * at most `maxJobsToExecute` before returning. - * - * @return On success, the number of executed jobs. On error, the exception - * that stopped execution, and the context it occurred in. Note that - * executePendingJobs will not normally return errors thrown inside async - * functions or rejected promises. Those errors are available by calling - * [[resolvePromise]] on the promise handle returned by the async function. - */ - executePendingJobs(maxJobsToExecute?: number | void): ExecutePendingJobsResult; - /** - * Set the max memory this runtime can allocate. - * To remove the limit, set to `-1`. - */ - setMemoryLimit(limitBytes: number): void; - /** - * Compute memory usage for this runtime. Returns the result as a handle to a - * JSValue object. Use [[QuickJSContext.dump]] to convert to a native object. - * Calling this method will allocate more memory inside the runtime. The information - * is accurate as of just before the call to `computeMemoryUsage`. - * For a human-digestible representation, see [[dumpMemoryUsage]]. - */ - computeMemoryUsage(): QuickJSHandle; - /** - * @returns a human-readable description of memory usage in this runtime. - * For programmatic access to this information, see [[computeMemoryUsage]]. - */ - dumpMemoryUsage(): string; - /** - * Set the max stack size for this runtime, in bytes. - * To remove the limit, set to `0`. - */ - setMaxStackSize(stackSize: number): void; - /** - * Assert that `handle` is owned by this runtime. - * @throws QuickJSWrongOwner if owned by a different runtime. - */ - assertOwned(handle: QuickJSHandle): void; - private getSystemContext; - private cToHostCallbacks; -} diff --git a/node_modules/@tootallnate/quickjs-emscripten/dist/runtime.js b/node_modules/@tootallnate/quickjs-emscripten/dist/runtime.js deleted file mode 100644 index 43f7c27..0000000 --- a/node_modules/@tootallnate/quickjs-emscripten/dist/runtime.js +++ /dev/null @@ -1,300 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.QuickJSRuntime = void 0; -const asyncify_helpers_1 = require("./asyncify-helpers"); -const context_1 = require("./context"); -const debug_1 = require("./debug"); -const errors_1 = require("./errors"); -const lifetime_1 = require("./lifetime"); -const memory_1 = require("./memory"); -const types_1 = require("./types"); -/** - * A runtime represents a Javascript runtime corresponding to an object heap. - * Several runtimes can exist at the same time but they cannot exchange objects. - * Inside a given runtime, no multi-threading is supported. - * - * You can think of separate runtimes like different domains in a browser, and - * the contexts within a runtime like the different windows open to the same - * domain. - * - * Create a runtime via {@link QuickJSWASMModule.newRuntime}. - * - * You should create separate runtime instances for untrusted code from - * different sources for isolation. However, stronger isolation is also - * available (at the cost of memory usage), by creating separate WebAssembly - * modules to further isolate untrusted code. - * See {@link newQuickJSWASMModule}. - * - * Implement memory and CPU constraints with [[setInterruptHandler]] - * (called regularly while the interpreter runs), [[setMemoryLimit]], and - * [[setMaxStackSize]]. - * Use [[computeMemoryUsage]] or [[dumpMemoryUsage]] to guide memory limit - * tuning. - * - * Configure ES module loading with [[setModuleLoader]]. - */ -class QuickJSRuntime { - /** @private */ - constructor(args) { - /** @private */ - this.scope = new lifetime_1.Scope(); - /** @private */ - this.contextMap = new Map(); - this.cToHostCallbacks = { - shouldInterrupt: (rt) => { - if (rt !== this.rt.value) { - throw new Error("QuickJSContext instance received C -> JS interrupt with mismatched rt"); - } - const fn = this.interruptHandler; - if (!fn) { - throw new Error("QuickJSContext had no interrupt handler"); - } - return fn(this) ? 1 : 0; - }, - loadModuleSource: (0, asyncify_helpers_1.maybeAsyncFn)(this, function* (awaited, rt, ctx, moduleName) { - const moduleLoader = this.moduleLoader; - if (!moduleLoader) { - throw new Error("Runtime has no module loader"); - } - if (rt !== this.rt.value) { - throw new Error("Runtime pointer mismatch"); - } - const context = this.contextMap.get(ctx) ?? - this.newContext({ - contextPointer: ctx, - }); - try { - const result = yield* awaited(moduleLoader(moduleName, context)); - if (typeof result === "object" && "error" in result && result.error) { - (0, debug_1.debugLog)("cToHostLoadModule: loader returned error", result.error); - throw result.error; - } - const moduleSource = typeof result === "string" ? result : "value" in result ? result.value : result; - return this.memory.newHeapCharPointer(moduleSource).value; - } - catch (error) { - (0, debug_1.debugLog)("cToHostLoadModule: caught error", error); - context.throw(error); - return 0; - } - }), - normalizeModule: (0, asyncify_helpers_1.maybeAsyncFn)(this, function* (awaited, rt, ctx, baseModuleName, moduleNameRequest) { - const moduleNormalizer = this.moduleNormalizer; - if (!moduleNormalizer) { - throw new Error("Runtime has no module normalizer"); - } - if (rt !== this.rt.value) { - throw new Error("Runtime pointer mismatch"); - } - const context = this.contextMap.get(ctx) ?? - this.newContext({ - /* TODO: Does this happen? Are we responsible for disposing? I don't think so */ - contextPointer: ctx, - }); - try { - const result = yield* awaited(moduleNormalizer(baseModuleName, moduleNameRequest, context)); - if (typeof result === "object" && "error" in result && result.error) { - (0, debug_1.debugLog)("cToHostNormalizeModule: normalizer returned error", result.error); - throw result.error; - } - const name = typeof result === "string" ? result : result.value; - return context.getMemory(this.rt.value).newHeapCharPointer(name).value; - } - catch (error) { - (0, debug_1.debugLog)("normalizeModule: caught error", error); - context.throw(error); - return 0; - } - }), - }; - args.ownedLifetimes?.forEach((lifetime) => this.scope.manage(lifetime)); - this.module = args.module; - this.memory = new memory_1.ModuleMemory(this.module); - this.ffi = args.ffi; - this.rt = args.rt; - this.callbacks = args.callbacks; - this.scope.manage(this.rt); - this.callbacks.setRuntimeCallbacks(this.rt.value, this.cToHostCallbacks); - this.executePendingJobs = this.executePendingJobs.bind(this); - } - get alive() { - return this.scope.alive; - } - dispose() { - return this.scope.dispose(); - } - newContext(options = {}) { - if (options.intrinsics && options.intrinsics !== types_1.DefaultIntrinsics) { - throw new Error("TODO: Custom intrinsics are not supported yet"); - } - const ctx = new lifetime_1.Lifetime(options.contextPointer || this.ffi.QTS_NewContext(this.rt.value), undefined, (ctx_ptr) => { - this.contextMap.delete(ctx_ptr); - this.callbacks.deleteContext(ctx_ptr); - this.ffi.QTS_FreeContext(ctx_ptr); - }); - const context = new context_1.QuickJSContext({ - module: this.module, - ctx, - ffi: this.ffi, - rt: this.rt, - ownedLifetimes: options.ownedLifetimes, - runtime: this, - callbacks: this.callbacks, - }); - this.contextMap.set(ctx.value, context); - return context; - } - /** - * Set the loader for EcmaScript modules requested by any context in this - * runtime. - * - * The loader can be removed with [[removeModuleLoader]]. - */ - setModuleLoader(moduleLoader, moduleNormalizer) { - this.moduleLoader = moduleLoader; - this.moduleNormalizer = moduleNormalizer; - this.ffi.QTS_RuntimeEnableModuleLoader(this.rt.value, this.moduleNormalizer ? 1 : 0); - } - /** - * Remove the the loader set by [[setModuleLoader]]. This disables module loading. - */ - removeModuleLoader() { - this.moduleLoader = undefined; - this.ffi.QTS_RuntimeDisableModuleLoader(this.rt.value); - } - // Runtime management ------------------------------------------------------- - /** - * In QuickJS, promises and async functions create pendingJobs. These do not execute - * immediately and need to be run by calling [[executePendingJobs]]. - * - * @return true if there is at least one pendingJob queued up. - */ - hasPendingJob() { - return Boolean(this.ffi.QTS_IsJobPending(this.rt.value)); - } - /** - * Set a callback which is regularly called by the QuickJS engine when it is - * executing code. This callback can be used to implement an execution - * timeout. - * - * The interrupt handler can be removed with [[removeInterruptHandler]]. - */ - setInterruptHandler(cb) { - const prevInterruptHandler = this.interruptHandler; - this.interruptHandler = cb; - if (!prevInterruptHandler) { - this.ffi.QTS_RuntimeEnableInterruptHandler(this.rt.value); - } - } - /** - * Remove the interrupt handler, if any. - * See [[setInterruptHandler]]. - */ - removeInterruptHandler() { - if (this.interruptHandler) { - this.ffi.QTS_RuntimeDisableInterruptHandler(this.rt.value); - this.interruptHandler = undefined; - } - } - /** - * Execute pendingJobs on the runtime until `maxJobsToExecute` jobs are - * executed (default all pendingJobs), the queue is exhausted, or the runtime - * encounters an exception. - * - * In QuickJS, promises and async functions *inside the runtime* create - * pendingJobs. These do not execute immediately and need to triggered to run. - * - * @param maxJobsToExecute - When negative, run all pending jobs. Otherwise execute - * at most `maxJobsToExecute` before returning. - * - * @return On success, the number of executed jobs. On error, the exception - * that stopped execution, and the context it occurred in. Note that - * executePendingJobs will not normally return errors thrown inside async - * functions or rejected promises. Those errors are available by calling - * [[resolvePromise]] on the promise handle returned by the async function. - */ - executePendingJobs(maxJobsToExecute = -1) { - const ctxPtrOut = this.memory.newMutablePointerArray(1); - const valuePtr = this.ffi.QTS_ExecutePendingJob(this.rt.value, maxJobsToExecute ?? -1, ctxPtrOut.value.ptr); - const ctxPtr = ctxPtrOut.value.typedArray[0]; - ctxPtrOut.dispose(); - if (ctxPtr === 0) { - // No jobs executed. - this.ffi.QTS_FreeValuePointerRuntime(this.rt.value, valuePtr); - return { value: 0 }; - } - const context = this.contextMap.get(ctxPtr) ?? - this.newContext({ - contextPointer: ctxPtr, - }); - const resultValue = context.getMemory(this.rt.value).heapValueHandle(valuePtr); - const typeOfRet = context.typeof(resultValue); - if (typeOfRet === "number") { - const executedJobs = context.getNumber(resultValue); - resultValue.dispose(); - return { value: executedJobs }; - } - else { - const error = Object.assign(resultValue, { context }); - return { - error, - }; - } - } - /** - * Set the max memory this runtime can allocate. - * To remove the limit, set to `-1`. - */ - setMemoryLimit(limitBytes) { - if (limitBytes < 0 && limitBytes !== -1) { - throw new Error("Cannot set memory limit to negative number. To unset, pass -1"); - } - this.ffi.QTS_RuntimeSetMemoryLimit(this.rt.value, limitBytes); - } - /** - * Compute memory usage for this runtime. Returns the result as a handle to a - * JSValue object. Use [[QuickJSContext.dump]] to convert to a native object. - * Calling this method will allocate more memory inside the runtime. The information - * is accurate as of just before the call to `computeMemoryUsage`. - * For a human-digestible representation, see [[dumpMemoryUsage]]. - */ - computeMemoryUsage() { - const serviceContextMemory = this.getSystemContext().getMemory(this.rt.value); - return serviceContextMemory.heapValueHandle(this.ffi.QTS_RuntimeComputeMemoryUsage(this.rt.value, serviceContextMemory.ctx.value)); - } - /** - * @returns a human-readable description of memory usage in this runtime. - * For programmatic access to this information, see [[computeMemoryUsage]]. - */ - dumpMemoryUsage() { - return this.memory.consumeHeapCharPointer(this.ffi.QTS_RuntimeDumpMemoryUsage(this.rt.value)); - } - /** - * Set the max stack size for this runtime, in bytes. - * To remove the limit, set to `0`. - */ - setMaxStackSize(stackSize) { - if (stackSize < 0) { - throw new Error("Cannot set memory limit to negative number. To unset, pass 0."); - } - this.ffi.QTS_RuntimeSetMaxStackSize(this.rt.value, stackSize); - } - /** - * Assert that `handle` is owned by this runtime. - * @throws QuickJSWrongOwner if owned by a different runtime. - */ - assertOwned(handle) { - if (handle.owner && handle.owner.rt !== this.rt) { - throw new errors_1.QuickJSWrongOwner(`Handle is not owned by this runtime: ${handle.owner.rt.value} != ${this.rt.value}`); - } - } - getSystemContext() { - if (!this.context) { - // We own this context and should dispose of it. - this.context = this.scope.manage(this.newContext()); - } - return this.context; - } -} -exports.QuickJSRuntime = QuickJSRuntime; -//# sourceMappingURL=runtime.js.map \ No newline at end of file diff --git a/node_modules/@tootallnate/quickjs-emscripten/dist/runtime.js.map b/node_modules/@tootallnate/quickjs-emscripten/dist/runtime.js.map deleted file mode 100644 index add63da..0000000 --- a/node_modules/@tootallnate/quickjs-emscripten/dist/runtime.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"runtime.js","sourceRoot":"","sources":["../ts/runtime.ts"],"names":[],"mappings":";;;AAAA,yDAAiD;AACjD,uCAA0C;AAC1C,mCAAkC;AAElC,qCAA4C;AAQ5C,yCAAwD;AACxD,qCAAuC;AAEvC,mCAOgB;AA4BhB;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,MAAa,cAAc;IA8BzB,eAAe;IACf,YAAY,IAMX;QAjBD,eAAe;QACL,UAAK,GAAG,IAAI,gBAAK,EAAE,CAAA;QAE7B,eAAe;QACL,eAAU,GAAG,IAAI,GAAG,EAAoC,CAAA;QAkP1D,qBAAgB,GAAqB;YAC3C,eAAe,EAAE,CAAC,EAAE,EAAE,EAAE;gBACtB,IAAI,EAAE,KAAK,IAAI,CAAC,EAAE,CAAC,KAAK,EAAE;oBACxB,MAAM,IAAI,KAAK,CAAC,uEAAuE,CAAC,CAAA;iBACzF;gBAED,MAAM,EAAE,GAAG,IAAI,CAAC,gBAAgB,CAAA;gBAChC,IAAI,CAAC,EAAE,EAAE;oBACP,MAAM,IAAI,KAAK,CAAC,yCAAyC,CAAC,CAAA;iBAC3D;gBAED,OAAO,EAAE,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CA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CACzC,IAAI,CAAC,GAAG,CAAC,6BAA6B,CAAC,IAAI,CAAC,EAAE,CAAC,KAAK,EAAE,oBAAoB,CAAC,GAAG,CAAC,KAAK,CAAC,CACtF,CAAA;IACH,CAAC;IAED;;;OAGG;IACH,eAAe;QACb,OAAO,IAAI,CAAC,MAAM,CAAC,sBAAsB,CAAC,IAAI,CAAC,GAAG,CAAC,0BAA0B,CAAC,IAAI,CAAC,EAAE,CAAC,KAAK,CAAC,CAAC,CAAA;IAC/F,CAAC;IAED;;;OAGG;IACH,eAAe,CAAC,SAAiB;QAC/B,IAAI,SAAS,GAAG,CAAC,EAAE;YACjB,MAAM,IAAI,KAAK,CAAC,+DAA+D,CAAC,CAAA;SACjF;QAED,IAAI,CAAC,GAAG,CAAC,0BAA0B,CAAC,IAAI,CAAC,EAAE,CAAC,KAAK,EAAE,SAAS,CAAC,CAAA;IAC/D,CAAC;IAED;;;OAGG;IACH,WAAW,CAAC,MAAqB;QAC/B,IAAI,MAAM,CAAC,KAAK,IAAI,MAAM,CAAC,KAAK,CAAC,EAAE,KAAK,IAAI,CAAC,EAAE,EAAE;YAC/C,MAAM,IAAI,0BAAiB,CACzB,wCAAwC,MAAM,CAAC,KAAK,CAAC,EAAE,CAAC,KAAK,OAAO,IAAI,CAAC,EAAE,CAAC,KAAK,EAAE,CACpF,CAAA;SACF;IACH,CAAC;IAEO,gBAAgB;QACtB,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;YACjB,gDAAgD;YAChD,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,IAAI,CAAC,UAAU,EAAE,CAAC,CAAA;SACpD;QACD,OAAO,IAAI,CAAC,OAAO,CAAA;IACrB,CAAC;CA0FF;AAlWD,wCAkWC","sourcesContent":["import { maybeAsyncFn } from \"./asyncify-helpers\"\nimport { QuickJSContext } from \"./context\"\nimport { debugLog } from \"./debug\"\nimport { EitherModule } from \"./emscripten-types\"\nimport { QuickJSWrongOwner } from \"./errors\"\nimport {\n BorrowedHeapCharPointer,\n JSContextPointer,\n JSContextPointerPointer,\n JSModuleDefPointer,\n JSRuntimePointer,\n} from \"./types-ffi\"\nimport { Disposable, Lifetime, Scope } from \"./lifetime\"\nimport { ModuleMemory } from \"./memory\"\nimport { QuickJSModuleCallbacks, RuntimeCallbacks } from \"./module\"\nimport {\n ContextOptions,\n DefaultIntrinsics,\n EitherFFI,\n JSModuleLoader,\n JSModuleNormalizer,\n QuickJSHandle,\n} from \"./types\"\nimport { SuccessOrFail } from \"./vm-interface\"\n\n/**\n * Callback called regularly while the VM executes code.\n * Determines if a VM's execution should be interrupted.\n *\n * @returns `true` to interrupt JS execution inside the VM.\n * @returns `false` or `undefined` to continue JS execution inside the VM.\n */\nexport type InterruptHandler = (runtime: QuickJSRuntime) => boolean | undefined\n\n/**\n * Used as an optional for the results of executing pendingJobs.\n * On success, `value` contains the number of async jobs executed\n * by the runtime.\n * @source\n */\nexport type ExecutePendingJobsResult = SuccessOrFail<\n /** Number of jobs successfully executed. */\n number,\n /** The error that occurred. */\n QuickJSHandle & {\n /** The context where the error occurred. */\n context: QuickJSContext\n }\n>\n\n/**\n * A runtime represents a Javascript runtime corresponding to an object heap.\n * Several runtimes can exist at the same time but they cannot exchange objects.\n * Inside a given runtime, no multi-threading is supported.\n *\n * You can think of separate runtimes like different domains in a browser, and\n * the contexts within a runtime like the different windows open to the same\n * domain.\n *\n * Create a runtime via {@link QuickJSWASMModule.newRuntime}.\n *\n * You should create separate runtime instances for untrusted code from\n * different sources for isolation. However, stronger isolation is also\n * available (at the cost of memory usage), by creating separate WebAssembly\n * modules to further isolate untrusted code.\n * See {@link newQuickJSWASMModule}.\n *\n * Implement memory and CPU constraints with [[setInterruptHandler]]\n * (called regularly while the interpreter runs), [[setMemoryLimit]], and\n * [[setMaxStackSize]].\n * Use [[computeMemoryUsage]] or [[dumpMemoryUsage]] to guide memory limit\n * tuning.\n *\n * Configure ES module loading with [[setModuleLoader]].\n */\nexport class QuickJSRuntime implements Disposable {\n /**\n * If this runtime was created as as part of a context, points to the context\n * associated with the runtime.\n *\n * If this runtime was created stand-alone, this may or may not contain a context.\n * A context here may be allocated if one is needed by the runtime, eg for [[computeMemoryUsage]].\n */\n public context: QuickJSContext | undefined\n\n /** @private */\n protected module: EitherModule\n /** @private */\n protected memory: ModuleMemory\n /** @private */\n protected ffi: EitherFFI\n /** @private */\n protected rt: Lifetime\n /** @private */\n protected callbacks: QuickJSModuleCallbacks\n /** @private */\n protected scope = new Scope()\n\n /** @private */\n protected contextMap = new Map()\n /** @private */\n protected moduleLoader: JSModuleLoader | undefined\n /** @private */\n protected moduleNormalizer: JSModuleNormalizer | undefined\n\n /** @private */\n constructor(args: {\n module: EitherModule\n ffi: EitherFFI\n rt: Lifetime\n callbacks: QuickJSModuleCallbacks\n ownedLifetimes?: Disposable[]\n }) {\n args.ownedLifetimes?.forEach((lifetime) => this.scope.manage(lifetime))\n this.module = args.module\n this.memory = new ModuleMemory(this.module)\n this.ffi = args.ffi\n this.rt = args.rt\n this.callbacks = args.callbacks\n this.scope.manage(this.rt)\n this.callbacks.setRuntimeCallbacks(this.rt.value, this.cToHostCallbacks)\n\n this.executePendingJobs = this.executePendingJobs.bind(this)\n }\n\n get alive() {\n return this.scope.alive\n }\n\n dispose() {\n return this.scope.dispose()\n }\n\n newContext(options: ContextOptions = {}): QuickJSContext {\n if (options.intrinsics && options.intrinsics !== DefaultIntrinsics) {\n throw new Error(\"TODO: Custom intrinsics are not supported yet\")\n }\n\n const ctx = new Lifetime(\n options.contextPointer || this.ffi.QTS_NewContext(this.rt.value),\n undefined,\n (ctx_ptr) => {\n this.contextMap.delete(ctx_ptr)\n this.callbacks.deleteContext(ctx_ptr)\n this.ffi.QTS_FreeContext(ctx_ptr)\n }\n )\n\n const context = new QuickJSContext({\n module: this.module,\n ctx,\n ffi: this.ffi,\n rt: this.rt,\n ownedLifetimes: options.ownedLifetimes,\n runtime: this,\n callbacks: this.callbacks,\n })\n this.contextMap.set(ctx.value, context)\n\n return context\n }\n\n /**\n * Set the loader for EcmaScript modules requested by any context in this\n * runtime.\n *\n * The loader can be removed with [[removeModuleLoader]].\n */\n setModuleLoader(moduleLoader: JSModuleLoader, moduleNormalizer?: JSModuleNormalizer): void {\n this.moduleLoader = moduleLoader\n this.moduleNormalizer = moduleNormalizer\n this.ffi.QTS_RuntimeEnableModuleLoader(this.rt.value, this.moduleNormalizer ? 1 : 0)\n }\n\n /**\n * Remove the the loader set by [[setModuleLoader]]. This disables module loading.\n */\n removeModuleLoader(): void {\n this.moduleLoader = undefined\n this.ffi.QTS_RuntimeDisableModuleLoader(this.rt.value)\n }\n\n // Runtime management -------------------------------------------------------\n\n /**\n * In QuickJS, promises and async functions create pendingJobs. These do not execute\n * immediately and need to be run by calling [[executePendingJobs]].\n *\n * @return true if there is at least one pendingJob queued up.\n */\n hasPendingJob(): boolean {\n return Boolean(this.ffi.QTS_IsJobPending(this.rt.value))\n }\n\n private interruptHandler: InterruptHandler | undefined\n\n /**\n * Set a callback which is regularly called by the QuickJS engine when it is\n * executing code. This callback can be used to implement an execution\n * timeout.\n *\n * The interrupt handler can be removed with [[removeInterruptHandler]].\n */\n setInterruptHandler(cb: InterruptHandler) {\n const prevInterruptHandler = this.interruptHandler\n this.interruptHandler = cb\n if (!prevInterruptHandler) {\n this.ffi.QTS_RuntimeEnableInterruptHandler(this.rt.value)\n }\n }\n\n /**\n * Remove the interrupt handler, if any.\n * See [[setInterruptHandler]].\n */\n removeInterruptHandler() {\n if (this.interruptHandler) {\n this.ffi.QTS_RuntimeDisableInterruptHandler(this.rt.value)\n this.interruptHandler = undefined\n }\n }\n\n /**\n * Execute pendingJobs on the runtime until `maxJobsToExecute` jobs are\n * executed (default all pendingJobs), the queue is exhausted, or the runtime\n * encounters an exception.\n *\n * In QuickJS, promises and async functions *inside the runtime* create\n * pendingJobs. These do not execute immediately and need to triggered to run.\n *\n * @param maxJobsToExecute - When negative, run all pending jobs. Otherwise execute\n * at most `maxJobsToExecute` before returning.\n *\n * @return On success, the number of executed jobs. On error, the exception\n * that stopped execution, and the context it occurred in. Note that\n * executePendingJobs will not normally return errors thrown inside async\n * functions or rejected promises. Those errors are available by calling\n * [[resolvePromise]] on the promise handle returned by the async function.\n */\n executePendingJobs(maxJobsToExecute: number | void = -1): ExecutePendingJobsResult {\n const ctxPtrOut = this.memory.newMutablePointerArray(1)\n const valuePtr = this.ffi.QTS_ExecutePendingJob(\n this.rt.value,\n maxJobsToExecute ?? -1,\n ctxPtrOut.value.ptr\n )\n\n const ctxPtr = ctxPtrOut.value.typedArray[0] as JSContextPointer\n ctxPtrOut.dispose()\n if (ctxPtr === 0) {\n // No jobs executed.\n this.ffi.QTS_FreeValuePointerRuntime(this.rt.value, valuePtr)\n return { value: 0 }\n }\n\n const context =\n this.contextMap.get(ctxPtr) ??\n this.newContext({\n contextPointer: ctxPtr,\n })\n\n const resultValue = context.getMemory(this.rt.value).heapValueHandle(valuePtr)\n const typeOfRet = context.typeof(resultValue)\n if (typeOfRet === \"number\") {\n const executedJobs = context.getNumber(resultValue)\n resultValue.dispose()\n return { value: executedJobs }\n } else {\n const error = Object.assign(resultValue, { context })\n return {\n error,\n }\n }\n }\n\n /**\n * Set the max memory this runtime can allocate.\n * To remove the limit, set to `-1`.\n */\n setMemoryLimit(limitBytes: number) {\n if (limitBytes < 0 && limitBytes !== -1) {\n throw new Error(\"Cannot set memory limit to negative number. To unset, pass -1\")\n }\n\n this.ffi.QTS_RuntimeSetMemoryLimit(this.rt.value, limitBytes)\n }\n\n /**\n * Compute memory usage for this runtime. Returns the result as a handle to a\n * JSValue object. Use [[QuickJSContext.dump]] to convert to a native object.\n * Calling this method will allocate more memory inside the runtime. The information\n * is accurate as of just before the call to `computeMemoryUsage`.\n * For a human-digestible representation, see [[dumpMemoryUsage]].\n */\n computeMemoryUsage(): QuickJSHandle {\n const serviceContextMemory = this.getSystemContext().getMemory(this.rt.value)\n return serviceContextMemory.heapValueHandle(\n this.ffi.QTS_RuntimeComputeMemoryUsage(this.rt.value, serviceContextMemory.ctx.value)\n )\n }\n\n /**\n * @returns a human-readable description of memory usage in this runtime.\n * For programmatic access to this information, see [[computeMemoryUsage]].\n */\n dumpMemoryUsage(): string {\n return this.memory.consumeHeapCharPointer(this.ffi.QTS_RuntimeDumpMemoryUsage(this.rt.value))\n }\n\n /**\n * Set the max stack size for this runtime, in bytes.\n * To remove the limit, set to `0`.\n */\n setMaxStackSize(stackSize: number) {\n if (stackSize < 0) {\n throw new Error(\"Cannot set memory limit to negative number. To unset, pass 0.\")\n }\n\n this.ffi.QTS_RuntimeSetMaxStackSize(this.rt.value, stackSize)\n }\n\n /**\n * Assert that `handle` is owned by this runtime.\n * @throws QuickJSWrongOwner if owned by a different runtime.\n */\n assertOwned(handle: QuickJSHandle) {\n if (handle.owner && handle.owner.rt !== this.rt) {\n throw new QuickJSWrongOwner(\n `Handle is not owned by this runtime: ${handle.owner.rt.value} != ${this.rt.value}`\n )\n }\n }\n\n private getSystemContext() {\n if (!this.context) {\n // We own this context and should dispose of it.\n this.context = this.scope.manage(this.newContext())\n }\n return this.context\n }\n\n private cToHostCallbacks: RuntimeCallbacks = {\n shouldInterrupt: (rt) => {\n if (rt !== this.rt.value) {\n throw new Error(\"QuickJSContext instance received C -> JS interrupt with mismatched rt\")\n }\n\n const fn = this.interruptHandler\n if (!fn) {\n throw new Error(\"QuickJSContext had no interrupt handler\")\n }\n\n return fn(this) ? 1 : 0\n },\n\n loadModuleSource: maybeAsyncFn(this, function* (awaited, rt, ctx, moduleName) {\n const moduleLoader = this.moduleLoader\n if (!moduleLoader) {\n throw new Error(\"Runtime has no module loader\")\n }\n\n if (rt !== this.rt.value) {\n throw new Error(\"Runtime pointer mismatch\")\n }\n\n const context =\n this.contextMap.get(ctx) ??\n this.newContext({\n contextPointer: ctx,\n })\n\n try {\n const result = yield* awaited(moduleLoader(moduleName, context))\n\n if (typeof result === \"object\" && \"error\" in result && result.error) {\n debugLog(\"cToHostLoadModule: loader returned error\", result.error)\n throw result.error\n }\n\n const moduleSource =\n typeof result === \"string\" ? result : \"value\" in result ? result.value : result\n\n return this.memory.newHeapCharPointer(moduleSource).value\n } catch (error) {\n debugLog(\"cToHostLoadModule: caught error\", error)\n context.throw(error as any)\n return 0 as BorrowedHeapCharPointer\n }\n }),\n\n normalizeModule: maybeAsyncFn(\n this,\n function* (awaited, rt, ctx, baseModuleName, moduleNameRequest) {\n const moduleNormalizer = this.moduleNormalizer\n if (!moduleNormalizer) {\n throw new Error(\"Runtime has no module normalizer\")\n }\n\n if (rt !== this.rt.value) {\n throw new Error(\"Runtime pointer mismatch\")\n }\n\n const context =\n this.contextMap.get(ctx) ??\n this.newContext({\n /* TODO: Does this happen? Are we responsible for disposing? I don't think so */\n contextPointer: ctx,\n })\n\n try {\n const result = yield* awaited(\n moduleNormalizer(baseModuleName, moduleNameRequest, context)\n )\n\n if (typeof result === \"object\" && \"error\" in result && result.error) {\n debugLog(\"cToHostNormalizeModule: normalizer returned error\", result.error)\n throw result.error\n }\n\n const name = typeof result === \"string\" ? result : result.value\n return context.getMemory(this.rt.value).newHeapCharPointer(name).value\n } catch (error) {\n debugLog(\"normalizeModule: caught error\", error)\n context.throw(error as any)\n return 0 as BorrowedHeapCharPointer\n }\n }\n ),\n }\n}\n"]} \ No newline at end of file diff --git a/node_modules/@tootallnate/quickjs-emscripten/dist/types-ffi.d.ts b/node_modules/@tootallnate/quickjs-emscripten/dist/types-ffi.d.ts deleted file mode 100644 index 3f6dadd..0000000 --- a/node_modules/@tootallnate/quickjs-emscripten/dist/types-ffi.d.ts +++ /dev/null @@ -1,114 +0,0 @@ -/** - * C pointer to type `CType`. Pointer types are used internally for FFI, but - * are not intended for external use. - * - * @unstable This type is considered private and may change. - */ -type Pointer = number & { - ctype: CType; -}; -type Brand = T & { - brand: B; -}; -/** - * `JSRuntime*`. - */ -export type JSRuntimePointer = Pointer<"JSRuntime">; -/** - * `JSContext*`. - */ -export type JSContextPointer = Pointer<"JSContext">; -/** - * `JSContext**`. Used internally for execute pending jobs. - */ -export type JSContextPointerPointer = Pointer<"JSContext">; -/** - * `JSModuleDef*`. - */ -export type JSModuleDefPointer = Pointer<"JSModuleDef">; -/** - * `JSValue*`. - * See [[JSValue]]. - */ -export type JSValuePointer = Pointer<"JSValue">; -/** - * `JSValueConst* - * See [[JSValueConst]] and [[StaticJSValue]]. - */ -export type JSValueConstPointer = Pointer<"JSValueConst">; -/** - * Used internally for Javascript-to-C function calls. - */ -export type JSValuePointerPointer = Pointer<"JSValue[]">; -/** - * Used internally for Javascript-to-C function calls. - */ -export type JSValueConstPointerPointer = Pointer<"JSValueConst[]">; -/** - * Used internally for C-to-Javascript function calls. - */ -/** - * Used internally for C-to-Javascript function calls. - */ -export type QTS_C_To_HostCallbackFuncPointer = Pointer<"C_To_HostCallbackFunc">; -/** - * Used internally for C-to-Javascript interrupt handlers. - */ -export type QTS_C_To_HostInterruptFuncPointer = Pointer<"C_To_HostInterruptFunc">; -/** - * Used internally for C-to-Javascript module loading. - */ -export type QTS_C_To_HostLoadModuleFuncPointer = Pointer<"C_To_HostLoadModuleFunc">; -/** - * Used internally for Javascript-to-C calls that may contain strings too large - * for the Emscripten stack. - */ -export type BorrowedHeapCharPointer = Pointer<"const char" | "char" | "js const char">; -/** - * Used internally for Javascript-to-C calls that may contain strings too large - * for the Emscripten stack. - */ -export type OwnedHeapCharPointer = Pointer<"char">; -/** - * Used internally for Javascript-to-C calls that may contain strings too large - * for the Emscripten stack. - */ -export type JSBorrowedCharPointer = Pointer<"js const char">; -/** - * Opaque pointer that was allocated by js_malloc. - */ -export type JSVoidPointer = Pointer; -/** - * @private - */ -export type EvalFlags = Brand; -/** - * @private - */ -export type EvalDetectModule = Brand; -export declare function assertSync(fn: (...args: Args) => R): (...args: Args) => R; -/** Bitfield options for JS_Eval() C function. */ -export declare const EvalFlags: { - /** global code (default) */ - JS_EVAL_TYPE_GLOBAL: number; - /** module code */ - JS_EVAL_TYPE_MODULE: number; - /** direct call (internal use) */ - JS_EVAL_TYPE_DIRECT: number; - /** indirect call (internal use) */ - JS_EVAL_TYPE_INDIRECT: number; - JS_EVAL_TYPE_MASK: number; - /** force 'strict' mode */ - JS_EVAL_FLAG_STRICT: number; - /** force 'strip' mode */ - JS_EVAL_FLAG_STRIP: number; - /** - * compile but do not run. The result is an object with a - * JS_TAG_FUNCTION_BYTECODE or JS_TAG_MODULE tag. It can be executed - * with JS_EvalFunction(). - */ - JS_EVAL_FLAG_COMPILE_ONLY: number; - /** don't include the stack frames before this eval in the Error() backtraces */ - JS_EVAL_FLAG_BACKTRACE_BARRIER: number; -}; -export {}; diff --git a/node_modules/@tootallnate/quickjs-emscripten/dist/types-ffi.js b/node_modules/@tootallnate/quickjs-emscripten/dist/types-ffi.js deleted file mode 100644 index e848118..0000000 --- a/node_modules/@tootallnate/quickjs-emscripten/dist/types-ffi.js +++ /dev/null @@ -1,38 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.EvalFlags = exports.assertSync = void 0; -function assertSync(fn) { - return function mustBeSync(...args) { - const result = fn(...args); - if (result && typeof result === "object" && result instanceof Promise) { - throw new Error("Function unexpectedly returned a Promise"); - } - return result; - }; -} -exports.assertSync = assertSync; -/** Bitfield options for JS_Eval() C function. */ -exports.EvalFlags = { - /** global code (default) */ - JS_EVAL_TYPE_GLOBAL: 0 << 0, - /** module code */ - JS_EVAL_TYPE_MODULE: 1 << 0, - /** direct call (internal use) */ - JS_EVAL_TYPE_DIRECT: 2 << 0, - /** indirect call (internal use) */ - JS_EVAL_TYPE_INDIRECT: 3 << 0, - JS_EVAL_TYPE_MASK: 3 << 0, - /** force 'strict' mode */ - JS_EVAL_FLAG_STRICT: 1 << 3, - /** force 'strip' mode */ - JS_EVAL_FLAG_STRIP: 1 << 4, - /** - * compile but do not run. The result is an object with a - * JS_TAG_FUNCTION_BYTECODE or JS_TAG_MODULE tag. It can be executed - * with JS_EvalFunction(). - */ - JS_EVAL_FLAG_COMPILE_ONLY: 1 << 5, - /** don't include the stack frames before this eval in the Error() backtraces */ - JS_EVAL_FLAG_BACKTRACE_BARRIER: 1 << 6, -}; -//# sourceMappingURL=types-ffi.js.map \ No newline at end of file diff --git a/node_modules/@tootallnate/quickjs-emscripten/dist/types-ffi.js.map b/node_modules/@tootallnate/quickjs-emscripten/dist/types-ffi.js.map deleted file mode 100644 index 1a2dc3e..0000000 --- a/node_modules/@tootallnate/quickjs-emscripten/dist/types-ffi.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"types-ffi.js","sourceRoot":"","sources":["../ts/types-ffi.ts"],"names":[],"mappings":";;;AAyGA,SAAgB,UAAU,CAAwB,EAAwB;IACxE,OAAO,SAAS,UAAU,CAAC,GAAG,IAAU;QACtC,MAAM,MAAM,GAAG,EAAE,CAAC,GAAG,IAAI,CAAC,CAAA;QAC1B,IAAI,MAAM,IAAI,OAAO,MAAM,KAAK,QAAQ,IAAI,MAAM,YAAY,OAAO,EAAE;YACrE,MAAM,IAAI,KAAK,CAAC,0CAA0C,CAAC,CAAA;SAC5D;QACD,OAAO,MAAM,CAAA;IACf,CAAC,CAAA;AACH,CAAC;AARD,gCAQC;AAED,iDAAiD;AACpC,QAAA,SAAS,GAAG;IACvB,4BAA4B;IAC5B,mBAAmB,EAAE,CAAC,IAAI,CAAC;IAC3B,kBAAkB;IAClB,mBAAmB,EAAE,CAAC,IAAI,CAAC;IAC3B,iCAAiC;IACjC,mBAAmB,EAAE,CAAC,IAAI,CAAC;IAC3B,mCAAmC;IACnC,qBAAqB,EAAE,CAAC,IAAI,CAAC;IAC7B,iBAAiB,EAAE,CAAC,IAAI,CAAC;IACzB,0BAA0B;IAC1B,mBAAmB,EAAE,CAAC,IAAI,CAAC;IAC3B,yBAAyB;IACzB,kBAAkB,EAAE,CAAC,IAAI,CAAC;IAC1B;;;;OAIG;IACH,yBAAyB,EAAE,CAAC,IAAI,CAAC;IACjC,gFAAgF;IAChF,8BAA8B,EAAE,CAAC,IAAI,CAAC;CACvC,CAAA","sourcesContent":["/**\n * C pointer to type `CType`. Pointer types are used internally for FFI, but\n * are not intended for external use.\n *\n * @unstable This type is considered private and may change.\n */\ntype Pointer = number & { ctype: CType }\n\ntype Brand = T & { brand: B }\n\n/**\n * `JSRuntime*`.\n */\nexport type JSRuntimePointer = Pointer<\"JSRuntime\">\n\n/**\n * `JSContext*`.\n */\nexport type JSContextPointer = Pointer<\"JSContext\">\n\n/**\n * `JSContext**`. Used internally for execute pending jobs.\n */\nexport type JSContextPointerPointer = Pointer<\"JSContext\">\n\n/**\n * `JSModuleDef*`.\n */\nexport type JSModuleDefPointer = Pointer<\"JSModuleDef\">\n\n/**\n * `JSValue*`.\n * See [[JSValue]].\n */\nexport type JSValuePointer = Pointer<\"JSValue\">\n\n/**\n * `JSValueConst*\n * See [[JSValueConst]] and [[StaticJSValue]].\n */\nexport type JSValueConstPointer = Pointer<\"JSValueConst\">\n\n/**\n * Used internally for Javascript-to-C function calls.\n */\nexport type JSValuePointerPointer = Pointer<\"JSValue[]\">\n\n/**\n * Used internally for Javascript-to-C function calls.\n */\nexport type JSValueConstPointerPointer = Pointer<\"JSValueConst[]\">\n\n/**\n * Used internally for C-to-Javascript function calls.\n */\n// type JSCFunctionPointer = Pointer<'JSCFunction'>\n\n/**\n * Used internally for C-to-Javascript function calls.\n */\nexport type QTS_C_To_HostCallbackFuncPointer = Pointer<\"C_To_HostCallbackFunc\">\n\n/**\n * Used internally for C-to-Javascript interrupt handlers.\n */\nexport type QTS_C_To_HostInterruptFuncPointer = Pointer<\"C_To_HostInterruptFunc\">\n\n/**\n * Used internally for C-to-Javascript module loading.\n */\nexport type QTS_C_To_HostLoadModuleFuncPointer = Pointer<\"C_To_HostLoadModuleFunc\">\n\n/**\n * Used internally for Javascript-to-C calls that may contain strings too large\n * for the Emscripten stack.\n */\nexport type BorrowedHeapCharPointer = Pointer<\"const char\" | \"char\" | \"js const char\">\n\n/**\n * Used internally for Javascript-to-C calls that may contain strings too large\n * for the Emscripten stack.\n */\nexport type OwnedHeapCharPointer = Pointer<\"char\">\n\n/**\n * Used internally for Javascript-to-C calls that may contain strings too large\n * for the Emscripten stack.\n */\nexport type JSBorrowedCharPointer = Pointer<\"js const char\">\n\n/**\n * Opaque pointer that was allocated by js_malloc.\n */\nexport type JSVoidPointer = Pointer\n\n/**\n * @private\n */\nexport type EvalFlags = Brand\n\n/**\n * @private\n */\nexport type EvalDetectModule = Brand\n\nexport function assertSync(fn: (...args: Args) => R): (...args: Args) => R {\n return function mustBeSync(...args: Args): R {\n const result = fn(...args)\n if (result && typeof result === \"object\" && result instanceof Promise) {\n throw new Error(\"Function unexpectedly returned a Promise\")\n }\n return result\n }\n}\n\n/** Bitfield options for JS_Eval() C function. */\nexport const EvalFlags = {\n /** global code (default) */\n JS_EVAL_TYPE_GLOBAL: 0 << 0,\n /** module code */\n JS_EVAL_TYPE_MODULE: 1 << 0,\n /** direct call (internal use) */\n JS_EVAL_TYPE_DIRECT: 2 << 0,\n /** indirect call (internal use) */\n JS_EVAL_TYPE_INDIRECT: 3 << 0,\n JS_EVAL_TYPE_MASK: 3 << 0,\n /** force 'strict' mode */\n JS_EVAL_FLAG_STRICT: 1 << 3,\n /** force 'strip' mode */\n JS_EVAL_FLAG_STRIP: 1 << 4,\n /**\n * compile but do not run. The result is an object with a\n * JS_TAG_FUNCTION_BYTECODE or JS_TAG_MODULE tag. It can be executed\n * with JS_EvalFunction().\n */\n JS_EVAL_FLAG_COMPILE_ONLY: 1 << 5,\n /** don't include the stack frames before this eval in the Error() backtraces */\n JS_EVAL_FLAG_BACKTRACE_BARRIER: 1 << 6,\n}\n"]} \ No newline at end of file diff --git a/node_modules/@tootallnate/quickjs-emscripten/dist/types.d.ts b/node_modules/@tootallnate/quickjs-emscripten/dist/types.d.ts deleted file mode 100644 index d5c6ca3..0000000 --- a/node_modules/@tootallnate/quickjs-emscripten/dist/types.d.ts +++ /dev/null @@ -1,158 +0,0 @@ -import type { QuickJSFFI, QuickJSAsyncFFI } from "./variants"; -import type { QuickJSContext } from "./context"; -import type { SuccessOrFail, VmFunctionImplementation } from "./vm-interface"; -import type { Disposable, Lifetime } from "./lifetime"; -import type { QuickJSAsyncContext } from "./context-asyncify"; -import type { InterruptHandler, QuickJSRuntime } from "./runtime"; -import { JSContextPointer, JSValueConstPointer, JSValuePointer } from "./types-ffi"; -export type EitherFFI = QuickJSFFI | QuickJSAsyncFFI; -/** - * A QuickJSHandle to a constant that will never change, and does not need to - * be disposed. - */ -export type StaticJSValue = Lifetime; -/** - * A QuickJSHandle to a borrowed value that does not need to be disposed. - * - * In QuickJS, a JSValueConst is a "borrowed" reference that isn't owned by the - * current scope. That means that the current scope should not `JS_FreeValue` - * it, or retain a reference to it after the scope exits, because it may be - * freed by its owner. - * - * quickjs-emscripten takes care of disposing JSValueConst references. - */ -export type JSValueConst = Lifetime; -/** - * A owned QuickJSHandle that should be disposed or returned. - * - * The QuickJS interpreter passes Javascript values between functions as - * `JSValue` structs that references some internal data. Because passing - * structs cross the Empscripten FFI interfaces is bothersome, we use pointers - * to these structs instead. - * - * A JSValue reference is "owned" in its scope. before exiting the scope, it - * should be freed, by calling `JS_FreeValue(ctx, js_value)`) or returned from - * the scope. We extend that contract - a JSValuePointer (`JSValue*`) must also - * be `free`d. - * - * You can do so from Javascript by calling the .dispose() method. - */ -export type JSValue = Lifetime; -/** - * Wraps a C pointer to a QuickJS JSValue, which represents a Javascript value inside - * a QuickJS virtual machine. - * - * Values must not be shared between QuickJSContext instances. - * You must dispose of any handles you create by calling the `.dispose()` method. - */ -export type QuickJSHandle = StaticJSValue | JSValue | JSValueConst; -export type JSModuleExport = { - type: "function"; - name: string; - implementation: (vm: QuickJSContext) => VmFunctionImplementation; -} | { - type: "value"; - name: string; - value: (vm: QuickJSContext) => QuickJSHandle; -}; -export interface JSModuleDefinition { - name: string; - exports: JSModuleExport[]; -} -export type JSModuleLoadSuccess = string; -export type JSModuleLoadFailure = Error | QuickJSHandle; -export type JSModuleLoadResult = JSModuleLoadSuccess | SuccessOrFail; -export interface JSModuleLoaderAsync { - /** Load module (async) */ - (moduleName: string, context: QuickJSAsyncContext): JSModuleLoadResult | Promise; -} -export interface JSModuleLoader { - /** Load module (sync) */ - (moduleName: string, context: QuickJSContext): JSModuleLoadResult; -} -export type JSModuleNormalizeSuccess = string; -export type JSModuleNormalizeFailure = Error | QuickJSHandle; -export type JSModuleNormalizeResult = JSModuleNormalizeSuccess | SuccessOrFail; -export interface JSModuleNormalizerAsync { - (baseModuleName: string, requestedName: string, vm: QuickJSAsyncContext): JSModuleNormalizeResult | Promise; -} -export interface JSModuleNormalizer extends JSModuleNormalizerAsync { - (baseModuleName: string, requestedName: string, vm: QuickJSContext): JSModuleNormalizeResult; -} -type TODO = never; -declare const UnstableSymbol: unique symbol; -export type PartiallyImplemented = never & T & { - [UnstableSymbol]: "This feature may unimplemented, broken, throw errors, etc."; -}; -export interface RuntimeOptionsBase { - interruptHandler?: InterruptHandler; - maxStackSizeBytes?: number; - memoryLimitBytes?: number; - promiseRejectionHandler?: TODO<"JSHostPromiseRejectionTracker">; - runtimeInfo?: TODO<"JS_SetRuntimeInfo", string>; - gcThreshold?: TODO<"JS_SetGCThreshold", number>; - sharedArrayBufferFunctions?: TODO<"JS_SetJSSharedArrayBufferFunctions", { - sab_alloc: TODO; - sab_free: TODO; - sab_dup: TODO; - sab_opaque: TODO; - }>; - /** - * Extra lifetimes the runtime should dispose of after it is destroyed. - * @private - */ - ownedLifetimes?: Disposable[]; -} -export interface RuntimeOptions extends RuntimeOptionsBase { - moduleLoader?: JSModuleLoader; -} -export interface AsyncRuntimeOptions extends RuntimeOptionsBase { - moduleLoader?: JSModuleLoaderAsync | JSModuleLoader; -} -/** - * Work in progress. - */ -export type Intrinsic = "BaseObjects" | "Date" | "Eval" | "StringNormalize" | "RegExp" | "RegExpCompiler" | "JSON" | "Proxy" | "MapSet" | "TypedArrays" | "Promise" | "BigInt" | "BigFloat" | "BigDecimal" | "OperatorOverloading" | "BignumExt"; -/** - * Work in progress. - */ -export declare const DefaultIntrinsics: unique symbol; -export interface ContextOptions { - /** - * What built-in objects and language features to enable? - * If unset, the default intrinsics will be used. - * To omit all intrinsics, pass an empty array. - */ - intrinsics?: PartiallyImplemented | typeof DefaultIntrinsics; - /** - * Wrap the provided context instead of constructing a new one. - * @private - */ - contextPointer?: JSContextPointer; - /** - * Extra lifetimes the context should dispose of after it is destroyed. - * @private - */ - ownedLifetimes?: Disposable[]; -} -export interface ContextEvalOptions { - /** Global code (default) */ - type?: "global" | "module"; - /** Force "strict" mode */ - strict?: boolean; - /** Force "strip" mode */ - strip?: boolean; - /** - * compile but do not run. The result is an object with a - * JS_TAG_FUNCTION_BYTECODE or JS_TAG_MODULE tag. It can be executed - * with JS_EvalFunction(). - */ - compileOnly?: boolean; - /** don't include the stack frames before this eval in the Error() backtraces */ - backtraceBarrier?: boolean; -} -/** Convert [[ContextEvalOptions]] to a bitfield flags */ -export declare function evalOptionsToFlags(evalOptions: ContextEvalOptions | number | undefined): number; -export type PromiseExecutor = (resolve: (value: ResolveT | PromiseLike) => void, reject: (reason: RejectT) => void) => void; -export declare function concat(...values: Array): T[]; -export {}; diff --git a/node_modules/@tootallnate/quickjs-emscripten/dist/types.js b/node_modules/@tootallnate/quickjs-emscripten/dist/types.js deleted file mode 100644 index 1fb62bf..0000000 --- a/node_modules/@tootallnate/quickjs-emscripten/dist/types.js +++ /dev/null @@ -1,58 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.concat = exports.evalOptionsToFlags = exports.DefaultIntrinsics = void 0; -const types_ffi_1 = require("./types-ffi"); -const UnstableSymbol = Symbol("Unstable"); -// For informational purposes -const DefaultIntrinsicsList = [ - "BaseObjects", - "Date", - "Eval", - "StringNormalize", - "RegExp", - "JSON", - "Proxy", - "MapSet", - "TypedArrays", - "Promise", -]; -/** - * Work in progress. - */ -exports.DefaultIntrinsics = Symbol("DefaultIntrinsics"); -/** Convert [[ContextEvalOptions]] to a bitfield flags */ -function evalOptionsToFlags(evalOptions) { - if (typeof evalOptions === "number") { - return evalOptions; - } - if (evalOptions === undefined) { - return 0; - } - const { type, strict, strip, compileOnly, backtraceBarrier } = evalOptions; - let flags = 0; - if (type === "global") - flags |= types_ffi_1.EvalFlags.JS_EVAL_TYPE_GLOBAL; - if (type === "module") - flags |= types_ffi_1.EvalFlags.JS_EVAL_TYPE_MODULE; - if (strict) - flags |= types_ffi_1.EvalFlags.JS_EVAL_FLAG_STRICT; - if (strip) - flags |= types_ffi_1.EvalFlags.JS_EVAL_FLAG_STRIP; - if (compileOnly) - flags |= types_ffi_1.EvalFlags.JS_EVAL_FLAG_COMPILE_ONLY; - if (backtraceBarrier) - flags |= types_ffi_1.EvalFlags.JS_EVAL_FLAG_BACKTRACE_BARRIER; - return flags; -} -exports.evalOptionsToFlags = evalOptionsToFlags; -function concat(...values) { - let result = []; - for (const value of values) { - if (value !== undefined) { - result = result.concat(value); - } - } - return result; -} -exports.concat = concat; -//# sourceMappingURL=types.js.map \ No newline at end of file diff --git a/node_modules/@tootallnate/quickjs-emscripten/dist/types.js.map b/node_modules/@tootallnate/quickjs-emscripten/dist/types.js.map deleted file mode 100644 index 7b52727..0000000 --- a/node_modules/@tootallnate/quickjs-emscripten/dist/types.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"types.js","sourceRoot":"","sources":["../ts/types.ts"],"names":[],"mappings":";;;AAMA,2CAA8F;AA+F9F,MAAM,cAAc,GAAG,MAAM,CAAC,UAAU,CAAC,CAAA;AAwDzC,6BAA6B;AAC7B,MAAM,qBAAqB,GAAG;IAC5B,aAAa;IACb,MAAM;IACN,MAAM;IACN,iBAAiB;IACjB,QAAQ;IACR,MAAM;IACN,OAAO;IACP,QAAQ;IACR,aAAa;IACb,SAAS;CACD,CAAA;AAEV;;GAEG;AACU,QAAA,iBAAiB,GAAG,MAAM,CAAC,mBAAmB,CAAC,CAAA;AAwC5D,yDAAyD;AACzD,SAAgB,kBAAkB,CAAC,WAAoD;IACrF,IAAI,OAAO,WAAW,KAAK,QAAQ,EAAE;QACnC,OAAO,WAAW,CAAA;KACnB;IAED,IAAI,WAAW,KAAK,SAAS,EAAE;QAC7B,OAAO,CAAC,CAAA;KACT;IAED,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,WAAW,EAAE,gBAAgB,EAAE,GAAG,WAAW,CAAA;IAC1E,IAAI,KAAK,GAAG,CAAC,CAAA;IACb,IAAI,IAAI,KAAK,QAAQ;QAAE,KAAK,IAAI,qBAAS,CAAC,mBAAmB,CAAA;IAC7D,IAAI,IAAI,KAAK,QAAQ;QAAE,KAAK,IAAI,qBAAS,CAAC,mBAAmB,CAAA;IAC7D,IAAI,MAAM;QAAE,KAAK,IAAI,qBAAS,CAAC,mBAAmB,CAAA;IAClD,IAAI,KAAK;QAAE,KAAK,IAAI,qBAAS,CAAC,kBAAkB,CAAA;IAChD,IAAI,WAAW;QAAE,KAAK,IAAI,qBAAS,CAAC,yBAAyB,CAAA;IAC7D,IAAI,gBAAgB;QAAE,KAAK,IAAI,qBAAS,CAAC,8BAA8B,CAAA;IACvE,OAAO,KAAK,CAAA;AACd,CAAC;AAlBD,gDAkBC;AAOD,SAAgB,MAAM,CAAI,GAAG,MAAkC;IAC7D,IAAI,MAAM,GAAQ,EAAE,CAAA;IACpB,KAAK,MAAM,KAAK,IAAI,MAAM,EAAE;QAC1B,IAAI,KAAK,KAAK,SAAS,EAAE;YACvB,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC,CAAA;SAC9B;KACF;IACD,OAAO,MAAM,CAAA;AACf,CAAC;AARD,wBAQC","sourcesContent":["import type { QuickJSFFI, QuickJSAsyncFFI } from \"./variants\"\nimport type { QuickJSContext } from \"./context\"\nimport type { SuccessOrFail, VmFunctionImplementation } from \"./vm-interface\"\nimport type { Disposable, Lifetime } from \"./lifetime\"\nimport type { QuickJSAsyncContext } from \"./context-asyncify\"\nimport type { InterruptHandler, QuickJSRuntime } from \"./runtime\"\nimport { EvalFlags, JSContextPointer, JSValueConstPointer, JSValuePointer } from \"./types-ffi\"\n\nexport type EitherFFI = QuickJSFFI | QuickJSAsyncFFI\n\n/**\n * A QuickJSHandle to a constant that will never change, and does not need to\n * be disposed.\n */\nexport type StaticJSValue = Lifetime\n\n/**\n * A QuickJSHandle to a borrowed value that does not need to be disposed.\n *\n * In QuickJS, a JSValueConst is a \"borrowed\" reference that isn't owned by the\n * current scope. That means that the current scope should not `JS_FreeValue`\n * it, or retain a reference to it after the scope exits, because it may be\n * freed by its owner.\n *\n * quickjs-emscripten takes care of disposing JSValueConst references.\n */\nexport type JSValueConst = Lifetime\n\n/**\n * A owned QuickJSHandle that should be disposed or returned.\n *\n * The QuickJS interpreter passes Javascript values between functions as\n * `JSValue` structs that references some internal data. Because passing\n * structs cross the Empscripten FFI interfaces is bothersome, we use pointers\n * to these structs instead.\n *\n * A JSValue reference is \"owned\" in its scope. before exiting the scope, it\n * should be freed, by calling `JS_FreeValue(ctx, js_value)`) or returned from\n * the scope. We extend that contract - a JSValuePointer (`JSValue*`) must also\n * be `free`d.\n *\n * You can do so from Javascript by calling the .dispose() method.\n */\nexport type JSValue = Lifetime\n\n/**\n * Wraps a C pointer to a QuickJS JSValue, which represents a Javascript value inside\n * a QuickJS virtual machine.\n *\n * Values must not be shared between QuickJSContext instances.\n * You must dispose of any handles you create by calling the `.dispose()` method.\n */\nexport type QuickJSHandle = StaticJSValue | JSValue | JSValueConst\n\nexport type JSModuleExport =\n | {\n type: \"function\"\n name: string\n implementation: (vm: QuickJSContext) => VmFunctionImplementation\n }\n | { type: \"value\"; name: string; value: (vm: QuickJSContext) => QuickJSHandle }\n\nexport interface JSModuleDefinition {\n name: string\n exports: JSModuleExport[]\n}\n\nexport type JSModuleLoadSuccess = string\nexport type JSModuleLoadFailure = Error | QuickJSHandle\nexport type JSModuleLoadResult =\n | JSModuleLoadSuccess\n | SuccessOrFail\n\nexport interface JSModuleLoaderAsync {\n /** Load module (async) */\n (moduleName: string, context: QuickJSAsyncContext):\n | JSModuleLoadResult\n | Promise\n}\nexport interface JSModuleLoader {\n /** Load module (sync) */\n (moduleName: string, context: QuickJSContext): JSModuleLoadResult\n}\n\nexport type JSModuleNormalizeSuccess = string\nexport type JSModuleNormalizeFailure = Error | QuickJSHandle\nexport type JSModuleNormalizeResult =\n | JSModuleNormalizeSuccess\n | SuccessOrFail\n\nexport interface JSModuleNormalizerAsync {\n (baseModuleName: string, requestedName: string, vm: QuickJSAsyncContext):\n | JSModuleNormalizeResult\n | Promise\n}\nexport interface JSModuleNormalizer extends JSModuleNormalizerAsync {\n (baseModuleName: string, requestedName: string, vm: QuickJSContext): JSModuleNormalizeResult\n}\n\ntype TODO = never\n\nconst UnstableSymbol = Symbol(\"Unstable\")\n\nexport type PartiallyImplemented = never &\n T & {\n [UnstableSymbol]: \"This feature may unimplemented, broken, throw errors, etc.\"\n }\n\nexport interface RuntimeOptionsBase {\n interruptHandler?: InterruptHandler\n maxStackSizeBytes?: number\n memoryLimitBytes?: number\n\n promiseRejectionHandler?: TODO<\"JSHostPromiseRejectionTracker\">\n runtimeInfo?: TODO<\"JS_SetRuntimeInfo\", string>\n gcThreshold?: TODO<\"JS_SetGCThreshold\", number>\n sharedArrayBufferFunctions?: TODO<\n \"JS_SetJSSharedArrayBufferFunctions\",\n { sab_alloc: TODO; sab_free: TODO; sab_dup: TODO; sab_opaque: TODO }\n >\n\n /**\n * Extra lifetimes the runtime should dispose of after it is destroyed.\n * @private\n */\n ownedLifetimes?: Disposable[]\n}\n\nexport interface RuntimeOptions extends RuntimeOptionsBase {\n moduleLoader?: JSModuleLoader\n}\n\nexport interface AsyncRuntimeOptions extends RuntimeOptionsBase {\n moduleLoader?: JSModuleLoaderAsync | JSModuleLoader\n}\n\n/**\n * Work in progress.\n */\nexport type Intrinsic =\n | \"BaseObjects\"\n | \"Date\"\n | \"Eval\"\n | \"StringNormalize\"\n | \"RegExp\"\n | \"RegExpCompiler\"\n | \"JSON\"\n | \"Proxy\"\n | \"MapSet\"\n | \"TypedArrays\"\n | \"Promise\"\n | \"BigInt\"\n | \"BigFloat\"\n | \"BigDecimal\"\n | \"OperatorOverloading\"\n | \"BignumExt\"\n\n// For informational purposes\nconst DefaultIntrinsicsList = [\n \"BaseObjects\",\n \"Date\",\n \"Eval\",\n \"StringNormalize\",\n \"RegExp\",\n \"JSON\",\n \"Proxy\",\n \"MapSet\",\n \"TypedArrays\",\n \"Promise\",\n] as const\n\n/**\n * Work in progress.\n */\nexport const DefaultIntrinsics = Symbol(\"DefaultIntrinsics\")\n\nexport interface ContextOptions {\n /**\n * What built-in objects and language features to enable?\n * If unset, the default intrinsics will be used.\n * To omit all intrinsics, pass an empty array.\n */\n intrinsics?: PartiallyImplemented | typeof DefaultIntrinsics\n\n /**\n * Wrap the provided context instead of constructing a new one.\n * @private\n */\n contextPointer?: JSContextPointer\n\n /**\n * Extra lifetimes the context should dispose of after it is destroyed.\n * @private\n */\n ownedLifetimes?: Disposable[]\n}\n\nexport interface ContextEvalOptions {\n /** Global code (default) */\n type?: \"global\" | \"module\"\n /** Force \"strict\" mode */\n strict?: boolean\n /** Force \"strip\" mode */\n strip?: boolean\n /**\n * compile but do not run. The result is an object with a\n * JS_TAG_FUNCTION_BYTECODE or JS_TAG_MODULE tag. It can be executed\n * with JS_EvalFunction().\n */\n compileOnly?: boolean\n /** don't include the stack frames before this eval in the Error() backtraces */\n backtraceBarrier?: boolean\n}\n\n/** Convert [[ContextEvalOptions]] to a bitfield flags */\nexport function evalOptionsToFlags(evalOptions: ContextEvalOptions | number | undefined): number {\n if (typeof evalOptions === \"number\") {\n return evalOptions\n }\n\n if (evalOptions === undefined) {\n return 0\n }\n\n const { type, strict, strip, compileOnly, backtraceBarrier } = evalOptions\n let flags = 0\n if (type === \"global\") flags |= EvalFlags.JS_EVAL_TYPE_GLOBAL\n if (type === \"module\") flags |= EvalFlags.JS_EVAL_TYPE_MODULE\n if (strict) flags |= EvalFlags.JS_EVAL_FLAG_STRICT\n if (strip) flags |= EvalFlags.JS_EVAL_FLAG_STRIP\n if (compileOnly) flags |= EvalFlags.JS_EVAL_FLAG_COMPILE_ONLY\n if (backtraceBarrier) flags |= EvalFlags.JS_EVAL_FLAG_BACKTRACE_BARRIER\n return flags\n}\n\nexport type PromiseExecutor = (\n resolve: (value: ResolveT | PromiseLike) => void,\n reject: (reason: RejectT) => void\n) => void\n\nexport function concat(...values: Array): T[] {\n let result: T[] = []\n for (const value of values) {\n if (value !== undefined) {\n result = result.concat(value)\n }\n }\n return result\n}\n"]} \ No newline at end of file diff --git a/node_modules/@tootallnate/quickjs-emscripten/dist/variants.d.ts b/node_modules/@tootallnate/quickjs-emscripten/dist/variants.d.ts deleted file mode 100644 index 9983884..0000000 --- a/node_modules/@tootallnate/quickjs-emscripten/dist/variants.d.ts +++ /dev/null @@ -1,113 +0,0 @@ -import type { QuickJSFFI as ReleaseSyncFFI } from "./generated/ffi.WASM_RELEASE_SYNC"; -import type { EmscriptenModuleLoader, QuickJSEmscriptenModule, QuickJSAsyncEmscriptenModule } from "./emscripten-types"; -import type { QuickJSWASMModule } from "./module"; -import type { QuickJSAsyncWASMModule } from "./module-asyncify"; -/** @private */ -export type QuickJSFFI = ReleaseSyncFFI; -/** @private */ -export type QuickJSFFIConstructor = typeof ReleaseSyncFFI; -/** @private */ -export type QuickJSAsyncFFI = any; -/** @private */ -export type QuickJSAsyncFFIConstructor = any; -/** - * quickjs-emscripten provides multiple build variants of the core WebAssembly - * module. These variants are each intended for a different use case. - * - * To create an instance of the library using a specific build variant, pass the - * build variant to {@link newQuickJSWASMModule} or {@link newQuickJSAsyncWASMModule}. - * - * Synchronous build variants: - * - * - {@link RELEASE_SYNC} - This is the default synchronous variant, for general purpose use. - * - {@link DEBUG_SYNC} - Synchronous build variant for debugging memory leaks. - */ -export interface SyncBuildVariant { - type: "sync"; - importFFI: () => Promise; - importModuleLoader: () => Promise>; -} -/** - * quickjs-emscripten provides multiple build variants of the core WebAssembly - * module. These variants are each intended for a different use case. - * - * To create an instance of the library using a specific build variant, pass the - * build variant to {@link newQuickJSWASMModule} or {@link newQuickJSAsyncWASMModule}. - * - * Asyncified build variants: - * - * - {@link RELEASE_ASYNC} - This is the default asyncified build variant, for general purpose use. - * - {@link DEBUG_ASYNC} - Asyncified build variant with debug logging. - */ -export interface AsyncBuildVariant { - type: "async"; - importFFI: () => Promise; - importModuleLoader: () => Promise>; -} -/** - * Create a new, completely isolated WebAssembly module containing the QuickJS library. - * See the documentation on [[QuickJSWASMModule]]. - * - * Note that there is a hard limit on the number of WebAssembly modules in older - * versions of v8: - * https://bugs.chromium.org/p/v8/issues/detail?id=12076 - */ -export declare function newQuickJSWASMModule( -/** - * Optionally, pass a {@link SyncBuildVariant} to construct a different WebAssembly module. - */ -variant?: SyncBuildVariant): Promise; -/** - * Create a new, completely isolated WebAssembly module containing a version of the QuickJS library - * compiled with Emscripten's [ASYNCIFY](https://emscripten.org/docs/porting/asyncify.html) transform. - * - * This version of the library offers features that enable synchronous code - * inside the VM to interact with asynchronous code in the host environment. - * See the documentation on [[QuickJSAsyncWASMModule]], [[QuickJSAsyncRuntime]], - * and [[QuickJSAsyncContext]]. - * - * Note that there is a hard limit on the number of WebAssembly modules in older - * versions of v8: - * https://bugs.chromium.org/p/v8/issues/detail?id=12076 - */ -export declare function newQuickJSAsyncWASMModule( -/** - * Optionally, pass a {@link AsyncBuildVariant} to construct a different WebAssembly module. - */ -variant?: AsyncBuildVariant): Promise; -/** - * Helper intended to memoize the creation of a WebAssembly module. - * ```typescript - * const getDebugModule = memoizePromiseFactory(() => newQuickJSWASMModule(DEBUG_SYNC)) - * ``` - */ -export declare function memoizePromiseFactory(fn: () => Promise): () => Promise; -/** - * This build variant is compiled with `-fsanitize=leak`. It instruments all - * memory allocations and when combined with sourcemaps, can present stack trace - * locations where memory leaks occur. - * - * See [[TestQuickJSWASMModule]] which provides access to the leak sanitizer via - * {@link TestQuickJSWASMModule.assertNoMemoryAllocated}. - * - * The downside is that it's 100-1000x slower than the other variants. - * Suggested use case: automated testing, regression testing, and interactive - * debugging. - */ -export declare const DEBUG_SYNC: SyncBuildVariant; -/** - * This is the default (synchronous) build variant. - * {@link getQuickJS} returns a memoized instance of this build variant. - */ -export declare const RELEASE_SYNC: SyncBuildVariant; -/** - * The async debug build variant may or may not have the sanitizer enabled. - * It does print a lot of debug logs. - * - * Suggested use case: interactive debugging only. - */ -export declare const DEBUG_ASYNC: AsyncBuildVariant; -/** - * This is the default asyncified build variant. - */ -export declare const RELEASE_ASYNC: AsyncBuildVariant; diff --git a/node_modules/@tootallnate/quickjs-emscripten/dist/variants.js b/node_modules/@tootallnate/quickjs-emscripten/dist/variants.js deleted file mode 100644 index 4b40365..0000000 --- a/node_modules/@tootallnate/quickjs-emscripten/dist/variants.js +++ /dev/null @@ -1,169 +0,0 @@ -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { - Object.defineProperty(o, "default", { enumerable: true, value: v }); -}) : function(o, v) { - o["default"] = v; -}); -var __importStar = (this && this.__importStar) || function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); - __setModuleDefault(result, mod); - return result; -}; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.RELEASE_ASYNC = exports.DEBUG_ASYNC = exports.RELEASE_SYNC = exports.DEBUG_SYNC = exports.memoizePromiseFactory = exports.newQuickJSAsyncWASMModule = exports.newQuickJSWASMModule = void 0; -const esmHelpers_1 = require("./esmHelpers"); -/** - * Create a new, completely isolated WebAssembly module containing the QuickJS library. - * See the documentation on [[QuickJSWASMModule]]. - * - * Note that there is a hard limit on the number of WebAssembly modules in older - * versions of v8: - * https://bugs.chromium.org/p/v8/issues/detail?id=12076 - */ -async function newQuickJSWASMModule( -/** - * Optionally, pass a {@link SyncBuildVariant} to construct a different WebAssembly module. - */ -variant = exports.RELEASE_SYNC) { - const [wasmModuleLoader, QuickJSFFI, { QuickJSWASMModule }] = await Promise.all([ - variant.importModuleLoader(), - variant.importFFI(), - Promise.resolve().then(() => __importStar(require("./module.js"))).then(esmHelpers_1.unwrapTypescript), - ]); - const wasmModule = await wasmModuleLoader(); - wasmModule.type = "sync"; - const ffi = new QuickJSFFI(wasmModule); - return new QuickJSWASMModule(wasmModule, ffi); -} -exports.newQuickJSWASMModule = newQuickJSWASMModule; -/** - * Create a new, completely isolated WebAssembly module containing a version of the QuickJS library - * compiled with Emscripten's [ASYNCIFY](https://emscripten.org/docs/porting/asyncify.html) transform. - * - * This version of the library offers features that enable synchronous code - * inside the VM to interact with asynchronous code in the host environment. - * See the documentation on [[QuickJSAsyncWASMModule]], [[QuickJSAsyncRuntime]], - * and [[QuickJSAsyncContext]]. - * - * Note that there is a hard limit on the number of WebAssembly modules in older - * versions of v8: - * https://bugs.chromium.org/p/v8/issues/detail?id=12076 - */ -async function newQuickJSAsyncWASMModule( -/** - * Optionally, pass a {@link AsyncBuildVariant} to construct a different WebAssembly module. - */ -variant = exports.RELEASE_ASYNC) { - const [wasmModuleLoader, QuickJSAsyncFFI, { QuickJSAsyncWASMModule }] = await Promise.all([ - variant.importModuleLoader(), - variant.importFFI(), - Promise.resolve().then(() => __importStar(require("./module-asyncify.js"))).then(esmHelpers_1.unwrapTypescript), - ]); - const wasmModule = await wasmModuleLoader(); - wasmModule.type = "async"; - const ffi = new QuickJSAsyncFFI(wasmModule); - return new QuickJSAsyncWASMModule(wasmModule, ffi); -} -exports.newQuickJSAsyncWASMModule = newQuickJSAsyncWASMModule; -/** - * Helper intended to memoize the creation of a WebAssembly module. - * ```typescript - * const getDebugModule = memoizePromiseFactory(() => newQuickJSWASMModule(DEBUG_SYNC)) - * ``` - */ -function memoizePromiseFactory(fn) { - let promise; - return () => { - return (promise ?? (promise = fn())); - }; -} -exports.memoizePromiseFactory = memoizePromiseFactory; -/** - * This build variant is compiled with `-fsanitize=leak`. It instruments all - * memory allocations and when combined with sourcemaps, can present stack trace - * locations where memory leaks occur. - * - * See [[TestQuickJSWASMModule]] which provides access to the leak sanitizer via - * {@link TestQuickJSWASMModule.assertNoMemoryAllocated}. - * - * The downside is that it's 100-1000x slower than the other variants. - * Suggested use case: automated testing, regression testing, and interactive - * debugging. - */ -exports.DEBUG_SYNC = { - type: "sync", - async importFFI() { - throw new Error("not implemented"); - // const mod = await import("./generated/ffi.WASM_DEBUG_SYNC.js") - // return unwrapTypescript(mod).QuickJSFFI - }, - async importModuleLoader() { - throw new Error("not implemented"); - // const mod = await import("./generated/emscripten-module.WASM_DEBUG_SYNC.js") - // return unwrapJavascript(mod).default - }, -}; -/** - * This is the default (synchronous) build variant. - * {@link getQuickJS} returns a memoized instance of this build variant. - */ -exports.RELEASE_SYNC = { - type: "sync", - async importFFI() { - const mod = await Promise.resolve().then(() => __importStar(require("./generated/ffi.WASM_RELEASE_SYNC.js"))); - return (0, esmHelpers_1.unwrapTypescript)(mod).QuickJSFFI; - }, - async importModuleLoader() { - const mod = await Promise.resolve().then(() => __importStar(require("./generated/emscripten-module.WASM_RELEASE_SYNC.js"))); - return (0, esmHelpers_1.unwrapJavascript)(mod); - }, -}; -/** - * The async debug build variant may or may not have the sanitizer enabled. - * It does print a lot of debug logs. - * - * Suggested use case: interactive debugging only. - */ -exports.DEBUG_ASYNC = { - type: "async", - async importFFI() { - throw new Error("not implemented"); - // const mod = await import("./generated/ffi.WASM_DEBUG_ASYNCIFY.js") - // return unwrapTypescript(mod).QuickJSAsyncFFI - }, - async importModuleLoader() { - throw new Error("not implemented"); - // const mod = await import("./generated/emscripten-module.WASM_DEBUG_ASYNCIFY.js") - // return unwrapJavascript(mod).default - }, -}; -/** - * This is the default asyncified build variant. - */ -exports.RELEASE_ASYNC = { - type: "async", - async importFFI() { - throw new Error("not implemented"); - // const mod = await import("./generated/ffi.WASM_RELEASE_ASYNCIFY.js") - // return unwrapTypescript(mod).QuickJSAsyncFFI - }, - async importModuleLoader() { - throw new Error("not implemented"); - // const mod = await import("./generated/emscripten-module.WASM_RELEASE_ASYNCIFY.js") - // return unwrapJavascript(mod).default - }, -}; -//# sourceMappingURL=variants.js.map \ No newline at end of file diff --git a/node_modules/@tootallnate/quickjs-emscripten/dist/variants.js.map b/node_modules/@tootallnate/quickjs-emscripten/dist/variants.js.map deleted file mode 100644 index 788253f..0000000 --- a/node_modules/@tootallnate/quickjs-emscripten/dist/variants.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"variants.js","sourceRoot":"","sources":["../ts/variants.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAWA,6CAAiE;AA+CjE;;;;;;;GAOG;AACI,KAAK,UAAU,oBAAoB;AACxC;;GAEG;AACH,UAA4B,oBAAY;IAExC,MAAM,CAAC,gBAAgB,EAAE,UAAU,EAAE,EAAE,iBAAiB,EAAE,CAAC,GAAG,MAAM,OAAO,CAAC,GAAG,CAAC;QAC9E,OAAO,CAAC,kBAAkB,EAAE;QAC5B,OAAO,CAAC,SAAS,EAAE;QACnB,kDAAO,aAAa,IAAE,IAAI,CAAC,6BAAgB,CAAC;KAC7C,CAAC,CAAA;IACF,MAAM,UAAU,GAAG,MAAM,gBAAgB,EAAE,CAAA;IAC3C,UAAU,CAAC,IAAI,GAAG,MAAM,CAAA;IACxB,MAAM,GAAG,GAAG,IAAI,UAAU,CAAC,UAAU,CAAC,CAAA;IACtC,OAAO,IAAI,iBAAiB,CAAC,UAAU,EAAE,GAAG,CAAC,CAAA;AAC/C,CAAC;AAfD,oDAeC;AAED;;;;;;;;;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,6BAAgB,EAAC,GAAG,CAAC,CAAC,UAAU,CAAA;IACzC,CAAC;IACD,KAAK,CAAC,kBAAkB;QACtB,MAAM,GAAG,GAAG,wDAAa,oDAAoD,GAAC,CAAA;QAC9E,OAAO,IAAA,6BAAgB,EAAC,GAAG,CAAC,CAAA;IAC9B,CAAC;CACF,CAAA;AAED;;;;;GAKG;AACU,QAAA,WAAW,GAAsB;IAC5C,IAAI,EAAE,OAAO;IACb,KAAK,CAAC,SAAS;QACb,MAAM,IAAI,KAAK,CAAC,iBAAiB,CAAC,CAAA;QAClC,qEAAqE;QACrE,+CAA+C;IACjD,CAAC;IACD,KAAK,CAAC,kBAAkB;QACtB,MAAM,IAAI,KAAK,CAAC,iBAAiB,CAAC,CAAA;QAClC,mFAAmF;QACnF,uCAAuC;IACzC,CAAC;CACF,CAAA;AAED;;GAEG;AACU,QAAA,aAAa,GAAsB;IAC9C,IAAI,EAAE,OAAO;IACb,KAAK,CAAC,SAAS;QACb,MAAM,IAAI,KAAK,CAAC,iBAAiB,CAAC,CAAA;QAClC,uEAAuE;QACvE,+CAA+C;IACjD,CAAC;IACD,KAAK,CAAC,kBAAkB;QACtB,MAAM,IAAI,KAAK,CAAC,iBAAiB,CAAC,CAAA;QAClC,qFAAqF;QACrF,uCAAuC;IACzC,CAAC;CACF,CAAA","sourcesContent":["//import type { QuickJSAsyncFFI as DebugAsyncifyFFI } from \"./generated/ffi.WASM_DEBUG_ASYNCIFY\"\n//import type { QuickJSAsyncFFI as ReleaseAsyncifyFFI } from \"./generated/ffi.WASM_RELEASE_ASYNCIFY\"\n//import type { QuickJSFFI as DebugSyncFFI } from \"./generated/ffi.WASM_DEBUG_SYNC\"\nimport type { QuickJSFFI as ReleaseSyncFFI } from \"./generated/ffi.WASM_RELEASE_SYNC\"\nimport type {\n EmscriptenModuleLoader,\n QuickJSEmscriptenModule,\n QuickJSAsyncEmscriptenModule,\n} from \"./emscripten-types\"\nimport type { QuickJSWASMModule } from \"./module\"\nimport type { QuickJSAsyncWASMModule } from \"./module-asyncify\"\nimport { unwrapTypescript, unwrapJavascript } from \"./esmHelpers\"\n\n/** @private */\nexport type QuickJSFFI = ReleaseSyncFFI\n/** @private */\nexport type QuickJSFFIConstructor = typeof ReleaseSyncFFI\n/** @private */\nexport type QuickJSAsyncFFI = any\n/** @private */\nexport type QuickJSAsyncFFIConstructor = any\n\n/**\n * quickjs-emscripten provides multiple build variants of the core WebAssembly\n * module. These variants are each intended for a different use case.\n *\n * To create an instance of the library using a specific build variant, pass the\n * build variant to {@link newQuickJSWASMModule} or {@link newQuickJSAsyncWASMModule}.\n *\n * Synchronous build variants:\n *\n * - {@link RELEASE_SYNC} - This is the default synchronous variant, for general purpose use.\n * - {@link DEBUG_SYNC} - Synchronous build variant for debugging memory leaks.\n */\nexport interface SyncBuildVariant {\n type: \"sync\"\n importFFI: () => Promise\n importModuleLoader: () => Promise>\n}\n\n/**\n * quickjs-emscripten provides multiple build variants of the core WebAssembly\n * module. These variants are each intended for a different use case.\n *\n * To create an instance of the library using a specific build variant, pass the\n * build variant to {@link newQuickJSWASMModule} or {@link newQuickJSAsyncWASMModule}.\n *\n * Asyncified build variants:\n *\n * - {@link RELEASE_ASYNC} - This is the default asyncified build variant, for general purpose use.\n * - {@link DEBUG_ASYNC} - Asyncified build variant with debug logging.\n */\nexport interface AsyncBuildVariant {\n type: \"async\"\n importFFI: () => Promise\n importModuleLoader: () => Promise>\n}\n\n/**\n * Create a new, completely isolated WebAssembly module containing the QuickJS library.\n * See the documentation on [[QuickJSWASMModule]].\n *\n * Note that there is a hard limit on the number of WebAssembly modules in older\n * versions of v8:\n * https://bugs.chromium.org/p/v8/issues/detail?id=12076\n */\nexport async function newQuickJSWASMModule(\n /**\n * Optionally, pass a {@link SyncBuildVariant} to construct a different WebAssembly module.\n */\n variant: SyncBuildVariant = RELEASE_SYNC\n): Promise {\n const [wasmModuleLoader, QuickJSFFI, { QuickJSWASMModule }] = await Promise.all([\n variant.importModuleLoader(),\n variant.importFFI(),\n import(\"./module.js\").then(unwrapTypescript),\n ])\n const wasmModule = await wasmModuleLoader()\n wasmModule.type = \"sync\"\n const ffi = new QuickJSFFI(wasmModule)\n return new QuickJSWASMModule(wasmModule, ffi)\n}\n\n/**\n * Create a new, completely isolated WebAssembly module containing a version of the QuickJS library\n * compiled with Emscripten's [ASYNCIFY](https://emscripten.org/docs/porting/asyncify.html) transform.\n *\n * This version of the library offers features that enable synchronous code\n * inside the VM to interact with asynchronous code in the host environment.\n * See the documentation on [[QuickJSAsyncWASMModule]], [[QuickJSAsyncRuntime]],\n * and [[QuickJSAsyncContext]].\n *\n * Note that there is a hard limit on the number of WebAssembly modules in older\n * versions of v8:\n * https://bugs.chromium.org/p/v8/issues/detail?id=12076\n */\nexport async function newQuickJSAsyncWASMModule(\n /**\n * Optionally, pass a {@link AsyncBuildVariant} to construct a different WebAssembly module.\n */\n variant: AsyncBuildVariant = RELEASE_ASYNC\n): Promise {\n const [wasmModuleLoader, QuickJSAsyncFFI, { QuickJSAsyncWASMModule }] = await Promise.all([\n variant.importModuleLoader(),\n variant.importFFI(),\n import(\"./module-asyncify.js\").then(unwrapTypescript),\n ])\n const wasmModule = await wasmModuleLoader()\n wasmModule.type = \"async\"\n const ffi = new QuickJSAsyncFFI(wasmModule)\n return new QuickJSAsyncWASMModule(wasmModule, ffi)\n}\n\n/**\n * Helper intended to memoize the creation of a WebAssembly module.\n * ```typescript\n * const getDebugModule = memoizePromiseFactory(() => newQuickJSWASMModule(DEBUG_SYNC))\n * ```\n */\nexport function memoizePromiseFactory(fn: () => Promise): () => Promise {\n let promise: Promise | undefined\n return () => {\n return (promise ??= fn())\n }\n}\n\n/**\n * This build variant is compiled with `-fsanitize=leak`. It instruments all\n * memory allocations and when combined with sourcemaps, can present stack trace\n * locations where memory leaks occur.\n *\n * See [[TestQuickJSWASMModule]] which provides access to the leak sanitizer via\n * {@link TestQuickJSWASMModule.assertNoMemoryAllocated}.\n *\n * The downside is that it's 100-1000x slower than the other variants.\n * Suggested use case: automated testing, regression testing, and interactive\n * debugging.\n */\nexport const DEBUG_SYNC: SyncBuildVariant = {\n type: \"sync\",\n async importFFI() {\n throw new Error(\"not implemented\")\n // const mod = await import(\"./generated/ffi.WASM_DEBUG_SYNC.js\")\n // return unwrapTypescript(mod).QuickJSFFI\n },\n async importModuleLoader() {\n throw new Error(\"not implemented\")\n // const mod = await import(\"./generated/emscripten-module.WASM_DEBUG_SYNC.js\")\n // return unwrapJavascript(mod).default\n },\n}\n\n/**\n * This is the default (synchronous) build variant.\n * {@link getQuickJS} returns a memoized instance of this build variant.\n */\nexport const RELEASE_SYNC: SyncBuildVariant = {\n type: \"sync\",\n async importFFI() {\n const mod = await import(\"./generated/ffi.WASM_RELEASE_SYNC.js\")\n return unwrapTypescript(mod).QuickJSFFI\n },\n async importModuleLoader() {\n const mod = await import(\"./generated/emscripten-module.WASM_RELEASE_SYNC.js\")\n return unwrapJavascript(mod)\n },\n}\n\n/**\n * The async debug build variant may or may not have the sanitizer enabled.\n * It does print a lot of debug logs.\n *\n * Suggested use case: interactive debugging only.\n */\nexport const DEBUG_ASYNC: AsyncBuildVariant = {\n type: \"async\",\n async importFFI() {\n throw new Error(\"not implemented\")\n // const mod = await import(\"./generated/ffi.WASM_DEBUG_ASYNCIFY.js\")\n // return unwrapTypescript(mod).QuickJSAsyncFFI\n },\n async importModuleLoader() {\n throw new Error(\"not implemented\")\n // const mod = await import(\"./generated/emscripten-module.WASM_DEBUG_ASYNCIFY.js\")\n // return unwrapJavascript(mod).default\n },\n}\n\n/**\n * This is the default asyncified build variant.\n */\nexport const RELEASE_ASYNC: AsyncBuildVariant = {\n type: \"async\",\n async importFFI() {\n throw new Error(\"not implemented\")\n // const mod = await import(\"./generated/ffi.WASM_RELEASE_ASYNCIFY.js\")\n // return unwrapTypescript(mod).QuickJSAsyncFFI\n },\n async importModuleLoader() {\n throw new Error(\"not implemented\")\n // const mod = await import(\"./generated/emscripten-module.WASM_RELEASE_ASYNCIFY.js\")\n // return unwrapJavascript(mod).default\n },\n}\n"]} \ No newline at end of file diff --git a/node_modules/@tootallnate/quickjs-emscripten/dist/vm-interface.d.ts b/node_modules/@tootallnate/quickjs-emscripten/dist/vm-interface.d.ts deleted file mode 100644 index 658687f..0000000 --- a/node_modules/@tootallnate/quickjs-emscripten/dist/vm-interface.d.ts +++ /dev/null @@ -1,68 +0,0 @@ -/** - * Used as an optional. - * `{ value: S } | { error: E }`. - */ -export type SuccessOrFail = { - value: S; - error?: undefined; -} | { - error: F; -}; -export declare function isSuccess(successOrFail: SuccessOrFail): successOrFail is { - value: S; -}; -export declare function isFail(successOrFail: SuccessOrFail): successOrFail is { - error: F; -}; -/** - * Used as an optional for results of a Vm call. - * `{ value: VmHandle } | { error: VmHandle }`. - */ -export type VmCallResult = SuccessOrFail; -/** - * A VmFunctionImplementation takes handles as arguments. - * It should return a handle, or be void. - * - * To indicate an exception, a VMs can throw either a handle (transferred - * directly) or any other Javascript value (only the poperties `name` and - * `message` will be transferred). Or, the VmFunctionImplementation may return - * a VmCallResult's `{ error: handle }` error variant. - * - * VmFunctionImplementation should not free its arguments or its return value. - * It should not retain a reference to its return value or thrown error. - */ -export type VmFunctionImplementation = (this: VmHandle, ...args: VmHandle[]) => VmHandle | VmCallResult | void; -/** - * A minimal interface to a Javascript execution environment. - * - * Higher-level tools should build over the LowLevelJavascriptVm interface to - * share as much as possible between executors. - * - * From https://www.figma.com/blog/how-we-built-the-figma-plugin-system/ - */ -export interface LowLevelJavascriptVm { - global: VmHandle; - undefined: VmHandle; - typeof(handle: VmHandle): string; - getNumber(handle: VmHandle): number; - getString(handle: VmHandle): string; - newNumber(value: number): VmHandle; - newString(value: string): VmHandle; - newObject(prototype?: VmHandle): VmHandle; - newFunction(name: string, value: VmFunctionImplementation): VmHandle; - getProp(handle: VmHandle, key: string | VmHandle): VmHandle; - setProp(handle: VmHandle, key: string | VmHandle, value: VmHandle): void; - defineProp(handle: VmHandle, key: string | VmHandle, descriptor: VmPropertyDescriptor): void; - callFunction(func: VmHandle, thisVal: VmHandle, ...args: VmHandle[]): VmCallResult; - evalCode(code: string, filename?: string): VmCallResult; -} -/** - * From https://www.figma.com/blog/how-we-built-the-figma-plugin-system/ - */ -export interface VmPropertyDescriptor { - value?: VmHandle; - configurable?: boolean; - enumerable?: boolean; - get?: (this: VmHandle) => VmHandle; - set?: (this: VmHandle, value: VmHandle) => void; -} diff --git a/node_modules/@tootallnate/quickjs-emscripten/dist/vm-interface.js b/node_modules/@tootallnate/quickjs-emscripten/dist/vm-interface.js deleted file mode 100644 index b2b7334..0000000 --- a/node_modules/@tootallnate/quickjs-emscripten/dist/vm-interface.js +++ /dev/null @@ -1,12 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.isFail = exports.isSuccess = void 0; -function isSuccess(successOrFail) { - return "error" in successOrFail === false; -} -exports.isSuccess = isSuccess; -function isFail(successOrFail) { - return "error" in successOrFail === true; -} -exports.isFail = isFail; -//# sourceMappingURL=vm-interface.js.map \ No newline at end of file diff --git a/node_modules/@tootallnate/quickjs-emscripten/dist/vm-interface.js.map b/node_modules/@tootallnate/quickjs-emscripten/dist/vm-interface.js.map deleted file mode 100644 index 605d4d3..0000000 --- a/node_modules/@tootallnate/quickjs-emscripten/dist/vm-interface.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"vm-interface.js","sourceRoot":"","sources":["../ts/vm-interface.ts"],"names":[],"mappings":";;;AAaA,SAAgB,SAAS,CAAO,aAAkC;IAChE,OAAO,OAAO,IAAI,aAAa,KAAK,KAAK,CAAA;AAC3C,CAAC;AAFD,8BAEC;AAED,SAAgB,MAAM,CAAO,aAAkC;IAC7D,OAAO,OAAO,IAAI,aAAa,KAAK,IAAI,CAAA;AAC1C,CAAC;AAFD,wBAEC","sourcesContent":["/**\n * Used as an optional.\n * `{ value: S } | { error: E }`.\n */\nexport type SuccessOrFail =\n | {\n value: S\n error?: undefined\n }\n | {\n error: F\n }\n\nexport function isSuccess(successOrFail: SuccessOrFail): successOrFail is { value: S } {\n return \"error\" in successOrFail === false\n}\n\nexport function isFail(successOrFail: SuccessOrFail): successOrFail is { error: F } {\n return \"error\" in successOrFail === true\n}\n\n/**\n * Used as an optional for results of a Vm call.\n * `{ value: VmHandle } | { error: VmHandle }`.\n */\nexport type VmCallResult = SuccessOrFail\n\n/**\n * A VmFunctionImplementation takes handles as arguments.\n * It should return a handle, or be void.\n *\n * To indicate an exception, a VMs can throw either a handle (transferred\n * directly) or any other Javascript value (only the poperties `name` and\n * `message` will be transferred). Or, the VmFunctionImplementation may return\n * a VmCallResult's `{ error: handle }` error variant.\n *\n * VmFunctionImplementation should not free its arguments or its return value.\n * It should not retain a reference to its return value or thrown error.\n */\nexport type VmFunctionImplementation = (\n this: VmHandle,\n ...args: VmHandle[]\n) => VmHandle | VmCallResult | void\n\n/**\n * A minimal interface to a Javascript execution environment.\n *\n * Higher-level tools should build over the LowLevelJavascriptVm interface to\n * share as much as possible between executors.\n *\n * From https://www.figma.com/blog/how-we-built-the-figma-plugin-system/\n */\nexport interface LowLevelJavascriptVm {\n global: VmHandle\n undefined: VmHandle\n\n typeof(handle: VmHandle): string\n\n getNumber(handle: VmHandle): number\n getString(handle: VmHandle): string\n\n newNumber(value: number): VmHandle\n newString(value: string): VmHandle\n newObject(prototype?: VmHandle): VmHandle\n newFunction(name: string, value: VmFunctionImplementation): VmHandle\n\n // For accessing properties of objects\n getProp(handle: VmHandle, key: string | VmHandle): VmHandle\n setProp(handle: VmHandle, key: string | VmHandle, value: VmHandle): void\n defineProp(\n handle: VmHandle,\n key: string | VmHandle,\n descriptor: VmPropertyDescriptor\n ): void\n\n callFunction(func: VmHandle, thisVal: VmHandle, ...args: VmHandle[]): VmCallResult\n evalCode(code: string, filename?: string): VmCallResult\n}\n\n/**\n * From https://www.figma.com/blog/how-we-built-the-figma-plugin-system/\n */\nexport interface VmPropertyDescriptor {\n value?: VmHandle\n configurable?: boolean\n enumerable?: boolean\n get?: (this: VmHandle) => VmHandle\n set?: (this: VmHandle, value: VmHandle) => void\n}\n"]} \ No newline at end of file diff --git a/node_modules/@tootallnate/quickjs-emscripten/package.json b/node_modules/@tootallnate/quickjs-emscripten/package.json deleted file mode 100644 index 39c152b..0000000 --- a/node_modules/@tootallnate/quickjs-emscripten/package.json +++ /dev/null @@ -1,60 +0,0 @@ -{ - "name": "@tootallnate/quickjs-emscripten", - "version": "0.23.0", - "main": "dist/index.js", - "sideEffects": false, - "license": "MIT", - "keywords": [ - "eval", - "quickjs", - "vm", - "interpreter", - "runtime", - "safe", - "emscripten", - "wasm" - ], - "repository": { - "type": "git", - "url": "https://github.com/justjake/quickjs-emscripten" - }, - "files": [ - "c/interface.c", - "dist/**/*", - "!dist/*.test.js", - "!dist/*.tsbuildinfo" - ], - "scripts": { - "tarball": "make build/quickjs-emscripten.tgz", - "clean": "make clean", - "tsc": "node_modules/.bin/tsc", - "build": "make dist", - "doc": "typedoc", - "test": "TS_NODE_TRANSPILE_ONLY=true mocha 'ts/**/*.test.ts'", - "test-dist": "cd dist && TS_NODE_TRANSPILE_ONLY=true mocha --require source-map-support/register *.test.js", - "test-fast": "TEST_NO_ASYNC=true yarn test 'ts/**/*.test.ts'", - "test-all": "TEST_LEAK=1 yarn test && TEST_LEAK=1 yarn test-dist", - "prettier": "prettier --write .", - "prettier-check": "prettier --check .", - "update-quickjs": "git subtree pull --prefix=quickjs --squash git@github.com:bellard/quickjs.git master", - "smoketest-node": "yarn tarball && ./scripts/smoketest-node.sh", - "smoketest-cra": "yarn tarball && ./scripts/smoketest-website.sh" - }, - "devDependencies": { - "@types/emscripten": "^1.38.0", - "@types/fs-extra": "^9.0.13", - "@types/mocha": "^5.2.7", - "@types/node": "^13.1.4", - "fs-extra": "^10.0.1", - "markserv": "^1.17.4", - "mocha": "7.2.0", - "node-fetch-commonjs": "^3.1.1", - "prettier": "2.8.4", - "source-map-support": "^0.5.21", - "ts-node": "^10.9.1", - "typedoc": "^0.22.0", - "typedoc-plugin-inline-sources": "^1.0.1", - "typedoc-plugin-markdown": "^3.11.12", - "typescript": "^4.9.5" - } -} diff --git a/node_modules/@types/node/LICENSE b/node_modules/@types/node/LICENSE deleted file mode 100644 index 9e841e7..0000000 --- a/node_modules/@types/node/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ - MIT License - - Copyright (c) Microsoft Corporation. - - 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 diff --git a/node_modules/@types/node/README.md b/node_modules/@types/node/README.md deleted file mode 100644 index 65d43f6..0000000 --- a/node_modules/@types/node/README.md +++ /dev/null @@ -1,15 +0,0 @@ -# Installation -> `npm install --save @types/node` - -# Summary -This package contains type definitions for node (https://nodejs.org/). - -# Details -Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node. - -### Additional Details - * Last updated: Wed, 06 Mar 2024 17:07:21 GMT - * Dependencies: [undici-types](https://npmjs.com/package/undici-types) - -# Credits -These definitions were written by [Microsoft TypeScript](https://github.com/Microsoft), [Alberto Schiabel](https://github.com/jkomyno), [Alvis HT Tang](https://github.com/alvis), [Andrew Makarov](https://github.com/r3nya), [Benjamin Toueg](https://github.com/btoueg), [Chigozirim C.](https://github.com/smac89), [David Junger](https://github.com/touffy), [Deividas Bakanas](https://github.com/DeividasBakanas), [Eugene Y. Q. Shen](https://github.com/eyqs), [Hannes Magnusson](https://github.com/Hannes-Magnusson-CK), [Huw](https://github.com/hoo29), [Kelvin Jin](https://github.com/kjin), [Klaus Meinhardt](https://github.com/ajafff), [Lishude](https://github.com/islishude), [Mariusz Wiktorczyk](https://github.com/mwiktorczyk), [Mohsen Azimi](https://github.com/mohsen1), [Nikita Galkin](https://github.com/galkin), [Parambir Singh](https://github.com/parambirs), [Sebastian Silbermann](https://github.com/eps1lon), [Thomas den Hollander](https://github.com/ThomasdenH), [Wilco Bakker](https://github.com/WilcoBakker), [wwwy3y3](https://github.com/wwwy3y3), [Samuel Ainsworth](https://github.com/samuela), [Kyle Uehlein](https://github.com/kuehlein), [Thanik Bhongbhibhat](https://github.com/bhongy), [Marcin Kopacz](https://github.com/chyzwar), [Trivikram Kamat](https://github.com/trivikr), [Junxiao Shi](https://github.com/yoursunny), [Ilia Baryshnikov](https://github.com/qwelias), [ExE Boss](https://github.com/ExE-Boss), [Piotr Błażejewicz](https://github.com/peterblazejewicz), [Anna Henningsen](https://github.com/addaleax), [Victor Perin](https://github.com/victorperin), [Yongsheng Zhang](https://github.com/ZYSzys), [NodeJS Contributors](https://github.com/NodeJS), [Linus Unnebäck](https://github.com/LinusU), [wafuwafu13](https://github.com/wafuwafu13), [Matteo Collina](https://github.com/mcollina), and [Dmitry Semigradsky](https://github.com/Semigradsky). diff --git a/node_modules/@types/node/assert.d.ts b/node_modules/@types/node/assert.d.ts deleted file mode 100644 index cd82143..0000000 --- a/node_modules/@types/node/assert.d.ts +++ /dev/null @@ -1,996 +0,0 @@ -/** - * The `node:assert` module provides a set of assertion functions for verifying - * invariants. - * @see [source](https://github.com/nodejs/node/blob/v20.2.0/lib/assert.js) - */ -declare module "assert" { - /** - * An alias of {@link ok}. - * @since v0.5.9 - * @param value The input that is checked for being truthy. - */ - function assert(value: unknown, message?: string | Error): asserts value; - namespace assert { - /** - * Indicates the failure of an assertion. All errors thrown by the `node:assert`module will be instances of the `AssertionError` class. - */ - class AssertionError extends Error { - /** - * Set to the `actual` argument for methods such as {@link assert.strictEqual()}. - */ - actual: unknown; - /** - * Set to the `expected` argument for methods such as {@link assert.strictEqual()}. - */ - expected: unknown; - /** - * Set to the passed in operator value. - */ - operator: string; - /** - * Indicates if the message was auto-generated (`true`) or not. - */ - generatedMessage: boolean; - /** - * Value is always `ERR_ASSERTION` to show that the error is an assertion error. - */ - code: "ERR_ASSERTION"; - constructor(options?: { - /** If provided, the error message is set to this value. */ - message?: string | undefined; - /** The `actual` property on the error instance. */ - actual?: unknown | undefined; - /** The `expected` property on the error instance. */ - expected?: unknown | undefined; - /** The `operator` property on the error instance. */ - operator?: string | undefined; - /** If provided, the generated stack trace omits frames before this function. */ - // eslint-disable-next-line @typescript-eslint/ban-types - stackStartFn?: Function | undefined; - }); - } - /** - * This feature is deprecated and will be removed in a future version. - * Please consider using alternatives such as the `mock` helper function. - * @since v14.2.0, v12.19.0 - * @deprecated Deprecated - */ - class CallTracker { - /** - * The wrapper function is expected to be called exactly `exact` times. If the - * function has not been called exactly `exact` times when `tracker.verify()` is called, then `tracker.verify()` will throw an - * error. - * - * ```js - * import assert from 'node:assert'; - * - * // Creates call tracker. - * const tracker = new assert.CallTracker(); - * - * function func() {} - * - * // Returns a function that wraps func() that must be called exact times - * // before tracker.verify(). - * const callsfunc = tracker.calls(func); - * ``` - * @since v14.2.0, v12.19.0 - * @param [fn='A no-op function'] - * @param [exact=1] - * @return that wraps `fn`. - */ - calls(exact?: number): () => void; - calls any>(fn?: Func, exact?: number): Func; - /** - * Example: - * - * ```js - * import assert from 'node:assert'; - * - * const tracker = new assert.CallTracker(); - * - * function func() {} - * const callsfunc = tracker.calls(func); - * callsfunc(1, 2, 3); - * - * assert.deepStrictEqual(tracker.getCalls(callsfunc), - * [{ thisArg: undefined, arguments: [1, 2, 3] }]); - * ``` - * @since v18.8.0, v16.18.0 - * @param fn - * @return An Array with all the calls to a tracked function. - */ - getCalls(fn: Function): CallTrackerCall[]; - /** - * The arrays contains information about the expected and actual number of calls of - * the functions that have not been called the expected number of times. - * - * ```js - * import assert from 'node:assert'; - * - * // Creates call tracker. - * const tracker = new assert.CallTracker(); - * - * function func() {} - * - * // Returns a function that wraps func() that must be called exact times - * // before tracker.verify(). - * const callsfunc = tracker.calls(func, 2); - * - * // Returns an array containing information on callsfunc() - * console.log(tracker.report()); - * // [ - * // { - * // message: 'Expected the func function to be executed 2 time(s) but was - * // executed 0 time(s).', - * // actual: 0, - * // expected: 2, - * // operator: 'func', - * // stack: stack trace - * // } - * // ] - * ``` - * @since v14.2.0, v12.19.0 - * @return An Array of objects containing information about the wrapper functions returned by `calls`. - */ - report(): CallTrackerReportInformation[]; - /** - * Reset calls of the call tracker. - * If a tracked function is passed as an argument, the calls will be reset for it. - * If no arguments are passed, all tracked functions will be reset. - * - * ```js - * import assert from 'node:assert'; - * - * const tracker = new assert.CallTracker(); - * - * function func() {} - * const callsfunc = tracker.calls(func); - * - * callsfunc(); - * // Tracker was called once - * assert.strictEqual(tracker.getCalls(callsfunc).length, 1); - * - * tracker.reset(callsfunc); - * assert.strictEqual(tracker.getCalls(callsfunc).length, 0); - * ``` - * @since v18.8.0, v16.18.0 - * @param fn a tracked function to reset. - */ - reset(fn?: Function): void; - /** - * Iterates through the list of functions passed to `tracker.calls()` and will throw an error for functions that - * have not been called the expected number of times. - * - * ```js - * import assert from 'node:assert'; - * - * // Creates call tracker. - * const tracker = new assert.CallTracker(); - * - * function func() {} - * - * // Returns a function that wraps func() that must be called exact times - * // before tracker.verify(). - * const callsfunc = tracker.calls(func, 2); - * - * callsfunc(); - * - * // Will throw an error since callsfunc() was only called once. - * tracker.verify(); - * ``` - * @since v14.2.0, v12.19.0 - */ - verify(): void; - } - interface CallTrackerCall { - thisArg: object; - arguments: unknown[]; - } - interface CallTrackerReportInformation { - message: string; - /** The actual number of times the function was called. */ - actual: number; - /** The number of times the function was expected to be called. */ - expected: number; - /** The name of the function that is wrapped. */ - operator: string; - /** A stack trace of the function. */ - stack: object; - } - type AssertPredicate = RegExp | (new() => object) | ((thrown: unknown) => boolean) | object | Error; - /** - * Throws an `AssertionError` with the provided error message or a default - * error message. If the `message` parameter is an instance of an `Error` then - * it will be thrown instead of the `AssertionError`. - * - * ```js - * import assert from 'node:assert/strict'; - * - * assert.fail(); - * // AssertionError [ERR_ASSERTION]: Failed - * - * assert.fail('boom'); - * // AssertionError [ERR_ASSERTION]: boom - * - * assert.fail(new TypeError('need array')); - * // TypeError: need array - * ``` - * - * Using `assert.fail()` with more than two arguments is possible but deprecated. - * See below for further details. - * @since v0.1.21 - * @param [message='Failed'] - */ - function fail(message?: string | Error): never; - /** @deprecated since v10.0.0 - use fail([message]) or other assert functions instead. */ - function fail( - actual: unknown, - expected: unknown, - message?: string | Error, - operator?: string, - // eslint-disable-next-line @typescript-eslint/ban-types - stackStartFn?: Function, - ): never; - /** - * Tests if `value` is truthy. It is equivalent to`assert.equal(!!value, true, message)`. - * - * If `value` is not truthy, an `AssertionError` is thrown with a `message`property set equal to the value of the `message` parameter. If the `message`parameter is `undefined`, a default - * error message is assigned. If the `message`parameter is an instance of an `Error` then it will be thrown instead of the`AssertionError`. - * If no arguments are passed in at all `message` will be set to the string:`` 'No value argument passed to `assert.ok()`' ``. - * - * Be aware that in the `repl` the error message will be different to the one - * thrown in a file! See below for further details. - * - * ```js - * import assert from 'node:assert/strict'; - * - * assert.ok(true); - * // OK - * assert.ok(1); - * // OK - * - * assert.ok(); - * // AssertionError: No value argument passed to `assert.ok()` - * - * assert.ok(false, 'it\'s false'); - * // AssertionError: it's false - * - * // In the repl: - * assert.ok(typeof 123 === 'string'); - * // AssertionError: false == true - * - * // In a file (e.g. test.js): - * assert.ok(typeof 123 === 'string'); - * // AssertionError: The expression evaluated to a falsy value: - * // - * // assert.ok(typeof 123 === 'string') - * - * assert.ok(false); - * // AssertionError: The expression evaluated to a falsy value: - * // - * // assert.ok(false) - * - * assert.ok(0); - * // AssertionError: The expression evaluated to a falsy value: - * // - * // assert.ok(0) - * ``` - * - * ```js - * import assert from 'node:assert/strict'; - * - * // Using `assert()` works the same: - * assert(0); - * // AssertionError: The expression evaluated to a falsy value: - * // - * // assert(0) - * ``` - * @since v0.1.21 - */ - function ok(value: unknown, message?: string | Error): asserts value; - /** - * **Strict assertion mode** - * - * An alias of {@link strictEqual}. - * - * **Legacy assertion mode** - * - * > Stability: 3 - Legacy: Use {@link strictEqual} instead. - * - * Tests shallow, coercive equality between the `actual` and `expected` parameters - * using the [`==` operator](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Equality). `NaN` is specially handled - * and treated as being identical if both sides are `NaN`. - * - * ```js - * import assert from 'node:assert'; - * - * assert.equal(1, 1); - * // OK, 1 == 1 - * assert.equal(1, '1'); - * // OK, 1 == '1' - * assert.equal(NaN, NaN); - * // OK - * - * assert.equal(1, 2); - * // AssertionError: 1 == 2 - * assert.equal({ a: { b: 1 } }, { a: { b: 1 } }); - * // AssertionError: { a: { b: 1 } } == { a: { b: 1 } } - * ``` - * - * If the values are not equal, an `AssertionError` is thrown with a `message`property set equal to the value of the `message` parameter. If the `message`parameter is undefined, a default - * error message is assigned. If the `message`parameter is an instance of an `Error` then it will be thrown instead of the`AssertionError`. - * @since v0.1.21 - */ - function equal(actual: unknown, expected: unknown, message?: string | Error): void; - /** - * **Strict assertion mode** - * - * An alias of {@link notStrictEqual}. - * - * **Legacy assertion mode** - * - * > Stability: 3 - Legacy: Use {@link notStrictEqual} instead. - * - * Tests shallow, coercive inequality with the [`!=` operator](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Inequality). `NaN` is - * specially handled and treated as being identical if both sides are `NaN`. - * - * ```js - * import assert from 'node:assert'; - * - * assert.notEqual(1, 2); - * // OK - * - * assert.notEqual(1, 1); - * // AssertionError: 1 != 1 - * - * assert.notEqual(1, '1'); - * // AssertionError: 1 != '1' - * ``` - * - * If the values are equal, an `AssertionError` is thrown with a `message`property set equal to the value of the `message` parameter. If the `message`parameter is undefined, a default error - * message is assigned. If the `message`parameter is an instance of an `Error` then it will be thrown instead of the`AssertionError`. - * @since v0.1.21 - */ - function notEqual(actual: unknown, expected: unknown, message?: string | Error): void; - /** - * **Strict assertion mode** - * - * An alias of {@link deepStrictEqual}. - * - * **Legacy assertion mode** - * - * > Stability: 3 - Legacy: Use {@link deepStrictEqual} instead. - * - * Tests for deep equality between the `actual` and `expected` parameters. Consider - * using {@link deepStrictEqual} instead. {@link deepEqual} can have - * surprising results. - * - * _Deep equality_ means that the enumerable "own" properties of child objects - * are also recursively evaluated by the following rules. - * @since v0.1.21 - */ - function deepEqual(actual: unknown, expected: unknown, message?: string | Error): void; - /** - * **Strict assertion mode** - * - * An alias of {@link notDeepStrictEqual}. - * - * **Legacy assertion mode** - * - * > Stability: 3 - Legacy: Use {@link notDeepStrictEqual} instead. - * - * Tests for any deep inequality. Opposite of {@link deepEqual}. - * - * ```js - * import assert from 'node:assert'; - * - * const obj1 = { - * a: { - * b: 1, - * }, - * }; - * const obj2 = { - * a: { - * b: 2, - * }, - * }; - * const obj3 = { - * a: { - * b: 1, - * }, - * }; - * const obj4 = { __proto__: obj1 }; - * - * assert.notDeepEqual(obj1, obj1); - * // AssertionError: { a: { b: 1 } } notDeepEqual { a: { b: 1 } } - * - * assert.notDeepEqual(obj1, obj2); - * // OK - * - * assert.notDeepEqual(obj1, obj3); - * // AssertionError: { a: { b: 1 } } notDeepEqual { a: { b: 1 } } - * - * assert.notDeepEqual(obj1, obj4); - * // OK - * ``` - * - * If the values are deeply equal, an `AssertionError` is thrown with a`message` property set equal to the value of the `message` parameter. If the`message` parameter is undefined, a default - * error message is assigned. If the`message` parameter is an instance of an `Error` then it will be thrown - * instead of the `AssertionError`. - * @since v0.1.21 - */ - function notDeepEqual(actual: unknown, expected: unknown, message?: string | Error): void; - /** - * Tests strict equality between the `actual` and `expected` parameters as - * determined by [`Object.is()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is). - * - * ```js - * import assert from 'node:assert/strict'; - * - * assert.strictEqual(1, 2); - * // AssertionError [ERR_ASSERTION]: Expected inputs to be strictly equal: - * // - * // 1 !== 2 - * - * assert.strictEqual(1, 1); - * // OK - * - * assert.strictEqual('Hello foobar', 'Hello World!'); - * // AssertionError [ERR_ASSERTION]: Expected inputs to be strictly equal: - * // + actual - expected - * // - * // + 'Hello foobar' - * // - 'Hello World!' - * // ^ - * - * const apples = 1; - * const oranges = 2; - * assert.strictEqual(apples, oranges, `apples ${apples} !== oranges ${oranges}`); - * // AssertionError [ERR_ASSERTION]: apples 1 !== oranges 2 - * - * assert.strictEqual(1, '1', new TypeError('Inputs are not identical')); - * // TypeError: Inputs are not identical - * ``` - * - * If the values are not strictly equal, an `AssertionError` is thrown with a`message` property set equal to the value of the `message` parameter. If the`message` parameter is undefined, a - * default error message is assigned. If the`message` parameter is an instance of an `Error` then it will be thrown - * instead of the `AssertionError`. - * @since v0.1.21 - */ - function strictEqual(actual: unknown, expected: T, message?: string | Error): asserts actual is T; - /** - * Tests strict inequality between the `actual` and `expected` parameters as - * determined by [`Object.is()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is). - * - * ```js - * import assert from 'node:assert/strict'; - * - * assert.notStrictEqual(1, 2); - * // OK - * - * assert.notStrictEqual(1, 1); - * // AssertionError [ERR_ASSERTION]: Expected "actual" to be strictly unequal to: - * // - * // 1 - * - * assert.notStrictEqual(1, '1'); - * // OK - * ``` - * - * If the values are strictly equal, an `AssertionError` is thrown with a`message` property set equal to the value of the `message` parameter. If the`message` parameter is undefined, a - * default error message is assigned. If the`message` parameter is an instance of an `Error` then it will be thrown - * instead of the `AssertionError`. - * @since v0.1.21 - */ - function notStrictEqual(actual: unknown, expected: unknown, message?: string | Error): void; - /** - * Tests for deep equality between the `actual` and `expected` parameters. - * "Deep" equality means that the enumerable "own" properties of child objects - * are recursively evaluated also by the following rules. - * @since v1.2.0 - */ - function deepStrictEqual(actual: unknown, expected: T, message?: string | Error): asserts actual is T; - /** - * Tests for deep strict inequality. Opposite of {@link deepStrictEqual}. - * - * ```js - * import assert from 'node:assert/strict'; - * - * assert.notDeepStrictEqual({ a: 1 }, { a: '1' }); - * // OK - * ``` - * - * If the values are deeply and strictly equal, an `AssertionError` is thrown - * with a `message` property set equal to the value of the `message` parameter. If - * the `message` parameter is undefined, a default error message is assigned. If - * the `message` parameter is an instance of an `Error` then it will be thrown - * instead of the `AssertionError`. - * @since v1.2.0 - */ - function notDeepStrictEqual(actual: unknown, expected: unknown, message?: string | Error): void; - /** - * Expects the function `fn` to throw an error. - * - * If specified, `error` can be a [`Class`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Classes), - * [`RegExp`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_Expressions), a validation function, - * a validation object where each property will be tested for strict deep equality, - * or an instance of error where each property will be tested for strict deep - * equality including the non-enumerable `message` and `name` properties. When - * using an object, it is also possible to use a regular expression, when - * validating against a string property. See below for examples. - * - * If specified, `message` will be appended to the message provided by the`AssertionError` if the `fn` call fails to throw or in case the error validation - * fails. - * - * Custom validation object/error instance: - * - * ```js - * import assert from 'node:assert/strict'; - * - * const err = new TypeError('Wrong value'); - * err.code = 404; - * err.foo = 'bar'; - * err.info = { - * nested: true, - * baz: 'text', - * }; - * err.reg = /abc/i; - * - * assert.throws( - * () => { - * throw err; - * }, - * { - * name: 'TypeError', - * message: 'Wrong value', - * info: { - * nested: true, - * baz: 'text', - * }, - * // Only properties on the validation object will be tested for. - * // Using nested objects requires all properties to be present. Otherwise - * // the validation is going to fail. - * }, - * ); - * - * // Using regular expressions to validate error properties: - * assert.throws( - * () => { - * throw err; - * }, - * { - * // The `name` and `message` properties are strings and using regular - * // expressions on those will match against the string. If they fail, an - * // error is thrown. - * name: /^TypeError$/, - * message: /Wrong/, - * foo: 'bar', - * info: { - * nested: true, - * // It is not possible to use regular expressions for nested properties! - * baz: 'text', - * }, - * // The `reg` property contains a regular expression and only if the - * // validation object contains an identical regular expression, it is going - * // to pass. - * reg: /abc/i, - * }, - * ); - * - * // Fails due to the different `message` and `name` properties: - * assert.throws( - * () => { - * const otherErr = new Error('Not found'); - * // Copy all enumerable properties from `err` to `otherErr`. - * for (const [key, value] of Object.entries(err)) { - * otherErr[key] = value; - * } - * throw otherErr; - * }, - * // The error's `message` and `name` properties will also be checked when using - * // an error as validation object. - * err, - * ); - * ``` - * - * Validate instanceof using constructor: - * - * ```js - * import assert from 'node:assert/strict'; - * - * assert.throws( - * () => { - * throw new Error('Wrong value'); - * }, - * Error, - * ); - * ``` - * - * Validate error message using [`RegExp`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_Expressions): - * - * Using a regular expression runs `.toString` on the error object, and will - * therefore also include the error name. - * - * ```js - * import assert from 'node:assert/strict'; - * - * assert.throws( - * () => { - * throw new Error('Wrong value'); - * }, - * /^Error: Wrong value$/, - * ); - * ``` - * - * Custom error validation: - * - * The function must return `true` to indicate all internal validations passed. - * It will otherwise fail with an `AssertionError`. - * - * ```js - * import assert from 'node:assert/strict'; - * - * assert.throws( - * () => { - * throw new Error('Wrong value'); - * }, - * (err) => { - * assert(err instanceof Error); - * assert(/value/.test(err)); - * // Avoid returning anything from validation functions besides `true`. - * // Otherwise, it's not clear what part of the validation failed. Instead, - * // throw an error about the specific validation that failed (as done in this - * // example) and add as much helpful debugging information to that error as - * // possible. - * return true; - * }, - * 'unexpected error', - * ); - * ``` - * - * `error` cannot be a string. If a string is provided as the second - * argument, then `error` is assumed to be omitted and the string will be used for`message` instead. This can lead to easy-to-miss mistakes. Using the same - * message as the thrown error message is going to result in an`ERR_AMBIGUOUS_ARGUMENT` error. Please read the example below carefully if using - * a string as the second argument gets considered: - * - * ```js - * import assert from 'node:assert/strict'; - * - * function throwingFirst() { - * throw new Error('First'); - * } - * - * function throwingSecond() { - * throw new Error('Second'); - * } - * - * function notThrowing() {} - * - * // The second argument is a string and the input function threw an Error. - * // The first case will not throw as it does not match for the error message - * // thrown by the input function! - * assert.throws(throwingFirst, 'Second'); - * // In the next example the message has no benefit over the message from the - * // error and since it is not clear if the user intended to actually match - * // against the error message, Node.js throws an `ERR_AMBIGUOUS_ARGUMENT` error. - * assert.throws(throwingSecond, 'Second'); - * // TypeError [ERR_AMBIGUOUS_ARGUMENT] - * - * // The string is only used (as message) in case the function does not throw: - * assert.throws(notThrowing, 'Second'); - * // AssertionError [ERR_ASSERTION]: Missing expected exception: Second - * - * // If it was intended to match for the error message do this instead: - * // It does not throw because the error messages match. - * assert.throws(throwingSecond, /Second$/); - * - * // If the error message does not match, an AssertionError is thrown. - * assert.throws(throwingFirst, /Second$/); - * // AssertionError [ERR_ASSERTION] - * ``` - * - * Due to the confusing error-prone notation, avoid a string as the second - * argument. - * @since v0.1.21 - */ - function throws(block: () => unknown, message?: string | Error): void; - function throws(block: () => unknown, error: AssertPredicate, message?: string | Error): void; - /** - * Asserts that the function `fn` does not throw an error. - * - * Using `assert.doesNotThrow()` is actually not useful because there - * is no benefit in catching an error and then rethrowing it. Instead, consider - * adding a comment next to the specific code path that should not throw and keep - * error messages as expressive as possible. - * - * When `assert.doesNotThrow()` is called, it will immediately call the `fn`function. - * - * If an error is thrown and it is the same type as that specified by the `error`parameter, then an `AssertionError` is thrown. If the error is of a - * different type, or if the `error` parameter is undefined, the error is - * propagated back to the caller. - * - * If specified, `error` can be a [`Class`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Classes), - * [`RegExp`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_Expressions), or a validation - * function. See {@link throws} for more details. - * - * The following, for instance, will throw the `TypeError` because there is no - * matching error type in the assertion: - * - * ```js - * import assert from 'node:assert/strict'; - * - * assert.doesNotThrow( - * () => { - * throw new TypeError('Wrong value'); - * }, - * SyntaxError, - * ); - * ``` - * - * However, the following will result in an `AssertionError` with the message - * 'Got unwanted exception...': - * - * ```js - * import assert from 'node:assert/strict'; - * - * assert.doesNotThrow( - * () => { - * throw new TypeError('Wrong value'); - * }, - * TypeError, - * ); - * ``` - * - * If an `AssertionError` is thrown and a value is provided for the `message`parameter, the value of `message` will be appended to the `AssertionError` message: - * - * ```js - * import assert from 'node:assert/strict'; - * - * assert.doesNotThrow( - * () => { - * throw new TypeError('Wrong value'); - * }, - * /Wrong value/, - * 'Whoops', - * ); - * // Throws: AssertionError: Got unwanted exception: Whoops - * ``` - * @since v0.1.21 - */ - function doesNotThrow(block: () => unknown, message?: string | Error): void; - function doesNotThrow(block: () => unknown, error: AssertPredicate, message?: string | Error): void; - /** - * Throws `value` if `value` is not `undefined` or `null`. This is useful when - * testing the `error` argument in callbacks. The stack trace contains all frames - * from the error passed to `ifError()` including the potential new frames for`ifError()` itself. - * - * ```js - * import assert from 'node:assert/strict'; - * - * assert.ifError(null); - * // OK - * assert.ifError(0); - * // AssertionError [ERR_ASSERTION]: ifError got unwanted exception: 0 - * assert.ifError('error'); - * // AssertionError [ERR_ASSERTION]: ifError got unwanted exception: 'error' - * assert.ifError(new Error()); - * // AssertionError [ERR_ASSERTION]: ifError got unwanted exception: Error - * - * // Create some random error frames. - * let err; - * (function errorFrame() { - * err = new Error('test error'); - * })(); - * - * (function ifErrorFrame() { - * assert.ifError(err); - * })(); - * // AssertionError [ERR_ASSERTION]: ifError got unwanted exception: test error - * // at ifErrorFrame - * // at errorFrame - * ``` - * @since v0.1.97 - */ - function ifError(value: unknown): asserts value is null | undefined; - /** - * Awaits the `asyncFn` promise or, if `asyncFn` is a function, immediately - * calls the function and awaits the returned promise to complete. It will then - * check that the promise is rejected. - * - * If `asyncFn` is a function and it throws an error synchronously,`assert.rejects()` will return a rejected `Promise` with that error. If the - * function does not return a promise, `assert.rejects()` will return a rejected`Promise` with an `ERR_INVALID_RETURN_VALUE` error. In both cases the error - * handler is skipped. - * - * Besides the async nature to await the completion behaves identically to {@link throws}. - * - * If specified, `error` can be a [`Class`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Classes), - * [`RegExp`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_Expressions), a validation function, - * an object where each property will be tested for, or an instance of error where - * each property will be tested for including the non-enumerable `message` and`name` properties. - * - * If specified, `message` will be the message provided by the `AssertionError` if the `asyncFn` fails to reject. - * - * ```js - * import assert from 'node:assert/strict'; - * - * await assert.rejects( - * async () => { - * throw new TypeError('Wrong value'); - * }, - * { - * name: 'TypeError', - * message: 'Wrong value', - * }, - * ); - * ``` - * - * ```js - * import assert from 'node:assert/strict'; - * - * await assert.rejects( - * async () => { - * throw new TypeError('Wrong value'); - * }, - * (err) => { - * assert.strictEqual(err.name, 'TypeError'); - * assert.strictEqual(err.message, 'Wrong value'); - * return true; - * }, - * ); - * ``` - * - * ```js - * import assert from 'node:assert/strict'; - * - * assert.rejects( - * Promise.reject(new Error('Wrong value')), - * Error, - * ).then(() => { - * // ... - * }); - * ``` - * - * `error` cannot be a string. If a string is provided as the second - * argument, then `error` is assumed to be omitted and the string will be used for`message` instead. This can lead to easy-to-miss mistakes. Please read the - * example in {@link throws} carefully if using a string as the second - * argument gets considered. - * @since v10.0.0 - */ - function rejects(block: (() => Promise) | Promise, message?: string | Error): Promise; - function rejects( - block: (() => Promise) | Promise, - error: AssertPredicate, - message?: string | Error, - ): Promise; - /** - * Awaits the `asyncFn` promise or, if `asyncFn` is a function, immediately - * calls the function and awaits the returned promise to complete. It will then - * check that the promise is not rejected. - * - * If `asyncFn` is a function and it throws an error synchronously,`assert.doesNotReject()` will return a rejected `Promise` with that error. If - * the function does not return a promise, `assert.doesNotReject()` will return a - * rejected `Promise` with an `ERR_INVALID_RETURN_VALUE` error. In both cases - * the error handler is skipped. - * - * Using `assert.doesNotReject()` is actually not useful because there is little - * benefit in catching a rejection and then rejecting it again. Instead, consider - * adding a comment next to the specific code path that should not reject and keep - * error messages as expressive as possible. - * - * If specified, `error` can be a [`Class`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Classes), - * [`RegExp`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_Expressions), or a validation - * function. See {@link throws} for more details. - * - * Besides the async nature to await the completion behaves identically to {@link doesNotThrow}. - * - * ```js - * import assert from 'node:assert/strict'; - * - * await assert.doesNotReject( - * async () => { - * throw new TypeError('Wrong value'); - * }, - * SyntaxError, - * ); - * ``` - * - * ```js - * import assert from 'node:assert/strict'; - * - * assert.doesNotReject(Promise.reject(new TypeError('Wrong value'))) - * .then(() => { - * // ... - * }); - * ``` - * @since v10.0.0 - */ - function doesNotReject( - block: (() => Promise) | Promise, - message?: string | Error, - ): Promise; - function doesNotReject( - block: (() => Promise) | Promise, - error: AssertPredicate, - message?: string | Error, - ): Promise; - /** - * Expects the `string` input to match the regular expression. - * - * ```js - * import assert from 'node:assert/strict'; - * - * assert.match('I will fail', /pass/); - * // AssertionError [ERR_ASSERTION]: The input did not match the regular ... - * - * assert.match(123, /pass/); - * // AssertionError [ERR_ASSERTION]: The "string" argument must be of type string. - * - * assert.match('I will pass', /pass/); - * // OK - * ``` - * - * If the values do not match, or if the `string` argument is of another type than`string`, an `AssertionError` is thrown with a `message` property set equal - * to the value of the `message` parameter. If the `message` parameter is - * undefined, a default error message is assigned. If the `message` parameter is an - * instance of an `Error` then it will be thrown instead of the `AssertionError`. - * @since v13.6.0, v12.16.0 - */ - function match(value: string, regExp: RegExp, message?: string | Error): void; - /** - * Expects the `string` input not to match the regular expression. - * - * ```js - * import assert from 'node:assert/strict'; - * - * assert.doesNotMatch('I will fail', /fail/); - * // AssertionError [ERR_ASSERTION]: The input was expected to not match the ... - * - * assert.doesNotMatch(123, /pass/); - * // AssertionError [ERR_ASSERTION]: The "string" argument must be of type string. - * - * assert.doesNotMatch('I will pass', /different/); - * // OK - * ``` - * - * If the values do match, or if the `string` argument is of another type than`string`, an `AssertionError` is thrown with a `message` property set equal - * to the value of the `message` parameter. If the `message` parameter is - * undefined, a default error message is assigned. If the `message` parameter is an - * instance of an `Error` then it will be thrown instead of the `AssertionError`. - * @since v13.6.0, v12.16.0 - */ - function doesNotMatch(value: string, regExp: RegExp, message?: string | Error): void; - const strict: - & Omit< - typeof assert, - | "equal" - | "notEqual" - | "deepEqual" - | "notDeepEqual" - | "ok" - | "strictEqual" - | "deepStrictEqual" - | "ifError" - | "strict" - > - & { - (value: unknown, message?: string | Error): asserts value; - equal: typeof strictEqual; - notEqual: typeof notStrictEqual; - deepEqual: typeof deepStrictEqual; - notDeepEqual: typeof notDeepStrictEqual; - // Mapped types and assertion functions are incompatible? - // TS2775: Assertions require every name in the call target - // to be declared with an explicit type annotation. - ok: typeof ok; - strictEqual: typeof strictEqual; - deepStrictEqual: typeof deepStrictEqual; - ifError: typeof ifError; - strict: typeof strict; - }; - } - export = assert; -} -declare module "node:assert" { - import assert = require("assert"); - export = assert; -} diff --git a/node_modules/@types/node/assert/strict.d.ts b/node_modules/@types/node/assert/strict.d.ts deleted file mode 100644 index f333913..0000000 --- a/node_modules/@types/node/assert/strict.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -declare module "assert/strict" { - import { strict } from "node:assert"; - export = strict; -} -declare module "node:assert/strict" { - import { strict } from "node:assert"; - export = strict; -} diff --git a/node_modules/@types/node/async_hooks.d.ts b/node_modules/@types/node/async_hooks.d.ts deleted file mode 100644 index 0667a61..0000000 --- a/node_modules/@types/node/async_hooks.d.ts +++ /dev/null @@ -1,539 +0,0 @@ -/** - * We strongly discourage the use of the `async_hooks` API. - * Other APIs that can cover most of its use cases include: - * - * * `AsyncLocalStorage` tracks async context - * * `process.getActiveResourcesInfo()` tracks active resources - * - * The `node:async_hooks` module provides an API to track asynchronous resources. - * It can be accessed using: - * - * ```js - * import async_hooks from 'node:async_hooks'; - * ``` - * @experimental - * @see [source](https://github.com/nodejs/node/blob/v20.2.0/lib/async_hooks.js) - */ -declare module "async_hooks" { - /** - * ```js - * import { executionAsyncId } from 'node:async_hooks'; - * import fs from 'node:fs'; - * - * console.log(executionAsyncId()); // 1 - bootstrap - * const path = '.'; - * fs.open(path, 'r', (err, fd) => { - * console.log(executionAsyncId()); // 6 - open() - * }); - * ``` - * - * The ID returned from `executionAsyncId()` is related to execution timing, not - * causality (which is covered by `triggerAsyncId()`): - * - * ```js - * const server = net.createServer((conn) => { - * // Returns the ID of the server, not of the new connection, because the - * // callback runs in the execution scope of the server's MakeCallback(). - * async_hooks.executionAsyncId(); - * - * }).listen(port, () => { - * // Returns the ID of a TickObject (process.nextTick()) because all - * // callbacks passed to .listen() are wrapped in a nextTick(). - * async_hooks.executionAsyncId(); - * }); - * ``` - * - * Promise contexts may not get precise `executionAsyncIds` by default. - * See the section on `promise execution tracking`. - * @since v8.1.0 - * @return The `asyncId` of the current execution context. Useful to track when something calls. - */ - function executionAsyncId(): number; - /** - * Resource objects returned by `executionAsyncResource()` are most often internal - * Node.js handle objects with undocumented APIs. Using any functions or properties - * on the object is likely to crash your application and should be avoided. - * - * Using `executionAsyncResource()` in the top-level execution context will - * return an empty object as there is no handle or request object to use, - * but having an object representing the top-level can be helpful. - * - * ```js - * import { open } from 'node:fs'; - * import { executionAsyncId, executionAsyncResource } from 'node:async_hooks'; - * - * console.log(executionAsyncId(), executionAsyncResource()); // 1 {} - * open(new URL(import.meta.url), 'r', (err, fd) => { - * console.log(executionAsyncId(), executionAsyncResource()); // 7 FSReqWrap - * }); - * ``` - * - * This can be used to implement continuation local storage without the - * use of a tracking `Map` to store the metadata: - * - * ```js - * import { createServer } from 'node:http'; - * import { - * executionAsyncId, - * executionAsyncResource, - * createHook, - * } from 'async_hooks'; - * const sym = Symbol('state'); // Private symbol to avoid pollution - * - * createHook({ - * init(asyncId, type, triggerAsyncId, resource) { - * const cr = executionAsyncResource(); - * if (cr) { - * resource[sym] = cr[sym]; - * } - * }, - * }).enable(); - * - * const server = createServer((req, res) => { - * executionAsyncResource()[sym] = { state: req.url }; - * setTimeout(function() { - * res.end(JSON.stringify(executionAsyncResource()[sym])); - * }, 100); - * }).listen(3000); - * ``` - * @since v13.9.0, v12.17.0 - * @return The resource representing the current execution. Useful to store data within the resource. - */ - function executionAsyncResource(): object; - /** - * ```js - * const server = net.createServer((conn) => { - * // The resource that caused (or triggered) this callback to be called - * // was that of the new connection. Thus the return value of triggerAsyncId() - * // is the asyncId of "conn". - * async_hooks.triggerAsyncId(); - * - * }).listen(port, () => { - * // Even though all callbacks passed to .listen() are wrapped in a nextTick() - * // the callback itself exists because the call to the server's .listen() - * // was made. So the return value would be the ID of the server. - * async_hooks.triggerAsyncId(); - * }); - * ``` - * - * Promise contexts may not get valid `triggerAsyncId`s by default. See - * the section on `promise execution tracking`. - * @return The ID of the resource responsible for calling the callback that is currently being executed. - */ - function triggerAsyncId(): number; - interface HookCallbacks { - /** - * Called when a class is constructed that has the possibility to emit an asynchronous event. - * @param asyncId a unique ID for the async resource - * @param type the type of the async resource - * @param triggerAsyncId the unique ID of the async resource in whose execution context this async resource was created - * @param resource reference to the resource representing the async operation, needs to be released during destroy - */ - init?(asyncId: number, type: string, triggerAsyncId: number, resource: object): void; - /** - * When an asynchronous operation is initiated or completes a callback is called to notify the user. - * The before callback is called just before said callback is executed. - * @param asyncId the unique identifier assigned to the resource about to execute the callback. - */ - before?(asyncId: number): void; - /** - * Called immediately after the callback specified in before is completed. - * @param asyncId the unique identifier assigned to the resource which has executed the callback. - */ - after?(asyncId: number): void; - /** - * Called when a promise has resolve() called. This may not be in the same execution id - * as the promise itself. - * @param asyncId the unique id for the promise that was resolve()d. - */ - promiseResolve?(asyncId: number): void; - /** - * Called after the resource corresponding to asyncId is destroyed - * @param asyncId a unique ID for the async resource - */ - destroy?(asyncId: number): void; - } - interface AsyncHook { - /** - * Enable the callbacks for a given AsyncHook instance. If no callbacks are provided enabling is a noop. - */ - enable(): this; - /** - * Disable the callbacks for a given AsyncHook instance from the global pool of AsyncHook callbacks to be executed. Once a hook has been disabled it will not be called again until enabled. - */ - disable(): this; - } - /** - * Registers functions to be called for different lifetime events of each async - * operation. - * - * The callbacks `init()`/`before()`/`after()`/`destroy()` are called for the - * respective asynchronous event during a resource's lifetime. - * - * All callbacks are optional. For example, if only resource cleanup needs to - * be tracked, then only the `destroy` callback needs to be passed. The - * specifics of all functions that can be passed to `callbacks` is in the `Hook Callbacks` section. - * - * ```js - * import { createHook } from 'node:async_hooks'; - * - * const asyncHook = createHook({ - * init(asyncId, type, triggerAsyncId, resource) { }, - * destroy(asyncId) { }, - * }); - * ``` - * - * The callbacks will be inherited via the prototype chain: - * - * ```js - * class MyAsyncCallbacks { - * init(asyncId, type, triggerAsyncId, resource) { } - * destroy(asyncId) {} - * } - * - * class MyAddedCallbacks extends MyAsyncCallbacks { - * before(asyncId) { } - * after(asyncId) { } - * } - * - * const asyncHook = async_hooks.createHook(new MyAddedCallbacks()); - * ``` - * - * Because promises are asynchronous resources whose lifecycle is tracked - * via the async hooks mechanism, the `init()`, `before()`, `after()`, and`destroy()` callbacks _must not_ be async functions that return promises. - * @since v8.1.0 - * @param callbacks The `Hook Callbacks` to register - * @return Instance used for disabling and enabling hooks - */ - function createHook(callbacks: HookCallbacks): AsyncHook; - interface AsyncResourceOptions { - /** - * The ID of the execution context that created this async event. - * @default executionAsyncId() - */ - triggerAsyncId?: number | undefined; - /** - * Disables automatic `emitDestroy` when the object is garbage collected. - * This usually does not need to be set (even if `emitDestroy` is called - * manually), unless the resource's `asyncId` is retrieved and the - * sensitive API's `emitDestroy` is called with it. - * @default false - */ - requireManualDestroy?: boolean | undefined; - } - /** - * The class `AsyncResource` is designed to be extended by the embedder's async - * resources. Using this, users can easily trigger the lifetime events of their - * own resources. - * - * The `init` hook will trigger when an `AsyncResource` is instantiated. - * - * The following is an overview of the `AsyncResource` API. - * - * ```js - * import { AsyncResource, executionAsyncId } from 'node:async_hooks'; - * - * // AsyncResource() is meant to be extended. Instantiating a - * // new AsyncResource() also triggers init. If triggerAsyncId is omitted then - * // async_hook.executionAsyncId() is used. - * const asyncResource = new AsyncResource( - * type, { triggerAsyncId: executionAsyncId(), requireManualDestroy: false }, - * ); - * - * // Run a function in the execution context of the resource. This will - * // * establish the context of the resource - * // * trigger the AsyncHooks before callbacks - * // * call the provided function `fn` with the supplied arguments - * // * trigger the AsyncHooks after callbacks - * // * restore the original execution context - * asyncResource.runInAsyncScope(fn, thisArg, ...args); - * - * // Call AsyncHooks destroy callbacks. - * asyncResource.emitDestroy(); - * - * // Return the unique ID assigned to the AsyncResource instance. - * asyncResource.asyncId(); - * - * // Return the trigger ID for the AsyncResource instance. - * asyncResource.triggerAsyncId(); - * ``` - */ - class AsyncResource { - /** - * AsyncResource() is meant to be extended. Instantiating a - * new AsyncResource() also triggers init. If triggerAsyncId is omitted then - * async_hook.executionAsyncId() is used. - * @param type The type of async event. - * @param triggerAsyncId The ID of the execution context that created - * this async event (default: `executionAsyncId()`), or an - * AsyncResourceOptions object (since v9.3.0) - */ - constructor(type: string, triggerAsyncId?: number | AsyncResourceOptions); - /** - * Binds the given function to the current execution context. - * @since v14.8.0, v12.19.0 - * @param fn The function to bind to the current execution context. - * @param type An optional name to associate with the underlying `AsyncResource`. - */ - static bind any, ThisArg>( - fn: Func, - type?: string, - thisArg?: ThisArg, - ): Func; - /** - * Binds the given function to execute to this `AsyncResource`'s scope. - * @since v14.8.0, v12.19.0 - * @param fn The function to bind to the current `AsyncResource`. - */ - bind any>(fn: Func): Func; - /** - * Call the provided function with the provided arguments in the execution context - * of the async resource. This will establish the context, trigger the AsyncHooks - * before callbacks, call the function, trigger the AsyncHooks after callbacks, and - * then restore the original execution context. - * @since v9.6.0 - * @param fn The function to call in the execution context of this async resource. - * @param thisArg The receiver to be used for the function call. - * @param args Optional arguments to pass to the function. - */ - runInAsyncScope( - fn: (this: This, ...args: any[]) => Result, - thisArg?: This, - ...args: any[] - ): Result; - /** - * Call all `destroy` hooks. This should only ever be called once. An error will - * be thrown if it is called more than once. This **must** be manually called. If - * the resource is left to be collected by the GC then the `destroy` hooks will - * never be called. - * @return A reference to `asyncResource`. - */ - emitDestroy(): this; - /** - * @return The unique `asyncId` assigned to the resource. - */ - asyncId(): number; - /** - * @return The same `triggerAsyncId` that is passed to the `AsyncResource` constructor. - */ - triggerAsyncId(): number; - } - /** - * This class creates stores that stay coherent through asynchronous operations. - * - * While you can create your own implementation on top of the `node:async_hooks`module, `AsyncLocalStorage` should be preferred as it is a performant and memory - * safe implementation that involves significant optimizations that are non-obvious - * to implement. - * - * The following example uses `AsyncLocalStorage` to build a simple logger - * that assigns IDs to incoming HTTP requests and includes them in messages - * logged within each request. - * - * ```js - * import http from 'node:http'; - * import { AsyncLocalStorage } from 'node:async_hooks'; - * - * const asyncLocalStorage = new AsyncLocalStorage(); - * - * function logWithId(msg) { - * const id = asyncLocalStorage.getStore(); - * console.log(`${id !== undefined ? id : '-'}:`, msg); - * } - * - * let idSeq = 0; - * http.createServer((req, res) => { - * asyncLocalStorage.run(idSeq++, () => { - * logWithId('start'); - * // Imagine any chain of async operations here - * setImmediate(() => { - * logWithId('finish'); - * res.end(); - * }); - * }); - * }).listen(8080); - * - * http.get('http://localhost:8080'); - * http.get('http://localhost:8080'); - * // Prints: - * // 0: start - * // 1: start - * // 0: finish - * // 1: finish - * ``` - * - * Each instance of `AsyncLocalStorage` maintains an independent storage context. - * Multiple instances can safely exist simultaneously without risk of interfering - * with each other's data. - * @since v13.10.0, v12.17.0 - */ - class AsyncLocalStorage { - /** - * Binds the given function to the current execution context. - * @since v19.8.0 - * @experimental - * @param fn The function to bind to the current execution context. - * @return A new function that calls `fn` within the captured execution context. - */ - static bind any>(fn: Func): Func; - /** - * Captures the current execution context and returns a function that accepts a - * function as an argument. Whenever the returned function is called, it - * calls the function passed to it within the captured context. - * - * ```js - * const asyncLocalStorage = new AsyncLocalStorage(); - * const runInAsyncScope = asyncLocalStorage.run(123, () => AsyncLocalStorage.snapshot()); - * const result = asyncLocalStorage.run(321, () => runInAsyncScope(() => asyncLocalStorage.getStore())); - * console.log(result); // returns 123 - * ``` - * - * AsyncLocalStorage.snapshot() can replace the use of AsyncResource for simple - * async context tracking purposes, for example: - * - * ```js - * class Foo { - * #runInAsyncScope = AsyncLocalStorage.snapshot(); - * - * get() { return this.#runInAsyncScope(() => asyncLocalStorage.getStore()); } - * } - * - * const foo = asyncLocalStorage.run(123, () => new Foo()); - * console.log(asyncLocalStorage.run(321, () => foo.get())); // returns 123 - * ``` - * @since v19.8.0 - * @experimental - * @return A new function with the signature `(fn: (...args) : R, ...args) : R`. - */ - static snapshot(): (fn: (...args: TArgs) => R, ...args: TArgs) => R; - /** - * Disables the instance of `AsyncLocalStorage`. All subsequent calls - * to `asyncLocalStorage.getStore()` will return `undefined` until`asyncLocalStorage.run()` or `asyncLocalStorage.enterWith()` is called again. - * - * When calling `asyncLocalStorage.disable()`, all current contexts linked to the - * instance will be exited. - * - * Calling `asyncLocalStorage.disable()` is required before the`asyncLocalStorage` can be garbage collected. This does not apply to stores - * provided by the `asyncLocalStorage`, as those objects are garbage collected - * along with the corresponding async resources. - * - * Use this method when the `asyncLocalStorage` is not in use anymore - * in the current process. - * @since v13.10.0, v12.17.0 - * @experimental - */ - disable(): void; - /** - * Returns the current store. - * If called outside of an asynchronous context initialized by - * calling `asyncLocalStorage.run()` or `asyncLocalStorage.enterWith()`, it - * returns `undefined`. - * @since v13.10.0, v12.17.0 - */ - getStore(): T | undefined; - /** - * Runs a function synchronously within a context and returns its - * return value. The store is not accessible outside of the callback function. - * The store is accessible to any asynchronous operations created within the - * callback. - * - * The optional `args` are passed to the callback function. - * - * If the callback function throws an error, the error is thrown by `run()` too. - * The stacktrace is not impacted by this call and the context is exited. - * - * Example: - * - * ```js - * const store = { id: 2 }; - * try { - * asyncLocalStorage.run(store, () => { - * asyncLocalStorage.getStore(); // Returns the store object - * setTimeout(() => { - * asyncLocalStorage.getStore(); // Returns the store object - * }, 200); - * throw new Error(); - * }); - * } catch (e) { - * asyncLocalStorage.getStore(); // Returns undefined - * // The error will be caught here - * } - * ``` - * @since v13.10.0, v12.17.0 - */ - run(store: T, callback: () => R): R; - run(store: T, callback: (...args: TArgs) => R, ...args: TArgs): R; - /** - * Runs a function synchronously outside of a context and returns its - * return value. The store is not accessible within the callback function or - * the asynchronous operations created within the callback. Any `getStore()`call done within the callback function will always return `undefined`. - * - * The optional `args` are passed to the callback function. - * - * If the callback function throws an error, the error is thrown by `exit()` too. - * The stacktrace is not impacted by this call and the context is re-entered. - * - * Example: - * - * ```js - * // Within a call to run - * try { - * asyncLocalStorage.getStore(); // Returns the store object or value - * asyncLocalStorage.exit(() => { - * asyncLocalStorage.getStore(); // Returns undefined - * throw new Error(); - * }); - * } catch (e) { - * asyncLocalStorage.getStore(); // Returns the same object or value - * // The error will be caught here - * } - * ``` - * @since v13.10.0, v12.17.0 - * @experimental - */ - exit(callback: (...args: TArgs) => R, ...args: TArgs): R; - /** - * Transitions into the context for the remainder of the current - * synchronous execution and then persists the store through any following - * asynchronous calls. - * - * Example: - * - * ```js - * const store = { id: 1 }; - * // Replaces previous store with the given store object - * asyncLocalStorage.enterWith(store); - * asyncLocalStorage.getStore(); // Returns the store object - * someAsyncOperation(() => { - * asyncLocalStorage.getStore(); // Returns the same object - * }); - * ``` - * - * This transition will continue for the _entire_ synchronous execution. - * This means that if, for example, the context is entered within an event - * handler subsequent event handlers will also run within that context unless - * specifically bound to another context with an `AsyncResource`. That is why`run()` should be preferred over `enterWith()` unless there are strong reasons - * to use the latter method. - * - * ```js - * const store = { id: 1 }; - * - * emitter.on('my-event', () => { - * asyncLocalStorage.enterWith(store); - * }); - * emitter.on('my-event', () => { - * asyncLocalStorage.getStore(); // Returns the same object - * }); - * - * asyncLocalStorage.getStore(); // Returns undefined - * emitter.emit('my-event'); - * asyncLocalStorage.getStore(); // Returns the same object - * ``` - * @since v13.11.0, v12.17.0 - * @experimental - */ - enterWith(store: T): void; - } -} -declare module "node:async_hooks" { - export * from "async_hooks"; -} diff --git a/node_modules/@types/node/buffer.d.ts b/node_modules/@types/node/buffer.d.ts deleted file mode 100644 index 255e268..0000000 --- a/node_modules/@types/node/buffer.d.ts +++ /dev/null @@ -1,2363 +0,0 @@ -/** - * `Buffer` objects are used to represent a fixed-length sequence of bytes. Many - * Node.js APIs support `Buffer`s. - * - * The `Buffer` class is a subclass of JavaScript's [`Uint8Array`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array) class and - * extends it with methods that cover additional use cases. Node.js APIs accept - * plain [`Uint8Array`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array) s wherever `Buffer`s are supported as well. - * - * While the `Buffer` class is available within the global scope, it is still - * recommended to explicitly reference it via an import or require statement. - * - * ```js - * import { Buffer } from 'node:buffer'; - * - * // Creates a zero-filled Buffer of length 10. - * const buf1 = Buffer.alloc(10); - * - * // Creates a Buffer of length 10, - * // filled with bytes which all have the value `1`. - * const buf2 = Buffer.alloc(10, 1); - * - * // Creates an uninitialized buffer of length 10. - * // This is faster than calling Buffer.alloc() but the returned - * // Buffer instance might contain old data that needs to be - * // overwritten using fill(), write(), or other functions that fill the Buffer's - * // contents. - * const buf3 = Buffer.allocUnsafe(10); - * - * // Creates a Buffer containing the bytes [1, 2, 3]. - * const buf4 = Buffer.from([1, 2, 3]); - * - * // Creates a Buffer containing the bytes [1, 1, 1, 1] – the entries - * // are all truncated using `(value & 255)` to fit into the range 0–255. - * const buf5 = Buffer.from([257, 257.5, -255, '1']); - * - * // Creates a Buffer containing the UTF-8-encoded bytes for the string 'tést': - * // [0x74, 0xc3, 0xa9, 0x73, 0x74] (in hexadecimal notation) - * // [116, 195, 169, 115, 116] (in decimal notation) - * const buf6 = Buffer.from('tést'); - * - * // Creates a Buffer containing the Latin-1 bytes [0x74, 0xe9, 0x73, 0x74]. - * const buf7 = Buffer.from('tést', 'latin1'); - * ``` - * @see [source](https://github.com/nodejs/node/blob/v20.2.0/lib/buffer.js) - */ -declare module "buffer" { - import { BinaryLike } from "node:crypto"; - import { ReadableStream as WebReadableStream } from "node:stream/web"; - /** - * This function returns `true` if `input` contains only valid UTF-8-encoded data, - * including the case in which `input` is empty. - * - * Throws if the `input` is a detached array buffer. - * @since v19.4.0, v18.14.0 - * @param input The input to validate. - */ - export function isUtf8(input: Buffer | ArrayBuffer | NodeJS.TypedArray): boolean; - /** - * This function returns `true` if `input` contains only valid ASCII-encoded data, - * including the case in which `input` is empty. - * - * Throws if the `input` is a detached array buffer. - * @since v19.6.0, v18.15.0 - * @param input The input to validate. - */ - export function isAscii(input: Buffer | ArrayBuffer | NodeJS.TypedArray): boolean; - export const INSPECT_MAX_BYTES: number; - export const kMaxLength: number; - export const kStringMaxLength: number; - export const constants: { - MAX_LENGTH: number; - MAX_STRING_LENGTH: number; - }; - export type TranscodeEncoding = - | "ascii" - | "utf8" - | "utf-8" - | "utf16le" - | "utf-16le" - | "ucs2" - | "ucs-2" - | "latin1" - | "binary"; - /** - * Re-encodes the given `Buffer` or `Uint8Array` instance from one character - * encoding to another. Returns a new `Buffer` instance. - * - * Throws if the `fromEnc` or `toEnc` specify invalid character encodings or if - * conversion from `fromEnc` to `toEnc` is not permitted. - * - * Encodings supported by `buffer.transcode()` are: `'ascii'`, `'utf8'`,`'utf16le'`, `'ucs2'`, `'latin1'`, and `'binary'`. - * - * The transcoding process will use substitution characters if a given byte - * sequence cannot be adequately represented in the target encoding. For instance: - * - * ```js - * import { Buffer, transcode } from 'node:buffer'; - * - * const newBuf = transcode(Buffer.from('€'), 'utf8', 'ascii'); - * console.log(newBuf.toString('ascii')); - * // Prints: '?' - * ``` - * - * Because the Euro (`€`) sign is not representable in US-ASCII, it is replaced - * with `?` in the transcoded `Buffer`. - * @since v7.1.0 - * @param source A `Buffer` or `Uint8Array` instance. - * @param fromEnc The current encoding. - * @param toEnc To target encoding. - */ - export function transcode(source: Uint8Array, fromEnc: TranscodeEncoding, toEnc: TranscodeEncoding): Buffer; - export const SlowBuffer: { - /** @deprecated since v6.0.0, use `Buffer.allocUnsafeSlow()` */ - new(size: number): Buffer; - prototype: Buffer; - }; - /** - * Resolves a `'blob:nodedata:...'` an associated `Blob` object registered using - * a prior call to `URL.createObjectURL()`. - * @since v16.7.0 - * @experimental - * @param id A `'blob:nodedata:...` URL string returned by a prior call to `URL.createObjectURL()`. - */ - export function resolveObjectURL(id: string): Blob | undefined; - export { Buffer }; - /** - * @experimental - */ - export interface BlobOptions { - /** - * One of either `'transparent'` or `'native'`. When set to `'native'`, line endings in string source parts - * will be converted to the platform native line-ending as specified by `require('node:os').EOL`. - */ - endings?: "transparent" | "native"; - /** - * The Blob content-type. The intent is for `type` to convey - * the MIME media type of the data, however no validation of the type format - * is performed. - */ - type?: string | undefined; - } - /** - * A [`Blob`](https://developer.mozilla.org/en-US/docs/Web/API/Blob) encapsulates immutable, raw data that can be safely shared across - * multiple worker threads. - * @since v15.7.0, v14.18.0 - */ - export class Blob { - /** - * The total size of the `Blob` in bytes. - * @since v15.7.0, v14.18.0 - */ - readonly size: number; - /** - * The content-type of the `Blob`. - * @since v15.7.0, v14.18.0 - */ - readonly type: string; - /** - * Creates a new `Blob` object containing a concatenation of the given sources. - * - * {ArrayBuffer}, {TypedArray}, {DataView}, and {Buffer} sources are copied into - * the 'Blob' and can therefore be safely modified after the 'Blob' is created. - * - * String sources are also copied into the `Blob`. - */ - constructor(sources: Array, options?: BlobOptions); - /** - * Returns a promise that fulfills with an [ArrayBuffer](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer) containing a copy of - * the `Blob` data. - * @since v15.7.0, v14.18.0 - */ - arrayBuffer(): Promise; - /** - * Creates and returns a new `Blob` containing a subset of this `Blob` objects - * data. The original `Blob` is not altered. - * @since v15.7.0, v14.18.0 - * @param start The starting index. - * @param end The ending index. - * @param type The content-type for the new `Blob` - */ - slice(start?: number, end?: number, type?: string): Blob; - /** - * Returns a promise that fulfills with the contents of the `Blob` decoded as a - * UTF-8 string. - * @since v15.7.0, v14.18.0 - */ - text(): Promise; - /** - * Returns a new `ReadableStream` that allows the content of the `Blob` to be read. - * @since v16.7.0 - */ - stream(): WebReadableStream; - } - export interface FileOptions { - /** - * One of either `'transparent'` or `'native'`. When set to `'native'`, line endings in string source parts will be - * converted to the platform native line-ending as specified by `require('node:os').EOL`. - */ - endings?: "native" | "transparent"; - /** The File content-type. */ - type?: string; - /** The last modified date of the file. `Default`: Date.now(). */ - lastModified?: number; - } - /** - * A [`File`](https://developer.mozilla.org/en-US/docs/Web/API/File) provides information about files. - * @since v19.2.0, v18.13.0 - */ - export class File extends Blob { - constructor(sources: Array, fileName: string, options?: FileOptions); - /** - * The name of the `File`. - * @since v19.2.0, v18.13.0 - */ - readonly name: string; - /** - * The last modified date of the `File`. - * @since v19.2.0, v18.13.0 - */ - readonly lastModified: number; - } - export import atob = globalThis.atob; - export import btoa = globalThis.btoa; - import { Blob as NodeBlob } from "buffer"; - // This conditional type will be the existing global Blob in a browser, or - // the copy below in a Node environment. - type __Blob = typeof globalThis extends { onmessage: any; Blob: any } ? {} : NodeBlob; - global { - namespace NodeJS { - export { BufferEncoding }; - } - // Buffer class - type BufferEncoding = - | "ascii" - | "utf8" - | "utf-8" - | "utf16le" - | "utf-16le" - | "ucs2" - | "ucs-2" - | "base64" - | "base64url" - | "latin1" - | "binary" - | "hex"; - type WithImplicitCoercion = - | T - | { - valueOf(): T; - }; - /** - * Raw data is stored in instances of the Buffer class. - * A Buffer is similar to an array of integers but corresponds to a raw memory allocation outside the V8 heap. A Buffer cannot be resized. - * Valid string encodings: 'ascii'|'utf8'|'utf16le'|'ucs2'(alias of 'utf16le')|'base64'|'base64url'|'binary'(deprecated)|'hex' - */ - interface BufferConstructor { - /** - * Allocates a new buffer containing the given {str}. - * - * @param str String to store in buffer. - * @param encoding encoding to use, optional. Default is 'utf8' - * @deprecated since v10.0.0 - Use `Buffer.from(string[, encoding])` instead. - */ - new(str: string, encoding?: BufferEncoding): Buffer; - /** - * Allocates a new buffer of {size} octets. - * - * @param size count of octets to allocate. - * @deprecated since v10.0.0 - Use `Buffer.alloc()` instead (also see `Buffer.allocUnsafe()`). - */ - new(size: number): Buffer; - /** - * Allocates a new buffer containing the given {array} of octets. - * - * @param array The octets to store. - * @deprecated since v10.0.0 - Use `Buffer.from(array)` instead. - */ - new(array: Uint8Array): Buffer; - /** - * Produces a Buffer backed by the same allocated memory as - * the given {ArrayBuffer}/{SharedArrayBuffer}. - * - * @param arrayBuffer The ArrayBuffer with which to share memory. - * @deprecated since v10.0.0 - Use `Buffer.from(arrayBuffer[, byteOffset[, length]])` instead. - */ - new(arrayBuffer: ArrayBuffer | SharedArrayBuffer): Buffer; - /** - * Allocates a new buffer containing the given {array} of octets. - * - * @param array The octets to store. - * @deprecated since v10.0.0 - Use `Buffer.from(array)` instead. - */ - new(array: readonly any[]): Buffer; - /** - * Copies the passed {buffer} data onto a new {Buffer} instance. - * - * @param buffer The buffer to copy. - * @deprecated since v10.0.0 - Use `Buffer.from(buffer)` instead. - */ - new(buffer: Buffer): Buffer; - /** - * Allocates a new `Buffer` using an `array` of bytes in the range `0` – `255`. - * Array entries outside that range will be truncated to fit into it. - * - * ```js - * import { Buffer } from 'node:buffer'; - * - * // Creates a new Buffer containing the UTF-8 bytes of the string 'buffer'. - * const buf = Buffer.from([0x62, 0x75, 0x66, 0x66, 0x65, 0x72]); - * ``` - * - * If `array` is an `Array`\-like object (that is, one with a `length` property of - * type `number`), it is treated as if it is an array, unless it is a `Buffer` or - * a `Uint8Array`. This means all other `TypedArray` variants get treated as an`Array`. To create a `Buffer` from the bytes backing a `TypedArray`, use `Buffer.copyBytesFrom()`. - * - * A `TypeError` will be thrown if `array` is not an `Array` or another type - * appropriate for `Buffer.from()` variants. - * - * `Buffer.from(array)` and `Buffer.from(string)` may also use the internal`Buffer` pool like `Buffer.allocUnsafe()` does. - * @since v5.10.0 - */ - from( - arrayBuffer: WithImplicitCoercion, - byteOffset?: number, - length?: number, - ): Buffer; - /** - * Creates a new Buffer using the passed {data} - * @param data data to create a new Buffer - */ - from(data: Uint8Array | readonly number[]): Buffer; - from(data: WithImplicitCoercion): Buffer; - /** - * Creates a new Buffer containing the given JavaScript string {str}. - * If provided, the {encoding} parameter identifies the character encoding. - * If not provided, {encoding} defaults to 'utf8'. - */ - from( - str: - | WithImplicitCoercion - | { - [Symbol.toPrimitive](hint: "string"): string; - }, - encoding?: BufferEncoding, - ): Buffer; - /** - * Creates a new Buffer using the passed {data} - * @param values to create a new Buffer - */ - of(...items: number[]): Buffer; - /** - * Returns `true` if `obj` is a `Buffer`, `false` otherwise. - * - * ```js - * import { Buffer } from 'node:buffer'; - * - * Buffer.isBuffer(Buffer.alloc(10)); // true - * Buffer.isBuffer(Buffer.from('foo')); // true - * Buffer.isBuffer('a string'); // false - * Buffer.isBuffer([]); // false - * Buffer.isBuffer(new Uint8Array(1024)); // false - * ``` - * @since v0.1.101 - */ - isBuffer(obj: any): obj is Buffer; - /** - * Returns `true` if `encoding` is the name of a supported character encoding, - * or `false` otherwise. - * - * ```js - * import { Buffer } from 'node:buffer'; - * - * console.log(Buffer.isEncoding('utf8')); - * // Prints: true - * - * console.log(Buffer.isEncoding('hex')); - * // Prints: true - * - * console.log(Buffer.isEncoding('utf/8')); - * // Prints: false - * - * console.log(Buffer.isEncoding('')); - * // Prints: false - * ``` - * @since v0.9.1 - * @param encoding A character encoding name to check. - */ - isEncoding(encoding: string): encoding is BufferEncoding; - /** - * Returns the byte length of a string when encoded using `encoding`. - * This is not the same as [`String.prototype.length`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/length), which does not account - * for the encoding that is used to convert the string into bytes. - * - * For `'base64'`, `'base64url'`, and `'hex'`, this function assumes valid input. - * For strings that contain non-base64/hex-encoded data (e.g. whitespace), the - * return value might be greater than the length of a `Buffer` created from the - * string. - * - * ```js - * import { Buffer } from 'node:buffer'; - * - * const str = '\u00bd + \u00bc = \u00be'; - * - * console.log(`${str}: ${str.length} characters, ` + - * `${Buffer.byteLength(str, 'utf8')} bytes`); - * // Prints: ½ + ¼ = ¾: 9 characters, 12 bytes - * ``` - * - * When `string` is a - * `Buffer`/[`DataView`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DataView)/[`TypedArray`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/- - * Reference/Global_Objects/TypedArray)/[`ArrayBuffer`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer)/[`SharedArrayBuffer`](https://develop- - * er.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/SharedArrayBuffer), the byte length as reported by `.byteLength`is returned. - * @since v0.1.90 - * @param string A value to calculate the length of. - * @param [encoding='utf8'] If `string` is a string, this is its encoding. - * @return The number of bytes contained within `string`. - */ - byteLength( - string: string | Buffer | NodeJS.ArrayBufferView | ArrayBuffer | SharedArrayBuffer, - encoding?: BufferEncoding, - ): number; - /** - * Returns a new `Buffer` which is the result of concatenating all the `Buffer`instances in the `list` together. - * - * If the list has no items, or if the `totalLength` is 0, then a new zero-length`Buffer` is returned. - * - * If `totalLength` is not provided, it is calculated from the `Buffer` instances - * in `list` by adding their lengths. - * - * If `totalLength` is provided, it is coerced to an unsigned integer. If the - * combined length of the `Buffer`s in `list` exceeds `totalLength`, the result is - * truncated to `totalLength`. - * - * ```js - * import { Buffer } from 'node:buffer'; - * - * // Create a single `Buffer` from a list of three `Buffer` instances. - * - * const buf1 = Buffer.alloc(10); - * const buf2 = Buffer.alloc(14); - * const buf3 = Buffer.alloc(18); - * const totalLength = buf1.length + buf2.length + buf3.length; - * - * console.log(totalLength); - * // Prints: 42 - * - * const bufA = Buffer.concat([buf1, buf2, buf3], totalLength); - * - * console.log(bufA); - * // Prints: - * console.log(bufA.length); - * // Prints: 42 - * ``` - * - * `Buffer.concat()` may also use the internal `Buffer` pool like `Buffer.allocUnsafe()` does. - * @since v0.7.11 - * @param list List of `Buffer` or {@link Uint8Array} instances to concatenate. - * @param totalLength Total length of the `Buffer` instances in `list` when concatenated. - */ - concat(list: readonly Uint8Array[], totalLength?: number): Buffer; - /** - * Copies the underlying memory of `view` into a new `Buffer`. - * - * ```js - * const u16 = new Uint16Array([0, 0xffff]); - * const buf = Buffer.copyBytesFrom(u16, 1, 1); - * u16[1] = 0; - * console.log(buf.length); // 2 - * console.log(buf[0]); // 255 - * console.log(buf[1]); // 255 - * ``` - * @since v19.8.0 - * @param view The {TypedArray} to copy. - * @param [offset=0] The starting offset within `view`. - * @param [length=view.length - offset] The number of elements from `view` to copy. - */ - copyBytesFrom(view: NodeJS.TypedArray, offset?: number, length?: number): Buffer; - /** - * Compares `buf1` to `buf2`, typically for the purpose of sorting arrays of`Buffer` instances. This is equivalent to calling `buf1.compare(buf2)`. - * - * ```js - * import { Buffer } from 'node:buffer'; - * - * const buf1 = Buffer.from('1234'); - * const buf2 = Buffer.from('0123'); - * const arr = [buf1, buf2]; - * - * console.log(arr.sort(Buffer.compare)); - * // Prints: [ , ] - * // (This result is equal to: [buf2, buf1].) - * ``` - * @since v0.11.13 - * @return Either `-1`, `0`, or `1`, depending on the result of the comparison. See `compare` for details. - */ - compare(buf1: Uint8Array, buf2: Uint8Array): -1 | 0 | 1; - /** - * Allocates a new `Buffer` of `size` bytes. If `fill` is `undefined`, the`Buffer` will be zero-filled. - * - * ```js - * import { Buffer } from 'node:buffer'; - * - * const buf = Buffer.alloc(5); - * - * console.log(buf); - * // Prints: - * ``` - * - * If `size` is larger than {@link constants.MAX_LENGTH} or smaller than 0, `ERR_OUT_OF_RANGE` is thrown. - * - * If `fill` is specified, the allocated `Buffer` will be initialized by calling `buf.fill(fill)`. - * - * ```js - * import { Buffer } from 'node:buffer'; - * - * const buf = Buffer.alloc(5, 'a'); - * - * console.log(buf); - * // Prints: - * ``` - * - * If both `fill` and `encoding` are specified, the allocated `Buffer` will be - * initialized by calling `buf.fill(fill, encoding)`. - * - * ```js - * import { Buffer } from 'node:buffer'; - * - * const buf = Buffer.alloc(11, 'aGVsbG8gd29ybGQ=', 'base64'); - * - * console.log(buf); - * // Prints: - * ``` - * - * Calling `Buffer.alloc()` can be measurably slower than the alternative `Buffer.allocUnsafe()` but ensures that the newly created `Buffer` instance - * contents will never contain sensitive data from previous allocations, including - * data that might not have been allocated for `Buffer`s. - * - * A `TypeError` will be thrown if `size` is not a number. - * @since v5.10.0 - * @param size The desired length of the new `Buffer`. - * @param [fill=0] A value to pre-fill the new `Buffer` with. - * @param [encoding='utf8'] If `fill` is a string, this is its encoding. - */ - alloc(size: number, fill?: string | Uint8Array | number, encoding?: BufferEncoding): Buffer; - /** - * Allocates a new `Buffer` of `size` bytes. If `size` is larger than {@link constants.MAX_LENGTH} or smaller than 0, `ERR_OUT_OF_RANGE` is thrown. - * - * The underlying memory for `Buffer` instances created in this way is _not_ - * _initialized_. The contents of the newly created `Buffer` are unknown and _may contain sensitive data_. Use `Buffer.alloc()` instead to initialize`Buffer` instances with zeroes. - * - * ```js - * import { Buffer } from 'node:buffer'; - * - * const buf = Buffer.allocUnsafe(10); - * - * console.log(buf); - * // Prints (contents may vary): - * - * buf.fill(0); - * - * console.log(buf); - * // Prints: - * ``` - * - * A `TypeError` will be thrown if `size` is not a number. - * - * The `Buffer` module pre-allocates an internal `Buffer` instance of - * size `Buffer.poolSize` that is used as a pool for the fast allocation of new `Buffer` instances created using `Buffer.allocUnsafe()`, `Buffer.from(array)`, - * and `Buffer.concat()` only when `size` is less than `Buffer.poolSize >>> 1` (floor of `Buffer.poolSize` divided by two). - * - * Use of this pre-allocated internal memory pool is a key difference between - * calling `Buffer.alloc(size, fill)` vs. `Buffer.allocUnsafe(size).fill(fill)`. - * Specifically, `Buffer.alloc(size, fill)` will _never_ use the internal `Buffer`pool, while `Buffer.allocUnsafe(size).fill(fill)`_will_ use the internal`Buffer` pool if `size` is less - * than or equal to half `Buffer.poolSize`. The - * difference is subtle but can be important when an application requires the - * additional performance that `Buffer.allocUnsafe()` provides. - * @since v5.10.0 - * @param size The desired length of the new `Buffer`. - */ - allocUnsafe(size: number): Buffer; - /** - * Allocates a new `Buffer` of `size` bytes. If `size` is larger than {@link constants.MAX_LENGTH} or smaller than 0, `ERR_OUT_OF_RANGE` is thrown. A zero-length `Buffer` is created if - * `size` is 0. - * - * The underlying memory for `Buffer` instances created in this way is _not_ - * _initialized_. The contents of the newly created `Buffer` are unknown and _may contain sensitive data_. Use `buf.fill(0)` to initialize - * such `Buffer` instances with zeroes. - * - * When using `Buffer.allocUnsafe()` to allocate new `Buffer` instances, - * allocations under 4 KiB are sliced from a single pre-allocated `Buffer`. This - * allows applications to avoid the garbage collection overhead of creating many - * individually allocated `Buffer` instances. This approach improves both - * performance and memory usage by eliminating the need to track and clean up as - * many individual `ArrayBuffer` objects. - * - * However, in the case where a developer may need to retain a small chunk of - * memory from a pool for an indeterminate amount of time, it may be appropriate - * to create an un-pooled `Buffer` instance using `Buffer.allocUnsafeSlow()` and - * then copying out the relevant bits. - * - * ```js - * import { Buffer } from 'node:buffer'; - * - * // Need to keep around a few small chunks of memory. - * const store = []; - * - * socket.on('readable', () => { - * let data; - * while (null !== (data = readable.read())) { - * // Allocate for retained data. - * const sb = Buffer.allocUnsafeSlow(10); - * - * // Copy the data into the new allocation. - * data.copy(sb, 0, 0, 10); - * - * store.push(sb); - * } - * }); - * ``` - * - * A `TypeError` will be thrown if `size` is not a number. - * @since v5.12.0 - * @param size The desired length of the new `Buffer`. - */ - allocUnsafeSlow(size: number): Buffer; - /** - * This is the size (in bytes) of pre-allocated internal `Buffer` instances used - * for pooling. This value may be modified. - * @since v0.11.3 - */ - poolSize: number; - } - interface Buffer extends Uint8Array { - /** - * Writes `string` to `buf` at `offset` according to the character encoding in`encoding`. The `length` parameter is the number of bytes to write. If `buf` did - * not contain enough space to fit the entire string, only part of `string` will be - * written. However, partially encoded characters will not be written. - * - * ```js - * import { Buffer } from 'node:buffer'; - * - * const buf = Buffer.alloc(256); - * - * const len = buf.write('\u00bd + \u00bc = \u00be', 0); - * - * console.log(`${len} bytes: ${buf.toString('utf8', 0, len)}`); - * // Prints: 12 bytes: ½ + ¼ = ¾ - * - * const buffer = Buffer.alloc(10); - * - * const length = buffer.write('abcd', 8); - * - * console.log(`${length} bytes: ${buffer.toString('utf8', 8, 10)}`); - * // Prints: 2 bytes : ab - * ``` - * @since v0.1.90 - * @param string String to write to `buf`. - * @param [offset=0] Number of bytes to skip before starting to write `string`. - * @param [length=buf.length - offset] Maximum number of bytes to write (written bytes will not exceed `buf.length - offset`). - * @param [encoding='utf8'] The character encoding of `string`. - * @return Number of bytes written. - */ - write(string: string, encoding?: BufferEncoding): number; - write(string: string, offset: number, encoding?: BufferEncoding): number; - write(string: string, offset: number, length: number, encoding?: BufferEncoding): number; - /** - * Decodes `buf` to a string according to the specified character encoding in`encoding`. `start` and `end` may be passed to decode only a subset of `buf`. - * - * If `encoding` is `'utf8'` and a byte sequence in the input is not valid UTF-8, - * then each invalid byte is replaced with the replacement character `U+FFFD`. - * - * The maximum length of a string instance (in UTF-16 code units) is available - * as {@link constants.MAX_STRING_LENGTH}. - * - * ```js - * import { Buffer } from 'node:buffer'; - * - * const buf1 = Buffer.allocUnsafe(26); - * - * for (let i = 0; i < 26; i++) { - * // 97 is the decimal ASCII value for 'a'. - * buf1[i] = i + 97; - * } - * - * console.log(buf1.toString('utf8')); - * // Prints: abcdefghijklmnopqrstuvwxyz - * console.log(buf1.toString('utf8', 0, 5)); - * // Prints: abcde - * - * const buf2 = Buffer.from('tést'); - * - * console.log(buf2.toString('hex')); - * // Prints: 74c3a97374 - * console.log(buf2.toString('utf8', 0, 3)); - * // Prints: té - * console.log(buf2.toString(undefined, 0, 3)); - * // Prints: té - * ``` - * @since v0.1.90 - * @param [encoding='utf8'] The character encoding to use. - * @param [start=0] The byte offset to start decoding at. - * @param [end=buf.length] The byte offset to stop decoding at (not inclusive). - */ - toString(encoding?: BufferEncoding, start?: number, end?: number): string; - /** - * Returns a JSON representation of `buf`. [`JSON.stringify()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON/stringify) implicitly calls - * this function when stringifying a `Buffer` instance. - * - * `Buffer.from()` accepts objects in the format returned from this method. - * In particular, `Buffer.from(buf.toJSON())` works like `Buffer.from(buf)`. - * - * ```js - * import { Buffer } from 'node:buffer'; - * - * const buf = Buffer.from([0x1, 0x2, 0x3, 0x4, 0x5]); - * const json = JSON.stringify(buf); - * - * console.log(json); - * // Prints: {"type":"Buffer","data":[1,2,3,4,5]} - * - * const copy = JSON.parse(json, (key, value) => { - * return value && value.type === 'Buffer' ? - * Buffer.from(value) : - * value; - * }); - * - * console.log(copy); - * // Prints: - * ``` - * @since v0.9.2 - */ - toJSON(): { - type: "Buffer"; - data: number[]; - }; - /** - * Returns `true` if both `buf` and `otherBuffer` have exactly the same bytes,`false` otherwise. Equivalent to `buf.compare(otherBuffer) === 0`. - * - * ```js - * import { Buffer } from 'node:buffer'; - * - * const buf1 = Buffer.from('ABC'); - * const buf2 = Buffer.from('414243', 'hex'); - * const buf3 = Buffer.from('ABCD'); - * - * console.log(buf1.equals(buf2)); - * // Prints: true - * console.log(buf1.equals(buf3)); - * // Prints: false - * ``` - * @since v0.11.13 - * @param otherBuffer A `Buffer` or {@link Uint8Array} with which to compare `buf`. - */ - equals(otherBuffer: Uint8Array): boolean; - /** - * Compares `buf` with `target` and returns a number indicating whether `buf`comes before, after, or is the same as `target` in sort order. - * Comparison is based on the actual sequence of bytes in each `Buffer`. - * - * * `0` is returned if `target` is the same as `buf` - * * `1` is returned if `target` should come _before_`buf` when sorted. - * * `-1` is returned if `target` should come _after_`buf` when sorted. - * - * ```js - * import { Buffer } from 'node:buffer'; - * - * const buf1 = Buffer.from('ABC'); - * const buf2 = Buffer.from('BCD'); - * const buf3 = Buffer.from('ABCD'); - * - * console.log(buf1.compare(buf1)); - * // Prints: 0 - * console.log(buf1.compare(buf2)); - * // Prints: -1 - * console.log(buf1.compare(buf3)); - * // Prints: -1 - * console.log(buf2.compare(buf1)); - * // Prints: 1 - * console.log(buf2.compare(buf3)); - * // Prints: 1 - * console.log([buf1, buf2, buf3].sort(Buffer.compare)); - * // Prints: [ , , ] - * // (This result is equal to: [buf1, buf3, buf2].) - * ``` - * - * The optional `targetStart`, `targetEnd`, `sourceStart`, and `sourceEnd`arguments can be used to limit the comparison to specific ranges within `target`and `buf` respectively. - * - * ```js - * import { Buffer } from 'node:buffer'; - * - * const buf1 = Buffer.from([1, 2, 3, 4, 5, 6, 7, 8, 9]); - * const buf2 = Buffer.from([5, 6, 7, 8, 9, 1, 2, 3, 4]); - * - * console.log(buf1.compare(buf2, 5, 9, 0, 4)); - * // Prints: 0 - * console.log(buf1.compare(buf2, 0, 6, 4)); - * // Prints: -1 - * console.log(buf1.compare(buf2, 5, 6, 5)); - * // Prints: 1 - * ``` - * - * `ERR_OUT_OF_RANGE` is thrown if `targetStart < 0`, `sourceStart < 0`,`targetEnd > target.byteLength`, or `sourceEnd > source.byteLength`. - * @since v0.11.13 - * @param target A `Buffer` or {@link Uint8Array} with which to compare `buf`. - * @param [targetStart=0] The offset within `target` at which to begin comparison. - * @param [targetEnd=target.length] The offset within `target` at which to end comparison (not inclusive). - * @param [sourceStart=0] The offset within `buf` at which to begin comparison. - * @param [sourceEnd=buf.length] The offset within `buf` at which to end comparison (not inclusive). - */ - compare( - target: Uint8Array, - targetStart?: number, - targetEnd?: number, - sourceStart?: number, - sourceEnd?: number, - ): -1 | 0 | 1; - /** - * Copies data from a region of `buf` to a region in `target`, even if the `target`memory region overlaps with `buf`. - * - * [`TypedArray.prototype.set()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/TypedArray/set) performs the same operation, and is available - * for all TypedArrays, including Node.js `Buffer`s, although it takes - * different function arguments. - * - * ```js - * import { Buffer } from 'node:buffer'; - * - * // Create two `Buffer` instances. - * const buf1 = Buffer.allocUnsafe(26); - * const buf2 = Buffer.allocUnsafe(26).fill('!'); - * - * for (let i = 0; i < 26; i++) { - * // 97 is the decimal ASCII value for 'a'. - * buf1[i] = i + 97; - * } - * - * // Copy `buf1` bytes 16 through 19 into `buf2` starting at byte 8 of `buf2`. - * buf1.copy(buf2, 8, 16, 20); - * // This is equivalent to: - * // buf2.set(buf1.subarray(16, 20), 8); - * - * console.log(buf2.toString('ascii', 0, 25)); - * // Prints: !!!!!!!!qrst!!!!!!!!!!!!! - * ``` - * - * ```js - * import { Buffer } from 'node:buffer'; - * - * // Create a `Buffer` and copy data from one region to an overlapping region - * // within the same `Buffer`. - * - * const buf = Buffer.allocUnsafe(26); - * - * for (let i = 0; i < 26; i++) { - * // 97 is the decimal ASCII value for 'a'. - * buf[i] = i + 97; - * } - * - * buf.copy(buf, 0, 4, 10); - * - * console.log(buf.toString()); - * // Prints: efghijghijklmnopqrstuvwxyz - * ``` - * @since v0.1.90 - * @param target A `Buffer` or {@link Uint8Array} to copy into. - * @param [targetStart=0] The offset within `target` at which to begin writing. - * @param [sourceStart=0] The offset within `buf` from which to begin copying. - * @param [sourceEnd=buf.length] The offset within `buf` at which to stop copying (not inclusive). - * @return The number of bytes copied. - */ - copy(target: Uint8Array, targetStart?: number, sourceStart?: number, sourceEnd?: number): number; - /** - * Returns a new `Buffer` that references the same memory as the original, but - * offset and cropped by the `start` and `end` indices. - * - * This method is not compatible with the `Uint8Array.prototype.slice()`, - * which is a superclass of `Buffer`. To copy the slice, use`Uint8Array.prototype.slice()`. - * - * ```js - * import { Buffer } from 'node:buffer'; - * - * const buf = Buffer.from('buffer'); - * - * const copiedBuf = Uint8Array.prototype.slice.call(buf); - * copiedBuf[0]++; - * console.log(copiedBuf.toString()); - * // Prints: cuffer - * - * console.log(buf.toString()); - * // Prints: buffer - * - * // With buf.slice(), the original buffer is modified. - * const notReallyCopiedBuf = buf.slice(); - * notReallyCopiedBuf[0]++; - * console.log(notReallyCopiedBuf.toString()); - * // Prints: cuffer - * console.log(buf.toString()); - * // Also prints: cuffer (!) - * ``` - * @since v0.3.0 - * @deprecated Use `subarray` instead. - * @param [start=0] Where the new `Buffer` will start. - * @param [end=buf.length] Where the new `Buffer` will end (not inclusive). - */ - slice(start?: number, end?: number): Buffer; - /** - * Returns a new `Buffer` that references the same memory as the original, but - * offset and cropped by the `start` and `end` indices. - * - * Specifying `end` greater than `buf.length` will return the same result as - * that of `end` equal to `buf.length`. - * - * This method is inherited from [`TypedArray.prototype.subarray()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/TypedArray/subarray). - * - * Modifying the new `Buffer` slice will modify the memory in the original `Buffer`because the allocated memory of the two objects overlap. - * - * ```js - * import { Buffer } from 'node:buffer'; - * - * // Create a `Buffer` with the ASCII alphabet, take a slice, and modify one byte - * // from the original `Buffer`. - * - * const buf1 = Buffer.allocUnsafe(26); - * - * for (let i = 0; i < 26; i++) { - * // 97 is the decimal ASCII value for 'a'. - * buf1[i] = i + 97; - * } - * - * const buf2 = buf1.subarray(0, 3); - * - * console.log(buf2.toString('ascii', 0, buf2.length)); - * // Prints: abc - * - * buf1[0] = 33; - * - * console.log(buf2.toString('ascii', 0, buf2.length)); - * // Prints: !bc - * ``` - * - * Specifying negative indexes causes the slice to be generated relative to the - * end of `buf` rather than the beginning. - * - * ```js - * import { Buffer } from 'node:buffer'; - * - * const buf = Buffer.from('buffer'); - * - * console.log(buf.subarray(-6, -1).toString()); - * // Prints: buffe - * // (Equivalent to buf.subarray(0, 5).) - * - * console.log(buf.subarray(-6, -2).toString()); - * // Prints: buff - * // (Equivalent to buf.subarray(0, 4).) - * - * console.log(buf.subarray(-5, -2).toString()); - * // Prints: uff - * // (Equivalent to buf.subarray(1, 4).) - * ``` - * @since v3.0.0 - * @param [start=0] Where the new `Buffer` will start. - * @param [end=buf.length] Where the new `Buffer` will end (not inclusive). - */ - subarray(start?: number, end?: number): Buffer; - /** - * Writes `value` to `buf` at the specified `offset` as big-endian. - * - * `value` is interpreted and written as a two's complement signed integer. - * - * ```js - * import { Buffer } from 'node:buffer'; - * - * const buf = Buffer.allocUnsafe(8); - * - * buf.writeBigInt64BE(0x0102030405060708n, 0); - * - * console.log(buf); - * // Prints: - * ``` - * @since v12.0.0, v10.20.0 - * @param value Number to be written to `buf`. - * @param [offset=0] Number of bytes to skip before starting to write. Must satisfy: `0 <= offset <= buf.length - 8`. - * @return `offset` plus the number of bytes written. - */ - writeBigInt64BE(value: bigint, offset?: number): number; - /** - * Writes `value` to `buf` at the specified `offset` as little-endian. - * - * `value` is interpreted and written as a two's complement signed integer. - * - * ```js - * import { Buffer } from 'node:buffer'; - * - * const buf = Buffer.allocUnsafe(8); - * - * buf.writeBigInt64LE(0x0102030405060708n, 0); - * - * console.log(buf); - * // Prints: - * ``` - * @since v12.0.0, v10.20.0 - * @param value Number to be written to `buf`. - * @param [offset=0] Number of bytes to skip before starting to write. Must satisfy: `0 <= offset <= buf.length - 8`. - * @return `offset` plus the number of bytes written. - */ - writeBigInt64LE(value: bigint, offset?: number): number; - /** - * Writes `value` to `buf` at the specified `offset` as big-endian. - * - * This function is also available under the `writeBigUint64BE` alias. - * - * ```js - * import { Buffer } from 'node:buffer'; - * - * const buf = Buffer.allocUnsafe(8); - * - * buf.writeBigUInt64BE(0xdecafafecacefaden, 0); - * - * console.log(buf); - * // Prints: - * ``` - * @since v12.0.0, v10.20.0 - * @param value Number to be written to `buf`. - * @param [offset=0] Number of bytes to skip before starting to write. Must satisfy: `0 <= offset <= buf.length - 8`. - * @return `offset` plus the number of bytes written. - */ - writeBigUInt64BE(value: bigint, offset?: number): number; - /** - * @alias Buffer.writeBigUInt64BE - * @since v14.10.0, v12.19.0 - */ - writeBigUint64BE(value: bigint, offset?: number): number; - /** - * Writes `value` to `buf` at the specified `offset` as little-endian - * - * ```js - * import { Buffer } from 'node:buffer'; - * - * const buf = Buffer.allocUnsafe(8); - * - * buf.writeBigUInt64LE(0xdecafafecacefaden, 0); - * - * console.log(buf); - * // Prints: - * ``` - * - * This function is also available under the `writeBigUint64LE` alias. - * @since v12.0.0, v10.20.0 - * @param value Number to be written to `buf`. - * @param [offset=0] Number of bytes to skip before starting to write. Must satisfy: `0 <= offset <= buf.length - 8`. - * @return `offset` plus the number of bytes written. - */ - writeBigUInt64LE(value: bigint, offset?: number): number; - /** - * @alias Buffer.writeBigUInt64LE - * @since v14.10.0, v12.19.0 - */ - writeBigUint64LE(value: bigint, offset?: number): number; - /** - * Writes `byteLength` bytes of `value` to `buf` at the specified `offset`as little-endian. Supports up to 48 bits of accuracy. Behavior is undefined - * when `value` is anything other than an unsigned integer. - * - * This function is also available under the `writeUintLE` alias. - * - * ```js - * import { Buffer } from 'node:buffer'; - * - * const buf = Buffer.allocUnsafe(6); - * - * buf.writeUIntLE(0x1234567890ab, 0, 6); - * - * console.log(buf); - * // Prints: - * ``` - * @since v0.5.5 - * @param value Number to be written to `buf`. - * @param offset Number of bytes to skip before starting to write. Must satisfy `0 <= offset <= buf.length - byteLength`. - * @param byteLength Number of bytes to write. Must satisfy `0 < byteLength <= 6`. - * @return `offset` plus the number of bytes written. - */ - writeUIntLE(value: number, offset: number, byteLength: number): number; - /** - * @alias Buffer.writeUIntLE - * @since v14.9.0, v12.19.0 - */ - writeUintLE(value: number, offset: number, byteLength: number): number; - /** - * Writes `byteLength` bytes of `value` to `buf` at the specified `offset`as big-endian. Supports up to 48 bits of accuracy. Behavior is undefined - * when `value` is anything other than an unsigned integer. - * - * This function is also available under the `writeUintBE` alias. - * - * ```js - * import { Buffer } from 'node:buffer'; - * - * const buf = Buffer.allocUnsafe(6); - * - * buf.writeUIntBE(0x1234567890ab, 0, 6); - * - * console.log(buf); - * // Prints: - * ``` - * @since v0.5.5 - * @param value Number to be written to `buf`. - * @param offset Number of bytes to skip before starting to write. Must satisfy `0 <= offset <= buf.length - byteLength`. - * @param byteLength Number of bytes to write. Must satisfy `0 < byteLength <= 6`. - * @return `offset` plus the number of bytes written. - */ - writeUIntBE(value: number, offset: number, byteLength: number): number; - /** - * @alias Buffer.writeUIntBE - * @since v14.9.0, v12.19.0 - */ - writeUintBE(value: number, offset: number, byteLength: number): number; - /** - * Writes `byteLength` bytes of `value` to `buf` at the specified `offset`as little-endian. Supports up to 48 bits of accuracy. Behavior is undefined - * when `value` is anything other than a signed integer. - * - * ```js - * import { Buffer } from 'node:buffer'; - * - * const buf = Buffer.allocUnsafe(6); - * - * buf.writeIntLE(0x1234567890ab, 0, 6); - * - * console.log(buf); - * // Prints: - * ``` - * @since v0.11.15 - * @param value Number to be written to `buf`. - * @param offset Number of bytes to skip before starting to write. Must satisfy `0 <= offset <= buf.length - byteLength`. - * @param byteLength Number of bytes to write. Must satisfy `0 < byteLength <= 6`. - * @return `offset` plus the number of bytes written. - */ - writeIntLE(value: number, offset: number, byteLength: number): number; - /** - * Writes `byteLength` bytes of `value` to `buf` at the specified `offset`as big-endian. Supports up to 48 bits of accuracy. Behavior is undefined when`value` is anything other than a - * signed integer. - * - * ```js - * import { Buffer } from 'node:buffer'; - * - * const buf = Buffer.allocUnsafe(6); - * - * buf.writeIntBE(0x1234567890ab, 0, 6); - * - * console.log(buf); - * // Prints: - * ``` - * @since v0.11.15 - * @param value Number to be written to `buf`. - * @param offset Number of bytes to skip before starting to write. Must satisfy `0 <= offset <= buf.length - byteLength`. - * @param byteLength Number of bytes to write. Must satisfy `0 < byteLength <= 6`. - * @return `offset` plus the number of bytes written. - */ - writeIntBE(value: number, offset: number, byteLength: number): number; - /** - * Reads an unsigned, big-endian 64-bit integer from `buf` at the specified`offset`. - * - * This function is also available under the `readBigUint64BE` alias. - * - * ```js - * import { Buffer } from 'node:buffer'; - * - * const buf = Buffer.from([0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff]); - * - * console.log(buf.readBigUInt64BE(0)); - * // Prints: 4294967295n - * ``` - * @since v12.0.0, v10.20.0 - * @param [offset=0] Number of bytes to skip before starting to read. Must satisfy: `0 <= offset <= buf.length - 8`. - */ - readBigUInt64BE(offset?: number): bigint; - /** - * @alias Buffer.readBigUInt64BE - * @since v14.10.0, v12.19.0 - */ - readBigUint64BE(offset?: number): bigint; - /** - * Reads an unsigned, little-endian 64-bit integer from `buf` at the specified`offset`. - * - * This function is also available under the `readBigUint64LE` alias. - * - * ```js - * import { Buffer } from 'node:buffer'; - * - * const buf = Buffer.from([0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff]); - * - * console.log(buf.readBigUInt64LE(0)); - * // Prints: 18446744069414584320n - * ``` - * @since v12.0.0, v10.20.0 - * @param [offset=0] Number of bytes to skip before starting to read. Must satisfy: `0 <= offset <= buf.length - 8`. - */ - readBigUInt64LE(offset?: number): bigint; - /** - * @alias Buffer.readBigUInt64LE - * @since v14.10.0, v12.19.0 - */ - readBigUint64LE(offset?: number): bigint; - /** - * Reads a signed, big-endian 64-bit integer from `buf` at the specified `offset`. - * - * Integers read from a `Buffer` are interpreted as two's complement signed - * values. - * @since v12.0.0, v10.20.0 - * @param [offset=0] Number of bytes to skip before starting to read. Must satisfy: `0 <= offset <= buf.length - 8`. - */ - readBigInt64BE(offset?: number): bigint; - /** - * Reads a signed, little-endian 64-bit integer from `buf` at the specified`offset`. - * - * Integers read from a `Buffer` are interpreted as two's complement signed - * values. - * @since v12.0.0, v10.20.0 - * @param [offset=0] Number of bytes to skip before starting to read. Must satisfy: `0 <= offset <= buf.length - 8`. - */ - readBigInt64LE(offset?: number): bigint; - /** - * Reads `byteLength` number of bytes from `buf` at the specified `offset`and interprets the result as an unsigned, little-endian integer supporting - * up to 48 bits of accuracy. - * - * This function is also available under the `readUintLE` alias. - * - * ```js - * import { Buffer } from 'node:buffer'; - * - * const buf = Buffer.from([0x12, 0x34, 0x56, 0x78, 0x90, 0xab]); - * - * console.log(buf.readUIntLE(0, 6).toString(16)); - * // Prints: ab9078563412 - * ``` - * @since v0.11.15 - * @param offset Number of bytes to skip before starting to read. Must satisfy `0 <= offset <= buf.length - byteLength`. - * @param byteLength Number of bytes to read. Must satisfy `0 < byteLength <= 6`. - */ - readUIntLE(offset: number, byteLength: number): number; - /** - * @alias Buffer.readUIntLE - * @since v14.9.0, v12.19.0 - */ - readUintLE(offset: number, byteLength: number): number; - /** - * Reads `byteLength` number of bytes from `buf` at the specified `offset`and interprets the result as an unsigned big-endian integer supporting - * up to 48 bits of accuracy. - * - * This function is also available under the `readUintBE` alias. - * - * ```js - * import { Buffer } from 'node:buffer'; - * - * const buf = Buffer.from([0x12, 0x34, 0x56, 0x78, 0x90, 0xab]); - * - * console.log(buf.readUIntBE(0, 6).toString(16)); - * // Prints: 1234567890ab - * console.log(buf.readUIntBE(1, 6).toString(16)); - * // Throws ERR_OUT_OF_RANGE. - * ``` - * @since v0.11.15 - * @param offset Number of bytes to skip before starting to read. Must satisfy `0 <= offset <= buf.length - byteLength`. - * @param byteLength Number of bytes to read. Must satisfy `0 < byteLength <= 6`. - */ - readUIntBE(offset: number, byteLength: number): number; - /** - * @alias Buffer.readUIntBE - * @since v14.9.0, v12.19.0 - */ - readUintBE(offset: number, byteLength: number): number; - /** - * Reads `byteLength` number of bytes from `buf` at the specified `offset`and interprets the result as a little-endian, two's complement signed value - * supporting up to 48 bits of accuracy. - * - * ```js - * import { Buffer } from 'node:buffer'; - * - * const buf = Buffer.from([0x12, 0x34, 0x56, 0x78, 0x90, 0xab]); - * - * console.log(buf.readIntLE(0, 6).toString(16)); - * // Prints: -546f87a9cbee - * ``` - * @since v0.11.15 - * @param offset Number of bytes to skip before starting to read. Must satisfy `0 <= offset <= buf.length - byteLength`. - * @param byteLength Number of bytes to read. Must satisfy `0 < byteLength <= 6`. - */ - readIntLE(offset: number, byteLength: number): number; - /** - * Reads `byteLength` number of bytes from `buf` at the specified `offset`and interprets the result as a big-endian, two's complement signed value - * supporting up to 48 bits of accuracy. - * - * ```js - * import { Buffer } from 'node:buffer'; - * - * const buf = Buffer.from([0x12, 0x34, 0x56, 0x78, 0x90, 0xab]); - * - * console.log(buf.readIntBE(0, 6).toString(16)); - * // Prints: 1234567890ab - * console.log(buf.readIntBE(1, 6).toString(16)); - * // Throws ERR_OUT_OF_RANGE. - * console.log(buf.readIntBE(1, 0).toString(16)); - * // Throws ERR_OUT_OF_RANGE. - * ``` - * @since v0.11.15 - * @param offset Number of bytes to skip before starting to read. Must satisfy `0 <= offset <= buf.length - byteLength`. - * @param byteLength Number of bytes to read. Must satisfy `0 < byteLength <= 6`. - */ - readIntBE(offset: number, byteLength: number): number; - /** - * Reads an unsigned 8-bit integer from `buf` at the specified `offset`. - * - * This function is also available under the `readUint8` alias. - * - * ```js - * import { Buffer } from 'node:buffer'; - * - * const buf = Buffer.from([1, -2]); - * - * console.log(buf.readUInt8(0)); - * // Prints: 1 - * console.log(buf.readUInt8(1)); - * // Prints: 254 - * console.log(buf.readUInt8(2)); - * // Throws ERR_OUT_OF_RANGE. - * ``` - * @since v0.5.0 - * @param [offset=0] Number of bytes to skip before starting to read. Must satisfy `0 <= offset <= buf.length - 1`. - */ - readUInt8(offset?: number): number; - /** - * @alias Buffer.readUInt8 - * @since v14.9.0, v12.19.0 - */ - readUint8(offset?: number): number; - /** - * Reads an unsigned, little-endian 16-bit integer from `buf` at the specified`offset`. - * - * This function is also available under the `readUint16LE` alias. - * - * ```js - * import { Buffer } from 'node:buffer'; - * - * const buf = Buffer.from([0x12, 0x34, 0x56]); - * - * console.log(buf.readUInt16LE(0).toString(16)); - * // Prints: 3412 - * console.log(buf.readUInt16LE(1).toString(16)); - * // Prints: 5634 - * console.log(buf.readUInt16LE(2).toString(16)); - * // Throws ERR_OUT_OF_RANGE. - * ``` - * @since v0.5.5 - * @param [offset=0] Number of bytes to skip before starting to read. Must satisfy `0 <= offset <= buf.length - 2`. - */ - readUInt16LE(offset?: number): number; - /** - * @alias Buffer.readUInt16LE - * @since v14.9.0, v12.19.0 - */ - readUint16LE(offset?: number): number; - /** - * Reads an unsigned, big-endian 16-bit integer from `buf` at the specified`offset`. - * - * This function is also available under the `readUint16BE` alias. - * - * ```js - * import { Buffer } from 'node:buffer'; - * - * const buf = Buffer.from([0x12, 0x34, 0x56]); - * - * console.log(buf.readUInt16BE(0).toString(16)); - * // Prints: 1234 - * console.log(buf.readUInt16BE(1).toString(16)); - * // Prints: 3456 - * ``` - * @since v0.5.5 - * @param [offset=0] Number of bytes to skip before starting to read. Must satisfy `0 <= offset <= buf.length - 2`. - */ - readUInt16BE(offset?: number): number; - /** - * @alias Buffer.readUInt16BE - * @since v14.9.0, v12.19.0 - */ - readUint16BE(offset?: number): number; - /** - * Reads an unsigned, little-endian 32-bit integer from `buf` at the specified`offset`. - * - * This function is also available under the `readUint32LE` alias. - * - * ```js - * import { Buffer } from 'node:buffer'; - * - * const buf = Buffer.from([0x12, 0x34, 0x56, 0x78]); - * - * console.log(buf.readUInt32LE(0).toString(16)); - * // Prints: 78563412 - * console.log(buf.readUInt32LE(1).toString(16)); - * // Throws ERR_OUT_OF_RANGE. - * ``` - * @since v0.5.5 - * @param [offset=0] Number of bytes to skip before starting to read. Must satisfy `0 <= offset <= buf.length - 4`. - */ - readUInt32LE(offset?: number): number; - /** - * @alias Buffer.readUInt32LE - * @since v14.9.0, v12.19.0 - */ - readUint32LE(offset?: number): number; - /** - * Reads an unsigned, big-endian 32-bit integer from `buf` at the specified`offset`. - * - * This function is also available under the `readUint32BE` alias. - * - * ```js - * import { Buffer } from 'node:buffer'; - * - * const buf = Buffer.from([0x12, 0x34, 0x56, 0x78]); - * - * console.log(buf.readUInt32BE(0).toString(16)); - * // Prints: 12345678 - * ``` - * @since v0.5.5 - * @param [offset=0] Number of bytes to skip before starting to read. Must satisfy `0 <= offset <= buf.length - 4`. - */ - readUInt32BE(offset?: number): number; - /** - * @alias Buffer.readUInt32BE - * @since v14.9.0, v12.19.0 - */ - readUint32BE(offset?: number): number; - /** - * Reads a signed 8-bit integer from `buf` at the specified `offset`. - * - * Integers read from a `Buffer` are interpreted as two's complement signed values. - * - * ```js - * import { Buffer } from 'node:buffer'; - * - * const buf = Buffer.from([-1, 5]); - * - * console.log(buf.readInt8(0)); - * // Prints: -1 - * console.log(buf.readInt8(1)); - * // Prints: 5 - * console.log(buf.readInt8(2)); - * // Throws ERR_OUT_OF_RANGE. - * ``` - * @since v0.5.0 - * @param [offset=0] Number of bytes to skip before starting to read. Must satisfy `0 <= offset <= buf.length - 1`. - */ - readInt8(offset?: number): number; - /** - * Reads a signed, little-endian 16-bit integer from `buf` at the specified`offset`. - * - * Integers read from a `Buffer` are interpreted as two's complement signed values. - * - * ```js - * import { Buffer } from 'node:buffer'; - * - * const buf = Buffer.from([0, 5]); - * - * console.log(buf.readInt16LE(0)); - * // Prints: 1280 - * console.log(buf.readInt16LE(1)); - * // Throws ERR_OUT_OF_RANGE. - * ``` - * @since v0.5.5 - * @param [offset=0] Number of bytes to skip before starting to read. Must satisfy `0 <= offset <= buf.length - 2`. - */ - readInt16LE(offset?: number): number; - /** - * Reads a signed, big-endian 16-bit integer from `buf` at the specified `offset`. - * - * Integers read from a `Buffer` are interpreted as two's complement signed values. - * - * ```js - * import { Buffer } from 'node:buffer'; - * - * const buf = Buffer.from([0, 5]); - * - * console.log(buf.readInt16BE(0)); - * // Prints: 5 - * ``` - * @since v0.5.5 - * @param [offset=0] Number of bytes to skip before starting to read. Must satisfy `0 <= offset <= buf.length - 2`. - */ - readInt16BE(offset?: number): number; - /** - * Reads a signed, little-endian 32-bit integer from `buf` at the specified`offset`. - * - * Integers read from a `Buffer` are interpreted as two's complement signed values. - * - * ```js - * import { Buffer } from 'node:buffer'; - * - * const buf = Buffer.from([0, 0, 0, 5]); - * - * console.log(buf.readInt32LE(0)); - * // Prints: 83886080 - * console.log(buf.readInt32LE(1)); - * // Throws ERR_OUT_OF_RANGE. - * ``` - * @since v0.5.5 - * @param [offset=0] Number of bytes to skip before starting to read. Must satisfy `0 <= offset <= buf.length - 4`. - */ - readInt32LE(offset?: number): number; - /** - * Reads a signed, big-endian 32-bit integer from `buf` at the specified `offset`. - * - * Integers read from a `Buffer` are interpreted as two's complement signed values. - * - * ```js - * import { Buffer } from 'node:buffer'; - * - * const buf = Buffer.from([0, 0, 0, 5]); - * - * console.log(buf.readInt32BE(0)); - * // Prints: 5 - * ``` - * @since v0.5.5 - * @param [offset=0] Number of bytes to skip before starting to read. Must satisfy `0 <= offset <= buf.length - 4`. - */ - readInt32BE(offset?: number): number; - /** - * Reads a 32-bit, little-endian float from `buf` at the specified `offset`. - * - * ```js - * import { Buffer } from 'node:buffer'; - * - * const buf = Buffer.from([1, 2, 3, 4]); - * - * console.log(buf.readFloatLE(0)); - * // Prints: 1.539989614439558e-36 - * console.log(buf.readFloatLE(1)); - * // Throws ERR_OUT_OF_RANGE. - * ``` - * @since v0.11.15 - * @param [offset=0] Number of bytes to skip before starting to read. Must satisfy `0 <= offset <= buf.length - 4`. - */ - readFloatLE(offset?: number): number; - /** - * Reads a 32-bit, big-endian float from `buf` at the specified `offset`. - * - * ```js - * import { Buffer } from 'node:buffer'; - * - * const buf = Buffer.from([1, 2, 3, 4]); - * - * console.log(buf.readFloatBE(0)); - * // Prints: 2.387939260590663e-38 - * ``` - * @since v0.11.15 - * @param [offset=0] Number of bytes to skip before starting to read. Must satisfy `0 <= offset <= buf.length - 4`. - */ - readFloatBE(offset?: number): number; - /** - * Reads a 64-bit, little-endian double from `buf` at the specified `offset`. - * - * ```js - * import { Buffer } from 'node:buffer'; - * - * const buf = Buffer.from([1, 2, 3, 4, 5, 6, 7, 8]); - * - * console.log(buf.readDoubleLE(0)); - * // Prints: 5.447603722011605e-270 - * console.log(buf.readDoubleLE(1)); - * // Throws ERR_OUT_OF_RANGE. - * ``` - * @since v0.11.15 - * @param [offset=0] Number of bytes to skip before starting to read. Must satisfy `0 <= offset <= buf.length - 8`. - */ - readDoubleLE(offset?: number): number; - /** - * Reads a 64-bit, big-endian double from `buf` at the specified `offset`. - * - * ```js - * import { Buffer } from 'node:buffer'; - * - * const buf = Buffer.from([1, 2, 3, 4, 5, 6, 7, 8]); - * - * console.log(buf.readDoubleBE(0)); - * // Prints: 8.20788039913184e-304 - * ``` - * @since v0.11.15 - * @param [offset=0] Number of bytes to skip before starting to read. Must satisfy `0 <= offset <= buf.length - 8`. - */ - readDoubleBE(offset?: number): number; - reverse(): this; - /** - * Interprets `buf` as an array of unsigned 16-bit integers and swaps the - * byte order _in-place_. Throws `ERR_INVALID_BUFFER_SIZE` if `buf.length` is not a multiple of 2. - * - * ```js - * import { Buffer } from 'node:buffer'; - * - * const buf1 = Buffer.from([0x1, 0x2, 0x3, 0x4, 0x5, 0x6, 0x7, 0x8]); - * - * console.log(buf1); - * // Prints: - * - * buf1.swap16(); - * - * console.log(buf1); - * // Prints: - * - * const buf2 = Buffer.from([0x1, 0x2, 0x3]); - * - * buf2.swap16(); - * // Throws ERR_INVALID_BUFFER_SIZE. - * ``` - * - * One convenient use of `buf.swap16()` is to perform a fast in-place conversion - * between UTF-16 little-endian and UTF-16 big-endian: - * - * ```js - * import { Buffer } from 'node:buffer'; - * - * const buf = Buffer.from('This is little-endian UTF-16', 'utf16le'); - * buf.swap16(); // Convert to big-endian UTF-16 text. - * ``` - * @since v5.10.0 - * @return A reference to `buf`. - */ - swap16(): Buffer; - /** - * Interprets `buf` as an array of unsigned 32-bit integers and swaps the - * byte order _in-place_. Throws `ERR_INVALID_BUFFER_SIZE` if `buf.length` is not a multiple of 4. - * - * ```js - * import { Buffer } from 'node:buffer'; - * - * const buf1 = Buffer.from([0x1, 0x2, 0x3, 0x4, 0x5, 0x6, 0x7, 0x8]); - * - * console.log(buf1); - * // Prints: - * - * buf1.swap32(); - * - * console.log(buf1); - * // Prints: - * - * const buf2 = Buffer.from([0x1, 0x2, 0x3]); - * - * buf2.swap32(); - * // Throws ERR_INVALID_BUFFER_SIZE. - * ``` - * @since v5.10.0 - * @return A reference to `buf`. - */ - swap32(): Buffer; - /** - * Interprets `buf` as an array of 64-bit numbers and swaps byte order _in-place_. - * Throws `ERR_INVALID_BUFFER_SIZE` if `buf.length` is not a multiple of 8. - * - * ```js - * import { Buffer } from 'node:buffer'; - * - * const buf1 = Buffer.from([0x1, 0x2, 0x3, 0x4, 0x5, 0x6, 0x7, 0x8]); - * - * console.log(buf1); - * // Prints: - * - * buf1.swap64(); - * - * console.log(buf1); - * // Prints: - * - * const buf2 = Buffer.from([0x1, 0x2, 0x3]); - * - * buf2.swap64(); - * // Throws ERR_INVALID_BUFFER_SIZE. - * ``` - * @since v6.3.0 - * @return A reference to `buf`. - */ - swap64(): Buffer; - /** - * Writes `value` to `buf` at the specified `offset`. `value` must be a - * valid unsigned 8-bit integer. Behavior is undefined when `value` is anything - * other than an unsigned 8-bit integer. - * - * This function is also available under the `writeUint8` alias. - * - * ```js - * import { Buffer } from 'node:buffer'; - * - * const buf = Buffer.allocUnsafe(4); - * - * buf.writeUInt8(0x3, 0); - * buf.writeUInt8(0x4, 1); - * buf.writeUInt8(0x23, 2); - * buf.writeUInt8(0x42, 3); - * - * console.log(buf); - * // Prints: - * ``` - * @since v0.5.0 - * @param value Number to be written to `buf`. - * @param [offset=0] Number of bytes to skip before starting to write. Must satisfy `0 <= offset <= buf.length - 1`. - * @return `offset` plus the number of bytes written. - */ - writeUInt8(value: number, offset?: number): number; - /** - * @alias Buffer.writeUInt8 - * @since v14.9.0, v12.19.0 - */ - writeUint8(value: number, offset?: number): number; - /** - * Writes `value` to `buf` at the specified `offset` as little-endian. The `value`must be a valid unsigned 16-bit integer. Behavior is undefined when `value` is - * anything other than an unsigned 16-bit integer. - * - * This function is also available under the `writeUint16LE` alias. - * - * ```js - * import { Buffer } from 'node:buffer'; - * - * const buf = Buffer.allocUnsafe(4); - * - * buf.writeUInt16LE(0xdead, 0); - * buf.writeUInt16LE(0xbeef, 2); - * - * console.log(buf); - * // Prints: - * ``` - * @since v0.5.5 - * @param value Number to be written to `buf`. - * @param [offset=0] Number of bytes to skip before starting to write. Must satisfy `0 <= offset <= buf.length - 2`. - * @return `offset` plus the number of bytes written. - */ - writeUInt16LE(value: number, offset?: number): number; - /** - * @alias Buffer.writeUInt16LE - * @since v14.9.0, v12.19.0 - */ - writeUint16LE(value: number, offset?: number): number; - /** - * Writes `value` to `buf` at the specified `offset` as big-endian. The `value`must be a valid unsigned 16-bit integer. Behavior is undefined when `value`is anything other than an - * unsigned 16-bit integer. - * - * This function is also available under the `writeUint16BE` alias. - * - * ```js - * import { Buffer } from 'node:buffer'; - * - * const buf = Buffer.allocUnsafe(4); - * - * buf.writeUInt16BE(0xdead, 0); - * buf.writeUInt16BE(0xbeef, 2); - * - * console.log(buf); - * // Prints: - * ``` - * @since v0.5.5 - * @param value Number to be written to `buf`. - * @param [offset=0] Number of bytes to skip before starting to write. Must satisfy `0 <= offset <= buf.length - 2`. - * @return `offset` plus the number of bytes written. - */ - writeUInt16BE(value: number, offset?: number): number; - /** - * @alias Buffer.writeUInt16BE - * @since v14.9.0, v12.19.0 - */ - writeUint16BE(value: number, offset?: number): number; - /** - * Writes `value` to `buf` at the specified `offset` as little-endian. The `value`must be a valid unsigned 32-bit integer. Behavior is undefined when `value` is - * anything other than an unsigned 32-bit integer. - * - * This function is also available under the `writeUint32LE` alias. - * - * ```js - * import { Buffer } from 'node:buffer'; - * - * const buf = Buffer.allocUnsafe(4); - * - * buf.writeUInt32LE(0xfeedface, 0); - * - * console.log(buf); - * // Prints: - * ``` - * @since v0.5.5 - * @param value Number to be written to `buf`. - * @param [offset=0] Number of bytes to skip before starting to write. Must satisfy `0 <= offset <= buf.length - 4`. - * @return `offset` plus the number of bytes written. - */ - writeUInt32LE(value: number, offset?: number): number; - /** - * @alias Buffer.writeUInt32LE - * @since v14.9.0, v12.19.0 - */ - writeUint32LE(value: number, offset?: number): number; - /** - * Writes `value` to `buf` at the specified `offset` as big-endian. The `value`must be a valid unsigned 32-bit integer. Behavior is undefined when `value`is anything other than an - * unsigned 32-bit integer. - * - * This function is also available under the `writeUint32BE` alias. - * - * ```js - * import { Buffer } from 'node:buffer'; - * - * const buf = Buffer.allocUnsafe(4); - * - * buf.writeUInt32BE(0xfeedface, 0); - * - * console.log(buf); - * // Prints: - * ``` - * @since v0.5.5 - * @param value Number to be written to `buf`. - * @param [offset=0] Number of bytes to skip before starting to write. Must satisfy `0 <= offset <= buf.length - 4`. - * @return `offset` plus the number of bytes written. - */ - writeUInt32BE(value: number, offset?: number): number; - /** - * @alias Buffer.writeUInt32BE - * @since v14.9.0, v12.19.0 - */ - writeUint32BE(value: number, offset?: number): number; - /** - * Writes `value` to `buf` at the specified `offset`. `value` must be a valid - * signed 8-bit integer. Behavior is undefined when `value` is anything other than - * a signed 8-bit integer. - * - * `value` is interpreted and written as a two's complement signed integer. - * - * ```js - * import { Buffer } from 'node:buffer'; - * - * const buf = Buffer.allocUnsafe(2); - * - * buf.writeInt8(2, 0); - * buf.writeInt8(-2, 1); - * - * console.log(buf); - * // Prints: - * ``` - * @since v0.5.0 - * @param value Number to be written to `buf`. - * @param [offset=0] Number of bytes to skip before starting to write. Must satisfy `0 <= offset <= buf.length - 1`. - * @return `offset` plus the number of bytes written. - */ - writeInt8(value: number, offset?: number): number; - /** - * Writes `value` to `buf` at the specified `offset` as little-endian. The `value`must be a valid signed 16-bit integer. Behavior is undefined when `value` is - * anything other than a signed 16-bit integer. - * - * The `value` is interpreted and written as a two's complement signed integer. - * - * ```js - * import { Buffer } from 'node:buffer'; - * - * const buf = Buffer.allocUnsafe(2); - * - * buf.writeInt16LE(0x0304, 0); - * - * console.log(buf); - * // Prints: - * ``` - * @since v0.5.5 - * @param value Number to be written to `buf`. - * @param [offset=0] Number of bytes to skip before starting to write. Must satisfy `0 <= offset <= buf.length - 2`. - * @return `offset` plus the number of bytes written. - */ - writeInt16LE(value: number, offset?: number): number; - /** - * Writes `value` to `buf` at the specified `offset` as big-endian. The `value`must be a valid signed 16-bit integer. Behavior is undefined when `value` is - * anything other than a signed 16-bit integer. - * - * The `value` is interpreted and written as a two's complement signed integer. - * - * ```js - * import { Buffer } from 'node:buffer'; - * - * const buf = Buffer.allocUnsafe(2); - * - * buf.writeInt16BE(0x0102, 0); - * - * console.log(buf); - * // Prints: - * ``` - * @since v0.5.5 - * @param value Number to be written to `buf`. - * @param [offset=0] Number of bytes to skip before starting to write. Must satisfy `0 <= offset <= buf.length - 2`. - * @return `offset` plus the number of bytes written. - */ - writeInt16BE(value: number, offset?: number): number; - /** - * Writes `value` to `buf` at the specified `offset` as little-endian. The `value`must be a valid signed 32-bit integer. Behavior is undefined when `value` is - * anything other than a signed 32-bit integer. - * - * The `value` is interpreted and written as a two's complement signed integer. - * - * ```js - * import { Buffer } from 'node:buffer'; - * - * const buf = Buffer.allocUnsafe(4); - * - * buf.writeInt32LE(0x05060708, 0); - * - * console.log(buf); - * // Prints: - * ``` - * @since v0.5.5 - * @param value Number to be written to `buf`. - * @param [offset=0] Number of bytes to skip before starting to write. Must satisfy `0 <= offset <= buf.length - 4`. - * @return `offset` plus the number of bytes written. - */ - writeInt32LE(value: number, offset?: number): number; - /** - * Writes `value` to `buf` at the specified `offset` as big-endian. The `value`must be a valid signed 32-bit integer. Behavior is undefined when `value` is - * anything other than a signed 32-bit integer. - * - * The `value` is interpreted and written as a two's complement signed integer. - * - * ```js - * import { Buffer } from 'node:buffer'; - * - * const buf = Buffer.allocUnsafe(4); - * - * buf.writeInt32BE(0x01020304, 0); - * - * console.log(buf); - * // Prints: - * ``` - * @since v0.5.5 - * @param value Number to be written to `buf`. - * @param [offset=0] Number of bytes to skip before starting to write. Must satisfy `0 <= offset <= buf.length - 4`. - * @return `offset` plus the number of bytes written. - */ - writeInt32BE(value: number, offset?: number): number; - /** - * Writes `value` to `buf` at the specified `offset` as little-endian. Behavior is - * undefined when `value` is anything other than a JavaScript number. - * - * ```js - * import { Buffer } from 'node:buffer'; - * - * const buf = Buffer.allocUnsafe(4); - * - * buf.writeFloatLE(0xcafebabe, 0); - * - * console.log(buf); - * // Prints: - * ``` - * @since v0.11.15 - * @param value Number to be written to `buf`. - * @param [offset=0] Number of bytes to skip before starting to write. Must satisfy `0 <= offset <= buf.length - 4`. - * @return `offset` plus the number of bytes written. - */ - writeFloatLE(value: number, offset?: number): number; - /** - * Writes `value` to `buf` at the specified `offset` as big-endian. Behavior is - * undefined when `value` is anything other than a JavaScript number. - * - * ```js - * import { Buffer } from 'node:buffer'; - * - * const buf = Buffer.allocUnsafe(4); - * - * buf.writeFloatBE(0xcafebabe, 0); - * - * console.log(buf); - * // Prints: - * ``` - * @since v0.11.15 - * @param value Number to be written to `buf`. - * @param [offset=0] Number of bytes to skip before starting to write. Must satisfy `0 <= offset <= buf.length - 4`. - * @return `offset` plus the number of bytes written. - */ - writeFloatBE(value: number, offset?: number): number; - /** - * Writes `value` to `buf` at the specified `offset` as little-endian. The `value`must be a JavaScript number. Behavior is undefined when `value` is anything - * other than a JavaScript number. - * - * ```js - * import { Buffer } from 'node:buffer'; - * - * const buf = Buffer.allocUnsafe(8); - * - * buf.writeDoubleLE(123.456, 0); - * - * console.log(buf); - * // Prints: - * ``` - * @since v0.11.15 - * @param value Number to be written to `buf`. - * @param [offset=0] Number of bytes to skip before starting to write. Must satisfy `0 <= offset <= buf.length - 8`. - * @return `offset` plus the number of bytes written. - */ - writeDoubleLE(value: number, offset?: number): number; - /** - * Writes `value` to `buf` at the specified `offset` as big-endian. The `value`must be a JavaScript number. Behavior is undefined when `value` is anything - * other than a JavaScript number. - * - * ```js - * import { Buffer } from 'node:buffer'; - * - * const buf = Buffer.allocUnsafe(8); - * - * buf.writeDoubleBE(123.456, 0); - * - * console.log(buf); - * // Prints: - * ``` - * @since v0.11.15 - * @param value Number to be written to `buf`. - * @param [offset=0] Number of bytes to skip before starting to write. Must satisfy `0 <= offset <= buf.length - 8`. - * @return `offset` plus the number of bytes written. - */ - writeDoubleBE(value: number, offset?: number): number; - /** - * Fills `buf` with the specified `value`. If the `offset` and `end` are not given, - * the entire `buf` will be filled: - * - * ```js - * import { Buffer } from 'node:buffer'; - * - * // Fill a `Buffer` with the ASCII character 'h'. - * - * const b = Buffer.allocUnsafe(50).fill('h'); - * - * console.log(b.toString()); - * // Prints: hhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh - * - * // Fill a buffer with empty string - * const c = Buffer.allocUnsafe(5).fill(''); - * - * console.log(c.fill('')); - * // Prints: - * ``` - * - * `value` is coerced to a `uint32` value if it is not a string, `Buffer`, or - * integer. If the resulting integer is greater than `255` (decimal), `buf` will be - * filled with `value & 255`. - * - * If the final write of a `fill()` operation falls on a multi-byte character, - * then only the bytes of that character that fit into `buf` are written: - * - * ```js - * import { Buffer } from 'node:buffer'; - * - * // Fill a `Buffer` with character that takes up two bytes in UTF-8. - * - * console.log(Buffer.allocUnsafe(5).fill('\u0222')); - * // Prints: - * ``` - * - * If `value` contains invalid characters, it is truncated; if no valid - * fill data remains, an exception is thrown: - * - * ```js - * import { Buffer } from 'node:buffer'; - * - * const buf = Buffer.allocUnsafe(5); - * - * console.log(buf.fill('a')); - * // Prints: - * console.log(buf.fill('aazz', 'hex')); - * // Prints: - * console.log(buf.fill('zz', 'hex')); - * // Throws an exception. - * ``` - * @since v0.5.0 - * @param value The value with which to fill `buf`. Empty value (string, Uint8Array, Buffer) is coerced to `0`. - * @param [offset=0] Number of bytes to skip before starting to fill `buf`. - * @param [end=buf.length] Where to stop filling `buf` (not inclusive). - * @param [encoding='utf8'] The encoding for `value` if `value` is a string. - * @return A reference to `buf`. - */ - fill(value: string | Uint8Array | number, offset?: number, end?: number, encoding?: BufferEncoding): this; - /** - * If `value` is: - * - * * a string, `value` is interpreted according to the character encoding in`encoding`. - * * a `Buffer` or [`Uint8Array`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array), `value` will be used in its entirety. - * To compare a partial `Buffer`, use `buf.subarray`. - * * a number, `value` will be interpreted as an unsigned 8-bit integer - * value between `0` and `255`. - * - * ```js - * import { Buffer } from 'node:buffer'; - * - * const buf = Buffer.from('this is a buffer'); - * - * console.log(buf.indexOf('this')); - * // Prints: 0 - * console.log(buf.indexOf('is')); - * // Prints: 2 - * console.log(buf.indexOf(Buffer.from('a buffer'))); - * // Prints: 8 - * console.log(buf.indexOf(97)); - * // Prints: 8 (97 is the decimal ASCII value for 'a') - * console.log(buf.indexOf(Buffer.from('a buffer example'))); - * // Prints: -1 - * console.log(buf.indexOf(Buffer.from('a buffer example').slice(0, 8))); - * // Prints: 8 - * - * const utf16Buffer = Buffer.from('\u039a\u0391\u03a3\u03a3\u0395', 'utf16le'); - * - * console.log(utf16Buffer.indexOf('\u03a3', 0, 'utf16le')); - * // Prints: 4 - * console.log(utf16Buffer.indexOf('\u03a3', -4, 'utf16le')); - * // Prints: 6 - * ``` - * - * If `value` is not a string, number, or `Buffer`, this method will throw a`TypeError`. If `value` is a number, it will be coerced to a valid byte value, - * an integer between 0 and 255. - * - * If `byteOffset` is not a number, it will be coerced to a number. If the result - * of coercion is `NaN` or `0`, then the entire buffer will be searched. This - * behavior matches [`String.prototype.indexOf()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/indexOf). - * - * ```js - * import { Buffer } from 'node:buffer'; - * - * const b = Buffer.from('abcdef'); - * - * // Passing a value that's a number, but not a valid byte. - * // Prints: 2, equivalent to searching for 99 or 'c'. - * console.log(b.indexOf(99.9)); - * console.log(b.indexOf(256 + 99)); - * - * // Passing a byteOffset that coerces to NaN or 0. - * // Prints: 1, searching the whole buffer. - * console.log(b.indexOf('b', undefined)); - * console.log(b.indexOf('b', {})); - * console.log(b.indexOf('b', null)); - * console.log(b.indexOf('b', [])); - * ``` - * - * If `value` is an empty string or empty `Buffer` and `byteOffset` is less - * than `buf.length`, `byteOffset` will be returned. If `value` is empty and`byteOffset` is at least `buf.length`, `buf.length` will be returned. - * @since v1.5.0 - * @param value What to search for. - * @param [byteOffset=0] Where to begin searching in `buf`. If negative, then offset is calculated from the end of `buf`. - * @param [encoding='utf8'] If `value` is a string, this is the encoding used to determine the binary representation of the string that will be searched for in `buf`. - * @return The index of the first occurrence of `value` in `buf`, or `-1` if `buf` does not contain `value`. - */ - indexOf(value: string | number | Uint8Array, byteOffset?: number, encoding?: BufferEncoding): number; - /** - * Identical to `buf.indexOf()`, except the last occurrence of `value` is found - * rather than the first occurrence. - * - * ```js - * import { Buffer } from 'node:buffer'; - * - * const buf = Buffer.from('this buffer is a buffer'); - * - * console.log(buf.lastIndexOf('this')); - * // Prints: 0 - * console.log(buf.lastIndexOf('buffer')); - * // Prints: 17 - * console.log(buf.lastIndexOf(Buffer.from('buffer'))); - * // Prints: 17 - * console.log(buf.lastIndexOf(97)); - * // Prints: 15 (97 is the decimal ASCII value for 'a') - * console.log(buf.lastIndexOf(Buffer.from('yolo'))); - * // Prints: -1 - * console.log(buf.lastIndexOf('buffer', 5)); - * // Prints: 5 - * console.log(buf.lastIndexOf('buffer', 4)); - * // Prints: -1 - * - * const utf16Buffer = Buffer.from('\u039a\u0391\u03a3\u03a3\u0395', 'utf16le'); - * - * console.log(utf16Buffer.lastIndexOf('\u03a3', undefined, 'utf16le')); - * // Prints: 6 - * console.log(utf16Buffer.lastIndexOf('\u03a3', -5, 'utf16le')); - * // Prints: 4 - * ``` - * - * If `value` is not a string, number, or `Buffer`, this method will throw a`TypeError`. If `value` is a number, it will be coerced to a valid byte value, - * an integer between 0 and 255. - * - * If `byteOffset` is not a number, it will be coerced to a number. Any arguments - * that coerce to `NaN`, like `{}` or `undefined`, will search the whole buffer. - * This behavior matches [`String.prototype.lastIndexOf()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/lastIndexOf). - * - * ```js - * import { Buffer } from 'node:buffer'; - * - * const b = Buffer.from('abcdef'); - * - * // Passing a value that's a number, but not a valid byte. - * // Prints: 2, equivalent to searching for 99 or 'c'. - * console.log(b.lastIndexOf(99.9)); - * console.log(b.lastIndexOf(256 + 99)); - * - * // Passing a byteOffset that coerces to NaN. - * // Prints: 1, searching the whole buffer. - * console.log(b.lastIndexOf('b', undefined)); - * console.log(b.lastIndexOf('b', {})); - * - * // Passing a byteOffset that coerces to 0. - * // Prints: -1, equivalent to passing 0. - * console.log(b.lastIndexOf('b', null)); - * console.log(b.lastIndexOf('b', [])); - * ``` - * - * If `value` is an empty string or empty `Buffer`, `byteOffset` will be returned. - * @since v6.0.0 - * @param value What to search for. - * @param [byteOffset=buf.length - 1] Where to begin searching in `buf`. If negative, then offset is calculated from the end of `buf`. - * @param [encoding='utf8'] If `value` is a string, this is the encoding used to determine the binary representation of the string that will be searched for in `buf`. - * @return The index of the last occurrence of `value` in `buf`, or `-1` if `buf` does not contain `value`. - */ - lastIndexOf(value: string | number | Uint8Array, byteOffset?: number, encoding?: BufferEncoding): number; - /** - * Creates and returns an [iterator](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols) of `[index, byte]` pairs from the contents - * of `buf`. - * - * ```js - * import { Buffer } from 'node:buffer'; - * - * // Log the entire contents of a `Buffer`. - * - * const buf = Buffer.from('buffer'); - * - * for (const pair of buf.entries()) { - * console.log(pair); - * } - * // Prints: - * // [0, 98] - * // [1, 117] - * // [2, 102] - * // [3, 102] - * // [4, 101] - * // [5, 114] - * ``` - * @since v1.1.0 - */ - entries(): IterableIterator<[number, number]>; - /** - * Equivalent to `buf.indexOf() !== -1`. - * - * ```js - * import { Buffer } from 'node:buffer'; - * - * const buf = Buffer.from('this is a buffer'); - * - * console.log(buf.includes('this')); - * // Prints: true - * console.log(buf.includes('is')); - * // Prints: true - * console.log(buf.includes(Buffer.from('a buffer'))); - * // Prints: true - * console.log(buf.includes(97)); - * // Prints: true (97 is the decimal ASCII value for 'a') - * console.log(buf.includes(Buffer.from('a buffer example'))); - * // Prints: false - * console.log(buf.includes(Buffer.from('a buffer example').slice(0, 8))); - * // Prints: true - * console.log(buf.includes('this', 4)); - * // Prints: false - * ``` - * @since v5.3.0 - * @param value What to search for. - * @param [byteOffset=0] Where to begin searching in `buf`. If negative, then offset is calculated from the end of `buf`. - * @param [encoding='utf8'] If `value` is a string, this is its encoding. - * @return `true` if `value` was found in `buf`, `false` otherwise. - */ - includes(value: string | number | Buffer, byteOffset?: number, encoding?: BufferEncoding): boolean; - /** - * Creates and returns an [iterator](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols) of `buf` keys (indices). - * - * ```js - * import { Buffer } from 'node:buffer'; - * - * const buf = Buffer.from('buffer'); - * - * for (const key of buf.keys()) { - * console.log(key); - * } - * // Prints: - * // 0 - * // 1 - * // 2 - * // 3 - * // 4 - * // 5 - * ``` - * @since v1.1.0 - */ - keys(): IterableIterator; - /** - * Creates and returns an [iterator](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols) for `buf` values (bytes). This function is - * called automatically when a `Buffer` is used in a `for..of` statement. - * - * ```js - * import { Buffer } from 'node:buffer'; - * - * const buf = Buffer.from('buffer'); - * - * for (const value of buf.values()) { - * console.log(value); - * } - * // Prints: - * // 98 - * // 117 - * // 102 - * // 102 - * // 101 - * // 114 - * - * for (const value of buf) { - * console.log(value); - * } - * // Prints: - * // 98 - * // 117 - * // 102 - * // 102 - * // 101 - * // 114 - * ``` - * @since v1.1.0 - */ - values(): IterableIterator; - } - var Buffer: BufferConstructor; - /** - * Decodes a string of Base64-encoded data into bytes, and encodes those bytes - * into a string using Latin-1 (ISO-8859-1). - * - * The `data` may be any JavaScript-value that can be coerced into a string. - * - * **This function is only provided for compatibility with legacy web platform APIs** - * **and should never be used in new code, because they use strings to represent** - * **binary data and predate the introduction of typed arrays in JavaScript.** - * **For code running using Node.js APIs, converting between base64-encoded strings** - * **and binary data should be performed using `Buffer.from(str, 'base64')` and`buf.toString('base64')`.** - * @since v15.13.0, v14.17.0 - * @legacy Use `Buffer.from(data, 'base64')` instead. - * @param data The Base64-encoded input string. - */ - function atob(data: string): string; - /** - * Decodes a string into bytes using Latin-1 (ISO-8859), and encodes those bytes - * into a string using Base64. - * - * The `data` may be any JavaScript-value that can be coerced into a string. - * - * **This function is only provided for compatibility with legacy web platform APIs** - * **and should never be used in new code, because they use strings to represent** - * **binary data and predate the introduction of typed arrays in JavaScript.** - * **For code running using Node.js APIs, converting between base64-encoded strings** - * **and binary data should be performed using `Buffer.from(str, 'base64')` and`buf.toString('base64')`.** - * @since v15.13.0, v14.17.0 - * @legacy Use `buf.toString('base64')` instead. - * @param data An ASCII (Latin1) string. - */ - function btoa(data: string): string; - interface Blob extends __Blob {} - /** - * `Blob` class is a global reference for `require('node:buffer').Blob` - * https://nodejs.org/api/buffer.html#class-blob - * @since v18.0.0 - */ - var Blob: typeof globalThis extends { - onmessage: any; - Blob: infer T; - } ? T - : typeof NodeBlob; - } -} -declare module "node:buffer" { - export * from "buffer"; -} diff --git a/node_modules/@types/node/child_process.d.ts b/node_modules/@types/node/child_process.d.ts deleted file mode 100644 index e5078b8..0000000 --- a/node_modules/@types/node/child_process.d.ts +++ /dev/null @@ -1,1542 +0,0 @@ -/** - * The `node:child_process` module provides the ability to spawn subprocesses in - * a manner that is similar, but not identical, to [`popen(3)`](http://man7.org/linux/man-pages/man3/popen.3.html). This capability - * is primarily provided by the {@link spawn} function: - * - * ```js - * const { spawn } = require('node:child_process'); - * const ls = spawn('ls', ['-lh', '/usr']); - * - * ls.stdout.on('data', (data) => { - * console.log(`stdout: ${data}`); - * }); - * - * ls.stderr.on('data', (data) => { - * console.error(`stderr: ${data}`); - * }); - * - * ls.on('close', (code) => { - * console.log(`child process exited with code ${code}`); - * }); - * ``` - * - * By default, pipes for `stdin`, `stdout`, and `stderr` are established between - * the parent Node.js process and the spawned subprocess. These pipes have - * limited (and platform-specific) capacity. If the subprocess writes to - * stdout in excess of that limit without the output being captured, the - * subprocess blocks waiting for the pipe buffer to accept more data. This is - * identical to the behavior of pipes in the shell. Use the `{ stdio: 'ignore' }`option if the output will not be consumed. - * - * The command lookup is performed using the `options.env.PATH` environment - * variable if `env` is in the `options` object. Otherwise, `process.env.PATH` is - * used. If `options.env` is set without `PATH`, lookup on Unix is performed - * on a default search path search of `/usr/bin:/bin` (see your operating system's - * manual for execvpe/execvp), on Windows the current processes environment - * variable `PATH` is used. - * - * On Windows, environment variables are case-insensitive. Node.js - * lexicographically sorts the `env` keys and uses the first one that - * case-insensitively matches. Only first (in lexicographic order) entry will be - * passed to the subprocess. This might lead to issues on Windows when passing - * objects to the `env` option that have multiple variants of the same key, such as`PATH` and `Path`. - * - * The {@link spawn} method spawns the child process asynchronously, - * without blocking the Node.js event loop. The {@link spawnSync} function provides equivalent functionality in a synchronous manner that blocks - * the event loop until the spawned process either exits or is terminated. - * - * For convenience, the `node:child_process` module provides a handful of - * synchronous and asynchronous alternatives to {@link spawn} and {@link spawnSync}. Each of these alternatives are implemented on - * top of {@link spawn} or {@link spawnSync}. - * - * * {@link exec}: spawns a shell and runs a command within that - * shell, passing the `stdout` and `stderr` to a callback function when - * complete. - * * {@link execFile}: similar to {@link exec} except - * that it spawns the command directly without first spawning a shell by - * default. - * * {@link fork}: spawns a new Node.js process and invokes a - * specified module with an IPC communication channel established that allows - * sending messages between parent and child. - * * {@link execSync}: a synchronous version of {@link exec} that will block the Node.js event loop. - * * {@link execFileSync}: a synchronous version of {@link execFile} that will block the Node.js event loop. - * - * For certain use cases, such as automating shell scripts, the `synchronous counterparts` may be more convenient. In many cases, however, - * the synchronous methods can have significant impact on performance due to - * stalling the event loop while spawned processes complete. - * @see [source](https://github.com/nodejs/node/blob/v20.2.0/lib/child_process.js) - */ -declare module "child_process" { - import { ObjectEncodingOptions } from "node:fs"; - import { Abortable, EventEmitter } from "node:events"; - import * as net from "node:net"; - import { Pipe, Readable, Stream, Writable } from "node:stream"; - import { URL } from "node:url"; - type Serializable = string | object | number | boolean | bigint; - type SendHandle = net.Socket | net.Server; - /** - * Instances of the `ChildProcess` represent spawned child processes. - * - * Instances of `ChildProcess` are not intended to be created directly. Rather, - * use the {@link spawn}, {@link exec},{@link execFile}, or {@link fork} methods to create - * instances of `ChildProcess`. - * @since v2.2.0 - */ - class ChildProcess extends EventEmitter { - /** - * A `Writable Stream` that represents the child process's `stdin`. - * - * If a child process waits to read all of its input, the child will not continue - * until this stream has been closed via `end()`. - * - * If the child was spawned with `stdio[0]` set to anything other than `'pipe'`, - * then this will be `null`. - * - * `subprocess.stdin` is an alias for `subprocess.stdio[0]`. Both properties will - * refer to the same value. - * - * The `subprocess.stdin` property can be `null` or `undefined`if the child process could not be successfully spawned. - * @since v0.1.90 - */ - stdin: Writable | null; - /** - * A `Readable Stream` that represents the child process's `stdout`. - * - * If the child was spawned with `stdio[1]` set to anything other than `'pipe'`, - * then this will be `null`. - * - * `subprocess.stdout` is an alias for `subprocess.stdio[1]`. Both properties will - * refer to the same value. - * - * ```js - * const { spawn } = require('node:child_process'); - * - * const subprocess = spawn('ls'); - * - * subprocess.stdout.on('data', (data) => { - * console.log(`Received chunk ${data}`); - * }); - * ``` - * - * The `subprocess.stdout` property can be `null` or `undefined`if the child process could not be successfully spawned. - * @since v0.1.90 - */ - stdout: Readable | null; - /** - * A `Readable Stream` that represents the child process's `stderr`. - * - * If the child was spawned with `stdio[2]` set to anything other than `'pipe'`, - * then this will be `null`. - * - * `subprocess.stderr` is an alias for `subprocess.stdio[2]`. Both properties will - * refer to the same value. - * - * The `subprocess.stderr` property can be `null` or `undefined`if the child process could not be successfully spawned. - * @since v0.1.90 - */ - stderr: Readable | null; - /** - * The `subprocess.channel` property is a reference to the child's IPC channel. If - * no IPC channel exists, this property is `undefined`. - * @since v7.1.0 - */ - readonly channel?: Pipe | null | undefined; - /** - * A sparse array of pipes to the child process, corresponding with positions in - * the `stdio` option passed to {@link spawn} that have been set - * to the value `'pipe'`. `subprocess.stdio[0]`, `subprocess.stdio[1]`, and`subprocess.stdio[2]` are also available as `subprocess.stdin`,`subprocess.stdout`, and `subprocess.stderr`, - * respectively. - * - * In the following example, only the child's fd `1` (stdout) is configured as a - * pipe, so only the parent's `subprocess.stdio[1]` is a stream, all other values - * in the array are `null`. - * - * ```js - * const assert = require('node:assert'); - * const fs = require('node:fs'); - * const child_process = require('node:child_process'); - * - * const subprocess = child_process.spawn('ls', { - * stdio: [ - * 0, // Use parent's stdin for child. - * 'pipe', // Pipe child's stdout to parent. - * fs.openSync('err.out', 'w'), // Direct child's stderr to a file. - * ], - * }); - * - * assert.strictEqual(subprocess.stdio[0], null); - * assert.strictEqual(subprocess.stdio[0], subprocess.stdin); - * - * assert(subprocess.stdout); - * assert.strictEqual(subprocess.stdio[1], subprocess.stdout); - * - * assert.strictEqual(subprocess.stdio[2], null); - * assert.strictEqual(subprocess.stdio[2], subprocess.stderr); - * ``` - * - * The `subprocess.stdio` property can be `undefined` if the child process could - * not be successfully spawned. - * @since v0.7.10 - */ - readonly stdio: [ - Writable | null, - // stdin - Readable | null, - // stdout - Readable | null, - // stderr - Readable | Writable | null | undefined, - // extra - Readable | Writable | null | undefined, // extra - ]; - /** - * The `subprocess.killed` property indicates whether the child process - * successfully received a signal from `subprocess.kill()`. The `killed` property - * does not indicate that the child process has been terminated. - * @since v0.5.10 - */ - readonly killed: boolean; - /** - * Returns the process identifier (PID) of the child process. If the child process - * fails to spawn due to errors, then the value is `undefined` and `error` is - * emitted. - * - * ```js - * const { spawn } = require('node:child_process'); - * const grep = spawn('grep', ['ssh']); - * - * console.log(`Spawned child pid: ${grep.pid}`); - * grep.stdin.end(); - * ``` - * @since v0.1.90 - */ - readonly pid?: number | undefined; - /** - * The `subprocess.connected` property indicates whether it is still possible to - * send and receive messages from a child process. When `subprocess.connected` is`false`, it is no longer possible to send or receive messages. - * @since v0.7.2 - */ - readonly connected: boolean; - /** - * The `subprocess.exitCode` property indicates the exit code of the child process. - * If the child process is still running, the field will be `null`. - */ - readonly exitCode: number | null; - /** - * The `subprocess.signalCode` property indicates the signal received by - * the child process if any, else `null`. - */ - readonly signalCode: NodeJS.Signals | null; - /** - * The `subprocess.spawnargs` property represents the full list of command-line - * arguments the child process was launched with. - */ - readonly spawnargs: string[]; - /** - * The `subprocess.spawnfile` property indicates the executable file name of - * the child process that is launched. - * - * For {@link fork}, its value will be equal to `process.execPath`. - * For {@link spawn}, its value will be the name of - * the executable file. - * For {@link exec}, its value will be the name of the shell - * in which the child process is launched. - */ - readonly spawnfile: string; - /** - * The `subprocess.kill()` method sends a signal to the child process. If no - * argument is given, the process will be sent the `'SIGTERM'` signal. See [`signal(7)`](http://man7.org/linux/man-pages/man7/signal.7.html) for a list of available signals. This function - * returns `true` if [`kill(2)`](http://man7.org/linux/man-pages/man2/kill.2.html) succeeds, and `false` otherwise. - * - * ```js - * const { spawn } = require('node:child_process'); - * const grep = spawn('grep', ['ssh']); - * - * grep.on('close', (code, signal) => { - * console.log( - * `child process terminated due to receipt of signal ${signal}`); - * }); - * - * // Send SIGHUP to process. - * grep.kill('SIGHUP'); - * ``` - * - * The `ChildProcess` object may emit an `'error'` event if the signal - * cannot be delivered. Sending a signal to a child process that has already exited - * is not an error but may have unforeseen consequences. Specifically, if the - * process identifier (PID) has been reassigned to another process, the signal will - * be delivered to that process instead which can have unexpected results. - * - * While the function is called `kill`, the signal delivered to the child process - * may not actually terminate the process. - * - * See [`kill(2)`](http://man7.org/linux/man-pages/man2/kill.2.html) for reference. - * - * On Windows, where POSIX signals do not exist, the `signal` argument will be - * ignored, and the process will be killed forcefully and abruptly (similar to`'SIGKILL'`). - * See `Signal Events` for more details. - * - * On Linux, child processes of child processes will not be terminated - * when attempting to kill their parent. This is likely to happen when running a - * new process in a shell or with the use of the `shell` option of `ChildProcess`: - * - * ```js - * 'use strict'; - * const { spawn } = require('node:child_process'); - * - * const subprocess = spawn( - * 'sh', - * [ - * '-c', - * `node -e "setInterval(() => { - * console.log(process.pid, 'is alive') - * }, 500);"`, - * ], { - * stdio: ['inherit', 'inherit', 'inherit'], - * }, - * ); - * - * setTimeout(() => { - * subprocess.kill(); // Does not terminate the Node.js process in the shell. - * }, 2000); - * ``` - * @since v0.1.90 - */ - kill(signal?: NodeJS.Signals | number): boolean; - /** - * Calls {@link ChildProcess.kill} with `'SIGTERM'`. - * @since v20.5.0 - */ - [Symbol.dispose](): void; - /** - * When an IPC channel has been established between the parent and child ( - * i.e. when using {@link fork}), the `subprocess.send()` method can - * be used to send messages to the child process. When the child process is a - * Node.js instance, these messages can be received via the `'message'` event. - * - * The message goes through serialization and parsing. The resulting - * message might not be the same as what is originally sent. - * - * For example, in the parent script: - * - * ```js - * const cp = require('node:child_process'); - * const n = cp.fork(`${__dirname}/sub.js`); - * - * n.on('message', (m) => { - * console.log('PARENT got message:', m); - * }); - * - * // Causes the child to print: CHILD got message: { hello: 'world' } - * n.send({ hello: 'world' }); - * ``` - * - * And then the child script, `'sub.js'` might look like this: - * - * ```js - * process.on('message', (m) => { - * console.log('CHILD got message:', m); - * }); - * - * // Causes the parent to print: PARENT got message: { foo: 'bar', baz: null } - * process.send({ foo: 'bar', baz: NaN }); - * ``` - * - * Child Node.js processes will have a `process.send()` method of their own - * that allows the child to send messages back to the parent. - * - * There is a special case when sending a `{cmd: 'NODE_foo'}` message. Messages - * containing a `NODE_` prefix in the `cmd` property are reserved for use within - * Node.js core and will not be emitted in the child's `'message'` event. Rather, such messages are emitted using the`'internalMessage'` event and are consumed internally by Node.js. - * Applications should avoid using such messages or listening for`'internalMessage'` events as it is subject to change without notice. - * - * The optional `sendHandle` argument that may be passed to `subprocess.send()` is - * for passing a TCP server or socket object to the child process. The child will - * receive the object as the second argument passed to the callback function - * registered on the `'message'` event. Any data that is received - * and buffered in the socket will not be sent to the child. - * - * The optional `callback` is a function that is invoked after the message is - * sent but before the child may have received it. The function is called with a - * single argument: `null` on success, or an `Error` object on failure. - * - * If no `callback` function is provided and the message cannot be sent, an`'error'` event will be emitted by the `ChildProcess` object. This can - * happen, for instance, when the child process has already exited. - * - * `subprocess.send()` will return `false` if the channel has closed or when the - * backlog of unsent messages exceeds a threshold that makes it unwise to send - * more. Otherwise, the method returns `true`. The `callback` function can be - * used to implement flow control. - * - * #### Example: sending a server object - * - * The `sendHandle` argument can be used, for instance, to pass the handle of - * a TCP server object to the child process as illustrated in the example below: - * - * ```js - * const subprocess = require('node:child_process').fork('subprocess.js'); - * - * // Open up the server object and send the handle. - * const server = require('node:net').createServer(); - * server.on('connection', (socket) => { - * socket.end('handled by parent'); - * }); - * server.listen(1337, () => { - * subprocess.send('server', server); - * }); - * ``` - * - * The child would then receive the server object as: - * - * ```js - * process.on('message', (m, server) => { - * if (m === 'server') { - * server.on('connection', (socket) => { - * socket.end('handled by child'); - * }); - * } - * }); - * ``` - * - * Once the server is now shared between the parent and child, some connections - * can be handled by the parent and some by the child. - * - * While the example above uses a server created using the `node:net` module,`node:dgram` module servers use exactly the same workflow with the exceptions of - * listening on a `'message'` event instead of `'connection'` and using`server.bind()` instead of `server.listen()`. This is, however, only - * supported on Unix platforms. - * - * #### Example: sending a socket object - * - * Similarly, the `sendHandler` argument can be used to pass the handle of a - * socket to the child process. The example below spawns two children that each - * handle connections with "normal" or "special" priority: - * - * ```js - * const { fork } = require('node:child_process'); - * const normal = fork('subprocess.js', ['normal']); - * const special = fork('subprocess.js', ['special']); - * - * // Open up the server and send sockets to child. Use pauseOnConnect to prevent - * // the sockets from being read before they are sent to the child process. - * const server = require('node:net').createServer({ pauseOnConnect: true }); - * server.on('connection', (socket) => { - * - * // If this is special priority... - * if (socket.remoteAddress === '74.125.127.100') { - * special.send('socket', socket); - * return; - * } - * // This is normal priority. - * normal.send('socket', socket); - * }); - * server.listen(1337); - * ``` - * - * The `subprocess.js` would receive the socket handle as the second argument - * passed to the event callback function: - * - * ```js - * process.on('message', (m, socket) => { - * if (m === 'socket') { - * if (socket) { - * // Check that the client socket exists. - * // It is possible for the socket to be closed between the time it is - * // sent and the time it is received in the child process. - * socket.end(`Request handled with ${process.argv[2]} priority`); - * } - * } - * }); - * ``` - * - * Do not use `.maxConnections` on a socket that has been passed to a subprocess. - * The parent cannot track when the socket is destroyed. - * - * Any `'message'` handlers in the subprocess should verify that `socket` exists, - * as the connection may have been closed during the time it takes to send the - * connection to the child. - * @since v0.5.9 - * @param options The `options` argument, if present, is an object used to parameterize the sending of certain types of handles. `options` supports the following properties: - */ - send(message: Serializable, callback?: (error: Error | null) => void): boolean; - send(message: Serializable, sendHandle?: SendHandle, callback?: (error: Error | null) => void): boolean; - send( - message: Serializable, - sendHandle?: SendHandle, - options?: MessageOptions, - callback?: (error: Error | null) => void, - ): boolean; - /** - * Closes the IPC channel between parent and child, allowing the child to exit - * gracefully once there are no other connections keeping it alive. After calling - * this method the `subprocess.connected` and `process.connected` properties in - * both the parent and child (respectively) will be set to `false`, and it will be - * no longer possible to pass messages between the processes. - * - * The `'disconnect'` event will be emitted when there are no messages in the - * process of being received. This will most often be triggered immediately after - * calling `subprocess.disconnect()`. - * - * When the child process is a Node.js instance (e.g. spawned using {@link fork}), the `process.disconnect()` method can be invoked - * within the child process to close the IPC channel as well. - * @since v0.7.2 - */ - disconnect(): void; - /** - * By default, the parent will wait for the detached child to exit. To prevent the - * parent from waiting for a given `subprocess` to exit, use the`subprocess.unref()` method. Doing so will cause the parent's event loop to not - * include the child in its reference count, allowing the parent to exit - * independently of the child, unless there is an established IPC channel between - * the child and the parent. - * - * ```js - * const { spawn } = require('node:child_process'); - * - * const subprocess = spawn(process.argv[0], ['child_program.js'], { - * detached: true, - * stdio: 'ignore', - * }); - * - * subprocess.unref(); - * ``` - * @since v0.7.10 - */ - unref(): void; - /** - * Calling `subprocess.ref()` after making a call to `subprocess.unref()` will - * restore the removed reference count for the child process, forcing the parent - * to wait for the child to exit before exiting itself. - * - * ```js - * const { spawn } = require('node:child_process'); - * - * const subprocess = spawn(process.argv[0], ['child_program.js'], { - * detached: true, - * stdio: 'ignore', - * }); - * - * subprocess.unref(); - * subprocess.ref(); - * ``` - * @since v0.7.10 - */ - ref(): void; - /** - * events.EventEmitter - * 1. close - * 2. disconnect - * 3. error - * 4. exit - * 5. message - * 6. spawn - */ - addListener(event: string, listener: (...args: any[]) => void): this; - addListener(event: "close", listener: (code: number | null, signal: NodeJS.Signals | null) => void): this; - addListener(event: "disconnect", listener: () => void): this; - addListener(event: "error", listener: (err: Error) => void): this; - addListener(event: "exit", listener: (code: number | null, signal: NodeJS.Signals | null) => void): this; - addListener(event: "message", listener: (message: Serializable, sendHandle: SendHandle) => void): this; - addListener(event: "spawn", listener: () => void): this; - emit(event: string | symbol, ...args: any[]): boolean; - emit(event: "close", code: number | null, signal: NodeJS.Signals | null): boolean; - emit(event: "disconnect"): boolean; - emit(event: "error", err: Error): boolean; - emit(event: "exit", code: number | null, signal: NodeJS.Signals | null): boolean; - emit(event: "message", message: Serializable, sendHandle: SendHandle): boolean; - emit(event: "spawn", listener: () => void): boolean; - on(event: string, listener: (...args: any[]) => void): this; - on(event: "close", listener: (code: number | null, signal: NodeJS.Signals | null) => void): this; - on(event: "disconnect", listener: () => void): this; - on(event: "error", listener: (err: Error) => void): this; - on(event: "exit", listener: (code: number | null, signal: NodeJS.Signals | null) => void): this; - on(event: "message", listener: (message: Serializable, sendHandle: SendHandle) => void): this; - on(event: "spawn", listener: () => void): this; - once(event: string, listener: (...args: any[]) => void): this; - once(event: "close", listener: (code: number | null, signal: NodeJS.Signals | null) => void): this; - once(event: "disconnect", listener: () => void): this; - once(event: "error", listener: (err: Error) => void): this; - once(event: "exit", listener: (code: number | null, signal: NodeJS.Signals | null) => void): this; - once(event: "message", listener: (message: Serializable, sendHandle: SendHandle) => void): this; - once(event: "spawn", listener: () => void): this; - prependListener(event: string, listener: (...args: any[]) => void): this; - prependListener(event: "close", listener: (code: number | null, signal: NodeJS.Signals | null) => void): this; - prependListener(event: "disconnect", listener: () => void): this; - prependListener(event: "error", listener: (err: Error) => void): this; - prependListener(event: "exit", listener: (code: number | null, signal: NodeJS.Signals | null) => void): this; - prependListener(event: "message", listener: (message: Serializable, sendHandle: SendHandle) => void): this; - prependListener(event: "spawn", listener: () => void): this; - prependOnceListener(event: string, listener: (...args: any[]) => void): this; - prependOnceListener( - event: "close", - listener: (code: number | null, signal: NodeJS.Signals | null) => void, - ): this; - prependOnceListener(event: "disconnect", listener: () => void): this; - prependOnceListener(event: "error", listener: (err: Error) => void): this; - prependOnceListener( - event: "exit", - listener: (code: number | null, signal: NodeJS.Signals | null) => void, - ): this; - prependOnceListener(event: "message", listener: (message: Serializable, sendHandle: SendHandle) => void): this; - prependOnceListener(event: "spawn", listener: () => void): this; - } - // return this object when stdio option is undefined or not specified - interface ChildProcessWithoutNullStreams extends ChildProcess { - stdin: Writable; - stdout: Readable; - stderr: Readable; - readonly stdio: [ - Writable, - Readable, - Readable, - // stderr - Readable | Writable | null | undefined, - // extra, no modification - Readable | Writable | null | undefined, // extra, no modification - ]; - } - // return this object when stdio option is a tuple of 3 - interface ChildProcessByStdio - extends ChildProcess - { - stdin: I; - stdout: O; - stderr: E; - readonly stdio: [ - I, - O, - E, - Readable | Writable | null | undefined, - // extra, no modification - Readable | Writable | null | undefined, // extra, no modification - ]; - } - interface MessageOptions { - keepOpen?: boolean | undefined; - } - type IOType = "overlapped" | "pipe" | "ignore" | "inherit"; - type StdioOptions = IOType | Array; - type SerializationType = "json" | "advanced"; - interface MessagingOptions extends Abortable { - /** - * Specify the kind of serialization used for sending messages between processes. - * @default 'json' - */ - serialization?: SerializationType | undefined; - /** - * The signal value to be used when the spawned process will be killed by the abort signal. - * @default 'SIGTERM' - */ - killSignal?: NodeJS.Signals | number | undefined; - /** - * In milliseconds the maximum amount of time the process is allowed to run. - */ - timeout?: number | undefined; - } - interface ProcessEnvOptions { - uid?: number | undefined; - gid?: number | undefined; - cwd?: string | URL | undefined; - env?: NodeJS.ProcessEnv | undefined; - } - interface CommonOptions extends ProcessEnvOptions { - /** - * @default false - */ - windowsHide?: boolean | undefined; - /** - * @default 0 - */ - timeout?: number | undefined; - } - interface CommonSpawnOptions extends CommonOptions, MessagingOptions, Abortable { - argv0?: string | undefined; - /** - * Can be set to 'pipe', 'inherit', 'overlapped', or 'ignore', or an array of these strings. - * If passed as an array, the first element is used for `stdin`, the second for - * `stdout`, and the third for `stderr`. A fourth element can be used to - * specify the `stdio` behavior beyond the standard streams. See - * {@link ChildProcess.stdio} for more information. - * - * @default 'pipe' - */ - stdio?: StdioOptions | undefined; - shell?: boolean | string | undefined; - windowsVerbatimArguments?: boolean | undefined; - } - interface SpawnOptions extends CommonSpawnOptions { - detached?: boolean | undefined; - } - interface SpawnOptionsWithoutStdio extends SpawnOptions { - stdio?: StdioPipeNamed | StdioPipe[] | undefined; - } - type StdioNull = "inherit" | "ignore" | Stream; - type StdioPipeNamed = "pipe" | "overlapped"; - type StdioPipe = undefined | null | StdioPipeNamed; - interface SpawnOptionsWithStdioTuple< - Stdin extends StdioNull | StdioPipe, - Stdout extends StdioNull | StdioPipe, - Stderr extends StdioNull | StdioPipe, - > extends SpawnOptions { - stdio: [Stdin, Stdout, Stderr]; - } - /** - * The `child_process.spawn()` method spawns a new process using the given`command`, with command-line arguments in `args`. If omitted, `args` defaults - * to an empty array. - * - * **If the `shell` option is enabled, do not pass unsanitized user input to this** - * **function. Any input containing shell metacharacters may be used to trigger** - * **arbitrary command execution.** - * - * A third argument may be used to specify additional options, with these defaults: - * - * ```js - * const defaults = { - * cwd: undefined, - * env: process.env, - * }; - * ``` - * - * Use `cwd` to specify the working directory from which the process is spawned. - * If not given, the default is to inherit the current working directory. If given, - * but the path does not exist, the child process emits an `ENOENT` error - * and exits immediately. `ENOENT` is also emitted when the command - * does not exist. - * - * Use `env` to specify environment variables that will be visible to the new - * process, the default is `process.env`. - * - * `undefined` values in `env` will be ignored. - * - * Example of running `ls -lh /usr`, capturing `stdout`, `stderr`, and the - * exit code: - * - * ```js - * const { spawn } = require('node:child_process'); - * const ls = spawn('ls', ['-lh', '/usr']); - * - * ls.stdout.on('data', (data) => { - * console.log(`stdout: ${data}`); - * }); - * - * ls.stderr.on('data', (data) => { - * console.error(`stderr: ${data}`); - * }); - * - * ls.on('close', (code) => { - * console.log(`child process exited with code ${code}`); - * }); - * ``` - * - * Example: A very elaborate way to run `ps ax | grep ssh` - * - * ```js - * const { spawn } = require('node:child_process'); - * const ps = spawn('ps', ['ax']); - * const grep = spawn('grep', ['ssh']); - * - * ps.stdout.on('data', (data) => { - * grep.stdin.write(data); - * }); - * - * ps.stderr.on('data', (data) => { - * console.error(`ps stderr: ${data}`); - * }); - * - * ps.on('close', (code) => { - * if (code !== 0) { - * console.log(`ps process exited with code ${code}`); - * } - * grep.stdin.end(); - * }); - * - * grep.stdout.on('data', (data) => { - * console.log(data.toString()); - * }); - * - * grep.stderr.on('data', (data) => { - * console.error(`grep stderr: ${data}`); - * }); - * - * grep.on('close', (code) => { - * if (code !== 0) { - * console.log(`grep process exited with code ${code}`); - * } - * }); - * ``` - * - * Example of checking for failed `spawn`: - * - * ```js - * const { spawn } = require('node:child_process'); - * const subprocess = spawn('bad_command'); - * - * subprocess.on('error', (err) => { - * console.error('Failed to start subprocess.'); - * }); - * ``` - * - * Certain platforms (macOS, Linux) will use the value of `argv[0]` for the process - * title while others (Windows, SunOS) will use `command`. - * - * Node.js overwrites `argv[0]` with `process.execPath` on startup, so`process.argv[0]` in a Node.js child process will not match the `argv0`parameter passed to `spawn` from the parent. Retrieve - * it with the`process.argv0` property instead. - * - * If the `signal` option is enabled, calling `.abort()` on the corresponding`AbortController` is similar to calling `.kill()` on the child process except - * the error passed to the callback will be an `AbortError`: - * - * ```js - * const { spawn } = require('node:child_process'); - * const controller = new AbortController(); - * const { signal } = controller; - * const grep = spawn('grep', ['ssh'], { signal }); - * grep.on('error', (err) => { - * // This will be called with err being an AbortError if the controller aborts - * }); - * controller.abort(); // Stops the child process - * ``` - * @since v0.1.90 - * @param command The command to run. - * @param args List of string arguments. - */ - function spawn(command: string, options?: SpawnOptionsWithoutStdio): ChildProcessWithoutNullStreams; - function spawn( - command: string, - options: SpawnOptionsWithStdioTuple, - ): ChildProcessByStdio; - function spawn( - command: string, - options: SpawnOptionsWithStdioTuple, - ): ChildProcessByStdio; - function spawn( - command: string, - options: SpawnOptionsWithStdioTuple, - ): ChildProcessByStdio; - function spawn( - command: string, - options: SpawnOptionsWithStdioTuple, - ): ChildProcessByStdio; - function spawn( - command: string, - options: SpawnOptionsWithStdioTuple, - ): ChildProcessByStdio; - function spawn( - command: string, - options: SpawnOptionsWithStdioTuple, - ): ChildProcessByStdio; - function spawn( - command: string, - options: SpawnOptionsWithStdioTuple, - ): ChildProcessByStdio; - function spawn( - command: string, - options: SpawnOptionsWithStdioTuple, - ): ChildProcessByStdio; - function spawn(command: string, options: SpawnOptions): ChildProcess; - // overloads of spawn with 'args' - function spawn( - command: string, - args?: readonly string[], - options?: SpawnOptionsWithoutStdio, - ): ChildProcessWithoutNullStreams; - function spawn( - command: string, - args: readonly string[], - options: SpawnOptionsWithStdioTuple, - ): ChildProcessByStdio; - function spawn( - command: string, - args: readonly string[], - options: SpawnOptionsWithStdioTuple, - ): ChildProcessByStdio; - function spawn( - command: string, - args: readonly string[], - options: SpawnOptionsWithStdioTuple, - ): ChildProcessByStdio; - function spawn( - command: string, - args: readonly string[], - options: SpawnOptionsWithStdioTuple, - ): ChildProcessByStdio; - function spawn( - command: string, - args: readonly string[], - options: SpawnOptionsWithStdioTuple, - ): ChildProcessByStdio; - function spawn( - command: string, - args: readonly string[], - options: SpawnOptionsWithStdioTuple, - ): ChildProcessByStdio; - function spawn( - command: string, - args: readonly string[], - options: SpawnOptionsWithStdioTuple, - ): ChildProcessByStdio; - function spawn( - command: string, - args: readonly string[], - options: SpawnOptionsWithStdioTuple, - ): ChildProcessByStdio; - function spawn(command: string, args: readonly string[], options: SpawnOptions): ChildProcess; - interface ExecOptions extends CommonOptions { - shell?: string | undefined; - signal?: AbortSignal | undefined; - maxBuffer?: number | undefined; - killSignal?: NodeJS.Signals | number | undefined; - } - interface ExecOptionsWithStringEncoding extends ExecOptions { - encoding: BufferEncoding; - } - interface ExecOptionsWithBufferEncoding extends ExecOptions { - encoding: BufferEncoding | null; // specify `null`. - } - interface ExecException extends Error { - cmd?: string | undefined; - killed?: boolean | undefined; - code?: number | undefined; - signal?: NodeJS.Signals | undefined; - stdout?: string; - stderr?: string; - } - /** - * Spawns a shell then executes the `command` within that shell, buffering any - * generated output. The `command` string passed to the exec function is processed - * directly by the shell and special characters (vary based on [shell](https://en.wikipedia.org/wiki/List_of_command-line_interpreters)) - * need to be dealt with accordingly: - * - * ```js - * const { exec } = require('node:child_process'); - * - * exec('"/path/to/test file/test.sh" arg1 arg2'); - * // Double quotes are used so that the space in the path is not interpreted as - * // a delimiter of multiple arguments. - * - * exec('echo "The \\$HOME variable is $HOME"'); - * // The $HOME variable is escaped in the first instance, but not in the second. - * ``` - * - * **Never pass unsanitized user input to this function. Any input containing shell** - * **metacharacters may be used to trigger arbitrary command execution.** - * - * If a `callback` function is provided, it is called with the arguments`(error, stdout, stderr)`. On success, `error` will be `null`. On error,`error` will be an instance of `Error`. The - * `error.code` property will be - * the exit code of the process. By convention, any exit code other than `0`indicates an error. `error.signal` will be the signal that terminated the - * process. - * - * The `stdout` and `stderr` arguments passed to the callback will contain the - * stdout and stderr output of the child process. By default, Node.js will decode - * the output as UTF-8 and pass strings to the callback. The `encoding` option - * can be used to specify the character encoding used to decode the stdout and - * stderr output. If `encoding` is `'buffer'`, or an unrecognized character - * encoding, `Buffer` objects will be passed to the callback instead. - * - * ```js - * const { exec } = require('node:child_process'); - * exec('cat *.js missing_file | wc -l', (error, stdout, stderr) => { - * if (error) { - * console.error(`exec error: ${error}`); - * return; - * } - * console.log(`stdout: ${stdout}`); - * console.error(`stderr: ${stderr}`); - * }); - * ``` - * - * If `timeout` is greater than `0`, the parent will send the signal - * identified by the `killSignal` property (the default is `'SIGTERM'`) if the - * child runs longer than `timeout` milliseconds. - * - * Unlike the [`exec(3)`](http://man7.org/linux/man-pages/man3/exec.3.html) POSIX system call, `child_process.exec()` does not replace - * the existing process and uses a shell to execute the command. - * - * If this method is invoked as its `util.promisify()` ed version, it returns - * a `Promise` for an `Object` with `stdout` and `stderr` properties. The returned`ChildProcess` instance is attached to the `Promise` as a `child` property. In - * case of an error (including any error resulting in an exit code other than 0), a - * rejected promise is returned, with the same `error` object given in the - * callback, but with two additional properties `stdout` and `stderr`. - * - * ```js - * const util = require('node:util'); - * const exec = util.promisify(require('node:child_process').exec); - * - * async function lsExample() { - * const { stdout, stderr } = await exec('ls'); - * console.log('stdout:', stdout); - * console.error('stderr:', stderr); - * } - * lsExample(); - * ``` - * - * If the `signal` option is enabled, calling `.abort()` on the corresponding`AbortController` is similar to calling `.kill()` on the child process except - * the error passed to the callback will be an `AbortError`: - * - * ```js - * const { exec } = require('node:child_process'); - * const controller = new AbortController(); - * const { signal } = controller; - * const child = exec('grep ssh', { signal }, (error) => { - * console.error(error); // an AbortError - * }); - * controller.abort(); - * ``` - * @since v0.1.90 - * @param command The command to run, with space-separated arguments. - * @param callback called with the output when process terminates. - */ - function exec( - command: string, - callback?: (error: ExecException | null, stdout: string, stderr: string) => void, - ): ChildProcess; - // `options` with `"buffer"` or `null` for `encoding` means stdout/stderr are definitely `Buffer`. - function exec( - command: string, - options: { - encoding: "buffer" | null; - } & ExecOptions, - callback?: (error: ExecException | null, stdout: Buffer, stderr: Buffer) => void, - ): ChildProcess; - // `options` with well known `encoding` means stdout/stderr are definitely `string`. - function exec( - command: string, - options: { - encoding: BufferEncoding; - } & ExecOptions, - callback?: (error: ExecException | null, stdout: string, stderr: string) => void, - ): ChildProcess; - // `options` with an `encoding` whose type is `string` means stdout/stderr could either be `Buffer` or `string`. - // There is no guarantee the `encoding` is unknown as `string` is a superset of `BufferEncoding`. - function exec( - command: string, - options: { - encoding: BufferEncoding; - } & ExecOptions, - callback?: (error: ExecException | null, stdout: string | Buffer, stderr: string | Buffer) => void, - ): ChildProcess; - // `options` without an `encoding` means stdout/stderr are definitely `string`. - function exec( - command: string, - options: ExecOptions, - callback?: (error: ExecException | null, stdout: string, stderr: string) => void, - ): ChildProcess; - // fallback if nothing else matches. Worst case is always `string | Buffer`. - function exec( - command: string, - options: (ObjectEncodingOptions & ExecOptions) | undefined | null, - callback?: (error: ExecException | null, stdout: string | Buffer, stderr: string | Buffer) => void, - ): ChildProcess; - interface PromiseWithChild extends Promise { - child: ChildProcess; - } - namespace exec { - function __promisify__(command: string): PromiseWithChild<{ - stdout: string; - stderr: string; - }>; - function __promisify__( - command: string, - options: { - encoding: "buffer" | null; - } & ExecOptions, - ): PromiseWithChild<{ - stdout: Buffer; - stderr: Buffer; - }>; - function __promisify__( - command: string, - options: { - encoding: BufferEncoding; - } & ExecOptions, - ): PromiseWithChild<{ - stdout: string; - stderr: string; - }>; - function __promisify__( - command: string, - options: ExecOptions, - ): PromiseWithChild<{ - stdout: string; - stderr: string; - }>; - function __promisify__( - command: string, - options?: (ObjectEncodingOptions & ExecOptions) | null, - ): PromiseWithChild<{ - stdout: string | Buffer; - stderr: string | Buffer; - }>; - } - interface ExecFileOptions extends CommonOptions, Abortable { - maxBuffer?: number | undefined; - killSignal?: NodeJS.Signals | number | undefined; - windowsVerbatimArguments?: boolean | undefined; - shell?: boolean | string | undefined; - signal?: AbortSignal | undefined; - } - interface ExecFileOptionsWithStringEncoding extends ExecFileOptions { - encoding: BufferEncoding; - } - interface ExecFileOptionsWithBufferEncoding extends ExecFileOptions { - encoding: "buffer" | null; - } - interface ExecFileOptionsWithOtherEncoding extends ExecFileOptions { - encoding: BufferEncoding; - } - type ExecFileException = - & Omit - & Omit - & { code?: string | number | undefined | null }; - /** - * The `child_process.execFile()` function is similar to {@link exec} except that it does not spawn a shell by default. Rather, the specified - * executable `file` is spawned directly as a new process making it slightly more - * efficient than {@link exec}. - * - * The same options as {@link exec} are supported. Since a shell is - * not spawned, behaviors such as I/O redirection and file globbing are not - * supported. - * - * ```js - * const { execFile } = require('node:child_process'); - * const child = execFile('node', ['--version'], (error, stdout, stderr) => { - * if (error) { - * throw error; - * } - * console.log(stdout); - * }); - * ``` - * - * The `stdout` and `stderr` arguments passed to the callback will contain the - * stdout and stderr output of the child process. By default, Node.js will decode - * the output as UTF-8 and pass strings to the callback. The `encoding` option - * can be used to specify the character encoding used to decode the stdout and - * stderr output. If `encoding` is `'buffer'`, or an unrecognized character - * encoding, `Buffer` objects will be passed to the callback instead. - * - * If this method is invoked as its `util.promisify()` ed version, it returns - * a `Promise` for an `Object` with `stdout` and `stderr` properties. The returned`ChildProcess` instance is attached to the `Promise` as a `child` property. In - * case of an error (including any error resulting in an exit code other than 0), a - * rejected promise is returned, with the same `error` object given in the - * callback, but with two additional properties `stdout` and `stderr`. - * - * ```js - * const util = require('node:util'); - * const execFile = util.promisify(require('node:child_process').execFile); - * async function getVersion() { - * const { stdout } = await execFile('node', ['--version']); - * console.log(stdout); - * } - * getVersion(); - * ``` - * - * **If the `shell` option is enabled, do not pass unsanitized user input to this** - * **function. Any input containing shell metacharacters may be used to trigger** - * **arbitrary command execution.** - * - * If the `signal` option is enabled, calling `.abort()` on the corresponding`AbortController` is similar to calling `.kill()` on the child process except - * the error passed to the callback will be an `AbortError`: - * - * ```js - * const { execFile } = require('node:child_process'); - * const controller = new AbortController(); - * const { signal } = controller; - * const child = execFile('node', ['--version'], { signal }, (error) => { - * console.error(error); // an AbortError - * }); - * controller.abort(); - * ``` - * @since v0.1.91 - * @param file The name or path of the executable file to run. - * @param args List of string arguments. - * @param callback Called with the output when process terminates. - */ - function execFile(file: string): ChildProcess; - function execFile( - file: string, - options: (ObjectEncodingOptions & ExecFileOptions) | undefined | null, - ): ChildProcess; - function execFile(file: string, args?: readonly string[] | null): ChildProcess; - function execFile( - file: string, - args: readonly string[] | undefined | null, - options: (ObjectEncodingOptions & ExecFileOptions) | undefined | null, - ): ChildProcess; - // no `options` definitely means stdout/stderr are `string`. - function execFile( - file: string, - callback: (error: ExecFileException | null, stdout: string, stderr: string) => void, - ): ChildProcess; - function execFile( - file: string, - args: readonly string[] | undefined | null, - callback: (error: ExecFileException | null, stdout: string, stderr: string) => void, - ): ChildProcess; - // `options` with `"buffer"` or `null` for `encoding` means stdout/stderr are definitely `Buffer`. - function execFile( - file: string, - options: ExecFileOptionsWithBufferEncoding, - callback: (error: ExecFileException | null, stdout: Buffer, stderr: Buffer) => void, - ): ChildProcess; - function execFile( - file: string, - args: readonly string[] | undefined | null, - options: ExecFileOptionsWithBufferEncoding, - callback: (error: ExecFileException | null, stdout: Buffer, stderr: Buffer) => void, - ): ChildProcess; - // `options` with well known `encoding` means stdout/stderr are definitely `string`. - function execFile( - file: string, - options: ExecFileOptionsWithStringEncoding, - callback: (error: ExecFileException | null, stdout: string, stderr: string) => void, - ): ChildProcess; - function execFile( - file: string, - args: readonly string[] | undefined | null, - options: ExecFileOptionsWithStringEncoding, - callback: (error: ExecFileException | null, stdout: string, stderr: string) => void, - ): ChildProcess; - // `options` with an `encoding` whose type is `string` means stdout/stderr could either be `Buffer` or `string`. - // There is no guarantee the `encoding` is unknown as `string` is a superset of `BufferEncoding`. - function execFile( - file: string, - options: ExecFileOptionsWithOtherEncoding, - callback: (error: ExecFileException | null, stdout: string | Buffer, stderr: string | Buffer) => void, - ): ChildProcess; - function execFile( - file: string, - args: readonly string[] | undefined | null, - options: ExecFileOptionsWithOtherEncoding, - callback: (error: ExecFileException | null, stdout: string | Buffer, stderr: string | Buffer) => void, - ): ChildProcess; - // `options` without an `encoding` means stdout/stderr are definitely `string`. - function execFile( - file: string, - options: ExecFileOptions, - callback: (error: ExecFileException | null, stdout: string, stderr: string) => void, - ): ChildProcess; - function execFile( - file: string, - args: readonly string[] | undefined | null, - options: ExecFileOptions, - callback: (error: ExecFileException | null, stdout: string, stderr: string) => void, - ): ChildProcess; - // fallback if nothing else matches. Worst case is always `string | Buffer`. - function execFile( - file: string, - options: (ObjectEncodingOptions & ExecFileOptions) | undefined | null, - callback: - | ((error: ExecFileException | null, stdout: string | Buffer, stderr: string | Buffer) => void) - | undefined - | null, - ): ChildProcess; - function execFile( - file: string, - args: readonly string[] | undefined | null, - options: (ObjectEncodingOptions & ExecFileOptions) | undefined | null, - callback: - | ((error: ExecFileException | null, stdout: string | Buffer, stderr: string | Buffer) => void) - | undefined - | null, - ): ChildProcess; - namespace execFile { - function __promisify__(file: string): PromiseWithChild<{ - stdout: string; - stderr: string; - }>; - function __promisify__( - file: string, - args: readonly string[] | undefined | null, - ): PromiseWithChild<{ - stdout: string; - stderr: string; - }>; - function __promisify__( - file: string, - options: ExecFileOptionsWithBufferEncoding, - ): PromiseWithChild<{ - stdout: Buffer; - stderr: Buffer; - }>; - function __promisify__( - file: string, - args: readonly string[] | undefined | null, - options: ExecFileOptionsWithBufferEncoding, - ): PromiseWithChild<{ - stdout: Buffer; - stderr: Buffer; - }>; - function __promisify__( - file: string, - options: ExecFileOptionsWithStringEncoding, - ): PromiseWithChild<{ - stdout: string; - stderr: string; - }>; - function __promisify__( - file: string, - args: readonly string[] | undefined | null, - options: ExecFileOptionsWithStringEncoding, - ): PromiseWithChild<{ - stdout: string; - stderr: string; - }>; - function __promisify__( - file: string, - options: ExecFileOptionsWithOtherEncoding, - ): PromiseWithChild<{ - stdout: string | Buffer; - stderr: string | Buffer; - }>; - function __promisify__( - file: string, - args: readonly string[] | undefined | null, - options: ExecFileOptionsWithOtherEncoding, - ): PromiseWithChild<{ - stdout: string | Buffer; - stderr: string | Buffer; - }>; - function __promisify__( - file: string, - options: ExecFileOptions, - ): PromiseWithChild<{ - stdout: string; - stderr: string; - }>; - function __promisify__( - file: string, - args: readonly string[] | undefined | null, - options: ExecFileOptions, - ): PromiseWithChild<{ - stdout: string; - stderr: string; - }>; - function __promisify__( - file: string, - options: (ObjectEncodingOptions & ExecFileOptions) | undefined | null, - ): PromiseWithChild<{ - stdout: string | Buffer; - stderr: string | Buffer; - }>; - function __promisify__( - file: string, - args: readonly string[] | undefined | null, - options: (ObjectEncodingOptions & ExecFileOptions) | undefined | null, - ): PromiseWithChild<{ - stdout: string | Buffer; - stderr: string | Buffer; - }>; - } - interface ForkOptions extends ProcessEnvOptions, MessagingOptions, Abortable { - execPath?: string | undefined; - execArgv?: string[] | undefined; - silent?: boolean | undefined; - /** - * Can be set to 'pipe', 'inherit', 'overlapped', or 'ignore', or an array of these strings. - * If passed as an array, the first element is used for `stdin`, the second for - * `stdout`, and the third for `stderr`. A fourth element can be used to - * specify the `stdio` behavior beyond the standard streams. See - * {@link ChildProcess.stdio} for more information. - * - * @default 'pipe' - */ - stdio?: StdioOptions | undefined; - detached?: boolean | undefined; - windowsVerbatimArguments?: boolean | undefined; - } - /** - * The `child_process.fork()` method is a special case of {@link spawn} used specifically to spawn new Node.js processes. - * Like {@link spawn}, a `ChildProcess` object is returned. The - * returned `ChildProcess` will have an additional communication channel - * built-in that allows messages to be passed back and forth between the parent and - * child. See `subprocess.send()` for details. - * - * Keep in mind that spawned Node.js child processes are - * independent of the parent with exception of the IPC communication channel - * that is established between the two. Each process has its own memory, with - * their own V8 instances. Because of the additional resource allocations - * required, spawning a large number of child Node.js processes is not - * recommended. - * - * By default, `child_process.fork()` will spawn new Node.js instances using the `process.execPath` of the parent process. The `execPath` property in the`options` object allows for an alternative - * execution path to be used. - * - * Node.js processes launched with a custom `execPath` will communicate with the - * parent process using the file descriptor (fd) identified using the - * environment variable `NODE_CHANNEL_FD` on the child process. - * - * Unlike the [`fork(2)`](http://man7.org/linux/man-pages/man2/fork.2.html) POSIX system call, `child_process.fork()` does not clone the - * current process. - * - * The `shell` option available in {@link spawn} is not supported by`child_process.fork()` and will be ignored if set. - * - * If the `signal` option is enabled, calling `.abort()` on the corresponding`AbortController` is similar to calling `.kill()` on the child process except - * the error passed to the callback will be an `AbortError`: - * - * ```js - * if (process.argv[2] === 'child') { - * setTimeout(() => { - * console.log(`Hello from ${process.argv[2]}!`); - * }, 1_000); - * } else { - * const { fork } = require('node:child_process'); - * const controller = new AbortController(); - * const { signal } = controller; - * const child = fork(__filename, ['child'], { signal }); - * child.on('error', (err) => { - * // This will be called with err being an AbortError if the controller aborts - * }); - * controller.abort(); // Stops the child process - * } - * ``` - * @since v0.5.0 - * @param modulePath The module to run in the child. - * @param args List of string arguments. - */ - function fork(modulePath: string, options?: ForkOptions): ChildProcess; - function fork(modulePath: string, args?: readonly string[], options?: ForkOptions): ChildProcess; - interface SpawnSyncOptions extends CommonSpawnOptions { - input?: string | NodeJS.ArrayBufferView | undefined; - maxBuffer?: number | undefined; - encoding?: BufferEncoding | "buffer" | null | undefined; - } - interface SpawnSyncOptionsWithStringEncoding extends SpawnSyncOptions { - encoding: BufferEncoding; - } - interface SpawnSyncOptionsWithBufferEncoding extends SpawnSyncOptions { - encoding?: "buffer" | null | undefined; - } - interface SpawnSyncReturns { - pid: number; - output: Array; - stdout: T; - stderr: T; - status: number | null; - signal: NodeJS.Signals | null; - error?: Error | undefined; - } - /** - * The `child_process.spawnSync()` method is generally identical to {@link spawn} with the exception that the function will not return - * until the child process has fully closed. When a timeout has been encountered - * and `killSignal` is sent, the method won't return until the process has - * completely exited. If the process intercepts and handles the `SIGTERM` signal - * and doesn't exit, the parent process will wait until the child process has - * exited. - * - * **If the `shell` option is enabled, do not pass unsanitized user input to this** - * **function. Any input containing shell metacharacters may be used to trigger** - * **arbitrary command execution.** - * @since v0.11.12 - * @param command The command to run. - * @param args List of string arguments. - */ - function spawnSync(command: string): SpawnSyncReturns; - function spawnSync(command: string, options: SpawnSyncOptionsWithStringEncoding): SpawnSyncReturns; - function spawnSync(command: string, options: SpawnSyncOptionsWithBufferEncoding): SpawnSyncReturns; - function spawnSync(command: string, options?: SpawnSyncOptions): SpawnSyncReturns; - function spawnSync(command: string, args: readonly string[]): SpawnSyncReturns; - function spawnSync( - command: string, - args: readonly string[], - options: SpawnSyncOptionsWithStringEncoding, - ): SpawnSyncReturns; - function spawnSync( - command: string, - args: readonly string[], - options: SpawnSyncOptionsWithBufferEncoding, - ): SpawnSyncReturns; - function spawnSync( - command: string, - args?: readonly string[], - options?: SpawnSyncOptions, - ): SpawnSyncReturns; - interface CommonExecOptions extends CommonOptions { - input?: string | NodeJS.ArrayBufferView | undefined; - /** - * Can be set to 'pipe', 'inherit, or 'ignore', or an array of these strings. - * If passed as an array, the first element is used for `stdin`, the second for - * `stdout`, and the third for `stderr`. A fourth element can be used to - * specify the `stdio` behavior beyond the standard streams. See - * {@link ChildProcess.stdio} for more information. - * - * @default 'pipe' - */ - stdio?: StdioOptions | undefined; - killSignal?: NodeJS.Signals | number | undefined; - maxBuffer?: number | undefined; - encoding?: BufferEncoding | "buffer" | null | undefined; - } - interface ExecSyncOptions extends CommonExecOptions { - shell?: string | undefined; - } - interface ExecSyncOptionsWithStringEncoding extends ExecSyncOptions { - encoding: BufferEncoding; - } - interface ExecSyncOptionsWithBufferEncoding extends ExecSyncOptions { - encoding?: "buffer" | null | undefined; - } - /** - * The `child_process.execSync()` method is generally identical to {@link exec} with the exception that the method will not return - * until the child process has fully closed. When a timeout has been encountered - * and `killSignal` is sent, the method won't return until the process has - * completely exited. If the child process intercepts and handles the `SIGTERM`signal and doesn't exit, the parent process will wait until the child process - * has exited. - * - * If the process times out or has a non-zero exit code, this method will throw. - * The `Error` object will contain the entire result from {@link spawnSync}. - * - * **Never pass unsanitized user input to this function. Any input containing shell** - * **metacharacters may be used to trigger arbitrary command execution.** - * @since v0.11.12 - * @param command The command to run. - * @return The stdout from the command. - */ - function execSync(command: string): Buffer; - function execSync(command: string, options: ExecSyncOptionsWithStringEncoding): string; - function execSync(command: string, options: ExecSyncOptionsWithBufferEncoding): Buffer; - function execSync(command: string, options?: ExecSyncOptions): string | Buffer; - interface ExecFileSyncOptions extends CommonExecOptions { - shell?: boolean | string | undefined; - } - interface ExecFileSyncOptionsWithStringEncoding extends ExecFileSyncOptions { - encoding: BufferEncoding; - } - interface ExecFileSyncOptionsWithBufferEncoding extends ExecFileSyncOptions { - encoding?: "buffer" | null; // specify `null`. - } - /** - * The `child_process.execFileSync()` method is generally identical to {@link execFile} with the exception that the method will not - * return until the child process has fully closed. When a timeout has been - * encountered and `killSignal` is sent, the method won't return until the process - * has completely exited. - * - * If the child process intercepts and handles the `SIGTERM` signal and - * does not exit, the parent process will still wait until the child process has - * exited. - * - * If the process times out or has a non-zero exit code, this method will throw an `Error` that will include the full result of the underlying {@link spawnSync}. - * - * **If the `shell` option is enabled, do not pass unsanitized user input to this** - * **function. Any input containing shell metacharacters may be used to trigger** - * **arbitrary command execution.** - * @since v0.11.12 - * @param file The name or path of the executable file to run. - * @param args List of string arguments. - * @return The stdout from the command. - */ - function execFileSync(file: string): Buffer; - function execFileSync(file: string, options: ExecFileSyncOptionsWithStringEncoding): string; - function execFileSync(file: string, options: ExecFileSyncOptionsWithBufferEncoding): Buffer; - function execFileSync(file: string, options?: ExecFileSyncOptions): string | Buffer; - function execFileSync(file: string, args: readonly string[]): Buffer; - function execFileSync( - file: string, - args: readonly string[], - options: ExecFileSyncOptionsWithStringEncoding, - ): string; - function execFileSync( - file: string, - args: readonly string[], - options: ExecFileSyncOptionsWithBufferEncoding, - ): Buffer; - function execFileSync(file: string, args?: readonly string[], options?: ExecFileSyncOptions): string | Buffer; -} -declare module "node:child_process" { - export * from "child_process"; -} diff --git a/node_modules/@types/node/cluster.d.ts b/node_modules/@types/node/cluster.d.ts deleted file mode 100644 index 39cd56a..0000000 --- a/node_modules/@types/node/cluster.d.ts +++ /dev/null @@ -1,432 +0,0 @@ -/** - * Clusters of Node.js processes can be used to run multiple instances of Node.js - * that can distribute workloads among their application threads. When process - * isolation is not needed, use the `worker_threads` module instead, which - * allows running multiple application threads within a single Node.js instance. - * - * The cluster module allows easy creation of child processes that all share - * server ports. - * - * ```js - * import cluster from 'node:cluster'; - * import http from 'node:http'; - * import { availableParallelism } from 'node:os'; - * import process from 'node:process'; - * - * const numCPUs = availableParallelism(); - * - * if (cluster.isPrimary) { - * console.log(`Primary ${process.pid} is running`); - * - * // Fork workers. - * for (let i = 0; i < numCPUs; i++) { - * cluster.fork(); - * } - * - * cluster.on('exit', (worker, code, signal) => { - * console.log(`worker ${worker.process.pid} died`); - * }); - * } else { - * // Workers can share any TCP connection - * // In this case it is an HTTP server - * http.createServer((req, res) => { - * res.writeHead(200); - * res.end('hello world\n'); - * }).listen(8000); - * - * console.log(`Worker ${process.pid} started`); - * } - * ``` - * - * Running Node.js will now share port 8000 between the workers: - * - * ```console - * $ node server.js - * Primary 3596 is running - * Worker 4324 started - * Worker 4520 started - * Worker 6056 started - * Worker 5644 started - * ``` - * - * On Windows, it is not yet possible to set up a named pipe server in a worker. - * @see [source](https://github.com/nodejs/node/blob/v20.2.0/lib/cluster.js) - */ -declare module "cluster" { - import * as child from "node:child_process"; - import EventEmitter = require("node:events"); - import * as net from "node:net"; - type SerializationType = "json" | "advanced"; - export interface ClusterSettings { - execArgv?: string[] | undefined; // default: process.execArgv - exec?: string | undefined; - args?: string[] | undefined; - silent?: boolean | undefined; - stdio?: any[] | undefined; - uid?: number | undefined; - gid?: number | undefined; - inspectPort?: number | (() => number) | undefined; - serialization?: SerializationType | undefined; - cwd?: string | undefined; - windowsHide?: boolean | undefined; - } - export interface Address { - address: string; - port: number; - addressType: number | "udp4" | "udp6"; // 4, 6, -1, "udp4", "udp6" - } - /** - * A `Worker` object contains all public information and method about a worker. - * In the primary it can be obtained using `cluster.workers`. In a worker - * it can be obtained using `cluster.worker`. - * @since v0.7.0 - */ - export class Worker extends EventEmitter { - /** - * Each new worker is given its own unique id, this id is stored in the`id`. - * - * While a worker is alive, this is the key that indexes it in`cluster.workers`. - * @since v0.8.0 - */ - id: number; - /** - * All workers are created using `child_process.fork()`, the returned object - * from this function is stored as `.process`. In a worker, the global `process`is stored. - * - * See: `Child Process module`. - * - * Workers will call `process.exit(0)` if the `'disconnect'` event occurs - * on `process` and `.exitedAfterDisconnect` is not `true`. This protects against - * accidental disconnection. - * @since v0.7.0 - */ - process: child.ChildProcess; - /** - * Send a message to a worker or primary, optionally with a handle. - * - * In the primary, this sends a message to a specific worker. It is identical to `ChildProcess.send()`. - * - * In a worker, this sends a message to the primary. It is identical to`process.send()`. - * - * This example will echo back all messages from the primary: - * - * ```js - * if (cluster.isPrimary) { - * const worker = cluster.fork(); - * worker.send('hi there'); - * - * } else if (cluster.isWorker) { - * process.on('message', (msg) => { - * process.send(msg); - * }); - * } - * ``` - * @since v0.7.0 - * @param options The `options` argument, if present, is an object used to parameterize the sending of certain types of handles. `options` supports the following properties: - */ - send(message: child.Serializable, callback?: (error: Error | null) => void): boolean; - send( - message: child.Serializable, - sendHandle: child.SendHandle, - callback?: (error: Error | null) => void, - ): boolean; - send( - message: child.Serializable, - sendHandle: child.SendHandle, - options?: child.MessageOptions, - callback?: (error: Error | null) => void, - ): boolean; - /** - * This function will kill the worker. In the primary worker, it does this by - * disconnecting the `worker.process`, and once disconnected, killing with`signal`. In the worker, it does it by killing the process with `signal`. - * - * The `kill()` function kills the worker process without waiting for a graceful - * disconnect, it has the same behavior as `worker.process.kill()`. - * - * This method is aliased as `worker.destroy()` for backwards compatibility. - * - * In a worker, `process.kill()` exists, but it is not this function; - * it is `kill()`. - * @since v0.9.12 - * @param [signal='SIGTERM'] Name of the kill signal to send to the worker process. - */ - kill(signal?: string): void; - destroy(signal?: string): void; - /** - * In a worker, this function will close all servers, wait for the `'close'` event - * on those servers, and then disconnect the IPC channel. - * - * In the primary, an internal message is sent to the worker causing it to call`.disconnect()` on itself. - * - * Causes `.exitedAfterDisconnect` to be set. - * - * After a server is closed, it will no longer accept new connections, - * but connections may be accepted by any other listening worker. Existing - * connections will be allowed to close as usual. When no more connections exist, - * see `server.close()`, the IPC channel to the worker will close allowing it - * to die gracefully. - * - * The above applies _only_ to server connections, client connections are not - * automatically closed by workers, and disconnect does not wait for them to close - * before exiting. - * - * In a worker, `process.disconnect` exists, but it is not this function; - * it is `disconnect()`. - * - * Because long living server connections may block workers from disconnecting, it - * may be useful to send a message, so application specific actions may be taken to - * close them. It also may be useful to implement a timeout, killing a worker if - * the `'disconnect'` event has not been emitted after some time. - * - * ```js - * if (cluster.isPrimary) { - * const worker = cluster.fork(); - * let timeout; - * - * worker.on('listening', (address) => { - * worker.send('shutdown'); - * worker.disconnect(); - * timeout = setTimeout(() => { - * worker.kill(); - * }, 2000); - * }); - * - * worker.on('disconnect', () => { - * clearTimeout(timeout); - * }); - * - * } else if (cluster.isWorker) { - * const net = require('node:net'); - * const server = net.createServer((socket) => { - * // Connections never end - * }); - * - * server.listen(8000); - * - * process.on('message', (msg) => { - * if (msg === 'shutdown') { - * // Initiate graceful close of any connections to server - * } - * }); - * } - * ``` - * @since v0.7.7 - * @return A reference to `worker`. - */ - disconnect(): void; - /** - * This function returns `true` if the worker is connected to its primary via its - * IPC channel, `false` otherwise. A worker is connected to its primary after it - * has been created. It is disconnected after the `'disconnect'` event is emitted. - * @since v0.11.14 - */ - isConnected(): boolean; - /** - * This function returns `true` if the worker's process has terminated (either - * because of exiting or being signaled). Otherwise, it returns `false`. - * - * ```js - * import cluster from 'node:cluster'; - * import http from 'node:http'; - * import { availableParallelism } from 'node:os'; - * import process from 'node:process'; - * - * const numCPUs = availableParallelism(); - * - * if (cluster.isPrimary) { - * console.log(`Primary ${process.pid} is running`); - * - * // Fork workers. - * for (let i = 0; i < numCPUs; i++) { - * cluster.fork(); - * } - * - * cluster.on('fork', (worker) => { - * console.log('worker is dead:', worker.isDead()); - * }); - * - * cluster.on('exit', (worker, code, signal) => { - * console.log('worker is dead:', worker.isDead()); - * }); - * } else { - * // Workers can share any TCP connection. In this case, it is an HTTP server. - * http.createServer((req, res) => { - * res.writeHead(200); - * res.end(`Current process\n ${process.pid}`); - * process.kill(process.pid); - * }).listen(8000); - * } - * ``` - * @since v0.11.14 - */ - isDead(): boolean; - /** - * This property is `true` if the worker exited due to `.disconnect()`. - * If the worker exited any other way, it is `false`. If the - * worker has not exited, it is `undefined`. - * - * The boolean `worker.exitedAfterDisconnect` allows distinguishing between - * voluntary and accidental exit, the primary may choose not to respawn a worker - * based on this value. - * - * ```js - * cluster.on('exit', (worker, code, signal) => { - * if (worker.exitedAfterDisconnect === true) { - * console.log('Oh, it was just voluntary – no need to worry'); - * } - * }); - * - * // kill worker - * worker.kill(); - * ``` - * @since v6.0.0 - */ - exitedAfterDisconnect: boolean; - /** - * events.EventEmitter - * 1. disconnect - * 2. error - * 3. exit - * 4. listening - * 5. message - * 6. online - */ - addListener(event: string, listener: (...args: any[]) => void): this; - addListener(event: "disconnect", listener: () => void): this; - addListener(event: "error", listener: (error: Error) => void): this; - addListener(event: "exit", listener: (code: number, signal: string) => void): this; - addListener(event: "listening", listener: (address: Address) => void): this; - addListener(event: "message", listener: (message: any, handle: net.Socket | net.Server) => void): this; // the handle is a net.Socket or net.Server object, or undefined. - addListener(event: "online", listener: () => void): this; - emit(event: string | symbol, ...args: any[]): boolean; - emit(event: "disconnect"): boolean; - emit(event: "error", error: Error): boolean; - emit(event: "exit", code: number, signal: string): boolean; - emit(event: "listening", address: Address): boolean; - emit(event: "message", message: any, handle: net.Socket | net.Server): boolean; - emit(event: "online"): boolean; - on(event: string, listener: (...args: any[]) => void): this; - on(event: "disconnect", listener: () => void): this; - on(event: "error", listener: (error: Error) => void): this; - on(event: "exit", listener: (code: number, signal: string) => void): this; - on(event: "listening", listener: (address: Address) => void): this; - on(event: "message", listener: (message: any, handle: net.Socket | net.Server) => void): this; // the handle is a net.Socket or net.Server object, or undefined. - on(event: "online", listener: () => void): this; - once(event: string, listener: (...args: any[]) => void): this; - once(event: "disconnect", listener: () => void): this; - once(event: "error", listener: (error: Error) => void): this; - once(event: "exit", listener: (code: number, signal: string) => void): this; - once(event: "listening", listener: (address: Address) => void): this; - once(event: "message", listener: (message: any, handle: net.Socket | net.Server) => void): this; // the handle is a net.Socket or net.Server object, or undefined. - once(event: "online", listener: () => void): this; - prependListener(event: string, listener: (...args: any[]) => void): this; - prependListener(event: "disconnect", listener: () => void): this; - prependListener(event: "error", listener: (error: Error) => void): this; - prependListener(event: "exit", listener: (code: number, signal: string) => void): this; - prependListener(event: "listening", listener: (address: Address) => void): this; - prependListener(event: "message", listener: (message: any, handle: net.Socket | net.Server) => void): this; // the handle is a net.Socket or net.Server object, or undefined. - prependListener(event: "online", listener: () => void): this; - prependOnceListener(event: string, listener: (...args: any[]) => void): this; - prependOnceListener(event: "disconnect", listener: () => void): this; - prependOnceListener(event: "error", listener: (error: Error) => void): this; - prependOnceListener(event: "exit", listener: (code: number, signal: string) => void): this; - prependOnceListener(event: "listening", listener: (address: Address) => void): this; - prependOnceListener(event: "message", listener: (message: any, handle: net.Socket | net.Server) => void): this; // the handle is a net.Socket or net.Server object, or undefined. - prependOnceListener(event: "online", listener: () => void): this; - } - export interface Cluster extends EventEmitter { - disconnect(callback?: () => void): void; - fork(env?: any): Worker; - /** @deprecated since v16.0.0 - use isPrimary. */ - readonly isMaster: boolean; - readonly isPrimary: boolean; - readonly isWorker: boolean; - schedulingPolicy: number; - readonly settings: ClusterSettings; - /** @deprecated since v16.0.0 - use setupPrimary. */ - setupMaster(settings?: ClusterSettings): void; - /** - * `setupPrimary` is used to change the default 'fork' behavior. Once called, the settings will be present in cluster.settings. - */ - setupPrimary(settings?: ClusterSettings): void; - readonly worker?: Worker | undefined; - readonly workers?: NodeJS.Dict | undefined; - readonly SCHED_NONE: number; - readonly SCHED_RR: number; - /** - * events.EventEmitter - * 1. disconnect - * 2. exit - * 3. fork - * 4. listening - * 5. message - * 6. online - * 7. setup - */ - addListener(event: string, listener: (...args: any[]) => void): this; - addListener(event: "disconnect", listener: (worker: Worker) => void): this; - addListener(event: "exit", listener: (worker: Worker, code: number, signal: string) => void): this; - addListener(event: "fork", listener: (worker: Worker) => void): this; - addListener(event: "listening", listener: (worker: Worker, address: Address) => void): this; - addListener( - event: "message", - listener: (worker: Worker, message: any, handle: net.Socket | net.Server) => void, - ): this; // the handle is a net.Socket or net.Server object, or undefined. - addListener(event: "online", listener: (worker: Worker) => void): this; - addListener(event: "setup", listener: (settings: ClusterSettings) => void): this; - emit(event: string | symbol, ...args: any[]): boolean; - emit(event: "disconnect", worker: Worker): boolean; - emit(event: "exit", worker: Worker, code: number, signal: string): boolean; - emit(event: "fork", worker: Worker): boolean; - emit(event: "listening", worker: Worker, address: Address): boolean; - emit(event: "message", worker: Worker, message: any, handle: net.Socket | net.Server): boolean; - emit(event: "online", worker: Worker): boolean; - emit(event: "setup", settings: ClusterSettings): boolean; - on(event: string, listener: (...args: any[]) => void): this; - on(event: "disconnect", listener: (worker: Worker) => void): this; - on(event: "exit", listener: (worker: Worker, code: number, signal: string) => void): this; - on(event: "fork", listener: (worker: Worker) => void): this; - on(event: "listening", listener: (worker: Worker, address: Address) => void): this; - on(event: "message", listener: (worker: Worker, message: any, handle: net.Socket | net.Server) => void): this; // the handle is a net.Socket or net.Server object, or undefined. - on(event: "online", listener: (worker: Worker) => void): this; - on(event: "setup", listener: (settings: ClusterSettings) => void): this; - once(event: string, listener: (...args: any[]) => void): this; - once(event: "disconnect", listener: (worker: Worker) => void): this; - once(event: "exit", listener: (worker: Worker, code: number, signal: string) => void): this; - once(event: "fork", listener: (worker: Worker) => void): this; - once(event: "listening", listener: (worker: Worker, address: Address) => void): this; - once(event: "message", listener: (worker: Worker, message: any, handle: net.Socket | net.Server) => void): this; // the handle is a net.Socket or net.Server object, or undefined. - once(event: "online", listener: (worker: Worker) => void): this; - once(event: "setup", listener: (settings: ClusterSettings) => void): this; - prependListener(event: string, listener: (...args: any[]) => void): this; - prependListener(event: "disconnect", listener: (worker: Worker) => void): this; - prependListener(event: "exit", listener: (worker: Worker, code: number, signal: string) => void): this; - prependListener(event: "fork", listener: (worker: Worker) => void): this; - prependListener(event: "listening", listener: (worker: Worker, address: Address) => void): this; - // the handle is a net.Socket or net.Server object, or undefined. - prependListener( - event: "message", - listener: (worker: Worker, message: any, handle?: net.Socket | net.Server) => void, - ): this; - prependListener(event: "online", listener: (worker: Worker) => void): this; - prependListener(event: "setup", listener: (settings: ClusterSettings) => void): this; - prependOnceListener(event: string, listener: (...args: any[]) => void): this; - prependOnceListener(event: "disconnect", listener: (worker: Worker) => void): this; - prependOnceListener(event: "exit", listener: (worker: Worker, code: number, signal: string) => void): this; - prependOnceListener(event: "fork", listener: (worker: Worker) => void): this; - prependOnceListener(event: "listening", listener: (worker: Worker, address: Address) => void): this; - // the handle is a net.Socket or net.Server object, or undefined. - prependOnceListener( - event: "message", - listener: (worker: Worker, message: any, handle: net.Socket | net.Server) => void, - ): this; - prependOnceListener(event: "online", listener: (worker: Worker) => void): this; - prependOnceListener(event: "setup", listener: (settings: ClusterSettings) => void): this; - } - const cluster: Cluster; - export default cluster; -} -declare module "node:cluster" { - export * from "cluster"; - export { default as default } from "cluster"; -} diff --git a/node_modules/@types/node/console.d.ts b/node_modules/@types/node/console.d.ts deleted file mode 100644 index bcc3450..0000000 --- a/node_modules/@types/node/console.d.ts +++ /dev/null @@ -1,415 +0,0 @@ -/** - * The `node:console` module provides a simple debugging console that is similar to - * the JavaScript console mechanism provided by web browsers. - * - * The module exports two specific components: - * - * * A `Console` class with methods such as `console.log()`, `console.error()`, and`console.warn()` that can be used to write to any Node.js stream. - * * A global `console` instance configured to write to `process.stdout` and `process.stderr`. The global `console` can be used without calling`require('node:console')`. - * - * _**Warning**_: The global console object's methods are neither consistently - * synchronous like the browser APIs they resemble, nor are they consistently - * asynchronous like all other Node.js streams. See the `note on process I/O` for - * more information. - * - * Example using the global `console`: - * - * ```js - * console.log('hello world'); - * // Prints: hello world, to stdout - * console.log('hello %s', 'world'); - * // Prints: hello world, to stdout - * console.error(new Error('Whoops, something bad happened')); - * // Prints error message and stack trace to stderr: - * // Error: Whoops, something bad happened - * // at [eval]:5:15 - * // at Script.runInThisContext (node:vm:132:18) - * // at Object.runInThisContext (node:vm:309:38) - * // at node:internal/process/execution:77:19 - * // at [eval]-wrapper:6:22 - * // at evalScript (node:internal/process/execution:76:60) - * // at node:internal/main/eval_string:23:3 - * - * const name = 'Will Robinson'; - * console.warn(`Danger ${name}! Danger!`); - * // Prints: Danger Will Robinson! Danger!, to stderr - * ``` - * - * Example using the `Console` class: - * - * ```js - * const out = getStreamSomehow(); - * const err = getStreamSomehow(); - * const myConsole = new console.Console(out, err); - * - * myConsole.log('hello world'); - * // Prints: hello world, to out - * myConsole.log('hello %s', 'world'); - * // Prints: hello world, to out - * myConsole.error(new Error('Whoops, something bad happened')); - * // Prints: [Error: Whoops, something bad happened], to err - * - * const name = 'Will Robinson'; - * myConsole.warn(`Danger ${name}! Danger!`); - * // Prints: Danger Will Robinson! Danger!, to err - * ``` - * @see [source](https://github.com/nodejs/node/blob/v20.2.0/lib/console.js) - */ -declare module "console" { - import console = require("node:console"); - export = console; -} -declare module "node:console" { - import { InspectOptions } from "node:util"; - global { - // This needs to be global to avoid TS2403 in case lib.dom.d.ts is present in the same build - interface Console { - Console: console.ConsoleConstructor; - /** - * `console.assert()` writes a message if `value` is [falsy](https://developer.mozilla.org/en-US/docs/Glossary/Falsy) or omitted. It only - * writes a message and does not otherwise affect execution. The output always - * starts with `"Assertion failed"`. If provided, `message` is formatted using `util.format()`. - * - * If `value` is [truthy](https://developer.mozilla.org/en-US/docs/Glossary/Truthy), nothing happens. - * - * ```js - * console.assert(true, 'does nothing'); - * - * console.assert(false, 'Whoops %s work', 'didn\'t'); - * // Assertion failed: Whoops didn't work - * - * console.assert(); - * // Assertion failed - * ``` - * @since v0.1.101 - * @param value The value tested for being truthy. - * @param message All arguments besides `value` are used as error message. - */ - assert(value: any, message?: string, ...optionalParams: any[]): void; - /** - * When `stdout` is a TTY, calling `console.clear()` will attempt to clear the - * TTY. When `stdout` is not a TTY, this method does nothing. - * - * The specific operation of `console.clear()` can vary across operating systems - * and terminal types. For most Linux operating systems, `console.clear()`operates similarly to the `clear` shell command. On Windows, `console.clear()`will clear only the output in the - * current terminal viewport for the Node.js - * binary. - * @since v8.3.0 - */ - clear(): void; - /** - * Maintains an internal counter specific to `label` and outputs to `stdout` the - * number of times `console.count()` has been called with the given `label`. - * - * ```js - * > console.count() - * default: 1 - * undefined - * > console.count('default') - * default: 2 - * undefined - * > console.count('abc') - * abc: 1 - * undefined - * > console.count('xyz') - * xyz: 1 - * undefined - * > console.count('abc') - * abc: 2 - * undefined - * > console.count() - * default: 3 - * undefined - * > - * ``` - * @since v8.3.0 - * @param [label='default'] The display label for the counter. - */ - count(label?: string): void; - /** - * Resets the internal counter specific to `label`. - * - * ```js - * > console.count('abc'); - * abc: 1 - * undefined - * > console.countReset('abc'); - * undefined - * > console.count('abc'); - * abc: 1 - * undefined - * > - * ``` - * @since v8.3.0 - * @param [label='default'] The display label for the counter. - */ - countReset(label?: string): void; - /** - * The `console.debug()` function is an alias for {@link log}. - * @since v8.0.0 - */ - debug(message?: any, ...optionalParams: any[]): void; - /** - * Uses `util.inspect()` on `obj` and prints the resulting string to `stdout`. - * This function bypasses any custom `inspect()` function defined on `obj`. - * @since v0.1.101 - */ - dir(obj: any, options?: InspectOptions): void; - /** - * This method calls `console.log()` passing it the arguments received. - * This method does not produce any XML formatting. - * @since v8.0.0 - */ - dirxml(...data: any[]): void; - /** - * Prints to `stderr` with newline. Multiple arguments can be passed, with the - * first used as the primary message and all additional used as substitution - * values similar to [`printf(3)`](http://man7.org/linux/man-pages/man3/printf.3.html) (the arguments are all passed to `util.format()`). - * - * ```js - * const code = 5; - * console.error('error #%d', code); - * // Prints: error #5, to stderr - * console.error('error', code); - * // Prints: error 5, to stderr - * ``` - * - * If formatting elements (e.g. `%d`) are not found in the first string then `util.inspect()` is called on each argument and the resulting string - * values are concatenated. See `util.format()` for more information. - * @since v0.1.100 - */ - error(message?: any, ...optionalParams: any[]): void; - /** - * Increases indentation of subsequent lines by spaces for `groupIndentation`length. - * - * If one or more `label`s are provided, those are printed first without the - * additional indentation. - * @since v8.5.0 - */ - group(...label: any[]): void; - /** - * An alias for {@link group}. - * @since v8.5.0 - */ - groupCollapsed(...label: any[]): void; - /** - * Decreases indentation of subsequent lines by spaces for `groupIndentation`length. - * @since v8.5.0 - */ - groupEnd(): void; - /** - * The `console.info()` function is an alias for {@link log}. - * @since v0.1.100 - */ - info(message?: any, ...optionalParams: any[]): void; - /** - * Prints to `stdout` with newline. Multiple arguments can be passed, with the - * first used as the primary message and all additional used as substitution - * values similar to [`printf(3)`](http://man7.org/linux/man-pages/man3/printf.3.html) (the arguments are all passed to `util.format()`). - * - * ```js - * const count = 5; - * console.log('count: %d', count); - * // Prints: count: 5, to stdout - * console.log('count:', count); - * // Prints: count: 5, to stdout - * ``` - * - * See `util.format()` for more information. - * @since v0.1.100 - */ - log(message?: any, ...optionalParams: any[]): void; - /** - * Try to construct a table with the columns of the properties of `tabularData`(or use `properties`) and rows of `tabularData` and log it. Falls back to just - * logging the argument if it can't be parsed as tabular. - * - * ```js - * // These can't be parsed as tabular data - * console.table(Symbol()); - * // Symbol() - * - * console.table(undefined); - * // undefined - * - * console.table([{ a: 1, b: 'Y' }, { a: 'Z', b: 2 }]); - * // ┌─────────┬─────┬─────┐ - * // │ (index) │ a │ b │ - * // ├─────────┼─────┼─────┤ - * // │ 0 │ 1 │ 'Y' │ - * // │ 1 │ 'Z' │ 2 │ - * // └─────────┴─────┴─────┘ - * - * console.table([{ a: 1, b: 'Y' }, { a: 'Z', b: 2 }], ['a']); - * // ┌─────────┬─────┐ - * // │ (index) │ a │ - * // ├─────────┼─────┤ - * // │ 0 │ 1 │ - * // │ 1 │ 'Z' │ - * // └─────────┴─────┘ - * ``` - * @since v10.0.0 - * @param properties Alternate properties for constructing the table. - */ - table(tabularData: any, properties?: readonly string[]): void; - /** - * Starts a timer that can be used to compute the duration of an operation. Timers - * are identified by a unique `label`. Use the same `label` when calling {@link timeEnd} to stop the timer and output the elapsed time in - * suitable time units to `stdout`. For example, if the elapsed - * time is 3869ms, `console.timeEnd()` displays "3.869s". - * @since v0.1.104 - * @param [label='default'] - */ - time(label?: string): void; - /** - * Stops a timer that was previously started by calling {@link time} and - * prints the result to `stdout`: - * - * ```js - * console.time('bunch-of-stuff'); - * // Do a bunch of stuff. - * console.timeEnd('bunch-of-stuff'); - * // Prints: bunch-of-stuff: 225.438ms - * ``` - * @since v0.1.104 - * @param [label='default'] - */ - timeEnd(label?: string): void; - /** - * For a timer that was previously started by calling {@link time}, prints - * the elapsed time and other `data` arguments to `stdout`: - * - * ```js - * console.time('process'); - * const value = expensiveProcess1(); // Returns 42 - * console.timeLog('process', value); - * // Prints "process: 365.227ms 42". - * doExpensiveProcess2(value); - * console.timeEnd('process'); - * ``` - * @since v10.7.0 - * @param [label='default'] - */ - timeLog(label?: string, ...data: any[]): void; - /** - * Prints to `stderr` the string `'Trace: '`, followed by the `util.format()` formatted message and stack trace to the current position in the code. - * - * ```js - * console.trace('Show me'); - * // Prints: (stack trace will vary based on where trace is called) - * // Trace: Show me - * // at repl:2:9 - * // at REPLServer.defaultEval (repl.js:248:27) - * // at bound (domain.js:287:14) - * // at REPLServer.runBound [as eval] (domain.js:300:12) - * // at REPLServer. (repl.js:412:12) - * // at emitOne (events.js:82:20) - * // at REPLServer.emit (events.js:169:7) - * // at REPLServer.Interface._onLine (readline.js:210:10) - * // at REPLServer.Interface._line (readline.js:549:8) - * // at REPLServer.Interface._ttyWrite (readline.js:826:14) - * ``` - * @since v0.1.104 - */ - trace(message?: any, ...optionalParams: any[]): void; - /** - * The `console.warn()` function is an alias for {@link error}. - * @since v0.1.100 - */ - warn(message?: any, ...optionalParams: any[]): void; - // --- Inspector mode only --- - /** - * This method does not display anything unless used in the inspector. - * Starts a JavaScript CPU profile with an optional label. - */ - profile(label?: string): void; - /** - * This method does not display anything unless used in the inspector. - * Stops the current JavaScript CPU profiling session if one has been started and prints the report to the Profiles panel of the inspector. - */ - profileEnd(label?: string): void; - /** - * This method does not display anything unless used in the inspector. - * Adds an event with the label `label` to the Timeline panel of the inspector. - */ - timeStamp(label?: string): void; - } - /** - * The `console` module provides a simple debugging console that is similar to the - * JavaScript console mechanism provided by web browsers. - * - * The module exports two specific components: - * - * * A `Console` class with methods such as `console.log()`, `console.error()` and`console.warn()` that can be used to write to any Node.js stream. - * * A global `console` instance configured to write to `process.stdout` and `process.stderr`. The global `console` can be used without calling`require('console')`. - * - * _**Warning**_: The global console object's methods are neither consistently - * synchronous like the browser APIs they resemble, nor are they consistently - * asynchronous like all other Node.js streams. See the `note on process I/O` for - * more information. - * - * Example using the global `console`: - * - * ```js - * console.log('hello world'); - * // Prints: hello world, to stdout - * console.log('hello %s', 'world'); - * // Prints: hello world, to stdout - * console.error(new Error('Whoops, something bad happened')); - * // Prints error message and stack trace to stderr: - * // Error: Whoops, something bad happened - * // at [eval]:5:15 - * // at Script.runInThisContext (node:vm:132:18) - * // at Object.runInThisContext (node:vm:309:38) - * // at node:internal/process/execution:77:19 - * // at [eval]-wrapper:6:22 - * // at evalScript (node:internal/process/execution:76:60) - * // at node:internal/main/eval_string:23:3 - * - * const name = 'Will Robinson'; - * console.warn(`Danger ${name}! Danger!`); - * // Prints: Danger Will Robinson! Danger!, to stderr - * ``` - * - * Example using the `Console` class: - * - * ```js - * const out = getStreamSomehow(); - * const err = getStreamSomehow(); - * const myConsole = new console.Console(out, err); - * - * myConsole.log('hello world'); - * // Prints: hello world, to out - * myConsole.log('hello %s', 'world'); - * // Prints: hello world, to out - * myConsole.error(new Error('Whoops, something bad happened')); - * // Prints: [Error: Whoops, something bad happened], to err - * - * const name = 'Will Robinson'; - * myConsole.warn(`Danger ${name}! Danger!`); - * // Prints: Danger Will Robinson! Danger!, to err - * ``` - * @see [source](https://github.com/nodejs/node/blob/v16.4.2/lib/console.js) - */ - namespace console { - interface ConsoleConstructorOptions { - stdout: NodeJS.WritableStream; - stderr?: NodeJS.WritableStream | undefined; - ignoreErrors?: boolean | undefined; - colorMode?: boolean | "auto" | undefined; - inspectOptions?: InspectOptions | undefined; - /** - * Set group indentation - * @default 2 - */ - groupIndentation?: number | undefined; - } - interface ConsoleConstructor { - prototype: Console; - new(stdout: NodeJS.WritableStream, stderr?: NodeJS.WritableStream, ignoreErrors?: boolean): Console; - new(options: ConsoleConstructorOptions): Console; - } - } - var console: Console; - } - export = globalThis.console; -} diff --git a/node_modules/@types/node/constants.d.ts b/node_modules/@types/node/constants.d.ts deleted file mode 100644 index c3ac2b8..0000000 --- a/node_modules/@types/node/constants.d.ts +++ /dev/null @@ -1,19 +0,0 @@ -/** @deprecated since v6.3.0 - use constants property exposed by the relevant module instead. */ -declare module "constants" { - import { constants as osConstants, SignalConstants } from "node:os"; - import { constants as cryptoConstants } from "node:crypto"; - import { constants as fsConstants } from "node:fs"; - - const exp: - & typeof osConstants.errno - & typeof osConstants.priority - & SignalConstants - & typeof cryptoConstants - & typeof fsConstants; - export = exp; -} - -declare module "node:constants" { - import constants = require("constants"); - export = constants; -} diff --git a/node_modules/@types/node/crypto.d.ts b/node_modules/@types/node/crypto.d.ts deleted file mode 100644 index 718697b..0000000 --- a/node_modules/@types/node/crypto.d.ts +++ /dev/null @@ -1,4487 +0,0 @@ -/** - * The `node:crypto` module provides cryptographic functionality that includes a - * set of wrappers for OpenSSL's hash, HMAC, cipher, decipher, sign, and verify - * functions. - * - * ```js - * const { createHmac } = await import('node:crypto'); - * - * const secret = 'abcdefg'; - * const hash = createHmac('sha256', secret) - * .update('I love cupcakes') - * .digest('hex'); - * console.log(hash); - * // Prints: - * // c0fa1bc00531bd78ef38c628449c5102aeabd49b5dc3a2a516ea6ea959d6658e - * ``` - * @see [source](https://github.com/nodejs/node/blob/v20.2.0/lib/crypto.js) - */ -declare module "crypto" { - import * as stream from "node:stream"; - import { PeerCertificate } from "node:tls"; - /** - * SPKAC is a Certificate Signing Request mechanism originally implemented by - * Netscape and was specified formally as part of HTML5's `keygen` element. - * - * `` is deprecated since [HTML 5.2](https://www.w3.org/TR/html52/changes.html#features-removed) and new projects - * should not use this element anymore. - * - * The `node:crypto` module provides the `Certificate` class for working with SPKAC - * data. The most common usage is handling output generated by the HTML5`` element. Node.js uses [OpenSSL's SPKAC - * implementation](https://www.openssl.org/docs/man3.0/man1/openssl-spkac.html) internally. - * @since v0.11.8 - */ - class Certificate { - /** - * ```js - * const { Certificate } = await import('node:crypto'); - * const spkac = getSpkacSomehow(); - * const challenge = Certificate.exportChallenge(spkac); - * console.log(challenge.toString('utf8')); - * // Prints: the challenge as a UTF8 string - * ``` - * @since v9.0.0 - * @param encoding The `encoding` of the `spkac` string. - * @return The challenge component of the `spkac` data structure, which includes a public key and a challenge. - */ - static exportChallenge(spkac: BinaryLike): Buffer; - /** - * ```js - * const { Certificate } = await import('node:crypto'); - * const spkac = getSpkacSomehow(); - * const publicKey = Certificate.exportPublicKey(spkac); - * console.log(publicKey); - * // Prints: the public key as - * ``` - * @since v9.0.0 - * @param encoding The `encoding` of the `spkac` string. - * @return The public key component of the `spkac` data structure, which includes a public key and a challenge. - */ - static exportPublicKey(spkac: BinaryLike, encoding?: string): Buffer; - /** - * ```js - * import { Buffer } from 'node:buffer'; - * const { Certificate } = await import('node:crypto'); - * - * const spkac = getSpkacSomehow(); - * console.log(Certificate.verifySpkac(Buffer.from(spkac))); - * // Prints: true or false - * ``` - * @since v9.0.0 - * @param encoding The `encoding` of the `spkac` string. - * @return `true` if the given `spkac` data structure is valid, `false` otherwise. - */ - static verifySpkac(spkac: NodeJS.ArrayBufferView): boolean; - /** - * @deprecated - * @param spkac - * @returns The challenge component of the `spkac` data structure, - * which includes a public key and a challenge. - */ - exportChallenge(spkac: BinaryLike): Buffer; - /** - * @deprecated - * @param spkac - * @param encoding The encoding of the spkac string. - * @returns The public key component of the `spkac` data structure, - * which includes a public key and a challenge. - */ - exportPublicKey(spkac: BinaryLike, encoding?: string): Buffer; - /** - * @deprecated - * @param spkac - * @returns `true` if the given `spkac` data structure is valid, - * `false` otherwise. - */ - verifySpkac(spkac: NodeJS.ArrayBufferView): boolean; - } - namespace constants { - // https://nodejs.org/dist/latest-v20.x/docs/api/crypto.html#crypto-constants - const OPENSSL_VERSION_NUMBER: number; - /** Applies multiple bug workarounds within OpenSSL. See https://www.openssl.org/docs/man1.0.2/ssl/SSL_CTX_set_options.html for detail. */ - const SSL_OP_ALL: number; - /** Instructs OpenSSL to allow a non-[EC]DHE-based key exchange mode for TLS v1.3 */ - const SSL_OP_ALLOW_NO_DHE_KEX: number; - /** Allows legacy insecure renegotiation between OpenSSL and unpatched clients or servers. See https://www.openssl.org/docs/man1.0.2/ssl/SSL_CTX_set_options.html. */ - const SSL_OP_ALLOW_UNSAFE_LEGACY_RENEGOTIATION: number; - /** Attempts to use the server's preferences instead of the client's when selecting a cipher. See https://www.openssl.org/docs/man1.0.2/ssl/SSL_CTX_set_options.html. */ - const SSL_OP_CIPHER_SERVER_PREFERENCE: number; - /** Instructs OpenSSL to use Cisco's "speshul" version of DTLS_BAD_VER. */ - const SSL_OP_CISCO_ANYCONNECT: number; - /** Instructs OpenSSL to turn on cookie exchange. */ - const SSL_OP_COOKIE_EXCHANGE: number; - /** Instructs OpenSSL to add server-hello extension from an early version of the cryptopro draft. */ - const SSL_OP_CRYPTOPRO_TLSEXT_BUG: number; - /** Instructs OpenSSL to disable a SSL 3.0/TLS 1.0 vulnerability workaround added in OpenSSL 0.9.6d. */ - const SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS: number; - /** Allows initial connection to servers that do not support RI. */ - const SSL_OP_LEGACY_SERVER_CONNECT: number; - /** Instructs OpenSSL to disable support for SSL/TLS compression. */ - const SSL_OP_NO_COMPRESSION: number; - /** Instructs OpenSSL to disable encrypt-then-MAC. */ - const SSL_OP_NO_ENCRYPT_THEN_MAC: number; - const SSL_OP_NO_QUERY_MTU: number; - /** Instructs OpenSSL to disable renegotiation. */ - const SSL_OP_NO_RENEGOTIATION: number; - /** Instructs OpenSSL to always start a new session when performing renegotiation. */ - const SSL_OP_NO_SESSION_RESUMPTION_ON_RENEGOTIATION: number; - /** Instructs OpenSSL to turn off SSL v2 */ - const SSL_OP_NO_SSLv2: number; - /** Instructs OpenSSL to turn off SSL v3 */ - const SSL_OP_NO_SSLv3: number; - /** Instructs OpenSSL to disable use of RFC4507bis tickets. */ - const SSL_OP_NO_TICKET: number; - /** Instructs OpenSSL to turn off TLS v1 */ - const SSL_OP_NO_TLSv1: number; - /** Instructs OpenSSL to turn off TLS v1.1 */ - const SSL_OP_NO_TLSv1_1: number; - /** Instructs OpenSSL to turn off TLS v1.2 */ - const SSL_OP_NO_TLSv1_2: number; - /** Instructs OpenSSL to turn off TLS v1.3 */ - const SSL_OP_NO_TLSv1_3: number; - /** Instructs OpenSSL server to prioritize ChaCha20-Poly1305 when the client does. This option has no effect if `SSL_OP_CIPHER_SERVER_PREFERENCE` is not enabled. */ - const SSL_OP_PRIORITIZE_CHACHA: number; - /** Instructs OpenSSL to disable version rollback attack detection. */ - const SSL_OP_TLS_ROLLBACK_BUG: number; - const ENGINE_METHOD_RSA: number; - const ENGINE_METHOD_DSA: number; - const ENGINE_METHOD_DH: number; - const ENGINE_METHOD_RAND: number; - const ENGINE_METHOD_EC: number; - const ENGINE_METHOD_CIPHERS: number; - const ENGINE_METHOD_DIGESTS: number; - const ENGINE_METHOD_PKEY_METHS: number; - const ENGINE_METHOD_PKEY_ASN1_METHS: number; - const ENGINE_METHOD_ALL: number; - const ENGINE_METHOD_NONE: number; - const DH_CHECK_P_NOT_SAFE_PRIME: number; - const DH_CHECK_P_NOT_PRIME: number; - const DH_UNABLE_TO_CHECK_GENERATOR: number; - const DH_NOT_SUITABLE_GENERATOR: number; - const RSA_PKCS1_PADDING: number; - const RSA_SSLV23_PADDING: number; - const RSA_NO_PADDING: number; - const RSA_PKCS1_OAEP_PADDING: number; - const RSA_X931_PADDING: number; - const RSA_PKCS1_PSS_PADDING: number; - /** Sets the salt length for RSA_PKCS1_PSS_PADDING to the digest size when signing or verifying. */ - const RSA_PSS_SALTLEN_DIGEST: number; - /** Sets the salt length for RSA_PKCS1_PSS_PADDING to the maximum permissible value when signing data. */ - const RSA_PSS_SALTLEN_MAX_SIGN: number; - /** Causes the salt length for RSA_PKCS1_PSS_PADDING to be determined automatically when verifying a signature. */ - const RSA_PSS_SALTLEN_AUTO: number; - const POINT_CONVERSION_COMPRESSED: number; - const POINT_CONVERSION_UNCOMPRESSED: number; - const POINT_CONVERSION_HYBRID: number; - /** Specifies the built-in default cipher list used by Node.js (colon-separated values). */ - const defaultCoreCipherList: string; - /** Specifies the active default cipher list used by the current Node.js process (colon-separated values). */ - const defaultCipherList: string; - } - interface HashOptions extends stream.TransformOptions { - /** - * For XOF hash functions such as `shake256`, the - * outputLength option can be used to specify the desired output length in bytes. - */ - outputLength?: number | undefined; - } - /** @deprecated since v10.0.0 */ - const fips: boolean; - /** - * Creates and returns a `Hash` object that can be used to generate hash digests - * using the given `algorithm`. Optional `options` argument controls stream - * behavior. For XOF hash functions such as `'shake256'`, the `outputLength` option - * can be used to specify the desired output length in bytes. - * - * The `algorithm` is dependent on the available algorithms supported by the - * version of OpenSSL on the platform. Examples are `'sha256'`, `'sha512'`, etc. - * On recent releases of OpenSSL, `openssl list -digest-algorithms` will - * display the available digest algorithms. - * - * Example: generating the sha256 sum of a file - * - * ```js - * import { - * createReadStream, - * } from 'node:fs'; - * import { argv } from 'node:process'; - * const { - * createHash, - * } = await import('node:crypto'); - * - * const filename = argv[2]; - * - * const hash = createHash('sha256'); - * - * const input = createReadStream(filename); - * input.on('readable', () => { - * // Only one element is going to be produced by the - * // hash stream. - * const data = input.read(); - * if (data) - * hash.update(data); - * else { - * console.log(`${hash.digest('hex')} ${filename}`); - * } - * }); - * ``` - * @since v0.1.92 - * @param options `stream.transform` options - */ - function createHash(algorithm: string, options?: HashOptions): Hash; - /** - * Creates and returns an `Hmac` object that uses the given `algorithm` and `key`. - * Optional `options` argument controls stream behavior. - * - * The `algorithm` is dependent on the available algorithms supported by the - * version of OpenSSL on the platform. Examples are `'sha256'`, `'sha512'`, etc. - * On recent releases of OpenSSL, `openssl list -digest-algorithms` will - * display the available digest algorithms. - * - * The `key` is the HMAC key used to generate the cryptographic HMAC hash. If it is - * a `KeyObject`, its type must be `secret`. If it is a string, please consider `caveats when using strings as inputs to cryptographic APIs`. If it was - * obtained from a cryptographically secure source of entropy, such as {@link randomBytes} or {@link generateKey}, its length should not - * exceed the block size of `algorithm` (e.g., 512 bits for SHA-256). - * - * Example: generating the sha256 HMAC of a file - * - * ```js - * import { - * createReadStream, - * } from 'node:fs'; - * import { argv } from 'node:process'; - * const { - * createHmac, - * } = await import('node:crypto'); - * - * const filename = argv[2]; - * - * const hmac = createHmac('sha256', 'a secret'); - * - * const input = createReadStream(filename); - * input.on('readable', () => { - * // Only one element is going to be produced by the - * // hash stream. - * const data = input.read(); - * if (data) - * hmac.update(data); - * else { - * console.log(`${hmac.digest('hex')} ${filename}`); - * } - * }); - * ``` - * @since v0.1.94 - * @param options `stream.transform` options - */ - function createHmac(algorithm: string, key: BinaryLike | KeyObject, options?: stream.TransformOptions): Hmac; - // https://nodejs.org/api/buffer.html#buffer_buffers_and_character_encodings - type BinaryToTextEncoding = "base64" | "base64url" | "hex" | "binary"; - type CharacterEncoding = "utf8" | "utf-8" | "utf16le" | "utf-16le" | "latin1"; - type LegacyCharacterEncoding = "ascii" | "binary" | "ucs2" | "ucs-2"; - type Encoding = BinaryToTextEncoding | CharacterEncoding | LegacyCharacterEncoding; - type ECDHKeyFormat = "compressed" | "uncompressed" | "hybrid"; - /** - * The `Hash` class is a utility for creating hash digests of data. It can be - * used in one of two ways: - * - * * As a `stream` that is both readable and writable, where data is written - * to produce a computed hash digest on the readable side, or - * * Using the `hash.update()` and `hash.digest()` methods to produce the - * computed hash. - * - * The {@link createHash} method is used to create `Hash` instances. `Hash`objects are not to be created directly using the `new` keyword. - * - * Example: Using `Hash` objects as streams: - * - * ```js - * const { - * createHash, - * } = await import('node:crypto'); - * - * const hash = createHash('sha256'); - * - * hash.on('readable', () => { - * // Only one element is going to be produced by the - * // hash stream. - * const data = hash.read(); - * if (data) { - * console.log(data.toString('hex')); - * // Prints: - * // 6a2da20943931e9834fc12cfe5bb47bbd9ae43489a30726962b576f4e3993e50 - * } - * }); - * - * hash.write('some data to hash'); - * hash.end(); - * ``` - * - * Example: Using `Hash` and piped streams: - * - * ```js - * import { createReadStream } from 'node:fs'; - * import { stdout } from 'node:process'; - * const { createHash } = await import('node:crypto'); - * - * const hash = createHash('sha256'); - * - * const input = createReadStream('test.js'); - * input.pipe(hash).setEncoding('hex').pipe(stdout); - * ``` - * - * Example: Using the `hash.update()` and `hash.digest()` methods: - * - * ```js - * const { - * createHash, - * } = await import('node:crypto'); - * - * const hash = createHash('sha256'); - * - * hash.update('some data to hash'); - * console.log(hash.digest('hex')); - * // Prints: - * // 6a2da20943931e9834fc12cfe5bb47bbd9ae43489a30726962b576f4e3993e50 - * ``` - * @since v0.1.92 - */ - class Hash extends stream.Transform { - private constructor(); - /** - * Creates a new `Hash` object that contains a deep copy of the internal state - * of the current `Hash` object. - * - * The optional `options` argument controls stream behavior. For XOF hash - * functions such as `'shake256'`, the `outputLength` option can be used to - * specify the desired output length in bytes. - * - * An error is thrown when an attempt is made to copy the `Hash` object after - * its `hash.digest()` method has been called. - * - * ```js - * // Calculate a rolling hash. - * const { - * createHash, - * } = await import('node:crypto'); - * - * const hash = createHash('sha256'); - * - * hash.update('one'); - * console.log(hash.copy().digest('hex')); - * - * hash.update('two'); - * console.log(hash.copy().digest('hex')); - * - * hash.update('three'); - * console.log(hash.copy().digest('hex')); - * - * // Etc. - * ``` - * @since v13.1.0 - * @param options `stream.transform` options - */ - copy(options?: HashOptions): Hash; - /** - * Updates the hash content with the given `data`, the encoding of which - * is given in `inputEncoding`. - * If `encoding` is not provided, and the `data` is a string, an - * encoding of `'utf8'` is enforced. If `data` is a `Buffer`, `TypedArray`, or`DataView`, then `inputEncoding` is ignored. - * - * This can be called many times with new data as it is streamed. - * @since v0.1.92 - * @param inputEncoding The `encoding` of the `data` string. - */ - update(data: BinaryLike): Hash; - update(data: string, inputEncoding: Encoding): Hash; - /** - * Calculates the digest of all of the data passed to be hashed (using the `hash.update()` method). - * If `encoding` is provided a string will be returned; otherwise - * a `Buffer` is returned. - * - * The `Hash` object can not be used again after `hash.digest()` method has been - * called. Multiple calls will cause an error to be thrown. - * @since v0.1.92 - * @param encoding The `encoding` of the return value. - */ - digest(): Buffer; - digest(encoding: BinaryToTextEncoding): string; - } - /** - * The `Hmac` class is a utility for creating cryptographic HMAC digests. It can - * be used in one of two ways: - * - * * As a `stream` that is both readable and writable, where data is written - * to produce a computed HMAC digest on the readable side, or - * * Using the `hmac.update()` and `hmac.digest()` methods to produce the - * computed HMAC digest. - * - * The {@link createHmac} method is used to create `Hmac` instances. `Hmac`objects are not to be created directly using the `new` keyword. - * - * Example: Using `Hmac` objects as streams: - * - * ```js - * const { - * createHmac, - * } = await import('node:crypto'); - * - * const hmac = createHmac('sha256', 'a secret'); - * - * hmac.on('readable', () => { - * // Only one element is going to be produced by the - * // hash stream. - * const data = hmac.read(); - * if (data) { - * console.log(data.toString('hex')); - * // Prints: - * // 7fd04df92f636fd450bc841c9418e5825c17f33ad9c87c518115a45971f7f77e - * } - * }); - * - * hmac.write('some data to hash'); - * hmac.end(); - * ``` - * - * Example: Using `Hmac` and piped streams: - * - * ```js - * import { createReadStream } from 'node:fs'; - * import { stdout } from 'node:process'; - * const { - * createHmac, - * } = await import('node:crypto'); - * - * const hmac = createHmac('sha256', 'a secret'); - * - * const input = createReadStream('test.js'); - * input.pipe(hmac).pipe(stdout); - * ``` - * - * Example: Using the `hmac.update()` and `hmac.digest()` methods: - * - * ```js - * const { - * createHmac, - * } = await import('node:crypto'); - * - * const hmac = createHmac('sha256', 'a secret'); - * - * hmac.update('some data to hash'); - * console.log(hmac.digest('hex')); - * // Prints: - * // 7fd04df92f636fd450bc841c9418e5825c17f33ad9c87c518115a45971f7f77e - * ``` - * @since v0.1.94 - */ - class Hmac extends stream.Transform { - private constructor(); - /** - * Updates the `Hmac` content with the given `data`, the encoding of which - * is given in `inputEncoding`. - * If `encoding` is not provided, and the `data` is a string, an - * encoding of `'utf8'` is enforced. If `data` is a `Buffer`, `TypedArray`, or`DataView`, then `inputEncoding` is ignored. - * - * This can be called many times with new data as it is streamed. - * @since v0.1.94 - * @param inputEncoding The `encoding` of the `data` string. - */ - update(data: BinaryLike): Hmac; - update(data: string, inputEncoding: Encoding): Hmac; - /** - * Calculates the HMAC digest of all of the data passed using `hmac.update()`. - * If `encoding` is - * provided a string is returned; otherwise a `Buffer` is returned; - * - * The `Hmac` object can not be used again after `hmac.digest()` has been - * called. Multiple calls to `hmac.digest()` will result in an error being thrown. - * @since v0.1.94 - * @param encoding The `encoding` of the return value. - */ - digest(): Buffer; - digest(encoding: BinaryToTextEncoding): string; - } - type KeyObjectType = "secret" | "public" | "private"; - interface KeyExportOptions { - type: "pkcs1" | "spki" | "pkcs8" | "sec1"; - format: T; - cipher?: string | undefined; - passphrase?: string | Buffer | undefined; - } - interface JwkKeyExportOptions { - format: "jwk"; - } - interface JsonWebKey { - crv?: string | undefined; - d?: string | undefined; - dp?: string | undefined; - dq?: string | undefined; - e?: string | undefined; - k?: string | undefined; - kty?: string | undefined; - n?: string | undefined; - p?: string | undefined; - q?: string | undefined; - qi?: string | undefined; - x?: string | undefined; - y?: string | undefined; - [key: string]: unknown; - } - interface AsymmetricKeyDetails { - /** - * Key size in bits (RSA, DSA). - */ - modulusLength?: number | undefined; - /** - * Public exponent (RSA). - */ - publicExponent?: bigint | undefined; - /** - * Name of the message digest (RSA-PSS). - */ - hashAlgorithm?: string | undefined; - /** - * Name of the message digest used by MGF1 (RSA-PSS). - */ - mgf1HashAlgorithm?: string | undefined; - /** - * Minimal salt length in bytes (RSA-PSS). - */ - saltLength?: number | undefined; - /** - * Size of q in bits (DSA). - */ - divisorLength?: number | undefined; - /** - * Name of the curve (EC). - */ - namedCurve?: string | undefined; - } - /** - * Node.js uses a `KeyObject` class to represent a symmetric or asymmetric key, - * and each kind of key exposes different functions. The {@link createSecretKey}, {@link createPublicKey} and {@link createPrivateKey} methods are used to create `KeyObject`instances. `KeyObject` - * objects are not to be created directly using the `new`keyword. - * - * Most applications should consider using the new `KeyObject` API instead of - * passing keys as strings or `Buffer`s due to improved security features. - * - * `KeyObject` instances can be passed to other threads via `postMessage()`. - * The receiver obtains a cloned `KeyObject`, and the `KeyObject` does not need to - * be listed in the `transferList` argument. - * @since v11.6.0 - */ - class KeyObject { - private constructor(); - /** - * Example: Converting a `CryptoKey` instance to a `KeyObject`: - * - * ```js - * const { KeyObject } = await import('node:crypto'); - * const { subtle } = globalThis.crypto; - * - * const key = await subtle.generateKey({ - * name: 'HMAC', - * hash: 'SHA-256', - * length: 256, - * }, true, ['sign', 'verify']); - * - * const keyObject = KeyObject.from(key); - * console.log(keyObject.symmetricKeySize); - * // Prints: 32 (symmetric key size in bytes) - * ``` - * @since v15.0.0 - */ - static from(key: webcrypto.CryptoKey): KeyObject; - /** - * For asymmetric keys, this property represents the type of the key. Supported key - * types are: - * - * * `'rsa'` (OID 1.2.840.113549.1.1.1) - * * `'rsa-pss'` (OID 1.2.840.113549.1.1.10) - * * `'dsa'` (OID 1.2.840.10040.4.1) - * * `'ec'` (OID 1.2.840.10045.2.1) - * * `'x25519'` (OID 1.3.101.110) - * * `'x448'` (OID 1.3.101.111) - * * `'ed25519'` (OID 1.3.101.112) - * * `'ed448'` (OID 1.3.101.113) - * * `'dh'` (OID 1.2.840.113549.1.3.1) - * - * This property is `undefined` for unrecognized `KeyObject` types and symmetric - * keys. - * @since v11.6.0 - */ - asymmetricKeyType?: KeyType | undefined; - /** - * For asymmetric keys, this property represents the size of the embedded key in - * bytes. This property is `undefined` for symmetric keys. - */ - asymmetricKeySize?: number | undefined; - /** - * This property exists only on asymmetric keys. Depending on the type of the key, - * this object contains information about the key. None of the information obtained - * through this property can be used to uniquely identify a key or to compromise - * the security of the key. - * - * For RSA-PSS keys, if the key material contains a `RSASSA-PSS-params` sequence, - * the `hashAlgorithm`, `mgf1HashAlgorithm`, and `saltLength` properties will be - * set. - * - * Other key details might be exposed via this API using additional attributes. - * @since v15.7.0 - */ - asymmetricKeyDetails?: AsymmetricKeyDetails | undefined; - /** - * For symmetric keys, the following encoding options can be used: - * - * For public keys, the following encoding options can be used: - * - * For private keys, the following encoding options can be used: - * - * The result type depends on the selected encoding format, when PEM the - * result is a string, when DER it will be a buffer containing the data - * encoded as DER, when [JWK](https://tools.ietf.org/html/rfc7517) it will be an object. - * - * When [JWK](https://tools.ietf.org/html/rfc7517) encoding format was selected, all other encoding options are - * ignored. - * - * PKCS#1, SEC1, and PKCS#8 type keys can be encrypted by using a combination of - * the `cipher` and `format` options. The PKCS#8 `type` can be used with any`format` to encrypt any key algorithm (RSA, EC, or DH) by specifying a`cipher`. PKCS#1 and SEC1 can only be - * encrypted by specifying a `cipher`when the PEM `format` is used. For maximum compatibility, use PKCS#8 for - * encrypted private keys. Since PKCS#8 defines its own - * encryption mechanism, PEM-level encryption is not supported when encrypting - * a PKCS#8 key. See [RFC 5208](https://www.rfc-editor.org/rfc/rfc5208.txt) for PKCS#8 encryption and [RFC 1421](https://www.rfc-editor.org/rfc/rfc1421.txt) for - * PKCS#1 and SEC1 encryption. - * @since v11.6.0 - */ - export(options: KeyExportOptions<"pem">): string | Buffer; - export(options?: KeyExportOptions<"der">): Buffer; - export(options?: JwkKeyExportOptions): JsonWebKey; - /** - * Returns `true` or `false` depending on whether the keys have exactly the same - * type, value, and parameters. This method is not [constant time](https://en.wikipedia.org/wiki/Timing_attack). - * @since v17.7.0, v16.15.0 - * @param otherKeyObject A `KeyObject` with which to compare `keyObject`. - */ - equals(otherKeyObject: KeyObject): boolean; - /** - * For secret keys, this property represents the size of the key in bytes. This - * property is `undefined` for asymmetric keys. - * @since v11.6.0 - */ - symmetricKeySize?: number | undefined; - /** - * Depending on the type of this `KeyObject`, this property is either`'secret'` for secret (symmetric) keys, `'public'` for public (asymmetric) keys - * or `'private'` for private (asymmetric) keys. - * @since v11.6.0 - */ - type: KeyObjectType; - } - type CipherCCMTypes = "aes-128-ccm" | "aes-192-ccm" | "aes-256-ccm" | "chacha20-poly1305"; - type CipherGCMTypes = "aes-128-gcm" | "aes-192-gcm" | "aes-256-gcm"; - type CipherOCBTypes = "aes-128-ocb" | "aes-192-ocb" | "aes-256-ocb"; - type BinaryLike = string | NodeJS.ArrayBufferView; - type CipherKey = BinaryLike | KeyObject; - interface CipherCCMOptions extends stream.TransformOptions { - authTagLength: number; - } - interface CipherGCMOptions extends stream.TransformOptions { - authTagLength?: number | undefined; - } - interface CipherOCBOptions extends stream.TransformOptions { - authTagLength: number; - } - /** - * Creates and returns a `Cipher` object that uses the given `algorithm` and`password`. - * - * The `options` argument controls stream behavior and is optional except when a - * cipher in CCM or OCB mode (e.g. `'aes-128-ccm'`) is used. In that case, the`authTagLength` option is required and specifies the length of the - * authentication tag in bytes, see `CCM mode`. In GCM mode, the `authTagLength`option is not required but can be used to set the length of the authentication - * tag that will be returned by `getAuthTag()` and defaults to 16 bytes. - * For `chacha20-poly1305`, the `authTagLength` option defaults to 16 bytes. - * - * The `algorithm` is dependent on OpenSSL, examples are `'aes192'`, etc. On - * recent OpenSSL releases, `openssl list -cipher-algorithms` will - * display the available cipher algorithms. - * - * The `password` is used to derive the cipher key and initialization vector (IV). - * The value must be either a `'latin1'` encoded string, a `Buffer`, a`TypedArray`, or a `DataView`. - * - * **This function is semantically insecure for all** - * **supported ciphers and fatally flawed for ciphers in counter mode (such as CTR,** - * **GCM, or CCM).** - * - * The implementation of `crypto.createCipher()` derives keys using the OpenSSL - * function [`EVP_BytesToKey`](https://www.openssl.org/docs/man3.0/man3/EVP_BytesToKey.html) with the digest algorithm set to MD5, one - * iteration, and no salt. The lack of salt allows dictionary attacks as the same - * password always creates the same key. The low iteration count and - * non-cryptographically secure hash algorithm allow passwords to be tested very - * rapidly. - * - * In line with OpenSSL's recommendation to use a more modern algorithm instead of [`EVP_BytesToKey`](https://www.openssl.org/docs/man3.0/man3/EVP_BytesToKey.html) it is recommended that - * developers derive a key and IV on - * their own using {@link scrypt} and to use {@link createCipheriv} to create the `Cipher` object. Users should not use ciphers with counter mode - * (e.g. CTR, GCM, or CCM) in `crypto.createCipher()`. A warning is emitted when - * they are used in order to avoid the risk of IV reuse that causes - * vulnerabilities. For the case when IV is reused in GCM, see [Nonce-Disrespecting Adversaries](https://github.com/nonce-disrespect/nonce-disrespect) for details. - * @since v0.1.94 - * @deprecated Since v10.0.0 - Use {@link createCipheriv} instead. - * @param options `stream.transform` options - */ - function createCipher(algorithm: CipherCCMTypes, password: BinaryLike, options: CipherCCMOptions): CipherCCM; - /** @deprecated since v10.0.0 use `createCipheriv()` */ - function createCipher(algorithm: CipherGCMTypes, password: BinaryLike, options?: CipherGCMOptions): CipherGCM; - /** @deprecated since v10.0.0 use `createCipheriv()` */ - function createCipher(algorithm: string, password: BinaryLike, options?: stream.TransformOptions): Cipher; - /** - * Creates and returns a `Cipher` object, with the given `algorithm`, `key` and - * initialization vector (`iv`). - * - * The `options` argument controls stream behavior and is optional except when a - * cipher in CCM or OCB mode (e.g. `'aes-128-ccm'`) is used. In that case, the`authTagLength` option is required and specifies the length of the - * authentication tag in bytes, see `CCM mode`. In GCM mode, the `authTagLength`option is not required but can be used to set the length of the authentication - * tag that will be returned by `getAuthTag()` and defaults to 16 bytes. - * For `chacha20-poly1305`, the `authTagLength` option defaults to 16 bytes. - * - * The `algorithm` is dependent on OpenSSL, examples are `'aes192'`, etc. On - * recent OpenSSL releases, `openssl list -cipher-algorithms` will - * display the available cipher algorithms. - * - * The `key` is the raw key used by the `algorithm` and `iv` is an [initialization vector](https://en.wikipedia.org/wiki/Initialization_vector). Both arguments must be `'utf8'` encoded - * strings,`Buffers`, `TypedArray`, or `DataView`s. The `key` may optionally be - * a `KeyObject` of type `secret`. If the cipher does not need - * an initialization vector, `iv` may be `null`. - * - * When passing strings for `key` or `iv`, please consider `caveats when using strings as inputs to cryptographic APIs`. - * - * Initialization vectors should be unpredictable and unique; ideally, they will be - * cryptographically random. They do not have to be secret: IVs are typically just - * added to ciphertext messages unencrypted. It may sound contradictory that - * something has to be unpredictable and unique, but does not have to be secret; - * remember that an attacker must not be able to predict ahead of time what a - * given IV will be. - * @since v0.1.94 - * @param options `stream.transform` options - */ - function createCipheriv( - algorithm: CipherCCMTypes, - key: CipherKey, - iv: BinaryLike, - options: CipherCCMOptions, - ): CipherCCM; - function createCipheriv( - algorithm: CipherOCBTypes, - key: CipherKey, - iv: BinaryLike, - options: CipherOCBOptions, - ): CipherOCB; - function createCipheriv( - algorithm: CipherGCMTypes, - key: CipherKey, - iv: BinaryLike, - options?: CipherGCMOptions, - ): CipherGCM; - function createCipheriv( - algorithm: string, - key: CipherKey, - iv: BinaryLike | null, - options?: stream.TransformOptions, - ): Cipher; - /** - * Instances of the `Cipher` class are used to encrypt data. The class can be - * used in one of two ways: - * - * * As a `stream` that is both readable and writable, where plain unencrypted - * data is written to produce encrypted data on the readable side, or - * * Using the `cipher.update()` and `cipher.final()` methods to produce - * the encrypted data. - * - * The {@link createCipher} or {@link createCipheriv} methods are - * used to create `Cipher` instances. `Cipher` objects are not to be created - * directly using the `new` keyword. - * - * Example: Using `Cipher` objects as streams: - * - * ```js - * const { - * scrypt, - * randomFill, - * createCipheriv, - * } = await import('node:crypto'); - * - * const algorithm = 'aes-192-cbc'; - * const password = 'Password used to generate key'; - * - * // First, we'll generate the key. The key length is dependent on the algorithm. - * // In this case for aes192, it is 24 bytes (192 bits). - * scrypt(password, 'salt', 24, (err, key) => { - * if (err) throw err; - * // Then, we'll generate a random initialization vector - * randomFill(new Uint8Array(16), (err, iv) => { - * if (err) throw err; - * - * // Once we have the key and iv, we can create and use the cipher... - * const cipher = createCipheriv(algorithm, key, iv); - * - * let encrypted = ''; - * cipher.setEncoding('hex'); - * - * cipher.on('data', (chunk) => encrypted += chunk); - * cipher.on('end', () => console.log(encrypted)); - * - * cipher.write('some clear text data'); - * cipher.end(); - * }); - * }); - * ``` - * - * Example: Using `Cipher` and piped streams: - * - * ```js - * import { - * createReadStream, - * createWriteStream, - * } from 'node:fs'; - * - * import { - * pipeline, - * } from 'node:stream'; - * - * const { - * scrypt, - * randomFill, - * createCipheriv, - * } = await import('node:crypto'); - * - * const algorithm = 'aes-192-cbc'; - * const password = 'Password used to generate key'; - * - * // First, we'll generate the key. The key length is dependent on the algorithm. - * // In this case for aes192, it is 24 bytes (192 bits). - * scrypt(password, 'salt', 24, (err, key) => { - * if (err) throw err; - * // Then, we'll generate a random initialization vector - * randomFill(new Uint8Array(16), (err, iv) => { - * if (err) throw err; - * - * const cipher = createCipheriv(algorithm, key, iv); - * - * const input = createReadStream('test.js'); - * const output = createWriteStream('test.enc'); - * - * pipeline(input, cipher, output, (err) => { - * if (err) throw err; - * }); - * }); - * }); - * ``` - * - * Example: Using the `cipher.update()` and `cipher.final()` methods: - * - * ```js - * const { - * scrypt, - * randomFill, - * createCipheriv, - * } = await import('node:crypto'); - * - * const algorithm = 'aes-192-cbc'; - * const password = 'Password used to generate key'; - * - * // First, we'll generate the key. The key length is dependent on the algorithm. - * // In this case for aes192, it is 24 bytes (192 bits). - * scrypt(password, 'salt', 24, (err, key) => { - * if (err) throw err; - * // Then, we'll generate a random initialization vector - * randomFill(new Uint8Array(16), (err, iv) => { - * if (err) throw err; - * - * const cipher = createCipheriv(algorithm, key, iv); - * - * let encrypted = cipher.update('some clear text data', 'utf8', 'hex'); - * encrypted += cipher.final('hex'); - * console.log(encrypted); - * }); - * }); - * ``` - * @since v0.1.94 - */ - class Cipher extends stream.Transform { - private constructor(); - /** - * Updates the cipher with `data`. If the `inputEncoding` argument is given, - * the `data`argument is a string using the specified encoding. If the `inputEncoding`argument is not given, `data` must be a `Buffer`, `TypedArray`, or`DataView`. If `data` is a `Buffer`, - * `TypedArray`, or `DataView`, then`inputEncoding` is ignored. - * - * The `outputEncoding` specifies the output format of the enciphered - * data. If the `outputEncoding`is specified, a string using the specified encoding is returned. If no`outputEncoding` is provided, a `Buffer` is returned. - * - * The `cipher.update()` method can be called multiple times with new data until `cipher.final()` is called. Calling `cipher.update()` after `cipher.final()` will result in an error being - * thrown. - * @since v0.1.94 - * @param inputEncoding The `encoding` of the data. - * @param outputEncoding The `encoding` of the return value. - */ - update(data: BinaryLike): Buffer; - update(data: string, inputEncoding: Encoding): Buffer; - update(data: NodeJS.ArrayBufferView, inputEncoding: undefined, outputEncoding: Encoding): string; - update(data: string, inputEncoding: Encoding | undefined, outputEncoding: Encoding): string; - /** - * Once the `cipher.final()` method has been called, the `Cipher` object can no - * longer be used to encrypt data. Attempts to call `cipher.final()` more than - * once will result in an error being thrown. - * @since v0.1.94 - * @param outputEncoding The `encoding` of the return value. - * @return Any remaining enciphered contents. If `outputEncoding` is specified, a string is returned. If an `outputEncoding` is not provided, a {@link Buffer} is returned. - */ - final(): Buffer; - final(outputEncoding: BufferEncoding): string; - /** - * When using block encryption algorithms, the `Cipher` class will automatically - * add padding to the input data to the appropriate block size. To disable the - * default padding call `cipher.setAutoPadding(false)`. - * - * When `autoPadding` is `false`, the length of the entire input data must be a - * multiple of the cipher's block size or `cipher.final()` will throw an error. - * Disabling automatic padding is useful for non-standard padding, for instance - * using `0x0` instead of PKCS padding. - * - * The `cipher.setAutoPadding()` method must be called before `cipher.final()`. - * @since v0.7.1 - * @param [autoPadding=true] - * @return for method chaining. - */ - setAutoPadding(autoPadding?: boolean): this; - } - interface CipherCCM extends Cipher { - setAAD( - buffer: NodeJS.ArrayBufferView, - options: { - plaintextLength: number; - }, - ): this; - getAuthTag(): Buffer; - } - interface CipherGCM extends Cipher { - setAAD( - buffer: NodeJS.ArrayBufferView, - options?: { - plaintextLength: number; - }, - ): this; - getAuthTag(): Buffer; - } - interface CipherOCB extends Cipher { - setAAD( - buffer: NodeJS.ArrayBufferView, - options?: { - plaintextLength: number; - }, - ): this; - getAuthTag(): Buffer; - } - /** - * Creates and returns a `Decipher` object that uses the given `algorithm` and`password` (key). - * - * The `options` argument controls stream behavior and is optional except when a - * cipher in CCM or OCB mode (e.g. `'aes-128-ccm'`) is used. In that case, the`authTagLength` option is required and specifies the length of the - * authentication tag in bytes, see `CCM mode`. - * For `chacha20-poly1305`, the `authTagLength` option defaults to 16 bytes. - * - * **This function is semantically insecure for all** - * **supported ciphers and fatally flawed for ciphers in counter mode (such as CTR,** - * **GCM, or CCM).** - * - * The implementation of `crypto.createDecipher()` derives keys using the OpenSSL - * function [`EVP_BytesToKey`](https://www.openssl.org/docs/man3.0/man3/EVP_BytesToKey.html) with the digest algorithm set to MD5, one - * iteration, and no salt. The lack of salt allows dictionary attacks as the same - * password always creates the same key. The low iteration count and - * non-cryptographically secure hash algorithm allow passwords to be tested very - * rapidly. - * - * In line with OpenSSL's recommendation to use a more modern algorithm instead of [`EVP_BytesToKey`](https://www.openssl.org/docs/man3.0/man3/EVP_BytesToKey.html) it is recommended that - * developers derive a key and IV on - * their own using {@link scrypt} and to use {@link createDecipheriv} to create the `Decipher` object. - * @since v0.1.94 - * @deprecated Since v10.0.0 - Use {@link createDecipheriv} instead. - * @param options `stream.transform` options - */ - function createDecipher(algorithm: CipherCCMTypes, password: BinaryLike, options: CipherCCMOptions): DecipherCCM; - /** @deprecated since v10.0.0 use `createDecipheriv()` */ - function createDecipher(algorithm: CipherGCMTypes, password: BinaryLike, options?: CipherGCMOptions): DecipherGCM; - /** @deprecated since v10.0.0 use `createDecipheriv()` */ - function createDecipher(algorithm: string, password: BinaryLike, options?: stream.TransformOptions): Decipher; - /** - * Creates and returns a `Decipher` object that uses the given `algorithm`, `key`and initialization vector (`iv`). - * - * The `options` argument controls stream behavior and is optional except when a - * cipher in CCM or OCB mode (e.g. `'aes-128-ccm'`) is used. In that case, the`authTagLength` option is required and specifies the length of the - * authentication tag in bytes, see `CCM mode`. In GCM mode, the `authTagLength`option is not required but can be used to restrict accepted authentication tags - * to those with the specified length. - * For `chacha20-poly1305`, the `authTagLength` option defaults to 16 bytes. - * - * The `algorithm` is dependent on OpenSSL, examples are `'aes192'`, etc. On - * recent OpenSSL releases, `openssl list -cipher-algorithms` will - * display the available cipher algorithms. - * - * The `key` is the raw key used by the `algorithm` and `iv` is an [initialization vector](https://en.wikipedia.org/wiki/Initialization_vector). Both arguments must be `'utf8'` encoded - * strings,`Buffers`, `TypedArray`, or `DataView`s. The `key` may optionally be - * a `KeyObject` of type `secret`. If the cipher does not need - * an initialization vector, `iv` may be `null`. - * - * When passing strings for `key` or `iv`, please consider `caveats when using strings as inputs to cryptographic APIs`. - * - * Initialization vectors should be unpredictable and unique; ideally, they will be - * cryptographically random. They do not have to be secret: IVs are typically just - * added to ciphertext messages unencrypted. It may sound contradictory that - * something has to be unpredictable and unique, but does not have to be secret; - * remember that an attacker must not be able to predict ahead of time what a given - * IV will be. - * @since v0.1.94 - * @param options `stream.transform` options - */ - function createDecipheriv( - algorithm: CipherCCMTypes, - key: CipherKey, - iv: BinaryLike, - options: CipherCCMOptions, - ): DecipherCCM; - function createDecipheriv( - algorithm: CipherOCBTypes, - key: CipherKey, - iv: BinaryLike, - options: CipherOCBOptions, - ): DecipherOCB; - function createDecipheriv( - algorithm: CipherGCMTypes, - key: CipherKey, - iv: BinaryLike, - options?: CipherGCMOptions, - ): DecipherGCM; - function createDecipheriv( - algorithm: string, - key: CipherKey, - iv: BinaryLike | null, - options?: stream.TransformOptions, - ): Decipher; - /** - * Instances of the `Decipher` class are used to decrypt data. The class can be - * used in one of two ways: - * - * * As a `stream` that is both readable and writable, where plain encrypted - * data is written to produce unencrypted data on the readable side, or - * * Using the `decipher.update()` and `decipher.final()` methods to - * produce the unencrypted data. - * - * The {@link createDecipher} or {@link createDecipheriv} methods are - * used to create `Decipher` instances. `Decipher` objects are not to be created - * directly using the `new` keyword. - * - * Example: Using `Decipher` objects as streams: - * - * ```js - * import { Buffer } from 'node:buffer'; - * const { - * scryptSync, - * createDecipheriv, - * } = await import('node:crypto'); - * - * const algorithm = 'aes-192-cbc'; - * const password = 'Password used to generate key'; - * // Key length is dependent on the algorithm. In this case for aes192, it is - * // 24 bytes (192 bits). - * // Use the async `crypto.scrypt()` instead. - * const key = scryptSync(password, 'salt', 24); - * // The IV is usually passed along with the ciphertext. - * const iv = Buffer.alloc(16, 0); // Initialization vector. - * - * const decipher = createDecipheriv(algorithm, key, iv); - * - * let decrypted = ''; - * decipher.on('readable', () => { - * let chunk; - * while (null !== (chunk = decipher.read())) { - * decrypted += chunk.toString('utf8'); - * } - * }); - * decipher.on('end', () => { - * console.log(decrypted); - * // Prints: some clear text data - * }); - * - * // Encrypted with same algorithm, key and iv. - * const encrypted = - * 'e5f79c5915c02171eec6b212d5520d44480993d7d622a7c4c2da32f6efda0ffa'; - * decipher.write(encrypted, 'hex'); - * decipher.end(); - * ``` - * - * Example: Using `Decipher` and piped streams: - * - * ```js - * import { - * createReadStream, - * createWriteStream, - * } from 'node:fs'; - * import { Buffer } from 'node:buffer'; - * const { - * scryptSync, - * createDecipheriv, - * } = await import('node:crypto'); - * - * const algorithm = 'aes-192-cbc'; - * const password = 'Password used to generate key'; - * // Use the async `crypto.scrypt()` instead. - * const key = scryptSync(password, 'salt', 24); - * // The IV is usually passed along with the ciphertext. - * const iv = Buffer.alloc(16, 0); // Initialization vector. - * - * const decipher = createDecipheriv(algorithm, key, iv); - * - * const input = createReadStream('test.enc'); - * const output = createWriteStream('test.js'); - * - * input.pipe(decipher).pipe(output); - * ``` - * - * Example: Using the `decipher.update()` and `decipher.final()` methods: - * - * ```js - * import { Buffer } from 'node:buffer'; - * const { - * scryptSync, - * createDecipheriv, - * } = await import('node:crypto'); - * - * const algorithm = 'aes-192-cbc'; - * const password = 'Password used to generate key'; - * // Use the async `crypto.scrypt()` instead. - * const key = scryptSync(password, 'salt', 24); - * // The IV is usually passed along with the ciphertext. - * const iv = Buffer.alloc(16, 0); // Initialization vector. - * - * const decipher = createDecipheriv(algorithm, key, iv); - * - * // Encrypted using same algorithm, key and iv. - * const encrypted = - * 'e5f79c5915c02171eec6b212d5520d44480993d7d622a7c4c2da32f6efda0ffa'; - * let decrypted = decipher.update(encrypted, 'hex', 'utf8'); - * decrypted += decipher.final('utf8'); - * console.log(decrypted); - * // Prints: some clear text data - * ``` - * @since v0.1.94 - */ - class Decipher extends stream.Transform { - private constructor(); - /** - * Updates the decipher with `data`. If the `inputEncoding` argument is given, - * the `data`argument is a string using the specified encoding. If the `inputEncoding`argument is not given, `data` must be a `Buffer`. If `data` is a `Buffer` then `inputEncoding` is - * ignored. - * - * The `outputEncoding` specifies the output format of the enciphered - * data. If the `outputEncoding`is specified, a string using the specified encoding is returned. If no`outputEncoding` is provided, a `Buffer` is returned. - * - * The `decipher.update()` method can be called multiple times with new data until `decipher.final()` is called. Calling `decipher.update()` after `decipher.final()` will result in an error - * being thrown. - * @since v0.1.94 - * @param inputEncoding The `encoding` of the `data` string. - * @param outputEncoding The `encoding` of the return value. - */ - update(data: NodeJS.ArrayBufferView): Buffer; - update(data: string, inputEncoding: Encoding): Buffer; - update(data: NodeJS.ArrayBufferView, inputEncoding: undefined, outputEncoding: Encoding): string; - update(data: string, inputEncoding: Encoding | undefined, outputEncoding: Encoding): string; - /** - * Once the `decipher.final()` method has been called, the `Decipher` object can - * no longer be used to decrypt data. Attempts to call `decipher.final()` more - * than once will result in an error being thrown. - * @since v0.1.94 - * @param outputEncoding The `encoding` of the return value. - * @return Any remaining deciphered contents. If `outputEncoding` is specified, a string is returned. If an `outputEncoding` is not provided, a {@link Buffer} is returned. - */ - final(): Buffer; - final(outputEncoding: BufferEncoding): string; - /** - * When data has been encrypted without standard block padding, calling`decipher.setAutoPadding(false)` will disable automatic padding to prevent `decipher.final()` from checking for and - * removing padding. - * - * Turning auto padding off will only work if the input data's length is a - * multiple of the ciphers block size. - * - * The `decipher.setAutoPadding()` method must be called before `decipher.final()`. - * @since v0.7.1 - * @param [autoPadding=true] - * @return for method chaining. - */ - setAutoPadding(auto_padding?: boolean): this; - } - interface DecipherCCM extends Decipher { - setAuthTag(buffer: NodeJS.ArrayBufferView): this; - setAAD( - buffer: NodeJS.ArrayBufferView, - options: { - plaintextLength: number; - }, - ): this; - } - interface DecipherGCM extends Decipher { - setAuthTag(buffer: NodeJS.ArrayBufferView): this; - setAAD( - buffer: NodeJS.ArrayBufferView, - options?: { - plaintextLength: number; - }, - ): this; - } - interface DecipherOCB extends Decipher { - setAuthTag(buffer: NodeJS.ArrayBufferView): this; - setAAD( - buffer: NodeJS.ArrayBufferView, - options?: { - plaintextLength: number; - }, - ): this; - } - interface PrivateKeyInput { - key: string | Buffer; - format?: KeyFormat | undefined; - type?: "pkcs1" | "pkcs8" | "sec1" | undefined; - passphrase?: string | Buffer | undefined; - encoding?: string | undefined; - } - interface PublicKeyInput { - key: string | Buffer; - format?: KeyFormat | undefined; - type?: "pkcs1" | "spki" | undefined; - encoding?: string | undefined; - } - /** - * Asynchronously generates a new random secret key of the given `length`. The`type` will determine which validations will be performed on the `length`. - * - * ```js - * const { - * generateKey, - * } = await import('node:crypto'); - * - * generateKey('hmac', { length: 512 }, (err, key) => { - * if (err) throw err; - * console.log(key.export().toString('hex')); // 46e..........620 - * }); - * ``` - * - * The size of a generated HMAC key should not exceed the block size of the - * underlying hash function. See {@link createHmac} for more information. - * @since v15.0.0 - * @param type The intended use of the generated secret key. Currently accepted values are `'hmac'` and `'aes'`. - */ - function generateKey( - type: "hmac" | "aes", - options: { - length: number; - }, - callback: (err: Error | null, key: KeyObject) => void, - ): void; - /** - * Synchronously generates a new random secret key of the given `length`. The`type` will determine which validations will be performed on the `length`. - * - * ```js - * const { - * generateKeySync, - * } = await import('node:crypto'); - * - * const key = generateKeySync('hmac', { length: 512 }); - * console.log(key.export().toString('hex')); // e89..........41e - * ``` - * - * The size of a generated HMAC key should not exceed the block size of the - * underlying hash function. See {@link createHmac} for more information. - * @since v15.0.0 - * @param type The intended use of the generated secret key. Currently accepted values are `'hmac'` and `'aes'`. - */ - function generateKeySync( - type: "hmac" | "aes", - options: { - length: number; - }, - ): KeyObject; - interface JsonWebKeyInput { - key: JsonWebKey; - format: "jwk"; - } - /** - * Creates and returns a new key object containing a private key. If `key` is a - * string or `Buffer`, `format` is assumed to be `'pem'`; otherwise, `key`must be an object with the properties described above. - * - * If the private key is encrypted, a `passphrase` must be specified. The length - * of the passphrase is limited to 1024 bytes. - * @since v11.6.0 - */ - function createPrivateKey(key: PrivateKeyInput | string | Buffer | JsonWebKeyInput): KeyObject; - /** - * Creates and returns a new key object containing a public key. If `key` is a - * string or `Buffer`, `format` is assumed to be `'pem'`; if `key` is a `KeyObject`with type `'private'`, the public key is derived from the given private key; - * otherwise, `key` must be an object with the properties described above. - * - * If the format is `'pem'`, the `'key'` may also be an X.509 certificate. - * - * Because public keys can be derived from private keys, a private key may be - * passed instead of a public key. In that case, this function behaves as if {@link createPrivateKey} had been called, except that the type of the - * returned `KeyObject` will be `'public'` and that the private key cannot be - * extracted from the returned `KeyObject`. Similarly, if a `KeyObject` with type`'private'` is given, a new `KeyObject` with type `'public'` will be returned - * and it will be impossible to extract the private key from the returned object. - * @since v11.6.0 - */ - function createPublicKey(key: PublicKeyInput | string | Buffer | KeyObject | JsonWebKeyInput): KeyObject; - /** - * Creates and returns a new key object containing a secret key for symmetric - * encryption or `Hmac`. - * @since v11.6.0 - * @param encoding The string encoding when `key` is a string. - */ - function createSecretKey(key: NodeJS.ArrayBufferView): KeyObject; - function createSecretKey(key: string, encoding: BufferEncoding): KeyObject; - /** - * Creates and returns a `Sign` object that uses the given `algorithm`. Use {@link getHashes} to obtain the names of the available digest algorithms. - * Optional `options` argument controls the `stream.Writable` behavior. - * - * In some cases, a `Sign` instance can be created using the name of a signature - * algorithm, such as `'RSA-SHA256'`, instead of a digest algorithm. This will use - * the corresponding digest algorithm. This does not work for all signature - * algorithms, such as `'ecdsa-with-SHA256'`, so it is best to always use digest - * algorithm names. - * @since v0.1.92 - * @param options `stream.Writable` options - */ - function createSign(algorithm: string, options?: stream.WritableOptions): Sign; - type DSAEncoding = "der" | "ieee-p1363"; - interface SigningOptions { - /** - * @see crypto.constants.RSA_PKCS1_PADDING - */ - padding?: number | undefined; - saltLength?: number | undefined; - dsaEncoding?: DSAEncoding | undefined; - } - interface SignPrivateKeyInput extends PrivateKeyInput, SigningOptions {} - interface SignKeyObjectInput extends SigningOptions { - key: KeyObject; - } - interface VerifyPublicKeyInput extends PublicKeyInput, SigningOptions {} - interface VerifyKeyObjectInput extends SigningOptions { - key: KeyObject; - } - interface VerifyJsonWebKeyInput extends JsonWebKeyInput, SigningOptions {} - type KeyLike = string | Buffer | KeyObject; - /** - * The `Sign` class is a utility for generating signatures. It can be used in one - * of two ways: - * - * * As a writable `stream`, where data to be signed is written and the `sign.sign()` method is used to generate and return the signature, or - * * Using the `sign.update()` and `sign.sign()` methods to produce the - * signature. - * - * The {@link createSign} method is used to create `Sign` instances. The - * argument is the string name of the hash function to use. `Sign` objects are not - * to be created directly using the `new` keyword. - * - * Example: Using `Sign` and `Verify` objects as streams: - * - * ```js - * const { - * generateKeyPairSync, - * createSign, - * createVerify, - * } = await import('node:crypto'); - * - * const { privateKey, publicKey } = generateKeyPairSync('ec', { - * namedCurve: 'sect239k1', - * }); - * - * const sign = createSign('SHA256'); - * sign.write('some data to sign'); - * sign.end(); - * const signature = sign.sign(privateKey, 'hex'); - * - * const verify = createVerify('SHA256'); - * verify.write('some data to sign'); - * verify.end(); - * console.log(verify.verify(publicKey, signature, 'hex')); - * // Prints: true - * ``` - * - * Example: Using the `sign.update()` and `verify.update()` methods: - * - * ```js - * const { - * generateKeyPairSync, - * createSign, - * createVerify, - * } = await import('node:crypto'); - * - * const { privateKey, publicKey } = generateKeyPairSync('rsa', { - * modulusLength: 2048, - * }); - * - * const sign = createSign('SHA256'); - * sign.update('some data to sign'); - * sign.end(); - * const signature = sign.sign(privateKey); - * - * const verify = createVerify('SHA256'); - * verify.update('some data to sign'); - * verify.end(); - * console.log(verify.verify(publicKey, signature)); - * // Prints: true - * ``` - * @since v0.1.92 - */ - class Sign extends stream.Writable { - private constructor(); - /** - * Updates the `Sign` content with the given `data`, the encoding of which - * is given in `inputEncoding`. - * If `encoding` is not provided, and the `data` is a string, an - * encoding of `'utf8'` is enforced. If `data` is a `Buffer`, `TypedArray`, or`DataView`, then `inputEncoding` is ignored. - * - * This can be called many times with new data as it is streamed. - * @since v0.1.92 - * @param inputEncoding The `encoding` of the `data` string. - */ - update(data: BinaryLike): this; - update(data: string, inputEncoding: Encoding): this; - /** - * Calculates the signature on all the data passed through using either `sign.update()` or `sign.write()`. - * - * If `privateKey` is not a `KeyObject`, this function behaves as if`privateKey` had been passed to {@link createPrivateKey}. If it is an - * object, the following additional properties can be passed: - * - * If `outputEncoding` is provided a string is returned; otherwise a `Buffer` is returned. - * - * The `Sign` object can not be again used after `sign.sign()` method has been - * called. Multiple calls to `sign.sign()` will result in an error being thrown. - * @since v0.1.92 - */ - sign(privateKey: KeyLike | SignKeyObjectInput | SignPrivateKeyInput): Buffer; - sign( - privateKey: KeyLike | SignKeyObjectInput | SignPrivateKeyInput, - outputFormat: BinaryToTextEncoding, - ): string; - } - /** - * Creates and returns a `Verify` object that uses the given algorithm. - * Use {@link getHashes} to obtain an array of names of the available - * signing algorithms. Optional `options` argument controls the`stream.Writable` behavior. - * - * In some cases, a `Verify` instance can be created using the name of a signature - * algorithm, such as `'RSA-SHA256'`, instead of a digest algorithm. This will use - * the corresponding digest algorithm. This does not work for all signature - * algorithms, such as `'ecdsa-with-SHA256'`, so it is best to always use digest - * algorithm names. - * @since v0.1.92 - * @param options `stream.Writable` options - */ - function createVerify(algorithm: string, options?: stream.WritableOptions): Verify; - /** - * The `Verify` class is a utility for verifying signatures. It can be used in one - * of two ways: - * - * * As a writable `stream` where written data is used to validate against the - * supplied signature, or - * * Using the `verify.update()` and `verify.verify()` methods to verify - * the signature. - * - * The {@link createVerify} method is used to create `Verify` instances.`Verify` objects are not to be created directly using the `new` keyword. - * - * See `Sign` for examples. - * @since v0.1.92 - */ - class Verify extends stream.Writable { - private constructor(); - /** - * Updates the `Verify` content with the given `data`, the encoding of which - * is given in `inputEncoding`. - * If `inputEncoding` is not provided, and the `data` is a string, an - * encoding of `'utf8'` is enforced. If `data` is a `Buffer`, `TypedArray`, or`DataView`, then `inputEncoding` is ignored. - * - * This can be called many times with new data as it is streamed. - * @since v0.1.92 - * @param inputEncoding The `encoding` of the `data` string. - */ - update(data: BinaryLike): Verify; - update(data: string, inputEncoding: Encoding): Verify; - /** - * Verifies the provided data using the given `object` and `signature`. - * - * If `object` is not a `KeyObject`, this function behaves as if`object` had been passed to {@link createPublicKey}. If it is an - * object, the following additional properties can be passed: - * - * The `signature` argument is the previously calculated signature for the data, in - * the `signatureEncoding`. - * If a `signatureEncoding` is specified, the `signature` is expected to be a - * string; otherwise `signature` is expected to be a `Buffer`,`TypedArray`, or `DataView`. - * - * The `verify` object can not be used again after `verify.verify()` has been - * called. Multiple calls to `verify.verify()` will result in an error being - * thrown. - * - * Because public keys can be derived from private keys, a private key may - * be passed instead of a public key. - * @since v0.1.92 - */ - verify( - object: KeyLike | VerifyKeyObjectInput | VerifyPublicKeyInput | VerifyJsonWebKeyInput, - signature: NodeJS.ArrayBufferView, - ): boolean; - verify( - object: KeyLike | VerifyKeyObjectInput | VerifyPublicKeyInput | VerifyJsonWebKeyInput, - signature: string, - signature_format?: BinaryToTextEncoding, - ): boolean; - } - /** - * Creates a `DiffieHellman` key exchange object using the supplied `prime` and an - * optional specific `generator`. - * - * The `generator` argument can be a number, string, or `Buffer`. If`generator` is not specified, the value `2` is used. - * - * If `primeEncoding` is specified, `prime` is expected to be a string; otherwise - * a `Buffer`, `TypedArray`, or `DataView` is expected. - * - * If `generatorEncoding` is specified, `generator` is expected to be a string; - * otherwise a number, `Buffer`, `TypedArray`, or `DataView` is expected. - * @since v0.11.12 - * @param primeEncoding The `encoding` of the `prime` string. - * @param [generator=2] - * @param generatorEncoding The `encoding` of the `generator` string. - */ - function createDiffieHellman(primeLength: number, generator?: number): DiffieHellman; - function createDiffieHellman( - prime: ArrayBuffer | NodeJS.ArrayBufferView, - generator?: number | ArrayBuffer | NodeJS.ArrayBufferView, - ): DiffieHellman; - function createDiffieHellman( - prime: ArrayBuffer | NodeJS.ArrayBufferView, - generator: string, - generatorEncoding: BinaryToTextEncoding, - ): DiffieHellman; - function createDiffieHellman( - prime: string, - primeEncoding: BinaryToTextEncoding, - generator?: number | ArrayBuffer | NodeJS.ArrayBufferView, - ): DiffieHellman; - function createDiffieHellman( - prime: string, - primeEncoding: BinaryToTextEncoding, - generator: string, - generatorEncoding: BinaryToTextEncoding, - ): DiffieHellman; - /** - * The `DiffieHellman` class is a utility for creating Diffie-Hellman key - * exchanges. - * - * Instances of the `DiffieHellman` class can be created using the {@link createDiffieHellman} function. - * - * ```js - * import assert from 'node:assert'; - * - * const { - * createDiffieHellman, - * } = await import('node:crypto'); - * - * // Generate Alice's keys... - * const alice = createDiffieHellman(2048); - * const aliceKey = alice.generateKeys(); - * - * // Generate Bob's keys... - * const bob = createDiffieHellman(alice.getPrime(), alice.getGenerator()); - * const bobKey = bob.generateKeys(); - * - * // Exchange and generate the secret... - * const aliceSecret = alice.computeSecret(bobKey); - * const bobSecret = bob.computeSecret(aliceKey); - * - * // OK - * assert.strictEqual(aliceSecret.toString('hex'), bobSecret.toString('hex')); - * ``` - * @since v0.5.0 - */ - class DiffieHellman { - private constructor(); - /** - * Generates private and public Diffie-Hellman key values unless they have been - * generated or computed already, and returns - * the public key in the specified `encoding`. This key should be - * transferred to the other party. - * If `encoding` is provided a string is returned; otherwise a `Buffer` is returned. - * - * This function is a thin wrapper around [`DH_generate_key()`](https://www.openssl.org/docs/man3.0/man3/DH_generate_key.html). In particular, - * once a private key has been generated or set, calling this function only updates - * the public key but does not generate a new private key. - * @since v0.5.0 - * @param encoding The `encoding` of the return value. - */ - generateKeys(): Buffer; - generateKeys(encoding: BinaryToTextEncoding): string; - /** - * Computes the shared secret using `otherPublicKey` as the other - * party's public key and returns the computed shared secret. The supplied - * key is interpreted using the specified `inputEncoding`, and secret is - * encoded using specified `outputEncoding`. - * If the `inputEncoding` is not - * provided, `otherPublicKey` is expected to be a `Buffer`,`TypedArray`, or `DataView`. - * - * If `outputEncoding` is given a string is returned; otherwise, a `Buffer` is returned. - * @since v0.5.0 - * @param inputEncoding The `encoding` of an `otherPublicKey` string. - * @param outputEncoding The `encoding` of the return value. - */ - computeSecret(otherPublicKey: NodeJS.ArrayBufferView, inputEncoding?: null, outputEncoding?: null): Buffer; - computeSecret(otherPublicKey: string, inputEncoding: BinaryToTextEncoding, outputEncoding?: null): Buffer; - computeSecret( - otherPublicKey: NodeJS.ArrayBufferView, - inputEncoding: null, - outputEncoding: BinaryToTextEncoding, - ): string; - computeSecret( - otherPublicKey: string, - inputEncoding: BinaryToTextEncoding, - outputEncoding: BinaryToTextEncoding, - ): string; - /** - * Returns the Diffie-Hellman prime in the specified `encoding`. - * If `encoding` is provided a string is - * returned; otherwise a `Buffer` is returned. - * @since v0.5.0 - * @param encoding The `encoding` of the return value. - */ - getPrime(): Buffer; - getPrime(encoding: BinaryToTextEncoding): string; - /** - * Returns the Diffie-Hellman generator in the specified `encoding`. - * If `encoding` is provided a string is - * returned; otherwise a `Buffer` is returned. - * @since v0.5.0 - * @param encoding The `encoding` of the return value. - */ - getGenerator(): Buffer; - getGenerator(encoding: BinaryToTextEncoding): string; - /** - * Returns the Diffie-Hellman public key in the specified `encoding`. - * If `encoding` is provided a - * string is returned; otherwise a `Buffer` is returned. - * @since v0.5.0 - * @param encoding The `encoding` of the return value. - */ - getPublicKey(): Buffer; - getPublicKey(encoding: BinaryToTextEncoding): string; - /** - * Returns the Diffie-Hellman private key in the specified `encoding`. - * If `encoding` is provided a - * string is returned; otherwise a `Buffer` is returned. - * @since v0.5.0 - * @param encoding The `encoding` of the return value. - */ - getPrivateKey(): Buffer; - getPrivateKey(encoding: BinaryToTextEncoding): string; - /** - * Sets the Diffie-Hellman public key. If the `encoding` argument is provided,`publicKey` is expected - * to be a string. If no `encoding` is provided, `publicKey` is expected - * to be a `Buffer`, `TypedArray`, or `DataView`. - * @since v0.5.0 - * @param encoding The `encoding` of the `publicKey` string. - */ - setPublicKey(publicKey: NodeJS.ArrayBufferView): void; - setPublicKey(publicKey: string, encoding: BufferEncoding): void; - /** - * Sets the Diffie-Hellman private key. If the `encoding` argument is provided,`privateKey` is expected - * to be a string. If no `encoding` is provided, `privateKey` is expected - * to be a `Buffer`, `TypedArray`, or `DataView`. - * - * This function does not automatically compute the associated public key. Either `diffieHellman.setPublicKey()` or `diffieHellman.generateKeys()` can be - * used to manually provide the public key or to automatically derive it. - * @since v0.5.0 - * @param encoding The `encoding` of the `privateKey` string. - */ - setPrivateKey(privateKey: NodeJS.ArrayBufferView): void; - setPrivateKey(privateKey: string, encoding: BufferEncoding): void; - /** - * A bit field containing any warnings and/or errors resulting from a check - * performed during initialization of the `DiffieHellman` object. - * - * The following values are valid for this property (as defined in `node:constants` module): - * - * * `DH_CHECK_P_NOT_SAFE_PRIME` - * * `DH_CHECK_P_NOT_PRIME` - * * `DH_UNABLE_TO_CHECK_GENERATOR` - * * `DH_NOT_SUITABLE_GENERATOR` - * @since v0.11.12 - */ - verifyError: number; - } - /** - * The `DiffieHellmanGroup` class takes a well-known modp group as its argument. - * It works the same as `DiffieHellman`, except that it does not allow changing its keys after creation. - * In other words, it does not implement `setPublicKey()` or `setPrivateKey()` methods. - * - * ```js - * const { createDiffieHellmanGroup } = await import('node:crypto'); - * const dh = createDiffieHellmanGroup('modp1'); - * ``` - * The name (e.g. `'modp1'`) is taken from [RFC 2412](https://www.rfc-editor.org/rfc/rfc2412.txt) (modp1 and 2) and [RFC 3526](https://www.rfc-editor.org/rfc/rfc3526.txt): - * ```bash - * $ perl -ne 'print "$1\n" if /"(modp\d+)"/' src/node_crypto_groups.h - * modp1 # 768 bits - * modp2 # 1024 bits - * modp5 # 1536 bits - * modp14 # 2048 bits - * modp15 # etc. - * modp16 - * modp17 - * modp18 - * ``` - * @since v0.7.5 - */ - const DiffieHellmanGroup: DiffieHellmanGroupConstructor; - interface DiffieHellmanGroupConstructor { - new(name: string): DiffieHellmanGroup; - (name: string): DiffieHellmanGroup; - readonly prototype: DiffieHellmanGroup; - } - type DiffieHellmanGroup = Omit; - /** - * Creates a predefined `DiffieHellmanGroup` key exchange object. The - * supported groups are listed in the documentation for `DiffieHellmanGroup`. - * - * The returned object mimics the interface of objects created by {@link createDiffieHellman}, but will not allow changing - * the keys (with `diffieHellman.setPublicKey()`, for example). The - * advantage of using this method is that the parties do not have to - * generate nor exchange a group modulus beforehand, saving both processor - * and communication time. - * - * Example (obtaining a shared secret): - * - * ```js - * const { - * getDiffieHellman, - * } = await import('node:crypto'); - * const alice = getDiffieHellman('modp14'); - * const bob = getDiffieHellman('modp14'); - * - * alice.generateKeys(); - * bob.generateKeys(); - * - * const aliceSecret = alice.computeSecret(bob.getPublicKey(), null, 'hex'); - * const bobSecret = bob.computeSecret(alice.getPublicKey(), null, 'hex'); - * - * // aliceSecret and bobSecret should be the same - * console.log(aliceSecret === bobSecret); - * ``` - * @since v0.7.5 - */ - function getDiffieHellman(groupName: string): DiffieHellmanGroup; - /** - * An alias for {@link getDiffieHellman} - * @since v0.9.3 - */ - function createDiffieHellmanGroup(name: string): DiffieHellmanGroup; - /** - * Provides an asynchronous Password-Based Key Derivation Function 2 (PBKDF2) - * implementation. A selected HMAC digest algorithm specified by `digest` is - * applied to derive a key of the requested byte length (`keylen`) from the`password`, `salt` and `iterations`. - * - * The supplied `callback` function is called with two arguments: `err` and`derivedKey`. If an error occurs while deriving the key, `err` will be set; - * otherwise `err` will be `null`. By default, the successfully generated`derivedKey` will be passed to the callback as a `Buffer`. An error will be - * thrown if any of the input arguments specify invalid values or types. - * - * The `iterations` argument must be a number set as high as possible. The - * higher the number of iterations, the more secure the derived key will be, - * but will take a longer amount of time to complete. - * - * The `salt` should be as unique as possible. It is recommended that a salt is - * random and at least 16 bytes long. See [NIST SP 800-132](https://nvlpubs.nist.gov/nistpubs/Legacy/SP/nistspecialpublication800-132.pdf) for details. - * - * When passing strings for `password` or `salt`, please consider `caveats when using strings as inputs to cryptographic APIs`. - * - * ```js - * const { - * pbkdf2, - * } = await import('node:crypto'); - * - * pbkdf2('secret', 'salt', 100000, 64, 'sha512', (err, derivedKey) => { - * if (err) throw err; - * console.log(derivedKey.toString('hex')); // '3745e48...08d59ae' - * }); - * ``` - * - * An array of supported digest functions can be retrieved using {@link getHashes}. - * - * This API uses libuv's threadpool, which can have surprising and - * negative performance implications for some applications; see the `UV_THREADPOOL_SIZE` documentation for more information. - * @since v0.5.5 - */ - function pbkdf2( - password: BinaryLike, - salt: BinaryLike, - iterations: number, - keylen: number, - digest: string, - callback: (err: Error | null, derivedKey: Buffer) => void, - ): void; - /** - * Provides a synchronous Password-Based Key Derivation Function 2 (PBKDF2) - * implementation. A selected HMAC digest algorithm specified by `digest` is - * applied to derive a key of the requested byte length (`keylen`) from the`password`, `salt` and `iterations`. - * - * If an error occurs an `Error` will be thrown, otherwise the derived key will be - * returned as a `Buffer`. - * - * The `iterations` argument must be a number set as high as possible. The - * higher the number of iterations, the more secure the derived key will be, - * but will take a longer amount of time to complete. - * - * The `salt` should be as unique as possible. It is recommended that a salt is - * random and at least 16 bytes long. See [NIST SP 800-132](https://nvlpubs.nist.gov/nistpubs/Legacy/SP/nistspecialpublication800-132.pdf) for details. - * - * When passing strings for `password` or `salt`, please consider `caveats when using strings as inputs to cryptographic APIs`. - * - * ```js - * const { - * pbkdf2Sync, - * } = await import('node:crypto'); - * - * const key = pbkdf2Sync('secret', 'salt', 100000, 64, 'sha512'); - * console.log(key.toString('hex')); // '3745e48...08d59ae' - * ``` - * - * An array of supported digest functions can be retrieved using {@link getHashes}. - * @since v0.9.3 - */ - function pbkdf2Sync( - password: BinaryLike, - salt: BinaryLike, - iterations: number, - keylen: number, - digest: string, - ): Buffer; - /** - * Generates cryptographically strong pseudorandom data. The `size` argument - * is a number indicating the number of bytes to generate. - * - * If a `callback` function is provided, the bytes are generated asynchronously - * and the `callback` function is invoked with two arguments: `err` and `buf`. - * If an error occurs, `err` will be an `Error` object; otherwise it is `null`. The`buf` argument is a `Buffer` containing the generated bytes. - * - * ```js - * // Asynchronous - * const { - * randomBytes, - * } = await import('node:crypto'); - * - * randomBytes(256, (err, buf) => { - * if (err) throw err; - * console.log(`${buf.length} bytes of random data: ${buf.toString('hex')}`); - * }); - * ``` - * - * If the `callback` function is not provided, the random bytes are generated - * synchronously and returned as a `Buffer`. An error will be thrown if - * there is a problem generating the bytes. - * - * ```js - * // Synchronous - * const { - * randomBytes, - * } = await import('node:crypto'); - * - * const buf = randomBytes(256); - * console.log( - * `${buf.length} bytes of random data: ${buf.toString('hex')}`); - * ``` - * - * The `crypto.randomBytes()` method will not complete until there is - * sufficient entropy available. - * This should normally never take longer than a few milliseconds. The only time - * when generating the random bytes may conceivably block for a longer period of - * time is right after boot, when the whole system is still low on entropy. - * - * This API uses libuv's threadpool, which can have surprising and - * negative performance implications for some applications; see the `UV_THREADPOOL_SIZE` documentation for more information. - * - * The asynchronous version of `crypto.randomBytes()` is carried out in a single - * threadpool request. To minimize threadpool task length variation, partition - * large `randomBytes` requests when doing so as part of fulfilling a client - * request. - * @since v0.5.8 - * @param size The number of bytes to generate. The `size` must not be larger than `2**31 - 1`. - * @return if the `callback` function is not provided. - */ - function randomBytes(size: number): Buffer; - function randomBytes(size: number, callback: (err: Error | null, buf: Buffer) => void): void; - function pseudoRandomBytes(size: number): Buffer; - function pseudoRandomBytes(size: number, callback: (err: Error | null, buf: Buffer) => void): void; - /** - * Return a random integer `n` such that `min <= n < max`. This - * implementation avoids [modulo bias](https://en.wikipedia.org/wiki/Fisher%E2%80%93Yates_shuffle#Modulo_bias). - * - * The range (`max - min`) must be less than 2**48. `min` and `max` must - * be [safe integers](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/isSafeInteger). - * - * If the `callback` function is not provided, the random integer is - * generated synchronously. - * - * ```js - * // Asynchronous - * const { - * randomInt, - * } = await import('node:crypto'); - * - * randomInt(3, (err, n) => { - * if (err) throw err; - * console.log(`Random number chosen from (0, 1, 2): ${n}`); - * }); - * ``` - * - * ```js - * // Synchronous - * const { - * randomInt, - * } = await import('node:crypto'); - * - * const n = randomInt(3); - * console.log(`Random number chosen from (0, 1, 2): ${n}`); - * ``` - * - * ```js - * // With `min` argument - * const { - * randomInt, - * } = await import('node:crypto'); - * - * const n = randomInt(1, 7); - * console.log(`The dice rolled: ${n}`); - * ``` - * @since v14.10.0, v12.19.0 - * @param [min=0] Start of random range (inclusive). - * @param max End of random range (exclusive). - * @param callback `function(err, n) {}`. - */ - function randomInt(max: number): number; - function randomInt(min: number, max: number): number; - function randomInt(max: number, callback: (err: Error | null, value: number) => void): void; - function randomInt(min: number, max: number, callback: (err: Error | null, value: number) => void): void; - /** - * Synchronous version of {@link randomFill}. - * - * ```js - * import { Buffer } from 'node:buffer'; - * const { randomFillSync } = await import('node:crypto'); - * - * const buf = Buffer.alloc(10); - * console.log(randomFillSync(buf).toString('hex')); - * - * randomFillSync(buf, 5); - * console.log(buf.toString('hex')); - * - * // The above is equivalent to the following: - * randomFillSync(buf, 5, 5); - * console.log(buf.toString('hex')); - * ``` - * - * Any `ArrayBuffer`, `TypedArray` or `DataView` instance may be passed as`buffer`. - * - * ```js - * import { Buffer } from 'node:buffer'; - * const { randomFillSync } = await import('node:crypto'); - * - * const a = new Uint32Array(10); - * console.log(Buffer.from(randomFillSync(a).buffer, - * a.byteOffset, a.byteLength).toString('hex')); - * - * const b = new DataView(new ArrayBuffer(10)); - * console.log(Buffer.from(randomFillSync(b).buffer, - * b.byteOffset, b.byteLength).toString('hex')); - * - * const c = new ArrayBuffer(10); - * console.log(Buffer.from(randomFillSync(c)).toString('hex')); - * ``` - * @since v7.10.0, v6.13.0 - * @param buffer Must be supplied. The size of the provided `buffer` must not be larger than `2**31 - 1`. - * @param [offset=0] - * @param [size=buffer.length - offset] - * @return The object passed as `buffer` argument. - */ - function randomFillSync(buffer: T, offset?: number, size?: number): T; - /** - * This function is similar to {@link randomBytes} but requires the first - * argument to be a `Buffer` that will be filled. It also - * requires that a callback is passed in. - * - * If the `callback` function is not provided, an error will be thrown. - * - * ```js - * import { Buffer } from 'node:buffer'; - * const { randomFill } = await import('node:crypto'); - * - * const buf = Buffer.alloc(10); - * randomFill(buf, (err, buf) => { - * if (err) throw err; - * console.log(buf.toString('hex')); - * }); - * - * randomFill(buf, 5, (err, buf) => { - * if (err) throw err; - * console.log(buf.toString('hex')); - * }); - * - * // The above is equivalent to the following: - * randomFill(buf, 5, 5, (err, buf) => { - * if (err) throw err; - * console.log(buf.toString('hex')); - * }); - * ``` - * - * Any `ArrayBuffer`, `TypedArray`, or `DataView` instance may be passed as`buffer`. - * - * While this includes instances of `Float32Array` and `Float64Array`, this - * function should not be used to generate random floating-point numbers. The - * result may contain `+Infinity`, `-Infinity`, and `NaN`, and even if the array - * contains finite numbers only, they are not drawn from a uniform random - * distribution and have no meaningful lower or upper bounds. - * - * ```js - * import { Buffer } from 'node:buffer'; - * const { randomFill } = await import('node:crypto'); - * - * const a = new Uint32Array(10); - * randomFill(a, (err, buf) => { - * if (err) throw err; - * console.log(Buffer.from(buf.buffer, buf.byteOffset, buf.byteLength) - * .toString('hex')); - * }); - * - * const b = new DataView(new ArrayBuffer(10)); - * randomFill(b, (err, buf) => { - * if (err) throw err; - * console.log(Buffer.from(buf.buffer, buf.byteOffset, buf.byteLength) - * .toString('hex')); - * }); - * - * const c = new ArrayBuffer(10); - * randomFill(c, (err, buf) => { - * if (err) throw err; - * console.log(Buffer.from(buf).toString('hex')); - * }); - * ``` - * - * This API uses libuv's threadpool, which can have surprising and - * negative performance implications for some applications; see the `UV_THREADPOOL_SIZE` documentation for more information. - * - * The asynchronous version of `crypto.randomFill()` is carried out in a single - * threadpool request. To minimize threadpool task length variation, partition - * large `randomFill` requests when doing so as part of fulfilling a client - * request. - * @since v7.10.0, v6.13.0 - * @param buffer Must be supplied. The size of the provided `buffer` must not be larger than `2**31 - 1`. - * @param [offset=0] - * @param [size=buffer.length - offset] - * @param callback `function(err, buf) {}`. - */ - function randomFill( - buffer: T, - callback: (err: Error | null, buf: T) => void, - ): void; - function randomFill( - buffer: T, - offset: number, - callback: (err: Error | null, buf: T) => void, - ): void; - function randomFill( - buffer: T, - offset: number, - size: number, - callback: (err: Error | null, buf: T) => void, - ): void; - interface ScryptOptions { - cost?: number | undefined; - blockSize?: number | undefined; - parallelization?: number | undefined; - N?: number | undefined; - r?: number | undefined; - p?: number | undefined; - maxmem?: number | undefined; - } - /** - * Provides an asynchronous [scrypt](https://en.wikipedia.org/wiki/Scrypt) implementation. Scrypt is a password-based - * key derivation function that is designed to be expensive computationally and - * memory-wise in order to make brute-force attacks unrewarding. - * - * The `salt` should be as unique as possible. It is recommended that a salt is - * random and at least 16 bytes long. See [NIST SP 800-132](https://nvlpubs.nist.gov/nistpubs/Legacy/SP/nistspecialpublication800-132.pdf) for details. - * - * When passing strings for `password` or `salt`, please consider `caveats when using strings as inputs to cryptographic APIs`. - * - * The `callback` function is called with two arguments: `err` and `derivedKey`.`err` is an exception object when key derivation fails, otherwise `err` is`null`. `derivedKey` is passed to the - * callback as a `Buffer`. - * - * An exception is thrown when any of the input arguments specify invalid values - * or types. - * - * ```js - * const { - * scrypt, - * } = await import('node:crypto'); - * - * // Using the factory defaults. - * scrypt('password', 'salt', 64, (err, derivedKey) => { - * if (err) throw err; - * console.log(derivedKey.toString('hex')); // '3745e48...08d59ae' - * }); - * // Using a custom N parameter. Must be a power of two. - * scrypt('password', 'salt', 64, { N: 1024 }, (err, derivedKey) => { - * if (err) throw err; - * console.log(derivedKey.toString('hex')); // '3745e48...aa39b34' - * }); - * ``` - * @since v10.5.0 - */ - function scrypt( - password: BinaryLike, - salt: BinaryLike, - keylen: number, - callback: (err: Error | null, derivedKey: Buffer) => void, - ): void; - function scrypt( - password: BinaryLike, - salt: BinaryLike, - keylen: number, - options: ScryptOptions, - callback: (err: Error | null, derivedKey: Buffer) => void, - ): void; - /** - * Provides a synchronous [scrypt](https://en.wikipedia.org/wiki/Scrypt) implementation. Scrypt is a password-based - * key derivation function that is designed to be expensive computationally and - * memory-wise in order to make brute-force attacks unrewarding. - * - * The `salt` should be as unique as possible. It is recommended that a salt is - * random and at least 16 bytes long. See [NIST SP 800-132](https://nvlpubs.nist.gov/nistpubs/Legacy/SP/nistspecialpublication800-132.pdf) for details. - * - * When passing strings for `password` or `salt`, please consider `caveats when using strings as inputs to cryptographic APIs`. - * - * An exception is thrown when key derivation fails, otherwise the derived key is - * returned as a `Buffer`. - * - * An exception is thrown when any of the input arguments specify invalid values - * or types. - * - * ```js - * const { - * scryptSync, - * } = await import('node:crypto'); - * // Using the factory defaults. - * - * const key1 = scryptSync('password', 'salt', 64); - * console.log(key1.toString('hex')); // '3745e48...08d59ae' - * // Using a custom N parameter. Must be a power of two. - * const key2 = scryptSync('password', 'salt', 64, { N: 1024 }); - * console.log(key2.toString('hex')); // '3745e48...aa39b34' - * ``` - * @since v10.5.0 - */ - function scryptSync(password: BinaryLike, salt: BinaryLike, keylen: number, options?: ScryptOptions): Buffer; - interface RsaPublicKey { - key: KeyLike; - padding?: number | undefined; - } - interface RsaPrivateKey { - key: KeyLike; - passphrase?: string | undefined; - /** - * @default 'sha1' - */ - oaepHash?: string | undefined; - oaepLabel?: NodeJS.TypedArray | undefined; - padding?: number | undefined; - } - /** - * Encrypts the content of `buffer` with `key` and returns a new `Buffer` with encrypted content. The returned data can be decrypted using - * the corresponding private key, for example using {@link privateDecrypt}. - * - * If `key` is not a `KeyObject`, this function behaves as if`key` had been passed to {@link createPublicKey}. If it is an - * object, the `padding` property can be passed. Otherwise, this function uses`RSA_PKCS1_OAEP_PADDING`. - * - * Because RSA public keys can be derived from private keys, a private key may - * be passed instead of a public key. - * @since v0.11.14 - */ - function publicEncrypt(key: RsaPublicKey | RsaPrivateKey | KeyLike, buffer: NodeJS.ArrayBufferView): Buffer; - /** - * Decrypts `buffer` with `key`.`buffer` was previously encrypted using - * the corresponding private key, for example using {@link privateEncrypt}. - * - * If `key` is not a `KeyObject`, this function behaves as if`key` had been passed to {@link createPublicKey}. If it is an - * object, the `padding` property can be passed. Otherwise, this function uses`RSA_PKCS1_PADDING`. - * - * Because RSA public keys can be derived from private keys, a private key may - * be passed instead of a public key. - * @since v1.1.0 - */ - function publicDecrypt(key: RsaPublicKey | RsaPrivateKey | KeyLike, buffer: NodeJS.ArrayBufferView): Buffer; - /** - * Decrypts `buffer` with `privateKey`. `buffer` was previously encrypted using - * the corresponding public key, for example using {@link publicEncrypt}. - * - * If `privateKey` is not a `KeyObject`, this function behaves as if`privateKey` had been passed to {@link createPrivateKey}. If it is an - * object, the `padding` property can be passed. Otherwise, this function uses`RSA_PKCS1_OAEP_PADDING`. - * @since v0.11.14 - */ - function privateDecrypt(privateKey: RsaPrivateKey | KeyLike, buffer: NodeJS.ArrayBufferView): Buffer; - /** - * Encrypts `buffer` with `privateKey`. The returned data can be decrypted using - * the corresponding public key, for example using {@link publicDecrypt}. - * - * If `privateKey` is not a `KeyObject`, this function behaves as if`privateKey` had been passed to {@link createPrivateKey}. If it is an - * object, the `padding` property can be passed. Otherwise, this function uses`RSA_PKCS1_PADDING`. - * @since v1.1.0 - */ - function privateEncrypt(privateKey: RsaPrivateKey | KeyLike, buffer: NodeJS.ArrayBufferView): Buffer; - /** - * ```js - * const { - * getCiphers, - * } = await import('node:crypto'); - * - * console.log(getCiphers()); // ['aes-128-cbc', 'aes-128-ccm', ...] - * ``` - * @since v0.9.3 - * @return An array with the names of the supported cipher algorithms. - */ - function getCiphers(): string[]; - /** - * ```js - * const { - * getCurves, - * } = await import('node:crypto'); - * - * console.log(getCurves()); // ['Oakley-EC2N-3', 'Oakley-EC2N-4', ...] - * ``` - * @since v2.3.0 - * @return An array with the names of the supported elliptic curves. - */ - function getCurves(): string[]; - /** - * @since v10.0.0 - * @return `1` if and only if a FIPS compliant crypto provider is currently in use, `0` otherwise. A future semver-major release may change the return type of this API to a {boolean}. - */ - function getFips(): 1 | 0; - /** - * Enables the FIPS compliant crypto provider in a FIPS-enabled Node.js build. - * Throws an error if FIPS mode is not available. - * @since v10.0.0 - * @param bool `true` to enable FIPS mode. - */ - function setFips(bool: boolean): void; - /** - * ```js - * const { - * getHashes, - * } = await import('node:crypto'); - * - * console.log(getHashes()); // ['DSA', 'DSA-SHA', 'DSA-SHA1', ...] - * ``` - * @since v0.9.3 - * @return An array of the names of the supported hash algorithms, such as `'RSA-SHA256'`. Hash algorithms are also called "digest" algorithms. - */ - function getHashes(): string[]; - /** - * The `ECDH` class is a utility for creating Elliptic Curve Diffie-Hellman (ECDH) - * key exchanges. - * - * Instances of the `ECDH` class can be created using the {@link createECDH} function. - * - * ```js - * import assert from 'node:assert'; - * - * const { - * createECDH, - * } = await import('node:crypto'); - * - * // Generate Alice's keys... - * const alice = createECDH('secp521r1'); - * const aliceKey = alice.generateKeys(); - * - * // Generate Bob's keys... - * const bob = createECDH('secp521r1'); - * const bobKey = bob.generateKeys(); - * - * // Exchange and generate the secret... - * const aliceSecret = alice.computeSecret(bobKey); - * const bobSecret = bob.computeSecret(aliceKey); - * - * assert.strictEqual(aliceSecret.toString('hex'), bobSecret.toString('hex')); - * // OK - * ``` - * @since v0.11.14 - */ - class ECDH { - private constructor(); - /** - * Converts the EC Diffie-Hellman public key specified by `key` and `curve` to the - * format specified by `format`. The `format` argument specifies point encoding - * and can be `'compressed'`, `'uncompressed'` or `'hybrid'`. The supplied key is - * interpreted using the specified `inputEncoding`, and the returned key is encoded - * using the specified `outputEncoding`. - * - * Use {@link getCurves} to obtain a list of available curve names. - * On recent OpenSSL releases, `openssl ecparam -list_curves` will also display - * the name and description of each available elliptic curve. - * - * If `format` is not specified the point will be returned in `'uncompressed'`format. - * - * If the `inputEncoding` is not provided, `key` is expected to be a `Buffer`,`TypedArray`, or `DataView`. - * - * Example (uncompressing a key): - * - * ```js - * const { - * createECDH, - * ECDH, - * } = await import('node:crypto'); - * - * const ecdh = createECDH('secp256k1'); - * ecdh.generateKeys(); - * - * const compressedKey = ecdh.getPublicKey('hex', 'compressed'); - * - * const uncompressedKey = ECDH.convertKey(compressedKey, - * 'secp256k1', - * 'hex', - * 'hex', - * 'uncompressed'); - * - * // The converted key and the uncompressed public key should be the same - * console.log(uncompressedKey === ecdh.getPublicKey('hex')); - * ``` - * @since v10.0.0 - * @param inputEncoding The `encoding` of the `key` string. - * @param outputEncoding The `encoding` of the return value. - * @param [format='uncompressed'] - */ - static convertKey( - key: BinaryLike, - curve: string, - inputEncoding?: BinaryToTextEncoding, - outputEncoding?: "latin1" | "hex" | "base64" | "base64url", - format?: "uncompressed" | "compressed" | "hybrid", - ): Buffer | string; - /** - * Generates private and public EC Diffie-Hellman key values, and returns - * the public key in the specified `format` and `encoding`. This key should be - * transferred to the other party. - * - * The `format` argument specifies point encoding and can be `'compressed'` or`'uncompressed'`. If `format` is not specified, the point will be returned in`'uncompressed'` format. - * - * If `encoding` is provided a string is returned; otherwise a `Buffer` is returned. - * @since v0.11.14 - * @param encoding The `encoding` of the return value. - * @param [format='uncompressed'] - */ - generateKeys(): Buffer; - generateKeys(encoding: BinaryToTextEncoding, format?: ECDHKeyFormat): string; - /** - * Computes the shared secret using `otherPublicKey` as the other - * party's public key and returns the computed shared secret. The supplied - * key is interpreted using specified `inputEncoding`, and the returned secret - * is encoded using the specified `outputEncoding`. - * If the `inputEncoding` is not - * provided, `otherPublicKey` is expected to be a `Buffer`, `TypedArray`, or`DataView`. - * - * If `outputEncoding` is given a string will be returned; otherwise a `Buffer` is returned. - * - * `ecdh.computeSecret` will throw an`ERR_CRYPTO_ECDH_INVALID_PUBLIC_KEY` error when `otherPublicKey`lies outside of the elliptic curve. Since `otherPublicKey` is - * usually supplied from a remote user over an insecure network, - * be sure to handle this exception accordingly. - * @since v0.11.14 - * @param inputEncoding The `encoding` of the `otherPublicKey` string. - * @param outputEncoding The `encoding` of the return value. - */ - computeSecret(otherPublicKey: NodeJS.ArrayBufferView): Buffer; - computeSecret(otherPublicKey: string, inputEncoding: BinaryToTextEncoding): Buffer; - computeSecret(otherPublicKey: NodeJS.ArrayBufferView, outputEncoding: BinaryToTextEncoding): string; - computeSecret( - otherPublicKey: string, - inputEncoding: BinaryToTextEncoding, - outputEncoding: BinaryToTextEncoding, - ): string; - /** - * If `encoding` is specified, a string is returned; otherwise a `Buffer` is - * returned. - * @since v0.11.14 - * @param encoding The `encoding` of the return value. - * @return The EC Diffie-Hellman in the specified `encoding`. - */ - getPrivateKey(): Buffer; - getPrivateKey(encoding: BinaryToTextEncoding): string; - /** - * The `format` argument specifies point encoding and can be `'compressed'` or`'uncompressed'`. If `format` is not specified the point will be returned in`'uncompressed'` format. - * - * If `encoding` is specified, a string is returned; otherwise a `Buffer` is - * returned. - * @since v0.11.14 - * @param encoding The `encoding` of the return value. - * @param [format='uncompressed'] - * @return The EC Diffie-Hellman public key in the specified `encoding` and `format`. - */ - getPublicKey(encoding?: null, format?: ECDHKeyFormat): Buffer; - getPublicKey(encoding: BinaryToTextEncoding, format?: ECDHKeyFormat): string; - /** - * Sets the EC Diffie-Hellman private key. - * If `encoding` is provided, `privateKey` is expected - * to be a string; otherwise `privateKey` is expected to be a `Buffer`,`TypedArray`, or `DataView`. - * - * If `privateKey` is not valid for the curve specified when the `ECDH` object was - * created, an error is thrown. Upon setting the private key, the associated - * public point (key) is also generated and set in the `ECDH` object. - * @since v0.11.14 - * @param encoding The `encoding` of the `privateKey` string. - */ - setPrivateKey(privateKey: NodeJS.ArrayBufferView): void; - setPrivateKey(privateKey: string, encoding: BinaryToTextEncoding): void; - } - /** - * Creates an Elliptic Curve Diffie-Hellman (`ECDH`) key exchange object using a - * predefined curve specified by the `curveName` string. Use {@link getCurves} to obtain a list of available curve names. On recent - * OpenSSL releases, `openssl ecparam -list_curves` will also display the name - * and description of each available elliptic curve. - * @since v0.11.14 - */ - function createECDH(curveName: string): ECDH; - /** - * This function compares the underlying bytes that represent the given`ArrayBuffer`, `TypedArray`, or `DataView` instances using a constant-time - * algorithm. - * - * This function does not leak timing information that - * would allow an attacker to guess one of the values. This is suitable for - * comparing HMAC digests or secret values like authentication cookies or [capability urls](https://www.w3.org/TR/capability-urls/). - * - * `a` and `b` must both be `Buffer`s, `TypedArray`s, or `DataView`s, and they - * must have the same byte length. An error is thrown if `a` and `b` have - * different byte lengths. - * - * If at least one of `a` and `b` is a `TypedArray` with more than one byte per - * entry, such as `Uint16Array`, the result will be computed using the platform - * byte order. - * - * **When both of the inputs are `Float32Array`s or`Float64Array`s, this function might return unexpected results due to IEEE 754** - * **encoding of floating-point numbers. In particular, neither `x === y` nor`Object.is(x, y)` implies that the byte representations of two floating-point** - * **numbers `x` and `y` are equal.** - * - * Use of `crypto.timingSafeEqual` does not guarantee that the _surrounding_ code - * is timing-safe. Care should be taken to ensure that the surrounding code does - * not introduce timing vulnerabilities. - * @since v6.6.0 - */ - function timingSafeEqual(a: NodeJS.ArrayBufferView, b: NodeJS.ArrayBufferView): boolean; - type KeyType = "rsa" | "rsa-pss" | "dsa" | "ec" | "ed25519" | "ed448" | "x25519" | "x448"; - type KeyFormat = "pem" | "der" | "jwk"; - interface BasePrivateKeyEncodingOptions { - format: T; - cipher?: string | undefined; - passphrase?: string | undefined; - } - interface KeyPairKeyObjectResult { - publicKey: KeyObject; - privateKey: KeyObject; - } - interface ED25519KeyPairKeyObjectOptions {} - interface ED448KeyPairKeyObjectOptions {} - interface X25519KeyPairKeyObjectOptions {} - interface X448KeyPairKeyObjectOptions {} - interface ECKeyPairKeyObjectOptions { - /** - * Name of the curve to use - */ - namedCurve: string; - /** - * Must be `'named'` or `'explicit'`. Default: `'named'`. - */ - paramEncoding?: "explicit" | "named" | undefined; - } - interface RSAKeyPairKeyObjectOptions { - /** - * Key size in bits - */ - modulusLength: number; - /** - * Public exponent - * @default 0x10001 - */ - publicExponent?: number | undefined; - } - interface RSAPSSKeyPairKeyObjectOptions { - /** - * Key size in bits - */ - modulusLength: number; - /** - * Public exponent - * @default 0x10001 - */ - publicExponent?: number | undefined; - /** - * Name of the message digest - */ - hashAlgorithm?: string; - /** - * Name of the message digest used by MGF1 - */ - mgf1HashAlgorithm?: string; - /** - * Minimal salt length in bytes - */ - saltLength?: string; - } - interface DSAKeyPairKeyObjectOptions { - /** - * Key size in bits - */ - modulusLength: number; - /** - * Size of q in bits - */ - divisorLength: number; - } - interface RSAKeyPairOptions { - /** - * Key size in bits - */ - modulusLength: number; - /** - * Public exponent - * @default 0x10001 - */ - publicExponent?: number | undefined; - publicKeyEncoding: { - type: "pkcs1" | "spki"; - format: PubF; - }; - privateKeyEncoding: BasePrivateKeyEncodingOptions & { - type: "pkcs1" | "pkcs8"; - }; - } - interface RSAPSSKeyPairOptions { - /** - * Key size in bits - */ - modulusLength: number; - /** - * Public exponent - * @default 0x10001 - */ - publicExponent?: number | undefined; - /** - * Name of the message digest - */ - hashAlgorithm?: string; - /** - * Name of the message digest used by MGF1 - */ - mgf1HashAlgorithm?: string; - /** - * Minimal salt length in bytes - */ - saltLength?: string; - publicKeyEncoding: { - type: "spki"; - format: PubF; - }; - privateKeyEncoding: BasePrivateKeyEncodingOptions & { - type: "pkcs8"; - }; - } - interface DSAKeyPairOptions { - /** - * Key size in bits - */ - modulusLength: number; - /** - * Size of q in bits - */ - divisorLength: number; - publicKeyEncoding: { - type: "spki"; - format: PubF; - }; - privateKeyEncoding: BasePrivateKeyEncodingOptions & { - type: "pkcs8"; - }; - } - interface ECKeyPairOptions extends ECKeyPairKeyObjectOptions { - publicKeyEncoding: { - type: "pkcs1" | "spki"; - format: PubF; - }; - privateKeyEncoding: BasePrivateKeyEncodingOptions & { - type: "sec1" | "pkcs8"; - }; - } - interface ED25519KeyPairOptions { - publicKeyEncoding: { - type: "spki"; - format: PubF; - }; - privateKeyEncoding: BasePrivateKeyEncodingOptions & { - type: "pkcs8"; - }; - } - interface ED448KeyPairOptions { - publicKeyEncoding: { - type: "spki"; - format: PubF; - }; - privateKeyEncoding: BasePrivateKeyEncodingOptions & { - type: "pkcs8"; - }; - } - interface X25519KeyPairOptions { - publicKeyEncoding: { - type: "spki"; - format: PubF; - }; - privateKeyEncoding: BasePrivateKeyEncodingOptions & { - type: "pkcs8"; - }; - } - interface X448KeyPairOptions { - publicKeyEncoding: { - type: "spki"; - format: PubF; - }; - privateKeyEncoding: BasePrivateKeyEncodingOptions & { - type: "pkcs8"; - }; - } - interface KeyPairSyncResult { - publicKey: T1; - privateKey: T2; - } - /** - * Generates a new asymmetric key pair of the given `type`. RSA, RSA-PSS, DSA, EC, - * Ed25519, Ed448, X25519, X448, and DH are currently supported. - * - * If a `publicKeyEncoding` or `privateKeyEncoding` was specified, this function - * behaves as if `keyObject.export()` had been called on its result. Otherwise, - * the respective part of the key is returned as a `KeyObject`. - * - * When encoding public keys, it is recommended to use `'spki'`. When encoding - * private keys, it is recommended to use `'pkcs8'` with a strong passphrase, - * and to keep the passphrase confidential. - * - * ```js - * const { - * generateKeyPairSync, - * } = await import('node:crypto'); - * - * const { - * publicKey, - * privateKey, - * } = generateKeyPairSync('rsa', { - * modulusLength: 4096, - * publicKeyEncoding: { - * type: 'spki', - * format: 'pem', - * }, - * privateKeyEncoding: { - * type: 'pkcs8', - * format: 'pem', - * cipher: 'aes-256-cbc', - * passphrase: 'top secret', - * }, - * }); - * ``` - * - * The return value `{ publicKey, privateKey }` represents the generated key pair. - * When PEM encoding was selected, the respective key will be a string, otherwise - * it will be a buffer containing the data encoded as DER. - * @since v10.12.0 - * @param type Must be `'rsa'`, `'rsa-pss'`, `'dsa'`, `'ec'`, `'ed25519'`, `'ed448'`, `'x25519'`, `'x448'`, or `'dh'`. - */ - function generateKeyPairSync( - type: "rsa", - options: RSAKeyPairOptions<"pem", "pem">, - ): KeyPairSyncResult; - function generateKeyPairSync( - type: "rsa", - options: RSAKeyPairOptions<"pem", "der">, - ): KeyPairSyncResult; - function generateKeyPairSync( - type: "rsa", - options: RSAKeyPairOptions<"der", "pem">, - ): KeyPairSyncResult; - function generateKeyPairSync( - type: "rsa", - options: RSAKeyPairOptions<"der", "der">, - ): KeyPairSyncResult; - function generateKeyPairSync(type: "rsa", options: RSAKeyPairKeyObjectOptions): KeyPairKeyObjectResult; - function generateKeyPairSync( - type: "rsa-pss", - options: RSAPSSKeyPairOptions<"pem", "pem">, - ): KeyPairSyncResult; - function generateKeyPairSync( - type: "rsa-pss", - options: RSAPSSKeyPairOptions<"pem", "der">, - ): KeyPairSyncResult; - function generateKeyPairSync( - type: "rsa-pss", - options: RSAPSSKeyPairOptions<"der", "pem">, - ): KeyPairSyncResult; - function generateKeyPairSync( - type: "rsa-pss", - options: RSAPSSKeyPairOptions<"der", "der">, - ): KeyPairSyncResult; - function generateKeyPairSync(type: "rsa-pss", options: RSAPSSKeyPairKeyObjectOptions): KeyPairKeyObjectResult; - function generateKeyPairSync( - type: "dsa", - options: DSAKeyPairOptions<"pem", "pem">, - ): KeyPairSyncResult; - function generateKeyPairSync( - type: "dsa", - options: DSAKeyPairOptions<"pem", "der">, - ): KeyPairSyncResult; - function generateKeyPairSync( - type: "dsa", - options: DSAKeyPairOptions<"der", "pem">, - ): KeyPairSyncResult; - function generateKeyPairSync( - type: "dsa", - options: DSAKeyPairOptions<"der", "der">, - ): KeyPairSyncResult; - function generateKeyPairSync(type: "dsa", options: DSAKeyPairKeyObjectOptions): KeyPairKeyObjectResult; - function generateKeyPairSync( - type: "ec", - options: ECKeyPairOptions<"pem", "pem">, - ): KeyPairSyncResult; - function generateKeyPairSync( - type: "ec", - options: ECKeyPairOptions<"pem", "der">, - ): KeyPairSyncResult; - function generateKeyPairSync( - type: "ec", - options: ECKeyPairOptions<"der", "pem">, - ): KeyPairSyncResult; - function generateKeyPairSync( - type: "ec", - options: ECKeyPairOptions<"der", "der">, - ): KeyPairSyncResult; - function generateKeyPairSync(type: "ec", options: ECKeyPairKeyObjectOptions): KeyPairKeyObjectResult; - function generateKeyPairSync( - type: "ed25519", - options: ED25519KeyPairOptions<"pem", "pem">, - ): KeyPairSyncResult; - function generateKeyPairSync( - type: "ed25519", - options: ED25519KeyPairOptions<"pem", "der">, - ): KeyPairSyncResult; - function generateKeyPairSync( - type: "ed25519", - options: ED25519KeyPairOptions<"der", "pem">, - ): KeyPairSyncResult; - function generateKeyPairSync( - type: "ed25519", - options: ED25519KeyPairOptions<"der", "der">, - ): KeyPairSyncResult; - function generateKeyPairSync(type: "ed25519", options?: ED25519KeyPairKeyObjectOptions): KeyPairKeyObjectResult; - function generateKeyPairSync( - type: "ed448", - options: ED448KeyPairOptions<"pem", "pem">, - ): KeyPairSyncResult; - function generateKeyPairSync( - type: "ed448", - options: ED448KeyPairOptions<"pem", "der">, - ): KeyPairSyncResult; - function generateKeyPairSync( - type: "ed448", - options: ED448KeyPairOptions<"der", "pem">, - ): KeyPairSyncResult; - function generateKeyPairSync( - type: "ed448", - options: ED448KeyPairOptions<"der", "der">, - ): KeyPairSyncResult; - function generateKeyPairSync(type: "ed448", options?: ED448KeyPairKeyObjectOptions): KeyPairKeyObjectResult; - function generateKeyPairSync( - type: "x25519", - options: X25519KeyPairOptions<"pem", "pem">, - ): KeyPairSyncResult; - function generateKeyPairSync( - type: "x25519", - options: X25519KeyPairOptions<"pem", "der">, - ): KeyPairSyncResult; - function generateKeyPairSync( - type: "x25519", - options: X25519KeyPairOptions<"der", "pem">, - ): KeyPairSyncResult; - function generateKeyPairSync( - type: "x25519", - options: X25519KeyPairOptions<"der", "der">, - ): KeyPairSyncResult; - function generateKeyPairSync(type: "x25519", options?: X25519KeyPairKeyObjectOptions): KeyPairKeyObjectResult; - function generateKeyPairSync( - type: "x448", - options: X448KeyPairOptions<"pem", "pem">, - ): KeyPairSyncResult; - function generateKeyPairSync( - type: "x448", - options: X448KeyPairOptions<"pem", "der">, - ): KeyPairSyncResult; - function generateKeyPairSync( - type: "x448", - options: X448KeyPairOptions<"der", "pem">, - ): KeyPairSyncResult; - function generateKeyPairSync( - type: "x448", - options: X448KeyPairOptions<"der", "der">, - ): KeyPairSyncResult; - function generateKeyPairSync(type: "x448", options?: X448KeyPairKeyObjectOptions): KeyPairKeyObjectResult; - /** - * Generates a new asymmetric key pair of the given `type`. RSA, RSA-PSS, DSA, EC, - * Ed25519, Ed448, X25519, X448, and DH are currently supported. - * - * If a `publicKeyEncoding` or `privateKeyEncoding` was specified, this function - * behaves as if `keyObject.export()` had been called on its result. Otherwise, - * the respective part of the key is returned as a `KeyObject`. - * - * It is recommended to encode public keys as `'spki'` and private keys as`'pkcs8'` with encryption for long-term storage: - * - * ```js - * const { - * generateKeyPair, - * } = await import('node:crypto'); - * - * generateKeyPair('rsa', { - * modulusLength: 4096, - * publicKeyEncoding: { - * type: 'spki', - * format: 'pem', - * }, - * privateKeyEncoding: { - * type: 'pkcs8', - * format: 'pem', - * cipher: 'aes-256-cbc', - * passphrase: 'top secret', - * }, - * }, (err, publicKey, privateKey) => { - * // Handle errors and use the generated key pair. - * }); - * ``` - * - * On completion, `callback` will be called with `err` set to `undefined` and`publicKey` / `privateKey` representing the generated key pair. - * - * If this method is invoked as its `util.promisify()` ed version, it returns - * a `Promise` for an `Object` with `publicKey` and `privateKey` properties. - * @since v10.12.0 - * @param type Must be `'rsa'`, `'rsa-pss'`, `'dsa'`, `'ec'`, `'ed25519'`, `'ed448'`, `'x25519'`, `'x448'`, or `'dh'`. - */ - function generateKeyPair( - type: "rsa", - options: RSAKeyPairOptions<"pem", "pem">, - callback: (err: Error | null, publicKey: string, privateKey: string) => void, - ): void; - function generateKeyPair( - type: "rsa", - options: RSAKeyPairOptions<"pem", "der">, - callback: (err: Error | null, publicKey: string, privateKey: Buffer) => void, - ): void; - function generateKeyPair( - type: "rsa", - options: RSAKeyPairOptions<"der", "pem">, - callback: (err: Error | null, publicKey: Buffer, privateKey: string) => void, - ): void; - function generateKeyPair( - type: "rsa", - options: RSAKeyPairOptions<"der", "der">, - callback: (err: Error | null, publicKey: Buffer, privateKey: Buffer) => void, - ): void; - function generateKeyPair( - type: "rsa", - options: RSAKeyPairKeyObjectOptions, - callback: (err: Error | null, publicKey: KeyObject, privateKey: KeyObject) => void, - ): void; - function generateKeyPair( - type: "rsa-pss", - options: RSAPSSKeyPairOptions<"pem", "pem">, - callback: (err: Error | null, publicKey: string, privateKey: string) => void, - ): void; - function generateKeyPair( - type: "rsa-pss", - options: RSAPSSKeyPairOptions<"pem", "der">, - callback: (err: Error | null, publicKey: string, privateKey: Buffer) => void, - ): void; - function generateKeyPair( - type: "rsa-pss", - options: RSAPSSKeyPairOptions<"der", "pem">, - callback: (err: Error | null, publicKey: Buffer, privateKey: string) => void, - ): void; - function generateKeyPair( - type: "rsa-pss", - options: RSAPSSKeyPairOptions<"der", "der">, - callback: (err: Error | null, publicKey: Buffer, privateKey: Buffer) => void, - ): void; - function generateKeyPair( - type: "rsa-pss", - options: RSAPSSKeyPairKeyObjectOptions, - callback: (err: Error | null, publicKey: KeyObject, privateKey: KeyObject) => void, - ): void; - function generateKeyPair( - type: "dsa", - options: DSAKeyPairOptions<"pem", "pem">, - callback: (err: Error | null, publicKey: string, privateKey: string) => void, - ): void; - function generateKeyPair( - type: "dsa", - options: DSAKeyPairOptions<"pem", "der">, - callback: (err: Error | null, publicKey: string, privateKey: Buffer) => void, - ): void; - function generateKeyPair( - type: "dsa", - options: DSAKeyPairOptions<"der", "pem">, - callback: (err: Error | null, publicKey: Buffer, privateKey: string) => void, - ): void; - function generateKeyPair( - type: "dsa", - options: DSAKeyPairOptions<"der", "der">, - callback: (err: Error | null, publicKey: Buffer, privateKey: Buffer) => void, - ): void; - function generateKeyPair( - type: "dsa", - options: DSAKeyPairKeyObjectOptions, - callback: (err: Error | null, publicKey: KeyObject, privateKey: KeyObject) => void, - ): void; - function generateKeyPair( - type: "ec", - options: ECKeyPairOptions<"pem", "pem">, - callback: (err: Error | null, publicKey: string, privateKey: string) => void, - ): void; - function generateKeyPair( - type: "ec", - options: ECKeyPairOptions<"pem", "der">, - callback: (err: Error | null, publicKey: string, privateKey: Buffer) => void, - ): void; - function generateKeyPair( - type: "ec", - options: ECKeyPairOptions<"der", "pem">, - callback: (err: Error | null, publicKey: Buffer, privateKey: string) => void, - ): void; - function generateKeyPair( - type: "ec", - options: ECKeyPairOptions<"der", "der">, - callback: (err: Error | null, publicKey: Buffer, privateKey: Buffer) => void, - ): void; - function generateKeyPair( - type: "ec", - options: ECKeyPairKeyObjectOptions, - callback: (err: Error | null, publicKey: KeyObject, privateKey: KeyObject) => void, - ): void; - function generateKeyPair( - type: "ed25519", - options: ED25519KeyPairOptions<"pem", "pem">, - callback: (err: Error | null, publicKey: string, privateKey: string) => void, - ): void; - function generateKeyPair( - type: "ed25519", - options: ED25519KeyPairOptions<"pem", "der">, - callback: (err: Error | null, publicKey: string, privateKey: Buffer) => void, - ): void; - function generateKeyPair( - type: "ed25519", - options: ED25519KeyPairOptions<"der", "pem">, - callback: (err: Error | null, publicKey: Buffer, privateKey: string) => void, - ): void; - function generateKeyPair( - type: "ed25519", - options: ED25519KeyPairOptions<"der", "der">, - callback: (err: Error | null, publicKey: Buffer, privateKey: Buffer) => void, - ): void; - function generateKeyPair( - type: "ed25519", - options: ED25519KeyPairKeyObjectOptions | undefined, - callback: (err: Error | null, publicKey: KeyObject, privateKey: KeyObject) => void, - ): void; - function generateKeyPair( - type: "ed448", - options: ED448KeyPairOptions<"pem", "pem">, - callback: (err: Error | null, publicKey: string, privateKey: string) => void, - ): void; - function generateKeyPair( - type: "ed448", - options: ED448KeyPairOptions<"pem", "der">, - callback: (err: Error | null, publicKey: string, privateKey: Buffer) => void, - ): void; - function generateKeyPair( - type: "ed448", - options: ED448KeyPairOptions<"der", "pem">, - callback: (err: Error | null, publicKey: Buffer, privateKey: string) => void, - ): void; - function generateKeyPair( - type: "ed448", - options: ED448KeyPairOptions<"der", "der">, - callback: (err: Error | null, publicKey: Buffer, privateKey: Buffer) => void, - ): void; - function generateKeyPair( - type: "ed448", - options: ED448KeyPairKeyObjectOptions | undefined, - callback: (err: Error | null, publicKey: KeyObject, privateKey: KeyObject) => void, - ): void; - function generateKeyPair( - type: "x25519", - options: X25519KeyPairOptions<"pem", "pem">, - callback: (err: Error | null, publicKey: string, privateKey: string) => void, - ): void; - function generateKeyPair( - type: "x25519", - options: X25519KeyPairOptions<"pem", "der">, - callback: (err: Error | null, publicKey: string, privateKey: Buffer) => void, - ): void; - function generateKeyPair( - type: "x25519", - options: X25519KeyPairOptions<"der", "pem">, - callback: (err: Error | null, publicKey: Buffer, privateKey: string) => void, - ): void; - function generateKeyPair( - type: "x25519", - options: X25519KeyPairOptions<"der", "der">, - callback: (err: Error | null, publicKey: Buffer, privateKey: Buffer) => void, - ): void; - function generateKeyPair( - type: "x25519", - options: X25519KeyPairKeyObjectOptions | undefined, - callback: (err: Error | null, publicKey: KeyObject, privateKey: KeyObject) => void, - ): void; - function generateKeyPair( - type: "x448", - options: X448KeyPairOptions<"pem", "pem">, - callback: (err: Error | null, publicKey: string, privateKey: string) => void, - ): void; - function generateKeyPair( - type: "x448", - options: X448KeyPairOptions<"pem", "der">, - callback: (err: Error | null, publicKey: string, privateKey: Buffer) => void, - ): void; - function generateKeyPair( - type: "x448", - options: X448KeyPairOptions<"der", "pem">, - callback: (err: Error | null, publicKey: Buffer, privateKey: string) => void, - ): void; - function generateKeyPair( - type: "x448", - options: X448KeyPairOptions<"der", "der">, - callback: (err: Error | null, publicKey: Buffer, privateKey: Buffer) => void, - ): void; - function generateKeyPair( - type: "x448", - options: X448KeyPairKeyObjectOptions | undefined, - callback: (err: Error | null, publicKey: KeyObject, privateKey: KeyObject) => void, - ): void; - namespace generateKeyPair { - function __promisify__( - type: "rsa", - options: RSAKeyPairOptions<"pem", "pem">, - ): Promise<{ - publicKey: string; - privateKey: string; - }>; - function __promisify__( - type: "rsa", - options: RSAKeyPairOptions<"pem", "der">, - ): Promise<{ - publicKey: string; - privateKey: Buffer; - }>; - function __promisify__( - type: "rsa", - options: RSAKeyPairOptions<"der", "pem">, - ): Promise<{ - publicKey: Buffer; - privateKey: string; - }>; - function __promisify__( - type: "rsa", - options: RSAKeyPairOptions<"der", "der">, - ): Promise<{ - publicKey: Buffer; - privateKey: Buffer; - }>; - function __promisify__(type: "rsa", options: RSAKeyPairKeyObjectOptions): Promise; - function __promisify__( - type: "rsa-pss", - options: RSAPSSKeyPairOptions<"pem", "pem">, - ): Promise<{ - publicKey: string; - privateKey: string; - }>; - function __promisify__( - type: "rsa-pss", - options: RSAPSSKeyPairOptions<"pem", "der">, - ): Promise<{ - publicKey: string; - privateKey: Buffer; - }>; - function __promisify__( - type: "rsa-pss", - options: RSAPSSKeyPairOptions<"der", "pem">, - ): Promise<{ - publicKey: Buffer; - privateKey: string; - }>; - function __promisify__( - type: "rsa-pss", - options: RSAPSSKeyPairOptions<"der", "der">, - ): Promise<{ - publicKey: Buffer; - privateKey: Buffer; - }>; - function __promisify__( - type: "rsa-pss", - options: RSAPSSKeyPairKeyObjectOptions, - ): Promise; - function __promisify__( - type: "dsa", - options: DSAKeyPairOptions<"pem", "pem">, - ): Promise<{ - publicKey: string; - privateKey: string; - }>; - function __promisify__( - type: "dsa", - options: DSAKeyPairOptions<"pem", "der">, - ): Promise<{ - publicKey: string; - privateKey: Buffer; - }>; - function __promisify__( - type: "dsa", - options: DSAKeyPairOptions<"der", "pem">, - ): Promise<{ - publicKey: Buffer; - privateKey: string; - }>; - function __promisify__( - type: "dsa", - options: DSAKeyPairOptions<"der", "der">, - ): Promise<{ - publicKey: Buffer; - privateKey: Buffer; - }>; - function __promisify__(type: "dsa", options: DSAKeyPairKeyObjectOptions): Promise; - function __promisify__( - type: "ec", - options: ECKeyPairOptions<"pem", "pem">, - ): Promise<{ - publicKey: string; - privateKey: string; - }>; - function __promisify__( - type: "ec", - options: ECKeyPairOptions<"pem", "der">, - ): Promise<{ - publicKey: string; - privateKey: Buffer; - }>; - function __promisify__( - type: "ec", - options: ECKeyPairOptions<"der", "pem">, - ): Promise<{ - publicKey: Buffer; - privateKey: string; - }>; - function __promisify__( - type: "ec", - options: ECKeyPairOptions<"der", "der">, - ): Promise<{ - publicKey: Buffer; - privateKey: Buffer; - }>; - function __promisify__(type: "ec", options: ECKeyPairKeyObjectOptions): Promise; - function __promisify__( - type: "ed25519", - options: ED25519KeyPairOptions<"pem", "pem">, - ): Promise<{ - publicKey: string; - privateKey: string; - }>; - function __promisify__( - type: "ed25519", - options: ED25519KeyPairOptions<"pem", "der">, - ): Promise<{ - publicKey: string; - privateKey: Buffer; - }>; - function __promisify__( - type: "ed25519", - options: ED25519KeyPairOptions<"der", "pem">, - ): Promise<{ - publicKey: Buffer; - privateKey: string; - }>; - function __promisify__( - type: "ed25519", - options: ED25519KeyPairOptions<"der", "der">, - ): Promise<{ - publicKey: Buffer; - privateKey: Buffer; - }>; - function __promisify__( - type: "ed25519", - options?: ED25519KeyPairKeyObjectOptions, - ): Promise; - function __promisify__( - type: "ed448", - options: ED448KeyPairOptions<"pem", "pem">, - ): Promise<{ - publicKey: string; - privateKey: string; - }>; - function __promisify__( - type: "ed448", - options: ED448KeyPairOptions<"pem", "der">, - ): Promise<{ - publicKey: string; - privateKey: Buffer; - }>; - function __promisify__( - type: "ed448", - options: ED448KeyPairOptions<"der", "pem">, - ): Promise<{ - publicKey: Buffer; - privateKey: string; - }>; - function __promisify__( - type: "ed448", - options: ED448KeyPairOptions<"der", "der">, - ): Promise<{ - publicKey: Buffer; - privateKey: Buffer; - }>; - function __promisify__(type: "ed448", options?: ED448KeyPairKeyObjectOptions): Promise; - function __promisify__( - type: "x25519", - options: X25519KeyPairOptions<"pem", "pem">, - ): Promise<{ - publicKey: string; - privateKey: string; - }>; - function __promisify__( - type: "x25519", - options: X25519KeyPairOptions<"pem", "der">, - ): Promise<{ - publicKey: string; - privateKey: Buffer; - }>; - function __promisify__( - type: "x25519", - options: X25519KeyPairOptions<"der", "pem">, - ): Promise<{ - publicKey: Buffer; - privateKey: string; - }>; - function __promisify__( - type: "x25519", - options: X25519KeyPairOptions<"der", "der">, - ): Promise<{ - publicKey: Buffer; - privateKey: Buffer; - }>; - function __promisify__( - type: "x25519", - options?: X25519KeyPairKeyObjectOptions, - ): Promise; - function __promisify__( - type: "x448", - options: X448KeyPairOptions<"pem", "pem">, - ): Promise<{ - publicKey: string; - privateKey: string; - }>; - function __promisify__( - type: "x448", - options: X448KeyPairOptions<"pem", "der">, - ): Promise<{ - publicKey: string; - privateKey: Buffer; - }>; - function __promisify__( - type: "x448", - options: X448KeyPairOptions<"der", "pem">, - ): Promise<{ - publicKey: Buffer; - privateKey: string; - }>; - function __promisify__( - type: "x448", - options: X448KeyPairOptions<"der", "der">, - ): Promise<{ - publicKey: Buffer; - privateKey: Buffer; - }>; - function __promisify__(type: "x448", options?: X448KeyPairKeyObjectOptions): Promise; - } - /** - * Calculates and returns the signature for `data` using the given private key and - * algorithm. If `algorithm` is `null` or `undefined`, then the algorithm is - * dependent upon the key type (especially Ed25519 and Ed448). - * - * If `key` is not a `KeyObject`, this function behaves as if `key` had been - * passed to {@link createPrivateKey}. If it is an object, the following - * additional properties can be passed: - * - * If the `callback` function is provided this function uses libuv's threadpool. - * @since v12.0.0 - */ - function sign( - algorithm: string | null | undefined, - data: NodeJS.ArrayBufferView, - key: KeyLike | SignKeyObjectInput | SignPrivateKeyInput, - ): Buffer; - function sign( - algorithm: string | null | undefined, - data: NodeJS.ArrayBufferView, - key: KeyLike | SignKeyObjectInput | SignPrivateKeyInput, - callback: (error: Error | null, data: Buffer) => void, - ): void; - /** - * Verifies the given signature for `data` using the given key and algorithm. If`algorithm` is `null` or `undefined`, then the algorithm is dependent upon the - * key type (especially Ed25519 and Ed448). - * - * If `key` is not a `KeyObject`, this function behaves as if `key` had been - * passed to {@link createPublicKey}. If it is an object, the following - * additional properties can be passed: - * - * The `signature` argument is the previously calculated signature for the `data`. - * - * Because public keys can be derived from private keys, a private key or a public - * key may be passed for `key`. - * - * If the `callback` function is provided this function uses libuv's threadpool. - * @since v12.0.0 - */ - function verify( - algorithm: string | null | undefined, - data: NodeJS.ArrayBufferView, - key: KeyLike | VerifyKeyObjectInput | VerifyPublicKeyInput | VerifyJsonWebKeyInput, - signature: NodeJS.ArrayBufferView, - ): boolean; - function verify( - algorithm: string | null | undefined, - data: NodeJS.ArrayBufferView, - key: KeyLike | VerifyKeyObjectInput | VerifyPublicKeyInput | VerifyJsonWebKeyInput, - signature: NodeJS.ArrayBufferView, - callback: (error: Error | null, result: boolean) => void, - ): void; - /** - * Computes the Diffie-Hellman secret based on a `privateKey` and a `publicKey`. - * Both keys must have the same `asymmetricKeyType`, which must be one of `'dh'`(for Diffie-Hellman), `'ec'` (for ECDH), `'x448'`, or `'x25519'` (for ECDH-ES). - * @since v13.9.0, v12.17.0 - */ - function diffieHellman(options: { privateKey: KeyObject; publicKey: KeyObject }): Buffer; - type CipherMode = "cbc" | "ccm" | "cfb" | "ctr" | "ecb" | "gcm" | "ocb" | "ofb" | "stream" | "wrap" | "xts"; - interface CipherInfoOptions { - /** - * A test key length. - */ - keyLength?: number | undefined; - /** - * A test IV length. - */ - ivLength?: number | undefined; - } - interface CipherInfo { - /** - * The name of the cipher. - */ - name: string; - /** - * The nid of the cipher. - */ - nid: number; - /** - * The block size of the cipher in bytes. - * This property is omitted when mode is 'stream'. - */ - blockSize?: number | undefined; - /** - * The expected or default initialization vector length in bytes. - * This property is omitted if the cipher does not use an initialization vector. - */ - ivLength?: number | undefined; - /** - * The expected or default key length in bytes. - */ - keyLength: number; - /** - * The cipher mode. - */ - mode: CipherMode; - } - /** - * Returns information about a given cipher. - * - * Some ciphers accept variable length keys and initialization vectors. By default, - * the `crypto.getCipherInfo()` method will return the default values for these - * ciphers. To test if a given key length or iv length is acceptable for given - * cipher, use the `keyLength` and `ivLength` options. If the given values are - * unacceptable, `undefined` will be returned. - * @since v15.0.0 - * @param nameOrNid The name or nid of the cipher to query. - */ - function getCipherInfo(nameOrNid: string | number, options?: CipherInfoOptions): CipherInfo | undefined; - /** - * HKDF is a simple key derivation function defined in RFC 5869\. The given `ikm`,`salt` and `info` are used with the `digest` to derive a key of `keylen` bytes. - * - * The supplied `callback` function is called with two arguments: `err` and`derivedKey`. If an errors occurs while deriving the key, `err` will be set; - * otherwise `err` will be `null`. The successfully generated `derivedKey` will - * be passed to the callback as an [ArrayBuffer](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer). An error will be thrown if any - * of the input arguments specify invalid values or types. - * - * ```js - * import { Buffer } from 'node:buffer'; - * const { - * hkdf, - * } = await import('node:crypto'); - * - * hkdf('sha512', 'key', 'salt', 'info', 64, (err, derivedKey) => { - * if (err) throw err; - * console.log(Buffer.from(derivedKey).toString('hex')); // '24156e2...5391653' - * }); - * ``` - * @since v15.0.0 - * @param digest The digest algorithm to use. - * @param ikm The input keying material. Must be provided but can be zero-length. - * @param salt The salt value. Must be provided but can be zero-length. - * @param info Additional info value. Must be provided but can be zero-length, and cannot be more than 1024 bytes. - * @param keylen The length of the key to generate. Must be greater than 0. The maximum allowable value is `255` times the number of bytes produced by the selected digest function (e.g. `sha512` - * generates 64-byte hashes, making the maximum HKDF output 16320 bytes). - */ - function hkdf( - digest: string, - irm: BinaryLike | KeyObject, - salt: BinaryLike, - info: BinaryLike, - keylen: number, - callback: (err: Error | null, derivedKey: ArrayBuffer) => void, - ): void; - /** - * Provides a synchronous HKDF key derivation function as defined in RFC 5869\. The - * given `ikm`, `salt` and `info` are used with the `digest` to derive a key of`keylen` bytes. - * - * The successfully generated `derivedKey` will be returned as an [ArrayBuffer](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer). - * - * An error will be thrown if any of the input arguments specify invalid values or - * types, or if the derived key cannot be generated. - * - * ```js - * import { Buffer } from 'node:buffer'; - * const { - * hkdfSync, - * } = await import('node:crypto'); - * - * const derivedKey = hkdfSync('sha512', 'key', 'salt', 'info', 64); - * console.log(Buffer.from(derivedKey).toString('hex')); // '24156e2...5391653' - * ``` - * @since v15.0.0 - * @param digest The digest algorithm to use. - * @param ikm The input keying material. Must be provided but can be zero-length. - * @param salt The salt value. Must be provided but can be zero-length. - * @param info Additional info value. Must be provided but can be zero-length, and cannot be more than 1024 bytes. - * @param keylen The length of the key to generate. Must be greater than 0. The maximum allowable value is `255` times the number of bytes produced by the selected digest function (e.g. `sha512` - * generates 64-byte hashes, making the maximum HKDF output 16320 bytes). - */ - function hkdfSync( - digest: string, - ikm: BinaryLike | KeyObject, - salt: BinaryLike, - info: BinaryLike, - keylen: number, - ): ArrayBuffer; - interface SecureHeapUsage { - /** - * The total allocated secure heap size as specified using the `--secure-heap=n` command-line flag. - */ - total: number; - /** - * The minimum allocation from the secure heap as specified using the `--secure-heap-min` command-line flag. - */ - min: number; - /** - * The total number of bytes currently allocated from the secure heap. - */ - used: number; - /** - * The calculated ratio of `used` to `total` allocated bytes. - */ - utilization: number; - } - /** - * @since v15.6.0 - */ - function secureHeapUsed(): SecureHeapUsage; - interface RandomUUIDOptions { - /** - * By default, to improve performance, - * Node.js will pre-emptively generate and persistently cache enough - * random data to generate up to 128 random UUIDs. To generate a UUID - * without using the cache, set `disableEntropyCache` to `true`. - * - * @default `false` - */ - disableEntropyCache?: boolean | undefined; - } - type UUID = `${string}-${string}-${string}-${string}-${string}`; - /** - * Generates a random [RFC 4122](https://www.rfc-editor.org/rfc/rfc4122.txt) version 4 UUID. The UUID is generated using a - * cryptographic pseudorandom number generator. - * @since v15.6.0, v14.17.0 - */ - function randomUUID(options?: RandomUUIDOptions): UUID; - interface X509CheckOptions { - /** - * @default 'always' - */ - subject?: "always" | "default" | "never"; - /** - * @default true - */ - wildcards?: boolean; - /** - * @default true - */ - partialWildcards?: boolean; - /** - * @default false - */ - multiLabelWildcards?: boolean; - /** - * @default false - */ - singleLabelSubdomains?: boolean; - } - /** - * Encapsulates an X509 certificate and provides read-only access to - * its information. - * - * ```js - * const { X509Certificate } = await import('node:crypto'); - * - * const x509 = new X509Certificate('{... pem encoded cert ...}'); - * - * console.log(x509.subject); - * ``` - * @since v15.6.0 - */ - class X509Certificate { - /** - * Will be \`true\` if this is a Certificate Authority (CA) certificate. - * @since v15.6.0 - */ - readonly ca: boolean; - /** - * The SHA-1 fingerprint of this certificate. - * - * Because SHA-1 is cryptographically broken and because the security of SHA-1 is - * significantly worse than that of algorithms that are commonly used to sign - * certificates, consider using `x509.fingerprint256` instead. - * @since v15.6.0 - */ - readonly fingerprint: string; - /** - * The SHA-256 fingerprint of this certificate. - * @since v15.6.0 - */ - readonly fingerprint256: string; - /** - * The SHA-512 fingerprint of this certificate. - * - * Because computing the SHA-256 fingerprint is usually faster and because it is - * only half the size of the SHA-512 fingerprint, `x509.fingerprint256` may be - * a better choice. While SHA-512 presumably provides a higher level of security in - * general, the security of SHA-256 matches that of most algorithms that are - * commonly used to sign certificates. - * @since v17.2.0, v16.14.0 - */ - readonly fingerprint512: string; - /** - * The complete subject of this certificate. - * @since v15.6.0 - */ - readonly subject: string; - /** - * The subject alternative name specified for this certificate. - * - * This is a comma-separated list of subject alternative names. Each entry begins - * with a string identifying the kind of the subject alternative name followed by - * a colon and the value associated with the entry. - * - * Earlier versions of Node.js incorrectly assumed that it is safe to split this - * property at the two-character sequence `', '` (see [CVE-2021-44532](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-44532)). However, - * both malicious and legitimate certificates can contain subject alternative names - * that include this sequence when represented as a string. - * - * After the prefix denoting the type of the entry, the remainder of each entry - * might be enclosed in quotes to indicate that the value is a JSON string literal. - * For backward compatibility, Node.js only uses JSON string literals within this - * property when necessary to avoid ambiguity. Third-party code should be prepared - * to handle both possible entry formats. - * @since v15.6.0 - */ - readonly subjectAltName: string | undefined; - /** - * A textual representation of the certificate's authority information access - * extension. - * - * This is a line feed separated list of access descriptions. Each line begins with - * the access method and the kind of the access location, followed by a colon and - * the value associated with the access location. - * - * After the prefix denoting the access method and the kind of the access location, - * the remainder of each line might be enclosed in quotes to indicate that the - * value is a JSON string literal. For backward compatibility, Node.js only uses - * JSON string literals within this property when necessary to avoid ambiguity. - * Third-party code should be prepared to handle both possible entry formats. - * @since v15.6.0 - */ - readonly infoAccess: string | undefined; - /** - * An array detailing the key usages for this certificate. - * @since v15.6.0 - */ - readonly keyUsage: string[]; - /** - * The issuer identification included in this certificate. - * @since v15.6.0 - */ - readonly issuer: string; - /** - * The issuer certificate or `undefined` if the issuer certificate is not - * available. - * @since v15.9.0 - */ - readonly issuerCertificate?: X509Certificate | undefined; - /** - * The public key `KeyObject` for this certificate. - * @since v15.6.0 - */ - readonly publicKey: KeyObject; - /** - * A `Buffer` containing the DER encoding of this certificate. - * @since v15.6.0 - */ - readonly raw: Buffer; - /** - * The serial number of this certificate. - * - * Serial numbers are assigned by certificate authorities and do not uniquely - * identify certificates. Consider using `x509.fingerprint256` as a unique - * identifier instead. - * @since v15.6.0 - */ - readonly serialNumber: string; - /** - * The date/time from which this certificate is considered valid. - * @since v15.6.0 - */ - readonly validFrom: string; - /** - * The date/time until which this certificate is considered valid. - * @since v15.6.0 - */ - readonly validTo: string; - constructor(buffer: BinaryLike); - /** - * Checks whether the certificate matches the given email address. - * - * If the `'subject'` option is undefined or set to `'default'`, the certificate - * subject is only considered if the subject alternative name extension either does - * not exist or does not contain any email addresses. - * - * If the `'subject'` option is set to `'always'` and if the subject alternative - * name extension either does not exist or does not contain a matching email - * address, the certificate subject is considered. - * - * If the `'subject'` option is set to `'never'`, the certificate subject is never - * considered, even if the certificate contains no subject alternative names. - * @since v15.6.0 - * @return Returns `email` if the certificate matches, `undefined` if it does not. - */ - checkEmail(email: string, options?: Pick): string | undefined; - /** - * Checks whether the certificate matches the given host name. - * - * If the certificate matches the given host name, the matching subject name is - * returned. The returned name might be an exact match (e.g., `foo.example.com`) - * or it might contain wildcards (e.g., `*.example.com`). Because host name - * comparisons are case-insensitive, the returned subject name might also differ - * from the given `name` in capitalization. - * - * If the `'subject'` option is undefined or set to `'default'`, the certificate - * subject is only considered if the subject alternative name extension either does - * not exist or does not contain any DNS names. This behavior is consistent with [RFC 2818](https://www.rfc-editor.org/rfc/rfc2818.txt) ("HTTP Over TLS"). - * - * If the `'subject'` option is set to `'always'` and if the subject alternative - * name extension either does not exist or does not contain a matching DNS name, - * the certificate subject is considered. - * - * If the `'subject'` option is set to `'never'`, the certificate subject is never - * considered, even if the certificate contains no subject alternative names. - * @since v15.6.0 - * @return Returns a subject name that matches `name`, or `undefined` if no subject name matches `name`. - */ - checkHost(name: string, options?: X509CheckOptions): string | undefined; - /** - * Checks whether the certificate matches the given IP address (IPv4 or IPv6). - * - * Only [RFC 5280](https://www.rfc-editor.org/rfc/rfc5280.txt) `iPAddress` subject alternative names are considered, and they - * must match the given `ip` address exactly. Other subject alternative names as - * well as the subject field of the certificate are ignored. - * @since v15.6.0 - * @return Returns `ip` if the certificate matches, `undefined` if it does not. - */ - checkIP(ip: string): string | undefined; - /** - * Checks whether this certificate was issued by the given `otherCert`. - * @since v15.6.0 - */ - checkIssued(otherCert: X509Certificate): boolean; - /** - * Checks whether the public key for this certificate is consistent with - * the given private key. - * @since v15.6.0 - * @param privateKey A private key. - */ - checkPrivateKey(privateKey: KeyObject): boolean; - /** - * There is no standard JSON encoding for X509 certificates. The`toJSON()` method returns a string containing the PEM encoded - * certificate. - * @since v15.6.0 - */ - toJSON(): string; - /** - * Returns information about this certificate using the legacy `certificate object` encoding. - * @since v15.6.0 - */ - toLegacyObject(): PeerCertificate; - /** - * Returns the PEM-encoded certificate. - * @since v15.6.0 - */ - toString(): string; - /** - * Verifies that this certificate was signed by the given public key. - * Does not perform any other validation checks on the certificate. - * @since v15.6.0 - * @param publicKey A public key. - */ - verify(publicKey: KeyObject): boolean; - } - type LargeNumberLike = NodeJS.ArrayBufferView | SharedArrayBuffer | ArrayBuffer | bigint; - interface GeneratePrimeOptions { - add?: LargeNumberLike | undefined; - rem?: LargeNumberLike | undefined; - /** - * @default false - */ - safe?: boolean | undefined; - bigint?: boolean | undefined; - } - interface GeneratePrimeOptionsBigInt extends GeneratePrimeOptions { - bigint: true; - } - interface GeneratePrimeOptionsArrayBuffer extends GeneratePrimeOptions { - bigint?: false | undefined; - } - /** - * Generates a pseudorandom prime of `size` bits. - * - * If `options.safe` is `true`, the prime will be a safe prime -- that is,`(prime - 1) / 2` will also be a prime. - * - * The `options.add` and `options.rem` parameters can be used to enforce additional - * requirements, e.g., for Diffie-Hellman: - * - * * If `options.add` and `options.rem` are both set, the prime will satisfy the - * condition that `prime % add = rem`. - * * If only `options.add` is set and `options.safe` is not `true`, the prime will - * satisfy the condition that `prime % add = 1`. - * * If only `options.add` is set and `options.safe` is set to `true`, the prime - * will instead satisfy the condition that `prime % add = 3`. This is necessary - * because `prime % add = 1` for `options.add > 2` would contradict the condition - * enforced by `options.safe`. - * * `options.rem` is ignored if `options.add` is not given. - * - * Both `options.add` and `options.rem` must be encoded as big-endian sequences - * if given as an `ArrayBuffer`, `SharedArrayBuffer`, `TypedArray`, `Buffer`, or`DataView`. - * - * By default, the prime is encoded as a big-endian sequence of octets - * in an [ArrayBuffer](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer). If the `bigint` option is `true`, then a - * [bigint](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/BigInt) is provided. - * @since v15.8.0 - * @param size The size (in bits) of the prime to generate. - */ - function generatePrime(size: number, callback: (err: Error | null, prime: ArrayBuffer) => void): void; - function generatePrime( - size: number, - options: GeneratePrimeOptionsBigInt, - callback: (err: Error | null, prime: bigint) => void, - ): void; - function generatePrime( - size: number, - options: GeneratePrimeOptionsArrayBuffer, - callback: (err: Error | null, prime: ArrayBuffer) => void, - ): void; - function generatePrime( - size: number, - options: GeneratePrimeOptions, - callback: (err: Error | null, prime: ArrayBuffer | bigint) => void, - ): void; - /** - * Generates a pseudorandom prime of `size` bits. - * - * If `options.safe` is `true`, the prime will be a safe prime -- that is,`(prime - 1) / 2` will also be a prime. - * - * The `options.add` and `options.rem` parameters can be used to enforce additional - * requirements, e.g., for Diffie-Hellman: - * - * * If `options.add` and `options.rem` are both set, the prime will satisfy the - * condition that `prime % add = rem`. - * * If only `options.add` is set and `options.safe` is not `true`, the prime will - * satisfy the condition that `prime % add = 1`. - * * If only `options.add` is set and `options.safe` is set to `true`, the prime - * will instead satisfy the condition that `prime % add = 3`. This is necessary - * because `prime % add = 1` for `options.add > 2` would contradict the condition - * enforced by `options.safe`. - * * `options.rem` is ignored if `options.add` is not given. - * - * Both `options.add` and `options.rem` must be encoded as big-endian sequences - * if given as an `ArrayBuffer`, `SharedArrayBuffer`, `TypedArray`, `Buffer`, or`DataView`. - * - * By default, the prime is encoded as a big-endian sequence of octets - * in an [ArrayBuffer](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer). If the `bigint` option is `true`, then a - * [bigint](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/BigInt) is provided. - * @since v15.8.0 - * @param size The size (in bits) of the prime to generate. - */ - function generatePrimeSync(size: number): ArrayBuffer; - function generatePrimeSync(size: number, options: GeneratePrimeOptionsBigInt): bigint; - function generatePrimeSync(size: number, options: GeneratePrimeOptionsArrayBuffer): ArrayBuffer; - function generatePrimeSync(size: number, options: GeneratePrimeOptions): ArrayBuffer | bigint; - interface CheckPrimeOptions { - /** - * The number of Miller-Rabin probabilistic primality iterations to perform. - * When the value is 0 (zero), a number of checks is used that yields a false positive rate of at most `2**-64` for random input. - * Care must be used when selecting a number of checks. - * Refer to the OpenSSL documentation for the BN_is_prime_ex function nchecks options for more details. - * - * @default 0 - */ - checks?: number | undefined; - } - /** - * Checks the primality of the `candidate`. - * @since v15.8.0 - * @param candidate A possible prime encoded as a sequence of big endian octets of arbitrary length. - */ - function checkPrime(value: LargeNumberLike, callback: (err: Error | null, result: boolean) => void): void; - function checkPrime( - value: LargeNumberLike, - options: CheckPrimeOptions, - callback: (err: Error | null, result: boolean) => void, - ): void; - /** - * Checks the primality of the `candidate`. - * @since v15.8.0 - * @param candidate A possible prime encoded as a sequence of big endian octets of arbitrary length. - * @return `true` if the candidate is a prime with an error probability less than `0.25 ** options.checks`. - */ - function checkPrimeSync(candidate: LargeNumberLike, options?: CheckPrimeOptions): boolean; - /** - * Load and set the `engine` for some or all OpenSSL functions (selected by flags). - * - * `engine` could be either an id or a path to the engine's shared library. - * - * The optional `flags` argument uses `ENGINE_METHOD_ALL` by default. The `flags`is a bit field taking one of or a mix of the following flags (defined in`crypto.constants`): - * - * * `crypto.constants.ENGINE_METHOD_RSA` - * * `crypto.constants.ENGINE_METHOD_DSA` - * * `crypto.constants.ENGINE_METHOD_DH` - * * `crypto.constants.ENGINE_METHOD_RAND` - * * `crypto.constants.ENGINE_METHOD_EC` - * * `crypto.constants.ENGINE_METHOD_CIPHERS` - * * `crypto.constants.ENGINE_METHOD_DIGESTS` - * * `crypto.constants.ENGINE_METHOD_PKEY_METHS` - * * `crypto.constants.ENGINE_METHOD_PKEY_ASN1_METHS` - * * `crypto.constants.ENGINE_METHOD_ALL` - * * `crypto.constants.ENGINE_METHOD_NONE` - * @since v0.11.11 - * @param flags - */ - function setEngine(engine: string, flags?: number): void; - /** - * A convenient alias for {@link webcrypto.getRandomValues}. This - * implementation is not compliant with the Web Crypto spec, to write - * web-compatible code use {@link webcrypto.getRandomValues} instead. - * @since v17.4.0 - * @return Returns `typedArray`. - */ - function getRandomValues(typedArray: T): T; - /** - * A convenient alias for `crypto.webcrypto.subtle`. - * @since v17.4.0 - */ - const subtle: webcrypto.SubtleCrypto; - /** - * An implementation of the Web Crypto API standard. - * - * See the {@link https://nodejs.org/docs/latest/api/webcrypto.html Web Crypto API documentation} for details. - * @since v15.0.0 - */ - const webcrypto: webcrypto.Crypto; - namespace webcrypto { - type BufferSource = ArrayBufferView | ArrayBuffer; - type KeyFormat = "jwk" | "pkcs8" | "raw" | "spki"; - type KeyType = "private" | "public" | "secret"; - type KeyUsage = - | "decrypt" - | "deriveBits" - | "deriveKey" - | "encrypt" - | "sign" - | "unwrapKey" - | "verify" - | "wrapKey"; - type AlgorithmIdentifier = Algorithm | string; - type HashAlgorithmIdentifier = AlgorithmIdentifier; - type NamedCurve = string; - type BigInteger = Uint8Array; - interface AesCbcParams extends Algorithm { - iv: BufferSource; - } - interface AesCtrParams extends Algorithm { - counter: BufferSource; - length: number; - } - interface AesDerivedKeyParams extends Algorithm { - length: number; - } - interface AesGcmParams extends Algorithm { - additionalData?: BufferSource; - iv: BufferSource; - tagLength?: number; - } - interface AesKeyAlgorithm extends KeyAlgorithm { - length: number; - } - interface AesKeyGenParams extends Algorithm { - length: number; - } - interface Algorithm { - name: string; - } - interface EcKeyAlgorithm extends KeyAlgorithm { - namedCurve: NamedCurve; - } - interface EcKeyGenParams extends Algorithm { - namedCurve: NamedCurve; - } - interface EcKeyImportParams extends Algorithm { - namedCurve: NamedCurve; - } - interface EcdhKeyDeriveParams extends Algorithm { - public: CryptoKey; - } - interface EcdsaParams extends Algorithm { - hash: HashAlgorithmIdentifier; - } - interface Ed448Params extends Algorithm { - context?: BufferSource; - } - interface HkdfParams extends Algorithm { - hash: HashAlgorithmIdentifier; - info: BufferSource; - salt: BufferSource; - } - interface HmacImportParams extends Algorithm { - hash: HashAlgorithmIdentifier; - length?: number; - } - interface HmacKeyAlgorithm extends KeyAlgorithm { - hash: KeyAlgorithm; - length: number; - } - interface HmacKeyGenParams extends Algorithm { - hash: HashAlgorithmIdentifier; - length?: number; - } - interface JsonWebKey { - alg?: string; - crv?: string; - d?: string; - dp?: string; - dq?: string; - e?: string; - ext?: boolean; - k?: string; - key_ops?: string[]; - kty?: string; - n?: string; - oth?: RsaOtherPrimesInfo[]; - p?: string; - q?: string; - qi?: string; - use?: string; - x?: string; - y?: string; - } - interface KeyAlgorithm { - name: string; - } - interface Pbkdf2Params extends Algorithm { - hash: HashAlgorithmIdentifier; - iterations: number; - salt: BufferSource; - } - interface RsaHashedImportParams extends Algorithm { - hash: HashAlgorithmIdentifier; - } - interface RsaHashedKeyAlgorithm extends RsaKeyAlgorithm { - hash: KeyAlgorithm; - } - interface RsaHashedKeyGenParams extends RsaKeyGenParams { - hash: HashAlgorithmIdentifier; - } - interface RsaKeyAlgorithm extends KeyAlgorithm { - modulusLength: number; - publicExponent: BigInteger; - } - interface RsaKeyGenParams extends Algorithm { - modulusLength: number; - publicExponent: BigInteger; - } - interface RsaOaepParams extends Algorithm { - label?: BufferSource; - } - interface RsaOtherPrimesInfo { - d?: string; - r?: string; - t?: string; - } - interface RsaPssParams extends Algorithm { - saltLength: number; - } - /** - * Calling `require('node:crypto').webcrypto` returns an instance of the `Crypto` class. - * `Crypto` is a singleton that provides access to the remainder of the crypto API. - * @since v15.0.0 - */ - interface Crypto { - /** - * Provides access to the `SubtleCrypto` API. - * @since v15.0.0 - */ - readonly subtle: SubtleCrypto; - /** - * Generates cryptographically strong random values. - * The given `typedArray` is filled with random values, and a reference to `typedArray` is returned. - * - * The given `typedArray` must be an integer-based instance of {@link NodeJS.TypedArray}, i.e. `Float32Array` and `Float64Array` are not accepted. - * - * An error will be thrown if the given `typedArray` is larger than 65,536 bytes. - * @since v15.0.0 - */ - getRandomValues>(typedArray: T): T; - /** - * Generates a random {@link https://www.rfc-editor.org/rfc/rfc4122.txt RFC 4122} version 4 UUID. - * The UUID is generated using a cryptographic pseudorandom number generator. - * @since v16.7.0 - */ - randomUUID(): UUID; - CryptoKey: CryptoKeyConstructor; - } - // This constructor throws ILLEGAL_CONSTRUCTOR so it should not be newable. - interface CryptoKeyConstructor { - /** Illegal constructor */ - (_: { readonly _: unique symbol }): never; // Allows instanceof to work but not be callable by the user. - readonly length: 0; - readonly name: "CryptoKey"; - readonly prototype: CryptoKey; - } - /** - * @since v15.0.0 - */ - interface CryptoKey { - /** - * An object detailing the algorithm for which the key can be used along with additional algorithm-specific parameters. - * @since v15.0.0 - */ - readonly algorithm: KeyAlgorithm; - /** - * When `true`, the {@link CryptoKey} can be extracted using either `subtleCrypto.exportKey()` or `subtleCrypto.wrapKey()`. - * @since v15.0.0 - */ - readonly extractable: boolean; - /** - * A string identifying whether the key is a symmetric (`'secret'`) or asymmetric (`'private'` or `'public'`) key. - * @since v15.0.0 - */ - readonly type: KeyType; - /** - * An array of strings identifying the operations for which the key may be used. - * - * The possible usages are: - * - `'encrypt'` - The key may be used to encrypt data. - * - `'decrypt'` - The key may be used to decrypt data. - * - `'sign'` - The key may be used to generate digital signatures. - * - `'verify'` - The key may be used to verify digital signatures. - * - `'deriveKey'` - The key may be used to derive a new key. - * - `'deriveBits'` - The key may be used to derive bits. - * - `'wrapKey'` - The key may be used to wrap another key. - * - `'unwrapKey'` - The key may be used to unwrap another key. - * - * Valid key usages depend on the key algorithm (identified by `cryptokey.algorithm.name`). - * @since v15.0.0 - */ - readonly usages: KeyUsage[]; - } - /** - * The `CryptoKeyPair` is a simple dictionary object with `publicKey` and `privateKey` properties, representing an asymmetric key pair. - * @since v15.0.0 - */ - interface CryptoKeyPair { - /** - * A {@link CryptoKey} whose type will be `'private'`. - * @since v15.0.0 - */ - privateKey: CryptoKey; - /** - * A {@link CryptoKey} whose type will be `'public'`. - * @since v15.0.0 - */ - publicKey: CryptoKey; - } - /** - * @since v15.0.0 - */ - interface SubtleCrypto { - /** - * Using the method and parameters specified in `algorithm` and the keying material provided by `key`, - * `subtle.decrypt()` attempts to decipher the provided `data`. If successful, - * the returned promise will be resolved with an `` containing the plaintext result. - * - * The algorithms currently supported include: - * - * - `'RSA-OAEP'` - * - `'AES-CTR'` - * - `'AES-CBC'` - * - `'AES-GCM'` - * @since v15.0.0 - */ - decrypt( - algorithm: AlgorithmIdentifier | RsaOaepParams | AesCtrParams | AesCbcParams | AesGcmParams, - key: CryptoKey, - data: BufferSource, - ): Promise; - /** - * Using the method and parameters specified in `algorithm` and the keying material provided by `baseKey`, - * `subtle.deriveBits()` attempts to generate `length` bits. - * The Node.js implementation requires that when `length` is a number it must be multiple of `8`. - * When `length` is `null` the maximum number of bits for a given algorithm is generated. This is allowed - * for the `'ECDH'`, `'X25519'`, and `'X448'` algorithms. - * If successful, the returned promise will be resolved with an `` containing the generated data. - * - * The algorithms currently supported include: - * - * - `'ECDH'` - * - `'X25519'` - * - `'X448'` - * - `'HKDF'` - * - `'PBKDF2'` - * @since v15.0.0 - */ - deriveBits(algorithm: EcdhKeyDeriveParams, baseKey: CryptoKey, length: number | null): Promise; - deriveBits( - algorithm: AlgorithmIdentifier | HkdfParams | Pbkdf2Params, - baseKey: CryptoKey, - length: number, - ): Promise; - /** - * Using the method and parameters specified in `algorithm`, and the keying material provided by `baseKey`, - * `subtle.deriveKey()` attempts to generate a new ` based on the method and parameters in `derivedKeyAlgorithm`. - * - * Calling `subtle.deriveKey()` is equivalent to calling `subtle.deriveBits()` to generate raw keying material, - * then passing the result into the `subtle.importKey()` method using the `deriveKeyAlgorithm`, `extractable`, and `keyUsages` parameters as input. - * - * The algorithms currently supported include: - * - * - `'ECDH'` - * - `'X25519'` - * - `'X448'` - * - `'HKDF'` - * - `'PBKDF2'` - * @param keyUsages See {@link https://nodejs.org/docs/latest/api/webcrypto.html#cryptokeyusages Key usages}. - * @since v15.0.0 - */ - deriveKey( - algorithm: AlgorithmIdentifier | EcdhKeyDeriveParams | HkdfParams | Pbkdf2Params, - baseKey: CryptoKey, - derivedKeyAlgorithm: - | AlgorithmIdentifier - | AesDerivedKeyParams - | HmacImportParams - | HkdfParams - | Pbkdf2Params, - extractable: boolean, - keyUsages: readonly KeyUsage[], - ): Promise; - /** - * Using the method identified by `algorithm`, `subtle.digest()` attempts to generate a digest of `data`. - * If successful, the returned promise is resolved with an `` containing the computed digest. - * - * If `algorithm` is provided as a ``, it must be one of: - * - * - `'SHA-1'` - * - `'SHA-256'` - * - `'SHA-384'` - * - `'SHA-512'` - * - * If `algorithm` is provided as an ``, it must have a `name` property whose value is one of the above. - * @since v15.0.0 - */ - digest(algorithm: AlgorithmIdentifier, data: BufferSource): Promise; - /** - * Using the method and parameters specified by `algorithm` and the keying material provided by `key`, - * `subtle.encrypt()` attempts to encipher `data`. If successful, - * the returned promise is resolved with an `` containing the encrypted result. - * - * The algorithms currently supported include: - * - * - `'RSA-OAEP'` - * - `'AES-CTR'` - * - `'AES-CBC'` - * - `'AES-GCM'` - * @since v15.0.0 - */ - encrypt( - algorithm: AlgorithmIdentifier | RsaOaepParams | AesCtrParams | AesCbcParams | AesGcmParams, - key: CryptoKey, - data: BufferSource, - ): Promise; - /** - * Exports the given key into the specified format, if supported. - * - * If the `` is not extractable, the returned promise will reject. - * - * When `format` is either `'pkcs8'` or `'spki'` and the export is successful, - * the returned promise will be resolved with an `` containing the exported key data. - * - * When `format` is `'jwk'` and the export is successful, the returned promise will be resolved with a - * JavaScript object conforming to the {@link https://tools.ietf.org/html/rfc7517 JSON Web Key} specification. - * @param format Must be one of `'raw'`, `'pkcs8'`, `'spki'`, or `'jwk'`. - * @returns `` containing ``. - * @since v15.0.0 - */ - exportKey(format: "jwk", key: CryptoKey): Promise; - exportKey(format: Exclude, key: CryptoKey): Promise; - /** - * Using the method and parameters provided in `algorithm`, - * `subtle.generateKey()` attempts to generate new keying material. - * Depending the method used, the method may generate either a single `` or a ``. - * - * The `` (public and private key) generating algorithms supported include: - * - * - `'RSASSA-PKCS1-v1_5'` - * - `'RSA-PSS'` - * - `'RSA-OAEP'` - * - `'ECDSA'` - * - `'Ed25519'` - * - `'Ed448'` - * - `'ECDH'` - * - `'X25519'` - * - `'X448'` - * The `` (secret key) generating algorithms supported include: - * - * - `'HMAC'` - * - `'AES-CTR'` - * - `'AES-CBC'` - * - `'AES-GCM'` - * - `'AES-KW'` - * @param keyUsages See {@link https://nodejs.org/docs/latest/api/webcrypto.html#cryptokeyusages Key usages}. - * @since v15.0.0 - */ - generateKey( - algorithm: RsaHashedKeyGenParams | EcKeyGenParams, - extractable: boolean, - keyUsages: readonly KeyUsage[], - ): Promise; - generateKey( - algorithm: AesKeyGenParams | HmacKeyGenParams | Pbkdf2Params, - extractable: boolean, - keyUsages: readonly KeyUsage[], - ): Promise; - generateKey( - algorithm: AlgorithmIdentifier, - extractable: boolean, - keyUsages: KeyUsage[], - ): Promise; - /** - * The `subtle.importKey()` method attempts to interpret the provided `keyData` as the given `format` - * to create a `` instance using the provided `algorithm`, `extractable`, and `keyUsages` arguments. - * If the import is successful, the returned promise will be resolved with the created ``. - * - * If importing a `'PBKDF2'` key, `extractable` must be `false`. - * @param format Must be one of `'raw'`, `'pkcs8'`, `'spki'`, or `'jwk'`. - * @param keyUsages See {@link https://nodejs.org/docs/latest/api/webcrypto.html#cryptokeyusages Key usages}. - * @since v15.0.0 - */ - importKey( - format: "jwk", - keyData: JsonWebKey, - algorithm: - | AlgorithmIdentifier - | RsaHashedImportParams - | EcKeyImportParams - | HmacImportParams - | AesKeyAlgorithm, - extractable: boolean, - keyUsages: readonly KeyUsage[], - ): Promise; - importKey( - format: Exclude, - keyData: BufferSource, - algorithm: - | AlgorithmIdentifier - | RsaHashedImportParams - | EcKeyImportParams - | HmacImportParams - | AesKeyAlgorithm, - extractable: boolean, - keyUsages: KeyUsage[], - ): Promise; - /** - * Using the method and parameters given by `algorithm` and the keying material provided by `key`, - * `subtle.sign()` attempts to generate a cryptographic signature of `data`. If successful, - * the returned promise is resolved with an `` containing the generated signature. - * - * The algorithms currently supported include: - * - * - `'RSASSA-PKCS1-v1_5'` - * - `'RSA-PSS'` - * - `'ECDSA'` - * - `'Ed25519'` - * - `'Ed448'` - * - `'HMAC'` - * @since v15.0.0 - */ - sign( - algorithm: AlgorithmIdentifier | RsaPssParams | EcdsaParams | Ed448Params, - key: CryptoKey, - data: BufferSource, - ): Promise; - /** - * In cryptography, "wrapping a key" refers to exporting and then encrypting the keying material. - * The `subtle.unwrapKey()` method attempts to decrypt a wrapped key and create a `` instance. - * It is equivalent to calling `subtle.decrypt()` first on the encrypted key data (using the `wrappedKey`, `unwrapAlgo`, and `unwrappingKey` arguments as input) - * then passing the results in to the `subtle.importKey()` method using the `unwrappedKeyAlgo`, `extractable`, and `keyUsages` arguments as inputs. - * If successful, the returned promise is resolved with a `` object. - * - * The wrapping algorithms currently supported include: - * - * - `'RSA-OAEP'` - * - `'AES-CTR'` - * - `'AES-CBC'` - * - `'AES-GCM'` - * - `'AES-KW'` - * - * The unwrapped key algorithms supported include: - * - * - `'RSASSA-PKCS1-v1_5'` - * - `'RSA-PSS'` - * - `'RSA-OAEP'` - * - `'ECDSA'` - * - `'Ed25519'` - * - `'Ed448'` - * - `'ECDH'` - * - `'X25519'` - * - `'X448'` - * - `'HMAC'` - * - `'AES-CTR'` - * - `'AES-CBC'` - * - `'AES-GCM'` - * - `'AES-KW'` - * @param format Must be one of `'raw'`, `'pkcs8'`, `'spki'`, or `'jwk'`. - * @param keyUsages See {@link https://nodejs.org/docs/latest/api/webcrypto.html#cryptokeyusages Key usages}. - * @since v15.0.0 - */ - unwrapKey( - format: KeyFormat, - wrappedKey: BufferSource, - unwrappingKey: CryptoKey, - unwrapAlgorithm: AlgorithmIdentifier | RsaOaepParams | AesCtrParams | AesCbcParams | AesGcmParams, - unwrappedKeyAlgorithm: - | AlgorithmIdentifier - | RsaHashedImportParams - | EcKeyImportParams - | HmacImportParams - | AesKeyAlgorithm, - extractable: boolean, - keyUsages: KeyUsage[], - ): Promise; - /** - * Using the method and parameters given in `algorithm` and the keying material provided by `key`, - * `subtle.verify()` attempts to verify that `signature` is a valid cryptographic signature of `data`. - * The returned promise is resolved with either `true` or `false`. - * - * The algorithms currently supported include: - * - * - `'RSASSA-PKCS1-v1_5'` - * - `'RSA-PSS'` - * - `'ECDSA'` - * - `'Ed25519'` - * - `'Ed448'` - * - `'HMAC'` - * @since v15.0.0 - */ - verify( - algorithm: AlgorithmIdentifier | RsaPssParams | EcdsaParams | Ed448Params, - key: CryptoKey, - signature: BufferSource, - data: BufferSource, - ): Promise; - /** - * In cryptography, "wrapping a key" refers to exporting and then encrypting the keying material. - * The `subtle.wrapKey()` method exports the keying material into the format identified by `format`, - * then encrypts it using the method and parameters specified by `wrapAlgo` and the keying material provided by `wrappingKey`. - * It is the equivalent to calling `subtle.exportKey()` using `format` and `key` as the arguments, - * then passing the result to the `subtle.encrypt()` method using `wrappingKey` and `wrapAlgo` as inputs. - * If successful, the returned promise will be resolved with an `` containing the encrypted key data. - * - * The wrapping algorithms currently supported include: - * - * - `'RSA-OAEP'` - * - `'AES-CTR'` - * - `'AES-CBC'` - * - `'AES-GCM'` - * - `'AES-KW'` - * @param format Must be one of `'raw'`, `'pkcs8'`, `'spki'`, or `'jwk'`. - * @since v15.0.0 - */ - wrapKey( - format: KeyFormat, - key: CryptoKey, - wrappingKey: CryptoKey, - wrapAlgorithm: AlgorithmIdentifier | RsaOaepParams | AesCtrParams | AesCbcParams | AesGcmParams, - ): Promise; - } - } - - global { - var crypto: typeof globalThis extends { - crypto: infer T; - onmessage: any; - } ? T - : webcrypto.Crypto; - } -} -declare module "node:crypto" { - export * from "crypto"; -} diff --git a/node_modules/@types/node/dgram.d.ts b/node_modules/@types/node/dgram.d.ts deleted file mode 100644 index 0b86ae7..0000000 --- a/node_modules/@types/node/dgram.d.ts +++ /dev/null @@ -1,596 +0,0 @@ -/** - * The `node:dgram` module provides an implementation of UDP datagram sockets. - * - * ```js - * import dgram from 'node:dgram'; - * - * const server = dgram.createSocket('udp4'); - * - * server.on('error', (err) => { - * console.error(`server error:\n${err.stack}`); - * server.close(); - * }); - * - * server.on('message', (msg, rinfo) => { - * console.log(`server got: ${msg} from ${rinfo.address}:${rinfo.port}`); - * }); - * - * server.on('listening', () => { - * const address = server.address(); - * console.log(`server listening ${address.address}:${address.port}`); - * }); - * - * server.bind(41234); - * // Prints: server listening 0.0.0.0:41234 - * ``` - * @see [source](https://github.com/nodejs/node/blob/v20.2.0/lib/dgram.js) - */ -declare module "dgram" { - import { AddressInfo } from "node:net"; - import * as dns from "node:dns"; - import { Abortable, EventEmitter } from "node:events"; - interface RemoteInfo { - address: string; - family: "IPv4" | "IPv6"; - port: number; - size: number; - } - interface BindOptions { - port?: number | undefined; - address?: string | undefined; - exclusive?: boolean | undefined; - fd?: number | undefined; - } - type SocketType = "udp4" | "udp6"; - interface SocketOptions extends Abortable { - type: SocketType; - reuseAddr?: boolean | undefined; - /** - * @default false - */ - ipv6Only?: boolean | undefined; - recvBufferSize?: number | undefined; - sendBufferSize?: number | undefined; - lookup?: - | (( - hostname: string, - options: dns.LookupOneOptions, - callback: (err: NodeJS.ErrnoException | null, address: string, family: number) => void, - ) => void) - | undefined; - } - /** - * Creates a `dgram.Socket` object. Once the socket is created, calling `socket.bind()` will instruct the socket to begin listening for datagram - * messages. When `address` and `port` are not passed to `socket.bind()` the - * method will bind the socket to the "all interfaces" address on a random port - * (it does the right thing for both `udp4` and `udp6` sockets). The bound address - * and port can be retrieved using `socket.address().address` and `socket.address().port`. - * - * If the `signal` option is enabled, calling `.abort()` on the corresponding`AbortController` is similar to calling `.close()` on the socket: - * - * ```js - * const controller = new AbortController(); - * const { signal } = controller; - * const server = dgram.createSocket({ type: 'udp4', signal }); - * server.on('message', (msg, rinfo) => { - * console.log(`server got: ${msg} from ${rinfo.address}:${rinfo.port}`); - * }); - * // Later, when you want to close the server. - * controller.abort(); - * ``` - * @since v0.11.13 - * @param options Available options are: - * @param callback Attached as a listener for `'message'` events. Optional. - */ - function createSocket(type: SocketType, callback?: (msg: Buffer, rinfo: RemoteInfo) => void): Socket; - function createSocket(options: SocketOptions, callback?: (msg: Buffer, rinfo: RemoteInfo) => void): Socket; - /** - * Encapsulates the datagram functionality. - * - * New instances of `dgram.Socket` are created using {@link createSocket}. - * The `new` keyword is not to be used to create `dgram.Socket` instances. - * @since v0.1.99 - */ - class Socket extends EventEmitter { - /** - * Tells the kernel to join a multicast group at the given `multicastAddress` and`multicastInterface` using the `IP_ADD_MEMBERSHIP` socket option. If the`multicastInterface` argument is not - * specified, the operating system will choose - * one interface and will add membership to it. To add membership to every - * available interface, call `addMembership` multiple times, once per interface. - * - * When called on an unbound socket, this method will implicitly bind to a random - * port, listening on all interfaces. - * - * When sharing a UDP socket across multiple `cluster` workers, the`socket.addMembership()` function must be called only once or an`EADDRINUSE` error will occur: - * - * ```js - * import cluster from 'node:cluster'; - * import dgram from 'node:dgram'; - * - * if (cluster.isPrimary) { - * cluster.fork(); // Works ok. - * cluster.fork(); // Fails with EADDRINUSE. - * } else { - * const s = dgram.createSocket('udp4'); - * s.bind(1234, () => { - * s.addMembership('224.0.0.114'); - * }); - * } - * ``` - * @since v0.6.9 - */ - addMembership(multicastAddress: string, multicastInterface?: string): void; - /** - * Returns an object containing the address information for a socket. - * For UDP sockets, this object will contain `address`, `family`, and `port`properties. - * - * This method throws `EBADF` if called on an unbound socket. - * @since v0.1.99 - */ - address(): AddressInfo; - /** - * For UDP sockets, causes the `dgram.Socket` to listen for datagram - * messages on a named `port` and optional `address`. If `port` is not - * specified or is `0`, the operating system will attempt to bind to a - * random port. If `address` is not specified, the operating system will - * attempt to listen on all addresses. Once binding is complete, a`'listening'` event is emitted and the optional `callback` function is - * called. - * - * Specifying both a `'listening'` event listener and passing a`callback` to the `socket.bind()` method is not harmful but not very - * useful. - * - * A bound datagram socket keeps the Node.js process running to receive - * datagram messages. - * - * If binding fails, an `'error'` event is generated. In rare case (e.g. - * attempting to bind with a closed socket), an `Error` may be thrown. - * - * Example of a UDP server listening on port 41234: - * - * ```js - * import dgram from 'node:dgram'; - * - * const server = dgram.createSocket('udp4'); - * - * server.on('error', (err) => { - * console.error(`server error:\n${err.stack}`); - * server.close(); - * }); - * - * server.on('message', (msg, rinfo) => { - * console.log(`server got: ${msg} from ${rinfo.address}:${rinfo.port}`); - * }); - * - * server.on('listening', () => { - * const address = server.address(); - * console.log(`server listening ${address.address}:${address.port}`); - * }); - * - * server.bind(41234); - * // Prints: server listening 0.0.0.0:41234 - * ``` - * @since v0.1.99 - * @param callback with no parameters. Called when binding is complete. - */ - bind(port?: number, address?: string, callback?: () => void): this; - bind(port?: number, callback?: () => void): this; - bind(callback?: () => void): this; - bind(options: BindOptions, callback?: () => void): this; - /** - * Close the underlying socket and stop listening for data on it. If a callback is - * provided, it is added as a listener for the `'close'` event. - * @since v0.1.99 - * @param callback Called when the socket has been closed. - */ - close(callback?: () => void): this; - /** - * Associates the `dgram.Socket` to a remote address and port. Every - * message sent by this handle is automatically sent to that destination. Also, - * the socket will only receive messages from that remote peer. - * Trying to call `connect()` on an already connected socket will result - * in an `ERR_SOCKET_DGRAM_IS_CONNECTED` exception. If `address` is not - * provided, `'127.0.0.1'` (for `udp4` sockets) or `'::1'` (for `udp6` sockets) - * will be used by default. Once the connection is complete, a `'connect'` event - * is emitted and the optional `callback` function is called. In case of failure, - * the `callback` is called or, failing this, an `'error'` event is emitted. - * @since v12.0.0 - * @param callback Called when the connection is completed or on error. - */ - connect(port: number, address?: string, callback?: () => void): void; - connect(port: number, callback: () => void): void; - /** - * A synchronous function that disassociates a connected `dgram.Socket` from - * its remote address. Trying to call `disconnect()` on an unbound or already - * disconnected socket will result in an `ERR_SOCKET_DGRAM_NOT_CONNECTED` exception. - * @since v12.0.0 - */ - disconnect(): void; - /** - * Instructs the kernel to leave a multicast group at `multicastAddress` using the`IP_DROP_MEMBERSHIP` socket option. This method is automatically called by the - * kernel when the socket is closed or the process terminates, so most apps will - * never have reason to call this. - * - * If `multicastInterface` is not specified, the operating system will attempt to - * drop membership on all valid interfaces. - * @since v0.6.9 - */ - dropMembership(multicastAddress: string, multicastInterface?: string): void; - /** - * This method throws `ERR_SOCKET_BUFFER_SIZE` if called on an unbound socket. - * @since v8.7.0 - * @return the `SO_RCVBUF` socket receive buffer size in bytes. - */ - getRecvBufferSize(): number; - /** - * This method throws `ERR_SOCKET_BUFFER_SIZE` if called on an unbound socket. - * @since v8.7.0 - * @return the `SO_SNDBUF` socket send buffer size in bytes. - */ - getSendBufferSize(): number; - /** - * @since v18.8.0, v16.19.0 - * @return Number of bytes queued for sending. - */ - getSendQueueSize(): number; - /** - * @since v18.8.0, v16.19.0 - * @return Number of send requests currently in the queue awaiting to be processed. - */ - getSendQueueCount(): number; - /** - * By default, binding a socket will cause it to block the Node.js process from - * exiting as long as the socket is open. The `socket.unref()` method can be used - * to exclude the socket from the reference counting that keeps the Node.js - * process active. The `socket.ref()` method adds the socket back to the reference - * counting and restores the default behavior. - * - * Calling `socket.ref()` multiples times will have no additional effect. - * - * The `socket.ref()` method returns a reference to the socket so calls can be - * chained. - * @since v0.9.1 - */ - ref(): this; - /** - * Returns an object containing the `address`, `family`, and `port` of the remote - * endpoint. This method throws an `ERR_SOCKET_DGRAM_NOT_CONNECTED` exception - * if the socket is not connected. - * @since v12.0.0 - */ - remoteAddress(): AddressInfo; - /** - * Broadcasts a datagram on the socket. - * For connectionless sockets, the destination `port` and `address` must be - * specified. Connected sockets, on the other hand, will use their associated - * remote endpoint, so the `port` and `address` arguments must not be set. - * - * The `msg` argument contains the message to be sent. - * Depending on its type, different behavior can apply. If `msg` is a `Buffer`, - * any `TypedArray` or a `DataView`, - * the `offset` and `length` specify the offset within the `Buffer` where the - * message begins and the number of bytes in the message, respectively. - * If `msg` is a `String`, then it is automatically converted to a `Buffer`with `'utf8'` encoding. With messages that - * contain multi-byte characters, `offset` and `length` will be calculated with - * respect to `byte length` and not the character position. - * If `msg` is an array, `offset` and `length` must not be specified. - * - * The `address` argument is a string. If the value of `address` is a host name, - * DNS will be used to resolve the address of the host. If `address` is not - * provided or otherwise nullish, `'127.0.0.1'` (for `udp4` sockets) or `'::1'`(for `udp6` sockets) will be used by default. - * - * If the socket has not been previously bound with a call to `bind`, the socket - * is assigned a random port number and is bound to the "all interfaces" address - * (`'0.0.0.0'` for `udp4` sockets, `'::0'` for `udp6` sockets.) - * - * An optional `callback` function may be specified to as a way of reporting - * DNS errors or for determining when it is safe to reuse the `buf` object. - * DNS lookups delay the time to send for at least one tick of the - * Node.js event loop. - * - * The only way to know for sure that the datagram has been sent is by using a`callback`. If an error occurs and a `callback` is given, the error will be - * passed as the first argument to the `callback`. If a `callback` is not given, - * the error is emitted as an `'error'` event on the `socket` object. - * - * Offset and length are optional but both _must_ be set if either are used. - * They are supported only when the first argument is a `Buffer`, a `TypedArray`, - * or a `DataView`. - * - * This method throws `ERR_SOCKET_BAD_PORT` if called on an unbound socket. - * - * Example of sending a UDP packet to a port on `localhost`; - * - * ```js - * import dgram from 'node:dgram'; - * import { Buffer } from 'node:buffer'; - * - * const message = Buffer.from('Some bytes'); - * const client = dgram.createSocket('udp4'); - * client.send(message, 41234, 'localhost', (err) => { - * client.close(); - * }); - * ``` - * - * Example of sending a UDP packet composed of multiple buffers to a port on`127.0.0.1`; - * - * ```js - * import dgram from 'node:dgram'; - * import { Buffer } from 'node:buffer'; - * - * const buf1 = Buffer.from('Some '); - * const buf2 = Buffer.from('bytes'); - * const client = dgram.createSocket('udp4'); - * client.send([buf1, buf2], 41234, (err) => { - * client.close(); - * }); - * ``` - * - * Sending multiple buffers might be faster or slower depending on the - * application and operating system. Run benchmarks to - * determine the optimal strategy on a case-by-case basis. Generally speaking, - * however, sending multiple buffers is faster. - * - * Example of sending a UDP packet using a socket connected to a port on`localhost`: - * - * ```js - * import dgram from 'node:dgram'; - * import { Buffer } from 'node:buffer'; - * - * const message = Buffer.from('Some bytes'); - * const client = dgram.createSocket('udp4'); - * client.connect(41234, 'localhost', (err) => { - * client.send(message, (err) => { - * client.close(); - * }); - * }); - * ``` - * @since v0.1.99 - * @param msg Message to be sent. - * @param offset Offset in the buffer where the message starts. - * @param length Number of bytes in the message. - * @param port Destination port. - * @param address Destination host name or IP address. - * @param callback Called when the message has been sent. - */ - send( - msg: string | Uint8Array | readonly any[], - port?: number, - address?: string, - callback?: (error: Error | null, bytes: number) => void, - ): void; - send( - msg: string | Uint8Array | readonly any[], - port?: number, - callback?: (error: Error | null, bytes: number) => void, - ): void; - send( - msg: string | Uint8Array | readonly any[], - callback?: (error: Error | null, bytes: number) => void, - ): void; - send( - msg: string | Uint8Array, - offset: number, - length: number, - port?: number, - address?: string, - callback?: (error: Error | null, bytes: number) => void, - ): void; - send( - msg: string | Uint8Array, - offset: number, - length: number, - port?: number, - callback?: (error: Error | null, bytes: number) => void, - ): void; - send( - msg: string | Uint8Array, - offset: number, - length: number, - callback?: (error: Error | null, bytes: number) => void, - ): void; - /** - * Sets or clears the `SO_BROADCAST` socket option. When set to `true`, UDP - * packets may be sent to a local interface's broadcast address. - * - * This method throws `EBADF` if called on an unbound socket. - * @since v0.6.9 - */ - setBroadcast(flag: boolean): void; - /** - * _All references to scope in this section are referring to [IPv6 Zone Indices](https://en.wikipedia.org/wiki/IPv6_address#Scoped_literal_IPv6_addresses), which are defined by [RFC - * 4007](https://tools.ietf.org/html/rfc4007). In string form, an IP_ - * _with a scope index is written as `'IP%scope'` where scope is an interface name_ - * _or interface number._ - * - * Sets the default outgoing multicast interface of the socket to a chosen - * interface or back to system interface selection. The `multicastInterface` must - * be a valid string representation of an IP from the socket's family. - * - * For IPv4 sockets, this should be the IP configured for the desired physical - * interface. All packets sent to multicast on the socket will be sent on the - * interface determined by the most recent successful use of this call. - * - * For IPv6 sockets, `multicastInterface` should include a scope to indicate the - * interface as in the examples that follow. In IPv6, individual `send` calls can - * also use explicit scope in addresses, so only packets sent to a multicast - * address without specifying an explicit scope are affected by the most recent - * successful use of this call. - * - * This method throws `EBADF` if called on an unbound socket. - * - * #### Example: IPv6 outgoing multicast interface - * - * On most systems, where scope format uses the interface name: - * - * ```js - * const socket = dgram.createSocket('udp6'); - * - * socket.bind(1234, () => { - * socket.setMulticastInterface('::%eth1'); - * }); - * ``` - * - * On Windows, where scope format uses an interface number: - * - * ```js - * const socket = dgram.createSocket('udp6'); - * - * socket.bind(1234, () => { - * socket.setMulticastInterface('::%2'); - * }); - * ``` - * - * #### Example: IPv4 outgoing multicast interface - * - * All systems use an IP of the host on the desired physical interface: - * - * ```js - * const socket = dgram.createSocket('udp4'); - * - * socket.bind(1234, () => { - * socket.setMulticastInterface('10.0.0.2'); - * }); - * ``` - * @since v8.6.0 - */ - setMulticastInterface(multicastInterface: string): void; - /** - * Sets or clears the `IP_MULTICAST_LOOP` socket option. When set to `true`, - * multicast packets will also be received on the local interface. - * - * This method throws `EBADF` if called on an unbound socket. - * @since v0.3.8 - */ - setMulticastLoopback(flag: boolean): boolean; - /** - * Sets the `IP_MULTICAST_TTL` socket option. While TTL generally stands for - * "Time to Live", in this context it specifies the number of IP hops that a - * packet is allowed to travel through, specifically for multicast traffic. Each - * router or gateway that forwards a packet decrements the TTL. If the TTL is - * decremented to 0 by a router, it will not be forwarded. - * - * The `ttl` argument may be between 0 and 255\. The default on most systems is `1`. - * - * This method throws `EBADF` if called on an unbound socket. - * @since v0.3.8 - */ - setMulticastTTL(ttl: number): number; - /** - * Sets the `SO_RCVBUF` socket option. Sets the maximum socket receive buffer - * in bytes. - * - * This method throws `ERR_SOCKET_BUFFER_SIZE` if called on an unbound socket. - * @since v8.7.0 - */ - setRecvBufferSize(size: number): void; - /** - * Sets the `SO_SNDBUF` socket option. Sets the maximum socket send buffer - * in bytes. - * - * This method throws `ERR_SOCKET_BUFFER_SIZE` if called on an unbound socket. - * @since v8.7.0 - */ - setSendBufferSize(size: number): void; - /** - * Sets the `IP_TTL` socket option. While TTL generally stands for "Time to Live", - * in this context it specifies the number of IP hops that a packet is allowed to - * travel through. Each router or gateway that forwards a packet decrements the - * TTL. If the TTL is decremented to 0 by a router, it will not be forwarded. - * Changing TTL values is typically done for network probes or when multicasting. - * - * The `ttl` argument may be between 1 and 255\. The default on most systems - * is 64. - * - * This method throws `EBADF` if called on an unbound socket. - * @since v0.1.101 - */ - setTTL(ttl: number): number; - /** - * By default, binding a socket will cause it to block the Node.js process from - * exiting as long as the socket is open. The `socket.unref()` method can be used - * to exclude the socket from the reference counting that keeps the Node.js - * process active, allowing the process to exit even if the socket is still - * listening. - * - * Calling `socket.unref()` multiple times will have no additional effect. - * - * The `socket.unref()` method returns a reference to the socket so calls can be - * chained. - * @since v0.9.1 - */ - unref(): this; - /** - * Tells the kernel to join a source-specific multicast channel at the given`sourceAddress` and `groupAddress`, using the `multicastInterface` with the`IP_ADD_SOURCE_MEMBERSHIP` socket - * option. If the `multicastInterface` argument - * is not specified, the operating system will choose one interface and will add - * membership to it. To add membership to every available interface, call`socket.addSourceSpecificMembership()` multiple times, once per interface. - * - * When called on an unbound socket, this method will implicitly bind to a random - * port, listening on all interfaces. - * @since v13.1.0, v12.16.0 - */ - addSourceSpecificMembership(sourceAddress: string, groupAddress: string, multicastInterface?: string): void; - /** - * Instructs the kernel to leave a source-specific multicast channel at the given`sourceAddress` and `groupAddress` using the `IP_DROP_SOURCE_MEMBERSHIP`socket option. This method is - * automatically called by the kernel when the - * socket is closed or the process terminates, so most apps will never have - * reason to call this. - * - * If `multicastInterface` is not specified, the operating system will attempt to - * drop membership on all valid interfaces. - * @since v13.1.0, v12.16.0 - */ - dropSourceSpecificMembership(sourceAddress: string, groupAddress: string, multicastInterface?: string): void; - /** - * events.EventEmitter - * 1. close - * 2. connect - * 3. error - * 4. listening - * 5. message - */ - addListener(event: string, listener: (...args: any[]) => void): this; - addListener(event: "close", listener: () => void): this; - addListener(event: "connect", listener: () => void): this; - addListener(event: "error", listener: (err: Error) => void): this; - addListener(event: "listening", listener: () => void): this; - addListener(event: "message", listener: (msg: Buffer, rinfo: RemoteInfo) => void): this; - emit(event: string | symbol, ...args: any[]): boolean; - emit(event: "close"): boolean; - emit(event: "connect"): boolean; - emit(event: "error", err: Error): boolean; - emit(event: "listening"): boolean; - emit(event: "message", msg: Buffer, rinfo: RemoteInfo): boolean; - on(event: string, listener: (...args: any[]) => void): this; - on(event: "close", listener: () => void): this; - on(event: "connect", listener: () => void): this; - on(event: "error", listener: (err: Error) => void): this; - on(event: "listening", listener: () => void): this; - on(event: "message", listener: (msg: Buffer, rinfo: RemoteInfo) => void): this; - once(event: string, listener: (...args: any[]) => void): this; - once(event: "close", listener: () => void): this; - once(event: "connect", listener: () => void): this; - once(event: "error", listener: (err: Error) => void): this; - once(event: "listening", listener: () => void): this; - once(event: "message", listener: (msg: Buffer, rinfo: RemoteInfo) => void): this; - prependListener(event: string, listener: (...args: any[]) => void): this; - prependListener(event: "close", listener: () => void): this; - prependListener(event: "connect", listener: () => void): this; - prependListener(event: "error", listener: (err: Error) => void): this; - prependListener(event: "listening", listener: () => void): this; - prependListener(event: "message", listener: (msg: Buffer, rinfo: RemoteInfo) => void): this; - prependOnceListener(event: string, listener: (...args: any[]) => void): this; - prependOnceListener(event: "close", listener: () => void): this; - prependOnceListener(event: "connect", listener: () => void): this; - prependOnceListener(event: "error", listener: (err: Error) => void): this; - prependOnceListener(event: "listening", listener: () => void): this; - prependOnceListener(event: "message", listener: (msg: Buffer, rinfo: RemoteInfo) => void): this; - /** - * Calls `socket.close()` and returns a promise that fulfills when the socket has closed. - * @since v20.5.0 - */ - [Symbol.asyncDispose](): Promise; - } -} -declare module "node:dgram" { - export * from "dgram"; -} diff --git a/node_modules/@types/node/diagnostics_channel.d.ts b/node_modules/@types/node/diagnostics_channel.d.ts deleted file mode 100644 index cd4bd71..0000000 --- a/node_modules/@types/node/diagnostics_channel.d.ts +++ /dev/null @@ -1,545 +0,0 @@ -/** - * The `node:diagnostics_channel` module provides an API to create named channels - * to report arbitrary message data for diagnostics purposes. - * - * It can be accessed using: - * - * ```js - * import diagnostics_channel from 'node:diagnostics_channel'; - * ``` - * - * It is intended that a module writer wanting to report diagnostics messages - * will create one or many top-level channels to report messages through. - * Channels may also be acquired at runtime but it is not encouraged - * due to the additional overhead of doing so. Channels may be exported for - * convenience, but as long as the name is known it can be acquired anywhere. - * - * If you intend for your module to produce diagnostics data for others to - * consume it is recommended that you include documentation of what named - * channels are used along with the shape of the message data. Channel names - * should generally include the module name to avoid collisions with data from - * other modules. - * @since v15.1.0, v14.17.0 - * @see [source](https://github.com/nodejs/node/blob/v20.2.0/lib/diagnostics_channel.js) - */ -declare module "diagnostics_channel" { - import { AsyncLocalStorage } from "node:async_hooks"; - /** - * Check if there are active subscribers to the named channel. This is helpful if - * the message you want to send might be expensive to prepare. - * - * This API is optional but helpful when trying to publish messages from very - * performance-sensitive code. - * - * ```js - * import diagnostics_channel from 'node:diagnostics_channel'; - * - * if (diagnostics_channel.hasSubscribers('my-channel')) { - * // There are subscribers, prepare and publish message - * } - * ``` - * @since v15.1.0, v14.17.0 - * @param name The channel name - * @return If there are active subscribers - */ - function hasSubscribers(name: string | symbol): boolean; - /** - * This is the primary entry-point for anyone wanting to publish to a named - * channel. It produces a channel object which is optimized to reduce overhead at - * publish time as much as possible. - * - * ```js - * import diagnostics_channel from 'node:diagnostics_channel'; - * - * const channel = diagnostics_channel.channel('my-channel'); - * ``` - * @since v15.1.0, v14.17.0 - * @param name The channel name - * @return The named channel object - */ - function channel(name: string | symbol): Channel; - type ChannelListener = (message: unknown, name: string | symbol) => void; - /** - * Register a message handler to subscribe to this channel. This message handler - * will be run synchronously whenever a message is published to the channel. Any - * errors thrown in the message handler will trigger an `'uncaughtException'`. - * - * ```js - * import diagnostics_channel from 'node:diagnostics_channel'; - * - * diagnostics_channel.subscribe('my-channel', (message, name) => { - * // Received data - * }); - * ``` - * @since v18.7.0, v16.17.0 - * @param name The channel name - * @param onMessage The handler to receive channel messages - */ - function subscribe(name: string | symbol, onMessage: ChannelListener): void; - /** - * Remove a message handler previously registered to this channel with {@link subscribe}. - * - * ```js - * import diagnostics_channel from 'node:diagnostics_channel'; - * - * function onMessage(message, name) { - * // Received data - * } - * - * diagnostics_channel.subscribe('my-channel', onMessage); - * - * diagnostics_channel.unsubscribe('my-channel', onMessage); - * ``` - * @since v18.7.0, v16.17.0 - * @param name The channel name - * @param onMessage The previous subscribed handler to remove - * @return `true` if the handler was found, `false` otherwise. - */ - function unsubscribe(name: string | symbol, onMessage: ChannelListener): boolean; - /** - * Creates a `TracingChannel` wrapper for the given `TracingChannel Channels`. If a name is given, the corresponding tracing - * channels will be created in the form of `tracing:${name}:${eventType}` where`eventType` corresponds to the types of `TracingChannel Channels`. - * - * ```js - * import diagnostics_channel from 'node:diagnostics_channel'; - * - * const channelsByName = diagnostics_channel.tracingChannel('my-channel'); - * - * // or... - * - * const channelsByCollection = diagnostics_channel.tracingChannel({ - * start: diagnostics_channel.channel('tracing:my-channel:start'), - * end: diagnostics_channel.channel('tracing:my-channel:end'), - * asyncStart: diagnostics_channel.channel('tracing:my-channel:asyncStart'), - * asyncEnd: diagnostics_channel.channel('tracing:my-channel:asyncEnd'), - * error: diagnostics_channel.channel('tracing:my-channel:error'), - * }); - * ``` - * @since v19.9.0 - * @experimental - * @param nameOrChannels Channel name or object containing all the `TracingChannel Channels` - * @return Collection of channels to trace with - */ - function tracingChannel< - StoreType = unknown, - ContextType extends object = StoreType extends object ? StoreType : object, - >( - nameOrChannels: string | TracingChannelCollection, - ): TracingChannel; - /** - * The class `Channel` represents an individual named channel within the data - * pipeline. It is used to track subscribers and to publish messages when there - * are subscribers present. It exists as a separate object to avoid channel - * lookups at publish time, enabling very fast publish speeds and allowing - * for heavy use while incurring very minimal cost. Channels are created with {@link channel}, constructing a channel directly - * with `new Channel(name)` is not supported. - * @since v15.1.0, v14.17.0 - */ - class Channel { - readonly name: string | symbol; - /** - * Check if there are active subscribers to this channel. This is helpful if - * the message you want to send might be expensive to prepare. - * - * This API is optional but helpful when trying to publish messages from very - * performance-sensitive code. - * - * ```js - * import diagnostics_channel from 'node:diagnostics_channel'; - * - * const channel = diagnostics_channel.channel('my-channel'); - * - * if (channel.hasSubscribers) { - * // There are subscribers, prepare and publish message - * } - * ``` - * @since v15.1.0, v14.17.0 - */ - readonly hasSubscribers: boolean; - private constructor(name: string | symbol); - /** - * Publish a message to any subscribers to the channel. This will trigger - * message handlers synchronously so they will execute within the same context. - * - * ```js - * import diagnostics_channel from 'node:diagnostics_channel'; - * - * const channel = diagnostics_channel.channel('my-channel'); - * - * channel.publish({ - * some: 'message', - * }); - * ``` - * @since v15.1.0, v14.17.0 - * @param message The message to send to the channel subscribers - */ - publish(message: unknown): void; - /** - * Register a message handler to subscribe to this channel. This message handler - * will be run synchronously whenever a message is published to the channel. Any - * errors thrown in the message handler will trigger an `'uncaughtException'`. - * - * ```js - * import diagnostics_channel from 'node:diagnostics_channel'; - * - * const channel = diagnostics_channel.channel('my-channel'); - * - * channel.subscribe((message, name) => { - * // Received data - * }); - * ``` - * @since v15.1.0, v14.17.0 - * @deprecated Since v18.7.0,v16.17.0 - Use {@link subscribe(name, onMessage)} - * @param onMessage The handler to receive channel messages - */ - subscribe(onMessage: ChannelListener): void; - /** - * Remove a message handler previously registered to this channel with `channel.subscribe(onMessage)`. - * - * ```js - * import diagnostics_channel from 'node:diagnostics_channel'; - * - * const channel = diagnostics_channel.channel('my-channel'); - * - * function onMessage(message, name) { - * // Received data - * } - * - * channel.subscribe(onMessage); - * - * channel.unsubscribe(onMessage); - * ``` - * @since v15.1.0, v14.17.0 - * @deprecated Since v18.7.0,v16.17.0 - Use {@link unsubscribe(name, onMessage)} - * @param onMessage The previous subscribed handler to remove - * @return `true` if the handler was found, `false` otherwise. - */ - unsubscribe(onMessage: ChannelListener): void; - /** - * When `channel.runStores(context, ...)` is called, the given context data - * will be applied to any store bound to the channel. If the store has already been - * bound the previous `transform` function will be replaced with the new one. - * The `transform` function may be omitted to set the given context data as the - * context directly. - * - * ```js - * import diagnostics_channel from 'node:diagnostics_channel'; - * import { AsyncLocalStorage } from 'node:async_hooks'; - * - * const store = new AsyncLocalStorage(); - * - * const channel = diagnostics_channel.channel('my-channel'); - * - * channel.bindStore(store, (data) => { - * return { data }; - * }); - * ``` - * @since v19.9.0 - * @experimental - * @param store The store to which to bind the context data - * @param transform Transform context data before setting the store context - */ - bindStore(store: AsyncLocalStorage, transform?: (context: ContextType) => StoreType): void; - /** - * Remove a message handler previously registered to this channel with `channel.bindStore(store)`. - * - * ```js - * import diagnostics_channel from 'node:diagnostics_channel'; - * import { AsyncLocalStorage } from 'node:async_hooks'; - * - * const store = new AsyncLocalStorage(); - * - * const channel = diagnostics_channel.channel('my-channel'); - * - * channel.bindStore(store); - * channel.unbindStore(store); - * ``` - * @since v19.9.0 - * @experimental - * @param store The store to unbind from the channel. - * @return `true` if the store was found, `false` otherwise. - */ - unbindStore(store: any): void; - /** - * Applies the given data to any AsyncLocalStorage instances bound to the channel - * for the duration of the given function, then publishes to the channel within - * the scope of that data is applied to the stores. - * - * If a transform function was given to `channel.bindStore(store)` it will be - * applied to transform the message data before it becomes the context value for - * the store. The prior storage context is accessible from within the transform - * function in cases where context linking is required. - * - * The context applied to the store should be accessible in any async code which - * continues from execution which began during the given function, however - * there are some situations in which `context loss` may occur. - * - * ```js - * import diagnostics_channel from 'node:diagnostics_channel'; - * import { AsyncLocalStorage } from 'node:async_hooks'; - * - * const store = new AsyncLocalStorage(); - * - * const channel = diagnostics_channel.channel('my-channel'); - * - * channel.bindStore(store, (message) => { - * const parent = store.getStore(); - * return new Span(message, parent); - * }); - * channel.runStores({ some: 'message' }, () => { - * store.getStore(); // Span({ some: 'message' }) - * }); - * ``` - * @since v19.9.0 - * @experimental - * @param context Message to send to subscribers and bind to stores - * @param fn Handler to run within the entered storage context - * @param thisArg The receiver to be used for the function call. - * @param args Optional arguments to pass to the function. - */ - runStores(): void; - } - interface TracingChannelSubscribers { - start: (message: ContextType) => void; - end: ( - message: ContextType & { - error?: unknown; - result?: unknown; - }, - ) => void; - asyncStart: ( - message: ContextType & { - error?: unknown; - result?: unknown; - }, - ) => void; - asyncEnd: ( - message: ContextType & { - error?: unknown; - result?: unknown; - }, - ) => void; - error: ( - message: ContextType & { - error: unknown; - }, - ) => void; - } - interface TracingChannelCollection { - start: Channel; - end: Channel; - asyncStart: Channel; - asyncEnd: Channel; - error: Channel; - } - /** - * The class `TracingChannel` is a collection of `TracingChannel Channels` which - * together express a single traceable action. It is used to formalize and - * simplify the process of producing events for tracing application flow.{@link tracingChannel} is used to construct a`TracingChannel`. As with `Channel` it is recommended to create and reuse a - * single `TracingChannel` at the top-level of the file rather than creating them - * dynamically. - * @since v19.9.0 - * @experimental - */ - class TracingChannel implements TracingChannelCollection { - start: Channel; - end: Channel; - asyncStart: Channel; - asyncEnd: Channel; - error: Channel; - /** - * Helper to subscribe a collection of functions to the corresponding channels. - * This is the same as calling `channel.subscribe(onMessage)` on each channel - * individually. - * - * ```js - * import diagnostics_channel from 'node:diagnostics_channel'; - * - * const channels = diagnostics_channel.tracingChannel('my-channel'); - * - * channels.subscribe({ - * start(message) { - * // Handle start message - * }, - * end(message) { - * // Handle end message - * }, - * asyncStart(message) { - * // Handle asyncStart message - * }, - * asyncEnd(message) { - * // Handle asyncEnd message - * }, - * error(message) { - * // Handle error message - * }, - * }); - * ``` - * @since v19.9.0 - * @experimental - * @param subscribers Set of `TracingChannel Channels` subscribers - */ - subscribe(subscribers: TracingChannelSubscribers): void; - /** - * Helper to unsubscribe a collection of functions from the corresponding channels. - * This is the same as calling `channel.unsubscribe(onMessage)` on each channel - * individually. - * - * ```js - * import diagnostics_channel from 'node:diagnostics_channel'; - * - * const channels = diagnostics_channel.tracingChannel('my-channel'); - * - * channels.unsubscribe({ - * start(message) { - * // Handle start message - * }, - * end(message) { - * // Handle end message - * }, - * asyncStart(message) { - * // Handle asyncStart message - * }, - * asyncEnd(message) { - * // Handle asyncEnd message - * }, - * error(message) { - * // Handle error message - * }, - * }); - * ``` - * @since v19.9.0 - * @experimental - * @param subscribers Set of `TracingChannel Channels` subscribers - * @return `true` if all handlers were successfully unsubscribed, and `false` otherwise. - */ - unsubscribe(subscribers: TracingChannelSubscribers): void; - /** - * Trace a synchronous function call. This will always produce a `start event` and `end event` around the execution and may produce an `error event` if the given function throws an error. - * This will run the given function using `channel.runStores(context, ...)` on the `start` channel which ensures all - * events should have any bound stores set to match this trace context. - * - * ```js - * import diagnostics_channel from 'node:diagnostics_channel'; - * - * const channels = diagnostics_channel.tracingChannel('my-channel'); - * - * channels.traceSync(() => { - * // Do something - * }, { - * some: 'thing', - * }); - * ``` - * @since v19.9.0 - * @experimental - * @param fn Function to wrap a trace around - * @param context Shared object to correlate events through - * @param thisArg The receiver to be used for the function call - * @param args Optional arguments to pass to the function - * @return The return value of the given function - */ - traceSync( - fn: (this: ThisArg, ...args: Args) => any, - context?: ContextType, - thisArg?: ThisArg, - ...args: Args - ): void; - /** - * Trace a promise-returning function call. This will always produce a `start event` and `end event` around the synchronous portion of the - * function execution, and will produce an `asyncStart event` and `asyncEnd event` when a promise continuation is reached. It may also - * produce an `error event` if the given function throws an error or the - * returned promise rejects. This will run the given function using `channel.runStores(context, ...)` on the `start` channel which ensures all - * events should have any bound stores set to match this trace context. - * - * ```js - * import diagnostics_channel from 'node:diagnostics_channel'; - * - * const channels = diagnostics_channel.tracingChannel('my-channel'); - * - * channels.tracePromise(async () => { - * // Do something - * }, { - * some: 'thing', - * }); - * ``` - * @since v19.9.0 - * @experimental - * @param fn Promise-returning function to wrap a trace around - * @param context Shared object to correlate trace events through - * @param thisArg The receiver to be used for the function call - * @param args Optional arguments to pass to the function - * @return Chained from promise returned by the given function - */ - tracePromise( - fn: (this: ThisArg, ...args: Args) => Promise, - context?: ContextType, - thisArg?: ThisArg, - ...args: Args - ): void; - /** - * Trace a callback-receiving function call. This will always produce a `start event` and `end event` around the synchronous portion of the - * function execution, and will produce a `asyncStart event` and `asyncEnd event` around the callback execution. It may also produce an `error event` if the given function throws an error or - * the returned - * promise rejects. This will run the given function using `channel.runStores(context, ...)` on the `start` channel which ensures all - * events should have any bound stores set to match this trace context. - * - * The `position` will be -1 by default to indicate the final argument should - * be used as the callback. - * - * ```js - * import diagnostics_channel from 'node:diagnostics_channel'; - * - * const channels = diagnostics_channel.tracingChannel('my-channel'); - * - * channels.traceCallback((arg1, callback) => { - * // Do something - * callback(null, 'result'); - * }, 1, { - * some: 'thing', - * }, thisArg, arg1, callback); - * ``` - * - * The callback will also be run with `channel.runStores(context, ...)` which - * enables context loss recovery in some cases. - * - * ```js - * import diagnostics_channel from 'node:diagnostics_channel'; - * import { AsyncLocalStorage } from 'node:async_hooks'; - * - * const channels = diagnostics_channel.tracingChannel('my-channel'); - * const myStore = new AsyncLocalStorage(); - * - * // The start channel sets the initial store data to something - * // and stores that store data value on the trace context object - * channels.start.bindStore(myStore, (data) => { - * const span = new Span(data); - * data.span = span; - * return span; - * }); - * - * // Then asyncStart can restore from that data it stored previously - * channels.asyncStart.bindStore(myStore, (data) => { - * return data.span; - * }); - * ``` - * @since v19.9.0 - * @experimental - * @param fn callback using function to wrap a trace around - * @param position Zero-indexed argument position of expected callback - * @param context Shared object to correlate trace events through - * @param thisArg The receiver to be used for the function call - * @param args Optional arguments to pass to the function - * @return The return value of the given function - */ - traceCallback any>( - fn: Fn, - position: number | undefined, - context: ContextType | undefined, - thisArg: any, - ...args: Parameters - ): void; - } -} -declare module "node:diagnostics_channel" { - export * from "diagnostics_channel"; -} diff --git a/node_modules/@types/node/dns.d.ts b/node_modules/@types/node/dns.d.ts deleted file mode 100644 index 380cf7d..0000000 --- a/node_modules/@types/node/dns.d.ts +++ /dev/null @@ -1,809 +0,0 @@ -/** - * The `node:dns` module enables name resolution. For example, use it to look up IP - * addresses of host names. - * - * Although named for the [Domain Name System (DNS)](https://en.wikipedia.org/wiki/Domain_Name_System), it does not always use the - * DNS protocol for lookups. {@link lookup} uses the operating system - * facilities to perform name resolution. It may not need to perform any network - * communication. To perform name resolution the way other applications on the same - * system do, use {@link lookup}. - * - * ```js - * const dns = require('node:dns'); - * - * dns.lookup('example.org', (err, address, family) => { - * console.log('address: %j family: IPv%s', address, family); - * }); - * // address: "93.184.216.34" family: IPv4 - * ``` - * - * All other functions in the `node:dns` module connect to an actual DNS server to - * perform name resolution. They will always use the network to perform DNS - * queries. These functions do not use the same set of configuration files used by {@link lookup} (e.g. `/etc/hosts`). Use these functions to always perform - * DNS queries, bypassing other name-resolution facilities. - * - * ```js - * const dns = require('node:dns'); - * - * dns.resolve4('archive.org', (err, addresses) => { - * if (err) throw err; - * - * console.log(`addresses: ${JSON.stringify(addresses)}`); - * - * addresses.forEach((a) => { - * dns.reverse(a, (err, hostnames) => { - * if (err) { - * throw err; - * } - * console.log(`reverse for ${a}: ${JSON.stringify(hostnames)}`); - * }); - * }); - * }); - * ``` - * - * See the `Implementation considerations section` for more information. - * @see [source](https://github.com/nodejs/node/blob/v20.2.0/lib/dns.js) - */ -declare module "dns" { - import * as dnsPromises from "node:dns/promises"; - // Supported getaddrinfo flags. - export const ADDRCONFIG: number; - export const V4MAPPED: number; - /** - * If `dns.V4MAPPED` is specified, return resolved IPv6 addresses as - * well as IPv4 mapped IPv6 addresses. - */ - export const ALL: number; - export interface LookupOptions { - family?: number | undefined; - hints?: number | undefined; - all?: boolean | undefined; - /** - * @default true - */ - verbatim?: boolean | undefined; - } - export interface LookupOneOptions extends LookupOptions { - all?: false | undefined; - } - export interface LookupAllOptions extends LookupOptions { - all: true; - } - export interface LookupAddress { - address: string; - family: number; - } - /** - * Resolves a host name (e.g. `'nodejs.org'`) into the first found A (IPv4) or - * AAAA (IPv6) record. All `option` properties are optional. If `options` is an - * integer, then it must be `4` or `6` – if `options` is `0` or not provided, then - * IPv4 and IPv6 addresses are both returned if found. - * - * With the `all` option set to `true`, the arguments for `callback` change to`(err, addresses)`, with `addresses` being an array of objects with the - * properties `address` and `family`. - * - * On error, `err` is an `Error` object, where `err.code` is the error code. - * Keep in mind that `err.code` will be set to `'ENOTFOUND'` not only when - * the host name does not exist but also when the lookup fails in other ways - * such as no available file descriptors. - * - * `dns.lookup()` does not necessarily have anything to do with the DNS protocol. - * The implementation uses an operating system facility that can associate names - * with addresses and vice versa. This implementation can have subtle but - * important consequences on the behavior of any Node.js program. Please take some - * time to consult the `Implementation considerations section` before using`dns.lookup()`. - * - * Example usage: - * - * ```js - * const dns = require('node:dns'); - * const options = { - * family: 6, - * hints: dns.ADDRCONFIG | dns.V4MAPPED, - * }; - * dns.lookup('example.com', options, (err, address, family) => - * console.log('address: %j family: IPv%s', address, family)); - * // address: "2606:2800:220:1:248:1893:25c8:1946" family: IPv6 - * - * // When options.all is true, the result will be an Array. - * options.all = true; - * dns.lookup('example.com', options, (err, addresses) => - * console.log('addresses: %j', addresses)); - * // addresses: [{"address":"2606:2800:220:1:248:1893:25c8:1946","family":6}] - * ``` - * - * If this method is invoked as its `util.promisify()` ed version, and `all`is not set to `true`, it returns a `Promise` for an `Object` with `address` and`family` properties. - * @since v0.1.90 - */ - export function lookup( - hostname: string, - family: number, - callback: (err: NodeJS.ErrnoException | null, address: string, family: number) => void, - ): void; - export function lookup( - hostname: string, - options: LookupOneOptions, - callback: (err: NodeJS.ErrnoException | null, address: string, family: number) => void, - ): void; - export function lookup( - hostname: string, - options: LookupAllOptions, - callback: (err: NodeJS.ErrnoException | null, addresses: LookupAddress[]) => void, - ): void; - export function lookup( - hostname: string, - options: LookupOptions, - callback: (err: NodeJS.ErrnoException | null, address: string | LookupAddress[], family: number) => void, - ): void; - export function lookup( - hostname: string, - callback: (err: NodeJS.ErrnoException | null, address: string, family: number) => void, - ): void; - export namespace lookup { - function __promisify__(hostname: string, options: LookupAllOptions): Promise; - function __promisify__(hostname: string, options?: LookupOneOptions | number): Promise; - function __promisify__(hostname: string, options: LookupOptions): Promise; - } - /** - * Resolves the given `address` and `port` into a host name and service using - * the operating system's underlying `getnameinfo` implementation. - * - * If `address` is not a valid IP address, a `TypeError` will be thrown. - * The `port` will be coerced to a number. If it is not a legal port, a `TypeError`will be thrown. - * - * On an error, `err` is an `Error` object, where `err.code` is the error code. - * - * ```js - * const dns = require('node:dns'); - * dns.lookupService('127.0.0.1', 22, (err, hostname, service) => { - * console.log(hostname, service); - * // Prints: localhost ssh - * }); - * ``` - * - * If this method is invoked as its `util.promisify()` ed version, it returns a`Promise` for an `Object` with `hostname` and `service` properties. - * @since v0.11.14 - */ - export function lookupService( - address: string, - port: number, - callback: (err: NodeJS.ErrnoException | null, hostname: string, service: string) => void, - ): void; - export namespace lookupService { - function __promisify__( - address: string, - port: number, - ): Promise<{ - hostname: string; - service: string; - }>; - } - export interface ResolveOptions { - ttl: boolean; - } - export interface ResolveWithTtlOptions extends ResolveOptions { - ttl: true; - } - export interface RecordWithTtl { - address: string; - ttl: number; - } - /** @deprecated Use `AnyARecord` or `AnyAaaaRecord` instead. */ - export type AnyRecordWithTtl = AnyARecord | AnyAaaaRecord; - export interface AnyARecord extends RecordWithTtl { - type: "A"; - } - export interface AnyAaaaRecord extends RecordWithTtl { - type: "AAAA"; - } - export interface CaaRecord { - critical: number; - issue?: string | undefined; - issuewild?: string | undefined; - iodef?: string | undefined; - contactemail?: string | undefined; - contactphone?: string | undefined; - } - export interface MxRecord { - priority: number; - exchange: string; - } - export interface AnyMxRecord extends MxRecord { - type: "MX"; - } - export interface NaptrRecord { - flags: string; - service: string; - regexp: string; - replacement: string; - order: number; - preference: number; - } - export interface AnyNaptrRecord extends NaptrRecord { - type: "NAPTR"; - } - export interface SoaRecord { - nsname: string; - hostmaster: string; - serial: number; - refresh: number; - retry: number; - expire: number; - minttl: number; - } - export interface AnySoaRecord extends SoaRecord { - type: "SOA"; - } - export interface SrvRecord { - priority: number; - weight: number; - port: number; - name: string; - } - export interface AnySrvRecord extends SrvRecord { - type: "SRV"; - } - export interface AnyTxtRecord { - type: "TXT"; - entries: string[]; - } - export interface AnyNsRecord { - type: "NS"; - value: string; - } - export interface AnyPtrRecord { - type: "PTR"; - value: string; - } - export interface AnyCnameRecord { - type: "CNAME"; - value: string; - } - export type AnyRecord = - | AnyARecord - | AnyAaaaRecord - | AnyCnameRecord - | AnyMxRecord - | AnyNaptrRecord - | AnyNsRecord - | AnyPtrRecord - | AnySoaRecord - | AnySrvRecord - | AnyTxtRecord; - /** - * Uses the DNS protocol to resolve a host name (e.g. `'nodejs.org'`) into an array - * of the resource records. The `callback` function has arguments`(err, records)`. When successful, `records` will be an array of resource - * records. The type and structure of individual results varies based on `rrtype`: - * - * - * - * On error, `err` is an `Error` object, where `err.code` is one of the `DNS error codes`. - * @since v0.1.27 - * @param hostname Host name to resolve. - * @param [rrtype='A'] Resource record type. - */ - export function resolve( - hostname: string, - callback: (err: NodeJS.ErrnoException | null, addresses: string[]) => void, - ): void; - export function resolve( - hostname: string, - rrtype: "A", - callback: (err: NodeJS.ErrnoException | null, addresses: string[]) => void, - ): void; - export function resolve( - hostname: string, - rrtype: "AAAA", - callback: (err: NodeJS.ErrnoException | null, addresses: string[]) => void, - ): void; - export function resolve( - hostname: string, - rrtype: "ANY", - callback: (err: NodeJS.ErrnoException | null, addresses: AnyRecord[]) => void, - ): void; - export function resolve( - hostname: string, - rrtype: "CNAME", - callback: (err: NodeJS.ErrnoException | null, addresses: string[]) => void, - ): void; - export function resolve( - hostname: string, - rrtype: "MX", - callback: (err: NodeJS.ErrnoException | null, addresses: MxRecord[]) => void, - ): void; - export function resolve( - hostname: string, - rrtype: "NAPTR", - callback: (err: NodeJS.ErrnoException | null, addresses: NaptrRecord[]) => void, - ): void; - export function resolve( - hostname: string, - rrtype: "NS", - callback: (err: NodeJS.ErrnoException | null, addresses: string[]) => void, - ): void; - export function resolve( - hostname: string, - rrtype: "PTR", - callback: (err: NodeJS.ErrnoException | null, addresses: string[]) => void, - ): void; - export function resolve( - hostname: string, - rrtype: "SOA", - callback: (err: NodeJS.ErrnoException | null, addresses: SoaRecord) => void, - ): void; - export function resolve( - hostname: string, - rrtype: "SRV", - callback: (err: NodeJS.ErrnoException | null, addresses: SrvRecord[]) => void, - ): void; - export function resolve( - hostname: string, - rrtype: "TXT", - callback: (err: NodeJS.ErrnoException | null, addresses: string[][]) => void, - ): void; - export function resolve( - hostname: string, - rrtype: string, - callback: ( - err: NodeJS.ErrnoException | null, - addresses: string[] | MxRecord[] | NaptrRecord[] | SoaRecord | SrvRecord[] | string[][] | AnyRecord[], - ) => void, - ): void; - export namespace resolve { - function __promisify__(hostname: string, rrtype?: "A" | "AAAA" | "CNAME" | "NS" | "PTR"): Promise; - function __promisify__(hostname: string, rrtype: "ANY"): Promise; - function __promisify__(hostname: string, rrtype: "MX"): Promise; - function __promisify__(hostname: string, rrtype: "NAPTR"): Promise; - function __promisify__(hostname: string, rrtype: "SOA"): Promise; - function __promisify__(hostname: string, rrtype: "SRV"): Promise; - function __promisify__(hostname: string, rrtype: "TXT"): Promise; - function __promisify__( - hostname: string, - rrtype: string, - ): Promise; - } - /** - * Uses the DNS protocol to resolve a IPv4 addresses (`A` records) for the`hostname`. The `addresses` argument passed to the `callback` function - * will contain an array of IPv4 addresses (e.g.`['74.125.79.104', '74.125.79.105', '74.125.79.106']`). - * @since v0.1.16 - * @param hostname Host name to resolve. - */ - export function resolve4( - hostname: string, - callback: (err: NodeJS.ErrnoException | null, addresses: string[]) => void, - ): void; - export function resolve4( - hostname: string, - options: ResolveWithTtlOptions, - callback: (err: NodeJS.ErrnoException | null, addresses: RecordWithTtl[]) => void, - ): void; - export function resolve4( - hostname: string, - options: ResolveOptions, - callback: (err: NodeJS.ErrnoException | null, addresses: string[] | RecordWithTtl[]) => void, - ): void; - export namespace resolve4 { - function __promisify__(hostname: string): Promise; - function __promisify__(hostname: string, options: ResolveWithTtlOptions): Promise; - function __promisify__(hostname: string, options?: ResolveOptions): Promise; - } - /** - * Uses the DNS protocol to resolve IPv6 addresses (`AAAA` records) for the`hostname`. The `addresses` argument passed to the `callback` function - * will contain an array of IPv6 addresses. - * @since v0.1.16 - * @param hostname Host name to resolve. - */ - export function resolve6( - hostname: string, - callback: (err: NodeJS.ErrnoException | null, addresses: string[]) => void, - ): void; - export function resolve6( - hostname: string, - options: ResolveWithTtlOptions, - callback: (err: NodeJS.ErrnoException | null, addresses: RecordWithTtl[]) => void, - ): void; - export function resolve6( - hostname: string, - options: ResolveOptions, - callback: (err: NodeJS.ErrnoException | null, addresses: string[] | RecordWithTtl[]) => void, - ): void; - export namespace resolve6 { - function __promisify__(hostname: string): Promise; - function __promisify__(hostname: string, options: ResolveWithTtlOptions): Promise; - function __promisify__(hostname: string, options?: ResolveOptions): Promise; - } - /** - * Uses the DNS protocol to resolve `CNAME` records for the `hostname`. The`addresses` argument passed to the `callback` function - * will contain an array of canonical name records available for the `hostname`(e.g. `['bar.example.com']`). - * @since v0.3.2 - */ - export function resolveCname( - hostname: string, - callback: (err: NodeJS.ErrnoException | null, addresses: string[]) => void, - ): void; - export namespace resolveCname { - function __promisify__(hostname: string): Promise; - } - /** - * Uses the DNS protocol to resolve `CAA` records for the `hostname`. The`addresses` argument passed to the `callback` function - * will contain an array of certification authority authorization records - * available for the `hostname` (e.g. `[{critical: 0, iodef: 'mailto:pki@example.com'}, {critical: 128, issue: 'pki.example.com'}]`). - * @since v15.0.0, v14.17.0 - */ - export function resolveCaa( - hostname: string, - callback: (err: NodeJS.ErrnoException | null, records: CaaRecord[]) => void, - ): void; - export namespace resolveCaa { - function __promisify__(hostname: string): Promise; - } - /** - * Uses the DNS protocol to resolve mail exchange records (`MX` records) for the`hostname`. The `addresses` argument passed to the `callback` function will - * contain an array of objects containing both a `priority` and `exchange`property (e.g. `[{priority: 10, exchange: 'mx.example.com'}, ...]`). - * @since v0.1.27 - */ - export function resolveMx( - hostname: string, - callback: (err: NodeJS.ErrnoException | null, addresses: MxRecord[]) => void, - ): void; - export namespace resolveMx { - function __promisify__(hostname: string): Promise; - } - /** - * Uses the DNS protocol to resolve regular expression-based records (`NAPTR`records) for the `hostname`. The `addresses` argument passed to the `callback`function will contain an array of - * objects with the following properties: - * - * * `flags` - * * `service` - * * `regexp` - * * `replacement` - * * `order` - * * `preference` - * - * ```js - * { - * flags: 's', - * service: 'SIP+D2U', - * regexp: '', - * replacement: '_sip._udp.example.com', - * order: 30, - * preference: 100 - * } - * ``` - * @since v0.9.12 - */ - export function resolveNaptr( - hostname: string, - callback: (err: NodeJS.ErrnoException | null, addresses: NaptrRecord[]) => void, - ): void; - export namespace resolveNaptr { - function __promisify__(hostname: string): Promise; - } - /** - * Uses the DNS protocol to resolve name server records (`NS` records) for the`hostname`. The `addresses` argument passed to the `callback` function will - * contain an array of name server records available for `hostname`(e.g. `['ns1.example.com', 'ns2.example.com']`). - * @since v0.1.90 - */ - export function resolveNs( - hostname: string, - callback: (err: NodeJS.ErrnoException | null, addresses: string[]) => void, - ): void; - export namespace resolveNs { - function __promisify__(hostname: string): Promise; - } - /** - * Uses the DNS protocol to resolve pointer records (`PTR` records) for the`hostname`. The `addresses` argument passed to the `callback` function will - * be an array of strings containing the reply records. - * @since v6.0.0 - */ - export function resolvePtr( - hostname: string, - callback: (err: NodeJS.ErrnoException | null, addresses: string[]) => void, - ): void; - export namespace resolvePtr { - function __promisify__(hostname: string): Promise; - } - /** - * Uses the DNS protocol to resolve a start of authority record (`SOA` record) for - * the `hostname`. The `address` argument passed to the `callback` function will - * be an object with the following properties: - * - * * `nsname` - * * `hostmaster` - * * `serial` - * * `refresh` - * * `retry` - * * `expire` - * * `minttl` - * - * ```js - * { - * nsname: 'ns.example.com', - * hostmaster: 'root.example.com', - * serial: 2013101809, - * refresh: 10000, - * retry: 2400, - * expire: 604800, - * minttl: 3600 - * } - * ``` - * @since v0.11.10 - */ - export function resolveSoa( - hostname: string, - callback: (err: NodeJS.ErrnoException | null, address: SoaRecord) => void, - ): void; - export namespace resolveSoa { - function __promisify__(hostname: string): Promise; - } - /** - * Uses the DNS protocol to resolve service records (`SRV` records) for the`hostname`. The `addresses` argument passed to the `callback` function will - * be an array of objects with the following properties: - * - * * `priority` - * * `weight` - * * `port` - * * `name` - * - * ```js - * { - * priority: 10, - * weight: 5, - * port: 21223, - * name: 'service.example.com' - * } - * ``` - * @since v0.1.27 - */ - export function resolveSrv( - hostname: string, - callback: (err: NodeJS.ErrnoException | null, addresses: SrvRecord[]) => void, - ): void; - export namespace resolveSrv { - function __promisify__(hostname: string): Promise; - } - /** - * Uses the DNS protocol to resolve text queries (`TXT` records) for the`hostname`. The `records` argument passed to the `callback` function is a - * two-dimensional array of the text records available for `hostname` (e.g.`[ ['v=spf1 ip4:0.0.0.0 ', '~all' ] ]`). Each sub-array contains TXT chunks of - * one record. Depending on the use case, these could be either joined together or - * treated separately. - * @since v0.1.27 - */ - export function resolveTxt( - hostname: string, - callback: (err: NodeJS.ErrnoException | null, addresses: string[][]) => void, - ): void; - export namespace resolveTxt { - function __promisify__(hostname: string): Promise; - } - /** - * Uses the DNS protocol to resolve all records (also known as `ANY` or `*` query). - * The `ret` argument passed to the `callback` function will be an array containing - * various types of records. Each object has a property `type` that indicates the - * type of the current record. And depending on the `type`, additional properties - * will be present on the object: - * - * - * - * Here is an example of the `ret` object passed to the callback: - * - * ```js - * [ { type: 'A', address: '127.0.0.1', ttl: 299 }, - * { type: 'CNAME', value: 'example.com' }, - * { type: 'MX', exchange: 'alt4.aspmx.l.example.com', priority: 50 }, - * { type: 'NS', value: 'ns1.example.com' }, - * { type: 'TXT', entries: [ 'v=spf1 include:_spf.example.com ~all' ] }, - * { type: 'SOA', - * nsname: 'ns1.example.com', - * hostmaster: 'admin.example.com', - * serial: 156696742, - * refresh: 900, - * retry: 900, - * expire: 1800, - * minttl: 60 } ] - * ``` - * - * DNS server operators may choose not to respond to `ANY`queries. It may be better to call individual methods like {@link resolve4},{@link resolveMx}, and so on. For more details, see [RFC - * 8482](https://tools.ietf.org/html/rfc8482). - */ - export function resolveAny( - hostname: string, - callback: (err: NodeJS.ErrnoException | null, addresses: AnyRecord[]) => void, - ): void; - export namespace resolveAny { - function __promisify__(hostname: string): Promise; - } - /** - * Performs a reverse DNS query that resolves an IPv4 or IPv6 address to an - * array of host names. - * - * On error, `err` is an `Error` object, where `err.code` is - * one of the `DNS error codes`. - * @since v0.1.16 - */ - export function reverse( - ip: string, - callback: (err: NodeJS.ErrnoException | null, hostnames: string[]) => void, - ): void; - /** - * Get the default value for `verbatim` in {@link lookup} and `dnsPromises.lookup()`. The value could be: - * - * * `ipv4first`: for `verbatim` defaulting to `false`. - * * `verbatim`: for `verbatim` defaulting to `true`. - * @since v20.1.0 - */ - export function getDefaultResultOrder(): "ipv4first" | "verbatim"; - /** - * Sets the IP address and port of servers to be used when performing DNS - * resolution. The `servers` argument is an array of [RFC 5952](https://tools.ietf.org/html/rfc5952#section-6) formatted - * addresses. If the port is the IANA default DNS port (53) it can be omitted. - * - * ```js - * dns.setServers([ - * '4.4.4.4', - * '[2001:4860:4860::8888]', - * '4.4.4.4:1053', - * '[2001:4860:4860::8888]:1053', - * ]); - * ``` - * - * An error will be thrown if an invalid address is provided. - * - * The `dns.setServers()` method must not be called while a DNS query is in - * progress. - * - * The {@link setServers} method affects only {@link resolve},`dns.resolve*()` and {@link reverse} (and specifically _not_ {@link lookup}). - * - * This method works much like [resolve.conf](https://man7.org/linux/man-pages/man5/resolv.conf.5.html). - * That is, if attempting to resolve with the first server provided results in a`NOTFOUND` error, the `resolve()` method will _not_ attempt to resolve with - * subsequent servers provided. Fallback DNS servers will only be used if the - * earlier ones time out or result in some other error. - * @since v0.11.3 - * @param servers array of `RFC 5952` formatted addresses - */ - export function setServers(servers: readonly string[]): void; - /** - * Returns an array of IP address strings, formatted according to [RFC 5952](https://tools.ietf.org/html/rfc5952#section-6), - * that are currently configured for DNS resolution. A string will include a port - * section if a custom port is used. - * - * ```js - * [ - * '4.4.4.4', - * '2001:4860:4860::8888', - * '4.4.4.4:1053', - * '[2001:4860:4860::8888]:1053', - * ] - * ``` - * @since v0.11.3 - */ - export function getServers(): string[]; - /** - * Set the default value of `verbatim` in {@link lookup} and `dnsPromises.lookup()`. The value could be: - * - * * `ipv4first`: sets default `verbatim` `false`. - * * `verbatim`: sets default `verbatim` `true`. - * - * The default is `verbatim` and {@link setDefaultResultOrder} have higher - * priority than `--dns-result-order`. When using `worker threads`,{@link setDefaultResultOrder} from the main thread won't affect the default - * dns orders in workers. - * @since v16.4.0, v14.18.0 - * @param order must be `'ipv4first'` or `'verbatim'`. - */ - export function setDefaultResultOrder(order: "ipv4first" | "verbatim"): void; - // Error codes - export const NODATA: string; - export const FORMERR: string; - export const SERVFAIL: string; - export const NOTFOUND: string; - export const NOTIMP: string; - export const REFUSED: string; - export const BADQUERY: string; - export const BADNAME: string; - export const BADFAMILY: string; - export const BADRESP: string; - export const CONNREFUSED: string; - export const TIMEOUT: string; - export const EOF: string; - export const FILE: string; - export const NOMEM: string; - export const DESTRUCTION: string; - export const BADSTR: string; - export const BADFLAGS: string; - export const NONAME: string; - export const BADHINTS: string; - export const NOTINITIALIZED: string; - export const LOADIPHLPAPI: string; - export const ADDRGETNETWORKPARAMS: string; - export const CANCELLED: string; - export interface ResolverOptions { - timeout?: number | undefined; - /** - * @default 4 - */ - tries?: number; - } - /** - * An independent resolver for DNS requests. - * - * Creating a new resolver uses the default server settings. Setting - * the servers used for a resolver using `resolver.setServers()` does not affect - * other resolvers: - * - * ```js - * const { Resolver } = require('node:dns'); - * const resolver = new Resolver(); - * resolver.setServers(['4.4.4.4']); - * - * // This request will use the server at 4.4.4.4, independent of global settings. - * resolver.resolve4('example.org', (err, addresses) => { - * // ... - * }); - * ``` - * - * The following methods from the `node:dns` module are available: - * - * * `resolver.getServers()` - * * `resolver.resolve()` - * * `resolver.resolve4()` - * * `resolver.resolve6()` - * * `resolver.resolveAny()` - * * `resolver.resolveCaa()` - * * `resolver.resolveCname()` - * * `resolver.resolveMx()` - * * `resolver.resolveNaptr()` - * * `resolver.resolveNs()` - * * `resolver.resolvePtr()` - * * `resolver.resolveSoa()` - * * `resolver.resolveSrv()` - * * `resolver.resolveTxt()` - * * `resolver.reverse()` - * * `resolver.setServers()` - * @since v8.3.0 - */ - export class Resolver { - constructor(options?: ResolverOptions); - /** - * Cancel all outstanding DNS queries made by this resolver. The corresponding - * callbacks will be called with an error with code `ECANCELLED`. - * @since v8.3.0 - */ - cancel(): void; - getServers: typeof getServers; - resolve: typeof resolve; - resolve4: typeof resolve4; - resolve6: typeof resolve6; - resolveAny: typeof resolveAny; - resolveCaa: typeof resolveCaa; - resolveCname: typeof resolveCname; - resolveMx: typeof resolveMx; - resolveNaptr: typeof resolveNaptr; - resolveNs: typeof resolveNs; - resolvePtr: typeof resolvePtr; - resolveSoa: typeof resolveSoa; - resolveSrv: typeof resolveSrv; - resolveTxt: typeof resolveTxt; - reverse: typeof reverse; - /** - * The resolver instance will send its requests from the specified IP address. - * This allows programs to specify outbound interfaces when used on multi-homed - * systems. - * - * If a v4 or v6 address is not specified, it is set to the default and the - * operating system will choose a local address automatically. - * - * The resolver will use the v4 local address when making requests to IPv4 DNS - * servers, and the v6 local address when making requests to IPv6 DNS servers. - * The `rrtype` of resolution requests has no impact on the local address used. - * @since v15.1.0, v14.17.0 - * @param [ipv4='0.0.0.0'] A string representation of an IPv4 address. - * @param [ipv6='::0'] A string representation of an IPv6 address. - */ - setLocalAddress(ipv4?: string, ipv6?: string): void; - setServers: typeof setServers; - } - export { dnsPromises as promises }; -} -declare module "node:dns" { - export * from "dns"; -} diff --git a/node_modules/@types/node/dns/promises.d.ts b/node_modules/@types/node/dns/promises.d.ts deleted file mode 100644 index ef9b222..0000000 --- a/node_modules/@types/node/dns/promises.d.ts +++ /dev/null @@ -1,425 +0,0 @@ -/** - * The `dns.promises` API provides an alternative set of asynchronous DNS methods - * that return `Promise` objects rather than using callbacks. The API is accessible - * via `require('node:dns').promises` or `require('node:dns/promises')`. - * @since v10.6.0 - */ -declare module "dns/promises" { - import { - AnyRecord, - CaaRecord, - LookupAddress, - LookupAllOptions, - LookupOneOptions, - LookupOptions, - MxRecord, - NaptrRecord, - RecordWithTtl, - ResolveOptions, - ResolverOptions, - ResolveWithTtlOptions, - SoaRecord, - SrvRecord, - } from "node:dns"; - /** - * Returns an array of IP address strings, formatted according to [RFC 5952](https://tools.ietf.org/html/rfc5952#section-6), - * that are currently configured for DNS resolution. A string will include a port - * section if a custom port is used. - * - * ```js - * [ - * '4.4.4.4', - * '2001:4860:4860::8888', - * '4.4.4.4:1053', - * '[2001:4860:4860::8888]:1053', - * ] - * ``` - * @since v10.6.0 - */ - function getServers(): string[]; - /** - * Resolves a host name (e.g. `'nodejs.org'`) into the first found A (IPv4) or - * AAAA (IPv6) record. All `option` properties are optional. If `options` is an - * integer, then it must be `4` or `6` – if `options` is not provided, then IPv4 - * and IPv6 addresses are both returned if found. - * - * With the `all` option set to `true`, the `Promise` is resolved with `addresses`being an array of objects with the properties `address` and `family`. - * - * On error, the `Promise` is rejected with an `Error` object, where `err.code`is the error code. - * Keep in mind that `err.code` will be set to `'ENOTFOUND'` not only when - * the host name does not exist but also when the lookup fails in other ways - * such as no available file descriptors. - * - * `dnsPromises.lookup()` does not necessarily have anything to do with the DNS - * protocol. The implementation uses an operating system facility that can - * associate names with addresses and vice versa. This implementation can have - * subtle but important consequences on the behavior of any Node.js program. Please - * take some time to consult the `Implementation considerations section` before - * using `dnsPromises.lookup()`. - * - * Example usage: - * - * ```js - * const dns = require('node:dns'); - * const dnsPromises = dns.promises; - * const options = { - * family: 6, - * hints: dns.ADDRCONFIG | dns.V4MAPPED, - * }; - * - * dnsPromises.lookup('example.com', options).then((result) => { - * console.log('address: %j family: IPv%s', result.address, result.family); - * // address: "2606:2800:220:1:248:1893:25c8:1946" family: IPv6 - * }); - * - * // When options.all is true, the result will be an Array. - * options.all = true; - * dnsPromises.lookup('example.com', options).then((result) => { - * console.log('addresses: %j', result); - * // addresses: [{"address":"2606:2800:220:1:248:1893:25c8:1946","family":6}] - * }); - * ``` - * @since v10.6.0 - */ - function lookup(hostname: string, family: number): Promise; - function lookup(hostname: string, options: LookupOneOptions): Promise; - function lookup(hostname: string, options: LookupAllOptions): Promise; - function lookup(hostname: string, options: LookupOptions): Promise; - function lookup(hostname: string): Promise; - /** - * Resolves the given `address` and `port` into a host name and service using - * the operating system's underlying `getnameinfo` implementation. - * - * If `address` is not a valid IP address, a `TypeError` will be thrown. - * The `port` will be coerced to a number. If it is not a legal port, a `TypeError`will be thrown. - * - * On error, the `Promise` is rejected with an `Error` object, where `err.code`is the error code. - * - * ```js - * const dnsPromises = require('node:dns').promises; - * dnsPromises.lookupService('127.0.0.1', 22).then((result) => { - * console.log(result.hostname, result.service); - * // Prints: localhost ssh - * }); - * ``` - * @since v10.6.0 - */ - function lookupService( - address: string, - port: number, - ): Promise<{ - hostname: string; - service: string; - }>; - /** - * Uses the DNS protocol to resolve a host name (e.g. `'nodejs.org'`) into an array - * of the resource records. When successful, the `Promise` is resolved with an - * array of resource records. The type and structure of individual results vary - * based on `rrtype`: - * - * - * - * On error, the `Promise` is rejected with an `Error` object, where `err.code`is one of the `DNS error codes`. - * @since v10.6.0 - * @param hostname Host name to resolve. - * @param [rrtype='A'] Resource record type. - */ - function resolve(hostname: string): Promise; - function resolve(hostname: string, rrtype: "A"): Promise; - function resolve(hostname: string, rrtype: "AAAA"): Promise; - function resolve(hostname: string, rrtype: "ANY"): Promise; - function resolve(hostname: string, rrtype: "CAA"): Promise; - function resolve(hostname: string, rrtype: "CNAME"): Promise; - function resolve(hostname: string, rrtype: "MX"): Promise; - function resolve(hostname: string, rrtype: "NAPTR"): Promise; - function resolve(hostname: string, rrtype: "NS"): Promise; - function resolve(hostname: string, rrtype: "PTR"): Promise; - function resolve(hostname: string, rrtype: "SOA"): Promise; - function resolve(hostname: string, rrtype: "SRV"): Promise; - function resolve(hostname: string, rrtype: "TXT"): Promise; - function resolve( - hostname: string, - rrtype: string, - ): Promise; - /** - * Uses the DNS protocol to resolve IPv4 addresses (`A` records) for the`hostname`. On success, the `Promise` is resolved with an array of IPv4 - * addresses (e.g. `['74.125.79.104', '74.125.79.105', '74.125.79.106']`). - * @since v10.6.0 - * @param hostname Host name to resolve. - */ - function resolve4(hostname: string): Promise; - function resolve4(hostname: string, options: ResolveWithTtlOptions): Promise; - function resolve4(hostname: string, options: ResolveOptions): Promise; - /** - * Uses the DNS protocol to resolve IPv6 addresses (`AAAA` records) for the`hostname`. On success, the `Promise` is resolved with an array of IPv6 - * addresses. - * @since v10.6.0 - * @param hostname Host name to resolve. - */ - function resolve6(hostname: string): Promise; - function resolve6(hostname: string, options: ResolveWithTtlOptions): Promise; - function resolve6(hostname: string, options: ResolveOptions): Promise; - /** - * Uses the DNS protocol to resolve all records (also known as `ANY` or `*` query). - * On success, the `Promise` is resolved with an array containing various types of - * records. Each object has a property `type` that indicates the type of the - * current record. And depending on the `type`, additional properties will be - * present on the object: - * - * - * - * Here is an example of the result object: - * - * ```js - * [ { type: 'A', address: '127.0.0.1', ttl: 299 }, - * { type: 'CNAME', value: 'example.com' }, - * { type: 'MX', exchange: 'alt4.aspmx.l.example.com', priority: 50 }, - * { type: 'NS', value: 'ns1.example.com' }, - * { type: 'TXT', entries: [ 'v=spf1 include:_spf.example.com ~all' ] }, - * { type: 'SOA', - * nsname: 'ns1.example.com', - * hostmaster: 'admin.example.com', - * serial: 156696742, - * refresh: 900, - * retry: 900, - * expire: 1800, - * minttl: 60 } ] - * ``` - * @since v10.6.0 - */ - function resolveAny(hostname: string): Promise; - /** - * Uses the DNS protocol to resolve `CAA` records for the `hostname`. On success, - * the `Promise` is resolved with an array of objects containing available - * certification authority authorization records available for the `hostname`(e.g. `[{critical: 0, iodef: 'mailto:pki@example.com'},{critical: 128, issue: 'pki.example.com'}]`). - * @since v15.0.0, v14.17.0 - */ - function resolveCaa(hostname: string): Promise; - /** - * Uses the DNS protocol to resolve `CNAME` records for the `hostname`. On success, - * the `Promise` is resolved with an array of canonical name records available for - * the `hostname` (e.g. `['bar.example.com']`). - * @since v10.6.0 - */ - function resolveCname(hostname: string): Promise; - /** - * Uses the DNS protocol to resolve mail exchange records (`MX` records) for the`hostname`. On success, the `Promise` is resolved with an array of objects - * containing both a `priority` and `exchange` property (e.g.`[{priority: 10, exchange: 'mx.example.com'}, ...]`). - * @since v10.6.0 - */ - function resolveMx(hostname: string): Promise; - /** - * Uses the DNS protocol to resolve regular expression-based records (`NAPTR`records) for the `hostname`. On success, the `Promise` is resolved with an array - * of objects with the following properties: - * - * * `flags` - * * `service` - * * `regexp` - * * `replacement` - * * `order` - * * `preference` - * - * ```js - * { - * flags: 's', - * service: 'SIP+D2U', - * regexp: '', - * replacement: '_sip._udp.example.com', - * order: 30, - * preference: 100 - * } - * ``` - * @since v10.6.0 - */ - function resolveNaptr(hostname: string): Promise; - /** - * Uses the DNS protocol to resolve name server records (`NS` records) for the`hostname`. On success, the `Promise` is resolved with an array of name server - * records available for `hostname` (e.g.`['ns1.example.com', 'ns2.example.com']`). - * @since v10.6.0 - */ - function resolveNs(hostname: string): Promise; - /** - * Uses the DNS protocol to resolve pointer records (`PTR` records) for the`hostname`. On success, the `Promise` is resolved with an array of strings - * containing the reply records. - * @since v10.6.0 - */ - function resolvePtr(hostname: string): Promise; - /** - * Uses the DNS protocol to resolve a start of authority record (`SOA` record) for - * the `hostname`. On success, the `Promise` is resolved with an object with the - * following properties: - * - * * `nsname` - * * `hostmaster` - * * `serial` - * * `refresh` - * * `retry` - * * `expire` - * * `minttl` - * - * ```js - * { - * nsname: 'ns.example.com', - * hostmaster: 'root.example.com', - * serial: 2013101809, - * refresh: 10000, - * retry: 2400, - * expire: 604800, - * minttl: 3600 - * } - * ``` - * @since v10.6.0 - */ - function resolveSoa(hostname: string): Promise; - /** - * Uses the DNS protocol to resolve service records (`SRV` records) for the`hostname`. On success, the `Promise` is resolved with an array of objects with - * the following properties: - * - * * `priority` - * * `weight` - * * `port` - * * `name` - * - * ```js - * { - * priority: 10, - * weight: 5, - * port: 21223, - * name: 'service.example.com' - * } - * ``` - * @since v10.6.0 - */ - function resolveSrv(hostname: string): Promise; - /** - * Uses the DNS protocol to resolve text queries (`TXT` records) for the`hostname`. On success, the `Promise` is resolved with a two-dimensional array - * of the text records available for `hostname` (e.g.`[ ['v=spf1 ip4:0.0.0.0 ', '~all' ] ]`). Each sub-array contains TXT chunks of - * one record. Depending on the use case, these could be either joined together or - * treated separately. - * @since v10.6.0 - */ - function resolveTxt(hostname: string): Promise; - /** - * Performs a reverse DNS query that resolves an IPv4 or IPv6 address to an - * array of host names. - * - * On error, the `Promise` is rejected with an `Error` object, where `err.code`is one of the `DNS error codes`. - * @since v10.6.0 - */ - function reverse(ip: string): Promise; - /** - * Get the default value for `verbatim` in {@link lookup} and `dnsPromises.lookup()`. The value could be: - * - * * `ipv4first`: for `verbatim` defaulting to `false`. - * * `verbatim`: for `verbatim` defaulting to `true`. - * @since v20.1.0 - */ - function getDefaultResultOrder(): "ipv4first" | "verbatim"; - /** - * Sets the IP address and port of servers to be used when performing DNS - * resolution. The `servers` argument is an array of [RFC 5952](https://tools.ietf.org/html/rfc5952#section-6) formatted - * addresses. If the port is the IANA default DNS port (53) it can be omitted. - * - * ```js - * dnsPromises.setServers([ - * '4.4.4.4', - * '[2001:4860:4860::8888]', - * '4.4.4.4:1053', - * '[2001:4860:4860::8888]:1053', - * ]); - * ``` - * - * An error will be thrown if an invalid address is provided. - * - * The `dnsPromises.setServers()` method must not be called while a DNS query is in - * progress. - * - * This method works much like [resolve.conf](https://man7.org/linux/man-pages/man5/resolv.conf.5.html). - * That is, if attempting to resolve with the first server provided results in a`NOTFOUND` error, the `resolve()` method will _not_ attempt to resolve with - * subsequent servers provided. Fallback DNS servers will only be used if the - * earlier ones time out or result in some other error. - * @since v10.6.0 - * @param servers array of `RFC 5952` formatted addresses - */ - function setServers(servers: readonly string[]): void; - /** - * Set the default value of `verbatim` in `dns.lookup()` and `dnsPromises.lookup()`. The value could be: - * - * * `ipv4first`: sets default `verbatim` `false`. - * * `verbatim`: sets default `verbatim` `true`. - * - * The default is `verbatim` and `dnsPromises.setDefaultResultOrder()` have - * higher priority than `--dns-result-order`. When using `worker threads`,`dnsPromises.setDefaultResultOrder()` from the main thread won't affect the - * default dns orders in workers. - * @since v16.4.0, v14.18.0 - * @param order must be `'ipv4first'` or `'verbatim'`. - */ - function setDefaultResultOrder(order: "ipv4first" | "verbatim"): void; - /** - * An independent resolver for DNS requests. - * - * Creating a new resolver uses the default server settings. Setting - * the servers used for a resolver using `resolver.setServers()` does not affect - * other resolvers: - * - * ```js - * const { Resolver } = require('node:dns').promises; - * const resolver = new Resolver(); - * resolver.setServers(['4.4.4.4']); - * - * // This request will use the server at 4.4.4.4, independent of global settings. - * resolver.resolve4('example.org').then((addresses) => { - * // ... - * }); - * - * // Alternatively, the same code can be written using async-await style. - * (async function() { - * const addresses = await resolver.resolve4('example.org'); - * })(); - * ``` - * - * The following methods from the `dnsPromises` API are available: - * - * * `resolver.getServers()` - * * `resolver.resolve()` - * * `resolver.resolve4()` - * * `resolver.resolve6()` - * * `resolver.resolveAny()` - * * `resolver.resolveCaa()` - * * `resolver.resolveCname()` - * * `resolver.resolveMx()` - * * `resolver.resolveNaptr()` - * * `resolver.resolveNs()` - * * `resolver.resolvePtr()` - * * `resolver.resolveSoa()` - * * `resolver.resolveSrv()` - * * `resolver.resolveTxt()` - * * `resolver.reverse()` - * * `resolver.setServers()` - * @since v10.6.0 - */ - class Resolver { - constructor(options?: ResolverOptions); - cancel(): void; - getServers: typeof getServers; - resolve: typeof resolve; - resolve4: typeof resolve4; - resolve6: typeof resolve6; - resolveAny: typeof resolveAny; - resolveCaa: typeof resolveCaa; - resolveCname: typeof resolveCname; - resolveMx: typeof resolveMx; - resolveNaptr: typeof resolveNaptr; - resolveNs: typeof resolveNs; - resolvePtr: typeof resolvePtr; - resolveSoa: typeof resolveSoa; - resolveSrv: typeof resolveSrv; - resolveTxt: typeof resolveTxt; - reverse: typeof reverse; - setLocalAddress(ipv4?: string, ipv6?: string): void; - setServers: typeof setServers; - } -} -declare module "node:dns/promises" { - export * from "dns/promises"; -} diff --git a/node_modules/@types/node/dom-events.d.ts b/node_modules/@types/node/dom-events.d.ts deleted file mode 100644 index 147a7b6..0000000 --- a/node_modules/@types/node/dom-events.d.ts +++ /dev/null @@ -1,122 +0,0 @@ -export {}; // Don't export anything! - -//// DOM-like Events -// NB: The Event / EventTarget / EventListener implementations below were copied -// from lib.dom.d.ts, then edited to reflect Node's documentation at -// https://nodejs.org/api/events.html#class-eventtarget. -// Please read that link to understand important implementation differences. - -// This conditional type will be the existing global Event in a browser, or -// the copy below in a Node environment. -type __Event = typeof globalThis extends { onmessage: any; Event: any } ? {} - : { - /** This is not used in Node.js and is provided purely for completeness. */ - readonly bubbles: boolean; - /** Alias for event.stopPropagation(). This is not used in Node.js and is provided purely for completeness. */ - cancelBubble: () => void; - /** True if the event was created with the cancelable option */ - readonly cancelable: boolean; - /** This is not used in Node.js and is provided purely for completeness. */ - readonly composed: boolean; - /** Returns an array containing the current EventTarget as the only entry or empty if the event is not being dispatched. This is not used in Node.js and is provided purely for completeness. */ - composedPath(): [EventTarget?]; - /** Alias for event.target. */ - readonly currentTarget: EventTarget | null; - /** Is true if cancelable is true and event.preventDefault() has been called. */ - readonly defaultPrevented: boolean; - /** This is not used in Node.js and is provided purely for completeness. */ - readonly eventPhase: 0 | 2; - /** The `AbortSignal` "abort" event is emitted with `isTrusted` set to `true`. The value is `false` in all other cases. */ - readonly isTrusted: boolean; - /** Sets the `defaultPrevented` property to `true` if `cancelable` is `true`. */ - preventDefault(): void; - /** This is not used in Node.js and is provided purely for completeness. */ - returnValue: boolean; - /** Alias for event.target. */ - readonly srcElement: EventTarget | null; - /** Stops the invocation of event listeners after the current one completes. */ - stopImmediatePropagation(): void; - /** This is not used in Node.js and is provided purely for completeness. */ - stopPropagation(): void; - /** The `EventTarget` dispatching the event */ - readonly target: EventTarget | null; - /** The millisecond timestamp when the Event object was created. */ - readonly timeStamp: number; - /** Returns the type of event, e.g. "click", "hashchange", or "submit". */ - readonly type: string; - }; - -// See comment above explaining conditional type -type __EventTarget = typeof globalThis extends { onmessage: any; EventTarget: any } ? {} - : { - /** - * Adds a new handler for the `type` event. Any given `listener` is added only once per `type` and per `capture` option value. - * - * If the `once` option is true, the `listener` is removed after the next time a `type` event is dispatched. - * - * The `capture` option is not used by Node.js in any functional way other than tracking registered event listeners per the `EventTarget` specification. - * Specifically, the `capture` option is used as part of the key when registering a `listener`. - * Any individual `listener` may be added once with `capture = false`, and once with `capture = true`. - */ - addEventListener( - type: string, - listener: EventListener | EventListenerObject, - options?: AddEventListenerOptions | boolean, - ): void; - /** Dispatches a synthetic event event to target and returns true if either event's cancelable attribute value is false or its preventDefault() method was not invoked, and false otherwise. */ - dispatchEvent(event: Event): boolean; - /** Removes the event listener in target's event listener list with the same type, callback, and options. */ - removeEventListener( - type: string, - listener: EventListener | EventListenerObject, - options?: EventListenerOptions | boolean, - ): void; - }; - -interface EventInit { - bubbles?: boolean; - cancelable?: boolean; - composed?: boolean; -} - -interface EventListenerOptions { - /** Not directly used by Node.js. Added for API completeness. Default: `false`. */ - capture?: boolean; -} - -interface AddEventListenerOptions extends EventListenerOptions { - /** When `true`, the listener is automatically removed when it is first invoked. Default: `false`. */ - once?: boolean; - /** When `true`, serves as a hint that the listener will not call the `Event` object's `preventDefault()` method. Default: false. */ - passive?: boolean; -} - -interface EventListener { - (evt: Event): void; -} - -interface EventListenerObject { - handleEvent(object: Event): void; -} - -import {} from "events"; // Make this an ambient declaration -declare global { - /** An event which takes place in the DOM. */ - interface Event extends __Event {} - var Event: typeof globalThis extends { onmessage: any; Event: infer T } ? T - : { - prototype: __Event; - new(type: string, eventInitDict?: EventInit): __Event; - }; - - /** - * EventTarget is a DOM interface implemented by objects that can - * receive events and may have listeners for them. - */ - interface EventTarget extends __EventTarget {} - var EventTarget: typeof globalThis extends { onmessage: any; EventTarget: infer T } ? T - : { - prototype: __EventTarget; - new(): __EventTarget; - }; -} diff --git a/node_modules/@types/node/domain.d.ts b/node_modules/@types/node/domain.d.ts deleted file mode 100644 index 72f17bd..0000000 --- a/node_modules/@types/node/domain.d.ts +++ /dev/null @@ -1,170 +0,0 @@ -/** - * **This module is pending deprecation.** Once a replacement API has been - * finalized, this module will be fully deprecated. Most developers should - * **not** have cause to use this module. Users who absolutely must have - * the functionality that domains provide may rely on it for the time being - * but should expect to have to migrate to a different solution - * in the future. - * - * Domains provide a way to handle multiple different IO operations as a - * single group. If any of the event emitters or callbacks registered to a - * domain emit an `'error'` event, or throw an error, then the domain object - * will be notified, rather than losing the context of the error in the`process.on('uncaughtException')` handler, or causing the program to - * exit immediately with an error code. - * @deprecated Since v1.4.2 - Deprecated - * @see [source](https://github.com/nodejs/node/blob/v20.2.0/lib/domain.js) - */ -declare module "domain" { - import EventEmitter = require("node:events"); - /** - * The `Domain` class encapsulates the functionality of routing errors and - * uncaught exceptions to the active `Domain` object. - * - * To handle the errors that it catches, listen to its `'error'` event. - */ - class Domain extends EventEmitter { - /** - * An array of timers and event emitters that have been explicitly added - * to the domain. - */ - members: Array; - /** - * The `enter()` method is plumbing used by the `run()`, `bind()`, and`intercept()` methods to set the active domain. It sets `domain.active` and`process.domain` to the domain, and implicitly - * pushes the domain onto the domain - * stack managed by the domain module (see {@link exit} for details on the - * domain stack). The call to `enter()` delimits the beginning of a chain of - * asynchronous calls and I/O operations bound to a domain. - * - * Calling `enter()` changes only the active domain, and does not alter the domain - * itself. `enter()` and `exit()` can be called an arbitrary number of times on a - * single domain. - */ - enter(): void; - /** - * The `exit()` method exits the current domain, popping it off the domain stack. - * Any time execution is going to switch to the context of a different chain of - * asynchronous calls, it's important to ensure that the current domain is exited. - * The call to `exit()` delimits either the end of or an interruption to the chain - * of asynchronous calls and I/O operations bound to a domain. - * - * If there are multiple, nested domains bound to the current execution context,`exit()` will exit any domains nested within this domain. - * - * Calling `exit()` changes only the active domain, and does not alter the domain - * itself. `enter()` and `exit()` can be called an arbitrary number of times on a - * single domain. - */ - exit(): void; - /** - * Run the supplied function in the context of the domain, implicitly - * binding all event emitters, timers, and low-level requests that are - * created in that context. Optionally, arguments can be passed to - * the function. - * - * This is the most basic way to use a domain. - * - * ```js - * const domain = require('node:domain'); - * const fs = require('node:fs'); - * const d = domain.create(); - * d.on('error', (er) => { - * console.error('Caught error!', er); - * }); - * d.run(() => { - * process.nextTick(() => { - * setTimeout(() => { // Simulating some various async stuff - * fs.open('non-existent file', 'r', (er, fd) => { - * if (er) throw er; - * // proceed... - * }); - * }, 100); - * }); - * }); - * ``` - * - * In this example, the `d.on('error')` handler will be triggered, rather - * than crashing the program. - */ - run(fn: (...args: any[]) => T, ...args: any[]): T; - /** - * Explicitly adds an emitter to the domain. If any event handlers called by - * the emitter throw an error, or if the emitter emits an `'error'` event, it - * will be routed to the domain's `'error'` event, just like with implicit - * binding. - * - * This also works with timers that are returned from `setInterval()` and `setTimeout()`. If their callback function throws, it will be caught by - * the domain `'error'` handler. - * - * If the Timer or `EventEmitter` was already bound to a domain, it is removed - * from that one, and bound to this one instead. - * @param emitter emitter or timer to be added to the domain - */ - add(emitter: EventEmitter | NodeJS.Timer): void; - /** - * The opposite of {@link add}. Removes domain handling from the - * specified emitter. - * @param emitter emitter or timer to be removed from the domain - */ - remove(emitter: EventEmitter | NodeJS.Timer): void; - /** - * The returned function will be a wrapper around the supplied callback - * function. When the returned function is called, any errors that are - * thrown will be routed to the domain's `'error'` event. - * - * ```js - * const d = domain.create(); - * - * function readSomeFile(filename, cb) { - * fs.readFile(filename, 'utf8', d.bind((er, data) => { - * // If this throws, it will also be passed to the domain. - * return cb(er, data ? JSON.parse(data) : null); - * })); - * } - * - * d.on('error', (er) => { - * // An error occurred somewhere. If we throw it now, it will crash the program - * // with the normal line number and stack message. - * }); - * ``` - * @param callback The callback function - * @return The bound function - */ - bind(callback: T): T; - /** - * This method is almost identical to {@link bind}. However, in - * addition to catching thrown errors, it will also intercept `Error` objects sent as the first argument to the function. - * - * In this way, the common `if (err) return callback(err);` pattern can be replaced - * with a single error handler in a single place. - * - * ```js - * const d = domain.create(); - * - * function readSomeFile(filename, cb) { - * fs.readFile(filename, 'utf8', d.intercept((data) => { - * // Note, the first argument is never passed to the - * // callback since it is assumed to be the 'Error' argument - * // and thus intercepted by the domain. - * - * // If this throws, it will also be passed to the domain - * // so the error-handling logic can be moved to the 'error' - * // event on the domain instead of being repeated throughout - * // the program. - * return cb(null, JSON.parse(data)); - * })); - * } - * - * d.on('error', (er) => { - * // An error occurred somewhere. If we throw it now, it will crash the program - * // with the normal line number and stack message. - * }); - * ``` - * @param callback The callback function - * @return The intercepted function - */ - intercept(callback: T): T; - } - function create(): Domain; -} -declare module "node:domain" { - export * from "domain"; -} diff --git a/node_modules/@types/node/events.d.ts b/node_modules/@types/node/events.d.ts deleted file mode 100644 index 87b3ba0..0000000 --- a/node_modules/@types/node/events.d.ts +++ /dev/null @@ -1,896 +0,0 @@ -/** - * Much of the Node.js core API is built around an idiomatic asynchronous - * event-driven architecture in which certain kinds of objects (called "emitters") - * emit named events that cause `Function` objects ("listeners") to be called. - * - * For instance: a `net.Server` object emits an event each time a peer - * connects to it; a `fs.ReadStream` emits an event when the file is opened; - * a `stream` emits an event whenever data is available to be read. - * - * All objects that emit events are instances of the `EventEmitter` class. These - * objects expose an `eventEmitter.on()` function that allows one or more - * functions to be attached to named events emitted by the object. Typically, - * event names are camel-cased strings but any valid JavaScript property key - * can be used. - * - * When the `EventEmitter` object emits an event, all of the functions attached - * to that specific event are called _synchronously_. Any values returned by the - * called listeners are _ignored_ and discarded. - * - * The following example shows a simple `EventEmitter` instance with a single - * listener. The `eventEmitter.on()` method is used to register listeners, while - * the `eventEmitter.emit()` method is used to trigger the event. - * - * ```js - * import { EventEmitter } from 'node:events'; - * - * class MyEmitter extends EventEmitter {} - * - * const myEmitter = new MyEmitter(); - * myEmitter.on('event', () => { - * console.log('an event occurred!'); - * }); - * myEmitter.emit('event'); - * ``` - * @see [source](https://github.com/nodejs/node/blob/v20.2.0/lib/events.js) - */ -declare module "events" { - import { AsyncResource, AsyncResourceOptions } from "node:async_hooks"; - // NOTE: This class is in the docs but is **not actually exported** by Node. - // If https://github.com/nodejs/node/issues/39903 gets resolved and Node - // actually starts exporting the class, uncomment below. - // import { EventListener, EventListenerObject } from '__dom-events'; - // /** The NodeEventTarget is a Node.js-specific extension to EventTarget that emulates a subset of the EventEmitter API. */ - // interface NodeEventTarget extends EventTarget { - // /** - // * Node.js-specific extension to the `EventTarget` class that emulates the equivalent `EventEmitter` API. - // * The only difference between `addListener()` and `addEventListener()` is that addListener() will return a reference to the EventTarget. - // */ - // addListener(type: string, listener: EventListener | EventListenerObject, options?: { once: boolean }): this; - // /** Node.js-specific extension to the `EventTarget` class that returns an array of event `type` names for which event listeners are registered. */ - // eventNames(): string[]; - // /** Node.js-specific extension to the `EventTarget` class that returns the number of event listeners registered for the `type`. */ - // listenerCount(type: string): number; - // /** Node.js-specific alias for `eventTarget.removeListener()`. */ - // off(type: string, listener: EventListener | EventListenerObject): this; - // /** Node.js-specific alias for `eventTarget.addListener()`. */ - // on(type: string, listener: EventListener | EventListenerObject, options?: { once: boolean }): this; - // /** Node.js-specific extension to the `EventTarget` class that adds a `once` listener for the given event `type`. This is equivalent to calling `on` with the `once` option set to `true`. */ - // once(type: string, listener: EventListener | EventListenerObject): this; - // /** - // * Node.js-specific extension to the `EventTarget` class. - // * If `type` is specified, removes all registered listeners for `type`, - // * otherwise removes all registered listeners. - // */ - // removeAllListeners(type: string): this; - // /** - // * Node.js-specific extension to the `EventTarget` class that removes the listener for the given `type`. - // * The only difference between `removeListener()` and `removeEventListener()` is that `removeListener()` will return a reference to the `EventTarget`. - // */ - // removeListener(type: string, listener: EventListener | EventListenerObject): this; - // } - interface EventEmitterOptions { - /** - * Enables automatic capturing of promise rejection. - */ - captureRejections?: boolean | undefined; - } - // Any EventTarget with a Node-style `once` function - interface _NodeEventTarget { - once(eventName: string | symbol, listener: (...args: any[]) => void): this; - } - // Any EventTarget with a DOM-style `addEventListener` - interface _DOMEventTarget { - addEventListener( - eventName: string, - listener: (...args: any[]) => void, - opts?: { - once: boolean; - }, - ): any; - } - interface StaticEventEmitterOptions { - signal?: AbortSignal | undefined; - } - interface EventEmitter = DefaultEventMap> extends NodeJS.EventEmitter {} - type EventMap = Record | DefaultEventMap; - type DefaultEventMap = [never]; - type AnyRest = [...args: any[]]; - type Args = T extends DefaultEventMap ? AnyRest : ( - K extends keyof T ? T[K] : never - ); - type Key = T extends DefaultEventMap ? string | symbol : K | keyof T; - type Key2 = T extends DefaultEventMap ? string | symbol : K & keyof T; - type Listener = T extends DefaultEventMap ? F : ( - K extends keyof T ? ( - T[K] extends unknown[] ? (...args: T[K]) => void : never - ) - : never - ); - type Listener1 = Listener void>; - type Listener2 = Listener; - - /** - * The `EventEmitter` class is defined and exposed by the `node:events` module: - * - * ```js - * import { EventEmitter } from 'node:events'; - * ``` - * - * All `EventEmitter`s emit the event `'newListener'` when new listeners are - * added and `'removeListener'` when existing listeners are removed. - * - * It supports the following option: - * @since v0.1.26 - */ - class EventEmitter = DefaultEventMap> { - constructor(options?: EventEmitterOptions); - - [EventEmitter.captureRejectionSymbol]?(error: Error, event: Key, ...args: Args): void; - - /** - * Creates a `Promise` that is fulfilled when the `EventEmitter` emits the given - * event or that is rejected if the `EventEmitter` emits `'error'` while waiting. - * The `Promise` will resolve with an array of all the arguments emitted to the - * given event. - * - * This method is intentionally generic and works with the web platform [EventTarget](https://dom.spec.whatwg.org/#interface-eventtarget) interface, which has no special`'error'` event - * semantics and does not listen to the `'error'` event. - * - * ```js - * import { once, EventEmitter } from 'node:events'; - * import process from 'node:process'; - * - * const ee = new EventEmitter(); - * - * process.nextTick(() => { - * ee.emit('myevent', 42); - * }); - * - * const [value] = await once(ee, 'myevent'); - * console.log(value); - * - * const err = new Error('kaboom'); - * process.nextTick(() => { - * ee.emit('error', err); - * }); - * - * try { - * await once(ee, 'myevent'); - * } catch (err) { - * console.error('error happened', err); - * } - * ``` - * - * The special handling of the `'error'` event is only used when `events.once()`is used to wait for another event. If `events.once()` is used to wait for the - * '`error'` event itself, then it is treated as any other kind of event without - * special handling: - * - * ```js - * import { EventEmitter, once } from 'node:events'; - * - * const ee = new EventEmitter(); - * - * once(ee, 'error') - * .then(([err]) => console.log('ok', err.message)) - * .catch((err) => console.error('error', err.message)); - * - * ee.emit('error', new Error('boom')); - * - * // Prints: ok boom - * ``` - * - * An `AbortSignal` can be used to cancel waiting for the event: - * - * ```js - * import { EventEmitter, once } from 'node:events'; - * - * const ee = new EventEmitter(); - * const ac = new AbortController(); - * - * async function foo(emitter, event, signal) { - * try { - * await once(emitter, event, { signal }); - * console.log('event emitted!'); - * } catch (error) { - * if (error.name === 'AbortError') { - * console.error('Waiting for the event was canceled!'); - * } else { - * console.error('There was an error', error.message); - * } - * } - * } - * - * foo(ee, 'foo', ac.signal); - * ac.abort(); // Abort waiting for the event - * ee.emit('foo'); // Prints: Waiting for the event was canceled! - * ``` - * @since v11.13.0, v10.16.0 - */ - static once( - emitter: _NodeEventTarget, - eventName: string | symbol, - options?: StaticEventEmitterOptions, - ): Promise; - static once(emitter: _DOMEventTarget, eventName: string, options?: StaticEventEmitterOptions): Promise; - /** - * ```js - * import { on, EventEmitter } from 'node:events'; - * import process from 'node:process'; - * - * const ee = new EventEmitter(); - * - * // Emit later on - * process.nextTick(() => { - * ee.emit('foo', 'bar'); - * ee.emit('foo', 42); - * }); - * - * for await (const event of on(ee, 'foo')) { - * // The execution of this inner block is synchronous and it - * // processes one event at a time (even with await). Do not use - * // if concurrent execution is required. - * console.log(event); // prints ['bar'] [42] - * } - * // Unreachable here - * ``` - * - * Returns an `AsyncIterator` that iterates `eventName` events. It will throw - * if the `EventEmitter` emits `'error'`. It removes all listeners when - * exiting the loop. The `value` returned by each iteration is an array - * composed of the emitted event arguments. - * - * An `AbortSignal` can be used to cancel waiting on events: - * - * ```js - * import { on, EventEmitter } from 'node:events'; - * import process from 'node:process'; - * - * const ac = new AbortController(); - * - * (async () => { - * const ee = new EventEmitter(); - * - * // Emit later on - * process.nextTick(() => { - * ee.emit('foo', 'bar'); - * ee.emit('foo', 42); - * }); - * - * for await (const event of on(ee, 'foo', { signal: ac.signal })) { - * // The execution of this inner block is synchronous and it - * // processes one event at a time (even with await). Do not use - * // if concurrent execution is required. - * console.log(event); // prints ['bar'] [42] - * } - * // Unreachable here - * })(); - * - * process.nextTick(() => ac.abort()); - * ``` - * @since v13.6.0, v12.16.0 - * @param eventName The name of the event being listened for - * @return that iterates `eventName` events emitted by the `emitter` - */ - static on( - emitter: NodeJS.EventEmitter, - eventName: string, - options?: StaticEventEmitterOptions, - ): AsyncIterableIterator; - /** - * A class method that returns the number of listeners for the given `eventName`registered on the given `emitter`. - * - * ```js - * import { EventEmitter, listenerCount } from 'node:events'; - * - * const myEmitter = new EventEmitter(); - * myEmitter.on('event', () => {}); - * myEmitter.on('event', () => {}); - * console.log(listenerCount(myEmitter, 'event')); - * // Prints: 2 - * ``` - * @since v0.9.12 - * @deprecated Since v3.2.0 - Use `listenerCount` instead. - * @param emitter The emitter to query - * @param eventName The event name - */ - static listenerCount(emitter: NodeJS.EventEmitter, eventName: string | symbol): number; - /** - * Returns a copy of the array of listeners for the event named `eventName`. - * - * For `EventEmitter`s this behaves exactly the same as calling `.listeners` on - * the emitter. - * - * For `EventTarget`s this is the only way to get the event listeners for the - * event target. This is useful for debugging and diagnostic purposes. - * - * ```js - * import { getEventListeners, EventEmitter } from 'node:events'; - * - * { - * const ee = new EventEmitter(); - * const listener = () => console.log('Events are fun'); - * ee.on('foo', listener); - * console.log(getEventListeners(ee, 'foo')); // [ [Function: listener] ] - * } - * { - * const et = new EventTarget(); - * const listener = () => console.log('Events are fun'); - * et.addEventListener('foo', listener); - * console.log(getEventListeners(et, 'foo')); // [ [Function: listener] ] - * } - * ``` - * @since v15.2.0, v14.17.0 - */ - static getEventListeners(emitter: _DOMEventTarget | NodeJS.EventEmitter, name: string | symbol): Function[]; - /** - * Returns the currently set max amount of listeners. - * - * For `EventEmitter`s this behaves exactly the same as calling `.getMaxListeners` on - * the emitter. - * - * For `EventTarget`s this is the only way to get the max event listeners for the - * event target. If the number of event handlers on a single EventTarget exceeds - * the max set, the EventTarget will print a warning. - * - * ```js - * import { getMaxListeners, setMaxListeners, EventEmitter } from 'node:events'; - * - * { - * const ee = new EventEmitter(); - * console.log(getMaxListeners(ee)); // 10 - * setMaxListeners(11, ee); - * console.log(getMaxListeners(ee)); // 11 - * } - * { - * const et = new EventTarget(); - * console.log(getMaxListeners(et)); // 10 - * setMaxListeners(11, et); - * console.log(getMaxListeners(et)); // 11 - * } - * ``` - * @since v19.9.0 - */ - static getMaxListeners(emitter: _DOMEventTarget | NodeJS.EventEmitter): number; - /** - * ```js - * import { setMaxListeners, EventEmitter } from 'node:events'; - * - * const target = new EventTarget(); - * const emitter = new EventEmitter(); - * - * setMaxListeners(5, target, emitter); - * ``` - * @since v15.4.0 - * @param n A non-negative number. The maximum number of listeners per `EventTarget` event. - * @param eventsTargets Zero or more {EventTarget} or {EventEmitter} instances. If none are specified, `n` is set as the default max for all newly created {EventTarget} and {EventEmitter} - * objects. - */ - static setMaxListeners(n?: number, ...eventTargets: Array<_DOMEventTarget | NodeJS.EventEmitter>): void; - /** - * Listens once to the `abort` event on the provided `signal`. - * - * Listening to the `abort` event on abort signals is unsafe and may - * lead to resource leaks since another third party with the signal can - * call `e.stopImmediatePropagation()`. Unfortunately Node.js cannot change - * this since it would violate the web standard. Additionally, the original - * API makes it easy to forget to remove listeners. - * - * This API allows safely using `AbortSignal`s in Node.js APIs by solving these - * two issues by listening to the event such that `stopImmediatePropagation` does - * not prevent the listener from running. - * - * Returns a disposable so that it may be unsubscribed from more easily. - * - * ```js - * import { addAbortListener } from 'node:events'; - * - * function example(signal) { - * let disposable; - * try { - * signal.addEventListener('abort', (e) => e.stopImmediatePropagation()); - * disposable = addAbortListener(signal, (e) => { - * // Do something when signal is aborted. - * }); - * } finally { - * disposable?.[Symbol.dispose](); - * } - * } - * ``` - * @since v20.5.0 - * @experimental - * @return Disposable that removes the `abort` listener. - */ - static addAbortListener(signal: AbortSignal, resource: (event: Event) => void): Disposable; - /** - * This symbol shall be used to install a listener for only monitoring `'error'`events. Listeners installed using this symbol are called before the regular`'error'` listeners are called. - * - * Installing a listener using this symbol does not change the behavior once an`'error'` event is emitted. Therefore, the process will still crash if no - * regular `'error'` listener is installed. - * @since v13.6.0, v12.17.0 - */ - static readonly errorMonitor: unique symbol; - /** - * Value: `Symbol.for('nodejs.rejection')` - * - * See how to write a custom `rejection handler`. - * @since v13.4.0, v12.16.0 - */ - static readonly captureRejectionSymbol: unique symbol; - /** - * Value: [boolean](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Boolean_type) - * - * Change the default `captureRejections` option on all new `EventEmitter` objects. - * @since v13.4.0, v12.16.0 - */ - static captureRejections: boolean; - /** - * By default, a maximum of `10` listeners can be registered for any single - * event. This limit can be changed for individual `EventEmitter` instances - * using the `emitter.setMaxListeners(n)` method. To change the default - * for _all_`EventEmitter` instances, the `events.defaultMaxListeners`property can be used. If this value is not a positive number, a `RangeError`is thrown. - * - * Take caution when setting the `events.defaultMaxListeners` because the - * change affects _all_`EventEmitter` instances, including those created before - * the change is made. However, calling `emitter.setMaxListeners(n)` still has - * precedence over `events.defaultMaxListeners`. - * - * This is not a hard limit. The `EventEmitter` instance will allow - * more listeners to be added but will output a trace warning to stderr indicating - * that a "possible EventEmitter memory leak" has been detected. For any single`EventEmitter`, the `emitter.getMaxListeners()` and `emitter.setMaxListeners()`methods can be used to - * temporarily avoid this warning: - * - * ```js - * import { EventEmitter } from 'node:events'; - * const emitter = new EventEmitter(); - * emitter.setMaxListeners(emitter.getMaxListeners() + 1); - * emitter.once('event', () => { - * // do stuff - * emitter.setMaxListeners(Math.max(emitter.getMaxListeners() - 1, 0)); - * }); - * ``` - * - * The `--trace-warnings` command-line flag can be used to display the - * stack trace for such warnings. - * - * The emitted warning can be inspected with `process.on('warning')` and will - * have the additional `emitter`, `type`, and `count` properties, referring to - * the event emitter instance, the event's name and the number of attached - * listeners, respectively. - * Its `name` property is set to `'MaxListenersExceededWarning'`. - * @since v0.11.2 - */ - static defaultMaxListeners: number; - } - import internal = require("node:events"); - namespace EventEmitter { - // Should just be `export { EventEmitter }`, but that doesn't work in TypeScript 3.4 - export { internal as EventEmitter }; - export interface Abortable { - /** - * When provided the corresponding `AbortController` can be used to cancel an asynchronous action. - */ - signal?: AbortSignal | undefined; - } - - export interface EventEmitterReferencingAsyncResource extends AsyncResource { - readonly eventEmitter: EventEmitterAsyncResource; - } - - export interface EventEmitterAsyncResourceOptions extends AsyncResourceOptions, EventEmitterOptions { - /** - * The type of async event, this is required when instantiating `EventEmitterAsyncResource` - * directly rather than as a child class. - * @default new.target.name if instantiated as a child class. - */ - name?: string; - } - - /** - * Integrates `EventEmitter` with `AsyncResource` for `EventEmitter`s that - * require manual async tracking. Specifically, all events emitted by instances - * of `events.EventEmitterAsyncResource` will run within its `async context`. - * - * ```js - * import { EventEmitterAsyncResource, EventEmitter } from 'node:events'; - * import { notStrictEqual, strictEqual } from 'node:assert'; - * import { executionAsyncId, triggerAsyncId } from 'node:async_hooks'; - * - * // Async tracking tooling will identify this as 'Q'. - * const ee1 = new EventEmitterAsyncResource({ name: 'Q' }); - * - * // 'foo' listeners will run in the EventEmitters async context. - * ee1.on('foo', () => { - * strictEqual(executionAsyncId(), ee1.asyncId); - * strictEqual(triggerAsyncId(), ee1.triggerAsyncId); - * }); - * - * const ee2 = new EventEmitter(); - * - * // 'foo' listeners on ordinary EventEmitters that do not track async - * // context, however, run in the same async context as the emit(). - * ee2.on('foo', () => { - * notStrictEqual(executionAsyncId(), ee2.asyncId); - * notStrictEqual(triggerAsyncId(), ee2.triggerAsyncId); - * }); - * - * Promise.resolve().then(() => { - * ee1.emit('foo'); - * ee2.emit('foo'); - * }); - * ``` - * - * The `EventEmitterAsyncResource` class has the same methods and takes the - * same options as `EventEmitter` and `AsyncResource` themselves. - * @since v17.4.0, v16.14.0 - */ - export class EventEmitterAsyncResource extends EventEmitter { - /** - * @param options Only optional in child class. - */ - constructor(options?: EventEmitterAsyncResourceOptions); - /** - * Call all `destroy` hooks. This should only ever be called once. An error will - * be thrown if it is called more than once. This **must** be manually called. If - * the resource is left to be collected by the GC then the `destroy` hooks will - * never be called. - */ - emitDestroy(): void; - /** - * The unique `asyncId` assigned to the resource. - */ - readonly asyncId: number; - /** - * The same triggerAsyncId that is passed to the AsyncResource constructor. - */ - readonly triggerAsyncId: number; - /** - * The returned `AsyncResource` object has an additional `eventEmitter` property - * that provides a reference to this `EventEmitterAsyncResource`. - */ - readonly asyncResource: EventEmitterReferencingAsyncResource; - } - } - global { - namespace NodeJS { - interface EventEmitter = DefaultEventMap> { - [EventEmitter.captureRejectionSymbol]?(error: Error, event: Key, ...args: Args): void; - /** - * Alias for `emitter.on(eventName, listener)`. - * @since v0.1.26 - */ - addListener(eventName: Key, listener: Listener1): this; - /** - * Adds the `listener` function to the end of the listeners array for the - * event named `eventName`. No checks are made to see if the `listener` has - * already been added. Multiple calls passing the same combination of `eventName`and `listener` will result in the `listener` being added, and called, multiple - * times. - * - * ```js - * server.on('connection', (stream) => { - * console.log('someone connected!'); - * }); - * ``` - * - * Returns a reference to the `EventEmitter`, so that calls can be chained. - * - * By default, event listeners are invoked in the order they are added. The`emitter.prependListener()` method can be used as an alternative to add the - * event listener to the beginning of the listeners array. - * - * ```js - * import { EventEmitter } from 'node:events'; - * const myEE = new EventEmitter(); - * myEE.on('foo', () => console.log('a')); - * myEE.prependListener('foo', () => console.log('b')); - * myEE.emit('foo'); - * // Prints: - * // b - * // a - * ``` - * @since v0.1.101 - * @param eventName The name of the event. - * @param listener The callback function - */ - on(eventName: Key, listener: Listener1): this; - /** - * Adds a **one-time**`listener` function for the event named `eventName`. The - * next time `eventName` is triggered, this listener is removed and then invoked. - * - * ```js - * server.once('connection', (stream) => { - * console.log('Ah, we have our first user!'); - * }); - * ``` - * - * Returns a reference to the `EventEmitter`, so that calls can be chained. - * - * By default, event listeners are invoked in the order they are added. The`emitter.prependOnceListener()` method can be used as an alternative to add the - * event listener to the beginning of the listeners array. - * - * ```js - * import { EventEmitter } from 'node:events'; - * const myEE = new EventEmitter(); - * myEE.once('foo', () => console.log('a')); - * myEE.prependOnceListener('foo', () => console.log('b')); - * myEE.emit('foo'); - * // Prints: - * // b - * // a - * ``` - * @since v0.3.0 - * @param eventName The name of the event. - * @param listener The callback function - */ - once(eventName: Key, listener: Listener1): this; - /** - * Removes the specified `listener` from the listener array for the event named`eventName`. - * - * ```js - * const callback = (stream) => { - * console.log('someone connected!'); - * }; - * server.on('connection', callback); - * // ... - * server.removeListener('connection', callback); - * ``` - * - * `removeListener()` will remove, at most, one instance of a listener from the - * listener array. If any single listener has been added multiple times to the - * listener array for the specified `eventName`, then `removeListener()` must be - * called multiple times to remove each instance. - * - * Once an event is emitted, all listeners attached to it at the - * time of emitting are called in order. This implies that any`removeListener()` or `removeAllListeners()` calls _after_ emitting and _before_ the last listener finishes execution - * will not remove them from`emit()` in progress. Subsequent events behave as expected. - * - * ```js - * import { EventEmitter } from 'node:events'; - * class MyEmitter extends EventEmitter {} - * const myEmitter = new MyEmitter(); - * - * const callbackA = () => { - * console.log('A'); - * myEmitter.removeListener('event', callbackB); - * }; - * - * const callbackB = () => { - * console.log('B'); - * }; - * - * myEmitter.on('event', callbackA); - * - * myEmitter.on('event', callbackB); - * - * // callbackA removes listener callbackB but it will still be called. - * // Internal listener array at time of emit [callbackA, callbackB] - * myEmitter.emit('event'); - * // Prints: - * // A - * // B - * - * // callbackB is now removed. - * // Internal listener array [callbackA] - * myEmitter.emit('event'); - * // Prints: - * // A - * ``` - * - * Because listeners are managed using an internal array, calling this will - * change the position indices of any listener registered _after_ the listener - * being removed. This will not impact the order in which listeners are called, - * but it means that any copies of the listener array as returned by - * the `emitter.listeners()` method will need to be recreated. - * - * When a single function has been added as a handler multiple times for a single - * event (as in the example below), `removeListener()` will remove the most - * recently added instance. In the example the `once('ping')`listener is removed: - * - * ```js - * import { EventEmitter } from 'node:events'; - * const ee = new EventEmitter(); - * - * function pong() { - * console.log('pong'); - * } - * - * ee.on('ping', pong); - * ee.once('ping', pong); - * ee.removeListener('ping', pong); - * - * ee.emit('ping'); - * ee.emit('ping'); - * ``` - * - * Returns a reference to the `EventEmitter`, so that calls can be chained. - * @since v0.1.26 - */ - removeListener(eventName: Key, listener: Listener1): this; - /** - * Alias for `emitter.removeListener()`. - * @since v10.0.0 - */ - off(eventName: Key, listener: Listener1): this; - /** - * Removes all listeners, or those of the specified `eventName`. - * - * It is bad practice to remove listeners added elsewhere in the code, - * particularly when the `EventEmitter` instance was created by some other - * component or module (e.g. sockets or file streams). - * - * Returns a reference to the `EventEmitter`, so that calls can be chained. - * @since v0.1.26 - */ - removeAllListeners(event?: Key): this; - /** - * By default `EventEmitter`s will print a warning if more than `10` listeners are - * added for a particular event. This is a useful default that helps finding - * memory leaks. The `emitter.setMaxListeners()` method allows the limit to be - * modified for this specific `EventEmitter` instance. The value can be set to`Infinity` (or `0`) to indicate an unlimited number of listeners. - * - * Returns a reference to the `EventEmitter`, so that calls can be chained. - * @since v0.3.5 - */ - setMaxListeners(n: number): this; - /** - * Returns the current max listener value for the `EventEmitter` which is either - * set by `emitter.setMaxListeners(n)` or defaults to {@link defaultMaxListeners}. - * @since v1.0.0 - */ - getMaxListeners(): number; - /** - * Returns a copy of the array of listeners for the event named `eventName`. - * - * ```js - * server.on('connection', (stream) => { - * console.log('someone connected!'); - * }); - * console.log(util.inspect(server.listeners('connection'))); - * // Prints: [ [Function] ] - * ``` - * @since v0.1.26 - */ - listeners(eventName: Key): Array>; - /** - * Returns a copy of the array of listeners for the event named `eventName`, - * including any wrappers (such as those created by `.once()`). - * - * ```js - * import { EventEmitter } from 'node:events'; - * const emitter = new EventEmitter(); - * emitter.once('log', () => console.log('log once')); - * - * // Returns a new Array with a function `onceWrapper` which has a property - * // `listener` which contains the original listener bound above - * const listeners = emitter.rawListeners('log'); - * const logFnWrapper = listeners[0]; - * - * // Logs "log once" to the console and does not unbind the `once` event - * logFnWrapper.listener(); - * - * // Logs "log once" to the console and removes the listener - * logFnWrapper(); - * - * emitter.on('log', () => console.log('log persistently')); - * // Will return a new Array with a single function bound by `.on()` above - * const newListeners = emitter.rawListeners('log'); - * - * // Logs "log persistently" twice - * newListeners[0](); - * emitter.emit('log'); - * ``` - * @since v9.4.0 - */ - rawListeners(eventName: Key): Array>; - /** - * Synchronously calls each of the listeners registered for the event named`eventName`, in the order they were registered, passing the supplied arguments - * to each. - * - * Returns `true` if the event had listeners, `false` otherwise. - * - * ```js - * import { EventEmitter } from 'node:events'; - * const myEmitter = new EventEmitter(); - * - * // First listener - * myEmitter.on('event', function firstListener() { - * console.log('Helloooo! first listener'); - * }); - * // Second listener - * myEmitter.on('event', function secondListener(arg1, arg2) { - * console.log(`event with parameters ${arg1}, ${arg2} in second listener`); - * }); - * // Third listener - * myEmitter.on('event', function thirdListener(...args) { - * const parameters = args.join(', '); - * console.log(`event with parameters ${parameters} in third listener`); - * }); - * - * console.log(myEmitter.listeners('event')); - * - * myEmitter.emit('event', 1, 2, 3, 4, 5); - * - * // Prints: - * // [ - * // [Function: firstListener], - * // [Function: secondListener], - * // [Function: thirdListener] - * // ] - * // Helloooo! first listener - * // event with parameters 1, 2 in second listener - * // event with parameters 1, 2, 3, 4, 5 in third listener - * ``` - * @since v0.1.26 - */ - emit(eventName: Key, ...args: Args): boolean; - /** - * Returns the number of listeners listening for the event named `eventName`. - * If `listener` is provided, it will return how many times the listener is found - * in the list of the listeners of the event. - * @since v3.2.0 - * @param eventName The name of the event being listened for - * @param listener The event handler function - */ - listenerCount(eventName: Key, listener?: Listener2): number; - /** - * Adds the `listener` function to the _beginning_ of the listeners array for the - * event named `eventName`. No checks are made to see if the `listener` has - * already been added. Multiple calls passing the same combination of `eventName`and `listener` will result in the `listener` being added, and called, multiple - * times. - * - * ```js - * server.prependListener('connection', (stream) => { - * console.log('someone connected!'); - * }); - * ``` - * - * Returns a reference to the `EventEmitter`, so that calls can be chained. - * @since v6.0.0 - * @param eventName The name of the event. - * @param listener The callback function - */ - prependListener(eventName: Key, listener: Listener1): this; - /** - * Adds a **one-time**`listener` function for the event named `eventName` to the _beginning_ of the listeners array. The next time `eventName` is triggered, this - * listener is removed, and then invoked. - * - * ```js - * server.prependOnceListener('connection', (stream) => { - * console.log('Ah, we have our first user!'); - * }); - * ``` - * - * Returns a reference to the `EventEmitter`, so that calls can be chained. - * @since v6.0.0 - * @param eventName The name of the event. - * @param listener The callback function - */ - prependOnceListener(eventName: Key, listener: Listener1): this; - /** - * Returns an array listing the events for which the emitter has registered - * listeners. The values in the array are strings or `Symbol`s. - * - * ```js - * import { EventEmitter } from 'node:events'; - * - * const myEE = new EventEmitter(); - * myEE.on('foo', () => {}); - * myEE.on('bar', () => {}); - * - * const sym = Symbol('symbol'); - * myEE.on(sym, () => {}); - * - * console.log(myEE.eventNames()); - * // Prints: [ 'foo', 'bar', Symbol(symbol) ] - * ``` - * @since v6.0.0 - */ - eventNames(): Array<(string | symbol) & Key2>; - } - } - } - export = EventEmitter; -} -declare module "node:events" { - import events = require("events"); - export = events; -} diff --git a/node_modules/@types/node/fs.d.ts b/node_modules/@types/node/fs.d.ts deleted file mode 100644 index 5cbca12..0000000 --- a/node_modules/@types/node/fs.d.ts +++ /dev/null @@ -1,4311 +0,0 @@ -/** - * The `node:fs` module enables interacting with the file system in a - * way modeled on standard POSIX functions. - * - * To use the promise-based APIs: - * - * ```js - * import * as fs from 'node:fs/promises'; - * ``` - * - * To use the callback and sync APIs: - * - * ```js - * import * as fs from 'node:fs'; - * ``` - * - * All file system operations have synchronous, callback, and promise-based - * forms, and are accessible using both CommonJS syntax and ES6 Modules (ESM). - * @see [source](https://github.com/nodejs/node/blob/v20.2.0/lib/fs.js) - */ -declare module "fs" { - import * as stream from "node:stream"; - import { Abortable, EventEmitter } from "node:events"; - import { URL } from "node:url"; - import * as promises from "node:fs/promises"; - export { promises }; - /** - * Valid types for path values in "fs". - */ - export type PathLike = string | Buffer | URL; - export type PathOrFileDescriptor = PathLike | number; - export type TimeLike = string | number | Date; - export type NoParamCallback = (err: NodeJS.ErrnoException | null) => void; - export type BufferEncodingOption = - | "buffer" - | { - encoding: "buffer"; - }; - export interface ObjectEncodingOptions { - encoding?: BufferEncoding | null | undefined; - } - export type EncodingOption = ObjectEncodingOptions | BufferEncoding | undefined | null; - export type OpenMode = number | string; - export type Mode = number | string; - export interface StatsBase { - isFile(): boolean; - isDirectory(): boolean; - isBlockDevice(): boolean; - isCharacterDevice(): boolean; - isSymbolicLink(): boolean; - isFIFO(): boolean; - isSocket(): boolean; - dev: T; - ino: T; - mode: T; - nlink: T; - uid: T; - gid: T; - rdev: T; - size: T; - blksize: T; - blocks: T; - atimeMs: T; - mtimeMs: T; - ctimeMs: T; - birthtimeMs: T; - atime: Date; - mtime: Date; - ctime: Date; - birthtime: Date; - } - export interface Stats extends StatsBase {} - /** - * A `fs.Stats` object provides information about a file. - * - * Objects returned from {@link stat}, {@link lstat}, {@link fstat}, and - * their synchronous counterparts are of this type. - * If `bigint` in the `options` passed to those methods is true, the numeric values - * will be `bigint` instead of `number`, and the object will contain additional - * nanosecond-precision properties suffixed with `Ns`. - * - * ```console - * Stats { - * dev: 2114, - * ino: 48064969, - * mode: 33188, - * nlink: 1, - * uid: 85, - * gid: 100, - * rdev: 0, - * size: 527, - * blksize: 4096, - * blocks: 8, - * atimeMs: 1318289051000.1, - * mtimeMs: 1318289051000.1, - * ctimeMs: 1318289051000.1, - * birthtimeMs: 1318289051000.1, - * atime: Mon, 10 Oct 2011 23:24:11 GMT, - * mtime: Mon, 10 Oct 2011 23:24:11 GMT, - * ctime: Mon, 10 Oct 2011 23:24:11 GMT, - * birthtime: Mon, 10 Oct 2011 23:24:11 GMT } - * ``` - * - * `bigint` version: - * - * ```console - * BigIntStats { - * dev: 2114n, - * ino: 48064969n, - * mode: 33188n, - * nlink: 1n, - * uid: 85n, - * gid: 100n, - * rdev: 0n, - * size: 527n, - * blksize: 4096n, - * blocks: 8n, - * atimeMs: 1318289051000n, - * mtimeMs: 1318289051000n, - * ctimeMs: 1318289051000n, - * birthtimeMs: 1318289051000n, - * atimeNs: 1318289051000000000n, - * mtimeNs: 1318289051000000000n, - * ctimeNs: 1318289051000000000n, - * birthtimeNs: 1318289051000000000n, - * atime: Mon, 10 Oct 2011 23:24:11 GMT, - * mtime: Mon, 10 Oct 2011 23:24:11 GMT, - * ctime: Mon, 10 Oct 2011 23:24:11 GMT, - * birthtime: Mon, 10 Oct 2011 23:24:11 GMT } - * ``` - * @since v0.1.21 - */ - export class Stats {} - export interface StatsFsBase { - /** Type of file system. */ - type: T; - /** Optimal transfer block size. */ - bsize: T; - /** Total data blocks in file system. */ - blocks: T; - /** Free blocks in file system. */ - bfree: T; - /** Available blocks for unprivileged users */ - bavail: T; - /** Total file nodes in file system. */ - files: T; - /** Free file nodes in file system. */ - ffree: T; - } - export interface StatsFs extends StatsFsBase {} - /** - * Provides information about a mounted file system. - * - * Objects returned from {@link statfs} and its synchronous counterpart are of - * this type. If `bigint` in the `options` passed to those methods is `true`, the - * numeric values will be `bigint` instead of `number`. - * - * ```console - * StatFs { - * type: 1397114950, - * bsize: 4096, - * blocks: 121938943, - * bfree: 61058895, - * bavail: 61058895, - * files: 999, - * ffree: 1000000 - * } - * ``` - * - * `bigint` version: - * - * ```console - * StatFs { - * type: 1397114950n, - * bsize: 4096n, - * blocks: 121938943n, - * bfree: 61058895n, - * bavail: 61058895n, - * files: 999n, - * ffree: 1000000n - * } - * ``` - * @since v19.6.0, v18.15.0 - */ - export class StatsFs {} - export interface BigIntStatsFs extends StatsFsBase {} - export interface StatFsOptions { - bigint?: boolean | undefined; - } - /** - * A representation of a directory entry, which can be a file or a subdirectory - * within the directory, as returned by reading from an `fs.Dir`. The - * directory entry is a combination of the file name and file type pairs. - * - * Additionally, when {@link readdir} or {@link readdirSync} is called with - * the `withFileTypes` option set to `true`, the resulting array is filled with `fs.Dirent` objects, rather than strings or `Buffer` s. - * @since v10.10.0 - */ - export class Dirent { - /** - * Returns `true` if the `fs.Dirent` object describes a regular file. - * @since v10.10.0 - */ - isFile(): boolean; - /** - * Returns `true` if the `fs.Dirent` object describes a file system - * directory. - * @since v10.10.0 - */ - isDirectory(): boolean; - /** - * Returns `true` if the `fs.Dirent` object describes a block device. - * @since v10.10.0 - */ - isBlockDevice(): boolean; - /** - * Returns `true` if the `fs.Dirent` object describes a character device. - * @since v10.10.0 - */ - isCharacterDevice(): boolean; - /** - * Returns `true` if the `fs.Dirent` object describes a symbolic link. - * @since v10.10.0 - */ - isSymbolicLink(): boolean; - /** - * Returns `true` if the `fs.Dirent` object describes a first-in-first-out - * (FIFO) pipe. - * @since v10.10.0 - */ - isFIFO(): boolean; - /** - * Returns `true` if the `fs.Dirent` object describes a socket. - * @since v10.10.0 - */ - isSocket(): boolean; - /** - * The file name that this `fs.Dirent` object refers to. The type of this - * value is determined by the `options.encoding` passed to {@link readdir} or {@link readdirSync}. - * @since v10.10.0 - */ - name: string; - /** - * The base path that this `fs.Dirent` object refers to. - * @since v20.1.0 - */ - path: string; - } - /** - * A class representing a directory stream. - * - * Created by {@link opendir}, {@link opendirSync}, or `fsPromises.opendir()`. - * - * ```js - * import { opendir } from 'node:fs/promises'; - * - * try { - * const dir = await opendir('./'); - * for await (const dirent of dir) - * console.log(dirent.name); - * } catch (err) { - * console.error(err); - * } - * ``` - * - * When using the async iterator, the `fs.Dir` object will be automatically - * closed after the iterator exits. - * @since v12.12.0 - */ - export class Dir implements AsyncIterable { - /** - * The read-only path of this directory as was provided to {@link opendir},{@link opendirSync}, or `fsPromises.opendir()`. - * @since v12.12.0 - */ - readonly path: string; - /** - * Asynchronously iterates over the directory via `readdir(3)` until all entries have been read. - */ - [Symbol.asyncIterator](): AsyncIterableIterator; - /** - * Asynchronously close the directory's underlying resource handle. - * Subsequent reads will result in errors. - * - * A promise is returned that will be fulfilled after the resource has been - * closed. - * @since v12.12.0 - */ - close(): Promise; - close(cb: NoParamCallback): void; - /** - * Synchronously close the directory's underlying resource handle. - * Subsequent reads will result in errors. - * @since v12.12.0 - */ - closeSync(): void; - /** - * Asynchronously read the next directory entry via [`readdir(3)`](http://man7.org/linux/man-pages/man3/readdir.3.html) as an `fs.Dirent`. - * - * A promise is returned that will be fulfilled with an `fs.Dirent`, or `null`if there are no more directory entries to read. - * - * Directory entries returned by this function are in no particular order as - * provided by the operating system's underlying directory mechanisms. - * Entries added or removed while iterating over the directory might not be - * included in the iteration results. - * @since v12.12.0 - * @return containing {fs.Dirent|null} - */ - read(): Promise; - read(cb: (err: NodeJS.ErrnoException | null, dirEnt: Dirent | null) => void): void; - /** - * Synchronously read the next directory entry as an `fs.Dirent`. See the - * POSIX [`readdir(3)`](http://man7.org/linux/man-pages/man3/readdir.3.html) documentation for more detail. - * - * If there are no more directory entries to read, `null` will be returned. - * - * Directory entries returned by this function are in no particular order as - * provided by the operating system's underlying directory mechanisms. - * Entries added or removed while iterating over the directory might not be - * included in the iteration results. - * @since v12.12.0 - */ - readSync(): Dirent | null; - } - /** - * Class: fs.StatWatcher - * @since v14.3.0, v12.20.0 - * Extends `EventEmitter` - * A successful call to {@link watchFile} method will return a new fs.StatWatcher object. - */ - export interface StatWatcher extends EventEmitter { - /** - * When called, requests that the Node.js event loop _not_ exit so long as the `fs.StatWatcher` is active. Calling `watcher.ref()` multiple times will have - * no effect. - * - * By default, all `fs.StatWatcher` objects are "ref'ed", making it normally - * unnecessary to call `watcher.ref()` unless `watcher.unref()` had been - * called previously. - * @since v14.3.0, v12.20.0 - */ - ref(): this; - /** - * When called, the active `fs.StatWatcher` object will not require the Node.js - * event loop to remain active. If there is no other activity keeping the - * event loop running, the process may exit before the `fs.StatWatcher` object's - * callback is invoked. Calling `watcher.unref()` multiple times will have - * no effect. - * @since v14.3.0, v12.20.0 - */ - unref(): this; - } - export interface FSWatcher extends EventEmitter { - /** - * Stop watching for changes on the given `fs.FSWatcher`. Once stopped, the `fs.FSWatcher` object is no longer usable. - * @since v0.5.8 - */ - close(): void; - /** - * When called, requests that the Node.js event loop _not_ exit so long as the `fs.FSWatcher` is active. Calling `watcher.ref()` multiple times will have - * no effect. - * - * By default, all `fs.FSWatcher` objects are "ref'ed", making it normally - * unnecessary to call `watcher.ref()` unless `watcher.unref()` had been - * called previously. - * @since v14.3.0, v12.20.0 - */ - ref(): this; - /** - * When called, the active `fs.FSWatcher` object will not require the Node.js - * event loop to remain active. If there is no other activity keeping the - * event loop running, the process may exit before the `fs.FSWatcher` object's - * callback is invoked. Calling `watcher.unref()` multiple times will have - * no effect. - * @since v14.3.0, v12.20.0 - */ - unref(): this; - /** - * events.EventEmitter - * 1. change - * 2. close - * 3. error - */ - addListener(event: string, listener: (...args: any[]) => void): this; - addListener(event: "change", listener: (eventType: string, filename: string | Buffer) => void): this; - addListener(event: "close", listener: () => void): this; - addListener(event: "error", listener: (error: Error) => void): this; - on(event: string, listener: (...args: any[]) => void): this; - on(event: "change", listener: (eventType: string, filename: string | Buffer) => void): this; - on(event: "close", listener: () => void): this; - on(event: "error", listener: (error: Error) => void): this; - once(event: string, listener: (...args: any[]) => void): this; - once(event: "change", listener: (eventType: string, filename: string | Buffer) => void): this; - once(event: "close", listener: () => void): this; - once(event: "error", listener: (error: Error) => void): this; - prependListener(event: string, listener: (...args: any[]) => void): this; - prependListener(event: "change", listener: (eventType: string, filename: string | Buffer) => void): this; - prependListener(event: "close", listener: () => void): this; - prependListener(event: "error", listener: (error: Error) => void): this; - prependOnceListener(event: string, listener: (...args: any[]) => void): this; - prependOnceListener(event: "change", listener: (eventType: string, filename: string | Buffer) => void): this; - prependOnceListener(event: "close", listener: () => void): this; - prependOnceListener(event: "error", listener: (error: Error) => void): this; - } - /** - * Instances of `fs.ReadStream` are created and returned using the {@link createReadStream} function. - * @since v0.1.93 - */ - export class ReadStream extends stream.Readable { - close(callback?: (err?: NodeJS.ErrnoException | null) => void): void; - /** - * The number of bytes that have been read so far. - * @since v6.4.0 - */ - bytesRead: number; - /** - * The path to the file the stream is reading from as specified in the first - * argument to `fs.createReadStream()`. If `path` is passed as a string, then`readStream.path` will be a string. If `path` is passed as a `Buffer`, then`readStream.path` will be a - * `Buffer`. If `fd` is specified, then`readStream.path` will be `undefined`. - * @since v0.1.93 - */ - path: string | Buffer; - /** - * This property is `true` if the underlying file has not been opened yet, - * i.e. before the `'ready'` event is emitted. - * @since v11.2.0, v10.16.0 - */ - pending: boolean; - /** - * events.EventEmitter - * 1. open - * 2. close - * 3. ready - */ - addListener(event: "close", listener: () => void): this; - addListener(event: "data", listener: (chunk: Buffer | string) => void): this; - addListener(event: "end", listener: () => void): this; - addListener(event: "error", listener: (err: Error) => void): this; - addListener(event: "open", listener: (fd: number) => void): this; - addListener(event: "pause", listener: () => void): this; - addListener(event: "readable", listener: () => void): this; - addListener(event: "ready", listener: () => void): this; - addListener(event: "resume", listener: () => void): this; - addListener(event: string | symbol, listener: (...args: any[]) => void): this; - on(event: "close", listener: () => void): this; - on(event: "data", listener: (chunk: Buffer | string) => void): this; - on(event: "end", listener: () => void): this; - on(event: "error", listener: (err: Error) => void): this; - on(event: "open", listener: (fd: number) => void): this; - on(event: "pause", listener: () => void): this; - on(event: "readable", listener: () => void): this; - on(event: "ready", listener: () => void): this; - on(event: "resume", listener: () => void): this; - on(event: string | symbol, listener: (...args: any[]) => void): this; - once(event: "close", listener: () => void): this; - once(event: "data", listener: (chunk: Buffer | string) => void): this; - once(event: "end", listener: () => void): this; - once(event: "error", listener: (err: Error) => void): this; - once(event: "open", listener: (fd: number) => void): this; - once(event: "pause", listener: () => void): this; - once(event: "readable", listener: () => void): this; - once(event: "ready", listener: () => void): this; - once(event: "resume", listener: () => void): this; - once(event: string | symbol, listener: (...args: any[]) => void): this; - prependListener(event: "close", listener: () => void): this; - prependListener(event: "data", listener: (chunk: Buffer | string) => void): this; - prependListener(event: "end", listener: () => void): this; - prependListener(event: "error", listener: (err: Error) => void): this; - prependListener(event: "open", listener: (fd: number) => void): this; - prependListener(event: "pause", listener: () => void): this; - prependListener(event: "readable", listener: () => void): this; - prependListener(event: "ready", listener: () => void): this; - prependListener(event: "resume", listener: () => void): this; - prependListener(event: string | symbol, listener: (...args: any[]) => void): this; - prependOnceListener(event: "close", listener: () => void): this; - prependOnceListener(event: "data", listener: (chunk: Buffer | string) => void): this; - prependOnceListener(event: "end", listener: () => void): this; - prependOnceListener(event: "error", listener: (err: Error) => void): this; - prependOnceListener(event: "open", listener: (fd: number) => void): this; - prependOnceListener(event: "pause", listener: () => void): this; - prependOnceListener(event: "readable", listener: () => void): this; - prependOnceListener(event: "ready", listener: () => void): this; - prependOnceListener(event: "resume", listener: () => void): this; - prependOnceListener(event: string | symbol, listener: (...args: any[]) => void): this; - } - /** - * * Extends `stream.Writable` - * - * Instances of `fs.WriteStream` are created and returned using the {@link createWriteStream} function. - * @since v0.1.93 - */ - export class WriteStream extends stream.Writable { - /** - * Closes `writeStream`. Optionally accepts a - * callback that will be executed once the `writeStream`is closed. - * @since v0.9.4 - */ - close(callback?: (err?: NodeJS.ErrnoException | null) => void): void; - /** - * The number of bytes written so far. Does not include data that is still queued - * for writing. - * @since v0.4.7 - */ - bytesWritten: number; - /** - * The path to the file the stream is writing to as specified in the first - * argument to {@link createWriteStream}. If `path` is passed as a string, then`writeStream.path` will be a string. If `path` is passed as a `Buffer`, then`writeStream.path` will be a - * `Buffer`. - * @since v0.1.93 - */ - path: string | Buffer; - /** - * This property is `true` if the underlying file has not been opened yet, - * i.e. before the `'ready'` event is emitted. - * @since v11.2.0 - */ - pending: boolean; - /** - * events.EventEmitter - * 1. open - * 2. close - * 3. ready - */ - addListener(event: "close", listener: () => void): this; - addListener(event: "drain", listener: () => void): this; - addListener(event: "error", listener: (err: Error) => void): this; - addListener(event: "finish", listener: () => void): this; - addListener(event: "open", listener: (fd: number) => void): this; - addListener(event: "pipe", listener: (src: stream.Readable) => void): this; - addListener(event: "ready", listener: () => void): this; - addListener(event: "unpipe", listener: (src: stream.Readable) => void): this; - addListener(event: string | symbol, listener: (...args: any[]) => void): this; - on(event: "close", listener: () => void): this; - on(event: "drain", listener: () => void): this; - on(event: "error", listener: (err: Error) => void): this; - on(event: "finish", listener: () => void): this; - on(event: "open", listener: (fd: number) => void): this; - on(event: "pipe", listener: (src: stream.Readable) => void): this; - on(event: "ready", listener: () => void): this; - on(event: "unpipe", listener: (src: stream.Readable) => void): this; - on(event: string | symbol, listener: (...args: any[]) => void): this; - once(event: "close", listener: () => void): this; - once(event: "drain", listener: () => void): this; - once(event: "error", listener: (err: Error) => void): this; - once(event: "finish", listener: () => void): this; - once(event: "open", listener: (fd: number) => void): this; - once(event: "pipe", listener: (src: stream.Readable) => void): this; - once(event: "ready", listener: () => void): this; - once(event: "unpipe", listener: (src: stream.Readable) => void): this; - once(event: string | symbol, listener: (...args: any[]) => void): this; - prependListener(event: "close", listener: () => void): this; - prependListener(event: "drain", listener: () => void): this; - prependListener(event: "error", listener: (err: Error) => void): this; - prependListener(event: "finish", listener: () => void): this; - prependListener(event: "open", listener: (fd: number) => void): this; - prependListener(event: "pipe", listener: (src: stream.Readable) => void): this; - prependListener(event: "ready", listener: () => void): this; - prependListener(event: "unpipe", listener: (src: stream.Readable) => void): this; - prependListener(event: string | symbol, listener: (...args: any[]) => void): this; - prependOnceListener(event: "close", listener: () => void): this; - prependOnceListener(event: "drain", listener: () => void): this; - prependOnceListener(event: "error", listener: (err: Error) => void): this; - prependOnceListener(event: "finish", listener: () => void): this; - prependOnceListener(event: "open", listener: (fd: number) => void): this; - prependOnceListener(event: "pipe", listener: (src: stream.Readable) => void): this; - prependOnceListener(event: "ready", listener: () => void): this; - prependOnceListener(event: "unpipe", listener: (src: stream.Readable) => void): this; - prependOnceListener(event: string | symbol, listener: (...args: any[]) => void): this; - } - /** - * Asynchronously rename file at `oldPath` to the pathname provided - * as `newPath`. In the case that `newPath` already exists, it will - * be overwritten. If there is a directory at `newPath`, an error will - * be raised instead. No arguments other than a possible exception are - * given to the completion callback. - * - * See also: [`rename(2)`](http://man7.org/linux/man-pages/man2/rename.2.html). - * - * ```js - * import { rename } from 'node:fs'; - * - * rename('oldFile.txt', 'newFile.txt', (err) => { - * if (err) throw err; - * console.log('Rename complete!'); - * }); - * ``` - * @since v0.0.2 - */ - export function rename(oldPath: PathLike, newPath: PathLike, callback: NoParamCallback): void; - export namespace rename { - /** - * Asynchronous rename(2) - Change the name or location of a file or directory. - * @param oldPath A path to a file. If a URL is provided, it must use the `file:` protocol. - * URL support is _experimental_. - * @param newPath A path to a file. If a URL is provided, it must use the `file:` protocol. - * URL support is _experimental_. - */ - function __promisify__(oldPath: PathLike, newPath: PathLike): Promise; - } - /** - * Renames the file from `oldPath` to `newPath`. Returns `undefined`. - * - * See the POSIX [`rename(2)`](http://man7.org/linux/man-pages/man2/rename.2.html) documentation for more details. - * @since v0.1.21 - */ - export function renameSync(oldPath: PathLike, newPath: PathLike): void; - /** - * Truncates the file. No arguments other than a possible exception are - * given to the completion callback. A file descriptor can also be passed as the - * first argument. In this case, `fs.ftruncate()` is called. - * - * ```js - * import { truncate } from 'node:fs'; - * // Assuming that 'path/file.txt' is a regular file. - * truncate('path/file.txt', (err) => { - * if (err) throw err; - * console.log('path/file.txt was truncated'); - * }); - * ``` - * - * Passing a file descriptor is deprecated and may result in an error being thrown - * in the future. - * - * See the POSIX [`truncate(2)`](http://man7.org/linux/man-pages/man2/truncate.2.html) documentation for more details. - * @since v0.8.6 - * @param [len=0] - */ - export function truncate(path: PathLike, len: number | undefined | null, callback: NoParamCallback): void; - /** - * Asynchronous truncate(2) - Truncate a file to a specified length. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - */ - export function truncate(path: PathLike, callback: NoParamCallback): void; - export namespace truncate { - /** - * Asynchronous truncate(2) - Truncate a file to a specified length. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param len If not specified, defaults to `0`. - */ - function __promisify__(path: PathLike, len?: number | null): Promise; - } - /** - * Truncates the file. Returns `undefined`. A file descriptor can also be - * passed as the first argument. In this case, `fs.ftruncateSync()` is called. - * - * Passing a file descriptor is deprecated and may result in an error being thrown - * in the future. - * @since v0.8.6 - * @param [len=0] - */ - export function truncateSync(path: PathLike, len?: number | null): void; - /** - * Truncates the file descriptor. No arguments other than a possible exception are - * given to the completion callback. - * - * See the POSIX [`ftruncate(2)`](http://man7.org/linux/man-pages/man2/ftruncate.2.html) documentation for more detail. - * - * If the file referred to by the file descriptor was larger than `len` bytes, only - * the first `len` bytes will be retained in the file. - * - * For example, the following program retains only the first four bytes of the - * file: - * - * ```js - * import { open, close, ftruncate } from 'node:fs'; - * - * function closeFd(fd) { - * close(fd, (err) => { - * if (err) throw err; - * }); - * } - * - * open('temp.txt', 'r+', (err, fd) => { - * if (err) throw err; - * - * try { - * ftruncate(fd, 4, (err) => { - * closeFd(fd); - * if (err) throw err; - * }); - * } catch (err) { - * closeFd(fd); - * if (err) throw err; - * } - * }); - * ``` - * - * If the file previously was shorter than `len` bytes, it is extended, and the - * extended part is filled with null bytes (`'\0'`): - * - * If `len` is negative then `0` will be used. - * @since v0.8.6 - * @param [len=0] - */ - export function ftruncate(fd: number, len: number | undefined | null, callback: NoParamCallback): void; - /** - * Asynchronous ftruncate(2) - Truncate a file to a specified length. - * @param fd A file descriptor. - */ - export function ftruncate(fd: number, callback: NoParamCallback): void; - export namespace ftruncate { - /** - * Asynchronous ftruncate(2) - Truncate a file to a specified length. - * @param fd A file descriptor. - * @param len If not specified, defaults to `0`. - */ - function __promisify__(fd: number, len?: number | null): Promise; - } - /** - * Truncates the file descriptor. Returns `undefined`. - * - * For detailed information, see the documentation of the asynchronous version of - * this API: {@link ftruncate}. - * @since v0.8.6 - * @param [len=0] - */ - export function ftruncateSync(fd: number, len?: number | null): void; - /** - * Asynchronously changes owner and group of a file. No arguments other than a - * possible exception are given to the completion callback. - * - * See the POSIX [`chown(2)`](http://man7.org/linux/man-pages/man2/chown.2.html) documentation for more detail. - * @since v0.1.97 - */ - export function chown(path: PathLike, uid: number, gid: number, callback: NoParamCallback): void; - export namespace chown { - /** - * Asynchronous chown(2) - Change ownership of a file. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - */ - function __promisify__(path: PathLike, uid: number, gid: number): Promise; - } - /** - * Synchronously changes owner and group of a file. Returns `undefined`. - * This is the synchronous version of {@link chown}. - * - * See the POSIX [`chown(2)`](http://man7.org/linux/man-pages/man2/chown.2.html) documentation for more detail. - * @since v0.1.97 - */ - export function chownSync(path: PathLike, uid: number, gid: number): void; - /** - * Sets the owner of the file. No arguments other than a possible exception are - * given to the completion callback. - * - * See the POSIX [`fchown(2)`](http://man7.org/linux/man-pages/man2/fchown.2.html) documentation for more detail. - * @since v0.4.7 - */ - export function fchown(fd: number, uid: number, gid: number, callback: NoParamCallback): void; - export namespace fchown { - /** - * Asynchronous fchown(2) - Change ownership of a file. - * @param fd A file descriptor. - */ - function __promisify__(fd: number, uid: number, gid: number): Promise; - } - /** - * Sets the owner of the file. Returns `undefined`. - * - * See the POSIX [`fchown(2)`](http://man7.org/linux/man-pages/man2/fchown.2.html) documentation for more detail. - * @since v0.4.7 - * @param uid The file's new owner's user id. - * @param gid The file's new group's group id. - */ - export function fchownSync(fd: number, uid: number, gid: number): void; - /** - * Set the owner of the symbolic link. No arguments other than a possible - * exception are given to the completion callback. - * - * See the POSIX [`lchown(2)`](http://man7.org/linux/man-pages/man2/lchown.2.html) documentation for more detail. - */ - export function lchown(path: PathLike, uid: number, gid: number, callback: NoParamCallback): void; - export namespace lchown { - /** - * Asynchronous lchown(2) - Change ownership of a file. Does not dereference symbolic links. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - */ - function __promisify__(path: PathLike, uid: number, gid: number): Promise; - } - /** - * Set the owner for the path. Returns `undefined`. - * - * See the POSIX [`lchown(2)`](http://man7.org/linux/man-pages/man2/lchown.2.html) documentation for more details. - * @param uid The file's new owner's user id. - * @param gid The file's new group's group id. - */ - export function lchownSync(path: PathLike, uid: number, gid: number): void; - /** - * Changes the access and modification times of a file in the same way as {@link utimes}, with the difference that if the path refers to a symbolic - * link, then the link is not dereferenced: instead, the timestamps of the - * symbolic link itself are changed. - * - * No arguments other than a possible exception are given to the completion - * callback. - * @since v14.5.0, v12.19.0 - */ - export function lutimes(path: PathLike, atime: TimeLike, mtime: TimeLike, callback: NoParamCallback): void; - export namespace lutimes { - /** - * Changes the access and modification times of a file in the same way as `fsPromises.utimes()`, - * with the difference that if the path refers to a symbolic link, then the link is not - * dereferenced: instead, the timestamps of the symbolic link itself are changed. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param atime The last access time. If a string is provided, it will be coerced to number. - * @param mtime The last modified time. If a string is provided, it will be coerced to number. - */ - function __promisify__(path: PathLike, atime: TimeLike, mtime: TimeLike): Promise; - } - /** - * Change the file system timestamps of the symbolic link referenced by `path`. - * Returns `undefined`, or throws an exception when parameters are incorrect or - * the operation fails. This is the synchronous version of {@link lutimes}. - * @since v14.5.0, v12.19.0 - */ - export function lutimesSync(path: PathLike, atime: TimeLike, mtime: TimeLike): void; - /** - * Asynchronously changes the permissions of a file. No arguments other than a - * possible exception are given to the completion callback. - * - * See the POSIX [`chmod(2)`](http://man7.org/linux/man-pages/man2/chmod.2.html) documentation for more detail. - * - * ```js - * import { chmod } from 'node:fs'; - * - * chmod('my_file.txt', 0o775, (err) => { - * if (err) throw err; - * console.log('The permissions for file "my_file.txt" have been changed!'); - * }); - * ``` - * @since v0.1.30 - */ - export function chmod(path: PathLike, mode: Mode, callback: NoParamCallback): void; - export namespace chmod { - /** - * Asynchronous chmod(2) - Change permissions of a file. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param mode A file mode. If a string is passed, it is parsed as an octal integer. - */ - function __promisify__(path: PathLike, mode: Mode): Promise; - } - /** - * For detailed information, see the documentation of the asynchronous version of - * this API: {@link chmod}. - * - * See the POSIX [`chmod(2)`](http://man7.org/linux/man-pages/man2/chmod.2.html) documentation for more detail. - * @since v0.6.7 - */ - export function chmodSync(path: PathLike, mode: Mode): void; - /** - * Sets the permissions on the file. No arguments other than a possible exception - * are given to the completion callback. - * - * See the POSIX [`fchmod(2)`](http://man7.org/linux/man-pages/man2/fchmod.2.html) documentation for more detail. - * @since v0.4.7 - */ - export function fchmod(fd: number, mode: Mode, callback: NoParamCallback): void; - export namespace fchmod { - /** - * Asynchronous fchmod(2) - Change permissions of a file. - * @param fd A file descriptor. - * @param mode A file mode. If a string is passed, it is parsed as an octal integer. - */ - function __promisify__(fd: number, mode: Mode): Promise; - } - /** - * Sets the permissions on the file. Returns `undefined`. - * - * See the POSIX [`fchmod(2)`](http://man7.org/linux/man-pages/man2/fchmod.2.html) documentation for more detail. - * @since v0.4.7 - */ - export function fchmodSync(fd: number, mode: Mode): void; - /** - * Changes the permissions on a symbolic link. No arguments other than a possible - * exception are given to the completion callback. - * - * This method is only implemented on macOS. - * - * See the POSIX [`lchmod(2)`](https://www.freebsd.org/cgi/man.cgi?query=lchmod&sektion=2) documentation for more detail. - * @deprecated Since v0.4.7 - */ - export function lchmod(path: PathLike, mode: Mode, callback: NoParamCallback): void; - /** @deprecated */ - export namespace lchmod { - /** - * Asynchronous lchmod(2) - Change permissions of a file. Does not dereference symbolic links. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param mode A file mode. If a string is passed, it is parsed as an octal integer. - */ - function __promisify__(path: PathLike, mode: Mode): Promise; - } - /** - * Changes the permissions on a symbolic link. Returns `undefined`. - * - * This method is only implemented on macOS. - * - * See the POSIX [`lchmod(2)`](https://www.freebsd.org/cgi/man.cgi?query=lchmod&sektion=2) documentation for more detail. - * @deprecated Since v0.4.7 - */ - export function lchmodSync(path: PathLike, mode: Mode): void; - /** - * Asynchronous [`stat(2)`](http://man7.org/linux/man-pages/man2/stat.2.html). The callback gets two arguments `(err, stats)` where`stats` is an `fs.Stats` object. - * - * In case of an error, the `err.code` will be one of `Common System Errors`. - * - * {@link stat} follows symbolic links. Use {@link lstat} to look at the - * links themselves. - * - * Using `fs.stat()` to check for the existence of a file before calling`fs.open()`, `fs.readFile()`, or `fs.writeFile()` is not recommended. - * Instead, user code should open/read/write the file directly and handle the - * error raised if the file is not available. - * - * To check if a file exists without manipulating it afterwards, {@link access} is recommended. - * - * For example, given the following directory structure: - * - * ```text - * - txtDir - * -- file.txt - * - app.js - * ``` - * - * The next program will check for the stats of the given paths: - * - * ```js - * import { stat } from 'node:fs'; - * - * const pathsToCheck = ['./txtDir', './txtDir/file.txt']; - * - * for (let i = 0; i < pathsToCheck.length; i++) { - * stat(pathsToCheck[i], (err, stats) => { - * console.log(stats.isDirectory()); - * console.log(stats); - * }); - * } - * ``` - * - * The resulting output will resemble: - * - * ```console - * true - * Stats { - * dev: 16777220, - * mode: 16877, - * nlink: 3, - * uid: 501, - * gid: 20, - * rdev: 0, - * blksize: 4096, - * ino: 14214262, - * size: 96, - * blocks: 0, - * atimeMs: 1561174653071.963, - * mtimeMs: 1561174614583.3518, - * ctimeMs: 1561174626623.5366, - * birthtimeMs: 1561174126937.2893, - * atime: 2019-06-22T03:37:33.072Z, - * mtime: 2019-06-22T03:36:54.583Z, - * ctime: 2019-06-22T03:37:06.624Z, - * birthtime: 2019-06-22T03:28:46.937Z - * } - * false - * Stats { - * dev: 16777220, - * mode: 33188, - * nlink: 1, - * uid: 501, - * gid: 20, - * rdev: 0, - * blksize: 4096, - * ino: 14214074, - * size: 8, - * blocks: 8, - * atimeMs: 1561174616618.8555, - * mtimeMs: 1561174614584, - * ctimeMs: 1561174614583.8145, - * birthtimeMs: 1561174007710.7478, - * atime: 2019-06-22T03:36:56.619Z, - * mtime: 2019-06-22T03:36:54.584Z, - * ctime: 2019-06-22T03:36:54.584Z, - * birthtime: 2019-06-22T03:26:47.711Z - * } - * ``` - * @since v0.0.2 - */ - export function stat(path: PathLike, callback: (err: NodeJS.ErrnoException | null, stats: Stats) => void): void; - export function stat( - path: PathLike, - options: - | (StatOptions & { - bigint?: false | undefined; - }) - | undefined, - callback: (err: NodeJS.ErrnoException | null, stats: Stats) => void, - ): void; - export function stat( - path: PathLike, - options: StatOptions & { - bigint: true; - }, - callback: (err: NodeJS.ErrnoException | null, stats: BigIntStats) => void, - ): void; - export function stat( - path: PathLike, - options: StatOptions | undefined, - callback: (err: NodeJS.ErrnoException | null, stats: Stats | BigIntStats) => void, - ): void; - export namespace stat { - /** - * Asynchronous stat(2) - Get file status. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - */ - function __promisify__( - path: PathLike, - options?: StatOptions & { - bigint?: false | undefined; - }, - ): Promise; - function __promisify__( - path: PathLike, - options: StatOptions & { - bigint: true; - }, - ): Promise; - function __promisify__(path: PathLike, options?: StatOptions): Promise; - } - export interface StatSyncFn extends Function { - (path: PathLike, options?: undefined): Stats; - ( - path: PathLike, - options?: StatSyncOptions & { - bigint?: false | undefined; - throwIfNoEntry: false; - }, - ): Stats | undefined; - ( - path: PathLike, - options: StatSyncOptions & { - bigint: true; - throwIfNoEntry: false; - }, - ): BigIntStats | undefined; - ( - path: PathLike, - options?: StatSyncOptions & { - bigint?: false | undefined; - }, - ): Stats; - ( - path: PathLike, - options: StatSyncOptions & { - bigint: true; - }, - ): BigIntStats; - ( - path: PathLike, - options: StatSyncOptions & { - bigint: boolean; - throwIfNoEntry?: false | undefined; - }, - ): Stats | BigIntStats; - (path: PathLike, options?: StatSyncOptions): Stats | BigIntStats | undefined; - } - /** - * Synchronous stat(2) - Get file status. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - */ - export const statSync: StatSyncFn; - /** - * Invokes the callback with the `fs.Stats` for the file descriptor. - * - * See the POSIX [`fstat(2)`](http://man7.org/linux/man-pages/man2/fstat.2.html) documentation for more detail. - * @since v0.1.95 - */ - export function fstat(fd: number, callback: (err: NodeJS.ErrnoException | null, stats: Stats) => void): void; - export function fstat( - fd: number, - options: - | (StatOptions & { - bigint?: false | undefined; - }) - | undefined, - callback: (err: NodeJS.ErrnoException | null, stats: Stats) => void, - ): void; - export function fstat( - fd: number, - options: StatOptions & { - bigint: true; - }, - callback: (err: NodeJS.ErrnoException | null, stats: BigIntStats) => void, - ): void; - export function fstat( - fd: number, - options: StatOptions | undefined, - callback: (err: NodeJS.ErrnoException | null, stats: Stats | BigIntStats) => void, - ): void; - export namespace fstat { - /** - * Asynchronous fstat(2) - Get file status. - * @param fd A file descriptor. - */ - function __promisify__( - fd: number, - options?: StatOptions & { - bigint?: false | undefined; - }, - ): Promise; - function __promisify__( - fd: number, - options: StatOptions & { - bigint: true; - }, - ): Promise; - function __promisify__(fd: number, options?: StatOptions): Promise; - } - /** - * Retrieves the `fs.Stats` for the file descriptor. - * - * See the POSIX [`fstat(2)`](http://man7.org/linux/man-pages/man2/fstat.2.html) documentation for more detail. - * @since v0.1.95 - */ - export function fstatSync( - fd: number, - options?: StatOptions & { - bigint?: false | undefined; - }, - ): Stats; - export function fstatSync( - fd: number, - options: StatOptions & { - bigint: true; - }, - ): BigIntStats; - export function fstatSync(fd: number, options?: StatOptions): Stats | BigIntStats; - /** - * Retrieves the `fs.Stats` for the symbolic link referred to by the path. - * The callback gets two arguments `(err, stats)` where `stats` is a `fs.Stats` object. `lstat()` is identical to `stat()`, except that if `path` is a symbolic - * link, then the link itself is stat-ed, not the file that it refers to. - * - * See the POSIX [`lstat(2)`](http://man7.org/linux/man-pages/man2/lstat.2.html) documentation for more details. - * @since v0.1.30 - */ - export function lstat(path: PathLike, callback: (err: NodeJS.ErrnoException | null, stats: Stats) => void): void; - export function lstat( - path: PathLike, - options: - | (StatOptions & { - bigint?: false | undefined; - }) - | undefined, - callback: (err: NodeJS.ErrnoException | null, stats: Stats) => void, - ): void; - export function lstat( - path: PathLike, - options: StatOptions & { - bigint: true; - }, - callback: (err: NodeJS.ErrnoException | null, stats: BigIntStats) => void, - ): void; - export function lstat( - path: PathLike, - options: StatOptions | undefined, - callback: (err: NodeJS.ErrnoException | null, stats: Stats | BigIntStats) => void, - ): void; - export namespace lstat { - /** - * Asynchronous lstat(2) - Get file status. Does not dereference symbolic links. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - */ - function __promisify__( - path: PathLike, - options?: StatOptions & { - bigint?: false | undefined; - }, - ): Promise; - function __promisify__( - path: PathLike, - options: StatOptions & { - bigint: true; - }, - ): Promise; - function __promisify__(path: PathLike, options?: StatOptions): Promise; - } - /** - * Asynchronous [`statfs(2)`](http://man7.org/linux/man-pages/man2/statfs.2.html). Returns information about the mounted file system which - * contains `path`. The callback gets two arguments `(err, stats)` where `stats`is an `fs.StatFs` object. - * - * In case of an error, the `err.code` will be one of `Common System Errors`. - * @since v19.6.0, v18.15.0 - * @param path A path to an existing file or directory on the file system to be queried. - */ - export function statfs(path: PathLike, callback: (err: NodeJS.ErrnoException | null, stats: StatsFs) => void): void; - export function statfs( - path: PathLike, - options: - | (StatFsOptions & { - bigint?: false | undefined; - }) - | undefined, - callback: (err: NodeJS.ErrnoException | null, stats: StatsFs) => void, - ): void; - export function statfs( - path: PathLike, - options: StatFsOptions & { - bigint: true; - }, - callback: (err: NodeJS.ErrnoException | null, stats: BigIntStatsFs) => void, - ): void; - export function statfs( - path: PathLike, - options: StatFsOptions | undefined, - callback: (err: NodeJS.ErrnoException | null, stats: StatsFs | BigIntStatsFs) => void, - ): void; - export namespace statfs { - /** - * Asynchronous statfs(2) - Returns information about the mounted file system which contains path. The callback gets two arguments (err, stats) where stats is an object. - * @param path A path to an existing file or directory on the file system to be queried. - */ - function __promisify__( - path: PathLike, - options?: StatFsOptions & { - bigint?: false | undefined; - }, - ): Promise; - function __promisify__( - path: PathLike, - options: StatFsOptions & { - bigint: true; - }, - ): Promise; - function __promisify__(path: PathLike, options?: StatFsOptions): Promise; - } - /** - * Synchronous [`statfs(2)`](http://man7.org/linux/man-pages/man2/statfs.2.html). Returns information about the mounted file system which - * contains `path`. - * - * In case of an error, the `err.code` will be one of `Common System Errors`. - * @since v19.6.0, v18.15.0 - * @param path A path to an existing file or directory on the file system to be queried. - */ - export function statfsSync( - path: PathLike, - options?: StatFsOptions & { - bigint?: false | undefined; - }, - ): StatsFs; - export function statfsSync( - path: PathLike, - options: StatFsOptions & { - bigint: true; - }, - ): BigIntStatsFs; - export function statfsSync(path: PathLike, options?: StatFsOptions): StatsFs | BigIntStatsFs; - /** - * Synchronous lstat(2) - Get file status. Does not dereference symbolic links. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - */ - export const lstatSync: StatSyncFn; - /** - * Creates a new link from the `existingPath` to the `newPath`. See the POSIX [`link(2)`](http://man7.org/linux/man-pages/man2/link.2.html) documentation for more detail. No arguments other than - * a possible - * exception are given to the completion callback. - * @since v0.1.31 - */ - export function link(existingPath: PathLike, newPath: PathLike, callback: NoParamCallback): void; - export namespace link { - /** - * Asynchronous link(2) - Create a new link (also known as a hard link) to an existing file. - * @param existingPath A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param newPath A path to a file. If a URL is provided, it must use the `file:` protocol. - */ - function __promisify__(existingPath: PathLike, newPath: PathLike): Promise; - } - /** - * Creates a new link from the `existingPath` to the `newPath`. See the POSIX [`link(2)`](http://man7.org/linux/man-pages/man2/link.2.html) documentation for more detail. Returns `undefined`. - * @since v0.1.31 - */ - export function linkSync(existingPath: PathLike, newPath: PathLike): void; - /** - * Creates the link called `path` pointing to `target`. No arguments other than a - * possible exception are given to the completion callback. - * - * See the POSIX [`symlink(2)`](http://man7.org/linux/man-pages/man2/symlink.2.html) documentation for more details. - * - * The `type` argument is only available on Windows and ignored on other platforms. - * It can be set to `'dir'`, `'file'`, or `'junction'`. If the `type` argument is - * not a string, Node.js will autodetect `target` type and use `'file'` or `'dir'`. - * If the `target` does not exist, `'file'` will be used. Windows junction points - * require the destination path to be absolute. When using `'junction'`, the`target` argument will automatically be normalized to absolute path. Junction - * points on NTFS volumes can only point to directories. - * - * Relative targets are relative to the link's parent directory. - * - * ```js - * import { symlink } from 'node:fs'; - * - * symlink('./mew', './mewtwo', callback); - * ``` - * - * The above example creates a symbolic link `mewtwo` which points to `mew` in the - * same directory: - * - * ```bash - * $ tree . - * . - * ├── mew - * └── mewtwo -> ./mew - * ``` - * @since v0.1.31 - * @param [type='null'] - */ - export function symlink( - target: PathLike, - path: PathLike, - type: symlink.Type | undefined | null, - callback: NoParamCallback, - ): void; - /** - * Asynchronous symlink(2) - Create a new symbolic link to an existing file. - * @param target A path to an existing file. If a URL is provided, it must use the `file:` protocol. - * @param path A path to the new symlink. If a URL is provided, it must use the `file:` protocol. - */ - export function symlink(target: PathLike, path: PathLike, callback: NoParamCallback): void; - export namespace symlink { - /** - * Asynchronous symlink(2) - Create a new symbolic link to an existing file. - * @param target A path to an existing file. If a URL is provided, it must use the `file:` protocol. - * @param path A path to the new symlink. If a URL is provided, it must use the `file:` protocol. - * @param type May be set to `'dir'`, `'file'`, or `'junction'` (default is `'file'`) and is only available on Windows (ignored on other platforms). - * When using `'junction'`, the `target` argument will automatically be normalized to an absolute path. - */ - function __promisify__(target: PathLike, path: PathLike, type?: string | null): Promise; - type Type = "dir" | "file" | "junction"; - } - /** - * Returns `undefined`. - * - * For detailed information, see the documentation of the asynchronous version of - * this API: {@link symlink}. - * @since v0.1.31 - * @param [type='null'] - */ - export function symlinkSync(target: PathLike, path: PathLike, type?: symlink.Type | null): void; - /** - * Reads the contents of the symbolic link referred to by `path`. The callback gets - * two arguments `(err, linkString)`. - * - * See the POSIX [`readlink(2)`](http://man7.org/linux/man-pages/man2/readlink.2.html) documentation for more details. - * - * The optional `options` argument can be a string specifying an encoding, or an - * object with an `encoding` property specifying the character encoding to use for - * the link path passed to the callback. If the `encoding` is set to `'buffer'`, - * the link path returned will be passed as a `Buffer` object. - * @since v0.1.31 - */ - export function readlink( - path: PathLike, - options: EncodingOption, - callback: (err: NodeJS.ErrnoException | null, linkString: string) => void, - ): void; - /** - * Asynchronous readlink(2) - read value of a symbolic link. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. - */ - export function readlink( - path: PathLike, - options: BufferEncodingOption, - callback: (err: NodeJS.ErrnoException | null, linkString: Buffer) => void, - ): void; - /** - * Asynchronous readlink(2) - read value of a symbolic link. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. - */ - export function readlink( - path: PathLike, - options: EncodingOption, - callback: (err: NodeJS.ErrnoException | null, linkString: string | Buffer) => void, - ): void; - /** - * Asynchronous readlink(2) - read value of a symbolic link. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - */ - export function readlink( - path: PathLike, - callback: (err: NodeJS.ErrnoException | null, linkString: string) => void, - ): void; - export namespace readlink { - /** - * Asynchronous readlink(2) - read value of a symbolic link. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. - */ - function __promisify__(path: PathLike, options?: EncodingOption): Promise; - /** - * Asynchronous readlink(2) - read value of a symbolic link. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. - */ - function __promisify__(path: PathLike, options: BufferEncodingOption): Promise; - /** - * Asynchronous readlink(2) - read value of a symbolic link. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. - */ - function __promisify__(path: PathLike, options?: EncodingOption): Promise; - } - /** - * Returns the symbolic link's string value. - * - * See the POSIX [`readlink(2)`](http://man7.org/linux/man-pages/man2/readlink.2.html) documentation for more details. - * - * The optional `options` argument can be a string specifying an encoding, or an - * object with an `encoding` property specifying the character encoding to use for - * the link path returned. If the `encoding` is set to `'buffer'`, - * the link path returned will be passed as a `Buffer` object. - * @since v0.1.31 - */ - export function readlinkSync(path: PathLike, options?: EncodingOption): string; - /** - * Synchronous readlink(2) - read value of a symbolic link. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. - */ - export function readlinkSync(path: PathLike, options: BufferEncodingOption): Buffer; - /** - * Synchronous readlink(2) - read value of a symbolic link. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. - */ - export function readlinkSync(path: PathLike, options?: EncodingOption): string | Buffer; - /** - * Asynchronously computes the canonical pathname by resolving `.`, `..`, and - * symbolic links. - * - * A canonical pathname is not necessarily unique. Hard links and bind mounts can - * expose a file system entity through many pathnames. - * - * This function behaves like [`realpath(3)`](http://man7.org/linux/man-pages/man3/realpath.3.html), with some exceptions: - * - * 1. No case conversion is performed on case-insensitive file systems. - * 2. The maximum number of symbolic links is platform-independent and generally - * (much) higher than what the native [`realpath(3)`](http://man7.org/linux/man-pages/man3/realpath.3.html) implementation supports. - * - * The `callback` gets two arguments `(err, resolvedPath)`. May use `process.cwd`to resolve relative paths. - * - * Only paths that can be converted to UTF8 strings are supported. - * - * The optional `options` argument can be a string specifying an encoding, or an - * object with an `encoding` property specifying the character encoding to use for - * the path passed to the callback. If the `encoding` is set to `'buffer'`, - * the path returned will be passed as a `Buffer` object. - * - * If `path` resolves to a socket or a pipe, the function will return a system - * dependent name for that object. - * @since v0.1.31 - */ - export function realpath( - path: PathLike, - options: EncodingOption, - callback: (err: NodeJS.ErrnoException | null, resolvedPath: string) => void, - ): void; - /** - * Asynchronous realpath(3) - return the canonicalized absolute pathname. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. - */ - export function realpath( - path: PathLike, - options: BufferEncodingOption, - callback: (err: NodeJS.ErrnoException | null, resolvedPath: Buffer) => void, - ): void; - /** - * Asynchronous realpath(3) - return the canonicalized absolute pathname. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. - */ - export function realpath( - path: PathLike, - options: EncodingOption, - callback: (err: NodeJS.ErrnoException | null, resolvedPath: string | Buffer) => void, - ): void; - /** - * Asynchronous realpath(3) - return the canonicalized absolute pathname. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - */ - export function realpath( - path: PathLike, - callback: (err: NodeJS.ErrnoException | null, resolvedPath: string) => void, - ): void; - export namespace realpath { - /** - * Asynchronous realpath(3) - return the canonicalized absolute pathname. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. - */ - function __promisify__(path: PathLike, options?: EncodingOption): Promise; - /** - * Asynchronous realpath(3) - return the canonicalized absolute pathname. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. - */ - function __promisify__(path: PathLike, options: BufferEncodingOption): Promise; - /** - * Asynchronous realpath(3) - return the canonicalized absolute pathname. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. - */ - function __promisify__(path: PathLike, options?: EncodingOption): Promise; - /** - * Asynchronous [`realpath(3)`](http://man7.org/linux/man-pages/man3/realpath.3.html). - * - * The `callback` gets two arguments `(err, resolvedPath)`. - * - * Only paths that can be converted to UTF8 strings are supported. - * - * The optional `options` argument can be a string specifying an encoding, or an - * object with an `encoding` property specifying the character encoding to use for - * the path passed to the callback. If the `encoding` is set to `'buffer'`, - * the path returned will be passed as a `Buffer` object. - * - * On Linux, when Node.js is linked against musl libc, the procfs file system must - * be mounted on `/proc` in order for this function to work. Glibc does not have - * this restriction. - * @since v9.2.0 - */ - function native( - path: PathLike, - options: EncodingOption, - callback: (err: NodeJS.ErrnoException | null, resolvedPath: string) => void, - ): void; - function native( - path: PathLike, - options: BufferEncodingOption, - callback: (err: NodeJS.ErrnoException | null, resolvedPath: Buffer) => void, - ): void; - function native( - path: PathLike, - options: EncodingOption, - callback: (err: NodeJS.ErrnoException | null, resolvedPath: string | Buffer) => void, - ): void; - function native( - path: PathLike, - callback: (err: NodeJS.ErrnoException | null, resolvedPath: string) => void, - ): void; - } - /** - * Returns the resolved pathname. - * - * For detailed information, see the documentation of the asynchronous version of - * this API: {@link realpath}. - * @since v0.1.31 - */ - export function realpathSync(path: PathLike, options?: EncodingOption): string; - /** - * Synchronous realpath(3) - return the canonicalized absolute pathname. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. - */ - export function realpathSync(path: PathLike, options: BufferEncodingOption): Buffer; - /** - * Synchronous realpath(3) - return the canonicalized absolute pathname. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. - */ - export function realpathSync(path: PathLike, options?: EncodingOption): string | Buffer; - export namespace realpathSync { - function native(path: PathLike, options?: EncodingOption): string; - function native(path: PathLike, options: BufferEncodingOption): Buffer; - function native(path: PathLike, options?: EncodingOption): string | Buffer; - } - /** - * Asynchronously removes a file or symbolic link. No arguments other than a - * possible exception are given to the completion callback. - * - * ```js - * import { unlink } from 'node:fs'; - * // Assuming that 'path/file.txt' is a regular file. - * unlink('path/file.txt', (err) => { - * if (err) throw err; - * console.log('path/file.txt was deleted'); - * }); - * ``` - * - * `fs.unlink()` will not work on a directory, empty or otherwise. To remove a - * directory, use {@link rmdir}. - * - * See the POSIX [`unlink(2)`](http://man7.org/linux/man-pages/man2/unlink.2.html) documentation for more details. - * @since v0.0.2 - */ - export function unlink(path: PathLike, callback: NoParamCallback): void; - export namespace unlink { - /** - * Asynchronous unlink(2) - delete a name and possibly the file it refers to. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - */ - function __promisify__(path: PathLike): Promise; - } - /** - * Synchronous [`unlink(2)`](http://man7.org/linux/man-pages/man2/unlink.2.html). Returns `undefined`. - * @since v0.1.21 - */ - export function unlinkSync(path: PathLike): void; - export interface RmDirOptions { - /** - * If an `EBUSY`, `EMFILE`, `ENFILE`, `ENOTEMPTY`, or - * `EPERM` error is encountered, Node.js will retry the operation with a linear - * backoff wait of `retryDelay` ms longer on each try. This option represents the - * number of retries. This option is ignored if the `recursive` option is not - * `true`. - * @default 0 - */ - maxRetries?: number | undefined; - /** - * @deprecated since v14.14.0 In future versions of Node.js and will trigger a warning - * `fs.rmdir(path, { recursive: true })` will throw if `path` does not exist or is a file. - * Use `fs.rm(path, { recursive: true, force: true })` instead. - * - * If `true`, perform a recursive directory removal. In - * recursive mode, operations are retried on failure. - * @default false - */ - recursive?: boolean | undefined; - /** - * The amount of time in milliseconds to wait between retries. - * This option is ignored if the `recursive` option is not `true`. - * @default 100 - */ - retryDelay?: number | undefined; - } - /** - * Asynchronous [`rmdir(2)`](http://man7.org/linux/man-pages/man2/rmdir.2.html). No arguments other than a possible exception are given - * to the completion callback. - * - * Using `fs.rmdir()` on a file (not a directory) results in an `ENOENT` error on - * Windows and an `ENOTDIR` error on POSIX. - * - * To get a behavior similar to the `rm -rf` Unix command, use {@link rm} with options `{ recursive: true, force: true }`. - * @since v0.0.2 - */ - export function rmdir(path: PathLike, callback: NoParamCallback): void; - export function rmdir(path: PathLike, options: RmDirOptions, callback: NoParamCallback): void; - export namespace rmdir { - /** - * Asynchronous rmdir(2) - delete a directory. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - */ - function __promisify__(path: PathLike, options?: RmDirOptions): Promise; - } - /** - * Synchronous [`rmdir(2)`](http://man7.org/linux/man-pages/man2/rmdir.2.html). Returns `undefined`. - * - * Using `fs.rmdirSync()` on a file (not a directory) results in an `ENOENT` error - * on Windows and an `ENOTDIR` error on POSIX. - * - * To get a behavior similar to the `rm -rf` Unix command, use {@link rmSync} with options `{ recursive: true, force: true }`. - * @since v0.1.21 - */ - export function rmdirSync(path: PathLike, options?: RmDirOptions): void; - export interface RmOptions { - /** - * When `true`, exceptions will be ignored if `path` does not exist. - * @default false - */ - force?: boolean | undefined; - /** - * If an `EBUSY`, `EMFILE`, `ENFILE`, `ENOTEMPTY`, or - * `EPERM` error is encountered, Node.js will retry the operation with a linear - * backoff wait of `retryDelay` ms longer on each try. This option represents the - * number of retries. This option is ignored if the `recursive` option is not - * `true`. - * @default 0 - */ - maxRetries?: number | undefined; - /** - * If `true`, perform a recursive directory removal. In - * recursive mode, operations are retried on failure. - * @default false - */ - recursive?: boolean | undefined; - /** - * The amount of time in milliseconds to wait between retries. - * This option is ignored if the `recursive` option is not `true`. - * @default 100 - */ - retryDelay?: number | undefined; - } - /** - * Asynchronously removes files and directories (modeled on the standard POSIX `rm`utility). No arguments other than a possible exception are given to the - * completion callback. - * @since v14.14.0 - */ - export function rm(path: PathLike, callback: NoParamCallback): void; - export function rm(path: PathLike, options: RmOptions, callback: NoParamCallback): void; - export namespace rm { - /** - * Asynchronously removes files and directories (modeled on the standard POSIX `rm` utility). - */ - function __promisify__(path: PathLike, options?: RmOptions): Promise; - } - /** - * Synchronously removes files and directories (modeled on the standard POSIX `rm`utility). Returns `undefined`. - * @since v14.14.0 - */ - export function rmSync(path: PathLike, options?: RmOptions): void; - export interface MakeDirectoryOptions { - /** - * Indicates whether parent folders should be created. - * If a folder was created, the path to the first created folder will be returned. - * @default false - */ - recursive?: boolean | undefined; - /** - * A file mode. If a string is passed, it is parsed as an octal integer. If not specified - * @default 0o777 - */ - mode?: Mode | undefined; - } - /** - * Asynchronously creates a directory. - * - * The callback is given a possible exception and, if `recursive` is `true`, the - * first directory path created, `(err[, path])`.`path` can still be `undefined` when `recursive` is `true`, if no directory was - * created (for instance, if it was previously created). - * - * The optional `options` argument can be an integer specifying `mode` (permission - * and sticky bits), or an object with a `mode` property and a `recursive`property indicating whether parent directories should be created. Calling`fs.mkdir()` when `path` is a directory that - * exists results in an error only - * when `recursive` is false. If `recursive` is false and the directory exists, - * an `EEXIST` error occurs. - * - * ```js - * import { mkdir } from 'node:fs'; - * - * // Create ./tmp/a/apple, regardless of whether ./tmp and ./tmp/a exist. - * mkdir('./tmp/a/apple', { recursive: true }, (err) => { - * if (err) throw err; - * }); - * ``` - * - * On Windows, using `fs.mkdir()` on the root directory even with recursion will - * result in an error: - * - * ```js - * import { mkdir } from 'node:fs'; - * - * mkdir('/', { recursive: true }, (err) => { - * // => [Error: EPERM: operation not permitted, mkdir 'C:\'] - * }); - * ``` - * - * See the POSIX [`mkdir(2)`](http://man7.org/linux/man-pages/man2/mkdir.2.html) documentation for more details. - * @since v0.1.8 - */ - export function mkdir( - path: PathLike, - options: MakeDirectoryOptions & { - recursive: true; - }, - callback: (err: NodeJS.ErrnoException | null, path?: string) => void, - ): void; - /** - * Asynchronous mkdir(2) - create a directory. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param options Either the file mode, or an object optionally specifying the file mode and whether parent folders - * should be created. If a string is passed, it is parsed as an octal integer. If not specified, defaults to `0o777`. - */ - export function mkdir( - path: PathLike, - options: - | Mode - | (MakeDirectoryOptions & { - recursive?: false | undefined; - }) - | null - | undefined, - callback: NoParamCallback, - ): void; - /** - * Asynchronous mkdir(2) - create a directory. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param options Either the file mode, or an object optionally specifying the file mode and whether parent folders - * should be created. If a string is passed, it is parsed as an octal integer. If not specified, defaults to `0o777`. - */ - export function mkdir( - path: PathLike, - options: Mode | MakeDirectoryOptions | null | undefined, - callback: (err: NodeJS.ErrnoException | null, path?: string) => void, - ): void; - /** - * Asynchronous mkdir(2) - create a directory with a mode of `0o777`. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - */ - export function mkdir(path: PathLike, callback: NoParamCallback): void; - export namespace mkdir { - /** - * Asynchronous mkdir(2) - create a directory. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param options Either the file mode, or an object optionally specifying the file mode and whether parent folders - * should be created. If a string is passed, it is parsed as an octal integer. If not specified, defaults to `0o777`. - */ - function __promisify__( - path: PathLike, - options: MakeDirectoryOptions & { - recursive: true; - }, - ): Promise; - /** - * Asynchronous mkdir(2) - create a directory. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param options Either the file mode, or an object optionally specifying the file mode and whether parent folders - * should be created. If a string is passed, it is parsed as an octal integer. If not specified, defaults to `0o777`. - */ - function __promisify__( - path: PathLike, - options?: - | Mode - | (MakeDirectoryOptions & { - recursive?: false | undefined; - }) - | null, - ): Promise; - /** - * Asynchronous mkdir(2) - create a directory. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param options Either the file mode, or an object optionally specifying the file mode and whether parent folders - * should be created. If a string is passed, it is parsed as an octal integer. If not specified, defaults to `0o777`. - */ - function __promisify__( - path: PathLike, - options?: Mode | MakeDirectoryOptions | null, - ): Promise; - } - /** - * Synchronously creates a directory. Returns `undefined`, or if `recursive` is`true`, the first directory path created. - * This is the synchronous version of {@link mkdir}. - * - * See the POSIX [`mkdir(2)`](http://man7.org/linux/man-pages/man2/mkdir.2.html) documentation for more details. - * @since v0.1.21 - */ - export function mkdirSync( - path: PathLike, - options: MakeDirectoryOptions & { - recursive: true; - }, - ): string | undefined; - /** - * Synchronous mkdir(2) - create a directory. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param options Either the file mode, or an object optionally specifying the file mode and whether parent folders - * should be created. If a string is passed, it is parsed as an octal integer. If not specified, defaults to `0o777`. - */ - export function mkdirSync( - path: PathLike, - options?: - | Mode - | (MakeDirectoryOptions & { - recursive?: false | undefined; - }) - | null, - ): void; - /** - * Synchronous mkdir(2) - create a directory. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param options Either the file mode, or an object optionally specifying the file mode and whether parent folders - * should be created. If a string is passed, it is parsed as an octal integer. If not specified, defaults to `0o777`. - */ - export function mkdirSync(path: PathLike, options?: Mode | MakeDirectoryOptions | null): string | undefined; - /** - * Creates a unique temporary directory. - * - * Generates six random characters to be appended behind a required`prefix` to create a unique temporary directory. Due to platform - * inconsistencies, avoid trailing `X` characters in `prefix`. Some platforms, - * notably the BSDs, can return more than six random characters, and replace - * trailing `X` characters in `prefix` with random characters. - * - * The created directory path is passed as a string to the callback's second - * parameter. - * - * The optional `options` argument can be a string specifying an encoding, or an - * object with an `encoding` property specifying the character encoding to use. - * - * ```js - * import { mkdtemp } from 'node:fs'; - * import { join } from 'node:path'; - * import { tmpdir } from 'node:os'; - * - * mkdtemp(join(tmpdir(), 'foo-'), (err, directory) => { - * if (err) throw err; - * console.log(directory); - * // Prints: /tmp/foo-itXde2 or C:\Users\...\AppData\Local\Temp\foo-itXde2 - * }); - * ``` - * - * The `fs.mkdtemp()` method will append the six randomly selected characters - * directly to the `prefix` string. For instance, given a directory `/tmp`, if the - * intention is to create a temporary directory _within_`/tmp`, the `prefix`must end with a trailing platform-specific path separator - * (`require('node:path').sep`). - * - * ```js - * import { tmpdir } from 'node:os'; - * import { mkdtemp } from 'node:fs'; - * - * // The parent directory for the new temporary directory - * const tmpDir = tmpdir(); - * - * // This method is *INCORRECT*: - * mkdtemp(tmpDir, (err, directory) => { - * if (err) throw err; - * console.log(directory); - * // Will print something similar to `/tmpabc123`. - * // A new temporary directory is created at the file system root - * // rather than *within* the /tmp directory. - * }); - * - * // This method is *CORRECT*: - * import { sep } from 'node:path'; - * mkdtemp(`${tmpDir}${sep}`, (err, directory) => { - * if (err) throw err; - * console.log(directory); - * // Will print something similar to `/tmp/abc123`. - * // A new temporary directory is created within - * // the /tmp directory. - * }); - * ``` - * @since v5.10.0 - */ - export function mkdtemp( - prefix: string, - options: EncodingOption, - callback: (err: NodeJS.ErrnoException | null, folder: string) => void, - ): void; - /** - * Asynchronously creates a unique temporary directory. - * Generates six random characters to be appended behind a required prefix to create a unique temporary directory. - * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. - */ - export function mkdtemp( - prefix: string, - options: - | "buffer" - | { - encoding: "buffer"; - }, - callback: (err: NodeJS.ErrnoException | null, folder: Buffer) => void, - ): void; - /** - * Asynchronously creates a unique temporary directory. - * Generates six random characters to be appended behind a required prefix to create a unique temporary directory. - * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. - */ - export function mkdtemp( - prefix: string, - options: EncodingOption, - callback: (err: NodeJS.ErrnoException | null, folder: string | Buffer) => void, - ): void; - /** - * Asynchronously creates a unique temporary directory. - * Generates six random characters to be appended behind a required prefix to create a unique temporary directory. - */ - export function mkdtemp( - prefix: string, - callback: (err: NodeJS.ErrnoException | null, folder: string) => void, - ): void; - export namespace mkdtemp { - /** - * Asynchronously creates a unique temporary directory. - * Generates six random characters to be appended behind a required prefix to create a unique temporary directory. - * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. - */ - function __promisify__(prefix: string, options?: EncodingOption): Promise; - /** - * Asynchronously creates a unique temporary directory. - * Generates six random characters to be appended behind a required prefix to create a unique temporary directory. - * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. - */ - function __promisify__(prefix: string, options: BufferEncodingOption): Promise; - /** - * Asynchronously creates a unique temporary directory. - * Generates six random characters to be appended behind a required prefix to create a unique temporary directory. - * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. - */ - function __promisify__(prefix: string, options?: EncodingOption): Promise; - } - /** - * Returns the created directory path. - * - * For detailed information, see the documentation of the asynchronous version of - * this API: {@link mkdtemp}. - * - * The optional `options` argument can be a string specifying an encoding, or an - * object with an `encoding` property specifying the character encoding to use. - * @since v5.10.0 - */ - export function mkdtempSync(prefix: string, options?: EncodingOption): string; - /** - * Synchronously creates a unique temporary directory. - * Generates six random characters to be appended behind a required prefix to create a unique temporary directory. - * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. - */ - export function mkdtempSync(prefix: string, options: BufferEncodingOption): Buffer; - /** - * Synchronously creates a unique temporary directory. - * Generates six random characters to be appended behind a required prefix to create a unique temporary directory. - * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. - */ - export function mkdtempSync(prefix: string, options?: EncodingOption): string | Buffer; - /** - * Reads the contents of a directory. The callback gets two arguments `(err, files)`where `files` is an array of the names of the files in the directory excluding`'.'` and `'..'`. - * - * See the POSIX [`readdir(3)`](http://man7.org/linux/man-pages/man3/readdir.3.html) documentation for more details. - * - * The optional `options` argument can be a string specifying an encoding, or an - * object with an `encoding` property specifying the character encoding to use for - * the filenames passed to the callback. If the `encoding` is set to `'buffer'`, - * the filenames returned will be passed as `Buffer` objects. - * - * If `options.withFileTypes` is set to `true`, the `files` array will contain `fs.Dirent` objects. - * @since v0.1.8 - */ - export function readdir( - path: PathLike, - options: - | { - encoding: BufferEncoding | null; - withFileTypes?: false | undefined; - recursive?: boolean | undefined; - } - | BufferEncoding - | undefined - | null, - callback: (err: NodeJS.ErrnoException | null, files: string[]) => void, - ): void; - /** - * Asynchronous readdir(3) - read a directory. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. - */ - export function readdir( - path: PathLike, - options: - | { - encoding: "buffer"; - withFileTypes?: false | undefined; - recursive?: boolean | undefined; - } - | "buffer", - callback: (err: NodeJS.ErrnoException | null, files: Buffer[]) => void, - ): void; - /** - * Asynchronous readdir(3) - read a directory. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. - */ - export function readdir( - path: PathLike, - options: - | (ObjectEncodingOptions & { - withFileTypes?: false | undefined; - recursive?: boolean | undefined; - }) - | BufferEncoding - | undefined - | null, - callback: (err: NodeJS.ErrnoException | null, files: string[] | Buffer[]) => void, - ): void; - /** - * Asynchronous readdir(3) - read a directory. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - */ - export function readdir( - path: PathLike, - callback: (err: NodeJS.ErrnoException | null, files: string[]) => void, - ): void; - /** - * Asynchronous readdir(3) - read a directory. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param options If called with `withFileTypes: true` the result data will be an array of Dirent. - */ - export function readdir( - path: PathLike, - options: ObjectEncodingOptions & { - withFileTypes: true; - recursive?: boolean | undefined; - }, - callback: (err: NodeJS.ErrnoException | null, files: Dirent[]) => void, - ): void; - export namespace readdir { - /** - * Asynchronous readdir(3) - read a directory. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. - */ - function __promisify__( - path: PathLike, - options?: - | { - encoding: BufferEncoding | null; - withFileTypes?: false | undefined; - recursive?: boolean | undefined; - } - | BufferEncoding - | null, - ): Promise; - /** - * Asynchronous readdir(3) - read a directory. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. - */ - function __promisify__( - path: PathLike, - options: - | "buffer" - | { - encoding: "buffer"; - withFileTypes?: false | undefined; - recursive?: boolean | undefined; - }, - ): Promise; - /** - * Asynchronous readdir(3) - read a directory. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. - */ - function __promisify__( - path: PathLike, - options?: - | (ObjectEncodingOptions & { - withFileTypes?: false | undefined; - recursive?: boolean | undefined; - }) - | BufferEncoding - | null, - ): Promise; - /** - * Asynchronous readdir(3) - read a directory. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param options If called with `withFileTypes: true` the result data will be an array of Dirent - */ - function __promisify__( - path: PathLike, - options: ObjectEncodingOptions & { - withFileTypes: true; - recursive?: boolean | undefined; - }, - ): Promise; - } - /** - * Reads the contents of the directory. - * - * See the POSIX [`readdir(3)`](http://man7.org/linux/man-pages/man3/readdir.3.html) documentation for more details. - * - * The optional `options` argument can be a string specifying an encoding, or an - * object with an `encoding` property specifying the character encoding to use for - * the filenames returned. If the `encoding` is set to `'buffer'`, - * the filenames returned will be passed as `Buffer` objects. - * - * If `options.withFileTypes` is set to `true`, the result will contain `fs.Dirent` objects. - * @since v0.1.21 - */ - export function readdirSync( - path: PathLike, - options?: - | { - encoding: BufferEncoding | null; - withFileTypes?: false | undefined; - recursive?: boolean | undefined; - } - | BufferEncoding - | null, - ): string[]; - /** - * Synchronous readdir(3) - read a directory. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. - */ - export function readdirSync( - path: PathLike, - options: - | { - encoding: "buffer"; - withFileTypes?: false | undefined; - recursive?: boolean | undefined; - } - | "buffer", - ): Buffer[]; - /** - * Synchronous readdir(3) - read a directory. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. - */ - export function readdirSync( - path: PathLike, - options?: - | (ObjectEncodingOptions & { - withFileTypes?: false | undefined; - recursive?: boolean | undefined; - }) - | BufferEncoding - | null, - ): string[] | Buffer[]; - /** - * Synchronous readdir(3) - read a directory. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param options If called with `withFileTypes: true` the result data will be an array of Dirent. - */ - export function readdirSync( - path: PathLike, - options: ObjectEncodingOptions & { - withFileTypes: true; - recursive?: boolean | undefined; - }, - ): Dirent[]; - /** - * Closes the file descriptor. No arguments other than a possible exception are - * given to the completion callback. - * - * Calling `fs.close()` on any file descriptor (`fd`) that is currently in use - * through any other `fs` operation may lead to undefined behavior. - * - * See the POSIX [`close(2)`](http://man7.org/linux/man-pages/man2/close.2.html) documentation for more detail. - * @since v0.0.2 - */ - export function close(fd: number, callback?: NoParamCallback): void; - export namespace close { - /** - * Asynchronous close(2) - close a file descriptor. - * @param fd A file descriptor. - */ - function __promisify__(fd: number): Promise; - } - /** - * Closes the file descriptor. Returns `undefined`. - * - * Calling `fs.closeSync()` on any file descriptor (`fd`) that is currently in use - * through any other `fs` operation may lead to undefined behavior. - * - * See the POSIX [`close(2)`](http://man7.org/linux/man-pages/man2/close.2.html) documentation for more detail. - * @since v0.1.21 - */ - export function closeSync(fd: number): void; - /** - * Asynchronous file open. See the POSIX [`open(2)`](http://man7.org/linux/man-pages/man2/open.2.html) documentation for more details. - * - * `mode` sets the file mode (permission and sticky bits), but only if the file was - * created. On Windows, only the write permission can be manipulated; see {@link chmod}. - * - * The callback gets two arguments `(err, fd)`. - * - * Some characters (`< > : " / \ | ? *`) are reserved under Windows as documented - * by [Naming Files, Paths, and Namespaces](https://docs.microsoft.com/en-us/windows/desktop/FileIO/naming-a-file). Under NTFS, if the filename contains - * a colon, Node.js will open a file system stream, as described by [this MSDN page](https://docs.microsoft.com/en-us/windows/desktop/FileIO/using-streams). - * - * Functions based on `fs.open()` exhibit this behavior as well:`fs.writeFile()`, `fs.readFile()`, etc. - * @since v0.0.2 - * @param [flags='r'] See `support of file system `flags``. - * @param [mode=0o666] - */ - export function open( - path: PathLike, - flags: OpenMode | undefined, - mode: Mode | undefined | null, - callback: (err: NodeJS.ErrnoException | null, fd: number) => void, - ): void; - /** - * Asynchronous open(2) - open and possibly create a file. If the file is created, its mode will be `0o666`. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param [flags='r'] See `support of file system `flags``. - */ - export function open( - path: PathLike, - flags: OpenMode | undefined, - callback: (err: NodeJS.ErrnoException | null, fd: number) => void, - ): void; - /** - * Asynchronous open(2) - open and possibly create a file. If the file is created, its mode will be `0o666`. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - */ - export function open(path: PathLike, callback: (err: NodeJS.ErrnoException | null, fd: number) => void): void; - export namespace open { - /** - * Asynchronous open(2) - open and possibly create a file. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param mode A file mode. If a string is passed, it is parsed as an octal integer. If not supplied, defaults to `0o666`. - */ - function __promisify__(path: PathLike, flags: OpenMode, mode?: Mode | null): Promise; - } - /** - * Returns an integer representing the file descriptor. - * - * For detailed information, see the documentation of the asynchronous version of - * this API: {@link open}. - * @since v0.1.21 - * @param [flags='r'] - * @param [mode=0o666] - */ - export function openSync(path: PathLike, flags: OpenMode, mode?: Mode | null): number; - /** - * Change the file system timestamps of the object referenced by `path`. - * - * The `atime` and `mtime` arguments follow these rules: - * - * * Values can be either numbers representing Unix epoch time in seconds,`Date`s, or a numeric string like `'123456789.0'`. - * * If the value can not be converted to a number, or is `NaN`, `Infinity`, or`-Infinity`, an `Error` will be thrown. - * @since v0.4.2 - */ - export function utimes(path: PathLike, atime: TimeLike, mtime: TimeLike, callback: NoParamCallback): void; - export namespace utimes { - /** - * Asynchronously change file timestamps of the file referenced by the supplied path. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param atime The last access time. If a string is provided, it will be coerced to number. - * @param mtime The last modified time. If a string is provided, it will be coerced to number. - */ - function __promisify__(path: PathLike, atime: TimeLike, mtime: TimeLike): Promise; - } - /** - * Returns `undefined`. - * - * For detailed information, see the documentation of the asynchronous version of - * this API: {@link utimes}. - * @since v0.4.2 - */ - export function utimesSync(path: PathLike, atime: TimeLike, mtime: TimeLike): void; - /** - * Change the file system timestamps of the object referenced by the supplied file - * descriptor. See {@link utimes}. - * @since v0.4.2 - */ - export function futimes(fd: number, atime: TimeLike, mtime: TimeLike, callback: NoParamCallback): void; - export namespace futimes { - /** - * Asynchronously change file timestamps of the file referenced by the supplied file descriptor. - * @param fd A file descriptor. - * @param atime The last access time. If a string is provided, it will be coerced to number. - * @param mtime The last modified time. If a string is provided, it will be coerced to number. - */ - function __promisify__(fd: number, atime: TimeLike, mtime: TimeLike): Promise; - } - /** - * Synchronous version of {@link futimes}. Returns `undefined`. - * @since v0.4.2 - */ - export function futimesSync(fd: number, atime: TimeLike, mtime: TimeLike): void; - /** - * Request that all data for the open file descriptor is flushed to the storage - * device. The specific implementation is operating system and device specific. - * Refer to the POSIX [`fsync(2)`](http://man7.org/linux/man-pages/man2/fsync.2.html) documentation for more detail. No arguments other - * than a possible exception are given to the completion callback. - * @since v0.1.96 - */ - export function fsync(fd: number, callback: NoParamCallback): void; - export namespace fsync { - /** - * Asynchronous fsync(2) - synchronize a file's in-core state with the underlying storage device. - * @param fd A file descriptor. - */ - function __promisify__(fd: number): Promise; - } - /** - * Request that all data for the open file descriptor is flushed to the storage - * device. The specific implementation is operating system and device specific. - * Refer to the POSIX [`fsync(2)`](http://man7.org/linux/man-pages/man2/fsync.2.html) documentation for more detail. Returns `undefined`. - * @since v0.1.96 - */ - export function fsyncSync(fd: number): void; - /** - * Write `buffer` to the file specified by `fd`. - * - * `offset` determines the part of the buffer to be written, and `length` is - * an integer specifying the number of bytes to write. - * - * `position` refers to the offset from the beginning of the file where this data - * should be written. If `typeof position !== 'number'`, the data will be written - * at the current position. See [`pwrite(2)`](http://man7.org/linux/man-pages/man2/pwrite.2.html). - * - * The callback will be given three arguments `(err, bytesWritten, buffer)` where`bytesWritten` specifies how many _bytes_ were written from `buffer`. - * - * If this method is invoked as its `util.promisify()` ed version, it returns - * a promise for an `Object` with `bytesWritten` and `buffer` properties. - * - * It is unsafe to use `fs.write()` multiple times on the same file without waiting - * for the callback. For this scenario, {@link createWriteStream} is - * recommended. - * - * On Linux, positional writes don't work when the file is opened in append mode. - * The kernel ignores the position argument and always appends the data to - * the end of the file. - * @since v0.0.2 - * @param [offset=0] - * @param [length=buffer.byteLength - offset] - * @param [position='null'] - */ - export function write( - fd: number, - buffer: TBuffer, - offset: number | undefined | null, - length: number | undefined | null, - position: number | undefined | null, - callback: (err: NodeJS.ErrnoException | null, written: number, buffer: TBuffer) => void, - ): void; - /** - * Asynchronously writes `buffer` to the file referenced by the supplied file descriptor. - * @param fd A file descriptor. - * @param offset The part of the buffer to be written. If not supplied, defaults to `0`. - * @param length The number of bytes to write. If not supplied, defaults to `buffer.length - offset`. - */ - export function write( - fd: number, - buffer: TBuffer, - offset: number | undefined | null, - length: number | undefined | null, - callback: (err: NodeJS.ErrnoException | null, written: number, buffer: TBuffer) => void, - ): void; - /** - * Asynchronously writes `buffer` to the file referenced by the supplied file descriptor. - * @param fd A file descriptor. - * @param offset The part of the buffer to be written. If not supplied, defaults to `0`. - */ - export function write( - fd: number, - buffer: TBuffer, - offset: number | undefined | null, - callback: (err: NodeJS.ErrnoException | null, written: number, buffer: TBuffer) => void, - ): void; - /** - * Asynchronously writes `buffer` to the file referenced by the supplied file descriptor. - * @param fd A file descriptor. - */ - export function write( - fd: number, - buffer: TBuffer, - callback: (err: NodeJS.ErrnoException | null, written: number, buffer: TBuffer) => void, - ): void; - /** - * Asynchronously writes `string` to the file referenced by the supplied file descriptor. - * @param fd A file descriptor. - * @param string A string to write. - * @param position The offset from the beginning of the file where this data should be written. If not supplied, defaults to the current position. - * @param encoding The expected string encoding. - */ - export function write( - fd: number, - string: string, - position: number | undefined | null, - encoding: BufferEncoding | undefined | null, - callback: (err: NodeJS.ErrnoException | null, written: number, str: string) => void, - ): void; - /** - * Asynchronously writes `string` to the file referenced by the supplied file descriptor. - * @param fd A file descriptor. - * @param string A string to write. - * @param position The offset from the beginning of the file where this data should be written. If not supplied, defaults to the current position. - */ - export function write( - fd: number, - string: string, - position: number | undefined | null, - callback: (err: NodeJS.ErrnoException | null, written: number, str: string) => void, - ): void; - /** - * Asynchronously writes `string` to the file referenced by the supplied file descriptor. - * @param fd A file descriptor. - * @param string A string to write. - */ - export function write( - fd: number, - string: string, - callback: (err: NodeJS.ErrnoException | null, written: number, str: string) => void, - ): void; - export namespace write { - /** - * Asynchronously writes `buffer` to the file referenced by the supplied file descriptor. - * @param fd A file descriptor. - * @param offset The part of the buffer to be written. If not supplied, defaults to `0`. - * @param length The number of bytes to write. If not supplied, defaults to `buffer.length - offset`. - * @param position The offset from the beginning of the file where this data should be written. If not supplied, defaults to the current position. - */ - function __promisify__( - fd: number, - buffer?: TBuffer, - offset?: number, - length?: number, - position?: number | null, - ): Promise<{ - bytesWritten: number; - buffer: TBuffer; - }>; - /** - * Asynchronously writes `string` to the file referenced by the supplied file descriptor. - * @param fd A file descriptor. - * @param string A string to write. - * @param position The offset from the beginning of the file where this data should be written. If not supplied, defaults to the current position. - * @param encoding The expected string encoding. - */ - function __promisify__( - fd: number, - string: string, - position?: number | null, - encoding?: BufferEncoding | null, - ): Promise<{ - bytesWritten: number; - buffer: string; - }>; - } - /** - * For detailed information, see the documentation of the asynchronous version of - * this API: {@link write}. - * @since v0.1.21 - * @param [offset=0] - * @param [length=buffer.byteLength - offset] - * @param [position='null'] - * @return The number of bytes written. - */ - export function writeSync( - fd: number, - buffer: NodeJS.ArrayBufferView, - offset?: number | null, - length?: number | null, - position?: number | null, - ): number; - /** - * Synchronously writes `string` to the file referenced by the supplied file descriptor, returning the number of bytes written. - * @param fd A file descriptor. - * @param string A string to write. - * @param position The offset from the beginning of the file where this data should be written. If not supplied, defaults to the current position. - * @param encoding The expected string encoding. - */ - export function writeSync( - fd: number, - string: string, - position?: number | null, - encoding?: BufferEncoding | null, - ): number; - export type ReadPosition = number | bigint; - export interface ReadSyncOptions { - /** - * @default 0 - */ - offset?: number | undefined; - /** - * @default `length of buffer` - */ - length?: number | undefined; - /** - * @default null - */ - position?: ReadPosition | null | undefined; - } - export interface ReadAsyncOptions extends ReadSyncOptions { - buffer?: TBuffer; - } - /** - * Read data from the file specified by `fd`. - * - * The callback is given the three arguments, `(err, bytesRead, buffer)`. - * - * If the file is not modified concurrently, the end-of-file is reached when the - * number of bytes read is zero. - * - * If this method is invoked as its `util.promisify()` ed version, it returns - * a promise for an `Object` with `bytesRead` and `buffer` properties. - * @since v0.0.2 - * @param buffer The buffer that the data will be written to. - * @param offset The position in `buffer` to write the data to. - * @param length The number of bytes to read. - * @param position Specifies where to begin reading from in the file. If `position` is `null` or `-1 `, data will be read from the current file position, and the file position will be updated. If - * `position` is an integer, the file position will be unchanged. - */ - export function read( - fd: number, - buffer: TBuffer, - offset: number, - length: number, - position: ReadPosition | null, - callback: (err: NodeJS.ErrnoException | null, bytesRead: number, buffer: TBuffer) => void, - ): void; - /** - * Similar to the above `fs.read` function, this version takes an optional `options` object. - * If not otherwise specified in an `options` object, - * `buffer` defaults to `Buffer.alloc(16384)`, - * `offset` defaults to `0`, - * `length` defaults to `buffer.byteLength`, `- offset` as of Node 17.6.0 - * `position` defaults to `null` - * @since v12.17.0, 13.11.0 - */ - export function read( - fd: number, - options: ReadAsyncOptions, - callback: (err: NodeJS.ErrnoException | null, bytesRead: number, buffer: TBuffer) => void, - ): void; - export function read( - fd: number, - callback: (err: NodeJS.ErrnoException | null, bytesRead: number, buffer: NodeJS.ArrayBufferView) => void, - ): void; - export namespace read { - /** - * @param fd A file descriptor. - * @param buffer The buffer that the data will be written to. - * @param offset The offset in the buffer at which to start writing. - * @param length The number of bytes to read. - * @param position The offset from the beginning of the file from which data should be read. If `null`, data will be read from the current position. - */ - function __promisify__( - fd: number, - buffer: TBuffer, - offset: number, - length: number, - position: number | null, - ): Promise<{ - bytesRead: number; - buffer: TBuffer; - }>; - function __promisify__( - fd: number, - options: ReadAsyncOptions, - ): Promise<{ - bytesRead: number; - buffer: TBuffer; - }>; - function __promisify__(fd: number): Promise<{ - bytesRead: number; - buffer: NodeJS.ArrayBufferView; - }>; - } - /** - * Returns the number of `bytesRead`. - * - * For detailed information, see the documentation of the asynchronous version of - * this API: {@link read}. - * @since v0.1.21 - * @param [position='null'] - */ - export function readSync( - fd: number, - buffer: NodeJS.ArrayBufferView, - offset: number, - length: number, - position: ReadPosition | null, - ): number; - /** - * Similar to the above `fs.readSync` function, this version takes an optional `options` object. - * If no `options` object is specified, it will default with the above values. - */ - export function readSync(fd: number, buffer: NodeJS.ArrayBufferView, opts?: ReadSyncOptions): number; - /** - * Asynchronously reads the entire contents of a file. - * - * ```js - * import { readFile } from 'node:fs'; - * - * readFile('/etc/passwd', (err, data) => { - * if (err) throw err; - * console.log(data); - * }); - * ``` - * - * The callback is passed two arguments `(err, data)`, where `data` is the - * contents of the file. - * - * If no encoding is specified, then the raw buffer is returned. - * - * If `options` is a string, then it specifies the encoding: - * - * ```js - * import { readFile } from 'node:fs'; - * - * readFile('/etc/passwd', 'utf8', callback); - * ``` - * - * When the path is a directory, the behavior of `fs.readFile()` and {@link readFileSync} is platform-specific. On macOS, Linux, and Windows, an - * error will be returned. On FreeBSD, a representation of the directory's contents - * will be returned. - * - * ```js - * import { readFile } from 'node:fs'; - * - * // macOS, Linux, and Windows - * readFile('', (err, data) => { - * // => [Error: EISDIR: illegal operation on a directory, read ] - * }); - * - * // FreeBSD - * readFile('', (err, data) => { - * // => null, - * }); - * ``` - * - * It is possible to abort an ongoing request using an `AbortSignal`. If a - * request is aborted the callback is called with an `AbortError`: - * - * ```js - * import { readFile } from 'node:fs'; - * - * const controller = new AbortController(); - * const signal = controller.signal; - * readFile(fileInfo[0].name, { signal }, (err, buf) => { - * // ... - * }); - * // When you want to abort the request - * controller.abort(); - * ``` - * - * The `fs.readFile()` function buffers the entire file. To minimize memory costs, - * when possible prefer streaming via `fs.createReadStream()`. - * - * Aborting an ongoing request does not abort individual operating - * system requests but rather the internal buffering `fs.readFile` performs. - * @since v0.1.29 - * @param path filename or file descriptor - */ - export function readFile( - path: PathOrFileDescriptor, - options: - | ({ - encoding?: null | undefined; - flag?: string | undefined; - } & Abortable) - | undefined - | null, - callback: (err: NodeJS.ErrnoException | null, data: Buffer) => void, - ): void; - /** - * Asynchronously reads the entire contents of a file. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * If a file descriptor is provided, the underlying file will _not_ be closed automatically. - * @param options Either the encoding for the result, or an object that contains the encoding and an optional flag. - * If a flag is not provided, it defaults to `'r'`. - */ - export function readFile( - path: PathOrFileDescriptor, - options: - | ({ - encoding: BufferEncoding; - flag?: string | undefined; - } & Abortable) - | BufferEncoding, - callback: (err: NodeJS.ErrnoException | null, data: string) => void, - ): void; - /** - * Asynchronously reads the entire contents of a file. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * If a file descriptor is provided, the underlying file will _not_ be closed automatically. - * @param options Either the encoding for the result, or an object that contains the encoding and an optional flag. - * If a flag is not provided, it defaults to `'r'`. - */ - export function readFile( - path: PathOrFileDescriptor, - options: - | (ObjectEncodingOptions & { - flag?: string | undefined; - } & Abortable) - | BufferEncoding - | undefined - | null, - callback: (err: NodeJS.ErrnoException | null, data: string | Buffer) => void, - ): void; - /** - * Asynchronously reads the entire contents of a file. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * If a file descriptor is provided, the underlying file will _not_ be closed automatically. - */ - export function readFile( - path: PathOrFileDescriptor, - callback: (err: NodeJS.ErrnoException | null, data: Buffer) => void, - ): void; - export namespace readFile { - /** - * Asynchronously reads the entire contents of a file. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * If a file descriptor is provided, the underlying file will _not_ be closed automatically. - * @param options An object that may contain an optional flag. - * If a flag is not provided, it defaults to `'r'`. - */ - function __promisify__( - path: PathOrFileDescriptor, - options?: { - encoding?: null | undefined; - flag?: string | undefined; - } | null, - ): Promise; - /** - * Asynchronously reads the entire contents of a file. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * URL support is _experimental_. - * If a file descriptor is provided, the underlying file will _not_ be closed automatically. - * @param options Either the encoding for the result, or an object that contains the encoding and an optional flag. - * If a flag is not provided, it defaults to `'r'`. - */ - function __promisify__( - path: PathOrFileDescriptor, - options: - | { - encoding: BufferEncoding; - flag?: string | undefined; - } - | BufferEncoding, - ): Promise; - /** - * Asynchronously reads the entire contents of a file. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * URL support is _experimental_. - * If a file descriptor is provided, the underlying file will _not_ be closed automatically. - * @param options Either the encoding for the result, or an object that contains the encoding and an optional flag. - * If a flag is not provided, it defaults to `'r'`. - */ - function __promisify__( - path: PathOrFileDescriptor, - options?: - | (ObjectEncodingOptions & { - flag?: string | undefined; - }) - | BufferEncoding - | null, - ): Promise; - } - /** - * Returns the contents of the `path`. - * - * For detailed information, see the documentation of the asynchronous version of - * this API: {@link readFile}. - * - * If the `encoding` option is specified then this function returns a - * string. Otherwise it returns a buffer. - * - * Similar to {@link readFile}, when the path is a directory, the behavior of`fs.readFileSync()` is platform-specific. - * - * ```js - * import { readFileSync } from 'node:fs'; - * - * // macOS, Linux, and Windows - * readFileSync(''); - * // => [Error: EISDIR: illegal operation on a directory, read ] - * - * // FreeBSD - * readFileSync(''); // => - * ``` - * @since v0.1.8 - * @param path filename or file descriptor - */ - export function readFileSync( - path: PathOrFileDescriptor, - options?: { - encoding?: null | undefined; - flag?: string | undefined; - } | null, - ): Buffer; - /** - * Synchronously reads the entire contents of a file. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * If a file descriptor is provided, the underlying file will _not_ be closed automatically. - * @param options Either the encoding for the result, or an object that contains the encoding and an optional flag. - * If a flag is not provided, it defaults to `'r'`. - */ - export function readFileSync( - path: PathOrFileDescriptor, - options: - | { - encoding: BufferEncoding; - flag?: string | undefined; - } - | BufferEncoding, - ): string; - /** - * Synchronously reads the entire contents of a file. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * If a file descriptor is provided, the underlying file will _not_ be closed automatically. - * @param options Either the encoding for the result, or an object that contains the encoding and an optional flag. - * If a flag is not provided, it defaults to `'r'`. - */ - export function readFileSync( - path: PathOrFileDescriptor, - options?: - | (ObjectEncodingOptions & { - flag?: string | undefined; - }) - | BufferEncoding - | null, - ): string | Buffer; - export type WriteFileOptions = - | ( - & ObjectEncodingOptions - & Abortable - & { - mode?: Mode | undefined; - flag?: string | undefined; - flush?: boolean | undefined; - } - ) - | BufferEncoding - | null; - /** - * When `file` is a filename, asynchronously writes data to the file, replacing the - * file if it already exists. `data` can be a string or a buffer. - * - * When `file` is a file descriptor, the behavior is similar to calling`fs.write()` directly (which is recommended). See the notes below on using - * a file descriptor. - * - * The `encoding` option is ignored if `data` is a buffer. - * - * The `mode` option only affects the newly created file. See {@link open} for more details. - * - * ```js - * import { writeFile } from 'node:fs'; - * import { Buffer } from 'node:buffer'; - * - * const data = new Uint8Array(Buffer.from('Hello Node.js')); - * writeFile('message.txt', data, (err) => { - * if (err) throw err; - * console.log('The file has been saved!'); - * }); - * ``` - * - * If `options` is a string, then it specifies the encoding: - * - * ```js - * import { writeFile } from 'node:fs'; - * - * writeFile('message.txt', 'Hello Node.js', 'utf8', callback); - * ``` - * - * It is unsafe to use `fs.writeFile()` multiple times on the same file without - * waiting for the callback. For this scenario, {@link createWriteStream} is - * recommended. - * - * Similarly to `fs.readFile` \- `fs.writeFile` is a convenience method that - * performs multiple `write` calls internally to write the buffer passed to it. - * For performance sensitive code consider using {@link createWriteStream}. - * - * It is possible to use an `AbortSignal` to cancel an `fs.writeFile()`. - * Cancelation is "best effort", and some amount of data is likely still - * to be written. - * - * ```js - * import { writeFile } from 'node:fs'; - * import { Buffer } from 'node:buffer'; - * - * const controller = new AbortController(); - * const { signal } = controller; - * const data = new Uint8Array(Buffer.from('Hello Node.js')); - * writeFile('message.txt', data, { signal }, (err) => { - * // When a request is aborted - the callback is called with an AbortError - * }); - * // When the request should be aborted - * controller.abort(); - * ``` - * - * Aborting an ongoing request does not abort individual operating - * system requests but rather the internal buffering `fs.writeFile` performs. - * @since v0.1.29 - * @param file filename or file descriptor - */ - export function writeFile( - file: PathOrFileDescriptor, - data: string | NodeJS.ArrayBufferView, - options: WriteFileOptions, - callback: NoParamCallback, - ): void; - /** - * Asynchronously writes data to a file, replacing the file if it already exists. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * If a file descriptor is provided, the underlying file will _not_ be closed automatically. - * @param data The data to write. If something other than a Buffer or Uint8Array is provided, the value is coerced to a string. - */ - export function writeFile( - path: PathOrFileDescriptor, - data: string | NodeJS.ArrayBufferView, - callback: NoParamCallback, - ): void; - export namespace writeFile { - /** - * Asynchronously writes data to a file, replacing the file if it already exists. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * URL support is _experimental_. - * If a file descriptor is provided, the underlying file will _not_ be closed automatically. - * @param data The data to write. If something other than a Buffer or Uint8Array is provided, the value is coerced to a string. - * @param options Either the encoding for the file, or an object optionally specifying the encoding, file mode, and flag. - * If `encoding` is not supplied, the default of `'utf8'` is used. - * If `mode` is not supplied, the default of `0o666` is used. - * If `mode` is a string, it is parsed as an octal integer. - * If `flag` is not supplied, the default of `'w'` is used. - */ - function __promisify__( - path: PathOrFileDescriptor, - data: string | NodeJS.ArrayBufferView, - options?: WriteFileOptions, - ): Promise; - } - /** - * Returns `undefined`. - * - * The `mode` option only affects the newly created file. See {@link open} for more details. - * - * For detailed information, see the documentation of the asynchronous version of - * this API: {@link writeFile}. - * @since v0.1.29 - * @param file filename or file descriptor - */ - export function writeFileSync( - file: PathOrFileDescriptor, - data: string | NodeJS.ArrayBufferView, - options?: WriteFileOptions, - ): void; - /** - * Asynchronously append data to a file, creating the file if it does not yet - * exist. `data` can be a string or a `Buffer`. - * - * The `mode` option only affects the newly created file. See {@link open} for more details. - * - * ```js - * import { appendFile } from 'node:fs'; - * - * appendFile('message.txt', 'data to append', (err) => { - * if (err) throw err; - * console.log('The "data to append" was appended to file!'); - * }); - * ``` - * - * If `options` is a string, then it specifies the encoding: - * - * ```js - * import { appendFile } from 'node:fs'; - * - * appendFile('message.txt', 'data to append', 'utf8', callback); - * ``` - * - * The `path` may be specified as a numeric file descriptor that has been opened - * for appending (using `fs.open()` or `fs.openSync()`). The file descriptor will - * not be closed automatically. - * - * ```js - * import { open, close, appendFile } from 'node:fs'; - * - * function closeFd(fd) { - * close(fd, (err) => { - * if (err) throw err; - * }); - * } - * - * open('message.txt', 'a', (err, fd) => { - * if (err) throw err; - * - * try { - * appendFile(fd, 'data to append', 'utf8', (err) => { - * closeFd(fd); - * if (err) throw err; - * }); - * } catch (err) { - * closeFd(fd); - * throw err; - * } - * }); - * ``` - * @since v0.6.7 - * @param path filename or file descriptor - */ - export function appendFile( - path: PathOrFileDescriptor, - data: string | Uint8Array, - options: WriteFileOptions, - callback: NoParamCallback, - ): void; - /** - * Asynchronously append data to a file, creating the file if it does not exist. - * @param file A path to a file. If a URL is provided, it must use the `file:` protocol. - * If a file descriptor is provided, the underlying file will _not_ be closed automatically. - * @param data The data to write. If something other than a Buffer or Uint8Array is provided, the value is coerced to a string. - */ - export function appendFile(file: PathOrFileDescriptor, data: string | Uint8Array, callback: NoParamCallback): void; - export namespace appendFile { - /** - * Asynchronously append data to a file, creating the file if it does not exist. - * @param file A path to a file. If a URL is provided, it must use the `file:` protocol. - * URL support is _experimental_. - * If a file descriptor is provided, the underlying file will _not_ be closed automatically. - * @param data The data to write. If something other than a Buffer or Uint8Array is provided, the value is coerced to a string. - * @param options Either the encoding for the file, or an object optionally specifying the encoding, file mode, and flag. - * If `encoding` is not supplied, the default of `'utf8'` is used. - * If `mode` is not supplied, the default of `0o666` is used. - * If `mode` is a string, it is parsed as an octal integer. - * If `flag` is not supplied, the default of `'a'` is used. - */ - function __promisify__( - file: PathOrFileDescriptor, - data: string | Uint8Array, - options?: WriteFileOptions, - ): Promise; - } - /** - * Synchronously append data to a file, creating the file if it does not yet - * exist. `data` can be a string or a `Buffer`. - * - * The `mode` option only affects the newly created file. See {@link open} for more details. - * - * ```js - * import { appendFileSync } from 'node:fs'; - * - * try { - * appendFileSync('message.txt', 'data to append'); - * console.log('The "data to append" was appended to file!'); - * } catch (err) { - * // Handle the error - * } - * ``` - * - * If `options` is a string, then it specifies the encoding: - * - * ```js - * import { appendFileSync } from 'node:fs'; - * - * appendFileSync('message.txt', 'data to append', 'utf8'); - * ``` - * - * The `path` may be specified as a numeric file descriptor that has been opened - * for appending (using `fs.open()` or `fs.openSync()`). The file descriptor will - * not be closed automatically. - * - * ```js - * import { openSync, closeSync, appendFileSync } from 'node:fs'; - * - * let fd; - * - * try { - * fd = openSync('message.txt', 'a'); - * appendFileSync(fd, 'data to append', 'utf8'); - * } catch (err) { - * // Handle the error - * } finally { - * if (fd !== undefined) - * closeSync(fd); - * } - * ``` - * @since v0.6.7 - * @param path filename or file descriptor - */ - export function appendFileSync( - path: PathOrFileDescriptor, - data: string | Uint8Array, - options?: WriteFileOptions, - ): void; - /** - * Watch for changes on `filename`. The callback `listener` will be called each - * time the file is accessed. - * - * The `options` argument may be omitted. If provided, it should be an object. The`options` object may contain a boolean named `persistent` that indicates - * whether the process should continue to run as long as files are being watched. - * The `options` object may specify an `interval` property indicating how often the - * target should be polled in milliseconds. - * - * The `listener` gets two arguments the current stat object and the previous - * stat object: - * - * ```js - * import { watchFile } from 'fs'; - * - * watchFile('message.text', (curr, prev) => { - * console.log(`the current mtime is: ${curr.mtime}`); - * console.log(`the previous mtime was: ${prev.mtime}`); - * }); - * ``` - * - * These stat objects are instances of `fs.Stat`. If the `bigint` option is `true`, - * the numeric values in these objects are specified as `BigInt`s. - * - * To be notified when the file was modified, not just accessed, it is necessary - * to compare `curr.mtimeMs` and `prev.mtimeMs`. - * - * When an `fs.watchFile` operation results in an `ENOENT` error, it - * will invoke the listener once, with all the fields zeroed (or, for dates, the - * Unix Epoch). If the file is created later on, the listener will be called - * again, with the latest stat objects. This is a change in functionality since - * v0.10. - * - * Using {@link watch} is more efficient than `fs.watchFile` and`fs.unwatchFile`. `fs.watch` should be used instead of `fs.watchFile` and`fs.unwatchFile` when possible. - * - * When a file being watched by `fs.watchFile()` disappears and reappears, - * then the contents of `previous` in the second callback event (the file's - * reappearance) will be the same as the contents of `previous` in the first - * callback event (its disappearance). - * - * This happens when: - * - * * the file is deleted, followed by a restore - * * the file is renamed and then renamed a second time back to its original name - * @since v0.1.31 - */ - export interface WatchFileOptions { - bigint?: boolean | undefined; - persistent?: boolean | undefined; - interval?: number | undefined; - } - /** - * Watch for changes on `filename`. The callback `listener` will be called each - * time the file is accessed. - * - * The `options` argument may be omitted. If provided, it should be an object. The`options` object may contain a boolean named `persistent` that indicates - * whether the process should continue to run as long as files are being watched. - * The `options` object may specify an `interval` property indicating how often the - * target should be polled in milliseconds. - * - * The `listener` gets two arguments the current stat object and the previous - * stat object: - * - * ```js - * import { watchFile } from 'node:fs'; - * - * watchFile('message.text', (curr, prev) => { - * console.log(`the current mtime is: ${curr.mtime}`); - * console.log(`the previous mtime was: ${prev.mtime}`); - * }); - * ``` - * - * These stat objects are instances of `fs.Stat`. If the `bigint` option is `true`, - * the numeric values in these objects are specified as `BigInt`s. - * - * To be notified when the file was modified, not just accessed, it is necessary - * to compare `curr.mtimeMs` and `prev.mtimeMs`. - * - * When an `fs.watchFile` operation results in an `ENOENT` error, it - * will invoke the listener once, with all the fields zeroed (or, for dates, the - * Unix Epoch). If the file is created later on, the listener will be called - * again, with the latest stat objects. This is a change in functionality since - * v0.10. - * - * Using {@link watch} is more efficient than `fs.watchFile` and`fs.unwatchFile`. `fs.watch` should be used instead of `fs.watchFile` and`fs.unwatchFile` when possible. - * - * When a file being watched by `fs.watchFile()` disappears and reappears, - * then the contents of `previous` in the second callback event (the file's - * reappearance) will be the same as the contents of `previous` in the first - * callback event (its disappearance). - * - * This happens when: - * - * * the file is deleted, followed by a restore - * * the file is renamed and then renamed a second time back to its original name - * @since v0.1.31 - */ - export function watchFile( - filename: PathLike, - options: - | (WatchFileOptions & { - bigint?: false | undefined; - }) - | undefined, - listener: StatsListener, - ): StatWatcher; - export function watchFile( - filename: PathLike, - options: - | (WatchFileOptions & { - bigint: true; - }) - | undefined, - listener: BigIntStatsListener, - ): StatWatcher; - /** - * Watch for changes on `filename`. The callback `listener` will be called each time the file is accessed. - * @param filename A path to a file or directory. If a URL is provided, it must use the `file:` protocol. - */ - export function watchFile(filename: PathLike, listener: StatsListener): StatWatcher; - /** - * Stop watching for changes on `filename`. If `listener` is specified, only that - * particular listener is removed. Otherwise, _all_ listeners are removed, - * effectively stopping watching of `filename`. - * - * Calling `fs.unwatchFile()` with a filename that is not being watched is a - * no-op, not an error. - * - * Using {@link watch} is more efficient than `fs.watchFile()` and`fs.unwatchFile()`. `fs.watch()` should be used instead of `fs.watchFile()`and `fs.unwatchFile()` when possible. - * @since v0.1.31 - * @param listener Optional, a listener previously attached using `fs.watchFile()` - */ - export function unwatchFile(filename: PathLike, listener?: StatsListener): void; - export function unwatchFile(filename: PathLike, listener?: BigIntStatsListener): void; - export interface WatchOptions extends Abortable { - encoding?: BufferEncoding | "buffer" | undefined; - persistent?: boolean | undefined; - recursive?: boolean | undefined; - } - export type WatchEventType = "rename" | "change"; - export type WatchListener = (event: WatchEventType, filename: T | null) => void; - export type StatsListener = (curr: Stats, prev: Stats) => void; - export type BigIntStatsListener = (curr: BigIntStats, prev: BigIntStats) => void; - /** - * Watch for changes on `filename`, where `filename` is either a file or a - * directory. - * - * The second argument is optional. If `options` is provided as a string, it - * specifies the `encoding`. Otherwise `options` should be passed as an object. - * - * The listener callback gets two arguments `(eventType, filename)`. `eventType`is either `'rename'` or `'change'`, and `filename` is the name of the file - * which triggered the event. - * - * On most platforms, `'rename'` is emitted whenever a filename appears or - * disappears in the directory. - * - * The listener callback is attached to the `'change'` event fired by `fs.FSWatcher`, but it is not the same thing as the `'change'` value of`eventType`. - * - * If a `signal` is passed, aborting the corresponding AbortController will close - * the returned `fs.FSWatcher`. - * @since v0.5.10 - * @param listener - */ - export function watch( - filename: PathLike, - options: - | (WatchOptions & { - encoding: "buffer"; - }) - | "buffer", - listener?: WatchListener, - ): FSWatcher; - /** - * Watch for changes on `filename`, where `filename` is either a file or a directory, returning an `FSWatcher`. - * @param filename A path to a file or directory. If a URL is provided, it must use the `file:` protocol. - * @param options Either the encoding for the filename provided to the listener, or an object optionally specifying encoding, persistent, and recursive options. - * If `encoding` is not supplied, the default of `'utf8'` is used. - * If `persistent` is not supplied, the default of `true` is used. - * If `recursive` is not supplied, the default of `false` is used. - */ - export function watch( - filename: PathLike, - options?: WatchOptions | BufferEncoding | null, - listener?: WatchListener, - ): FSWatcher; - /** - * Watch for changes on `filename`, where `filename` is either a file or a directory, returning an `FSWatcher`. - * @param filename A path to a file or directory. If a URL is provided, it must use the `file:` protocol. - * @param options Either the encoding for the filename provided to the listener, or an object optionally specifying encoding, persistent, and recursive options. - * If `encoding` is not supplied, the default of `'utf8'` is used. - * If `persistent` is not supplied, the default of `true` is used. - * If `recursive` is not supplied, the default of `false` is used. - */ - export function watch( - filename: PathLike, - options: WatchOptions | string, - listener?: WatchListener, - ): FSWatcher; - /** - * Watch for changes on `filename`, where `filename` is either a file or a directory, returning an `FSWatcher`. - * @param filename A path to a file or directory. If a URL is provided, it must use the `file:` protocol. - */ - export function watch(filename: PathLike, listener?: WatchListener): FSWatcher; - /** - * Test whether or not the given path exists by checking with the file system. - * Then call the `callback` argument with either true or false: - * - * ```js - * import { exists } from 'node:fs'; - * - * exists('/etc/passwd', (e) => { - * console.log(e ? 'it exists' : 'no passwd!'); - * }); - * ``` - * - * **The parameters for this callback are not consistent with other Node.js** - * **callbacks.** Normally, the first parameter to a Node.js callback is an `err`parameter, optionally followed by other parameters. The `fs.exists()` callback - * has only one boolean parameter. This is one reason `fs.access()` is recommended - * instead of `fs.exists()`. - * - * Using `fs.exists()` to check for the existence of a file before calling`fs.open()`, `fs.readFile()`, or `fs.writeFile()` is not recommended. Doing - * so introduces a race condition, since other processes may change the file's - * state between the two calls. Instead, user code should open/read/write the - * file directly and handle the error raised if the file does not exist. - * - * **write (NOT RECOMMENDED)** - * - * ```js - * import { exists, open, close } from 'node:fs'; - * - * exists('myfile', (e) => { - * if (e) { - * console.error('myfile already exists'); - * } else { - * open('myfile', 'wx', (err, fd) => { - * if (err) throw err; - * - * try { - * writeMyData(fd); - * } finally { - * close(fd, (err) => { - * if (err) throw err; - * }); - * } - * }); - * } - * }); - * ``` - * - * **write (RECOMMENDED)** - * - * ```js - * import { open, close } from 'node:fs'; - * open('myfile', 'wx', (err, fd) => { - * if (err) { - * if (err.code === 'EEXIST') { - * console.error('myfile already exists'); - * return; - * } - * - * throw err; - * } - * - * try { - * writeMyData(fd); - * } finally { - * close(fd, (err) => { - * if (err) throw err; - * }); - * } - * }); - * ``` - * - * **read (NOT RECOMMENDED)** - * - * ```js - * import { open, close, exists } from 'node:fs'; - * - * exists('myfile', (e) => { - * if (e) { - * open('myfile', 'r', (err, fd) => { - * if (err) throw err; - * - * try { - * readMyData(fd); - * } finally { - * close(fd, (err) => { - * if (err) throw err; - * }); - * } - * }); - * } else { - * console.error('myfile does not exist'); - * } - * }); - * ``` - * - * **read (RECOMMENDED)** - * - * ```js - * import { open, close } from 'node:fs'; - * - * open('myfile', 'r', (err, fd) => { - * if (err) { - * if (err.code === 'ENOENT') { - * console.error('myfile does not exist'); - * return; - * } - * - * throw err; - * } - * - * try { - * readMyData(fd); - * } finally { - * close(fd, (err) => { - * if (err) throw err; - * }); - * } - * }); - * ``` - * - * The "not recommended" examples above check for existence and then use the - * file; the "recommended" examples are better because they use the file directly - * and handle the error, if any. - * - * In general, check for the existence of a file only if the file won't be - * used directly, for example when its existence is a signal from another - * process. - * @since v0.0.2 - * @deprecated Since v1.0.0 - Use {@link stat} or {@link access} instead. - */ - export function exists(path: PathLike, callback: (exists: boolean) => void): void; - /** @deprecated */ - export namespace exists { - /** - * @param path A path to a file or directory. If a URL is provided, it must use the `file:` protocol. - * URL support is _experimental_. - */ - function __promisify__(path: PathLike): Promise; - } - /** - * Returns `true` if the path exists, `false` otherwise. - * - * For detailed information, see the documentation of the asynchronous version of - * this API: {@link exists}. - * - * `fs.exists()` is deprecated, but `fs.existsSync()` is not. The `callback`parameter to `fs.exists()` accepts parameters that are inconsistent with other - * Node.js callbacks. `fs.existsSync()` does not use a callback. - * - * ```js - * import { existsSync } from 'node:fs'; - * - * if (existsSync('/etc/passwd')) - * console.log('The path exists.'); - * ``` - * @since v0.1.21 - */ - export function existsSync(path: PathLike): boolean; - export namespace constants { - // File Access Constants - /** Constant for fs.access(). File is visible to the calling process. */ - const F_OK: number; - /** Constant for fs.access(). File can be read by the calling process. */ - const R_OK: number; - /** Constant for fs.access(). File can be written by the calling process. */ - const W_OK: number; - /** Constant for fs.access(). File can be executed by the calling process. */ - const X_OK: number; - // File Copy Constants - /** Constant for fs.copyFile. Flag indicating the destination file should not be overwritten if it already exists. */ - const COPYFILE_EXCL: number; - /** - * Constant for fs.copyFile. copy operation will attempt to create a copy-on-write reflink. - * If the underlying platform does not support copy-on-write, then a fallback copy mechanism is used. - */ - const COPYFILE_FICLONE: number; - /** - * Constant for fs.copyFile. Copy operation will attempt to create a copy-on-write reflink. - * If the underlying platform does not support copy-on-write, then the operation will fail with an error. - */ - const COPYFILE_FICLONE_FORCE: number; - // File Open Constants - /** Constant for fs.open(). Flag indicating to open a file for read-only access. */ - const O_RDONLY: number; - /** Constant for fs.open(). Flag indicating to open a file for write-only access. */ - const O_WRONLY: number; - /** Constant for fs.open(). Flag indicating to open a file for read-write access. */ - const O_RDWR: number; - /** Constant for fs.open(). Flag indicating to create the file if it does not already exist. */ - const O_CREAT: number; - /** Constant for fs.open(). Flag indicating that opening a file should fail if the O_CREAT flag is set and the file already exists. */ - const O_EXCL: number; - /** - * Constant for fs.open(). Flag indicating that if path identifies a terminal device, - * opening the path shall not cause that terminal to become the controlling terminal for the process - * (if the process does not already have one). - */ - const O_NOCTTY: number; - /** Constant for fs.open(). Flag indicating that if the file exists and is a regular file, and the file is opened successfully for write access, its length shall be truncated to zero. */ - const O_TRUNC: number; - /** Constant for fs.open(). Flag indicating that data will be appended to the end of the file. */ - const O_APPEND: number; - /** Constant for fs.open(). Flag indicating that the open should fail if the path is not a directory. */ - const O_DIRECTORY: number; - /** - * constant for fs.open(). - * Flag indicating reading accesses to the file system will no longer result in - * an update to the atime information associated with the file. - * This flag is available on Linux operating systems only. - */ - const O_NOATIME: number; - /** Constant for fs.open(). Flag indicating that the open should fail if the path is a symbolic link. */ - const O_NOFOLLOW: number; - /** Constant for fs.open(). Flag indicating that the file is opened for synchronous I/O. */ - const O_SYNC: number; - /** Constant for fs.open(). Flag indicating that the file is opened for synchronous I/O with write operations waiting for data integrity. */ - const O_DSYNC: number; - /** Constant for fs.open(). Flag indicating to open the symbolic link itself rather than the resource it is pointing to. */ - const O_SYMLINK: number; - /** Constant for fs.open(). When set, an attempt will be made to minimize caching effects of file I/O. */ - const O_DIRECT: number; - /** Constant for fs.open(). Flag indicating to open the file in nonblocking mode when possible. */ - const O_NONBLOCK: number; - // File Type Constants - /** Constant for fs.Stats mode property for determining a file's type. Bit mask used to extract the file type code. */ - const S_IFMT: number; - /** Constant for fs.Stats mode property for determining a file's type. File type constant for a regular file. */ - const S_IFREG: number; - /** Constant for fs.Stats mode property for determining a file's type. File type constant for a directory. */ - const S_IFDIR: number; - /** Constant for fs.Stats mode property for determining a file's type. File type constant for a character-oriented device file. */ - const S_IFCHR: number; - /** Constant for fs.Stats mode property for determining a file's type. File type constant for a block-oriented device file. */ - const S_IFBLK: number; - /** Constant for fs.Stats mode property for determining a file's type. File type constant for a FIFO/pipe. */ - const S_IFIFO: number; - /** Constant for fs.Stats mode property for determining a file's type. File type constant for a symbolic link. */ - const S_IFLNK: number; - /** Constant for fs.Stats mode property for determining a file's type. File type constant for a socket. */ - const S_IFSOCK: number; - // File Mode Constants - /** Constant for fs.Stats mode property for determining access permissions for a file. File mode indicating readable, writable and executable by owner. */ - const S_IRWXU: number; - /** Constant for fs.Stats mode property for determining access permissions for a file. File mode indicating readable by owner. */ - const S_IRUSR: number; - /** Constant for fs.Stats mode property for determining access permissions for a file. File mode indicating writable by owner. */ - const S_IWUSR: number; - /** Constant for fs.Stats mode property for determining access permissions for a file. File mode indicating executable by owner. */ - const S_IXUSR: number; - /** Constant for fs.Stats mode property for determining access permissions for a file. File mode indicating readable, writable and executable by group. */ - const S_IRWXG: number; - /** Constant for fs.Stats mode property for determining access permissions for a file. File mode indicating readable by group. */ - const S_IRGRP: number; - /** Constant for fs.Stats mode property for determining access permissions for a file. File mode indicating writable by group. */ - const S_IWGRP: number; - /** Constant for fs.Stats mode property for determining access permissions for a file. File mode indicating executable by group. */ - const S_IXGRP: number; - /** Constant for fs.Stats mode property for determining access permissions for a file. File mode indicating readable, writable and executable by others. */ - const S_IRWXO: number; - /** Constant for fs.Stats mode property for determining access permissions for a file. File mode indicating readable by others. */ - const S_IROTH: number; - /** Constant for fs.Stats mode property for determining access permissions for a file. File mode indicating writable by others. */ - const S_IWOTH: number; - /** Constant for fs.Stats mode property for determining access permissions for a file. File mode indicating executable by others. */ - const S_IXOTH: number; - /** - * When set, a memory file mapping is used to access the file. This flag - * is available on Windows operating systems only. On other operating systems, - * this flag is ignored. - */ - const UV_FS_O_FILEMAP: number; - } - /** - * Tests a user's permissions for the file or directory specified by `path`. - * The `mode` argument is an optional integer that specifies the accessibility - * checks to be performed. `mode` should be either the value `fs.constants.F_OK`or a mask consisting of the bitwise OR of any of `fs.constants.R_OK`,`fs.constants.W_OK`, and `fs.constants.X_OK` - * (e.g.`fs.constants.W_OK | fs.constants.R_OK`). Check `File access constants` for - * possible values of `mode`. - * - * The final argument, `callback`, is a callback function that is invoked with - * a possible error argument. If any of the accessibility checks fail, the error - * argument will be an `Error` object. The following examples check if`package.json` exists, and if it is readable or writable. - * - * ```js - * import { access, constants } from 'node:fs'; - * - * const file = 'package.json'; - * - * // Check if the file exists in the current directory. - * access(file, constants.F_OK, (err) => { - * console.log(`${file} ${err ? 'does not exist' : 'exists'}`); - * }); - * - * // Check if the file is readable. - * access(file, constants.R_OK, (err) => { - * console.log(`${file} ${err ? 'is not readable' : 'is readable'}`); - * }); - * - * // Check if the file is writable. - * access(file, constants.W_OK, (err) => { - * console.log(`${file} ${err ? 'is not writable' : 'is writable'}`); - * }); - * - * // Check if the file is readable and writable. - * access(file, constants.R_OK | constants.W_OK, (err) => { - * console.log(`${file} ${err ? 'is not' : 'is'} readable and writable`); - * }); - * ``` - * - * Do not use `fs.access()` to check for the accessibility of a file before calling`fs.open()`, `fs.readFile()`, or `fs.writeFile()`. Doing - * so introduces a race condition, since other processes may change the file's - * state between the two calls. Instead, user code should open/read/write the - * file directly and handle the error raised if the file is not accessible. - * - * **write (NOT RECOMMENDED)** - * - * ```js - * import { access, open, close } from 'node:fs'; - * - * access('myfile', (err) => { - * if (!err) { - * console.error('myfile already exists'); - * return; - * } - * - * open('myfile', 'wx', (err, fd) => { - * if (err) throw err; - * - * try { - * writeMyData(fd); - * } finally { - * close(fd, (err) => { - * if (err) throw err; - * }); - * } - * }); - * }); - * ``` - * - * **write (RECOMMENDED)** - * - * ```js - * import { open, close } from 'node:fs'; - * - * open('myfile', 'wx', (err, fd) => { - * if (err) { - * if (err.code === 'EEXIST') { - * console.error('myfile already exists'); - * return; - * } - * - * throw err; - * } - * - * try { - * writeMyData(fd); - * } finally { - * close(fd, (err) => { - * if (err) throw err; - * }); - * } - * }); - * ``` - * - * **read (NOT RECOMMENDED)** - * - * ```js - * import { access, open, close } from 'node:fs'; - * access('myfile', (err) => { - * if (err) { - * if (err.code === 'ENOENT') { - * console.error('myfile does not exist'); - * return; - * } - * - * throw err; - * } - * - * open('myfile', 'r', (err, fd) => { - * if (err) throw err; - * - * try { - * readMyData(fd); - * } finally { - * close(fd, (err) => { - * if (err) throw err; - * }); - * } - * }); - * }); - * ``` - * - * **read (RECOMMENDED)** - * - * ```js - * import { open, close } from 'node:fs'; - * - * open('myfile', 'r', (err, fd) => { - * if (err) { - * if (err.code === 'ENOENT') { - * console.error('myfile does not exist'); - * return; - * } - * - * throw err; - * } - * - * try { - * readMyData(fd); - * } finally { - * close(fd, (err) => { - * if (err) throw err; - * }); - * } - * }); - * ``` - * - * The "not recommended" examples above check for accessibility and then use the - * file; the "recommended" examples are better because they use the file directly - * and handle the error, if any. - * - * In general, check for the accessibility of a file only if the file will not be - * used directly, for example when its accessibility is a signal from another - * process. - * - * On Windows, access-control policies (ACLs) on a directory may limit access to - * a file or directory. The `fs.access()` function, however, does not check the - * ACL and therefore may report that a path is accessible even if the ACL restricts - * the user from reading or writing to it. - * @since v0.11.15 - * @param [mode=fs.constants.F_OK] - */ - export function access(path: PathLike, mode: number | undefined, callback: NoParamCallback): void; - /** - * Asynchronously tests a user's permissions for the file specified by path. - * @param path A path to a file or directory. If a URL is provided, it must use the `file:` protocol. - */ - export function access(path: PathLike, callback: NoParamCallback): void; - export namespace access { - /** - * Asynchronously tests a user's permissions for the file specified by path. - * @param path A path to a file or directory. If a URL is provided, it must use the `file:` protocol. - * URL support is _experimental_. - */ - function __promisify__(path: PathLike, mode?: number): Promise; - } - /** - * Synchronously tests a user's permissions for the file or directory specified - * by `path`. The `mode` argument is an optional integer that specifies the - * accessibility checks to be performed. `mode` should be either the value`fs.constants.F_OK` or a mask consisting of the bitwise OR of any of`fs.constants.R_OK`, `fs.constants.W_OK`, and - * `fs.constants.X_OK` (e.g.`fs.constants.W_OK | fs.constants.R_OK`). Check `File access constants` for - * possible values of `mode`. - * - * If any of the accessibility checks fail, an `Error` will be thrown. Otherwise, - * the method will return `undefined`. - * - * ```js - * import { accessSync, constants } from 'node:fs'; - * - * try { - * accessSync('etc/passwd', constants.R_OK | constants.W_OK); - * console.log('can read/write'); - * } catch (err) { - * console.error('no access!'); - * } - * ``` - * @since v0.11.15 - * @param [mode=fs.constants.F_OK] - */ - export function accessSync(path: PathLike, mode?: number): void; - interface StreamOptions { - flags?: string | undefined; - encoding?: BufferEncoding | undefined; - fd?: number | promises.FileHandle | undefined; - mode?: number | undefined; - autoClose?: boolean | undefined; - emitClose?: boolean | undefined; - start?: number | undefined; - signal?: AbortSignal | null | undefined; - highWaterMark?: number | undefined; - } - interface FSImplementation { - open?: (...args: any[]) => any; - close?: (...args: any[]) => any; - } - interface CreateReadStreamFSImplementation extends FSImplementation { - read: (...args: any[]) => any; - } - interface CreateWriteStreamFSImplementation extends FSImplementation { - write: (...args: any[]) => any; - writev?: (...args: any[]) => any; - } - interface ReadStreamOptions extends StreamOptions { - fs?: CreateReadStreamFSImplementation | null | undefined; - end?: number | undefined; - } - interface WriteStreamOptions extends StreamOptions { - fs?: CreateWriteStreamFSImplementation | null | undefined; - flush?: boolean | undefined; - } - /** - * Unlike the 16 KiB default `highWaterMark` for a `stream.Readable`, the stream - * returned by this method has a default `highWaterMark` of 64 KiB. - * - * `options` can include `start` and `end` values to read a range of bytes from - * the file instead of the entire file. Both `start` and `end` are inclusive and - * start counting at 0, allowed values are in the - * \[0, [`Number.MAX_SAFE_INTEGER`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/MAX_SAFE_INTEGER)\] range. If `fd` is specified and `start` is - * omitted or `undefined`, `fs.createReadStream()` reads sequentially from the - * current file position. The `encoding` can be any one of those accepted by `Buffer`. - * - * If `fd` is specified, `ReadStream` will ignore the `path` argument and will use - * the specified file descriptor. This means that no `'open'` event will be - * emitted. `fd` should be blocking; non-blocking `fd`s should be passed to `net.Socket`. - * - * If `fd` points to a character device that only supports blocking reads - * (such as keyboard or sound card), read operations do not finish until data is - * available. This can prevent the process from exiting and the stream from - * closing naturally. - * - * By default, the stream will emit a `'close'` event after it has been - * destroyed. Set the `emitClose` option to `false` to change this behavior. - * - * By providing the `fs` option, it is possible to override the corresponding `fs`implementations for `open`, `read`, and `close`. When providing the `fs` option, - * an override for `read` is required. If no `fd` is provided, an override for`open` is also required. If `autoClose` is `true`, an override for `close` is - * also required. - * - * ```js - * import { createReadStream } from 'node:fs'; - * - * // Create a stream from some character device. - * const stream = createReadStream('/dev/input/event0'); - * setTimeout(() => { - * stream.close(); // This may not close the stream. - * // Artificially marking end-of-stream, as if the underlying resource had - * // indicated end-of-file by itself, allows the stream to close. - * // This does not cancel pending read operations, and if there is such an - * // operation, the process may still not be able to exit successfully - * // until it finishes. - * stream.push(null); - * stream.read(0); - * }, 100); - * ``` - * - * If `autoClose` is false, then the file descriptor won't be closed, even if - * there's an error. It is the application's responsibility to close it and make - * sure there's no file descriptor leak. If `autoClose` is set to true (default - * behavior), on `'error'` or `'end'` the file descriptor will be closed - * automatically. - * - * `mode` sets the file mode (permission and sticky bits), but only if the - * file was created. - * - * An example to read the last 10 bytes of a file which is 100 bytes long: - * - * ```js - * import { createReadStream } from 'node:fs'; - * - * createReadStream('sample.txt', { start: 90, end: 99 }); - * ``` - * - * If `options` is a string, then it specifies the encoding. - * @since v0.1.31 - */ - export function createReadStream(path: PathLike, options?: BufferEncoding | ReadStreamOptions): ReadStream; - /** - * `options` may also include a `start` option to allow writing data at some - * position past the beginning of the file, allowed values are in the - * \[0, [`Number.MAX_SAFE_INTEGER`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/MAX_SAFE_INTEGER)\] range. Modifying a file rather than - * replacing it may require the `flags` option to be set to `r+` rather than the - * default `w`. The `encoding` can be any one of those accepted by `Buffer`. - * - * If `autoClose` is set to true (default behavior) on `'error'` or `'finish'`the file descriptor will be closed automatically. If `autoClose` is false, - * then the file descriptor won't be closed, even if there's an error. - * It is the application's responsibility to close it and make sure there's no - * file descriptor leak. - * - * By default, the stream will emit a `'close'` event after it has been - * destroyed. Set the `emitClose` option to `false` to change this behavior. - * - * By providing the `fs` option it is possible to override the corresponding `fs`implementations for `open`, `write`, `writev`, and `close`. Overriding `write()`without `writev()` can reduce - * performance as some optimizations (`_writev()`) - * will be disabled. When providing the `fs` option, overrides for at least one of`write` and `writev` are required. If no `fd` option is supplied, an override - * for `open` is also required. If `autoClose` is `true`, an override for `close`is also required. - * - * Like `fs.ReadStream`, if `fd` is specified, `fs.WriteStream` will ignore the`path` argument and will use the specified file descriptor. This means that no`'open'` event will be - * emitted. `fd` should be blocking; non-blocking `fd`s - * should be passed to `net.Socket`. - * - * If `options` is a string, then it specifies the encoding. - * @since v0.1.31 - */ - export function createWriteStream(path: PathLike, options?: BufferEncoding | WriteStreamOptions): WriteStream; - /** - * Forces all currently queued I/O operations associated with the file to the - * operating system's synchronized I/O completion state. Refer to the POSIX [`fdatasync(2)`](http://man7.org/linux/man-pages/man2/fdatasync.2.html) documentation for details. No arguments other - * than a possible - * exception are given to the completion callback. - * @since v0.1.96 - */ - export function fdatasync(fd: number, callback: NoParamCallback): void; - export namespace fdatasync { - /** - * Asynchronous fdatasync(2) - synchronize a file's in-core state with storage device. - * @param fd A file descriptor. - */ - function __promisify__(fd: number): Promise; - } - /** - * Forces all currently queued I/O operations associated with the file to the - * operating system's synchronized I/O completion state. Refer to the POSIX [`fdatasync(2)`](http://man7.org/linux/man-pages/man2/fdatasync.2.html) documentation for details. Returns `undefined`. - * @since v0.1.96 - */ - export function fdatasyncSync(fd: number): void; - /** - * Asynchronously copies `src` to `dest`. By default, `dest` is overwritten if it - * already exists. No arguments other than a possible exception are given to the - * callback function. Node.js makes no guarantees about the atomicity of the copy - * operation. If an error occurs after the destination file has been opened for - * writing, Node.js will attempt to remove the destination. - * - * `mode` is an optional integer that specifies the behavior - * of the copy operation. It is possible to create a mask consisting of the bitwise - * OR of two or more values (e.g.`fs.constants.COPYFILE_EXCL | fs.constants.COPYFILE_FICLONE`). - * - * * `fs.constants.COPYFILE_EXCL`: The copy operation will fail if `dest` already - * exists. - * * `fs.constants.COPYFILE_FICLONE`: The copy operation will attempt to create a - * copy-on-write reflink. If the platform does not support copy-on-write, then a - * fallback copy mechanism is used. - * * `fs.constants.COPYFILE_FICLONE_FORCE`: The copy operation will attempt to - * create a copy-on-write reflink. If the platform does not support - * copy-on-write, then the operation will fail. - * - * ```js - * import { copyFile, constants } from 'node:fs'; - * - * function callback(err) { - * if (err) throw err; - * console.log('source.txt was copied to destination.txt'); - * } - * - * // destination.txt will be created or overwritten by default. - * copyFile('source.txt', 'destination.txt', callback); - * - * // By using COPYFILE_EXCL, the operation will fail if destination.txt exists. - * copyFile('source.txt', 'destination.txt', constants.COPYFILE_EXCL, callback); - * ``` - * @since v8.5.0 - * @param src source filename to copy - * @param dest destination filename of the copy operation - * @param [mode=0] modifiers for copy operation. - */ - export function copyFile(src: PathLike, dest: PathLike, callback: NoParamCallback): void; - export function copyFile(src: PathLike, dest: PathLike, mode: number, callback: NoParamCallback): void; - export namespace copyFile { - function __promisify__(src: PathLike, dst: PathLike, mode?: number): Promise; - } - /** - * Synchronously copies `src` to `dest`. By default, `dest` is overwritten if it - * already exists. Returns `undefined`. Node.js makes no guarantees about the - * atomicity of the copy operation. If an error occurs after the destination file - * has been opened for writing, Node.js will attempt to remove the destination. - * - * `mode` is an optional integer that specifies the behavior - * of the copy operation. It is possible to create a mask consisting of the bitwise - * OR of two or more values (e.g.`fs.constants.COPYFILE_EXCL | fs.constants.COPYFILE_FICLONE`). - * - * * `fs.constants.COPYFILE_EXCL`: The copy operation will fail if `dest` already - * exists. - * * `fs.constants.COPYFILE_FICLONE`: The copy operation will attempt to create a - * copy-on-write reflink. If the platform does not support copy-on-write, then a - * fallback copy mechanism is used. - * * `fs.constants.COPYFILE_FICLONE_FORCE`: The copy operation will attempt to - * create a copy-on-write reflink. If the platform does not support - * copy-on-write, then the operation will fail. - * - * ```js - * import { copyFileSync, constants } from 'node:fs'; - * - * // destination.txt will be created or overwritten by default. - * copyFileSync('source.txt', 'destination.txt'); - * console.log('source.txt was copied to destination.txt'); - * - * // By using COPYFILE_EXCL, the operation will fail if destination.txt exists. - * copyFileSync('source.txt', 'destination.txt', constants.COPYFILE_EXCL); - * ``` - * @since v8.5.0 - * @param src source filename to copy - * @param dest destination filename of the copy operation - * @param [mode=0] modifiers for copy operation. - */ - export function copyFileSync(src: PathLike, dest: PathLike, mode?: number): void; - /** - * Write an array of `ArrayBufferView`s to the file specified by `fd` using`writev()`. - * - * `position` is the offset from the beginning of the file where this data - * should be written. If `typeof position !== 'number'`, the data will be written - * at the current position. - * - * The callback will be given three arguments: `err`, `bytesWritten`, and`buffers`. `bytesWritten` is how many bytes were written from `buffers`. - * - * If this method is `util.promisify()` ed, it returns a promise for an`Object` with `bytesWritten` and `buffers` properties. - * - * It is unsafe to use `fs.writev()` multiple times on the same file without - * waiting for the callback. For this scenario, use {@link createWriteStream}. - * - * On Linux, positional writes don't work when the file is opened in append mode. - * The kernel ignores the position argument and always appends the data to - * the end of the file. - * @since v12.9.0 - * @param [position='null'] - */ - export function writev( - fd: number, - buffers: readonly NodeJS.ArrayBufferView[], - cb: (err: NodeJS.ErrnoException | null, bytesWritten: number, buffers: NodeJS.ArrayBufferView[]) => void, - ): void; - export function writev( - fd: number, - buffers: readonly NodeJS.ArrayBufferView[], - position: number, - cb: (err: NodeJS.ErrnoException | null, bytesWritten: number, buffers: NodeJS.ArrayBufferView[]) => void, - ): void; - export interface WriteVResult { - bytesWritten: number; - buffers: NodeJS.ArrayBufferView[]; - } - export namespace writev { - function __promisify__( - fd: number, - buffers: readonly NodeJS.ArrayBufferView[], - position?: number, - ): Promise; - } - /** - * For detailed information, see the documentation of the asynchronous version of - * this API: {@link writev}. - * @since v12.9.0 - * @param [position='null'] - * @return The number of bytes written. - */ - export function writevSync(fd: number, buffers: readonly NodeJS.ArrayBufferView[], position?: number): number; - /** - * Read from a file specified by `fd` and write to an array of `ArrayBufferView`s - * using `readv()`. - * - * `position` is the offset from the beginning of the file from where data - * should be read. If `typeof position !== 'number'`, the data will be read - * from the current position. - * - * The callback will be given three arguments: `err`, `bytesRead`, and`buffers`. `bytesRead` is how many bytes were read from the file. - * - * If this method is invoked as its `util.promisify()` ed version, it returns - * a promise for an `Object` with `bytesRead` and `buffers` properties. - * @since v13.13.0, v12.17.0 - * @param [position='null'] - */ - export function readv( - fd: number, - buffers: readonly NodeJS.ArrayBufferView[], - cb: (err: NodeJS.ErrnoException | null, bytesRead: number, buffers: NodeJS.ArrayBufferView[]) => void, - ): void; - export function readv( - fd: number, - buffers: readonly NodeJS.ArrayBufferView[], - position: number, - cb: (err: NodeJS.ErrnoException | null, bytesRead: number, buffers: NodeJS.ArrayBufferView[]) => void, - ): void; - export interface ReadVResult { - bytesRead: number; - buffers: NodeJS.ArrayBufferView[]; - } - export namespace readv { - function __promisify__( - fd: number, - buffers: readonly NodeJS.ArrayBufferView[], - position?: number, - ): Promise; - } - /** - * For detailed information, see the documentation of the asynchronous version of - * this API: {@link readv}. - * @since v13.13.0, v12.17.0 - * @param [position='null'] - * @return The number of bytes read. - */ - export function readvSync(fd: number, buffers: readonly NodeJS.ArrayBufferView[], position?: number): number; - - export interface OpenAsBlobOptions { - /** - * An optional mime type for the blob. - * - * @default 'undefined' - */ - type?: string | undefined; - } - - /** - * Returns a `Blob` whose data is backed by the given file. - * - * The file must not be modified after the `Blob` is created. Any modifications - * will cause reading the `Blob` data to fail with a `DOMException` error. - * Synchronous stat operations on the file when the `Blob` is created, and before - * each read in order to detect whether the file data has been modified on disk. - * - * ```js - * import { openAsBlob } from 'node:fs'; - * - * const blob = await openAsBlob('the.file.txt'); - * const ab = await blob.arrayBuffer(); - * blob.stream(); - * ``` - * @since v19.8.0 - * @experimental - */ - export function openAsBlob(path: PathLike, options?: OpenAsBlobOptions): Promise; - - export interface OpenDirOptions { - /** - * @default 'utf8' - */ - encoding?: BufferEncoding | undefined; - /** - * Number of directory entries that are buffered - * internally when reading from the directory. Higher values lead to better - * performance but higher memory usage. - * @default 32 - */ - bufferSize?: number | undefined; - /** - * @default false - */ - recursive?: boolean; - } - /** - * Synchronously open a directory. See [`opendir(3)`](http://man7.org/linux/man-pages/man3/opendir.3.html). - * - * Creates an `fs.Dir`, which contains all further functions for reading from - * and cleaning up the directory. - * - * The `encoding` option sets the encoding for the `path` while opening the - * directory and subsequent read operations. - * @since v12.12.0 - */ - export function opendirSync(path: PathLike, options?: OpenDirOptions): Dir; - /** - * Asynchronously open a directory. See the POSIX [`opendir(3)`](http://man7.org/linux/man-pages/man3/opendir.3.html) documentation for - * more details. - * - * Creates an `fs.Dir`, which contains all further functions for reading from - * and cleaning up the directory. - * - * The `encoding` option sets the encoding for the `path` while opening the - * directory and subsequent read operations. - * @since v12.12.0 - */ - export function opendir(path: PathLike, cb: (err: NodeJS.ErrnoException | null, dir: Dir) => void): void; - export function opendir( - path: PathLike, - options: OpenDirOptions, - cb: (err: NodeJS.ErrnoException | null, dir: Dir) => void, - ): void; - export namespace opendir { - function __promisify__(path: PathLike, options?: OpenDirOptions): Promise; - } - export interface BigIntStats extends StatsBase { - atimeNs: bigint; - mtimeNs: bigint; - ctimeNs: bigint; - birthtimeNs: bigint; - } - export interface BigIntOptions { - bigint: true; - } - export interface StatOptions { - bigint?: boolean | undefined; - } - export interface StatSyncOptions extends StatOptions { - throwIfNoEntry?: boolean | undefined; - } - interface CopyOptionsBase { - /** - * Dereference symlinks - * @default false - */ - dereference?: boolean; - /** - * When `force` is `false`, and the destination - * exists, throw an error. - * @default false - */ - errorOnExist?: boolean; - /** - * Overwrite existing file or directory. _The copy - * operation will ignore errors if you set this to false and the destination - * exists. Use the `errorOnExist` option to change this behavior. - * @default true - */ - force?: boolean; - /** - * Modifiers for copy operation. See `mode` flag of {@link copyFileSync()} - */ - mode?: number; - /** - * When `true` timestamps from `src` will - * be preserved. - * @default false - */ - preserveTimestamps?: boolean; - /** - * Copy directories recursively. - * @default false - */ - recursive?: boolean; - /** - * When true, path resolution for symlinks will be skipped - * @default false - */ - verbatimSymlinks?: boolean; - } - export interface CopyOptions extends CopyOptionsBase { - /** - * Function to filter copied files/directories. Return - * `true` to copy the item, `false` to ignore it. - */ - filter?(source: string, destination: string): boolean | Promise; - } - export interface CopySyncOptions extends CopyOptionsBase { - /** - * Function to filter copied files/directories. Return - * `true` to copy the item, `false` to ignore it. - */ - filter?(source: string, destination: string): boolean; - } - /** - * Asynchronously copies the entire directory structure from `src` to `dest`, - * including subdirectories and files. - * - * When copying a directory to another directory, globs are not supported and - * behavior is similar to `cp dir1/ dir2/`. - * @since v16.7.0 - * @experimental - * @param src source path to copy. - * @param dest destination path to copy to. - */ - export function cp( - source: string | URL, - destination: string | URL, - callback: (err: NodeJS.ErrnoException | null) => void, - ): void; - export function cp( - source: string | URL, - destination: string | URL, - opts: CopyOptions, - callback: (err: NodeJS.ErrnoException | null) => void, - ): void; - /** - * Synchronously copies the entire directory structure from `src` to `dest`, - * including subdirectories and files. - * - * When copying a directory to another directory, globs are not supported and - * behavior is similar to `cp dir1/ dir2/`. - * @since v16.7.0 - * @experimental - * @param src source path to copy. - * @param dest destination path to copy to. - */ - export function cpSync(source: string | URL, destination: string | URL, opts?: CopySyncOptions): void; -} -declare module "node:fs" { - export * from "fs"; -} diff --git a/node_modules/@types/node/fs/promises.d.ts b/node_modules/@types/node/fs/promises.d.ts deleted file mode 100644 index 88a9fc3..0000000 --- a/node_modules/@types/node/fs/promises.d.ts +++ /dev/null @@ -1,1239 +0,0 @@ -/** - * The `fs/promises` API provides asynchronous file system methods that return - * promises. - * - * The promise APIs use the underlying Node.js threadpool to perform file - * system operations off the event loop thread. These operations are not - * synchronized or threadsafe. Care must be taken when performing multiple - * concurrent modifications on the same file or data corruption may occur. - * @since v10.0.0 - */ -declare module "fs/promises" { - import { Abortable } from "node:events"; - import { Stream } from "node:stream"; - import { ReadableStream } from "node:stream/web"; - import { - BigIntStats, - BigIntStatsFs, - BufferEncodingOption, - constants as fsConstants, - CopyOptions, - Dir, - Dirent, - MakeDirectoryOptions, - Mode, - ObjectEncodingOptions, - OpenDirOptions, - OpenMode, - PathLike, - ReadStream, - ReadVResult, - RmDirOptions, - RmOptions, - StatFsOptions, - StatOptions, - Stats, - StatsFs, - TimeLike, - WatchEventType, - WatchOptions, - WriteStream, - WriteVResult, - } from "node:fs"; - import { Interface as ReadlineInterface } from "node:readline"; - interface FileChangeInfo { - eventType: WatchEventType; - filename: T | null; - } - interface FlagAndOpenMode { - mode?: Mode | undefined; - flag?: OpenMode | undefined; - } - interface FileReadResult { - bytesRead: number; - buffer: T; - } - interface FileReadOptions { - /** - * @default `Buffer.alloc(0xffff)` - */ - buffer?: T; - /** - * @default 0 - */ - offset?: number | null; - /** - * @default `buffer.byteLength` - */ - length?: number | null; - position?: number | null; - } - interface CreateReadStreamOptions { - encoding?: BufferEncoding | null | undefined; - autoClose?: boolean | undefined; - emitClose?: boolean | undefined; - start?: number | undefined; - end?: number | undefined; - highWaterMark?: number | undefined; - } - interface CreateWriteStreamOptions { - encoding?: BufferEncoding | null | undefined; - autoClose?: boolean | undefined; - emitClose?: boolean | undefined; - start?: number | undefined; - highWaterMark?: number | undefined; - flush?: boolean | undefined; - } - interface ReadableWebStreamOptions { - /** - * Whether to open a normal or a `'bytes'` stream. - * @since v20.0.0 - */ - type?: "bytes" | undefined; - } - // TODO: Add `EventEmitter` close - interface FileHandle { - /** - * The numeric file descriptor managed by the {FileHandle} object. - * @since v10.0.0 - */ - readonly fd: number; - /** - * Alias of `filehandle.writeFile()`. - * - * When operating on file handles, the mode cannot be changed from what it was set - * to with `fsPromises.open()`. Therefore, this is equivalent to `filehandle.writeFile()`. - * @since v10.0.0 - * @return Fulfills with `undefined` upon success. - */ - appendFile( - data: string | Uint8Array, - options?: - | (ObjectEncodingOptions & FlagAndOpenMode & { flush?: boolean | undefined }) - | BufferEncoding - | null, - ): Promise; - /** - * Changes the ownership of the file. A wrapper for [`chown(2)`](http://man7.org/linux/man-pages/man2/chown.2.html). - * @since v10.0.0 - * @param uid The file's new owner's user id. - * @param gid The file's new group's group id. - * @return Fulfills with `undefined` upon success. - */ - chown(uid: number, gid: number): Promise; - /** - * Modifies the permissions on the file. See [`chmod(2)`](http://man7.org/linux/man-pages/man2/chmod.2.html). - * @since v10.0.0 - * @param mode the file mode bit mask. - * @return Fulfills with `undefined` upon success. - */ - chmod(mode: Mode): Promise; - /** - * Unlike the 16 KiB default `highWaterMark` for a `stream.Readable`, the stream - * returned by this method has a default `highWaterMark` of 64 KiB. - * - * `options` can include `start` and `end` values to read a range of bytes from - * the file instead of the entire file. Both `start` and `end` are inclusive and - * start counting at 0, allowed values are in the - * \[0, [`Number.MAX_SAFE_INTEGER`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/MAX_SAFE_INTEGER)\] range. If `start` is - * omitted or `undefined`, `filehandle.createReadStream()` reads sequentially from - * the current file position. The `encoding` can be any one of those accepted by `Buffer`. - * - * If the `FileHandle` points to a character device that only supports blocking - * reads (such as keyboard or sound card), read operations do not finish until data - * is available. This can prevent the process from exiting and the stream from - * closing naturally. - * - * By default, the stream will emit a `'close'` event after it has been - * destroyed. Set the `emitClose` option to `false` to change this behavior. - * - * ```js - * import { open } from 'node:fs/promises'; - * - * const fd = await open('/dev/input/event0'); - * // Create a stream from some character device. - * const stream = fd.createReadStream(); - * setTimeout(() => { - * stream.close(); // This may not close the stream. - * // Artificially marking end-of-stream, as if the underlying resource had - * // indicated end-of-file by itself, allows the stream to close. - * // This does not cancel pending read operations, and if there is such an - * // operation, the process may still not be able to exit successfully - * // until it finishes. - * stream.push(null); - * stream.read(0); - * }, 100); - * ``` - * - * If `autoClose` is false, then the file descriptor won't be closed, even if - * there's an error. It is the application's responsibility to close it and make - * sure there's no file descriptor leak. If `autoClose` is set to true (default - * behavior), on `'error'` or `'end'` the file descriptor will be closed - * automatically. - * - * An example to read the last 10 bytes of a file which is 100 bytes long: - * - * ```js - * import { open } from 'node:fs/promises'; - * - * const fd = await open('sample.txt'); - * fd.createReadStream({ start: 90, end: 99 }); - * ``` - * @since v16.11.0 - */ - createReadStream(options?: CreateReadStreamOptions): ReadStream; - /** - * `options` may also include a `start` option to allow writing data at some - * position past the beginning of the file, allowed values are in the - * \[0, [`Number.MAX_SAFE_INTEGER`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/MAX_SAFE_INTEGER)\] range. Modifying a file rather than - * replacing it may require the `flags` `open` option to be set to `r+` rather than - * the default `r`. The `encoding` can be any one of those accepted by `Buffer`. - * - * If `autoClose` is set to true (default behavior) on `'error'` or `'finish'`the file descriptor will be closed automatically. If `autoClose` is false, - * then the file descriptor won't be closed, even if there's an error. - * It is the application's responsibility to close it and make sure there's no - * file descriptor leak. - * - * By default, the stream will emit a `'close'` event after it has been - * destroyed. Set the `emitClose` option to `false` to change this behavior. - * @since v16.11.0 - */ - createWriteStream(options?: CreateWriteStreamOptions): WriteStream; - /** - * Forces all currently queued I/O operations associated with the file to the - * operating system's synchronized I/O completion state. Refer to the POSIX [`fdatasync(2)`](http://man7.org/linux/man-pages/man2/fdatasync.2.html) documentation for details. - * - * Unlike `filehandle.sync` this method does not flush modified metadata. - * @since v10.0.0 - * @return Fulfills with `undefined` upon success. - */ - datasync(): Promise; - /** - * Request that all data for the open file descriptor is flushed to the storage - * device. The specific implementation is operating system and device specific. - * Refer to the POSIX [`fsync(2)`](http://man7.org/linux/man-pages/man2/fsync.2.html) documentation for more detail. - * @since v10.0.0 - * @return Fulfills with `undefined` upon success. - */ - sync(): Promise; - /** - * Reads data from the file and stores that in the given buffer. - * - * If the file is not modified concurrently, the end-of-file is reached when the - * number of bytes read is zero. - * @since v10.0.0 - * @param buffer A buffer that will be filled with the file data read. - * @param offset The location in the buffer at which to start filling. - * @param length The number of bytes to read. - * @param position The location where to begin reading data from the file. If `null`, data will be read from the current file position, and the position will be updated. If `position` is an - * integer, the current file position will remain unchanged. - * @return Fulfills upon success with an object with two properties: - */ - read( - buffer: T, - offset?: number | null, - length?: number | null, - position?: number | null, - ): Promise>; - read(options?: FileReadOptions): Promise>; - /** - * Returns a `ReadableStream` that may be used to read the files data. - * - * An error will be thrown if this method is called more than once or is called - * after the `FileHandle` is closed or closing. - * - * ```js - * import { - * open, - * } from 'node:fs/promises'; - * - * const file = await open('./some/file/to/read'); - * - * for await (const chunk of file.readableWebStream()) - * console.log(chunk); - * - * await file.close(); - * ``` - * - * While the `ReadableStream` will read the file to completion, it will not - * close the `FileHandle` automatically. User code must still call the`fileHandle.close()` method. - * @since v17.0.0 - * @experimental - */ - readableWebStream(options?: ReadableWebStreamOptions): ReadableStream; - /** - * Asynchronously reads the entire contents of a file. - * - * If `options` is a string, then it specifies the `encoding`. - * - * The `FileHandle` has to support reading. - * - * If one or more `filehandle.read()` calls are made on a file handle and then a`filehandle.readFile()` call is made, the data will be read from the current - * position till the end of the file. It doesn't always read from the beginning - * of the file. - * @since v10.0.0 - * @return Fulfills upon a successful read with the contents of the file. If no encoding is specified (using `options.encoding`), the data is returned as a {Buffer} object. Otherwise, the - * data will be a string. - */ - readFile( - options?: { - encoding?: null | undefined; - flag?: OpenMode | undefined; - } | null, - ): Promise; - /** - * Asynchronously reads the entire contents of a file. The underlying file will _not_ be closed automatically. - * The `FileHandle` must have been opened for reading. - * @param options An object that may contain an optional flag. - * If a flag is not provided, it defaults to `'r'`. - */ - readFile( - options: - | { - encoding: BufferEncoding; - flag?: OpenMode | undefined; - } - | BufferEncoding, - ): Promise; - /** - * Asynchronously reads the entire contents of a file. The underlying file will _not_ be closed automatically. - * The `FileHandle` must have been opened for reading. - * @param options An object that may contain an optional flag. - * If a flag is not provided, it defaults to `'r'`. - */ - readFile( - options?: - | (ObjectEncodingOptions & { - flag?: OpenMode | undefined; - }) - | BufferEncoding - | null, - ): Promise; - /** - * Convenience method to create a `readline` interface and stream over the file. - * See `filehandle.createReadStream()` for the options. - * - * ```js - * import { open } from 'node:fs/promises'; - * - * const file = await open('./some/file/to/read'); - * - * for await (const line of file.readLines()) { - * console.log(line); - * } - * ``` - * @since v18.11.0 - */ - readLines(options?: CreateReadStreamOptions): ReadlineInterface; - /** - * @since v10.0.0 - * @return Fulfills with an {fs.Stats} for the file. - */ - stat( - opts?: StatOptions & { - bigint?: false | undefined; - }, - ): Promise; - stat( - opts: StatOptions & { - bigint: true; - }, - ): Promise; - stat(opts?: StatOptions): Promise; - /** - * Truncates the file. - * - * If the file was larger than `len` bytes, only the first `len` bytes will be - * retained in the file. - * - * The following example retains only the first four bytes of the file: - * - * ```js - * import { open } from 'node:fs/promises'; - * - * let filehandle = null; - * try { - * filehandle = await open('temp.txt', 'r+'); - * await filehandle.truncate(4); - * } finally { - * await filehandle?.close(); - * } - * ``` - * - * If the file previously was shorter than `len` bytes, it is extended, and the - * extended part is filled with null bytes (`'\0'`): - * - * If `len` is negative then `0` will be used. - * @since v10.0.0 - * @param [len=0] - * @return Fulfills with `undefined` upon success. - */ - truncate(len?: number): Promise; - /** - * Change the file system timestamps of the object referenced by the `FileHandle` then fulfills the promise with no arguments upon success. - * @since v10.0.0 - */ - utimes(atime: TimeLike, mtime: TimeLike): Promise; - /** - * Asynchronously writes data to a file, replacing the file if it already exists.`data` can be a string, a buffer, an - * [AsyncIterable](https://tc39.github.io/ecma262/#sec-asynciterable-interface), or an - * [Iterable](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols#The_iterable_protocol) object. - * The promise is fulfilled with no arguments upon success. - * - * If `options` is a string, then it specifies the `encoding`. - * - * The `FileHandle` has to support writing. - * - * It is unsafe to use `filehandle.writeFile()` multiple times on the same file - * without waiting for the promise to be fulfilled (or rejected). - * - * If one or more `filehandle.write()` calls are made on a file handle and then a`filehandle.writeFile()` call is made, the data will be written from the - * current position till the end of the file. It doesn't always write from the - * beginning of the file. - * @since v10.0.0 - */ - writeFile( - data: string | Uint8Array, - options?: - | (ObjectEncodingOptions & FlagAndOpenMode & Abortable & { flush?: boolean | undefined }) - | BufferEncoding - | null, - ): Promise; - /** - * Write `buffer` to the file. - * - * The promise is fulfilled with an object containing two properties: - * - * It is unsafe to use `filehandle.write()` multiple times on the same file - * without waiting for the promise to be fulfilled (or rejected). For this - * scenario, use `filehandle.createWriteStream()`. - * - * On Linux, positional writes do not work when the file is opened in append mode. - * The kernel ignores the position argument and always appends the data to - * the end of the file. - * @since v10.0.0 - * @param offset The start position from within `buffer` where the data to write begins. - * @param [length=buffer.byteLength - offset] The number of bytes from `buffer` to write. - * @param [position='null'] The offset from the beginning of the file where the data from `buffer` should be written. If `position` is not a `number`, the data will be written at the current - * position. See the POSIX pwrite(2) documentation for more detail. - */ - write( - buffer: TBuffer, - offset?: number | null, - length?: number | null, - position?: number | null, - ): Promise<{ - bytesWritten: number; - buffer: TBuffer; - }>; - write( - data: string, - position?: number | null, - encoding?: BufferEncoding | null, - ): Promise<{ - bytesWritten: number; - buffer: string; - }>; - /** - * Write an array of [ArrayBufferView](https://developer.mozilla.org/en-US/docs/Web/API/ArrayBufferView) s to the file. - * - * The promise is fulfilled with an object containing a two properties: - * - * It is unsafe to call `writev()` multiple times on the same file without waiting - * for the promise to be fulfilled (or rejected). - * - * On Linux, positional writes don't work when the file is opened in append mode. - * The kernel ignores the position argument and always appends the data to - * the end of the file. - * @since v12.9.0 - * @param [position='null'] The offset from the beginning of the file where the data from `buffers` should be written. If `position` is not a `number`, the data will be written at the current - * position. - */ - writev(buffers: readonly NodeJS.ArrayBufferView[], position?: number): Promise; - /** - * Read from a file and write to an array of [ArrayBufferView](https://developer.mozilla.org/en-US/docs/Web/API/ArrayBufferView) s - * @since v13.13.0, v12.17.0 - * @param [position='null'] The offset from the beginning of the file where the data should be read from. If `position` is not a `number`, the data will be read from the current position. - * @return Fulfills upon success an object containing two properties: - */ - readv(buffers: readonly NodeJS.ArrayBufferView[], position?: number): Promise; - /** - * Closes the file handle after waiting for any pending operation on the handle to - * complete. - * - * ```js - * import { open } from 'node:fs/promises'; - * - * let filehandle; - * try { - * filehandle = await open('thefile.txt', 'r'); - * } finally { - * await filehandle?.close(); - * } - * ``` - * @since v10.0.0 - * @return Fulfills with `undefined` upon success. - */ - close(): Promise; - /** - * An alias for {@link FileHandle.close()}. - * @since v20.4.0 - */ - [Symbol.asyncDispose](): Promise; - } - const constants: typeof fsConstants; - /** - * Tests a user's permissions for the file or directory specified by `path`. - * The `mode` argument is an optional integer that specifies the accessibility - * checks to be performed. `mode` should be either the value `fs.constants.F_OK`or a mask consisting of the bitwise OR of any of `fs.constants.R_OK`,`fs.constants.W_OK`, and `fs.constants.X_OK` - * (e.g.`fs.constants.W_OK | fs.constants.R_OK`). Check `File access constants` for - * possible values of `mode`. - * - * If the accessibility check is successful, the promise is fulfilled with no - * value. If any of the accessibility checks fail, the promise is rejected - * with an [Error](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Error) object. The following example checks if the file`/etc/passwd` can be read and - * written by the current process. - * - * ```js - * import { access, constants } from 'node:fs/promises'; - * - * try { - * await access('/etc/passwd', constants.R_OK | constants.W_OK); - * console.log('can access'); - * } catch { - * console.error('cannot access'); - * } - * ``` - * - * Using `fsPromises.access()` to check for the accessibility of a file before - * calling `fsPromises.open()` is not recommended. Doing so introduces a race - * condition, since other processes may change the file's state between the two - * calls. Instead, user code should open/read/write the file directly and handle - * the error raised if the file is not accessible. - * @since v10.0.0 - * @param [mode=fs.constants.F_OK] - * @return Fulfills with `undefined` upon success. - */ - function access(path: PathLike, mode?: number): Promise; - /** - * Asynchronously copies `src` to `dest`. By default, `dest` is overwritten if it - * already exists. - * - * No guarantees are made about the atomicity of the copy operation. If an - * error occurs after the destination file has been opened for writing, an attempt - * will be made to remove the destination. - * - * ```js - * import { copyFile, constants } from 'node:fs/promises'; - * - * try { - * await copyFile('source.txt', 'destination.txt'); - * console.log('source.txt was copied to destination.txt'); - * } catch { - * console.error('The file could not be copied'); - * } - * - * // By using COPYFILE_EXCL, the operation will fail if destination.txt exists. - * try { - * await copyFile('source.txt', 'destination.txt', constants.COPYFILE_EXCL); - * console.log('source.txt was copied to destination.txt'); - * } catch { - * console.error('The file could not be copied'); - * } - * ``` - * @since v10.0.0 - * @param src source filename to copy - * @param dest destination filename of the copy operation - * @param [mode=0] Optional modifiers that specify the behavior of the copy operation. It is possible to create a mask consisting of the bitwise OR of two or more values (e.g. - * `fs.constants.COPYFILE_EXCL | fs.constants.COPYFILE_FICLONE`) - * @return Fulfills with `undefined` upon success. - */ - function copyFile(src: PathLike, dest: PathLike, mode?: number): Promise; - /** - * Opens a `FileHandle`. - * - * Refer to the POSIX [`open(2)`](http://man7.org/linux/man-pages/man2/open.2.html) documentation for more detail. - * - * Some characters (`< > : " / \ | ? *`) are reserved under Windows as documented - * by [Naming Files, Paths, and Namespaces](https://docs.microsoft.com/en-us/windows/desktop/FileIO/naming-a-file). Under NTFS, if the filename contains - * a colon, Node.js will open a file system stream, as described by [this MSDN page](https://docs.microsoft.com/en-us/windows/desktop/FileIO/using-streams). - * @since v10.0.0 - * @param [flags='r'] See `support of file system `flags``. - * @param [mode=0o666] Sets the file mode (permission and sticky bits) if the file is created. - * @return Fulfills with a {FileHandle} object. - */ - function open(path: PathLike, flags?: string | number, mode?: Mode): Promise; - /** - * Renames `oldPath` to `newPath`. - * @since v10.0.0 - * @return Fulfills with `undefined` upon success. - */ - function rename(oldPath: PathLike, newPath: PathLike): Promise; - /** - * Truncates (shortens or extends the length) of the content at `path` to `len`bytes. - * @since v10.0.0 - * @param [len=0] - * @return Fulfills with `undefined` upon success. - */ - function truncate(path: PathLike, len?: number): Promise; - /** - * Removes the directory identified by `path`. - * - * Using `fsPromises.rmdir()` on a file (not a directory) results in the - * promise being rejected with an `ENOENT` error on Windows and an `ENOTDIR`error on POSIX. - * - * To get a behavior similar to the `rm -rf` Unix command, use `fsPromises.rm()` with options `{ recursive: true, force: true }`. - * @since v10.0.0 - * @return Fulfills with `undefined` upon success. - */ - function rmdir(path: PathLike, options?: RmDirOptions): Promise; - /** - * Removes files and directories (modeled on the standard POSIX `rm` utility). - * @since v14.14.0 - * @return Fulfills with `undefined` upon success. - */ - function rm(path: PathLike, options?: RmOptions): Promise; - /** - * Asynchronously creates a directory. - * - * The optional `options` argument can be an integer specifying `mode` (permission - * and sticky bits), or an object with a `mode` property and a `recursive`property indicating whether parent directories should be created. Calling`fsPromises.mkdir()` when `path` is a directory - * that exists results in a - * rejection only when `recursive` is false. - * - * ```js - * import { mkdir } from 'node:fs/promises'; - * - * try { - * const projectFolder = new URL('./test/project/', import.meta.url); - * const createDir = await mkdir(projectFolder, { recursive: true }); - * - * console.log(`created ${createDir}`); - * } catch (err) { - * console.error(err.message); - * } - * ``` - * @since v10.0.0 - * @return Upon success, fulfills with `undefined` if `recursive` is `false`, or the first directory path created if `recursive` is `true`. - */ - function mkdir( - path: PathLike, - options: MakeDirectoryOptions & { - recursive: true; - }, - ): Promise; - /** - * Asynchronous mkdir(2) - create a directory. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param options Either the file mode, or an object optionally specifying the file mode and whether parent folders - * should be created. If a string is passed, it is parsed as an octal integer. If not specified, defaults to `0o777`. - */ - function mkdir( - path: PathLike, - options?: - | Mode - | (MakeDirectoryOptions & { - recursive?: false | undefined; - }) - | null, - ): Promise; - /** - * Asynchronous mkdir(2) - create a directory. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param options Either the file mode, or an object optionally specifying the file mode and whether parent folders - * should be created. If a string is passed, it is parsed as an octal integer. If not specified, defaults to `0o777`. - */ - function mkdir(path: PathLike, options?: Mode | MakeDirectoryOptions | null): Promise; - /** - * Reads the contents of a directory. - * - * The optional `options` argument can be a string specifying an encoding, or an - * object with an `encoding` property specifying the character encoding to use for - * the filenames. If the `encoding` is set to `'buffer'`, the filenames returned - * will be passed as `Buffer` objects. - * - * If `options.withFileTypes` is set to `true`, the returned array will contain `fs.Dirent` objects. - * - * ```js - * import { readdir } from 'node:fs/promises'; - * - * try { - * const files = await readdir(path); - * for (const file of files) - * console.log(file); - * } catch (err) { - * console.error(err); - * } - * ``` - * @since v10.0.0 - * @return Fulfills with an array of the names of the files in the directory excluding `'.'` and `'..'`. - */ - function readdir( - path: PathLike, - options?: - | (ObjectEncodingOptions & { - withFileTypes?: false | undefined; - recursive?: boolean | undefined; - }) - | BufferEncoding - | null, - ): Promise; - /** - * Asynchronous readdir(3) - read a directory. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. - */ - function readdir( - path: PathLike, - options: - | { - encoding: "buffer"; - withFileTypes?: false | undefined; - recursive?: boolean | undefined; - } - | "buffer", - ): Promise; - /** - * Asynchronous readdir(3) - read a directory. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. - */ - function readdir( - path: PathLike, - options?: - | (ObjectEncodingOptions & { - withFileTypes?: false | undefined; - recursive?: boolean | undefined; - }) - | BufferEncoding - | null, - ): Promise; - /** - * Asynchronous readdir(3) - read a directory. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param options If called with `withFileTypes: true` the result data will be an array of Dirent. - */ - function readdir( - path: PathLike, - options: ObjectEncodingOptions & { - withFileTypes: true; - recursive?: boolean | undefined; - }, - ): Promise; - /** - * Reads the contents of the symbolic link referred to by `path`. See the POSIX [`readlink(2)`](http://man7.org/linux/man-pages/man2/readlink.2.html) documentation for more detail. The promise is - * fulfilled with the`linkString` upon success. - * - * The optional `options` argument can be a string specifying an encoding, or an - * object with an `encoding` property specifying the character encoding to use for - * the link path returned. If the `encoding` is set to `'buffer'`, the link path - * returned will be passed as a `Buffer` object. - * @since v10.0.0 - * @return Fulfills with the `linkString` upon success. - */ - function readlink(path: PathLike, options?: ObjectEncodingOptions | BufferEncoding | null): Promise; - /** - * Asynchronous readlink(2) - read value of a symbolic link. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. - */ - function readlink(path: PathLike, options: BufferEncodingOption): Promise; - /** - * Asynchronous readlink(2) - read value of a symbolic link. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. - */ - function readlink(path: PathLike, options?: ObjectEncodingOptions | string | null): Promise; - /** - * Creates a symbolic link. - * - * The `type` argument is only used on Windows platforms and can be one of `'dir'`,`'file'`, or `'junction'`. If the `type` argument is not a string, Node.js will - * autodetect `target` type and use `'file'` or `'dir'`. If the `target` does not - * exist, `'file'` will be used. Windows junction points require the destination - * path to be absolute. When using `'junction'`, the `target` argument will - * automatically be normalized to absolute path. Junction points on NTFS volumes - * can only point to directories. - * @since v10.0.0 - * @param [type='null'] - * @return Fulfills with `undefined` upon success. - */ - function symlink(target: PathLike, path: PathLike, type?: string | null): Promise; - /** - * Equivalent to `fsPromises.stat()` unless `path` refers to a symbolic link, - * in which case the link itself is stat-ed, not the file that it refers to. - * Refer to the POSIX [`lstat(2)`](http://man7.org/linux/man-pages/man2/lstat.2.html) document for more detail. - * @since v10.0.0 - * @return Fulfills with the {fs.Stats} object for the given symbolic link `path`. - */ - function lstat( - path: PathLike, - opts?: StatOptions & { - bigint?: false | undefined; - }, - ): Promise; - function lstat( - path: PathLike, - opts: StatOptions & { - bigint: true; - }, - ): Promise; - function lstat(path: PathLike, opts?: StatOptions): Promise; - /** - * @since v10.0.0 - * @return Fulfills with the {fs.Stats} object for the given `path`. - */ - function stat( - path: PathLike, - opts?: StatOptions & { - bigint?: false | undefined; - }, - ): Promise; - function stat( - path: PathLike, - opts: StatOptions & { - bigint: true; - }, - ): Promise; - function stat(path: PathLike, opts?: StatOptions): Promise; - /** - * @since v19.6.0, v18.15.0 - * @return Fulfills with the {fs.StatFs} object for the given `path`. - */ - function statfs( - path: PathLike, - opts?: StatFsOptions & { - bigint?: false | undefined; - }, - ): Promise; - function statfs( - path: PathLike, - opts: StatFsOptions & { - bigint: true; - }, - ): Promise; - function statfs(path: PathLike, opts?: StatFsOptions): Promise; - /** - * Creates a new link from the `existingPath` to the `newPath`. See the POSIX [`link(2)`](http://man7.org/linux/man-pages/man2/link.2.html) documentation for more detail. - * @since v10.0.0 - * @return Fulfills with `undefined` upon success. - */ - function link(existingPath: PathLike, newPath: PathLike): Promise; - /** - * If `path` refers to a symbolic link, then the link is removed without affecting - * the file or directory to which that link refers. If the `path` refers to a file - * path that is not a symbolic link, the file is deleted. See the POSIX [`unlink(2)`](http://man7.org/linux/man-pages/man2/unlink.2.html) documentation for more detail. - * @since v10.0.0 - * @return Fulfills with `undefined` upon success. - */ - function unlink(path: PathLike): Promise; - /** - * Changes the permissions of a file. - * @since v10.0.0 - * @return Fulfills with `undefined` upon success. - */ - function chmod(path: PathLike, mode: Mode): Promise; - /** - * Changes the permissions on a symbolic link. - * - * This method is only implemented on macOS. - * @deprecated Since v10.0.0 - * @return Fulfills with `undefined` upon success. - */ - function lchmod(path: PathLike, mode: Mode): Promise; - /** - * Changes the ownership on a symbolic link. - * @since v10.0.0 - * @return Fulfills with `undefined` upon success. - */ - function lchown(path: PathLike, uid: number, gid: number): Promise; - /** - * Changes the access and modification times of a file in the same way as `fsPromises.utimes()`, with the difference that if the path refers to a - * symbolic link, then the link is not dereferenced: instead, the timestamps of - * the symbolic link itself are changed. - * @since v14.5.0, v12.19.0 - * @return Fulfills with `undefined` upon success. - */ - function lutimes(path: PathLike, atime: TimeLike, mtime: TimeLike): Promise; - /** - * Changes the ownership of a file. - * @since v10.0.0 - * @return Fulfills with `undefined` upon success. - */ - function chown(path: PathLike, uid: number, gid: number): Promise; - /** - * Change the file system timestamps of the object referenced by `path`. - * - * The `atime` and `mtime` arguments follow these rules: - * - * * Values can be either numbers representing Unix epoch time, `Date`s, or a - * numeric string like `'123456789.0'`. - * * If the value can not be converted to a number, or is `NaN`, `Infinity`, or`-Infinity`, an `Error` will be thrown. - * @since v10.0.0 - * @return Fulfills with `undefined` upon success. - */ - function utimes(path: PathLike, atime: TimeLike, mtime: TimeLike): Promise; - /** - * Determines the actual location of `path` using the same semantics as the`fs.realpath.native()` function. - * - * Only paths that can be converted to UTF8 strings are supported. - * - * The optional `options` argument can be a string specifying an encoding, or an - * object with an `encoding` property specifying the character encoding to use for - * the path. If the `encoding` is set to `'buffer'`, the path returned will be - * passed as a `Buffer` object. - * - * On Linux, when Node.js is linked against musl libc, the procfs file system must - * be mounted on `/proc` in order for this function to work. Glibc does not have - * this restriction. - * @since v10.0.0 - * @return Fulfills with the resolved path upon success. - */ - function realpath(path: PathLike, options?: ObjectEncodingOptions | BufferEncoding | null): Promise; - /** - * Asynchronous realpath(3) - return the canonicalized absolute pathname. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. - */ - function realpath(path: PathLike, options: BufferEncodingOption): Promise; - /** - * Asynchronous realpath(3) - return the canonicalized absolute pathname. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. - */ - function realpath( - path: PathLike, - options?: ObjectEncodingOptions | BufferEncoding | null, - ): Promise; - /** - * Creates a unique temporary directory. A unique directory name is generated by - * appending six random characters to the end of the provided `prefix`. Due to - * platform inconsistencies, avoid trailing `X` characters in `prefix`. Some - * platforms, notably the BSDs, can return more than six random characters, and - * replace trailing `X` characters in `prefix` with random characters. - * - * The optional `options` argument can be a string specifying an encoding, or an - * object with an `encoding` property specifying the character encoding to use. - * - * ```js - * import { mkdtemp } from 'node:fs/promises'; - * import { join } from 'node:path'; - * import { tmpdir } from 'node:os'; - * - * try { - * await mkdtemp(join(tmpdir(), 'foo-')); - * } catch (err) { - * console.error(err); - * } - * ``` - * - * The `fsPromises.mkdtemp()` method will append the six randomly selected - * characters directly to the `prefix` string. For instance, given a directory`/tmp`, if the intention is to create a temporary directory _within_`/tmp`, the`prefix` must end with a trailing - * platform-specific path separator - * (`require('node:path').sep`). - * @since v10.0.0 - * @return Fulfills with a string containing the file system path of the newly created temporary directory. - */ - function mkdtemp(prefix: string, options?: ObjectEncodingOptions | BufferEncoding | null): Promise; - /** - * Asynchronously creates a unique temporary directory. - * Generates six random characters to be appended behind a required `prefix` to create a unique temporary directory. - * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. - */ - function mkdtemp(prefix: string, options: BufferEncodingOption): Promise; - /** - * Asynchronously creates a unique temporary directory. - * Generates six random characters to be appended behind a required `prefix` to create a unique temporary directory. - * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. - */ - function mkdtemp(prefix: string, options?: ObjectEncodingOptions | BufferEncoding | null): Promise; - /** - * Asynchronously writes data to a file, replacing the file if it already exists.`data` can be a string, a buffer, an - * [AsyncIterable](https://tc39.github.io/ecma262/#sec-asynciterable-interface), or an - * [Iterable](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols#The_iterable_protocol) object. - * - * The `encoding` option is ignored if `data` is a buffer. - * - * If `options` is a string, then it specifies the encoding. - * - * The `mode` option only affects the newly created file. See `fs.open()` for more details. - * - * Any specified `FileHandle` has to support writing. - * - * It is unsafe to use `fsPromises.writeFile()` multiple times on the same file - * without waiting for the promise to be settled. - * - * Similarly to `fsPromises.readFile` \- `fsPromises.writeFile` is a convenience - * method that performs multiple `write` calls internally to write the buffer - * passed to it. For performance sensitive code consider using `fs.createWriteStream()` or `filehandle.createWriteStream()`. - * - * It is possible to use an `AbortSignal` to cancel an `fsPromises.writeFile()`. - * Cancelation is "best effort", and some amount of data is likely still - * to be written. - * - * ```js - * import { writeFile } from 'node:fs/promises'; - * import { Buffer } from 'node:buffer'; - * - * try { - * const controller = new AbortController(); - * const { signal } = controller; - * const data = new Uint8Array(Buffer.from('Hello Node.js')); - * const promise = writeFile('message.txt', data, { signal }); - * - * // Abort the request before the promise settles. - * controller.abort(); - * - * await promise; - * } catch (err) { - * // When a request is aborted - err is an AbortError - * console.error(err); - * } - * ``` - * - * Aborting an ongoing request does not abort individual operating - * system requests but rather the internal buffering `fs.writeFile` performs. - * @since v10.0.0 - * @param file filename or `FileHandle` - * @return Fulfills with `undefined` upon success. - */ - function writeFile( - file: PathLike | FileHandle, - data: - | string - | NodeJS.ArrayBufferView - | Iterable - | AsyncIterable - | Stream, - options?: - | (ObjectEncodingOptions & { - mode?: Mode | undefined; - flag?: OpenMode | undefined; - } & Abortable) - | BufferEncoding - | null, - ): Promise; - /** - * Asynchronously append data to a file, creating the file if it does not yet - * exist. `data` can be a string or a `Buffer`. - * - * If `options` is a string, then it specifies the `encoding`. - * - * The `mode` option only affects the newly created file. See `fs.open()` for more details. - * - * The `path` may be specified as a `FileHandle` that has been opened - * for appending (using `fsPromises.open()`). - * @since v10.0.0 - * @param path filename or {FileHandle} - * @return Fulfills with `undefined` upon success. - */ - function appendFile( - path: PathLike | FileHandle, - data: string | Uint8Array, - options?: (ObjectEncodingOptions & FlagAndOpenMode & { flush?: boolean | undefined }) | BufferEncoding | null, - ): Promise; - /** - * Asynchronously reads the entire contents of a file. - * - * If no encoding is specified (using `options.encoding`), the data is returned - * as a `Buffer` object. Otherwise, the data will be a string. - * - * If `options` is a string, then it specifies the encoding. - * - * When the `path` is a directory, the behavior of `fsPromises.readFile()` is - * platform-specific. On macOS, Linux, and Windows, the promise will be rejected - * with an error. On FreeBSD, a representation of the directory's contents will be - * returned. - * - * An example of reading a `package.json` file located in the same directory of the - * running code: - * - * ```js - * import { readFile } from 'node:fs/promises'; - * try { - * const filePath = new URL('./package.json', import.meta.url); - * const contents = await readFile(filePath, { encoding: 'utf8' }); - * console.log(contents); - * } catch (err) { - * console.error(err.message); - * } - * ``` - * - * It is possible to abort an ongoing `readFile` using an `AbortSignal`. If a - * request is aborted the promise returned is rejected with an `AbortError`: - * - * ```js - * import { readFile } from 'node:fs/promises'; - * - * try { - * const controller = new AbortController(); - * const { signal } = controller; - * const promise = readFile(fileName, { signal }); - * - * // Abort the request before the promise settles. - * controller.abort(); - * - * await promise; - * } catch (err) { - * // When a request is aborted - err is an AbortError - * console.error(err); - * } - * ``` - * - * Aborting an ongoing request does not abort individual operating - * system requests but rather the internal buffering `fs.readFile` performs. - * - * Any specified `FileHandle` has to support reading. - * @since v10.0.0 - * @param path filename or `FileHandle` - * @return Fulfills with the contents of the file. - */ - function readFile( - path: PathLike | FileHandle, - options?: - | ({ - encoding?: null | undefined; - flag?: OpenMode | undefined; - } & Abortable) - | null, - ): Promise; - /** - * Asynchronously reads the entire contents of a file. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * If a `FileHandle` is provided, the underlying file will _not_ be closed automatically. - * @param options An object that may contain an optional flag. - * If a flag is not provided, it defaults to `'r'`. - */ - function readFile( - path: PathLike | FileHandle, - options: - | ({ - encoding: BufferEncoding; - flag?: OpenMode | undefined; - } & Abortable) - | BufferEncoding, - ): Promise; - /** - * Asynchronously reads the entire contents of a file. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * If a `FileHandle` is provided, the underlying file will _not_ be closed automatically. - * @param options An object that may contain an optional flag. - * If a flag is not provided, it defaults to `'r'`. - */ - function readFile( - path: PathLike | FileHandle, - options?: - | ( - & ObjectEncodingOptions - & Abortable - & { - flag?: OpenMode | undefined; - } - ) - | BufferEncoding - | null, - ): Promise; - /** - * Asynchronously open a directory for iterative scanning. See the POSIX [`opendir(3)`](http://man7.org/linux/man-pages/man3/opendir.3.html) documentation for more detail. - * - * Creates an `fs.Dir`, which contains all further functions for reading from - * and cleaning up the directory. - * - * The `encoding` option sets the encoding for the `path` while opening the - * directory and subsequent read operations. - * - * Example using async iteration: - * - * ```js - * import { opendir } from 'node:fs/promises'; - * - * try { - * const dir = await opendir('./'); - * for await (const dirent of dir) - * console.log(dirent.name); - * } catch (err) { - * console.error(err); - * } - * ``` - * - * When using the async iterator, the `fs.Dir` object will be automatically - * closed after the iterator exits. - * @since v12.12.0 - * @return Fulfills with an {fs.Dir}. - */ - function opendir(path: PathLike, options?: OpenDirOptions): Promise; - /** - * Returns an async iterator that watches for changes on `filename`, where `filename`is either a file or a directory. - * - * ```js - * const { watch } = require('node:fs/promises'); - * - * const ac = new AbortController(); - * const { signal } = ac; - * setTimeout(() => ac.abort(), 10000); - * - * (async () => { - * try { - * const watcher = watch(__filename, { signal }); - * for await (const event of watcher) - * console.log(event); - * } catch (err) { - * if (err.name === 'AbortError') - * return; - * throw err; - * } - * })(); - * ``` - * - * On most platforms, `'rename'` is emitted whenever a filename appears or - * disappears in the directory. - * - * All the `caveats` for `fs.watch()` also apply to `fsPromises.watch()`. - * @since v15.9.0, v14.18.0 - * @return of objects with the properties: - */ - function watch( - filename: PathLike, - options: - | (WatchOptions & { - encoding: "buffer"; - }) - | "buffer", - ): AsyncIterable>; - /** - * Watch for changes on `filename`, where `filename` is either a file or a directory, returning an `FSWatcher`. - * @param filename A path to a file or directory. If a URL is provided, it must use the `file:` protocol. - * @param options Either the encoding for the filename provided to the listener, or an object optionally specifying encoding, persistent, and recursive options. - * If `encoding` is not supplied, the default of `'utf8'` is used. - * If `persistent` is not supplied, the default of `true` is used. - * If `recursive` is not supplied, the default of `false` is used. - */ - function watch(filename: PathLike, options?: WatchOptions | BufferEncoding): AsyncIterable>; - /** - * Watch for changes on `filename`, where `filename` is either a file or a directory, returning an `FSWatcher`. - * @param filename A path to a file or directory. If a URL is provided, it must use the `file:` protocol. - * @param options Either the encoding for the filename provided to the listener, or an object optionally specifying encoding, persistent, and recursive options. - * If `encoding` is not supplied, the default of `'utf8'` is used. - * If `persistent` is not supplied, the default of `true` is used. - * If `recursive` is not supplied, the default of `false` is used. - */ - function watch( - filename: PathLike, - options: WatchOptions | string, - ): AsyncIterable> | AsyncIterable>; - /** - * Asynchronously copies the entire directory structure from `src` to `dest`, - * including subdirectories and files. - * - * When copying a directory to another directory, globs are not supported and - * behavior is similar to `cp dir1/ dir2/`. - * @since v16.7.0 - * @experimental - * @param src source path to copy. - * @param dest destination path to copy to. - * @return Fulfills with `undefined` upon success. - */ - function cp(source: string | URL, destination: string | URL, opts?: CopyOptions): Promise; -} -declare module "node:fs/promises" { - export * from "fs/promises"; -} diff --git a/node_modules/@types/node/globals.d.ts b/node_modules/@types/node/globals.d.ts deleted file mode 100644 index 5f25006..0000000 --- a/node_modules/@types/node/globals.d.ts +++ /dev/null @@ -1,411 +0,0 @@ -export {}; // Make this a module - -// #region Fetch and friends -// Conditional type aliases, used at the end of this file. -// Will either be empty if lib-dom is included, or the undici version otherwise. -type _Request = typeof globalThis extends { onmessage: any } ? {} : import("undici-types").Request; -type _Response = typeof globalThis extends { onmessage: any } ? {} : import("undici-types").Response; -type _FormData = typeof globalThis extends { onmessage: any } ? {} : import("undici-types").FormData; -type _Headers = typeof globalThis extends { onmessage: any } ? {} : import("undici-types").Headers; -type _RequestInit = typeof globalThis extends { onmessage: any } ? {} - : import("undici-types").RequestInit; -type _ResponseInit = typeof globalThis extends { onmessage: any } ? {} - : import("undici-types").ResponseInit; -type _File = typeof globalThis extends { onmessage: any } ? {} : import("node:buffer").File; -// #endregion Fetch and friends - -declare global { - // Declare "static" methods in Error - interface ErrorConstructor { - /** Create .stack property on a target object */ - captureStackTrace(targetObject: object, constructorOpt?: Function): void; - - /** - * Optional override for formatting stack traces - * - * @see https://v8.dev/docs/stack-trace-api#customizing-stack-traces - */ - prepareStackTrace?: ((err: Error, stackTraces: NodeJS.CallSite[]) => any) | undefined; - - stackTraceLimit: number; - } - - /*-----------------------------------------------* - * * - * GLOBAL * - * * - ------------------------------------------------*/ - - // For backwards compability - interface NodeRequire extends NodeJS.Require {} - interface RequireResolve extends NodeJS.RequireResolve {} - interface NodeModule extends NodeJS.Module {} - - var process: NodeJS.Process; - var console: Console; - - var __filename: string; - var __dirname: string; - - var require: NodeRequire; - var module: NodeModule; - - // Same as module.exports - var exports: any; - - /** - * Only available if `--expose-gc` is passed to the process. - */ - var gc: undefined | (() => void); - - // #region borrowed - // from https://github.com/microsoft/TypeScript/blob/38da7c600c83e7b31193a62495239a0fe478cb67/lib/lib.webworker.d.ts#L633 until moved to separate lib - /** A controller object that allows you to abort one or more DOM requests as and when desired. */ - interface AbortController { - /** - * Returns the AbortSignal object associated with this object. - */ - - readonly signal: AbortSignal; - /** - * Invoking this method will set this object's AbortSignal's aborted flag and signal to any observers that the associated activity is to be aborted. - */ - abort(reason?: any): void; - } - - /** A signal object that allows you to communicate with a DOM request (such as a Fetch) and abort it if required via an AbortController object. */ - interface AbortSignal extends EventTarget { - /** - * Returns true if this AbortSignal's AbortController has signaled to abort, and false otherwise. - */ - readonly aborted: boolean; - readonly reason: any; - onabort: null | ((this: AbortSignal, event: Event) => any); - throwIfAborted(): void; - } - - var AbortController: typeof globalThis extends { onmessage: any; AbortController: infer T } ? T - : { - prototype: AbortController; - new(): AbortController; - }; - - var AbortSignal: typeof globalThis extends { onmessage: any; AbortSignal: infer T } ? T - : { - prototype: AbortSignal; - new(): AbortSignal; - abort(reason?: any): AbortSignal; - timeout(milliseconds: number): AbortSignal; - }; - // #endregion borrowed - - // #region Disposable - interface SymbolConstructor { - /** - * A method that is used to release resources held by an object. Called by the semantics of the `using` statement. - */ - readonly dispose: unique symbol; - - /** - * A method that is used to asynchronously release resources held by an object. Called by the semantics of the `await using` statement. - */ - readonly asyncDispose: unique symbol; - } - - interface Disposable { - [Symbol.dispose](): void; - } - - interface AsyncDisposable { - [Symbol.asyncDispose](): PromiseLike; - } - // #endregion Disposable - - // #region ArrayLike.at() - interface RelativeIndexable { - /** - * Takes an integer value and returns the item at that index, - * allowing for positive and negative integers. - * Negative integers count back from the last item in the array. - */ - at(index: number): T | undefined; - } - interface String extends RelativeIndexable {} - interface Array extends RelativeIndexable {} - interface ReadonlyArray extends RelativeIndexable {} - interface Int8Array extends RelativeIndexable {} - interface Uint8Array extends RelativeIndexable {} - interface Uint8ClampedArray extends RelativeIndexable {} - interface Int16Array extends RelativeIndexable {} - interface Uint16Array extends RelativeIndexable {} - interface Int32Array extends RelativeIndexable {} - interface Uint32Array extends RelativeIndexable {} - interface Float32Array extends RelativeIndexable {} - interface Float64Array extends RelativeIndexable {} - interface BigInt64Array extends RelativeIndexable {} - interface BigUint64Array extends RelativeIndexable {} - // #endregion ArrayLike.at() end - - /** - * @since v17.0.0 - * - * Creates a deep clone of an object. - */ - function structuredClone( - value: T, - transfer?: { transfer: ReadonlyArray }, - ): T; - - /*----------------------------------------------* - * * - * GLOBAL INTERFACES * - * * - *-----------------------------------------------*/ - namespace NodeJS { - interface CallSite { - /** - * Value of "this" - */ - getThis(): unknown; - - /** - * Type of "this" as a string. - * This is the name of the function stored in the constructor field of - * "this", if available. Otherwise the object's [[Class]] internal - * property. - */ - getTypeName(): string | null; - - /** - * Current function - */ - getFunction(): Function | undefined; - - /** - * Name of the current function, typically its name property. - * If a name property is not available an attempt will be made to try - * to infer a name from the function's context. - */ - getFunctionName(): string | null; - - /** - * Name of the property [of "this" or one of its prototypes] that holds - * the current function - */ - getMethodName(): string | null; - - /** - * Name of the script [if this function was defined in a script] - */ - getFileName(): string | undefined; - - /** - * Current line number [if this function was defined in a script] - */ - getLineNumber(): number | null; - - /** - * Current column number [if this function was defined in a script] - */ - getColumnNumber(): number | null; - - /** - * A call site object representing the location where eval was called - * [if this function was created using a call to eval] - */ - getEvalOrigin(): string | undefined; - - /** - * Is this a toplevel invocation, that is, is "this" the global object? - */ - isToplevel(): boolean; - - /** - * Does this call take place in code defined by a call to eval? - */ - isEval(): boolean; - - /** - * Is this call in native V8 code? - */ - isNative(): boolean; - - /** - * Is this a constructor call? - */ - isConstructor(): boolean; - - /** - * is this an async call (i.e. await, Promise.all(), or Promise.any())? - */ - isAsync(): boolean; - - /** - * is this an async call to Promise.all()? - */ - isPromiseAll(): boolean; - - /** - * returns the index of the promise element that was followed in - * Promise.all() or Promise.any() for async stack traces, or null - * if the CallSite is not an async - */ - getPromiseIndex(): number | null; - - getScriptNameOrSourceURL(): string; - getScriptHash(): string; - - getEnclosingColumnNumber(): number; - getEnclosingLineNumber(): number; - getPosition(): number; - - toString(): string; - } - - interface ErrnoException extends Error { - errno?: number | undefined; - code?: string | undefined; - path?: string | undefined; - syscall?: string | undefined; - } - - interface ReadableStream extends EventEmitter { - readable: boolean; - read(size?: number): string | Buffer; - setEncoding(encoding: BufferEncoding): this; - pause(): this; - resume(): this; - isPaused(): boolean; - pipe(destination: T, options?: { end?: boolean | undefined }): T; - unpipe(destination?: WritableStream): this; - unshift(chunk: string | Uint8Array, encoding?: BufferEncoding): void; - wrap(oldStream: ReadableStream): this; - [Symbol.asyncIterator](): AsyncIterableIterator; - } - - interface WritableStream extends EventEmitter { - writable: boolean; - write(buffer: Uint8Array | string, cb?: (err?: Error | null) => void): boolean; - write(str: string, encoding?: BufferEncoding, cb?: (err?: Error | null) => void): boolean; - end(cb?: () => void): this; - end(data: string | Uint8Array, cb?: () => void): this; - end(str: string, encoding?: BufferEncoding, cb?: () => void): this; - } - - interface ReadWriteStream extends ReadableStream, WritableStream {} - - interface RefCounted { - ref(): this; - unref(): this; - } - - type TypedArray = - | Uint8Array - | Uint8ClampedArray - | Uint16Array - | Uint32Array - | Int8Array - | Int16Array - | Int32Array - | BigUint64Array - | BigInt64Array - | Float32Array - | Float64Array; - type ArrayBufferView = TypedArray | DataView; - - interface Require { - (id: string): any; - resolve: RequireResolve; - cache: Dict; - /** - * @deprecated - */ - extensions: RequireExtensions; - main: Module | undefined; - } - - interface RequireResolve { - (id: string, options?: { paths?: string[] | undefined }): string; - paths(request: string): string[] | null; - } - - interface RequireExtensions extends Dict<(m: Module, filename: string) => any> { - ".js": (m: Module, filename: string) => any; - ".json": (m: Module, filename: string) => any; - ".node": (m: Module, filename: string) => any; - } - interface Module { - /** - * `true` if the module is running during the Node.js preload - */ - isPreloading: boolean; - exports: any; - require: Require; - id: string; - filename: string; - loaded: boolean; - /** @deprecated since v14.6.0 Please use `require.main` and `module.children` instead. */ - parent: Module | null | undefined; - children: Module[]; - /** - * @since v11.14.0 - * - * The directory name of the module. This is usually the same as the path.dirname() of the module.id. - */ - path: string; - paths: string[]; - } - - interface Dict { - [key: string]: T | undefined; - } - - interface ReadOnlyDict { - readonly [key: string]: T | undefined; - } - } - - interface RequestInit extends _RequestInit {} - - function fetch( - input: string | URL | globalThis.Request, - init?: RequestInit, - ): Promise; - - interface Request extends _Request {} - var Request: typeof globalThis extends { - onmessage: any; - Request: infer T; - } ? T - : typeof import("undici-types").Request; - - interface ResponseInit extends _ResponseInit {} - - interface Response extends _Response {} - var Response: typeof globalThis extends { - onmessage: any; - Response: infer T; - } ? T - : typeof import("undici-types").Response; - - interface FormData extends _FormData {} - var FormData: typeof globalThis extends { - onmessage: any; - FormData: infer T; - } ? T - : typeof import("undici-types").FormData; - - interface Headers extends _Headers {} - var Headers: typeof globalThis extends { - onmessage: any; - Headers: infer T; - } ? T - : typeof import("undici-types").Headers; - - interface File extends _File {} - var File: typeof globalThis extends { - onmessage: any; - File: infer T; - } ? T - : typeof import("node:buffer").File; -} diff --git a/node_modules/@types/node/globals.global.d.ts b/node_modules/@types/node/globals.global.d.ts deleted file mode 100644 index ef1198c..0000000 --- a/node_modules/@types/node/globals.global.d.ts +++ /dev/null @@ -1 +0,0 @@ -declare var global: typeof globalThis; diff --git a/node_modules/@types/node/http.d.ts b/node_modules/@types/node/http.d.ts deleted file mode 100644 index 98479fc..0000000 --- a/node_modules/@types/node/http.d.ts +++ /dev/null @@ -1,1889 +0,0 @@ -/** - * To use the HTTP server and client one must `require('node:http')`. - * - * The HTTP interfaces in Node.js are designed to support many features - * of the protocol which have been traditionally difficult to use. - * In particular, large, possibly chunk-encoded, messages. The interface is - * careful to never buffer entire requests or responses, so the - * user is able to stream data. - * - * HTTP message headers are represented by an object like this: - * - * ```json - * { "content-length": "123", - * "content-type": "text/plain", - * "connection": "keep-alive", - * "host": "example.com", - * "accept": "*" } - * ``` - * - * Keys are lowercased. Values are not modified. - * - * In order to support the full spectrum of possible HTTP applications, the Node.js - * HTTP API is very low-level. It deals with stream handling and message - * parsing only. It parses a message into headers and body but it does not - * parse the actual headers or the body. - * - * See `message.headers` for details on how duplicate headers are handled. - * - * The raw headers as they were received are retained in the `rawHeaders`property, which is an array of `[key, value, key2, value2, ...]`. For - * example, the previous message header object might have a `rawHeaders`list like the following: - * - * ```js - * [ 'ConTent-Length', '123456', - * 'content-LENGTH', '123', - * 'content-type', 'text/plain', - * 'CONNECTION', 'keep-alive', - * 'Host', 'example.com', - * 'accepT', '*' ] - * ``` - * @see [source](https://github.com/nodejs/node/blob/v20.2.0/lib/http.js) - */ -declare module "http" { - import * as stream from "node:stream"; - import { URL } from "node:url"; - import { LookupOptions } from "node:dns"; - import { EventEmitter } from "node:events"; - import { LookupFunction, Server as NetServer, Socket, TcpSocketConnectOpts } from "node:net"; - // incoming headers will never contain number - interface IncomingHttpHeaders extends NodeJS.Dict { - accept?: string | undefined; - "accept-language"?: string | undefined; - "accept-patch"?: string | undefined; - "accept-ranges"?: string | undefined; - "access-control-allow-credentials"?: string | undefined; - "access-control-allow-headers"?: string | undefined; - "access-control-allow-methods"?: string | undefined; - "access-control-allow-origin"?: string | undefined; - "access-control-expose-headers"?: string | undefined; - "access-control-max-age"?: string | undefined; - "access-control-request-headers"?: string | undefined; - "access-control-request-method"?: string | undefined; - age?: string | undefined; - allow?: string | undefined; - "alt-svc"?: string | undefined; - authorization?: string | undefined; - "cache-control"?: string | undefined; - connection?: string | undefined; - "content-disposition"?: string | undefined; - "content-encoding"?: string | undefined; - "content-language"?: string | undefined; - "content-length"?: string | undefined; - "content-location"?: string | undefined; - "content-range"?: string | undefined; - "content-type"?: string | undefined; - cookie?: string | undefined; - date?: string | undefined; - etag?: string | undefined; - expect?: string | undefined; - expires?: string | undefined; - forwarded?: string | undefined; - from?: string | undefined; - host?: string | undefined; - "if-match"?: string | undefined; - "if-modified-since"?: string | undefined; - "if-none-match"?: string | undefined; - "if-unmodified-since"?: string | undefined; - "last-modified"?: string | undefined; - location?: string | undefined; - origin?: string | undefined; - pragma?: string | undefined; - "proxy-authenticate"?: string | undefined; - "proxy-authorization"?: string | undefined; - "public-key-pins"?: string | undefined; - range?: string | undefined; - referer?: string | undefined; - "retry-after"?: string | undefined; - "sec-websocket-accept"?: string | undefined; - "sec-websocket-extensions"?: string | undefined; - "sec-websocket-key"?: string | undefined; - "sec-websocket-protocol"?: string | undefined; - "sec-websocket-version"?: string | undefined; - "set-cookie"?: string[] | undefined; - "strict-transport-security"?: string | undefined; - tk?: string | undefined; - trailer?: string | undefined; - "transfer-encoding"?: string | undefined; - upgrade?: string | undefined; - "user-agent"?: string | undefined; - vary?: string | undefined; - via?: string | undefined; - warning?: string | undefined; - "www-authenticate"?: string | undefined; - } - // outgoing headers allows numbers (as they are converted internally to strings) - type OutgoingHttpHeader = number | string | string[]; - interface OutgoingHttpHeaders extends NodeJS.Dict { - accept?: string | string[] | undefined; - "accept-charset"?: string | string[] | undefined; - "accept-encoding"?: string | string[] | undefined; - "accept-language"?: string | string[] | undefined; - "accept-ranges"?: string | undefined; - "access-control-allow-credentials"?: string | undefined; - "access-control-allow-headers"?: string | undefined; - "access-control-allow-methods"?: string | undefined; - "access-control-allow-origin"?: string | undefined; - "access-control-expose-headers"?: string | undefined; - "access-control-max-age"?: string | undefined; - "access-control-request-headers"?: string | undefined; - "access-control-request-method"?: string | undefined; - age?: string | undefined; - allow?: string | undefined; - authorization?: string | undefined; - "cache-control"?: string | undefined; - "cdn-cache-control"?: string | undefined; - connection?: string | string[] | undefined; - "content-disposition"?: string | undefined; - "content-encoding"?: string | undefined; - "content-language"?: string | undefined; - "content-length"?: string | number | undefined; - "content-location"?: string | undefined; - "content-range"?: string | undefined; - "content-security-policy"?: string | undefined; - "content-security-policy-report-only"?: string | undefined; - cookie?: string | string[] | undefined; - dav?: string | string[] | undefined; - dnt?: string | undefined; - date?: string | undefined; - etag?: string | undefined; - expect?: string | undefined; - expires?: string | undefined; - forwarded?: string | undefined; - from?: string | undefined; - host?: string | undefined; - "if-match"?: string | undefined; - "if-modified-since"?: string | undefined; - "if-none-match"?: string | undefined; - "if-range"?: string | undefined; - "if-unmodified-since"?: string | undefined; - "last-modified"?: string | undefined; - link?: string | string[] | undefined; - location?: string | undefined; - "max-forwards"?: string | undefined; - origin?: string | undefined; - prgama?: string | string[] | undefined; - "proxy-authenticate"?: string | string[] | undefined; - "proxy-authorization"?: string | undefined; - "public-key-pins"?: string | undefined; - "public-key-pins-report-only"?: string | undefined; - range?: string | undefined; - referer?: string | undefined; - "referrer-policy"?: string | undefined; - refresh?: string | undefined; - "retry-after"?: string | undefined; - "sec-websocket-accept"?: string | undefined; - "sec-websocket-extensions"?: string | string[] | undefined; - "sec-websocket-key"?: string | undefined; - "sec-websocket-protocol"?: string | string[] | undefined; - "sec-websocket-version"?: string | undefined; - server?: string | undefined; - "set-cookie"?: string | string[] | undefined; - "strict-transport-security"?: string | undefined; - te?: string | undefined; - trailer?: string | undefined; - "transfer-encoding"?: string | undefined; - "user-agent"?: string | undefined; - upgrade?: string | undefined; - "upgrade-insecure-requests"?: string | undefined; - vary?: string | undefined; - via?: string | string[] | undefined; - warning?: string | undefined; - "www-authenticate"?: string | string[] | undefined; - "x-content-type-options"?: string | undefined; - "x-dns-prefetch-control"?: string | undefined; - "x-frame-options"?: string | undefined; - "x-xss-protection"?: string | undefined; - } - interface ClientRequestArgs { - _defaultAgent?: Agent | undefined; - agent?: Agent | boolean | undefined; - auth?: string | null | undefined; - createConnection?: - | (( - options: ClientRequestArgs, - oncreate: (err: Error | null, socket: stream.Duplex) => void, - ) => stream.Duplex | null | undefined) - | undefined; - defaultPort?: number | string | undefined; - family?: number | undefined; - headers?: OutgoingHttpHeaders | undefined; - hints?: LookupOptions["hints"]; - host?: string | null | undefined; - hostname?: string | null | undefined; - insecureHTTPParser?: boolean | undefined; - localAddress?: string | undefined; - localPort?: number | undefined; - lookup?: LookupFunction | undefined; - /** - * @default 16384 - */ - maxHeaderSize?: number | undefined; - method?: string | undefined; - path?: string | null | undefined; - port?: number | string | null | undefined; - protocol?: string | null | undefined; - setHost?: boolean | undefined; - signal?: AbortSignal | undefined; - socketPath?: string | undefined; - timeout?: number | undefined; - uniqueHeaders?: Array | undefined; - joinDuplicateHeaders?: boolean; - } - interface ServerOptions< - Request extends typeof IncomingMessage = typeof IncomingMessage, - Response extends typeof ServerResponse = typeof ServerResponse, - > { - /** - * Specifies the `IncomingMessage` class to be used. Useful for extending the original `IncomingMessage`. - */ - IncomingMessage?: Request | undefined; - /** - * Specifies the `ServerResponse` class to be used. Useful for extending the original `ServerResponse`. - */ - ServerResponse?: Response | undefined; - /** - * Sets the timeout value in milliseconds for receiving the entire request from the client. - * @see Server.requestTimeout for more information. - * @default 300000 - * @since v18.0.0 - */ - requestTimeout?: number | undefined; - /** - * It joins the field line values of multiple headers in a request with `, ` instead of discarding the duplicates. - * @default false - * @since v18.14.0 - */ - joinDuplicateHeaders?: boolean; - /** - * The number of milliseconds of inactivity a server needs to wait for additional incoming data, - * after it has finished writing the last response, before a socket will be destroyed. - * @see Server.keepAliveTimeout for more information. - * @default 5000 - * @since v18.0.0 - */ - keepAliveTimeout?: number | undefined; - /** - * Sets the interval value in milliseconds to check for request and headers timeout in incomplete requests. - * @default 30000 - */ - connectionsCheckingInterval?: number | undefined; - /** - * Optionally overrides all `socket`s' `readableHighWaterMark` and `writableHighWaterMark`. - * This affects `highWaterMark` property of both `IncomingMessage` and `ServerResponse`. - * Default: @see stream.getDefaultHighWaterMark(). - * @since v20.1.0 - */ - highWaterMark?: number | undefined; - /** - * Use an insecure HTTP parser that accepts invalid HTTP headers when `true`. - * Using the insecure parser should be avoided. - * See --insecure-http-parser for more information. - * @default false - */ - insecureHTTPParser?: boolean | undefined; - /** - * Optionally overrides the value of - * `--max-http-header-size` for requests received by this server, i.e. - * the maximum length of request headers in bytes. - * @default 16384 - * @since v13.3.0 - */ - maxHeaderSize?: number | undefined; - /** - * If set to `true`, it disables the use of Nagle's algorithm immediately after a new incoming connection is received. - * @default true - * @since v16.5.0 - */ - noDelay?: boolean | undefined; - /** - * If set to `true`, it enables keep-alive functionality on the socket immediately after a new incoming connection is received, - * similarly on what is done in `socket.setKeepAlive([enable][, initialDelay])`. - * @default false - * @since v16.5.0 - */ - keepAlive?: boolean | undefined; - /** - * If set to a positive number, it sets the initial delay before the first keepalive probe is sent on an idle socket. - * @default 0 - * @since v16.5.0 - */ - keepAliveInitialDelay?: number | undefined; - /** - * A list of response headers that should be sent only once. - * If the header's value is an array, the items will be joined using `; `. - */ - uniqueHeaders?: Array | undefined; - } - type RequestListener< - Request extends typeof IncomingMessage = typeof IncomingMessage, - Response extends typeof ServerResponse = typeof ServerResponse, - > = (req: InstanceType, res: InstanceType & { req: InstanceType }) => void; - /** - * @since v0.1.17 - */ - class Server< - Request extends typeof IncomingMessage = typeof IncomingMessage, - Response extends typeof ServerResponse = typeof ServerResponse, - > extends NetServer { - constructor(requestListener?: RequestListener); - constructor(options: ServerOptions, requestListener?: RequestListener); - /** - * Sets the timeout value for sockets, and emits a `'timeout'` event on - * the Server object, passing the socket as an argument, if a timeout - * occurs. - * - * If there is a `'timeout'` event listener on the Server object, then it - * will be called with the timed-out socket as an argument. - * - * By default, the Server does not timeout sockets. However, if a callback - * is assigned to the Server's `'timeout'` event, timeouts must be handled - * explicitly. - * @since v0.9.12 - * @param [msecs=0 (no timeout)] - */ - setTimeout(msecs?: number, callback?: () => void): this; - setTimeout(callback: () => void): this; - /** - * Limits maximum incoming headers count. If set to 0, no limit will be applied. - * @since v0.7.0 - */ - maxHeadersCount: number | null; - /** - * The maximum number of requests socket can handle - * before closing keep alive connection. - * - * A value of `0` will disable the limit. - * - * When the limit is reached it will set the `Connection` header value to `close`, - * but will not actually close the connection, subsequent requests sent - * after the limit is reached will get `503 Service Unavailable` as a response. - * @since v16.10.0 - */ - maxRequestsPerSocket: number | null; - /** - * The number of milliseconds of inactivity before a socket is presumed - * to have timed out. - * - * A value of `0` will disable the timeout behavior on incoming connections. - * - * The socket timeout logic is set up on connection, so changing this - * value only affects new connections to the server, not any existing connections. - * @since v0.9.12 - */ - timeout: number; - /** - * Limit the amount of time the parser will wait to receive the complete HTTP - * headers. - * - * If the timeout expires, the server responds with status 408 without - * forwarding the request to the request listener and then closes the connection. - * - * It must be set to a non-zero value (e.g. 120 seconds) to protect against - * potential Denial-of-Service attacks in case the server is deployed without a - * reverse proxy in front. - * @since v11.3.0, v10.14.0 - */ - headersTimeout: number; - /** - * The number of milliseconds of inactivity a server needs to wait for additional - * incoming data, after it has finished writing the last response, before a socket - * will be destroyed. If the server receives new data before the keep-alive - * timeout has fired, it will reset the regular inactivity timeout, i.e.,`server.timeout`. - * - * A value of `0` will disable the keep-alive timeout behavior on incoming - * connections. - * A value of `0` makes the http server behave similarly to Node.js versions prior - * to 8.0.0, which did not have a keep-alive timeout. - * - * The socket timeout logic is set up on connection, so changing this value only - * affects new connections to the server, not any existing connections. - * @since v8.0.0 - */ - keepAliveTimeout: number; - /** - * Sets the timeout value in milliseconds for receiving the entire request from - * the client. - * - * If the timeout expires, the server responds with status 408 without - * forwarding the request to the request listener and then closes the connection. - * - * It must be set to a non-zero value (e.g. 120 seconds) to protect against - * potential Denial-of-Service attacks in case the server is deployed without a - * reverse proxy in front. - * @since v14.11.0 - */ - requestTimeout: number; - /** - * Closes all connections connected to this server. - * @since v18.2.0 - */ - closeAllConnections(): void; - /** - * Closes all connections connected to this server which are not sending a request - * or waiting for a response. - * @since v18.2.0 - */ - closeIdleConnections(): void; - addListener(event: string, listener: (...args: any[]) => void): this; - addListener(event: "close", listener: () => void): this; - addListener(event: "connection", listener: (socket: Socket) => void): this; - addListener(event: "error", listener: (err: Error) => void): this; - addListener(event: "listening", listener: () => void): this; - addListener(event: "checkContinue", listener: RequestListener): this; - addListener(event: "checkExpectation", listener: RequestListener): this; - addListener(event: "clientError", listener: (err: Error, socket: stream.Duplex) => void): this; - addListener( - event: "connect", - listener: (req: InstanceType, socket: stream.Duplex, head: Buffer) => void, - ): this; - addListener(event: "dropRequest", listener: (req: InstanceType, socket: stream.Duplex) => void): this; - addListener(event: "request", listener: RequestListener): this; - addListener( - event: "upgrade", - listener: (req: InstanceType, socket: stream.Duplex, head: Buffer) => void, - ): this; - emit(event: string, ...args: any[]): boolean; - emit(event: "close"): boolean; - emit(event: "connection", socket: Socket): boolean; - emit(event: "error", err: Error): boolean; - emit(event: "listening"): boolean; - emit( - event: "checkContinue", - req: InstanceType, - res: InstanceType & { req: InstanceType }, - ): boolean; - emit( - event: "checkExpectation", - req: InstanceType, - res: InstanceType & { req: InstanceType }, - ): boolean; - emit(event: "clientError", err: Error, socket: stream.Duplex): boolean; - emit(event: "connect", req: InstanceType, socket: stream.Duplex, head: Buffer): boolean; - emit(event: "dropRequest", req: InstanceType, socket: stream.Duplex): boolean; - emit( - event: "request", - req: InstanceType, - res: InstanceType & { req: InstanceType }, - ): boolean; - emit(event: "upgrade", req: InstanceType, socket: stream.Duplex, head: Buffer): boolean; - on(event: string, listener: (...args: any[]) => void): this; - on(event: "close", listener: () => void): this; - on(event: "connection", listener: (socket: Socket) => void): this; - on(event: "error", listener: (err: Error) => void): this; - on(event: "listening", listener: () => void): this; - on(event: "checkContinue", listener: RequestListener): this; - on(event: "checkExpectation", listener: RequestListener): this; - on(event: "clientError", listener: (err: Error, socket: stream.Duplex) => void): this; - on(event: "connect", listener: (req: InstanceType, socket: stream.Duplex, head: Buffer) => void): this; - on(event: "dropRequest", listener: (req: InstanceType, socket: stream.Duplex) => void): this; - on(event: "request", listener: RequestListener): this; - on(event: "upgrade", listener: (req: InstanceType, socket: stream.Duplex, head: Buffer) => void): this; - once(event: string, listener: (...args: any[]) => void): this; - once(event: "close", listener: () => void): this; - once(event: "connection", listener: (socket: Socket) => void): this; - once(event: "error", listener: (err: Error) => void): this; - once(event: "listening", listener: () => void): this; - once(event: "checkContinue", listener: RequestListener): this; - once(event: "checkExpectation", listener: RequestListener): this; - once(event: "clientError", listener: (err: Error, socket: stream.Duplex) => void): this; - once( - event: "connect", - listener: (req: InstanceType, socket: stream.Duplex, head: Buffer) => void, - ): this; - once(event: "dropRequest", listener: (req: InstanceType, socket: stream.Duplex) => void): this; - once(event: "request", listener: RequestListener): this; - once( - event: "upgrade", - listener: (req: InstanceType, socket: stream.Duplex, head: Buffer) => void, - ): this; - prependListener(event: string, listener: (...args: any[]) => void): this; - prependListener(event: "close", listener: () => void): this; - prependListener(event: "connection", listener: (socket: Socket) => void): this; - prependListener(event: "error", listener: (err: Error) => void): this; - prependListener(event: "listening", listener: () => void): this; - prependListener(event: "checkContinue", listener: RequestListener): this; - prependListener(event: "checkExpectation", listener: RequestListener): this; - prependListener(event: "clientError", listener: (err: Error, socket: stream.Duplex) => void): this; - prependListener( - event: "connect", - listener: (req: InstanceType, socket: stream.Duplex, head: Buffer) => void, - ): this; - prependListener( - event: "dropRequest", - listener: (req: InstanceType, socket: stream.Duplex) => void, - ): this; - prependListener(event: "request", listener: RequestListener): this; - prependListener( - event: "upgrade", - listener: (req: InstanceType, socket: stream.Duplex, head: Buffer) => void, - ): this; - prependOnceListener(event: string, listener: (...args: any[]) => void): this; - prependOnceListener(event: "close", listener: () => void): this; - prependOnceListener(event: "connection", listener: (socket: Socket) => void): this; - prependOnceListener(event: "error", listener: (err: Error) => void): this; - prependOnceListener(event: "listening", listener: () => void): this; - prependOnceListener(event: "checkContinue", listener: RequestListener): this; - prependOnceListener(event: "checkExpectation", listener: RequestListener): this; - prependOnceListener(event: "clientError", listener: (err: Error, socket: stream.Duplex) => void): this; - prependOnceListener( - event: "connect", - listener: (req: InstanceType, socket: stream.Duplex, head: Buffer) => void, - ): this; - prependOnceListener( - event: "dropRequest", - listener: (req: InstanceType, socket: stream.Duplex) => void, - ): this; - prependOnceListener(event: "request", listener: RequestListener): this; - prependOnceListener( - event: "upgrade", - listener: (req: InstanceType, socket: stream.Duplex, head: Buffer) => void, - ): this; - } - /** - * This class serves as the parent class of {@link ClientRequest} and {@link ServerResponse}. It is an abstract outgoing message from - * the perspective of the participants of an HTTP transaction. - * @since v0.1.17 - */ - class OutgoingMessage extends stream.Writable { - readonly req: Request; - chunkedEncoding: boolean; - shouldKeepAlive: boolean; - useChunkedEncodingByDefault: boolean; - sendDate: boolean; - /** - * @deprecated Use `writableEnded` instead. - */ - finished: boolean; - /** - * Read-only. `true` if the headers were sent, otherwise `false`. - * @since v0.9.3 - */ - readonly headersSent: boolean; - /** - * Alias of `outgoingMessage.socket`. - * @since v0.3.0 - * @deprecated Since v15.12.0,v14.17.1 - Use `socket` instead. - */ - readonly connection: Socket | null; - /** - * Reference to the underlying socket. Usually, users will not want to access - * this property. - * - * After calling `outgoingMessage.end()`, this property will be nulled. - * @since v0.3.0 - */ - readonly socket: Socket | null; - constructor(); - /** - * Once a socket is associated with the message and is connected,`socket.setTimeout()` will be called with `msecs` as the first parameter. - * @since v0.9.12 - * @param callback Optional function to be called when a timeout occurs. Same as binding to the `timeout` event. - */ - setTimeout(msecs: number, callback?: () => void): this; - /** - * Sets a single header value. If the header already exists in the to-be-sent - * headers, its value will be replaced. Use an array of strings to send multiple - * headers with the same name. - * @since v0.4.0 - * @param name Header name - * @param value Header value - */ - setHeader(name: string, value: number | string | readonly string[]): this; - /** - * Append a single header value for the header object. - * - * If the value is an array, this is equivalent of calling this method multiple - * times. - * - * If there were no previous value for the header, this is equivalent of calling `outgoingMessage.setHeader(name, value)`. - * - * Depending of the value of `options.uniqueHeaders` when the client request or the - * server were created, this will end up in the header being sent multiple times or - * a single time with values joined using `; `. - * @since v18.3.0, v16.17.0 - * @param name Header name - * @param value Header value - */ - appendHeader(name: string, value: string | readonly string[]): this; - /** - * Gets the value of the HTTP header with the given name. If that header is not - * set, the returned value will be `undefined`. - * @since v0.4.0 - * @param name Name of header - */ - getHeader(name: string): number | string | string[] | undefined; - /** - * Returns a shallow copy of the current outgoing headers. Since a shallow - * copy is used, array values may be mutated without additional calls to - * various header-related HTTP module methods. The keys of the returned - * object are the header names and the values are the respective header - * values. All header names are lowercase. - * - * The object returned by the `outgoingMessage.getHeaders()` method does - * not prototypically inherit from the JavaScript `Object`. This means that - * typical `Object` methods such as `obj.toString()`, `obj.hasOwnProperty()`, - * and others are not defined and will not work. - * - * ```js - * outgoingMessage.setHeader('Foo', 'bar'); - * outgoingMessage.setHeader('Set-Cookie', ['foo=bar', 'bar=baz']); - * - * const headers = outgoingMessage.getHeaders(); - * // headers === { foo: 'bar', 'set-cookie': ['foo=bar', 'bar=baz'] } - * ``` - * @since v7.7.0 - */ - getHeaders(): OutgoingHttpHeaders; - /** - * Returns an array containing the unique names of the current outgoing headers. - * All names are lowercase. - * @since v7.7.0 - */ - getHeaderNames(): string[]; - /** - * Returns `true` if the header identified by `name` is currently set in the - * outgoing headers. The header name is case-insensitive. - * - * ```js - * const hasContentType = outgoingMessage.hasHeader('content-type'); - * ``` - * @since v7.7.0 - */ - hasHeader(name: string): boolean; - /** - * Removes a header that is queued for implicit sending. - * - * ```js - * outgoingMessage.removeHeader('Content-Encoding'); - * ``` - * @since v0.4.0 - * @param name Header name - */ - removeHeader(name: string): void; - /** - * Adds HTTP trailers (headers but at the end of the message) to the message. - * - * Trailers will **only** be emitted if the message is chunked encoded. If not, - * the trailers will be silently discarded. - * - * HTTP requires the `Trailer` header to be sent to emit trailers, - * with a list of header field names in its value, e.g. - * - * ```js - * message.writeHead(200, { 'Content-Type': 'text/plain', - * 'Trailer': 'Content-MD5' }); - * message.write(fileData); - * message.addTrailers({ 'Content-MD5': '7895bf4b8828b55ceaf47747b4bca667' }); - * message.end(); - * ``` - * - * Attempting to set a header field name or value that contains invalid characters - * will result in a `TypeError` being thrown. - * @since v0.3.0 - */ - addTrailers(headers: OutgoingHttpHeaders | ReadonlyArray<[string, string]>): void; - /** - * Flushes the message headers. - * - * For efficiency reason, Node.js normally buffers the message headers - * until `outgoingMessage.end()` is called or the first chunk of message data - * is written. It then tries to pack the headers and data into a single TCP - * packet. - * - * It is usually desired (it saves a TCP round-trip), but not when the first - * data is not sent until possibly much later. `outgoingMessage.flushHeaders()`bypasses the optimization and kickstarts the message. - * @since v1.6.0 - */ - flushHeaders(): void; - } - /** - * This object is created internally by an HTTP server, not by the user. It is - * passed as the second parameter to the `'request'` event. - * @since v0.1.17 - */ - class ServerResponse extends OutgoingMessage { - /** - * When using implicit headers (not calling `response.writeHead()` explicitly), - * this property controls the status code that will be sent to the client when - * the headers get flushed. - * - * ```js - * response.statusCode = 404; - * ``` - * - * After response header was sent to the client, this property indicates the - * status code which was sent out. - * @since v0.4.0 - */ - statusCode: number; - /** - * When using implicit headers (not calling `response.writeHead()` explicitly), - * this property controls the status message that will be sent to the client when - * the headers get flushed. If this is left as `undefined` then the standard - * message for the status code will be used. - * - * ```js - * response.statusMessage = 'Not found'; - * ``` - * - * After response header was sent to the client, this property indicates the - * status message which was sent out. - * @since v0.11.8 - */ - statusMessage: string; - /** - * If set to `true`, Node.js will check whether the `Content-Length`header value and the size of the body, in bytes, are equal. - * Mismatching the `Content-Length` header value will result - * in an `Error` being thrown, identified by `code:``'ERR_HTTP_CONTENT_LENGTH_MISMATCH'`. - * @since v18.10.0, v16.18.0 - */ - strictContentLength: boolean; - constructor(req: Request); - assignSocket(socket: Socket): void; - detachSocket(socket: Socket): void; - /** - * Sends an HTTP/1.1 100 Continue message to the client, indicating that - * the request body should be sent. See the `'checkContinue'` event on`Server`. - * @since v0.3.0 - */ - writeContinue(callback?: () => void): void; - /** - * Sends an HTTP/1.1 103 Early Hints message to the client with a Link header, - * indicating that the user agent can preload/preconnect the linked resources. - * The `hints` is an object containing the values of headers to be sent with - * early hints message. The optional `callback` argument will be called when - * the response message has been written. - * - * **Example** - * - * ```js - * const earlyHintsLink = '; rel=preload; as=style'; - * response.writeEarlyHints({ - * 'link': earlyHintsLink, - * }); - * - * const earlyHintsLinks = [ - * '; rel=preload; as=style', - * '; rel=preload; as=script', - * ]; - * response.writeEarlyHints({ - * 'link': earlyHintsLinks, - * 'x-trace-id': 'id for diagnostics', - * }); - * - * const earlyHintsCallback = () => console.log('early hints message sent'); - * response.writeEarlyHints({ - * 'link': earlyHintsLinks, - * }, earlyHintsCallback); - * ``` - * @since v18.11.0 - * @param hints An object containing the values of headers - * @param callback Will be called when the response message has been written - */ - writeEarlyHints(hints: Record, callback?: () => void): void; - /** - * Sends a response header to the request. The status code is a 3-digit HTTP - * status code, like `404`. The last argument, `headers`, are the response headers. - * Optionally one can give a human-readable `statusMessage` as the second - * argument. - * - * `headers` may be an `Array` where the keys and values are in the same list. - * It is _not_ a list of tuples. So, the even-numbered offsets are key values, - * and the odd-numbered offsets are the associated values. The array is in the same - * format as `request.rawHeaders`. - * - * Returns a reference to the `ServerResponse`, so that calls can be chained. - * - * ```js - * const body = 'hello world'; - * response - * .writeHead(200, { - * 'Content-Length': Buffer.byteLength(body), - * 'Content-Type': 'text/plain', - * }) - * .end(body); - * ``` - * - * This method must only be called once on a message and it must - * be called before `response.end()` is called. - * - * If `response.write()` or `response.end()` are called before calling - * this, the implicit/mutable headers will be calculated and call this function. - * - * When headers have been set with `response.setHeader()`, they will be merged - * with any headers passed to `response.writeHead()`, with the headers passed - * to `response.writeHead()` given precedence. - * - * If this method is called and `response.setHeader()` has not been called, - * it will directly write the supplied header values onto the network channel - * without caching internally, and the `response.getHeader()` on the header - * will not yield the expected result. If progressive population of headers is - * desired with potential future retrieval and modification, use `response.setHeader()` instead. - * - * ```js - * // Returns content-type = text/plain - * const server = http.createServer((req, res) => { - * res.setHeader('Content-Type', 'text/html'); - * res.setHeader('X-Foo', 'bar'); - * res.writeHead(200, { 'Content-Type': 'text/plain' }); - * res.end('ok'); - * }); - * ``` - * - * `Content-Length` is read in bytes, not characters. Use `Buffer.byteLength()` to determine the length of the body in bytes. Node.js - * will check whether `Content-Length` and the length of the body which has - * been transmitted are equal or not. - * - * Attempting to set a header field name or value that contains invalid characters - * will result in a \[`Error`\]\[\] being thrown. - * @since v0.1.30 - */ - writeHead( - statusCode: number, - statusMessage?: string, - headers?: OutgoingHttpHeaders | OutgoingHttpHeader[], - ): this; - writeHead(statusCode: number, headers?: OutgoingHttpHeaders | OutgoingHttpHeader[]): this; - /** - * Sends a HTTP/1.1 102 Processing message to the client, indicating that - * the request body should be sent. - * @since v10.0.0 - */ - writeProcessing(): void; - } - interface InformationEvent { - statusCode: number; - statusMessage: string; - httpVersion: string; - httpVersionMajor: number; - httpVersionMinor: number; - headers: IncomingHttpHeaders; - rawHeaders: string[]; - } - /** - * This object is created internally and returned from {@link request}. It - * represents an _in-progress_ request whose header has already been queued. The - * header is still mutable using the `setHeader(name, value)`,`getHeader(name)`, `removeHeader(name)` API. The actual header will - * be sent along with the first data chunk or when calling `request.end()`. - * - * To get the response, add a listener for `'response'` to the request object.`'response'` will be emitted from the request object when the response - * headers have been received. The `'response'` event is executed with one - * argument which is an instance of {@link IncomingMessage}. - * - * During the `'response'` event, one can add listeners to the - * response object; particularly to listen for the `'data'` event. - * - * If no `'response'` handler is added, then the response will be - * entirely discarded. However, if a `'response'` event handler is added, - * then the data from the response object **must** be consumed, either by - * calling `response.read()` whenever there is a `'readable'` event, or - * by adding a `'data'` handler, or by calling the `.resume()` method. - * Until the data is consumed, the `'end'` event will not fire. Also, until - * the data is read it will consume memory that can eventually lead to a - * 'process out of memory' error. - * - * For backward compatibility, `res` will only emit `'error'` if there is an`'error'` listener registered. - * - * Set `Content-Length` header to limit the response body size. - * If `response.strictContentLength` is set to `true`, mismatching the`Content-Length` header value will result in an `Error` being thrown, - * identified by `code:``'ERR_HTTP_CONTENT_LENGTH_MISMATCH'`. - * - * `Content-Length` value should be in bytes, not characters. Use `Buffer.byteLength()` to determine the length of the body in bytes. - * @since v0.1.17 - */ - class ClientRequest extends OutgoingMessage { - /** - * The `request.aborted` property will be `true` if the request has - * been aborted. - * @since v0.11.14 - * @deprecated Since v17.0.0,v16.12.0 - Check `destroyed` instead. - */ - aborted: boolean; - /** - * The request host. - * @since v14.5.0, v12.19.0 - */ - host: string; - /** - * The request protocol. - * @since v14.5.0, v12.19.0 - */ - protocol: string; - /** - * When sending request through a keep-alive enabled agent, the underlying socket - * might be reused. But if server closes connection at unfortunate time, client - * may run into a 'ECONNRESET' error. - * - * ```js - * import http from 'node:http'; - * - * // Server has a 5 seconds keep-alive timeout by default - * http - * .createServer((req, res) => { - * res.write('hello\n'); - * res.end(); - * }) - * .listen(3000); - * - * setInterval(() => { - * // Adapting a keep-alive agent - * http.get('http://localhost:3000', { agent }, (res) => { - * res.on('data', (data) => { - * // Do nothing - * }); - * }); - * }, 5000); // Sending request on 5s interval so it's easy to hit idle timeout - * ``` - * - * By marking a request whether it reused socket or not, we can do - * automatic error retry base on it. - * - * ```js - * import http from 'node:http'; - * const agent = new http.Agent({ keepAlive: true }); - * - * function retriableRequest() { - * const req = http - * .get('http://localhost:3000', { agent }, (res) => { - * // ... - * }) - * .on('error', (err) => { - * // Check if retry is needed - * if (req.reusedSocket && err.code === 'ECONNRESET') { - * retriableRequest(); - * } - * }); - * } - * - * retriableRequest(); - * ``` - * @since v13.0.0, v12.16.0 - */ - reusedSocket: boolean; - /** - * Limits maximum response headers count. If set to 0, no limit will be applied. - */ - maxHeadersCount: number; - constructor(url: string | URL | ClientRequestArgs, cb?: (res: IncomingMessage) => void); - /** - * The request method. - * @since v0.1.97 - */ - method: string; - /** - * The request path. - * @since v0.4.0 - */ - path: string; - /** - * Marks the request as aborting. Calling this will cause remaining data - * in the response to be dropped and the socket to be destroyed. - * @since v0.3.8 - * @deprecated Since v14.1.0,v13.14.0 - Use `destroy` instead. - */ - abort(): void; - onSocket(socket: Socket): void; - /** - * Once a socket is assigned to this request and is connected `socket.setTimeout()` will be called. - * @since v0.5.9 - * @param timeout Milliseconds before a request times out. - * @param callback Optional function to be called when a timeout occurs. Same as binding to the `'timeout'` event. - */ - setTimeout(timeout: number, callback?: () => void): this; - /** - * Once a socket is assigned to this request and is connected `socket.setNoDelay()` will be called. - * @since v0.5.9 - */ - setNoDelay(noDelay?: boolean): void; - /** - * Once a socket is assigned to this request and is connected `socket.setKeepAlive()` will be called. - * @since v0.5.9 - */ - setSocketKeepAlive(enable?: boolean, initialDelay?: number): void; - /** - * Returns an array containing the unique names of the current outgoing raw - * headers. Header names are returned with their exact casing being set. - * - * ```js - * request.setHeader('Foo', 'bar'); - * request.setHeader('Set-Cookie', ['foo=bar', 'bar=baz']); - * - * const headerNames = request.getRawHeaderNames(); - * // headerNames === ['Foo', 'Set-Cookie'] - * ``` - * @since v15.13.0, v14.17.0 - */ - getRawHeaderNames(): string[]; - /** - * @deprecated - */ - addListener(event: "abort", listener: () => void): this; - addListener( - event: "connect", - listener: (response: IncomingMessage, socket: Socket, head: Buffer) => void, - ): this; - addListener(event: "continue", listener: () => void): this; - addListener(event: "information", listener: (info: InformationEvent) => void): this; - addListener(event: "response", listener: (response: IncomingMessage) => void): this; - addListener(event: "socket", listener: (socket: Socket) => void): this; - addListener(event: "timeout", listener: () => void): this; - addListener( - event: "upgrade", - listener: (response: IncomingMessage, socket: Socket, head: Buffer) => void, - ): this; - addListener(event: "close", listener: () => void): this; - addListener(event: "drain", listener: () => void): this; - addListener(event: "error", listener: (err: Error) => void): this; - addListener(event: "finish", listener: () => void): this; - addListener(event: "pipe", listener: (src: stream.Readable) => void): this; - addListener(event: "unpipe", listener: (src: stream.Readable) => void): this; - addListener(event: string | symbol, listener: (...args: any[]) => void): this; - /** - * @deprecated - */ - on(event: "abort", listener: () => void): this; - on(event: "connect", listener: (response: IncomingMessage, socket: Socket, head: Buffer) => void): this; - on(event: "continue", listener: () => void): this; - on(event: "information", listener: (info: InformationEvent) => void): this; - on(event: "response", listener: (response: IncomingMessage) => void): this; - on(event: "socket", listener: (socket: Socket) => void): this; - on(event: "timeout", listener: () => void): this; - on(event: "upgrade", listener: (response: IncomingMessage, socket: Socket, head: Buffer) => void): this; - on(event: "close", listener: () => void): this; - on(event: "drain", listener: () => void): this; - on(event: "error", listener: (err: Error) => void): this; - on(event: "finish", listener: () => void): this; - on(event: "pipe", listener: (src: stream.Readable) => void): this; - on(event: "unpipe", listener: (src: stream.Readable) => void): this; - on(event: string | symbol, listener: (...args: any[]) => void): this; - /** - * @deprecated - */ - once(event: "abort", listener: () => void): this; - once(event: "connect", listener: (response: IncomingMessage, socket: Socket, head: Buffer) => void): this; - once(event: "continue", listener: () => void): this; - once(event: "information", listener: (info: InformationEvent) => void): this; - once(event: "response", listener: (response: IncomingMessage) => void): this; - once(event: "socket", listener: (socket: Socket) => void): this; - once(event: "timeout", listener: () => void): this; - once(event: "upgrade", listener: (response: IncomingMessage, socket: Socket, head: Buffer) => void): this; - once(event: "close", listener: () => void): this; - once(event: "drain", listener: () => void): this; - once(event: "error", listener: (err: Error) => void): this; - once(event: "finish", listener: () => void): this; - once(event: "pipe", listener: (src: stream.Readable) => void): this; - once(event: "unpipe", listener: (src: stream.Readable) => void): this; - once(event: string | symbol, listener: (...args: any[]) => void): this; - /** - * @deprecated - */ - prependListener(event: "abort", listener: () => void): this; - prependListener( - event: "connect", - listener: (response: IncomingMessage, socket: Socket, head: Buffer) => void, - ): this; - prependListener(event: "continue", listener: () => void): this; - prependListener(event: "information", listener: (info: InformationEvent) => void): this; - prependListener(event: "response", listener: (response: IncomingMessage) => void): this; - prependListener(event: "socket", listener: (socket: Socket) => void): this; - prependListener(event: "timeout", listener: () => void): this; - prependListener( - event: "upgrade", - listener: (response: IncomingMessage, socket: Socket, head: Buffer) => void, - ): this; - prependListener(event: "close", listener: () => void): this; - prependListener(event: "drain", listener: () => void): this; - prependListener(event: "error", listener: (err: Error) => void): this; - prependListener(event: "finish", listener: () => void): this; - prependListener(event: "pipe", listener: (src: stream.Readable) => void): this; - prependListener(event: "unpipe", listener: (src: stream.Readable) => void): this; - prependListener(event: string | symbol, listener: (...args: any[]) => void): this; - /** - * @deprecated - */ - prependOnceListener(event: "abort", listener: () => void): this; - prependOnceListener( - event: "connect", - listener: (response: IncomingMessage, socket: Socket, head: Buffer) => void, - ): this; - prependOnceListener(event: "continue", listener: () => void): this; - prependOnceListener(event: "information", listener: (info: InformationEvent) => void): this; - prependOnceListener(event: "response", listener: (response: IncomingMessage) => void): this; - prependOnceListener(event: "socket", listener: (socket: Socket) => void): this; - prependOnceListener(event: "timeout", listener: () => void): this; - prependOnceListener( - event: "upgrade", - listener: (response: IncomingMessage, socket: Socket, head: Buffer) => void, - ): this; - prependOnceListener(event: "close", listener: () => void): this; - prependOnceListener(event: "drain", listener: () => void): this; - prependOnceListener(event: "error", listener: (err: Error) => void): this; - prependOnceListener(event: "finish", listener: () => void): this; - prependOnceListener(event: "pipe", listener: (src: stream.Readable) => void): this; - prependOnceListener(event: "unpipe", listener: (src: stream.Readable) => void): this; - prependOnceListener(event: string | symbol, listener: (...args: any[]) => void): this; - } - /** - * An `IncomingMessage` object is created by {@link Server} or {@link ClientRequest} and passed as the first argument to the `'request'` and `'response'` event respectively. It may be used to - * access response - * status, headers, and data. - * - * Different from its `socket` value which is a subclass of `stream.Duplex`, the`IncomingMessage` itself extends `stream.Readable` and is created separately to - * parse and emit the incoming HTTP headers and payload, as the underlying socket - * may be reused multiple times in case of keep-alive. - * @since v0.1.17 - */ - class IncomingMessage extends stream.Readable { - constructor(socket: Socket); - /** - * The `message.aborted` property will be `true` if the request has - * been aborted. - * @since v10.1.0 - * @deprecated Since v17.0.0,v16.12.0 - Check `message.destroyed` from stream.Readable. - */ - aborted: boolean; - /** - * In case of server request, the HTTP version sent by the client. In the case of - * client response, the HTTP version of the connected-to server. - * Probably either `'1.1'` or `'1.0'`. - * - * Also `message.httpVersionMajor` is the first integer and`message.httpVersionMinor` is the second. - * @since v0.1.1 - */ - httpVersion: string; - httpVersionMajor: number; - httpVersionMinor: number; - /** - * The `message.complete` property will be `true` if a complete HTTP message has - * been received and successfully parsed. - * - * This property is particularly useful as a means of determining if a client or - * server fully transmitted a message before a connection was terminated: - * - * ```js - * const req = http.request({ - * host: '127.0.0.1', - * port: 8080, - * method: 'POST', - * }, (res) => { - * res.resume(); - * res.on('end', () => { - * if (!res.complete) - * console.error( - * 'The connection was terminated while the message was still being sent'); - * }); - * }); - * ``` - * @since v0.3.0 - */ - complete: boolean; - /** - * Alias for `message.socket`. - * @since v0.1.90 - * @deprecated Since v16.0.0 - Use `socket`. - */ - connection: Socket; - /** - * The `net.Socket` object associated with the connection. - * - * With HTTPS support, use `request.socket.getPeerCertificate()` to obtain the - * client's authentication details. - * - * This property is guaranteed to be an instance of the `net.Socket` class, - * a subclass of `stream.Duplex`, unless the user specified a socket - * type other than `net.Socket` or internally nulled. - * @since v0.3.0 - */ - socket: Socket; - /** - * The request/response headers object. - * - * Key-value pairs of header names and values. Header names are lower-cased. - * - * ```js - * // Prints something like: - * // - * // { 'user-agent': 'curl/7.22.0', - * // host: '127.0.0.1:8000', - * // accept: '*' } - * console.log(request.headers); - * ``` - * - * Duplicates in raw headers are handled in the following ways, depending on the - * header name: - * - * * Duplicates of `age`, `authorization`, `content-length`, `content-type`,`etag`, `expires`, `from`, `host`, `if-modified-since`, `if-unmodified-since`,`last-modified`, `location`, - * `max-forwards`, `proxy-authorization`, `referer`,`retry-after`, `server`, or `user-agent` are discarded. - * To allow duplicate values of the headers listed above to be joined, - * use the option `joinDuplicateHeaders` in {@link request} and {@link createServer}. See RFC 9110 Section 5.3 for more - * information. - * * `set-cookie` is always an array. Duplicates are added to the array. - * * For duplicate `cookie` headers, the values are joined together with `; `. - * * For all other headers, the values are joined together with `, `. - * @since v0.1.5 - */ - headers: IncomingHttpHeaders; - /** - * Similar to `message.headers`, but there is no join logic and the values are - * always arrays of strings, even for headers received just once. - * - * ```js - * // Prints something like: - * // - * // { 'user-agent': ['curl/7.22.0'], - * // host: ['127.0.0.1:8000'], - * // accept: ['*'] } - * console.log(request.headersDistinct); - * ``` - * @since v18.3.0, v16.17.0 - */ - headersDistinct: NodeJS.Dict; - /** - * The raw request/response headers list exactly as they were received. - * - * The keys and values are in the same list. It is _not_ a - * list of tuples. So, the even-numbered offsets are key values, and the - * odd-numbered offsets are the associated values. - * - * Header names are not lowercased, and duplicates are not merged. - * - * ```js - * // Prints something like: - * // - * // [ 'user-agent', - * // 'this is invalid because there can be only one', - * // 'User-Agent', - * // 'curl/7.22.0', - * // 'Host', - * // '127.0.0.1:8000', - * // 'ACCEPT', - * // '*' ] - * console.log(request.rawHeaders); - * ``` - * @since v0.11.6 - */ - rawHeaders: string[]; - /** - * The request/response trailers object. Only populated at the `'end'` event. - * @since v0.3.0 - */ - trailers: NodeJS.Dict; - /** - * Similar to `message.trailers`, but there is no join logic and the values are - * always arrays of strings, even for headers received just once. - * Only populated at the `'end'` event. - * @since v18.3.0, v16.17.0 - */ - trailersDistinct: NodeJS.Dict; - /** - * The raw request/response trailer keys and values exactly as they were - * received. Only populated at the `'end'` event. - * @since v0.11.6 - */ - rawTrailers: string[]; - /** - * Calls `message.socket.setTimeout(msecs, callback)`. - * @since v0.5.9 - */ - setTimeout(msecs: number, callback?: () => void): this; - /** - * **Only valid for request obtained from {@link Server}.** - * - * The request method as a string. Read only. Examples: `'GET'`, `'DELETE'`. - * @since v0.1.1 - */ - method?: string | undefined; - /** - * **Only valid for request obtained from {@link Server}.** - * - * Request URL string. This contains only the URL that is present in the actual - * HTTP request. Take the following request: - * - * ```http - * GET /status?name=ryan HTTP/1.1 - * Accept: text/plain - * ``` - * - * To parse the URL into its parts: - * - * ```js - * new URL(request.url, `http://${request.headers.host}`); - * ``` - * - * When `request.url` is `'/status?name=ryan'` and `request.headers.host` is`'localhost:3000'`: - * - * ```console - * $ node - * > new URL(request.url, `http://${request.headers.host}`) - * URL { - * href: 'http://localhost:3000/status?name=ryan', - * origin: 'http://localhost:3000', - * protocol: 'http:', - * username: '', - * password: '', - * host: 'localhost:3000', - * hostname: 'localhost', - * port: '3000', - * pathname: '/status', - * search: '?name=ryan', - * searchParams: URLSearchParams { 'name' => 'ryan' }, - * hash: '' - * } - * ``` - * @since v0.1.90 - */ - url?: string | undefined; - /** - * **Only valid for response obtained from {@link ClientRequest}.** - * - * The 3-digit HTTP response status code. E.G. `404`. - * @since v0.1.1 - */ - statusCode?: number | undefined; - /** - * **Only valid for response obtained from {@link ClientRequest}.** - * - * The HTTP response status message (reason phrase). E.G. `OK` or `Internal Server Error`. - * @since v0.11.10 - */ - statusMessage?: string | undefined; - /** - * Calls `destroy()` on the socket that received the `IncomingMessage`. If `error`is provided, an `'error'` event is emitted on the socket and `error` is passed - * as an argument to any listeners on the event. - * @since v0.3.0 - */ - destroy(error?: Error): this; - } - interface AgentOptions extends Partial { - /** - * Keep sockets around in a pool to be used by other requests in the future. Default = false - */ - keepAlive?: boolean | undefined; - /** - * When using HTTP KeepAlive, how often to send TCP KeepAlive packets over sockets being kept alive. Default = 1000. - * Only relevant if keepAlive is set to true. - */ - keepAliveMsecs?: number | undefined; - /** - * Maximum number of sockets to allow per host. Default for Node 0.10 is 5, default for Node 0.12 is Infinity - */ - maxSockets?: number | undefined; - /** - * Maximum number of sockets allowed for all hosts in total. Each request will use a new socket until the maximum is reached. Default: Infinity. - */ - maxTotalSockets?: number | undefined; - /** - * Maximum number of sockets to leave open in a free state. Only relevant if keepAlive is set to true. Default = 256. - */ - maxFreeSockets?: number | undefined; - /** - * Socket timeout in milliseconds. This will set the timeout after the socket is connected. - */ - timeout?: number | undefined; - /** - * Scheduling strategy to apply when picking the next free socket to use. - * @default `lifo` - */ - scheduling?: "fifo" | "lifo" | undefined; - } - /** - * An `Agent` is responsible for managing connection persistence - * and reuse for HTTP clients. It maintains a queue of pending requests - * for a given host and port, reusing a single socket connection for each - * until the queue is empty, at which time the socket is either destroyed - * or put into a pool where it is kept to be used again for requests to the - * same host and port. Whether it is destroyed or pooled depends on the`keepAlive` `option`. - * - * Pooled connections have TCP Keep-Alive enabled for them, but servers may - * still close idle connections, in which case they will be removed from the - * pool and a new connection will be made when a new HTTP request is made for - * that host and port. Servers may also refuse to allow multiple requests - * over the same connection, in which case the connection will have to be - * remade for every request and cannot be pooled. The `Agent` will still make - * the requests to that server, but each one will occur over a new connection. - * - * When a connection is closed by the client or the server, it is removed - * from the pool. Any unused sockets in the pool will be unrefed so as not - * to keep the Node.js process running when there are no outstanding requests. - * (see `socket.unref()`). - * - * It is good practice, to `destroy()` an `Agent` instance when it is no - * longer in use, because unused sockets consume OS resources. - * - * Sockets are removed from an agent when the socket emits either - * a `'close'` event or an `'agentRemove'` event. When intending to keep one - * HTTP request open for a long time without keeping it in the agent, something - * like the following may be done: - * - * ```js - * http.get(options, (res) => { - * // Do stuff - * }).on('socket', (socket) => { - * socket.emit('agentRemove'); - * }); - * ``` - * - * An agent may also be used for an individual request. By providing`{agent: false}` as an option to the `http.get()` or `http.request()`functions, a one-time use `Agent` with default options - * will be used - * for the client connection. - * - * `agent:false`: - * - * ```js - * http.get({ - * hostname: 'localhost', - * port: 80, - * path: '/', - * agent: false, // Create a new agent just for this one request - * }, (res) => { - * // Do stuff with response - * }); - * ``` - * @since v0.3.4 - */ - class Agent extends EventEmitter { - /** - * By default set to 256. For agents with `keepAlive` enabled, this - * sets the maximum number of sockets that will be left open in the free - * state. - * @since v0.11.7 - */ - maxFreeSockets: number; - /** - * By default set to `Infinity`. Determines how many concurrent sockets the agent - * can have open per origin. Origin is the returned value of `agent.getName()`. - * @since v0.3.6 - */ - maxSockets: number; - /** - * By default set to `Infinity`. Determines how many concurrent sockets the agent - * can have open. Unlike `maxSockets`, this parameter applies across all origins. - * @since v14.5.0, v12.19.0 - */ - maxTotalSockets: number; - /** - * An object which contains arrays of sockets currently awaiting use by - * the agent when `keepAlive` is enabled. Do not modify. - * - * Sockets in the `freeSockets` list will be automatically destroyed and - * removed from the array on `'timeout'`. - * @since v0.11.4 - */ - readonly freeSockets: NodeJS.ReadOnlyDict; - /** - * An object which contains arrays of sockets currently in use by the - * agent. Do not modify. - * @since v0.3.6 - */ - readonly sockets: NodeJS.ReadOnlyDict; - /** - * An object which contains queues of requests that have not yet been assigned to - * sockets. Do not modify. - * @since v0.5.9 - */ - readonly requests: NodeJS.ReadOnlyDict; - constructor(opts?: AgentOptions); - /** - * Destroy any sockets that are currently in use by the agent. - * - * It is usually not necessary to do this. However, if using an - * agent with `keepAlive` enabled, then it is best to explicitly shut down - * the agent when it is no longer needed. Otherwise, - * sockets might stay open for quite a long time before the server - * terminates them. - * @since v0.11.4 - */ - destroy(): void; - } - const METHODS: string[]; - const STATUS_CODES: { - [errorCode: number]: string | undefined; - [errorCode: string]: string | undefined; - }; - /** - * Returns a new instance of {@link Server}. - * - * The `requestListener` is a function which is automatically - * added to the `'request'` event. - * - * ```js - * import http from 'node:http'; - * - * // Create a local server to receive data from - * const server = http.createServer((req, res) => { - * res.writeHead(200, { 'Content-Type': 'application/json' }); - * res.end(JSON.stringify({ - * data: 'Hello World!', - * })); - * }); - * - * server.listen(8000); - * ``` - * - * ```js - * import http from 'node:http'; - * - * // Create a local server to receive data from - * const server = http.createServer(); - * - * // Listen to the request event - * server.on('request', (request, res) => { - * res.writeHead(200, { 'Content-Type': 'application/json' }); - * res.end(JSON.stringify({ - * data: 'Hello World!', - * })); - * }); - * - * server.listen(8000); - * ``` - * @since v0.1.13 - */ - function createServer< - Request extends typeof IncomingMessage = typeof IncomingMessage, - Response extends typeof ServerResponse = typeof ServerResponse, - >(requestListener?: RequestListener): Server; - function createServer< - Request extends typeof IncomingMessage = typeof IncomingMessage, - Response extends typeof ServerResponse = typeof ServerResponse, - >( - options: ServerOptions, - requestListener?: RequestListener, - ): Server; - // although RequestOptions are passed as ClientRequestArgs to ClientRequest directly, - // create interface RequestOptions would make the naming more clear to developers - interface RequestOptions extends ClientRequestArgs {} - /** - * `options` in `socket.connect()` are also supported. - * - * Node.js maintains several connections per server to make HTTP requests. - * This function allows one to transparently issue requests. - * - * `url` can be a string or a `URL` object. If `url` is a - * string, it is automatically parsed with `new URL()`. If it is a `URL` object, it will be automatically converted to an ordinary `options` object. - * - * If both `url` and `options` are specified, the objects are merged, with the`options` properties taking precedence. - * - * The optional `callback` parameter will be added as a one-time listener for - * the `'response'` event. - * - * `http.request()` returns an instance of the {@link ClientRequest} class. The `ClientRequest` instance is a writable stream. If one needs to - * upload a file with a POST request, then write to the `ClientRequest` object. - * - * ```js - * import http from 'node:http'; - * import { Buffer } from 'node:buffer'; - * - * const postData = JSON.stringify({ - * 'msg': 'Hello World!', - * }); - * - * const options = { - * hostname: 'www.google.com', - * port: 80, - * path: '/upload', - * method: 'POST', - * headers: { - * 'Content-Type': 'application/json', - * 'Content-Length': Buffer.byteLength(postData), - * }, - * }; - * - * const req = http.request(options, (res) => { - * console.log(`STATUS: ${res.statusCode}`); - * console.log(`HEADERS: ${JSON.stringify(res.headers)}`); - * res.setEncoding('utf8'); - * res.on('data', (chunk) => { - * console.log(`BODY: ${chunk}`); - * }); - * res.on('end', () => { - * console.log('No more data in response.'); - * }); - * }); - * - * req.on('error', (e) => { - * console.error(`problem with request: ${e.message}`); - * }); - * - * // Write data to request body - * req.write(postData); - * req.end(); - * ``` - * - * In the example `req.end()` was called. With `http.request()` one - * must always call `req.end()` to signify the end of the request - - * even if there is no data being written to the request body. - * - * If any error is encountered during the request (be that with DNS resolution, - * TCP level errors, or actual HTTP parse errors) an `'error'` event is emitted - * on the returned request object. As with all `'error'` events, if no listeners - * are registered the error will be thrown. - * - * There are a few special headers that should be noted. - * - * * Sending a 'Connection: keep-alive' will notify Node.js that the connection to - * the server should be persisted until the next request. - * * Sending a 'Content-Length' header will disable the default chunked encoding. - * * Sending an 'Expect' header will immediately send the request headers. - * Usually, when sending 'Expect: 100-continue', both a timeout and a listener - * for the `'continue'` event should be set. See RFC 2616 Section 8.2.3 for more - * information. - * * Sending an Authorization header will override using the `auth` option - * to compute basic authentication. - * - * Example using a `URL` as `options`: - * - * ```js - * const options = new URL('http://abc:xyz@example.com'); - * - * const req = http.request(options, (res) => { - * // ... - * }); - * ``` - * - * In a successful request, the following events will be emitted in the following - * order: - * - * * `'socket'` - * * `'response'` - * * `'data'` any number of times, on the `res` object - * (`'data'` will not be emitted at all if the response body is empty, for - * instance, in most redirects) - * * `'end'` on the `res` object - * * `'close'` - * - * In the case of a connection error, the following events will be emitted: - * - * * `'socket'` - * * `'error'` - * * `'close'` - * - * In the case of a premature connection close before the response is received, - * the following events will be emitted in the following order: - * - * * `'socket'` - * * `'error'` with an error with message `'Error: socket hang up'` and code`'ECONNRESET'` - * * `'close'` - * - * In the case of a premature connection close after the response is received, - * the following events will be emitted in the following order: - * - * * `'socket'` - * * `'response'` - * * `'data'` any number of times, on the `res` object - * * (connection closed here) - * * `'aborted'` on the `res` object - * * `'error'` on the `res` object with an error with message`'Error: aborted'` and code `'ECONNRESET'` - * * `'close'` - * * `'close'` on the `res` object - * - * If `req.destroy()` is called before a socket is assigned, the following - * events will be emitted in the following order: - * - * * (`req.destroy()` called here) - * * `'error'` with an error with message `'Error: socket hang up'` and code`'ECONNRESET'`, or the error with which `req.destroy()` was called - * * `'close'` - * - * If `req.destroy()` is called before the connection succeeds, the following - * events will be emitted in the following order: - * - * * `'socket'` - * * (`req.destroy()` called here) - * * `'error'` with an error with message `'Error: socket hang up'` and code`'ECONNRESET'`, or the error with which `req.destroy()` was called - * * `'close'` - * - * If `req.destroy()` is called after the response is received, the following - * events will be emitted in the following order: - * - * * `'socket'` - * * `'response'` - * * `'data'` any number of times, on the `res` object - * * (`req.destroy()` called here) - * * `'aborted'` on the `res` object - * * `'error'` on the `res` object with an error with message `'Error: aborted'`and code `'ECONNRESET'`, or the error with which `req.destroy()` was called - * * `'close'` - * * `'close'` on the `res` object - * - * If `req.abort()` is called before a socket is assigned, the following - * events will be emitted in the following order: - * - * * (`req.abort()` called here) - * * `'abort'` - * * `'close'` - * - * If `req.abort()` is called before the connection succeeds, the following - * events will be emitted in the following order: - * - * * `'socket'` - * * (`req.abort()` called here) - * * `'abort'` - * * `'error'` with an error with message `'Error: socket hang up'` and code`'ECONNRESET'` - * * `'close'` - * - * If `req.abort()` is called after the response is received, the following - * events will be emitted in the following order: - * - * * `'socket'` - * * `'response'` - * * `'data'` any number of times, on the `res` object - * * (`req.abort()` called here) - * * `'abort'` - * * `'aborted'` on the `res` object - * * `'error'` on the `res` object with an error with message`'Error: aborted'` and code `'ECONNRESET'`. - * * `'close'` - * * `'close'` on the `res` object - * - * Setting the `timeout` option or using the `setTimeout()` function will - * not abort the request or do anything besides add a `'timeout'` event. - * - * Passing an `AbortSignal` and then calling `abort()` on the corresponding`AbortController` will behave the same way as calling `.destroy()` on the - * request. Specifically, the `'error'` event will be emitted with an error with - * the message `'AbortError: The operation was aborted'`, the code `'ABORT_ERR'`and the `cause`, if one was provided. - * @since v0.3.6 - */ - function request(options: RequestOptions | string | URL, callback?: (res: IncomingMessage) => void): ClientRequest; - function request( - url: string | URL, - options: RequestOptions, - callback?: (res: IncomingMessage) => void, - ): ClientRequest; - /** - * Since most requests are GET requests without bodies, Node.js provides this - * convenience method. The only difference between this method and {@link request} is that it sets the method to GET by default and calls `req.end()`automatically. The callback must take care to - * consume the response - * data for reasons stated in {@link ClientRequest} section. - * - * The `callback` is invoked with a single argument that is an instance of {@link IncomingMessage}. - * - * JSON fetching example: - * - * ```js - * http.get('http://localhost:8000/', (res) => { - * const { statusCode } = res; - * const contentType = res.headers['content-type']; - * - * let error; - * // Any 2xx status code signals a successful response but - * // here we're only checking for 200. - * if (statusCode !== 200) { - * error = new Error('Request Failed.\n' + - * `Status Code: ${statusCode}`); - * } else if (!/^application\/json/.test(contentType)) { - * error = new Error('Invalid content-type.\n' + - * `Expected application/json but received ${contentType}`); - * } - * if (error) { - * console.error(error.message); - * // Consume response data to free up memory - * res.resume(); - * return; - * } - * - * res.setEncoding('utf8'); - * let rawData = ''; - * res.on('data', (chunk) => { rawData += chunk; }); - * res.on('end', () => { - * try { - * const parsedData = JSON.parse(rawData); - * console.log(parsedData); - * } catch (e) { - * console.error(e.message); - * } - * }); - * }).on('error', (e) => { - * console.error(`Got error: ${e.message}`); - * }); - * - * // Create a local server to receive data from - * const server = http.createServer((req, res) => { - * res.writeHead(200, { 'Content-Type': 'application/json' }); - * res.end(JSON.stringify({ - * data: 'Hello World!', - * })); - * }); - * - * server.listen(8000); - * ``` - * @since v0.3.6 - * @param options Accepts the same `options` as {@link request}, with the method set to GET by default. - */ - function get(options: RequestOptions | string | URL, callback?: (res: IncomingMessage) => void): ClientRequest; - function get(url: string | URL, options: RequestOptions, callback?: (res: IncomingMessage) => void): ClientRequest; - /** - * Performs the low-level validations on the provided `name` that are done when`res.setHeader(name, value)` is called. - * - * Passing illegal value as `name` will result in a `TypeError` being thrown, - * identified by `code: 'ERR_INVALID_HTTP_TOKEN'`. - * - * It is not necessary to use this method before passing headers to an HTTP request - * or response. The HTTP module will automatically validate such headers. - * - * Example: - * - * ```js - * import { validateHeaderName } from 'node:http'; - * - * try { - * validateHeaderName(''); - * } catch (err) { - * console.error(err instanceof TypeError); // --> true - * console.error(err.code); // --> 'ERR_INVALID_HTTP_TOKEN' - * console.error(err.message); // --> 'Header name must be a valid HTTP token [""]' - * } - * ``` - * @since v14.3.0 - * @param [label='Header name'] Label for error message. - */ - function validateHeaderName(name: string): void; - /** - * Performs the low-level validations on the provided `value` that are done when`res.setHeader(name, value)` is called. - * - * Passing illegal value as `value` will result in a `TypeError` being thrown. - * - * * Undefined value error is identified by `code: 'ERR_HTTP_INVALID_HEADER_VALUE'`. - * * Invalid value character error is identified by `code: 'ERR_INVALID_CHAR'`. - * - * It is not necessary to use this method before passing headers to an HTTP request - * or response. The HTTP module will automatically validate such headers. - * - * Examples: - * - * ```js - * import { validateHeaderValue } from 'node:http'; - * - * try { - * validateHeaderValue('x-my-header', undefined); - * } catch (err) { - * console.error(err instanceof TypeError); // --> true - * console.error(err.code === 'ERR_HTTP_INVALID_HEADER_VALUE'); // --> true - * console.error(err.message); // --> 'Invalid value "undefined" for header "x-my-header"' - * } - * - * try { - * validateHeaderValue('x-my-header', 'oʊmɪɡə'); - * } catch (err) { - * console.error(err instanceof TypeError); // --> true - * console.error(err.code === 'ERR_INVALID_CHAR'); // --> true - * console.error(err.message); // --> 'Invalid character in header content ["x-my-header"]' - * } - * ``` - * @since v14.3.0 - * @param name Header name - * @param value Header value - */ - function validateHeaderValue(name: string, value: string): void; - /** - * Set the maximum number of idle HTTP parsers. - * @since v18.8.0, v16.18.0 - * @param [max=1000] - */ - function setMaxIdleHTTPParsers(max: number): void; - let globalAgent: Agent; - /** - * Read-only property specifying the maximum allowed size of HTTP headers in bytes. - * Defaults to 16KB. Configurable using the `--max-http-header-size` CLI option. - */ - const maxHeaderSize: number; -} -declare module "node:http" { - export * from "http"; -} diff --git a/node_modules/@types/node/http2.d.ts b/node_modules/@types/node/http2.d.ts deleted file mode 100644 index c3b3e8e..0000000 --- a/node_modules/@types/node/http2.d.ts +++ /dev/null @@ -1,2382 +0,0 @@ -/** - * The `node:http2` module provides an implementation of the [HTTP/2](https://tools.ietf.org/html/rfc7540) protocol. - * It can be accessed using: - * - * ```js - * const http2 = require('node:http2'); - * ``` - * @since v8.4.0 - * @see [source](https://github.com/nodejs/node/blob/v20.2.0/lib/http2.js) - */ -declare module "http2" { - import EventEmitter = require("node:events"); - import * as fs from "node:fs"; - import * as net from "node:net"; - import * as stream from "node:stream"; - import * as tls from "node:tls"; - import * as url from "node:url"; - import { - IncomingHttpHeaders as Http1IncomingHttpHeaders, - IncomingMessage, - OutgoingHttpHeaders, - ServerResponse, - } from "node:http"; - export { OutgoingHttpHeaders } from "node:http"; - export interface IncomingHttpStatusHeader { - ":status"?: number | undefined; - } - export interface IncomingHttpHeaders extends Http1IncomingHttpHeaders { - ":path"?: string | undefined; - ":method"?: string | undefined; - ":authority"?: string | undefined; - ":scheme"?: string | undefined; - } - // Http2Stream - export interface StreamPriorityOptions { - exclusive?: boolean | undefined; - parent?: number | undefined; - weight?: number | undefined; - silent?: boolean | undefined; - } - export interface StreamState { - localWindowSize?: number | undefined; - state?: number | undefined; - localClose?: number | undefined; - remoteClose?: number | undefined; - sumDependencyWeight?: number | undefined; - weight?: number | undefined; - } - export interface ServerStreamResponseOptions { - endStream?: boolean | undefined; - waitForTrailers?: boolean | undefined; - } - export interface StatOptions { - offset: number; - length: number; - } - export interface ServerStreamFileResponseOptions { - // eslint-disable-next-line @typescript-eslint/no-invalid-void-type - statCheck?(stats: fs.Stats, headers: OutgoingHttpHeaders, statOptions: StatOptions): void | boolean; - waitForTrailers?: boolean | undefined; - offset?: number | undefined; - length?: number | undefined; - } - export interface ServerStreamFileResponseOptionsWithError extends ServerStreamFileResponseOptions { - onError?(err: NodeJS.ErrnoException): void; - } - export interface Http2Stream extends stream.Duplex { - /** - * Set to `true` if the `Http2Stream` instance was aborted abnormally. When set, - * the `'aborted'` event will have been emitted. - * @since v8.4.0 - */ - readonly aborted: boolean; - /** - * This property shows the number of characters currently buffered to be written. - * See `net.Socket.bufferSize` for details. - * @since v11.2.0, v10.16.0 - */ - readonly bufferSize: number; - /** - * Set to `true` if the `Http2Stream` instance has been closed. - * @since v9.4.0 - */ - readonly closed: boolean; - /** - * Set to `true` if the `Http2Stream` instance has been destroyed and is no longer - * usable. - * @since v8.4.0 - */ - readonly destroyed: boolean; - /** - * Set to `true` if the `END_STREAM` flag was set in the request or response - * HEADERS frame received, indicating that no additional data should be received - * and the readable side of the `Http2Stream` will be closed. - * @since v10.11.0 - */ - readonly endAfterHeaders: boolean; - /** - * The numeric stream identifier of this `Http2Stream` instance. Set to `undefined`if the stream identifier has not yet been assigned. - * @since v8.4.0 - */ - readonly id?: number | undefined; - /** - * Set to `true` if the `Http2Stream` instance has not yet been assigned a - * numeric stream identifier. - * @since v9.4.0 - */ - readonly pending: boolean; - /** - * Set to the `RST_STREAM` `error code` reported when the `Http2Stream` is - * destroyed after either receiving an `RST_STREAM` frame from the connected peer, - * calling `http2stream.close()`, or `http2stream.destroy()`. Will be`undefined` if the `Http2Stream` has not been closed. - * @since v8.4.0 - */ - readonly rstCode: number; - /** - * An object containing the outbound headers sent for this `Http2Stream`. - * @since v9.5.0 - */ - readonly sentHeaders: OutgoingHttpHeaders; - /** - * An array of objects containing the outbound informational (additional) headers - * sent for this `Http2Stream`. - * @since v9.5.0 - */ - readonly sentInfoHeaders?: OutgoingHttpHeaders[] | undefined; - /** - * An object containing the outbound trailers sent for this `HttpStream`. - * @since v9.5.0 - */ - readonly sentTrailers?: OutgoingHttpHeaders | undefined; - /** - * A reference to the `Http2Session` instance that owns this `Http2Stream`. The - * value will be `undefined` after the `Http2Stream` instance is destroyed. - * @since v8.4.0 - */ - readonly session: Http2Session | undefined; - /** - * Provides miscellaneous information about the current state of the`Http2Stream`. - * - * A current state of this `Http2Stream`. - * @since v8.4.0 - */ - readonly state: StreamState; - /** - * Closes the `Http2Stream` instance by sending an `RST_STREAM` frame to the - * connected HTTP/2 peer. - * @since v8.4.0 - * @param [code=http2.constants.NGHTTP2_NO_ERROR] Unsigned 32-bit integer identifying the error code. - * @param callback An optional function registered to listen for the `'close'` event. - */ - close(code?: number, callback?: () => void): void; - /** - * Updates the priority for this `Http2Stream` instance. - * @since v8.4.0 - */ - priority(options: StreamPriorityOptions): void; - /** - * ```js - * const http2 = require('node:http2'); - * const client = http2.connect('http://example.org:8000'); - * const { NGHTTP2_CANCEL } = http2.constants; - * const req = client.request({ ':path': '/' }); - * - * // Cancel the stream if there's no activity after 5 seconds - * req.setTimeout(5000, () => req.close(NGHTTP2_CANCEL)); - * ``` - * @since v8.4.0 - */ - setTimeout(msecs: number, callback?: () => void): void; - /** - * Sends a trailing `HEADERS` frame to the connected HTTP/2 peer. This method - * will cause the `Http2Stream` to be immediately closed and must only be - * called after the `'wantTrailers'` event has been emitted. When sending a - * request or sending a response, the `options.waitForTrailers` option must be set - * in order to keep the `Http2Stream` open after the final `DATA` frame so that - * trailers can be sent. - * - * ```js - * const http2 = require('node:http2'); - * const server = http2.createServer(); - * server.on('stream', (stream) => { - * stream.respond(undefined, { waitForTrailers: true }); - * stream.on('wantTrailers', () => { - * stream.sendTrailers({ xyz: 'abc' }); - * }); - * stream.end('Hello World'); - * }); - * ``` - * - * The HTTP/1 specification forbids trailers from containing HTTP/2 pseudo-header - * fields (e.g. `':method'`, `':path'`, etc). - * @since v10.0.0 - */ - sendTrailers(headers: OutgoingHttpHeaders): void; - addListener(event: "aborted", listener: () => void): this; - addListener(event: "close", listener: () => void): this; - addListener(event: "data", listener: (chunk: Buffer | string) => void): this; - addListener(event: "drain", listener: () => void): this; - addListener(event: "end", listener: () => void): this; - addListener(event: "error", listener: (err: Error) => void): this; - addListener(event: "finish", listener: () => void): this; - addListener(event: "frameError", listener: (frameType: number, errorCode: number) => void): this; - addListener(event: "pipe", listener: (src: stream.Readable) => void): this; - addListener(event: "unpipe", listener: (src: stream.Readable) => void): this; - addListener(event: "streamClosed", listener: (code: number) => void): this; - addListener(event: "timeout", listener: () => void): this; - addListener(event: "trailers", listener: (trailers: IncomingHttpHeaders, flags: number) => void): this; - addListener(event: "wantTrailers", listener: () => void): this; - addListener(event: string | symbol, listener: (...args: any[]) => void): this; - emit(event: "aborted"): boolean; - emit(event: "close"): boolean; - emit(event: "data", chunk: Buffer | string): boolean; - emit(event: "drain"): boolean; - emit(event: "end"): boolean; - emit(event: "error", err: Error): boolean; - emit(event: "finish"): boolean; - emit(event: "frameError", frameType: number, errorCode: number): boolean; - emit(event: "pipe", src: stream.Readable): boolean; - emit(event: "unpipe", src: stream.Readable): boolean; - emit(event: "streamClosed", code: number): boolean; - emit(event: "timeout"): boolean; - emit(event: "trailers", trailers: IncomingHttpHeaders, flags: number): boolean; - emit(event: "wantTrailers"): boolean; - emit(event: string | symbol, ...args: any[]): boolean; - on(event: "aborted", listener: () => void): this; - on(event: "close", listener: () => void): this; - on(event: "data", listener: (chunk: Buffer | string) => void): this; - on(event: "drain", listener: () => void): this; - on(event: "end", listener: () => void): this; - on(event: "error", listener: (err: Error) => void): this; - on(event: "finish", listener: () => void): this; - on(event: "frameError", listener: (frameType: number, errorCode: number) => void): this; - on(event: "pipe", listener: (src: stream.Readable) => void): this; - on(event: "unpipe", listener: (src: stream.Readable) => void): this; - on(event: "streamClosed", listener: (code: number) => void): this; - on(event: "timeout", listener: () => void): this; - on(event: "trailers", listener: (trailers: IncomingHttpHeaders, flags: number) => void): this; - on(event: "wantTrailers", listener: () => void): this; - on(event: string | symbol, listener: (...args: any[]) => void): this; - once(event: "aborted", listener: () => void): this; - once(event: "close", listener: () => void): this; - once(event: "data", listener: (chunk: Buffer | string) => void): this; - once(event: "drain", listener: () => void): this; - once(event: "end", listener: () => void): this; - once(event: "error", listener: (err: Error) => void): this; - once(event: "finish", listener: () => void): this; - once(event: "frameError", listener: (frameType: number, errorCode: number) => void): this; - once(event: "pipe", listener: (src: stream.Readable) => void): this; - once(event: "unpipe", listener: (src: stream.Readable) => void): this; - once(event: "streamClosed", listener: (code: number) => void): this; - once(event: "timeout", listener: () => void): this; - once(event: "trailers", listener: (trailers: IncomingHttpHeaders, flags: number) => void): this; - once(event: "wantTrailers", listener: () => void): this; - once(event: string | symbol, listener: (...args: any[]) => void): this; - prependListener(event: "aborted", listener: () => void): this; - prependListener(event: "close", listener: () => void): this; - prependListener(event: "data", listener: (chunk: Buffer | string) => void): this; - prependListener(event: "drain", listener: () => void): this; - prependListener(event: "end", listener: () => void): this; - prependListener(event: "error", listener: (err: Error) => void): this; - prependListener(event: "finish", listener: () => void): this; - prependListener(event: "frameError", listener: (frameType: number, errorCode: number) => void): this; - prependListener(event: "pipe", listener: (src: stream.Readable) => void): this; - prependListener(event: "unpipe", listener: (src: stream.Readable) => void): this; - prependListener(event: "streamClosed", listener: (code: number) => void): this; - prependListener(event: "timeout", listener: () => void): this; - prependListener(event: "trailers", listener: (trailers: IncomingHttpHeaders, flags: number) => void): this; - prependListener(event: "wantTrailers", listener: () => void): this; - prependListener(event: string | symbol, listener: (...args: any[]) => void): this; - prependOnceListener(event: "aborted", listener: () => void): this; - prependOnceListener(event: "close", listener: () => void): this; - prependOnceListener(event: "data", listener: (chunk: Buffer | string) => void): this; - prependOnceListener(event: "drain", listener: () => void): this; - prependOnceListener(event: "end", listener: () => void): this; - prependOnceListener(event: "error", listener: (err: Error) => void): this; - prependOnceListener(event: "finish", listener: () => void): this; - prependOnceListener(event: "frameError", listener: (frameType: number, errorCode: number) => void): this; - prependOnceListener(event: "pipe", listener: (src: stream.Readable) => void): this; - prependOnceListener(event: "unpipe", listener: (src: stream.Readable) => void): this; - prependOnceListener(event: "streamClosed", listener: (code: number) => void): this; - prependOnceListener(event: "timeout", listener: () => void): this; - prependOnceListener(event: "trailers", listener: (trailers: IncomingHttpHeaders, flags: number) => void): this; - prependOnceListener(event: "wantTrailers", listener: () => void): this; - prependOnceListener(event: string | symbol, listener: (...args: any[]) => void): this; - } - export interface ClientHttp2Stream extends Http2Stream { - addListener(event: "continue", listener: () => {}): this; - addListener( - event: "headers", - listener: (headers: IncomingHttpHeaders & IncomingHttpStatusHeader, flags: number) => void, - ): this; - addListener(event: "push", listener: (headers: IncomingHttpHeaders, flags: number) => void): this; - addListener( - event: "response", - listener: (headers: IncomingHttpHeaders & IncomingHttpStatusHeader, flags: number) => void, - ): this; - addListener(event: string | symbol, listener: (...args: any[]) => void): this; - emit(event: "continue"): boolean; - emit(event: "headers", headers: IncomingHttpHeaders & IncomingHttpStatusHeader, flags: number): boolean; - emit(event: "push", headers: IncomingHttpHeaders, flags: number): boolean; - emit(event: "response", headers: IncomingHttpHeaders & IncomingHttpStatusHeader, flags: number): boolean; - emit(event: string | symbol, ...args: any[]): boolean; - on(event: "continue", listener: () => {}): this; - on( - event: "headers", - listener: (headers: IncomingHttpHeaders & IncomingHttpStatusHeader, flags: number) => void, - ): this; - on(event: "push", listener: (headers: IncomingHttpHeaders, flags: number) => void): this; - on( - event: "response", - listener: (headers: IncomingHttpHeaders & IncomingHttpStatusHeader, flags: number) => void, - ): this; - on(event: string | symbol, listener: (...args: any[]) => void): this; - once(event: "continue", listener: () => {}): this; - once( - event: "headers", - listener: (headers: IncomingHttpHeaders & IncomingHttpStatusHeader, flags: number) => void, - ): this; - once(event: "push", listener: (headers: IncomingHttpHeaders, flags: number) => void): this; - once( - event: "response", - listener: (headers: IncomingHttpHeaders & IncomingHttpStatusHeader, flags: number) => void, - ): this; - once(event: string | symbol, listener: (...args: any[]) => void): this; - prependListener(event: "continue", listener: () => {}): this; - prependListener( - event: "headers", - listener: (headers: IncomingHttpHeaders & IncomingHttpStatusHeader, flags: number) => void, - ): this; - prependListener(event: "push", listener: (headers: IncomingHttpHeaders, flags: number) => void): this; - prependListener( - event: "response", - listener: (headers: IncomingHttpHeaders & IncomingHttpStatusHeader, flags: number) => void, - ): this; - prependListener(event: string | symbol, listener: (...args: any[]) => void): this; - prependOnceListener(event: "continue", listener: () => {}): this; - prependOnceListener( - event: "headers", - listener: (headers: IncomingHttpHeaders & IncomingHttpStatusHeader, flags: number) => void, - ): this; - prependOnceListener(event: "push", listener: (headers: IncomingHttpHeaders, flags: number) => void): this; - prependOnceListener( - event: "response", - listener: (headers: IncomingHttpHeaders & IncomingHttpStatusHeader, flags: number) => void, - ): this; - prependOnceListener(event: string | symbol, listener: (...args: any[]) => void): this; - } - export interface ServerHttp2Stream extends Http2Stream { - /** - * True if headers were sent, false otherwise (read-only). - * @since v8.4.0 - */ - readonly headersSent: boolean; - /** - * Read-only property mapped to the `SETTINGS_ENABLE_PUSH` flag of the remote - * client's most recent `SETTINGS` frame. Will be `true` if the remote peer - * accepts push streams, `false` otherwise. Settings are the same for every`Http2Stream` in the same `Http2Session`. - * @since v8.4.0 - */ - readonly pushAllowed: boolean; - /** - * Sends an additional informational `HEADERS` frame to the connected HTTP/2 peer. - * @since v8.4.0 - */ - additionalHeaders(headers: OutgoingHttpHeaders): void; - /** - * Initiates a push stream. The callback is invoked with the new `Http2Stream`instance created for the push stream passed as the second argument, or an`Error` passed as the first argument. - * - * ```js - * const http2 = require('node:http2'); - * const server = http2.createServer(); - * server.on('stream', (stream) => { - * stream.respond({ ':status': 200 }); - * stream.pushStream({ ':path': '/' }, (err, pushStream, headers) => { - * if (err) throw err; - * pushStream.respond({ ':status': 200 }); - * pushStream.end('some pushed data'); - * }); - * stream.end('some data'); - * }); - * ``` - * - * Setting the weight of a push stream is not allowed in the `HEADERS` frame. Pass - * a `weight` value to `http2stream.priority` with the `silent` option set to`true` to enable server-side bandwidth balancing between concurrent streams. - * - * Calling `http2stream.pushStream()` from within a pushed stream is not permitted - * and will throw an error. - * @since v8.4.0 - * @param callback Callback that is called once the push stream has been initiated. - */ - pushStream( - headers: OutgoingHttpHeaders, - callback?: (err: Error | null, pushStream: ServerHttp2Stream, headers: OutgoingHttpHeaders) => void, - ): void; - pushStream( - headers: OutgoingHttpHeaders, - options?: StreamPriorityOptions, - callback?: (err: Error | null, pushStream: ServerHttp2Stream, headers: OutgoingHttpHeaders) => void, - ): void; - /** - * ```js - * const http2 = require('node:http2'); - * const server = http2.createServer(); - * server.on('stream', (stream) => { - * stream.respond({ ':status': 200 }); - * stream.end('some data'); - * }); - * ``` - * - * Initiates a response. When the `options.waitForTrailers` option is set, the`'wantTrailers'` event will be emitted immediately after queuing the last chunk - * of payload data to be sent. The `http2stream.sendTrailers()` method can then be - * used to sent trailing header fields to the peer. - * - * When `options.waitForTrailers` is set, the `Http2Stream` will not automatically - * close when the final `DATA` frame is transmitted. User code must call either`http2stream.sendTrailers()` or `http2stream.close()` to close the`Http2Stream`. - * - * ```js - * const http2 = require('node:http2'); - * const server = http2.createServer(); - * server.on('stream', (stream) => { - * stream.respond({ ':status': 200 }, { waitForTrailers: true }); - * stream.on('wantTrailers', () => { - * stream.sendTrailers({ ABC: 'some value to send' }); - * }); - * stream.end('some data'); - * }); - * ``` - * @since v8.4.0 - */ - respond(headers?: OutgoingHttpHeaders, options?: ServerStreamResponseOptions): void; - /** - * Initiates a response whose data is read from the given file descriptor. No - * validation is performed on the given file descriptor. If an error occurs while - * attempting to read data using the file descriptor, the `Http2Stream` will be - * closed using an `RST_STREAM` frame using the standard `INTERNAL_ERROR` code. - * - * When used, the `Http2Stream` object's `Duplex` interface will be closed - * automatically. - * - * ```js - * const http2 = require('node:http2'); - * const fs = require('node:fs'); - * - * const server = http2.createServer(); - * server.on('stream', (stream) => { - * const fd = fs.openSync('/some/file', 'r'); - * - * const stat = fs.fstatSync(fd); - * const headers = { - * 'content-length': stat.size, - * 'last-modified': stat.mtime.toUTCString(), - * 'content-type': 'text/plain; charset=utf-8', - * }; - * stream.respondWithFD(fd, headers); - * stream.on('close', () => fs.closeSync(fd)); - * }); - * ``` - * - * The optional `options.statCheck` function may be specified to give user code - * an opportunity to set additional content headers based on the `fs.Stat` details - * of the given fd. If the `statCheck` function is provided, the`http2stream.respondWithFD()` method will perform an `fs.fstat()` call to - * collect details on the provided file descriptor. - * - * The `offset` and `length` options may be used to limit the response to a - * specific range subset. This can be used, for instance, to support HTTP Range - * requests. - * - * The file descriptor or `FileHandle` is not closed when the stream is closed, - * so it will need to be closed manually once it is no longer needed. - * Using the same file descriptor concurrently for multiple streams - * is not supported and may result in data loss. Re-using a file descriptor - * after a stream has finished is supported. - * - * When the `options.waitForTrailers` option is set, the `'wantTrailers'` event - * will be emitted immediately after queuing the last chunk of payload data to be - * sent. The `http2stream.sendTrailers()` method can then be used to sent trailing - * header fields to the peer. - * - * When `options.waitForTrailers` is set, the `Http2Stream` will not automatically - * close when the final `DATA` frame is transmitted. User code _must_ call either`http2stream.sendTrailers()` or `http2stream.close()` to close the`Http2Stream`. - * - * ```js - * const http2 = require('node:http2'); - * const fs = require('node:fs'); - * - * const server = http2.createServer(); - * server.on('stream', (stream) => { - * const fd = fs.openSync('/some/file', 'r'); - * - * const stat = fs.fstatSync(fd); - * const headers = { - * 'content-length': stat.size, - * 'last-modified': stat.mtime.toUTCString(), - * 'content-type': 'text/plain; charset=utf-8', - * }; - * stream.respondWithFD(fd, headers, { waitForTrailers: true }); - * stream.on('wantTrailers', () => { - * stream.sendTrailers({ ABC: 'some value to send' }); - * }); - * - * stream.on('close', () => fs.closeSync(fd)); - * }); - * ``` - * @since v8.4.0 - * @param fd A readable file descriptor. - */ - respondWithFD( - fd: number | fs.promises.FileHandle, - headers?: OutgoingHttpHeaders, - options?: ServerStreamFileResponseOptions, - ): void; - /** - * Sends a regular file as the response. The `path` must specify a regular file - * or an `'error'` event will be emitted on the `Http2Stream` object. - * - * When used, the `Http2Stream` object's `Duplex` interface will be closed - * automatically. - * - * The optional `options.statCheck` function may be specified to give user code - * an opportunity to set additional content headers based on the `fs.Stat` details - * of the given file: - * - * If an error occurs while attempting to read the file data, the `Http2Stream`will be closed using an `RST_STREAM` frame using the standard `INTERNAL_ERROR`code. If the `onError` callback is - * defined, then it will be called. Otherwise - * the stream will be destroyed. - * - * Example using a file path: - * - * ```js - * const http2 = require('node:http2'); - * const server = http2.createServer(); - * server.on('stream', (stream) => { - * function statCheck(stat, headers) { - * headers['last-modified'] = stat.mtime.toUTCString(); - * } - * - * function onError(err) { - * // stream.respond() can throw if the stream has been destroyed by - * // the other side. - * try { - * if (err.code === 'ENOENT') { - * stream.respond({ ':status': 404 }); - * } else { - * stream.respond({ ':status': 500 }); - * } - * } catch (err) { - * // Perform actual error handling. - * console.error(err); - * } - * stream.end(); - * } - * - * stream.respondWithFile('/some/file', - * { 'content-type': 'text/plain; charset=utf-8' }, - * { statCheck, onError }); - * }); - * ``` - * - * The `options.statCheck` function may also be used to cancel the send operation - * by returning `false`. For instance, a conditional request may check the stat - * results to determine if the file has been modified to return an appropriate`304` response: - * - * ```js - * const http2 = require('node:http2'); - * const server = http2.createServer(); - * server.on('stream', (stream) => { - * function statCheck(stat, headers) { - * // Check the stat here... - * stream.respond({ ':status': 304 }); - * return false; // Cancel the send operation - * } - * stream.respondWithFile('/some/file', - * { 'content-type': 'text/plain; charset=utf-8' }, - * { statCheck }); - * }); - * ``` - * - * The `content-length` header field will be automatically set. - * - * The `offset` and `length` options may be used to limit the response to a - * specific range subset. This can be used, for instance, to support HTTP Range - * requests. - * - * The `options.onError` function may also be used to handle all the errors - * that could happen before the delivery of the file is initiated. The - * default behavior is to destroy the stream. - * - * When the `options.waitForTrailers` option is set, the `'wantTrailers'` event - * will be emitted immediately after queuing the last chunk of payload data to be - * sent. The `http2stream.sendTrailers()` method can then be used to sent trailing - * header fields to the peer. - * - * When `options.waitForTrailers` is set, the `Http2Stream` will not automatically - * close when the final `DATA` frame is transmitted. User code must call either`http2stream.sendTrailers()` or `http2stream.close()` to close the`Http2Stream`. - * - * ```js - * const http2 = require('node:http2'); - * const server = http2.createServer(); - * server.on('stream', (stream) => { - * stream.respondWithFile('/some/file', - * { 'content-type': 'text/plain; charset=utf-8' }, - * { waitForTrailers: true }); - * stream.on('wantTrailers', () => { - * stream.sendTrailers({ ABC: 'some value to send' }); - * }); - * }); - * ``` - * @since v8.4.0 - */ - respondWithFile( - path: string, - headers?: OutgoingHttpHeaders, - options?: ServerStreamFileResponseOptionsWithError, - ): void; - } - // Http2Session - export interface Settings { - headerTableSize?: number | undefined; - enablePush?: boolean | undefined; - initialWindowSize?: number | undefined; - maxFrameSize?: number | undefined; - maxConcurrentStreams?: number | undefined; - maxHeaderListSize?: number | undefined; - enableConnectProtocol?: boolean | undefined; - } - export interface ClientSessionRequestOptions { - endStream?: boolean | undefined; - exclusive?: boolean | undefined; - parent?: number | undefined; - weight?: number | undefined; - waitForTrailers?: boolean | undefined; - signal?: AbortSignal | undefined; - } - export interface SessionState { - effectiveLocalWindowSize?: number | undefined; - effectiveRecvDataLength?: number | undefined; - nextStreamID?: number | undefined; - localWindowSize?: number | undefined; - lastProcStreamID?: number | undefined; - remoteWindowSize?: number | undefined; - outboundQueueSize?: number | undefined; - deflateDynamicTableSize?: number | undefined; - inflateDynamicTableSize?: number | undefined; - } - export interface Http2Session extends EventEmitter { - /** - * Value will be `undefined` if the `Http2Session` is not yet connected to a - * socket, `h2c` if the `Http2Session` is not connected to a `TLSSocket`, or - * will return the value of the connected `TLSSocket`'s own `alpnProtocol`property. - * @since v9.4.0 - */ - readonly alpnProtocol?: string | undefined; - /** - * Will be `true` if this `Http2Session` instance has been closed, otherwise`false`. - * @since v9.4.0 - */ - readonly closed: boolean; - /** - * Will be `true` if this `Http2Session` instance is still connecting, will be set - * to `false` before emitting `connect` event and/or calling the `http2.connect`callback. - * @since v10.0.0 - */ - readonly connecting: boolean; - /** - * Will be `true` if this `Http2Session` instance has been destroyed and must no - * longer be used, otherwise `false`. - * @since v8.4.0 - */ - readonly destroyed: boolean; - /** - * Value is `undefined` if the `Http2Session` session socket has not yet been - * connected, `true` if the `Http2Session` is connected with a `TLSSocket`, - * and `false` if the `Http2Session` is connected to any other kind of socket - * or stream. - * @since v9.4.0 - */ - readonly encrypted?: boolean | undefined; - /** - * A prototype-less object describing the current local settings of this`Http2Session`. The local settings are local to _this_`Http2Session` instance. - * @since v8.4.0 - */ - readonly localSettings: Settings; - /** - * If the `Http2Session` is connected to a `TLSSocket`, the `originSet` property - * will return an `Array` of origins for which the `Http2Session` may be - * considered authoritative. - * - * The `originSet` property is only available when using a secure TLS connection. - * @since v9.4.0 - */ - readonly originSet?: string[] | undefined; - /** - * Indicates whether the `Http2Session` is currently waiting for acknowledgment of - * a sent `SETTINGS` frame. Will be `true` after calling the`http2session.settings()` method. Will be `false` once all sent `SETTINGS`frames have been acknowledged. - * @since v8.4.0 - */ - readonly pendingSettingsAck: boolean; - /** - * A prototype-less object describing the current remote settings of this`Http2Session`. The remote settings are set by the _connected_ HTTP/2 peer. - * @since v8.4.0 - */ - readonly remoteSettings: Settings; - /** - * Returns a `Proxy` object that acts as a `net.Socket` (or `tls.TLSSocket`) but - * limits available methods to ones safe to use with HTTP/2. - * - * `destroy`, `emit`, `end`, `pause`, `read`, `resume`, and `write` will throw - * an error with code `ERR_HTTP2_NO_SOCKET_MANIPULATION`. See `Http2Session and Sockets` for more information. - * - * `setTimeout` method will be called on this `Http2Session`. - * - * All other interactions will be routed directly to the socket. - * @since v8.4.0 - */ - readonly socket: net.Socket | tls.TLSSocket; - /** - * Provides miscellaneous information about the current state of the`Http2Session`. - * - * An object describing the current status of this `Http2Session`. - * @since v8.4.0 - */ - readonly state: SessionState; - /** - * The `http2session.type` will be equal to`http2.constants.NGHTTP2_SESSION_SERVER` if this `Http2Session` instance is a - * server, and `http2.constants.NGHTTP2_SESSION_CLIENT` if the instance is a - * client. - * @since v8.4.0 - */ - readonly type: number; - /** - * Gracefully closes the `Http2Session`, allowing any existing streams to - * complete on their own and preventing new `Http2Stream` instances from being - * created. Once closed, `http2session.destroy()`_might_ be called if there - * are no open `Http2Stream` instances. - * - * If specified, the `callback` function is registered as a handler for the`'close'` event. - * @since v9.4.0 - */ - close(callback?: () => void): void; - /** - * Immediately terminates the `Http2Session` and the associated `net.Socket` or`tls.TLSSocket`. - * - * Once destroyed, the `Http2Session` will emit the `'close'` event. If `error`is not undefined, an `'error'` event will be emitted immediately before the`'close'` event. - * - * If there are any remaining open `Http2Streams` associated with the`Http2Session`, those will also be destroyed. - * @since v8.4.0 - * @param error An `Error` object if the `Http2Session` is being destroyed due to an error. - * @param code The HTTP/2 error code to send in the final `GOAWAY` frame. If unspecified, and `error` is not undefined, the default is `INTERNAL_ERROR`, otherwise defaults to `NO_ERROR`. - */ - destroy(error?: Error, code?: number): void; - /** - * Transmits a `GOAWAY` frame to the connected peer _without_ shutting down the`Http2Session`. - * @since v9.4.0 - * @param code An HTTP/2 error code - * @param lastStreamID The numeric ID of the last processed `Http2Stream` - * @param opaqueData A `TypedArray` or `DataView` instance containing additional data to be carried within the `GOAWAY` frame. - */ - goaway(code?: number, lastStreamID?: number, opaqueData?: NodeJS.ArrayBufferView): void; - /** - * Sends a `PING` frame to the connected HTTP/2 peer. A `callback` function must - * be provided. The method will return `true` if the `PING` was sent, `false`otherwise. - * - * The maximum number of outstanding (unacknowledged) pings is determined by the`maxOutstandingPings` configuration option. The default maximum is 10. - * - * If provided, the `payload` must be a `Buffer`, `TypedArray`, or `DataView`containing 8 bytes of data that will be transmitted with the `PING` and - * returned with the ping acknowledgment. - * - * The callback will be invoked with three arguments: an error argument that will - * be `null` if the `PING` was successfully acknowledged, a `duration` argument - * that reports the number of milliseconds elapsed since the ping was sent and the - * acknowledgment was received, and a `Buffer` containing the 8-byte `PING`payload. - * - * ```js - * session.ping(Buffer.from('abcdefgh'), (err, duration, payload) => { - * if (!err) { - * console.log(`Ping acknowledged in ${duration} milliseconds`); - * console.log(`With payload '${payload.toString()}'`); - * } - * }); - * ``` - * - * If the `payload` argument is not specified, the default payload will be the - * 64-bit timestamp (little endian) marking the start of the `PING` duration. - * @since v8.9.3 - * @param payload Optional ping payload. - */ - ping(callback: (err: Error | null, duration: number, payload: Buffer) => void): boolean; - ping( - payload: NodeJS.ArrayBufferView, - callback: (err: Error | null, duration: number, payload: Buffer) => void, - ): boolean; - /** - * Calls `ref()` on this `Http2Session`instance's underlying `net.Socket`. - * @since v9.4.0 - */ - ref(): void; - /** - * Sets the local endpoint's window size. - * The `windowSize` is the total window size to set, not - * the delta. - * - * ```js - * const http2 = require('node:http2'); - * - * const server = http2.createServer(); - * const expectedWindowSize = 2 ** 20; - * server.on('connect', (session) => { - * - * // Set local window size to be 2 ** 20 - * session.setLocalWindowSize(expectedWindowSize); - * }); - * ``` - * @since v15.3.0, v14.18.0 - */ - setLocalWindowSize(windowSize: number): void; - /** - * Used to set a callback function that is called when there is no activity on - * the `Http2Session` after `msecs` milliseconds. The given `callback` is - * registered as a listener on the `'timeout'` event. - * @since v8.4.0 - */ - setTimeout(msecs: number, callback?: () => void): void; - /** - * Updates the current local settings for this `Http2Session` and sends a new`SETTINGS` frame to the connected HTTP/2 peer. - * - * Once called, the `http2session.pendingSettingsAck` property will be `true`while the session is waiting for the remote peer to acknowledge the new - * settings. - * - * The new settings will not become effective until the `SETTINGS` acknowledgment - * is received and the `'localSettings'` event is emitted. It is possible to send - * multiple `SETTINGS` frames while acknowledgment is still pending. - * @since v8.4.0 - * @param callback Callback that is called once the session is connected or right away if the session is already connected. - */ - settings( - settings: Settings, - callback?: (err: Error | null, settings: Settings, duration: number) => void, - ): void; - /** - * Calls `unref()` on this `Http2Session`instance's underlying `net.Socket`. - * @since v9.4.0 - */ - unref(): void; - addListener(event: "close", listener: () => void): this; - addListener(event: "error", listener: (err: Error) => void): this; - addListener( - event: "frameError", - listener: (frameType: number, errorCode: number, streamID: number) => void, - ): this; - addListener( - event: "goaway", - listener: (errorCode: number, lastStreamID: number, opaqueData?: Buffer) => void, - ): this; - addListener(event: "localSettings", listener: (settings: Settings) => void): this; - addListener(event: "ping", listener: () => void): this; - addListener(event: "remoteSettings", listener: (settings: Settings) => void): this; - addListener(event: "timeout", listener: () => void): this; - addListener(event: string | symbol, listener: (...args: any[]) => void): this; - emit(event: "close"): boolean; - emit(event: "error", err: Error): boolean; - emit(event: "frameError", frameType: number, errorCode: number, streamID: number): boolean; - emit(event: "goaway", errorCode: number, lastStreamID: number, opaqueData?: Buffer): boolean; - emit(event: "localSettings", settings: Settings): boolean; - emit(event: "ping"): boolean; - emit(event: "remoteSettings", settings: Settings): boolean; - emit(event: "timeout"): boolean; - emit(event: string | symbol, ...args: any[]): boolean; - on(event: "close", listener: () => void): this; - on(event: "error", listener: (err: Error) => void): this; - on(event: "frameError", listener: (frameType: number, errorCode: number, streamID: number) => void): this; - on(event: "goaway", listener: (errorCode: number, lastStreamID: number, opaqueData?: Buffer) => void): this; - on(event: "localSettings", listener: (settings: Settings) => void): this; - on(event: "ping", listener: () => void): this; - on(event: "remoteSettings", listener: (settings: Settings) => void): this; - on(event: "timeout", listener: () => void): this; - on(event: string | symbol, listener: (...args: any[]) => void): this; - once(event: "close", listener: () => void): this; - once(event: "error", listener: (err: Error) => void): this; - once(event: "frameError", listener: (frameType: number, errorCode: number, streamID: number) => void): this; - once(event: "goaway", listener: (errorCode: number, lastStreamID: number, opaqueData?: Buffer) => void): this; - once(event: "localSettings", listener: (settings: Settings) => void): this; - once(event: "ping", listener: () => void): this; - once(event: "remoteSettings", listener: (settings: Settings) => void): this; - once(event: "timeout", listener: () => void): this; - once(event: string | symbol, listener: (...args: any[]) => void): this; - prependListener(event: "close", listener: () => void): this; - prependListener(event: "error", listener: (err: Error) => void): this; - prependListener( - event: "frameError", - listener: (frameType: number, errorCode: number, streamID: number) => void, - ): this; - prependListener( - event: "goaway", - listener: (errorCode: number, lastStreamID: number, opaqueData?: Buffer) => void, - ): this; - prependListener(event: "localSettings", listener: (settings: Settings) => void): this; - prependListener(event: "ping", listener: () => void): this; - prependListener(event: "remoteSettings", listener: (settings: Settings) => void): this; - prependListener(event: "timeout", listener: () => void): this; - prependListener(event: string | symbol, listener: (...args: any[]) => void): this; - prependOnceListener(event: "close", listener: () => void): this; - prependOnceListener(event: "error", listener: (err: Error) => void): this; - prependOnceListener( - event: "frameError", - listener: (frameType: number, errorCode: number, streamID: number) => void, - ): this; - prependOnceListener( - event: "goaway", - listener: (errorCode: number, lastStreamID: number, opaqueData?: Buffer) => void, - ): this; - prependOnceListener(event: "localSettings", listener: (settings: Settings) => void): this; - prependOnceListener(event: "ping", listener: () => void): this; - prependOnceListener(event: "remoteSettings", listener: (settings: Settings) => void): this; - prependOnceListener(event: "timeout", listener: () => void): this; - prependOnceListener(event: string | symbol, listener: (...args: any[]) => void): this; - } - export interface ClientHttp2Session extends Http2Session { - /** - * For HTTP/2 Client `Http2Session` instances only, the `http2session.request()`creates and returns an `Http2Stream` instance that can be used to send an - * HTTP/2 request to the connected server. - * - * When a `ClientHttp2Session` is first created, the socket may not yet be - * connected. if `clienthttp2session.request()` is called during this time, the - * actual request will be deferred until the socket is ready to go. - * If the `session` is closed before the actual request be executed, an`ERR_HTTP2_GOAWAY_SESSION` is thrown. - * - * This method is only available if `http2session.type` is equal to`http2.constants.NGHTTP2_SESSION_CLIENT`. - * - * ```js - * const http2 = require('node:http2'); - * const clientSession = http2.connect('https://localhost:1234'); - * const { - * HTTP2_HEADER_PATH, - * HTTP2_HEADER_STATUS, - * } = http2.constants; - * - * const req = clientSession.request({ [HTTP2_HEADER_PATH]: '/' }); - * req.on('response', (headers) => { - * console.log(headers[HTTP2_HEADER_STATUS]); - * req.on('data', (chunk) => { // .. }); - * req.on('end', () => { // .. }); - * }); - * ``` - * - * When the `options.waitForTrailers` option is set, the `'wantTrailers'` event - * is emitted immediately after queuing the last chunk of payload data to be sent. - * The `http2stream.sendTrailers()` method can then be called to send trailing - * headers to the peer. - * - * When `options.waitForTrailers` is set, the `Http2Stream` will not automatically - * close when the final `DATA` frame is transmitted. User code must call either`http2stream.sendTrailers()` or `http2stream.close()` to close the`Http2Stream`. - * - * When `options.signal` is set with an `AbortSignal` and then `abort` on the - * corresponding `AbortController` is called, the request will emit an `'error'`event with an `AbortError` error. - * - * The `:method` and `:path` pseudo-headers are not specified within `headers`, - * they respectively default to: - * - * * `:method` \= `'GET'` - * * `:path` \= `/` - * @since v8.4.0 - */ - request(headers?: OutgoingHttpHeaders, options?: ClientSessionRequestOptions): ClientHttp2Stream; - addListener(event: "altsvc", listener: (alt: string, origin: string, stream: number) => void): this; - addListener(event: "origin", listener: (origins: string[]) => void): this; - addListener( - event: "connect", - listener: (session: ClientHttp2Session, socket: net.Socket | tls.TLSSocket) => void, - ): this; - addListener( - event: "stream", - listener: ( - stream: ClientHttp2Stream, - headers: IncomingHttpHeaders & IncomingHttpStatusHeader, - flags: number, - ) => void, - ): this; - addListener(event: string | symbol, listener: (...args: any[]) => void): this; - emit(event: "altsvc", alt: string, origin: string, stream: number): boolean; - emit(event: "origin", origins: readonly string[]): boolean; - emit(event: "connect", session: ClientHttp2Session, socket: net.Socket | tls.TLSSocket): boolean; - emit( - event: "stream", - stream: ClientHttp2Stream, - headers: IncomingHttpHeaders & IncomingHttpStatusHeader, - flags: number, - ): boolean; - emit(event: string | symbol, ...args: any[]): boolean; - on(event: "altsvc", listener: (alt: string, origin: string, stream: number) => void): this; - on(event: "origin", listener: (origins: string[]) => void): this; - on(event: "connect", listener: (session: ClientHttp2Session, socket: net.Socket | tls.TLSSocket) => void): this; - on( - event: "stream", - listener: ( - stream: ClientHttp2Stream, - headers: IncomingHttpHeaders & IncomingHttpStatusHeader, - flags: number, - ) => void, - ): this; - on(event: string | symbol, listener: (...args: any[]) => void): this; - once(event: "altsvc", listener: (alt: string, origin: string, stream: number) => void): this; - once(event: "origin", listener: (origins: string[]) => void): this; - once( - event: "connect", - listener: (session: ClientHttp2Session, socket: net.Socket | tls.TLSSocket) => void, - ): this; - once( - event: "stream", - listener: ( - stream: ClientHttp2Stream, - headers: IncomingHttpHeaders & IncomingHttpStatusHeader, - flags: number, - ) => void, - ): this; - once(event: string | symbol, listener: (...args: any[]) => void): this; - prependListener(event: "altsvc", listener: (alt: string, origin: string, stream: number) => void): this; - prependListener(event: "origin", listener: (origins: string[]) => void): this; - prependListener( - event: "connect", - listener: (session: ClientHttp2Session, socket: net.Socket | tls.TLSSocket) => void, - ): this; - prependListener( - event: "stream", - listener: ( - stream: ClientHttp2Stream, - headers: IncomingHttpHeaders & IncomingHttpStatusHeader, - flags: number, - ) => void, - ): this; - prependListener(event: string | symbol, listener: (...args: any[]) => void): this; - prependOnceListener(event: "altsvc", listener: (alt: string, origin: string, stream: number) => void): this; - prependOnceListener(event: "origin", listener: (origins: string[]) => void): this; - prependOnceListener( - event: "connect", - listener: (session: ClientHttp2Session, socket: net.Socket | tls.TLSSocket) => void, - ): this; - prependOnceListener( - event: "stream", - listener: ( - stream: ClientHttp2Stream, - headers: IncomingHttpHeaders & IncomingHttpStatusHeader, - flags: number, - ) => void, - ): this; - prependOnceListener(event: string | symbol, listener: (...args: any[]) => void): this; - } - export interface AlternativeServiceOptions { - origin: number | string | url.URL; - } - export interface ServerHttp2Session extends Http2Session { - readonly server: Http2Server | Http2SecureServer; - /** - * Submits an `ALTSVC` frame (as defined by [RFC 7838](https://tools.ietf.org/html/rfc7838)) to the connected client. - * - * ```js - * const http2 = require('node:http2'); - * - * const server = http2.createServer(); - * server.on('session', (session) => { - * // Set altsvc for origin https://example.org:80 - * session.altsvc('h2=":8000"', 'https://example.org:80'); - * }); - * - * server.on('stream', (stream) => { - * // Set altsvc for a specific stream - * stream.session.altsvc('h2=":8000"', stream.id); - * }); - * ``` - * - * Sending an `ALTSVC` frame with a specific stream ID indicates that the alternate - * service is associated with the origin of the given `Http2Stream`. - * - * The `alt` and origin string _must_ contain only ASCII bytes and are - * strictly interpreted as a sequence of ASCII bytes. The special value `'clear'`may be passed to clear any previously set alternative service for a given - * domain. - * - * When a string is passed for the `originOrStream` argument, it will be parsed as - * a URL and the origin will be derived. For instance, the origin for the - * HTTP URL `'https://example.org/foo/bar'` is the ASCII string`'https://example.org'`. An error will be thrown if either the given string - * cannot be parsed as a URL or if a valid origin cannot be derived. - * - * A `URL` object, or any object with an `origin` property, may be passed as`originOrStream`, in which case the value of the `origin` property will be - * used. The value of the `origin` property _must_ be a properly serialized - * ASCII origin. - * @since v9.4.0 - * @param alt A description of the alternative service configuration as defined by `RFC 7838`. - * @param originOrStream Either a URL string specifying the origin (or an `Object` with an `origin` property) or the numeric identifier of an active `Http2Stream` as given by the - * `http2stream.id` property. - */ - altsvc(alt: string, originOrStream: number | string | url.URL | AlternativeServiceOptions): void; - /** - * Submits an `ORIGIN` frame (as defined by [RFC 8336](https://tools.ietf.org/html/rfc8336)) to the connected client - * to advertise the set of origins for which the server is capable of providing - * authoritative responses. - * - * ```js - * const http2 = require('node:http2'); - * const options = getSecureOptionsSomehow(); - * const server = http2.createSecureServer(options); - * server.on('stream', (stream) => { - * stream.respond(); - * stream.end('ok'); - * }); - * server.on('session', (session) => { - * session.origin('https://example.com', 'https://example.org'); - * }); - * ``` - * - * When a string is passed as an `origin`, it will be parsed as a URL and the - * origin will be derived. For instance, the origin for the HTTP URL`'https://example.org/foo/bar'` is the ASCII string`'https://example.org'`. An error will be thrown if either the given - * string - * cannot be parsed as a URL or if a valid origin cannot be derived. - * - * A `URL` object, or any object with an `origin` property, may be passed as - * an `origin`, in which case the value of the `origin` property will be - * used. The value of the `origin` property _must_ be a properly serialized - * ASCII origin. - * - * Alternatively, the `origins` option may be used when creating a new HTTP/2 - * server using the `http2.createSecureServer()` method: - * - * ```js - * const http2 = require('node:http2'); - * const options = getSecureOptionsSomehow(); - * options.origins = ['https://example.com', 'https://example.org']; - * const server = http2.createSecureServer(options); - * server.on('stream', (stream) => { - * stream.respond(); - * stream.end('ok'); - * }); - * ``` - * @since v10.12.0 - * @param origins One or more URL Strings passed as separate arguments. - */ - origin( - ...origins: Array< - | string - | url.URL - | { - origin: string; - } - > - ): void; - addListener( - event: "connect", - listener: (session: ServerHttp2Session, socket: net.Socket | tls.TLSSocket) => void, - ): this; - addListener( - event: "stream", - listener: (stream: ServerHttp2Stream, headers: IncomingHttpHeaders, flags: number) => void, - ): this; - addListener(event: string | symbol, listener: (...args: any[]) => void): this; - emit(event: "connect", session: ServerHttp2Session, socket: net.Socket | tls.TLSSocket): boolean; - emit(event: "stream", stream: ServerHttp2Stream, headers: IncomingHttpHeaders, flags: number): boolean; - emit(event: string | symbol, ...args: any[]): boolean; - on(event: "connect", listener: (session: ServerHttp2Session, socket: net.Socket | tls.TLSSocket) => void): this; - on( - event: "stream", - listener: (stream: ServerHttp2Stream, headers: IncomingHttpHeaders, flags: number) => void, - ): this; - on(event: string | symbol, listener: (...args: any[]) => void): this; - once( - event: "connect", - listener: (session: ServerHttp2Session, socket: net.Socket | tls.TLSSocket) => void, - ): this; - once( - event: "stream", - listener: (stream: ServerHttp2Stream, headers: IncomingHttpHeaders, flags: number) => void, - ): this; - once(event: string | symbol, listener: (...args: any[]) => void): this; - prependListener( - event: "connect", - listener: (session: ServerHttp2Session, socket: net.Socket | tls.TLSSocket) => void, - ): this; - prependListener( - event: "stream", - listener: (stream: ServerHttp2Stream, headers: IncomingHttpHeaders, flags: number) => void, - ): this; - prependListener(event: string | symbol, listener: (...args: any[]) => void): this; - prependOnceListener( - event: "connect", - listener: (session: ServerHttp2Session, socket: net.Socket | tls.TLSSocket) => void, - ): this; - prependOnceListener( - event: "stream", - listener: (stream: ServerHttp2Stream, headers: IncomingHttpHeaders, flags: number) => void, - ): this; - prependOnceListener(event: string | symbol, listener: (...args: any[]) => void): this; - } - // Http2Server - export interface SessionOptions { - maxDeflateDynamicTableSize?: number | undefined; - maxSessionMemory?: number | undefined; - maxHeaderListPairs?: number | undefined; - maxOutstandingPings?: number | undefined; - maxSendHeaderBlockLength?: number | undefined; - paddingStrategy?: number | undefined; - peerMaxConcurrentStreams?: number | undefined; - settings?: Settings | undefined; - /** - * Specifies a timeout in milliseconds that - * a server should wait when an [`'unknownProtocol'`][] is emitted. If the - * socket has not been destroyed by that time the server will destroy it. - * @default 100000 - */ - unknownProtocolTimeout?: number | undefined; - selectPadding?(frameLen: number, maxFrameLen: number): number; - } - export interface ClientSessionOptions extends SessionOptions { - maxReservedRemoteStreams?: number | undefined; - createConnection?: ((authority: url.URL, option: SessionOptions) => stream.Duplex) | undefined; - protocol?: "http:" | "https:" | undefined; - } - export interface ServerSessionOptions extends SessionOptions { - Http1IncomingMessage?: typeof IncomingMessage | undefined; - Http1ServerResponse?: typeof ServerResponse | undefined; - Http2ServerRequest?: typeof Http2ServerRequest | undefined; - Http2ServerResponse?: typeof Http2ServerResponse | undefined; - } - export interface SecureClientSessionOptions extends ClientSessionOptions, tls.ConnectionOptions {} - export interface SecureServerSessionOptions extends ServerSessionOptions, tls.TlsOptions {} - export interface ServerOptions extends ServerSessionOptions {} - export interface SecureServerOptions extends SecureServerSessionOptions { - allowHTTP1?: boolean | undefined; - origins?: string[] | undefined; - } - interface HTTP2ServerCommon { - setTimeout(msec?: number, callback?: () => void): this; - /** - * Throws ERR_HTTP2_INVALID_SETTING_VALUE for invalid settings values. - * Throws ERR_INVALID_ARG_TYPE for invalid settings argument. - */ - updateSettings(settings: Settings): void; - } - export interface Http2Server extends net.Server, HTTP2ServerCommon { - addListener( - event: "checkContinue", - listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void, - ): this; - addListener( - event: "request", - listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void, - ): this; - addListener(event: "session", listener: (session: ServerHttp2Session) => void): this; - addListener(event: "sessionError", listener: (err: Error) => void): this; - addListener( - event: "stream", - listener: (stream: ServerHttp2Stream, headers: IncomingHttpHeaders, flags: number) => void, - ): this; - addListener(event: "timeout", listener: () => void): this; - addListener(event: string | symbol, listener: (...args: any[]) => void): this; - emit(event: "checkContinue", request: Http2ServerRequest, response: Http2ServerResponse): boolean; - emit(event: "request", request: Http2ServerRequest, response: Http2ServerResponse): boolean; - emit(event: "session", session: ServerHttp2Session): boolean; - emit(event: "sessionError", err: Error): boolean; - emit(event: "stream", stream: ServerHttp2Stream, headers: IncomingHttpHeaders, flags: number): boolean; - emit(event: "timeout"): boolean; - emit(event: string | symbol, ...args: any[]): boolean; - on( - event: "checkContinue", - listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void, - ): this; - on(event: "request", listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void): this; - on(event: "session", listener: (session: ServerHttp2Session) => void): this; - on(event: "sessionError", listener: (err: Error) => void): this; - on( - event: "stream", - listener: (stream: ServerHttp2Stream, headers: IncomingHttpHeaders, flags: number) => void, - ): this; - on(event: "timeout", listener: () => void): this; - on(event: string | symbol, listener: (...args: any[]) => void): this; - once( - event: "checkContinue", - listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void, - ): this; - once(event: "request", listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void): this; - once(event: "session", listener: (session: ServerHttp2Session) => void): this; - once(event: "sessionError", listener: (err: Error) => void): this; - once( - event: "stream", - listener: (stream: ServerHttp2Stream, headers: IncomingHttpHeaders, flags: number) => void, - ): this; - once(event: "timeout", listener: () => void): this; - once(event: string | symbol, listener: (...args: any[]) => void): this; - prependListener( - event: "checkContinue", - listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void, - ): this; - prependListener( - event: "request", - listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void, - ): this; - prependListener(event: "session", listener: (session: ServerHttp2Session) => void): this; - prependListener(event: "sessionError", listener: (err: Error) => void): this; - prependListener( - event: "stream", - listener: (stream: ServerHttp2Stream, headers: IncomingHttpHeaders, flags: number) => void, - ): this; - prependListener(event: "timeout", listener: () => void): this; - prependListener(event: string | symbol, listener: (...args: any[]) => void): this; - prependOnceListener( - event: "checkContinue", - listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void, - ): this; - prependOnceListener( - event: "request", - listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void, - ): this; - prependOnceListener(event: "session", listener: (session: ServerHttp2Session) => void): this; - prependOnceListener(event: "sessionError", listener: (err: Error) => void): this; - prependOnceListener( - event: "stream", - listener: (stream: ServerHttp2Stream, headers: IncomingHttpHeaders, flags: number) => void, - ): this; - prependOnceListener(event: "timeout", listener: () => void): this; - prependOnceListener(event: string | symbol, listener: (...args: any[]) => void): this; - } - export interface Http2SecureServer extends tls.Server, HTTP2ServerCommon { - addListener( - event: "checkContinue", - listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void, - ): this; - addListener( - event: "request", - listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void, - ): this; - addListener(event: "session", listener: (session: ServerHttp2Session) => void): this; - addListener(event: "sessionError", listener: (err: Error) => void): this; - addListener( - event: "stream", - listener: (stream: ServerHttp2Stream, headers: IncomingHttpHeaders, flags: number) => void, - ): this; - addListener(event: "timeout", listener: () => void): this; - addListener(event: "unknownProtocol", listener: (socket: tls.TLSSocket) => void): this; - addListener(event: string | symbol, listener: (...args: any[]) => void): this; - emit(event: "checkContinue", request: Http2ServerRequest, response: Http2ServerResponse): boolean; - emit(event: "request", request: Http2ServerRequest, response: Http2ServerResponse): boolean; - emit(event: "session", session: ServerHttp2Session): boolean; - emit(event: "sessionError", err: Error): boolean; - emit(event: "stream", stream: ServerHttp2Stream, headers: IncomingHttpHeaders, flags: number): boolean; - emit(event: "timeout"): boolean; - emit(event: "unknownProtocol", socket: tls.TLSSocket): boolean; - emit(event: string | symbol, ...args: any[]): boolean; - on( - event: "checkContinue", - listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void, - ): this; - on(event: "request", listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void): this; - on(event: "session", listener: (session: ServerHttp2Session) => void): this; - on(event: "sessionError", listener: (err: Error) => void): this; - on( - event: "stream", - listener: (stream: ServerHttp2Stream, headers: IncomingHttpHeaders, flags: number) => void, - ): this; - on(event: "timeout", listener: () => void): this; - on(event: "unknownProtocol", listener: (socket: tls.TLSSocket) => void): this; - on(event: string | symbol, listener: (...args: any[]) => void): this; - once( - event: "checkContinue", - listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void, - ): this; - once(event: "request", listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void): this; - once(event: "session", listener: (session: ServerHttp2Session) => void): this; - once(event: "sessionError", listener: (err: Error) => void): this; - once( - event: "stream", - listener: (stream: ServerHttp2Stream, headers: IncomingHttpHeaders, flags: number) => void, - ): this; - once(event: "timeout", listener: () => void): this; - once(event: "unknownProtocol", listener: (socket: tls.TLSSocket) => void): this; - once(event: string | symbol, listener: (...args: any[]) => void): this; - prependListener( - event: "checkContinue", - listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void, - ): this; - prependListener( - event: "request", - listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void, - ): this; - prependListener(event: "session", listener: (session: ServerHttp2Session) => void): this; - prependListener(event: "sessionError", listener: (err: Error) => void): this; - prependListener( - event: "stream", - listener: (stream: ServerHttp2Stream, headers: IncomingHttpHeaders, flags: number) => void, - ): this; - prependListener(event: "timeout", listener: () => void): this; - prependListener(event: "unknownProtocol", listener: (socket: tls.TLSSocket) => void): this; - prependListener(event: string | symbol, listener: (...args: any[]) => void): this; - prependOnceListener( - event: "checkContinue", - listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void, - ): this; - prependOnceListener( - event: "request", - listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void, - ): this; - prependOnceListener(event: "session", listener: (session: ServerHttp2Session) => void): this; - prependOnceListener(event: "sessionError", listener: (err: Error) => void): this; - prependOnceListener( - event: "stream", - listener: (stream: ServerHttp2Stream, headers: IncomingHttpHeaders, flags: number) => void, - ): this; - prependOnceListener(event: "timeout", listener: () => void): this; - prependOnceListener(event: "unknownProtocol", listener: (socket: tls.TLSSocket) => void): this; - prependOnceListener(event: string | symbol, listener: (...args: any[]) => void): this; - } - /** - * A `Http2ServerRequest` object is created by {@link Server} or {@link SecureServer} and passed as the first argument to the `'request'` event. It may be used to access a request status, - * headers, and - * data. - * @since v8.4.0 - */ - export class Http2ServerRequest extends stream.Readable { - constructor( - stream: ServerHttp2Stream, - headers: IncomingHttpHeaders, - options: stream.ReadableOptions, - rawHeaders: readonly string[], - ); - /** - * The `request.aborted` property will be `true` if the request has - * been aborted. - * @since v10.1.0 - */ - readonly aborted: boolean; - /** - * The request authority pseudo header field. Because HTTP/2 allows requests - * to set either `:authority` or `host`, this value is derived from`req.headers[':authority']` if present. Otherwise, it is derived from`req.headers['host']`. - * @since v8.4.0 - */ - readonly authority: string; - /** - * See `request.socket`. - * @since v8.4.0 - * @deprecated Since v13.0.0 - Use `socket`. - */ - readonly connection: net.Socket | tls.TLSSocket; - /** - * The `request.complete` property will be `true` if the request has - * been completed, aborted, or destroyed. - * @since v12.10.0 - */ - readonly complete: boolean; - /** - * The request/response headers object. - * - * Key-value pairs of header names and values. Header names are lower-cased. - * - * ```js - * // Prints something like: - * // - * // { 'user-agent': 'curl/7.22.0', - * // host: '127.0.0.1:8000', - * // accept: '*' } - * console.log(request.headers); - * ``` - * - * See `HTTP/2 Headers Object`. - * - * In HTTP/2, the request path, host name, protocol, and method are represented as - * special headers prefixed with the `:` character (e.g. `':path'`). These special - * headers will be included in the `request.headers` object. Care must be taken not - * to inadvertently modify these special headers or errors may occur. For instance, - * removing all headers from the request will cause errors to occur: - * - * ```js - * removeAllHeaders(request.headers); - * assert(request.url); // Fails because the :path header has been removed - * ``` - * @since v8.4.0 - */ - readonly headers: IncomingHttpHeaders; - /** - * In case of server request, the HTTP version sent by the client. In the case of - * client response, the HTTP version of the connected-to server. Returns`'2.0'`. - * - * Also `message.httpVersionMajor` is the first integer and`message.httpVersionMinor` is the second. - * @since v8.4.0 - */ - readonly httpVersion: string; - readonly httpVersionMinor: number; - readonly httpVersionMajor: number; - /** - * The request method as a string. Read-only. Examples: `'GET'`, `'DELETE'`. - * @since v8.4.0 - */ - readonly method: string; - /** - * The raw request/response headers list exactly as they were received. - * - * The keys and values are in the same list. It is _not_ a - * list of tuples. So, the even-numbered offsets are key values, and the - * odd-numbered offsets are the associated values. - * - * Header names are not lowercased, and duplicates are not merged. - * - * ```js - * // Prints something like: - * // - * // [ 'user-agent', - * // 'this is invalid because there can be only one', - * // 'User-Agent', - * // 'curl/7.22.0', - * // 'Host', - * // '127.0.0.1:8000', - * // 'ACCEPT', - * // '*' ] - * console.log(request.rawHeaders); - * ``` - * @since v8.4.0 - */ - readonly rawHeaders: string[]; - /** - * The raw request/response trailer keys and values exactly as they were - * received. Only populated at the `'end'` event. - * @since v8.4.0 - */ - readonly rawTrailers: string[]; - /** - * The request scheme pseudo header field indicating the scheme - * portion of the target URL. - * @since v8.4.0 - */ - readonly scheme: string; - /** - * Returns a `Proxy` object that acts as a `net.Socket` (or `tls.TLSSocket`) but - * applies getters, setters, and methods based on HTTP/2 logic. - * - * `destroyed`, `readable`, and `writable` properties will be retrieved from and - * set on `request.stream`. - * - * `destroy`, `emit`, `end`, `on` and `once` methods will be called on`request.stream`. - * - * `setTimeout` method will be called on `request.stream.session`. - * - * `pause`, `read`, `resume`, and `write` will throw an error with code`ERR_HTTP2_NO_SOCKET_MANIPULATION`. See `Http2Session and Sockets` for - * more information. - * - * All other interactions will be routed directly to the socket. With TLS support, - * use `request.socket.getPeerCertificate()` to obtain the client's - * authentication details. - * @since v8.4.0 - */ - readonly socket: net.Socket | tls.TLSSocket; - /** - * The `Http2Stream` object backing the request. - * @since v8.4.0 - */ - readonly stream: ServerHttp2Stream; - /** - * The request/response trailers object. Only populated at the `'end'` event. - * @since v8.4.0 - */ - readonly trailers: IncomingHttpHeaders; - /** - * Request URL string. This contains only the URL that is present in the actual - * HTTP request. If the request is: - * - * ```http - * GET /status?name=ryan HTTP/1.1 - * Accept: text/plain - * ``` - * - * Then `request.url` will be: - * - * ```js - * '/status?name=ryan' - * ``` - * - * To parse the url into its parts, `new URL()` can be used: - * - * ```console - * $ node - * > new URL('/status?name=ryan', 'http://example.com') - * URL { - * href: 'http://example.com/status?name=ryan', - * origin: 'http://example.com', - * protocol: 'http:', - * username: '', - * password: '', - * host: 'example.com', - * hostname: 'example.com', - * port: '', - * pathname: '/status', - * search: '?name=ryan', - * searchParams: URLSearchParams { 'name' => 'ryan' }, - * hash: '' - * } - * ``` - * @since v8.4.0 - */ - url: string; - /** - * Sets the `Http2Stream`'s timeout value to `msecs`. If a callback is - * provided, then it is added as a listener on the `'timeout'` event on - * the response object. - * - * If no `'timeout'` listener is added to the request, the response, or - * the server, then `Http2Stream` s are destroyed when they time out. If a - * handler is assigned to the request, the response, or the server's `'timeout'`events, timed out sockets must be handled explicitly. - * @since v8.4.0 - */ - setTimeout(msecs: number, callback?: () => void): void; - read(size?: number): Buffer | string | null; - addListener(event: "aborted", listener: (hadError: boolean, code: number) => void): this; - addListener(event: "close", listener: () => void): this; - addListener(event: "data", listener: (chunk: Buffer | string) => void): this; - addListener(event: "end", listener: () => void): this; - addListener(event: "readable", listener: () => void): this; - addListener(event: "error", listener: (err: Error) => void): this; - addListener(event: string | symbol, listener: (...args: any[]) => void): this; - emit(event: "aborted", hadError: boolean, code: number): boolean; - emit(event: "close"): boolean; - emit(event: "data", chunk: Buffer | string): boolean; - emit(event: "end"): boolean; - emit(event: "readable"): boolean; - emit(event: "error", err: Error): boolean; - emit(event: string | symbol, ...args: any[]): boolean; - on(event: "aborted", listener: (hadError: boolean, code: number) => void): this; - on(event: "close", listener: () => void): this; - on(event: "data", listener: (chunk: Buffer | string) => void): this; - on(event: "end", listener: () => void): this; - on(event: "readable", listener: () => void): this; - on(event: "error", listener: (err: Error) => void): this; - on(event: string | symbol, listener: (...args: any[]) => void): this; - once(event: "aborted", listener: (hadError: boolean, code: number) => void): this; - once(event: "close", listener: () => void): this; - once(event: "data", listener: (chunk: Buffer | string) => void): this; - once(event: "end", listener: () => void): this; - once(event: "readable", listener: () => void): this; - once(event: "error", listener: (err: Error) => void): this; - once(event: string | symbol, listener: (...args: any[]) => void): this; - prependListener(event: "aborted", listener: (hadError: boolean, code: number) => void): this; - prependListener(event: "close", listener: () => void): this; - prependListener(event: "data", listener: (chunk: Buffer | string) => void): this; - prependListener(event: "end", listener: () => void): this; - prependListener(event: "readable", listener: () => void): this; - prependListener(event: "error", listener: (err: Error) => void): this; - prependListener(event: string | symbol, listener: (...args: any[]) => void): this; - prependOnceListener(event: "aborted", listener: (hadError: boolean, code: number) => void): this; - prependOnceListener(event: "close", listener: () => void): this; - prependOnceListener(event: "data", listener: (chunk: Buffer | string) => void): this; - prependOnceListener(event: "end", listener: () => void): this; - prependOnceListener(event: "readable", listener: () => void): this; - prependOnceListener(event: "error", listener: (err: Error) => void): this; - prependOnceListener(event: string | symbol, listener: (...args: any[]) => void): this; - } - /** - * This object is created internally by an HTTP server, not by the user. It is - * passed as the second parameter to the `'request'` event. - * @since v8.4.0 - */ - export class Http2ServerResponse extends stream.Writable { - constructor(stream: ServerHttp2Stream); - /** - * See `response.socket`. - * @since v8.4.0 - * @deprecated Since v13.0.0 - Use `socket`. - */ - readonly connection: net.Socket | tls.TLSSocket; - /** - * Boolean value that indicates whether the response has completed. Starts - * as `false`. After `response.end()` executes, the value will be `true`. - * @since v8.4.0 - * @deprecated Since v13.4.0,v12.16.0 - Use `writableEnded`. - */ - readonly finished: boolean; - /** - * True if headers were sent, false otherwise (read-only). - * @since v8.4.0 - */ - readonly headersSent: boolean; - /** - * A reference to the original HTTP2 `request` object. - * @since v15.7.0 - */ - readonly req: Http2ServerRequest; - /** - * Returns a `Proxy` object that acts as a `net.Socket` (or `tls.TLSSocket`) but - * applies getters, setters, and methods based on HTTP/2 logic. - * - * `destroyed`, `readable`, and `writable` properties will be retrieved from and - * set on `response.stream`. - * - * `destroy`, `emit`, `end`, `on` and `once` methods will be called on`response.stream`. - * - * `setTimeout` method will be called on `response.stream.session`. - * - * `pause`, `read`, `resume`, and `write` will throw an error with code`ERR_HTTP2_NO_SOCKET_MANIPULATION`. See `Http2Session and Sockets` for - * more information. - * - * All other interactions will be routed directly to the socket. - * - * ```js - * const http2 = require('node:http2'); - * const server = http2.createServer((req, res) => { - * const ip = req.socket.remoteAddress; - * const port = req.socket.remotePort; - * res.end(`Your IP address is ${ip} and your source port is ${port}.`); - * }).listen(3000); - * ``` - * @since v8.4.0 - */ - readonly socket: net.Socket | tls.TLSSocket; - /** - * The `Http2Stream` object backing the response. - * @since v8.4.0 - */ - readonly stream: ServerHttp2Stream; - /** - * When true, the Date header will be automatically generated and sent in - * the response if it is not already present in the headers. Defaults to true. - * - * This should only be disabled for testing; HTTP requires the Date header - * in responses. - * @since v8.4.0 - */ - sendDate: boolean; - /** - * When using implicit headers (not calling `response.writeHead()` explicitly), - * this property controls the status code that will be sent to the client when - * the headers get flushed. - * - * ```js - * response.statusCode = 404; - * ``` - * - * After response header was sent to the client, this property indicates the - * status code which was sent out. - * @since v8.4.0 - */ - statusCode: number; - /** - * Status message is not supported by HTTP/2 (RFC 7540 8.1.2.4). It returns - * an empty string. - * @since v8.4.0 - */ - statusMessage: ""; - /** - * This method adds HTTP trailing headers (a header but at the end of the - * message) to the response. - * - * Attempting to set a header field name or value that contains invalid characters - * will result in a `TypeError` being thrown. - * @since v8.4.0 - */ - addTrailers(trailers: OutgoingHttpHeaders): void; - /** - * This method signals to the server that all of the response headers and body - * have been sent; that server should consider this message complete. - * The method, `response.end()`, MUST be called on each response. - * - * If `data` is specified, it is equivalent to calling `response.write(data, encoding)` followed by `response.end(callback)`. - * - * If `callback` is specified, it will be called when the response stream - * is finished. - * @since v8.4.0 - */ - end(callback?: () => void): this; - end(data: string | Uint8Array, callback?: () => void): this; - end(data: string | Uint8Array, encoding: BufferEncoding, callback?: () => void): this; - /** - * Reads out a header that has already been queued but not sent to the client. - * The name is case-insensitive. - * - * ```js - * const contentType = response.getHeader('content-type'); - * ``` - * @since v8.4.0 - */ - getHeader(name: string): string; - /** - * Returns an array containing the unique names of the current outgoing headers. - * All header names are lowercase. - * - * ```js - * response.setHeader('Foo', 'bar'); - * response.setHeader('Set-Cookie', ['foo=bar', 'bar=baz']); - * - * const headerNames = response.getHeaderNames(); - * // headerNames === ['foo', 'set-cookie'] - * ``` - * @since v8.4.0 - */ - getHeaderNames(): string[]; - /** - * Returns a shallow copy of the current outgoing headers. Since a shallow copy - * is used, array values may be mutated without additional calls to various - * header-related http module methods. The keys of the returned object are the - * header names and the values are the respective header values. All header names - * are lowercase. - * - * The object returned by the `response.getHeaders()` method _does not_prototypically inherit from the JavaScript `Object`. This means that typical`Object` methods such as `obj.toString()`, - * `obj.hasOwnProperty()`, and others - * are not defined and _will not work_. - * - * ```js - * response.setHeader('Foo', 'bar'); - * response.setHeader('Set-Cookie', ['foo=bar', 'bar=baz']); - * - * const headers = response.getHeaders(); - * // headers === { foo: 'bar', 'set-cookie': ['foo=bar', 'bar=baz'] } - * ``` - * @since v8.4.0 - */ - getHeaders(): OutgoingHttpHeaders; - /** - * Returns `true` if the header identified by `name` is currently set in the - * outgoing headers. The header name matching is case-insensitive. - * - * ```js - * const hasContentType = response.hasHeader('content-type'); - * ``` - * @since v8.4.0 - */ - hasHeader(name: string): boolean; - /** - * Removes a header that has been queued for implicit sending. - * - * ```js - * response.removeHeader('Content-Encoding'); - * ``` - * @since v8.4.0 - */ - removeHeader(name: string): void; - /** - * Sets a single header value for implicit headers. If this header already exists - * in the to-be-sent headers, its value will be replaced. Use an array of strings - * here to send multiple headers with the same name. - * - * ```js - * response.setHeader('Content-Type', 'text/html; charset=utf-8'); - * ``` - * - * or - * - * ```js - * response.setHeader('Set-Cookie', ['type=ninja', 'language=javascript']); - * ``` - * - * Attempting to set a header field name or value that contains invalid characters - * will result in a `TypeError` being thrown. - * - * When headers have been set with `response.setHeader()`, they will be merged - * with any headers passed to `response.writeHead()`, with the headers passed - * to `response.writeHead()` given precedence. - * - * ```js - * // Returns content-type = text/plain - * const server = http2.createServer((req, res) => { - * res.setHeader('Content-Type', 'text/html; charset=utf-8'); - * res.setHeader('X-Foo', 'bar'); - * res.writeHead(200, { 'Content-Type': 'text/plain; charset=utf-8' }); - * res.end('ok'); - * }); - * ``` - * @since v8.4.0 - */ - setHeader(name: string, value: number | string | readonly string[]): void; - /** - * Sets the `Http2Stream`'s timeout value to `msecs`. If a callback is - * provided, then it is added as a listener on the `'timeout'` event on - * the response object. - * - * If no `'timeout'` listener is added to the request, the response, or - * the server, then `Http2Stream` s are destroyed when they time out. If a - * handler is assigned to the request, the response, or the server's `'timeout'`events, timed out sockets must be handled explicitly. - * @since v8.4.0 - */ - setTimeout(msecs: number, callback?: () => void): void; - /** - * If this method is called and `response.writeHead()` has not been called, - * it will switch to implicit header mode and flush the implicit headers. - * - * This sends a chunk of the response body. This method may - * be called multiple times to provide successive parts of the body. - * - * In the `node:http` module, the response body is omitted when the - * request is a HEAD request. Similarly, the `204` and `304` responses _must not_ include a message body. - * - * `chunk` can be a string or a buffer. If `chunk` is a string, - * the second parameter specifies how to encode it into a byte stream. - * By default the `encoding` is `'utf8'`. `callback` will be called when this chunk - * of data is flushed. - * - * This is the raw HTTP body and has nothing to do with higher-level multi-part - * body encodings that may be used. - * - * The first time `response.write()` is called, it will send the buffered - * header information and the first chunk of the body to the client. The second - * time `response.write()` is called, Node.js assumes data will be streamed, - * and sends the new data separately. That is, the response is buffered up to the - * first chunk of the body. - * - * Returns `true` if the entire data was flushed successfully to the kernel - * buffer. Returns `false` if all or part of the data was queued in user memory.`'drain'` will be emitted when the buffer is free again. - * @since v8.4.0 - */ - write(chunk: string | Uint8Array, callback?: (err: Error) => void): boolean; - write(chunk: string | Uint8Array, encoding: BufferEncoding, callback?: (err: Error) => void): boolean; - /** - * Sends a status `100 Continue` to the client, indicating that the request body - * should be sent. See the `'checkContinue'` event on `Http2Server` and`Http2SecureServer`. - * @since v8.4.0 - */ - writeContinue(): void; - /** - * Sends a status `103 Early Hints` to the client with a Link header, - * indicating that the user agent can preload/preconnect the linked resources. - * The `hints` is an object containing the values of headers to be sent with - * early hints message. - * - * **Example** - * - * ```js - * const earlyHintsLink = '; rel=preload; as=style'; - * response.writeEarlyHints({ - * 'link': earlyHintsLink, - * }); - * - * const earlyHintsLinks = [ - * '; rel=preload; as=style', - * '; rel=preload; as=script', - * ]; - * response.writeEarlyHints({ - * 'link': earlyHintsLinks, - * }); - * ``` - * @since v18.11.0 - */ - writeEarlyHints(hints: Record): void; - /** - * Sends a response header to the request. The status code is a 3-digit HTTP - * status code, like `404`. The last argument, `headers`, are the response headers. - * - * Returns a reference to the `Http2ServerResponse`, so that calls can be chained. - * - * For compatibility with `HTTP/1`, a human-readable `statusMessage` may be - * passed as the second argument. However, because the `statusMessage` has no - * meaning within HTTP/2, the argument will have no effect and a process warning - * will be emitted. - * - * ```js - * const body = 'hello world'; - * response.writeHead(200, { - * 'Content-Length': Buffer.byteLength(body), - * 'Content-Type': 'text/plain; charset=utf-8', - * }); - * ``` - * - * `Content-Length` is given in bytes not characters. The`Buffer.byteLength()` API may be used to determine the number of bytes in a - * given encoding. On outbound messages, Node.js does not check if Content-Length - * and the length of the body being transmitted are equal or not. However, when - * receiving messages, Node.js will automatically reject messages when the`Content-Length` does not match the actual payload size. - * - * This method may be called at most one time on a message before `response.end()` is called. - * - * If `response.write()` or `response.end()` are called before calling - * this, the implicit/mutable headers will be calculated and call this function. - * - * When headers have been set with `response.setHeader()`, they will be merged - * with any headers passed to `response.writeHead()`, with the headers passed - * to `response.writeHead()` given precedence. - * - * ```js - * // Returns content-type = text/plain - * const server = http2.createServer((req, res) => { - * res.setHeader('Content-Type', 'text/html; charset=utf-8'); - * res.setHeader('X-Foo', 'bar'); - * res.writeHead(200, { 'Content-Type': 'text/plain; charset=utf-8' }); - * res.end('ok'); - * }); - * ``` - * - * Attempting to set a header field name or value that contains invalid characters - * will result in a `TypeError` being thrown. - * @since v8.4.0 - */ - writeHead(statusCode: number, headers?: OutgoingHttpHeaders): this; - writeHead(statusCode: number, statusMessage: string, headers?: OutgoingHttpHeaders): this; - /** - * Call `http2stream.pushStream()` with the given headers, and wrap the - * given `Http2Stream` on a newly created `Http2ServerResponse` as the callback - * parameter if successful. When `Http2ServerRequest` is closed, the callback is - * called with an error `ERR_HTTP2_INVALID_STREAM`. - * @since v8.4.0 - * @param headers An object describing the headers - * @param callback Called once `http2stream.pushStream()` is finished, or either when the attempt to create the pushed `Http2Stream` has failed or has been rejected, or the state of - * `Http2ServerRequest` is closed prior to calling the `http2stream.pushStream()` method - */ - createPushResponse( - headers: OutgoingHttpHeaders, - callback: (err: Error | null, res: Http2ServerResponse) => void, - ): void; - addListener(event: "close", listener: () => void): this; - addListener(event: "drain", listener: () => void): this; - addListener(event: "error", listener: (error: Error) => void): this; - addListener(event: "finish", listener: () => void): this; - addListener(event: "pipe", listener: (src: stream.Readable) => void): this; - addListener(event: "unpipe", listener: (src: stream.Readable) => void): this; - addListener(event: string | symbol, listener: (...args: any[]) => void): this; - emit(event: "close"): boolean; - emit(event: "drain"): boolean; - emit(event: "error", error: Error): boolean; - emit(event: "finish"): boolean; - emit(event: "pipe", src: stream.Readable): boolean; - emit(event: "unpipe", src: stream.Readable): boolean; - emit(event: string | symbol, ...args: any[]): boolean; - on(event: "close", listener: () => void): this; - on(event: "drain", listener: () => void): this; - on(event: "error", listener: (error: Error) => void): this; - on(event: "finish", listener: () => void): this; - on(event: "pipe", listener: (src: stream.Readable) => void): this; - on(event: "unpipe", listener: (src: stream.Readable) => void): this; - on(event: string | symbol, listener: (...args: any[]) => void): this; - once(event: "close", listener: () => void): this; - once(event: "drain", listener: () => void): this; - once(event: "error", listener: (error: Error) => void): this; - once(event: "finish", listener: () => void): this; - once(event: "pipe", listener: (src: stream.Readable) => void): this; - once(event: "unpipe", listener: (src: stream.Readable) => void): this; - once(event: string | symbol, listener: (...args: any[]) => void): this; - prependListener(event: "close", listener: () => void): this; - prependListener(event: "drain", listener: () => void): this; - prependListener(event: "error", listener: (error: Error) => void): this; - prependListener(event: "finish", listener: () => void): this; - prependListener(event: "pipe", listener: (src: stream.Readable) => void): this; - prependListener(event: "unpipe", listener: (src: stream.Readable) => void): this; - prependListener(event: string | symbol, listener: (...args: any[]) => void): this; - prependOnceListener(event: "close", listener: () => void): this; - prependOnceListener(event: "drain", listener: () => void): this; - prependOnceListener(event: "error", listener: (error: Error) => void): this; - prependOnceListener(event: "finish", listener: () => void): this; - prependOnceListener(event: "pipe", listener: (src: stream.Readable) => void): this; - prependOnceListener(event: "unpipe", listener: (src: stream.Readable) => void): this; - prependOnceListener(event: string | symbol, listener: (...args: any[]) => void): this; - } - export namespace constants { - const NGHTTP2_SESSION_SERVER: number; - const NGHTTP2_SESSION_CLIENT: number; - const NGHTTP2_STREAM_STATE_IDLE: number; - const NGHTTP2_STREAM_STATE_OPEN: number; - const NGHTTP2_STREAM_STATE_RESERVED_LOCAL: number; - const NGHTTP2_STREAM_STATE_RESERVED_REMOTE: number; - const NGHTTP2_STREAM_STATE_HALF_CLOSED_LOCAL: number; - const NGHTTP2_STREAM_STATE_HALF_CLOSED_REMOTE: number; - const NGHTTP2_STREAM_STATE_CLOSED: number; - const NGHTTP2_NO_ERROR: number; - const NGHTTP2_PROTOCOL_ERROR: number; - const NGHTTP2_INTERNAL_ERROR: number; - const NGHTTP2_FLOW_CONTROL_ERROR: number; - const NGHTTP2_SETTINGS_TIMEOUT: number; - const NGHTTP2_STREAM_CLOSED: number; - const NGHTTP2_FRAME_SIZE_ERROR: number; - const NGHTTP2_REFUSED_STREAM: number; - const NGHTTP2_CANCEL: number; - const NGHTTP2_COMPRESSION_ERROR: number; - const NGHTTP2_CONNECT_ERROR: number; - const NGHTTP2_ENHANCE_YOUR_CALM: number; - const NGHTTP2_INADEQUATE_SECURITY: number; - const NGHTTP2_HTTP_1_1_REQUIRED: number; - const NGHTTP2_ERR_FRAME_SIZE_ERROR: number; - const NGHTTP2_FLAG_NONE: number; - const NGHTTP2_FLAG_END_STREAM: number; - const NGHTTP2_FLAG_END_HEADERS: number; - const NGHTTP2_FLAG_ACK: number; - const NGHTTP2_FLAG_PADDED: number; - const NGHTTP2_FLAG_PRIORITY: number; - const DEFAULT_SETTINGS_HEADER_TABLE_SIZE: number; - const DEFAULT_SETTINGS_ENABLE_PUSH: number; - const DEFAULT_SETTINGS_INITIAL_WINDOW_SIZE: number; - const DEFAULT_SETTINGS_MAX_FRAME_SIZE: number; - const MAX_MAX_FRAME_SIZE: number; - const MIN_MAX_FRAME_SIZE: number; - const MAX_INITIAL_WINDOW_SIZE: number; - const NGHTTP2_DEFAULT_WEIGHT: number; - const NGHTTP2_SETTINGS_HEADER_TABLE_SIZE: number; - const NGHTTP2_SETTINGS_ENABLE_PUSH: number; - const NGHTTP2_SETTINGS_MAX_CONCURRENT_STREAMS: number; - const NGHTTP2_SETTINGS_INITIAL_WINDOW_SIZE: number; - const NGHTTP2_SETTINGS_MAX_FRAME_SIZE: number; - const NGHTTP2_SETTINGS_MAX_HEADER_LIST_SIZE: number; - const PADDING_STRATEGY_NONE: number; - const PADDING_STRATEGY_MAX: number; - const PADDING_STRATEGY_CALLBACK: number; - const HTTP2_HEADER_STATUS: string; - const HTTP2_HEADER_METHOD: string; - const HTTP2_HEADER_AUTHORITY: string; - const HTTP2_HEADER_SCHEME: string; - const HTTP2_HEADER_PATH: string; - const HTTP2_HEADER_ACCEPT_CHARSET: string; - const HTTP2_HEADER_ACCEPT_ENCODING: string; - const HTTP2_HEADER_ACCEPT_LANGUAGE: string; - const HTTP2_HEADER_ACCEPT_RANGES: string; - const HTTP2_HEADER_ACCEPT: string; - const HTTP2_HEADER_ACCESS_CONTROL_ALLOW_ORIGIN: string; - const HTTP2_HEADER_AGE: string; - const HTTP2_HEADER_ALLOW: string; - const HTTP2_HEADER_AUTHORIZATION: string; - const HTTP2_HEADER_CACHE_CONTROL: string; - const HTTP2_HEADER_CONNECTION: string; - const HTTP2_HEADER_CONTENT_DISPOSITION: string; - const HTTP2_HEADER_CONTENT_ENCODING: string; - const HTTP2_HEADER_CONTENT_LANGUAGE: string; - const HTTP2_HEADER_CONTENT_LENGTH: string; - const HTTP2_HEADER_CONTENT_LOCATION: string; - const HTTP2_HEADER_CONTENT_MD5: string; - const HTTP2_HEADER_CONTENT_RANGE: string; - const HTTP2_HEADER_CONTENT_TYPE: string; - const HTTP2_HEADER_COOKIE: string; - const HTTP2_HEADER_DATE: string; - const HTTP2_HEADER_ETAG: string; - const HTTP2_HEADER_EXPECT: string; - const HTTP2_HEADER_EXPIRES: string; - const HTTP2_HEADER_FROM: string; - const HTTP2_HEADER_HOST: string; - const HTTP2_HEADER_IF_MATCH: string; - const HTTP2_HEADER_IF_MODIFIED_SINCE: string; - const HTTP2_HEADER_IF_NONE_MATCH: string; - const HTTP2_HEADER_IF_RANGE: string; - const HTTP2_HEADER_IF_UNMODIFIED_SINCE: string; - const HTTP2_HEADER_LAST_MODIFIED: string; - const HTTP2_HEADER_LINK: string; - const HTTP2_HEADER_LOCATION: string; - const HTTP2_HEADER_MAX_FORWARDS: string; - const HTTP2_HEADER_PREFER: string; - const HTTP2_HEADER_PROXY_AUTHENTICATE: string; - const HTTP2_HEADER_PROXY_AUTHORIZATION: string; - const HTTP2_HEADER_RANGE: string; - const HTTP2_HEADER_REFERER: string; - const HTTP2_HEADER_REFRESH: string; - const HTTP2_HEADER_RETRY_AFTER: string; - const HTTP2_HEADER_SERVER: string; - const HTTP2_HEADER_SET_COOKIE: string; - const HTTP2_HEADER_STRICT_TRANSPORT_SECURITY: string; - const HTTP2_HEADER_TRANSFER_ENCODING: string; - const HTTP2_HEADER_TE: string; - const HTTP2_HEADER_UPGRADE: string; - const HTTP2_HEADER_USER_AGENT: string; - const HTTP2_HEADER_VARY: string; - const HTTP2_HEADER_VIA: string; - const HTTP2_HEADER_WWW_AUTHENTICATE: string; - const HTTP2_HEADER_HTTP2_SETTINGS: string; - const HTTP2_HEADER_KEEP_ALIVE: string; - const HTTP2_HEADER_PROXY_CONNECTION: string; - const HTTP2_METHOD_ACL: string; - const HTTP2_METHOD_BASELINE_CONTROL: string; - const HTTP2_METHOD_BIND: string; - const HTTP2_METHOD_CHECKIN: string; - const HTTP2_METHOD_CHECKOUT: string; - const HTTP2_METHOD_CONNECT: string; - const HTTP2_METHOD_COPY: string; - const HTTP2_METHOD_DELETE: string; - const HTTP2_METHOD_GET: string; - const HTTP2_METHOD_HEAD: string; - const HTTP2_METHOD_LABEL: string; - const HTTP2_METHOD_LINK: string; - const HTTP2_METHOD_LOCK: string; - const HTTP2_METHOD_MERGE: string; - const HTTP2_METHOD_MKACTIVITY: string; - const HTTP2_METHOD_MKCALENDAR: string; - const HTTP2_METHOD_MKCOL: string; - const HTTP2_METHOD_MKREDIRECTREF: string; - const HTTP2_METHOD_MKWORKSPACE: string; - const HTTP2_METHOD_MOVE: string; - const HTTP2_METHOD_OPTIONS: string; - const HTTP2_METHOD_ORDERPATCH: string; - const HTTP2_METHOD_PATCH: string; - const HTTP2_METHOD_POST: string; - const HTTP2_METHOD_PRI: string; - const HTTP2_METHOD_PROPFIND: string; - const HTTP2_METHOD_PROPPATCH: string; - const HTTP2_METHOD_PUT: string; - const HTTP2_METHOD_REBIND: string; - const HTTP2_METHOD_REPORT: string; - const HTTP2_METHOD_SEARCH: string; - const HTTP2_METHOD_TRACE: string; - const HTTP2_METHOD_UNBIND: string; - const HTTP2_METHOD_UNCHECKOUT: string; - const HTTP2_METHOD_UNLINK: string; - const HTTP2_METHOD_UNLOCK: string; - const HTTP2_METHOD_UPDATE: string; - const HTTP2_METHOD_UPDATEREDIRECTREF: string; - const HTTP2_METHOD_VERSION_CONTROL: string; - const HTTP_STATUS_CONTINUE: number; - const HTTP_STATUS_SWITCHING_PROTOCOLS: number; - const HTTP_STATUS_PROCESSING: number; - const HTTP_STATUS_OK: number; - const HTTP_STATUS_CREATED: number; - const HTTP_STATUS_ACCEPTED: number; - const HTTP_STATUS_NON_AUTHORITATIVE_INFORMATION: number; - const HTTP_STATUS_NO_CONTENT: number; - const HTTP_STATUS_RESET_CONTENT: number; - const HTTP_STATUS_PARTIAL_CONTENT: number; - const HTTP_STATUS_MULTI_STATUS: number; - const HTTP_STATUS_ALREADY_REPORTED: number; - const HTTP_STATUS_IM_USED: number; - const HTTP_STATUS_MULTIPLE_CHOICES: number; - const HTTP_STATUS_MOVED_PERMANENTLY: number; - const HTTP_STATUS_FOUND: number; - const HTTP_STATUS_SEE_OTHER: number; - const HTTP_STATUS_NOT_MODIFIED: number; - const HTTP_STATUS_USE_PROXY: number; - const HTTP_STATUS_TEMPORARY_REDIRECT: number; - const HTTP_STATUS_PERMANENT_REDIRECT: number; - const HTTP_STATUS_BAD_REQUEST: number; - const HTTP_STATUS_UNAUTHORIZED: number; - const HTTP_STATUS_PAYMENT_REQUIRED: number; - const HTTP_STATUS_FORBIDDEN: number; - const HTTP_STATUS_NOT_FOUND: number; - const HTTP_STATUS_METHOD_NOT_ALLOWED: number; - const HTTP_STATUS_NOT_ACCEPTABLE: number; - const HTTP_STATUS_PROXY_AUTHENTICATION_REQUIRED: number; - const HTTP_STATUS_REQUEST_TIMEOUT: number; - const HTTP_STATUS_CONFLICT: number; - const HTTP_STATUS_GONE: number; - const HTTP_STATUS_LENGTH_REQUIRED: number; - const HTTP_STATUS_PRECONDITION_FAILED: number; - const HTTP_STATUS_PAYLOAD_TOO_LARGE: number; - const HTTP_STATUS_URI_TOO_LONG: number; - const HTTP_STATUS_UNSUPPORTED_MEDIA_TYPE: number; - const HTTP_STATUS_RANGE_NOT_SATISFIABLE: number; - const HTTP_STATUS_EXPECTATION_FAILED: number; - const HTTP_STATUS_TEAPOT: number; - const HTTP_STATUS_MISDIRECTED_REQUEST: number; - const HTTP_STATUS_UNPROCESSABLE_ENTITY: number; - const HTTP_STATUS_LOCKED: number; - const HTTP_STATUS_FAILED_DEPENDENCY: number; - const HTTP_STATUS_UNORDERED_COLLECTION: number; - const HTTP_STATUS_UPGRADE_REQUIRED: number; - const HTTP_STATUS_PRECONDITION_REQUIRED: number; - const HTTP_STATUS_TOO_MANY_REQUESTS: number; - const HTTP_STATUS_REQUEST_HEADER_FIELDS_TOO_LARGE: number; - const HTTP_STATUS_UNAVAILABLE_FOR_LEGAL_REASONS: number; - const HTTP_STATUS_INTERNAL_SERVER_ERROR: number; - const HTTP_STATUS_NOT_IMPLEMENTED: number; - const HTTP_STATUS_BAD_GATEWAY: number; - const HTTP_STATUS_SERVICE_UNAVAILABLE: number; - const HTTP_STATUS_GATEWAY_TIMEOUT: number; - const HTTP_STATUS_HTTP_VERSION_NOT_SUPPORTED: number; - const HTTP_STATUS_VARIANT_ALSO_NEGOTIATES: number; - const HTTP_STATUS_INSUFFICIENT_STORAGE: number; - const HTTP_STATUS_LOOP_DETECTED: number; - const HTTP_STATUS_BANDWIDTH_LIMIT_EXCEEDED: number; - const HTTP_STATUS_NOT_EXTENDED: number; - const HTTP_STATUS_NETWORK_AUTHENTICATION_REQUIRED: number; - } - /** - * This symbol can be set as a property on the HTTP/2 headers object with - * an array value in order to provide a list of headers considered sensitive. - */ - export const sensitiveHeaders: symbol; - /** - * Returns an object containing the default settings for an `Http2Session`instance. This method returns a new object instance every time it is called - * so instances returned may be safely modified for use. - * @since v8.4.0 - */ - export function getDefaultSettings(): Settings; - /** - * Returns a `Buffer` instance containing serialized representation of the given - * HTTP/2 settings as specified in the [HTTP/2](https://tools.ietf.org/html/rfc7540) specification. This is intended - * for use with the `HTTP2-Settings` header field. - * - * ```js - * const http2 = require('node:http2'); - * - * const packed = http2.getPackedSettings({ enablePush: false }); - * - * console.log(packed.toString('base64')); - * // Prints: AAIAAAAA - * ``` - * @since v8.4.0 - */ - export function getPackedSettings(settings: Settings): Buffer; - /** - * Returns a `HTTP/2 Settings Object` containing the deserialized settings from - * the given `Buffer` as generated by `http2.getPackedSettings()`. - * @since v8.4.0 - * @param buf The packed settings. - */ - export function getUnpackedSettings(buf: Uint8Array): Settings; - /** - * Returns a `net.Server` instance that creates and manages `Http2Session`instances. - * - * Since there are no browsers known that support [unencrypted HTTP/2](https://http2.github.io/faq/#does-http2-require-encryption), the use of {@link createSecureServer} is necessary when - * communicating - * with browser clients. - * - * ```js - * const http2 = require('node:http2'); - * - * // Create an unencrypted HTTP/2 server. - * // Since there are no browsers known that support - * // unencrypted HTTP/2, the use of `http2.createSecureServer()` - * // is necessary when communicating with browser clients. - * const server = http2.createServer(); - * - * server.on('stream', (stream, headers) => { - * stream.respond({ - * 'content-type': 'text/html; charset=utf-8', - * ':status': 200, - * }); - * stream.end('

Hello World

'); - * }); - * - * server.listen(8000); - * ``` - * @since v8.4.0 - * @param onRequestHandler See `Compatibility API` - */ - export function createServer( - onRequestHandler?: (request: Http2ServerRequest, response: Http2ServerResponse) => void, - ): Http2Server; - export function createServer( - options: ServerOptions, - onRequestHandler?: (request: Http2ServerRequest, response: Http2ServerResponse) => void, - ): Http2Server; - /** - * Returns a `tls.Server` instance that creates and manages `Http2Session`instances. - * - * ```js - * const http2 = require('node:http2'); - * const fs = require('node:fs'); - * - * const options = { - * key: fs.readFileSync('server-key.pem'), - * cert: fs.readFileSync('server-cert.pem'), - * }; - * - * // Create a secure HTTP/2 server - * const server = http2.createSecureServer(options); - * - * server.on('stream', (stream, headers) => { - * stream.respond({ - * 'content-type': 'text/html; charset=utf-8', - * ':status': 200, - * }); - * stream.end('

Hello World

'); - * }); - * - * server.listen(8443); - * ``` - * @since v8.4.0 - * @param onRequestHandler See `Compatibility API` - */ - export function createSecureServer( - onRequestHandler?: (request: Http2ServerRequest, response: Http2ServerResponse) => void, - ): Http2SecureServer; - export function createSecureServer( - options: SecureServerOptions, - onRequestHandler?: (request: Http2ServerRequest, response: Http2ServerResponse) => void, - ): Http2SecureServer; - /** - * Returns a `ClientHttp2Session` instance. - * - * ```js - * const http2 = require('node:http2'); - * const client = http2.connect('https://localhost:1234'); - * - * // Use the client - * - * client.close(); - * ``` - * @since v8.4.0 - * @param authority The remote HTTP/2 server to connect to. This must be in the form of a minimal, valid URL with the `http://` or `https://` prefix, host name, and IP port (if a non-default port - * is used). Userinfo (user ID and password), path, querystring, and fragment details in the URL will be ignored. - * @param listener Will be registered as a one-time listener of the {@link 'connect'} event. - */ - export function connect( - authority: string | url.URL, - listener: (session: ClientHttp2Session, socket: net.Socket | tls.TLSSocket) => void, - ): ClientHttp2Session; - export function connect( - authority: string | url.URL, - options?: ClientSessionOptions | SecureClientSessionOptions, - listener?: (session: ClientHttp2Session, socket: net.Socket | tls.TLSSocket) => void, - ): ClientHttp2Session; -} -declare module "node:http2" { - export * from "http2"; -} diff --git a/node_modules/@types/node/https.d.ts b/node_modules/@types/node/https.d.ts deleted file mode 100644 index 36ae5b2..0000000 --- a/node_modules/@types/node/https.d.ts +++ /dev/null @@ -1,550 +0,0 @@ -/** - * HTTPS is the HTTP protocol over TLS/SSL. In Node.js this is implemented as a - * separate module. - * @see [source](https://github.com/nodejs/node/blob/v20.2.0/lib/https.js) - */ -declare module "https" { - import { Duplex } from "node:stream"; - import * as tls from "node:tls"; - import * as http from "node:http"; - import { URL } from "node:url"; - type ServerOptions< - Request extends typeof http.IncomingMessage = typeof http.IncomingMessage, - Response extends typeof http.ServerResponse = typeof http.ServerResponse, - > = tls.SecureContextOptions & tls.TlsOptions & http.ServerOptions; - type RequestOptions = - & http.RequestOptions - & tls.SecureContextOptions - & { - checkServerIdentity?: typeof tls.checkServerIdentity | undefined; - rejectUnauthorized?: boolean | undefined; // Defaults to true - servername?: string | undefined; // SNI TLS Extension - }; - interface AgentOptions extends http.AgentOptions, tls.ConnectionOptions { - rejectUnauthorized?: boolean | undefined; - maxCachedSessions?: number | undefined; - } - /** - * An `Agent` object for HTTPS similar to `http.Agent`. See {@link request} for more information. - * @since v0.4.5 - */ - class Agent extends http.Agent { - constructor(options?: AgentOptions); - options: AgentOptions; - } - interface Server< - Request extends typeof http.IncomingMessage = typeof http.IncomingMessage, - Response extends typeof http.ServerResponse = typeof http.ServerResponse, - > extends http.Server {} - /** - * See `http.Server` for more information. - * @since v0.3.4 - */ - class Server< - Request extends typeof http.IncomingMessage = typeof http.IncomingMessage, - Response extends typeof http.ServerResponse = typeof http.ServerResponse, - > extends tls.Server { - constructor(requestListener?: http.RequestListener); - constructor( - options: ServerOptions, - requestListener?: http.RequestListener, - ); - /** - * Closes all connections connected to this server. - * @since v18.2.0 - */ - closeAllConnections(): void; - /** - * Closes all connections connected to this server which are not sending a request or waiting for a response. - * @since v18.2.0 - */ - closeIdleConnections(): void; - addListener(event: string, listener: (...args: any[]) => void): this; - addListener(event: "keylog", listener: (line: Buffer, tlsSocket: tls.TLSSocket) => void): this; - addListener( - event: "newSession", - listener: (sessionId: Buffer, sessionData: Buffer, callback: (err: Error, resp: Buffer) => void) => void, - ): this; - addListener( - event: "OCSPRequest", - listener: ( - certificate: Buffer, - issuer: Buffer, - callback: (err: Error | null, resp: Buffer) => void, - ) => void, - ): this; - addListener( - event: "resumeSession", - listener: (sessionId: Buffer, callback: (err: Error, sessionData: Buffer) => void) => void, - ): this; - addListener(event: "secureConnection", listener: (tlsSocket: tls.TLSSocket) => void): this; - addListener(event: "tlsClientError", listener: (err: Error, tlsSocket: tls.TLSSocket) => void): this; - addListener(event: "close", listener: () => void): this; - addListener(event: "connection", listener: (socket: Duplex) => void): this; - addListener(event: "error", listener: (err: Error) => void): this; - addListener(event: "listening", listener: () => void): this; - addListener(event: "checkContinue", listener: http.RequestListener): this; - addListener(event: "checkExpectation", listener: http.RequestListener): this; - addListener(event: "clientError", listener: (err: Error, socket: Duplex) => void): this; - addListener( - event: "connect", - listener: (req: InstanceType, socket: Duplex, head: Buffer) => void, - ): this; - addListener(event: "request", listener: http.RequestListener): this; - addListener( - event: "upgrade", - listener: (req: InstanceType, socket: Duplex, head: Buffer) => void, - ): this; - emit(event: string, ...args: any[]): boolean; - emit(event: "keylog", line: Buffer, tlsSocket: tls.TLSSocket): boolean; - emit( - event: "newSession", - sessionId: Buffer, - sessionData: Buffer, - callback: (err: Error, resp: Buffer) => void, - ): boolean; - emit( - event: "OCSPRequest", - certificate: Buffer, - issuer: Buffer, - callback: (err: Error | null, resp: Buffer) => void, - ): boolean; - emit(event: "resumeSession", sessionId: Buffer, callback: (err: Error, sessionData: Buffer) => void): boolean; - emit(event: "secureConnection", tlsSocket: tls.TLSSocket): boolean; - emit(event: "tlsClientError", err: Error, tlsSocket: tls.TLSSocket): boolean; - emit(event: "close"): boolean; - emit(event: "connection", socket: Duplex): boolean; - emit(event: "error", err: Error): boolean; - emit(event: "listening"): boolean; - emit( - event: "checkContinue", - req: InstanceType, - res: InstanceType & { - req: InstanceType; - }, - ): boolean; - emit( - event: "checkExpectation", - req: InstanceType, - res: InstanceType & { - req: InstanceType; - }, - ): boolean; - emit(event: "clientError", err: Error, socket: Duplex): boolean; - emit(event: "connect", req: InstanceType, socket: Duplex, head: Buffer): boolean; - emit( - event: "request", - req: InstanceType, - res: InstanceType & { - req: InstanceType; - }, - ): boolean; - emit(event: "upgrade", req: InstanceType, socket: Duplex, head: Buffer): boolean; - on(event: string, listener: (...args: any[]) => void): this; - on(event: "keylog", listener: (line: Buffer, tlsSocket: tls.TLSSocket) => void): this; - on( - event: "newSession", - listener: (sessionId: Buffer, sessionData: Buffer, callback: (err: Error, resp: Buffer) => void) => void, - ): this; - on( - event: "OCSPRequest", - listener: ( - certificate: Buffer, - issuer: Buffer, - callback: (err: Error | null, resp: Buffer) => void, - ) => void, - ): this; - on( - event: "resumeSession", - listener: (sessionId: Buffer, callback: (err: Error, sessionData: Buffer) => void) => void, - ): this; - on(event: "secureConnection", listener: (tlsSocket: tls.TLSSocket) => void): this; - on(event: "tlsClientError", listener: (err: Error, tlsSocket: tls.TLSSocket) => void): this; - on(event: "close", listener: () => void): this; - on(event: "connection", listener: (socket: Duplex) => void): this; - on(event: "error", listener: (err: Error) => void): this; - on(event: "listening", listener: () => void): this; - on(event: "checkContinue", listener: http.RequestListener): this; - on(event: "checkExpectation", listener: http.RequestListener): this; - on(event: "clientError", listener: (err: Error, socket: Duplex) => void): this; - on(event: "connect", listener: (req: InstanceType, socket: Duplex, head: Buffer) => void): this; - on(event: "request", listener: http.RequestListener): this; - on(event: "upgrade", listener: (req: InstanceType, socket: Duplex, head: Buffer) => void): this; - once(event: string, listener: (...args: any[]) => void): this; - once(event: "keylog", listener: (line: Buffer, tlsSocket: tls.TLSSocket) => void): this; - once( - event: "newSession", - listener: (sessionId: Buffer, sessionData: Buffer, callback: (err: Error, resp: Buffer) => void) => void, - ): this; - once( - event: "OCSPRequest", - listener: ( - certificate: Buffer, - issuer: Buffer, - callback: (err: Error | null, resp: Buffer) => void, - ) => void, - ): this; - once( - event: "resumeSession", - listener: (sessionId: Buffer, callback: (err: Error, sessionData: Buffer) => void) => void, - ): this; - once(event: "secureConnection", listener: (tlsSocket: tls.TLSSocket) => void): this; - once(event: "tlsClientError", listener: (err: Error, tlsSocket: tls.TLSSocket) => void): this; - once(event: "close", listener: () => void): this; - once(event: "connection", listener: (socket: Duplex) => void): this; - once(event: "error", listener: (err: Error) => void): this; - once(event: "listening", listener: () => void): this; - once(event: "checkContinue", listener: http.RequestListener): this; - once(event: "checkExpectation", listener: http.RequestListener): this; - once(event: "clientError", listener: (err: Error, socket: Duplex) => void): this; - once(event: "connect", listener: (req: InstanceType, socket: Duplex, head: Buffer) => void): this; - once(event: "request", listener: http.RequestListener): this; - once(event: "upgrade", listener: (req: InstanceType, socket: Duplex, head: Buffer) => void): this; - prependListener(event: string, listener: (...args: any[]) => void): this; - prependListener(event: "keylog", listener: (line: Buffer, tlsSocket: tls.TLSSocket) => void): this; - prependListener( - event: "newSession", - listener: (sessionId: Buffer, sessionData: Buffer, callback: (err: Error, resp: Buffer) => void) => void, - ): this; - prependListener( - event: "OCSPRequest", - listener: ( - certificate: Buffer, - issuer: Buffer, - callback: (err: Error | null, resp: Buffer) => void, - ) => void, - ): this; - prependListener( - event: "resumeSession", - listener: (sessionId: Buffer, callback: (err: Error, sessionData: Buffer) => void) => void, - ): this; - prependListener(event: "secureConnection", listener: (tlsSocket: tls.TLSSocket) => void): this; - prependListener(event: "tlsClientError", listener: (err: Error, tlsSocket: tls.TLSSocket) => void): this; - prependListener(event: "close", listener: () => void): this; - prependListener(event: "connection", listener: (socket: Duplex) => void): this; - prependListener(event: "error", listener: (err: Error) => void): this; - prependListener(event: "listening", listener: () => void): this; - prependListener(event: "checkContinue", listener: http.RequestListener): this; - prependListener(event: "checkExpectation", listener: http.RequestListener): this; - prependListener(event: "clientError", listener: (err: Error, socket: Duplex) => void): this; - prependListener( - event: "connect", - listener: (req: InstanceType, socket: Duplex, head: Buffer) => void, - ): this; - prependListener(event: "request", listener: http.RequestListener): this; - prependListener( - event: "upgrade", - listener: (req: InstanceType, socket: Duplex, head: Buffer) => void, - ): this; - prependOnceListener(event: string, listener: (...args: any[]) => void): this; - prependOnceListener(event: "keylog", listener: (line: Buffer, tlsSocket: tls.TLSSocket) => void): this; - prependOnceListener( - event: "newSession", - listener: (sessionId: Buffer, sessionData: Buffer, callback: (err: Error, resp: Buffer) => void) => void, - ): this; - prependOnceListener( - event: "OCSPRequest", - listener: ( - certificate: Buffer, - issuer: Buffer, - callback: (err: Error | null, resp: Buffer) => void, - ) => void, - ): this; - prependOnceListener( - event: "resumeSession", - listener: (sessionId: Buffer, callback: (err: Error, sessionData: Buffer) => void) => void, - ): this; - prependOnceListener(event: "secureConnection", listener: (tlsSocket: tls.TLSSocket) => void): this; - prependOnceListener(event: "tlsClientError", listener: (err: Error, tlsSocket: tls.TLSSocket) => void): this; - prependOnceListener(event: "close", listener: () => void): this; - prependOnceListener(event: "connection", listener: (socket: Duplex) => void): this; - prependOnceListener(event: "error", listener: (err: Error) => void): this; - prependOnceListener(event: "listening", listener: () => void): this; - prependOnceListener(event: "checkContinue", listener: http.RequestListener): this; - prependOnceListener(event: "checkExpectation", listener: http.RequestListener): this; - prependOnceListener(event: "clientError", listener: (err: Error, socket: Duplex) => void): this; - prependOnceListener( - event: "connect", - listener: (req: InstanceType, socket: Duplex, head: Buffer) => void, - ): this; - prependOnceListener(event: "request", listener: http.RequestListener): this; - prependOnceListener( - event: "upgrade", - listener: (req: InstanceType, socket: Duplex, head: Buffer) => void, - ): this; - } - /** - * ```js - * // curl -k https://localhost:8000/ - * const https = require('node:https'); - * const fs = require('node:fs'); - * - * const options = { - * key: fs.readFileSync('test/fixtures/keys/agent2-key.pem'), - * cert: fs.readFileSync('test/fixtures/keys/agent2-cert.pem'), - * }; - * - * https.createServer(options, (req, res) => { - * res.writeHead(200); - * res.end('hello world\n'); - * }).listen(8000); - * ``` - * - * Or - * - * ```js - * const https = require('node:https'); - * const fs = require('node:fs'); - * - * const options = { - * pfx: fs.readFileSync('test/fixtures/test_cert.pfx'), - * passphrase: 'sample', - * }; - * - * https.createServer(options, (req, res) => { - * res.writeHead(200); - * res.end('hello world\n'); - * }).listen(8000); - * ``` - * @since v0.3.4 - * @param options Accepts `options` from `createServer`, `createSecureContext` and `createServer`. - * @param requestListener A listener to be added to the `'request'` event. - */ - function createServer< - Request extends typeof http.IncomingMessage = typeof http.IncomingMessage, - Response extends typeof http.ServerResponse = typeof http.ServerResponse, - >(requestListener?: http.RequestListener): Server; - function createServer< - Request extends typeof http.IncomingMessage = typeof http.IncomingMessage, - Response extends typeof http.ServerResponse = typeof http.ServerResponse, - >( - options: ServerOptions, - requestListener?: http.RequestListener, - ): Server; - /** - * Makes a request to a secure web server. - * - * The following additional `options` from `tls.connect()` are also accepted:`ca`, `cert`, `ciphers`, `clientCertEngine`, `crl`, `dhparam`, `ecdhCurve`,`honorCipherOrder`, `key`, `passphrase`, - * `pfx`, `rejectUnauthorized`,`secureOptions`, `secureProtocol`, `servername`, `sessionIdContext`,`highWaterMark`. - * - * `options` can be an object, a string, or a `URL` object. If `options` is a - * string, it is automatically parsed with `new URL()`. If it is a `URL` object, it will be automatically converted to an ordinary `options` object. - * - * `https.request()` returns an instance of the `http.ClientRequest` class. The `ClientRequest` instance is a writable stream. If one needs to - * upload a file with a POST request, then write to the `ClientRequest` object. - * - * ```js - * const https = require('node:https'); - * - * const options = { - * hostname: 'encrypted.google.com', - * port: 443, - * path: '/', - * method: 'GET', - * }; - * - * const req = https.request(options, (res) => { - * console.log('statusCode:', res.statusCode); - * console.log('headers:', res.headers); - * - * res.on('data', (d) => { - * process.stdout.write(d); - * }); - * }); - * - * req.on('error', (e) => { - * console.error(e); - * }); - * req.end(); - * ``` - * - * Example using options from `tls.connect()`: - * - * ```js - * const options = { - * hostname: 'encrypted.google.com', - * port: 443, - * path: '/', - * method: 'GET', - * key: fs.readFileSync('test/fixtures/keys/agent2-key.pem'), - * cert: fs.readFileSync('test/fixtures/keys/agent2-cert.pem'), - * }; - * options.agent = new https.Agent(options); - * - * const req = https.request(options, (res) => { - * // ... - * }); - * ``` - * - * Alternatively, opt out of connection pooling by not using an `Agent`. - * - * ```js - * const options = { - * hostname: 'encrypted.google.com', - * port: 443, - * path: '/', - * method: 'GET', - * key: fs.readFileSync('test/fixtures/keys/agent2-key.pem'), - * cert: fs.readFileSync('test/fixtures/keys/agent2-cert.pem'), - * agent: false, - * }; - * - * const req = https.request(options, (res) => { - * // ... - * }); - * ``` - * - * Example using a `URL` as `options`: - * - * ```js - * const options = new URL('https://abc:xyz@example.com'); - * - * const req = https.request(options, (res) => { - * // ... - * }); - * ``` - * - * Example pinning on certificate fingerprint, or the public key (similar to`pin-sha256`): - * - * ```js - * const tls = require('node:tls'); - * const https = require('node:https'); - * const crypto = require('node:crypto'); - * - * function sha256(s) { - * return crypto.createHash('sha256').update(s).digest('base64'); - * } - * const options = { - * hostname: 'github.com', - * port: 443, - * path: '/', - * method: 'GET', - * checkServerIdentity: function(host, cert) { - * // Make sure the certificate is issued to the host we are connected to - * const err = tls.checkServerIdentity(host, cert); - * if (err) { - * return err; - * } - * - * // Pin the public key, similar to HPKP pin-sha256 pinning - * const pubkey256 = 'pL1+qb9HTMRZJmuC/bB/ZI9d302BYrrqiVuRyW+DGrU='; - * if (sha256(cert.pubkey) !== pubkey256) { - * const msg = 'Certificate verification error: ' + - * `The public key of '${cert.subject.CN}' ` + - * 'does not match our pinned fingerprint'; - * return new Error(msg); - * } - * - * // Pin the exact certificate, rather than the pub key - * const cert256 = '25:FE:39:32:D9:63:8C:8A:FC:A1:9A:29:87:' + - * 'D8:3E:4C:1D:98:DB:71:E4:1A:48:03:98:EA:22:6A:BD:8B:93:16'; - * if (cert.fingerprint256 !== cert256) { - * const msg = 'Certificate verification error: ' + - * `The certificate of '${cert.subject.CN}' ` + - * 'does not match our pinned fingerprint'; - * return new Error(msg); - * } - * - * // This loop is informational only. - * // Print the certificate and public key fingerprints of all certs in the - * // chain. Its common to pin the public key of the issuer on the public - * // internet, while pinning the public key of the service in sensitive - * // environments. - * do { - * console.log('Subject Common Name:', cert.subject.CN); - * console.log(' Certificate SHA256 fingerprint:', cert.fingerprint256); - * - * hash = crypto.createHash('sha256'); - * console.log(' Public key ping-sha256:', sha256(cert.pubkey)); - * - * lastprint256 = cert.fingerprint256; - * cert = cert.issuerCertificate; - * } while (cert.fingerprint256 !== lastprint256); - * - * }, - * }; - * - * options.agent = new https.Agent(options); - * const req = https.request(options, (res) => { - * console.log('All OK. Server matched our pinned cert or public key'); - * console.log('statusCode:', res.statusCode); - * // Print the HPKP values - * console.log('headers:', res.headers['public-key-pins']); - * - * res.on('data', (d) => {}); - * }); - * - * req.on('error', (e) => { - * console.error(e.message); - * }); - * req.end(); - * ``` - * - * Outputs for example: - * - * ```text - * Subject Common Name: github.com - * Certificate SHA256 fingerprint: 25:FE:39:32:D9:63:8C:8A:FC:A1:9A:29:87:D8:3E:4C:1D:98:DB:71:E4:1A:48:03:98:EA:22:6A:BD:8B:93:16 - * Public key ping-sha256: pL1+qb9HTMRZJmuC/bB/ZI9d302BYrrqiVuRyW+DGrU= - * Subject Common Name: DigiCert SHA2 Extended Validation Server CA - * Certificate SHA256 fingerprint: 40:3E:06:2A:26:53:05:91:13:28:5B:AF:80:A0:D4:AE:42:2C:84:8C:9F:78:FA:D0:1F:C9:4B:C5:B8:7F:EF:1A - * Public key ping-sha256: RRM1dGqnDFsCJXBTHky16vi1obOlCgFFn/yOhI/y+ho= - * Subject Common Name: DigiCert High Assurance EV Root CA - * Certificate SHA256 fingerprint: 74:31:E5:F4:C3:C1:CE:46:90:77:4F:0B:61:E0:54:40:88:3B:A9:A0:1E:D0:0B:A6:AB:D7:80:6E:D3:B1:18:CF - * Public key ping-sha256: WoiWRyIOVNa9ihaBciRSC7XHjliYS9VwUGOIud4PB18= - * All OK. Server matched our pinned cert or public key - * statusCode: 200 - * headers: max-age=0; pin-sha256="WoiWRyIOVNa9ihaBciRSC7XHjliYS9VwUGOIud4PB18="; pin-sha256="RRM1dGqnDFsCJXBTHky16vi1obOlCgFFn/yOhI/y+ho="; - * pin-sha256="k2v657xBsOVe1PQRwOsHsw3bsGT2VzIqz5K+59sNQws="; pin-sha256="K87oWBWM9UZfyddvDfoxL+8lpNyoUB2ptGtn0fv6G2Q="; pin-sha256="IQBnNBEiFuhj+8x6X8XLgh01V9Ic5/V3IRQLNFFc7v4="; - * pin-sha256="iie1VXtL7HzAMF+/PVPR9xzT80kQxdZeJ+zduCB3uj0="; pin-sha256="LvRiGEjRqfzurezaWuj8Wie2gyHMrW5Q06LspMnox7A="; includeSubDomains - * ``` - * @since v0.3.6 - * @param options Accepts all `options` from `request`, with some differences in default values: - */ - function request( - options: RequestOptions | string | URL, - callback?: (res: http.IncomingMessage) => void, - ): http.ClientRequest; - function request( - url: string | URL, - options: RequestOptions, - callback?: (res: http.IncomingMessage) => void, - ): http.ClientRequest; - /** - * Like `http.get()` but for HTTPS. - * - * `options` can be an object, a string, or a `URL` object. If `options` is a - * string, it is automatically parsed with `new URL()`. If it is a `URL` object, it will be automatically converted to an ordinary `options` object. - * - * ```js - * const https = require('node:https'); - * - * https.get('https://encrypted.google.com/', (res) => { - * console.log('statusCode:', res.statusCode); - * console.log('headers:', res.headers); - * - * res.on('data', (d) => { - * process.stdout.write(d); - * }); - * - * }).on('error', (e) => { - * console.error(e); - * }); - * ``` - * @since v0.3.6 - * @param options Accepts the same `options` as {@link request}, with the `method` always set to `GET`. - */ - function get( - options: RequestOptions | string | URL, - callback?: (res: http.IncomingMessage) => void, - ): http.ClientRequest; - function get( - url: string | URL, - options: RequestOptions, - callback?: (res: http.IncomingMessage) => void, - ): http.ClientRequest; - let globalAgent: Agent; -} -declare module "node:https" { - export * from "https"; -} diff --git a/node_modules/@types/node/index.d.ts b/node_modules/@types/node/index.d.ts deleted file mode 100644 index a596cad..0000000 --- a/node_modules/@types/node/index.d.ts +++ /dev/null @@ -1,88 +0,0 @@ -/** - * License for programmatically and manually incorporated - * documentation aka. `JSDoc` from https://github.com/nodejs/node/tree/master/doc - * - * Copyright Node.js contributors. All rights reserved. - * 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. - */ - -// NOTE: These definitions support NodeJS and TypeScript 4.9+. - -// Reference required types from the default lib: -/// -/// -/// -/// - -// Base definitions for all NodeJS modules that are not specific to any version of TypeScript: -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// - -/// diff --git a/node_modules/@types/node/inspector.d.ts b/node_modules/@types/node/inspector.d.ts deleted file mode 100644 index 3927b81..0000000 --- a/node_modules/@types/node/inspector.d.ts +++ /dev/null @@ -1,2747 +0,0 @@ -// Type definitions for inspector - -// These definitions are auto-generated. -// Please see https://github.com/DefinitelyTyped/DefinitelyTyped/pull/19330 -// for more information. - - -/** - * The `node:inspector` module provides an API for interacting with the V8 - * inspector. - * - * It can be accessed using: - * - * ```js - * import * as inspector from 'node:inspector/promises'; - * ``` - * - * or - * - * ```js - * import * as inspector from 'node:inspector'; - * ``` - * @see [source](https://github.com/nodejs/node/blob/v20.2.0/lib/inspector.js) - */ -declare module 'inspector' { - import EventEmitter = require('node:events'); - interface InspectorNotification { - method: string; - params: T; - } - namespace Schema { - /** - * Description of the protocol domain. - */ - interface Domain { - /** - * Domain name. - */ - name: string; - /** - * Domain version. - */ - version: string; - } - interface GetDomainsReturnType { - /** - * List of supported domains. - */ - domains: Domain[]; - } - } - namespace Runtime { - /** - * Unique script identifier. - */ - type ScriptId = string; - /** - * Unique object identifier. - */ - type RemoteObjectId = string; - /** - * Primitive value which cannot be JSON-stringified. - */ - type UnserializableValue = string; - /** - * Mirror object referencing original JavaScript object. - */ - interface RemoteObject { - /** - * Object type. - */ - type: string; - /** - * Object subtype hint. Specified for object type values only. - */ - subtype?: string | undefined; - /** - * Object class (constructor) name. Specified for object type values only. - */ - className?: string | undefined; - /** - * Remote object value in case of primitive values or JSON values (if it was requested). - */ - value?: any; - /** - * Primitive value which can not be JSON-stringified does not have value, but gets this property. - */ - unserializableValue?: UnserializableValue | undefined; - /** - * String representation of the object. - */ - description?: string | undefined; - /** - * Unique object identifier (for non-primitive values). - */ - objectId?: RemoteObjectId | undefined; - /** - * Preview containing abbreviated property values. Specified for object type values only. - * @experimental - */ - preview?: ObjectPreview | undefined; - /** - * @experimental - */ - customPreview?: CustomPreview | undefined; - } - /** - * @experimental - */ - interface CustomPreview { - header: string; - hasBody: boolean; - formatterObjectId: RemoteObjectId; - bindRemoteObjectFunctionId: RemoteObjectId; - configObjectId?: RemoteObjectId | undefined; - } - /** - * Object containing abbreviated remote object value. - * @experimental - */ - interface ObjectPreview { - /** - * Object type. - */ - type: string; - /** - * Object subtype hint. Specified for object type values only. - */ - subtype?: string | undefined; - /** - * String representation of the object. - */ - description?: string | undefined; - /** - * True iff some of the properties or entries of the original object did not fit. - */ - overflow: boolean; - /** - * List of the properties. - */ - properties: PropertyPreview[]; - /** - * List of the entries. Specified for map and set subtype values only. - */ - entries?: EntryPreview[] | undefined; - } - /** - * @experimental - */ - interface PropertyPreview { - /** - * Property name. - */ - name: string; - /** - * Object type. Accessor means that the property itself is an accessor property. - */ - type: string; - /** - * User-friendly property value string. - */ - value?: string | undefined; - /** - * Nested value preview. - */ - valuePreview?: ObjectPreview | undefined; - /** - * Object subtype hint. Specified for object type values only. - */ - subtype?: string | undefined; - } - /** - * @experimental - */ - interface EntryPreview { - /** - * Preview of the key. Specified for map-like collection entries. - */ - key?: ObjectPreview | undefined; - /** - * Preview of the value. - */ - value: ObjectPreview; - } - /** - * Object property descriptor. - */ - interface PropertyDescriptor { - /** - * Property name or symbol description. - */ - name: string; - /** - * The value associated with the property. - */ - value?: RemoteObject | undefined; - /** - * True if the value associated with the property may be changed (data descriptors only). - */ - writable?: boolean | undefined; - /** - * A function which serves as a getter for the property, or undefined if there is no getter (accessor descriptors only). - */ - get?: RemoteObject | undefined; - /** - * A function which serves as a setter for the property, or undefined if there is no setter (accessor descriptors only). - */ - set?: RemoteObject | undefined; - /** - * True if the type of this property descriptor may be changed and if the property may be deleted from the corresponding object. - */ - configurable: boolean; - /** - * True if this property shows up during enumeration of the properties on the corresponding object. - */ - enumerable: boolean; - /** - * True if the result was thrown during the evaluation. - */ - wasThrown?: boolean | undefined; - /** - * True if the property is owned for the object. - */ - isOwn?: boolean | undefined; - /** - * Property symbol object, if the property is of the symbol type. - */ - symbol?: RemoteObject | undefined; - } - /** - * Object internal property descriptor. This property isn't normally visible in JavaScript code. - */ - interface InternalPropertyDescriptor { - /** - * Conventional property name. - */ - name: string; - /** - * The value associated with the property. - */ - value?: RemoteObject | undefined; - } - /** - * Represents function call argument. Either remote object id objectId, primitive value, unserializable primitive value or neither of (for undefined) them should be specified. - */ - interface CallArgument { - /** - * Primitive value or serializable javascript object. - */ - value?: any; - /** - * Primitive value which can not be JSON-stringified. - */ - unserializableValue?: UnserializableValue | undefined; - /** - * Remote object handle. - */ - objectId?: RemoteObjectId | undefined; - } - /** - * Id of an execution context. - */ - type ExecutionContextId = number; - /** - * Description of an isolated world. - */ - interface ExecutionContextDescription { - /** - * Unique id of the execution context. It can be used to specify in which execution context script evaluation should be performed. - */ - id: ExecutionContextId; - /** - * Execution context origin. - */ - origin: string; - /** - * Human readable name describing given context. - */ - name: string; - /** - * Embedder-specific auxiliary data. - */ - auxData?: {} | undefined; - } - /** - * Detailed information about exception (or error) that was thrown during script compilation or execution. - */ - interface ExceptionDetails { - /** - * Exception id. - */ - exceptionId: number; - /** - * Exception text, which should be used together with exception object when available. - */ - text: string; - /** - * Line number of the exception location (0-based). - */ - lineNumber: number; - /** - * Column number of the exception location (0-based). - */ - columnNumber: number; - /** - * Script ID of the exception location. - */ - scriptId?: ScriptId | undefined; - /** - * URL of the exception location, to be used when the script was not reported. - */ - url?: string | undefined; - /** - * JavaScript stack trace if available. - */ - stackTrace?: StackTrace | undefined; - /** - * Exception object if available. - */ - exception?: RemoteObject | undefined; - /** - * Identifier of the context where exception happened. - */ - executionContextId?: ExecutionContextId | undefined; - } - /** - * Number of milliseconds since epoch. - */ - type Timestamp = number; - /** - * Stack entry for runtime errors and assertions. - */ - interface CallFrame { - /** - * JavaScript function name. - */ - functionName: string; - /** - * JavaScript script id. - */ - scriptId: ScriptId; - /** - * JavaScript script name or url. - */ - url: string; - /** - * JavaScript script line number (0-based). - */ - lineNumber: number; - /** - * JavaScript script column number (0-based). - */ - columnNumber: number; - } - /** - * Call frames for assertions or error messages. - */ - interface StackTrace { - /** - * String label of this stack trace. For async traces this may be a name of the function that initiated the async call. - */ - description?: string | undefined; - /** - * JavaScript function name. - */ - callFrames: CallFrame[]; - /** - * Asynchronous JavaScript stack trace that preceded this stack, if available. - */ - parent?: StackTrace | undefined; - /** - * Asynchronous JavaScript stack trace that preceded this stack, if available. - * @experimental - */ - parentId?: StackTraceId | undefined; - } - /** - * Unique identifier of current debugger. - * @experimental - */ - type UniqueDebuggerId = string; - /** - * If debuggerId is set stack trace comes from another debugger and can be resolved there. This allows to track cross-debugger calls. See Runtime.StackTrace and Debugger.paused for usages. - * @experimental - */ - interface StackTraceId { - id: string; - debuggerId?: UniqueDebuggerId | undefined; - } - interface EvaluateParameterType { - /** - * Expression to evaluate. - */ - expression: string; - /** - * Symbolic group name that can be used to release multiple objects. - */ - objectGroup?: string | undefined; - /** - * Determines whether Command Line API should be available during the evaluation. - */ - includeCommandLineAPI?: boolean | undefined; - /** - * In silent mode exceptions thrown during evaluation are not reported and do not pause execution. Overrides setPauseOnException state. - */ - silent?: boolean | undefined; - /** - * Specifies in which execution context to perform evaluation. If the parameter is omitted the evaluation will be performed in the context of the inspected page. - */ - contextId?: ExecutionContextId | undefined; - /** - * Whether the result is expected to be a JSON object that should be sent by value. - */ - returnByValue?: boolean | undefined; - /** - * Whether preview should be generated for the result. - * @experimental - */ - generatePreview?: boolean | undefined; - /** - * Whether execution should be treated as initiated by user in the UI. - */ - userGesture?: boolean | undefined; - /** - * Whether execution should await for resulting value and return once awaited promise is resolved. - */ - awaitPromise?: boolean | undefined; - } - interface AwaitPromiseParameterType { - /** - * Identifier of the promise. - */ - promiseObjectId: RemoteObjectId; - /** - * Whether the result is expected to be a JSON object that should be sent by value. - */ - returnByValue?: boolean | undefined; - /** - * Whether preview should be generated for the result. - */ - generatePreview?: boolean | undefined; - } - interface CallFunctionOnParameterType { - /** - * Declaration of the function to call. - */ - functionDeclaration: string; - /** - * Identifier of the object to call function on. Either objectId or executionContextId should be specified. - */ - objectId?: RemoteObjectId | undefined; - /** - * Call arguments. All call arguments must belong to the same JavaScript world as the target object. - */ - arguments?: CallArgument[] | undefined; - /** - * In silent mode exceptions thrown during evaluation are not reported and do not pause execution. Overrides setPauseOnException state. - */ - silent?: boolean | undefined; - /** - * Whether the result is expected to be a JSON object which should be sent by value. - */ - returnByValue?: boolean | undefined; - /** - * Whether preview should be generated for the result. - * @experimental - */ - generatePreview?: boolean | undefined; - /** - * Whether execution should be treated as initiated by user in the UI. - */ - userGesture?: boolean | undefined; - /** - * Whether execution should await for resulting value and return once awaited promise is resolved. - */ - awaitPromise?: boolean | undefined; - /** - * Specifies execution context which global object will be used to call function on. Either executionContextId or objectId should be specified. - */ - executionContextId?: ExecutionContextId | undefined; - /** - * Symbolic group name that can be used to release multiple objects. If objectGroup is not specified and objectId is, objectGroup will be inherited from object. - */ - objectGroup?: string | undefined; - } - interface GetPropertiesParameterType { - /** - * Identifier of the object to return properties for. - */ - objectId: RemoteObjectId; - /** - * If true, returns properties belonging only to the element itself, not to its prototype chain. - */ - ownProperties?: boolean | undefined; - /** - * If true, returns accessor properties (with getter/setter) only; internal properties are not returned either. - * @experimental - */ - accessorPropertiesOnly?: boolean | undefined; - /** - * Whether preview should be generated for the results. - * @experimental - */ - generatePreview?: boolean | undefined; - } - interface ReleaseObjectParameterType { - /** - * Identifier of the object to release. - */ - objectId: RemoteObjectId; - } - interface ReleaseObjectGroupParameterType { - /** - * Symbolic object group name. - */ - objectGroup: string; - } - interface SetCustomObjectFormatterEnabledParameterType { - enabled: boolean; - } - interface CompileScriptParameterType { - /** - * Expression to compile. - */ - expression: string; - /** - * Source url to be set for the script. - */ - sourceURL: string; - /** - * Specifies whether the compiled script should be persisted. - */ - persistScript: boolean; - /** - * Specifies in which execution context to perform script run. If the parameter is omitted the evaluation will be performed in the context of the inspected page. - */ - executionContextId?: ExecutionContextId | undefined; - } - interface RunScriptParameterType { - /** - * Id of the script to run. - */ - scriptId: ScriptId; - /** - * Specifies in which execution context to perform script run. If the parameter is omitted the evaluation will be performed in the context of the inspected page. - */ - executionContextId?: ExecutionContextId | undefined; - /** - * Symbolic group name that can be used to release multiple objects. - */ - objectGroup?: string | undefined; - /** - * In silent mode exceptions thrown during evaluation are not reported and do not pause execution. Overrides setPauseOnException state. - */ - silent?: boolean | undefined; - /** - * Determines whether Command Line API should be available during the evaluation. - */ - includeCommandLineAPI?: boolean | undefined; - /** - * Whether the result is expected to be a JSON object which should be sent by value. - */ - returnByValue?: boolean | undefined; - /** - * Whether preview should be generated for the result. - */ - generatePreview?: boolean | undefined; - /** - * Whether execution should await for resulting value and return once awaited promise is resolved. - */ - awaitPromise?: boolean | undefined; - } - interface QueryObjectsParameterType { - /** - * Identifier of the prototype to return objects for. - */ - prototypeObjectId: RemoteObjectId; - } - interface GlobalLexicalScopeNamesParameterType { - /** - * Specifies in which execution context to lookup global scope variables. - */ - executionContextId?: ExecutionContextId | undefined; - } - interface EvaluateReturnType { - /** - * Evaluation result. - */ - result: RemoteObject; - /** - * Exception details. - */ - exceptionDetails?: ExceptionDetails | undefined; - } - interface AwaitPromiseReturnType { - /** - * Promise result. Will contain rejected value if promise was rejected. - */ - result: RemoteObject; - /** - * Exception details if stack strace is available. - */ - exceptionDetails?: ExceptionDetails | undefined; - } - interface CallFunctionOnReturnType { - /** - * Call result. - */ - result: RemoteObject; - /** - * Exception details. - */ - exceptionDetails?: ExceptionDetails | undefined; - } - interface GetPropertiesReturnType { - /** - * Object properties. - */ - result: PropertyDescriptor[]; - /** - * Internal object properties (only of the element itself). - */ - internalProperties?: InternalPropertyDescriptor[] | undefined; - /** - * Exception details. - */ - exceptionDetails?: ExceptionDetails | undefined; - } - interface CompileScriptReturnType { - /** - * Id of the script. - */ - scriptId?: ScriptId | undefined; - /** - * Exception details. - */ - exceptionDetails?: ExceptionDetails | undefined; - } - interface RunScriptReturnType { - /** - * Run result. - */ - result: RemoteObject; - /** - * Exception details. - */ - exceptionDetails?: ExceptionDetails | undefined; - } - interface QueryObjectsReturnType { - /** - * Array with objects. - */ - objects: RemoteObject; - } - interface GlobalLexicalScopeNamesReturnType { - names: string[]; - } - interface ExecutionContextCreatedEventDataType { - /** - * A newly created execution context. - */ - context: ExecutionContextDescription; - } - interface ExecutionContextDestroyedEventDataType { - /** - * Id of the destroyed context - */ - executionContextId: ExecutionContextId; - } - interface ExceptionThrownEventDataType { - /** - * Timestamp of the exception. - */ - timestamp: Timestamp; - exceptionDetails: ExceptionDetails; - } - interface ExceptionRevokedEventDataType { - /** - * Reason describing why exception was revoked. - */ - reason: string; - /** - * The id of revoked exception, as reported in exceptionThrown. - */ - exceptionId: number; - } - interface ConsoleAPICalledEventDataType { - /** - * Type of the call. - */ - type: string; - /** - * Call arguments. - */ - args: RemoteObject[]; - /** - * Identifier of the context where the call was made. - */ - executionContextId: ExecutionContextId; - /** - * Call timestamp. - */ - timestamp: Timestamp; - /** - * Stack trace captured when the call was made. - */ - stackTrace?: StackTrace | undefined; - /** - * Console context descriptor for calls on non-default console context (not console.*): 'anonymous#unique-logger-id' for call on unnamed context, 'name#unique-logger-id' for call on named context. - * @experimental - */ - context?: string | undefined; - } - interface InspectRequestedEventDataType { - object: RemoteObject; - hints: {}; - } - } - namespace Debugger { - /** - * Breakpoint identifier. - */ - type BreakpointId = string; - /** - * Call frame identifier. - */ - type CallFrameId = string; - /** - * Location in the source code. - */ - interface Location { - /** - * Script identifier as reported in the Debugger.scriptParsed. - */ - scriptId: Runtime.ScriptId; - /** - * Line number in the script (0-based). - */ - lineNumber: number; - /** - * Column number in the script (0-based). - */ - columnNumber?: number | undefined; - } - /** - * Location in the source code. - * @experimental - */ - interface ScriptPosition { - lineNumber: number; - columnNumber: number; - } - /** - * JavaScript call frame. Array of call frames form the call stack. - */ - interface CallFrame { - /** - * Call frame identifier. This identifier is only valid while the virtual machine is paused. - */ - callFrameId: CallFrameId; - /** - * Name of the JavaScript function called on this call frame. - */ - functionName: string; - /** - * Location in the source code. - */ - functionLocation?: Location | undefined; - /** - * Location in the source code. - */ - location: Location; - /** - * JavaScript script name or url. - */ - url: string; - /** - * Scope chain for this call frame. - */ - scopeChain: Scope[]; - /** - * this object for this call frame. - */ - this: Runtime.RemoteObject; - /** - * The value being returned, if the function is at return point. - */ - returnValue?: Runtime.RemoteObject | undefined; - } - /** - * Scope description. - */ - interface Scope { - /** - * Scope type. - */ - type: string; - /** - * Object representing the scope. For global and with scopes it represents the actual object; for the rest of the scopes, it is artificial transient object enumerating scope variables as its properties. - */ - object: Runtime.RemoteObject; - name?: string | undefined; - /** - * Location in the source code where scope starts - */ - startLocation?: Location | undefined; - /** - * Location in the source code where scope ends - */ - endLocation?: Location | undefined; - } - /** - * Search match for resource. - */ - interface SearchMatch { - /** - * Line number in resource content. - */ - lineNumber: number; - /** - * Line with match content. - */ - lineContent: string; - } - interface BreakLocation { - /** - * Script identifier as reported in the Debugger.scriptParsed. - */ - scriptId: Runtime.ScriptId; - /** - * Line number in the script (0-based). - */ - lineNumber: number; - /** - * Column number in the script (0-based). - */ - columnNumber?: number | undefined; - type?: string | undefined; - } - interface SetBreakpointsActiveParameterType { - /** - * New value for breakpoints active state. - */ - active: boolean; - } - interface SetSkipAllPausesParameterType { - /** - * New value for skip pauses state. - */ - skip: boolean; - } - interface SetBreakpointByUrlParameterType { - /** - * Line number to set breakpoint at. - */ - lineNumber: number; - /** - * URL of the resources to set breakpoint on. - */ - url?: string | undefined; - /** - * Regex pattern for the URLs of the resources to set breakpoints on. Either url or urlRegex must be specified. - */ - urlRegex?: string | undefined; - /** - * Script hash of the resources to set breakpoint on. - */ - scriptHash?: string | undefined; - /** - * Offset in the line to set breakpoint at. - */ - columnNumber?: number | undefined; - /** - * Expression to use as a breakpoint condition. When specified, debugger will only stop on the breakpoint if this expression evaluates to true. - */ - condition?: string | undefined; - } - interface SetBreakpointParameterType { - /** - * Location to set breakpoint in. - */ - location: Location; - /** - * Expression to use as a breakpoint condition. When specified, debugger will only stop on the breakpoint if this expression evaluates to true. - */ - condition?: string | undefined; - } - interface RemoveBreakpointParameterType { - breakpointId: BreakpointId; - } - interface GetPossibleBreakpointsParameterType { - /** - * Start of range to search possible breakpoint locations in. - */ - start: Location; - /** - * End of range to search possible breakpoint locations in (excluding). When not specified, end of scripts is used as end of range. - */ - end?: Location | undefined; - /** - * Only consider locations which are in the same (non-nested) function as start. - */ - restrictToFunction?: boolean | undefined; - } - interface ContinueToLocationParameterType { - /** - * Location to continue to. - */ - location: Location; - targetCallFrames?: string | undefined; - } - interface PauseOnAsyncCallParameterType { - /** - * Debugger will pause when async call with given stack trace is started. - */ - parentStackTraceId: Runtime.StackTraceId; - } - interface StepIntoParameterType { - /** - * Debugger will issue additional Debugger.paused notification if any async task is scheduled before next pause. - * @experimental - */ - breakOnAsyncCall?: boolean | undefined; - } - interface GetStackTraceParameterType { - stackTraceId: Runtime.StackTraceId; - } - interface SearchInContentParameterType { - /** - * Id of the script to search in. - */ - scriptId: Runtime.ScriptId; - /** - * String to search for. - */ - query: string; - /** - * If true, search is case sensitive. - */ - caseSensitive?: boolean | undefined; - /** - * If true, treats string parameter as regex. - */ - isRegex?: boolean | undefined; - } - interface SetScriptSourceParameterType { - /** - * Id of the script to edit. - */ - scriptId: Runtime.ScriptId; - /** - * New content of the script. - */ - scriptSource: string; - /** - * If true the change will not actually be applied. Dry run may be used to get result description without actually modifying the code. - */ - dryRun?: boolean | undefined; - } - interface RestartFrameParameterType { - /** - * Call frame identifier to evaluate on. - */ - callFrameId: CallFrameId; - } - interface GetScriptSourceParameterType { - /** - * Id of the script to get source for. - */ - scriptId: Runtime.ScriptId; - } - interface SetPauseOnExceptionsParameterType { - /** - * Pause on exceptions mode. - */ - state: string; - } - interface EvaluateOnCallFrameParameterType { - /** - * Call frame identifier to evaluate on. - */ - callFrameId: CallFrameId; - /** - * Expression to evaluate. - */ - expression: string; - /** - * String object group name to put result into (allows rapid releasing resulting object handles using releaseObjectGroup). - */ - objectGroup?: string | undefined; - /** - * Specifies whether command line API should be available to the evaluated expression, defaults to false. - */ - includeCommandLineAPI?: boolean | undefined; - /** - * In silent mode exceptions thrown during evaluation are not reported and do not pause execution. Overrides setPauseOnException state. - */ - silent?: boolean | undefined; - /** - * Whether the result is expected to be a JSON object that should be sent by value. - */ - returnByValue?: boolean | undefined; - /** - * Whether preview should be generated for the result. - * @experimental - */ - generatePreview?: boolean | undefined; - /** - * Whether to throw an exception if side effect cannot be ruled out during evaluation. - */ - throwOnSideEffect?: boolean | undefined; - } - interface SetVariableValueParameterType { - /** - * 0-based number of scope as was listed in scope chain. Only 'local', 'closure' and 'catch' scope types are allowed. Other scopes could be manipulated manually. - */ - scopeNumber: number; - /** - * Variable name. - */ - variableName: string; - /** - * New variable value. - */ - newValue: Runtime.CallArgument; - /** - * Id of callframe that holds variable. - */ - callFrameId: CallFrameId; - } - interface SetReturnValueParameterType { - /** - * New return value. - */ - newValue: Runtime.CallArgument; - } - interface SetAsyncCallStackDepthParameterType { - /** - * Maximum depth of async call stacks. Setting to 0 will effectively disable collecting async call stacks (default). - */ - maxDepth: number; - } - interface SetBlackboxPatternsParameterType { - /** - * Array of regexps that will be used to check script url for blackbox state. - */ - patterns: string[]; - } - interface SetBlackboxedRangesParameterType { - /** - * Id of the script. - */ - scriptId: Runtime.ScriptId; - positions: ScriptPosition[]; - } - interface EnableReturnType { - /** - * Unique identifier of the debugger. - * @experimental - */ - debuggerId: Runtime.UniqueDebuggerId; - } - interface SetBreakpointByUrlReturnType { - /** - * Id of the created breakpoint for further reference. - */ - breakpointId: BreakpointId; - /** - * List of the locations this breakpoint resolved into upon addition. - */ - locations: Location[]; - } - interface SetBreakpointReturnType { - /** - * Id of the created breakpoint for further reference. - */ - breakpointId: BreakpointId; - /** - * Location this breakpoint resolved into. - */ - actualLocation: Location; - } - interface GetPossibleBreakpointsReturnType { - /** - * List of the possible breakpoint locations. - */ - locations: BreakLocation[]; - } - interface GetStackTraceReturnType { - stackTrace: Runtime.StackTrace; - } - interface SearchInContentReturnType { - /** - * List of search matches. - */ - result: SearchMatch[]; - } - interface SetScriptSourceReturnType { - /** - * New stack trace in case editing has happened while VM was stopped. - */ - callFrames?: CallFrame[] | undefined; - /** - * Whether current call stack was modified after applying the changes. - */ - stackChanged?: boolean | undefined; - /** - * Async stack trace, if any. - */ - asyncStackTrace?: Runtime.StackTrace | undefined; - /** - * Async stack trace, if any. - * @experimental - */ - asyncStackTraceId?: Runtime.StackTraceId | undefined; - /** - * Exception details if any. - */ - exceptionDetails?: Runtime.ExceptionDetails | undefined; - } - interface RestartFrameReturnType { - /** - * New stack trace. - */ - callFrames: CallFrame[]; - /** - * Async stack trace, if any. - */ - asyncStackTrace?: Runtime.StackTrace | undefined; - /** - * Async stack trace, if any. - * @experimental - */ - asyncStackTraceId?: Runtime.StackTraceId | undefined; - } - interface GetScriptSourceReturnType { - /** - * Script source. - */ - scriptSource: string; - } - interface EvaluateOnCallFrameReturnType { - /** - * Object wrapper for the evaluation result. - */ - result: Runtime.RemoteObject; - /** - * Exception details. - */ - exceptionDetails?: Runtime.ExceptionDetails | undefined; - } - interface ScriptParsedEventDataType { - /** - * Identifier of the script parsed. - */ - scriptId: Runtime.ScriptId; - /** - * URL or name of the script parsed (if any). - */ - url: string; - /** - * Line offset of the script within the resource with given URL (for script tags). - */ - startLine: number; - /** - * Column offset of the script within the resource with given URL. - */ - startColumn: number; - /** - * Last line of the script. - */ - endLine: number; - /** - * Length of the last line of the script. - */ - endColumn: number; - /** - * Specifies script creation context. - */ - executionContextId: Runtime.ExecutionContextId; - /** - * Content hash of the script. - */ - hash: string; - /** - * Embedder-specific auxiliary data. - */ - executionContextAuxData?: {} | undefined; - /** - * True, if this script is generated as a result of the live edit operation. - * @experimental - */ - isLiveEdit?: boolean | undefined; - /** - * URL of source map associated with script (if any). - */ - sourceMapURL?: string | undefined; - /** - * True, if this script has sourceURL. - */ - hasSourceURL?: boolean | undefined; - /** - * True, if this script is ES6 module. - */ - isModule?: boolean | undefined; - /** - * This script length. - */ - length?: number | undefined; - /** - * JavaScript top stack frame of where the script parsed event was triggered if available. - * @experimental - */ - stackTrace?: Runtime.StackTrace | undefined; - } - interface ScriptFailedToParseEventDataType { - /** - * Identifier of the script parsed. - */ - scriptId: Runtime.ScriptId; - /** - * URL or name of the script parsed (if any). - */ - url: string; - /** - * Line offset of the script within the resource with given URL (for script tags). - */ - startLine: number; - /** - * Column offset of the script within the resource with given URL. - */ - startColumn: number; - /** - * Last line of the script. - */ - endLine: number; - /** - * Length of the last line of the script. - */ - endColumn: number; - /** - * Specifies script creation context. - */ - executionContextId: Runtime.ExecutionContextId; - /** - * Content hash of the script. - */ - hash: string; - /** - * Embedder-specific auxiliary data. - */ - executionContextAuxData?: {} | undefined; - /** - * URL of source map associated with script (if any). - */ - sourceMapURL?: string | undefined; - /** - * True, if this script has sourceURL. - */ - hasSourceURL?: boolean | undefined; - /** - * True, if this script is ES6 module. - */ - isModule?: boolean | undefined; - /** - * This script length. - */ - length?: number | undefined; - /** - * JavaScript top stack frame of where the script parsed event was triggered if available. - * @experimental - */ - stackTrace?: Runtime.StackTrace | undefined; - } - interface BreakpointResolvedEventDataType { - /** - * Breakpoint unique identifier. - */ - breakpointId: BreakpointId; - /** - * Actual breakpoint location. - */ - location: Location; - } - interface PausedEventDataType { - /** - * Call stack the virtual machine stopped on. - */ - callFrames: CallFrame[]; - /** - * Pause reason. - */ - reason: string; - /** - * Object containing break-specific auxiliary properties. - */ - data?: {} | undefined; - /** - * Hit breakpoints IDs - */ - hitBreakpoints?: string[] | undefined; - /** - * Async stack trace, if any. - */ - asyncStackTrace?: Runtime.StackTrace | undefined; - /** - * Async stack trace, if any. - * @experimental - */ - asyncStackTraceId?: Runtime.StackTraceId | undefined; - /** - * Just scheduled async call will have this stack trace as parent stack during async execution. This field is available only after Debugger.stepInto call with breakOnAsynCall flag. - * @experimental - */ - asyncCallStackTraceId?: Runtime.StackTraceId | undefined; - } - } - namespace Console { - /** - * Console message. - */ - interface ConsoleMessage { - /** - * Message source. - */ - source: string; - /** - * Message severity. - */ - level: string; - /** - * Message text. - */ - text: string; - /** - * URL of the message origin. - */ - url?: string | undefined; - /** - * Line number in the resource that generated this message (1-based). - */ - line?: number | undefined; - /** - * Column number in the resource that generated this message (1-based). - */ - column?: number | undefined; - } - interface MessageAddedEventDataType { - /** - * Console message that has been added. - */ - message: ConsoleMessage; - } - } - namespace Profiler { - /** - * Profile node. Holds callsite information, execution statistics and child nodes. - */ - interface ProfileNode { - /** - * Unique id of the node. - */ - id: number; - /** - * Function location. - */ - callFrame: Runtime.CallFrame; - /** - * Number of samples where this node was on top of the call stack. - */ - hitCount?: number | undefined; - /** - * Child node ids. - */ - children?: number[] | undefined; - /** - * The reason of being not optimized. The function may be deoptimized or marked as don't optimize. - */ - deoptReason?: string | undefined; - /** - * An array of source position ticks. - */ - positionTicks?: PositionTickInfo[] | undefined; - } - /** - * Profile. - */ - interface Profile { - /** - * The list of profile nodes. First item is the root node. - */ - nodes: ProfileNode[]; - /** - * Profiling start timestamp in microseconds. - */ - startTime: number; - /** - * Profiling end timestamp in microseconds. - */ - endTime: number; - /** - * Ids of samples top nodes. - */ - samples?: number[] | undefined; - /** - * Time intervals between adjacent samples in microseconds. The first delta is relative to the profile startTime. - */ - timeDeltas?: number[] | undefined; - } - /** - * Specifies a number of samples attributed to a certain source position. - */ - interface PositionTickInfo { - /** - * Source line number (1-based). - */ - line: number; - /** - * Number of samples attributed to the source line. - */ - ticks: number; - } - /** - * Coverage data for a source range. - */ - interface CoverageRange { - /** - * JavaScript script source offset for the range start. - */ - startOffset: number; - /** - * JavaScript script source offset for the range end. - */ - endOffset: number; - /** - * Collected execution count of the source range. - */ - count: number; - } - /** - * Coverage data for a JavaScript function. - */ - interface FunctionCoverage { - /** - * JavaScript function name. - */ - functionName: string; - /** - * Source ranges inside the function with coverage data. - */ - ranges: CoverageRange[]; - /** - * Whether coverage data for this function has block granularity. - */ - isBlockCoverage: boolean; - } - /** - * Coverage data for a JavaScript script. - */ - interface ScriptCoverage { - /** - * JavaScript script id. - */ - scriptId: Runtime.ScriptId; - /** - * JavaScript script name or url. - */ - url: string; - /** - * Functions contained in the script that has coverage data. - */ - functions: FunctionCoverage[]; - } - /** - * Describes a type collected during runtime. - * @experimental - */ - interface TypeObject { - /** - * Name of a type collected with type profiling. - */ - name: string; - } - /** - * Source offset and types for a parameter or return value. - * @experimental - */ - interface TypeProfileEntry { - /** - * Source offset of the parameter or end of function for return values. - */ - offset: number; - /** - * The types for this parameter or return value. - */ - types: TypeObject[]; - } - /** - * Type profile data collected during runtime for a JavaScript script. - * @experimental - */ - interface ScriptTypeProfile { - /** - * JavaScript script id. - */ - scriptId: Runtime.ScriptId; - /** - * JavaScript script name or url. - */ - url: string; - /** - * Type profile entries for parameters and return values of the functions in the script. - */ - entries: TypeProfileEntry[]; - } - interface SetSamplingIntervalParameterType { - /** - * New sampling interval in microseconds. - */ - interval: number; - } - interface StartPreciseCoverageParameterType { - /** - * Collect accurate call counts beyond simple 'covered' or 'not covered'. - */ - callCount?: boolean | undefined; - /** - * Collect block-based coverage. - */ - detailed?: boolean | undefined; - } - interface StopReturnType { - /** - * Recorded profile. - */ - profile: Profile; - } - interface TakePreciseCoverageReturnType { - /** - * Coverage data for the current isolate. - */ - result: ScriptCoverage[]; - } - interface GetBestEffortCoverageReturnType { - /** - * Coverage data for the current isolate. - */ - result: ScriptCoverage[]; - } - interface TakeTypeProfileReturnType { - /** - * Type profile for all scripts since startTypeProfile() was turned on. - */ - result: ScriptTypeProfile[]; - } - interface ConsoleProfileStartedEventDataType { - id: string; - /** - * Location of console.profile(). - */ - location: Debugger.Location; - /** - * Profile title passed as an argument to console.profile(). - */ - title?: string | undefined; - } - interface ConsoleProfileFinishedEventDataType { - id: string; - /** - * Location of console.profileEnd(). - */ - location: Debugger.Location; - profile: Profile; - /** - * Profile title passed as an argument to console.profile(). - */ - title?: string | undefined; - } - } - namespace HeapProfiler { - /** - * Heap snapshot object id. - */ - type HeapSnapshotObjectId = string; - /** - * Sampling Heap Profile node. Holds callsite information, allocation statistics and child nodes. - */ - interface SamplingHeapProfileNode { - /** - * Function location. - */ - callFrame: Runtime.CallFrame; - /** - * Allocations size in bytes for the node excluding children. - */ - selfSize: number; - /** - * Child nodes. - */ - children: SamplingHeapProfileNode[]; - } - /** - * Profile. - */ - interface SamplingHeapProfile { - head: SamplingHeapProfileNode; - } - interface StartTrackingHeapObjectsParameterType { - trackAllocations?: boolean | undefined; - } - interface StopTrackingHeapObjectsParameterType { - /** - * If true 'reportHeapSnapshotProgress' events will be generated while snapshot is being taken when the tracking is stopped. - */ - reportProgress?: boolean | undefined; - } - interface TakeHeapSnapshotParameterType { - /** - * If true 'reportHeapSnapshotProgress' events will be generated while snapshot is being taken. - */ - reportProgress?: boolean | undefined; - } - interface GetObjectByHeapObjectIdParameterType { - objectId: HeapSnapshotObjectId; - /** - * Symbolic group name that can be used to release multiple objects. - */ - objectGroup?: string | undefined; - } - interface AddInspectedHeapObjectParameterType { - /** - * Heap snapshot object id to be accessible by means of $x command line API. - */ - heapObjectId: HeapSnapshotObjectId; - } - interface GetHeapObjectIdParameterType { - /** - * Identifier of the object to get heap object id for. - */ - objectId: Runtime.RemoteObjectId; - } - interface StartSamplingParameterType { - /** - * Average sample interval in bytes. Poisson distribution is used for the intervals. The default value is 32768 bytes. - */ - samplingInterval?: number | undefined; - } - interface GetObjectByHeapObjectIdReturnType { - /** - * Evaluation result. - */ - result: Runtime.RemoteObject; - } - interface GetHeapObjectIdReturnType { - /** - * Id of the heap snapshot object corresponding to the passed remote object id. - */ - heapSnapshotObjectId: HeapSnapshotObjectId; - } - interface StopSamplingReturnType { - /** - * Recorded sampling heap profile. - */ - profile: SamplingHeapProfile; - } - interface GetSamplingProfileReturnType { - /** - * Return the sampling profile being collected. - */ - profile: SamplingHeapProfile; - } - interface AddHeapSnapshotChunkEventDataType { - chunk: string; - } - interface ReportHeapSnapshotProgressEventDataType { - done: number; - total: number; - finished?: boolean | undefined; - } - interface LastSeenObjectIdEventDataType { - lastSeenObjectId: number; - timestamp: number; - } - interface HeapStatsUpdateEventDataType { - /** - * An array of triplets. Each triplet describes a fragment. The first integer is the fragment index, the second integer is a total count of objects for the fragment, the third integer is a total size of the objects for the fragment. - */ - statsUpdate: number[]; - } - } - namespace NodeTracing { - interface TraceConfig { - /** - * Controls how the trace buffer stores data. - */ - recordMode?: string | undefined; - /** - * Included category filters. - */ - includedCategories: string[]; - } - interface StartParameterType { - traceConfig: TraceConfig; - } - interface GetCategoriesReturnType { - /** - * A list of supported tracing categories. - */ - categories: string[]; - } - interface DataCollectedEventDataType { - value: Array<{}>; - } - } - namespace NodeWorker { - type WorkerID = string; - /** - * Unique identifier of attached debugging session. - */ - type SessionID = string; - interface WorkerInfo { - workerId: WorkerID; - type: string; - title: string; - url: string; - } - interface SendMessageToWorkerParameterType { - message: string; - /** - * Identifier of the session. - */ - sessionId: SessionID; - } - interface EnableParameterType { - /** - * Whether to new workers should be paused until the frontend sends `Runtime.runIfWaitingForDebugger` - * message to run them. - */ - waitForDebuggerOnStart: boolean; - } - interface DetachParameterType { - sessionId: SessionID; - } - interface AttachedToWorkerEventDataType { - /** - * Identifier assigned to the session used to send/receive messages. - */ - sessionId: SessionID; - workerInfo: WorkerInfo; - waitingForDebugger: boolean; - } - interface DetachedFromWorkerEventDataType { - /** - * Detached session identifier. - */ - sessionId: SessionID; - } - interface ReceivedMessageFromWorkerEventDataType { - /** - * Identifier of a session which sends a message. - */ - sessionId: SessionID; - message: string; - } - } - namespace NodeRuntime { - interface NotifyWhenWaitingForDisconnectParameterType { - enabled: boolean; - } - } - /** - * The `inspector.Session` is used for dispatching messages to the V8 inspector - * back-end and receiving message responses and notifications. - */ - class Session extends EventEmitter { - /** - * Create a new instance of the inspector.Session class. - * The inspector session needs to be connected through session.connect() before the messages can be dispatched to the inspector backend. - */ - constructor(); - /** - * Connects a session to the inspector back-end. - * @since v8.0.0 - */ - connect(): void; - /** - * Immediately close the session. All pending message callbacks will be called - * with an error. `session.connect()` will need to be called to be able to send - * messages again. Reconnected session will lose all inspector state, such as - * enabled agents or configured breakpoints. - * @since v8.0.0 - */ - disconnect(): void; - /** - * Posts a message to the inspector back-end. `callback` will be notified when - * a response is received. `callback` is a function that accepts two optional - * arguments: error and message-specific result. - * - * ```js - * session.post('Runtime.evaluate', { expression: '2 + 2' }, - * (error, { result }) => console.log(result)); - * // Output: { type: 'number', value: 4, description: '4' } - * ``` - * - * The latest version of the V8 inspector protocol is published on the [Chrome DevTools Protocol Viewer](https://chromedevtools.github.io/devtools-protocol/v8/). - * - * Node.js inspector supports all the Chrome DevTools Protocol domains declared - * by V8\. Chrome DevTools Protocol domain provides an interface for interacting - * with one of the runtime agents used to inspect the application state and listen - * to the run-time events. - * - * ## Example usage - * - * Apart from the debugger, various V8 Profilers are available through the DevTools - * protocol. - * @since v8.0.0 - */ - post(method: string, params?: {}, callback?: (err: Error | null, params?: {}) => void): void; - post(method: string, callback?: (err: Error | null, params?: {}) => void): void; - /** - * Returns supported domains. - */ - post(method: 'Schema.getDomains', callback?: (err: Error | null, params: Schema.GetDomainsReturnType) => void): void; - /** - * Evaluates expression on global object. - */ - post(method: 'Runtime.evaluate', params?: Runtime.EvaluateParameterType, callback?: (err: Error | null, params: Runtime.EvaluateReturnType) => void): void; - post(method: 'Runtime.evaluate', callback?: (err: Error | null, params: Runtime.EvaluateReturnType) => void): void; - /** - * Add handler to promise with given promise object id. - */ - post(method: 'Runtime.awaitPromise', params?: Runtime.AwaitPromiseParameterType, callback?: (err: Error | null, params: Runtime.AwaitPromiseReturnType) => void): void; - post(method: 'Runtime.awaitPromise', callback?: (err: Error | null, params: Runtime.AwaitPromiseReturnType) => void): void; - /** - * Calls function with given declaration on the given object. Object group of the result is inherited from the target object. - */ - post(method: 'Runtime.callFunctionOn', params?: Runtime.CallFunctionOnParameterType, callback?: (err: Error | null, params: Runtime.CallFunctionOnReturnType) => void): void; - post(method: 'Runtime.callFunctionOn', callback?: (err: Error | null, params: Runtime.CallFunctionOnReturnType) => void): void; - /** - * Returns properties of a given object. Object group of the result is inherited from the target object. - */ - post(method: 'Runtime.getProperties', params?: Runtime.GetPropertiesParameterType, callback?: (err: Error | null, params: Runtime.GetPropertiesReturnType) => void): void; - post(method: 'Runtime.getProperties', callback?: (err: Error | null, params: Runtime.GetPropertiesReturnType) => void): void; - /** - * Releases remote object with given id. - */ - post(method: 'Runtime.releaseObject', params?: Runtime.ReleaseObjectParameterType, callback?: (err: Error | null) => void): void; - post(method: 'Runtime.releaseObject', callback?: (err: Error | null) => void): void; - /** - * Releases all remote objects that belong to a given group. - */ - post(method: 'Runtime.releaseObjectGroup', params?: Runtime.ReleaseObjectGroupParameterType, callback?: (err: Error | null) => void): void; - post(method: 'Runtime.releaseObjectGroup', callback?: (err: Error | null) => void): void; - /** - * Tells inspected instance to run if it was waiting for debugger to attach. - */ - post(method: 'Runtime.runIfWaitingForDebugger', callback?: (err: Error | null) => void): void; - /** - * Enables reporting of execution contexts creation by means of executionContextCreated event. When the reporting gets enabled the event will be sent immediately for each existing execution context. - */ - post(method: 'Runtime.enable', callback?: (err: Error | null) => void): void; - /** - * Disables reporting of execution contexts creation. - */ - post(method: 'Runtime.disable', callback?: (err: Error | null) => void): void; - /** - * Discards collected exceptions and console API calls. - */ - post(method: 'Runtime.discardConsoleEntries', callback?: (err: Error | null) => void): void; - /** - * @experimental - */ - post(method: 'Runtime.setCustomObjectFormatterEnabled', params?: Runtime.SetCustomObjectFormatterEnabledParameterType, callback?: (err: Error | null) => void): void; - post(method: 'Runtime.setCustomObjectFormatterEnabled', callback?: (err: Error | null) => void): void; - /** - * Compiles expression. - */ - post(method: 'Runtime.compileScript', params?: Runtime.CompileScriptParameterType, callback?: (err: Error | null, params: Runtime.CompileScriptReturnType) => void): void; - post(method: 'Runtime.compileScript', callback?: (err: Error | null, params: Runtime.CompileScriptReturnType) => void): void; - /** - * Runs script with given id in a given context. - */ - post(method: 'Runtime.runScript', params?: Runtime.RunScriptParameterType, callback?: (err: Error | null, params: Runtime.RunScriptReturnType) => void): void; - post(method: 'Runtime.runScript', callback?: (err: Error | null, params: Runtime.RunScriptReturnType) => void): void; - post(method: 'Runtime.queryObjects', params?: Runtime.QueryObjectsParameterType, callback?: (err: Error | null, params: Runtime.QueryObjectsReturnType) => void): void; - post(method: 'Runtime.queryObjects', callback?: (err: Error | null, params: Runtime.QueryObjectsReturnType) => void): void; - /** - * Returns all let, const and class variables from global scope. - */ - post( - method: 'Runtime.globalLexicalScopeNames', - params?: Runtime.GlobalLexicalScopeNamesParameterType, - callback?: (err: Error | null, params: Runtime.GlobalLexicalScopeNamesReturnType) => void - ): void; - post(method: 'Runtime.globalLexicalScopeNames', callback?: (err: Error | null, params: Runtime.GlobalLexicalScopeNamesReturnType) => void): void; - /** - * Enables debugger for the given page. Clients should not assume that the debugging has been enabled until the result for this command is received. - */ - post(method: 'Debugger.enable', callback?: (err: Error | null, params: Debugger.EnableReturnType) => void): void; - /** - * Disables debugger for given page. - */ - post(method: 'Debugger.disable', callback?: (err: Error | null) => void): void; - /** - * Activates / deactivates all breakpoints on the page. - */ - post(method: 'Debugger.setBreakpointsActive', params?: Debugger.SetBreakpointsActiveParameterType, callback?: (err: Error | null) => void): void; - post(method: 'Debugger.setBreakpointsActive', callback?: (err: Error | null) => void): void; - /** - * Makes page not interrupt on any pauses (breakpoint, exception, dom exception etc). - */ - post(method: 'Debugger.setSkipAllPauses', params?: Debugger.SetSkipAllPausesParameterType, callback?: (err: Error | null) => void): void; - post(method: 'Debugger.setSkipAllPauses', callback?: (err: Error | null) => void): void; - /** - * Sets JavaScript breakpoint at given location specified either by URL or URL regex. Once this command is issued, all existing parsed scripts will have breakpoints resolved and returned in locations property. Further matching script parsing will result in subsequent breakpointResolved events issued. This logical breakpoint will survive page reloads. - */ - post(method: 'Debugger.setBreakpointByUrl', params?: Debugger.SetBreakpointByUrlParameterType, callback?: (err: Error | null, params: Debugger.SetBreakpointByUrlReturnType) => void): void; - post(method: 'Debugger.setBreakpointByUrl', callback?: (err: Error | null, params: Debugger.SetBreakpointByUrlReturnType) => void): void; - /** - * Sets JavaScript breakpoint at a given location. - */ - post(method: 'Debugger.setBreakpoint', params?: Debugger.SetBreakpointParameterType, callback?: (err: Error | null, params: Debugger.SetBreakpointReturnType) => void): void; - post(method: 'Debugger.setBreakpoint', callback?: (err: Error | null, params: Debugger.SetBreakpointReturnType) => void): void; - /** - * Removes JavaScript breakpoint. - */ - post(method: 'Debugger.removeBreakpoint', params?: Debugger.RemoveBreakpointParameterType, callback?: (err: Error | null) => void): void; - post(method: 'Debugger.removeBreakpoint', callback?: (err: Error | null) => void): void; - /** - * Returns possible locations for breakpoint. scriptId in start and end range locations should be the same. - */ - post( - method: 'Debugger.getPossibleBreakpoints', - params?: Debugger.GetPossibleBreakpointsParameterType, - callback?: (err: Error | null, params: Debugger.GetPossibleBreakpointsReturnType) => void - ): void; - post(method: 'Debugger.getPossibleBreakpoints', callback?: (err: Error | null, params: Debugger.GetPossibleBreakpointsReturnType) => void): void; - /** - * Continues execution until specific location is reached. - */ - post(method: 'Debugger.continueToLocation', params?: Debugger.ContinueToLocationParameterType, callback?: (err: Error | null) => void): void; - post(method: 'Debugger.continueToLocation', callback?: (err: Error | null) => void): void; - /** - * @experimental - */ - post(method: 'Debugger.pauseOnAsyncCall', params?: Debugger.PauseOnAsyncCallParameterType, callback?: (err: Error | null) => void): void; - post(method: 'Debugger.pauseOnAsyncCall', callback?: (err: Error | null) => void): void; - /** - * Steps over the statement. - */ - post(method: 'Debugger.stepOver', callback?: (err: Error | null) => void): void; - /** - * Steps into the function call. - */ - post(method: 'Debugger.stepInto', params?: Debugger.StepIntoParameterType, callback?: (err: Error | null) => void): void; - post(method: 'Debugger.stepInto', callback?: (err: Error | null) => void): void; - /** - * Steps out of the function call. - */ - post(method: 'Debugger.stepOut', callback?: (err: Error | null) => void): void; - /** - * Stops on the next JavaScript statement. - */ - post(method: 'Debugger.pause', callback?: (err: Error | null) => void): void; - /** - * This method is deprecated - use Debugger.stepInto with breakOnAsyncCall and Debugger.pauseOnAsyncTask instead. Steps into next scheduled async task if any is scheduled before next pause. Returns success when async task is actually scheduled, returns error if no task were scheduled or another scheduleStepIntoAsync was called. - * @experimental - */ - post(method: 'Debugger.scheduleStepIntoAsync', callback?: (err: Error | null) => void): void; - /** - * Resumes JavaScript execution. - */ - post(method: 'Debugger.resume', callback?: (err: Error | null) => void): void; - /** - * Returns stack trace with given stackTraceId. - * @experimental - */ - post(method: 'Debugger.getStackTrace', params?: Debugger.GetStackTraceParameterType, callback?: (err: Error | null, params: Debugger.GetStackTraceReturnType) => void): void; - post(method: 'Debugger.getStackTrace', callback?: (err: Error | null, params: Debugger.GetStackTraceReturnType) => void): void; - /** - * Searches for given string in script content. - */ - post(method: 'Debugger.searchInContent', params?: Debugger.SearchInContentParameterType, callback?: (err: Error | null, params: Debugger.SearchInContentReturnType) => void): void; - post(method: 'Debugger.searchInContent', callback?: (err: Error | null, params: Debugger.SearchInContentReturnType) => void): void; - /** - * Edits JavaScript source live. - */ - post(method: 'Debugger.setScriptSource', params?: Debugger.SetScriptSourceParameterType, callback?: (err: Error | null, params: Debugger.SetScriptSourceReturnType) => void): void; - post(method: 'Debugger.setScriptSource', callback?: (err: Error | null, params: Debugger.SetScriptSourceReturnType) => void): void; - /** - * Restarts particular call frame from the beginning. - */ - post(method: 'Debugger.restartFrame', params?: Debugger.RestartFrameParameterType, callback?: (err: Error | null, params: Debugger.RestartFrameReturnType) => void): void; - post(method: 'Debugger.restartFrame', callback?: (err: Error | null, params: Debugger.RestartFrameReturnType) => void): void; - /** - * Returns source for the script with given id. - */ - post(method: 'Debugger.getScriptSource', params?: Debugger.GetScriptSourceParameterType, callback?: (err: Error | null, params: Debugger.GetScriptSourceReturnType) => void): void; - post(method: 'Debugger.getScriptSource', callback?: (err: Error | null, params: Debugger.GetScriptSourceReturnType) => void): void; - /** - * Defines pause on exceptions state. Can be set to stop on all exceptions, uncaught exceptions or no exceptions. Initial pause on exceptions state is none. - */ - post(method: 'Debugger.setPauseOnExceptions', params?: Debugger.SetPauseOnExceptionsParameterType, callback?: (err: Error | null) => void): void; - post(method: 'Debugger.setPauseOnExceptions', callback?: (err: Error | null) => void): void; - /** - * Evaluates expression on a given call frame. - */ - post(method: 'Debugger.evaluateOnCallFrame', params?: Debugger.EvaluateOnCallFrameParameterType, callback?: (err: Error | null, params: Debugger.EvaluateOnCallFrameReturnType) => void): void; - post(method: 'Debugger.evaluateOnCallFrame', callback?: (err: Error | null, params: Debugger.EvaluateOnCallFrameReturnType) => void): void; - /** - * Changes value of variable in a callframe. Object-based scopes are not supported and must be mutated manually. - */ - post(method: 'Debugger.setVariableValue', params?: Debugger.SetVariableValueParameterType, callback?: (err: Error | null) => void): void; - post(method: 'Debugger.setVariableValue', callback?: (err: Error | null) => void): void; - /** - * Changes return value in top frame. Available only at return break position. - * @experimental - */ - post(method: 'Debugger.setReturnValue', params?: Debugger.SetReturnValueParameterType, callback?: (err: Error | null) => void): void; - post(method: 'Debugger.setReturnValue', callback?: (err: Error | null) => void): void; - /** - * Enables or disables async call stacks tracking. - */ - post(method: 'Debugger.setAsyncCallStackDepth', params?: Debugger.SetAsyncCallStackDepthParameterType, callback?: (err: Error | null) => void): void; - post(method: 'Debugger.setAsyncCallStackDepth', callback?: (err: Error | null) => void): void; - /** - * Replace previous blackbox patterns with passed ones. Forces backend to skip stepping/pausing in scripts with url matching one of the patterns. VM will try to leave blackboxed script by performing 'step in' several times, finally resorting to 'step out' if unsuccessful. - * @experimental - */ - post(method: 'Debugger.setBlackboxPatterns', params?: Debugger.SetBlackboxPatternsParameterType, callback?: (err: Error | null) => void): void; - post(method: 'Debugger.setBlackboxPatterns', callback?: (err: Error | null) => void): void; - /** - * Makes backend skip steps in the script in blackboxed ranges. VM will try leave blacklisted scripts by performing 'step in' several times, finally resorting to 'step out' if unsuccessful. Positions array contains positions where blackbox state is changed. First interval isn't blackboxed. Array should be sorted. - * @experimental - */ - post(method: 'Debugger.setBlackboxedRanges', params?: Debugger.SetBlackboxedRangesParameterType, callback?: (err: Error | null) => void): void; - post(method: 'Debugger.setBlackboxedRanges', callback?: (err: Error | null) => void): void; - /** - * Enables console domain, sends the messages collected so far to the client by means of the messageAdded notification. - */ - post(method: 'Console.enable', callback?: (err: Error | null) => void): void; - /** - * Disables console domain, prevents further console messages from being reported to the client. - */ - post(method: 'Console.disable', callback?: (err: Error | null) => void): void; - /** - * Does nothing. - */ - post(method: 'Console.clearMessages', callback?: (err: Error | null) => void): void; - post(method: 'Profiler.enable', callback?: (err: Error | null) => void): void; - post(method: 'Profiler.disable', callback?: (err: Error | null) => void): void; - /** - * Changes CPU profiler sampling interval. Must be called before CPU profiles recording started. - */ - post(method: 'Profiler.setSamplingInterval', params?: Profiler.SetSamplingIntervalParameterType, callback?: (err: Error | null) => void): void; - post(method: 'Profiler.setSamplingInterval', callback?: (err: Error | null) => void): void; - post(method: 'Profiler.start', callback?: (err: Error | null) => void): void; - post(method: 'Profiler.stop', callback?: (err: Error | null, params: Profiler.StopReturnType) => void): void; - /** - * Enable precise code coverage. Coverage data for JavaScript executed before enabling precise code coverage may be incomplete. Enabling prevents running optimized code and resets execution counters. - */ - post(method: 'Profiler.startPreciseCoverage', params?: Profiler.StartPreciseCoverageParameterType, callback?: (err: Error | null) => void): void; - post(method: 'Profiler.startPreciseCoverage', callback?: (err: Error | null) => void): void; - /** - * Disable precise code coverage. Disabling releases unnecessary execution count records and allows executing optimized code. - */ - post(method: 'Profiler.stopPreciseCoverage', callback?: (err: Error | null) => void): void; - /** - * Collect coverage data for the current isolate, and resets execution counters. Precise code coverage needs to have started. - */ - post(method: 'Profiler.takePreciseCoverage', callback?: (err: Error | null, params: Profiler.TakePreciseCoverageReturnType) => void): void; - /** - * Collect coverage data for the current isolate. The coverage data may be incomplete due to garbage collection. - */ - post(method: 'Profiler.getBestEffortCoverage', callback?: (err: Error | null, params: Profiler.GetBestEffortCoverageReturnType) => void): void; - /** - * Enable type profile. - * @experimental - */ - post(method: 'Profiler.startTypeProfile', callback?: (err: Error | null) => void): void; - /** - * Disable type profile. Disabling releases type profile data collected so far. - * @experimental - */ - post(method: 'Profiler.stopTypeProfile', callback?: (err: Error | null) => void): void; - /** - * Collect type profile. - * @experimental - */ - post(method: 'Profiler.takeTypeProfile', callback?: (err: Error | null, params: Profiler.TakeTypeProfileReturnType) => void): void; - post(method: 'HeapProfiler.enable', callback?: (err: Error | null) => void): void; - post(method: 'HeapProfiler.disable', callback?: (err: Error | null) => void): void; - post(method: 'HeapProfiler.startTrackingHeapObjects', params?: HeapProfiler.StartTrackingHeapObjectsParameterType, callback?: (err: Error | null) => void): void; - post(method: 'HeapProfiler.startTrackingHeapObjects', callback?: (err: Error | null) => void): void; - post(method: 'HeapProfiler.stopTrackingHeapObjects', params?: HeapProfiler.StopTrackingHeapObjectsParameterType, callback?: (err: Error | null) => void): void; - post(method: 'HeapProfiler.stopTrackingHeapObjects', callback?: (err: Error | null) => void): void; - post(method: 'HeapProfiler.takeHeapSnapshot', params?: HeapProfiler.TakeHeapSnapshotParameterType, callback?: (err: Error | null) => void): void; - post(method: 'HeapProfiler.takeHeapSnapshot', callback?: (err: Error | null) => void): void; - post(method: 'HeapProfiler.collectGarbage', callback?: (err: Error | null) => void): void; - post( - method: 'HeapProfiler.getObjectByHeapObjectId', - params?: HeapProfiler.GetObjectByHeapObjectIdParameterType, - callback?: (err: Error | null, params: HeapProfiler.GetObjectByHeapObjectIdReturnType) => void - ): void; - post(method: 'HeapProfiler.getObjectByHeapObjectId', callback?: (err: Error | null, params: HeapProfiler.GetObjectByHeapObjectIdReturnType) => void): void; - /** - * Enables console to refer to the node with given id via $x (see Command Line API for more details $x functions). - */ - post(method: 'HeapProfiler.addInspectedHeapObject', params?: HeapProfiler.AddInspectedHeapObjectParameterType, callback?: (err: Error | null) => void): void; - post(method: 'HeapProfiler.addInspectedHeapObject', callback?: (err: Error | null) => void): void; - post(method: 'HeapProfiler.getHeapObjectId', params?: HeapProfiler.GetHeapObjectIdParameterType, callback?: (err: Error | null, params: HeapProfiler.GetHeapObjectIdReturnType) => void): void; - post(method: 'HeapProfiler.getHeapObjectId', callback?: (err: Error | null, params: HeapProfiler.GetHeapObjectIdReturnType) => void): void; - post(method: 'HeapProfiler.startSampling', params?: HeapProfiler.StartSamplingParameterType, callback?: (err: Error | null) => void): void; - post(method: 'HeapProfiler.startSampling', callback?: (err: Error | null) => void): void; - post(method: 'HeapProfiler.stopSampling', callback?: (err: Error | null, params: HeapProfiler.StopSamplingReturnType) => void): void; - post(method: 'HeapProfiler.getSamplingProfile', callback?: (err: Error | null, params: HeapProfiler.GetSamplingProfileReturnType) => void): void; - /** - * Gets supported tracing categories. - */ - post(method: 'NodeTracing.getCategories', callback?: (err: Error | null, params: NodeTracing.GetCategoriesReturnType) => void): void; - /** - * Start trace events collection. - */ - post(method: 'NodeTracing.start', params?: NodeTracing.StartParameterType, callback?: (err: Error | null) => void): void; - post(method: 'NodeTracing.start', callback?: (err: Error | null) => void): void; - /** - * Stop trace events collection. Remaining collected events will be sent as a sequence of - * dataCollected events followed by tracingComplete event. - */ - post(method: 'NodeTracing.stop', callback?: (err: Error | null) => void): void; - /** - * Sends protocol message over session with given id. - */ - post(method: 'NodeWorker.sendMessageToWorker', params?: NodeWorker.SendMessageToWorkerParameterType, callback?: (err: Error | null) => void): void; - post(method: 'NodeWorker.sendMessageToWorker', callback?: (err: Error | null) => void): void; - /** - * Instructs the inspector to attach to running workers. Will also attach to new workers - * as they start - */ - post(method: 'NodeWorker.enable', params?: NodeWorker.EnableParameterType, callback?: (err: Error | null) => void): void; - post(method: 'NodeWorker.enable', callback?: (err: Error | null) => void): void; - /** - * Detaches from all running workers and disables attaching to new workers as they are started. - */ - post(method: 'NodeWorker.disable', callback?: (err: Error | null) => void): void; - /** - * Detached from the worker with given sessionId. - */ - post(method: 'NodeWorker.detach', params?: NodeWorker.DetachParameterType, callback?: (err: Error | null) => void): void; - post(method: 'NodeWorker.detach', callback?: (err: Error | null) => void): void; - /** - * Enable the `NodeRuntime.waitingForDisconnect`. - */ - post(method: 'NodeRuntime.notifyWhenWaitingForDisconnect', params?: NodeRuntime.NotifyWhenWaitingForDisconnectParameterType, callback?: (err: Error | null) => void): void; - post(method: 'NodeRuntime.notifyWhenWaitingForDisconnect', callback?: (err: Error | null) => void): void; - // Events - addListener(event: string, listener: (...args: any[]) => void): this; - /** - * Emitted when any notification from the V8 Inspector is received. - */ - addListener(event: 'inspectorNotification', listener: (message: InspectorNotification<{}>) => void): this; - /** - * Issued when new execution context is created. - */ - addListener(event: 'Runtime.executionContextCreated', listener: (message: InspectorNotification) => void): this; - /** - * Issued when execution context is destroyed. - */ - addListener(event: 'Runtime.executionContextDestroyed', listener: (message: InspectorNotification) => void): this; - /** - * Issued when all executionContexts were cleared in browser - */ - addListener(event: 'Runtime.executionContextsCleared', listener: () => void): this; - /** - * Issued when exception was thrown and unhandled. - */ - addListener(event: 'Runtime.exceptionThrown', listener: (message: InspectorNotification) => void): this; - /** - * Issued when unhandled exception was revoked. - */ - addListener(event: 'Runtime.exceptionRevoked', listener: (message: InspectorNotification) => void): this; - /** - * Issued when console API was called. - */ - addListener(event: 'Runtime.consoleAPICalled', listener: (message: InspectorNotification) => void): this; - /** - * Issued when object should be inspected (for example, as a result of inspect() command line API call). - */ - addListener(event: 'Runtime.inspectRequested', listener: (message: InspectorNotification) => void): this; - /** - * Fired when virtual machine parses script. This event is also fired for all known and uncollected scripts upon enabling debugger. - */ - addListener(event: 'Debugger.scriptParsed', listener: (message: InspectorNotification) => void): this; - /** - * Fired when virtual machine fails to parse the script. - */ - addListener(event: 'Debugger.scriptFailedToParse', listener: (message: InspectorNotification) => void): this; - /** - * Fired when breakpoint is resolved to an actual script and location. - */ - addListener(event: 'Debugger.breakpointResolved', listener: (message: InspectorNotification) => void): this; - /** - * Fired when the virtual machine stopped on breakpoint or exception or any other stop criteria. - */ - addListener(event: 'Debugger.paused', listener: (message: InspectorNotification) => void): this; - /** - * Fired when the virtual machine resumed execution. - */ - addListener(event: 'Debugger.resumed', listener: () => void): this; - /** - * Issued when new console message is added. - */ - addListener(event: 'Console.messageAdded', listener: (message: InspectorNotification) => void): this; - /** - * Sent when new profile recording is started using console.profile() call. - */ - addListener(event: 'Profiler.consoleProfileStarted', listener: (message: InspectorNotification) => void): this; - addListener(event: 'Profiler.consoleProfileFinished', listener: (message: InspectorNotification) => void): this; - addListener(event: 'HeapProfiler.addHeapSnapshotChunk', listener: (message: InspectorNotification) => void): this; - addListener(event: 'HeapProfiler.resetProfiles', listener: () => void): this; - addListener(event: 'HeapProfiler.reportHeapSnapshotProgress', listener: (message: InspectorNotification) => void): this; - /** - * If heap objects tracking has been started then backend regularly sends a current value for last seen object id and corresponding timestamp. If the were changes in the heap since last event then one or more heapStatsUpdate events will be sent before a new lastSeenObjectId event. - */ - addListener(event: 'HeapProfiler.lastSeenObjectId', listener: (message: InspectorNotification) => void): this; - /** - * If heap objects tracking has been started then backend may send update for one or more fragments - */ - addListener(event: 'HeapProfiler.heapStatsUpdate', listener: (message: InspectorNotification) => void): this; - /** - * Contains an bucket of collected trace events. - */ - addListener(event: 'NodeTracing.dataCollected', listener: (message: InspectorNotification) => void): this; - /** - * Signals that tracing is stopped and there is no trace buffers pending flush, all data were - * delivered via dataCollected events. - */ - addListener(event: 'NodeTracing.tracingComplete', listener: () => void): this; - /** - * Issued when attached to a worker. - */ - addListener(event: 'NodeWorker.attachedToWorker', listener: (message: InspectorNotification) => void): this; - /** - * Issued when detached from the worker. - */ - addListener(event: 'NodeWorker.detachedFromWorker', listener: (message: InspectorNotification) => void): this; - /** - * Notifies about a new protocol message received from the session - * (session ID is provided in attachedToWorker notification). - */ - addListener(event: 'NodeWorker.receivedMessageFromWorker', listener: (message: InspectorNotification) => void): this; - /** - * This event is fired instead of `Runtime.executionContextDestroyed` when - * enabled. - * It is fired when the Node process finished all code execution and is - * waiting for all frontends to disconnect. - */ - addListener(event: 'NodeRuntime.waitingForDisconnect', listener: () => void): this; - emit(event: string | symbol, ...args: any[]): boolean; - emit(event: 'inspectorNotification', message: InspectorNotification<{}>): boolean; - emit(event: 'Runtime.executionContextCreated', message: InspectorNotification): boolean; - emit(event: 'Runtime.executionContextDestroyed', message: InspectorNotification): boolean; - emit(event: 'Runtime.executionContextsCleared'): boolean; - emit(event: 'Runtime.exceptionThrown', message: InspectorNotification): boolean; - emit(event: 'Runtime.exceptionRevoked', message: InspectorNotification): boolean; - emit(event: 'Runtime.consoleAPICalled', message: InspectorNotification): boolean; - emit(event: 'Runtime.inspectRequested', message: InspectorNotification): boolean; - emit(event: 'Debugger.scriptParsed', message: InspectorNotification): boolean; - emit(event: 'Debugger.scriptFailedToParse', message: InspectorNotification): boolean; - emit(event: 'Debugger.breakpointResolved', message: InspectorNotification): boolean; - emit(event: 'Debugger.paused', message: InspectorNotification): boolean; - emit(event: 'Debugger.resumed'): boolean; - emit(event: 'Console.messageAdded', message: InspectorNotification): boolean; - emit(event: 'Profiler.consoleProfileStarted', message: InspectorNotification): boolean; - emit(event: 'Profiler.consoleProfileFinished', message: InspectorNotification): boolean; - emit(event: 'HeapProfiler.addHeapSnapshotChunk', message: InspectorNotification): boolean; - emit(event: 'HeapProfiler.resetProfiles'): boolean; - emit(event: 'HeapProfiler.reportHeapSnapshotProgress', message: InspectorNotification): boolean; - emit(event: 'HeapProfiler.lastSeenObjectId', message: InspectorNotification): boolean; - emit(event: 'HeapProfiler.heapStatsUpdate', message: InspectorNotification): boolean; - emit(event: 'NodeTracing.dataCollected', message: InspectorNotification): boolean; - emit(event: 'NodeTracing.tracingComplete'): boolean; - emit(event: 'NodeWorker.attachedToWorker', message: InspectorNotification): boolean; - emit(event: 'NodeWorker.detachedFromWorker', message: InspectorNotification): boolean; - emit(event: 'NodeWorker.receivedMessageFromWorker', message: InspectorNotification): boolean; - emit(event: 'NodeRuntime.waitingForDisconnect'): boolean; - on(event: string, listener: (...args: any[]) => void): this; - /** - * Emitted when any notification from the V8 Inspector is received. - */ - on(event: 'inspectorNotification', listener: (message: InspectorNotification<{}>) => void): this; - /** - * Issued when new execution context is created. - */ - on(event: 'Runtime.executionContextCreated', listener: (message: InspectorNotification) => void): this; - /** - * Issued when execution context is destroyed. - */ - on(event: 'Runtime.executionContextDestroyed', listener: (message: InspectorNotification) => void): this; - /** - * Issued when all executionContexts were cleared in browser - */ - on(event: 'Runtime.executionContextsCleared', listener: () => void): this; - /** - * Issued when exception was thrown and unhandled. - */ - on(event: 'Runtime.exceptionThrown', listener: (message: InspectorNotification) => void): this; - /** - * Issued when unhandled exception was revoked. - */ - on(event: 'Runtime.exceptionRevoked', listener: (message: InspectorNotification) => void): this; - /** - * Issued when console API was called. - */ - on(event: 'Runtime.consoleAPICalled', listener: (message: InspectorNotification) => void): this; - /** - * Issued when object should be inspected (for example, as a result of inspect() command line API call). - */ - on(event: 'Runtime.inspectRequested', listener: (message: InspectorNotification) => void): this; - /** - * Fired when virtual machine parses script. This event is also fired for all known and uncollected scripts upon enabling debugger. - */ - on(event: 'Debugger.scriptParsed', listener: (message: InspectorNotification) => void): this; - /** - * Fired when virtual machine fails to parse the script. - */ - on(event: 'Debugger.scriptFailedToParse', listener: (message: InspectorNotification) => void): this; - /** - * Fired when breakpoint is resolved to an actual script and location. - */ - on(event: 'Debugger.breakpointResolved', listener: (message: InspectorNotification) => void): this; - /** - * Fired when the virtual machine stopped on breakpoint or exception or any other stop criteria. - */ - on(event: 'Debugger.paused', listener: (message: InspectorNotification) => void): this; - /** - * Fired when the virtual machine resumed execution. - */ - on(event: 'Debugger.resumed', listener: () => void): this; - /** - * Issued when new console message is added. - */ - on(event: 'Console.messageAdded', listener: (message: InspectorNotification) => void): this; - /** - * Sent when new profile recording is started using console.profile() call. - */ - on(event: 'Profiler.consoleProfileStarted', listener: (message: InspectorNotification) => void): this; - on(event: 'Profiler.consoleProfileFinished', listener: (message: InspectorNotification) => void): this; - on(event: 'HeapProfiler.addHeapSnapshotChunk', listener: (message: InspectorNotification) => void): this; - on(event: 'HeapProfiler.resetProfiles', listener: () => void): this; - on(event: 'HeapProfiler.reportHeapSnapshotProgress', listener: (message: InspectorNotification) => void): this; - /** - * If heap objects tracking has been started then backend regularly sends a current value for last seen object id and corresponding timestamp. If the were changes in the heap since last event then one or more heapStatsUpdate events will be sent before a new lastSeenObjectId event. - */ - on(event: 'HeapProfiler.lastSeenObjectId', listener: (message: InspectorNotification) => void): this; - /** - * If heap objects tracking has been started then backend may send update for one or more fragments - */ - on(event: 'HeapProfiler.heapStatsUpdate', listener: (message: InspectorNotification) => void): this; - /** - * Contains an bucket of collected trace events. - */ - on(event: 'NodeTracing.dataCollected', listener: (message: InspectorNotification) => void): this; - /** - * Signals that tracing is stopped and there is no trace buffers pending flush, all data were - * delivered via dataCollected events. - */ - on(event: 'NodeTracing.tracingComplete', listener: () => void): this; - /** - * Issued when attached to a worker. - */ - on(event: 'NodeWorker.attachedToWorker', listener: (message: InspectorNotification) => void): this; - /** - * Issued when detached from the worker. - */ - on(event: 'NodeWorker.detachedFromWorker', listener: (message: InspectorNotification) => void): this; - /** - * Notifies about a new protocol message received from the session - * (session ID is provided in attachedToWorker notification). - */ - on(event: 'NodeWorker.receivedMessageFromWorker', listener: (message: InspectorNotification) => void): this; - /** - * This event is fired instead of `Runtime.executionContextDestroyed` when - * enabled. - * It is fired when the Node process finished all code execution and is - * waiting for all frontends to disconnect. - */ - on(event: 'NodeRuntime.waitingForDisconnect', listener: () => void): this; - once(event: string, listener: (...args: any[]) => void): this; - /** - * Emitted when any notification from the V8 Inspector is received. - */ - once(event: 'inspectorNotification', listener: (message: InspectorNotification<{}>) => void): this; - /** - * Issued when new execution context is created. - */ - once(event: 'Runtime.executionContextCreated', listener: (message: InspectorNotification) => void): this; - /** - * Issued when execution context is destroyed. - */ - once(event: 'Runtime.executionContextDestroyed', listener: (message: InspectorNotification) => void): this; - /** - * Issued when all executionContexts were cleared in browser - */ - once(event: 'Runtime.executionContextsCleared', listener: () => void): this; - /** - * Issued when exception was thrown and unhandled. - */ - once(event: 'Runtime.exceptionThrown', listener: (message: InspectorNotification) => void): this; - /** - * Issued when unhandled exception was revoked. - */ - once(event: 'Runtime.exceptionRevoked', listener: (message: InspectorNotification) => void): this; - /** - * Issued when console API was called. - */ - once(event: 'Runtime.consoleAPICalled', listener: (message: InspectorNotification) => void): this; - /** - * Issued when object should be inspected (for example, as a result of inspect() command line API call). - */ - once(event: 'Runtime.inspectRequested', listener: (message: InspectorNotification) => void): this; - /** - * Fired when virtual machine parses script. This event is also fired for all known and uncollected scripts upon enabling debugger. - */ - once(event: 'Debugger.scriptParsed', listener: (message: InspectorNotification) => void): this; - /** - * Fired when virtual machine fails to parse the script. - */ - once(event: 'Debugger.scriptFailedToParse', listener: (message: InspectorNotification) => void): this; - /** - * Fired when breakpoint is resolved to an actual script and location. - */ - once(event: 'Debugger.breakpointResolved', listener: (message: InspectorNotification) => void): this; - /** - * Fired when the virtual machine stopped on breakpoint or exception or any other stop criteria. - */ - once(event: 'Debugger.paused', listener: (message: InspectorNotification) => void): this; - /** - * Fired when the virtual machine resumed execution. - */ - once(event: 'Debugger.resumed', listener: () => void): this; - /** - * Issued when new console message is added. - */ - once(event: 'Console.messageAdded', listener: (message: InspectorNotification) => void): this; - /** - * Sent when new profile recording is started using console.profile() call. - */ - once(event: 'Profiler.consoleProfileStarted', listener: (message: InspectorNotification) => void): this; - once(event: 'Profiler.consoleProfileFinished', listener: (message: InspectorNotification) => void): this; - once(event: 'HeapProfiler.addHeapSnapshotChunk', listener: (message: InspectorNotification) => void): this; - once(event: 'HeapProfiler.resetProfiles', listener: () => void): this; - once(event: 'HeapProfiler.reportHeapSnapshotProgress', listener: (message: InspectorNotification) => void): this; - /** - * If heap objects tracking has been started then backend regularly sends a current value for last seen object id and corresponding timestamp. If the were changes in the heap since last event then one or more heapStatsUpdate events will be sent before a new lastSeenObjectId event. - */ - once(event: 'HeapProfiler.lastSeenObjectId', listener: (message: InspectorNotification) => void): this; - /** - * If heap objects tracking has been started then backend may send update for one or more fragments - */ - once(event: 'HeapProfiler.heapStatsUpdate', listener: (message: InspectorNotification) => void): this; - /** - * Contains an bucket of collected trace events. - */ - once(event: 'NodeTracing.dataCollected', listener: (message: InspectorNotification) => void): this; - /** - * Signals that tracing is stopped and there is no trace buffers pending flush, all data were - * delivered via dataCollected events. - */ - once(event: 'NodeTracing.tracingComplete', listener: () => void): this; - /** - * Issued when attached to a worker. - */ - once(event: 'NodeWorker.attachedToWorker', listener: (message: InspectorNotification) => void): this; - /** - * Issued when detached from the worker. - */ - once(event: 'NodeWorker.detachedFromWorker', listener: (message: InspectorNotification) => void): this; - /** - * Notifies about a new protocol message received from the session - * (session ID is provided in attachedToWorker notification). - */ - once(event: 'NodeWorker.receivedMessageFromWorker', listener: (message: InspectorNotification) => void): this; - /** - * This event is fired instead of `Runtime.executionContextDestroyed` when - * enabled. - * It is fired when the Node process finished all code execution and is - * waiting for all frontends to disconnect. - */ - once(event: 'NodeRuntime.waitingForDisconnect', listener: () => void): this; - prependListener(event: string, listener: (...args: any[]) => void): this; - /** - * Emitted when any notification from the V8 Inspector is received. - */ - prependListener(event: 'inspectorNotification', listener: (message: InspectorNotification<{}>) => void): this; - /** - * Issued when new execution context is created. - */ - prependListener(event: 'Runtime.executionContextCreated', listener: (message: InspectorNotification) => void): this; - /** - * Issued when execution context is destroyed. - */ - prependListener(event: 'Runtime.executionContextDestroyed', listener: (message: InspectorNotification) => void): this; - /** - * Issued when all executionContexts were cleared in browser - */ - prependListener(event: 'Runtime.executionContextsCleared', listener: () => void): this; - /** - * Issued when exception was thrown and unhandled. - */ - prependListener(event: 'Runtime.exceptionThrown', listener: (message: InspectorNotification) => void): this; - /** - * Issued when unhandled exception was revoked. - */ - prependListener(event: 'Runtime.exceptionRevoked', listener: (message: InspectorNotification) => void): this; - /** - * Issued when console API was called. - */ - prependListener(event: 'Runtime.consoleAPICalled', listener: (message: InspectorNotification) => void): this; - /** - * Issued when object should be inspected (for example, as a result of inspect() command line API call). - */ - prependListener(event: 'Runtime.inspectRequested', listener: (message: InspectorNotification) => void): this; - /** - * Fired when virtual machine parses script. This event is also fired for all known and uncollected scripts upon enabling debugger. - */ - prependListener(event: 'Debugger.scriptParsed', listener: (message: InspectorNotification) => void): this; - /** - * Fired when virtual machine fails to parse the script. - */ - prependListener(event: 'Debugger.scriptFailedToParse', listener: (message: InspectorNotification) => void): this; - /** - * Fired when breakpoint is resolved to an actual script and location. - */ - prependListener(event: 'Debugger.breakpointResolved', listener: (message: InspectorNotification) => void): this; - /** - * Fired when the virtual machine stopped on breakpoint or exception or any other stop criteria. - */ - prependListener(event: 'Debugger.paused', listener: (message: InspectorNotification) => void): this; - /** - * Fired when the virtual machine resumed execution. - */ - prependListener(event: 'Debugger.resumed', listener: () => void): this; - /** - * Issued when new console message is added. - */ - prependListener(event: 'Console.messageAdded', listener: (message: InspectorNotification) => void): this; - /** - * Sent when new profile recording is started using console.profile() call. - */ - prependListener(event: 'Profiler.consoleProfileStarted', listener: (message: InspectorNotification) => void): this; - prependListener(event: 'Profiler.consoleProfileFinished', listener: (message: InspectorNotification) => void): this; - prependListener(event: 'HeapProfiler.addHeapSnapshotChunk', listener: (message: InspectorNotification) => void): this; - prependListener(event: 'HeapProfiler.resetProfiles', listener: () => void): this; - prependListener(event: 'HeapProfiler.reportHeapSnapshotProgress', listener: (message: InspectorNotification) => void): this; - /** - * If heap objects tracking has been started then backend regularly sends a current value for last seen object id and corresponding timestamp. If the were changes in the heap since last event then one or more heapStatsUpdate events will be sent before a new lastSeenObjectId event. - */ - prependListener(event: 'HeapProfiler.lastSeenObjectId', listener: (message: InspectorNotification) => void): this; - /** - * If heap objects tracking has been started then backend may send update for one or more fragments - */ - prependListener(event: 'HeapProfiler.heapStatsUpdate', listener: (message: InspectorNotification) => void): this; - /** - * Contains an bucket of collected trace events. - */ - prependListener(event: 'NodeTracing.dataCollected', listener: (message: InspectorNotification) => void): this; - /** - * Signals that tracing is stopped and there is no trace buffers pending flush, all data were - * delivered via dataCollected events. - */ - prependListener(event: 'NodeTracing.tracingComplete', listener: () => void): this; - /** - * Issued when attached to a worker. - */ - prependListener(event: 'NodeWorker.attachedToWorker', listener: (message: InspectorNotification) => void): this; - /** - * Issued when detached from the worker. - */ - prependListener(event: 'NodeWorker.detachedFromWorker', listener: (message: InspectorNotification) => void): this; - /** - * Notifies about a new protocol message received from the session - * (session ID is provided in attachedToWorker notification). - */ - prependListener(event: 'NodeWorker.receivedMessageFromWorker', listener: (message: InspectorNotification) => void): this; - /** - * This event is fired instead of `Runtime.executionContextDestroyed` when - * enabled. - * It is fired when the Node process finished all code execution and is - * waiting for all frontends to disconnect. - */ - prependListener(event: 'NodeRuntime.waitingForDisconnect', listener: () => void): this; - prependOnceListener(event: string, listener: (...args: any[]) => void): this; - /** - * Emitted when any notification from the V8 Inspector is received. - */ - prependOnceListener(event: 'inspectorNotification', listener: (message: InspectorNotification<{}>) => void): this; - /** - * Issued when new execution context is created. - */ - prependOnceListener(event: 'Runtime.executionContextCreated', listener: (message: InspectorNotification) => void): this; - /** - * Issued when execution context is destroyed. - */ - prependOnceListener(event: 'Runtime.executionContextDestroyed', listener: (message: InspectorNotification) => void): this; - /** - * Issued when all executionContexts were cleared in browser - */ - prependOnceListener(event: 'Runtime.executionContextsCleared', listener: () => void): this; - /** - * Issued when exception was thrown and unhandled. - */ - prependOnceListener(event: 'Runtime.exceptionThrown', listener: (message: InspectorNotification) => void): this; - /** - * Issued when unhandled exception was revoked. - */ - prependOnceListener(event: 'Runtime.exceptionRevoked', listener: (message: InspectorNotification) => void): this; - /** - * Issued when console API was called. - */ - prependOnceListener(event: 'Runtime.consoleAPICalled', listener: (message: InspectorNotification) => void): this; - /** - * Issued when object should be inspected (for example, as a result of inspect() command line API call). - */ - prependOnceListener(event: 'Runtime.inspectRequested', listener: (message: InspectorNotification) => void): this; - /** - * Fired when virtual machine parses script. This event is also fired for all known and uncollected scripts upon enabling debugger. - */ - prependOnceListener(event: 'Debugger.scriptParsed', listener: (message: InspectorNotification) => void): this; - /** - * Fired when virtual machine fails to parse the script. - */ - prependOnceListener(event: 'Debugger.scriptFailedToParse', listener: (message: InspectorNotification) => void): this; - /** - * Fired when breakpoint is resolved to an actual script and location. - */ - prependOnceListener(event: 'Debugger.breakpointResolved', listener: (message: InspectorNotification) => void): this; - /** - * Fired when the virtual machine stopped on breakpoint or exception or any other stop criteria. - */ - prependOnceListener(event: 'Debugger.paused', listener: (message: InspectorNotification) => void): this; - /** - * Fired when the virtual machine resumed execution. - */ - prependOnceListener(event: 'Debugger.resumed', listener: () => void): this; - /** - * Issued when new console message is added. - */ - prependOnceListener(event: 'Console.messageAdded', listener: (message: InspectorNotification) => void): this; - /** - * Sent when new profile recording is started using console.profile() call. - */ - prependOnceListener(event: 'Profiler.consoleProfileStarted', listener: (message: InspectorNotification) => void): this; - prependOnceListener(event: 'Profiler.consoleProfileFinished', listener: (message: InspectorNotification) => void): this; - prependOnceListener(event: 'HeapProfiler.addHeapSnapshotChunk', listener: (message: InspectorNotification) => void): this; - prependOnceListener(event: 'HeapProfiler.resetProfiles', listener: () => void): this; - prependOnceListener(event: 'HeapProfiler.reportHeapSnapshotProgress', listener: (message: InspectorNotification) => void): this; - /** - * If heap objects tracking has been started then backend regularly sends a current value for last seen object id and corresponding timestamp. If the were changes in the heap since last event then one or more heapStatsUpdate events will be sent before a new lastSeenObjectId event. - */ - prependOnceListener(event: 'HeapProfiler.lastSeenObjectId', listener: (message: InspectorNotification) => void): this; - /** - * If heap objects tracking has been started then backend may send update for one or more fragments - */ - prependOnceListener(event: 'HeapProfiler.heapStatsUpdate', listener: (message: InspectorNotification) => void): this; - /** - * Contains an bucket of collected trace events. - */ - prependOnceListener(event: 'NodeTracing.dataCollected', listener: (message: InspectorNotification) => void): this; - /** - * Signals that tracing is stopped and there is no trace buffers pending flush, all data were - * delivered via dataCollected events. - */ - prependOnceListener(event: 'NodeTracing.tracingComplete', listener: () => void): this; - /** - * Issued when attached to a worker. - */ - prependOnceListener(event: 'NodeWorker.attachedToWorker', listener: (message: InspectorNotification) => void): this; - /** - * Issued when detached from the worker. - */ - prependOnceListener(event: 'NodeWorker.detachedFromWorker', listener: (message: InspectorNotification) => void): this; - /** - * Notifies about a new protocol message received from the session - * (session ID is provided in attachedToWorker notification). - */ - prependOnceListener(event: 'NodeWorker.receivedMessageFromWorker', listener: (message: InspectorNotification) => void): this; - /** - * This event is fired instead of `Runtime.executionContextDestroyed` when - * enabled. - * It is fired when the Node process finished all code execution and is - * waiting for all frontends to disconnect. - */ - prependOnceListener(event: 'NodeRuntime.waitingForDisconnect', listener: () => void): this; - } - /** - * Activate inspector on host and port. Equivalent to`node --inspect=[[host:]port]`, but can be done programmatically after node has - * started. - * - * If wait is `true`, will block until a client has connected to the inspect port - * and flow control has been passed to the debugger client. - * - * See the `security warning` regarding the `host`parameter usage. - * @param [port='what was specified on the CLI'] Port to listen on for inspector connections. Optional. - * @param [host='what was specified on the CLI'] Host to listen on for inspector connections. Optional. - * @param [wait=false] Block until a client has connected. Optional. - * @returns Disposable that calls `inspector.close()`. - */ - function open(port?: number, host?: string, wait?: boolean): Disposable; - /** - * Deactivate the inspector. Blocks until there are no active connections. - */ - function close(): void; - /** - * Return the URL of the active inspector, or `undefined` if there is none. - * - * ```console - * $ node --inspect -p 'inspector.url()' - * Debugger listening on ws://127.0.0.1:9229/166e272e-7a30-4d09-97ce-f1c012b43c34 - * For help, see: https://nodejs.org/en/docs/inspector - * ws://127.0.0.1:9229/166e272e-7a30-4d09-97ce-f1c012b43c34 - * - * $ node --inspect=localhost:3000 -p 'inspector.url()' - * Debugger listening on ws://localhost:3000/51cf8d0e-3c36-4c59-8efd-54519839e56a - * For help, see: https://nodejs.org/en/docs/inspector - * ws://localhost:3000/51cf8d0e-3c36-4c59-8efd-54519839e56a - * - * $ node -p 'inspector.url()' - * undefined - * ``` - */ - function url(): string | undefined; - /** - * Blocks until a client (existing or connected later) has sent`Runtime.runIfWaitingForDebugger` command. - * - * An exception will be thrown if there is no active inspector. - * @since v12.7.0 - */ - function waitForDebugger(): void; -} -/** - * The inspector module provides an API for interacting with the V8 inspector. - */ -declare module 'node:inspector' { - import inspector = require('inspector'); - export = inspector; -} diff --git a/node_modules/@types/node/module.d.ts b/node_modules/@types/node/module.d.ts deleted file mode 100644 index c38a9b8..0000000 --- a/node_modules/@types/node/module.d.ts +++ /dev/null @@ -1,315 +0,0 @@ -/** - * @since v0.3.7 - * @experimental - */ -declare module "module" { - import { URL } from "node:url"; - import { MessagePort } from "node:worker_threads"; - namespace Module { - /** - * The `module.syncBuiltinESMExports()` method updates all the live bindings for - * builtin `ES Modules` to match the properties of the `CommonJS` exports. It - * does not add or remove exported names from the `ES Modules`. - * - * ```js - * const fs = require('node:fs'); - * const assert = require('node:assert'); - * const { syncBuiltinESMExports } = require('node:module'); - * - * fs.readFile = newAPI; - * - * delete fs.readFileSync; - * - * function newAPI() { - * // ... - * } - * - * fs.newAPI = newAPI; - * - * syncBuiltinESMExports(); - * - * import('node:fs').then((esmFS) => { - * // It syncs the existing readFile property with the new value - * assert.strictEqual(esmFS.readFile, newAPI); - * // readFileSync has been deleted from the required fs - * assert.strictEqual('readFileSync' in fs, false); - * // syncBuiltinESMExports() does not remove readFileSync from esmFS - * assert.strictEqual('readFileSync' in esmFS, true); - * // syncBuiltinESMExports() does not add names - * assert.strictEqual(esmFS.newAPI, undefined); - * }); - * ``` - * @since v12.12.0 - */ - function syncBuiltinESMExports(): void; - /** - * `path` is the resolved path for the file for which a corresponding source map - * should be fetched. - * @since v13.7.0, v12.17.0 - * @return Returns `module.SourceMap` if a source map is found, `undefined` otherwise. - */ - function findSourceMap(path: string, error?: Error): SourceMap; - interface SourceMapPayload { - file: string; - version: number; - sources: string[]; - sourcesContent: string[]; - names: string[]; - mappings: string; - sourceRoot: string; - } - interface SourceMapping { - generatedLine: number; - generatedColumn: number; - originalSource: string; - originalLine: number; - originalColumn: number; - } - interface SourceOrigin { - /** - * The name of the range in the source map, if one was provided - */ - name?: string; - /** - * The file name of the original source, as reported in the SourceMap - */ - fileName: string; - /** - * The 1-indexed lineNumber of the corresponding call site in the original source - */ - lineNumber: number; - /** - * The 1-indexed columnNumber of the corresponding call site in the original source - */ - columnNumber: number; - } - /** - * @since v13.7.0, v12.17.0 - */ - class SourceMap { - /** - * Getter for the payload used to construct the `SourceMap` instance. - */ - readonly payload: SourceMapPayload; - constructor(payload: SourceMapPayload); - /** - * Given a line offset and column offset in the generated source - * file, returns an object representing the SourceMap range in the - * original file if found, or an empty object if not. - * - * The object returned contains the following keys: - * - * The returned value represents the raw range as it appears in the - * SourceMap, based on zero-indexed offsets, _not_ 1-indexed line and - * column numbers as they appear in Error messages and CallSite - * objects. - * - * To get the corresponding 1-indexed line and column numbers from a - * lineNumber and columnNumber as they are reported by Error stacks - * and CallSite objects, use `sourceMap.findOrigin(lineNumber, columnNumber)` - * @param lineOffset The zero-indexed line number offset in the generated source - * @param columnOffset The zero-indexed column number offset in the generated source - */ - findEntry(lineOffset: number, columnOffset: number): SourceMapping; - /** - * Given a 1-indexed `lineNumber` and `columnNumber` from a call site in the generated source, - * find the corresponding call site location in the original source. - * - * If the `lineNumber` and `columnNumber` provided are not found in any source map, - * then an empty object is returned. - * @param lineNumber The 1-indexed line number of the call site in the generated source - * @param columnNumber The 1-indexed column number of the call site in the generated source - */ - findOrigin(lineNumber: number, columnNumber: number): SourceOrigin | {}; - } - /** @deprecated Use `ImportAttributes` instead */ - interface ImportAssertions extends ImportAttributes {} - interface ImportAttributes extends NodeJS.Dict { - type?: string | undefined; - } - type ModuleFormat = "builtin" | "commonjs" | "json" | "module" | "wasm"; - type ModuleSource = string | ArrayBuffer | NodeJS.TypedArray; - interface GlobalPreloadContext { - port: MessagePort; - } - /** - * @deprecated This hook will be removed in a future version. - * Use `initialize` instead. When a loader has an `initialize` export, `globalPreload` will be ignored. - * - * Sometimes it might be necessary to run some code inside of the same global scope that the application runs in. - * This hook allows the return of a string that is run as a sloppy-mode script on startup. - * - * @param context Information to assist the preload code - * @return Code to run before application startup - */ - type GlobalPreloadHook = (context: GlobalPreloadContext) => string; - /** - * The `initialize` hook provides a way to define a custom function that runs in the hooks thread - * when the hooks module is initialized. Initialization happens when the hooks module is registered via `register`. - * - * This hook can receive data from a `register` invocation, including ports and other transferrable objects. - * The return value of `initialize` can be a `Promise`, in which case it will be awaited before the main application thread execution resumes. - */ - type InitializeHook = (data: Data) => void | Promise; - interface ResolveHookContext { - /** - * Export conditions of the relevant `package.json` - */ - conditions: string[]; - /** - * @deprecated Use `importAttributes` instead - */ - importAssertions: ImportAttributes; - /** - * An object whose key-value pairs represent the assertions for the module to import - */ - importAttributes: ImportAttributes; - /** - * The module importing this one, or undefined if this is the Node.js entry point - */ - parentURL: string | undefined; - } - interface ResolveFnOutput { - /** - * A hint to the load hook (it might be ignored) - */ - format?: ModuleFormat | null | undefined; - /** - * @deprecated Use `importAttributes` instead - */ - importAssertions?: ImportAttributes | undefined; - /** - * The import attributes to use when caching the module (optional; if excluded the input will be used) - */ - importAttributes?: ImportAttributes | undefined; - /** - * A signal that this hook intends to terminate the chain of `resolve` hooks. - * @default false - */ - shortCircuit?: boolean | undefined; - /** - * The absolute URL to which this input resolves - */ - url: string; - } - /** - * The `resolve` hook chain is responsible for resolving file URL for a given module specifier and parent URL, and optionally its format (such as `'module'`) as a hint to the `load` hook. - * If a format is specified, the load hook is ultimately responsible for providing the final `format` value (and it is free to ignore the hint provided by `resolve`); - * if `resolve` provides a format, a custom `load` hook is required even if only to pass the value to the Node.js default `load` hook. - * - * @param specifier The specified URL path of the module to be resolved - * @param context - * @param nextResolve The subsequent `resolve` hook in the chain, or the Node.js default `resolve` hook after the last user-supplied resolve hook - */ - type ResolveHook = ( - specifier: string, - context: ResolveHookContext, - nextResolve: ( - specifier: string, - context?: ResolveHookContext, - ) => ResolveFnOutput | Promise, - ) => ResolveFnOutput | Promise; - interface LoadHookContext { - /** - * Export conditions of the relevant `package.json` - */ - conditions: string[]; - /** - * The format optionally supplied by the `resolve` hook chain - */ - format: ModuleFormat; - /** - * @deprecated Use `importAttributes` instead - */ - importAssertions: ImportAttributes; - /** - * An object whose key-value pairs represent the assertions for the module to import - */ - importAttributes: ImportAttributes; - } - interface LoadFnOutput { - format: ModuleFormat; - /** - * A signal that this hook intends to terminate the chain of `resolve` hooks. - * @default false - */ - shortCircuit?: boolean | undefined; - /** - * The source for Node.js to evaluate - */ - source?: ModuleSource; - } - /** - * The `load` hook provides a way to define a custom method of determining how a URL should be interpreted, retrieved, and parsed. - * It is also in charge of validating the import assertion. - * - * @param url The URL/path of the module to be loaded - * @param context Metadata about the module - * @param nextLoad The subsequent `load` hook in the chain, or the Node.js default `load` hook after the last user-supplied `load` hook - */ - type LoadHook = ( - url: string, - context: LoadHookContext, - nextLoad: (url: string, context?: LoadHookContext) => LoadFnOutput | Promise, - ) => LoadFnOutput | Promise; - } - interface RegisterOptions { - parentURL: string | URL; - data?: Data | undefined; - transferList?: any[] | undefined; - } - interface Module extends NodeModule {} - class Module { - static runMain(): void; - static wrap(code: string): string; - static createRequire(path: string | URL): NodeRequire; - static builtinModules: string[]; - static isBuiltin(moduleName: string): boolean; - static Module: typeof Module; - static register( - specifier: string | URL, - parentURL?: string | URL, - options?: RegisterOptions, - ): void; - static register(specifier: string | URL, options?: RegisterOptions): void; - constructor(id: string, parent?: Module); - } - global { - interface ImportMeta { - /** - * The directory name of the current module. This is the same as the `path.dirname()` of the `import.meta.filename`. - * **Caveat:** only present on `file:` modules. - */ - dirname: string; - /** - * The full absolute path and filename of the current module, with symlinks resolved. - * This is the same as the `url.fileURLToPath()` of the `import.meta.url`. - * **Caveat:** only local modules support this property. Modules not using the `file:` protocol will not provide it. - */ - filename: string; - /** - * The absolute `file:` URL of the module. - */ - url: string; - /** - * Provides a module-relative resolution function scoped to each module, returning - * the URL string. - * - * Second `parent` parameter is only used when the `--experimental-import-meta-resolve` - * command flag enabled. - * - * @since v20.6.0 - * - * @param specifier The module specifier to resolve relative to `parent`. - * @param parent The absolute parent module URL to resolve from. - * @returns The absolute (`file:`) URL string for the resolved module. - */ - resolve(specifier: string, parent?: string | URL | undefined): string; - } - } - export = Module; -} -declare module "node:module" { - import module = require("module"); - export = module; -} diff --git a/node_modules/@types/node/net.d.ts b/node_modules/@types/node/net.d.ts deleted file mode 100644 index c09b95d..0000000 --- a/node_modules/@types/node/net.d.ts +++ /dev/null @@ -1,954 +0,0 @@ -/** - * > Stability: 2 - Stable - * - * The `node:net` module provides an asynchronous network API for creating stream-based - * TCP or `IPC` servers ({@link createServer}) and clients - * ({@link createConnection}). - * - * It can be accessed using: - * - * ```js - * const net = require('node:net'); - * ``` - * @see [source](https://github.com/nodejs/node/blob/v20.2.0/lib/net.js) - */ -declare module "net" { - import * as stream from "node:stream"; - import { Abortable, EventEmitter } from "node:events"; - import * as dns from "node:dns"; - type LookupFunction = ( - hostname: string, - options: dns.LookupOptions, - callback: (err: NodeJS.ErrnoException | null, address: string | dns.LookupAddress[], family?: number) => void, - ) => void; - interface AddressInfo { - address: string; - family: string; - port: number; - } - interface SocketConstructorOpts { - fd?: number | undefined; - allowHalfOpen?: boolean | undefined; - readable?: boolean | undefined; - writable?: boolean | undefined; - signal?: AbortSignal; - } - interface OnReadOpts { - buffer: Uint8Array | (() => Uint8Array); - /** - * This function is called for every chunk of incoming data. - * Two arguments are passed to it: the number of bytes written to buffer and a reference to buffer. - * Return false from this function to implicitly pause() the socket. - */ - callback(bytesWritten: number, buf: Uint8Array): boolean; - } - interface ConnectOpts { - /** - * If specified, incoming data is stored in a single buffer and passed to the supplied callback when data arrives on the socket. - * Note: this will cause the streaming functionality to not provide any data, however events like 'error', 'end', and 'close' will - * still be emitted as normal and methods like pause() and resume() will also behave as expected. - */ - onread?: OnReadOpts | undefined; - } - interface TcpSocketConnectOpts extends ConnectOpts { - port: number; - host?: string | undefined; - localAddress?: string | undefined; - localPort?: number | undefined; - hints?: number | undefined; - family?: number | undefined; - lookup?: LookupFunction | undefined; - noDelay?: boolean | undefined; - keepAlive?: boolean | undefined; - keepAliveInitialDelay?: number | undefined; - /** - * @since v18.13.0 - */ - autoSelectFamily?: boolean | undefined; - /** - * @since v18.13.0 - */ - autoSelectFamilyAttemptTimeout?: number | undefined; - } - interface IpcSocketConnectOpts extends ConnectOpts { - path: string; - } - type SocketConnectOpts = TcpSocketConnectOpts | IpcSocketConnectOpts; - type SocketReadyState = "opening" | "open" | "readOnly" | "writeOnly" | "closed"; - /** - * This class is an abstraction of a TCP socket or a streaming `IPC` endpoint - * (uses named pipes on Windows, and Unix domain sockets otherwise). It is also - * an `EventEmitter`. - * - * A `net.Socket` can be created by the user and used directly to interact with - * a server. For example, it is returned by {@link createConnection}, - * so the user can use it to talk to the server. - * - * It can also be created by Node.js and passed to the user when a connection - * is received. For example, it is passed to the listeners of a `'connection'` event emitted on a {@link Server}, so the user can use - * it to interact with the client. - * @since v0.3.4 - */ - class Socket extends stream.Duplex { - constructor(options?: SocketConstructorOpts); - /** - * Destroys the socket after all data is written. If the `finish` event was already emitted the socket is destroyed immediately. - * If the socket is still writable it implicitly calls `socket.end()`. - * @since v0.3.4 - */ - destroySoon(): void; - /** - * Sends data on the socket. The second parameter specifies the encoding in the - * case of a string. It defaults to UTF8 encoding. - * - * Returns `true` if the entire data was flushed successfully to the kernel - * buffer. Returns `false` if all or part of the data was queued in user memory.`'drain'` will be emitted when the buffer is again free. - * - * The optional `callback` parameter will be executed when the data is finally - * written out, which may not be immediately. - * - * See `Writable` stream `write()` method for more - * information. - * @since v0.1.90 - * @param [encoding='utf8'] Only used when data is `string`. - */ - write(buffer: Uint8Array | string, cb?: (err?: Error) => void): boolean; - write(str: Uint8Array | string, encoding?: BufferEncoding, cb?: (err?: Error) => void): boolean; - /** - * Initiate a connection on a given socket. - * - * Possible signatures: - * - * * `socket.connect(options[, connectListener])` - * * `socket.connect(path[, connectListener])` for `IPC` connections. - * * `socket.connect(port[, host][, connectListener])` for TCP connections. - * * Returns: `net.Socket` The socket itself. - * - * This function is asynchronous. When the connection is established, the `'connect'` event will be emitted. If there is a problem connecting, - * instead of a `'connect'` event, an `'error'` event will be emitted with - * the error passed to the `'error'` listener. - * The last parameter `connectListener`, if supplied, will be added as a listener - * for the `'connect'` event **once**. - * - * This function should only be used for reconnecting a socket after`'close'` has been emitted or otherwise it may lead to undefined - * behavior. - */ - connect(options: SocketConnectOpts, connectionListener?: () => void): this; - connect(port: number, host: string, connectionListener?: () => void): this; - connect(port: number, connectionListener?: () => void): this; - connect(path: string, connectionListener?: () => void): this; - /** - * Set the encoding for the socket as a `Readable Stream`. See `readable.setEncoding()` for more information. - * @since v0.1.90 - * @return The socket itself. - */ - setEncoding(encoding?: BufferEncoding): this; - /** - * Pauses the reading of data. That is, `'data'` events will not be emitted. - * Useful to throttle back an upload. - * @return The socket itself. - */ - pause(): this; - /** - * Close the TCP connection by sending an RST packet and destroy the stream. - * If this TCP socket is in connecting status, it will send an RST packet and destroy this TCP socket once it is connected. - * Otherwise, it will call `socket.destroy` with an `ERR_SOCKET_CLOSED` Error. - * If this is not a TCP socket (for example, a pipe), calling this method will immediately throw an `ERR_INVALID_HANDLE_TYPE` Error. - * @since v18.3.0, v16.17.0 - */ - resetAndDestroy(): this; - /** - * Resumes reading after a call to `socket.pause()`. - * @return The socket itself. - */ - resume(): this; - /** - * Sets the socket to timeout after `timeout` milliseconds of inactivity on - * the socket. By default `net.Socket` do not have a timeout. - * - * When an idle timeout is triggered the socket will receive a `'timeout'` event but the connection will not be severed. The user must manually call `socket.end()` or `socket.destroy()` to - * end the connection. - * - * ```js - * socket.setTimeout(3000); - * socket.on('timeout', () => { - * console.log('socket timeout'); - * socket.end(); - * }); - * ``` - * - * If `timeout` is 0, then the existing idle timeout is disabled. - * - * The optional `callback` parameter will be added as a one-time listener for the `'timeout'` event. - * @since v0.1.90 - * @return The socket itself. - */ - setTimeout(timeout: number, callback?: () => void): this; - /** - * Enable/disable the use of Nagle's algorithm. - * - * When a TCP connection is created, it will have Nagle's algorithm enabled. - * - * Nagle's algorithm delays data before it is sent via the network. It attempts - * to optimize throughput at the expense of latency. - * - * Passing `true` for `noDelay` or not passing an argument will disable Nagle's - * algorithm for the socket. Passing `false` for `noDelay` will enable Nagle's - * algorithm. - * @since v0.1.90 - * @param [noDelay=true] - * @return The socket itself. - */ - setNoDelay(noDelay?: boolean): this; - /** - * Enable/disable keep-alive functionality, and optionally set the initial - * delay before the first keepalive probe is sent on an idle socket. - * - * Set `initialDelay` (in milliseconds) to set the delay between the last - * data packet received and the first keepalive probe. Setting `0` for`initialDelay` will leave the value unchanged from the default - * (or previous) setting. - * - * Enabling the keep-alive functionality will set the following socket options: - * - * * `SO_KEEPALIVE=1` - * * `TCP_KEEPIDLE=initialDelay` - * * `TCP_KEEPCNT=10` - * * `TCP_KEEPINTVL=1` - * @since v0.1.92 - * @param [enable=false] - * @param [initialDelay=0] - * @return The socket itself. - */ - setKeepAlive(enable?: boolean, initialDelay?: number): this; - /** - * Returns the bound `address`, the address `family` name and `port` of the - * socket as reported by the operating system:`{ port: 12346, family: 'IPv4', address: '127.0.0.1' }` - * @since v0.1.90 - */ - address(): AddressInfo | {}; - /** - * Calling `unref()` on a socket will allow the program to exit if this is the only - * active socket in the event system. If the socket is already `unref`ed calling`unref()` again will have no effect. - * @since v0.9.1 - * @return The socket itself. - */ - unref(): this; - /** - * Opposite of `unref()`, calling `ref()` on a previously `unref`ed socket will _not_ let the program exit if it's the only socket left (the default behavior). - * If the socket is `ref`ed calling `ref` again will have no effect. - * @since v0.9.1 - * @return The socket itself. - */ - ref(): this; - /** - * This property is only present if the family autoselection algorithm is enabled in `socket.connect(options)` - * and it is an array of the addresses that have been attempted. - * - * Each address is a string in the form of `$IP:$PORT`. - * If the connection was successful, then the last address is the one that the socket is currently connected to. - * @since v19.4.0 - */ - readonly autoSelectFamilyAttemptedAddresses: string[]; - /** - * This property shows the number of characters buffered for writing. The buffer - * may contain strings whose length after encoding is not yet known. So this number - * is only an approximation of the number of bytes in the buffer. - * - * `net.Socket` has the property that `socket.write()` always works. This is to - * help users get up and running quickly. The computer cannot always keep up - * with the amount of data that is written to a socket. The network connection - * simply might be too slow. Node.js will internally queue up the data written to a - * socket and send it out over the wire when it is possible. - * - * The consequence of this internal buffering is that memory may grow. - * Users who experience large or growing `bufferSize` should attempt to - * "throttle" the data flows in their program with `socket.pause()` and `socket.resume()`. - * @since v0.3.8 - * @deprecated Since v14.6.0 - Use `writableLength` instead. - */ - readonly bufferSize: number; - /** - * The amount of received bytes. - * @since v0.5.3 - */ - readonly bytesRead: number; - /** - * The amount of bytes sent. - * @since v0.5.3 - */ - readonly bytesWritten: number; - /** - * If `true`,`socket.connect(options[, connectListener])` was - * called and has not yet finished. It will stay `true` until the socket becomes - * connected, then it is set to `false` and the `'connect'` event is emitted. Note - * that the `socket.connect(options[, connectListener])` callback is a listener for the `'connect'` event. - * @since v6.1.0 - */ - readonly connecting: boolean; - /** - * This is `true` if the socket is not connected yet, either because `.connect()`has not yet been called or because it is still in the process of connecting - * (see `socket.connecting`). - * @since v11.2.0, v10.16.0 - */ - readonly pending: boolean; - /** - * See `writable.destroyed` for further details. - */ - readonly destroyed: boolean; - /** - * The string representation of the local IP address the remote client is - * connecting on. For example, in a server listening on `'0.0.0.0'`, if a client - * connects on `'192.168.1.1'`, the value of `socket.localAddress` would be`'192.168.1.1'`. - * @since v0.9.6 - */ - readonly localAddress?: string; - /** - * The numeric representation of the local port. For example, `80` or `21`. - * @since v0.9.6 - */ - readonly localPort?: number; - /** - * The string representation of the local IP family. `'IPv4'` or `'IPv6'`. - * @since v18.8.0, v16.18.0 - */ - readonly localFamily?: string; - /** - * This property represents the state of the connection as a string. - * - * * If the stream is connecting `socket.readyState` is `opening`. - * * If the stream is readable and writable, it is `open`. - * * If the stream is readable and not writable, it is `readOnly`. - * * If the stream is not readable and writable, it is `writeOnly`. - * @since v0.5.0 - */ - readonly readyState: SocketReadyState; - /** - * The string representation of the remote IP address. For example,`'74.125.127.100'` or `'2001:4860:a005::68'`. Value may be `undefined` if - * the socket is destroyed (for example, if the client disconnected). - * @since v0.5.10 - */ - readonly remoteAddress?: string | undefined; - /** - * The string representation of the remote IP family. `'IPv4'` or `'IPv6'`. Value may be `undefined` if - * the socket is destroyed (for example, if the client disconnected). - * @since v0.11.14 - */ - readonly remoteFamily?: string | undefined; - /** - * The numeric representation of the remote port. For example, `80` or `21`. Value may be `undefined` if - * the socket is destroyed (for example, if the client disconnected). - * @since v0.5.10 - */ - readonly remotePort?: number | undefined; - /** - * The socket timeout in milliseconds as set by `socket.setTimeout()`. - * It is `undefined` if a timeout has not been set. - * @since v10.7.0 - */ - readonly timeout?: number | undefined; - /** - * Half-closes the socket. i.e., it sends a FIN packet. It is possible the - * server will still send some data. - * - * See `writable.end()` for further details. - * @since v0.1.90 - * @param [encoding='utf8'] Only used when data is `string`. - * @param callback Optional callback for when the socket is finished. - * @return The socket itself. - */ - end(callback?: () => void): this; - end(buffer: Uint8Array | string, callback?: () => void): this; - end(str: Uint8Array | string, encoding?: BufferEncoding, callback?: () => void): this; - /** - * events.EventEmitter - * 1. close - * 2. connect - * 3. data - * 4. drain - * 5. end - * 6. error - * 7. lookup - * 8. ready - * 9. timeout - */ - addListener(event: string, listener: (...args: any[]) => void): this; - addListener(event: "close", listener: (hadError: boolean) => void): this; - addListener(event: "connect", listener: () => void): this; - addListener(event: "data", listener: (data: Buffer) => void): this; - addListener(event: "drain", listener: () => void): this; - addListener(event: "end", listener: () => void): this; - addListener(event: "error", listener: (err: Error) => void): this; - addListener( - event: "lookup", - listener: (err: Error, address: string, family: string | number, host: string) => void, - ): this; - addListener(event: "ready", listener: () => void): this; - addListener(event: "timeout", listener: () => void): this; - emit(event: string | symbol, ...args: any[]): boolean; - emit(event: "close", hadError: boolean): boolean; - emit(event: "connect"): boolean; - emit(event: "data", data: Buffer): boolean; - emit(event: "drain"): boolean; - emit(event: "end"): boolean; - emit(event: "error", err: Error): boolean; - emit(event: "lookup", err: Error, address: string, family: string | number, host: string): boolean; - emit(event: "ready"): boolean; - emit(event: "timeout"): boolean; - on(event: string, listener: (...args: any[]) => void): this; - on(event: "close", listener: (hadError: boolean) => void): this; - on(event: "connect", listener: () => void): this; - on(event: "data", listener: (data: Buffer) => void): this; - on(event: "drain", listener: () => void): this; - on(event: "end", listener: () => void): this; - on(event: "error", listener: (err: Error) => void): this; - on( - event: "lookup", - listener: (err: Error, address: string, family: string | number, host: string) => void, - ): this; - on(event: "ready", listener: () => void): this; - on(event: "timeout", listener: () => void): this; - once(event: string, listener: (...args: any[]) => void): this; - once(event: "close", listener: (hadError: boolean) => void): this; - once(event: "connect", listener: () => void): this; - once(event: "data", listener: (data: Buffer) => void): this; - once(event: "drain", listener: () => void): this; - once(event: "end", listener: () => void): this; - once(event: "error", listener: (err: Error) => void): this; - once( - event: "lookup", - listener: (err: Error, address: string, family: string | number, host: string) => void, - ): this; - once(event: "ready", listener: () => void): this; - once(event: "timeout", listener: () => void): this; - prependListener(event: string, listener: (...args: any[]) => void): this; - prependListener(event: "close", listener: (hadError: boolean) => void): this; - prependListener(event: "connect", listener: () => void): this; - prependListener(event: "data", listener: (data: Buffer) => void): this; - prependListener(event: "drain", listener: () => void): this; - prependListener(event: "end", listener: () => void): this; - prependListener(event: "error", listener: (err: Error) => void): this; - prependListener( - event: "lookup", - listener: (err: Error, address: string, family: string | number, host: string) => void, - ): this; - prependListener(event: "ready", listener: () => void): this; - prependListener(event: "timeout", listener: () => void): this; - prependOnceListener(event: string, listener: (...args: any[]) => void): this; - prependOnceListener(event: "close", listener: (hadError: boolean) => void): this; - prependOnceListener(event: "connect", listener: () => void): this; - prependOnceListener(event: "data", listener: (data: Buffer) => void): this; - prependOnceListener(event: "drain", listener: () => void): this; - prependOnceListener(event: "end", listener: () => void): this; - prependOnceListener(event: "error", listener: (err: Error) => void): this; - prependOnceListener( - event: "lookup", - listener: (err: Error, address: string, family: string | number, host: string) => void, - ): this; - prependOnceListener(event: "ready", listener: () => void): this; - prependOnceListener(event: "timeout", listener: () => void): this; - } - interface ListenOptions extends Abortable { - port?: number | undefined; - host?: string | undefined; - backlog?: number | undefined; - path?: string | undefined; - exclusive?: boolean | undefined; - readableAll?: boolean | undefined; - writableAll?: boolean | undefined; - /** - * @default false - */ - ipv6Only?: boolean | undefined; - } - interface ServerOpts { - /** - * Indicates whether half-opened TCP connections are allowed. - * @default false - */ - allowHalfOpen?: boolean | undefined; - /** - * Indicates whether the socket should be paused on incoming connections. - * @default false - */ - pauseOnConnect?: boolean | undefined; - /** - * If set to `true`, it disables the use of Nagle's algorithm immediately after a new incoming connection is received. - * @default false - * @since v16.5.0 - */ - noDelay?: boolean | undefined; - /** - * If set to `true`, it enables keep-alive functionality on the socket immediately after a new incoming connection is received, - * similarly on what is done in `socket.setKeepAlive([enable][, initialDelay])`. - * @default false - * @since v16.5.0 - */ - keepAlive?: boolean | undefined; - /** - * If set to a positive number, it sets the initial delay before the first keepalive probe is sent on an idle socket. - * @default 0 - * @since v16.5.0 - */ - keepAliveInitialDelay?: number | undefined; - } - interface DropArgument { - localAddress?: string; - localPort?: number; - localFamily?: string; - remoteAddress?: string; - remotePort?: number; - remoteFamily?: string; - } - /** - * This class is used to create a TCP or `IPC` server. - * @since v0.1.90 - */ - class Server extends EventEmitter { - constructor(connectionListener?: (socket: Socket) => void); - constructor(options?: ServerOpts, connectionListener?: (socket: Socket) => void); - /** - * Start a server listening for connections. A `net.Server` can be a TCP or - * an `IPC` server depending on what it listens to. - * - * Possible signatures: - * - * * `server.listen(handle[, backlog][, callback])` - * * `server.listen(options[, callback])` - * * `server.listen(path[, backlog][, callback])` for `IPC` servers - * * `server.listen([port[, host[, backlog]]][, callback])` for TCP servers - * - * This function is asynchronous. When the server starts listening, the `'listening'` event will be emitted. The last parameter `callback`will be added as a listener for the `'listening'` - * event. - * - * All `listen()` methods can take a `backlog` parameter to specify the maximum - * length of the queue of pending connections. The actual length will be determined - * by the OS through sysctl settings such as `tcp_max_syn_backlog` and `somaxconn`on Linux. The default value of this parameter is 511 (not 512). - * - * All {@link Socket} are set to `SO_REUSEADDR` (see [`socket(7)`](https://man7.org/linux/man-pages/man7/socket.7.html) for - * details). - * - * The `server.listen()` method can be called again if and only if there was an - * error during the first `server.listen()` call or `server.close()` has been - * called. Otherwise, an `ERR_SERVER_ALREADY_LISTEN` error will be thrown. - * - * One of the most common errors raised when listening is `EADDRINUSE`. - * This happens when another server is already listening on the requested`port`/`path`/`handle`. One way to handle this would be to retry - * after a certain amount of time: - * - * ```js - * server.on('error', (e) => { - * if (e.code === 'EADDRINUSE') { - * console.error('Address in use, retrying...'); - * setTimeout(() => { - * server.close(); - * server.listen(PORT, HOST); - * }, 1000); - * } - * }); - * ``` - */ - listen(port?: number, hostname?: string, backlog?: number, listeningListener?: () => void): this; - listen(port?: number, hostname?: string, listeningListener?: () => void): this; - listen(port?: number, backlog?: number, listeningListener?: () => void): this; - listen(port?: number, listeningListener?: () => void): this; - listen(path: string, backlog?: number, listeningListener?: () => void): this; - listen(path: string, listeningListener?: () => void): this; - listen(options: ListenOptions, listeningListener?: () => void): this; - listen(handle: any, backlog?: number, listeningListener?: () => void): this; - listen(handle: any, listeningListener?: () => void): this; - /** - * Stops the server from accepting new connections and keeps existing - * connections. This function is asynchronous, the server is finally closed - * when all connections are ended and the server emits a `'close'` event. - * The optional `callback` will be called once the `'close'` event occurs. Unlike - * that event, it will be called with an `Error` as its only argument if the server - * was not open when it was closed. - * @since v0.1.90 - * @param callback Called when the server is closed. - */ - close(callback?: (err?: Error) => void): this; - /** - * Returns the bound `address`, the address `family` name, and `port` of the server - * as reported by the operating system if listening on an IP socket - * (useful to find which port was assigned when getting an OS-assigned address):`{ port: 12346, family: 'IPv4', address: '127.0.0.1' }`. - * - * For a server listening on a pipe or Unix domain socket, the name is returned - * as a string. - * - * ```js - * const server = net.createServer((socket) => { - * socket.end('goodbye\n'); - * }).on('error', (err) => { - * // Handle errors here. - * throw err; - * }); - * - * // Grab an arbitrary unused port. - * server.listen(() => { - * console.log('opened server on', server.address()); - * }); - * ``` - * - * `server.address()` returns `null` before the `'listening'` event has been - * emitted or after calling `server.close()`. - * @since v0.1.90 - */ - address(): AddressInfo | string | null; - /** - * Asynchronously get the number of concurrent connections on the server. Works - * when sockets were sent to forks. - * - * Callback should take two arguments `err` and `count`. - * @since v0.9.7 - */ - getConnections(cb: (error: Error | null, count: number) => void): void; - /** - * Opposite of `unref()`, calling `ref()` on a previously `unref`ed server will _not_ let the program exit if it's the only server left (the default behavior). - * If the server is `ref`ed calling `ref()` again will have no effect. - * @since v0.9.1 - */ - ref(): this; - /** - * Calling `unref()` on a server will allow the program to exit if this is the only - * active server in the event system. If the server is already `unref`ed calling`unref()` again will have no effect. - * @since v0.9.1 - */ - unref(): this; - /** - * Set this property to reject connections when the server's connection count gets - * high. - * - * It is not recommended to use this option once a socket has been sent to a child - * with `child_process.fork()`. - * @since v0.2.0 - */ - maxConnections: number; - connections: number; - /** - * Indicates whether or not the server is listening for connections. - * @since v5.7.0 - */ - readonly listening: boolean; - /** - * events.EventEmitter - * 1. close - * 2. connection - * 3. error - * 4. listening - * 5. drop - */ - addListener(event: string, listener: (...args: any[]) => void): this; - addListener(event: "close", listener: () => void): this; - addListener(event: "connection", listener: (socket: Socket) => void): this; - addListener(event: "error", listener: (err: Error) => void): this; - addListener(event: "listening", listener: () => void): this; - addListener(event: "drop", listener: (data?: DropArgument) => void): this; - emit(event: string | symbol, ...args: any[]): boolean; - emit(event: "close"): boolean; - emit(event: "connection", socket: Socket): boolean; - emit(event: "error", err: Error): boolean; - emit(event: "listening"): boolean; - emit(event: "drop", data?: DropArgument): boolean; - on(event: string, listener: (...args: any[]) => void): this; - on(event: "close", listener: () => void): this; - on(event: "connection", listener: (socket: Socket) => void): this; - on(event: "error", listener: (err: Error) => void): this; - on(event: "listening", listener: () => void): this; - on(event: "drop", listener: (data?: DropArgument) => void): this; - once(event: string, listener: (...args: any[]) => void): this; - once(event: "close", listener: () => void): this; - once(event: "connection", listener: (socket: Socket) => void): this; - once(event: "error", listener: (err: Error) => void): this; - once(event: "listening", listener: () => void): this; - once(event: "drop", listener: (data?: DropArgument) => void): this; - prependListener(event: string, listener: (...args: any[]) => void): this; - prependListener(event: "close", listener: () => void): this; - prependListener(event: "connection", listener: (socket: Socket) => void): this; - prependListener(event: "error", listener: (err: Error) => void): this; - prependListener(event: "listening", listener: () => void): this; - prependListener(event: "drop", listener: (data?: DropArgument) => void): this; - prependOnceListener(event: string, listener: (...args: any[]) => void): this; - prependOnceListener(event: "close", listener: () => void): this; - prependOnceListener(event: "connection", listener: (socket: Socket) => void): this; - prependOnceListener(event: "error", listener: (err: Error) => void): this; - prependOnceListener(event: "listening", listener: () => void): this; - prependOnceListener(event: "drop", listener: (data?: DropArgument) => void): this; - /** - * Calls {@link Server.close()} and returns a promise that fulfills when the server has closed. - * @since v20.5.0 - */ - [Symbol.asyncDispose](): Promise; - } - type IPVersion = "ipv4" | "ipv6"; - /** - * The `BlockList` object can be used with some network APIs to specify rules for - * disabling inbound or outbound access to specific IP addresses, IP ranges, or - * IP subnets. - * @since v15.0.0, v14.18.0 - */ - class BlockList { - /** - * Adds a rule to block the given IP address. - * @since v15.0.0, v14.18.0 - * @param address An IPv4 or IPv6 address. - * @param [type='ipv4'] Either `'ipv4'` or `'ipv6'`. - */ - addAddress(address: string, type?: IPVersion): void; - addAddress(address: SocketAddress): void; - /** - * Adds a rule to block a range of IP addresses from `start` (inclusive) to`end` (inclusive). - * @since v15.0.0, v14.18.0 - * @param start The starting IPv4 or IPv6 address in the range. - * @param end The ending IPv4 or IPv6 address in the range. - * @param [type='ipv4'] Either `'ipv4'` or `'ipv6'`. - */ - addRange(start: string, end: string, type?: IPVersion): void; - addRange(start: SocketAddress, end: SocketAddress): void; - /** - * Adds a rule to block a range of IP addresses specified as a subnet mask. - * @since v15.0.0, v14.18.0 - * @param net The network IPv4 or IPv6 address. - * @param prefix The number of CIDR prefix bits. For IPv4, this must be a value between `0` and `32`. For IPv6, this must be between `0` and `128`. - * @param [type='ipv4'] Either `'ipv4'` or `'ipv6'`. - */ - addSubnet(net: SocketAddress, prefix: number): void; - addSubnet(net: string, prefix: number, type?: IPVersion): void; - /** - * Returns `true` if the given IP address matches any of the rules added to the`BlockList`. - * - * ```js - * const blockList = new net.BlockList(); - * blockList.addAddress('123.123.123.123'); - * blockList.addRange('10.0.0.1', '10.0.0.10'); - * blockList.addSubnet('8592:757c:efae:4e45::', 64, 'ipv6'); - * - * console.log(blockList.check('123.123.123.123')); // Prints: true - * console.log(blockList.check('10.0.0.3')); // Prints: true - * console.log(blockList.check('222.111.111.222')); // Prints: false - * - * // IPv6 notation for IPv4 addresses works: - * console.log(blockList.check('::ffff:7b7b:7b7b', 'ipv6')); // Prints: true - * console.log(blockList.check('::ffff:123.123.123.123', 'ipv6')); // Prints: true - * ``` - * @since v15.0.0, v14.18.0 - * @param address The IP address to check - * @param [type='ipv4'] Either `'ipv4'` or `'ipv6'`. - */ - check(address: SocketAddress): boolean; - check(address: string, type?: IPVersion): boolean; - /** - * The list of rules added to the blocklist. - * @since v15.0.0, v14.18.0 - */ - rules: readonly string[]; - } - interface TcpNetConnectOpts extends TcpSocketConnectOpts, SocketConstructorOpts { - timeout?: number | undefined; - } - interface IpcNetConnectOpts extends IpcSocketConnectOpts, SocketConstructorOpts { - timeout?: number | undefined; - } - type NetConnectOpts = TcpNetConnectOpts | IpcNetConnectOpts; - /** - * Creates a new TCP or `IPC` server. - * - * If `allowHalfOpen` is set to `true`, when the other end of the socket - * signals the end of transmission, the server will only send back the end of - * transmission when `socket.end()` is explicitly called. For example, in the - * context of TCP, when a FIN packed is received, a FIN packed is sent - * back only when `socket.end()` is explicitly called. Until then the - * connection is half-closed (non-readable but still writable). See `'end'` event and [RFC 1122](https://tools.ietf.org/html/rfc1122) (section 4.2.2.13) for more information. - * - * If `pauseOnConnect` is set to `true`, then the socket associated with each - * incoming connection will be paused, and no data will be read from its handle. - * This allows connections to be passed between processes without any data being - * read by the original process. To begin reading data from a paused socket, call `socket.resume()`. - * - * The server can be a TCP server or an `IPC` server, depending on what it `listen()` to. - * - * Here is an example of a TCP echo server which listens for connections - * on port 8124: - * - * ```js - * const net = require('node:net'); - * const server = net.createServer((c) => { - * // 'connection' listener. - * console.log('client connected'); - * c.on('end', () => { - * console.log('client disconnected'); - * }); - * c.write('hello\r\n'); - * c.pipe(c); - * }); - * server.on('error', (err) => { - * throw err; - * }); - * server.listen(8124, () => { - * console.log('server bound'); - * }); - * ``` - * - * Test this by using `telnet`: - * - * ```bash - * telnet localhost 8124 - * ``` - * - * To listen on the socket `/tmp/echo.sock`: - * - * ```js - * server.listen('/tmp/echo.sock', () => { - * console.log('server bound'); - * }); - * ``` - * - * Use `nc` to connect to a Unix domain socket server: - * - * ```bash - * nc -U /tmp/echo.sock - * ``` - * @since v0.5.0 - * @param connectionListener Automatically set as a listener for the {@link 'connection'} event. - */ - function createServer(connectionListener?: (socket: Socket) => void): Server; - function createServer(options?: ServerOpts, connectionListener?: (socket: Socket) => void): Server; - /** - * Aliases to {@link createConnection}. - * - * Possible signatures: - * - * * {@link connect} - * * {@link connect} for `IPC` connections. - * * {@link connect} for TCP connections. - */ - function connect(options: NetConnectOpts, connectionListener?: () => void): Socket; - function connect(port: number, host?: string, connectionListener?: () => void): Socket; - function connect(path: string, connectionListener?: () => void): Socket; - /** - * A factory function, which creates a new {@link Socket}, - * immediately initiates connection with `socket.connect()`, - * then returns the `net.Socket` that starts the connection. - * - * When the connection is established, a `'connect'` event will be emitted - * on the returned socket. The last parameter `connectListener`, if supplied, - * will be added as a listener for the `'connect'` event **once**. - * - * Possible signatures: - * - * * {@link createConnection} - * * {@link createConnection} for `IPC` connections. - * * {@link createConnection} for TCP connections. - * - * The {@link connect} function is an alias to this function. - */ - function createConnection(options: NetConnectOpts, connectionListener?: () => void): Socket; - function createConnection(port: number, host?: string, connectionListener?: () => void): Socket; - function createConnection(path: string, connectionListener?: () => void): Socket; - /** - * Gets the current default value of the `autoSelectFamily` option of `socket.connect(options)`. - * The initial default value is `true`, unless the command line option`--no-network-family-autoselection` is provided. - * @since v19.4.0 - */ - function getDefaultAutoSelectFamily(): boolean; - /** - * Sets the default value of the `autoSelectFamily` option of `socket.connect(options)`. - * @since v19.4.0 - */ - function setDefaultAutoSelectFamily(value: boolean): void; - /** - * Gets the current default value of the `autoSelectFamilyAttemptTimeout` option of `socket.connect(options)`. - * The initial default value is `250`. - * @since v19.8.0 - */ - function getDefaultAutoSelectFamilyAttemptTimeout(): number; - /** - * Sets the default value of the `autoSelectFamilyAttemptTimeout` option of `socket.connect(options)`. - * @since v19.8.0 - */ - function setDefaultAutoSelectFamilyAttemptTimeout(value: number): void; - /** - * Returns `6` if `input` is an IPv6 address. Returns `4` if `input` is an IPv4 - * address in [dot-decimal notation](https://en.wikipedia.org/wiki/Dot-decimal_notation) with no leading zeroes. Otherwise, returns`0`. - * - * ```js - * net.isIP('::1'); // returns 6 - * net.isIP('127.0.0.1'); // returns 4 - * net.isIP('127.000.000.001'); // returns 0 - * net.isIP('127.0.0.1/24'); // returns 0 - * net.isIP('fhqwhgads'); // returns 0 - * ``` - * @since v0.3.0 - */ - function isIP(input: string): number; - /** - * Returns `true` if `input` is an IPv4 address in [dot-decimal notation](https://en.wikipedia.org/wiki/Dot-decimal_notation) with no - * leading zeroes. Otherwise, returns `false`. - * - * ```js - * net.isIPv4('127.0.0.1'); // returns true - * net.isIPv4('127.000.000.001'); // returns false - * net.isIPv4('127.0.0.1/24'); // returns false - * net.isIPv4('fhqwhgads'); // returns false - * ``` - * @since v0.3.0 - */ - function isIPv4(input: string): boolean; - /** - * Returns `true` if `input` is an IPv6 address. Otherwise, returns `false`. - * - * ```js - * net.isIPv6('::1'); // returns true - * net.isIPv6('fhqwhgads'); // returns false - * ``` - * @since v0.3.0 - */ - function isIPv6(input: string): boolean; - interface SocketAddressInitOptions { - /** - * The network address as either an IPv4 or IPv6 string. - * @default 127.0.0.1 - */ - address?: string | undefined; - /** - * @default `'ipv4'` - */ - family?: IPVersion | undefined; - /** - * An IPv6 flow-label used only if `family` is `'ipv6'`. - * @default 0 - */ - flowlabel?: number | undefined; - /** - * An IP port. - * @default 0 - */ - port?: number | undefined; - } - /** - * @since v15.14.0, v14.18.0 - */ - class SocketAddress { - constructor(options: SocketAddressInitOptions); - /** - * Either \`'ipv4'\` or \`'ipv6'\`. - * @since v15.14.0, v14.18.0 - */ - readonly address: string; - /** - * Either \`'ipv4'\` or \`'ipv6'\`. - * @since v15.14.0, v14.18.0 - */ - readonly family: IPVersion; - /** - * @since v15.14.0, v14.18.0 - */ - readonly port: number; - /** - * @since v15.14.0, v14.18.0 - */ - readonly flowlabel: number; - } -} -declare module "node:net" { - export * from "net"; -} diff --git a/node_modules/@types/node/os.d.ts b/node_modules/@types/node/os.d.ts deleted file mode 100644 index 39a33f7..0000000 --- a/node_modules/@types/node/os.d.ts +++ /dev/null @@ -1,478 +0,0 @@ -/** - * The `node:os` module provides operating system-related utility methods and - * properties. It can be accessed using: - * - * ```js - * const os = require('node:os'); - * ``` - * @see [source](https://github.com/nodejs/node/blob/v20.2.0/lib/os.js) - */ -declare module "os" { - interface CpuInfo { - model: string; - speed: number; - times: { - user: number; - nice: number; - sys: number; - idle: number; - irq: number; - }; - } - interface NetworkInterfaceBase { - address: string; - netmask: string; - mac: string; - internal: boolean; - cidr: string | null; - } - interface NetworkInterfaceInfoIPv4 extends NetworkInterfaceBase { - family: "IPv4"; - scopeid?: undefined; - } - interface NetworkInterfaceInfoIPv6 extends NetworkInterfaceBase { - family: "IPv6"; - scopeid: number; - } - interface UserInfo { - username: T; - uid: number; - gid: number; - shell: T | null; - homedir: T; - } - type NetworkInterfaceInfo = NetworkInterfaceInfoIPv4 | NetworkInterfaceInfoIPv6; - /** - * Returns the host name of the operating system as a string. - * @since v0.3.3 - */ - function hostname(): string; - /** - * Returns an array containing the 1, 5, and 15 minute load averages. - * - * The load average is a measure of system activity calculated by the operating - * system and expressed as a fractional number. - * - * The load average is a Unix-specific concept. On Windows, the return value is - * always `[0, 0, 0]`. - * @since v0.3.3 - */ - function loadavg(): number[]; - /** - * Returns the system uptime in number of seconds. - * @since v0.3.3 - */ - function uptime(): number; - /** - * Returns the amount of free system memory in bytes as an integer. - * @since v0.3.3 - */ - function freemem(): number; - /** - * Returns the total amount of system memory in bytes as an integer. - * @since v0.3.3 - */ - function totalmem(): number; - /** - * Returns an array of objects containing information about each logical CPU core. - * The array will be empty if no CPU information is available, such as if the`/proc` file system is unavailable. - * - * The properties included on each object include: - * - * ```js - * [ - * { - * model: 'Intel(R) Core(TM) i7 CPU 860 @ 2.80GHz', - * speed: 2926, - * times: { - * user: 252020, - * nice: 0, - * sys: 30340, - * idle: 1070356870, - * irq: 0, - * }, - * }, - * { - * model: 'Intel(R) Core(TM) i7 CPU 860 @ 2.80GHz', - * speed: 2926, - * times: { - * user: 306960, - * nice: 0, - * sys: 26980, - * idle: 1071569080, - * irq: 0, - * }, - * }, - * { - * model: 'Intel(R) Core(TM) i7 CPU 860 @ 2.80GHz', - * speed: 2926, - * times: { - * user: 248450, - * nice: 0, - * sys: 21750, - * idle: 1070919370, - * irq: 0, - * }, - * }, - * { - * model: 'Intel(R) Core(TM) i7 CPU 860 @ 2.80GHz', - * speed: 2926, - * times: { - * user: 256880, - * nice: 0, - * sys: 19430, - * idle: 1070905480, - * irq: 20, - * }, - * }, - * ] - * ``` - * - * `nice` values are POSIX-only. On Windows, the `nice` values of all processors - * are always 0. - * - * `os.cpus().length` should not be used to calculate the amount of parallelism - * available to an application. Use {@link availableParallelism} for this purpose. - * @since v0.3.3 - */ - function cpus(): CpuInfo[]; - /** - * Returns an estimate of the default amount of parallelism a program should use. - * Always returns a value greater than zero. - * - * This function is a small wrapper about libuv's [`uv_available_parallelism()`](https://docs.libuv.org/en/v1.x/misc.html#c.uv_available_parallelism). - * @since v19.4.0, v18.14.0 - */ - function availableParallelism(): number; - /** - * Returns the operating system name as returned by [`uname(3)`](https://linux.die.net/man/3/uname). For example, it - * returns `'Linux'` on Linux, `'Darwin'` on macOS, and `'Windows_NT'` on Windows. - * - * See [https://en.wikipedia.org/wiki/Uname#Examples](https://en.wikipedia.org/wiki/Uname#Examples) for additional information - * about the output of running [`uname(3)`](https://linux.die.net/man/3/uname) on various operating systems. - * @since v0.3.3 - */ - function type(): string; - /** - * Returns the operating system as a string. - * - * On POSIX systems, the operating system release is determined by calling [`uname(3)`](https://linux.die.net/man/3/uname). On Windows, `GetVersionExW()` is used. See - * [https://en.wikipedia.org/wiki/Uname#Examples](https://en.wikipedia.org/wiki/Uname#Examples) for more information. - * @since v0.3.3 - */ - function release(): string; - /** - * Returns an object containing network interfaces that have been assigned a - * network address. - * - * Each key on the returned object identifies a network interface. The associated - * value is an array of objects that each describe an assigned network address. - * - * The properties available on the assigned network address object include: - * - * ```js - * { - * lo: [ - * { - * address: '127.0.0.1', - * netmask: '255.0.0.0', - * family: 'IPv4', - * mac: '00:00:00:00:00:00', - * internal: true, - * cidr: '127.0.0.1/8' - * }, - * { - * address: '::1', - * netmask: 'ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff', - * family: 'IPv6', - * mac: '00:00:00:00:00:00', - * scopeid: 0, - * internal: true, - * cidr: '::1/128' - * } - * ], - * eth0: [ - * { - * address: '192.168.1.108', - * netmask: '255.255.255.0', - * family: 'IPv4', - * mac: '01:02:03:0a:0b:0c', - * internal: false, - * cidr: '192.168.1.108/24' - * }, - * { - * address: 'fe80::a00:27ff:fe4e:66a1', - * netmask: 'ffff:ffff:ffff:ffff::', - * family: 'IPv6', - * mac: '01:02:03:0a:0b:0c', - * scopeid: 1, - * internal: false, - * cidr: 'fe80::a00:27ff:fe4e:66a1/64' - * } - * ] - * } - * ``` - * @since v0.6.0 - */ - function networkInterfaces(): NodeJS.Dict; - /** - * Returns the string path of the current user's home directory. - * - * On POSIX, it uses the `$HOME` environment variable if defined. Otherwise it - * uses the [effective UID](https://en.wikipedia.org/wiki/User_identifier#Effective_user_ID) to look up the user's home directory. - * - * On Windows, it uses the `USERPROFILE` environment variable if defined. - * Otherwise it uses the path to the profile directory of the current user. - * @since v2.3.0 - */ - function homedir(): string; - /** - * Returns information about the currently effective user. On POSIX platforms, - * this is typically a subset of the password file. The returned object includes - * the `username`, `uid`, `gid`, `shell`, and `homedir`. On Windows, the `uid` and`gid` fields are `-1`, and `shell` is `null`. - * - * The value of `homedir` returned by `os.userInfo()` is provided by the operating - * system. This differs from the result of `os.homedir()`, which queries - * environment variables for the home directory before falling back to the - * operating system response. - * - * Throws a `SystemError` if a user has no `username` or `homedir`. - * @since v6.0.0 - */ - function userInfo(options: { encoding: "buffer" }): UserInfo; - function userInfo(options?: { encoding: BufferEncoding }): UserInfo; - type SignalConstants = { - [key in NodeJS.Signals]: number; - }; - namespace constants { - const UV_UDP_REUSEADDR: number; - namespace signals {} - const signals: SignalConstants; - namespace errno { - const E2BIG: number; - const EACCES: number; - const EADDRINUSE: number; - const EADDRNOTAVAIL: number; - const EAFNOSUPPORT: number; - const EAGAIN: number; - const EALREADY: number; - const EBADF: number; - const EBADMSG: number; - const EBUSY: number; - const ECANCELED: number; - const ECHILD: number; - const ECONNABORTED: number; - const ECONNREFUSED: number; - const ECONNRESET: number; - const EDEADLK: number; - const EDESTADDRREQ: number; - const EDOM: number; - const EDQUOT: number; - const EEXIST: number; - const EFAULT: number; - const EFBIG: number; - const EHOSTUNREACH: number; - const EIDRM: number; - const EILSEQ: number; - const EINPROGRESS: number; - const EINTR: number; - const EINVAL: number; - const EIO: number; - const EISCONN: number; - const EISDIR: number; - const ELOOP: number; - const EMFILE: number; - const EMLINK: number; - const EMSGSIZE: number; - const EMULTIHOP: number; - const ENAMETOOLONG: number; - const ENETDOWN: number; - const ENETRESET: number; - const ENETUNREACH: number; - const ENFILE: number; - const ENOBUFS: number; - const ENODATA: number; - const ENODEV: number; - const ENOENT: number; - const ENOEXEC: number; - const ENOLCK: number; - const ENOLINK: number; - const ENOMEM: number; - const ENOMSG: number; - const ENOPROTOOPT: number; - const ENOSPC: number; - const ENOSR: number; - const ENOSTR: number; - const ENOSYS: number; - const ENOTCONN: number; - const ENOTDIR: number; - const ENOTEMPTY: number; - const ENOTSOCK: number; - const ENOTSUP: number; - const ENOTTY: number; - const ENXIO: number; - const EOPNOTSUPP: number; - const EOVERFLOW: number; - const EPERM: number; - const EPIPE: number; - const EPROTO: number; - const EPROTONOSUPPORT: number; - const EPROTOTYPE: number; - const ERANGE: number; - const EROFS: number; - const ESPIPE: number; - const ESRCH: number; - const ESTALE: number; - const ETIME: number; - const ETIMEDOUT: number; - const ETXTBSY: number; - const EWOULDBLOCK: number; - const EXDEV: number; - const WSAEINTR: number; - const WSAEBADF: number; - const WSAEACCES: number; - const WSAEFAULT: number; - const WSAEINVAL: number; - const WSAEMFILE: number; - const WSAEWOULDBLOCK: number; - const WSAEINPROGRESS: number; - const WSAEALREADY: number; - const WSAENOTSOCK: number; - const WSAEDESTADDRREQ: number; - const WSAEMSGSIZE: number; - const WSAEPROTOTYPE: number; - const WSAENOPROTOOPT: number; - const WSAEPROTONOSUPPORT: number; - const WSAESOCKTNOSUPPORT: number; - const WSAEOPNOTSUPP: number; - const WSAEPFNOSUPPORT: number; - const WSAEAFNOSUPPORT: number; - const WSAEADDRINUSE: number; - const WSAEADDRNOTAVAIL: number; - const WSAENETDOWN: number; - const WSAENETUNREACH: number; - const WSAENETRESET: number; - const WSAECONNABORTED: number; - const WSAECONNRESET: number; - const WSAENOBUFS: number; - const WSAEISCONN: number; - const WSAENOTCONN: number; - const WSAESHUTDOWN: number; - const WSAETOOMANYREFS: number; - const WSAETIMEDOUT: number; - const WSAECONNREFUSED: number; - const WSAELOOP: number; - const WSAENAMETOOLONG: number; - const WSAEHOSTDOWN: number; - const WSAEHOSTUNREACH: number; - const WSAENOTEMPTY: number; - const WSAEPROCLIM: number; - const WSAEUSERS: number; - const WSAEDQUOT: number; - const WSAESTALE: number; - const WSAEREMOTE: number; - const WSASYSNOTREADY: number; - const WSAVERNOTSUPPORTED: number; - const WSANOTINITIALISED: number; - const WSAEDISCON: number; - const WSAENOMORE: number; - const WSAECANCELLED: number; - const WSAEINVALIDPROCTABLE: number; - const WSAEINVALIDPROVIDER: number; - const WSAEPROVIDERFAILEDINIT: number; - const WSASYSCALLFAILURE: number; - const WSASERVICE_NOT_FOUND: number; - const WSATYPE_NOT_FOUND: number; - const WSA_E_NO_MORE: number; - const WSA_E_CANCELLED: number; - const WSAEREFUSED: number; - } - namespace priority { - const PRIORITY_LOW: number; - const PRIORITY_BELOW_NORMAL: number; - const PRIORITY_NORMAL: number; - const PRIORITY_ABOVE_NORMAL: number; - const PRIORITY_HIGH: number; - const PRIORITY_HIGHEST: number; - } - } - const devNull: string; - const EOL: string; - /** - * Returns the operating system CPU architecture for which the Node.js binary was - * compiled. Possible values are `'arm'`, `'arm64'`, `'ia32'`, `'loong64'`,`'mips'`, `'mipsel'`, `'ppc'`, `'ppc64'`, `'riscv64'`, `'s390'`, `'s390x'`, - * and `'x64'`. - * - * The return value is equivalent to `process.arch`. - * @since v0.5.0 - */ - function arch(): string; - /** - * Returns a string identifying the kernel version. - * - * On POSIX systems, the operating system release is determined by calling [`uname(3)`](https://linux.die.net/man/3/uname). On Windows, `RtlGetVersion()` is used, and if it is not - * available, `GetVersionExW()` will be used. See [https://en.wikipedia.org/wiki/Uname#Examples](https://en.wikipedia.org/wiki/Uname#Examples) for more information. - * @since v13.11.0, v12.17.0 - */ - function version(): string; - /** - * Returns a string identifying the operating system platform for which - * the Node.js binary was compiled. The value is set at compile time. - * Possible values are `'aix'`, `'darwin'`, `'freebsd'`,`'linux'`,`'openbsd'`, `'sunos'`, and `'win32'`. - * - * The return value is equivalent to `process.platform`. - * - * The value `'android'` may also be returned if Node.js is built on the Android - * operating system. [Android support is experimental](https://github.com/nodejs/node/blob/HEAD/BUILDING.md#androidandroid-based-devices-eg-firefox-os). - * @since v0.5.0 - */ - function platform(): NodeJS.Platform; - /** - * Returns the machine type as a string, such as `arm`, `arm64`, `aarch64`,`mips`, `mips64`, `ppc64`, `ppc64le`, `s390`, `s390x`, `i386`, `i686`, `x86_64`. - * - * On POSIX systems, the machine type is determined by calling [`uname(3)`](https://linux.die.net/man/3/uname). On Windows, `RtlGetVersion()` is used, and if it is not - * available, `GetVersionExW()` will be used. See [https://en.wikipedia.org/wiki/Uname#Examples](https://en.wikipedia.org/wiki/Uname#Examples) for more information. - * @since v18.9.0, v16.18.0 - */ - function machine(): string; - /** - * Returns the operating system's default directory for temporary files as a - * string. - * @since v0.9.9 - */ - function tmpdir(): string; - /** - * Returns a string identifying the endianness of the CPU for which the Node.js - * binary was compiled. - * - * Possible values are `'BE'` for big endian and `'LE'` for little endian. - * @since v0.9.4 - */ - function endianness(): "BE" | "LE"; - /** - * Returns the scheduling priority for the process specified by `pid`. If `pid` is - * not provided or is `0`, the priority of the current process is returned. - * @since v10.10.0 - * @param [pid=0] The process ID to retrieve scheduling priority for. - */ - function getPriority(pid?: number): number; - /** - * Attempts to set the scheduling priority for the process specified by `pid`. If`pid` is not provided or is `0`, the process ID of the current process is used. - * - * The `priority` input must be an integer between `-20` (high priority) and `19`(low priority). Due to differences between Unix priority levels and Windows - * priority classes, `priority` is mapped to one of six priority constants in`os.constants.priority`. When retrieving a process priority level, this range - * mapping may cause the return value to be slightly different on Windows. To avoid - * confusion, set `priority` to one of the priority constants. - * - * On Windows, setting priority to `PRIORITY_HIGHEST` requires elevated user - * privileges. Otherwise the set priority will be silently reduced to`PRIORITY_HIGH`. - * @since v10.10.0 - * @param [pid=0] The process ID to set scheduling priority for. - * @param priority The scheduling priority to assign to the process. - */ - function setPriority(priority: number): void; - function setPriority(pid: number, priority: number): void; -} -declare module "node:os" { - export * from "os"; -} diff --git a/node_modules/@types/node/package.json b/node_modules/@types/node/package.json deleted file mode 100644 index c1755fb..0000000 --- a/node_modules/@types/node/package.json +++ /dev/null @@ -1,224 +0,0 @@ -{ - "name": "@types/node", - "version": "20.11.25", - "description": "TypeScript definitions for node", - "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node", - "license": "MIT", - "contributors": [ - { - "name": "Microsoft TypeScript", - "githubUsername": "Microsoft", - "url": "https://github.com/Microsoft" - }, - { - "name": "Alberto Schiabel", - "githubUsername": "jkomyno", - "url": "https://github.com/jkomyno" - }, - { - "name": "Alvis HT Tang", - "githubUsername": "alvis", - "url": "https://github.com/alvis" - }, - { - "name": "Andrew Makarov", - "githubUsername": "r3nya", - "url": "https://github.com/r3nya" - }, - { - "name": "Benjamin Toueg", - "githubUsername": "btoueg", - "url": "https://github.com/btoueg" - }, - { - "name": "Chigozirim C.", - "githubUsername": "smac89", - "url": "https://github.com/smac89" - }, - { - "name": "David Junger", - "githubUsername": "touffy", - "url": "https://github.com/touffy" - }, - { - "name": "Deividas Bakanas", - "githubUsername": "DeividasBakanas", - "url": "https://github.com/DeividasBakanas" - }, - { - "name": "Eugene Y. Q. Shen", - "githubUsername": "eyqs", - "url": "https://github.com/eyqs" - }, - { - "name": "Hannes Magnusson", - "githubUsername": "Hannes-Magnusson-CK", - "url": "https://github.com/Hannes-Magnusson-CK" - }, - { - "name": "Huw", - "githubUsername": "hoo29", - "url": "https://github.com/hoo29" - }, - { - "name": "Kelvin Jin", - "githubUsername": "kjin", - "url": "https://github.com/kjin" - }, - { - "name": "Klaus Meinhardt", - "githubUsername": "ajafff", - "url": "https://github.com/ajafff" - }, - { - "name": "Lishude", - "githubUsername": "islishude", - "url": "https://github.com/islishude" - }, - { - "name": "Mariusz Wiktorczyk", - "githubUsername": "mwiktorczyk", - "url": "https://github.com/mwiktorczyk" - }, - { - "name": "Mohsen Azimi", - "githubUsername": "mohsen1", - "url": "https://github.com/mohsen1" - }, - { - "name": "Nikita Galkin", - "githubUsername": "galkin", - "url": "https://github.com/galkin" - }, - { - "name": "Parambir Singh", - "githubUsername": "parambirs", - "url": "https://github.com/parambirs" - }, - { - "name": "Sebastian Silbermann", - "githubUsername": "eps1lon", - "url": "https://github.com/eps1lon" - }, - { - "name": "Thomas den Hollander", - "githubUsername": "ThomasdenH", - "url": "https://github.com/ThomasdenH" - }, - { - "name": "Wilco Bakker", - "githubUsername": "WilcoBakker", - "url": "https://github.com/WilcoBakker" - }, - { - "name": "wwwy3y3", - "githubUsername": "wwwy3y3", - "url": "https://github.com/wwwy3y3" - }, - { - "name": "Samuel Ainsworth", - "githubUsername": "samuela", - "url": "https://github.com/samuela" - }, - { - "name": "Kyle Uehlein", - "githubUsername": "kuehlein", - "url": "https://github.com/kuehlein" - }, - { - "name": "Thanik Bhongbhibhat", - "githubUsername": "bhongy", - "url": "https://github.com/bhongy" - }, - { - "name": "Marcin Kopacz", - "githubUsername": "chyzwar", - "url": "https://github.com/chyzwar" - }, - { - "name": "Trivikram Kamat", - "githubUsername": "trivikr", - "url": "https://github.com/trivikr" - }, - { - "name": "Junxiao Shi", - "githubUsername": "yoursunny", - "url": "https://github.com/yoursunny" - }, - { - "name": "Ilia Baryshnikov", - "githubUsername": "qwelias", - "url": "https://github.com/qwelias" - }, - { - "name": "ExE Boss", - "githubUsername": "ExE-Boss", - "url": "https://github.com/ExE-Boss" - }, - { - "name": "Piotr Błażejewicz", - "githubUsername": "peterblazejewicz", - "url": "https://github.com/peterblazejewicz" - }, - { - "name": "Anna Henningsen", - "githubUsername": "addaleax", - "url": "https://github.com/addaleax" - }, - { - "name": "Victor Perin", - "githubUsername": "victorperin", - "url": "https://github.com/victorperin" - }, - { - "name": "Yongsheng Zhang", - "githubUsername": "ZYSzys", - "url": "https://github.com/ZYSzys" - }, - { - "name": "NodeJS Contributors", - "githubUsername": "NodeJS", - "url": "https://github.com/NodeJS" - }, - { - "name": "Linus Unnebäck", - "githubUsername": "LinusU", - "url": "https://github.com/LinusU" - }, - { - "name": "wafuwafu13", - "githubUsername": "wafuwafu13", - "url": "https://github.com/wafuwafu13" - }, - { - "name": "Matteo Collina", - "githubUsername": "mcollina", - "url": "https://github.com/mcollina" - }, - { - "name": "Dmitry Semigradsky", - "githubUsername": "Semigradsky", - "url": "https://github.com/Semigradsky" - } - ], - "main": "", - "types": "index.d.ts", - "typesVersions": { - "<=4.8": { - "*": [ - "ts4.8/*" - ] - } - }, - "repository": { - "type": "git", - "url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git", - "directory": "types/node" - }, - "scripts": {}, - "dependencies": { - "undici-types": "~5.26.4" - }, - "typesPublisherContentHash": "00807065f46490c97b07f39fd3138b5abc64842bd94592b7f9b9fda9b677b321", - "typeScriptVersion": "4.6" -} \ No newline at end of file diff --git a/node_modules/@types/node/path.d.ts b/node_modules/@types/node/path.d.ts deleted file mode 100644 index 6f07681..0000000 --- a/node_modules/@types/node/path.d.ts +++ /dev/null @@ -1,191 +0,0 @@ -declare module "path/posix" { - import path = require("path"); - export = path; -} -declare module "path/win32" { - import path = require("path"); - export = path; -} -/** - * The `node:path` module provides utilities for working with file and directory - * paths. It can be accessed using: - * - * ```js - * const path = require('node:path'); - * ``` - * @see [source](https://github.com/nodejs/node/blob/v20.2.0/lib/path.js) - */ -declare module "path" { - namespace path { - /** - * A parsed path object generated by path.parse() or consumed by path.format(). - */ - interface ParsedPath { - /** - * The root of the path such as '/' or 'c:\' - */ - root: string; - /** - * The full directory path such as '/home/user/dir' or 'c:\path\dir' - */ - dir: string; - /** - * The file name including extension (if any) such as 'index.html' - */ - base: string; - /** - * The file extension (if any) such as '.html' - */ - ext: string; - /** - * The file name without extension (if any) such as 'index' - */ - name: string; - } - interface FormatInputPathObject { - /** - * The root of the path such as '/' or 'c:\' - */ - root?: string | undefined; - /** - * The full directory path such as '/home/user/dir' or 'c:\path\dir' - */ - dir?: string | undefined; - /** - * The file name including extension (if any) such as 'index.html' - */ - base?: string | undefined; - /** - * The file extension (if any) such as '.html' - */ - ext?: string | undefined; - /** - * The file name without extension (if any) such as 'index' - */ - name?: string | undefined; - } - interface PlatformPath { - /** - * Normalize a string path, reducing '..' and '.' parts. - * When multiple slashes are found, they're replaced by a single one; when the path contains a trailing slash, it is preserved. On Windows backslashes are used. - * - * @param path string path to normalize. - * @throws {TypeError} if `path` is not a string. - */ - normalize(path: string): string; - /** - * Join all arguments together and normalize the resulting path. - * - * @param paths paths to join. - * @throws {TypeError} if any of the path segments is not a string. - */ - join(...paths: string[]): string; - /** - * The right-most parameter is considered {to}. Other parameters are considered an array of {from}. - * - * Starting from leftmost {from} parameter, resolves {to} to an absolute path. - * - * If {to} isn't already absolute, {from} arguments are prepended in right to left order, - * until an absolute path is found. If after using all {from} paths still no absolute path is found, - * the current working directory is used as well. The resulting path is normalized, - * and trailing slashes are removed unless the path gets resolved to the root directory. - * - * @param paths A sequence of paths or path segments. - * @throws {TypeError} if any of the arguments is not a string. - */ - resolve(...paths: string[]): string; - /** - * Determines whether {path} is an absolute path. An absolute path will always resolve to the same location, regardless of the working directory. - * - * If the given {path} is a zero-length string, `false` will be returned. - * - * @param path path to test. - * @throws {TypeError} if `path` is not a string. - */ - isAbsolute(path: string): boolean; - /** - * Solve the relative path from {from} to {to} based on the current working directory. - * At times we have two absolute paths, and we need to derive the relative path from one to the other. This is actually the reverse transform of path.resolve. - * - * @throws {TypeError} if either `from` or `to` is not a string. - */ - relative(from: string, to: string): string; - /** - * Return the directory name of a path. Similar to the Unix dirname command. - * - * @param path the path to evaluate. - * @throws {TypeError} if `path` is not a string. - */ - dirname(path: string): string; - /** - * Return the last portion of a path. Similar to the Unix basename command. - * Often used to extract the file name from a fully qualified path. - * - * @param path the path to evaluate. - * @param suffix optionally, an extension to remove from the result. - * @throws {TypeError} if `path` is not a string or if `ext` is given and is not a string. - */ - basename(path: string, suffix?: string): string; - /** - * Return the extension of the path, from the last '.' to end of string in the last portion of the path. - * If there is no '.' in the last portion of the path or the first character of it is '.', then it returns an empty string. - * - * @param path the path to evaluate. - * @throws {TypeError} if `path` is not a string. - */ - extname(path: string): string; - /** - * The platform-specific file separator. '\\' or '/'. - */ - readonly sep: "\\" | "/"; - /** - * The platform-specific file delimiter. ';' or ':'. - */ - readonly delimiter: ";" | ":"; - /** - * Returns an object from a path string - the opposite of format(). - * - * @param path path to evaluate. - * @throws {TypeError} if `path` is not a string. - */ - parse(path: string): ParsedPath; - /** - * Returns a path string from an object - the opposite of parse(). - * - * @param pathObject path to evaluate. - */ - format(pathObject: FormatInputPathObject): string; - /** - * On Windows systems only, returns an equivalent namespace-prefixed path for the given path. - * If path is not a string, path will be returned without modifications. - * This method is meaningful only on Windows system. - * On POSIX systems, the method is non-operational and always returns path without modifications. - */ - toNamespacedPath(path: string): string; - /** - * Posix specific pathing. - * Same as parent object on posix. - */ - readonly posix: PlatformPath; - /** - * Windows specific pathing. - * Same as parent object on windows - */ - readonly win32: PlatformPath; - } - } - const path: path.PlatformPath; - export = path; -} -declare module "node:path" { - import path = require("path"); - export = path; -} -declare module "node:path/posix" { - import path = require("path/posix"); - export = path; -} -declare module "node:path/win32" { - import path = require("path/win32"); - export = path; -} diff --git a/node_modules/@types/node/perf_hooks.d.ts b/node_modules/@types/node/perf_hooks.d.ts deleted file mode 100644 index c0ce852..0000000 --- a/node_modules/@types/node/perf_hooks.d.ts +++ /dev/null @@ -1,645 +0,0 @@ -/** - * This module provides an implementation of a subset of the W3C [Web Performance APIs](https://w3c.github.io/perf-timing-primer/) as well as additional APIs for - * Node.js-specific performance measurements. - * - * Node.js supports the following [Web Performance APIs](https://w3c.github.io/perf-timing-primer/): - * - * * [High Resolution Time](https://www.w3.org/TR/hr-time-2) - * * [Performance Timeline](https://w3c.github.io/performance-timeline/) - * * [User Timing](https://www.w3.org/TR/user-timing/) - * * [Resource Timing](https://www.w3.org/TR/resource-timing-2/) - * - * ```js - * const { PerformanceObserver, performance } = require('node:perf_hooks'); - * - * const obs = new PerformanceObserver((items) => { - * console.log(items.getEntries()[0].duration); - * performance.clearMarks(); - * }); - * obs.observe({ type: 'measure' }); - * performance.measure('Start to Now'); - * - * performance.mark('A'); - * doSomeLongRunningProcess(() => { - * performance.measure('A to Now', 'A'); - * - * performance.mark('B'); - * performance.measure('A to B', 'A', 'B'); - * }); - * ``` - * @see [source](https://github.com/nodejs/node/blob/v20.2.0/lib/perf_hooks.js) - */ -declare module "perf_hooks" { - import { AsyncResource } from "node:async_hooks"; - type EntryType = "node" | "mark" | "measure" | "gc" | "function" | "http2" | "http" | "dns" | "net"; - interface NodeGCPerformanceDetail { - /** - * When `performanceEntry.entryType` is equal to 'gc', `the performance.kind` property identifies - * the type of garbage collection operation that occurred. - * See perf_hooks.constants for valid values. - */ - readonly kind?: number | undefined; - /** - * When `performanceEntry.entryType` is equal to 'gc', the `performance.flags` - * property contains additional information about garbage collection operation. - * See perf_hooks.constants for valid values. - */ - readonly flags?: number | undefined; - } - /** - * The constructor of this class is not exposed to users directly. - * @since v8.5.0 - */ - class PerformanceEntry { - protected constructor(); - /** - * The total number of milliseconds elapsed for this entry. This value will not - * be meaningful for all Performance Entry types. - * @since v8.5.0 - */ - readonly duration: number; - /** - * The name of the performance entry. - * @since v8.5.0 - */ - readonly name: string; - /** - * The high resolution millisecond timestamp marking the starting time of the - * Performance Entry. - * @since v8.5.0 - */ - readonly startTime: number; - /** - * The type of the performance entry. It may be one of: - * - * * `'node'` (Node.js only) - * * `'mark'` (available on the Web) - * * `'measure'` (available on the Web) - * * `'gc'` (Node.js only) - * * `'function'` (Node.js only) - * * `'http2'` (Node.js only) - * * `'http'` (Node.js only) - * @since v8.5.0 - */ - readonly entryType: EntryType; - /** - * Additional detail specific to the `entryType`. - * @since v16.0.0 - */ - readonly detail?: NodeGCPerformanceDetail | unknown | undefined; // TODO: Narrow this based on entry type. - toJSON(): any; - } - /** - * Exposes marks created via the `Performance.mark()` method. - * @since v18.2.0, v16.17.0 - */ - class PerformanceMark extends PerformanceEntry { - readonly duration: 0; - readonly entryType: "mark"; - } - /** - * Exposes measures created via the `Performance.measure()` method. - * - * The constructor of this class is not exposed to users directly. - * @since v18.2.0, v16.17.0 - */ - class PerformanceMeasure extends PerformanceEntry { - readonly entryType: "measure"; - } - /** - * _This property is an extension by Node.js. It is not available in Web browsers._ - * - * Provides timing details for Node.js itself. The constructor of this class - * is not exposed to users. - * @since v8.5.0 - */ - class PerformanceNodeTiming extends PerformanceEntry { - /** - * The high resolution millisecond timestamp at which the Node.js process - * completed bootstrapping. If bootstrapping has not yet finished, the property - * has the value of -1. - * @since v8.5.0 - */ - readonly bootstrapComplete: number; - /** - * The high resolution millisecond timestamp at which the Node.js environment was - * initialized. - * @since v8.5.0 - */ - readonly environment: number; - /** - * The high resolution millisecond timestamp of the amount of time the event loop - * has been idle within the event loop's event provider (e.g. `epoll_wait`). This - * does not take CPU usage into consideration. If the event loop has not yet - * started (e.g., in the first tick of the main script), the property has the - * value of 0. - * @since v14.10.0, v12.19.0 - */ - readonly idleTime: number; - /** - * The high resolution millisecond timestamp at which the Node.js event loop - * exited. If the event loop has not yet exited, the property has the value of -1\. - * It can only have a value of not -1 in a handler of the `'exit'` event. - * @since v8.5.0 - */ - readonly loopExit: number; - /** - * The high resolution millisecond timestamp at which the Node.js event loop - * started. If the event loop has not yet started (e.g., in the first tick of the - * main script), the property has the value of -1. - * @since v8.5.0 - */ - readonly loopStart: number; - /** - * The high resolution millisecond timestamp at which the V8 platform was - * initialized. - * @since v8.5.0 - */ - readonly v8Start: number; - } - interface EventLoopUtilization { - idle: number; - active: number; - utilization: number; - } - /** - * @param util1 The result of a previous call to eventLoopUtilization() - * @param util2 The result of a previous call to eventLoopUtilization() prior to util1 - */ - type EventLoopUtilityFunction = ( - util1?: EventLoopUtilization, - util2?: EventLoopUtilization, - ) => EventLoopUtilization; - interface MarkOptions { - /** - * Additional optional detail to include with the mark. - */ - detail?: unknown | undefined; - /** - * An optional timestamp to be used as the mark time. - * @default `performance.now()`. - */ - startTime?: number | undefined; - } - interface MeasureOptions { - /** - * Additional optional detail to include with the mark. - */ - detail?: unknown | undefined; - /** - * Duration between start and end times. - */ - duration?: number | undefined; - /** - * Timestamp to be used as the end time, or a string identifying a previously recorded mark. - */ - end?: number | string | undefined; - /** - * Timestamp to be used as the start time, or a string identifying a previously recorded mark. - */ - start?: number | string | undefined; - } - interface TimerifyOptions { - /** - * A histogram object created using - * `perf_hooks.createHistogram()` that will record runtime durations in - * nanoseconds. - */ - histogram?: RecordableHistogram | undefined; - } - interface Performance { - /** - * If name is not provided, removes all PerformanceMark objects from the Performance Timeline. - * If name is provided, removes only the named mark. - * @param name - */ - clearMarks(name?: string): void; - /** - * If name is not provided, removes all PerformanceMeasure objects from the Performance Timeline. - * If name is provided, removes only the named measure. - * @param name - * @since v16.7.0 - */ - clearMeasures(name?: string): void; - /** - * Returns a list of `PerformanceEntry` objects in chronological order with respect to `performanceEntry.startTime`. - * If you are only interested in performance entries of certain types or that have certain names, see - * `performance.getEntriesByType()` and `performance.getEntriesByName()`. - * @since v16.7.0 - */ - getEntries(): PerformanceEntry[]; - /** - * Returns a list of `PerformanceEntry` objects in chronological order with respect to `performanceEntry.startTime` - * whose `performanceEntry.name` is equal to `name`, and optionally, whose `performanceEntry.entryType` is equal to `type`. - * @param name - * @param type - * @since v16.7.0 - */ - getEntriesByName(name: string, type?: EntryType): PerformanceEntry[]; - /** - * Returns a list of `PerformanceEntry` objects in chronological order with respect to `performanceEntry.startTime` - * whose `performanceEntry.entryType` is equal to `type`. - * @param type - * @since v16.7.0 - */ - getEntriesByType(type: EntryType): PerformanceEntry[]; - /** - * Creates a new PerformanceMark entry in the Performance Timeline. - * A PerformanceMark is a subclass of PerformanceEntry whose performanceEntry.entryType is always 'mark', - * and whose performanceEntry.duration is always 0. - * Performance marks are used to mark specific significant moments in the Performance Timeline. - * @param name - * @return The PerformanceMark entry that was created - */ - mark(name?: string, options?: MarkOptions): PerformanceMark; - /** - * Creates a new PerformanceMeasure entry in the Performance Timeline. - * A PerformanceMeasure is a subclass of PerformanceEntry whose performanceEntry.entryType is always 'measure', - * and whose performanceEntry.duration measures the number of milliseconds elapsed since startMark and endMark. - * - * The startMark argument may identify any existing PerformanceMark in the the Performance Timeline, or may identify - * any of the timestamp properties provided by the PerformanceNodeTiming class. If the named startMark does not exist, - * then startMark is set to timeOrigin by default. - * - * The endMark argument must identify any existing PerformanceMark in the the Performance Timeline or any of the timestamp - * properties provided by the PerformanceNodeTiming class. If the named endMark does not exist, an error will be thrown. - * @param name - * @param startMark - * @param endMark - * @return The PerformanceMeasure entry that was created - */ - measure(name: string, startMark?: string, endMark?: string): PerformanceMeasure; - measure(name: string, options: MeasureOptions): PerformanceMeasure; - /** - * An instance of the PerformanceNodeTiming class that provides performance metrics for specific Node.js operational milestones. - */ - readonly nodeTiming: PerformanceNodeTiming; - /** - * @return the current high resolution millisecond timestamp - */ - now(): number; - /** - * The timeOrigin specifies the high resolution millisecond timestamp from which all performance metric durations are measured. - */ - readonly timeOrigin: number; - /** - * Wraps a function within a new function that measures the running time of the wrapped function. - * A PerformanceObserver must be subscribed to the 'function' event type in order for the timing details to be accessed. - * @param fn - */ - timerify any>(fn: T, options?: TimerifyOptions): T; - /** - * eventLoopUtilization is similar to CPU utilization except that it is calculated using high precision wall-clock time. - * It represents the percentage of time the event loop has spent outside the event loop's event provider (e.g. epoll_wait). - * No other CPU idle time is taken into consideration. - */ - eventLoopUtilization: EventLoopUtilityFunction; - } - interface PerformanceObserverEntryList { - /** - * Returns a list of `PerformanceEntry` objects in chronological order - * with respect to `performanceEntry.startTime`. - * - * ```js - * const { - * performance, - * PerformanceObserver, - * } = require('node:perf_hooks'); - * - * const obs = new PerformanceObserver((perfObserverList, observer) => { - * console.log(perfObserverList.getEntries()); - * - * * [ - * * PerformanceEntry { - * * name: 'test', - * * entryType: 'mark', - * * startTime: 81.465639, - * * duration: 0, - * * detail: null - * * }, - * * PerformanceEntry { - * * name: 'meow', - * * entryType: 'mark', - * * startTime: 81.860064, - * * duration: 0, - * * detail: null - * * } - * * ] - * - * performance.clearMarks(); - * performance.clearMeasures(); - * observer.disconnect(); - * }); - * obs.observe({ type: 'mark' }); - * - * performance.mark('test'); - * performance.mark('meow'); - * ``` - * @since v8.5.0 - */ - getEntries(): PerformanceEntry[]; - /** - * Returns a list of `PerformanceEntry` objects in chronological order - * with respect to `performanceEntry.startTime` whose `performanceEntry.name` is - * equal to `name`, and optionally, whose `performanceEntry.entryType` is equal to`type`. - * - * ```js - * const { - * performance, - * PerformanceObserver, - * } = require('node:perf_hooks'); - * - * const obs = new PerformanceObserver((perfObserverList, observer) => { - * console.log(perfObserverList.getEntriesByName('meow')); - * - * * [ - * * PerformanceEntry { - * * name: 'meow', - * * entryType: 'mark', - * * startTime: 98.545991, - * * duration: 0, - * * detail: null - * * } - * * ] - * - * console.log(perfObserverList.getEntriesByName('nope')); // [] - * - * console.log(perfObserverList.getEntriesByName('test', 'mark')); - * - * * [ - * * PerformanceEntry { - * * name: 'test', - * * entryType: 'mark', - * * startTime: 63.518931, - * * duration: 0, - * * detail: null - * * } - * * ] - * - * console.log(perfObserverList.getEntriesByName('test', 'measure')); // [] - * - * performance.clearMarks(); - * performance.clearMeasures(); - * observer.disconnect(); - * }); - * obs.observe({ entryTypes: ['mark', 'measure'] }); - * - * performance.mark('test'); - * performance.mark('meow'); - * ``` - * @since v8.5.0 - */ - getEntriesByName(name: string, type?: EntryType): PerformanceEntry[]; - /** - * Returns a list of `PerformanceEntry` objects in chronological order - * with respect to `performanceEntry.startTime` whose `performanceEntry.entryType`is equal to `type`. - * - * ```js - * const { - * performance, - * PerformanceObserver, - * } = require('node:perf_hooks'); - * - * const obs = new PerformanceObserver((perfObserverList, observer) => { - * console.log(perfObserverList.getEntriesByType('mark')); - * - * * [ - * * PerformanceEntry { - * * name: 'test', - * * entryType: 'mark', - * * startTime: 55.897834, - * * duration: 0, - * * detail: null - * * }, - * * PerformanceEntry { - * * name: 'meow', - * * entryType: 'mark', - * * startTime: 56.350146, - * * duration: 0, - * * detail: null - * * } - * * ] - * - * performance.clearMarks(); - * performance.clearMeasures(); - * observer.disconnect(); - * }); - * obs.observe({ type: 'mark' }); - * - * performance.mark('test'); - * performance.mark('meow'); - * ``` - * @since v8.5.0 - */ - getEntriesByType(type: EntryType): PerformanceEntry[]; - } - type PerformanceObserverCallback = (list: PerformanceObserverEntryList, observer: PerformanceObserver) => void; - /** - * @since v8.5.0 - */ - class PerformanceObserver extends AsyncResource { - constructor(callback: PerformanceObserverCallback); - /** - * Disconnects the `PerformanceObserver` instance from all notifications. - * @since v8.5.0 - */ - disconnect(): void; - /** - * Subscribes the `PerformanceObserver` instance to notifications of new `PerformanceEntry` instances identified either by `options.entryTypes`or `options.type`: - * - * ```js - * const { - * performance, - * PerformanceObserver, - * } = require('node:perf_hooks'); - * - * const obs = new PerformanceObserver((list, observer) => { - * // Called once asynchronously. `list` contains three items. - * }); - * obs.observe({ type: 'mark' }); - * - * for (let n = 0; n < 3; n++) - * performance.mark(`test${n}`); - * ``` - * @since v8.5.0 - */ - observe( - options: - | { - entryTypes: readonly EntryType[]; - buffered?: boolean | undefined; - } - | { - type: EntryType; - buffered?: boolean | undefined; - }, - ): void; - } - namespace constants { - const NODE_PERFORMANCE_GC_MAJOR: number; - const NODE_PERFORMANCE_GC_MINOR: number; - const NODE_PERFORMANCE_GC_INCREMENTAL: number; - const NODE_PERFORMANCE_GC_WEAKCB: number; - const NODE_PERFORMANCE_GC_FLAGS_NO: number; - const NODE_PERFORMANCE_GC_FLAGS_CONSTRUCT_RETAINED: number; - const NODE_PERFORMANCE_GC_FLAGS_FORCED: number; - const NODE_PERFORMANCE_GC_FLAGS_SYNCHRONOUS_PHANTOM_PROCESSING: number; - const NODE_PERFORMANCE_GC_FLAGS_ALL_AVAILABLE_GARBAGE: number; - const NODE_PERFORMANCE_GC_FLAGS_ALL_EXTERNAL_MEMORY: number; - const NODE_PERFORMANCE_GC_FLAGS_SCHEDULE_IDLE: number; - } - const performance: Performance; - interface EventLoopMonitorOptions { - /** - * The sampling rate in milliseconds. - * Must be greater than zero. - * @default 10 - */ - resolution?: number | undefined; - } - interface Histogram { - /** - * Returns a `Map` object detailing the accumulated percentile distribution. - * @since v11.10.0 - */ - readonly percentiles: Map; - /** - * The number of times the event loop delay exceeded the maximum 1 hour event - * loop delay threshold. - * @since v11.10.0 - */ - readonly exceeds: number; - /** - * The minimum recorded event loop delay. - * @since v11.10.0 - */ - readonly min: number; - /** - * The maximum recorded event loop delay. - * @since v11.10.0 - */ - readonly max: number; - /** - * The mean of the recorded event loop delays. - * @since v11.10.0 - */ - readonly mean: number; - /** - * The standard deviation of the recorded event loop delays. - * @since v11.10.0 - */ - readonly stddev: number; - /** - * Resets the collected histogram data. - * @since v11.10.0 - */ - reset(): void; - /** - * Returns the value at the given percentile. - * @since v11.10.0 - * @param percentile A percentile value in the range (0, 100]. - */ - percentile(percentile: number): number; - } - interface IntervalHistogram extends Histogram { - /** - * Enables the update interval timer. Returns `true` if the timer was - * started, `false` if it was already started. - * @since v11.10.0 - */ - enable(): boolean; - /** - * Disables the update interval timer. Returns `true` if the timer was - * stopped, `false` if it was already stopped. - * @since v11.10.0 - */ - disable(): boolean; - } - interface RecordableHistogram extends Histogram { - /** - * @since v15.9.0, v14.18.0 - * @param val The amount to record in the histogram. - */ - record(val: number | bigint): void; - /** - * Calculates the amount of time (in nanoseconds) that has passed since the - * previous call to `recordDelta()` and records that amount in the histogram. - * - * ## Examples - * @since v15.9.0, v14.18.0 - */ - recordDelta(): void; - /** - * Adds the values from `other` to this histogram. - * @since v17.4.0, v16.14.0 - */ - add(other: RecordableHistogram): void; - } - /** - * _This property is an extension by Node.js. It is not available in Web browsers._ - * - * Creates an `IntervalHistogram` object that samples and reports the event loop - * delay over time. The delays will be reported in nanoseconds. - * - * Using a timer to detect approximate event loop delay works because the - * execution of timers is tied specifically to the lifecycle of the libuv - * event loop. That is, a delay in the loop will cause a delay in the execution - * of the timer, and those delays are specifically what this API is intended to - * detect. - * - * ```js - * const { monitorEventLoopDelay } = require('node:perf_hooks'); - * const h = monitorEventLoopDelay({ resolution: 20 }); - * h.enable(); - * // Do something. - * h.disable(); - * console.log(h.min); - * console.log(h.max); - * console.log(h.mean); - * console.log(h.stddev); - * console.log(h.percentiles); - * console.log(h.percentile(50)); - * console.log(h.percentile(99)); - * ``` - * @since v11.10.0 - */ - function monitorEventLoopDelay(options?: EventLoopMonitorOptions): IntervalHistogram; - interface CreateHistogramOptions { - /** - * The minimum recordable value. Must be an integer value greater than 0. - * @default 1 - */ - min?: number | bigint | undefined; - /** - * The maximum recordable value. Must be an integer value greater than min. - * @default Number.MAX_SAFE_INTEGER - */ - max?: number | bigint | undefined; - /** - * The number of accuracy digits. Must be a number between 1 and 5. - * @default 3 - */ - figures?: number | undefined; - } - /** - * Returns a `RecordableHistogram`. - * @since v15.9.0, v14.18.0 - */ - function createHistogram(options?: CreateHistogramOptions): RecordableHistogram; - import { performance as _performance } from "perf_hooks"; - global { - /** - * `performance` is a global reference for `require('perf_hooks').performance` - * https://nodejs.org/api/globals.html#performance - * @since v16.0.0 - */ - var performance: typeof globalThis extends { - onmessage: any; - performance: infer T; - } ? T - : typeof _performance; - } -} -declare module "node:perf_hooks" { - export * from "perf_hooks"; -} diff --git a/node_modules/@types/node/process.d.ts b/node_modules/@types/node/process.d.ts deleted file mode 100644 index d22308f..0000000 --- a/node_modules/@types/node/process.d.ts +++ /dev/null @@ -1,1561 +0,0 @@ -declare module "process" { - import * as tty from "node:tty"; - import { Worker } from "node:worker_threads"; - global { - var process: NodeJS.Process; - namespace NodeJS { - // this namespace merge is here because these are specifically used - // as the type for process.stdin, process.stdout, and process.stderr. - // they can't live in tty.d.ts because we need to disambiguate the imported name. - interface ReadStream extends tty.ReadStream {} - interface WriteStream extends tty.WriteStream {} - interface MemoryUsageFn { - /** - * The `process.memoryUsage()` method iterate over each page to gather informations about memory - * usage which can be slow depending on the program memory allocations. - */ - (): MemoryUsage; - /** - * method returns an integer representing the Resident Set Size (RSS) in bytes. - */ - rss(): number; - } - interface MemoryUsage { - rss: number; - heapTotal: number; - heapUsed: number; - external: number; - arrayBuffers: number; - } - interface CpuUsage { - user: number; - system: number; - } - interface ProcessRelease { - name: string; - sourceUrl?: string | undefined; - headersUrl?: string | undefined; - libUrl?: string | undefined; - lts?: string | undefined; - } - interface ProcessVersions extends Dict { - http_parser: string; - node: string; - v8: string; - ares: string; - uv: string; - zlib: string; - modules: string; - openssl: string; - } - type Platform = - | "aix" - | "android" - | "darwin" - | "freebsd" - | "haiku" - | "linux" - | "openbsd" - | "sunos" - | "win32" - | "cygwin" - | "netbsd"; - type Architecture = - | "arm" - | "arm64" - | "ia32" - | "mips" - | "mipsel" - | "ppc" - | "ppc64" - | "riscv64" - | "s390" - | "s390x" - | "x64"; - type Signals = - | "SIGABRT" - | "SIGALRM" - | "SIGBUS" - | "SIGCHLD" - | "SIGCONT" - | "SIGFPE" - | "SIGHUP" - | "SIGILL" - | "SIGINT" - | "SIGIO" - | "SIGIOT" - | "SIGKILL" - | "SIGPIPE" - | "SIGPOLL" - | "SIGPROF" - | "SIGPWR" - | "SIGQUIT" - | "SIGSEGV" - | "SIGSTKFLT" - | "SIGSTOP" - | "SIGSYS" - | "SIGTERM" - | "SIGTRAP" - | "SIGTSTP" - | "SIGTTIN" - | "SIGTTOU" - | "SIGUNUSED" - | "SIGURG" - | "SIGUSR1" - | "SIGUSR2" - | "SIGVTALRM" - | "SIGWINCH" - | "SIGXCPU" - | "SIGXFSZ" - | "SIGBREAK" - | "SIGLOST" - | "SIGINFO"; - type UncaughtExceptionOrigin = "uncaughtException" | "unhandledRejection"; - type MultipleResolveType = "resolve" | "reject"; - type BeforeExitListener = (code: number) => void; - type DisconnectListener = () => void; - type ExitListener = (code: number) => void; - type RejectionHandledListener = (promise: Promise) => void; - type UncaughtExceptionListener = (error: Error, origin: UncaughtExceptionOrigin) => void; - /** - * Most of the time the unhandledRejection will be an Error, but this should not be relied upon - * as *anything* can be thrown/rejected, it is therefore unsafe to assume that the value is an Error. - */ - type UnhandledRejectionListener = (reason: unknown, promise: Promise) => void; - type WarningListener = (warning: Error) => void; - type MessageListener = (message: unknown, sendHandle: unknown) => void; - type SignalsListener = (signal: Signals) => void; - type MultipleResolveListener = ( - type: MultipleResolveType, - promise: Promise, - value: unknown, - ) => void; - type WorkerListener = (worker: Worker) => void; - interface Socket extends ReadWriteStream { - isTTY?: true | undefined; - } - // Alias for compatibility - interface ProcessEnv extends Dict { - /** - * Can be used to change the default timezone at runtime - */ - TZ?: string; - } - interface HRTime { - (time?: [number, number]): [number, number]; - bigint(): bigint; - } - interface ProcessReport { - /** - * Directory where the report is written. - * working directory of the Node.js process. - * @default '' indicating that reports are written to the current - */ - directory: string; - /** - * Filename where the report is written. - * The default value is the empty string. - * @default '' the output filename will be comprised of a timestamp, - * PID, and sequence number. - */ - filename: string; - /** - * Returns a JSON-formatted diagnostic report for the running process. - * The report's JavaScript stack trace is taken from err, if present. - */ - getReport(err?: Error): string; - /** - * If true, a diagnostic report is generated on fatal errors, - * such as out of memory errors or failed C++ assertions. - * @default false - */ - reportOnFatalError: boolean; - /** - * If true, a diagnostic report is generated when the process - * receives the signal specified by process.report.signal. - * @default false - */ - reportOnSignal: boolean; - /** - * If true, a diagnostic report is generated on uncaught exception. - * @default false - */ - reportOnUncaughtException: boolean; - /** - * The signal used to trigger the creation of a diagnostic report. - * @default 'SIGUSR2' - */ - signal: Signals; - /** - * Writes a diagnostic report to a file. If filename is not provided, the default filename - * includes the date, time, PID, and a sequence number. - * The report's JavaScript stack trace is taken from err, if present. - * - * @param fileName Name of the file where the report is written. - * This should be a relative path, that will be appended to the directory specified in - * `process.report.directory`, or the current working directory of the Node.js process, - * if unspecified. - * @param error A custom error used for reporting the JavaScript stack. - * @return Filename of the generated report. - */ - writeReport(fileName?: string): string; - writeReport(error?: Error): string; - writeReport(fileName?: string, err?: Error): string; - } - interface ResourceUsage { - fsRead: number; - fsWrite: number; - involuntaryContextSwitches: number; - ipcReceived: number; - ipcSent: number; - majorPageFault: number; - maxRSS: number; - minorPageFault: number; - sharedMemorySize: number; - signalsCount: number; - swappedOut: number; - systemCPUTime: number; - unsharedDataSize: number; - unsharedStackSize: number; - userCPUTime: number; - voluntaryContextSwitches: number; - } - interface EmitWarningOptions { - /** - * When `warning` is a `string`, `type` is the name to use for the _type_ of warning being emitted. - * - * @default 'Warning' - */ - type?: string | undefined; - /** - * A unique identifier for the warning instance being emitted. - */ - code?: string | undefined; - /** - * When `warning` is a `string`, `ctor` is an optional function used to limit the generated stack trace. - * - * @default process.emitWarning - */ - ctor?: Function | undefined; - /** - * Additional text to include with the error. - */ - detail?: string | undefined; - } - interface ProcessConfig { - readonly target_defaults: { - readonly cflags: any[]; - readonly default_configuration: string; - readonly defines: string[]; - readonly include_dirs: string[]; - readonly libraries: string[]; - }; - readonly variables: { - readonly clang: number; - readonly host_arch: string; - readonly node_install_npm: boolean; - readonly node_install_waf: boolean; - readonly node_prefix: string; - readonly node_shared_openssl: boolean; - readonly node_shared_v8: boolean; - readonly node_shared_zlib: boolean; - readonly node_use_dtrace: boolean; - readonly node_use_etw: boolean; - readonly node_use_openssl: boolean; - readonly target_arch: string; - readonly v8_no_strict_aliasing: number; - readonly v8_use_snapshot: boolean; - readonly visibility: string; - }; - } - interface Process extends EventEmitter { - /** - * The `process.stdout` property returns a stream connected to`stdout` (fd `1`). It is a `net.Socket` (which is a `Duplex` stream) unless fd `1` refers to a file, in which case it is - * a `Writable` stream. - * - * For example, to copy `process.stdin` to `process.stdout`: - * - * ```js - * import { stdin, stdout } from 'node:process'; - * - * stdin.pipe(stdout); - * ``` - * - * `process.stdout` differs from other Node.js streams in important ways. See `note on process I/O` for more information. - */ - stdout: WriteStream & { - fd: 1; - }; - /** - * The `process.stderr` property returns a stream connected to`stderr` (fd `2`). It is a `net.Socket` (which is a `Duplex` stream) unless fd `2` refers to a file, in which case it is - * a `Writable` stream. - * - * `process.stderr` differs from other Node.js streams in important ways. See `note on process I/O` for more information. - */ - stderr: WriteStream & { - fd: 2; - }; - /** - * The `process.stdin` property returns a stream connected to`stdin` (fd `0`). It is a `net.Socket` (which is a `Duplex` stream) unless fd `0` refers to a file, in which case it is - * a `Readable` stream. - * - * For details of how to read from `stdin` see `readable.read()`. - * - * As a `Duplex` stream, `process.stdin` can also be used in "old" mode that - * is compatible with scripts written for Node.js prior to v0.10\. - * For more information see `Stream compatibility`. - * - * In "old" streams mode the `stdin` stream is paused by default, so one - * must call `process.stdin.resume()` to read from it. Note also that calling`process.stdin.resume()` itself would switch stream to "old" mode. - */ - stdin: ReadStream & { - fd: 0; - }; - openStdin(): Socket; - /** - * The `process.argv` property returns an array containing the command-line - * arguments passed when the Node.js process was launched. The first element will - * be {@link execPath}. See `process.argv0` if access to the original value - * of `argv[0]` is needed. The second element will be the path to the JavaScript - * file being executed. The remaining elements will be any additional command-line - * arguments. - * - * For example, assuming the following script for `process-args.js`: - * - * ```js - * import { argv } from 'node:process'; - * - * // print process.argv - * argv.forEach((val, index) => { - * console.log(`${index}: ${val}`); - * }); - * ``` - * - * Launching the Node.js process as: - * - * ```bash - * node process-args.js one two=three four - * ``` - * - * Would generate the output: - * - * ```text - * 0: /usr/local/bin/node - * 1: /Users/mjr/work/node/process-args.js - * 2: one - * 3: two=three - * 4: four - * ``` - * @since v0.1.27 - */ - argv: string[]; - /** - * The `process.argv0` property stores a read-only copy of the original value of`argv[0]` passed when Node.js starts. - * - * ```console - * $ bash -c 'exec -a customArgv0 ./node' - * > process.argv[0] - * '/Volumes/code/external/node/out/Release/node' - * > process.argv0 - * 'customArgv0' - * ``` - * @since v6.4.0 - */ - argv0: string; - /** - * The `process.execArgv` property returns the set of Node.js-specific command-line - * options passed when the Node.js process was launched. These options do not - * appear in the array returned by the {@link argv} property, and do not - * include the Node.js executable, the name of the script, or any options following - * the script name. These options are useful in order to spawn child processes with - * the same execution environment as the parent. - * - * ```bash - * node --harmony script.js --version - * ``` - * - * Results in `process.execArgv`: - * - * ```js - * ['--harmony'] - * ``` - * - * And `process.argv`: - * - * ```js - * ['/usr/local/bin/node', 'script.js', '--version'] - * ``` - * - * Refer to `Worker constructor` for the detailed behavior of worker - * threads with this property. - * @since v0.7.7 - */ - execArgv: string[]; - /** - * The `process.execPath` property returns the absolute pathname of the executable - * that started the Node.js process. Symbolic links, if any, are resolved. - * - * ```js - * '/usr/local/bin/node' - * ``` - * @since v0.1.100 - */ - execPath: string; - /** - * The `process.abort()` method causes the Node.js process to exit immediately and - * generate a core file. - * - * This feature is not available in `Worker` threads. - * @since v0.7.0 - */ - abort(): never; - /** - * The `process.chdir()` method changes the current working directory of the - * Node.js process or throws an exception if doing so fails (for instance, if - * the specified `directory` does not exist). - * - * ```js - * import { chdir, cwd } from 'node:process'; - * - * console.log(`Starting directory: ${cwd()}`); - * try { - * chdir('/tmp'); - * console.log(`New directory: ${cwd()}`); - * } catch (err) { - * console.error(`chdir: ${err}`); - * } - * ``` - * - * This feature is not available in `Worker` threads. - * @since v0.1.17 - */ - chdir(directory: string): void; - /** - * The `process.cwd()` method returns the current working directory of the Node.js - * process. - * - * ```js - * import { cwd } from 'node:process'; - * - * console.log(`Current directory: ${cwd()}`); - * ``` - * @since v0.1.8 - */ - cwd(): string; - /** - * The port used by the Node.js debugger when enabled. - * - * ```js - * import process from 'node:process'; - * - * process.debugPort = 5858; - * ``` - * @since v0.7.2 - */ - debugPort: number; - /** - * The `process.emitWarning()` method can be used to emit custom or application - * specific process warnings. These can be listened for by adding a handler to the `'warning'` event. - * - * ```js - * import { emitWarning } from 'node:process'; - * - * // Emit a warning with a code and additional detail. - * emitWarning('Something happened!', { - * code: 'MY_WARNING', - * detail: 'This is some additional information', - * }); - * // Emits: - * // (node:56338) [MY_WARNING] Warning: Something happened! - * // This is some additional information - * ``` - * - * In this example, an `Error` object is generated internally by`process.emitWarning()` and passed through to the `'warning'` handler. - * - * ```js - * import process from 'node:process'; - * - * process.on('warning', (warning) => { - * console.warn(warning.name); // 'Warning' - * console.warn(warning.message); // 'Something happened!' - * console.warn(warning.code); // 'MY_WARNING' - * console.warn(warning.stack); // Stack trace - * console.warn(warning.detail); // 'This is some additional information' - * }); - * ``` - * - * If `warning` is passed as an `Error` object, the `options` argument is ignored. - * @since v8.0.0 - * @param warning The warning to emit. - */ - emitWarning(warning: string | Error, ctor?: Function): void; - emitWarning(warning: string | Error, type?: string, ctor?: Function): void; - emitWarning(warning: string | Error, type?: string, code?: string, ctor?: Function): void; - emitWarning(warning: string | Error, options?: EmitWarningOptions): void; - /** - * The `process.env` property returns an object containing the user environment. - * See [`environ(7)`](http://man7.org/linux/man-pages/man7/environ.7.html). - * - * An example of this object looks like: - * - * ```js - * { - * TERM: 'xterm-256color', - * SHELL: '/usr/local/bin/bash', - * USER: 'maciej', - * PATH: '~/.bin/:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin', - * PWD: '/Users/maciej', - * EDITOR: 'vim', - * SHLVL: '1', - * HOME: '/Users/maciej', - * LOGNAME: 'maciej', - * _: '/usr/local/bin/node' - * } - * ``` - * - * It is possible to modify this object, but such modifications will not be - * reflected outside the Node.js process, or (unless explicitly requested) - * to other `Worker` threads. - * In other words, the following example would not work: - * - * ```bash - * node -e 'process.env.foo = "bar"' && echo $foo - * ``` - * - * While the following will: - * - * ```js - * import { env } from 'node:process'; - * - * env.foo = 'bar'; - * console.log(env.foo); - * ``` - * - * Assigning a property on `process.env` will implicitly convert the value - * to a string. **This behavior is deprecated.** Future versions of Node.js may - * throw an error when the value is not a string, number, or boolean. - * - * ```js - * import { env } from 'node:process'; - * - * env.test = null; - * console.log(env.test); - * // => 'null' - * env.test = undefined; - * console.log(env.test); - * // => 'undefined' - * ``` - * - * Use `delete` to delete a property from `process.env`. - * - * ```js - * import { env } from 'node:process'; - * - * env.TEST = 1; - * delete env.TEST; - * console.log(env.TEST); - * // => undefined - * ``` - * - * On Windows operating systems, environment variables are case-insensitive. - * - * ```js - * import { env } from 'node:process'; - * - * env.TEST = 1; - * console.log(env.test); - * // => 1 - * ``` - * - * Unless explicitly specified when creating a `Worker` instance, - * each `Worker` thread has its own copy of `process.env`, based on its - * parent thread's `process.env`, or whatever was specified as the `env` option - * to the `Worker` constructor. Changes to `process.env` will not be visible - * across `Worker` threads, and only the main thread can make changes that - * are visible to the operating system or to native add-ons. On Windows, a copy of`process.env` on a `Worker` instance operates in a case-sensitive manner - * unlike the main thread. - * @since v0.1.27 - */ - env: ProcessEnv; - /** - * The `process.exit()` method instructs Node.js to terminate the process - * synchronously with an exit status of `code`. If `code` is omitted, exit uses - * either the 'success' code `0` or the value of `process.exitCode` if it has been - * set. Node.js will not terminate until all the `'exit'` event listeners are - * called. - * - * To exit with a 'failure' code: - * - * ```js - * import { exit } from 'node:process'; - * - * exit(1); - * ``` - * - * The shell that executed Node.js should see the exit code as `1`. - * - * Calling `process.exit()` will force the process to exit as quickly as possible - * even if there are still asynchronous operations pending that have not yet - * completed fully, including I/O operations to `process.stdout` and`process.stderr`. - * - * In most situations, it is not actually necessary to call `process.exit()`explicitly. The Node.js process will exit on its own _if there is no additional_ - * _work pending_ in the event loop. The `process.exitCode` property can be set to - * tell the process which exit code to use when the process exits gracefully. - * - * For instance, the following example illustrates a _misuse_ of the`process.exit()` method that could lead to data printed to stdout being - * truncated and lost: - * - * ```js - * import { exit } from 'node:process'; - * - * // This is an example of what *not* to do: - * if (someConditionNotMet()) { - * printUsageToStdout(); - * exit(1); - * } - * ``` - * - * The reason this is problematic is because writes to `process.stdout` in Node.js - * are sometimes _asynchronous_ and may occur over multiple ticks of the Node.js - * event loop. Calling `process.exit()`, however, forces the process to exit _before_ those additional writes to `stdout` can be performed. - * - * Rather than calling `process.exit()` directly, the code _should_ set the`process.exitCode` and allow the process to exit naturally by avoiding - * scheduling any additional work for the event loop: - * - * ```js - * import process from 'node:process'; - * - * // How to properly set the exit code while letting - * // the process exit gracefully. - * if (someConditionNotMet()) { - * printUsageToStdout(); - * process.exitCode = 1; - * } - * ``` - * - * If it is necessary to terminate the Node.js process due to an error condition, - * throwing an _uncaught_ error and allowing the process to terminate accordingly - * is safer than calling `process.exit()`. - * - * In `Worker` threads, this function stops the current thread rather - * than the current process. - * @since v0.1.13 - * @param [code=0] The exit code. For string type, only integer strings (e.g.,'1') are allowed. - */ - exit(code?: number): never; - /** - * A number which will be the process exit code, when the process either - * exits gracefully, or is exited via {@link exit} without specifying - * a code. - * - * Specifying a code to {@link exit} will override any - * previous setting of `process.exitCode`. - * @since v0.11.8 - */ - exitCode?: number | undefined; - /** - * The `process.getgid()` method returns the numerical group identity of the - * process. (See [`getgid(2)`](http://man7.org/linux/man-pages/man2/getgid.2.html).) - * - * ```js - * import process from 'process'; - * - * if (process.getgid) { - * console.log(`Current gid: ${process.getgid()}`); - * } - * ``` - * - * This function is only available on POSIX platforms (i.e. not Windows or - * Android). - * @since v0.1.31 - */ - getgid?: () => number; - /** - * The `process.setgid()` method sets the group identity of the process. (See [`setgid(2)`](http://man7.org/linux/man-pages/man2/setgid.2.html).) The `id` can be passed as either a - * numeric ID or a group name - * string. If a group name is specified, this method blocks while resolving the - * associated numeric ID. - * - * ```js - * import process from 'process'; - * - * if (process.getgid && process.setgid) { - * console.log(`Current gid: ${process.getgid()}`); - * try { - * process.setgid(501); - * console.log(`New gid: ${process.getgid()}`); - * } catch (err) { - * console.log(`Failed to set gid: ${err}`); - * } - * } - * ``` - * - * This function is only available on POSIX platforms (i.e. not Windows or - * Android). - * This feature is not available in `Worker` threads. - * @since v0.1.31 - * @param id The group name or ID - */ - setgid?: (id: number | string) => void; - /** - * The `process.getuid()` method returns the numeric user identity of the process. - * (See [`getuid(2)`](http://man7.org/linux/man-pages/man2/getuid.2.html).) - * - * ```js - * import process from 'process'; - * - * if (process.getuid) { - * console.log(`Current uid: ${process.getuid()}`); - * } - * ``` - * - * This function is only available on POSIX platforms (i.e. not Windows or - * Android). - * @since v0.1.28 - */ - getuid?: () => number; - /** - * The `process.setuid(id)` method sets the user identity of the process. (See [`setuid(2)`](http://man7.org/linux/man-pages/man2/setuid.2.html).) The `id` can be passed as either a - * numeric ID or a username string. - * If a username is specified, the method blocks while resolving the associated - * numeric ID. - * - * ```js - * import process from 'process'; - * - * if (process.getuid && process.setuid) { - * console.log(`Current uid: ${process.getuid()}`); - * try { - * process.setuid(501); - * console.log(`New uid: ${process.getuid()}`); - * } catch (err) { - * console.log(`Failed to set uid: ${err}`); - * } - * } - * ``` - * - * This function is only available on POSIX platforms (i.e. not Windows or - * Android). - * This feature is not available in `Worker` threads. - * @since v0.1.28 - */ - setuid?: (id: number | string) => void; - /** - * The `process.geteuid()` method returns the numerical effective user identity of - * the process. (See [`geteuid(2)`](http://man7.org/linux/man-pages/man2/geteuid.2.html).) - * - * ```js - * import process from 'process'; - * - * if (process.geteuid) { - * console.log(`Current uid: ${process.geteuid()}`); - * } - * ``` - * - * This function is only available on POSIX platforms (i.e. not Windows or - * Android). - * @since v2.0.0 - */ - geteuid?: () => number; - /** - * The `process.seteuid()` method sets the effective user identity of the process. - * (See [`seteuid(2)`](http://man7.org/linux/man-pages/man2/seteuid.2.html).) The `id` can be passed as either a numeric ID or a username - * string. If a username is specified, the method blocks while resolving the - * associated numeric ID. - * - * ```js - * import process from 'process'; - * - * if (process.geteuid && process.seteuid) { - * console.log(`Current uid: ${process.geteuid()}`); - * try { - * process.seteuid(501); - * console.log(`New uid: ${process.geteuid()}`); - * } catch (err) { - * console.log(`Failed to set uid: ${err}`); - * } - * } - * ``` - * - * This function is only available on POSIX platforms (i.e. not Windows or - * Android). - * This feature is not available in `Worker` threads. - * @since v2.0.0 - * @param id A user name or ID - */ - seteuid?: (id: number | string) => void; - /** - * The `process.getegid()` method returns the numerical effective group identity - * of the Node.js process. (See [`getegid(2)`](http://man7.org/linux/man-pages/man2/getegid.2.html).) - * - * ```js - * import process from 'process'; - * - * if (process.getegid) { - * console.log(`Current gid: ${process.getegid()}`); - * } - * ``` - * - * This function is only available on POSIX platforms (i.e. not Windows or - * Android). - * @since v2.0.0 - */ - getegid?: () => number; - /** - * The `process.setegid()` method sets the effective group identity of the process. - * (See [`setegid(2)`](http://man7.org/linux/man-pages/man2/setegid.2.html).) The `id` can be passed as either a numeric ID or a group - * name string. If a group name is specified, this method blocks while resolving - * the associated a numeric ID. - * - * ```js - * import process from 'process'; - * - * if (process.getegid && process.setegid) { - * console.log(`Current gid: ${process.getegid()}`); - * try { - * process.setegid(501); - * console.log(`New gid: ${process.getegid()}`); - * } catch (err) { - * console.log(`Failed to set gid: ${err}`); - * } - * } - * ``` - * - * This function is only available on POSIX platforms (i.e. not Windows or - * Android). - * This feature is not available in `Worker` threads. - * @since v2.0.0 - * @param id A group name or ID - */ - setegid?: (id: number | string) => void; - /** - * The `process.getgroups()` method returns an array with the supplementary group - * IDs. POSIX leaves it unspecified if the effective group ID is included but - * Node.js ensures it always is. - * - * ```js - * import process from 'process'; - * - * if (process.getgroups) { - * console.log(process.getgroups()); // [ 16, 21, 297 ] - * } - * ``` - * - * This function is only available on POSIX platforms (i.e. not Windows or - * Android). - * @since v0.9.4 - */ - getgroups?: () => number[]; - /** - * The `process.setgroups()` method sets the supplementary group IDs for the - * Node.js process. This is a privileged operation that requires the Node.js - * process to have `root` or the `CAP_SETGID` capability. - * - * The `groups` array can contain numeric group IDs, group names, or both. - * - * ```js - * import process from 'process'; - * - * if (process.getgroups && process.setgroups) { - * try { - * process.setgroups([501]); - * console.log(process.getgroups()); // new groups - * } catch (err) { - * console.log(`Failed to set groups: ${err}`); - * } - * } - * ``` - * - * This function is only available on POSIX platforms (i.e. not Windows or - * Android). - * This feature is not available in `Worker` threads. - * @since v0.9.4 - */ - setgroups?: (groups: ReadonlyArray) => void; - /** - * The `process.setUncaughtExceptionCaptureCallback()` function sets a function - * that will be invoked when an uncaught exception occurs, which will receive the - * exception value itself as its first argument. - * - * If such a function is set, the `'uncaughtException'` event will - * not be emitted. If `--abort-on-uncaught-exception` was passed from the - * command line or set through `v8.setFlagsFromString()`, the process will - * not abort. Actions configured to take place on exceptions such as report - * generations will be affected too - * - * To unset the capture function,`process.setUncaughtExceptionCaptureCallback(null)` may be used. Calling this - * method with a non-`null` argument while another capture function is set will - * throw an error. - * - * Using this function is mutually exclusive with using the deprecated `domain` built-in module. - * @since v9.3.0 - */ - setUncaughtExceptionCaptureCallback(cb: ((err: Error) => void) | null): void; - /** - * Indicates whether a callback has been set using {@link setUncaughtExceptionCaptureCallback}. - * @since v9.3.0 - */ - hasUncaughtExceptionCaptureCallback(): boolean; - /** - * The `process.sourceMapsEnabled` property returns whether the [Source Map v3](https://sourcemaps.info/spec.html) support for stack traces is enabled. - * @since v20.7.0 - * @experimental - */ - readonly sourceMapsEnabled: boolean; - /** - * This function enables or disables the [Source Map v3](https://sourcemaps.info/spec.html) support for - * stack traces. - * - * It provides same features as launching Node.js process with commandline options`--enable-source-maps`. - * - * Only source maps in JavaScript files that are loaded after source maps has been - * enabled will be parsed and loaded. - * @since v16.6.0, v14.18.0 - * @experimental - */ - setSourceMapsEnabled(value: boolean): void; - /** - * The `process.version` property contains the Node.js version string. - * - * ```js - * import { version } from 'node:process'; - * - * console.log(`Version: ${version}`); - * // Version: v14.8.0 - * ``` - * - * To get the version string without the prepended _v_, use`process.versions.node`. - * @since v0.1.3 - */ - readonly version: string; - /** - * The `process.versions` property returns an object listing the version strings of - * Node.js and its dependencies. `process.versions.modules` indicates the current - * ABI version, which is increased whenever a C++ API changes. Node.js will refuse - * to load modules that were compiled against a different module ABI version. - * - * ```js - * import { versions } from 'node:process'; - * - * console.log(versions); - * ``` - * - * Will generate an object similar to: - * - * ```console - * { node: '20.2.0', - * acorn: '8.8.2', - * ada: '2.4.0', - * ares: '1.19.0', - * base64: '0.5.0', - * brotli: '1.0.9', - * cjs_module_lexer: '1.2.2', - * cldr: '43.0', - * icu: '73.1', - * llhttp: '8.1.0', - * modules: '115', - * napi: '8', - * nghttp2: '1.52.0', - * nghttp3: '0.7.0', - * ngtcp2: '0.8.1', - * openssl: '3.0.8+quic', - * simdutf: '3.2.9', - * tz: '2023c', - * undici: '5.22.0', - * unicode: '15.0', - * uv: '1.44.2', - * uvwasi: '0.0.16', - * v8: '11.3.244.8-node.9', - * zlib: '1.2.13' } - * ``` - * @since v0.2.0 - */ - readonly versions: ProcessVersions; - /** - * The `process.config` property returns a frozen `Object` containing the - * JavaScript representation of the configure options used to compile the current - * Node.js executable. This is the same as the `config.gypi` file that was produced - * when running the `./configure` script. - * - * An example of the possible output looks like: - * - * ```js - * { - * target_defaults: - * { cflags: [], - * default_configuration: 'Release', - * defines: [], - * include_dirs: [], - * libraries: [] }, - * variables: - * { - * host_arch: 'x64', - * napi_build_version: 5, - * node_install_npm: 'true', - * node_prefix: '', - * node_shared_cares: 'false', - * node_shared_http_parser: 'false', - * node_shared_libuv: 'false', - * node_shared_zlib: 'false', - * node_use_openssl: 'true', - * node_shared_openssl: 'false', - * strict_aliasing: 'true', - * target_arch: 'x64', - * v8_use_snapshot: 1 - * } - * } - * ``` - * @since v0.7.7 - */ - readonly config: ProcessConfig; - /** - * The `process.kill()` method sends the `signal` to the process identified by`pid`. - * - * Signal names are strings such as `'SIGINT'` or `'SIGHUP'`. See `Signal Events` and [`kill(2)`](http://man7.org/linux/man-pages/man2/kill.2.html) for more information. - * - * This method will throw an error if the target `pid` does not exist. As a special - * case, a signal of `0` can be used to test for the existence of a process. - * Windows platforms will throw an error if the `pid` is used to kill a process - * group. - * - * Even though the name of this function is `process.kill()`, it is really just a - * signal sender, like the `kill` system call. The signal sent may do something - * other than kill the target process. - * - * ```js - * import process, { kill } from 'node:process'; - * - * process.on('SIGHUP', () => { - * console.log('Got SIGHUP signal.'); - * }); - * - * setTimeout(() => { - * console.log('Exiting.'); - * process.exit(0); - * }, 100); - * - * kill(process.pid, 'SIGHUP'); - * ``` - * - * When `SIGUSR1` is received by a Node.js process, Node.js will start the - * debugger. See `Signal Events`. - * @since v0.0.6 - * @param pid A process ID - * @param [signal='SIGTERM'] The signal to send, either as a string or number. - */ - kill(pid: number, signal?: string | number): true; - /** - * The `process.pid` property returns the PID of the process. - * - * ```js - * import { pid } from 'node:process'; - * - * console.log(`This process is pid ${pid}`); - * ``` - * @since v0.1.15 - */ - readonly pid: number; - /** - * The `process.ppid` property returns the PID of the parent of the - * current process. - * - * ```js - * import { ppid } from 'node:process'; - * - * console.log(`The parent process is pid ${ppid}`); - * ``` - * @since v9.2.0, v8.10.0, v6.13.0 - */ - readonly ppid: number; - /** - * The `process.title` property returns the current process title (i.e. returns - * the current value of `ps`). Assigning a new value to `process.title` modifies - * the current value of `ps`. - * - * When a new value is assigned, different platforms will impose different maximum - * length restrictions on the title. Usually such restrictions are quite limited. - * For instance, on Linux and macOS, `process.title` is limited to the size of the - * binary name plus the length of the command-line arguments because setting the`process.title` overwrites the `argv` memory of the process. Node.js v0.8 - * allowed for longer process title strings by also overwriting the `environ`memory but that was potentially insecure and confusing in some (rather obscure) - * cases. - * - * Assigning a value to `process.title` might not result in an accurate label - * within process manager applications such as macOS Activity Monitor or Windows - * Services Manager. - * @since v0.1.104 - */ - title: string; - /** - * The operating system CPU architecture for which the Node.js binary was compiled. - * Possible values are: `'arm'`, `'arm64'`, `'ia32'`, `'loong64'`, `'mips'`,`'mipsel'`, `'ppc'`, `'ppc64'`, `'riscv64'`, `'s390'`, `'s390x'`, and `'x64'`. - * - * ```js - * import { arch } from 'node:process'; - * - * console.log(`This processor architecture is ${arch}`); - * ``` - * @since v0.5.0 - */ - readonly arch: Architecture; - /** - * The `process.platform` property returns a string identifying the operating - * system platform for which the Node.js binary was compiled. - * - * Currently possible values are: - * - * * `'aix'` - * * `'darwin'` - * * `'freebsd'` - * * `'linux'` - * * `'openbsd'` - * * `'sunos'` - * * `'win32'` - * - * ```js - * import { platform } from 'node:process'; - * - * console.log(`This platform is ${platform}`); - * ``` - * - * The value `'android'` may also be returned if the Node.js is built on the - * Android operating system. However, Android support in Node.js [is experimental](https://github.com/nodejs/node/blob/HEAD/BUILDING.md#androidandroid-based-devices-eg-firefox-os). - * @since v0.1.16 - */ - readonly platform: Platform; - /** - * The `process.mainModule` property provides an alternative way of retrieving `require.main`. The difference is that if the main module changes at - * runtime, `require.main` may still refer to the original main module in - * modules that were required before the change occurred. Generally, it's - * safe to assume that the two refer to the same module. - * - * As with `require.main`, `process.mainModule` will be `undefined` if there - * is no entry script. - * @since v0.1.17 - * @deprecated Since v14.0.0 - Use `main` instead. - */ - mainModule?: Module | undefined; - memoryUsage: MemoryUsageFn; - /** - * Gets the amount of memory available to the process (in bytes) based on - * limits imposed by the OS. If there is no such constraint, or the constraint - * is unknown, `undefined` is returned. - * - * See [`uv_get_constrained_memory`](https://docs.libuv.org/en/v1.x/misc.html#c.uv_get_constrained_memory) for more - * information. - * @since v19.6.0, v18.15.0 - * @experimental - */ - constrainedMemory(): number | undefined; - /** - * The `process.cpuUsage()` method returns the user and system CPU time usage of - * the current process, in an object with properties `user` and `system`, whose - * values are microsecond values (millionth of a second). These values measure time - * spent in user and system code respectively, and may end up being greater than - * actual elapsed time if multiple CPU cores are performing work for this process. - * - * The result of a previous call to `process.cpuUsage()` can be passed as the - * argument to the function, to get a diff reading. - * - * ```js - * import { cpuUsage } from 'node:process'; - * - * const startUsage = cpuUsage(); - * // { user: 38579, system: 6986 } - * - * // spin the CPU for 500 milliseconds - * const now = Date.now(); - * while (Date.now() - now < 500); - * - * console.log(cpuUsage(startUsage)); - * // { user: 514883, system: 11226 } - * ``` - * @since v6.1.0 - * @param previousValue A previous return value from calling `process.cpuUsage()` - */ - cpuUsage(previousValue?: CpuUsage): CpuUsage; - /** - * `process.nextTick()` adds `callback` to the "next tick queue". This queue is - * fully drained after the current operation on the JavaScript stack runs to - * completion and before the event loop is allowed to continue. It's possible to - * create an infinite loop if one were to recursively call `process.nextTick()`. - * See the [Event Loop](https://nodejs.org/en/docs/guides/event-loop-timers-and-nexttick/#process-nexttick) guide for more background. - * - * ```js - * import { nextTick } from 'node:process'; - * - * console.log('start'); - * nextTick(() => { - * console.log('nextTick callback'); - * }); - * console.log('scheduled'); - * // Output: - * // start - * // scheduled - * // nextTick callback - * ``` - * - * This is important when developing APIs in order to give users the opportunity - * to assign event handlers _after_ an object has been constructed but before any - * I/O has occurred: - * - * ```js - * import { nextTick } from 'node:process'; - * - * function MyThing(options) { - * this.setupOptions(options); - * - * nextTick(() => { - * this.startDoingStuff(); - * }); - * } - * - * const thing = new MyThing(); - * thing.getReadyForStuff(); - * - * // thing.startDoingStuff() gets called now, not before. - * ``` - * - * It is very important for APIs to be either 100% synchronous or 100% - * asynchronous. Consider this example: - * - * ```js - * // WARNING! DO NOT USE! BAD UNSAFE HAZARD! - * function maybeSync(arg, cb) { - * if (arg) { - * cb(); - * return; - * } - * - * fs.stat('file', cb); - * } - * ``` - * - * This API is hazardous because in the following case: - * - * ```js - * const maybeTrue = Math.random() > 0.5; - * - * maybeSync(maybeTrue, () => { - * foo(); - * }); - * - * bar(); - * ``` - * - * It is not clear whether `foo()` or `bar()` will be called first. - * - * The following approach is much better: - * - * ```js - * import { nextTick } from 'node:process'; - * - * function definitelyAsync(arg, cb) { - * if (arg) { - * nextTick(cb); - * return; - * } - * - * fs.stat('file', cb); - * } - * ``` - * @since v0.1.26 - * @param args Additional arguments to pass when invoking the `callback` - */ - nextTick(callback: Function, ...args: any[]): void; - /** - * The `process.release` property returns an `Object` containing metadata related - * to the current release, including URLs for the source tarball and headers-only - * tarball. - * - * `process.release` contains the following properties: - * - * ```js - * { - * name: 'node', - * lts: 'Hydrogen', - * sourceUrl: 'https://nodejs.org/download/release/v18.12.0/node-v18.12.0.tar.gz', - * headersUrl: 'https://nodejs.org/download/release/v18.12.0/node-v18.12.0-headers.tar.gz', - * libUrl: 'https://nodejs.org/download/release/v18.12.0/win-x64/node.lib' - * } - * ``` - * - * In custom builds from non-release versions of the source tree, only the`name` property may be present. The additional properties should not be - * relied upon to exist. - * @since v3.0.0 - */ - readonly release: ProcessRelease; - features: { - inspector: boolean; - debug: boolean; - uv: boolean; - ipv6: boolean; - tls_alpn: boolean; - tls_sni: boolean; - tls_ocsp: boolean; - tls: boolean; - }; - /** - * `process.umask()` returns the Node.js process's file mode creation mask. Child - * processes inherit the mask from the parent process. - * @since v0.1.19 - * @deprecated Calling `process.umask()` with no argument causes the process-wide umask to be written twice. This introduces a race condition between threads, and is a potential * - * security vulnerability. There is no safe, cross-platform alternative API. - */ - umask(): number; - /** - * Can only be set if not in worker thread. - */ - umask(mask: string | number): number; - /** - * The `process.uptime()` method returns the number of seconds the current Node.js - * process has been running. - * - * The return value includes fractions of a second. Use `Math.floor()` to get whole - * seconds. - * @since v0.5.0 - */ - uptime(): number; - hrtime: HRTime; - /** - * If the Node.js process was spawned with an IPC channel, the process.channel property is a reference to the IPC channel. - * If no IPC channel exists, this property is undefined. - * @since v7.1.0 - */ - channel?: { - /** - * This method makes the IPC channel keep the event loop of the process running if .unref() has been called before. - * @since v7.1.0 - */ - ref(): void; - /** - * This method makes the IPC channel not keep the event loop of the process running, and lets it finish even while the channel is open. - * @since v7.1.0 - */ - unref(): void; - }; - /** - * If Node.js is spawned with an IPC channel, the `process.send()` method can be - * used to send messages to the parent process. Messages will be received as a `'message'` event on the parent's `ChildProcess` object. - * - * If Node.js was not spawned with an IPC channel, `process.send` will be `undefined`. - * - * The message goes through serialization and parsing. The resulting message might - * not be the same as what is originally sent. - * @since v0.5.9 - * @param options used to parameterize the sending of certain types of handles.`options` supports the following properties: - */ - send?( - message: any, - sendHandle?: any, - options?: { - swallowErrors?: boolean | undefined; - }, - callback?: (error: Error | null) => void, - ): boolean; - /** - * If the Node.js process is spawned with an IPC channel (see the `Child Process` and `Cluster` documentation), the `process.disconnect()` method will close the - * IPC channel to the parent process, allowing the child process to exit gracefully - * once there are no other connections keeping it alive. - * - * The effect of calling `process.disconnect()` is the same as calling `ChildProcess.disconnect()` from the parent process. - * - * If the Node.js process was not spawned with an IPC channel,`process.disconnect()` will be `undefined`. - * @since v0.7.2 - */ - disconnect(): void; - /** - * If the Node.js process is spawned with an IPC channel (see the `Child Process` and `Cluster` documentation), the `process.connected` property will return`true` so long as the IPC - * channel is connected and will return `false` after`process.disconnect()` is called. - * - * Once `process.connected` is `false`, it is no longer possible to send messages - * over the IPC channel using `process.send()`. - * @since v0.7.2 - */ - connected: boolean; - /** - * The `process.allowedNodeEnvironmentFlags` property is a special, - * read-only `Set` of flags allowable within the `NODE_OPTIONS` environment variable. - * - * `process.allowedNodeEnvironmentFlags` extends `Set`, but overrides`Set.prototype.has` to recognize several different possible flag - * representations. `process.allowedNodeEnvironmentFlags.has()` will - * return `true` in the following cases: - * - * * Flags may omit leading single (`-`) or double (`--`) dashes; e.g.,`inspect-brk` for `--inspect-brk`, or `r` for `-r`. - * * Flags passed through to V8 (as listed in `--v8-options`) may replace - * one or more _non-leading_ dashes for an underscore, or vice-versa; - * e.g., `--perf_basic_prof`, `--perf-basic-prof`, `--perf_basic-prof`, - * etc. - * * Flags may contain one or more equals (`=`) characters; all - * characters after and including the first equals will be ignored; - * e.g., `--stack-trace-limit=100`. - * * Flags _must_ be allowable within `NODE_OPTIONS`. - * - * When iterating over `process.allowedNodeEnvironmentFlags`, flags will - * appear only _once_; each will begin with one or more dashes. Flags - * passed through to V8 will contain underscores instead of non-leading - * dashes: - * - * ```js - * import { allowedNodeEnvironmentFlags } from 'node:process'; - * - * allowedNodeEnvironmentFlags.forEach((flag) => { - * // -r - * // --inspect-brk - * // --abort_on_uncaught_exception - * // ... - * }); - * ``` - * - * The methods `add()`, `clear()`, and `delete()` of`process.allowedNodeEnvironmentFlags` do nothing, and will fail - * silently. - * - * If Node.js was compiled _without_ `NODE_OPTIONS` support (shown in {@link config}), `process.allowedNodeEnvironmentFlags` will - * contain what _would have_ been allowable. - * @since v10.10.0 - */ - allowedNodeEnvironmentFlags: ReadonlySet; - /** - * `process.report` is an object whose methods are used to generate diagnostic - * reports for the current process. Additional documentation is available in the `report documentation`. - * @since v11.8.0 - */ - report?: ProcessReport | undefined; - /** - * ```js - * import { resourceUsage } from 'node:process'; - * - * console.log(resourceUsage()); - * /* - * Will output: - * { - * userCPUTime: 82872, - * systemCPUTime: 4143, - * maxRSS: 33164, - * sharedMemorySize: 0, - * unsharedDataSize: 0, - * unsharedStackSize: 0, - * minorPageFault: 2469, - * majorPageFault: 0, - * swappedOut: 0, - * fsRead: 0, - * fsWrite: 8, - * ipcSent: 0, - * ipcReceived: 0, - * signalsCount: 0, - * voluntaryContextSwitches: 79, - * involuntaryContextSwitches: 1 - * } - * - * ``` - * @since v12.6.0 - * @return the resource usage for the current process. All of these values come from the `uv_getrusage` call which returns a [`uv_rusage_t` struct][uv_rusage_t]. - */ - resourceUsage(): ResourceUsage; - /** - * The `process.traceDeprecation` property indicates whether the`--trace-deprecation` flag is set on the current Node.js process. See the - * documentation for the `'warning' event` and the `emitWarning() method` for more information about this - * flag's behavior. - * @since v0.8.0 - */ - traceDeprecation: boolean; - /* EventEmitter */ - addListener(event: "beforeExit", listener: BeforeExitListener): this; - addListener(event: "disconnect", listener: DisconnectListener): this; - addListener(event: "exit", listener: ExitListener): this; - addListener(event: "rejectionHandled", listener: RejectionHandledListener): this; - addListener(event: "uncaughtException", listener: UncaughtExceptionListener): this; - addListener(event: "uncaughtExceptionMonitor", listener: UncaughtExceptionListener): this; - addListener(event: "unhandledRejection", listener: UnhandledRejectionListener): this; - addListener(event: "warning", listener: WarningListener): this; - addListener(event: "message", listener: MessageListener): this; - addListener(event: Signals, listener: SignalsListener): this; - addListener(event: "multipleResolves", listener: MultipleResolveListener): this; - addListener(event: "worker", listener: WorkerListener): this; - emit(event: "beforeExit", code: number): boolean; - emit(event: "disconnect"): boolean; - emit(event: "exit", code: number): boolean; - emit(event: "rejectionHandled", promise: Promise): boolean; - emit(event: "uncaughtException", error: Error): boolean; - emit(event: "uncaughtExceptionMonitor", error: Error): boolean; - emit(event: "unhandledRejection", reason: unknown, promise: Promise): boolean; - emit(event: "warning", warning: Error): boolean; - emit(event: "message", message: unknown, sendHandle: unknown): this; - emit(event: Signals, signal?: Signals): boolean; - emit( - event: "multipleResolves", - type: MultipleResolveType, - promise: Promise, - value: unknown, - ): this; - emit(event: "worker", listener: WorkerListener): this; - on(event: "beforeExit", listener: BeforeExitListener): this; - on(event: "disconnect", listener: DisconnectListener): this; - on(event: "exit", listener: ExitListener): this; - on(event: "rejectionHandled", listener: RejectionHandledListener): this; - on(event: "uncaughtException", listener: UncaughtExceptionListener): this; - on(event: "uncaughtExceptionMonitor", listener: UncaughtExceptionListener): this; - on(event: "unhandledRejection", listener: UnhandledRejectionListener): this; - on(event: "warning", listener: WarningListener): this; - on(event: "message", listener: MessageListener): this; - on(event: Signals, listener: SignalsListener): this; - on(event: "multipleResolves", listener: MultipleResolveListener): this; - on(event: "worker", listener: WorkerListener): this; - on(event: string | symbol, listener: (...args: any[]) => void): this; - once(event: "beforeExit", listener: BeforeExitListener): this; - once(event: "disconnect", listener: DisconnectListener): this; - once(event: "exit", listener: ExitListener): this; - once(event: "rejectionHandled", listener: RejectionHandledListener): this; - once(event: "uncaughtException", listener: UncaughtExceptionListener): this; - once(event: "uncaughtExceptionMonitor", listener: UncaughtExceptionListener): this; - once(event: "unhandledRejection", listener: UnhandledRejectionListener): this; - once(event: "warning", listener: WarningListener): this; - once(event: "message", listener: MessageListener): this; - once(event: Signals, listener: SignalsListener): this; - once(event: "multipleResolves", listener: MultipleResolveListener): this; - once(event: "worker", listener: WorkerListener): this; - once(event: string | symbol, listener: (...args: any[]) => void): this; - prependListener(event: "beforeExit", listener: BeforeExitListener): this; - prependListener(event: "disconnect", listener: DisconnectListener): this; - prependListener(event: "exit", listener: ExitListener): this; - prependListener(event: "rejectionHandled", listener: RejectionHandledListener): this; - prependListener(event: "uncaughtException", listener: UncaughtExceptionListener): this; - prependListener(event: "uncaughtExceptionMonitor", listener: UncaughtExceptionListener): this; - prependListener(event: "unhandledRejection", listener: UnhandledRejectionListener): this; - prependListener(event: "warning", listener: WarningListener): this; - prependListener(event: "message", listener: MessageListener): this; - prependListener(event: Signals, listener: SignalsListener): this; - prependListener(event: "multipleResolves", listener: MultipleResolveListener): this; - prependListener(event: "worker", listener: WorkerListener): this; - prependOnceListener(event: "beforeExit", listener: BeforeExitListener): this; - prependOnceListener(event: "disconnect", listener: DisconnectListener): this; - prependOnceListener(event: "exit", listener: ExitListener): this; - prependOnceListener(event: "rejectionHandled", listener: RejectionHandledListener): this; - prependOnceListener(event: "uncaughtException", listener: UncaughtExceptionListener): this; - prependOnceListener(event: "uncaughtExceptionMonitor", listener: UncaughtExceptionListener): this; - prependOnceListener(event: "unhandledRejection", listener: UnhandledRejectionListener): this; - prependOnceListener(event: "warning", listener: WarningListener): this; - prependOnceListener(event: "message", listener: MessageListener): this; - prependOnceListener(event: Signals, listener: SignalsListener): this; - prependOnceListener(event: "multipleResolves", listener: MultipleResolveListener): this; - prependOnceListener(event: "worker", listener: WorkerListener): this; - listeners(event: "beforeExit"): BeforeExitListener[]; - listeners(event: "disconnect"): DisconnectListener[]; - listeners(event: "exit"): ExitListener[]; - listeners(event: "rejectionHandled"): RejectionHandledListener[]; - listeners(event: "uncaughtException"): UncaughtExceptionListener[]; - listeners(event: "uncaughtExceptionMonitor"): UncaughtExceptionListener[]; - listeners(event: "unhandledRejection"): UnhandledRejectionListener[]; - listeners(event: "warning"): WarningListener[]; - listeners(event: "message"): MessageListener[]; - listeners(event: Signals): SignalsListener[]; - listeners(event: "multipleResolves"): MultipleResolveListener[]; - listeners(event: "worker"): WorkerListener[]; - } - } - } - export = process; -} -declare module "node:process" { - import process = require("process"); - export = process; -} diff --git a/node_modules/@types/node/punycode.d.ts b/node_modules/@types/node/punycode.d.ts deleted file mode 100644 index d2fc9f9..0000000 --- a/node_modules/@types/node/punycode.d.ts +++ /dev/null @@ -1,117 +0,0 @@ -/** - * **The version of the punycode module bundled in Node.js is being deprecated.**In a future major version of Node.js this module will be removed. Users - * currently depending on the `punycode` module should switch to using the - * userland-provided [Punycode.js](https://github.com/bestiejs/punycode.js) module instead. For punycode-based URL - * encoding, see `url.domainToASCII` or, more generally, the `WHATWG URL API`. - * - * The `punycode` module is a bundled version of the [Punycode.js](https://github.com/bestiejs/punycode.js) module. It - * can be accessed using: - * - * ```js - * const punycode = require('punycode'); - * ``` - * - * [Punycode](https://tools.ietf.org/html/rfc3492) is a character encoding scheme defined by RFC 3492 that is - * primarily intended for use in Internationalized Domain Names. Because host - * names in URLs are limited to ASCII characters only, Domain Names that contain - * non-ASCII characters must be converted into ASCII using the Punycode scheme. - * For instance, the Japanese character that translates into the English word,`'example'` is `'例'`. The Internationalized Domain Name, `'例.com'` (equivalent - * to `'example.com'`) is represented by Punycode as the ASCII string`'xn--fsq.com'`. - * - * The `punycode` module provides a simple implementation of the Punycode standard. - * - * The `punycode` module is a third-party dependency used by Node.js and - * made available to developers as a convenience. Fixes or other modifications to - * the module must be directed to the [Punycode.js](https://github.com/bestiejs/punycode.js) project. - * @deprecated Since v7.0.0 - Deprecated - * @see [source](https://github.com/nodejs/node/blob/v20.2.0/lib/punycode.js) - */ -declare module "punycode" { - /** - * The `punycode.decode()` method converts a [Punycode](https://tools.ietf.org/html/rfc3492) string of ASCII-only - * characters to the equivalent string of Unicode codepoints. - * - * ```js - * punycode.decode('maana-pta'); // 'mañana' - * punycode.decode('--dqo34k'); // '☃-⌘' - * ``` - * @since v0.5.1 - */ - function decode(string: string): string; - /** - * The `punycode.encode()` method converts a string of Unicode codepoints to a [Punycode](https://tools.ietf.org/html/rfc3492) string of ASCII-only characters. - * - * ```js - * punycode.encode('mañana'); // 'maana-pta' - * punycode.encode('☃-⌘'); // '--dqo34k' - * ``` - * @since v0.5.1 - */ - function encode(string: string): string; - /** - * The `punycode.toUnicode()` method converts a string representing a domain name - * containing [Punycode](https://tools.ietf.org/html/rfc3492) encoded characters into Unicode. Only the [Punycode](https://tools.ietf.org/html/rfc3492) encoded parts of the domain name are be - * converted. - * - * ```js - * // decode domain names - * punycode.toUnicode('xn--maana-pta.com'); // 'mañana.com' - * punycode.toUnicode('xn----dqo34k.com'); // '☃-⌘.com' - * punycode.toUnicode('example.com'); // 'example.com' - * ``` - * @since v0.6.1 - */ - function toUnicode(domain: string): string; - /** - * The `punycode.toASCII()` method converts a Unicode string representing an - * Internationalized Domain Name to [Punycode](https://tools.ietf.org/html/rfc3492). Only the non-ASCII parts of the - * domain name will be converted. Calling `punycode.toASCII()` on a string that - * already only contains ASCII characters will have no effect. - * - * ```js - * // encode domain names - * punycode.toASCII('mañana.com'); // 'xn--maana-pta.com' - * punycode.toASCII('☃-⌘.com'); // 'xn----dqo34k.com' - * punycode.toASCII('example.com'); // 'example.com' - * ``` - * @since v0.6.1 - */ - function toASCII(domain: string): string; - /** - * @deprecated since v7.0.0 - * The version of the punycode module bundled in Node.js is being deprecated. - * In a future major version of Node.js this module will be removed. - * Users currently depending on the punycode module should switch to using - * the userland-provided Punycode.js module instead. - */ - const ucs2: ucs2; - interface ucs2 { - /** - * @deprecated since v7.0.0 - * The version of the punycode module bundled in Node.js is being deprecated. - * In a future major version of Node.js this module will be removed. - * Users currently depending on the punycode module should switch to using - * the userland-provided Punycode.js module instead. - */ - decode(string: string): number[]; - /** - * @deprecated since v7.0.0 - * The version of the punycode module bundled in Node.js is being deprecated. - * In a future major version of Node.js this module will be removed. - * Users currently depending on the punycode module should switch to using - * the userland-provided Punycode.js module instead. - */ - encode(codePoints: readonly number[]): string; - } - /** - * @deprecated since v7.0.0 - * The version of the punycode module bundled in Node.js is being deprecated. - * In a future major version of Node.js this module will be removed. - * Users currently depending on the punycode module should switch to using - * the userland-provided Punycode.js module instead. - */ - const version: string; -} -declare module "node:punycode" { - export * from "punycode"; -} diff --git a/node_modules/@types/node/querystring.d.ts b/node_modules/@types/node/querystring.d.ts deleted file mode 100644 index b36ea2c..0000000 --- a/node_modules/@types/node/querystring.d.ts +++ /dev/null @@ -1,141 +0,0 @@ -/** - * The `node:querystring` module provides utilities for parsing and formatting URL - * query strings. It can be accessed using: - * - * ```js - * const querystring = require('node:querystring'); - * ``` - * - * `querystring` is more performant than `URLSearchParams` but is not a - * standardized API. Use `URLSearchParams` when performance is not critical or - * when compatibility with browser code is desirable. - * @see [source](https://github.com/nodejs/node/blob/v20.2.0/lib/querystring.js) - */ -declare module "querystring" { - interface StringifyOptions { - encodeURIComponent?: ((str: string) => string) | undefined; - } - interface ParseOptions { - maxKeys?: number | undefined; - decodeURIComponent?: ((str: string) => string) | undefined; - } - interface ParsedUrlQuery extends NodeJS.Dict {} - interface ParsedUrlQueryInput extends - NodeJS.Dict< - | string - | number - | boolean - | readonly string[] - | readonly number[] - | readonly boolean[] - | null - > - {} - /** - * The `querystring.stringify()` method produces a URL query string from a - * given `obj` by iterating through the object's "own properties". - * - * It serializes the following types of values passed in `obj`:[string](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#String_type) | - * [number](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Number_type) | - * [bigint](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/BigInt) | - * [boolean](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Boolean_type) | - * [string\[\]](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#String_type) | - * [number\[\]](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Number_type) | - * [bigint\[\]](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/BigInt) | - * [boolean\[\]](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Boolean_type) The numeric values must be finite. Any other input values will be coerced to - * empty strings. - * - * ```js - * querystring.stringify({ foo: 'bar', baz: ['qux', 'quux'], corge: '' }); - * // Returns 'foo=bar&baz=qux&baz=quux&corge=' - * - * querystring.stringify({ foo: 'bar', baz: 'qux' }, ';', ':'); - * // Returns 'foo:bar;baz:qux' - * ``` - * - * By default, characters requiring percent-encoding within the query string will - * be encoded as UTF-8\. If an alternative encoding is required, then an alternative`encodeURIComponent` option will need to be specified: - * - * ```js - * // Assuming gbkEncodeURIComponent function already exists, - * - * querystring.stringify({ w: '中文', foo: 'bar' }, null, null, - * { encodeURIComponent: gbkEncodeURIComponent }); - * ``` - * @since v0.1.25 - * @param obj The object to serialize into a URL query string - * @param [sep='&'] The substring used to delimit key and value pairs in the query string. - * @param [eq='='] . The substring used to delimit keys and values in the query string. - */ - function stringify(obj?: ParsedUrlQueryInput, sep?: string, eq?: string, options?: StringifyOptions): string; - /** - * The `querystring.parse()` method parses a URL query string (`str`) into a - * collection of key and value pairs. - * - * For example, the query string `'foo=bar&abc=xyz&abc=123'` is parsed into: - * - * ```json - * { - * "foo": "bar", - * "abc": ["xyz", "123"] - * } - * ``` - * - * The object returned by the `querystring.parse()` method _does not_prototypically inherit from the JavaScript `Object`. This means that typical`Object` methods such as `obj.toString()`, - * `obj.hasOwnProperty()`, and others - * are not defined and _will not work_. - * - * By default, percent-encoded characters within the query string will be assumed - * to use UTF-8 encoding. If an alternative character encoding is used, then an - * alternative `decodeURIComponent` option will need to be specified: - * - * ```js - * // Assuming gbkDecodeURIComponent function already exists... - * - * querystring.parse('w=%D6%D0%CE%C4&foo=bar', null, null, - * { decodeURIComponent: gbkDecodeURIComponent }); - * ``` - * @since v0.1.25 - * @param str The URL query string to parse - * @param [sep='&'] The substring used to delimit key and value pairs in the query string. - * @param [eq='='] . The substring used to delimit keys and values in the query string. - */ - function parse(str: string, sep?: string, eq?: string, options?: ParseOptions): ParsedUrlQuery; - /** - * The querystring.encode() function is an alias for querystring.stringify(). - */ - const encode: typeof stringify; - /** - * The querystring.decode() function is an alias for querystring.parse(). - */ - const decode: typeof parse; - /** - * The `querystring.escape()` method performs URL percent-encoding on the given`str` in a manner that is optimized for the specific requirements of URL - * query strings. - * - * The `querystring.escape()` method is used by `querystring.stringify()` and is - * generally not expected to be used directly. It is exported primarily to allow - * application code to provide a replacement percent-encoding implementation if - * necessary by assigning `querystring.escape` to an alternative function. - * @since v0.1.25 - */ - function escape(str: string): string; - /** - * The `querystring.unescape()` method performs decoding of URL percent-encoded - * characters on the given `str`. - * - * The `querystring.unescape()` method is used by `querystring.parse()` and is - * generally not expected to be used directly. It is exported primarily to allow - * application code to provide a replacement decoding implementation if - * necessary by assigning `querystring.unescape` to an alternative function. - * - * By default, the `querystring.unescape()` method will attempt to use the - * JavaScript built-in `decodeURIComponent()` method to decode. If that fails, - * a safer equivalent that does not throw on malformed URLs will be used. - * @since v0.1.25 - */ - function unescape(str: string): string; -} -declare module "node:querystring" { - export * from "querystring"; -} diff --git a/node_modules/@types/node/readline.d.ts b/node_modules/@types/node/readline.d.ts deleted file mode 100644 index b06d58b..0000000 --- a/node_modules/@types/node/readline.d.ts +++ /dev/null @@ -1,539 +0,0 @@ -/** - * The `node:readline` module provides an interface for reading data from a `Readable` stream (such as `process.stdin`) one line at a time. - * - * To use the promise-based APIs: - * - * ```js - * import * as readline from 'node:readline/promises'; - * ``` - * - * To use the callback and sync APIs: - * - * ```js - * import * as readline from 'node:readline'; - * ``` - * - * The following simple example illustrates the basic use of the `node:readline`module. - * - * ```js - * import * as readline from 'node:readline/promises'; - * import { stdin as input, stdout as output } from 'node:process'; - * - * const rl = readline.createInterface({ input, output }); - * - * const answer = await rl.question('What do you think of Node.js? '); - * - * console.log(`Thank you for your valuable feedback: ${answer}`); - * - * rl.close(); - * ``` - * - * Once this code is invoked, the Node.js application will not terminate until the`readline.Interface` is closed because the interface waits for data to be - * received on the `input` stream. - * @see [source](https://github.com/nodejs/node/blob/v20.2.0/lib/readline.js) - */ -declare module "readline" { - import { Abortable, EventEmitter } from "node:events"; - import * as promises from "node:readline/promises"; - export { promises }; - export interface Key { - sequence?: string | undefined; - name?: string | undefined; - ctrl?: boolean | undefined; - meta?: boolean | undefined; - shift?: boolean | undefined; - } - /** - * Instances of the `readline.Interface` class are constructed using the`readline.createInterface()` method. Every instance is associated with a - * single `input` `Readable` stream and a single `output` `Writable` stream. - * The `output` stream is used to print prompts for user input that arrives on, - * and is read from, the `input` stream. - * @since v0.1.104 - */ - export class Interface extends EventEmitter { - readonly terminal: boolean; - /** - * The current input data being processed by node. - * - * This can be used when collecting input from a TTY stream to retrieve the - * current value that has been processed thus far, prior to the `line` event - * being emitted. Once the `line` event has been emitted, this property will - * be an empty string. - * - * Be aware that modifying the value during the instance runtime may have - * unintended consequences if `rl.cursor` is not also controlled. - * - * **If not using a TTY stream for input, use the `'line'` event.** - * - * One possible use case would be as follows: - * - * ```js - * const values = ['lorem ipsum', 'dolor sit amet']; - * const rl = readline.createInterface(process.stdin); - * const showResults = debounce(() => { - * console.log( - * '\n', - * values.filter((val) => val.startsWith(rl.line)).join(' '), - * ); - * }, 300); - * process.stdin.on('keypress', (c, k) => { - * showResults(); - * }); - * ``` - * @since v0.1.98 - */ - readonly line: string; - /** - * The cursor position relative to `rl.line`. - * - * This will track where the current cursor lands in the input string, when - * reading input from a TTY stream. The position of cursor determines the - * portion of the input string that will be modified as input is processed, - * as well as the column where the terminal caret will be rendered. - * @since v0.1.98 - */ - readonly cursor: number; - /** - * NOTE: According to the documentation: - * - * > Instances of the `readline.Interface` class are constructed using the - * > `readline.createInterface()` method. - * - * @see https://nodejs.org/dist/latest-v20.x/docs/api/readline.html#class-interfaceconstructor - */ - protected constructor( - input: NodeJS.ReadableStream, - output?: NodeJS.WritableStream, - completer?: Completer | AsyncCompleter, - terminal?: boolean, - ); - /** - * NOTE: According to the documentation: - * - * > Instances of the `readline.Interface` class are constructed using the - * > `readline.createInterface()` method. - * - * @see https://nodejs.org/dist/latest-v20.x/docs/api/readline.html#class-interfaceconstructor - */ - protected constructor(options: ReadLineOptions); - /** - * The `rl.getPrompt()` method returns the current prompt used by `rl.prompt()`. - * @since v15.3.0, v14.17.0 - * @return the current prompt string - */ - getPrompt(): string; - /** - * The `rl.setPrompt()` method sets the prompt that will be written to `output`whenever `rl.prompt()` is called. - * @since v0.1.98 - */ - setPrompt(prompt: string): void; - /** - * The `rl.prompt()` method writes the `Interface` instances configured`prompt` to a new line in `output` in order to provide a user with a new - * location at which to provide input. - * - * When called, `rl.prompt()` will resume the `input` stream if it has been - * paused. - * - * If the `Interface` was created with `output` set to `null` or`undefined` the prompt is not written. - * @since v0.1.98 - * @param preserveCursor If `true`, prevents the cursor placement from being reset to `0`. - */ - prompt(preserveCursor?: boolean): void; - /** - * The `rl.question()` method displays the `query` by writing it to the `output`, - * waits for user input to be provided on `input`, then invokes the `callback`function passing the provided input as the first argument. - * - * When called, `rl.question()` will resume the `input` stream if it has been - * paused. - * - * If the `Interface` was created with `output` set to `null` or`undefined` the `query` is not written. - * - * The `callback` function passed to `rl.question()` does not follow the typical - * pattern of accepting an `Error` object or `null` as the first argument. - * The `callback` is called with the provided answer as the only argument. - * - * An error will be thrown if calling `rl.question()` after `rl.close()`. - * - * Example usage: - * - * ```js - * rl.question('What is your favorite food? ', (answer) => { - * console.log(`Oh, so your favorite food is ${answer}`); - * }); - * ``` - * - * Using an `AbortController` to cancel a question. - * - * ```js - * const ac = new AbortController(); - * const signal = ac.signal; - * - * rl.question('What is your favorite food? ', { signal }, (answer) => { - * console.log(`Oh, so your favorite food is ${answer}`); - * }); - * - * signal.addEventListener('abort', () => { - * console.log('The food question timed out'); - * }, { once: true }); - * - * setTimeout(() => ac.abort(), 10000); - * ``` - * @since v0.3.3 - * @param query A statement or query to write to `output`, prepended to the prompt. - * @param callback A callback function that is invoked with the user's input in response to the `query`. - */ - question(query: string, callback: (answer: string) => void): void; - question(query: string, options: Abortable, callback: (answer: string) => void): void; - /** - * The `rl.pause()` method pauses the `input` stream, allowing it to be resumed - * later if necessary. - * - * Calling `rl.pause()` does not immediately pause other events (including`'line'`) from being emitted by the `Interface` instance. - * @since v0.3.4 - */ - pause(): this; - /** - * The `rl.resume()` method resumes the `input` stream if it has been paused. - * @since v0.3.4 - */ - resume(): this; - /** - * The `rl.close()` method closes the `Interface` instance and - * relinquishes control over the `input` and `output` streams. When called, - * the `'close'` event will be emitted. - * - * Calling `rl.close()` does not immediately stop other events (including `'line'`) - * from being emitted by the `Interface` instance. - * @since v0.1.98 - */ - close(): void; - /** - * The `rl.write()` method will write either `data` or a key sequence identified - * by `key` to the `output`. The `key` argument is supported only if `output` is - * a `TTY` text terminal. See `TTY keybindings` for a list of key - * combinations. - * - * If `key` is specified, `data` is ignored. - * - * When called, `rl.write()` will resume the `input` stream if it has been - * paused. - * - * If the `Interface` was created with `output` set to `null` or`undefined` the `data` and `key` are not written. - * - * ```js - * rl.write('Delete this!'); - * // Simulate Ctrl+U to delete the line written previously - * rl.write(null, { ctrl: true, name: 'u' }); - * ``` - * - * The `rl.write()` method will write the data to the `readline` `Interface`'s`input`_as if it were provided by the user_. - * @since v0.1.98 - */ - write(data: string | Buffer, key?: Key): void; - write(data: undefined | null | string | Buffer, key: Key): void; - /** - * Returns the real position of the cursor in relation to the input - * prompt + string. Long input (wrapping) strings, as well as multiple - * line prompts are included in the calculations. - * @since v13.5.0, v12.16.0 - */ - getCursorPos(): CursorPos; - /** - * events.EventEmitter - * 1. close - * 2. line - * 3. pause - * 4. resume - * 5. SIGCONT - * 6. SIGINT - * 7. SIGTSTP - * 8. history - */ - addListener(event: string, listener: (...args: any[]) => void): this; - addListener(event: "close", listener: () => void): this; - addListener(event: "line", listener: (input: string) => void): this; - addListener(event: "pause", listener: () => void): this; - addListener(event: "resume", listener: () => void): this; - addListener(event: "SIGCONT", listener: () => void): this; - addListener(event: "SIGINT", listener: () => void): this; - addListener(event: "SIGTSTP", listener: () => void): this; - addListener(event: "history", listener: (history: string[]) => void): this; - emit(event: string | symbol, ...args: any[]): boolean; - emit(event: "close"): boolean; - emit(event: "line", input: string): boolean; - emit(event: "pause"): boolean; - emit(event: "resume"): boolean; - emit(event: "SIGCONT"): boolean; - emit(event: "SIGINT"): boolean; - emit(event: "SIGTSTP"): boolean; - emit(event: "history", history: string[]): boolean; - on(event: string, listener: (...args: any[]) => void): this; - on(event: "close", listener: () => void): this; - on(event: "line", listener: (input: string) => void): this; - on(event: "pause", listener: () => void): this; - on(event: "resume", listener: () => void): this; - on(event: "SIGCONT", listener: () => void): this; - on(event: "SIGINT", listener: () => void): this; - on(event: "SIGTSTP", listener: () => void): this; - on(event: "history", listener: (history: string[]) => void): this; - once(event: string, listener: (...args: any[]) => void): this; - once(event: "close", listener: () => void): this; - once(event: "line", listener: (input: string) => void): this; - once(event: "pause", listener: () => void): this; - once(event: "resume", listener: () => void): this; - once(event: "SIGCONT", listener: () => void): this; - once(event: "SIGINT", listener: () => void): this; - once(event: "SIGTSTP", listener: () => void): this; - once(event: "history", listener: (history: string[]) => void): this; - prependListener(event: string, listener: (...args: any[]) => void): this; - prependListener(event: "close", listener: () => void): this; - prependListener(event: "line", listener: (input: string) => void): this; - prependListener(event: "pause", listener: () => void): this; - prependListener(event: "resume", listener: () => void): this; - prependListener(event: "SIGCONT", listener: () => void): this; - prependListener(event: "SIGINT", listener: () => void): this; - prependListener(event: "SIGTSTP", listener: () => void): this; - prependListener(event: "history", listener: (history: string[]) => void): this; - prependOnceListener(event: string, listener: (...args: any[]) => void): this; - prependOnceListener(event: "close", listener: () => void): this; - prependOnceListener(event: "line", listener: (input: string) => void): this; - prependOnceListener(event: "pause", listener: () => void): this; - prependOnceListener(event: "resume", listener: () => void): this; - prependOnceListener(event: "SIGCONT", listener: () => void): this; - prependOnceListener(event: "SIGINT", listener: () => void): this; - prependOnceListener(event: "SIGTSTP", listener: () => void): this; - prependOnceListener(event: "history", listener: (history: string[]) => void): this; - [Symbol.asyncIterator](): AsyncIterableIterator; - } - export type ReadLine = Interface; // type forwarded for backwards compatibility - export type Completer = (line: string) => CompleterResult; - export type AsyncCompleter = ( - line: string, - callback: (err?: null | Error, result?: CompleterResult) => void, - ) => void; - export type CompleterResult = [string[], string]; - export interface ReadLineOptions { - input: NodeJS.ReadableStream; - output?: NodeJS.WritableStream | undefined; - completer?: Completer | AsyncCompleter | undefined; - terminal?: boolean | undefined; - /** - * Initial list of history lines. This option makes sense - * only if `terminal` is set to `true` by the user or by an internal `output` - * check, otherwise the history caching mechanism is not initialized at all. - * @default [] - */ - history?: string[] | undefined; - historySize?: number | undefined; - prompt?: string | undefined; - crlfDelay?: number | undefined; - /** - * If `true`, when a new input line added - * to the history list duplicates an older one, this removes the older line - * from the list. - * @default false - */ - removeHistoryDuplicates?: boolean | undefined; - escapeCodeTimeout?: number | undefined; - tabSize?: number | undefined; - } - /** - * The `readline.createInterface()` method creates a new `readline.Interface`instance. - * - * ```js - * const readline = require('node:readline'); - * const rl = readline.createInterface({ - * input: process.stdin, - * output: process.stdout, - * }); - * ``` - * - * Once the `readline.Interface` instance is created, the most common case is to - * listen for the `'line'` event: - * - * ```js - * rl.on('line', (line) => { - * console.log(`Received: ${line}`); - * }); - * ``` - * - * If `terminal` is `true` for this instance then the `output` stream will get - * the best compatibility if it defines an `output.columns` property and emits - * a `'resize'` event on the `output` if or when the columns ever change - * (`process.stdout` does this automatically when it is a TTY). - * - * When creating a `readline.Interface` using `stdin` as input, the program - * will not terminate until it receives an [EOF character](https://en.wikipedia.org/wiki/End-of-file#EOF_character). To exit without - * waiting for user input, call `process.stdin.unref()`. - * @since v0.1.98 - */ - export function createInterface( - input: NodeJS.ReadableStream, - output?: NodeJS.WritableStream, - completer?: Completer | AsyncCompleter, - terminal?: boolean, - ): Interface; - export function createInterface(options: ReadLineOptions): Interface; - /** - * The `readline.emitKeypressEvents()` method causes the given `Readable` stream to begin emitting `'keypress'` events corresponding to received input. - * - * Optionally, `interface` specifies a `readline.Interface` instance for which - * autocompletion is disabled when copy-pasted input is detected. - * - * If the `stream` is a `TTY`, then it must be in raw mode. - * - * This is automatically called by any readline instance on its `input` if the`input` is a terminal. Closing the `readline` instance does not stop - * the `input` from emitting `'keypress'` events. - * - * ```js - * readline.emitKeypressEvents(process.stdin); - * if (process.stdin.isTTY) - * process.stdin.setRawMode(true); - * ``` - * - * ## Example: Tiny CLI - * - * The following example illustrates the use of `readline.Interface` class to - * implement a small command-line interface: - * - * ```js - * const readline = require('node:readline'); - * const rl = readline.createInterface({ - * input: process.stdin, - * output: process.stdout, - * prompt: 'OHAI> ', - * }); - * - * rl.prompt(); - * - * rl.on('line', (line) => { - * switch (line.trim()) { - * case 'hello': - * console.log('world!'); - * break; - * default: - * console.log(`Say what? I might have heard '${line.trim()}'`); - * break; - * } - * rl.prompt(); - * }).on('close', () => { - * console.log('Have a great day!'); - * process.exit(0); - * }); - * ``` - * - * ## Example: Read file stream line-by-Line - * - * A common use case for `readline` is to consume an input file one line at a - * time. The easiest way to do so is leveraging the `fs.ReadStream` API as - * well as a `for await...of` loop: - * - * ```js - * const fs = require('node:fs'); - * const readline = require('node:readline'); - * - * async function processLineByLine() { - * const fileStream = fs.createReadStream('input.txt'); - * - * const rl = readline.createInterface({ - * input: fileStream, - * crlfDelay: Infinity, - * }); - * // Note: we use the crlfDelay option to recognize all instances of CR LF - * // ('\r\n') in input.txt as a single line break. - * - * for await (const line of rl) { - * // Each line in input.txt will be successively available here as `line`. - * console.log(`Line from file: ${line}`); - * } - * } - * - * processLineByLine(); - * ``` - * - * Alternatively, one could use the `'line'` event: - * - * ```js - * const fs = require('node:fs'); - * const readline = require('node:readline'); - * - * const rl = readline.createInterface({ - * input: fs.createReadStream('sample.txt'), - * crlfDelay: Infinity, - * }); - * - * rl.on('line', (line) => { - * console.log(`Line from file: ${line}`); - * }); - * ``` - * - * Currently, `for await...of` loop can be a bit slower. If `async` / `await`flow and speed are both essential, a mixed approach can be applied: - * - * ```js - * const { once } = require('node:events'); - * const { createReadStream } = require('node:fs'); - * const { createInterface } = require('node:readline'); - * - * (async function processLineByLine() { - * try { - * const rl = createInterface({ - * input: createReadStream('big-file.txt'), - * crlfDelay: Infinity, - * }); - * - * rl.on('line', (line) => { - * // Process the line. - * }); - * - * await once(rl, 'close'); - * - * console.log('File processed.'); - * } catch (err) { - * console.error(err); - * } - * })(); - * ``` - * @since v0.7.7 - */ - export function emitKeypressEvents(stream: NodeJS.ReadableStream, readlineInterface?: Interface): void; - export type Direction = -1 | 0 | 1; - export interface CursorPos { - rows: number; - cols: number; - } - /** - * The `readline.clearLine()` method clears current line of given `TTY` stream - * in a specified direction identified by `dir`. - * @since v0.7.7 - * @param callback Invoked once the operation completes. - * @return `false` if `stream` wishes for the calling code to wait for the `'drain'` event to be emitted before continuing to write additional data; otherwise `true`. - */ - export function clearLine(stream: NodeJS.WritableStream, dir: Direction, callback?: () => void): boolean; - /** - * The `readline.clearScreenDown()` method clears the given `TTY` stream from - * the current position of the cursor down. - * @since v0.7.7 - * @param callback Invoked once the operation completes. - * @return `false` if `stream` wishes for the calling code to wait for the `'drain'` event to be emitted before continuing to write additional data; otherwise `true`. - */ - export function clearScreenDown(stream: NodeJS.WritableStream, callback?: () => void): boolean; - /** - * The `readline.cursorTo()` method moves cursor to the specified position in a - * given `TTY` `stream`. - * @since v0.7.7 - * @param callback Invoked once the operation completes. - * @return `false` if `stream` wishes for the calling code to wait for the `'drain'` event to be emitted before continuing to write additional data; otherwise `true`. - */ - export function cursorTo(stream: NodeJS.WritableStream, x: number, y?: number, callback?: () => void): boolean; - /** - * The `readline.moveCursor()` method moves the cursor _relative_ to its current - * position in a given `TTY` `stream`. - * @since v0.7.7 - * @param callback Invoked once the operation completes. - * @return `false` if `stream` wishes for the calling code to wait for the `'drain'` event to be emitted before continuing to write additional data; otherwise `true`. - */ - export function moveCursor(stream: NodeJS.WritableStream, dx: number, dy: number, callback?: () => void): boolean; -} -declare module "node:readline" { - export * from "readline"; -} diff --git a/node_modules/@types/node/readline/promises.d.ts b/node_modules/@types/node/readline/promises.d.ts deleted file mode 100644 index 73fb111..0000000 --- a/node_modules/@types/node/readline/promises.d.ts +++ /dev/null @@ -1,150 +0,0 @@ -/** - * @since v17.0.0 - * @experimental - */ -declare module "readline/promises" { - import { AsyncCompleter, Completer, Direction, Interface as _Interface, ReadLineOptions } from "node:readline"; - import { Abortable } from "node:events"; - /** - * Instances of the `readlinePromises.Interface` class are constructed using the`readlinePromises.createInterface()` method. Every instance is associated with a - * single `input` `Readable` stream and a single `output` `Writable` stream. - * The `output` stream is used to print prompts for user input that arrives on, - * and is read from, the `input` stream. - * @since v17.0.0 - */ - class Interface extends _Interface { - /** - * The `rl.question()` method displays the `query` by writing it to the `output`, - * waits for user input to be provided on `input`, then invokes the `callback`function passing the provided input as the first argument. - * - * When called, `rl.question()` will resume the `input` stream if it has been - * paused. - * - * If the `Interface` was created with `output` set to `null` or`undefined` the `query` is not written. - * - * If the question is called after `rl.close()`, it returns a rejected promise. - * - * Example usage: - * - * ```js - * const answer = await rl.question('What is your favorite food? '); - * console.log(`Oh, so your favorite food is ${answer}`); - * ``` - * - * Using an `AbortSignal` to cancel a question. - * - * ```js - * const signal = AbortSignal.timeout(10_000); - * - * signal.addEventListener('abort', () => { - * console.log('The food question timed out'); - * }, { once: true }); - * - * const answer = await rl.question('What is your favorite food? ', { signal }); - * console.log(`Oh, so your favorite food is ${answer}`); - * ``` - * @since v17.0.0 - * @param query A statement or query to write to `output`, prepended to the prompt. - * @return A promise that is fulfilled with the user's input in response to the `query`. - */ - question(query: string): Promise; - question(query: string, options: Abortable): Promise; - } - /** - * @since v17.0.0 - */ - class Readline { - /** - * @param stream A TTY stream. - */ - constructor( - stream: NodeJS.WritableStream, - options?: { - autoCommit?: boolean; - }, - ); - /** - * The `rl.clearLine()` method adds to the internal list of pending action an - * action that clears current line of the associated `stream` in a specified - * direction identified by `dir`. - * Call `rl.commit()` to see the effect of this method, unless `autoCommit: true`was passed to the constructor. - * @since v17.0.0 - * @return this - */ - clearLine(dir: Direction): this; - /** - * The `rl.clearScreenDown()` method adds to the internal list of pending action an - * action that clears the associated stream from the current position of the - * cursor down. - * Call `rl.commit()` to see the effect of this method, unless `autoCommit: true`was passed to the constructor. - * @since v17.0.0 - * @return this - */ - clearScreenDown(): this; - /** - * The `rl.commit()` method sends all the pending actions to the associated`stream` and clears the internal list of pending actions. - * @since v17.0.0 - */ - commit(): Promise; - /** - * The `rl.cursorTo()` method adds to the internal list of pending action an action - * that moves cursor to the specified position in the associated `stream`. - * Call `rl.commit()` to see the effect of this method, unless `autoCommit: true`was passed to the constructor. - * @since v17.0.0 - * @return this - */ - cursorTo(x: number, y?: number): this; - /** - * The `rl.moveCursor()` method adds to the internal list of pending action an - * action that moves the cursor _relative_ to its current position in the - * associated `stream`. - * Call `rl.commit()` to see the effect of this method, unless `autoCommit: true`was passed to the constructor. - * @since v17.0.0 - * @return this - */ - moveCursor(dx: number, dy: number): this; - /** - * The `rl.rollback` methods clears the internal list of pending actions without - * sending it to the associated `stream`. - * @since v17.0.0 - * @return this - */ - rollback(): this; - } - /** - * The `readlinePromises.createInterface()` method creates a new `readlinePromises.Interface`instance. - * - * ```js - * const readlinePromises = require('node:readline/promises'); - * const rl = readlinePromises.createInterface({ - * input: process.stdin, - * output: process.stdout, - * }); - * ``` - * - * Once the `readlinePromises.Interface` instance is created, the most common case - * is to listen for the `'line'` event: - * - * ```js - * rl.on('line', (line) => { - * console.log(`Received: ${line}`); - * }); - * ``` - * - * If `terminal` is `true` for this instance then the `output` stream will get - * the best compatibility if it defines an `output.columns` property and emits - * a `'resize'` event on the `output` if or when the columns ever change - * (`process.stdout` does this automatically when it is a TTY). - * @since v17.0.0 - */ - function createInterface( - input: NodeJS.ReadableStream, - output?: NodeJS.WritableStream, - completer?: Completer | AsyncCompleter, - terminal?: boolean, - ): Interface; - function createInterface(options: ReadLineOptions): Interface; -} -declare module "node:readline/promises" { - export * from "readline/promises"; -} diff --git a/node_modules/@types/node/repl.d.ts b/node_modules/@types/node/repl.d.ts deleted file mode 100644 index 6c5f81b..0000000 --- a/node_modules/@types/node/repl.d.ts +++ /dev/null @@ -1,430 +0,0 @@ -/** - * The `node:repl` module provides a Read-Eval-Print-Loop (REPL) implementation - * that is available both as a standalone program or includible in other - * applications. It can be accessed using: - * - * ```js - * const repl = require('node:repl'); - * ``` - * @see [source](https://github.com/nodejs/node/blob/v20.2.0/lib/repl.js) - */ -declare module "repl" { - import { AsyncCompleter, Completer, Interface } from "node:readline"; - import { Context } from "node:vm"; - import { InspectOptions } from "node:util"; - interface ReplOptions { - /** - * The input prompt to display. - * @default "> " - */ - prompt?: string | undefined; - /** - * The `Readable` stream from which REPL input will be read. - * @default process.stdin - */ - input?: NodeJS.ReadableStream | undefined; - /** - * The `Writable` stream to which REPL output will be written. - * @default process.stdout - */ - output?: NodeJS.WritableStream | undefined; - /** - * If `true`, specifies that the output should be treated as a TTY terminal, and have - * ANSI/VT100 escape codes written to it. - * Default: checking the value of the `isTTY` property on the output stream upon - * instantiation. - */ - terminal?: boolean | undefined; - /** - * The function to be used when evaluating each given line of input. - * Default: an async wrapper for the JavaScript `eval()` function. An `eval` function can - * error with `repl.Recoverable` to indicate the input was incomplete and prompt for - * additional lines. - * - * @see https://nodejs.org/dist/latest-v20.x/docs/api/repl.html#repl_default_evaluation - * @see https://nodejs.org/dist/latest-v20.x/docs/api/repl.html#repl_custom_evaluation_functions - */ - eval?: REPLEval | undefined; - /** - * Defines if the repl prints output previews or not. - * @default `true` Always `false` in case `terminal` is falsy. - */ - preview?: boolean | undefined; - /** - * If `true`, specifies that the default `writer` function should include ANSI color - * styling to REPL output. If a custom `writer` function is provided then this has no - * effect. - * Default: the REPL instance's `terminal` value. - */ - useColors?: boolean | undefined; - /** - * If `true`, specifies that the default evaluation function will use the JavaScript - * `global` as the context as opposed to creating a new separate context for the REPL - * instance. The node CLI REPL sets this value to `true`. - * Default: `false`. - */ - useGlobal?: boolean | undefined; - /** - * If `true`, specifies that the default writer will not output the return value of a - * command if it evaluates to `undefined`. - * Default: `false`. - */ - ignoreUndefined?: boolean | undefined; - /** - * The function to invoke to format the output of each command before writing to `output`. - * Default: a wrapper for `util.inspect`. - * - * @see https://nodejs.org/dist/latest-v20.x/docs/api/repl.html#repl_customizing_repl_output - */ - writer?: REPLWriter | undefined; - /** - * An optional function used for custom Tab auto completion. - * - * @see https://nodejs.org/dist/latest-v20.x/docs/api/readline.html#readline_use_of_the_completer_function - */ - completer?: Completer | AsyncCompleter | undefined; - /** - * A flag that specifies whether the default evaluator executes all JavaScript commands in - * strict mode or default (sloppy) mode. - * Accepted values are: - * - `repl.REPL_MODE_SLOPPY` - evaluates expressions in sloppy mode. - * - `repl.REPL_MODE_STRICT` - evaluates expressions in strict mode. This is equivalent to - * prefacing every repl statement with `'use strict'`. - */ - replMode?: typeof REPL_MODE_SLOPPY | typeof REPL_MODE_STRICT | undefined; - /** - * Stop evaluating the current piece of code when `SIGINT` is received, i.e. `Ctrl+C` is - * pressed. This cannot be used together with a custom `eval` function. - * Default: `false`. - */ - breakEvalOnSigint?: boolean | undefined; - } - type REPLEval = ( - this: REPLServer, - evalCmd: string, - context: Context, - file: string, - cb: (err: Error | null, result: any) => void, - ) => void; - type REPLWriter = (this: REPLServer, obj: any) => string; - /** - * This is the default "writer" value, if none is passed in the REPL options, - * and it can be overridden by custom print functions. - */ - const writer: REPLWriter & { - options: InspectOptions; - }; - type REPLCommandAction = (this: REPLServer, text: string) => void; - interface REPLCommand { - /** - * Help text to be displayed when `.help` is entered. - */ - help?: string | undefined; - /** - * The function to execute, optionally accepting a single string argument. - */ - action: REPLCommandAction; - } - /** - * Instances of `repl.REPLServer` are created using the {@link start} method - * or directly using the JavaScript `new` keyword. - * - * ```js - * const repl = require('node:repl'); - * - * const options = { useColors: true }; - * - * const firstInstance = repl.start(options); - * const secondInstance = new repl.REPLServer(options); - * ``` - * @since v0.1.91 - */ - class REPLServer extends Interface { - /** - * The `vm.Context` provided to the `eval` function to be used for JavaScript - * evaluation. - */ - readonly context: Context; - /** - * @deprecated since v14.3.0 - Use `input` instead. - */ - readonly inputStream: NodeJS.ReadableStream; - /** - * @deprecated since v14.3.0 - Use `output` instead. - */ - readonly outputStream: NodeJS.WritableStream; - /** - * The `Readable` stream from which REPL input will be read. - */ - readonly input: NodeJS.ReadableStream; - /** - * The `Writable` stream to which REPL output will be written. - */ - readonly output: NodeJS.WritableStream; - /** - * The commands registered via `replServer.defineCommand()`. - */ - readonly commands: NodeJS.ReadOnlyDict; - /** - * A value indicating whether the REPL is currently in "editor mode". - * - * @see https://nodejs.org/dist/latest-v20.x/docs/api/repl.html#repl_commands_and_special_keys - */ - readonly editorMode: boolean; - /** - * A value indicating whether the `_` variable has been assigned. - * - * @see https://nodejs.org/dist/latest-v20.x/docs/api/repl.html#repl_assignment_of_the_underscore_variable - */ - readonly underscoreAssigned: boolean; - /** - * The last evaluation result from the REPL (assigned to the `_` variable inside of the REPL). - * - * @see https://nodejs.org/dist/latest-v20.x/docs/api/repl.html#repl_assignment_of_the_underscore_variable - */ - readonly last: any; - /** - * A value indicating whether the `_error` variable has been assigned. - * - * @since v9.8.0 - * @see https://nodejs.org/dist/latest-v20.x/docs/api/repl.html#repl_assignment_of_the_underscore_variable - */ - readonly underscoreErrAssigned: boolean; - /** - * The last error raised inside the REPL (assigned to the `_error` variable inside of the REPL). - * - * @since v9.8.0 - * @see https://nodejs.org/dist/latest-v20.x/docs/api/repl.html#repl_assignment_of_the_underscore_variable - */ - readonly lastError: any; - /** - * Specified in the REPL options, this is the function to be used when evaluating each - * given line of input. If not specified in the REPL options, this is an async wrapper - * for the JavaScript `eval()` function. - */ - readonly eval: REPLEval; - /** - * Specified in the REPL options, this is a value indicating whether the default - * `writer` function should include ANSI color styling to REPL output. - */ - readonly useColors: boolean; - /** - * Specified in the REPL options, this is a value indicating whether the default `eval` - * function will use the JavaScript `global` as the context as opposed to creating a new - * separate context for the REPL instance. - */ - readonly useGlobal: boolean; - /** - * Specified in the REPL options, this is a value indicating whether the default `writer` - * function should output the result of a command if it evaluates to `undefined`. - */ - readonly ignoreUndefined: boolean; - /** - * Specified in the REPL options, this is the function to invoke to format the output of - * each command before writing to `outputStream`. If not specified in the REPL options, - * this will be a wrapper for `util.inspect`. - */ - readonly writer: REPLWriter; - /** - * Specified in the REPL options, this is the function to use for custom Tab auto-completion. - */ - readonly completer: Completer | AsyncCompleter; - /** - * Specified in the REPL options, this is a flag that specifies whether the default `eval` - * function should execute all JavaScript commands in strict mode or default (sloppy) mode. - * Possible values are: - * - `repl.REPL_MODE_SLOPPY` - evaluates expressions in sloppy mode. - * - `repl.REPL_MODE_STRICT` - evaluates expressions in strict mode. This is equivalent to - * prefacing every repl statement with `'use strict'`. - */ - readonly replMode: typeof REPL_MODE_SLOPPY | typeof REPL_MODE_STRICT; - /** - * NOTE: According to the documentation: - * - * > Instances of `repl.REPLServer` are created using the `repl.start()` method and - * > _should not_ be created directly using the JavaScript `new` keyword. - * - * `REPLServer` cannot be subclassed due to implementation specifics in NodeJS. - * - * @see https://nodejs.org/dist/latest-v20.x/docs/api/repl.html#repl_class_replserver - */ - private constructor(); - /** - * The `replServer.defineCommand()` method is used to add new `.`\-prefixed commands - * to the REPL instance. Such commands are invoked by typing a `.` followed by the`keyword`. The `cmd` is either a `Function` or an `Object` with the following - * properties: - * - * The following example shows two new commands added to the REPL instance: - * - * ```js - * const repl = require('node:repl'); - * - * const replServer = repl.start({ prompt: '> ' }); - * replServer.defineCommand('sayhello', { - * help: 'Say hello', - * action(name) { - * this.clearBufferedCommand(); - * console.log(`Hello, ${name}!`); - * this.displayPrompt(); - * }, - * }); - * replServer.defineCommand('saybye', function saybye() { - * console.log('Goodbye!'); - * this.close(); - * }); - * ``` - * - * The new commands can then be used from within the REPL instance: - * - * ```console - * > .sayhello Node.js User - * Hello, Node.js User! - * > .saybye - * Goodbye! - * ``` - * @since v0.3.0 - * @param keyword The command keyword (_without_ a leading `.` character). - * @param cmd The function to invoke when the command is processed. - */ - defineCommand(keyword: string, cmd: REPLCommandAction | REPLCommand): void; - /** - * The `replServer.displayPrompt()` method readies the REPL instance for input - * from the user, printing the configured `prompt` to a new line in the `output`and resuming the `input` to accept new input. - * - * When multi-line input is being entered, an ellipsis is printed rather than the - * 'prompt'. - * - * When `preserveCursor` is `true`, the cursor placement will not be reset to `0`. - * - * The `replServer.displayPrompt` method is primarily intended to be called from - * within the action function for commands registered using the`replServer.defineCommand()` method. - * @since v0.1.91 - */ - displayPrompt(preserveCursor?: boolean): void; - /** - * The `replServer.clearBufferedCommand()` method clears any command that has been - * buffered but not yet executed. This method is primarily intended to be - * called from within the action function for commands registered using the`replServer.defineCommand()` method. - * @since v9.0.0 - */ - clearBufferedCommand(): void; - /** - * Initializes a history log file for the REPL instance. When executing the - * Node.js binary and using the command-line REPL, a history file is initialized - * by default. However, this is not the case when creating a REPL - * programmatically. Use this method to initialize a history log file when working - * with REPL instances programmatically. - * @since v11.10.0 - * @param historyPath the path to the history file - * @param callback called when history writes are ready or upon error - */ - setupHistory(path: string, callback: (err: Error | null, repl: this) => void): void; - /** - * events.EventEmitter - * 1. close - inherited from `readline.Interface` - * 2. line - inherited from `readline.Interface` - * 3. pause - inherited from `readline.Interface` - * 4. resume - inherited from `readline.Interface` - * 5. SIGCONT - inherited from `readline.Interface` - * 6. SIGINT - inherited from `readline.Interface` - * 7. SIGTSTP - inherited from `readline.Interface` - * 8. exit - * 9. reset - */ - addListener(event: string, listener: (...args: any[]) => void): this; - addListener(event: "close", listener: () => void): this; - addListener(event: "line", listener: (input: string) => void): this; - addListener(event: "pause", listener: () => void): this; - addListener(event: "resume", listener: () => void): this; - addListener(event: "SIGCONT", listener: () => void): this; - addListener(event: "SIGINT", listener: () => void): this; - addListener(event: "SIGTSTP", listener: () => void): this; - addListener(event: "exit", listener: () => void): this; - addListener(event: "reset", listener: (context: Context) => void): this; - emit(event: string | symbol, ...args: any[]): boolean; - emit(event: "close"): boolean; - emit(event: "line", input: string): boolean; - emit(event: "pause"): boolean; - emit(event: "resume"): boolean; - emit(event: "SIGCONT"): boolean; - emit(event: "SIGINT"): boolean; - emit(event: "SIGTSTP"): boolean; - emit(event: "exit"): boolean; - emit(event: "reset", context: Context): boolean; - on(event: string, listener: (...args: any[]) => void): this; - on(event: "close", listener: () => void): this; - on(event: "line", listener: (input: string) => void): this; - on(event: "pause", listener: () => void): this; - on(event: "resume", listener: () => void): this; - on(event: "SIGCONT", listener: () => void): this; - on(event: "SIGINT", listener: () => void): this; - on(event: "SIGTSTP", listener: () => void): this; - on(event: "exit", listener: () => void): this; - on(event: "reset", listener: (context: Context) => void): this; - once(event: string, listener: (...args: any[]) => void): this; - once(event: "close", listener: () => void): this; - once(event: "line", listener: (input: string) => void): this; - once(event: "pause", listener: () => void): this; - once(event: "resume", listener: () => void): this; - once(event: "SIGCONT", listener: () => void): this; - once(event: "SIGINT", listener: () => void): this; - once(event: "SIGTSTP", listener: () => void): this; - once(event: "exit", listener: () => void): this; - once(event: "reset", listener: (context: Context) => void): this; - prependListener(event: string, listener: (...args: any[]) => void): this; - prependListener(event: "close", listener: () => void): this; - prependListener(event: "line", listener: (input: string) => void): this; - prependListener(event: "pause", listener: () => void): this; - prependListener(event: "resume", listener: () => void): this; - prependListener(event: "SIGCONT", listener: () => void): this; - prependListener(event: "SIGINT", listener: () => void): this; - prependListener(event: "SIGTSTP", listener: () => void): this; - prependListener(event: "exit", listener: () => void): this; - prependListener(event: "reset", listener: (context: Context) => void): this; - prependOnceListener(event: string, listener: (...args: any[]) => void): this; - prependOnceListener(event: "close", listener: () => void): this; - prependOnceListener(event: "line", listener: (input: string) => void): this; - prependOnceListener(event: "pause", listener: () => void): this; - prependOnceListener(event: "resume", listener: () => void): this; - prependOnceListener(event: "SIGCONT", listener: () => void): this; - prependOnceListener(event: "SIGINT", listener: () => void): this; - prependOnceListener(event: "SIGTSTP", listener: () => void): this; - prependOnceListener(event: "exit", listener: () => void): this; - prependOnceListener(event: "reset", listener: (context: Context) => void): this; - } - /** - * A flag passed in the REPL options. Evaluates expressions in sloppy mode. - */ - const REPL_MODE_SLOPPY: unique symbol; - /** - * A flag passed in the REPL options. Evaluates expressions in strict mode. - * This is equivalent to prefacing every repl statement with `'use strict'`. - */ - const REPL_MODE_STRICT: unique symbol; - /** - * The `repl.start()` method creates and starts a {@link REPLServer} instance. - * - * If `options` is a string, then it specifies the input prompt: - * - * ```js - * const repl = require('node:repl'); - * - * // a Unix style prompt - * repl.start('$ '); - * ``` - * @since v0.1.91 - */ - function start(options?: string | ReplOptions): REPLServer; - /** - * Indicates a recoverable error that a `REPLServer` can use to support multi-line input. - * - * @see https://nodejs.org/dist/latest-v20.x/docs/api/repl.html#repl_recoverable_errors - */ - class Recoverable extends SyntaxError { - err: Error; - constructor(err: Error); - } -} -declare module "node:repl" { - export * from "repl"; -} diff --git a/node_modules/@types/node/stream.d.ts b/node_modules/@types/node/stream.d.ts deleted file mode 100644 index 947a019..0000000 --- a/node_modules/@types/node/stream.d.ts +++ /dev/null @@ -1,1701 +0,0 @@ -/** - * A stream is an abstract interface for working with streaming data in Node.js. - * The `node:stream` module provides an API for implementing the stream interface. - * - * There are many stream objects provided by Node.js. For instance, a `request to an HTTP server` and `process.stdout` are both stream instances. - * - * Streams can be readable, writable, or both. All streams are instances of `EventEmitter`. - * - * To access the `node:stream` module: - * - * ```js - * const stream = require('node:stream'); - * ``` - * - * The `node:stream` module is useful for creating new types of stream instances. - * It is usually not necessary to use the `node:stream` module to consume streams. - * @see [source](https://github.com/nodejs/node/blob/v20.2.0/lib/stream.js) - */ -declare module "stream" { - import { Abortable, EventEmitter } from "node:events"; - import { Blob as NodeBlob } from "node:buffer"; - import * as streamPromises from "node:stream/promises"; - import * as streamConsumers from "node:stream/consumers"; - import * as streamWeb from "node:stream/web"; - - type ComposeFnParam = (source: any) => void; - - class internal extends EventEmitter { - pipe( - destination: T, - options?: { - end?: boolean | undefined; - }, - ): T; - compose( - stream: T | ComposeFnParam | Iterable | AsyncIterable, - options?: { signal: AbortSignal }, - ): T; - } - import Stream = internal.Stream; - import Readable = internal.Readable; - import ReadableOptions = internal.ReadableOptions; - interface ArrayOptions { - /** the maximum concurrent invocations of `fn` to call on the stream at once. **Default: 1**. */ - concurrency?: number; - /** allows destroying the stream if the signal is aborted. */ - signal?: AbortSignal; - } - class ReadableBase extends Stream implements NodeJS.ReadableStream { - /** - * A utility method for creating Readable Streams out of iterators. - */ - static from(iterable: Iterable | AsyncIterable, options?: ReadableOptions): Readable; - /** - * Returns whether the stream has been read from or cancelled. - * @since v16.8.0 - */ - static isDisturbed(stream: Readable | NodeJS.ReadableStream): boolean; - /** - * Returns whether the stream was destroyed or errored before emitting `'end'`. - * @since v16.8.0 - * @experimental - */ - readonly readableAborted: boolean; - /** - * Is `true` if it is safe to call `readable.read()`, which means - * the stream has not been destroyed or emitted `'error'` or `'end'`. - * @since v11.4.0 - */ - readable: boolean; - /** - * Returns whether `'data'` has been emitted. - * @since v16.7.0, v14.18.0 - * @experimental - */ - readonly readableDidRead: boolean; - /** - * Getter for the property `encoding` of a given `Readable` stream. The `encoding`property can be set using the `readable.setEncoding()` method. - * @since v12.7.0 - */ - readonly readableEncoding: BufferEncoding | null; - /** - * Becomes `true` when `'end'` event is emitted. - * @since v12.9.0 - */ - readonly readableEnded: boolean; - /** - * This property reflects the current state of a `Readable` stream as described - * in the `Three states` section. - * @since v9.4.0 - */ - readonly readableFlowing: boolean | null; - /** - * Returns the value of `highWaterMark` passed when creating this `Readable`. - * @since v9.3.0 - */ - readonly readableHighWaterMark: number; - /** - * This property contains the number of bytes (or objects) in the queue - * ready to be read. The value provides introspection data regarding - * the status of the `highWaterMark`. - * @since v9.4.0 - */ - readonly readableLength: number; - /** - * Getter for the property `objectMode` of a given `Readable` stream. - * @since v12.3.0 - */ - readonly readableObjectMode: boolean; - /** - * Is `true` after `readable.destroy()` has been called. - * @since v8.0.0 - */ - destroyed: boolean; - /** - * Is `true` after `'close'` has been emitted. - * @since v18.0.0 - */ - readonly closed: boolean; - /** - * Returns error if the stream has been destroyed with an error. - * @since v18.0.0 - */ - readonly errored: Error | null; - constructor(opts?: ReadableOptions); - _construct?(callback: (error?: Error | null) => void): void; - _read(size: number): void; - /** - * The `readable.read()` method reads data out of the internal buffer and - * returns it. If no data is available to be read, `null` is returned. By default, - * the data is returned as a `Buffer` object unless an encoding has been - * specified using the `readable.setEncoding()` method or the stream is operating - * in object mode. - * - * The optional `size` argument specifies a specific number of bytes to read. If`size` bytes are not available to be read, `null` will be returned _unless_the stream has ended, in which - * case all of the data remaining in the internal - * buffer will be returned. - * - * If the `size` argument is not specified, all of the data contained in the - * internal buffer will be returned. - * - * The `size` argument must be less than or equal to 1 GiB. - * - * The `readable.read()` method should only be called on `Readable` streams - * operating in paused mode. In flowing mode, `readable.read()` is called - * automatically until the internal buffer is fully drained. - * - * ```js - * const readable = getReadableStreamSomehow(); - * - * // 'readable' may be triggered multiple times as data is buffered in - * readable.on('readable', () => { - * let chunk; - * console.log('Stream is readable (new data received in buffer)'); - * // Use a loop to make sure we read all currently available data - * while (null !== (chunk = readable.read())) { - * console.log(`Read ${chunk.length} bytes of data...`); - * } - * }); - * - * // 'end' will be triggered once when there is no more data available - * readable.on('end', () => { - * console.log('Reached end of stream.'); - * }); - * ``` - * - * Each call to `readable.read()` returns a chunk of data, or `null`. The chunks - * are not concatenated. A `while` loop is necessary to consume all data - * currently in the buffer. When reading a large file `.read()` may return `null`, - * having consumed all buffered content so far, but there is still more data to - * come not yet buffered. In this case a new `'readable'` event will be emitted - * when there is more data in the buffer. Finally the `'end'` event will be - * emitted when there is no more data to come. - * - * Therefore to read a file's whole contents from a `readable`, it is necessary - * to collect chunks across multiple `'readable'` events: - * - * ```js - * const chunks = []; - * - * readable.on('readable', () => { - * let chunk; - * while (null !== (chunk = readable.read())) { - * chunks.push(chunk); - * } - * }); - * - * readable.on('end', () => { - * const content = chunks.join(''); - * }); - * ``` - * - * A `Readable` stream in object mode will always return a single item from - * a call to `readable.read(size)`, regardless of the value of the`size` argument. - * - * If the `readable.read()` method returns a chunk of data, a `'data'` event will - * also be emitted. - * - * Calling {@link read} after the `'end'` event has - * been emitted will return `null`. No runtime error will be raised. - * @since v0.9.4 - * @param size Optional argument to specify how much data to read. - */ - read(size?: number): any; - /** - * The `readable.setEncoding()` method sets the character encoding for - * data read from the `Readable` stream. - * - * By default, no encoding is assigned and stream data will be returned as`Buffer` objects. Setting an encoding causes the stream data - * to be returned as strings of the specified encoding rather than as `Buffer`objects. For instance, calling `readable.setEncoding('utf8')` will cause the - * output data to be interpreted as UTF-8 data, and passed as strings. Calling`readable.setEncoding('hex')` will cause the data to be encoded in hexadecimal - * string format. - * - * The `Readable` stream will properly handle multi-byte characters delivered - * through the stream that would otherwise become improperly decoded if simply - * pulled from the stream as `Buffer` objects. - * - * ```js - * const readable = getReadableStreamSomehow(); - * readable.setEncoding('utf8'); - * readable.on('data', (chunk) => { - * assert.equal(typeof chunk, 'string'); - * console.log('Got %d characters of string data:', chunk.length); - * }); - * ``` - * @since v0.9.4 - * @param encoding The encoding to use. - */ - setEncoding(encoding: BufferEncoding): this; - /** - * The `readable.pause()` method will cause a stream in flowing mode to stop - * emitting `'data'` events, switching out of flowing mode. Any data that - * becomes available will remain in the internal buffer. - * - * ```js - * const readable = getReadableStreamSomehow(); - * readable.on('data', (chunk) => { - * console.log(`Received ${chunk.length} bytes of data.`); - * readable.pause(); - * console.log('There will be no additional data for 1 second.'); - * setTimeout(() => { - * console.log('Now data will start flowing again.'); - * readable.resume(); - * }, 1000); - * }); - * ``` - * - * The `readable.pause()` method has no effect if there is a `'readable'`event listener. - * @since v0.9.4 - */ - pause(): this; - /** - * The `readable.resume()` method causes an explicitly paused `Readable` stream to - * resume emitting `'data'` events, switching the stream into flowing mode. - * - * The `readable.resume()` method can be used to fully consume the data from a - * stream without actually processing any of that data: - * - * ```js - * getReadableStreamSomehow() - * .resume() - * .on('end', () => { - * console.log('Reached the end, but did not read anything.'); - * }); - * ``` - * - * The `readable.resume()` method has no effect if there is a `'readable'`event listener. - * @since v0.9.4 - */ - resume(): this; - /** - * The `readable.isPaused()` method returns the current operating state of the`Readable`. This is used primarily by the mechanism that underlies the`readable.pipe()` method. In most - * typical cases, there will be no reason to - * use this method directly. - * - * ```js - * const readable = new stream.Readable(); - * - * readable.isPaused(); // === false - * readable.pause(); - * readable.isPaused(); // === true - * readable.resume(); - * readable.isPaused(); // === false - * ``` - * @since v0.11.14 - */ - isPaused(): boolean; - /** - * The `readable.unpipe()` method detaches a `Writable` stream previously attached - * using the {@link pipe} method. - * - * If the `destination` is not specified, then _all_ pipes are detached. - * - * If the `destination` is specified, but no pipe is set up for it, then - * the method does nothing. - * - * ```js - * const fs = require('node:fs'); - * const readable = getReadableStreamSomehow(); - * const writable = fs.createWriteStream('file.txt'); - * // All the data from readable goes into 'file.txt', - * // but only for the first second. - * readable.pipe(writable); - * setTimeout(() => { - * console.log('Stop writing to file.txt.'); - * readable.unpipe(writable); - * console.log('Manually close the file stream.'); - * writable.end(); - * }, 1000); - * ``` - * @since v0.9.4 - * @param destination Optional specific stream to unpipe - */ - unpipe(destination?: NodeJS.WritableStream): this; - /** - * Passing `chunk` as `null` signals the end of the stream (EOF) and behaves the - * same as `readable.push(null)`, after which no more data can be written. The EOF - * signal is put at the end of the buffer and any buffered data will still be - * flushed. - * - * The `readable.unshift()` method pushes a chunk of data back into the internal - * buffer. This is useful in certain situations where a stream is being consumed by - * code that needs to "un-consume" some amount of data that it has optimistically - * pulled out of the source, so that the data can be passed on to some other party. - * - * The `stream.unshift(chunk)` method cannot be called after the `'end'` event - * has been emitted or a runtime error will be thrown. - * - * Developers using `stream.unshift()` often should consider switching to - * use of a `Transform` stream instead. See the `API for stream implementers` section for more information. - * - * ```js - * // Pull off a header delimited by \n\n. - * // Use unshift() if we get too much. - * // Call the callback with (error, header, stream). - * const { StringDecoder } = require('node:string_decoder'); - * function parseHeader(stream, callback) { - * stream.on('error', callback); - * stream.on('readable', onReadable); - * const decoder = new StringDecoder('utf8'); - * let header = ''; - * function onReadable() { - * let chunk; - * while (null !== (chunk = stream.read())) { - * const str = decoder.write(chunk); - * if (str.includes('\n\n')) { - * // Found the header boundary. - * const split = str.split(/\n\n/); - * header += split.shift(); - * const remaining = split.join('\n\n'); - * const buf = Buffer.from(remaining, 'utf8'); - * stream.removeListener('error', callback); - * // Remove the 'readable' listener before unshifting. - * stream.removeListener('readable', onReadable); - * if (buf.length) - * stream.unshift(buf); - * // Now the body of the message can be read from the stream. - * callback(null, header, stream); - * return; - * } - * // Still reading the header. - * header += str; - * } - * } - * } - * ``` - * - * Unlike {@link push}, `stream.unshift(chunk)` will not - * end the reading process by resetting the internal reading state of the stream. - * This can cause unexpected results if `readable.unshift()` is called during a - * read (i.e. from within a {@link _read} implementation on a - * custom stream). Following the call to `readable.unshift()` with an immediate {@link push} will reset the reading state appropriately, - * however it is best to simply avoid calling `readable.unshift()` while in the - * process of performing a read. - * @since v0.9.11 - * @param chunk Chunk of data to unshift onto the read queue. For streams not operating in object mode, `chunk` must be a string, `Buffer`, `Uint8Array`, or `null`. For object mode - * streams, `chunk` may be any JavaScript value. - * @param encoding Encoding of string chunks. Must be a valid `Buffer` encoding, such as `'utf8'` or `'ascii'`. - */ - unshift(chunk: any, encoding?: BufferEncoding): void; - /** - * Prior to Node.js 0.10, streams did not implement the entire `node:stream`module API as it is currently defined. (See `Compatibility` for more - * information.) - * - * When using an older Node.js library that emits `'data'` events and has a {@link pause} method that is advisory only, the`readable.wrap()` method can be used to create a `Readable` - * stream that uses - * the old stream as its data source. - * - * It will rarely be necessary to use `readable.wrap()` but the method has been - * provided as a convenience for interacting with older Node.js applications and - * libraries. - * - * ```js - * const { OldReader } = require('./old-api-module.js'); - * const { Readable } = require('node:stream'); - * const oreader = new OldReader(); - * const myReader = new Readable().wrap(oreader); - * - * myReader.on('readable', () => { - * myReader.read(); // etc. - * }); - * ``` - * @since v0.9.4 - * @param stream An "old style" readable stream - */ - wrap(stream: NodeJS.ReadableStream): this; - push(chunk: any, encoding?: BufferEncoding): boolean; - /** - * The iterator created by this method gives users the option to cancel the destruction - * of the stream if the `for await...of` loop is exited by `return`, `break`, or `throw`, - * or if the iterator should destroy the stream if the stream emitted an error during iteration. - * @since v16.3.0 - * @param options.destroyOnReturn When set to `false`, calling `return` on the async iterator, - * or exiting a `for await...of` iteration using a `break`, `return`, or `throw` will not destroy the stream. - * **Default: `true`**. - */ - iterator(options?: { destroyOnReturn?: boolean }): AsyncIterableIterator; - /** - * This method allows mapping over the stream. The *fn* function will be called for every chunk in the stream. - * If the *fn* function returns a promise - that promise will be `await`ed before being passed to the result stream. - * @since v17.4.0, v16.14.0 - * @param fn a function to map over every chunk in the stream. Async or not. - * @returns a stream mapped with the function *fn*. - */ - map(fn: (data: any, options?: Pick) => any, options?: ArrayOptions): Readable; - /** - * This method allows filtering the stream. For each chunk in the stream the *fn* function will be called - * and if it returns a truthy value, the chunk will be passed to the result stream. - * If the *fn* function returns a promise - that promise will be `await`ed. - * @since v17.4.0, v16.14.0 - * @param fn a function to filter chunks from the stream. Async or not. - * @returns a stream filtered with the predicate *fn*. - */ - filter( - fn: (data: any, options?: Pick) => boolean | Promise, - options?: ArrayOptions, - ): Readable; - /** - * This method allows iterating a stream. For each chunk in the stream the *fn* function will be called. - * If the *fn* function returns a promise - that promise will be `await`ed. - * - * This method is different from `for await...of` loops in that it can optionally process chunks concurrently. - * In addition, a `forEach` iteration can only be stopped by having passed a `signal` option - * and aborting the related AbortController while `for await...of` can be stopped with `break` or `return`. - * In either case the stream will be destroyed. - * - * This method is different from listening to the `'data'` event in that it uses the `readable` event - * in the underlying machinary and can limit the number of concurrent *fn* calls. - * @since v17.5.0 - * @param fn a function to call on each chunk of the stream. Async or not. - * @returns a promise for when the stream has finished. - */ - forEach( - fn: (data: any, options?: Pick) => void | Promise, - options?: ArrayOptions, - ): Promise; - /** - * This method allows easily obtaining the contents of a stream. - * - * As this method reads the entire stream into memory, it negates the benefits of streams. It's intended - * for interoperability and convenience, not as the primary way to consume streams. - * @since v17.5.0 - * @returns a promise containing an array with the contents of the stream. - */ - toArray(options?: Pick): Promise; - /** - * This method is similar to `Array.prototype.some` and calls *fn* on each chunk in the stream - * until the awaited return value is `true` (or any truthy value). Once an *fn* call on a chunk - * `await`ed return value is truthy, the stream is destroyed and the promise is fulfilled with `true`. - * If none of the *fn* calls on the chunks return a truthy value, the promise is fulfilled with `false`. - * @since v17.5.0 - * @param fn a function to call on each chunk of the stream. Async or not. - * @returns a promise evaluating to `true` if *fn* returned a truthy value for at least one of the chunks. - */ - some( - fn: (data: any, options?: Pick) => boolean | Promise, - options?: ArrayOptions, - ): Promise; - /** - * This method is similar to `Array.prototype.find` and calls *fn* on each chunk in the stream - * to find a chunk with a truthy value for *fn*. Once an *fn* call's awaited return value is truthy, - * the stream is destroyed and the promise is fulfilled with value for which *fn* returned a truthy value. - * If all of the *fn* calls on the chunks return a falsy value, the promise is fulfilled with `undefined`. - * @since v17.5.0 - * @param fn a function to call on each chunk of the stream. Async or not. - * @returns a promise evaluating to the first chunk for which *fn* evaluated with a truthy value, - * or `undefined` if no element was found. - */ - find( - fn: (data: any, options?: Pick) => data is T, - options?: ArrayOptions, - ): Promise; - find( - fn: (data: any, options?: Pick) => boolean | Promise, - options?: ArrayOptions, - ): Promise; - /** - * This method is similar to `Array.prototype.every` and calls *fn* on each chunk in the stream - * to check if all awaited return values are truthy value for *fn*. Once an *fn* call on a chunk - * `await`ed return value is falsy, the stream is destroyed and the promise is fulfilled with `false`. - * If all of the *fn* calls on the chunks return a truthy value, the promise is fulfilled with `true`. - * @since v17.5.0 - * @param fn a function to call on each chunk of the stream. Async or not. - * @returns a promise evaluating to `true` if *fn* returned a truthy value for every one of the chunks. - */ - every( - fn: (data: any, options?: Pick) => boolean | Promise, - options?: ArrayOptions, - ): Promise; - /** - * This method returns a new stream by applying the given callback to each chunk of the stream - * and then flattening the result. - * - * It is possible to return a stream or another iterable or async iterable from *fn* and the result streams - * will be merged (flattened) into the returned stream. - * @since v17.5.0 - * @param fn a function to map over every chunk in the stream. May be async. May be a stream or generator. - * @returns a stream flat-mapped with the function *fn*. - */ - flatMap(fn: (data: any, options?: Pick) => any, options?: ArrayOptions): Readable; - /** - * This method returns a new stream with the first *limit* chunks dropped from the start. - * @since v17.5.0 - * @param limit the number of chunks to drop from the readable. - * @returns a stream with *limit* chunks dropped from the start. - */ - drop(limit: number, options?: Pick): Readable; - /** - * This method returns a new stream with the first *limit* chunks. - * @since v17.5.0 - * @param limit the number of chunks to take from the readable. - * @returns a stream with *limit* chunks taken. - */ - take(limit: number, options?: Pick): Readable; - /** - * This method returns a new stream with chunks of the underlying stream paired with a counter - * in the form `[index, chunk]`. The first index value is `0` and it increases by 1 for each chunk produced. - * @since v17.5.0 - * @returns a stream of indexed pairs. - */ - asIndexedPairs(options?: Pick): Readable; - /** - * This method calls *fn* on each chunk of the stream in order, passing it the result from the calculation - * on the previous element. It returns a promise for the final value of the reduction. - * - * If no *initial* value is supplied the first chunk of the stream is used as the initial value. - * If the stream is empty, the promise is rejected with a `TypeError` with the `ERR_INVALID_ARGS` code property. - * - * The reducer function iterates the stream element-by-element which means that there is no *concurrency* parameter - * or parallelism. To perform a reduce concurrently, you can extract the async function to `readable.map` method. - * @since v17.5.0 - * @param fn a reducer function to call over every chunk in the stream. Async or not. - * @param initial the initial value to use in the reduction. - * @returns a promise for the final value of the reduction. - */ - reduce( - fn: (previous: any, data: any, options?: Pick) => T, - initial?: undefined, - options?: Pick, - ): Promise; - reduce( - fn: (previous: T, data: any, options?: Pick) => T, - initial: T, - options?: Pick, - ): Promise; - _destroy(error: Error | null, callback: (error?: Error | null) => void): void; - /** - * Destroy the stream. Optionally emit an `'error'` event, and emit a `'close'`event (unless `emitClose` is set to `false`). After this call, the readable - * stream will release any internal resources and subsequent calls to `push()`will be ignored. - * - * Once `destroy()` has been called any further calls will be a no-op and no - * further errors except from `_destroy()` may be emitted as `'error'`. - * - * Implementors should not override this method, but instead implement `readable._destroy()`. - * @since v8.0.0 - * @param error Error which will be passed as payload in `'error'` event - */ - destroy(error?: Error): this; - /** - * Event emitter - * The defined events on documents including: - * 1. close - * 2. data - * 3. end - * 4. error - * 5. pause - * 6. readable - * 7. resume - */ - addListener(event: "close", listener: () => void): this; - addListener(event: "data", listener: (chunk: any) => void): this; - addListener(event: "end", listener: () => void): this; - addListener(event: "error", listener: (err: Error) => void): this; - addListener(event: "pause", listener: () => void): this; - addListener(event: "readable", listener: () => void): this; - addListener(event: "resume", listener: () => void): this; - addListener(event: string | symbol, listener: (...args: any[]) => void): this; - emit(event: "close"): boolean; - emit(event: "data", chunk: any): boolean; - emit(event: "end"): boolean; - emit(event: "error", err: Error): boolean; - emit(event: "pause"): boolean; - emit(event: "readable"): boolean; - emit(event: "resume"): boolean; - emit(event: string | symbol, ...args: any[]): boolean; - on(event: "close", listener: () => void): this; - on(event: "data", listener: (chunk: any) => void): this; - on(event: "end", listener: () => void): this; - on(event: "error", listener: (err: Error) => void): this; - on(event: "pause", listener: () => void): this; - on(event: "readable", listener: () => void): this; - on(event: "resume", listener: () => void): this; - on(event: string | symbol, listener: (...args: any[]) => void): this; - once(event: "close", listener: () => void): this; - once(event: "data", listener: (chunk: any) => void): this; - once(event: "end", listener: () => void): this; - once(event: "error", listener: (err: Error) => void): this; - once(event: "pause", listener: () => void): this; - once(event: "readable", listener: () => void): this; - once(event: "resume", listener: () => void): this; - once(event: string | symbol, listener: (...args: any[]) => void): this; - prependListener(event: "close", listener: () => void): this; - prependListener(event: "data", listener: (chunk: any) => void): this; - prependListener(event: "end", listener: () => void): this; - prependListener(event: "error", listener: (err: Error) => void): this; - prependListener(event: "pause", listener: () => void): this; - prependListener(event: "readable", listener: () => void): this; - prependListener(event: "resume", listener: () => void): this; - prependListener(event: string | symbol, listener: (...args: any[]) => void): this; - prependOnceListener(event: "close", listener: () => void): this; - prependOnceListener(event: "data", listener: (chunk: any) => void): this; - prependOnceListener(event: "end", listener: () => void): this; - prependOnceListener(event: "error", listener: (err: Error) => void): this; - prependOnceListener(event: "pause", listener: () => void): this; - prependOnceListener(event: "readable", listener: () => void): this; - prependOnceListener(event: "resume", listener: () => void): this; - prependOnceListener(event: string | symbol, listener: (...args: any[]) => void): this; - removeListener(event: "close", listener: () => void): this; - removeListener(event: "data", listener: (chunk: any) => void): this; - removeListener(event: "end", listener: () => void): this; - removeListener(event: "error", listener: (err: Error) => void): this; - removeListener(event: "pause", listener: () => void): this; - removeListener(event: "readable", listener: () => void): this; - removeListener(event: "resume", listener: () => void): this; - removeListener(event: string | symbol, listener: (...args: any[]) => void): this; - [Symbol.asyncIterator](): AsyncIterableIterator; - /** - * Calls `readable.destroy()` with an `AbortError` and returns a promise that fulfills when the stream is finished. - * @since v20.4.0 - */ - [Symbol.asyncDispose](): Promise; - } - import WritableOptions = internal.WritableOptions; - class WritableBase extends Stream implements NodeJS.WritableStream { - /** - * Is `true` if it is safe to call `writable.write()`, which means - * the stream has not been destroyed, errored, or ended. - * @since v11.4.0 - */ - readonly writable: boolean; - /** - * Is `true` after `writable.end()` has been called. This property - * does not indicate whether the data has been flushed, for this use `writable.writableFinished` instead. - * @since v12.9.0 - */ - readonly writableEnded: boolean; - /** - * Is set to `true` immediately before the `'finish'` event is emitted. - * @since v12.6.0 - */ - readonly writableFinished: boolean; - /** - * Return the value of `highWaterMark` passed when creating this `Writable`. - * @since v9.3.0 - */ - readonly writableHighWaterMark: number; - /** - * This property contains the number of bytes (or objects) in the queue - * ready to be written. The value provides introspection data regarding - * the status of the `highWaterMark`. - * @since v9.4.0 - */ - readonly writableLength: number; - /** - * Getter for the property `objectMode` of a given `Writable` stream. - * @since v12.3.0 - */ - readonly writableObjectMode: boolean; - /** - * Number of times `writable.uncork()` needs to be - * called in order to fully uncork the stream. - * @since v13.2.0, v12.16.0 - */ - readonly writableCorked: number; - /** - * Is `true` after `writable.destroy()` has been called. - * @since v8.0.0 - */ - destroyed: boolean; - /** - * Is `true` after `'close'` has been emitted. - * @since v18.0.0 - */ - readonly closed: boolean; - /** - * Returns error if the stream has been destroyed with an error. - * @since v18.0.0 - */ - readonly errored: Error | null; - /** - * Is `true` if the stream's buffer has been full and stream will emit `'drain'`. - * @since v15.2.0, v14.17.0 - */ - readonly writableNeedDrain: boolean; - constructor(opts?: WritableOptions); - _write(chunk: any, encoding: BufferEncoding, callback: (error?: Error | null) => void): void; - _writev?( - chunks: Array<{ - chunk: any; - encoding: BufferEncoding; - }>, - callback: (error?: Error | null) => void, - ): void; - _construct?(callback: (error?: Error | null) => void): void; - _destroy(error: Error | null, callback: (error?: Error | null) => void): void; - _final(callback: (error?: Error | null) => void): void; - /** - * The `writable.write()` method writes some data to the stream, and calls the - * supplied `callback` once the data has been fully handled. If an error - * occurs, the `callback` will be called with the error as its - * first argument. The `callback` is called asynchronously and before `'error'` is - * emitted. - * - * The return value is `true` if the internal buffer is less than the`highWaterMark` configured when the stream was created after admitting `chunk`. - * If `false` is returned, further attempts to write data to the stream should - * stop until the `'drain'` event is emitted. - * - * While a stream is not draining, calls to `write()` will buffer `chunk`, and - * return false. Once all currently buffered chunks are drained (accepted for - * delivery by the operating system), the `'drain'` event will be emitted. - * Once `write()` returns false, do not write more chunks - * until the `'drain'` event is emitted. While calling `write()` on a stream that - * is not draining is allowed, Node.js will buffer all written chunks until - * maximum memory usage occurs, at which point it will abort unconditionally. - * Even before it aborts, high memory usage will cause poor garbage collector - * performance and high RSS (which is not typically released back to the system, - * even after the memory is no longer required). Since TCP sockets may never - * drain if the remote peer does not read the data, writing a socket that is - * not draining may lead to a remotely exploitable vulnerability. - * - * Writing data while the stream is not draining is particularly - * problematic for a `Transform`, because the `Transform` streams are paused - * by default until they are piped or a `'data'` or `'readable'` event handler - * is added. - * - * If the data to be written can be generated or fetched on demand, it is - * recommended to encapsulate the logic into a `Readable` and use {@link pipe}. However, if calling `write()` is preferred, it is - * possible to respect backpressure and avoid memory issues using the `'drain'` event: - * - * ```js - * function write(data, cb) { - * if (!stream.write(data)) { - * stream.once('drain', cb); - * } else { - * process.nextTick(cb); - * } - * } - * - * // Wait for cb to be called before doing any other write. - * write('hello', () => { - * console.log('Write completed, do more writes now.'); - * }); - * ``` - * - * A `Writable` stream in object mode will always ignore the `encoding` argument. - * @since v0.9.4 - * @param chunk Optional data to write. For streams not operating in object mode, `chunk` must be a string, `Buffer` or `Uint8Array`. For object mode streams, `chunk` may be any - * JavaScript value other than `null`. - * @param [encoding='utf8'] The encoding, if `chunk` is a string. - * @param callback Callback for when this chunk of data is flushed. - * @return `false` if the stream wishes for the calling code to wait for the `'drain'` event to be emitted before continuing to write additional data; otherwise `true`. - */ - write(chunk: any, callback?: (error: Error | null | undefined) => void): boolean; - write(chunk: any, encoding: BufferEncoding, callback?: (error: Error | null | undefined) => void): boolean; - /** - * The `writable.setDefaultEncoding()` method sets the default `encoding` for a `Writable` stream. - * @since v0.11.15 - * @param encoding The new default encoding - */ - setDefaultEncoding(encoding: BufferEncoding): this; - /** - * Calling the `writable.end()` method signals that no more data will be written - * to the `Writable`. The optional `chunk` and `encoding` arguments allow one - * final additional chunk of data to be written immediately before closing the - * stream. - * - * Calling the {@link write} method after calling {@link end} will raise an error. - * - * ```js - * // Write 'hello, ' and then end with 'world!'. - * const fs = require('node:fs'); - * const file = fs.createWriteStream('example.txt'); - * file.write('hello, '); - * file.end('world!'); - * // Writing more now is not allowed! - * ``` - * @since v0.9.4 - * @param chunk Optional data to write. For streams not operating in object mode, `chunk` must be a string, `Buffer` or `Uint8Array`. For object mode streams, `chunk` may be any - * JavaScript value other than `null`. - * @param encoding The encoding if `chunk` is a string - * @param callback Callback for when the stream is finished. - */ - end(cb?: () => void): this; - end(chunk: any, cb?: () => void): this; - end(chunk: any, encoding: BufferEncoding, cb?: () => void): this; - /** - * The `writable.cork()` method forces all written data to be buffered in memory. - * The buffered data will be flushed when either the {@link uncork} or {@link end} methods are called. - * - * The primary intent of `writable.cork()` is to accommodate a situation in which - * several small chunks are written to the stream in rapid succession. Instead of - * immediately forwarding them to the underlying destination, `writable.cork()`buffers all the chunks until `writable.uncork()` is called, which will pass them - * all to `writable._writev()`, if present. This prevents a head-of-line blocking - * situation where data is being buffered while waiting for the first small chunk - * to be processed. However, use of `writable.cork()` without implementing`writable._writev()` may have an adverse effect on throughput. - * - * See also: `writable.uncork()`, `writable._writev()`. - * @since v0.11.2 - */ - cork(): void; - /** - * The `writable.uncork()` method flushes all data buffered since {@link cork} was called. - * - * When using `writable.cork()` and `writable.uncork()` to manage the buffering - * of writes to a stream, defer calls to `writable.uncork()` using`process.nextTick()`. Doing so allows batching of all`writable.write()` calls that occur within a given Node.js event - * loop phase. - * - * ```js - * stream.cork(); - * stream.write('some '); - * stream.write('data '); - * process.nextTick(() => stream.uncork()); - * ``` - * - * If the `writable.cork()` method is called multiple times on a stream, the - * same number of calls to `writable.uncork()` must be called to flush the buffered - * data. - * - * ```js - * stream.cork(); - * stream.write('some '); - * stream.cork(); - * stream.write('data '); - * process.nextTick(() => { - * stream.uncork(); - * // The data will not be flushed until uncork() is called a second time. - * stream.uncork(); - * }); - * ``` - * - * See also: `writable.cork()`. - * @since v0.11.2 - */ - uncork(): void; - /** - * Destroy the stream. Optionally emit an `'error'` event, and emit a `'close'`event (unless `emitClose` is set to `false`). After this call, the writable - * stream has ended and subsequent calls to `write()` or `end()` will result in - * an `ERR_STREAM_DESTROYED` error. - * This is a destructive and immediate way to destroy a stream. Previous calls to`write()` may not have drained, and may trigger an `ERR_STREAM_DESTROYED` error. - * Use `end()` instead of destroy if data should flush before close, or wait for - * the `'drain'` event before destroying the stream. - * - * Once `destroy()` has been called any further calls will be a no-op and no - * further errors except from `_destroy()` may be emitted as `'error'`. - * - * Implementors should not override this method, - * but instead implement `writable._destroy()`. - * @since v8.0.0 - * @param error Optional, an error to emit with `'error'` event. - */ - destroy(error?: Error): this; - /** - * Event emitter - * The defined events on documents including: - * 1. close - * 2. drain - * 3. error - * 4. finish - * 5. pipe - * 6. unpipe - */ - addListener(event: "close", listener: () => void): this; - addListener(event: "drain", listener: () => void): this; - addListener(event: "error", listener: (err: Error) => void): this; - addListener(event: "finish", listener: () => void): this; - addListener(event: "pipe", listener: (src: Readable) => void): this; - addListener(event: "unpipe", listener: (src: Readable) => void): this; - addListener(event: string | symbol, listener: (...args: any[]) => void): this; - emit(event: "close"): boolean; - emit(event: "drain"): boolean; - emit(event: "error", err: Error): boolean; - emit(event: "finish"): boolean; - emit(event: "pipe", src: Readable): boolean; - emit(event: "unpipe", src: Readable): boolean; - emit(event: string | symbol, ...args: any[]): boolean; - on(event: "close", listener: () => void): this; - on(event: "drain", listener: () => void): this; - on(event: "error", listener: (err: Error) => void): this; - on(event: "finish", listener: () => void): this; - on(event: "pipe", listener: (src: Readable) => void): this; - on(event: "unpipe", listener: (src: Readable) => void): this; - on(event: string | symbol, listener: (...args: any[]) => void): this; - once(event: "close", listener: () => void): this; - once(event: "drain", listener: () => void): this; - once(event: "error", listener: (err: Error) => void): this; - once(event: "finish", listener: () => void): this; - once(event: "pipe", listener: (src: Readable) => void): this; - once(event: "unpipe", listener: (src: Readable) => void): this; - once(event: string | symbol, listener: (...args: any[]) => void): this; - prependListener(event: "close", listener: () => void): this; - prependListener(event: "drain", listener: () => void): this; - prependListener(event: "error", listener: (err: Error) => void): this; - prependListener(event: "finish", listener: () => void): this; - prependListener(event: "pipe", listener: (src: Readable) => void): this; - prependListener(event: "unpipe", listener: (src: Readable) => void): this; - prependListener(event: string | symbol, listener: (...args: any[]) => void): this; - prependOnceListener(event: "close", listener: () => void): this; - prependOnceListener(event: "drain", listener: () => void): this; - prependOnceListener(event: "error", listener: (err: Error) => void): this; - prependOnceListener(event: "finish", listener: () => void): this; - prependOnceListener(event: "pipe", listener: (src: Readable) => void): this; - prependOnceListener(event: "unpipe", listener: (src: Readable) => void): this; - prependOnceListener(event: string | symbol, listener: (...args: any[]) => void): this; - removeListener(event: "close", listener: () => void): this; - removeListener(event: "drain", listener: () => void): this; - removeListener(event: "error", listener: (err: Error) => void): this; - removeListener(event: "finish", listener: () => void): this; - removeListener(event: "pipe", listener: (src: Readable) => void): this; - removeListener(event: "unpipe", listener: (src: Readable) => void): this; - removeListener(event: string | symbol, listener: (...args: any[]) => void): this; - } - namespace internal { - class Stream extends internal { - constructor(opts?: ReadableOptions); - } - interface StreamOptions extends Abortable { - emitClose?: boolean | undefined; - highWaterMark?: number | undefined; - objectMode?: boolean | undefined; - construct?(this: T, callback: (error?: Error | null) => void): void; - destroy?(this: T, error: Error | null, callback: (error?: Error | null) => void): void; - autoDestroy?: boolean | undefined; - } - interface ReadableOptions extends StreamOptions { - encoding?: BufferEncoding | undefined; - read?(this: Readable, size: number): void; - } - /** - * @since v0.9.4 - */ - class Readable extends ReadableBase { - /** - * A utility method for creating a `Readable` from a web `ReadableStream`. - * @since v17.0.0 - * @experimental - */ - static fromWeb( - readableStream: streamWeb.ReadableStream, - options?: Pick, - ): Readable; - /** - * A utility method for creating a web `ReadableStream` from a `Readable`. - * @since v17.0.0 - * @experimental - */ - static toWeb(streamReadable: Readable): streamWeb.ReadableStream; - } - interface WritableOptions extends StreamOptions { - decodeStrings?: boolean | undefined; - defaultEncoding?: BufferEncoding | undefined; - write?( - this: Writable, - chunk: any, - encoding: BufferEncoding, - callback: (error?: Error | null) => void, - ): void; - writev?( - this: Writable, - chunks: Array<{ - chunk: any; - encoding: BufferEncoding; - }>, - callback: (error?: Error | null) => void, - ): void; - final?(this: Writable, callback: (error?: Error | null) => void): void; - } - /** - * @since v0.9.4 - */ - class Writable extends WritableBase { - /** - * A utility method for creating a `Writable` from a web `WritableStream`. - * @since v17.0.0 - * @experimental - */ - static fromWeb( - writableStream: streamWeb.WritableStream, - options?: Pick, - ): Writable; - /** - * A utility method for creating a web `WritableStream` from a `Writable`. - * @since v17.0.0 - * @experimental - */ - static toWeb(streamWritable: Writable): streamWeb.WritableStream; - } - interface DuplexOptions extends ReadableOptions, WritableOptions { - allowHalfOpen?: boolean | undefined; - readableObjectMode?: boolean | undefined; - writableObjectMode?: boolean | undefined; - readableHighWaterMark?: number | undefined; - writableHighWaterMark?: number | undefined; - writableCorked?: number | undefined; - construct?(this: Duplex, callback: (error?: Error | null) => void): void; - read?(this: Duplex, size: number): void; - write?(this: Duplex, chunk: any, encoding: BufferEncoding, callback: (error?: Error | null) => void): void; - writev?( - this: Duplex, - chunks: Array<{ - chunk: any; - encoding: BufferEncoding; - }>, - callback: (error?: Error | null) => void, - ): void; - final?(this: Duplex, callback: (error?: Error | null) => void): void; - destroy?(this: Duplex, error: Error | null, callback: (error?: Error | null) => void): void; - } - /** - * Duplex streams are streams that implement both the `Readable` and `Writable` interfaces. - * - * Examples of `Duplex` streams include: - * - * * `TCP sockets` - * * `zlib streams` - * * `crypto streams` - * @since v0.9.4 - */ - class Duplex extends ReadableBase implements WritableBase { - readonly writable: boolean; - readonly writableEnded: boolean; - readonly writableFinished: boolean; - readonly writableHighWaterMark: number; - readonly writableLength: number; - readonly writableObjectMode: boolean; - readonly writableCorked: number; - readonly writableNeedDrain: boolean; - readonly closed: boolean; - readonly errored: Error | null; - /** - * If `false` then the stream will automatically end the writable side when the - * readable side ends. Set initially by the `allowHalfOpen` constructor option, - * which defaults to `true`. - * - * This can be changed manually to change the half-open behavior of an existing`Duplex` stream instance, but must be changed before the `'end'` event is - * emitted. - * @since v0.9.4 - */ - allowHalfOpen: boolean; - constructor(opts?: DuplexOptions); - /** - * A utility method for creating duplex streams. - * - * - `Stream` converts writable stream into writable `Duplex` and readable stream - * to `Duplex`. - * - `Blob` converts into readable `Duplex`. - * - `string` converts into readable `Duplex`. - * - `ArrayBuffer` converts into readable `Duplex`. - * - `AsyncIterable` converts into a readable `Duplex`. Cannot yield `null`. - * - `AsyncGeneratorFunction` converts into a readable/writable transform - * `Duplex`. Must take a source `AsyncIterable` as first parameter. Cannot yield - * `null`. - * - `AsyncFunction` converts into a writable `Duplex`. Must return - * either `null` or `undefined` - * - `Object ({ writable, readable })` converts `readable` and - * `writable` into `Stream` and then combines them into `Duplex` where the - * `Duplex` will write to the `writable` and read from the `readable`. - * - `Promise` converts into readable `Duplex`. Value `null` is ignored. - * - * @since v16.8.0 - */ - static from( - src: - | Stream - | NodeBlob - | ArrayBuffer - | string - | Iterable - | AsyncIterable - | AsyncGeneratorFunction - | Promise - | Object, - ): Duplex; - _write(chunk: any, encoding: BufferEncoding, callback: (error?: Error | null) => void): void; - _writev?( - chunks: Array<{ - chunk: any; - encoding: BufferEncoding; - }>, - callback: (error?: Error | null) => void, - ): void; - _destroy(error: Error | null, callback: (error?: Error | null) => void): void; - _final(callback: (error?: Error | null) => void): void; - write(chunk: any, encoding?: BufferEncoding, cb?: (error: Error | null | undefined) => void): boolean; - write(chunk: any, cb?: (error: Error | null | undefined) => void): boolean; - setDefaultEncoding(encoding: BufferEncoding): this; - end(cb?: () => void): this; - end(chunk: any, cb?: () => void): this; - end(chunk: any, encoding?: BufferEncoding, cb?: () => void): this; - cork(): void; - uncork(): void; - /** - * A utility method for creating a web `ReadableStream` and `WritableStream` from a `Duplex`. - * @since v17.0.0 - * @experimental - */ - static toWeb(streamDuplex: Duplex): { - readable: streamWeb.ReadableStream; - writable: streamWeb.WritableStream; - }; - /** - * A utility method for creating a `Duplex` from a web `ReadableStream` and `WritableStream`. - * @since v17.0.0 - * @experimental - */ - static fromWeb( - duplexStream: { - readable: streamWeb.ReadableStream; - writable: streamWeb.WritableStream; - }, - options?: Pick< - DuplexOptions, - "allowHalfOpen" | "decodeStrings" | "encoding" | "highWaterMark" | "objectMode" | "signal" - >, - ): Duplex; - /** - * Event emitter - * The defined events on documents including: - * 1. close - * 2. data - * 3. drain - * 4. end - * 5. error - * 6. finish - * 7. pause - * 8. pipe - * 9. readable - * 10. resume - * 11. unpipe - */ - addListener(event: "close", listener: () => void): this; - addListener(event: "data", listener: (chunk: any) => void): this; - addListener(event: "drain", listener: () => void): this; - addListener(event: "end", listener: () => void): this; - addListener(event: "error", listener: (err: Error) => void): this; - addListener(event: "finish", listener: () => void): this; - addListener(event: "pause", listener: () => void): this; - addListener(event: "pipe", listener: (src: Readable) => void): this; - addListener(event: "readable", listener: () => void): this; - addListener(event: "resume", listener: () => void): this; - addListener(event: "unpipe", listener: (src: Readable) => void): this; - addListener(event: string | symbol, listener: (...args: any[]) => void): this; - emit(event: "close"): boolean; - emit(event: "data", chunk: any): boolean; - emit(event: "drain"): boolean; - emit(event: "end"): boolean; - emit(event: "error", err: Error): boolean; - emit(event: "finish"): boolean; - emit(event: "pause"): boolean; - emit(event: "pipe", src: Readable): boolean; - emit(event: "readable"): boolean; - emit(event: "resume"): boolean; - emit(event: "unpipe", src: Readable): boolean; - emit(event: string | symbol, ...args: any[]): boolean; - on(event: "close", listener: () => void): this; - on(event: "data", listener: (chunk: any) => void): this; - on(event: "drain", listener: () => void): this; - on(event: "end", listener: () => void): this; - on(event: "error", listener: (err: Error) => void): this; - on(event: "finish", listener: () => void): this; - on(event: "pause", listener: () => void): this; - on(event: "pipe", listener: (src: Readable) => void): this; - on(event: "readable", listener: () => void): this; - on(event: "resume", listener: () => void): this; - on(event: "unpipe", listener: (src: Readable) => void): this; - on(event: string | symbol, listener: (...args: any[]) => void): this; - once(event: "close", listener: () => void): this; - once(event: "data", listener: (chunk: any) => void): this; - once(event: "drain", listener: () => void): this; - once(event: "end", listener: () => void): this; - once(event: "error", listener: (err: Error) => void): this; - once(event: "finish", listener: () => void): this; - once(event: "pause", listener: () => void): this; - once(event: "pipe", listener: (src: Readable) => void): this; - once(event: "readable", listener: () => void): this; - once(event: "resume", listener: () => void): this; - once(event: "unpipe", listener: (src: Readable) => void): this; - once(event: string | symbol, listener: (...args: any[]) => void): this; - prependListener(event: "close", listener: () => void): this; - prependListener(event: "data", listener: (chunk: any) => void): this; - prependListener(event: "drain", listener: () => void): this; - prependListener(event: "end", listener: () => void): this; - prependListener(event: "error", listener: (err: Error) => void): this; - prependListener(event: "finish", listener: () => void): this; - prependListener(event: "pause", listener: () => void): this; - prependListener(event: "pipe", listener: (src: Readable) => void): this; - prependListener(event: "readable", listener: () => void): this; - prependListener(event: "resume", listener: () => void): this; - prependListener(event: "unpipe", listener: (src: Readable) => void): this; - prependListener(event: string | symbol, listener: (...args: any[]) => void): this; - prependOnceListener(event: "close", listener: () => void): this; - prependOnceListener(event: "data", listener: (chunk: any) => void): this; - prependOnceListener(event: "drain", listener: () => void): this; - prependOnceListener(event: "end", listener: () => void): this; - prependOnceListener(event: "error", listener: (err: Error) => void): this; - prependOnceListener(event: "finish", listener: () => void): this; - prependOnceListener(event: "pause", listener: () => void): this; - prependOnceListener(event: "pipe", listener: (src: Readable) => void): this; - prependOnceListener(event: "readable", listener: () => void): this; - prependOnceListener(event: "resume", listener: () => void): this; - prependOnceListener(event: "unpipe", listener: (src: Readable) => void): this; - prependOnceListener(event: string | symbol, listener: (...args: any[]) => void): this; - removeListener(event: "close", listener: () => void): this; - removeListener(event: "data", listener: (chunk: any) => void): this; - removeListener(event: "drain", listener: () => void): this; - removeListener(event: "end", listener: () => void): this; - removeListener(event: "error", listener: (err: Error) => void): this; - removeListener(event: "finish", listener: () => void): this; - removeListener(event: "pause", listener: () => void): this; - removeListener(event: "pipe", listener: (src: Readable) => void): this; - removeListener(event: "readable", listener: () => void): this; - removeListener(event: "resume", listener: () => void): this; - removeListener(event: "unpipe", listener: (src: Readable) => void): this; - removeListener(event: string | symbol, listener: (...args: any[]) => void): this; - } - type TransformCallback = (error?: Error | null, data?: any) => void; - interface TransformOptions extends DuplexOptions { - construct?(this: Transform, callback: (error?: Error | null) => void): void; - read?(this: Transform, size: number): void; - write?( - this: Transform, - chunk: any, - encoding: BufferEncoding, - callback: (error?: Error | null) => void, - ): void; - writev?( - this: Transform, - chunks: Array<{ - chunk: any; - encoding: BufferEncoding; - }>, - callback: (error?: Error | null) => void, - ): void; - final?(this: Transform, callback: (error?: Error | null) => void): void; - destroy?(this: Transform, error: Error | null, callback: (error?: Error | null) => void): void; - transform?(this: Transform, chunk: any, encoding: BufferEncoding, callback: TransformCallback): void; - flush?(this: Transform, callback: TransformCallback): void; - } - /** - * Transform streams are `Duplex` streams where the output is in some way - * related to the input. Like all `Duplex` streams, `Transform` streams - * implement both the `Readable` and `Writable` interfaces. - * - * Examples of `Transform` streams include: - * - * * `zlib streams` - * * `crypto streams` - * @since v0.9.4 - */ - class Transform extends Duplex { - constructor(opts?: TransformOptions); - _transform(chunk: any, encoding: BufferEncoding, callback: TransformCallback): void; - _flush(callback: TransformCallback): void; - } - /** - * The `stream.PassThrough` class is a trivial implementation of a `Transform` stream that simply passes the input bytes across to the output. Its purpose is - * primarily for examples and testing, but there are some use cases where`stream.PassThrough` is useful as a building block for novel sorts of streams. - */ - class PassThrough extends Transform {} - /** - * A stream to attach a signal to. - * - * Attaches an AbortSignal to a readable or writeable stream. This lets code - * control stream destruction using an `AbortController`. - * - * Calling `abort` on the `AbortController` corresponding to the passed`AbortSignal` will behave the same way as calling `.destroy(new AbortError())`on the stream, and `controller.error(new - * AbortError())` for webstreams. - * - * ```js - * const fs = require('node:fs'); - * - * const controller = new AbortController(); - * const read = addAbortSignal( - * controller.signal, - * fs.createReadStream(('object.json')), - * ); - * // Later, abort the operation closing the stream - * controller.abort(); - * ``` - * - * Or using an `AbortSignal` with a readable stream as an async iterable: - * - * ```js - * const controller = new AbortController(); - * setTimeout(() => controller.abort(), 10_000); // set a timeout - * const stream = addAbortSignal( - * controller.signal, - * fs.createReadStream(('object.json')), - * ); - * (async () => { - * try { - * for await (const chunk of stream) { - * await process(chunk); - * } - * } catch (e) { - * if (e.name === 'AbortError') { - * // The operation was cancelled - * } else { - * throw e; - * } - * } - * })(); - * ``` - * - * Or using an `AbortSignal` with a ReadableStream: - * - * ```js - * const controller = new AbortController(); - * const rs = new ReadableStream({ - * start(controller) { - * controller.enqueue('hello'); - * controller.enqueue('world'); - * controller.close(); - * }, - * }); - * - * addAbortSignal(controller.signal, rs); - * - * finished(rs, (err) => { - * if (err) { - * if (err.name === 'AbortError') { - * // The operation was cancelled - * } - * } - * }); - * - * const reader = rs.getReader(); - * - * reader.read().then(({ value, done }) => { - * console.log(value); // hello - * console.log(done); // false - * controller.abort(); - * }); - * ``` - * @since v15.4.0 - * @param signal A signal representing possible cancellation - * @param stream a stream to attach a signal to - */ - function addAbortSignal(signal: AbortSignal, stream: T): T; - /** - * Returns the default highWaterMark used by streams. - * Defaults to `16384` (16 KiB), or `16` for `objectMode`. - * @since v19.9.0 - * @param objectMode - */ - function getDefaultHighWaterMark(objectMode: boolean): number; - /** - * Sets the default highWaterMark used by streams. - * @since v19.9.0 - * @param objectMode - * @param value highWaterMark value - */ - function setDefaultHighWaterMark(objectMode: boolean, value: number): void; - interface FinishedOptions extends Abortable { - error?: boolean | undefined; - readable?: boolean | undefined; - writable?: boolean | undefined; - } - /** - * A readable and/or writable stream/webstream. - * - * A function to get notified when a stream is no longer readable, writable - * or has experienced an error or a premature close event. - * - * ```js - * const { finished } = require('node:stream'); - * const fs = require('node:fs'); - * - * const rs = fs.createReadStream('archive.tar'); - * - * finished(rs, (err) => { - * if (err) { - * console.error('Stream failed.', err); - * } else { - * console.log('Stream is done reading.'); - * } - * }); - * - * rs.resume(); // Drain the stream. - * ``` - * - * Especially useful in error handling scenarios where a stream is destroyed - * prematurely (like an aborted HTTP request), and will not emit `'end'`or `'finish'`. - * - * The `finished` API provides `promise version`. - * - * `stream.finished()` leaves dangling event listeners (in particular`'error'`, `'end'`, `'finish'` and `'close'`) after `callback` has been - * invoked. The reason for this is so that unexpected `'error'` events (due to - * incorrect stream implementations) do not cause unexpected crashes. - * If this is unwanted behavior then the returned cleanup function needs to be - * invoked in the callback: - * - * ```js - * const cleanup = finished(rs, (err) => { - * cleanup(); - * // ... - * }); - * ``` - * @since v10.0.0 - * @param stream A readable and/or writable stream. - * @param callback A callback function that takes an optional error argument. - * @return A cleanup function which removes all registered listeners. - */ - function finished( - stream: NodeJS.ReadableStream | NodeJS.WritableStream | NodeJS.ReadWriteStream, - options: FinishedOptions, - callback: (err?: NodeJS.ErrnoException | null) => void, - ): () => void; - function finished( - stream: NodeJS.ReadableStream | NodeJS.WritableStream | NodeJS.ReadWriteStream, - callback: (err?: NodeJS.ErrnoException | null) => void, - ): () => void; - namespace finished { - function __promisify__( - stream: NodeJS.ReadableStream | NodeJS.WritableStream | NodeJS.ReadWriteStream, - options?: FinishedOptions, - ): Promise; - } - type PipelineSourceFunction = () => Iterable | AsyncIterable; - type PipelineSource = Iterable | AsyncIterable | NodeJS.ReadableStream | PipelineSourceFunction; - type PipelineTransform, U> = - | NodeJS.ReadWriteStream - | (( - source: S extends (...args: any[]) => Iterable | AsyncIterable ? AsyncIterable - : S, - ) => AsyncIterable); - type PipelineTransformSource = PipelineSource | PipelineTransform; - type PipelineDestinationIterableFunction = (source: AsyncIterable) => AsyncIterable; - type PipelineDestinationPromiseFunction = (source: AsyncIterable) => Promise

; - type PipelineDestination, P> = S extends - PipelineTransformSource ? - | NodeJS.WritableStream - | PipelineDestinationIterableFunction - | PipelineDestinationPromiseFunction - : never; - type PipelineCallback> = S extends - PipelineDestinationPromiseFunction ? (err: NodeJS.ErrnoException | null, value: P) => void - : (err: NodeJS.ErrnoException | null) => void; - type PipelinePromise> = S extends - PipelineDestinationPromiseFunction ? Promise

: Promise; - interface PipelineOptions { - signal?: AbortSignal | undefined; - end?: boolean | undefined; - } - /** - * A module method to pipe between streams and generators forwarding errors and - * properly cleaning up and provide a callback when the pipeline is complete. - * - * ```js - * const { pipeline } = require('node:stream'); - * const fs = require('node:fs'); - * const zlib = require('node:zlib'); - * - * // Use the pipeline API to easily pipe a series of streams - * // together and get notified when the pipeline is fully done. - * - * // A pipeline to gzip a potentially huge tar file efficiently: - * - * pipeline( - * fs.createReadStream('archive.tar'), - * zlib.createGzip(), - * fs.createWriteStream('archive.tar.gz'), - * (err) => { - * if (err) { - * console.error('Pipeline failed.', err); - * } else { - * console.log('Pipeline succeeded.'); - * } - * }, - * ); - * ``` - * - * The `pipeline` API provides a `promise version`. - * - * `stream.pipeline()` will call `stream.destroy(err)` on all streams except: - * - * * `Readable` streams which have emitted `'end'` or `'close'`. - * * `Writable` streams which have emitted `'finish'` or `'close'`. - * - * `stream.pipeline()` leaves dangling event listeners on the streams - * after the `callback` has been invoked. In the case of reuse of streams after - * failure, this can cause event listener leaks and swallowed errors. If the last - * stream is readable, dangling event listeners will be removed so that the last - * stream can be consumed later. - * - * `stream.pipeline()` closes all the streams when an error is raised. - * The `IncomingRequest` usage with `pipeline` could lead to an unexpected behavior - * once it would destroy the socket without sending the expected response. - * See the example below: - * - * ```js - * const fs = require('node:fs'); - * const http = require('node:http'); - * const { pipeline } = require('node:stream'); - * - * const server = http.createServer((req, res) => { - * const fileStream = fs.createReadStream('./fileNotExist.txt'); - * pipeline(fileStream, res, (err) => { - * if (err) { - * console.log(err); // No such file - * // this message can't be sent once `pipeline` already destroyed the socket - * return res.end('error!!!'); - * } - * }); - * }); - * ``` - * @since v10.0.0 - * @param callback Called when the pipeline is fully done. - */ - function pipeline, B extends PipelineDestination>( - source: A, - destination: B, - callback?: PipelineCallback, - ): B extends NodeJS.WritableStream ? B : NodeJS.WritableStream; - function pipeline< - A extends PipelineSource, - T1 extends PipelineTransform, - B extends PipelineDestination, - >( - source: A, - transform1: T1, - destination: B, - callback?: PipelineCallback, - ): B extends NodeJS.WritableStream ? B : NodeJS.WritableStream; - function pipeline< - A extends PipelineSource, - T1 extends PipelineTransform, - T2 extends PipelineTransform, - B extends PipelineDestination, - >( - source: A, - transform1: T1, - transform2: T2, - destination: B, - callback?: PipelineCallback, - ): B extends NodeJS.WritableStream ? B : NodeJS.WritableStream; - function pipeline< - A extends PipelineSource, - T1 extends PipelineTransform, - T2 extends PipelineTransform, - T3 extends PipelineTransform, - B extends PipelineDestination, - >( - source: A, - transform1: T1, - transform2: T2, - transform3: T3, - destination: B, - callback?: PipelineCallback, - ): B extends NodeJS.WritableStream ? B : NodeJS.WritableStream; - function pipeline< - A extends PipelineSource, - T1 extends PipelineTransform, - T2 extends PipelineTransform, - T3 extends PipelineTransform, - T4 extends PipelineTransform, - B extends PipelineDestination, - >( - source: A, - transform1: T1, - transform2: T2, - transform3: T3, - transform4: T4, - destination: B, - callback?: PipelineCallback, - ): B extends NodeJS.WritableStream ? B : NodeJS.WritableStream; - function pipeline( - streams: ReadonlyArray, - callback?: (err: NodeJS.ErrnoException | null) => void, - ): NodeJS.WritableStream; - function pipeline( - stream1: NodeJS.ReadableStream, - stream2: NodeJS.ReadWriteStream | NodeJS.WritableStream, - ...streams: Array< - NodeJS.ReadWriteStream | NodeJS.WritableStream | ((err: NodeJS.ErrnoException | null) => void) - > - ): NodeJS.WritableStream; - namespace pipeline { - function __promisify__, B extends PipelineDestination>( - source: A, - destination: B, - options?: PipelineOptions, - ): PipelinePromise; - function __promisify__< - A extends PipelineSource, - T1 extends PipelineTransform, - B extends PipelineDestination, - >( - source: A, - transform1: T1, - destination: B, - options?: PipelineOptions, - ): PipelinePromise; - function __promisify__< - A extends PipelineSource, - T1 extends PipelineTransform, - T2 extends PipelineTransform, - B extends PipelineDestination, - >( - source: A, - transform1: T1, - transform2: T2, - destination: B, - options?: PipelineOptions, - ): PipelinePromise; - function __promisify__< - A extends PipelineSource, - T1 extends PipelineTransform, - T2 extends PipelineTransform, - T3 extends PipelineTransform, - B extends PipelineDestination, - >( - source: A, - transform1: T1, - transform2: T2, - transform3: T3, - destination: B, - options?: PipelineOptions, - ): PipelinePromise; - function __promisify__< - A extends PipelineSource, - T1 extends PipelineTransform, - T2 extends PipelineTransform, - T3 extends PipelineTransform, - T4 extends PipelineTransform, - B extends PipelineDestination, - >( - source: A, - transform1: T1, - transform2: T2, - transform3: T3, - transform4: T4, - destination: B, - options?: PipelineOptions, - ): PipelinePromise; - function __promisify__( - streams: ReadonlyArray, - options?: PipelineOptions, - ): Promise; - function __promisify__( - stream1: NodeJS.ReadableStream, - stream2: NodeJS.ReadWriteStream | NodeJS.WritableStream, - ...streams: Array - ): Promise; - } - interface Pipe { - close(): void; - hasRef(): boolean; - ref(): void; - unref(): void; - } - /** - * Returns whether the stream has encountered an error. - * @since v17.3.0, v16.14.0 - * @experimental - */ - function isErrored(stream: Readable | Writable | NodeJS.ReadableStream | NodeJS.WritableStream): boolean; - /** - * Returns whether the stream is readable. - * @since v17.4.0, v16.14.0 - * @experimental - */ - function isReadable(stream: Readable | NodeJS.ReadableStream): boolean; - const promises: typeof streamPromises; - const consumers: typeof streamConsumers; - } - export = internal; -} -declare module "node:stream" { - import stream = require("stream"); - export = stream; -} diff --git a/node_modules/@types/node/stream/consumers.d.ts b/node_modules/@types/node/stream/consumers.d.ts deleted file mode 100644 index 5ad9cba..0000000 --- a/node_modules/@types/node/stream/consumers.d.ts +++ /dev/null @@ -1,12 +0,0 @@ -declare module "stream/consumers" { - import { Blob as NodeBlob } from "node:buffer"; - import { Readable } from "node:stream"; - function buffer(stream: NodeJS.ReadableStream | Readable | AsyncIterable): Promise; - function text(stream: NodeJS.ReadableStream | Readable | AsyncIterable): Promise; - function arrayBuffer(stream: NodeJS.ReadableStream | Readable | AsyncIterable): Promise; - function blob(stream: NodeJS.ReadableStream | Readable | AsyncIterable): Promise; - function json(stream: NodeJS.ReadableStream | Readable | AsyncIterable): Promise; -} -declare module "node:stream/consumers" { - export * from "stream/consumers"; -} diff --git a/node_modules/@types/node/stream/promises.d.ts b/node_modules/@types/node/stream/promises.d.ts deleted file mode 100644 index 6eac5b7..0000000 --- a/node_modules/@types/node/stream/promises.d.ts +++ /dev/null @@ -1,83 +0,0 @@ -declare module "stream/promises" { - import { - FinishedOptions, - PipelineDestination, - PipelineOptions, - PipelinePromise, - PipelineSource, - PipelineTransform, - } from "node:stream"; - function finished( - stream: NodeJS.ReadableStream | NodeJS.WritableStream | NodeJS.ReadWriteStream, - options?: FinishedOptions, - ): Promise; - function pipeline, B extends PipelineDestination>( - source: A, - destination: B, - options?: PipelineOptions, - ): PipelinePromise; - function pipeline< - A extends PipelineSource, - T1 extends PipelineTransform, - B extends PipelineDestination, - >( - source: A, - transform1: T1, - destination: B, - options?: PipelineOptions, - ): PipelinePromise; - function pipeline< - A extends PipelineSource, - T1 extends PipelineTransform, - T2 extends PipelineTransform, - B extends PipelineDestination, - >( - source: A, - transform1: T1, - transform2: T2, - destination: B, - options?: PipelineOptions, - ): PipelinePromise; - function pipeline< - A extends PipelineSource, - T1 extends PipelineTransform, - T2 extends PipelineTransform, - T3 extends PipelineTransform, - B extends PipelineDestination, - >( - source: A, - transform1: T1, - transform2: T2, - transform3: T3, - destination: B, - options?: PipelineOptions, - ): PipelinePromise; - function pipeline< - A extends PipelineSource, - T1 extends PipelineTransform, - T2 extends PipelineTransform, - T3 extends PipelineTransform, - T4 extends PipelineTransform, - B extends PipelineDestination, - >( - source: A, - transform1: T1, - transform2: T2, - transform3: T3, - transform4: T4, - destination: B, - options?: PipelineOptions, - ): PipelinePromise; - function pipeline( - streams: ReadonlyArray, - options?: PipelineOptions, - ): Promise; - function pipeline( - stream1: NodeJS.ReadableStream, - stream2: NodeJS.ReadWriteStream | NodeJS.WritableStream, - ...streams: Array - ): Promise; -} -declare module "node:stream/promises" { - export * from "stream/promises"; -} diff --git a/node_modules/@types/node/stream/web.d.ts b/node_modules/@types/node/stream/web.d.ts deleted file mode 100644 index 361594d..0000000 --- a/node_modules/@types/node/stream/web.d.ts +++ /dev/null @@ -1,366 +0,0 @@ -declare module "stream/web" { - // stub module, pending copy&paste from .d.ts or manual impl - // copy from lib.dom.d.ts - interface ReadableWritablePair { - readable: ReadableStream; - /** - * Provides a convenient, chainable way of piping this readable stream - * through a transform stream (or any other { writable, readable } - * pair). It simply pipes the stream into the writable side of the - * supplied pair, and returns the readable side for further use. - * - * Piping a stream will lock it for the duration of the pipe, preventing - * any other consumer from acquiring a reader. - */ - writable: WritableStream; - } - interface StreamPipeOptions { - preventAbort?: boolean; - preventCancel?: boolean; - /** - * Pipes this readable stream to a given writable stream destination. - * The way in which the piping process behaves under various error - * conditions can be customized with a number of passed options. It - * returns a promise that fulfills when the piping process completes - * successfully, or rejects if any errors were encountered. - * - * Piping a stream will lock it for the duration of the pipe, preventing - * any other consumer from acquiring a reader. - * - * Errors and closures of the source and destination streams propagate - * as follows: - * - * An error in this source readable stream will abort destination, - * unless preventAbort is truthy. The returned promise will be rejected - * with the source's error, or with any error that occurs during - * aborting the destination. - * - * An error in destination will cancel this source readable stream, - * unless preventCancel is truthy. The returned promise will be rejected - * with the destination's error, or with any error that occurs during - * canceling the source. - * - * When this source readable stream closes, destination will be closed, - * unless preventClose is truthy. The returned promise will be fulfilled - * once this process completes, unless an error is encountered while - * closing the destination, in which case it will be rejected with that - * error. - * - * If destination starts out closed or closing, this source readable - * stream will be canceled, unless preventCancel is true. The returned - * promise will be rejected with an error indicating piping to a closed - * stream failed, or with any error that occurs during canceling the - * source. - * - * The signal option can be set to an AbortSignal to allow aborting an - * ongoing pipe operation via the corresponding AbortController. In this - * case, this source readable stream will be canceled, and destination - * aborted, unless the respective options preventCancel or preventAbort - * are set. - */ - preventClose?: boolean; - signal?: AbortSignal; - } - interface ReadableStreamGenericReader { - readonly closed: Promise; - cancel(reason?: any): Promise; - } - interface ReadableStreamDefaultReadValueResult { - done: false; - value: T; - } - interface ReadableStreamDefaultReadDoneResult { - done: true; - value?: undefined; - } - type ReadableStreamController = ReadableStreamDefaultController; - type ReadableStreamDefaultReadResult = - | ReadableStreamDefaultReadValueResult - | ReadableStreamDefaultReadDoneResult; - interface ReadableStreamReadValueResult { - done: false; - value: T; - } - interface ReadableStreamReadDoneResult { - done: true; - value?: T; - } - type ReadableStreamReadResult = ReadableStreamReadValueResult | ReadableStreamReadDoneResult; - interface ReadableByteStreamControllerCallback { - (controller: ReadableByteStreamController): void | PromiseLike; - } - interface UnderlyingSinkAbortCallback { - (reason?: any): void | PromiseLike; - } - interface UnderlyingSinkCloseCallback { - (): void | PromiseLike; - } - interface UnderlyingSinkStartCallback { - (controller: WritableStreamDefaultController): any; - } - interface UnderlyingSinkWriteCallback { - (chunk: W, controller: WritableStreamDefaultController): void | PromiseLike; - } - interface UnderlyingSourceCancelCallback { - (reason?: any): void | PromiseLike; - } - interface UnderlyingSourcePullCallback { - (controller: ReadableStreamController): void | PromiseLike; - } - interface UnderlyingSourceStartCallback { - (controller: ReadableStreamController): any; - } - interface TransformerFlushCallback { - (controller: TransformStreamDefaultController): void | PromiseLike; - } - interface TransformerStartCallback { - (controller: TransformStreamDefaultController): any; - } - interface TransformerTransformCallback { - (chunk: I, controller: TransformStreamDefaultController): void | PromiseLike; - } - interface UnderlyingByteSource { - autoAllocateChunkSize?: number; - cancel?: ReadableStreamErrorCallback; - pull?: ReadableByteStreamControllerCallback; - start?: ReadableByteStreamControllerCallback; - type: "bytes"; - } - interface UnderlyingSource { - cancel?: UnderlyingSourceCancelCallback; - pull?: UnderlyingSourcePullCallback; - start?: UnderlyingSourceStartCallback; - type?: undefined; - } - interface UnderlyingSink { - abort?: UnderlyingSinkAbortCallback; - close?: UnderlyingSinkCloseCallback; - start?: UnderlyingSinkStartCallback; - type?: undefined; - write?: UnderlyingSinkWriteCallback; - } - interface ReadableStreamErrorCallback { - (reason: any): void | PromiseLike; - } - /** This Streams API interface represents a readable stream of byte data. */ - interface ReadableStream { - readonly locked: boolean; - cancel(reason?: any): Promise; - getReader(): ReadableStreamDefaultReader; - getReader(options: { mode: "byob" }): ReadableStreamBYOBReader; - pipeThrough(transform: ReadableWritablePair, options?: StreamPipeOptions): ReadableStream; - pipeTo(destination: WritableStream, options?: StreamPipeOptions): Promise; - tee(): [ReadableStream, ReadableStream]; - values(options?: { preventCancel?: boolean }): AsyncIterableIterator; - [Symbol.asyncIterator](): AsyncIterableIterator; - } - const ReadableStream: { - prototype: ReadableStream; - new(underlyingSource: UnderlyingByteSource, strategy?: QueuingStrategy): ReadableStream; - new(underlyingSource?: UnderlyingSource, strategy?: QueuingStrategy): ReadableStream; - }; - interface ReadableStreamDefaultReader extends ReadableStreamGenericReader { - read(): Promise>; - releaseLock(): void; - } - interface ReadableStreamBYOBReader extends ReadableStreamGenericReader { - read(view: T): Promise>; - releaseLock(): void; - } - const ReadableStreamDefaultReader: { - prototype: ReadableStreamDefaultReader; - new(stream: ReadableStream): ReadableStreamDefaultReader; - }; - const ReadableStreamBYOBReader: any; - const ReadableStreamBYOBRequest: any; - interface ReadableByteStreamController { - readonly byobRequest: undefined; - readonly desiredSize: number | null; - close(): void; - enqueue(chunk: ArrayBufferView): void; - error(error?: any): void; - } - const ReadableByteStreamController: { - prototype: ReadableByteStreamController; - new(): ReadableByteStreamController; - }; - interface ReadableStreamDefaultController { - readonly desiredSize: number | null; - close(): void; - enqueue(chunk?: R): void; - error(e?: any): void; - } - const ReadableStreamDefaultController: { - prototype: ReadableStreamDefaultController; - new(): ReadableStreamDefaultController; - }; - interface Transformer { - flush?: TransformerFlushCallback; - readableType?: undefined; - start?: TransformerStartCallback; - transform?: TransformerTransformCallback; - writableType?: undefined; - } - interface TransformStream { - readonly readable: ReadableStream; - readonly writable: WritableStream; - } - const TransformStream: { - prototype: TransformStream; - new( - transformer?: Transformer, - writableStrategy?: QueuingStrategy, - readableStrategy?: QueuingStrategy, - ): TransformStream; - }; - interface TransformStreamDefaultController { - readonly desiredSize: number | null; - enqueue(chunk?: O): void; - error(reason?: any): void; - terminate(): void; - } - const TransformStreamDefaultController: { - prototype: TransformStreamDefaultController; - new(): TransformStreamDefaultController; - }; - /** - * This Streams API interface provides a standard abstraction for writing - * streaming data to a destination, known as a sink. This object comes with - * built-in back pressure and queuing. - */ - interface WritableStream { - readonly locked: boolean; - abort(reason?: any): Promise; - close(): Promise; - getWriter(): WritableStreamDefaultWriter; - } - const WritableStream: { - prototype: WritableStream; - new(underlyingSink?: UnderlyingSink, strategy?: QueuingStrategy): WritableStream; - }; - /** - * This Streams API interface is the object returned by - * WritableStream.getWriter() and once created locks the < writer to the - * WritableStream ensuring that no other streams can write to the underlying - * sink. - */ - interface WritableStreamDefaultWriter { - readonly closed: Promise; - readonly desiredSize: number | null; - readonly ready: Promise; - abort(reason?: any): Promise; - close(): Promise; - releaseLock(): void; - write(chunk?: W): Promise; - } - const WritableStreamDefaultWriter: { - prototype: WritableStreamDefaultWriter; - new(stream: WritableStream): WritableStreamDefaultWriter; - }; - /** - * This Streams API interface represents a controller allowing control of a - * WritableStream's state. When constructing a WritableStream, the - * underlying sink is given a corresponding WritableStreamDefaultController - * instance to manipulate. - */ - interface WritableStreamDefaultController { - error(e?: any): void; - } - const WritableStreamDefaultController: { - prototype: WritableStreamDefaultController; - new(): WritableStreamDefaultController; - }; - interface QueuingStrategy { - highWaterMark?: number; - size?: QueuingStrategySize; - } - interface QueuingStrategySize { - (chunk?: T): number; - } - interface QueuingStrategyInit { - /** - * Creates a new ByteLengthQueuingStrategy with the provided high water - * mark. - * - * Note that the provided high water mark will not be validated ahead of - * time. Instead, if it is negative, NaN, or not a number, the resulting - * ByteLengthQueuingStrategy will cause the corresponding stream - * constructor to throw. - */ - highWaterMark: number; - } - /** - * This Streams API interface provides a built-in byte length queuing - * strategy that can be used when constructing streams. - */ - interface ByteLengthQueuingStrategy extends QueuingStrategy { - readonly highWaterMark: number; - readonly size: QueuingStrategySize; - } - const ByteLengthQueuingStrategy: { - prototype: ByteLengthQueuingStrategy; - new(init: QueuingStrategyInit): ByteLengthQueuingStrategy; - }; - /** - * This Streams API interface provides a built-in byte length queuing - * strategy that can be used when constructing streams. - */ - interface CountQueuingStrategy extends QueuingStrategy { - readonly highWaterMark: number; - readonly size: QueuingStrategySize; - } - const CountQueuingStrategy: { - prototype: CountQueuingStrategy; - new(init: QueuingStrategyInit): CountQueuingStrategy; - }; - interface TextEncoderStream { - /** Returns "utf-8". */ - readonly encoding: "utf-8"; - readonly readable: ReadableStream; - readonly writable: WritableStream; - readonly [Symbol.toStringTag]: string; - } - const TextEncoderStream: { - prototype: TextEncoderStream; - new(): TextEncoderStream; - }; - interface TextDecoderOptions { - fatal?: boolean; - ignoreBOM?: boolean; - } - type BufferSource = ArrayBufferView | ArrayBuffer; - interface TextDecoderStream { - /** Returns encoding's name, lower cased. */ - readonly encoding: string; - /** Returns `true` if error mode is "fatal", and `false` otherwise. */ - readonly fatal: boolean; - /** Returns `true` if ignore BOM flag is set, and `false` otherwise. */ - readonly ignoreBOM: boolean; - readonly readable: ReadableStream; - readonly writable: WritableStream; - readonly [Symbol.toStringTag]: string; - } - const TextDecoderStream: { - prototype: TextDecoderStream; - new(encoding?: string, options?: TextDecoderOptions): TextDecoderStream; - }; - interface CompressionStream { - readonly readable: ReadableStream; - readonly writable: WritableStream; - } - const CompressionStream: { - prototype: CompressionStream; - new(format: string): CompressionStream; - }; - interface DecompressionStream { - readonly readable: ReadableStream; - readonly writable: WritableStream; - } - const DecompressionStream: { - prototype: DecompressionStream; - new(format: string): DecompressionStream; - }; -} -declare module "node:stream/web" { - export * from "stream/web"; -} diff --git a/node_modules/@types/node/string_decoder.d.ts b/node_modules/@types/node/string_decoder.d.ts deleted file mode 100644 index cd76bf8..0000000 --- a/node_modules/@types/node/string_decoder.d.ts +++ /dev/null @@ -1,67 +0,0 @@ -/** - * The `node:string_decoder` module provides an API for decoding `Buffer` objects - * into strings in a manner that preserves encoded multi-byte UTF-8 and UTF-16 - * characters. It can be accessed using: - * - * ```js - * const { StringDecoder } = require('node:string_decoder'); - * ``` - * - * The following example shows the basic use of the `StringDecoder` class. - * - * ```js - * const { StringDecoder } = require('node:string_decoder'); - * const decoder = new StringDecoder('utf8'); - * - * const cent = Buffer.from([0xC2, 0xA2]); - * console.log(decoder.write(cent)); // Prints: ¢ - * - * const euro = Buffer.from([0xE2, 0x82, 0xAC]); - * console.log(decoder.write(euro)); // Prints: € - * ``` - * - * When a `Buffer` instance is written to the `StringDecoder` instance, an - * internal buffer is used to ensure that the decoded string does not contain - * any incomplete multibyte characters. These are held in the buffer until the - * next call to `stringDecoder.write()` or until `stringDecoder.end()` is called. - * - * In the following example, the three UTF-8 encoded bytes of the European Euro - * symbol (`€`) are written over three separate operations: - * - * ```js - * const { StringDecoder } = require('node:string_decoder'); - * const decoder = new StringDecoder('utf8'); - * - * decoder.write(Buffer.from([0xE2])); - * decoder.write(Buffer.from([0x82])); - * console.log(decoder.end(Buffer.from([0xAC]))); // Prints: € - * ``` - * @see [source](https://github.com/nodejs/node/blob/v20.2.0/lib/string_decoder.js) - */ -declare module "string_decoder" { - class StringDecoder { - constructor(encoding?: BufferEncoding); - /** - * Returns a decoded string, ensuring that any incomplete multibyte characters at - * the end of the `Buffer`, or `TypedArray`, or `DataView` are omitted from the - * returned string and stored in an internal buffer for the next call to`stringDecoder.write()` or `stringDecoder.end()`. - * @since v0.1.99 - * @param buffer The bytes to decode. - */ - write(buffer: string | Buffer | NodeJS.ArrayBufferView): string; - /** - * Returns any remaining input stored in the internal buffer as a string. Bytes - * representing incomplete UTF-8 and UTF-16 characters will be replaced with - * substitution characters appropriate for the character encoding. - * - * If the `buffer` argument is provided, one final call to `stringDecoder.write()`is performed before returning the remaining input. - * After `end()` is called, the `stringDecoder` object can be reused for new input. - * @since v0.9.3 - * @param buffer The bytes to decode. - */ - end(buffer?: string | Buffer | NodeJS.ArrayBufferView): string; - } -} -declare module "node:string_decoder" { - export * from "string_decoder"; -} diff --git a/node_modules/@types/node/test.d.ts b/node_modules/@types/node/test.d.ts deleted file mode 100644 index 149c9e0..0000000 --- a/node_modules/@types/node/test.d.ts +++ /dev/null @@ -1,1465 +0,0 @@ -/** - * The `node:test` module facilitates the creation of JavaScript tests. - * To access it: - * - * ```js - * import test from 'node:test'; - * ``` - * - * This module is only available under the `node:` scheme. The following will not - * work: - * - * ```js - * import test from 'test'; - * ``` - * - * Tests created via the `test` module consist of a single function that is - * processed in one of three ways: - * - * 1. A synchronous function that is considered failing if it throws an exception, - * and is considered passing otherwise. - * 2. A function that returns a `Promise` that is considered failing if the`Promise` rejects, and is considered passing if the `Promise` fulfills. - * 3. A function that receives a callback function. If the callback receives any - * truthy value as its first argument, the test is considered failing. If a - * falsy value is passed as the first argument to the callback, the test is - * considered passing. If the test function receives a callback function and - * also returns a `Promise`, the test will fail. - * - * The following example illustrates how tests are written using the`test` module. - * - * ```js - * test('synchronous passing test', (t) => { - * // This test passes because it does not throw an exception. - * assert.strictEqual(1, 1); - * }); - * - * test('synchronous failing test', (t) => { - * // This test fails because it throws an exception. - * assert.strictEqual(1, 2); - * }); - * - * test('asynchronous passing test', async (t) => { - * // This test passes because the Promise returned by the async - * // function is settled and not rejected. - * assert.strictEqual(1, 1); - * }); - * - * test('asynchronous failing test', async (t) => { - * // This test fails because the Promise returned by the async - * // function is rejected. - * assert.strictEqual(1, 2); - * }); - * - * test('failing test using Promises', (t) => { - * // Promises can be used directly as well. - * return new Promise((resolve, reject) => { - * setImmediate(() => { - * reject(new Error('this will cause the test to fail')); - * }); - * }); - * }); - * - * test('callback passing test', (t, done) => { - * // done() is the callback function. When the setImmediate() runs, it invokes - * // done() with no arguments. - * setImmediate(done); - * }); - * - * test('callback failing test', (t, done) => { - * // When the setImmediate() runs, done() is invoked with an Error object and - * // the test fails. - * setImmediate(() => { - * done(new Error('callback failure')); - * }); - * }); - * ``` - * - * If any tests fail, the process exit code is set to `1`. - * @since v18.0.0, v16.17.0 - * @see [source](https://github.com/nodejs/node/blob/v20.4.0/lib/test.js) - */ -declare module "node:test" { - import { Readable } from "node:stream"; - import { AsyncResource } from "node:async_hooks"; - /** - * **Note:**`shard` is used to horizontally parallelize test running across - * machines or processes, ideal for large-scale executions across varied - * environments. It's incompatible with `watch` mode, tailored for rapid - * code iteration by automatically rerunning tests on file changes. - * - * ```js - * import { tap } from 'node:test/reporters'; - * import { run } from 'node:test'; - * import process from 'node:process'; - * import path from 'node:path'; - * - * run({ files: [path.resolve('./tests/test.js')] }) - * .compose(tap) - * .pipe(process.stdout); - * ``` - * @since v18.9.0, v16.19.0 - * @param options Configuration options for running tests. The following properties are supported: - */ - function run(options?: RunOptions): TestsStream; - /** - * The `test()` function is the value imported from the `test` module. Each - * invocation of this function results in reporting the test to the `TestsStream`. - * - * The `TestContext` object passed to the `fn` argument can be used to perform - * actions related to the current test. Examples include skipping the test, adding - * additional diagnostic information, or creating subtests. - * - * `test()` returns a `Promise` that fulfills once the test completes. - * if `test()` is called within a `describe()` block, it fulfills immediately. - * The return value can usually be discarded for top level tests. - * However, the return value from subtests should be used to prevent the parent - * test from finishing first and cancelling the subtest - * as shown in the following example. - * - * ```js - * test('top level test', async (t) => { - * // The setTimeout() in the following subtest would cause it to outlive its - * // parent test if 'await' is removed on the next line. Once the parent test - * // completes, it will cancel any outstanding subtests. - * await t.test('longer running subtest', async (t) => { - * return new Promise((resolve, reject) => { - * setTimeout(resolve, 1000); - * }); - * }); - * }); - * ``` - * - * The `timeout` option can be used to fail the test if it takes longer than`timeout` milliseconds to complete. However, it is not a reliable mechanism for - * canceling tests because a running test might block the application thread and - * thus prevent the scheduled cancellation. - * @since v18.0.0, v16.17.0 - * @param [name='The name'] The name of the test, which is displayed when reporting test results. - * @param options Configuration options for the test. The following properties are supported: - * @param [fn='A no-op function'] The function under test. The first argument to this function is a {@link TestContext} object. If the test uses callbacks, the callback function is passed as the - * second argument. - * @return Fulfilled with `undefined` once the test completes, or immediately if the test runs within {@link describe}. - */ - function test(name?: string, fn?: TestFn): Promise; - function test(name?: string, options?: TestOptions, fn?: TestFn): Promise; - function test(options?: TestOptions, fn?: TestFn): Promise; - function test(fn?: TestFn): Promise; - namespace test { - export { after, afterEach, before, beforeEach, describe, it, mock, only, run, skip, test, todo }; - } - /** - * The `describe()` function imported from the `node:test` module. Each - * invocation of this function results in the creation of a Subtest. - * After invocation of top level `describe` functions, - * all top level tests and suites will execute. - * @param [name='The name'] The name of the suite, which is displayed when reporting test results. - * @param options Configuration options for the suite. supports the same options as `test([name][, options][, fn])`. - * @param [fn='A no-op function'] The function under suite declaring all subtests and subsuites. The first argument to this function is a {@link SuiteContext} object. - * @return Immediately fulfilled with `undefined`. - */ - function describe(name?: string, options?: TestOptions, fn?: SuiteFn): Promise; - function describe(name?: string, fn?: SuiteFn): Promise; - function describe(options?: TestOptions, fn?: SuiteFn): Promise; - function describe(fn?: SuiteFn): Promise; - namespace describe { - /** - * Shorthand for skipping a suite, same as `describe([name], { skip: true }[, fn])`. - */ - function skip(name?: string, options?: TestOptions, fn?: SuiteFn): Promise; - function skip(name?: string, fn?: SuiteFn): Promise; - function skip(options?: TestOptions, fn?: SuiteFn): Promise; - function skip(fn?: SuiteFn): Promise; - /** - * Shorthand for marking a suite as `TODO`, same as `describe([name], { todo: true }[, fn])`. - */ - function todo(name?: string, options?: TestOptions, fn?: SuiteFn): Promise; - function todo(name?: string, fn?: SuiteFn): Promise; - function todo(options?: TestOptions, fn?: SuiteFn): Promise; - function todo(fn?: SuiteFn): Promise; - /** - * Shorthand for marking a suite as `only`, same as `describe([name], { only: true }[, fn])`. - * @since v18.15.0 - */ - function only(name?: string, options?: TestOptions, fn?: SuiteFn): Promise; - function only(name?: string, fn?: SuiteFn): Promise; - function only(options?: TestOptions, fn?: SuiteFn): Promise; - function only(fn?: SuiteFn): Promise; - } - /** - * Shorthand for `test()`. - * - * The `it()` function is imported from the `node:test` module. - * @since v18.6.0, v16.17.0 - */ - function it(name?: string, options?: TestOptions, fn?: TestFn): Promise; - function it(name?: string, fn?: TestFn): Promise; - function it(options?: TestOptions, fn?: TestFn): Promise; - function it(fn?: TestFn): Promise; - namespace it { - /** - * Shorthand for skipping a test, same as `it([name], { skip: true }[, fn])`. - */ - function skip(name?: string, options?: TestOptions, fn?: TestFn): Promise; - function skip(name?: string, fn?: TestFn): Promise; - function skip(options?: TestOptions, fn?: TestFn): Promise; - function skip(fn?: TestFn): Promise; - /** - * Shorthand for marking a test as `TODO`, same as `it([name], { todo: true }[, fn])`. - */ - function todo(name?: string, options?: TestOptions, fn?: TestFn): Promise; - function todo(name?: string, fn?: TestFn): Promise; - function todo(options?: TestOptions, fn?: TestFn): Promise; - function todo(fn?: TestFn): Promise; - /** - * Shorthand for marking a test as `only`, same as `it([name], { only: true }[, fn])`. - * @since v18.15.0 - */ - function only(name?: string, options?: TestOptions, fn?: TestFn): Promise; - function only(name?: string, fn?: TestFn): Promise; - function only(options?: TestOptions, fn?: TestFn): Promise; - function only(fn?: TestFn): Promise; - } - /** - * Shorthand for skipping a test, same as `test([name], { skip: true }[, fn])`. - * @since v20.2.0 - */ - function skip(name?: string, options?: TestOptions, fn?: TestFn): Promise; - function skip(name?: string, fn?: TestFn): Promise; - function skip(options?: TestOptions, fn?: TestFn): Promise; - function skip(fn?: TestFn): Promise; - /** - * Shorthand for marking a test as `TODO`, same as `test([name], { todo: true }[, fn])`. - * @since v20.2.0 - */ - function todo(name?: string, options?: TestOptions, fn?: TestFn): Promise; - function todo(name?: string, fn?: TestFn): Promise; - function todo(options?: TestOptions, fn?: TestFn): Promise; - function todo(fn?: TestFn): Promise; - /** - * Shorthand for marking a test as `only`, same as `test([name], { only: true }[, fn])`. - * @since v20.2.0 - */ - function only(name?: string, options?: TestOptions, fn?: TestFn): Promise; - function only(name?: string, fn?: TestFn): Promise; - function only(options?: TestOptions, fn?: TestFn): Promise; - function only(fn?: TestFn): Promise; - /** - * The type of a function under test. The first argument to this function is a - * {@link TestContext} object. If the test uses callbacks, the callback function is passed as - * the second argument. - */ - type TestFn = (t: TestContext, done: (result?: any) => void) => void | Promise; - /** - * The type of a function under Suite. - */ - type SuiteFn = (s: SuiteContext) => void | Promise; - interface TestShard { - /** - * A positive integer between 1 and `` that specifies the index of the shard to run. - */ - index: number; - /** - * A positive integer that specifies the total number of shards to split the test files to. - */ - total: number; - } - interface RunOptions { - /** - * If a number is provided, then that many files would run in parallel. - * If truthy, it would run (number of cpu cores - 1) files in parallel. - * If falsy, it would only run one file at a time. - * If unspecified, subtests inherit this value from their parent. - * @default true - */ - concurrency?: number | boolean | undefined; - /** - * An array containing the list of files to run. - * If unspecified, the test runner execution model will be used. - */ - files?: readonly string[] | undefined; - /** - * Allows aborting an in-progress test execution. - * @default undefined - */ - signal?: AbortSignal | undefined; - /** - * A number of milliseconds the test will fail after. - * If unspecified, subtests inherit this value from their parent. - * @default Infinity - */ - timeout?: number | undefined; - /** - * Sets inspector port of test child process. - * If a nullish value is provided, each process gets its own port, - * incremented from the primary's `process.debugPort`. - */ - inspectPort?: number | (() => number) | undefined; - /** - * That can be used to only run tests whose name matches the provided pattern. - * Test name patterns are interpreted as JavaScript regular expressions. - * For each test that is executed, any corresponding test hooks, such as `beforeEach()`, are also run. - */ - testNamePatterns?: string | RegExp | string[] | RegExp[]; - /** - * If truthy, the test context will only run tests that have the `only` option set - */ - only?: boolean; - /** - * A function that accepts the TestsStream instance and can be used to setup listeners before any tests are run. - */ - setup?: (root: Test) => void | Promise; - /** - * Whether to run in watch mode or not. - * @default false - */ - watch?: boolean | undefined; - /** - * Running tests in a specific shard. - * @default undefined - */ - shard?: TestShard | undefined; - } - class Test extends AsyncResource { - concurrency: number; - nesting: number; - only: boolean; - reporter: TestsStream; - runOnlySubtests: boolean; - testNumber: number; - timeout: number | null; - } - /** - * A successful call to `run()` method will return a new `TestsStream` object, streaming a series of events representing the execution of the tests.`TestsStream` will emit events, in the - * order of the tests definition - * @since v18.9.0, v16.19.0 - */ - class TestsStream extends Readable implements NodeJS.ReadableStream { - addListener(event: "test:diagnostic", listener: (data: DiagnosticData) => void): this; - addListener(event: "test:fail", listener: (data: TestFail) => void): this; - addListener(event: "test:pass", listener: (data: TestPass) => void): this; - addListener(event: "test:plan", listener: (data: TestPlan) => void): this; - addListener(event: "test:start", listener: (data: TestStart) => void): this; - addListener(event: "test:stderr", listener: (data: TestStderr) => void): this; - addListener(event: "test:stdout", listener: (data: TestStdout) => void): this; - addListener(event: string, listener: (...args: any[]) => void): this; - emit(event: "test:diagnostic", data: DiagnosticData): boolean; - emit(event: "test:fail", data: TestFail): boolean; - emit(event: "test:pass", data: TestPass): boolean; - emit(event: "test:plan", data: TestPlan): boolean; - emit(event: "test:start", data: TestStart): boolean; - emit(event: "test:stderr", data: TestStderr): boolean; - emit(event: "test:stdout", data: TestStdout): boolean; - emit(event: string | symbol, ...args: any[]): boolean; - on(event: "test:diagnostic", listener: (data: DiagnosticData) => void): this; - on(event: "test:fail", listener: (data: TestFail) => void): this; - on(event: "test:pass", listener: (data: TestPass) => void): this; - on(event: "test:plan", listener: (data: TestPlan) => void): this; - on(event: "test:start", listener: (data: TestStart) => void): this; - on(event: "test:stderr", listener: (data: TestStderr) => void): this; - on(event: "test:stdout", listener: (data: TestStdout) => void): this; - on(event: string, listener: (...args: any[]) => void): this; - once(event: "test:diagnostic", listener: (data: DiagnosticData) => void): this; - once(event: "test:fail", listener: (data: TestFail) => void): this; - once(event: "test:pass", listener: (data: TestPass) => void): this; - once(event: "test:plan", listener: (data: TestPlan) => void): this; - once(event: "test:start", listener: (data: TestStart) => void): this; - once(event: "test:stderr", listener: (data: TestStderr) => void): this; - once(event: "test:stdout", listener: (data: TestStdout) => void): this; - once(event: string, listener: (...args: any[]) => void): this; - prependListener(event: "test:diagnostic", listener: (data: DiagnosticData) => void): this; - prependListener(event: "test:fail", listener: (data: TestFail) => void): this; - prependListener(event: "test:pass", listener: (data: TestPass) => void): this; - prependListener(event: "test:plan", listener: (data: TestPlan) => void): this; - prependListener(event: "test:start", listener: (data: TestStart) => void): this; - prependListener(event: "test:stderr", listener: (data: TestStderr) => void): this; - prependListener(event: "test:stdout", listener: (data: TestStdout) => void): this; - prependListener(event: string, listener: (...args: any[]) => void): this; - prependOnceListener(event: "test:diagnostic", listener: (data: DiagnosticData) => void): this; - prependOnceListener(event: "test:fail", listener: (data: TestFail) => void): this; - prependOnceListener(event: "test:pass", listener: (data: TestPass) => void): this; - prependOnceListener(event: "test:plan", listener: (data: TestPlan) => void): this; - prependOnceListener(event: "test:start", listener: (data: TestStart) => void): this; - prependOnceListener(event: "test:stderr", listener: (data: TestStderr) => void): this; - prependOnceListener(event: "test:stdout", listener: (data: TestStdout) => void): this; - prependOnceListener(event: string, listener: (...args: any[]) => void): this; - } - /** - * An instance of `TestContext` is passed to each test function in order to - * interact with the test runner. However, the `TestContext` constructor is not - * exposed as part of the API. - * @since v18.0.0, v16.17.0 - */ - class TestContext { - /** - * This function is used to create a hook running before subtest of the current test. - * @param fn The hook function. If the hook uses callbacks, the callback function is passed as - * the second argument. Default: A no-op function. - * @param options Configuration options for the hook. - * @since v20.1.0 - */ - before: typeof before; - /** - * This function is used to create a hook running before each subtest of the current test. - * @param fn The hook function. If the hook uses callbacks, the callback function is passed as - * the second argument. Default: A no-op function. - * @param options Configuration options for the hook. - * @since v18.8.0 - */ - beforeEach: typeof beforeEach; - /** - * This function is used to create a hook that runs after the current test finishes. - * @param fn The hook function. If the hook uses callbacks, the callback function is passed as - * the second argument. Default: A no-op function. - * @param options Configuration options for the hook. - * @since v18.13.0 - */ - after: typeof after; - /** - * This function is used to create a hook running after each subtest of the current test. - * @param fn The hook function. If the hook uses callbacks, the callback function is passed as - * the second argument. Default: A no-op function. - * @param options Configuration options for the hook. - * @since v18.8.0 - */ - afterEach: typeof afterEach; - /** - * This function is used to write diagnostics to the output. Any diagnostic - * information is included at the end of the test's results. This function does - * not return a value. - * - * ```js - * test('top level test', (t) => { - * t.diagnostic('A diagnostic message'); - * }); - * ``` - * @since v18.0.0, v16.17.0 - * @param message Message to be reported. - */ - diagnostic(message: string): void; - /** - * The name of the test. - * @since v18.8.0, v16.18.0 - */ - readonly name: string; - /** - * If `shouldRunOnlyTests` is truthy, the test context will only run tests that - * have the `only` option set. Otherwise, all tests are run. If Node.js was not - * started with the `--test-only` command-line option, this function is a - * no-op. - * - * ```js - * test('top level test', (t) => { - * // The test context can be set to run subtests with the 'only' option. - * t.runOnly(true); - * return Promise.all([ - * t.test('this subtest is now skipped'), - * t.test('this subtest is run', { only: true }), - * ]); - * }); - * ``` - * @since v18.0.0, v16.17.0 - * @param shouldRunOnlyTests Whether or not to run `only` tests. - */ - runOnly(shouldRunOnlyTests: boolean): void; - /** - * ```js - * test('top level test', async (t) => { - * await fetch('some/uri', { signal: t.signal }); - * }); - * ``` - * @since v18.7.0, v16.17.0 - */ - readonly signal: AbortSignal; - /** - * This function causes the test's output to indicate the test as skipped. If`message` is provided, it is included in the output. Calling `skip()` does - * not terminate execution of the test function. This function does not return a - * value. - * - * ```js - * test('top level test', (t) => { - * // Make sure to return here as well if the test contains additional logic. - * t.skip('this is skipped'); - * }); - * ``` - * @since v18.0.0, v16.17.0 - * @param message Optional skip message. - */ - skip(message?: string): void; - /** - * This function adds a `TODO` directive to the test's output. If `message` is - * provided, it is included in the output. Calling `todo()` does not terminate - * execution of the test function. This function does not return a value. - * - * ```js - * test('top level test', (t) => { - * // This test is marked as `TODO` - * t.todo('this is a todo'); - * }); - * ``` - * @since v18.0.0, v16.17.0 - * @param message Optional `TODO` message. - */ - todo(message?: string): void; - /** - * This function is used to create subtests under the current test. This function behaves in - * the same fashion as the top level {@link test} function. - * @since v18.0.0 - * @param name The name of the test, which is displayed when reporting test results. - * Default: The `name` property of fn, or `''` if `fn` does not have a name. - * @param options Configuration options for the test - * @param fn The function under test. This first argument to this function is a - * {@link TestContext} object. If the test uses callbacks, the callback function is - * passed as the second argument. Default: A no-op function. - * @returns A {@link Promise} resolved with `undefined` once the test completes. - */ - test: typeof test; - /** - * Each test provides its own MockTracker instance. - */ - readonly mock: MockTracker; - } - /** - * An instance of `SuiteContext` is passed to each suite function in order to - * interact with the test runner. However, the `SuiteContext` constructor is not - * exposed as part of the API. - * @since v18.7.0, v16.17.0 - */ - class SuiteContext { - /** - * The name of the suite. - * @since v18.8.0, v16.18.0 - */ - readonly name: string; - /** - * Can be used to abort test subtasks when the test has been aborted. - * @since v18.7.0, v16.17.0 - */ - readonly signal: AbortSignal; - } - interface TestOptions { - /** - * If a number is provided, then that many tests would run in parallel. - * If truthy, it would run (number of cpu cores - 1) tests in parallel. - * For subtests, it will be `Infinity` tests in parallel. - * If falsy, it would only run one test at a time. - * If unspecified, subtests inherit this value from their parent. - * @default false - */ - concurrency?: number | boolean | undefined; - /** - * If truthy, and the test context is configured to run `only` tests, then this test will be - * run. Otherwise, the test is skipped. - * @default false - */ - only?: boolean | undefined; - /** - * Allows aborting an in-progress test. - * @since v18.8.0 - */ - signal?: AbortSignal | undefined; - /** - * If truthy, the test is skipped. If a string is provided, that string is displayed in the - * test results as the reason for skipping the test. - * @default false - */ - skip?: boolean | string | undefined; - /** - * A number of milliseconds the test will fail after. If unspecified, subtests inherit this - * value from their parent. - * @default Infinity - * @since v18.7.0 - */ - timeout?: number | undefined; - /** - * If truthy, the test marked as `TODO`. If a string is provided, that string is displayed in - * the test results as the reason why the test is `TODO`. - * @default false - */ - todo?: boolean | string | undefined; - } - /** - * This function is used to create a hook running before running a suite. - * - * ```js - * describe('tests', async () => { - * before(() => console.log('about to run some test')); - * it('is a subtest', () => { - * assert.ok('some relevant assertion here'); - * }); - * }); - * ``` - * @since v18.8.0, v16.18.0 - * @param [fn='A no-op function'] The hook function. If the hook uses callbacks, the callback function is passed as the second argument. - * @param options Configuration options for the hook. The following properties are supported: - */ - function before(fn?: HookFn, options?: HookOptions): void; - /** - * This function is used to create a hook running after running a suite. - * - * ```js - * describe('tests', async () => { - * after(() => console.log('finished running tests')); - * it('is a subtest', () => { - * assert.ok('some relevant assertion here'); - * }); - * }); - * ``` - * @since v18.8.0, v16.18.0 - * @param [fn='A no-op function'] The hook function. If the hook uses callbacks, the callback function is passed as the second argument. - * @param options Configuration options for the hook. The following properties are supported: - */ - function after(fn?: HookFn, options?: HookOptions): void; - /** - * This function is used to create a hook running - * before each subtest of the current suite. - * - * ```js - * describe('tests', async () => { - * beforeEach(() => console.log('about to run a test')); - * it('is a subtest', () => { - * assert.ok('some relevant assertion here'); - * }); - * }); - * ``` - * @since v18.8.0, v16.18.0 - * @param [fn='A no-op function'] The hook function. If the hook uses callbacks, the callback function is passed as the second argument. - * @param options Configuration options for the hook. The following properties are supported: - */ - function beforeEach(fn?: HookFn, options?: HookOptions): void; - /** - * This function is used to create a hook running - * after each subtest of the current test. - * - * ```js - * describe('tests', async () => { - * afterEach(() => console.log('finished running a test')); - * it('is a subtest', () => { - * assert.ok('some relevant assertion here'); - * }); - * }); - * ``` - * @since v18.8.0, v16.18.0 - * @param [fn='A no-op function'] The hook function. If the hook uses callbacks, the callback function is passed as the second argument. - * @param options Configuration options for the hook. The following properties are supported: - */ - function afterEach(fn?: HookFn, options?: HookOptions): void; - /** - * The hook function. If the hook uses callbacks, the callback function is passed as the - * second argument. - */ - type HookFn = (s: SuiteContext, done: (result?: any) => void) => any; - /** - * Configuration options for hooks. - * @since v18.8.0 - */ - interface HookOptions { - /** - * Allows aborting an in-progress hook. - */ - signal?: AbortSignal | undefined; - /** - * A number of milliseconds the hook will fail after. If unspecified, subtests inherit this - * value from their parent. - * @default Infinity - */ - timeout?: number | undefined; - } - interface MockFunctionOptions { - /** - * The number of times that the mock will use the behavior of `implementation`. - * Once the mock function has been called `times` times, - * it will automatically restore the behavior of `original`. - * This value must be an integer greater than zero. - * @default Infinity - */ - times?: number | undefined; - } - interface MockMethodOptions extends MockFunctionOptions { - /** - * If `true`, `object[methodName]` is treated as a getter. - * This option cannot be used with the `setter` option. - */ - getter?: boolean | undefined; - /** - * If `true`, `object[methodName]` is treated as a setter. - * This option cannot be used with the `getter` option. - */ - setter?: boolean | undefined; - } - type Mock = F & { - mock: MockFunctionContext; - }; - type NoOpFunction = (...args: any[]) => undefined; - type FunctionPropertyNames = { - [K in keyof T]: T[K] extends Function ? K : never; - }[keyof T]; - /** - * The `MockTracker` class is used to manage mocking functionality. The test runner - * module provides a top level `mock` export which is a `MockTracker` instance. - * Each test also provides its own `MockTracker` instance via the test context's`mock` property. - * @since v19.1.0, v18.13.0 - */ - class MockTracker { - /** - * This function is used to create a mock function. - * - * The following example creates a mock function that increments a counter by one - * on each invocation. The `times` option is used to modify the mock behavior such - * that the first two invocations add two to the counter instead of one. - * - * ```js - * test('mocks a counting function', (t) => { - * let cnt = 0; - * - * function addOne() { - * cnt++; - * return cnt; - * } - * - * function addTwo() { - * cnt += 2; - * return cnt; - * } - * - * const fn = t.mock.fn(addOne, addTwo, { times: 2 }); - * - * assert.strictEqual(fn(), 2); - * assert.strictEqual(fn(), 4); - * assert.strictEqual(fn(), 5); - * assert.strictEqual(fn(), 6); - * }); - * ``` - * @since v19.1.0, v18.13.0 - * @param [original='A no-op function'] An optional function to create a mock on. - * @param implementation An optional function used as the mock implementation for `original`. This is useful for creating mocks that exhibit one behavior for a specified number of calls and - * then restore the behavior of `original`. - * @param options Optional configuration options for the mock function. The following properties are supported: - * @return The mocked function. The mocked function contains a special `mock` property, which is an instance of {@link MockFunctionContext}, and can be used for inspecting and changing the - * behavior of the mocked function. - */ - fn(original?: F, options?: MockFunctionOptions): Mock; - fn( - original?: F, - implementation?: Implementation, - options?: MockFunctionOptions, - ): Mock; - /** - * This function is used to create a mock on an existing object method. The - * following example demonstrates how a mock is created on an existing object - * method. - * - * ```js - * test('spies on an object method', (t) => { - * const number = { - * value: 5, - * subtract(a) { - * return this.value - a; - * }, - * }; - * - * t.mock.method(number, 'subtract'); - * assert.strictEqual(number.subtract.mock.calls.length, 0); - * assert.strictEqual(number.subtract(3), 2); - * assert.strictEqual(number.subtract.mock.calls.length, 1); - * - * const call = number.subtract.mock.calls[0]; - * - * assert.deepStrictEqual(call.arguments, [3]); - * assert.strictEqual(call.result, 2); - * assert.strictEqual(call.error, undefined); - * assert.strictEqual(call.target, undefined); - * assert.strictEqual(call.this, number); - * }); - * ``` - * @since v19.1.0, v18.13.0 - * @param object The object whose method is being mocked. - * @param methodName The identifier of the method on `object` to mock. If `object[methodName]` is not a function, an error is thrown. - * @param implementation An optional function used as the mock implementation for `object[methodName]`. - * @param options Optional configuration options for the mock method. The following properties are supported: - * @return The mocked method. The mocked method contains a special `mock` property, which is an instance of {@link MockFunctionContext}, and can be used for inspecting and changing the - * behavior of the mocked method. - */ - method< - MockedObject extends object, - MethodName extends FunctionPropertyNames, - >( - object: MockedObject, - methodName: MethodName, - options?: MockFunctionOptions, - ): MockedObject[MethodName] extends Function ? Mock - : never; - method< - MockedObject extends object, - MethodName extends FunctionPropertyNames, - Implementation extends Function, - >( - object: MockedObject, - methodName: MethodName, - implementation: Implementation, - options?: MockFunctionOptions, - ): MockedObject[MethodName] extends Function ? Mock - : never; - method( - object: MockedObject, - methodName: keyof MockedObject, - options: MockMethodOptions, - ): Mock; - method( - object: MockedObject, - methodName: keyof MockedObject, - implementation: Function, - options: MockMethodOptions, - ): Mock; - - /** - * This function is syntax sugar for `MockTracker.method` with `options.getter`set to `true`. - * @since v19.3.0, v18.13.0 - */ - getter< - MockedObject extends object, - MethodName extends keyof MockedObject, - >( - object: MockedObject, - methodName: MethodName, - options?: MockFunctionOptions, - ): Mock<() => MockedObject[MethodName]>; - getter< - MockedObject extends object, - MethodName extends keyof MockedObject, - Implementation extends Function, - >( - object: MockedObject, - methodName: MethodName, - implementation?: Implementation, - options?: MockFunctionOptions, - ): Mock<(() => MockedObject[MethodName]) | Implementation>; - /** - * This function is syntax sugar for `MockTracker.method` with `options.setter`set to `true`. - * @since v19.3.0, v18.13.0 - */ - setter< - MockedObject extends object, - MethodName extends keyof MockedObject, - >( - object: MockedObject, - methodName: MethodName, - options?: MockFunctionOptions, - ): Mock<(value: MockedObject[MethodName]) => void>; - setter< - MockedObject extends object, - MethodName extends keyof MockedObject, - Implementation extends Function, - >( - object: MockedObject, - methodName: MethodName, - implementation?: Implementation, - options?: MockFunctionOptions, - ): Mock<((value: MockedObject[MethodName]) => void) | Implementation>; - /** - * This function restores the default behavior of all mocks that were previously - * created by this `MockTracker` and disassociates the mocks from the`MockTracker` instance. Once disassociated, the mocks can still be used, but the`MockTracker` instance can no longer be - * used to reset their behavior or - * otherwise interact with them. - * - * After each test completes, this function is called on the test context's`MockTracker`. If the global `MockTracker` is used extensively, calling this - * function manually is recommended. - * @since v19.1.0, v18.13.0 - */ - reset(): void; - /** - * This function restores the default behavior of all mocks that were previously - * created by this `MockTracker`. Unlike `mock.reset()`, `mock.restoreAll()` does - * not disassociate the mocks from the `MockTracker` instance. - * @since v19.1.0, v18.13.0 - */ - restoreAll(): void; - timers: MockTimers; - } - const mock: MockTracker; - interface MockFunctionCall< - F extends Function, - ReturnType = F extends (...args: any) => infer T ? T - : F extends abstract new(...args: any) => infer T ? T - : unknown, - Args = F extends (...args: infer Y) => any ? Y - : F extends abstract new(...args: infer Y) => any ? Y - : unknown[], - > { - /** - * An array of the arguments passed to the mock function. - */ - arguments: Args; - /** - * If the mocked function threw then this property contains the thrown value. - */ - error: unknown | undefined; - /** - * The value returned by the mocked function. - * - * If the mocked function threw, it will be `undefined`. - */ - result: ReturnType | undefined; - /** - * An `Error` object whose stack can be used to determine the callsite of the mocked function invocation. - */ - stack: Error; - /** - * If the mocked function is a constructor, this field contains the class being constructed. - * Otherwise this will be `undefined`. - */ - target: F extends abstract new(...args: any) => any ? F : undefined; - /** - * The mocked function's `this` value. - */ - this: unknown; - } - /** - * The `MockFunctionContext` class is used to inspect or manipulate the behavior of - * mocks created via the `MockTracker` APIs. - * @since v19.1.0, v18.13.0 - */ - class MockFunctionContext { - /** - * A getter that returns a copy of the internal array used to track calls to the - * mock. Each entry in the array is an object with the following properties. - * @since v19.1.0, v18.13.0 - */ - readonly calls: Array>; - /** - * This function returns the number of times that this mock has been invoked. This - * function is more efficient than checking `ctx.calls.length` because `ctx.calls`is a getter that creates a copy of the internal call tracking array. - * @since v19.1.0, v18.13.0 - * @return The number of times that this mock has been invoked. - */ - callCount(): number; - /** - * This function is used to change the behavior of an existing mock. - * - * The following example creates a mock function using `t.mock.fn()`, calls the - * mock function, and then changes the mock implementation to a different function. - * - * ```js - * test('changes a mock behavior', (t) => { - * let cnt = 0; - * - * function addOne() { - * cnt++; - * return cnt; - * } - * - * function addTwo() { - * cnt += 2; - * return cnt; - * } - * - * const fn = t.mock.fn(addOne); - * - * assert.strictEqual(fn(), 1); - * fn.mock.mockImplementation(addTwo); - * assert.strictEqual(fn(), 3); - * assert.strictEqual(fn(), 5); - * }); - * ``` - * @since v19.1.0, v18.13.0 - * @param implementation The function to be used as the mock's new implementation. - */ - mockImplementation(implementation: Function): void; - /** - * This function is used to change the behavior of an existing mock for a single - * invocation. Once invocation `onCall` has occurred, the mock will revert to - * whatever behavior it would have used had `mockImplementationOnce()` not been - * called. - * - * The following example creates a mock function using `t.mock.fn()`, calls the - * mock function, changes the mock implementation to a different function for the - * next invocation, and then resumes its previous behavior. - * - * ```js - * test('changes a mock behavior once', (t) => { - * let cnt = 0; - * - * function addOne() { - * cnt++; - * return cnt; - * } - * - * function addTwo() { - * cnt += 2; - * return cnt; - * } - * - * const fn = t.mock.fn(addOne); - * - * assert.strictEqual(fn(), 1); - * fn.mock.mockImplementationOnce(addTwo); - * assert.strictEqual(fn(), 3); - * assert.strictEqual(fn(), 4); - * }); - * ``` - * @since v19.1.0, v18.13.0 - * @param implementation The function to be used as the mock's implementation for the invocation number specified by `onCall`. - * @param onCall The invocation number that will use `implementation`. If the specified invocation has already occurred then an exception is thrown. - */ - mockImplementationOnce(implementation: Function, onCall?: number): void; - /** - * Resets the call history of the mock function. - * @since v19.3.0, v18.13.0 - */ - resetCalls(): void; - /** - * Resets the implementation of the mock function to its original behavior. The - * mock can still be used after calling this function. - * @since v19.1.0, v18.13.0 - */ - restore(): void; - } - type Timer = "setInterval" | "setTimeout" | "setImmediate" | "Date"; - - interface MockTimersOptions { - apis: Timer[]; - now?: number | Date; - } - /** - * Mocking timers is a technique commonly used in software testing to simulate and - * control the behavior of timers, such as `setInterval` and `setTimeout`, - * without actually waiting for the specified time intervals. - * - * The MockTimers API also allows for mocking of the `Date` constructor and - * `setImmediate`/`clearImmediate` functions. - * - * The `MockTracker` provides a top-level `timers` export - * which is a `MockTimers` instance. - * @since v20.4.0 - * @experimental - */ - class MockTimers { - /** - * Enables timer mocking for the specified timers. - * - * **Note:** When you enable mocking for a specific timer, its associated - * clear function will also be implicitly mocked. - * - * **Note:** Mocking `Date` will affect the behavior of the mocked timers - * as they use the same internal clock. - * - * Example usage without setting initial time: - * - * ```js - * import { mock } from 'node:test'; - * mock.timers.enable({ apis: ['setInterval', 'Date'], now: 1234 }); - * ``` - * - * The above example enables mocking for the `Date` constructor, `setInterval` timer and - * implicitly mocks the `clearInterval` function. Only the `Date` constructor from `globalThis`, - * `setInterval` and `clearInterval` functions from `node:timers`,`node:timers/promises`, and `globalThis` will be mocked. - * - * Example usage with initial time set - * - * ```js - * import { mock } from 'node:test'; - * mock.timers.enable({ apis: ['Date'], now: 1000 }); - * ``` - * - * Example usage with initial Date object as time set - * - * ```js - * import { mock } from 'node:test'; - * mock.timers.enable({ apis: ['Date'], now: new Date() }); - * ``` - * - * Alternatively, if you call `mock.timers.enable()` without any parameters: - * - * All timers (`'setInterval'`, `'clearInterval'`, `'Date'`, `'setImmediate'`, `'clearImmediate'`, `'setTimeout'`, and `'clearTimeout'`) - * will be mocked. - * - * The `setInterval`, `clearInterval`, `setTimeout`, and `clearTimeout` functions from `node:timers`, `node:timers/promises`, - * and `globalThis` will be mocked. - * The `Date` constructor from `globalThis` will be mocked. - * - * If there is no initial epoch set, the initial date will be based on 0 in the Unix epoch. This is `January 1st, 1970, 00:00:00 UTC`. You can set an initial date by passing a now property to the `.enable()` method. This value will be used as the initial date for the mocked Date object. It can either be a positive integer, or another Date object. - * @since v20.4.0 - */ - enable(options?: MockTimersOptions): void; - /** - * You can use the `.setTime()` method to manually move the mocked date to another time. This method only accepts a positive integer. - * Note: This method will execute any mocked timers that are in the past from the new time. - * In the below example we are setting a new time for the mocked date. - * ```js - * import assert from 'node:assert'; - * import { test } from 'node:test'; - * test('sets the time of a date object', (context) => { - * // Optionally choose what to mock - * context.mock.timers.enable({ apis: ['Date'], now: 100 }); - * assert.strictEqual(Date.now(), 100); - * // Advance in time will also advance the date - * context.mock.timers.setTime(1000); - * context.mock.timers.tick(200); - * assert.strictEqual(Date.now(), 1200); - * }); - * ``` - */ - setTime(time: number): void; - /** - * This function restores the default behavior of all mocks that were previously - * created by this `MockTimers` instance and disassociates the mocks - * from the `MockTracker` instance. - * - * **Note:** After each test completes, this function is called on - * the test context's `MockTracker`. - * - * ```js - * import { mock } from 'node:test'; - * mock.timers.reset(); - * ``` - * @since v20.4.0 - */ - reset(): void; - /** - * Advances time for all mocked timers. - * - * **Note:** This diverges from how `setTimeout` in Node.js behaves and accepts - * only positive numbers. In Node.js, `setTimeout` with negative numbers is - * only supported for web compatibility reasons. - * - * The following example mocks a `setTimeout` function and - * by using `.tick` advances in - * time triggering all pending timers. - * - * ```js - * import assert from 'node:assert'; - * import { test } from 'node:test'; - * - * test('mocks setTimeout to be executed synchronously without having to actually wait for it', (context) => { - * const fn = context.mock.fn(); - * - * context.mock.timers.enable({ apis: ['setTimeout'] }); - * - * setTimeout(fn, 9999); - * - * assert.strictEqual(fn.mock.callCount(), 0); - * - * // Advance in time - * context.mock.timers.tick(9999); - * - * assert.strictEqual(fn.mock.callCount(), 1); - * }); - * ``` - * - * Alternativelly, the `.tick` function can be called many times - * - * ```js - * import assert from 'node:assert'; - * import { test } from 'node:test'; - * - * test('mocks setTimeout to be executed synchronously without having to actually wait for it', (context) => { - * const fn = context.mock.fn(); - * context.mock.timers.enable({ apis: ['setTimeout'] }); - * const nineSecs = 9000; - * setTimeout(fn, nineSecs); - * - * const twoSeconds = 3000; - * context.mock.timers.tick(twoSeconds); - * context.mock.timers.tick(twoSeconds); - * context.mock.timers.tick(twoSeconds); - * - * assert.strictEqual(fn.mock.callCount(), 1); - * }); - * ``` - * - * Advancing time using `.tick` will also advance the time for any `Date` object - * created after the mock was enabled (if `Date` was also set to be mocked). - * - * ```js - * import assert from 'node:assert'; - * import { test } from 'node:test'; - * - * test('mocks setTimeout to be executed synchronously without having to actually wait for it', (context) => { - * const fn = context.mock.fn(); - * - * context.mock.timers.enable({ apis: ['setTimeout', 'Date'] }); - * setTimeout(fn, 9999); - * - * assert.strictEqual(fn.mock.callCount(), 0); - * assert.strictEqual(Date.now(), 0); - * - * // Advance in time - * context.mock.timers.tick(9999); - * assert.strictEqual(fn.mock.callCount(), 1); - * assert.strictEqual(Date.now(), 9999); - * }); - * ``` - * @since v20.4.0 - */ - tick(milliseconds: number): void; - /** - * Triggers all pending mocked timers immediately. If the `Date` object is also - * mocked, it will also advance the `Date` object to the furthest timer's time. - * - * The example below triggers all pending timers immediately, - * causing them to execute without any delay. - * - * ```js - * import assert from 'node:assert'; - * import { test } from 'node:test'; - * - * test('runAll functions following the given order', (context) => { - * context.mock.timers.enable({ apis: ['setTimeout', 'Date'] }); - * const results = []; - * setTimeout(() => results.push(1), 9999); - * - * // Notice that if both timers have the same timeout, - * // the order of execution is guaranteed - * setTimeout(() => results.push(3), 8888); - * setTimeout(() => results.push(2), 8888); - * - * assert.deepStrictEqual(results, []); - * - * context.mock.timers.runAll(); - * assert.deepStrictEqual(results, [3, 2, 1]); - * // The Date object is also advanced to the furthest timer's time - * assert.strictEqual(Date.now(), 9999); - * }); - * ``` - * - * **Note:** The `runAll()` function is specifically designed for - * triggering timers in the context of timer mocking. - * It does not have any effect on real-time system - * clocks or actual timers outside of the mocking environment. - * @since v20.4.0 - */ - runAll(): void; - /** - * Calls {@link MockTimers.reset()}. - */ - [Symbol.dispose](): void; - } - export { - after, - afterEach, - before, - beforeEach, - describe, - it, - Mock, - mock, - only, - run, - skip, - test, - test as default, - todo, - }; -} - -interface TestLocationInfo { - /** - * The column number where the test is defined, or - * `undefined` if the test was run through the REPL. - */ - column?: number; - /** - * The path of the test file, `undefined` if test is not ran through a file. - */ - file?: string; - /** - * The line number where the test is defined, or - * `undefined` if the test was run through the REPL. - */ - line?: number; -} -interface DiagnosticData extends TestLocationInfo { - /** - * The diagnostic message. - */ - message: string; - /** - * The nesting level of the test. - */ - nesting: number; -} -interface TestFail extends TestLocationInfo { - /** - * Additional execution metadata. - */ - details: { - /** - * The duration of the test in milliseconds. - */ - duration_ms: number; - /** - * The error thrown by the test. - */ - error: Error; - /** - * The type of the test, used to denote whether this is a suite. - * @since 20.0.0, 19.9.0, 18.17.0 - */ - type?: "suite"; - }; - /** - * The test name. - */ - name: string; - /** - * The nesting level of the test. - */ - nesting: number; - /** - * The ordinal number of the test. - */ - testNumber: number; - /** - * Present if `context.todo` is called. - */ - todo?: string | boolean; - /** - * Present if `context.skip` is called. - */ - skip?: string | boolean; -} -interface TestPass extends TestLocationInfo { - /** - * Additional execution metadata. - */ - details: { - /** - * The duration of the test in milliseconds. - */ - duration_ms: number; - /** - * The type of the test, used to denote whether this is a suite. - * @since 20.0.0, 19.9.0, 18.17.0 - */ - type?: "suite"; - }; - /** - * The test name. - */ - name: string; - /** - * The nesting level of the test. - */ - nesting: number; - /** - * The ordinal number of the test. - */ - testNumber: number; - /** - * Present if `context.todo` is called. - */ - todo?: string | boolean; - /** - * Present if `context.skip` is called. - */ - skip?: string | boolean; -} -interface TestPlan extends TestLocationInfo { - /** - * The nesting level of the test. - */ - nesting: number; - /** - * The number of subtests that have ran. - */ - count: number; -} -interface TestStart extends TestLocationInfo { - /** - * The test name. - */ - name: string; - /** - * The nesting level of the test. - */ - nesting: number; -} -interface TestStderr extends TestLocationInfo { - /** - * The message written to `stderr` - */ - message: string; -} -interface TestStdout extends TestLocationInfo { - /** - * The message written to `stdout` - */ - message: string; -} -interface TestEnqueue extends TestLocationInfo { - /** - * The test name - */ - name: string; - /** - * The nesting level of the test. - */ - nesting: number; -} -interface TestDequeue extends TestLocationInfo { - /** - * The test name - */ - name: string; - /** - * The nesting level of the test. - */ - nesting: number; -} - -/** - * The `node:test/reporters` module exposes the builtin-reporters for `node:test`. - * To access it: - * - * ```js - * import test from 'node:test/reporters'; - * ``` - * - * This module is only available under the `node:` scheme. The following will not - * work: - * - * ```js - * import test from 'test/reporters'; - * ``` - * @since v19.9.0 - * @see [source](https://github.com/nodejs/node/blob/v20.2.0/lib/test/reporters.js) - */ -declare module "node:test/reporters" { - import { Transform, TransformOptions } from "node:stream"; - - type TestEvent = - | { type: "test:diagnostic"; data: DiagnosticData } - | { type: "test:fail"; data: TestFail } - | { type: "test:pass"; data: TestPass } - | { type: "test:plan"; data: TestPlan } - | { type: "test:start"; data: TestStart } - | { type: "test:stderr"; data: TestStderr } - | { type: "test:stdout"; data: TestStdout } - | { type: "test:enqueue"; data: TestEnqueue } - | { type: "test:dequeue"; data: TestDequeue } - | { type: "test:watch:drained" }; - type TestEventGenerator = AsyncGenerator; - - /** - * The `dot` reporter outputs the test results in a compact format, - * where each passing test is represented by a `.`, - * and each failing test is represented by a `X`. - */ - function dot(source: TestEventGenerator): AsyncGenerator<"\n" | "." | "X", void>; - /** - * The `tap` reporter outputs the test results in the [TAP](https://testanything.org/) format. - */ - function tap(source: TestEventGenerator): AsyncGenerator; - /** - * The `spec` reporter outputs the test results in a human-readable format. - */ - class Spec extends Transform { - constructor(); - } - /** - * The `junit` reporter outputs test results in a jUnit XML format - */ - function junit(source: TestEventGenerator): AsyncGenerator; - class Lcov extends Transform { - constructor(opts?: TransformOptions); - } - export { dot, junit, Lcov as lcov, Spec as spec, tap, TestEvent }; -} diff --git a/node_modules/@types/node/timers.d.ts b/node_modules/@types/node/timers.d.ts deleted file mode 100644 index 039f31f..0000000 --- a/node_modules/@types/node/timers.d.ts +++ /dev/null @@ -1,240 +0,0 @@ -/** - * The `timer` module exposes a global API for scheduling functions to - * be called at some future period of time. Because the timer functions are - * globals, there is no need to call `require('node:timers')` to use the API. - * - * The timer functions within Node.js implement a similar API as the timers API - * provided by Web Browsers but use a different internal implementation that is - * built around the Node.js [Event Loop](https://nodejs.org/en/docs/guides/event-loop-timers-and-nexttick/#setimmediate-vs-settimeout). - * @see [source](https://github.com/nodejs/node/blob/v20.2.0/lib/timers.js) - */ -declare module "timers" { - import { Abortable } from "node:events"; - import { - setImmediate as setImmediatePromise, - setInterval as setIntervalPromise, - setTimeout as setTimeoutPromise, - } from "node:timers/promises"; - interface TimerOptions extends Abortable { - /** - * Set to `false` to indicate that the scheduled `Timeout` - * should not require the Node.js event loop to remain active. - * @default true - */ - ref?: boolean | undefined; - } - let setTimeout: typeof global.setTimeout; - let clearTimeout: typeof global.clearTimeout; - let setInterval: typeof global.setInterval; - let clearInterval: typeof global.clearInterval; - let setImmediate: typeof global.setImmediate; - let clearImmediate: typeof global.clearImmediate; - global { - namespace NodeJS { - // compatibility with older typings - interface Timer extends RefCounted { - hasRef(): boolean; - refresh(): this; - [Symbol.toPrimitive](): number; - } - /** - * This object is created internally and is returned from `setImmediate()`. It - * can be passed to `clearImmediate()` in order to cancel the scheduled - * actions. - * - * By default, when an immediate is scheduled, the Node.js event loop will continue - * running as long as the immediate is active. The `Immediate` object returned by `setImmediate()` exports both `immediate.ref()` and `immediate.unref()`functions that can be used to - * control this default behavior. - */ - class Immediate implements RefCounted { - /** - * When called, requests that the Node.js event loop _not_ exit so long as the`Immediate` is active. Calling `immediate.ref()` multiple times will have no - * effect. - * - * By default, all `Immediate` objects are "ref'ed", making it normally unnecessary - * to call `immediate.ref()` unless `immediate.unref()` had been called previously. - * @since v9.7.0 - * @return a reference to `immediate` - */ - ref(): this; - /** - * When called, the active `Immediate` object will not require the Node.js event - * loop to remain active. If there is no other activity keeping the event loop - * running, the process may exit before the `Immediate` object's callback is - * invoked. Calling `immediate.unref()` multiple times will have no effect. - * @since v9.7.0 - * @return a reference to `immediate` - */ - unref(): this; - /** - * If true, the `Immediate` object will keep the Node.js event loop active. - * @since v11.0.0 - */ - hasRef(): boolean; - _onImmediate: Function; // to distinguish it from the Timeout class - /** - * Cancels the immediate. This is similar to calling `clearImmediate()`. - * @since v20.5.0 - */ - [Symbol.dispose](): void; - } - /** - * This object is created internally and is returned from `setTimeout()` and `setInterval()`. It can be passed to either `clearTimeout()` or `clearInterval()` in order to cancel the - * scheduled actions. - * - * By default, when a timer is scheduled using either `setTimeout()` or `setInterval()`, the Node.js event loop will continue running as long as the - * timer is active. Each of the `Timeout` objects returned by these functions - * export both `timeout.ref()` and `timeout.unref()` functions that can be used to - * control this default behavior. - */ - class Timeout implements Timer { - /** - * When called, requests that the Node.js event loop _not_ exit so long as the`Timeout` is active. Calling `timeout.ref()` multiple times will have no effect. - * - * By default, all `Timeout` objects are "ref'ed", making it normally unnecessary - * to call `timeout.ref()` unless `timeout.unref()` had been called previously. - * @since v0.9.1 - * @return a reference to `timeout` - */ - ref(): this; - /** - * When called, the active `Timeout` object will not require the Node.js event loop - * to remain active. If there is no other activity keeping the event loop running, - * the process may exit before the `Timeout` object's callback is invoked. Calling`timeout.unref()` multiple times will have no effect. - * @since v0.9.1 - * @return a reference to `timeout` - */ - unref(): this; - /** - * If true, the `Timeout` object will keep the Node.js event loop active. - * @since v11.0.0 - */ - hasRef(): boolean; - /** - * Sets the timer's start time to the current time, and reschedules the timer to - * call its callback at the previously specified duration adjusted to the current - * time. This is useful for refreshing a timer without allocating a new - * JavaScript object. - * - * Using this on a timer that has already called its callback will reactivate the - * timer. - * @since v10.2.0 - * @return a reference to `timeout` - */ - refresh(): this; - [Symbol.toPrimitive](): number; - /** - * Cancels the timeout. - * @since v20.5.0 - */ - [Symbol.dispose](): void; - } - } - /** - * Schedules execution of a one-time `callback` after `delay` milliseconds. - * - * The `callback` will likely not be invoked in precisely `delay` milliseconds. - * Node.js makes no guarantees about the exact timing of when callbacks will fire, - * nor of their ordering. The callback will be called as close as possible to the - * time specified. - * - * When `delay` is larger than `2147483647` or less than `1`, the `delay`will be set to `1`. Non-integer delays are truncated to an integer. - * - * If `callback` is not a function, a `TypeError` will be thrown. - * - * This method has a custom variant for promises that is available using `timersPromises.setTimeout()`. - * @since v0.0.1 - * @param callback The function to call when the timer elapses. - * @param [delay=1] The number of milliseconds to wait before calling the `callback`. - * @param args Optional arguments to pass when the `callback` is called. - * @return for use with {@link clearTimeout} - */ - function setTimeout( - callback: (...args: TArgs) => void, - ms?: number, - ...args: TArgs - ): NodeJS.Timeout; - // util.promisify no rest args compability - // eslint-disable-next-line @typescript-eslint/no-invalid-void-type - function setTimeout(callback: (args: void) => void, ms?: number): NodeJS.Timeout; - namespace setTimeout { - const __promisify__: typeof setTimeoutPromise; - } - /** - * Cancels a `Timeout` object created by `setTimeout()`. - * @since v0.0.1 - * @param timeout A `Timeout` object as returned by {@link setTimeout} or the `primitive` of the `Timeout` object as a string or a number. - */ - function clearTimeout(timeoutId: NodeJS.Timeout | string | number | undefined): void; - /** - * Schedules repeated execution of `callback` every `delay` milliseconds. - * - * When `delay` is larger than `2147483647` or less than `1`, the `delay` will be - * set to `1`. Non-integer delays are truncated to an integer. - * - * If `callback` is not a function, a `TypeError` will be thrown. - * - * This method has a custom variant for promises that is available using `timersPromises.setInterval()`. - * @since v0.0.1 - * @param callback The function to call when the timer elapses. - * @param [delay=1] The number of milliseconds to wait before calling the `callback`. - * @param args Optional arguments to pass when the `callback` is called. - * @return for use with {@link clearInterval} - */ - function setInterval( - callback: (...args: TArgs) => void, - ms?: number, - ...args: TArgs - ): NodeJS.Timeout; - // util.promisify no rest args compability - // eslint-disable-next-line @typescript-eslint/no-invalid-void-type - function setInterval(callback: (args: void) => void, ms?: number): NodeJS.Timeout; - namespace setInterval { - const __promisify__: typeof setIntervalPromise; - } - /** - * Cancels a `Timeout` object created by `setInterval()`. - * @since v0.0.1 - * @param timeout A `Timeout` object as returned by {@link setInterval} or the `primitive` of the `Timeout` object as a string or a number. - */ - function clearInterval(intervalId: NodeJS.Timeout | string | number | undefined): void; - /** - * Schedules the "immediate" execution of the `callback` after I/O events' - * callbacks. - * - * When multiple calls to `setImmediate()` are made, the `callback` functions are - * queued for execution in the order in which they are created. The entire callback - * queue is processed every event loop iteration. If an immediate timer is queued - * from inside an executing callback, that timer will not be triggered until the - * next event loop iteration. - * - * If `callback` is not a function, a `TypeError` will be thrown. - * - * This method has a custom variant for promises that is available using `timersPromises.setImmediate()`. - * @since v0.9.1 - * @param callback The function to call at the end of this turn of the Node.js `Event Loop` - * @param args Optional arguments to pass when the `callback` is called. - * @return for use with {@link clearImmediate} - */ - function setImmediate( - callback: (...args: TArgs) => void, - ...args: TArgs - ): NodeJS.Immediate; - // util.promisify no rest args compability - // eslint-disable-next-line @typescript-eslint/no-invalid-void-type - function setImmediate(callback: (args: void) => void): NodeJS.Immediate; - namespace setImmediate { - const __promisify__: typeof setImmediatePromise; - } - /** - * Cancels an `Immediate` object created by `setImmediate()`. - * @since v0.9.1 - * @param immediate An `Immediate` object as returned by {@link setImmediate}. - */ - function clearImmediate(immediateId: NodeJS.Immediate | undefined): void; - function queueMicrotask(callback: () => void): void; - } -} -declare module "node:timers" { - export * from "timers"; -} diff --git a/node_modules/@types/node/timers/promises.d.ts b/node_modules/@types/node/timers/promises.d.ts deleted file mode 100644 index 5a54dc7..0000000 --- a/node_modules/@types/node/timers/promises.d.ts +++ /dev/null @@ -1,93 +0,0 @@ -/** - * The `timers/promises` API provides an alternative set of timer functions - * that return `Promise` objects. The API is accessible via`require('node:timers/promises')`. - * - * ```js - * import { - * setTimeout, - * setImmediate, - * setInterval, - * } from 'timers/promises'; - * ``` - * @since v15.0.0 - */ -declare module "timers/promises" { - import { TimerOptions } from "node:timers"; - /** - * ```js - * import { - * setTimeout, - * } from 'timers/promises'; - * - * const res = await setTimeout(100, 'result'); - * - * console.log(res); // Prints 'result' - * ``` - * @since v15.0.0 - * @param [delay=1] The number of milliseconds to wait before fulfilling the promise. - * @param value A value with which the promise is fulfilled. - */ - function setTimeout(delay?: number, value?: T, options?: TimerOptions): Promise; - /** - * ```js - * import { - * setImmediate, - * } from 'timers/promises'; - * - * const res = await setImmediate('result'); - * - * console.log(res); // Prints 'result' - * ``` - * @since v15.0.0 - * @param value A value with which the promise is fulfilled. - */ - function setImmediate(value?: T, options?: TimerOptions): Promise; - /** - * Returns an async iterator that generates values in an interval of `delay` ms. - * If `ref` is `true`, you need to call `next()` of async iterator explicitly - * or implicitly to keep the event loop alive. - * - * ```js - * import { - * setInterval, - * } from 'timers/promises'; - * - * const interval = 100; - * for await (const startTime of setInterval(interval, Date.now())) { - * const now = Date.now(); - * console.log(now); - * if ((now - startTime) > 1000) - * break; - * } - * console.log(Date.now()); - * ``` - * @since v15.9.0 - */ - function setInterval(delay?: number, value?: T, options?: TimerOptions): AsyncIterable; - interface Scheduler { - /** - * ```js - * import { scheduler } from 'node:timers/promises'; - * - * await scheduler.wait(1000); // Wait one second before continuing - * ``` - * An experimental API defined by the Scheduling APIs draft specification being developed as a standard Web Platform API. - * Calling timersPromises.scheduler.wait(delay, options) is roughly equivalent to calling timersPromises.setTimeout(delay, undefined, options) except that the ref option is not supported. - * @since v16.14.0 - * @experimental - * @param [delay=1] The number of milliseconds to wait before fulfilling the promise. - */ - wait: (delay?: number, options?: TimerOptions) => Promise; - /** - * An experimental API defined by the Scheduling APIs draft specification being developed as a standard Web Platform API. - * Calling timersPromises.scheduler.yield() is equivalent to calling timersPromises.setImmediate() with no arguments. - * @since v16.14.0 - * @experimental - */ - yield: () => Promise; - } - const scheduler: Scheduler; -} -declare module "node:timers/promises" { - export * from "timers/promises"; -} diff --git a/node_modules/@types/node/tls.d.ts b/node_modules/@types/node/tls.d.ts deleted file mode 100644 index 9f6d6be..0000000 --- a/node_modules/@types/node/tls.d.ts +++ /dev/null @@ -1,1210 +0,0 @@ -/** - * The `node:tls` module provides an implementation of the Transport Layer Security - * (TLS) and Secure Socket Layer (SSL) protocols that is built on top of OpenSSL. - * The module can be accessed using: - * - * ```js - * const tls = require('node:tls'); - * ``` - * @see [source](https://github.com/nodejs/node/blob/v20.2.0/lib/tls.js) - */ -declare module "tls" { - import { X509Certificate } from "node:crypto"; - import * as net from "node:net"; - import * as stream from "stream"; - const CLIENT_RENEG_LIMIT: number; - const CLIENT_RENEG_WINDOW: number; - interface Certificate { - /** - * Country code. - */ - C: string; - /** - * Street. - */ - ST: string; - /** - * Locality. - */ - L: string; - /** - * Organization. - */ - O: string; - /** - * Organizational unit. - */ - OU: string; - /** - * Common name. - */ - CN: string; - } - interface PeerCertificate { - /** - * `true` if a Certificate Authority (CA), `false` otherwise. - * @since v18.13.0 - */ - ca: boolean; - /** - * The DER encoded X.509 certificate data. - */ - raw: Buffer; - /** - * The certificate subject. - */ - subject: Certificate; - /** - * The certificate issuer, described in the same terms as the `subject`. - */ - issuer: Certificate; - /** - * The date-time the certificate is valid from. - */ - valid_from: string; - /** - * The date-time the certificate is valid to. - */ - valid_to: string; - /** - * The certificate serial number, as a hex string. - */ - serialNumber: string; - /** - * The SHA-1 digest of the DER encoded certificate. - * It is returned as a `:` separated hexadecimal string. - */ - fingerprint: string; - /** - * The SHA-256 digest of the DER encoded certificate. - * It is returned as a `:` separated hexadecimal string. - */ - fingerprint256: string; - /** - * The SHA-512 digest of the DER encoded certificate. - * It is returned as a `:` separated hexadecimal string. - */ - fingerprint512: string; - /** - * The extended key usage, a set of OIDs. - */ - ext_key_usage?: string[]; - /** - * A string containing concatenated names for the subject, - * an alternative to the `subject` names. - */ - subjectaltname?: string; - /** - * An array describing the AuthorityInfoAccess, used with OCSP. - */ - infoAccess?: NodeJS.Dict; - /** - * For RSA keys: The RSA bit size. - * - * For EC keys: The key size in bits. - */ - bits?: number; - /** - * The RSA exponent, as a string in hexadecimal number notation. - */ - exponent?: string; - /** - * The RSA modulus, as a hexadecimal string. - */ - modulus?: string; - /** - * The public key. - */ - pubkey?: Buffer; - /** - * The ASN.1 name of the OID of the elliptic curve. - * Well-known curves are identified by an OID. - * While it is unusual, it is possible that the curve - * is identified by its mathematical properties, - * in which case it will not have an OID. - */ - asn1Curve?: string; - /** - * The NIST name for the elliptic curve,if it has one - * (not all well-known curves have been assigned names by NIST). - */ - nistCurve?: string; - } - interface DetailedPeerCertificate extends PeerCertificate { - /** - * The issuer certificate object. - * For self-signed certificates, this may be a circular reference. - */ - issuerCertificate: DetailedPeerCertificate; - } - interface CipherNameAndProtocol { - /** - * The cipher name. - */ - name: string; - /** - * SSL/TLS protocol version. - */ - version: string; - /** - * IETF name for the cipher suite. - */ - standardName: string; - } - interface EphemeralKeyInfo { - /** - * The supported types are 'DH' and 'ECDH'. - */ - type: string; - /** - * The name property is available only when type is 'ECDH'. - */ - name?: string | undefined; - /** - * The size of parameter of an ephemeral key exchange. - */ - size: number; - } - interface KeyObject { - /** - * Private keys in PEM format. - */ - pem: string | Buffer; - /** - * Optional passphrase. - */ - passphrase?: string | undefined; - } - interface PxfObject { - /** - * PFX or PKCS12 encoded private key and certificate chain. - */ - buf: string | Buffer; - /** - * Optional passphrase. - */ - passphrase?: string | undefined; - } - interface TLSSocketOptions extends SecureContextOptions, CommonConnectionOptions { - /** - * If true the TLS socket will be instantiated in server-mode. - * Defaults to false. - */ - isServer?: boolean | undefined; - /** - * An optional net.Server instance. - */ - server?: net.Server | undefined; - /** - * An optional Buffer instance containing a TLS session. - */ - session?: Buffer | undefined; - /** - * If true, specifies that the OCSP status request extension will be - * added to the client hello and an 'OCSPResponse' event will be - * emitted on the socket before establishing a secure communication - */ - requestOCSP?: boolean | undefined; - } - /** - * Performs transparent encryption of written data and all required TLS - * negotiation. - * - * Instances of `tls.TLSSocket` implement the duplex `Stream` interface. - * - * Methods that return TLS connection metadata (e.g.{@link TLSSocket.getPeerCertificate}) will only return data while the - * connection is open. - * @since v0.11.4 - */ - class TLSSocket extends net.Socket { - /** - * Construct a new tls.TLSSocket object from an existing TCP socket. - */ - constructor(socket: net.Socket | stream.Duplex, options?: TLSSocketOptions); - /** - * This property is `true` if the peer certificate was signed by one of the CAs - * specified when creating the `tls.TLSSocket` instance, otherwise `false`. - * @since v0.11.4 - */ - authorized: boolean; - /** - * Returns the reason why the peer's certificate was not been verified. This - * property is set only when `tlsSocket.authorized === false`. - * @since v0.11.4 - */ - authorizationError: Error; - /** - * Always returns `true`. This may be used to distinguish TLS sockets from regular`net.Socket` instances. - * @since v0.11.4 - */ - encrypted: true; - /** - * String containing the selected ALPN protocol. - * Before a handshake has completed, this value is always null. - * When a handshake is completed but not ALPN protocol was selected, tlsSocket.alpnProtocol equals false. - */ - alpnProtocol: string | false | null; - /** - * Returns an object representing the local certificate. The returned object has - * some properties corresponding to the fields of the certificate. - * - * See {@link TLSSocket.getPeerCertificate} for an example of the certificate - * structure. - * - * If there is no local certificate, an empty object will be returned. If the - * socket has been destroyed, `null` will be returned. - * @since v11.2.0 - */ - getCertificate(): PeerCertificate | object | null; - /** - * Returns an object containing information on the negotiated cipher suite. - * - * For example, a TLSv1.2 protocol with AES256-SHA cipher: - * - * ```json - * { - * "name": "AES256-SHA", - * "standardName": "TLS_RSA_WITH_AES_256_CBC_SHA", - * "version": "SSLv3" - * } - * ``` - * - * See [SSL\_CIPHER\_get\_name](https://www.openssl.org/docs/man1.1.1/man3/SSL_CIPHER_get_name.html) for more information. - * @since v0.11.4 - */ - getCipher(): CipherNameAndProtocol; - /** - * Returns an object representing the type, name, and size of parameter of - * an ephemeral key exchange in `perfect forward secrecy` on a client - * connection. It returns an empty object when the key exchange is not - * ephemeral. As this is only supported on a client socket; `null` is returned - * if called on a server socket. The supported types are `'DH'` and `'ECDH'`. The`name` property is available only when type is `'ECDH'`. - * - * For example: `{ type: 'ECDH', name: 'prime256v1', size: 256 }`. - * @since v5.0.0 - */ - getEphemeralKeyInfo(): EphemeralKeyInfo | object | null; - /** - * As the `Finished` messages are message digests of the complete handshake - * (with a total of 192 bits for TLS 1.0 and more for SSL 3.0), they can - * be used for external authentication procedures when the authentication - * provided by SSL/TLS is not desired or is not enough. - * - * Corresponds to the `SSL_get_finished` routine in OpenSSL and may be used - * to implement the `tls-unique` channel binding from [RFC 5929](https://tools.ietf.org/html/rfc5929). - * @since v9.9.0 - * @return The latest `Finished` message that has been sent to the socket as part of a SSL/TLS handshake, or `undefined` if no `Finished` message has been sent yet. - */ - getFinished(): Buffer | undefined; - /** - * Returns an object representing the peer's certificate. If the peer does not - * provide a certificate, an empty object will be returned. If the socket has been - * destroyed, `null` will be returned. - * - * If the full certificate chain was requested, each certificate will include an`issuerCertificate` property containing an object representing its issuer's - * certificate. - * @since v0.11.4 - * @param detailed Include the full certificate chain if `true`, otherwise include just the peer's certificate. - * @return A certificate object. - */ - getPeerCertificate(detailed: true): DetailedPeerCertificate; - getPeerCertificate(detailed?: false): PeerCertificate; - getPeerCertificate(detailed?: boolean): PeerCertificate | DetailedPeerCertificate; - /** - * As the `Finished` messages are message digests of the complete handshake - * (with a total of 192 bits for TLS 1.0 and more for SSL 3.0), they can - * be used for external authentication procedures when the authentication - * provided by SSL/TLS is not desired or is not enough. - * - * Corresponds to the `SSL_get_peer_finished` routine in OpenSSL and may be used - * to implement the `tls-unique` channel binding from [RFC 5929](https://tools.ietf.org/html/rfc5929). - * @since v9.9.0 - * @return The latest `Finished` message that is expected or has actually been received from the socket as part of a SSL/TLS handshake, or `undefined` if there is no `Finished` message so - * far. - */ - getPeerFinished(): Buffer | undefined; - /** - * Returns a string containing the negotiated SSL/TLS protocol version of the - * current connection. The value `'unknown'` will be returned for connected - * sockets that have not completed the handshaking process. The value `null` will - * be returned for server sockets or disconnected client sockets. - * - * Protocol versions are: - * - * * `'SSLv3'` - * * `'TLSv1'` - * * `'TLSv1.1'` - * * `'TLSv1.2'` - * * `'TLSv1.3'` - * - * See the OpenSSL [`SSL_get_version`](https://www.openssl.org/docs/man1.1.1/man3/SSL_get_version.html) documentation for more information. - * @since v5.7.0 - */ - getProtocol(): string | null; - /** - * Returns the TLS session data or `undefined` if no session was - * negotiated. On the client, the data can be provided to the `session` option of {@link connect} to resume the connection. On the server, it may be useful - * for debugging. - * - * See `Session Resumption` for more information. - * - * Note: `getSession()` works only for TLSv1.2 and below. For TLSv1.3, applications - * must use the `'session'` event (it also works for TLSv1.2 and below). - * @since v0.11.4 - */ - getSession(): Buffer | undefined; - /** - * See [SSL\_get\_shared\_sigalgs](https://www.openssl.org/docs/man1.1.1/man3/SSL_get_shared_sigalgs.html) for more information. - * @since v12.11.0 - * @return List of signature algorithms shared between the server and the client in the order of decreasing preference. - */ - getSharedSigalgs(): string[]; - /** - * For a client, returns the TLS session ticket if one is available, or`undefined`. For a server, always returns `undefined`. - * - * It may be useful for debugging. - * - * See `Session Resumption` for more information. - * @since v0.11.4 - */ - getTLSTicket(): Buffer | undefined; - /** - * See `Session Resumption` for more information. - * @since v0.5.6 - * @return `true` if the session was reused, `false` otherwise. - */ - isSessionReused(): boolean; - /** - * The `tlsSocket.renegotiate()` method initiates a TLS renegotiation process. - * Upon completion, the `callback` function will be passed a single argument - * that is either an `Error` (if the request failed) or `null`. - * - * This method can be used to request a peer's certificate after the secure - * connection has been established. - * - * When running as the server, the socket will be destroyed with an error after`handshakeTimeout` timeout. - * - * For TLSv1.3, renegotiation cannot be initiated, it is not supported by the - * protocol. - * @since v0.11.8 - * @param callback If `renegotiate()` returned `true`, callback is attached once to the `'secure'` event. If `renegotiate()` returned `false`, `callback` will be called in the next tick with - * an error, unless the `tlsSocket` has been destroyed, in which case `callback` will not be called at all. - * @return `true` if renegotiation was initiated, `false` otherwise. - */ - renegotiate( - options: { - rejectUnauthorized?: boolean | undefined; - requestCert?: boolean | undefined; - }, - callback: (err: Error | null) => void, - ): undefined | boolean; - /** - * The `tlsSocket.setMaxSendFragment()` method sets the maximum TLS fragment size. - * Returns `true` if setting the limit succeeded; `false` otherwise. - * - * Smaller fragment sizes decrease the buffering latency on the client: larger - * fragments are buffered by the TLS layer until the entire fragment is received - * and its integrity is verified; large fragments can span multiple roundtrips - * and their processing can be delayed due to packet loss or reordering. However, - * smaller fragments add extra TLS framing bytes and CPU overhead, which may - * decrease overall server throughput. - * @since v0.11.11 - * @param [size=16384] The maximum TLS fragment size. The maximum value is `16384`. - */ - setMaxSendFragment(size: number): boolean; - /** - * Disables TLS renegotiation for this `TLSSocket` instance. Once called, attempts - * to renegotiate will trigger an `'error'` event on the `TLSSocket`. - * @since v8.4.0 - */ - disableRenegotiation(): void; - /** - * When enabled, TLS packet trace information is written to `stderr`. This can be - * used to debug TLS connection problems. - * - * The format of the output is identical to the output of`openssl s_client -trace` or `openssl s_server -trace`. While it is produced by - * OpenSSL's `SSL_trace()` function, the format is undocumented, can change - * without notice, and should not be relied on. - * @since v12.2.0 - */ - enableTrace(): void; - /** - * Returns the peer certificate as an `X509Certificate` object. - * - * If there is no peer certificate, or the socket has been destroyed,`undefined` will be returned. - * @since v15.9.0 - */ - getPeerX509Certificate(): X509Certificate | undefined; - /** - * Returns the local certificate as an `X509Certificate` object. - * - * If there is no local certificate, or the socket has been destroyed,`undefined` will be returned. - * @since v15.9.0 - */ - getX509Certificate(): X509Certificate | undefined; - /** - * Keying material is used for validations to prevent different kind of attacks in - * network protocols, for example in the specifications of IEEE 802.1X. - * - * Example - * - * ```js - * const keyingMaterial = tlsSocket.exportKeyingMaterial( - * 128, - * 'client finished'); - * - * /* - * Example return value of keyingMaterial: - * - * - * ``` - * - * See the OpenSSL [`SSL_export_keying_material`](https://www.openssl.org/docs/man1.1.1/man3/SSL_export_keying_material.html) documentation for more - * information. - * @since v13.10.0, v12.17.0 - * @param length number of bytes to retrieve from keying material - * @param label an application specific label, typically this will be a value from the [IANA Exporter Label - * Registry](https://www.iana.org/assignments/tls-parameters/tls-parameters.xhtml#exporter-labels). - * @param context Optionally provide a context. - * @return requested bytes of the keying material - */ - exportKeyingMaterial(length: number, label: string, context: Buffer): Buffer; - addListener(event: string, listener: (...args: any[]) => void): this; - addListener(event: "OCSPResponse", listener: (response: Buffer) => void): this; - addListener(event: "secureConnect", listener: () => void): this; - addListener(event: "session", listener: (session: Buffer) => void): this; - addListener(event: "keylog", listener: (line: Buffer) => void): this; - emit(event: string | symbol, ...args: any[]): boolean; - emit(event: "OCSPResponse", response: Buffer): boolean; - emit(event: "secureConnect"): boolean; - emit(event: "session", session: Buffer): boolean; - emit(event: "keylog", line: Buffer): boolean; - on(event: string, listener: (...args: any[]) => void): this; - on(event: "OCSPResponse", listener: (response: Buffer) => void): this; - on(event: "secureConnect", listener: () => void): this; - on(event: "session", listener: (session: Buffer) => void): this; - on(event: "keylog", listener: (line: Buffer) => void): this; - once(event: string, listener: (...args: any[]) => void): this; - once(event: "OCSPResponse", listener: (response: Buffer) => void): this; - once(event: "secureConnect", listener: () => void): this; - once(event: "session", listener: (session: Buffer) => void): this; - once(event: "keylog", listener: (line: Buffer) => void): this; - prependListener(event: string, listener: (...args: any[]) => void): this; - prependListener(event: "OCSPResponse", listener: (response: Buffer) => void): this; - prependListener(event: "secureConnect", listener: () => void): this; - prependListener(event: "session", listener: (session: Buffer) => void): this; - prependListener(event: "keylog", listener: (line: Buffer) => void): this; - prependOnceListener(event: string, listener: (...args: any[]) => void): this; - prependOnceListener(event: "OCSPResponse", listener: (response: Buffer) => void): this; - prependOnceListener(event: "secureConnect", listener: () => void): this; - prependOnceListener(event: "session", listener: (session: Buffer) => void): this; - prependOnceListener(event: "keylog", listener: (line: Buffer) => void): this; - } - interface CommonConnectionOptions { - /** - * An optional TLS context object from tls.createSecureContext() - */ - secureContext?: SecureContext | undefined; - /** - * When enabled, TLS packet trace information is written to `stderr`. This can be - * used to debug TLS connection problems. - * @default false - */ - enableTrace?: boolean | undefined; - /** - * If true the server will request a certificate from clients that - * connect and attempt to verify that certificate. Defaults to - * false. - */ - requestCert?: boolean | undefined; - /** - * An array of strings or a Buffer naming possible ALPN protocols. - * (Protocols should be ordered by their priority.) - */ - ALPNProtocols?: string[] | Uint8Array[] | Uint8Array | undefined; - /** - * SNICallback(servername, cb) A function that will be - * called if the client supports SNI TLS extension. Two arguments - * will be passed when called: servername and cb. SNICallback should - * invoke cb(null, ctx), where ctx is a SecureContext instance. - * (tls.createSecureContext(...) can be used to get a proper - * SecureContext.) If SNICallback wasn't provided the default callback - * with high-level API will be used (see below). - */ - SNICallback?: ((servername: string, cb: (err: Error | null, ctx?: SecureContext) => void) => void) | undefined; - /** - * If true the server will reject any connection which is not - * authorized with the list of supplied CAs. This option only has an - * effect if requestCert is true. - * @default true - */ - rejectUnauthorized?: boolean | undefined; - } - interface TlsOptions extends SecureContextOptions, CommonConnectionOptions, net.ServerOpts { - /** - * Abort the connection if the SSL/TLS handshake does not finish in the - * specified number of milliseconds. A 'tlsClientError' is emitted on - * the tls.Server object whenever a handshake times out. Default: - * 120000 (120 seconds). - */ - handshakeTimeout?: number | undefined; - /** - * The number of seconds after which a TLS session created by the - * server will no longer be resumable. See Session Resumption for more - * information. Default: 300. - */ - sessionTimeout?: number | undefined; - /** - * 48-bytes of cryptographically strong pseudo-random data. - */ - ticketKeys?: Buffer | undefined; - /** - * @param socket - * @param identity identity parameter sent from the client. - * @return pre-shared key that must either be - * a buffer or `null` to stop the negotiation process. Returned PSK must be - * compatible with the selected cipher's digest. - * - * When negotiating TLS-PSK (pre-shared keys), this function is called - * with the identity provided by the client. - * If the return value is `null` the negotiation process will stop and an - * "unknown_psk_identity" alert message will be sent to the other party. - * If the server wishes to hide the fact that the PSK identity was not known, - * the callback must provide some random data as `psk` to make the connection - * fail with "decrypt_error" before negotiation is finished. - * PSK ciphers are disabled by default, and using TLS-PSK thus - * requires explicitly specifying a cipher suite with the `ciphers` option. - * More information can be found in the RFC 4279. - */ - pskCallback?(socket: TLSSocket, identity: string): DataView | NodeJS.TypedArray | null; - /** - * hint to send to a client to help - * with selecting the identity during TLS-PSK negotiation. Will be ignored - * in TLS 1.3. Upon failing to set pskIdentityHint `tlsClientError` will be - * emitted with `ERR_TLS_PSK_SET_IDENTIY_HINT_FAILED` code. - */ - pskIdentityHint?: string | undefined; - } - interface PSKCallbackNegotation { - psk: DataView | NodeJS.TypedArray; - identity: string; - } - interface ConnectionOptions extends SecureContextOptions, CommonConnectionOptions { - host?: string | undefined; - port?: number | undefined; - path?: string | undefined; // Creates unix socket connection to path. If this option is specified, `host` and `port` are ignored. - socket?: stream.Duplex | undefined; // Establish secure connection on a given socket rather than creating a new socket - checkServerIdentity?: typeof checkServerIdentity | undefined; - servername?: string | undefined; // SNI TLS Extension - session?: Buffer | undefined; - minDHSize?: number | undefined; - lookup?: net.LookupFunction | undefined; - timeout?: number | undefined; - /** - * When negotiating TLS-PSK (pre-shared keys), this function is called - * with optional identity `hint` provided by the server or `null` - * in case of TLS 1.3 where `hint` was removed. - * It will be necessary to provide a custom `tls.checkServerIdentity()` - * for the connection as the default one will try to check hostname/IP - * of the server against the certificate but that's not applicable for PSK - * because there won't be a certificate present. - * More information can be found in the RFC 4279. - * - * @param hint message sent from the server to help client - * decide which identity to use during negotiation. - * Always `null` if TLS 1.3 is used. - * @returns Return `null` to stop the negotiation process. `psk` must be - * compatible with the selected cipher's digest. - * `identity` must use UTF-8 encoding. - */ - pskCallback?(hint: string | null): PSKCallbackNegotation | null; - } - /** - * Accepts encrypted connections using TLS or SSL. - * @since v0.3.2 - */ - class Server extends net.Server { - constructor(secureConnectionListener?: (socket: TLSSocket) => void); - constructor(options: TlsOptions, secureConnectionListener?: (socket: TLSSocket) => void); - /** - * The `server.addContext()` method adds a secure context that will be used if - * the client request's SNI name matches the supplied `hostname` (or wildcard). - * - * When there are multiple matching contexts, the most recently added one is - * used. - * @since v0.5.3 - * @param hostname A SNI host name or wildcard (e.g. `'*'`) - * @param context An object containing any of the possible properties from the {@link createSecureContext} `options` arguments (e.g. `key`, `cert`, `ca`, etc), or a TLS context object created - * with {@link createSecureContext} itself. - */ - addContext(hostname: string, context: SecureContextOptions): void; - /** - * Returns the session ticket keys. - * - * See `Session Resumption` for more information. - * @since v3.0.0 - * @return A 48-byte buffer containing the session ticket keys. - */ - getTicketKeys(): Buffer; - /** - * The `server.setSecureContext()` method replaces the secure context of an - * existing server. Existing connections to the server are not interrupted. - * @since v11.0.0 - * @param options An object containing any of the possible properties from the {@link createSecureContext} `options` arguments (e.g. `key`, `cert`, `ca`, etc). - */ - setSecureContext(options: SecureContextOptions): void; - /** - * Sets the session ticket keys. - * - * Changes to the ticket keys are effective only for future server connections. - * Existing or currently pending server connections will use the previous keys. - * - * See `Session Resumption` for more information. - * @since v3.0.0 - * @param keys A 48-byte buffer containing the session ticket keys. - */ - setTicketKeys(keys: Buffer): void; - /** - * events.EventEmitter - * 1. tlsClientError - * 2. newSession - * 3. OCSPRequest - * 4. resumeSession - * 5. secureConnection - * 6. keylog - */ - addListener(event: string, listener: (...args: any[]) => void): this; - addListener(event: "tlsClientError", listener: (err: Error, tlsSocket: TLSSocket) => void): this; - addListener( - event: "newSession", - listener: (sessionId: Buffer, sessionData: Buffer, callback: () => void) => void, - ): this; - addListener( - event: "OCSPRequest", - listener: ( - certificate: Buffer, - issuer: Buffer, - callback: (err: Error | null, resp: Buffer) => void, - ) => void, - ): this; - addListener( - event: "resumeSession", - listener: (sessionId: Buffer, callback: (err: Error | null, sessionData: Buffer | null) => void) => void, - ): this; - addListener(event: "secureConnection", listener: (tlsSocket: TLSSocket) => void): this; - addListener(event: "keylog", listener: (line: Buffer, tlsSocket: TLSSocket) => void): this; - emit(event: string | symbol, ...args: any[]): boolean; - emit(event: "tlsClientError", err: Error, tlsSocket: TLSSocket): boolean; - emit(event: "newSession", sessionId: Buffer, sessionData: Buffer, callback: () => void): boolean; - emit( - event: "OCSPRequest", - certificate: Buffer, - issuer: Buffer, - callback: (err: Error | null, resp: Buffer) => void, - ): boolean; - emit( - event: "resumeSession", - sessionId: Buffer, - callback: (err: Error | null, sessionData: Buffer | null) => void, - ): boolean; - emit(event: "secureConnection", tlsSocket: TLSSocket): boolean; - emit(event: "keylog", line: Buffer, tlsSocket: TLSSocket): boolean; - on(event: string, listener: (...args: any[]) => void): this; - on(event: "tlsClientError", listener: (err: Error, tlsSocket: TLSSocket) => void): this; - on(event: "newSession", listener: (sessionId: Buffer, sessionData: Buffer, callback: () => void) => void): this; - on( - event: "OCSPRequest", - listener: ( - certificate: Buffer, - issuer: Buffer, - callback: (err: Error | null, resp: Buffer) => void, - ) => void, - ): this; - on( - event: "resumeSession", - listener: (sessionId: Buffer, callback: (err: Error | null, sessionData: Buffer | null) => void) => void, - ): this; - on(event: "secureConnection", listener: (tlsSocket: TLSSocket) => void): this; - on(event: "keylog", listener: (line: Buffer, tlsSocket: TLSSocket) => void): this; - once(event: string, listener: (...args: any[]) => void): this; - once(event: "tlsClientError", listener: (err: Error, tlsSocket: TLSSocket) => void): this; - once( - event: "newSession", - listener: (sessionId: Buffer, sessionData: Buffer, callback: () => void) => void, - ): this; - once( - event: "OCSPRequest", - listener: ( - certificate: Buffer, - issuer: Buffer, - callback: (err: Error | null, resp: Buffer) => void, - ) => void, - ): this; - once( - event: "resumeSession", - listener: (sessionId: Buffer, callback: (err: Error | null, sessionData: Buffer | null) => void) => void, - ): this; - once(event: "secureConnection", listener: (tlsSocket: TLSSocket) => void): this; - once(event: "keylog", listener: (line: Buffer, tlsSocket: TLSSocket) => void): this; - prependListener(event: string, listener: (...args: any[]) => void): this; - prependListener(event: "tlsClientError", listener: (err: Error, tlsSocket: TLSSocket) => void): this; - prependListener( - event: "newSession", - listener: (sessionId: Buffer, sessionData: Buffer, callback: () => void) => void, - ): this; - prependListener( - event: "OCSPRequest", - listener: ( - certificate: Buffer, - issuer: Buffer, - callback: (err: Error | null, resp: Buffer) => void, - ) => void, - ): this; - prependListener( - event: "resumeSession", - listener: (sessionId: Buffer, callback: (err: Error | null, sessionData: Buffer | null) => void) => void, - ): this; - prependListener(event: "secureConnection", listener: (tlsSocket: TLSSocket) => void): this; - prependListener(event: "keylog", listener: (line: Buffer, tlsSocket: TLSSocket) => void): this; - prependOnceListener(event: string, listener: (...args: any[]) => void): this; - prependOnceListener(event: "tlsClientError", listener: (err: Error, tlsSocket: TLSSocket) => void): this; - prependOnceListener( - event: "newSession", - listener: (sessionId: Buffer, sessionData: Buffer, callback: () => void) => void, - ): this; - prependOnceListener( - event: "OCSPRequest", - listener: ( - certificate: Buffer, - issuer: Buffer, - callback: (err: Error | null, resp: Buffer) => void, - ) => void, - ): this; - prependOnceListener( - event: "resumeSession", - listener: (sessionId: Buffer, callback: (err: Error | null, sessionData: Buffer | null) => void) => void, - ): this; - prependOnceListener(event: "secureConnection", listener: (tlsSocket: TLSSocket) => void): this; - prependOnceListener(event: "keylog", listener: (line: Buffer, tlsSocket: TLSSocket) => void): this; - } - /** - * @deprecated since v0.11.3 Use `tls.TLSSocket` instead. - */ - interface SecurePair { - encrypted: TLSSocket; - cleartext: TLSSocket; - } - type SecureVersion = "TLSv1.3" | "TLSv1.2" | "TLSv1.1" | "TLSv1"; - interface SecureContextOptions { - /** - * If set, this will be called when a client opens a connection using the ALPN extension. - * One argument will be passed to the callback: an object containing `servername` and `protocols` fields, - * respectively containing the server name from the SNI extension (if any) and an array of - * ALPN protocol name strings. The callback must return either one of the strings listed in `protocols`, - * which will be returned to the client as the selected ALPN protocol, or `undefined`, - * to reject the connection with a fatal alert. If a string is returned that does not match one of - * the client's ALPN protocols, an error will be thrown. - * This option cannot be used with the `ALPNProtocols` option, and setting both options will throw an error. - */ - ALPNCallback?: ((arg: { servername: string; protocols: string[] }) => string | undefined) | undefined; - /** - * Optionally override the trusted CA certificates. Default is to trust - * the well-known CAs curated by Mozilla. Mozilla's CAs are completely - * replaced when CAs are explicitly specified using this option. - */ - ca?: string | Buffer | Array | undefined; - /** - * Cert chains in PEM format. One cert chain should be provided per - * private key. Each cert chain should consist of the PEM formatted - * certificate for a provided private key, followed by the PEM - * formatted intermediate certificates (if any), in order, and not - * including the root CA (the root CA must be pre-known to the peer, - * see ca). When providing multiple cert chains, they do not have to - * be in the same order as their private keys in key. If the - * intermediate certificates are not provided, the peer will not be - * able to validate the certificate, and the handshake will fail. - */ - cert?: string | Buffer | Array | undefined; - /** - * Colon-separated list of supported signature algorithms. The list - * can contain digest algorithms (SHA256, MD5 etc.), public key - * algorithms (RSA-PSS, ECDSA etc.), combination of both (e.g - * 'RSA+SHA384') or TLS v1.3 scheme names (e.g. rsa_pss_pss_sha512). - */ - sigalgs?: string | undefined; - /** - * Cipher suite specification, replacing the default. For more - * information, see modifying the default cipher suite. Permitted - * ciphers can be obtained via tls.getCiphers(). Cipher names must be - * uppercased in order for OpenSSL to accept them. - */ - ciphers?: string | undefined; - /** - * Name of an OpenSSL engine which can provide the client certificate. - */ - clientCertEngine?: string | undefined; - /** - * PEM formatted CRLs (Certificate Revocation Lists). - */ - crl?: string | Buffer | Array | undefined; - /** - * `'auto'` or custom Diffie-Hellman parameters, required for non-ECDHE perfect forward secrecy. - * If omitted or invalid, the parameters are silently discarded and DHE ciphers will not be available. - * ECDHE-based perfect forward secrecy will still be available. - */ - dhparam?: string | Buffer | undefined; - /** - * A string describing a named curve or a colon separated list of curve - * NIDs or names, for example P-521:P-384:P-256, to use for ECDH key - * agreement. Set to auto to select the curve automatically. Use - * crypto.getCurves() to obtain a list of available curve names. On - * recent releases, openssl ecparam -list_curves will also display the - * name and description of each available elliptic curve. Default: - * tls.DEFAULT_ECDH_CURVE. - */ - ecdhCurve?: string | undefined; - /** - * Attempt to use the server's cipher suite preferences instead of the - * client's. When true, causes SSL_OP_CIPHER_SERVER_PREFERENCE to be - * set in secureOptions - */ - honorCipherOrder?: boolean | undefined; - /** - * Private keys in PEM format. PEM allows the option of private keys - * being encrypted. Encrypted keys will be decrypted with - * options.passphrase. Multiple keys using different algorithms can be - * provided either as an array of unencrypted key strings or buffers, - * or an array of objects in the form {pem: [, - * passphrase: ]}. The object form can only occur in an array. - * object.passphrase is optional. Encrypted keys will be decrypted with - * object.passphrase if provided, or options.passphrase if it is not. - */ - key?: string | Buffer | Array | undefined; - /** - * Name of an OpenSSL engine to get private key from. Should be used - * together with privateKeyIdentifier. - */ - privateKeyEngine?: string | undefined; - /** - * Identifier of a private key managed by an OpenSSL engine. Should be - * used together with privateKeyEngine. Should not be set together with - * key, because both options define a private key in different ways. - */ - privateKeyIdentifier?: string | undefined; - /** - * Optionally set the maximum TLS version to allow. One - * of `'TLSv1.3'`, `'TLSv1.2'`, `'TLSv1.1'`, or `'TLSv1'`. Cannot be specified along with the - * `secureProtocol` option, use one or the other. - * **Default:** `'TLSv1.3'`, unless changed using CLI options. Using - * `--tls-max-v1.2` sets the default to `'TLSv1.2'`. Using `--tls-max-v1.3` sets the default to - * `'TLSv1.3'`. If multiple of the options are provided, the highest maximum is used. - */ - maxVersion?: SecureVersion | undefined; - /** - * Optionally set the minimum TLS version to allow. One - * of `'TLSv1.3'`, `'TLSv1.2'`, `'TLSv1.1'`, or `'TLSv1'`. Cannot be specified along with the - * `secureProtocol` option, use one or the other. It is not recommended to use - * less than TLSv1.2, but it may be required for interoperability. - * **Default:** `'TLSv1.2'`, unless changed using CLI options. Using - * `--tls-v1.0` sets the default to `'TLSv1'`. Using `--tls-v1.1` sets the default to - * `'TLSv1.1'`. Using `--tls-min-v1.3` sets the default to - * 'TLSv1.3'. If multiple of the options are provided, the lowest minimum is used. - */ - minVersion?: SecureVersion | undefined; - /** - * Shared passphrase used for a single private key and/or a PFX. - */ - passphrase?: string | undefined; - /** - * PFX or PKCS12 encoded private key and certificate chain. pfx is an - * alternative to providing key and cert individually. PFX is usually - * encrypted, if it is, passphrase will be used to decrypt it. Multiple - * PFX can be provided either as an array of unencrypted PFX buffers, - * or an array of objects in the form {buf: [, - * passphrase: ]}. The object form can only occur in an array. - * object.passphrase is optional. Encrypted PFX will be decrypted with - * object.passphrase if provided, or options.passphrase if it is not. - */ - pfx?: string | Buffer | Array | undefined; - /** - * Optionally affect the OpenSSL protocol behavior, which is not - * usually necessary. This should be used carefully if at all! Value is - * a numeric bitmask of the SSL_OP_* options from OpenSSL Options - */ - secureOptions?: number | undefined; // Value is a numeric bitmask of the `SSL_OP_*` options - /** - * Legacy mechanism to select the TLS protocol version to use, it does - * not support independent control of the minimum and maximum version, - * and does not support limiting the protocol to TLSv1.3. Use - * minVersion and maxVersion instead. The possible values are listed as - * SSL_METHODS, use the function names as strings. For example, use - * 'TLSv1_1_method' to force TLS version 1.1, or 'TLS_method' to allow - * any TLS protocol version up to TLSv1.3. It is not recommended to use - * TLS versions less than 1.2, but it may be required for - * interoperability. Default: none, see minVersion. - */ - secureProtocol?: string | undefined; - /** - * Opaque identifier used by servers to ensure session state is not - * shared between applications. Unused by clients. - */ - sessionIdContext?: string | undefined; - /** - * 48-bytes of cryptographically strong pseudo-random data. - * See Session Resumption for more information. - */ - ticketKeys?: Buffer | undefined; - /** - * The number of seconds after which a TLS session created by the - * server will no longer be resumable. See Session Resumption for more - * information. Default: 300. - */ - sessionTimeout?: number | undefined; - } - interface SecureContext { - context: any; - } - /** - * Verifies the certificate `cert` is issued to `hostname`. - * - * Returns [Error](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Error) object, populating it with `reason`, `host`, and `cert` on - * failure. On success, returns [undefined](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Undefined_type). - * - * This function is intended to be used in combination with the`checkServerIdentity` option that can be passed to {@link connect} and as - * such operates on a `certificate object`. For other purposes, consider using `x509.checkHost()` instead. - * - * This function can be overwritten by providing an alternative function as the`options.checkServerIdentity` option that is passed to `tls.connect()`. The - * overwriting function can call `tls.checkServerIdentity()` of course, to augment - * the checks done with additional verification. - * - * This function is only called if the certificate passed all other checks, such as - * being issued by trusted CA (`options.ca`). - * - * Earlier versions of Node.js incorrectly accepted certificates for a given`hostname` if a matching `uniformResourceIdentifier` subject alternative name - * was present (see [CVE-2021-44531](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-44531)). Applications that wish to accept`uniformResourceIdentifier` subject alternative names can use - * a custom`options.checkServerIdentity` function that implements the desired behavior. - * @since v0.8.4 - * @param hostname The host name or IP address to verify the certificate against. - * @param cert A `certificate object` representing the peer's certificate. - */ - function checkServerIdentity(hostname: string, cert: PeerCertificate): Error | undefined; - /** - * Creates a new {@link Server}. The `secureConnectionListener`, if provided, is - * automatically set as a listener for the `'secureConnection'` event. - * - * The `ticketKeys` options is automatically shared between `node:cluster` module - * workers. - * - * The following illustrates a simple echo server: - * - * ```js - * const tls = require('node:tls'); - * const fs = require('node:fs'); - * - * const options = { - * key: fs.readFileSync('server-key.pem'), - * cert: fs.readFileSync('server-cert.pem'), - * - * // This is necessary only if using client certificate authentication. - * requestCert: true, - * - * // This is necessary only if the client uses a self-signed certificate. - * ca: [ fs.readFileSync('client-cert.pem') ], - * }; - * - * const server = tls.createServer(options, (socket) => { - * console.log('server connected', - * socket.authorized ? 'authorized' : 'unauthorized'); - * socket.write('welcome!\n'); - * socket.setEncoding('utf8'); - * socket.pipe(socket); - * }); - * server.listen(8000, () => { - * console.log('server bound'); - * }); - * ``` - * - * The server can be tested by connecting to it using the example client from {@link connect}. - * @since v0.3.2 - */ - function createServer(secureConnectionListener?: (socket: TLSSocket) => void): Server; - function createServer(options: TlsOptions, secureConnectionListener?: (socket: TLSSocket) => void): Server; - /** - * The `callback` function, if specified, will be added as a listener for the `'secureConnect'` event. - * - * `tls.connect()` returns a {@link TLSSocket} object. - * - * Unlike the `https` API, `tls.connect()` does not enable the - * SNI (Server Name Indication) extension by default, which may cause some - * servers to return an incorrect certificate or reject the connection - * altogether. To enable SNI, set the `servername` option in addition - * to `host`. - * - * The following illustrates a client for the echo server example from {@link createServer}: - * - * ```js - * // Assumes an echo server that is listening on port 8000. - * const tls = require('node:tls'); - * const fs = require('node:fs'); - * - * const options = { - * // Necessary only if the server requires client certificate authentication. - * key: fs.readFileSync('client-key.pem'), - * cert: fs.readFileSync('client-cert.pem'), - * - * // Necessary only if the server uses a self-signed certificate. - * ca: [ fs.readFileSync('server-cert.pem') ], - * - * // Necessary only if the server's cert isn't for "localhost". - * checkServerIdentity: () => { return null; }, - * }; - * - * const socket = tls.connect(8000, options, () => { - * console.log('client connected', - * socket.authorized ? 'authorized' : 'unauthorized'); - * process.stdin.pipe(socket); - * process.stdin.resume(); - * }); - * socket.setEncoding('utf8'); - * socket.on('data', (data) => { - * console.log(data); - * }); - * socket.on('end', () => { - * console.log('server ends connection'); - * }); - * ``` - * @since v0.11.3 - */ - function connect(options: ConnectionOptions, secureConnectListener?: () => void): TLSSocket; - function connect( - port: number, - host?: string, - options?: ConnectionOptions, - secureConnectListener?: () => void, - ): TLSSocket; - function connect(port: number, options?: ConnectionOptions, secureConnectListener?: () => void): TLSSocket; - /** - * Creates a new secure pair object with two streams, one of which reads and writes - * the encrypted data and the other of which reads and writes the cleartext data. - * Generally, the encrypted stream is piped to/from an incoming encrypted data - * stream and the cleartext one is used as a replacement for the initial encrypted - * stream. - * - * `tls.createSecurePair()` returns a `tls.SecurePair` object with `cleartext` and`encrypted` stream properties. - * - * Using `cleartext` has the same API as {@link TLSSocket}. - * - * The `tls.createSecurePair()` method is now deprecated in favor of`tls.TLSSocket()`. For example, the code: - * - * ```js - * pair = tls.createSecurePair(// ... ); - * pair.encrypted.pipe(socket); - * socket.pipe(pair.encrypted); - * ``` - * - * can be replaced by: - * - * ```js - * secureSocket = tls.TLSSocket(socket, options); - * ``` - * - * where `secureSocket` has the same API as `pair.cleartext`. - * @since v0.3.2 - * @deprecated Since v0.11.3 - Use {@link TLSSocket} instead. - * @param context A secure context object as returned by `tls.createSecureContext()` - * @param isServer `true` to specify that this TLS connection should be opened as a server. - * @param requestCert `true` to specify whether a server should request a certificate from a connecting client. Only applies when `isServer` is `true`. - * @param rejectUnauthorized If not `false` a server automatically reject clients with invalid certificates. Only applies when `isServer` is `true`. - */ - function createSecurePair( - context?: SecureContext, - isServer?: boolean, - requestCert?: boolean, - rejectUnauthorized?: boolean, - ): SecurePair; - /** - * {@link createServer} sets the default value of the `honorCipherOrder` option - * to `true`, other APIs that create secure contexts leave it unset. - * - * {@link createServer} uses a 128 bit truncated SHA1 hash value generated - * from `process.argv` as the default value of the `sessionIdContext` option, other - * APIs that create secure contexts have no default value. - * - * The `tls.createSecureContext()` method creates a `SecureContext` object. It is - * usable as an argument to several `tls` APIs, such as `server.addContext()`, - * but has no public methods. The {@link Server} constructor and the {@link createServer} method do not support the `secureContext` option. - * - * A key is _required_ for ciphers that use certificates. Either `key` or`pfx` can be used to provide it. - * - * If the `ca` option is not given, then Node.js will default to using [Mozilla's publicly trusted list of - * CAs](https://hg.mozilla.org/mozilla-central/raw-file/tip/security/nss/lib/ckfw/builtins/certdata.txt). - * - * Custom DHE parameters are discouraged in favor of the new `dhparam: 'auto'`option. When set to `'auto'`, well-known DHE parameters of sufficient strength - * will be selected automatically. Otherwise, if necessary, `openssl dhparam` can - * be used to create custom parameters. The key length must be greater than or - * equal to 1024 bits or else an error will be thrown. Although 1024 bits is - * permissible, use 2048 bits or larger for stronger security. - * @since v0.11.13 - */ - function createSecureContext(options?: SecureContextOptions): SecureContext; - /** - * Returns an array with the names of the supported TLS ciphers. The names are - * lower-case for historical reasons, but must be uppercased to be used in - * the `ciphers` option of {@link createSecureContext}. - * - * Not all supported ciphers are enabled by default. See `Modifying the default TLS cipher suite`. - * - * Cipher names that start with `'tls_'` are for TLSv1.3, all the others are for - * TLSv1.2 and below. - * - * ```js - * console.log(tls.getCiphers()); // ['aes128-gcm-sha256', 'aes128-sha', ...] - * ``` - * @since v0.10.2 - */ - function getCiphers(): string[]; - /** - * The default curve name to use for ECDH key agreement in a tls server. - * The default value is 'auto'. See tls.createSecureContext() for further - * information. - */ - let DEFAULT_ECDH_CURVE: string; - /** - * The default value of the maxVersion option of - * tls.createSecureContext(). It can be assigned any of the supported TLS - * protocol versions, 'TLSv1.3', 'TLSv1.2', 'TLSv1.1', or 'TLSv1'. Default: - * 'TLSv1.3', unless changed using CLI options. Using --tls-max-v1.2 sets - * the default to 'TLSv1.2'. Using --tls-max-v1.3 sets the default to - * 'TLSv1.3'. If multiple of the options are provided, the highest maximum - * is used. - */ - let DEFAULT_MAX_VERSION: SecureVersion; - /** - * The default value of the minVersion option of tls.createSecureContext(). - * It can be assigned any of the supported TLS protocol versions, - * 'TLSv1.3', 'TLSv1.2', 'TLSv1.1', or 'TLSv1'. Default: 'TLSv1.2', unless - * changed using CLI options. Using --tls-min-v1.0 sets the default to - * 'TLSv1'. Using --tls-min-v1.1 sets the default to 'TLSv1.1'. Using - * --tls-min-v1.3 sets the default to 'TLSv1.3'. If multiple of the options - * are provided, the lowest minimum is used. - */ - let DEFAULT_MIN_VERSION: SecureVersion; - /** - * The default value of the ciphers option of tls.createSecureContext(). - * It can be assigned any of the supported OpenSSL ciphers. - * Defaults to the content of crypto.constants.defaultCoreCipherList, unless - * changed using CLI options using --tls-default-ciphers. - */ - let DEFAULT_CIPHERS: string; - /** - * An immutable array of strings representing the root certificates (in PEM - * format) used for verifying peer certificates. This is the default value - * of the ca option to tls.createSecureContext(). - */ - const rootCertificates: readonly string[]; -} -declare module "node:tls" { - export * from "tls"; -} diff --git a/node_modules/@types/node/trace_events.d.ts b/node_modules/@types/node/trace_events.d.ts deleted file mode 100644 index 3361359..0000000 --- a/node_modules/@types/node/trace_events.d.ts +++ /dev/null @@ -1,182 +0,0 @@ -/** - * The `node:trace_events` module provides a mechanism to centralize tracing - * information generated by V8, Node.js core, and userspace code. - * - * Tracing can be enabled with the `--trace-event-categories` command-line flag - * or by using the `node:trace_events` module. The `--trace-event-categories` flag - * accepts a list of comma-separated category names. - * - * The available categories are: - * - * * `node`: An empty placeholder. - * * `node.async_hooks`: Enables capture of detailed `async_hooks` trace data. - * The `async_hooks` events have a unique `asyncId` and a special `triggerId` `triggerAsyncId` property. - * * `node.bootstrap`: Enables capture of Node.js bootstrap milestones. - * * `node.console`: Enables capture of `console.time()` and `console.count()`output. - * * `node.threadpoolwork.sync`: Enables capture of trace data for threadpool - * synchronous operations, such as `blob`, `zlib`, `crypto` and `node_api`. - * * `node.threadpoolwork.async`: Enables capture of trace data for threadpool - * asynchronous operations, such as `blob`, `zlib`, `crypto` and `node_api`. - * * `node.dns.native`: Enables capture of trace data for DNS queries. - * * `node.net.native`: Enables capture of trace data for network. - * * `node.environment`: Enables capture of Node.js Environment milestones. - * * `node.fs.sync`: Enables capture of trace data for file system sync methods. - * * `node.fs_dir.sync`: Enables capture of trace data for file system sync - * directory methods. - * * `node.fs.async`: Enables capture of trace data for file system async methods. - * * `node.fs_dir.async`: Enables capture of trace data for file system async - * directory methods. - * * `node.perf`: Enables capture of `Performance API` measurements. - * * `node.perf.usertiming`: Enables capture of only Performance API User Timing - * measures and marks. - * * `node.perf.timerify`: Enables capture of only Performance API timerify - * measurements. - * * `node.promises.rejections`: Enables capture of trace data tracking the number - * of unhandled Promise rejections and handled-after-rejections. - * * `node.vm.script`: Enables capture of trace data for the `node:vm` module's`runInNewContext()`, `runInContext()`, and `runInThisContext()` methods. - * * `v8`: The `V8` events are GC, compiling, and execution related. - * * `node.http`: Enables capture of trace data for http request / response. - * - * By default the `node`, `node.async_hooks`, and `v8` categories are enabled. - * - * ```bash - * node --trace-event-categories v8,node,node.async_hooks server.js - * ``` - * - * Prior versions of Node.js required the use of the `--trace-events-enabled`flag to enable trace events. This requirement has been removed. However, the`--trace-events-enabled` flag _may_ still be - * used and will enable the`node`, `node.async_hooks`, and `v8` trace event categories by default. - * - * ```bash - * node --trace-events-enabled - * - * # is equivalent to - * - * node --trace-event-categories v8,node,node.async_hooks - * ``` - * - * Alternatively, trace events may be enabled using the `node:trace_events` module: - * - * ```js - * const trace_events = require('node:trace_events'); - * const tracing = trace_events.createTracing({ categories: ['node.perf'] }); - * tracing.enable(); // Enable trace event capture for the 'node.perf' category - * - * // do work - * - * tracing.disable(); // Disable trace event capture for the 'node.perf' category - * ``` - * - * Running Node.js with tracing enabled will produce log files that can be opened - * in the [`chrome://tracing`](https://www.chromium.org/developers/how-tos/trace-event-profiling-tool) tab of Chrome. - * - * The logging file is by default called `node_trace.${rotation}.log`, where`${rotation}` is an incrementing log-rotation id. The filepath pattern can - * be specified with `--trace-event-file-pattern` that accepts a template - * string that supports `${rotation}` and `${pid}`: - * - * ```bash - * node --trace-event-categories v8 --trace-event-file-pattern '${pid}-${rotation}.log' server.js - * ``` - * - * To guarantee that the log file is properly generated after signal events like`SIGINT`, `SIGTERM`, or `SIGBREAK`, make sure to have the appropriate handlers - * in your code, such as: - * - * ```js - * process.on('SIGINT', function onSigint() { - * console.info('Received SIGINT.'); - * process.exit(130); // Or applicable exit code depending on OS and signal - * }); - * ``` - * - * The tracing system uses the same time source - * as the one used by `process.hrtime()`. - * However the trace-event timestamps are expressed in microseconds, - * unlike `process.hrtime()` which returns nanoseconds. - * - * The features from this module are not available in `Worker` threads. - * @experimental - * @see [source](https://github.com/nodejs/node/blob/v20.2.0/lib/trace_events.js) - */ -declare module "trace_events" { - /** - * The `Tracing` object is used to enable or disable tracing for sets of - * categories. Instances are created using the - * `trace_events.createTracing()` method. - * - * When created, the `Tracing` object is disabled. Calling the - * `tracing.enable()` method adds the categories to the set of enabled trace - * event categories. Calling `tracing.disable()` will remove the categories - * from the set of enabled trace event categories. - */ - interface Tracing { - /** - * A comma-separated list of the trace event categories covered by this - * `Tracing` object. - */ - readonly categories: string; - /** - * Disables this `Tracing` object. - * - * Only trace event categories _not_ covered by other enabled `Tracing` - * objects and _not_ specified by the `--trace-event-categories` flag - * will be disabled. - */ - disable(): void; - /** - * Enables this `Tracing` object for the set of categories covered by - * the `Tracing` object. - */ - enable(): void; - /** - * `true` only if the `Tracing` object has been enabled. - */ - readonly enabled: boolean; - } - interface CreateTracingOptions { - /** - * An array of trace category names. Values included in the array are - * coerced to a string when possible. An error will be thrown if the - * value cannot be coerced. - */ - categories: string[]; - } - /** - * Creates and returns a `Tracing` object for the given set of `categories`. - * - * ```js - * const trace_events = require('node:trace_events'); - * const categories = ['node.perf', 'node.async_hooks']; - * const tracing = trace_events.createTracing({ categories }); - * tracing.enable(); - * // do stuff - * tracing.disable(); - * ``` - * @since v10.0.0 - * @return . - */ - function createTracing(options: CreateTracingOptions): Tracing; - /** - * Returns a comma-separated list of all currently-enabled trace event - * categories. The current set of enabled trace event categories is determined - * by the _union_ of all currently-enabled `Tracing` objects and any categories - * enabled using the `--trace-event-categories` flag. - * - * Given the file `test.js` below, the command`node --trace-event-categories node.perf test.js` will print`'node.async_hooks,node.perf'` to the console. - * - * ```js - * const trace_events = require('node:trace_events'); - * const t1 = trace_events.createTracing({ categories: ['node.async_hooks'] }); - * const t2 = trace_events.createTracing({ categories: ['node.perf'] }); - * const t3 = trace_events.createTracing({ categories: ['v8'] }); - * - * t1.enable(); - * t2.enable(); - * - * console.log(trace_events.getEnabledCategories()); - * ``` - * @since v10.0.0 - */ - function getEnabledCategories(): string | undefined; -} -declare module "node:trace_events" { - export * from "trace_events"; -} diff --git a/node_modules/@types/node/ts4.8/assert.d.ts b/node_modules/@types/node/ts4.8/assert.d.ts deleted file mode 100644 index cd82143..0000000 --- a/node_modules/@types/node/ts4.8/assert.d.ts +++ /dev/null @@ -1,996 +0,0 @@ -/** - * The `node:assert` module provides a set of assertion functions for verifying - * invariants. - * @see [source](https://github.com/nodejs/node/blob/v20.2.0/lib/assert.js) - */ -declare module "assert" { - /** - * An alias of {@link ok}. - * @since v0.5.9 - * @param value The input that is checked for being truthy. - */ - function assert(value: unknown, message?: string | Error): asserts value; - namespace assert { - /** - * Indicates the failure of an assertion. All errors thrown by the `node:assert`module will be instances of the `AssertionError` class. - */ - class AssertionError extends Error { - /** - * Set to the `actual` argument for methods such as {@link assert.strictEqual()}. - */ - actual: unknown; - /** - * Set to the `expected` argument for methods such as {@link assert.strictEqual()}. - */ - expected: unknown; - /** - * Set to the passed in operator value. - */ - operator: string; - /** - * Indicates if the message was auto-generated (`true`) or not. - */ - generatedMessage: boolean; - /** - * Value is always `ERR_ASSERTION` to show that the error is an assertion error. - */ - code: "ERR_ASSERTION"; - constructor(options?: { - /** If provided, the error message is set to this value. */ - message?: string | undefined; - /** The `actual` property on the error instance. */ - actual?: unknown | undefined; - /** The `expected` property on the error instance. */ - expected?: unknown | undefined; - /** The `operator` property on the error instance. */ - operator?: string | undefined; - /** If provided, the generated stack trace omits frames before this function. */ - // eslint-disable-next-line @typescript-eslint/ban-types - stackStartFn?: Function | undefined; - }); - } - /** - * This feature is deprecated and will be removed in a future version. - * Please consider using alternatives such as the `mock` helper function. - * @since v14.2.0, v12.19.0 - * @deprecated Deprecated - */ - class CallTracker { - /** - * The wrapper function is expected to be called exactly `exact` times. If the - * function has not been called exactly `exact` times when `tracker.verify()` is called, then `tracker.verify()` will throw an - * error. - * - * ```js - * import assert from 'node:assert'; - * - * // Creates call tracker. - * const tracker = new assert.CallTracker(); - * - * function func() {} - * - * // Returns a function that wraps func() that must be called exact times - * // before tracker.verify(). - * const callsfunc = tracker.calls(func); - * ``` - * @since v14.2.0, v12.19.0 - * @param [fn='A no-op function'] - * @param [exact=1] - * @return that wraps `fn`. - */ - calls(exact?: number): () => void; - calls any>(fn?: Func, exact?: number): Func; - /** - * Example: - * - * ```js - * import assert from 'node:assert'; - * - * const tracker = new assert.CallTracker(); - * - * function func() {} - * const callsfunc = tracker.calls(func); - * callsfunc(1, 2, 3); - * - * assert.deepStrictEqual(tracker.getCalls(callsfunc), - * [{ thisArg: undefined, arguments: [1, 2, 3] }]); - * ``` - * @since v18.8.0, v16.18.0 - * @param fn - * @return An Array with all the calls to a tracked function. - */ - getCalls(fn: Function): CallTrackerCall[]; - /** - * The arrays contains information about the expected and actual number of calls of - * the functions that have not been called the expected number of times. - * - * ```js - * import assert from 'node:assert'; - * - * // Creates call tracker. - * const tracker = new assert.CallTracker(); - * - * function func() {} - * - * // Returns a function that wraps func() that must be called exact times - * // before tracker.verify(). - * const callsfunc = tracker.calls(func, 2); - * - * // Returns an array containing information on callsfunc() - * console.log(tracker.report()); - * // [ - * // { - * // message: 'Expected the func function to be executed 2 time(s) but was - * // executed 0 time(s).', - * // actual: 0, - * // expected: 2, - * // operator: 'func', - * // stack: stack trace - * // } - * // ] - * ``` - * @since v14.2.0, v12.19.0 - * @return An Array of objects containing information about the wrapper functions returned by `calls`. - */ - report(): CallTrackerReportInformation[]; - /** - * Reset calls of the call tracker. - * If a tracked function is passed as an argument, the calls will be reset for it. - * If no arguments are passed, all tracked functions will be reset. - * - * ```js - * import assert from 'node:assert'; - * - * const tracker = new assert.CallTracker(); - * - * function func() {} - * const callsfunc = tracker.calls(func); - * - * callsfunc(); - * // Tracker was called once - * assert.strictEqual(tracker.getCalls(callsfunc).length, 1); - * - * tracker.reset(callsfunc); - * assert.strictEqual(tracker.getCalls(callsfunc).length, 0); - * ``` - * @since v18.8.0, v16.18.0 - * @param fn a tracked function to reset. - */ - reset(fn?: Function): void; - /** - * Iterates through the list of functions passed to `tracker.calls()` and will throw an error for functions that - * have not been called the expected number of times. - * - * ```js - * import assert from 'node:assert'; - * - * // Creates call tracker. - * const tracker = new assert.CallTracker(); - * - * function func() {} - * - * // Returns a function that wraps func() that must be called exact times - * // before tracker.verify(). - * const callsfunc = tracker.calls(func, 2); - * - * callsfunc(); - * - * // Will throw an error since callsfunc() was only called once. - * tracker.verify(); - * ``` - * @since v14.2.0, v12.19.0 - */ - verify(): void; - } - interface CallTrackerCall { - thisArg: object; - arguments: unknown[]; - } - interface CallTrackerReportInformation { - message: string; - /** The actual number of times the function was called. */ - actual: number; - /** The number of times the function was expected to be called. */ - expected: number; - /** The name of the function that is wrapped. */ - operator: string; - /** A stack trace of the function. */ - stack: object; - } - type AssertPredicate = RegExp | (new() => object) | ((thrown: unknown) => boolean) | object | Error; - /** - * Throws an `AssertionError` with the provided error message or a default - * error message. If the `message` parameter is an instance of an `Error` then - * it will be thrown instead of the `AssertionError`. - * - * ```js - * import assert from 'node:assert/strict'; - * - * assert.fail(); - * // AssertionError [ERR_ASSERTION]: Failed - * - * assert.fail('boom'); - * // AssertionError [ERR_ASSERTION]: boom - * - * assert.fail(new TypeError('need array')); - * // TypeError: need array - * ``` - * - * Using `assert.fail()` with more than two arguments is possible but deprecated. - * See below for further details. - * @since v0.1.21 - * @param [message='Failed'] - */ - function fail(message?: string | Error): never; - /** @deprecated since v10.0.0 - use fail([message]) or other assert functions instead. */ - function fail( - actual: unknown, - expected: unknown, - message?: string | Error, - operator?: string, - // eslint-disable-next-line @typescript-eslint/ban-types - stackStartFn?: Function, - ): never; - /** - * Tests if `value` is truthy. It is equivalent to`assert.equal(!!value, true, message)`. - * - * If `value` is not truthy, an `AssertionError` is thrown with a `message`property set equal to the value of the `message` parameter. If the `message`parameter is `undefined`, a default - * error message is assigned. If the `message`parameter is an instance of an `Error` then it will be thrown instead of the`AssertionError`. - * If no arguments are passed in at all `message` will be set to the string:`` 'No value argument passed to `assert.ok()`' ``. - * - * Be aware that in the `repl` the error message will be different to the one - * thrown in a file! See below for further details. - * - * ```js - * import assert from 'node:assert/strict'; - * - * assert.ok(true); - * // OK - * assert.ok(1); - * // OK - * - * assert.ok(); - * // AssertionError: No value argument passed to `assert.ok()` - * - * assert.ok(false, 'it\'s false'); - * // AssertionError: it's false - * - * // In the repl: - * assert.ok(typeof 123 === 'string'); - * // AssertionError: false == true - * - * // In a file (e.g. test.js): - * assert.ok(typeof 123 === 'string'); - * // AssertionError: The expression evaluated to a falsy value: - * // - * // assert.ok(typeof 123 === 'string') - * - * assert.ok(false); - * // AssertionError: The expression evaluated to a falsy value: - * // - * // assert.ok(false) - * - * assert.ok(0); - * // AssertionError: The expression evaluated to a falsy value: - * // - * // assert.ok(0) - * ``` - * - * ```js - * import assert from 'node:assert/strict'; - * - * // Using `assert()` works the same: - * assert(0); - * // AssertionError: The expression evaluated to a falsy value: - * // - * // assert(0) - * ``` - * @since v0.1.21 - */ - function ok(value: unknown, message?: string | Error): asserts value; - /** - * **Strict assertion mode** - * - * An alias of {@link strictEqual}. - * - * **Legacy assertion mode** - * - * > Stability: 3 - Legacy: Use {@link strictEqual} instead. - * - * Tests shallow, coercive equality between the `actual` and `expected` parameters - * using the [`==` operator](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Equality). `NaN` is specially handled - * and treated as being identical if both sides are `NaN`. - * - * ```js - * import assert from 'node:assert'; - * - * assert.equal(1, 1); - * // OK, 1 == 1 - * assert.equal(1, '1'); - * // OK, 1 == '1' - * assert.equal(NaN, NaN); - * // OK - * - * assert.equal(1, 2); - * // AssertionError: 1 == 2 - * assert.equal({ a: { b: 1 } }, { a: { b: 1 } }); - * // AssertionError: { a: { b: 1 } } == { a: { b: 1 } } - * ``` - * - * If the values are not equal, an `AssertionError` is thrown with a `message`property set equal to the value of the `message` parameter. If the `message`parameter is undefined, a default - * error message is assigned. If the `message`parameter is an instance of an `Error` then it will be thrown instead of the`AssertionError`. - * @since v0.1.21 - */ - function equal(actual: unknown, expected: unknown, message?: string | Error): void; - /** - * **Strict assertion mode** - * - * An alias of {@link notStrictEqual}. - * - * **Legacy assertion mode** - * - * > Stability: 3 - Legacy: Use {@link notStrictEqual} instead. - * - * Tests shallow, coercive inequality with the [`!=` operator](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Inequality). `NaN` is - * specially handled and treated as being identical if both sides are `NaN`. - * - * ```js - * import assert from 'node:assert'; - * - * assert.notEqual(1, 2); - * // OK - * - * assert.notEqual(1, 1); - * // AssertionError: 1 != 1 - * - * assert.notEqual(1, '1'); - * // AssertionError: 1 != '1' - * ``` - * - * If the values are equal, an `AssertionError` is thrown with a `message`property set equal to the value of the `message` parameter. If the `message`parameter is undefined, a default error - * message is assigned. If the `message`parameter is an instance of an `Error` then it will be thrown instead of the`AssertionError`. - * @since v0.1.21 - */ - function notEqual(actual: unknown, expected: unknown, message?: string | Error): void; - /** - * **Strict assertion mode** - * - * An alias of {@link deepStrictEqual}. - * - * **Legacy assertion mode** - * - * > Stability: 3 - Legacy: Use {@link deepStrictEqual} instead. - * - * Tests for deep equality between the `actual` and `expected` parameters. Consider - * using {@link deepStrictEqual} instead. {@link deepEqual} can have - * surprising results. - * - * _Deep equality_ means that the enumerable "own" properties of child objects - * are also recursively evaluated by the following rules. - * @since v0.1.21 - */ - function deepEqual(actual: unknown, expected: unknown, message?: string | Error): void; - /** - * **Strict assertion mode** - * - * An alias of {@link notDeepStrictEqual}. - * - * **Legacy assertion mode** - * - * > Stability: 3 - Legacy: Use {@link notDeepStrictEqual} instead. - * - * Tests for any deep inequality. Opposite of {@link deepEqual}. - * - * ```js - * import assert from 'node:assert'; - * - * const obj1 = { - * a: { - * b: 1, - * }, - * }; - * const obj2 = { - * a: { - * b: 2, - * }, - * }; - * const obj3 = { - * a: { - * b: 1, - * }, - * }; - * const obj4 = { __proto__: obj1 }; - * - * assert.notDeepEqual(obj1, obj1); - * // AssertionError: { a: { b: 1 } } notDeepEqual { a: { b: 1 } } - * - * assert.notDeepEqual(obj1, obj2); - * // OK - * - * assert.notDeepEqual(obj1, obj3); - * // AssertionError: { a: { b: 1 } } notDeepEqual { a: { b: 1 } } - * - * assert.notDeepEqual(obj1, obj4); - * // OK - * ``` - * - * If the values are deeply equal, an `AssertionError` is thrown with a`message` property set equal to the value of the `message` parameter. If the`message` parameter is undefined, a default - * error message is assigned. If the`message` parameter is an instance of an `Error` then it will be thrown - * instead of the `AssertionError`. - * @since v0.1.21 - */ - function notDeepEqual(actual: unknown, expected: unknown, message?: string | Error): void; - /** - * Tests strict equality between the `actual` and `expected` parameters as - * determined by [`Object.is()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is). - * - * ```js - * import assert from 'node:assert/strict'; - * - * assert.strictEqual(1, 2); - * // AssertionError [ERR_ASSERTION]: Expected inputs to be strictly equal: - * // - * // 1 !== 2 - * - * assert.strictEqual(1, 1); - * // OK - * - * assert.strictEqual('Hello foobar', 'Hello World!'); - * // AssertionError [ERR_ASSERTION]: Expected inputs to be strictly equal: - * // + actual - expected - * // - * // + 'Hello foobar' - * // - 'Hello World!' - * // ^ - * - * const apples = 1; - * const oranges = 2; - * assert.strictEqual(apples, oranges, `apples ${apples} !== oranges ${oranges}`); - * // AssertionError [ERR_ASSERTION]: apples 1 !== oranges 2 - * - * assert.strictEqual(1, '1', new TypeError('Inputs are not identical')); - * // TypeError: Inputs are not identical - * ``` - * - * If the values are not strictly equal, an `AssertionError` is thrown with a`message` property set equal to the value of the `message` parameter. If the`message` parameter is undefined, a - * default error message is assigned. If the`message` parameter is an instance of an `Error` then it will be thrown - * instead of the `AssertionError`. - * @since v0.1.21 - */ - function strictEqual(actual: unknown, expected: T, message?: string | Error): asserts actual is T; - /** - * Tests strict inequality between the `actual` and `expected` parameters as - * determined by [`Object.is()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is). - * - * ```js - * import assert from 'node:assert/strict'; - * - * assert.notStrictEqual(1, 2); - * // OK - * - * assert.notStrictEqual(1, 1); - * // AssertionError [ERR_ASSERTION]: Expected "actual" to be strictly unequal to: - * // - * // 1 - * - * assert.notStrictEqual(1, '1'); - * // OK - * ``` - * - * If the values are strictly equal, an `AssertionError` is thrown with a`message` property set equal to the value of the `message` parameter. If the`message` parameter is undefined, a - * default error message is assigned. If the`message` parameter is an instance of an `Error` then it will be thrown - * instead of the `AssertionError`. - * @since v0.1.21 - */ - function notStrictEqual(actual: unknown, expected: unknown, message?: string | Error): void; - /** - * Tests for deep equality between the `actual` and `expected` parameters. - * "Deep" equality means that the enumerable "own" properties of child objects - * are recursively evaluated also by the following rules. - * @since v1.2.0 - */ - function deepStrictEqual(actual: unknown, expected: T, message?: string | Error): asserts actual is T; - /** - * Tests for deep strict inequality. Opposite of {@link deepStrictEqual}. - * - * ```js - * import assert from 'node:assert/strict'; - * - * assert.notDeepStrictEqual({ a: 1 }, { a: '1' }); - * // OK - * ``` - * - * If the values are deeply and strictly equal, an `AssertionError` is thrown - * with a `message` property set equal to the value of the `message` parameter. If - * the `message` parameter is undefined, a default error message is assigned. If - * the `message` parameter is an instance of an `Error` then it will be thrown - * instead of the `AssertionError`. - * @since v1.2.0 - */ - function notDeepStrictEqual(actual: unknown, expected: unknown, message?: string | Error): void; - /** - * Expects the function `fn` to throw an error. - * - * If specified, `error` can be a [`Class`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Classes), - * [`RegExp`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_Expressions), a validation function, - * a validation object where each property will be tested for strict deep equality, - * or an instance of error where each property will be tested for strict deep - * equality including the non-enumerable `message` and `name` properties. When - * using an object, it is also possible to use a regular expression, when - * validating against a string property. See below for examples. - * - * If specified, `message` will be appended to the message provided by the`AssertionError` if the `fn` call fails to throw or in case the error validation - * fails. - * - * Custom validation object/error instance: - * - * ```js - * import assert from 'node:assert/strict'; - * - * const err = new TypeError('Wrong value'); - * err.code = 404; - * err.foo = 'bar'; - * err.info = { - * nested: true, - * baz: 'text', - * }; - * err.reg = /abc/i; - * - * assert.throws( - * () => { - * throw err; - * }, - * { - * name: 'TypeError', - * message: 'Wrong value', - * info: { - * nested: true, - * baz: 'text', - * }, - * // Only properties on the validation object will be tested for. - * // Using nested objects requires all properties to be present. Otherwise - * // the validation is going to fail. - * }, - * ); - * - * // Using regular expressions to validate error properties: - * assert.throws( - * () => { - * throw err; - * }, - * { - * // The `name` and `message` properties are strings and using regular - * // expressions on those will match against the string. If they fail, an - * // error is thrown. - * name: /^TypeError$/, - * message: /Wrong/, - * foo: 'bar', - * info: { - * nested: true, - * // It is not possible to use regular expressions for nested properties! - * baz: 'text', - * }, - * // The `reg` property contains a regular expression and only if the - * // validation object contains an identical regular expression, it is going - * // to pass. - * reg: /abc/i, - * }, - * ); - * - * // Fails due to the different `message` and `name` properties: - * assert.throws( - * () => { - * const otherErr = new Error('Not found'); - * // Copy all enumerable properties from `err` to `otherErr`. - * for (const [key, value] of Object.entries(err)) { - * otherErr[key] = value; - * } - * throw otherErr; - * }, - * // The error's `message` and `name` properties will also be checked when using - * // an error as validation object. - * err, - * ); - * ``` - * - * Validate instanceof using constructor: - * - * ```js - * import assert from 'node:assert/strict'; - * - * assert.throws( - * () => { - * throw new Error('Wrong value'); - * }, - * Error, - * ); - * ``` - * - * Validate error message using [`RegExp`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_Expressions): - * - * Using a regular expression runs `.toString` on the error object, and will - * therefore also include the error name. - * - * ```js - * import assert from 'node:assert/strict'; - * - * assert.throws( - * () => { - * throw new Error('Wrong value'); - * }, - * /^Error: Wrong value$/, - * ); - * ``` - * - * Custom error validation: - * - * The function must return `true` to indicate all internal validations passed. - * It will otherwise fail with an `AssertionError`. - * - * ```js - * import assert from 'node:assert/strict'; - * - * assert.throws( - * () => { - * throw new Error('Wrong value'); - * }, - * (err) => { - * assert(err instanceof Error); - * assert(/value/.test(err)); - * // Avoid returning anything from validation functions besides `true`. - * // Otherwise, it's not clear what part of the validation failed. Instead, - * // throw an error about the specific validation that failed (as done in this - * // example) and add as much helpful debugging information to that error as - * // possible. - * return true; - * }, - * 'unexpected error', - * ); - * ``` - * - * `error` cannot be a string. If a string is provided as the second - * argument, then `error` is assumed to be omitted and the string will be used for`message` instead. This can lead to easy-to-miss mistakes. Using the same - * message as the thrown error message is going to result in an`ERR_AMBIGUOUS_ARGUMENT` error. Please read the example below carefully if using - * a string as the second argument gets considered: - * - * ```js - * import assert from 'node:assert/strict'; - * - * function throwingFirst() { - * throw new Error('First'); - * } - * - * function throwingSecond() { - * throw new Error('Second'); - * } - * - * function notThrowing() {} - * - * // The second argument is a string and the input function threw an Error. - * // The first case will not throw as it does not match for the error message - * // thrown by the input function! - * assert.throws(throwingFirst, 'Second'); - * // In the next example the message has no benefit over the message from the - * // error and since it is not clear if the user intended to actually match - * // against the error message, Node.js throws an `ERR_AMBIGUOUS_ARGUMENT` error. - * assert.throws(throwingSecond, 'Second'); - * // TypeError [ERR_AMBIGUOUS_ARGUMENT] - * - * // The string is only used (as message) in case the function does not throw: - * assert.throws(notThrowing, 'Second'); - * // AssertionError [ERR_ASSERTION]: Missing expected exception: Second - * - * // If it was intended to match for the error message do this instead: - * // It does not throw because the error messages match. - * assert.throws(throwingSecond, /Second$/); - * - * // If the error message does not match, an AssertionError is thrown. - * assert.throws(throwingFirst, /Second$/); - * // AssertionError [ERR_ASSERTION] - * ``` - * - * Due to the confusing error-prone notation, avoid a string as the second - * argument. - * @since v0.1.21 - */ - function throws(block: () => unknown, message?: string | Error): void; - function throws(block: () => unknown, error: AssertPredicate, message?: string | Error): void; - /** - * Asserts that the function `fn` does not throw an error. - * - * Using `assert.doesNotThrow()` is actually not useful because there - * is no benefit in catching an error and then rethrowing it. Instead, consider - * adding a comment next to the specific code path that should not throw and keep - * error messages as expressive as possible. - * - * When `assert.doesNotThrow()` is called, it will immediately call the `fn`function. - * - * If an error is thrown and it is the same type as that specified by the `error`parameter, then an `AssertionError` is thrown. If the error is of a - * different type, or if the `error` parameter is undefined, the error is - * propagated back to the caller. - * - * If specified, `error` can be a [`Class`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Classes), - * [`RegExp`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_Expressions), or a validation - * function. See {@link throws} for more details. - * - * The following, for instance, will throw the `TypeError` because there is no - * matching error type in the assertion: - * - * ```js - * import assert from 'node:assert/strict'; - * - * assert.doesNotThrow( - * () => { - * throw new TypeError('Wrong value'); - * }, - * SyntaxError, - * ); - * ``` - * - * However, the following will result in an `AssertionError` with the message - * 'Got unwanted exception...': - * - * ```js - * import assert from 'node:assert/strict'; - * - * assert.doesNotThrow( - * () => { - * throw new TypeError('Wrong value'); - * }, - * TypeError, - * ); - * ``` - * - * If an `AssertionError` is thrown and a value is provided for the `message`parameter, the value of `message` will be appended to the `AssertionError` message: - * - * ```js - * import assert from 'node:assert/strict'; - * - * assert.doesNotThrow( - * () => { - * throw new TypeError('Wrong value'); - * }, - * /Wrong value/, - * 'Whoops', - * ); - * // Throws: AssertionError: Got unwanted exception: Whoops - * ``` - * @since v0.1.21 - */ - function doesNotThrow(block: () => unknown, message?: string | Error): void; - function doesNotThrow(block: () => unknown, error: AssertPredicate, message?: string | Error): void; - /** - * Throws `value` if `value` is not `undefined` or `null`. This is useful when - * testing the `error` argument in callbacks. The stack trace contains all frames - * from the error passed to `ifError()` including the potential new frames for`ifError()` itself. - * - * ```js - * import assert from 'node:assert/strict'; - * - * assert.ifError(null); - * // OK - * assert.ifError(0); - * // AssertionError [ERR_ASSERTION]: ifError got unwanted exception: 0 - * assert.ifError('error'); - * // AssertionError [ERR_ASSERTION]: ifError got unwanted exception: 'error' - * assert.ifError(new Error()); - * // AssertionError [ERR_ASSERTION]: ifError got unwanted exception: Error - * - * // Create some random error frames. - * let err; - * (function errorFrame() { - * err = new Error('test error'); - * })(); - * - * (function ifErrorFrame() { - * assert.ifError(err); - * })(); - * // AssertionError [ERR_ASSERTION]: ifError got unwanted exception: test error - * // at ifErrorFrame - * // at errorFrame - * ``` - * @since v0.1.97 - */ - function ifError(value: unknown): asserts value is null | undefined; - /** - * Awaits the `asyncFn` promise or, if `asyncFn` is a function, immediately - * calls the function and awaits the returned promise to complete. It will then - * check that the promise is rejected. - * - * If `asyncFn` is a function and it throws an error synchronously,`assert.rejects()` will return a rejected `Promise` with that error. If the - * function does not return a promise, `assert.rejects()` will return a rejected`Promise` with an `ERR_INVALID_RETURN_VALUE` error. In both cases the error - * handler is skipped. - * - * Besides the async nature to await the completion behaves identically to {@link throws}. - * - * If specified, `error` can be a [`Class`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Classes), - * [`RegExp`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_Expressions), a validation function, - * an object where each property will be tested for, or an instance of error where - * each property will be tested for including the non-enumerable `message` and`name` properties. - * - * If specified, `message` will be the message provided by the `AssertionError` if the `asyncFn` fails to reject. - * - * ```js - * import assert from 'node:assert/strict'; - * - * await assert.rejects( - * async () => { - * throw new TypeError('Wrong value'); - * }, - * { - * name: 'TypeError', - * message: 'Wrong value', - * }, - * ); - * ``` - * - * ```js - * import assert from 'node:assert/strict'; - * - * await assert.rejects( - * async () => { - * throw new TypeError('Wrong value'); - * }, - * (err) => { - * assert.strictEqual(err.name, 'TypeError'); - * assert.strictEqual(err.message, 'Wrong value'); - * return true; - * }, - * ); - * ``` - * - * ```js - * import assert from 'node:assert/strict'; - * - * assert.rejects( - * Promise.reject(new Error('Wrong value')), - * Error, - * ).then(() => { - * // ... - * }); - * ``` - * - * `error` cannot be a string. If a string is provided as the second - * argument, then `error` is assumed to be omitted and the string will be used for`message` instead. This can lead to easy-to-miss mistakes. Please read the - * example in {@link throws} carefully if using a string as the second - * argument gets considered. - * @since v10.0.0 - */ - function rejects(block: (() => Promise) | Promise, message?: string | Error): Promise; - function rejects( - block: (() => Promise) | Promise, - error: AssertPredicate, - message?: string | Error, - ): Promise; - /** - * Awaits the `asyncFn` promise or, if `asyncFn` is a function, immediately - * calls the function and awaits the returned promise to complete. It will then - * check that the promise is not rejected. - * - * If `asyncFn` is a function and it throws an error synchronously,`assert.doesNotReject()` will return a rejected `Promise` with that error. If - * the function does not return a promise, `assert.doesNotReject()` will return a - * rejected `Promise` with an `ERR_INVALID_RETURN_VALUE` error. In both cases - * the error handler is skipped. - * - * Using `assert.doesNotReject()` is actually not useful because there is little - * benefit in catching a rejection and then rejecting it again. Instead, consider - * adding a comment next to the specific code path that should not reject and keep - * error messages as expressive as possible. - * - * If specified, `error` can be a [`Class`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Classes), - * [`RegExp`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_Expressions), or a validation - * function. See {@link throws} for more details. - * - * Besides the async nature to await the completion behaves identically to {@link doesNotThrow}. - * - * ```js - * import assert from 'node:assert/strict'; - * - * await assert.doesNotReject( - * async () => { - * throw new TypeError('Wrong value'); - * }, - * SyntaxError, - * ); - * ``` - * - * ```js - * import assert from 'node:assert/strict'; - * - * assert.doesNotReject(Promise.reject(new TypeError('Wrong value'))) - * .then(() => { - * // ... - * }); - * ``` - * @since v10.0.0 - */ - function doesNotReject( - block: (() => Promise) | Promise, - message?: string | Error, - ): Promise; - function doesNotReject( - block: (() => Promise) | Promise, - error: AssertPredicate, - message?: string | Error, - ): Promise; - /** - * Expects the `string` input to match the regular expression. - * - * ```js - * import assert from 'node:assert/strict'; - * - * assert.match('I will fail', /pass/); - * // AssertionError [ERR_ASSERTION]: The input did not match the regular ... - * - * assert.match(123, /pass/); - * // AssertionError [ERR_ASSERTION]: The "string" argument must be of type string. - * - * assert.match('I will pass', /pass/); - * // OK - * ``` - * - * If the values do not match, or if the `string` argument is of another type than`string`, an `AssertionError` is thrown with a `message` property set equal - * to the value of the `message` parameter. If the `message` parameter is - * undefined, a default error message is assigned. If the `message` parameter is an - * instance of an `Error` then it will be thrown instead of the `AssertionError`. - * @since v13.6.0, v12.16.0 - */ - function match(value: string, regExp: RegExp, message?: string | Error): void; - /** - * Expects the `string` input not to match the regular expression. - * - * ```js - * import assert from 'node:assert/strict'; - * - * assert.doesNotMatch('I will fail', /fail/); - * // AssertionError [ERR_ASSERTION]: The input was expected to not match the ... - * - * assert.doesNotMatch(123, /pass/); - * // AssertionError [ERR_ASSERTION]: The "string" argument must be of type string. - * - * assert.doesNotMatch('I will pass', /different/); - * // OK - * ``` - * - * If the values do match, or if the `string` argument is of another type than`string`, an `AssertionError` is thrown with a `message` property set equal - * to the value of the `message` parameter. If the `message` parameter is - * undefined, a default error message is assigned. If the `message` parameter is an - * instance of an `Error` then it will be thrown instead of the `AssertionError`. - * @since v13.6.0, v12.16.0 - */ - function doesNotMatch(value: string, regExp: RegExp, message?: string | Error): void; - const strict: - & Omit< - typeof assert, - | "equal" - | "notEqual" - | "deepEqual" - | "notDeepEqual" - | "ok" - | "strictEqual" - | "deepStrictEqual" - | "ifError" - | "strict" - > - & { - (value: unknown, message?: string | Error): asserts value; - equal: typeof strictEqual; - notEqual: typeof notStrictEqual; - deepEqual: typeof deepStrictEqual; - notDeepEqual: typeof notDeepStrictEqual; - // Mapped types and assertion functions are incompatible? - // TS2775: Assertions require every name in the call target - // to be declared with an explicit type annotation. - ok: typeof ok; - strictEqual: typeof strictEqual; - deepStrictEqual: typeof deepStrictEqual; - ifError: typeof ifError; - strict: typeof strict; - }; - } - export = assert; -} -declare module "node:assert" { - import assert = require("assert"); - export = assert; -} diff --git a/node_modules/@types/node/ts4.8/assert/strict.d.ts b/node_modules/@types/node/ts4.8/assert/strict.d.ts deleted file mode 100644 index f333913..0000000 --- a/node_modules/@types/node/ts4.8/assert/strict.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -declare module "assert/strict" { - import { strict } from "node:assert"; - export = strict; -} -declare module "node:assert/strict" { - import { strict } from "node:assert"; - export = strict; -} diff --git a/node_modules/@types/node/ts4.8/async_hooks.d.ts b/node_modules/@types/node/ts4.8/async_hooks.d.ts deleted file mode 100644 index 0667a61..0000000 --- a/node_modules/@types/node/ts4.8/async_hooks.d.ts +++ /dev/null @@ -1,539 +0,0 @@ -/** - * We strongly discourage the use of the `async_hooks` API. - * Other APIs that can cover most of its use cases include: - * - * * `AsyncLocalStorage` tracks async context - * * `process.getActiveResourcesInfo()` tracks active resources - * - * The `node:async_hooks` module provides an API to track asynchronous resources. - * It can be accessed using: - * - * ```js - * import async_hooks from 'node:async_hooks'; - * ``` - * @experimental - * @see [source](https://github.com/nodejs/node/blob/v20.2.0/lib/async_hooks.js) - */ -declare module "async_hooks" { - /** - * ```js - * import { executionAsyncId } from 'node:async_hooks'; - * import fs from 'node:fs'; - * - * console.log(executionAsyncId()); // 1 - bootstrap - * const path = '.'; - * fs.open(path, 'r', (err, fd) => { - * console.log(executionAsyncId()); // 6 - open() - * }); - * ``` - * - * The ID returned from `executionAsyncId()` is related to execution timing, not - * causality (which is covered by `triggerAsyncId()`): - * - * ```js - * const server = net.createServer((conn) => { - * // Returns the ID of the server, not of the new connection, because the - * // callback runs in the execution scope of the server's MakeCallback(). - * async_hooks.executionAsyncId(); - * - * }).listen(port, () => { - * // Returns the ID of a TickObject (process.nextTick()) because all - * // callbacks passed to .listen() are wrapped in a nextTick(). - * async_hooks.executionAsyncId(); - * }); - * ``` - * - * Promise contexts may not get precise `executionAsyncIds` by default. - * See the section on `promise execution tracking`. - * @since v8.1.0 - * @return The `asyncId` of the current execution context. Useful to track when something calls. - */ - function executionAsyncId(): number; - /** - * Resource objects returned by `executionAsyncResource()` are most often internal - * Node.js handle objects with undocumented APIs. Using any functions or properties - * on the object is likely to crash your application and should be avoided. - * - * Using `executionAsyncResource()` in the top-level execution context will - * return an empty object as there is no handle or request object to use, - * but having an object representing the top-level can be helpful. - * - * ```js - * import { open } from 'node:fs'; - * import { executionAsyncId, executionAsyncResource } from 'node:async_hooks'; - * - * console.log(executionAsyncId(), executionAsyncResource()); // 1 {} - * open(new URL(import.meta.url), 'r', (err, fd) => { - * console.log(executionAsyncId(), executionAsyncResource()); // 7 FSReqWrap - * }); - * ``` - * - * This can be used to implement continuation local storage without the - * use of a tracking `Map` to store the metadata: - * - * ```js - * import { createServer } from 'node:http'; - * import { - * executionAsyncId, - * executionAsyncResource, - * createHook, - * } from 'async_hooks'; - * const sym = Symbol('state'); // Private symbol to avoid pollution - * - * createHook({ - * init(asyncId, type, triggerAsyncId, resource) { - * const cr = executionAsyncResource(); - * if (cr) { - * resource[sym] = cr[sym]; - * } - * }, - * }).enable(); - * - * const server = createServer((req, res) => { - * executionAsyncResource()[sym] = { state: req.url }; - * setTimeout(function() { - * res.end(JSON.stringify(executionAsyncResource()[sym])); - * }, 100); - * }).listen(3000); - * ``` - * @since v13.9.0, v12.17.0 - * @return The resource representing the current execution. Useful to store data within the resource. - */ - function executionAsyncResource(): object; - /** - * ```js - * const server = net.createServer((conn) => { - * // The resource that caused (or triggered) this callback to be called - * // was that of the new connection. Thus the return value of triggerAsyncId() - * // is the asyncId of "conn". - * async_hooks.triggerAsyncId(); - * - * }).listen(port, () => { - * // Even though all callbacks passed to .listen() are wrapped in a nextTick() - * // the callback itself exists because the call to the server's .listen() - * // was made. So the return value would be the ID of the server. - * async_hooks.triggerAsyncId(); - * }); - * ``` - * - * Promise contexts may not get valid `triggerAsyncId`s by default. See - * the section on `promise execution tracking`. - * @return The ID of the resource responsible for calling the callback that is currently being executed. - */ - function triggerAsyncId(): number; - interface HookCallbacks { - /** - * Called when a class is constructed that has the possibility to emit an asynchronous event. - * @param asyncId a unique ID for the async resource - * @param type the type of the async resource - * @param triggerAsyncId the unique ID of the async resource in whose execution context this async resource was created - * @param resource reference to the resource representing the async operation, needs to be released during destroy - */ - init?(asyncId: number, type: string, triggerAsyncId: number, resource: object): void; - /** - * When an asynchronous operation is initiated or completes a callback is called to notify the user. - * The before callback is called just before said callback is executed. - * @param asyncId the unique identifier assigned to the resource about to execute the callback. - */ - before?(asyncId: number): void; - /** - * Called immediately after the callback specified in before is completed. - * @param asyncId the unique identifier assigned to the resource which has executed the callback. - */ - after?(asyncId: number): void; - /** - * Called when a promise has resolve() called. This may not be in the same execution id - * as the promise itself. - * @param asyncId the unique id for the promise that was resolve()d. - */ - promiseResolve?(asyncId: number): void; - /** - * Called after the resource corresponding to asyncId is destroyed - * @param asyncId a unique ID for the async resource - */ - destroy?(asyncId: number): void; - } - interface AsyncHook { - /** - * Enable the callbacks for a given AsyncHook instance. If no callbacks are provided enabling is a noop. - */ - enable(): this; - /** - * Disable the callbacks for a given AsyncHook instance from the global pool of AsyncHook callbacks to be executed. Once a hook has been disabled it will not be called again until enabled. - */ - disable(): this; - } - /** - * Registers functions to be called for different lifetime events of each async - * operation. - * - * The callbacks `init()`/`before()`/`after()`/`destroy()` are called for the - * respective asynchronous event during a resource's lifetime. - * - * All callbacks are optional. For example, if only resource cleanup needs to - * be tracked, then only the `destroy` callback needs to be passed. The - * specifics of all functions that can be passed to `callbacks` is in the `Hook Callbacks` section. - * - * ```js - * import { createHook } from 'node:async_hooks'; - * - * const asyncHook = createHook({ - * init(asyncId, type, triggerAsyncId, resource) { }, - * destroy(asyncId) { }, - * }); - * ``` - * - * The callbacks will be inherited via the prototype chain: - * - * ```js - * class MyAsyncCallbacks { - * init(asyncId, type, triggerAsyncId, resource) { } - * destroy(asyncId) {} - * } - * - * class MyAddedCallbacks extends MyAsyncCallbacks { - * before(asyncId) { } - * after(asyncId) { } - * } - * - * const asyncHook = async_hooks.createHook(new MyAddedCallbacks()); - * ``` - * - * Because promises are asynchronous resources whose lifecycle is tracked - * via the async hooks mechanism, the `init()`, `before()`, `after()`, and`destroy()` callbacks _must not_ be async functions that return promises. - * @since v8.1.0 - * @param callbacks The `Hook Callbacks` to register - * @return Instance used for disabling and enabling hooks - */ - function createHook(callbacks: HookCallbacks): AsyncHook; - interface AsyncResourceOptions { - /** - * The ID of the execution context that created this async event. - * @default executionAsyncId() - */ - triggerAsyncId?: number | undefined; - /** - * Disables automatic `emitDestroy` when the object is garbage collected. - * This usually does not need to be set (even if `emitDestroy` is called - * manually), unless the resource's `asyncId` is retrieved and the - * sensitive API's `emitDestroy` is called with it. - * @default false - */ - requireManualDestroy?: boolean | undefined; - } - /** - * The class `AsyncResource` is designed to be extended by the embedder's async - * resources. Using this, users can easily trigger the lifetime events of their - * own resources. - * - * The `init` hook will trigger when an `AsyncResource` is instantiated. - * - * The following is an overview of the `AsyncResource` API. - * - * ```js - * import { AsyncResource, executionAsyncId } from 'node:async_hooks'; - * - * // AsyncResource() is meant to be extended. Instantiating a - * // new AsyncResource() also triggers init. If triggerAsyncId is omitted then - * // async_hook.executionAsyncId() is used. - * const asyncResource = new AsyncResource( - * type, { triggerAsyncId: executionAsyncId(), requireManualDestroy: false }, - * ); - * - * // Run a function in the execution context of the resource. This will - * // * establish the context of the resource - * // * trigger the AsyncHooks before callbacks - * // * call the provided function `fn` with the supplied arguments - * // * trigger the AsyncHooks after callbacks - * // * restore the original execution context - * asyncResource.runInAsyncScope(fn, thisArg, ...args); - * - * // Call AsyncHooks destroy callbacks. - * asyncResource.emitDestroy(); - * - * // Return the unique ID assigned to the AsyncResource instance. - * asyncResource.asyncId(); - * - * // Return the trigger ID for the AsyncResource instance. - * asyncResource.triggerAsyncId(); - * ``` - */ - class AsyncResource { - /** - * AsyncResource() is meant to be extended. Instantiating a - * new AsyncResource() also triggers init. If triggerAsyncId is omitted then - * async_hook.executionAsyncId() is used. - * @param type The type of async event. - * @param triggerAsyncId The ID of the execution context that created - * this async event (default: `executionAsyncId()`), or an - * AsyncResourceOptions object (since v9.3.0) - */ - constructor(type: string, triggerAsyncId?: number | AsyncResourceOptions); - /** - * Binds the given function to the current execution context. - * @since v14.8.0, v12.19.0 - * @param fn The function to bind to the current execution context. - * @param type An optional name to associate with the underlying `AsyncResource`. - */ - static bind any, ThisArg>( - fn: Func, - type?: string, - thisArg?: ThisArg, - ): Func; - /** - * Binds the given function to execute to this `AsyncResource`'s scope. - * @since v14.8.0, v12.19.0 - * @param fn The function to bind to the current `AsyncResource`. - */ - bind any>(fn: Func): Func; - /** - * Call the provided function with the provided arguments in the execution context - * of the async resource. This will establish the context, trigger the AsyncHooks - * before callbacks, call the function, trigger the AsyncHooks after callbacks, and - * then restore the original execution context. - * @since v9.6.0 - * @param fn The function to call in the execution context of this async resource. - * @param thisArg The receiver to be used for the function call. - * @param args Optional arguments to pass to the function. - */ - runInAsyncScope( - fn: (this: This, ...args: any[]) => Result, - thisArg?: This, - ...args: any[] - ): Result; - /** - * Call all `destroy` hooks. This should only ever be called once. An error will - * be thrown if it is called more than once. This **must** be manually called. If - * the resource is left to be collected by the GC then the `destroy` hooks will - * never be called. - * @return A reference to `asyncResource`. - */ - emitDestroy(): this; - /** - * @return The unique `asyncId` assigned to the resource. - */ - asyncId(): number; - /** - * @return The same `triggerAsyncId` that is passed to the `AsyncResource` constructor. - */ - triggerAsyncId(): number; - } - /** - * This class creates stores that stay coherent through asynchronous operations. - * - * While you can create your own implementation on top of the `node:async_hooks`module, `AsyncLocalStorage` should be preferred as it is a performant and memory - * safe implementation that involves significant optimizations that are non-obvious - * to implement. - * - * The following example uses `AsyncLocalStorage` to build a simple logger - * that assigns IDs to incoming HTTP requests and includes them in messages - * logged within each request. - * - * ```js - * import http from 'node:http'; - * import { AsyncLocalStorage } from 'node:async_hooks'; - * - * const asyncLocalStorage = new AsyncLocalStorage(); - * - * function logWithId(msg) { - * const id = asyncLocalStorage.getStore(); - * console.log(`${id !== undefined ? id : '-'}:`, msg); - * } - * - * let idSeq = 0; - * http.createServer((req, res) => { - * asyncLocalStorage.run(idSeq++, () => { - * logWithId('start'); - * // Imagine any chain of async operations here - * setImmediate(() => { - * logWithId('finish'); - * res.end(); - * }); - * }); - * }).listen(8080); - * - * http.get('http://localhost:8080'); - * http.get('http://localhost:8080'); - * // Prints: - * // 0: start - * // 1: start - * // 0: finish - * // 1: finish - * ``` - * - * Each instance of `AsyncLocalStorage` maintains an independent storage context. - * Multiple instances can safely exist simultaneously without risk of interfering - * with each other's data. - * @since v13.10.0, v12.17.0 - */ - class AsyncLocalStorage { - /** - * Binds the given function to the current execution context. - * @since v19.8.0 - * @experimental - * @param fn The function to bind to the current execution context. - * @return A new function that calls `fn` within the captured execution context. - */ - static bind any>(fn: Func): Func; - /** - * Captures the current execution context and returns a function that accepts a - * function as an argument. Whenever the returned function is called, it - * calls the function passed to it within the captured context. - * - * ```js - * const asyncLocalStorage = new AsyncLocalStorage(); - * const runInAsyncScope = asyncLocalStorage.run(123, () => AsyncLocalStorage.snapshot()); - * const result = asyncLocalStorage.run(321, () => runInAsyncScope(() => asyncLocalStorage.getStore())); - * console.log(result); // returns 123 - * ``` - * - * AsyncLocalStorage.snapshot() can replace the use of AsyncResource for simple - * async context tracking purposes, for example: - * - * ```js - * class Foo { - * #runInAsyncScope = AsyncLocalStorage.snapshot(); - * - * get() { return this.#runInAsyncScope(() => asyncLocalStorage.getStore()); } - * } - * - * const foo = asyncLocalStorage.run(123, () => new Foo()); - * console.log(asyncLocalStorage.run(321, () => foo.get())); // returns 123 - * ``` - * @since v19.8.0 - * @experimental - * @return A new function with the signature `(fn: (...args) : R, ...args) : R`. - */ - static snapshot(): (fn: (...args: TArgs) => R, ...args: TArgs) => R; - /** - * Disables the instance of `AsyncLocalStorage`. All subsequent calls - * to `asyncLocalStorage.getStore()` will return `undefined` until`asyncLocalStorage.run()` or `asyncLocalStorage.enterWith()` is called again. - * - * When calling `asyncLocalStorage.disable()`, all current contexts linked to the - * instance will be exited. - * - * Calling `asyncLocalStorage.disable()` is required before the`asyncLocalStorage` can be garbage collected. This does not apply to stores - * provided by the `asyncLocalStorage`, as those objects are garbage collected - * along with the corresponding async resources. - * - * Use this method when the `asyncLocalStorage` is not in use anymore - * in the current process. - * @since v13.10.0, v12.17.0 - * @experimental - */ - disable(): void; - /** - * Returns the current store. - * If called outside of an asynchronous context initialized by - * calling `asyncLocalStorage.run()` or `asyncLocalStorage.enterWith()`, it - * returns `undefined`. - * @since v13.10.0, v12.17.0 - */ - getStore(): T | undefined; - /** - * Runs a function synchronously within a context and returns its - * return value. The store is not accessible outside of the callback function. - * The store is accessible to any asynchronous operations created within the - * callback. - * - * The optional `args` are passed to the callback function. - * - * If the callback function throws an error, the error is thrown by `run()` too. - * The stacktrace is not impacted by this call and the context is exited. - * - * Example: - * - * ```js - * const store = { id: 2 }; - * try { - * asyncLocalStorage.run(store, () => { - * asyncLocalStorage.getStore(); // Returns the store object - * setTimeout(() => { - * asyncLocalStorage.getStore(); // Returns the store object - * }, 200); - * throw new Error(); - * }); - * } catch (e) { - * asyncLocalStorage.getStore(); // Returns undefined - * // The error will be caught here - * } - * ``` - * @since v13.10.0, v12.17.0 - */ - run(store: T, callback: () => R): R; - run(store: T, callback: (...args: TArgs) => R, ...args: TArgs): R; - /** - * Runs a function synchronously outside of a context and returns its - * return value. The store is not accessible within the callback function or - * the asynchronous operations created within the callback. Any `getStore()`call done within the callback function will always return `undefined`. - * - * The optional `args` are passed to the callback function. - * - * If the callback function throws an error, the error is thrown by `exit()` too. - * The stacktrace is not impacted by this call and the context is re-entered. - * - * Example: - * - * ```js - * // Within a call to run - * try { - * asyncLocalStorage.getStore(); // Returns the store object or value - * asyncLocalStorage.exit(() => { - * asyncLocalStorage.getStore(); // Returns undefined - * throw new Error(); - * }); - * } catch (e) { - * asyncLocalStorage.getStore(); // Returns the same object or value - * // The error will be caught here - * } - * ``` - * @since v13.10.0, v12.17.0 - * @experimental - */ - exit(callback: (...args: TArgs) => R, ...args: TArgs): R; - /** - * Transitions into the context for the remainder of the current - * synchronous execution and then persists the store through any following - * asynchronous calls. - * - * Example: - * - * ```js - * const store = { id: 1 }; - * // Replaces previous store with the given store object - * asyncLocalStorage.enterWith(store); - * asyncLocalStorage.getStore(); // Returns the store object - * someAsyncOperation(() => { - * asyncLocalStorage.getStore(); // Returns the same object - * }); - * ``` - * - * This transition will continue for the _entire_ synchronous execution. - * This means that if, for example, the context is entered within an event - * handler subsequent event handlers will also run within that context unless - * specifically bound to another context with an `AsyncResource`. That is why`run()` should be preferred over `enterWith()` unless there are strong reasons - * to use the latter method. - * - * ```js - * const store = { id: 1 }; - * - * emitter.on('my-event', () => { - * asyncLocalStorage.enterWith(store); - * }); - * emitter.on('my-event', () => { - * asyncLocalStorage.getStore(); // Returns the same object - * }); - * - * asyncLocalStorage.getStore(); // Returns undefined - * emitter.emit('my-event'); - * asyncLocalStorage.getStore(); // Returns the same object - * ``` - * @since v13.11.0, v12.17.0 - * @experimental - */ - enterWith(store: T): void; - } -} -declare module "node:async_hooks" { - export * from "async_hooks"; -} diff --git a/node_modules/@types/node/ts4.8/buffer.d.ts b/node_modules/@types/node/ts4.8/buffer.d.ts deleted file mode 100644 index 255e268..0000000 --- a/node_modules/@types/node/ts4.8/buffer.d.ts +++ /dev/null @@ -1,2363 +0,0 @@ -/** - * `Buffer` objects are used to represent a fixed-length sequence of bytes. Many - * Node.js APIs support `Buffer`s. - * - * The `Buffer` class is a subclass of JavaScript's [`Uint8Array`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array) class and - * extends it with methods that cover additional use cases. Node.js APIs accept - * plain [`Uint8Array`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array) s wherever `Buffer`s are supported as well. - * - * While the `Buffer` class is available within the global scope, it is still - * recommended to explicitly reference it via an import or require statement. - * - * ```js - * import { Buffer } from 'node:buffer'; - * - * // Creates a zero-filled Buffer of length 10. - * const buf1 = Buffer.alloc(10); - * - * // Creates a Buffer of length 10, - * // filled with bytes which all have the value `1`. - * const buf2 = Buffer.alloc(10, 1); - * - * // Creates an uninitialized buffer of length 10. - * // This is faster than calling Buffer.alloc() but the returned - * // Buffer instance might contain old data that needs to be - * // overwritten using fill(), write(), or other functions that fill the Buffer's - * // contents. - * const buf3 = Buffer.allocUnsafe(10); - * - * // Creates a Buffer containing the bytes [1, 2, 3]. - * const buf4 = Buffer.from([1, 2, 3]); - * - * // Creates a Buffer containing the bytes [1, 1, 1, 1] – the entries - * // are all truncated using `(value & 255)` to fit into the range 0–255. - * const buf5 = Buffer.from([257, 257.5, -255, '1']); - * - * // Creates a Buffer containing the UTF-8-encoded bytes for the string 'tést': - * // [0x74, 0xc3, 0xa9, 0x73, 0x74] (in hexadecimal notation) - * // [116, 195, 169, 115, 116] (in decimal notation) - * const buf6 = Buffer.from('tést'); - * - * // Creates a Buffer containing the Latin-1 bytes [0x74, 0xe9, 0x73, 0x74]. - * const buf7 = Buffer.from('tést', 'latin1'); - * ``` - * @see [source](https://github.com/nodejs/node/blob/v20.2.0/lib/buffer.js) - */ -declare module "buffer" { - import { BinaryLike } from "node:crypto"; - import { ReadableStream as WebReadableStream } from "node:stream/web"; - /** - * This function returns `true` if `input` contains only valid UTF-8-encoded data, - * including the case in which `input` is empty. - * - * Throws if the `input` is a detached array buffer. - * @since v19.4.0, v18.14.0 - * @param input The input to validate. - */ - export function isUtf8(input: Buffer | ArrayBuffer | NodeJS.TypedArray): boolean; - /** - * This function returns `true` if `input` contains only valid ASCII-encoded data, - * including the case in which `input` is empty. - * - * Throws if the `input` is a detached array buffer. - * @since v19.6.0, v18.15.0 - * @param input The input to validate. - */ - export function isAscii(input: Buffer | ArrayBuffer | NodeJS.TypedArray): boolean; - export const INSPECT_MAX_BYTES: number; - export const kMaxLength: number; - export const kStringMaxLength: number; - export const constants: { - MAX_LENGTH: number; - MAX_STRING_LENGTH: number; - }; - export type TranscodeEncoding = - | "ascii" - | "utf8" - | "utf-8" - | "utf16le" - | "utf-16le" - | "ucs2" - | "ucs-2" - | "latin1" - | "binary"; - /** - * Re-encodes the given `Buffer` or `Uint8Array` instance from one character - * encoding to another. Returns a new `Buffer` instance. - * - * Throws if the `fromEnc` or `toEnc` specify invalid character encodings or if - * conversion from `fromEnc` to `toEnc` is not permitted. - * - * Encodings supported by `buffer.transcode()` are: `'ascii'`, `'utf8'`,`'utf16le'`, `'ucs2'`, `'latin1'`, and `'binary'`. - * - * The transcoding process will use substitution characters if a given byte - * sequence cannot be adequately represented in the target encoding. For instance: - * - * ```js - * import { Buffer, transcode } from 'node:buffer'; - * - * const newBuf = transcode(Buffer.from('€'), 'utf8', 'ascii'); - * console.log(newBuf.toString('ascii')); - * // Prints: '?' - * ``` - * - * Because the Euro (`€`) sign is not representable in US-ASCII, it is replaced - * with `?` in the transcoded `Buffer`. - * @since v7.1.0 - * @param source A `Buffer` or `Uint8Array` instance. - * @param fromEnc The current encoding. - * @param toEnc To target encoding. - */ - export function transcode(source: Uint8Array, fromEnc: TranscodeEncoding, toEnc: TranscodeEncoding): Buffer; - export const SlowBuffer: { - /** @deprecated since v6.0.0, use `Buffer.allocUnsafeSlow()` */ - new(size: number): Buffer; - prototype: Buffer; - }; - /** - * Resolves a `'blob:nodedata:...'` an associated `Blob` object registered using - * a prior call to `URL.createObjectURL()`. - * @since v16.7.0 - * @experimental - * @param id A `'blob:nodedata:...` URL string returned by a prior call to `URL.createObjectURL()`. - */ - export function resolveObjectURL(id: string): Blob | undefined; - export { Buffer }; - /** - * @experimental - */ - export interface BlobOptions { - /** - * One of either `'transparent'` or `'native'`. When set to `'native'`, line endings in string source parts - * will be converted to the platform native line-ending as specified by `require('node:os').EOL`. - */ - endings?: "transparent" | "native"; - /** - * The Blob content-type. The intent is for `type` to convey - * the MIME media type of the data, however no validation of the type format - * is performed. - */ - type?: string | undefined; - } - /** - * A [`Blob`](https://developer.mozilla.org/en-US/docs/Web/API/Blob) encapsulates immutable, raw data that can be safely shared across - * multiple worker threads. - * @since v15.7.0, v14.18.0 - */ - export class Blob { - /** - * The total size of the `Blob` in bytes. - * @since v15.7.0, v14.18.0 - */ - readonly size: number; - /** - * The content-type of the `Blob`. - * @since v15.7.0, v14.18.0 - */ - readonly type: string; - /** - * Creates a new `Blob` object containing a concatenation of the given sources. - * - * {ArrayBuffer}, {TypedArray}, {DataView}, and {Buffer} sources are copied into - * the 'Blob' and can therefore be safely modified after the 'Blob' is created. - * - * String sources are also copied into the `Blob`. - */ - constructor(sources: Array, options?: BlobOptions); - /** - * Returns a promise that fulfills with an [ArrayBuffer](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer) containing a copy of - * the `Blob` data. - * @since v15.7.0, v14.18.0 - */ - arrayBuffer(): Promise; - /** - * Creates and returns a new `Blob` containing a subset of this `Blob` objects - * data. The original `Blob` is not altered. - * @since v15.7.0, v14.18.0 - * @param start The starting index. - * @param end The ending index. - * @param type The content-type for the new `Blob` - */ - slice(start?: number, end?: number, type?: string): Blob; - /** - * Returns a promise that fulfills with the contents of the `Blob` decoded as a - * UTF-8 string. - * @since v15.7.0, v14.18.0 - */ - text(): Promise; - /** - * Returns a new `ReadableStream` that allows the content of the `Blob` to be read. - * @since v16.7.0 - */ - stream(): WebReadableStream; - } - export interface FileOptions { - /** - * One of either `'transparent'` or `'native'`. When set to `'native'`, line endings in string source parts will be - * converted to the platform native line-ending as specified by `require('node:os').EOL`. - */ - endings?: "native" | "transparent"; - /** The File content-type. */ - type?: string; - /** The last modified date of the file. `Default`: Date.now(). */ - lastModified?: number; - } - /** - * A [`File`](https://developer.mozilla.org/en-US/docs/Web/API/File) provides information about files. - * @since v19.2.0, v18.13.0 - */ - export class File extends Blob { - constructor(sources: Array, fileName: string, options?: FileOptions); - /** - * The name of the `File`. - * @since v19.2.0, v18.13.0 - */ - readonly name: string; - /** - * The last modified date of the `File`. - * @since v19.2.0, v18.13.0 - */ - readonly lastModified: number; - } - export import atob = globalThis.atob; - export import btoa = globalThis.btoa; - import { Blob as NodeBlob } from "buffer"; - // This conditional type will be the existing global Blob in a browser, or - // the copy below in a Node environment. - type __Blob = typeof globalThis extends { onmessage: any; Blob: any } ? {} : NodeBlob; - global { - namespace NodeJS { - export { BufferEncoding }; - } - // Buffer class - type BufferEncoding = - | "ascii" - | "utf8" - | "utf-8" - | "utf16le" - | "utf-16le" - | "ucs2" - | "ucs-2" - | "base64" - | "base64url" - | "latin1" - | "binary" - | "hex"; - type WithImplicitCoercion = - | T - | { - valueOf(): T; - }; - /** - * Raw data is stored in instances of the Buffer class. - * A Buffer is similar to an array of integers but corresponds to a raw memory allocation outside the V8 heap. A Buffer cannot be resized. - * Valid string encodings: 'ascii'|'utf8'|'utf16le'|'ucs2'(alias of 'utf16le')|'base64'|'base64url'|'binary'(deprecated)|'hex' - */ - interface BufferConstructor { - /** - * Allocates a new buffer containing the given {str}. - * - * @param str String to store in buffer. - * @param encoding encoding to use, optional. Default is 'utf8' - * @deprecated since v10.0.0 - Use `Buffer.from(string[, encoding])` instead. - */ - new(str: string, encoding?: BufferEncoding): Buffer; - /** - * Allocates a new buffer of {size} octets. - * - * @param size count of octets to allocate. - * @deprecated since v10.0.0 - Use `Buffer.alloc()` instead (also see `Buffer.allocUnsafe()`). - */ - new(size: number): Buffer; - /** - * Allocates a new buffer containing the given {array} of octets. - * - * @param array The octets to store. - * @deprecated since v10.0.0 - Use `Buffer.from(array)` instead. - */ - new(array: Uint8Array): Buffer; - /** - * Produces a Buffer backed by the same allocated memory as - * the given {ArrayBuffer}/{SharedArrayBuffer}. - * - * @param arrayBuffer The ArrayBuffer with which to share memory. - * @deprecated since v10.0.0 - Use `Buffer.from(arrayBuffer[, byteOffset[, length]])` instead. - */ - new(arrayBuffer: ArrayBuffer | SharedArrayBuffer): Buffer; - /** - * Allocates a new buffer containing the given {array} of octets. - * - * @param array The octets to store. - * @deprecated since v10.0.0 - Use `Buffer.from(array)` instead. - */ - new(array: readonly any[]): Buffer; - /** - * Copies the passed {buffer} data onto a new {Buffer} instance. - * - * @param buffer The buffer to copy. - * @deprecated since v10.0.0 - Use `Buffer.from(buffer)` instead. - */ - new(buffer: Buffer): Buffer; - /** - * Allocates a new `Buffer` using an `array` of bytes in the range `0` – `255`. - * Array entries outside that range will be truncated to fit into it. - * - * ```js - * import { Buffer } from 'node:buffer'; - * - * // Creates a new Buffer containing the UTF-8 bytes of the string 'buffer'. - * const buf = Buffer.from([0x62, 0x75, 0x66, 0x66, 0x65, 0x72]); - * ``` - * - * If `array` is an `Array`\-like object (that is, one with a `length` property of - * type `number`), it is treated as if it is an array, unless it is a `Buffer` or - * a `Uint8Array`. This means all other `TypedArray` variants get treated as an`Array`. To create a `Buffer` from the bytes backing a `TypedArray`, use `Buffer.copyBytesFrom()`. - * - * A `TypeError` will be thrown if `array` is not an `Array` or another type - * appropriate for `Buffer.from()` variants. - * - * `Buffer.from(array)` and `Buffer.from(string)` may also use the internal`Buffer` pool like `Buffer.allocUnsafe()` does. - * @since v5.10.0 - */ - from( - arrayBuffer: WithImplicitCoercion, - byteOffset?: number, - length?: number, - ): Buffer; - /** - * Creates a new Buffer using the passed {data} - * @param data data to create a new Buffer - */ - from(data: Uint8Array | readonly number[]): Buffer; - from(data: WithImplicitCoercion): Buffer; - /** - * Creates a new Buffer containing the given JavaScript string {str}. - * If provided, the {encoding} parameter identifies the character encoding. - * If not provided, {encoding} defaults to 'utf8'. - */ - from( - str: - | WithImplicitCoercion - | { - [Symbol.toPrimitive](hint: "string"): string; - }, - encoding?: BufferEncoding, - ): Buffer; - /** - * Creates a new Buffer using the passed {data} - * @param values to create a new Buffer - */ - of(...items: number[]): Buffer; - /** - * Returns `true` if `obj` is a `Buffer`, `false` otherwise. - * - * ```js - * import { Buffer } from 'node:buffer'; - * - * Buffer.isBuffer(Buffer.alloc(10)); // true - * Buffer.isBuffer(Buffer.from('foo')); // true - * Buffer.isBuffer('a string'); // false - * Buffer.isBuffer([]); // false - * Buffer.isBuffer(new Uint8Array(1024)); // false - * ``` - * @since v0.1.101 - */ - isBuffer(obj: any): obj is Buffer; - /** - * Returns `true` if `encoding` is the name of a supported character encoding, - * or `false` otherwise. - * - * ```js - * import { Buffer } from 'node:buffer'; - * - * console.log(Buffer.isEncoding('utf8')); - * // Prints: true - * - * console.log(Buffer.isEncoding('hex')); - * // Prints: true - * - * console.log(Buffer.isEncoding('utf/8')); - * // Prints: false - * - * console.log(Buffer.isEncoding('')); - * // Prints: false - * ``` - * @since v0.9.1 - * @param encoding A character encoding name to check. - */ - isEncoding(encoding: string): encoding is BufferEncoding; - /** - * Returns the byte length of a string when encoded using `encoding`. - * This is not the same as [`String.prototype.length`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/length), which does not account - * for the encoding that is used to convert the string into bytes. - * - * For `'base64'`, `'base64url'`, and `'hex'`, this function assumes valid input. - * For strings that contain non-base64/hex-encoded data (e.g. whitespace), the - * return value might be greater than the length of a `Buffer` created from the - * string. - * - * ```js - * import { Buffer } from 'node:buffer'; - * - * const str = '\u00bd + \u00bc = \u00be'; - * - * console.log(`${str}: ${str.length} characters, ` + - * `${Buffer.byteLength(str, 'utf8')} bytes`); - * // Prints: ½ + ¼ = ¾: 9 characters, 12 bytes - * ``` - * - * When `string` is a - * `Buffer`/[`DataView`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DataView)/[`TypedArray`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/- - * Reference/Global_Objects/TypedArray)/[`ArrayBuffer`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer)/[`SharedArrayBuffer`](https://develop- - * er.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/SharedArrayBuffer), the byte length as reported by `.byteLength`is returned. - * @since v0.1.90 - * @param string A value to calculate the length of. - * @param [encoding='utf8'] If `string` is a string, this is its encoding. - * @return The number of bytes contained within `string`. - */ - byteLength( - string: string | Buffer | NodeJS.ArrayBufferView | ArrayBuffer | SharedArrayBuffer, - encoding?: BufferEncoding, - ): number; - /** - * Returns a new `Buffer` which is the result of concatenating all the `Buffer`instances in the `list` together. - * - * If the list has no items, or if the `totalLength` is 0, then a new zero-length`Buffer` is returned. - * - * If `totalLength` is not provided, it is calculated from the `Buffer` instances - * in `list` by adding their lengths. - * - * If `totalLength` is provided, it is coerced to an unsigned integer. If the - * combined length of the `Buffer`s in `list` exceeds `totalLength`, the result is - * truncated to `totalLength`. - * - * ```js - * import { Buffer } from 'node:buffer'; - * - * // Create a single `Buffer` from a list of three `Buffer` instances. - * - * const buf1 = Buffer.alloc(10); - * const buf2 = Buffer.alloc(14); - * const buf3 = Buffer.alloc(18); - * const totalLength = buf1.length + buf2.length + buf3.length; - * - * console.log(totalLength); - * // Prints: 42 - * - * const bufA = Buffer.concat([buf1, buf2, buf3], totalLength); - * - * console.log(bufA); - * // Prints: - * console.log(bufA.length); - * // Prints: 42 - * ``` - * - * `Buffer.concat()` may also use the internal `Buffer` pool like `Buffer.allocUnsafe()` does. - * @since v0.7.11 - * @param list List of `Buffer` or {@link Uint8Array} instances to concatenate. - * @param totalLength Total length of the `Buffer` instances in `list` when concatenated. - */ - concat(list: readonly Uint8Array[], totalLength?: number): Buffer; - /** - * Copies the underlying memory of `view` into a new `Buffer`. - * - * ```js - * const u16 = new Uint16Array([0, 0xffff]); - * const buf = Buffer.copyBytesFrom(u16, 1, 1); - * u16[1] = 0; - * console.log(buf.length); // 2 - * console.log(buf[0]); // 255 - * console.log(buf[1]); // 255 - * ``` - * @since v19.8.0 - * @param view The {TypedArray} to copy. - * @param [offset=0] The starting offset within `view`. - * @param [length=view.length - offset] The number of elements from `view` to copy. - */ - copyBytesFrom(view: NodeJS.TypedArray, offset?: number, length?: number): Buffer; - /** - * Compares `buf1` to `buf2`, typically for the purpose of sorting arrays of`Buffer` instances. This is equivalent to calling `buf1.compare(buf2)`. - * - * ```js - * import { Buffer } from 'node:buffer'; - * - * const buf1 = Buffer.from('1234'); - * const buf2 = Buffer.from('0123'); - * const arr = [buf1, buf2]; - * - * console.log(arr.sort(Buffer.compare)); - * // Prints: [ , ] - * // (This result is equal to: [buf2, buf1].) - * ``` - * @since v0.11.13 - * @return Either `-1`, `0`, or `1`, depending on the result of the comparison. See `compare` for details. - */ - compare(buf1: Uint8Array, buf2: Uint8Array): -1 | 0 | 1; - /** - * Allocates a new `Buffer` of `size` bytes. If `fill` is `undefined`, the`Buffer` will be zero-filled. - * - * ```js - * import { Buffer } from 'node:buffer'; - * - * const buf = Buffer.alloc(5); - * - * console.log(buf); - * // Prints: - * ``` - * - * If `size` is larger than {@link constants.MAX_LENGTH} or smaller than 0, `ERR_OUT_OF_RANGE` is thrown. - * - * If `fill` is specified, the allocated `Buffer` will be initialized by calling `buf.fill(fill)`. - * - * ```js - * import { Buffer } from 'node:buffer'; - * - * const buf = Buffer.alloc(5, 'a'); - * - * console.log(buf); - * // Prints: - * ``` - * - * If both `fill` and `encoding` are specified, the allocated `Buffer` will be - * initialized by calling `buf.fill(fill, encoding)`. - * - * ```js - * import { Buffer } from 'node:buffer'; - * - * const buf = Buffer.alloc(11, 'aGVsbG8gd29ybGQ=', 'base64'); - * - * console.log(buf); - * // Prints: - * ``` - * - * Calling `Buffer.alloc()` can be measurably slower than the alternative `Buffer.allocUnsafe()` but ensures that the newly created `Buffer` instance - * contents will never contain sensitive data from previous allocations, including - * data that might not have been allocated for `Buffer`s. - * - * A `TypeError` will be thrown if `size` is not a number. - * @since v5.10.0 - * @param size The desired length of the new `Buffer`. - * @param [fill=0] A value to pre-fill the new `Buffer` with. - * @param [encoding='utf8'] If `fill` is a string, this is its encoding. - */ - alloc(size: number, fill?: string | Uint8Array | number, encoding?: BufferEncoding): Buffer; - /** - * Allocates a new `Buffer` of `size` bytes. If `size` is larger than {@link constants.MAX_LENGTH} or smaller than 0, `ERR_OUT_OF_RANGE` is thrown. - * - * The underlying memory for `Buffer` instances created in this way is _not_ - * _initialized_. The contents of the newly created `Buffer` are unknown and _may contain sensitive data_. Use `Buffer.alloc()` instead to initialize`Buffer` instances with zeroes. - * - * ```js - * import { Buffer } from 'node:buffer'; - * - * const buf = Buffer.allocUnsafe(10); - * - * console.log(buf); - * // Prints (contents may vary): - * - * buf.fill(0); - * - * console.log(buf); - * // Prints: - * ``` - * - * A `TypeError` will be thrown if `size` is not a number. - * - * The `Buffer` module pre-allocates an internal `Buffer` instance of - * size `Buffer.poolSize` that is used as a pool for the fast allocation of new `Buffer` instances created using `Buffer.allocUnsafe()`, `Buffer.from(array)`, - * and `Buffer.concat()` only when `size` is less than `Buffer.poolSize >>> 1` (floor of `Buffer.poolSize` divided by two). - * - * Use of this pre-allocated internal memory pool is a key difference between - * calling `Buffer.alloc(size, fill)` vs. `Buffer.allocUnsafe(size).fill(fill)`. - * Specifically, `Buffer.alloc(size, fill)` will _never_ use the internal `Buffer`pool, while `Buffer.allocUnsafe(size).fill(fill)`_will_ use the internal`Buffer` pool if `size` is less - * than or equal to half `Buffer.poolSize`. The - * difference is subtle but can be important when an application requires the - * additional performance that `Buffer.allocUnsafe()` provides. - * @since v5.10.0 - * @param size The desired length of the new `Buffer`. - */ - allocUnsafe(size: number): Buffer; - /** - * Allocates a new `Buffer` of `size` bytes. If `size` is larger than {@link constants.MAX_LENGTH} or smaller than 0, `ERR_OUT_OF_RANGE` is thrown. A zero-length `Buffer` is created if - * `size` is 0. - * - * The underlying memory for `Buffer` instances created in this way is _not_ - * _initialized_. The contents of the newly created `Buffer` are unknown and _may contain sensitive data_. Use `buf.fill(0)` to initialize - * such `Buffer` instances with zeroes. - * - * When using `Buffer.allocUnsafe()` to allocate new `Buffer` instances, - * allocations under 4 KiB are sliced from a single pre-allocated `Buffer`. This - * allows applications to avoid the garbage collection overhead of creating many - * individually allocated `Buffer` instances. This approach improves both - * performance and memory usage by eliminating the need to track and clean up as - * many individual `ArrayBuffer` objects. - * - * However, in the case where a developer may need to retain a small chunk of - * memory from a pool for an indeterminate amount of time, it may be appropriate - * to create an un-pooled `Buffer` instance using `Buffer.allocUnsafeSlow()` and - * then copying out the relevant bits. - * - * ```js - * import { Buffer } from 'node:buffer'; - * - * // Need to keep around a few small chunks of memory. - * const store = []; - * - * socket.on('readable', () => { - * let data; - * while (null !== (data = readable.read())) { - * // Allocate for retained data. - * const sb = Buffer.allocUnsafeSlow(10); - * - * // Copy the data into the new allocation. - * data.copy(sb, 0, 0, 10); - * - * store.push(sb); - * } - * }); - * ``` - * - * A `TypeError` will be thrown if `size` is not a number. - * @since v5.12.0 - * @param size The desired length of the new `Buffer`. - */ - allocUnsafeSlow(size: number): Buffer; - /** - * This is the size (in bytes) of pre-allocated internal `Buffer` instances used - * for pooling. This value may be modified. - * @since v0.11.3 - */ - poolSize: number; - } - interface Buffer extends Uint8Array { - /** - * Writes `string` to `buf` at `offset` according to the character encoding in`encoding`. The `length` parameter is the number of bytes to write. If `buf` did - * not contain enough space to fit the entire string, only part of `string` will be - * written. However, partially encoded characters will not be written. - * - * ```js - * import { Buffer } from 'node:buffer'; - * - * const buf = Buffer.alloc(256); - * - * const len = buf.write('\u00bd + \u00bc = \u00be', 0); - * - * console.log(`${len} bytes: ${buf.toString('utf8', 0, len)}`); - * // Prints: 12 bytes: ½ + ¼ = ¾ - * - * const buffer = Buffer.alloc(10); - * - * const length = buffer.write('abcd', 8); - * - * console.log(`${length} bytes: ${buffer.toString('utf8', 8, 10)}`); - * // Prints: 2 bytes : ab - * ``` - * @since v0.1.90 - * @param string String to write to `buf`. - * @param [offset=0] Number of bytes to skip before starting to write `string`. - * @param [length=buf.length - offset] Maximum number of bytes to write (written bytes will not exceed `buf.length - offset`). - * @param [encoding='utf8'] The character encoding of `string`. - * @return Number of bytes written. - */ - write(string: string, encoding?: BufferEncoding): number; - write(string: string, offset: number, encoding?: BufferEncoding): number; - write(string: string, offset: number, length: number, encoding?: BufferEncoding): number; - /** - * Decodes `buf` to a string according to the specified character encoding in`encoding`. `start` and `end` may be passed to decode only a subset of `buf`. - * - * If `encoding` is `'utf8'` and a byte sequence in the input is not valid UTF-8, - * then each invalid byte is replaced with the replacement character `U+FFFD`. - * - * The maximum length of a string instance (in UTF-16 code units) is available - * as {@link constants.MAX_STRING_LENGTH}. - * - * ```js - * import { Buffer } from 'node:buffer'; - * - * const buf1 = Buffer.allocUnsafe(26); - * - * for (let i = 0; i < 26; i++) { - * // 97 is the decimal ASCII value for 'a'. - * buf1[i] = i + 97; - * } - * - * console.log(buf1.toString('utf8')); - * // Prints: abcdefghijklmnopqrstuvwxyz - * console.log(buf1.toString('utf8', 0, 5)); - * // Prints: abcde - * - * const buf2 = Buffer.from('tést'); - * - * console.log(buf2.toString('hex')); - * // Prints: 74c3a97374 - * console.log(buf2.toString('utf8', 0, 3)); - * // Prints: té - * console.log(buf2.toString(undefined, 0, 3)); - * // Prints: té - * ``` - * @since v0.1.90 - * @param [encoding='utf8'] The character encoding to use. - * @param [start=0] The byte offset to start decoding at. - * @param [end=buf.length] The byte offset to stop decoding at (not inclusive). - */ - toString(encoding?: BufferEncoding, start?: number, end?: number): string; - /** - * Returns a JSON representation of `buf`. [`JSON.stringify()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON/stringify) implicitly calls - * this function when stringifying a `Buffer` instance. - * - * `Buffer.from()` accepts objects in the format returned from this method. - * In particular, `Buffer.from(buf.toJSON())` works like `Buffer.from(buf)`. - * - * ```js - * import { Buffer } from 'node:buffer'; - * - * const buf = Buffer.from([0x1, 0x2, 0x3, 0x4, 0x5]); - * const json = JSON.stringify(buf); - * - * console.log(json); - * // Prints: {"type":"Buffer","data":[1,2,3,4,5]} - * - * const copy = JSON.parse(json, (key, value) => { - * return value && value.type === 'Buffer' ? - * Buffer.from(value) : - * value; - * }); - * - * console.log(copy); - * // Prints: - * ``` - * @since v0.9.2 - */ - toJSON(): { - type: "Buffer"; - data: number[]; - }; - /** - * Returns `true` if both `buf` and `otherBuffer` have exactly the same bytes,`false` otherwise. Equivalent to `buf.compare(otherBuffer) === 0`. - * - * ```js - * import { Buffer } from 'node:buffer'; - * - * const buf1 = Buffer.from('ABC'); - * const buf2 = Buffer.from('414243', 'hex'); - * const buf3 = Buffer.from('ABCD'); - * - * console.log(buf1.equals(buf2)); - * // Prints: true - * console.log(buf1.equals(buf3)); - * // Prints: false - * ``` - * @since v0.11.13 - * @param otherBuffer A `Buffer` or {@link Uint8Array} with which to compare `buf`. - */ - equals(otherBuffer: Uint8Array): boolean; - /** - * Compares `buf` with `target` and returns a number indicating whether `buf`comes before, after, or is the same as `target` in sort order. - * Comparison is based on the actual sequence of bytes in each `Buffer`. - * - * * `0` is returned if `target` is the same as `buf` - * * `1` is returned if `target` should come _before_`buf` when sorted. - * * `-1` is returned if `target` should come _after_`buf` when sorted. - * - * ```js - * import { Buffer } from 'node:buffer'; - * - * const buf1 = Buffer.from('ABC'); - * const buf2 = Buffer.from('BCD'); - * const buf3 = Buffer.from('ABCD'); - * - * console.log(buf1.compare(buf1)); - * // Prints: 0 - * console.log(buf1.compare(buf2)); - * // Prints: -1 - * console.log(buf1.compare(buf3)); - * // Prints: -1 - * console.log(buf2.compare(buf1)); - * // Prints: 1 - * console.log(buf2.compare(buf3)); - * // Prints: 1 - * console.log([buf1, buf2, buf3].sort(Buffer.compare)); - * // Prints: [ , , ] - * // (This result is equal to: [buf1, buf3, buf2].) - * ``` - * - * The optional `targetStart`, `targetEnd`, `sourceStart`, and `sourceEnd`arguments can be used to limit the comparison to specific ranges within `target`and `buf` respectively. - * - * ```js - * import { Buffer } from 'node:buffer'; - * - * const buf1 = Buffer.from([1, 2, 3, 4, 5, 6, 7, 8, 9]); - * const buf2 = Buffer.from([5, 6, 7, 8, 9, 1, 2, 3, 4]); - * - * console.log(buf1.compare(buf2, 5, 9, 0, 4)); - * // Prints: 0 - * console.log(buf1.compare(buf2, 0, 6, 4)); - * // Prints: -1 - * console.log(buf1.compare(buf2, 5, 6, 5)); - * // Prints: 1 - * ``` - * - * `ERR_OUT_OF_RANGE` is thrown if `targetStart < 0`, `sourceStart < 0`,`targetEnd > target.byteLength`, or `sourceEnd > source.byteLength`. - * @since v0.11.13 - * @param target A `Buffer` or {@link Uint8Array} with which to compare `buf`. - * @param [targetStart=0] The offset within `target` at which to begin comparison. - * @param [targetEnd=target.length] The offset within `target` at which to end comparison (not inclusive). - * @param [sourceStart=0] The offset within `buf` at which to begin comparison. - * @param [sourceEnd=buf.length] The offset within `buf` at which to end comparison (not inclusive). - */ - compare( - target: Uint8Array, - targetStart?: number, - targetEnd?: number, - sourceStart?: number, - sourceEnd?: number, - ): -1 | 0 | 1; - /** - * Copies data from a region of `buf` to a region in `target`, even if the `target`memory region overlaps with `buf`. - * - * [`TypedArray.prototype.set()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/TypedArray/set) performs the same operation, and is available - * for all TypedArrays, including Node.js `Buffer`s, although it takes - * different function arguments. - * - * ```js - * import { Buffer } from 'node:buffer'; - * - * // Create two `Buffer` instances. - * const buf1 = Buffer.allocUnsafe(26); - * const buf2 = Buffer.allocUnsafe(26).fill('!'); - * - * for (let i = 0; i < 26; i++) { - * // 97 is the decimal ASCII value for 'a'. - * buf1[i] = i + 97; - * } - * - * // Copy `buf1` bytes 16 through 19 into `buf2` starting at byte 8 of `buf2`. - * buf1.copy(buf2, 8, 16, 20); - * // This is equivalent to: - * // buf2.set(buf1.subarray(16, 20), 8); - * - * console.log(buf2.toString('ascii', 0, 25)); - * // Prints: !!!!!!!!qrst!!!!!!!!!!!!! - * ``` - * - * ```js - * import { Buffer } from 'node:buffer'; - * - * // Create a `Buffer` and copy data from one region to an overlapping region - * // within the same `Buffer`. - * - * const buf = Buffer.allocUnsafe(26); - * - * for (let i = 0; i < 26; i++) { - * // 97 is the decimal ASCII value for 'a'. - * buf[i] = i + 97; - * } - * - * buf.copy(buf, 0, 4, 10); - * - * console.log(buf.toString()); - * // Prints: efghijghijklmnopqrstuvwxyz - * ``` - * @since v0.1.90 - * @param target A `Buffer` or {@link Uint8Array} to copy into. - * @param [targetStart=0] The offset within `target` at which to begin writing. - * @param [sourceStart=0] The offset within `buf` from which to begin copying. - * @param [sourceEnd=buf.length] The offset within `buf` at which to stop copying (not inclusive). - * @return The number of bytes copied. - */ - copy(target: Uint8Array, targetStart?: number, sourceStart?: number, sourceEnd?: number): number; - /** - * Returns a new `Buffer` that references the same memory as the original, but - * offset and cropped by the `start` and `end` indices. - * - * This method is not compatible with the `Uint8Array.prototype.slice()`, - * which is a superclass of `Buffer`. To copy the slice, use`Uint8Array.prototype.slice()`. - * - * ```js - * import { Buffer } from 'node:buffer'; - * - * const buf = Buffer.from('buffer'); - * - * const copiedBuf = Uint8Array.prototype.slice.call(buf); - * copiedBuf[0]++; - * console.log(copiedBuf.toString()); - * // Prints: cuffer - * - * console.log(buf.toString()); - * // Prints: buffer - * - * // With buf.slice(), the original buffer is modified. - * const notReallyCopiedBuf = buf.slice(); - * notReallyCopiedBuf[0]++; - * console.log(notReallyCopiedBuf.toString()); - * // Prints: cuffer - * console.log(buf.toString()); - * // Also prints: cuffer (!) - * ``` - * @since v0.3.0 - * @deprecated Use `subarray` instead. - * @param [start=0] Where the new `Buffer` will start. - * @param [end=buf.length] Where the new `Buffer` will end (not inclusive). - */ - slice(start?: number, end?: number): Buffer; - /** - * Returns a new `Buffer` that references the same memory as the original, but - * offset and cropped by the `start` and `end` indices. - * - * Specifying `end` greater than `buf.length` will return the same result as - * that of `end` equal to `buf.length`. - * - * This method is inherited from [`TypedArray.prototype.subarray()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/TypedArray/subarray). - * - * Modifying the new `Buffer` slice will modify the memory in the original `Buffer`because the allocated memory of the two objects overlap. - * - * ```js - * import { Buffer } from 'node:buffer'; - * - * // Create a `Buffer` with the ASCII alphabet, take a slice, and modify one byte - * // from the original `Buffer`. - * - * const buf1 = Buffer.allocUnsafe(26); - * - * for (let i = 0; i < 26; i++) { - * // 97 is the decimal ASCII value for 'a'. - * buf1[i] = i + 97; - * } - * - * const buf2 = buf1.subarray(0, 3); - * - * console.log(buf2.toString('ascii', 0, buf2.length)); - * // Prints: abc - * - * buf1[0] = 33; - * - * console.log(buf2.toString('ascii', 0, buf2.length)); - * // Prints: !bc - * ``` - * - * Specifying negative indexes causes the slice to be generated relative to the - * end of `buf` rather than the beginning. - * - * ```js - * import { Buffer } from 'node:buffer'; - * - * const buf = Buffer.from('buffer'); - * - * console.log(buf.subarray(-6, -1).toString()); - * // Prints: buffe - * // (Equivalent to buf.subarray(0, 5).) - * - * console.log(buf.subarray(-6, -2).toString()); - * // Prints: buff - * // (Equivalent to buf.subarray(0, 4).) - * - * console.log(buf.subarray(-5, -2).toString()); - * // Prints: uff - * // (Equivalent to buf.subarray(1, 4).) - * ``` - * @since v3.0.0 - * @param [start=0] Where the new `Buffer` will start. - * @param [end=buf.length] Where the new `Buffer` will end (not inclusive). - */ - subarray(start?: number, end?: number): Buffer; - /** - * Writes `value` to `buf` at the specified `offset` as big-endian. - * - * `value` is interpreted and written as a two's complement signed integer. - * - * ```js - * import { Buffer } from 'node:buffer'; - * - * const buf = Buffer.allocUnsafe(8); - * - * buf.writeBigInt64BE(0x0102030405060708n, 0); - * - * console.log(buf); - * // Prints: - * ``` - * @since v12.0.0, v10.20.0 - * @param value Number to be written to `buf`. - * @param [offset=0] Number of bytes to skip before starting to write. Must satisfy: `0 <= offset <= buf.length - 8`. - * @return `offset` plus the number of bytes written. - */ - writeBigInt64BE(value: bigint, offset?: number): number; - /** - * Writes `value` to `buf` at the specified `offset` as little-endian. - * - * `value` is interpreted and written as a two's complement signed integer. - * - * ```js - * import { Buffer } from 'node:buffer'; - * - * const buf = Buffer.allocUnsafe(8); - * - * buf.writeBigInt64LE(0x0102030405060708n, 0); - * - * console.log(buf); - * // Prints: - * ``` - * @since v12.0.0, v10.20.0 - * @param value Number to be written to `buf`. - * @param [offset=0] Number of bytes to skip before starting to write. Must satisfy: `0 <= offset <= buf.length - 8`. - * @return `offset` plus the number of bytes written. - */ - writeBigInt64LE(value: bigint, offset?: number): number; - /** - * Writes `value` to `buf` at the specified `offset` as big-endian. - * - * This function is also available under the `writeBigUint64BE` alias. - * - * ```js - * import { Buffer } from 'node:buffer'; - * - * const buf = Buffer.allocUnsafe(8); - * - * buf.writeBigUInt64BE(0xdecafafecacefaden, 0); - * - * console.log(buf); - * // Prints: - * ``` - * @since v12.0.0, v10.20.0 - * @param value Number to be written to `buf`. - * @param [offset=0] Number of bytes to skip before starting to write. Must satisfy: `0 <= offset <= buf.length - 8`. - * @return `offset` plus the number of bytes written. - */ - writeBigUInt64BE(value: bigint, offset?: number): number; - /** - * @alias Buffer.writeBigUInt64BE - * @since v14.10.0, v12.19.0 - */ - writeBigUint64BE(value: bigint, offset?: number): number; - /** - * Writes `value` to `buf` at the specified `offset` as little-endian - * - * ```js - * import { Buffer } from 'node:buffer'; - * - * const buf = Buffer.allocUnsafe(8); - * - * buf.writeBigUInt64LE(0xdecafafecacefaden, 0); - * - * console.log(buf); - * // Prints: - * ``` - * - * This function is also available under the `writeBigUint64LE` alias. - * @since v12.0.0, v10.20.0 - * @param value Number to be written to `buf`. - * @param [offset=0] Number of bytes to skip before starting to write. Must satisfy: `0 <= offset <= buf.length - 8`. - * @return `offset` plus the number of bytes written. - */ - writeBigUInt64LE(value: bigint, offset?: number): number; - /** - * @alias Buffer.writeBigUInt64LE - * @since v14.10.0, v12.19.0 - */ - writeBigUint64LE(value: bigint, offset?: number): number; - /** - * Writes `byteLength` bytes of `value` to `buf` at the specified `offset`as little-endian. Supports up to 48 bits of accuracy. Behavior is undefined - * when `value` is anything other than an unsigned integer. - * - * This function is also available under the `writeUintLE` alias. - * - * ```js - * import { Buffer } from 'node:buffer'; - * - * const buf = Buffer.allocUnsafe(6); - * - * buf.writeUIntLE(0x1234567890ab, 0, 6); - * - * console.log(buf); - * // Prints: - * ``` - * @since v0.5.5 - * @param value Number to be written to `buf`. - * @param offset Number of bytes to skip before starting to write. Must satisfy `0 <= offset <= buf.length - byteLength`. - * @param byteLength Number of bytes to write. Must satisfy `0 < byteLength <= 6`. - * @return `offset` plus the number of bytes written. - */ - writeUIntLE(value: number, offset: number, byteLength: number): number; - /** - * @alias Buffer.writeUIntLE - * @since v14.9.0, v12.19.0 - */ - writeUintLE(value: number, offset: number, byteLength: number): number; - /** - * Writes `byteLength` bytes of `value` to `buf` at the specified `offset`as big-endian. Supports up to 48 bits of accuracy. Behavior is undefined - * when `value` is anything other than an unsigned integer. - * - * This function is also available under the `writeUintBE` alias. - * - * ```js - * import { Buffer } from 'node:buffer'; - * - * const buf = Buffer.allocUnsafe(6); - * - * buf.writeUIntBE(0x1234567890ab, 0, 6); - * - * console.log(buf); - * // Prints: - * ``` - * @since v0.5.5 - * @param value Number to be written to `buf`. - * @param offset Number of bytes to skip before starting to write. Must satisfy `0 <= offset <= buf.length - byteLength`. - * @param byteLength Number of bytes to write. Must satisfy `0 < byteLength <= 6`. - * @return `offset` plus the number of bytes written. - */ - writeUIntBE(value: number, offset: number, byteLength: number): number; - /** - * @alias Buffer.writeUIntBE - * @since v14.9.0, v12.19.0 - */ - writeUintBE(value: number, offset: number, byteLength: number): number; - /** - * Writes `byteLength` bytes of `value` to `buf` at the specified `offset`as little-endian. Supports up to 48 bits of accuracy. Behavior is undefined - * when `value` is anything other than a signed integer. - * - * ```js - * import { Buffer } from 'node:buffer'; - * - * const buf = Buffer.allocUnsafe(6); - * - * buf.writeIntLE(0x1234567890ab, 0, 6); - * - * console.log(buf); - * // Prints: - * ``` - * @since v0.11.15 - * @param value Number to be written to `buf`. - * @param offset Number of bytes to skip before starting to write. Must satisfy `0 <= offset <= buf.length - byteLength`. - * @param byteLength Number of bytes to write. Must satisfy `0 < byteLength <= 6`. - * @return `offset` plus the number of bytes written. - */ - writeIntLE(value: number, offset: number, byteLength: number): number; - /** - * Writes `byteLength` bytes of `value` to `buf` at the specified `offset`as big-endian. Supports up to 48 bits of accuracy. Behavior is undefined when`value` is anything other than a - * signed integer. - * - * ```js - * import { Buffer } from 'node:buffer'; - * - * const buf = Buffer.allocUnsafe(6); - * - * buf.writeIntBE(0x1234567890ab, 0, 6); - * - * console.log(buf); - * // Prints: - * ``` - * @since v0.11.15 - * @param value Number to be written to `buf`. - * @param offset Number of bytes to skip before starting to write. Must satisfy `0 <= offset <= buf.length - byteLength`. - * @param byteLength Number of bytes to write. Must satisfy `0 < byteLength <= 6`. - * @return `offset` plus the number of bytes written. - */ - writeIntBE(value: number, offset: number, byteLength: number): number; - /** - * Reads an unsigned, big-endian 64-bit integer from `buf` at the specified`offset`. - * - * This function is also available under the `readBigUint64BE` alias. - * - * ```js - * import { Buffer } from 'node:buffer'; - * - * const buf = Buffer.from([0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff]); - * - * console.log(buf.readBigUInt64BE(0)); - * // Prints: 4294967295n - * ``` - * @since v12.0.0, v10.20.0 - * @param [offset=0] Number of bytes to skip before starting to read. Must satisfy: `0 <= offset <= buf.length - 8`. - */ - readBigUInt64BE(offset?: number): bigint; - /** - * @alias Buffer.readBigUInt64BE - * @since v14.10.0, v12.19.0 - */ - readBigUint64BE(offset?: number): bigint; - /** - * Reads an unsigned, little-endian 64-bit integer from `buf` at the specified`offset`. - * - * This function is also available under the `readBigUint64LE` alias. - * - * ```js - * import { Buffer } from 'node:buffer'; - * - * const buf = Buffer.from([0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff]); - * - * console.log(buf.readBigUInt64LE(0)); - * // Prints: 18446744069414584320n - * ``` - * @since v12.0.0, v10.20.0 - * @param [offset=0] Number of bytes to skip before starting to read. Must satisfy: `0 <= offset <= buf.length - 8`. - */ - readBigUInt64LE(offset?: number): bigint; - /** - * @alias Buffer.readBigUInt64LE - * @since v14.10.0, v12.19.0 - */ - readBigUint64LE(offset?: number): bigint; - /** - * Reads a signed, big-endian 64-bit integer from `buf` at the specified `offset`. - * - * Integers read from a `Buffer` are interpreted as two's complement signed - * values. - * @since v12.0.0, v10.20.0 - * @param [offset=0] Number of bytes to skip before starting to read. Must satisfy: `0 <= offset <= buf.length - 8`. - */ - readBigInt64BE(offset?: number): bigint; - /** - * Reads a signed, little-endian 64-bit integer from `buf` at the specified`offset`. - * - * Integers read from a `Buffer` are interpreted as two's complement signed - * values. - * @since v12.0.0, v10.20.0 - * @param [offset=0] Number of bytes to skip before starting to read. Must satisfy: `0 <= offset <= buf.length - 8`. - */ - readBigInt64LE(offset?: number): bigint; - /** - * Reads `byteLength` number of bytes from `buf` at the specified `offset`and interprets the result as an unsigned, little-endian integer supporting - * up to 48 bits of accuracy. - * - * This function is also available under the `readUintLE` alias. - * - * ```js - * import { Buffer } from 'node:buffer'; - * - * const buf = Buffer.from([0x12, 0x34, 0x56, 0x78, 0x90, 0xab]); - * - * console.log(buf.readUIntLE(0, 6).toString(16)); - * // Prints: ab9078563412 - * ``` - * @since v0.11.15 - * @param offset Number of bytes to skip before starting to read. Must satisfy `0 <= offset <= buf.length - byteLength`. - * @param byteLength Number of bytes to read. Must satisfy `0 < byteLength <= 6`. - */ - readUIntLE(offset: number, byteLength: number): number; - /** - * @alias Buffer.readUIntLE - * @since v14.9.0, v12.19.0 - */ - readUintLE(offset: number, byteLength: number): number; - /** - * Reads `byteLength` number of bytes from `buf` at the specified `offset`and interprets the result as an unsigned big-endian integer supporting - * up to 48 bits of accuracy. - * - * This function is also available under the `readUintBE` alias. - * - * ```js - * import { Buffer } from 'node:buffer'; - * - * const buf = Buffer.from([0x12, 0x34, 0x56, 0x78, 0x90, 0xab]); - * - * console.log(buf.readUIntBE(0, 6).toString(16)); - * // Prints: 1234567890ab - * console.log(buf.readUIntBE(1, 6).toString(16)); - * // Throws ERR_OUT_OF_RANGE. - * ``` - * @since v0.11.15 - * @param offset Number of bytes to skip before starting to read. Must satisfy `0 <= offset <= buf.length - byteLength`. - * @param byteLength Number of bytes to read. Must satisfy `0 < byteLength <= 6`. - */ - readUIntBE(offset: number, byteLength: number): number; - /** - * @alias Buffer.readUIntBE - * @since v14.9.0, v12.19.0 - */ - readUintBE(offset: number, byteLength: number): number; - /** - * Reads `byteLength` number of bytes from `buf` at the specified `offset`and interprets the result as a little-endian, two's complement signed value - * supporting up to 48 bits of accuracy. - * - * ```js - * import { Buffer } from 'node:buffer'; - * - * const buf = Buffer.from([0x12, 0x34, 0x56, 0x78, 0x90, 0xab]); - * - * console.log(buf.readIntLE(0, 6).toString(16)); - * // Prints: -546f87a9cbee - * ``` - * @since v0.11.15 - * @param offset Number of bytes to skip before starting to read. Must satisfy `0 <= offset <= buf.length - byteLength`. - * @param byteLength Number of bytes to read. Must satisfy `0 < byteLength <= 6`. - */ - readIntLE(offset: number, byteLength: number): number; - /** - * Reads `byteLength` number of bytes from `buf` at the specified `offset`and interprets the result as a big-endian, two's complement signed value - * supporting up to 48 bits of accuracy. - * - * ```js - * import { Buffer } from 'node:buffer'; - * - * const buf = Buffer.from([0x12, 0x34, 0x56, 0x78, 0x90, 0xab]); - * - * console.log(buf.readIntBE(0, 6).toString(16)); - * // Prints: 1234567890ab - * console.log(buf.readIntBE(1, 6).toString(16)); - * // Throws ERR_OUT_OF_RANGE. - * console.log(buf.readIntBE(1, 0).toString(16)); - * // Throws ERR_OUT_OF_RANGE. - * ``` - * @since v0.11.15 - * @param offset Number of bytes to skip before starting to read. Must satisfy `0 <= offset <= buf.length - byteLength`. - * @param byteLength Number of bytes to read. Must satisfy `0 < byteLength <= 6`. - */ - readIntBE(offset: number, byteLength: number): number; - /** - * Reads an unsigned 8-bit integer from `buf` at the specified `offset`. - * - * This function is also available under the `readUint8` alias. - * - * ```js - * import { Buffer } from 'node:buffer'; - * - * const buf = Buffer.from([1, -2]); - * - * console.log(buf.readUInt8(0)); - * // Prints: 1 - * console.log(buf.readUInt8(1)); - * // Prints: 254 - * console.log(buf.readUInt8(2)); - * // Throws ERR_OUT_OF_RANGE. - * ``` - * @since v0.5.0 - * @param [offset=0] Number of bytes to skip before starting to read. Must satisfy `0 <= offset <= buf.length - 1`. - */ - readUInt8(offset?: number): number; - /** - * @alias Buffer.readUInt8 - * @since v14.9.0, v12.19.0 - */ - readUint8(offset?: number): number; - /** - * Reads an unsigned, little-endian 16-bit integer from `buf` at the specified`offset`. - * - * This function is also available under the `readUint16LE` alias. - * - * ```js - * import { Buffer } from 'node:buffer'; - * - * const buf = Buffer.from([0x12, 0x34, 0x56]); - * - * console.log(buf.readUInt16LE(0).toString(16)); - * // Prints: 3412 - * console.log(buf.readUInt16LE(1).toString(16)); - * // Prints: 5634 - * console.log(buf.readUInt16LE(2).toString(16)); - * // Throws ERR_OUT_OF_RANGE. - * ``` - * @since v0.5.5 - * @param [offset=0] Number of bytes to skip before starting to read. Must satisfy `0 <= offset <= buf.length - 2`. - */ - readUInt16LE(offset?: number): number; - /** - * @alias Buffer.readUInt16LE - * @since v14.9.0, v12.19.0 - */ - readUint16LE(offset?: number): number; - /** - * Reads an unsigned, big-endian 16-bit integer from `buf` at the specified`offset`. - * - * This function is also available under the `readUint16BE` alias. - * - * ```js - * import { Buffer } from 'node:buffer'; - * - * const buf = Buffer.from([0x12, 0x34, 0x56]); - * - * console.log(buf.readUInt16BE(0).toString(16)); - * // Prints: 1234 - * console.log(buf.readUInt16BE(1).toString(16)); - * // Prints: 3456 - * ``` - * @since v0.5.5 - * @param [offset=0] Number of bytes to skip before starting to read. Must satisfy `0 <= offset <= buf.length - 2`. - */ - readUInt16BE(offset?: number): number; - /** - * @alias Buffer.readUInt16BE - * @since v14.9.0, v12.19.0 - */ - readUint16BE(offset?: number): number; - /** - * Reads an unsigned, little-endian 32-bit integer from `buf` at the specified`offset`. - * - * This function is also available under the `readUint32LE` alias. - * - * ```js - * import { Buffer } from 'node:buffer'; - * - * const buf = Buffer.from([0x12, 0x34, 0x56, 0x78]); - * - * console.log(buf.readUInt32LE(0).toString(16)); - * // Prints: 78563412 - * console.log(buf.readUInt32LE(1).toString(16)); - * // Throws ERR_OUT_OF_RANGE. - * ``` - * @since v0.5.5 - * @param [offset=0] Number of bytes to skip before starting to read. Must satisfy `0 <= offset <= buf.length - 4`. - */ - readUInt32LE(offset?: number): number; - /** - * @alias Buffer.readUInt32LE - * @since v14.9.0, v12.19.0 - */ - readUint32LE(offset?: number): number; - /** - * Reads an unsigned, big-endian 32-bit integer from `buf` at the specified`offset`. - * - * This function is also available under the `readUint32BE` alias. - * - * ```js - * import { Buffer } from 'node:buffer'; - * - * const buf = Buffer.from([0x12, 0x34, 0x56, 0x78]); - * - * console.log(buf.readUInt32BE(0).toString(16)); - * // Prints: 12345678 - * ``` - * @since v0.5.5 - * @param [offset=0] Number of bytes to skip before starting to read. Must satisfy `0 <= offset <= buf.length - 4`. - */ - readUInt32BE(offset?: number): number; - /** - * @alias Buffer.readUInt32BE - * @since v14.9.0, v12.19.0 - */ - readUint32BE(offset?: number): number; - /** - * Reads a signed 8-bit integer from `buf` at the specified `offset`. - * - * Integers read from a `Buffer` are interpreted as two's complement signed values. - * - * ```js - * import { Buffer } from 'node:buffer'; - * - * const buf = Buffer.from([-1, 5]); - * - * console.log(buf.readInt8(0)); - * // Prints: -1 - * console.log(buf.readInt8(1)); - * // Prints: 5 - * console.log(buf.readInt8(2)); - * // Throws ERR_OUT_OF_RANGE. - * ``` - * @since v0.5.0 - * @param [offset=0] Number of bytes to skip before starting to read. Must satisfy `0 <= offset <= buf.length - 1`. - */ - readInt8(offset?: number): number; - /** - * Reads a signed, little-endian 16-bit integer from `buf` at the specified`offset`. - * - * Integers read from a `Buffer` are interpreted as two's complement signed values. - * - * ```js - * import { Buffer } from 'node:buffer'; - * - * const buf = Buffer.from([0, 5]); - * - * console.log(buf.readInt16LE(0)); - * // Prints: 1280 - * console.log(buf.readInt16LE(1)); - * // Throws ERR_OUT_OF_RANGE. - * ``` - * @since v0.5.5 - * @param [offset=0] Number of bytes to skip before starting to read. Must satisfy `0 <= offset <= buf.length - 2`. - */ - readInt16LE(offset?: number): number; - /** - * Reads a signed, big-endian 16-bit integer from `buf` at the specified `offset`. - * - * Integers read from a `Buffer` are interpreted as two's complement signed values. - * - * ```js - * import { Buffer } from 'node:buffer'; - * - * const buf = Buffer.from([0, 5]); - * - * console.log(buf.readInt16BE(0)); - * // Prints: 5 - * ``` - * @since v0.5.5 - * @param [offset=0] Number of bytes to skip before starting to read. Must satisfy `0 <= offset <= buf.length - 2`. - */ - readInt16BE(offset?: number): number; - /** - * Reads a signed, little-endian 32-bit integer from `buf` at the specified`offset`. - * - * Integers read from a `Buffer` are interpreted as two's complement signed values. - * - * ```js - * import { Buffer } from 'node:buffer'; - * - * const buf = Buffer.from([0, 0, 0, 5]); - * - * console.log(buf.readInt32LE(0)); - * // Prints: 83886080 - * console.log(buf.readInt32LE(1)); - * // Throws ERR_OUT_OF_RANGE. - * ``` - * @since v0.5.5 - * @param [offset=0] Number of bytes to skip before starting to read. Must satisfy `0 <= offset <= buf.length - 4`. - */ - readInt32LE(offset?: number): number; - /** - * Reads a signed, big-endian 32-bit integer from `buf` at the specified `offset`. - * - * Integers read from a `Buffer` are interpreted as two's complement signed values. - * - * ```js - * import { Buffer } from 'node:buffer'; - * - * const buf = Buffer.from([0, 0, 0, 5]); - * - * console.log(buf.readInt32BE(0)); - * // Prints: 5 - * ``` - * @since v0.5.5 - * @param [offset=0] Number of bytes to skip before starting to read. Must satisfy `0 <= offset <= buf.length - 4`. - */ - readInt32BE(offset?: number): number; - /** - * Reads a 32-bit, little-endian float from `buf` at the specified `offset`. - * - * ```js - * import { Buffer } from 'node:buffer'; - * - * const buf = Buffer.from([1, 2, 3, 4]); - * - * console.log(buf.readFloatLE(0)); - * // Prints: 1.539989614439558e-36 - * console.log(buf.readFloatLE(1)); - * // Throws ERR_OUT_OF_RANGE. - * ``` - * @since v0.11.15 - * @param [offset=0] Number of bytes to skip before starting to read. Must satisfy `0 <= offset <= buf.length - 4`. - */ - readFloatLE(offset?: number): number; - /** - * Reads a 32-bit, big-endian float from `buf` at the specified `offset`. - * - * ```js - * import { Buffer } from 'node:buffer'; - * - * const buf = Buffer.from([1, 2, 3, 4]); - * - * console.log(buf.readFloatBE(0)); - * // Prints: 2.387939260590663e-38 - * ``` - * @since v0.11.15 - * @param [offset=0] Number of bytes to skip before starting to read. Must satisfy `0 <= offset <= buf.length - 4`. - */ - readFloatBE(offset?: number): number; - /** - * Reads a 64-bit, little-endian double from `buf` at the specified `offset`. - * - * ```js - * import { Buffer } from 'node:buffer'; - * - * const buf = Buffer.from([1, 2, 3, 4, 5, 6, 7, 8]); - * - * console.log(buf.readDoubleLE(0)); - * // Prints: 5.447603722011605e-270 - * console.log(buf.readDoubleLE(1)); - * // Throws ERR_OUT_OF_RANGE. - * ``` - * @since v0.11.15 - * @param [offset=0] Number of bytes to skip before starting to read. Must satisfy `0 <= offset <= buf.length - 8`. - */ - readDoubleLE(offset?: number): number; - /** - * Reads a 64-bit, big-endian double from `buf` at the specified `offset`. - * - * ```js - * import { Buffer } from 'node:buffer'; - * - * const buf = Buffer.from([1, 2, 3, 4, 5, 6, 7, 8]); - * - * console.log(buf.readDoubleBE(0)); - * // Prints: 8.20788039913184e-304 - * ``` - * @since v0.11.15 - * @param [offset=0] Number of bytes to skip before starting to read. Must satisfy `0 <= offset <= buf.length - 8`. - */ - readDoubleBE(offset?: number): number; - reverse(): this; - /** - * Interprets `buf` as an array of unsigned 16-bit integers and swaps the - * byte order _in-place_. Throws `ERR_INVALID_BUFFER_SIZE` if `buf.length` is not a multiple of 2. - * - * ```js - * import { Buffer } from 'node:buffer'; - * - * const buf1 = Buffer.from([0x1, 0x2, 0x3, 0x4, 0x5, 0x6, 0x7, 0x8]); - * - * console.log(buf1); - * // Prints: - * - * buf1.swap16(); - * - * console.log(buf1); - * // Prints: - * - * const buf2 = Buffer.from([0x1, 0x2, 0x3]); - * - * buf2.swap16(); - * // Throws ERR_INVALID_BUFFER_SIZE. - * ``` - * - * One convenient use of `buf.swap16()` is to perform a fast in-place conversion - * between UTF-16 little-endian and UTF-16 big-endian: - * - * ```js - * import { Buffer } from 'node:buffer'; - * - * const buf = Buffer.from('This is little-endian UTF-16', 'utf16le'); - * buf.swap16(); // Convert to big-endian UTF-16 text. - * ``` - * @since v5.10.0 - * @return A reference to `buf`. - */ - swap16(): Buffer; - /** - * Interprets `buf` as an array of unsigned 32-bit integers and swaps the - * byte order _in-place_. Throws `ERR_INVALID_BUFFER_SIZE` if `buf.length` is not a multiple of 4. - * - * ```js - * import { Buffer } from 'node:buffer'; - * - * const buf1 = Buffer.from([0x1, 0x2, 0x3, 0x4, 0x5, 0x6, 0x7, 0x8]); - * - * console.log(buf1); - * // Prints: - * - * buf1.swap32(); - * - * console.log(buf1); - * // Prints: - * - * const buf2 = Buffer.from([0x1, 0x2, 0x3]); - * - * buf2.swap32(); - * // Throws ERR_INVALID_BUFFER_SIZE. - * ``` - * @since v5.10.0 - * @return A reference to `buf`. - */ - swap32(): Buffer; - /** - * Interprets `buf` as an array of 64-bit numbers and swaps byte order _in-place_. - * Throws `ERR_INVALID_BUFFER_SIZE` if `buf.length` is not a multiple of 8. - * - * ```js - * import { Buffer } from 'node:buffer'; - * - * const buf1 = Buffer.from([0x1, 0x2, 0x3, 0x4, 0x5, 0x6, 0x7, 0x8]); - * - * console.log(buf1); - * // Prints: - * - * buf1.swap64(); - * - * console.log(buf1); - * // Prints: - * - * const buf2 = Buffer.from([0x1, 0x2, 0x3]); - * - * buf2.swap64(); - * // Throws ERR_INVALID_BUFFER_SIZE. - * ``` - * @since v6.3.0 - * @return A reference to `buf`. - */ - swap64(): Buffer; - /** - * Writes `value` to `buf` at the specified `offset`. `value` must be a - * valid unsigned 8-bit integer. Behavior is undefined when `value` is anything - * other than an unsigned 8-bit integer. - * - * This function is also available under the `writeUint8` alias. - * - * ```js - * import { Buffer } from 'node:buffer'; - * - * const buf = Buffer.allocUnsafe(4); - * - * buf.writeUInt8(0x3, 0); - * buf.writeUInt8(0x4, 1); - * buf.writeUInt8(0x23, 2); - * buf.writeUInt8(0x42, 3); - * - * console.log(buf); - * // Prints: - * ``` - * @since v0.5.0 - * @param value Number to be written to `buf`. - * @param [offset=0] Number of bytes to skip before starting to write. Must satisfy `0 <= offset <= buf.length - 1`. - * @return `offset` plus the number of bytes written. - */ - writeUInt8(value: number, offset?: number): number; - /** - * @alias Buffer.writeUInt8 - * @since v14.9.0, v12.19.0 - */ - writeUint8(value: number, offset?: number): number; - /** - * Writes `value` to `buf` at the specified `offset` as little-endian. The `value`must be a valid unsigned 16-bit integer. Behavior is undefined when `value` is - * anything other than an unsigned 16-bit integer. - * - * This function is also available under the `writeUint16LE` alias. - * - * ```js - * import { Buffer } from 'node:buffer'; - * - * const buf = Buffer.allocUnsafe(4); - * - * buf.writeUInt16LE(0xdead, 0); - * buf.writeUInt16LE(0xbeef, 2); - * - * console.log(buf); - * // Prints: - * ``` - * @since v0.5.5 - * @param value Number to be written to `buf`. - * @param [offset=0] Number of bytes to skip before starting to write. Must satisfy `0 <= offset <= buf.length - 2`. - * @return `offset` plus the number of bytes written. - */ - writeUInt16LE(value: number, offset?: number): number; - /** - * @alias Buffer.writeUInt16LE - * @since v14.9.0, v12.19.0 - */ - writeUint16LE(value: number, offset?: number): number; - /** - * Writes `value` to `buf` at the specified `offset` as big-endian. The `value`must be a valid unsigned 16-bit integer. Behavior is undefined when `value`is anything other than an - * unsigned 16-bit integer. - * - * This function is also available under the `writeUint16BE` alias. - * - * ```js - * import { Buffer } from 'node:buffer'; - * - * const buf = Buffer.allocUnsafe(4); - * - * buf.writeUInt16BE(0xdead, 0); - * buf.writeUInt16BE(0xbeef, 2); - * - * console.log(buf); - * // Prints: - * ``` - * @since v0.5.5 - * @param value Number to be written to `buf`. - * @param [offset=0] Number of bytes to skip before starting to write. Must satisfy `0 <= offset <= buf.length - 2`. - * @return `offset` plus the number of bytes written. - */ - writeUInt16BE(value: number, offset?: number): number; - /** - * @alias Buffer.writeUInt16BE - * @since v14.9.0, v12.19.0 - */ - writeUint16BE(value: number, offset?: number): number; - /** - * Writes `value` to `buf` at the specified `offset` as little-endian. The `value`must be a valid unsigned 32-bit integer. Behavior is undefined when `value` is - * anything other than an unsigned 32-bit integer. - * - * This function is also available under the `writeUint32LE` alias. - * - * ```js - * import { Buffer } from 'node:buffer'; - * - * const buf = Buffer.allocUnsafe(4); - * - * buf.writeUInt32LE(0xfeedface, 0); - * - * console.log(buf); - * // Prints: - * ``` - * @since v0.5.5 - * @param value Number to be written to `buf`. - * @param [offset=0] Number of bytes to skip before starting to write. Must satisfy `0 <= offset <= buf.length - 4`. - * @return `offset` plus the number of bytes written. - */ - writeUInt32LE(value: number, offset?: number): number; - /** - * @alias Buffer.writeUInt32LE - * @since v14.9.0, v12.19.0 - */ - writeUint32LE(value: number, offset?: number): number; - /** - * Writes `value` to `buf` at the specified `offset` as big-endian. The `value`must be a valid unsigned 32-bit integer. Behavior is undefined when `value`is anything other than an - * unsigned 32-bit integer. - * - * This function is also available under the `writeUint32BE` alias. - * - * ```js - * import { Buffer } from 'node:buffer'; - * - * const buf = Buffer.allocUnsafe(4); - * - * buf.writeUInt32BE(0xfeedface, 0); - * - * console.log(buf); - * // Prints: - * ``` - * @since v0.5.5 - * @param value Number to be written to `buf`. - * @param [offset=0] Number of bytes to skip before starting to write. Must satisfy `0 <= offset <= buf.length - 4`. - * @return `offset` plus the number of bytes written. - */ - writeUInt32BE(value: number, offset?: number): number; - /** - * @alias Buffer.writeUInt32BE - * @since v14.9.0, v12.19.0 - */ - writeUint32BE(value: number, offset?: number): number; - /** - * Writes `value` to `buf` at the specified `offset`. `value` must be a valid - * signed 8-bit integer. Behavior is undefined when `value` is anything other than - * a signed 8-bit integer. - * - * `value` is interpreted and written as a two's complement signed integer. - * - * ```js - * import { Buffer } from 'node:buffer'; - * - * const buf = Buffer.allocUnsafe(2); - * - * buf.writeInt8(2, 0); - * buf.writeInt8(-2, 1); - * - * console.log(buf); - * // Prints: - * ``` - * @since v0.5.0 - * @param value Number to be written to `buf`. - * @param [offset=0] Number of bytes to skip before starting to write. Must satisfy `0 <= offset <= buf.length - 1`. - * @return `offset` plus the number of bytes written. - */ - writeInt8(value: number, offset?: number): number; - /** - * Writes `value` to `buf` at the specified `offset` as little-endian. The `value`must be a valid signed 16-bit integer. Behavior is undefined when `value` is - * anything other than a signed 16-bit integer. - * - * The `value` is interpreted and written as a two's complement signed integer. - * - * ```js - * import { Buffer } from 'node:buffer'; - * - * const buf = Buffer.allocUnsafe(2); - * - * buf.writeInt16LE(0x0304, 0); - * - * console.log(buf); - * // Prints: - * ``` - * @since v0.5.5 - * @param value Number to be written to `buf`. - * @param [offset=0] Number of bytes to skip before starting to write. Must satisfy `0 <= offset <= buf.length - 2`. - * @return `offset` plus the number of bytes written. - */ - writeInt16LE(value: number, offset?: number): number; - /** - * Writes `value` to `buf` at the specified `offset` as big-endian. The `value`must be a valid signed 16-bit integer. Behavior is undefined when `value` is - * anything other than a signed 16-bit integer. - * - * The `value` is interpreted and written as a two's complement signed integer. - * - * ```js - * import { Buffer } from 'node:buffer'; - * - * const buf = Buffer.allocUnsafe(2); - * - * buf.writeInt16BE(0x0102, 0); - * - * console.log(buf); - * // Prints: - * ``` - * @since v0.5.5 - * @param value Number to be written to `buf`. - * @param [offset=0] Number of bytes to skip before starting to write. Must satisfy `0 <= offset <= buf.length - 2`. - * @return `offset` plus the number of bytes written. - */ - writeInt16BE(value: number, offset?: number): number; - /** - * Writes `value` to `buf` at the specified `offset` as little-endian. The `value`must be a valid signed 32-bit integer. Behavior is undefined when `value` is - * anything other than a signed 32-bit integer. - * - * The `value` is interpreted and written as a two's complement signed integer. - * - * ```js - * import { Buffer } from 'node:buffer'; - * - * const buf = Buffer.allocUnsafe(4); - * - * buf.writeInt32LE(0x05060708, 0); - * - * console.log(buf); - * // Prints: - * ``` - * @since v0.5.5 - * @param value Number to be written to `buf`. - * @param [offset=0] Number of bytes to skip before starting to write. Must satisfy `0 <= offset <= buf.length - 4`. - * @return `offset` plus the number of bytes written. - */ - writeInt32LE(value: number, offset?: number): number; - /** - * Writes `value` to `buf` at the specified `offset` as big-endian. The `value`must be a valid signed 32-bit integer. Behavior is undefined when `value` is - * anything other than a signed 32-bit integer. - * - * The `value` is interpreted and written as a two's complement signed integer. - * - * ```js - * import { Buffer } from 'node:buffer'; - * - * const buf = Buffer.allocUnsafe(4); - * - * buf.writeInt32BE(0x01020304, 0); - * - * console.log(buf); - * // Prints: - * ``` - * @since v0.5.5 - * @param value Number to be written to `buf`. - * @param [offset=0] Number of bytes to skip before starting to write. Must satisfy `0 <= offset <= buf.length - 4`. - * @return `offset` plus the number of bytes written. - */ - writeInt32BE(value: number, offset?: number): number; - /** - * Writes `value` to `buf` at the specified `offset` as little-endian. Behavior is - * undefined when `value` is anything other than a JavaScript number. - * - * ```js - * import { Buffer } from 'node:buffer'; - * - * const buf = Buffer.allocUnsafe(4); - * - * buf.writeFloatLE(0xcafebabe, 0); - * - * console.log(buf); - * // Prints: - * ``` - * @since v0.11.15 - * @param value Number to be written to `buf`. - * @param [offset=0] Number of bytes to skip before starting to write. Must satisfy `0 <= offset <= buf.length - 4`. - * @return `offset` plus the number of bytes written. - */ - writeFloatLE(value: number, offset?: number): number; - /** - * Writes `value` to `buf` at the specified `offset` as big-endian. Behavior is - * undefined when `value` is anything other than a JavaScript number. - * - * ```js - * import { Buffer } from 'node:buffer'; - * - * const buf = Buffer.allocUnsafe(4); - * - * buf.writeFloatBE(0xcafebabe, 0); - * - * console.log(buf); - * // Prints: - * ``` - * @since v0.11.15 - * @param value Number to be written to `buf`. - * @param [offset=0] Number of bytes to skip before starting to write. Must satisfy `0 <= offset <= buf.length - 4`. - * @return `offset` plus the number of bytes written. - */ - writeFloatBE(value: number, offset?: number): number; - /** - * Writes `value` to `buf` at the specified `offset` as little-endian. The `value`must be a JavaScript number. Behavior is undefined when `value` is anything - * other than a JavaScript number. - * - * ```js - * import { Buffer } from 'node:buffer'; - * - * const buf = Buffer.allocUnsafe(8); - * - * buf.writeDoubleLE(123.456, 0); - * - * console.log(buf); - * // Prints: - * ``` - * @since v0.11.15 - * @param value Number to be written to `buf`. - * @param [offset=0] Number of bytes to skip before starting to write. Must satisfy `0 <= offset <= buf.length - 8`. - * @return `offset` plus the number of bytes written. - */ - writeDoubleLE(value: number, offset?: number): number; - /** - * Writes `value` to `buf` at the specified `offset` as big-endian. The `value`must be a JavaScript number. Behavior is undefined when `value` is anything - * other than a JavaScript number. - * - * ```js - * import { Buffer } from 'node:buffer'; - * - * const buf = Buffer.allocUnsafe(8); - * - * buf.writeDoubleBE(123.456, 0); - * - * console.log(buf); - * // Prints: - * ``` - * @since v0.11.15 - * @param value Number to be written to `buf`. - * @param [offset=0] Number of bytes to skip before starting to write. Must satisfy `0 <= offset <= buf.length - 8`. - * @return `offset` plus the number of bytes written. - */ - writeDoubleBE(value: number, offset?: number): number; - /** - * Fills `buf` with the specified `value`. If the `offset` and `end` are not given, - * the entire `buf` will be filled: - * - * ```js - * import { Buffer } from 'node:buffer'; - * - * // Fill a `Buffer` with the ASCII character 'h'. - * - * const b = Buffer.allocUnsafe(50).fill('h'); - * - * console.log(b.toString()); - * // Prints: hhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh - * - * // Fill a buffer with empty string - * const c = Buffer.allocUnsafe(5).fill(''); - * - * console.log(c.fill('')); - * // Prints: - * ``` - * - * `value` is coerced to a `uint32` value if it is not a string, `Buffer`, or - * integer. If the resulting integer is greater than `255` (decimal), `buf` will be - * filled with `value & 255`. - * - * If the final write of a `fill()` operation falls on a multi-byte character, - * then only the bytes of that character that fit into `buf` are written: - * - * ```js - * import { Buffer } from 'node:buffer'; - * - * // Fill a `Buffer` with character that takes up two bytes in UTF-8. - * - * console.log(Buffer.allocUnsafe(5).fill('\u0222')); - * // Prints: - * ``` - * - * If `value` contains invalid characters, it is truncated; if no valid - * fill data remains, an exception is thrown: - * - * ```js - * import { Buffer } from 'node:buffer'; - * - * const buf = Buffer.allocUnsafe(5); - * - * console.log(buf.fill('a')); - * // Prints: - * console.log(buf.fill('aazz', 'hex')); - * // Prints: - * console.log(buf.fill('zz', 'hex')); - * // Throws an exception. - * ``` - * @since v0.5.0 - * @param value The value with which to fill `buf`. Empty value (string, Uint8Array, Buffer) is coerced to `0`. - * @param [offset=0] Number of bytes to skip before starting to fill `buf`. - * @param [end=buf.length] Where to stop filling `buf` (not inclusive). - * @param [encoding='utf8'] The encoding for `value` if `value` is a string. - * @return A reference to `buf`. - */ - fill(value: string | Uint8Array | number, offset?: number, end?: number, encoding?: BufferEncoding): this; - /** - * If `value` is: - * - * * a string, `value` is interpreted according to the character encoding in`encoding`. - * * a `Buffer` or [`Uint8Array`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array), `value` will be used in its entirety. - * To compare a partial `Buffer`, use `buf.subarray`. - * * a number, `value` will be interpreted as an unsigned 8-bit integer - * value between `0` and `255`. - * - * ```js - * import { Buffer } from 'node:buffer'; - * - * const buf = Buffer.from('this is a buffer'); - * - * console.log(buf.indexOf('this')); - * // Prints: 0 - * console.log(buf.indexOf('is')); - * // Prints: 2 - * console.log(buf.indexOf(Buffer.from('a buffer'))); - * // Prints: 8 - * console.log(buf.indexOf(97)); - * // Prints: 8 (97 is the decimal ASCII value for 'a') - * console.log(buf.indexOf(Buffer.from('a buffer example'))); - * // Prints: -1 - * console.log(buf.indexOf(Buffer.from('a buffer example').slice(0, 8))); - * // Prints: 8 - * - * const utf16Buffer = Buffer.from('\u039a\u0391\u03a3\u03a3\u0395', 'utf16le'); - * - * console.log(utf16Buffer.indexOf('\u03a3', 0, 'utf16le')); - * // Prints: 4 - * console.log(utf16Buffer.indexOf('\u03a3', -4, 'utf16le')); - * // Prints: 6 - * ``` - * - * If `value` is not a string, number, or `Buffer`, this method will throw a`TypeError`. If `value` is a number, it will be coerced to a valid byte value, - * an integer between 0 and 255. - * - * If `byteOffset` is not a number, it will be coerced to a number. If the result - * of coercion is `NaN` or `0`, then the entire buffer will be searched. This - * behavior matches [`String.prototype.indexOf()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/indexOf). - * - * ```js - * import { Buffer } from 'node:buffer'; - * - * const b = Buffer.from('abcdef'); - * - * // Passing a value that's a number, but not a valid byte. - * // Prints: 2, equivalent to searching for 99 or 'c'. - * console.log(b.indexOf(99.9)); - * console.log(b.indexOf(256 + 99)); - * - * // Passing a byteOffset that coerces to NaN or 0. - * // Prints: 1, searching the whole buffer. - * console.log(b.indexOf('b', undefined)); - * console.log(b.indexOf('b', {})); - * console.log(b.indexOf('b', null)); - * console.log(b.indexOf('b', [])); - * ``` - * - * If `value` is an empty string or empty `Buffer` and `byteOffset` is less - * than `buf.length`, `byteOffset` will be returned. If `value` is empty and`byteOffset` is at least `buf.length`, `buf.length` will be returned. - * @since v1.5.0 - * @param value What to search for. - * @param [byteOffset=0] Where to begin searching in `buf`. If negative, then offset is calculated from the end of `buf`. - * @param [encoding='utf8'] If `value` is a string, this is the encoding used to determine the binary representation of the string that will be searched for in `buf`. - * @return The index of the first occurrence of `value` in `buf`, or `-1` if `buf` does not contain `value`. - */ - indexOf(value: string | number | Uint8Array, byteOffset?: number, encoding?: BufferEncoding): number; - /** - * Identical to `buf.indexOf()`, except the last occurrence of `value` is found - * rather than the first occurrence. - * - * ```js - * import { Buffer } from 'node:buffer'; - * - * const buf = Buffer.from('this buffer is a buffer'); - * - * console.log(buf.lastIndexOf('this')); - * // Prints: 0 - * console.log(buf.lastIndexOf('buffer')); - * // Prints: 17 - * console.log(buf.lastIndexOf(Buffer.from('buffer'))); - * // Prints: 17 - * console.log(buf.lastIndexOf(97)); - * // Prints: 15 (97 is the decimal ASCII value for 'a') - * console.log(buf.lastIndexOf(Buffer.from('yolo'))); - * // Prints: -1 - * console.log(buf.lastIndexOf('buffer', 5)); - * // Prints: 5 - * console.log(buf.lastIndexOf('buffer', 4)); - * // Prints: -1 - * - * const utf16Buffer = Buffer.from('\u039a\u0391\u03a3\u03a3\u0395', 'utf16le'); - * - * console.log(utf16Buffer.lastIndexOf('\u03a3', undefined, 'utf16le')); - * // Prints: 6 - * console.log(utf16Buffer.lastIndexOf('\u03a3', -5, 'utf16le')); - * // Prints: 4 - * ``` - * - * If `value` is not a string, number, or `Buffer`, this method will throw a`TypeError`. If `value` is a number, it will be coerced to a valid byte value, - * an integer between 0 and 255. - * - * If `byteOffset` is not a number, it will be coerced to a number. Any arguments - * that coerce to `NaN`, like `{}` or `undefined`, will search the whole buffer. - * This behavior matches [`String.prototype.lastIndexOf()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/lastIndexOf). - * - * ```js - * import { Buffer } from 'node:buffer'; - * - * const b = Buffer.from('abcdef'); - * - * // Passing a value that's a number, but not a valid byte. - * // Prints: 2, equivalent to searching for 99 or 'c'. - * console.log(b.lastIndexOf(99.9)); - * console.log(b.lastIndexOf(256 + 99)); - * - * // Passing a byteOffset that coerces to NaN. - * // Prints: 1, searching the whole buffer. - * console.log(b.lastIndexOf('b', undefined)); - * console.log(b.lastIndexOf('b', {})); - * - * // Passing a byteOffset that coerces to 0. - * // Prints: -1, equivalent to passing 0. - * console.log(b.lastIndexOf('b', null)); - * console.log(b.lastIndexOf('b', [])); - * ``` - * - * If `value` is an empty string or empty `Buffer`, `byteOffset` will be returned. - * @since v6.0.0 - * @param value What to search for. - * @param [byteOffset=buf.length - 1] Where to begin searching in `buf`. If negative, then offset is calculated from the end of `buf`. - * @param [encoding='utf8'] If `value` is a string, this is the encoding used to determine the binary representation of the string that will be searched for in `buf`. - * @return The index of the last occurrence of `value` in `buf`, or `-1` if `buf` does not contain `value`. - */ - lastIndexOf(value: string | number | Uint8Array, byteOffset?: number, encoding?: BufferEncoding): number; - /** - * Creates and returns an [iterator](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols) of `[index, byte]` pairs from the contents - * of `buf`. - * - * ```js - * import { Buffer } from 'node:buffer'; - * - * // Log the entire contents of a `Buffer`. - * - * const buf = Buffer.from('buffer'); - * - * for (const pair of buf.entries()) { - * console.log(pair); - * } - * // Prints: - * // [0, 98] - * // [1, 117] - * // [2, 102] - * // [3, 102] - * // [4, 101] - * // [5, 114] - * ``` - * @since v1.1.0 - */ - entries(): IterableIterator<[number, number]>; - /** - * Equivalent to `buf.indexOf() !== -1`. - * - * ```js - * import { Buffer } from 'node:buffer'; - * - * const buf = Buffer.from('this is a buffer'); - * - * console.log(buf.includes('this')); - * // Prints: true - * console.log(buf.includes('is')); - * // Prints: true - * console.log(buf.includes(Buffer.from('a buffer'))); - * // Prints: true - * console.log(buf.includes(97)); - * // Prints: true (97 is the decimal ASCII value for 'a') - * console.log(buf.includes(Buffer.from('a buffer example'))); - * // Prints: false - * console.log(buf.includes(Buffer.from('a buffer example').slice(0, 8))); - * // Prints: true - * console.log(buf.includes('this', 4)); - * // Prints: false - * ``` - * @since v5.3.0 - * @param value What to search for. - * @param [byteOffset=0] Where to begin searching in `buf`. If negative, then offset is calculated from the end of `buf`. - * @param [encoding='utf8'] If `value` is a string, this is its encoding. - * @return `true` if `value` was found in `buf`, `false` otherwise. - */ - includes(value: string | number | Buffer, byteOffset?: number, encoding?: BufferEncoding): boolean; - /** - * Creates and returns an [iterator](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols) of `buf` keys (indices). - * - * ```js - * import { Buffer } from 'node:buffer'; - * - * const buf = Buffer.from('buffer'); - * - * for (const key of buf.keys()) { - * console.log(key); - * } - * // Prints: - * // 0 - * // 1 - * // 2 - * // 3 - * // 4 - * // 5 - * ``` - * @since v1.1.0 - */ - keys(): IterableIterator; - /** - * Creates and returns an [iterator](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols) for `buf` values (bytes). This function is - * called automatically when a `Buffer` is used in a `for..of` statement. - * - * ```js - * import { Buffer } from 'node:buffer'; - * - * const buf = Buffer.from('buffer'); - * - * for (const value of buf.values()) { - * console.log(value); - * } - * // Prints: - * // 98 - * // 117 - * // 102 - * // 102 - * // 101 - * // 114 - * - * for (const value of buf) { - * console.log(value); - * } - * // Prints: - * // 98 - * // 117 - * // 102 - * // 102 - * // 101 - * // 114 - * ``` - * @since v1.1.0 - */ - values(): IterableIterator; - } - var Buffer: BufferConstructor; - /** - * Decodes a string of Base64-encoded data into bytes, and encodes those bytes - * into a string using Latin-1 (ISO-8859-1). - * - * The `data` may be any JavaScript-value that can be coerced into a string. - * - * **This function is only provided for compatibility with legacy web platform APIs** - * **and should never be used in new code, because they use strings to represent** - * **binary data and predate the introduction of typed arrays in JavaScript.** - * **For code running using Node.js APIs, converting between base64-encoded strings** - * **and binary data should be performed using `Buffer.from(str, 'base64')` and`buf.toString('base64')`.** - * @since v15.13.0, v14.17.0 - * @legacy Use `Buffer.from(data, 'base64')` instead. - * @param data The Base64-encoded input string. - */ - function atob(data: string): string; - /** - * Decodes a string into bytes using Latin-1 (ISO-8859), and encodes those bytes - * into a string using Base64. - * - * The `data` may be any JavaScript-value that can be coerced into a string. - * - * **This function is only provided for compatibility with legacy web platform APIs** - * **and should never be used in new code, because they use strings to represent** - * **binary data and predate the introduction of typed arrays in JavaScript.** - * **For code running using Node.js APIs, converting between base64-encoded strings** - * **and binary data should be performed using `Buffer.from(str, 'base64')` and`buf.toString('base64')`.** - * @since v15.13.0, v14.17.0 - * @legacy Use `buf.toString('base64')` instead. - * @param data An ASCII (Latin1) string. - */ - function btoa(data: string): string; - interface Blob extends __Blob {} - /** - * `Blob` class is a global reference for `require('node:buffer').Blob` - * https://nodejs.org/api/buffer.html#class-blob - * @since v18.0.0 - */ - var Blob: typeof globalThis extends { - onmessage: any; - Blob: infer T; - } ? T - : typeof NodeBlob; - } -} -declare module "node:buffer" { - export * from "buffer"; -} diff --git a/node_modules/@types/node/ts4.8/child_process.d.ts b/node_modules/@types/node/ts4.8/child_process.d.ts deleted file mode 100644 index a97532b..0000000 --- a/node_modules/@types/node/ts4.8/child_process.d.ts +++ /dev/null @@ -1,1540 +0,0 @@ -/** - * The `node:child_process` module provides the ability to spawn subprocesses in - * a manner that is similar, but not identical, to [`popen(3)`](http://man7.org/linux/man-pages/man3/popen.3.html). This capability - * is primarily provided by the {@link spawn} function: - * - * ```js - * const { spawn } = require('node:child_process'); - * const ls = spawn('ls', ['-lh', '/usr']); - * - * ls.stdout.on('data', (data) => { - * console.log(`stdout: ${data}`); - * }); - * - * ls.stderr.on('data', (data) => { - * console.error(`stderr: ${data}`); - * }); - * - * ls.on('close', (code) => { - * console.log(`child process exited with code ${code}`); - * }); - * ``` - * - * By default, pipes for `stdin`, `stdout`, and `stderr` are established between - * the parent Node.js process and the spawned subprocess. These pipes have - * limited (and platform-specific) capacity. If the subprocess writes to - * stdout in excess of that limit without the output being captured, the - * subprocess blocks waiting for the pipe buffer to accept more data. This is - * identical to the behavior of pipes in the shell. Use the `{ stdio: 'ignore' }`option if the output will not be consumed. - * - * The command lookup is performed using the `options.env.PATH` environment - * variable if `env` is in the `options` object. Otherwise, `process.env.PATH` is - * used. If `options.env` is set without `PATH`, lookup on Unix is performed - * on a default search path search of `/usr/bin:/bin` (see your operating system's - * manual for execvpe/execvp), on Windows the current processes environment - * variable `PATH` is used. - * - * On Windows, environment variables are case-insensitive. Node.js - * lexicographically sorts the `env` keys and uses the first one that - * case-insensitively matches. Only first (in lexicographic order) entry will be - * passed to the subprocess. This might lead to issues on Windows when passing - * objects to the `env` option that have multiple variants of the same key, such as`PATH` and `Path`. - * - * The {@link spawn} method spawns the child process asynchronously, - * without blocking the Node.js event loop. The {@link spawnSync} function provides equivalent functionality in a synchronous manner that blocks - * the event loop until the spawned process either exits or is terminated. - * - * For convenience, the `node:child_process` module provides a handful of - * synchronous and asynchronous alternatives to {@link spawn} and {@link spawnSync}. Each of these alternatives are implemented on - * top of {@link spawn} or {@link spawnSync}. - * - * * {@link exec}: spawns a shell and runs a command within that - * shell, passing the `stdout` and `stderr` to a callback function when - * complete. - * * {@link execFile}: similar to {@link exec} except - * that it spawns the command directly without first spawning a shell by - * default. - * * {@link fork}: spawns a new Node.js process and invokes a - * specified module with an IPC communication channel established that allows - * sending messages between parent and child. - * * {@link execSync}: a synchronous version of {@link exec} that will block the Node.js event loop. - * * {@link execFileSync}: a synchronous version of {@link execFile} that will block the Node.js event loop. - * - * For certain use cases, such as automating shell scripts, the `synchronous counterparts` may be more convenient. In many cases, however, - * the synchronous methods can have significant impact on performance due to - * stalling the event loop while spawned processes complete. - * @see [source](https://github.com/nodejs/node/blob/v20.2.0/lib/child_process.js) - */ -declare module "child_process" { - import { ObjectEncodingOptions } from "node:fs"; - import { Abortable, EventEmitter } from "node:events"; - import * as net from "node:net"; - import { Pipe, Readable, Stream, Writable } from "node:stream"; - import { URL } from "node:url"; - type Serializable = string | object | number | boolean | bigint; - type SendHandle = net.Socket | net.Server; - /** - * Instances of the `ChildProcess` represent spawned child processes. - * - * Instances of `ChildProcess` are not intended to be created directly. Rather, - * use the {@link spawn}, {@link exec},{@link execFile}, or {@link fork} methods to create - * instances of `ChildProcess`. - * @since v2.2.0 - */ - class ChildProcess extends EventEmitter { - /** - * A `Writable Stream` that represents the child process's `stdin`. - * - * If a child process waits to read all of its input, the child will not continue - * until this stream has been closed via `end()`. - * - * If the child was spawned with `stdio[0]` set to anything other than `'pipe'`, - * then this will be `null`. - * - * `subprocess.stdin` is an alias for `subprocess.stdio[0]`. Both properties will - * refer to the same value. - * - * The `subprocess.stdin` property can be `null` or `undefined`if the child process could not be successfully spawned. - * @since v0.1.90 - */ - stdin: Writable | null; - /** - * A `Readable Stream` that represents the child process's `stdout`. - * - * If the child was spawned with `stdio[1]` set to anything other than `'pipe'`, - * then this will be `null`. - * - * `subprocess.stdout` is an alias for `subprocess.stdio[1]`. Both properties will - * refer to the same value. - * - * ```js - * const { spawn } = require('node:child_process'); - * - * const subprocess = spawn('ls'); - * - * subprocess.stdout.on('data', (data) => { - * console.log(`Received chunk ${data}`); - * }); - * ``` - * - * The `subprocess.stdout` property can be `null` or `undefined`if the child process could not be successfully spawned. - * @since v0.1.90 - */ - stdout: Readable | null; - /** - * A `Readable Stream` that represents the child process's `stderr`. - * - * If the child was spawned with `stdio[2]` set to anything other than `'pipe'`, - * then this will be `null`. - * - * `subprocess.stderr` is an alias for `subprocess.stdio[2]`. Both properties will - * refer to the same value. - * - * The `subprocess.stderr` property can be `null` or `undefined`if the child process could not be successfully spawned. - * @since v0.1.90 - */ - stderr: Readable | null; - /** - * The `subprocess.channel` property is a reference to the child's IPC channel. If - * no IPC channel exists, this property is `undefined`. - * @since v7.1.0 - */ - readonly channel?: Pipe | null | undefined; - /** - * A sparse array of pipes to the child process, corresponding with positions in - * the `stdio` option passed to {@link spawn} that have been set - * to the value `'pipe'`. `subprocess.stdio[0]`, `subprocess.stdio[1]`, and`subprocess.stdio[2]` are also available as `subprocess.stdin`,`subprocess.stdout`, and `subprocess.stderr`, - * respectively. - * - * In the following example, only the child's fd `1` (stdout) is configured as a - * pipe, so only the parent's `subprocess.stdio[1]` is a stream, all other values - * in the array are `null`. - * - * ```js - * const assert = require('node:assert'); - * const fs = require('node:fs'); - * const child_process = require('node:child_process'); - * - * const subprocess = child_process.spawn('ls', { - * stdio: [ - * 0, // Use parent's stdin for child. - * 'pipe', // Pipe child's stdout to parent. - * fs.openSync('err.out', 'w'), // Direct child's stderr to a file. - * ], - * }); - * - * assert.strictEqual(subprocess.stdio[0], null); - * assert.strictEqual(subprocess.stdio[0], subprocess.stdin); - * - * assert(subprocess.stdout); - * assert.strictEqual(subprocess.stdio[1], subprocess.stdout); - * - * assert.strictEqual(subprocess.stdio[2], null); - * assert.strictEqual(subprocess.stdio[2], subprocess.stderr); - * ``` - * - * The `subprocess.stdio` property can be `undefined` if the child process could - * not be successfully spawned. - * @since v0.7.10 - */ - readonly stdio: [ - Writable | null, - // stdin - Readable | null, - // stdout - Readable | null, - // stderr - Readable | Writable | null | undefined, - // extra - Readable | Writable | null | undefined, // extra - ]; - /** - * The `subprocess.killed` property indicates whether the child process - * successfully received a signal from `subprocess.kill()`. The `killed` property - * does not indicate that the child process has been terminated. - * @since v0.5.10 - */ - readonly killed: boolean; - /** - * Returns the process identifier (PID) of the child process. If the child process - * fails to spawn due to errors, then the value is `undefined` and `error` is - * emitted. - * - * ```js - * const { spawn } = require('node:child_process'); - * const grep = spawn('grep', ['ssh']); - * - * console.log(`Spawned child pid: ${grep.pid}`); - * grep.stdin.end(); - * ``` - * @since v0.1.90 - */ - readonly pid?: number | undefined; - /** - * The `subprocess.connected` property indicates whether it is still possible to - * send and receive messages from a child process. When `subprocess.connected` is`false`, it is no longer possible to send or receive messages. - * @since v0.7.2 - */ - readonly connected: boolean; - /** - * The `subprocess.exitCode` property indicates the exit code of the child process. - * If the child process is still running, the field will be `null`. - */ - readonly exitCode: number | null; - /** - * The `subprocess.signalCode` property indicates the signal received by - * the child process if any, else `null`. - */ - readonly signalCode: NodeJS.Signals | null; - /** - * The `subprocess.spawnargs` property represents the full list of command-line - * arguments the child process was launched with. - */ - readonly spawnargs: string[]; - /** - * The `subprocess.spawnfile` property indicates the executable file name of - * the child process that is launched. - * - * For {@link fork}, its value will be equal to `process.execPath`. - * For {@link spawn}, its value will be the name of - * the executable file. - * For {@link exec}, its value will be the name of the shell - * in which the child process is launched. - */ - readonly spawnfile: string; - /** - * The `subprocess.kill()` method sends a signal to the child process. If no - * argument is given, the process will be sent the `'SIGTERM'` signal. See [`signal(7)`](http://man7.org/linux/man-pages/man7/signal.7.html) for a list of available signals. This function - * returns `true` if [`kill(2)`](http://man7.org/linux/man-pages/man2/kill.2.html) succeeds, and `false` otherwise. - * - * ```js - * const { spawn } = require('node:child_process'); - * const grep = spawn('grep', ['ssh']); - * - * grep.on('close', (code, signal) => { - * console.log( - * `child process terminated due to receipt of signal ${signal}`); - * }); - * - * // Send SIGHUP to process. - * grep.kill('SIGHUP'); - * ``` - * - * The `ChildProcess` object may emit an `'error'` event if the signal - * cannot be delivered. Sending a signal to a child process that has already exited - * is not an error but may have unforeseen consequences. Specifically, if the - * process identifier (PID) has been reassigned to another process, the signal will - * be delivered to that process instead which can have unexpected results. - * - * While the function is called `kill`, the signal delivered to the child process - * may not actually terminate the process. - * - * See [`kill(2)`](http://man7.org/linux/man-pages/man2/kill.2.html) for reference. - * - * On Windows, where POSIX signals do not exist, the `signal` argument will be - * ignored, and the process will be killed forcefully and abruptly (similar to`'SIGKILL'`). - * See `Signal Events` for more details. - * - * On Linux, child processes of child processes will not be terminated - * when attempting to kill their parent. This is likely to happen when running a - * new process in a shell or with the use of the `shell` option of `ChildProcess`: - * - * ```js - * 'use strict'; - * const { spawn } = require('node:child_process'); - * - * const subprocess = spawn( - * 'sh', - * [ - * '-c', - * `node -e "setInterval(() => { - * console.log(process.pid, 'is alive') - * }, 500);"`, - * ], { - * stdio: ['inherit', 'inherit', 'inherit'], - * }, - * ); - * - * setTimeout(() => { - * subprocess.kill(); // Does not terminate the Node.js process in the shell. - * }, 2000); - * ``` - * @since v0.1.90 - */ - kill(signal?: NodeJS.Signals | number): boolean; - /** - * Calls {@link ChildProcess.kill} with `'SIGTERM'`. - * @since v20.5.0 - */ - [Symbol.dispose](): void; - /** - * When an IPC channel has been established between the parent and child ( - * i.e. when using {@link fork}), the `subprocess.send()` method can - * be used to send messages to the child process. When the child process is a - * Node.js instance, these messages can be received via the `'message'` event. - * - * The message goes through serialization and parsing. The resulting - * message might not be the same as what is originally sent. - * - * For example, in the parent script: - * - * ```js - * const cp = require('node:child_process'); - * const n = cp.fork(`${__dirname}/sub.js`); - * - * n.on('message', (m) => { - * console.log('PARENT got message:', m); - * }); - * - * // Causes the child to print: CHILD got message: { hello: 'world' } - * n.send({ hello: 'world' }); - * ``` - * - * And then the child script, `'sub.js'` might look like this: - * - * ```js - * process.on('message', (m) => { - * console.log('CHILD got message:', m); - * }); - * - * // Causes the parent to print: PARENT got message: { foo: 'bar', baz: null } - * process.send({ foo: 'bar', baz: NaN }); - * ``` - * - * Child Node.js processes will have a `process.send()` method of their own - * that allows the child to send messages back to the parent. - * - * There is a special case when sending a `{cmd: 'NODE_foo'}` message. Messages - * containing a `NODE_` prefix in the `cmd` property are reserved for use within - * Node.js core and will not be emitted in the child's `'message'` event. Rather, such messages are emitted using the`'internalMessage'` event and are consumed internally by Node.js. - * Applications should avoid using such messages or listening for`'internalMessage'` events as it is subject to change without notice. - * - * The optional `sendHandle` argument that may be passed to `subprocess.send()` is - * for passing a TCP server or socket object to the child process. The child will - * receive the object as the second argument passed to the callback function - * registered on the `'message'` event. Any data that is received - * and buffered in the socket will not be sent to the child. - * - * The optional `callback` is a function that is invoked after the message is - * sent but before the child may have received it. The function is called with a - * single argument: `null` on success, or an `Error` object on failure. - * - * If no `callback` function is provided and the message cannot be sent, an`'error'` event will be emitted by the `ChildProcess` object. This can - * happen, for instance, when the child process has already exited. - * - * `subprocess.send()` will return `false` if the channel has closed or when the - * backlog of unsent messages exceeds a threshold that makes it unwise to send - * more. Otherwise, the method returns `true`. The `callback` function can be - * used to implement flow control. - * - * #### Example: sending a server object - * - * The `sendHandle` argument can be used, for instance, to pass the handle of - * a TCP server object to the child process as illustrated in the example below: - * - * ```js - * const subprocess = require('node:child_process').fork('subprocess.js'); - * - * // Open up the server object and send the handle. - * const server = require('node:net').createServer(); - * server.on('connection', (socket) => { - * socket.end('handled by parent'); - * }); - * server.listen(1337, () => { - * subprocess.send('server', server); - * }); - * ``` - * - * The child would then receive the server object as: - * - * ```js - * process.on('message', (m, server) => { - * if (m === 'server') { - * server.on('connection', (socket) => { - * socket.end('handled by child'); - * }); - * } - * }); - * ``` - * - * Once the server is now shared between the parent and child, some connections - * can be handled by the parent and some by the child. - * - * While the example above uses a server created using the `node:net` module,`node:dgram` module servers use exactly the same workflow with the exceptions of - * listening on a `'message'` event instead of `'connection'` and using`server.bind()` instead of `server.listen()`. This is, however, only - * supported on Unix platforms. - * - * #### Example: sending a socket object - * - * Similarly, the `sendHandler` argument can be used to pass the handle of a - * socket to the child process. The example below spawns two children that each - * handle connections with "normal" or "special" priority: - * - * ```js - * const { fork } = require('node:child_process'); - * const normal = fork('subprocess.js', ['normal']); - * const special = fork('subprocess.js', ['special']); - * - * // Open up the server and send sockets to child. Use pauseOnConnect to prevent - * // the sockets from being read before they are sent to the child process. - * const server = require('node:net').createServer({ pauseOnConnect: true }); - * server.on('connection', (socket) => { - * - * // If this is special priority... - * if (socket.remoteAddress === '74.125.127.100') { - * special.send('socket', socket); - * return; - * } - * // This is normal priority. - * normal.send('socket', socket); - * }); - * server.listen(1337); - * ``` - * - * The `subprocess.js` would receive the socket handle as the second argument - * passed to the event callback function: - * - * ```js - * process.on('message', (m, socket) => { - * if (m === 'socket') { - * if (socket) { - * // Check that the client socket exists. - * // It is possible for the socket to be closed between the time it is - * // sent and the time it is received in the child process. - * socket.end(`Request handled with ${process.argv[2]} priority`); - * } - * } - * }); - * ``` - * - * Do not use `.maxConnections` on a socket that has been passed to a subprocess. - * The parent cannot track when the socket is destroyed. - * - * Any `'message'` handlers in the subprocess should verify that `socket` exists, - * as the connection may have been closed during the time it takes to send the - * connection to the child. - * @since v0.5.9 - * @param options The `options` argument, if present, is an object used to parameterize the sending of certain types of handles. `options` supports the following properties: - */ - send(message: Serializable, callback?: (error: Error | null) => void): boolean; - send(message: Serializable, sendHandle?: SendHandle, callback?: (error: Error | null) => void): boolean; - send( - message: Serializable, - sendHandle?: SendHandle, - options?: MessageOptions, - callback?: (error: Error | null) => void, - ): boolean; - /** - * Closes the IPC channel between parent and child, allowing the child to exit - * gracefully once there are no other connections keeping it alive. After calling - * this method the `subprocess.connected` and `process.connected` properties in - * both the parent and child (respectively) will be set to `false`, and it will be - * no longer possible to pass messages between the processes. - * - * The `'disconnect'` event will be emitted when there are no messages in the - * process of being received. This will most often be triggered immediately after - * calling `subprocess.disconnect()`. - * - * When the child process is a Node.js instance (e.g. spawned using {@link fork}), the `process.disconnect()` method can be invoked - * within the child process to close the IPC channel as well. - * @since v0.7.2 - */ - disconnect(): void; - /** - * By default, the parent will wait for the detached child to exit. To prevent the - * parent from waiting for a given `subprocess` to exit, use the`subprocess.unref()` method. Doing so will cause the parent's event loop to not - * include the child in its reference count, allowing the parent to exit - * independently of the child, unless there is an established IPC channel between - * the child and the parent. - * - * ```js - * const { spawn } = require('node:child_process'); - * - * const subprocess = spawn(process.argv[0], ['child_program.js'], { - * detached: true, - * stdio: 'ignore', - * }); - * - * subprocess.unref(); - * ``` - * @since v0.7.10 - */ - unref(): void; - /** - * Calling `subprocess.ref()` after making a call to `subprocess.unref()` will - * restore the removed reference count for the child process, forcing the parent - * to wait for the child to exit before exiting itself. - * - * ```js - * const { spawn } = require('node:child_process'); - * - * const subprocess = spawn(process.argv[0], ['child_program.js'], { - * detached: true, - * stdio: 'ignore', - * }); - * - * subprocess.unref(); - * subprocess.ref(); - * ``` - * @since v0.7.10 - */ - ref(): void; - /** - * events.EventEmitter - * 1. close - * 2. disconnect - * 3. error - * 4. exit - * 5. message - * 6. spawn - */ - addListener(event: string, listener: (...args: any[]) => void): this; - addListener(event: "close", listener: (code: number | null, signal: NodeJS.Signals | null) => void): this; - addListener(event: "disconnect", listener: () => void): this; - addListener(event: "error", listener: (err: Error) => void): this; - addListener(event: "exit", listener: (code: number | null, signal: NodeJS.Signals | null) => void): this; - addListener(event: "message", listener: (message: Serializable, sendHandle: SendHandle) => void): this; - addListener(event: "spawn", listener: () => void): this; - emit(event: string | symbol, ...args: any[]): boolean; - emit(event: "close", code: number | null, signal: NodeJS.Signals | null): boolean; - emit(event: "disconnect"): boolean; - emit(event: "error", err: Error): boolean; - emit(event: "exit", code: number | null, signal: NodeJS.Signals | null): boolean; - emit(event: "message", message: Serializable, sendHandle: SendHandle): boolean; - emit(event: "spawn", listener: () => void): boolean; - on(event: string, listener: (...args: any[]) => void): this; - on(event: "close", listener: (code: number | null, signal: NodeJS.Signals | null) => void): this; - on(event: "disconnect", listener: () => void): this; - on(event: "error", listener: (err: Error) => void): this; - on(event: "exit", listener: (code: number | null, signal: NodeJS.Signals | null) => void): this; - on(event: "message", listener: (message: Serializable, sendHandle: SendHandle) => void): this; - on(event: "spawn", listener: () => void): this; - once(event: string, listener: (...args: any[]) => void): this; - once(event: "close", listener: (code: number | null, signal: NodeJS.Signals | null) => void): this; - once(event: "disconnect", listener: () => void): this; - once(event: "error", listener: (err: Error) => void): this; - once(event: "exit", listener: (code: number | null, signal: NodeJS.Signals | null) => void): this; - once(event: "message", listener: (message: Serializable, sendHandle: SendHandle) => void): this; - once(event: "spawn", listener: () => void): this; - prependListener(event: string, listener: (...args: any[]) => void): this; - prependListener(event: "close", listener: (code: number | null, signal: NodeJS.Signals | null) => void): this; - prependListener(event: "disconnect", listener: () => void): this; - prependListener(event: "error", listener: (err: Error) => void): this; - prependListener(event: "exit", listener: (code: number | null, signal: NodeJS.Signals | null) => void): this; - prependListener(event: "message", listener: (message: Serializable, sendHandle: SendHandle) => void): this; - prependListener(event: "spawn", listener: () => void): this; - prependOnceListener(event: string, listener: (...args: any[]) => void): this; - prependOnceListener( - event: "close", - listener: (code: number | null, signal: NodeJS.Signals | null) => void, - ): this; - prependOnceListener(event: "disconnect", listener: () => void): this; - prependOnceListener(event: "error", listener: (err: Error) => void): this; - prependOnceListener( - event: "exit", - listener: (code: number | null, signal: NodeJS.Signals | null) => void, - ): this; - prependOnceListener(event: "message", listener: (message: Serializable, sendHandle: SendHandle) => void): this; - prependOnceListener(event: "spawn", listener: () => void): this; - } - // return this object when stdio option is undefined or not specified - interface ChildProcessWithoutNullStreams extends ChildProcess { - stdin: Writable; - stdout: Readable; - stderr: Readable; - readonly stdio: [ - Writable, - Readable, - Readable, - // stderr - Readable | Writable | null | undefined, - // extra, no modification - Readable | Writable | null | undefined, // extra, no modification - ]; - } - // return this object when stdio option is a tuple of 3 - interface ChildProcessByStdio - extends ChildProcess - { - stdin: I; - stdout: O; - stderr: E; - readonly stdio: [ - I, - O, - E, - Readable | Writable | null | undefined, - // extra, no modification - Readable | Writable | null | undefined, // extra, no modification - ]; - } - interface MessageOptions { - keepOpen?: boolean | undefined; - } - type IOType = "overlapped" | "pipe" | "ignore" | "inherit"; - type StdioOptions = IOType | Array; - type SerializationType = "json" | "advanced"; - interface MessagingOptions extends Abortable { - /** - * Specify the kind of serialization used for sending messages between processes. - * @default 'json' - */ - serialization?: SerializationType | undefined; - /** - * The signal value to be used when the spawned process will be killed by the abort signal. - * @default 'SIGTERM' - */ - killSignal?: NodeJS.Signals | number | undefined; - /** - * In milliseconds the maximum amount of time the process is allowed to run. - */ - timeout?: number | undefined; - } - interface ProcessEnvOptions { - uid?: number | undefined; - gid?: number | undefined; - cwd?: string | URL | undefined; - env?: NodeJS.ProcessEnv | undefined; - } - interface CommonOptions extends ProcessEnvOptions { - /** - * @default false - */ - windowsHide?: boolean | undefined; - /** - * @default 0 - */ - timeout?: number | undefined; - } - interface CommonSpawnOptions extends CommonOptions, MessagingOptions, Abortable { - argv0?: string | undefined; - /** - * Can be set to 'pipe', 'inherit', 'overlapped', or 'ignore', or an array of these strings. - * If passed as an array, the first element is used for `stdin`, the second for - * `stdout`, and the third for `stderr`. A fourth element can be used to - * specify the `stdio` behavior beyond the standard streams. See - * {@link ChildProcess.stdio} for more information. - * - * @default 'pipe' - */ - stdio?: StdioOptions | undefined; - shell?: boolean | string | undefined; - windowsVerbatimArguments?: boolean | undefined; - } - interface SpawnOptions extends CommonSpawnOptions { - detached?: boolean | undefined; - } - interface SpawnOptionsWithoutStdio extends SpawnOptions { - stdio?: StdioPipeNamed | StdioPipe[] | undefined; - } - type StdioNull = "inherit" | "ignore" | Stream; - type StdioPipeNamed = "pipe" | "overlapped"; - type StdioPipe = undefined | null | StdioPipeNamed; - interface SpawnOptionsWithStdioTuple< - Stdin extends StdioNull | StdioPipe, - Stdout extends StdioNull | StdioPipe, - Stderr extends StdioNull | StdioPipe, - > extends SpawnOptions { - stdio: [Stdin, Stdout, Stderr]; - } - /** - * The `child_process.spawn()` method spawns a new process using the given`command`, with command-line arguments in `args`. If omitted, `args` defaults - * to an empty array. - * - * **If the `shell` option is enabled, do not pass unsanitized user input to this** - * **function. Any input containing shell metacharacters may be used to trigger** - * **arbitrary command execution.** - * - * A third argument may be used to specify additional options, with these defaults: - * - * ```js - * const defaults = { - * cwd: undefined, - * env: process.env, - * }; - * ``` - * - * Use `cwd` to specify the working directory from which the process is spawned. - * If not given, the default is to inherit the current working directory. If given, - * but the path does not exist, the child process emits an `ENOENT` error - * and exits immediately. `ENOENT` is also emitted when the command - * does not exist. - * - * Use `env` to specify environment variables that will be visible to the new - * process, the default is `process.env`. - * - * `undefined` values in `env` will be ignored. - * - * Example of running `ls -lh /usr`, capturing `stdout`, `stderr`, and the - * exit code: - * - * ```js - * const { spawn } = require('node:child_process'); - * const ls = spawn('ls', ['-lh', '/usr']); - * - * ls.stdout.on('data', (data) => { - * console.log(`stdout: ${data}`); - * }); - * - * ls.stderr.on('data', (data) => { - * console.error(`stderr: ${data}`); - * }); - * - * ls.on('close', (code) => { - * console.log(`child process exited with code ${code}`); - * }); - * ``` - * - * Example: A very elaborate way to run `ps ax | grep ssh` - * - * ```js - * const { spawn } = require('node:child_process'); - * const ps = spawn('ps', ['ax']); - * const grep = spawn('grep', ['ssh']); - * - * ps.stdout.on('data', (data) => { - * grep.stdin.write(data); - * }); - * - * ps.stderr.on('data', (data) => { - * console.error(`ps stderr: ${data}`); - * }); - * - * ps.on('close', (code) => { - * if (code !== 0) { - * console.log(`ps process exited with code ${code}`); - * } - * grep.stdin.end(); - * }); - * - * grep.stdout.on('data', (data) => { - * console.log(data.toString()); - * }); - * - * grep.stderr.on('data', (data) => { - * console.error(`grep stderr: ${data}`); - * }); - * - * grep.on('close', (code) => { - * if (code !== 0) { - * console.log(`grep process exited with code ${code}`); - * } - * }); - * ``` - * - * Example of checking for failed `spawn`: - * - * ```js - * const { spawn } = require('node:child_process'); - * const subprocess = spawn('bad_command'); - * - * subprocess.on('error', (err) => { - * console.error('Failed to start subprocess.'); - * }); - * ``` - * - * Certain platforms (macOS, Linux) will use the value of `argv[0]` for the process - * title while others (Windows, SunOS) will use `command`. - * - * Node.js overwrites `argv[0]` with `process.execPath` on startup, so`process.argv[0]` in a Node.js child process will not match the `argv0`parameter passed to `spawn` from the parent. Retrieve - * it with the`process.argv0` property instead. - * - * If the `signal` option is enabled, calling `.abort()` on the corresponding`AbortController` is similar to calling `.kill()` on the child process except - * the error passed to the callback will be an `AbortError`: - * - * ```js - * const { spawn } = require('node:child_process'); - * const controller = new AbortController(); - * const { signal } = controller; - * const grep = spawn('grep', ['ssh'], { signal }); - * grep.on('error', (err) => { - * // This will be called with err being an AbortError if the controller aborts - * }); - * controller.abort(); // Stops the child process - * ``` - * @since v0.1.90 - * @param command The command to run. - * @param args List of string arguments. - */ - function spawn(command: string, options?: SpawnOptionsWithoutStdio): ChildProcessWithoutNullStreams; - function spawn( - command: string, - options: SpawnOptionsWithStdioTuple, - ): ChildProcessByStdio; - function spawn( - command: string, - options: SpawnOptionsWithStdioTuple, - ): ChildProcessByStdio; - function spawn( - command: string, - options: SpawnOptionsWithStdioTuple, - ): ChildProcessByStdio; - function spawn( - command: string, - options: SpawnOptionsWithStdioTuple, - ): ChildProcessByStdio; - function spawn( - command: string, - options: SpawnOptionsWithStdioTuple, - ): ChildProcessByStdio; - function spawn( - command: string, - options: SpawnOptionsWithStdioTuple, - ): ChildProcessByStdio; - function spawn( - command: string, - options: SpawnOptionsWithStdioTuple, - ): ChildProcessByStdio; - function spawn( - command: string, - options: SpawnOptionsWithStdioTuple, - ): ChildProcessByStdio; - function spawn(command: string, options: SpawnOptions): ChildProcess; - // overloads of spawn with 'args' - function spawn( - command: string, - args?: readonly string[], - options?: SpawnOptionsWithoutStdio, - ): ChildProcessWithoutNullStreams; - function spawn( - command: string, - args: readonly string[], - options: SpawnOptionsWithStdioTuple, - ): ChildProcessByStdio; - function spawn( - command: string, - args: readonly string[], - options: SpawnOptionsWithStdioTuple, - ): ChildProcessByStdio; - function spawn( - command: string, - args: readonly string[], - options: SpawnOptionsWithStdioTuple, - ): ChildProcessByStdio; - function spawn( - command: string, - args: readonly string[], - options: SpawnOptionsWithStdioTuple, - ): ChildProcessByStdio; - function spawn( - command: string, - args: readonly string[], - options: SpawnOptionsWithStdioTuple, - ): ChildProcessByStdio; - function spawn( - command: string, - args: readonly string[], - options: SpawnOptionsWithStdioTuple, - ): ChildProcessByStdio; - function spawn( - command: string, - args: readonly string[], - options: SpawnOptionsWithStdioTuple, - ): ChildProcessByStdio; - function spawn( - command: string, - args: readonly string[], - options: SpawnOptionsWithStdioTuple, - ): ChildProcessByStdio; - function spawn(command: string, args: readonly string[], options: SpawnOptions): ChildProcess; - interface ExecOptions extends CommonOptions { - shell?: string | undefined; - signal?: AbortSignal | undefined; - maxBuffer?: number | undefined; - killSignal?: NodeJS.Signals | number | undefined; - } - interface ExecOptionsWithStringEncoding extends ExecOptions { - encoding: BufferEncoding; - } - interface ExecOptionsWithBufferEncoding extends ExecOptions { - encoding: BufferEncoding | null; // specify `null`. - } - interface ExecException extends Error { - cmd?: string | undefined; - killed?: boolean | undefined; - code?: number | undefined; - signal?: NodeJS.Signals | undefined; - } - /** - * Spawns a shell then executes the `command` within that shell, buffering any - * generated output. The `command` string passed to the exec function is processed - * directly by the shell and special characters (vary based on [shell](https://en.wikipedia.org/wiki/List_of_command-line_interpreters)) - * need to be dealt with accordingly: - * - * ```js - * const { exec } = require('node:child_process'); - * - * exec('"/path/to/test file/test.sh" arg1 arg2'); - * // Double quotes are used so that the space in the path is not interpreted as - * // a delimiter of multiple arguments. - * - * exec('echo "The \\$HOME variable is $HOME"'); - * // The $HOME variable is escaped in the first instance, but not in the second. - * ``` - * - * **Never pass unsanitized user input to this function. Any input containing shell** - * **metacharacters may be used to trigger arbitrary command execution.** - * - * If a `callback` function is provided, it is called with the arguments`(error, stdout, stderr)`. On success, `error` will be `null`. On error,`error` will be an instance of `Error`. The - * `error.code` property will be - * the exit code of the process. By convention, any exit code other than `0`indicates an error. `error.signal` will be the signal that terminated the - * process. - * - * The `stdout` and `stderr` arguments passed to the callback will contain the - * stdout and stderr output of the child process. By default, Node.js will decode - * the output as UTF-8 and pass strings to the callback. The `encoding` option - * can be used to specify the character encoding used to decode the stdout and - * stderr output. If `encoding` is `'buffer'`, or an unrecognized character - * encoding, `Buffer` objects will be passed to the callback instead. - * - * ```js - * const { exec } = require('node:child_process'); - * exec('cat *.js missing_file | wc -l', (error, stdout, stderr) => { - * if (error) { - * console.error(`exec error: ${error}`); - * return; - * } - * console.log(`stdout: ${stdout}`); - * console.error(`stderr: ${stderr}`); - * }); - * ``` - * - * If `timeout` is greater than `0`, the parent will send the signal - * identified by the `killSignal` property (the default is `'SIGTERM'`) if the - * child runs longer than `timeout` milliseconds. - * - * Unlike the [`exec(3)`](http://man7.org/linux/man-pages/man3/exec.3.html) POSIX system call, `child_process.exec()` does not replace - * the existing process and uses a shell to execute the command. - * - * If this method is invoked as its `util.promisify()` ed version, it returns - * a `Promise` for an `Object` with `stdout` and `stderr` properties. The returned`ChildProcess` instance is attached to the `Promise` as a `child` property. In - * case of an error (including any error resulting in an exit code other than 0), a - * rejected promise is returned, with the same `error` object given in the - * callback, but with two additional properties `stdout` and `stderr`. - * - * ```js - * const util = require('node:util'); - * const exec = util.promisify(require('node:child_process').exec); - * - * async function lsExample() { - * const { stdout, stderr } = await exec('ls'); - * console.log('stdout:', stdout); - * console.error('stderr:', stderr); - * } - * lsExample(); - * ``` - * - * If the `signal` option is enabled, calling `.abort()` on the corresponding`AbortController` is similar to calling `.kill()` on the child process except - * the error passed to the callback will be an `AbortError`: - * - * ```js - * const { exec } = require('node:child_process'); - * const controller = new AbortController(); - * const { signal } = controller; - * const child = exec('grep ssh', { signal }, (error) => { - * console.error(error); // an AbortError - * }); - * controller.abort(); - * ``` - * @since v0.1.90 - * @param command The command to run, with space-separated arguments. - * @param callback called with the output when process terminates. - */ - function exec( - command: string, - callback?: (error: ExecException | null, stdout: string, stderr: string) => void, - ): ChildProcess; - // `options` with `"buffer"` or `null` for `encoding` means stdout/stderr are definitely `Buffer`. - function exec( - command: string, - options: { - encoding: "buffer" | null; - } & ExecOptions, - callback?: (error: ExecException | null, stdout: Buffer, stderr: Buffer) => void, - ): ChildProcess; - // `options` with well known `encoding` means stdout/stderr are definitely `string`. - function exec( - command: string, - options: { - encoding: BufferEncoding; - } & ExecOptions, - callback?: (error: ExecException | null, stdout: string, stderr: string) => void, - ): ChildProcess; - // `options` with an `encoding` whose type is `string` means stdout/stderr could either be `Buffer` or `string`. - // There is no guarantee the `encoding` is unknown as `string` is a superset of `BufferEncoding`. - function exec( - command: string, - options: { - encoding: BufferEncoding; - } & ExecOptions, - callback?: (error: ExecException | null, stdout: string | Buffer, stderr: string | Buffer) => void, - ): ChildProcess; - // `options` without an `encoding` means stdout/stderr are definitely `string`. - function exec( - command: string, - options: ExecOptions, - callback?: (error: ExecException | null, stdout: string, stderr: string) => void, - ): ChildProcess; - // fallback if nothing else matches. Worst case is always `string | Buffer`. - function exec( - command: string, - options: (ObjectEncodingOptions & ExecOptions) | undefined | null, - callback?: (error: ExecException | null, stdout: string | Buffer, stderr: string | Buffer) => void, - ): ChildProcess; - interface PromiseWithChild extends Promise { - child: ChildProcess; - } - namespace exec { - function __promisify__(command: string): PromiseWithChild<{ - stdout: string; - stderr: string; - }>; - function __promisify__( - command: string, - options: { - encoding: "buffer" | null; - } & ExecOptions, - ): PromiseWithChild<{ - stdout: Buffer; - stderr: Buffer; - }>; - function __promisify__( - command: string, - options: { - encoding: BufferEncoding; - } & ExecOptions, - ): PromiseWithChild<{ - stdout: string; - stderr: string; - }>; - function __promisify__( - command: string, - options: ExecOptions, - ): PromiseWithChild<{ - stdout: string; - stderr: string; - }>; - function __promisify__( - command: string, - options?: (ObjectEncodingOptions & ExecOptions) | null, - ): PromiseWithChild<{ - stdout: string | Buffer; - stderr: string | Buffer; - }>; - } - interface ExecFileOptions extends CommonOptions, Abortable { - maxBuffer?: number | undefined; - killSignal?: NodeJS.Signals | number | undefined; - windowsVerbatimArguments?: boolean | undefined; - shell?: boolean | string | undefined; - signal?: AbortSignal | undefined; - } - interface ExecFileOptionsWithStringEncoding extends ExecFileOptions { - encoding: BufferEncoding; - } - interface ExecFileOptionsWithBufferEncoding extends ExecFileOptions { - encoding: "buffer" | null; - } - interface ExecFileOptionsWithOtherEncoding extends ExecFileOptions { - encoding: BufferEncoding; - } - type ExecFileException = - & Omit - & Omit - & { code?: string | number | undefined | null }; - /** - * The `child_process.execFile()` function is similar to {@link exec} except that it does not spawn a shell by default. Rather, the specified - * executable `file` is spawned directly as a new process making it slightly more - * efficient than {@link exec}. - * - * The same options as {@link exec} are supported. Since a shell is - * not spawned, behaviors such as I/O redirection and file globbing are not - * supported. - * - * ```js - * const { execFile } = require('node:child_process'); - * const child = execFile('node', ['--version'], (error, stdout, stderr) => { - * if (error) { - * throw error; - * } - * console.log(stdout); - * }); - * ``` - * - * The `stdout` and `stderr` arguments passed to the callback will contain the - * stdout and stderr output of the child process. By default, Node.js will decode - * the output as UTF-8 and pass strings to the callback. The `encoding` option - * can be used to specify the character encoding used to decode the stdout and - * stderr output. If `encoding` is `'buffer'`, or an unrecognized character - * encoding, `Buffer` objects will be passed to the callback instead. - * - * If this method is invoked as its `util.promisify()` ed version, it returns - * a `Promise` for an `Object` with `stdout` and `stderr` properties. The returned`ChildProcess` instance is attached to the `Promise` as a `child` property. In - * case of an error (including any error resulting in an exit code other than 0), a - * rejected promise is returned, with the same `error` object given in the - * callback, but with two additional properties `stdout` and `stderr`. - * - * ```js - * const util = require('node:util'); - * const execFile = util.promisify(require('node:child_process').execFile); - * async function getVersion() { - * const { stdout } = await execFile('node', ['--version']); - * console.log(stdout); - * } - * getVersion(); - * ``` - * - * **If the `shell` option is enabled, do not pass unsanitized user input to this** - * **function. Any input containing shell metacharacters may be used to trigger** - * **arbitrary command execution.** - * - * If the `signal` option is enabled, calling `.abort()` on the corresponding`AbortController` is similar to calling `.kill()` on the child process except - * the error passed to the callback will be an `AbortError`: - * - * ```js - * const { execFile } = require('node:child_process'); - * const controller = new AbortController(); - * const { signal } = controller; - * const child = execFile('node', ['--version'], { signal }, (error) => { - * console.error(error); // an AbortError - * }); - * controller.abort(); - * ``` - * @since v0.1.91 - * @param file The name or path of the executable file to run. - * @param args List of string arguments. - * @param callback Called with the output when process terminates. - */ - function execFile(file: string): ChildProcess; - function execFile( - file: string, - options: (ObjectEncodingOptions & ExecFileOptions) | undefined | null, - ): ChildProcess; - function execFile(file: string, args?: readonly string[] | null): ChildProcess; - function execFile( - file: string, - args: readonly string[] | undefined | null, - options: (ObjectEncodingOptions & ExecFileOptions) | undefined | null, - ): ChildProcess; - // no `options` definitely means stdout/stderr are `string`. - function execFile( - file: string, - callback: (error: ExecFileException | null, stdout: string, stderr: string) => void, - ): ChildProcess; - function execFile( - file: string, - args: readonly string[] | undefined | null, - callback: (error: ExecFileException | null, stdout: string, stderr: string) => void, - ): ChildProcess; - // `options` with `"buffer"` or `null` for `encoding` means stdout/stderr are definitely `Buffer`. - function execFile( - file: string, - options: ExecFileOptionsWithBufferEncoding, - callback: (error: ExecFileException | null, stdout: Buffer, stderr: Buffer) => void, - ): ChildProcess; - function execFile( - file: string, - args: readonly string[] | undefined | null, - options: ExecFileOptionsWithBufferEncoding, - callback: (error: ExecFileException | null, stdout: Buffer, stderr: Buffer) => void, - ): ChildProcess; - // `options` with well known `encoding` means stdout/stderr are definitely `string`. - function execFile( - file: string, - options: ExecFileOptionsWithStringEncoding, - callback: (error: ExecFileException | null, stdout: string, stderr: string) => void, - ): ChildProcess; - function execFile( - file: string, - args: readonly string[] | undefined | null, - options: ExecFileOptionsWithStringEncoding, - callback: (error: ExecFileException | null, stdout: string, stderr: string) => void, - ): ChildProcess; - // `options` with an `encoding` whose type is `string` means stdout/stderr could either be `Buffer` or `string`. - // There is no guarantee the `encoding` is unknown as `string` is a superset of `BufferEncoding`. - function execFile( - file: string, - options: ExecFileOptionsWithOtherEncoding, - callback: (error: ExecFileException | null, stdout: string | Buffer, stderr: string | Buffer) => void, - ): ChildProcess; - function execFile( - file: string, - args: readonly string[] | undefined | null, - options: ExecFileOptionsWithOtherEncoding, - callback: (error: ExecFileException | null, stdout: string | Buffer, stderr: string | Buffer) => void, - ): ChildProcess; - // `options` without an `encoding` means stdout/stderr are definitely `string`. - function execFile( - file: string, - options: ExecFileOptions, - callback: (error: ExecFileException | null, stdout: string, stderr: string) => void, - ): ChildProcess; - function execFile( - file: string, - args: readonly string[] | undefined | null, - options: ExecFileOptions, - callback: (error: ExecFileException | null, stdout: string, stderr: string) => void, - ): ChildProcess; - // fallback if nothing else matches. Worst case is always `string | Buffer`. - function execFile( - file: string, - options: (ObjectEncodingOptions & ExecFileOptions) | undefined | null, - callback: - | ((error: ExecFileException | null, stdout: string | Buffer, stderr: string | Buffer) => void) - | undefined - | null, - ): ChildProcess; - function execFile( - file: string, - args: readonly string[] | undefined | null, - options: (ObjectEncodingOptions & ExecFileOptions) | undefined | null, - callback: - | ((error: ExecFileException | null, stdout: string | Buffer, stderr: string | Buffer) => void) - | undefined - | null, - ): ChildProcess; - namespace execFile { - function __promisify__(file: string): PromiseWithChild<{ - stdout: string; - stderr: string; - }>; - function __promisify__( - file: string, - args: readonly string[] | undefined | null, - ): PromiseWithChild<{ - stdout: string; - stderr: string; - }>; - function __promisify__( - file: string, - options: ExecFileOptionsWithBufferEncoding, - ): PromiseWithChild<{ - stdout: Buffer; - stderr: Buffer; - }>; - function __promisify__( - file: string, - args: readonly string[] | undefined | null, - options: ExecFileOptionsWithBufferEncoding, - ): PromiseWithChild<{ - stdout: Buffer; - stderr: Buffer; - }>; - function __promisify__( - file: string, - options: ExecFileOptionsWithStringEncoding, - ): PromiseWithChild<{ - stdout: string; - stderr: string; - }>; - function __promisify__( - file: string, - args: readonly string[] | undefined | null, - options: ExecFileOptionsWithStringEncoding, - ): PromiseWithChild<{ - stdout: string; - stderr: string; - }>; - function __promisify__( - file: string, - options: ExecFileOptionsWithOtherEncoding, - ): PromiseWithChild<{ - stdout: string | Buffer; - stderr: string | Buffer; - }>; - function __promisify__( - file: string, - args: readonly string[] | undefined | null, - options: ExecFileOptionsWithOtherEncoding, - ): PromiseWithChild<{ - stdout: string | Buffer; - stderr: string | Buffer; - }>; - function __promisify__( - file: string, - options: ExecFileOptions, - ): PromiseWithChild<{ - stdout: string; - stderr: string; - }>; - function __promisify__( - file: string, - args: readonly string[] | undefined | null, - options: ExecFileOptions, - ): PromiseWithChild<{ - stdout: string; - stderr: string; - }>; - function __promisify__( - file: string, - options: (ObjectEncodingOptions & ExecFileOptions) | undefined | null, - ): PromiseWithChild<{ - stdout: string | Buffer; - stderr: string | Buffer; - }>; - function __promisify__( - file: string, - args: readonly string[] | undefined | null, - options: (ObjectEncodingOptions & ExecFileOptions) | undefined | null, - ): PromiseWithChild<{ - stdout: string | Buffer; - stderr: string | Buffer; - }>; - } - interface ForkOptions extends ProcessEnvOptions, MessagingOptions, Abortable { - execPath?: string | undefined; - execArgv?: string[] | undefined; - silent?: boolean | undefined; - /** - * Can be set to 'pipe', 'inherit', 'overlapped', or 'ignore', or an array of these strings. - * If passed as an array, the first element is used for `stdin`, the second for - * `stdout`, and the third for `stderr`. A fourth element can be used to - * specify the `stdio` behavior beyond the standard streams. See - * {@link ChildProcess.stdio} for more information. - * - * @default 'pipe' - */ - stdio?: StdioOptions | undefined; - detached?: boolean | undefined; - windowsVerbatimArguments?: boolean | undefined; - } - /** - * The `child_process.fork()` method is a special case of {@link spawn} used specifically to spawn new Node.js processes. - * Like {@link spawn}, a `ChildProcess` object is returned. The - * returned `ChildProcess` will have an additional communication channel - * built-in that allows messages to be passed back and forth between the parent and - * child. See `subprocess.send()` for details. - * - * Keep in mind that spawned Node.js child processes are - * independent of the parent with exception of the IPC communication channel - * that is established between the two. Each process has its own memory, with - * their own V8 instances. Because of the additional resource allocations - * required, spawning a large number of child Node.js processes is not - * recommended. - * - * By default, `child_process.fork()` will spawn new Node.js instances using the `process.execPath` of the parent process. The `execPath` property in the`options` object allows for an alternative - * execution path to be used. - * - * Node.js processes launched with a custom `execPath` will communicate with the - * parent process using the file descriptor (fd) identified using the - * environment variable `NODE_CHANNEL_FD` on the child process. - * - * Unlike the [`fork(2)`](http://man7.org/linux/man-pages/man2/fork.2.html) POSIX system call, `child_process.fork()` does not clone the - * current process. - * - * The `shell` option available in {@link spawn} is not supported by`child_process.fork()` and will be ignored if set. - * - * If the `signal` option is enabled, calling `.abort()` on the corresponding`AbortController` is similar to calling `.kill()` on the child process except - * the error passed to the callback will be an `AbortError`: - * - * ```js - * if (process.argv[2] === 'child') { - * setTimeout(() => { - * console.log(`Hello from ${process.argv[2]}!`); - * }, 1_000); - * } else { - * const { fork } = require('node:child_process'); - * const controller = new AbortController(); - * const { signal } = controller; - * const child = fork(__filename, ['child'], { signal }); - * child.on('error', (err) => { - * // This will be called with err being an AbortError if the controller aborts - * }); - * controller.abort(); // Stops the child process - * } - * ``` - * @since v0.5.0 - * @param modulePath The module to run in the child. - * @param args List of string arguments. - */ - function fork(modulePath: string, options?: ForkOptions): ChildProcess; - function fork(modulePath: string, args?: readonly string[], options?: ForkOptions): ChildProcess; - interface SpawnSyncOptions extends CommonSpawnOptions { - input?: string | NodeJS.ArrayBufferView | undefined; - maxBuffer?: number | undefined; - encoding?: BufferEncoding | "buffer" | null | undefined; - } - interface SpawnSyncOptionsWithStringEncoding extends SpawnSyncOptions { - encoding: BufferEncoding; - } - interface SpawnSyncOptionsWithBufferEncoding extends SpawnSyncOptions { - encoding?: "buffer" | null | undefined; - } - interface SpawnSyncReturns { - pid: number; - output: Array; - stdout: T; - stderr: T; - status: number | null; - signal: NodeJS.Signals | null; - error?: Error | undefined; - } - /** - * The `child_process.spawnSync()` method is generally identical to {@link spawn} with the exception that the function will not return - * until the child process has fully closed. When a timeout has been encountered - * and `killSignal` is sent, the method won't return until the process has - * completely exited. If the process intercepts and handles the `SIGTERM` signal - * and doesn't exit, the parent process will wait until the child process has - * exited. - * - * **If the `shell` option is enabled, do not pass unsanitized user input to this** - * **function. Any input containing shell metacharacters may be used to trigger** - * **arbitrary command execution.** - * @since v0.11.12 - * @param command The command to run. - * @param args List of string arguments. - */ - function spawnSync(command: string): SpawnSyncReturns; - function spawnSync(command: string, options: SpawnSyncOptionsWithStringEncoding): SpawnSyncReturns; - function spawnSync(command: string, options: SpawnSyncOptionsWithBufferEncoding): SpawnSyncReturns; - function spawnSync(command: string, options?: SpawnSyncOptions): SpawnSyncReturns; - function spawnSync(command: string, args: readonly string[]): SpawnSyncReturns; - function spawnSync( - command: string, - args: readonly string[], - options: SpawnSyncOptionsWithStringEncoding, - ): SpawnSyncReturns; - function spawnSync( - command: string, - args: readonly string[], - options: SpawnSyncOptionsWithBufferEncoding, - ): SpawnSyncReturns; - function spawnSync( - command: string, - args?: readonly string[], - options?: SpawnSyncOptions, - ): SpawnSyncReturns; - interface CommonExecOptions extends CommonOptions { - input?: string | NodeJS.ArrayBufferView | undefined; - /** - * Can be set to 'pipe', 'inherit, or 'ignore', or an array of these strings. - * If passed as an array, the first element is used for `stdin`, the second for - * `stdout`, and the third for `stderr`. A fourth element can be used to - * specify the `stdio` behavior beyond the standard streams. See - * {@link ChildProcess.stdio} for more information. - * - * @default 'pipe' - */ - stdio?: StdioOptions | undefined; - killSignal?: NodeJS.Signals | number | undefined; - maxBuffer?: number | undefined; - encoding?: BufferEncoding | "buffer" | null | undefined; - } - interface ExecSyncOptions extends CommonExecOptions { - shell?: string | undefined; - } - interface ExecSyncOptionsWithStringEncoding extends ExecSyncOptions { - encoding: BufferEncoding; - } - interface ExecSyncOptionsWithBufferEncoding extends ExecSyncOptions { - encoding?: "buffer" | null | undefined; - } - /** - * The `child_process.execSync()` method is generally identical to {@link exec} with the exception that the method will not return - * until the child process has fully closed. When a timeout has been encountered - * and `killSignal` is sent, the method won't return until the process has - * completely exited. If the child process intercepts and handles the `SIGTERM`signal and doesn't exit, the parent process will wait until the child process - * has exited. - * - * If the process times out or has a non-zero exit code, this method will throw. - * The `Error` object will contain the entire result from {@link spawnSync}. - * - * **Never pass unsanitized user input to this function. Any input containing shell** - * **metacharacters may be used to trigger arbitrary command execution.** - * @since v0.11.12 - * @param command The command to run. - * @return The stdout from the command. - */ - function execSync(command: string): Buffer; - function execSync(command: string, options: ExecSyncOptionsWithStringEncoding): string; - function execSync(command: string, options: ExecSyncOptionsWithBufferEncoding): Buffer; - function execSync(command: string, options?: ExecSyncOptions): string | Buffer; - interface ExecFileSyncOptions extends CommonExecOptions { - shell?: boolean | string | undefined; - } - interface ExecFileSyncOptionsWithStringEncoding extends ExecFileSyncOptions { - encoding: BufferEncoding; - } - interface ExecFileSyncOptionsWithBufferEncoding extends ExecFileSyncOptions { - encoding?: "buffer" | null; // specify `null`. - } - /** - * The `child_process.execFileSync()` method is generally identical to {@link execFile} with the exception that the method will not - * return until the child process has fully closed. When a timeout has been - * encountered and `killSignal` is sent, the method won't return until the process - * has completely exited. - * - * If the child process intercepts and handles the `SIGTERM` signal and - * does not exit, the parent process will still wait until the child process has - * exited. - * - * If the process times out or has a non-zero exit code, this method will throw an `Error` that will include the full result of the underlying {@link spawnSync}. - * - * **If the `shell` option is enabled, do not pass unsanitized user input to this** - * **function. Any input containing shell metacharacters may be used to trigger** - * **arbitrary command execution.** - * @since v0.11.12 - * @param file The name or path of the executable file to run. - * @param args List of string arguments. - * @return The stdout from the command. - */ - function execFileSync(file: string): Buffer; - function execFileSync(file: string, options: ExecFileSyncOptionsWithStringEncoding): string; - function execFileSync(file: string, options: ExecFileSyncOptionsWithBufferEncoding): Buffer; - function execFileSync(file: string, options?: ExecFileSyncOptions): string | Buffer; - function execFileSync(file: string, args: readonly string[]): Buffer; - function execFileSync( - file: string, - args: readonly string[], - options: ExecFileSyncOptionsWithStringEncoding, - ): string; - function execFileSync( - file: string, - args: readonly string[], - options: ExecFileSyncOptionsWithBufferEncoding, - ): Buffer; - function execFileSync(file: string, args?: readonly string[], options?: ExecFileSyncOptions): string | Buffer; -} -declare module "node:child_process" { - export * from "child_process"; -} diff --git a/node_modules/@types/node/ts4.8/cluster.d.ts b/node_modules/@types/node/ts4.8/cluster.d.ts deleted file mode 100644 index 39cd56a..0000000 --- a/node_modules/@types/node/ts4.8/cluster.d.ts +++ /dev/null @@ -1,432 +0,0 @@ -/** - * Clusters of Node.js processes can be used to run multiple instances of Node.js - * that can distribute workloads among their application threads. When process - * isolation is not needed, use the `worker_threads` module instead, which - * allows running multiple application threads within a single Node.js instance. - * - * The cluster module allows easy creation of child processes that all share - * server ports. - * - * ```js - * import cluster from 'node:cluster'; - * import http from 'node:http'; - * import { availableParallelism } from 'node:os'; - * import process from 'node:process'; - * - * const numCPUs = availableParallelism(); - * - * if (cluster.isPrimary) { - * console.log(`Primary ${process.pid} is running`); - * - * // Fork workers. - * for (let i = 0; i < numCPUs; i++) { - * cluster.fork(); - * } - * - * cluster.on('exit', (worker, code, signal) => { - * console.log(`worker ${worker.process.pid} died`); - * }); - * } else { - * // Workers can share any TCP connection - * // In this case it is an HTTP server - * http.createServer((req, res) => { - * res.writeHead(200); - * res.end('hello world\n'); - * }).listen(8000); - * - * console.log(`Worker ${process.pid} started`); - * } - * ``` - * - * Running Node.js will now share port 8000 between the workers: - * - * ```console - * $ node server.js - * Primary 3596 is running - * Worker 4324 started - * Worker 4520 started - * Worker 6056 started - * Worker 5644 started - * ``` - * - * On Windows, it is not yet possible to set up a named pipe server in a worker. - * @see [source](https://github.com/nodejs/node/blob/v20.2.0/lib/cluster.js) - */ -declare module "cluster" { - import * as child from "node:child_process"; - import EventEmitter = require("node:events"); - import * as net from "node:net"; - type SerializationType = "json" | "advanced"; - export interface ClusterSettings { - execArgv?: string[] | undefined; // default: process.execArgv - exec?: string | undefined; - args?: string[] | undefined; - silent?: boolean | undefined; - stdio?: any[] | undefined; - uid?: number | undefined; - gid?: number | undefined; - inspectPort?: number | (() => number) | undefined; - serialization?: SerializationType | undefined; - cwd?: string | undefined; - windowsHide?: boolean | undefined; - } - export interface Address { - address: string; - port: number; - addressType: number | "udp4" | "udp6"; // 4, 6, -1, "udp4", "udp6" - } - /** - * A `Worker` object contains all public information and method about a worker. - * In the primary it can be obtained using `cluster.workers`. In a worker - * it can be obtained using `cluster.worker`. - * @since v0.7.0 - */ - export class Worker extends EventEmitter { - /** - * Each new worker is given its own unique id, this id is stored in the`id`. - * - * While a worker is alive, this is the key that indexes it in`cluster.workers`. - * @since v0.8.0 - */ - id: number; - /** - * All workers are created using `child_process.fork()`, the returned object - * from this function is stored as `.process`. In a worker, the global `process`is stored. - * - * See: `Child Process module`. - * - * Workers will call `process.exit(0)` if the `'disconnect'` event occurs - * on `process` and `.exitedAfterDisconnect` is not `true`. This protects against - * accidental disconnection. - * @since v0.7.0 - */ - process: child.ChildProcess; - /** - * Send a message to a worker or primary, optionally with a handle. - * - * In the primary, this sends a message to a specific worker. It is identical to `ChildProcess.send()`. - * - * In a worker, this sends a message to the primary. It is identical to`process.send()`. - * - * This example will echo back all messages from the primary: - * - * ```js - * if (cluster.isPrimary) { - * const worker = cluster.fork(); - * worker.send('hi there'); - * - * } else if (cluster.isWorker) { - * process.on('message', (msg) => { - * process.send(msg); - * }); - * } - * ``` - * @since v0.7.0 - * @param options The `options` argument, if present, is an object used to parameterize the sending of certain types of handles. `options` supports the following properties: - */ - send(message: child.Serializable, callback?: (error: Error | null) => void): boolean; - send( - message: child.Serializable, - sendHandle: child.SendHandle, - callback?: (error: Error | null) => void, - ): boolean; - send( - message: child.Serializable, - sendHandle: child.SendHandle, - options?: child.MessageOptions, - callback?: (error: Error | null) => void, - ): boolean; - /** - * This function will kill the worker. In the primary worker, it does this by - * disconnecting the `worker.process`, and once disconnected, killing with`signal`. In the worker, it does it by killing the process with `signal`. - * - * The `kill()` function kills the worker process without waiting for a graceful - * disconnect, it has the same behavior as `worker.process.kill()`. - * - * This method is aliased as `worker.destroy()` for backwards compatibility. - * - * In a worker, `process.kill()` exists, but it is not this function; - * it is `kill()`. - * @since v0.9.12 - * @param [signal='SIGTERM'] Name of the kill signal to send to the worker process. - */ - kill(signal?: string): void; - destroy(signal?: string): void; - /** - * In a worker, this function will close all servers, wait for the `'close'` event - * on those servers, and then disconnect the IPC channel. - * - * In the primary, an internal message is sent to the worker causing it to call`.disconnect()` on itself. - * - * Causes `.exitedAfterDisconnect` to be set. - * - * After a server is closed, it will no longer accept new connections, - * but connections may be accepted by any other listening worker. Existing - * connections will be allowed to close as usual. When no more connections exist, - * see `server.close()`, the IPC channel to the worker will close allowing it - * to die gracefully. - * - * The above applies _only_ to server connections, client connections are not - * automatically closed by workers, and disconnect does not wait for them to close - * before exiting. - * - * In a worker, `process.disconnect` exists, but it is not this function; - * it is `disconnect()`. - * - * Because long living server connections may block workers from disconnecting, it - * may be useful to send a message, so application specific actions may be taken to - * close them. It also may be useful to implement a timeout, killing a worker if - * the `'disconnect'` event has not been emitted after some time. - * - * ```js - * if (cluster.isPrimary) { - * const worker = cluster.fork(); - * let timeout; - * - * worker.on('listening', (address) => { - * worker.send('shutdown'); - * worker.disconnect(); - * timeout = setTimeout(() => { - * worker.kill(); - * }, 2000); - * }); - * - * worker.on('disconnect', () => { - * clearTimeout(timeout); - * }); - * - * } else if (cluster.isWorker) { - * const net = require('node:net'); - * const server = net.createServer((socket) => { - * // Connections never end - * }); - * - * server.listen(8000); - * - * process.on('message', (msg) => { - * if (msg === 'shutdown') { - * // Initiate graceful close of any connections to server - * } - * }); - * } - * ``` - * @since v0.7.7 - * @return A reference to `worker`. - */ - disconnect(): void; - /** - * This function returns `true` if the worker is connected to its primary via its - * IPC channel, `false` otherwise. A worker is connected to its primary after it - * has been created. It is disconnected after the `'disconnect'` event is emitted. - * @since v0.11.14 - */ - isConnected(): boolean; - /** - * This function returns `true` if the worker's process has terminated (either - * because of exiting or being signaled). Otherwise, it returns `false`. - * - * ```js - * import cluster from 'node:cluster'; - * import http from 'node:http'; - * import { availableParallelism } from 'node:os'; - * import process from 'node:process'; - * - * const numCPUs = availableParallelism(); - * - * if (cluster.isPrimary) { - * console.log(`Primary ${process.pid} is running`); - * - * // Fork workers. - * for (let i = 0; i < numCPUs; i++) { - * cluster.fork(); - * } - * - * cluster.on('fork', (worker) => { - * console.log('worker is dead:', worker.isDead()); - * }); - * - * cluster.on('exit', (worker, code, signal) => { - * console.log('worker is dead:', worker.isDead()); - * }); - * } else { - * // Workers can share any TCP connection. In this case, it is an HTTP server. - * http.createServer((req, res) => { - * res.writeHead(200); - * res.end(`Current process\n ${process.pid}`); - * process.kill(process.pid); - * }).listen(8000); - * } - * ``` - * @since v0.11.14 - */ - isDead(): boolean; - /** - * This property is `true` if the worker exited due to `.disconnect()`. - * If the worker exited any other way, it is `false`. If the - * worker has not exited, it is `undefined`. - * - * The boolean `worker.exitedAfterDisconnect` allows distinguishing between - * voluntary and accidental exit, the primary may choose not to respawn a worker - * based on this value. - * - * ```js - * cluster.on('exit', (worker, code, signal) => { - * if (worker.exitedAfterDisconnect === true) { - * console.log('Oh, it was just voluntary – no need to worry'); - * } - * }); - * - * // kill worker - * worker.kill(); - * ``` - * @since v6.0.0 - */ - exitedAfterDisconnect: boolean; - /** - * events.EventEmitter - * 1. disconnect - * 2. error - * 3. exit - * 4. listening - * 5. message - * 6. online - */ - addListener(event: string, listener: (...args: any[]) => void): this; - addListener(event: "disconnect", listener: () => void): this; - addListener(event: "error", listener: (error: Error) => void): this; - addListener(event: "exit", listener: (code: number, signal: string) => void): this; - addListener(event: "listening", listener: (address: Address) => void): this; - addListener(event: "message", listener: (message: any, handle: net.Socket | net.Server) => void): this; // the handle is a net.Socket or net.Server object, or undefined. - addListener(event: "online", listener: () => void): this; - emit(event: string | symbol, ...args: any[]): boolean; - emit(event: "disconnect"): boolean; - emit(event: "error", error: Error): boolean; - emit(event: "exit", code: number, signal: string): boolean; - emit(event: "listening", address: Address): boolean; - emit(event: "message", message: any, handle: net.Socket | net.Server): boolean; - emit(event: "online"): boolean; - on(event: string, listener: (...args: any[]) => void): this; - on(event: "disconnect", listener: () => void): this; - on(event: "error", listener: (error: Error) => void): this; - on(event: "exit", listener: (code: number, signal: string) => void): this; - on(event: "listening", listener: (address: Address) => void): this; - on(event: "message", listener: (message: any, handle: net.Socket | net.Server) => void): this; // the handle is a net.Socket or net.Server object, or undefined. - on(event: "online", listener: () => void): this; - once(event: string, listener: (...args: any[]) => void): this; - once(event: "disconnect", listener: () => void): this; - once(event: "error", listener: (error: Error) => void): this; - once(event: "exit", listener: (code: number, signal: string) => void): this; - once(event: "listening", listener: (address: Address) => void): this; - once(event: "message", listener: (message: any, handle: net.Socket | net.Server) => void): this; // the handle is a net.Socket or net.Server object, or undefined. - once(event: "online", listener: () => void): this; - prependListener(event: string, listener: (...args: any[]) => void): this; - prependListener(event: "disconnect", listener: () => void): this; - prependListener(event: "error", listener: (error: Error) => void): this; - prependListener(event: "exit", listener: (code: number, signal: string) => void): this; - prependListener(event: "listening", listener: (address: Address) => void): this; - prependListener(event: "message", listener: (message: any, handle: net.Socket | net.Server) => void): this; // the handle is a net.Socket or net.Server object, or undefined. - prependListener(event: "online", listener: () => void): this; - prependOnceListener(event: string, listener: (...args: any[]) => void): this; - prependOnceListener(event: "disconnect", listener: () => void): this; - prependOnceListener(event: "error", listener: (error: Error) => void): this; - prependOnceListener(event: "exit", listener: (code: number, signal: string) => void): this; - prependOnceListener(event: "listening", listener: (address: Address) => void): this; - prependOnceListener(event: "message", listener: (message: any, handle: net.Socket | net.Server) => void): this; // the handle is a net.Socket or net.Server object, or undefined. - prependOnceListener(event: "online", listener: () => void): this; - } - export interface Cluster extends EventEmitter { - disconnect(callback?: () => void): void; - fork(env?: any): Worker; - /** @deprecated since v16.0.0 - use isPrimary. */ - readonly isMaster: boolean; - readonly isPrimary: boolean; - readonly isWorker: boolean; - schedulingPolicy: number; - readonly settings: ClusterSettings; - /** @deprecated since v16.0.0 - use setupPrimary. */ - setupMaster(settings?: ClusterSettings): void; - /** - * `setupPrimary` is used to change the default 'fork' behavior. Once called, the settings will be present in cluster.settings. - */ - setupPrimary(settings?: ClusterSettings): void; - readonly worker?: Worker | undefined; - readonly workers?: NodeJS.Dict | undefined; - readonly SCHED_NONE: number; - readonly SCHED_RR: number; - /** - * events.EventEmitter - * 1. disconnect - * 2. exit - * 3. fork - * 4. listening - * 5. message - * 6. online - * 7. setup - */ - addListener(event: string, listener: (...args: any[]) => void): this; - addListener(event: "disconnect", listener: (worker: Worker) => void): this; - addListener(event: "exit", listener: (worker: Worker, code: number, signal: string) => void): this; - addListener(event: "fork", listener: (worker: Worker) => void): this; - addListener(event: "listening", listener: (worker: Worker, address: Address) => void): this; - addListener( - event: "message", - listener: (worker: Worker, message: any, handle: net.Socket | net.Server) => void, - ): this; // the handle is a net.Socket or net.Server object, or undefined. - addListener(event: "online", listener: (worker: Worker) => void): this; - addListener(event: "setup", listener: (settings: ClusterSettings) => void): this; - emit(event: string | symbol, ...args: any[]): boolean; - emit(event: "disconnect", worker: Worker): boolean; - emit(event: "exit", worker: Worker, code: number, signal: string): boolean; - emit(event: "fork", worker: Worker): boolean; - emit(event: "listening", worker: Worker, address: Address): boolean; - emit(event: "message", worker: Worker, message: any, handle: net.Socket | net.Server): boolean; - emit(event: "online", worker: Worker): boolean; - emit(event: "setup", settings: ClusterSettings): boolean; - on(event: string, listener: (...args: any[]) => void): this; - on(event: "disconnect", listener: (worker: Worker) => void): this; - on(event: "exit", listener: (worker: Worker, code: number, signal: string) => void): this; - on(event: "fork", listener: (worker: Worker) => void): this; - on(event: "listening", listener: (worker: Worker, address: Address) => void): this; - on(event: "message", listener: (worker: Worker, message: any, handle: net.Socket | net.Server) => void): this; // the handle is a net.Socket or net.Server object, or undefined. - on(event: "online", listener: (worker: Worker) => void): this; - on(event: "setup", listener: (settings: ClusterSettings) => void): this; - once(event: string, listener: (...args: any[]) => void): this; - once(event: "disconnect", listener: (worker: Worker) => void): this; - once(event: "exit", listener: (worker: Worker, code: number, signal: string) => void): this; - once(event: "fork", listener: (worker: Worker) => void): this; - once(event: "listening", listener: (worker: Worker, address: Address) => void): this; - once(event: "message", listener: (worker: Worker, message: any, handle: net.Socket | net.Server) => void): this; // the handle is a net.Socket or net.Server object, or undefined. - once(event: "online", listener: (worker: Worker) => void): this; - once(event: "setup", listener: (settings: ClusterSettings) => void): this; - prependListener(event: string, listener: (...args: any[]) => void): this; - prependListener(event: "disconnect", listener: (worker: Worker) => void): this; - prependListener(event: "exit", listener: (worker: Worker, code: number, signal: string) => void): this; - prependListener(event: "fork", listener: (worker: Worker) => void): this; - prependListener(event: "listening", listener: (worker: Worker, address: Address) => void): this; - // the handle is a net.Socket or net.Server object, or undefined. - prependListener( - event: "message", - listener: (worker: Worker, message: any, handle?: net.Socket | net.Server) => void, - ): this; - prependListener(event: "online", listener: (worker: Worker) => void): this; - prependListener(event: "setup", listener: (settings: ClusterSettings) => void): this; - prependOnceListener(event: string, listener: (...args: any[]) => void): this; - prependOnceListener(event: "disconnect", listener: (worker: Worker) => void): this; - prependOnceListener(event: "exit", listener: (worker: Worker, code: number, signal: string) => void): this; - prependOnceListener(event: "fork", listener: (worker: Worker) => void): this; - prependOnceListener(event: "listening", listener: (worker: Worker, address: Address) => void): this; - // the handle is a net.Socket or net.Server object, or undefined. - prependOnceListener( - event: "message", - listener: (worker: Worker, message: any, handle: net.Socket | net.Server) => void, - ): this; - prependOnceListener(event: "online", listener: (worker: Worker) => void): this; - prependOnceListener(event: "setup", listener: (settings: ClusterSettings) => void): this; - } - const cluster: Cluster; - export default cluster; -} -declare module "node:cluster" { - export * from "cluster"; - export { default as default } from "cluster"; -} diff --git a/node_modules/@types/node/ts4.8/console.d.ts b/node_modules/@types/node/ts4.8/console.d.ts deleted file mode 100644 index bcc3450..0000000 --- a/node_modules/@types/node/ts4.8/console.d.ts +++ /dev/null @@ -1,415 +0,0 @@ -/** - * The `node:console` module provides a simple debugging console that is similar to - * the JavaScript console mechanism provided by web browsers. - * - * The module exports two specific components: - * - * * A `Console` class with methods such as `console.log()`, `console.error()`, and`console.warn()` that can be used to write to any Node.js stream. - * * A global `console` instance configured to write to `process.stdout` and `process.stderr`. The global `console` can be used without calling`require('node:console')`. - * - * _**Warning**_: The global console object's methods are neither consistently - * synchronous like the browser APIs they resemble, nor are they consistently - * asynchronous like all other Node.js streams. See the `note on process I/O` for - * more information. - * - * Example using the global `console`: - * - * ```js - * console.log('hello world'); - * // Prints: hello world, to stdout - * console.log('hello %s', 'world'); - * // Prints: hello world, to stdout - * console.error(new Error('Whoops, something bad happened')); - * // Prints error message and stack trace to stderr: - * // Error: Whoops, something bad happened - * // at [eval]:5:15 - * // at Script.runInThisContext (node:vm:132:18) - * // at Object.runInThisContext (node:vm:309:38) - * // at node:internal/process/execution:77:19 - * // at [eval]-wrapper:6:22 - * // at evalScript (node:internal/process/execution:76:60) - * // at node:internal/main/eval_string:23:3 - * - * const name = 'Will Robinson'; - * console.warn(`Danger ${name}! Danger!`); - * // Prints: Danger Will Robinson! Danger!, to stderr - * ``` - * - * Example using the `Console` class: - * - * ```js - * const out = getStreamSomehow(); - * const err = getStreamSomehow(); - * const myConsole = new console.Console(out, err); - * - * myConsole.log('hello world'); - * // Prints: hello world, to out - * myConsole.log('hello %s', 'world'); - * // Prints: hello world, to out - * myConsole.error(new Error('Whoops, something bad happened')); - * // Prints: [Error: Whoops, something bad happened], to err - * - * const name = 'Will Robinson'; - * myConsole.warn(`Danger ${name}! Danger!`); - * // Prints: Danger Will Robinson! Danger!, to err - * ``` - * @see [source](https://github.com/nodejs/node/blob/v20.2.0/lib/console.js) - */ -declare module "console" { - import console = require("node:console"); - export = console; -} -declare module "node:console" { - import { InspectOptions } from "node:util"; - global { - // This needs to be global to avoid TS2403 in case lib.dom.d.ts is present in the same build - interface Console { - Console: console.ConsoleConstructor; - /** - * `console.assert()` writes a message if `value` is [falsy](https://developer.mozilla.org/en-US/docs/Glossary/Falsy) or omitted. It only - * writes a message and does not otherwise affect execution. The output always - * starts with `"Assertion failed"`. If provided, `message` is formatted using `util.format()`. - * - * If `value` is [truthy](https://developer.mozilla.org/en-US/docs/Glossary/Truthy), nothing happens. - * - * ```js - * console.assert(true, 'does nothing'); - * - * console.assert(false, 'Whoops %s work', 'didn\'t'); - * // Assertion failed: Whoops didn't work - * - * console.assert(); - * // Assertion failed - * ``` - * @since v0.1.101 - * @param value The value tested for being truthy. - * @param message All arguments besides `value` are used as error message. - */ - assert(value: any, message?: string, ...optionalParams: any[]): void; - /** - * When `stdout` is a TTY, calling `console.clear()` will attempt to clear the - * TTY. When `stdout` is not a TTY, this method does nothing. - * - * The specific operation of `console.clear()` can vary across operating systems - * and terminal types. For most Linux operating systems, `console.clear()`operates similarly to the `clear` shell command. On Windows, `console.clear()`will clear only the output in the - * current terminal viewport for the Node.js - * binary. - * @since v8.3.0 - */ - clear(): void; - /** - * Maintains an internal counter specific to `label` and outputs to `stdout` the - * number of times `console.count()` has been called with the given `label`. - * - * ```js - * > console.count() - * default: 1 - * undefined - * > console.count('default') - * default: 2 - * undefined - * > console.count('abc') - * abc: 1 - * undefined - * > console.count('xyz') - * xyz: 1 - * undefined - * > console.count('abc') - * abc: 2 - * undefined - * > console.count() - * default: 3 - * undefined - * > - * ``` - * @since v8.3.0 - * @param [label='default'] The display label for the counter. - */ - count(label?: string): void; - /** - * Resets the internal counter specific to `label`. - * - * ```js - * > console.count('abc'); - * abc: 1 - * undefined - * > console.countReset('abc'); - * undefined - * > console.count('abc'); - * abc: 1 - * undefined - * > - * ``` - * @since v8.3.0 - * @param [label='default'] The display label for the counter. - */ - countReset(label?: string): void; - /** - * The `console.debug()` function is an alias for {@link log}. - * @since v8.0.0 - */ - debug(message?: any, ...optionalParams: any[]): void; - /** - * Uses `util.inspect()` on `obj` and prints the resulting string to `stdout`. - * This function bypasses any custom `inspect()` function defined on `obj`. - * @since v0.1.101 - */ - dir(obj: any, options?: InspectOptions): void; - /** - * This method calls `console.log()` passing it the arguments received. - * This method does not produce any XML formatting. - * @since v8.0.0 - */ - dirxml(...data: any[]): void; - /** - * Prints to `stderr` with newline. Multiple arguments can be passed, with the - * first used as the primary message and all additional used as substitution - * values similar to [`printf(3)`](http://man7.org/linux/man-pages/man3/printf.3.html) (the arguments are all passed to `util.format()`). - * - * ```js - * const code = 5; - * console.error('error #%d', code); - * // Prints: error #5, to stderr - * console.error('error', code); - * // Prints: error 5, to stderr - * ``` - * - * If formatting elements (e.g. `%d`) are not found in the first string then `util.inspect()` is called on each argument and the resulting string - * values are concatenated. See `util.format()` for more information. - * @since v0.1.100 - */ - error(message?: any, ...optionalParams: any[]): void; - /** - * Increases indentation of subsequent lines by spaces for `groupIndentation`length. - * - * If one or more `label`s are provided, those are printed first without the - * additional indentation. - * @since v8.5.0 - */ - group(...label: any[]): void; - /** - * An alias for {@link group}. - * @since v8.5.0 - */ - groupCollapsed(...label: any[]): void; - /** - * Decreases indentation of subsequent lines by spaces for `groupIndentation`length. - * @since v8.5.0 - */ - groupEnd(): void; - /** - * The `console.info()` function is an alias for {@link log}. - * @since v0.1.100 - */ - info(message?: any, ...optionalParams: any[]): void; - /** - * Prints to `stdout` with newline. Multiple arguments can be passed, with the - * first used as the primary message and all additional used as substitution - * values similar to [`printf(3)`](http://man7.org/linux/man-pages/man3/printf.3.html) (the arguments are all passed to `util.format()`). - * - * ```js - * const count = 5; - * console.log('count: %d', count); - * // Prints: count: 5, to stdout - * console.log('count:', count); - * // Prints: count: 5, to stdout - * ``` - * - * See `util.format()` for more information. - * @since v0.1.100 - */ - log(message?: any, ...optionalParams: any[]): void; - /** - * Try to construct a table with the columns of the properties of `tabularData`(or use `properties`) and rows of `tabularData` and log it. Falls back to just - * logging the argument if it can't be parsed as tabular. - * - * ```js - * // These can't be parsed as tabular data - * console.table(Symbol()); - * // Symbol() - * - * console.table(undefined); - * // undefined - * - * console.table([{ a: 1, b: 'Y' }, { a: 'Z', b: 2 }]); - * // ┌─────────┬─────┬─────┐ - * // │ (index) │ a │ b │ - * // ├─────────┼─────┼─────┤ - * // │ 0 │ 1 │ 'Y' │ - * // │ 1 │ 'Z' │ 2 │ - * // └─────────┴─────┴─────┘ - * - * console.table([{ a: 1, b: 'Y' }, { a: 'Z', b: 2 }], ['a']); - * // ┌─────────┬─────┐ - * // │ (index) │ a │ - * // ├─────────┼─────┤ - * // │ 0 │ 1 │ - * // │ 1 │ 'Z' │ - * // └─────────┴─────┘ - * ``` - * @since v10.0.0 - * @param properties Alternate properties for constructing the table. - */ - table(tabularData: any, properties?: readonly string[]): void; - /** - * Starts a timer that can be used to compute the duration of an operation. Timers - * are identified by a unique `label`. Use the same `label` when calling {@link timeEnd} to stop the timer and output the elapsed time in - * suitable time units to `stdout`. For example, if the elapsed - * time is 3869ms, `console.timeEnd()` displays "3.869s". - * @since v0.1.104 - * @param [label='default'] - */ - time(label?: string): void; - /** - * Stops a timer that was previously started by calling {@link time} and - * prints the result to `stdout`: - * - * ```js - * console.time('bunch-of-stuff'); - * // Do a bunch of stuff. - * console.timeEnd('bunch-of-stuff'); - * // Prints: bunch-of-stuff: 225.438ms - * ``` - * @since v0.1.104 - * @param [label='default'] - */ - timeEnd(label?: string): void; - /** - * For a timer that was previously started by calling {@link time}, prints - * the elapsed time and other `data` arguments to `stdout`: - * - * ```js - * console.time('process'); - * const value = expensiveProcess1(); // Returns 42 - * console.timeLog('process', value); - * // Prints "process: 365.227ms 42". - * doExpensiveProcess2(value); - * console.timeEnd('process'); - * ``` - * @since v10.7.0 - * @param [label='default'] - */ - timeLog(label?: string, ...data: any[]): void; - /** - * Prints to `stderr` the string `'Trace: '`, followed by the `util.format()` formatted message and stack trace to the current position in the code. - * - * ```js - * console.trace('Show me'); - * // Prints: (stack trace will vary based on where trace is called) - * // Trace: Show me - * // at repl:2:9 - * // at REPLServer.defaultEval (repl.js:248:27) - * // at bound (domain.js:287:14) - * // at REPLServer.runBound [as eval] (domain.js:300:12) - * // at REPLServer. (repl.js:412:12) - * // at emitOne (events.js:82:20) - * // at REPLServer.emit (events.js:169:7) - * // at REPLServer.Interface._onLine (readline.js:210:10) - * // at REPLServer.Interface._line (readline.js:549:8) - * // at REPLServer.Interface._ttyWrite (readline.js:826:14) - * ``` - * @since v0.1.104 - */ - trace(message?: any, ...optionalParams: any[]): void; - /** - * The `console.warn()` function is an alias for {@link error}. - * @since v0.1.100 - */ - warn(message?: any, ...optionalParams: any[]): void; - // --- Inspector mode only --- - /** - * This method does not display anything unless used in the inspector. - * Starts a JavaScript CPU profile with an optional label. - */ - profile(label?: string): void; - /** - * This method does not display anything unless used in the inspector. - * Stops the current JavaScript CPU profiling session if one has been started and prints the report to the Profiles panel of the inspector. - */ - profileEnd(label?: string): void; - /** - * This method does not display anything unless used in the inspector. - * Adds an event with the label `label` to the Timeline panel of the inspector. - */ - timeStamp(label?: string): void; - } - /** - * The `console` module provides a simple debugging console that is similar to the - * JavaScript console mechanism provided by web browsers. - * - * The module exports two specific components: - * - * * A `Console` class with methods such as `console.log()`, `console.error()` and`console.warn()` that can be used to write to any Node.js stream. - * * A global `console` instance configured to write to `process.stdout` and `process.stderr`. The global `console` can be used without calling`require('console')`. - * - * _**Warning**_: The global console object's methods are neither consistently - * synchronous like the browser APIs they resemble, nor are they consistently - * asynchronous like all other Node.js streams. See the `note on process I/O` for - * more information. - * - * Example using the global `console`: - * - * ```js - * console.log('hello world'); - * // Prints: hello world, to stdout - * console.log('hello %s', 'world'); - * // Prints: hello world, to stdout - * console.error(new Error('Whoops, something bad happened')); - * // Prints error message and stack trace to stderr: - * // Error: Whoops, something bad happened - * // at [eval]:5:15 - * // at Script.runInThisContext (node:vm:132:18) - * // at Object.runInThisContext (node:vm:309:38) - * // at node:internal/process/execution:77:19 - * // at [eval]-wrapper:6:22 - * // at evalScript (node:internal/process/execution:76:60) - * // at node:internal/main/eval_string:23:3 - * - * const name = 'Will Robinson'; - * console.warn(`Danger ${name}! Danger!`); - * // Prints: Danger Will Robinson! Danger!, to stderr - * ``` - * - * Example using the `Console` class: - * - * ```js - * const out = getStreamSomehow(); - * const err = getStreamSomehow(); - * const myConsole = new console.Console(out, err); - * - * myConsole.log('hello world'); - * // Prints: hello world, to out - * myConsole.log('hello %s', 'world'); - * // Prints: hello world, to out - * myConsole.error(new Error('Whoops, something bad happened')); - * // Prints: [Error: Whoops, something bad happened], to err - * - * const name = 'Will Robinson'; - * myConsole.warn(`Danger ${name}! Danger!`); - * // Prints: Danger Will Robinson! Danger!, to err - * ``` - * @see [source](https://github.com/nodejs/node/blob/v16.4.2/lib/console.js) - */ - namespace console { - interface ConsoleConstructorOptions { - stdout: NodeJS.WritableStream; - stderr?: NodeJS.WritableStream | undefined; - ignoreErrors?: boolean | undefined; - colorMode?: boolean | "auto" | undefined; - inspectOptions?: InspectOptions | undefined; - /** - * Set group indentation - * @default 2 - */ - groupIndentation?: number | undefined; - } - interface ConsoleConstructor { - prototype: Console; - new(stdout: NodeJS.WritableStream, stderr?: NodeJS.WritableStream, ignoreErrors?: boolean): Console; - new(options: ConsoleConstructorOptions): Console; - } - } - var console: Console; - } - export = globalThis.console; -} diff --git a/node_modules/@types/node/ts4.8/constants.d.ts b/node_modules/@types/node/ts4.8/constants.d.ts deleted file mode 100644 index c3ac2b8..0000000 --- a/node_modules/@types/node/ts4.8/constants.d.ts +++ /dev/null @@ -1,19 +0,0 @@ -/** @deprecated since v6.3.0 - use constants property exposed by the relevant module instead. */ -declare module "constants" { - import { constants as osConstants, SignalConstants } from "node:os"; - import { constants as cryptoConstants } from "node:crypto"; - import { constants as fsConstants } from "node:fs"; - - const exp: - & typeof osConstants.errno - & typeof osConstants.priority - & SignalConstants - & typeof cryptoConstants - & typeof fsConstants; - export = exp; -} - -declare module "node:constants" { - import constants = require("constants"); - export = constants; -} diff --git a/node_modules/@types/node/ts4.8/crypto.d.ts b/node_modules/@types/node/ts4.8/crypto.d.ts deleted file mode 100644 index 718697b..0000000 --- a/node_modules/@types/node/ts4.8/crypto.d.ts +++ /dev/null @@ -1,4487 +0,0 @@ -/** - * The `node:crypto` module provides cryptographic functionality that includes a - * set of wrappers for OpenSSL's hash, HMAC, cipher, decipher, sign, and verify - * functions. - * - * ```js - * const { createHmac } = await import('node:crypto'); - * - * const secret = 'abcdefg'; - * const hash = createHmac('sha256', secret) - * .update('I love cupcakes') - * .digest('hex'); - * console.log(hash); - * // Prints: - * // c0fa1bc00531bd78ef38c628449c5102aeabd49b5dc3a2a516ea6ea959d6658e - * ``` - * @see [source](https://github.com/nodejs/node/blob/v20.2.0/lib/crypto.js) - */ -declare module "crypto" { - import * as stream from "node:stream"; - import { PeerCertificate } from "node:tls"; - /** - * SPKAC is a Certificate Signing Request mechanism originally implemented by - * Netscape and was specified formally as part of HTML5's `keygen` element. - * - * `` is deprecated since [HTML 5.2](https://www.w3.org/TR/html52/changes.html#features-removed) and new projects - * should not use this element anymore. - * - * The `node:crypto` module provides the `Certificate` class for working with SPKAC - * data. The most common usage is handling output generated by the HTML5`` element. Node.js uses [OpenSSL's SPKAC - * implementation](https://www.openssl.org/docs/man3.0/man1/openssl-spkac.html) internally. - * @since v0.11.8 - */ - class Certificate { - /** - * ```js - * const { Certificate } = await import('node:crypto'); - * const spkac = getSpkacSomehow(); - * const challenge = Certificate.exportChallenge(spkac); - * console.log(challenge.toString('utf8')); - * // Prints: the challenge as a UTF8 string - * ``` - * @since v9.0.0 - * @param encoding The `encoding` of the `spkac` string. - * @return The challenge component of the `spkac` data structure, which includes a public key and a challenge. - */ - static exportChallenge(spkac: BinaryLike): Buffer; - /** - * ```js - * const { Certificate } = await import('node:crypto'); - * const spkac = getSpkacSomehow(); - * const publicKey = Certificate.exportPublicKey(spkac); - * console.log(publicKey); - * // Prints: the public key as - * ``` - * @since v9.0.0 - * @param encoding The `encoding` of the `spkac` string. - * @return The public key component of the `spkac` data structure, which includes a public key and a challenge. - */ - static exportPublicKey(spkac: BinaryLike, encoding?: string): Buffer; - /** - * ```js - * import { Buffer } from 'node:buffer'; - * const { Certificate } = await import('node:crypto'); - * - * const spkac = getSpkacSomehow(); - * console.log(Certificate.verifySpkac(Buffer.from(spkac))); - * // Prints: true or false - * ``` - * @since v9.0.0 - * @param encoding The `encoding` of the `spkac` string. - * @return `true` if the given `spkac` data structure is valid, `false` otherwise. - */ - static verifySpkac(spkac: NodeJS.ArrayBufferView): boolean; - /** - * @deprecated - * @param spkac - * @returns The challenge component of the `spkac` data structure, - * which includes a public key and a challenge. - */ - exportChallenge(spkac: BinaryLike): Buffer; - /** - * @deprecated - * @param spkac - * @param encoding The encoding of the spkac string. - * @returns The public key component of the `spkac` data structure, - * which includes a public key and a challenge. - */ - exportPublicKey(spkac: BinaryLike, encoding?: string): Buffer; - /** - * @deprecated - * @param spkac - * @returns `true` if the given `spkac` data structure is valid, - * `false` otherwise. - */ - verifySpkac(spkac: NodeJS.ArrayBufferView): boolean; - } - namespace constants { - // https://nodejs.org/dist/latest-v20.x/docs/api/crypto.html#crypto-constants - const OPENSSL_VERSION_NUMBER: number; - /** Applies multiple bug workarounds within OpenSSL. See https://www.openssl.org/docs/man1.0.2/ssl/SSL_CTX_set_options.html for detail. */ - const SSL_OP_ALL: number; - /** Instructs OpenSSL to allow a non-[EC]DHE-based key exchange mode for TLS v1.3 */ - const SSL_OP_ALLOW_NO_DHE_KEX: number; - /** Allows legacy insecure renegotiation between OpenSSL and unpatched clients or servers. See https://www.openssl.org/docs/man1.0.2/ssl/SSL_CTX_set_options.html. */ - const SSL_OP_ALLOW_UNSAFE_LEGACY_RENEGOTIATION: number; - /** Attempts to use the server's preferences instead of the client's when selecting a cipher. See https://www.openssl.org/docs/man1.0.2/ssl/SSL_CTX_set_options.html. */ - const SSL_OP_CIPHER_SERVER_PREFERENCE: number; - /** Instructs OpenSSL to use Cisco's "speshul" version of DTLS_BAD_VER. */ - const SSL_OP_CISCO_ANYCONNECT: number; - /** Instructs OpenSSL to turn on cookie exchange. */ - const SSL_OP_COOKIE_EXCHANGE: number; - /** Instructs OpenSSL to add server-hello extension from an early version of the cryptopro draft. */ - const SSL_OP_CRYPTOPRO_TLSEXT_BUG: number; - /** Instructs OpenSSL to disable a SSL 3.0/TLS 1.0 vulnerability workaround added in OpenSSL 0.9.6d. */ - const SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS: number; - /** Allows initial connection to servers that do not support RI. */ - const SSL_OP_LEGACY_SERVER_CONNECT: number; - /** Instructs OpenSSL to disable support for SSL/TLS compression. */ - const SSL_OP_NO_COMPRESSION: number; - /** Instructs OpenSSL to disable encrypt-then-MAC. */ - const SSL_OP_NO_ENCRYPT_THEN_MAC: number; - const SSL_OP_NO_QUERY_MTU: number; - /** Instructs OpenSSL to disable renegotiation. */ - const SSL_OP_NO_RENEGOTIATION: number; - /** Instructs OpenSSL to always start a new session when performing renegotiation. */ - const SSL_OP_NO_SESSION_RESUMPTION_ON_RENEGOTIATION: number; - /** Instructs OpenSSL to turn off SSL v2 */ - const SSL_OP_NO_SSLv2: number; - /** Instructs OpenSSL to turn off SSL v3 */ - const SSL_OP_NO_SSLv3: number; - /** Instructs OpenSSL to disable use of RFC4507bis tickets. */ - const SSL_OP_NO_TICKET: number; - /** Instructs OpenSSL to turn off TLS v1 */ - const SSL_OP_NO_TLSv1: number; - /** Instructs OpenSSL to turn off TLS v1.1 */ - const SSL_OP_NO_TLSv1_1: number; - /** Instructs OpenSSL to turn off TLS v1.2 */ - const SSL_OP_NO_TLSv1_2: number; - /** Instructs OpenSSL to turn off TLS v1.3 */ - const SSL_OP_NO_TLSv1_3: number; - /** Instructs OpenSSL server to prioritize ChaCha20-Poly1305 when the client does. This option has no effect if `SSL_OP_CIPHER_SERVER_PREFERENCE` is not enabled. */ - const SSL_OP_PRIORITIZE_CHACHA: number; - /** Instructs OpenSSL to disable version rollback attack detection. */ - const SSL_OP_TLS_ROLLBACK_BUG: number; - const ENGINE_METHOD_RSA: number; - const ENGINE_METHOD_DSA: number; - const ENGINE_METHOD_DH: number; - const ENGINE_METHOD_RAND: number; - const ENGINE_METHOD_EC: number; - const ENGINE_METHOD_CIPHERS: number; - const ENGINE_METHOD_DIGESTS: number; - const ENGINE_METHOD_PKEY_METHS: number; - const ENGINE_METHOD_PKEY_ASN1_METHS: number; - const ENGINE_METHOD_ALL: number; - const ENGINE_METHOD_NONE: number; - const DH_CHECK_P_NOT_SAFE_PRIME: number; - const DH_CHECK_P_NOT_PRIME: number; - const DH_UNABLE_TO_CHECK_GENERATOR: number; - const DH_NOT_SUITABLE_GENERATOR: number; - const RSA_PKCS1_PADDING: number; - const RSA_SSLV23_PADDING: number; - const RSA_NO_PADDING: number; - const RSA_PKCS1_OAEP_PADDING: number; - const RSA_X931_PADDING: number; - const RSA_PKCS1_PSS_PADDING: number; - /** Sets the salt length for RSA_PKCS1_PSS_PADDING to the digest size when signing or verifying. */ - const RSA_PSS_SALTLEN_DIGEST: number; - /** Sets the salt length for RSA_PKCS1_PSS_PADDING to the maximum permissible value when signing data. */ - const RSA_PSS_SALTLEN_MAX_SIGN: number; - /** Causes the salt length for RSA_PKCS1_PSS_PADDING to be determined automatically when verifying a signature. */ - const RSA_PSS_SALTLEN_AUTO: number; - const POINT_CONVERSION_COMPRESSED: number; - const POINT_CONVERSION_UNCOMPRESSED: number; - const POINT_CONVERSION_HYBRID: number; - /** Specifies the built-in default cipher list used by Node.js (colon-separated values). */ - const defaultCoreCipherList: string; - /** Specifies the active default cipher list used by the current Node.js process (colon-separated values). */ - const defaultCipherList: string; - } - interface HashOptions extends stream.TransformOptions { - /** - * For XOF hash functions such as `shake256`, the - * outputLength option can be used to specify the desired output length in bytes. - */ - outputLength?: number | undefined; - } - /** @deprecated since v10.0.0 */ - const fips: boolean; - /** - * Creates and returns a `Hash` object that can be used to generate hash digests - * using the given `algorithm`. Optional `options` argument controls stream - * behavior. For XOF hash functions such as `'shake256'`, the `outputLength` option - * can be used to specify the desired output length in bytes. - * - * The `algorithm` is dependent on the available algorithms supported by the - * version of OpenSSL on the platform. Examples are `'sha256'`, `'sha512'`, etc. - * On recent releases of OpenSSL, `openssl list -digest-algorithms` will - * display the available digest algorithms. - * - * Example: generating the sha256 sum of a file - * - * ```js - * import { - * createReadStream, - * } from 'node:fs'; - * import { argv } from 'node:process'; - * const { - * createHash, - * } = await import('node:crypto'); - * - * const filename = argv[2]; - * - * const hash = createHash('sha256'); - * - * const input = createReadStream(filename); - * input.on('readable', () => { - * // Only one element is going to be produced by the - * // hash stream. - * const data = input.read(); - * if (data) - * hash.update(data); - * else { - * console.log(`${hash.digest('hex')} ${filename}`); - * } - * }); - * ``` - * @since v0.1.92 - * @param options `stream.transform` options - */ - function createHash(algorithm: string, options?: HashOptions): Hash; - /** - * Creates and returns an `Hmac` object that uses the given `algorithm` and `key`. - * Optional `options` argument controls stream behavior. - * - * The `algorithm` is dependent on the available algorithms supported by the - * version of OpenSSL on the platform. Examples are `'sha256'`, `'sha512'`, etc. - * On recent releases of OpenSSL, `openssl list -digest-algorithms` will - * display the available digest algorithms. - * - * The `key` is the HMAC key used to generate the cryptographic HMAC hash. If it is - * a `KeyObject`, its type must be `secret`. If it is a string, please consider `caveats when using strings as inputs to cryptographic APIs`. If it was - * obtained from a cryptographically secure source of entropy, such as {@link randomBytes} or {@link generateKey}, its length should not - * exceed the block size of `algorithm` (e.g., 512 bits for SHA-256). - * - * Example: generating the sha256 HMAC of a file - * - * ```js - * import { - * createReadStream, - * } from 'node:fs'; - * import { argv } from 'node:process'; - * const { - * createHmac, - * } = await import('node:crypto'); - * - * const filename = argv[2]; - * - * const hmac = createHmac('sha256', 'a secret'); - * - * const input = createReadStream(filename); - * input.on('readable', () => { - * // Only one element is going to be produced by the - * // hash stream. - * const data = input.read(); - * if (data) - * hmac.update(data); - * else { - * console.log(`${hmac.digest('hex')} ${filename}`); - * } - * }); - * ``` - * @since v0.1.94 - * @param options `stream.transform` options - */ - function createHmac(algorithm: string, key: BinaryLike | KeyObject, options?: stream.TransformOptions): Hmac; - // https://nodejs.org/api/buffer.html#buffer_buffers_and_character_encodings - type BinaryToTextEncoding = "base64" | "base64url" | "hex" | "binary"; - type CharacterEncoding = "utf8" | "utf-8" | "utf16le" | "utf-16le" | "latin1"; - type LegacyCharacterEncoding = "ascii" | "binary" | "ucs2" | "ucs-2"; - type Encoding = BinaryToTextEncoding | CharacterEncoding | LegacyCharacterEncoding; - type ECDHKeyFormat = "compressed" | "uncompressed" | "hybrid"; - /** - * The `Hash` class is a utility for creating hash digests of data. It can be - * used in one of two ways: - * - * * As a `stream` that is both readable and writable, where data is written - * to produce a computed hash digest on the readable side, or - * * Using the `hash.update()` and `hash.digest()` methods to produce the - * computed hash. - * - * The {@link createHash} method is used to create `Hash` instances. `Hash`objects are not to be created directly using the `new` keyword. - * - * Example: Using `Hash` objects as streams: - * - * ```js - * const { - * createHash, - * } = await import('node:crypto'); - * - * const hash = createHash('sha256'); - * - * hash.on('readable', () => { - * // Only one element is going to be produced by the - * // hash stream. - * const data = hash.read(); - * if (data) { - * console.log(data.toString('hex')); - * // Prints: - * // 6a2da20943931e9834fc12cfe5bb47bbd9ae43489a30726962b576f4e3993e50 - * } - * }); - * - * hash.write('some data to hash'); - * hash.end(); - * ``` - * - * Example: Using `Hash` and piped streams: - * - * ```js - * import { createReadStream } from 'node:fs'; - * import { stdout } from 'node:process'; - * const { createHash } = await import('node:crypto'); - * - * const hash = createHash('sha256'); - * - * const input = createReadStream('test.js'); - * input.pipe(hash).setEncoding('hex').pipe(stdout); - * ``` - * - * Example: Using the `hash.update()` and `hash.digest()` methods: - * - * ```js - * const { - * createHash, - * } = await import('node:crypto'); - * - * const hash = createHash('sha256'); - * - * hash.update('some data to hash'); - * console.log(hash.digest('hex')); - * // Prints: - * // 6a2da20943931e9834fc12cfe5bb47bbd9ae43489a30726962b576f4e3993e50 - * ``` - * @since v0.1.92 - */ - class Hash extends stream.Transform { - private constructor(); - /** - * Creates a new `Hash` object that contains a deep copy of the internal state - * of the current `Hash` object. - * - * The optional `options` argument controls stream behavior. For XOF hash - * functions such as `'shake256'`, the `outputLength` option can be used to - * specify the desired output length in bytes. - * - * An error is thrown when an attempt is made to copy the `Hash` object after - * its `hash.digest()` method has been called. - * - * ```js - * // Calculate a rolling hash. - * const { - * createHash, - * } = await import('node:crypto'); - * - * const hash = createHash('sha256'); - * - * hash.update('one'); - * console.log(hash.copy().digest('hex')); - * - * hash.update('two'); - * console.log(hash.copy().digest('hex')); - * - * hash.update('three'); - * console.log(hash.copy().digest('hex')); - * - * // Etc. - * ``` - * @since v13.1.0 - * @param options `stream.transform` options - */ - copy(options?: HashOptions): Hash; - /** - * Updates the hash content with the given `data`, the encoding of which - * is given in `inputEncoding`. - * If `encoding` is not provided, and the `data` is a string, an - * encoding of `'utf8'` is enforced. If `data` is a `Buffer`, `TypedArray`, or`DataView`, then `inputEncoding` is ignored. - * - * This can be called many times with new data as it is streamed. - * @since v0.1.92 - * @param inputEncoding The `encoding` of the `data` string. - */ - update(data: BinaryLike): Hash; - update(data: string, inputEncoding: Encoding): Hash; - /** - * Calculates the digest of all of the data passed to be hashed (using the `hash.update()` method). - * If `encoding` is provided a string will be returned; otherwise - * a `Buffer` is returned. - * - * The `Hash` object can not be used again after `hash.digest()` method has been - * called. Multiple calls will cause an error to be thrown. - * @since v0.1.92 - * @param encoding The `encoding` of the return value. - */ - digest(): Buffer; - digest(encoding: BinaryToTextEncoding): string; - } - /** - * The `Hmac` class is a utility for creating cryptographic HMAC digests. It can - * be used in one of two ways: - * - * * As a `stream` that is both readable and writable, where data is written - * to produce a computed HMAC digest on the readable side, or - * * Using the `hmac.update()` and `hmac.digest()` methods to produce the - * computed HMAC digest. - * - * The {@link createHmac} method is used to create `Hmac` instances. `Hmac`objects are not to be created directly using the `new` keyword. - * - * Example: Using `Hmac` objects as streams: - * - * ```js - * const { - * createHmac, - * } = await import('node:crypto'); - * - * const hmac = createHmac('sha256', 'a secret'); - * - * hmac.on('readable', () => { - * // Only one element is going to be produced by the - * // hash stream. - * const data = hmac.read(); - * if (data) { - * console.log(data.toString('hex')); - * // Prints: - * // 7fd04df92f636fd450bc841c9418e5825c17f33ad9c87c518115a45971f7f77e - * } - * }); - * - * hmac.write('some data to hash'); - * hmac.end(); - * ``` - * - * Example: Using `Hmac` and piped streams: - * - * ```js - * import { createReadStream } from 'node:fs'; - * import { stdout } from 'node:process'; - * const { - * createHmac, - * } = await import('node:crypto'); - * - * const hmac = createHmac('sha256', 'a secret'); - * - * const input = createReadStream('test.js'); - * input.pipe(hmac).pipe(stdout); - * ``` - * - * Example: Using the `hmac.update()` and `hmac.digest()` methods: - * - * ```js - * const { - * createHmac, - * } = await import('node:crypto'); - * - * const hmac = createHmac('sha256', 'a secret'); - * - * hmac.update('some data to hash'); - * console.log(hmac.digest('hex')); - * // Prints: - * // 7fd04df92f636fd450bc841c9418e5825c17f33ad9c87c518115a45971f7f77e - * ``` - * @since v0.1.94 - */ - class Hmac extends stream.Transform { - private constructor(); - /** - * Updates the `Hmac` content with the given `data`, the encoding of which - * is given in `inputEncoding`. - * If `encoding` is not provided, and the `data` is a string, an - * encoding of `'utf8'` is enforced. If `data` is a `Buffer`, `TypedArray`, or`DataView`, then `inputEncoding` is ignored. - * - * This can be called many times with new data as it is streamed. - * @since v0.1.94 - * @param inputEncoding The `encoding` of the `data` string. - */ - update(data: BinaryLike): Hmac; - update(data: string, inputEncoding: Encoding): Hmac; - /** - * Calculates the HMAC digest of all of the data passed using `hmac.update()`. - * If `encoding` is - * provided a string is returned; otherwise a `Buffer` is returned; - * - * The `Hmac` object can not be used again after `hmac.digest()` has been - * called. Multiple calls to `hmac.digest()` will result in an error being thrown. - * @since v0.1.94 - * @param encoding The `encoding` of the return value. - */ - digest(): Buffer; - digest(encoding: BinaryToTextEncoding): string; - } - type KeyObjectType = "secret" | "public" | "private"; - interface KeyExportOptions { - type: "pkcs1" | "spki" | "pkcs8" | "sec1"; - format: T; - cipher?: string | undefined; - passphrase?: string | Buffer | undefined; - } - interface JwkKeyExportOptions { - format: "jwk"; - } - interface JsonWebKey { - crv?: string | undefined; - d?: string | undefined; - dp?: string | undefined; - dq?: string | undefined; - e?: string | undefined; - k?: string | undefined; - kty?: string | undefined; - n?: string | undefined; - p?: string | undefined; - q?: string | undefined; - qi?: string | undefined; - x?: string | undefined; - y?: string | undefined; - [key: string]: unknown; - } - interface AsymmetricKeyDetails { - /** - * Key size in bits (RSA, DSA). - */ - modulusLength?: number | undefined; - /** - * Public exponent (RSA). - */ - publicExponent?: bigint | undefined; - /** - * Name of the message digest (RSA-PSS). - */ - hashAlgorithm?: string | undefined; - /** - * Name of the message digest used by MGF1 (RSA-PSS). - */ - mgf1HashAlgorithm?: string | undefined; - /** - * Minimal salt length in bytes (RSA-PSS). - */ - saltLength?: number | undefined; - /** - * Size of q in bits (DSA). - */ - divisorLength?: number | undefined; - /** - * Name of the curve (EC). - */ - namedCurve?: string | undefined; - } - /** - * Node.js uses a `KeyObject` class to represent a symmetric or asymmetric key, - * and each kind of key exposes different functions. The {@link createSecretKey}, {@link createPublicKey} and {@link createPrivateKey} methods are used to create `KeyObject`instances. `KeyObject` - * objects are not to be created directly using the `new`keyword. - * - * Most applications should consider using the new `KeyObject` API instead of - * passing keys as strings or `Buffer`s due to improved security features. - * - * `KeyObject` instances can be passed to other threads via `postMessage()`. - * The receiver obtains a cloned `KeyObject`, and the `KeyObject` does not need to - * be listed in the `transferList` argument. - * @since v11.6.0 - */ - class KeyObject { - private constructor(); - /** - * Example: Converting a `CryptoKey` instance to a `KeyObject`: - * - * ```js - * const { KeyObject } = await import('node:crypto'); - * const { subtle } = globalThis.crypto; - * - * const key = await subtle.generateKey({ - * name: 'HMAC', - * hash: 'SHA-256', - * length: 256, - * }, true, ['sign', 'verify']); - * - * const keyObject = KeyObject.from(key); - * console.log(keyObject.symmetricKeySize); - * // Prints: 32 (symmetric key size in bytes) - * ``` - * @since v15.0.0 - */ - static from(key: webcrypto.CryptoKey): KeyObject; - /** - * For asymmetric keys, this property represents the type of the key. Supported key - * types are: - * - * * `'rsa'` (OID 1.2.840.113549.1.1.1) - * * `'rsa-pss'` (OID 1.2.840.113549.1.1.10) - * * `'dsa'` (OID 1.2.840.10040.4.1) - * * `'ec'` (OID 1.2.840.10045.2.1) - * * `'x25519'` (OID 1.3.101.110) - * * `'x448'` (OID 1.3.101.111) - * * `'ed25519'` (OID 1.3.101.112) - * * `'ed448'` (OID 1.3.101.113) - * * `'dh'` (OID 1.2.840.113549.1.3.1) - * - * This property is `undefined` for unrecognized `KeyObject` types and symmetric - * keys. - * @since v11.6.0 - */ - asymmetricKeyType?: KeyType | undefined; - /** - * For asymmetric keys, this property represents the size of the embedded key in - * bytes. This property is `undefined` for symmetric keys. - */ - asymmetricKeySize?: number | undefined; - /** - * This property exists only on asymmetric keys. Depending on the type of the key, - * this object contains information about the key. None of the information obtained - * through this property can be used to uniquely identify a key or to compromise - * the security of the key. - * - * For RSA-PSS keys, if the key material contains a `RSASSA-PSS-params` sequence, - * the `hashAlgorithm`, `mgf1HashAlgorithm`, and `saltLength` properties will be - * set. - * - * Other key details might be exposed via this API using additional attributes. - * @since v15.7.0 - */ - asymmetricKeyDetails?: AsymmetricKeyDetails | undefined; - /** - * For symmetric keys, the following encoding options can be used: - * - * For public keys, the following encoding options can be used: - * - * For private keys, the following encoding options can be used: - * - * The result type depends on the selected encoding format, when PEM the - * result is a string, when DER it will be a buffer containing the data - * encoded as DER, when [JWK](https://tools.ietf.org/html/rfc7517) it will be an object. - * - * When [JWK](https://tools.ietf.org/html/rfc7517) encoding format was selected, all other encoding options are - * ignored. - * - * PKCS#1, SEC1, and PKCS#8 type keys can be encrypted by using a combination of - * the `cipher` and `format` options. The PKCS#8 `type` can be used with any`format` to encrypt any key algorithm (RSA, EC, or DH) by specifying a`cipher`. PKCS#1 and SEC1 can only be - * encrypted by specifying a `cipher`when the PEM `format` is used. For maximum compatibility, use PKCS#8 for - * encrypted private keys. Since PKCS#8 defines its own - * encryption mechanism, PEM-level encryption is not supported when encrypting - * a PKCS#8 key. See [RFC 5208](https://www.rfc-editor.org/rfc/rfc5208.txt) for PKCS#8 encryption and [RFC 1421](https://www.rfc-editor.org/rfc/rfc1421.txt) for - * PKCS#1 and SEC1 encryption. - * @since v11.6.0 - */ - export(options: KeyExportOptions<"pem">): string | Buffer; - export(options?: KeyExportOptions<"der">): Buffer; - export(options?: JwkKeyExportOptions): JsonWebKey; - /** - * Returns `true` or `false` depending on whether the keys have exactly the same - * type, value, and parameters. This method is not [constant time](https://en.wikipedia.org/wiki/Timing_attack). - * @since v17.7.0, v16.15.0 - * @param otherKeyObject A `KeyObject` with which to compare `keyObject`. - */ - equals(otherKeyObject: KeyObject): boolean; - /** - * For secret keys, this property represents the size of the key in bytes. This - * property is `undefined` for asymmetric keys. - * @since v11.6.0 - */ - symmetricKeySize?: number | undefined; - /** - * Depending on the type of this `KeyObject`, this property is either`'secret'` for secret (symmetric) keys, `'public'` for public (asymmetric) keys - * or `'private'` for private (asymmetric) keys. - * @since v11.6.0 - */ - type: KeyObjectType; - } - type CipherCCMTypes = "aes-128-ccm" | "aes-192-ccm" | "aes-256-ccm" | "chacha20-poly1305"; - type CipherGCMTypes = "aes-128-gcm" | "aes-192-gcm" | "aes-256-gcm"; - type CipherOCBTypes = "aes-128-ocb" | "aes-192-ocb" | "aes-256-ocb"; - type BinaryLike = string | NodeJS.ArrayBufferView; - type CipherKey = BinaryLike | KeyObject; - interface CipherCCMOptions extends stream.TransformOptions { - authTagLength: number; - } - interface CipherGCMOptions extends stream.TransformOptions { - authTagLength?: number | undefined; - } - interface CipherOCBOptions extends stream.TransformOptions { - authTagLength: number; - } - /** - * Creates and returns a `Cipher` object that uses the given `algorithm` and`password`. - * - * The `options` argument controls stream behavior and is optional except when a - * cipher in CCM or OCB mode (e.g. `'aes-128-ccm'`) is used. In that case, the`authTagLength` option is required and specifies the length of the - * authentication tag in bytes, see `CCM mode`. In GCM mode, the `authTagLength`option is not required but can be used to set the length of the authentication - * tag that will be returned by `getAuthTag()` and defaults to 16 bytes. - * For `chacha20-poly1305`, the `authTagLength` option defaults to 16 bytes. - * - * The `algorithm` is dependent on OpenSSL, examples are `'aes192'`, etc. On - * recent OpenSSL releases, `openssl list -cipher-algorithms` will - * display the available cipher algorithms. - * - * The `password` is used to derive the cipher key and initialization vector (IV). - * The value must be either a `'latin1'` encoded string, a `Buffer`, a`TypedArray`, or a `DataView`. - * - * **This function is semantically insecure for all** - * **supported ciphers and fatally flawed for ciphers in counter mode (such as CTR,** - * **GCM, or CCM).** - * - * The implementation of `crypto.createCipher()` derives keys using the OpenSSL - * function [`EVP_BytesToKey`](https://www.openssl.org/docs/man3.0/man3/EVP_BytesToKey.html) with the digest algorithm set to MD5, one - * iteration, and no salt. The lack of salt allows dictionary attacks as the same - * password always creates the same key. The low iteration count and - * non-cryptographically secure hash algorithm allow passwords to be tested very - * rapidly. - * - * In line with OpenSSL's recommendation to use a more modern algorithm instead of [`EVP_BytesToKey`](https://www.openssl.org/docs/man3.0/man3/EVP_BytesToKey.html) it is recommended that - * developers derive a key and IV on - * their own using {@link scrypt} and to use {@link createCipheriv} to create the `Cipher` object. Users should not use ciphers with counter mode - * (e.g. CTR, GCM, or CCM) in `crypto.createCipher()`. A warning is emitted when - * they are used in order to avoid the risk of IV reuse that causes - * vulnerabilities. For the case when IV is reused in GCM, see [Nonce-Disrespecting Adversaries](https://github.com/nonce-disrespect/nonce-disrespect) for details. - * @since v0.1.94 - * @deprecated Since v10.0.0 - Use {@link createCipheriv} instead. - * @param options `stream.transform` options - */ - function createCipher(algorithm: CipherCCMTypes, password: BinaryLike, options: CipherCCMOptions): CipherCCM; - /** @deprecated since v10.0.0 use `createCipheriv()` */ - function createCipher(algorithm: CipherGCMTypes, password: BinaryLike, options?: CipherGCMOptions): CipherGCM; - /** @deprecated since v10.0.0 use `createCipheriv()` */ - function createCipher(algorithm: string, password: BinaryLike, options?: stream.TransformOptions): Cipher; - /** - * Creates and returns a `Cipher` object, with the given `algorithm`, `key` and - * initialization vector (`iv`). - * - * The `options` argument controls stream behavior and is optional except when a - * cipher in CCM or OCB mode (e.g. `'aes-128-ccm'`) is used. In that case, the`authTagLength` option is required and specifies the length of the - * authentication tag in bytes, see `CCM mode`. In GCM mode, the `authTagLength`option is not required but can be used to set the length of the authentication - * tag that will be returned by `getAuthTag()` and defaults to 16 bytes. - * For `chacha20-poly1305`, the `authTagLength` option defaults to 16 bytes. - * - * The `algorithm` is dependent on OpenSSL, examples are `'aes192'`, etc. On - * recent OpenSSL releases, `openssl list -cipher-algorithms` will - * display the available cipher algorithms. - * - * The `key` is the raw key used by the `algorithm` and `iv` is an [initialization vector](https://en.wikipedia.org/wiki/Initialization_vector). Both arguments must be `'utf8'` encoded - * strings,`Buffers`, `TypedArray`, or `DataView`s. The `key` may optionally be - * a `KeyObject` of type `secret`. If the cipher does not need - * an initialization vector, `iv` may be `null`. - * - * When passing strings for `key` or `iv`, please consider `caveats when using strings as inputs to cryptographic APIs`. - * - * Initialization vectors should be unpredictable and unique; ideally, they will be - * cryptographically random. They do not have to be secret: IVs are typically just - * added to ciphertext messages unencrypted. It may sound contradictory that - * something has to be unpredictable and unique, but does not have to be secret; - * remember that an attacker must not be able to predict ahead of time what a - * given IV will be. - * @since v0.1.94 - * @param options `stream.transform` options - */ - function createCipheriv( - algorithm: CipherCCMTypes, - key: CipherKey, - iv: BinaryLike, - options: CipherCCMOptions, - ): CipherCCM; - function createCipheriv( - algorithm: CipherOCBTypes, - key: CipherKey, - iv: BinaryLike, - options: CipherOCBOptions, - ): CipherOCB; - function createCipheriv( - algorithm: CipherGCMTypes, - key: CipherKey, - iv: BinaryLike, - options?: CipherGCMOptions, - ): CipherGCM; - function createCipheriv( - algorithm: string, - key: CipherKey, - iv: BinaryLike | null, - options?: stream.TransformOptions, - ): Cipher; - /** - * Instances of the `Cipher` class are used to encrypt data. The class can be - * used in one of two ways: - * - * * As a `stream` that is both readable and writable, where plain unencrypted - * data is written to produce encrypted data on the readable side, or - * * Using the `cipher.update()` and `cipher.final()` methods to produce - * the encrypted data. - * - * The {@link createCipher} or {@link createCipheriv} methods are - * used to create `Cipher` instances. `Cipher` objects are not to be created - * directly using the `new` keyword. - * - * Example: Using `Cipher` objects as streams: - * - * ```js - * const { - * scrypt, - * randomFill, - * createCipheriv, - * } = await import('node:crypto'); - * - * const algorithm = 'aes-192-cbc'; - * const password = 'Password used to generate key'; - * - * // First, we'll generate the key. The key length is dependent on the algorithm. - * // In this case for aes192, it is 24 bytes (192 bits). - * scrypt(password, 'salt', 24, (err, key) => { - * if (err) throw err; - * // Then, we'll generate a random initialization vector - * randomFill(new Uint8Array(16), (err, iv) => { - * if (err) throw err; - * - * // Once we have the key and iv, we can create and use the cipher... - * const cipher = createCipheriv(algorithm, key, iv); - * - * let encrypted = ''; - * cipher.setEncoding('hex'); - * - * cipher.on('data', (chunk) => encrypted += chunk); - * cipher.on('end', () => console.log(encrypted)); - * - * cipher.write('some clear text data'); - * cipher.end(); - * }); - * }); - * ``` - * - * Example: Using `Cipher` and piped streams: - * - * ```js - * import { - * createReadStream, - * createWriteStream, - * } from 'node:fs'; - * - * import { - * pipeline, - * } from 'node:stream'; - * - * const { - * scrypt, - * randomFill, - * createCipheriv, - * } = await import('node:crypto'); - * - * const algorithm = 'aes-192-cbc'; - * const password = 'Password used to generate key'; - * - * // First, we'll generate the key. The key length is dependent on the algorithm. - * // In this case for aes192, it is 24 bytes (192 bits). - * scrypt(password, 'salt', 24, (err, key) => { - * if (err) throw err; - * // Then, we'll generate a random initialization vector - * randomFill(new Uint8Array(16), (err, iv) => { - * if (err) throw err; - * - * const cipher = createCipheriv(algorithm, key, iv); - * - * const input = createReadStream('test.js'); - * const output = createWriteStream('test.enc'); - * - * pipeline(input, cipher, output, (err) => { - * if (err) throw err; - * }); - * }); - * }); - * ``` - * - * Example: Using the `cipher.update()` and `cipher.final()` methods: - * - * ```js - * const { - * scrypt, - * randomFill, - * createCipheriv, - * } = await import('node:crypto'); - * - * const algorithm = 'aes-192-cbc'; - * const password = 'Password used to generate key'; - * - * // First, we'll generate the key. The key length is dependent on the algorithm. - * // In this case for aes192, it is 24 bytes (192 bits). - * scrypt(password, 'salt', 24, (err, key) => { - * if (err) throw err; - * // Then, we'll generate a random initialization vector - * randomFill(new Uint8Array(16), (err, iv) => { - * if (err) throw err; - * - * const cipher = createCipheriv(algorithm, key, iv); - * - * let encrypted = cipher.update('some clear text data', 'utf8', 'hex'); - * encrypted += cipher.final('hex'); - * console.log(encrypted); - * }); - * }); - * ``` - * @since v0.1.94 - */ - class Cipher extends stream.Transform { - private constructor(); - /** - * Updates the cipher with `data`. If the `inputEncoding` argument is given, - * the `data`argument is a string using the specified encoding. If the `inputEncoding`argument is not given, `data` must be a `Buffer`, `TypedArray`, or`DataView`. If `data` is a `Buffer`, - * `TypedArray`, or `DataView`, then`inputEncoding` is ignored. - * - * The `outputEncoding` specifies the output format of the enciphered - * data. If the `outputEncoding`is specified, a string using the specified encoding is returned. If no`outputEncoding` is provided, a `Buffer` is returned. - * - * The `cipher.update()` method can be called multiple times with new data until `cipher.final()` is called. Calling `cipher.update()` after `cipher.final()` will result in an error being - * thrown. - * @since v0.1.94 - * @param inputEncoding The `encoding` of the data. - * @param outputEncoding The `encoding` of the return value. - */ - update(data: BinaryLike): Buffer; - update(data: string, inputEncoding: Encoding): Buffer; - update(data: NodeJS.ArrayBufferView, inputEncoding: undefined, outputEncoding: Encoding): string; - update(data: string, inputEncoding: Encoding | undefined, outputEncoding: Encoding): string; - /** - * Once the `cipher.final()` method has been called, the `Cipher` object can no - * longer be used to encrypt data. Attempts to call `cipher.final()` more than - * once will result in an error being thrown. - * @since v0.1.94 - * @param outputEncoding The `encoding` of the return value. - * @return Any remaining enciphered contents. If `outputEncoding` is specified, a string is returned. If an `outputEncoding` is not provided, a {@link Buffer} is returned. - */ - final(): Buffer; - final(outputEncoding: BufferEncoding): string; - /** - * When using block encryption algorithms, the `Cipher` class will automatically - * add padding to the input data to the appropriate block size. To disable the - * default padding call `cipher.setAutoPadding(false)`. - * - * When `autoPadding` is `false`, the length of the entire input data must be a - * multiple of the cipher's block size or `cipher.final()` will throw an error. - * Disabling automatic padding is useful for non-standard padding, for instance - * using `0x0` instead of PKCS padding. - * - * The `cipher.setAutoPadding()` method must be called before `cipher.final()`. - * @since v0.7.1 - * @param [autoPadding=true] - * @return for method chaining. - */ - setAutoPadding(autoPadding?: boolean): this; - } - interface CipherCCM extends Cipher { - setAAD( - buffer: NodeJS.ArrayBufferView, - options: { - plaintextLength: number; - }, - ): this; - getAuthTag(): Buffer; - } - interface CipherGCM extends Cipher { - setAAD( - buffer: NodeJS.ArrayBufferView, - options?: { - plaintextLength: number; - }, - ): this; - getAuthTag(): Buffer; - } - interface CipherOCB extends Cipher { - setAAD( - buffer: NodeJS.ArrayBufferView, - options?: { - plaintextLength: number; - }, - ): this; - getAuthTag(): Buffer; - } - /** - * Creates and returns a `Decipher` object that uses the given `algorithm` and`password` (key). - * - * The `options` argument controls stream behavior and is optional except when a - * cipher in CCM or OCB mode (e.g. `'aes-128-ccm'`) is used. In that case, the`authTagLength` option is required and specifies the length of the - * authentication tag in bytes, see `CCM mode`. - * For `chacha20-poly1305`, the `authTagLength` option defaults to 16 bytes. - * - * **This function is semantically insecure for all** - * **supported ciphers and fatally flawed for ciphers in counter mode (such as CTR,** - * **GCM, or CCM).** - * - * The implementation of `crypto.createDecipher()` derives keys using the OpenSSL - * function [`EVP_BytesToKey`](https://www.openssl.org/docs/man3.0/man3/EVP_BytesToKey.html) with the digest algorithm set to MD5, one - * iteration, and no salt. The lack of salt allows dictionary attacks as the same - * password always creates the same key. The low iteration count and - * non-cryptographically secure hash algorithm allow passwords to be tested very - * rapidly. - * - * In line with OpenSSL's recommendation to use a more modern algorithm instead of [`EVP_BytesToKey`](https://www.openssl.org/docs/man3.0/man3/EVP_BytesToKey.html) it is recommended that - * developers derive a key and IV on - * their own using {@link scrypt} and to use {@link createDecipheriv} to create the `Decipher` object. - * @since v0.1.94 - * @deprecated Since v10.0.0 - Use {@link createDecipheriv} instead. - * @param options `stream.transform` options - */ - function createDecipher(algorithm: CipherCCMTypes, password: BinaryLike, options: CipherCCMOptions): DecipherCCM; - /** @deprecated since v10.0.0 use `createDecipheriv()` */ - function createDecipher(algorithm: CipherGCMTypes, password: BinaryLike, options?: CipherGCMOptions): DecipherGCM; - /** @deprecated since v10.0.0 use `createDecipheriv()` */ - function createDecipher(algorithm: string, password: BinaryLike, options?: stream.TransformOptions): Decipher; - /** - * Creates and returns a `Decipher` object that uses the given `algorithm`, `key`and initialization vector (`iv`). - * - * The `options` argument controls stream behavior and is optional except when a - * cipher in CCM or OCB mode (e.g. `'aes-128-ccm'`) is used. In that case, the`authTagLength` option is required and specifies the length of the - * authentication tag in bytes, see `CCM mode`. In GCM mode, the `authTagLength`option is not required but can be used to restrict accepted authentication tags - * to those with the specified length. - * For `chacha20-poly1305`, the `authTagLength` option defaults to 16 bytes. - * - * The `algorithm` is dependent on OpenSSL, examples are `'aes192'`, etc. On - * recent OpenSSL releases, `openssl list -cipher-algorithms` will - * display the available cipher algorithms. - * - * The `key` is the raw key used by the `algorithm` and `iv` is an [initialization vector](https://en.wikipedia.org/wiki/Initialization_vector). Both arguments must be `'utf8'` encoded - * strings,`Buffers`, `TypedArray`, or `DataView`s. The `key` may optionally be - * a `KeyObject` of type `secret`. If the cipher does not need - * an initialization vector, `iv` may be `null`. - * - * When passing strings for `key` or `iv`, please consider `caveats when using strings as inputs to cryptographic APIs`. - * - * Initialization vectors should be unpredictable and unique; ideally, they will be - * cryptographically random. They do not have to be secret: IVs are typically just - * added to ciphertext messages unencrypted. It may sound contradictory that - * something has to be unpredictable and unique, but does not have to be secret; - * remember that an attacker must not be able to predict ahead of time what a given - * IV will be. - * @since v0.1.94 - * @param options `stream.transform` options - */ - function createDecipheriv( - algorithm: CipherCCMTypes, - key: CipherKey, - iv: BinaryLike, - options: CipherCCMOptions, - ): DecipherCCM; - function createDecipheriv( - algorithm: CipherOCBTypes, - key: CipherKey, - iv: BinaryLike, - options: CipherOCBOptions, - ): DecipherOCB; - function createDecipheriv( - algorithm: CipherGCMTypes, - key: CipherKey, - iv: BinaryLike, - options?: CipherGCMOptions, - ): DecipherGCM; - function createDecipheriv( - algorithm: string, - key: CipherKey, - iv: BinaryLike | null, - options?: stream.TransformOptions, - ): Decipher; - /** - * Instances of the `Decipher` class are used to decrypt data. The class can be - * used in one of two ways: - * - * * As a `stream` that is both readable and writable, where plain encrypted - * data is written to produce unencrypted data on the readable side, or - * * Using the `decipher.update()` and `decipher.final()` methods to - * produce the unencrypted data. - * - * The {@link createDecipher} or {@link createDecipheriv} methods are - * used to create `Decipher` instances. `Decipher` objects are not to be created - * directly using the `new` keyword. - * - * Example: Using `Decipher` objects as streams: - * - * ```js - * import { Buffer } from 'node:buffer'; - * const { - * scryptSync, - * createDecipheriv, - * } = await import('node:crypto'); - * - * const algorithm = 'aes-192-cbc'; - * const password = 'Password used to generate key'; - * // Key length is dependent on the algorithm. In this case for aes192, it is - * // 24 bytes (192 bits). - * // Use the async `crypto.scrypt()` instead. - * const key = scryptSync(password, 'salt', 24); - * // The IV is usually passed along with the ciphertext. - * const iv = Buffer.alloc(16, 0); // Initialization vector. - * - * const decipher = createDecipheriv(algorithm, key, iv); - * - * let decrypted = ''; - * decipher.on('readable', () => { - * let chunk; - * while (null !== (chunk = decipher.read())) { - * decrypted += chunk.toString('utf8'); - * } - * }); - * decipher.on('end', () => { - * console.log(decrypted); - * // Prints: some clear text data - * }); - * - * // Encrypted with same algorithm, key and iv. - * const encrypted = - * 'e5f79c5915c02171eec6b212d5520d44480993d7d622a7c4c2da32f6efda0ffa'; - * decipher.write(encrypted, 'hex'); - * decipher.end(); - * ``` - * - * Example: Using `Decipher` and piped streams: - * - * ```js - * import { - * createReadStream, - * createWriteStream, - * } from 'node:fs'; - * import { Buffer } from 'node:buffer'; - * const { - * scryptSync, - * createDecipheriv, - * } = await import('node:crypto'); - * - * const algorithm = 'aes-192-cbc'; - * const password = 'Password used to generate key'; - * // Use the async `crypto.scrypt()` instead. - * const key = scryptSync(password, 'salt', 24); - * // The IV is usually passed along with the ciphertext. - * const iv = Buffer.alloc(16, 0); // Initialization vector. - * - * const decipher = createDecipheriv(algorithm, key, iv); - * - * const input = createReadStream('test.enc'); - * const output = createWriteStream('test.js'); - * - * input.pipe(decipher).pipe(output); - * ``` - * - * Example: Using the `decipher.update()` and `decipher.final()` methods: - * - * ```js - * import { Buffer } from 'node:buffer'; - * const { - * scryptSync, - * createDecipheriv, - * } = await import('node:crypto'); - * - * const algorithm = 'aes-192-cbc'; - * const password = 'Password used to generate key'; - * // Use the async `crypto.scrypt()` instead. - * const key = scryptSync(password, 'salt', 24); - * // The IV is usually passed along with the ciphertext. - * const iv = Buffer.alloc(16, 0); // Initialization vector. - * - * const decipher = createDecipheriv(algorithm, key, iv); - * - * // Encrypted using same algorithm, key and iv. - * const encrypted = - * 'e5f79c5915c02171eec6b212d5520d44480993d7d622a7c4c2da32f6efda0ffa'; - * let decrypted = decipher.update(encrypted, 'hex', 'utf8'); - * decrypted += decipher.final('utf8'); - * console.log(decrypted); - * // Prints: some clear text data - * ``` - * @since v0.1.94 - */ - class Decipher extends stream.Transform { - private constructor(); - /** - * Updates the decipher with `data`. If the `inputEncoding` argument is given, - * the `data`argument is a string using the specified encoding. If the `inputEncoding`argument is not given, `data` must be a `Buffer`. If `data` is a `Buffer` then `inputEncoding` is - * ignored. - * - * The `outputEncoding` specifies the output format of the enciphered - * data. If the `outputEncoding`is specified, a string using the specified encoding is returned. If no`outputEncoding` is provided, a `Buffer` is returned. - * - * The `decipher.update()` method can be called multiple times with new data until `decipher.final()` is called. Calling `decipher.update()` after `decipher.final()` will result in an error - * being thrown. - * @since v0.1.94 - * @param inputEncoding The `encoding` of the `data` string. - * @param outputEncoding The `encoding` of the return value. - */ - update(data: NodeJS.ArrayBufferView): Buffer; - update(data: string, inputEncoding: Encoding): Buffer; - update(data: NodeJS.ArrayBufferView, inputEncoding: undefined, outputEncoding: Encoding): string; - update(data: string, inputEncoding: Encoding | undefined, outputEncoding: Encoding): string; - /** - * Once the `decipher.final()` method has been called, the `Decipher` object can - * no longer be used to decrypt data. Attempts to call `decipher.final()` more - * than once will result in an error being thrown. - * @since v0.1.94 - * @param outputEncoding The `encoding` of the return value. - * @return Any remaining deciphered contents. If `outputEncoding` is specified, a string is returned. If an `outputEncoding` is not provided, a {@link Buffer} is returned. - */ - final(): Buffer; - final(outputEncoding: BufferEncoding): string; - /** - * When data has been encrypted without standard block padding, calling`decipher.setAutoPadding(false)` will disable automatic padding to prevent `decipher.final()` from checking for and - * removing padding. - * - * Turning auto padding off will only work if the input data's length is a - * multiple of the ciphers block size. - * - * The `decipher.setAutoPadding()` method must be called before `decipher.final()`. - * @since v0.7.1 - * @param [autoPadding=true] - * @return for method chaining. - */ - setAutoPadding(auto_padding?: boolean): this; - } - interface DecipherCCM extends Decipher { - setAuthTag(buffer: NodeJS.ArrayBufferView): this; - setAAD( - buffer: NodeJS.ArrayBufferView, - options: { - plaintextLength: number; - }, - ): this; - } - interface DecipherGCM extends Decipher { - setAuthTag(buffer: NodeJS.ArrayBufferView): this; - setAAD( - buffer: NodeJS.ArrayBufferView, - options?: { - plaintextLength: number; - }, - ): this; - } - interface DecipherOCB extends Decipher { - setAuthTag(buffer: NodeJS.ArrayBufferView): this; - setAAD( - buffer: NodeJS.ArrayBufferView, - options?: { - plaintextLength: number; - }, - ): this; - } - interface PrivateKeyInput { - key: string | Buffer; - format?: KeyFormat | undefined; - type?: "pkcs1" | "pkcs8" | "sec1" | undefined; - passphrase?: string | Buffer | undefined; - encoding?: string | undefined; - } - interface PublicKeyInput { - key: string | Buffer; - format?: KeyFormat | undefined; - type?: "pkcs1" | "spki" | undefined; - encoding?: string | undefined; - } - /** - * Asynchronously generates a new random secret key of the given `length`. The`type` will determine which validations will be performed on the `length`. - * - * ```js - * const { - * generateKey, - * } = await import('node:crypto'); - * - * generateKey('hmac', { length: 512 }, (err, key) => { - * if (err) throw err; - * console.log(key.export().toString('hex')); // 46e..........620 - * }); - * ``` - * - * The size of a generated HMAC key should not exceed the block size of the - * underlying hash function. See {@link createHmac} for more information. - * @since v15.0.0 - * @param type The intended use of the generated secret key. Currently accepted values are `'hmac'` and `'aes'`. - */ - function generateKey( - type: "hmac" | "aes", - options: { - length: number; - }, - callback: (err: Error | null, key: KeyObject) => void, - ): void; - /** - * Synchronously generates a new random secret key of the given `length`. The`type` will determine which validations will be performed on the `length`. - * - * ```js - * const { - * generateKeySync, - * } = await import('node:crypto'); - * - * const key = generateKeySync('hmac', { length: 512 }); - * console.log(key.export().toString('hex')); // e89..........41e - * ``` - * - * The size of a generated HMAC key should not exceed the block size of the - * underlying hash function. See {@link createHmac} for more information. - * @since v15.0.0 - * @param type The intended use of the generated secret key. Currently accepted values are `'hmac'` and `'aes'`. - */ - function generateKeySync( - type: "hmac" | "aes", - options: { - length: number; - }, - ): KeyObject; - interface JsonWebKeyInput { - key: JsonWebKey; - format: "jwk"; - } - /** - * Creates and returns a new key object containing a private key. If `key` is a - * string or `Buffer`, `format` is assumed to be `'pem'`; otherwise, `key`must be an object with the properties described above. - * - * If the private key is encrypted, a `passphrase` must be specified. The length - * of the passphrase is limited to 1024 bytes. - * @since v11.6.0 - */ - function createPrivateKey(key: PrivateKeyInput | string | Buffer | JsonWebKeyInput): KeyObject; - /** - * Creates and returns a new key object containing a public key. If `key` is a - * string or `Buffer`, `format` is assumed to be `'pem'`; if `key` is a `KeyObject`with type `'private'`, the public key is derived from the given private key; - * otherwise, `key` must be an object with the properties described above. - * - * If the format is `'pem'`, the `'key'` may also be an X.509 certificate. - * - * Because public keys can be derived from private keys, a private key may be - * passed instead of a public key. In that case, this function behaves as if {@link createPrivateKey} had been called, except that the type of the - * returned `KeyObject` will be `'public'` and that the private key cannot be - * extracted from the returned `KeyObject`. Similarly, if a `KeyObject` with type`'private'` is given, a new `KeyObject` with type `'public'` will be returned - * and it will be impossible to extract the private key from the returned object. - * @since v11.6.0 - */ - function createPublicKey(key: PublicKeyInput | string | Buffer | KeyObject | JsonWebKeyInput): KeyObject; - /** - * Creates and returns a new key object containing a secret key for symmetric - * encryption or `Hmac`. - * @since v11.6.0 - * @param encoding The string encoding when `key` is a string. - */ - function createSecretKey(key: NodeJS.ArrayBufferView): KeyObject; - function createSecretKey(key: string, encoding: BufferEncoding): KeyObject; - /** - * Creates and returns a `Sign` object that uses the given `algorithm`. Use {@link getHashes} to obtain the names of the available digest algorithms. - * Optional `options` argument controls the `stream.Writable` behavior. - * - * In some cases, a `Sign` instance can be created using the name of a signature - * algorithm, such as `'RSA-SHA256'`, instead of a digest algorithm. This will use - * the corresponding digest algorithm. This does not work for all signature - * algorithms, such as `'ecdsa-with-SHA256'`, so it is best to always use digest - * algorithm names. - * @since v0.1.92 - * @param options `stream.Writable` options - */ - function createSign(algorithm: string, options?: stream.WritableOptions): Sign; - type DSAEncoding = "der" | "ieee-p1363"; - interface SigningOptions { - /** - * @see crypto.constants.RSA_PKCS1_PADDING - */ - padding?: number | undefined; - saltLength?: number | undefined; - dsaEncoding?: DSAEncoding | undefined; - } - interface SignPrivateKeyInput extends PrivateKeyInput, SigningOptions {} - interface SignKeyObjectInput extends SigningOptions { - key: KeyObject; - } - interface VerifyPublicKeyInput extends PublicKeyInput, SigningOptions {} - interface VerifyKeyObjectInput extends SigningOptions { - key: KeyObject; - } - interface VerifyJsonWebKeyInput extends JsonWebKeyInput, SigningOptions {} - type KeyLike = string | Buffer | KeyObject; - /** - * The `Sign` class is a utility for generating signatures. It can be used in one - * of two ways: - * - * * As a writable `stream`, where data to be signed is written and the `sign.sign()` method is used to generate and return the signature, or - * * Using the `sign.update()` and `sign.sign()` methods to produce the - * signature. - * - * The {@link createSign} method is used to create `Sign` instances. The - * argument is the string name of the hash function to use. `Sign` objects are not - * to be created directly using the `new` keyword. - * - * Example: Using `Sign` and `Verify` objects as streams: - * - * ```js - * const { - * generateKeyPairSync, - * createSign, - * createVerify, - * } = await import('node:crypto'); - * - * const { privateKey, publicKey } = generateKeyPairSync('ec', { - * namedCurve: 'sect239k1', - * }); - * - * const sign = createSign('SHA256'); - * sign.write('some data to sign'); - * sign.end(); - * const signature = sign.sign(privateKey, 'hex'); - * - * const verify = createVerify('SHA256'); - * verify.write('some data to sign'); - * verify.end(); - * console.log(verify.verify(publicKey, signature, 'hex')); - * // Prints: true - * ``` - * - * Example: Using the `sign.update()` and `verify.update()` methods: - * - * ```js - * const { - * generateKeyPairSync, - * createSign, - * createVerify, - * } = await import('node:crypto'); - * - * const { privateKey, publicKey } = generateKeyPairSync('rsa', { - * modulusLength: 2048, - * }); - * - * const sign = createSign('SHA256'); - * sign.update('some data to sign'); - * sign.end(); - * const signature = sign.sign(privateKey); - * - * const verify = createVerify('SHA256'); - * verify.update('some data to sign'); - * verify.end(); - * console.log(verify.verify(publicKey, signature)); - * // Prints: true - * ``` - * @since v0.1.92 - */ - class Sign extends stream.Writable { - private constructor(); - /** - * Updates the `Sign` content with the given `data`, the encoding of which - * is given in `inputEncoding`. - * If `encoding` is not provided, and the `data` is a string, an - * encoding of `'utf8'` is enforced. If `data` is a `Buffer`, `TypedArray`, or`DataView`, then `inputEncoding` is ignored. - * - * This can be called many times with new data as it is streamed. - * @since v0.1.92 - * @param inputEncoding The `encoding` of the `data` string. - */ - update(data: BinaryLike): this; - update(data: string, inputEncoding: Encoding): this; - /** - * Calculates the signature on all the data passed through using either `sign.update()` or `sign.write()`. - * - * If `privateKey` is not a `KeyObject`, this function behaves as if`privateKey` had been passed to {@link createPrivateKey}. If it is an - * object, the following additional properties can be passed: - * - * If `outputEncoding` is provided a string is returned; otherwise a `Buffer` is returned. - * - * The `Sign` object can not be again used after `sign.sign()` method has been - * called. Multiple calls to `sign.sign()` will result in an error being thrown. - * @since v0.1.92 - */ - sign(privateKey: KeyLike | SignKeyObjectInput | SignPrivateKeyInput): Buffer; - sign( - privateKey: KeyLike | SignKeyObjectInput | SignPrivateKeyInput, - outputFormat: BinaryToTextEncoding, - ): string; - } - /** - * Creates and returns a `Verify` object that uses the given algorithm. - * Use {@link getHashes} to obtain an array of names of the available - * signing algorithms. Optional `options` argument controls the`stream.Writable` behavior. - * - * In some cases, a `Verify` instance can be created using the name of a signature - * algorithm, such as `'RSA-SHA256'`, instead of a digest algorithm. This will use - * the corresponding digest algorithm. This does not work for all signature - * algorithms, such as `'ecdsa-with-SHA256'`, so it is best to always use digest - * algorithm names. - * @since v0.1.92 - * @param options `stream.Writable` options - */ - function createVerify(algorithm: string, options?: stream.WritableOptions): Verify; - /** - * The `Verify` class is a utility for verifying signatures. It can be used in one - * of two ways: - * - * * As a writable `stream` where written data is used to validate against the - * supplied signature, or - * * Using the `verify.update()` and `verify.verify()` methods to verify - * the signature. - * - * The {@link createVerify} method is used to create `Verify` instances.`Verify` objects are not to be created directly using the `new` keyword. - * - * See `Sign` for examples. - * @since v0.1.92 - */ - class Verify extends stream.Writable { - private constructor(); - /** - * Updates the `Verify` content with the given `data`, the encoding of which - * is given in `inputEncoding`. - * If `inputEncoding` is not provided, and the `data` is a string, an - * encoding of `'utf8'` is enforced. If `data` is a `Buffer`, `TypedArray`, or`DataView`, then `inputEncoding` is ignored. - * - * This can be called many times with new data as it is streamed. - * @since v0.1.92 - * @param inputEncoding The `encoding` of the `data` string. - */ - update(data: BinaryLike): Verify; - update(data: string, inputEncoding: Encoding): Verify; - /** - * Verifies the provided data using the given `object` and `signature`. - * - * If `object` is not a `KeyObject`, this function behaves as if`object` had been passed to {@link createPublicKey}. If it is an - * object, the following additional properties can be passed: - * - * The `signature` argument is the previously calculated signature for the data, in - * the `signatureEncoding`. - * If a `signatureEncoding` is specified, the `signature` is expected to be a - * string; otherwise `signature` is expected to be a `Buffer`,`TypedArray`, or `DataView`. - * - * The `verify` object can not be used again after `verify.verify()` has been - * called. Multiple calls to `verify.verify()` will result in an error being - * thrown. - * - * Because public keys can be derived from private keys, a private key may - * be passed instead of a public key. - * @since v0.1.92 - */ - verify( - object: KeyLike | VerifyKeyObjectInput | VerifyPublicKeyInput | VerifyJsonWebKeyInput, - signature: NodeJS.ArrayBufferView, - ): boolean; - verify( - object: KeyLike | VerifyKeyObjectInput | VerifyPublicKeyInput | VerifyJsonWebKeyInput, - signature: string, - signature_format?: BinaryToTextEncoding, - ): boolean; - } - /** - * Creates a `DiffieHellman` key exchange object using the supplied `prime` and an - * optional specific `generator`. - * - * The `generator` argument can be a number, string, or `Buffer`. If`generator` is not specified, the value `2` is used. - * - * If `primeEncoding` is specified, `prime` is expected to be a string; otherwise - * a `Buffer`, `TypedArray`, or `DataView` is expected. - * - * If `generatorEncoding` is specified, `generator` is expected to be a string; - * otherwise a number, `Buffer`, `TypedArray`, or `DataView` is expected. - * @since v0.11.12 - * @param primeEncoding The `encoding` of the `prime` string. - * @param [generator=2] - * @param generatorEncoding The `encoding` of the `generator` string. - */ - function createDiffieHellman(primeLength: number, generator?: number): DiffieHellman; - function createDiffieHellman( - prime: ArrayBuffer | NodeJS.ArrayBufferView, - generator?: number | ArrayBuffer | NodeJS.ArrayBufferView, - ): DiffieHellman; - function createDiffieHellman( - prime: ArrayBuffer | NodeJS.ArrayBufferView, - generator: string, - generatorEncoding: BinaryToTextEncoding, - ): DiffieHellman; - function createDiffieHellman( - prime: string, - primeEncoding: BinaryToTextEncoding, - generator?: number | ArrayBuffer | NodeJS.ArrayBufferView, - ): DiffieHellman; - function createDiffieHellman( - prime: string, - primeEncoding: BinaryToTextEncoding, - generator: string, - generatorEncoding: BinaryToTextEncoding, - ): DiffieHellman; - /** - * The `DiffieHellman` class is a utility for creating Diffie-Hellman key - * exchanges. - * - * Instances of the `DiffieHellman` class can be created using the {@link createDiffieHellman} function. - * - * ```js - * import assert from 'node:assert'; - * - * const { - * createDiffieHellman, - * } = await import('node:crypto'); - * - * // Generate Alice's keys... - * const alice = createDiffieHellman(2048); - * const aliceKey = alice.generateKeys(); - * - * // Generate Bob's keys... - * const bob = createDiffieHellman(alice.getPrime(), alice.getGenerator()); - * const bobKey = bob.generateKeys(); - * - * // Exchange and generate the secret... - * const aliceSecret = alice.computeSecret(bobKey); - * const bobSecret = bob.computeSecret(aliceKey); - * - * // OK - * assert.strictEqual(aliceSecret.toString('hex'), bobSecret.toString('hex')); - * ``` - * @since v0.5.0 - */ - class DiffieHellman { - private constructor(); - /** - * Generates private and public Diffie-Hellman key values unless they have been - * generated or computed already, and returns - * the public key in the specified `encoding`. This key should be - * transferred to the other party. - * If `encoding` is provided a string is returned; otherwise a `Buffer` is returned. - * - * This function is a thin wrapper around [`DH_generate_key()`](https://www.openssl.org/docs/man3.0/man3/DH_generate_key.html). In particular, - * once a private key has been generated or set, calling this function only updates - * the public key but does not generate a new private key. - * @since v0.5.0 - * @param encoding The `encoding` of the return value. - */ - generateKeys(): Buffer; - generateKeys(encoding: BinaryToTextEncoding): string; - /** - * Computes the shared secret using `otherPublicKey` as the other - * party's public key and returns the computed shared secret. The supplied - * key is interpreted using the specified `inputEncoding`, and secret is - * encoded using specified `outputEncoding`. - * If the `inputEncoding` is not - * provided, `otherPublicKey` is expected to be a `Buffer`,`TypedArray`, or `DataView`. - * - * If `outputEncoding` is given a string is returned; otherwise, a `Buffer` is returned. - * @since v0.5.0 - * @param inputEncoding The `encoding` of an `otherPublicKey` string. - * @param outputEncoding The `encoding` of the return value. - */ - computeSecret(otherPublicKey: NodeJS.ArrayBufferView, inputEncoding?: null, outputEncoding?: null): Buffer; - computeSecret(otherPublicKey: string, inputEncoding: BinaryToTextEncoding, outputEncoding?: null): Buffer; - computeSecret( - otherPublicKey: NodeJS.ArrayBufferView, - inputEncoding: null, - outputEncoding: BinaryToTextEncoding, - ): string; - computeSecret( - otherPublicKey: string, - inputEncoding: BinaryToTextEncoding, - outputEncoding: BinaryToTextEncoding, - ): string; - /** - * Returns the Diffie-Hellman prime in the specified `encoding`. - * If `encoding` is provided a string is - * returned; otherwise a `Buffer` is returned. - * @since v0.5.0 - * @param encoding The `encoding` of the return value. - */ - getPrime(): Buffer; - getPrime(encoding: BinaryToTextEncoding): string; - /** - * Returns the Diffie-Hellman generator in the specified `encoding`. - * If `encoding` is provided a string is - * returned; otherwise a `Buffer` is returned. - * @since v0.5.0 - * @param encoding The `encoding` of the return value. - */ - getGenerator(): Buffer; - getGenerator(encoding: BinaryToTextEncoding): string; - /** - * Returns the Diffie-Hellman public key in the specified `encoding`. - * If `encoding` is provided a - * string is returned; otherwise a `Buffer` is returned. - * @since v0.5.0 - * @param encoding The `encoding` of the return value. - */ - getPublicKey(): Buffer; - getPublicKey(encoding: BinaryToTextEncoding): string; - /** - * Returns the Diffie-Hellman private key in the specified `encoding`. - * If `encoding` is provided a - * string is returned; otherwise a `Buffer` is returned. - * @since v0.5.0 - * @param encoding The `encoding` of the return value. - */ - getPrivateKey(): Buffer; - getPrivateKey(encoding: BinaryToTextEncoding): string; - /** - * Sets the Diffie-Hellman public key. If the `encoding` argument is provided,`publicKey` is expected - * to be a string. If no `encoding` is provided, `publicKey` is expected - * to be a `Buffer`, `TypedArray`, or `DataView`. - * @since v0.5.0 - * @param encoding The `encoding` of the `publicKey` string. - */ - setPublicKey(publicKey: NodeJS.ArrayBufferView): void; - setPublicKey(publicKey: string, encoding: BufferEncoding): void; - /** - * Sets the Diffie-Hellman private key. If the `encoding` argument is provided,`privateKey` is expected - * to be a string. If no `encoding` is provided, `privateKey` is expected - * to be a `Buffer`, `TypedArray`, or `DataView`. - * - * This function does not automatically compute the associated public key. Either `diffieHellman.setPublicKey()` or `diffieHellman.generateKeys()` can be - * used to manually provide the public key or to automatically derive it. - * @since v0.5.0 - * @param encoding The `encoding` of the `privateKey` string. - */ - setPrivateKey(privateKey: NodeJS.ArrayBufferView): void; - setPrivateKey(privateKey: string, encoding: BufferEncoding): void; - /** - * A bit field containing any warnings and/or errors resulting from a check - * performed during initialization of the `DiffieHellman` object. - * - * The following values are valid for this property (as defined in `node:constants` module): - * - * * `DH_CHECK_P_NOT_SAFE_PRIME` - * * `DH_CHECK_P_NOT_PRIME` - * * `DH_UNABLE_TO_CHECK_GENERATOR` - * * `DH_NOT_SUITABLE_GENERATOR` - * @since v0.11.12 - */ - verifyError: number; - } - /** - * The `DiffieHellmanGroup` class takes a well-known modp group as its argument. - * It works the same as `DiffieHellman`, except that it does not allow changing its keys after creation. - * In other words, it does not implement `setPublicKey()` or `setPrivateKey()` methods. - * - * ```js - * const { createDiffieHellmanGroup } = await import('node:crypto'); - * const dh = createDiffieHellmanGroup('modp1'); - * ``` - * The name (e.g. `'modp1'`) is taken from [RFC 2412](https://www.rfc-editor.org/rfc/rfc2412.txt) (modp1 and 2) and [RFC 3526](https://www.rfc-editor.org/rfc/rfc3526.txt): - * ```bash - * $ perl -ne 'print "$1\n" if /"(modp\d+)"/' src/node_crypto_groups.h - * modp1 # 768 bits - * modp2 # 1024 bits - * modp5 # 1536 bits - * modp14 # 2048 bits - * modp15 # etc. - * modp16 - * modp17 - * modp18 - * ``` - * @since v0.7.5 - */ - const DiffieHellmanGroup: DiffieHellmanGroupConstructor; - interface DiffieHellmanGroupConstructor { - new(name: string): DiffieHellmanGroup; - (name: string): DiffieHellmanGroup; - readonly prototype: DiffieHellmanGroup; - } - type DiffieHellmanGroup = Omit; - /** - * Creates a predefined `DiffieHellmanGroup` key exchange object. The - * supported groups are listed in the documentation for `DiffieHellmanGroup`. - * - * The returned object mimics the interface of objects created by {@link createDiffieHellman}, but will not allow changing - * the keys (with `diffieHellman.setPublicKey()`, for example). The - * advantage of using this method is that the parties do not have to - * generate nor exchange a group modulus beforehand, saving both processor - * and communication time. - * - * Example (obtaining a shared secret): - * - * ```js - * const { - * getDiffieHellman, - * } = await import('node:crypto'); - * const alice = getDiffieHellman('modp14'); - * const bob = getDiffieHellman('modp14'); - * - * alice.generateKeys(); - * bob.generateKeys(); - * - * const aliceSecret = alice.computeSecret(bob.getPublicKey(), null, 'hex'); - * const bobSecret = bob.computeSecret(alice.getPublicKey(), null, 'hex'); - * - * // aliceSecret and bobSecret should be the same - * console.log(aliceSecret === bobSecret); - * ``` - * @since v0.7.5 - */ - function getDiffieHellman(groupName: string): DiffieHellmanGroup; - /** - * An alias for {@link getDiffieHellman} - * @since v0.9.3 - */ - function createDiffieHellmanGroup(name: string): DiffieHellmanGroup; - /** - * Provides an asynchronous Password-Based Key Derivation Function 2 (PBKDF2) - * implementation. A selected HMAC digest algorithm specified by `digest` is - * applied to derive a key of the requested byte length (`keylen`) from the`password`, `salt` and `iterations`. - * - * The supplied `callback` function is called with two arguments: `err` and`derivedKey`. If an error occurs while deriving the key, `err` will be set; - * otherwise `err` will be `null`. By default, the successfully generated`derivedKey` will be passed to the callback as a `Buffer`. An error will be - * thrown if any of the input arguments specify invalid values or types. - * - * The `iterations` argument must be a number set as high as possible. The - * higher the number of iterations, the more secure the derived key will be, - * but will take a longer amount of time to complete. - * - * The `salt` should be as unique as possible. It is recommended that a salt is - * random and at least 16 bytes long. See [NIST SP 800-132](https://nvlpubs.nist.gov/nistpubs/Legacy/SP/nistspecialpublication800-132.pdf) for details. - * - * When passing strings for `password` or `salt`, please consider `caveats when using strings as inputs to cryptographic APIs`. - * - * ```js - * const { - * pbkdf2, - * } = await import('node:crypto'); - * - * pbkdf2('secret', 'salt', 100000, 64, 'sha512', (err, derivedKey) => { - * if (err) throw err; - * console.log(derivedKey.toString('hex')); // '3745e48...08d59ae' - * }); - * ``` - * - * An array of supported digest functions can be retrieved using {@link getHashes}. - * - * This API uses libuv's threadpool, which can have surprising and - * negative performance implications for some applications; see the `UV_THREADPOOL_SIZE` documentation for more information. - * @since v0.5.5 - */ - function pbkdf2( - password: BinaryLike, - salt: BinaryLike, - iterations: number, - keylen: number, - digest: string, - callback: (err: Error | null, derivedKey: Buffer) => void, - ): void; - /** - * Provides a synchronous Password-Based Key Derivation Function 2 (PBKDF2) - * implementation. A selected HMAC digest algorithm specified by `digest` is - * applied to derive a key of the requested byte length (`keylen`) from the`password`, `salt` and `iterations`. - * - * If an error occurs an `Error` will be thrown, otherwise the derived key will be - * returned as a `Buffer`. - * - * The `iterations` argument must be a number set as high as possible. The - * higher the number of iterations, the more secure the derived key will be, - * but will take a longer amount of time to complete. - * - * The `salt` should be as unique as possible. It is recommended that a salt is - * random and at least 16 bytes long. See [NIST SP 800-132](https://nvlpubs.nist.gov/nistpubs/Legacy/SP/nistspecialpublication800-132.pdf) for details. - * - * When passing strings for `password` or `salt`, please consider `caveats when using strings as inputs to cryptographic APIs`. - * - * ```js - * const { - * pbkdf2Sync, - * } = await import('node:crypto'); - * - * const key = pbkdf2Sync('secret', 'salt', 100000, 64, 'sha512'); - * console.log(key.toString('hex')); // '3745e48...08d59ae' - * ``` - * - * An array of supported digest functions can be retrieved using {@link getHashes}. - * @since v0.9.3 - */ - function pbkdf2Sync( - password: BinaryLike, - salt: BinaryLike, - iterations: number, - keylen: number, - digest: string, - ): Buffer; - /** - * Generates cryptographically strong pseudorandom data. The `size` argument - * is a number indicating the number of bytes to generate. - * - * If a `callback` function is provided, the bytes are generated asynchronously - * and the `callback` function is invoked with two arguments: `err` and `buf`. - * If an error occurs, `err` will be an `Error` object; otherwise it is `null`. The`buf` argument is a `Buffer` containing the generated bytes. - * - * ```js - * // Asynchronous - * const { - * randomBytes, - * } = await import('node:crypto'); - * - * randomBytes(256, (err, buf) => { - * if (err) throw err; - * console.log(`${buf.length} bytes of random data: ${buf.toString('hex')}`); - * }); - * ``` - * - * If the `callback` function is not provided, the random bytes are generated - * synchronously and returned as a `Buffer`. An error will be thrown if - * there is a problem generating the bytes. - * - * ```js - * // Synchronous - * const { - * randomBytes, - * } = await import('node:crypto'); - * - * const buf = randomBytes(256); - * console.log( - * `${buf.length} bytes of random data: ${buf.toString('hex')}`); - * ``` - * - * The `crypto.randomBytes()` method will not complete until there is - * sufficient entropy available. - * This should normally never take longer than a few milliseconds. The only time - * when generating the random bytes may conceivably block for a longer period of - * time is right after boot, when the whole system is still low on entropy. - * - * This API uses libuv's threadpool, which can have surprising and - * negative performance implications for some applications; see the `UV_THREADPOOL_SIZE` documentation for more information. - * - * The asynchronous version of `crypto.randomBytes()` is carried out in a single - * threadpool request. To minimize threadpool task length variation, partition - * large `randomBytes` requests when doing so as part of fulfilling a client - * request. - * @since v0.5.8 - * @param size The number of bytes to generate. The `size` must not be larger than `2**31 - 1`. - * @return if the `callback` function is not provided. - */ - function randomBytes(size: number): Buffer; - function randomBytes(size: number, callback: (err: Error | null, buf: Buffer) => void): void; - function pseudoRandomBytes(size: number): Buffer; - function pseudoRandomBytes(size: number, callback: (err: Error | null, buf: Buffer) => void): void; - /** - * Return a random integer `n` such that `min <= n < max`. This - * implementation avoids [modulo bias](https://en.wikipedia.org/wiki/Fisher%E2%80%93Yates_shuffle#Modulo_bias). - * - * The range (`max - min`) must be less than 2**48. `min` and `max` must - * be [safe integers](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/isSafeInteger). - * - * If the `callback` function is not provided, the random integer is - * generated synchronously. - * - * ```js - * // Asynchronous - * const { - * randomInt, - * } = await import('node:crypto'); - * - * randomInt(3, (err, n) => { - * if (err) throw err; - * console.log(`Random number chosen from (0, 1, 2): ${n}`); - * }); - * ``` - * - * ```js - * // Synchronous - * const { - * randomInt, - * } = await import('node:crypto'); - * - * const n = randomInt(3); - * console.log(`Random number chosen from (0, 1, 2): ${n}`); - * ``` - * - * ```js - * // With `min` argument - * const { - * randomInt, - * } = await import('node:crypto'); - * - * const n = randomInt(1, 7); - * console.log(`The dice rolled: ${n}`); - * ``` - * @since v14.10.0, v12.19.0 - * @param [min=0] Start of random range (inclusive). - * @param max End of random range (exclusive). - * @param callback `function(err, n) {}`. - */ - function randomInt(max: number): number; - function randomInt(min: number, max: number): number; - function randomInt(max: number, callback: (err: Error | null, value: number) => void): void; - function randomInt(min: number, max: number, callback: (err: Error | null, value: number) => void): void; - /** - * Synchronous version of {@link randomFill}. - * - * ```js - * import { Buffer } from 'node:buffer'; - * const { randomFillSync } = await import('node:crypto'); - * - * const buf = Buffer.alloc(10); - * console.log(randomFillSync(buf).toString('hex')); - * - * randomFillSync(buf, 5); - * console.log(buf.toString('hex')); - * - * // The above is equivalent to the following: - * randomFillSync(buf, 5, 5); - * console.log(buf.toString('hex')); - * ``` - * - * Any `ArrayBuffer`, `TypedArray` or `DataView` instance may be passed as`buffer`. - * - * ```js - * import { Buffer } from 'node:buffer'; - * const { randomFillSync } = await import('node:crypto'); - * - * const a = new Uint32Array(10); - * console.log(Buffer.from(randomFillSync(a).buffer, - * a.byteOffset, a.byteLength).toString('hex')); - * - * const b = new DataView(new ArrayBuffer(10)); - * console.log(Buffer.from(randomFillSync(b).buffer, - * b.byteOffset, b.byteLength).toString('hex')); - * - * const c = new ArrayBuffer(10); - * console.log(Buffer.from(randomFillSync(c)).toString('hex')); - * ``` - * @since v7.10.0, v6.13.0 - * @param buffer Must be supplied. The size of the provided `buffer` must not be larger than `2**31 - 1`. - * @param [offset=0] - * @param [size=buffer.length - offset] - * @return The object passed as `buffer` argument. - */ - function randomFillSync(buffer: T, offset?: number, size?: number): T; - /** - * This function is similar to {@link randomBytes} but requires the first - * argument to be a `Buffer` that will be filled. It also - * requires that a callback is passed in. - * - * If the `callback` function is not provided, an error will be thrown. - * - * ```js - * import { Buffer } from 'node:buffer'; - * const { randomFill } = await import('node:crypto'); - * - * const buf = Buffer.alloc(10); - * randomFill(buf, (err, buf) => { - * if (err) throw err; - * console.log(buf.toString('hex')); - * }); - * - * randomFill(buf, 5, (err, buf) => { - * if (err) throw err; - * console.log(buf.toString('hex')); - * }); - * - * // The above is equivalent to the following: - * randomFill(buf, 5, 5, (err, buf) => { - * if (err) throw err; - * console.log(buf.toString('hex')); - * }); - * ``` - * - * Any `ArrayBuffer`, `TypedArray`, or `DataView` instance may be passed as`buffer`. - * - * While this includes instances of `Float32Array` and `Float64Array`, this - * function should not be used to generate random floating-point numbers. The - * result may contain `+Infinity`, `-Infinity`, and `NaN`, and even if the array - * contains finite numbers only, they are not drawn from a uniform random - * distribution and have no meaningful lower or upper bounds. - * - * ```js - * import { Buffer } from 'node:buffer'; - * const { randomFill } = await import('node:crypto'); - * - * const a = new Uint32Array(10); - * randomFill(a, (err, buf) => { - * if (err) throw err; - * console.log(Buffer.from(buf.buffer, buf.byteOffset, buf.byteLength) - * .toString('hex')); - * }); - * - * const b = new DataView(new ArrayBuffer(10)); - * randomFill(b, (err, buf) => { - * if (err) throw err; - * console.log(Buffer.from(buf.buffer, buf.byteOffset, buf.byteLength) - * .toString('hex')); - * }); - * - * const c = new ArrayBuffer(10); - * randomFill(c, (err, buf) => { - * if (err) throw err; - * console.log(Buffer.from(buf).toString('hex')); - * }); - * ``` - * - * This API uses libuv's threadpool, which can have surprising and - * negative performance implications for some applications; see the `UV_THREADPOOL_SIZE` documentation for more information. - * - * The asynchronous version of `crypto.randomFill()` is carried out in a single - * threadpool request. To minimize threadpool task length variation, partition - * large `randomFill` requests when doing so as part of fulfilling a client - * request. - * @since v7.10.0, v6.13.0 - * @param buffer Must be supplied. The size of the provided `buffer` must not be larger than `2**31 - 1`. - * @param [offset=0] - * @param [size=buffer.length - offset] - * @param callback `function(err, buf) {}`. - */ - function randomFill( - buffer: T, - callback: (err: Error | null, buf: T) => void, - ): void; - function randomFill( - buffer: T, - offset: number, - callback: (err: Error | null, buf: T) => void, - ): void; - function randomFill( - buffer: T, - offset: number, - size: number, - callback: (err: Error | null, buf: T) => void, - ): void; - interface ScryptOptions { - cost?: number | undefined; - blockSize?: number | undefined; - parallelization?: number | undefined; - N?: number | undefined; - r?: number | undefined; - p?: number | undefined; - maxmem?: number | undefined; - } - /** - * Provides an asynchronous [scrypt](https://en.wikipedia.org/wiki/Scrypt) implementation. Scrypt is a password-based - * key derivation function that is designed to be expensive computationally and - * memory-wise in order to make brute-force attacks unrewarding. - * - * The `salt` should be as unique as possible. It is recommended that a salt is - * random and at least 16 bytes long. See [NIST SP 800-132](https://nvlpubs.nist.gov/nistpubs/Legacy/SP/nistspecialpublication800-132.pdf) for details. - * - * When passing strings for `password` or `salt`, please consider `caveats when using strings as inputs to cryptographic APIs`. - * - * The `callback` function is called with two arguments: `err` and `derivedKey`.`err` is an exception object when key derivation fails, otherwise `err` is`null`. `derivedKey` is passed to the - * callback as a `Buffer`. - * - * An exception is thrown when any of the input arguments specify invalid values - * or types. - * - * ```js - * const { - * scrypt, - * } = await import('node:crypto'); - * - * // Using the factory defaults. - * scrypt('password', 'salt', 64, (err, derivedKey) => { - * if (err) throw err; - * console.log(derivedKey.toString('hex')); // '3745e48...08d59ae' - * }); - * // Using a custom N parameter. Must be a power of two. - * scrypt('password', 'salt', 64, { N: 1024 }, (err, derivedKey) => { - * if (err) throw err; - * console.log(derivedKey.toString('hex')); // '3745e48...aa39b34' - * }); - * ``` - * @since v10.5.0 - */ - function scrypt( - password: BinaryLike, - salt: BinaryLike, - keylen: number, - callback: (err: Error | null, derivedKey: Buffer) => void, - ): void; - function scrypt( - password: BinaryLike, - salt: BinaryLike, - keylen: number, - options: ScryptOptions, - callback: (err: Error | null, derivedKey: Buffer) => void, - ): void; - /** - * Provides a synchronous [scrypt](https://en.wikipedia.org/wiki/Scrypt) implementation. Scrypt is a password-based - * key derivation function that is designed to be expensive computationally and - * memory-wise in order to make brute-force attacks unrewarding. - * - * The `salt` should be as unique as possible. It is recommended that a salt is - * random and at least 16 bytes long. See [NIST SP 800-132](https://nvlpubs.nist.gov/nistpubs/Legacy/SP/nistspecialpublication800-132.pdf) for details. - * - * When passing strings for `password` or `salt`, please consider `caveats when using strings as inputs to cryptographic APIs`. - * - * An exception is thrown when key derivation fails, otherwise the derived key is - * returned as a `Buffer`. - * - * An exception is thrown when any of the input arguments specify invalid values - * or types. - * - * ```js - * const { - * scryptSync, - * } = await import('node:crypto'); - * // Using the factory defaults. - * - * const key1 = scryptSync('password', 'salt', 64); - * console.log(key1.toString('hex')); // '3745e48...08d59ae' - * // Using a custom N parameter. Must be a power of two. - * const key2 = scryptSync('password', 'salt', 64, { N: 1024 }); - * console.log(key2.toString('hex')); // '3745e48...aa39b34' - * ``` - * @since v10.5.0 - */ - function scryptSync(password: BinaryLike, salt: BinaryLike, keylen: number, options?: ScryptOptions): Buffer; - interface RsaPublicKey { - key: KeyLike; - padding?: number | undefined; - } - interface RsaPrivateKey { - key: KeyLike; - passphrase?: string | undefined; - /** - * @default 'sha1' - */ - oaepHash?: string | undefined; - oaepLabel?: NodeJS.TypedArray | undefined; - padding?: number | undefined; - } - /** - * Encrypts the content of `buffer` with `key` and returns a new `Buffer` with encrypted content. The returned data can be decrypted using - * the corresponding private key, for example using {@link privateDecrypt}. - * - * If `key` is not a `KeyObject`, this function behaves as if`key` had been passed to {@link createPublicKey}. If it is an - * object, the `padding` property can be passed. Otherwise, this function uses`RSA_PKCS1_OAEP_PADDING`. - * - * Because RSA public keys can be derived from private keys, a private key may - * be passed instead of a public key. - * @since v0.11.14 - */ - function publicEncrypt(key: RsaPublicKey | RsaPrivateKey | KeyLike, buffer: NodeJS.ArrayBufferView): Buffer; - /** - * Decrypts `buffer` with `key`.`buffer` was previously encrypted using - * the corresponding private key, for example using {@link privateEncrypt}. - * - * If `key` is not a `KeyObject`, this function behaves as if`key` had been passed to {@link createPublicKey}. If it is an - * object, the `padding` property can be passed. Otherwise, this function uses`RSA_PKCS1_PADDING`. - * - * Because RSA public keys can be derived from private keys, a private key may - * be passed instead of a public key. - * @since v1.1.0 - */ - function publicDecrypt(key: RsaPublicKey | RsaPrivateKey | KeyLike, buffer: NodeJS.ArrayBufferView): Buffer; - /** - * Decrypts `buffer` with `privateKey`. `buffer` was previously encrypted using - * the corresponding public key, for example using {@link publicEncrypt}. - * - * If `privateKey` is not a `KeyObject`, this function behaves as if`privateKey` had been passed to {@link createPrivateKey}. If it is an - * object, the `padding` property can be passed. Otherwise, this function uses`RSA_PKCS1_OAEP_PADDING`. - * @since v0.11.14 - */ - function privateDecrypt(privateKey: RsaPrivateKey | KeyLike, buffer: NodeJS.ArrayBufferView): Buffer; - /** - * Encrypts `buffer` with `privateKey`. The returned data can be decrypted using - * the corresponding public key, for example using {@link publicDecrypt}. - * - * If `privateKey` is not a `KeyObject`, this function behaves as if`privateKey` had been passed to {@link createPrivateKey}. If it is an - * object, the `padding` property can be passed. Otherwise, this function uses`RSA_PKCS1_PADDING`. - * @since v1.1.0 - */ - function privateEncrypt(privateKey: RsaPrivateKey | KeyLike, buffer: NodeJS.ArrayBufferView): Buffer; - /** - * ```js - * const { - * getCiphers, - * } = await import('node:crypto'); - * - * console.log(getCiphers()); // ['aes-128-cbc', 'aes-128-ccm', ...] - * ``` - * @since v0.9.3 - * @return An array with the names of the supported cipher algorithms. - */ - function getCiphers(): string[]; - /** - * ```js - * const { - * getCurves, - * } = await import('node:crypto'); - * - * console.log(getCurves()); // ['Oakley-EC2N-3', 'Oakley-EC2N-4', ...] - * ``` - * @since v2.3.0 - * @return An array with the names of the supported elliptic curves. - */ - function getCurves(): string[]; - /** - * @since v10.0.0 - * @return `1` if and only if a FIPS compliant crypto provider is currently in use, `0` otherwise. A future semver-major release may change the return type of this API to a {boolean}. - */ - function getFips(): 1 | 0; - /** - * Enables the FIPS compliant crypto provider in a FIPS-enabled Node.js build. - * Throws an error if FIPS mode is not available. - * @since v10.0.0 - * @param bool `true` to enable FIPS mode. - */ - function setFips(bool: boolean): void; - /** - * ```js - * const { - * getHashes, - * } = await import('node:crypto'); - * - * console.log(getHashes()); // ['DSA', 'DSA-SHA', 'DSA-SHA1', ...] - * ``` - * @since v0.9.3 - * @return An array of the names of the supported hash algorithms, such as `'RSA-SHA256'`. Hash algorithms are also called "digest" algorithms. - */ - function getHashes(): string[]; - /** - * The `ECDH` class is a utility for creating Elliptic Curve Diffie-Hellman (ECDH) - * key exchanges. - * - * Instances of the `ECDH` class can be created using the {@link createECDH} function. - * - * ```js - * import assert from 'node:assert'; - * - * const { - * createECDH, - * } = await import('node:crypto'); - * - * // Generate Alice's keys... - * const alice = createECDH('secp521r1'); - * const aliceKey = alice.generateKeys(); - * - * // Generate Bob's keys... - * const bob = createECDH('secp521r1'); - * const bobKey = bob.generateKeys(); - * - * // Exchange and generate the secret... - * const aliceSecret = alice.computeSecret(bobKey); - * const bobSecret = bob.computeSecret(aliceKey); - * - * assert.strictEqual(aliceSecret.toString('hex'), bobSecret.toString('hex')); - * // OK - * ``` - * @since v0.11.14 - */ - class ECDH { - private constructor(); - /** - * Converts the EC Diffie-Hellman public key specified by `key` and `curve` to the - * format specified by `format`. The `format` argument specifies point encoding - * and can be `'compressed'`, `'uncompressed'` or `'hybrid'`. The supplied key is - * interpreted using the specified `inputEncoding`, and the returned key is encoded - * using the specified `outputEncoding`. - * - * Use {@link getCurves} to obtain a list of available curve names. - * On recent OpenSSL releases, `openssl ecparam -list_curves` will also display - * the name and description of each available elliptic curve. - * - * If `format` is not specified the point will be returned in `'uncompressed'`format. - * - * If the `inputEncoding` is not provided, `key` is expected to be a `Buffer`,`TypedArray`, or `DataView`. - * - * Example (uncompressing a key): - * - * ```js - * const { - * createECDH, - * ECDH, - * } = await import('node:crypto'); - * - * const ecdh = createECDH('secp256k1'); - * ecdh.generateKeys(); - * - * const compressedKey = ecdh.getPublicKey('hex', 'compressed'); - * - * const uncompressedKey = ECDH.convertKey(compressedKey, - * 'secp256k1', - * 'hex', - * 'hex', - * 'uncompressed'); - * - * // The converted key and the uncompressed public key should be the same - * console.log(uncompressedKey === ecdh.getPublicKey('hex')); - * ``` - * @since v10.0.0 - * @param inputEncoding The `encoding` of the `key` string. - * @param outputEncoding The `encoding` of the return value. - * @param [format='uncompressed'] - */ - static convertKey( - key: BinaryLike, - curve: string, - inputEncoding?: BinaryToTextEncoding, - outputEncoding?: "latin1" | "hex" | "base64" | "base64url", - format?: "uncompressed" | "compressed" | "hybrid", - ): Buffer | string; - /** - * Generates private and public EC Diffie-Hellman key values, and returns - * the public key in the specified `format` and `encoding`. This key should be - * transferred to the other party. - * - * The `format` argument specifies point encoding and can be `'compressed'` or`'uncompressed'`. If `format` is not specified, the point will be returned in`'uncompressed'` format. - * - * If `encoding` is provided a string is returned; otherwise a `Buffer` is returned. - * @since v0.11.14 - * @param encoding The `encoding` of the return value. - * @param [format='uncompressed'] - */ - generateKeys(): Buffer; - generateKeys(encoding: BinaryToTextEncoding, format?: ECDHKeyFormat): string; - /** - * Computes the shared secret using `otherPublicKey` as the other - * party's public key and returns the computed shared secret. The supplied - * key is interpreted using specified `inputEncoding`, and the returned secret - * is encoded using the specified `outputEncoding`. - * If the `inputEncoding` is not - * provided, `otherPublicKey` is expected to be a `Buffer`, `TypedArray`, or`DataView`. - * - * If `outputEncoding` is given a string will be returned; otherwise a `Buffer` is returned. - * - * `ecdh.computeSecret` will throw an`ERR_CRYPTO_ECDH_INVALID_PUBLIC_KEY` error when `otherPublicKey`lies outside of the elliptic curve. Since `otherPublicKey` is - * usually supplied from a remote user over an insecure network, - * be sure to handle this exception accordingly. - * @since v0.11.14 - * @param inputEncoding The `encoding` of the `otherPublicKey` string. - * @param outputEncoding The `encoding` of the return value. - */ - computeSecret(otherPublicKey: NodeJS.ArrayBufferView): Buffer; - computeSecret(otherPublicKey: string, inputEncoding: BinaryToTextEncoding): Buffer; - computeSecret(otherPublicKey: NodeJS.ArrayBufferView, outputEncoding: BinaryToTextEncoding): string; - computeSecret( - otherPublicKey: string, - inputEncoding: BinaryToTextEncoding, - outputEncoding: BinaryToTextEncoding, - ): string; - /** - * If `encoding` is specified, a string is returned; otherwise a `Buffer` is - * returned. - * @since v0.11.14 - * @param encoding The `encoding` of the return value. - * @return The EC Diffie-Hellman in the specified `encoding`. - */ - getPrivateKey(): Buffer; - getPrivateKey(encoding: BinaryToTextEncoding): string; - /** - * The `format` argument specifies point encoding and can be `'compressed'` or`'uncompressed'`. If `format` is not specified the point will be returned in`'uncompressed'` format. - * - * If `encoding` is specified, a string is returned; otherwise a `Buffer` is - * returned. - * @since v0.11.14 - * @param encoding The `encoding` of the return value. - * @param [format='uncompressed'] - * @return The EC Diffie-Hellman public key in the specified `encoding` and `format`. - */ - getPublicKey(encoding?: null, format?: ECDHKeyFormat): Buffer; - getPublicKey(encoding: BinaryToTextEncoding, format?: ECDHKeyFormat): string; - /** - * Sets the EC Diffie-Hellman private key. - * If `encoding` is provided, `privateKey` is expected - * to be a string; otherwise `privateKey` is expected to be a `Buffer`,`TypedArray`, or `DataView`. - * - * If `privateKey` is not valid for the curve specified when the `ECDH` object was - * created, an error is thrown. Upon setting the private key, the associated - * public point (key) is also generated and set in the `ECDH` object. - * @since v0.11.14 - * @param encoding The `encoding` of the `privateKey` string. - */ - setPrivateKey(privateKey: NodeJS.ArrayBufferView): void; - setPrivateKey(privateKey: string, encoding: BinaryToTextEncoding): void; - } - /** - * Creates an Elliptic Curve Diffie-Hellman (`ECDH`) key exchange object using a - * predefined curve specified by the `curveName` string. Use {@link getCurves} to obtain a list of available curve names. On recent - * OpenSSL releases, `openssl ecparam -list_curves` will also display the name - * and description of each available elliptic curve. - * @since v0.11.14 - */ - function createECDH(curveName: string): ECDH; - /** - * This function compares the underlying bytes that represent the given`ArrayBuffer`, `TypedArray`, or `DataView` instances using a constant-time - * algorithm. - * - * This function does not leak timing information that - * would allow an attacker to guess one of the values. This is suitable for - * comparing HMAC digests or secret values like authentication cookies or [capability urls](https://www.w3.org/TR/capability-urls/). - * - * `a` and `b` must both be `Buffer`s, `TypedArray`s, or `DataView`s, and they - * must have the same byte length. An error is thrown if `a` and `b` have - * different byte lengths. - * - * If at least one of `a` and `b` is a `TypedArray` with more than one byte per - * entry, such as `Uint16Array`, the result will be computed using the platform - * byte order. - * - * **When both of the inputs are `Float32Array`s or`Float64Array`s, this function might return unexpected results due to IEEE 754** - * **encoding of floating-point numbers. In particular, neither `x === y` nor`Object.is(x, y)` implies that the byte representations of two floating-point** - * **numbers `x` and `y` are equal.** - * - * Use of `crypto.timingSafeEqual` does not guarantee that the _surrounding_ code - * is timing-safe. Care should be taken to ensure that the surrounding code does - * not introduce timing vulnerabilities. - * @since v6.6.0 - */ - function timingSafeEqual(a: NodeJS.ArrayBufferView, b: NodeJS.ArrayBufferView): boolean; - type KeyType = "rsa" | "rsa-pss" | "dsa" | "ec" | "ed25519" | "ed448" | "x25519" | "x448"; - type KeyFormat = "pem" | "der" | "jwk"; - interface BasePrivateKeyEncodingOptions { - format: T; - cipher?: string | undefined; - passphrase?: string | undefined; - } - interface KeyPairKeyObjectResult { - publicKey: KeyObject; - privateKey: KeyObject; - } - interface ED25519KeyPairKeyObjectOptions {} - interface ED448KeyPairKeyObjectOptions {} - interface X25519KeyPairKeyObjectOptions {} - interface X448KeyPairKeyObjectOptions {} - interface ECKeyPairKeyObjectOptions { - /** - * Name of the curve to use - */ - namedCurve: string; - /** - * Must be `'named'` or `'explicit'`. Default: `'named'`. - */ - paramEncoding?: "explicit" | "named" | undefined; - } - interface RSAKeyPairKeyObjectOptions { - /** - * Key size in bits - */ - modulusLength: number; - /** - * Public exponent - * @default 0x10001 - */ - publicExponent?: number | undefined; - } - interface RSAPSSKeyPairKeyObjectOptions { - /** - * Key size in bits - */ - modulusLength: number; - /** - * Public exponent - * @default 0x10001 - */ - publicExponent?: number | undefined; - /** - * Name of the message digest - */ - hashAlgorithm?: string; - /** - * Name of the message digest used by MGF1 - */ - mgf1HashAlgorithm?: string; - /** - * Minimal salt length in bytes - */ - saltLength?: string; - } - interface DSAKeyPairKeyObjectOptions { - /** - * Key size in bits - */ - modulusLength: number; - /** - * Size of q in bits - */ - divisorLength: number; - } - interface RSAKeyPairOptions { - /** - * Key size in bits - */ - modulusLength: number; - /** - * Public exponent - * @default 0x10001 - */ - publicExponent?: number | undefined; - publicKeyEncoding: { - type: "pkcs1" | "spki"; - format: PubF; - }; - privateKeyEncoding: BasePrivateKeyEncodingOptions & { - type: "pkcs1" | "pkcs8"; - }; - } - interface RSAPSSKeyPairOptions { - /** - * Key size in bits - */ - modulusLength: number; - /** - * Public exponent - * @default 0x10001 - */ - publicExponent?: number | undefined; - /** - * Name of the message digest - */ - hashAlgorithm?: string; - /** - * Name of the message digest used by MGF1 - */ - mgf1HashAlgorithm?: string; - /** - * Minimal salt length in bytes - */ - saltLength?: string; - publicKeyEncoding: { - type: "spki"; - format: PubF; - }; - privateKeyEncoding: BasePrivateKeyEncodingOptions & { - type: "pkcs8"; - }; - } - interface DSAKeyPairOptions { - /** - * Key size in bits - */ - modulusLength: number; - /** - * Size of q in bits - */ - divisorLength: number; - publicKeyEncoding: { - type: "spki"; - format: PubF; - }; - privateKeyEncoding: BasePrivateKeyEncodingOptions & { - type: "pkcs8"; - }; - } - interface ECKeyPairOptions extends ECKeyPairKeyObjectOptions { - publicKeyEncoding: { - type: "pkcs1" | "spki"; - format: PubF; - }; - privateKeyEncoding: BasePrivateKeyEncodingOptions & { - type: "sec1" | "pkcs8"; - }; - } - interface ED25519KeyPairOptions { - publicKeyEncoding: { - type: "spki"; - format: PubF; - }; - privateKeyEncoding: BasePrivateKeyEncodingOptions & { - type: "pkcs8"; - }; - } - interface ED448KeyPairOptions { - publicKeyEncoding: { - type: "spki"; - format: PubF; - }; - privateKeyEncoding: BasePrivateKeyEncodingOptions & { - type: "pkcs8"; - }; - } - interface X25519KeyPairOptions { - publicKeyEncoding: { - type: "spki"; - format: PubF; - }; - privateKeyEncoding: BasePrivateKeyEncodingOptions & { - type: "pkcs8"; - }; - } - interface X448KeyPairOptions { - publicKeyEncoding: { - type: "spki"; - format: PubF; - }; - privateKeyEncoding: BasePrivateKeyEncodingOptions & { - type: "pkcs8"; - }; - } - interface KeyPairSyncResult { - publicKey: T1; - privateKey: T2; - } - /** - * Generates a new asymmetric key pair of the given `type`. RSA, RSA-PSS, DSA, EC, - * Ed25519, Ed448, X25519, X448, and DH are currently supported. - * - * If a `publicKeyEncoding` or `privateKeyEncoding` was specified, this function - * behaves as if `keyObject.export()` had been called on its result. Otherwise, - * the respective part of the key is returned as a `KeyObject`. - * - * When encoding public keys, it is recommended to use `'spki'`. When encoding - * private keys, it is recommended to use `'pkcs8'` with a strong passphrase, - * and to keep the passphrase confidential. - * - * ```js - * const { - * generateKeyPairSync, - * } = await import('node:crypto'); - * - * const { - * publicKey, - * privateKey, - * } = generateKeyPairSync('rsa', { - * modulusLength: 4096, - * publicKeyEncoding: { - * type: 'spki', - * format: 'pem', - * }, - * privateKeyEncoding: { - * type: 'pkcs8', - * format: 'pem', - * cipher: 'aes-256-cbc', - * passphrase: 'top secret', - * }, - * }); - * ``` - * - * The return value `{ publicKey, privateKey }` represents the generated key pair. - * When PEM encoding was selected, the respective key will be a string, otherwise - * it will be a buffer containing the data encoded as DER. - * @since v10.12.0 - * @param type Must be `'rsa'`, `'rsa-pss'`, `'dsa'`, `'ec'`, `'ed25519'`, `'ed448'`, `'x25519'`, `'x448'`, or `'dh'`. - */ - function generateKeyPairSync( - type: "rsa", - options: RSAKeyPairOptions<"pem", "pem">, - ): KeyPairSyncResult; - function generateKeyPairSync( - type: "rsa", - options: RSAKeyPairOptions<"pem", "der">, - ): KeyPairSyncResult; - function generateKeyPairSync( - type: "rsa", - options: RSAKeyPairOptions<"der", "pem">, - ): KeyPairSyncResult; - function generateKeyPairSync( - type: "rsa", - options: RSAKeyPairOptions<"der", "der">, - ): KeyPairSyncResult; - function generateKeyPairSync(type: "rsa", options: RSAKeyPairKeyObjectOptions): KeyPairKeyObjectResult; - function generateKeyPairSync( - type: "rsa-pss", - options: RSAPSSKeyPairOptions<"pem", "pem">, - ): KeyPairSyncResult; - function generateKeyPairSync( - type: "rsa-pss", - options: RSAPSSKeyPairOptions<"pem", "der">, - ): KeyPairSyncResult; - function generateKeyPairSync( - type: "rsa-pss", - options: RSAPSSKeyPairOptions<"der", "pem">, - ): KeyPairSyncResult; - function generateKeyPairSync( - type: "rsa-pss", - options: RSAPSSKeyPairOptions<"der", "der">, - ): KeyPairSyncResult; - function generateKeyPairSync(type: "rsa-pss", options: RSAPSSKeyPairKeyObjectOptions): KeyPairKeyObjectResult; - function generateKeyPairSync( - type: "dsa", - options: DSAKeyPairOptions<"pem", "pem">, - ): KeyPairSyncResult; - function generateKeyPairSync( - type: "dsa", - options: DSAKeyPairOptions<"pem", "der">, - ): KeyPairSyncResult; - function generateKeyPairSync( - type: "dsa", - options: DSAKeyPairOptions<"der", "pem">, - ): KeyPairSyncResult; - function generateKeyPairSync( - type: "dsa", - options: DSAKeyPairOptions<"der", "der">, - ): KeyPairSyncResult; - function generateKeyPairSync(type: "dsa", options: DSAKeyPairKeyObjectOptions): KeyPairKeyObjectResult; - function generateKeyPairSync( - type: "ec", - options: ECKeyPairOptions<"pem", "pem">, - ): KeyPairSyncResult; - function generateKeyPairSync( - type: "ec", - options: ECKeyPairOptions<"pem", "der">, - ): KeyPairSyncResult; - function generateKeyPairSync( - type: "ec", - options: ECKeyPairOptions<"der", "pem">, - ): KeyPairSyncResult; - function generateKeyPairSync( - type: "ec", - options: ECKeyPairOptions<"der", "der">, - ): KeyPairSyncResult; - function generateKeyPairSync(type: "ec", options: ECKeyPairKeyObjectOptions): KeyPairKeyObjectResult; - function generateKeyPairSync( - type: "ed25519", - options: ED25519KeyPairOptions<"pem", "pem">, - ): KeyPairSyncResult; - function generateKeyPairSync( - type: "ed25519", - options: ED25519KeyPairOptions<"pem", "der">, - ): KeyPairSyncResult; - function generateKeyPairSync( - type: "ed25519", - options: ED25519KeyPairOptions<"der", "pem">, - ): KeyPairSyncResult; - function generateKeyPairSync( - type: "ed25519", - options: ED25519KeyPairOptions<"der", "der">, - ): KeyPairSyncResult; - function generateKeyPairSync(type: "ed25519", options?: ED25519KeyPairKeyObjectOptions): KeyPairKeyObjectResult; - function generateKeyPairSync( - type: "ed448", - options: ED448KeyPairOptions<"pem", "pem">, - ): KeyPairSyncResult; - function generateKeyPairSync( - type: "ed448", - options: ED448KeyPairOptions<"pem", "der">, - ): KeyPairSyncResult; - function generateKeyPairSync( - type: "ed448", - options: ED448KeyPairOptions<"der", "pem">, - ): KeyPairSyncResult; - function generateKeyPairSync( - type: "ed448", - options: ED448KeyPairOptions<"der", "der">, - ): KeyPairSyncResult; - function generateKeyPairSync(type: "ed448", options?: ED448KeyPairKeyObjectOptions): KeyPairKeyObjectResult; - function generateKeyPairSync( - type: "x25519", - options: X25519KeyPairOptions<"pem", "pem">, - ): KeyPairSyncResult; - function generateKeyPairSync( - type: "x25519", - options: X25519KeyPairOptions<"pem", "der">, - ): KeyPairSyncResult; - function generateKeyPairSync( - type: "x25519", - options: X25519KeyPairOptions<"der", "pem">, - ): KeyPairSyncResult; - function generateKeyPairSync( - type: "x25519", - options: X25519KeyPairOptions<"der", "der">, - ): KeyPairSyncResult; - function generateKeyPairSync(type: "x25519", options?: X25519KeyPairKeyObjectOptions): KeyPairKeyObjectResult; - function generateKeyPairSync( - type: "x448", - options: X448KeyPairOptions<"pem", "pem">, - ): KeyPairSyncResult; - function generateKeyPairSync( - type: "x448", - options: X448KeyPairOptions<"pem", "der">, - ): KeyPairSyncResult; - function generateKeyPairSync( - type: "x448", - options: X448KeyPairOptions<"der", "pem">, - ): KeyPairSyncResult; - function generateKeyPairSync( - type: "x448", - options: X448KeyPairOptions<"der", "der">, - ): KeyPairSyncResult; - function generateKeyPairSync(type: "x448", options?: X448KeyPairKeyObjectOptions): KeyPairKeyObjectResult; - /** - * Generates a new asymmetric key pair of the given `type`. RSA, RSA-PSS, DSA, EC, - * Ed25519, Ed448, X25519, X448, and DH are currently supported. - * - * If a `publicKeyEncoding` or `privateKeyEncoding` was specified, this function - * behaves as if `keyObject.export()` had been called on its result. Otherwise, - * the respective part of the key is returned as a `KeyObject`. - * - * It is recommended to encode public keys as `'spki'` and private keys as`'pkcs8'` with encryption for long-term storage: - * - * ```js - * const { - * generateKeyPair, - * } = await import('node:crypto'); - * - * generateKeyPair('rsa', { - * modulusLength: 4096, - * publicKeyEncoding: { - * type: 'spki', - * format: 'pem', - * }, - * privateKeyEncoding: { - * type: 'pkcs8', - * format: 'pem', - * cipher: 'aes-256-cbc', - * passphrase: 'top secret', - * }, - * }, (err, publicKey, privateKey) => { - * // Handle errors and use the generated key pair. - * }); - * ``` - * - * On completion, `callback` will be called with `err` set to `undefined` and`publicKey` / `privateKey` representing the generated key pair. - * - * If this method is invoked as its `util.promisify()` ed version, it returns - * a `Promise` for an `Object` with `publicKey` and `privateKey` properties. - * @since v10.12.0 - * @param type Must be `'rsa'`, `'rsa-pss'`, `'dsa'`, `'ec'`, `'ed25519'`, `'ed448'`, `'x25519'`, `'x448'`, or `'dh'`. - */ - function generateKeyPair( - type: "rsa", - options: RSAKeyPairOptions<"pem", "pem">, - callback: (err: Error | null, publicKey: string, privateKey: string) => void, - ): void; - function generateKeyPair( - type: "rsa", - options: RSAKeyPairOptions<"pem", "der">, - callback: (err: Error | null, publicKey: string, privateKey: Buffer) => void, - ): void; - function generateKeyPair( - type: "rsa", - options: RSAKeyPairOptions<"der", "pem">, - callback: (err: Error | null, publicKey: Buffer, privateKey: string) => void, - ): void; - function generateKeyPair( - type: "rsa", - options: RSAKeyPairOptions<"der", "der">, - callback: (err: Error | null, publicKey: Buffer, privateKey: Buffer) => void, - ): void; - function generateKeyPair( - type: "rsa", - options: RSAKeyPairKeyObjectOptions, - callback: (err: Error | null, publicKey: KeyObject, privateKey: KeyObject) => void, - ): void; - function generateKeyPair( - type: "rsa-pss", - options: RSAPSSKeyPairOptions<"pem", "pem">, - callback: (err: Error | null, publicKey: string, privateKey: string) => void, - ): void; - function generateKeyPair( - type: "rsa-pss", - options: RSAPSSKeyPairOptions<"pem", "der">, - callback: (err: Error | null, publicKey: string, privateKey: Buffer) => void, - ): void; - function generateKeyPair( - type: "rsa-pss", - options: RSAPSSKeyPairOptions<"der", "pem">, - callback: (err: Error | null, publicKey: Buffer, privateKey: string) => void, - ): void; - function generateKeyPair( - type: "rsa-pss", - options: RSAPSSKeyPairOptions<"der", "der">, - callback: (err: Error | null, publicKey: Buffer, privateKey: Buffer) => void, - ): void; - function generateKeyPair( - type: "rsa-pss", - options: RSAPSSKeyPairKeyObjectOptions, - callback: (err: Error | null, publicKey: KeyObject, privateKey: KeyObject) => void, - ): void; - function generateKeyPair( - type: "dsa", - options: DSAKeyPairOptions<"pem", "pem">, - callback: (err: Error | null, publicKey: string, privateKey: string) => void, - ): void; - function generateKeyPair( - type: "dsa", - options: DSAKeyPairOptions<"pem", "der">, - callback: (err: Error | null, publicKey: string, privateKey: Buffer) => void, - ): void; - function generateKeyPair( - type: "dsa", - options: DSAKeyPairOptions<"der", "pem">, - callback: (err: Error | null, publicKey: Buffer, privateKey: string) => void, - ): void; - function generateKeyPair( - type: "dsa", - options: DSAKeyPairOptions<"der", "der">, - callback: (err: Error | null, publicKey: Buffer, privateKey: Buffer) => void, - ): void; - function generateKeyPair( - type: "dsa", - options: DSAKeyPairKeyObjectOptions, - callback: (err: Error | null, publicKey: KeyObject, privateKey: KeyObject) => void, - ): void; - function generateKeyPair( - type: "ec", - options: ECKeyPairOptions<"pem", "pem">, - callback: (err: Error | null, publicKey: string, privateKey: string) => void, - ): void; - function generateKeyPair( - type: "ec", - options: ECKeyPairOptions<"pem", "der">, - callback: (err: Error | null, publicKey: string, privateKey: Buffer) => void, - ): void; - function generateKeyPair( - type: "ec", - options: ECKeyPairOptions<"der", "pem">, - callback: (err: Error | null, publicKey: Buffer, privateKey: string) => void, - ): void; - function generateKeyPair( - type: "ec", - options: ECKeyPairOptions<"der", "der">, - callback: (err: Error | null, publicKey: Buffer, privateKey: Buffer) => void, - ): void; - function generateKeyPair( - type: "ec", - options: ECKeyPairKeyObjectOptions, - callback: (err: Error | null, publicKey: KeyObject, privateKey: KeyObject) => void, - ): void; - function generateKeyPair( - type: "ed25519", - options: ED25519KeyPairOptions<"pem", "pem">, - callback: (err: Error | null, publicKey: string, privateKey: string) => void, - ): void; - function generateKeyPair( - type: "ed25519", - options: ED25519KeyPairOptions<"pem", "der">, - callback: (err: Error | null, publicKey: string, privateKey: Buffer) => void, - ): void; - function generateKeyPair( - type: "ed25519", - options: ED25519KeyPairOptions<"der", "pem">, - callback: (err: Error | null, publicKey: Buffer, privateKey: string) => void, - ): void; - function generateKeyPair( - type: "ed25519", - options: ED25519KeyPairOptions<"der", "der">, - callback: (err: Error | null, publicKey: Buffer, privateKey: Buffer) => void, - ): void; - function generateKeyPair( - type: "ed25519", - options: ED25519KeyPairKeyObjectOptions | undefined, - callback: (err: Error | null, publicKey: KeyObject, privateKey: KeyObject) => void, - ): void; - function generateKeyPair( - type: "ed448", - options: ED448KeyPairOptions<"pem", "pem">, - callback: (err: Error | null, publicKey: string, privateKey: string) => void, - ): void; - function generateKeyPair( - type: "ed448", - options: ED448KeyPairOptions<"pem", "der">, - callback: (err: Error | null, publicKey: string, privateKey: Buffer) => void, - ): void; - function generateKeyPair( - type: "ed448", - options: ED448KeyPairOptions<"der", "pem">, - callback: (err: Error | null, publicKey: Buffer, privateKey: string) => void, - ): void; - function generateKeyPair( - type: "ed448", - options: ED448KeyPairOptions<"der", "der">, - callback: (err: Error | null, publicKey: Buffer, privateKey: Buffer) => void, - ): void; - function generateKeyPair( - type: "ed448", - options: ED448KeyPairKeyObjectOptions | undefined, - callback: (err: Error | null, publicKey: KeyObject, privateKey: KeyObject) => void, - ): void; - function generateKeyPair( - type: "x25519", - options: X25519KeyPairOptions<"pem", "pem">, - callback: (err: Error | null, publicKey: string, privateKey: string) => void, - ): void; - function generateKeyPair( - type: "x25519", - options: X25519KeyPairOptions<"pem", "der">, - callback: (err: Error | null, publicKey: string, privateKey: Buffer) => void, - ): void; - function generateKeyPair( - type: "x25519", - options: X25519KeyPairOptions<"der", "pem">, - callback: (err: Error | null, publicKey: Buffer, privateKey: string) => void, - ): void; - function generateKeyPair( - type: "x25519", - options: X25519KeyPairOptions<"der", "der">, - callback: (err: Error | null, publicKey: Buffer, privateKey: Buffer) => void, - ): void; - function generateKeyPair( - type: "x25519", - options: X25519KeyPairKeyObjectOptions | undefined, - callback: (err: Error | null, publicKey: KeyObject, privateKey: KeyObject) => void, - ): void; - function generateKeyPair( - type: "x448", - options: X448KeyPairOptions<"pem", "pem">, - callback: (err: Error | null, publicKey: string, privateKey: string) => void, - ): void; - function generateKeyPair( - type: "x448", - options: X448KeyPairOptions<"pem", "der">, - callback: (err: Error | null, publicKey: string, privateKey: Buffer) => void, - ): void; - function generateKeyPair( - type: "x448", - options: X448KeyPairOptions<"der", "pem">, - callback: (err: Error | null, publicKey: Buffer, privateKey: string) => void, - ): void; - function generateKeyPair( - type: "x448", - options: X448KeyPairOptions<"der", "der">, - callback: (err: Error | null, publicKey: Buffer, privateKey: Buffer) => void, - ): void; - function generateKeyPair( - type: "x448", - options: X448KeyPairKeyObjectOptions | undefined, - callback: (err: Error | null, publicKey: KeyObject, privateKey: KeyObject) => void, - ): void; - namespace generateKeyPair { - function __promisify__( - type: "rsa", - options: RSAKeyPairOptions<"pem", "pem">, - ): Promise<{ - publicKey: string; - privateKey: string; - }>; - function __promisify__( - type: "rsa", - options: RSAKeyPairOptions<"pem", "der">, - ): Promise<{ - publicKey: string; - privateKey: Buffer; - }>; - function __promisify__( - type: "rsa", - options: RSAKeyPairOptions<"der", "pem">, - ): Promise<{ - publicKey: Buffer; - privateKey: string; - }>; - function __promisify__( - type: "rsa", - options: RSAKeyPairOptions<"der", "der">, - ): Promise<{ - publicKey: Buffer; - privateKey: Buffer; - }>; - function __promisify__(type: "rsa", options: RSAKeyPairKeyObjectOptions): Promise; - function __promisify__( - type: "rsa-pss", - options: RSAPSSKeyPairOptions<"pem", "pem">, - ): Promise<{ - publicKey: string; - privateKey: string; - }>; - function __promisify__( - type: "rsa-pss", - options: RSAPSSKeyPairOptions<"pem", "der">, - ): Promise<{ - publicKey: string; - privateKey: Buffer; - }>; - function __promisify__( - type: "rsa-pss", - options: RSAPSSKeyPairOptions<"der", "pem">, - ): Promise<{ - publicKey: Buffer; - privateKey: string; - }>; - function __promisify__( - type: "rsa-pss", - options: RSAPSSKeyPairOptions<"der", "der">, - ): Promise<{ - publicKey: Buffer; - privateKey: Buffer; - }>; - function __promisify__( - type: "rsa-pss", - options: RSAPSSKeyPairKeyObjectOptions, - ): Promise; - function __promisify__( - type: "dsa", - options: DSAKeyPairOptions<"pem", "pem">, - ): Promise<{ - publicKey: string; - privateKey: string; - }>; - function __promisify__( - type: "dsa", - options: DSAKeyPairOptions<"pem", "der">, - ): Promise<{ - publicKey: string; - privateKey: Buffer; - }>; - function __promisify__( - type: "dsa", - options: DSAKeyPairOptions<"der", "pem">, - ): Promise<{ - publicKey: Buffer; - privateKey: string; - }>; - function __promisify__( - type: "dsa", - options: DSAKeyPairOptions<"der", "der">, - ): Promise<{ - publicKey: Buffer; - privateKey: Buffer; - }>; - function __promisify__(type: "dsa", options: DSAKeyPairKeyObjectOptions): Promise; - function __promisify__( - type: "ec", - options: ECKeyPairOptions<"pem", "pem">, - ): Promise<{ - publicKey: string; - privateKey: string; - }>; - function __promisify__( - type: "ec", - options: ECKeyPairOptions<"pem", "der">, - ): Promise<{ - publicKey: string; - privateKey: Buffer; - }>; - function __promisify__( - type: "ec", - options: ECKeyPairOptions<"der", "pem">, - ): Promise<{ - publicKey: Buffer; - privateKey: string; - }>; - function __promisify__( - type: "ec", - options: ECKeyPairOptions<"der", "der">, - ): Promise<{ - publicKey: Buffer; - privateKey: Buffer; - }>; - function __promisify__(type: "ec", options: ECKeyPairKeyObjectOptions): Promise; - function __promisify__( - type: "ed25519", - options: ED25519KeyPairOptions<"pem", "pem">, - ): Promise<{ - publicKey: string; - privateKey: string; - }>; - function __promisify__( - type: "ed25519", - options: ED25519KeyPairOptions<"pem", "der">, - ): Promise<{ - publicKey: string; - privateKey: Buffer; - }>; - function __promisify__( - type: "ed25519", - options: ED25519KeyPairOptions<"der", "pem">, - ): Promise<{ - publicKey: Buffer; - privateKey: string; - }>; - function __promisify__( - type: "ed25519", - options: ED25519KeyPairOptions<"der", "der">, - ): Promise<{ - publicKey: Buffer; - privateKey: Buffer; - }>; - function __promisify__( - type: "ed25519", - options?: ED25519KeyPairKeyObjectOptions, - ): Promise; - function __promisify__( - type: "ed448", - options: ED448KeyPairOptions<"pem", "pem">, - ): Promise<{ - publicKey: string; - privateKey: string; - }>; - function __promisify__( - type: "ed448", - options: ED448KeyPairOptions<"pem", "der">, - ): Promise<{ - publicKey: string; - privateKey: Buffer; - }>; - function __promisify__( - type: "ed448", - options: ED448KeyPairOptions<"der", "pem">, - ): Promise<{ - publicKey: Buffer; - privateKey: string; - }>; - function __promisify__( - type: "ed448", - options: ED448KeyPairOptions<"der", "der">, - ): Promise<{ - publicKey: Buffer; - privateKey: Buffer; - }>; - function __promisify__(type: "ed448", options?: ED448KeyPairKeyObjectOptions): Promise; - function __promisify__( - type: "x25519", - options: X25519KeyPairOptions<"pem", "pem">, - ): Promise<{ - publicKey: string; - privateKey: string; - }>; - function __promisify__( - type: "x25519", - options: X25519KeyPairOptions<"pem", "der">, - ): Promise<{ - publicKey: string; - privateKey: Buffer; - }>; - function __promisify__( - type: "x25519", - options: X25519KeyPairOptions<"der", "pem">, - ): Promise<{ - publicKey: Buffer; - privateKey: string; - }>; - function __promisify__( - type: "x25519", - options: X25519KeyPairOptions<"der", "der">, - ): Promise<{ - publicKey: Buffer; - privateKey: Buffer; - }>; - function __promisify__( - type: "x25519", - options?: X25519KeyPairKeyObjectOptions, - ): Promise; - function __promisify__( - type: "x448", - options: X448KeyPairOptions<"pem", "pem">, - ): Promise<{ - publicKey: string; - privateKey: string; - }>; - function __promisify__( - type: "x448", - options: X448KeyPairOptions<"pem", "der">, - ): Promise<{ - publicKey: string; - privateKey: Buffer; - }>; - function __promisify__( - type: "x448", - options: X448KeyPairOptions<"der", "pem">, - ): Promise<{ - publicKey: Buffer; - privateKey: string; - }>; - function __promisify__( - type: "x448", - options: X448KeyPairOptions<"der", "der">, - ): Promise<{ - publicKey: Buffer; - privateKey: Buffer; - }>; - function __promisify__(type: "x448", options?: X448KeyPairKeyObjectOptions): Promise; - } - /** - * Calculates and returns the signature for `data` using the given private key and - * algorithm. If `algorithm` is `null` or `undefined`, then the algorithm is - * dependent upon the key type (especially Ed25519 and Ed448). - * - * If `key` is not a `KeyObject`, this function behaves as if `key` had been - * passed to {@link createPrivateKey}. If it is an object, the following - * additional properties can be passed: - * - * If the `callback` function is provided this function uses libuv's threadpool. - * @since v12.0.0 - */ - function sign( - algorithm: string | null | undefined, - data: NodeJS.ArrayBufferView, - key: KeyLike | SignKeyObjectInput | SignPrivateKeyInput, - ): Buffer; - function sign( - algorithm: string | null | undefined, - data: NodeJS.ArrayBufferView, - key: KeyLike | SignKeyObjectInput | SignPrivateKeyInput, - callback: (error: Error | null, data: Buffer) => void, - ): void; - /** - * Verifies the given signature for `data` using the given key and algorithm. If`algorithm` is `null` or `undefined`, then the algorithm is dependent upon the - * key type (especially Ed25519 and Ed448). - * - * If `key` is not a `KeyObject`, this function behaves as if `key` had been - * passed to {@link createPublicKey}. If it is an object, the following - * additional properties can be passed: - * - * The `signature` argument is the previously calculated signature for the `data`. - * - * Because public keys can be derived from private keys, a private key or a public - * key may be passed for `key`. - * - * If the `callback` function is provided this function uses libuv's threadpool. - * @since v12.0.0 - */ - function verify( - algorithm: string | null | undefined, - data: NodeJS.ArrayBufferView, - key: KeyLike | VerifyKeyObjectInput | VerifyPublicKeyInput | VerifyJsonWebKeyInput, - signature: NodeJS.ArrayBufferView, - ): boolean; - function verify( - algorithm: string | null | undefined, - data: NodeJS.ArrayBufferView, - key: KeyLike | VerifyKeyObjectInput | VerifyPublicKeyInput | VerifyJsonWebKeyInput, - signature: NodeJS.ArrayBufferView, - callback: (error: Error | null, result: boolean) => void, - ): void; - /** - * Computes the Diffie-Hellman secret based on a `privateKey` and a `publicKey`. - * Both keys must have the same `asymmetricKeyType`, which must be one of `'dh'`(for Diffie-Hellman), `'ec'` (for ECDH), `'x448'`, or `'x25519'` (for ECDH-ES). - * @since v13.9.0, v12.17.0 - */ - function diffieHellman(options: { privateKey: KeyObject; publicKey: KeyObject }): Buffer; - type CipherMode = "cbc" | "ccm" | "cfb" | "ctr" | "ecb" | "gcm" | "ocb" | "ofb" | "stream" | "wrap" | "xts"; - interface CipherInfoOptions { - /** - * A test key length. - */ - keyLength?: number | undefined; - /** - * A test IV length. - */ - ivLength?: number | undefined; - } - interface CipherInfo { - /** - * The name of the cipher. - */ - name: string; - /** - * The nid of the cipher. - */ - nid: number; - /** - * The block size of the cipher in bytes. - * This property is omitted when mode is 'stream'. - */ - blockSize?: number | undefined; - /** - * The expected or default initialization vector length in bytes. - * This property is omitted if the cipher does not use an initialization vector. - */ - ivLength?: number | undefined; - /** - * The expected or default key length in bytes. - */ - keyLength: number; - /** - * The cipher mode. - */ - mode: CipherMode; - } - /** - * Returns information about a given cipher. - * - * Some ciphers accept variable length keys and initialization vectors. By default, - * the `crypto.getCipherInfo()` method will return the default values for these - * ciphers. To test if a given key length or iv length is acceptable for given - * cipher, use the `keyLength` and `ivLength` options. If the given values are - * unacceptable, `undefined` will be returned. - * @since v15.0.0 - * @param nameOrNid The name or nid of the cipher to query. - */ - function getCipherInfo(nameOrNid: string | number, options?: CipherInfoOptions): CipherInfo | undefined; - /** - * HKDF is a simple key derivation function defined in RFC 5869\. The given `ikm`,`salt` and `info` are used with the `digest` to derive a key of `keylen` bytes. - * - * The supplied `callback` function is called with two arguments: `err` and`derivedKey`. If an errors occurs while deriving the key, `err` will be set; - * otherwise `err` will be `null`. The successfully generated `derivedKey` will - * be passed to the callback as an [ArrayBuffer](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer). An error will be thrown if any - * of the input arguments specify invalid values or types. - * - * ```js - * import { Buffer } from 'node:buffer'; - * const { - * hkdf, - * } = await import('node:crypto'); - * - * hkdf('sha512', 'key', 'salt', 'info', 64, (err, derivedKey) => { - * if (err) throw err; - * console.log(Buffer.from(derivedKey).toString('hex')); // '24156e2...5391653' - * }); - * ``` - * @since v15.0.0 - * @param digest The digest algorithm to use. - * @param ikm The input keying material. Must be provided but can be zero-length. - * @param salt The salt value. Must be provided but can be zero-length. - * @param info Additional info value. Must be provided but can be zero-length, and cannot be more than 1024 bytes. - * @param keylen The length of the key to generate. Must be greater than 0. The maximum allowable value is `255` times the number of bytes produced by the selected digest function (e.g. `sha512` - * generates 64-byte hashes, making the maximum HKDF output 16320 bytes). - */ - function hkdf( - digest: string, - irm: BinaryLike | KeyObject, - salt: BinaryLike, - info: BinaryLike, - keylen: number, - callback: (err: Error | null, derivedKey: ArrayBuffer) => void, - ): void; - /** - * Provides a synchronous HKDF key derivation function as defined in RFC 5869\. The - * given `ikm`, `salt` and `info` are used with the `digest` to derive a key of`keylen` bytes. - * - * The successfully generated `derivedKey` will be returned as an [ArrayBuffer](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer). - * - * An error will be thrown if any of the input arguments specify invalid values or - * types, or if the derived key cannot be generated. - * - * ```js - * import { Buffer } from 'node:buffer'; - * const { - * hkdfSync, - * } = await import('node:crypto'); - * - * const derivedKey = hkdfSync('sha512', 'key', 'salt', 'info', 64); - * console.log(Buffer.from(derivedKey).toString('hex')); // '24156e2...5391653' - * ``` - * @since v15.0.0 - * @param digest The digest algorithm to use. - * @param ikm The input keying material. Must be provided but can be zero-length. - * @param salt The salt value. Must be provided but can be zero-length. - * @param info Additional info value. Must be provided but can be zero-length, and cannot be more than 1024 bytes. - * @param keylen The length of the key to generate. Must be greater than 0. The maximum allowable value is `255` times the number of bytes produced by the selected digest function (e.g. `sha512` - * generates 64-byte hashes, making the maximum HKDF output 16320 bytes). - */ - function hkdfSync( - digest: string, - ikm: BinaryLike | KeyObject, - salt: BinaryLike, - info: BinaryLike, - keylen: number, - ): ArrayBuffer; - interface SecureHeapUsage { - /** - * The total allocated secure heap size as specified using the `--secure-heap=n` command-line flag. - */ - total: number; - /** - * The minimum allocation from the secure heap as specified using the `--secure-heap-min` command-line flag. - */ - min: number; - /** - * The total number of bytes currently allocated from the secure heap. - */ - used: number; - /** - * The calculated ratio of `used` to `total` allocated bytes. - */ - utilization: number; - } - /** - * @since v15.6.0 - */ - function secureHeapUsed(): SecureHeapUsage; - interface RandomUUIDOptions { - /** - * By default, to improve performance, - * Node.js will pre-emptively generate and persistently cache enough - * random data to generate up to 128 random UUIDs. To generate a UUID - * without using the cache, set `disableEntropyCache` to `true`. - * - * @default `false` - */ - disableEntropyCache?: boolean | undefined; - } - type UUID = `${string}-${string}-${string}-${string}-${string}`; - /** - * Generates a random [RFC 4122](https://www.rfc-editor.org/rfc/rfc4122.txt) version 4 UUID. The UUID is generated using a - * cryptographic pseudorandom number generator. - * @since v15.6.0, v14.17.0 - */ - function randomUUID(options?: RandomUUIDOptions): UUID; - interface X509CheckOptions { - /** - * @default 'always' - */ - subject?: "always" | "default" | "never"; - /** - * @default true - */ - wildcards?: boolean; - /** - * @default true - */ - partialWildcards?: boolean; - /** - * @default false - */ - multiLabelWildcards?: boolean; - /** - * @default false - */ - singleLabelSubdomains?: boolean; - } - /** - * Encapsulates an X509 certificate and provides read-only access to - * its information. - * - * ```js - * const { X509Certificate } = await import('node:crypto'); - * - * const x509 = new X509Certificate('{... pem encoded cert ...}'); - * - * console.log(x509.subject); - * ``` - * @since v15.6.0 - */ - class X509Certificate { - /** - * Will be \`true\` if this is a Certificate Authority (CA) certificate. - * @since v15.6.0 - */ - readonly ca: boolean; - /** - * The SHA-1 fingerprint of this certificate. - * - * Because SHA-1 is cryptographically broken and because the security of SHA-1 is - * significantly worse than that of algorithms that are commonly used to sign - * certificates, consider using `x509.fingerprint256` instead. - * @since v15.6.0 - */ - readonly fingerprint: string; - /** - * The SHA-256 fingerprint of this certificate. - * @since v15.6.0 - */ - readonly fingerprint256: string; - /** - * The SHA-512 fingerprint of this certificate. - * - * Because computing the SHA-256 fingerprint is usually faster and because it is - * only half the size of the SHA-512 fingerprint, `x509.fingerprint256` may be - * a better choice. While SHA-512 presumably provides a higher level of security in - * general, the security of SHA-256 matches that of most algorithms that are - * commonly used to sign certificates. - * @since v17.2.0, v16.14.0 - */ - readonly fingerprint512: string; - /** - * The complete subject of this certificate. - * @since v15.6.0 - */ - readonly subject: string; - /** - * The subject alternative name specified for this certificate. - * - * This is a comma-separated list of subject alternative names. Each entry begins - * with a string identifying the kind of the subject alternative name followed by - * a colon and the value associated with the entry. - * - * Earlier versions of Node.js incorrectly assumed that it is safe to split this - * property at the two-character sequence `', '` (see [CVE-2021-44532](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-44532)). However, - * both malicious and legitimate certificates can contain subject alternative names - * that include this sequence when represented as a string. - * - * After the prefix denoting the type of the entry, the remainder of each entry - * might be enclosed in quotes to indicate that the value is a JSON string literal. - * For backward compatibility, Node.js only uses JSON string literals within this - * property when necessary to avoid ambiguity. Third-party code should be prepared - * to handle both possible entry formats. - * @since v15.6.0 - */ - readonly subjectAltName: string | undefined; - /** - * A textual representation of the certificate's authority information access - * extension. - * - * This is a line feed separated list of access descriptions. Each line begins with - * the access method and the kind of the access location, followed by a colon and - * the value associated with the access location. - * - * After the prefix denoting the access method and the kind of the access location, - * the remainder of each line might be enclosed in quotes to indicate that the - * value is a JSON string literal. For backward compatibility, Node.js only uses - * JSON string literals within this property when necessary to avoid ambiguity. - * Third-party code should be prepared to handle both possible entry formats. - * @since v15.6.0 - */ - readonly infoAccess: string | undefined; - /** - * An array detailing the key usages for this certificate. - * @since v15.6.0 - */ - readonly keyUsage: string[]; - /** - * The issuer identification included in this certificate. - * @since v15.6.0 - */ - readonly issuer: string; - /** - * The issuer certificate or `undefined` if the issuer certificate is not - * available. - * @since v15.9.0 - */ - readonly issuerCertificate?: X509Certificate | undefined; - /** - * The public key `KeyObject` for this certificate. - * @since v15.6.0 - */ - readonly publicKey: KeyObject; - /** - * A `Buffer` containing the DER encoding of this certificate. - * @since v15.6.0 - */ - readonly raw: Buffer; - /** - * The serial number of this certificate. - * - * Serial numbers are assigned by certificate authorities and do not uniquely - * identify certificates. Consider using `x509.fingerprint256` as a unique - * identifier instead. - * @since v15.6.0 - */ - readonly serialNumber: string; - /** - * The date/time from which this certificate is considered valid. - * @since v15.6.0 - */ - readonly validFrom: string; - /** - * The date/time until which this certificate is considered valid. - * @since v15.6.0 - */ - readonly validTo: string; - constructor(buffer: BinaryLike); - /** - * Checks whether the certificate matches the given email address. - * - * If the `'subject'` option is undefined or set to `'default'`, the certificate - * subject is only considered if the subject alternative name extension either does - * not exist or does not contain any email addresses. - * - * If the `'subject'` option is set to `'always'` and if the subject alternative - * name extension either does not exist or does not contain a matching email - * address, the certificate subject is considered. - * - * If the `'subject'` option is set to `'never'`, the certificate subject is never - * considered, even if the certificate contains no subject alternative names. - * @since v15.6.0 - * @return Returns `email` if the certificate matches, `undefined` if it does not. - */ - checkEmail(email: string, options?: Pick): string | undefined; - /** - * Checks whether the certificate matches the given host name. - * - * If the certificate matches the given host name, the matching subject name is - * returned. The returned name might be an exact match (e.g., `foo.example.com`) - * or it might contain wildcards (e.g., `*.example.com`). Because host name - * comparisons are case-insensitive, the returned subject name might also differ - * from the given `name` in capitalization. - * - * If the `'subject'` option is undefined or set to `'default'`, the certificate - * subject is only considered if the subject alternative name extension either does - * not exist or does not contain any DNS names. This behavior is consistent with [RFC 2818](https://www.rfc-editor.org/rfc/rfc2818.txt) ("HTTP Over TLS"). - * - * If the `'subject'` option is set to `'always'` and if the subject alternative - * name extension either does not exist or does not contain a matching DNS name, - * the certificate subject is considered. - * - * If the `'subject'` option is set to `'never'`, the certificate subject is never - * considered, even if the certificate contains no subject alternative names. - * @since v15.6.0 - * @return Returns a subject name that matches `name`, or `undefined` if no subject name matches `name`. - */ - checkHost(name: string, options?: X509CheckOptions): string | undefined; - /** - * Checks whether the certificate matches the given IP address (IPv4 or IPv6). - * - * Only [RFC 5280](https://www.rfc-editor.org/rfc/rfc5280.txt) `iPAddress` subject alternative names are considered, and they - * must match the given `ip` address exactly. Other subject alternative names as - * well as the subject field of the certificate are ignored. - * @since v15.6.0 - * @return Returns `ip` if the certificate matches, `undefined` if it does not. - */ - checkIP(ip: string): string | undefined; - /** - * Checks whether this certificate was issued by the given `otherCert`. - * @since v15.6.0 - */ - checkIssued(otherCert: X509Certificate): boolean; - /** - * Checks whether the public key for this certificate is consistent with - * the given private key. - * @since v15.6.0 - * @param privateKey A private key. - */ - checkPrivateKey(privateKey: KeyObject): boolean; - /** - * There is no standard JSON encoding for X509 certificates. The`toJSON()` method returns a string containing the PEM encoded - * certificate. - * @since v15.6.0 - */ - toJSON(): string; - /** - * Returns information about this certificate using the legacy `certificate object` encoding. - * @since v15.6.0 - */ - toLegacyObject(): PeerCertificate; - /** - * Returns the PEM-encoded certificate. - * @since v15.6.0 - */ - toString(): string; - /** - * Verifies that this certificate was signed by the given public key. - * Does not perform any other validation checks on the certificate. - * @since v15.6.0 - * @param publicKey A public key. - */ - verify(publicKey: KeyObject): boolean; - } - type LargeNumberLike = NodeJS.ArrayBufferView | SharedArrayBuffer | ArrayBuffer | bigint; - interface GeneratePrimeOptions { - add?: LargeNumberLike | undefined; - rem?: LargeNumberLike | undefined; - /** - * @default false - */ - safe?: boolean | undefined; - bigint?: boolean | undefined; - } - interface GeneratePrimeOptionsBigInt extends GeneratePrimeOptions { - bigint: true; - } - interface GeneratePrimeOptionsArrayBuffer extends GeneratePrimeOptions { - bigint?: false | undefined; - } - /** - * Generates a pseudorandom prime of `size` bits. - * - * If `options.safe` is `true`, the prime will be a safe prime -- that is,`(prime - 1) / 2` will also be a prime. - * - * The `options.add` and `options.rem` parameters can be used to enforce additional - * requirements, e.g., for Diffie-Hellman: - * - * * If `options.add` and `options.rem` are both set, the prime will satisfy the - * condition that `prime % add = rem`. - * * If only `options.add` is set and `options.safe` is not `true`, the prime will - * satisfy the condition that `prime % add = 1`. - * * If only `options.add` is set and `options.safe` is set to `true`, the prime - * will instead satisfy the condition that `prime % add = 3`. This is necessary - * because `prime % add = 1` for `options.add > 2` would contradict the condition - * enforced by `options.safe`. - * * `options.rem` is ignored if `options.add` is not given. - * - * Both `options.add` and `options.rem` must be encoded as big-endian sequences - * if given as an `ArrayBuffer`, `SharedArrayBuffer`, `TypedArray`, `Buffer`, or`DataView`. - * - * By default, the prime is encoded as a big-endian sequence of octets - * in an [ArrayBuffer](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer). If the `bigint` option is `true`, then a - * [bigint](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/BigInt) is provided. - * @since v15.8.0 - * @param size The size (in bits) of the prime to generate. - */ - function generatePrime(size: number, callback: (err: Error | null, prime: ArrayBuffer) => void): void; - function generatePrime( - size: number, - options: GeneratePrimeOptionsBigInt, - callback: (err: Error | null, prime: bigint) => void, - ): void; - function generatePrime( - size: number, - options: GeneratePrimeOptionsArrayBuffer, - callback: (err: Error | null, prime: ArrayBuffer) => void, - ): void; - function generatePrime( - size: number, - options: GeneratePrimeOptions, - callback: (err: Error | null, prime: ArrayBuffer | bigint) => void, - ): void; - /** - * Generates a pseudorandom prime of `size` bits. - * - * If `options.safe` is `true`, the prime will be a safe prime -- that is,`(prime - 1) / 2` will also be a prime. - * - * The `options.add` and `options.rem` parameters can be used to enforce additional - * requirements, e.g., for Diffie-Hellman: - * - * * If `options.add` and `options.rem` are both set, the prime will satisfy the - * condition that `prime % add = rem`. - * * If only `options.add` is set and `options.safe` is not `true`, the prime will - * satisfy the condition that `prime % add = 1`. - * * If only `options.add` is set and `options.safe` is set to `true`, the prime - * will instead satisfy the condition that `prime % add = 3`. This is necessary - * because `prime % add = 1` for `options.add > 2` would contradict the condition - * enforced by `options.safe`. - * * `options.rem` is ignored if `options.add` is not given. - * - * Both `options.add` and `options.rem` must be encoded as big-endian sequences - * if given as an `ArrayBuffer`, `SharedArrayBuffer`, `TypedArray`, `Buffer`, or`DataView`. - * - * By default, the prime is encoded as a big-endian sequence of octets - * in an [ArrayBuffer](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer). If the `bigint` option is `true`, then a - * [bigint](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/BigInt) is provided. - * @since v15.8.0 - * @param size The size (in bits) of the prime to generate. - */ - function generatePrimeSync(size: number): ArrayBuffer; - function generatePrimeSync(size: number, options: GeneratePrimeOptionsBigInt): bigint; - function generatePrimeSync(size: number, options: GeneratePrimeOptionsArrayBuffer): ArrayBuffer; - function generatePrimeSync(size: number, options: GeneratePrimeOptions): ArrayBuffer | bigint; - interface CheckPrimeOptions { - /** - * The number of Miller-Rabin probabilistic primality iterations to perform. - * When the value is 0 (zero), a number of checks is used that yields a false positive rate of at most `2**-64` for random input. - * Care must be used when selecting a number of checks. - * Refer to the OpenSSL documentation for the BN_is_prime_ex function nchecks options for more details. - * - * @default 0 - */ - checks?: number | undefined; - } - /** - * Checks the primality of the `candidate`. - * @since v15.8.0 - * @param candidate A possible prime encoded as a sequence of big endian octets of arbitrary length. - */ - function checkPrime(value: LargeNumberLike, callback: (err: Error | null, result: boolean) => void): void; - function checkPrime( - value: LargeNumberLike, - options: CheckPrimeOptions, - callback: (err: Error | null, result: boolean) => void, - ): void; - /** - * Checks the primality of the `candidate`. - * @since v15.8.0 - * @param candidate A possible prime encoded as a sequence of big endian octets of arbitrary length. - * @return `true` if the candidate is a prime with an error probability less than `0.25 ** options.checks`. - */ - function checkPrimeSync(candidate: LargeNumberLike, options?: CheckPrimeOptions): boolean; - /** - * Load and set the `engine` for some or all OpenSSL functions (selected by flags). - * - * `engine` could be either an id or a path to the engine's shared library. - * - * The optional `flags` argument uses `ENGINE_METHOD_ALL` by default. The `flags`is a bit field taking one of or a mix of the following flags (defined in`crypto.constants`): - * - * * `crypto.constants.ENGINE_METHOD_RSA` - * * `crypto.constants.ENGINE_METHOD_DSA` - * * `crypto.constants.ENGINE_METHOD_DH` - * * `crypto.constants.ENGINE_METHOD_RAND` - * * `crypto.constants.ENGINE_METHOD_EC` - * * `crypto.constants.ENGINE_METHOD_CIPHERS` - * * `crypto.constants.ENGINE_METHOD_DIGESTS` - * * `crypto.constants.ENGINE_METHOD_PKEY_METHS` - * * `crypto.constants.ENGINE_METHOD_PKEY_ASN1_METHS` - * * `crypto.constants.ENGINE_METHOD_ALL` - * * `crypto.constants.ENGINE_METHOD_NONE` - * @since v0.11.11 - * @param flags - */ - function setEngine(engine: string, flags?: number): void; - /** - * A convenient alias for {@link webcrypto.getRandomValues}. This - * implementation is not compliant with the Web Crypto spec, to write - * web-compatible code use {@link webcrypto.getRandomValues} instead. - * @since v17.4.0 - * @return Returns `typedArray`. - */ - function getRandomValues(typedArray: T): T; - /** - * A convenient alias for `crypto.webcrypto.subtle`. - * @since v17.4.0 - */ - const subtle: webcrypto.SubtleCrypto; - /** - * An implementation of the Web Crypto API standard. - * - * See the {@link https://nodejs.org/docs/latest/api/webcrypto.html Web Crypto API documentation} for details. - * @since v15.0.0 - */ - const webcrypto: webcrypto.Crypto; - namespace webcrypto { - type BufferSource = ArrayBufferView | ArrayBuffer; - type KeyFormat = "jwk" | "pkcs8" | "raw" | "spki"; - type KeyType = "private" | "public" | "secret"; - type KeyUsage = - | "decrypt" - | "deriveBits" - | "deriveKey" - | "encrypt" - | "sign" - | "unwrapKey" - | "verify" - | "wrapKey"; - type AlgorithmIdentifier = Algorithm | string; - type HashAlgorithmIdentifier = AlgorithmIdentifier; - type NamedCurve = string; - type BigInteger = Uint8Array; - interface AesCbcParams extends Algorithm { - iv: BufferSource; - } - interface AesCtrParams extends Algorithm { - counter: BufferSource; - length: number; - } - interface AesDerivedKeyParams extends Algorithm { - length: number; - } - interface AesGcmParams extends Algorithm { - additionalData?: BufferSource; - iv: BufferSource; - tagLength?: number; - } - interface AesKeyAlgorithm extends KeyAlgorithm { - length: number; - } - interface AesKeyGenParams extends Algorithm { - length: number; - } - interface Algorithm { - name: string; - } - interface EcKeyAlgorithm extends KeyAlgorithm { - namedCurve: NamedCurve; - } - interface EcKeyGenParams extends Algorithm { - namedCurve: NamedCurve; - } - interface EcKeyImportParams extends Algorithm { - namedCurve: NamedCurve; - } - interface EcdhKeyDeriveParams extends Algorithm { - public: CryptoKey; - } - interface EcdsaParams extends Algorithm { - hash: HashAlgorithmIdentifier; - } - interface Ed448Params extends Algorithm { - context?: BufferSource; - } - interface HkdfParams extends Algorithm { - hash: HashAlgorithmIdentifier; - info: BufferSource; - salt: BufferSource; - } - interface HmacImportParams extends Algorithm { - hash: HashAlgorithmIdentifier; - length?: number; - } - interface HmacKeyAlgorithm extends KeyAlgorithm { - hash: KeyAlgorithm; - length: number; - } - interface HmacKeyGenParams extends Algorithm { - hash: HashAlgorithmIdentifier; - length?: number; - } - interface JsonWebKey { - alg?: string; - crv?: string; - d?: string; - dp?: string; - dq?: string; - e?: string; - ext?: boolean; - k?: string; - key_ops?: string[]; - kty?: string; - n?: string; - oth?: RsaOtherPrimesInfo[]; - p?: string; - q?: string; - qi?: string; - use?: string; - x?: string; - y?: string; - } - interface KeyAlgorithm { - name: string; - } - interface Pbkdf2Params extends Algorithm { - hash: HashAlgorithmIdentifier; - iterations: number; - salt: BufferSource; - } - interface RsaHashedImportParams extends Algorithm { - hash: HashAlgorithmIdentifier; - } - interface RsaHashedKeyAlgorithm extends RsaKeyAlgorithm { - hash: KeyAlgorithm; - } - interface RsaHashedKeyGenParams extends RsaKeyGenParams { - hash: HashAlgorithmIdentifier; - } - interface RsaKeyAlgorithm extends KeyAlgorithm { - modulusLength: number; - publicExponent: BigInteger; - } - interface RsaKeyGenParams extends Algorithm { - modulusLength: number; - publicExponent: BigInteger; - } - interface RsaOaepParams extends Algorithm { - label?: BufferSource; - } - interface RsaOtherPrimesInfo { - d?: string; - r?: string; - t?: string; - } - interface RsaPssParams extends Algorithm { - saltLength: number; - } - /** - * Calling `require('node:crypto').webcrypto` returns an instance of the `Crypto` class. - * `Crypto` is a singleton that provides access to the remainder of the crypto API. - * @since v15.0.0 - */ - interface Crypto { - /** - * Provides access to the `SubtleCrypto` API. - * @since v15.0.0 - */ - readonly subtle: SubtleCrypto; - /** - * Generates cryptographically strong random values. - * The given `typedArray` is filled with random values, and a reference to `typedArray` is returned. - * - * The given `typedArray` must be an integer-based instance of {@link NodeJS.TypedArray}, i.e. `Float32Array` and `Float64Array` are not accepted. - * - * An error will be thrown if the given `typedArray` is larger than 65,536 bytes. - * @since v15.0.0 - */ - getRandomValues>(typedArray: T): T; - /** - * Generates a random {@link https://www.rfc-editor.org/rfc/rfc4122.txt RFC 4122} version 4 UUID. - * The UUID is generated using a cryptographic pseudorandom number generator. - * @since v16.7.0 - */ - randomUUID(): UUID; - CryptoKey: CryptoKeyConstructor; - } - // This constructor throws ILLEGAL_CONSTRUCTOR so it should not be newable. - interface CryptoKeyConstructor { - /** Illegal constructor */ - (_: { readonly _: unique symbol }): never; // Allows instanceof to work but not be callable by the user. - readonly length: 0; - readonly name: "CryptoKey"; - readonly prototype: CryptoKey; - } - /** - * @since v15.0.0 - */ - interface CryptoKey { - /** - * An object detailing the algorithm for which the key can be used along with additional algorithm-specific parameters. - * @since v15.0.0 - */ - readonly algorithm: KeyAlgorithm; - /** - * When `true`, the {@link CryptoKey} can be extracted using either `subtleCrypto.exportKey()` or `subtleCrypto.wrapKey()`. - * @since v15.0.0 - */ - readonly extractable: boolean; - /** - * A string identifying whether the key is a symmetric (`'secret'`) or asymmetric (`'private'` or `'public'`) key. - * @since v15.0.0 - */ - readonly type: KeyType; - /** - * An array of strings identifying the operations for which the key may be used. - * - * The possible usages are: - * - `'encrypt'` - The key may be used to encrypt data. - * - `'decrypt'` - The key may be used to decrypt data. - * - `'sign'` - The key may be used to generate digital signatures. - * - `'verify'` - The key may be used to verify digital signatures. - * - `'deriveKey'` - The key may be used to derive a new key. - * - `'deriveBits'` - The key may be used to derive bits. - * - `'wrapKey'` - The key may be used to wrap another key. - * - `'unwrapKey'` - The key may be used to unwrap another key. - * - * Valid key usages depend on the key algorithm (identified by `cryptokey.algorithm.name`). - * @since v15.0.0 - */ - readonly usages: KeyUsage[]; - } - /** - * The `CryptoKeyPair` is a simple dictionary object with `publicKey` and `privateKey` properties, representing an asymmetric key pair. - * @since v15.0.0 - */ - interface CryptoKeyPair { - /** - * A {@link CryptoKey} whose type will be `'private'`. - * @since v15.0.0 - */ - privateKey: CryptoKey; - /** - * A {@link CryptoKey} whose type will be `'public'`. - * @since v15.0.0 - */ - publicKey: CryptoKey; - } - /** - * @since v15.0.0 - */ - interface SubtleCrypto { - /** - * Using the method and parameters specified in `algorithm` and the keying material provided by `key`, - * `subtle.decrypt()` attempts to decipher the provided `data`. If successful, - * the returned promise will be resolved with an `` containing the plaintext result. - * - * The algorithms currently supported include: - * - * - `'RSA-OAEP'` - * - `'AES-CTR'` - * - `'AES-CBC'` - * - `'AES-GCM'` - * @since v15.0.0 - */ - decrypt( - algorithm: AlgorithmIdentifier | RsaOaepParams | AesCtrParams | AesCbcParams | AesGcmParams, - key: CryptoKey, - data: BufferSource, - ): Promise; - /** - * Using the method and parameters specified in `algorithm` and the keying material provided by `baseKey`, - * `subtle.deriveBits()` attempts to generate `length` bits. - * The Node.js implementation requires that when `length` is a number it must be multiple of `8`. - * When `length` is `null` the maximum number of bits for a given algorithm is generated. This is allowed - * for the `'ECDH'`, `'X25519'`, and `'X448'` algorithms. - * If successful, the returned promise will be resolved with an `` containing the generated data. - * - * The algorithms currently supported include: - * - * - `'ECDH'` - * - `'X25519'` - * - `'X448'` - * - `'HKDF'` - * - `'PBKDF2'` - * @since v15.0.0 - */ - deriveBits(algorithm: EcdhKeyDeriveParams, baseKey: CryptoKey, length: number | null): Promise; - deriveBits( - algorithm: AlgorithmIdentifier | HkdfParams | Pbkdf2Params, - baseKey: CryptoKey, - length: number, - ): Promise; - /** - * Using the method and parameters specified in `algorithm`, and the keying material provided by `baseKey`, - * `subtle.deriveKey()` attempts to generate a new ` based on the method and parameters in `derivedKeyAlgorithm`. - * - * Calling `subtle.deriveKey()` is equivalent to calling `subtle.deriveBits()` to generate raw keying material, - * then passing the result into the `subtle.importKey()` method using the `deriveKeyAlgorithm`, `extractable`, and `keyUsages` parameters as input. - * - * The algorithms currently supported include: - * - * - `'ECDH'` - * - `'X25519'` - * - `'X448'` - * - `'HKDF'` - * - `'PBKDF2'` - * @param keyUsages See {@link https://nodejs.org/docs/latest/api/webcrypto.html#cryptokeyusages Key usages}. - * @since v15.0.0 - */ - deriveKey( - algorithm: AlgorithmIdentifier | EcdhKeyDeriveParams | HkdfParams | Pbkdf2Params, - baseKey: CryptoKey, - derivedKeyAlgorithm: - | AlgorithmIdentifier - | AesDerivedKeyParams - | HmacImportParams - | HkdfParams - | Pbkdf2Params, - extractable: boolean, - keyUsages: readonly KeyUsage[], - ): Promise; - /** - * Using the method identified by `algorithm`, `subtle.digest()` attempts to generate a digest of `data`. - * If successful, the returned promise is resolved with an `` containing the computed digest. - * - * If `algorithm` is provided as a ``, it must be one of: - * - * - `'SHA-1'` - * - `'SHA-256'` - * - `'SHA-384'` - * - `'SHA-512'` - * - * If `algorithm` is provided as an ``, it must have a `name` property whose value is one of the above. - * @since v15.0.0 - */ - digest(algorithm: AlgorithmIdentifier, data: BufferSource): Promise; - /** - * Using the method and parameters specified by `algorithm` and the keying material provided by `key`, - * `subtle.encrypt()` attempts to encipher `data`. If successful, - * the returned promise is resolved with an `` containing the encrypted result. - * - * The algorithms currently supported include: - * - * - `'RSA-OAEP'` - * - `'AES-CTR'` - * - `'AES-CBC'` - * - `'AES-GCM'` - * @since v15.0.0 - */ - encrypt( - algorithm: AlgorithmIdentifier | RsaOaepParams | AesCtrParams | AesCbcParams | AesGcmParams, - key: CryptoKey, - data: BufferSource, - ): Promise; - /** - * Exports the given key into the specified format, if supported. - * - * If the `` is not extractable, the returned promise will reject. - * - * When `format` is either `'pkcs8'` or `'spki'` and the export is successful, - * the returned promise will be resolved with an `` containing the exported key data. - * - * When `format` is `'jwk'` and the export is successful, the returned promise will be resolved with a - * JavaScript object conforming to the {@link https://tools.ietf.org/html/rfc7517 JSON Web Key} specification. - * @param format Must be one of `'raw'`, `'pkcs8'`, `'spki'`, or `'jwk'`. - * @returns `` containing ``. - * @since v15.0.0 - */ - exportKey(format: "jwk", key: CryptoKey): Promise; - exportKey(format: Exclude, key: CryptoKey): Promise; - /** - * Using the method and parameters provided in `algorithm`, - * `subtle.generateKey()` attempts to generate new keying material. - * Depending the method used, the method may generate either a single `` or a ``. - * - * The `` (public and private key) generating algorithms supported include: - * - * - `'RSASSA-PKCS1-v1_5'` - * - `'RSA-PSS'` - * - `'RSA-OAEP'` - * - `'ECDSA'` - * - `'Ed25519'` - * - `'Ed448'` - * - `'ECDH'` - * - `'X25519'` - * - `'X448'` - * The `` (secret key) generating algorithms supported include: - * - * - `'HMAC'` - * - `'AES-CTR'` - * - `'AES-CBC'` - * - `'AES-GCM'` - * - `'AES-KW'` - * @param keyUsages See {@link https://nodejs.org/docs/latest/api/webcrypto.html#cryptokeyusages Key usages}. - * @since v15.0.0 - */ - generateKey( - algorithm: RsaHashedKeyGenParams | EcKeyGenParams, - extractable: boolean, - keyUsages: readonly KeyUsage[], - ): Promise; - generateKey( - algorithm: AesKeyGenParams | HmacKeyGenParams | Pbkdf2Params, - extractable: boolean, - keyUsages: readonly KeyUsage[], - ): Promise; - generateKey( - algorithm: AlgorithmIdentifier, - extractable: boolean, - keyUsages: KeyUsage[], - ): Promise; - /** - * The `subtle.importKey()` method attempts to interpret the provided `keyData` as the given `format` - * to create a `` instance using the provided `algorithm`, `extractable`, and `keyUsages` arguments. - * If the import is successful, the returned promise will be resolved with the created ``. - * - * If importing a `'PBKDF2'` key, `extractable` must be `false`. - * @param format Must be one of `'raw'`, `'pkcs8'`, `'spki'`, or `'jwk'`. - * @param keyUsages See {@link https://nodejs.org/docs/latest/api/webcrypto.html#cryptokeyusages Key usages}. - * @since v15.0.0 - */ - importKey( - format: "jwk", - keyData: JsonWebKey, - algorithm: - | AlgorithmIdentifier - | RsaHashedImportParams - | EcKeyImportParams - | HmacImportParams - | AesKeyAlgorithm, - extractable: boolean, - keyUsages: readonly KeyUsage[], - ): Promise; - importKey( - format: Exclude, - keyData: BufferSource, - algorithm: - | AlgorithmIdentifier - | RsaHashedImportParams - | EcKeyImportParams - | HmacImportParams - | AesKeyAlgorithm, - extractable: boolean, - keyUsages: KeyUsage[], - ): Promise; - /** - * Using the method and parameters given by `algorithm` and the keying material provided by `key`, - * `subtle.sign()` attempts to generate a cryptographic signature of `data`. If successful, - * the returned promise is resolved with an `` containing the generated signature. - * - * The algorithms currently supported include: - * - * - `'RSASSA-PKCS1-v1_5'` - * - `'RSA-PSS'` - * - `'ECDSA'` - * - `'Ed25519'` - * - `'Ed448'` - * - `'HMAC'` - * @since v15.0.0 - */ - sign( - algorithm: AlgorithmIdentifier | RsaPssParams | EcdsaParams | Ed448Params, - key: CryptoKey, - data: BufferSource, - ): Promise; - /** - * In cryptography, "wrapping a key" refers to exporting and then encrypting the keying material. - * The `subtle.unwrapKey()` method attempts to decrypt a wrapped key and create a `` instance. - * It is equivalent to calling `subtle.decrypt()` first on the encrypted key data (using the `wrappedKey`, `unwrapAlgo`, and `unwrappingKey` arguments as input) - * then passing the results in to the `subtle.importKey()` method using the `unwrappedKeyAlgo`, `extractable`, and `keyUsages` arguments as inputs. - * If successful, the returned promise is resolved with a `` object. - * - * The wrapping algorithms currently supported include: - * - * - `'RSA-OAEP'` - * - `'AES-CTR'` - * - `'AES-CBC'` - * - `'AES-GCM'` - * - `'AES-KW'` - * - * The unwrapped key algorithms supported include: - * - * - `'RSASSA-PKCS1-v1_5'` - * - `'RSA-PSS'` - * - `'RSA-OAEP'` - * - `'ECDSA'` - * - `'Ed25519'` - * - `'Ed448'` - * - `'ECDH'` - * - `'X25519'` - * - `'X448'` - * - `'HMAC'` - * - `'AES-CTR'` - * - `'AES-CBC'` - * - `'AES-GCM'` - * - `'AES-KW'` - * @param format Must be one of `'raw'`, `'pkcs8'`, `'spki'`, or `'jwk'`. - * @param keyUsages See {@link https://nodejs.org/docs/latest/api/webcrypto.html#cryptokeyusages Key usages}. - * @since v15.0.0 - */ - unwrapKey( - format: KeyFormat, - wrappedKey: BufferSource, - unwrappingKey: CryptoKey, - unwrapAlgorithm: AlgorithmIdentifier | RsaOaepParams | AesCtrParams | AesCbcParams | AesGcmParams, - unwrappedKeyAlgorithm: - | AlgorithmIdentifier - | RsaHashedImportParams - | EcKeyImportParams - | HmacImportParams - | AesKeyAlgorithm, - extractable: boolean, - keyUsages: KeyUsage[], - ): Promise; - /** - * Using the method and parameters given in `algorithm` and the keying material provided by `key`, - * `subtle.verify()` attempts to verify that `signature` is a valid cryptographic signature of `data`. - * The returned promise is resolved with either `true` or `false`. - * - * The algorithms currently supported include: - * - * - `'RSASSA-PKCS1-v1_5'` - * - `'RSA-PSS'` - * - `'ECDSA'` - * - `'Ed25519'` - * - `'Ed448'` - * - `'HMAC'` - * @since v15.0.0 - */ - verify( - algorithm: AlgorithmIdentifier | RsaPssParams | EcdsaParams | Ed448Params, - key: CryptoKey, - signature: BufferSource, - data: BufferSource, - ): Promise; - /** - * In cryptography, "wrapping a key" refers to exporting and then encrypting the keying material. - * The `subtle.wrapKey()` method exports the keying material into the format identified by `format`, - * then encrypts it using the method and parameters specified by `wrapAlgo` and the keying material provided by `wrappingKey`. - * It is the equivalent to calling `subtle.exportKey()` using `format` and `key` as the arguments, - * then passing the result to the `subtle.encrypt()` method using `wrappingKey` and `wrapAlgo` as inputs. - * If successful, the returned promise will be resolved with an `` containing the encrypted key data. - * - * The wrapping algorithms currently supported include: - * - * - `'RSA-OAEP'` - * - `'AES-CTR'` - * - `'AES-CBC'` - * - `'AES-GCM'` - * - `'AES-KW'` - * @param format Must be one of `'raw'`, `'pkcs8'`, `'spki'`, or `'jwk'`. - * @since v15.0.0 - */ - wrapKey( - format: KeyFormat, - key: CryptoKey, - wrappingKey: CryptoKey, - wrapAlgorithm: AlgorithmIdentifier | RsaOaepParams | AesCtrParams | AesCbcParams | AesGcmParams, - ): Promise; - } - } - - global { - var crypto: typeof globalThis extends { - crypto: infer T; - onmessage: any; - } ? T - : webcrypto.Crypto; - } -} -declare module "node:crypto" { - export * from "crypto"; -} diff --git a/node_modules/@types/node/ts4.8/dgram.d.ts b/node_modules/@types/node/ts4.8/dgram.d.ts deleted file mode 100644 index 0b86ae7..0000000 --- a/node_modules/@types/node/ts4.8/dgram.d.ts +++ /dev/null @@ -1,596 +0,0 @@ -/** - * The `node:dgram` module provides an implementation of UDP datagram sockets. - * - * ```js - * import dgram from 'node:dgram'; - * - * const server = dgram.createSocket('udp4'); - * - * server.on('error', (err) => { - * console.error(`server error:\n${err.stack}`); - * server.close(); - * }); - * - * server.on('message', (msg, rinfo) => { - * console.log(`server got: ${msg} from ${rinfo.address}:${rinfo.port}`); - * }); - * - * server.on('listening', () => { - * const address = server.address(); - * console.log(`server listening ${address.address}:${address.port}`); - * }); - * - * server.bind(41234); - * // Prints: server listening 0.0.0.0:41234 - * ``` - * @see [source](https://github.com/nodejs/node/blob/v20.2.0/lib/dgram.js) - */ -declare module "dgram" { - import { AddressInfo } from "node:net"; - import * as dns from "node:dns"; - import { Abortable, EventEmitter } from "node:events"; - interface RemoteInfo { - address: string; - family: "IPv4" | "IPv6"; - port: number; - size: number; - } - interface BindOptions { - port?: number | undefined; - address?: string | undefined; - exclusive?: boolean | undefined; - fd?: number | undefined; - } - type SocketType = "udp4" | "udp6"; - interface SocketOptions extends Abortable { - type: SocketType; - reuseAddr?: boolean | undefined; - /** - * @default false - */ - ipv6Only?: boolean | undefined; - recvBufferSize?: number | undefined; - sendBufferSize?: number | undefined; - lookup?: - | (( - hostname: string, - options: dns.LookupOneOptions, - callback: (err: NodeJS.ErrnoException | null, address: string, family: number) => void, - ) => void) - | undefined; - } - /** - * Creates a `dgram.Socket` object. Once the socket is created, calling `socket.bind()` will instruct the socket to begin listening for datagram - * messages. When `address` and `port` are not passed to `socket.bind()` the - * method will bind the socket to the "all interfaces" address on a random port - * (it does the right thing for both `udp4` and `udp6` sockets). The bound address - * and port can be retrieved using `socket.address().address` and `socket.address().port`. - * - * If the `signal` option is enabled, calling `.abort()` on the corresponding`AbortController` is similar to calling `.close()` on the socket: - * - * ```js - * const controller = new AbortController(); - * const { signal } = controller; - * const server = dgram.createSocket({ type: 'udp4', signal }); - * server.on('message', (msg, rinfo) => { - * console.log(`server got: ${msg} from ${rinfo.address}:${rinfo.port}`); - * }); - * // Later, when you want to close the server. - * controller.abort(); - * ``` - * @since v0.11.13 - * @param options Available options are: - * @param callback Attached as a listener for `'message'` events. Optional. - */ - function createSocket(type: SocketType, callback?: (msg: Buffer, rinfo: RemoteInfo) => void): Socket; - function createSocket(options: SocketOptions, callback?: (msg: Buffer, rinfo: RemoteInfo) => void): Socket; - /** - * Encapsulates the datagram functionality. - * - * New instances of `dgram.Socket` are created using {@link createSocket}. - * The `new` keyword is not to be used to create `dgram.Socket` instances. - * @since v0.1.99 - */ - class Socket extends EventEmitter { - /** - * Tells the kernel to join a multicast group at the given `multicastAddress` and`multicastInterface` using the `IP_ADD_MEMBERSHIP` socket option. If the`multicastInterface` argument is not - * specified, the operating system will choose - * one interface and will add membership to it. To add membership to every - * available interface, call `addMembership` multiple times, once per interface. - * - * When called on an unbound socket, this method will implicitly bind to a random - * port, listening on all interfaces. - * - * When sharing a UDP socket across multiple `cluster` workers, the`socket.addMembership()` function must be called only once or an`EADDRINUSE` error will occur: - * - * ```js - * import cluster from 'node:cluster'; - * import dgram from 'node:dgram'; - * - * if (cluster.isPrimary) { - * cluster.fork(); // Works ok. - * cluster.fork(); // Fails with EADDRINUSE. - * } else { - * const s = dgram.createSocket('udp4'); - * s.bind(1234, () => { - * s.addMembership('224.0.0.114'); - * }); - * } - * ``` - * @since v0.6.9 - */ - addMembership(multicastAddress: string, multicastInterface?: string): void; - /** - * Returns an object containing the address information for a socket. - * For UDP sockets, this object will contain `address`, `family`, and `port`properties. - * - * This method throws `EBADF` if called on an unbound socket. - * @since v0.1.99 - */ - address(): AddressInfo; - /** - * For UDP sockets, causes the `dgram.Socket` to listen for datagram - * messages on a named `port` and optional `address`. If `port` is not - * specified or is `0`, the operating system will attempt to bind to a - * random port. If `address` is not specified, the operating system will - * attempt to listen on all addresses. Once binding is complete, a`'listening'` event is emitted and the optional `callback` function is - * called. - * - * Specifying both a `'listening'` event listener and passing a`callback` to the `socket.bind()` method is not harmful but not very - * useful. - * - * A bound datagram socket keeps the Node.js process running to receive - * datagram messages. - * - * If binding fails, an `'error'` event is generated. In rare case (e.g. - * attempting to bind with a closed socket), an `Error` may be thrown. - * - * Example of a UDP server listening on port 41234: - * - * ```js - * import dgram from 'node:dgram'; - * - * const server = dgram.createSocket('udp4'); - * - * server.on('error', (err) => { - * console.error(`server error:\n${err.stack}`); - * server.close(); - * }); - * - * server.on('message', (msg, rinfo) => { - * console.log(`server got: ${msg} from ${rinfo.address}:${rinfo.port}`); - * }); - * - * server.on('listening', () => { - * const address = server.address(); - * console.log(`server listening ${address.address}:${address.port}`); - * }); - * - * server.bind(41234); - * // Prints: server listening 0.0.0.0:41234 - * ``` - * @since v0.1.99 - * @param callback with no parameters. Called when binding is complete. - */ - bind(port?: number, address?: string, callback?: () => void): this; - bind(port?: number, callback?: () => void): this; - bind(callback?: () => void): this; - bind(options: BindOptions, callback?: () => void): this; - /** - * Close the underlying socket and stop listening for data on it. If a callback is - * provided, it is added as a listener for the `'close'` event. - * @since v0.1.99 - * @param callback Called when the socket has been closed. - */ - close(callback?: () => void): this; - /** - * Associates the `dgram.Socket` to a remote address and port. Every - * message sent by this handle is automatically sent to that destination. Also, - * the socket will only receive messages from that remote peer. - * Trying to call `connect()` on an already connected socket will result - * in an `ERR_SOCKET_DGRAM_IS_CONNECTED` exception. If `address` is not - * provided, `'127.0.0.1'` (for `udp4` sockets) or `'::1'` (for `udp6` sockets) - * will be used by default. Once the connection is complete, a `'connect'` event - * is emitted and the optional `callback` function is called. In case of failure, - * the `callback` is called or, failing this, an `'error'` event is emitted. - * @since v12.0.0 - * @param callback Called when the connection is completed or on error. - */ - connect(port: number, address?: string, callback?: () => void): void; - connect(port: number, callback: () => void): void; - /** - * A synchronous function that disassociates a connected `dgram.Socket` from - * its remote address. Trying to call `disconnect()` on an unbound or already - * disconnected socket will result in an `ERR_SOCKET_DGRAM_NOT_CONNECTED` exception. - * @since v12.0.0 - */ - disconnect(): void; - /** - * Instructs the kernel to leave a multicast group at `multicastAddress` using the`IP_DROP_MEMBERSHIP` socket option. This method is automatically called by the - * kernel when the socket is closed or the process terminates, so most apps will - * never have reason to call this. - * - * If `multicastInterface` is not specified, the operating system will attempt to - * drop membership on all valid interfaces. - * @since v0.6.9 - */ - dropMembership(multicastAddress: string, multicastInterface?: string): void; - /** - * This method throws `ERR_SOCKET_BUFFER_SIZE` if called on an unbound socket. - * @since v8.7.0 - * @return the `SO_RCVBUF` socket receive buffer size in bytes. - */ - getRecvBufferSize(): number; - /** - * This method throws `ERR_SOCKET_BUFFER_SIZE` if called on an unbound socket. - * @since v8.7.0 - * @return the `SO_SNDBUF` socket send buffer size in bytes. - */ - getSendBufferSize(): number; - /** - * @since v18.8.0, v16.19.0 - * @return Number of bytes queued for sending. - */ - getSendQueueSize(): number; - /** - * @since v18.8.0, v16.19.0 - * @return Number of send requests currently in the queue awaiting to be processed. - */ - getSendQueueCount(): number; - /** - * By default, binding a socket will cause it to block the Node.js process from - * exiting as long as the socket is open. The `socket.unref()` method can be used - * to exclude the socket from the reference counting that keeps the Node.js - * process active. The `socket.ref()` method adds the socket back to the reference - * counting and restores the default behavior. - * - * Calling `socket.ref()` multiples times will have no additional effect. - * - * The `socket.ref()` method returns a reference to the socket so calls can be - * chained. - * @since v0.9.1 - */ - ref(): this; - /** - * Returns an object containing the `address`, `family`, and `port` of the remote - * endpoint. This method throws an `ERR_SOCKET_DGRAM_NOT_CONNECTED` exception - * if the socket is not connected. - * @since v12.0.0 - */ - remoteAddress(): AddressInfo; - /** - * Broadcasts a datagram on the socket. - * For connectionless sockets, the destination `port` and `address` must be - * specified. Connected sockets, on the other hand, will use their associated - * remote endpoint, so the `port` and `address` arguments must not be set. - * - * The `msg` argument contains the message to be sent. - * Depending on its type, different behavior can apply. If `msg` is a `Buffer`, - * any `TypedArray` or a `DataView`, - * the `offset` and `length` specify the offset within the `Buffer` where the - * message begins and the number of bytes in the message, respectively. - * If `msg` is a `String`, then it is automatically converted to a `Buffer`with `'utf8'` encoding. With messages that - * contain multi-byte characters, `offset` and `length` will be calculated with - * respect to `byte length` and not the character position. - * If `msg` is an array, `offset` and `length` must not be specified. - * - * The `address` argument is a string. If the value of `address` is a host name, - * DNS will be used to resolve the address of the host. If `address` is not - * provided or otherwise nullish, `'127.0.0.1'` (for `udp4` sockets) or `'::1'`(for `udp6` sockets) will be used by default. - * - * If the socket has not been previously bound with a call to `bind`, the socket - * is assigned a random port number and is bound to the "all interfaces" address - * (`'0.0.0.0'` for `udp4` sockets, `'::0'` for `udp6` sockets.) - * - * An optional `callback` function may be specified to as a way of reporting - * DNS errors or for determining when it is safe to reuse the `buf` object. - * DNS lookups delay the time to send for at least one tick of the - * Node.js event loop. - * - * The only way to know for sure that the datagram has been sent is by using a`callback`. If an error occurs and a `callback` is given, the error will be - * passed as the first argument to the `callback`. If a `callback` is not given, - * the error is emitted as an `'error'` event on the `socket` object. - * - * Offset and length are optional but both _must_ be set if either are used. - * They are supported only when the first argument is a `Buffer`, a `TypedArray`, - * or a `DataView`. - * - * This method throws `ERR_SOCKET_BAD_PORT` if called on an unbound socket. - * - * Example of sending a UDP packet to a port on `localhost`; - * - * ```js - * import dgram from 'node:dgram'; - * import { Buffer } from 'node:buffer'; - * - * const message = Buffer.from('Some bytes'); - * const client = dgram.createSocket('udp4'); - * client.send(message, 41234, 'localhost', (err) => { - * client.close(); - * }); - * ``` - * - * Example of sending a UDP packet composed of multiple buffers to a port on`127.0.0.1`; - * - * ```js - * import dgram from 'node:dgram'; - * import { Buffer } from 'node:buffer'; - * - * const buf1 = Buffer.from('Some '); - * const buf2 = Buffer.from('bytes'); - * const client = dgram.createSocket('udp4'); - * client.send([buf1, buf2], 41234, (err) => { - * client.close(); - * }); - * ``` - * - * Sending multiple buffers might be faster or slower depending on the - * application and operating system. Run benchmarks to - * determine the optimal strategy on a case-by-case basis. Generally speaking, - * however, sending multiple buffers is faster. - * - * Example of sending a UDP packet using a socket connected to a port on`localhost`: - * - * ```js - * import dgram from 'node:dgram'; - * import { Buffer } from 'node:buffer'; - * - * const message = Buffer.from('Some bytes'); - * const client = dgram.createSocket('udp4'); - * client.connect(41234, 'localhost', (err) => { - * client.send(message, (err) => { - * client.close(); - * }); - * }); - * ``` - * @since v0.1.99 - * @param msg Message to be sent. - * @param offset Offset in the buffer where the message starts. - * @param length Number of bytes in the message. - * @param port Destination port. - * @param address Destination host name or IP address. - * @param callback Called when the message has been sent. - */ - send( - msg: string | Uint8Array | readonly any[], - port?: number, - address?: string, - callback?: (error: Error | null, bytes: number) => void, - ): void; - send( - msg: string | Uint8Array | readonly any[], - port?: number, - callback?: (error: Error | null, bytes: number) => void, - ): void; - send( - msg: string | Uint8Array | readonly any[], - callback?: (error: Error | null, bytes: number) => void, - ): void; - send( - msg: string | Uint8Array, - offset: number, - length: number, - port?: number, - address?: string, - callback?: (error: Error | null, bytes: number) => void, - ): void; - send( - msg: string | Uint8Array, - offset: number, - length: number, - port?: number, - callback?: (error: Error | null, bytes: number) => void, - ): void; - send( - msg: string | Uint8Array, - offset: number, - length: number, - callback?: (error: Error | null, bytes: number) => void, - ): void; - /** - * Sets or clears the `SO_BROADCAST` socket option. When set to `true`, UDP - * packets may be sent to a local interface's broadcast address. - * - * This method throws `EBADF` if called on an unbound socket. - * @since v0.6.9 - */ - setBroadcast(flag: boolean): void; - /** - * _All references to scope in this section are referring to [IPv6 Zone Indices](https://en.wikipedia.org/wiki/IPv6_address#Scoped_literal_IPv6_addresses), which are defined by [RFC - * 4007](https://tools.ietf.org/html/rfc4007). In string form, an IP_ - * _with a scope index is written as `'IP%scope'` where scope is an interface name_ - * _or interface number._ - * - * Sets the default outgoing multicast interface of the socket to a chosen - * interface or back to system interface selection. The `multicastInterface` must - * be a valid string representation of an IP from the socket's family. - * - * For IPv4 sockets, this should be the IP configured for the desired physical - * interface. All packets sent to multicast on the socket will be sent on the - * interface determined by the most recent successful use of this call. - * - * For IPv6 sockets, `multicastInterface` should include a scope to indicate the - * interface as in the examples that follow. In IPv6, individual `send` calls can - * also use explicit scope in addresses, so only packets sent to a multicast - * address without specifying an explicit scope are affected by the most recent - * successful use of this call. - * - * This method throws `EBADF` if called on an unbound socket. - * - * #### Example: IPv6 outgoing multicast interface - * - * On most systems, where scope format uses the interface name: - * - * ```js - * const socket = dgram.createSocket('udp6'); - * - * socket.bind(1234, () => { - * socket.setMulticastInterface('::%eth1'); - * }); - * ``` - * - * On Windows, where scope format uses an interface number: - * - * ```js - * const socket = dgram.createSocket('udp6'); - * - * socket.bind(1234, () => { - * socket.setMulticastInterface('::%2'); - * }); - * ``` - * - * #### Example: IPv4 outgoing multicast interface - * - * All systems use an IP of the host on the desired physical interface: - * - * ```js - * const socket = dgram.createSocket('udp4'); - * - * socket.bind(1234, () => { - * socket.setMulticastInterface('10.0.0.2'); - * }); - * ``` - * @since v8.6.0 - */ - setMulticastInterface(multicastInterface: string): void; - /** - * Sets or clears the `IP_MULTICAST_LOOP` socket option. When set to `true`, - * multicast packets will also be received on the local interface. - * - * This method throws `EBADF` if called on an unbound socket. - * @since v0.3.8 - */ - setMulticastLoopback(flag: boolean): boolean; - /** - * Sets the `IP_MULTICAST_TTL` socket option. While TTL generally stands for - * "Time to Live", in this context it specifies the number of IP hops that a - * packet is allowed to travel through, specifically for multicast traffic. Each - * router or gateway that forwards a packet decrements the TTL. If the TTL is - * decremented to 0 by a router, it will not be forwarded. - * - * The `ttl` argument may be between 0 and 255\. The default on most systems is `1`. - * - * This method throws `EBADF` if called on an unbound socket. - * @since v0.3.8 - */ - setMulticastTTL(ttl: number): number; - /** - * Sets the `SO_RCVBUF` socket option. Sets the maximum socket receive buffer - * in bytes. - * - * This method throws `ERR_SOCKET_BUFFER_SIZE` if called on an unbound socket. - * @since v8.7.0 - */ - setRecvBufferSize(size: number): void; - /** - * Sets the `SO_SNDBUF` socket option. Sets the maximum socket send buffer - * in bytes. - * - * This method throws `ERR_SOCKET_BUFFER_SIZE` if called on an unbound socket. - * @since v8.7.0 - */ - setSendBufferSize(size: number): void; - /** - * Sets the `IP_TTL` socket option. While TTL generally stands for "Time to Live", - * in this context it specifies the number of IP hops that a packet is allowed to - * travel through. Each router or gateway that forwards a packet decrements the - * TTL. If the TTL is decremented to 0 by a router, it will not be forwarded. - * Changing TTL values is typically done for network probes or when multicasting. - * - * The `ttl` argument may be between 1 and 255\. The default on most systems - * is 64. - * - * This method throws `EBADF` if called on an unbound socket. - * @since v0.1.101 - */ - setTTL(ttl: number): number; - /** - * By default, binding a socket will cause it to block the Node.js process from - * exiting as long as the socket is open. The `socket.unref()` method can be used - * to exclude the socket from the reference counting that keeps the Node.js - * process active, allowing the process to exit even if the socket is still - * listening. - * - * Calling `socket.unref()` multiple times will have no additional effect. - * - * The `socket.unref()` method returns a reference to the socket so calls can be - * chained. - * @since v0.9.1 - */ - unref(): this; - /** - * Tells the kernel to join a source-specific multicast channel at the given`sourceAddress` and `groupAddress`, using the `multicastInterface` with the`IP_ADD_SOURCE_MEMBERSHIP` socket - * option. If the `multicastInterface` argument - * is not specified, the operating system will choose one interface and will add - * membership to it. To add membership to every available interface, call`socket.addSourceSpecificMembership()` multiple times, once per interface. - * - * When called on an unbound socket, this method will implicitly bind to a random - * port, listening on all interfaces. - * @since v13.1.0, v12.16.0 - */ - addSourceSpecificMembership(sourceAddress: string, groupAddress: string, multicastInterface?: string): void; - /** - * Instructs the kernel to leave a source-specific multicast channel at the given`sourceAddress` and `groupAddress` using the `IP_DROP_SOURCE_MEMBERSHIP`socket option. This method is - * automatically called by the kernel when the - * socket is closed or the process terminates, so most apps will never have - * reason to call this. - * - * If `multicastInterface` is not specified, the operating system will attempt to - * drop membership on all valid interfaces. - * @since v13.1.0, v12.16.0 - */ - dropSourceSpecificMembership(sourceAddress: string, groupAddress: string, multicastInterface?: string): void; - /** - * events.EventEmitter - * 1. close - * 2. connect - * 3. error - * 4. listening - * 5. message - */ - addListener(event: string, listener: (...args: any[]) => void): this; - addListener(event: "close", listener: () => void): this; - addListener(event: "connect", listener: () => void): this; - addListener(event: "error", listener: (err: Error) => void): this; - addListener(event: "listening", listener: () => void): this; - addListener(event: "message", listener: (msg: Buffer, rinfo: RemoteInfo) => void): this; - emit(event: string | symbol, ...args: any[]): boolean; - emit(event: "close"): boolean; - emit(event: "connect"): boolean; - emit(event: "error", err: Error): boolean; - emit(event: "listening"): boolean; - emit(event: "message", msg: Buffer, rinfo: RemoteInfo): boolean; - on(event: string, listener: (...args: any[]) => void): this; - on(event: "close", listener: () => void): this; - on(event: "connect", listener: () => void): this; - on(event: "error", listener: (err: Error) => void): this; - on(event: "listening", listener: () => void): this; - on(event: "message", listener: (msg: Buffer, rinfo: RemoteInfo) => void): this; - once(event: string, listener: (...args: any[]) => void): this; - once(event: "close", listener: () => void): this; - once(event: "connect", listener: () => void): this; - once(event: "error", listener: (err: Error) => void): this; - once(event: "listening", listener: () => void): this; - once(event: "message", listener: (msg: Buffer, rinfo: RemoteInfo) => void): this; - prependListener(event: string, listener: (...args: any[]) => void): this; - prependListener(event: "close", listener: () => void): this; - prependListener(event: "connect", listener: () => void): this; - prependListener(event: "error", listener: (err: Error) => void): this; - prependListener(event: "listening", listener: () => void): this; - prependListener(event: "message", listener: (msg: Buffer, rinfo: RemoteInfo) => void): this; - prependOnceListener(event: string, listener: (...args: any[]) => void): this; - prependOnceListener(event: "close", listener: () => void): this; - prependOnceListener(event: "connect", listener: () => void): this; - prependOnceListener(event: "error", listener: (err: Error) => void): this; - prependOnceListener(event: "listening", listener: () => void): this; - prependOnceListener(event: "message", listener: (msg: Buffer, rinfo: RemoteInfo) => void): this; - /** - * Calls `socket.close()` and returns a promise that fulfills when the socket has closed. - * @since v20.5.0 - */ - [Symbol.asyncDispose](): Promise; - } -} -declare module "node:dgram" { - export * from "dgram"; -} diff --git a/node_modules/@types/node/ts4.8/diagnostics_channel.d.ts b/node_modules/@types/node/ts4.8/diagnostics_channel.d.ts deleted file mode 100644 index cd4bd71..0000000 --- a/node_modules/@types/node/ts4.8/diagnostics_channel.d.ts +++ /dev/null @@ -1,545 +0,0 @@ -/** - * The `node:diagnostics_channel` module provides an API to create named channels - * to report arbitrary message data for diagnostics purposes. - * - * It can be accessed using: - * - * ```js - * import diagnostics_channel from 'node:diagnostics_channel'; - * ``` - * - * It is intended that a module writer wanting to report diagnostics messages - * will create one or many top-level channels to report messages through. - * Channels may also be acquired at runtime but it is not encouraged - * due to the additional overhead of doing so. Channels may be exported for - * convenience, but as long as the name is known it can be acquired anywhere. - * - * If you intend for your module to produce diagnostics data for others to - * consume it is recommended that you include documentation of what named - * channels are used along with the shape of the message data. Channel names - * should generally include the module name to avoid collisions with data from - * other modules. - * @since v15.1.0, v14.17.0 - * @see [source](https://github.com/nodejs/node/blob/v20.2.0/lib/diagnostics_channel.js) - */ -declare module "diagnostics_channel" { - import { AsyncLocalStorage } from "node:async_hooks"; - /** - * Check if there are active subscribers to the named channel. This is helpful if - * the message you want to send might be expensive to prepare. - * - * This API is optional but helpful when trying to publish messages from very - * performance-sensitive code. - * - * ```js - * import diagnostics_channel from 'node:diagnostics_channel'; - * - * if (diagnostics_channel.hasSubscribers('my-channel')) { - * // There are subscribers, prepare and publish message - * } - * ``` - * @since v15.1.0, v14.17.0 - * @param name The channel name - * @return If there are active subscribers - */ - function hasSubscribers(name: string | symbol): boolean; - /** - * This is the primary entry-point for anyone wanting to publish to a named - * channel. It produces a channel object which is optimized to reduce overhead at - * publish time as much as possible. - * - * ```js - * import diagnostics_channel from 'node:diagnostics_channel'; - * - * const channel = diagnostics_channel.channel('my-channel'); - * ``` - * @since v15.1.0, v14.17.0 - * @param name The channel name - * @return The named channel object - */ - function channel(name: string | symbol): Channel; - type ChannelListener = (message: unknown, name: string | symbol) => void; - /** - * Register a message handler to subscribe to this channel. This message handler - * will be run synchronously whenever a message is published to the channel. Any - * errors thrown in the message handler will trigger an `'uncaughtException'`. - * - * ```js - * import diagnostics_channel from 'node:diagnostics_channel'; - * - * diagnostics_channel.subscribe('my-channel', (message, name) => { - * // Received data - * }); - * ``` - * @since v18.7.0, v16.17.0 - * @param name The channel name - * @param onMessage The handler to receive channel messages - */ - function subscribe(name: string | symbol, onMessage: ChannelListener): void; - /** - * Remove a message handler previously registered to this channel with {@link subscribe}. - * - * ```js - * import diagnostics_channel from 'node:diagnostics_channel'; - * - * function onMessage(message, name) { - * // Received data - * } - * - * diagnostics_channel.subscribe('my-channel', onMessage); - * - * diagnostics_channel.unsubscribe('my-channel', onMessage); - * ``` - * @since v18.7.0, v16.17.0 - * @param name The channel name - * @param onMessage The previous subscribed handler to remove - * @return `true` if the handler was found, `false` otherwise. - */ - function unsubscribe(name: string | symbol, onMessage: ChannelListener): boolean; - /** - * Creates a `TracingChannel` wrapper for the given `TracingChannel Channels`. If a name is given, the corresponding tracing - * channels will be created in the form of `tracing:${name}:${eventType}` where`eventType` corresponds to the types of `TracingChannel Channels`. - * - * ```js - * import diagnostics_channel from 'node:diagnostics_channel'; - * - * const channelsByName = diagnostics_channel.tracingChannel('my-channel'); - * - * // or... - * - * const channelsByCollection = diagnostics_channel.tracingChannel({ - * start: diagnostics_channel.channel('tracing:my-channel:start'), - * end: diagnostics_channel.channel('tracing:my-channel:end'), - * asyncStart: diagnostics_channel.channel('tracing:my-channel:asyncStart'), - * asyncEnd: diagnostics_channel.channel('tracing:my-channel:asyncEnd'), - * error: diagnostics_channel.channel('tracing:my-channel:error'), - * }); - * ``` - * @since v19.9.0 - * @experimental - * @param nameOrChannels Channel name or object containing all the `TracingChannel Channels` - * @return Collection of channels to trace with - */ - function tracingChannel< - StoreType = unknown, - ContextType extends object = StoreType extends object ? StoreType : object, - >( - nameOrChannels: string | TracingChannelCollection, - ): TracingChannel; - /** - * The class `Channel` represents an individual named channel within the data - * pipeline. It is used to track subscribers and to publish messages when there - * are subscribers present. It exists as a separate object to avoid channel - * lookups at publish time, enabling very fast publish speeds and allowing - * for heavy use while incurring very minimal cost. Channels are created with {@link channel}, constructing a channel directly - * with `new Channel(name)` is not supported. - * @since v15.1.0, v14.17.0 - */ - class Channel { - readonly name: string | symbol; - /** - * Check if there are active subscribers to this channel. This is helpful if - * the message you want to send might be expensive to prepare. - * - * This API is optional but helpful when trying to publish messages from very - * performance-sensitive code. - * - * ```js - * import diagnostics_channel from 'node:diagnostics_channel'; - * - * const channel = diagnostics_channel.channel('my-channel'); - * - * if (channel.hasSubscribers) { - * // There are subscribers, prepare and publish message - * } - * ``` - * @since v15.1.0, v14.17.0 - */ - readonly hasSubscribers: boolean; - private constructor(name: string | symbol); - /** - * Publish a message to any subscribers to the channel. This will trigger - * message handlers synchronously so they will execute within the same context. - * - * ```js - * import diagnostics_channel from 'node:diagnostics_channel'; - * - * const channel = diagnostics_channel.channel('my-channel'); - * - * channel.publish({ - * some: 'message', - * }); - * ``` - * @since v15.1.0, v14.17.0 - * @param message The message to send to the channel subscribers - */ - publish(message: unknown): void; - /** - * Register a message handler to subscribe to this channel. This message handler - * will be run synchronously whenever a message is published to the channel. Any - * errors thrown in the message handler will trigger an `'uncaughtException'`. - * - * ```js - * import diagnostics_channel from 'node:diagnostics_channel'; - * - * const channel = diagnostics_channel.channel('my-channel'); - * - * channel.subscribe((message, name) => { - * // Received data - * }); - * ``` - * @since v15.1.0, v14.17.0 - * @deprecated Since v18.7.0,v16.17.0 - Use {@link subscribe(name, onMessage)} - * @param onMessage The handler to receive channel messages - */ - subscribe(onMessage: ChannelListener): void; - /** - * Remove a message handler previously registered to this channel with `channel.subscribe(onMessage)`. - * - * ```js - * import diagnostics_channel from 'node:diagnostics_channel'; - * - * const channel = diagnostics_channel.channel('my-channel'); - * - * function onMessage(message, name) { - * // Received data - * } - * - * channel.subscribe(onMessage); - * - * channel.unsubscribe(onMessage); - * ``` - * @since v15.1.0, v14.17.0 - * @deprecated Since v18.7.0,v16.17.0 - Use {@link unsubscribe(name, onMessage)} - * @param onMessage The previous subscribed handler to remove - * @return `true` if the handler was found, `false` otherwise. - */ - unsubscribe(onMessage: ChannelListener): void; - /** - * When `channel.runStores(context, ...)` is called, the given context data - * will be applied to any store bound to the channel. If the store has already been - * bound the previous `transform` function will be replaced with the new one. - * The `transform` function may be omitted to set the given context data as the - * context directly. - * - * ```js - * import diagnostics_channel from 'node:diagnostics_channel'; - * import { AsyncLocalStorage } from 'node:async_hooks'; - * - * const store = new AsyncLocalStorage(); - * - * const channel = diagnostics_channel.channel('my-channel'); - * - * channel.bindStore(store, (data) => { - * return { data }; - * }); - * ``` - * @since v19.9.0 - * @experimental - * @param store The store to which to bind the context data - * @param transform Transform context data before setting the store context - */ - bindStore(store: AsyncLocalStorage, transform?: (context: ContextType) => StoreType): void; - /** - * Remove a message handler previously registered to this channel with `channel.bindStore(store)`. - * - * ```js - * import diagnostics_channel from 'node:diagnostics_channel'; - * import { AsyncLocalStorage } from 'node:async_hooks'; - * - * const store = new AsyncLocalStorage(); - * - * const channel = diagnostics_channel.channel('my-channel'); - * - * channel.bindStore(store); - * channel.unbindStore(store); - * ``` - * @since v19.9.0 - * @experimental - * @param store The store to unbind from the channel. - * @return `true` if the store was found, `false` otherwise. - */ - unbindStore(store: any): void; - /** - * Applies the given data to any AsyncLocalStorage instances bound to the channel - * for the duration of the given function, then publishes to the channel within - * the scope of that data is applied to the stores. - * - * If a transform function was given to `channel.bindStore(store)` it will be - * applied to transform the message data before it becomes the context value for - * the store. The prior storage context is accessible from within the transform - * function in cases where context linking is required. - * - * The context applied to the store should be accessible in any async code which - * continues from execution which began during the given function, however - * there are some situations in which `context loss` may occur. - * - * ```js - * import diagnostics_channel from 'node:diagnostics_channel'; - * import { AsyncLocalStorage } from 'node:async_hooks'; - * - * const store = new AsyncLocalStorage(); - * - * const channel = diagnostics_channel.channel('my-channel'); - * - * channel.bindStore(store, (message) => { - * const parent = store.getStore(); - * return new Span(message, parent); - * }); - * channel.runStores({ some: 'message' }, () => { - * store.getStore(); // Span({ some: 'message' }) - * }); - * ``` - * @since v19.9.0 - * @experimental - * @param context Message to send to subscribers and bind to stores - * @param fn Handler to run within the entered storage context - * @param thisArg The receiver to be used for the function call. - * @param args Optional arguments to pass to the function. - */ - runStores(): void; - } - interface TracingChannelSubscribers { - start: (message: ContextType) => void; - end: ( - message: ContextType & { - error?: unknown; - result?: unknown; - }, - ) => void; - asyncStart: ( - message: ContextType & { - error?: unknown; - result?: unknown; - }, - ) => void; - asyncEnd: ( - message: ContextType & { - error?: unknown; - result?: unknown; - }, - ) => void; - error: ( - message: ContextType & { - error: unknown; - }, - ) => void; - } - interface TracingChannelCollection { - start: Channel; - end: Channel; - asyncStart: Channel; - asyncEnd: Channel; - error: Channel; - } - /** - * The class `TracingChannel` is a collection of `TracingChannel Channels` which - * together express a single traceable action. It is used to formalize and - * simplify the process of producing events for tracing application flow.{@link tracingChannel} is used to construct a`TracingChannel`. As with `Channel` it is recommended to create and reuse a - * single `TracingChannel` at the top-level of the file rather than creating them - * dynamically. - * @since v19.9.0 - * @experimental - */ - class TracingChannel implements TracingChannelCollection { - start: Channel; - end: Channel; - asyncStart: Channel; - asyncEnd: Channel; - error: Channel; - /** - * Helper to subscribe a collection of functions to the corresponding channels. - * This is the same as calling `channel.subscribe(onMessage)` on each channel - * individually. - * - * ```js - * import diagnostics_channel from 'node:diagnostics_channel'; - * - * const channels = diagnostics_channel.tracingChannel('my-channel'); - * - * channels.subscribe({ - * start(message) { - * // Handle start message - * }, - * end(message) { - * // Handle end message - * }, - * asyncStart(message) { - * // Handle asyncStart message - * }, - * asyncEnd(message) { - * // Handle asyncEnd message - * }, - * error(message) { - * // Handle error message - * }, - * }); - * ``` - * @since v19.9.0 - * @experimental - * @param subscribers Set of `TracingChannel Channels` subscribers - */ - subscribe(subscribers: TracingChannelSubscribers): void; - /** - * Helper to unsubscribe a collection of functions from the corresponding channels. - * This is the same as calling `channel.unsubscribe(onMessage)` on each channel - * individually. - * - * ```js - * import diagnostics_channel from 'node:diagnostics_channel'; - * - * const channels = diagnostics_channel.tracingChannel('my-channel'); - * - * channels.unsubscribe({ - * start(message) { - * // Handle start message - * }, - * end(message) { - * // Handle end message - * }, - * asyncStart(message) { - * // Handle asyncStart message - * }, - * asyncEnd(message) { - * // Handle asyncEnd message - * }, - * error(message) { - * // Handle error message - * }, - * }); - * ``` - * @since v19.9.0 - * @experimental - * @param subscribers Set of `TracingChannel Channels` subscribers - * @return `true` if all handlers were successfully unsubscribed, and `false` otherwise. - */ - unsubscribe(subscribers: TracingChannelSubscribers): void; - /** - * Trace a synchronous function call. This will always produce a `start event` and `end event` around the execution and may produce an `error event` if the given function throws an error. - * This will run the given function using `channel.runStores(context, ...)` on the `start` channel which ensures all - * events should have any bound stores set to match this trace context. - * - * ```js - * import diagnostics_channel from 'node:diagnostics_channel'; - * - * const channels = diagnostics_channel.tracingChannel('my-channel'); - * - * channels.traceSync(() => { - * // Do something - * }, { - * some: 'thing', - * }); - * ``` - * @since v19.9.0 - * @experimental - * @param fn Function to wrap a trace around - * @param context Shared object to correlate events through - * @param thisArg The receiver to be used for the function call - * @param args Optional arguments to pass to the function - * @return The return value of the given function - */ - traceSync( - fn: (this: ThisArg, ...args: Args) => any, - context?: ContextType, - thisArg?: ThisArg, - ...args: Args - ): void; - /** - * Trace a promise-returning function call. This will always produce a `start event` and `end event` around the synchronous portion of the - * function execution, and will produce an `asyncStart event` and `asyncEnd event` when a promise continuation is reached. It may also - * produce an `error event` if the given function throws an error or the - * returned promise rejects. This will run the given function using `channel.runStores(context, ...)` on the `start` channel which ensures all - * events should have any bound stores set to match this trace context. - * - * ```js - * import diagnostics_channel from 'node:diagnostics_channel'; - * - * const channels = diagnostics_channel.tracingChannel('my-channel'); - * - * channels.tracePromise(async () => { - * // Do something - * }, { - * some: 'thing', - * }); - * ``` - * @since v19.9.0 - * @experimental - * @param fn Promise-returning function to wrap a trace around - * @param context Shared object to correlate trace events through - * @param thisArg The receiver to be used for the function call - * @param args Optional arguments to pass to the function - * @return Chained from promise returned by the given function - */ - tracePromise( - fn: (this: ThisArg, ...args: Args) => Promise, - context?: ContextType, - thisArg?: ThisArg, - ...args: Args - ): void; - /** - * Trace a callback-receiving function call. This will always produce a `start event` and `end event` around the synchronous portion of the - * function execution, and will produce a `asyncStart event` and `asyncEnd event` around the callback execution. It may also produce an `error event` if the given function throws an error or - * the returned - * promise rejects. This will run the given function using `channel.runStores(context, ...)` on the `start` channel which ensures all - * events should have any bound stores set to match this trace context. - * - * The `position` will be -1 by default to indicate the final argument should - * be used as the callback. - * - * ```js - * import diagnostics_channel from 'node:diagnostics_channel'; - * - * const channels = diagnostics_channel.tracingChannel('my-channel'); - * - * channels.traceCallback((arg1, callback) => { - * // Do something - * callback(null, 'result'); - * }, 1, { - * some: 'thing', - * }, thisArg, arg1, callback); - * ``` - * - * The callback will also be run with `channel.runStores(context, ...)` which - * enables context loss recovery in some cases. - * - * ```js - * import diagnostics_channel from 'node:diagnostics_channel'; - * import { AsyncLocalStorage } from 'node:async_hooks'; - * - * const channels = diagnostics_channel.tracingChannel('my-channel'); - * const myStore = new AsyncLocalStorage(); - * - * // The start channel sets the initial store data to something - * // and stores that store data value on the trace context object - * channels.start.bindStore(myStore, (data) => { - * const span = new Span(data); - * data.span = span; - * return span; - * }); - * - * // Then asyncStart can restore from that data it stored previously - * channels.asyncStart.bindStore(myStore, (data) => { - * return data.span; - * }); - * ``` - * @since v19.9.0 - * @experimental - * @param fn callback using function to wrap a trace around - * @param position Zero-indexed argument position of expected callback - * @param context Shared object to correlate trace events through - * @param thisArg The receiver to be used for the function call - * @param args Optional arguments to pass to the function - * @return The return value of the given function - */ - traceCallback any>( - fn: Fn, - position: number | undefined, - context: ContextType | undefined, - thisArg: any, - ...args: Parameters - ): void; - } -} -declare module "node:diagnostics_channel" { - export * from "diagnostics_channel"; -} diff --git a/node_modules/@types/node/ts4.8/dns.d.ts b/node_modules/@types/node/ts4.8/dns.d.ts deleted file mode 100644 index 380cf7d..0000000 --- a/node_modules/@types/node/ts4.8/dns.d.ts +++ /dev/null @@ -1,809 +0,0 @@ -/** - * The `node:dns` module enables name resolution. For example, use it to look up IP - * addresses of host names. - * - * Although named for the [Domain Name System (DNS)](https://en.wikipedia.org/wiki/Domain_Name_System), it does not always use the - * DNS protocol for lookups. {@link lookup} uses the operating system - * facilities to perform name resolution. It may not need to perform any network - * communication. To perform name resolution the way other applications on the same - * system do, use {@link lookup}. - * - * ```js - * const dns = require('node:dns'); - * - * dns.lookup('example.org', (err, address, family) => { - * console.log('address: %j family: IPv%s', address, family); - * }); - * // address: "93.184.216.34" family: IPv4 - * ``` - * - * All other functions in the `node:dns` module connect to an actual DNS server to - * perform name resolution. They will always use the network to perform DNS - * queries. These functions do not use the same set of configuration files used by {@link lookup} (e.g. `/etc/hosts`). Use these functions to always perform - * DNS queries, bypassing other name-resolution facilities. - * - * ```js - * const dns = require('node:dns'); - * - * dns.resolve4('archive.org', (err, addresses) => { - * if (err) throw err; - * - * console.log(`addresses: ${JSON.stringify(addresses)}`); - * - * addresses.forEach((a) => { - * dns.reverse(a, (err, hostnames) => { - * if (err) { - * throw err; - * } - * console.log(`reverse for ${a}: ${JSON.stringify(hostnames)}`); - * }); - * }); - * }); - * ``` - * - * See the `Implementation considerations section` for more information. - * @see [source](https://github.com/nodejs/node/blob/v20.2.0/lib/dns.js) - */ -declare module "dns" { - import * as dnsPromises from "node:dns/promises"; - // Supported getaddrinfo flags. - export const ADDRCONFIG: number; - export const V4MAPPED: number; - /** - * If `dns.V4MAPPED` is specified, return resolved IPv6 addresses as - * well as IPv4 mapped IPv6 addresses. - */ - export const ALL: number; - export interface LookupOptions { - family?: number | undefined; - hints?: number | undefined; - all?: boolean | undefined; - /** - * @default true - */ - verbatim?: boolean | undefined; - } - export interface LookupOneOptions extends LookupOptions { - all?: false | undefined; - } - export interface LookupAllOptions extends LookupOptions { - all: true; - } - export interface LookupAddress { - address: string; - family: number; - } - /** - * Resolves a host name (e.g. `'nodejs.org'`) into the first found A (IPv4) or - * AAAA (IPv6) record. All `option` properties are optional. If `options` is an - * integer, then it must be `4` or `6` – if `options` is `0` or not provided, then - * IPv4 and IPv6 addresses are both returned if found. - * - * With the `all` option set to `true`, the arguments for `callback` change to`(err, addresses)`, with `addresses` being an array of objects with the - * properties `address` and `family`. - * - * On error, `err` is an `Error` object, where `err.code` is the error code. - * Keep in mind that `err.code` will be set to `'ENOTFOUND'` not only when - * the host name does not exist but also when the lookup fails in other ways - * such as no available file descriptors. - * - * `dns.lookup()` does not necessarily have anything to do with the DNS protocol. - * The implementation uses an operating system facility that can associate names - * with addresses and vice versa. This implementation can have subtle but - * important consequences on the behavior of any Node.js program. Please take some - * time to consult the `Implementation considerations section` before using`dns.lookup()`. - * - * Example usage: - * - * ```js - * const dns = require('node:dns'); - * const options = { - * family: 6, - * hints: dns.ADDRCONFIG | dns.V4MAPPED, - * }; - * dns.lookup('example.com', options, (err, address, family) => - * console.log('address: %j family: IPv%s', address, family)); - * // address: "2606:2800:220:1:248:1893:25c8:1946" family: IPv6 - * - * // When options.all is true, the result will be an Array. - * options.all = true; - * dns.lookup('example.com', options, (err, addresses) => - * console.log('addresses: %j', addresses)); - * // addresses: [{"address":"2606:2800:220:1:248:1893:25c8:1946","family":6}] - * ``` - * - * If this method is invoked as its `util.promisify()` ed version, and `all`is not set to `true`, it returns a `Promise` for an `Object` with `address` and`family` properties. - * @since v0.1.90 - */ - export function lookup( - hostname: string, - family: number, - callback: (err: NodeJS.ErrnoException | null, address: string, family: number) => void, - ): void; - export function lookup( - hostname: string, - options: LookupOneOptions, - callback: (err: NodeJS.ErrnoException | null, address: string, family: number) => void, - ): void; - export function lookup( - hostname: string, - options: LookupAllOptions, - callback: (err: NodeJS.ErrnoException | null, addresses: LookupAddress[]) => void, - ): void; - export function lookup( - hostname: string, - options: LookupOptions, - callback: (err: NodeJS.ErrnoException | null, address: string | LookupAddress[], family: number) => void, - ): void; - export function lookup( - hostname: string, - callback: (err: NodeJS.ErrnoException | null, address: string, family: number) => void, - ): void; - export namespace lookup { - function __promisify__(hostname: string, options: LookupAllOptions): Promise; - function __promisify__(hostname: string, options?: LookupOneOptions | number): Promise; - function __promisify__(hostname: string, options: LookupOptions): Promise; - } - /** - * Resolves the given `address` and `port` into a host name and service using - * the operating system's underlying `getnameinfo` implementation. - * - * If `address` is not a valid IP address, a `TypeError` will be thrown. - * The `port` will be coerced to a number. If it is not a legal port, a `TypeError`will be thrown. - * - * On an error, `err` is an `Error` object, where `err.code` is the error code. - * - * ```js - * const dns = require('node:dns'); - * dns.lookupService('127.0.0.1', 22, (err, hostname, service) => { - * console.log(hostname, service); - * // Prints: localhost ssh - * }); - * ``` - * - * If this method is invoked as its `util.promisify()` ed version, it returns a`Promise` for an `Object` with `hostname` and `service` properties. - * @since v0.11.14 - */ - export function lookupService( - address: string, - port: number, - callback: (err: NodeJS.ErrnoException | null, hostname: string, service: string) => void, - ): void; - export namespace lookupService { - function __promisify__( - address: string, - port: number, - ): Promise<{ - hostname: string; - service: string; - }>; - } - export interface ResolveOptions { - ttl: boolean; - } - export interface ResolveWithTtlOptions extends ResolveOptions { - ttl: true; - } - export interface RecordWithTtl { - address: string; - ttl: number; - } - /** @deprecated Use `AnyARecord` or `AnyAaaaRecord` instead. */ - export type AnyRecordWithTtl = AnyARecord | AnyAaaaRecord; - export interface AnyARecord extends RecordWithTtl { - type: "A"; - } - export interface AnyAaaaRecord extends RecordWithTtl { - type: "AAAA"; - } - export interface CaaRecord { - critical: number; - issue?: string | undefined; - issuewild?: string | undefined; - iodef?: string | undefined; - contactemail?: string | undefined; - contactphone?: string | undefined; - } - export interface MxRecord { - priority: number; - exchange: string; - } - export interface AnyMxRecord extends MxRecord { - type: "MX"; - } - export interface NaptrRecord { - flags: string; - service: string; - regexp: string; - replacement: string; - order: number; - preference: number; - } - export interface AnyNaptrRecord extends NaptrRecord { - type: "NAPTR"; - } - export interface SoaRecord { - nsname: string; - hostmaster: string; - serial: number; - refresh: number; - retry: number; - expire: number; - minttl: number; - } - export interface AnySoaRecord extends SoaRecord { - type: "SOA"; - } - export interface SrvRecord { - priority: number; - weight: number; - port: number; - name: string; - } - export interface AnySrvRecord extends SrvRecord { - type: "SRV"; - } - export interface AnyTxtRecord { - type: "TXT"; - entries: string[]; - } - export interface AnyNsRecord { - type: "NS"; - value: string; - } - export interface AnyPtrRecord { - type: "PTR"; - value: string; - } - export interface AnyCnameRecord { - type: "CNAME"; - value: string; - } - export type AnyRecord = - | AnyARecord - | AnyAaaaRecord - | AnyCnameRecord - | AnyMxRecord - | AnyNaptrRecord - | AnyNsRecord - | AnyPtrRecord - | AnySoaRecord - | AnySrvRecord - | AnyTxtRecord; - /** - * Uses the DNS protocol to resolve a host name (e.g. `'nodejs.org'`) into an array - * of the resource records. The `callback` function has arguments`(err, records)`. When successful, `records` will be an array of resource - * records. The type and structure of individual results varies based on `rrtype`: - * - * - * - * On error, `err` is an `Error` object, where `err.code` is one of the `DNS error codes`. - * @since v0.1.27 - * @param hostname Host name to resolve. - * @param [rrtype='A'] Resource record type. - */ - export function resolve( - hostname: string, - callback: (err: NodeJS.ErrnoException | null, addresses: string[]) => void, - ): void; - export function resolve( - hostname: string, - rrtype: "A", - callback: (err: NodeJS.ErrnoException | null, addresses: string[]) => void, - ): void; - export function resolve( - hostname: string, - rrtype: "AAAA", - callback: (err: NodeJS.ErrnoException | null, addresses: string[]) => void, - ): void; - export function resolve( - hostname: string, - rrtype: "ANY", - callback: (err: NodeJS.ErrnoException | null, addresses: AnyRecord[]) => void, - ): void; - export function resolve( - hostname: string, - rrtype: "CNAME", - callback: (err: NodeJS.ErrnoException | null, addresses: string[]) => void, - ): void; - export function resolve( - hostname: string, - rrtype: "MX", - callback: (err: NodeJS.ErrnoException | null, addresses: MxRecord[]) => void, - ): void; - export function resolve( - hostname: string, - rrtype: "NAPTR", - callback: (err: NodeJS.ErrnoException | null, addresses: NaptrRecord[]) => void, - ): void; - export function resolve( - hostname: string, - rrtype: "NS", - callback: (err: NodeJS.ErrnoException | null, addresses: string[]) => void, - ): void; - export function resolve( - hostname: string, - rrtype: "PTR", - callback: (err: NodeJS.ErrnoException | null, addresses: string[]) => void, - ): void; - export function resolve( - hostname: string, - rrtype: "SOA", - callback: (err: NodeJS.ErrnoException | null, addresses: SoaRecord) => void, - ): void; - export function resolve( - hostname: string, - rrtype: "SRV", - callback: (err: NodeJS.ErrnoException | null, addresses: SrvRecord[]) => void, - ): void; - export function resolve( - hostname: string, - rrtype: "TXT", - callback: (err: NodeJS.ErrnoException | null, addresses: string[][]) => void, - ): void; - export function resolve( - hostname: string, - rrtype: string, - callback: ( - err: NodeJS.ErrnoException | null, - addresses: string[] | MxRecord[] | NaptrRecord[] | SoaRecord | SrvRecord[] | string[][] | AnyRecord[], - ) => void, - ): void; - export namespace resolve { - function __promisify__(hostname: string, rrtype?: "A" | "AAAA" | "CNAME" | "NS" | "PTR"): Promise; - function __promisify__(hostname: string, rrtype: "ANY"): Promise; - function __promisify__(hostname: string, rrtype: "MX"): Promise; - function __promisify__(hostname: string, rrtype: "NAPTR"): Promise; - function __promisify__(hostname: string, rrtype: "SOA"): Promise; - function __promisify__(hostname: string, rrtype: "SRV"): Promise; - function __promisify__(hostname: string, rrtype: "TXT"): Promise; - function __promisify__( - hostname: string, - rrtype: string, - ): Promise; - } - /** - * Uses the DNS protocol to resolve a IPv4 addresses (`A` records) for the`hostname`. The `addresses` argument passed to the `callback` function - * will contain an array of IPv4 addresses (e.g.`['74.125.79.104', '74.125.79.105', '74.125.79.106']`). - * @since v0.1.16 - * @param hostname Host name to resolve. - */ - export function resolve4( - hostname: string, - callback: (err: NodeJS.ErrnoException | null, addresses: string[]) => void, - ): void; - export function resolve4( - hostname: string, - options: ResolveWithTtlOptions, - callback: (err: NodeJS.ErrnoException | null, addresses: RecordWithTtl[]) => void, - ): void; - export function resolve4( - hostname: string, - options: ResolveOptions, - callback: (err: NodeJS.ErrnoException | null, addresses: string[] | RecordWithTtl[]) => void, - ): void; - export namespace resolve4 { - function __promisify__(hostname: string): Promise; - function __promisify__(hostname: string, options: ResolveWithTtlOptions): Promise; - function __promisify__(hostname: string, options?: ResolveOptions): Promise; - } - /** - * Uses the DNS protocol to resolve IPv6 addresses (`AAAA` records) for the`hostname`. The `addresses` argument passed to the `callback` function - * will contain an array of IPv6 addresses. - * @since v0.1.16 - * @param hostname Host name to resolve. - */ - export function resolve6( - hostname: string, - callback: (err: NodeJS.ErrnoException | null, addresses: string[]) => void, - ): void; - export function resolve6( - hostname: string, - options: ResolveWithTtlOptions, - callback: (err: NodeJS.ErrnoException | null, addresses: RecordWithTtl[]) => void, - ): void; - export function resolve6( - hostname: string, - options: ResolveOptions, - callback: (err: NodeJS.ErrnoException | null, addresses: string[] | RecordWithTtl[]) => void, - ): void; - export namespace resolve6 { - function __promisify__(hostname: string): Promise; - function __promisify__(hostname: string, options: ResolveWithTtlOptions): Promise; - function __promisify__(hostname: string, options?: ResolveOptions): Promise; - } - /** - * Uses the DNS protocol to resolve `CNAME` records for the `hostname`. The`addresses` argument passed to the `callback` function - * will contain an array of canonical name records available for the `hostname`(e.g. `['bar.example.com']`). - * @since v0.3.2 - */ - export function resolveCname( - hostname: string, - callback: (err: NodeJS.ErrnoException | null, addresses: string[]) => void, - ): void; - export namespace resolveCname { - function __promisify__(hostname: string): Promise; - } - /** - * Uses the DNS protocol to resolve `CAA` records for the `hostname`. The`addresses` argument passed to the `callback` function - * will contain an array of certification authority authorization records - * available for the `hostname` (e.g. `[{critical: 0, iodef: 'mailto:pki@example.com'}, {critical: 128, issue: 'pki.example.com'}]`). - * @since v15.0.0, v14.17.0 - */ - export function resolveCaa( - hostname: string, - callback: (err: NodeJS.ErrnoException | null, records: CaaRecord[]) => void, - ): void; - export namespace resolveCaa { - function __promisify__(hostname: string): Promise; - } - /** - * Uses the DNS protocol to resolve mail exchange records (`MX` records) for the`hostname`. The `addresses` argument passed to the `callback` function will - * contain an array of objects containing both a `priority` and `exchange`property (e.g. `[{priority: 10, exchange: 'mx.example.com'}, ...]`). - * @since v0.1.27 - */ - export function resolveMx( - hostname: string, - callback: (err: NodeJS.ErrnoException | null, addresses: MxRecord[]) => void, - ): void; - export namespace resolveMx { - function __promisify__(hostname: string): Promise; - } - /** - * Uses the DNS protocol to resolve regular expression-based records (`NAPTR`records) for the `hostname`. The `addresses` argument passed to the `callback`function will contain an array of - * objects with the following properties: - * - * * `flags` - * * `service` - * * `regexp` - * * `replacement` - * * `order` - * * `preference` - * - * ```js - * { - * flags: 's', - * service: 'SIP+D2U', - * regexp: '', - * replacement: '_sip._udp.example.com', - * order: 30, - * preference: 100 - * } - * ``` - * @since v0.9.12 - */ - export function resolveNaptr( - hostname: string, - callback: (err: NodeJS.ErrnoException | null, addresses: NaptrRecord[]) => void, - ): void; - export namespace resolveNaptr { - function __promisify__(hostname: string): Promise; - } - /** - * Uses the DNS protocol to resolve name server records (`NS` records) for the`hostname`. The `addresses` argument passed to the `callback` function will - * contain an array of name server records available for `hostname`(e.g. `['ns1.example.com', 'ns2.example.com']`). - * @since v0.1.90 - */ - export function resolveNs( - hostname: string, - callback: (err: NodeJS.ErrnoException | null, addresses: string[]) => void, - ): void; - export namespace resolveNs { - function __promisify__(hostname: string): Promise; - } - /** - * Uses the DNS protocol to resolve pointer records (`PTR` records) for the`hostname`. The `addresses` argument passed to the `callback` function will - * be an array of strings containing the reply records. - * @since v6.0.0 - */ - export function resolvePtr( - hostname: string, - callback: (err: NodeJS.ErrnoException | null, addresses: string[]) => void, - ): void; - export namespace resolvePtr { - function __promisify__(hostname: string): Promise; - } - /** - * Uses the DNS protocol to resolve a start of authority record (`SOA` record) for - * the `hostname`. The `address` argument passed to the `callback` function will - * be an object with the following properties: - * - * * `nsname` - * * `hostmaster` - * * `serial` - * * `refresh` - * * `retry` - * * `expire` - * * `minttl` - * - * ```js - * { - * nsname: 'ns.example.com', - * hostmaster: 'root.example.com', - * serial: 2013101809, - * refresh: 10000, - * retry: 2400, - * expire: 604800, - * minttl: 3600 - * } - * ``` - * @since v0.11.10 - */ - export function resolveSoa( - hostname: string, - callback: (err: NodeJS.ErrnoException | null, address: SoaRecord) => void, - ): void; - export namespace resolveSoa { - function __promisify__(hostname: string): Promise; - } - /** - * Uses the DNS protocol to resolve service records (`SRV` records) for the`hostname`. The `addresses` argument passed to the `callback` function will - * be an array of objects with the following properties: - * - * * `priority` - * * `weight` - * * `port` - * * `name` - * - * ```js - * { - * priority: 10, - * weight: 5, - * port: 21223, - * name: 'service.example.com' - * } - * ``` - * @since v0.1.27 - */ - export function resolveSrv( - hostname: string, - callback: (err: NodeJS.ErrnoException | null, addresses: SrvRecord[]) => void, - ): void; - export namespace resolveSrv { - function __promisify__(hostname: string): Promise; - } - /** - * Uses the DNS protocol to resolve text queries (`TXT` records) for the`hostname`. The `records` argument passed to the `callback` function is a - * two-dimensional array of the text records available for `hostname` (e.g.`[ ['v=spf1 ip4:0.0.0.0 ', '~all' ] ]`). Each sub-array contains TXT chunks of - * one record. Depending on the use case, these could be either joined together or - * treated separately. - * @since v0.1.27 - */ - export function resolveTxt( - hostname: string, - callback: (err: NodeJS.ErrnoException | null, addresses: string[][]) => void, - ): void; - export namespace resolveTxt { - function __promisify__(hostname: string): Promise; - } - /** - * Uses the DNS protocol to resolve all records (also known as `ANY` or `*` query). - * The `ret` argument passed to the `callback` function will be an array containing - * various types of records. Each object has a property `type` that indicates the - * type of the current record. And depending on the `type`, additional properties - * will be present on the object: - * - * - * - * Here is an example of the `ret` object passed to the callback: - * - * ```js - * [ { type: 'A', address: '127.0.0.1', ttl: 299 }, - * { type: 'CNAME', value: 'example.com' }, - * { type: 'MX', exchange: 'alt4.aspmx.l.example.com', priority: 50 }, - * { type: 'NS', value: 'ns1.example.com' }, - * { type: 'TXT', entries: [ 'v=spf1 include:_spf.example.com ~all' ] }, - * { type: 'SOA', - * nsname: 'ns1.example.com', - * hostmaster: 'admin.example.com', - * serial: 156696742, - * refresh: 900, - * retry: 900, - * expire: 1800, - * minttl: 60 } ] - * ``` - * - * DNS server operators may choose not to respond to `ANY`queries. It may be better to call individual methods like {@link resolve4},{@link resolveMx}, and so on. For more details, see [RFC - * 8482](https://tools.ietf.org/html/rfc8482). - */ - export function resolveAny( - hostname: string, - callback: (err: NodeJS.ErrnoException | null, addresses: AnyRecord[]) => void, - ): void; - export namespace resolveAny { - function __promisify__(hostname: string): Promise; - } - /** - * Performs a reverse DNS query that resolves an IPv4 or IPv6 address to an - * array of host names. - * - * On error, `err` is an `Error` object, where `err.code` is - * one of the `DNS error codes`. - * @since v0.1.16 - */ - export function reverse( - ip: string, - callback: (err: NodeJS.ErrnoException | null, hostnames: string[]) => void, - ): void; - /** - * Get the default value for `verbatim` in {@link lookup} and `dnsPromises.lookup()`. The value could be: - * - * * `ipv4first`: for `verbatim` defaulting to `false`. - * * `verbatim`: for `verbatim` defaulting to `true`. - * @since v20.1.0 - */ - export function getDefaultResultOrder(): "ipv4first" | "verbatim"; - /** - * Sets the IP address and port of servers to be used when performing DNS - * resolution. The `servers` argument is an array of [RFC 5952](https://tools.ietf.org/html/rfc5952#section-6) formatted - * addresses. If the port is the IANA default DNS port (53) it can be omitted. - * - * ```js - * dns.setServers([ - * '4.4.4.4', - * '[2001:4860:4860::8888]', - * '4.4.4.4:1053', - * '[2001:4860:4860::8888]:1053', - * ]); - * ``` - * - * An error will be thrown if an invalid address is provided. - * - * The `dns.setServers()` method must not be called while a DNS query is in - * progress. - * - * The {@link setServers} method affects only {@link resolve},`dns.resolve*()` and {@link reverse} (and specifically _not_ {@link lookup}). - * - * This method works much like [resolve.conf](https://man7.org/linux/man-pages/man5/resolv.conf.5.html). - * That is, if attempting to resolve with the first server provided results in a`NOTFOUND` error, the `resolve()` method will _not_ attempt to resolve with - * subsequent servers provided. Fallback DNS servers will only be used if the - * earlier ones time out or result in some other error. - * @since v0.11.3 - * @param servers array of `RFC 5952` formatted addresses - */ - export function setServers(servers: readonly string[]): void; - /** - * Returns an array of IP address strings, formatted according to [RFC 5952](https://tools.ietf.org/html/rfc5952#section-6), - * that are currently configured for DNS resolution. A string will include a port - * section if a custom port is used. - * - * ```js - * [ - * '4.4.4.4', - * '2001:4860:4860::8888', - * '4.4.4.4:1053', - * '[2001:4860:4860::8888]:1053', - * ] - * ``` - * @since v0.11.3 - */ - export function getServers(): string[]; - /** - * Set the default value of `verbatim` in {@link lookup} and `dnsPromises.lookup()`. The value could be: - * - * * `ipv4first`: sets default `verbatim` `false`. - * * `verbatim`: sets default `verbatim` `true`. - * - * The default is `verbatim` and {@link setDefaultResultOrder} have higher - * priority than `--dns-result-order`. When using `worker threads`,{@link setDefaultResultOrder} from the main thread won't affect the default - * dns orders in workers. - * @since v16.4.0, v14.18.0 - * @param order must be `'ipv4first'` or `'verbatim'`. - */ - export function setDefaultResultOrder(order: "ipv4first" | "verbatim"): void; - // Error codes - export const NODATA: string; - export const FORMERR: string; - export const SERVFAIL: string; - export const NOTFOUND: string; - export const NOTIMP: string; - export const REFUSED: string; - export const BADQUERY: string; - export const BADNAME: string; - export const BADFAMILY: string; - export const BADRESP: string; - export const CONNREFUSED: string; - export const TIMEOUT: string; - export const EOF: string; - export const FILE: string; - export const NOMEM: string; - export const DESTRUCTION: string; - export const BADSTR: string; - export const BADFLAGS: string; - export const NONAME: string; - export const BADHINTS: string; - export const NOTINITIALIZED: string; - export const LOADIPHLPAPI: string; - export const ADDRGETNETWORKPARAMS: string; - export const CANCELLED: string; - export interface ResolverOptions { - timeout?: number | undefined; - /** - * @default 4 - */ - tries?: number; - } - /** - * An independent resolver for DNS requests. - * - * Creating a new resolver uses the default server settings. Setting - * the servers used for a resolver using `resolver.setServers()` does not affect - * other resolvers: - * - * ```js - * const { Resolver } = require('node:dns'); - * const resolver = new Resolver(); - * resolver.setServers(['4.4.4.4']); - * - * // This request will use the server at 4.4.4.4, independent of global settings. - * resolver.resolve4('example.org', (err, addresses) => { - * // ... - * }); - * ``` - * - * The following methods from the `node:dns` module are available: - * - * * `resolver.getServers()` - * * `resolver.resolve()` - * * `resolver.resolve4()` - * * `resolver.resolve6()` - * * `resolver.resolveAny()` - * * `resolver.resolveCaa()` - * * `resolver.resolveCname()` - * * `resolver.resolveMx()` - * * `resolver.resolveNaptr()` - * * `resolver.resolveNs()` - * * `resolver.resolvePtr()` - * * `resolver.resolveSoa()` - * * `resolver.resolveSrv()` - * * `resolver.resolveTxt()` - * * `resolver.reverse()` - * * `resolver.setServers()` - * @since v8.3.0 - */ - export class Resolver { - constructor(options?: ResolverOptions); - /** - * Cancel all outstanding DNS queries made by this resolver. The corresponding - * callbacks will be called with an error with code `ECANCELLED`. - * @since v8.3.0 - */ - cancel(): void; - getServers: typeof getServers; - resolve: typeof resolve; - resolve4: typeof resolve4; - resolve6: typeof resolve6; - resolveAny: typeof resolveAny; - resolveCaa: typeof resolveCaa; - resolveCname: typeof resolveCname; - resolveMx: typeof resolveMx; - resolveNaptr: typeof resolveNaptr; - resolveNs: typeof resolveNs; - resolvePtr: typeof resolvePtr; - resolveSoa: typeof resolveSoa; - resolveSrv: typeof resolveSrv; - resolveTxt: typeof resolveTxt; - reverse: typeof reverse; - /** - * The resolver instance will send its requests from the specified IP address. - * This allows programs to specify outbound interfaces when used on multi-homed - * systems. - * - * If a v4 or v6 address is not specified, it is set to the default and the - * operating system will choose a local address automatically. - * - * The resolver will use the v4 local address when making requests to IPv4 DNS - * servers, and the v6 local address when making requests to IPv6 DNS servers. - * The `rrtype` of resolution requests has no impact on the local address used. - * @since v15.1.0, v14.17.0 - * @param [ipv4='0.0.0.0'] A string representation of an IPv4 address. - * @param [ipv6='::0'] A string representation of an IPv6 address. - */ - setLocalAddress(ipv4?: string, ipv6?: string): void; - setServers: typeof setServers; - } - export { dnsPromises as promises }; -} -declare module "node:dns" { - export * from "dns"; -} diff --git a/node_modules/@types/node/ts4.8/dns/promises.d.ts b/node_modules/@types/node/ts4.8/dns/promises.d.ts deleted file mode 100644 index ef9b222..0000000 --- a/node_modules/@types/node/ts4.8/dns/promises.d.ts +++ /dev/null @@ -1,425 +0,0 @@ -/** - * The `dns.promises` API provides an alternative set of asynchronous DNS methods - * that return `Promise` objects rather than using callbacks. The API is accessible - * via `require('node:dns').promises` or `require('node:dns/promises')`. - * @since v10.6.0 - */ -declare module "dns/promises" { - import { - AnyRecord, - CaaRecord, - LookupAddress, - LookupAllOptions, - LookupOneOptions, - LookupOptions, - MxRecord, - NaptrRecord, - RecordWithTtl, - ResolveOptions, - ResolverOptions, - ResolveWithTtlOptions, - SoaRecord, - SrvRecord, - } from "node:dns"; - /** - * Returns an array of IP address strings, formatted according to [RFC 5952](https://tools.ietf.org/html/rfc5952#section-6), - * that are currently configured for DNS resolution. A string will include a port - * section if a custom port is used. - * - * ```js - * [ - * '4.4.4.4', - * '2001:4860:4860::8888', - * '4.4.4.4:1053', - * '[2001:4860:4860::8888]:1053', - * ] - * ``` - * @since v10.6.0 - */ - function getServers(): string[]; - /** - * Resolves a host name (e.g. `'nodejs.org'`) into the first found A (IPv4) or - * AAAA (IPv6) record. All `option` properties are optional. If `options` is an - * integer, then it must be `4` or `6` – if `options` is not provided, then IPv4 - * and IPv6 addresses are both returned if found. - * - * With the `all` option set to `true`, the `Promise` is resolved with `addresses`being an array of objects with the properties `address` and `family`. - * - * On error, the `Promise` is rejected with an `Error` object, where `err.code`is the error code. - * Keep in mind that `err.code` will be set to `'ENOTFOUND'` not only when - * the host name does not exist but also when the lookup fails in other ways - * such as no available file descriptors. - * - * `dnsPromises.lookup()` does not necessarily have anything to do with the DNS - * protocol. The implementation uses an operating system facility that can - * associate names with addresses and vice versa. This implementation can have - * subtle but important consequences on the behavior of any Node.js program. Please - * take some time to consult the `Implementation considerations section` before - * using `dnsPromises.lookup()`. - * - * Example usage: - * - * ```js - * const dns = require('node:dns'); - * const dnsPromises = dns.promises; - * const options = { - * family: 6, - * hints: dns.ADDRCONFIG | dns.V4MAPPED, - * }; - * - * dnsPromises.lookup('example.com', options).then((result) => { - * console.log('address: %j family: IPv%s', result.address, result.family); - * // address: "2606:2800:220:1:248:1893:25c8:1946" family: IPv6 - * }); - * - * // When options.all is true, the result will be an Array. - * options.all = true; - * dnsPromises.lookup('example.com', options).then((result) => { - * console.log('addresses: %j', result); - * // addresses: [{"address":"2606:2800:220:1:248:1893:25c8:1946","family":6}] - * }); - * ``` - * @since v10.6.0 - */ - function lookup(hostname: string, family: number): Promise; - function lookup(hostname: string, options: LookupOneOptions): Promise; - function lookup(hostname: string, options: LookupAllOptions): Promise; - function lookup(hostname: string, options: LookupOptions): Promise; - function lookup(hostname: string): Promise; - /** - * Resolves the given `address` and `port` into a host name and service using - * the operating system's underlying `getnameinfo` implementation. - * - * If `address` is not a valid IP address, a `TypeError` will be thrown. - * The `port` will be coerced to a number. If it is not a legal port, a `TypeError`will be thrown. - * - * On error, the `Promise` is rejected with an `Error` object, where `err.code`is the error code. - * - * ```js - * const dnsPromises = require('node:dns').promises; - * dnsPromises.lookupService('127.0.0.1', 22).then((result) => { - * console.log(result.hostname, result.service); - * // Prints: localhost ssh - * }); - * ``` - * @since v10.6.0 - */ - function lookupService( - address: string, - port: number, - ): Promise<{ - hostname: string; - service: string; - }>; - /** - * Uses the DNS protocol to resolve a host name (e.g. `'nodejs.org'`) into an array - * of the resource records. When successful, the `Promise` is resolved with an - * array of resource records. The type and structure of individual results vary - * based on `rrtype`: - * - * - * - * On error, the `Promise` is rejected with an `Error` object, where `err.code`is one of the `DNS error codes`. - * @since v10.6.0 - * @param hostname Host name to resolve. - * @param [rrtype='A'] Resource record type. - */ - function resolve(hostname: string): Promise; - function resolve(hostname: string, rrtype: "A"): Promise; - function resolve(hostname: string, rrtype: "AAAA"): Promise; - function resolve(hostname: string, rrtype: "ANY"): Promise; - function resolve(hostname: string, rrtype: "CAA"): Promise; - function resolve(hostname: string, rrtype: "CNAME"): Promise; - function resolve(hostname: string, rrtype: "MX"): Promise; - function resolve(hostname: string, rrtype: "NAPTR"): Promise; - function resolve(hostname: string, rrtype: "NS"): Promise; - function resolve(hostname: string, rrtype: "PTR"): Promise; - function resolve(hostname: string, rrtype: "SOA"): Promise; - function resolve(hostname: string, rrtype: "SRV"): Promise; - function resolve(hostname: string, rrtype: "TXT"): Promise; - function resolve( - hostname: string, - rrtype: string, - ): Promise; - /** - * Uses the DNS protocol to resolve IPv4 addresses (`A` records) for the`hostname`. On success, the `Promise` is resolved with an array of IPv4 - * addresses (e.g. `['74.125.79.104', '74.125.79.105', '74.125.79.106']`). - * @since v10.6.0 - * @param hostname Host name to resolve. - */ - function resolve4(hostname: string): Promise; - function resolve4(hostname: string, options: ResolveWithTtlOptions): Promise; - function resolve4(hostname: string, options: ResolveOptions): Promise; - /** - * Uses the DNS protocol to resolve IPv6 addresses (`AAAA` records) for the`hostname`. On success, the `Promise` is resolved with an array of IPv6 - * addresses. - * @since v10.6.0 - * @param hostname Host name to resolve. - */ - function resolve6(hostname: string): Promise; - function resolve6(hostname: string, options: ResolveWithTtlOptions): Promise; - function resolve6(hostname: string, options: ResolveOptions): Promise; - /** - * Uses the DNS protocol to resolve all records (also known as `ANY` or `*` query). - * On success, the `Promise` is resolved with an array containing various types of - * records. Each object has a property `type` that indicates the type of the - * current record. And depending on the `type`, additional properties will be - * present on the object: - * - * - * - * Here is an example of the result object: - * - * ```js - * [ { type: 'A', address: '127.0.0.1', ttl: 299 }, - * { type: 'CNAME', value: 'example.com' }, - * { type: 'MX', exchange: 'alt4.aspmx.l.example.com', priority: 50 }, - * { type: 'NS', value: 'ns1.example.com' }, - * { type: 'TXT', entries: [ 'v=spf1 include:_spf.example.com ~all' ] }, - * { type: 'SOA', - * nsname: 'ns1.example.com', - * hostmaster: 'admin.example.com', - * serial: 156696742, - * refresh: 900, - * retry: 900, - * expire: 1800, - * minttl: 60 } ] - * ``` - * @since v10.6.0 - */ - function resolveAny(hostname: string): Promise; - /** - * Uses the DNS protocol to resolve `CAA` records for the `hostname`. On success, - * the `Promise` is resolved with an array of objects containing available - * certification authority authorization records available for the `hostname`(e.g. `[{critical: 0, iodef: 'mailto:pki@example.com'},{critical: 128, issue: 'pki.example.com'}]`). - * @since v15.0.0, v14.17.0 - */ - function resolveCaa(hostname: string): Promise; - /** - * Uses the DNS protocol to resolve `CNAME` records for the `hostname`. On success, - * the `Promise` is resolved with an array of canonical name records available for - * the `hostname` (e.g. `['bar.example.com']`). - * @since v10.6.0 - */ - function resolveCname(hostname: string): Promise; - /** - * Uses the DNS protocol to resolve mail exchange records (`MX` records) for the`hostname`. On success, the `Promise` is resolved with an array of objects - * containing both a `priority` and `exchange` property (e.g.`[{priority: 10, exchange: 'mx.example.com'}, ...]`). - * @since v10.6.0 - */ - function resolveMx(hostname: string): Promise; - /** - * Uses the DNS protocol to resolve regular expression-based records (`NAPTR`records) for the `hostname`. On success, the `Promise` is resolved with an array - * of objects with the following properties: - * - * * `flags` - * * `service` - * * `regexp` - * * `replacement` - * * `order` - * * `preference` - * - * ```js - * { - * flags: 's', - * service: 'SIP+D2U', - * regexp: '', - * replacement: '_sip._udp.example.com', - * order: 30, - * preference: 100 - * } - * ``` - * @since v10.6.0 - */ - function resolveNaptr(hostname: string): Promise; - /** - * Uses the DNS protocol to resolve name server records (`NS` records) for the`hostname`. On success, the `Promise` is resolved with an array of name server - * records available for `hostname` (e.g.`['ns1.example.com', 'ns2.example.com']`). - * @since v10.6.0 - */ - function resolveNs(hostname: string): Promise; - /** - * Uses the DNS protocol to resolve pointer records (`PTR` records) for the`hostname`. On success, the `Promise` is resolved with an array of strings - * containing the reply records. - * @since v10.6.0 - */ - function resolvePtr(hostname: string): Promise; - /** - * Uses the DNS protocol to resolve a start of authority record (`SOA` record) for - * the `hostname`. On success, the `Promise` is resolved with an object with the - * following properties: - * - * * `nsname` - * * `hostmaster` - * * `serial` - * * `refresh` - * * `retry` - * * `expire` - * * `minttl` - * - * ```js - * { - * nsname: 'ns.example.com', - * hostmaster: 'root.example.com', - * serial: 2013101809, - * refresh: 10000, - * retry: 2400, - * expire: 604800, - * minttl: 3600 - * } - * ``` - * @since v10.6.0 - */ - function resolveSoa(hostname: string): Promise; - /** - * Uses the DNS protocol to resolve service records (`SRV` records) for the`hostname`. On success, the `Promise` is resolved with an array of objects with - * the following properties: - * - * * `priority` - * * `weight` - * * `port` - * * `name` - * - * ```js - * { - * priority: 10, - * weight: 5, - * port: 21223, - * name: 'service.example.com' - * } - * ``` - * @since v10.6.0 - */ - function resolveSrv(hostname: string): Promise; - /** - * Uses the DNS protocol to resolve text queries (`TXT` records) for the`hostname`. On success, the `Promise` is resolved with a two-dimensional array - * of the text records available for `hostname` (e.g.`[ ['v=spf1 ip4:0.0.0.0 ', '~all' ] ]`). Each sub-array contains TXT chunks of - * one record. Depending on the use case, these could be either joined together or - * treated separately. - * @since v10.6.0 - */ - function resolveTxt(hostname: string): Promise; - /** - * Performs a reverse DNS query that resolves an IPv4 or IPv6 address to an - * array of host names. - * - * On error, the `Promise` is rejected with an `Error` object, where `err.code`is one of the `DNS error codes`. - * @since v10.6.0 - */ - function reverse(ip: string): Promise; - /** - * Get the default value for `verbatim` in {@link lookup} and `dnsPromises.lookup()`. The value could be: - * - * * `ipv4first`: for `verbatim` defaulting to `false`. - * * `verbatim`: for `verbatim` defaulting to `true`. - * @since v20.1.0 - */ - function getDefaultResultOrder(): "ipv4first" | "verbatim"; - /** - * Sets the IP address and port of servers to be used when performing DNS - * resolution. The `servers` argument is an array of [RFC 5952](https://tools.ietf.org/html/rfc5952#section-6) formatted - * addresses. If the port is the IANA default DNS port (53) it can be omitted. - * - * ```js - * dnsPromises.setServers([ - * '4.4.4.4', - * '[2001:4860:4860::8888]', - * '4.4.4.4:1053', - * '[2001:4860:4860::8888]:1053', - * ]); - * ``` - * - * An error will be thrown if an invalid address is provided. - * - * The `dnsPromises.setServers()` method must not be called while a DNS query is in - * progress. - * - * This method works much like [resolve.conf](https://man7.org/linux/man-pages/man5/resolv.conf.5.html). - * That is, if attempting to resolve with the first server provided results in a`NOTFOUND` error, the `resolve()` method will _not_ attempt to resolve with - * subsequent servers provided. Fallback DNS servers will only be used if the - * earlier ones time out or result in some other error. - * @since v10.6.0 - * @param servers array of `RFC 5952` formatted addresses - */ - function setServers(servers: readonly string[]): void; - /** - * Set the default value of `verbatim` in `dns.lookup()` and `dnsPromises.lookup()`. The value could be: - * - * * `ipv4first`: sets default `verbatim` `false`. - * * `verbatim`: sets default `verbatim` `true`. - * - * The default is `verbatim` and `dnsPromises.setDefaultResultOrder()` have - * higher priority than `--dns-result-order`. When using `worker threads`,`dnsPromises.setDefaultResultOrder()` from the main thread won't affect the - * default dns orders in workers. - * @since v16.4.0, v14.18.0 - * @param order must be `'ipv4first'` or `'verbatim'`. - */ - function setDefaultResultOrder(order: "ipv4first" | "verbatim"): void; - /** - * An independent resolver for DNS requests. - * - * Creating a new resolver uses the default server settings. Setting - * the servers used for a resolver using `resolver.setServers()` does not affect - * other resolvers: - * - * ```js - * const { Resolver } = require('node:dns').promises; - * const resolver = new Resolver(); - * resolver.setServers(['4.4.4.4']); - * - * // This request will use the server at 4.4.4.4, independent of global settings. - * resolver.resolve4('example.org').then((addresses) => { - * // ... - * }); - * - * // Alternatively, the same code can be written using async-await style. - * (async function() { - * const addresses = await resolver.resolve4('example.org'); - * })(); - * ``` - * - * The following methods from the `dnsPromises` API are available: - * - * * `resolver.getServers()` - * * `resolver.resolve()` - * * `resolver.resolve4()` - * * `resolver.resolve6()` - * * `resolver.resolveAny()` - * * `resolver.resolveCaa()` - * * `resolver.resolveCname()` - * * `resolver.resolveMx()` - * * `resolver.resolveNaptr()` - * * `resolver.resolveNs()` - * * `resolver.resolvePtr()` - * * `resolver.resolveSoa()` - * * `resolver.resolveSrv()` - * * `resolver.resolveTxt()` - * * `resolver.reverse()` - * * `resolver.setServers()` - * @since v10.6.0 - */ - class Resolver { - constructor(options?: ResolverOptions); - cancel(): void; - getServers: typeof getServers; - resolve: typeof resolve; - resolve4: typeof resolve4; - resolve6: typeof resolve6; - resolveAny: typeof resolveAny; - resolveCaa: typeof resolveCaa; - resolveCname: typeof resolveCname; - resolveMx: typeof resolveMx; - resolveNaptr: typeof resolveNaptr; - resolveNs: typeof resolveNs; - resolvePtr: typeof resolvePtr; - resolveSoa: typeof resolveSoa; - resolveSrv: typeof resolveSrv; - resolveTxt: typeof resolveTxt; - reverse: typeof reverse; - setLocalAddress(ipv4?: string, ipv6?: string): void; - setServers: typeof setServers; - } -} -declare module "node:dns/promises" { - export * from "dns/promises"; -} diff --git a/node_modules/@types/node/ts4.8/dom-events.d.ts b/node_modules/@types/node/ts4.8/dom-events.d.ts deleted file mode 100644 index 147a7b6..0000000 --- a/node_modules/@types/node/ts4.8/dom-events.d.ts +++ /dev/null @@ -1,122 +0,0 @@ -export {}; // Don't export anything! - -//// DOM-like Events -// NB: The Event / EventTarget / EventListener implementations below were copied -// from lib.dom.d.ts, then edited to reflect Node's documentation at -// https://nodejs.org/api/events.html#class-eventtarget. -// Please read that link to understand important implementation differences. - -// This conditional type will be the existing global Event in a browser, or -// the copy below in a Node environment. -type __Event = typeof globalThis extends { onmessage: any; Event: any } ? {} - : { - /** This is not used in Node.js and is provided purely for completeness. */ - readonly bubbles: boolean; - /** Alias for event.stopPropagation(). This is not used in Node.js and is provided purely for completeness. */ - cancelBubble: () => void; - /** True if the event was created with the cancelable option */ - readonly cancelable: boolean; - /** This is not used in Node.js and is provided purely for completeness. */ - readonly composed: boolean; - /** Returns an array containing the current EventTarget as the only entry or empty if the event is not being dispatched. This is not used in Node.js and is provided purely for completeness. */ - composedPath(): [EventTarget?]; - /** Alias for event.target. */ - readonly currentTarget: EventTarget | null; - /** Is true if cancelable is true and event.preventDefault() has been called. */ - readonly defaultPrevented: boolean; - /** This is not used in Node.js and is provided purely for completeness. */ - readonly eventPhase: 0 | 2; - /** The `AbortSignal` "abort" event is emitted with `isTrusted` set to `true`. The value is `false` in all other cases. */ - readonly isTrusted: boolean; - /** Sets the `defaultPrevented` property to `true` if `cancelable` is `true`. */ - preventDefault(): void; - /** This is not used in Node.js and is provided purely for completeness. */ - returnValue: boolean; - /** Alias for event.target. */ - readonly srcElement: EventTarget | null; - /** Stops the invocation of event listeners after the current one completes. */ - stopImmediatePropagation(): void; - /** This is not used in Node.js and is provided purely for completeness. */ - stopPropagation(): void; - /** The `EventTarget` dispatching the event */ - readonly target: EventTarget | null; - /** The millisecond timestamp when the Event object was created. */ - readonly timeStamp: number; - /** Returns the type of event, e.g. "click", "hashchange", or "submit". */ - readonly type: string; - }; - -// See comment above explaining conditional type -type __EventTarget = typeof globalThis extends { onmessage: any; EventTarget: any } ? {} - : { - /** - * Adds a new handler for the `type` event. Any given `listener` is added only once per `type` and per `capture` option value. - * - * If the `once` option is true, the `listener` is removed after the next time a `type` event is dispatched. - * - * The `capture` option is not used by Node.js in any functional way other than tracking registered event listeners per the `EventTarget` specification. - * Specifically, the `capture` option is used as part of the key when registering a `listener`. - * Any individual `listener` may be added once with `capture = false`, and once with `capture = true`. - */ - addEventListener( - type: string, - listener: EventListener | EventListenerObject, - options?: AddEventListenerOptions | boolean, - ): void; - /** Dispatches a synthetic event event to target and returns true if either event's cancelable attribute value is false or its preventDefault() method was not invoked, and false otherwise. */ - dispatchEvent(event: Event): boolean; - /** Removes the event listener in target's event listener list with the same type, callback, and options. */ - removeEventListener( - type: string, - listener: EventListener | EventListenerObject, - options?: EventListenerOptions | boolean, - ): void; - }; - -interface EventInit { - bubbles?: boolean; - cancelable?: boolean; - composed?: boolean; -} - -interface EventListenerOptions { - /** Not directly used by Node.js. Added for API completeness. Default: `false`. */ - capture?: boolean; -} - -interface AddEventListenerOptions extends EventListenerOptions { - /** When `true`, the listener is automatically removed when it is first invoked. Default: `false`. */ - once?: boolean; - /** When `true`, serves as a hint that the listener will not call the `Event` object's `preventDefault()` method. Default: false. */ - passive?: boolean; -} - -interface EventListener { - (evt: Event): void; -} - -interface EventListenerObject { - handleEvent(object: Event): void; -} - -import {} from "events"; // Make this an ambient declaration -declare global { - /** An event which takes place in the DOM. */ - interface Event extends __Event {} - var Event: typeof globalThis extends { onmessage: any; Event: infer T } ? T - : { - prototype: __Event; - new(type: string, eventInitDict?: EventInit): __Event; - }; - - /** - * EventTarget is a DOM interface implemented by objects that can - * receive events and may have listeners for them. - */ - interface EventTarget extends __EventTarget {} - var EventTarget: typeof globalThis extends { onmessage: any; EventTarget: infer T } ? T - : { - prototype: __EventTarget; - new(): __EventTarget; - }; -} diff --git a/node_modules/@types/node/ts4.8/domain.d.ts b/node_modules/@types/node/ts4.8/domain.d.ts deleted file mode 100644 index 72f17bd..0000000 --- a/node_modules/@types/node/ts4.8/domain.d.ts +++ /dev/null @@ -1,170 +0,0 @@ -/** - * **This module is pending deprecation.** Once a replacement API has been - * finalized, this module will be fully deprecated. Most developers should - * **not** have cause to use this module. Users who absolutely must have - * the functionality that domains provide may rely on it for the time being - * but should expect to have to migrate to a different solution - * in the future. - * - * Domains provide a way to handle multiple different IO operations as a - * single group. If any of the event emitters or callbacks registered to a - * domain emit an `'error'` event, or throw an error, then the domain object - * will be notified, rather than losing the context of the error in the`process.on('uncaughtException')` handler, or causing the program to - * exit immediately with an error code. - * @deprecated Since v1.4.2 - Deprecated - * @see [source](https://github.com/nodejs/node/blob/v20.2.0/lib/domain.js) - */ -declare module "domain" { - import EventEmitter = require("node:events"); - /** - * The `Domain` class encapsulates the functionality of routing errors and - * uncaught exceptions to the active `Domain` object. - * - * To handle the errors that it catches, listen to its `'error'` event. - */ - class Domain extends EventEmitter { - /** - * An array of timers and event emitters that have been explicitly added - * to the domain. - */ - members: Array; - /** - * The `enter()` method is plumbing used by the `run()`, `bind()`, and`intercept()` methods to set the active domain. It sets `domain.active` and`process.domain` to the domain, and implicitly - * pushes the domain onto the domain - * stack managed by the domain module (see {@link exit} for details on the - * domain stack). The call to `enter()` delimits the beginning of a chain of - * asynchronous calls and I/O operations bound to a domain. - * - * Calling `enter()` changes only the active domain, and does not alter the domain - * itself. `enter()` and `exit()` can be called an arbitrary number of times on a - * single domain. - */ - enter(): void; - /** - * The `exit()` method exits the current domain, popping it off the domain stack. - * Any time execution is going to switch to the context of a different chain of - * asynchronous calls, it's important to ensure that the current domain is exited. - * The call to `exit()` delimits either the end of or an interruption to the chain - * of asynchronous calls and I/O operations bound to a domain. - * - * If there are multiple, nested domains bound to the current execution context,`exit()` will exit any domains nested within this domain. - * - * Calling `exit()` changes only the active domain, and does not alter the domain - * itself. `enter()` and `exit()` can be called an arbitrary number of times on a - * single domain. - */ - exit(): void; - /** - * Run the supplied function in the context of the domain, implicitly - * binding all event emitters, timers, and low-level requests that are - * created in that context. Optionally, arguments can be passed to - * the function. - * - * This is the most basic way to use a domain. - * - * ```js - * const domain = require('node:domain'); - * const fs = require('node:fs'); - * const d = domain.create(); - * d.on('error', (er) => { - * console.error('Caught error!', er); - * }); - * d.run(() => { - * process.nextTick(() => { - * setTimeout(() => { // Simulating some various async stuff - * fs.open('non-existent file', 'r', (er, fd) => { - * if (er) throw er; - * // proceed... - * }); - * }, 100); - * }); - * }); - * ``` - * - * In this example, the `d.on('error')` handler will be triggered, rather - * than crashing the program. - */ - run(fn: (...args: any[]) => T, ...args: any[]): T; - /** - * Explicitly adds an emitter to the domain. If any event handlers called by - * the emitter throw an error, or if the emitter emits an `'error'` event, it - * will be routed to the domain's `'error'` event, just like with implicit - * binding. - * - * This also works with timers that are returned from `setInterval()` and `setTimeout()`. If their callback function throws, it will be caught by - * the domain `'error'` handler. - * - * If the Timer or `EventEmitter` was already bound to a domain, it is removed - * from that one, and bound to this one instead. - * @param emitter emitter or timer to be added to the domain - */ - add(emitter: EventEmitter | NodeJS.Timer): void; - /** - * The opposite of {@link add}. Removes domain handling from the - * specified emitter. - * @param emitter emitter or timer to be removed from the domain - */ - remove(emitter: EventEmitter | NodeJS.Timer): void; - /** - * The returned function will be a wrapper around the supplied callback - * function. When the returned function is called, any errors that are - * thrown will be routed to the domain's `'error'` event. - * - * ```js - * const d = domain.create(); - * - * function readSomeFile(filename, cb) { - * fs.readFile(filename, 'utf8', d.bind((er, data) => { - * // If this throws, it will also be passed to the domain. - * return cb(er, data ? JSON.parse(data) : null); - * })); - * } - * - * d.on('error', (er) => { - * // An error occurred somewhere. If we throw it now, it will crash the program - * // with the normal line number and stack message. - * }); - * ``` - * @param callback The callback function - * @return The bound function - */ - bind(callback: T): T; - /** - * This method is almost identical to {@link bind}. However, in - * addition to catching thrown errors, it will also intercept `Error` objects sent as the first argument to the function. - * - * In this way, the common `if (err) return callback(err);` pattern can be replaced - * with a single error handler in a single place. - * - * ```js - * const d = domain.create(); - * - * function readSomeFile(filename, cb) { - * fs.readFile(filename, 'utf8', d.intercept((data) => { - * // Note, the first argument is never passed to the - * // callback since it is assumed to be the 'Error' argument - * // and thus intercepted by the domain. - * - * // If this throws, it will also be passed to the domain - * // so the error-handling logic can be moved to the 'error' - * // event on the domain instead of being repeated throughout - * // the program. - * return cb(null, JSON.parse(data)); - * })); - * } - * - * d.on('error', (er) => { - * // An error occurred somewhere. If we throw it now, it will crash the program - * // with the normal line number and stack message. - * }); - * ``` - * @param callback The callback function - * @return The intercepted function - */ - intercept(callback: T): T; - } - function create(): Domain; -} -declare module "node:domain" { - export * from "domain"; -} diff --git a/node_modules/@types/node/ts4.8/events.d.ts b/node_modules/@types/node/ts4.8/events.d.ts deleted file mode 100644 index 87b3ba0..0000000 --- a/node_modules/@types/node/ts4.8/events.d.ts +++ /dev/null @@ -1,896 +0,0 @@ -/** - * Much of the Node.js core API is built around an idiomatic asynchronous - * event-driven architecture in which certain kinds of objects (called "emitters") - * emit named events that cause `Function` objects ("listeners") to be called. - * - * For instance: a `net.Server` object emits an event each time a peer - * connects to it; a `fs.ReadStream` emits an event when the file is opened; - * a `stream` emits an event whenever data is available to be read. - * - * All objects that emit events are instances of the `EventEmitter` class. These - * objects expose an `eventEmitter.on()` function that allows one or more - * functions to be attached to named events emitted by the object. Typically, - * event names are camel-cased strings but any valid JavaScript property key - * can be used. - * - * When the `EventEmitter` object emits an event, all of the functions attached - * to that specific event are called _synchronously_. Any values returned by the - * called listeners are _ignored_ and discarded. - * - * The following example shows a simple `EventEmitter` instance with a single - * listener. The `eventEmitter.on()` method is used to register listeners, while - * the `eventEmitter.emit()` method is used to trigger the event. - * - * ```js - * import { EventEmitter } from 'node:events'; - * - * class MyEmitter extends EventEmitter {} - * - * const myEmitter = new MyEmitter(); - * myEmitter.on('event', () => { - * console.log('an event occurred!'); - * }); - * myEmitter.emit('event'); - * ``` - * @see [source](https://github.com/nodejs/node/blob/v20.2.0/lib/events.js) - */ -declare module "events" { - import { AsyncResource, AsyncResourceOptions } from "node:async_hooks"; - // NOTE: This class is in the docs but is **not actually exported** by Node. - // If https://github.com/nodejs/node/issues/39903 gets resolved and Node - // actually starts exporting the class, uncomment below. - // import { EventListener, EventListenerObject } from '__dom-events'; - // /** The NodeEventTarget is a Node.js-specific extension to EventTarget that emulates a subset of the EventEmitter API. */ - // interface NodeEventTarget extends EventTarget { - // /** - // * Node.js-specific extension to the `EventTarget` class that emulates the equivalent `EventEmitter` API. - // * The only difference between `addListener()` and `addEventListener()` is that addListener() will return a reference to the EventTarget. - // */ - // addListener(type: string, listener: EventListener | EventListenerObject, options?: { once: boolean }): this; - // /** Node.js-specific extension to the `EventTarget` class that returns an array of event `type` names for which event listeners are registered. */ - // eventNames(): string[]; - // /** Node.js-specific extension to the `EventTarget` class that returns the number of event listeners registered for the `type`. */ - // listenerCount(type: string): number; - // /** Node.js-specific alias for `eventTarget.removeListener()`. */ - // off(type: string, listener: EventListener | EventListenerObject): this; - // /** Node.js-specific alias for `eventTarget.addListener()`. */ - // on(type: string, listener: EventListener | EventListenerObject, options?: { once: boolean }): this; - // /** Node.js-specific extension to the `EventTarget` class that adds a `once` listener for the given event `type`. This is equivalent to calling `on` with the `once` option set to `true`. */ - // once(type: string, listener: EventListener | EventListenerObject): this; - // /** - // * Node.js-specific extension to the `EventTarget` class. - // * If `type` is specified, removes all registered listeners for `type`, - // * otherwise removes all registered listeners. - // */ - // removeAllListeners(type: string): this; - // /** - // * Node.js-specific extension to the `EventTarget` class that removes the listener for the given `type`. - // * The only difference between `removeListener()` and `removeEventListener()` is that `removeListener()` will return a reference to the `EventTarget`. - // */ - // removeListener(type: string, listener: EventListener | EventListenerObject): this; - // } - interface EventEmitterOptions { - /** - * Enables automatic capturing of promise rejection. - */ - captureRejections?: boolean | undefined; - } - // Any EventTarget with a Node-style `once` function - interface _NodeEventTarget { - once(eventName: string | symbol, listener: (...args: any[]) => void): this; - } - // Any EventTarget with a DOM-style `addEventListener` - interface _DOMEventTarget { - addEventListener( - eventName: string, - listener: (...args: any[]) => void, - opts?: { - once: boolean; - }, - ): any; - } - interface StaticEventEmitterOptions { - signal?: AbortSignal | undefined; - } - interface EventEmitter = DefaultEventMap> extends NodeJS.EventEmitter {} - type EventMap = Record | DefaultEventMap; - type DefaultEventMap = [never]; - type AnyRest = [...args: any[]]; - type Args = T extends DefaultEventMap ? AnyRest : ( - K extends keyof T ? T[K] : never - ); - type Key = T extends DefaultEventMap ? string | symbol : K | keyof T; - type Key2 = T extends DefaultEventMap ? string | symbol : K & keyof T; - type Listener = T extends DefaultEventMap ? F : ( - K extends keyof T ? ( - T[K] extends unknown[] ? (...args: T[K]) => void : never - ) - : never - ); - type Listener1 = Listener void>; - type Listener2 = Listener; - - /** - * The `EventEmitter` class is defined and exposed by the `node:events` module: - * - * ```js - * import { EventEmitter } from 'node:events'; - * ``` - * - * All `EventEmitter`s emit the event `'newListener'` when new listeners are - * added and `'removeListener'` when existing listeners are removed. - * - * It supports the following option: - * @since v0.1.26 - */ - class EventEmitter = DefaultEventMap> { - constructor(options?: EventEmitterOptions); - - [EventEmitter.captureRejectionSymbol]?(error: Error, event: Key, ...args: Args): void; - - /** - * Creates a `Promise` that is fulfilled when the `EventEmitter` emits the given - * event or that is rejected if the `EventEmitter` emits `'error'` while waiting. - * The `Promise` will resolve with an array of all the arguments emitted to the - * given event. - * - * This method is intentionally generic and works with the web platform [EventTarget](https://dom.spec.whatwg.org/#interface-eventtarget) interface, which has no special`'error'` event - * semantics and does not listen to the `'error'` event. - * - * ```js - * import { once, EventEmitter } from 'node:events'; - * import process from 'node:process'; - * - * const ee = new EventEmitter(); - * - * process.nextTick(() => { - * ee.emit('myevent', 42); - * }); - * - * const [value] = await once(ee, 'myevent'); - * console.log(value); - * - * const err = new Error('kaboom'); - * process.nextTick(() => { - * ee.emit('error', err); - * }); - * - * try { - * await once(ee, 'myevent'); - * } catch (err) { - * console.error('error happened', err); - * } - * ``` - * - * The special handling of the `'error'` event is only used when `events.once()`is used to wait for another event. If `events.once()` is used to wait for the - * '`error'` event itself, then it is treated as any other kind of event without - * special handling: - * - * ```js - * import { EventEmitter, once } from 'node:events'; - * - * const ee = new EventEmitter(); - * - * once(ee, 'error') - * .then(([err]) => console.log('ok', err.message)) - * .catch((err) => console.error('error', err.message)); - * - * ee.emit('error', new Error('boom')); - * - * // Prints: ok boom - * ``` - * - * An `AbortSignal` can be used to cancel waiting for the event: - * - * ```js - * import { EventEmitter, once } from 'node:events'; - * - * const ee = new EventEmitter(); - * const ac = new AbortController(); - * - * async function foo(emitter, event, signal) { - * try { - * await once(emitter, event, { signal }); - * console.log('event emitted!'); - * } catch (error) { - * if (error.name === 'AbortError') { - * console.error('Waiting for the event was canceled!'); - * } else { - * console.error('There was an error', error.message); - * } - * } - * } - * - * foo(ee, 'foo', ac.signal); - * ac.abort(); // Abort waiting for the event - * ee.emit('foo'); // Prints: Waiting for the event was canceled! - * ``` - * @since v11.13.0, v10.16.0 - */ - static once( - emitter: _NodeEventTarget, - eventName: string | symbol, - options?: StaticEventEmitterOptions, - ): Promise; - static once(emitter: _DOMEventTarget, eventName: string, options?: StaticEventEmitterOptions): Promise; - /** - * ```js - * import { on, EventEmitter } from 'node:events'; - * import process from 'node:process'; - * - * const ee = new EventEmitter(); - * - * // Emit later on - * process.nextTick(() => { - * ee.emit('foo', 'bar'); - * ee.emit('foo', 42); - * }); - * - * for await (const event of on(ee, 'foo')) { - * // The execution of this inner block is synchronous and it - * // processes one event at a time (even with await). Do not use - * // if concurrent execution is required. - * console.log(event); // prints ['bar'] [42] - * } - * // Unreachable here - * ``` - * - * Returns an `AsyncIterator` that iterates `eventName` events. It will throw - * if the `EventEmitter` emits `'error'`. It removes all listeners when - * exiting the loop. The `value` returned by each iteration is an array - * composed of the emitted event arguments. - * - * An `AbortSignal` can be used to cancel waiting on events: - * - * ```js - * import { on, EventEmitter } from 'node:events'; - * import process from 'node:process'; - * - * const ac = new AbortController(); - * - * (async () => { - * const ee = new EventEmitter(); - * - * // Emit later on - * process.nextTick(() => { - * ee.emit('foo', 'bar'); - * ee.emit('foo', 42); - * }); - * - * for await (const event of on(ee, 'foo', { signal: ac.signal })) { - * // The execution of this inner block is synchronous and it - * // processes one event at a time (even with await). Do not use - * // if concurrent execution is required. - * console.log(event); // prints ['bar'] [42] - * } - * // Unreachable here - * })(); - * - * process.nextTick(() => ac.abort()); - * ``` - * @since v13.6.0, v12.16.0 - * @param eventName The name of the event being listened for - * @return that iterates `eventName` events emitted by the `emitter` - */ - static on( - emitter: NodeJS.EventEmitter, - eventName: string, - options?: StaticEventEmitterOptions, - ): AsyncIterableIterator; - /** - * A class method that returns the number of listeners for the given `eventName`registered on the given `emitter`. - * - * ```js - * import { EventEmitter, listenerCount } from 'node:events'; - * - * const myEmitter = new EventEmitter(); - * myEmitter.on('event', () => {}); - * myEmitter.on('event', () => {}); - * console.log(listenerCount(myEmitter, 'event')); - * // Prints: 2 - * ``` - * @since v0.9.12 - * @deprecated Since v3.2.0 - Use `listenerCount` instead. - * @param emitter The emitter to query - * @param eventName The event name - */ - static listenerCount(emitter: NodeJS.EventEmitter, eventName: string | symbol): number; - /** - * Returns a copy of the array of listeners for the event named `eventName`. - * - * For `EventEmitter`s this behaves exactly the same as calling `.listeners` on - * the emitter. - * - * For `EventTarget`s this is the only way to get the event listeners for the - * event target. This is useful for debugging and diagnostic purposes. - * - * ```js - * import { getEventListeners, EventEmitter } from 'node:events'; - * - * { - * const ee = new EventEmitter(); - * const listener = () => console.log('Events are fun'); - * ee.on('foo', listener); - * console.log(getEventListeners(ee, 'foo')); // [ [Function: listener] ] - * } - * { - * const et = new EventTarget(); - * const listener = () => console.log('Events are fun'); - * et.addEventListener('foo', listener); - * console.log(getEventListeners(et, 'foo')); // [ [Function: listener] ] - * } - * ``` - * @since v15.2.0, v14.17.0 - */ - static getEventListeners(emitter: _DOMEventTarget | NodeJS.EventEmitter, name: string | symbol): Function[]; - /** - * Returns the currently set max amount of listeners. - * - * For `EventEmitter`s this behaves exactly the same as calling `.getMaxListeners` on - * the emitter. - * - * For `EventTarget`s this is the only way to get the max event listeners for the - * event target. If the number of event handlers on a single EventTarget exceeds - * the max set, the EventTarget will print a warning. - * - * ```js - * import { getMaxListeners, setMaxListeners, EventEmitter } from 'node:events'; - * - * { - * const ee = new EventEmitter(); - * console.log(getMaxListeners(ee)); // 10 - * setMaxListeners(11, ee); - * console.log(getMaxListeners(ee)); // 11 - * } - * { - * const et = new EventTarget(); - * console.log(getMaxListeners(et)); // 10 - * setMaxListeners(11, et); - * console.log(getMaxListeners(et)); // 11 - * } - * ``` - * @since v19.9.0 - */ - static getMaxListeners(emitter: _DOMEventTarget | NodeJS.EventEmitter): number; - /** - * ```js - * import { setMaxListeners, EventEmitter } from 'node:events'; - * - * const target = new EventTarget(); - * const emitter = new EventEmitter(); - * - * setMaxListeners(5, target, emitter); - * ``` - * @since v15.4.0 - * @param n A non-negative number. The maximum number of listeners per `EventTarget` event. - * @param eventsTargets Zero or more {EventTarget} or {EventEmitter} instances. If none are specified, `n` is set as the default max for all newly created {EventTarget} and {EventEmitter} - * objects. - */ - static setMaxListeners(n?: number, ...eventTargets: Array<_DOMEventTarget | NodeJS.EventEmitter>): void; - /** - * Listens once to the `abort` event on the provided `signal`. - * - * Listening to the `abort` event on abort signals is unsafe and may - * lead to resource leaks since another third party with the signal can - * call `e.stopImmediatePropagation()`. Unfortunately Node.js cannot change - * this since it would violate the web standard. Additionally, the original - * API makes it easy to forget to remove listeners. - * - * This API allows safely using `AbortSignal`s in Node.js APIs by solving these - * two issues by listening to the event such that `stopImmediatePropagation` does - * not prevent the listener from running. - * - * Returns a disposable so that it may be unsubscribed from more easily. - * - * ```js - * import { addAbortListener } from 'node:events'; - * - * function example(signal) { - * let disposable; - * try { - * signal.addEventListener('abort', (e) => e.stopImmediatePropagation()); - * disposable = addAbortListener(signal, (e) => { - * // Do something when signal is aborted. - * }); - * } finally { - * disposable?.[Symbol.dispose](); - * } - * } - * ``` - * @since v20.5.0 - * @experimental - * @return Disposable that removes the `abort` listener. - */ - static addAbortListener(signal: AbortSignal, resource: (event: Event) => void): Disposable; - /** - * This symbol shall be used to install a listener for only monitoring `'error'`events. Listeners installed using this symbol are called before the regular`'error'` listeners are called. - * - * Installing a listener using this symbol does not change the behavior once an`'error'` event is emitted. Therefore, the process will still crash if no - * regular `'error'` listener is installed. - * @since v13.6.0, v12.17.0 - */ - static readonly errorMonitor: unique symbol; - /** - * Value: `Symbol.for('nodejs.rejection')` - * - * See how to write a custom `rejection handler`. - * @since v13.4.0, v12.16.0 - */ - static readonly captureRejectionSymbol: unique symbol; - /** - * Value: [boolean](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Boolean_type) - * - * Change the default `captureRejections` option on all new `EventEmitter` objects. - * @since v13.4.0, v12.16.0 - */ - static captureRejections: boolean; - /** - * By default, a maximum of `10` listeners can be registered for any single - * event. This limit can be changed for individual `EventEmitter` instances - * using the `emitter.setMaxListeners(n)` method. To change the default - * for _all_`EventEmitter` instances, the `events.defaultMaxListeners`property can be used. If this value is not a positive number, a `RangeError`is thrown. - * - * Take caution when setting the `events.defaultMaxListeners` because the - * change affects _all_`EventEmitter` instances, including those created before - * the change is made. However, calling `emitter.setMaxListeners(n)` still has - * precedence over `events.defaultMaxListeners`. - * - * This is not a hard limit. The `EventEmitter` instance will allow - * more listeners to be added but will output a trace warning to stderr indicating - * that a "possible EventEmitter memory leak" has been detected. For any single`EventEmitter`, the `emitter.getMaxListeners()` and `emitter.setMaxListeners()`methods can be used to - * temporarily avoid this warning: - * - * ```js - * import { EventEmitter } from 'node:events'; - * const emitter = new EventEmitter(); - * emitter.setMaxListeners(emitter.getMaxListeners() + 1); - * emitter.once('event', () => { - * // do stuff - * emitter.setMaxListeners(Math.max(emitter.getMaxListeners() - 1, 0)); - * }); - * ``` - * - * The `--trace-warnings` command-line flag can be used to display the - * stack trace for such warnings. - * - * The emitted warning can be inspected with `process.on('warning')` and will - * have the additional `emitter`, `type`, and `count` properties, referring to - * the event emitter instance, the event's name and the number of attached - * listeners, respectively. - * Its `name` property is set to `'MaxListenersExceededWarning'`. - * @since v0.11.2 - */ - static defaultMaxListeners: number; - } - import internal = require("node:events"); - namespace EventEmitter { - // Should just be `export { EventEmitter }`, but that doesn't work in TypeScript 3.4 - export { internal as EventEmitter }; - export interface Abortable { - /** - * When provided the corresponding `AbortController` can be used to cancel an asynchronous action. - */ - signal?: AbortSignal | undefined; - } - - export interface EventEmitterReferencingAsyncResource extends AsyncResource { - readonly eventEmitter: EventEmitterAsyncResource; - } - - export interface EventEmitterAsyncResourceOptions extends AsyncResourceOptions, EventEmitterOptions { - /** - * The type of async event, this is required when instantiating `EventEmitterAsyncResource` - * directly rather than as a child class. - * @default new.target.name if instantiated as a child class. - */ - name?: string; - } - - /** - * Integrates `EventEmitter` with `AsyncResource` for `EventEmitter`s that - * require manual async tracking. Specifically, all events emitted by instances - * of `events.EventEmitterAsyncResource` will run within its `async context`. - * - * ```js - * import { EventEmitterAsyncResource, EventEmitter } from 'node:events'; - * import { notStrictEqual, strictEqual } from 'node:assert'; - * import { executionAsyncId, triggerAsyncId } from 'node:async_hooks'; - * - * // Async tracking tooling will identify this as 'Q'. - * const ee1 = new EventEmitterAsyncResource({ name: 'Q' }); - * - * // 'foo' listeners will run in the EventEmitters async context. - * ee1.on('foo', () => { - * strictEqual(executionAsyncId(), ee1.asyncId); - * strictEqual(triggerAsyncId(), ee1.triggerAsyncId); - * }); - * - * const ee2 = new EventEmitter(); - * - * // 'foo' listeners on ordinary EventEmitters that do not track async - * // context, however, run in the same async context as the emit(). - * ee2.on('foo', () => { - * notStrictEqual(executionAsyncId(), ee2.asyncId); - * notStrictEqual(triggerAsyncId(), ee2.triggerAsyncId); - * }); - * - * Promise.resolve().then(() => { - * ee1.emit('foo'); - * ee2.emit('foo'); - * }); - * ``` - * - * The `EventEmitterAsyncResource` class has the same methods and takes the - * same options as `EventEmitter` and `AsyncResource` themselves. - * @since v17.4.0, v16.14.0 - */ - export class EventEmitterAsyncResource extends EventEmitter { - /** - * @param options Only optional in child class. - */ - constructor(options?: EventEmitterAsyncResourceOptions); - /** - * Call all `destroy` hooks. This should only ever be called once. An error will - * be thrown if it is called more than once. This **must** be manually called. If - * the resource is left to be collected by the GC then the `destroy` hooks will - * never be called. - */ - emitDestroy(): void; - /** - * The unique `asyncId` assigned to the resource. - */ - readonly asyncId: number; - /** - * The same triggerAsyncId that is passed to the AsyncResource constructor. - */ - readonly triggerAsyncId: number; - /** - * The returned `AsyncResource` object has an additional `eventEmitter` property - * that provides a reference to this `EventEmitterAsyncResource`. - */ - readonly asyncResource: EventEmitterReferencingAsyncResource; - } - } - global { - namespace NodeJS { - interface EventEmitter = DefaultEventMap> { - [EventEmitter.captureRejectionSymbol]?(error: Error, event: Key, ...args: Args): void; - /** - * Alias for `emitter.on(eventName, listener)`. - * @since v0.1.26 - */ - addListener(eventName: Key, listener: Listener1): this; - /** - * Adds the `listener` function to the end of the listeners array for the - * event named `eventName`. No checks are made to see if the `listener` has - * already been added. Multiple calls passing the same combination of `eventName`and `listener` will result in the `listener` being added, and called, multiple - * times. - * - * ```js - * server.on('connection', (stream) => { - * console.log('someone connected!'); - * }); - * ``` - * - * Returns a reference to the `EventEmitter`, so that calls can be chained. - * - * By default, event listeners are invoked in the order they are added. The`emitter.prependListener()` method can be used as an alternative to add the - * event listener to the beginning of the listeners array. - * - * ```js - * import { EventEmitter } from 'node:events'; - * const myEE = new EventEmitter(); - * myEE.on('foo', () => console.log('a')); - * myEE.prependListener('foo', () => console.log('b')); - * myEE.emit('foo'); - * // Prints: - * // b - * // a - * ``` - * @since v0.1.101 - * @param eventName The name of the event. - * @param listener The callback function - */ - on(eventName: Key, listener: Listener1): this; - /** - * Adds a **one-time**`listener` function for the event named `eventName`. The - * next time `eventName` is triggered, this listener is removed and then invoked. - * - * ```js - * server.once('connection', (stream) => { - * console.log('Ah, we have our first user!'); - * }); - * ``` - * - * Returns a reference to the `EventEmitter`, so that calls can be chained. - * - * By default, event listeners are invoked in the order they are added. The`emitter.prependOnceListener()` method can be used as an alternative to add the - * event listener to the beginning of the listeners array. - * - * ```js - * import { EventEmitter } from 'node:events'; - * const myEE = new EventEmitter(); - * myEE.once('foo', () => console.log('a')); - * myEE.prependOnceListener('foo', () => console.log('b')); - * myEE.emit('foo'); - * // Prints: - * // b - * // a - * ``` - * @since v0.3.0 - * @param eventName The name of the event. - * @param listener The callback function - */ - once(eventName: Key, listener: Listener1): this; - /** - * Removes the specified `listener` from the listener array for the event named`eventName`. - * - * ```js - * const callback = (stream) => { - * console.log('someone connected!'); - * }; - * server.on('connection', callback); - * // ... - * server.removeListener('connection', callback); - * ``` - * - * `removeListener()` will remove, at most, one instance of a listener from the - * listener array. If any single listener has been added multiple times to the - * listener array for the specified `eventName`, then `removeListener()` must be - * called multiple times to remove each instance. - * - * Once an event is emitted, all listeners attached to it at the - * time of emitting are called in order. This implies that any`removeListener()` or `removeAllListeners()` calls _after_ emitting and _before_ the last listener finishes execution - * will not remove them from`emit()` in progress. Subsequent events behave as expected. - * - * ```js - * import { EventEmitter } from 'node:events'; - * class MyEmitter extends EventEmitter {} - * const myEmitter = new MyEmitter(); - * - * const callbackA = () => { - * console.log('A'); - * myEmitter.removeListener('event', callbackB); - * }; - * - * const callbackB = () => { - * console.log('B'); - * }; - * - * myEmitter.on('event', callbackA); - * - * myEmitter.on('event', callbackB); - * - * // callbackA removes listener callbackB but it will still be called. - * // Internal listener array at time of emit [callbackA, callbackB] - * myEmitter.emit('event'); - * // Prints: - * // A - * // B - * - * // callbackB is now removed. - * // Internal listener array [callbackA] - * myEmitter.emit('event'); - * // Prints: - * // A - * ``` - * - * Because listeners are managed using an internal array, calling this will - * change the position indices of any listener registered _after_ the listener - * being removed. This will not impact the order in which listeners are called, - * but it means that any copies of the listener array as returned by - * the `emitter.listeners()` method will need to be recreated. - * - * When a single function has been added as a handler multiple times for a single - * event (as in the example below), `removeListener()` will remove the most - * recently added instance. In the example the `once('ping')`listener is removed: - * - * ```js - * import { EventEmitter } from 'node:events'; - * const ee = new EventEmitter(); - * - * function pong() { - * console.log('pong'); - * } - * - * ee.on('ping', pong); - * ee.once('ping', pong); - * ee.removeListener('ping', pong); - * - * ee.emit('ping'); - * ee.emit('ping'); - * ``` - * - * Returns a reference to the `EventEmitter`, so that calls can be chained. - * @since v0.1.26 - */ - removeListener(eventName: Key, listener: Listener1): this; - /** - * Alias for `emitter.removeListener()`. - * @since v10.0.0 - */ - off(eventName: Key, listener: Listener1): this; - /** - * Removes all listeners, or those of the specified `eventName`. - * - * It is bad practice to remove listeners added elsewhere in the code, - * particularly when the `EventEmitter` instance was created by some other - * component or module (e.g. sockets or file streams). - * - * Returns a reference to the `EventEmitter`, so that calls can be chained. - * @since v0.1.26 - */ - removeAllListeners(event?: Key): this; - /** - * By default `EventEmitter`s will print a warning if more than `10` listeners are - * added for a particular event. This is a useful default that helps finding - * memory leaks. The `emitter.setMaxListeners()` method allows the limit to be - * modified for this specific `EventEmitter` instance. The value can be set to`Infinity` (or `0`) to indicate an unlimited number of listeners. - * - * Returns a reference to the `EventEmitter`, so that calls can be chained. - * @since v0.3.5 - */ - setMaxListeners(n: number): this; - /** - * Returns the current max listener value for the `EventEmitter` which is either - * set by `emitter.setMaxListeners(n)` or defaults to {@link defaultMaxListeners}. - * @since v1.0.0 - */ - getMaxListeners(): number; - /** - * Returns a copy of the array of listeners for the event named `eventName`. - * - * ```js - * server.on('connection', (stream) => { - * console.log('someone connected!'); - * }); - * console.log(util.inspect(server.listeners('connection'))); - * // Prints: [ [Function] ] - * ``` - * @since v0.1.26 - */ - listeners(eventName: Key): Array>; - /** - * Returns a copy of the array of listeners for the event named `eventName`, - * including any wrappers (such as those created by `.once()`). - * - * ```js - * import { EventEmitter } from 'node:events'; - * const emitter = new EventEmitter(); - * emitter.once('log', () => console.log('log once')); - * - * // Returns a new Array with a function `onceWrapper` which has a property - * // `listener` which contains the original listener bound above - * const listeners = emitter.rawListeners('log'); - * const logFnWrapper = listeners[0]; - * - * // Logs "log once" to the console and does not unbind the `once` event - * logFnWrapper.listener(); - * - * // Logs "log once" to the console and removes the listener - * logFnWrapper(); - * - * emitter.on('log', () => console.log('log persistently')); - * // Will return a new Array with a single function bound by `.on()` above - * const newListeners = emitter.rawListeners('log'); - * - * // Logs "log persistently" twice - * newListeners[0](); - * emitter.emit('log'); - * ``` - * @since v9.4.0 - */ - rawListeners(eventName: Key): Array>; - /** - * Synchronously calls each of the listeners registered for the event named`eventName`, in the order they were registered, passing the supplied arguments - * to each. - * - * Returns `true` if the event had listeners, `false` otherwise. - * - * ```js - * import { EventEmitter } from 'node:events'; - * const myEmitter = new EventEmitter(); - * - * // First listener - * myEmitter.on('event', function firstListener() { - * console.log('Helloooo! first listener'); - * }); - * // Second listener - * myEmitter.on('event', function secondListener(arg1, arg2) { - * console.log(`event with parameters ${arg1}, ${arg2} in second listener`); - * }); - * // Third listener - * myEmitter.on('event', function thirdListener(...args) { - * const parameters = args.join(', '); - * console.log(`event with parameters ${parameters} in third listener`); - * }); - * - * console.log(myEmitter.listeners('event')); - * - * myEmitter.emit('event', 1, 2, 3, 4, 5); - * - * // Prints: - * // [ - * // [Function: firstListener], - * // [Function: secondListener], - * // [Function: thirdListener] - * // ] - * // Helloooo! first listener - * // event with parameters 1, 2 in second listener - * // event with parameters 1, 2, 3, 4, 5 in third listener - * ``` - * @since v0.1.26 - */ - emit(eventName: Key, ...args: Args): boolean; - /** - * Returns the number of listeners listening for the event named `eventName`. - * If `listener` is provided, it will return how many times the listener is found - * in the list of the listeners of the event. - * @since v3.2.0 - * @param eventName The name of the event being listened for - * @param listener The event handler function - */ - listenerCount(eventName: Key, listener?: Listener2): number; - /** - * Adds the `listener` function to the _beginning_ of the listeners array for the - * event named `eventName`. No checks are made to see if the `listener` has - * already been added. Multiple calls passing the same combination of `eventName`and `listener` will result in the `listener` being added, and called, multiple - * times. - * - * ```js - * server.prependListener('connection', (stream) => { - * console.log('someone connected!'); - * }); - * ``` - * - * Returns a reference to the `EventEmitter`, so that calls can be chained. - * @since v6.0.0 - * @param eventName The name of the event. - * @param listener The callback function - */ - prependListener(eventName: Key, listener: Listener1): this; - /** - * Adds a **one-time**`listener` function for the event named `eventName` to the _beginning_ of the listeners array. The next time `eventName` is triggered, this - * listener is removed, and then invoked. - * - * ```js - * server.prependOnceListener('connection', (stream) => { - * console.log('Ah, we have our first user!'); - * }); - * ``` - * - * Returns a reference to the `EventEmitter`, so that calls can be chained. - * @since v6.0.0 - * @param eventName The name of the event. - * @param listener The callback function - */ - prependOnceListener(eventName: Key, listener: Listener1): this; - /** - * Returns an array listing the events for which the emitter has registered - * listeners. The values in the array are strings or `Symbol`s. - * - * ```js - * import { EventEmitter } from 'node:events'; - * - * const myEE = new EventEmitter(); - * myEE.on('foo', () => {}); - * myEE.on('bar', () => {}); - * - * const sym = Symbol('symbol'); - * myEE.on(sym, () => {}); - * - * console.log(myEE.eventNames()); - * // Prints: [ 'foo', 'bar', Symbol(symbol) ] - * ``` - * @since v6.0.0 - */ - eventNames(): Array<(string | symbol) & Key2>; - } - } - } - export = EventEmitter; -} -declare module "node:events" { - import events = require("events"); - export = events; -} diff --git a/node_modules/@types/node/ts4.8/fs.d.ts b/node_modules/@types/node/ts4.8/fs.d.ts deleted file mode 100644 index 5cbca12..0000000 --- a/node_modules/@types/node/ts4.8/fs.d.ts +++ /dev/null @@ -1,4311 +0,0 @@ -/** - * The `node:fs` module enables interacting with the file system in a - * way modeled on standard POSIX functions. - * - * To use the promise-based APIs: - * - * ```js - * import * as fs from 'node:fs/promises'; - * ``` - * - * To use the callback and sync APIs: - * - * ```js - * import * as fs from 'node:fs'; - * ``` - * - * All file system operations have synchronous, callback, and promise-based - * forms, and are accessible using both CommonJS syntax and ES6 Modules (ESM). - * @see [source](https://github.com/nodejs/node/blob/v20.2.0/lib/fs.js) - */ -declare module "fs" { - import * as stream from "node:stream"; - import { Abortable, EventEmitter } from "node:events"; - import { URL } from "node:url"; - import * as promises from "node:fs/promises"; - export { promises }; - /** - * Valid types for path values in "fs". - */ - export type PathLike = string | Buffer | URL; - export type PathOrFileDescriptor = PathLike | number; - export type TimeLike = string | number | Date; - export type NoParamCallback = (err: NodeJS.ErrnoException | null) => void; - export type BufferEncodingOption = - | "buffer" - | { - encoding: "buffer"; - }; - export interface ObjectEncodingOptions { - encoding?: BufferEncoding | null | undefined; - } - export type EncodingOption = ObjectEncodingOptions | BufferEncoding | undefined | null; - export type OpenMode = number | string; - export type Mode = number | string; - export interface StatsBase { - isFile(): boolean; - isDirectory(): boolean; - isBlockDevice(): boolean; - isCharacterDevice(): boolean; - isSymbolicLink(): boolean; - isFIFO(): boolean; - isSocket(): boolean; - dev: T; - ino: T; - mode: T; - nlink: T; - uid: T; - gid: T; - rdev: T; - size: T; - blksize: T; - blocks: T; - atimeMs: T; - mtimeMs: T; - ctimeMs: T; - birthtimeMs: T; - atime: Date; - mtime: Date; - ctime: Date; - birthtime: Date; - } - export interface Stats extends StatsBase {} - /** - * A `fs.Stats` object provides information about a file. - * - * Objects returned from {@link stat}, {@link lstat}, {@link fstat}, and - * their synchronous counterparts are of this type. - * If `bigint` in the `options` passed to those methods is true, the numeric values - * will be `bigint` instead of `number`, and the object will contain additional - * nanosecond-precision properties suffixed with `Ns`. - * - * ```console - * Stats { - * dev: 2114, - * ino: 48064969, - * mode: 33188, - * nlink: 1, - * uid: 85, - * gid: 100, - * rdev: 0, - * size: 527, - * blksize: 4096, - * blocks: 8, - * atimeMs: 1318289051000.1, - * mtimeMs: 1318289051000.1, - * ctimeMs: 1318289051000.1, - * birthtimeMs: 1318289051000.1, - * atime: Mon, 10 Oct 2011 23:24:11 GMT, - * mtime: Mon, 10 Oct 2011 23:24:11 GMT, - * ctime: Mon, 10 Oct 2011 23:24:11 GMT, - * birthtime: Mon, 10 Oct 2011 23:24:11 GMT } - * ``` - * - * `bigint` version: - * - * ```console - * BigIntStats { - * dev: 2114n, - * ino: 48064969n, - * mode: 33188n, - * nlink: 1n, - * uid: 85n, - * gid: 100n, - * rdev: 0n, - * size: 527n, - * blksize: 4096n, - * blocks: 8n, - * atimeMs: 1318289051000n, - * mtimeMs: 1318289051000n, - * ctimeMs: 1318289051000n, - * birthtimeMs: 1318289051000n, - * atimeNs: 1318289051000000000n, - * mtimeNs: 1318289051000000000n, - * ctimeNs: 1318289051000000000n, - * birthtimeNs: 1318289051000000000n, - * atime: Mon, 10 Oct 2011 23:24:11 GMT, - * mtime: Mon, 10 Oct 2011 23:24:11 GMT, - * ctime: Mon, 10 Oct 2011 23:24:11 GMT, - * birthtime: Mon, 10 Oct 2011 23:24:11 GMT } - * ``` - * @since v0.1.21 - */ - export class Stats {} - export interface StatsFsBase { - /** Type of file system. */ - type: T; - /** Optimal transfer block size. */ - bsize: T; - /** Total data blocks in file system. */ - blocks: T; - /** Free blocks in file system. */ - bfree: T; - /** Available blocks for unprivileged users */ - bavail: T; - /** Total file nodes in file system. */ - files: T; - /** Free file nodes in file system. */ - ffree: T; - } - export interface StatsFs extends StatsFsBase {} - /** - * Provides information about a mounted file system. - * - * Objects returned from {@link statfs} and its synchronous counterpart are of - * this type. If `bigint` in the `options` passed to those methods is `true`, the - * numeric values will be `bigint` instead of `number`. - * - * ```console - * StatFs { - * type: 1397114950, - * bsize: 4096, - * blocks: 121938943, - * bfree: 61058895, - * bavail: 61058895, - * files: 999, - * ffree: 1000000 - * } - * ``` - * - * `bigint` version: - * - * ```console - * StatFs { - * type: 1397114950n, - * bsize: 4096n, - * blocks: 121938943n, - * bfree: 61058895n, - * bavail: 61058895n, - * files: 999n, - * ffree: 1000000n - * } - * ``` - * @since v19.6.0, v18.15.0 - */ - export class StatsFs {} - export interface BigIntStatsFs extends StatsFsBase {} - export interface StatFsOptions { - bigint?: boolean | undefined; - } - /** - * A representation of a directory entry, which can be a file or a subdirectory - * within the directory, as returned by reading from an `fs.Dir`. The - * directory entry is a combination of the file name and file type pairs. - * - * Additionally, when {@link readdir} or {@link readdirSync} is called with - * the `withFileTypes` option set to `true`, the resulting array is filled with `fs.Dirent` objects, rather than strings or `Buffer` s. - * @since v10.10.0 - */ - export class Dirent { - /** - * Returns `true` if the `fs.Dirent` object describes a regular file. - * @since v10.10.0 - */ - isFile(): boolean; - /** - * Returns `true` if the `fs.Dirent` object describes a file system - * directory. - * @since v10.10.0 - */ - isDirectory(): boolean; - /** - * Returns `true` if the `fs.Dirent` object describes a block device. - * @since v10.10.0 - */ - isBlockDevice(): boolean; - /** - * Returns `true` if the `fs.Dirent` object describes a character device. - * @since v10.10.0 - */ - isCharacterDevice(): boolean; - /** - * Returns `true` if the `fs.Dirent` object describes a symbolic link. - * @since v10.10.0 - */ - isSymbolicLink(): boolean; - /** - * Returns `true` if the `fs.Dirent` object describes a first-in-first-out - * (FIFO) pipe. - * @since v10.10.0 - */ - isFIFO(): boolean; - /** - * Returns `true` if the `fs.Dirent` object describes a socket. - * @since v10.10.0 - */ - isSocket(): boolean; - /** - * The file name that this `fs.Dirent` object refers to. The type of this - * value is determined by the `options.encoding` passed to {@link readdir} or {@link readdirSync}. - * @since v10.10.0 - */ - name: string; - /** - * The base path that this `fs.Dirent` object refers to. - * @since v20.1.0 - */ - path: string; - } - /** - * A class representing a directory stream. - * - * Created by {@link opendir}, {@link opendirSync}, or `fsPromises.opendir()`. - * - * ```js - * import { opendir } from 'node:fs/promises'; - * - * try { - * const dir = await opendir('./'); - * for await (const dirent of dir) - * console.log(dirent.name); - * } catch (err) { - * console.error(err); - * } - * ``` - * - * When using the async iterator, the `fs.Dir` object will be automatically - * closed after the iterator exits. - * @since v12.12.0 - */ - export class Dir implements AsyncIterable { - /** - * The read-only path of this directory as was provided to {@link opendir},{@link opendirSync}, or `fsPromises.opendir()`. - * @since v12.12.0 - */ - readonly path: string; - /** - * Asynchronously iterates over the directory via `readdir(3)` until all entries have been read. - */ - [Symbol.asyncIterator](): AsyncIterableIterator; - /** - * Asynchronously close the directory's underlying resource handle. - * Subsequent reads will result in errors. - * - * A promise is returned that will be fulfilled after the resource has been - * closed. - * @since v12.12.0 - */ - close(): Promise; - close(cb: NoParamCallback): void; - /** - * Synchronously close the directory's underlying resource handle. - * Subsequent reads will result in errors. - * @since v12.12.0 - */ - closeSync(): void; - /** - * Asynchronously read the next directory entry via [`readdir(3)`](http://man7.org/linux/man-pages/man3/readdir.3.html) as an `fs.Dirent`. - * - * A promise is returned that will be fulfilled with an `fs.Dirent`, or `null`if there are no more directory entries to read. - * - * Directory entries returned by this function are in no particular order as - * provided by the operating system's underlying directory mechanisms. - * Entries added or removed while iterating over the directory might not be - * included in the iteration results. - * @since v12.12.0 - * @return containing {fs.Dirent|null} - */ - read(): Promise; - read(cb: (err: NodeJS.ErrnoException | null, dirEnt: Dirent | null) => void): void; - /** - * Synchronously read the next directory entry as an `fs.Dirent`. See the - * POSIX [`readdir(3)`](http://man7.org/linux/man-pages/man3/readdir.3.html) documentation for more detail. - * - * If there are no more directory entries to read, `null` will be returned. - * - * Directory entries returned by this function are in no particular order as - * provided by the operating system's underlying directory mechanisms. - * Entries added or removed while iterating over the directory might not be - * included in the iteration results. - * @since v12.12.0 - */ - readSync(): Dirent | null; - } - /** - * Class: fs.StatWatcher - * @since v14.3.0, v12.20.0 - * Extends `EventEmitter` - * A successful call to {@link watchFile} method will return a new fs.StatWatcher object. - */ - export interface StatWatcher extends EventEmitter { - /** - * When called, requests that the Node.js event loop _not_ exit so long as the `fs.StatWatcher` is active. Calling `watcher.ref()` multiple times will have - * no effect. - * - * By default, all `fs.StatWatcher` objects are "ref'ed", making it normally - * unnecessary to call `watcher.ref()` unless `watcher.unref()` had been - * called previously. - * @since v14.3.0, v12.20.0 - */ - ref(): this; - /** - * When called, the active `fs.StatWatcher` object will not require the Node.js - * event loop to remain active. If there is no other activity keeping the - * event loop running, the process may exit before the `fs.StatWatcher` object's - * callback is invoked. Calling `watcher.unref()` multiple times will have - * no effect. - * @since v14.3.0, v12.20.0 - */ - unref(): this; - } - export interface FSWatcher extends EventEmitter { - /** - * Stop watching for changes on the given `fs.FSWatcher`. Once stopped, the `fs.FSWatcher` object is no longer usable. - * @since v0.5.8 - */ - close(): void; - /** - * When called, requests that the Node.js event loop _not_ exit so long as the `fs.FSWatcher` is active. Calling `watcher.ref()` multiple times will have - * no effect. - * - * By default, all `fs.FSWatcher` objects are "ref'ed", making it normally - * unnecessary to call `watcher.ref()` unless `watcher.unref()` had been - * called previously. - * @since v14.3.0, v12.20.0 - */ - ref(): this; - /** - * When called, the active `fs.FSWatcher` object will not require the Node.js - * event loop to remain active. If there is no other activity keeping the - * event loop running, the process may exit before the `fs.FSWatcher` object's - * callback is invoked. Calling `watcher.unref()` multiple times will have - * no effect. - * @since v14.3.0, v12.20.0 - */ - unref(): this; - /** - * events.EventEmitter - * 1. change - * 2. close - * 3. error - */ - addListener(event: string, listener: (...args: any[]) => void): this; - addListener(event: "change", listener: (eventType: string, filename: string | Buffer) => void): this; - addListener(event: "close", listener: () => void): this; - addListener(event: "error", listener: (error: Error) => void): this; - on(event: string, listener: (...args: any[]) => void): this; - on(event: "change", listener: (eventType: string, filename: string | Buffer) => void): this; - on(event: "close", listener: () => void): this; - on(event: "error", listener: (error: Error) => void): this; - once(event: string, listener: (...args: any[]) => void): this; - once(event: "change", listener: (eventType: string, filename: string | Buffer) => void): this; - once(event: "close", listener: () => void): this; - once(event: "error", listener: (error: Error) => void): this; - prependListener(event: string, listener: (...args: any[]) => void): this; - prependListener(event: "change", listener: (eventType: string, filename: string | Buffer) => void): this; - prependListener(event: "close", listener: () => void): this; - prependListener(event: "error", listener: (error: Error) => void): this; - prependOnceListener(event: string, listener: (...args: any[]) => void): this; - prependOnceListener(event: "change", listener: (eventType: string, filename: string | Buffer) => void): this; - prependOnceListener(event: "close", listener: () => void): this; - prependOnceListener(event: "error", listener: (error: Error) => void): this; - } - /** - * Instances of `fs.ReadStream` are created and returned using the {@link createReadStream} function. - * @since v0.1.93 - */ - export class ReadStream extends stream.Readable { - close(callback?: (err?: NodeJS.ErrnoException | null) => void): void; - /** - * The number of bytes that have been read so far. - * @since v6.4.0 - */ - bytesRead: number; - /** - * The path to the file the stream is reading from as specified in the first - * argument to `fs.createReadStream()`. If `path` is passed as a string, then`readStream.path` will be a string. If `path` is passed as a `Buffer`, then`readStream.path` will be a - * `Buffer`. If `fd` is specified, then`readStream.path` will be `undefined`. - * @since v0.1.93 - */ - path: string | Buffer; - /** - * This property is `true` if the underlying file has not been opened yet, - * i.e. before the `'ready'` event is emitted. - * @since v11.2.0, v10.16.0 - */ - pending: boolean; - /** - * events.EventEmitter - * 1. open - * 2. close - * 3. ready - */ - addListener(event: "close", listener: () => void): this; - addListener(event: "data", listener: (chunk: Buffer | string) => void): this; - addListener(event: "end", listener: () => void): this; - addListener(event: "error", listener: (err: Error) => void): this; - addListener(event: "open", listener: (fd: number) => void): this; - addListener(event: "pause", listener: () => void): this; - addListener(event: "readable", listener: () => void): this; - addListener(event: "ready", listener: () => void): this; - addListener(event: "resume", listener: () => void): this; - addListener(event: string | symbol, listener: (...args: any[]) => void): this; - on(event: "close", listener: () => void): this; - on(event: "data", listener: (chunk: Buffer | string) => void): this; - on(event: "end", listener: () => void): this; - on(event: "error", listener: (err: Error) => void): this; - on(event: "open", listener: (fd: number) => void): this; - on(event: "pause", listener: () => void): this; - on(event: "readable", listener: () => void): this; - on(event: "ready", listener: () => void): this; - on(event: "resume", listener: () => void): this; - on(event: string | symbol, listener: (...args: any[]) => void): this; - once(event: "close", listener: () => void): this; - once(event: "data", listener: (chunk: Buffer | string) => void): this; - once(event: "end", listener: () => void): this; - once(event: "error", listener: (err: Error) => void): this; - once(event: "open", listener: (fd: number) => void): this; - once(event: "pause", listener: () => void): this; - once(event: "readable", listener: () => void): this; - once(event: "ready", listener: () => void): this; - once(event: "resume", listener: () => void): this; - once(event: string | symbol, listener: (...args: any[]) => void): this; - prependListener(event: "close", listener: () => void): this; - prependListener(event: "data", listener: (chunk: Buffer | string) => void): this; - prependListener(event: "end", listener: () => void): this; - prependListener(event: "error", listener: (err: Error) => void): this; - prependListener(event: "open", listener: (fd: number) => void): this; - prependListener(event: "pause", listener: () => void): this; - prependListener(event: "readable", listener: () => void): this; - prependListener(event: "ready", listener: () => void): this; - prependListener(event: "resume", listener: () => void): this; - prependListener(event: string | symbol, listener: (...args: any[]) => void): this; - prependOnceListener(event: "close", listener: () => void): this; - prependOnceListener(event: "data", listener: (chunk: Buffer | string) => void): this; - prependOnceListener(event: "end", listener: () => void): this; - prependOnceListener(event: "error", listener: (err: Error) => void): this; - prependOnceListener(event: "open", listener: (fd: number) => void): this; - prependOnceListener(event: "pause", listener: () => void): this; - prependOnceListener(event: "readable", listener: () => void): this; - prependOnceListener(event: "ready", listener: () => void): this; - prependOnceListener(event: "resume", listener: () => void): this; - prependOnceListener(event: string | symbol, listener: (...args: any[]) => void): this; - } - /** - * * Extends `stream.Writable` - * - * Instances of `fs.WriteStream` are created and returned using the {@link createWriteStream} function. - * @since v0.1.93 - */ - export class WriteStream extends stream.Writable { - /** - * Closes `writeStream`. Optionally accepts a - * callback that will be executed once the `writeStream`is closed. - * @since v0.9.4 - */ - close(callback?: (err?: NodeJS.ErrnoException | null) => void): void; - /** - * The number of bytes written so far. Does not include data that is still queued - * for writing. - * @since v0.4.7 - */ - bytesWritten: number; - /** - * The path to the file the stream is writing to as specified in the first - * argument to {@link createWriteStream}. If `path` is passed as a string, then`writeStream.path` will be a string. If `path` is passed as a `Buffer`, then`writeStream.path` will be a - * `Buffer`. - * @since v0.1.93 - */ - path: string | Buffer; - /** - * This property is `true` if the underlying file has not been opened yet, - * i.e. before the `'ready'` event is emitted. - * @since v11.2.0 - */ - pending: boolean; - /** - * events.EventEmitter - * 1. open - * 2. close - * 3. ready - */ - addListener(event: "close", listener: () => void): this; - addListener(event: "drain", listener: () => void): this; - addListener(event: "error", listener: (err: Error) => void): this; - addListener(event: "finish", listener: () => void): this; - addListener(event: "open", listener: (fd: number) => void): this; - addListener(event: "pipe", listener: (src: stream.Readable) => void): this; - addListener(event: "ready", listener: () => void): this; - addListener(event: "unpipe", listener: (src: stream.Readable) => void): this; - addListener(event: string | symbol, listener: (...args: any[]) => void): this; - on(event: "close", listener: () => void): this; - on(event: "drain", listener: () => void): this; - on(event: "error", listener: (err: Error) => void): this; - on(event: "finish", listener: () => void): this; - on(event: "open", listener: (fd: number) => void): this; - on(event: "pipe", listener: (src: stream.Readable) => void): this; - on(event: "ready", listener: () => void): this; - on(event: "unpipe", listener: (src: stream.Readable) => void): this; - on(event: string | symbol, listener: (...args: any[]) => void): this; - once(event: "close", listener: () => void): this; - once(event: "drain", listener: () => void): this; - once(event: "error", listener: (err: Error) => void): this; - once(event: "finish", listener: () => void): this; - once(event: "open", listener: (fd: number) => void): this; - once(event: "pipe", listener: (src: stream.Readable) => void): this; - once(event: "ready", listener: () => void): this; - once(event: "unpipe", listener: (src: stream.Readable) => void): this; - once(event: string | symbol, listener: (...args: any[]) => void): this; - prependListener(event: "close", listener: () => void): this; - prependListener(event: "drain", listener: () => void): this; - prependListener(event: "error", listener: (err: Error) => void): this; - prependListener(event: "finish", listener: () => void): this; - prependListener(event: "open", listener: (fd: number) => void): this; - prependListener(event: "pipe", listener: (src: stream.Readable) => void): this; - prependListener(event: "ready", listener: () => void): this; - prependListener(event: "unpipe", listener: (src: stream.Readable) => void): this; - prependListener(event: string | symbol, listener: (...args: any[]) => void): this; - prependOnceListener(event: "close", listener: () => void): this; - prependOnceListener(event: "drain", listener: () => void): this; - prependOnceListener(event: "error", listener: (err: Error) => void): this; - prependOnceListener(event: "finish", listener: () => void): this; - prependOnceListener(event: "open", listener: (fd: number) => void): this; - prependOnceListener(event: "pipe", listener: (src: stream.Readable) => void): this; - prependOnceListener(event: "ready", listener: () => void): this; - prependOnceListener(event: "unpipe", listener: (src: stream.Readable) => void): this; - prependOnceListener(event: string | symbol, listener: (...args: any[]) => void): this; - } - /** - * Asynchronously rename file at `oldPath` to the pathname provided - * as `newPath`. In the case that `newPath` already exists, it will - * be overwritten. If there is a directory at `newPath`, an error will - * be raised instead. No arguments other than a possible exception are - * given to the completion callback. - * - * See also: [`rename(2)`](http://man7.org/linux/man-pages/man2/rename.2.html). - * - * ```js - * import { rename } from 'node:fs'; - * - * rename('oldFile.txt', 'newFile.txt', (err) => { - * if (err) throw err; - * console.log('Rename complete!'); - * }); - * ``` - * @since v0.0.2 - */ - export function rename(oldPath: PathLike, newPath: PathLike, callback: NoParamCallback): void; - export namespace rename { - /** - * Asynchronous rename(2) - Change the name or location of a file or directory. - * @param oldPath A path to a file. If a URL is provided, it must use the `file:` protocol. - * URL support is _experimental_. - * @param newPath A path to a file. If a URL is provided, it must use the `file:` protocol. - * URL support is _experimental_. - */ - function __promisify__(oldPath: PathLike, newPath: PathLike): Promise; - } - /** - * Renames the file from `oldPath` to `newPath`. Returns `undefined`. - * - * See the POSIX [`rename(2)`](http://man7.org/linux/man-pages/man2/rename.2.html) documentation for more details. - * @since v0.1.21 - */ - export function renameSync(oldPath: PathLike, newPath: PathLike): void; - /** - * Truncates the file. No arguments other than a possible exception are - * given to the completion callback. A file descriptor can also be passed as the - * first argument. In this case, `fs.ftruncate()` is called. - * - * ```js - * import { truncate } from 'node:fs'; - * // Assuming that 'path/file.txt' is a regular file. - * truncate('path/file.txt', (err) => { - * if (err) throw err; - * console.log('path/file.txt was truncated'); - * }); - * ``` - * - * Passing a file descriptor is deprecated and may result in an error being thrown - * in the future. - * - * See the POSIX [`truncate(2)`](http://man7.org/linux/man-pages/man2/truncate.2.html) documentation for more details. - * @since v0.8.6 - * @param [len=0] - */ - export function truncate(path: PathLike, len: number | undefined | null, callback: NoParamCallback): void; - /** - * Asynchronous truncate(2) - Truncate a file to a specified length. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - */ - export function truncate(path: PathLike, callback: NoParamCallback): void; - export namespace truncate { - /** - * Asynchronous truncate(2) - Truncate a file to a specified length. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param len If not specified, defaults to `0`. - */ - function __promisify__(path: PathLike, len?: number | null): Promise; - } - /** - * Truncates the file. Returns `undefined`. A file descriptor can also be - * passed as the first argument. In this case, `fs.ftruncateSync()` is called. - * - * Passing a file descriptor is deprecated and may result in an error being thrown - * in the future. - * @since v0.8.6 - * @param [len=0] - */ - export function truncateSync(path: PathLike, len?: number | null): void; - /** - * Truncates the file descriptor. No arguments other than a possible exception are - * given to the completion callback. - * - * See the POSIX [`ftruncate(2)`](http://man7.org/linux/man-pages/man2/ftruncate.2.html) documentation for more detail. - * - * If the file referred to by the file descriptor was larger than `len` bytes, only - * the first `len` bytes will be retained in the file. - * - * For example, the following program retains only the first four bytes of the - * file: - * - * ```js - * import { open, close, ftruncate } from 'node:fs'; - * - * function closeFd(fd) { - * close(fd, (err) => { - * if (err) throw err; - * }); - * } - * - * open('temp.txt', 'r+', (err, fd) => { - * if (err) throw err; - * - * try { - * ftruncate(fd, 4, (err) => { - * closeFd(fd); - * if (err) throw err; - * }); - * } catch (err) { - * closeFd(fd); - * if (err) throw err; - * } - * }); - * ``` - * - * If the file previously was shorter than `len` bytes, it is extended, and the - * extended part is filled with null bytes (`'\0'`): - * - * If `len` is negative then `0` will be used. - * @since v0.8.6 - * @param [len=0] - */ - export function ftruncate(fd: number, len: number | undefined | null, callback: NoParamCallback): void; - /** - * Asynchronous ftruncate(2) - Truncate a file to a specified length. - * @param fd A file descriptor. - */ - export function ftruncate(fd: number, callback: NoParamCallback): void; - export namespace ftruncate { - /** - * Asynchronous ftruncate(2) - Truncate a file to a specified length. - * @param fd A file descriptor. - * @param len If not specified, defaults to `0`. - */ - function __promisify__(fd: number, len?: number | null): Promise; - } - /** - * Truncates the file descriptor. Returns `undefined`. - * - * For detailed information, see the documentation of the asynchronous version of - * this API: {@link ftruncate}. - * @since v0.8.6 - * @param [len=0] - */ - export function ftruncateSync(fd: number, len?: number | null): void; - /** - * Asynchronously changes owner and group of a file. No arguments other than a - * possible exception are given to the completion callback. - * - * See the POSIX [`chown(2)`](http://man7.org/linux/man-pages/man2/chown.2.html) documentation for more detail. - * @since v0.1.97 - */ - export function chown(path: PathLike, uid: number, gid: number, callback: NoParamCallback): void; - export namespace chown { - /** - * Asynchronous chown(2) - Change ownership of a file. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - */ - function __promisify__(path: PathLike, uid: number, gid: number): Promise; - } - /** - * Synchronously changes owner and group of a file. Returns `undefined`. - * This is the synchronous version of {@link chown}. - * - * See the POSIX [`chown(2)`](http://man7.org/linux/man-pages/man2/chown.2.html) documentation for more detail. - * @since v0.1.97 - */ - export function chownSync(path: PathLike, uid: number, gid: number): void; - /** - * Sets the owner of the file. No arguments other than a possible exception are - * given to the completion callback. - * - * See the POSIX [`fchown(2)`](http://man7.org/linux/man-pages/man2/fchown.2.html) documentation for more detail. - * @since v0.4.7 - */ - export function fchown(fd: number, uid: number, gid: number, callback: NoParamCallback): void; - export namespace fchown { - /** - * Asynchronous fchown(2) - Change ownership of a file. - * @param fd A file descriptor. - */ - function __promisify__(fd: number, uid: number, gid: number): Promise; - } - /** - * Sets the owner of the file. Returns `undefined`. - * - * See the POSIX [`fchown(2)`](http://man7.org/linux/man-pages/man2/fchown.2.html) documentation for more detail. - * @since v0.4.7 - * @param uid The file's new owner's user id. - * @param gid The file's new group's group id. - */ - export function fchownSync(fd: number, uid: number, gid: number): void; - /** - * Set the owner of the symbolic link. No arguments other than a possible - * exception are given to the completion callback. - * - * See the POSIX [`lchown(2)`](http://man7.org/linux/man-pages/man2/lchown.2.html) documentation for more detail. - */ - export function lchown(path: PathLike, uid: number, gid: number, callback: NoParamCallback): void; - export namespace lchown { - /** - * Asynchronous lchown(2) - Change ownership of a file. Does not dereference symbolic links. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - */ - function __promisify__(path: PathLike, uid: number, gid: number): Promise; - } - /** - * Set the owner for the path. Returns `undefined`. - * - * See the POSIX [`lchown(2)`](http://man7.org/linux/man-pages/man2/lchown.2.html) documentation for more details. - * @param uid The file's new owner's user id. - * @param gid The file's new group's group id. - */ - export function lchownSync(path: PathLike, uid: number, gid: number): void; - /** - * Changes the access and modification times of a file in the same way as {@link utimes}, with the difference that if the path refers to a symbolic - * link, then the link is not dereferenced: instead, the timestamps of the - * symbolic link itself are changed. - * - * No arguments other than a possible exception are given to the completion - * callback. - * @since v14.5.0, v12.19.0 - */ - export function lutimes(path: PathLike, atime: TimeLike, mtime: TimeLike, callback: NoParamCallback): void; - export namespace lutimes { - /** - * Changes the access and modification times of a file in the same way as `fsPromises.utimes()`, - * with the difference that if the path refers to a symbolic link, then the link is not - * dereferenced: instead, the timestamps of the symbolic link itself are changed. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param atime The last access time. If a string is provided, it will be coerced to number. - * @param mtime The last modified time. If a string is provided, it will be coerced to number. - */ - function __promisify__(path: PathLike, atime: TimeLike, mtime: TimeLike): Promise; - } - /** - * Change the file system timestamps of the symbolic link referenced by `path`. - * Returns `undefined`, or throws an exception when parameters are incorrect or - * the operation fails. This is the synchronous version of {@link lutimes}. - * @since v14.5.0, v12.19.0 - */ - export function lutimesSync(path: PathLike, atime: TimeLike, mtime: TimeLike): void; - /** - * Asynchronously changes the permissions of a file. No arguments other than a - * possible exception are given to the completion callback. - * - * See the POSIX [`chmod(2)`](http://man7.org/linux/man-pages/man2/chmod.2.html) documentation for more detail. - * - * ```js - * import { chmod } from 'node:fs'; - * - * chmod('my_file.txt', 0o775, (err) => { - * if (err) throw err; - * console.log('The permissions for file "my_file.txt" have been changed!'); - * }); - * ``` - * @since v0.1.30 - */ - export function chmod(path: PathLike, mode: Mode, callback: NoParamCallback): void; - export namespace chmod { - /** - * Asynchronous chmod(2) - Change permissions of a file. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param mode A file mode. If a string is passed, it is parsed as an octal integer. - */ - function __promisify__(path: PathLike, mode: Mode): Promise; - } - /** - * For detailed information, see the documentation of the asynchronous version of - * this API: {@link chmod}. - * - * See the POSIX [`chmod(2)`](http://man7.org/linux/man-pages/man2/chmod.2.html) documentation for more detail. - * @since v0.6.7 - */ - export function chmodSync(path: PathLike, mode: Mode): void; - /** - * Sets the permissions on the file. No arguments other than a possible exception - * are given to the completion callback. - * - * See the POSIX [`fchmod(2)`](http://man7.org/linux/man-pages/man2/fchmod.2.html) documentation for more detail. - * @since v0.4.7 - */ - export function fchmod(fd: number, mode: Mode, callback: NoParamCallback): void; - export namespace fchmod { - /** - * Asynchronous fchmod(2) - Change permissions of a file. - * @param fd A file descriptor. - * @param mode A file mode. If a string is passed, it is parsed as an octal integer. - */ - function __promisify__(fd: number, mode: Mode): Promise; - } - /** - * Sets the permissions on the file. Returns `undefined`. - * - * See the POSIX [`fchmod(2)`](http://man7.org/linux/man-pages/man2/fchmod.2.html) documentation for more detail. - * @since v0.4.7 - */ - export function fchmodSync(fd: number, mode: Mode): void; - /** - * Changes the permissions on a symbolic link. No arguments other than a possible - * exception are given to the completion callback. - * - * This method is only implemented on macOS. - * - * See the POSIX [`lchmod(2)`](https://www.freebsd.org/cgi/man.cgi?query=lchmod&sektion=2) documentation for more detail. - * @deprecated Since v0.4.7 - */ - export function lchmod(path: PathLike, mode: Mode, callback: NoParamCallback): void; - /** @deprecated */ - export namespace lchmod { - /** - * Asynchronous lchmod(2) - Change permissions of a file. Does not dereference symbolic links. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param mode A file mode. If a string is passed, it is parsed as an octal integer. - */ - function __promisify__(path: PathLike, mode: Mode): Promise; - } - /** - * Changes the permissions on a symbolic link. Returns `undefined`. - * - * This method is only implemented on macOS. - * - * See the POSIX [`lchmod(2)`](https://www.freebsd.org/cgi/man.cgi?query=lchmod&sektion=2) documentation for more detail. - * @deprecated Since v0.4.7 - */ - export function lchmodSync(path: PathLike, mode: Mode): void; - /** - * Asynchronous [`stat(2)`](http://man7.org/linux/man-pages/man2/stat.2.html). The callback gets two arguments `(err, stats)` where`stats` is an `fs.Stats` object. - * - * In case of an error, the `err.code` will be one of `Common System Errors`. - * - * {@link stat} follows symbolic links. Use {@link lstat} to look at the - * links themselves. - * - * Using `fs.stat()` to check for the existence of a file before calling`fs.open()`, `fs.readFile()`, or `fs.writeFile()` is not recommended. - * Instead, user code should open/read/write the file directly and handle the - * error raised if the file is not available. - * - * To check if a file exists without manipulating it afterwards, {@link access} is recommended. - * - * For example, given the following directory structure: - * - * ```text - * - txtDir - * -- file.txt - * - app.js - * ``` - * - * The next program will check for the stats of the given paths: - * - * ```js - * import { stat } from 'node:fs'; - * - * const pathsToCheck = ['./txtDir', './txtDir/file.txt']; - * - * for (let i = 0; i < pathsToCheck.length; i++) { - * stat(pathsToCheck[i], (err, stats) => { - * console.log(stats.isDirectory()); - * console.log(stats); - * }); - * } - * ``` - * - * The resulting output will resemble: - * - * ```console - * true - * Stats { - * dev: 16777220, - * mode: 16877, - * nlink: 3, - * uid: 501, - * gid: 20, - * rdev: 0, - * blksize: 4096, - * ino: 14214262, - * size: 96, - * blocks: 0, - * atimeMs: 1561174653071.963, - * mtimeMs: 1561174614583.3518, - * ctimeMs: 1561174626623.5366, - * birthtimeMs: 1561174126937.2893, - * atime: 2019-06-22T03:37:33.072Z, - * mtime: 2019-06-22T03:36:54.583Z, - * ctime: 2019-06-22T03:37:06.624Z, - * birthtime: 2019-06-22T03:28:46.937Z - * } - * false - * Stats { - * dev: 16777220, - * mode: 33188, - * nlink: 1, - * uid: 501, - * gid: 20, - * rdev: 0, - * blksize: 4096, - * ino: 14214074, - * size: 8, - * blocks: 8, - * atimeMs: 1561174616618.8555, - * mtimeMs: 1561174614584, - * ctimeMs: 1561174614583.8145, - * birthtimeMs: 1561174007710.7478, - * atime: 2019-06-22T03:36:56.619Z, - * mtime: 2019-06-22T03:36:54.584Z, - * ctime: 2019-06-22T03:36:54.584Z, - * birthtime: 2019-06-22T03:26:47.711Z - * } - * ``` - * @since v0.0.2 - */ - export function stat(path: PathLike, callback: (err: NodeJS.ErrnoException | null, stats: Stats) => void): void; - export function stat( - path: PathLike, - options: - | (StatOptions & { - bigint?: false | undefined; - }) - | undefined, - callback: (err: NodeJS.ErrnoException | null, stats: Stats) => void, - ): void; - export function stat( - path: PathLike, - options: StatOptions & { - bigint: true; - }, - callback: (err: NodeJS.ErrnoException | null, stats: BigIntStats) => void, - ): void; - export function stat( - path: PathLike, - options: StatOptions | undefined, - callback: (err: NodeJS.ErrnoException | null, stats: Stats | BigIntStats) => void, - ): void; - export namespace stat { - /** - * Asynchronous stat(2) - Get file status. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - */ - function __promisify__( - path: PathLike, - options?: StatOptions & { - bigint?: false | undefined; - }, - ): Promise; - function __promisify__( - path: PathLike, - options: StatOptions & { - bigint: true; - }, - ): Promise; - function __promisify__(path: PathLike, options?: StatOptions): Promise; - } - export interface StatSyncFn extends Function { - (path: PathLike, options?: undefined): Stats; - ( - path: PathLike, - options?: StatSyncOptions & { - bigint?: false | undefined; - throwIfNoEntry: false; - }, - ): Stats | undefined; - ( - path: PathLike, - options: StatSyncOptions & { - bigint: true; - throwIfNoEntry: false; - }, - ): BigIntStats | undefined; - ( - path: PathLike, - options?: StatSyncOptions & { - bigint?: false | undefined; - }, - ): Stats; - ( - path: PathLike, - options: StatSyncOptions & { - bigint: true; - }, - ): BigIntStats; - ( - path: PathLike, - options: StatSyncOptions & { - bigint: boolean; - throwIfNoEntry?: false | undefined; - }, - ): Stats | BigIntStats; - (path: PathLike, options?: StatSyncOptions): Stats | BigIntStats | undefined; - } - /** - * Synchronous stat(2) - Get file status. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - */ - export const statSync: StatSyncFn; - /** - * Invokes the callback with the `fs.Stats` for the file descriptor. - * - * See the POSIX [`fstat(2)`](http://man7.org/linux/man-pages/man2/fstat.2.html) documentation for more detail. - * @since v0.1.95 - */ - export function fstat(fd: number, callback: (err: NodeJS.ErrnoException | null, stats: Stats) => void): void; - export function fstat( - fd: number, - options: - | (StatOptions & { - bigint?: false | undefined; - }) - | undefined, - callback: (err: NodeJS.ErrnoException | null, stats: Stats) => void, - ): void; - export function fstat( - fd: number, - options: StatOptions & { - bigint: true; - }, - callback: (err: NodeJS.ErrnoException | null, stats: BigIntStats) => void, - ): void; - export function fstat( - fd: number, - options: StatOptions | undefined, - callback: (err: NodeJS.ErrnoException | null, stats: Stats | BigIntStats) => void, - ): void; - export namespace fstat { - /** - * Asynchronous fstat(2) - Get file status. - * @param fd A file descriptor. - */ - function __promisify__( - fd: number, - options?: StatOptions & { - bigint?: false | undefined; - }, - ): Promise; - function __promisify__( - fd: number, - options: StatOptions & { - bigint: true; - }, - ): Promise; - function __promisify__(fd: number, options?: StatOptions): Promise; - } - /** - * Retrieves the `fs.Stats` for the file descriptor. - * - * See the POSIX [`fstat(2)`](http://man7.org/linux/man-pages/man2/fstat.2.html) documentation for more detail. - * @since v0.1.95 - */ - export function fstatSync( - fd: number, - options?: StatOptions & { - bigint?: false | undefined; - }, - ): Stats; - export function fstatSync( - fd: number, - options: StatOptions & { - bigint: true; - }, - ): BigIntStats; - export function fstatSync(fd: number, options?: StatOptions): Stats | BigIntStats; - /** - * Retrieves the `fs.Stats` for the symbolic link referred to by the path. - * The callback gets two arguments `(err, stats)` where `stats` is a `fs.Stats` object. `lstat()` is identical to `stat()`, except that if `path` is a symbolic - * link, then the link itself is stat-ed, not the file that it refers to. - * - * See the POSIX [`lstat(2)`](http://man7.org/linux/man-pages/man2/lstat.2.html) documentation for more details. - * @since v0.1.30 - */ - export function lstat(path: PathLike, callback: (err: NodeJS.ErrnoException | null, stats: Stats) => void): void; - export function lstat( - path: PathLike, - options: - | (StatOptions & { - bigint?: false | undefined; - }) - | undefined, - callback: (err: NodeJS.ErrnoException | null, stats: Stats) => void, - ): void; - export function lstat( - path: PathLike, - options: StatOptions & { - bigint: true; - }, - callback: (err: NodeJS.ErrnoException | null, stats: BigIntStats) => void, - ): void; - export function lstat( - path: PathLike, - options: StatOptions | undefined, - callback: (err: NodeJS.ErrnoException | null, stats: Stats | BigIntStats) => void, - ): void; - export namespace lstat { - /** - * Asynchronous lstat(2) - Get file status. Does not dereference symbolic links. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - */ - function __promisify__( - path: PathLike, - options?: StatOptions & { - bigint?: false | undefined; - }, - ): Promise; - function __promisify__( - path: PathLike, - options: StatOptions & { - bigint: true; - }, - ): Promise; - function __promisify__(path: PathLike, options?: StatOptions): Promise; - } - /** - * Asynchronous [`statfs(2)`](http://man7.org/linux/man-pages/man2/statfs.2.html). Returns information about the mounted file system which - * contains `path`. The callback gets two arguments `(err, stats)` where `stats`is an `fs.StatFs` object. - * - * In case of an error, the `err.code` will be one of `Common System Errors`. - * @since v19.6.0, v18.15.0 - * @param path A path to an existing file or directory on the file system to be queried. - */ - export function statfs(path: PathLike, callback: (err: NodeJS.ErrnoException | null, stats: StatsFs) => void): void; - export function statfs( - path: PathLike, - options: - | (StatFsOptions & { - bigint?: false | undefined; - }) - | undefined, - callback: (err: NodeJS.ErrnoException | null, stats: StatsFs) => void, - ): void; - export function statfs( - path: PathLike, - options: StatFsOptions & { - bigint: true; - }, - callback: (err: NodeJS.ErrnoException | null, stats: BigIntStatsFs) => void, - ): void; - export function statfs( - path: PathLike, - options: StatFsOptions | undefined, - callback: (err: NodeJS.ErrnoException | null, stats: StatsFs | BigIntStatsFs) => void, - ): void; - export namespace statfs { - /** - * Asynchronous statfs(2) - Returns information about the mounted file system which contains path. The callback gets two arguments (err, stats) where stats is an object. - * @param path A path to an existing file or directory on the file system to be queried. - */ - function __promisify__( - path: PathLike, - options?: StatFsOptions & { - bigint?: false | undefined; - }, - ): Promise; - function __promisify__( - path: PathLike, - options: StatFsOptions & { - bigint: true; - }, - ): Promise; - function __promisify__(path: PathLike, options?: StatFsOptions): Promise; - } - /** - * Synchronous [`statfs(2)`](http://man7.org/linux/man-pages/man2/statfs.2.html). Returns information about the mounted file system which - * contains `path`. - * - * In case of an error, the `err.code` will be one of `Common System Errors`. - * @since v19.6.0, v18.15.0 - * @param path A path to an existing file or directory on the file system to be queried. - */ - export function statfsSync( - path: PathLike, - options?: StatFsOptions & { - bigint?: false | undefined; - }, - ): StatsFs; - export function statfsSync( - path: PathLike, - options: StatFsOptions & { - bigint: true; - }, - ): BigIntStatsFs; - export function statfsSync(path: PathLike, options?: StatFsOptions): StatsFs | BigIntStatsFs; - /** - * Synchronous lstat(2) - Get file status. Does not dereference symbolic links. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - */ - export const lstatSync: StatSyncFn; - /** - * Creates a new link from the `existingPath` to the `newPath`. See the POSIX [`link(2)`](http://man7.org/linux/man-pages/man2/link.2.html) documentation for more detail. No arguments other than - * a possible - * exception are given to the completion callback. - * @since v0.1.31 - */ - export function link(existingPath: PathLike, newPath: PathLike, callback: NoParamCallback): void; - export namespace link { - /** - * Asynchronous link(2) - Create a new link (also known as a hard link) to an existing file. - * @param existingPath A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param newPath A path to a file. If a URL is provided, it must use the `file:` protocol. - */ - function __promisify__(existingPath: PathLike, newPath: PathLike): Promise; - } - /** - * Creates a new link from the `existingPath` to the `newPath`. See the POSIX [`link(2)`](http://man7.org/linux/man-pages/man2/link.2.html) documentation for more detail. Returns `undefined`. - * @since v0.1.31 - */ - export function linkSync(existingPath: PathLike, newPath: PathLike): void; - /** - * Creates the link called `path` pointing to `target`. No arguments other than a - * possible exception are given to the completion callback. - * - * See the POSIX [`symlink(2)`](http://man7.org/linux/man-pages/man2/symlink.2.html) documentation for more details. - * - * The `type` argument is only available on Windows and ignored on other platforms. - * It can be set to `'dir'`, `'file'`, or `'junction'`. If the `type` argument is - * not a string, Node.js will autodetect `target` type and use `'file'` or `'dir'`. - * If the `target` does not exist, `'file'` will be used. Windows junction points - * require the destination path to be absolute. When using `'junction'`, the`target` argument will automatically be normalized to absolute path. Junction - * points on NTFS volumes can only point to directories. - * - * Relative targets are relative to the link's parent directory. - * - * ```js - * import { symlink } from 'node:fs'; - * - * symlink('./mew', './mewtwo', callback); - * ``` - * - * The above example creates a symbolic link `mewtwo` which points to `mew` in the - * same directory: - * - * ```bash - * $ tree . - * . - * ├── mew - * └── mewtwo -> ./mew - * ``` - * @since v0.1.31 - * @param [type='null'] - */ - export function symlink( - target: PathLike, - path: PathLike, - type: symlink.Type | undefined | null, - callback: NoParamCallback, - ): void; - /** - * Asynchronous symlink(2) - Create a new symbolic link to an existing file. - * @param target A path to an existing file. If a URL is provided, it must use the `file:` protocol. - * @param path A path to the new symlink. If a URL is provided, it must use the `file:` protocol. - */ - export function symlink(target: PathLike, path: PathLike, callback: NoParamCallback): void; - export namespace symlink { - /** - * Asynchronous symlink(2) - Create a new symbolic link to an existing file. - * @param target A path to an existing file. If a URL is provided, it must use the `file:` protocol. - * @param path A path to the new symlink. If a URL is provided, it must use the `file:` protocol. - * @param type May be set to `'dir'`, `'file'`, or `'junction'` (default is `'file'`) and is only available on Windows (ignored on other platforms). - * When using `'junction'`, the `target` argument will automatically be normalized to an absolute path. - */ - function __promisify__(target: PathLike, path: PathLike, type?: string | null): Promise; - type Type = "dir" | "file" | "junction"; - } - /** - * Returns `undefined`. - * - * For detailed information, see the documentation of the asynchronous version of - * this API: {@link symlink}. - * @since v0.1.31 - * @param [type='null'] - */ - export function symlinkSync(target: PathLike, path: PathLike, type?: symlink.Type | null): void; - /** - * Reads the contents of the symbolic link referred to by `path`. The callback gets - * two arguments `(err, linkString)`. - * - * See the POSIX [`readlink(2)`](http://man7.org/linux/man-pages/man2/readlink.2.html) documentation for more details. - * - * The optional `options` argument can be a string specifying an encoding, or an - * object with an `encoding` property specifying the character encoding to use for - * the link path passed to the callback. If the `encoding` is set to `'buffer'`, - * the link path returned will be passed as a `Buffer` object. - * @since v0.1.31 - */ - export function readlink( - path: PathLike, - options: EncodingOption, - callback: (err: NodeJS.ErrnoException | null, linkString: string) => void, - ): void; - /** - * Asynchronous readlink(2) - read value of a symbolic link. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. - */ - export function readlink( - path: PathLike, - options: BufferEncodingOption, - callback: (err: NodeJS.ErrnoException | null, linkString: Buffer) => void, - ): void; - /** - * Asynchronous readlink(2) - read value of a symbolic link. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. - */ - export function readlink( - path: PathLike, - options: EncodingOption, - callback: (err: NodeJS.ErrnoException | null, linkString: string | Buffer) => void, - ): void; - /** - * Asynchronous readlink(2) - read value of a symbolic link. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - */ - export function readlink( - path: PathLike, - callback: (err: NodeJS.ErrnoException | null, linkString: string) => void, - ): void; - export namespace readlink { - /** - * Asynchronous readlink(2) - read value of a symbolic link. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. - */ - function __promisify__(path: PathLike, options?: EncodingOption): Promise; - /** - * Asynchronous readlink(2) - read value of a symbolic link. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. - */ - function __promisify__(path: PathLike, options: BufferEncodingOption): Promise; - /** - * Asynchronous readlink(2) - read value of a symbolic link. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. - */ - function __promisify__(path: PathLike, options?: EncodingOption): Promise; - } - /** - * Returns the symbolic link's string value. - * - * See the POSIX [`readlink(2)`](http://man7.org/linux/man-pages/man2/readlink.2.html) documentation for more details. - * - * The optional `options` argument can be a string specifying an encoding, or an - * object with an `encoding` property specifying the character encoding to use for - * the link path returned. If the `encoding` is set to `'buffer'`, - * the link path returned will be passed as a `Buffer` object. - * @since v0.1.31 - */ - export function readlinkSync(path: PathLike, options?: EncodingOption): string; - /** - * Synchronous readlink(2) - read value of a symbolic link. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. - */ - export function readlinkSync(path: PathLike, options: BufferEncodingOption): Buffer; - /** - * Synchronous readlink(2) - read value of a symbolic link. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. - */ - export function readlinkSync(path: PathLike, options?: EncodingOption): string | Buffer; - /** - * Asynchronously computes the canonical pathname by resolving `.`, `..`, and - * symbolic links. - * - * A canonical pathname is not necessarily unique. Hard links and bind mounts can - * expose a file system entity through many pathnames. - * - * This function behaves like [`realpath(3)`](http://man7.org/linux/man-pages/man3/realpath.3.html), with some exceptions: - * - * 1. No case conversion is performed on case-insensitive file systems. - * 2. The maximum number of symbolic links is platform-independent and generally - * (much) higher than what the native [`realpath(3)`](http://man7.org/linux/man-pages/man3/realpath.3.html) implementation supports. - * - * The `callback` gets two arguments `(err, resolvedPath)`. May use `process.cwd`to resolve relative paths. - * - * Only paths that can be converted to UTF8 strings are supported. - * - * The optional `options` argument can be a string specifying an encoding, or an - * object with an `encoding` property specifying the character encoding to use for - * the path passed to the callback. If the `encoding` is set to `'buffer'`, - * the path returned will be passed as a `Buffer` object. - * - * If `path` resolves to a socket or a pipe, the function will return a system - * dependent name for that object. - * @since v0.1.31 - */ - export function realpath( - path: PathLike, - options: EncodingOption, - callback: (err: NodeJS.ErrnoException | null, resolvedPath: string) => void, - ): void; - /** - * Asynchronous realpath(3) - return the canonicalized absolute pathname. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. - */ - export function realpath( - path: PathLike, - options: BufferEncodingOption, - callback: (err: NodeJS.ErrnoException | null, resolvedPath: Buffer) => void, - ): void; - /** - * Asynchronous realpath(3) - return the canonicalized absolute pathname. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. - */ - export function realpath( - path: PathLike, - options: EncodingOption, - callback: (err: NodeJS.ErrnoException | null, resolvedPath: string | Buffer) => void, - ): void; - /** - * Asynchronous realpath(3) - return the canonicalized absolute pathname. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - */ - export function realpath( - path: PathLike, - callback: (err: NodeJS.ErrnoException | null, resolvedPath: string) => void, - ): void; - export namespace realpath { - /** - * Asynchronous realpath(3) - return the canonicalized absolute pathname. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. - */ - function __promisify__(path: PathLike, options?: EncodingOption): Promise; - /** - * Asynchronous realpath(3) - return the canonicalized absolute pathname. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. - */ - function __promisify__(path: PathLike, options: BufferEncodingOption): Promise; - /** - * Asynchronous realpath(3) - return the canonicalized absolute pathname. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. - */ - function __promisify__(path: PathLike, options?: EncodingOption): Promise; - /** - * Asynchronous [`realpath(3)`](http://man7.org/linux/man-pages/man3/realpath.3.html). - * - * The `callback` gets two arguments `(err, resolvedPath)`. - * - * Only paths that can be converted to UTF8 strings are supported. - * - * The optional `options` argument can be a string specifying an encoding, or an - * object with an `encoding` property specifying the character encoding to use for - * the path passed to the callback. If the `encoding` is set to `'buffer'`, - * the path returned will be passed as a `Buffer` object. - * - * On Linux, when Node.js is linked against musl libc, the procfs file system must - * be mounted on `/proc` in order for this function to work. Glibc does not have - * this restriction. - * @since v9.2.0 - */ - function native( - path: PathLike, - options: EncodingOption, - callback: (err: NodeJS.ErrnoException | null, resolvedPath: string) => void, - ): void; - function native( - path: PathLike, - options: BufferEncodingOption, - callback: (err: NodeJS.ErrnoException | null, resolvedPath: Buffer) => void, - ): void; - function native( - path: PathLike, - options: EncodingOption, - callback: (err: NodeJS.ErrnoException | null, resolvedPath: string | Buffer) => void, - ): void; - function native( - path: PathLike, - callback: (err: NodeJS.ErrnoException | null, resolvedPath: string) => void, - ): void; - } - /** - * Returns the resolved pathname. - * - * For detailed information, see the documentation of the asynchronous version of - * this API: {@link realpath}. - * @since v0.1.31 - */ - export function realpathSync(path: PathLike, options?: EncodingOption): string; - /** - * Synchronous realpath(3) - return the canonicalized absolute pathname. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. - */ - export function realpathSync(path: PathLike, options: BufferEncodingOption): Buffer; - /** - * Synchronous realpath(3) - return the canonicalized absolute pathname. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. - */ - export function realpathSync(path: PathLike, options?: EncodingOption): string | Buffer; - export namespace realpathSync { - function native(path: PathLike, options?: EncodingOption): string; - function native(path: PathLike, options: BufferEncodingOption): Buffer; - function native(path: PathLike, options?: EncodingOption): string | Buffer; - } - /** - * Asynchronously removes a file or symbolic link. No arguments other than a - * possible exception are given to the completion callback. - * - * ```js - * import { unlink } from 'node:fs'; - * // Assuming that 'path/file.txt' is a regular file. - * unlink('path/file.txt', (err) => { - * if (err) throw err; - * console.log('path/file.txt was deleted'); - * }); - * ``` - * - * `fs.unlink()` will not work on a directory, empty or otherwise. To remove a - * directory, use {@link rmdir}. - * - * See the POSIX [`unlink(2)`](http://man7.org/linux/man-pages/man2/unlink.2.html) documentation for more details. - * @since v0.0.2 - */ - export function unlink(path: PathLike, callback: NoParamCallback): void; - export namespace unlink { - /** - * Asynchronous unlink(2) - delete a name and possibly the file it refers to. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - */ - function __promisify__(path: PathLike): Promise; - } - /** - * Synchronous [`unlink(2)`](http://man7.org/linux/man-pages/man2/unlink.2.html). Returns `undefined`. - * @since v0.1.21 - */ - export function unlinkSync(path: PathLike): void; - export interface RmDirOptions { - /** - * If an `EBUSY`, `EMFILE`, `ENFILE`, `ENOTEMPTY`, or - * `EPERM` error is encountered, Node.js will retry the operation with a linear - * backoff wait of `retryDelay` ms longer on each try. This option represents the - * number of retries. This option is ignored if the `recursive` option is not - * `true`. - * @default 0 - */ - maxRetries?: number | undefined; - /** - * @deprecated since v14.14.0 In future versions of Node.js and will trigger a warning - * `fs.rmdir(path, { recursive: true })` will throw if `path` does not exist or is a file. - * Use `fs.rm(path, { recursive: true, force: true })` instead. - * - * If `true`, perform a recursive directory removal. In - * recursive mode, operations are retried on failure. - * @default false - */ - recursive?: boolean | undefined; - /** - * The amount of time in milliseconds to wait between retries. - * This option is ignored if the `recursive` option is not `true`. - * @default 100 - */ - retryDelay?: number | undefined; - } - /** - * Asynchronous [`rmdir(2)`](http://man7.org/linux/man-pages/man2/rmdir.2.html). No arguments other than a possible exception are given - * to the completion callback. - * - * Using `fs.rmdir()` on a file (not a directory) results in an `ENOENT` error on - * Windows and an `ENOTDIR` error on POSIX. - * - * To get a behavior similar to the `rm -rf` Unix command, use {@link rm} with options `{ recursive: true, force: true }`. - * @since v0.0.2 - */ - export function rmdir(path: PathLike, callback: NoParamCallback): void; - export function rmdir(path: PathLike, options: RmDirOptions, callback: NoParamCallback): void; - export namespace rmdir { - /** - * Asynchronous rmdir(2) - delete a directory. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - */ - function __promisify__(path: PathLike, options?: RmDirOptions): Promise; - } - /** - * Synchronous [`rmdir(2)`](http://man7.org/linux/man-pages/man2/rmdir.2.html). Returns `undefined`. - * - * Using `fs.rmdirSync()` on a file (not a directory) results in an `ENOENT` error - * on Windows and an `ENOTDIR` error on POSIX. - * - * To get a behavior similar to the `rm -rf` Unix command, use {@link rmSync} with options `{ recursive: true, force: true }`. - * @since v0.1.21 - */ - export function rmdirSync(path: PathLike, options?: RmDirOptions): void; - export interface RmOptions { - /** - * When `true`, exceptions will be ignored if `path` does not exist. - * @default false - */ - force?: boolean | undefined; - /** - * If an `EBUSY`, `EMFILE`, `ENFILE`, `ENOTEMPTY`, or - * `EPERM` error is encountered, Node.js will retry the operation with a linear - * backoff wait of `retryDelay` ms longer on each try. This option represents the - * number of retries. This option is ignored if the `recursive` option is not - * `true`. - * @default 0 - */ - maxRetries?: number | undefined; - /** - * If `true`, perform a recursive directory removal. In - * recursive mode, operations are retried on failure. - * @default false - */ - recursive?: boolean | undefined; - /** - * The amount of time in milliseconds to wait between retries. - * This option is ignored if the `recursive` option is not `true`. - * @default 100 - */ - retryDelay?: number | undefined; - } - /** - * Asynchronously removes files and directories (modeled on the standard POSIX `rm`utility). No arguments other than a possible exception are given to the - * completion callback. - * @since v14.14.0 - */ - export function rm(path: PathLike, callback: NoParamCallback): void; - export function rm(path: PathLike, options: RmOptions, callback: NoParamCallback): void; - export namespace rm { - /** - * Asynchronously removes files and directories (modeled on the standard POSIX `rm` utility). - */ - function __promisify__(path: PathLike, options?: RmOptions): Promise; - } - /** - * Synchronously removes files and directories (modeled on the standard POSIX `rm`utility). Returns `undefined`. - * @since v14.14.0 - */ - export function rmSync(path: PathLike, options?: RmOptions): void; - export interface MakeDirectoryOptions { - /** - * Indicates whether parent folders should be created. - * If a folder was created, the path to the first created folder will be returned. - * @default false - */ - recursive?: boolean | undefined; - /** - * A file mode. If a string is passed, it is parsed as an octal integer. If not specified - * @default 0o777 - */ - mode?: Mode | undefined; - } - /** - * Asynchronously creates a directory. - * - * The callback is given a possible exception and, if `recursive` is `true`, the - * first directory path created, `(err[, path])`.`path` can still be `undefined` when `recursive` is `true`, if no directory was - * created (for instance, if it was previously created). - * - * The optional `options` argument can be an integer specifying `mode` (permission - * and sticky bits), or an object with a `mode` property and a `recursive`property indicating whether parent directories should be created. Calling`fs.mkdir()` when `path` is a directory that - * exists results in an error only - * when `recursive` is false. If `recursive` is false and the directory exists, - * an `EEXIST` error occurs. - * - * ```js - * import { mkdir } from 'node:fs'; - * - * // Create ./tmp/a/apple, regardless of whether ./tmp and ./tmp/a exist. - * mkdir('./tmp/a/apple', { recursive: true }, (err) => { - * if (err) throw err; - * }); - * ``` - * - * On Windows, using `fs.mkdir()` on the root directory even with recursion will - * result in an error: - * - * ```js - * import { mkdir } from 'node:fs'; - * - * mkdir('/', { recursive: true }, (err) => { - * // => [Error: EPERM: operation not permitted, mkdir 'C:\'] - * }); - * ``` - * - * See the POSIX [`mkdir(2)`](http://man7.org/linux/man-pages/man2/mkdir.2.html) documentation for more details. - * @since v0.1.8 - */ - export function mkdir( - path: PathLike, - options: MakeDirectoryOptions & { - recursive: true; - }, - callback: (err: NodeJS.ErrnoException | null, path?: string) => void, - ): void; - /** - * Asynchronous mkdir(2) - create a directory. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param options Either the file mode, or an object optionally specifying the file mode and whether parent folders - * should be created. If a string is passed, it is parsed as an octal integer. If not specified, defaults to `0o777`. - */ - export function mkdir( - path: PathLike, - options: - | Mode - | (MakeDirectoryOptions & { - recursive?: false | undefined; - }) - | null - | undefined, - callback: NoParamCallback, - ): void; - /** - * Asynchronous mkdir(2) - create a directory. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param options Either the file mode, or an object optionally specifying the file mode and whether parent folders - * should be created. If a string is passed, it is parsed as an octal integer. If not specified, defaults to `0o777`. - */ - export function mkdir( - path: PathLike, - options: Mode | MakeDirectoryOptions | null | undefined, - callback: (err: NodeJS.ErrnoException | null, path?: string) => void, - ): void; - /** - * Asynchronous mkdir(2) - create a directory with a mode of `0o777`. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - */ - export function mkdir(path: PathLike, callback: NoParamCallback): void; - export namespace mkdir { - /** - * Asynchronous mkdir(2) - create a directory. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param options Either the file mode, or an object optionally specifying the file mode and whether parent folders - * should be created. If a string is passed, it is parsed as an octal integer. If not specified, defaults to `0o777`. - */ - function __promisify__( - path: PathLike, - options: MakeDirectoryOptions & { - recursive: true; - }, - ): Promise; - /** - * Asynchronous mkdir(2) - create a directory. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param options Either the file mode, or an object optionally specifying the file mode and whether parent folders - * should be created. If a string is passed, it is parsed as an octal integer. If not specified, defaults to `0o777`. - */ - function __promisify__( - path: PathLike, - options?: - | Mode - | (MakeDirectoryOptions & { - recursive?: false | undefined; - }) - | null, - ): Promise; - /** - * Asynchronous mkdir(2) - create a directory. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param options Either the file mode, or an object optionally specifying the file mode and whether parent folders - * should be created. If a string is passed, it is parsed as an octal integer. If not specified, defaults to `0o777`. - */ - function __promisify__( - path: PathLike, - options?: Mode | MakeDirectoryOptions | null, - ): Promise; - } - /** - * Synchronously creates a directory. Returns `undefined`, or if `recursive` is`true`, the first directory path created. - * This is the synchronous version of {@link mkdir}. - * - * See the POSIX [`mkdir(2)`](http://man7.org/linux/man-pages/man2/mkdir.2.html) documentation for more details. - * @since v0.1.21 - */ - export function mkdirSync( - path: PathLike, - options: MakeDirectoryOptions & { - recursive: true; - }, - ): string | undefined; - /** - * Synchronous mkdir(2) - create a directory. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param options Either the file mode, or an object optionally specifying the file mode and whether parent folders - * should be created. If a string is passed, it is parsed as an octal integer. If not specified, defaults to `0o777`. - */ - export function mkdirSync( - path: PathLike, - options?: - | Mode - | (MakeDirectoryOptions & { - recursive?: false | undefined; - }) - | null, - ): void; - /** - * Synchronous mkdir(2) - create a directory. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param options Either the file mode, or an object optionally specifying the file mode and whether parent folders - * should be created. If a string is passed, it is parsed as an octal integer. If not specified, defaults to `0o777`. - */ - export function mkdirSync(path: PathLike, options?: Mode | MakeDirectoryOptions | null): string | undefined; - /** - * Creates a unique temporary directory. - * - * Generates six random characters to be appended behind a required`prefix` to create a unique temporary directory. Due to platform - * inconsistencies, avoid trailing `X` characters in `prefix`. Some platforms, - * notably the BSDs, can return more than six random characters, and replace - * trailing `X` characters in `prefix` with random characters. - * - * The created directory path is passed as a string to the callback's second - * parameter. - * - * The optional `options` argument can be a string specifying an encoding, or an - * object with an `encoding` property specifying the character encoding to use. - * - * ```js - * import { mkdtemp } from 'node:fs'; - * import { join } from 'node:path'; - * import { tmpdir } from 'node:os'; - * - * mkdtemp(join(tmpdir(), 'foo-'), (err, directory) => { - * if (err) throw err; - * console.log(directory); - * // Prints: /tmp/foo-itXde2 or C:\Users\...\AppData\Local\Temp\foo-itXde2 - * }); - * ``` - * - * The `fs.mkdtemp()` method will append the six randomly selected characters - * directly to the `prefix` string. For instance, given a directory `/tmp`, if the - * intention is to create a temporary directory _within_`/tmp`, the `prefix`must end with a trailing platform-specific path separator - * (`require('node:path').sep`). - * - * ```js - * import { tmpdir } from 'node:os'; - * import { mkdtemp } from 'node:fs'; - * - * // The parent directory for the new temporary directory - * const tmpDir = tmpdir(); - * - * // This method is *INCORRECT*: - * mkdtemp(tmpDir, (err, directory) => { - * if (err) throw err; - * console.log(directory); - * // Will print something similar to `/tmpabc123`. - * // A new temporary directory is created at the file system root - * // rather than *within* the /tmp directory. - * }); - * - * // This method is *CORRECT*: - * import { sep } from 'node:path'; - * mkdtemp(`${tmpDir}${sep}`, (err, directory) => { - * if (err) throw err; - * console.log(directory); - * // Will print something similar to `/tmp/abc123`. - * // A new temporary directory is created within - * // the /tmp directory. - * }); - * ``` - * @since v5.10.0 - */ - export function mkdtemp( - prefix: string, - options: EncodingOption, - callback: (err: NodeJS.ErrnoException | null, folder: string) => void, - ): void; - /** - * Asynchronously creates a unique temporary directory. - * Generates six random characters to be appended behind a required prefix to create a unique temporary directory. - * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. - */ - export function mkdtemp( - prefix: string, - options: - | "buffer" - | { - encoding: "buffer"; - }, - callback: (err: NodeJS.ErrnoException | null, folder: Buffer) => void, - ): void; - /** - * Asynchronously creates a unique temporary directory. - * Generates six random characters to be appended behind a required prefix to create a unique temporary directory. - * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. - */ - export function mkdtemp( - prefix: string, - options: EncodingOption, - callback: (err: NodeJS.ErrnoException | null, folder: string | Buffer) => void, - ): void; - /** - * Asynchronously creates a unique temporary directory. - * Generates six random characters to be appended behind a required prefix to create a unique temporary directory. - */ - export function mkdtemp( - prefix: string, - callback: (err: NodeJS.ErrnoException | null, folder: string) => void, - ): void; - export namespace mkdtemp { - /** - * Asynchronously creates a unique temporary directory. - * Generates six random characters to be appended behind a required prefix to create a unique temporary directory. - * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. - */ - function __promisify__(prefix: string, options?: EncodingOption): Promise; - /** - * Asynchronously creates a unique temporary directory. - * Generates six random characters to be appended behind a required prefix to create a unique temporary directory. - * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. - */ - function __promisify__(prefix: string, options: BufferEncodingOption): Promise; - /** - * Asynchronously creates a unique temporary directory. - * Generates six random characters to be appended behind a required prefix to create a unique temporary directory. - * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. - */ - function __promisify__(prefix: string, options?: EncodingOption): Promise; - } - /** - * Returns the created directory path. - * - * For detailed information, see the documentation of the asynchronous version of - * this API: {@link mkdtemp}. - * - * The optional `options` argument can be a string specifying an encoding, or an - * object with an `encoding` property specifying the character encoding to use. - * @since v5.10.0 - */ - export function mkdtempSync(prefix: string, options?: EncodingOption): string; - /** - * Synchronously creates a unique temporary directory. - * Generates six random characters to be appended behind a required prefix to create a unique temporary directory. - * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. - */ - export function mkdtempSync(prefix: string, options: BufferEncodingOption): Buffer; - /** - * Synchronously creates a unique temporary directory. - * Generates six random characters to be appended behind a required prefix to create a unique temporary directory. - * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. - */ - export function mkdtempSync(prefix: string, options?: EncodingOption): string | Buffer; - /** - * Reads the contents of a directory. The callback gets two arguments `(err, files)`where `files` is an array of the names of the files in the directory excluding`'.'` and `'..'`. - * - * See the POSIX [`readdir(3)`](http://man7.org/linux/man-pages/man3/readdir.3.html) documentation for more details. - * - * The optional `options` argument can be a string specifying an encoding, or an - * object with an `encoding` property specifying the character encoding to use for - * the filenames passed to the callback. If the `encoding` is set to `'buffer'`, - * the filenames returned will be passed as `Buffer` objects. - * - * If `options.withFileTypes` is set to `true`, the `files` array will contain `fs.Dirent` objects. - * @since v0.1.8 - */ - export function readdir( - path: PathLike, - options: - | { - encoding: BufferEncoding | null; - withFileTypes?: false | undefined; - recursive?: boolean | undefined; - } - | BufferEncoding - | undefined - | null, - callback: (err: NodeJS.ErrnoException | null, files: string[]) => void, - ): void; - /** - * Asynchronous readdir(3) - read a directory. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. - */ - export function readdir( - path: PathLike, - options: - | { - encoding: "buffer"; - withFileTypes?: false | undefined; - recursive?: boolean | undefined; - } - | "buffer", - callback: (err: NodeJS.ErrnoException | null, files: Buffer[]) => void, - ): void; - /** - * Asynchronous readdir(3) - read a directory. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. - */ - export function readdir( - path: PathLike, - options: - | (ObjectEncodingOptions & { - withFileTypes?: false | undefined; - recursive?: boolean | undefined; - }) - | BufferEncoding - | undefined - | null, - callback: (err: NodeJS.ErrnoException | null, files: string[] | Buffer[]) => void, - ): void; - /** - * Asynchronous readdir(3) - read a directory. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - */ - export function readdir( - path: PathLike, - callback: (err: NodeJS.ErrnoException | null, files: string[]) => void, - ): void; - /** - * Asynchronous readdir(3) - read a directory. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param options If called with `withFileTypes: true` the result data will be an array of Dirent. - */ - export function readdir( - path: PathLike, - options: ObjectEncodingOptions & { - withFileTypes: true; - recursive?: boolean | undefined; - }, - callback: (err: NodeJS.ErrnoException | null, files: Dirent[]) => void, - ): void; - export namespace readdir { - /** - * Asynchronous readdir(3) - read a directory. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. - */ - function __promisify__( - path: PathLike, - options?: - | { - encoding: BufferEncoding | null; - withFileTypes?: false | undefined; - recursive?: boolean | undefined; - } - | BufferEncoding - | null, - ): Promise; - /** - * Asynchronous readdir(3) - read a directory. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. - */ - function __promisify__( - path: PathLike, - options: - | "buffer" - | { - encoding: "buffer"; - withFileTypes?: false | undefined; - recursive?: boolean | undefined; - }, - ): Promise; - /** - * Asynchronous readdir(3) - read a directory. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. - */ - function __promisify__( - path: PathLike, - options?: - | (ObjectEncodingOptions & { - withFileTypes?: false | undefined; - recursive?: boolean | undefined; - }) - | BufferEncoding - | null, - ): Promise; - /** - * Asynchronous readdir(3) - read a directory. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param options If called with `withFileTypes: true` the result data will be an array of Dirent - */ - function __promisify__( - path: PathLike, - options: ObjectEncodingOptions & { - withFileTypes: true; - recursive?: boolean | undefined; - }, - ): Promise; - } - /** - * Reads the contents of the directory. - * - * See the POSIX [`readdir(3)`](http://man7.org/linux/man-pages/man3/readdir.3.html) documentation for more details. - * - * The optional `options` argument can be a string specifying an encoding, or an - * object with an `encoding` property specifying the character encoding to use for - * the filenames returned. If the `encoding` is set to `'buffer'`, - * the filenames returned will be passed as `Buffer` objects. - * - * If `options.withFileTypes` is set to `true`, the result will contain `fs.Dirent` objects. - * @since v0.1.21 - */ - export function readdirSync( - path: PathLike, - options?: - | { - encoding: BufferEncoding | null; - withFileTypes?: false | undefined; - recursive?: boolean | undefined; - } - | BufferEncoding - | null, - ): string[]; - /** - * Synchronous readdir(3) - read a directory. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. - */ - export function readdirSync( - path: PathLike, - options: - | { - encoding: "buffer"; - withFileTypes?: false | undefined; - recursive?: boolean | undefined; - } - | "buffer", - ): Buffer[]; - /** - * Synchronous readdir(3) - read a directory. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. - */ - export function readdirSync( - path: PathLike, - options?: - | (ObjectEncodingOptions & { - withFileTypes?: false | undefined; - recursive?: boolean | undefined; - }) - | BufferEncoding - | null, - ): string[] | Buffer[]; - /** - * Synchronous readdir(3) - read a directory. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param options If called with `withFileTypes: true` the result data will be an array of Dirent. - */ - export function readdirSync( - path: PathLike, - options: ObjectEncodingOptions & { - withFileTypes: true; - recursive?: boolean | undefined; - }, - ): Dirent[]; - /** - * Closes the file descriptor. No arguments other than a possible exception are - * given to the completion callback. - * - * Calling `fs.close()` on any file descriptor (`fd`) that is currently in use - * through any other `fs` operation may lead to undefined behavior. - * - * See the POSIX [`close(2)`](http://man7.org/linux/man-pages/man2/close.2.html) documentation for more detail. - * @since v0.0.2 - */ - export function close(fd: number, callback?: NoParamCallback): void; - export namespace close { - /** - * Asynchronous close(2) - close a file descriptor. - * @param fd A file descriptor. - */ - function __promisify__(fd: number): Promise; - } - /** - * Closes the file descriptor. Returns `undefined`. - * - * Calling `fs.closeSync()` on any file descriptor (`fd`) that is currently in use - * through any other `fs` operation may lead to undefined behavior. - * - * See the POSIX [`close(2)`](http://man7.org/linux/man-pages/man2/close.2.html) documentation for more detail. - * @since v0.1.21 - */ - export function closeSync(fd: number): void; - /** - * Asynchronous file open. See the POSIX [`open(2)`](http://man7.org/linux/man-pages/man2/open.2.html) documentation for more details. - * - * `mode` sets the file mode (permission and sticky bits), but only if the file was - * created. On Windows, only the write permission can be manipulated; see {@link chmod}. - * - * The callback gets two arguments `(err, fd)`. - * - * Some characters (`< > : " / \ | ? *`) are reserved under Windows as documented - * by [Naming Files, Paths, and Namespaces](https://docs.microsoft.com/en-us/windows/desktop/FileIO/naming-a-file). Under NTFS, if the filename contains - * a colon, Node.js will open a file system stream, as described by [this MSDN page](https://docs.microsoft.com/en-us/windows/desktop/FileIO/using-streams). - * - * Functions based on `fs.open()` exhibit this behavior as well:`fs.writeFile()`, `fs.readFile()`, etc. - * @since v0.0.2 - * @param [flags='r'] See `support of file system `flags``. - * @param [mode=0o666] - */ - export function open( - path: PathLike, - flags: OpenMode | undefined, - mode: Mode | undefined | null, - callback: (err: NodeJS.ErrnoException | null, fd: number) => void, - ): void; - /** - * Asynchronous open(2) - open and possibly create a file. If the file is created, its mode will be `0o666`. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param [flags='r'] See `support of file system `flags``. - */ - export function open( - path: PathLike, - flags: OpenMode | undefined, - callback: (err: NodeJS.ErrnoException | null, fd: number) => void, - ): void; - /** - * Asynchronous open(2) - open and possibly create a file. If the file is created, its mode will be `0o666`. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - */ - export function open(path: PathLike, callback: (err: NodeJS.ErrnoException | null, fd: number) => void): void; - export namespace open { - /** - * Asynchronous open(2) - open and possibly create a file. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param mode A file mode. If a string is passed, it is parsed as an octal integer. If not supplied, defaults to `0o666`. - */ - function __promisify__(path: PathLike, flags: OpenMode, mode?: Mode | null): Promise; - } - /** - * Returns an integer representing the file descriptor. - * - * For detailed information, see the documentation of the asynchronous version of - * this API: {@link open}. - * @since v0.1.21 - * @param [flags='r'] - * @param [mode=0o666] - */ - export function openSync(path: PathLike, flags: OpenMode, mode?: Mode | null): number; - /** - * Change the file system timestamps of the object referenced by `path`. - * - * The `atime` and `mtime` arguments follow these rules: - * - * * Values can be either numbers representing Unix epoch time in seconds,`Date`s, or a numeric string like `'123456789.0'`. - * * If the value can not be converted to a number, or is `NaN`, `Infinity`, or`-Infinity`, an `Error` will be thrown. - * @since v0.4.2 - */ - export function utimes(path: PathLike, atime: TimeLike, mtime: TimeLike, callback: NoParamCallback): void; - export namespace utimes { - /** - * Asynchronously change file timestamps of the file referenced by the supplied path. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param atime The last access time. If a string is provided, it will be coerced to number. - * @param mtime The last modified time. If a string is provided, it will be coerced to number. - */ - function __promisify__(path: PathLike, atime: TimeLike, mtime: TimeLike): Promise; - } - /** - * Returns `undefined`. - * - * For detailed information, see the documentation of the asynchronous version of - * this API: {@link utimes}. - * @since v0.4.2 - */ - export function utimesSync(path: PathLike, atime: TimeLike, mtime: TimeLike): void; - /** - * Change the file system timestamps of the object referenced by the supplied file - * descriptor. See {@link utimes}. - * @since v0.4.2 - */ - export function futimes(fd: number, atime: TimeLike, mtime: TimeLike, callback: NoParamCallback): void; - export namespace futimes { - /** - * Asynchronously change file timestamps of the file referenced by the supplied file descriptor. - * @param fd A file descriptor. - * @param atime The last access time. If a string is provided, it will be coerced to number. - * @param mtime The last modified time. If a string is provided, it will be coerced to number. - */ - function __promisify__(fd: number, atime: TimeLike, mtime: TimeLike): Promise; - } - /** - * Synchronous version of {@link futimes}. Returns `undefined`. - * @since v0.4.2 - */ - export function futimesSync(fd: number, atime: TimeLike, mtime: TimeLike): void; - /** - * Request that all data for the open file descriptor is flushed to the storage - * device. The specific implementation is operating system and device specific. - * Refer to the POSIX [`fsync(2)`](http://man7.org/linux/man-pages/man2/fsync.2.html) documentation for more detail. No arguments other - * than a possible exception are given to the completion callback. - * @since v0.1.96 - */ - export function fsync(fd: number, callback: NoParamCallback): void; - export namespace fsync { - /** - * Asynchronous fsync(2) - synchronize a file's in-core state with the underlying storage device. - * @param fd A file descriptor. - */ - function __promisify__(fd: number): Promise; - } - /** - * Request that all data for the open file descriptor is flushed to the storage - * device. The specific implementation is operating system and device specific. - * Refer to the POSIX [`fsync(2)`](http://man7.org/linux/man-pages/man2/fsync.2.html) documentation for more detail. Returns `undefined`. - * @since v0.1.96 - */ - export function fsyncSync(fd: number): void; - /** - * Write `buffer` to the file specified by `fd`. - * - * `offset` determines the part of the buffer to be written, and `length` is - * an integer specifying the number of bytes to write. - * - * `position` refers to the offset from the beginning of the file where this data - * should be written. If `typeof position !== 'number'`, the data will be written - * at the current position. See [`pwrite(2)`](http://man7.org/linux/man-pages/man2/pwrite.2.html). - * - * The callback will be given three arguments `(err, bytesWritten, buffer)` where`bytesWritten` specifies how many _bytes_ were written from `buffer`. - * - * If this method is invoked as its `util.promisify()` ed version, it returns - * a promise for an `Object` with `bytesWritten` and `buffer` properties. - * - * It is unsafe to use `fs.write()` multiple times on the same file without waiting - * for the callback. For this scenario, {@link createWriteStream} is - * recommended. - * - * On Linux, positional writes don't work when the file is opened in append mode. - * The kernel ignores the position argument and always appends the data to - * the end of the file. - * @since v0.0.2 - * @param [offset=0] - * @param [length=buffer.byteLength - offset] - * @param [position='null'] - */ - export function write( - fd: number, - buffer: TBuffer, - offset: number | undefined | null, - length: number | undefined | null, - position: number | undefined | null, - callback: (err: NodeJS.ErrnoException | null, written: number, buffer: TBuffer) => void, - ): void; - /** - * Asynchronously writes `buffer` to the file referenced by the supplied file descriptor. - * @param fd A file descriptor. - * @param offset The part of the buffer to be written. If not supplied, defaults to `0`. - * @param length The number of bytes to write. If not supplied, defaults to `buffer.length - offset`. - */ - export function write( - fd: number, - buffer: TBuffer, - offset: number | undefined | null, - length: number | undefined | null, - callback: (err: NodeJS.ErrnoException | null, written: number, buffer: TBuffer) => void, - ): void; - /** - * Asynchronously writes `buffer` to the file referenced by the supplied file descriptor. - * @param fd A file descriptor. - * @param offset The part of the buffer to be written. If not supplied, defaults to `0`. - */ - export function write( - fd: number, - buffer: TBuffer, - offset: number | undefined | null, - callback: (err: NodeJS.ErrnoException | null, written: number, buffer: TBuffer) => void, - ): void; - /** - * Asynchronously writes `buffer` to the file referenced by the supplied file descriptor. - * @param fd A file descriptor. - */ - export function write( - fd: number, - buffer: TBuffer, - callback: (err: NodeJS.ErrnoException | null, written: number, buffer: TBuffer) => void, - ): void; - /** - * Asynchronously writes `string` to the file referenced by the supplied file descriptor. - * @param fd A file descriptor. - * @param string A string to write. - * @param position The offset from the beginning of the file where this data should be written. If not supplied, defaults to the current position. - * @param encoding The expected string encoding. - */ - export function write( - fd: number, - string: string, - position: number | undefined | null, - encoding: BufferEncoding | undefined | null, - callback: (err: NodeJS.ErrnoException | null, written: number, str: string) => void, - ): void; - /** - * Asynchronously writes `string` to the file referenced by the supplied file descriptor. - * @param fd A file descriptor. - * @param string A string to write. - * @param position The offset from the beginning of the file where this data should be written. If not supplied, defaults to the current position. - */ - export function write( - fd: number, - string: string, - position: number | undefined | null, - callback: (err: NodeJS.ErrnoException | null, written: number, str: string) => void, - ): void; - /** - * Asynchronously writes `string` to the file referenced by the supplied file descriptor. - * @param fd A file descriptor. - * @param string A string to write. - */ - export function write( - fd: number, - string: string, - callback: (err: NodeJS.ErrnoException | null, written: number, str: string) => void, - ): void; - export namespace write { - /** - * Asynchronously writes `buffer` to the file referenced by the supplied file descriptor. - * @param fd A file descriptor. - * @param offset The part of the buffer to be written. If not supplied, defaults to `0`. - * @param length The number of bytes to write. If not supplied, defaults to `buffer.length - offset`. - * @param position The offset from the beginning of the file where this data should be written. If not supplied, defaults to the current position. - */ - function __promisify__( - fd: number, - buffer?: TBuffer, - offset?: number, - length?: number, - position?: number | null, - ): Promise<{ - bytesWritten: number; - buffer: TBuffer; - }>; - /** - * Asynchronously writes `string` to the file referenced by the supplied file descriptor. - * @param fd A file descriptor. - * @param string A string to write. - * @param position The offset from the beginning of the file where this data should be written. If not supplied, defaults to the current position. - * @param encoding The expected string encoding. - */ - function __promisify__( - fd: number, - string: string, - position?: number | null, - encoding?: BufferEncoding | null, - ): Promise<{ - bytesWritten: number; - buffer: string; - }>; - } - /** - * For detailed information, see the documentation of the asynchronous version of - * this API: {@link write}. - * @since v0.1.21 - * @param [offset=0] - * @param [length=buffer.byteLength - offset] - * @param [position='null'] - * @return The number of bytes written. - */ - export function writeSync( - fd: number, - buffer: NodeJS.ArrayBufferView, - offset?: number | null, - length?: number | null, - position?: number | null, - ): number; - /** - * Synchronously writes `string` to the file referenced by the supplied file descriptor, returning the number of bytes written. - * @param fd A file descriptor. - * @param string A string to write. - * @param position The offset from the beginning of the file where this data should be written. If not supplied, defaults to the current position. - * @param encoding The expected string encoding. - */ - export function writeSync( - fd: number, - string: string, - position?: number | null, - encoding?: BufferEncoding | null, - ): number; - export type ReadPosition = number | bigint; - export interface ReadSyncOptions { - /** - * @default 0 - */ - offset?: number | undefined; - /** - * @default `length of buffer` - */ - length?: number | undefined; - /** - * @default null - */ - position?: ReadPosition | null | undefined; - } - export interface ReadAsyncOptions extends ReadSyncOptions { - buffer?: TBuffer; - } - /** - * Read data from the file specified by `fd`. - * - * The callback is given the three arguments, `(err, bytesRead, buffer)`. - * - * If the file is not modified concurrently, the end-of-file is reached when the - * number of bytes read is zero. - * - * If this method is invoked as its `util.promisify()` ed version, it returns - * a promise for an `Object` with `bytesRead` and `buffer` properties. - * @since v0.0.2 - * @param buffer The buffer that the data will be written to. - * @param offset The position in `buffer` to write the data to. - * @param length The number of bytes to read. - * @param position Specifies where to begin reading from in the file. If `position` is `null` or `-1 `, data will be read from the current file position, and the file position will be updated. If - * `position` is an integer, the file position will be unchanged. - */ - export function read( - fd: number, - buffer: TBuffer, - offset: number, - length: number, - position: ReadPosition | null, - callback: (err: NodeJS.ErrnoException | null, bytesRead: number, buffer: TBuffer) => void, - ): void; - /** - * Similar to the above `fs.read` function, this version takes an optional `options` object. - * If not otherwise specified in an `options` object, - * `buffer` defaults to `Buffer.alloc(16384)`, - * `offset` defaults to `0`, - * `length` defaults to `buffer.byteLength`, `- offset` as of Node 17.6.0 - * `position` defaults to `null` - * @since v12.17.0, 13.11.0 - */ - export function read( - fd: number, - options: ReadAsyncOptions, - callback: (err: NodeJS.ErrnoException | null, bytesRead: number, buffer: TBuffer) => void, - ): void; - export function read( - fd: number, - callback: (err: NodeJS.ErrnoException | null, bytesRead: number, buffer: NodeJS.ArrayBufferView) => void, - ): void; - export namespace read { - /** - * @param fd A file descriptor. - * @param buffer The buffer that the data will be written to. - * @param offset The offset in the buffer at which to start writing. - * @param length The number of bytes to read. - * @param position The offset from the beginning of the file from which data should be read. If `null`, data will be read from the current position. - */ - function __promisify__( - fd: number, - buffer: TBuffer, - offset: number, - length: number, - position: number | null, - ): Promise<{ - bytesRead: number; - buffer: TBuffer; - }>; - function __promisify__( - fd: number, - options: ReadAsyncOptions, - ): Promise<{ - bytesRead: number; - buffer: TBuffer; - }>; - function __promisify__(fd: number): Promise<{ - bytesRead: number; - buffer: NodeJS.ArrayBufferView; - }>; - } - /** - * Returns the number of `bytesRead`. - * - * For detailed information, see the documentation of the asynchronous version of - * this API: {@link read}. - * @since v0.1.21 - * @param [position='null'] - */ - export function readSync( - fd: number, - buffer: NodeJS.ArrayBufferView, - offset: number, - length: number, - position: ReadPosition | null, - ): number; - /** - * Similar to the above `fs.readSync` function, this version takes an optional `options` object. - * If no `options` object is specified, it will default with the above values. - */ - export function readSync(fd: number, buffer: NodeJS.ArrayBufferView, opts?: ReadSyncOptions): number; - /** - * Asynchronously reads the entire contents of a file. - * - * ```js - * import { readFile } from 'node:fs'; - * - * readFile('/etc/passwd', (err, data) => { - * if (err) throw err; - * console.log(data); - * }); - * ``` - * - * The callback is passed two arguments `(err, data)`, where `data` is the - * contents of the file. - * - * If no encoding is specified, then the raw buffer is returned. - * - * If `options` is a string, then it specifies the encoding: - * - * ```js - * import { readFile } from 'node:fs'; - * - * readFile('/etc/passwd', 'utf8', callback); - * ``` - * - * When the path is a directory, the behavior of `fs.readFile()` and {@link readFileSync} is platform-specific. On macOS, Linux, and Windows, an - * error will be returned. On FreeBSD, a representation of the directory's contents - * will be returned. - * - * ```js - * import { readFile } from 'node:fs'; - * - * // macOS, Linux, and Windows - * readFile('', (err, data) => { - * // => [Error: EISDIR: illegal operation on a directory, read ] - * }); - * - * // FreeBSD - * readFile('', (err, data) => { - * // => null, - * }); - * ``` - * - * It is possible to abort an ongoing request using an `AbortSignal`. If a - * request is aborted the callback is called with an `AbortError`: - * - * ```js - * import { readFile } from 'node:fs'; - * - * const controller = new AbortController(); - * const signal = controller.signal; - * readFile(fileInfo[0].name, { signal }, (err, buf) => { - * // ... - * }); - * // When you want to abort the request - * controller.abort(); - * ``` - * - * The `fs.readFile()` function buffers the entire file. To minimize memory costs, - * when possible prefer streaming via `fs.createReadStream()`. - * - * Aborting an ongoing request does not abort individual operating - * system requests but rather the internal buffering `fs.readFile` performs. - * @since v0.1.29 - * @param path filename or file descriptor - */ - export function readFile( - path: PathOrFileDescriptor, - options: - | ({ - encoding?: null | undefined; - flag?: string | undefined; - } & Abortable) - | undefined - | null, - callback: (err: NodeJS.ErrnoException | null, data: Buffer) => void, - ): void; - /** - * Asynchronously reads the entire contents of a file. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * If a file descriptor is provided, the underlying file will _not_ be closed automatically. - * @param options Either the encoding for the result, or an object that contains the encoding and an optional flag. - * If a flag is not provided, it defaults to `'r'`. - */ - export function readFile( - path: PathOrFileDescriptor, - options: - | ({ - encoding: BufferEncoding; - flag?: string | undefined; - } & Abortable) - | BufferEncoding, - callback: (err: NodeJS.ErrnoException | null, data: string) => void, - ): void; - /** - * Asynchronously reads the entire contents of a file. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * If a file descriptor is provided, the underlying file will _not_ be closed automatically. - * @param options Either the encoding for the result, or an object that contains the encoding and an optional flag. - * If a flag is not provided, it defaults to `'r'`. - */ - export function readFile( - path: PathOrFileDescriptor, - options: - | (ObjectEncodingOptions & { - flag?: string | undefined; - } & Abortable) - | BufferEncoding - | undefined - | null, - callback: (err: NodeJS.ErrnoException | null, data: string | Buffer) => void, - ): void; - /** - * Asynchronously reads the entire contents of a file. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * If a file descriptor is provided, the underlying file will _not_ be closed automatically. - */ - export function readFile( - path: PathOrFileDescriptor, - callback: (err: NodeJS.ErrnoException | null, data: Buffer) => void, - ): void; - export namespace readFile { - /** - * Asynchronously reads the entire contents of a file. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * If a file descriptor is provided, the underlying file will _not_ be closed automatically. - * @param options An object that may contain an optional flag. - * If a flag is not provided, it defaults to `'r'`. - */ - function __promisify__( - path: PathOrFileDescriptor, - options?: { - encoding?: null | undefined; - flag?: string | undefined; - } | null, - ): Promise; - /** - * Asynchronously reads the entire contents of a file. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * URL support is _experimental_. - * If a file descriptor is provided, the underlying file will _not_ be closed automatically. - * @param options Either the encoding for the result, or an object that contains the encoding and an optional flag. - * If a flag is not provided, it defaults to `'r'`. - */ - function __promisify__( - path: PathOrFileDescriptor, - options: - | { - encoding: BufferEncoding; - flag?: string | undefined; - } - | BufferEncoding, - ): Promise; - /** - * Asynchronously reads the entire contents of a file. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * URL support is _experimental_. - * If a file descriptor is provided, the underlying file will _not_ be closed automatically. - * @param options Either the encoding for the result, or an object that contains the encoding and an optional flag. - * If a flag is not provided, it defaults to `'r'`. - */ - function __promisify__( - path: PathOrFileDescriptor, - options?: - | (ObjectEncodingOptions & { - flag?: string | undefined; - }) - | BufferEncoding - | null, - ): Promise; - } - /** - * Returns the contents of the `path`. - * - * For detailed information, see the documentation of the asynchronous version of - * this API: {@link readFile}. - * - * If the `encoding` option is specified then this function returns a - * string. Otherwise it returns a buffer. - * - * Similar to {@link readFile}, when the path is a directory, the behavior of`fs.readFileSync()` is platform-specific. - * - * ```js - * import { readFileSync } from 'node:fs'; - * - * // macOS, Linux, and Windows - * readFileSync(''); - * // => [Error: EISDIR: illegal operation on a directory, read ] - * - * // FreeBSD - * readFileSync(''); // => - * ``` - * @since v0.1.8 - * @param path filename or file descriptor - */ - export function readFileSync( - path: PathOrFileDescriptor, - options?: { - encoding?: null | undefined; - flag?: string | undefined; - } | null, - ): Buffer; - /** - * Synchronously reads the entire contents of a file. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * If a file descriptor is provided, the underlying file will _not_ be closed automatically. - * @param options Either the encoding for the result, or an object that contains the encoding and an optional flag. - * If a flag is not provided, it defaults to `'r'`. - */ - export function readFileSync( - path: PathOrFileDescriptor, - options: - | { - encoding: BufferEncoding; - flag?: string | undefined; - } - | BufferEncoding, - ): string; - /** - * Synchronously reads the entire contents of a file. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * If a file descriptor is provided, the underlying file will _not_ be closed automatically. - * @param options Either the encoding for the result, or an object that contains the encoding and an optional flag. - * If a flag is not provided, it defaults to `'r'`. - */ - export function readFileSync( - path: PathOrFileDescriptor, - options?: - | (ObjectEncodingOptions & { - flag?: string | undefined; - }) - | BufferEncoding - | null, - ): string | Buffer; - export type WriteFileOptions = - | ( - & ObjectEncodingOptions - & Abortable - & { - mode?: Mode | undefined; - flag?: string | undefined; - flush?: boolean | undefined; - } - ) - | BufferEncoding - | null; - /** - * When `file` is a filename, asynchronously writes data to the file, replacing the - * file if it already exists. `data` can be a string or a buffer. - * - * When `file` is a file descriptor, the behavior is similar to calling`fs.write()` directly (which is recommended). See the notes below on using - * a file descriptor. - * - * The `encoding` option is ignored if `data` is a buffer. - * - * The `mode` option only affects the newly created file. See {@link open} for more details. - * - * ```js - * import { writeFile } from 'node:fs'; - * import { Buffer } from 'node:buffer'; - * - * const data = new Uint8Array(Buffer.from('Hello Node.js')); - * writeFile('message.txt', data, (err) => { - * if (err) throw err; - * console.log('The file has been saved!'); - * }); - * ``` - * - * If `options` is a string, then it specifies the encoding: - * - * ```js - * import { writeFile } from 'node:fs'; - * - * writeFile('message.txt', 'Hello Node.js', 'utf8', callback); - * ``` - * - * It is unsafe to use `fs.writeFile()` multiple times on the same file without - * waiting for the callback. For this scenario, {@link createWriteStream} is - * recommended. - * - * Similarly to `fs.readFile` \- `fs.writeFile` is a convenience method that - * performs multiple `write` calls internally to write the buffer passed to it. - * For performance sensitive code consider using {@link createWriteStream}. - * - * It is possible to use an `AbortSignal` to cancel an `fs.writeFile()`. - * Cancelation is "best effort", and some amount of data is likely still - * to be written. - * - * ```js - * import { writeFile } from 'node:fs'; - * import { Buffer } from 'node:buffer'; - * - * const controller = new AbortController(); - * const { signal } = controller; - * const data = new Uint8Array(Buffer.from('Hello Node.js')); - * writeFile('message.txt', data, { signal }, (err) => { - * // When a request is aborted - the callback is called with an AbortError - * }); - * // When the request should be aborted - * controller.abort(); - * ``` - * - * Aborting an ongoing request does not abort individual operating - * system requests but rather the internal buffering `fs.writeFile` performs. - * @since v0.1.29 - * @param file filename or file descriptor - */ - export function writeFile( - file: PathOrFileDescriptor, - data: string | NodeJS.ArrayBufferView, - options: WriteFileOptions, - callback: NoParamCallback, - ): void; - /** - * Asynchronously writes data to a file, replacing the file if it already exists. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * If a file descriptor is provided, the underlying file will _not_ be closed automatically. - * @param data The data to write. If something other than a Buffer or Uint8Array is provided, the value is coerced to a string. - */ - export function writeFile( - path: PathOrFileDescriptor, - data: string | NodeJS.ArrayBufferView, - callback: NoParamCallback, - ): void; - export namespace writeFile { - /** - * Asynchronously writes data to a file, replacing the file if it already exists. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * URL support is _experimental_. - * If a file descriptor is provided, the underlying file will _not_ be closed automatically. - * @param data The data to write. If something other than a Buffer or Uint8Array is provided, the value is coerced to a string. - * @param options Either the encoding for the file, or an object optionally specifying the encoding, file mode, and flag. - * If `encoding` is not supplied, the default of `'utf8'` is used. - * If `mode` is not supplied, the default of `0o666` is used. - * If `mode` is a string, it is parsed as an octal integer. - * If `flag` is not supplied, the default of `'w'` is used. - */ - function __promisify__( - path: PathOrFileDescriptor, - data: string | NodeJS.ArrayBufferView, - options?: WriteFileOptions, - ): Promise; - } - /** - * Returns `undefined`. - * - * The `mode` option only affects the newly created file. See {@link open} for more details. - * - * For detailed information, see the documentation of the asynchronous version of - * this API: {@link writeFile}. - * @since v0.1.29 - * @param file filename or file descriptor - */ - export function writeFileSync( - file: PathOrFileDescriptor, - data: string | NodeJS.ArrayBufferView, - options?: WriteFileOptions, - ): void; - /** - * Asynchronously append data to a file, creating the file if it does not yet - * exist. `data` can be a string or a `Buffer`. - * - * The `mode` option only affects the newly created file. See {@link open} for more details. - * - * ```js - * import { appendFile } from 'node:fs'; - * - * appendFile('message.txt', 'data to append', (err) => { - * if (err) throw err; - * console.log('The "data to append" was appended to file!'); - * }); - * ``` - * - * If `options` is a string, then it specifies the encoding: - * - * ```js - * import { appendFile } from 'node:fs'; - * - * appendFile('message.txt', 'data to append', 'utf8', callback); - * ``` - * - * The `path` may be specified as a numeric file descriptor that has been opened - * for appending (using `fs.open()` or `fs.openSync()`). The file descriptor will - * not be closed automatically. - * - * ```js - * import { open, close, appendFile } from 'node:fs'; - * - * function closeFd(fd) { - * close(fd, (err) => { - * if (err) throw err; - * }); - * } - * - * open('message.txt', 'a', (err, fd) => { - * if (err) throw err; - * - * try { - * appendFile(fd, 'data to append', 'utf8', (err) => { - * closeFd(fd); - * if (err) throw err; - * }); - * } catch (err) { - * closeFd(fd); - * throw err; - * } - * }); - * ``` - * @since v0.6.7 - * @param path filename or file descriptor - */ - export function appendFile( - path: PathOrFileDescriptor, - data: string | Uint8Array, - options: WriteFileOptions, - callback: NoParamCallback, - ): void; - /** - * Asynchronously append data to a file, creating the file if it does not exist. - * @param file A path to a file. If a URL is provided, it must use the `file:` protocol. - * If a file descriptor is provided, the underlying file will _not_ be closed automatically. - * @param data The data to write. If something other than a Buffer or Uint8Array is provided, the value is coerced to a string. - */ - export function appendFile(file: PathOrFileDescriptor, data: string | Uint8Array, callback: NoParamCallback): void; - export namespace appendFile { - /** - * Asynchronously append data to a file, creating the file if it does not exist. - * @param file A path to a file. If a URL is provided, it must use the `file:` protocol. - * URL support is _experimental_. - * If a file descriptor is provided, the underlying file will _not_ be closed automatically. - * @param data The data to write. If something other than a Buffer or Uint8Array is provided, the value is coerced to a string. - * @param options Either the encoding for the file, or an object optionally specifying the encoding, file mode, and flag. - * If `encoding` is not supplied, the default of `'utf8'` is used. - * If `mode` is not supplied, the default of `0o666` is used. - * If `mode` is a string, it is parsed as an octal integer. - * If `flag` is not supplied, the default of `'a'` is used. - */ - function __promisify__( - file: PathOrFileDescriptor, - data: string | Uint8Array, - options?: WriteFileOptions, - ): Promise; - } - /** - * Synchronously append data to a file, creating the file if it does not yet - * exist. `data` can be a string or a `Buffer`. - * - * The `mode` option only affects the newly created file. See {@link open} for more details. - * - * ```js - * import { appendFileSync } from 'node:fs'; - * - * try { - * appendFileSync('message.txt', 'data to append'); - * console.log('The "data to append" was appended to file!'); - * } catch (err) { - * // Handle the error - * } - * ``` - * - * If `options` is a string, then it specifies the encoding: - * - * ```js - * import { appendFileSync } from 'node:fs'; - * - * appendFileSync('message.txt', 'data to append', 'utf8'); - * ``` - * - * The `path` may be specified as a numeric file descriptor that has been opened - * for appending (using `fs.open()` or `fs.openSync()`). The file descriptor will - * not be closed automatically. - * - * ```js - * import { openSync, closeSync, appendFileSync } from 'node:fs'; - * - * let fd; - * - * try { - * fd = openSync('message.txt', 'a'); - * appendFileSync(fd, 'data to append', 'utf8'); - * } catch (err) { - * // Handle the error - * } finally { - * if (fd !== undefined) - * closeSync(fd); - * } - * ``` - * @since v0.6.7 - * @param path filename or file descriptor - */ - export function appendFileSync( - path: PathOrFileDescriptor, - data: string | Uint8Array, - options?: WriteFileOptions, - ): void; - /** - * Watch for changes on `filename`. The callback `listener` will be called each - * time the file is accessed. - * - * The `options` argument may be omitted. If provided, it should be an object. The`options` object may contain a boolean named `persistent` that indicates - * whether the process should continue to run as long as files are being watched. - * The `options` object may specify an `interval` property indicating how often the - * target should be polled in milliseconds. - * - * The `listener` gets two arguments the current stat object and the previous - * stat object: - * - * ```js - * import { watchFile } from 'fs'; - * - * watchFile('message.text', (curr, prev) => { - * console.log(`the current mtime is: ${curr.mtime}`); - * console.log(`the previous mtime was: ${prev.mtime}`); - * }); - * ``` - * - * These stat objects are instances of `fs.Stat`. If the `bigint` option is `true`, - * the numeric values in these objects are specified as `BigInt`s. - * - * To be notified when the file was modified, not just accessed, it is necessary - * to compare `curr.mtimeMs` and `prev.mtimeMs`. - * - * When an `fs.watchFile` operation results in an `ENOENT` error, it - * will invoke the listener once, with all the fields zeroed (or, for dates, the - * Unix Epoch). If the file is created later on, the listener will be called - * again, with the latest stat objects. This is a change in functionality since - * v0.10. - * - * Using {@link watch} is more efficient than `fs.watchFile` and`fs.unwatchFile`. `fs.watch` should be used instead of `fs.watchFile` and`fs.unwatchFile` when possible. - * - * When a file being watched by `fs.watchFile()` disappears and reappears, - * then the contents of `previous` in the second callback event (the file's - * reappearance) will be the same as the contents of `previous` in the first - * callback event (its disappearance). - * - * This happens when: - * - * * the file is deleted, followed by a restore - * * the file is renamed and then renamed a second time back to its original name - * @since v0.1.31 - */ - export interface WatchFileOptions { - bigint?: boolean | undefined; - persistent?: boolean | undefined; - interval?: number | undefined; - } - /** - * Watch for changes on `filename`. The callback `listener` will be called each - * time the file is accessed. - * - * The `options` argument may be omitted. If provided, it should be an object. The`options` object may contain a boolean named `persistent` that indicates - * whether the process should continue to run as long as files are being watched. - * The `options` object may specify an `interval` property indicating how often the - * target should be polled in milliseconds. - * - * The `listener` gets two arguments the current stat object and the previous - * stat object: - * - * ```js - * import { watchFile } from 'node:fs'; - * - * watchFile('message.text', (curr, prev) => { - * console.log(`the current mtime is: ${curr.mtime}`); - * console.log(`the previous mtime was: ${prev.mtime}`); - * }); - * ``` - * - * These stat objects are instances of `fs.Stat`. If the `bigint` option is `true`, - * the numeric values in these objects are specified as `BigInt`s. - * - * To be notified when the file was modified, not just accessed, it is necessary - * to compare `curr.mtimeMs` and `prev.mtimeMs`. - * - * When an `fs.watchFile` operation results in an `ENOENT` error, it - * will invoke the listener once, with all the fields zeroed (or, for dates, the - * Unix Epoch). If the file is created later on, the listener will be called - * again, with the latest stat objects. This is a change in functionality since - * v0.10. - * - * Using {@link watch} is more efficient than `fs.watchFile` and`fs.unwatchFile`. `fs.watch` should be used instead of `fs.watchFile` and`fs.unwatchFile` when possible. - * - * When a file being watched by `fs.watchFile()` disappears and reappears, - * then the contents of `previous` in the second callback event (the file's - * reappearance) will be the same as the contents of `previous` in the first - * callback event (its disappearance). - * - * This happens when: - * - * * the file is deleted, followed by a restore - * * the file is renamed and then renamed a second time back to its original name - * @since v0.1.31 - */ - export function watchFile( - filename: PathLike, - options: - | (WatchFileOptions & { - bigint?: false | undefined; - }) - | undefined, - listener: StatsListener, - ): StatWatcher; - export function watchFile( - filename: PathLike, - options: - | (WatchFileOptions & { - bigint: true; - }) - | undefined, - listener: BigIntStatsListener, - ): StatWatcher; - /** - * Watch for changes on `filename`. The callback `listener` will be called each time the file is accessed. - * @param filename A path to a file or directory. If a URL is provided, it must use the `file:` protocol. - */ - export function watchFile(filename: PathLike, listener: StatsListener): StatWatcher; - /** - * Stop watching for changes on `filename`. If `listener` is specified, only that - * particular listener is removed. Otherwise, _all_ listeners are removed, - * effectively stopping watching of `filename`. - * - * Calling `fs.unwatchFile()` with a filename that is not being watched is a - * no-op, not an error. - * - * Using {@link watch} is more efficient than `fs.watchFile()` and`fs.unwatchFile()`. `fs.watch()` should be used instead of `fs.watchFile()`and `fs.unwatchFile()` when possible. - * @since v0.1.31 - * @param listener Optional, a listener previously attached using `fs.watchFile()` - */ - export function unwatchFile(filename: PathLike, listener?: StatsListener): void; - export function unwatchFile(filename: PathLike, listener?: BigIntStatsListener): void; - export interface WatchOptions extends Abortable { - encoding?: BufferEncoding | "buffer" | undefined; - persistent?: boolean | undefined; - recursive?: boolean | undefined; - } - export type WatchEventType = "rename" | "change"; - export type WatchListener = (event: WatchEventType, filename: T | null) => void; - export type StatsListener = (curr: Stats, prev: Stats) => void; - export type BigIntStatsListener = (curr: BigIntStats, prev: BigIntStats) => void; - /** - * Watch for changes on `filename`, where `filename` is either a file or a - * directory. - * - * The second argument is optional. If `options` is provided as a string, it - * specifies the `encoding`. Otherwise `options` should be passed as an object. - * - * The listener callback gets two arguments `(eventType, filename)`. `eventType`is either `'rename'` or `'change'`, and `filename` is the name of the file - * which triggered the event. - * - * On most platforms, `'rename'` is emitted whenever a filename appears or - * disappears in the directory. - * - * The listener callback is attached to the `'change'` event fired by `fs.FSWatcher`, but it is not the same thing as the `'change'` value of`eventType`. - * - * If a `signal` is passed, aborting the corresponding AbortController will close - * the returned `fs.FSWatcher`. - * @since v0.5.10 - * @param listener - */ - export function watch( - filename: PathLike, - options: - | (WatchOptions & { - encoding: "buffer"; - }) - | "buffer", - listener?: WatchListener, - ): FSWatcher; - /** - * Watch for changes on `filename`, where `filename` is either a file or a directory, returning an `FSWatcher`. - * @param filename A path to a file or directory. If a URL is provided, it must use the `file:` protocol. - * @param options Either the encoding for the filename provided to the listener, or an object optionally specifying encoding, persistent, and recursive options. - * If `encoding` is not supplied, the default of `'utf8'` is used. - * If `persistent` is not supplied, the default of `true` is used. - * If `recursive` is not supplied, the default of `false` is used. - */ - export function watch( - filename: PathLike, - options?: WatchOptions | BufferEncoding | null, - listener?: WatchListener, - ): FSWatcher; - /** - * Watch for changes on `filename`, where `filename` is either a file or a directory, returning an `FSWatcher`. - * @param filename A path to a file or directory. If a URL is provided, it must use the `file:` protocol. - * @param options Either the encoding for the filename provided to the listener, or an object optionally specifying encoding, persistent, and recursive options. - * If `encoding` is not supplied, the default of `'utf8'` is used. - * If `persistent` is not supplied, the default of `true` is used. - * If `recursive` is not supplied, the default of `false` is used. - */ - export function watch( - filename: PathLike, - options: WatchOptions | string, - listener?: WatchListener, - ): FSWatcher; - /** - * Watch for changes on `filename`, where `filename` is either a file or a directory, returning an `FSWatcher`. - * @param filename A path to a file or directory. If a URL is provided, it must use the `file:` protocol. - */ - export function watch(filename: PathLike, listener?: WatchListener): FSWatcher; - /** - * Test whether or not the given path exists by checking with the file system. - * Then call the `callback` argument with either true or false: - * - * ```js - * import { exists } from 'node:fs'; - * - * exists('/etc/passwd', (e) => { - * console.log(e ? 'it exists' : 'no passwd!'); - * }); - * ``` - * - * **The parameters for this callback are not consistent with other Node.js** - * **callbacks.** Normally, the first parameter to a Node.js callback is an `err`parameter, optionally followed by other parameters. The `fs.exists()` callback - * has only one boolean parameter. This is one reason `fs.access()` is recommended - * instead of `fs.exists()`. - * - * Using `fs.exists()` to check for the existence of a file before calling`fs.open()`, `fs.readFile()`, or `fs.writeFile()` is not recommended. Doing - * so introduces a race condition, since other processes may change the file's - * state between the two calls. Instead, user code should open/read/write the - * file directly and handle the error raised if the file does not exist. - * - * **write (NOT RECOMMENDED)** - * - * ```js - * import { exists, open, close } from 'node:fs'; - * - * exists('myfile', (e) => { - * if (e) { - * console.error('myfile already exists'); - * } else { - * open('myfile', 'wx', (err, fd) => { - * if (err) throw err; - * - * try { - * writeMyData(fd); - * } finally { - * close(fd, (err) => { - * if (err) throw err; - * }); - * } - * }); - * } - * }); - * ``` - * - * **write (RECOMMENDED)** - * - * ```js - * import { open, close } from 'node:fs'; - * open('myfile', 'wx', (err, fd) => { - * if (err) { - * if (err.code === 'EEXIST') { - * console.error('myfile already exists'); - * return; - * } - * - * throw err; - * } - * - * try { - * writeMyData(fd); - * } finally { - * close(fd, (err) => { - * if (err) throw err; - * }); - * } - * }); - * ``` - * - * **read (NOT RECOMMENDED)** - * - * ```js - * import { open, close, exists } from 'node:fs'; - * - * exists('myfile', (e) => { - * if (e) { - * open('myfile', 'r', (err, fd) => { - * if (err) throw err; - * - * try { - * readMyData(fd); - * } finally { - * close(fd, (err) => { - * if (err) throw err; - * }); - * } - * }); - * } else { - * console.error('myfile does not exist'); - * } - * }); - * ``` - * - * **read (RECOMMENDED)** - * - * ```js - * import { open, close } from 'node:fs'; - * - * open('myfile', 'r', (err, fd) => { - * if (err) { - * if (err.code === 'ENOENT') { - * console.error('myfile does not exist'); - * return; - * } - * - * throw err; - * } - * - * try { - * readMyData(fd); - * } finally { - * close(fd, (err) => { - * if (err) throw err; - * }); - * } - * }); - * ``` - * - * The "not recommended" examples above check for existence and then use the - * file; the "recommended" examples are better because they use the file directly - * and handle the error, if any. - * - * In general, check for the existence of a file only if the file won't be - * used directly, for example when its existence is a signal from another - * process. - * @since v0.0.2 - * @deprecated Since v1.0.0 - Use {@link stat} or {@link access} instead. - */ - export function exists(path: PathLike, callback: (exists: boolean) => void): void; - /** @deprecated */ - export namespace exists { - /** - * @param path A path to a file or directory. If a URL is provided, it must use the `file:` protocol. - * URL support is _experimental_. - */ - function __promisify__(path: PathLike): Promise; - } - /** - * Returns `true` if the path exists, `false` otherwise. - * - * For detailed information, see the documentation of the asynchronous version of - * this API: {@link exists}. - * - * `fs.exists()` is deprecated, but `fs.existsSync()` is not. The `callback`parameter to `fs.exists()` accepts parameters that are inconsistent with other - * Node.js callbacks. `fs.existsSync()` does not use a callback. - * - * ```js - * import { existsSync } from 'node:fs'; - * - * if (existsSync('/etc/passwd')) - * console.log('The path exists.'); - * ``` - * @since v0.1.21 - */ - export function existsSync(path: PathLike): boolean; - export namespace constants { - // File Access Constants - /** Constant for fs.access(). File is visible to the calling process. */ - const F_OK: number; - /** Constant for fs.access(). File can be read by the calling process. */ - const R_OK: number; - /** Constant for fs.access(). File can be written by the calling process. */ - const W_OK: number; - /** Constant for fs.access(). File can be executed by the calling process. */ - const X_OK: number; - // File Copy Constants - /** Constant for fs.copyFile. Flag indicating the destination file should not be overwritten if it already exists. */ - const COPYFILE_EXCL: number; - /** - * Constant for fs.copyFile. copy operation will attempt to create a copy-on-write reflink. - * If the underlying platform does not support copy-on-write, then a fallback copy mechanism is used. - */ - const COPYFILE_FICLONE: number; - /** - * Constant for fs.copyFile. Copy operation will attempt to create a copy-on-write reflink. - * If the underlying platform does not support copy-on-write, then the operation will fail with an error. - */ - const COPYFILE_FICLONE_FORCE: number; - // File Open Constants - /** Constant for fs.open(). Flag indicating to open a file for read-only access. */ - const O_RDONLY: number; - /** Constant for fs.open(). Flag indicating to open a file for write-only access. */ - const O_WRONLY: number; - /** Constant for fs.open(). Flag indicating to open a file for read-write access. */ - const O_RDWR: number; - /** Constant for fs.open(). Flag indicating to create the file if it does not already exist. */ - const O_CREAT: number; - /** Constant for fs.open(). Flag indicating that opening a file should fail if the O_CREAT flag is set and the file already exists. */ - const O_EXCL: number; - /** - * Constant for fs.open(). Flag indicating that if path identifies a terminal device, - * opening the path shall not cause that terminal to become the controlling terminal for the process - * (if the process does not already have one). - */ - const O_NOCTTY: number; - /** Constant for fs.open(). Flag indicating that if the file exists and is a regular file, and the file is opened successfully for write access, its length shall be truncated to zero. */ - const O_TRUNC: number; - /** Constant for fs.open(). Flag indicating that data will be appended to the end of the file. */ - const O_APPEND: number; - /** Constant for fs.open(). Flag indicating that the open should fail if the path is not a directory. */ - const O_DIRECTORY: number; - /** - * constant for fs.open(). - * Flag indicating reading accesses to the file system will no longer result in - * an update to the atime information associated with the file. - * This flag is available on Linux operating systems only. - */ - const O_NOATIME: number; - /** Constant for fs.open(). Flag indicating that the open should fail if the path is a symbolic link. */ - const O_NOFOLLOW: number; - /** Constant for fs.open(). Flag indicating that the file is opened for synchronous I/O. */ - const O_SYNC: number; - /** Constant for fs.open(). Flag indicating that the file is opened for synchronous I/O with write operations waiting for data integrity. */ - const O_DSYNC: number; - /** Constant for fs.open(). Flag indicating to open the symbolic link itself rather than the resource it is pointing to. */ - const O_SYMLINK: number; - /** Constant for fs.open(). When set, an attempt will be made to minimize caching effects of file I/O. */ - const O_DIRECT: number; - /** Constant for fs.open(). Flag indicating to open the file in nonblocking mode when possible. */ - const O_NONBLOCK: number; - // File Type Constants - /** Constant for fs.Stats mode property for determining a file's type. Bit mask used to extract the file type code. */ - const S_IFMT: number; - /** Constant for fs.Stats mode property for determining a file's type. File type constant for a regular file. */ - const S_IFREG: number; - /** Constant for fs.Stats mode property for determining a file's type. File type constant for a directory. */ - const S_IFDIR: number; - /** Constant for fs.Stats mode property for determining a file's type. File type constant for a character-oriented device file. */ - const S_IFCHR: number; - /** Constant for fs.Stats mode property for determining a file's type. File type constant for a block-oriented device file. */ - const S_IFBLK: number; - /** Constant for fs.Stats mode property for determining a file's type. File type constant for a FIFO/pipe. */ - const S_IFIFO: number; - /** Constant for fs.Stats mode property for determining a file's type. File type constant for a symbolic link. */ - const S_IFLNK: number; - /** Constant for fs.Stats mode property for determining a file's type. File type constant for a socket. */ - const S_IFSOCK: number; - // File Mode Constants - /** Constant for fs.Stats mode property for determining access permissions for a file. File mode indicating readable, writable and executable by owner. */ - const S_IRWXU: number; - /** Constant for fs.Stats mode property for determining access permissions for a file. File mode indicating readable by owner. */ - const S_IRUSR: number; - /** Constant for fs.Stats mode property for determining access permissions for a file. File mode indicating writable by owner. */ - const S_IWUSR: number; - /** Constant for fs.Stats mode property for determining access permissions for a file. File mode indicating executable by owner. */ - const S_IXUSR: number; - /** Constant for fs.Stats mode property for determining access permissions for a file. File mode indicating readable, writable and executable by group. */ - const S_IRWXG: number; - /** Constant for fs.Stats mode property for determining access permissions for a file. File mode indicating readable by group. */ - const S_IRGRP: number; - /** Constant for fs.Stats mode property for determining access permissions for a file. File mode indicating writable by group. */ - const S_IWGRP: number; - /** Constant for fs.Stats mode property for determining access permissions for a file. File mode indicating executable by group. */ - const S_IXGRP: number; - /** Constant for fs.Stats mode property for determining access permissions for a file. File mode indicating readable, writable and executable by others. */ - const S_IRWXO: number; - /** Constant for fs.Stats mode property for determining access permissions for a file. File mode indicating readable by others. */ - const S_IROTH: number; - /** Constant for fs.Stats mode property for determining access permissions for a file. File mode indicating writable by others. */ - const S_IWOTH: number; - /** Constant for fs.Stats mode property for determining access permissions for a file. File mode indicating executable by others. */ - const S_IXOTH: number; - /** - * When set, a memory file mapping is used to access the file. This flag - * is available on Windows operating systems only. On other operating systems, - * this flag is ignored. - */ - const UV_FS_O_FILEMAP: number; - } - /** - * Tests a user's permissions for the file or directory specified by `path`. - * The `mode` argument is an optional integer that specifies the accessibility - * checks to be performed. `mode` should be either the value `fs.constants.F_OK`or a mask consisting of the bitwise OR of any of `fs.constants.R_OK`,`fs.constants.W_OK`, and `fs.constants.X_OK` - * (e.g.`fs.constants.W_OK | fs.constants.R_OK`). Check `File access constants` for - * possible values of `mode`. - * - * The final argument, `callback`, is a callback function that is invoked with - * a possible error argument. If any of the accessibility checks fail, the error - * argument will be an `Error` object. The following examples check if`package.json` exists, and if it is readable or writable. - * - * ```js - * import { access, constants } from 'node:fs'; - * - * const file = 'package.json'; - * - * // Check if the file exists in the current directory. - * access(file, constants.F_OK, (err) => { - * console.log(`${file} ${err ? 'does not exist' : 'exists'}`); - * }); - * - * // Check if the file is readable. - * access(file, constants.R_OK, (err) => { - * console.log(`${file} ${err ? 'is not readable' : 'is readable'}`); - * }); - * - * // Check if the file is writable. - * access(file, constants.W_OK, (err) => { - * console.log(`${file} ${err ? 'is not writable' : 'is writable'}`); - * }); - * - * // Check if the file is readable and writable. - * access(file, constants.R_OK | constants.W_OK, (err) => { - * console.log(`${file} ${err ? 'is not' : 'is'} readable and writable`); - * }); - * ``` - * - * Do not use `fs.access()` to check for the accessibility of a file before calling`fs.open()`, `fs.readFile()`, or `fs.writeFile()`. Doing - * so introduces a race condition, since other processes may change the file's - * state between the two calls. Instead, user code should open/read/write the - * file directly and handle the error raised if the file is not accessible. - * - * **write (NOT RECOMMENDED)** - * - * ```js - * import { access, open, close } from 'node:fs'; - * - * access('myfile', (err) => { - * if (!err) { - * console.error('myfile already exists'); - * return; - * } - * - * open('myfile', 'wx', (err, fd) => { - * if (err) throw err; - * - * try { - * writeMyData(fd); - * } finally { - * close(fd, (err) => { - * if (err) throw err; - * }); - * } - * }); - * }); - * ``` - * - * **write (RECOMMENDED)** - * - * ```js - * import { open, close } from 'node:fs'; - * - * open('myfile', 'wx', (err, fd) => { - * if (err) { - * if (err.code === 'EEXIST') { - * console.error('myfile already exists'); - * return; - * } - * - * throw err; - * } - * - * try { - * writeMyData(fd); - * } finally { - * close(fd, (err) => { - * if (err) throw err; - * }); - * } - * }); - * ``` - * - * **read (NOT RECOMMENDED)** - * - * ```js - * import { access, open, close } from 'node:fs'; - * access('myfile', (err) => { - * if (err) { - * if (err.code === 'ENOENT') { - * console.error('myfile does not exist'); - * return; - * } - * - * throw err; - * } - * - * open('myfile', 'r', (err, fd) => { - * if (err) throw err; - * - * try { - * readMyData(fd); - * } finally { - * close(fd, (err) => { - * if (err) throw err; - * }); - * } - * }); - * }); - * ``` - * - * **read (RECOMMENDED)** - * - * ```js - * import { open, close } from 'node:fs'; - * - * open('myfile', 'r', (err, fd) => { - * if (err) { - * if (err.code === 'ENOENT') { - * console.error('myfile does not exist'); - * return; - * } - * - * throw err; - * } - * - * try { - * readMyData(fd); - * } finally { - * close(fd, (err) => { - * if (err) throw err; - * }); - * } - * }); - * ``` - * - * The "not recommended" examples above check for accessibility and then use the - * file; the "recommended" examples are better because they use the file directly - * and handle the error, if any. - * - * In general, check for the accessibility of a file only if the file will not be - * used directly, for example when its accessibility is a signal from another - * process. - * - * On Windows, access-control policies (ACLs) on a directory may limit access to - * a file or directory. The `fs.access()` function, however, does not check the - * ACL and therefore may report that a path is accessible even if the ACL restricts - * the user from reading or writing to it. - * @since v0.11.15 - * @param [mode=fs.constants.F_OK] - */ - export function access(path: PathLike, mode: number | undefined, callback: NoParamCallback): void; - /** - * Asynchronously tests a user's permissions for the file specified by path. - * @param path A path to a file or directory. If a URL is provided, it must use the `file:` protocol. - */ - export function access(path: PathLike, callback: NoParamCallback): void; - export namespace access { - /** - * Asynchronously tests a user's permissions for the file specified by path. - * @param path A path to a file or directory. If a URL is provided, it must use the `file:` protocol. - * URL support is _experimental_. - */ - function __promisify__(path: PathLike, mode?: number): Promise; - } - /** - * Synchronously tests a user's permissions for the file or directory specified - * by `path`. The `mode` argument is an optional integer that specifies the - * accessibility checks to be performed. `mode` should be either the value`fs.constants.F_OK` or a mask consisting of the bitwise OR of any of`fs.constants.R_OK`, `fs.constants.W_OK`, and - * `fs.constants.X_OK` (e.g.`fs.constants.W_OK | fs.constants.R_OK`). Check `File access constants` for - * possible values of `mode`. - * - * If any of the accessibility checks fail, an `Error` will be thrown. Otherwise, - * the method will return `undefined`. - * - * ```js - * import { accessSync, constants } from 'node:fs'; - * - * try { - * accessSync('etc/passwd', constants.R_OK | constants.W_OK); - * console.log('can read/write'); - * } catch (err) { - * console.error('no access!'); - * } - * ``` - * @since v0.11.15 - * @param [mode=fs.constants.F_OK] - */ - export function accessSync(path: PathLike, mode?: number): void; - interface StreamOptions { - flags?: string | undefined; - encoding?: BufferEncoding | undefined; - fd?: number | promises.FileHandle | undefined; - mode?: number | undefined; - autoClose?: boolean | undefined; - emitClose?: boolean | undefined; - start?: number | undefined; - signal?: AbortSignal | null | undefined; - highWaterMark?: number | undefined; - } - interface FSImplementation { - open?: (...args: any[]) => any; - close?: (...args: any[]) => any; - } - interface CreateReadStreamFSImplementation extends FSImplementation { - read: (...args: any[]) => any; - } - interface CreateWriteStreamFSImplementation extends FSImplementation { - write: (...args: any[]) => any; - writev?: (...args: any[]) => any; - } - interface ReadStreamOptions extends StreamOptions { - fs?: CreateReadStreamFSImplementation | null | undefined; - end?: number | undefined; - } - interface WriteStreamOptions extends StreamOptions { - fs?: CreateWriteStreamFSImplementation | null | undefined; - flush?: boolean | undefined; - } - /** - * Unlike the 16 KiB default `highWaterMark` for a `stream.Readable`, the stream - * returned by this method has a default `highWaterMark` of 64 KiB. - * - * `options` can include `start` and `end` values to read a range of bytes from - * the file instead of the entire file. Both `start` and `end` are inclusive and - * start counting at 0, allowed values are in the - * \[0, [`Number.MAX_SAFE_INTEGER`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/MAX_SAFE_INTEGER)\] range. If `fd` is specified and `start` is - * omitted or `undefined`, `fs.createReadStream()` reads sequentially from the - * current file position. The `encoding` can be any one of those accepted by `Buffer`. - * - * If `fd` is specified, `ReadStream` will ignore the `path` argument and will use - * the specified file descriptor. This means that no `'open'` event will be - * emitted. `fd` should be blocking; non-blocking `fd`s should be passed to `net.Socket`. - * - * If `fd` points to a character device that only supports blocking reads - * (such as keyboard or sound card), read operations do not finish until data is - * available. This can prevent the process from exiting and the stream from - * closing naturally. - * - * By default, the stream will emit a `'close'` event after it has been - * destroyed. Set the `emitClose` option to `false` to change this behavior. - * - * By providing the `fs` option, it is possible to override the corresponding `fs`implementations for `open`, `read`, and `close`. When providing the `fs` option, - * an override for `read` is required. If no `fd` is provided, an override for`open` is also required. If `autoClose` is `true`, an override for `close` is - * also required. - * - * ```js - * import { createReadStream } from 'node:fs'; - * - * // Create a stream from some character device. - * const stream = createReadStream('/dev/input/event0'); - * setTimeout(() => { - * stream.close(); // This may not close the stream. - * // Artificially marking end-of-stream, as if the underlying resource had - * // indicated end-of-file by itself, allows the stream to close. - * // This does not cancel pending read operations, and if there is such an - * // operation, the process may still not be able to exit successfully - * // until it finishes. - * stream.push(null); - * stream.read(0); - * }, 100); - * ``` - * - * If `autoClose` is false, then the file descriptor won't be closed, even if - * there's an error. It is the application's responsibility to close it and make - * sure there's no file descriptor leak. If `autoClose` is set to true (default - * behavior), on `'error'` or `'end'` the file descriptor will be closed - * automatically. - * - * `mode` sets the file mode (permission and sticky bits), but only if the - * file was created. - * - * An example to read the last 10 bytes of a file which is 100 bytes long: - * - * ```js - * import { createReadStream } from 'node:fs'; - * - * createReadStream('sample.txt', { start: 90, end: 99 }); - * ``` - * - * If `options` is a string, then it specifies the encoding. - * @since v0.1.31 - */ - export function createReadStream(path: PathLike, options?: BufferEncoding | ReadStreamOptions): ReadStream; - /** - * `options` may also include a `start` option to allow writing data at some - * position past the beginning of the file, allowed values are in the - * \[0, [`Number.MAX_SAFE_INTEGER`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/MAX_SAFE_INTEGER)\] range. Modifying a file rather than - * replacing it may require the `flags` option to be set to `r+` rather than the - * default `w`. The `encoding` can be any one of those accepted by `Buffer`. - * - * If `autoClose` is set to true (default behavior) on `'error'` or `'finish'`the file descriptor will be closed automatically. If `autoClose` is false, - * then the file descriptor won't be closed, even if there's an error. - * It is the application's responsibility to close it and make sure there's no - * file descriptor leak. - * - * By default, the stream will emit a `'close'` event after it has been - * destroyed. Set the `emitClose` option to `false` to change this behavior. - * - * By providing the `fs` option it is possible to override the corresponding `fs`implementations for `open`, `write`, `writev`, and `close`. Overriding `write()`without `writev()` can reduce - * performance as some optimizations (`_writev()`) - * will be disabled. When providing the `fs` option, overrides for at least one of`write` and `writev` are required. If no `fd` option is supplied, an override - * for `open` is also required. If `autoClose` is `true`, an override for `close`is also required. - * - * Like `fs.ReadStream`, if `fd` is specified, `fs.WriteStream` will ignore the`path` argument and will use the specified file descriptor. This means that no`'open'` event will be - * emitted. `fd` should be blocking; non-blocking `fd`s - * should be passed to `net.Socket`. - * - * If `options` is a string, then it specifies the encoding. - * @since v0.1.31 - */ - export function createWriteStream(path: PathLike, options?: BufferEncoding | WriteStreamOptions): WriteStream; - /** - * Forces all currently queued I/O operations associated with the file to the - * operating system's synchronized I/O completion state. Refer to the POSIX [`fdatasync(2)`](http://man7.org/linux/man-pages/man2/fdatasync.2.html) documentation for details. No arguments other - * than a possible - * exception are given to the completion callback. - * @since v0.1.96 - */ - export function fdatasync(fd: number, callback: NoParamCallback): void; - export namespace fdatasync { - /** - * Asynchronous fdatasync(2) - synchronize a file's in-core state with storage device. - * @param fd A file descriptor. - */ - function __promisify__(fd: number): Promise; - } - /** - * Forces all currently queued I/O operations associated with the file to the - * operating system's synchronized I/O completion state. Refer to the POSIX [`fdatasync(2)`](http://man7.org/linux/man-pages/man2/fdatasync.2.html) documentation for details. Returns `undefined`. - * @since v0.1.96 - */ - export function fdatasyncSync(fd: number): void; - /** - * Asynchronously copies `src` to `dest`. By default, `dest` is overwritten if it - * already exists. No arguments other than a possible exception are given to the - * callback function. Node.js makes no guarantees about the atomicity of the copy - * operation. If an error occurs after the destination file has been opened for - * writing, Node.js will attempt to remove the destination. - * - * `mode` is an optional integer that specifies the behavior - * of the copy operation. It is possible to create a mask consisting of the bitwise - * OR of two or more values (e.g.`fs.constants.COPYFILE_EXCL | fs.constants.COPYFILE_FICLONE`). - * - * * `fs.constants.COPYFILE_EXCL`: The copy operation will fail if `dest` already - * exists. - * * `fs.constants.COPYFILE_FICLONE`: The copy operation will attempt to create a - * copy-on-write reflink. If the platform does not support copy-on-write, then a - * fallback copy mechanism is used. - * * `fs.constants.COPYFILE_FICLONE_FORCE`: The copy operation will attempt to - * create a copy-on-write reflink. If the platform does not support - * copy-on-write, then the operation will fail. - * - * ```js - * import { copyFile, constants } from 'node:fs'; - * - * function callback(err) { - * if (err) throw err; - * console.log('source.txt was copied to destination.txt'); - * } - * - * // destination.txt will be created or overwritten by default. - * copyFile('source.txt', 'destination.txt', callback); - * - * // By using COPYFILE_EXCL, the operation will fail if destination.txt exists. - * copyFile('source.txt', 'destination.txt', constants.COPYFILE_EXCL, callback); - * ``` - * @since v8.5.0 - * @param src source filename to copy - * @param dest destination filename of the copy operation - * @param [mode=0] modifiers for copy operation. - */ - export function copyFile(src: PathLike, dest: PathLike, callback: NoParamCallback): void; - export function copyFile(src: PathLike, dest: PathLike, mode: number, callback: NoParamCallback): void; - export namespace copyFile { - function __promisify__(src: PathLike, dst: PathLike, mode?: number): Promise; - } - /** - * Synchronously copies `src` to `dest`. By default, `dest` is overwritten if it - * already exists. Returns `undefined`. Node.js makes no guarantees about the - * atomicity of the copy operation. If an error occurs after the destination file - * has been opened for writing, Node.js will attempt to remove the destination. - * - * `mode` is an optional integer that specifies the behavior - * of the copy operation. It is possible to create a mask consisting of the bitwise - * OR of two or more values (e.g.`fs.constants.COPYFILE_EXCL | fs.constants.COPYFILE_FICLONE`). - * - * * `fs.constants.COPYFILE_EXCL`: The copy operation will fail if `dest` already - * exists. - * * `fs.constants.COPYFILE_FICLONE`: The copy operation will attempt to create a - * copy-on-write reflink. If the platform does not support copy-on-write, then a - * fallback copy mechanism is used. - * * `fs.constants.COPYFILE_FICLONE_FORCE`: The copy operation will attempt to - * create a copy-on-write reflink. If the platform does not support - * copy-on-write, then the operation will fail. - * - * ```js - * import { copyFileSync, constants } from 'node:fs'; - * - * // destination.txt will be created or overwritten by default. - * copyFileSync('source.txt', 'destination.txt'); - * console.log('source.txt was copied to destination.txt'); - * - * // By using COPYFILE_EXCL, the operation will fail if destination.txt exists. - * copyFileSync('source.txt', 'destination.txt', constants.COPYFILE_EXCL); - * ``` - * @since v8.5.0 - * @param src source filename to copy - * @param dest destination filename of the copy operation - * @param [mode=0] modifiers for copy operation. - */ - export function copyFileSync(src: PathLike, dest: PathLike, mode?: number): void; - /** - * Write an array of `ArrayBufferView`s to the file specified by `fd` using`writev()`. - * - * `position` is the offset from the beginning of the file where this data - * should be written. If `typeof position !== 'number'`, the data will be written - * at the current position. - * - * The callback will be given three arguments: `err`, `bytesWritten`, and`buffers`. `bytesWritten` is how many bytes were written from `buffers`. - * - * If this method is `util.promisify()` ed, it returns a promise for an`Object` with `bytesWritten` and `buffers` properties. - * - * It is unsafe to use `fs.writev()` multiple times on the same file without - * waiting for the callback. For this scenario, use {@link createWriteStream}. - * - * On Linux, positional writes don't work when the file is opened in append mode. - * The kernel ignores the position argument and always appends the data to - * the end of the file. - * @since v12.9.0 - * @param [position='null'] - */ - export function writev( - fd: number, - buffers: readonly NodeJS.ArrayBufferView[], - cb: (err: NodeJS.ErrnoException | null, bytesWritten: number, buffers: NodeJS.ArrayBufferView[]) => void, - ): void; - export function writev( - fd: number, - buffers: readonly NodeJS.ArrayBufferView[], - position: number, - cb: (err: NodeJS.ErrnoException | null, bytesWritten: number, buffers: NodeJS.ArrayBufferView[]) => void, - ): void; - export interface WriteVResult { - bytesWritten: number; - buffers: NodeJS.ArrayBufferView[]; - } - export namespace writev { - function __promisify__( - fd: number, - buffers: readonly NodeJS.ArrayBufferView[], - position?: number, - ): Promise; - } - /** - * For detailed information, see the documentation of the asynchronous version of - * this API: {@link writev}. - * @since v12.9.0 - * @param [position='null'] - * @return The number of bytes written. - */ - export function writevSync(fd: number, buffers: readonly NodeJS.ArrayBufferView[], position?: number): number; - /** - * Read from a file specified by `fd` and write to an array of `ArrayBufferView`s - * using `readv()`. - * - * `position` is the offset from the beginning of the file from where data - * should be read. If `typeof position !== 'number'`, the data will be read - * from the current position. - * - * The callback will be given three arguments: `err`, `bytesRead`, and`buffers`. `bytesRead` is how many bytes were read from the file. - * - * If this method is invoked as its `util.promisify()` ed version, it returns - * a promise for an `Object` with `bytesRead` and `buffers` properties. - * @since v13.13.0, v12.17.0 - * @param [position='null'] - */ - export function readv( - fd: number, - buffers: readonly NodeJS.ArrayBufferView[], - cb: (err: NodeJS.ErrnoException | null, bytesRead: number, buffers: NodeJS.ArrayBufferView[]) => void, - ): void; - export function readv( - fd: number, - buffers: readonly NodeJS.ArrayBufferView[], - position: number, - cb: (err: NodeJS.ErrnoException | null, bytesRead: number, buffers: NodeJS.ArrayBufferView[]) => void, - ): void; - export interface ReadVResult { - bytesRead: number; - buffers: NodeJS.ArrayBufferView[]; - } - export namespace readv { - function __promisify__( - fd: number, - buffers: readonly NodeJS.ArrayBufferView[], - position?: number, - ): Promise; - } - /** - * For detailed information, see the documentation of the asynchronous version of - * this API: {@link readv}. - * @since v13.13.0, v12.17.0 - * @param [position='null'] - * @return The number of bytes read. - */ - export function readvSync(fd: number, buffers: readonly NodeJS.ArrayBufferView[], position?: number): number; - - export interface OpenAsBlobOptions { - /** - * An optional mime type for the blob. - * - * @default 'undefined' - */ - type?: string | undefined; - } - - /** - * Returns a `Blob` whose data is backed by the given file. - * - * The file must not be modified after the `Blob` is created. Any modifications - * will cause reading the `Blob` data to fail with a `DOMException` error. - * Synchronous stat operations on the file when the `Blob` is created, and before - * each read in order to detect whether the file data has been modified on disk. - * - * ```js - * import { openAsBlob } from 'node:fs'; - * - * const blob = await openAsBlob('the.file.txt'); - * const ab = await blob.arrayBuffer(); - * blob.stream(); - * ``` - * @since v19.8.0 - * @experimental - */ - export function openAsBlob(path: PathLike, options?: OpenAsBlobOptions): Promise; - - export interface OpenDirOptions { - /** - * @default 'utf8' - */ - encoding?: BufferEncoding | undefined; - /** - * Number of directory entries that are buffered - * internally when reading from the directory. Higher values lead to better - * performance but higher memory usage. - * @default 32 - */ - bufferSize?: number | undefined; - /** - * @default false - */ - recursive?: boolean; - } - /** - * Synchronously open a directory. See [`opendir(3)`](http://man7.org/linux/man-pages/man3/opendir.3.html). - * - * Creates an `fs.Dir`, which contains all further functions for reading from - * and cleaning up the directory. - * - * The `encoding` option sets the encoding for the `path` while opening the - * directory and subsequent read operations. - * @since v12.12.0 - */ - export function opendirSync(path: PathLike, options?: OpenDirOptions): Dir; - /** - * Asynchronously open a directory. See the POSIX [`opendir(3)`](http://man7.org/linux/man-pages/man3/opendir.3.html) documentation for - * more details. - * - * Creates an `fs.Dir`, which contains all further functions for reading from - * and cleaning up the directory. - * - * The `encoding` option sets the encoding for the `path` while opening the - * directory and subsequent read operations. - * @since v12.12.0 - */ - export function opendir(path: PathLike, cb: (err: NodeJS.ErrnoException | null, dir: Dir) => void): void; - export function opendir( - path: PathLike, - options: OpenDirOptions, - cb: (err: NodeJS.ErrnoException | null, dir: Dir) => void, - ): void; - export namespace opendir { - function __promisify__(path: PathLike, options?: OpenDirOptions): Promise; - } - export interface BigIntStats extends StatsBase { - atimeNs: bigint; - mtimeNs: bigint; - ctimeNs: bigint; - birthtimeNs: bigint; - } - export interface BigIntOptions { - bigint: true; - } - export interface StatOptions { - bigint?: boolean | undefined; - } - export interface StatSyncOptions extends StatOptions { - throwIfNoEntry?: boolean | undefined; - } - interface CopyOptionsBase { - /** - * Dereference symlinks - * @default false - */ - dereference?: boolean; - /** - * When `force` is `false`, and the destination - * exists, throw an error. - * @default false - */ - errorOnExist?: boolean; - /** - * Overwrite existing file or directory. _The copy - * operation will ignore errors if you set this to false and the destination - * exists. Use the `errorOnExist` option to change this behavior. - * @default true - */ - force?: boolean; - /** - * Modifiers for copy operation. See `mode` flag of {@link copyFileSync()} - */ - mode?: number; - /** - * When `true` timestamps from `src` will - * be preserved. - * @default false - */ - preserveTimestamps?: boolean; - /** - * Copy directories recursively. - * @default false - */ - recursive?: boolean; - /** - * When true, path resolution for symlinks will be skipped - * @default false - */ - verbatimSymlinks?: boolean; - } - export interface CopyOptions extends CopyOptionsBase { - /** - * Function to filter copied files/directories. Return - * `true` to copy the item, `false` to ignore it. - */ - filter?(source: string, destination: string): boolean | Promise; - } - export interface CopySyncOptions extends CopyOptionsBase { - /** - * Function to filter copied files/directories. Return - * `true` to copy the item, `false` to ignore it. - */ - filter?(source: string, destination: string): boolean; - } - /** - * Asynchronously copies the entire directory structure from `src` to `dest`, - * including subdirectories and files. - * - * When copying a directory to another directory, globs are not supported and - * behavior is similar to `cp dir1/ dir2/`. - * @since v16.7.0 - * @experimental - * @param src source path to copy. - * @param dest destination path to copy to. - */ - export function cp( - source: string | URL, - destination: string | URL, - callback: (err: NodeJS.ErrnoException | null) => void, - ): void; - export function cp( - source: string | URL, - destination: string | URL, - opts: CopyOptions, - callback: (err: NodeJS.ErrnoException | null) => void, - ): void; - /** - * Synchronously copies the entire directory structure from `src` to `dest`, - * including subdirectories and files. - * - * When copying a directory to another directory, globs are not supported and - * behavior is similar to `cp dir1/ dir2/`. - * @since v16.7.0 - * @experimental - * @param src source path to copy. - * @param dest destination path to copy to. - */ - export function cpSync(source: string | URL, destination: string | URL, opts?: CopySyncOptions): void; -} -declare module "node:fs" { - export * from "fs"; -} diff --git a/node_modules/@types/node/ts4.8/fs/promises.d.ts b/node_modules/@types/node/ts4.8/fs/promises.d.ts deleted file mode 100644 index 88a9fc3..0000000 --- a/node_modules/@types/node/ts4.8/fs/promises.d.ts +++ /dev/null @@ -1,1239 +0,0 @@ -/** - * The `fs/promises` API provides asynchronous file system methods that return - * promises. - * - * The promise APIs use the underlying Node.js threadpool to perform file - * system operations off the event loop thread. These operations are not - * synchronized or threadsafe. Care must be taken when performing multiple - * concurrent modifications on the same file or data corruption may occur. - * @since v10.0.0 - */ -declare module "fs/promises" { - import { Abortable } from "node:events"; - import { Stream } from "node:stream"; - import { ReadableStream } from "node:stream/web"; - import { - BigIntStats, - BigIntStatsFs, - BufferEncodingOption, - constants as fsConstants, - CopyOptions, - Dir, - Dirent, - MakeDirectoryOptions, - Mode, - ObjectEncodingOptions, - OpenDirOptions, - OpenMode, - PathLike, - ReadStream, - ReadVResult, - RmDirOptions, - RmOptions, - StatFsOptions, - StatOptions, - Stats, - StatsFs, - TimeLike, - WatchEventType, - WatchOptions, - WriteStream, - WriteVResult, - } from "node:fs"; - import { Interface as ReadlineInterface } from "node:readline"; - interface FileChangeInfo { - eventType: WatchEventType; - filename: T | null; - } - interface FlagAndOpenMode { - mode?: Mode | undefined; - flag?: OpenMode | undefined; - } - interface FileReadResult { - bytesRead: number; - buffer: T; - } - interface FileReadOptions { - /** - * @default `Buffer.alloc(0xffff)` - */ - buffer?: T; - /** - * @default 0 - */ - offset?: number | null; - /** - * @default `buffer.byteLength` - */ - length?: number | null; - position?: number | null; - } - interface CreateReadStreamOptions { - encoding?: BufferEncoding | null | undefined; - autoClose?: boolean | undefined; - emitClose?: boolean | undefined; - start?: number | undefined; - end?: number | undefined; - highWaterMark?: number | undefined; - } - interface CreateWriteStreamOptions { - encoding?: BufferEncoding | null | undefined; - autoClose?: boolean | undefined; - emitClose?: boolean | undefined; - start?: number | undefined; - highWaterMark?: number | undefined; - flush?: boolean | undefined; - } - interface ReadableWebStreamOptions { - /** - * Whether to open a normal or a `'bytes'` stream. - * @since v20.0.0 - */ - type?: "bytes" | undefined; - } - // TODO: Add `EventEmitter` close - interface FileHandle { - /** - * The numeric file descriptor managed by the {FileHandle} object. - * @since v10.0.0 - */ - readonly fd: number; - /** - * Alias of `filehandle.writeFile()`. - * - * When operating on file handles, the mode cannot be changed from what it was set - * to with `fsPromises.open()`. Therefore, this is equivalent to `filehandle.writeFile()`. - * @since v10.0.0 - * @return Fulfills with `undefined` upon success. - */ - appendFile( - data: string | Uint8Array, - options?: - | (ObjectEncodingOptions & FlagAndOpenMode & { flush?: boolean | undefined }) - | BufferEncoding - | null, - ): Promise; - /** - * Changes the ownership of the file. A wrapper for [`chown(2)`](http://man7.org/linux/man-pages/man2/chown.2.html). - * @since v10.0.0 - * @param uid The file's new owner's user id. - * @param gid The file's new group's group id. - * @return Fulfills with `undefined` upon success. - */ - chown(uid: number, gid: number): Promise; - /** - * Modifies the permissions on the file. See [`chmod(2)`](http://man7.org/linux/man-pages/man2/chmod.2.html). - * @since v10.0.0 - * @param mode the file mode bit mask. - * @return Fulfills with `undefined` upon success. - */ - chmod(mode: Mode): Promise; - /** - * Unlike the 16 KiB default `highWaterMark` for a `stream.Readable`, the stream - * returned by this method has a default `highWaterMark` of 64 KiB. - * - * `options` can include `start` and `end` values to read a range of bytes from - * the file instead of the entire file. Both `start` and `end` are inclusive and - * start counting at 0, allowed values are in the - * \[0, [`Number.MAX_SAFE_INTEGER`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/MAX_SAFE_INTEGER)\] range. If `start` is - * omitted or `undefined`, `filehandle.createReadStream()` reads sequentially from - * the current file position. The `encoding` can be any one of those accepted by `Buffer`. - * - * If the `FileHandle` points to a character device that only supports blocking - * reads (such as keyboard or sound card), read operations do not finish until data - * is available. This can prevent the process from exiting and the stream from - * closing naturally. - * - * By default, the stream will emit a `'close'` event after it has been - * destroyed. Set the `emitClose` option to `false` to change this behavior. - * - * ```js - * import { open } from 'node:fs/promises'; - * - * const fd = await open('/dev/input/event0'); - * // Create a stream from some character device. - * const stream = fd.createReadStream(); - * setTimeout(() => { - * stream.close(); // This may not close the stream. - * // Artificially marking end-of-stream, as if the underlying resource had - * // indicated end-of-file by itself, allows the stream to close. - * // This does not cancel pending read operations, and if there is such an - * // operation, the process may still not be able to exit successfully - * // until it finishes. - * stream.push(null); - * stream.read(0); - * }, 100); - * ``` - * - * If `autoClose` is false, then the file descriptor won't be closed, even if - * there's an error. It is the application's responsibility to close it and make - * sure there's no file descriptor leak. If `autoClose` is set to true (default - * behavior), on `'error'` or `'end'` the file descriptor will be closed - * automatically. - * - * An example to read the last 10 bytes of a file which is 100 bytes long: - * - * ```js - * import { open } from 'node:fs/promises'; - * - * const fd = await open('sample.txt'); - * fd.createReadStream({ start: 90, end: 99 }); - * ``` - * @since v16.11.0 - */ - createReadStream(options?: CreateReadStreamOptions): ReadStream; - /** - * `options` may also include a `start` option to allow writing data at some - * position past the beginning of the file, allowed values are in the - * \[0, [`Number.MAX_SAFE_INTEGER`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/MAX_SAFE_INTEGER)\] range. Modifying a file rather than - * replacing it may require the `flags` `open` option to be set to `r+` rather than - * the default `r`. The `encoding` can be any one of those accepted by `Buffer`. - * - * If `autoClose` is set to true (default behavior) on `'error'` or `'finish'`the file descriptor will be closed automatically. If `autoClose` is false, - * then the file descriptor won't be closed, even if there's an error. - * It is the application's responsibility to close it and make sure there's no - * file descriptor leak. - * - * By default, the stream will emit a `'close'` event after it has been - * destroyed. Set the `emitClose` option to `false` to change this behavior. - * @since v16.11.0 - */ - createWriteStream(options?: CreateWriteStreamOptions): WriteStream; - /** - * Forces all currently queued I/O operations associated with the file to the - * operating system's synchronized I/O completion state. Refer to the POSIX [`fdatasync(2)`](http://man7.org/linux/man-pages/man2/fdatasync.2.html) documentation for details. - * - * Unlike `filehandle.sync` this method does not flush modified metadata. - * @since v10.0.0 - * @return Fulfills with `undefined` upon success. - */ - datasync(): Promise; - /** - * Request that all data for the open file descriptor is flushed to the storage - * device. The specific implementation is operating system and device specific. - * Refer to the POSIX [`fsync(2)`](http://man7.org/linux/man-pages/man2/fsync.2.html) documentation for more detail. - * @since v10.0.0 - * @return Fulfills with `undefined` upon success. - */ - sync(): Promise; - /** - * Reads data from the file and stores that in the given buffer. - * - * If the file is not modified concurrently, the end-of-file is reached when the - * number of bytes read is zero. - * @since v10.0.0 - * @param buffer A buffer that will be filled with the file data read. - * @param offset The location in the buffer at which to start filling. - * @param length The number of bytes to read. - * @param position The location where to begin reading data from the file. If `null`, data will be read from the current file position, and the position will be updated. If `position` is an - * integer, the current file position will remain unchanged. - * @return Fulfills upon success with an object with two properties: - */ - read( - buffer: T, - offset?: number | null, - length?: number | null, - position?: number | null, - ): Promise>; - read(options?: FileReadOptions): Promise>; - /** - * Returns a `ReadableStream` that may be used to read the files data. - * - * An error will be thrown if this method is called more than once or is called - * after the `FileHandle` is closed or closing. - * - * ```js - * import { - * open, - * } from 'node:fs/promises'; - * - * const file = await open('./some/file/to/read'); - * - * for await (const chunk of file.readableWebStream()) - * console.log(chunk); - * - * await file.close(); - * ``` - * - * While the `ReadableStream` will read the file to completion, it will not - * close the `FileHandle` automatically. User code must still call the`fileHandle.close()` method. - * @since v17.0.0 - * @experimental - */ - readableWebStream(options?: ReadableWebStreamOptions): ReadableStream; - /** - * Asynchronously reads the entire contents of a file. - * - * If `options` is a string, then it specifies the `encoding`. - * - * The `FileHandle` has to support reading. - * - * If one or more `filehandle.read()` calls are made on a file handle and then a`filehandle.readFile()` call is made, the data will be read from the current - * position till the end of the file. It doesn't always read from the beginning - * of the file. - * @since v10.0.0 - * @return Fulfills upon a successful read with the contents of the file. If no encoding is specified (using `options.encoding`), the data is returned as a {Buffer} object. Otherwise, the - * data will be a string. - */ - readFile( - options?: { - encoding?: null | undefined; - flag?: OpenMode | undefined; - } | null, - ): Promise; - /** - * Asynchronously reads the entire contents of a file. The underlying file will _not_ be closed automatically. - * The `FileHandle` must have been opened for reading. - * @param options An object that may contain an optional flag. - * If a flag is not provided, it defaults to `'r'`. - */ - readFile( - options: - | { - encoding: BufferEncoding; - flag?: OpenMode | undefined; - } - | BufferEncoding, - ): Promise; - /** - * Asynchronously reads the entire contents of a file. The underlying file will _not_ be closed automatically. - * The `FileHandle` must have been opened for reading. - * @param options An object that may contain an optional flag. - * If a flag is not provided, it defaults to `'r'`. - */ - readFile( - options?: - | (ObjectEncodingOptions & { - flag?: OpenMode | undefined; - }) - | BufferEncoding - | null, - ): Promise; - /** - * Convenience method to create a `readline` interface and stream over the file. - * See `filehandle.createReadStream()` for the options. - * - * ```js - * import { open } from 'node:fs/promises'; - * - * const file = await open('./some/file/to/read'); - * - * for await (const line of file.readLines()) { - * console.log(line); - * } - * ``` - * @since v18.11.0 - */ - readLines(options?: CreateReadStreamOptions): ReadlineInterface; - /** - * @since v10.0.0 - * @return Fulfills with an {fs.Stats} for the file. - */ - stat( - opts?: StatOptions & { - bigint?: false | undefined; - }, - ): Promise; - stat( - opts: StatOptions & { - bigint: true; - }, - ): Promise; - stat(opts?: StatOptions): Promise; - /** - * Truncates the file. - * - * If the file was larger than `len` bytes, only the first `len` bytes will be - * retained in the file. - * - * The following example retains only the first four bytes of the file: - * - * ```js - * import { open } from 'node:fs/promises'; - * - * let filehandle = null; - * try { - * filehandle = await open('temp.txt', 'r+'); - * await filehandle.truncate(4); - * } finally { - * await filehandle?.close(); - * } - * ``` - * - * If the file previously was shorter than `len` bytes, it is extended, and the - * extended part is filled with null bytes (`'\0'`): - * - * If `len` is negative then `0` will be used. - * @since v10.0.0 - * @param [len=0] - * @return Fulfills with `undefined` upon success. - */ - truncate(len?: number): Promise; - /** - * Change the file system timestamps of the object referenced by the `FileHandle` then fulfills the promise with no arguments upon success. - * @since v10.0.0 - */ - utimes(atime: TimeLike, mtime: TimeLike): Promise; - /** - * Asynchronously writes data to a file, replacing the file if it already exists.`data` can be a string, a buffer, an - * [AsyncIterable](https://tc39.github.io/ecma262/#sec-asynciterable-interface), or an - * [Iterable](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols#The_iterable_protocol) object. - * The promise is fulfilled with no arguments upon success. - * - * If `options` is a string, then it specifies the `encoding`. - * - * The `FileHandle` has to support writing. - * - * It is unsafe to use `filehandle.writeFile()` multiple times on the same file - * without waiting for the promise to be fulfilled (or rejected). - * - * If one or more `filehandle.write()` calls are made on a file handle and then a`filehandle.writeFile()` call is made, the data will be written from the - * current position till the end of the file. It doesn't always write from the - * beginning of the file. - * @since v10.0.0 - */ - writeFile( - data: string | Uint8Array, - options?: - | (ObjectEncodingOptions & FlagAndOpenMode & Abortable & { flush?: boolean | undefined }) - | BufferEncoding - | null, - ): Promise; - /** - * Write `buffer` to the file. - * - * The promise is fulfilled with an object containing two properties: - * - * It is unsafe to use `filehandle.write()` multiple times on the same file - * without waiting for the promise to be fulfilled (or rejected). For this - * scenario, use `filehandle.createWriteStream()`. - * - * On Linux, positional writes do not work when the file is opened in append mode. - * The kernel ignores the position argument and always appends the data to - * the end of the file. - * @since v10.0.0 - * @param offset The start position from within `buffer` where the data to write begins. - * @param [length=buffer.byteLength - offset] The number of bytes from `buffer` to write. - * @param [position='null'] The offset from the beginning of the file where the data from `buffer` should be written. If `position` is not a `number`, the data will be written at the current - * position. See the POSIX pwrite(2) documentation for more detail. - */ - write( - buffer: TBuffer, - offset?: number | null, - length?: number | null, - position?: number | null, - ): Promise<{ - bytesWritten: number; - buffer: TBuffer; - }>; - write( - data: string, - position?: number | null, - encoding?: BufferEncoding | null, - ): Promise<{ - bytesWritten: number; - buffer: string; - }>; - /** - * Write an array of [ArrayBufferView](https://developer.mozilla.org/en-US/docs/Web/API/ArrayBufferView) s to the file. - * - * The promise is fulfilled with an object containing a two properties: - * - * It is unsafe to call `writev()` multiple times on the same file without waiting - * for the promise to be fulfilled (or rejected). - * - * On Linux, positional writes don't work when the file is opened in append mode. - * The kernel ignores the position argument and always appends the data to - * the end of the file. - * @since v12.9.0 - * @param [position='null'] The offset from the beginning of the file where the data from `buffers` should be written. If `position` is not a `number`, the data will be written at the current - * position. - */ - writev(buffers: readonly NodeJS.ArrayBufferView[], position?: number): Promise; - /** - * Read from a file and write to an array of [ArrayBufferView](https://developer.mozilla.org/en-US/docs/Web/API/ArrayBufferView) s - * @since v13.13.0, v12.17.0 - * @param [position='null'] The offset from the beginning of the file where the data should be read from. If `position` is not a `number`, the data will be read from the current position. - * @return Fulfills upon success an object containing two properties: - */ - readv(buffers: readonly NodeJS.ArrayBufferView[], position?: number): Promise; - /** - * Closes the file handle after waiting for any pending operation on the handle to - * complete. - * - * ```js - * import { open } from 'node:fs/promises'; - * - * let filehandle; - * try { - * filehandle = await open('thefile.txt', 'r'); - * } finally { - * await filehandle?.close(); - * } - * ``` - * @since v10.0.0 - * @return Fulfills with `undefined` upon success. - */ - close(): Promise; - /** - * An alias for {@link FileHandle.close()}. - * @since v20.4.0 - */ - [Symbol.asyncDispose](): Promise; - } - const constants: typeof fsConstants; - /** - * Tests a user's permissions for the file or directory specified by `path`. - * The `mode` argument is an optional integer that specifies the accessibility - * checks to be performed. `mode` should be either the value `fs.constants.F_OK`or a mask consisting of the bitwise OR of any of `fs.constants.R_OK`,`fs.constants.W_OK`, and `fs.constants.X_OK` - * (e.g.`fs.constants.W_OK | fs.constants.R_OK`). Check `File access constants` for - * possible values of `mode`. - * - * If the accessibility check is successful, the promise is fulfilled with no - * value. If any of the accessibility checks fail, the promise is rejected - * with an [Error](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Error) object. The following example checks if the file`/etc/passwd` can be read and - * written by the current process. - * - * ```js - * import { access, constants } from 'node:fs/promises'; - * - * try { - * await access('/etc/passwd', constants.R_OK | constants.W_OK); - * console.log('can access'); - * } catch { - * console.error('cannot access'); - * } - * ``` - * - * Using `fsPromises.access()` to check for the accessibility of a file before - * calling `fsPromises.open()` is not recommended. Doing so introduces a race - * condition, since other processes may change the file's state between the two - * calls. Instead, user code should open/read/write the file directly and handle - * the error raised if the file is not accessible. - * @since v10.0.0 - * @param [mode=fs.constants.F_OK] - * @return Fulfills with `undefined` upon success. - */ - function access(path: PathLike, mode?: number): Promise; - /** - * Asynchronously copies `src` to `dest`. By default, `dest` is overwritten if it - * already exists. - * - * No guarantees are made about the atomicity of the copy operation. If an - * error occurs after the destination file has been opened for writing, an attempt - * will be made to remove the destination. - * - * ```js - * import { copyFile, constants } from 'node:fs/promises'; - * - * try { - * await copyFile('source.txt', 'destination.txt'); - * console.log('source.txt was copied to destination.txt'); - * } catch { - * console.error('The file could not be copied'); - * } - * - * // By using COPYFILE_EXCL, the operation will fail if destination.txt exists. - * try { - * await copyFile('source.txt', 'destination.txt', constants.COPYFILE_EXCL); - * console.log('source.txt was copied to destination.txt'); - * } catch { - * console.error('The file could not be copied'); - * } - * ``` - * @since v10.0.0 - * @param src source filename to copy - * @param dest destination filename of the copy operation - * @param [mode=0] Optional modifiers that specify the behavior of the copy operation. It is possible to create a mask consisting of the bitwise OR of two or more values (e.g. - * `fs.constants.COPYFILE_EXCL | fs.constants.COPYFILE_FICLONE`) - * @return Fulfills with `undefined` upon success. - */ - function copyFile(src: PathLike, dest: PathLike, mode?: number): Promise; - /** - * Opens a `FileHandle`. - * - * Refer to the POSIX [`open(2)`](http://man7.org/linux/man-pages/man2/open.2.html) documentation for more detail. - * - * Some characters (`< > : " / \ | ? *`) are reserved under Windows as documented - * by [Naming Files, Paths, and Namespaces](https://docs.microsoft.com/en-us/windows/desktop/FileIO/naming-a-file). Under NTFS, if the filename contains - * a colon, Node.js will open a file system stream, as described by [this MSDN page](https://docs.microsoft.com/en-us/windows/desktop/FileIO/using-streams). - * @since v10.0.0 - * @param [flags='r'] See `support of file system `flags``. - * @param [mode=0o666] Sets the file mode (permission and sticky bits) if the file is created. - * @return Fulfills with a {FileHandle} object. - */ - function open(path: PathLike, flags?: string | number, mode?: Mode): Promise; - /** - * Renames `oldPath` to `newPath`. - * @since v10.0.0 - * @return Fulfills with `undefined` upon success. - */ - function rename(oldPath: PathLike, newPath: PathLike): Promise; - /** - * Truncates (shortens or extends the length) of the content at `path` to `len`bytes. - * @since v10.0.0 - * @param [len=0] - * @return Fulfills with `undefined` upon success. - */ - function truncate(path: PathLike, len?: number): Promise; - /** - * Removes the directory identified by `path`. - * - * Using `fsPromises.rmdir()` on a file (not a directory) results in the - * promise being rejected with an `ENOENT` error on Windows and an `ENOTDIR`error on POSIX. - * - * To get a behavior similar to the `rm -rf` Unix command, use `fsPromises.rm()` with options `{ recursive: true, force: true }`. - * @since v10.0.0 - * @return Fulfills with `undefined` upon success. - */ - function rmdir(path: PathLike, options?: RmDirOptions): Promise; - /** - * Removes files and directories (modeled on the standard POSIX `rm` utility). - * @since v14.14.0 - * @return Fulfills with `undefined` upon success. - */ - function rm(path: PathLike, options?: RmOptions): Promise; - /** - * Asynchronously creates a directory. - * - * The optional `options` argument can be an integer specifying `mode` (permission - * and sticky bits), or an object with a `mode` property and a `recursive`property indicating whether parent directories should be created. Calling`fsPromises.mkdir()` when `path` is a directory - * that exists results in a - * rejection only when `recursive` is false. - * - * ```js - * import { mkdir } from 'node:fs/promises'; - * - * try { - * const projectFolder = new URL('./test/project/', import.meta.url); - * const createDir = await mkdir(projectFolder, { recursive: true }); - * - * console.log(`created ${createDir}`); - * } catch (err) { - * console.error(err.message); - * } - * ``` - * @since v10.0.0 - * @return Upon success, fulfills with `undefined` if `recursive` is `false`, or the first directory path created if `recursive` is `true`. - */ - function mkdir( - path: PathLike, - options: MakeDirectoryOptions & { - recursive: true; - }, - ): Promise; - /** - * Asynchronous mkdir(2) - create a directory. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param options Either the file mode, or an object optionally specifying the file mode and whether parent folders - * should be created. If a string is passed, it is parsed as an octal integer. If not specified, defaults to `0o777`. - */ - function mkdir( - path: PathLike, - options?: - | Mode - | (MakeDirectoryOptions & { - recursive?: false | undefined; - }) - | null, - ): Promise; - /** - * Asynchronous mkdir(2) - create a directory. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param options Either the file mode, or an object optionally specifying the file mode and whether parent folders - * should be created. If a string is passed, it is parsed as an octal integer. If not specified, defaults to `0o777`. - */ - function mkdir(path: PathLike, options?: Mode | MakeDirectoryOptions | null): Promise; - /** - * Reads the contents of a directory. - * - * The optional `options` argument can be a string specifying an encoding, or an - * object with an `encoding` property specifying the character encoding to use for - * the filenames. If the `encoding` is set to `'buffer'`, the filenames returned - * will be passed as `Buffer` objects. - * - * If `options.withFileTypes` is set to `true`, the returned array will contain `fs.Dirent` objects. - * - * ```js - * import { readdir } from 'node:fs/promises'; - * - * try { - * const files = await readdir(path); - * for (const file of files) - * console.log(file); - * } catch (err) { - * console.error(err); - * } - * ``` - * @since v10.0.0 - * @return Fulfills with an array of the names of the files in the directory excluding `'.'` and `'..'`. - */ - function readdir( - path: PathLike, - options?: - | (ObjectEncodingOptions & { - withFileTypes?: false | undefined; - recursive?: boolean | undefined; - }) - | BufferEncoding - | null, - ): Promise; - /** - * Asynchronous readdir(3) - read a directory. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. - */ - function readdir( - path: PathLike, - options: - | { - encoding: "buffer"; - withFileTypes?: false | undefined; - recursive?: boolean | undefined; - } - | "buffer", - ): Promise; - /** - * Asynchronous readdir(3) - read a directory. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. - */ - function readdir( - path: PathLike, - options?: - | (ObjectEncodingOptions & { - withFileTypes?: false | undefined; - recursive?: boolean | undefined; - }) - | BufferEncoding - | null, - ): Promise; - /** - * Asynchronous readdir(3) - read a directory. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param options If called with `withFileTypes: true` the result data will be an array of Dirent. - */ - function readdir( - path: PathLike, - options: ObjectEncodingOptions & { - withFileTypes: true; - recursive?: boolean | undefined; - }, - ): Promise; - /** - * Reads the contents of the symbolic link referred to by `path`. See the POSIX [`readlink(2)`](http://man7.org/linux/man-pages/man2/readlink.2.html) documentation for more detail. The promise is - * fulfilled with the`linkString` upon success. - * - * The optional `options` argument can be a string specifying an encoding, or an - * object with an `encoding` property specifying the character encoding to use for - * the link path returned. If the `encoding` is set to `'buffer'`, the link path - * returned will be passed as a `Buffer` object. - * @since v10.0.0 - * @return Fulfills with the `linkString` upon success. - */ - function readlink(path: PathLike, options?: ObjectEncodingOptions | BufferEncoding | null): Promise; - /** - * Asynchronous readlink(2) - read value of a symbolic link. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. - */ - function readlink(path: PathLike, options: BufferEncodingOption): Promise; - /** - * Asynchronous readlink(2) - read value of a symbolic link. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. - */ - function readlink(path: PathLike, options?: ObjectEncodingOptions | string | null): Promise; - /** - * Creates a symbolic link. - * - * The `type` argument is only used on Windows platforms and can be one of `'dir'`,`'file'`, or `'junction'`. If the `type` argument is not a string, Node.js will - * autodetect `target` type and use `'file'` or `'dir'`. If the `target` does not - * exist, `'file'` will be used. Windows junction points require the destination - * path to be absolute. When using `'junction'`, the `target` argument will - * automatically be normalized to absolute path. Junction points on NTFS volumes - * can only point to directories. - * @since v10.0.0 - * @param [type='null'] - * @return Fulfills with `undefined` upon success. - */ - function symlink(target: PathLike, path: PathLike, type?: string | null): Promise; - /** - * Equivalent to `fsPromises.stat()` unless `path` refers to a symbolic link, - * in which case the link itself is stat-ed, not the file that it refers to. - * Refer to the POSIX [`lstat(2)`](http://man7.org/linux/man-pages/man2/lstat.2.html) document for more detail. - * @since v10.0.0 - * @return Fulfills with the {fs.Stats} object for the given symbolic link `path`. - */ - function lstat( - path: PathLike, - opts?: StatOptions & { - bigint?: false | undefined; - }, - ): Promise; - function lstat( - path: PathLike, - opts: StatOptions & { - bigint: true; - }, - ): Promise; - function lstat(path: PathLike, opts?: StatOptions): Promise; - /** - * @since v10.0.0 - * @return Fulfills with the {fs.Stats} object for the given `path`. - */ - function stat( - path: PathLike, - opts?: StatOptions & { - bigint?: false | undefined; - }, - ): Promise; - function stat( - path: PathLike, - opts: StatOptions & { - bigint: true; - }, - ): Promise; - function stat(path: PathLike, opts?: StatOptions): Promise; - /** - * @since v19.6.0, v18.15.0 - * @return Fulfills with the {fs.StatFs} object for the given `path`. - */ - function statfs( - path: PathLike, - opts?: StatFsOptions & { - bigint?: false | undefined; - }, - ): Promise; - function statfs( - path: PathLike, - opts: StatFsOptions & { - bigint: true; - }, - ): Promise; - function statfs(path: PathLike, opts?: StatFsOptions): Promise; - /** - * Creates a new link from the `existingPath` to the `newPath`. See the POSIX [`link(2)`](http://man7.org/linux/man-pages/man2/link.2.html) documentation for more detail. - * @since v10.0.0 - * @return Fulfills with `undefined` upon success. - */ - function link(existingPath: PathLike, newPath: PathLike): Promise; - /** - * If `path` refers to a symbolic link, then the link is removed without affecting - * the file or directory to which that link refers. If the `path` refers to a file - * path that is not a symbolic link, the file is deleted. See the POSIX [`unlink(2)`](http://man7.org/linux/man-pages/man2/unlink.2.html) documentation for more detail. - * @since v10.0.0 - * @return Fulfills with `undefined` upon success. - */ - function unlink(path: PathLike): Promise; - /** - * Changes the permissions of a file. - * @since v10.0.0 - * @return Fulfills with `undefined` upon success. - */ - function chmod(path: PathLike, mode: Mode): Promise; - /** - * Changes the permissions on a symbolic link. - * - * This method is only implemented on macOS. - * @deprecated Since v10.0.0 - * @return Fulfills with `undefined` upon success. - */ - function lchmod(path: PathLike, mode: Mode): Promise; - /** - * Changes the ownership on a symbolic link. - * @since v10.0.0 - * @return Fulfills with `undefined` upon success. - */ - function lchown(path: PathLike, uid: number, gid: number): Promise; - /** - * Changes the access and modification times of a file in the same way as `fsPromises.utimes()`, with the difference that if the path refers to a - * symbolic link, then the link is not dereferenced: instead, the timestamps of - * the symbolic link itself are changed. - * @since v14.5.0, v12.19.0 - * @return Fulfills with `undefined` upon success. - */ - function lutimes(path: PathLike, atime: TimeLike, mtime: TimeLike): Promise; - /** - * Changes the ownership of a file. - * @since v10.0.0 - * @return Fulfills with `undefined` upon success. - */ - function chown(path: PathLike, uid: number, gid: number): Promise; - /** - * Change the file system timestamps of the object referenced by `path`. - * - * The `atime` and `mtime` arguments follow these rules: - * - * * Values can be either numbers representing Unix epoch time, `Date`s, or a - * numeric string like `'123456789.0'`. - * * If the value can not be converted to a number, or is `NaN`, `Infinity`, or`-Infinity`, an `Error` will be thrown. - * @since v10.0.0 - * @return Fulfills with `undefined` upon success. - */ - function utimes(path: PathLike, atime: TimeLike, mtime: TimeLike): Promise; - /** - * Determines the actual location of `path` using the same semantics as the`fs.realpath.native()` function. - * - * Only paths that can be converted to UTF8 strings are supported. - * - * The optional `options` argument can be a string specifying an encoding, or an - * object with an `encoding` property specifying the character encoding to use for - * the path. If the `encoding` is set to `'buffer'`, the path returned will be - * passed as a `Buffer` object. - * - * On Linux, when Node.js is linked against musl libc, the procfs file system must - * be mounted on `/proc` in order for this function to work. Glibc does not have - * this restriction. - * @since v10.0.0 - * @return Fulfills with the resolved path upon success. - */ - function realpath(path: PathLike, options?: ObjectEncodingOptions | BufferEncoding | null): Promise; - /** - * Asynchronous realpath(3) - return the canonicalized absolute pathname. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. - */ - function realpath(path: PathLike, options: BufferEncodingOption): Promise; - /** - * Asynchronous realpath(3) - return the canonicalized absolute pathname. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. - */ - function realpath( - path: PathLike, - options?: ObjectEncodingOptions | BufferEncoding | null, - ): Promise; - /** - * Creates a unique temporary directory. A unique directory name is generated by - * appending six random characters to the end of the provided `prefix`. Due to - * platform inconsistencies, avoid trailing `X` characters in `prefix`. Some - * platforms, notably the BSDs, can return more than six random characters, and - * replace trailing `X` characters in `prefix` with random characters. - * - * The optional `options` argument can be a string specifying an encoding, or an - * object with an `encoding` property specifying the character encoding to use. - * - * ```js - * import { mkdtemp } from 'node:fs/promises'; - * import { join } from 'node:path'; - * import { tmpdir } from 'node:os'; - * - * try { - * await mkdtemp(join(tmpdir(), 'foo-')); - * } catch (err) { - * console.error(err); - * } - * ``` - * - * The `fsPromises.mkdtemp()` method will append the six randomly selected - * characters directly to the `prefix` string. For instance, given a directory`/tmp`, if the intention is to create a temporary directory _within_`/tmp`, the`prefix` must end with a trailing - * platform-specific path separator - * (`require('node:path').sep`). - * @since v10.0.0 - * @return Fulfills with a string containing the file system path of the newly created temporary directory. - */ - function mkdtemp(prefix: string, options?: ObjectEncodingOptions | BufferEncoding | null): Promise; - /** - * Asynchronously creates a unique temporary directory. - * Generates six random characters to be appended behind a required `prefix` to create a unique temporary directory. - * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. - */ - function mkdtemp(prefix: string, options: BufferEncodingOption): Promise; - /** - * Asynchronously creates a unique temporary directory. - * Generates six random characters to be appended behind a required `prefix` to create a unique temporary directory. - * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. - */ - function mkdtemp(prefix: string, options?: ObjectEncodingOptions | BufferEncoding | null): Promise; - /** - * Asynchronously writes data to a file, replacing the file if it already exists.`data` can be a string, a buffer, an - * [AsyncIterable](https://tc39.github.io/ecma262/#sec-asynciterable-interface), or an - * [Iterable](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols#The_iterable_protocol) object. - * - * The `encoding` option is ignored if `data` is a buffer. - * - * If `options` is a string, then it specifies the encoding. - * - * The `mode` option only affects the newly created file. See `fs.open()` for more details. - * - * Any specified `FileHandle` has to support writing. - * - * It is unsafe to use `fsPromises.writeFile()` multiple times on the same file - * without waiting for the promise to be settled. - * - * Similarly to `fsPromises.readFile` \- `fsPromises.writeFile` is a convenience - * method that performs multiple `write` calls internally to write the buffer - * passed to it. For performance sensitive code consider using `fs.createWriteStream()` or `filehandle.createWriteStream()`. - * - * It is possible to use an `AbortSignal` to cancel an `fsPromises.writeFile()`. - * Cancelation is "best effort", and some amount of data is likely still - * to be written. - * - * ```js - * import { writeFile } from 'node:fs/promises'; - * import { Buffer } from 'node:buffer'; - * - * try { - * const controller = new AbortController(); - * const { signal } = controller; - * const data = new Uint8Array(Buffer.from('Hello Node.js')); - * const promise = writeFile('message.txt', data, { signal }); - * - * // Abort the request before the promise settles. - * controller.abort(); - * - * await promise; - * } catch (err) { - * // When a request is aborted - err is an AbortError - * console.error(err); - * } - * ``` - * - * Aborting an ongoing request does not abort individual operating - * system requests but rather the internal buffering `fs.writeFile` performs. - * @since v10.0.0 - * @param file filename or `FileHandle` - * @return Fulfills with `undefined` upon success. - */ - function writeFile( - file: PathLike | FileHandle, - data: - | string - | NodeJS.ArrayBufferView - | Iterable - | AsyncIterable - | Stream, - options?: - | (ObjectEncodingOptions & { - mode?: Mode | undefined; - flag?: OpenMode | undefined; - } & Abortable) - | BufferEncoding - | null, - ): Promise; - /** - * Asynchronously append data to a file, creating the file if it does not yet - * exist. `data` can be a string or a `Buffer`. - * - * If `options` is a string, then it specifies the `encoding`. - * - * The `mode` option only affects the newly created file. See `fs.open()` for more details. - * - * The `path` may be specified as a `FileHandle` that has been opened - * for appending (using `fsPromises.open()`). - * @since v10.0.0 - * @param path filename or {FileHandle} - * @return Fulfills with `undefined` upon success. - */ - function appendFile( - path: PathLike | FileHandle, - data: string | Uint8Array, - options?: (ObjectEncodingOptions & FlagAndOpenMode & { flush?: boolean | undefined }) | BufferEncoding | null, - ): Promise; - /** - * Asynchronously reads the entire contents of a file. - * - * If no encoding is specified (using `options.encoding`), the data is returned - * as a `Buffer` object. Otherwise, the data will be a string. - * - * If `options` is a string, then it specifies the encoding. - * - * When the `path` is a directory, the behavior of `fsPromises.readFile()` is - * platform-specific. On macOS, Linux, and Windows, the promise will be rejected - * with an error. On FreeBSD, a representation of the directory's contents will be - * returned. - * - * An example of reading a `package.json` file located in the same directory of the - * running code: - * - * ```js - * import { readFile } from 'node:fs/promises'; - * try { - * const filePath = new URL('./package.json', import.meta.url); - * const contents = await readFile(filePath, { encoding: 'utf8' }); - * console.log(contents); - * } catch (err) { - * console.error(err.message); - * } - * ``` - * - * It is possible to abort an ongoing `readFile` using an `AbortSignal`. If a - * request is aborted the promise returned is rejected with an `AbortError`: - * - * ```js - * import { readFile } from 'node:fs/promises'; - * - * try { - * const controller = new AbortController(); - * const { signal } = controller; - * const promise = readFile(fileName, { signal }); - * - * // Abort the request before the promise settles. - * controller.abort(); - * - * await promise; - * } catch (err) { - * // When a request is aborted - err is an AbortError - * console.error(err); - * } - * ``` - * - * Aborting an ongoing request does not abort individual operating - * system requests but rather the internal buffering `fs.readFile` performs. - * - * Any specified `FileHandle` has to support reading. - * @since v10.0.0 - * @param path filename or `FileHandle` - * @return Fulfills with the contents of the file. - */ - function readFile( - path: PathLike | FileHandle, - options?: - | ({ - encoding?: null | undefined; - flag?: OpenMode | undefined; - } & Abortable) - | null, - ): Promise; - /** - * Asynchronously reads the entire contents of a file. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * If a `FileHandle` is provided, the underlying file will _not_ be closed automatically. - * @param options An object that may contain an optional flag. - * If a flag is not provided, it defaults to `'r'`. - */ - function readFile( - path: PathLike | FileHandle, - options: - | ({ - encoding: BufferEncoding; - flag?: OpenMode | undefined; - } & Abortable) - | BufferEncoding, - ): Promise; - /** - * Asynchronously reads the entire contents of a file. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * If a `FileHandle` is provided, the underlying file will _not_ be closed automatically. - * @param options An object that may contain an optional flag. - * If a flag is not provided, it defaults to `'r'`. - */ - function readFile( - path: PathLike | FileHandle, - options?: - | ( - & ObjectEncodingOptions - & Abortable - & { - flag?: OpenMode | undefined; - } - ) - | BufferEncoding - | null, - ): Promise; - /** - * Asynchronously open a directory for iterative scanning. See the POSIX [`opendir(3)`](http://man7.org/linux/man-pages/man3/opendir.3.html) documentation for more detail. - * - * Creates an `fs.Dir`, which contains all further functions for reading from - * and cleaning up the directory. - * - * The `encoding` option sets the encoding for the `path` while opening the - * directory and subsequent read operations. - * - * Example using async iteration: - * - * ```js - * import { opendir } from 'node:fs/promises'; - * - * try { - * const dir = await opendir('./'); - * for await (const dirent of dir) - * console.log(dirent.name); - * } catch (err) { - * console.error(err); - * } - * ``` - * - * When using the async iterator, the `fs.Dir` object will be automatically - * closed after the iterator exits. - * @since v12.12.0 - * @return Fulfills with an {fs.Dir}. - */ - function opendir(path: PathLike, options?: OpenDirOptions): Promise; - /** - * Returns an async iterator that watches for changes on `filename`, where `filename`is either a file or a directory. - * - * ```js - * const { watch } = require('node:fs/promises'); - * - * const ac = new AbortController(); - * const { signal } = ac; - * setTimeout(() => ac.abort(), 10000); - * - * (async () => { - * try { - * const watcher = watch(__filename, { signal }); - * for await (const event of watcher) - * console.log(event); - * } catch (err) { - * if (err.name === 'AbortError') - * return; - * throw err; - * } - * })(); - * ``` - * - * On most platforms, `'rename'` is emitted whenever a filename appears or - * disappears in the directory. - * - * All the `caveats` for `fs.watch()` also apply to `fsPromises.watch()`. - * @since v15.9.0, v14.18.0 - * @return of objects with the properties: - */ - function watch( - filename: PathLike, - options: - | (WatchOptions & { - encoding: "buffer"; - }) - | "buffer", - ): AsyncIterable>; - /** - * Watch for changes on `filename`, where `filename` is either a file or a directory, returning an `FSWatcher`. - * @param filename A path to a file or directory. If a URL is provided, it must use the `file:` protocol. - * @param options Either the encoding for the filename provided to the listener, or an object optionally specifying encoding, persistent, and recursive options. - * If `encoding` is not supplied, the default of `'utf8'` is used. - * If `persistent` is not supplied, the default of `true` is used. - * If `recursive` is not supplied, the default of `false` is used. - */ - function watch(filename: PathLike, options?: WatchOptions | BufferEncoding): AsyncIterable>; - /** - * Watch for changes on `filename`, where `filename` is either a file or a directory, returning an `FSWatcher`. - * @param filename A path to a file or directory. If a URL is provided, it must use the `file:` protocol. - * @param options Either the encoding for the filename provided to the listener, or an object optionally specifying encoding, persistent, and recursive options. - * If `encoding` is not supplied, the default of `'utf8'` is used. - * If `persistent` is not supplied, the default of `true` is used. - * If `recursive` is not supplied, the default of `false` is used. - */ - function watch( - filename: PathLike, - options: WatchOptions | string, - ): AsyncIterable> | AsyncIterable>; - /** - * Asynchronously copies the entire directory structure from `src` to `dest`, - * including subdirectories and files. - * - * When copying a directory to another directory, globs are not supported and - * behavior is similar to `cp dir1/ dir2/`. - * @since v16.7.0 - * @experimental - * @param src source path to copy. - * @param dest destination path to copy to. - * @return Fulfills with `undefined` upon success. - */ - function cp(source: string | URL, destination: string | URL, opts?: CopyOptions): Promise; -} -declare module "node:fs/promises" { - export * from "fs/promises"; -} diff --git a/node_modules/@types/node/ts4.8/globals.d.ts b/node_modules/@types/node/ts4.8/globals.d.ts deleted file mode 100644 index 5f25006..0000000 --- a/node_modules/@types/node/ts4.8/globals.d.ts +++ /dev/null @@ -1,411 +0,0 @@ -export {}; // Make this a module - -// #region Fetch and friends -// Conditional type aliases, used at the end of this file. -// Will either be empty if lib-dom is included, or the undici version otherwise. -type _Request = typeof globalThis extends { onmessage: any } ? {} : import("undici-types").Request; -type _Response = typeof globalThis extends { onmessage: any } ? {} : import("undici-types").Response; -type _FormData = typeof globalThis extends { onmessage: any } ? {} : import("undici-types").FormData; -type _Headers = typeof globalThis extends { onmessage: any } ? {} : import("undici-types").Headers; -type _RequestInit = typeof globalThis extends { onmessage: any } ? {} - : import("undici-types").RequestInit; -type _ResponseInit = typeof globalThis extends { onmessage: any } ? {} - : import("undici-types").ResponseInit; -type _File = typeof globalThis extends { onmessage: any } ? {} : import("node:buffer").File; -// #endregion Fetch and friends - -declare global { - // Declare "static" methods in Error - interface ErrorConstructor { - /** Create .stack property on a target object */ - captureStackTrace(targetObject: object, constructorOpt?: Function): void; - - /** - * Optional override for formatting stack traces - * - * @see https://v8.dev/docs/stack-trace-api#customizing-stack-traces - */ - prepareStackTrace?: ((err: Error, stackTraces: NodeJS.CallSite[]) => any) | undefined; - - stackTraceLimit: number; - } - - /*-----------------------------------------------* - * * - * GLOBAL * - * * - ------------------------------------------------*/ - - // For backwards compability - interface NodeRequire extends NodeJS.Require {} - interface RequireResolve extends NodeJS.RequireResolve {} - interface NodeModule extends NodeJS.Module {} - - var process: NodeJS.Process; - var console: Console; - - var __filename: string; - var __dirname: string; - - var require: NodeRequire; - var module: NodeModule; - - // Same as module.exports - var exports: any; - - /** - * Only available if `--expose-gc` is passed to the process. - */ - var gc: undefined | (() => void); - - // #region borrowed - // from https://github.com/microsoft/TypeScript/blob/38da7c600c83e7b31193a62495239a0fe478cb67/lib/lib.webworker.d.ts#L633 until moved to separate lib - /** A controller object that allows you to abort one or more DOM requests as and when desired. */ - interface AbortController { - /** - * Returns the AbortSignal object associated with this object. - */ - - readonly signal: AbortSignal; - /** - * Invoking this method will set this object's AbortSignal's aborted flag and signal to any observers that the associated activity is to be aborted. - */ - abort(reason?: any): void; - } - - /** A signal object that allows you to communicate with a DOM request (such as a Fetch) and abort it if required via an AbortController object. */ - interface AbortSignal extends EventTarget { - /** - * Returns true if this AbortSignal's AbortController has signaled to abort, and false otherwise. - */ - readonly aborted: boolean; - readonly reason: any; - onabort: null | ((this: AbortSignal, event: Event) => any); - throwIfAborted(): void; - } - - var AbortController: typeof globalThis extends { onmessage: any; AbortController: infer T } ? T - : { - prototype: AbortController; - new(): AbortController; - }; - - var AbortSignal: typeof globalThis extends { onmessage: any; AbortSignal: infer T } ? T - : { - prototype: AbortSignal; - new(): AbortSignal; - abort(reason?: any): AbortSignal; - timeout(milliseconds: number): AbortSignal; - }; - // #endregion borrowed - - // #region Disposable - interface SymbolConstructor { - /** - * A method that is used to release resources held by an object. Called by the semantics of the `using` statement. - */ - readonly dispose: unique symbol; - - /** - * A method that is used to asynchronously release resources held by an object. Called by the semantics of the `await using` statement. - */ - readonly asyncDispose: unique symbol; - } - - interface Disposable { - [Symbol.dispose](): void; - } - - interface AsyncDisposable { - [Symbol.asyncDispose](): PromiseLike; - } - // #endregion Disposable - - // #region ArrayLike.at() - interface RelativeIndexable { - /** - * Takes an integer value and returns the item at that index, - * allowing for positive and negative integers. - * Negative integers count back from the last item in the array. - */ - at(index: number): T | undefined; - } - interface String extends RelativeIndexable {} - interface Array extends RelativeIndexable {} - interface ReadonlyArray extends RelativeIndexable {} - interface Int8Array extends RelativeIndexable {} - interface Uint8Array extends RelativeIndexable {} - interface Uint8ClampedArray extends RelativeIndexable {} - interface Int16Array extends RelativeIndexable {} - interface Uint16Array extends RelativeIndexable {} - interface Int32Array extends RelativeIndexable {} - interface Uint32Array extends RelativeIndexable {} - interface Float32Array extends RelativeIndexable {} - interface Float64Array extends RelativeIndexable {} - interface BigInt64Array extends RelativeIndexable {} - interface BigUint64Array extends RelativeIndexable {} - // #endregion ArrayLike.at() end - - /** - * @since v17.0.0 - * - * Creates a deep clone of an object. - */ - function structuredClone( - value: T, - transfer?: { transfer: ReadonlyArray }, - ): T; - - /*----------------------------------------------* - * * - * GLOBAL INTERFACES * - * * - *-----------------------------------------------*/ - namespace NodeJS { - interface CallSite { - /** - * Value of "this" - */ - getThis(): unknown; - - /** - * Type of "this" as a string. - * This is the name of the function stored in the constructor field of - * "this", if available. Otherwise the object's [[Class]] internal - * property. - */ - getTypeName(): string | null; - - /** - * Current function - */ - getFunction(): Function | undefined; - - /** - * Name of the current function, typically its name property. - * If a name property is not available an attempt will be made to try - * to infer a name from the function's context. - */ - getFunctionName(): string | null; - - /** - * Name of the property [of "this" or one of its prototypes] that holds - * the current function - */ - getMethodName(): string | null; - - /** - * Name of the script [if this function was defined in a script] - */ - getFileName(): string | undefined; - - /** - * Current line number [if this function was defined in a script] - */ - getLineNumber(): number | null; - - /** - * Current column number [if this function was defined in a script] - */ - getColumnNumber(): number | null; - - /** - * A call site object representing the location where eval was called - * [if this function was created using a call to eval] - */ - getEvalOrigin(): string | undefined; - - /** - * Is this a toplevel invocation, that is, is "this" the global object? - */ - isToplevel(): boolean; - - /** - * Does this call take place in code defined by a call to eval? - */ - isEval(): boolean; - - /** - * Is this call in native V8 code? - */ - isNative(): boolean; - - /** - * Is this a constructor call? - */ - isConstructor(): boolean; - - /** - * is this an async call (i.e. await, Promise.all(), or Promise.any())? - */ - isAsync(): boolean; - - /** - * is this an async call to Promise.all()? - */ - isPromiseAll(): boolean; - - /** - * returns the index of the promise element that was followed in - * Promise.all() or Promise.any() for async stack traces, or null - * if the CallSite is not an async - */ - getPromiseIndex(): number | null; - - getScriptNameOrSourceURL(): string; - getScriptHash(): string; - - getEnclosingColumnNumber(): number; - getEnclosingLineNumber(): number; - getPosition(): number; - - toString(): string; - } - - interface ErrnoException extends Error { - errno?: number | undefined; - code?: string | undefined; - path?: string | undefined; - syscall?: string | undefined; - } - - interface ReadableStream extends EventEmitter { - readable: boolean; - read(size?: number): string | Buffer; - setEncoding(encoding: BufferEncoding): this; - pause(): this; - resume(): this; - isPaused(): boolean; - pipe(destination: T, options?: { end?: boolean | undefined }): T; - unpipe(destination?: WritableStream): this; - unshift(chunk: string | Uint8Array, encoding?: BufferEncoding): void; - wrap(oldStream: ReadableStream): this; - [Symbol.asyncIterator](): AsyncIterableIterator; - } - - interface WritableStream extends EventEmitter { - writable: boolean; - write(buffer: Uint8Array | string, cb?: (err?: Error | null) => void): boolean; - write(str: string, encoding?: BufferEncoding, cb?: (err?: Error | null) => void): boolean; - end(cb?: () => void): this; - end(data: string | Uint8Array, cb?: () => void): this; - end(str: string, encoding?: BufferEncoding, cb?: () => void): this; - } - - interface ReadWriteStream extends ReadableStream, WritableStream {} - - interface RefCounted { - ref(): this; - unref(): this; - } - - type TypedArray = - | Uint8Array - | Uint8ClampedArray - | Uint16Array - | Uint32Array - | Int8Array - | Int16Array - | Int32Array - | BigUint64Array - | BigInt64Array - | Float32Array - | Float64Array; - type ArrayBufferView = TypedArray | DataView; - - interface Require { - (id: string): any; - resolve: RequireResolve; - cache: Dict; - /** - * @deprecated - */ - extensions: RequireExtensions; - main: Module | undefined; - } - - interface RequireResolve { - (id: string, options?: { paths?: string[] | undefined }): string; - paths(request: string): string[] | null; - } - - interface RequireExtensions extends Dict<(m: Module, filename: string) => any> { - ".js": (m: Module, filename: string) => any; - ".json": (m: Module, filename: string) => any; - ".node": (m: Module, filename: string) => any; - } - interface Module { - /** - * `true` if the module is running during the Node.js preload - */ - isPreloading: boolean; - exports: any; - require: Require; - id: string; - filename: string; - loaded: boolean; - /** @deprecated since v14.6.0 Please use `require.main` and `module.children` instead. */ - parent: Module | null | undefined; - children: Module[]; - /** - * @since v11.14.0 - * - * The directory name of the module. This is usually the same as the path.dirname() of the module.id. - */ - path: string; - paths: string[]; - } - - interface Dict { - [key: string]: T | undefined; - } - - interface ReadOnlyDict { - readonly [key: string]: T | undefined; - } - } - - interface RequestInit extends _RequestInit {} - - function fetch( - input: string | URL | globalThis.Request, - init?: RequestInit, - ): Promise; - - interface Request extends _Request {} - var Request: typeof globalThis extends { - onmessage: any; - Request: infer T; - } ? T - : typeof import("undici-types").Request; - - interface ResponseInit extends _ResponseInit {} - - interface Response extends _Response {} - var Response: typeof globalThis extends { - onmessage: any; - Response: infer T; - } ? T - : typeof import("undici-types").Response; - - interface FormData extends _FormData {} - var FormData: typeof globalThis extends { - onmessage: any; - FormData: infer T; - } ? T - : typeof import("undici-types").FormData; - - interface Headers extends _Headers {} - var Headers: typeof globalThis extends { - onmessage: any; - Headers: infer T; - } ? T - : typeof import("undici-types").Headers; - - interface File extends _File {} - var File: typeof globalThis extends { - onmessage: any; - File: infer T; - } ? T - : typeof import("node:buffer").File; -} diff --git a/node_modules/@types/node/ts4.8/globals.global.d.ts b/node_modules/@types/node/ts4.8/globals.global.d.ts deleted file mode 100644 index ef1198c..0000000 --- a/node_modules/@types/node/ts4.8/globals.global.d.ts +++ /dev/null @@ -1 +0,0 @@ -declare var global: typeof globalThis; diff --git a/node_modules/@types/node/ts4.8/http.d.ts b/node_modules/@types/node/ts4.8/http.d.ts deleted file mode 100644 index 98479fc..0000000 --- a/node_modules/@types/node/ts4.8/http.d.ts +++ /dev/null @@ -1,1889 +0,0 @@ -/** - * To use the HTTP server and client one must `require('node:http')`. - * - * The HTTP interfaces in Node.js are designed to support many features - * of the protocol which have been traditionally difficult to use. - * In particular, large, possibly chunk-encoded, messages. The interface is - * careful to never buffer entire requests or responses, so the - * user is able to stream data. - * - * HTTP message headers are represented by an object like this: - * - * ```json - * { "content-length": "123", - * "content-type": "text/plain", - * "connection": "keep-alive", - * "host": "example.com", - * "accept": "*" } - * ``` - * - * Keys are lowercased. Values are not modified. - * - * In order to support the full spectrum of possible HTTP applications, the Node.js - * HTTP API is very low-level. It deals with stream handling and message - * parsing only. It parses a message into headers and body but it does not - * parse the actual headers or the body. - * - * See `message.headers` for details on how duplicate headers are handled. - * - * The raw headers as they were received are retained in the `rawHeaders`property, which is an array of `[key, value, key2, value2, ...]`. For - * example, the previous message header object might have a `rawHeaders`list like the following: - * - * ```js - * [ 'ConTent-Length', '123456', - * 'content-LENGTH', '123', - * 'content-type', 'text/plain', - * 'CONNECTION', 'keep-alive', - * 'Host', 'example.com', - * 'accepT', '*' ] - * ``` - * @see [source](https://github.com/nodejs/node/blob/v20.2.0/lib/http.js) - */ -declare module "http" { - import * as stream from "node:stream"; - import { URL } from "node:url"; - import { LookupOptions } from "node:dns"; - import { EventEmitter } from "node:events"; - import { LookupFunction, Server as NetServer, Socket, TcpSocketConnectOpts } from "node:net"; - // incoming headers will never contain number - interface IncomingHttpHeaders extends NodeJS.Dict { - accept?: string | undefined; - "accept-language"?: string | undefined; - "accept-patch"?: string | undefined; - "accept-ranges"?: string | undefined; - "access-control-allow-credentials"?: string | undefined; - "access-control-allow-headers"?: string | undefined; - "access-control-allow-methods"?: string | undefined; - "access-control-allow-origin"?: string | undefined; - "access-control-expose-headers"?: string | undefined; - "access-control-max-age"?: string | undefined; - "access-control-request-headers"?: string | undefined; - "access-control-request-method"?: string | undefined; - age?: string | undefined; - allow?: string | undefined; - "alt-svc"?: string | undefined; - authorization?: string | undefined; - "cache-control"?: string | undefined; - connection?: string | undefined; - "content-disposition"?: string | undefined; - "content-encoding"?: string | undefined; - "content-language"?: string | undefined; - "content-length"?: string | undefined; - "content-location"?: string | undefined; - "content-range"?: string | undefined; - "content-type"?: string | undefined; - cookie?: string | undefined; - date?: string | undefined; - etag?: string | undefined; - expect?: string | undefined; - expires?: string | undefined; - forwarded?: string | undefined; - from?: string | undefined; - host?: string | undefined; - "if-match"?: string | undefined; - "if-modified-since"?: string | undefined; - "if-none-match"?: string | undefined; - "if-unmodified-since"?: string | undefined; - "last-modified"?: string | undefined; - location?: string | undefined; - origin?: string | undefined; - pragma?: string | undefined; - "proxy-authenticate"?: string | undefined; - "proxy-authorization"?: string | undefined; - "public-key-pins"?: string | undefined; - range?: string | undefined; - referer?: string | undefined; - "retry-after"?: string | undefined; - "sec-websocket-accept"?: string | undefined; - "sec-websocket-extensions"?: string | undefined; - "sec-websocket-key"?: string | undefined; - "sec-websocket-protocol"?: string | undefined; - "sec-websocket-version"?: string | undefined; - "set-cookie"?: string[] | undefined; - "strict-transport-security"?: string | undefined; - tk?: string | undefined; - trailer?: string | undefined; - "transfer-encoding"?: string | undefined; - upgrade?: string | undefined; - "user-agent"?: string | undefined; - vary?: string | undefined; - via?: string | undefined; - warning?: string | undefined; - "www-authenticate"?: string | undefined; - } - // outgoing headers allows numbers (as they are converted internally to strings) - type OutgoingHttpHeader = number | string | string[]; - interface OutgoingHttpHeaders extends NodeJS.Dict { - accept?: string | string[] | undefined; - "accept-charset"?: string | string[] | undefined; - "accept-encoding"?: string | string[] | undefined; - "accept-language"?: string | string[] | undefined; - "accept-ranges"?: string | undefined; - "access-control-allow-credentials"?: string | undefined; - "access-control-allow-headers"?: string | undefined; - "access-control-allow-methods"?: string | undefined; - "access-control-allow-origin"?: string | undefined; - "access-control-expose-headers"?: string | undefined; - "access-control-max-age"?: string | undefined; - "access-control-request-headers"?: string | undefined; - "access-control-request-method"?: string | undefined; - age?: string | undefined; - allow?: string | undefined; - authorization?: string | undefined; - "cache-control"?: string | undefined; - "cdn-cache-control"?: string | undefined; - connection?: string | string[] | undefined; - "content-disposition"?: string | undefined; - "content-encoding"?: string | undefined; - "content-language"?: string | undefined; - "content-length"?: string | number | undefined; - "content-location"?: string | undefined; - "content-range"?: string | undefined; - "content-security-policy"?: string | undefined; - "content-security-policy-report-only"?: string | undefined; - cookie?: string | string[] | undefined; - dav?: string | string[] | undefined; - dnt?: string | undefined; - date?: string | undefined; - etag?: string | undefined; - expect?: string | undefined; - expires?: string | undefined; - forwarded?: string | undefined; - from?: string | undefined; - host?: string | undefined; - "if-match"?: string | undefined; - "if-modified-since"?: string | undefined; - "if-none-match"?: string | undefined; - "if-range"?: string | undefined; - "if-unmodified-since"?: string | undefined; - "last-modified"?: string | undefined; - link?: string | string[] | undefined; - location?: string | undefined; - "max-forwards"?: string | undefined; - origin?: string | undefined; - prgama?: string | string[] | undefined; - "proxy-authenticate"?: string | string[] | undefined; - "proxy-authorization"?: string | undefined; - "public-key-pins"?: string | undefined; - "public-key-pins-report-only"?: string | undefined; - range?: string | undefined; - referer?: string | undefined; - "referrer-policy"?: string | undefined; - refresh?: string | undefined; - "retry-after"?: string | undefined; - "sec-websocket-accept"?: string | undefined; - "sec-websocket-extensions"?: string | string[] | undefined; - "sec-websocket-key"?: string | undefined; - "sec-websocket-protocol"?: string | string[] | undefined; - "sec-websocket-version"?: string | undefined; - server?: string | undefined; - "set-cookie"?: string | string[] | undefined; - "strict-transport-security"?: string | undefined; - te?: string | undefined; - trailer?: string | undefined; - "transfer-encoding"?: string | undefined; - "user-agent"?: string | undefined; - upgrade?: string | undefined; - "upgrade-insecure-requests"?: string | undefined; - vary?: string | undefined; - via?: string | string[] | undefined; - warning?: string | undefined; - "www-authenticate"?: string | string[] | undefined; - "x-content-type-options"?: string | undefined; - "x-dns-prefetch-control"?: string | undefined; - "x-frame-options"?: string | undefined; - "x-xss-protection"?: string | undefined; - } - interface ClientRequestArgs { - _defaultAgent?: Agent | undefined; - agent?: Agent | boolean | undefined; - auth?: string | null | undefined; - createConnection?: - | (( - options: ClientRequestArgs, - oncreate: (err: Error | null, socket: stream.Duplex) => void, - ) => stream.Duplex | null | undefined) - | undefined; - defaultPort?: number | string | undefined; - family?: number | undefined; - headers?: OutgoingHttpHeaders | undefined; - hints?: LookupOptions["hints"]; - host?: string | null | undefined; - hostname?: string | null | undefined; - insecureHTTPParser?: boolean | undefined; - localAddress?: string | undefined; - localPort?: number | undefined; - lookup?: LookupFunction | undefined; - /** - * @default 16384 - */ - maxHeaderSize?: number | undefined; - method?: string | undefined; - path?: string | null | undefined; - port?: number | string | null | undefined; - protocol?: string | null | undefined; - setHost?: boolean | undefined; - signal?: AbortSignal | undefined; - socketPath?: string | undefined; - timeout?: number | undefined; - uniqueHeaders?: Array | undefined; - joinDuplicateHeaders?: boolean; - } - interface ServerOptions< - Request extends typeof IncomingMessage = typeof IncomingMessage, - Response extends typeof ServerResponse = typeof ServerResponse, - > { - /** - * Specifies the `IncomingMessage` class to be used. Useful for extending the original `IncomingMessage`. - */ - IncomingMessage?: Request | undefined; - /** - * Specifies the `ServerResponse` class to be used. Useful for extending the original `ServerResponse`. - */ - ServerResponse?: Response | undefined; - /** - * Sets the timeout value in milliseconds for receiving the entire request from the client. - * @see Server.requestTimeout for more information. - * @default 300000 - * @since v18.0.0 - */ - requestTimeout?: number | undefined; - /** - * It joins the field line values of multiple headers in a request with `, ` instead of discarding the duplicates. - * @default false - * @since v18.14.0 - */ - joinDuplicateHeaders?: boolean; - /** - * The number of milliseconds of inactivity a server needs to wait for additional incoming data, - * after it has finished writing the last response, before a socket will be destroyed. - * @see Server.keepAliveTimeout for more information. - * @default 5000 - * @since v18.0.0 - */ - keepAliveTimeout?: number | undefined; - /** - * Sets the interval value in milliseconds to check for request and headers timeout in incomplete requests. - * @default 30000 - */ - connectionsCheckingInterval?: number | undefined; - /** - * Optionally overrides all `socket`s' `readableHighWaterMark` and `writableHighWaterMark`. - * This affects `highWaterMark` property of both `IncomingMessage` and `ServerResponse`. - * Default: @see stream.getDefaultHighWaterMark(). - * @since v20.1.0 - */ - highWaterMark?: number | undefined; - /** - * Use an insecure HTTP parser that accepts invalid HTTP headers when `true`. - * Using the insecure parser should be avoided. - * See --insecure-http-parser for more information. - * @default false - */ - insecureHTTPParser?: boolean | undefined; - /** - * Optionally overrides the value of - * `--max-http-header-size` for requests received by this server, i.e. - * the maximum length of request headers in bytes. - * @default 16384 - * @since v13.3.0 - */ - maxHeaderSize?: number | undefined; - /** - * If set to `true`, it disables the use of Nagle's algorithm immediately after a new incoming connection is received. - * @default true - * @since v16.5.0 - */ - noDelay?: boolean | undefined; - /** - * If set to `true`, it enables keep-alive functionality on the socket immediately after a new incoming connection is received, - * similarly on what is done in `socket.setKeepAlive([enable][, initialDelay])`. - * @default false - * @since v16.5.0 - */ - keepAlive?: boolean | undefined; - /** - * If set to a positive number, it sets the initial delay before the first keepalive probe is sent on an idle socket. - * @default 0 - * @since v16.5.0 - */ - keepAliveInitialDelay?: number | undefined; - /** - * A list of response headers that should be sent only once. - * If the header's value is an array, the items will be joined using `; `. - */ - uniqueHeaders?: Array | undefined; - } - type RequestListener< - Request extends typeof IncomingMessage = typeof IncomingMessage, - Response extends typeof ServerResponse = typeof ServerResponse, - > = (req: InstanceType, res: InstanceType & { req: InstanceType }) => void; - /** - * @since v0.1.17 - */ - class Server< - Request extends typeof IncomingMessage = typeof IncomingMessage, - Response extends typeof ServerResponse = typeof ServerResponse, - > extends NetServer { - constructor(requestListener?: RequestListener); - constructor(options: ServerOptions, requestListener?: RequestListener); - /** - * Sets the timeout value for sockets, and emits a `'timeout'` event on - * the Server object, passing the socket as an argument, if a timeout - * occurs. - * - * If there is a `'timeout'` event listener on the Server object, then it - * will be called with the timed-out socket as an argument. - * - * By default, the Server does not timeout sockets. However, if a callback - * is assigned to the Server's `'timeout'` event, timeouts must be handled - * explicitly. - * @since v0.9.12 - * @param [msecs=0 (no timeout)] - */ - setTimeout(msecs?: number, callback?: () => void): this; - setTimeout(callback: () => void): this; - /** - * Limits maximum incoming headers count. If set to 0, no limit will be applied. - * @since v0.7.0 - */ - maxHeadersCount: number | null; - /** - * The maximum number of requests socket can handle - * before closing keep alive connection. - * - * A value of `0` will disable the limit. - * - * When the limit is reached it will set the `Connection` header value to `close`, - * but will not actually close the connection, subsequent requests sent - * after the limit is reached will get `503 Service Unavailable` as a response. - * @since v16.10.0 - */ - maxRequestsPerSocket: number | null; - /** - * The number of milliseconds of inactivity before a socket is presumed - * to have timed out. - * - * A value of `0` will disable the timeout behavior on incoming connections. - * - * The socket timeout logic is set up on connection, so changing this - * value only affects new connections to the server, not any existing connections. - * @since v0.9.12 - */ - timeout: number; - /** - * Limit the amount of time the parser will wait to receive the complete HTTP - * headers. - * - * If the timeout expires, the server responds with status 408 without - * forwarding the request to the request listener and then closes the connection. - * - * It must be set to a non-zero value (e.g. 120 seconds) to protect against - * potential Denial-of-Service attacks in case the server is deployed without a - * reverse proxy in front. - * @since v11.3.0, v10.14.0 - */ - headersTimeout: number; - /** - * The number of milliseconds of inactivity a server needs to wait for additional - * incoming data, after it has finished writing the last response, before a socket - * will be destroyed. If the server receives new data before the keep-alive - * timeout has fired, it will reset the regular inactivity timeout, i.e.,`server.timeout`. - * - * A value of `0` will disable the keep-alive timeout behavior on incoming - * connections. - * A value of `0` makes the http server behave similarly to Node.js versions prior - * to 8.0.0, which did not have a keep-alive timeout. - * - * The socket timeout logic is set up on connection, so changing this value only - * affects new connections to the server, not any existing connections. - * @since v8.0.0 - */ - keepAliveTimeout: number; - /** - * Sets the timeout value in milliseconds for receiving the entire request from - * the client. - * - * If the timeout expires, the server responds with status 408 without - * forwarding the request to the request listener and then closes the connection. - * - * It must be set to a non-zero value (e.g. 120 seconds) to protect against - * potential Denial-of-Service attacks in case the server is deployed without a - * reverse proxy in front. - * @since v14.11.0 - */ - requestTimeout: number; - /** - * Closes all connections connected to this server. - * @since v18.2.0 - */ - closeAllConnections(): void; - /** - * Closes all connections connected to this server which are not sending a request - * or waiting for a response. - * @since v18.2.0 - */ - closeIdleConnections(): void; - addListener(event: string, listener: (...args: any[]) => void): this; - addListener(event: "close", listener: () => void): this; - addListener(event: "connection", listener: (socket: Socket) => void): this; - addListener(event: "error", listener: (err: Error) => void): this; - addListener(event: "listening", listener: () => void): this; - addListener(event: "checkContinue", listener: RequestListener): this; - addListener(event: "checkExpectation", listener: RequestListener): this; - addListener(event: "clientError", listener: (err: Error, socket: stream.Duplex) => void): this; - addListener( - event: "connect", - listener: (req: InstanceType, socket: stream.Duplex, head: Buffer) => void, - ): this; - addListener(event: "dropRequest", listener: (req: InstanceType, socket: stream.Duplex) => void): this; - addListener(event: "request", listener: RequestListener): this; - addListener( - event: "upgrade", - listener: (req: InstanceType, socket: stream.Duplex, head: Buffer) => void, - ): this; - emit(event: string, ...args: any[]): boolean; - emit(event: "close"): boolean; - emit(event: "connection", socket: Socket): boolean; - emit(event: "error", err: Error): boolean; - emit(event: "listening"): boolean; - emit( - event: "checkContinue", - req: InstanceType, - res: InstanceType & { req: InstanceType }, - ): boolean; - emit( - event: "checkExpectation", - req: InstanceType, - res: InstanceType & { req: InstanceType }, - ): boolean; - emit(event: "clientError", err: Error, socket: stream.Duplex): boolean; - emit(event: "connect", req: InstanceType, socket: stream.Duplex, head: Buffer): boolean; - emit(event: "dropRequest", req: InstanceType, socket: stream.Duplex): boolean; - emit( - event: "request", - req: InstanceType, - res: InstanceType & { req: InstanceType }, - ): boolean; - emit(event: "upgrade", req: InstanceType, socket: stream.Duplex, head: Buffer): boolean; - on(event: string, listener: (...args: any[]) => void): this; - on(event: "close", listener: () => void): this; - on(event: "connection", listener: (socket: Socket) => void): this; - on(event: "error", listener: (err: Error) => void): this; - on(event: "listening", listener: () => void): this; - on(event: "checkContinue", listener: RequestListener): this; - on(event: "checkExpectation", listener: RequestListener): this; - on(event: "clientError", listener: (err: Error, socket: stream.Duplex) => void): this; - on(event: "connect", listener: (req: InstanceType, socket: stream.Duplex, head: Buffer) => void): this; - on(event: "dropRequest", listener: (req: InstanceType, socket: stream.Duplex) => void): this; - on(event: "request", listener: RequestListener): this; - on(event: "upgrade", listener: (req: InstanceType, socket: stream.Duplex, head: Buffer) => void): this; - once(event: string, listener: (...args: any[]) => void): this; - once(event: "close", listener: () => void): this; - once(event: "connection", listener: (socket: Socket) => void): this; - once(event: "error", listener: (err: Error) => void): this; - once(event: "listening", listener: () => void): this; - once(event: "checkContinue", listener: RequestListener): this; - once(event: "checkExpectation", listener: RequestListener): this; - once(event: "clientError", listener: (err: Error, socket: stream.Duplex) => void): this; - once( - event: "connect", - listener: (req: InstanceType, socket: stream.Duplex, head: Buffer) => void, - ): this; - once(event: "dropRequest", listener: (req: InstanceType, socket: stream.Duplex) => void): this; - once(event: "request", listener: RequestListener): this; - once( - event: "upgrade", - listener: (req: InstanceType, socket: stream.Duplex, head: Buffer) => void, - ): this; - prependListener(event: string, listener: (...args: any[]) => void): this; - prependListener(event: "close", listener: () => void): this; - prependListener(event: "connection", listener: (socket: Socket) => void): this; - prependListener(event: "error", listener: (err: Error) => void): this; - prependListener(event: "listening", listener: () => void): this; - prependListener(event: "checkContinue", listener: RequestListener): this; - prependListener(event: "checkExpectation", listener: RequestListener): this; - prependListener(event: "clientError", listener: (err: Error, socket: stream.Duplex) => void): this; - prependListener( - event: "connect", - listener: (req: InstanceType, socket: stream.Duplex, head: Buffer) => void, - ): this; - prependListener( - event: "dropRequest", - listener: (req: InstanceType, socket: stream.Duplex) => void, - ): this; - prependListener(event: "request", listener: RequestListener): this; - prependListener( - event: "upgrade", - listener: (req: InstanceType, socket: stream.Duplex, head: Buffer) => void, - ): this; - prependOnceListener(event: string, listener: (...args: any[]) => void): this; - prependOnceListener(event: "close", listener: () => void): this; - prependOnceListener(event: "connection", listener: (socket: Socket) => void): this; - prependOnceListener(event: "error", listener: (err: Error) => void): this; - prependOnceListener(event: "listening", listener: () => void): this; - prependOnceListener(event: "checkContinue", listener: RequestListener): this; - prependOnceListener(event: "checkExpectation", listener: RequestListener): this; - prependOnceListener(event: "clientError", listener: (err: Error, socket: stream.Duplex) => void): this; - prependOnceListener( - event: "connect", - listener: (req: InstanceType, socket: stream.Duplex, head: Buffer) => void, - ): this; - prependOnceListener( - event: "dropRequest", - listener: (req: InstanceType, socket: stream.Duplex) => void, - ): this; - prependOnceListener(event: "request", listener: RequestListener): this; - prependOnceListener( - event: "upgrade", - listener: (req: InstanceType, socket: stream.Duplex, head: Buffer) => void, - ): this; - } - /** - * This class serves as the parent class of {@link ClientRequest} and {@link ServerResponse}. It is an abstract outgoing message from - * the perspective of the participants of an HTTP transaction. - * @since v0.1.17 - */ - class OutgoingMessage extends stream.Writable { - readonly req: Request; - chunkedEncoding: boolean; - shouldKeepAlive: boolean; - useChunkedEncodingByDefault: boolean; - sendDate: boolean; - /** - * @deprecated Use `writableEnded` instead. - */ - finished: boolean; - /** - * Read-only. `true` if the headers were sent, otherwise `false`. - * @since v0.9.3 - */ - readonly headersSent: boolean; - /** - * Alias of `outgoingMessage.socket`. - * @since v0.3.0 - * @deprecated Since v15.12.0,v14.17.1 - Use `socket` instead. - */ - readonly connection: Socket | null; - /** - * Reference to the underlying socket. Usually, users will not want to access - * this property. - * - * After calling `outgoingMessage.end()`, this property will be nulled. - * @since v0.3.0 - */ - readonly socket: Socket | null; - constructor(); - /** - * Once a socket is associated with the message and is connected,`socket.setTimeout()` will be called with `msecs` as the first parameter. - * @since v0.9.12 - * @param callback Optional function to be called when a timeout occurs. Same as binding to the `timeout` event. - */ - setTimeout(msecs: number, callback?: () => void): this; - /** - * Sets a single header value. If the header already exists in the to-be-sent - * headers, its value will be replaced. Use an array of strings to send multiple - * headers with the same name. - * @since v0.4.0 - * @param name Header name - * @param value Header value - */ - setHeader(name: string, value: number | string | readonly string[]): this; - /** - * Append a single header value for the header object. - * - * If the value is an array, this is equivalent of calling this method multiple - * times. - * - * If there were no previous value for the header, this is equivalent of calling `outgoingMessage.setHeader(name, value)`. - * - * Depending of the value of `options.uniqueHeaders` when the client request or the - * server were created, this will end up in the header being sent multiple times or - * a single time with values joined using `; `. - * @since v18.3.0, v16.17.0 - * @param name Header name - * @param value Header value - */ - appendHeader(name: string, value: string | readonly string[]): this; - /** - * Gets the value of the HTTP header with the given name. If that header is not - * set, the returned value will be `undefined`. - * @since v0.4.0 - * @param name Name of header - */ - getHeader(name: string): number | string | string[] | undefined; - /** - * Returns a shallow copy of the current outgoing headers. Since a shallow - * copy is used, array values may be mutated without additional calls to - * various header-related HTTP module methods. The keys of the returned - * object are the header names and the values are the respective header - * values. All header names are lowercase. - * - * The object returned by the `outgoingMessage.getHeaders()` method does - * not prototypically inherit from the JavaScript `Object`. This means that - * typical `Object` methods such as `obj.toString()`, `obj.hasOwnProperty()`, - * and others are not defined and will not work. - * - * ```js - * outgoingMessage.setHeader('Foo', 'bar'); - * outgoingMessage.setHeader('Set-Cookie', ['foo=bar', 'bar=baz']); - * - * const headers = outgoingMessage.getHeaders(); - * // headers === { foo: 'bar', 'set-cookie': ['foo=bar', 'bar=baz'] } - * ``` - * @since v7.7.0 - */ - getHeaders(): OutgoingHttpHeaders; - /** - * Returns an array containing the unique names of the current outgoing headers. - * All names are lowercase. - * @since v7.7.0 - */ - getHeaderNames(): string[]; - /** - * Returns `true` if the header identified by `name` is currently set in the - * outgoing headers. The header name is case-insensitive. - * - * ```js - * const hasContentType = outgoingMessage.hasHeader('content-type'); - * ``` - * @since v7.7.0 - */ - hasHeader(name: string): boolean; - /** - * Removes a header that is queued for implicit sending. - * - * ```js - * outgoingMessage.removeHeader('Content-Encoding'); - * ``` - * @since v0.4.0 - * @param name Header name - */ - removeHeader(name: string): void; - /** - * Adds HTTP trailers (headers but at the end of the message) to the message. - * - * Trailers will **only** be emitted if the message is chunked encoded. If not, - * the trailers will be silently discarded. - * - * HTTP requires the `Trailer` header to be sent to emit trailers, - * with a list of header field names in its value, e.g. - * - * ```js - * message.writeHead(200, { 'Content-Type': 'text/plain', - * 'Trailer': 'Content-MD5' }); - * message.write(fileData); - * message.addTrailers({ 'Content-MD5': '7895bf4b8828b55ceaf47747b4bca667' }); - * message.end(); - * ``` - * - * Attempting to set a header field name or value that contains invalid characters - * will result in a `TypeError` being thrown. - * @since v0.3.0 - */ - addTrailers(headers: OutgoingHttpHeaders | ReadonlyArray<[string, string]>): void; - /** - * Flushes the message headers. - * - * For efficiency reason, Node.js normally buffers the message headers - * until `outgoingMessage.end()` is called or the first chunk of message data - * is written. It then tries to pack the headers and data into a single TCP - * packet. - * - * It is usually desired (it saves a TCP round-trip), but not when the first - * data is not sent until possibly much later. `outgoingMessage.flushHeaders()`bypasses the optimization and kickstarts the message. - * @since v1.6.0 - */ - flushHeaders(): void; - } - /** - * This object is created internally by an HTTP server, not by the user. It is - * passed as the second parameter to the `'request'` event. - * @since v0.1.17 - */ - class ServerResponse extends OutgoingMessage { - /** - * When using implicit headers (not calling `response.writeHead()` explicitly), - * this property controls the status code that will be sent to the client when - * the headers get flushed. - * - * ```js - * response.statusCode = 404; - * ``` - * - * After response header was sent to the client, this property indicates the - * status code which was sent out. - * @since v0.4.0 - */ - statusCode: number; - /** - * When using implicit headers (not calling `response.writeHead()` explicitly), - * this property controls the status message that will be sent to the client when - * the headers get flushed. If this is left as `undefined` then the standard - * message for the status code will be used. - * - * ```js - * response.statusMessage = 'Not found'; - * ``` - * - * After response header was sent to the client, this property indicates the - * status message which was sent out. - * @since v0.11.8 - */ - statusMessage: string; - /** - * If set to `true`, Node.js will check whether the `Content-Length`header value and the size of the body, in bytes, are equal. - * Mismatching the `Content-Length` header value will result - * in an `Error` being thrown, identified by `code:``'ERR_HTTP_CONTENT_LENGTH_MISMATCH'`. - * @since v18.10.0, v16.18.0 - */ - strictContentLength: boolean; - constructor(req: Request); - assignSocket(socket: Socket): void; - detachSocket(socket: Socket): void; - /** - * Sends an HTTP/1.1 100 Continue message to the client, indicating that - * the request body should be sent. See the `'checkContinue'` event on`Server`. - * @since v0.3.0 - */ - writeContinue(callback?: () => void): void; - /** - * Sends an HTTP/1.1 103 Early Hints message to the client with a Link header, - * indicating that the user agent can preload/preconnect the linked resources. - * The `hints` is an object containing the values of headers to be sent with - * early hints message. The optional `callback` argument will be called when - * the response message has been written. - * - * **Example** - * - * ```js - * const earlyHintsLink = '; rel=preload; as=style'; - * response.writeEarlyHints({ - * 'link': earlyHintsLink, - * }); - * - * const earlyHintsLinks = [ - * '; rel=preload; as=style', - * '; rel=preload; as=script', - * ]; - * response.writeEarlyHints({ - * 'link': earlyHintsLinks, - * 'x-trace-id': 'id for diagnostics', - * }); - * - * const earlyHintsCallback = () => console.log('early hints message sent'); - * response.writeEarlyHints({ - * 'link': earlyHintsLinks, - * }, earlyHintsCallback); - * ``` - * @since v18.11.0 - * @param hints An object containing the values of headers - * @param callback Will be called when the response message has been written - */ - writeEarlyHints(hints: Record, callback?: () => void): void; - /** - * Sends a response header to the request. The status code is a 3-digit HTTP - * status code, like `404`. The last argument, `headers`, are the response headers. - * Optionally one can give a human-readable `statusMessage` as the second - * argument. - * - * `headers` may be an `Array` where the keys and values are in the same list. - * It is _not_ a list of tuples. So, the even-numbered offsets are key values, - * and the odd-numbered offsets are the associated values. The array is in the same - * format as `request.rawHeaders`. - * - * Returns a reference to the `ServerResponse`, so that calls can be chained. - * - * ```js - * const body = 'hello world'; - * response - * .writeHead(200, { - * 'Content-Length': Buffer.byteLength(body), - * 'Content-Type': 'text/plain', - * }) - * .end(body); - * ``` - * - * This method must only be called once on a message and it must - * be called before `response.end()` is called. - * - * If `response.write()` or `response.end()` are called before calling - * this, the implicit/mutable headers will be calculated and call this function. - * - * When headers have been set with `response.setHeader()`, they will be merged - * with any headers passed to `response.writeHead()`, with the headers passed - * to `response.writeHead()` given precedence. - * - * If this method is called and `response.setHeader()` has not been called, - * it will directly write the supplied header values onto the network channel - * without caching internally, and the `response.getHeader()` on the header - * will not yield the expected result. If progressive population of headers is - * desired with potential future retrieval and modification, use `response.setHeader()` instead. - * - * ```js - * // Returns content-type = text/plain - * const server = http.createServer((req, res) => { - * res.setHeader('Content-Type', 'text/html'); - * res.setHeader('X-Foo', 'bar'); - * res.writeHead(200, { 'Content-Type': 'text/plain' }); - * res.end('ok'); - * }); - * ``` - * - * `Content-Length` is read in bytes, not characters. Use `Buffer.byteLength()` to determine the length of the body in bytes. Node.js - * will check whether `Content-Length` and the length of the body which has - * been transmitted are equal or not. - * - * Attempting to set a header field name or value that contains invalid characters - * will result in a \[`Error`\]\[\] being thrown. - * @since v0.1.30 - */ - writeHead( - statusCode: number, - statusMessage?: string, - headers?: OutgoingHttpHeaders | OutgoingHttpHeader[], - ): this; - writeHead(statusCode: number, headers?: OutgoingHttpHeaders | OutgoingHttpHeader[]): this; - /** - * Sends a HTTP/1.1 102 Processing message to the client, indicating that - * the request body should be sent. - * @since v10.0.0 - */ - writeProcessing(): void; - } - interface InformationEvent { - statusCode: number; - statusMessage: string; - httpVersion: string; - httpVersionMajor: number; - httpVersionMinor: number; - headers: IncomingHttpHeaders; - rawHeaders: string[]; - } - /** - * This object is created internally and returned from {@link request}. It - * represents an _in-progress_ request whose header has already been queued. The - * header is still mutable using the `setHeader(name, value)`,`getHeader(name)`, `removeHeader(name)` API. The actual header will - * be sent along with the first data chunk or when calling `request.end()`. - * - * To get the response, add a listener for `'response'` to the request object.`'response'` will be emitted from the request object when the response - * headers have been received. The `'response'` event is executed with one - * argument which is an instance of {@link IncomingMessage}. - * - * During the `'response'` event, one can add listeners to the - * response object; particularly to listen for the `'data'` event. - * - * If no `'response'` handler is added, then the response will be - * entirely discarded. However, if a `'response'` event handler is added, - * then the data from the response object **must** be consumed, either by - * calling `response.read()` whenever there is a `'readable'` event, or - * by adding a `'data'` handler, or by calling the `.resume()` method. - * Until the data is consumed, the `'end'` event will not fire. Also, until - * the data is read it will consume memory that can eventually lead to a - * 'process out of memory' error. - * - * For backward compatibility, `res` will only emit `'error'` if there is an`'error'` listener registered. - * - * Set `Content-Length` header to limit the response body size. - * If `response.strictContentLength` is set to `true`, mismatching the`Content-Length` header value will result in an `Error` being thrown, - * identified by `code:``'ERR_HTTP_CONTENT_LENGTH_MISMATCH'`. - * - * `Content-Length` value should be in bytes, not characters. Use `Buffer.byteLength()` to determine the length of the body in bytes. - * @since v0.1.17 - */ - class ClientRequest extends OutgoingMessage { - /** - * The `request.aborted` property will be `true` if the request has - * been aborted. - * @since v0.11.14 - * @deprecated Since v17.0.0,v16.12.0 - Check `destroyed` instead. - */ - aborted: boolean; - /** - * The request host. - * @since v14.5.0, v12.19.0 - */ - host: string; - /** - * The request protocol. - * @since v14.5.0, v12.19.0 - */ - protocol: string; - /** - * When sending request through a keep-alive enabled agent, the underlying socket - * might be reused. But if server closes connection at unfortunate time, client - * may run into a 'ECONNRESET' error. - * - * ```js - * import http from 'node:http'; - * - * // Server has a 5 seconds keep-alive timeout by default - * http - * .createServer((req, res) => { - * res.write('hello\n'); - * res.end(); - * }) - * .listen(3000); - * - * setInterval(() => { - * // Adapting a keep-alive agent - * http.get('http://localhost:3000', { agent }, (res) => { - * res.on('data', (data) => { - * // Do nothing - * }); - * }); - * }, 5000); // Sending request on 5s interval so it's easy to hit idle timeout - * ``` - * - * By marking a request whether it reused socket or not, we can do - * automatic error retry base on it. - * - * ```js - * import http from 'node:http'; - * const agent = new http.Agent({ keepAlive: true }); - * - * function retriableRequest() { - * const req = http - * .get('http://localhost:3000', { agent }, (res) => { - * // ... - * }) - * .on('error', (err) => { - * // Check if retry is needed - * if (req.reusedSocket && err.code === 'ECONNRESET') { - * retriableRequest(); - * } - * }); - * } - * - * retriableRequest(); - * ``` - * @since v13.0.0, v12.16.0 - */ - reusedSocket: boolean; - /** - * Limits maximum response headers count. If set to 0, no limit will be applied. - */ - maxHeadersCount: number; - constructor(url: string | URL | ClientRequestArgs, cb?: (res: IncomingMessage) => void); - /** - * The request method. - * @since v0.1.97 - */ - method: string; - /** - * The request path. - * @since v0.4.0 - */ - path: string; - /** - * Marks the request as aborting. Calling this will cause remaining data - * in the response to be dropped and the socket to be destroyed. - * @since v0.3.8 - * @deprecated Since v14.1.0,v13.14.0 - Use `destroy` instead. - */ - abort(): void; - onSocket(socket: Socket): void; - /** - * Once a socket is assigned to this request and is connected `socket.setTimeout()` will be called. - * @since v0.5.9 - * @param timeout Milliseconds before a request times out. - * @param callback Optional function to be called when a timeout occurs. Same as binding to the `'timeout'` event. - */ - setTimeout(timeout: number, callback?: () => void): this; - /** - * Once a socket is assigned to this request and is connected `socket.setNoDelay()` will be called. - * @since v0.5.9 - */ - setNoDelay(noDelay?: boolean): void; - /** - * Once a socket is assigned to this request and is connected `socket.setKeepAlive()` will be called. - * @since v0.5.9 - */ - setSocketKeepAlive(enable?: boolean, initialDelay?: number): void; - /** - * Returns an array containing the unique names of the current outgoing raw - * headers. Header names are returned with their exact casing being set. - * - * ```js - * request.setHeader('Foo', 'bar'); - * request.setHeader('Set-Cookie', ['foo=bar', 'bar=baz']); - * - * const headerNames = request.getRawHeaderNames(); - * // headerNames === ['Foo', 'Set-Cookie'] - * ``` - * @since v15.13.0, v14.17.0 - */ - getRawHeaderNames(): string[]; - /** - * @deprecated - */ - addListener(event: "abort", listener: () => void): this; - addListener( - event: "connect", - listener: (response: IncomingMessage, socket: Socket, head: Buffer) => void, - ): this; - addListener(event: "continue", listener: () => void): this; - addListener(event: "information", listener: (info: InformationEvent) => void): this; - addListener(event: "response", listener: (response: IncomingMessage) => void): this; - addListener(event: "socket", listener: (socket: Socket) => void): this; - addListener(event: "timeout", listener: () => void): this; - addListener( - event: "upgrade", - listener: (response: IncomingMessage, socket: Socket, head: Buffer) => void, - ): this; - addListener(event: "close", listener: () => void): this; - addListener(event: "drain", listener: () => void): this; - addListener(event: "error", listener: (err: Error) => void): this; - addListener(event: "finish", listener: () => void): this; - addListener(event: "pipe", listener: (src: stream.Readable) => void): this; - addListener(event: "unpipe", listener: (src: stream.Readable) => void): this; - addListener(event: string | symbol, listener: (...args: any[]) => void): this; - /** - * @deprecated - */ - on(event: "abort", listener: () => void): this; - on(event: "connect", listener: (response: IncomingMessage, socket: Socket, head: Buffer) => void): this; - on(event: "continue", listener: () => void): this; - on(event: "information", listener: (info: InformationEvent) => void): this; - on(event: "response", listener: (response: IncomingMessage) => void): this; - on(event: "socket", listener: (socket: Socket) => void): this; - on(event: "timeout", listener: () => void): this; - on(event: "upgrade", listener: (response: IncomingMessage, socket: Socket, head: Buffer) => void): this; - on(event: "close", listener: () => void): this; - on(event: "drain", listener: () => void): this; - on(event: "error", listener: (err: Error) => void): this; - on(event: "finish", listener: () => void): this; - on(event: "pipe", listener: (src: stream.Readable) => void): this; - on(event: "unpipe", listener: (src: stream.Readable) => void): this; - on(event: string | symbol, listener: (...args: any[]) => void): this; - /** - * @deprecated - */ - once(event: "abort", listener: () => void): this; - once(event: "connect", listener: (response: IncomingMessage, socket: Socket, head: Buffer) => void): this; - once(event: "continue", listener: () => void): this; - once(event: "information", listener: (info: InformationEvent) => void): this; - once(event: "response", listener: (response: IncomingMessage) => void): this; - once(event: "socket", listener: (socket: Socket) => void): this; - once(event: "timeout", listener: () => void): this; - once(event: "upgrade", listener: (response: IncomingMessage, socket: Socket, head: Buffer) => void): this; - once(event: "close", listener: () => void): this; - once(event: "drain", listener: () => void): this; - once(event: "error", listener: (err: Error) => void): this; - once(event: "finish", listener: () => void): this; - once(event: "pipe", listener: (src: stream.Readable) => void): this; - once(event: "unpipe", listener: (src: stream.Readable) => void): this; - once(event: string | symbol, listener: (...args: any[]) => void): this; - /** - * @deprecated - */ - prependListener(event: "abort", listener: () => void): this; - prependListener( - event: "connect", - listener: (response: IncomingMessage, socket: Socket, head: Buffer) => void, - ): this; - prependListener(event: "continue", listener: () => void): this; - prependListener(event: "information", listener: (info: InformationEvent) => void): this; - prependListener(event: "response", listener: (response: IncomingMessage) => void): this; - prependListener(event: "socket", listener: (socket: Socket) => void): this; - prependListener(event: "timeout", listener: () => void): this; - prependListener( - event: "upgrade", - listener: (response: IncomingMessage, socket: Socket, head: Buffer) => void, - ): this; - prependListener(event: "close", listener: () => void): this; - prependListener(event: "drain", listener: () => void): this; - prependListener(event: "error", listener: (err: Error) => void): this; - prependListener(event: "finish", listener: () => void): this; - prependListener(event: "pipe", listener: (src: stream.Readable) => void): this; - prependListener(event: "unpipe", listener: (src: stream.Readable) => void): this; - prependListener(event: string | symbol, listener: (...args: any[]) => void): this; - /** - * @deprecated - */ - prependOnceListener(event: "abort", listener: () => void): this; - prependOnceListener( - event: "connect", - listener: (response: IncomingMessage, socket: Socket, head: Buffer) => void, - ): this; - prependOnceListener(event: "continue", listener: () => void): this; - prependOnceListener(event: "information", listener: (info: InformationEvent) => void): this; - prependOnceListener(event: "response", listener: (response: IncomingMessage) => void): this; - prependOnceListener(event: "socket", listener: (socket: Socket) => void): this; - prependOnceListener(event: "timeout", listener: () => void): this; - prependOnceListener( - event: "upgrade", - listener: (response: IncomingMessage, socket: Socket, head: Buffer) => void, - ): this; - prependOnceListener(event: "close", listener: () => void): this; - prependOnceListener(event: "drain", listener: () => void): this; - prependOnceListener(event: "error", listener: (err: Error) => void): this; - prependOnceListener(event: "finish", listener: () => void): this; - prependOnceListener(event: "pipe", listener: (src: stream.Readable) => void): this; - prependOnceListener(event: "unpipe", listener: (src: stream.Readable) => void): this; - prependOnceListener(event: string | symbol, listener: (...args: any[]) => void): this; - } - /** - * An `IncomingMessage` object is created by {@link Server} or {@link ClientRequest} and passed as the first argument to the `'request'` and `'response'` event respectively. It may be used to - * access response - * status, headers, and data. - * - * Different from its `socket` value which is a subclass of `stream.Duplex`, the`IncomingMessage` itself extends `stream.Readable` and is created separately to - * parse and emit the incoming HTTP headers and payload, as the underlying socket - * may be reused multiple times in case of keep-alive. - * @since v0.1.17 - */ - class IncomingMessage extends stream.Readable { - constructor(socket: Socket); - /** - * The `message.aborted` property will be `true` if the request has - * been aborted. - * @since v10.1.0 - * @deprecated Since v17.0.0,v16.12.0 - Check `message.destroyed` from stream.Readable. - */ - aborted: boolean; - /** - * In case of server request, the HTTP version sent by the client. In the case of - * client response, the HTTP version of the connected-to server. - * Probably either `'1.1'` or `'1.0'`. - * - * Also `message.httpVersionMajor` is the first integer and`message.httpVersionMinor` is the second. - * @since v0.1.1 - */ - httpVersion: string; - httpVersionMajor: number; - httpVersionMinor: number; - /** - * The `message.complete` property will be `true` if a complete HTTP message has - * been received and successfully parsed. - * - * This property is particularly useful as a means of determining if a client or - * server fully transmitted a message before a connection was terminated: - * - * ```js - * const req = http.request({ - * host: '127.0.0.1', - * port: 8080, - * method: 'POST', - * }, (res) => { - * res.resume(); - * res.on('end', () => { - * if (!res.complete) - * console.error( - * 'The connection was terminated while the message was still being sent'); - * }); - * }); - * ``` - * @since v0.3.0 - */ - complete: boolean; - /** - * Alias for `message.socket`. - * @since v0.1.90 - * @deprecated Since v16.0.0 - Use `socket`. - */ - connection: Socket; - /** - * The `net.Socket` object associated with the connection. - * - * With HTTPS support, use `request.socket.getPeerCertificate()` to obtain the - * client's authentication details. - * - * This property is guaranteed to be an instance of the `net.Socket` class, - * a subclass of `stream.Duplex`, unless the user specified a socket - * type other than `net.Socket` or internally nulled. - * @since v0.3.0 - */ - socket: Socket; - /** - * The request/response headers object. - * - * Key-value pairs of header names and values. Header names are lower-cased. - * - * ```js - * // Prints something like: - * // - * // { 'user-agent': 'curl/7.22.0', - * // host: '127.0.0.1:8000', - * // accept: '*' } - * console.log(request.headers); - * ``` - * - * Duplicates in raw headers are handled in the following ways, depending on the - * header name: - * - * * Duplicates of `age`, `authorization`, `content-length`, `content-type`,`etag`, `expires`, `from`, `host`, `if-modified-since`, `if-unmodified-since`,`last-modified`, `location`, - * `max-forwards`, `proxy-authorization`, `referer`,`retry-after`, `server`, or `user-agent` are discarded. - * To allow duplicate values of the headers listed above to be joined, - * use the option `joinDuplicateHeaders` in {@link request} and {@link createServer}. See RFC 9110 Section 5.3 for more - * information. - * * `set-cookie` is always an array. Duplicates are added to the array. - * * For duplicate `cookie` headers, the values are joined together with `; `. - * * For all other headers, the values are joined together with `, `. - * @since v0.1.5 - */ - headers: IncomingHttpHeaders; - /** - * Similar to `message.headers`, but there is no join logic and the values are - * always arrays of strings, even for headers received just once. - * - * ```js - * // Prints something like: - * // - * // { 'user-agent': ['curl/7.22.0'], - * // host: ['127.0.0.1:8000'], - * // accept: ['*'] } - * console.log(request.headersDistinct); - * ``` - * @since v18.3.0, v16.17.0 - */ - headersDistinct: NodeJS.Dict; - /** - * The raw request/response headers list exactly as they were received. - * - * The keys and values are in the same list. It is _not_ a - * list of tuples. So, the even-numbered offsets are key values, and the - * odd-numbered offsets are the associated values. - * - * Header names are not lowercased, and duplicates are not merged. - * - * ```js - * // Prints something like: - * // - * // [ 'user-agent', - * // 'this is invalid because there can be only one', - * // 'User-Agent', - * // 'curl/7.22.0', - * // 'Host', - * // '127.0.0.1:8000', - * // 'ACCEPT', - * // '*' ] - * console.log(request.rawHeaders); - * ``` - * @since v0.11.6 - */ - rawHeaders: string[]; - /** - * The request/response trailers object. Only populated at the `'end'` event. - * @since v0.3.0 - */ - trailers: NodeJS.Dict; - /** - * Similar to `message.trailers`, but there is no join logic and the values are - * always arrays of strings, even for headers received just once. - * Only populated at the `'end'` event. - * @since v18.3.0, v16.17.0 - */ - trailersDistinct: NodeJS.Dict; - /** - * The raw request/response trailer keys and values exactly as they were - * received. Only populated at the `'end'` event. - * @since v0.11.6 - */ - rawTrailers: string[]; - /** - * Calls `message.socket.setTimeout(msecs, callback)`. - * @since v0.5.9 - */ - setTimeout(msecs: number, callback?: () => void): this; - /** - * **Only valid for request obtained from {@link Server}.** - * - * The request method as a string. Read only. Examples: `'GET'`, `'DELETE'`. - * @since v0.1.1 - */ - method?: string | undefined; - /** - * **Only valid for request obtained from {@link Server}.** - * - * Request URL string. This contains only the URL that is present in the actual - * HTTP request. Take the following request: - * - * ```http - * GET /status?name=ryan HTTP/1.1 - * Accept: text/plain - * ``` - * - * To parse the URL into its parts: - * - * ```js - * new URL(request.url, `http://${request.headers.host}`); - * ``` - * - * When `request.url` is `'/status?name=ryan'` and `request.headers.host` is`'localhost:3000'`: - * - * ```console - * $ node - * > new URL(request.url, `http://${request.headers.host}`) - * URL { - * href: 'http://localhost:3000/status?name=ryan', - * origin: 'http://localhost:3000', - * protocol: 'http:', - * username: '', - * password: '', - * host: 'localhost:3000', - * hostname: 'localhost', - * port: '3000', - * pathname: '/status', - * search: '?name=ryan', - * searchParams: URLSearchParams { 'name' => 'ryan' }, - * hash: '' - * } - * ``` - * @since v0.1.90 - */ - url?: string | undefined; - /** - * **Only valid for response obtained from {@link ClientRequest}.** - * - * The 3-digit HTTP response status code. E.G. `404`. - * @since v0.1.1 - */ - statusCode?: number | undefined; - /** - * **Only valid for response obtained from {@link ClientRequest}.** - * - * The HTTP response status message (reason phrase). E.G. `OK` or `Internal Server Error`. - * @since v0.11.10 - */ - statusMessage?: string | undefined; - /** - * Calls `destroy()` on the socket that received the `IncomingMessage`. If `error`is provided, an `'error'` event is emitted on the socket and `error` is passed - * as an argument to any listeners on the event. - * @since v0.3.0 - */ - destroy(error?: Error): this; - } - interface AgentOptions extends Partial { - /** - * Keep sockets around in a pool to be used by other requests in the future. Default = false - */ - keepAlive?: boolean | undefined; - /** - * When using HTTP KeepAlive, how often to send TCP KeepAlive packets over sockets being kept alive. Default = 1000. - * Only relevant if keepAlive is set to true. - */ - keepAliveMsecs?: number | undefined; - /** - * Maximum number of sockets to allow per host. Default for Node 0.10 is 5, default for Node 0.12 is Infinity - */ - maxSockets?: number | undefined; - /** - * Maximum number of sockets allowed for all hosts in total. Each request will use a new socket until the maximum is reached. Default: Infinity. - */ - maxTotalSockets?: number | undefined; - /** - * Maximum number of sockets to leave open in a free state. Only relevant if keepAlive is set to true. Default = 256. - */ - maxFreeSockets?: number | undefined; - /** - * Socket timeout in milliseconds. This will set the timeout after the socket is connected. - */ - timeout?: number | undefined; - /** - * Scheduling strategy to apply when picking the next free socket to use. - * @default `lifo` - */ - scheduling?: "fifo" | "lifo" | undefined; - } - /** - * An `Agent` is responsible for managing connection persistence - * and reuse for HTTP clients. It maintains a queue of pending requests - * for a given host and port, reusing a single socket connection for each - * until the queue is empty, at which time the socket is either destroyed - * or put into a pool where it is kept to be used again for requests to the - * same host and port. Whether it is destroyed or pooled depends on the`keepAlive` `option`. - * - * Pooled connections have TCP Keep-Alive enabled for them, but servers may - * still close idle connections, in which case they will be removed from the - * pool and a new connection will be made when a new HTTP request is made for - * that host and port. Servers may also refuse to allow multiple requests - * over the same connection, in which case the connection will have to be - * remade for every request and cannot be pooled. The `Agent` will still make - * the requests to that server, but each one will occur over a new connection. - * - * When a connection is closed by the client or the server, it is removed - * from the pool. Any unused sockets in the pool will be unrefed so as not - * to keep the Node.js process running when there are no outstanding requests. - * (see `socket.unref()`). - * - * It is good practice, to `destroy()` an `Agent` instance when it is no - * longer in use, because unused sockets consume OS resources. - * - * Sockets are removed from an agent when the socket emits either - * a `'close'` event or an `'agentRemove'` event. When intending to keep one - * HTTP request open for a long time without keeping it in the agent, something - * like the following may be done: - * - * ```js - * http.get(options, (res) => { - * // Do stuff - * }).on('socket', (socket) => { - * socket.emit('agentRemove'); - * }); - * ``` - * - * An agent may also be used for an individual request. By providing`{agent: false}` as an option to the `http.get()` or `http.request()`functions, a one-time use `Agent` with default options - * will be used - * for the client connection. - * - * `agent:false`: - * - * ```js - * http.get({ - * hostname: 'localhost', - * port: 80, - * path: '/', - * agent: false, // Create a new agent just for this one request - * }, (res) => { - * // Do stuff with response - * }); - * ``` - * @since v0.3.4 - */ - class Agent extends EventEmitter { - /** - * By default set to 256. For agents with `keepAlive` enabled, this - * sets the maximum number of sockets that will be left open in the free - * state. - * @since v0.11.7 - */ - maxFreeSockets: number; - /** - * By default set to `Infinity`. Determines how many concurrent sockets the agent - * can have open per origin. Origin is the returned value of `agent.getName()`. - * @since v0.3.6 - */ - maxSockets: number; - /** - * By default set to `Infinity`. Determines how many concurrent sockets the agent - * can have open. Unlike `maxSockets`, this parameter applies across all origins. - * @since v14.5.0, v12.19.0 - */ - maxTotalSockets: number; - /** - * An object which contains arrays of sockets currently awaiting use by - * the agent when `keepAlive` is enabled. Do not modify. - * - * Sockets in the `freeSockets` list will be automatically destroyed and - * removed from the array on `'timeout'`. - * @since v0.11.4 - */ - readonly freeSockets: NodeJS.ReadOnlyDict; - /** - * An object which contains arrays of sockets currently in use by the - * agent. Do not modify. - * @since v0.3.6 - */ - readonly sockets: NodeJS.ReadOnlyDict; - /** - * An object which contains queues of requests that have not yet been assigned to - * sockets. Do not modify. - * @since v0.5.9 - */ - readonly requests: NodeJS.ReadOnlyDict; - constructor(opts?: AgentOptions); - /** - * Destroy any sockets that are currently in use by the agent. - * - * It is usually not necessary to do this. However, if using an - * agent with `keepAlive` enabled, then it is best to explicitly shut down - * the agent when it is no longer needed. Otherwise, - * sockets might stay open for quite a long time before the server - * terminates them. - * @since v0.11.4 - */ - destroy(): void; - } - const METHODS: string[]; - const STATUS_CODES: { - [errorCode: number]: string | undefined; - [errorCode: string]: string | undefined; - }; - /** - * Returns a new instance of {@link Server}. - * - * The `requestListener` is a function which is automatically - * added to the `'request'` event. - * - * ```js - * import http from 'node:http'; - * - * // Create a local server to receive data from - * const server = http.createServer((req, res) => { - * res.writeHead(200, { 'Content-Type': 'application/json' }); - * res.end(JSON.stringify({ - * data: 'Hello World!', - * })); - * }); - * - * server.listen(8000); - * ``` - * - * ```js - * import http from 'node:http'; - * - * // Create a local server to receive data from - * const server = http.createServer(); - * - * // Listen to the request event - * server.on('request', (request, res) => { - * res.writeHead(200, { 'Content-Type': 'application/json' }); - * res.end(JSON.stringify({ - * data: 'Hello World!', - * })); - * }); - * - * server.listen(8000); - * ``` - * @since v0.1.13 - */ - function createServer< - Request extends typeof IncomingMessage = typeof IncomingMessage, - Response extends typeof ServerResponse = typeof ServerResponse, - >(requestListener?: RequestListener): Server; - function createServer< - Request extends typeof IncomingMessage = typeof IncomingMessage, - Response extends typeof ServerResponse = typeof ServerResponse, - >( - options: ServerOptions, - requestListener?: RequestListener, - ): Server; - // although RequestOptions are passed as ClientRequestArgs to ClientRequest directly, - // create interface RequestOptions would make the naming more clear to developers - interface RequestOptions extends ClientRequestArgs {} - /** - * `options` in `socket.connect()` are also supported. - * - * Node.js maintains several connections per server to make HTTP requests. - * This function allows one to transparently issue requests. - * - * `url` can be a string or a `URL` object. If `url` is a - * string, it is automatically parsed with `new URL()`. If it is a `URL` object, it will be automatically converted to an ordinary `options` object. - * - * If both `url` and `options` are specified, the objects are merged, with the`options` properties taking precedence. - * - * The optional `callback` parameter will be added as a one-time listener for - * the `'response'` event. - * - * `http.request()` returns an instance of the {@link ClientRequest} class. The `ClientRequest` instance is a writable stream. If one needs to - * upload a file with a POST request, then write to the `ClientRequest` object. - * - * ```js - * import http from 'node:http'; - * import { Buffer } from 'node:buffer'; - * - * const postData = JSON.stringify({ - * 'msg': 'Hello World!', - * }); - * - * const options = { - * hostname: 'www.google.com', - * port: 80, - * path: '/upload', - * method: 'POST', - * headers: { - * 'Content-Type': 'application/json', - * 'Content-Length': Buffer.byteLength(postData), - * }, - * }; - * - * const req = http.request(options, (res) => { - * console.log(`STATUS: ${res.statusCode}`); - * console.log(`HEADERS: ${JSON.stringify(res.headers)}`); - * res.setEncoding('utf8'); - * res.on('data', (chunk) => { - * console.log(`BODY: ${chunk}`); - * }); - * res.on('end', () => { - * console.log('No more data in response.'); - * }); - * }); - * - * req.on('error', (e) => { - * console.error(`problem with request: ${e.message}`); - * }); - * - * // Write data to request body - * req.write(postData); - * req.end(); - * ``` - * - * In the example `req.end()` was called. With `http.request()` one - * must always call `req.end()` to signify the end of the request - - * even if there is no data being written to the request body. - * - * If any error is encountered during the request (be that with DNS resolution, - * TCP level errors, or actual HTTP parse errors) an `'error'` event is emitted - * on the returned request object. As with all `'error'` events, if no listeners - * are registered the error will be thrown. - * - * There are a few special headers that should be noted. - * - * * Sending a 'Connection: keep-alive' will notify Node.js that the connection to - * the server should be persisted until the next request. - * * Sending a 'Content-Length' header will disable the default chunked encoding. - * * Sending an 'Expect' header will immediately send the request headers. - * Usually, when sending 'Expect: 100-continue', both a timeout and a listener - * for the `'continue'` event should be set. See RFC 2616 Section 8.2.3 for more - * information. - * * Sending an Authorization header will override using the `auth` option - * to compute basic authentication. - * - * Example using a `URL` as `options`: - * - * ```js - * const options = new URL('http://abc:xyz@example.com'); - * - * const req = http.request(options, (res) => { - * // ... - * }); - * ``` - * - * In a successful request, the following events will be emitted in the following - * order: - * - * * `'socket'` - * * `'response'` - * * `'data'` any number of times, on the `res` object - * (`'data'` will not be emitted at all if the response body is empty, for - * instance, in most redirects) - * * `'end'` on the `res` object - * * `'close'` - * - * In the case of a connection error, the following events will be emitted: - * - * * `'socket'` - * * `'error'` - * * `'close'` - * - * In the case of a premature connection close before the response is received, - * the following events will be emitted in the following order: - * - * * `'socket'` - * * `'error'` with an error with message `'Error: socket hang up'` and code`'ECONNRESET'` - * * `'close'` - * - * In the case of a premature connection close after the response is received, - * the following events will be emitted in the following order: - * - * * `'socket'` - * * `'response'` - * * `'data'` any number of times, on the `res` object - * * (connection closed here) - * * `'aborted'` on the `res` object - * * `'error'` on the `res` object with an error with message`'Error: aborted'` and code `'ECONNRESET'` - * * `'close'` - * * `'close'` on the `res` object - * - * If `req.destroy()` is called before a socket is assigned, the following - * events will be emitted in the following order: - * - * * (`req.destroy()` called here) - * * `'error'` with an error with message `'Error: socket hang up'` and code`'ECONNRESET'`, or the error with which `req.destroy()` was called - * * `'close'` - * - * If `req.destroy()` is called before the connection succeeds, the following - * events will be emitted in the following order: - * - * * `'socket'` - * * (`req.destroy()` called here) - * * `'error'` with an error with message `'Error: socket hang up'` and code`'ECONNRESET'`, or the error with which `req.destroy()` was called - * * `'close'` - * - * If `req.destroy()` is called after the response is received, the following - * events will be emitted in the following order: - * - * * `'socket'` - * * `'response'` - * * `'data'` any number of times, on the `res` object - * * (`req.destroy()` called here) - * * `'aborted'` on the `res` object - * * `'error'` on the `res` object with an error with message `'Error: aborted'`and code `'ECONNRESET'`, or the error with which `req.destroy()` was called - * * `'close'` - * * `'close'` on the `res` object - * - * If `req.abort()` is called before a socket is assigned, the following - * events will be emitted in the following order: - * - * * (`req.abort()` called here) - * * `'abort'` - * * `'close'` - * - * If `req.abort()` is called before the connection succeeds, the following - * events will be emitted in the following order: - * - * * `'socket'` - * * (`req.abort()` called here) - * * `'abort'` - * * `'error'` with an error with message `'Error: socket hang up'` and code`'ECONNRESET'` - * * `'close'` - * - * If `req.abort()` is called after the response is received, the following - * events will be emitted in the following order: - * - * * `'socket'` - * * `'response'` - * * `'data'` any number of times, on the `res` object - * * (`req.abort()` called here) - * * `'abort'` - * * `'aborted'` on the `res` object - * * `'error'` on the `res` object with an error with message`'Error: aborted'` and code `'ECONNRESET'`. - * * `'close'` - * * `'close'` on the `res` object - * - * Setting the `timeout` option or using the `setTimeout()` function will - * not abort the request or do anything besides add a `'timeout'` event. - * - * Passing an `AbortSignal` and then calling `abort()` on the corresponding`AbortController` will behave the same way as calling `.destroy()` on the - * request. Specifically, the `'error'` event will be emitted with an error with - * the message `'AbortError: The operation was aborted'`, the code `'ABORT_ERR'`and the `cause`, if one was provided. - * @since v0.3.6 - */ - function request(options: RequestOptions | string | URL, callback?: (res: IncomingMessage) => void): ClientRequest; - function request( - url: string | URL, - options: RequestOptions, - callback?: (res: IncomingMessage) => void, - ): ClientRequest; - /** - * Since most requests are GET requests without bodies, Node.js provides this - * convenience method. The only difference between this method and {@link request} is that it sets the method to GET by default and calls `req.end()`automatically. The callback must take care to - * consume the response - * data for reasons stated in {@link ClientRequest} section. - * - * The `callback` is invoked with a single argument that is an instance of {@link IncomingMessage}. - * - * JSON fetching example: - * - * ```js - * http.get('http://localhost:8000/', (res) => { - * const { statusCode } = res; - * const contentType = res.headers['content-type']; - * - * let error; - * // Any 2xx status code signals a successful response but - * // here we're only checking for 200. - * if (statusCode !== 200) { - * error = new Error('Request Failed.\n' + - * `Status Code: ${statusCode}`); - * } else if (!/^application\/json/.test(contentType)) { - * error = new Error('Invalid content-type.\n' + - * `Expected application/json but received ${contentType}`); - * } - * if (error) { - * console.error(error.message); - * // Consume response data to free up memory - * res.resume(); - * return; - * } - * - * res.setEncoding('utf8'); - * let rawData = ''; - * res.on('data', (chunk) => { rawData += chunk; }); - * res.on('end', () => { - * try { - * const parsedData = JSON.parse(rawData); - * console.log(parsedData); - * } catch (e) { - * console.error(e.message); - * } - * }); - * }).on('error', (e) => { - * console.error(`Got error: ${e.message}`); - * }); - * - * // Create a local server to receive data from - * const server = http.createServer((req, res) => { - * res.writeHead(200, { 'Content-Type': 'application/json' }); - * res.end(JSON.stringify({ - * data: 'Hello World!', - * })); - * }); - * - * server.listen(8000); - * ``` - * @since v0.3.6 - * @param options Accepts the same `options` as {@link request}, with the method set to GET by default. - */ - function get(options: RequestOptions | string | URL, callback?: (res: IncomingMessage) => void): ClientRequest; - function get(url: string | URL, options: RequestOptions, callback?: (res: IncomingMessage) => void): ClientRequest; - /** - * Performs the low-level validations on the provided `name` that are done when`res.setHeader(name, value)` is called. - * - * Passing illegal value as `name` will result in a `TypeError` being thrown, - * identified by `code: 'ERR_INVALID_HTTP_TOKEN'`. - * - * It is not necessary to use this method before passing headers to an HTTP request - * or response. The HTTP module will automatically validate such headers. - * - * Example: - * - * ```js - * import { validateHeaderName } from 'node:http'; - * - * try { - * validateHeaderName(''); - * } catch (err) { - * console.error(err instanceof TypeError); // --> true - * console.error(err.code); // --> 'ERR_INVALID_HTTP_TOKEN' - * console.error(err.message); // --> 'Header name must be a valid HTTP token [""]' - * } - * ``` - * @since v14.3.0 - * @param [label='Header name'] Label for error message. - */ - function validateHeaderName(name: string): void; - /** - * Performs the low-level validations on the provided `value` that are done when`res.setHeader(name, value)` is called. - * - * Passing illegal value as `value` will result in a `TypeError` being thrown. - * - * * Undefined value error is identified by `code: 'ERR_HTTP_INVALID_HEADER_VALUE'`. - * * Invalid value character error is identified by `code: 'ERR_INVALID_CHAR'`. - * - * It is not necessary to use this method before passing headers to an HTTP request - * or response. The HTTP module will automatically validate such headers. - * - * Examples: - * - * ```js - * import { validateHeaderValue } from 'node:http'; - * - * try { - * validateHeaderValue('x-my-header', undefined); - * } catch (err) { - * console.error(err instanceof TypeError); // --> true - * console.error(err.code === 'ERR_HTTP_INVALID_HEADER_VALUE'); // --> true - * console.error(err.message); // --> 'Invalid value "undefined" for header "x-my-header"' - * } - * - * try { - * validateHeaderValue('x-my-header', 'oʊmɪɡə'); - * } catch (err) { - * console.error(err instanceof TypeError); // --> true - * console.error(err.code === 'ERR_INVALID_CHAR'); // --> true - * console.error(err.message); // --> 'Invalid character in header content ["x-my-header"]' - * } - * ``` - * @since v14.3.0 - * @param name Header name - * @param value Header value - */ - function validateHeaderValue(name: string, value: string): void; - /** - * Set the maximum number of idle HTTP parsers. - * @since v18.8.0, v16.18.0 - * @param [max=1000] - */ - function setMaxIdleHTTPParsers(max: number): void; - let globalAgent: Agent; - /** - * Read-only property specifying the maximum allowed size of HTTP headers in bytes. - * Defaults to 16KB. Configurable using the `--max-http-header-size` CLI option. - */ - const maxHeaderSize: number; -} -declare module "node:http" { - export * from "http"; -} diff --git a/node_modules/@types/node/ts4.8/http2.d.ts b/node_modules/@types/node/ts4.8/http2.d.ts deleted file mode 100644 index c3b3e8e..0000000 --- a/node_modules/@types/node/ts4.8/http2.d.ts +++ /dev/null @@ -1,2382 +0,0 @@ -/** - * The `node:http2` module provides an implementation of the [HTTP/2](https://tools.ietf.org/html/rfc7540) protocol. - * It can be accessed using: - * - * ```js - * const http2 = require('node:http2'); - * ``` - * @since v8.4.0 - * @see [source](https://github.com/nodejs/node/blob/v20.2.0/lib/http2.js) - */ -declare module "http2" { - import EventEmitter = require("node:events"); - import * as fs from "node:fs"; - import * as net from "node:net"; - import * as stream from "node:stream"; - import * as tls from "node:tls"; - import * as url from "node:url"; - import { - IncomingHttpHeaders as Http1IncomingHttpHeaders, - IncomingMessage, - OutgoingHttpHeaders, - ServerResponse, - } from "node:http"; - export { OutgoingHttpHeaders } from "node:http"; - export interface IncomingHttpStatusHeader { - ":status"?: number | undefined; - } - export interface IncomingHttpHeaders extends Http1IncomingHttpHeaders { - ":path"?: string | undefined; - ":method"?: string | undefined; - ":authority"?: string | undefined; - ":scheme"?: string | undefined; - } - // Http2Stream - export interface StreamPriorityOptions { - exclusive?: boolean | undefined; - parent?: number | undefined; - weight?: number | undefined; - silent?: boolean | undefined; - } - export interface StreamState { - localWindowSize?: number | undefined; - state?: number | undefined; - localClose?: number | undefined; - remoteClose?: number | undefined; - sumDependencyWeight?: number | undefined; - weight?: number | undefined; - } - export interface ServerStreamResponseOptions { - endStream?: boolean | undefined; - waitForTrailers?: boolean | undefined; - } - export interface StatOptions { - offset: number; - length: number; - } - export interface ServerStreamFileResponseOptions { - // eslint-disable-next-line @typescript-eslint/no-invalid-void-type - statCheck?(stats: fs.Stats, headers: OutgoingHttpHeaders, statOptions: StatOptions): void | boolean; - waitForTrailers?: boolean | undefined; - offset?: number | undefined; - length?: number | undefined; - } - export interface ServerStreamFileResponseOptionsWithError extends ServerStreamFileResponseOptions { - onError?(err: NodeJS.ErrnoException): void; - } - export interface Http2Stream extends stream.Duplex { - /** - * Set to `true` if the `Http2Stream` instance was aborted abnormally. When set, - * the `'aborted'` event will have been emitted. - * @since v8.4.0 - */ - readonly aborted: boolean; - /** - * This property shows the number of characters currently buffered to be written. - * See `net.Socket.bufferSize` for details. - * @since v11.2.0, v10.16.0 - */ - readonly bufferSize: number; - /** - * Set to `true` if the `Http2Stream` instance has been closed. - * @since v9.4.0 - */ - readonly closed: boolean; - /** - * Set to `true` if the `Http2Stream` instance has been destroyed and is no longer - * usable. - * @since v8.4.0 - */ - readonly destroyed: boolean; - /** - * Set to `true` if the `END_STREAM` flag was set in the request or response - * HEADERS frame received, indicating that no additional data should be received - * and the readable side of the `Http2Stream` will be closed. - * @since v10.11.0 - */ - readonly endAfterHeaders: boolean; - /** - * The numeric stream identifier of this `Http2Stream` instance. Set to `undefined`if the stream identifier has not yet been assigned. - * @since v8.4.0 - */ - readonly id?: number | undefined; - /** - * Set to `true` if the `Http2Stream` instance has not yet been assigned a - * numeric stream identifier. - * @since v9.4.0 - */ - readonly pending: boolean; - /** - * Set to the `RST_STREAM` `error code` reported when the `Http2Stream` is - * destroyed after either receiving an `RST_STREAM` frame from the connected peer, - * calling `http2stream.close()`, or `http2stream.destroy()`. Will be`undefined` if the `Http2Stream` has not been closed. - * @since v8.4.0 - */ - readonly rstCode: number; - /** - * An object containing the outbound headers sent for this `Http2Stream`. - * @since v9.5.0 - */ - readonly sentHeaders: OutgoingHttpHeaders; - /** - * An array of objects containing the outbound informational (additional) headers - * sent for this `Http2Stream`. - * @since v9.5.0 - */ - readonly sentInfoHeaders?: OutgoingHttpHeaders[] | undefined; - /** - * An object containing the outbound trailers sent for this `HttpStream`. - * @since v9.5.0 - */ - readonly sentTrailers?: OutgoingHttpHeaders | undefined; - /** - * A reference to the `Http2Session` instance that owns this `Http2Stream`. The - * value will be `undefined` after the `Http2Stream` instance is destroyed. - * @since v8.4.0 - */ - readonly session: Http2Session | undefined; - /** - * Provides miscellaneous information about the current state of the`Http2Stream`. - * - * A current state of this `Http2Stream`. - * @since v8.4.0 - */ - readonly state: StreamState; - /** - * Closes the `Http2Stream` instance by sending an `RST_STREAM` frame to the - * connected HTTP/2 peer. - * @since v8.4.0 - * @param [code=http2.constants.NGHTTP2_NO_ERROR] Unsigned 32-bit integer identifying the error code. - * @param callback An optional function registered to listen for the `'close'` event. - */ - close(code?: number, callback?: () => void): void; - /** - * Updates the priority for this `Http2Stream` instance. - * @since v8.4.0 - */ - priority(options: StreamPriorityOptions): void; - /** - * ```js - * const http2 = require('node:http2'); - * const client = http2.connect('http://example.org:8000'); - * const { NGHTTP2_CANCEL } = http2.constants; - * const req = client.request({ ':path': '/' }); - * - * // Cancel the stream if there's no activity after 5 seconds - * req.setTimeout(5000, () => req.close(NGHTTP2_CANCEL)); - * ``` - * @since v8.4.0 - */ - setTimeout(msecs: number, callback?: () => void): void; - /** - * Sends a trailing `HEADERS` frame to the connected HTTP/2 peer. This method - * will cause the `Http2Stream` to be immediately closed and must only be - * called after the `'wantTrailers'` event has been emitted. When sending a - * request or sending a response, the `options.waitForTrailers` option must be set - * in order to keep the `Http2Stream` open after the final `DATA` frame so that - * trailers can be sent. - * - * ```js - * const http2 = require('node:http2'); - * const server = http2.createServer(); - * server.on('stream', (stream) => { - * stream.respond(undefined, { waitForTrailers: true }); - * stream.on('wantTrailers', () => { - * stream.sendTrailers({ xyz: 'abc' }); - * }); - * stream.end('Hello World'); - * }); - * ``` - * - * The HTTP/1 specification forbids trailers from containing HTTP/2 pseudo-header - * fields (e.g. `':method'`, `':path'`, etc). - * @since v10.0.0 - */ - sendTrailers(headers: OutgoingHttpHeaders): void; - addListener(event: "aborted", listener: () => void): this; - addListener(event: "close", listener: () => void): this; - addListener(event: "data", listener: (chunk: Buffer | string) => void): this; - addListener(event: "drain", listener: () => void): this; - addListener(event: "end", listener: () => void): this; - addListener(event: "error", listener: (err: Error) => void): this; - addListener(event: "finish", listener: () => void): this; - addListener(event: "frameError", listener: (frameType: number, errorCode: number) => void): this; - addListener(event: "pipe", listener: (src: stream.Readable) => void): this; - addListener(event: "unpipe", listener: (src: stream.Readable) => void): this; - addListener(event: "streamClosed", listener: (code: number) => void): this; - addListener(event: "timeout", listener: () => void): this; - addListener(event: "trailers", listener: (trailers: IncomingHttpHeaders, flags: number) => void): this; - addListener(event: "wantTrailers", listener: () => void): this; - addListener(event: string | symbol, listener: (...args: any[]) => void): this; - emit(event: "aborted"): boolean; - emit(event: "close"): boolean; - emit(event: "data", chunk: Buffer | string): boolean; - emit(event: "drain"): boolean; - emit(event: "end"): boolean; - emit(event: "error", err: Error): boolean; - emit(event: "finish"): boolean; - emit(event: "frameError", frameType: number, errorCode: number): boolean; - emit(event: "pipe", src: stream.Readable): boolean; - emit(event: "unpipe", src: stream.Readable): boolean; - emit(event: "streamClosed", code: number): boolean; - emit(event: "timeout"): boolean; - emit(event: "trailers", trailers: IncomingHttpHeaders, flags: number): boolean; - emit(event: "wantTrailers"): boolean; - emit(event: string | symbol, ...args: any[]): boolean; - on(event: "aborted", listener: () => void): this; - on(event: "close", listener: () => void): this; - on(event: "data", listener: (chunk: Buffer | string) => void): this; - on(event: "drain", listener: () => void): this; - on(event: "end", listener: () => void): this; - on(event: "error", listener: (err: Error) => void): this; - on(event: "finish", listener: () => void): this; - on(event: "frameError", listener: (frameType: number, errorCode: number) => void): this; - on(event: "pipe", listener: (src: stream.Readable) => void): this; - on(event: "unpipe", listener: (src: stream.Readable) => void): this; - on(event: "streamClosed", listener: (code: number) => void): this; - on(event: "timeout", listener: () => void): this; - on(event: "trailers", listener: (trailers: IncomingHttpHeaders, flags: number) => void): this; - on(event: "wantTrailers", listener: () => void): this; - on(event: string | symbol, listener: (...args: any[]) => void): this; - once(event: "aborted", listener: () => void): this; - once(event: "close", listener: () => void): this; - once(event: "data", listener: (chunk: Buffer | string) => void): this; - once(event: "drain", listener: () => void): this; - once(event: "end", listener: () => void): this; - once(event: "error", listener: (err: Error) => void): this; - once(event: "finish", listener: () => void): this; - once(event: "frameError", listener: (frameType: number, errorCode: number) => void): this; - once(event: "pipe", listener: (src: stream.Readable) => void): this; - once(event: "unpipe", listener: (src: stream.Readable) => void): this; - once(event: "streamClosed", listener: (code: number) => void): this; - once(event: "timeout", listener: () => void): this; - once(event: "trailers", listener: (trailers: IncomingHttpHeaders, flags: number) => void): this; - once(event: "wantTrailers", listener: () => void): this; - once(event: string | symbol, listener: (...args: any[]) => void): this; - prependListener(event: "aborted", listener: () => void): this; - prependListener(event: "close", listener: () => void): this; - prependListener(event: "data", listener: (chunk: Buffer | string) => void): this; - prependListener(event: "drain", listener: () => void): this; - prependListener(event: "end", listener: () => void): this; - prependListener(event: "error", listener: (err: Error) => void): this; - prependListener(event: "finish", listener: () => void): this; - prependListener(event: "frameError", listener: (frameType: number, errorCode: number) => void): this; - prependListener(event: "pipe", listener: (src: stream.Readable) => void): this; - prependListener(event: "unpipe", listener: (src: stream.Readable) => void): this; - prependListener(event: "streamClosed", listener: (code: number) => void): this; - prependListener(event: "timeout", listener: () => void): this; - prependListener(event: "trailers", listener: (trailers: IncomingHttpHeaders, flags: number) => void): this; - prependListener(event: "wantTrailers", listener: () => void): this; - prependListener(event: string | symbol, listener: (...args: any[]) => void): this; - prependOnceListener(event: "aborted", listener: () => void): this; - prependOnceListener(event: "close", listener: () => void): this; - prependOnceListener(event: "data", listener: (chunk: Buffer | string) => void): this; - prependOnceListener(event: "drain", listener: () => void): this; - prependOnceListener(event: "end", listener: () => void): this; - prependOnceListener(event: "error", listener: (err: Error) => void): this; - prependOnceListener(event: "finish", listener: () => void): this; - prependOnceListener(event: "frameError", listener: (frameType: number, errorCode: number) => void): this; - prependOnceListener(event: "pipe", listener: (src: stream.Readable) => void): this; - prependOnceListener(event: "unpipe", listener: (src: stream.Readable) => void): this; - prependOnceListener(event: "streamClosed", listener: (code: number) => void): this; - prependOnceListener(event: "timeout", listener: () => void): this; - prependOnceListener(event: "trailers", listener: (trailers: IncomingHttpHeaders, flags: number) => void): this; - prependOnceListener(event: "wantTrailers", listener: () => void): this; - prependOnceListener(event: string | symbol, listener: (...args: any[]) => void): this; - } - export interface ClientHttp2Stream extends Http2Stream { - addListener(event: "continue", listener: () => {}): this; - addListener( - event: "headers", - listener: (headers: IncomingHttpHeaders & IncomingHttpStatusHeader, flags: number) => void, - ): this; - addListener(event: "push", listener: (headers: IncomingHttpHeaders, flags: number) => void): this; - addListener( - event: "response", - listener: (headers: IncomingHttpHeaders & IncomingHttpStatusHeader, flags: number) => void, - ): this; - addListener(event: string | symbol, listener: (...args: any[]) => void): this; - emit(event: "continue"): boolean; - emit(event: "headers", headers: IncomingHttpHeaders & IncomingHttpStatusHeader, flags: number): boolean; - emit(event: "push", headers: IncomingHttpHeaders, flags: number): boolean; - emit(event: "response", headers: IncomingHttpHeaders & IncomingHttpStatusHeader, flags: number): boolean; - emit(event: string | symbol, ...args: any[]): boolean; - on(event: "continue", listener: () => {}): this; - on( - event: "headers", - listener: (headers: IncomingHttpHeaders & IncomingHttpStatusHeader, flags: number) => void, - ): this; - on(event: "push", listener: (headers: IncomingHttpHeaders, flags: number) => void): this; - on( - event: "response", - listener: (headers: IncomingHttpHeaders & IncomingHttpStatusHeader, flags: number) => void, - ): this; - on(event: string | symbol, listener: (...args: any[]) => void): this; - once(event: "continue", listener: () => {}): this; - once( - event: "headers", - listener: (headers: IncomingHttpHeaders & IncomingHttpStatusHeader, flags: number) => void, - ): this; - once(event: "push", listener: (headers: IncomingHttpHeaders, flags: number) => void): this; - once( - event: "response", - listener: (headers: IncomingHttpHeaders & IncomingHttpStatusHeader, flags: number) => void, - ): this; - once(event: string | symbol, listener: (...args: any[]) => void): this; - prependListener(event: "continue", listener: () => {}): this; - prependListener( - event: "headers", - listener: (headers: IncomingHttpHeaders & IncomingHttpStatusHeader, flags: number) => void, - ): this; - prependListener(event: "push", listener: (headers: IncomingHttpHeaders, flags: number) => void): this; - prependListener( - event: "response", - listener: (headers: IncomingHttpHeaders & IncomingHttpStatusHeader, flags: number) => void, - ): this; - prependListener(event: string | symbol, listener: (...args: any[]) => void): this; - prependOnceListener(event: "continue", listener: () => {}): this; - prependOnceListener( - event: "headers", - listener: (headers: IncomingHttpHeaders & IncomingHttpStatusHeader, flags: number) => void, - ): this; - prependOnceListener(event: "push", listener: (headers: IncomingHttpHeaders, flags: number) => void): this; - prependOnceListener( - event: "response", - listener: (headers: IncomingHttpHeaders & IncomingHttpStatusHeader, flags: number) => void, - ): this; - prependOnceListener(event: string | symbol, listener: (...args: any[]) => void): this; - } - export interface ServerHttp2Stream extends Http2Stream { - /** - * True if headers were sent, false otherwise (read-only). - * @since v8.4.0 - */ - readonly headersSent: boolean; - /** - * Read-only property mapped to the `SETTINGS_ENABLE_PUSH` flag of the remote - * client's most recent `SETTINGS` frame. Will be `true` if the remote peer - * accepts push streams, `false` otherwise. Settings are the same for every`Http2Stream` in the same `Http2Session`. - * @since v8.4.0 - */ - readonly pushAllowed: boolean; - /** - * Sends an additional informational `HEADERS` frame to the connected HTTP/2 peer. - * @since v8.4.0 - */ - additionalHeaders(headers: OutgoingHttpHeaders): void; - /** - * Initiates a push stream. The callback is invoked with the new `Http2Stream`instance created for the push stream passed as the second argument, or an`Error` passed as the first argument. - * - * ```js - * const http2 = require('node:http2'); - * const server = http2.createServer(); - * server.on('stream', (stream) => { - * stream.respond({ ':status': 200 }); - * stream.pushStream({ ':path': '/' }, (err, pushStream, headers) => { - * if (err) throw err; - * pushStream.respond({ ':status': 200 }); - * pushStream.end('some pushed data'); - * }); - * stream.end('some data'); - * }); - * ``` - * - * Setting the weight of a push stream is not allowed in the `HEADERS` frame. Pass - * a `weight` value to `http2stream.priority` with the `silent` option set to`true` to enable server-side bandwidth balancing between concurrent streams. - * - * Calling `http2stream.pushStream()` from within a pushed stream is not permitted - * and will throw an error. - * @since v8.4.0 - * @param callback Callback that is called once the push stream has been initiated. - */ - pushStream( - headers: OutgoingHttpHeaders, - callback?: (err: Error | null, pushStream: ServerHttp2Stream, headers: OutgoingHttpHeaders) => void, - ): void; - pushStream( - headers: OutgoingHttpHeaders, - options?: StreamPriorityOptions, - callback?: (err: Error | null, pushStream: ServerHttp2Stream, headers: OutgoingHttpHeaders) => void, - ): void; - /** - * ```js - * const http2 = require('node:http2'); - * const server = http2.createServer(); - * server.on('stream', (stream) => { - * stream.respond({ ':status': 200 }); - * stream.end('some data'); - * }); - * ``` - * - * Initiates a response. When the `options.waitForTrailers` option is set, the`'wantTrailers'` event will be emitted immediately after queuing the last chunk - * of payload data to be sent. The `http2stream.sendTrailers()` method can then be - * used to sent trailing header fields to the peer. - * - * When `options.waitForTrailers` is set, the `Http2Stream` will not automatically - * close when the final `DATA` frame is transmitted. User code must call either`http2stream.sendTrailers()` or `http2stream.close()` to close the`Http2Stream`. - * - * ```js - * const http2 = require('node:http2'); - * const server = http2.createServer(); - * server.on('stream', (stream) => { - * stream.respond({ ':status': 200 }, { waitForTrailers: true }); - * stream.on('wantTrailers', () => { - * stream.sendTrailers({ ABC: 'some value to send' }); - * }); - * stream.end('some data'); - * }); - * ``` - * @since v8.4.0 - */ - respond(headers?: OutgoingHttpHeaders, options?: ServerStreamResponseOptions): void; - /** - * Initiates a response whose data is read from the given file descriptor. No - * validation is performed on the given file descriptor. If an error occurs while - * attempting to read data using the file descriptor, the `Http2Stream` will be - * closed using an `RST_STREAM` frame using the standard `INTERNAL_ERROR` code. - * - * When used, the `Http2Stream` object's `Duplex` interface will be closed - * automatically. - * - * ```js - * const http2 = require('node:http2'); - * const fs = require('node:fs'); - * - * const server = http2.createServer(); - * server.on('stream', (stream) => { - * const fd = fs.openSync('/some/file', 'r'); - * - * const stat = fs.fstatSync(fd); - * const headers = { - * 'content-length': stat.size, - * 'last-modified': stat.mtime.toUTCString(), - * 'content-type': 'text/plain; charset=utf-8', - * }; - * stream.respondWithFD(fd, headers); - * stream.on('close', () => fs.closeSync(fd)); - * }); - * ``` - * - * The optional `options.statCheck` function may be specified to give user code - * an opportunity to set additional content headers based on the `fs.Stat` details - * of the given fd. If the `statCheck` function is provided, the`http2stream.respondWithFD()` method will perform an `fs.fstat()` call to - * collect details on the provided file descriptor. - * - * The `offset` and `length` options may be used to limit the response to a - * specific range subset. This can be used, for instance, to support HTTP Range - * requests. - * - * The file descriptor or `FileHandle` is not closed when the stream is closed, - * so it will need to be closed manually once it is no longer needed. - * Using the same file descriptor concurrently for multiple streams - * is not supported and may result in data loss. Re-using a file descriptor - * after a stream has finished is supported. - * - * When the `options.waitForTrailers` option is set, the `'wantTrailers'` event - * will be emitted immediately after queuing the last chunk of payload data to be - * sent. The `http2stream.sendTrailers()` method can then be used to sent trailing - * header fields to the peer. - * - * When `options.waitForTrailers` is set, the `Http2Stream` will not automatically - * close when the final `DATA` frame is transmitted. User code _must_ call either`http2stream.sendTrailers()` or `http2stream.close()` to close the`Http2Stream`. - * - * ```js - * const http2 = require('node:http2'); - * const fs = require('node:fs'); - * - * const server = http2.createServer(); - * server.on('stream', (stream) => { - * const fd = fs.openSync('/some/file', 'r'); - * - * const stat = fs.fstatSync(fd); - * const headers = { - * 'content-length': stat.size, - * 'last-modified': stat.mtime.toUTCString(), - * 'content-type': 'text/plain; charset=utf-8', - * }; - * stream.respondWithFD(fd, headers, { waitForTrailers: true }); - * stream.on('wantTrailers', () => { - * stream.sendTrailers({ ABC: 'some value to send' }); - * }); - * - * stream.on('close', () => fs.closeSync(fd)); - * }); - * ``` - * @since v8.4.0 - * @param fd A readable file descriptor. - */ - respondWithFD( - fd: number | fs.promises.FileHandle, - headers?: OutgoingHttpHeaders, - options?: ServerStreamFileResponseOptions, - ): void; - /** - * Sends a regular file as the response. The `path` must specify a regular file - * or an `'error'` event will be emitted on the `Http2Stream` object. - * - * When used, the `Http2Stream` object's `Duplex` interface will be closed - * automatically. - * - * The optional `options.statCheck` function may be specified to give user code - * an opportunity to set additional content headers based on the `fs.Stat` details - * of the given file: - * - * If an error occurs while attempting to read the file data, the `Http2Stream`will be closed using an `RST_STREAM` frame using the standard `INTERNAL_ERROR`code. If the `onError` callback is - * defined, then it will be called. Otherwise - * the stream will be destroyed. - * - * Example using a file path: - * - * ```js - * const http2 = require('node:http2'); - * const server = http2.createServer(); - * server.on('stream', (stream) => { - * function statCheck(stat, headers) { - * headers['last-modified'] = stat.mtime.toUTCString(); - * } - * - * function onError(err) { - * // stream.respond() can throw if the stream has been destroyed by - * // the other side. - * try { - * if (err.code === 'ENOENT') { - * stream.respond({ ':status': 404 }); - * } else { - * stream.respond({ ':status': 500 }); - * } - * } catch (err) { - * // Perform actual error handling. - * console.error(err); - * } - * stream.end(); - * } - * - * stream.respondWithFile('/some/file', - * { 'content-type': 'text/plain; charset=utf-8' }, - * { statCheck, onError }); - * }); - * ``` - * - * The `options.statCheck` function may also be used to cancel the send operation - * by returning `false`. For instance, a conditional request may check the stat - * results to determine if the file has been modified to return an appropriate`304` response: - * - * ```js - * const http2 = require('node:http2'); - * const server = http2.createServer(); - * server.on('stream', (stream) => { - * function statCheck(stat, headers) { - * // Check the stat here... - * stream.respond({ ':status': 304 }); - * return false; // Cancel the send operation - * } - * stream.respondWithFile('/some/file', - * { 'content-type': 'text/plain; charset=utf-8' }, - * { statCheck }); - * }); - * ``` - * - * The `content-length` header field will be automatically set. - * - * The `offset` and `length` options may be used to limit the response to a - * specific range subset. This can be used, for instance, to support HTTP Range - * requests. - * - * The `options.onError` function may also be used to handle all the errors - * that could happen before the delivery of the file is initiated. The - * default behavior is to destroy the stream. - * - * When the `options.waitForTrailers` option is set, the `'wantTrailers'` event - * will be emitted immediately after queuing the last chunk of payload data to be - * sent. The `http2stream.sendTrailers()` method can then be used to sent trailing - * header fields to the peer. - * - * When `options.waitForTrailers` is set, the `Http2Stream` will not automatically - * close when the final `DATA` frame is transmitted. User code must call either`http2stream.sendTrailers()` or `http2stream.close()` to close the`Http2Stream`. - * - * ```js - * const http2 = require('node:http2'); - * const server = http2.createServer(); - * server.on('stream', (stream) => { - * stream.respondWithFile('/some/file', - * { 'content-type': 'text/plain; charset=utf-8' }, - * { waitForTrailers: true }); - * stream.on('wantTrailers', () => { - * stream.sendTrailers({ ABC: 'some value to send' }); - * }); - * }); - * ``` - * @since v8.4.0 - */ - respondWithFile( - path: string, - headers?: OutgoingHttpHeaders, - options?: ServerStreamFileResponseOptionsWithError, - ): void; - } - // Http2Session - export interface Settings { - headerTableSize?: number | undefined; - enablePush?: boolean | undefined; - initialWindowSize?: number | undefined; - maxFrameSize?: number | undefined; - maxConcurrentStreams?: number | undefined; - maxHeaderListSize?: number | undefined; - enableConnectProtocol?: boolean | undefined; - } - export interface ClientSessionRequestOptions { - endStream?: boolean | undefined; - exclusive?: boolean | undefined; - parent?: number | undefined; - weight?: number | undefined; - waitForTrailers?: boolean | undefined; - signal?: AbortSignal | undefined; - } - export interface SessionState { - effectiveLocalWindowSize?: number | undefined; - effectiveRecvDataLength?: number | undefined; - nextStreamID?: number | undefined; - localWindowSize?: number | undefined; - lastProcStreamID?: number | undefined; - remoteWindowSize?: number | undefined; - outboundQueueSize?: number | undefined; - deflateDynamicTableSize?: number | undefined; - inflateDynamicTableSize?: number | undefined; - } - export interface Http2Session extends EventEmitter { - /** - * Value will be `undefined` if the `Http2Session` is not yet connected to a - * socket, `h2c` if the `Http2Session` is not connected to a `TLSSocket`, or - * will return the value of the connected `TLSSocket`'s own `alpnProtocol`property. - * @since v9.4.0 - */ - readonly alpnProtocol?: string | undefined; - /** - * Will be `true` if this `Http2Session` instance has been closed, otherwise`false`. - * @since v9.4.0 - */ - readonly closed: boolean; - /** - * Will be `true` if this `Http2Session` instance is still connecting, will be set - * to `false` before emitting `connect` event and/or calling the `http2.connect`callback. - * @since v10.0.0 - */ - readonly connecting: boolean; - /** - * Will be `true` if this `Http2Session` instance has been destroyed and must no - * longer be used, otherwise `false`. - * @since v8.4.0 - */ - readonly destroyed: boolean; - /** - * Value is `undefined` if the `Http2Session` session socket has not yet been - * connected, `true` if the `Http2Session` is connected with a `TLSSocket`, - * and `false` if the `Http2Session` is connected to any other kind of socket - * or stream. - * @since v9.4.0 - */ - readonly encrypted?: boolean | undefined; - /** - * A prototype-less object describing the current local settings of this`Http2Session`. The local settings are local to _this_`Http2Session` instance. - * @since v8.4.0 - */ - readonly localSettings: Settings; - /** - * If the `Http2Session` is connected to a `TLSSocket`, the `originSet` property - * will return an `Array` of origins for which the `Http2Session` may be - * considered authoritative. - * - * The `originSet` property is only available when using a secure TLS connection. - * @since v9.4.0 - */ - readonly originSet?: string[] | undefined; - /** - * Indicates whether the `Http2Session` is currently waiting for acknowledgment of - * a sent `SETTINGS` frame. Will be `true` after calling the`http2session.settings()` method. Will be `false` once all sent `SETTINGS`frames have been acknowledged. - * @since v8.4.0 - */ - readonly pendingSettingsAck: boolean; - /** - * A prototype-less object describing the current remote settings of this`Http2Session`. The remote settings are set by the _connected_ HTTP/2 peer. - * @since v8.4.0 - */ - readonly remoteSettings: Settings; - /** - * Returns a `Proxy` object that acts as a `net.Socket` (or `tls.TLSSocket`) but - * limits available methods to ones safe to use with HTTP/2. - * - * `destroy`, `emit`, `end`, `pause`, `read`, `resume`, and `write` will throw - * an error with code `ERR_HTTP2_NO_SOCKET_MANIPULATION`. See `Http2Session and Sockets` for more information. - * - * `setTimeout` method will be called on this `Http2Session`. - * - * All other interactions will be routed directly to the socket. - * @since v8.4.0 - */ - readonly socket: net.Socket | tls.TLSSocket; - /** - * Provides miscellaneous information about the current state of the`Http2Session`. - * - * An object describing the current status of this `Http2Session`. - * @since v8.4.0 - */ - readonly state: SessionState; - /** - * The `http2session.type` will be equal to`http2.constants.NGHTTP2_SESSION_SERVER` if this `Http2Session` instance is a - * server, and `http2.constants.NGHTTP2_SESSION_CLIENT` if the instance is a - * client. - * @since v8.4.0 - */ - readonly type: number; - /** - * Gracefully closes the `Http2Session`, allowing any existing streams to - * complete on their own and preventing new `Http2Stream` instances from being - * created. Once closed, `http2session.destroy()`_might_ be called if there - * are no open `Http2Stream` instances. - * - * If specified, the `callback` function is registered as a handler for the`'close'` event. - * @since v9.4.0 - */ - close(callback?: () => void): void; - /** - * Immediately terminates the `Http2Session` and the associated `net.Socket` or`tls.TLSSocket`. - * - * Once destroyed, the `Http2Session` will emit the `'close'` event. If `error`is not undefined, an `'error'` event will be emitted immediately before the`'close'` event. - * - * If there are any remaining open `Http2Streams` associated with the`Http2Session`, those will also be destroyed. - * @since v8.4.0 - * @param error An `Error` object if the `Http2Session` is being destroyed due to an error. - * @param code The HTTP/2 error code to send in the final `GOAWAY` frame. If unspecified, and `error` is not undefined, the default is `INTERNAL_ERROR`, otherwise defaults to `NO_ERROR`. - */ - destroy(error?: Error, code?: number): void; - /** - * Transmits a `GOAWAY` frame to the connected peer _without_ shutting down the`Http2Session`. - * @since v9.4.0 - * @param code An HTTP/2 error code - * @param lastStreamID The numeric ID of the last processed `Http2Stream` - * @param opaqueData A `TypedArray` or `DataView` instance containing additional data to be carried within the `GOAWAY` frame. - */ - goaway(code?: number, lastStreamID?: number, opaqueData?: NodeJS.ArrayBufferView): void; - /** - * Sends a `PING` frame to the connected HTTP/2 peer. A `callback` function must - * be provided. The method will return `true` if the `PING` was sent, `false`otherwise. - * - * The maximum number of outstanding (unacknowledged) pings is determined by the`maxOutstandingPings` configuration option. The default maximum is 10. - * - * If provided, the `payload` must be a `Buffer`, `TypedArray`, or `DataView`containing 8 bytes of data that will be transmitted with the `PING` and - * returned with the ping acknowledgment. - * - * The callback will be invoked with three arguments: an error argument that will - * be `null` if the `PING` was successfully acknowledged, a `duration` argument - * that reports the number of milliseconds elapsed since the ping was sent and the - * acknowledgment was received, and a `Buffer` containing the 8-byte `PING`payload. - * - * ```js - * session.ping(Buffer.from('abcdefgh'), (err, duration, payload) => { - * if (!err) { - * console.log(`Ping acknowledged in ${duration} milliseconds`); - * console.log(`With payload '${payload.toString()}'`); - * } - * }); - * ``` - * - * If the `payload` argument is not specified, the default payload will be the - * 64-bit timestamp (little endian) marking the start of the `PING` duration. - * @since v8.9.3 - * @param payload Optional ping payload. - */ - ping(callback: (err: Error | null, duration: number, payload: Buffer) => void): boolean; - ping( - payload: NodeJS.ArrayBufferView, - callback: (err: Error | null, duration: number, payload: Buffer) => void, - ): boolean; - /** - * Calls `ref()` on this `Http2Session`instance's underlying `net.Socket`. - * @since v9.4.0 - */ - ref(): void; - /** - * Sets the local endpoint's window size. - * The `windowSize` is the total window size to set, not - * the delta. - * - * ```js - * const http2 = require('node:http2'); - * - * const server = http2.createServer(); - * const expectedWindowSize = 2 ** 20; - * server.on('connect', (session) => { - * - * // Set local window size to be 2 ** 20 - * session.setLocalWindowSize(expectedWindowSize); - * }); - * ``` - * @since v15.3.0, v14.18.0 - */ - setLocalWindowSize(windowSize: number): void; - /** - * Used to set a callback function that is called when there is no activity on - * the `Http2Session` after `msecs` milliseconds. The given `callback` is - * registered as a listener on the `'timeout'` event. - * @since v8.4.0 - */ - setTimeout(msecs: number, callback?: () => void): void; - /** - * Updates the current local settings for this `Http2Session` and sends a new`SETTINGS` frame to the connected HTTP/2 peer. - * - * Once called, the `http2session.pendingSettingsAck` property will be `true`while the session is waiting for the remote peer to acknowledge the new - * settings. - * - * The new settings will not become effective until the `SETTINGS` acknowledgment - * is received and the `'localSettings'` event is emitted. It is possible to send - * multiple `SETTINGS` frames while acknowledgment is still pending. - * @since v8.4.0 - * @param callback Callback that is called once the session is connected or right away if the session is already connected. - */ - settings( - settings: Settings, - callback?: (err: Error | null, settings: Settings, duration: number) => void, - ): void; - /** - * Calls `unref()` on this `Http2Session`instance's underlying `net.Socket`. - * @since v9.4.0 - */ - unref(): void; - addListener(event: "close", listener: () => void): this; - addListener(event: "error", listener: (err: Error) => void): this; - addListener( - event: "frameError", - listener: (frameType: number, errorCode: number, streamID: number) => void, - ): this; - addListener( - event: "goaway", - listener: (errorCode: number, lastStreamID: number, opaqueData?: Buffer) => void, - ): this; - addListener(event: "localSettings", listener: (settings: Settings) => void): this; - addListener(event: "ping", listener: () => void): this; - addListener(event: "remoteSettings", listener: (settings: Settings) => void): this; - addListener(event: "timeout", listener: () => void): this; - addListener(event: string | symbol, listener: (...args: any[]) => void): this; - emit(event: "close"): boolean; - emit(event: "error", err: Error): boolean; - emit(event: "frameError", frameType: number, errorCode: number, streamID: number): boolean; - emit(event: "goaway", errorCode: number, lastStreamID: number, opaqueData?: Buffer): boolean; - emit(event: "localSettings", settings: Settings): boolean; - emit(event: "ping"): boolean; - emit(event: "remoteSettings", settings: Settings): boolean; - emit(event: "timeout"): boolean; - emit(event: string | symbol, ...args: any[]): boolean; - on(event: "close", listener: () => void): this; - on(event: "error", listener: (err: Error) => void): this; - on(event: "frameError", listener: (frameType: number, errorCode: number, streamID: number) => void): this; - on(event: "goaway", listener: (errorCode: number, lastStreamID: number, opaqueData?: Buffer) => void): this; - on(event: "localSettings", listener: (settings: Settings) => void): this; - on(event: "ping", listener: () => void): this; - on(event: "remoteSettings", listener: (settings: Settings) => void): this; - on(event: "timeout", listener: () => void): this; - on(event: string | symbol, listener: (...args: any[]) => void): this; - once(event: "close", listener: () => void): this; - once(event: "error", listener: (err: Error) => void): this; - once(event: "frameError", listener: (frameType: number, errorCode: number, streamID: number) => void): this; - once(event: "goaway", listener: (errorCode: number, lastStreamID: number, opaqueData?: Buffer) => void): this; - once(event: "localSettings", listener: (settings: Settings) => void): this; - once(event: "ping", listener: () => void): this; - once(event: "remoteSettings", listener: (settings: Settings) => void): this; - once(event: "timeout", listener: () => void): this; - once(event: string | symbol, listener: (...args: any[]) => void): this; - prependListener(event: "close", listener: () => void): this; - prependListener(event: "error", listener: (err: Error) => void): this; - prependListener( - event: "frameError", - listener: (frameType: number, errorCode: number, streamID: number) => void, - ): this; - prependListener( - event: "goaway", - listener: (errorCode: number, lastStreamID: number, opaqueData?: Buffer) => void, - ): this; - prependListener(event: "localSettings", listener: (settings: Settings) => void): this; - prependListener(event: "ping", listener: () => void): this; - prependListener(event: "remoteSettings", listener: (settings: Settings) => void): this; - prependListener(event: "timeout", listener: () => void): this; - prependListener(event: string | symbol, listener: (...args: any[]) => void): this; - prependOnceListener(event: "close", listener: () => void): this; - prependOnceListener(event: "error", listener: (err: Error) => void): this; - prependOnceListener( - event: "frameError", - listener: (frameType: number, errorCode: number, streamID: number) => void, - ): this; - prependOnceListener( - event: "goaway", - listener: (errorCode: number, lastStreamID: number, opaqueData?: Buffer) => void, - ): this; - prependOnceListener(event: "localSettings", listener: (settings: Settings) => void): this; - prependOnceListener(event: "ping", listener: () => void): this; - prependOnceListener(event: "remoteSettings", listener: (settings: Settings) => void): this; - prependOnceListener(event: "timeout", listener: () => void): this; - prependOnceListener(event: string | symbol, listener: (...args: any[]) => void): this; - } - export interface ClientHttp2Session extends Http2Session { - /** - * For HTTP/2 Client `Http2Session` instances only, the `http2session.request()`creates and returns an `Http2Stream` instance that can be used to send an - * HTTP/2 request to the connected server. - * - * When a `ClientHttp2Session` is first created, the socket may not yet be - * connected. if `clienthttp2session.request()` is called during this time, the - * actual request will be deferred until the socket is ready to go. - * If the `session` is closed before the actual request be executed, an`ERR_HTTP2_GOAWAY_SESSION` is thrown. - * - * This method is only available if `http2session.type` is equal to`http2.constants.NGHTTP2_SESSION_CLIENT`. - * - * ```js - * const http2 = require('node:http2'); - * const clientSession = http2.connect('https://localhost:1234'); - * const { - * HTTP2_HEADER_PATH, - * HTTP2_HEADER_STATUS, - * } = http2.constants; - * - * const req = clientSession.request({ [HTTP2_HEADER_PATH]: '/' }); - * req.on('response', (headers) => { - * console.log(headers[HTTP2_HEADER_STATUS]); - * req.on('data', (chunk) => { // .. }); - * req.on('end', () => { // .. }); - * }); - * ``` - * - * When the `options.waitForTrailers` option is set, the `'wantTrailers'` event - * is emitted immediately after queuing the last chunk of payload data to be sent. - * The `http2stream.sendTrailers()` method can then be called to send trailing - * headers to the peer. - * - * When `options.waitForTrailers` is set, the `Http2Stream` will not automatically - * close when the final `DATA` frame is transmitted. User code must call either`http2stream.sendTrailers()` or `http2stream.close()` to close the`Http2Stream`. - * - * When `options.signal` is set with an `AbortSignal` and then `abort` on the - * corresponding `AbortController` is called, the request will emit an `'error'`event with an `AbortError` error. - * - * The `:method` and `:path` pseudo-headers are not specified within `headers`, - * they respectively default to: - * - * * `:method` \= `'GET'` - * * `:path` \= `/` - * @since v8.4.0 - */ - request(headers?: OutgoingHttpHeaders, options?: ClientSessionRequestOptions): ClientHttp2Stream; - addListener(event: "altsvc", listener: (alt: string, origin: string, stream: number) => void): this; - addListener(event: "origin", listener: (origins: string[]) => void): this; - addListener( - event: "connect", - listener: (session: ClientHttp2Session, socket: net.Socket | tls.TLSSocket) => void, - ): this; - addListener( - event: "stream", - listener: ( - stream: ClientHttp2Stream, - headers: IncomingHttpHeaders & IncomingHttpStatusHeader, - flags: number, - ) => void, - ): this; - addListener(event: string | symbol, listener: (...args: any[]) => void): this; - emit(event: "altsvc", alt: string, origin: string, stream: number): boolean; - emit(event: "origin", origins: readonly string[]): boolean; - emit(event: "connect", session: ClientHttp2Session, socket: net.Socket | tls.TLSSocket): boolean; - emit( - event: "stream", - stream: ClientHttp2Stream, - headers: IncomingHttpHeaders & IncomingHttpStatusHeader, - flags: number, - ): boolean; - emit(event: string | symbol, ...args: any[]): boolean; - on(event: "altsvc", listener: (alt: string, origin: string, stream: number) => void): this; - on(event: "origin", listener: (origins: string[]) => void): this; - on(event: "connect", listener: (session: ClientHttp2Session, socket: net.Socket | tls.TLSSocket) => void): this; - on( - event: "stream", - listener: ( - stream: ClientHttp2Stream, - headers: IncomingHttpHeaders & IncomingHttpStatusHeader, - flags: number, - ) => void, - ): this; - on(event: string | symbol, listener: (...args: any[]) => void): this; - once(event: "altsvc", listener: (alt: string, origin: string, stream: number) => void): this; - once(event: "origin", listener: (origins: string[]) => void): this; - once( - event: "connect", - listener: (session: ClientHttp2Session, socket: net.Socket | tls.TLSSocket) => void, - ): this; - once( - event: "stream", - listener: ( - stream: ClientHttp2Stream, - headers: IncomingHttpHeaders & IncomingHttpStatusHeader, - flags: number, - ) => void, - ): this; - once(event: string | symbol, listener: (...args: any[]) => void): this; - prependListener(event: "altsvc", listener: (alt: string, origin: string, stream: number) => void): this; - prependListener(event: "origin", listener: (origins: string[]) => void): this; - prependListener( - event: "connect", - listener: (session: ClientHttp2Session, socket: net.Socket | tls.TLSSocket) => void, - ): this; - prependListener( - event: "stream", - listener: ( - stream: ClientHttp2Stream, - headers: IncomingHttpHeaders & IncomingHttpStatusHeader, - flags: number, - ) => void, - ): this; - prependListener(event: string | symbol, listener: (...args: any[]) => void): this; - prependOnceListener(event: "altsvc", listener: (alt: string, origin: string, stream: number) => void): this; - prependOnceListener(event: "origin", listener: (origins: string[]) => void): this; - prependOnceListener( - event: "connect", - listener: (session: ClientHttp2Session, socket: net.Socket | tls.TLSSocket) => void, - ): this; - prependOnceListener( - event: "stream", - listener: ( - stream: ClientHttp2Stream, - headers: IncomingHttpHeaders & IncomingHttpStatusHeader, - flags: number, - ) => void, - ): this; - prependOnceListener(event: string | symbol, listener: (...args: any[]) => void): this; - } - export interface AlternativeServiceOptions { - origin: number | string | url.URL; - } - export interface ServerHttp2Session extends Http2Session { - readonly server: Http2Server | Http2SecureServer; - /** - * Submits an `ALTSVC` frame (as defined by [RFC 7838](https://tools.ietf.org/html/rfc7838)) to the connected client. - * - * ```js - * const http2 = require('node:http2'); - * - * const server = http2.createServer(); - * server.on('session', (session) => { - * // Set altsvc for origin https://example.org:80 - * session.altsvc('h2=":8000"', 'https://example.org:80'); - * }); - * - * server.on('stream', (stream) => { - * // Set altsvc for a specific stream - * stream.session.altsvc('h2=":8000"', stream.id); - * }); - * ``` - * - * Sending an `ALTSVC` frame with a specific stream ID indicates that the alternate - * service is associated with the origin of the given `Http2Stream`. - * - * The `alt` and origin string _must_ contain only ASCII bytes and are - * strictly interpreted as a sequence of ASCII bytes. The special value `'clear'`may be passed to clear any previously set alternative service for a given - * domain. - * - * When a string is passed for the `originOrStream` argument, it will be parsed as - * a URL and the origin will be derived. For instance, the origin for the - * HTTP URL `'https://example.org/foo/bar'` is the ASCII string`'https://example.org'`. An error will be thrown if either the given string - * cannot be parsed as a URL or if a valid origin cannot be derived. - * - * A `URL` object, or any object with an `origin` property, may be passed as`originOrStream`, in which case the value of the `origin` property will be - * used. The value of the `origin` property _must_ be a properly serialized - * ASCII origin. - * @since v9.4.0 - * @param alt A description of the alternative service configuration as defined by `RFC 7838`. - * @param originOrStream Either a URL string specifying the origin (or an `Object` with an `origin` property) or the numeric identifier of an active `Http2Stream` as given by the - * `http2stream.id` property. - */ - altsvc(alt: string, originOrStream: number | string | url.URL | AlternativeServiceOptions): void; - /** - * Submits an `ORIGIN` frame (as defined by [RFC 8336](https://tools.ietf.org/html/rfc8336)) to the connected client - * to advertise the set of origins for which the server is capable of providing - * authoritative responses. - * - * ```js - * const http2 = require('node:http2'); - * const options = getSecureOptionsSomehow(); - * const server = http2.createSecureServer(options); - * server.on('stream', (stream) => { - * stream.respond(); - * stream.end('ok'); - * }); - * server.on('session', (session) => { - * session.origin('https://example.com', 'https://example.org'); - * }); - * ``` - * - * When a string is passed as an `origin`, it will be parsed as a URL and the - * origin will be derived. For instance, the origin for the HTTP URL`'https://example.org/foo/bar'` is the ASCII string`'https://example.org'`. An error will be thrown if either the given - * string - * cannot be parsed as a URL or if a valid origin cannot be derived. - * - * A `URL` object, or any object with an `origin` property, may be passed as - * an `origin`, in which case the value of the `origin` property will be - * used. The value of the `origin` property _must_ be a properly serialized - * ASCII origin. - * - * Alternatively, the `origins` option may be used when creating a new HTTP/2 - * server using the `http2.createSecureServer()` method: - * - * ```js - * const http2 = require('node:http2'); - * const options = getSecureOptionsSomehow(); - * options.origins = ['https://example.com', 'https://example.org']; - * const server = http2.createSecureServer(options); - * server.on('stream', (stream) => { - * stream.respond(); - * stream.end('ok'); - * }); - * ``` - * @since v10.12.0 - * @param origins One or more URL Strings passed as separate arguments. - */ - origin( - ...origins: Array< - | string - | url.URL - | { - origin: string; - } - > - ): void; - addListener( - event: "connect", - listener: (session: ServerHttp2Session, socket: net.Socket | tls.TLSSocket) => void, - ): this; - addListener( - event: "stream", - listener: (stream: ServerHttp2Stream, headers: IncomingHttpHeaders, flags: number) => void, - ): this; - addListener(event: string | symbol, listener: (...args: any[]) => void): this; - emit(event: "connect", session: ServerHttp2Session, socket: net.Socket | tls.TLSSocket): boolean; - emit(event: "stream", stream: ServerHttp2Stream, headers: IncomingHttpHeaders, flags: number): boolean; - emit(event: string | symbol, ...args: any[]): boolean; - on(event: "connect", listener: (session: ServerHttp2Session, socket: net.Socket | tls.TLSSocket) => void): this; - on( - event: "stream", - listener: (stream: ServerHttp2Stream, headers: IncomingHttpHeaders, flags: number) => void, - ): this; - on(event: string | symbol, listener: (...args: any[]) => void): this; - once( - event: "connect", - listener: (session: ServerHttp2Session, socket: net.Socket | tls.TLSSocket) => void, - ): this; - once( - event: "stream", - listener: (stream: ServerHttp2Stream, headers: IncomingHttpHeaders, flags: number) => void, - ): this; - once(event: string | symbol, listener: (...args: any[]) => void): this; - prependListener( - event: "connect", - listener: (session: ServerHttp2Session, socket: net.Socket | tls.TLSSocket) => void, - ): this; - prependListener( - event: "stream", - listener: (stream: ServerHttp2Stream, headers: IncomingHttpHeaders, flags: number) => void, - ): this; - prependListener(event: string | symbol, listener: (...args: any[]) => void): this; - prependOnceListener( - event: "connect", - listener: (session: ServerHttp2Session, socket: net.Socket | tls.TLSSocket) => void, - ): this; - prependOnceListener( - event: "stream", - listener: (stream: ServerHttp2Stream, headers: IncomingHttpHeaders, flags: number) => void, - ): this; - prependOnceListener(event: string | symbol, listener: (...args: any[]) => void): this; - } - // Http2Server - export interface SessionOptions { - maxDeflateDynamicTableSize?: number | undefined; - maxSessionMemory?: number | undefined; - maxHeaderListPairs?: number | undefined; - maxOutstandingPings?: number | undefined; - maxSendHeaderBlockLength?: number | undefined; - paddingStrategy?: number | undefined; - peerMaxConcurrentStreams?: number | undefined; - settings?: Settings | undefined; - /** - * Specifies a timeout in milliseconds that - * a server should wait when an [`'unknownProtocol'`][] is emitted. If the - * socket has not been destroyed by that time the server will destroy it. - * @default 100000 - */ - unknownProtocolTimeout?: number | undefined; - selectPadding?(frameLen: number, maxFrameLen: number): number; - } - export interface ClientSessionOptions extends SessionOptions { - maxReservedRemoteStreams?: number | undefined; - createConnection?: ((authority: url.URL, option: SessionOptions) => stream.Duplex) | undefined; - protocol?: "http:" | "https:" | undefined; - } - export interface ServerSessionOptions extends SessionOptions { - Http1IncomingMessage?: typeof IncomingMessage | undefined; - Http1ServerResponse?: typeof ServerResponse | undefined; - Http2ServerRequest?: typeof Http2ServerRequest | undefined; - Http2ServerResponse?: typeof Http2ServerResponse | undefined; - } - export interface SecureClientSessionOptions extends ClientSessionOptions, tls.ConnectionOptions {} - export interface SecureServerSessionOptions extends ServerSessionOptions, tls.TlsOptions {} - export interface ServerOptions extends ServerSessionOptions {} - export interface SecureServerOptions extends SecureServerSessionOptions { - allowHTTP1?: boolean | undefined; - origins?: string[] | undefined; - } - interface HTTP2ServerCommon { - setTimeout(msec?: number, callback?: () => void): this; - /** - * Throws ERR_HTTP2_INVALID_SETTING_VALUE for invalid settings values. - * Throws ERR_INVALID_ARG_TYPE for invalid settings argument. - */ - updateSettings(settings: Settings): void; - } - export interface Http2Server extends net.Server, HTTP2ServerCommon { - addListener( - event: "checkContinue", - listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void, - ): this; - addListener( - event: "request", - listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void, - ): this; - addListener(event: "session", listener: (session: ServerHttp2Session) => void): this; - addListener(event: "sessionError", listener: (err: Error) => void): this; - addListener( - event: "stream", - listener: (stream: ServerHttp2Stream, headers: IncomingHttpHeaders, flags: number) => void, - ): this; - addListener(event: "timeout", listener: () => void): this; - addListener(event: string | symbol, listener: (...args: any[]) => void): this; - emit(event: "checkContinue", request: Http2ServerRequest, response: Http2ServerResponse): boolean; - emit(event: "request", request: Http2ServerRequest, response: Http2ServerResponse): boolean; - emit(event: "session", session: ServerHttp2Session): boolean; - emit(event: "sessionError", err: Error): boolean; - emit(event: "stream", stream: ServerHttp2Stream, headers: IncomingHttpHeaders, flags: number): boolean; - emit(event: "timeout"): boolean; - emit(event: string | symbol, ...args: any[]): boolean; - on( - event: "checkContinue", - listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void, - ): this; - on(event: "request", listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void): this; - on(event: "session", listener: (session: ServerHttp2Session) => void): this; - on(event: "sessionError", listener: (err: Error) => void): this; - on( - event: "stream", - listener: (stream: ServerHttp2Stream, headers: IncomingHttpHeaders, flags: number) => void, - ): this; - on(event: "timeout", listener: () => void): this; - on(event: string | symbol, listener: (...args: any[]) => void): this; - once( - event: "checkContinue", - listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void, - ): this; - once(event: "request", listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void): this; - once(event: "session", listener: (session: ServerHttp2Session) => void): this; - once(event: "sessionError", listener: (err: Error) => void): this; - once( - event: "stream", - listener: (stream: ServerHttp2Stream, headers: IncomingHttpHeaders, flags: number) => void, - ): this; - once(event: "timeout", listener: () => void): this; - once(event: string | symbol, listener: (...args: any[]) => void): this; - prependListener( - event: "checkContinue", - listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void, - ): this; - prependListener( - event: "request", - listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void, - ): this; - prependListener(event: "session", listener: (session: ServerHttp2Session) => void): this; - prependListener(event: "sessionError", listener: (err: Error) => void): this; - prependListener( - event: "stream", - listener: (stream: ServerHttp2Stream, headers: IncomingHttpHeaders, flags: number) => void, - ): this; - prependListener(event: "timeout", listener: () => void): this; - prependListener(event: string | symbol, listener: (...args: any[]) => void): this; - prependOnceListener( - event: "checkContinue", - listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void, - ): this; - prependOnceListener( - event: "request", - listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void, - ): this; - prependOnceListener(event: "session", listener: (session: ServerHttp2Session) => void): this; - prependOnceListener(event: "sessionError", listener: (err: Error) => void): this; - prependOnceListener( - event: "stream", - listener: (stream: ServerHttp2Stream, headers: IncomingHttpHeaders, flags: number) => void, - ): this; - prependOnceListener(event: "timeout", listener: () => void): this; - prependOnceListener(event: string | symbol, listener: (...args: any[]) => void): this; - } - export interface Http2SecureServer extends tls.Server, HTTP2ServerCommon { - addListener( - event: "checkContinue", - listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void, - ): this; - addListener( - event: "request", - listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void, - ): this; - addListener(event: "session", listener: (session: ServerHttp2Session) => void): this; - addListener(event: "sessionError", listener: (err: Error) => void): this; - addListener( - event: "stream", - listener: (stream: ServerHttp2Stream, headers: IncomingHttpHeaders, flags: number) => void, - ): this; - addListener(event: "timeout", listener: () => void): this; - addListener(event: "unknownProtocol", listener: (socket: tls.TLSSocket) => void): this; - addListener(event: string | symbol, listener: (...args: any[]) => void): this; - emit(event: "checkContinue", request: Http2ServerRequest, response: Http2ServerResponse): boolean; - emit(event: "request", request: Http2ServerRequest, response: Http2ServerResponse): boolean; - emit(event: "session", session: ServerHttp2Session): boolean; - emit(event: "sessionError", err: Error): boolean; - emit(event: "stream", stream: ServerHttp2Stream, headers: IncomingHttpHeaders, flags: number): boolean; - emit(event: "timeout"): boolean; - emit(event: "unknownProtocol", socket: tls.TLSSocket): boolean; - emit(event: string | symbol, ...args: any[]): boolean; - on( - event: "checkContinue", - listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void, - ): this; - on(event: "request", listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void): this; - on(event: "session", listener: (session: ServerHttp2Session) => void): this; - on(event: "sessionError", listener: (err: Error) => void): this; - on( - event: "stream", - listener: (stream: ServerHttp2Stream, headers: IncomingHttpHeaders, flags: number) => void, - ): this; - on(event: "timeout", listener: () => void): this; - on(event: "unknownProtocol", listener: (socket: tls.TLSSocket) => void): this; - on(event: string | symbol, listener: (...args: any[]) => void): this; - once( - event: "checkContinue", - listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void, - ): this; - once(event: "request", listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void): this; - once(event: "session", listener: (session: ServerHttp2Session) => void): this; - once(event: "sessionError", listener: (err: Error) => void): this; - once( - event: "stream", - listener: (stream: ServerHttp2Stream, headers: IncomingHttpHeaders, flags: number) => void, - ): this; - once(event: "timeout", listener: () => void): this; - once(event: "unknownProtocol", listener: (socket: tls.TLSSocket) => void): this; - once(event: string | symbol, listener: (...args: any[]) => void): this; - prependListener( - event: "checkContinue", - listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void, - ): this; - prependListener( - event: "request", - listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void, - ): this; - prependListener(event: "session", listener: (session: ServerHttp2Session) => void): this; - prependListener(event: "sessionError", listener: (err: Error) => void): this; - prependListener( - event: "stream", - listener: (stream: ServerHttp2Stream, headers: IncomingHttpHeaders, flags: number) => void, - ): this; - prependListener(event: "timeout", listener: () => void): this; - prependListener(event: "unknownProtocol", listener: (socket: tls.TLSSocket) => void): this; - prependListener(event: string | symbol, listener: (...args: any[]) => void): this; - prependOnceListener( - event: "checkContinue", - listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void, - ): this; - prependOnceListener( - event: "request", - listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void, - ): this; - prependOnceListener(event: "session", listener: (session: ServerHttp2Session) => void): this; - prependOnceListener(event: "sessionError", listener: (err: Error) => void): this; - prependOnceListener( - event: "stream", - listener: (stream: ServerHttp2Stream, headers: IncomingHttpHeaders, flags: number) => void, - ): this; - prependOnceListener(event: "timeout", listener: () => void): this; - prependOnceListener(event: "unknownProtocol", listener: (socket: tls.TLSSocket) => void): this; - prependOnceListener(event: string | symbol, listener: (...args: any[]) => void): this; - } - /** - * A `Http2ServerRequest` object is created by {@link Server} or {@link SecureServer} and passed as the first argument to the `'request'` event. It may be used to access a request status, - * headers, and - * data. - * @since v8.4.0 - */ - export class Http2ServerRequest extends stream.Readable { - constructor( - stream: ServerHttp2Stream, - headers: IncomingHttpHeaders, - options: stream.ReadableOptions, - rawHeaders: readonly string[], - ); - /** - * The `request.aborted` property will be `true` if the request has - * been aborted. - * @since v10.1.0 - */ - readonly aborted: boolean; - /** - * The request authority pseudo header field. Because HTTP/2 allows requests - * to set either `:authority` or `host`, this value is derived from`req.headers[':authority']` if present. Otherwise, it is derived from`req.headers['host']`. - * @since v8.4.0 - */ - readonly authority: string; - /** - * See `request.socket`. - * @since v8.4.0 - * @deprecated Since v13.0.0 - Use `socket`. - */ - readonly connection: net.Socket | tls.TLSSocket; - /** - * The `request.complete` property will be `true` if the request has - * been completed, aborted, or destroyed. - * @since v12.10.0 - */ - readonly complete: boolean; - /** - * The request/response headers object. - * - * Key-value pairs of header names and values. Header names are lower-cased. - * - * ```js - * // Prints something like: - * // - * // { 'user-agent': 'curl/7.22.0', - * // host: '127.0.0.1:8000', - * // accept: '*' } - * console.log(request.headers); - * ``` - * - * See `HTTP/2 Headers Object`. - * - * In HTTP/2, the request path, host name, protocol, and method are represented as - * special headers prefixed with the `:` character (e.g. `':path'`). These special - * headers will be included in the `request.headers` object. Care must be taken not - * to inadvertently modify these special headers or errors may occur. For instance, - * removing all headers from the request will cause errors to occur: - * - * ```js - * removeAllHeaders(request.headers); - * assert(request.url); // Fails because the :path header has been removed - * ``` - * @since v8.4.0 - */ - readonly headers: IncomingHttpHeaders; - /** - * In case of server request, the HTTP version sent by the client. In the case of - * client response, the HTTP version of the connected-to server. Returns`'2.0'`. - * - * Also `message.httpVersionMajor` is the first integer and`message.httpVersionMinor` is the second. - * @since v8.4.0 - */ - readonly httpVersion: string; - readonly httpVersionMinor: number; - readonly httpVersionMajor: number; - /** - * The request method as a string. Read-only. Examples: `'GET'`, `'DELETE'`. - * @since v8.4.0 - */ - readonly method: string; - /** - * The raw request/response headers list exactly as they were received. - * - * The keys and values are in the same list. It is _not_ a - * list of tuples. So, the even-numbered offsets are key values, and the - * odd-numbered offsets are the associated values. - * - * Header names are not lowercased, and duplicates are not merged. - * - * ```js - * // Prints something like: - * // - * // [ 'user-agent', - * // 'this is invalid because there can be only one', - * // 'User-Agent', - * // 'curl/7.22.0', - * // 'Host', - * // '127.0.0.1:8000', - * // 'ACCEPT', - * // '*' ] - * console.log(request.rawHeaders); - * ``` - * @since v8.4.0 - */ - readonly rawHeaders: string[]; - /** - * The raw request/response trailer keys and values exactly as they were - * received. Only populated at the `'end'` event. - * @since v8.4.0 - */ - readonly rawTrailers: string[]; - /** - * The request scheme pseudo header field indicating the scheme - * portion of the target URL. - * @since v8.4.0 - */ - readonly scheme: string; - /** - * Returns a `Proxy` object that acts as a `net.Socket` (or `tls.TLSSocket`) but - * applies getters, setters, and methods based on HTTP/2 logic. - * - * `destroyed`, `readable`, and `writable` properties will be retrieved from and - * set on `request.stream`. - * - * `destroy`, `emit`, `end`, `on` and `once` methods will be called on`request.stream`. - * - * `setTimeout` method will be called on `request.stream.session`. - * - * `pause`, `read`, `resume`, and `write` will throw an error with code`ERR_HTTP2_NO_SOCKET_MANIPULATION`. See `Http2Session and Sockets` for - * more information. - * - * All other interactions will be routed directly to the socket. With TLS support, - * use `request.socket.getPeerCertificate()` to obtain the client's - * authentication details. - * @since v8.4.0 - */ - readonly socket: net.Socket | tls.TLSSocket; - /** - * The `Http2Stream` object backing the request. - * @since v8.4.0 - */ - readonly stream: ServerHttp2Stream; - /** - * The request/response trailers object. Only populated at the `'end'` event. - * @since v8.4.0 - */ - readonly trailers: IncomingHttpHeaders; - /** - * Request URL string. This contains only the URL that is present in the actual - * HTTP request. If the request is: - * - * ```http - * GET /status?name=ryan HTTP/1.1 - * Accept: text/plain - * ``` - * - * Then `request.url` will be: - * - * ```js - * '/status?name=ryan' - * ``` - * - * To parse the url into its parts, `new URL()` can be used: - * - * ```console - * $ node - * > new URL('/status?name=ryan', 'http://example.com') - * URL { - * href: 'http://example.com/status?name=ryan', - * origin: 'http://example.com', - * protocol: 'http:', - * username: '', - * password: '', - * host: 'example.com', - * hostname: 'example.com', - * port: '', - * pathname: '/status', - * search: '?name=ryan', - * searchParams: URLSearchParams { 'name' => 'ryan' }, - * hash: '' - * } - * ``` - * @since v8.4.0 - */ - url: string; - /** - * Sets the `Http2Stream`'s timeout value to `msecs`. If a callback is - * provided, then it is added as a listener on the `'timeout'` event on - * the response object. - * - * If no `'timeout'` listener is added to the request, the response, or - * the server, then `Http2Stream` s are destroyed when they time out. If a - * handler is assigned to the request, the response, or the server's `'timeout'`events, timed out sockets must be handled explicitly. - * @since v8.4.0 - */ - setTimeout(msecs: number, callback?: () => void): void; - read(size?: number): Buffer | string | null; - addListener(event: "aborted", listener: (hadError: boolean, code: number) => void): this; - addListener(event: "close", listener: () => void): this; - addListener(event: "data", listener: (chunk: Buffer | string) => void): this; - addListener(event: "end", listener: () => void): this; - addListener(event: "readable", listener: () => void): this; - addListener(event: "error", listener: (err: Error) => void): this; - addListener(event: string | symbol, listener: (...args: any[]) => void): this; - emit(event: "aborted", hadError: boolean, code: number): boolean; - emit(event: "close"): boolean; - emit(event: "data", chunk: Buffer | string): boolean; - emit(event: "end"): boolean; - emit(event: "readable"): boolean; - emit(event: "error", err: Error): boolean; - emit(event: string | symbol, ...args: any[]): boolean; - on(event: "aborted", listener: (hadError: boolean, code: number) => void): this; - on(event: "close", listener: () => void): this; - on(event: "data", listener: (chunk: Buffer | string) => void): this; - on(event: "end", listener: () => void): this; - on(event: "readable", listener: () => void): this; - on(event: "error", listener: (err: Error) => void): this; - on(event: string | symbol, listener: (...args: any[]) => void): this; - once(event: "aborted", listener: (hadError: boolean, code: number) => void): this; - once(event: "close", listener: () => void): this; - once(event: "data", listener: (chunk: Buffer | string) => void): this; - once(event: "end", listener: () => void): this; - once(event: "readable", listener: () => void): this; - once(event: "error", listener: (err: Error) => void): this; - once(event: string | symbol, listener: (...args: any[]) => void): this; - prependListener(event: "aborted", listener: (hadError: boolean, code: number) => void): this; - prependListener(event: "close", listener: () => void): this; - prependListener(event: "data", listener: (chunk: Buffer | string) => void): this; - prependListener(event: "end", listener: () => void): this; - prependListener(event: "readable", listener: () => void): this; - prependListener(event: "error", listener: (err: Error) => void): this; - prependListener(event: string | symbol, listener: (...args: any[]) => void): this; - prependOnceListener(event: "aborted", listener: (hadError: boolean, code: number) => void): this; - prependOnceListener(event: "close", listener: () => void): this; - prependOnceListener(event: "data", listener: (chunk: Buffer | string) => void): this; - prependOnceListener(event: "end", listener: () => void): this; - prependOnceListener(event: "readable", listener: () => void): this; - prependOnceListener(event: "error", listener: (err: Error) => void): this; - prependOnceListener(event: string | symbol, listener: (...args: any[]) => void): this; - } - /** - * This object is created internally by an HTTP server, not by the user. It is - * passed as the second parameter to the `'request'` event. - * @since v8.4.0 - */ - export class Http2ServerResponse extends stream.Writable { - constructor(stream: ServerHttp2Stream); - /** - * See `response.socket`. - * @since v8.4.0 - * @deprecated Since v13.0.0 - Use `socket`. - */ - readonly connection: net.Socket | tls.TLSSocket; - /** - * Boolean value that indicates whether the response has completed. Starts - * as `false`. After `response.end()` executes, the value will be `true`. - * @since v8.4.0 - * @deprecated Since v13.4.0,v12.16.0 - Use `writableEnded`. - */ - readonly finished: boolean; - /** - * True if headers were sent, false otherwise (read-only). - * @since v8.4.0 - */ - readonly headersSent: boolean; - /** - * A reference to the original HTTP2 `request` object. - * @since v15.7.0 - */ - readonly req: Http2ServerRequest; - /** - * Returns a `Proxy` object that acts as a `net.Socket` (or `tls.TLSSocket`) but - * applies getters, setters, and methods based on HTTP/2 logic. - * - * `destroyed`, `readable`, and `writable` properties will be retrieved from and - * set on `response.stream`. - * - * `destroy`, `emit`, `end`, `on` and `once` methods will be called on`response.stream`. - * - * `setTimeout` method will be called on `response.stream.session`. - * - * `pause`, `read`, `resume`, and `write` will throw an error with code`ERR_HTTP2_NO_SOCKET_MANIPULATION`. See `Http2Session and Sockets` for - * more information. - * - * All other interactions will be routed directly to the socket. - * - * ```js - * const http2 = require('node:http2'); - * const server = http2.createServer((req, res) => { - * const ip = req.socket.remoteAddress; - * const port = req.socket.remotePort; - * res.end(`Your IP address is ${ip} and your source port is ${port}.`); - * }).listen(3000); - * ``` - * @since v8.4.0 - */ - readonly socket: net.Socket | tls.TLSSocket; - /** - * The `Http2Stream` object backing the response. - * @since v8.4.0 - */ - readonly stream: ServerHttp2Stream; - /** - * When true, the Date header will be automatically generated and sent in - * the response if it is not already present in the headers. Defaults to true. - * - * This should only be disabled for testing; HTTP requires the Date header - * in responses. - * @since v8.4.0 - */ - sendDate: boolean; - /** - * When using implicit headers (not calling `response.writeHead()` explicitly), - * this property controls the status code that will be sent to the client when - * the headers get flushed. - * - * ```js - * response.statusCode = 404; - * ``` - * - * After response header was sent to the client, this property indicates the - * status code which was sent out. - * @since v8.4.0 - */ - statusCode: number; - /** - * Status message is not supported by HTTP/2 (RFC 7540 8.1.2.4). It returns - * an empty string. - * @since v8.4.0 - */ - statusMessage: ""; - /** - * This method adds HTTP trailing headers (a header but at the end of the - * message) to the response. - * - * Attempting to set a header field name or value that contains invalid characters - * will result in a `TypeError` being thrown. - * @since v8.4.0 - */ - addTrailers(trailers: OutgoingHttpHeaders): void; - /** - * This method signals to the server that all of the response headers and body - * have been sent; that server should consider this message complete. - * The method, `response.end()`, MUST be called on each response. - * - * If `data` is specified, it is equivalent to calling `response.write(data, encoding)` followed by `response.end(callback)`. - * - * If `callback` is specified, it will be called when the response stream - * is finished. - * @since v8.4.0 - */ - end(callback?: () => void): this; - end(data: string | Uint8Array, callback?: () => void): this; - end(data: string | Uint8Array, encoding: BufferEncoding, callback?: () => void): this; - /** - * Reads out a header that has already been queued but not sent to the client. - * The name is case-insensitive. - * - * ```js - * const contentType = response.getHeader('content-type'); - * ``` - * @since v8.4.0 - */ - getHeader(name: string): string; - /** - * Returns an array containing the unique names of the current outgoing headers. - * All header names are lowercase. - * - * ```js - * response.setHeader('Foo', 'bar'); - * response.setHeader('Set-Cookie', ['foo=bar', 'bar=baz']); - * - * const headerNames = response.getHeaderNames(); - * // headerNames === ['foo', 'set-cookie'] - * ``` - * @since v8.4.0 - */ - getHeaderNames(): string[]; - /** - * Returns a shallow copy of the current outgoing headers. Since a shallow copy - * is used, array values may be mutated without additional calls to various - * header-related http module methods. The keys of the returned object are the - * header names and the values are the respective header values. All header names - * are lowercase. - * - * The object returned by the `response.getHeaders()` method _does not_prototypically inherit from the JavaScript `Object`. This means that typical`Object` methods such as `obj.toString()`, - * `obj.hasOwnProperty()`, and others - * are not defined and _will not work_. - * - * ```js - * response.setHeader('Foo', 'bar'); - * response.setHeader('Set-Cookie', ['foo=bar', 'bar=baz']); - * - * const headers = response.getHeaders(); - * // headers === { foo: 'bar', 'set-cookie': ['foo=bar', 'bar=baz'] } - * ``` - * @since v8.4.0 - */ - getHeaders(): OutgoingHttpHeaders; - /** - * Returns `true` if the header identified by `name` is currently set in the - * outgoing headers. The header name matching is case-insensitive. - * - * ```js - * const hasContentType = response.hasHeader('content-type'); - * ``` - * @since v8.4.0 - */ - hasHeader(name: string): boolean; - /** - * Removes a header that has been queued for implicit sending. - * - * ```js - * response.removeHeader('Content-Encoding'); - * ``` - * @since v8.4.0 - */ - removeHeader(name: string): void; - /** - * Sets a single header value for implicit headers. If this header already exists - * in the to-be-sent headers, its value will be replaced. Use an array of strings - * here to send multiple headers with the same name. - * - * ```js - * response.setHeader('Content-Type', 'text/html; charset=utf-8'); - * ``` - * - * or - * - * ```js - * response.setHeader('Set-Cookie', ['type=ninja', 'language=javascript']); - * ``` - * - * Attempting to set a header field name or value that contains invalid characters - * will result in a `TypeError` being thrown. - * - * When headers have been set with `response.setHeader()`, they will be merged - * with any headers passed to `response.writeHead()`, with the headers passed - * to `response.writeHead()` given precedence. - * - * ```js - * // Returns content-type = text/plain - * const server = http2.createServer((req, res) => { - * res.setHeader('Content-Type', 'text/html; charset=utf-8'); - * res.setHeader('X-Foo', 'bar'); - * res.writeHead(200, { 'Content-Type': 'text/plain; charset=utf-8' }); - * res.end('ok'); - * }); - * ``` - * @since v8.4.0 - */ - setHeader(name: string, value: number | string | readonly string[]): void; - /** - * Sets the `Http2Stream`'s timeout value to `msecs`. If a callback is - * provided, then it is added as a listener on the `'timeout'` event on - * the response object. - * - * If no `'timeout'` listener is added to the request, the response, or - * the server, then `Http2Stream` s are destroyed when they time out. If a - * handler is assigned to the request, the response, or the server's `'timeout'`events, timed out sockets must be handled explicitly. - * @since v8.4.0 - */ - setTimeout(msecs: number, callback?: () => void): void; - /** - * If this method is called and `response.writeHead()` has not been called, - * it will switch to implicit header mode and flush the implicit headers. - * - * This sends a chunk of the response body. This method may - * be called multiple times to provide successive parts of the body. - * - * In the `node:http` module, the response body is omitted when the - * request is a HEAD request. Similarly, the `204` and `304` responses _must not_ include a message body. - * - * `chunk` can be a string or a buffer. If `chunk` is a string, - * the second parameter specifies how to encode it into a byte stream. - * By default the `encoding` is `'utf8'`. `callback` will be called when this chunk - * of data is flushed. - * - * This is the raw HTTP body and has nothing to do with higher-level multi-part - * body encodings that may be used. - * - * The first time `response.write()` is called, it will send the buffered - * header information and the first chunk of the body to the client. The second - * time `response.write()` is called, Node.js assumes data will be streamed, - * and sends the new data separately. That is, the response is buffered up to the - * first chunk of the body. - * - * Returns `true` if the entire data was flushed successfully to the kernel - * buffer. Returns `false` if all or part of the data was queued in user memory.`'drain'` will be emitted when the buffer is free again. - * @since v8.4.0 - */ - write(chunk: string | Uint8Array, callback?: (err: Error) => void): boolean; - write(chunk: string | Uint8Array, encoding: BufferEncoding, callback?: (err: Error) => void): boolean; - /** - * Sends a status `100 Continue` to the client, indicating that the request body - * should be sent. See the `'checkContinue'` event on `Http2Server` and`Http2SecureServer`. - * @since v8.4.0 - */ - writeContinue(): void; - /** - * Sends a status `103 Early Hints` to the client with a Link header, - * indicating that the user agent can preload/preconnect the linked resources. - * The `hints` is an object containing the values of headers to be sent with - * early hints message. - * - * **Example** - * - * ```js - * const earlyHintsLink = '; rel=preload; as=style'; - * response.writeEarlyHints({ - * 'link': earlyHintsLink, - * }); - * - * const earlyHintsLinks = [ - * '; rel=preload; as=style', - * '; rel=preload; as=script', - * ]; - * response.writeEarlyHints({ - * 'link': earlyHintsLinks, - * }); - * ``` - * @since v18.11.0 - */ - writeEarlyHints(hints: Record): void; - /** - * Sends a response header to the request. The status code is a 3-digit HTTP - * status code, like `404`. The last argument, `headers`, are the response headers. - * - * Returns a reference to the `Http2ServerResponse`, so that calls can be chained. - * - * For compatibility with `HTTP/1`, a human-readable `statusMessage` may be - * passed as the second argument. However, because the `statusMessage` has no - * meaning within HTTP/2, the argument will have no effect and a process warning - * will be emitted. - * - * ```js - * const body = 'hello world'; - * response.writeHead(200, { - * 'Content-Length': Buffer.byteLength(body), - * 'Content-Type': 'text/plain; charset=utf-8', - * }); - * ``` - * - * `Content-Length` is given in bytes not characters. The`Buffer.byteLength()` API may be used to determine the number of bytes in a - * given encoding. On outbound messages, Node.js does not check if Content-Length - * and the length of the body being transmitted are equal or not. However, when - * receiving messages, Node.js will automatically reject messages when the`Content-Length` does not match the actual payload size. - * - * This method may be called at most one time on a message before `response.end()` is called. - * - * If `response.write()` or `response.end()` are called before calling - * this, the implicit/mutable headers will be calculated and call this function. - * - * When headers have been set with `response.setHeader()`, they will be merged - * with any headers passed to `response.writeHead()`, with the headers passed - * to `response.writeHead()` given precedence. - * - * ```js - * // Returns content-type = text/plain - * const server = http2.createServer((req, res) => { - * res.setHeader('Content-Type', 'text/html; charset=utf-8'); - * res.setHeader('X-Foo', 'bar'); - * res.writeHead(200, { 'Content-Type': 'text/plain; charset=utf-8' }); - * res.end('ok'); - * }); - * ``` - * - * Attempting to set a header field name or value that contains invalid characters - * will result in a `TypeError` being thrown. - * @since v8.4.0 - */ - writeHead(statusCode: number, headers?: OutgoingHttpHeaders): this; - writeHead(statusCode: number, statusMessage: string, headers?: OutgoingHttpHeaders): this; - /** - * Call `http2stream.pushStream()` with the given headers, and wrap the - * given `Http2Stream` on a newly created `Http2ServerResponse` as the callback - * parameter if successful. When `Http2ServerRequest` is closed, the callback is - * called with an error `ERR_HTTP2_INVALID_STREAM`. - * @since v8.4.0 - * @param headers An object describing the headers - * @param callback Called once `http2stream.pushStream()` is finished, or either when the attempt to create the pushed `Http2Stream` has failed or has been rejected, or the state of - * `Http2ServerRequest` is closed prior to calling the `http2stream.pushStream()` method - */ - createPushResponse( - headers: OutgoingHttpHeaders, - callback: (err: Error | null, res: Http2ServerResponse) => void, - ): void; - addListener(event: "close", listener: () => void): this; - addListener(event: "drain", listener: () => void): this; - addListener(event: "error", listener: (error: Error) => void): this; - addListener(event: "finish", listener: () => void): this; - addListener(event: "pipe", listener: (src: stream.Readable) => void): this; - addListener(event: "unpipe", listener: (src: stream.Readable) => void): this; - addListener(event: string | symbol, listener: (...args: any[]) => void): this; - emit(event: "close"): boolean; - emit(event: "drain"): boolean; - emit(event: "error", error: Error): boolean; - emit(event: "finish"): boolean; - emit(event: "pipe", src: stream.Readable): boolean; - emit(event: "unpipe", src: stream.Readable): boolean; - emit(event: string | symbol, ...args: any[]): boolean; - on(event: "close", listener: () => void): this; - on(event: "drain", listener: () => void): this; - on(event: "error", listener: (error: Error) => void): this; - on(event: "finish", listener: () => void): this; - on(event: "pipe", listener: (src: stream.Readable) => void): this; - on(event: "unpipe", listener: (src: stream.Readable) => void): this; - on(event: string | symbol, listener: (...args: any[]) => void): this; - once(event: "close", listener: () => void): this; - once(event: "drain", listener: () => void): this; - once(event: "error", listener: (error: Error) => void): this; - once(event: "finish", listener: () => void): this; - once(event: "pipe", listener: (src: stream.Readable) => void): this; - once(event: "unpipe", listener: (src: stream.Readable) => void): this; - once(event: string | symbol, listener: (...args: any[]) => void): this; - prependListener(event: "close", listener: () => void): this; - prependListener(event: "drain", listener: () => void): this; - prependListener(event: "error", listener: (error: Error) => void): this; - prependListener(event: "finish", listener: () => void): this; - prependListener(event: "pipe", listener: (src: stream.Readable) => void): this; - prependListener(event: "unpipe", listener: (src: stream.Readable) => void): this; - prependListener(event: string | symbol, listener: (...args: any[]) => void): this; - prependOnceListener(event: "close", listener: () => void): this; - prependOnceListener(event: "drain", listener: () => void): this; - prependOnceListener(event: "error", listener: (error: Error) => void): this; - prependOnceListener(event: "finish", listener: () => void): this; - prependOnceListener(event: "pipe", listener: (src: stream.Readable) => void): this; - prependOnceListener(event: "unpipe", listener: (src: stream.Readable) => void): this; - prependOnceListener(event: string | symbol, listener: (...args: any[]) => void): this; - } - export namespace constants { - const NGHTTP2_SESSION_SERVER: number; - const NGHTTP2_SESSION_CLIENT: number; - const NGHTTP2_STREAM_STATE_IDLE: number; - const NGHTTP2_STREAM_STATE_OPEN: number; - const NGHTTP2_STREAM_STATE_RESERVED_LOCAL: number; - const NGHTTP2_STREAM_STATE_RESERVED_REMOTE: number; - const NGHTTP2_STREAM_STATE_HALF_CLOSED_LOCAL: number; - const NGHTTP2_STREAM_STATE_HALF_CLOSED_REMOTE: number; - const NGHTTP2_STREAM_STATE_CLOSED: number; - const NGHTTP2_NO_ERROR: number; - const NGHTTP2_PROTOCOL_ERROR: number; - const NGHTTP2_INTERNAL_ERROR: number; - const NGHTTP2_FLOW_CONTROL_ERROR: number; - const NGHTTP2_SETTINGS_TIMEOUT: number; - const NGHTTP2_STREAM_CLOSED: number; - const NGHTTP2_FRAME_SIZE_ERROR: number; - const NGHTTP2_REFUSED_STREAM: number; - const NGHTTP2_CANCEL: number; - const NGHTTP2_COMPRESSION_ERROR: number; - const NGHTTP2_CONNECT_ERROR: number; - const NGHTTP2_ENHANCE_YOUR_CALM: number; - const NGHTTP2_INADEQUATE_SECURITY: number; - const NGHTTP2_HTTP_1_1_REQUIRED: number; - const NGHTTP2_ERR_FRAME_SIZE_ERROR: number; - const NGHTTP2_FLAG_NONE: number; - const NGHTTP2_FLAG_END_STREAM: number; - const NGHTTP2_FLAG_END_HEADERS: number; - const NGHTTP2_FLAG_ACK: number; - const NGHTTP2_FLAG_PADDED: number; - const NGHTTP2_FLAG_PRIORITY: number; - const DEFAULT_SETTINGS_HEADER_TABLE_SIZE: number; - const DEFAULT_SETTINGS_ENABLE_PUSH: number; - const DEFAULT_SETTINGS_INITIAL_WINDOW_SIZE: number; - const DEFAULT_SETTINGS_MAX_FRAME_SIZE: number; - const MAX_MAX_FRAME_SIZE: number; - const MIN_MAX_FRAME_SIZE: number; - const MAX_INITIAL_WINDOW_SIZE: number; - const NGHTTP2_DEFAULT_WEIGHT: number; - const NGHTTP2_SETTINGS_HEADER_TABLE_SIZE: number; - const NGHTTP2_SETTINGS_ENABLE_PUSH: number; - const NGHTTP2_SETTINGS_MAX_CONCURRENT_STREAMS: number; - const NGHTTP2_SETTINGS_INITIAL_WINDOW_SIZE: number; - const NGHTTP2_SETTINGS_MAX_FRAME_SIZE: number; - const NGHTTP2_SETTINGS_MAX_HEADER_LIST_SIZE: number; - const PADDING_STRATEGY_NONE: number; - const PADDING_STRATEGY_MAX: number; - const PADDING_STRATEGY_CALLBACK: number; - const HTTP2_HEADER_STATUS: string; - const HTTP2_HEADER_METHOD: string; - const HTTP2_HEADER_AUTHORITY: string; - const HTTP2_HEADER_SCHEME: string; - const HTTP2_HEADER_PATH: string; - const HTTP2_HEADER_ACCEPT_CHARSET: string; - const HTTP2_HEADER_ACCEPT_ENCODING: string; - const HTTP2_HEADER_ACCEPT_LANGUAGE: string; - const HTTP2_HEADER_ACCEPT_RANGES: string; - const HTTP2_HEADER_ACCEPT: string; - const HTTP2_HEADER_ACCESS_CONTROL_ALLOW_ORIGIN: string; - const HTTP2_HEADER_AGE: string; - const HTTP2_HEADER_ALLOW: string; - const HTTP2_HEADER_AUTHORIZATION: string; - const HTTP2_HEADER_CACHE_CONTROL: string; - const HTTP2_HEADER_CONNECTION: string; - const HTTP2_HEADER_CONTENT_DISPOSITION: string; - const HTTP2_HEADER_CONTENT_ENCODING: string; - const HTTP2_HEADER_CONTENT_LANGUAGE: string; - const HTTP2_HEADER_CONTENT_LENGTH: string; - const HTTP2_HEADER_CONTENT_LOCATION: string; - const HTTP2_HEADER_CONTENT_MD5: string; - const HTTP2_HEADER_CONTENT_RANGE: string; - const HTTP2_HEADER_CONTENT_TYPE: string; - const HTTP2_HEADER_COOKIE: string; - const HTTP2_HEADER_DATE: string; - const HTTP2_HEADER_ETAG: string; - const HTTP2_HEADER_EXPECT: string; - const HTTP2_HEADER_EXPIRES: string; - const HTTP2_HEADER_FROM: string; - const HTTP2_HEADER_HOST: string; - const HTTP2_HEADER_IF_MATCH: string; - const HTTP2_HEADER_IF_MODIFIED_SINCE: string; - const HTTP2_HEADER_IF_NONE_MATCH: string; - const HTTP2_HEADER_IF_RANGE: string; - const HTTP2_HEADER_IF_UNMODIFIED_SINCE: string; - const HTTP2_HEADER_LAST_MODIFIED: string; - const HTTP2_HEADER_LINK: string; - const HTTP2_HEADER_LOCATION: string; - const HTTP2_HEADER_MAX_FORWARDS: string; - const HTTP2_HEADER_PREFER: string; - const HTTP2_HEADER_PROXY_AUTHENTICATE: string; - const HTTP2_HEADER_PROXY_AUTHORIZATION: string; - const HTTP2_HEADER_RANGE: string; - const HTTP2_HEADER_REFERER: string; - const HTTP2_HEADER_REFRESH: string; - const HTTP2_HEADER_RETRY_AFTER: string; - const HTTP2_HEADER_SERVER: string; - const HTTP2_HEADER_SET_COOKIE: string; - const HTTP2_HEADER_STRICT_TRANSPORT_SECURITY: string; - const HTTP2_HEADER_TRANSFER_ENCODING: string; - const HTTP2_HEADER_TE: string; - const HTTP2_HEADER_UPGRADE: string; - const HTTP2_HEADER_USER_AGENT: string; - const HTTP2_HEADER_VARY: string; - const HTTP2_HEADER_VIA: string; - const HTTP2_HEADER_WWW_AUTHENTICATE: string; - const HTTP2_HEADER_HTTP2_SETTINGS: string; - const HTTP2_HEADER_KEEP_ALIVE: string; - const HTTP2_HEADER_PROXY_CONNECTION: string; - const HTTP2_METHOD_ACL: string; - const HTTP2_METHOD_BASELINE_CONTROL: string; - const HTTP2_METHOD_BIND: string; - const HTTP2_METHOD_CHECKIN: string; - const HTTP2_METHOD_CHECKOUT: string; - const HTTP2_METHOD_CONNECT: string; - const HTTP2_METHOD_COPY: string; - const HTTP2_METHOD_DELETE: string; - const HTTP2_METHOD_GET: string; - const HTTP2_METHOD_HEAD: string; - const HTTP2_METHOD_LABEL: string; - const HTTP2_METHOD_LINK: string; - const HTTP2_METHOD_LOCK: string; - const HTTP2_METHOD_MERGE: string; - const HTTP2_METHOD_MKACTIVITY: string; - const HTTP2_METHOD_MKCALENDAR: string; - const HTTP2_METHOD_MKCOL: string; - const HTTP2_METHOD_MKREDIRECTREF: string; - const HTTP2_METHOD_MKWORKSPACE: string; - const HTTP2_METHOD_MOVE: string; - const HTTP2_METHOD_OPTIONS: string; - const HTTP2_METHOD_ORDERPATCH: string; - const HTTP2_METHOD_PATCH: string; - const HTTP2_METHOD_POST: string; - const HTTP2_METHOD_PRI: string; - const HTTP2_METHOD_PROPFIND: string; - const HTTP2_METHOD_PROPPATCH: string; - const HTTP2_METHOD_PUT: string; - const HTTP2_METHOD_REBIND: string; - const HTTP2_METHOD_REPORT: string; - const HTTP2_METHOD_SEARCH: string; - const HTTP2_METHOD_TRACE: string; - const HTTP2_METHOD_UNBIND: string; - const HTTP2_METHOD_UNCHECKOUT: string; - const HTTP2_METHOD_UNLINK: string; - const HTTP2_METHOD_UNLOCK: string; - const HTTP2_METHOD_UPDATE: string; - const HTTP2_METHOD_UPDATEREDIRECTREF: string; - const HTTP2_METHOD_VERSION_CONTROL: string; - const HTTP_STATUS_CONTINUE: number; - const HTTP_STATUS_SWITCHING_PROTOCOLS: number; - const HTTP_STATUS_PROCESSING: number; - const HTTP_STATUS_OK: number; - const HTTP_STATUS_CREATED: number; - const HTTP_STATUS_ACCEPTED: number; - const HTTP_STATUS_NON_AUTHORITATIVE_INFORMATION: number; - const HTTP_STATUS_NO_CONTENT: number; - const HTTP_STATUS_RESET_CONTENT: number; - const HTTP_STATUS_PARTIAL_CONTENT: number; - const HTTP_STATUS_MULTI_STATUS: number; - const HTTP_STATUS_ALREADY_REPORTED: number; - const HTTP_STATUS_IM_USED: number; - const HTTP_STATUS_MULTIPLE_CHOICES: number; - const HTTP_STATUS_MOVED_PERMANENTLY: number; - const HTTP_STATUS_FOUND: number; - const HTTP_STATUS_SEE_OTHER: number; - const HTTP_STATUS_NOT_MODIFIED: number; - const HTTP_STATUS_USE_PROXY: number; - const HTTP_STATUS_TEMPORARY_REDIRECT: number; - const HTTP_STATUS_PERMANENT_REDIRECT: number; - const HTTP_STATUS_BAD_REQUEST: number; - const HTTP_STATUS_UNAUTHORIZED: number; - const HTTP_STATUS_PAYMENT_REQUIRED: number; - const HTTP_STATUS_FORBIDDEN: number; - const HTTP_STATUS_NOT_FOUND: number; - const HTTP_STATUS_METHOD_NOT_ALLOWED: number; - const HTTP_STATUS_NOT_ACCEPTABLE: number; - const HTTP_STATUS_PROXY_AUTHENTICATION_REQUIRED: number; - const HTTP_STATUS_REQUEST_TIMEOUT: number; - const HTTP_STATUS_CONFLICT: number; - const HTTP_STATUS_GONE: number; - const HTTP_STATUS_LENGTH_REQUIRED: number; - const HTTP_STATUS_PRECONDITION_FAILED: number; - const HTTP_STATUS_PAYLOAD_TOO_LARGE: number; - const HTTP_STATUS_URI_TOO_LONG: number; - const HTTP_STATUS_UNSUPPORTED_MEDIA_TYPE: number; - const HTTP_STATUS_RANGE_NOT_SATISFIABLE: number; - const HTTP_STATUS_EXPECTATION_FAILED: number; - const HTTP_STATUS_TEAPOT: number; - const HTTP_STATUS_MISDIRECTED_REQUEST: number; - const HTTP_STATUS_UNPROCESSABLE_ENTITY: number; - const HTTP_STATUS_LOCKED: number; - const HTTP_STATUS_FAILED_DEPENDENCY: number; - const HTTP_STATUS_UNORDERED_COLLECTION: number; - const HTTP_STATUS_UPGRADE_REQUIRED: number; - const HTTP_STATUS_PRECONDITION_REQUIRED: number; - const HTTP_STATUS_TOO_MANY_REQUESTS: number; - const HTTP_STATUS_REQUEST_HEADER_FIELDS_TOO_LARGE: number; - const HTTP_STATUS_UNAVAILABLE_FOR_LEGAL_REASONS: number; - const HTTP_STATUS_INTERNAL_SERVER_ERROR: number; - const HTTP_STATUS_NOT_IMPLEMENTED: number; - const HTTP_STATUS_BAD_GATEWAY: number; - const HTTP_STATUS_SERVICE_UNAVAILABLE: number; - const HTTP_STATUS_GATEWAY_TIMEOUT: number; - const HTTP_STATUS_HTTP_VERSION_NOT_SUPPORTED: number; - const HTTP_STATUS_VARIANT_ALSO_NEGOTIATES: number; - const HTTP_STATUS_INSUFFICIENT_STORAGE: number; - const HTTP_STATUS_LOOP_DETECTED: number; - const HTTP_STATUS_BANDWIDTH_LIMIT_EXCEEDED: number; - const HTTP_STATUS_NOT_EXTENDED: number; - const HTTP_STATUS_NETWORK_AUTHENTICATION_REQUIRED: number; - } - /** - * This symbol can be set as a property on the HTTP/2 headers object with - * an array value in order to provide a list of headers considered sensitive. - */ - export const sensitiveHeaders: symbol; - /** - * Returns an object containing the default settings for an `Http2Session`instance. This method returns a new object instance every time it is called - * so instances returned may be safely modified for use. - * @since v8.4.0 - */ - export function getDefaultSettings(): Settings; - /** - * Returns a `Buffer` instance containing serialized representation of the given - * HTTP/2 settings as specified in the [HTTP/2](https://tools.ietf.org/html/rfc7540) specification. This is intended - * for use with the `HTTP2-Settings` header field. - * - * ```js - * const http2 = require('node:http2'); - * - * const packed = http2.getPackedSettings({ enablePush: false }); - * - * console.log(packed.toString('base64')); - * // Prints: AAIAAAAA - * ``` - * @since v8.4.0 - */ - export function getPackedSettings(settings: Settings): Buffer; - /** - * Returns a `HTTP/2 Settings Object` containing the deserialized settings from - * the given `Buffer` as generated by `http2.getPackedSettings()`. - * @since v8.4.0 - * @param buf The packed settings. - */ - export function getUnpackedSettings(buf: Uint8Array): Settings; - /** - * Returns a `net.Server` instance that creates and manages `Http2Session`instances. - * - * Since there are no browsers known that support [unencrypted HTTP/2](https://http2.github.io/faq/#does-http2-require-encryption), the use of {@link createSecureServer} is necessary when - * communicating - * with browser clients. - * - * ```js - * const http2 = require('node:http2'); - * - * // Create an unencrypted HTTP/2 server. - * // Since there are no browsers known that support - * // unencrypted HTTP/2, the use of `http2.createSecureServer()` - * // is necessary when communicating with browser clients. - * const server = http2.createServer(); - * - * server.on('stream', (stream, headers) => { - * stream.respond({ - * 'content-type': 'text/html; charset=utf-8', - * ':status': 200, - * }); - * stream.end('

Hello World

'); - * }); - * - * server.listen(8000); - * ``` - * @since v8.4.0 - * @param onRequestHandler See `Compatibility API` - */ - export function createServer( - onRequestHandler?: (request: Http2ServerRequest, response: Http2ServerResponse) => void, - ): Http2Server; - export function createServer( - options: ServerOptions, - onRequestHandler?: (request: Http2ServerRequest, response: Http2ServerResponse) => void, - ): Http2Server; - /** - * Returns a `tls.Server` instance that creates and manages `Http2Session`instances. - * - * ```js - * const http2 = require('node:http2'); - * const fs = require('node:fs'); - * - * const options = { - * key: fs.readFileSync('server-key.pem'), - * cert: fs.readFileSync('server-cert.pem'), - * }; - * - * // Create a secure HTTP/2 server - * const server = http2.createSecureServer(options); - * - * server.on('stream', (stream, headers) => { - * stream.respond({ - * 'content-type': 'text/html; charset=utf-8', - * ':status': 200, - * }); - * stream.end('

Hello World

'); - * }); - * - * server.listen(8443); - * ``` - * @since v8.4.0 - * @param onRequestHandler See `Compatibility API` - */ - export function createSecureServer( - onRequestHandler?: (request: Http2ServerRequest, response: Http2ServerResponse) => void, - ): Http2SecureServer; - export function createSecureServer( - options: SecureServerOptions, - onRequestHandler?: (request: Http2ServerRequest, response: Http2ServerResponse) => void, - ): Http2SecureServer; - /** - * Returns a `ClientHttp2Session` instance. - * - * ```js - * const http2 = require('node:http2'); - * const client = http2.connect('https://localhost:1234'); - * - * // Use the client - * - * client.close(); - * ``` - * @since v8.4.0 - * @param authority The remote HTTP/2 server to connect to. This must be in the form of a minimal, valid URL with the `http://` or `https://` prefix, host name, and IP port (if a non-default port - * is used). Userinfo (user ID and password), path, querystring, and fragment details in the URL will be ignored. - * @param listener Will be registered as a one-time listener of the {@link 'connect'} event. - */ - export function connect( - authority: string | url.URL, - listener: (session: ClientHttp2Session, socket: net.Socket | tls.TLSSocket) => void, - ): ClientHttp2Session; - export function connect( - authority: string | url.URL, - options?: ClientSessionOptions | SecureClientSessionOptions, - listener?: (session: ClientHttp2Session, socket: net.Socket | tls.TLSSocket) => void, - ): ClientHttp2Session; -} -declare module "node:http2" { - export * from "http2"; -} diff --git a/node_modules/@types/node/ts4.8/https.d.ts b/node_modules/@types/node/ts4.8/https.d.ts deleted file mode 100644 index 36ae5b2..0000000 --- a/node_modules/@types/node/ts4.8/https.d.ts +++ /dev/null @@ -1,550 +0,0 @@ -/** - * HTTPS is the HTTP protocol over TLS/SSL. In Node.js this is implemented as a - * separate module. - * @see [source](https://github.com/nodejs/node/blob/v20.2.0/lib/https.js) - */ -declare module "https" { - import { Duplex } from "node:stream"; - import * as tls from "node:tls"; - import * as http from "node:http"; - import { URL } from "node:url"; - type ServerOptions< - Request extends typeof http.IncomingMessage = typeof http.IncomingMessage, - Response extends typeof http.ServerResponse = typeof http.ServerResponse, - > = tls.SecureContextOptions & tls.TlsOptions & http.ServerOptions; - type RequestOptions = - & http.RequestOptions - & tls.SecureContextOptions - & { - checkServerIdentity?: typeof tls.checkServerIdentity | undefined; - rejectUnauthorized?: boolean | undefined; // Defaults to true - servername?: string | undefined; // SNI TLS Extension - }; - interface AgentOptions extends http.AgentOptions, tls.ConnectionOptions { - rejectUnauthorized?: boolean | undefined; - maxCachedSessions?: number | undefined; - } - /** - * An `Agent` object for HTTPS similar to `http.Agent`. See {@link request} for more information. - * @since v0.4.5 - */ - class Agent extends http.Agent { - constructor(options?: AgentOptions); - options: AgentOptions; - } - interface Server< - Request extends typeof http.IncomingMessage = typeof http.IncomingMessage, - Response extends typeof http.ServerResponse = typeof http.ServerResponse, - > extends http.Server {} - /** - * See `http.Server` for more information. - * @since v0.3.4 - */ - class Server< - Request extends typeof http.IncomingMessage = typeof http.IncomingMessage, - Response extends typeof http.ServerResponse = typeof http.ServerResponse, - > extends tls.Server { - constructor(requestListener?: http.RequestListener); - constructor( - options: ServerOptions, - requestListener?: http.RequestListener, - ); - /** - * Closes all connections connected to this server. - * @since v18.2.0 - */ - closeAllConnections(): void; - /** - * Closes all connections connected to this server which are not sending a request or waiting for a response. - * @since v18.2.0 - */ - closeIdleConnections(): void; - addListener(event: string, listener: (...args: any[]) => void): this; - addListener(event: "keylog", listener: (line: Buffer, tlsSocket: tls.TLSSocket) => void): this; - addListener( - event: "newSession", - listener: (sessionId: Buffer, sessionData: Buffer, callback: (err: Error, resp: Buffer) => void) => void, - ): this; - addListener( - event: "OCSPRequest", - listener: ( - certificate: Buffer, - issuer: Buffer, - callback: (err: Error | null, resp: Buffer) => void, - ) => void, - ): this; - addListener( - event: "resumeSession", - listener: (sessionId: Buffer, callback: (err: Error, sessionData: Buffer) => void) => void, - ): this; - addListener(event: "secureConnection", listener: (tlsSocket: tls.TLSSocket) => void): this; - addListener(event: "tlsClientError", listener: (err: Error, tlsSocket: tls.TLSSocket) => void): this; - addListener(event: "close", listener: () => void): this; - addListener(event: "connection", listener: (socket: Duplex) => void): this; - addListener(event: "error", listener: (err: Error) => void): this; - addListener(event: "listening", listener: () => void): this; - addListener(event: "checkContinue", listener: http.RequestListener): this; - addListener(event: "checkExpectation", listener: http.RequestListener): this; - addListener(event: "clientError", listener: (err: Error, socket: Duplex) => void): this; - addListener( - event: "connect", - listener: (req: InstanceType, socket: Duplex, head: Buffer) => void, - ): this; - addListener(event: "request", listener: http.RequestListener): this; - addListener( - event: "upgrade", - listener: (req: InstanceType, socket: Duplex, head: Buffer) => void, - ): this; - emit(event: string, ...args: any[]): boolean; - emit(event: "keylog", line: Buffer, tlsSocket: tls.TLSSocket): boolean; - emit( - event: "newSession", - sessionId: Buffer, - sessionData: Buffer, - callback: (err: Error, resp: Buffer) => void, - ): boolean; - emit( - event: "OCSPRequest", - certificate: Buffer, - issuer: Buffer, - callback: (err: Error | null, resp: Buffer) => void, - ): boolean; - emit(event: "resumeSession", sessionId: Buffer, callback: (err: Error, sessionData: Buffer) => void): boolean; - emit(event: "secureConnection", tlsSocket: tls.TLSSocket): boolean; - emit(event: "tlsClientError", err: Error, tlsSocket: tls.TLSSocket): boolean; - emit(event: "close"): boolean; - emit(event: "connection", socket: Duplex): boolean; - emit(event: "error", err: Error): boolean; - emit(event: "listening"): boolean; - emit( - event: "checkContinue", - req: InstanceType, - res: InstanceType & { - req: InstanceType; - }, - ): boolean; - emit( - event: "checkExpectation", - req: InstanceType, - res: InstanceType & { - req: InstanceType; - }, - ): boolean; - emit(event: "clientError", err: Error, socket: Duplex): boolean; - emit(event: "connect", req: InstanceType, socket: Duplex, head: Buffer): boolean; - emit( - event: "request", - req: InstanceType, - res: InstanceType & { - req: InstanceType; - }, - ): boolean; - emit(event: "upgrade", req: InstanceType, socket: Duplex, head: Buffer): boolean; - on(event: string, listener: (...args: any[]) => void): this; - on(event: "keylog", listener: (line: Buffer, tlsSocket: tls.TLSSocket) => void): this; - on( - event: "newSession", - listener: (sessionId: Buffer, sessionData: Buffer, callback: (err: Error, resp: Buffer) => void) => void, - ): this; - on( - event: "OCSPRequest", - listener: ( - certificate: Buffer, - issuer: Buffer, - callback: (err: Error | null, resp: Buffer) => void, - ) => void, - ): this; - on( - event: "resumeSession", - listener: (sessionId: Buffer, callback: (err: Error, sessionData: Buffer) => void) => void, - ): this; - on(event: "secureConnection", listener: (tlsSocket: tls.TLSSocket) => void): this; - on(event: "tlsClientError", listener: (err: Error, tlsSocket: tls.TLSSocket) => void): this; - on(event: "close", listener: () => void): this; - on(event: "connection", listener: (socket: Duplex) => void): this; - on(event: "error", listener: (err: Error) => void): this; - on(event: "listening", listener: () => void): this; - on(event: "checkContinue", listener: http.RequestListener): this; - on(event: "checkExpectation", listener: http.RequestListener): this; - on(event: "clientError", listener: (err: Error, socket: Duplex) => void): this; - on(event: "connect", listener: (req: InstanceType, socket: Duplex, head: Buffer) => void): this; - on(event: "request", listener: http.RequestListener): this; - on(event: "upgrade", listener: (req: InstanceType, socket: Duplex, head: Buffer) => void): this; - once(event: string, listener: (...args: any[]) => void): this; - once(event: "keylog", listener: (line: Buffer, tlsSocket: tls.TLSSocket) => void): this; - once( - event: "newSession", - listener: (sessionId: Buffer, sessionData: Buffer, callback: (err: Error, resp: Buffer) => void) => void, - ): this; - once( - event: "OCSPRequest", - listener: ( - certificate: Buffer, - issuer: Buffer, - callback: (err: Error | null, resp: Buffer) => void, - ) => void, - ): this; - once( - event: "resumeSession", - listener: (sessionId: Buffer, callback: (err: Error, sessionData: Buffer) => void) => void, - ): this; - once(event: "secureConnection", listener: (tlsSocket: tls.TLSSocket) => void): this; - once(event: "tlsClientError", listener: (err: Error, tlsSocket: tls.TLSSocket) => void): this; - once(event: "close", listener: () => void): this; - once(event: "connection", listener: (socket: Duplex) => void): this; - once(event: "error", listener: (err: Error) => void): this; - once(event: "listening", listener: () => void): this; - once(event: "checkContinue", listener: http.RequestListener): this; - once(event: "checkExpectation", listener: http.RequestListener): this; - once(event: "clientError", listener: (err: Error, socket: Duplex) => void): this; - once(event: "connect", listener: (req: InstanceType, socket: Duplex, head: Buffer) => void): this; - once(event: "request", listener: http.RequestListener): this; - once(event: "upgrade", listener: (req: InstanceType, socket: Duplex, head: Buffer) => void): this; - prependListener(event: string, listener: (...args: any[]) => void): this; - prependListener(event: "keylog", listener: (line: Buffer, tlsSocket: tls.TLSSocket) => void): this; - prependListener( - event: "newSession", - listener: (sessionId: Buffer, sessionData: Buffer, callback: (err: Error, resp: Buffer) => void) => void, - ): this; - prependListener( - event: "OCSPRequest", - listener: ( - certificate: Buffer, - issuer: Buffer, - callback: (err: Error | null, resp: Buffer) => void, - ) => void, - ): this; - prependListener( - event: "resumeSession", - listener: (sessionId: Buffer, callback: (err: Error, sessionData: Buffer) => void) => void, - ): this; - prependListener(event: "secureConnection", listener: (tlsSocket: tls.TLSSocket) => void): this; - prependListener(event: "tlsClientError", listener: (err: Error, tlsSocket: tls.TLSSocket) => void): this; - prependListener(event: "close", listener: () => void): this; - prependListener(event: "connection", listener: (socket: Duplex) => void): this; - prependListener(event: "error", listener: (err: Error) => void): this; - prependListener(event: "listening", listener: () => void): this; - prependListener(event: "checkContinue", listener: http.RequestListener): this; - prependListener(event: "checkExpectation", listener: http.RequestListener): this; - prependListener(event: "clientError", listener: (err: Error, socket: Duplex) => void): this; - prependListener( - event: "connect", - listener: (req: InstanceType, socket: Duplex, head: Buffer) => void, - ): this; - prependListener(event: "request", listener: http.RequestListener): this; - prependListener( - event: "upgrade", - listener: (req: InstanceType, socket: Duplex, head: Buffer) => void, - ): this; - prependOnceListener(event: string, listener: (...args: any[]) => void): this; - prependOnceListener(event: "keylog", listener: (line: Buffer, tlsSocket: tls.TLSSocket) => void): this; - prependOnceListener( - event: "newSession", - listener: (sessionId: Buffer, sessionData: Buffer, callback: (err: Error, resp: Buffer) => void) => void, - ): this; - prependOnceListener( - event: "OCSPRequest", - listener: ( - certificate: Buffer, - issuer: Buffer, - callback: (err: Error | null, resp: Buffer) => void, - ) => void, - ): this; - prependOnceListener( - event: "resumeSession", - listener: (sessionId: Buffer, callback: (err: Error, sessionData: Buffer) => void) => void, - ): this; - prependOnceListener(event: "secureConnection", listener: (tlsSocket: tls.TLSSocket) => void): this; - prependOnceListener(event: "tlsClientError", listener: (err: Error, tlsSocket: tls.TLSSocket) => void): this; - prependOnceListener(event: "close", listener: () => void): this; - prependOnceListener(event: "connection", listener: (socket: Duplex) => void): this; - prependOnceListener(event: "error", listener: (err: Error) => void): this; - prependOnceListener(event: "listening", listener: () => void): this; - prependOnceListener(event: "checkContinue", listener: http.RequestListener): this; - prependOnceListener(event: "checkExpectation", listener: http.RequestListener): this; - prependOnceListener(event: "clientError", listener: (err: Error, socket: Duplex) => void): this; - prependOnceListener( - event: "connect", - listener: (req: InstanceType, socket: Duplex, head: Buffer) => void, - ): this; - prependOnceListener(event: "request", listener: http.RequestListener): this; - prependOnceListener( - event: "upgrade", - listener: (req: InstanceType, socket: Duplex, head: Buffer) => void, - ): this; - } - /** - * ```js - * // curl -k https://localhost:8000/ - * const https = require('node:https'); - * const fs = require('node:fs'); - * - * const options = { - * key: fs.readFileSync('test/fixtures/keys/agent2-key.pem'), - * cert: fs.readFileSync('test/fixtures/keys/agent2-cert.pem'), - * }; - * - * https.createServer(options, (req, res) => { - * res.writeHead(200); - * res.end('hello world\n'); - * }).listen(8000); - * ``` - * - * Or - * - * ```js - * const https = require('node:https'); - * const fs = require('node:fs'); - * - * const options = { - * pfx: fs.readFileSync('test/fixtures/test_cert.pfx'), - * passphrase: 'sample', - * }; - * - * https.createServer(options, (req, res) => { - * res.writeHead(200); - * res.end('hello world\n'); - * }).listen(8000); - * ``` - * @since v0.3.4 - * @param options Accepts `options` from `createServer`, `createSecureContext` and `createServer`. - * @param requestListener A listener to be added to the `'request'` event. - */ - function createServer< - Request extends typeof http.IncomingMessage = typeof http.IncomingMessage, - Response extends typeof http.ServerResponse = typeof http.ServerResponse, - >(requestListener?: http.RequestListener): Server; - function createServer< - Request extends typeof http.IncomingMessage = typeof http.IncomingMessage, - Response extends typeof http.ServerResponse = typeof http.ServerResponse, - >( - options: ServerOptions, - requestListener?: http.RequestListener, - ): Server; - /** - * Makes a request to a secure web server. - * - * The following additional `options` from `tls.connect()` are also accepted:`ca`, `cert`, `ciphers`, `clientCertEngine`, `crl`, `dhparam`, `ecdhCurve`,`honorCipherOrder`, `key`, `passphrase`, - * `pfx`, `rejectUnauthorized`,`secureOptions`, `secureProtocol`, `servername`, `sessionIdContext`,`highWaterMark`. - * - * `options` can be an object, a string, or a `URL` object. If `options` is a - * string, it is automatically parsed with `new URL()`. If it is a `URL` object, it will be automatically converted to an ordinary `options` object. - * - * `https.request()` returns an instance of the `http.ClientRequest` class. The `ClientRequest` instance is a writable stream. If one needs to - * upload a file with a POST request, then write to the `ClientRequest` object. - * - * ```js - * const https = require('node:https'); - * - * const options = { - * hostname: 'encrypted.google.com', - * port: 443, - * path: '/', - * method: 'GET', - * }; - * - * const req = https.request(options, (res) => { - * console.log('statusCode:', res.statusCode); - * console.log('headers:', res.headers); - * - * res.on('data', (d) => { - * process.stdout.write(d); - * }); - * }); - * - * req.on('error', (e) => { - * console.error(e); - * }); - * req.end(); - * ``` - * - * Example using options from `tls.connect()`: - * - * ```js - * const options = { - * hostname: 'encrypted.google.com', - * port: 443, - * path: '/', - * method: 'GET', - * key: fs.readFileSync('test/fixtures/keys/agent2-key.pem'), - * cert: fs.readFileSync('test/fixtures/keys/agent2-cert.pem'), - * }; - * options.agent = new https.Agent(options); - * - * const req = https.request(options, (res) => { - * // ... - * }); - * ``` - * - * Alternatively, opt out of connection pooling by not using an `Agent`. - * - * ```js - * const options = { - * hostname: 'encrypted.google.com', - * port: 443, - * path: '/', - * method: 'GET', - * key: fs.readFileSync('test/fixtures/keys/agent2-key.pem'), - * cert: fs.readFileSync('test/fixtures/keys/agent2-cert.pem'), - * agent: false, - * }; - * - * const req = https.request(options, (res) => { - * // ... - * }); - * ``` - * - * Example using a `URL` as `options`: - * - * ```js - * const options = new URL('https://abc:xyz@example.com'); - * - * const req = https.request(options, (res) => { - * // ... - * }); - * ``` - * - * Example pinning on certificate fingerprint, or the public key (similar to`pin-sha256`): - * - * ```js - * const tls = require('node:tls'); - * const https = require('node:https'); - * const crypto = require('node:crypto'); - * - * function sha256(s) { - * return crypto.createHash('sha256').update(s).digest('base64'); - * } - * const options = { - * hostname: 'github.com', - * port: 443, - * path: '/', - * method: 'GET', - * checkServerIdentity: function(host, cert) { - * // Make sure the certificate is issued to the host we are connected to - * const err = tls.checkServerIdentity(host, cert); - * if (err) { - * return err; - * } - * - * // Pin the public key, similar to HPKP pin-sha256 pinning - * const pubkey256 = 'pL1+qb9HTMRZJmuC/bB/ZI9d302BYrrqiVuRyW+DGrU='; - * if (sha256(cert.pubkey) !== pubkey256) { - * const msg = 'Certificate verification error: ' + - * `The public key of '${cert.subject.CN}' ` + - * 'does not match our pinned fingerprint'; - * return new Error(msg); - * } - * - * // Pin the exact certificate, rather than the pub key - * const cert256 = '25:FE:39:32:D9:63:8C:8A:FC:A1:9A:29:87:' + - * 'D8:3E:4C:1D:98:DB:71:E4:1A:48:03:98:EA:22:6A:BD:8B:93:16'; - * if (cert.fingerprint256 !== cert256) { - * const msg = 'Certificate verification error: ' + - * `The certificate of '${cert.subject.CN}' ` + - * 'does not match our pinned fingerprint'; - * return new Error(msg); - * } - * - * // This loop is informational only. - * // Print the certificate and public key fingerprints of all certs in the - * // chain. Its common to pin the public key of the issuer on the public - * // internet, while pinning the public key of the service in sensitive - * // environments. - * do { - * console.log('Subject Common Name:', cert.subject.CN); - * console.log(' Certificate SHA256 fingerprint:', cert.fingerprint256); - * - * hash = crypto.createHash('sha256'); - * console.log(' Public key ping-sha256:', sha256(cert.pubkey)); - * - * lastprint256 = cert.fingerprint256; - * cert = cert.issuerCertificate; - * } while (cert.fingerprint256 !== lastprint256); - * - * }, - * }; - * - * options.agent = new https.Agent(options); - * const req = https.request(options, (res) => { - * console.log('All OK. Server matched our pinned cert or public key'); - * console.log('statusCode:', res.statusCode); - * // Print the HPKP values - * console.log('headers:', res.headers['public-key-pins']); - * - * res.on('data', (d) => {}); - * }); - * - * req.on('error', (e) => { - * console.error(e.message); - * }); - * req.end(); - * ``` - * - * Outputs for example: - * - * ```text - * Subject Common Name: github.com - * Certificate SHA256 fingerprint: 25:FE:39:32:D9:63:8C:8A:FC:A1:9A:29:87:D8:3E:4C:1D:98:DB:71:E4:1A:48:03:98:EA:22:6A:BD:8B:93:16 - * Public key ping-sha256: pL1+qb9HTMRZJmuC/bB/ZI9d302BYrrqiVuRyW+DGrU= - * Subject Common Name: DigiCert SHA2 Extended Validation Server CA - * Certificate SHA256 fingerprint: 40:3E:06:2A:26:53:05:91:13:28:5B:AF:80:A0:D4:AE:42:2C:84:8C:9F:78:FA:D0:1F:C9:4B:C5:B8:7F:EF:1A - * Public key ping-sha256: RRM1dGqnDFsCJXBTHky16vi1obOlCgFFn/yOhI/y+ho= - * Subject Common Name: DigiCert High Assurance EV Root CA - * Certificate SHA256 fingerprint: 74:31:E5:F4:C3:C1:CE:46:90:77:4F:0B:61:E0:54:40:88:3B:A9:A0:1E:D0:0B:A6:AB:D7:80:6E:D3:B1:18:CF - * Public key ping-sha256: WoiWRyIOVNa9ihaBciRSC7XHjliYS9VwUGOIud4PB18= - * All OK. Server matched our pinned cert or public key - * statusCode: 200 - * headers: max-age=0; pin-sha256="WoiWRyIOVNa9ihaBciRSC7XHjliYS9VwUGOIud4PB18="; pin-sha256="RRM1dGqnDFsCJXBTHky16vi1obOlCgFFn/yOhI/y+ho="; - * pin-sha256="k2v657xBsOVe1PQRwOsHsw3bsGT2VzIqz5K+59sNQws="; pin-sha256="K87oWBWM9UZfyddvDfoxL+8lpNyoUB2ptGtn0fv6G2Q="; pin-sha256="IQBnNBEiFuhj+8x6X8XLgh01V9Ic5/V3IRQLNFFc7v4="; - * pin-sha256="iie1VXtL7HzAMF+/PVPR9xzT80kQxdZeJ+zduCB3uj0="; pin-sha256="LvRiGEjRqfzurezaWuj8Wie2gyHMrW5Q06LspMnox7A="; includeSubDomains - * ``` - * @since v0.3.6 - * @param options Accepts all `options` from `request`, with some differences in default values: - */ - function request( - options: RequestOptions | string | URL, - callback?: (res: http.IncomingMessage) => void, - ): http.ClientRequest; - function request( - url: string | URL, - options: RequestOptions, - callback?: (res: http.IncomingMessage) => void, - ): http.ClientRequest; - /** - * Like `http.get()` but for HTTPS. - * - * `options` can be an object, a string, or a `URL` object. If `options` is a - * string, it is automatically parsed with `new URL()`. If it is a `URL` object, it will be automatically converted to an ordinary `options` object. - * - * ```js - * const https = require('node:https'); - * - * https.get('https://encrypted.google.com/', (res) => { - * console.log('statusCode:', res.statusCode); - * console.log('headers:', res.headers); - * - * res.on('data', (d) => { - * process.stdout.write(d); - * }); - * - * }).on('error', (e) => { - * console.error(e); - * }); - * ``` - * @since v0.3.6 - * @param options Accepts the same `options` as {@link request}, with the `method` always set to `GET`. - */ - function get( - options: RequestOptions | string | URL, - callback?: (res: http.IncomingMessage) => void, - ): http.ClientRequest; - function get( - url: string | URL, - options: RequestOptions, - callback?: (res: http.IncomingMessage) => void, - ): http.ClientRequest; - let globalAgent: Agent; -} -declare module "node:https" { - export * from "https"; -} diff --git a/node_modules/@types/node/ts4.8/index.d.ts b/node_modules/@types/node/ts4.8/index.d.ts deleted file mode 100644 index 7c8b38c..0000000 --- a/node_modules/@types/node/ts4.8/index.d.ts +++ /dev/null @@ -1,88 +0,0 @@ -/** - * License for programmatically and manually incorporated - * documentation aka. `JSDoc` from https://github.com/nodejs/node/tree/master/doc - * - * Copyright Node.js contributors. All rights reserved. - * 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. - */ - -// NOTE: These definitions support NodeJS and TypeScript 4.8 and earlier. - -// Reference required types from the default lib: -/// -/// -/// -/// - -// Base definitions for all NodeJS modules that are not specific to any version of TypeScript: -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// - -/// diff --git a/node_modules/@types/node/ts4.8/inspector.d.ts b/node_modules/@types/node/ts4.8/inspector.d.ts deleted file mode 100644 index 3927b81..0000000 --- a/node_modules/@types/node/ts4.8/inspector.d.ts +++ /dev/null @@ -1,2747 +0,0 @@ -// Type definitions for inspector - -// These definitions are auto-generated. -// Please see https://github.com/DefinitelyTyped/DefinitelyTyped/pull/19330 -// for more information. - - -/** - * The `node:inspector` module provides an API for interacting with the V8 - * inspector. - * - * It can be accessed using: - * - * ```js - * import * as inspector from 'node:inspector/promises'; - * ``` - * - * or - * - * ```js - * import * as inspector from 'node:inspector'; - * ``` - * @see [source](https://github.com/nodejs/node/blob/v20.2.0/lib/inspector.js) - */ -declare module 'inspector' { - import EventEmitter = require('node:events'); - interface InspectorNotification { - method: string; - params: T; - } - namespace Schema { - /** - * Description of the protocol domain. - */ - interface Domain { - /** - * Domain name. - */ - name: string; - /** - * Domain version. - */ - version: string; - } - interface GetDomainsReturnType { - /** - * List of supported domains. - */ - domains: Domain[]; - } - } - namespace Runtime { - /** - * Unique script identifier. - */ - type ScriptId = string; - /** - * Unique object identifier. - */ - type RemoteObjectId = string; - /** - * Primitive value which cannot be JSON-stringified. - */ - type UnserializableValue = string; - /** - * Mirror object referencing original JavaScript object. - */ - interface RemoteObject { - /** - * Object type. - */ - type: string; - /** - * Object subtype hint. Specified for object type values only. - */ - subtype?: string | undefined; - /** - * Object class (constructor) name. Specified for object type values only. - */ - className?: string | undefined; - /** - * Remote object value in case of primitive values or JSON values (if it was requested). - */ - value?: any; - /** - * Primitive value which can not be JSON-stringified does not have value, but gets this property. - */ - unserializableValue?: UnserializableValue | undefined; - /** - * String representation of the object. - */ - description?: string | undefined; - /** - * Unique object identifier (for non-primitive values). - */ - objectId?: RemoteObjectId | undefined; - /** - * Preview containing abbreviated property values. Specified for object type values only. - * @experimental - */ - preview?: ObjectPreview | undefined; - /** - * @experimental - */ - customPreview?: CustomPreview | undefined; - } - /** - * @experimental - */ - interface CustomPreview { - header: string; - hasBody: boolean; - formatterObjectId: RemoteObjectId; - bindRemoteObjectFunctionId: RemoteObjectId; - configObjectId?: RemoteObjectId | undefined; - } - /** - * Object containing abbreviated remote object value. - * @experimental - */ - interface ObjectPreview { - /** - * Object type. - */ - type: string; - /** - * Object subtype hint. Specified for object type values only. - */ - subtype?: string | undefined; - /** - * String representation of the object. - */ - description?: string | undefined; - /** - * True iff some of the properties or entries of the original object did not fit. - */ - overflow: boolean; - /** - * List of the properties. - */ - properties: PropertyPreview[]; - /** - * List of the entries. Specified for map and set subtype values only. - */ - entries?: EntryPreview[] | undefined; - } - /** - * @experimental - */ - interface PropertyPreview { - /** - * Property name. - */ - name: string; - /** - * Object type. Accessor means that the property itself is an accessor property. - */ - type: string; - /** - * User-friendly property value string. - */ - value?: string | undefined; - /** - * Nested value preview. - */ - valuePreview?: ObjectPreview | undefined; - /** - * Object subtype hint. Specified for object type values only. - */ - subtype?: string | undefined; - } - /** - * @experimental - */ - interface EntryPreview { - /** - * Preview of the key. Specified for map-like collection entries. - */ - key?: ObjectPreview | undefined; - /** - * Preview of the value. - */ - value: ObjectPreview; - } - /** - * Object property descriptor. - */ - interface PropertyDescriptor { - /** - * Property name or symbol description. - */ - name: string; - /** - * The value associated with the property. - */ - value?: RemoteObject | undefined; - /** - * True if the value associated with the property may be changed (data descriptors only). - */ - writable?: boolean | undefined; - /** - * A function which serves as a getter for the property, or undefined if there is no getter (accessor descriptors only). - */ - get?: RemoteObject | undefined; - /** - * A function which serves as a setter for the property, or undefined if there is no setter (accessor descriptors only). - */ - set?: RemoteObject | undefined; - /** - * True if the type of this property descriptor may be changed and if the property may be deleted from the corresponding object. - */ - configurable: boolean; - /** - * True if this property shows up during enumeration of the properties on the corresponding object. - */ - enumerable: boolean; - /** - * True if the result was thrown during the evaluation. - */ - wasThrown?: boolean | undefined; - /** - * True if the property is owned for the object. - */ - isOwn?: boolean | undefined; - /** - * Property symbol object, if the property is of the symbol type. - */ - symbol?: RemoteObject | undefined; - } - /** - * Object internal property descriptor. This property isn't normally visible in JavaScript code. - */ - interface InternalPropertyDescriptor { - /** - * Conventional property name. - */ - name: string; - /** - * The value associated with the property. - */ - value?: RemoteObject | undefined; - } - /** - * Represents function call argument. Either remote object id objectId, primitive value, unserializable primitive value or neither of (for undefined) them should be specified. - */ - interface CallArgument { - /** - * Primitive value or serializable javascript object. - */ - value?: any; - /** - * Primitive value which can not be JSON-stringified. - */ - unserializableValue?: UnserializableValue | undefined; - /** - * Remote object handle. - */ - objectId?: RemoteObjectId | undefined; - } - /** - * Id of an execution context. - */ - type ExecutionContextId = number; - /** - * Description of an isolated world. - */ - interface ExecutionContextDescription { - /** - * Unique id of the execution context. It can be used to specify in which execution context script evaluation should be performed. - */ - id: ExecutionContextId; - /** - * Execution context origin. - */ - origin: string; - /** - * Human readable name describing given context. - */ - name: string; - /** - * Embedder-specific auxiliary data. - */ - auxData?: {} | undefined; - } - /** - * Detailed information about exception (or error) that was thrown during script compilation or execution. - */ - interface ExceptionDetails { - /** - * Exception id. - */ - exceptionId: number; - /** - * Exception text, which should be used together with exception object when available. - */ - text: string; - /** - * Line number of the exception location (0-based). - */ - lineNumber: number; - /** - * Column number of the exception location (0-based). - */ - columnNumber: number; - /** - * Script ID of the exception location. - */ - scriptId?: ScriptId | undefined; - /** - * URL of the exception location, to be used when the script was not reported. - */ - url?: string | undefined; - /** - * JavaScript stack trace if available. - */ - stackTrace?: StackTrace | undefined; - /** - * Exception object if available. - */ - exception?: RemoteObject | undefined; - /** - * Identifier of the context where exception happened. - */ - executionContextId?: ExecutionContextId | undefined; - } - /** - * Number of milliseconds since epoch. - */ - type Timestamp = number; - /** - * Stack entry for runtime errors and assertions. - */ - interface CallFrame { - /** - * JavaScript function name. - */ - functionName: string; - /** - * JavaScript script id. - */ - scriptId: ScriptId; - /** - * JavaScript script name or url. - */ - url: string; - /** - * JavaScript script line number (0-based). - */ - lineNumber: number; - /** - * JavaScript script column number (0-based). - */ - columnNumber: number; - } - /** - * Call frames for assertions or error messages. - */ - interface StackTrace { - /** - * String label of this stack trace. For async traces this may be a name of the function that initiated the async call. - */ - description?: string | undefined; - /** - * JavaScript function name. - */ - callFrames: CallFrame[]; - /** - * Asynchronous JavaScript stack trace that preceded this stack, if available. - */ - parent?: StackTrace | undefined; - /** - * Asynchronous JavaScript stack trace that preceded this stack, if available. - * @experimental - */ - parentId?: StackTraceId | undefined; - } - /** - * Unique identifier of current debugger. - * @experimental - */ - type UniqueDebuggerId = string; - /** - * If debuggerId is set stack trace comes from another debugger and can be resolved there. This allows to track cross-debugger calls. See Runtime.StackTrace and Debugger.paused for usages. - * @experimental - */ - interface StackTraceId { - id: string; - debuggerId?: UniqueDebuggerId | undefined; - } - interface EvaluateParameterType { - /** - * Expression to evaluate. - */ - expression: string; - /** - * Symbolic group name that can be used to release multiple objects. - */ - objectGroup?: string | undefined; - /** - * Determines whether Command Line API should be available during the evaluation. - */ - includeCommandLineAPI?: boolean | undefined; - /** - * In silent mode exceptions thrown during evaluation are not reported and do not pause execution. Overrides setPauseOnException state. - */ - silent?: boolean | undefined; - /** - * Specifies in which execution context to perform evaluation. If the parameter is omitted the evaluation will be performed in the context of the inspected page. - */ - contextId?: ExecutionContextId | undefined; - /** - * Whether the result is expected to be a JSON object that should be sent by value. - */ - returnByValue?: boolean | undefined; - /** - * Whether preview should be generated for the result. - * @experimental - */ - generatePreview?: boolean | undefined; - /** - * Whether execution should be treated as initiated by user in the UI. - */ - userGesture?: boolean | undefined; - /** - * Whether execution should await for resulting value and return once awaited promise is resolved. - */ - awaitPromise?: boolean | undefined; - } - interface AwaitPromiseParameterType { - /** - * Identifier of the promise. - */ - promiseObjectId: RemoteObjectId; - /** - * Whether the result is expected to be a JSON object that should be sent by value. - */ - returnByValue?: boolean | undefined; - /** - * Whether preview should be generated for the result. - */ - generatePreview?: boolean | undefined; - } - interface CallFunctionOnParameterType { - /** - * Declaration of the function to call. - */ - functionDeclaration: string; - /** - * Identifier of the object to call function on. Either objectId or executionContextId should be specified. - */ - objectId?: RemoteObjectId | undefined; - /** - * Call arguments. All call arguments must belong to the same JavaScript world as the target object. - */ - arguments?: CallArgument[] | undefined; - /** - * In silent mode exceptions thrown during evaluation are not reported and do not pause execution. Overrides setPauseOnException state. - */ - silent?: boolean | undefined; - /** - * Whether the result is expected to be a JSON object which should be sent by value. - */ - returnByValue?: boolean | undefined; - /** - * Whether preview should be generated for the result. - * @experimental - */ - generatePreview?: boolean | undefined; - /** - * Whether execution should be treated as initiated by user in the UI. - */ - userGesture?: boolean | undefined; - /** - * Whether execution should await for resulting value and return once awaited promise is resolved. - */ - awaitPromise?: boolean | undefined; - /** - * Specifies execution context which global object will be used to call function on. Either executionContextId or objectId should be specified. - */ - executionContextId?: ExecutionContextId | undefined; - /** - * Symbolic group name that can be used to release multiple objects. If objectGroup is not specified and objectId is, objectGroup will be inherited from object. - */ - objectGroup?: string | undefined; - } - interface GetPropertiesParameterType { - /** - * Identifier of the object to return properties for. - */ - objectId: RemoteObjectId; - /** - * If true, returns properties belonging only to the element itself, not to its prototype chain. - */ - ownProperties?: boolean | undefined; - /** - * If true, returns accessor properties (with getter/setter) only; internal properties are not returned either. - * @experimental - */ - accessorPropertiesOnly?: boolean | undefined; - /** - * Whether preview should be generated for the results. - * @experimental - */ - generatePreview?: boolean | undefined; - } - interface ReleaseObjectParameterType { - /** - * Identifier of the object to release. - */ - objectId: RemoteObjectId; - } - interface ReleaseObjectGroupParameterType { - /** - * Symbolic object group name. - */ - objectGroup: string; - } - interface SetCustomObjectFormatterEnabledParameterType { - enabled: boolean; - } - interface CompileScriptParameterType { - /** - * Expression to compile. - */ - expression: string; - /** - * Source url to be set for the script. - */ - sourceURL: string; - /** - * Specifies whether the compiled script should be persisted. - */ - persistScript: boolean; - /** - * Specifies in which execution context to perform script run. If the parameter is omitted the evaluation will be performed in the context of the inspected page. - */ - executionContextId?: ExecutionContextId | undefined; - } - interface RunScriptParameterType { - /** - * Id of the script to run. - */ - scriptId: ScriptId; - /** - * Specifies in which execution context to perform script run. If the parameter is omitted the evaluation will be performed in the context of the inspected page. - */ - executionContextId?: ExecutionContextId | undefined; - /** - * Symbolic group name that can be used to release multiple objects. - */ - objectGroup?: string | undefined; - /** - * In silent mode exceptions thrown during evaluation are not reported and do not pause execution. Overrides setPauseOnException state. - */ - silent?: boolean | undefined; - /** - * Determines whether Command Line API should be available during the evaluation. - */ - includeCommandLineAPI?: boolean | undefined; - /** - * Whether the result is expected to be a JSON object which should be sent by value. - */ - returnByValue?: boolean | undefined; - /** - * Whether preview should be generated for the result. - */ - generatePreview?: boolean | undefined; - /** - * Whether execution should await for resulting value and return once awaited promise is resolved. - */ - awaitPromise?: boolean | undefined; - } - interface QueryObjectsParameterType { - /** - * Identifier of the prototype to return objects for. - */ - prototypeObjectId: RemoteObjectId; - } - interface GlobalLexicalScopeNamesParameterType { - /** - * Specifies in which execution context to lookup global scope variables. - */ - executionContextId?: ExecutionContextId | undefined; - } - interface EvaluateReturnType { - /** - * Evaluation result. - */ - result: RemoteObject; - /** - * Exception details. - */ - exceptionDetails?: ExceptionDetails | undefined; - } - interface AwaitPromiseReturnType { - /** - * Promise result. Will contain rejected value if promise was rejected. - */ - result: RemoteObject; - /** - * Exception details if stack strace is available. - */ - exceptionDetails?: ExceptionDetails | undefined; - } - interface CallFunctionOnReturnType { - /** - * Call result. - */ - result: RemoteObject; - /** - * Exception details. - */ - exceptionDetails?: ExceptionDetails | undefined; - } - interface GetPropertiesReturnType { - /** - * Object properties. - */ - result: PropertyDescriptor[]; - /** - * Internal object properties (only of the element itself). - */ - internalProperties?: InternalPropertyDescriptor[] | undefined; - /** - * Exception details. - */ - exceptionDetails?: ExceptionDetails | undefined; - } - interface CompileScriptReturnType { - /** - * Id of the script. - */ - scriptId?: ScriptId | undefined; - /** - * Exception details. - */ - exceptionDetails?: ExceptionDetails | undefined; - } - interface RunScriptReturnType { - /** - * Run result. - */ - result: RemoteObject; - /** - * Exception details. - */ - exceptionDetails?: ExceptionDetails | undefined; - } - interface QueryObjectsReturnType { - /** - * Array with objects. - */ - objects: RemoteObject; - } - interface GlobalLexicalScopeNamesReturnType { - names: string[]; - } - interface ExecutionContextCreatedEventDataType { - /** - * A newly created execution context. - */ - context: ExecutionContextDescription; - } - interface ExecutionContextDestroyedEventDataType { - /** - * Id of the destroyed context - */ - executionContextId: ExecutionContextId; - } - interface ExceptionThrownEventDataType { - /** - * Timestamp of the exception. - */ - timestamp: Timestamp; - exceptionDetails: ExceptionDetails; - } - interface ExceptionRevokedEventDataType { - /** - * Reason describing why exception was revoked. - */ - reason: string; - /** - * The id of revoked exception, as reported in exceptionThrown. - */ - exceptionId: number; - } - interface ConsoleAPICalledEventDataType { - /** - * Type of the call. - */ - type: string; - /** - * Call arguments. - */ - args: RemoteObject[]; - /** - * Identifier of the context where the call was made. - */ - executionContextId: ExecutionContextId; - /** - * Call timestamp. - */ - timestamp: Timestamp; - /** - * Stack trace captured when the call was made. - */ - stackTrace?: StackTrace | undefined; - /** - * Console context descriptor for calls on non-default console context (not console.*): 'anonymous#unique-logger-id' for call on unnamed context, 'name#unique-logger-id' for call on named context. - * @experimental - */ - context?: string | undefined; - } - interface InspectRequestedEventDataType { - object: RemoteObject; - hints: {}; - } - } - namespace Debugger { - /** - * Breakpoint identifier. - */ - type BreakpointId = string; - /** - * Call frame identifier. - */ - type CallFrameId = string; - /** - * Location in the source code. - */ - interface Location { - /** - * Script identifier as reported in the Debugger.scriptParsed. - */ - scriptId: Runtime.ScriptId; - /** - * Line number in the script (0-based). - */ - lineNumber: number; - /** - * Column number in the script (0-based). - */ - columnNumber?: number | undefined; - } - /** - * Location in the source code. - * @experimental - */ - interface ScriptPosition { - lineNumber: number; - columnNumber: number; - } - /** - * JavaScript call frame. Array of call frames form the call stack. - */ - interface CallFrame { - /** - * Call frame identifier. This identifier is only valid while the virtual machine is paused. - */ - callFrameId: CallFrameId; - /** - * Name of the JavaScript function called on this call frame. - */ - functionName: string; - /** - * Location in the source code. - */ - functionLocation?: Location | undefined; - /** - * Location in the source code. - */ - location: Location; - /** - * JavaScript script name or url. - */ - url: string; - /** - * Scope chain for this call frame. - */ - scopeChain: Scope[]; - /** - * this object for this call frame. - */ - this: Runtime.RemoteObject; - /** - * The value being returned, if the function is at return point. - */ - returnValue?: Runtime.RemoteObject | undefined; - } - /** - * Scope description. - */ - interface Scope { - /** - * Scope type. - */ - type: string; - /** - * Object representing the scope. For global and with scopes it represents the actual object; for the rest of the scopes, it is artificial transient object enumerating scope variables as its properties. - */ - object: Runtime.RemoteObject; - name?: string | undefined; - /** - * Location in the source code where scope starts - */ - startLocation?: Location | undefined; - /** - * Location in the source code where scope ends - */ - endLocation?: Location | undefined; - } - /** - * Search match for resource. - */ - interface SearchMatch { - /** - * Line number in resource content. - */ - lineNumber: number; - /** - * Line with match content. - */ - lineContent: string; - } - interface BreakLocation { - /** - * Script identifier as reported in the Debugger.scriptParsed. - */ - scriptId: Runtime.ScriptId; - /** - * Line number in the script (0-based). - */ - lineNumber: number; - /** - * Column number in the script (0-based). - */ - columnNumber?: number | undefined; - type?: string | undefined; - } - interface SetBreakpointsActiveParameterType { - /** - * New value for breakpoints active state. - */ - active: boolean; - } - interface SetSkipAllPausesParameterType { - /** - * New value for skip pauses state. - */ - skip: boolean; - } - interface SetBreakpointByUrlParameterType { - /** - * Line number to set breakpoint at. - */ - lineNumber: number; - /** - * URL of the resources to set breakpoint on. - */ - url?: string | undefined; - /** - * Regex pattern for the URLs of the resources to set breakpoints on. Either url or urlRegex must be specified. - */ - urlRegex?: string | undefined; - /** - * Script hash of the resources to set breakpoint on. - */ - scriptHash?: string | undefined; - /** - * Offset in the line to set breakpoint at. - */ - columnNumber?: number | undefined; - /** - * Expression to use as a breakpoint condition. When specified, debugger will only stop on the breakpoint if this expression evaluates to true. - */ - condition?: string | undefined; - } - interface SetBreakpointParameterType { - /** - * Location to set breakpoint in. - */ - location: Location; - /** - * Expression to use as a breakpoint condition. When specified, debugger will only stop on the breakpoint if this expression evaluates to true. - */ - condition?: string | undefined; - } - interface RemoveBreakpointParameterType { - breakpointId: BreakpointId; - } - interface GetPossibleBreakpointsParameterType { - /** - * Start of range to search possible breakpoint locations in. - */ - start: Location; - /** - * End of range to search possible breakpoint locations in (excluding). When not specified, end of scripts is used as end of range. - */ - end?: Location | undefined; - /** - * Only consider locations which are in the same (non-nested) function as start. - */ - restrictToFunction?: boolean | undefined; - } - interface ContinueToLocationParameterType { - /** - * Location to continue to. - */ - location: Location; - targetCallFrames?: string | undefined; - } - interface PauseOnAsyncCallParameterType { - /** - * Debugger will pause when async call with given stack trace is started. - */ - parentStackTraceId: Runtime.StackTraceId; - } - interface StepIntoParameterType { - /** - * Debugger will issue additional Debugger.paused notification if any async task is scheduled before next pause. - * @experimental - */ - breakOnAsyncCall?: boolean | undefined; - } - interface GetStackTraceParameterType { - stackTraceId: Runtime.StackTraceId; - } - interface SearchInContentParameterType { - /** - * Id of the script to search in. - */ - scriptId: Runtime.ScriptId; - /** - * String to search for. - */ - query: string; - /** - * If true, search is case sensitive. - */ - caseSensitive?: boolean | undefined; - /** - * If true, treats string parameter as regex. - */ - isRegex?: boolean | undefined; - } - interface SetScriptSourceParameterType { - /** - * Id of the script to edit. - */ - scriptId: Runtime.ScriptId; - /** - * New content of the script. - */ - scriptSource: string; - /** - * If true the change will not actually be applied. Dry run may be used to get result description without actually modifying the code. - */ - dryRun?: boolean | undefined; - } - interface RestartFrameParameterType { - /** - * Call frame identifier to evaluate on. - */ - callFrameId: CallFrameId; - } - interface GetScriptSourceParameterType { - /** - * Id of the script to get source for. - */ - scriptId: Runtime.ScriptId; - } - interface SetPauseOnExceptionsParameterType { - /** - * Pause on exceptions mode. - */ - state: string; - } - interface EvaluateOnCallFrameParameterType { - /** - * Call frame identifier to evaluate on. - */ - callFrameId: CallFrameId; - /** - * Expression to evaluate. - */ - expression: string; - /** - * String object group name to put result into (allows rapid releasing resulting object handles using releaseObjectGroup). - */ - objectGroup?: string | undefined; - /** - * Specifies whether command line API should be available to the evaluated expression, defaults to false. - */ - includeCommandLineAPI?: boolean | undefined; - /** - * In silent mode exceptions thrown during evaluation are not reported and do not pause execution. Overrides setPauseOnException state. - */ - silent?: boolean | undefined; - /** - * Whether the result is expected to be a JSON object that should be sent by value. - */ - returnByValue?: boolean | undefined; - /** - * Whether preview should be generated for the result. - * @experimental - */ - generatePreview?: boolean | undefined; - /** - * Whether to throw an exception if side effect cannot be ruled out during evaluation. - */ - throwOnSideEffect?: boolean | undefined; - } - interface SetVariableValueParameterType { - /** - * 0-based number of scope as was listed in scope chain. Only 'local', 'closure' and 'catch' scope types are allowed. Other scopes could be manipulated manually. - */ - scopeNumber: number; - /** - * Variable name. - */ - variableName: string; - /** - * New variable value. - */ - newValue: Runtime.CallArgument; - /** - * Id of callframe that holds variable. - */ - callFrameId: CallFrameId; - } - interface SetReturnValueParameterType { - /** - * New return value. - */ - newValue: Runtime.CallArgument; - } - interface SetAsyncCallStackDepthParameterType { - /** - * Maximum depth of async call stacks. Setting to 0 will effectively disable collecting async call stacks (default). - */ - maxDepth: number; - } - interface SetBlackboxPatternsParameterType { - /** - * Array of regexps that will be used to check script url for blackbox state. - */ - patterns: string[]; - } - interface SetBlackboxedRangesParameterType { - /** - * Id of the script. - */ - scriptId: Runtime.ScriptId; - positions: ScriptPosition[]; - } - interface EnableReturnType { - /** - * Unique identifier of the debugger. - * @experimental - */ - debuggerId: Runtime.UniqueDebuggerId; - } - interface SetBreakpointByUrlReturnType { - /** - * Id of the created breakpoint for further reference. - */ - breakpointId: BreakpointId; - /** - * List of the locations this breakpoint resolved into upon addition. - */ - locations: Location[]; - } - interface SetBreakpointReturnType { - /** - * Id of the created breakpoint for further reference. - */ - breakpointId: BreakpointId; - /** - * Location this breakpoint resolved into. - */ - actualLocation: Location; - } - interface GetPossibleBreakpointsReturnType { - /** - * List of the possible breakpoint locations. - */ - locations: BreakLocation[]; - } - interface GetStackTraceReturnType { - stackTrace: Runtime.StackTrace; - } - interface SearchInContentReturnType { - /** - * List of search matches. - */ - result: SearchMatch[]; - } - interface SetScriptSourceReturnType { - /** - * New stack trace in case editing has happened while VM was stopped. - */ - callFrames?: CallFrame[] | undefined; - /** - * Whether current call stack was modified after applying the changes. - */ - stackChanged?: boolean | undefined; - /** - * Async stack trace, if any. - */ - asyncStackTrace?: Runtime.StackTrace | undefined; - /** - * Async stack trace, if any. - * @experimental - */ - asyncStackTraceId?: Runtime.StackTraceId | undefined; - /** - * Exception details if any. - */ - exceptionDetails?: Runtime.ExceptionDetails | undefined; - } - interface RestartFrameReturnType { - /** - * New stack trace. - */ - callFrames: CallFrame[]; - /** - * Async stack trace, if any. - */ - asyncStackTrace?: Runtime.StackTrace | undefined; - /** - * Async stack trace, if any. - * @experimental - */ - asyncStackTraceId?: Runtime.StackTraceId | undefined; - } - interface GetScriptSourceReturnType { - /** - * Script source. - */ - scriptSource: string; - } - interface EvaluateOnCallFrameReturnType { - /** - * Object wrapper for the evaluation result. - */ - result: Runtime.RemoteObject; - /** - * Exception details. - */ - exceptionDetails?: Runtime.ExceptionDetails | undefined; - } - interface ScriptParsedEventDataType { - /** - * Identifier of the script parsed. - */ - scriptId: Runtime.ScriptId; - /** - * URL or name of the script parsed (if any). - */ - url: string; - /** - * Line offset of the script within the resource with given URL (for script tags). - */ - startLine: number; - /** - * Column offset of the script within the resource with given URL. - */ - startColumn: number; - /** - * Last line of the script. - */ - endLine: number; - /** - * Length of the last line of the script. - */ - endColumn: number; - /** - * Specifies script creation context. - */ - executionContextId: Runtime.ExecutionContextId; - /** - * Content hash of the script. - */ - hash: string; - /** - * Embedder-specific auxiliary data. - */ - executionContextAuxData?: {} | undefined; - /** - * True, if this script is generated as a result of the live edit operation. - * @experimental - */ - isLiveEdit?: boolean | undefined; - /** - * URL of source map associated with script (if any). - */ - sourceMapURL?: string | undefined; - /** - * True, if this script has sourceURL. - */ - hasSourceURL?: boolean | undefined; - /** - * True, if this script is ES6 module. - */ - isModule?: boolean | undefined; - /** - * This script length. - */ - length?: number | undefined; - /** - * JavaScript top stack frame of where the script parsed event was triggered if available. - * @experimental - */ - stackTrace?: Runtime.StackTrace | undefined; - } - interface ScriptFailedToParseEventDataType { - /** - * Identifier of the script parsed. - */ - scriptId: Runtime.ScriptId; - /** - * URL or name of the script parsed (if any). - */ - url: string; - /** - * Line offset of the script within the resource with given URL (for script tags). - */ - startLine: number; - /** - * Column offset of the script within the resource with given URL. - */ - startColumn: number; - /** - * Last line of the script. - */ - endLine: number; - /** - * Length of the last line of the script. - */ - endColumn: number; - /** - * Specifies script creation context. - */ - executionContextId: Runtime.ExecutionContextId; - /** - * Content hash of the script. - */ - hash: string; - /** - * Embedder-specific auxiliary data. - */ - executionContextAuxData?: {} | undefined; - /** - * URL of source map associated with script (if any). - */ - sourceMapURL?: string | undefined; - /** - * True, if this script has sourceURL. - */ - hasSourceURL?: boolean | undefined; - /** - * True, if this script is ES6 module. - */ - isModule?: boolean | undefined; - /** - * This script length. - */ - length?: number | undefined; - /** - * JavaScript top stack frame of where the script parsed event was triggered if available. - * @experimental - */ - stackTrace?: Runtime.StackTrace | undefined; - } - interface BreakpointResolvedEventDataType { - /** - * Breakpoint unique identifier. - */ - breakpointId: BreakpointId; - /** - * Actual breakpoint location. - */ - location: Location; - } - interface PausedEventDataType { - /** - * Call stack the virtual machine stopped on. - */ - callFrames: CallFrame[]; - /** - * Pause reason. - */ - reason: string; - /** - * Object containing break-specific auxiliary properties. - */ - data?: {} | undefined; - /** - * Hit breakpoints IDs - */ - hitBreakpoints?: string[] | undefined; - /** - * Async stack trace, if any. - */ - asyncStackTrace?: Runtime.StackTrace | undefined; - /** - * Async stack trace, if any. - * @experimental - */ - asyncStackTraceId?: Runtime.StackTraceId | undefined; - /** - * Just scheduled async call will have this stack trace as parent stack during async execution. This field is available only after Debugger.stepInto call with breakOnAsynCall flag. - * @experimental - */ - asyncCallStackTraceId?: Runtime.StackTraceId | undefined; - } - } - namespace Console { - /** - * Console message. - */ - interface ConsoleMessage { - /** - * Message source. - */ - source: string; - /** - * Message severity. - */ - level: string; - /** - * Message text. - */ - text: string; - /** - * URL of the message origin. - */ - url?: string | undefined; - /** - * Line number in the resource that generated this message (1-based). - */ - line?: number | undefined; - /** - * Column number in the resource that generated this message (1-based). - */ - column?: number | undefined; - } - interface MessageAddedEventDataType { - /** - * Console message that has been added. - */ - message: ConsoleMessage; - } - } - namespace Profiler { - /** - * Profile node. Holds callsite information, execution statistics and child nodes. - */ - interface ProfileNode { - /** - * Unique id of the node. - */ - id: number; - /** - * Function location. - */ - callFrame: Runtime.CallFrame; - /** - * Number of samples where this node was on top of the call stack. - */ - hitCount?: number | undefined; - /** - * Child node ids. - */ - children?: number[] | undefined; - /** - * The reason of being not optimized. The function may be deoptimized or marked as don't optimize. - */ - deoptReason?: string | undefined; - /** - * An array of source position ticks. - */ - positionTicks?: PositionTickInfo[] | undefined; - } - /** - * Profile. - */ - interface Profile { - /** - * The list of profile nodes. First item is the root node. - */ - nodes: ProfileNode[]; - /** - * Profiling start timestamp in microseconds. - */ - startTime: number; - /** - * Profiling end timestamp in microseconds. - */ - endTime: number; - /** - * Ids of samples top nodes. - */ - samples?: number[] | undefined; - /** - * Time intervals between adjacent samples in microseconds. The first delta is relative to the profile startTime. - */ - timeDeltas?: number[] | undefined; - } - /** - * Specifies a number of samples attributed to a certain source position. - */ - interface PositionTickInfo { - /** - * Source line number (1-based). - */ - line: number; - /** - * Number of samples attributed to the source line. - */ - ticks: number; - } - /** - * Coverage data for a source range. - */ - interface CoverageRange { - /** - * JavaScript script source offset for the range start. - */ - startOffset: number; - /** - * JavaScript script source offset for the range end. - */ - endOffset: number; - /** - * Collected execution count of the source range. - */ - count: number; - } - /** - * Coverage data for a JavaScript function. - */ - interface FunctionCoverage { - /** - * JavaScript function name. - */ - functionName: string; - /** - * Source ranges inside the function with coverage data. - */ - ranges: CoverageRange[]; - /** - * Whether coverage data for this function has block granularity. - */ - isBlockCoverage: boolean; - } - /** - * Coverage data for a JavaScript script. - */ - interface ScriptCoverage { - /** - * JavaScript script id. - */ - scriptId: Runtime.ScriptId; - /** - * JavaScript script name or url. - */ - url: string; - /** - * Functions contained in the script that has coverage data. - */ - functions: FunctionCoverage[]; - } - /** - * Describes a type collected during runtime. - * @experimental - */ - interface TypeObject { - /** - * Name of a type collected with type profiling. - */ - name: string; - } - /** - * Source offset and types for a parameter or return value. - * @experimental - */ - interface TypeProfileEntry { - /** - * Source offset of the parameter or end of function for return values. - */ - offset: number; - /** - * The types for this parameter or return value. - */ - types: TypeObject[]; - } - /** - * Type profile data collected during runtime for a JavaScript script. - * @experimental - */ - interface ScriptTypeProfile { - /** - * JavaScript script id. - */ - scriptId: Runtime.ScriptId; - /** - * JavaScript script name or url. - */ - url: string; - /** - * Type profile entries for parameters and return values of the functions in the script. - */ - entries: TypeProfileEntry[]; - } - interface SetSamplingIntervalParameterType { - /** - * New sampling interval in microseconds. - */ - interval: number; - } - interface StartPreciseCoverageParameterType { - /** - * Collect accurate call counts beyond simple 'covered' or 'not covered'. - */ - callCount?: boolean | undefined; - /** - * Collect block-based coverage. - */ - detailed?: boolean | undefined; - } - interface StopReturnType { - /** - * Recorded profile. - */ - profile: Profile; - } - interface TakePreciseCoverageReturnType { - /** - * Coverage data for the current isolate. - */ - result: ScriptCoverage[]; - } - interface GetBestEffortCoverageReturnType { - /** - * Coverage data for the current isolate. - */ - result: ScriptCoverage[]; - } - interface TakeTypeProfileReturnType { - /** - * Type profile for all scripts since startTypeProfile() was turned on. - */ - result: ScriptTypeProfile[]; - } - interface ConsoleProfileStartedEventDataType { - id: string; - /** - * Location of console.profile(). - */ - location: Debugger.Location; - /** - * Profile title passed as an argument to console.profile(). - */ - title?: string | undefined; - } - interface ConsoleProfileFinishedEventDataType { - id: string; - /** - * Location of console.profileEnd(). - */ - location: Debugger.Location; - profile: Profile; - /** - * Profile title passed as an argument to console.profile(). - */ - title?: string | undefined; - } - } - namespace HeapProfiler { - /** - * Heap snapshot object id. - */ - type HeapSnapshotObjectId = string; - /** - * Sampling Heap Profile node. Holds callsite information, allocation statistics and child nodes. - */ - interface SamplingHeapProfileNode { - /** - * Function location. - */ - callFrame: Runtime.CallFrame; - /** - * Allocations size in bytes for the node excluding children. - */ - selfSize: number; - /** - * Child nodes. - */ - children: SamplingHeapProfileNode[]; - } - /** - * Profile. - */ - interface SamplingHeapProfile { - head: SamplingHeapProfileNode; - } - interface StartTrackingHeapObjectsParameterType { - trackAllocations?: boolean | undefined; - } - interface StopTrackingHeapObjectsParameterType { - /** - * If true 'reportHeapSnapshotProgress' events will be generated while snapshot is being taken when the tracking is stopped. - */ - reportProgress?: boolean | undefined; - } - interface TakeHeapSnapshotParameterType { - /** - * If true 'reportHeapSnapshotProgress' events will be generated while snapshot is being taken. - */ - reportProgress?: boolean | undefined; - } - interface GetObjectByHeapObjectIdParameterType { - objectId: HeapSnapshotObjectId; - /** - * Symbolic group name that can be used to release multiple objects. - */ - objectGroup?: string | undefined; - } - interface AddInspectedHeapObjectParameterType { - /** - * Heap snapshot object id to be accessible by means of $x command line API. - */ - heapObjectId: HeapSnapshotObjectId; - } - interface GetHeapObjectIdParameterType { - /** - * Identifier of the object to get heap object id for. - */ - objectId: Runtime.RemoteObjectId; - } - interface StartSamplingParameterType { - /** - * Average sample interval in bytes. Poisson distribution is used for the intervals. The default value is 32768 bytes. - */ - samplingInterval?: number | undefined; - } - interface GetObjectByHeapObjectIdReturnType { - /** - * Evaluation result. - */ - result: Runtime.RemoteObject; - } - interface GetHeapObjectIdReturnType { - /** - * Id of the heap snapshot object corresponding to the passed remote object id. - */ - heapSnapshotObjectId: HeapSnapshotObjectId; - } - interface StopSamplingReturnType { - /** - * Recorded sampling heap profile. - */ - profile: SamplingHeapProfile; - } - interface GetSamplingProfileReturnType { - /** - * Return the sampling profile being collected. - */ - profile: SamplingHeapProfile; - } - interface AddHeapSnapshotChunkEventDataType { - chunk: string; - } - interface ReportHeapSnapshotProgressEventDataType { - done: number; - total: number; - finished?: boolean | undefined; - } - interface LastSeenObjectIdEventDataType { - lastSeenObjectId: number; - timestamp: number; - } - interface HeapStatsUpdateEventDataType { - /** - * An array of triplets. Each triplet describes a fragment. The first integer is the fragment index, the second integer is a total count of objects for the fragment, the third integer is a total size of the objects for the fragment. - */ - statsUpdate: number[]; - } - } - namespace NodeTracing { - interface TraceConfig { - /** - * Controls how the trace buffer stores data. - */ - recordMode?: string | undefined; - /** - * Included category filters. - */ - includedCategories: string[]; - } - interface StartParameterType { - traceConfig: TraceConfig; - } - interface GetCategoriesReturnType { - /** - * A list of supported tracing categories. - */ - categories: string[]; - } - interface DataCollectedEventDataType { - value: Array<{}>; - } - } - namespace NodeWorker { - type WorkerID = string; - /** - * Unique identifier of attached debugging session. - */ - type SessionID = string; - interface WorkerInfo { - workerId: WorkerID; - type: string; - title: string; - url: string; - } - interface SendMessageToWorkerParameterType { - message: string; - /** - * Identifier of the session. - */ - sessionId: SessionID; - } - interface EnableParameterType { - /** - * Whether to new workers should be paused until the frontend sends `Runtime.runIfWaitingForDebugger` - * message to run them. - */ - waitForDebuggerOnStart: boolean; - } - interface DetachParameterType { - sessionId: SessionID; - } - interface AttachedToWorkerEventDataType { - /** - * Identifier assigned to the session used to send/receive messages. - */ - sessionId: SessionID; - workerInfo: WorkerInfo; - waitingForDebugger: boolean; - } - interface DetachedFromWorkerEventDataType { - /** - * Detached session identifier. - */ - sessionId: SessionID; - } - interface ReceivedMessageFromWorkerEventDataType { - /** - * Identifier of a session which sends a message. - */ - sessionId: SessionID; - message: string; - } - } - namespace NodeRuntime { - interface NotifyWhenWaitingForDisconnectParameterType { - enabled: boolean; - } - } - /** - * The `inspector.Session` is used for dispatching messages to the V8 inspector - * back-end and receiving message responses and notifications. - */ - class Session extends EventEmitter { - /** - * Create a new instance of the inspector.Session class. - * The inspector session needs to be connected through session.connect() before the messages can be dispatched to the inspector backend. - */ - constructor(); - /** - * Connects a session to the inspector back-end. - * @since v8.0.0 - */ - connect(): void; - /** - * Immediately close the session. All pending message callbacks will be called - * with an error. `session.connect()` will need to be called to be able to send - * messages again. Reconnected session will lose all inspector state, such as - * enabled agents or configured breakpoints. - * @since v8.0.0 - */ - disconnect(): void; - /** - * Posts a message to the inspector back-end. `callback` will be notified when - * a response is received. `callback` is a function that accepts two optional - * arguments: error and message-specific result. - * - * ```js - * session.post('Runtime.evaluate', { expression: '2 + 2' }, - * (error, { result }) => console.log(result)); - * // Output: { type: 'number', value: 4, description: '4' } - * ``` - * - * The latest version of the V8 inspector protocol is published on the [Chrome DevTools Protocol Viewer](https://chromedevtools.github.io/devtools-protocol/v8/). - * - * Node.js inspector supports all the Chrome DevTools Protocol domains declared - * by V8\. Chrome DevTools Protocol domain provides an interface for interacting - * with one of the runtime agents used to inspect the application state and listen - * to the run-time events. - * - * ## Example usage - * - * Apart from the debugger, various V8 Profilers are available through the DevTools - * protocol. - * @since v8.0.0 - */ - post(method: string, params?: {}, callback?: (err: Error | null, params?: {}) => void): void; - post(method: string, callback?: (err: Error | null, params?: {}) => void): void; - /** - * Returns supported domains. - */ - post(method: 'Schema.getDomains', callback?: (err: Error | null, params: Schema.GetDomainsReturnType) => void): void; - /** - * Evaluates expression on global object. - */ - post(method: 'Runtime.evaluate', params?: Runtime.EvaluateParameterType, callback?: (err: Error | null, params: Runtime.EvaluateReturnType) => void): void; - post(method: 'Runtime.evaluate', callback?: (err: Error | null, params: Runtime.EvaluateReturnType) => void): void; - /** - * Add handler to promise with given promise object id. - */ - post(method: 'Runtime.awaitPromise', params?: Runtime.AwaitPromiseParameterType, callback?: (err: Error | null, params: Runtime.AwaitPromiseReturnType) => void): void; - post(method: 'Runtime.awaitPromise', callback?: (err: Error | null, params: Runtime.AwaitPromiseReturnType) => void): void; - /** - * Calls function with given declaration on the given object. Object group of the result is inherited from the target object. - */ - post(method: 'Runtime.callFunctionOn', params?: Runtime.CallFunctionOnParameterType, callback?: (err: Error | null, params: Runtime.CallFunctionOnReturnType) => void): void; - post(method: 'Runtime.callFunctionOn', callback?: (err: Error | null, params: Runtime.CallFunctionOnReturnType) => void): void; - /** - * Returns properties of a given object. Object group of the result is inherited from the target object. - */ - post(method: 'Runtime.getProperties', params?: Runtime.GetPropertiesParameterType, callback?: (err: Error | null, params: Runtime.GetPropertiesReturnType) => void): void; - post(method: 'Runtime.getProperties', callback?: (err: Error | null, params: Runtime.GetPropertiesReturnType) => void): void; - /** - * Releases remote object with given id. - */ - post(method: 'Runtime.releaseObject', params?: Runtime.ReleaseObjectParameterType, callback?: (err: Error | null) => void): void; - post(method: 'Runtime.releaseObject', callback?: (err: Error | null) => void): void; - /** - * Releases all remote objects that belong to a given group. - */ - post(method: 'Runtime.releaseObjectGroup', params?: Runtime.ReleaseObjectGroupParameterType, callback?: (err: Error | null) => void): void; - post(method: 'Runtime.releaseObjectGroup', callback?: (err: Error | null) => void): void; - /** - * Tells inspected instance to run if it was waiting for debugger to attach. - */ - post(method: 'Runtime.runIfWaitingForDebugger', callback?: (err: Error | null) => void): void; - /** - * Enables reporting of execution contexts creation by means of executionContextCreated event. When the reporting gets enabled the event will be sent immediately for each existing execution context. - */ - post(method: 'Runtime.enable', callback?: (err: Error | null) => void): void; - /** - * Disables reporting of execution contexts creation. - */ - post(method: 'Runtime.disable', callback?: (err: Error | null) => void): void; - /** - * Discards collected exceptions and console API calls. - */ - post(method: 'Runtime.discardConsoleEntries', callback?: (err: Error | null) => void): void; - /** - * @experimental - */ - post(method: 'Runtime.setCustomObjectFormatterEnabled', params?: Runtime.SetCustomObjectFormatterEnabledParameterType, callback?: (err: Error | null) => void): void; - post(method: 'Runtime.setCustomObjectFormatterEnabled', callback?: (err: Error | null) => void): void; - /** - * Compiles expression. - */ - post(method: 'Runtime.compileScript', params?: Runtime.CompileScriptParameterType, callback?: (err: Error | null, params: Runtime.CompileScriptReturnType) => void): void; - post(method: 'Runtime.compileScript', callback?: (err: Error | null, params: Runtime.CompileScriptReturnType) => void): void; - /** - * Runs script with given id in a given context. - */ - post(method: 'Runtime.runScript', params?: Runtime.RunScriptParameterType, callback?: (err: Error | null, params: Runtime.RunScriptReturnType) => void): void; - post(method: 'Runtime.runScript', callback?: (err: Error | null, params: Runtime.RunScriptReturnType) => void): void; - post(method: 'Runtime.queryObjects', params?: Runtime.QueryObjectsParameterType, callback?: (err: Error | null, params: Runtime.QueryObjectsReturnType) => void): void; - post(method: 'Runtime.queryObjects', callback?: (err: Error | null, params: Runtime.QueryObjectsReturnType) => void): void; - /** - * Returns all let, const and class variables from global scope. - */ - post( - method: 'Runtime.globalLexicalScopeNames', - params?: Runtime.GlobalLexicalScopeNamesParameterType, - callback?: (err: Error | null, params: Runtime.GlobalLexicalScopeNamesReturnType) => void - ): void; - post(method: 'Runtime.globalLexicalScopeNames', callback?: (err: Error | null, params: Runtime.GlobalLexicalScopeNamesReturnType) => void): void; - /** - * Enables debugger for the given page. Clients should not assume that the debugging has been enabled until the result for this command is received. - */ - post(method: 'Debugger.enable', callback?: (err: Error | null, params: Debugger.EnableReturnType) => void): void; - /** - * Disables debugger for given page. - */ - post(method: 'Debugger.disable', callback?: (err: Error | null) => void): void; - /** - * Activates / deactivates all breakpoints on the page. - */ - post(method: 'Debugger.setBreakpointsActive', params?: Debugger.SetBreakpointsActiveParameterType, callback?: (err: Error | null) => void): void; - post(method: 'Debugger.setBreakpointsActive', callback?: (err: Error | null) => void): void; - /** - * Makes page not interrupt on any pauses (breakpoint, exception, dom exception etc). - */ - post(method: 'Debugger.setSkipAllPauses', params?: Debugger.SetSkipAllPausesParameterType, callback?: (err: Error | null) => void): void; - post(method: 'Debugger.setSkipAllPauses', callback?: (err: Error | null) => void): void; - /** - * Sets JavaScript breakpoint at given location specified either by URL or URL regex. Once this command is issued, all existing parsed scripts will have breakpoints resolved and returned in locations property. Further matching script parsing will result in subsequent breakpointResolved events issued. This logical breakpoint will survive page reloads. - */ - post(method: 'Debugger.setBreakpointByUrl', params?: Debugger.SetBreakpointByUrlParameterType, callback?: (err: Error | null, params: Debugger.SetBreakpointByUrlReturnType) => void): void; - post(method: 'Debugger.setBreakpointByUrl', callback?: (err: Error | null, params: Debugger.SetBreakpointByUrlReturnType) => void): void; - /** - * Sets JavaScript breakpoint at a given location. - */ - post(method: 'Debugger.setBreakpoint', params?: Debugger.SetBreakpointParameterType, callback?: (err: Error | null, params: Debugger.SetBreakpointReturnType) => void): void; - post(method: 'Debugger.setBreakpoint', callback?: (err: Error | null, params: Debugger.SetBreakpointReturnType) => void): void; - /** - * Removes JavaScript breakpoint. - */ - post(method: 'Debugger.removeBreakpoint', params?: Debugger.RemoveBreakpointParameterType, callback?: (err: Error | null) => void): void; - post(method: 'Debugger.removeBreakpoint', callback?: (err: Error | null) => void): void; - /** - * Returns possible locations for breakpoint. scriptId in start and end range locations should be the same. - */ - post( - method: 'Debugger.getPossibleBreakpoints', - params?: Debugger.GetPossibleBreakpointsParameterType, - callback?: (err: Error | null, params: Debugger.GetPossibleBreakpointsReturnType) => void - ): void; - post(method: 'Debugger.getPossibleBreakpoints', callback?: (err: Error | null, params: Debugger.GetPossibleBreakpointsReturnType) => void): void; - /** - * Continues execution until specific location is reached. - */ - post(method: 'Debugger.continueToLocation', params?: Debugger.ContinueToLocationParameterType, callback?: (err: Error | null) => void): void; - post(method: 'Debugger.continueToLocation', callback?: (err: Error | null) => void): void; - /** - * @experimental - */ - post(method: 'Debugger.pauseOnAsyncCall', params?: Debugger.PauseOnAsyncCallParameterType, callback?: (err: Error | null) => void): void; - post(method: 'Debugger.pauseOnAsyncCall', callback?: (err: Error | null) => void): void; - /** - * Steps over the statement. - */ - post(method: 'Debugger.stepOver', callback?: (err: Error | null) => void): void; - /** - * Steps into the function call. - */ - post(method: 'Debugger.stepInto', params?: Debugger.StepIntoParameterType, callback?: (err: Error | null) => void): void; - post(method: 'Debugger.stepInto', callback?: (err: Error | null) => void): void; - /** - * Steps out of the function call. - */ - post(method: 'Debugger.stepOut', callback?: (err: Error | null) => void): void; - /** - * Stops on the next JavaScript statement. - */ - post(method: 'Debugger.pause', callback?: (err: Error | null) => void): void; - /** - * This method is deprecated - use Debugger.stepInto with breakOnAsyncCall and Debugger.pauseOnAsyncTask instead. Steps into next scheduled async task if any is scheduled before next pause. Returns success when async task is actually scheduled, returns error if no task were scheduled or another scheduleStepIntoAsync was called. - * @experimental - */ - post(method: 'Debugger.scheduleStepIntoAsync', callback?: (err: Error | null) => void): void; - /** - * Resumes JavaScript execution. - */ - post(method: 'Debugger.resume', callback?: (err: Error | null) => void): void; - /** - * Returns stack trace with given stackTraceId. - * @experimental - */ - post(method: 'Debugger.getStackTrace', params?: Debugger.GetStackTraceParameterType, callback?: (err: Error | null, params: Debugger.GetStackTraceReturnType) => void): void; - post(method: 'Debugger.getStackTrace', callback?: (err: Error | null, params: Debugger.GetStackTraceReturnType) => void): void; - /** - * Searches for given string in script content. - */ - post(method: 'Debugger.searchInContent', params?: Debugger.SearchInContentParameterType, callback?: (err: Error | null, params: Debugger.SearchInContentReturnType) => void): void; - post(method: 'Debugger.searchInContent', callback?: (err: Error | null, params: Debugger.SearchInContentReturnType) => void): void; - /** - * Edits JavaScript source live. - */ - post(method: 'Debugger.setScriptSource', params?: Debugger.SetScriptSourceParameterType, callback?: (err: Error | null, params: Debugger.SetScriptSourceReturnType) => void): void; - post(method: 'Debugger.setScriptSource', callback?: (err: Error | null, params: Debugger.SetScriptSourceReturnType) => void): void; - /** - * Restarts particular call frame from the beginning. - */ - post(method: 'Debugger.restartFrame', params?: Debugger.RestartFrameParameterType, callback?: (err: Error | null, params: Debugger.RestartFrameReturnType) => void): void; - post(method: 'Debugger.restartFrame', callback?: (err: Error | null, params: Debugger.RestartFrameReturnType) => void): void; - /** - * Returns source for the script with given id. - */ - post(method: 'Debugger.getScriptSource', params?: Debugger.GetScriptSourceParameterType, callback?: (err: Error | null, params: Debugger.GetScriptSourceReturnType) => void): void; - post(method: 'Debugger.getScriptSource', callback?: (err: Error | null, params: Debugger.GetScriptSourceReturnType) => void): void; - /** - * Defines pause on exceptions state. Can be set to stop on all exceptions, uncaught exceptions or no exceptions. Initial pause on exceptions state is none. - */ - post(method: 'Debugger.setPauseOnExceptions', params?: Debugger.SetPauseOnExceptionsParameterType, callback?: (err: Error | null) => void): void; - post(method: 'Debugger.setPauseOnExceptions', callback?: (err: Error | null) => void): void; - /** - * Evaluates expression on a given call frame. - */ - post(method: 'Debugger.evaluateOnCallFrame', params?: Debugger.EvaluateOnCallFrameParameterType, callback?: (err: Error | null, params: Debugger.EvaluateOnCallFrameReturnType) => void): void; - post(method: 'Debugger.evaluateOnCallFrame', callback?: (err: Error | null, params: Debugger.EvaluateOnCallFrameReturnType) => void): void; - /** - * Changes value of variable in a callframe. Object-based scopes are not supported and must be mutated manually. - */ - post(method: 'Debugger.setVariableValue', params?: Debugger.SetVariableValueParameterType, callback?: (err: Error | null) => void): void; - post(method: 'Debugger.setVariableValue', callback?: (err: Error | null) => void): void; - /** - * Changes return value in top frame. Available only at return break position. - * @experimental - */ - post(method: 'Debugger.setReturnValue', params?: Debugger.SetReturnValueParameterType, callback?: (err: Error | null) => void): void; - post(method: 'Debugger.setReturnValue', callback?: (err: Error | null) => void): void; - /** - * Enables or disables async call stacks tracking. - */ - post(method: 'Debugger.setAsyncCallStackDepth', params?: Debugger.SetAsyncCallStackDepthParameterType, callback?: (err: Error | null) => void): void; - post(method: 'Debugger.setAsyncCallStackDepth', callback?: (err: Error | null) => void): void; - /** - * Replace previous blackbox patterns with passed ones. Forces backend to skip stepping/pausing in scripts with url matching one of the patterns. VM will try to leave blackboxed script by performing 'step in' several times, finally resorting to 'step out' if unsuccessful. - * @experimental - */ - post(method: 'Debugger.setBlackboxPatterns', params?: Debugger.SetBlackboxPatternsParameterType, callback?: (err: Error | null) => void): void; - post(method: 'Debugger.setBlackboxPatterns', callback?: (err: Error | null) => void): void; - /** - * Makes backend skip steps in the script in blackboxed ranges. VM will try leave blacklisted scripts by performing 'step in' several times, finally resorting to 'step out' if unsuccessful. Positions array contains positions where blackbox state is changed. First interval isn't blackboxed. Array should be sorted. - * @experimental - */ - post(method: 'Debugger.setBlackboxedRanges', params?: Debugger.SetBlackboxedRangesParameterType, callback?: (err: Error | null) => void): void; - post(method: 'Debugger.setBlackboxedRanges', callback?: (err: Error | null) => void): void; - /** - * Enables console domain, sends the messages collected so far to the client by means of the messageAdded notification. - */ - post(method: 'Console.enable', callback?: (err: Error | null) => void): void; - /** - * Disables console domain, prevents further console messages from being reported to the client. - */ - post(method: 'Console.disable', callback?: (err: Error | null) => void): void; - /** - * Does nothing. - */ - post(method: 'Console.clearMessages', callback?: (err: Error | null) => void): void; - post(method: 'Profiler.enable', callback?: (err: Error | null) => void): void; - post(method: 'Profiler.disable', callback?: (err: Error | null) => void): void; - /** - * Changes CPU profiler sampling interval. Must be called before CPU profiles recording started. - */ - post(method: 'Profiler.setSamplingInterval', params?: Profiler.SetSamplingIntervalParameterType, callback?: (err: Error | null) => void): void; - post(method: 'Profiler.setSamplingInterval', callback?: (err: Error | null) => void): void; - post(method: 'Profiler.start', callback?: (err: Error | null) => void): void; - post(method: 'Profiler.stop', callback?: (err: Error | null, params: Profiler.StopReturnType) => void): void; - /** - * Enable precise code coverage. Coverage data for JavaScript executed before enabling precise code coverage may be incomplete. Enabling prevents running optimized code and resets execution counters. - */ - post(method: 'Profiler.startPreciseCoverage', params?: Profiler.StartPreciseCoverageParameterType, callback?: (err: Error | null) => void): void; - post(method: 'Profiler.startPreciseCoverage', callback?: (err: Error | null) => void): void; - /** - * Disable precise code coverage. Disabling releases unnecessary execution count records and allows executing optimized code. - */ - post(method: 'Profiler.stopPreciseCoverage', callback?: (err: Error | null) => void): void; - /** - * Collect coverage data for the current isolate, and resets execution counters. Precise code coverage needs to have started. - */ - post(method: 'Profiler.takePreciseCoverage', callback?: (err: Error | null, params: Profiler.TakePreciseCoverageReturnType) => void): void; - /** - * Collect coverage data for the current isolate. The coverage data may be incomplete due to garbage collection. - */ - post(method: 'Profiler.getBestEffortCoverage', callback?: (err: Error | null, params: Profiler.GetBestEffortCoverageReturnType) => void): void; - /** - * Enable type profile. - * @experimental - */ - post(method: 'Profiler.startTypeProfile', callback?: (err: Error | null) => void): void; - /** - * Disable type profile. Disabling releases type profile data collected so far. - * @experimental - */ - post(method: 'Profiler.stopTypeProfile', callback?: (err: Error | null) => void): void; - /** - * Collect type profile. - * @experimental - */ - post(method: 'Profiler.takeTypeProfile', callback?: (err: Error | null, params: Profiler.TakeTypeProfileReturnType) => void): void; - post(method: 'HeapProfiler.enable', callback?: (err: Error | null) => void): void; - post(method: 'HeapProfiler.disable', callback?: (err: Error | null) => void): void; - post(method: 'HeapProfiler.startTrackingHeapObjects', params?: HeapProfiler.StartTrackingHeapObjectsParameterType, callback?: (err: Error | null) => void): void; - post(method: 'HeapProfiler.startTrackingHeapObjects', callback?: (err: Error | null) => void): void; - post(method: 'HeapProfiler.stopTrackingHeapObjects', params?: HeapProfiler.StopTrackingHeapObjectsParameterType, callback?: (err: Error | null) => void): void; - post(method: 'HeapProfiler.stopTrackingHeapObjects', callback?: (err: Error | null) => void): void; - post(method: 'HeapProfiler.takeHeapSnapshot', params?: HeapProfiler.TakeHeapSnapshotParameterType, callback?: (err: Error | null) => void): void; - post(method: 'HeapProfiler.takeHeapSnapshot', callback?: (err: Error | null) => void): void; - post(method: 'HeapProfiler.collectGarbage', callback?: (err: Error | null) => void): void; - post( - method: 'HeapProfiler.getObjectByHeapObjectId', - params?: HeapProfiler.GetObjectByHeapObjectIdParameterType, - callback?: (err: Error | null, params: HeapProfiler.GetObjectByHeapObjectIdReturnType) => void - ): void; - post(method: 'HeapProfiler.getObjectByHeapObjectId', callback?: (err: Error | null, params: HeapProfiler.GetObjectByHeapObjectIdReturnType) => void): void; - /** - * Enables console to refer to the node with given id via $x (see Command Line API for more details $x functions). - */ - post(method: 'HeapProfiler.addInspectedHeapObject', params?: HeapProfiler.AddInspectedHeapObjectParameterType, callback?: (err: Error | null) => void): void; - post(method: 'HeapProfiler.addInspectedHeapObject', callback?: (err: Error | null) => void): void; - post(method: 'HeapProfiler.getHeapObjectId', params?: HeapProfiler.GetHeapObjectIdParameterType, callback?: (err: Error | null, params: HeapProfiler.GetHeapObjectIdReturnType) => void): void; - post(method: 'HeapProfiler.getHeapObjectId', callback?: (err: Error | null, params: HeapProfiler.GetHeapObjectIdReturnType) => void): void; - post(method: 'HeapProfiler.startSampling', params?: HeapProfiler.StartSamplingParameterType, callback?: (err: Error | null) => void): void; - post(method: 'HeapProfiler.startSampling', callback?: (err: Error | null) => void): void; - post(method: 'HeapProfiler.stopSampling', callback?: (err: Error | null, params: HeapProfiler.StopSamplingReturnType) => void): void; - post(method: 'HeapProfiler.getSamplingProfile', callback?: (err: Error | null, params: HeapProfiler.GetSamplingProfileReturnType) => void): void; - /** - * Gets supported tracing categories. - */ - post(method: 'NodeTracing.getCategories', callback?: (err: Error | null, params: NodeTracing.GetCategoriesReturnType) => void): void; - /** - * Start trace events collection. - */ - post(method: 'NodeTracing.start', params?: NodeTracing.StartParameterType, callback?: (err: Error | null) => void): void; - post(method: 'NodeTracing.start', callback?: (err: Error | null) => void): void; - /** - * Stop trace events collection. Remaining collected events will be sent as a sequence of - * dataCollected events followed by tracingComplete event. - */ - post(method: 'NodeTracing.stop', callback?: (err: Error | null) => void): void; - /** - * Sends protocol message over session with given id. - */ - post(method: 'NodeWorker.sendMessageToWorker', params?: NodeWorker.SendMessageToWorkerParameterType, callback?: (err: Error | null) => void): void; - post(method: 'NodeWorker.sendMessageToWorker', callback?: (err: Error | null) => void): void; - /** - * Instructs the inspector to attach to running workers. Will also attach to new workers - * as they start - */ - post(method: 'NodeWorker.enable', params?: NodeWorker.EnableParameterType, callback?: (err: Error | null) => void): void; - post(method: 'NodeWorker.enable', callback?: (err: Error | null) => void): void; - /** - * Detaches from all running workers and disables attaching to new workers as they are started. - */ - post(method: 'NodeWorker.disable', callback?: (err: Error | null) => void): void; - /** - * Detached from the worker with given sessionId. - */ - post(method: 'NodeWorker.detach', params?: NodeWorker.DetachParameterType, callback?: (err: Error | null) => void): void; - post(method: 'NodeWorker.detach', callback?: (err: Error | null) => void): void; - /** - * Enable the `NodeRuntime.waitingForDisconnect`. - */ - post(method: 'NodeRuntime.notifyWhenWaitingForDisconnect', params?: NodeRuntime.NotifyWhenWaitingForDisconnectParameterType, callback?: (err: Error | null) => void): void; - post(method: 'NodeRuntime.notifyWhenWaitingForDisconnect', callback?: (err: Error | null) => void): void; - // Events - addListener(event: string, listener: (...args: any[]) => void): this; - /** - * Emitted when any notification from the V8 Inspector is received. - */ - addListener(event: 'inspectorNotification', listener: (message: InspectorNotification<{}>) => void): this; - /** - * Issued when new execution context is created. - */ - addListener(event: 'Runtime.executionContextCreated', listener: (message: InspectorNotification) => void): this; - /** - * Issued when execution context is destroyed. - */ - addListener(event: 'Runtime.executionContextDestroyed', listener: (message: InspectorNotification) => void): this; - /** - * Issued when all executionContexts were cleared in browser - */ - addListener(event: 'Runtime.executionContextsCleared', listener: () => void): this; - /** - * Issued when exception was thrown and unhandled. - */ - addListener(event: 'Runtime.exceptionThrown', listener: (message: InspectorNotification) => void): this; - /** - * Issued when unhandled exception was revoked. - */ - addListener(event: 'Runtime.exceptionRevoked', listener: (message: InspectorNotification) => void): this; - /** - * Issued when console API was called. - */ - addListener(event: 'Runtime.consoleAPICalled', listener: (message: InspectorNotification) => void): this; - /** - * Issued when object should be inspected (for example, as a result of inspect() command line API call). - */ - addListener(event: 'Runtime.inspectRequested', listener: (message: InspectorNotification) => void): this; - /** - * Fired when virtual machine parses script. This event is also fired for all known and uncollected scripts upon enabling debugger. - */ - addListener(event: 'Debugger.scriptParsed', listener: (message: InspectorNotification) => void): this; - /** - * Fired when virtual machine fails to parse the script. - */ - addListener(event: 'Debugger.scriptFailedToParse', listener: (message: InspectorNotification) => void): this; - /** - * Fired when breakpoint is resolved to an actual script and location. - */ - addListener(event: 'Debugger.breakpointResolved', listener: (message: InspectorNotification) => void): this; - /** - * Fired when the virtual machine stopped on breakpoint or exception or any other stop criteria. - */ - addListener(event: 'Debugger.paused', listener: (message: InspectorNotification) => void): this; - /** - * Fired when the virtual machine resumed execution. - */ - addListener(event: 'Debugger.resumed', listener: () => void): this; - /** - * Issued when new console message is added. - */ - addListener(event: 'Console.messageAdded', listener: (message: InspectorNotification) => void): this; - /** - * Sent when new profile recording is started using console.profile() call. - */ - addListener(event: 'Profiler.consoleProfileStarted', listener: (message: InspectorNotification) => void): this; - addListener(event: 'Profiler.consoleProfileFinished', listener: (message: InspectorNotification) => void): this; - addListener(event: 'HeapProfiler.addHeapSnapshotChunk', listener: (message: InspectorNotification) => void): this; - addListener(event: 'HeapProfiler.resetProfiles', listener: () => void): this; - addListener(event: 'HeapProfiler.reportHeapSnapshotProgress', listener: (message: InspectorNotification) => void): this; - /** - * If heap objects tracking has been started then backend regularly sends a current value for last seen object id and corresponding timestamp. If the were changes in the heap since last event then one or more heapStatsUpdate events will be sent before a new lastSeenObjectId event. - */ - addListener(event: 'HeapProfiler.lastSeenObjectId', listener: (message: InspectorNotification) => void): this; - /** - * If heap objects tracking has been started then backend may send update for one or more fragments - */ - addListener(event: 'HeapProfiler.heapStatsUpdate', listener: (message: InspectorNotification) => void): this; - /** - * Contains an bucket of collected trace events. - */ - addListener(event: 'NodeTracing.dataCollected', listener: (message: InspectorNotification) => void): this; - /** - * Signals that tracing is stopped and there is no trace buffers pending flush, all data were - * delivered via dataCollected events. - */ - addListener(event: 'NodeTracing.tracingComplete', listener: () => void): this; - /** - * Issued when attached to a worker. - */ - addListener(event: 'NodeWorker.attachedToWorker', listener: (message: InspectorNotification) => void): this; - /** - * Issued when detached from the worker. - */ - addListener(event: 'NodeWorker.detachedFromWorker', listener: (message: InspectorNotification) => void): this; - /** - * Notifies about a new protocol message received from the session - * (session ID is provided in attachedToWorker notification). - */ - addListener(event: 'NodeWorker.receivedMessageFromWorker', listener: (message: InspectorNotification) => void): this; - /** - * This event is fired instead of `Runtime.executionContextDestroyed` when - * enabled. - * It is fired when the Node process finished all code execution and is - * waiting for all frontends to disconnect. - */ - addListener(event: 'NodeRuntime.waitingForDisconnect', listener: () => void): this; - emit(event: string | symbol, ...args: any[]): boolean; - emit(event: 'inspectorNotification', message: InspectorNotification<{}>): boolean; - emit(event: 'Runtime.executionContextCreated', message: InspectorNotification): boolean; - emit(event: 'Runtime.executionContextDestroyed', message: InspectorNotification): boolean; - emit(event: 'Runtime.executionContextsCleared'): boolean; - emit(event: 'Runtime.exceptionThrown', message: InspectorNotification): boolean; - emit(event: 'Runtime.exceptionRevoked', message: InspectorNotification): boolean; - emit(event: 'Runtime.consoleAPICalled', message: InspectorNotification): boolean; - emit(event: 'Runtime.inspectRequested', message: InspectorNotification): boolean; - emit(event: 'Debugger.scriptParsed', message: InspectorNotification): boolean; - emit(event: 'Debugger.scriptFailedToParse', message: InspectorNotification): boolean; - emit(event: 'Debugger.breakpointResolved', message: InspectorNotification): boolean; - emit(event: 'Debugger.paused', message: InspectorNotification): boolean; - emit(event: 'Debugger.resumed'): boolean; - emit(event: 'Console.messageAdded', message: InspectorNotification): boolean; - emit(event: 'Profiler.consoleProfileStarted', message: InspectorNotification): boolean; - emit(event: 'Profiler.consoleProfileFinished', message: InspectorNotification): boolean; - emit(event: 'HeapProfiler.addHeapSnapshotChunk', message: InspectorNotification): boolean; - emit(event: 'HeapProfiler.resetProfiles'): boolean; - emit(event: 'HeapProfiler.reportHeapSnapshotProgress', message: InspectorNotification): boolean; - emit(event: 'HeapProfiler.lastSeenObjectId', message: InspectorNotification): boolean; - emit(event: 'HeapProfiler.heapStatsUpdate', message: InspectorNotification): boolean; - emit(event: 'NodeTracing.dataCollected', message: InspectorNotification): boolean; - emit(event: 'NodeTracing.tracingComplete'): boolean; - emit(event: 'NodeWorker.attachedToWorker', message: InspectorNotification): boolean; - emit(event: 'NodeWorker.detachedFromWorker', message: InspectorNotification): boolean; - emit(event: 'NodeWorker.receivedMessageFromWorker', message: InspectorNotification): boolean; - emit(event: 'NodeRuntime.waitingForDisconnect'): boolean; - on(event: string, listener: (...args: any[]) => void): this; - /** - * Emitted when any notification from the V8 Inspector is received. - */ - on(event: 'inspectorNotification', listener: (message: InspectorNotification<{}>) => void): this; - /** - * Issued when new execution context is created. - */ - on(event: 'Runtime.executionContextCreated', listener: (message: InspectorNotification) => void): this; - /** - * Issued when execution context is destroyed. - */ - on(event: 'Runtime.executionContextDestroyed', listener: (message: InspectorNotification) => void): this; - /** - * Issued when all executionContexts were cleared in browser - */ - on(event: 'Runtime.executionContextsCleared', listener: () => void): this; - /** - * Issued when exception was thrown and unhandled. - */ - on(event: 'Runtime.exceptionThrown', listener: (message: InspectorNotification) => void): this; - /** - * Issued when unhandled exception was revoked. - */ - on(event: 'Runtime.exceptionRevoked', listener: (message: InspectorNotification) => void): this; - /** - * Issued when console API was called. - */ - on(event: 'Runtime.consoleAPICalled', listener: (message: InspectorNotification) => void): this; - /** - * Issued when object should be inspected (for example, as a result of inspect() command line API call). - */ - on(event: 'Runtime.inspectRequested', listener: (message: InspectorNotification) => void): this; - /** - * Fired when virtual machine parses script. This event is also fired for all known and uncollected scripts upon enabling debugger. - */ - on(event: 'Debugger.scriptParsed', listener: (message: InspectorNotification) => void): this; - /** - * Fired when virtual machine fails to parse the script. - */ - on(event: 'Debugger.scriptFailedToParse', listener: (message: InspectorNotification) => void): this; - /** - * Fired when breakpoint is resolved to an actual script and location. - */ - on(event: 'Debugger.breakpointResolved', listener: (message: InspectorNotification) => void): this; - /** - * Fired when the virtual machine stopped on breakpoint or exception or any other stop criteria. - */ - on(event: 'Debugger.paused', listener: (message: InspectorNotification) => void): this; - /** - * Fired when the virtual machine resumed execution. - */ - on(event: 'Debugger.resumed', listener: () => void): this; - /** - * Issued when new console message is added. - */ - on(event: 'Console.messageAdded', listener: (message: InspectorNotification) => void): this; - /** - * Sent when new profile recording is started using console.profile() call. - */ - on(event: 'Profiler.consoleProfileStarted', listener: (message: InspectorNotification) => void): this; - on(event: 'Profiler.consoleProfileFinished', listener: (message: InspectorNotification) => void): this; - on(event: 'HeapProfiler.addHeapSnapshotChunk', listener: (message: InspectorNotification) => void): this; - on(event: 'HeapProfiler.resetProfiles', listener: () => void): this; - on(event: 'HeapProfiler.reportHeapSnapshotProgress', listener: (message: InspectorNotification) => void): this; - /** - * If heap objects tracking has been started then backend regularly sends a current value for last seen object id and corresponding timestamp. If the were changes in the heap since last event then one or more heapStatsUpdate events will be sent before a new lastSeenObjectId event. - */ - on(event: 'HeapProfiler.lastSeenObjectId', listener: (message: InspectorNotification) => void): this; - /** - * If heap objects tracking has been started then backend may send update for one or more fragments - */ - on(event: 'HeapProfiler.heapStatsUpdate', listener: (message: InspectorNotification) => void): this; - /** - * Contains an bucket of collected trace events. - */ - on(event: 'NodeTracing.dataCollected', listener: (message: InspectorNotification) => void): this; - /** - * Signals that tracing is stopped and there is no trace buffers pending flush, all data were - * delivered via dataCollected events. - */ - on(event: 'NodeTracing.tracingComplete', listener: () => void): this; - /** - * Issued when attached to a worker. - */ - on(event: 'NodeWorker.attachedToWorker', listener: (message: InspectorNotification) => void): this; - /** - * Issued when detached from the worker. - */ - on(event: 'NodeWorker.detachedFromWorker', listener: (message: InspectorNotification) => void): this; - /** - * Notifies about a new protocol message received from the session - * (session ID is provided in attachedToWorker notification). - */ - on(event: 'NodeWorker.receivedMessageFromWorker', listener: (message: InspectorNotification) => void): this; - /** - * This event is fired instead of `Runtime.executionContextDestroyed` when - * enabled. - * It is fired when the Node process finished all code execution and is - * waiting for all frontends to disconnect. - */ - on(event: 'NodeRuntime.waitingForDisconnect', listener: () => void): this; - once(event: string, listener: (...args: any[]) => void): this; - /** - * Emitted when any notification from the V8 Inspector is received. - */ - once(event: 'inspectorNotification', listener: (message: InspectorNotification<{}>) => void): this; - /** - * Issued when new execution context is created. - */ - once(event: 'Runtime.executionContextCreated', listener: (message: InspectorNotification) => void): this; - /** - * Issued when execution context is destroyed. - */ - once(event: 'Runtime.executionContextDestroyed', listener: (message: InspectorNotification) => void): this; - /** - * Issued when all executionContexts were cleared in browser - */ - once(event: 'Runtime.executionContextsCleared', listener: () => void): this; - /** - * Issued when exception was thrown and unhandled. - */ - once(event: 'Runtime.exceptionThrown', listener: (message: InspectorNotification) => void): this; - /** - * Issued when unhandled exception was revoked. - */ - once(event: 'Runtime.exceptionRevoked', listener: (message: InspectorNotification) => void): this; - /** - * Issued when console API was called. - */ - once(event: 'Runtime.consoleAPICalled', listener: (message: InspectorNotification) => void): this; - /** - * Issued when object should be inspected (for example, as a result of inspect() command line API call). - */ - once(event: 'Runtime.inspectRequested', listener: (message: InspectorNotification) => void): this; - /** - * Fired when virtual machine parses script. This event is also fired for all known and uncollected scripts upon enabling debugger. - */ - once(event: 'Debugger.scriptParsed', listener: (message: InspectorNotification) => void): this; - /** - * Fired when virtual machine fails to parse the script. - */ - once(event: 'Debugger.scriptFailedToParse', listener: (message: InspectorNotification) => void): this; - /** - * Fired when breakpoint is resolved to an actual script and location. - */ - once(event: 'Debugger.breakpointResolved', listener: (message: InspectorNotification) => void): this; - /** - * Fired when the virtual machine stopped on breakpoint or exception or any other stop criteria. - */ - once(event: 'Debugger.paused', listener: (message: InspectorNotification) => void): this; - /** - * Fired when the virtual machine resumed execution. - */ - once(event: 'Debugger.resumed', listener: () => void): this; - /** - * Issued when new console message is added. - */ - once(event: 'Console.messageAdded', listener: (message: InspectorNotification) => void): this; - /** - * Sent when new profile recording is started using console.profile() call. - */ - once(event: 'Profiler.consoleProfileStarted', listener: (message: InspectorNotification) => void): this; - once(event: 'Profiler.consoleProfileFinished', listener: (message: InspectorNotification) => void): this; - once(event: 'HeapProfiler.addHeapSnapshotChunk', listener: (message: InspectorNotification) => void): this; - once(event: 'HeapProfiler.resetProfiles', listener: () => void): this; - once(event: 'HeapProfiler.reportHeapSnapshotProgress', listener: (message: InspectorNotification) => void): this; - /** - * If heap objects tracking has been started then backend regularly sends a current value for last seen object id and corresponding timestamp. If the were changes in the heap since last event then one or more heapStatsUpdate events will be sent before a new lastSeenObjectId event. - */ - once(event: 'HeapProfiler.lastSeenObjectId', listener: (message: InspectorNotification) => void): this; - /** - * If heap objects tracking has been started then backend may send update for one or more fragments - */ - once(event: 'HeapProfiler.heapStatsUpdate', listener: (message: InspectorNotification) => void): this; - /** - * Contains an bucket of collected trace events. - */ - once(event: 'NodeTracing.dataCollected', listener: (message: InspectorNotification) => void): this; - /** - * Signals that tracing is stopped and there is no trace buffers pending flush, all data were - * delivered via dataCollected events. - */ - once(event: 'NodeTracing.tracingComplete', listener: () => void): this; - /** - * Issued when attached to a worker. - */ - once(event: 'NodeWorker.attachedToWorker', listener: (message: InspectorNotification) => void): this; - /** - * Issued when detached from the worker. - */ - once(event: 'NodeWorker.detachedFromWorker', listener: (message: InspectorNotification) => void): this; - /** - * Notifies about a new protocol message received from the session - * (session ID is provided in attachedToWorker notification). - */ - once(event: 'NodeWorker.receivedMessageFromWorker', listener: (message: InspectorNotification) => void): this; - /** - * This event is fired instead of `Runtime.executionContextDestroyed` when - * enabled. - * It is fired when the Node process finished all code execution and is - * waiting for all frontends to disconnect. - */ - once(event: 'NodeRuntime.waitingForDisconnect', listener: () => void): this; - prependListener(event: string, listener: (...args: any[]) => void): this; - /** - * Emitted when any notification from the V8 Inspector is received. - */ - prependListener(event: 'inspectorNotification', listener: (message: InspectorNotification<{}>) => void): this; - /** - * Issued when new execution context is created. - */ - prependListener(event: 'Runtime.executionContextCreated', listener: (message: InspectorNotification) => void): this; - /** - * Issued when execution context is destroyed. - */ - prependListener(event: 'Runtime.executionContextDestroyed', listener: (message: InspectorNotification) => void): this; - /** - * Issued when all executionContexts were cleared in browser - */ - prependListener(event: 'Runtime.executionContextsCleared', listener: () => void): this; - /** - * Issued when exception was thrown and unhandled. - */ - prependListener(event: 'Runtime.exceptionThrown', listener: (message: InspectorNotification) => void): this; - /** - * Issued when unhandled exception was revoked. - */ - prependListener(event: 'Runtime.exceptionRevoked', listener: (message: InspectorNotification) => void): this; - /** - * Issued when console API was called. - */ - prependListener(event: 'Runtime.consoleAPICalled', listener: (message: InspectorNotification) => void): this; - /** - * Issued when object should be inspected (for example, as a result of inspect() command line API call). - */ - prependListener(event: 'Runtime.inspectRequested', listener: (message: InspectorNotification) => void): this; - /** - * Fired when virtual machine parses script. This event is also fired for all known and uncollected scripts upon enabling debugger. - */ - prependListener(event: 'Debugger.scriptParsed', listener: (message: InspectorNotification) => void): this; - /** - * Fired when virtual machine fails to parse the script. - */ - prependListener(event: 'Debugger.scriptFailedToParse', listener: (message: InspectorNotification) => void): this; - /** - * Fired when breakpoint is resolved to an actual script and location. - */ - prependListener(event: 'Debugger.breakpointResolved', listener: (message: InspectorNotification) => void): this; - /** - * Fired when the virtual machine stopped on breakpoint or exception or any other stop criteria. - */ - prependListener(event: 'Debugger.paused', listener: (message: InspectorNotification) => void): this; - /** - * Fired when the virtual machine resumed execution. - */ - prependListener(event: 'Debugger.resumed', listener: () => void): this; - /** - * Issued when new console message is added. - */ - prependListener(event: 'Console.messageAdded', listener: (message: InspectorNotification) => void): this; - /** - * Sent when new profile recording is started using console.profile() call. - */ - prependListener(event: 'Profiler.consoleProfileStarted', listener: (message: InspectorNotification) => void): this; - prependListener(event: 'Profiler.consoleProfileFinished', listener: (message: InspectorNotification) => void): this; - prependListener(event: 'HeapProfiler.addHeapSnapshotChunk', listener: (message: InspectorNotification) => void): this; - prependListener(event: 'HeapProfiler.resetProfiles', listener: () => void): this; - prependListener(event: 'HeapProfiler.reportHeapSnapshotProgress', listener: (message: InspectorNotification) => void): this; - /** - * If heap objects tracking has been started then backend regularly sends a current value for last seen object id and corresponding timestamp. If the were changes in the heap since last event then one or more heapStatsUpdate events will be sent before a new lastSeenObjectId event. - */ - prependListener(event: 'HeapProfiler.lastSeenObjectId', listener: (message: InspectorNotification) => void): this; - /** - * If heap objects tracking has been started then backend may send update for one or more fragments - */ - prependListener(event: 'HeapProfiler.heapStatsUpdate', listener: (message: InspectorNotification) => void): this; - /** - * Contains an bucket of collected trace events. - */ - prependListener(event: 'NodeTracing.dataCollected', listener: (message: InspectorNotification) => void): this; - /** - * Signals that tracing is stopped and there is no trace buffers pending flush, all data were - * delivered via dataCollected events. - */ - prependListener(event: 'NodeTracing.tracingComplete', listener: () => void): this; - /** - * Issued when attached to a worker. - */ - prependListener(event: 'NodeWorker.attachedToWorker', listener: (message: InspectorNotification) => void): this; - /** - * Issued when detached from the worker. - */ - prependListener(event: 'NodeWorker.detachedFromWorker', listener: (message: InspectorNotification) => void): this; - /** - * Notifies about a new protocol message received from the session - * (session ID is provided in attachedToWorker notification). - */ - prependListener(event: 'NodeWorker.receivedMessageFromWorker', listener: (message: InspectorNotification) => void): this; - /** - * This event is fired instead of `Runtime.executionContextDestroyed` when - * enabled. - * It is fired when the Node process finished all code execution and is - * waiting for all frontends to disconnect. - */ - prependListener(event: 'NodeRuntime.waitingForDisconnect', listener: () => void): this; - prependOnceListener(event: string, listener: (...args: any[]) => void): this; - /** - * Emitted when any notification from the V8 Inspector is received. - */ - prependOnceListener(event: 'inspectorNotification', listener: (message: InspectorNotification<{}>) => void): this; - /** - * Issued when new execution context is created. - */ - prependOnceListener(event: 'Runtime.executionContextCreated', listener: (message: InspectorNotification) => void): this; - /** - * Issued when execution context is destroyed. - */ - prependOnceListener(event: 'Runtime.executionContextDestroyed', listener: (message: InspectorNotification) => void): this; - /** - * Issued when all executionContexts were cleared in browser - */ - prependOnceListener(event: 'Runtime.executionContextsCleared', listener: () => void): this; - /** - * Issued when exception was thrown and unhandled. - */ - prependOnceListener(event: 'Runtime.exceptionThrown', listener: (message: InspectorNotification) => void): this; - /** - * Issued when unhandled exception was revoked. - */ - prependOnceListener(event: 'Runtime.exceptionRevoked', listener: (message: InspectorNotification) => void): this; - /** - * Issued when console API was called. - */ - prependOnceListener(event: 'Runtime.consoleAPICalled', listener: (message: InspectorNotification) => void): this; - /** - * Issued when object should be inspected (for example, as a result of inspect() command line API call). - */ - prependOnceListener(event: 'Runtime.inspectRequested', listener: (message: InspectorNotification) => void): this; - /** - * Fired when virtual machine parses script. This event is also fired for all known and uncollected scripts upon enabling debugger. - */ - prependOnceListener(event: 'Debugger.scriptParsed', listener: (message: InspectorNotification) => void): this; - /** - * Fired when virtual machine fails to parse the script. - */ - prependOnceListener(event: 'Debugger.scriptFailedToParse', listener: (message: InspectorNotification) => void): this; - /** - * Fired when breakpoint is resolved to an actual script and location. - */ - prependOnceListener(event: 'Debugger.breakpointResolved', listener: (message: InspectorNotification) => void): this; - /** - * Fired when the virtual machine stopped on breakpoint or exception or any other stop criteria. - */ - prependOnceListener(event: 'Debugger.paused', listener: (message: InspectorNotification) => void): this; - /** - * Fired when the virtual machine resumed execution. - */ - prependOnceListener(event: 'Debugger.resumed', listener: () => void): this; - /** - * Issued when new console message is added. - */ - prependOnceListener(event: 'Console.messageAdded', listener: (message: InspectorNotification) => void): this; - /** - * Sent when new profile recording is started using console.profile() call. - */ - prependOnceListener(event: 'Profiler.consoleProfileStarted', listener: (message: InspectorNotification) => void): this; - prependOnceListener(event: 'Profiler.consoleProfileFinished', listener: (message: InspectorNotification) => void): this; - prependOnceListener(event: 'HeapProfiler.addHeapSnapshotChunk', listener: (message: InspectorNotification) => void): this; - prependOnceListener(event: 'HeapProfiler.resetProfiles', listener: () => void): this; - prependOnceListener(event: 'HeapProfiler.reportHeapSnapshotProgress', listener: (message: InspectorNotification) => void): this; - /** - * If heap objects tracking has been started then backend regularly sends a current value for last seen object id and corresponding timestamp. If the were changes in the heap since last event then one or more heapStatsUpdate events will be sent before a new lastSeenObjectId event. - */ - prependOnceListener(event: 'HeapProfiler.lastSeenObjectId', listener: (message: InspectorNotification) => void): this; - /** - * If heap objects tracking has been started then backend may send update for one or more fragments - */ - prependOnceListener(event: 'HeapProfiler.heapStatsUpdate', listener: (message: InspectorNotification) => void): this; - /** - * Contains an bucket of collected trace events. - */ - prependOnceListener(event: 'NodeTracing.dataCollected', listener: (message: InspectorNotification) => void): this; - /** - * Signals that tracing is stopped and there is no trace buffers pending flush, all data were - * delivered via dataCollected events. - */ - prependOnceListener(event: 'NodeTracing.tracingComplete', listener: () => void): this; - /** - * Issued when attached to a worker. - */ - prependOnceListener(event: 'NodeWorker.attachedToWorker', listener: (message: InspectorNotification) => void): this; - /** - * Issued when detached from the worker. - */ - prependOnceListener(event: 'NodeWorker.detachedFromWorker', listener: (message: InspectorNotification) => void): this; - /** - * Notifies about a new protocol message received from the session - * (session ID is provided in attachedToWorker notification). - */ - prependOnceListener(event: 'NodeWorker.receivedMessageFromWorker', listener: (message: InspectorNotification) => void): this; - /** - * This event is fired instead of `Runtime.executionContextDestroyed` when - * enabled. - * It is fired when the Node process finished all code execution and is - * waiting for all frontends to disconnect. - */ - prependOnceListener(event: 'NodeRuntime.waitingForDisconnect', listener: () => void): this; - } - /** - * Activate inspector on host and port. Equivalent to`node --inspect=[[host:]port]`, but can be done programmatically after node has - * started. - * - * If wait is `true`, will block until a client has connected to the inspect port - * and flow control has been passed to the debugger client. - * - * See the `security warning` regarding the `host`parameter usage. - * @param [port='what was specified on the CLI'] Port to listen on for inspector connections. Optional. - * @param [host='what was specified on the CLI'] Host to listen on for inspector connections. Optional. - * @param [wait=false] Block until a client has connected. Optional. - * @returns Disposable that calls `inspector.close()`. - */ - function open(port?: number, host?: string, wait?: boolean): Disposable; - /** - * Deactivate the inspector. Blocks until there are no active connections. - */ - function close(): void; - /** - * Return the URL of the active inspector, or `undefined` if there is none. - * - * ```console - * $ node --inspect -p 'inspector.url()' - * Debugger listening on ws://127.0.0.1:9229/166e272e-7a30-4d09-97ce-f1c012b43c34 - * For help, see: https://nodejs.org/en/docs/inspector - * ws://127.0.0.1:9229/166e272e-7a30-4d09-97ce-f1c012b43c34 - * - * $ node --inspect=localhost:3000 -p 'inspector.url()' - * Debugger listening on ws://localhost:3000/51cf8d0e-3c36-4c59-8efd-54519839e56a - * For help, see: https://nodejs.org/en/docs/inspector - * ws://localhost:3000/51cf8d0e-3c36-4c59-8efd-54519839e56a - * - * $ node -p 'inspector.url()' - * undefined - * ``` - */ - function url(): string | undefined; - /** - * Blocks until a client (existing or connected later) has sent`Runtime.runIfWaitingForDebugger` command. - * - * An exception will be thrown if there is no active inspector. - * @since v12.7.0 - */ - function waitForDebugger(): void; -} -/** - * The inspector module provides an API for interacting with the V8 inspector. - */ -declare module 'node:inspector' { - import inspector = require('inspector'); - export = inspector; -} diff --git a/node_modules/@types/node/ts4.8/module.d.ts b/node_modules/@types/node/ts4.8/module.d.ts deleted file mode 100644 index c38a9b8..0000000 --- a/node_modules/@types/node/ts4.8/module.d.ts +++ /dev/null @@ -1,315 +0,0 @@ -/** - * @since v0.3.7 - * @experimental - */ -declare module "module" { - import { URL } from "node:url"; - import { MessagePort } from "node:worker_threads"; - namespace Module { - /** - * The `module.syncBuiltinESMExports()` method updates all the live bindings for - * builtin `ES Modules` to match the properties of the `CommonJS` exports. It - * does not add or remove exported names from the `ES Modules`. - * - * ```js - * const fs = require('node:fs'); - * const assert = require('node:assert'); - * const { syncBuiltinESMExports } = require('node:module'); - * - * fs.readFile = newAPI; - * - * delete fs.readFileSync; - * - * function newAPI() { - * // ... - * } - * - * fs.newAPI = newAPI; - * - * syncBuiltinESMExports(); - * - * import('node:fs').then((esmFS) => { - * // It syncs the existing readFile property with the new value - * assert.strictEqual(esmFS.readFile, newAPI); - * // readFileSync has been deleted from the required fs - * assert.strictEqual('readFileSync' in fs, false); - * // syncBuiltinESMExports() does not remove readFileSync from esmFS - * assert.strictEqual('readFileSync' in esmFS, true); - * // syncBuiltinESMExports() does not add names - * assert.strictEqual(esmFS.newAPI, undefined); - * }); - * ``` - * @since v12.12.0 - */ - function syncBuiltinESMExports(): void; - /** - * `path` is the resolved path for the file for which a corresponding source map - * should be fetched. - * @since v13.7.0, v12.17.0 - * @return Returns `module.SourceMap` if a source map is found, `undefined` otherwise. - */ - function findSourceMap(path: string, error?: Error): SourceMap; - interface SourceMapPayload { - file: string; - version: number; - sources: string[]; - sourcesContent: string[]; - names: string[]; - mappings: string; - sourceRoot: string; - } - interface SourceMapping { - generatedLine: number; - generatedColumn: number; - originalSource: string; - originalLine: number; - originalColumn: number; - } - interface SourceOrigin { - /** - * The name of the range in the source map, if one was provided - */ - name?: string; - /** - * The file name of the original source, as reported in the SourceMap - */ - fileName: string; - /** - * The 1-indexed lineNumber of the corresponding call site in the original source - */ - lineNumber: number; - /** - * The 1-indexed columnNumber of the corresponding call site in the original source - */ - columnNumber: number; - } - /** - * @since v13.7.0, v12.17.0 - */ - class SourceMap { - /** - * Getter for the payload used to construct the `SourceMap` instance. - */ - readonly payload: SourceMapPayload; - constructor(payload: SourceMapPayload); - /** - * Given a line offset and column offset in the generated source - * file, returns an object representing the SourceMap range in the - * original file if found, or an empty object if not. - * - * The object returned contains the following keys: - * - * The returned value represents the raw range as it appears in the - * SourceMap, based on zero-indexed offsets, _not_ 1-indexed line and - * column numbers as they appear in Error messages and CallSite - * objects. - * - * To get the corresponding 1-indexed line and column numbers from a - * lineNumber and columnNumber as they are reported by Error stacks - * and CallSite objects, use `sourceMap.findOrigin(lineNumber, columnNumber)` - * @param lineOffset The zero-indexed line number offset in the generated source - * @param columnOffset The zero-indexed column number offset in the generated source - */ - findEntry(lineOffset: number, columnOffset: number): SourceMapping; - /** - * Given a 1-indexed `lineNumber` and `columnNumber` from a call site in the generated source, - * find the corresponding call site location in the original source. - * - * If the `lineNumber` and `columnNumber` provided are not found in any source map, - * then an empty object is returned. - * @param lineNumber The 1-indexed line number of the call site in the generated source - * @param columnNumber The 1-indexed column number of the call site in the generated source - */ - findOrigin(lineNumber: number, columnNumber: number): SourceOrigin | {}; - } - /** @deprecated Use `ImportAttributes` instead */ - interface ImportAssertions extends ImportAttributes {} - interface ImportAttributes extends NodeJS.Dict { - type?: string | undefined; - } - type ModuleFormat = "builtin" | "commonjs" | "json" | "module" | "wasm"; - type ModuleSource = string | ArrayBuffer | NodeJS.TypedArray; - interface GlobalPreloadContext { - port: MessagePort; - } - /** - * @deprecated This hook will be removed in a future version. - * Use `initialize` instead. When a loader has an `initialize` export, `globalPreload` will be ignored. - * - * Sometimes it might be necessary to run some code inside of the same global scope that the application runs in. - * This hook allows the return of a string that is run as a sloppy-mode script on startup. - * - * @param context Information to assist the preload code - * @return Code to run before application startup - */ - type GlobalPreloadHook = (context: GlobalPreloadContext) => string; - /** - * The `initialize` hook provides a way to define a custom function that runs in the hooks thread - * when the hooks module is initialized. Initialization happens when the hooks module is registered via `register`. - * - * This hook can receive data from a `register` invocation, including ports and other transferrable objects. - * The return value of `initialize` can be a `Promise`, in which case it will be awaited before the main application thread execution resumes. - */ - type InitializeHook = (data: Data) => void | Promise; - interface ResolveHookContext { - /** - * Export conditions of the relevant `package.json` - */ - conditions: string[]; - /** - * @deprecated Use `importAttributes` instead - */ - importAssertions: ImportAttributes; - /** - * An object whose key-value pairs represent the assertions for the module to import - */ - importAttributes: ImportAttributes; - /** - * The module importing this one, or undefined if this is the Node.js entry point - */ - parentURL: string | undefined; - } - interface ResolveFnOutput { - /** - * A hint to the load hook (it might be ignored) - */ - format?: ModuleFormat | null | undefined; - /** - * @deprecated Use `importAttributes` instead - */ - importAssertions?: ImportAttributes | undefined; - /** - * The import attributes to use when caching the module (optional; if excluded the input will be used) - */ - importAttributes?: ImportAttributes | undefined; - /** - * A signal that this hook intends to terminate the chain of `resolve` hooks. - * @default false - */ - shortCircuit?: boolean | undefined; - /** - * The absolute URL to which this input resolves - */ - url: string; - } - /** - * The `resolve` hook chain is responsible for resolving file URL for a given module specifier and parent URL, and optionally its format (such as `'module'`) as a hint to the `load` hook. - * If a format is specified, the load hook is ultimately responsible for providing the final `format` value (and it is free to ignore the hint provided by `resolve`); - * if `resolve` provides a format, a custom `load` hook is required even if only to pass the value to the Node.js default `load` hook. - * - * @param specifier The specified URL path of the module to be resolved - * @param context - * @param nextResolve The subsequent `resolve` hook in the chain, or the Node.js default `resolve` hook after the last user-supplied resolve hook - */ - type ResolveHook = ( - specifier: string, - context: ResolveHookContext, - nextResolve: ( - specifier: string, - context?: ResolveHookContext, - ) => ResolveFnOutput | Promise, - ) => ResolveFnOutput | Promise; - interface LoadHookContext { - /** - * Export conditions of the relevant `package.json` - */ - conditions: string[]; - /** - * The format optionally supplied by the `resolve` hook chain - */ - format: ModuleFormat; - /** - * @deprecated Use `importAttributes` instead - */ - importAssertions: ImportAttributes; - /** - * An object whose key-value pairs represent the assertions for the module to import - */ - importAttributes: ImportAttributes; - } - interface LoadFnOutput { - format: ModuleFormat; - /** - * A signal that this hook intends to terminate the chain of `resolve` hooks. - * @default false - */ - shortCircuit?: boolean | undefined; - /** - * The source for Node.js to evaluate - */ - source?: ModuleSource; - } - /** - * The `load` hook provides a way to define a custom method of determining how a URL should be interpreted, retrieved, and parsed. - * It is also in charge of validating the import assertion. - * - * @param url The URL/path of the module to be loaded - * @param context Metadata about the module - * @param nextLoad The subsequent `load` hook in the chain, or the Node.js default `load` hook after the last user-supplied `load` hook - */ - type LoadHook = ( - url: string, - context: LoadHookContext, - nextLoad: (url: string, context?: LoadHookContext) => LoadFnOutput | Promise, - ) => LoadFnOutput | Promise; - } - interface RegisterOptions { - parentURL: string | URL; - data?: Data | undefined; - transferList?: any[] | undefined; - } - interface Module extends NodeModule {} - class Module { - static runMain(): void; - static wrap(code: string): string; - static createRequire(path: string | URL): NodeRequire; - static builtinModules: string[]; - static isBuiltin(moduleName: string): boolean; - static Module: typeof Module; - static register( - specifier: string | URL, - parentURL?: string | URL, - options?: RegisterOptions, - ): void; - static register(specifier: string | URL, options?: RegisterOptions): void; - constructor(id: string, parent?: Module); - } - global { - interface ImportMeta { - /** - * The directory name of the current module. This is the same as the `path.dirname()` of the `import.meta.filename`. - * **Caveat:** only present on `file:` modules. - */ - dirname: string; - /** - * The full absolute path and filename of the current module, with symlinks resolved. - * This is the same as the `url.fileURLToPath()` of the `import.meta.url`. - * **Caveat:** only local modules support this property. Modules not using the `file:` protocol will not provide it. - */ - filename: string; - /** - * The absolute `file:` URL of the module. - */ - url: string; - /** - * Provides a module-relative resolution function scoped to each module, returning - * the URL string. - * - * Second `parent` parameter is only used when the `--experimental-import-meta-resolve` - * command flag enabled. - * - * @since v20.6.0 - * - * @param specifier The module specifier to resolve relative to `parent`. - * @param parent The absolute parent module URL to resolve from. - * @returns The absolute (`file:`) URL string for the resolved module. - */ - resolve(specifier: string, parent?: string | URL | undefined): string; - } - } - export = Module; -} -declare module "node:module" { - import module = require("module"); - export = module; -} diff --git a/node_modules/@types/node/ts4.8/net.d.ts b/node_modules/@types/node/ts4.8/net.d.ts deleted file mode 100644 index c09b95d..0000000 --- a/node_modules/@types/node/ts4.8/net.d.ts +++ /dev/null @@ -1,954 +0,0 @@ -/** - * > Stability: 2 - Stable - * - * The `node:net` module provides an asynchronous network API for creating stream-based - * TCP or `IPC` servers ({@link createServer}) and clients - * ({@link createConnection}). - * - * It can be accessed using: - * - * ```js - * const net = require('node:net'); - * ``` - * @see [source](https://github.com/nodejs/node/blob/v20.2.0/lib/net.js) - */ -declare module "net" { - import * as stream from "node:stream"; - import { Abortable, EventEmitter } from "node:events"; - import * as dns from "node:dns"; - type LookupFunction = ( - hostname: string, - options: dns.LookupOptions, - callback: (err: NodeJS.ErrnoException | null, address: string | dns.LookupAddress[], family?: number) => void, - ) => void; - interface AddressInfo { - address: string; - family: string; - port: number; - } - interface SocketConstructorOpts { - fd?: number | undefined; - allowHalfOpen?: boolean | undefined; - readable?: boolean | undefined; - writable?: boolean | undefined; - signal?: AbortSignal; - } - interface OnReadOpts { - buffer: Uint8Array | (() => Uint8Array); - /** - * This function is called for every chunk of incoming data. - * Two arguments are passed to it: the number of bytes written to buffer and a reference to buffer. - * Return false from this function to implicitly pause() the socket. - */ - callback(bytesWritten: number, buf: Uint8Array): boolean; - } - interface ConnectOpts { - /** - * If specified, incoming data is stored in a single buffer and passed to the supplied callback when data arrives on the socket. - * Note: this will cause the streaming functionality to not provide any data, however events like 'error', 'end', and 'close' will - * still be emitted as normal and methods like pause() and resume() will also behave as expected. - */ - onread?: OnReadOpts | undefined; - } - interface TcpSocketConnectOpts extends ConnectOpts { - port: number; - host?: string | undefined; - localAddress?: string | undefined; - localPort?: number | undefined; - hints?: number | undefined; - family?: number | undefined; - lookup?: LookupFunction | undefined; - noDelay?: boolean | undefined; - keepAlive?: boolean | undefined; - keepAliveInitialDelay?: number | undefined; - /** - * @since v18.13.0 - */ - autoSelectFamily?: boolean | undefined; - /** - * @since v18.13.0 - */ - autoSelectFamilyAttemptTimeout?: number | undefined; - } - interface IpcSocketConnectOpts extends ConnectOpts { - path: string; - } - type SocketConnectOpts = TcpSocketConnectOpts | IpcSocketConnectOpts; - type SocketReadyState = "opening" | "open" | "readOnly" | "writeOnly" | "closed"; - /** - * This class is an abstraction of a TCP socket or a streaming `IPC` endpoint - * (uses named pipes on Windows, and Unix domain sockets otherwise). It is also - * an `EventEmitter`. - * - * A `net.Socket` can be created by the user and used directly to interact with - * a server. For example, it is returned by {@link createConnection}, - * so the user can use it to talk to the server. - * - * It can also be created by Node.js and passed to the user when a connection - * is received. For example, it is passed to the listeners of a `'connection'` event emitted on a {@link Server}, so the user can use - * it to interact with the client. - * @since v0.3.4 - */ - class Socket extends stream.Duplex { - constructor(options?: SocketConstructorOpts); - /** - * Destroys the socket after all data is written. If the `finish` event was already emitted the socket is destroyed immediately. - * If the socket is still writable it implicitly calls `socket.end()`. - * @since v0.3.4 - */ - destroySoon(): void; - /** - * Sends data on the socket. The second parameter specifies the encoding in the - * case of a string. It defaults to UTF8 encoding. - * - * Returns `true` if the entire data was flushed successfully to the kernel - * buffer. Returns `false` if all or part of the data was queued in user memory.`'drain'` will be emitted when the buffer is again free. - * - * The optional `callback` parameter will be executed when the data is finally - * written out, which may not be immediately. - * - * See `Writable` stream `write()` method for more - * information. - * @since v0.1.90 - * @param [encoding='utf8'] Only used when data is `string`. - */ - write(buffer: Uint8Array | string, cb?: (err?: Error) => void): boolean; - write(str: Uint8Array | string, encoding?: BufferEncoding, cb?: (err?: Error) => void): boolean; - /** - * Initiate a connection on a given socket. - * - * Possible signatures: - * - * * `socket.connect(options[, connectListener])` - * * `socket.connect(path[, connectListener])` for `IPC` connections. - * * `socket.connect(port[, host][, connectListener])` for TCP connections. - * * Returns: `net.Socket` The socket itself. - * - * This function is asynchronous. When the connection is established, the `'connect'` event will be emitted. If there is a problem connecting, - * instead of a `'connect'` event, an `'error'` event will be emitted with - * the error passed to the `'error'` listener. - * The last parameter `connectListener`, if supplied, will be added as a listener - * for the `'connect'` event **once**. - * - * This function should only be used for reconnecting a socket after`'close'` has been emitted or otherwise it may lead to undefined - * behavior. - */ - connect(options: SocketConnectOpts, connectionListener?: () => void): this; - connect(port: number, host: string, connectionListener?: () => void): this; - connect(port: number, connectionListener?: () => void): this; - connect(path: string, connectionListener?: () => void): this; - /** - * Set the encoding for the socket as a `Readable Stream`. See `readable.setEncoding()` for more information. - * @since v0.1.90 - * @return The socket itself. - */ - setEncoding(encoding?: BufferEncoding): this; - /** - * Pauses the reading of data. That is, `'data'` events will not be emitted. - * Useful to throttle back an upload. - * @return The socket itself. - */ - pause(): this; - /** - * Close the TCP connection by sending an RST packet and destroy the stream. - * If this TCP socket is in connecting status, it will send an RST packet and destroy this TCP socket once it is connected. - * Otherwise, it will call `socket.destroy` with an `ERR_SOCKET_CLOSED` Error. - * If this is not a TCP socket (for example, a pipe), calling this method will immediately throw an `ERR_INVALID_HANDLE_TYPE` Error. - * @since v18.3.0, v16.17.0 - */ - resetAndDestroy(): this; - /** - * Resumes reading after a call to `socket.pause()`. - * @return The socket itself. - */ - resume(): this; - /** - * Sets the socket to timeout after `timeout` milliseconds of inactivity on - * the socket. By default `net.Socket` do not have a timeout. - * - * When an idle timeout is triggered the socket will receive a `'timeout'` event but the connection will not be severed. The user must manually call `socket.end()` or `socket.destroy()` to - * end the connection. - * - * ```js - * socket.setTimeout(3000); - * socket.on('timeout', () => { - * console.log('socket timeout'); - * socket.end(); - * }); - * ``` - * - * If `timeout` is 0, then the existing idle timeout is disabled. - * - * The optional `callback` parameter will be added as a one-time listener for the `'timeout'` event. - * @since v0.1.90 - * @return The socket itself. - */ - setTimeout(timeout: number, callback?: () => void): this; - /** - * Enable/disable the use of Nagle's algorithm. - * - * When a TCP connection is created, it will have Nagle's algorithm enabled. - * - * Nagle's algorithm delays data before it is sent via the network. It attempts - * to optimize throughput at the expense of latency. - * - * Passing `true` for `noDelay` or not passing an argument will disable Nagle's - * algorithm for the socket. Passing `false` for `noDelay` will enable Nagle's - * algorithm. - * @since v0.1.90 - * @param [noDelay=true] - * @return The socket itself. - */ - setNoDelay(noDelay?: boolean): this; - /** - * Enable/disable keep-alive functionality, and optionally set the initial - * delay before the first keepalive probe is sent on an idle socket. - * - * Set `initialDelay` (in milliseconds) to set the delay between the last - * data packet received and the first keepalive probe. Setting `0` for`initialDelay` will leave the value unchanged from the default - * (or previous) setting. - * - * Enabling the keep-alive functionality will set the following socket options: - * - * * `SO_KEEPALIVE=1` - * * `TCP_KEEPIDLE=initialDelay` - * * `TCP_KEEPCNT=10` - * * `TCP_KEEPINTVL=1` - * @since v0.1.92 - * @param [enable=false] - * @param [initialDelay=0] - * @return The socket itself. - */ - setKeepAlive(enable?: boolean, initialDelay?: number): this; - /** - * Returns the bound `address`, the address `family` name and `port` of the - * socket as reported by the operating system:`{ port: 12346, family: 'IPv4', address: '127.0.0.1' }` - * @since v0.1.90 - */ - address(): AddressInfo | {}; - /** - * Calling `unref()` on a socket will allow the program to exit if this is the only - * active socket in the event system. If the socket is already `unref`ed calling`unref()` again will have no effect. - * @since v0.9.1 - * @return The socket itself. - */ - unref(): this; - /** - * Opposite of `unref()`, calling `ref()` on a previously `unref`ed socket will _not_ let the program exit if it's the only socket left (the default behavior). - * If the socket is `ref`ed calling `ref` again will have no effect. - * @since v0.9.1 - * @return The socket itself. - */ - ref(): this; - /** - * This property is only present if the family autoselection algorithm is enabled in `socket.connect(options)` - * and it is an array of the addresses that have been attempted. - * - * Each address is a string in the form of `$IP:$PORT`. - * If the connection was successful, then the last address is the one that the socket is currently connected to. - * @since v19.4.0 - */ - readonly autoSelectFamilyAttemptedAddresses: string[]; - /** - * This property shows the number of characters buffered for writing. The buffer - * may contain strings whose length after encoding is not yet known. So this number - * is only an approximation of the number of bytes in the buffer. - * - * `net.Socket` has the property that `socket.write()` always works. This is to - * help users get up and running quickly. The computer cannot always keep up - * with the amount of data that is written to a socket. The network connection - * simply might be too slow. Node.js will internally queue up the data written to a - * socket and send it out over the wire when it is possible. - * - * The consequence of this internal buffering is that memory may grow. - * Users who experience large or growing `bufferSize` should attempt to - * "throttle" the data flows in their program with `socket.pause()` and `socket.resume()`. - * @since v0.3.8 - * @deprecated Since v14.6.0 - Use `writableLength` instead. - */ - readonly bufferSize: number; - /** - * The amount of received bytes. - * @since v0.5.3 - */ - readonly bytesRead: number; - /** - * The amount of bytes sent. - * @since v0.5.3 - */ - readonly bytesWritten: number; - /** - * If `true`,`socket.connect(options[, connectListener])` was - * called and has not yet finished. It will stay `true` until the socket becomes - * connected, then it is set to `false` and the `'connect'` event is emitted. Note - * that the `socket.connect(options[, connectListener])` callback is a listener for the `'connect'` event. - * @since v6.1.0 - */ - readonly connecting: boolean; - /** - * This is `true` if the socket is not connected yet, either because `.connect()`has not yet been called or because it is still in the process of connecting - * (see `socket.connecting`). - * @since v11.2.0, v10.16.0 - */ - readonly pending: boolean; - /** - * See `writable.destroyed` for further details. - */ - readonly destroyed: boolean; - /** - * The string representation of the local IP address the remote client is - * connecting on. For example, in a server listening on `'0.0.0.0'`, if a client - * connects on `'192.168.1.1'`, the value of `socket.localAddress` would be`'192.168.1.1'`. - * @since v0.9.6 - */ - readonly localAddress?: string; - /** - * The numeric representation of the local port. For example, `80` or `21`. - * @since v0.9.6 - */ - readonly localPort?: number; - /** - * The string representation of the local IP family. `'IPv4'` or `'IPv6'`. - * @since v18.8.0, v16.18.0 - */ - readonly localFamily?: string; - /** - * This property represents the state of the connection as a string. - * - * * If the stream is connecting `socket.readyState` is `opening`. - * * If the stream is readable and writable, it is `open`. - * * If the stream is readable and not writable, it is `readOnly`. - * * If the stream is not readable and writable, it is `writeOnly`. - * @since v0.5.0 - */ - readonly readyState: SocketReadyState; - /** - * The string representation of the remote IP address. For example,`'74.125.127.100'` or `'2001:4860:a005::68'`. Value may be `undefined` if - * the socket is destroyed (for example, if the client disconnected). - * @since v0.5.10 - */ - readonly remoteAddress?: string | undefined; - /** - * The string representation of the remote IP family. `'IPv4'` or `'IPv6'`. Value may be `undefined` if - * the socket is destroyed (for example, if the client disconnected). - * @since v0.11.14 - */ - readonly remoteFamily?: string | undefined; - /** - * The numeric representation of the remote port. For example, `80` or `21`. Value may be `undefined` if - * the socket is destroyed (for example, if the client disconnected). - * @since v0.5.10 - */ - readonly remotePort?: number | undefined; - /** - * The socket timeout in milliseconds as set by `socket.setTimeout()`. - * It is `undefined` if a timeout has not been set. - * @since v10.7.0 - */ - readonly timeout?: number | undefined; - /** - * Half-closes the socket. i.e., it sends a FIN packet. It is possible the - * server will still send some data. - * - * See `writable.end()` for further details. - * @since v0.1.90 - * @param [encoding='utf8'] Only used when data is `string`. - * @param callback Optional callback for when the socket is finished. - * @return The socket itself. - */ - end(callback?: () => void): this; - end(buffer: Uint8Array | string, callback?: () => void): this; - end(str: Uint8Array | string, encoding?: BufferEncoding, callback?: () => void): this; - /** - * events.EventEmitter - * 1. close - * 2. connect - * 3. data - * 4. drain - * 5. end - * 6. error - * 7. lookup - * 8. ready - * 9. timeout - */ - addListener(event: string, listener: (...args: any[]) => void): this; - addListener(event: "close", listener: (hadError: boolean) => void): this; - addListener(event: "connect", listener: () => void): this; - addListener(event: "data", listener: (data: Buffer) => void): this; - addListener(event: "drain", listener: () => void): this; - addListener(event: "end", listener: () => void): this; - addListener(event: "error", listener: (err: Error) => void): this; - addListener( - event: "lookup", - listener: (err: Error, address: string, family: string | number, host: string) => void, - ): this; - addListener(event: "ready", listener: () => void): this; - addListener(event: "timeout", listener: () => void): this; - emit(event: string | symbol, ...args: any[]): boolean; - emit(event: "close", hadError: boolean): boolean; - emit(event: "connect"): boolean; - emit(event: "data", data: Buffer): boolean; - emit(event: "drain"): boolean; - emit(event: "end"): boolean; - emit(event: "error", err: Error): boolean; - emit(event: "lookup", err: Error, address: string, family: string | number, host: string): boolean; - emit(event: "ready"): boolean; - emit(event: "timeout"): boolean; - on(event: string, listener: (...args: any[]) => void): this; - on(event: "close", listener: (hadError: boolean) => void): this; - on(event: "connect", listener: () => void): this; - on(event: "data", listener: (data: Buffer) => void): this; - on(event: "drain", listener: () => void): this; - on(event: "end", listener: () => void): this; - on(event: "error", listener: (err: Error) => void): this; - on( - event: "lookup", - listener: (err: Error, address: string, family: string | number, host: string) => void, - ): this; - on(event: "ready", listener: () => void): this; - on(event: "timeout", listener: () => void): this; - once(event: string, listener: (...args: any[]) => void): this; - once(event: "close", listener: (hadError: boolean) => void): this; - once(event: "connect", listener: () => void): this; - once(event: "data", listener: (data: Buffer) => void): this; - once(event: "drain", listener: () => void): this; - once(event: "end", listener: () => void): this; - once(event: "error", listener: (err: Error) => void): this; - once( - event: "lookup", - listener: (err: Error, address: string, family: string | number, host: string) => void, - ): this; - once(event: "ready", listener: () => void): this; - once(event: "timeout", listener: () => void): this; - prependListener(event: string, listener: (...args: any[]) => void): this; - prependListener(event: "close", listener: (hadError: boolean) => void): this; - prependListener(event: "connect", listener: () => void): this; - prependListener(event: "data", listener: (data: Buffer) => void): this; - prependListener(event: "drain", listener: () => void): this; - prependListener(event: "end", listener: () => void): this; - prependListener(event: "error", listener: (err: Error) => void): this; - prependListener( - event: "lookup", - listener: (err: Error, address: string, family: string | number, host: string) => void, - ): this; - prependListener(event: "ready", listener: () => void): this; - prependListener(event: "timeout", listener: () => void): this; - prependOnceListener(event: string, listener: (...args: any[]) => void): this; - prependOnceListener(event: "close", listener: (hadError: boolean) => void): this; - prependOnceListener(event: "connect", listener: () => void): this; - prependOnceListener(event: "data", listener: (data: Buffer) => void): this; - prependOnceListener(event: "drain", listener: () => void): this; - prependOnceListener(event: "end", listener: () => void): this; - prependOnceListener(event: "error", listener: (err: Error) => void): this; - prependOnceListener( - event: "lookup", - listener: (err: Error, address: string, family: string | number, host: string) => void, - ): this; - prependOnceListener(event: "ready", listener: () => void): this; - prependOnceListener(event: "timeout", listener: () => void): this; - } - interface ListenOptions extends Abortable { - port?: number | undefined; - host?: string | undefined; - backlog?: number | undefined; - path?: string | undefined; - exclusive?: boolean | undefined; - readableAll?: boolean | undefined; - writableAll?: boolean | undefined; - /** - * @default false - */ - ipv6Only?: boolean | undefined; - } - interface ServerOpts { - /** - * Indicates whether half-opened TCP connections are allowed. - * @default false - */ - allowHalfOpen?: boolean | undefined; - /** - * Indicates whether the socket should be paused on incoming connections. - * @default false - */ - pauseOnConnect?: boolean | undefined; - /** - * If set to `true`, it disables the use of Nagle's algorithm immediately after a new incoming connection is received. - * @default false - * @since v16.5.0 - */ - noDelay?: boolean | undefined; - /** - * If set to `true`, it enables keep-alive functionality on the socket immediately after a new incoming connection is received, - * similarly on what is done in `socket.setKeepAlive([enable][, initialDelay])`. - * @default false - * @since v16.5.0 - */ - keepAlive?: boolean | undefined; - /** - * If set to a positive number, it sets the initial delay before the first keepalive probe is sent on an idle socket. - * @default 0 - * @since v16.5.0 - */ - keepAliveInitialDelay?: number | undefined; - } - interface DropArgument { - localAddress?: string; - localPort?: number; - localFamily?: string; - remoteAddress?: string; - remotePort?: number; - remoteFamily?: string; - } - /** - * This class is used to create a TCP or `IPC` server. - * @since v0.1.90 - */ - class Server extends EventEmitter { - constructor(connectionListener?: (socket: Socket) => void); - constructor(options?: ServerOpts, connectionListener?: (socket: Socket) => void); - /** - * Start a server listening for connections. A `net.Server` can be a TCP or - * an `IPC` server depending on what it listens to. - * - * Possible signatures: - * - * * `server.listen(handle[, backlog][, callback])` - * * `server.listen(options[, callback])` - * * `server.listen(path[, backlog][, callback])` for `IPC` servers - * * `server.listen([port[, host[, backlog]]][, callback])` for TCP servers - * - * This function is asynchronous. When the server starts listening, the `'listening'` event will be emitted. The last parameter `callback`will be added as a listener for the `'listening'` - * event. - * - * All `listen()` methods can take a `backlog` parameter to specify the maximum - * length of the queue of pending connections. The actual length will be determined - * by the OS through sysctl settings such as `tcp_max_syn_backlog` and `somaxconn`on Linux. The default value of this parameter is 511 (not 512). - * - * All {@link Socket} are set to `SO_REUSEADDR` (see [`socket(7)`](https://man7.org/linux/man-pages/man7/socket.7.html) for - * details). - * - * The `server.listen()` method can be called again if and only if there was an - * error during the first `server.listen()` call or `server.close()` has been - * called. Otherwise, an `ERR_SERVER_ALREADY_LISTEN` error will be thrown. - * - * One of the most common errors raised when listening is `EADDRINUSE`. - * This happens when another server is already listening on the requested`port`/`path`/`handle`. One way to handle this would be to retry - * after a certain amount of time: - * - * ```js - * server.on('error', (e) => { - * if (e.code === 'EADDRINUSE') { - * console.error('Address in use, retrying...'); - * setTimeout(() => { - * server.close(); - * server.listen(PORT, HOST); - * }, 1000); - * } - * }); - * ``` - */ - listen(port?: number, hostname?: string, backlog?: number, listeningListener?: () => void): this; - listen(port?: number, hostname?: string, listeningListener?: () => void): this; - listen(port?: number, backlog?: number, listeningListener?: () => void): this; - listen(port?: number, listeningListener?: () => void): this; - listen(path: string, backlog?: number, listeningListener?: () => void): this; - listen(path: string, listeningListener?: () => void): this; - listen(options: ListenOptions, listeningListener?: () => void): this; - listen(handle: any, backlog?: number, listeningListener?: () => void): this; - listen(handle: any, listeningListener?: () => void): this; - /** - * Stops the server from accepting new connections and keeps existing - * connections. This function is asynchronous, the server is finally closed - * when all connections are ended and the server emits a `'close'` event. - * The optional `callback` will be called once the `'close'` event occurs. Unlike - * that event, it will be called with an `Error` as its only argument if the server - * was not open when it was closed. - * @since v0.1.90 - * @param callback Called when the server is closed. - */ - close(callback?: (err?: Error) => void): this; - /** - * Returns the bound `address`, the address `family` name, and `port` of the server - * as reported by the operating system if listening on an IP socket - * (useful to find which port was assigned when getting an OS-assigned address):`{ port: 12346, family: 'IPv4', address: '127.0.0.1' }`. - * - * For a server listening on a pipe or Unix domain socket, the name is returned - * as a string. - * - * ```js - * const server = net.createServer((socket) => { - * socket.end('goodbye\n'); - * }).on('error', (err) => { - * // Handle errors here. - * throw err; - * }); - * - * // Grab an arbitrary unused port. - * server.listen(() => { - * console.log('opened server on', server.address()); - * }); - * ``` - * - * `server.address()` returns `null` before the `'listening'` event has been - * emitted or after calling `server.close()`. - * @since v0.1.90 - */ - address(): AddressInfo | string | null; - /** - * Asynchronously get the number of concurrent connections on the server. Works - * when sockets were sent to forks. - * - * Callback should take two arguments `err` and `count`. - * @since v0.9.7 - */ - getConnections(cb: (error: Error | null, count: number) => void): void; - /** - * Opposite of `unref()`, calling `ref()` on a previously `unref`ed server will _not_ let the program exit if it's the only server left (the default behavior). - * If the server is `ref`ed calling `ref()` again will have no effect. - * @since v0.9.1 - */ - ref(): this; - /** - * Calling `unref()` on a server will allow the program to exit if this is the only - * active server in the event system. If the server is already `unref`ed calling`unref()` again will have no effect. - * @since v0.9.1 - */ - unref(): this; - /** - * Set this property to reject connections when the server's connection count gets - * high. - * - * It is not recommended to use this option once a socket has been sent to a child - * with `child_process.fork()`. - * @since v0.2.0 - */ - maxConnections: number; - connections: number; - /** - * Indicates whether or not the server is listening for connections. - * @since v5.7.0 - */ - readonly listening: boolean; - /** - * events.EventEmitter - * 1. close - * 2. connection - * 3. error - * 4. listening - * 5. drop - */ - addListener(event: string, listener: (...args: any[]) => void): this; - addListener(event: "close", listener: () => void): this; - addListener(event: "connection", listener: (socket: Socket) => void): this; - addListener(event: "error", listener: (err: Error) => void): this; - addListener(event: "listening", listener: () => void): this; - addListener(event: "drop", listener: (data?: DropArgument) => void): this; - emit(event: string | symbol, ...args: any[]): boolean; - emit(event: "close"): boolean; - emit(event: "connection", socket: Socket): boolean; - emit(event: "error", err: Error): boolean; - emit(event: "listening"): boolean; - emit(event: "drop", data?: DropArgument): boolean; - on(event: string, listener: (...args: any[]) => void): this; - on(event: "close", listener: () => void): this; - on(event: "connection", listener: (socket: Socket) => void): this; - on(event: "error", listener: (err: Error) => void): this; - on(event: "listening", listener: () => void): this; - on(event: "drop", listener: (data?: DropArgument) => void): this; - once(event: string, listener: (...args: any[]) => void): this; - once(event: "close", listener: () => void): this; - once(event: "connection", listener: (socket: Socket) => void): this; - once(event: "error", listener: (err: Error) => void): this; - once(event: "listening", listener: () => void): this; - once(event: "drop", listener: (data?: DropArgument) => void): this; - prependListener(event: string, listener: (...args: any[]) => void): this; - prependListener(event: "close", listener: () => void): this; - prependListener(event: "connection", listener: (socket: Socket) => void): this; - prependListener(event: "error", listener: (err: Error) => void): this; - prependListener(event: "listening", listener: () => void): this; - prependListener(event: "drop", listener: (data?: DropArgument) => void): this; - prependOnceListener(event: string, listener: (...args: any[]) => void): this; - prependOnceListener(event: "close", listener: () => void): this; - prependOnceListener(event: "connection", listener: (socket: Socket) => void): this; - prependOnceListener(event: "error", listener: (err: Error) => void): this; - prependOnceListener(event: "listening", listener: () => void): this; - prependOnceListener(event: "drop", listener: (data?: DropArgument) => void): this; - /** - * Calls {@link Server.close()} and returns a promise that fulfills when the server has closed. - * @since v20.5.0 - */ - [Symbol.asyncDispose](): Promise; - } - type IPVersion = "ipv4" | "ipv6"; - /** - * The `BlockList` object can be used with some network APIs to specify rules for - * disabling inbound or outbound access to specific IP addresses, IP ranges, or - * IP subnets. - * @since v15.0.0, v14.18.0 - */ - class BlockList { - /** - * Adds a rule to block the given IP address. - * @since v15.0.0, v14.18.0 - * @param address An IPv4 or IPv6 address. - * @param [type='ipv4'] Either `'ipv4'` or `'ipv6'`. - */ - addAddress(address: string, type?: IPVersion): void; - addAddress(address: SocketAddress): void; - /** - * Adds a rule to block a range of IP addresses from `start` (inclusive) to`end` (inclusive). - * @since v15.0.0, v14.18.0 - * @param start The starting IPv4 or IPv6 address in the range. - * @param end The ending IPv4 or IPv6 address in the range. - * @param [type='ipv4'] Either `'ipv4'` or `'ipv6'`. - */ - addRange(start: string, end: string, type?: IPVersion): void; - addRange(start: SocketAddress, end: SocketAddress): void; - /** - * Adds a rule to block a range of IP addresses specified as a subnet mask. - * @since v15.0.0, v14.18.0 - * @param net The network IPv4 or IPv6 address. - * @param prefix The number of CIDR prefix bits. For IPv4, this must be a value between `0` and `32`. For IPv6, this must be between `0` and `128`. - * @param [type='ipv4'] Either `'ipv4'` or `'ipv6'`. - */ - addSubnet(net: SocketAddress, prefix: number): void; - addSubnet(net: string, prefix: number, type?: IPVersion): void; - /** - * Returns `true` if the given IP address matches any of the rules added to the`BlockList`. - * - * ```js - * const blockList = new net.BlockList(); - * blockList.addAddress('123.123.123.123'); - * blockList.addRange('10.0.0.1', '10.0.0.10'); - * blockList.addSubnet('8592:757c:efae:4e45::', 64, 'ipv6'); - * - * console.log(blockList.check('123.123.123.123')); // Prints: true - * console.log(blockList.check('10.0.0.3')); // Prints: true - * console.log(blockList.check('222.111.111.222')); // Prints: false - * - * // IPv6 notation for IPv4 addresses works: - * console.log(blockList.check('::ffff:7b7b:7b7b', 'ipv6')); // Prints: true - * console.log(blockList.check('::ffff:123.123.123.123', 'ipv6')); // Prints: true - * ``` - * @since v15.0.0, v14.18.0 - * @param address The IP address to check - * @param [type='ipv4'] Either `'ipv4'` or `'ipv6'`. - */ - check(address: SocketAddress): boolean; - check(address: string, type?: IPVersion): boolean; - /** - * The list of rules added to the blocklist. - * @since v15.0.0, v14.18.0 - */ - rules: readonly string[]; - } - interface TcpNetConnectOpts extends TcpSocketConnectOpts, SocketConstructorOpts { - timeout?: number | undefined; - } - interface IpcNetConnectOpts extends IpcSocketConnectOpts, SocketConstructorOpts { - timeout?: number | undefined; - } - type NetConnectOpts = TcpNetConnectOpts | IpcNetConnectOpts; - /** - * Creates a new TCP or `IPC` server. - * - * If `allowHalfOpen` is set to `true`, when the other end of the socket - * signals the end of transmission, the server will only send back the end of - * transmission when `socket.end()` is explicitly called. For example, in the - * context of TCP, when a FIN packed is received, a FIN packed is sent - * back only when `socket.end()` is explicitly called. Until then the - * connection is half-closed (non-readable but still writable). See `'end'` event and [RFC 1122](https://tools.ietf.org/html/rfc1122) (section 4.2.2.13) for more information. - * - * If `pauseOnConnect` is set to `true`, then the socket associated with each - * incoming connection will be paused, and no data will be read from its handle. - * This allows connections to be passed between processes without any data being - * read by the original process. To begin reading data from a paused socket, call `socket.resume()`. - * - * The server can be a TCP server or an `IPC` server, depending on what it `listen()` to. - * - * Here is an example of a TCP echo server which listens for connections - * on port 8124: - * - * ```js - * const net = require('node:net'); - * const server = net.createServer((c) => { - * // 'connection' listener. - * console.log('client connected'); - * c.on('end', () => { - * console.log('client disconnected'); - * }); - * c.write('hello\r\n'); - * c.pipe(c); - * }); - * server.on('error', (err) => { - * throw err; - * }); - * server.listen(8124, () => { - * console.log('server bound'); - * }); - * ``` - * - * Test this by using `telnet`: - * - * ```bash - * telnet localhost 8124 - * ``` - * - * To listen on the socket `/tmp/echo.sock`: - * - * ```js - * server.listen('/tmp/echo.sock', () => { - * console.log('server bound'); - * }); - * ``` - * - * Use `nc` to connect to a Unix domain socket server: - * - * ```bash - * nc -U /tmp/echo.sock - * ``` - * @since v0.5.0 - * @param connectionListener Automatically set as a listener for the {@link 'connection'} event. - */ - function createServer(connectionListener?: (socket: Socket) => void): Server; - function createServer(options?: ServerOpts, connectionListener?: (socket: Socket) => void): Server; - /** - * Aliases to {@link createConnection}. - * - * Possible signatures: - * - * * {@link connect} - * * {@link connect} for `IPC` connections. - * * {@link connect} for TCP connections. - */ - function connect(options: NetConnectOpts, connectionListener?: () => void): Socket; - function connect(port: number, host?: string, connectionListener?: () => void): Socket; - function connect(path: string, connectionListener?: () => void): Socket; - /** - * A factory function, which creates a new {@link Socket}, - * immediately initiates connection with `socket.connect()`, - * then returns the `net.Socket` that starts the connection. - * - * When the connection is established, a `'connect'` event will be emitted - * on the returned socket. The last parameter `connectListener`, if supplied, - * will be added as a listener for the `'connect'` event **once**. - * - * Possible signatures: - * - * * {@link createConnection} - * * {@link createConnection} for `IPC` connections. - * * {@link createConnection} for TCP connections. - * - * The {@link connect} function is an alias to this function. - */ - function createConnection(options: NetConnectOpts, connectionListener?: () => void): Socket; - function createConnection(port: number, host?: string, connectionListener?: () => void): Socket; - function createConnection(path: string, connectionListener?: () => void): Socket; - /** - * Gets the current default value of the `autoSelectFamily` option of `socket.connect(options)`. - * The initial default value is `true`, unless the command line option`--no-network-family-autoselection` is provided. - * @since v19.4.0 - */ - function getDefaultAutoSelectFamily(): boolean; - /** - * Sets the default value of the `autoSelectFamily` option of `socket.connect(options)`. - * @since v19.4.0 - */ - function setDefaultAutoSelectFamily(value: boolean): void; - /** - * Gets the current default value of the `autoSelectFamilyAttemptTimeout` option of `socket.connect(options)`. - * The initial default value is `250`. - * @since v19.8.0 - */ - function getDefaultAutoSelectFamilyAttemptTimeout(): number; - /** - * Sets the default value of the `autoSelectFamilyAttemptTimeout` option of `socket.connect(options)`. - * @since v19.8.0 - */ - function setDefaultAutoSelectFamilyAttemptTimeout(value: number): void; - /** - * Returns `6` if `input` is an IPv6 address. Returns `4` if `input` is an IPv4 - * address in [dot-decimal notation](https://en.wikipedia.org/wiki/Dot-decimal_notation) with no leading zeroes. Otherwise, returns`0`. - * - * ```js - * net.isIP('::1'); // returns 6 - * net.isIP('127.0.0.1'); // returns 4 - * net.isIP('127.000.000.001'); // returns 0 - * net.isIP('127.0.0.1/24'); // returns 0 - * net.isIP('fhqwhgads'); // returns 0 - * ``` - * @since v0.3.0 - */ - function isIP(input: string): number; - /** - * Returns `true` if `input` is an IPv4 address in [dot-decimal notation](https://en.wikipedia.org/wiki/Dot-decimal_notation) with no - * leading zeroes. Otherwise, returns `false`. - * - * ```js - * net.isIPv4('127.0.0.1'); // returns true - * net.isIPv4('127.000.000.001'); // returns false - * net.isIPv4('127.0.0.1/24'); // returns false - * net.isIPv4('fhqwhgads'); // returns false - * ``` - * @since v0.3.0 - */ - function isIPv4(input: string): boolean; - /** - * Returns `true` if `input` is an IPv6 address. Otherwise, returns `false`. - * - * ```js - * net.isIPv6('::1'); // returns true - * net.isIPv6('fhqwhgads'); // returns false - * ``` - * @since v0.3.0 - */ - function isIPv6(input: string): boolean; - interface SocketAddressInitOptions { - /** - * The network address as either an IPv4 or IPv6 string. - * @default 127.0.0.1 - */ - address?: string | undefined; - /** - * @default `'ipv4'` - */ - family?: IPVersion | undefined; - /** - * An IPv6 flow-label used only if `family` is `'ipv6'`. - * @default 0 - */ - flowlabel?: number | undefined; - /** - * An IP port. - * @default 0 - */ - port?: number | undefined; - } - /** - * @since v15.14.0, v14.18.0 - */ - class SocketAddress { - constructor(options: SocketAddressInitOptions); - /** - * Either \`'ipv4'\` or \`'ipv6'\`. - * @since v15.14.0, v14.18.0 - */ - readonly address: string; - /** - * Either \`'ipv4'\` or \`'ipv6'\`. - * @since v15.14.0, v14.18.0 - */ - readonly family: IPVersion; - /** - * @since v15.14.0, v14.18.0 - */ - readonly port: number; - /** - * @since v15.14.0, v14.18.0 - */ - readonly flowlabel: number; - } -} -declare module "node:net" { - export * from "net"; -} diff --git a/node_modules/@types/node/ts4.8/os.d.ts b/node_modules/@types/node/ts4.8/os.d.ts deleted file mode 100644 index 39a33f7..0000000 --- a/node_modules/@types/node/ts4.8/os.d.ts +++ /dev/null @@ -1,478 +0,0 @@ -/** - * The `node:os` module provides operating system-related utility methods and - * properties. It can be accessed using: - * - * ```js - * const os = require('node:os'); - * ``` - * @see [source](https://github.com/nodejs/node/blob/v20.2.0/lib/os.js) - */ -declare module "os" { - interface CpuInfo { - model: string; - speed: number; - times: { - user: number; - nice: number; - sys: number; - idle: number; - irq: number; - }; - } - interface NetworkInterfaceBase { - address: string; - netmask: string; - mac: string; - internal: boolean; - cidr: string | null; - } - interface NetworkInterfaceInfoIPv4 extends NetworkInterfaceBase { - family: "IPv4"; - scopeid?: undefined; - } - interface NetworkInterfaceInfoIPv6 extends NetworkInterfaceBase { - family: "IPv6"; - scopeid: number; - } - interface UserInfo { - username: T; - uid: number; - gid: number; - shell: T | null; - homedir: T; - } - type NetworkInterfaceInfo = NetworkInterfaceInfoIPv4 | NetworkInterfaceInfoIPv6; - /** - * Returns the host name of the operating system as a string. - * @since v0.3.3 - */ - function hostname(): string; - /** - * Returns an array containing the 1, 5, and 15 minute load averages. - * - * The load average is a measure of system activity calculated by the operating - * system and expressed as a fractional number. - * - * The load average is a Unix-specific concept. On Windows, the return value is - * always `[0, 0, 0]`. - * @since v0.3.3 - */ - function loadavg(): number[]; - /** - * Returns the system uptime in number of seconds. - * @since v0.3.3 - */ - function uptime(): number; - /** - * Returns the amount of free system memory in bytes as an integer. - * @since v0.3.3 - */ - function freemem(): number; - /** - * Returns the total amount of system memory in bytes as an integer. - * @since v0.3.3 - */ - function totalmem(): number; - /** - * Returns an array of objects containing information about each logical CPU core. - * The array will be empty if no CPU information is available, such as if the`/proc` file system is unavailable. - * - * The properties included on each object include: - * - * ```js - * [ - * { - * model: 'Intel(R) Core(TM) i7 CPU 860 @ 2.80GHz', - * speed: 2926, - * times: { - * user: 252020, - * nice: 0, - * sys: 30340, - * idle: 1070356870, - * irq: 0, - * }, - * }, - * { - * model: 'Intel(R) Core(TM) i7 CPU 860 @ 2.80GHz', - * speed: 2926, - * times: { - * user: 306960, - * nice: 0, - * sys: 26980, - * idle: 1071569080, - * irq: 0, - * }, - * }, - * { - * model: 'Intel(R) Core(TM) i7 CPU 860 @ 2.80GHz', - * speed: 2926, - * times: { - * user: 248450, - * nice: 0, - * sys: 21750, - * idle: 1070919370, - * irq: 0, - * }, - * }, - * { - * model: 'Intel(R) Core(TM) i7 CPU 860 @ 2.80GHz', - * speed: 2926, - * times: { - * user: 256880, - * nice: 0, - * sys: 19430, - * idle: 1070905480, - * irq: 20, - * }, - * }, - * ] - * ``` - * - * `nice` values are POSIX-only. On Windows, the `nice` values of all processors - * are always 0. - * - * `os.cpus().length` should not be used to calculate the amount of parallelism - * available to an application. Use {@link availableParallelism} for this purpose. - * @since v0.3.3 - */ - function cpus(): CpuInfo[]; - /** - * Returns an estimate of the default amount of parallelism a program should use. - * Always returns a value greater than zero. - * - * This function is a small wrapper about libuv's [`uv_available_parallelism()`](https://docs.libuv.org/en/v1.x/misc.html#c.uv_available_parallelism). - * @since v19.4.0, v18.14.0 - */ - function availableParallelism(): number; - /** - * Returns the operating system name as returned by [`uname(3)`](https://linux.die.net/man/3/uname). For example, it - * returns `'Linux'` on Linux, `'Darwin'` on macOS, and `'Windows_NT'` on Windows. - * - * See [https://en.wikipedia.org/wiki/Uname#Examples](https://en.wikipedia.org/wiki/Uname#Examples) for additional information - * about the output of running [`uname(3)`](https://linux.die.net/man/3/uname) on various operating systems. - * @since v0.3.3 - */ - function type(): string; - /** - * Returns the operating system as a string. - * - * On POSIX systems, the operating system release is determined by calling [`uname(3)`](https://linux.die.net/man/3/uname). On Windows, `GetVersionExW()` is used. See - * [https://en.wikipedia.org/wiki/Uname#Examples](https://en.wikipedia.org/wiki/Uname#Examples) for more information. - * @since v0.3.3 - */ - function release(): string; - /** - * Returns an object containing network interfaces that have been assigned a - * network address. - * - * Each key on the returned object identifies a network interface. The associated - * value is an array of objects that each describe an assigned network address. - * - * The properties available on the assigned network address object include: - * - * ```js - * { - * lo: [ - * { - * address: '127.0.0.1', - * netmask: '255.0.0.0', - * family: 'IPv4', - * mac: '00:00:00:00:00:00', - * internal: true, - * cidr: '127.0.0.1/8' - * }, - * { - * address: '::1', - * netmask: 'ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff', - * family: 'IPv6', - * mac: '00:00:00:00:00:00', - * scopeid: 0, - * internal: true, - * cidr: '::1/128' - * } - * ], - * eth0: [ - * { - * address: '192.168.1.108', - * netmask: '255.255.255.0', - * family: 'IPv4', - * mac: '01:02:03:0a:0b:0c', - * internal: false, - * cidr: '192.168.1.108/24' - * }, - * { - * address: 'fe80::a00:27ff:fe4e:66a1', - * netmask: 'ffff:ffff:ffff:ffff::', - * family: 'IPv6', - * mac: '01:02:03:0a:0b:0c', - * scopeid: 1, - * internal: false, - * cidr: 'fe80::a00:27ff:fe4e:66a1/64' - * } - * ] - * } - * ``` - * @since v0.6.0 - */ - function networkInterfaces(): NodeJS.Dict; - /** - * Returns the string path of the current user's home directory. - * - * On POSIX, it uses the `$HOME` environment variable if defined. Otherwise it - * uses the [effective UID](https://en.wikipedia.org/wiki/User_identifier#Effective_user_ID) to look up the user's home directory. - * - * On Windows, it uses the `USERPROFILE` environment variable if defined. - * Otherwise it uses the path to the profile directory of the current user. - * @since v2.3.0 - */ - function homedir(): string; - /** - * Returns information about the currently effective user. On POSIX platforms, - * this is typically a subset of the password file. The returned object includes - * the `username`, `uid`, `gid`, `shell`, and `homedir`. On Windows, the `uid` and`gid` fields are `-1`, and `shell` is `null`. - * - * The value of `homedir` returned by `os.userInfo()` is provided by the operating - * system. This differs from the result of `os.homedir()`, which queries - * environment variables for the home directory before falling back to the - * operating system response. - * - * Throws a `SystemError` if a user has no `username` or `homedir`. - * @since v6.0.0 - */ - function userInfo(options: { encoding: "buffer" }): UserInfo; - function userInfo(options?: { encoding: BufferEncoding }): UserInfo; - type SignalConstants = { - [key in NodeJS.Signals]: number; - }; - namespace constants { - const UV_UDP_REUSEADDR: number; - namespace signals {} - const signals: SignalConstants; - namespace errno { - const E2BIG: number; - const EACCES: number; - const EADDRINUSE: number; - const EADDRNOTAVAIL: number; - const EAFNOSUPPORT: number; - const EAGAIN: number; - const EALREADY: number; - const EBADF: number; - const EBADMSG: number; - const EBUSY: number; - const ECANCELED: number; - const ECHILD: number; - const ECONNABORTED: number; - const ECONNREFUSED: number; - const ECONNRESET: number; - const EDEADLK: number; - const EDESTADDRREQ: number; - const EDOM: number; - const EDQUOT: number; - const EEXIST: number; - const EFAULT: number; - const EFBIG: number; - const EHOSTUNREACH: number; - const EIDRM: number; - const EILSEQ: number; - const EINPROGRESS: number; - const EINTR: number; - const EINVAL: number; - const EIO: number; - const EISCONN: number; - const EISDIR: number; - const ELOOP: number; - const EMFILE: number; - const EMLINK: number; - const EMSGSIZE: number; - const EMULTIHOP: number; - const ENAMETOOLONG: number; - const ENETDOWN: number; - const ENETRESET: number; - const ENETUNREACH: number; - const ENFILE: number; - const ENOBUFS: number; - const ENODATA: number; - const ENODEV: number; - const ENOENT: number; - const ENOEXEC: number; - const ENOLCK: number; - const ENOLINK: number; - const ENOMEM: number; - const ENOMSG: number; - const ENOPROTOOPT: number; - const ENOSPC: number; - const ENOSR: number; - const ENOSTR: number; - const ENOSYS: number; - const ENOTCONN: number; - const ENOTDIR: number; - const ENOTEMPTY: number; - const ENOTSOCK: number; - const ENOTSUP: number; - const ENOTTY: number; - const ENXIO: number; - const EOPNOTSUPP: number; - const EOVERFLOW: number; - const EPERM: number; - const EPIPE: number; - const EPROTO: number; - const EPROTONOSUPPORT: number; - const EPROTOTYPE: number; - const ERANGE: number; - const EROFS: number; - const ESPIPE: number; - const ESRCH: number; - const ESTALE: number; - const ETIME: number; - const ETIMEDOUT: number; - const ETXTBSY: number; - const EWOULDBLOCK: number; - const EXDEV: number; - const WSAEINTR: number; - const WSAEBADF: number; - const WSAEACCES: number; - const WSAEFAULT: number; - const WSAEINVAL: number; - const WSAEMFILE: number; - const WSAEWOULDBLOCK: number; - const WSAEINPROGRESS: number; - const WSAEALREADY: number; - const WSAENOTSOCK: number; - const WSAEDESTADDRREQ: number; - const WSAEMSGSIZE: number; - const WSAEPROTOTYPE: number; - const WSAENOPROTOOPT: number; - const WSAEPROTONOSUPPORT: number; - const WSAESOCKTNOSUPPORT: number; - const WSAEOPNOTSUPP: number; - const WSAEPFNOSUPPORT: number; - const WSAEAFNOSUPPORT: number; - const WSAEADDRINUSE: number; - const WSAEADDRNOTAVAIL: number; - const WSAENETDOWN: number; - const WSAENETUNREACH: number; - const WSAENETRESET: number; - const WSAECONNABORTED: number; - const WSAECONNRESET: number; - const WSAENOBUFS: number; - const WSAEISCONN: number; - const WSAENOTCONN: number; - const WSAESHUTDOWN: number; - const WSAETOOMANYREFS: number; - const WSAETIMEDOUT: number; - const WSAECONNREFUSED: number; - const WSAELOOP: number; - const WSAENAMETOOLONG: number; - const WSAEHOSTDOWN: number; - const WSAEHOSTUNREACH: number; - const WSAENOTEMPTY: number; - const WSAEPROCLIM: number; - const WSAEUSERS: number; - const WSAEDQUOT: number; - const WSAESTALE: number; - const WSAEREMOTE: number; - const WSASYSNOTREADY: number; - const WSAVERNOTSUPPORTED: number; - const WSANOTINITIALISED: number; - const WSAEDISCON: number; - const WSAENOMORE: number; - const WSAECANCELLED: number; - const WSAEINVALIDPROCTABLE: number; - const WSAEINVALIDPROVIDER: number; - const WSAEPROVIDERFAILEDINIT: number; - const WSASYSCALLFAILURE: number; - const WSASERVICE_NOT_FOUND: number; - const WSATYPE_NOT_FOUND: number; - const WSA_E_NO_MORE: number; - const WSA_E_CANCELLED: number; - const WSAEREFUSED: number; - } - namespace priority { - const PRIORITY_LOW: number; - const PRIORITY_BELOW_NORMAL: number; - const PRIORITY_NORMAL: number; - const PRIORITY_ABOVE_NORMAL: number; - const PRIORITY_HIGH: number; - const PRIORITY_HIGHEST: number; - } - } - const devNull: string; - const EOL: string; - /** - * Returns the operating system CPU architecture for which the Node.js binary was - * compiled. Possible values are `'arm'`, `'arm64'`, `'ia32'`, `'loong64'`,`'mips'`, `'mipsel'`, `'ppc'`, `'ppc64'`, `'riscv64'`, `'s390'`, `'s390x'`, - * and `'x64'`. - * - * The return value is equivalent to `process.arch`. - * @since v0.5.0 - */ - function arch(): string; - /** - * Returns a string identifying the kernel version. - * - * On POSIX systems, the operating system release is determined by calling [`uname(3)`](https://linux.die.net/man/3/uname). On Windows, `RtlGetVersion()` is used, and if it is not - * available, `GetVersionExW()` will be used. See [https://en.wikipedia.org/wiki/Uname#Examples](https://en.wikipedia.org/wiki/Uname#Examples) for more information. - * @since v13.11.0, v12.17.0 - */ - function version(): string; - /** - * Returns a string identifying the operating system platform for which - * the Node.js binary was compiled. The value is set at compile time. - * Possible values are `'aix'`, `'darwin'`, `'freebsd'`,`'linux'`,`'openbsd'`, `'sunos'`, and `'win32'`. - * - * The return value is equivalent to `process.platform`. - * - * The value `'android'` may also be returned if Node.js is built on the Android - * operating system. [Android support is experimental](https://github.com/nodejs/node/blob/HEAD/BUILDING.md#androidandroid-based-devices-eg-firefox-os). - * @since v0.5.0 - */ - function platform(): NodeJS.Platform; - /** - * Returns the machine type as a string, such as `arm`, `arm64`, `aarch64`,`mips`, `mips64`, `ppc64`, `ppc64le`, `s390`, `s390x`, `i386`, `i686`, `x86_64`. - * - * On POSIX systems, the machine type is determined by calling [`uname(3)`](https://linux.die.net/man/3/uname). On Windows, `RtlGetVersion()` is used, and if it is not - * available, `GetVersionExW()` will be used. See [https://en.wikipedia.org/wiki/Uname#Examples](https://en.wikipedia.org/wiki/Uname#Examples) for more information. - * @since v18.9.0, v16.18.0 - */ - function machine(): string; - /** - * Returns the operating system's default directory for temporary files as a - * string. - * @since v0.9.9 - */ - function tmpdir(): string; - /** - * Returns a string identifying the endianness of the CPU for which the Node.js - * binary was compiled. - * - * Possible values are `'BE'` for big endian and `'LE'` for little endian. - * @since v0.9.4 - */ - function endianness(): "BE" | "LE"; - /** - * Returns the scheduling priority for the process specified by `pid`. If `pid` is - * not provided or is `0`, the priority of the current process is returned. - * @since v10.10.0 - * @param [pid=0] The process ID to retrieve scheduling priority for. - */ - function getPriority(pid?: number): number; - /** - * Attempts to set the scheduling priority for the process specified by `pid`. If`pid` is not provided or is `0`, the process ID of the current process is used. - * - * The `priority` input must be an integer between `-20` (high priority) and `19`(low priority). Due to differences between Unix priority levels and Windows - * priority classes, `priority` is mapped to one of six priority constants in`os.constants.priority`. When retrieving a process priority level, this range - * mapping may cause the return value to be slightly different on Windows. To avoid - * confusion, set `priority` to one of the priority constants. - * - * On Windows, setting priority to `PRIORITY_HIGHEST` requires elevated user - * privileges. Otherwise the set priority will be silently reduced to`PRIORITY_HIGH`. - * @since v10.10.0 - * @param [pid=0] The process ID to set scheduling priority for. - * @param priority The scheduling priority to assign to the process. - */ - function setPriority(priority: number): void; - function setPriority(pid: number, priority: number): void; -} -declare module "node:os" { - export * from "os"; -} diff --git a/node_modules/@types/node/ts4.8/path.d.ts b/node_modules/@types/node/ts4.8/path.d.ts deleted file mode 100644 index 6f07681..0000000 --- a/node_modules/@types/node/ts4.8/path.d.ts +++ /dev/null @@ -1,191 +0,0 @@ -declare module "path/posix" { - import path = require("path"); - export = path; -} -declare module "path/win32" { - import path = require("path"); - export = path; -} -/** - * The `node:path` module provides utilities for working with file and directory - * paths. It can be accessed using: - * - * ```js - * const path = require('node:path'); - * ``` - * @see [source](https://github.com/nodejs/node/blob/v20.2.0/lib/path.js) - */ -declare module "path" { - namespace path { - /** - * A parsed path object generated by path.parse() or consumed by path.format(). - */ - interface ParsedPath { - /** - * The root of the path such as '/' or 'c:\' - */ - root: string; - /** - * The full directory path such as '/home/user/dir' or 'c:\path\dir' - */ - dir: string; - /** - * The file name including extension (if any) such as 'index.html' - */ - base: string; - /** - * The file extension (if any) such as '.html' - */ - ext: string; - /** - * The file name without extension (if any) such as 'index' - */ - name: string; - } - interface FormatInputPathObject { - /** - * The root of the path such as '/' or 'c:\' - */ - root?: string | undefined; - /** - * The full directory path such as '/home/user/dir' or 'c:\path\dir' - */ - dir?: string | undefined; - /** - * The file name including extension (if any) such as 'index.html' - */ - base?: string | undefined; - /** - * The file extension (if any) such as '.html' - */ - ext?: string | undefined; - /** - * The file name without extension (if any) such as 'index' - */ - name?: string | undefined; - } - interface PlatformPath { - /** - * Normalize a string path, reducing '..' and '.' parts. - * When multiple slashes are found, they're replaced by a single one; when the path contains a trailing slash, it is preserved. On Windows backslashes are used. - * - * @param path string path to normalize. - * @throws {TypeError} if `path` is not a string. - */ - normalize(path: string): string; - /** - * Join all arguments together and normalize the resulting path. - * - * @param paths paths to join. - * @throws {TypeError} if any of the path segments is not a string. - */ - join(...paths: string[]): string; - /** - * The right-most parameter is considered {to}. Other parameters are considered an array of {from}. - * - * Starting from leftmost {from} parameter, resolves {to} to an absolute path. - * - * If {to} isn't already absolute, {from} arguments are prepended in right to left order, - * until an absolute path is found. If after using all {from} paths still no absolute path is found, - * the current working directory is used as well. The resulting path is normalized, - * and trailing slashes are removed unless the path gets resolved to the root directory. - * - * @param paths A sequence of paths or path segments. - * @throws {TypeError} if any of the arguments is not a string. - */ - resolve(...paths: string[]): string; - /** - * Determines whether {path} is an absolute path. An absolute path will always resolve to the same location, regardless of the working directory. - * - * If the given {path} is a zero-length string, `false` will be returned. - * - * @param path path to test. - * @throws {TypeError} if `path` is not a string. - */ - isAbsolute(path: string): boolean; - /** - * Solve the relative path from {from} to {to} based on the current working directory. - * At times we have two absolute paths, and we need to derive the relative path from one to the other. This is actually the reverse transform of path.resolve. - * - * @throws {TypeError} if either `from` or `to` is not a string. - */ - relative(from: string, to: string): string; - /** - * Return the directory name of a path. Similar to the Unix dirname command. - * - * @param path the path to evaluate. - * @throws {TypeError} if `path` is not a string. - */ - dirname(path: string): string; - /** - * Return the last portion of a path. Similar to the Unix basename command. - * Often used to extract the file name from a fully qualified path. - * - * @param path the path to evaluate. - * @param suffix optionally, an extension to remove from the result. - * @throws {TypeError} if `path` is not a string or if `ext` is given and is not a string. - */ - basename(path: string, suffix?: string): string; - /** - * Return the extension of the path, from the last '.' to end of string in the last portion of the path. - * If there is no '.' in the last portion of the path or the first character of it is '.', then it returns an empty string. - * - * @param path the path to evaluate. - * @throws {TypeError} if `path` is not a string. - */ - extname(path: string): string; - /** - * The platform-specific file separator. '\\' or '/'. - */ - readonly sep: "\\" | "/"; - /** - * The platform-specific file delimiter. ';' or ':'. - */ - readonly delimiter: ";" | ":"; - /** - * Returns an object from a path string - the opposite of format(). - * - * @param path path to evaluate. - * @throws {TypeError} if `path` is not a string. - */ - parse(path: string): ParsedPath; - /** - * Returns a path string from an object - the opposite of parse(). - * - * @param pathObject path to evaluate. - */ - format(pathObject: FormatInputPathObject): string; - /** - * On Windows systems only, returns an equivalent namespace-prefixed path for the given path. - * If path is not a string, path will be returned without modifications. - * This method is meaningful only on Windows system. - * On POSIX systems, the method is non-operational and always returns path without modifications. - */ - toNamespacedPath(path: string): string; - /** - * Posix specific pathing. - * Same as parent object on posix. - */ - readonly posix: PlatformPath; - /** - * Windows specific pathing. - * Same as parent object on windows - */ - readonly win32: PlatformPath; - } - } - const path: path.PlatformPath; - export = path; -} -declare module "node:path" { - import path = require("path"); - export = path; -} -declare module "node:path/posix" { - import path = require("path/posix"); - export = path; -} -declare module "node:path/win32" { - import path = require("path/win32"); - export = path; -} diff --git a/node_modules/@types/node/ts4.8/perf_hooks.d.ts b/node_modules/@types/node/ts4.8/perf_hooks.d.ts deleted file mode 100644 index c0ce852..0000000 --- a/node_modules/@types/node/ts4.8/perf_hooks.d.ts +++ /dev/null @@ -1,645 +0,0 @@ -/** - * This module provides an implementation of a subset of the W3C [Web Performance APIs](https://w3c.github.io/perf-timing-primer/) as well as additional APIs for - * Node.js-specific performance measurements. - * - * Node.js supports the following [Web Performance APIs](https://w3c.github.io/perf-timing-primer/): - * - * * [High Resolution Time](https://www.w3.org/TR/hr-time-2) - * * [Performance Timeline](https://w3c.github.io/performance-timeline/) - * * [User Timing](https://www.w3.org/TR/user-timing/) - * * [Resource Timing](https://www.w3.org/TR/resource-timing-2/) - * - * ```js - * const { PerformanceObserver, performance } = require('node:perf_hooks'); - * - * const obs = new PerformanceObserver((items) => { - * console.log(items.getEntries()[0].duration); - * performance.clearMarks(); - * }); - * obs.observe({ type: 'measure' }); - * performance.measure('Start to Now'); - * - * performance.mark('A'); - * doSomeLongRunningProcess(() => { - * performance.measure('A to Now', 'A'); - * - * performance.mark('B'); - * performance.measure('A to B', 'A', 'B'); - * }); - * ``` - * @see [source](https://github.com/nodejs/node/blob/v20.2.0/lib/perf_hooks.js) - */ -declare module "perf_hooks" { - import { AsyncResource } from "node:async_hooks"; - type EntryType = "node" | "mark" | "measure" | "gc" | "function" | "http2" | "http" | "dns" | "net"; - interface NodeGCPerformanceDetail { - /** - * When `performanceEntry.entryType` is equal to 'gc', `the performance.kind` property identifies - * the type of garbage collection operation that occurred. - * See perf_hooks.constants for valid values. - */ - readonly kind?: number | undefined; - /** - * When `performanceEntry.entryType` is equal to 'gc', the `performance.flags` - * property contains additional information about garbage collection operation. - * See perf_hooks.constants for valid values. - */ - readonly flags?: number | undefined; - } - /** - * The constructor of this class is not exposed to users directly. - * @since v8.5.0 - */ - class PerformanceEntry { - protected constructor(); - /** - * The total number of milliseconds elapsed for this entry. This value will not - * be meaningful for all Performance Entry types. - * @since v8.5.0 - */ - readonly duration: number; - /** - * The name of the performance entry. - * @since v8.5.0 - */ - readonly name: string; - /** - * The high resolution millisecond timestamp marking the starting time of the - * Performance Entry. - * @since v8.5.0 - */ - readonly startTime: number; - /** - * The type of the performance entry. It may be one of: - * - * * `'node'` (Node.js only) - * * `'mark'` (available on the Web) - * * `'measure'` (available on the Web) - * * `'gc'` (Node.js only) - * * `'function'` (Node.js only) - * * `'http2'` (Node.js only) - * * `'http'` (Node.js only) - * @since v8.5.0 - */ - readonly entryType: EntryType; - /** - * Additional detail specific to the `entryType`. - * @since v16.0.0 - */ - readonly detail?: NodeGCPerformanceDetail | unknown | undefined; // TODO: Narrow this based on entry type. - toJSON(): any; - } - /** - * Exposes marks created via the `Performance.mark()` method. - * @since v18.2.0, v16.17.0 - */ - class PerformanceMark extends PerformanceEntry { - readonly duration: 0; - readonly entryType: "mark"; - } - /** - * Exposes measures created via the `Performance.measure()` method. - * - * The constructor of this class is not exposed to users directly. - * @since v18.2.0, v16.17.0 - */ - class PerformanceMeasure extends PerformanceEntry { - readonly entryType: "measure"; - } - /** - * _This property is an extension by Node.js. It is not available in Web browsers._ - * - * Provides timing details for Node.js itself. The constructor of this class - * is not exposed to users. - * @since v8.5.0 - */ - class PerformanceNodeTiming extends PerformanceEntry { - /** - * The high resolution millisecond timestamp at which the Node.js process - * completed bootstrapping. If bootstrapping has not yet finished, the property - * has the value of -1. - * @since v8.5.0 - */ - readonly bootstrapComplete: number; - /** - * The high resolution millisecond timestamp at which the Node.js environment was - * initialized. - * @since v8.5.0 - */ - readonly environment: number; - /** - * The high resolution millisecond timestamp of the amount of time the event loop - * has been idle within the event loop's event provider (e.g. `epoll_wait`). This - * does not take CPU usage into consideration. If the event loop has not yet - * started (e.g., in the first tick of the main script), the property has the - * value of 0. - * @since v14.10.0, v12.19.0 - */ - readonly idleTime: number; - /** - * The high resolution millisecond timestamp at which the Node.js event loop - * exited. If the event loop has not yet exited, the property has the value of -1\. - * It can only have a value of not -1 in a handler of the `'exit'` event. - * @since v8.5.0 - */ - readonly loopExit: number; - /** - * The high resolution millisecond timestamp at which the Node.js event loop - * started. If the event loop has not yet started (e.g., in the first tick of the - * main script), the property has the value of -1. - * @since v8.5.0 - */ - readonly loopStart: number; - /** - * The high resolution millisecond timestamp at which the V8 platform was - * initialized. - * @since v8.5.0 - */ - readonly v8Start: number; - } - interface EventLoopUtilization { - idle: number; - active: number; - utilization: number; - } - /** - * @param util1 The result of a previous call to eventLoopUtilization() - * @param util2 The result of a previous call to eventLoopUtilization() prior to util1 - */ - type EventLoopUtilityFunction = ( - util1?: EventLoopUtilization, - util2?: EventLoopUtilization, - ) => EventLoopUtilization; - interface MarkOptions { - /** - * Additional optional detail to include with the mark. - */ - detail?: unknown | undefined; - /** - * An optional timestamp to be used as the mark time. - * @default `performance.now()`. - */ - startTime?: number | undefined; - } - interface MeasureOptions { - /** - * Additional optional detail to include with the mark. - */ - detail?: unknown | undefined; - /** - * Duration between start and end times. - */ - duration?: number | undefined; - /** - * Timestamp to be used as the end time, or a string identifying a previously recorded mark. - */ - end?: number | string | undefined; - /** - * Timestamp to be used as the start time, or a string identifying a previously recorded mark. - */ - start?: number | string | undefined; - } - interface TimerifyOptions { - /** - * A histogram object created using - * `perf_hooks.createHistogram()` that will record runtime durations in - * nanoseconds. - */ - histogram?: RecordableHistogram | undefined; - } - interface Performance { - /** - * If name is not provided, removes all PerformanceMark objects from the Performance Timeline. - * If name is provided, removes only the named mark. - * @param name - */ - clearMarks(name?: string): void; - /** - * If name is not provided, removes all PerformanceMeasure objects from the Performance Timeline. - * If name is provided, removes only the named measure. - * @param name - * @since v16.7.0 - */ - clearMeasures(name?: string): void; - /** - * Returns a list of `PerformanceEntry` objects in chronological order with respect to `performanceEntry.startTime`. - * If you are only interested in performance entries of certain types or that have certain names, see - * `performance.getEntriesByType()` and `performance.getEntriesByName()`. - * @since v16.7.0 - */ - getEntries(): PerformanceEntry[]; - /** - * Returns a list of `PerformanceEntry` objects in chronological order with respect to `performanceEntry.startTime` - * whose `performanceEntry.name` is equal to `name`, and optionally, whose `performanceEntry.entryType` is equal to `type`. - * @param name - * @param type - * @since v16.7.0 - */ - getEntriesByName(name: string, type?: EntryType): PerformanceEntry[]; - /** - * Returns a list of `PerformanceEntry` objects in chronological order with respect to `performanceEntry.startTime` - * whose `performanceEntry.entryType` is equal to `type`. - * @param type - * @since v16.7.0 - */ - getEntriesByType(type: EntryType): PerformanceEntry[]; - /** - * Creates a new PerformanceMark entry in the Performance Timeline. - * A PerformanceMark is a subclass of PerformanceEntry whose performanceEntry.entryType is always 'mark', - * and whose performanceEntry.duration is always 0. - * Performance marks are used to mark specific significant moments in the Performance Timeline. - * @param name - * @return The PerformanceMark entry that was created - */ - mark(name?: string, options?: MarkOptions): PerformanceMark; - /** - * Creates a new PerformanceMeasure entry in the Performance Timeline. - * A PerformanceMeasure is a subclass of PerformanceEntry whose performanceEntry.entryType is always 'measure', - * and whose performanceEntry.duration measures the number of milliseconds elapsed since startMark and endMark. - * - * The startMark argument may identify any existing PerformanceMark in the the Performance Timeline, or may identify - * any of the timestamp properties provided by the PerformanceNodeTiming class. If the named startMark does not exist, - * then startMark is set to timeOrigin by default. - * - * The endMark argument must identify any existing PerformanceMark in the the Performance Timeline or any of the timestamp - * properties provided by the PerformanceNodeTiming class. If the named endMark does not exist, an error will be thrown. - * @param name - * @param startMark - * @param endMark - * @return The PerformanceMeasure entry that was created - */ - measure(name: string, startMark?: string, endMark?: string): PerformanceMeasure; - measure(name: string, options: MeasureOptions): PerformanceMeasure; - /** - * An instance of the PerformanceNodeTiming class that provides performance metrics for specific Node.js operational milestones. - */ - readonly nodeTiming: PerformanceNodeTiming; - /** - * @return the current high resolution millisecond timestamp - */ - now(): number; - /** - * The timeOrigin specifies the high resolution millisecond timestamp from which all performance metric durations are measured. - */ - readonly timeOrigin: number; - /** - * Wraps a function within a new function that measures the running time of the wrapped function. - * A PerformanceObserver must be subscribed to the 'function' event type in order for the timing details to be accessed. - * @param fn - */ - timerify any>(fn: T, options?: TimerifyOptions): T; - /** - * eventLoopUtilization is similar to CPU utilization except that it is calculated using high precision wall-clock time. - * It represents the percentage of time the event loop has spent outside the event loop's event provider (e.g. epoll_wait). - * No other CPU idle time is taken into consideration. - */ - eventLoopUtilization: EventLoopUtilityFunction; - } - interface PerformanceObserverEntryList { - /** - * Returns a list of `PerformanceEntry` objects in chronological order - * with respect to `performanceEntry.startTime`. - * - * ```js - * const { - * performance, - * PerformanceObserver, - * } = require('node:perf_hooks'); - * - * const obs = new PerformanceObserver((perfObserverList, observer) => { - * console.log(perfObserverList.getEntries()); - * - * * [ - * * PerformanceEntry { - * * name: 'test', - * * entryType: 'mark', - * * startTime: 81.465639, - * * duration: 0, - * * detail: null - * * }, - * * PerformanceEntry { - * * name: 'meow', - * * entryType: 'mark', - * * startTime: 81.860064, - * * duration: 0, - * * detail: null - * * } - * * ] - * - * performance.clearMarks(); - * performance.clearMeasures(); - * observer.disconnect(); - * }); - * obs.observe({ type: 'mark' }); - * - * performance.mark('test'); - * performance.mark('meow'); - * ``` - * @since v8.5.0 - */ - getEntries(): PerformanceEntry[]; - /** - * Returns a list of `PerformanceEntry` objects in chronological order - * with respect to `performanceEntry.startTime` whose `performanceEntry.name` is - * equal to `name`, and optionally, whose `performanceEntry.entryType` is equal to`type`. - * - * ```js - * const { - * performance, - * PerformanceObserver, - * } = require('node:perf_hooks'); - * - * const obs = new PerformanceObserver((perfObserverList, observer) => { - * console.log(perfObserverList.getEntriesByName('meow')); - * - * * [ - * * PerformanceEntry { - * * name: 'meow', - * * entryType: 'mark', - * * startTime: 98.545991, - * * duration: 0, - * * detail: null - * * } - * * ] - * - * console.log(perfObserverList.getEntriesByName('nope')); // [] - * - * console.log(perfObserverList.getEntriesByName('test', 'mark')); - * - * * [ - * * PerformanceEntry { - * * name: 'test', - * * entryType: 'mark', - * * startTime: 63.518931, - * * duration: 0, - * * detail: null - * * } - * * ] - * - * console.log(perfObserverList.getEntriesByName('test', 'measure')); // [] - * - * performance.clearMarks(); - * performance.clearMeasures(); - * observer.disconnect(); - * }); - * obs.observe({ entryTypes: ['mark', 'measure'] }); - * - * performance.mark('test'); - * performance.mark('meow'); - * ``` - * @since v8.5.0 - */ - getEntriesByName(name: string, type?: EntryType): PerformanceEntry[]; - /** - * Returns a list of `PerformanceEntry` objects in chronological order - * with respect to `performanceEntry.startTime` whose `performanceEntry.entryType`is equal to `type`. - * - * ```js - * const { - * performance, - * PerformanceObserver, - * } = require('node:perf_hooks'); - * - * const obs = new PerformanceObserver((perfObserverList, observer) => { - * console.log(perfObserverList.getEntriesByType('mark')); - * - * * [ - * * PerformanceEntry { - * * name: 'test', - * * entryType: 'mark', - * * startTime: 55.897834, - * * duration: 0, - * * detail: null - * * }, - * * PerformanceEntry { - * * name: 'meow', - * * entryType: 'mark', - * * startTime: 56.350146, - * * duration: 0, - * * detail: null - * * } - * * ] - * - * performance.clearMarks(); - * performance.clearMeasures(); - * observer.disconnect(); - * }); - * obs.observe({ type: 'mark' }); - * - * performance.mark('test'); - * performance.mark('meow'); - * ``` - * @since v8.5.0 - */ - getEntriesByType(type: EntryType): PerformanceEntry[]; - } - type PerformanceObserverCallback = (list: PerformanceObserverEntryList, observer: PerformanceObserver) => void; - /** - * @since v8.5.0 - */ - class PerformanceObserver extends AsyncResource { - constructor(callback: PerformanceObserverCallback); - /** - * Disconnects the `PerformanceObserver` instance from all notifications. - * @since v8.5.0 - */ - disconnect(): void; - /** - * Subscribes the `PerformanceObserver` instance to notifications of new `PerformanceEntry` instances identified either by `options.entryTypes`or `options.type`: - * - * ```js - * const { - * performance, - * PerformanceObserver, - * } = require('node:perf_hooks'); - * - * const obs = new PerformanceObserver((list, observer) => { - * // Called once asynchronously. `list` contains three items. - * }); - * obs.observe({ type: 'mark' }); - * - * for (let n = 0; n < 3; n++) - * performance.mark(`test${n}`); - * ``` - * @since v8.5.0 - */ - observe( - options: - | { - entryTypes: readonly EntryType[]; - buffered?: boolean | undefined; - } - | { - type: EntryType; - buffered?: boolean | undefined; - }, - ): void; - } - namespace constants { - const NODE_PERFORMANCE_GC_MAJOR: number; - const NODE_PERFORMANCE_GC_MINOR: number; - const NODE_PERFORMANCE_GC_INCREMENTAL: number; - const NODE_PERFORMANCE_GC_WEAKCB: number; - const NODE_PERFORMANCE_GC_FLAGS_NO: number; - const NODE_PERFORMANCE_GC_FLAGS_CONSTRUCT_RETAINED: number; - const NODE_PERFORMANCE_GC_FLAGS_FORCED: number; - const NODE_PERFORMANCE_GC_FLAGS_SYNCHRONOUS_PHANTOM_PROCESSING: number; - const NODE_PERFORMANCE_GC_FLAGS_ALL_AVAILABLE_GARBAGE: number; - const NODE_PERFORMANCE_GC_FLAGS_ALL_EXTERNAL_MEMORY: number; - const NODE_PERFORMANCE_GC_FLAGS_SCHEDULE_IDLE: number; - } - const performance: Performance; - interface EventLoopMonitorOptions { - /** - * The sampling rate in milliseconds. - * Must be greater than zero. - * @default 10 - */ - resolution?: number | undefined; - } - interface Histogram { - /** - * Returns a `Map` object detailing the accumulated percentile distribution. - * @since v11.10.0 - */ - readonly percentiles: Map; - /** - * The number of times the event loop delay exceeded the maximum 1 hour event - * loop delay threshold. - * @since v11.10.0 - */ - readonly exceeds: number; - /** - * The minimum recorded event loop delay. - * @since v11.10.0 - */ - readonly min: number; - /** - * The maximum recorded event loop delay. - * @since v11.10.0 - */ - readonly max: number; - /** - * The mean of the recorded event loop delays. - * @since v11.10.0 - */ - readonly mean: number; - /** - * The standard deviation of the recorded event loop delays. - * @since v11.10.0 - */ - readonly stddev: number; - /** - * Resets the collected histogram data. - * @since v11.10.0 - */ - reset(): void; - /** - * Returns the value at the given percentile. - * @since v11.10.0 - * @param percentile A percentile value in the range (0, 100]. - */ - percentile(percentile: number): number; - } - interface IntervalHistogram extends Histogram { - /** - * Enables the update interval timer. Returns `true` if the timer was - * started, `false` if it was already started. - * @since v11.10.0 - */ - enable(): boolean; - /** - * Disables the update interval timer. Returns `true` if the timer was - * stopped, `false` if it was already stopped. - * @since v11.10.0 - */ - disable(): boolean; - } - interface RecordableHistogram extends Histogram { - /** - * @since v15.9.0, v14.18.0 - * @param val The amount to record in the histogram. - */ - record(val: number | bigint): void; - /** - * Calculates the amount of time (in nanoseconds) that has passed since the - * previous call to `recordDelta()` and records that amount in the histogram. - * - * ## Examples - * @since v15.9.0, v14.18.0 - */ - recordDelta(): void; - /** - * Adds the values from `other` to this histogram. - * @since v17.4.0, v16.14.0 - */ - add(other: RecordableHistogram): void; - } - /** - * _This property is an extension by Node.js. It is not available in Web browsers._ - * - * Creates an `IntervalHistogram` object that samples and reports the event loop - * delay over time. The delays will be reported in nanoseconds. - * - * Using a timer to detect approximate event loop delay works because the - * execution of timers is tied specifically to the lifecycle of the libuv - * event loop. That is, a delay in the loop will cause a delay in the execution - * of the timer, and those delays are specifically what this API is intended to - * detect. - * - * ```js - * const { monitorEventLoopDelay } = require('node:perf_hooks'); - * const h = monitorEventLoopDelay({ resolution: 20 }); - * h.enable(); - * // Do something. - * h.disable(); - * console.log(h.min); - * console.log(h.max); - * console.log(h.mean); - * console.log(h.stddev); - * console.log(h.percentiles); - * console.log(h.percentile(50)); - * console.log(h.percentile(99)); - * ``` - * @since v11.10.0 - */ - function monitorEventLoopDelay(options?: EventLoopMonitorOptions): IntervalHistogram; - interface CreateHistogramOptions { - /** - * The minimum recordable value. Must be an integer value greater than 0. - * @default 1 - */ - min?: number | bigint | undefined; - /** - * The maximum recordable value. Must be an integer value greater than min. - * @default Number.MAX_SAFE_INTEGER - */ - max?: number | bigint | undefined; - /** - * The number of accuracy digits. Must be a number between 1 and 5. - * @default 3 - */ - figures?: number | undefined; - } - /** - * Returns a `RecordableHistogram`. - * @since v15.9.0, v14.18.0 - */ - function createHistogram(options?: CreateHistogramOptions): RecordableHistogram; - import { performance as _performance } from "perf_hooks"; - global { - /** - * `performance` is a global reference for `require('perf_hooks').performance` - * https://nodejs.org/api/globals.html#performance - * @since v16.0.0 - */ - var performance: typeof globalThis extends { - onmessage: any; - performance: infer T; - } ? T - : typeof _performance; - } -} -declare module "node:perf_hooks" { - export * from "perf_hooks"; -} diff --git a/node_modules/@types/node/ts4.8/process.d.ts b/node_modules/@types/node/ts4.8/process.d.ts deleted file mode 100644 index d22308f..0000000 --- a/node_modules/@types/node/ts4.8/process.d.ts +++ /dev/null @@ -1,1561 +0,0 @@ -declare module "process" { - import * as tty from "node:tty"; - import { Worker } from "node:worker_threads"; - global { - var process: NodeJS.Process; - namespace NodeJS { - // this namespace merge is here because these are specifically used - // as the type for process.stdin, process.stdout, and process.stderr. - // they can't live in tty.d.ts because we need to disambiguate the imported name. - interface ReadStream extends tty.ReadStream {} - interface WriteStream extends tty.WriteStream {} - interface MemoryUsageFn { - /** - * The `process.memoryUsage()` method iterate over each page to gather informations about memory - * usage which can be slow depending on the program memory allocations. - */ - (): MemoryUsage; - /** - * method returns an integer representing the Resident Set Size (RSS) in bytes. - */ - rss(): number; - } - interface MemoryUsage { - rss: number; - heapTotal: number; - heapUsed: number; - external: number; - arrayBuffers: number; - } - interface CpuUsage { - user: number; - system: number; - } - interface ProcessRelease { - name: string; - sourceUrl?: string | undefined; - headersUrl?: string | undefined; - libUrl?: string | undefined; - lts?: string | undefined; - } - interface ProcessVersions extends Dict { - http_parser: string; - node: string; - v8: string; - ares: string; - uv: string; - zlib: string; - modules: string; - openssl: string; - } - type Platform = - | "aix" - | "android" - | "darwin" - | "freebsd" - | "haiku" - | "linux" - | "openbsd" - | "sunos" - | "win32" - | "cygwin" - | "netbsd"; - type Architecture = - | "arm" - | "arm64" - | "ia32" - | "mips" - | "mipsel" - | "ppc" - | "ppc64" - | "riscv64" - | "s390" - | "s390x" - | "x64"; - type Signals = - | "SIGABRT" - | "SIGALRM" - | "SIGBUS" - | "SIGCHLD" - | "SIGCONT" - | "SIGFPE" - | "SIGHUP" - | "SIGILL" - | "SIGINT" - | "SIGIO" - | "SIGIOT" - | "SIGKILL" - | "SIGPIPE" - | "SIGPOLL" - | "SIGPROF" - | "SIGPWR" - | "SIGQUIT" - | "SIGSEGV" - | "SIGSTKFLT" - | "SIGSTOP" - | "SIGSYS" - | "SIGTERM" - | "SIGTRAP" - | "SIGTSTP" - | "SIGTTIN" - | "SIGTTOU" - | "SIGUNUSED" - | "SIGURG" - | "SIGUSR1" - | "SIGUSR2" - | "SIGVTALRM" - | "SIGWINCH" - | "SIGXCPU" - | "SIGXFSZ" - | "SIGBREAK" - | "SIGLOST" - | "SIGINFO"; - type UncaughtExceptionOrigin = "uncaughtException" | "unhandledRejection"; - type MultipleResolveType = "resolve" | "reject"; - type BeforeExitListener = (code: number) => void; - type DisconnectListener = () => void; - type ExitListener = (code: number) => void; - type RejectionHandledListener = (promise: Promise) => void; - type UncaughtExceptionListener = (error: Error, origin: UncaughtExceptionOrigin) => void; - /** - * Most of the time the unhandledRejection will be an Error, but this should not be relied upon - * as *anything* can be thrown/rejected, it is therefore unsafe to assume that the value is an Error. - */ - type UnhandledRejectionListener = (reason: unknown, promise: Promise) => void; - type WarningListener = (warning: Error) => void; - type MessageListener = (message: unknown, sendHandle: unknown) => void; - type SignalsListener = (signal: Signals) => void; - type MultipleResolveListener = ( - type: MultipleResolveType, - promise: Promise, - value: unknown, - ) => void; - type WorkerListener = (worker: Worker) => void; - interface Socket extends ReadWriteStream { - isTTY?: true | undefined; - } - // Alias for compatibility - interface ProcessEnv extends Dict { - /** - * Can be used to change the default timezone at runtime - */ - TZ?: string; - } - interface HRTime { - (time?: [number, number]): [number, number]; - bigint(): bigint; - } - interface ProcessReport { - /** - * Directory where the report is written. - * working directory of the Node.js process. - * @default '' indicating that reports are written to the current - */ - directory: string; - /** - * Filename where the report is written. - * The default value is the empty string. - * @default '' the output filename will be comprised of a timestamp, - * PID, and sequence number. - */ - filename: string; - /** - * Returns a JSON-formatted diagnostic report for the running process. - * The report's JavaScript stack trace is taken from err, if present. - */ - getReport(err?: Error): string; - /** - * If true, a diagnostic report is generated on fatal errors, - * such as out of memory errors or failed C++ assertions. - * @default false - */ - reportOnFatalError: boolean; - /** - * If true, a diagnostic report is generated when the process - * receives the signal specified by process.report.signal. - * @default false - */ - reportOnSignal: boolean; - /** - * If true, a diagnostic report is generated on uncaught exception. - * @default false - */ - reportOnUncaughtException: boolean; - /** - * The signal used to trigger the creation of a diagnostic report. - * @default 'SIGUSR2' - */ - signal: Signals; - /** - * Writes a diagnostic report to a file. If filename is not provided, the default filename - * includes the date, time, PID, and a sequence number. - * The report's JavaScript stack trace is taken from err, if present. - * - * @param fileName Name of the file where the report is written. - * This should be a relative path, that will be appended to the directory specified in - * `process.report.directory`, or the current working directory of the Node.js process, - * if unspecified. - * @param error A custom error used for reporting the JavaScript stack. - * @return Filename of the generated report. - */ - writeReport(fileName?: string): string; - writeReport(error?: Error): string; - writeReport(fileName?: string, err?: Error): string; - } - interface ResourceUsage { - fsRead: number; - fsWrite: number; - involuntaryContextSwitches: number; - ipcReceived: number; - ipcSent: number; - majorPageFault: number; - maxRSS: number; - minorPageFault: number; - sharedMemorySize: number; - signalsCount: number; - swappedOut: number; - systemCPUTime: number; - unsharedDataSize: number; - unsharedStackSize: number; - userCPUTime: number; - voluntaryContextSwitches: number; - } - interface EmitWarningOptions { - /** - * When `warning` is a `string`, `type` is the name to use for the _type_ of warning being emitted. - * - * @default 'Warning' - */ - type?: string | undefined; - /** - * A unique identifier for the warning instance being emitted. - */ - code?: string | undefined; - /** - * When `warning` is a `string`, `ctor` is an optional function used to limit the generated stack trace. - * - * @default process.emitWarning - */ - ctor?: Function | undefined; - /** - * Additional text to include with the error. - */ - detail?: string | undefined; - } - interface ProcessConfig { - readonly target_defaults: { - readonly cflags: any[]; - readonly default_configuration: string; - readonly defines: string[]; - readonly include_dirs: string[]; - readonly libraries: string[]; - }; - readonly variables: { - readonly clang: number; - readonly host_arch: string; - readonly node_install_npm: boolean; - readonly node_install_waf: boolean; - readonly node_prefix: string; - readonly node_shared_openssl: boolean; - readonly node_shared_v8: boolean; - readonly node_shared_zlib: boolean; - readonly node_use_dtrace: boolean; - readonly node_use_etw: boolean; - readonly node_use_openssl: boolean; - readonly target_arch: string; - readonly v8_no_strict_aliasing: number; - readonly v8_use_snapshot: boolean; - readonly visibility: string; - }; - } - interface Process extends EventEmitter { - /** - * The `process.stdout` property returns a stream connected to`stdout` (fd `1`). It is a `net.Socket` (which is a `Duplex` stream) unless fd `1` refers to a file, in which case it is - * a `Writable` stream. - * - * For example, to copy `process.stdin` to `process.stdout`: - * - * ```js - * import { stdin, stdout } from 'node:process'; - * - * stdin.pipe(stdout); - * ``` - * - * `process.stdout` differs from other Node.js streams in important ways. See `note on process I/O` for more information. - */ - stdout: WriteStream & { - fd: 1; - }; - /** - * The `process.stderr` property returns a stream connected to`stderr` (fd `2`). It is a `net.Socket` (which is a `Duplex` stream) unless fd `2` refers to a file, in which case it is - * a `Writable` stream. - * - * `process.stderr` differs from other Node.js streams in important ways. See `note on process I/O` for more information. - */ - stderr: WriteStream & { - fd: 2; - }; - /** - * The `process.stdin` property returns a stream connected to`stdin` (fd `0`). It is a `net.Socket` (which is a `Duplex` stream) unless fd `0` refers to a file, in which case it is - * a `Readable` stream. - * - * For details of how to read from `stdin` see `readable.read()`. - * - * As a `Duplex` stream, `process.stdin` can also be used in "old" mode that - * is compatible with scripts written for Node.js prior to v0.10\. - * For more information see `Stream compatibility`. - * - * In "old" streams mode the `stdin` stream is paused by default, so one - * must call `process.stdin.resume()` to read from it. Note also that calling`process.stdin.resume()` itself would switch stream to "old" mode. - */ - stdin: ReadStream & { - fd: 0; - }; - openStdin(): Socket; - /** - * The `process.argv` property returns an array containing the command-line - * arguments passed when the Node.js process was launched. The first element will - * be {@link execPath}. See `process.argv0` if access to the original value - * of `argv[0]` is needed. The second element will be the path to the JavaScript - * file being executed. The remaining elements will be any additional command-line - * arguments. - * - * For example, assuming the following script for `process-args.js`: - * - * ```js - * import { argv } from 'node:process'; - * - * // print process.argv - * argv.forEach((val, index) => { - * console.log(`${index}: ${val}`); - * }); - * ``` - * - * Launching the Node.js process as: - * - * ```bash - * node process-args.js one two=three four - * ``` - * - * Would generate the output: - * - * ```text - * 0: /usr/local/bin/node - * 1: /Users/mjr/work/node/process-args.js - * 2: one - * 3: two=three - * 4: four - * ``` - * @since v0.1.27 - */ - argv: string[]; - /** - * The `process.argv0` property stores a read-only copy of the original value of`argv[0]` passed when Node.js starts. - * - * ```console - * $ bash -c 'exec -a customArgv0 ./node' - * > process.argv[0] - * '/Volumes/code/external/node/out/Release/node' - * > process.argv0 - * 'customArgv0' - * ``` - * @since v6.4.0 - */ - argv0: string; - /** - * The `process.execArgv` property returns the set of Node.js-specific command-line - * options passed when the Node.js process was launched. These options do not - * appear in the array returned by the {@link argv} property, and do not - * include the Node.js executable, the name of the script, or any options following - * the script name. These options are useful in order to spawn child processes with - * the same execution environment as the parent. - * - * ```bash - * node --harmony script.js --version - * ``` - * - * Results in `process.execArgv`: - * - * ```js - * ['--harmony'] - * ``` - * - * And `process.argv`: - * - * ```js - * ['/usr/local/bin/node', 'script.js', '--version'] - * ``` - * - * Refer to `Worker constructor` for the detailed behavior of worker - * threads with this property. - * @since v0.7.7 - */ - execArgv: string[]; - /** - * The `process.execPath` property returns the absolute pathname of the executable - * that started the Node.js process. Symbolic links, if any, are resolved. - * - * ```js - * '/usr/local/bin/node' - * ``` - * @since v0.1.100 - */ - execPath: string; - /** - * The `process.abort()` method causes the Node.js process to exit immediately and - * generate a core file. - * - * This feature is not available in `Worker` threads. - * @since v0.7.0 - */ - abort(): never; - /** - * The `process.chdir()` method changes the current working directory of the - * Node.js process or throws an exception if doing so fails (for instance, if - * the specified `directory` does not exist). - * - * ```js - * import { chdir, cwd } from 'node:process'; - * - * console.log(`Starting directory: ${cwd()}`); - * try { - * chdir('/tmp'); - * console.log(`New directory: ${cwd()}`); - * } catch (err) { - * console.error(`chdir: ${err}`); - * } - * ``` - * - * This feature is not available in `Worker` threads. - * @since v0.1.17 - */ - chdir(directory: string): void; - /** - * The `process.cwd()` method returns the current working directory of the Node.js - * process. - * - * ```js - * import { cwd } from 'node:process'; - * - * console.log(`Current directory: ${cwd()}`); - * ``` - * @since v0.1.8 - */ - cwd(): string; - /** - * The port used by the Node.js debugger when enabled. - * - * ```js - * import process from 'node:process'; - * - * process.debugPort = 5858; - * ``` - * @since v0.7.2 - */ - debugPort: number; - /** - * The `process.emitWarning()` method can be used to emit custom or application - * specific process warnings. These can be listened for by adding a handler to the `'warning'` event. - * - * ```js - * import { emitWarning } from 'node:process'; - * - * // Emit a warning with a code and additional detail. - * emitWarning('Something happened!', { - * code: 'MY_WARNING', - * detail: 'This is some additional information', - * }); - * // Emits: - * // (node:56338) [MY_WARNING] Warning: Something happened! - * // This is some additional information - * ``` - * - * In this example, an `Error` object is generated internally by`process.emitWarning()` and passed through to the `'warning'` handler. - * - * ```js - * import process from 'node:process'; - * - * process.on('warning', (warning) => { - * console.warn(warning.name); // 'Warning' - * console.warn(warning.message); // 'Something happened!' - * console.warn(warning.code); // 'MY_WARNING' - * console.warn(warning.stack); // Stack trace - * console.warn(warning.detail); // 'This is some additional information' - * }); - * ``` - * - * If `warning` is passed as an `Error` object, the `options` argument is ignored. - * @since v8.0.0 - * @param warning The warning to emit. - */ - emitWarning(warning: string | Error, ctor?: Function): void; - emitWarning(warning: string | Error, type?: string, ctor?: Function): void; - emitWarning(warning: string | Error, type?: string, code?: string, ctor?: Function): void; - emitWarning(warning: string | Error, options?: EmitWarningOptions): void; - /** - * The `process.env` property returns an object containing the user environment. - * See [`environ(7)`](http://man7.org/linux/man-pages/man7/environ.7.html). - * - * An example of this object looks like: - * - * ```js - * { - * TERM: 'xterm-256color', - * SHELL: '/usr/local/bin/bash', - * USER: 'maciej', - * PATH: '~/.bin/:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin', - * PWD: '/Users/maciej', - * EDITOR: 'vim', - * SHLVL: '1', - * HOME: '/Users/maciej', - * LOGNAME: 'maciej', - * _: '/usr/local/bin/node' - * } - * ``` - * - * It is possible to modify this object, but such modifications will not be - * reflected outside the Node.js process, or (unless explicitly requested) - * to other `Worker` threads. - * In other words, the following example would not work: - * - * ```bash - * node -e 'process.env.foo = "bar"' && echo $foo - * ``` - * - * While the following will: - * - * ```js - * import { env } from 'node:process'; - * - * env.foo = 'bar'; - * console.log(env.foo); - * ``` - * - * Assigning a property on `process.env` will implicitly convert the value - * to a string. **This behavior is deprecated.** Future versions of Node.js may - * throw an error when the value is not a string, number, or boolean. - * - * ```js - * import { env } from 'node:process'; - * - * env.test = null; - * console.log(env.test); - * // => 'null' - * env.test = undefined; - * console.log(env.test); - * // => 'undefined' - * ``` - * - * Use `delete` to delete a property from `process.env`. - * - * ```js - * import { env } from 'node:process'; - * - * env.TEST = 1; - * delete env.TEST; - * console.log(env.TEST); - * // => undefined - * ``` - * - * On Windows operating systems, environment variables are case-insensitive. - * - * ```js - * import { env } from 'node:process'; - * - * env.TEST = 1; - * console.log(env.test); - * // => 1 - * ``` - * - * Unless explicitly specified when creating a `Worker` instance, - * each `Worker` thread has its own copy of `process.env`, based on its - * parent thread's `process.env`, or whatever was specified as the `env` option - * to the `Worker` constructor. Changes to `process.env` will not be visible - * across `Worker` threads, and only the main thread can make changes that - * are visible to the operating system or to native add-ons. On Windows, a copy of`process.env` on a `Worker` instance operates in a case-sensitive manner - * unlike the main thread. - * @since v0.1.27 - */ - env: ProcessEnv; - /** - * The `process.exit()` method instructs Node.js to terminate the process - * synchronously with an exit status of `code`. If `code` is omitted, exit uses - * either the 'success' code `0` or the value of `process.exitCode` if it has been - * set. Node.js will not terminate until all the `'exit'` event listeners are - * called. - * - * To exit with a 'failure' code: - * - * ```js - * import { exit } from 'node:process'; - * - * exit(1); - * ``` - * - * The shell that executed Node.js should see the exit code as `1`. - * - * Calling `process.exit()` will force the process to exit as quickly as possible - * even if there are still asynchronous operations pending that have not yet - * completed fully, including I/O operations to `process.stdout` and`process.stderr`. - * - * In most situations, it is not actually necessary to call `process.exit()`explicitly. The Node.js process will exit on its own _if there is no additional_ - * _work pending_ in the event loop. The `process.exitCode` property can be set to - * tell the process which exit code to use when the process exits gracefully. - * - * For instance, the following example illustrates a _misuse_ of the`process.exit()` method that could lead to data printed to stdout being - * truncated and lost: - * - * ```js - * import { exit } from 'node:process'; - * - * // This is an example of what *not* to do: - * if (someConditionNotMet()) { - * printUsageToStdout(); - * exit(1); - * } - * ``` - * - * The reason this is problematic is because writes to `process.stdout` in Node.js - * are sometimes _asynchronous_ and may occur over multiple ticks of the Node.js - * event loop. Calling `process.exit()`, however, forces the process to exit _before_ those additional writes to `stdout` can be performed. - * - * Rather than calling `process.exit()` directly, the code _should_ set the`process.exitCode` and allow the process to exit naturally by avoiding - * scheduling any additional work for the event loop: - * - * ```js - * import process from 'node:process'; - * - * // How to properly set the exit code while letting - * // the process exit gracefully. - * if (someConditionNotMet()) { - * printUsageToStdout(); - * process.exitCode = 1; - * } - * ``` - * - * If it is necessary to terminate the Node.js process due to an error condition, - * throwing an _uncaught_ error and allowing the process to terminate accordingly - * is safer than calling `process.exit()`. - * - * In `Worker` threads, this function stops the current thread rather - * than the current process. - * @since v0.1.13 - * @param [code=0] The exit code. For string type, only integer strings (e.g.,'1') are allowed. - */ - exit(code?: number): never; - /** - * A number which will be the process exit code, when the process either - * exits gracefully, or is exited via {@link exit} without specifying - * a code. - * - * Specifying a code to {@link exit} will override any - * previous setting of `process.exitCode`. - * @since v0.11.8 - */ - exitCode?: number | undefined; - /** - * The `process.getgid()` method returns the numerical group identity of the - * process. (See [`getgid(2)`](http://man7.org/linux/man-pages/man2/getgid.2.html).) - * - * ```js - * import process from 'process'; - * - * if (process.getgid) { - * console.log(`Current gid: ${process.getgid()}`); - * } - * ``` - * - * This function is only available on POSIX platforms (i.e. not Windows or - * Android). - * @since v0.1.31 - */ - getgid?: () => number; - /** - * The `process.setgid()` method sets the group identity of the process. (See [`setgid(2)`](http://man7.org/linux/man-pages/man2/setgid.2.html).) The `id` can be passed as either a - * numeric ID or a group name - * string. If a group name is specified, this method blocks while resolving the - * associated numeric ID. - * - * ```js - * import process from 'process'; - * - * if (process.getgid && process.setgid) { - * console.log(`Current gid: ${process.getgid()}`); - * try { - * process.setgid(501); - * console.log(`New gid: ${process.getgid()}`); - * } catch (err) { - * console.log(`Failed to set gid: ${err}`); - * } - * } - * ``` - * - * This function is only available on POSIX platforms (i.e. not Windows or - * Android). - * This feature is not available in `Worker` threads. - * @since v0.1.31 - * @param id The group name or ID - */ - setgid?: (id: number | string) => void; - /** - * The `process.getuid()` method returns the numeric user identity of the process. - * (See [`getuid(2)`](http://man7.org/linux/man-pages/man2/getuid.2.html).) - * - * ```js - * import process from 'process'; - * - * if (process.getuid) { - * console.log(`Current uid: ${process.getuid()}`); - * } - * ``` - * - * This function is only available on POSIX platforms (i.e. not Windows or - * Android). - * @since v0.1.28 - */ - getuid?: () => number; - /** - * The `process.setuid(id)` method sets the user identity of the process. (See [`setuid(2)`](http://man7.org/linux/man-pages/man2/setuid.2.html).) The `id` can be passed as either a - * numeric ID or a username string. - * If a username is specified, the method blocks while resolving the associated - * numeric ID. - * - * ```js - * import process from 'process'; - * - * if (process.getuid && process.setuid) { - * console.log(`Current uid: ${process.getuid()}`); - * try { - * process.setuid(501); - * console.log(`New uid: ${process.getuid()}`); - * } catch (err) { - * console.log(`Failed to set uid: ${err}`); - * } - * } - * ``` - * - * This function is only available on POSIX platforms (i.e. not Windows or - * Android). - * This feature is not available in `Worker` threads. - * @since v0.1.28 - */ - setuid?: (id: number | string) => void; - /** - * The `process.geteuid()` method returns the numerical effective user identity of - * the process. (See [`geteuid(2)`](http://man7.org/linux/man-pages/man2/geteuid.2.html).) - * - * ```js - * import process from 'process'; - * - * if (process.geteuid) { - * console.log(`Current uid: ${process.geteuid()}`); - * } - * ``` - * - * This function is only available on POSIX platforms (i.e. not Windows or - * Android). - * @since v2.0.0 - */ - geteuid?: () => number; - /** - * The `process.seteuid()` method sets the effective user identity of the process. - * (See [`seteuid(2)`](http://man7.org/linux/man-pages/man2/seteuid.2.html).) The `id` can be passed as either a numeric ID or a username - * string. If a username is specified, the method blocks while resolving the - * associated numeric ID. - * - * ```js - * import process from 'process'; - * - * if (process.geteuid && process.seteuid) { - * console.log(`Current uid: ${process.geteuid()}`); - * try { - * process.seteuid(501); - * console.log(`New uid: ${process.geteuid()}`); - * } catch (err) { - * console.log(`Failed to set uid: ${err}`); - * } - * } - * ``` - * - * This function is only available on POSIX platforms (i.e. not Windows or - * Android). - * This feature is not available in `Worker` threads. - * @since v2.0.0 - * @param id A user name or ID - */ - seteuid?: (id: number | string) => void; - /** - * The `process.getegid()` method returns the numerical effective group identity - * of the Node.js process. (See [`getegid(2)`](http://man7.org/linux/man-pages/man2/getegid.2.html).) - * - * ```js - * import process from 'process'; - * - * if (process.getegid) { - * console.log(`Current gid: ${process.getegid()}`); - * } - * ``` - * - * This function is only available on POSIX platforms (i.e. not Windows or - * Android). - * @since v2.0.0 - */ - getegid?: () => number; - /** - * The `process.setegid()` method sets the effective group identity of the process. - * (See [`setegid(2)`](http://man7.org/linux/man-pages/man2/setegid.2.html).) The `id` can be passed as either a numeric ID or a group - * name string. If a group name is specified, this method blocks while resolving - * the associated a numeric ID. - * - * ```js - * import process from 'process'; - * - * if (process.getegid && process.setegid) { - * console.log(`Current gid: ${process.getegid()}`); - * try { - * process.setegid(501); - * console.log(`New gid: ${process.getegid()}`); - * } catch (err) { - * console.log(`Failed to set gid: ${err}`); - * } - * } - * ``` - * - * This function is only available on POSIX platforms (i.e. not Windows or - * Android). - * This feature is not available in `Worker` threads. - * @since v2.0.0 - * @param id A group name or ID - */ - setegid?: (id: number | string) => void; - /** - * The `process.getgroups()` method returns an array with the supplementary group - * IDs. POSIX leaves it unspecified if the effective group ID is included but - * Node.js ensures it always is. - * - * ```js - * import process from 'process'; - * - * if (process.getgroups) { - * console.log(process.getgroups()); // [ 16, 21, 297 ] - * } - * ``` - * - * This function is only available on POSIX platforms (i.e. not Windows or - * Android). - * @since v0.9.4 - */ - getgroups?: () => number[]; - /** - * The `process.setgroups()` method sets the supplementary group IDs for the - * Node.js process. This is a privileged operation that requires the Node.js - * process to have `root` or the `CAP_SETGID` capability. - * - * The `groups` array can contain numeric group IDs, group names, or both. - * - * ```js - * import process from 'process'; - * - * if (process.getgroups && process.setgroups) { - * try { - * process.setgroups([501]); - * console.log(process.getgroups()); // new groups - * } catch (err) { - * console.log(`Failed to set groups: ${err}`); - * } - * } - * ``` - * - * This function is only available on POSIX platforms (i.e. not Windows or - * Android). - * This feature is not available in `Worker` threads. - * @since v0.9.4 - */ - setgroups?: (groups: ReadonlyArray) => void; - /** - * The `process.setUncaughtExceptionCaptureCallback()` function sets a function - * that will be invoked when an uncaught exception occurs, which will receive the - * exception value itself as its first argument. - * - * If such a function is set, the `'uncaughtException'` event will - * not be emitted. If `--abort-on-uncaught-exception` was passed from the - * command line or set through `v8.setFlagsFromString()`, the process will - * not abort. Actions configured to take place on exceptions such as report - * generations will be affected too - * - * To unset the capture function,`process.setUncaughtExceptionCaptureCallback(null)` may be used. Calling this - * method with a non-`null` argument while another capture function is set will - * throw an error. - * - * Using this function is mutually exclusive with using the deprecated `domain` built-in module. - * @since v9.3.0 - */ - setUncaughtExceptionCaptureCallback(cb: ((err: Error) => void) | null): void; - /** - * Indicates whether a callback has been set using {@link setUncaughtExceptionCaptureCallback}. - * @since v9.3.0 - */ - hasUncaughtExceptionCaptureCallback(): boolean; - /** - * The `process.sourceMapsEnabled` property returns whether the [Source Map v3](https://sourcemaps.info/spec.html) support for stack traces is enabled. - * @since v20.7.0 - * @experimental - */ - readonly sourceMapsEnabled: boolean; - /** - * This function enables or disables the [Source Map v3](https://sourcemaps.info/spec.html) support for - * stack traces. - * - * It provides same features as launching Node.js process with commandline options`--enable-source-maps`. - * - * Only source maps in JavaScript files that are loaded after source maps has been - * enabled will be parsed and loaded. - * @since v16.6.0, v14.18.0 - * @experimental - */ - setSourceMapsEnabled(value: boolean): void; - /** - * The `process.version` property contains the Node.js version string. - * - * ```js - * import { version } from 'node:process'; - * - * console.log(`Version: ${version}`); - * // Version: v14.8.0 - * ``` - * - * To get the version string without the prepended _v_, use`process.versions.node`. - * @since v0.1.3 - */ - readonly version: string; - /** - * The `process.versions` property returns an object listing the version strings of - * Node.js and its dependencies. `process.versions.modules` indicates the current - * ABI version, which is increased whenever a C++ API changes. Node.js will refuse - * to load modules that were compiled against a different module ABI version. - * - * ```js - * import { versions } from 'node:process'; - * - * console.log(versions); - * ``` - * - * Will generate an object similar to: - * - * ```console - * { node: '20.2.0', - * acorn: '8.8.2', - * ada: '2.4.0', - * ares: '1.19.0', - * base64: '0.5.0', - * brotli: '1.0.9', - * cjs_module_lexer: '1.2.2', - * cldr: '43.0', - * icu: '73.1', - * llhttp: '8.1.0', - * modules: '115', - * napi: '8', - * nghttp2: '1.52.0', - * nghttp3: '0.7.0', - * ngtcp2: '0.8.1', - * openssl: '3.0.8+quic', - * simdutf: '3.2.9', - * tz: '2023c', - * undici: '5.22.0', - * unicode: '15.0', - * uv: '1.44.2', - * uvwasi: '0.0.16', - * v8: '11.3.244.8-node.9', - * zlib: '1.2.13' } - * ``` - * @since v0.2.0 - */ - readonly versions: ProcessVersions; - /** - * The `process.config` property returns a frozen `Object` containing the - * JavaScript representation of the configure options used to compile the current - * Node.js executable. This is the same as the `config.gypi` file that was produced - * when running the `./configure` script. - * - * An example of the possible output looks like: - * - * ```js - * { - * target_defaults: - * { cflags: [], - * default_configuration: 'Release', - * defines: [], - * include_dirs: [], - * libraries: [] }, - * variables: - * { - * host_arch: 'x64', - * napi_build_version: 5, - * node_install_npm: 'true', - * node_prefix: '', - * node_shared_cares: 'false', - * node_shared_http_parser: 'false', - * node_shared_libuv: 'false', - * node_shared_zlib: 'false', - * node_use_openssl: 'true', - * node_shared_openssl: 'false', - * strict_aliasing: 'true', - * target_arch: 'x64', - * v8_use_snapshot: 1 - * } - * } - * ``` - * @since v0.7.7 - */ - readonly config: ProcessConfig; - /** - * The `process.kill()` method sends the `signal` to the process identified by`pid`. - * - * Signal names are strings such as `'SIGINT'` or `'SIGHUP'`. See `Signal Events` and [`kill(2)`](http://man7.org/linux/man-pages/man2/kill.2.html) for more information. - * - * This method will throw an error if the target `pid` does not exist. As a special - * case, a signal of `0` can be used to test for the existence of a process. - * Windows platforms will throw an error if the `pid` is used to kill a process - * group. - * - * Even though the name of this function is `process.kill()`, it is really just a - * signal sender, like the `kill` system call. The signal sent may do something - * other than kill the target process. - * - * ```js - * import process, { kill } from 'node:process'; - * - * process.on('SIGHUP', () => { - * console.log('Got SIGHUP signal.'); - * }); - * - * setTimeout(() => { - * console.log('Exiting.'); - * process.exit(0); - * }, 100); - * - * kill(process.pid, 'SIGHUP'); - * ``` - * - * When `SIGUSR1` is received by a Node.js process, Node.js will start the - * debugger. See `Signal Events`. - * @since v0.0.6 - * @param pid A process ID - * @param [signal='SIGTERM'] The signal to send, either as a string or number. - */ - kill(pid: number, signal?: string | number): true; - /** - * The `process.pid` property returns the PID of the process. - * - * ```js - * import { pid } from 'node:process'; - * - * console.log(`This process is pid ${pid}`); - * ``` - * @since v0.1.15 - */ - readonly pid: number; - /** - * The `process.ppid` property returns the PID of the parent of the - * current process. - * - * ```js - * import { ppid } from 'node:process'; - * - * console.log(`The parent process is pid ${ppid}`); - * ``` - * @since v9.2.0, v8.10.0, v6.13.0 - */ - readonly ppid: number; - /** - * The `process.title` property returns the current process title (i.e. returns - * the current value of `ps`). Assigning a new value to `process.title` modifies - * the current value of `ps`. - * - * When a new value is assigned, different platforms will impose different maximum - * length restrictions on the title. Usually such restrictions are quite limited. - * For instance, on Linux and macOS, `process.title` is limited to the size of the - * binary name plus the length of the command-line arguments because setting the`process.title` overwrites the `argv` memory of the process. Node.js v0.8 - * allowed for longer process title strings by also overwriting the `environ`memory but that was potentially insecure and confusing in some (rather obscure) - * cases. - * - * Assigning a value to `process.title` might not result in an accurate label - * within process manager applications such as macOS Activity Monitor or Windows - * Services Manager. - * @since v0.1.104 - */ - title: string; - /** - * The operating system CPU architecture for which the Node.js binary was compiled. - * Possible values are: `'arm'`, `'arm64'`, `'ia32'`, `'loong64'`, `'mips'`,`'mipsel'`, `'ppc'`, `'ppc64'`, `'riscv64'`, `'s390'`, `'s390x'`, and `'x64'`. - * - * ```js - * import { arch } from 'node:process'; - * - * console.log(`This processor architecture is ${arch}`); - * ``` - * @since v0.5.0 - */ - readonly arch: Architecture; - /** - * The `process.platform` property returns a string identifying the operating - * system platform for which the Node.js binary was compiled. - * - * Currently possible values are: - * - * * `'aix'` - * * `'darwin'` - * * `'freebsd'` - * * `'linux'` - * * `'openbsd'` - * * `'sunos'` - * * `'win32'` - * - * ```js - * import { platform } from 'node:process'; - * - * console.log(`This platform is ${platform}`); - * ``` - * - * The value `'android'` may also be returned if the Node.js is built on the - * Android operating system. However, Android support in Node.js [is experimental](https://github.com/nodejs/node/blob/HEAD/BUILDING.md#androidandroid-based-devices-eg-firefox-os). - * @since v0.1.16 - */ - readonly platform: Platform; - /** - * The `process.mainModule` property provides an alternative way of retrieving `require.main`. The difference is that if the main module changes at - * runtime, `require.main` may still refer to the original main module in - * modules that were required before the change occurred. Generally, it's - * safe to assume that the two refer to the same module. - * - * As with `require.main`, `process.mainModule` will be `undefined` if there - * is no entry script. - * @since v0.1.17 - * @deprecated Since v14.0.0 - Use `main` instead. - */ - mainModule?: Module | undefined; - memoryUsage: MemoryUsageFn; - /** - * Gets the amount of memory available to the process (in bytes) based on - * limits imposed by the OS. If there is no such constraint, or the constraint - * is unknown, `undefined` is returned. - * - * See [`uv_get_constrained_memory`](https://docs.libuv.org/en/v1.x/misc.html#c.uv_get_constrained_memory) for more - * information. - * @since v19.6.0, v18.15.0 - * @experimental - */ - constrainedMemory(): number | undefined; - /** - * The `process.cpuUsage()` method returns the user and system CPU time usage of - * the current process, in an object with properties `user` and `system`, whose - * values are microsecond values (millionth of a second). These values measure time - * spent in user and system code respectively, and may end up being greater than - * actual elapsed time if multiple CPU cores are performing work for this process. - * - * The result of a previous call to `process.cpuUsage()` can be passed as the - * argument to the function, to get a diff reading. - * - * ```js - * import { cpuUsage } from 'node:process'; - * - * const startUsage = cpuUsage(); - * // { user: 38579, system: 6986 } - * - * // spin the CPU for 500 milliseconds - * const now = Date.now(); - * while (Date.now() - now < 500); - * - * console.log(cpuUsage(startUsage)); - * // { user: 514883, system: 11226 } - * ``` - * @since v6.1.0 - * @param previousValue A previous return value from calling `process.cpuUsage()` - */ - cpuUsage(previousValue?: CpuUsage): CpuUsage; - /** - * `process.nextTick()` adds `callback` to the "next tick queue". This queue is - * fully drained after the current operation on the JavaScript stack runs to - * completion and before the event loop is allowed to continue. It's possible to - * create an infinite loop if one were to recursively call `process.nextTick()`. - * See the [Event Loop](https://nodejs.org/en/docs/guides/event-loop-timers-and-nexttick/#process-nexttick) guide for more background. - * - * ```js - * import { nextTick } from 'node:process'; - * - * console.log('start'); - * nextTick(() => { - * console.log('nextTick callback'); - * }); - * console.log('scheduled'); - * // Output: - * // start - * // scheduled - * // nextTick callback - * ``` - * - * This is important when developing APIs in order to give users the opportunity - * to assign event handlers _after_ an object has been constructed but before any - * I/O has occurred: - * - * ```js - * import { nextTick } from 'node:process'; - * - * function MyThing(options) { - * this.setupOptions(options); - * - * nextTick(() => { - * this.startDoingStuff(); - * }); - * } - * - * const thing = new MyThing(); - * thing.getReadyForStuff(); - * - * // thing.startDoingStuff() gets called now, not before. - * ``` - * - * It is very important for APIs to be either 100% synchronous or 100% - * asynchronous. Consider this example: - * - * ```js - * // WARNING! DO NOT USE! BAD UNSAFE HAZARD! - * function maybeSync(arg, cb) { - * if (arg) { - * cb(); - * return; - * } - * - * fs.stat('file', cb); - * } - * ``` - * - * This API is hazardous because in the following case: - * - * ```js - * const maybeTrue = Math.random() > 0.5; - * - * maybeSync(maybeTrue, () => { - * foo(); - * }); - * - * bar(); - * ``` - * - * It is not clear whether `foo()` or `bar()` will be called first. - * - * The following approach is much better: - * - * ```js - * import { nextTick } from 'node:process'; - * - * function definitelyAsync(arg, cb) { - * if (arg) { - * nextTick(cb); - * return; - * } - * - * fs.stat('file', cb); - * } - * ``` - * @since v0.1.26 - * @param args Additional arguments to pass when invoking the `callback` - */ - nextTick(callback: Function, ...args: any[]): void; - /** - * The `process.release` property returns an `Object` containing metadata related - * to the current release, including URLs for the source tarball and headers-only - * tarball. - * - * `process.release` contains the following properties: - * - * ```js - * { - * name: 'node', - * lts: 'Hydrogen', - * sourceUrl: 'https://nodejs.org/download/release/v18.12.0/node-v18.12.0.tar.gz', - * headersUrl: 'https://nodejs.org/download/release/v18.12.0/node-v18.12.0-headers.tar.gz', - * libUrl: 'https://nodejs.org/download/release/v18.12.0/win-x64/node.lib' - * } - * ``` - * - * In custom builds from non-release versions of the source tree, only the`name` property may be present. The additional properties should not be - * relied upon to exist. - * @since v3.0.0 - */ - readonly release: ProcessRelease; - features: { - inspector: boolean; - debug: boolean; - uv: boolean; - ipv6: boolean; - tls_alpn: boolean; - tls_sni: boolean; - tls_ocsp: boolean; - tls: boolean; - }; - /** - * `process.umask()` returns the Node.js process's file mode creation mask. Child - * processes inherit the mask from the parent process. - * @since v0.1.19 - * @deprecated Calling `process.umask()` with no argument causes the process-wide umask to be written twice. This introduces a race condition between threads, and is a potential * - * security vulnerability. There is no safe, cross-platform alternative API. - */ - umask(): number; - /** - * Can only be set if not in worker thread. - */ - umask(mask: string | number): number; - /** - * The `process.uptime()` method returns the number of seconds the current Node.js - * process has been running. - * - * The return value includes fractions of a second. Use `Math.floor()` to get whole - * seconds. - * @since v0.5.0 - */ - uptime(): number; - hrtime: HRTime; - /** - * If the Node.js process was spawned with an IPC channel, the process.channel property is a reference to the IPC channel. - * If no IPC channel exists, this property is undefined. - * @since v7.1.0 - */ - channel?: { - /** - * This method makes the IPC channel keep the event loop of the process running if .unref() has been called before. - * @since v7.1.0 - */ - ref(): void; - /** - * This method makes the IPC channel not keep the event loop of the process running, and lets it finish even while the channel is open. - * @since v7.1.0 - */ - unref(): void; - }; - /** - * If Node.js is spawned with an IPC channel, the `process.send()` method can be - * used to send messages to the parent process. Messages will be received as a `'message'` event on the parent's `ChildProcess` object. - * - * If Node.js was not spawned with an IPC channel, `process.send` will be `undefined`. - * - * The message goes through serialization and parsing. The resulting message might - * not be the same as what is originally sent. - * @since v0.5.9 - * @param options used to parameterize the sending of certain types of handles.`options` supports the following properties: - */ - send?( - message: any, - sendHandle?: any, - options?: { - swallowErrors?: boolean | undefined; - }, - callback?: (error: Error | null) => void, - ): boolean; - /** - * If the Node.js process is spawned with an IPC channel (see the `Child Process` and `Cluster` documentation), the `process.disconnect()` method will close the - * IPC channel to the parent process, allowing the child process to exit gracefully - * once there are no other connections keeping it alive. - * - * The effect of calling `process.disconnect()` is the same as calling `ChildProcess.disconnect()` from the parent process. - * - * If the Node.js process was not spawned with an IPC channel,`process.disconnect()` will be `undefined`. - * @since v0.7.2 - */ - disconnect(): void; - /** - * If the Node.js process is spawned with an IPC channel (see the `Child Process` and `Cluster` documentation), the `process.connected` property will return`true` so long as the IPC - * channel is connected and will return `false` after`process.disconnect()` is called. - * - * Once `process.connected` is `false`, it is no longer possible to send messages - * over the IPC channel using `process.send()`. - * @since v0.7.2 - */ - connected: boolean; - /** - * The `process.allowedNodeEnvironmentFlags` property is a special, - * read-only `Set` of flags allowable within the `NODE_OPTIONS` environment variable. - * - * `process.allowedNodeEnvironmentFlags` extends `Set`, but overrides`Set.prototype.has` to recognize several different possible flag - * representations. `process.allowedNodeEnvironmentFlags.has()` will - * return `true` in the following cases: - * - * * Flags may omit leading single (`-`) or double (`--`) dashes; e.g.,`inspect-brk` for `--inspect-brk`, or `r` for `-r`. - * * Flags passed through to V8 (as listed in `--v8-options`) may replace - * one or more _non-leading_ dashes for an underscore, or vice-versa; - * e.g., `--perf_basic_prof`, `--perf-basic-prof`, `--perf_basic-prof`, - * etc. - * * Flags may contain one or more equals (`=`) characters; all - * characters after and including the first equals will be ignored; - * e.g., `--stack-trace-limit=100`. - * * Flags _must_ be allowable within `NODE_OPTIONS`. - * - * When iterating over `process.allowedNodeEnvironmentFlags`, flags will - * appear only _once_; each will begin with one or more dashes. Flags - * passed through to V8 will contain underscores instead of non-leading - * dashes: - * - * ```js - * import { allowedNodeEnvironmentFlags } from 'node:process'; - * - * allowedNodeEnvironmentFlags.forEach((flag) => { - * // -r - * // --inspect-brk - * // --abort_on_uncaught_exception - * // ... - * }); - * ``` - * - * The methods `add()`, `clear()`, and `delete()` of`process.allowedNodeEnvironmentFlags` do nothing, and will fail - * silently. - * - * If Node.js was compiled _without_ `NODE_OPTIONS` support (shown in {@link config}), `process.allowedNodeEnvironmentFlags` will - * contain what _would have_ been allowable. - * @since v10.10.0 - */ - allowedNodeEnvironmentFlags: ReadonlySet; - /** - * `process.report` is an object whose methods are used to generate diagnostic - * reports for the current process. Additional documentation is available in the `report documentation`. - * @since v11.8.0 - */ - report?: ProcessReport | undefined; - /** - * ```js - * import { resourceUsage } from 'node:process'; - * - * console.log(resourceUsage()); - * /* - * Will output: - * { - * userCPUTime: 82872, - * systemCPUTime: 4143, - * maxRSS: 33164, - * sharedMemorySize: 0, - * unsharedDataSize: 0, - * unsharedStackSize: 0, - * minorPageFault: 2469, - * majorPageFault: 0, - * swappedOut: 0, - * fsRead: 0, - * fsWrite: 8, - * ipcSent: 0, - * ipcReceived: 0, - * signalsCount: 0, - * voluntaryContextSwitches: 79, - * involuntaryContextSwitches: 1 - * } - * - * ``` - * @since v12.6.0 - * @return the resource usage for the current process. All of these values come from the `uv_getrusage` call which returns a [`uv_rusage_t` struct][uv_rusage_t]. - */ - resourceUsage(): ResourceUsage; - /** - * The `process.traceDeprecation` property indicates whether the`--trace-deprecation` flag is set on the current Node.js process. See the - * documentation for the `'warning' event` and the `emitWarning() method` for more information about this - * flag's behavior. - * @since v0.8.0 - */ - traceDeprecation: boolean; - /* EventEmitter */ - addListener(event: "beforeExit", listener: BeforeExitListener): this; - addListener(event: "disconnect", listener: DisconnectListener): this; - addListener(event: "exit", listener: ExitListener): this; - addListener(event: "rejectionHandled", listener: RejectionHandledListener): this; - addListener(event: "uncaughtException", listener: UncaughtExceptionListener): this; - addListener(event: "uncaughtExceptionMonitor", listener: UncaughtExceptionListener): this; - addListener(event: "unhandledRejection", listener: UnhandledRejectionListener): this; - addListener(event: "warning", listener: WarningListener): this; - addListener(event: "message", listener: MessageListener): this; - addListener(event: Signals, listener: SignalsListener): this; - addListener(event: "multipleResolves", listener: MultipleResolveListener): this; - addListener(event: "worker", listener: WorkerListener): this; - emit(event: "beforeExit", code: number): boolean; - emit(event: "disconnect"): boolean; - emit(event: "exit", code: number): boolean; - emit(event: "rejectionHandled", promise: Promise): boolean; - emit(event: "uncaughtException", error: Error): boolean; - emit(event: "uncaughtExceptionMonitor", error: Error): boolean; - emit(event: "unhandledRejection", reason: unknown, promise: Promise): boolean; - emit(event: "warning", warning: Error): boolean; - emit(event: "message", message: unknown, sendHandle: unknown): this; - emit(event: Signals, signal?: Signals): boolean; - emit( - event: "multipleResolves", - type: MultipleResolveType, - promise: Promise, - value: unknown, - ): this; - emit(event: "worker", listener: WorkerListener): this; - on(event: "beforeExit", listener: BeforeExitListener): this; - on(event: "disconnect", listener: DisconnectListener): this; - on(event: "exit", listener: ExitListener): this; - on(event: "rejectionHandled", listener: RejectionHandledListener): this; - on(event: "uncaughtException", listener: UncaughtExceptionListener): this; - on(event: "uncaughtExceptionMonitor", listener: UncaughtExceptionListener): this; - on(event: "unhandledRejection", listener: UnhandledRejectionListener): this; - on(event: "warning", listener: WarningListener): this; - on(event: "message", listener: MessageListener): this; - on(event: Signals, listener: SignalsListener): this; - on(event: "multipleResolves", listener: MultipleResolveListener): this; - on(event: "worker", listener: WorkerListener): this; - on(event: string | symbol, listener: (...args: any[]) => void): this; - once(event: "beforeExit", listener: BeforeExitListener): this; - once(event: "disconnect", listener: DisconnectListener): this; - once(event: "exit", listener: ExitListener): this; - once(event: "rejectionHandled", listener: RejectionHandledListener): this; - once(event: "uncaughtException", listener: UncaughtExceptionListener): this; - once(event: "uncaughtExceptionMonitor", listener: UncaughtExceptionListener): this; - once(event: "unhandledRejection", listener: UnhandledRejectionListener): this; - once(event: "warning", listener: WarningListener): this; - once(event: "message", listener: MessageListener): this; - once(event: Signals, listener: SignalsListener): this; - once(event: "multipleResolves", listener: MultipleResolveListener): this; - once(event: "worker", listener: WorkerListener): this; - once(event: string | symbol, listener: (...args: any[]) => void): this; - prependListener(event: "beforeExit", listener: BeforeExitListener): this; - prependListener(event: "disconnect", listener: DisconnectListener): this; - prependListener(event: "exit", listener: ExitListener): this; - prependListener(event: "rejectionHandled", listener: RejectionHandledListener): this; - prependListener(event: "uncaughtException", listener: UncaughtExceptionListener): this; - prependListener(event: "uncaughtExceptionMonitor", listener: UncaughtExceptionListener): this; - prependListener(event: "unhandledRejection", listener: UnhandledRejectionListener): this; - prependListener(event: "warning", listener: WarningListener): this; - prependListener(event: "message", listener: MessageListener): this; - prependListener(event: Signals, listener: SignalsListener): this; - prependListener(event: "multipleResolves", listener: MultipleResolveListener): this; - prependListener(event: "worker", listener: WorkerListener): this; - prependOnceListener(event: "beforeExit", listener: BeforeExitListener): this; - prependOnceListener(event: "disconnect", listener: DisconnectListener): this; - prependOnceListener(event: "exit", listener: ExitListener): this; - prependOnceListener(event: "rejectionHandled", listener: RejectionHandledListener): this; - prependOnceListener(event: "uncaughtException", listener: UncaughtExceptionListener): this; - prependOnceListener(event: "uncaughtExceptionMonitor", listener: UncaughtExceptionListener): this; - prependOnceListener(event: "unhandledRejection", listener: UnhandledRejectionListener): this; - prependOnceListener(event: "warning", listener: WarningListener): this; - prependOnceListener(event: "message", listener: MessageListener): this; - prependOnceListener(event: Signals, listener: SignalsListener): this; - prependOnceListener(event: "multipleResolves", listener: MultipleResolveListener): this; - prependOnceListener(event: "worker", listener: WorkerListener): this; - listeners(event: "beforeExit"): BeforeExitListener[]; - listeners(event: "disconnect"): DisconnectListener[]; - listeners(event: "exit"): ExitListener[]; - listeners(event: "rejectionHandled"): RejectionHandledListener[]; - listeners(event: "uncaughtException"): UncaughtExceptionListener[]; - listeners(event: "uncaughtExceptionMonitor"): UncaughtExceptionListener[]; - listeners(event: "unhandledRejection"): UnhandledRejectionListener[]; - listeners(event: "warning"): WarningListener[]; - listeners(event: "message"): MessageListener[]; - listeners(event: Signals): SignalsListener[]; - listeners(event: "multipleResolves"): MultipleResolveListener[]; - listeners(event: "worker"): WorkerListener[]; - } - } - } - export = process; -} -declare module "node:process" { - import process = require("process"); - export = process; -} diff --git a/node_modules/@types/node/ts4.8/punycode.d.ts b/node_modules/@types/node/ts4.8/punycode.d.ts deleted file mode 100644 index d2fc9f9..0000000 --- a/node_modules/@types/node/ts4.8/punycode.d.ts +++ /dev/null @@ -1,117 +0,0 @@ -/** - * **The version of the punycode module bundled in Node.js is being deprecated.**In a future major version of Node.js this module will be removed. Users - * currently depending on the `punycode` module should switch to using the - * userland-provided [Punycode.js](https://github.com/bestiejs/punycode.js) module instead. For punycode-based URL - * encoding, see `url.domainToASCII` or, more generally, the `WHATWG URL API`. - * - * The `punycode` module is a bundled version of the [Punycode.js](https://github.com/bestiejs/punycode.js) module. It - * can be accessed using: - * - * ```js - * const punycode = require('punycode'); - * ``` - * - * [Punycode](https://tools.ietf.org/html/rfc3492) is a character encoding scheme defined by RFC 3492 that is - * primarily intended for use in Internationalized Domain Names. Because host - * names in URLs are limited to ASCII characters only, Domain Names that contain - * non-ASCII characters must be converted into ASCII using the Punycode scheme. - * For instance, the Japanese character that translates into the English word,`'example'` is `'例'`. The Internationalized Domain Name, `'例.com'` (equivalent - * to `'example.com'`) is represented by Punycode as the ASCII string`'xn--fsq.com'`. - * - * The `punycode` module provides a simple implementation of the Punycode standard. - * - * The `punycode` module is a third-party dependency used by Node.js and - * made available to developers as a convenience. Fixes or other modifications to - * the module must be directed to the [Punycode.js](https://github.com/bestiejs/punycode.js) project. - * @deprecated Since v7.0.0 - Deprecated - * @see [source](https://github.com/nodejs/node/blob/v20.2.0/lib/punycode.js) - */ -declare module "punycode" { - /** - * The `punycode.decode()` method converts a [Punycode](https://tools.ietf.org/html/rfc3492) string of ASCII-only - * characters to the equivalent string of Unicode codepoints. - * - * ```js - * punycode.decode('maana-pta'); // 'mañana' - * punycode.decode('--dqo34k'); // '☃-⌘' - * ``` - * @since v0.5.1 - */ - function decode(string: string): string; - /** - * The `punycode.encode()` method converts a string of Unicode codepoints to a [Punycode](https://tools.ietf.org/html/rfc3492) string of ASCII-only characters. - * - * ```js - * punycode.encode('mañana'); // 'maana-pta' - * punycode.encode('☃-⌘'); // '--dqo34k' - * ``` - * @since v0.5.1 - */ - function encode(string: string): string; - /** - * The `punycode.toUnicode()` method converts a string representing a domain name - * containing [Punycode](https://tools.ietf.org/html/rfc3492) encoded characters into Unicode. Only the [Punycode](https://tools.ietf.org/html/rfc3492) encoded parts of the domain name are be - * converted. - * - * ```js - * // decode domain names - * punycode.toUnicode('xn--maana-pta.com'); // 'mañana.com' - * punycode.toUnicode('xn----dqo34k.com'); // '☃-⌘.com' - * punycode.toUnicode('example.com'); // 'example.com' - * ``` - * @since v0.6.1 - */ - function toUnicode(domain: string): string; - /** - * The `punycode.toASCII()` method converts a Unicode string representing an - * Internationalized Domain Name to [Punycode](https://tools.ietf.org/html/rfc3492). Only the non-ASCII parts of the - * domain name will be converted. Calling `punycode.toASCII()` on a string that - * already only contains ASCII characters will have no effect. - * - * ```js - * // encode domain names - * punycode.toASCII('mañana.com'); // 'xn--maana-pta.com' - * punycode.toASCII('☃-⌘.com'); // 'xn----dqo34k.com' - * punycode.toASCII('example.com'); // 'example.com' - * ``` - * @since v0.6.1 - */ - function toASCII(domain: string): string; - /** - * @deprecated since v7.0.0 - * The version of the punycode module bundled in Node.js is being deprecated. - * In a future major version of Node.js this module will be removed. - * Users currently depending on the punycode module should switch to using - * the userland-provided Punycode.js module instead. - */ - const ucs2: ucs2; - interface ucs2 { - /** - * @deprecated since v7.0.0 - * The version of the punycode module bundled in Node.js is being deprecated. - * In a future major version of Node.js this module will be removed. - * Users currently depending on the punycode module should switch to using - * the userland-provided Punycode.js module instead. - */ - decode(string: string): number[]; - /** - * @deprecated since v7.0.0 - * The version of the punycode module bundled in Node.js is being deprecated. - * In a future major version of Node.js this module will be removed. - * Users currently depending on the punycode module should switch to using - * the userland-provided Punycode.js module instead. - */ - encode(codePoints: readonly number[]): string; - } - /** - * @deprecated since v7.0.0 - * The version of the punycode module bundled in Node.js is being deprecated. - * In a future major version of Node.js this module will be removed. - * Users currently depending on the punycode module should switch to using - * the userland-provided Punycode.js module instead. - */ - const version: string; -} -declare module "node:punycode" { - export * from "punycode"; -} diff --git a/node_modules/@types/node/ts4.8/querystring.d.ts b/node_modules/@types/node/ts4.8/querystring.d.ts deleted file mode 100644 index b36ea2c..0000000 --- a/node_modules/@types/node/ts4.8/querystring.d.ts +++ /dev/null @@ -1,141 +0,0 @@ -/** - * The `node:querystring` module provides utilities for parsing and formatting URL - * query strings. It can be accessed using: - * - * ```js - * const querystring = require('node:querystring'); - * ``` - * - * `querystring` is more performant than `URLSearchParams` but is not a - * standardized API. Use `URLSearchParams` when performance is not critical or - * when compatibility with browser code is desirable. - * @see [source](https://github.com/nodejs/node/blob/v20.2.0/lib/querystring.js) - */ -declare module "querystring" { - interface StringifyOptions { - encodeURIComponent?: ((str: string) => string) | undefined; - } - interface ParseOptions { - maxKeys?: number | undefined; - decodeURIComponent?: ((str: string) => string) | undefined; - } - interface ParsedUrlQuery extends NodeJS.Dict {} - interface ParsedUrlQueryInput extends - NodeJS.Dict< - | string - | number - | boolean - | readonly string[] - | readonly number[] - | readonly boolean[] - | null - > - {} - /** - * The `querystring.stringify()` method produces a URL query string from a - * given `obj` by iterating through the object's "own properties". - * - * It serializes the following types of values passed in `obj`:[string](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#String_type) | - * [number](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Number_type) | - * [bigint](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/BigInt) | - * [boolean](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Boolean_type) | - * [string\[\]](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#String_type) | - * [number\[\]](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Number_type) | - * [bigint\[\]](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/BigInt) | - * [boolean\[\]](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Boolean_type) The numeric values must be finite. Any other input values will be coerced to - * empty strings. - * - * ```js - * querystring.stringify({ foo: 'bar', baz: ['qux', 'quux'], corge: '' }); - * // Returns 'foo=bar&baz=qux&baz=quux&corge=' - * - * querystring.stringify({ foo: 'bar', baz: 'qux' }, ';', ':'); - * // Returns 'foo:bar;baz:qux' - * ``` - * - * By default, characters requiring percent-encoding within the query string will - * be encoded as UTF-8\. If an alternative encoding is required, then an alternative`encodeURIComponent` option will need to be specified: - * - * ```js - * // Assuming gbkEncodeURIComponent function already exists, - * - * querystring.stringify({ w: '中文', foo: 'bar' }, null, null, - * { encodeURIComponent: gbkEncodeURIComponent }); - * ``` - * @since v0.1.25 - * @param obj The object to serialize into a URL query string - * @param [sep='&'] The substring used to delimit key and value pairs in the query string. - * @param [eq='='] . The substring used to delimit keys and values in the query string. - */ - function stringify(obj?: ParsedUrlQueryInput, sep?: string, eq?: string, options?: StringifyOptions): string; - /** - * The `querystring.parse()` method parses a URL query string (`str`) into a - * collection of key and value pairs. - * - * For example, the query string `'foo=bar&abc=xyz&abc=123'` is parsed into: - * - * ```json - * { - * "foo": "bar", - * "abc": ["xyz", "123"] - * } - * ``` - * - * The object returned by the `querystring.parse()` method _does not_prototypically inherit from the JavaScript `Object`. This means that typical`Object` methods such as `obj.toString()`, - * `obj.hasOwnProperty()`, and others - * are not defined and _will not work_. - * - * By default, percent-encoded characters within the query string will be assumed - * to use UTF-8 encoding. If an alternative character encoding is used, then an - * alternative `decodeURIComponent` option will need to be specified: - * - * ```js - * // Assuming gbkDecodeURIComponent function already exists... - * - * querystring.parse('w=%D6%D0%CE%C4&foo=bar', null, null, - * { decodeURIComponent: gbkDecodeURIComponent }); - * ``` - * @since v0.1.25 - * @param str The URL query string to parse - * @param [sep='&'] The substring used to delimit key and value pairs in the query string. - * @param [eq='='] . The substring used to delimit keys and values in the query string. - */ - function parse(str: string, sep?: string, eq?: string, options?: ParseOptions): ParsedUrlQuery; - /** - * The querystring.encode() function is an alias for querystring.stringify(). - */ - const encode: typeof stringify; - /** - * The querystring.decode() function is an alias for querystring.parse(). - */ - const decode: typeof parse; - /** - * The `querystring.escape()` method performs URL percent-encoding on the given`str` in a manner that is optimized for the specific requirements of URL - * query strings. - * - * The `querystring.escape()` method is used by `querystring.stringify()` and is - * generally not expected to be used directly. It is exported primarily to allow - * application code to provide a replacement percent-encoding implementation if - * necessary by assigning `querystring.escape` to an alternative function. - * @since v0.1.25 - */ - function escape(str: string): string; - /** - * The `querystring.unescape()` method performs decoding of URL percent-encoded - * characters on the given `str`. - * - * The `querystring.unescape()` method is used by `querystring.parse()` and is - * generally not expected to be used directly. It is exported primarily to allow - * application code to provide a replacement decoding implementation if - * necessary by assigning `querystring.unescape` to an alternative function. - * - * By default, the `querystring.unescape()` method will attempt to use the - * JavaScript built-in `decodeURIComponent()` method to decode. If that fails, - * a safer equivalent that does not throw on malformed URLs will be used. - * @since v0.1.25 - */ - function unescape(str: string): string; -} -declare module "node:querystring" { - export * from "querystring"; -} diff --git a/node_modules/@types/node/ts4.8/readline.d.ts b/node_modules/@types/node/ts4.8/readline.d.ts deleted file mode 100644 index b06d58b..0000000 --- a/node_modules/@types/node/ts4.8/readline.d.ts +++ /dev/null @@ -1,539 +0,0 @@ -/** - * The `node:readline` module provides an interface for reading data from a `Readable` stream (such as `process.stdin`) one line at a time. - * - * To use the promise-based APIs: - * - * ```js - * import * as readline from 'node:readline/promises'; - * ``` - * - * To use the callback and sync APIs: - * - * ```js - * import * as readline from 'node:readline'; - * ``` - * - * The following simple example illustrates the basic use of the `node:readline`module. - * - * ```js - * import * as readline from 'node:readline/promises'; - * import { stdin as input, stdout as output } from 'node:process'; - * - * const rl = readline.createInterface({ input, output }); - * - * const answer = await rl.question('What do you think of Node.js? '); - * - * console.log(`Thank you for your valuable feedback: ${answer}`); - * - * rl.close(); - * ``` - * - * Once this code is invoked, the Node.js application will not terminate until the`readline.Interface` is closed because the interface waits for data to be - * received on the `input` stream. - * @see [source](https://github.com/nodejs/node/blob/v20.2.0/lib/readline.js) - */ -declare module "readline" { - import { Abortable, EventEmitter } from "node:events"; - import * as promises from "node:readline/promises"; - export { promises }; - export interface Key { - sequence?: string | undefined; - name?: string | undefined; - ctrl?: boolean | undefined; - meta?: boolean | undefined; - shift?: boolean | undefined; - } - /** - * Instances of the `readline.Interface` class are constructed using the`readline.createInterface()` method. Every instance is associated with a - * single `input` `Readable` stream and a single `output` `Writable` stream. - * The `output` stream is used to print prompts for user input that arrives on, - * and is read from, the `input` stream. - * @since v0.1.104 - */ - export class Interface extends EventEmitter { - readonly terminal: boolean; - /** - * The current input data being processed by node. - * - * This can be used when collecting input from a TTY stream to retrieve the - * current value that has been processed thus far, prior to the `line` event - * being emitted. Once the `line` event has been emitted, this property will - * be an empty string. - * - * Be aware that modifying the value during the instance runtime may have - * unintended consequences if `rl.cursor` is not also controlled. - * - * **If not using a TTY stream for input, use the `'line'` event.** - * - * One possible use case would be as follows: - * - * ```js - * const values = ['lorem ipsum', 'dolor sit amet']; - * const rl = readline.createInterface(process.stdin); - * const showResults = debounce(() => { - * console.log( - * '\n', - * values.filter((val) => val.startsWith(rl.line)).join(' '), - * ); - * }, 300); - * process.stdin.on('keypress', (c, k) => { - * showResults(); - * }); - * ``` - * @since v0.1.98 - */ - readonly line: string; - /** - * The cursor position relative to `rl.line`. - * - * This will track where the current cursor lands in the input string, when - * reading input from a TTY stream. The position of cursor determines the - * portion of the input string that will be modified as input is processed, - * as well as the column where the terminal caret will be rendered. - * @since v0.1.98 - */ - readonly cursor: number; - /** - * NOTE: According to the documentation: - * - * > Instances of the `readline.Interface` class are constructed using the - * > `readline.createInterface()` method. - * - * @see https://nodejs.org/dist/latest-v20.x/docs/api/readline.html#class-interfaceconstructor - */ - protected constructor( - input: NodeJS.ReadableStream, - output?: NodeJS.WritableStream, - completer?: Completer | AsyncCompleter, - terminal?: boolean, - ); - /** - * NOTE: According to the documentation: - * - * > Instances of the `readline.Interface` class are constructed using the - * > `readline.createInterface()` method. - * - * @see https://nodejs.org/dist/latest-v20.x/docs/api/readline.html#class-interfaceconstructor - */ - protected constructor(options: ReadLineOptions); - /** - * The `rl.getPrompt()` method returns the current prompt used by `rl.prompt()`. - * @since v15.3.0, v14.17.0 - * @return the current prompt string - */ - getPrompt(): string; - /** - * The `rl.setPrompt()` method sets the prompt that will be written to `output`whenever `rl.prompt()` is called. - * @since v0.1.98 - */ - setPrompt(prompt: string): void; - /** - * The `rl.prompt()` method writes the `Interface` instances configured`prompt` to a new line in `output` in order to provide a user with a new - * location at which to provide input. - * - * When called, `rl.prompt()` will resume the `input` stream if it has been - * paused. - * - * If the `Interface` was created with `output` set to `null` or`undefined` the prompt is not written. - * @since v0.1.98 - * @param preserveCursor If `true`, prevents the cursor placement from being reset to `0`. - */ - prompt(preserveCursor?: boolean): void; - /** - * The `rl.question()` method displays the `query` by writing it to the `output`, - * waits for user input to be provided on `input`, then invokes the `callback`function passing the provided input as the first argument. - * - * When called, `rl.question()` will resume the `input` stream if it has been - * paused. - * - * If the `Interface` was created with `output` set to `null` or`undefined` the `query` is not written. - * - * The `callback` function passed to `rl.question()` does not follow the typical - * pattern of accepting an `Error` object or `null` as the first argument. - * The `callback` is called with the provided answer as the only argument. - * - * An error will be thrown if calling `rl.question()` after `rl.close()`. - * - * Example usage: - * - * ```js - * rl.question('What is your favorite food? ', (answer) => { - * console.log(`Oh, so your favorite food is ${answer}`); - * }); - * ``` - * - * Using an `AbortController` to cancel a question. - * - * ```js - * const ac = new AbortController(); - * const signal = ac.signal; - * - * rl.question('What is your favorite food? ', { signal }, (answer) => { - * console.log(`Oh, so your favorite food is ${answer}`); - * }); - * - * signal.addEventListener('abort', () => { - * console.log('The food question timed out'); - * }, { once: true }); - * - * setTimeout(() => ac.abort(), 10000); - * ``` - * @since v0.3.3 - * @param query A statement or query to write to `output`, prepended to the prompt. - * @param callback A callback function that is invoked with the user's input in response to the `query`. - */ - question(query: string, callback: (answer: string) => void): void; - question(query: string, options: Abortable, callback: (answer: string) => void): void; - /** - * The `rl.pause()` method pauses the `input` stream, allowing it to be resumed - * later if necessary. - * - * Calling `rl.pause()` does not immediately pause other events (including`'line'`) from being emitted by the `Interface` instance. - * @since v0.3.4 - */ - pause(): this; - /** - * The `rl.resume()` method resumes the `input` stream if it has been paused. - * @since v0.3.4 - */ - resume(): this; - /** - * The `rl.close()` method closes the `Interface` instance and - * relinquishes control over the `input` and `output` streams. When called, - * the `'close'` event will be emitted. - * - * Calling `rl.close()` does not immediately stop other events (including `'line'`) - * from being emitted by the `Interface` instance. - * @since v0.1.98 - */ - close(): void; - /** - * The `rl.write()` method will write either `data` or a key sequence identified - * by `key` to the `output`. The `key` argument is supported only if `output` is - * a `TTY` text terminal. See `TTY keybindings` for a list of key - * combinations. - * - * If `key` is specified, `data` is ignored. - * - * When called, `rl.write()` will resume the `input` stream if it has been - * paused. - * - * If the `Interface` was created with `output` set to `null` or`undefined` the `data` and `key` are not written. - * - * ```js - * rl.write('Delete this!'); - * // Simulate Ctrl+U to delete the line written previously - * rl.write(null, { ctrl: true, name: 'u' }); - * ``` - * - * The `rl.write()` method will write the data to the `readline` `Interface`'s`input`_as if it were provided by the user_. - * @since v0.1.98 - */ - write(data: string | Buffer, key?: Key): void; - write(data: undefined | null | string | Buffer, key: Key): void; - /** - * Returns the real position of the cursor in relation to the input - * prompt + string. Long input (wrapping) strings, as well as multiple - * line prompts are included in the calculations. - * @since v13.5.0, v12.16.0 - */ - getCursorPos(): CursorPos; - /** - * events.EventEmitter - * 1. close - * 2. line - * 3. pause - * 4. resume - * 5. SIGCONT - * 6. SIGINT - * 7. SIGTSTP - * 8. history - */ - addListener(event: string, listener: (...args: any[]) => void): this; - addListener(event: "close", listener: () => void): this; - addListener(event: "line", listener: (input: string) => void): this; - addListener(event: "pause", listener: () => void): this; - addListener(event: "resume", listener: () => void): this; - addListener(event: "SIGCONT", listener: () => void): this; - addListener(event: "SIGINT", listener: () => void): this; - addListener(event: "SIGTSTP", listener: () => void): this; - addListener(event: "history", listener: (history: string[]) => void): this; - emit(event: string | symbol, ...args: any[]): boolean; - emit(event: "close"): boolean; - emit(event: "line", input: string): boolean; - emit(event: "pause"): boolean; - emit(event: "resume"): boolean; - emit(event: "SIGCONT"): boolean; - emit(event: "SIGINT"): boolean; - emit(event: "SIGTSTP"): boolean; - emit(event: "history", history: string[]): boolean; - on(event: string, listener: (...args: any[]) => void): this; - on(event: "close", listener: () => void): this; - on(event: "line", listener: (input: string) => void): this; - on(event: "pause", listener: () => void): this; - on(event: "resume", listener: () => void): this; - on(event: "SIGCONT", listener: () => void): this; - on(event: "SIGINT", listener: () => void): this; - on(event: "SIGTSTP", listener: () => void): this; - on(event: "history", listener: (history: string[]) => void): this; - once(event: string, listener: (...args: any[]) => void): this; - once(event: "close", listener: () => void): this; - once(event: "line", listener: (input: string) => void): this; - once(event: "pause", listener: () => void): this; - once(event: "resume", listener: () => void): this; - once(event: "SIGCONT", listener: () => void): this; - once(event: "SIGINT", listener: () => void): this; - once(event: "SIGTSTP", listener: () => void): this; - once(event: "history", listener: (history: string[]) => void): this; - prependListener(event: string, listener: (...args: any[]) => void): this; - prependListener(event: "close", listener: () => void): this; - prependListener(event: "line", listener: (input: string) => void): this; - prependListener(event: "pause", listener: () => void): this; - prependListener(event: "resume", listener: () => void): this; - prependListener(event: "SIGCONT", listener: () => void): this; - prependListener(event: "SIGINT", listener: () => void): this; - prependListener(event: "SIGTSTP", listener: () => void): this; - prependListener(event: "history", listener: (history: string[]) => void): this; - prependOnceListener(event: string, listener: (...args: any[]) => void): this; - prependOnceListener(event: "close", listener: () => void): this; - prependOnceListener(event: "line", listener: (input: string) => void): this; - prependOnceListener(event: "pause", listener: () => void): this; - prependOnceListener(event: "resume", listener: () => void): this; - prependOnceListener(event: "SIGCONT", listener: () => void): this; - prependOnceListener(event: "SIGINT", listener: () => void): this; - prependOnceListener(event: "SIGTSTP", listener: () => void): this; - prependOnceListener(event: "history", listener: (history: string[]) => void): this; - [Symbol.asyncIterator](): AsyncIterableIterator; - } - export type ReadLine = Interface; // type forwarded for backwards compatibility - export type Completer = (line: string) => CompleterResult; - export type AsyncCompleter = ( - line: string, - callback: (err?: null | Error, result?: CompleterResult) => void, - ) => void; - export type CompleterResult = [string[], string]; - export interface ReadLineOptions { - input: NodeJS.ReadableStream; - output?: NodeJS.WritableStream | undefined; - completer?: Completer | AsyncCompleter | undefined; - terminal?: boolean | undefined; - /** - * Initial list of history lines. This option makes sense - * only if `terminal` is set to `true` by the user or by an internal `output` - * check, otherwise the history caching mechanism is not initialized at all. - * @default [] - */ - history?: string[] | undefined; - historySize?: number | undefined; - prompt?: string | undefined; - crlfDelay?: number | undefined; - /** - * If `true`, when a new input line added - * to the history list duplicates an older one, this removes the older line - * from the list. - * @default false - */ - removeHistoryDuplicates?: boolean | undefined; - escapeCodeTimeout?: number | undefined; - tabSize?: number | undefined; - } - /** - * The `readline.createInterface()` method creates a new `readline.Interface`instance. - * - * ```js - * const readline = require('node:readline'); - * const rl = readline.createInterface({ - * input: process.stdin, - * output: process.stdout, - * }); - * ``` - * - * Once the `readline.Interface` instance is created, the most common case is to - * listen for the `'line'` event: - * - * ```js - * rl.on('line', (line) => { - * console.log(`Received: ${line}`); - * }); - * ``` - * - * If `terminal` is `true` for this instance then the `output` stream will get - * the best compatibility if it defines an `output.columns` property and emits - * a `'resize'` event on the `output` if or when the columns ever change - * (`process.stdout` does this automatically when it is a TTY). - * - * When creating a `readline.Interface` using `stdin` as input, the program - * will not terminate until it receives an [EOF character](https://en.wikipedia.org/wiki/End-of-file#EOF_character). To exit without - * waiting for user input, call `process.stdin.unref()`. - * @since v0.1.98 - */ - export function createInterface( - input: NodeJS.ReadableStream, - output?: NodeJS.WritableStream, - completer?: Completer | AsyncCompleter, - terminal?: boolean, - ): Interface; - export function createInterface(options: ReadLineOptions): Interface; - /** - * The `readline.emitKeypressEvents()` method causes the given `Readable` stream to begin emitting `'keypress'` events corresponding to received input. - * - * Optionally, `interface` specifies a `readline.Interface` instance for which - * autocompletion is disabled when copy-pasted input is detected. - * - * If the `stream` is a `TTY`, then it must be in raw mode. - * - * This is automatically called by any readline instance on its `input` if the`input` is a terminal. Closing the `readline` instance does not stop - * the `input` from emitting `'keypress'` events. - * - * ```js - * readline.emitKeypressEvents(process.stdin); - * if (process.stdin.isTTY) - * process.stdin.setRawMode(true); - * ``` - * - * ## Example: Tiny CLI - * - * The following example illustrates the use of `readline.Interface` class to - * implement a small command-line interface: - * - * ```js - * const readline = require('node:readline'); - * const rl = readline.createInterface({ - * input: process.stdin, - * output: process.stdout, - * prompt: 'OHAI> ', - * }); - * - * rl.prompt(); - * - * rl.on('line', (line) => { - * switch (line.trim()) { - * case 'hello': - * console.log('world!'); - * break; - * default: - * console.log(`Say what? I might have heard '${line.trim()}'`); - * break; - * } - * rl.prompt(); - * }).on('close', () => { - * console.log('Have a great day!'); - * process.exit(0); - * }); - * ``` - * - * ## Example: Read file stream line-by-Line - * - * A common use case for `readline` is to consume an input file one line at a - * time. The easiest way to do so is leveraging the `fs.ReadStream` API as - * well as a `for await...of` loop: - * - * ```js - * const fs = require('node:fs'); - * const readline = require('node:readline'); - * - * async function processLineByLine() { - * const fileStream = fs.createReadStream('input.txt'); - * - * const rl = readline.createInterface({ - * input: fileStream, - * crlfDelay: Infinity, - * }); - * // Note: we use the crlfDelay option to recognize all instances of CR LF - * // ('\r\n') in input.txt as a single line break. - * - * for await (const line of rl) { - * // Each line in input.txt will be successively available here as `line`. - * console.log(`Line from file: ${line}`); - * } - * } - * - * processLineByLine(); - * ``` - * - * Alternatively, one could use the `'line'` event: - * - * ```js - * const fs = require('node:fs'); - * const readline = require('node:readline'); - * - * const rl = readline.createInterface({ - * input: fs.createReadStream('sample.txt'), - * crlfDelay: Infinity, - * }); - * - * rl.on('line', (line) => { - * console.log(`Line from file: ${line}`); - * }); - * ``` - * - * Currently, `for await...of` loop can be a bit slower. If `async` / `await`flow and speed are both essential, a mixed approach can be applied: - * - * ```js - * const { once } = require('node:events'); - * const { createReadStream } = require('node:fs'); - * const { createInterface } = require('node:readline'); - * - * (async function processLineByLine() { - * try { - * const rl = createInterface({ - * input: createReadStream('big-file.txt'), - * crlfDelay: Infinity, - * }); - * - * rl.on('line', (line) => { - * // Process the line. - * }); - * - * await once(rl, 'close'); - * - * console.log('File processed.'); - * } catch (err) { - * console.error(err); - * } - * })(); - * ``` - * @since v0.7.7 - */ - export function emitKeypressEvents(stream: NodeJS.ReadableStream, readlineInterface?: Interface): void; - export type Direction = -1 | 0 | 1; - export interface CursorPos { - rows: number; - cols: number; - } - /** - * The `readline.clearLine()` method clears current line of given `TTY` stream - * in a specified direction identified by `dir`. - * @since v0.7.7 - * @param callback Invoked once the operation completes. - * @return `false` if `stream` wishes for the calling code to wait for the `'drain'` event to be emitted before continuing to write additional data; otherwise `true`. - */ - export function clearLine(stream: NodeJS.WritableStream, dir: Direction, callback?: () => void): boolean; - /** - * The `readline.clearScreenDown()` method clears the given `TTY` stream from - * the current position of the cursor down. - * @since v0.7.7 - * @param callback Invoked once the operation completes. - * @return `false` if `stream` wishes for the calling code to wait for the `'drain'` event to be emitted before continuing to write additional data; otherwise `true`. - */ - export function clearScreenDown(stream: NodeJS.WritableStream, callback?: () => void): boolean; - /** - * The `readline.cursorTo()` method moves cursor to the specified position in a - * given `TTY` `stream`. - * @since v0.7.7 - * @param callback Invoked once the operation completes. - * @return `false` if `stream` wishes for the calling code to wait for the `'drain'` event to be emitted before continuing to write additional data; otherwise `true`. - */ - export function cursorTo(stream: NodeJS.WritableStream, x: number, y?: number, callback?: () => void): boolean; - /** - * The `readline.moveCursor()` method moves the cursor _relative_ to its current - * position in a given `TTY` `stream`. - * @since v0.7.7 - * @param callback Invoked once the operation completes. - * @return `false` if `stream` wishes for the calling code to wait for the `'drain'` event to be emitted before continuing to write additional data; otherwise `true`. - */ - export function moveCursor(stream: NodeJS.WritableStream, dx: number, dy: number, callback?: () => void): boolean; -} -declare module "node:readline" { - export * from "readline"; -} diff --git a/node_modules/@types/node/ts4.8/readline/promises.d.ts b/node_modules/@types/node/ts4.8/readline/promises.d.ts deleted file mode 100644 index 73fb111..0000000 --- a/node_modules/@types/node/ts4.8/readline/promises.d.ts +++ /dev/null @@ -1,150 +0,0 @@ -/** - * @since v17.0.0 - * @experimental - */ -declare module "readline/promises" { - import { AsyncCompleter, Completer, Direction, Interface as _Interface, ReadLineOptions } from "node:readline"; - import { Abortable } from "node:events"; - /** - * Instances of the `readlinePromises.Interface` class are constructed using the`readlinePromises.createInterface()` method. Every instance is associated with a - * single `input` `Readable` stream and a single `output` `Writable` stream. - * The `output` stream is used to print prompts for user input that arrives on, - * and is read from, the `input` stream. - * @since v17.0.0 - */ - class Interface extends _Interface { - /** - * The `rl.question()` method displays the `query` by writing it to the `output`, - * waits for user input to be provided on `input`, then invokes the `callback`function passing the provided input as the first argument. - * - * When called, `rl.question()` will resume the `input` stream if it has been - * paused. - * - * If the `Interface` was created with `output` set to `null` or`undefined` the `query` is not written. - * - * If the question is called after `rl.close()`, it returns a rejected promise. - * - * Example usage: - * - * ```js - * const answer = await rl.question('What is your favorite food? '); - * console.log(`Oh, so your favorite food is ${answer}`); - * ``` - * - * Using an `AbortSignal` to cancel a question. - * - * ```js - * const signal = AbortSignal.timeout(10_000); - * - * signal.addEventListener('abort', () => { - * console.log('The food question timed out'); - * }, { once: true }); - * - * const answer = await rl.question('What is your favorite food? ', { signal }); - * console.log(`Oh, so your favorite food is ${answer}`); - * ``` - * @since v17.0.0 - * @param query A statement or query to write to `output`, prepended to the prompt. - * @return A promise that is fulfilled with the user's input in response to the `query`. - */ - question(query: string): Promise; - question(query: string, options: Abortable): Promise; - } - /** - * @since v17.0.0 - */ - class Readline { - /** - * @param stream A TTY stream. - */ - constructor( - stream: NodeJS.WritableStream, - options?: { - autoCommit?: boolean; - }, - ); - /** - * The `rl.clearLine()` method adds to the internal list of pending action an - * action that clears current line of the associated `stream` in a specified - * direction identified by `dir`. - * Call `rl.commit()` to see the effect of this method, unless `autoCommit: true`was passed to the constructor. - * @since v17.0.0 - * @return this - */ - clearLine(dir: Direction): this; - /** - * The `rl.clearScreenDown()` method adds to the internal list of pending action an - * action that clears the associated stream from the current position of the - * cursor down. - * Call `rl.commit()` to see the effect of this method, unless `autoCommit: true`was passed to the constructor. - * @since v17.0.0 - * @return this - */ - clearScreenDown(): this; - /** - * The `rl.commit()` method sends all the pending actions to the associated`stream` and clears the internal list of pending actions. - * @since v17.0.0 - */ - commit(): Promise; - /** - * The `rl.cursorTo()` method adds to the internal list of pending action an action - * that moves cursor to the specified position in the associated `stream`. - * Call `rl.commit()` to see the effect of this method, unless `autoCommit: true`was passed to the constructor. - * @since v17.0.0 - * @return this - */ - cursorTo(x: number, y?: number): this; - /** - * The `rl.moveCursor()` method adds to the internal list of pending action an - * action that moves the cursor _relative_ to its current position in the - * associated `stream`. - * Call `rl.commit()` to see the effect of this method, unless `autoCommit: true`was passed to the constructor. - * @since v17.0.0 - * @return this - */ - moveCursor(dx: number, dy: number): this; - /** - * The `rl.rollback` methods clears the internal list of pending actions without - * sending it to the associated `stream`. - * @since v17.0.0 - * @return this - */ - rollback(): this; - } - /** - * The `readlinePromises.createInterface()` method creates a new `readlinePromises.Interface`instance. - * - * ```js - * const readlinePromises = require('node:readline/promises'); - * const rl = readlinePromises.createInterface({ - * input: process.stdin, - * output: process.stdout, - * }); - * ``` - * - * Once the `readlinePromises.Interface` instance is created, the most common case - * is to listen for the `'line'` event: - * - * ```js - * rl.on('line', (line) => { - * console.log(`Received: ${line}`); - * }); - * ``` - * - * If `terminal` is `true` for this instance then the `output` stream will get - * the best compatibility if it defines an `output.columns` property and emits - * a `'resize'` event on the `output` if or when the columns ever change - * (`process.stdout` does this automatically when it is a TTY). - * @since v17.0.0 - */ - function createInterface( - input: NodeJS.ReadableStream, - output?: NodeJS.WritableStream, - completer?: Completer | AsyncCompleter, - terminal?: boolean, - ): Interface; - function createInterface(options: ReadLineOptions): Interface; -} -declare module "node:readline/promises" { - export * from "readline/promises"; -} diff --git a/node_modules/@types/node/ts4.8/repl.d.ts b/node_modules/@types/node/ts4.8/repl.d.ts deleted file mode 100644 index 6c5f81b..0000000 --- a/node_modules/@types/node/ts4.8/repl.d.ts +++ /dev/null @@ -1,430 +0,0 @@ -/** - * The `node:repl` module provides a Read-Eval-Print-Loop (REPL) implementation - * that is available both as a standalone program or includible in other - * applications. It can be accessed using: - * - * ```js - * const repl = require('node:repl'); - * ``` - * @see [source](https://github.com/nodejs/node/blob/v20.2.0/lib/repl.js) - */ -declare module "repl" { - import { AsyncCompleter, Completer, Interface } from "node:readline"; - import { Context } from "node:vm"; - import { InspectOptions } from "node:util"; - interface ReplOptions { - /** - * The input prompt to display. - * @default "> " - */ - prompt?: string | undefined; - /** - * The `Readable` stream from which REPL input will be read. - * @default process.stdin - */ - input?: NodeJS.ReadableStream | undefined; - /** - * The `Writable` stream to which REPL output will be written. - * @default process.stdout - */ - output?: NodeJS.WritableStream | undefined; - /** - * If `true`, specifies that the output should be treated as a TTY terminal, and have - * ANSI/VT100 escape codes written to it. - * Default: checking the value of the `isTTY` property on the output stream upon - * instantiation. - */ - terminal?: boolean | undefined; - /** - * The function to be used when evaluating each given line of input. - * Default: an async wrapper for the JavaScript `eval()` function. An `eval` function can - * error with `repl.Recoverable` to indicate the input was incomplete and prompt for - * additional lines. - * - * @see https://nodejs.org/dist/latest-v20.x/docs/api/repl.html#repl_default_evaluation - * @see https://nodejs.org/dist/latest-v20.x/docs/api/repl.html#repl_custom_evaluation_functions - */ - eval?: REPLEval | undefined; - /** - * Defines if the repl prints output previews or not. - * @default `true` Always `false` in case `terminal` is falsy. - */ - preview?: boolean | undefined; - /** - * If `true`, specifies that the default `writer` function should include ANSI color - * styling to REPL output. If a custom `writer` function is provided then this has no - * effect. - * Default: the REPL instance's `terminal` value. - */ - useColors?: boolean | undefined; - /** - * If `true`, specifies that the default evaluation function will use the JavaScript - * `global` as the context as opposed to creating a new separate context for the REPL - * instance. The node CLI REPL sets this value to `true`. - * Default: `false`. - */ - useGlobal?: boolean | undefined; - /** - * If `true`, specifies that the default writer will not output the return value of a - * command if it evaluates to `undefined`. - * Default: `false`. - */ - ignoreUndefined?: boolean | undefined; - /** - * The function to invoke to format the output of each command before writing to `output`. - * Default: a wrapper for `util.inspect`. - * - * @see https://nodejs.org/dist/latest-v20.x/docs/api/repl.html#repl_customizing_repl_output - */ - writer?: REPLWriter | undefined; - /** - * An optional function used for custom Tab auto completion. - * - * @see https://nodejs.org/dist/latest-v20.x/docs/api/readline.html#readline_use_of_the_completer_function - */ - completer?: Completer | AsyncCompleter | undefined; - /** - * A flag that specifies whether the default evaluator executes all JavaScript commands in - * strict mode or default (sloppy) mode. - * Accepted values are: - * - `repl.REPL_MODE_SLOPPY` - evaluates expressions in sloppy mode. - * - `repl.REPL_MODE_STRICT` - evaluates expressions in strict mode. This is equivalent to - * prefacing every repl statement with `'use strict'`. - */ - replMode?: typeof REPL_MODE_SLOPPY | typeof REPL_MODE_STRICT | undefined; - /** - * Stop evaluating the current piece of code when `SIGINT` is received, i.e. `Ctrl+C` is - * pressed. This cannot be used together with a custom `eval` function. - * Default: `false`. - */ - breakEvalOnSigint?: boolean | undefined; - } - type REPLEval = ( - this: REPLServer, - evalCmd: string, - context: Context, - file: string, - cb: (err: Error | null, result: any) => void, - ) => void; - type REPLWriter = (this: REPLServer, obj: any) => string; - /** - * This is the default "writer" value, if none is passed in the REPL options, - * and it can be overridden by custom print functions. - */ - const writer: REPLWriter & { - options: InspectOptions; - }; - type REPLCommandAction = (this: REPLServer, text: string) => void; - interface REPLCommand { - /** - * Help text to be displayed when `.help` is entered. - */ - help?: string | undefined; - /** - * The function to execute, optionally accepting a single string argument. - */ - action: REPLCommandAction; - } - /** - * Instances of `repl.REPLServer` are created using the {@link start} method - * or directly using the JavaScript `new` keyword. - * - * ```js - * const repl = require('node:repl'); - * - * const options = { useColors: true }; - * - * const firstInstance = repl.start(options); - * const secondInstance = new repl.REPLServer(options); - * ``` - * @since v0.1.91 - */ - class REPLServer extends Interface { - /** - * The `vm.Context` provided to the `eval` function to be used for JavaScript - * evaluation. - */ - readonly context: Context; - /** - * @deprecated since v14.3.0 - Use `input` instead. - */ - readonly inputStream: NodeJS.ReadableStream; - /** - * @deprecated since v14.3.0 - Use `output` instead. - */ - readonly outputStream: NodeJS.WritableStream; - /** - * The `Readable` stream from which REPL input will be read. - */ - readonly input: NodeJS.ReadableStream; - /** - * The `Writable` stream to which REPL output will be written. - */ - readonly output: NodeJS.WritableStream; - /** - * The commands registered via `replServer.defineCommand()`. - */ - readonly commands: NodeJS.ReadOnlyDict; - /** - * A value indicating whether the REPL is currently in "editor mode". - * - * @see https://nodejs.org/dist/latest-v20.x/docs/api/repl.html#repl_commands_and_special_keys - */ - readonly editorMode: boolean; - /** - * A value indicating whether the `_` variable has been assigned. - * - * @see https://nodejs.org/dist/latest-v20.x/docs/api/repl.html#repl_assignment_of_the_underscore_variable - */ - readonly underscoreAssigned: boolean; - /** - * The last evaluation result from the REPL (assigned to the `_` variable inside of the REPL). - * - * @see https://nodejs.org/dist/latest-v20.x/docs/api/repl.html#repl_assignment_of_the_underscore_variable - */ - readonly last: any; - /** - * A value indicating whether the `_error` variable has been assigned. - * - * @since v9.8.0 - * @see https://nodejs.org/dist/latest-v20.x/docs/api/repl.html#repl_assignment_of_the_underscore_variable - */ - readonly underscoreErrAssigned: boolean; - /** - * The last error raised inside the REPL (assigned to the `_error` variable inside of the REPL). - * - * @since v9.8.0 - * @see https://nodejs.org/dist/latest-v20.x/docs/api/repl.html#repl_assignment_of_the_underscore_variable - */ - readonly lastError: any; - /** - * Specified in the REPL options, this is the function to be used when evaluating each - * given line of input. If not specified in the REPL options, this is an async wrapper - * for the JavaScript `eval()` function. - */ - readonly eval: REPLEval; - /** - * Specified in the REPL options, this is a value indicating whether the default - * `writer` function should include ANSI color styling to REPL output. - */ - readonly useColors: boolean; - /** - * Specified in the REPL options, this is a value indicating whether the default `eval` - * function will use the JavaScript `global` as the context as opposed to creating a new - * separate context for the REPL instance. - */ - readonly useGlobal: boolean; - /** - * Specified in the REPL options, this is a value indicating whether the default `writer` - * function should output the result of a command if it evaluates to `undefined`. - */ - readonly ignoreUndefined: boolean; - /** - * Specified in the REPL options, this is the function to invoke to format the output of - * each command before writing to `outputStream`. If not specified in the REPL options, - * this will be a wrapper for `util.inspect`. - */ - readonly writer: REPLWriter; - /** - * Specified in the REPL options, this is the function to use for custom Tab auto-completion. - */ - readonly completer: Completer | AsyncCompleter; - /** - * Specified in the REPL options, this is a flag that specifies whether the default `eval` - * function should execute all JavaScript commands in strict mode or default (sloppy) mode. - * Possible values are: - * - `repl.REPL_MODE_SLOPPY` - evaluates expressions in sloppy mode. - * - `repl.REPL_MODE_STRICT` - evaluates expressions in strict mode. This is equivalent to - * prefacing every repl statement with `'use strict'`. - */ - readonly replMode: typeof REPL_MODE_SLOPPY | typeof REPL_MODE_STRICT; - /** - * NOTE: According to the documentation: - * - * > Instances of `repl.REPLServer` are created using the `repl.start()` method and - * > _should not_ be created directly using the JavaScript `new` keyword. - * - * `REPLServer` cannot be subclassed due to implementation specifics in NodeJS. - * - * @see https://nodejs.org/dist/latest-v20.x/docs/api/repl.html#repl_class_replserver - */ - private constructor(); - /** - * The `replServer.defineCommand()` method is used to add new `.`\-prefixed commands - * to the REPL instance. Such commands are invoked by typing a `.` followed by the`keyword`. The `cmd` is either a `Function` or an `Object` with the following - * properties: - * - * The following example shows two new commands added to the REPL instance: - * - * ```js - * const repl = require('node:repl'); - * - * const replServer = repl.start({ prompt: '> ' }); - * replServer.defineCommand('sayhello', { - * help: 'Say hello', - * action(name) { - * this.clearBufferedCommand(); - * console.log(`Hello, ${name}!`); - * this.displayPrompt(); - * }, - * }); - * replServer.defineCommand('saybye', function saybye() { - * console.log('Goodbye!'); - * this.close(); - * }); - * ``` - * - * The new commands can then be used from within the REPL instance: - * - * ```console - * > .sayhello Node.js User - * Hello, Node.js User! - * > .saybye - * Goodbye! - * ``` - * @since v0.3.0 - * @param keyword The command keyword (_without_ a leading `.` character). - * @param cmd The function to invoke when the command is processed. - */ - defineCommand(keyword: string, cmd: REPLCommandAction | REPLCommand): void; - /** - * The `replServer.displayPrompt()` method readies the REPL instance for input - * from the user, printing the configured `prompt` to a new line in the `output`and resuming the `input` to accept new input. - * - * When multi-line input is being entered, an ellipsis is printed rather than the - * 'prompt'. - * - * When `preserveCursor` is `true`, the cursor placement will not be reset to `0`. - * - * The `replServer.displayPrompt` method is primarily intended to be called from - * within the action function for commands registered using the`replServer.defineCommand()` method. - * @since v0.1.91 - */ - displayPrompt(preserveCursor?: boolean): void; - /** - * The `replServer.clearBufferedCommand()` method clears any command that has been - * buffered but not yet executed. This method is primarily intended to be - * called from within the action function for commands registered using the`replServer.defineCommand()` method. - * @since v9.0.0 - */ - clearBufferedCommand(): void; - /** - * Initializes a history log file for the REPL instance. When executing the - * Node.js binary and using the command-line REPL, a history file is initialized - * by default. However, this is not the case when creating a REPL - * programmatically. Use this method to initialize a history log file when working - * with REPL instances programmatically. - * @since v11.10.0 - * @param historyPath the path to the history file - * @param callback called when history writes are ready or upon error - */ - setupHistory(path: string, callback: (err: Error | null, repl: this) => void): void; - /** - * events.EventEmitter - * 1. close - inherited from `readline.Interface` - * 2. line - inherited from `readline.Interface` - * 3. pause - inherited from `readline.Interface` - * 4. resume - inherited from `readline.Interface` - * 5. SIGCONT - inherited from `readline.Interface` - * 6. SIGINT - inherited from `readline.Interface` - * 7. SIGTSTP - inherited from `readline.Interface` - * 8. exit - * 9. reset - */ - addListener(event: string, listener: (...args: any[]) => void): this; - addListener(event: "close", listener: () => void): this; - addListener(event: "line", listener: (input: string) => void): this; - addListener(event: "pause", listener: () => void): this; - addListener(event: "resume", listener: () => void): this; - addListener(event: "SIGCONT", listener: () => void): this; - addListener(event: "SIGINT", listener: () => void): this; - addListener(event: "SIGTSTP", listener: () => void): this; - addListener(event: "exit", listener: () => void): this; - addListener(event: "reset", listener: (context: Context) => void): this; - emit(event: string | symbol, ...args: any[]): boolean; - emit(event: "close"): boolean; - emit(event: "line", input: string): boolean; - emit(event: "pause"): boolean; - emit(event: "resume"): boolean; - emit(event: "SIGCONT"): boolean; - emit(event: "SIGINT"): boolean; - emit(event: "SIGTSTP"): boolean; - emit(event: "exit"): boolean; - emit(event: "reset", context: Context): boolean; - on(event: string, listener: (...args: any[]) => void): this; - on(event: "close", listener: () => void): this; - on(event: "line", listener: (input: string) => void): this; - on(event: "pause", listener: () => void): this; - on(event: "resume", listener: () => void): this; - on(event: "SIGCONT", listener: () => void): this; - on(event: "SIGINT", listener: () => void): this; - on(event: "SIGTSTP", listener: () => void): this; - on(event: "exit", listener: () => void): this; - on(event: "reset", listener: (context: Context) => void): this; - once(event: string, listener: (...args: any[]) => void): this; - once(event: "close", listener: () => void): this; - once(event: "line", listener: (input: string) => void): this; - once(event: "pause", listener: () => void): this; - once(event: "resume", listener: () => void): this; - once(event: "SIGCONT", listener: () => void): this; - once(event: "SIGINT", listener: () => void): this; - once(event: "SIGTSTP", listener: () => void): this; - once(event: "exit", listener: () => void): this; - once(event: "reset", listener: (context: Context) => void): this; - prependListener(event: string, listener: (...args: any[]) => void): this; - prependListener(event: "close", listener: () => void): this; - prependListener(event: "line", listener: (input: string) => void): this; - prependListener(event: "pause", listener: () => void): this; - prependListener(event: "resume", listener: () => void): this; - prependListener(event: "SIGCONT", listener: () => void): this; - prependListener(event: "SIGINT", listener: () => void): this; - prependListener(event: "SIGTSTP", listener: () => void): this; - prependListener(event: "exit", listener: () => void): this; - prependListener(event: "reset", listener: (context: Context) => void): this; - prependOnceListener(event: string, listener: (...args: any[]) => void): this; - prependOnceListener(event: "close", listener: () => void): this; - prependOnceListener(event: "line", listener: (input: string) => void): this; - prependOnceListener(event: "pause", listener: () => void): this; - prependOnceListener(event: "resume", listener: () => void): this; - prependOnceListener(event: "SIGCONT", listener: () => void): this; - prependOnceListener(event: "SIGINT", listener: () => void): this; - prependOnceListener(event: "SIGTSTP", listener: () => void): this; - prependOnceListener(event: "exit", listener: () => void): this; - prependOnceListener(event: "reset", listener: (context: Context) => void): this; - } - /** - * A flag passed in the REPL options. Evaluates expressions in sloppy mode. - */ - const REPL_MODE_SLOPPY: unique symbol; - /** - * A flag passed in the REPL options. Evaluates expressions in strict mode. - * This is equivalent to prefacing every repl statement with `'use strict'`. - */ - const REPL_MODE_STRICT: unique symbol; - /** - * The `repl.start()` method creates and starts a {@link REPLServer} instance. - * - * If `options` is a string, then it specifies the input prompt: - * - * ```js - * const repl = require('node:repl'); - * - * // a Unix style prompt - * repl.start('$ '); - * ``` - * @since v0.1.91 - */ - function start(options?: string | ReplOptions): REPLServer; - /** - * Indicates a recoverable error that a `REPLServer` can use to support multi-line input. - * - * @see https://nodejs.org/dist/latest-v20.x/docs/api/repl.html#repl_recoverable_errors - */ - class Recoverable extends SyntaxError { - err: Error; - constructor(err: Error); - } -} -declare module "node:repl" { - export * from "repl"; -} diff --git a/node_modules/@types/node/ts4.8/stream.d.ts b/node_modules/@types/node/ts4.8/stream.d.ts deleted file mode 100644 index 947a019..0000000 --- a/node_modules/@types/node/ts4.8/stream.d.ts +++ /dev/null @@ -1,1701 +0,0 @@ -/** - * A stream is an abstract interface for working with streaming data in Node.js. - * The `node:stream` module provides an API for implementing the stream interface. - * - * There are many stream objects provided by Node.js. For instance, a `request to an HTTP server` and `process.stdout` are both stream instances. - * - * Streams can be readable, writable, or both. All streams are instances of `EventEmitter`. - * - * To access the `node:stream` module: - * - * ```js - * const stream = require('node:stream'); - * ``` - * - * The `node:stream` module is useful for creating new types of stream instances. - * It is usually not necessary to use the `node:stream` module to consume streams. - * @see [source](https://github.com/nodejs/node/blob/v20.2.0/lib/stream.js) - */ -declare module "stream" { - import { Abortable, EventEmitter } from "node:events"; - import { Blob as NodeBlob } from "node:buffer"; - import * as streamPromises from "node:stream/promises"; - import * as streamConsumers from "node:stream/consumers"; - import * as streamWeb from "node:stream/web"; - - type ComposeFnParam = (source: any) => void; - - class internal extends EventEmitter { - pipe( - destination: T, - options?: { - end?: boolean | undefined; - }, - ): T; - compose( - stream: T | ComposeFnParam | Iterable | AsyncIterable, - options?: { signal: AbortSignal }, - ): T; - } - import Stream = internal.Stream; - import Readable = internal.Readable; - import ReadableOptions = internal.ReadableOptions; - interface ArrayOptions { - /** the maximum concurrent invocations of `fn` to call on the stream at once. **Default: 1**. */ - concurrency?: number; - /** allows destroying the stream if the signal is aborted. */ - signal?: AbortSignal; - } - class ReadableBase extends Stream implements NodeJS.ReadableStream { - /** - * A utility method for creating Readable Streams out of iterators. - */ - static from(iterable: Iterable | AsyncIterable, options?: ReadableOptions): Readable; - /** - * Returns whether the stream has been read from or cancelled. - * @since v16.8.0 - */ - static isDisturbed(stream: Readable | NodeJS.ReadableStream): boolean; - /** - * Returns whether the stream was destroyed or errored before emitting `'end'`. - * @since v16.8.0 - * @experimental - */ - readonly readableAborted: boolean; - /** - * Is `true` if it is safe to call `readable.read()`, which means - * the stream has not been destroyed or emitted `'error'` or `'end'`. - * @since v11.4.0 - */ - readable: boolean; - /** - * Returns whether `'data'` has been emitted. - * @since v16.7.0, v14.18.0 - * @experimental - */ - readonly readableDidRead: boolean; - /** - * Getter for the property `encoding` of a given `Readable` stream. The `encoding`property can be set using the `readable.setEncoding()` method. - * @since v12.7.0 - */ - readonly readableEncoding: BufferEncoding | null; - /** - * Becomes `true` when `'end'` event is emitted. - * @since v12.9.0 - */ - readonly readableEnded: boolean; - /** - * This property reflects the current state of a `Readable` stream as described - * in the `Three states` section. - * @since v9.4.0 - */ - readonly readableFlowing: boolean | null; - /** - * Returns the value of `highWaterMark` passed when creating this `Readable`. - * @since v9.3.0 - */ - readonly readableHighWaterMark: number; - /** - * This property contains the number of bytes (or objects) in the queue - * ready to be read. The value provides introspection data regarding - * the status of the `highWaterMark`. - * @since v9.4.0 - */ - readonly readableLength: number; - /** - * Getter for the property `objectMode` of a given `Readable` stream. - * @since v12.3.0 - */ - readonly readableObjectMode: boolean; - /** - * Is `true` after `readable.destroy()` has been called. - * @since v8.0.0 - */ - destroyed: boolean; - /** - * Is `true` after `'close'` has been emitted. - * @since v18.0.0 - */ - readonly closed: boolean; - /** - * Returns error if the stream has been destroyed with an error. - * @since v18.0.0 - */ - readonly errored: Error | null; - constructor(opts?: ReadableOptions); - _construct?(callback: (error?: Error | null) => void): void; - _read(size: number): void; - /** - * The `readable.read()` method reads data out of the internal buffer and - * returns it. If no data is available to be read, `null` is returned. By default, - * the data is returned as a `Buffer` object unless an encoding has been - * specified using the `readable.setEncoding()` method or the stream is operating - * in object mode. - * - * The optional `size` argument specifies a specific number of bytes to read. If`size` bytes are not available to be read, `null` will be returned _unless_the stream has ended, in which - * case all of the data remaining in the internal - * buffer will be returned. - * - * If the `size` argument is not specified, all of the data contained in the - * internal buffer will be returned. - * - * The `size` argument must be less than or equal to 1 GiB. - * - * The `readable.read()` method should only be called on `Readable` streams - * operating in paused mode. In flowing mode, `readable.read()` is called - * automatically until the internal buffer is fully drained. - * - * ```js - * const readable = getReadableStreamSomehow(); - * - * // 'readable' may be triggered multiple times as data is buffered in - * readable.on('readable', () => { - * let chunk; - * console.log('Stream is readable (new data received in buffer)'); - * // Use a loop to make sure we read all currently available data - * while (null !== (chunk = readable.read())) { - * console.log(`Read ${chunk.length} bytes of data...`); - * } - * }); - * - * // 'end' will be triggered once when there is no more data available - * readable.on('end', () => { - * console.log('Reached end of stream.'); - * }); - * ``` - * - * Each call to `readable.read()` returns a chunk of data, or `null`. The chunks - * are not concatenated. A `while` loop is necessary to consume all data - * currently in the buffer. When reading a large file `.read()` may return `null`, - * having consumed all buffered content so far, but there is still more data to - * come not yet buffered. In this case a new `'readable'` event will be emitted - * when there is more data in the buffer. Finally the `'end'` event will be - * emitted when there is no more data to come. - * - * Therefore to read a file's whole contents from a `readable`, it is necessary - * to collect chunks across multiple `'readable'` events: - * - * ```js - * const chunks = []; - * - * readable.on('readable', () => { - * let chunk; - * while (null !== (chunk = readable.read())) { - * chunks.push(chunk); - * } - * }); - * - * readable.on('end', () => { - * const content = chunks.join(''); - * }); - * ``` - * - * A `Readable` stream in object mode will always return a single item from - * a call to `readable.read(size)`, regardless of the value of the`size` argument. - * - * If the `readable.read()` method returns a chunk of data, a `'data'` event will - * also be emitted. - * - * Calling {@link read} after the `'end'` event has - * been emitted will return `null`. No runtime error will be raised. - * @since v0.9.4 - * @param size Optional argument to specify how much data to read. - */ - read(size?: number): any; - /** - * The `readable.setEncoding()` method sets the character encoding for - * data read from the `Readable` stream. - * - * By default, no encoding is assigned and stream data will be returned as`Buffer` objects. Setting an encoding causes the stream data - * to be returned as strings of the specified encoding rather than as `Buffer`objects. For instance, calling `readable.setEncoding('utf8')` will cause the - * output data to be interpreted as UTF-8 data, and passed as strings. Calling`readable.setEncoding('hex')` will cause the data to be encoded in hexadecimal - * string format. - * - * The `Readable` stream will properly handle multi-byte characters delivered - * through the stream that would otherwise become improperly decoded if simply - * pulled from the stream as `Buffer` objects. - * - * ```js - * const readable = getReadableStreamSomehow(); - * readable.setEncoding('utf8'); - * readable.on('data', (chunk) => { - * assert.equal(typeof chunk, 'string'); - * console.log('Got %d characters of string data:', chunk.length); - * }); - * ``` - * @since v0.9.4 - * @param encoding The encoding to use. - */ - setEncoding(encoding: BufferEncoding): this; - /** - * The `readable.pause()` method will cause a stream in flowing mode to stop - * emitting `'data'` events, switching out of flowing mode. Any data that - * becomes available will remain in the internal buffer. - * - * ```js - * const readable = getReadableStreamSomehow(); - * readable.on('data', (chunk) => { - * console.log(`Received ${chunk.length} bytes of data.`); - * readable.pause(); - * console.log('There will be no additional data for 1 second.'); - * setTimeout(() => { - * console.log('Now data will start flowing again.'); - * readable.resume(); - * }, 1000); - * }); - * ``` - * - * The `readable.pause()` method has no effect if there is a `'readable'`event listener. - * @since v0.9.4 - */ - pause(): this; - /** - * The `readable.resume()` method causes an explicitly paused `Readable` stream to - * resume emitting `'data'` events, switching the stream into flowing mode. - * - * The `readable.resume()` method can be used to fully consume the data from a - * stream without actually processing any of that data: - * - * ```js - * getReadableStreamSomehow() - * .resume() - * .on('end', () => { - * console.log('Reached the end, but did not read anything.'); - * }); - * ``` - * - * The `readable.resume()` method has no effect if there is a `'readable'`event listener. - * @since v0.9.4 - */ - resume(): this; - /** - * The `readable.isPaused()` method returns the current operating state of the`Readable`. This is used primarily by the mechanism that underlies the`readable.pipe()` method. In most - * typical cases, there will be no reason to - * use this method directly. - * - * ```js - * const readable = new stream.Readable(); - * - * readable.isPaused(); // === false - * readable.pause(); - * readable.isPaused(); // === true - * readable.resume(); - * readable.isPaused(); // === false - * ``` - * @since v0.11.14 - */ - isPaused(): boolean; - /** - * The `readable.unpipe()` method detaches a `Writable` stream previously attached - * using the {@link pipe} method. - * - * If the `destination` is not specified, then _all_ pipes are detached. - * - * If the `destination` is specified, but no pipe is set up for it, then - * the method does nothing. - * - * ```js - * const fs = require('node:fs'); - * const readable = getReadableStreamSomehow(); - * const writable = fs.createWriteStream('file.txt'); - * // All the data from readable goes into 'file.txt', - * // but only for the first second. - * readable.pipe(writable); - * setTimeout(() => { - * console.log('Stop writing to file.txt.'); - * readable.unpipe(writable); - * console.log('Manually close the file stream.'); - * writable.end(); - * }, 1000); - * ``` - * @since v0.9.4 - * @param destination Optional specific stream to unpipe - */ - unpipe(destination?: NodeJS.WritableStream): this; - /** - * Passing `chunk` as `null` signals the end of the stream (EOF) and behaves the - * same as `readable.push(null)`, after which no more data can be written. The EOF - * signal is put at the end of the buffer and any buffered data will still be - * flushed. - * - * The `readable.unshift()` method pushes a chunk of data back into the internal - * buffer. This is useful in certain situations where a stream is being consumed by - * code that needs to "un-consume" some amount of data that it has optimistically - * pulled out of the source, so that the data can be passed on to some other party. - * - * The `stream.unshift(chunk)` method cannot be called after the `'end'` event - * has been emitted or a runtime error will be thrown. - * - * Developers using `stream.unshift()` often should consider switching to - * use of a `Transform` stream instead. See the `API for stream implementers` section for more information. - * - * ```js - * // Pull off a header delimited by \n\n. - * // Use unshift() if we get too much. - * // Call the callback with (error, header, stream). - * const { StringDecoder } = require('node:string_decoder'); - * function parseHeader(stream, callback) { - * stream.on('error', callback); - * stream.on('readable', onReadable); - * const decoder = new StringDecoder('utf8'); - * let header = ''; - * function onReadable() { - * let chunk; - * while (null !== (chunk = stream.read())) { - * const str = decoder.write(chunk); - * if (str.includes('\n\n')) { - * // Found the header boundary. - * const split = str.split(/\n\n/); - * header += split.shift(); - * const remaining = split.join('\n\n'); - * const buf = Buffer.from(remaining, 'utf8'); - * stream.removeListener('error', callback); - * // Remove the 'readable' listener before unshifting. - * stream.removeListener('readable', onReadable); - * if (buf.length) - * stream.unshift(buf); - * // Now the body of the message can be read from the stream. - * callback(null, header, stream); - * return; - * } - * // Still reading the header. - * header += str; - * } - * } - * } - * ``` - * - * Unlike {@link push}, `stream.unshift(chunk)` will not - * end the reading process by resetting the internal reading state of the stream. - * This can cause unexpected results if `readable.unshift()` is called during a - * read (i.e. from within a {@link _read} implementation on a - * custom stream). Following the call to `readable.unshift()` with an immediate {@link push} will reset the reading state appropriately, - * however it is best to simply avoid calling `readable.unshift()` while in the - * process of performing a read. - * @since v0.9.11 - * @param chunk Chunk of data to unshift onto the read queue. For streams not operating in object mode, `chunk` must be a string, `Buffer`, `Uint8Array`, or `null`. For object mode - * streams, `chunk` may be any JavaScript value. - * @param encoding Encoding of string chunks. Must be a valid `Buffer` encoding, such as `'utf8'` or `'ascii'`. - */ - unshift(chunk: any, encoding?: BufferEncoding): void; - /** - * Prior to Node.js 0.10, streams did not implement the entire `node:stream`module API as it is currently defined. (See `Compatibility` for more - * information.) - * - * When using an older Node.js library that emits `'data'` events and has a {@link pause} method that is advisory only, the`readable.wrap()` method can be used to create a `Readable` - * stream that uses - * the old stream as its data source. - * - * It will rarely be necessary to use `readable.wrap()` but the method has been - * provided as a convenience for interacting with older Node.js applications and - * libraries. - * - * ```js - * const { OldReader } = require('./old-api-module.js'); - * const { Readable } = require('node:stream'); - * const oreader = new OldReader(); - * const myReader = new Readable().wrap(oreader); - * - * myReader.on('readable', () => { - * myReader.read(); // etc. - * }); - * ``` - * @since v0.9.4 - * @param stream An "old style" readable stream - */ - wrap(stream: NodeJS.ReadableStream): this; - push(chunk: any, encoding?: BufferEncoding): boolean; - /** - * The iterator created by this method gives users the option to cancel the destruction - * of the stream if the `for await...of` loop is exited by `return`, `break`, or `throw`, - * or if the iterator should destroy the stream if the stream emitted an error during iteration. - * @since v16.3.0 - * @param options.destroyOnReturn When set to `false`, calling `return` on the async iterator, - * or exiting a `for await...of` iteration using a `break`, `return`, or `throw` will not destroy the stream. - * **Default: `true`**. - */ - iterator(options?: { destroyOnReturn?: boolean }): AsyncIterableIterator; - /** - * This method allows mapping over the stream. The *fn* function will be called for every chunk in the stream. - * If the *fn* function returns a promise - that promise will be `await`ed before being passed to the result stream. - * @since v17.4.0, v16.14.0 - * @param fn a function to map over every chunk in the stream. Async or not. - * @returns a stream mapped with the function *fn*. - */ - map(fn: (data: any, options?: Pick) => any, options?: ArrayOptions): Readable; - /** - * This method allows filtering the stream. For each chunk in the stream the *fn* function will be called - * and if it returns a truthy value, the chunk will be passed to the result stream. - * If the *fn* function returns a promise - that promise will be `await`ed. - * @since v17.4.0, v16.14.0 - * @param fn a function to filter chunks from the stream. Async or not. - * @returns a stream filtered with the predicate *fn*. - */ - filter( - fn: (data: any, options?: Pick) => boolean | Promise, - options?: ArrayOptions, - ): Readable; - /** - * This method allows iterating a stream. For each chunk in the stream the *fn* function will be called. - * If the *fn* function returns a promise - that promise will be `await`ed. - * - * This method is different from `for await...of` loops in that it can optionally process chunks concurrently. - * In addition, a `forEach` iteration can only be stopped by having passed a `signal` option - * and aborting the related AbortController while `for await...of` can be stopped with `break` or `return`. - * In either case the stream will be destroyed. - * - * This method is different from listening to the `'data'` event in that it uses the `readable` event - * in the underlying machinary and can limit the number of concurrent *fn* calls. - * @since v17.5.0 - * @param fn a function to call on each chunk of the stream. Async or not. - * @returns a promise for when the stream has finished. - */ - forEach( - fn: (data: any, options?: Pick) => void | Promise, - options?: ArrayOptions, - ): Promise; - /** - * This method allows easily obtaining the contents of a stream. - * - * As this method reads the entire stream into memory, it negates the benefits of streams. It's intended - * for interoperability and convenience, not as the primary way to consume streams. - * @since v17.5.0 - * @returns a promise containing an array with the contents of the stream. - */ - toArray(options?: Pick): Promise; - /** - * This method is similar to `Array.prototype.some` and calls *fn* on each chunk in the stream - * until the awaited return value is `true` (or any truthy value). Once an *fn* call on a chunk - * `await`ed return value is truthy, the stream is destroyed and the promise is fulfilled with `true`. - * If none of the *fn* calls on the chunks return a truthy value, the promise is fulfilled with `false`. - * @since v17.5.0 - * @param fn a function to call on each chunk of the stream. Async or not. - * @returns a promise evaluating to `true` if *fn* returned a truthy value for at least one of the chunks. - */ - some( - fn: (data: any, options?: Pick) => boolean | Promise, - options?: ArrayOptions, - ): Promise; - /** - * This method is similar to `Array.prototype.find` and calls *fn* on each chunk in the stream - * to find a chunk with a truthy value for *fn*. Once an *fn* call's awaited return value is truthy, - * the stream is destroyed and the promise is fulfilled with value for which *fn* returned a truthy value. - * If all of the *fn* calls on the chunks return a falsy value, the promise is fulfilled with `undefined`. - * @since v17.5.0 - * @param fn a function to call on each chunk of the stream. Async or not. - * @returns a promise evaluating to the first chunk for which *fn* evaluated with a truthy value, - * or `undefined` if no element was found. - */ - find( - fn: (data: any, options?: Pick) => data is T, - options?: ArrayOptions, - ): Promise; - find( - fn: (data: any, options?: Pick) => boolean | Promise, - options?: ArrayOptions, - ): Promise; - /** - * This method is similar to `Array.prototype.every` and calls *fn* on each chunk in the stream - * to check if all awaited return values are truthy value for *fn*. Once an *fn* call on a chunk - * `await`ed return value is falsy, the stream is destroyed and the promise is fulfilled with `false`. - * If all of the *fn* calls on the chunks return a truthy value, the promise is fulfilled with `true`. - * @since v17.5.0 - * @param fn a function to call on each chunk of the stream. Async or not. - * @returns a promise evaluating to `true` if *fn* returned a truthy value for every one of the chunks. - */ - every( - fn: (data: any, options?: Pick) => boolean | Promise, - options?: ArrayOptions, - ): Promise; - /** - * This method returns a new stream by applying the given callback to each chunk of the stream - * and then flattening the result. - * - * It is possible to return a stream or another iterable or async iterable from *fn* and the result streams - * will be merged (flattened) into the returned stream. - * @since v17.5.0 - * @param fn a function to map over every chunk in the stream. May be async. May be a stream or generator. - * @returns a stream flat-mapped with the function *fn*. - */ - flatMap(fn: (data: any, options?: Pick) => any, options?: ArrayOptions): Readable; - /** - * This method returns a new stream with the first *limit* chunks dropped from the start. - * @since v17.5.0 - * @param limit the number of chunks to drop from the readable. - * @returns a stream with *limit* chunks dropped from the start. - */ - drop(limit: number, options?: Pick): Readable; - /** - * This method returns a new stream with the first *limit* chunks. - * @since v17.5.0 - * @param limit the number of chunks to take from the readable. - * @returns a stream with *limit* chunks taken. - */ - take(limit: number, options?: Pick): Readable; - /** - * This method returns a new stream with chunks of the underlying stream paired with a counter - * in the form `[index, chunk]`. The first index value is `0` and it increases by 1 for each chunk produced. - * @since v17.5.0 - * @returns a stream of indexed pairs. - */ - asIndexedPairs(options?: Pick): Readable; - /** - * This method calls *fn* on each chunk of the stream in order, passing it the result from the calculation - * on the previous element. It returns a promise for the final value of the reduction. - * - * If no *initial* value is supplied the first chunk of the stream is used as the initial value. - * If the stream is empty, the promise is rejected with a `TypeError` with the `ERR_INVALID_ARGS` code property. - * - * The reducer function iterates the stream element-by-element which means that there is no *concurrency* parameter - * or parallelism. To perform a reduce concurrently, you can extract the async function to `readable.map` method. - * @since v17.5.0 - * @param fn a reducer function to call over every chunk in the stream. Async or not. - * @param initial the initial value to use in the reduction. - * @returns a promise for the final value of the reduction. - */ - reduce( - fn: (previous: any, data: any, options?: Pick) => T, - initial?: undefined, - options?: Pick, - ): Promise; - reduce( - fn: (previous: T, data: any, options?: Pick) => T, - initial: T, - options?: Pick, - ): Promise; - _destroy(error: Error | null, callback: (error?: Error | null) => void): void; - /** - * Destroy the stream. Optionally emit an `'error'` event, and emit a `'close'`event (unless `emitClose` is set to `false`). After this call, the readable - * stream will release any internal resources and subsequent calls to `push()`will be ignored. - * - * Once `destroy()` has been called any further calls will be a no-op and no - * further errors except from `_destroy()` may be emitted as `'error'`. - * - * Implementors should not override this method, but instead implement `readable._destroy()`. - * @since v8.0.0 - * @param error Error which will be passed as payload in `'error'` event - */ - destroy(error?: Error): this; - /** - * Event emitter - * The defined events on documents including: - * 1. close - * 2. data - * 3. end - * 4. error - * 5. pause - * 6. readable - * 7. resume - */ - addListener(event: "close", listener: () => void): this; - addListener(event: "data", listener: (chunk: any) => void): this; - addListener(event: "end", listener: () => void): this; - addListener(event: "error", listener: (err: Error) => void): this; - addListener(event: "pause", listener: () => void): this; - addListener(event: "readable", listener: () => void): this; - addListener(event: "resume", listener: () => void): this; - addListener(event: string | symbol, listener: (...args: any[]) => void): this; - emit(event: "close"): boolean; - emit(event: "data", chunk: any): boolean; - emit(event: "end"): boolean; - emit(event: "error", err: Error): boolean; - emit(event: "pause"): boolean; - emit(event: "readable"): boolean; - emit(event: "resume"): boolean; - emit(event: string | symbol, ...args: any[]): boolean; - on(event: "close", listener: () => void): this; - on(event: "data", listener: (chunk: any) => void): this; - on(event: "end", listener: () => void): this; - on(event: "error", listener: (err: Error) => void): this; - on(event: "pause", listener: () => void): this; - on(event: "readable", listener: () => void): this; - on(event: "resume", listener: () => void): this; - on(event: string | symbol, listener: (...args: any[]) => void): this; - once(event: "close", listener: () => void): this; - once(event: "data", listener: (chunk: any) => void): this; - once(event: "end", listener: () => void): this; - once(event: "error", listener: (err: Error) => void): this; - once(event: "pause", listener: () => void): this; - once(event: "readable", listener: () => void): this; - once(event: "resume", listener: () => void): this; - once(event: string | symbol, listener: (...args: any[]) => void): this; - prependListener(event: "close", listener: () => void): this; - prependListener(event: "data", listener: (chunk: any) => void): this; - prependListener(event: "end", listener: () => void): this; - prependListener(event: "error", listener: (err: Error) => void): this; - prependListener(event: "pause", listener: () => void): this; - prependListener(event: "readable", listener: () => void): this; - prependListener(event: "resume", listener: () => void): this; - prependListener(event: string | symbol, listener: (...args: any[]) => void): this; - prependOnceListener(event: "close", listener: () => void): this; - prependOnceListener(event: "data", listener: (chunk: any) => void): this; - prependOnceListener(event: "end", listener: () => void): this; - prependOnceListener(event: "error", listener: (err: Error) => void): this; - prependOnceListener(event: "pause", listener: () => void): this; - prependOnceListener(event: "readable", listener: () => void): this; - prependOnceListener(event: "resume", listener: () => void): this; - prependOnceListener(event: string | symbol, listener: (...args: any[]) => void): this; - removeListener(event: "close", listener: () => void): this; - removeListener(event: "data", listener: (chunk: any) => void): this; - removeListener(event: "end", listener: () => void): this; - removeListener(event: "error", listener: (err: Error) => void): this; - removeListener(event: "pause", listener: () => void): this; - removeListener(event: "readable", listener: () => void): this; - removeListener(event: "resume", listener: () => void): this; - removeListener(event: string | symbol, listener: (...args: any[]) => void): this; - [Symbol.asyncIterator](): AsyncIterableIterator; - /** - * Calls `readable.destroy()` with an `AbortError` and returns a promise that fulfills when the stream is finished. - * @since v20.4.0 - */ - [Symbol.asyncDispose](): Promise; - } - import WritableOptions = internal.WritableOptions; - class WritableBase extends Stream implements NodeJS.WritableStream { - /** - * Is `true` if it is safe to call `writable.write()`, which means - * the stream has not been destroyed, errored, or ended. - * @since v11.4.0 - */ - readonly writable: boolean; - /** - * Is `true` after `writable.end()` has been called. This property - * does not indicate whether the data has been flushed, for this use `writable.writableFinished` instead. - * @since v12.9.0 - */ - readonly writableEnded: boolean; - /** - * Is set to `true` immediately before the `'finish'` event is emitted. - * @since v12.6.0 - */ - readonly writableFinished: boolean; - /** - * Return the value of `highWaterMark` passed when creating this `Writable`. - * @since v9.3.0 - */ - readonly writableHighWaterMark: number; - /** - * This property contains the number of bytes (or objects) in the queue - * ready to be written. The value provides introspection data regarding - * the status of the `highWaterMark`. - * @since v9.4.0 - */ - readonly writableLength: number; - /** - * Getter for the property `objectMode` of a given `Writable` stream. - * @since v12.3.0 - */ - readonly writableObjectMode: boolean; - /** - * Number of times `writable.uncork()` needs to be - * called in order to fully uncork the stream. - * @since v13.2.0, v12.16.0 - */ - readonly writableCorked: number; - /** - * Is `true` after `writable.destroy()` has been called. - * @since v8.0.0 - */ - destroyed: boolean; - /** - * Is `true` after `'close'` has been emitted. - * @since v18.0.0 - */ - readonly closed: boolean; - /** - * Returns error if the stream has been destroyed with an error. - * @since v18.0.0 - */ - readonly errored: Error | null; - /** - * Is `true` if the stream's buffer has been full and stream will emit `'drain'`. - * @since v15.2.0, v14.17.0 - */ - readonly writableNeedDrain: boolean; - constructor(opts?: WritableOptions); - _write(chunk: any, encoding: BufferEncoding, callback: (error?: Error | null) => void): void; - _writev?( - chunks: Array<{ - chunk: any; - encoding: BufferEncoding; - }>, - callback: (error?: Error | null) => void, - ): void; - _construct?(callback: (error?: Error | null) => void): void; - _destroy(error: Error | null, callback: (error?: Error | null) => void): void; - _final(callback: (error?: Error | null) => void): void; - /** - * The `writable.write()` method writes some data to the stream, and calls the - * supplied `callback` once the data has been fully handled. If an error - * occurs, the `callback` will be called with the error as its - * first argument. The `callback` is called asynchronously and before `'error'` is - * emitted. - * - * The return value is `true` if the internal buffer is less than the`highWaterMark` configured when the stream was created after admitting `chunk`. - * If `false` is returned, further attempts to write data to the stream should - * stop until the `'drain'` event is emitted. - * - * While a stream is not draining, calls to `write()` will buffer `chunk`, and - * return false. Once all currently buffered chunks are drained (accepted for - * delivery by the operating system), the `'drain'` event will be emitted. - * Once `write()` returns false, do not write more chunks - * until the `'drain'` event is emitted. While calling `write()` on a stream that - * is not draining is allowed, Node.js will buffer all written chunks until - * maximum memory usage occurs, at which point it will abort unconditionally. - * Even before it aborts, high memory usage will cause poor garbage collector - * performance and high RSS (which is not typically released back to the system, - * even after the memory is no longer required). Since TCP sockets may never - * drain if the remote peer does not read the data, writing a socket that is - * not draining may lead to a remotely exploitable vulnerability. - * - * Writing data while the stream is not draining is particularly - * problematic for a `Transform`, because the `Transform` streams are paused - * by default until they are piped or a `'data'` or `'readable'` event handler - * is added. - * - * If the data to be written can be generated or fetched on demand, it is - * recommended to encapsulate the logic into a `Readable` and use {@link pipe}. However, if calling `write()` is preferred, it is - * possible to respect backpressure and avoid memory issues using the `'drain'` event: - * - * ```js - * function write(data, cb) { - * if (!stream.write(data)) { - * stream.once('drain', cb); - * } else { - * process.nextTick(cb); - * } - * } - * - * // Wait for cb to be called before doing any other write. - * write('hello', () => { - * console.log('Write completed, do more writes now.'); - * }); - * ``` - * - * A `Writable` stream in object mode will always ignore the `encoding` argument. - * @since v0.9.4 - * @param chunk Optional data to write. For streams not operating in object mode, `chunk` must be a string, `Buffer` or `Uint8Array`. For object mode streams, `chunk` may be any - * JavaScript value other than `null`. - * @param [encoding='utf8'] The encoding, if `chunk` is a string. - * @param callback Callback for when this chunk of data is flushed. - * @return `false` if the stream wishes for the calling code to wait for the `'drain'` event to be emitted before continuing to write additional data; otherwise `true`. - */ - write(chunk: any, callback?: (error: Error | null | undefined) => void): boolean; - write(chunk: any, encoding: BufferEncoding, callback?: (error: Error | null | undefined) => void): boolean; - /** - * The `writable.setDefaultEncoding()` method sets the default `encoding` for a `Writable` stream. - * @since v0.11.15 - * @param encoding The new default encoding - */ - setDefaultEncoding(encoding: BufferEncoding): this; - /** - * Calling the `writable.end()` method signals that no more data will be written - * to the `Writable`. The optional `chunk` and `encoding` arguments allow one - * final additional chunk of data to be written immediately before closing the - * stream. - * - * Calling the {@link write} method after calling {@link end} will raise an error. - * - * ```js - * // Write 'hello, ' and then end with 'world!'. - * const fs = require('node:fs'); - * const file = fs.createWriteStream('example.txt'); - * file.write('hello, '); - * file.end('world!'); - * // Writing more now is not allowed! - * ``` - * @since v0.9.4 - * @param chunk Optional data to write. For streams not operating in object mode, `chunk` must be a string, `Buffer` or `Uint8Array`. For object mode streams, `chunk` may be any - * JavaScript value other than `null`. - * @param encoding The encoding if `chunk` is a string - * @param callback Callback for when the stream is finished. - */ - end(cb?: () => void): this; - end(chunk: any, cb?: () => void): this; - end(chunk: any, encoding: BufferEncoding, cb?: () => void): this; - /** - * The `writable.cork()` method forces all written data to be buffered in memory. - * The buffered data will be flushed when either the {@link uncork} or {@link end} methods are called. - * - * The primary intent of `writable.cork()` is to accommodate a situation in which - * several small chunks are written to the stream in rapid succession. Instead of - * immediately forwarding them to the underlying destination, `writable.cork()`buffers all the chunks until `writable.uncork()` is called, which will pass them - * all to `writable._writev()`, if present. This prevents a head-of-line blocking - * situation where data is being buffered while waiting for the first small chunk - * to be processed. However, use of `writable.cork()` without implementing`writable._writev()` may have an adverse effect on throughput. - * - * See also: `writable.uncork()`, `writable._writev()`. - * @since v0.11.2 - */ - cork(): void; - /** - * The `writable.uncork()` method flushes all data buffered since {@link cork} was called. - * - * When using `writable.cork()` and `writable.uncork()` to manage the buffering - * of writes to a stream, defer calls to `writable.uncork()` using`process.nextTick()`. Doing so allows batching of all`writable.write()` calls that occur within a given Node.js event - * loop phase. - * - * ```js - * stream.cork(); - * stream.write('some '); - * stream.write('data '); - * process.nextTick(() => stream.uncork()); - * ``` - * - * If the `writable.cork()` method is called multiple times on a stream, the - * same number of calls to `writable.uncork()` must be called to flush the buffered - * data. - * - * ```js - * stream.cork(); - * stream.write('some '); - * stream.cork(); - * stream.write('data '); - * process.nextTick(() => { - * stream.uncork(); - * // The data will not be flushed until uncork() is called a second time. - * stream.uncork(); - * }); - * ``` - * - * See also: `writable.cork()`. - * @since v0.11.2 - */ - uncork(): void; - /** - * Destroy the stream. Optionally emit an `'error'` event, and emit a `'close'`event (unless `emitClose` is set to `false`). After this call, the writable - * stream has ended and subsequent calls to `write()` or `end()` will result in - * an `ERR_STREAM_DESTROYED` error. - * This is a destructive and immediate way to destroy a stream. Previous calls to`write()` may not have drained, and may trigger an `ERR_STREAM_DESTROYED` error. - * Use `end()` instead of destroy if data should flush before close, or wait for - * the `'drain'` event before destroying the stream. - * - * Once `destroy()` has been called any further calls will be a no-op and no - * further errors except from `_destroy()` may be emitted as `'error'`. - * - * Implementors should not override this method, - * but instead implement `writable._destroy()`. - * @since v8.0.0 - * @param error Optional, an error to emit with `'error'` event. - */ - destroy(error?: Error): this; - /** - * Event emitter - * The defined events on documents including: - * 1. close - * 2. drain - * 3. error - * 4. finish - * 5. pipe - * 6. unpipe - */ - addListener(event: "close", listener: () => void): this; - addListener(event: "drain", listener: () => void): this; - addListener(event: "error", listener: (err: Error) => void): this; - addListener(event: "finish", listener: () => void): this; - addListener(event: "pipe", listener: (src: Readable) => void): this; - addListener(event: "unpipe", listener: (src: Readable) => void): this; - addListener(event: string | symbol, listener: (...args: any[]) => void): this; - emit(event: "close"): boolean; - emit(event: "drain"): boolean; - emit(event: "error", err: Error): boolean; - emit(event: "finish"): boolean; - emit(event: "pipe", src: Readable): boolean; - emit(event: "unpipe", src: Readable): boolean; - emit(event: string | symbol, ...args: any[]): boolean; - on(event: "close", listener: () => void): this; - on(event: "drain", listener: () => void): this; - on(event: "error", listener: (err: Error) => void): this; - on(event: "finish", listener: () => void): this; - on(event: "pipe", listener: (src: Readable) => void): this; - on(event: "unpipe", listener: (src: Readable) => void): this; - on(event: string | symbol, listener: (...args: any[]) => void): this; - once(event: "close", listener: () => void): this; - once(event: "drain", listener: () => void): this; - once(event: "error", listener: (err: Error) => void): this; - once(event: "finish", listener: () => void): this; - once(event: "pipe", listener: (src: Readable) => void): this; - once(event: "unpipe", listener: (src: Readable) => void): this; - once(event: string | symbol, listener: (...args: any[]) => void): this; - prependListener(event: "close", listener: () => void): this; - prependListener(event: "drain", listener: () => void): this; - prependListener(event: "error", listener: (err: Error) => void): this; - prependListener(event: "finish", listener: () => void): this; - prependListener(event: "pipe", listener: (src: Readable) => void): this; - prependListener(event: "unpipe", listener: (src: Readable) => void): this; - prependListener(event: string | symbol, listener: (...args: any[]) => void): this; - prependOnceListener(event: "close", listener: () => void): this; - prependOnceListener(event: "drain", listener: () => void): this; - prependOnceListener(event: "error", listener: (err: Error) => void): this; - prependOnceListener(event: "finish", listener: () => void): this; - prependOnceListener(event: "pipe", listener: (src: Readable) => void): this; - prependOnceListener(event: "unpipe", listener: (src: Readable) => void): this; - prependOnceListener(event: string | symbol, listener: (...args: any[]) => void): this; - removeListener(event: "close", listener: () => void): this; - removeListener(event: "drain", listener: () => void): this; - removeListener(event: "error", listener: (err: Error) => void): this; - removeListener(event: "finish", listener: () => void): this; - removeListener(event: "pipe", listener: (src: Readable) => void): this; - removeListener(event: "unpipe", listener: (src: Readable) => void): this; - removeListener(event: string | symbol, listener: (...args: any[]) => void): this; - } - namespace internal { - class Stream extends internal { - constructor(opts?: ReadableOptions); - } - interface StreamOptions extends Abortable { - emitClose?: boolean | undefined; - highWaterMark?: number | undefined; - objectMode?: boolean | undefined; - construct?(this: T, callback: (error?: Error | null) => void): void; - destroy?(this: T, error: Error | null, callback: (error?: Error | null) => void): void; - autoDestroy?: boolean | undefined; - } - interface ReadableOptions extends StreamOptions { - encoding?: BufferEncoding | undefined; - read?(this: Readable, size: number): void; - } - /** - * @since v0.9.4 - */ - class Readable extends ReadableBase { - /** - * A utility method for creating a `Readable` from a web `ReadableStream`. - * @since v17.0.0 - * @experimental - */ - static fromWeb( - readableStream: streamWeb.ReadableStream, - options?: Pick, - ): Readable; - /** - * A utility method for creating a web `ReadableStream` from a `Readable`. - * @since v17.0.0 - * @experimental - */ - static toWeb(streamReadable: Readable): streamWeb.ReadableStream; - } - interface WritableOptions extends StreamOptions { - decodeStrings?: boolean | undefined; - defaultEncoding?: BufferEncoding | undefined; - write?( - this: Writable, - chunk: any, - encoding: BufferEncoding, - callback: (error?: Error | null) => void, - ): void; - writev?( - this: Writable, - chunks: Array<{ - chunk: any; - encoding: BufferEncoding; - }>, - callback: (error?: Error | null) => void, - ): void; - final?(this: Writable, callback: (error?: Error | null) => void): void; - } - /** - * @since v0.9.4 - */ - class Writable extends WritableBase { - /** - * A utility method for creating a `Writable` from a web `WritableStream`. - * @since v17.0.0 - * @experimental - */ - static fromWeb( - writableStream: streamWeb.WritableStream, - options?: Pick, - ): Writable; - /** - * A utility method for creating a web `WritableStream` from a `Writable`. - * @since v17.0.0 - * @experimental - */ - static toWeb(streamWritable: Writable): streamWeb.WritableStream; - } - interface DuplexOptions extends ReadableOptions, WritableOptions { - allowHalfOpen?: boolean | undefined; - readableObjectMode?: boolean | undefined; - writableObjectMode?: boolean | undefined; - readableHighWaterMark?: number | undefined; - writableHighWaterMark?: number | undefined; - writableCorked?: number | undefined; - construct?(this: Duplex, callback: (error?: Error | null) => void): void; - read?(this: Duplex, size: number): void; - write?(this: Duplex, chunk: any, encoding: BufferEncoding, callback: (error?: Error | null) => void): void; - writev?( - this: Duplex, - chunks: Array<{ - chunk: any; - encoding: BufferEncoding; - }>, - callback: (error?: Error | null) => void, - ): void; - final?(this: Duplex, callback: (error?: Error | null) => void): void; - destroy?(this: Duplex, error: Error | null, callback: (error?: Error | null) => void): void; - } - /** - * Duplex streams are streams that implement both the `Readable` and `Writable` interfaces. - * - * Examples of `Duplex` streams include: - * - * * `TCP sockets` - * * `zlib streams` - * * `crypto streams` - * @since v0.9.4 - */ - class Duplex extends ReadableBase implements WritableBase { - readonly writable: boolean; - readonly writableEnded: boolean; - readonly writableFinished: boolean; - readonly writableHighWaterMark: number; - readonly writableLength: number; - readonly writableObjectMode: boolean; - readonly writableCorked: number; - readonly writableNeedDrain: boolean; - readonly closed: boolean; - readonly errored: Error | null; - /** - * If `false` then the stream will automatically end the writable side when the - * readable side ends. Set initially by the `allowHalfOpen` constructor option, - * which defaults to `true`. - * - * This can be changed manually to change the half-open behavior of an existing`Duplex` stream instance, but must be changed before the `'end'` event is - * emitted. - * @since v0.9.4 - */ - allowHalfOpen: boolean; - constructor(opts?: DuplexOptions); - /** - * A utility method for creating duplex streams. - * - * - `Stream` converts writable stream into writable `Duplex` and readable stream - * to `Duplex`. - * - `Blob` converts into readable `Duplex`. - * - `string` converts into readable `Duplex`. - * - `ArrayBuffer` converts into readable `Duplex`. - * - `AsyncIterable` converts into a readable `Duplex`. Cannot yield `null`. - * - `AsyncGeneratorFunction` converts into a readable/writable transform - * `Duplex`. Must take a source `AsyncIterable` as first parameter. Cannot yield - * `null`. - * - `AsyncFunction` converts into a writable `Duplex`. Must return - * either `null` or `undefined` - * - `Object ({ writable, readable })` converts `readable` and - * `writable` into `Stream` and then combines them into `Duplex` where the - * `Duplex` will write to the `writable` and read from the `readable`. - * - `Promise` converts into readable `Duplex`. Value `null` is ignored. - * - * @since v16.8.0 - */ - static from( - src: - | Stream - | NodeBlob - | ArrayBuffer - | string - | Iterable - | AsyncIterable - | AsyncGeneratorFunction - | Promise - | Object, - ): Duplex; - _write(chunk: any, encoding: BufferEncoding, callback: (error?: Error | null) => void): void; - _writev?( - chunks: Array<{ - chunk: any; - encoding: BufferEncoding; - }>, - callback: (error?: Error | null) => void, - ): void; - _destroy(error: Error | null, callback: (error?: Error | null) => void): void; - _final(callback: (error?: Error | null) => void): void; - write(chunk: any, encoding?: BufferEncoding, cb?: (error: Error | null | undefined) => void): boolean; - write(chunk: any, cb?: (error: Error | null | undefined) => void): boolean; - setDefaultEncoding(encoding: BufferEncoding): this; - end(cb?: () => void): this; - end(chunk: any, cb?: () => void): this; - end(chunk: any, encoding?: BufferEncoding, cb?: () => void): this; - cork(): void; - uncork(): void; - /** - * A utility method for creating a web `ReadableStream` and `WritableStream` from a `Duplex`. - * @since v17.0.0 - * @experimental - */ - static toWeb(streamDuplex: Duplex): { - readable: streamWeb.ReadableStream; - writable: streamWeb.WritableStream; - }; - /** - * A utility method for creating a `Duplex` from a web `ReadableStream` and `WritableStream`. - * @since v17.0.0 - * @experimental - */ - static fromWeb( - duplexStream: { - readable: streamWeb.ReadableStream; - writable: streamWeb.WritableStream; - }, - options?: Pick< - DuplexOptions, - "allowHalfOpen" | "decodeStrings" | "encoding" | "highWaterMark" | "objectMode" | "signal" - >, - ): Duplex; - /** - * Event emitter - * The defined events on documents including: - * 1. close - * 2. data - * 3. drain - * 4. end - * 5. error - * 6. finish - * 7. pause - * 8. pipe - * 9. readable - * 10. resume - * 11. unpipe - */ - addListener(event: "close", listener: () => void): this; - addListener(event: "data", listener: (chunk: any) => void): this; - addListener(event: "drain", listener: () => void): this; - addListener(event: "end", listener: () => void): this; - addListener(event: "error", listener: (err: Error) => void): this; - addListener(event: "finish", listener: () => void): this; - addListener(event: "pause", listener: () => void): this; - addListener(event: "pipe", listener: (src: Readable) => void): this; - addListener(event: "readable", listener: () => void): this; - addListener(event: "resume", listener: () => void): this; - addListener(event: "unpipe", listener: (src: Readable) => void): this; - addListener(event: string | symbol, listener: (...args: any[]) => void): this; - emit(event: "close"): boolean; - emit(event: "data", chunk: any): boolean; - emit(event: "drain"): boolean; - emit(event: "end"): boolean; - emit(event: "error", err: Error): boolean; - emit(event: "finish"): boolean; - emit(event: "pause"): boolean; - emit(event: "pipe", src: Readable): boolean; - emit(event: "readable"): boolean; - emit(event: "resume"): boolean; - emit(event: "unpipe", src: Readable): boolean; - emit(event: string | symbol, ...args: any[]): boolean; - on(event: "close", listener: () => void): this; - on(event: "data", listener: (chunk: any) => void): this; - on(event: "drain", listener: () => void): this; - on(event: "end", listener: () => void): this; - on(event: "error", listener: (err: Error) => void): this; - on(event: "finish", listener: () => void): this; - on(event: "pause", listener: () => void): this; - on(event: "pipe", listener: (src: Readable) => void): this; - on(event: "readable", listener: () => void): this; - on(event: "resume", listener: () => void): this; - on(event: "unpipe", listener: (src: Readable) => void): this; - on(event: string | symbol, listener: (...args: any[]) => void): this; - once(event: "close", listener: () => void): this; - once(event: "data", listener: (chunk: any) => void): this; - once(event: "drain", listener: () => void): this; - once(event: "end", listener: () => void): this; - once(event: "error", listener: (err: Error) => void): this; - once(event: "finish", listener: () => void): this; - once(event: "pause", listener: () => void): this; - once(event: "pipe", listener: (src: Readable) => void): this; - once(event: "readable", listener: () => void): this; - once(event: "resume", listener: () => void): this; - once(event: "unpipe", listener: (src: Readable) => void): this; - once(event: string | symbol, listener: (...args: any[]) => void): this; - prependListener(event: "close", listener: () => void): this; - prependListener(event: "data", listener: (chunk: any) => void): this; - prependListener(event: "drain", listener: () => void): this; - prependListener(event: "end", listener: () => void): this; - prependListener(event: "error", listener: (err: Error) => void): this; - prependListener(event: "finish", listener: () => void): this; - prependListener(event: "pause", listener: () => void): this; - prependListener(event: "pipe", listener: (src: Readable) => void): this; - prependListener(event: "readable", listener: () => void): this; - prependListener(event: "resume", listener: () => void): this; - prependListener(event: "unpipe", listener: (src: Readable) => void): this; - prependListener(event: string | symbol, listener: (...args: any[]) => void): this; - prependOnceListener(event: "close", listener: () => void): this; - prependOnceListener(event: "data", listener: (chunk: any) => void): this; - prependOnceListener(event: "drain", listener: () => void): this; - prependOnceListener(event: "end", listener: () => void): this; - prependOnceListener(event: "error", listener: (err: Error) => void): this; - prependOnceListener(event: "finish", listener: () => void): this; - prependOnceListener(event: "pause", listener: () => void): this; - prependOnceListener(event: "pipe", listener: (src: Readable) => void): this; - prependOnceListener(event: "readable", listener: () => void): this; - prependOnceListener(event: "resume", listener: () => void): this; - prependOnceListener(event: "unpipe", listener: (src: Readable) => void): this; - prependOnceListener(event: string | symbol, listener: (...args: any[]) => void): this; - removeListener(event: "close", listener: () => void): this; - removeListener(event: "data", listener: (chunk: any) => void): this; - removeListener(event: "drain", listener: () => void): this; - removeListener(event: "end", listener: () => void): this; - removeListener(event: "error", listener: (err: Error) => void): this; - removeListener(event: "finish", listener: () => void): this; - removeListener(event: "pause", listener: () => void): this; - removeListener(event: "pipe", listener: (src: Readable) => void): this; - removeListener(event: "readable", listener: () => void): this; - removeListener(event: "resume", listener: () => void): this; - removeListener(event: "unpipe", listener: (src: Readable) => void): this; - removeListener(event: string | symbol, listener: (...args: any[]) => void): this; - } - type TransformCallback = (error?: Error | null, data?: any) => void; - interface TransformOptions extends DuplexOptions { - construct?(this: Transform, callback: (error?: Error | null) => void): void; - read?(this: Transform, size: number): void; - write?( - this: Transform, - chunk: any, - encoding: BufferEncoding, - callback: (error?: Error | null) => void, - ): void; - writev?( - this: Transform, - chunks: Array<{ - chunk: any; - encoding: BufferEncoding; - }>, - callback: (error?: Error | null) => void, - ): void; - final?(this: Transform, callback: (error?: Error | null) => void): void; - destroy?(this: Transform, error: Error | null, callback: (error?: Error | null) => void): void; - transform?(this: Transform, chunk: any, encoding: BufferEncoding, callback: TransformCallback): void; - flush?(this: Transform, callback: TransformCallback): void; - } - /** - * Transform streams are `Duplex` streams where the output is in some way - * related to the input. Like all `Duplex` streams, `Transform` streams - * implement both the `Readable` and `Writable` interfaces. - * - * Examples of `Transform` streams include: - * - * * `zlib streams` - * * `crypto streams` - * @since v0.9.4 - */ - class Transform extends Duplex { - constructor(opts?: TransformOptions); - _transform(chunk: any, encoding: BufferEncoding, callback: TransformCallback): void; - _flush(callback: TransformCallback): void; - } - /** - * The `stream.PassThrough` class is a trivial implementation of a `Transform` stream that simply passes the input bytes across to the output. Its purpose is - * primarily for examples and testing, but there are some use cases where`stream.PassThrough` is useful as a building block for novel sorts of streams. - */ - class PassThrough extends Transform {} - /** - * A stream to attach a signal to. - * - * Attaches an AbortSignal to a readable or writeable stream. This lets code - * control stream destruction using an `AbortController`. - * - * Calling `abort` on the `AbortController` corresponding to the passed`AbortSignal` will behave the same way as calling `.destroy(new AbortError())`on the stream, and `controller.error(new - * AbortError())` for webstreams. - * - * ```js - * const fs = require('node:fs'); - * - * const controller = new AbortController(); - * const read = addAbortSignal( - * controller.signal, - * fs.createReadStream(('object.json')), - * ); - * // Later, abort the operation closing the stream - * controller.abort(); - * ``` - * - * Or using an `AbortSignal` with a readable stream as an async iterable: - * - * ```js - * const controller = new AbortController(); - * setTimeout(() => controller.abort(), 10_000); // set a timeout - * const stream = addAbortSignal( - * controller.signal, - * fs.createReadStream(('object.json')), - * ); - * (async () => { - * try { - * for await (const chunk of stream) { - * await process(chunk); - * } - * } catch (e) { - * if (e.name === 'AbortError') { - * // The operation was cancelled - * } else { - * throw e; - * } - * } - * })(); - * ``` - * - * Or using an `AbortSignal` with a ReadableStream: - * - * ```js - * const controller = new AbortController(); - * const rs = new ReadableStream({ - * start(controller) { - * controller.enqueue('hello'); - * controller.enqueue('world'); - * controller.close(); - * }, - * }); - * - * addAbortSignal(controller.signal, rs); - * - * finished(rs, (err) => { - * if (err) { - * if (err.name === 'AbortError') { - * // The operation was cancelled - * } - * } - * }); - * - * const reader = rs.getReader(); - * - * reader.read().then(({ value, done }) => { - * console.log(value); // hello - * console.log(done); // false - * controller.abort(); - * }); - * ``` - * @since v15.4.0 - * @param signal A signal representing possible cancellation - * @param stream a stream to attach a signal to - */ - function addAbortSignal(signal: AbortSignal, stream: T): T; - /** - * Returns the default highWaterMark used by streams. - * Defaults to `16384` (16 KiB), or `16` for `objectMode`. - * @since v19.9.0 - * @param objectMode - */ - function getDefaultHighWaterMark(objectMode: boolean): number; - /** - * Sets the default highWaterMark used by streams. - * @since v19.9.0 - * @param objectMode - * @param value highWaterMark value - */ - function setDefaultHighWaterMark(objectMode: boolean, value: number): void; - interface FinishedOptions extends Abortable { - error?: boolean | undefined; - readable?: boolean | undefined; - writable?: boolean | undefined; - } - /** - * A readable and/or writable stream/webstream. - * - * A function to get notified when a stream is no longer readable, writable - * or has experienced an error or a premature close event. - * - * ```js - * const { finished } = require('node:stream'); - * const fs = require('node:fs'); - * - * const rs = fs.createReadStream('archive.tar'); - * - * finished(rs, (err) => { - * if (err) { - * console.error('Stream failed.', err); - * } else { - * console.log('Stream is done reading.'); - * } - * }); - * - * rs.resume(); // Drain the stream. - * ``` - * - * Especially useful in error handling scenarios where a stream is destroyed - * prematurely (like an aborted HTTP request), and will not emit `'end'`or `'finish'`. - * - * The `finished` API provides `promise version`. - * - * `stream.finished()` leaves dangling event listeners (in particular`'error'`, `'end'`, `'finish'` and `'close'`) after `callback` has been - * invoked. The reason for this is so that unexpected `'error'` events (due to - * incorrect stream implementations) do not cause unexpected crashes. - * If this is unwanted behavior then the returned cleanup function needs to be - * invoked in the callback: - * - * ```js - * const cleanup = finished(rs, (err) => { - * cleanup(); - * // ... - * }); - * ``` - * @since v10.0.0 - * @param stream A readable and/or writable stream. - * @param callback A callback function that takes an optional error argument. - * @return A cleanup function which removes all registered listeners. - */ - function finished( - stream: NodeJS.ReadableStream | NodeJS.WritableStream | NodeJS.ReadWriteStream, - options: FinishedOptions, - callback: (err?: NodeJS.ErrnoException | null) => void, - ): () => void; - function finished( - stream: NodeJS.ReadableStream | NodeJS.WritableStream | NodeJS.ReadWriteStream, - callback: (err?: NodeJS.ErrnoException | null) => void, - ): () => void; - namespace finished { - function __promisify__( - stream: NodeJS.ReadableStream | NodeJS.WritableStream | NodeJS.ReadWriteStream, - options?: FinishedOptions, - ): Promise; - } - type PipelineSourceFunction = () => Iterable | AsyncIterable; - type PipelineSource = Iterable | AsyncIterable | NodeJS.ReadableStream | PipelineSourceFunction; - type PipelineTransform, U> = - | NodeJS.ReadWriteStream - | (( - source: S extends (...args: any[]) => Iterable | AsyncIterable ? AsyncIterable - : S, - ) => AsyncIterable); - type PipelineTransformSource = PipelineSource | PipelineTransform; - type PipelineDestinationIterableFunction = (source: AsyncIterable) => AsyncIterable; - type PipelineDestinationPromiseFunction = (source: AsyncIterable) => Promise

; - type PipelineDestination, P> = S extends - PipelineTransformSource ? - | NodeJS.WritableStream - | PipelineDestinationIterableFunction - | PipelineDestinationPromiseFunction - : never; - type PipelineCallback> = S extends - PipelineDestinationPromiseFunction ? (err: NodeJS.ErrnoException | null, value: P) => void - : (err: NodeJS.ErrnoException | null) => void; - type PipelinePromise> = S extends - PipelineDestinationPromiseFunction ? Promise

: Promise; - interface PipelineOptions { - signal?: AbortSignal | undefined; - end?: boolean | undefined; - } - /** - * A module method to pipe between streams and generators forwarding errors and - * properly cleaning up and provide a callback when the pipeline is complete. - * - * ```js - * const { pipeline } = require('node:stream'); - * const fs = require('node:fs'); - * const zlib = require('node:zlib'); - * - * // Use the pipeline API to easily pipe a series of streams - * // together and get notified when the pipeline is fully done. - * - * // A pipeline to gzip a potentially huge tar file efficiently: - * - * pipeline( - * fs.createReadStream('archive.tar'), - * zlib.createGzip(), - * fs.createWriteStream('archive.tar.gz'), - * (err) => { - * if (err) { - * console.error('Pipeline failed.', err); - * } else { - * console.log('Pipeline succeeded.'); - * } - * }, - * ); - * ``` - * - * The `pipeline` API provides a `promise version`. - * - * `stream.pipeline()` will call `stream.destroy(err)` on all streams except: - * - * * `Readable` streams which have emitted `'end'` or `'close'`. - * * `Writable` streams which have emitted `'finish'` or `'close'`. - * - * `stream.pipeline()` leaves dangling event listeners on the streams - * after the `callback` has been invoked. In the case of reuse of streams after - * failure, this can cause event listener leaks and swallowed errors. If the last - * stream is readable, dangling event listeners will be removed so that the last - * stream can be consumed later. - * - * `stream.pipeline()` closes all the streams when an error is raised. - * The `IncomingRequest` usage with `pipeline` could lead to an unexpected behavior - * once it would destroy the socket without sending the expected response. - * See the example below: - * - * ```js - * const fs = require('node:fs'); - * const http = require('node:http'); - * const { pipeline } = require('node:stream'); - * - * const server = http.createServer((req, res) => { - * const fileStream = fs.createReadStream('./fileNotExist.txt'); - * pipeline(fileStream, res, (err) => { - * if (err) { - * console.log(err); // No such file - * // this message can't be sent once `pipeline` already destroyed the socket - * return res.end('error!!!'); - * } - * }); - * }); - * ``` - * @since v10.0.0 - * @param callback Called when the pipeline is fully done. - */ - function pipeline, B extends PipelineDestination>( - source: A, - destination: B, - callback?: PipelineCallback, - ): B extends NodeJS.WritableStream ? B : NodeJS.WritableStream; - function pipeline< - A extends PipelineSource, - T1 extends PipelineTransform, - B extends PipelineDestination, - >( - source: A, - transform1: T1, - destination: B, - callback?: PipelineCallback, - ): B extends NodeJS.WritableStream ? B : NodeJS.WritableStream; - function pipeline< - A extends PipelineSource, - T1 extends PipelineTransform, - T2 extends PipelineTransform, - B extends PipelineDestination, - >( - source: A, - transform1: T1, - transform2: T2, - destination: B, - callback?: PipelineCallback, - ): B extends NodeJS.WritableStream ? B : NodeJS.WritableStream; - function pipeline< - A extends PipelineSource, - T1 extends PipelineTransform, - T2 extends PipelineTransform, - T3 extends PipelineTransform, - B extends PipelineDestination, - >( - source: A, - transform1: T1, - transform2: T2, - transform3: T3, - destination: B, - callback?: PipelineCallback, - ): B extends NodeJS.WritableStream ? B : NodeJS.WritableStream; - function pipeline< - A extends PipelineSource, - T1 extends PipelineTransform, - T2 extends PipelineTransform, - T3 extends PipelineTransform, - T4 extends PipelineTransform, - B extends PipelineDestination, - >( - source: A, - transform1: T1, - transform2: T2, - transform3: T3, - transform4: T4, - destination: B, - callback?: PipelineCallback, - ): B extends NodeJS.WritableStream ? B : NodeJS.WritableStream; - function pipeline( - streams: ReadonlyArray, - callback?: (err: NodeJS.ErrnoException | null) => void, - ): NodeJS.WritableStream; - function pipeline( - stream1: NodeJS.ReadableStream, - stream2: NodeJS.ReadWriteStream | NodeJS.WritableStream, - ...streams: Array< - NodeJS.ReadWriteStream | NodeJS.WritableStream | ((err: NodeJS.ErrnoException | null) => void) - > - ): NodeJS.WritableStream; - namespace pipeline { - function __promisify__, B extends PipelineDestination>( - source: A, - destination: B, - options?: PipelineOptions, - ): PipelinePromise; - function __promisify__< - A extends PipelineSource, - T1 extends PipelineTransform, - B extends PipelineDestination, - >( - source: A, - transform1: T1, - destination: B, - options?: PipelineOptions, - ): PipelinePromise; - function __promisify__< - A extends PipelineSource, - T1 extends PipelineTransform, - T2 extends PipelineTransform, - B extends PipelineDestination, - >( - source: A, - transform1: T1, - transform2: T2, - destination: B, - options?: PipelineOptions, - ): PipelinePromise; - function __promisify__< - A extends PipelineSource, - T1 extends PipelineTransform, - T2 extends PipelineTransform, - T3 extends PipelineTransform, - B extends PipelineDestination, - >( - source: A, - transform1: T1, - transform2: T2, - transform3: T3, - destination: B, - options?: PipelineOptions, - ): PipelinePromise; - function __promisify__< - A extends PipelineSource, - T1 extends PipelineTransform, - T2 extends PipelineTransform, - T3 extends PipelineTransform, - T4 extends PipelineTransform, - B extends PipelineDestination, - >( - source: A, - transform1: T1, - transform2: T2, - transform3: T3, - transform4: T4, - destination: B, - options?: PipelineOptions, - ): PipelinePromise; - function __promisify__( - streams: ReadonlyArray, - options?: PipelineOptions, - ): Promise; - function __promisify__( - stream1: NodeJS.ReadableStream, - stream2: NodeJS.ReadWriteStream | NodeJS.WritableStream, - ...streams: Array - ): Promise; - } - interface Pipe { - close(): void; - hasRef(): boolean; - ref(): void; - unref(): void; - } - /** - * Returns whether the stream has encountered an error. - * @since v17.3.0, v16.14.0 - * @experimental - */ - function isErrored(stream: Readable | Writable | NodeJS.ReadableStream | NodeJS.WritableStream): boolean; - /** - * Returns whether the stream is readable. - * @since v17.4.0, v16.14.0 - * @experimental - */ - function isReadable(stream: Readable | NodeJS.ReadableStream): boolean; - const promises: typeof streamPromises; - const consumers: typeof streamConsumers; - } - export = internal; -} -declare module "node:stream" { - import stream = require("stream"); - export = stream; -} diff --git a/node_modules/@types/node/ts4.8/stream/consumers.d.ts b/node_modules/@types/node/ts4.8/stream/consumers.d.ts deleted file mode 100644 index 5ad9cba..0000000 --- a/node_modules/@types/node/ts4.8/stream/consumers.d.ts +++ /dev/null @@ -1,12 +0,0 @@ -declare module "stream/consumers" { - import { Blob as NodeBlob } from "node:buffer"; - import { Readable } from "node:stream"; - function buffer(stream: NodeJS.ReadableStream | Readable | AsyncIterable): Promise; - function text(stream: NodeJS.ReadableStream | Readable | AsyncIterable): Promise; - function arrayBuffer(stream: NodeJS.ReadableStream | Readable | AsyncIterable): Promise; - function blob(stream: NodeJS.ReadableStream | Readable | AsyncIterable): Promise; - function json(stream: NodeJS.ReadableStream | Readable | AsyncIterable): Promise; -} -declare module "node:stream/consumers" { - export * from "stream/consumers"; -} diff --git a/node_modules/@types/node/ts4.8/stream/promises.d.ts b/node_modules/@types/node/ts4.8/stream/promises.d.ts deleted file mode 100644 index 6eac5b7..0000000 --- a/node_modules/@types/node/ts4.8/stream/promises.d.ts +++ /dev/null @@ -1,83 +0,0 @@ -declare module "stream/promises" { - import { - FinishedOptions, - PipelineDestination, - PipelineOptions, - PipelinePromise, - PipelineSource, - PipelineTransform, - } from "node:stream"; - function finished( - stream: NodeJS.ReadableStream | NodeJS.WritableStream | NodeJS.ReadWriteStream, - options?: FinishedOptions, - ): Promise; - function pipeline, B extends PipelineDestination>( - source: A, - destination: B, - options?: PipelineOptions, - ): PipelinePromise; - function pipeline< - A extends PipelineSource, - T1 extends PipelineTransform, - B extends PipelineDestination, - >( - source: A, - transform1: T1, - destination: B, - options?: PipelineOptions, - ): PipelinePromise; - function pipeline< - A extends PipelineSource, - T1 extends PipelineTransform, - T2 extends PipelineTransform, - B extends PipelineDestination, - >( - source: A, - transform1: T1, - transform2: T2, - destination: B, - options?: PipelineOptions, - ): PipelinePromise; - function pipeline< - A extends PipelineSource, - T1 extends PipelineTransform, - T2 extends PipelineTransform, - T3 extends PipelineTransform, - B extends PipelineDestination, - >( - source: A, - transform1: T1, - transform2: T2, - transform3: T3, - destination: B, - options?: PipelineOptions, - ): PipelinePromise; - function pipeline< - A extends PipelineSource, - T1 extends PipelineTransform, - T2 extends PipelineTransform, - T3 extends PipelineTransform, - T4 extends PipelineTransform, - B extends PipelineDestination, - >( - source: A, - transform1: T1, - transform2: T2, - transform3: T3, - transform4: T4, - destination: B, - options?: PipelineOptions, - ): PipelinePromise; - function pipeline( - streams: ReadonlyArray, - options?: PipelineOptions, - ): Promise; - function pipeline( - stream1: NodeJS.ReadableStream, - stream2: NodeJS.ReadWriteStream | NodeJS.WritableStream, - ...streams: Array - ): Promise; -} -declare module "node:stream/promises" { - export * from "stream/promises"; -} diff --git a/node_modules/@types/node/ts4.8/stream/web.d.ts b/node_modules/@types/node/ts4.8/stream/web.d.ts deleted file mode 100644 index 361594d..0000000 --- a/node_modules/@types/node/ts4.8/stream/web.d.ts +++ /dev/null @@ -1,366 +0,0 @@ -declare module "stream/web" { - // stub module, pending copy&paste from .d.ts or manual impl - // copy from lib.dom.d.ts - interface ReadableWritablePair { - readable: ReadableStream; - /** - * Provides a convenient, chainable way of piping this readable stream - * through a transform stream (or any other { writable, readable } - * pair). It simply pipes the stream into the writable side of the - * supplied pair, and returns the readable side for further use. - * - * Piping a stream will lock it for the duration of the pipe, preventing - * any other consumer from acquiring a reader. - */ - writable: WritableStream; - } - interface StreamPipeOptions { - preventAbort?: boolean; - preventCancel?: boolean; - /** - * Pipes this readable stream to a given writable stream destination. - * The way in which the piping process behaves under various error - * conditions can be customized with a number of passed options. It - * returns a promise that fulfills when the piping process completes - * successfully, or rejects if any errors were encountered. - * - * Piping a stream will lock it for the duration of the pipe, preventing - * any other consumer from acquiring a reader. - * - * Errors and closures of the source and destination streams propagate - * as follows: - * - * An error in this source readable stream will abort destination, - * unless preventAbort is truthy. The returned promise will be rejected - * with the source's error, or with any error that occurs during - * aborting the destination. - * - * An error in destination will cancel this source readable stream, - * unless preventCancel is truthy. The returned promise will be rejected - * with the destination's error, or with any error that occurs during - * canceling the source. - * - * When this source readable stream closes, destination will be closed, - * unless preventClose is truthy. The returned promise will be fulfilled - * once this process completes, unless an error is encountered while - * closing the destination, in which case it will be rejected with that - * error. - * - * If destination starts out closed or closing, this source readable - * stream will be canceled, unless preventCancel is true. The returned - * promise will be rejected with an error indicating piping to a closed - * stream failed, or with any error that occurs during canceling the - * source. - * - * The signal option can be set to an AbortSignal to allow aborting an - * ongoing pipe operation via the corresponding AbortController. In this - * case, this source readable stream will be canceled, and destination - * aborted, unless the respective options preventCancel or preventAbort - * are set. - */ - preventClose?: boolean; - signal?: AbortSignal; - } - interface ReadableStreamGenericReader { - readonly closed: Promise; - cancel(reason?: any): Promise; - } - interface ReadableStreamDefaultReadValueResult { - done: false; - value: T; - } - interface ReadableStreamDefaultReadDoneResult { - done: true; - value?: undefined; - } - type ReadableStreamController = ReadableStreamDefaultController; - type ReadableStreamDefaultReadResult = - | ReadableStreamDefaultReadValueResult - | ReadableStreamDefaultReadDoneResult; - interface ReadableStreamReadValueResult { - done: false; - value: T; - } - interface ReadableStreamReadDoneResult { - done: true; - value?: T; - } - type ReadableStreamReadResult = ReadableStreamReadValueResult | ReadableStreamReadDoneResult; - interface ReadableByteStreamControllerCallback { - (controller: ReadableByteStreamController): void | PromiseLike; - } - interface UnderlyingSinkAbortCallback { - (reason?: any): void | PromiseLike; - } - interface UnderlyingSinkCloseCallback { - (): void | PromiseLike; - } - interface UnderlyingSinkStartCallback { - (controller: WritableStreamDefaultController): any; - } - interface UnderlyingSinkWriteCallback { - (chunk: W, controller: WritableStreamDefaultController): void | PromiseLike; - } - interface UnderlyingSourceCancelCallback { - (reason?: any): void | PromiseLike; - } - interface UnderlyingSourcePullCallback { - (controller: ReadableStreamController): void | PromiseLike; - } - interface UnderlyingSourceStartCallback { - (controller: ReadableStreamController): any; - } - interface TransformerFlushCallback { - (controller: TransformStreamDefaultController): void | PromiseLike; - } - interface TransformerStartCallback { - (controller: TransformStreamDefaultController): any; - } - interface TransformerTransformCallback { - (chunk: I, controller: TransformStreamDefaultController): void | PromiseLike; - } - interface UnderlyingByteSource { - autoAllocateChunkSize?: number; - cancel?: ReadableStreamErrorCallback; - pull?: ReadableByteStreamControllerCallback; - start?: ReadableByteStreamControllerCallback; - type: "bytes"; - } - interface UnderlyingSource { - cancel?: UnderlyingSourceCancelCallback; - pull?: UnderlyingSourcePullCallback; - start?: UnderlyingSourceStartCallback; - type?: undefined; - } - interface UnderlyingSink { - abort?: UnderlyingSinkAbortCallback; - close?: UnderlyingSinkCloseCallback; - start?: UnderlyingSinkStartCallback; - type?: undefined; - write?: UnderlyingSinkWriteCallback; - } - interface ReadableStreamErrorCallback { - (reason: any): void | PromiseLike; - } - /** This Streams API interface represents a readable stream of byte data. */ - interface ReadableStream { - readonly locked: boolean; - cancel(reason?: any): Promise; - getReader(): ReadableStreamDefaultReader; - getReader(options: { mode: "byob" }): ReadableStreamBYOBReader; - pipeThrough(transform: ReadableWritablePair, options?: StreamPipeOptions): ReadableStream; - pipeTo(destination: WritableStream, options?: StreamPipeOptions): Promise; - tee(): [ReadableStream, ReadableStream]; - values(options?: { preventCancel?: boolean }): AsyncIterableIterator; - [Symbol.asyncIterator](): AsyncIterableIterator; - } - const ReadableStream: { - prototype: ReadableStream; - new(underlyingSource: UnderlyingByteSource, strategy?: QueuingStrategy): ReadableStream; - new(underlyingSource?: UnderlyingSource, strategy?: QueuingStrategy): ReadableStream; - }; - interface ReadableStreamDefaultReader extends ReadableStreamGenericReader { - read(): Promise>; - releaseLock(): void; - } - interface ReadableStreamBYOBReader extends ReadableStreamGenericReader { - read(view: T): Promise>; - releaseLock(): void; - } - const ReadableStreamDefaultReader: { - prototype: ReadableStreamDefaultReader; - new(stream: ReadableStream): ReadableStreamDefaultReader; - }; - const ReadableStreamBYOBReader: any; - const ReadableStreamBYOBRequest: any; - interface ReadableByteStreamController { - readonly byobRequest: undefined; - readonly desiredSize: number | null; - close(): void; - enqueue(chunk: ArrayBufferView): void; - error(error?: any): void; - } - const ReadableByteStreamController: { - prototype: ReadableByteStreamController; - new(): ReadableByteStreamController; - }; - interface ReadableStreamDefaultController { - readonly desiredSize: number | null; - close(): void; - enqueue(chunk?: R): void; - error(e?: any): void; - } - const ReadableStreamDefaultController: { - prototype: ReadableStreamDefaultController; - new(): ReadableStreamDefaultController; - }; - interface Transformer { - flush?: TransformerFlushCallback; - readableType?: undefined; - start?: TransformerStartCallback; - transform?: TransformerTransformCallback; - writableType?: undefined; - } - interface TransformStream { - readonly readable: ReadableStream; - readonly writable: WritableStream; - } - const TransformStream: { - prototype: TransformStream; - new( - transformer?: Transformer, - writableStrategy?: QueuingStrategy, - readableStrategy?: QueuingStrategy, - ): TransformStream; - }; - interface TransformStreamDefaultController { - readonly desiredSize: number | null; - enqueue(chunk?: O): void; - error(reason?: any): void; - terminate(): void; - } - const TransformStreamDefaultController: { - prototype: TransformStreamDefaultController; - new(): TransformStreamDefaultController; - }; - /** - * This Streams API interface provides a standard abstraction for writing - * streaming data to a destination, known as a sink. This object comes with - * built-in back pressure and queuing. - */ - interface WritableStream { - readonly locked: boolean; - abort(reason?: any): Promise; - close(): Promise; - getWriter(): WritableStreamDefaultWriter; - } - const WritableStream: { - prototype: WritableStream; - new(underlyingSink?: UnderlyingSink, strategy?: QueuingStrategy): WritableStream; - }; - /** - * This Streams API interface is the object returned by - * WritableStream.getWriter() and once created locks the < writer to the - * WritableStream ensuring that no other streams can write to the underlying - * sink. - */ - interface WritableStreamDefaultWriter { - readonly closed: Promise; - readonly desiredSize: number | null; - readonly ready: Promise; - abort(reason?: any): Promise; - close(): Promise; - releaseLock(): void; - write(chunk?: W): Promise; - } - const WritableStreamDefaultWriter: { - prototype: WritableStreamDefaultWriter; - new(stream: WritableStream): WritableStreamDefaultWriter; - }; - /** - * This Streams API interface represents a controller allowing control of a - * WritableStream's state. When constructing a WritableStream, the - * underlying sink is given a corresponding WritableStreamDefaultController - * instance to manipulate. - */ - interface WritableStreamDefaultController { - error(e?: any): void; - } - const WritableStreamDefaultController: { - prototype: WritableStreamDefaultController; - new(): WritableStreamDefaultController; - }; - interface QueuingStrategy { - highWaterMark?: number; - size?: QueuingStrategySize; - } - interface QueuingStrategySize { - (chunk?: T): number; - } - interface QueuingStrategyInit { - /** - * Creates a new ByteLengthQueuingStrategy with the provided high water - * mark. - * - * Note that the provided high water mark will not be validated ahead of - * time. Instead, if it is negative, NaN, or not a number, the resulting - * ByteLengthQueuingStrategy will cause the corresponding stream - * constructor to throw. - */ - highWaterMark: number; - } - /** - * This Streams API interface provides a built-in byte length queuing - * strategy that can be used when constructing streams. - */ - interface ByteLengthQueuingStrategy extends QueuingStrategy { - readonly highWaterMark: number; - readonly size: QueuingStrategySize; - } - const ByteLengthQueuingStrategy: { - prototype: ByteLengthQueuingStrategy; - new(init: QueuingStrategyInit): ByteLengthQueuingStrategy; - }; - /** - * This Streams API interface provides a built-in byte length queuing - * strategy that can be used when constructing streams. - */ - interface CountQueuingStrategy extends QueuingStrategy { - readonly highWaterMark: number; - readonly size: QueuingStrategySize; - } - const CountQueuingStrategy: { - prototype: CountQueuingStrategy; - new(init: QueuingStrategyInit): CountQueuingStrategy; - }; - interface TextEncoderStream { - /** Returns "utf-8". */ - readonly encoding: "utf-8"; - readonly readable: ReadableStream; - readonly writable: WritableStream; - readonly [Symbol.toStringTag]: string; - } - const TextEncoderStream: { - prototype: TextEncoderStream; - new(): TextEncoderStream; - }; - interface TextDecoderOptions { - fatal?: boolean; - ignoreBOM?: boolean; - } - type BufferSource = ArrayBufferView | ArrayBuffer; - interface TextDecoderStream { - /** Returns encoding's name, lower cased. */ - readonly encoding: string; - /** Returns `true` if error mode is "fatal", and `false` otherwise. */ - readonly fatal: boolean; - /** Returns `true` if ignore BOM flag is set, and `false` otherwise. */ - readonly ignoreBOM: boolean; - readonly readable: ReadableStream; - readonly writable: WritableStream; - readonly [Symbol.toStringTag]: string; - } - const TextDecoderStream: { - prototype: TextDecoderStream; - new(encoding?: string, options?: TextDecoderOptions): TextDecoderStream; - }; - interface CompressionStream { - readonly readable: ReadableStream; - readonly writable: WritableStream; - } - const CompressionStream: { - prototype: CompressionStream; - new(format: string): CompressionStream; - }; - interface DecompressionStream { - readonly readable: ReadableStream; - readonly writable: WritableStream; - } - const DecompressionStream: { - prototype: DecompressionStream; - new(format: string): DecompressionStream; - }; -} -declare module "node:stream/web" { - export * from "stream/web"; -} diff --git a/node_modules/@types/node/ts4.8/string_decoder.d.ts b/node_modules/@types/node/ts4.8/string_decoder.d.ts deleted file mode 100644 index cd76bf8..0000000 --- a/node_modules/@types/node/ts4.8/string_decoder.d.ts +++ /dev/null @@ -1,67 +0,0 @@ -/** - * The `node:string_decoder` module provides an API for decoding `Buffer` objects - * into strings in a manner that preserves encoded multi-byte UTF-8 and UTF-16 - * characters. It can be accessed using: - * - * ```js - * const { StringDecoder } = require('node:string_decoder'); - * ``` - * - * The following example shows the basic use of the `StringDecoder` class. - * - * ```js - * const { StringDecoder } = require('node:string_decoder'); - * const decoder = new StringDecoder('utf8'); - * - * const cent = Buffer.from([0xC2, 0xA2]); - * console.log(decoder.write(cent)); // Prints: ¢ - * - * const euro = Buffer.from([0xE2, 0x82, 0xAC]); - * console.log(decoder.write(euro)); // Prints: € - * ``` - * - * When a `Buffer` instance is written to the `StringDecoder` instance, an - * internal buffer is used to ensure that the decoded string does not contain - * any incomplete multibyte characters. These are held in the buffer until the - * next call to `stringDecoder.write()` or until `stringDecoder.end()` is called. - * - * In the following example, the three UTF-8 encoded bytes of the European Euro - * symbol (`€`) are written over three separate operations: - * - * ```js - * const { StringDecoder } = require('node:string_decoder'); - * const decoder = new StringDecoder('utf8'); - * - * decoder.write(Buffer.from([0xE2])); - * decoder.write(Buffer.from([0x82])); - * console.log(decoder.end(Buffer.from([0xAC]))); // Prints: € - * ``` - * @see [source](https://github.com/nodejs/node/blob/v20.2.0/lib/string_decoder.js) - */ -declare module "string_decoder" { - class StringDecoder { - constructor(encoding?: BufferEncoding); - /** - * Returns a decoded string, ensuring that any incomplete multibyte characters at - * the end of the `Buffer`, or `TypedArray`, or `DataView` are omitted from the - * returned string and stored in an internal buffer for the next call to`stringDecoder.write()` or `stringDecoder.end()`. - * @since v0.1.99 - * @param buffer The bytes to decode. - */ - write(buffer: string | Buffer | NodeJS.ArrayBufferView): string; - /** - * Returns any remaining input stored in the internal buffer as a string. Bytes - * representing incomplete UTF-8 and UTF-16 characters will be replaced with - * substitution characters appropriate for the character encoding. - * - * If the `buffer` argument is provided, one final call to `stringDecoder.write()`is performed before returning the remaining input. - * After `end()` is called, the `stringDecoder` object can be reused for new input. - * @since v0.9.3 - * @param buffer The bytes to decode. - */ - end(buffer?: string | Buffer | NodeJS.ArrayBufferView): string; - } -} -declare module "node:string_decoder" { - export * from "string_decoder"; -} diff --git a/node_modules/@types/node/ts4.8/test.d.ts b/node_modules/@types/node/ts4.8/test.d.ts deleted file mode 100644 index 149c9e0..0000000 --- a/node_modules/@types/node/ts4.8/test.d.ts +++ /dev/null @@ -1,1465 +0,0 @@ -/** - * The `node:test` module facilitates the creation of JavaScript tests. - * To access it: - * - * ```js - * import test from 'node:test'; - * ``` - * - * This module is only available under the `node:` scheme. The following will not - * work: - * - * ```js - * import test from 'test'; - * ``` - * - * Tests created via the `test` module consist of a single function that is - * processed in one of three ways: - * - * 1. A synchronous function that is considered failing if it throws an exception, - * and is considered passing otherwise. - * 2. A function that returns a `Promise` that is considered failing if the`Promise` rejects, and is considered passing if the `Promise` fulfills. - * 3. A function that receives a callback function. If the callback receives any - * truthy value as its first argument, the test is considered failing. If a - * falsy value is passed as the first argument to the callback, the test is - * considered passing. If the test function receives a callback function and - * also returns a `Promise`, the test will fail. - * - * The following example illustrates how tests are written using the`test` module. - * - * ```js - * test('synchronous passing test', (t) => { - * // This test passes because it does not throw an exception. - * assert.strictEqual(1, 1); - * }); - * - * test('synchronous failing test', (t) => { - * // This test fails because it throws an exception. - * assert.strictEqual(1, 2); - * }); - * - * test('asynchronous passing test', async (t) => { - * // This test passes because the Promise returned by the async - * // function is settled and not rejected. - * assert.strictEqual(1, 1); - * }); - * - * test('asynchronous failing test', async (t) => { - * // This test fails because the Promise returned by the async - * // function is rejected. - * assert.strictEqual(1, 2); - * }); - * - * test('failing test using Promises', (t) => { - * // Promises can be used directly as well. - * return new Promise((resolve, reject) => { - * setImmediate(() => { - * reject(new Error('this will cause the test to fail')); - * }); - * }); - * }); - * - * test('callback passing test', (t, done) => { - * // done() is the callback function. When the setImmediate() runs, it invokes - * // done() with no arguments. - * setImmediate(done); - * }); - * - * test('callback failing test', (t, done) => { - * // When the setImmediate() runs, done() is invoked with an Error object and - * // the test fails. - * setImmediate(() => { - * done(new Error('callback failure')); - * }); - * }); - * ``` - * - * If any tests fail, the process exit code is set to `1`. - * @since v18.0.0, v16.17.0 - * @see [source](https://github.com/nodejs/node/blob/v20.4.0/lib/test.js) - */ -declare module "node:test" { - import { Readable } from "node:stream"; - import { AsyncResource } from "node:async_hooks"; - /** - * **Note:**`shard` is used to horizontally parallelize test running across - * machines or processes, ideal for large-scale executions across varied - * environments. It's incompatible with `watch` mode, tailored for rapid - * code iteration by automatically rerunning tests on file changes. - * - * ```js - * import { tap } from 'node:test/reporters'; - * import { run } from 'node:test'; - * import process from 'node:process'; - * import path from 'node:path'; - * - * run({ files: [path.resolve('./tests/test.js')] }) - * .compose(tap) - * .pipe(process.stdout); - * ``` - * @since v18.9.0, v16.19.0 - * @param options Configuration options for running tests. The following properties are supported: - */ - function run(options?: RunOptions): TestsStream; - /** - * The `test()` function is the value imported from the `test` module. Each - * invocation of this function results in reporting the test to the `TestsStream`. - * - * The `TestContext` object passed to the `fn` argument can be used to perform - * actions related to the current test. Examples include skipping the test, adding - * additional diagnostic information, or creating subtests. - * - * `test()` returns a `Promise` that fulfills once the test completes. - * if `test()` is called within a `describe()` block, it fulfills immediately. - * The return value can usually be discarded for top level tests. - * However, the return value from subtests should be used to prevent the parent - * test from finishing first and cancelling the subtest - * as shown in the following example. - * - * ```js - * test('top level test', async (t) => { - * // The setTimeout() in the following subtest would cause it to outlive its - * // parent test if 'await' is removed on the next line. Once the parent test - * // completes, it will cancel any outstanding subtests. - * await t.test('longer running subtest', async (t) => { - * return new Promise((resolve, reject) => { - * setTimeout(resolve, 1000); - * }); - * }); - * }); - * ``` - * - * The `timeout` option can be used to fail the test if it takes longer than`timeout` milliseconds to complete. However, it is not a reliable mechanism for - * canceling tests because a running test might block the application thread and - * thus prevent the scheduled cancellation. - * @since v18.0.0, v16.17.0 - * @param [name='The name'] The name of the test, which is displayed when reporting test results. - * @param options Configuration options for the test. The following properties are supported: - * @param [fn='A no-op function'] The function under test. The first argument to this function is a {@link TestContext} object. If the test uses callbacks, the callback function is passed as the - * second argument. - * @return Fulfilled with `undefined` once the test completes, or immediately if the test runs within {@link describe}. - */ - function test(name?: string, fn?: TestFn): Promise; - function test(name?: string, options?: TestOptions, fn?: TestFn): Promise; - function test(options?: TestOptions, fn?: TestFn): Promise; - function test(fn?: TestFn): Promise; - namespace test { - export { after, afterEach, before, beforeEach, describe, it, mock, only, run, skip, test, todo }; - } - /** - * The `describe()` function imported from the `node:test` module. Each - * invocation of this function results in the creation of a Subtest. - * After invocation of top level `describe` functions, - * all top level tests and suites will execute. - * @param [name='The name'] The name of the suite, which is displayed when reporting test results. - * @param options Configuration options for the suite. supports the same options as `test([name][, options][, fn])`. - * @param [fn='A no-op function'] The function under suite declaring all subtests and subsuites. The first argument to this function is a {@link SuiteContext} object. - * @return Immediately fulfilled with `undefined`. - */ - function describe(name?: string, options?: TestOptions, fn?: SuiteFn): Promise; - function describe(name?: string, fn?: SuiteFn): Promise; - function describe(options?: TestOptions, fn?: SuiteFn): Promise; - function describe(fn?: SuiteFn): Promise; - namespace describe { - /** - * Shorthand for skipping a suite, same as `describe([name], { skip: true }[, fn])`. - */ - function skip(name?: string, options?: TestOptions, fn?: SuiteFn): Promise; - function skip(name?: string, fn?: SuiteFn): Promise; - function skip(options?: TestOptions, fn?: SuiteFn): Promise; - function skip(fn?: SuiteFn): Promise; - /** - * Shorthand for marking a suite as `TODO`, same as `describe([name], { todo: true }[, fn])`. - */ - function todo(name?: string, options?: TestOptions, fn?: SuiteFn): Promise; - function todo(name?: string, fn?: SuiteFn): Promise; - function todo(options?: TestOptions, fn?: SuiteFn): Promise; - function todo(fn?: SuiteFn): Promise; - /** - * Shorthand for marking a suite as `only`, same as `describe([name], { only: true }[, fn])`. - * @since v18.15.0 - */ - function only(name?: string, options?: TestOptions, fn?: SuiteFn): Promise; - function only(name?: string, fn?: SuiteFn): Promise; - function only(options?: TestOptions, fn?: SuiteFn): Promise; - function only(fn?: SuiteFn): Promise; - } - /** - * Shorthand for `test()`. - * - * The `it()` function is imported from the `node:test` module. - * @since v18.6.0, v16.17.0 - */ - function it(name?: string, options?: TestOptions, fn?: TestFn): Promise; - function it(name?: string, fn?: TestFn): Promise; - function it(options?: TestOptions, fn?: TestFn): Promise; - function it(fn?: TestFn): Promise; - namespace it { - /** - * Shorthand for skipping a test, same as `it([name], { skip: true }[, fn])`. - */ - function skip(name?: string, options?: TestOptions, fn?: TestFn): Promise; - function skip(name?: string, fn?: TestFn): Promise; - function skip(options?: TestOptions, fn?: TestFn): Promise; - function skip(fn?: TestFn): Promise; - /** - * Shorthand for marking a test as `TODO`, same as `it([name], { todo: true }[, fn])`. - */ - function todo(name?: string, options?: TestOptions, fn?: TestFn): Promise; - function todo(name?: string, fn?: TestFn): Promise; - function todo(options?: TestOptions, fn?: TestFn): Promise; - function todo(fn?: TestFn): Promise; - /** - * Shorthand for marking a test as `only`, same as `it([name], { only: true }[, fn])`. - * @since v18.15.0 - */ - function only(name?: string, options?: TestOptions, fn?: TestFn): Promise; - function only(name?: string, fn?: TestFn): Promise; - function only(options?: TestOptions, fn?: TestFn): Promise; - function only(fn?: TestFn): Promise; - } - /** - * Shorthand for skipping a test, same as `test([name], { skip: true }[, fn])`. - * @since v20.2.0 - */ - function skip(name?: string, options?: TestOptions, fn?: TestFn): Promise; - function skip(name?: string, fn?: TestFn): Promise; - function skip(options?: TestOptions, fn?: TestFn): Promise; - function skip(fn?: TestFn): Promise; - /** - * Shorthand for marking a test as `TODO`, same as `test([name], { todo: true }[, fn])`. - * @since v20.2.0 - */ - function todo(name?: string, options?: TestOptions, fn?: TestFn): Promise; - function todo(name?: string, fn?: TestFn): Promise; - function todo(options?: TestOptions, fn?: TestFn): Promise; - function todo(fn?: TestFn): Promise; - /** - * Shorthand for marking a test as `only`, same as `test([name], { only: true }[, fn])`. - * @since v20.2.0 - */ - function only(name?: string, options?: TestOptions, fn?: TestFn): Promise; - function only(name?: string, fn?: TestFn): Promise; - function only(options?: TestOptions, fn?: TestFn): Promise; - function only(fn?: TestFn): Promise; - /** - * The type of a function under test. The first argument to this function is a - * {@link TestContext} object. If the test uses callbacks, the callback function is passed as - * the second argument. - */ - type TestFn = (t: TestContext, done: (result?: any) => void) => void | Promise; - /** - * The type of a function under Suite. - */ - type SuiteFn = (s: SuiteContext) => void | Promise; - interface TestShard { - /** - * A positive integer between 1 and `` that specifies the index of the shard to run. - */ - index: number; - /** - * A positive integer that specifies the total number of shards to split the test files to. - */ - total: number; - } - interface RunOptions { - /** - * If a number is provided, then that many files would run in parallel. - * If truthy, it would run (number of cpu cores - 1) files in parallel. - * If falsy, it would only run one file at a time. - * If unspecified, subtests inherit this value from their parent. - * @default true - */ - concurrency?: number | boolean | undefined; - /** - * An array containing the list of files to run. - * If unspecified, the test runner execution model will be used. - */ - files?: readonly string[] | undefined; - /** - * Allows aborting an in-progress test execution. - * @default undefined - */ - signal?: AbortSignal | undefined; - /** - * A number of milliseconds the test will fail after. - * If unspecified, subtests inherit this value from their parent. - * @default Infinity - */ - timeout?: number | undefined; - /** - * Sets inspector port of test child process. - * If a nullish value is provided, each process gets its own port, - * incremented from the primary's `process.debugPort`. - */ - inspectPort?: number | (() => number) | undefined; - /** - * That can be used to only run tests whose name matches the provided pattern. - * Test name patterns are interpreted as JavaScript regular expressions. - * For each test that is executed, any corresponding test hooks, such as `beforeEach()`, are also run. - */ - testNamePatterns?: string | RegExp | string[] | RegExp[]; - /** - * If truthy, the test context will only run tests that have the `only` option set - */ - only?: boolean; - /** - * A function that accepts the TestsStream instance and can be used to setup listeners before any tests are run. - */ - setup?: (root: Test) => void | Promise; - /** - * Whether to run in watch mode or not. - * @default false - */ - watch?: boolean | undefined; - /** - * Running tests in a specific shard. - * @default undefined - */ - shard?: TestShard | undefined; - } - class Test extends AsyncResource { - concurrency: number; - nesting: number; - only: boolean; - reporter: TestsStream; - runOnlySubtests: boolean; - testNumber: number; - timeout: number | null; - } - /** - * A successful call to `run()` method will return a new `TestsStream` object, streaming a series of events representing the execution of the tests.`TestsStream` will emit events, in the - * order of the tests definition - * @since v18.9.0, v16.19.0 - */ - class TestsStream extends Readable implements NodeJS.ReadableStream { - addListener(event: "test:diagnostic", listener: (data: DiagnosticData) => void): this; - addListener(event: "test:fail", listener: (data: TestFail) => void): this; - addListener(event: "test:pass", listener: (data: TestPass) => void): this; - addListener(event: "test:plan", listener: (data: TestPlan) => void): this; - addListener(event: "test:start", listener: (data: TestStart) => void): this; - addListener(event: "test:stderr", listener: (data: TestStderr) => void): this; - addListener(event: "test:stdout", listener: (data: TestStdout) => void): this; - addListener(event: string, listener: (...args: any[]) => void): this; - emit(event: "test:diagnostic", data: DiagnosticData): boolean; - emit(event: "test:fail", data: TestFail): boolean; - emit(event: "test:pass", data: TestPass): boolean; - emit(event: "test:plan", data: TestPlan): boolean; - emit(event: "test:start", data: TestStart): boolean; - emit(event: "test:stderr", data: TestStderr): boolean; - emit(event: "test:stdout", data: TestStdout): boolean; - emit(event: string | symbol, ...args: any[]): boolean; - on(event: "test:diagnostic", listener: (data: DiagnosticData) => void): this; - on(event: "test:fail", listener: (data: TestFail) => void): this; - on(event: "test:pass", listener: (data: TestPass) => void): this; - on(event: "test:plan", listener: (data: TestPlan) => void): this; - on(event: "test:start", listener: (data: TestStart) => void): this; - on(event: "test:stderr", listener: (data: TestStderr) => void): this; - on(event: "test:stdout", listener: (data: TestStdout) => void): this; - on(event: string, listener: (...args: any[]) => void): this; - once(event: "test:diagnostic", listener: (data: DiagnosticData) => void): this; - once(event: "test:fail", listener: (data: TestFail) => void): this; - once(event: "test:pass", listener: (data: TestPass) => void): this; - once(event: "test:plan", listener: (data: TestPlan) => void): this; - once(event: "test:start", listener: (data: TestStart) => void): this; - once(event: "test:stderr", listener: (data: TestStderr) => void): this; - once(event: "test:stdout", listener: (data: TestStdout) => void): this; - once(event: string, listener: (...args: any[]) => void): this; - prependListener(event: "test:diagnostic", listener: (data: DiagnosticData) => void): this; - prependListener(event: "test:fail", listener: (data: TestFail) => void): this; - prependListener(event: "test:pass", listener: (data: TestPass) => void): this; - prependListener(event: "test:plan", listener: (data: TestPlan) => void): this; - prependListener(event: "test:start", listener: (data: TestStart) => void): this; - prependListener(event: "test:stderr", listener: (data: TestStderr) => void): this; - prependListener(event: "test:stdout", listener: (data: TestStdout) => void): this; - prependListener(event: string, listener: (...args: any[]) => void): this; - prependOnceListener(event: "test:diagnostic", listener: (data: DiagnosticData) => void): this; - prependOnceListener(event: "test:fail", listener: (data: TestFail) => void): this; - prependOnceListener(event: "test:pass", listener: (data: TestPass) => void): this; - prependOnceListener(event: "test:plan", listener: (data: TestPlan) => void): this; - prependOnceListener(event: "test:start", listener: (data: TestStart) => void): this; - prependOnceListener(event: "test:stderr", listener: (data: TestStderr) => void): this; - prependOnceListener(event: "test:stdout", listener: (data: TestStdout) => void): this; - prependOnceListener(event: string, listener: (...args: any[]) => void): this; - } - /** - * An instance of `TestContext` is passed to each test function in order to - * interact with the test runner. However, the `TestContext` constructor is not - * exposed as part of the API. - * @since v18.0.0, v16.17.0 - */ - class TestContext { - /** - * This function is used to create a hook running before subtest of the current test. - * @param fn The hook function. If the hook uses callbacks, the callback function is passed as - * the second argument. Default: A no-op function. - * @param options Configuration options for the hook. - * @since v20.1.0 - */ - before: typeof before; - /** - * This function is used to create a hook running before each subtest of the current test. - * @param fn The hook function. If the hook uses callbacks, the callback function is passed as - * the second argument. Default: A no-op function. - * @param options Configuration options for the hook. - * @since v18.8.0 - */ - beforeEach: typeof beforeEach; - /** - * This function is used to create a hook that runs after the current test finishes. - * @param fn The hook function. If the hook uses callbacks, the callback function is passed as - * the second argument. Default: A no-op function. - * @param options Configuration options for the hook. - * @since v18.13.0 - */ - after: typeof after; - /** - * This function is used to create a hook running after each subtest of the current test. - * @param fn The hook function. If the hook uses callbacks, the callback function is passed as - * the second argument. Default: A no-op function. - * @param options Configuration options for the hook. - * @since v18.8.0 - */ - afterEach: typeof afterEach; - /** - * This function is used to write diagnostics to the output. Any diagnostic - * information is included at the end of the test's results. This function does - * not return a value. - * - * ```js - * test('top level test', (t) => { - * t.diagnostic('A diagnostic message'); - * }); - * ``` - * @since v18.0.0, v16.17.0 - * @param message Message to be reported. - */ - diagnostic(message: string): void; - /** - * The name of the test. - * @since v18.8.0, v16.18.0 - */ - readonly name: string; - /** - * If `shouldRunOnlyTests` is truthy, the test context will only run tests that - * have the `only` option set. Otherwise, all tests are run. If Node.js was not - * started with the `--test-only` command-line option, this function is a - * no-op. - * - * ```js - * test('top level test', (t) => { - * // The test context can be set to run subtests with the 'only' option. - * t.runOnly(true); - * return Promise.all([ - * t.test('this subtest is now skipped'), - * t.test('this subtest is run', { only: true }), - * ]); - * }); - * ``` - * @since v18.0.0, v16.17.0 - * @param shouldRunOnlyTests Whether or not to run `only` tests. - */ - runOnly(shouldRunOnlyTests: boolean): void; - /** - * ```js - * test('top level test', async (t) => { - * await fetch('some/uri', { signal: t.signal }); - * }); - * ``` - * @since v18.7.0, v16.17.0 - */ - readonly signal: AbortSignal; - /** - * This function causes the test's output to indicate the test as skipped. If`message` is provided, it is included in the output. Calling `skip()` does - * not terminate execution of the test function. This function does not return a - * value. - * - * ```js - * test('top level test', (t) => { - * // Make sure to return here as well if the test contains additional logic. - * t.skip('this is skipped'); - * }); - * ``` - * @since v18.0.0, v16.17.0 - * @param message Optional skip message. - */ - skip(message?: string): void; - /** - * This function adds a `TODO` directive to the test's output. If `message` is - * provided, it is included in the output. Calling `todo()` does not terminate - * execution of the test function. This function does not return a value. - * - * ```js - * test('top level test', (t) => { - * // This test is marked as `TODO` - * t.todo('this is a todo'); - * }); - * ``` - * @since v18.0.0, v16.17.0 - * @param message Optional `TODO` message. - */ - todo(message?: string): void; - /** - * This function is used to create subtests under the current test. This function behaves in - * the same fashion as the top level {@link test} function. - * @since v18.0.0 - * @param name The name of the test, which is displayed when reporting test results. - * Default: The `name` property of fn, or `''` if `fn` does not have a name. - * @param options Configuration options for the test - * @param fn The function under test. This first argument to this function is a - * {@link TestContext} object. If the test uses callbacks, the callback function is - * passed as the second argument. Default: A no-op function. - * @returns A {@link Promise} resolved with `undefined` once the test completes. - */ - test: typeof test; - /** - * Each test provides its own MockTracker instance. - */ - readonly mock: MockTracker; - } - /** - * An instance of `SuiteContext` is passed to each suite function in order to - * interact with the test runner. However, the `SuiteContext` constructor is not - * exposed as part of the API. - * @since v18.7.0, v16.17.0 - */ - class SuiteContext { - /** - * The name of the suite. - * @since v18.8.0, v16.18.0 - */ - readonly name: string; - /** - * Can be used to abort test subtasks when the test has been aborted. - * @since v18.7.0, v16.17.0 - */ - readonly signal: AbortSignal; - } - interface TestOptions { - /** - * If a number is provided, then that many tests would run in parallel. - * If truthy, it would run (number of cpu cores - 1) tests in parallel. - * For subtests, it will be `Infinity` tests in parallel. - * If falsy, it would only run one test at a time. - * If unspecified, subtests inherit this value from their parent. - * @default false - */ - concurrency?: number | boolean | undefined; - /** - * If truthy, and the test context is configured to run `only` tests, then this test will be - * run. Otherwise, the test is skipped. - * @default false - */ - only?: boolean | undefined; - /** - * Allows aborting an in-progress test. - * @since v18.8.0 - */ - signal?: AbortSignal | undefined; - /** - * If truthy, the test is skipped. If a string is provided, that string is displayed in the - * test results as the reason for skipping the test. - * @default false - */ - skip?: boolean | string | undefined; - /** - * A number of milliseconds the test will fail after. If unspecified, subtests inherit this - * value from their parent. - * @default Infinity - * @since v18.7.0 - */ - timeout?: number | undefined; - /** - * If truthy, the test marked as `TODO`. If a string is provided, that string is displayed in - * the test results as the reason why the test is `TODO`. - * @default false - */ - todo?: boolean | string | undefined; - } - /** - * This function is used to create a hook running before running a suite. - * - * ```js - * describe('tests', async () => { - * before(() => console.log('about to run some test')); - * it('is a subtest', () => { - * assert.ok('some relevant assertion here'); - * }); - * }); - * ``` - * @since v18.8.0, v16.18.0 - * @param [fn='A no-op function'] The hook function. If the hook uses callbacks, the callback function is passed as the second argument. - * @param options Configuration options for the hook. The following properties are supported: - */ - function before(fn?: HookFn, options?: HookOptions): void; - /** - * This function is used to create a hook running after running a suite. - * - * ```js - * describe('tests', async () => { - * after(() => console.log('finished running tests')); - * it('is a subtest', () => { - * assert.ok('some relevant assertion here'); - * }); - * }); - * ``` - * @since v18.8.0, v16.18.0 - * @param [fn='A no-op function'] The hook function. If the hook uses callbacks, the callback function is passed as the second argument. - * @param options Configuration options for the hook. The following properties are supported: - */ - function after(fn?: HookFn, options?: HookOptions): void; - /** - * This function is used to create a hook running - * before each subtest of the current suite. - * - * ```js - * describe('tests', async () => { - * beforeEach(() => console.log('about to run a test')); - * it('is a subtest', () => { - * assert.ok('some relevant assertion here'); - * }); - * }); - * ``` - * @since v18.8.0, v16.18.0 - * @param [fn='A no-op function'] The hook function. If the hook uses callbacks, the callback function is passed as the second argument. - * @param options Configuration options for the hook. The following properties are supported: - */ - function beforeEach(fn?: HookFn, options?: HookOptions): void; - /** - * This function is used to create a hook running - * after each subtest of the current test. - * - * ```js - * describe('tests', async () => { - * afterEach(() => console.log('finished running a test')); - * it('is a subtest', () => { - * assert.ok('some relevant assertion here'); - * }); - * }); - * ``` - * @since v18.8.0, v16.18.0 - * @param [fn='A no-op function'] The hook function. If the hook uses callbacks, the callback function is passed as the second argument. - * @param options Configuration options for the hook. The following properties are supported: - */ - function afterEach(fn?: HookFn, options?: HookOptions): void; - /** - * The hook function. If the hook uses callbacks, the callback function is passed as the - * second argument. - */ - type HookFn = (s: SuiteContext, done: (result?: any) => void) => any; - /** - * Configuration options for hooks. - * @since v18.8.0 - */ - interface HookOptions { - /** - * Allows aborting an in-progress hook. - */ - signal?: AbortSignal | undefined; - /** - * A number of milliseconds the hook will fail after. If unspecified, subtests inherit this - * value from their parent. - * @default Infinity - */ - timeout?: number | undefined; - } - interface MockFunctionOptions { - /** - * The number of times that the mock will use the behavior of `implementation`. - * Once the mock function has been called `times` times, - * it will automatically restore the behavior of `original`. - * This value must be an integer greater than zero. - * @default Infinity - */ - times?: number | undefined; - } - interface MockMethodOptions extends MockFunctionOptions { - /** - * If `true`, `object[methodName]` is treated as a getter. - * This option cannot be used with the `setter` option. - */ - getter?: boolean | undefined; - /** - * If `true`, `object[methodName]` is treated as a setter. - * This option cannot be used with the `getter` option. - */ - setter?: boolean | undefined; - } - type Mock = F & { - mock: MockFunctionContext; - }; - type NoOpFunction = (...args: any[]) => undefined; - type FunctionPropertyNames = { - [K in keyof T]: T[K] extends Function ? K : never; - }[keyof T]; - /** - * The `MockTracker` class is used to manage mocking functionality. The test runner - * module provides a top level `mock` export which is a `MockTracker` instance. - * Each test also provides its own `MockTracker` instance via the test context's`mock` property. - * @since v19.1.0, v18.13.0 - */ - class MockTracker { - /** - * This function is used to create a mock function. - * - * The following example creates a mock function that increments a counter by one - * on each invocation. The `times` option is used to modify the mock behavior such - * that the first two invocations add two to the counter instead of one. - * - * ```js - * test('mocks a counting function', (t) => { - * let cnt = 0; - * - * function addOne() { - * cnt++; - * return cnt; - * } - * - * function addTwo() { - * cnt += 2; - * return cnt; - * } - * - * const fn = t.mock.fn(addOne, addTwo, { times: 2 }); - * - * assert.strictEqual(fn(), 2); - * assert.strictEqual(fn(), 4); - * assert.strictEqual(fn(), 5); - * assert.strictEqual(fn(), 6); - * }); - * ``` - * @since v19.1.0, v18.13.0 - * @param [original='A no-op function'] An optional function to create a mock on. - * @param implementation An optional function used as the mock implementation for `original`. This is useful for creating mocks that exhibit one behavior for a specified number of calls and - * then restore the behavior of `original`. - * @param options Optional configuration options for the mock function. The following properties are supported: - * @return The mocked function. The mocked function contains a special `mock` property, which is an instance of {@link MockFunctionContext}, and can be used for inspecting and changing the - * behavior of the mocked function. - */ - fn(original?: F, options?: MockFunctionOptions): Mock; - fn( - original?: F, - implementation?: Implementation, - options?: MockFunctionOptions, - ): Mock; - /** - * This function is used to create a mock on an existing object method. The - * following example demonstrates how a mock is created on an existing object - * method. - * - * ```js - * test('spies on an object method', (t) => { - * const number = { - * value: 5, - * subtract(a) { - * return this.value - a; - * }, - * }; - * - * t.mock.method(number, 'subtract'); - * assert.strictEqual(number.subtract.mock.calls.length, 0); - * assert.strictEqual(number.subtract(3), 2); - * assert.strictEqual(number.subtract.mock.calls.length, 1); - * - * const call = number.subtract.mock.calls[0]; - * - * assert.deepStrictEqual(call.arguments, [3]); - * assert.strictEqual(call.result, 2); - * assert.strictEqual(call.error, undefined); - * assert.strictEqual(call.target, undefined); - * assert.strictEqual(call.this, number); - * }); - * ``` - * @since v19.1.0, v18.13.0 - * @param object The object whose method is being mocked. - * @param methodName The identifier of the method on `object` to mock. If `object[methodName]` is not a function, an error is thrown. - * @param implementation An optional function used as the mock implementation for `object[methodName]`. - * @param options Optional configuration options for the mock method. The following properties are supported: - * @return The mocked method. The mocked method contains a special `mock` property, which is an instance of {@link MockFunctionContext}, and can be used for inspecting and changing the - * behavior of the mocked method. - */ - method< - MockedObject extends object, - MethodName extends FunctionPropertyNames, - >( - object: MockedObject, - methodName: MethodName, - options?: MockFunctionOptions, - ): MockedObject[MethodName] extends Function ? Mock - : never; - method< - MockedObject extends object, - MethodName extends FunctionPropertyNames, - Implementation extends Function, - >( - object: MockedObject, - methodName: MethodName, - implementation: Implementation, - options?: MockFunctionOptions, - ): MockedObject[MethodName] extends Function ? Mock - : never; - method( - object: MockedObject, - methodName: keyof MockedObject, - options: MockMethodOptions, - ): Mock; - method( - object: MockedObject, - methodName: keyof MockedObject, - implementation: Function, - options: MockMethodOptions, - ): Mock; - - /** - * This function is syntax sugar for `MockTracker.method` with `options.getter`set to `true`. - * @since v19.3.0, v18.13.0 - */ - getter< - MockedObject extends object, - MethodName extends keyof MockedObject, - >( - object: MockedObject, - methodName: MethodName, - options?: MockFunctionOptions, - ): Mock<() => MockedObject[MethodName]>; - getter< - MockedObject extends object, - MethodName extends keyof MockedObject, - Implementation extends Function, - >( - object: MockedObject, - methodName: MethodName, - implementation?: Implementation, - options?: MockFunctionOptions, - ): Mock<(() => MockedObject[MethodName]) | Implementation>; - /** - * This function is syntax sugar for `MockTracker.method` with `options.setter`set to `true`. - * @since v19.3.0, v18.13.0 - */ - setter< - MockedObject extends object, - MethodName extends keyof MockedObject, - >( - object: MockedObject, - methodName: MethodName, - options?: MockFunctionOptions, - ): Mock<(value: MockedObject[MethodName]) => void>; - setter< - MockedObject extends object, - MethodName extends keyof MockedObject, - Implementation extends Function, - >( - object: MockedObject, - methodName: MethodName, - implementation?: Implementation, - options?: MockFunctionOptions, - ): Mock<((value: MockedObject[MethodName]) => void) | Implementation>; - /** - * This function restores the default behavior of all mocks that were previously - * created by this `MockTracker` and disassociates the mocks from the`MockTracker` instance. Once disassociated, the mocks can still be used, but the`MockTracker` instance can no longer be - * used to reset their behavior or - * otherwise interact with them. - * - * After each test completes, this function is called on the test context's`MockTracker`. If the global `MockTracker` is used extensively, calling this - * function manually is recommended. - * @since v19.1.0, v18.13.0 - */ - reset(): void; - /** - * This function restores the default behavior of all mocks that were previously - * created by this `MockTracker`. Unlike `mock.reset()`, `mock.restoreAll()` does - * not disassociate the mocks from the `MockTracker` instance. - * @since v19.1.0, v18.13.0 - */ - restoreAll(): void; - timers: MockTimers; - } - const mock: MockTracker; - interface MockFunctionCall< - F extends Function, - ReturnType = F extends (...args: any) => infer T ? T - : F extends abstract new(...args: any) => infer T ? T - : unknown, - Args = F extends (...args: infer Y) => any ? Y - : F extends abstract new(...args: infer Y) => any ? Y - : unknown[], - > { - /** - * An array of the arguments passed to the mock function. - */ - arguments: Args; - /** - * If the mocked function threw then this property contains the thrown value. - */ - error: unknown | undefined; - /** - * The value returned by the mocked function. - * - * If the mocked function threw, it will be `undefined`. - */ - result: ReturnType | undefined; - /** - * An `Error` object whose stack can be used to determine the callsite of the mocked function invocation. - */ - stack: Error; - /** - * If the mocked function is a constructor, this field contains the class being constructed. - * Otherwise this will be `undefined`. - */ - target: F extends abstract new(...args: any) => any ? F : undefined; - /** - * The mocked function's `this` value. - */ - this: unknown; - } - /** - * The `MockFunctionContext` class is used to inspect or manipulate the behavior of - * mocks created via the `MockTracker` APIs. - * @since v19.1.0, v18.13.0 - */ - class MockFunctionContext { - /** - * A getter that returns a copy of the internal array used to track calls to the - * mock. Each entry in the array is an object with the following properties. - * @since v19.1.0, v18.13.0 - */ - readonly calls: Array>; - /** - * This function returns the number of times that this mock has been invoked. This - * function is more efficient than checking `ctx.calls.length` because `ctx.calls`is a getter that creates a copy of the internal call tracking array. - * @since v19.1.0, v18.13.0 - * @return The number of times that this mock has been invoked. - */ - callCount(): number; - /** - * This function is used to change the behavior of an existing mock. - * - * The following example creates a mock function using `t.mock.fn()`, calls the - * mock function, and then changes the mock implementation to a different function. - * - * ```js - * test('changes a mock behavior', (t) => { - * let cnt = 0; - * - * function addOne() { - * cnt++; - * return cnt; - * } - * - * function addTwo() { - * cnt += 2; - * return cnt; - * } - * - * const fn = t.mock.fn(addOne); - * - * assert.strictEqual(fn(), 1); - * fn.mock.mockImplementation(addTwo); - * assert.strictEqual(fn(), 3); - * assert.strictEqual(fn(), 5); - * }); - * ``` - * @since v19.1.0, v18.13.0 - * @param implementation The function to be used as the mock's new implementation. - */ - mockImplementation(implementation: Function): void; - /** - * This function is used to change the behavior of an existing mock for a single - * invocation. Once invocation `onCall` has occurred, the mock will revert to - * whatever behavior it would have used had `mockImplementationOnce()` not been - * called. - * - * The following example creates a mock function using `t.mock.fn()`, calls the - * mock function, changes the mock implementation to a different function for the - * next invocation, and then resumes its previous behavior. - * - * ```js - * test('changes a mock behavior once', (t) => { - * let cnt = 0; - * - * function addOne() { - * cnt++; - * return cnt; - * } - * - * function addTwo() { - * cnt += 2; - * return cnt; - * } - * - * const fn = t.mock.fn(addOne); - * - * assert.strictEqual(fn(), 1); - * fn.mock.mockImplementationOnce(addTwo); - * assert.strictEqual(fn(), 3); - * assert.strictEqual(fn(), 4); - * }); - * ``` - * @since v19.1.0, v18.13.0 - * @param implementation The function to be used as the mock's implementation for the invocation number specified by `onCall`. - * @param onCall The invocation number that will use `implementation`. If the specified invocation has already occurred then an exception is thrown. - */ - mockImplementationOnce(implementation: Function, onCall?: number): void; - /** - * Resets the call history of the mock function. - * @since v19.3.0, v18.13.0 - */ - resetCalls(): void; - /** - * Resets the implementation of the mock function to its original behavior. The - * mock can still be used after calling this function. - * @since v19.1.0, v18.13.0 - */ - restore(): void; - } - type Timer = "setInterval" | "setTimeout" | "setImmediate" | "Date"; - - interface MockTimersOptions { - apis: Timer[]; - now?: number | Date; - } - /** - * Mocking timers is a technique commonly used in software testing to simulate and - * control the behavior of timers, such as `setInterval` and `setTimeout`, - * without actually waiting for the specified time intervals. - * - * The MockTimers API also allows for mocking of the `Date` constructor and - * `setImmediate`/`clearImmediate` functions. - * - * The `MockTracker` provides a top-level `timers` export - * which is a `MockTimers` instance. - * @since v20.4.0 - * @experimental - */ - class MockTimers { - /** - * Enables timer mocking for the specified timers. - * - * **Note:** When you enable mocking for a specific timer, its associated - * clear function will also be implicitly mocked. - * - * **Note:** Mocking `Date` will affect the behavior of the mocked timers - * as they use the same internal clock. - * - * Example usage without setting initial time: - * - * ```js - * import { mock } from 'node:test'; - * mock.timers.enable({ apis: ['setInterval', 'Date'], now: 1234 }); - * ``` - * - * The above example enables mocking for the `Date` constructor, `setInterval` timer and - * implicitly mocks the `clearInterval` function. Only the `Date` constructor from `globalThis`, - * `setInterval` and `clearInterval` functions from `node:timers`,`node:timers/promises`, and `globalThis` will be mocked. - * - * Example usage with initial time set - * - * ```js - * import { mock } from 'node:test'; - * mock.timers.enable({ apis: ['Date'], now: 1000 }); - * ``` - * - * Example usage with initial Date object as time set - * - * ```js - * import { mock } from 'node:test'; - * mock.timers.enable({ apis: ['Date'], now: new Date() }); - * ``` - * - * Alternatively, if you call `mock.timers.enable()` without any parameters: - * - * All timers (`'setInterval'`, `'clearInterval'`, `'Date'`, `'setImmediate'`, `'clearImmediate'`, `'setTimeout'`, and `'clearTimeout'`) - * will be mocked. - * - * The `setInterval`, `clearInterval`, `setTimeout`, and `clearTimeout` functions from `node:timers`, `node:timers/promises`, - * and `globalThis` will be mocked. - * The `Date` constructor from `globalThis` will be mocked. - * - * If there is no initial epoch set, the initial date will be based on 0 in the Unix epoch. This is `January 1st, 1970, 00:00:00 UTC`. You can set an initial date by passing a now property to the `.enable()` method. This value will be used as the initial date for the mocked Date object. It can either be a positive integer, or another Date object. - * @since v20.4.0 - */ - enable(options?: MockTimersOptions): void; - /** - * You can use the `.setTime()` method to manually move the mocked date to another time. This method only accepts a positive integer. - * Note: This method will execute any mocked timers that are in the past from the new time. - * In the below example we are setting a new time for the mocked date. - * ```js - * import assert from 'node:assert'; - * import { test } from 'node:test'; - * test('sets the time of a date object', (context) => { - * // Optionally choose what to mock - * context.mock.timers.enable({ apis: ['Date'], now: 100 }); - * assert.strictEqual(Date.now(), 100); - * // Advance in time will also advance the date - * context.mock.timers.setTime(1000); - * context.mock.timers.tick(200); - * assert.strictEqual(Date.now(), 1200); - * }); - * ``` - */ - setTime(time: number): void; - /** - * This function restores the default behavior of all mocks that were previously - * created by this `MockTimers` instance and disassociates the mocks - * from the `MockTracker` instance. - * - * **Note:** After each test completes, this function is called on - * the test context's `MockTracker`. - * - * ```js - * import { mock } from 'node:test'; - * mock.timers.reset(); - * ``` - * @since v20.4.0 - */ - reset(): void; - /** - * Advances time for all mocked timers. - * - * **Note:** This diverges from how `setTimeout` in Node.js behaves and accepts - * only positive numbers. In Node.js, `setTimeout` with negative numbers is - * only supported for web compatibility reasons. - * - * The following example mocks a `setTimeout` function and - * by using `.tick` advances in - * time triggering all pending timers. - * - * ```js - * import assert from 'node:assert'; - * import { test } from 'node:test'; - * - * test('mocks setTimeout to be executed synchronously without having to actually wait for it', (context) => { - * const fn = context.mock.fn(); - * - * context.mock.timers.enable({ apis: ['setTimeout'] }); - * - * setTimeout(fn, 9999); - * - * assert.strictEqual(fn.mock.callCount(), 0); - * - * // Advance in time - * context.mock.timers.tick(9999); - * - * assert.strictEqual(fn.mock.callCount(), 1); - * }); - * ``` - * - * Alternativelly, the `.tick` function can be called many times - * - * ```js - * import assert from 'node:assert'; - * import { test } from 'node:test'; - * - * test('mocks setTimeout to be executed synchronously without having to actually wait for it', (context) => { - * const fn = context.mock.fn(); - * context.mock.timers.enable({ apis: ['setTimeout'] }); - * const nineSecs = 9000; - * setTimeout(fn, nineSecs); - * - * const twoSeconds = 3000; - * context.mock.timers.tick(twoSeconds); - * context.mock.timers.tick(twoSeconds); - * context.mock.timers.tick(twoSeconds); - * - * assert.strictEqual(fn.mock.callCount(), 1); - * }); - * ``` - * - * Advancing time using `.tick` will also advance the time for any `Date` object - * created after the mock was enabled (if `Date` was also set to be mocked). - * - * ```js - * import assert from 'node:assert'; - * import { test } from 'node:test'; - * - * test('mocks setTimeout to be executed synchronously without having to actually wait for it', (context) => { - * const fn = context.mock.fn(); - * - * context.mock.timers.enable({ apis: ['setTimeout', 'Date'] }); - * setTimeout(fn, 9999); - * - * assert.strictEqual(fn.mock.callCount(), 0); - * assert.strictEqual(Date.now(), 0); - * - * // Advance in time - * context.mock.timers.tick(9999); - * assert.strictEqual(fn.mock.callCount(), 1); - * assert.strictEqual(Date.now(), 9999); - * }); - * ``` - * @since v20.4.0 - */ - tick(milliseconds: number): void; - /** - * Triggers all pending mocked timers immediately. If the `Date` object is also - * mocked, it will also advance the `Date` object to the furthest timer's time. - * - * The example below triggers all pending timers immediately, - * causing them to execute without any delay. - * - * ```js - * import assert from 'node:assert'; - * import { test } from 'node:test'; - * - * test('runAll functions following the given order', (context) => { - * context.mock.timers.enable({ apis: ['setTimeout', 'Date'] }); - * const results = []; - * setTimeout(() => results.push(1), 9999); - * - * // Notice that if both timers have the same timeout, - * // the order of execution is guaranteed - * setTimeout(() => results.push(3), 8888); - * setTimeout(() => results.push(2), 8888); - * - * assert.deepStrictEqual(results, []); - * - * context.mock.timers.runAll(); - * assert.deepStrictEqual(results, [3, 2, 1]); - * // The Date object is also advanced to the furthest timer's time - * assert.strictEqual(Date.now(), 9999); - * }); - * ``` - * - * **Note:** The `runAll()` function is specifically designed for - * triggering timers in the context of timer mocking. - * It does not have any effect on real-time system - * clocks or actual timers outside of the mocking environment. - * @since v20.4.0 - */ - runAll(): void; - /** - * Calls {@link MockTimers.reset()}. - */ - [Symbol.dispose](): void; - } - export { - after, - afterEach, - before, - beforeEach, - describe, - it, - Mock, - mock, - only, - run, - skip, - test, - test as default, - todo, - }; -} - -interface TestLocationInfo { - /** - * The column number where the test is defined, or - * `undefined` if the test was run through the REPL. - */ - column?: number; - /** - * The path of the test file, `undefined` if test is not ran through a file. - */ - file?: string; - /** - * The line number where the test is defined, or - * `undefined` if the test was run through the REPL. - */ - line?: number; -} -interface DiagnosticData extends TestLocationInfo { - /** - * The diagnostic message. - */ - message: string; - /** - * The nesting level of the test. - */ - nesting: number; -} -interface TestFail extends TestLocationInfo { - /** - * Additional execution metadata. - */ - details: { - /** - * The duration of the test in milliseconds. - */ - duration_ms: number; - /** - * The error thrown by the test. - */ - error: Error; - /** - * The type of the test, used to denote whether this is a suite. - * @since 20.0.0, 19.9.0, 18.17.0 - */ - type?: "suite"; - }; - /** - * The test name. - */ - name: string; - /** - * The nesting level of the test. - */ - nesting: number; - /** - * The ordinal number of the test. - */ - testNumber: number; - /** - * Present if `context.todo` is called. - */ - todo?: string | boolean; - /** - * Present if `context.skip` is called. - */ - skip?: string | boolean; -} -interface TestPass extends TestLocationInfo { - /** - * Additional execution metadata. - */ - details: { - /** - * The duration of the test in milliseconds. - */ - duration_ms: number; - /** - * The type of the test, used to denote whether this is a suite. - * @since 20.0.0, 19.9.0, 18.17.0 - */ - type?: "suite"; - }; - /** - * The test name. - */ - name: string; - /** - * The nesting level of the test. - */ - nesting: number; - /** - * The ordinal number of the test. - */ - testNumber: number; - /** - * Present if `context.todo` is called. - */ - todo?: string | boolean; - /** - * Present if `context.skip` is called. - */ - skip?: string | boolean; -} -interface TestPlan extends TestLocationInfo { - /** - * The nesting level of the test. - */ - nesting: number; - /** - * The number of subtests that have ran. - */ - count: number; -} -interface TestStart extends TestLocationInfo { - /** - * The test name. - */ - name: string; - /** - * The nesting level of the test. - */ - nesting: number; -} -interface TestStderr extends TestLocationInfo { - /** - * The message written to `stderr` - */ - message: string; -} -interface TestStdout extends TestLocationInfo { - /** - * The message written to `stdout` - */ - message: string; -} -interface TestEnqueue extends TestLocationInfo { - /** - * The test name - */ - name: string; - /** - * The nesting level of the test. - */ - nesting: number; -} -interface TestDequeue extends TestLocationInfo { - /** - * The test name - */ - name: string; - /** - * The nesting level of the test. - */ - nesting: number; -} - -/** - * The `node:test/reporters` module exposes the builtin-reporters for `node:test`. - * To access it: - * - * ```js - * import test from 'node:test/reporters'; - * ``` - * - * This module is only available under the `node:` scheme. The following will not - * work: - * - * ```js - * import test from 'test/reporters'; - * ``` - * @since v19.9.0 - * @see [source](https://github.com/nodejs/node/blob/v20.2.0/lib/test/reporters.js) - */ -declare module "node:test/reporters" { - import { Transform, TransformOptions } from "node:stream"; - - type TestEvent = - | { type: "test:diagnostic"; data: DiagnosticData } - | { type: "test:fail"; data: TestFail } - | { type: "test:pass"; data: TestPass } - | { type: "test:plan"; data: TestPlan } - | { type: "test:start"; data: TestStart } - | { type: "test:stderr"; data: TestStderr } - | { type: "test:stdout"; data: TestStdout } - | { type: "test:enqueue"; data: TestEnqueue } - | { type: "test:dequeue"; data: TestDequeue } - | { type: "test:watch:drained" }; - type TestEventGenerator = AsyncGenerator; - - /** - * The `dot` reporter outputs the test results in a compact format, - * where each passing test is represented by a `.`, - * and each failing test is represented by a `X`. - */ - function dot(source: TestEventGenerator): AsyncGenerator<"\n" | "." | "X", void>; - /** - * The `tap` reporter outputs the test results in the [TAP](https://testanything.org/) format. - */ - function tap(source: TestEventGenerator): AsyncGenerator; - /** - * The `spec` reporter outputs the test results in a human-readable format. - */ - class Spec extends Transform { - constructor(); - } - /** - * The `junit` reporter outputs test results in a jUnit XML format - */ - function junit(source: TestEventGenerator): AsyncGenerator; - class Lcov extends Transform { - constructor(opts?: TransformOptions); - } - export { dot, junit, Lcov as lcov, Spec as spec, tap, TestEvent }; -} diff --git a/node_modules/@types/node/ts4.8/timers.d.ts b/node_modules/@types/node/ts4.8/timers.d.ts deleted file mode 100644 index 039f31f..0000000 --- a/node_modules/@types/node/ts4.8/timers.d.ts +++ /dev/null @@ -1,240 +0,0 @@ -/** - * The `timer` module exposes a global API for scheduling functions to - * be called at some future period of time. Because the timer functions are - * globals, there is no need to call `require('node:timers')` to use the API. - * - * The timer functions within Node.js implement a similar API as the timers API - * provided by Web Browsers but use a different internal implementation that is - * built around the Node.js [Event Loop](https://nodejs.org/en/docs/guides/event-loop-timers-and-nexttick/#setimmediate-vs-settimeout). - * @see [source](https://github.com/nodejs/node/blob/v20.2.0/lib/timers.js) - */ -declare module "timers" { - import { Abortable } from "node:events"; - import { - setImmediate as setImmediatePromise, - setInterval as setIntervalPromise, - setTimeout as setTimeoutPromise, - } from "node:timers/promises"; - interface TimerOptions extends Abortable { - /** - * Set to `false` to indicate that the scheduled `Timeout` - * should not require the Node.js event loop to remain active. - * @default true - */ - ref?: boolean | undefined; - } - let setTimeout: typeof global.setTimeout; - let clearTimeout: typeof global.clearTimeout; - let setInterval: typeof global.setInterval; - let clearInterval: typeof global.clearInterval; - let setImmediate: typeof global.setImmediate; - let clearImmediate: typeof global.clearImmediate; - global { - namespace NodeJS { - // compatibility with older typings - interface Timer extends RefCounted { - hasRef(): boolean; - refresh(): this; - [Symbol.toPrimitive](): number; - } - /** - * This object is created internally and is returned from `setImmediate()`. It - * can be passed to `clearImmediate()` in order to cancel the scheduled - * actions. - * - * By default, when an immediate is scheduled, the Node.js event loop will continue - * running as long as the immediate is active. The `Immediate` object returned by `setImmediate()` exports both `immediate.ref()` and `immediate.unref()`functions that can be used to - * control this default behavior. - */ - class Immediate implements RefCounted { - /** - * When called, requests that the Node.js event loop _not_ exit so long as the`Immediate` is active. Calling `immediate.ref()` multiple times will have no - * effect. - * - * By default, all `Immediate` objects are "ref'ed", making it normally unnecessary - * to call `immediate.ref()` unless `immediate.unref()` had been called previously. - * @since v9.7.0 - * @return a reference to `immediate` - */ - ref(): this; - /** - * When called, the active `Immediate` object will not require the Node.js event - * loop to remain active. If there is no other activity keeping the event loop - * running, the process may exit before the `Immediate` object's callback is - * invoked. Calling `immediate.unref()` multiple times will have no effect. - * @since v9.7.0 - * @return a reference to `immediate` - */ - unref(): this; - /** - * If true, the `Immediate` object will keep the Node.js event loop active. - * @since v11.0.0 - */ - hasRef(): boolean; - _onImmediate: Function; // to distinguish it from the Timeout class - /** - * Cancels the immediate. This is similar to calling `clearImmediate()`. - * @since v20.5.0 - */ - [Symbol.dispose](): void; - } - /** - * This object is created internally and is returned from `setTimeout()` and `setInterval()`. It can be passed to either `clearTimeout()` or `clearInterval()` in order to cancel the - * scheduled actions. - * - * By default, when a timer is scheduled using either `setTimeout()` or `setInterval()`, the Node.js event loop will continue running as long as the - * timer is active. Each of the `Timeout` objects returned by these functions - * export both `timeout.ref()` and `timeout.unref()` functions that can be used to - * control this default behavior. - */ - class Timeout implements Timer { - /** - * When called, requests that the Node.js event loop _not_ exit so long as the`Timeout` is active. Calling `timeout.ref()` multiple times will have no effect. - * - * By default, all `Timeout` objects are "ref'ed", making it normally unnecessary - * to call `timeout.ref()` unless `timeout.unref()` had been called previously. - * @since v0.9.1 - * @return a reference to `timeout` - */ - ref(): this; - /** - * When called, the active `Timeout` object will not require the Node.js event loop - * to remain active. If there is no other activity keeping the event loop running, - * the process may exit before the `Timeout` object's callback is invoked. Calling`timeout.unref()` multiple times will have no effect. - * @since v0.9.1 - * @return a reference to `timeout` - */ - unref(): this; - /** - * If true, the `Timeout` object will keep the Node.js event loop active. - * @since v11.0.0 - */ - hasRef(): boolean; - /** - * Sets the timer's start time to the current time, and reschedules the timer to - * call its callback at the previously specified duration adjusted to the current - * time. This is useful for refreshing a timer without allocating a new - * JavaScript object. - * - * Using this on a timer that has already called its callback will reactivate the - * timer. - * @since v10.2.0 - * @return a reference to `timeout` - */ - refresh(): this; - [Symbol.toPrimitive](): number; - /** - * Cancels the timeout. - * @since v20.5.0 - */ - [Symbol.dispose](): void; - } - } - /** - * Schedules execution of a one-time `callback` after `delay` milliseconds. - * - * The `callback` will likely not be invoked in precisely `delay` milliseconds. - * Node.js makes no guarantees about the exact timing of when callbacks will fire, - * nor of their ordering. The callback will be called as close as possible to the - * time specified. - * - * When `delay` is larger than `2147483647` or less than `1`, the `delay`will be set to `1`. Non-integer delays are truncated to an integer. - * - * If `callback` is not a function, a `TypeError` will be thrown. - * - * This method has a custom variant for promises that is available using `timersPromises.setTimeout()`. - * @since v0.0.1 - * @param callback The function to call when the timer elapses. - * @param [delay=1] The number of milliseconds to wait before calling the `callback`. - * @param args Optional arguments to pass when the `callback` is called. - * @return for use with {@link clearTimeout} - */ - function setTimeout( - callback: (...args: TArgs) => void, - ms?: number, - ...args: TArgs - ): NodeJS.Timeout; - // util.promisify no rest args compability - // eslint-disable-next-line @typescript-eslint/no-invalid-void-type - function setTimeout(callback: (args: void) => void, ms?: number): NodeJS.Timeout; - namespace setTimeout { - const __promisify__: typeof setTimeoutPromise; - } - /** - * Cancels a `Timeout` object created by `setTimeout()`. - * @since v0.0.1 - * @param timeout A `Timeout` object as returned by {@link setTimeout} or the `primitive` of the `Timeout` object as a string or a number. - */ - function clearTimeout(timeoutId: NodeJS.Timeout | string | number | undefined): void; - /** - * Schedules repeated execution of `callback` every `delay` milliseconds. - * - * When `delay` is larger than `2147483647` or less than `1`, the `delay` will be - * set to `1`. Non-integer delays are truncated to an integer. - * - * If `callback` is not a function, a `TypeError` will be thrown. - * - * This method has a custom variant for promises that is available using `timersPromises.setInterval()`. - * @since v0.0.1 - * @param callback The function to call when the timer elapses. - * @param [delay=1] The number of milliseconds to wait before calling the `callback`. - * @param args Optional arguments to pass when the `callback` is called. - * @return for use with {@link clearInterval} - */ - function setInterval( - callback: (...args: TArgs) => void, - ms?: number, - ...args: TArgs - ): NodeJS.Timeout; - // util.promisify no rest args compability - // eslint-disable-next-line @typescript-eslint/no-invalid-void-type - function setInterval(callback: (args: void) => void, ms?: number): NodeJS.Timeout; - namespace setInterval { - const __promisify__: typeof setIntervalPromise; - } - /** - * Cancels a `Timeout` object created by `setInterval()`. - * @since v0.0.1 - * @param timeout A `Timeout` object as returned by {@link setInterval} or the `primitive` of the `Timeout` object as a string or a number. - */ - function clearInterval(intervalId: NodeJS.Timeout | string | number | undefined): void; - /** - * Schedules the "immediate" execution of the `callback` after I/O events' - * callbacks. - * - * When multiple calls to `setImmediate()` are made, the `callback` functions are - * queued for execution in the order in which they are created. The entire callback - * queue is processed every event loop iteration. If an immediate timer is queued - * from inside an executing callback, that timer will not be triggered until the - * next event loop iteration. - * - * If `callback` is not a function, a `TypeError` will be thrown. - * - * This method has a custom variant for promises that is available using `timersPromises.setImmediate()`. - * @since v0.9.1 - * @param callback The function to call at the end of this turn of the Node.js `Event Loop` - * @param args Optional arguments to pass when the `callback` is called. - * @return for use with {@link clearImmediate} - */ - function setImmediate( - callback: (...args: TArgs) => void, - ...args: TArgs - ): NodeJS.Immediate; - // util.promisify no rest args compability - // eslint-disable-next-line @typescript-eslint/no-invalid-void-type - function setImmediate(callback: (args: void) => void): NodeJS.Immediate; - namespace setImmediate { - const __promisify__: typeof setImmediatePromise; - } - /** - * Cancels an `Immediate` object created by `setImmediate()`. - * @since v0.9.1 - * @param immediate An `Immediate` object as returned by {@link setImmediate}. - */ - function clearImmediate(immediateId: NodeJS.Immediate | undefined): void; - function queueMicrotask(callback: () => void): void; - } -} -declare module "node:timers" { - export * from "timers"; -} diff --git a/node_modules/@types/node/ts4.8/timers/promises.d.ts b/node_modules/@types/node/ts4.8/timers/promises.d.ts deleted file mode 100644 index 5a54dc7..0000000 --- a/node_modules/@types/node/ts4.8/timers/promises.d.ts +++ /dev/null @@ -1,93 +0,0 @@ -/** - * The `timers/promises` API provides an alternative set of timer functions - * that return `Promise` objects. The API is accessible via`require('node:timers/promises')`. - * - * ```js - * import { - * setTimeout, - * setImmediate, - * setInterval, - * } from 'timers/promises'; - * ``` - * @since v15.0.0 - */ -declare module "timers/promises" { - import { TimerOptions } from "node:timers"; - /** - * ```js - * import { - * setTimeout, - * } from 'timers/promises'; - * - * const res = await setTimeout(100, 'result'); - * - * console.log(res); // Prints 'result' - * ``` - * @since v15.0.0 - * @param [delay=1] The number of milliseconds to wait before fulfilling the promise. - * @param value A value with which the promise is fulfilled. - */ - function setTimeout(delay?: number, value?: T, options?: TimerOptions): Promise; - /** - * ```js - * import { - * setImmediate, - * } from 'timers/promises'; - * - * const res = await setImmediate('result'); - * - * console.log(res); // Prints 'result' - * ``` - * @since v15.0.0 - * @param value A value with which the promise is fulfilled. - */ - function setImmediate(value?: T, options?: TimerOptions): Promise; - /** - * Returns an async iterator that generates values in an interval of `delay` ms. - * If `ref` is `true`, you need to call `next()` of async iterator explicitly - * or implicitly to keep the event loop alive. - * - * ```js - * import { - * setInterval, - * } from 'timers/promises'; - * - * const interval = 100; - * for await (const startTime of setInterval(interval, Date.now())) { - * const now = Date.now(); - * console.log(now); - * if ((now - startTime) > 1000) - * break; - * } - * console.log(Date.now()); - * ``` - * @since v15.9.0 - */ - function setInterval(delay?: number, value?: T, options?: TimerOptions): AsyncIterable; - interface Scheduler { - /** - * ```js - * import { scheduler } from 'node:timers/promises'; - * - * await scheduler.wait(1000); // Wait one second before continuing - * ``` - * An experimental API defined by the Scheduling APIs draft specification being developed as a standard Web Platform API. - * Calling timersPromises.scheduler.wait(delay, options) is roughly equivalent to calling timersPromises.setTimeout(delay, undefined, options) except that the ref option is not supported. - * @since v16.14.0 - * @experimental - * @param [delay=1] The number of milliseconds to wait before fulfilling the promise. - */ - wait: (delay?: number, options?: TimerOptions) => Promise; - /** - * An experimental API defined by the Scheduling APIs draft specification being developed as a standard Web Platform API. - * Calling timersPromises.scheduler.yield() is equivalent to calling timersPromises.setImmediate() with no arguments. - * @since v16.14.0 - * @experimental - */ - yield: () => Promise; - } - const scheduler: Scheduler; -} -declare module "node:timers/promises" { - export * from "timers/promises"; -} diff --git a/node_modules/@types/node/ts4.8/tls.d.ts b/node_modules/@types/node/ts4.8/tls.d.ts deleted file mode 100644 index 9f6d6be..0000000 --- a/node_modules/@types/node/ts4.8/tls.d.ts +++ /dev/null @@ -1,1210 +0,0 @@ -/** - * The `node:tls` module provides an implementation of the Transport Layer Security - * (TLS) and Secure Socket Layer (SSL) protocols that is built on top of OpenSSL. - * The module can be accessed using: - * - * ```js - * const tls = require('node:tls'); - * ``` - * @see [source](https://github.com/nodejs/node/blob/v20.2.0/lib/tls.js) - */ -declare module "tls" { - import { X509Certificate } from "node:crypto"; - import * as net from "node:net"; - import * as stream from "stream"; - const CLIENT_RENEG_LIMIT: number; - const CLIENT_RENEG_WINDOW: number; - interface Certificate { - /** - * Country code. - */ - C: string; - /** - * Street. - */ - ST: string; - /** - * Locality. - */ - L: string; - /** - * Organization. - */ - O: string; - /** - * Organizational unit. - */ - OU: string; - /** - * Common name. - */ - CN: string; - } - interface PeerCertificate { - /** - * `true` if a Certificate Authority (CA), `false` otherwise. - * @since v18.13.0 - */ - ca: boolean; - /** - * The DER encoded X.509 certificate data. - */ - raw: Buffer; - /** - * The certificate subject. - */ - subject: Certificate; - /** - * The certificate issuer, described in the same terms as the `subject`. - */ - issuer: Certificate; - /** - * The date-time the certificate is valid from. - */ - valid_from: string; - /** - * The date-time the certificate is valid to. - */ - valid_to: string; - /** - * The certificate serial number, as a hex string. - */ - serialNumber: string; - /** - * The SHA-1 digest of the DER encoded certificate. - * It is returned as a `:` separated hexadecimal string. - */ - fingerprint: string; - /** - * The SHA-256 digest of the DER encoded certificate. - * It is returned as a `:` separated hexadecimal string. - */ - fingerprint256: string; - /** - * The SHA-512 digest of the DER encoded certificate. - * It is returned as a `:` separated hexadecimal string. - */ - fingerprint512: string; - /** - * The extended key usage, a set of OIDs. - */ - ext_key_usage?: string[]; - /** - * A string containing concatenated names for the subject, - * an alternative to the `subject` names. - */ - subjectaltname?: string; - /** - * An array describing the AuthorityInfoAccess, used with OCSP. - */ - infoAccess?: NodeJS.Dict; - /** - * For RSA keys: The RSA bit size. - * - * For EC keys: The key size in bits. - */ - bits?: number; - /** - * The RSA exponent, as a string in hexadecimal number notation. - */ - exponent?: string; - /** - * The RSA modulus, as a hexadecimal string. - */ - modulus?: string; - /** - * The public key. - */ - pubkey?: Buffer; - /** - * The ASN.1 name of the OID of the elliptic curve. - * Well-known curves are identified by an OID. - * While it is unusual, it is possible that the curve - * is identified by its mathematical properties, - * in which case it will not have an OID. - */ - asn1Curve?: string; - /** - * The NIST name for the elliptic curve,if it has one - * (not all well-known curves have been assigned names by NIST). - */ - nistCurve?: string; - } - interface DetailedPeerCertificate extends PeerCertificate { - /** - * The issuer certificate object. - * For self-signed certificates, this may be a circular reference. - */ - issuerCertificate: DetailedPeerCertificate; - } - interface CipherNameAndProtocol { - /** - * The cipher name. - */ - name: string; - /** - * SSL/TLS protocol version. - */ - version: string; - /** - * IETF name for the cipher suite. - */ - standardName: string; - } - interface EphemeralKeyInfo { - /** - * The supported types are 'DH' and 'ECDH'. - */ - type: string; - /** - * The name property is available only when type is 'ECDH'. - */ - name?: string | undefined; - /** - * The size of parameter of an ephemeral key exchange. - */ - size: number; - } - interface KeyObject { - /** - * Private keys in PEM format. - */ - pem: string | Buffer; - /** - * Optional passphrase. - */ - passphrase?: string | undefined; - } - interface PxfObject { - /** - * PFX or PKCS12 encoded private key and certificate chain. - */ - buf: string | Buffer; - /** - * Optional passphrase. - */ - passphrase?: string | undefined; - } - interface TLSSocketOptions extends SecureContextOptions, CommonConnectionOptions { - /** - * If true the TLS socket will be instantiated in server-mode. - * Defaults to false. - */ - isServer?: boolean | undefined; - /** - * An optional net.Server instance. - */ - server?: net.Server | undefined; - /** - * An optional Buffer instance containing a TLS session. - */ - session?: Buffer | undefined; - /** - * If true, specifies that the OCSP status request extension will be - * added to the client hello and an 'OCSPResponse' event will be - * emitted on the socket before establishing a secure communication - */ - requestOCSP?: boolean | undefined; - } - /** - * Performs transparent encryption of written data and all required TLS - * negotiation. - * - * Instances of `tls.TLSSocket` implement the duplex `Stream` interface. - * - * Methods that return TLS connection metadata (e.g.{@link TLSSocket.getPeerCertificate}) will only return data while the - * connection is open. - * @since v0.11.4 - */ - class TLSSocket extends net.Socket { - /** - * Construct a new tls.TLSSocket object from an existing TCP socket. - */ - constructor(socket: net.Socket | stream.Duplex, options?: TLSSocketOptions); - /** - * This property is `true` if the peer certificate was signed by one of the CAs - * specified when creating the `tls.TLSSocket` instance, otherwise `false`. - * @since v0.11.4 - */ - authorized: boolean; - /** - * Returns the reason why the peer's certificate was not been verified. This - * property is set only when `tlsSocket.authorized === false`. - * @since v0.11.4 - */ - authorizationError: Error; - /** - * Always returns `true`. This may be used to distinguish TLS sockets from regular`net.Socket` instances. - * @since v0.11.4 - */ - encrypted: true; - /** - * String containing the selected ALPN protocol. - * Before a handshake has completed, this value is always null. - * When a handshake is completed but not ALPN protocol was selected, tlsSocket.alpnProtocol equals false. - */ - alpnProtocol: string | false | null; - /** - * Returns an object representing the local certificate. The returned object has - * some properties corresponding to the fields of the certificate. - * - * See {@link TLSSocket.getPeerCertificate} for an example of the certificate - * structure. - * - * If there is no local certificate, an empty object will be returned. If the - * socket has been destroyed, `null` will be returned. - * @since v11.2.0 - */ - getCertificate(): PeerCertificate | object | null; - /** - * Returns an object containing information on the negotiated cipher suite. - * - * For example, a TLSv1.2 protocol with AES256-SHA cipher: - * - * ```json - * { - * "name": "AES256-SHA", - * "standardName": "TLS_RSA_WITH_AES_256_CBC_SHA", - * "version": "SSLv3" - * } - * ``` - * - * See [SSL\_CIPHER\_get\_name](https://www.openssl.org/docs/man1.1.1/man3/SSL_CIPHER_get_name.html) for more information. - * @since v0.11.4 - */ - getCipher(): CipherNameAndProtocol; - /** - * Returns an object representing the type, name, and size of parameter of - * an ephemeral key exchange in `perfect forward secrecy` on a client - * connection. It returns an empty object when the key exchange is not - * ephemeral. As this is only supported on a client socket; `null` is returned - * if called on a server socket. The supported types are `'DH'` and `'ECDH'`. The`name` property is available only when type is `'ECDH'`. - * - * For example: `{ type: 'ECDH', name: 'prime256v1', size: 256 }`. - * @since v5.0.0 - */ - getEphemeralKeyInfo(): EphemeralKeyInfo | object | null; - /** - * As the `Finished` messages are message digests of the complete handshake - * (with a total of 192 bits for TLS 1.0 and more for SSL 3.0), they can - * be used for external authentication procedures when the authentication - * provided by SSL/TLS is not desired or is not enough. - * - * Corresponds to the `SSL_get_finished` routine in OpenSSL and may be used - * to implement the `tls-unique` channel binding from [RFC 5929](https://tools.ietf.org/html/rfc5929). - * @since v9.9.0 - * @return The latest `Finished` message that has been sent to the socket as part of a SSL/TLS handshake, or `undefined` if no `Finished` message has been sent yet. - */ - getFinished(): Buffer | undefined; - /** - * Returns an object representing the peer's certificate. If the peer does not - * provide a certificate, an empty object will be returned. If the socket has been - * destroyed, `null` will be returned. - * - * If the full certificate chain was requested, each certificate will include an`issuerCertificate` property containing an object representing its issuer's - * certificate. - * @since v0.11.4 - * @param detailed Include the full certificate chain if `true`, otherwise include just the peer's certificate. - * @return A certificate object. - */ - getPeerCertificate(detailed: true): DetailedPeerCertificate; - getPeerCertificate(detailed?: false): PeerCertificate; - getPeerCertificate(detailed?: boolean): PeerCertificate | DetailedPeerCertificate; - /** - * As the `Finished` messages are message digests of the complete handshake - * (with a total of 192 bits for TLS 1.0 and more for SSL 3.0), they can - * be used for external authentication procedures when the authentication - * provided by SSL/TLS is not desired or is not enough. - * - * Corresponds to the `SSL_get_peer_finished` routine in OpenSSL and may be used - * to implement the `tls-unique` channel binding from [RFC 5929](https://tools.ietf.org/html/rfc5929). - * @since v9.9.0 - * @return The latest `Finished` message that is expected or has actually been received from the socket as part of a SSL/TLS handshake, or `undefined` if there is no `Finished` message so - * far. - */ - getPeerFinished(): Buffer | undefined; - /** - * Returns a string containing the negotiated SSL/TLS protocol version of the - * current connection. The value `'unknown'` will be returned for connected - * sockets that have not completed the handshaking process. The value `null` will - * be returned for server sockets or disconnected client sockets. - * - * Protocol versions are: - * - * * `'SSLv3'` - * * `'TLSv1'` - * * `'TLSv1.1'` - * * `'TLSv1.2'` - * * `'TLSv1.3'` - * - * See the OpenSSL [`SSL_get_version`](https://www.openssl.org/docs/man1.1.1/man3/SSL_get_version.html) documentation for more information. - * @since v5.7.0 - */ - getProtocol(): string | null; - /** - * Returns the TLS session data or `undefined` if no session was - * negotiated. On the client, the data can be provided to the `session` option of {@link connect} to resume the connection. On the server, it may be useful - * for debugging. - * - * See `Session Resumption` for more information. - * - * Note: `getSession()` works only for TLSv1.2 and below. For TLSv1.3, applications - * must use the `'session'` event (it also works for TLSv1.2 and below). - * @since v0.11.4 - */ - getSession(): Buffer | undefined; - /** - * See [SSL\_get\_shared\_sigalgs](https://www.openssl.org/docs/man1.1.1/man3/SSL_get_shared_sigalgs.html) for more information. - * @since v12.11.0 - * @return List of signature algorithms shared between the server and the client in the order of decreasing preference. - */ - getSharedSigalgs(): string[]; - /** - * For a client, returns the TLS session ticket if one is available, or`undefined`. For a server, always returns `undefined`. - * - * It may be useful for debugging. - * - * See `Session Resumption` for more information. - * @since v0.11.4 - */ - getTLSTicket(): Buffer | undefined; - /** - * See `Session Resumption` for more information. - * @since v0.5.6 - * @return `true` if the session was reused, `false` otherwise. - */ - isSessionReused(): boolean; - /** - * The `tlsSocket.renegotiate()` method initiates a TLS renegotiation process. - * Upon completion, the `callback` function will be passed a single argument - * that is either an `Error` (if the request failed) or `null`. - * - * This method can be used to request a peer's certificate after the secure - * connection has been established. - * - * When running as the server, the socket will be destroyed with an error after`handshakeTimeout` timeout. - * - * For TLSv1.3, renegotiation cannot be initiated, it is not supported by the - * protocol. - * @since v0.11.8 - * @param callback If `renegotiate()` returned `true`, callback is attached once to the `'secure'` event. If `renegotiate()` returned `false`, `callback` will be called in the next tick with - * an error, unless the `tlsSocket` has been destroyed, in which case `callback` will not be called at all. - * @return `true` if renegotiation was initiated, `false` otherwise. - */ - renegotiate( - options: { - rejectUnauthorized?: boolean | undefined; - requestCert?: boolean | undefined; - }, - callback: (err: Error | null) => void, - ): undefined | boolean; - /** - * The `tlsSocket.setMaxSendFragment()` method sets the maximum TLS fragment size. - * Returns `true` if setting the limit succeeded; `false` otherwise. - * - * Smaller fragment sizes decrease the buffering latency on the client: larger - * fragments are buffered by the TLS layer until the entire fragment is received - * and its integrity is verified; large fragments can span multiple roundtrips - * and their processing can be delayed due to packet loss or reordering. However, - * smaller fragments add extra TLS framing bytes and CPU overhead, which may - * decrease overall server throughput. - * @since v0.11.11 - * @param [size=16384] The maximum TLS fragment size. The maximum value is `16384`. - */ - setMaxSendFragment(size: number): boolean; - /** - * Disables TLS renegotiation for this `TLSSocket` instance. Once called, attempts - * to renegotiate will trigger an `'error'` event on the `TLSSocket`. - * @since v8.4.0 - */ - disableRenegotiation(): void; - /** - * When enabled, TLS packet trace information is written to `stderr`. This can be - * used to debug TLS connection problems. - * - * The format of the output is identical to the output of`openssl s_client -trace` or `openssl s_server -trace`. While it is produced by - * OpenSSL's `SSL_trace()` function, the format is undocumented, can change - * without notice, and should not be relied on. - * @since v12.2.0 - */ - enableTrace(): void; - /** - * Returns the peer certificate as an `X509Certificate` object. - * - * If there is no peer certificate, or the socket has been destroyed,`undefined` will be returned. - * @since v15.9.0 - */ - getPeerX509Certificate(): X509Certificate | undefined; - /** - * Returns the local certificate as an `X509Certificate` object. - * - * If there is no local certificate, or the socket has been destroyed,`undefined` will be returned. - * @since v15.9.0 - */ - getX509Certificate(): X509Certificate | undefined; - /** - * Keying material is used for validations to prevent different kind of attacks in - * network protocols, for example in the specifications of IEEE 802.1X. - * - * Example - * - * ```js - * const keyingMaterial = tlsSocket.exportKeyingMaterial( - * 128, - * 'client finished'); - * - * /* - * Example return value of keyingMaterial: - * - * - * ``` - * - * See the OpenSSL [`SSL_export_keying_material`](https://www.openssl.org/docs/man1.1.1/man3/SSL_export_keying_material.html) documentation for more - * information. - * @since v13.10.0, v12.17.0 - * @param length number of bytes to retrieve from keying material - * @param label an application specific label, typically this will be a value from the [IANA Exporter Label - * Registry](https://www.iana.org/assignments/tls-parameters/tls-parameters.xhtml#exporter-labels). - * @param context Optionally provide a context. - * @return requested bytes of the keying material - */ - exportKeyingMaterial(length: number, label: string, context: Buffer): Buffer; - addListener(event: string, listener: (...args: any[]) => void): this; - addListener(event: "OCSPResponse", listener: (response: Buffer) => void): this; - addListener(event: "secureConnect", listener: () => void): this; - addListener(event: "session", listener: (session: Buffer) => void): this; - addListener(event: "keylog", listener: (line: Buffer) => void): this; - emit(event: string | symbol, ...args: any[]): boolean; - emit(event: "OCSPResponse", response: Buffer): boolean; - emit(event: "secureConnect"): boolean; - emit(event: "session", session: Buffer): boolean; - emit(event: "keylog", line: Buffer): boolean; - on(event: string, listener: (...args: any[]) => void): this; - on(event: "OCSPResponse", listener: (response: Buffer) => void): this; - on(event: "secureConnect", listener: () => void): this; - on(event: "session", listener: (session: Buffer) => void): this; - on(event: "keylog", listener: (line: Buffer) => void): this; - once(event: string, listener: (...args: any[]) => void): this; - once(event: "OCSPResponse", listener: (response: Buffer) => void): this; - once(event: "secureConnect", listener: () => void): this; - once(event: "session", listener: (session: Buffer) => void): this; - once(event: "keylog", listener: (line: Buffer) => void): this; - prependListener(event: string, listener: (...args: any[]) => void): this; - prependListener(event: "OCSPResponse", listener: (response: Buffer) => void): this; - prependListener(event: "secureConnect", listener: () => void): this; - prependListener(event: "session", listener: (session: Buffer) => void): this; - prependListener(event: "keylog", listener: (line: Buffer) => void): this; - prependOnceListener(event: string, listener: (...args: any[]) => void): this; - prependOnceListener(event: "OCSPResponse", listener: (response: Buffer) => void): this; - prependOnceListener(event: "secureConnect", listener: () => void): this; - prependOnceListener(event: "session", listener: (session: Buffer) => void): this; - prependOnceListener(event: "keylog", listener: (line: Buffer) => void): this; - } - interface CommonConnectionOptions { - /** - * An optional TLS context object from tls.createSecureContext() - */ - secureContext?: SecureContext | undefined; - /** - * When enabled, TLS packet trace information is written to `stderr`. This can be - * used to debug TLS connection problems. - * @default false - */ - enableTrace?: boolean | undefined; - /** - * If true the server will request a certificate from clients that - * connect and attempt to verify that certificate. Defaults to - * false. - */ - requestCert?: boolean | undefined; - /** - * An array of strings or a Buffer naming possible ALPN protocols. - * (Protocols should be ordered by their priority.) - */ - ALPNProtocols?: string[] | Uint8Array[] | Uint8Array | undefined; - /** - * SNICallback(servername, cb) A function that will be - * called if the client supports SNI TLS extension. Two arguments - * will be passed when called: servername and cb. SNICallback should - * invoke cb(null, ctx), where ctx is a SecureContext instance. - * (tls.createSecureContext(...) can be used to get a proper - * SecureContext.) If SNICallback wasn't provided the default callback - * with high-level API will be used (see below). - */ - SNICallback?: ((servername: string, cb: (err: Error | null, ctx?: SecureContext) => void) => void) | undefined; - /** - * If true the server will reject any connection which is not - * authorized with the list of supplied CAs. This option only has an - * effect if requestCert is true. - * @default true - */ - rejectUnauthorized?: boolean | undefined; - } - interface TlsOptions extends SecureContextOptions, CommonConnectionOptions, net.ServerOpts { - /** - * Abort the connection if the SSL/TLS handshake does not finish in the - * specified number of milliseconds. A 'tlsClientError' is emitted on - * the tls.Server object whenever a handshake times out. Default: - * 120000 (120 seconds). - */ - handshakeTimeout?: number | undefined; - /** - * The number of seconds after which a TLS session created by the - * server will no longer be resumable. See Session Resumption for more - * information. Default: 300. - */ - sessionTimeout?: number | undefined; - /** - * 48-bytes of cryptographically strong pseudo-random data. - */ - ticketKeys?: Buffer | undefined; - /** - * @param socket - * @param identity identity parameter sent from the client. - * @return pre-shared key that must either be - * a buffer or `null` to stop the negotiation process. Returned PSK must be - * compatible with the selected cipher's digest. - * - * When negotiating TLS-PSK (pre-shared keys), this function is called - * with the identity provided by the client. - * If the return value is `null` the negotiation process will stop and an - * "unknown_psk_identity" alert message will be sent to the other party. - * If the server wishes to hide the fact that the PSK identity was not known, - * the callback must provide some random data as `psk` to make the connection - * fail with "decrypt_error" before negotiation is finished. - * PSK ciphers are disabled by default, and using TLS-PSK thus - * requires explicitly specifying a cipher suite with the `ciphers` option. - * More information can be found in the RFC 4279. - */ - pskCallback?(socket: TLSSocket, identity: string): DataView | NodeJS.TypedArray | null; - /** - * hint to send to a client to help - * with selecting the identity during TLS-PSK negotiation. Will be ignored - * in TLS 1.3. Upon failing to set pskIdentityHint `tlsClientError` will be - * emitted with `ERR_TLS_PSK_SET_IDENTIY_HINT_FAILED` code. - */ - pskIdentityHint?: string | undefined; - } - interface PSKCallbackNegotation { - psk: DataView | NodeJS.TypedArray; - identity: string; - } - interface ConnectionOptions extends SecureContextOptions, CommonConnectionOptions { - host?: string | undefined; - port?: number | undefined; - path?: string | undefined; // Creates unix socket connection to path. If this option is specified, `host` and `port` are ignored. - socket?: stream.Duplex | undefined; // Establish secure connection on a given socket rather than creating a new socket - checkServerIdentity?: typeof checkServerIdentity | undefined; - servername?: string | undefined; // SNI TLS Extension - session?: Buffer | undefined; - minDHSize?: number | undefined; - lookup?: net.LookupFunction | undefined; - timeout?: number | undefined; - /** - * When negotiating TLS-PSK (pre-shared keys), this function is called - * with optional identity `hint` provided by the server or `null` - * in case of TLS 1.3 where `hint` was removed. - * It will be necessary to provide a custom `tls.checkServerIdentity()` - * for the connection as the default one will try to check hostname/IP - * of the server against the certificate but that's not applicable for PSK - * because there won't be a certificate present. - * More information can be found in the RFC 4279. - * - * @param hint message sent from the server to help client - * decide which identity to use during negotiation. - * Always `null` if TLS 1.3 is used. - * @returns Return `null` to stop the negotiation process. `psk` must be - * compatible with the selected cipher's digest. - * `identity` must use UTF-8 encoding. - */ - pskCallback?(hint: string | null): PSKCallbackNegotation | null; - } - /** - * Accepts encrypted connections using TLS or SSL. - * @since v0.3.2 - */ - class Server extends net.Server { - constructor(secureConnectionListener?: (socket: TLSSocket) => void); - constructor(options: TlsOptions, secureConnectionListener?: (socket: TLSSocket) => void); - /** - * The `server.addContext()` method adds a secure context that will be used if - * the client request's SNI name matches the supplied `hostname` (or wildcard). - * - * When there are multiple matching contexts, the most recently added one is - * used. - * @since v0.5.3 - * @param hostname A SNI host name or wildcard (e.g. `'*'`) - * @param context An object containing any of the possible properties from the {@link createSecureContext} `options` arguments (e.g. `key`, `cert`, `ca`, etc), or a TLS context object created - * with {@link createSecureContext} itself. - */ - addContext(hostname: string, context: SecureContextOptions): void; - /** - * Returns the session ticket keys. - * - * See `Session Resumption` for more information. - * @since v3.0.0 - * @return A 48-byte buffer containing the session ticket keys. - */ - getTicketKeys(): Buffer; - /** - * The `server.setSecureContext()` method replaces the secure context of an - * existing server. Existing connections to the server are not interrupted. - * @since v11.0.0 - * @param options An object containing any of the possible properties from the {@link createSecureContext} `options` arguments (e.g. `key`, `cert`, `ca`, etc). - */ - setSecureContext(options: SecureContextOptions): void; - /** - * Sets the session ticket keys. - * - * Changes to the ticket keys are effective only for future server connections. - * Existing or currently pending server connections will use the previous keys. - * - * See `Session Resumption` for more information. - * @since v3.0.0 - * @param keys A 48-byte buffer containing the session ticket keys. - */ - setTicketKeys(keys: Buffer): void; - /** - * events.EventEmitter - * 1. tlsClientError - * 2. newSession - * 3. OCSPRequest - * 4. resumeSession - * 5. secureConnection - * 6. keylog - */ - addListener(event: string, listener: (...args: any[]) => void): this; - addListener(event: "tlsClientError", listener: (err: Error, tlsSocket: TLSSocket) => void): this; - addListener( - event: "newSession", - listener: (sessionId: Buffer, sessionData: Buffer, callback: () => void) => void, - ): this; - addListener( - event: "OCSPRequest", - listener: ( - certificate: Buffer, - issuer: Buffer, - callback: (err: Error | null, resp: Buffer) => void, - ) => void, - ): this; - addListener( - event: "resumeSession", - listener: (sessionId: Buffer, callback: (err: Error | null, sessionData: Buffer | null) => void) => void, - ): this; - addListener(event: "secureConnection", listener: (tlsSocket: TLSSocket) => void): this; - addListener(event: "keylog", listener: (line: Buffer, tlsSocket: TLSSocket) => void): this; - emit(event: string | symbol, ...args: any[]): boolean; - emit(event: "tlsClientError", err: Error, tlsSocket: TLSSocket): boolean; - emit(event: "newSession", sessionId: Buffer, sessionData: Buffer, callback: () => void): boolean; - emit( - event: "OCSPRequest", - certificate: Buffer, - issuer: Buffer, - callback: (err: Error | null, resp: Buffer) => void, - ): boolean; - emit( - event: "resumeSession", - sessionId: Buffer, - callback: (err: Error | null, sessionData: Buffer | null) => void, - ): boolean; - emit(event: "secureConnection", tlsSocket: TLSSocket): boolean; - emit(event: "keylog", line: Buffer, tlsSocket: TLSSocket): boolean; - on(event: string, listener: (...args: any[]) => void): this; - on(event: "tlsClientError", listener: (err: Error, tlsSocket: TLSSocket) => void): this; - on(event: "newSession", listener: (sessionId: Buffer, sessionData: Buffer, callback: () => void) => void): this; - on( - event: "OCSPRequest", - listener: ( - certificate: Buffer, - issuer: Buffer, - callback: (err: Error | null, resp: Buffer) => void, - ) => void, - ): this; - on( - event: "resumeSession", - listener: (sessionId: Buffer, callback: (err: Error | null, sessionData: Buffer | null) => void) => void, - ): this; - on(event: "secureConnection", listener: (tlsSocket: TLSSocket) => void): this; - on(event: "keylog", listener: (line: Buffer, tlsSocket: TLSSocket) => void): this; - once(event: string, listener: (...args: any[]) => void): this; - once(event: "tlsClientError", listener: (err: Error, tlsSocket: TLSSocket) => void): this; - once( - event: "newSession", - listener: (sessionId: Buffer, sessionData: Buffer, callback: () => void) => void, - ): this; - once( - event: "OCSPRequest", - listener: ( - certificate: Buffer, - issuer: Buffer, - callback: (err: Error | null, resp: Buffer) => void, - ) => void, - ): this; - once( - event: "resumeSession", - listener: (sessionId: Buffer, callback: (err: Error | null, sessionData: Buffer | null) => void) => void, - ): this; - once(event: "secureConnection", listener: (tlsSocket: TLSSocket) => void): this; - once(event: "keylog", listener: (line: Buffer, tlsSocket: TLSSocket) => void): this; - prependListener(event: string, listener: (...args: any[]) => void): this; - prependListener(event: "tlsClientError", listener: (err: Error, tlsSocket: TLSSocket) => void): this; - prependListener( - event: "newSession", - listener: (sessionId: Buffer, sessionData: Buffer, callback: () => void) => void, - ): this; - prependListener( - event: "OCSPRequest", - listener: ( - certificate: Buffer, - issuer: Buffer, - callback: (err: Error | null, resp: Buffer) => void, - ) => void, - ): this; - prependListener( - event: "resumeSession", - listener: (sessionId: Buffer, callback: (err: Error | null, sessionData: Buffer | null) => void) => void, - ): this; - prependListener(event: "secureConnection", listener: (tlsSocket: TLSSocket) => void): this; - prependListener(event: "keylog", listener: (line: Buffer, tlsSocket: TLSSocket) => void): this; - prependOnceListener(event: string, listener: (...args: any[]) => void): this; - prependOnceListener(event: "tlsClientError", listener: (err: Error, tlsSocket: TLSSocket) => void): this; - prependOnceListener( - event: "newSession", - listener: (sessionId: Buffer, sessionData: Buffer, callback: () => void) => void, - ): this; - prependOnceListener( - event: "OCSPRequest", - listener: ( - certificate: Buffer, - issuer: Buffer, - callback: (err: Error | null, resp: Buffer) => void, - ) => void, - ): this; - prependOnceListener( - event: "resumeSession", - listener: (sessionId: Buffer, callback: (err: Error | null, sessionData: Buffer | null) => void) => void, - ): this; - prependOnceListener(event: "secureConnection", listener: (tlsSocket: TLSSocket) => void): this; - prependOnceListener(event: "keylog", listener: (line: Buffer, tlsSocket: TLSSocket) => void): this; - } - /** - * @deprecated since v0.11.3 Use `tls.TLSSocket` instead. - */ - interface SecurePair { - encrypted: TLSSocket; - cleartext: TLSSocket; - } - type SecureVersion = "TLSv1.3" | "TLSv1.2" | "TLSv1.1" | "TLSv1"; - interface SecureContextOptions { - /** - * If set, this will be called when a client opens a connection using the ALPN extension. - * One argument will be passed to the callback: an object containing `servername` and `protocols` fields, - * respectively containing the server name from the SNI extension (if any) and an array of - * ALPN protocol name strings. The callback must return either one of the strings listed in `protocols`, - * which will be returned to the client as the selected ALPN protocol, or `undefined`, - * to reject the connection with a fatal alert. If a string is returned that does not match one of - * the client's ALPN protocols, an error will be thrown. - * This option cannot be used with the `ALPNProtocols` option, and setting both options will throw an error. - */ - ALPNCallback?: ((arg: { servername: string; protocols: string[] }) => string | undefined) | undefined; - /** - * Optionally override the trusted CA certificates. Default is to trust - * the well-known CAs curated by Mozilla. Mozilla's CAs are completely - * replaced when CAs are explicitly specified using this option. - */ - ca?: string | Buffer | Array | undefined; - /** - * Cert chains in PEM format. One cert chain should be provided per - * private key. Each cert chain should consist of the PEM formatted - * certificate for a provided private key, followed by the PEM - * formatted intermediate certificates (if any), in order, and not - * including the root CA (the root CA must be pre-known to the peer, - * see ca). When providing multiple cert chains, they do not have to - * be in the same order as their private keys in key. If the - * intermediate certificates are not provided, the peer will not be - * able to validate the certificate, and the handshake will fail. - */ - cert?: string | Buffer | Array | undefined; - /** - * Colon-separated list of supported signature algorithms. The list - * can contain digest algorithms (SHA256, MD5 etc.), public key - * algorithms (RSA-PSS, ECDSA etc.), combination of both (e.g - * 'RSA+SHA384') or TLS v1.3 scheme names (e.g. rsa_pss_pss_sha512). - */ - sigalgs?: string | undefined; - /** - * Cipher suite specification, replacing the default. For more - * information, see modifying the default cipher suite. Permitted - * ciphers can be obtained via tls.getCiphers(). Cipher names must be - * uppercased in order for OpenSSL to accept them. - */ - ciphers?: string | undefined; - /** - * Name of an OpenSSL engine which can provide the client certificate. - */ - clientCertEngine?: string | undefined; - /** - * PEM formatted CRLs (Certificate Revocation Lists). - */ - crl?: string | Buffer | Array | undefined; - /** - * `'auto'` or custom Diffie-Hellman parameters, required for non-ECDHE perfect forward secrecy. - * If omitted or invalid, the parameters are silently discarded and DHE ciphers will not be available. - * ECDHE-based perfect forward secrecy will still be available. - */ - dhparam?: string | Buffer | undefined; - /** - * A string describing a named curve or a colon separated list of curve - * NIDs or names, for example P-521:P-384:P-256, to use for ECDH key - * agreement. Set to auto to select the curve automatically. Use - * crypto.getCurves() to obtain a list of available curve names. On - * recent releases, openssl ecparam -list_curves will also display the - * name and description of each available elliptic curve. Default: - * tls.DEFAULT_ECDH_CURVE. - */ - ecdhCurve?: string | undefined; - /** - * Attempt to use the server's cipher suite preferences instead of the - * client's. When true, causes SSL_OP_CIPHER_SERVER_PREFERENCE to be - * set in secureOptions - */ - honorCipherOrder?: boolean | undefined; - /** - * Private keys in PEM format. PEM allows the option of private keys - * being encrypted. Encrypted keys will be decrypted with - * options.passphrase. Multiple keys using different algorithms can be - * provided either as an array of unencrypted key strings or buffers, - * or an array of objects in the form {pem: [, - * passphrase: ]}. The object form can only occur in an array. - * object.passphrase is optional. Encrypted keys will be decrypted with - * object.passphrase if provided, or options.passphrase if it is not. - */ - key?: string | Buffer | Array | undefined; - /** - * Name of an OpenSSL engine to get private key from. Should be used - * together with privateKeyIdentifier. - */ - privateKeyEngine?: string | undefined; - /** - * Identifier of a private key managed by an OpenSSL engine. Should be - * used together with privateKeyEngine. Should not be set together with - * key, because both options define a private key in different ways. - */ - privateKeyIdentifier?: string | undefined; - /** - * Optionally set the maximum TLS version to allow. One - * of `'TLSv1.3'`, `'TLSv1.2'`, `'TLSv1.1'`, or `'TLSv1'`. Cannot be specified along with the - * `secureProtocol` option, use one or the other. - * **Default:** `'TLSv1.3'`, unless changed using CLI options. Using - * `--tls-max-v1.2` sets the default to `'TLSv1.2'`. Using `--tls-max-v1.3` sets the default to - * `'TLSv1.3'`. If multiple of the options are provided, the highest maximum is used. - */ - maxVersion?: SecureVersion | undefined; - /** - * Optionally set the minimum TLS version to allow. One - * of `'TLSv1.3'`, `'TLSv1.2'`, `'TLSv1.1'`, or `'TLSv1'`. Cannot be specified along with the - * `secureProtocol` option, use one or the other. It is not recommended to use - * less than TLSv1.2, but it may be required for interoperability. - * **Default:** `'TLSv1.2'`, unless changed using CLI options. Using - * `--tls-v1.0` sets the default to `'TLSv1'`. Using `--tls-v1.1` sets the default to - * `'TLSv1.1'`. Using `--tls-min-v1.3` sets the default to - * 'TLSv1.3'. If multiple of the options are provided, the lowest minimum is used. - */ - minVersion?: SecureVersion | undefined; - /** - * Shared passphrase used for a single private key and/or a PFX. - */ - passphrase?: string | undefined; - /** - * PFX or PKCS12 encoded private key and certificate chain. pfx is an - * alternative to providing key and cert individually. PFX is usually - * encrypted, if it is, passphrase will be used to decrypt it. Multiple - * PFX can be provided either as an array of unencrypted PFX buffers, - * or an array of objects in the form {buf: [, - * passphrase: ]}. The object form can only occur in an array. - * object.passphrase is optional. Encrypted PFX will be decrypted with - * object.passphrase if provided, or options.passphrase if it is not. - */ - pfx?: string | Buffer | Array | undefined; - /** - * Optionally affect the OpenSSL protocol behavior, which is not - * usually necessary. This should be used carefully if at all! Value is - * a numeric bitmask of the SSL_OP_* options from OpenSSL Options - */ - secureOptions?: number | undefined; // Value is a numeric bitmask of the `SSL_OP_*` options - /** - * Legacy mechanism to select the TLS protocol version to use, it does - * not support independent control of the minimum and maximum version, - * and does not support limiting the protocol to TLSv1.3. Use - * minVersion and maxVersion instead. The possible values are listed as - * SSL_METHODS, use the function names as strings. For example, use - * 'TLSv1_1_method' to force TLS version 1.1, or 'TLS_method' to allow - * any TLS protocol version up to TLSv1.3. It is not recommended to use - * TLS versions less than 1.2, but it may be required for - * interoperability. Default: none, see minVersion. - */ - secureProtocol?: string | undefined; - /** - * Opaque identifier used by servers to ensure session state is not - * shared between applications. Unused by clients. - */ - sessionIdContext?: string | undefined; - /** - * 48-bytes of cryptographically strong pseudo-random data. - * See Session Resumption for more information. - */ - ticketKeys?: Buffer | undefined; - /** - * The number of seconds after which a TLS session created by the - * server will no longer be resumable. See Session Resumption for more - * information. Default: 300. - */ - sessionTimeout?: number | undefined; - } - interface SecureContext { - context: any; - } - /** - * Verifies the certificate `cert` is issued to `hostname`. - * - * Returns [Error](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Error) object, populating it with `reason`, `host`, and `cert` on - * failure. On success, returns [undefined](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Undefined_type). - * - * This function is intended to be used in combination with the`checkServerIdentity` option that can be passed to {@link connect} and as - * such operates on a `certificate object`. For other purposes, consider using `x509.checkHost()` instead. - * - * This function can be overwritten by providing an alternative function as the`options.checkServerIdentity` option that is passed to `tls.connect()`. The - * overwriting function can call `tls.checkServerIdentity()` of course, to augment - * the checks done with additional verification. - * - * This function is only called if the certificate passed all other checks, such as - * being issued by trusted CA (`options.ca`). - * - * Earlier versions of Node.js incorrectly accepted certificates for a given`hostname` if a matching `uniformResourceIdentifier` subject alternative name - * was present (see [CVE-2021-44531](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-44531)). Applications that wish to accept`uniformResourceIdentifier` subject alternative names can use - * a custom`options.checkServerIdentity` function that implements the desired behavior. - * @since v0.8.4 - * @param hostname The host name or IP address to verify the certificate against. - * @param cert A `certificate object` representing the peer's certificate. - */ - function checkServerIdentity(hostname: string, cert: PeerCertificate): Error | undefined; - /** - * Creates a new {@link Server}. The `secureConnectionListener`, if provided, is - * automatically set as a listener for the `'secureConnection'` event. - * - * The `ticketKeys` options is automatically shared between `node:cluster` module - * workers. - * - * The following illustrates a simple echo server: - * - * ```js - * const tls = require('node:tls'); - * const fs = require('node:fs'); - * - * const options = { - * key: fs.readFileSync('server-key.pem'), - * cert: fs.readFileSync('server-cert.pem'), - * - * // This is necessary only if using client certificate authentication. - * requestCert: true, - * - * // This is necessary only if the client uses a self-signed certificate. - * ca: [ fs.readFileSync('client-cert.pem') ], - * }; - * - * const server = tls.createServer(options, (socket) => { - * console.log('server connected', - * socket.authorized ? 'authorized' : 'unauthorized'); - * socket.write('welcome!\n'); - * socket.setEncoding('utf8'); - * socket.pipe(socket); - * }); - * server.listen(8000, () => { - * console.log('server bound'); - * }); - * ``` - * - * The server can be tested by connecting to it using the example client from {@link connect}. - * @since v0.3.2 - */ - function createServer(secureConnectionListener?: (socket: TLSSocket) => void): Server; - function createServer(options: TlsOptions, secureConnectionListener?: (socket: TLSSocket) => void): Server; - /** - * The `callback` function, if specified, will be added as a listener for the `'secureConnect'` event. - * - * `tls.connect()` returns a {@link TLSSocket} object. - * - * Unlike the `https` API, `tls.connect()` does not enable the - * SNI (Server Name Indication) extension by default, which may cause some - * servers to return an incorrect certificate or reject the connection - * altogether. To enable SNI, set the `servername` option in addition - * to `host`. - * - * The following illustrates a client for the echo server example from {@link createServer}: - * - * ```js - * // Assumes an echo server that is listening on port 8000. - * const tls = require('node:tls'); - * const fs = require('node:fs'); - * - * const options = { - * // Necessary only if the server requires client certificate authentication. - * key: fs.readFileSync('client-key.pem'), - * cert: fs.readFileSync('client-cert.pem'), - * - * // Necessary only if the server uses a self-signed certificate. - * ca: [ fs.readFileSync('server-cert.pem') ], - * - * // Necessary only if the server's cert isn't for "localhost". - * checkServerIdentity: () => { return null; }, - * }; - * - * const socket = tls.connect(8000, options, () => { - * console.log('client connected', - * socket.authorized ? 'authorized' : 'unauthorized'); - * process.stdin.pipe(socket); - * process.stdin.resume(); - * }); - * socket.setEncoding('utf8'); - * socket.on('data', (data) => { - * console.log(data); - * }); - * socket.on('end', () => { - * console.log('server ends connection'); - * }); - * ``` - * @since v0.11.3 - */ - function connect(options: ConnectionOptions, secureConnectListener?: () => void): TLSSocket; - function connect( - port: number, - host?: string, - options?: ConnectionOptions, - secureConnectListener?: () => void, - ): TLSSocket; - function connect(port: number, options?: ConnectionOptions, secureConnectListener?: () => void): TLSSocket; - /** - * Creates a new secure pair object with two streams, one of which reads and writes - * the encrypted data and the other of which reads and writes the cleartext data. - * Generally, the encrypted stream is piped to/from an incoming encrypted data - * stream and the cleartext one is used as a replacement for the initial encrypted - * stream. - * - * `tls.createSecurePair()` returns a `tls.SecurePair` object with `cleartext` and`encrypted` stream properties. - * - * Using `cleartext` has the same API as {@link TLSSocket}. - * - * The `tls.createSecurePair()` method is now deprecated in favor of`tls.TLSSocket()`. For example, the code: - * - * ```js - * pair = tls.createSecurePair(// ... ); - * pair.encrypted.pipe(socket); - * socket.pipe(pair.encrypted); - * ``` - * - * can be replaced by: - * - * ```js - * secureSocket = tls.TLSSocket(socket, options); - * ``` - * - * where `secureSocket` has the same API as `pair.cleartext`. - * @since v0.3.2 - * @deprecated Since v0.11.3 - Use {@link TLSSocket} instead. - * @param context A secure context object as returned by `tls.createSecureContext()` - * @param isServer `true` to specify that this TLS connection should be opened as a server. - * @param requestCert `true` to specify whether a server should request a certificate from a connecting client. Only applies when `isServer` is `true`. - * @param rejectUnauthorized If not `false` a server automatically reject clients with invalid certificates. Only applies when `isServer` is `true`. - */ - function createSecurePair( - context?: SecureContext, - isServer?: boolean, - requestCert?: boolean, - rejectUnauthorized?: boolean, - ): SecurePair; - /** - * {@link createServer} sets the default value of the `honorCipherOrder` option - * to `true`, other APIs that create secure contexts leave it unset. - * - * {@link createServer} uses a 128 bit truncated SHA1 hash value generated - * from `process.argv` as the default value of the `sessionIdContext` option, other - * APIs that create secure contexts have no default value. - * - * The `tls.createSecureContext()` method creates a `SecureContext` object. It is - * usable as an argument to several `tls` APIs, such as `server.addContext()`, - * but has no public methods. The {@link Server} constructor and the {@link createServer} method do not support the `secureContext` option. - * - * A key is _required_ for ciphers that use certificates. Either `key` or`pfx` can be used to provide it. - * - * If the `ca` option is not given, then Node.js will default to using [Mozilla's publicly trusted list of - * CAs](https://hg.mozilla.org/mozilla-central/raw-file/tip/security/nss/lib/ckfw/builtins/certdata.txt). - * - * Custom DHE parameters are discouraged in favor of the new `dhparam: 'auto'`option. When set to `'auto'`, well-known DHE parameters of sufficient strength - * will be selected automatically. Otherwise, if necessary, `openssl dhparam` can - * be used to create custom parameters. The key length must be greater than or - * equal to 1024 bits or else an error will be thrown. Although 1024 bits is - * permissible, use 2048 bits or larger for stronger security. - * @since v0.11.13 - */ - function createSecureContext(options?: SecureContextOptions): SecureContext; - /** - * Returns an array with the names of the supported TLS ciphers. The names are - * lower-case for historical reasons, but must be uppercased to be used in - * the `ciphers` option of {@link createSecureContext}. - * - * Not all supported ciphers are enabled by default. See `Modifying the default TLS cipher suite`. - * - * Cipher names that start with `'tls_'` are for TLSv1.3, all the others are for - * TLSv1.2 and below. - * - * ```js - * console.log(tls.getCiphers()); // ['aes128-gcm-sha256', 'aes128-sha', ...] - * ``` - * @since v0.10.2 - */ - function getCiphers(): string[]; - /** - * The default curve name to use for ECDH key agreement in a tls server. - * The default value is 'auto'. See tls.createSecureContext() for further - * information. - */ - let DEFAULT_ECDH_CURVE: string; - /** - * The default value of the maxVersion option of - * tls.createSecureContext(). It can be assigned any of the supported TLS - * protocol versions, 'TLSv1.3', 'TLSv1.2', 'TLSv1.1', or 'TLSv1'. Default: - * 'TLSv1.3', unless changed using CLI options. Using --tls-max-v1.2 sets - * the default to 'TLSv1.2'. Using --tls-max-v1.3 sets the default to - * 'TLSv1.3'. If multiple of the options are provided, the highest maximum - * is used. - */ - let DEFAULT_MAX_VERSION: SecureVersion; - /** - * The default value of the minVersion option of tls.createSecureContext(). - * It can be assigned any of the supported TLS protocol versions, - * 'TLSv1.3', 'TLSv1.2', 'TLSv1.1', or 'TLSv1'. Default: 'TLSv1.2', unless - * changed using CLI options. Using --tls-min-v1.0 sets the default to - * 'TLSv1'. Using --tls-min-v1.1 sets the default to 'TLSv1.1'. Using - * --tls-min-v1.3 sets the default to 'TLSv1.3'. If multiple of the options - * are provided, the lowest minimum is used. - */ - let DEFAULT_MIN_VERSION: SecureVersion; - /** - * The default value of the ciphers option of tls.createSecureContext(). - * It can be assigned any of the supported OpenSSL ciphers. - * Defaults to the content of crypto.constants.defaultCoreCipherList, unless - * changed using CLI options using --tls-default-ciphers. - */ - let DEFAULT_CIPHERS: string; - /** - * An immutable array of strings representing the root certificates (in PEM - * format) used for verifying peer certificates. This is the default value - * of the ca option to tls.createSecureContext(). - */ - const rootCertificates: readonly string[]; -} -declare module "node:tls" { - export * from "tls"; -} diff --git a/node_modules/@types/node/ts4.8/trace_events.d.ts b/node_modules/@types/node/ts4.8/trace_events.d.ts deleted file mode 100644 index 3361359..0000000 --- a/node_modules/@types/node/ts4.8/trace_events.d.ts +++ /dev/null @@ -1,182 +0,0 @@ -/** - * The `node:trace_events` module provides a mechanism to centralize tracing - * information generated by V8, Node.js core, and userspace code. - * - * Tracing can be enabled with the `--trace-event-categories` command-line flag - * or by using the `node:trace_events` module. The `--trace-event-categories` flag - * accepts a list of comma-separated category names. - * - * The available categories are: - * - * * `node`: An empty placeholder. - * * `node.async_hooks`: Enables capture of detailed `async_hooks` trace data. - * The `async_hooks` events have a unique `asyncId` and a special `triggerId` `triggerAsyncId` property. - * * `node.bootstrap`: Enables capture of Node.js bootstrap milestones. - * * `node.console`: Enables capture of `console.time()` and `console.count()`output. - * * `node.threadpoolwork.sync`: Enables capture of trace data for threadpool - * synchronous operations, such as `blob`, `zlib`, `crypto` and `node_api`. - * * `node.threadpoolwork.async`: Enables capture of trace data for threadpool - * asynchronous operations, such as `blob`, `zlib`, `crypto` and `node_api`. - * * `node.dns.native`: Enables capture of trace data for DNS queries. - * * `node.net.native`: Enables capture of trace data for network. - * * `node.environment`: Enables capture of Node.js Environment milestones. - * * `node.fs.sync`: Enables capture of trace data for file system sync methods. - * * `node.fs_dir.sync`: Enables capture of trace data for file system sync - * directory methods. - * * `node.fs.async`: Enables capture of trace data for file system async methods. - * * `node.fs_dir.async`: Enables capture of trace data for file system async - * directory methods. - * * `node.perf`: Enables capture of `Performance API` measurements. - * * `node.perf.usertiming`: Enables capture of only Performance API User Timing - * measures and marks. - * * `node.perf.timerify`: Enables capture of only Performance API timerify - * measurements. - * * `node.promises.rejections`: Enables capture of trace data tracking the number - * of unhandled Promise rejections and handled-after-rejections. - * * `node.vm.script`: Enables capture of trace data for the `node:vm` module's`runInNewContext()`, `runInContext()`, and `runInThisContext()` methods. - * * `v8`: The `V8` events are GC, compiling, and execution related. - * * `node.http`: Enables capture of trace data for http request / response. - * - * By default the `node`, `node.async_hooks`, and `v8` categories are enabled. - * - * ```bash - * node --trace-event-categories v8,node,node.async_hooks server.js - * ``` - * - * Prior versions of Node.js required the use of the `--trace-events-enabled`flag to enable trace events. This requirement has been removed. However, the`--trace-events-enabled` flag _may_ still be - * used and will enable the`node`, `node.async_hooks`, and `v8` trace event categories by default. - * - * ```bash - * node --trace-events-enabled - * - * # is equivalent to - * - * node --trace-event-categories v8,node,node.async_hooks - * ``` - * - * Alternatively, trace events may be enabled using the `node:trace_events` module: - * - * ```js - * const trace_events = require('node:trace_events'); - * const tracing = trace_events.createTracing({ categories: ['node.perf'] }); - * tracing.enable(); // Enable trace event capture for the 'node.perf' category - * - * // do work - * - * tracing.disable(); // Disable trace event capture for the 'node.perf' category - * ``` - * - * Running Node.js with tracing enabled will produce log files that can be opened - * in the [`chrome://tracing`](https://www.chromium.org/developers/how-tos/trace-event-profiling-tool) tab of Chrome. - * - * The logging file is by default called `node_trace.${rotation}.log`, where`${rotation}` is an incrementing log-rotation id. The filepath pattern can - * be specified with `--trace-event-file-pattern` that accepts a template - * string that supports `${rotation}` and `${pid}`: - * - * ```bash - * node --trace-event-categories v8 --trace-event-file-pattern '${pid}-${rotation}.log' server.js - * ``` - * - * To guarantee that the log file is properly generated after signal events like`SIGINT`, `SIGTERM`, or `SIGBREAK`, make sure to have the appropriate handlers - * in your code, such as: - * - * ```js - * process.on('SIGINT', function onSigint() { - * console.info('Received SIGINT.'); - * process.exit(130); // Or applicable exit code depending on OS and signal - * }); - * ``` - * - * The tracing system uses the same time source - * as the one used by `process.hrtime()`. - * However the trace-event timestamps are expressed in microseconds, - * unlike `process.hrtime()` which returns nanoseconds. - * - * The features from this module are not available in `Worker` threads. - * @experimental - * @see [source](https://github.com/nodejs/node/blob/v20.2.0/lib/trace_events.js) - */ -declare module "trace_events" { - /** - * The `Tracing` object is used to enable or disable tracing for sets of - * categories. Instances are created using the - * `trace_events.createTracing()` method. - * - * When created, the `Tracing` object is disabled. Calling the - * `tracing.enable()` method adds the categories to the set of enabled trace - * event categories. Calling `tracing.disable()` will remove the categories - * from the set of enabled trace event categories. - */ - interface Tracing { - /** - * A comma-separated list of the trace event categories covered by this - * `Tracing` object. - */ - readonly categories: string; - /** - * Disables this `Tracing` object. - * - * Only trace event categories _not_ covered by other enabled `Tracing` - * objects and _not_ specified by the `--trace-event-categories` flag - * will be disabled. - */ - disable(): void; - /** - * Enables this `Tracing` object for the set of categories covered by - * the `Tracing` object. - */ - enable(): void; - /** - * `true` only if the `Tracing` object has been enabled. - */ - readonly enabled: boolean; - } - interface CreateTracingOptions { - /** - * An array of trace category names. Values included in the array are - * coerced to a string when possible. An error will be thrown if the - * value cannot be coerced. - */ - categories: string[]; - } - /** - * Creates and returns a `Tracing` object for the given set of `categories`. - * - * ```js - * const trace_events = require('node:trace_events'); - * const categories = ['node.perf', 'node.async_hooks']; - * const tracing = trace_events.createTracing({ categories }); - * tracing.enable(); - * // do stuff - * tracing.disable(); - * ``` - * @since v10.0.0 - * @return . - */ - function createTracing(options: CreateTracingOptions): Tracing; - /** - * Returns a comma-separated list of all currently-enabled trace event - * categories. The current set of enabled trace event categories is determined - * by the _union_ of all currently-enabled `Tracing` objects and any categories - * enabled using the `--trace-event-categories` flag. - * - * Given the file `test.js` below, the command`node --trace-event-categories node.perf test.js` will print`'node.async_hooks,node.perf'` to the console. - * - * ```js - * const trace_events = require('node:trace_events'); - * const t1 = trace_events.createTracing({ categories: ['node.async_hooks'] }); - * const t2 = trace_events.createTracing({ categories: ['node.perf'] }); - * const t3 = trace_events.createTracing({ categories: ['v8'] }); - * - * t1.enable(); - * t2.enable(); - * - * console.log(trace_events.getEnabledCategories()); - * ``` - * @since v10.0.0 - */ - function getEnabledCategories(): string | undefined; -} -declare module "node:trace_events" { - export * from "trace_events"; -} diff --git a/node_modules/@types/node/ts4.8/tty.d.ts b/node_modules/@types/node/ts4.8/tty.d.ts deleted file mode 100644 index 1c0dafd..0000000 --- a/node_modules/@types/node/ts4.8/tty.d.ts +++ /dev/null @@ -1,208 +0,0 @@ -/** - * The `node:tty` module provides the `tty.ReadStream` and `tty.WriteStream`classes. In most cases, it will not be necessary or possible to use this module - * directly. However, it can be accessed using: - * - * ```js - * const tty = require('node:tty'); - * ``` - * - * When Node.js detects that it is being run with a text terminal ("TTY") - * attached, `process.stdin` will, by default, be initialized as an instance of`tty.ReadStream` and both `process.stdout` and `process.stderr` will, by - * default, be instances of `tty.WriteStream`. The preferred method of determining - * whether Node.js is being run within a TTY context is to check that the value of - * the `process.stdout.isTTY` property is `true`: - * - * ```console - * $ node -p -e "Boolean(process.stdout.isTTY)" - * true - * $ node -p -e "Boolean(process.stdout.isTTY)" | cat - * false - * ``` - * - * In most cases, there should be little to no reason for an application to - * manually create instances of the `tty.ReadStream` and `tty.WriteStream`classes. - * @see [source](https://github.com/nodejs/node/blob/v20.2.0/lib/tty.js) - */ -declare module "tty" { - import * as net from "node:net"; - /** - * The `tty.isatty()` method returns `true` if the given `fd` is associated with - * a TTY and `false` if it is not, including whenever `fd` is not a non-negative - * integer. - * @since v0.5.8 - * @param fd A numeric file descriptor - */ - function isatty(fd: number): boolean; - /** - * Represents the readable side of a TTY. In normal circumstances `process.stdin` will be the only `tty.ReadStream` instance in a Node.js - * process and there should be no reason to create additional instances. - * @since v0.5.8 - */ - class ReadStream extends net.Socket { - constructor(fd: number, options?: net.SocketConstructorOpts); - /** - * A `boolean` that is `true` if the TTY is currently configured to operate as a - * raw device. - * - * This flag is always `false` when a process starts, even if the terminal is - * operating in raw mode. Its value will change with subsequent calls to`setRawMode`. - * @since v0.7.7 - */ - isRaw: boolean; - /** - * Allows configuration of `tty.ReadStream` so that it operates as a raw device. - * - * When in raw mode, input is always available character-by-character, not - * including modifiers. Additionally, all special processing of characters by the - * terminal is disabled, including echoing input - * characters. Ctrl+C will no longer cause a `SIGINT` when - * in this mode. - * @since v0.7.7 - * @param mode If `true`, configures the `tty.ReadStream` to operate as a raw device. If `false`, configures the `tty.ReadStream` to operate in its default mode. The `readStream.isRaw` - * property will be set to the resulting mode. - * @return The read stream instance. - */ - setRawMode(mode: boolean): this; - /** - * A `boolean` that is always `true` for `tty.ReadStream` instances. - * @since v0.5.8 - */ - isTTY: boolean; - } - /** - * -1 - to the left from cursor - * 0 - the entire line - * 1 - to the right from cursor - */ - type Direction = -1 | 0 | 1; - /** - * Represents the writable side of a TTY. In normal circumstances,`process.stdout` and `process.stderr` will be the only`tty.WriteStream` instances created for a Node.js process and there - * should be no reason to create additional instances. - * @since v0.5.8 - */ - class WriteStream extends net.Socket { - constructor(fd: number); - addListener(event: string, listener: (...args: any[]) => void): this; - addListener(event: "resize", listener: () => void): this; - emit(event: string | symbol, ...args: any[]): boolean; - emit(event: "resize"): boolean; - on(event: string, listener: (...args: any[]) => void): this; - on(event: "resize", listener: () => void): this; - once(event: string, listener: (...args: any[]) => void): this; - once(event: "resize", listener: () => void): this; - prependListener(event: string, listener: (...args: any[]) => void): this; - prependListener(event: "resize", listener: () => void): this; - prependOnceListener(event: string, listener: (...args: any[]) => void): this; - prependOnceListener(event: "resize", listener: () => void): this; - /** - * `writeStream.clearLine()` clears the current line of this `WriteStream` in a - * direction identified by `dir`. - * @since v0.7.7 - * @param callback Invoked once the operation completes. - * @return `false` if the stream wishes for the calling code to wait for the `'drain'` event to be emitted before continuing to write additional data; otherwise `true`. - */ - clearLine(dir: Direction, callback?: () => void): boolean; - /** - * `writeStream.clearScreenDown()` clears this `WriteStream` from the current - * cursor down. - * @since v0.7.7 - * @param callback Invoked once the operation completes. - * @return `false` if the stream wishes for the calling code to wait for the `'drain'` event to be emitted before continuing to write additional data; otherwise `true`. - */ - clearScreenDown(callback?: () => void): boolean; - /** - * `writeStream.cursorTo()` moves this `WriteStream`'s cursor to the specified - * position. - * @since v0.7.7 - * @param callback Invoked once the operation completes. - * @return `false` if the stream wishes for the calling code to wait for the `'drain'` event to be emitted before continuing to write additional data; otherwise `true`. - */ - cursorTo(x: number, y?: number, callback?: () => void): boolean; - cursorTo(x: number, callback: () => void): boolean; - /** - * `writeStream.moveCursor()` moves this `WriteStream`'s cursor _relative_ to its - * current position. - * @since v0.7.7 - * @param callback Invoked once the operation completes. - * @return `false` if the stream wishes for the calling code to wait for the `'drain'` event to be emitted before continuing to write additional data; otherwise `true`. - */ - moveCursor(dx: number, dy: number, callback?: () => void): boolean; - /** - * Returns: - * - * * `1` for 2, - * * `4` for 16, - * * `8` for 256, - * * `24` for 16,777,216 colors supported. - * - * Use this to determine what colors the terminal supports. Due to the nature of - * colors in terminals it is possible to either have false positives or false - * negatives. It depends on process information and the environment variables that - * may lie about what terminal is used. - * It is possible to pass in an `env` object to simulate the usage of a specific - * terminal. This can be useful to check how specific environment settings behave. - * - * To enforce a specific color support, use one of the below environment settings. - * - * * 2 colors: `FORCE_COLOR = 0` (Disables colors) - * * 16 colors: `FORCE_COLOR = 1` - * * 256 colors: `FORCE_COLOR = 2` - * * 16,777,216 colors: `FORCE_COLOR = 3` - * - * Disabling color support is also possible by using the `NO_COLOR` and`NODE_DISABLE_COLORS` environment variables. - * @since v9.9.0 - * @param [env=process.env] An object containing the environment variables to check. This enables simulating the usage of a specific terminal. - */ - getColorDepth(env?: object): number; - /** - * Returns `true` if the `writeStream` supports at least as many colors as provided - * in `count`. Minimum support is 2 (black and white). - * - * This has the same false positives and negatives as described in `writeStream.getColorDepth()`. - * - * ```js - * process.stdout.hasColors(); - * // Returns true or false depending on if `stdout` supports at least 16 colors. - * process.stdout.hasColors(256); - * // Returns true or false depending on if `stdout` supports at least 256 colors. - * process.stdout.hasColors({ TMUX: '1' }); - * // Returns true. - * process.stdout.hasColors(2 ** 24, { TMUX: '1' }); - * // Returns false (the environment setting pretends to support 2 ** 8 colors). - * ``` - * @since v11.13.0, v10.16.0 - * @param [count=16] The number of colors that are requested (minimum 2). - * @param [env=process.env] An object containing the environment variables to check. This enables simulating the usage of a specific terminal. - */ - hasColors(count?: number): boolean; - hasColors(env?: object): boolean; - hasColors(count: number, env?: object): boolean; - /** - * `writeStream.getWindowSize()` returns the size of the TTY - * corresponding to this `WriteStream`. The array is of the type`[numColumns, numRows]` where `numColumns` and `numRows` represent the number - * of columns and rows in the corresponding TTY. - * @since v0.7.7 - */ - getWindowSize(): [number, number]; - /** - * A `number` specifying the number of columns the TTY currently has. This property - * is updated whenever the `'resize'` event is emitted. - * @since v0.7.7 - */ - columns: number; - /** - * A `number` specifying the number of rows the TTY currently has. This property - * is updated whenever the `'resize'` event is emitted. - * @since v0.7.7 - */ - rows: number; - /** - * A `boolean` that is always `true`. - * @since v0.5.8 - */ - isTTY: boolean; - } -} -declare module "node:tty" { - export * from "tty"; -} diff --git a/node_modules/@types/node/ts4.8/url.d.ts b/node_modules/@types/node/ts4.8/url.d.ts deleted file mode 100644 index dc2d0a0..0000000 --- a/node_modules/@types/node/ts4.8/url.d.ts +++ /dev/null @@ -1,944 +0,0 @@ -/** - * The `node:url` module provides utilities for URL resolution and parsing. It can - * be accessed using: - * - * ```js - * import url from 'node:url'; - * ``` - * @see [source](https://github.com/nodejs/node/blob/v20.11.0/lib/url.js) - */ -declare module "url" { - import { Blob as NodeBlob } from "node:buffer"; - import { ClientRequestArgs } from "node:http"; - import { ParsedUrlQuery, ParsedUrlQueryInput } from "node:querystring"; - // Input to `url.format` - interface UrlObject { - auth?: string | null | undefined; - hash?: string | null | undefined; - host?: string | null | undefined; - hostname?: string | null | undefined; - href?: string | null | undefined; - pathname?: string | null | undefined; - protocol?: string | null | undefined; - search?: string | null | undefined; - slashes?: boolean | null | undefined; - port?: string | number | null | undefined; - query?: string | null | ParsedUrlQueryInput | undefined; - } - // Output of `url.parse` - interface Url { - auth: string | null; - hash: string | null; - host: string | null; - hostname: string | null; - href: string; - path: string | null; - pathname: string | null; - protocol: string | null; - search: string | null; - slashes: boolean | null; - port: string | null; - query: string | null | ParsedUrlQuery; - } - interface UrlWithParsedQuery extends Url { - query: ParsedUrlQuery; - } - interface UrlWithStringQuery extends Url { - query: string | null; - } - /** - * The `url.parse()` method takes a URL string, parses it, and returns a URL - * object. - * - * A `TypeError` is thrown if `urlString` is not a string. - * - * A `URIError` is thrown if the `auth` property is present but cannot be decoded. - * - * `url.parse()` uses a lenient, non-standard algorithm for parsing URL - * strings. It is prone to security issues such as [host name spoofing](https://hackerone.com/reports/678487) and incorrect handling of usernames and passwords. Do not use with untrusted - * input. CVEs are not issued for `url.parse()` vulnerabilities. Use the `WHATWG URL` API instead. - * @since v0.1.25 - * @deprecated Use the WHATWG URL API instead. - * @param urlString The URL string to parse. - * @param [parseQueryString=false] If `true`, the `query` property will always be set to an object returned by the {@link querystring} module's `parse()` method. If `false`, the `query` property - * on the returned URL object will be an unparsed, undecoded string. - * @param [slashesDenoteHost=false] If `true`, the first token after the literal string `//` and preceding the next `/` will be interpreted as the `host`. For instance, given `//foo/bar`, the - * result would be `{host: 'foo', pathname: '/bar'}` rather than `{pathname: '//foo/bar'}`. - */ - function parse(urlString: string): UrlWithStringQuery; - function parse( - urlString: string, - parseQueryString: false | undefined, - slashesDenoteHost?: boolean, - ): UrlWithStringQuery; - function parse(urlString: string, parseQueryString: true, slashesDenoteHost?: boolean): UrlWithParsedQuery; - function parse(urlString: string, parseQueryString: boolean, slashesDenoteHost?: boolean): Url; - /** - * The `url.format()` method returns a formatted URL string derived from `urlObject`. - * - * ```js - * const url = require('node:url'); - * url.format({ - * protocol: 'https', - * hostname: 'example.com', - * pathname: '/some/path', - * query: { - * page: 1, - * format: 'json', - * }, - * }); - * - * // => 'https://example.com/some/path?page=1&format=json' - * ``` - * - * If `urlObject` is not an object or a string, `url.format()` will throw a `TypeError`. - * - * The formatting process operates as follows: - * - * * A new empty string `result` is created. - * * If `urlObject.protocol` is a string, it is appended as-is to `result`. - * * Otherwise, if `urlObject.protocol` is not `undefined` and is not a string, an `Error` is thrown. - * * For all string values of `urlObject.protocol` that _do not end_ with an ASCII - * colon (`:`) character, the literal string `:` will be appended to `result`. - * * If either of the following conditions is true, then the literal string `//` will be appended to `result`: - * * `urlObject.slashes` property is true; - * * `urlObject.protocol` begins with `http`, `https`, `ftp`, `gopher`, or `file`; - * * If the value of the `urlObject.auth` property is truthy, and either `urlObject.host` or `urlObject.hostname` are not `undefined`, the value of `urlObject.auth` will be coerced into a string - * and appended to `result` followed by the literal string `@`. - * * If the `urlObject.host` property is `undefined` then: - * * If the `urlObject.hostname` is a string, it is appended to `result`. - * * Otherwise, if `urlObject.hostname` is not `undefined` and is not a string, - * an `Error` is thrown. - * * If the `urlObject.port` property value is truthy, and `urlObject.hostname` is not `undefined`: - * * The literal string `:` is appended to `result`, and - * * The value of `urlObject.port` is coerced to a string and appended to `result`. - * * Otherwise, if the `urlObject.host` property value is truthy, the value of `urlObject.host` is coerced to a string and appended to `result`. - * * If the `urlObject.pathname` property is a string that is not an empty string: - * * If the `urlObject.pathname` _does not start_ with an ASCII forward slash - * (`/`), then the literal string `'/'` is appended to `result`. - * * The value of `urlObject.pathname` is appended to `result`. - * * Otherwise, if `urlObject.pathname` is not `undefined` and is not a string, an `Error` is thrown. - * * If the `urlObject.search` property is `undefined` and if the `urlObject.query`property is an `Object`, the literal string `?` is appended to `result` followed by the output of calling the - * `querystring` module's `stringify()` method passing the value of `urlObject.query`. - * * Otherwise, if `urlObject.search` is a string: - * * If the value of `urlObject.search` _does not start_ with the ASCII question - * mark (`?`) character, the literal string `?` is appended to `result`. - * * The value of `urlObject.search` is appended to `result`. - * * Otherwise, if `urlObject.search` is not `undefined` and is not a string, an `Error` is thrown. - * * If the `urlObject.hash` property is a string: - * * If the value of `urlObject.hash` _does not start_ with the ASCII hash (`#`) - * character, the literal string `#` is appended to `result`. - * * The value of `urlObject.hash` is appended to `result`. - * * Otherwise, if the `urlObject.hash` property is not `undefined` and is not a - * string, an `Error` is thrown. - * * `result` is returned. - * @since v0.1.25 - * @legacy Use the WHATWG URL API instead. - * @param urlObject A URL object (as returned by `url.parse()` or constructed otherwise). If a string, it is converted to an object by passing it to `url.parse()`. - */ - function format(urlObject: URL, options?: URLFormatOptions): string; - /** - * The `url.format()` method returns a formatted URL string derived from `urlObject`. - * - * ```js - * const url = require('node:url'); - * url.format({ - * protocol: 'https', - * hostname: 'example.com', - * pathname: '/some/path', - * query: { - * page: 1, - * format: 'json', - * }, - * }); - * - * // => 'https://example.com/some/path?page=1&format=json' - * ``` - * - * If `urlObject` is not an object or a string, `url.format()` will throw a `TypeError`. - * - * The formatting process operates as follows: - * - * * A new empty string `result` is created. - * * If `urlObject.protocol` is a string, it is appended as-is to `result`. - * * Otherwise, if `urlObject.protocol` is not `undefined` and is not a string, an `Error` is thrown. - * * For all string values of `urlObject.protocol` that _do not end_ with an ASCII - * colon (`:`) character, the literal string `:` will be appended to `result`. - * * If either of the following conditions is true, then the literal string `//` will be appended to `result`: - * * `urlObject.slashes` property is true; - * * `urlObject.protocol` begins with `http`, `https`, `ftp`, `gopher`, or `file`; - * * If the value of the `urlObject.auth` property is truthy, and either `urlObject.host` or `urlObject.hostname` are not `undefined`, the value of `urlObject.auth` will be coerced into a string - * and appended to `result` followed by the literal string `@`. - * * If the `urlObject.host` property is `undefined` then: - * * If the `urlObject.hostname` is a string, it is appended to `result`. - * * Otherwise, if `urlObject.hostname` is not `undefined` and is not a string, - * an `Error` is thrown. - * * If the `urlObject.port` property value is truthy, and `urlObject.hostname` is not `undefined`: - * * The literal string `:` is appended to `result`, and - * * The value of `urlObject.port` is coerced to a string and appended to `result`. - * * Otherwise, if the `urlObject.host` property value is truthy, the value of `urlObject.host` is coerced to a string and appended to `result`. - * * If the `urlObject.pathname` property is a string that is not an empty string: - * * If the `urlObject.pathname` _does not start_ with an ASCII forward slash - * (`/`), then the literal string `'/'` is appended to `result`. - * * The value of `urlObject.pathname` is appended to `result`. - * * Otherwise, if `urlObject.pathname` is not `undefined` and is not a string, an `Error` is thrown. - * * If the `urlObject.search` property is `undefined` and if the `urlObject.query`property is an `Object`, the literal string `?` is appended to `result` followed by the output of calling the - * `querystring` module's `stringify()` method passing the value of `urlObject.query`. - * * Otherwise, if `urlObject.search` is a string: - * * If the value of `urlObject.search` _does not start_ with the ASCII question - * mark (`?`) character, the literal string `?` is appended to `result`. - * * The value of `urlObject.search` is appended to `result`. - * * Otherwise, if `urlObject.search` is not `undefined` and is not a string, an `Error` is thrown. - * * If the `urlObject.hash` property is a string: - * * If the value of `urlObject.hash` _does not start_ with the ASCII hash (`#`) - * character, the literal string `#` is appended to `result`. - * * The value of `urlObject.hash` is appended to `result`. - * * Otherwise, if the `urlObject.hash` property is not `undefined` and is not a - * string, an `Error` is thrown. - * * `result` is returned. - * @since v0.1.25 - * @legacy Use the WHATWG URL API instead. - * @param urlObject A URL object (as returned by `url.parse()` or constructed otherwise). If a string, it is converted to an object by passing it to `url.parse()`. - */ - function format(urlObject: UrlObject | string): string; - /** - * The `url.resolve()` method resolves a target URL relative to a base URL in a - * manner similar to that of a web browser resolving an anchor tag. - * - * ```js - * const url = require('node:url'); - * url.resolve('/one/two/three', 'four'); // '/one/two/four' - * url.resolve('http://example.com/', '/one'); // 'http://example.com/one' - * url.resolve('http://example.com/one', '/two'); // 'http://example.com/two' - * ``` - * - * To achieve the same result using the WHATWG URL API: - * - * ```js - * function resolve(from, to) { - * const resolvedUrl = new URL(to, new URL(from, 'resolve://')); - * if (resolvedUrl.protocol === 'resolve:') { - * // `from` is a relative URL. - * const { pathname, search, hash } = resolvedUrl; - * return pathname + search + hash; - * } - * return resolvedUrl.toString(); - * } - * - * resolve('/one/two/three', 'four'); // '/one/two/four' - * resolve('http://example.com/', '/one'); // 'http://example.com/one' - * resolve('http://example.com/one', '/two'); // 'http://example.com/two' - * ``` - * @since v0.1.25 - * @legacy Use the WHATWG URL API instead. - * @param from The base URL to use if `to` is a relative URL. - * @param to The target URL to resolve. - */ - function resolve(from: string, to: string): string; - /** - * Returns the [Punycode](https://tools.ietf.org/html/rfc5891#section-4.4) ASCII serialization of the `domain`. If `domain` is an - * invalid domain, the empty string is returned. - * - * It performs the inverse operation to {@link domainToUnicode}. - * - * ```js - * import url from 'node:url'; - * - * console.log(url.domainToASCII('español.com')); - * // Prints xn--espaol-zwa.com - * console.log(url.domainToASCII('中文.com')); - * // Prints xn--fiq228c.com - * console.log(url.domainToASCII('xn--iñvalid.com')); - * // Prints an empty string - * ``` - * @since v7.4.0, v6.13.0 - */ - function domainToASCII(domain: string): string; - /** - * Returns the Unicode serialization of the `domain`. If `domain` is an invalid - * domain, the empty string is returned. - * - * It performs the inverse operation to {@link domainToASCII}. - * - * ```js - * import url from 'node:url'; - * - * console.log(url.domainToUnicode('xn--espaol-zwa.com')); - * // Prints español.com - * console.log(url.domainToUnicode('xn--fiq228c.com')); - * // Prints 中文.com - * console.log(url.domainToUnicode('xn--iñvalid.com')); - * // Prints an empty string - * ``` - * @since v7.4.0, v6.13.0 - */ - function domainToUnicode(domain: string): string; - /** - * This function ensures the correct decodings of percent-encoded characters as - * well as ensuring a cross-platform valid absolute path string. - * - * ```js - * import { fileURLToPath } from 'node:url'; - * - * const __filename = fileURLToPath(import.meta.url); - * - * new URL('file:///C:/path/').pathname; // Incorrect: /C:/path/ - * fileURLToPath('file:///C:/path/'); // Correct: C:\path\ (Windows) - * - * new URL('file://nas/foo.txt').pathname; // Incorrect: /foo.txt - * fileURLToPath('file://nas/foo.txt'); // Correct: \\nas\foo.txt (Windows) - * - * new URL('file:///你好.txt').pathname; // Incorrect: /%E4%BD%A0%E5%A5%BD.txt - * fileURLToPath('file:///你好.txt'); // Correct: /你好.txt (POSIX) - * - * new URL('file:///hello world').pathname; // Incorrect: /hello%20world - * fileURLToPath('file:///hello world'); // Correct: /hello world (POSIX) - * ``` - * @since v10.12.0 - * @param url The file URL string or URL object to convert to a path. - * @return The fully-resolved platform-specific Node.js file path. - */ - function fileURLToPath(url: string | URL): string; - /** - * This function ensures that `path` is resolved absolutely, and that the URL - * control characters are correctly encoded when converting into a File URL. - * - * ```js - * import { pathToFileURL } from 'node:url'; - * - * new URL('/foo#1', 'file:'); // Incorrect: file:///foo#1 - * pathToFileURL('/foo#1'); // Correct: file:///foo%231 (POSIX) - * - * new URL('/some/path%.c', 'file:'); // Incorrect: file:///some/path%.c - * pathToFileURL('/some/path%.c'); // Correct: file:///some/path%25.c (POSIX) - * ``` - * @since v10.12.0 - * @param path The path to convert to a File URL. - * @return The file URL object. - */ - function pathToFileURL(path: string): URL; - /** - * This utility function converts a URL object into an ordinary options object as - * expected by the `http.request()` and `https.request()` APIs. - * - * ```js - * import { urlToHttpOptions } from 'node:url'; - * const myURL = new URL('https://a:b@測試?abc#foo'); - * - * console.log(urlToHttpOptions(myURL)); - * /* - * { - * protocol: 'https:', - * hostname: 'xn--g6w251d', - * hash: '#foo', - * search: '?abc', - * pathname: '/', - * path: '/?abc', - * href: 'https://a:b@xn--g6w251d/?abc#foo', - * auth: 'a:b' - * } - * - * ``` - * @since v15.7.0, v14.18.0 - * @param url The `WHATWG URL` object to convert to an options object. - * @return Options object - */ - function urlToHttpOptions(url: URL): ClientRequestArgs; - interface URLFormatOptions { - /** - * `true` if the serialized URL string should include the username and password, `false` otherwise. - * @default true - */ - auth?: boolean | undefined; - /** - * `true` if the serialized URL string should include the fragment, `false` otherwise. - * @default true - */ - fragment?: boolean | undefined; - /** - * `true` if the serialized URL string should include the search query, `false` otherwise. - * @default true - */ - search?: boolean | undefined; - /** - * `true` if Unicode characters appearing in the host component of the URL string should be encoded directly as opposed to - * being Punycode encoded. - * @default false - */ - unicode?: boolean | undefined; - } - /** - * Browser-compatible `URL` class, implemented by following the WHATWG URL - * Standard. [Examples of parsed URLs](https://url.spec.whatwg.org/#example-url-parsing) may be found in the Standard itself. - * The `URL` class is also available on the global object. - * - * In accordance with browser conventions, all properties of `URL` objects - * are implemented as getters and setters on the class prototype, rather than as - * data properties on the object itself. Thus, unlike `legacy urlObject`s, - * using the `delete` keyword on any properties of `URL` objects (e.g. `delete myURL.protocol`, `delete myURL.pathname`, etc) has no effect but will still - * return `true`. - * @since v7.0.0, v6.13.0 - */ - class URL { - /** - * Creates a `'blob:nodedata:...'` URL string that represents the given `Blob` object and can be used to retrieve the `Blob` later. - * - * ```js - * const { - * Blob, - * resolveObjectURL, - * } = require('node:buffer'); - * - * const blob = new Blob(['hello']); - * const id = URL.createObjectURL(blob); - * - * // later... - * - * const otherBlob = resolveObjectURL(id); - * console.log(otherBlob.size); - * ``` - * - * The data stored by the registered `Blob` will be retained in memory until `URL.revokeObjectURL()` is called to remove it. - * - * `Blob` objects are registered within the current thread. If using Worker - * Threads, `Blob` objects registered within one Worker will not be available - * to other workers or the main thread. - * @since v16.7.0 - * @experimental - */ - static createObjectURL(blob: NodeBlob): string; - /** - * Removes the stored `Blob` identified by the given ID. Attempting to revoke a - * ID that isn't registered will silently fail. - * @since v16.7.0 - * @experimental - * @param id A `'blob:nodedata:...` URL string returned by a prior call to `URL.createObjectURL()`. - */ - static revokeObjectURL(id: string): void; - /** - * Checks if an `input` relative to the `base` can be parsed to a `URL`. - * - * ```js - * const isValid = URL.canParse('/foo', 'https://example.org/'); // true - * - * const isNotValid = URL.canParse('/foo'); // false - * ``` - * @since v19.9.0 - * @param input The absolute or relative input URL to parse. If `input` is relative, then `base` is required. If `input` is absolute, the `base` is ignored. If `input` is not a string, it is - * `converted to a string` first. - * @param base The base URL to resolve against if the `input` is not absolute. If `base` is not a string, it is `converted to a string` first. - */ - static canParse(input: string, base?: string): boolean; - constructor(input: string | { toString: () => string }, base?: string | URL); - /** - * Gets and sets the fragment portion of the URL. - * - * ```js - * const myURL = new URL('https://example.org/foo#bar'); - * console.log(myURL.hash); - * // Prints #bar - * - * myURL.hash = 'baz'; - * console.log(myURL.href); - * // Prints https://example.org/foo#baz - * ``` - * - * Invalid URL characters included in the value assigned to the `hash` property - * are `percent-encoded`. The selection of which characters to - * percent-encode may vary somewhat from what the {@link parse} and {@link format} methods would produce. - */ - hash: string; - /** - * Gets and sets the host portion of the URL. - * - * ```js - * const myURL = new URL('https://example.org:81/foo'); - * console.log(myURL.host); - * // Prints example.org:81 - * - * myURL.host = 'example.com:82'; - * console.log(myURL.href); - * // Prints https://example.com:82/foo - * ``` - * - * Invalid host values assigned to the `host` property are ignored. - */ - host: string; - /** - * Gets and sets the host name portion of the URL. The key difference between`url.host` and `url.hostname` is that `url.hostname` does _not_ include the - * port. - * - * ```js - * const myURL = new URL('https://example.org:81/foo'); - * console.log(myURL.hostname); - * // Prints example.org - * - * // Setting the hostname does not change the port - * myURL.hostname = 'example.com'; - * console.log(myURL.href); - * // Prints https://example.com:81/foo - * - * // Use myURL.host to change the hostname and port - * myURL.host = 'example.org:82'; - * console.log(myURL.href); - * // Prints https://example.org:82/foo - * ``` - * - * Invalid host name values assigned to the `hostname` property are ignored. - */ - hostname: string; - /** - * Gets and sets the serialized URL. - * - * ```js - * const myURL = new URL('https://example.org/foo'); - * console.log(myURL.href); - * // Prints https://example.org/foo - * - * myURL.href = 'https://example.com/bar'; - * console.log(myURL.href); - * // Prints https://example.com/bar - * ``` - * - * Getting the value of the `href` property is equivalent to calling {@link toString}. - * - * Setting the value of this property to a new value is equivalent to creating a - * new `URL` object using `new URL(value)`. Each of the `URL`object's properties will be modified. - * - * If the value assigned to the `href` property is not a valid URL, a `TypeError`will be thrown. - */ - href: string; - /** - * Gets the read-only serialization of the URL's origin. - * - * ```js - * const myURL = new URL('https://example.org/foo/bar?baz'); - * console.log(myURL.origin); - * // Prints https://example.org - * ``` - * - * ```js - * const idnURL = new URL('https://測試'); - * console.log(idnURL.origin); - * // Prints https://xn--g6w251d - * - * console.log(idnURL.hostname); - * // Prints xn--g6w251d - * ``` - */ - readonly origin: string; - /** - * Gets and sets the password portion of the URL. - * - * ```js - * const myURL = new URL('https://abc:xyz@example.com'); - * console.log(myURL.password); - * // Prints xyz - * - * myURL.password = '123'; - * console.log(myURL.href); - * // Prints https://abc:123@example.com/ - * ``` - * - * Invalid URL characters included in the value assigned to the `password` property - * are `percent-encoded`. The selection of which characters to - * percent-encode may vary somewhat from what the {@link parse} and {@link format} methods would produce. - */ - password: string; - /** - * Gets and sets the path portion of the URL. - * - * ```js - * const myURL = new URL('https://example.org/abc/xyz?123'); - * console.log(myURL.pathname); - * // Prints /abc/xyz - * - * myURL.pathname = '/abcdef'; - * console.log(myURL.href); - * // Prints https://example.org/abcdef?123 - * ``` - * - * Invalid URL characters included in the value assigned to the `pathname` property are `percent-encoded`. The selection of which characters - * to percent-encode may vary somewhat from what the {@link parse} and {@link format} methods would produce. - */ - pathname: string; - /** - * Gets and sets the port portion of the URL. - * - * The port value may be a number or a string containing a number in the range `0` to `65535` (inclusive). Setting the value to the default port of the `URL` objects given `protocol` will - * result in the `port` value becoming - * the empty string (`''`). - * - * The port value can be an empty string in which case the port depends on - * the protocol/scheme: - * - * - * - * Upon assigning a value to the port, the value will first be converted to a - * string using `.toString()`. - * - * If that string is invalid but it begins with a number, the leading number is - * assigned to `port`. - * If the number lies outside the range denoted above, it is ignored. - * - * ```js - * const myURL = new URL('https://example.org:8888'); - * console.log(myURL.port); - * // Prints 8888 - * - * // Default ports are automatically transformed to the empty string - * // (HTTPS protocol's default port is 443) - * myURL.port = '443'; - * console.log(myURL.port); - * // Prints the empty string - * console.log(myURL.href); - * // Prints https://example.org/ - * - * myURL.port = 1234; - * console.log(myURL.port); - * // Prints 1234 - * console.log(myURL.href); - * // Prints https://example.org:1234/ - * - * // Completely invalid port strings are ignored - * myURL.port = 'abcd'; - * console.log(myURL.port); - * // Prints 1234 - * - * // Leading numbers are treated as a port number - * myURL.port = '5678abcd'; - * console.log(myURL.port); - * // Prints 5678 - * - * // Non-integers are truncated - * myURL.port = 1234.5678; - * console.log(myURL.port); - * // Prints 1234 - * - * // Out-of-range numbers which are not represented in scientific notation - * // will be ignored. - * myURL.port = 1e10; // 10000000000, will be range-checked as described below - * console.log(myURL.port); - * // Prints 1234 - * ``` - * - * Numbers which contain a decimal point, - * such as floating-point numbers or numbers in scientific notation, - * are not an exception to this rule. - * Leading numbers up to the decimal point will be set as the URL's port, - * assuming they are valid: - * - * ```js - * myURL.port = 4.567e21; - * console.log(myURL.port); - * // Prints 4 (because it is the leading number in the string '4.567e21') - * ``` - */ - port: string; - /** - * Gets and sets the protocol portion of the URL. - * - * ```js - * const myURL = new URL('https://example.org'); - * console.log(myURL.protocol); - * // Prints https: - * - * myURL.protocol = 'ftp'; - * console.log(myURL.href); - * // Prints ftp://example.org/ - * ``` - * - * Invalid URL protocol values assigned to the `protocol` property are ignored. - */ - protocol: string; - /** - * Gets and sets the serialized query portion of the URL. - * - * ```js - * const myURL = new URL('https://example.org/abc?123'); - * console.log(myURL.search); - * // Prints ?123 - * - * myURL.search = 'abc=xyz'; - * console.log(myURL.href); - * // Prints https://example.org/abc?abc=xyz - * ``` - * - * Any invalid URL characters appearing in the value assigned the `search`property will be `percent-encoded`. The selection of which - * characters to percent-encode may vary somewhat from what the {@link parse} and {@link format} methods would produce. - */ - search: string; - /** - * Gets the `URLSearchParams` object representing the query parameters of the - * URL. This property is read-only but the `URLSearchParams` object it provides - * can be used to mutate the URL instance; to replace the entirety of query - * parameters of the URL, use the {@link search} setter. See `URLSearchParams` documentation for details. - * - * Use care when using `.searchParams` to modify the `URL` because, - * per the WHATWG specification, the `URLSearchParams` object uses - * different rules to determine which characters to percent-encode. For - * instance, the `URL` object will not percent encode the ASCII tilde (`~`) - * character, while `URLSearchParams` will always encode it: - * - * ```js - * const myURL = new URL('https://example.org/abc?foo=~bar'); - * - * console.log(myURL.search); // prints ?foo=~bar - * - * // Modify the URL via searchParams... - * myURL.searchParams.sort(); - * - * console.log(myURL.search); // prints ?foo=%7Ebar - * ``` - */ - readonly searchParams: URLSearchParams; - /** - * Gets and sets the username portion of the URL. - * - * ```js - * const myURL = new URL('https://abc:xyz@example.com'); - * console.log(myURL.username); - * // Prints abc - * - * myURL.username = '123'; - * console.log(myURL.href); - * // Prints https://123:xyz@example.com/ - * ``` - * - * Any invalid URL characters appearing in the value assigned the `username` property will be `percent-encoded`. The selection of which - * characters to percent-encode may vary somewhat from what the {@link parse} and {@link format} methods would produce. - */ - username: string; - /** - * The `toString()` method on the `URL` object returns the serialized URL. The - * value returned is equivalent to that of {@link href} and {@link toJSON}. - */ - toString(): string; - /** - * The `toJSON()` method on the `URL` object returns the serialized URL. The - * value returned is equivalent to that of {@link href} and {@link toString}. - * - * This method is automatically called when an `URL` object is serialized - * with [`JSON.stringify()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON/stringify). - * - * ```js - * const myURLs = [ - * new URL('https://www.example.com'), - * new URL('https://test.example.org'), - * ]; - * console.log(JSON.stringify(myURLs)); - * // Prints ["https://www.example.com/","https://test.example.org/"] - * ``` - */ - toJSON(): string; - } - /** - * The `URLSearchParams` API provides read and write access to the query of a `URL`. The `URLSearchParams` class can also be used standalone with one of the - * four following constructors. - * The `URLSearchParams` class is also available on the global object. - * - * The WHATWG `URLSearchParams` interface and the `querystring` module have - * similar purpose, but the purpose of the `querystring` module is more - * general, as it allows the customization of delimiter characters (`&` and `=`). - * On the other hand, this API is designed purely for URL query strings. - * - * ```js - * const myURL = new URL('https://example.org/?abc=123'); - * console.log(myURL.searchParams.get('abc')); - * // Prints 123 - * - * myURL.searchParams.append('abc', 'xyz'); - * console.log(myURL.href); - * // Prints https://example.org/?abc=123&abc=xyz - * - * myURL.searchParams.delete('abc'); - * myURL.searchParams.set('a', 'b'); - * console.log(myURL.href); - * // Prints https://example.org/?a=b - * - * const newSearchParams = new URLSearchParams(myURL.searchParams); - * // The above is equivalent to - * // const newSearchParams = new URLSearchParams(myURL.search); - * - * newSearchParams.append('a', 'c'); - * console.log(myURL.href); - * // Prints https://example.org/?a=b - * console.log(newSearchParams.toString()); - * // Prints a=b&a=c - * - * // newSearchParams.toString() is implicitly called - * myURL.search = newSearchParams; - * console.log(myURL.href); - * // Prints https://example.org/?a=b&a=c - * newSearchParams.delete('a'); - * console.log(myURL.href); - * // Prints https://example.org/?a=b&a=c - * ``` - * @since v7.5.0, v6.13.0 - */ - class URLSearchParams implements Iterable<[string, string]> { - constructor( - init?: - | URLSearchParams - | string - | Record - | Iterable<[string, string]> - | ReadonlyArray<[string, string]>, - ); - /** - * Append a new name-value pair to the query string. - */ - append(name: string, value: string): void; - /** - * If `value` is provided, removes all name-value pairs - * where name is `name` and value is `value`. - * - * If `value` is not provided, removes all name-value pairs whose name is `name`. - */ - delete(name: string, value?: string): void; - /** - * Returns an ES6 `Iterator` over each of the name-value pairs in the query. - * Each item of the iterator is a JavaScript `Array`. The first item of the `Array` is the `name`, the second item of the `Array` is the `value`. - * - * Alias for `urlSearchParams[@@iterator]()`. - */ - entries(): IterableIterator<[string, string]>; - /** - * Iterates over each name-value pair in the query and invokes the given function. - * - * ```js - * const myURL = new URL('https://example.org/?a=b&c=d'); - * myURL.searchParams.forEach((value, name, searchParams) => { - * console.log(name, value, myURL.searchParams === searchParams); - * }); - * // Prints: - * // a b true - * // c d true - * ``` - * @param fn Invoked for each name-value pair in the query - * @param thisArg To be used as `this` value for when `fn` is called - */ - forEach( - fn: (this: TThis, value: string, name: string, searchParams: URLSearchParams) => void, - thisArg?: TThis, - ): void; - /** - * Returns the value of the first name-value pair whose name is `name`. If there - * are no such pairs, `null` is returned. - * @return or `null` if there is no name-value pair with the given `name`. - */ - get(name: string): string | null; - /** - * Returns the values of all name-value pairs whose name is `name`. If there are - * no such pairs, an empty array is returned. - */ - getAll(name: string): string[]; - /** - * Checks if the `URLSearchParams` object contains key-value pair(s) based on `name` and an optional `value` argument. - * - * If `value` is provided, returns `true` when name-value pair with - * same `name` and `value` exists. - * - * If `value` is not provided, returns `true` if there is at least one name-value - * pair whose name is `name`. - */ - has(name: string, value?: string): boolean; - /** - * Returns an ES6 `Iterator` over the names of each name-value pair. - * - * ```js - * const params = new URLSearchParams('foo=bar&foo=baz'); - * for (const name of params.keys()) { - * console.log(name); - * } - * // Prints: - * // foo - * // foo - * ``` - */ - keys(): IterableIterator; - /** - * Sets the value in the `URLSearchParams` object associated with `name` to`value`. If there are any pre-existing name-value pairs whose names are `name`, - * set the first such pair's value to `value` and remove all others. If not, - * append the name-value pair to the query string. - * - * ```js - * const params = new URLSearchParams(); - * params.append('foo', 'bar'); - * params.append('foo', 'baz'); - * params.append('abc', 'def'); - * console.log(params.toString()); - * // Prints foo=bar&foo=baz&abc=def - * - * params.set('foo', 'def'); - * params.set('xyz', 'opq'); - * console.log(params.toString()); - * // Prints foo=def&abc=def&xyz=opq - * ``` - */ - set(name: string, value: string): void; - /** - * The total number of parameter entries. - * @since v19.8.0 - */ - readonly size: number; - /** - * Sort all existing name-value pairs in-place by their names. Sorting is done - * with a [stable sorting algorithm](https://en.wikipedia.org/wiki/Sorting_algorithm#Stability), so relative order between name-value pairs - * with the same name is preserved. - * - * This method can be used, in particular, to increase cache hits. - * - * ```js - * const params = new URLSearchParams('query[]=abc&type=search&query[]=123'); - * params.sort(); - * console.log(params.toString()); - * // Prints query%5B%5D=abc&query%5B%5D=123&type=search - * ``` - * @since v7.7.0, v6.13.0 - */ - sort(): void; - /** - * Returns the search parameters serialized as a string, with characters - * percent-encoded where necessary. - */ - toString(): string; - /** - * Returns an ES6 `Iterator` over the values of each name-value pair. - */ - values(): IterableIterator; - [Symbol.iterator](): IterableIterator<[string, string]>; - } - import { URL as _URL, URLSearchParams as _URLSearchParams } from "url"; - global { - interface URLSearchParams extends _URLSearchParams {} - interface URL extends _URL {} - interface Global { - URL: typeof _URL; - URLSearchParams: typeof _URLSearchParams; - } - /** - * `URL` class is a global reference for `require('url').URL` - * https://nodejs.org/api/url.html#the-whatwg-url-api - * @since v10.0.0 - */ - var URL: typeof globalThis extends { - onmessage: any; - URL: infer T; - } ? T - : typeof _URL; - /** - * `URLSearchParams` class is a global reference for `require('url').URLSearchParams` - * https://nodejs.org/api/url.html#class-urlsearchparams - * @since v10.0.0 - */ - var URLSearchParams: typeof globalThis extends { - onmessage: any; - URLSearchParams: infer T; - } ? T - : typeof _URLSearchParams; - } -} -declare module "node:url" { - export * from "url"; -} diff --git a/node_modules/@types/node/ts4.8/util.d.ts b/node_modules/@types/node/ts4.8/util.d.ts deleted file mode 100644 index 08712f5..0000000 --- a/node_modules/@types/node/ts4.8/util.d.ts +++ /dev/null @@ -1,2183 +0,0 @@ -/** - * The `node:util` module supports the needs of Node.js internal APIs. Many of the - * utilities are useful for application and module developers as well. To access - * it: - * - * ```js - * const util = require('node:util'); - * ``` - * @see [source](https://github.com/nodejs/node/blob/v20.2.0/lib/util.js) - */ -declare module "util" { - import * as types from "node:util/types"; - export interface InspectOptions { - /** - * If `true`, object's non-enumerable symbols and properties are included in the formatted result. - * `WeakMap` and `WeakSet` entries are also included as well as user defined prototype properties (excluding method properties). - * @default false - */ - showHidden?: boolean | undefined; - /** - * Specifies the number of times to recurse while formatting object. - * This is useful for inspecting large objects. - * To recurse up to the maximum call stack size pass `Infinity` or `null`. - * @default 2 - */ - depth?: number | null | undefined; - /** - * If `true`, the output is styled with ANSI color codes. Colors are customizable. - */ - colors?: boolean | undefined; - /** - * If `false`, `[util.inspect.custom](depth, opts, inspect)` functions are not invoked. - * @default true - */ - customInspect?: boolean | undefined; - /** - * If `true`, `Proxy` inspection includes the target and handler objects. - * @default false - */ - showProxy?: boolean | undefined; - /** - * Specifies the maximum number of `Array`, `TypedArray`, `WeakMap`, and `WeakSet` elements - * to include when formatting. Set to `null` or `Infinity` to show all elements. - * Set to `0` or negative to show no elements. - * @default 100 - */ - maxArrayLength?: number | null | undefined; - /** - * Specifies the maximum number of characters to - * include when formatting. Set to `null` or `Infinity` to show all elements. - * Set to `0` or negative to show no characters. - * @default 10000 - */ - maxStringLength?: number | null | undefined; - /** - * The length at which input values are split across multiple lines. - * Set to `Infinity` to format the input as a single line - * (in combination with `compact` set to `true` or any number >= `1`). - * @default 80 - */ - breakLength?: number | undefined; - /** - * Setting this to `false` causes each object key - * to be displayed on a new line. It will also add new lines to text that is - * longer than `breakLength`. If set to a number, the most `n` inner elements - * are united on a single line as long as all properties fit into - * `breakLength`. Short array elements are also grouped together. Note that no - * text will be reduced below 16 characters, no matter the `breakLength` size. - * For more information, see the example below. - * @default true - */ - compact?: boolean | number | undefined; - /** - * If set to `true` or a function, all properties of an object, and `Set` and `Map` - * entries are sorted in the resulting string. - * If set to `true` the default sort is used. - * If set to a function, it is used as a compare function. - */ - sorted?: boolean | ((a: string, b: string) => number) | undefined; - /** - * If set to `true`, getters are going to be - * inspected as well. If set to `'get'` only getters without setter are going - * to be inspected. If set to `'set'` only getters having a corresponding - * setter are going to be inspected. This might cause side effects depending on - * the getter function. - * @default false - */ - getters?: "get" | "set" | boolean | undefined; - /** - * If set to `true`, an underscore is used to separate every three digits in all bigints and numbers. - * @default false - */ - numericSeparator?: boolean | undefined; - } - export type Style = - | "special" - | "number" - | "bigint" - | "boolean" - | "undefined" - | "null" - | "string" - | "symbol" - | "date" - | "regexp" - | "module"; - export type CustomInspectFunction = (depth: number, options: InspectOptionsStylized) => any; // TODO: , inspect: inspect - export interface InspectOptionsStylized extends InspectOptions { - stylize(text: string, styleType: Style): string; - } - /** - * The `util.format()` method returns a formatted string using the first argument - * as a `printf`\-like format string which can contain zero or more format - * specifiers. Each specifier is replaced with the converted value from the - * corresponding argument. Supported specifiers are: - * - * If a specifier does not have a corresponding argument, it is not replaced: - * - * ```js - * util.format('%s:%s', 'foo'); - * // Returns: 'foo:%s' - * ``` - * - * Values that are not part of the format string are formatted using`util.inspect()` if their type is not `string`. - * - * If there are more arguments passed to the `util.format()` method than the - * number of specifiers, the extra arguments are concatenated to the returned - * string, separated by spaces: - * - * ```js - * util.format('%s:%s', 'foo', 'bar', 'baz'); - * // Returns: 'foo:bar baz' - * ``` - * - * If the first argument does not contain a valid format specifier, `util.format()`returns a string that is the concatenation of all arguments separated by spaces: - * - * ```js - * util.format(1, 2, 3); - * // Returns: '1 2 3' - * ``` - * - * If only one argument is passed to `util.format()`, it is returned as it is - * without any formatting: - * - * ```js - * util.format('%% %s'); - * // Returns: '%% %s' - * ``` - * - * `util.format()` is a synchronous method that is intended as a debugging tool. - * Some input values can have a significant performance overhead that can block the - * event loop. Use this function with care and never in a hot code path. - * @since v0.5.3 - * @param format A `printf`-like format string. - */ - export function format(format?: any, ...param: any[]): string; - /** - * This function is identical to {@link format}, except in that it takes - * an `inspectOptions` argument which specifies options that are passed along to {@link inspect}. - * - * ```js - * util.formatWithOptions({ colors: true }, 'See object %O', { foo: 42 }); - * // Returns 'See object { foo: 42 }', where `42` is colored as a number - * // when printed to a terminal. - * ``` - * @since v10.0.0 - */ - export function formatWithOptions(inspectOptions: InspectOptions, format?: any, ...param: any[]): string; - /** - * Returns the string name for a numeric error code that comes from a Node.js API. - * The mapping between error codes and error names is platform-dependent. - * See `Common System Errors` for the names of common errors. - * - * ```js - * fs.access('file/that/does/not/exist', (err) => { - * const name = util.getSystemErrorName(err.errno); - * console.error(name); // ENOENT - * }); - * ``` - * @since v9.7.0 - */ - export function getSystemErrorName(err: number): string; - /** - * Returns a Map of all system error codes available from the Node.js API. - * The mapping between error codes and error names is platform-dependent. - * See `Common System Errors` for the names of common errors. - * - * ```js - * fs.access('file/that/does/not/exist', (err) => { - * const errorMap = util.getSystemErrorMap(); - * const name = errorMap.get(err.errno); - * console.error(name); // ENOENT - * }); - * ``` - * @since v16.0.0, v14.17.0 - */ - export function getSystemErrorMap(): Map; - /** - * The `util.log()` method prints the given `string` to `stdout` with an included - * timestamp. - * - * ```js - * const util = require('node:util'); - * - * util.log('Timestamped message.'); - * ``` - * @since v0.3.0 - * @deprecated Since v6.0.0 - Use a third party module instead. - */ - export function log(string: string): void; - /** - * Returns the `string` after replacing any surrogate code points - * (or equivalently, any unpaired surrogate code units) with the - * Unicode "replacement character" U+FFFD. - * @since v16.8.0, v14.18.0 - */ - export function toUSVString(string: string): string; - /** - * Creates and returns an `AbortController` instance whose `AbortSignal` is marked - * as transferable and can be used with `structuredClone()` or `postMessage()`. - * @since v18.11.0 - * @experimental - * @returns A transferable AbortController - */ - export function transferableAbortController(): AbortController; - /** - * Marks the given `AbortSignal` as transferable so that it can be used with`structuredClone()` and `postMessage()`. - * - * ```js - * const signal = transferableAbortSignal(AbortSignal.timeout(100)); - * const channel = new MessageChannel(); - * channel.port2.postMessage(signal, [signal]); - * ``` - * @since v18.11.0 - * @experimental - * @param signal The AbortSignal - * @returns The same AbortSignal - */ - export function transferableAbortSignal(signal: AbortSignal): AbortSignal; - /** - * Listens to abort event on the provided `signal` and - * returns a promise that is fulfilled when the `signal` is - * aborted. If the passed `resource` is garbage collected before the `signal` is - * aborted, the returned promise shall remain pending indefinitely. - * - * ```js - * import { aborted } from 'node:util'; - * - * const dependent = obtainSomethingAbortable(); - * - * aborted(dependent.signal, dependent).then(() => { - * // Do something when dependent is aborted. - * }); - * - * dependent.on('event', () => { - * dependent.abort(); - * }); - * ``` - * @since v19.7.0 - * @experimental - * @param resource Any non-null entity, reference to which is held weakly. - */ - export function aborted(signal: AbortSignal, resource: any): Promise; - /** - * The `util.inspect()` method returns a string representation of `object` that is - * intended for debugging. The output of `util.inspect` may change at any time - * and should not be depended upon programmatically. Additional `options` may be - * passed that alter the result.`util.inspect()` will use the constructor's name and/or `@@toStringTag` to make - * an identifiable tag for an inspected value. - * - * ```js - * class Foo { - * get [Symbol.toStringTag]() { - * return 'bar'; - * } - * } - * - * class Bar {} - * - * const baz = Object.create(null, { [Symbol.toStringTag]: { value: 'foo' } }); - * - * util.inspect(new Foo()); // 'Foo [bar] {}' - * util.inspect(new Bar()); // 'Bar {}' - * util.inspect(baz); // '[foo] {}' - * ``` - * - * Circular references point to their anchor by using a reference index: - * - * ```js - * const { inspect } = require('node:util'); - * - * const obj = {}; - * obj.a = [obj]; - * obj.b = {}; - * obj.b.inner = obj.b; - * obj.b.obj = obj; - * - * console.log(inspect(obj)); - * // { - * // a: [ [Circular *1] ], - * // b: { inner: [Circular *2], obj: [Circular *1] } - * // } - * ``` - * - * The following example inspects all properties of the `util` object: - * - * ```js - * const util = require('node:util'); - * - * console.log(util.inspect(util, { showHidden: true, depth: null })); - * ``` - * - * The following example highlights the effect of the `compact` option: - * - * ```js - * const util = require('node:util'); - * - * const o = { - * a: [1, 2, [[ - * 'Lorem ipsum dolor sit amet,\nconsectetur adipiscing elit, sed do ' + - * 'eiusmod \ntempor incididunt ut labore et dolore magna aliqua.', - * 'test', - * 'foo']], 4], - * b: new Map([['za', 1], ['zb', 'test']]), - * }; - * console.log(util.inspect(o, { compact: true, depth: 5, breakLength: 80 })); - * - * // { a: - * // [ 1, - * // 2, - * // [ [ 'Lorem ipsum dolor sit amet,\nconsectetur [...]', // A long line - * // 'test', - * // 'foo' ] ], - * // 4 ], - * // b: Map(2) { 'za' => 1, 'zb' => 'test' } } - * - * // Setting `compact` to false or an integer creates more reader friendly output. - * console.log(util.inspect(o, { compact: false, depth: 5, breakLength: 80 })); - * - * // { - * // a: [ - * // 1, - * // 2, - * // [ - * // [ - * // 'Lorem ipsum dolor sit amet,\n' + - * // 'consectetur adipiscing elit, sed do eiusmod \n' + - * // 'tempor incididunt ut labore et dolore magna aliqua.', - * // 'test', - * // 'foo' - * // ] - * // ], - * // 4 - * // ], - * // b: Map(2) { - * // 'za' => 1, - * // 'zb' => 'test' - * // } - * // } - * - * // Setting `breakLength` to e.g. 150 will print the "Lorem ipsum" text in a - * // single line. - * ``` - * - * The `showHidden` option allows [`WeakMap`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WeakMap) and - * [`WeakSet`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WeakSet) entries to be - * inspected. If there are more entries than `maxArrayLength`, there is no - * guarantee which entries are displayed. That means retrieving the same [`WeakSet`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WeakSet) entries twice may - * result in different output. Furthermore, entries - * with no remaining strong references may be garbage collected at any time. - * - * ```js - * const { inspect } = require('node:util'); - * - * const obj = { a: 1 }; - * const obj2 = { b: 2 }; - * const weakSet = new WeakSet([obj, obj2]); - * - * console.log(inspect(weakSet, { showHidden: true })); - * // WeakSet { { a: 1 }, { b: 2 } } - * ``` - * - * The `sorted` option ensures that an object's property insertion order does not - * impact the result of `util.inspect()`. - * - * ```js - * const { inspect } = require('node:util'); - * const assert = require('node:assert'); - * - * const o1 = { - * b: [2, 3, 1], - * a: '`a` comes before `b`', - * c: new Set([2, 3, 1]), - * }; - * console.log(inspect(o1, { sorted: true })); - * // { a: '`a` comes before `b`', b: [ 2, 3, 1 ], c: Set(3) { 1, 2, 3 } } - * console.log(inspect(o1, { sorted: (a, b) => b.localeCompare(a) })); - * // { c: Set(3) { 3, 2, 1 }, b: [ 2, 3, 1 ], a: '`a` comes before `b`' } - * - * const o2 = { - * c: new Set([2, 1, 3]), - * a: '`a` comes before `b`', - * b: [2, 3, 1], - * }; - * assert.strict.equal( - * inspect(o1, { sorted: true }), - * inspect(o2, { sorted: true }), - * ); - * ``` - * - * The `numericSeparator` option adds an underscore every three digits to all - * numbers. - * - * ```js - * const { inspect } = require('node:util'); - * - * const thousand = 1_000; - * const million = 1_000_000; - * const bigNumber = 123_456_789n; - * const bigDecimal = 1_234.123_45; - * - * console.log(inspect(thousand, { numericSeparator: true })); - * // 1_000 - * console.log(inspect(million, { numericSeparator: true })); - * // 1_000_000 - * console.log(inspect(bigNumber, { numericSeparator: true })); - * // 123_456_789n - * console.log(inspect(bigDecimal, { numericSeparator: true })); - * // 1_234.123_45 - * ``` - * - * `util.inspect()` is a synchronous method intended for debugging. Its maximum - * output length is approximately 128 MiB. Inputs that result in longer output will - * be truncated. - * @since v0.3.0 - * @param object Any JavaScript primitive or `Object`. - * @return The representation of `object`. - */ - export function inspect(object: any, showHidden?: boolean, depth?: number | null, color?: boolean): string; - export function inspect(object: any, options?: InspectOptions): string; - export namespace inspect { - let colors: NodeJS.Dict<[number, number]>; - let styles: { - [K in Style]: string; - }; - let defaultOptions: InspectOptions; - /** - * Allows changing inspect settings from the repl. - */ - let replDefaults: InspectOptions; - /** - * That can be used to declare custom inspect functions. - */ - const custom: unique symbol; - } - /** - * Alias for [`Array.isArray()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/isArray). - * - * Returns `true` if the given `object` is an `Array`. Otherwise, returns `false`. - * - * ```js - * const util = require('node:util'); - * - * util.isArray([]); - * // Returns: true - * util.isArray(new Array()); - * // Returns: true - * util.isArray({}); - * // Returns: false - * ``` - * @since v0.6.0 - * @deprecated Since v4.0.0 - Use `isArray` instead. - */ - export function isArray(object: unknown): object is unknown[]; - /** - * Returns `true` if the given `object` is a `RegExp`. Otherwise, returns `false`. - * - * ```js - * const util = require('node:util'); - * - * util.isRegExp(/some regexp/); - * // Returns: true - * util.isRegExp(new RegExp('another regexp')); - * // Returns: true - * util.isRegExp({}); - * // Returns: false - * ``` - * @since v0.6.0 - * @deprecated Since v4.0.0 - Deprecated - */ - export function isRegExp(object: unknown): object is RegExp; - /** - * Returns `true` if the given `object` is a `Date`. Otherwise, returns `false`. - * - * ```js - * const util = require('node:util'); - * - * util.isDate(new Date()); - * // Returns: true - * util.isDate(Date()); - * // false (without 'new' returns a String) - * util.isDate({}); - * // Returns: false - * ``` - * @since v0.6.0 - * @deprecated Since v4.0.0 - Use {@link types.isDate} instead. - */ - export function isDate(object: unknown): object is Date; - /** - * Returns `true` if the given `object` is an `Error`. Otherwise, returns`false`. - * - * ```js - * const util = require('node:util'); - * - * util.isError(new Error()); - * // Returns: true - * util.isError(new TypeError()); - * // Returns: true - * util.isError({ name: 'Error', message: 'an error occurred' }); - * // Returns: false - * ``` - * - * This method relies on `Object.prototype.toString()` behavior. It is - * possible to obtain an incorrect result when the `object` argument manipulates`@@toStringTag`. - * - * ```js - * const util = require('node:util'); - * const obj = { name: 'Error', message: 'an error occurred' }; - * - * util.isError(obj); - * // Returns: false - * obj[Symbol.toStringTag] = 'Error'; - * util.isError(obj); - * // Returns: true - * ``` - * @since v0.6.0 - * @deprecated Since v4.0.0 - Use {@link types.isNativeError} instead. - */ - export function isError(object: unknown): object is Error; - /** - * Usage of `util.inherits()` is discouraged. Please use the ES6 `class` and`extends` keywords to get language level inheritance support. Also note - * that the two styles are [semantically incompatible](https://github.com/nodejs/node/issues/4179). - * - * Inherit the prototype methods from one [constructor](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/constructor) into another. The - * prototype of `constructor` will be set to a new object created from`superConstructor`. - * - * This mainly adds some input validation on top of`Object.setPrototypeOf(constructor.prototype, superConstructor.prototype)`. - * As an additional convenience, `superConstructor` will be accessible - * through the `constructor.super_` property. - * - * ```js - * const util = require('node:util'); - * const EventEmitter = require('node:events'); - * - * function MyStream() { - * EventEmitter.call(this); - * } - * - * util.inherits(MyStream, EventEmitter); - * - * MyStream.prototype.write = function(data) { - * this.emit('data', data); - * }; - * - * const stream = new MyStream(); - * - * console.log(stream instanceof EventEmitter); // true - * console.log(MyStream.super_ === EventEmitter); // true - * - * stream.on('data', (data) => { - * console.log(`Received data: "${data}"`); - * }); - * stream.write('It works!'); // Received data: "It works!" - * ``` - * - * ES6 example using `class` and `extends`: - * - * ```js - * const EventEmitter = require('node:events'); - * - * class MyStream extends EventEmitter { - * write(data) { - * this.emit('data', data); - * } - * } - * - * const stream = new MyStream(); - * - * stream.on('data', (data) => { - * console.log(`Received data: "${data}"`); - * }); - * stream.write('With ES6'); - * ``` - * @since v0.3.0 - * @legacy Use ES2015 class syntax and `extends` keyword instead. - */ - export function inherits(constructor: unknown, superConstructor: unknown): void; - export type DebugLoggerFunction = (msg: string, ...param: unknown[]) => void; - export interface DebugLogger extends DebugLoggerFunction { - enabled: boolean; - } - /** - * The `util.debuglog()` method is used to create a function that conditionally - * writes debug messages to `stderr` based on the existence of the `NODE_DEBUG`environment variable. If the `section` name appears within the value of that - * environment variable, then the returned function operates similar to `console.error()`. If not, then the returned function is a no-op. - * - * ```js - * const util = require('node:util'); - * const debuglog = util.debuglog('foo'); - * - * debuglog('hello from foo [%d]', 123); - * ``` - * - * If this program is run with `NODE_DEBUG=foo` in the environment, then - * it will output something like: - * - * ```console - * FOO 3245: hello from foo [123] - * ``` - * - * where `3245` is the process id. If it is not run with that - * environment variable set, then it will not print anything. - * - * The `section` supports wildcard also: - * - * ```js - * const util = require('node:util'); - * const debuglog = util.debuglog('foo-bar'); - * - * debuglog('hi there, it\'s foo-bar [%d]', 2333); - * ``` - * - * if it is run with `NODE_DEBUG=foo*` in the environment, then it will output - * something like: - * - * ```console - * FOO-BAR 3257: hi there, it's foo-bar [2333] - * ``` - * - * Multiple comma-separated `section` names may be specified in the `NODE_DEBUG`environment variable: `NODE_DEBUG=fs,net,tls`. - * - * The optional `callback` argument can be used to replace the logging function - * with a different function that doesn't have any initialization or - * unnecessary wrapping. - * - * ```js - * const util = require('node:util'); - * let debuglog = util.debuglog('internals', (debug) => { - * // Replace with a logging function that optimizes out - * // testing if the section is enabled - * debuglog = debug; - * }); - * ``` - * @since v0.11.3 - * @param section A string identifying the portion of the application for which the `debuglog` function is being created. - * @param callback A callback invoked the first time the logging function is called with a function argument that is a more optimized logging function. - * @return The logging function - */ - export function debuglog(section: string, callback?: (fn: DebugLoggerFunction) => void): DebugLogger; - export const debug: typeof debuglog; - /** - * Returns `true` if the given `object` is a `Boolean`. Otherwise, returns `false`. - * - * ```js - * const util = require('node:util'); - * - * util.isBoolean(1); - * // Returns: false - * util.isBoolean(0); - * // Returns: false - * util.isBoolean(false); - * // Returns: true - * ``` - * @since v0.11.5 - * @deprecated Since v4.0.0 - Use `typeof value === 'boolean'` instead. - */ - export function isBoolean(object: unknown): object is boolean; - /** - * Returns `true` if the given `object` is a `Buffer`. Otherwise, returns `false`. - * - * ```js - * const util = require('node:util'); - * - * util.isBuffer({ length: 0 }); - * // Returns: false - * util.isBuffer([]); - * // Returns: false - * util.isBuffer(Buffer.from('hello world')); - * // Returns: true - * ``` - * @since v0.11.5 - * @deprecated Since v4.0.0 - Use `isBuffer` instead. - */ - export function isBuffer(object: unknown): object is Buffer; - /** - * Returns `true` if the given `object` is a `Function`. Otherwise, returns`false`. - * - * ```js - * const util = require('node:util'); - * - * function Foo() {} - * const Bar = () => {}; - * - * util.isFunction({}); - * // Returns: false - * util.isFunction(Foo); - * // Returns: true - * util.isFunction(Bar); - * // Returns: true - * ``` - * @since v0.11.5 - * @deprecated Since v4.0.0 - Use `typeof value === 'function'` instead. - */ - export function isFunction(object: unknown): boolean; - /** - * Returns `true` if the given `object` is strictly `null`. Otherwise, returns`false`. - * - * ```js - * const util = require('node:util'); - * - * util.isNull(0); - * // Returns: false - * util.isNull(undefined); - * // Returns: false - * util.isNull(null); - * // Returns: true - * ``` - * @since v0.11.5 - * @deprecated Since v4.0.0 - Use `value === null` instead. - */ - export function isNull(object: unknown): object is null; - /** - * Returns `true` if the given `object` is `null` or `undefined`. Otherwise, - * returns `false`. - * - * ```js - * const util = require('node:util'); - * - * util.isNullOrUndefined(0); - * // Returns: false - * util.isNullOrUndefined(undefined); - * // Returns: true - * util.isNullOrUndefined(null); - * // Returns: true - * ``` - * @since v0.11.5 - * @deprecated Since v4.0.0 - Use `value === undefined || value === null` instead. - */ - export function isNullOrUndefined(object: unknown): object is null | undefined; - /** - * Returns `true` if the given `object` is a `Number`. Otherwise, returns `false`. - * - * ```js - * const util = require('node:util'); - * - * util.isNumber(false); - * // Returns: false - * util.isNumber(Infinity); - * // Returns: true - * util.isNumber(0); - * // Returns: true - * util.isNumber(NaN); - * // Returns: true - * ``` - * @since v0.11.5 - * @deprecated Since v4.0.0 - Use `typeof value === 'number'` instead. - */ - export function isNumber(object: unknown): object is number; - /** - * Returns `true` if the given `object` is strictly an `Object`**and** not a`Function` (even though functions are objects in JavaScript). - * Otherwise, returns `false`. - * - * ```js - * const util = require('node:util'); - * - * util.isObject(5); - * // Returns: false - * util.isObject(null); - * // Returns: false - * util.isObject({}); - * // Returns: true - * util.isObject(() => {}); - * // Returns: false - * ``` - * @since v0.11.5 - * @deprecated Since v4.0.0 - Use `value !== null && typeof value === 'object'` instead. - */ - export function isObject(object: unknown): boolean; - /** - * Returns `true` if the given `object` is a primitive type. Otherwise, returns`false`. - * - * ```js - * const util = require('node:util'); - * - * util.isPrimitive(5); - * // Returns: true - * util.isPrimitive('foo'); - * // Returns: true - * util.isPrimitive(false); - * // Returns: true - * util.isPrimitive(null); - * // Returns: true - * util.isPrimitive(undefined); - * // Returns: true - * util.isPrimitive({}); - * // Returns: false - * util.isPrimitive(() => {}); - * // Returns: false - * util.isPrimitive(/^$/); - * // Returns: false - * util.isPrimitive(new Date()); - * // Returns: false - * ``` - * @since v0.11.5 - * @deprecated Since v4.0.0 - Use `(typeof value !== 'object' && typeof value !== 'function') || value === null` instead. - */ - export function isPrimitive(object: unknown): boolean; - /** - * Returns `true` if the given `object` is a `string`. Otherwise, returns `false`. - * - * ```js - * const util = require('node:util'); - * - * util.isString(''); - * // Returns: true - * util.isString('foo'); - * // Returns: true - * util.isString(String('foo')); - * // Returns: true - * util.isString(5); - * // Returns: false - * ``` - * @since v0.11.5 - * @deprecated Since v4.0.0 - Use `typeof value === 'string'` instead. - */ - export function isString(object: unknown): object is string; - /** - * Returns `true` if the given `object` is a `Symbol`. Otherwise, returns `false`. - * - * ```js - * const util = require('node:util'); - * - * util.isSymbol(5); - * // Returns: false - * util.isSymbol('foo'); - * // Returns: false - * util.isSymbol(Symbol('foo')); - * // Returns: true - * ``` - * @since v0.11.5 - * @deprecated Since v4.0.0 - Use `typeof value === 'symbol'` instead. - */ - export function isSymbol(object: unknown): object is symbol; - /** - * Returns `true` if the given `object` is `undefined`. Otherwise, returns `false`. - * - * ```js - * const util = require('node:util'); - * - * const foo = undefined; - * util.isUndefined(5); - * // Returns: false - * util.isUndefined(foo); - * // Returns: true - * util.isUndefined(null); - * // Returns: false - * ``` - * @since v0.11.5 - * @deprecated Since v4.0.0 - Use `value === undefined` instead. - */ - export function isUndefined(object: unknown): object is undefined; - /** - * The `util.deprecate()` method wraps `fn` (which may be a function or class) in - * such a way that it is marked as deprecated. - * - * ```js - * const util = require('node:util'); - * - * exports.obsoleteFunction = util.deprecate(() => { - * // Do something here. - * }, 'obsoleteFunction() is deprecated. Use newShinyFunction() instead.'); - * ``` - * - * When called, `util.deprecate()` will return a function that will emit a`DeprecationWarning` using the `'warning'` event. The warning will - * be emitted and printed to `stderr` the first time the returned function is - * called. After the warning is emitted, the wrapped function is called without - * emitting a warning. - * - * If the same optional `code` is supplied in multiple calls to `util.deprecate()`, - * the warning will be emitted only once for that `code`. - * - * ```js - * const util = require('node:util'); - * - * const fn1 = util.deprecate(someFunction, someMessage, 'DEP0001'); - * const fn2 = util.deprecate(someOtherFunction, someOtherMessage, 'DEP0001'); - * fn1(); // Emits a deprecation warning with code DEP0001 - * fn2(); // Does not emit a deprecation warning because it has the same code - * ``` - * - * If either the `--no-deprecation` or `--no-warnings` command-line flags are - * used, or if the `process.noDeprecation` property is set to `true`_prior_ to - * the first deprecation warning, the `util.deprecate()` method does nothing. - * - * If the `--trace-deprecation` or `--trace-warnings` command-line flags are set, - * or the `process.traceDeprecation` property is set to `true`, a warning and a - * stack trace are printed to `stderr` the first time the deprecated function is - * called. - * - * If the `--throw-deprecation` command-line flag is set, or the`process.throwDeprecation` property is set to `true`, then an exception will be - * thrown when the deprecated function is called. - * - * The `--throw-deprecation` command-line flag and `process.throwDeprecation`property take precedence over `--trace-deprecation` and`process.traceDeprecation`. - * @since v0.8.0 - * @param fn The function that is being deprecated. - * @param msg A warning message to display when the deprecated function is invoked. - * @param code A deprecation code. See the `list of deprecated APIs` for a list of codes. - * @return The deprecated function wrapped to emit a warning. - */ - export function deprecate(fn: T, msg: string, code?: string): T; - /** - * Returns `true` if there is deep strict equality between `val1` and `val2`. - * Otherwise, returns `false`. - * - * See `assert.deepStrictEqual()` for more information about deep strict - * equality. - * @since v9.0.0 - */ - export function isDeepStrictEqual(val1: unknown, val2: unknown): boolean; - /** - * Returns `str` with any ANSI escape codes removed. - * - * ```js - * console.log(util.stripVTControlCharacters('\u001B[4mvalue\u001B[0m')); - * // Prints "value" - * ``` - * @since v16.11.0 - */ - export function stripVTControlCharacters(str: string): string; - /** - * Takes an `async` function (or a function that returns a `Promise`) and returns a - * function following the error-first callback style, i.e. taking - * an `(err, value) => ...` callback as the last argument. In the callback, the - * first argument will be the rejection reason (or `null` if the `Promise`resolved), and the second argument will be the resolved value. - * - * ```js - * const util = require('node:util'); - * - * async function fn() { - * return 'hello world'; - * } - * const callbackFunction = util.callbackify(fn); - * - * callbackFunction((err, ret) => { - * if (err) throw err; - * console.log(ret); - * }); - * ``` - * - * Will print: - * - * ```text - * hello world - * ``` - * - * The callback is executed asynchronously, and will have a limited stack trace. - * If the callback throws, the process will emit an `'uncaughtException'` event, and if not handled will exit. - * - * Since `null` has a special meaning as the first argument to a callback, if a - * wrapped function rejects a `Promise` with a falsy value as a reason, the value - * is wrapped in an `Error` with the original value stored in a field named`reason`. - * - * ```js - * function fn() { - * return Promise.reject(null); - * } - * const callbackFunction = util.callbackify(fn); - * - * callbackFunction((err, ret) => { - * // When the Promise was rejected with `null` it is wrapped with an Error and - * // the original value is stored in `reason`. - * err && Object.hasOwn(err, 'reason') && err.reason === null; // true - * }); - * ``` - * @since v8.2.0 - * @param fn An `async` function - * @return a callback style function - */ - export function callbackify(fn: () => Promise): (callback: (err: NodeJS.ErrnoException) => void) => void; - export function callbackify( - fn: () => Promise, - ): (callback: (err: NodeJS.ErrnoException, result: TResult) => void) => void; - export function callbackify( - fn: (arg1: T1) => Promise, - ): (arg1: T1, callback: (err: NodeJS.ErrnoException) => void) => void; - export function callbackify( - fn: (arg1: T1) => Promise, - ): (arg1: T1, callback: (err: NodeJS.ErrnoException, result: TResult) => void) => void; - export function callbackify( - fn: (arg1: T1, arg2: T2) => Promise, - ): (arg1: T1, arg2: T2, callback: (err: NodeJS.ErrnoException) => void) => void; - export function callbackify( - fn: (arg1: T1, arg2: T2) => Promise, - ): (arg1: T1, arg2: T2, callback: (err: NodeJS.ErrnoException | null, result: TResult) => void) => void; - export function callbackify( - fn: (arg1: T1, arg2: T2, arg3: T3) => Promise, - ): (arg1: T1, arg2: T2, arg3: T3, callback: (err: NodeJS.ErrnoException) => void) => void; - export function callbackify( - fn: (arg1: T1, arg2: T2, arg3: T3) => Promise, - ): (arg1: T1, arg2: T2, arg3: T3, callback: (err: NodeJS.ErrnoException | null, result: TResult) => void) => void; - export function callbackify( - fn: (arg1: T1, arg2: T2, arg3: T3, arg4: T4) => Promise, - ): (arg1: T1, arg2: T2, arg3: T3, arg4: T4, callback: (err: NodeJS.ErrnoException) => void) => void; - export function callbackify( - fn: (arg1: T1, arg2: T2, arg3: T3, arg4: T4) => Promise, - ): ( - arg1: T1, - arg2: T2, - arg3: T3, - arg4: T4, - callback: (err: NodeJS.ErrnoException | null, result: TResult) => void, - ) => void; - export function callbackify( - fn: (arg1: T1, arg2: T2, arg3: T3, arg4: T4, arg5: T5) => Promise, - ): (arg1: T1, arg2: T2, arg3: T3, arg4: T4, arg5: T5, callback: (err: NodeJS.ErrnoException) => void) => void; - export function callbackify( - fn: (arg1: T1, arg2: T2, arg3: T3, arg4: T4, arg5: T5) => Promise, - ): ( - arg1: T1, - arg2: T2, - arg3: T3, - arg4: T4, - arg5: T5, - callback: (err: NodeJS.ErrnoException | null, result: TResult) => void, - ) => void; - export function callbackify( - fn: (arg1: T1, arg2: T2, arg3: T3, arg4: T4, arg5: T5, arg6: T6) => Promise, - ): ( - arg1: T1, - arg2: T2, - arg3: T3, - arg4: T4, - arg5: T5, - arg6: T6, - callback: (err: NodeJS.ErrnoException) => void, - ) => void; - export function callbackify( - fn: (arg1: T1, arg2: T2, arg3: T3, arg4: T4, arg5: T5, arg6: T6) => Promise, - ): ( - arg1: T1, - arg2: T2, - arg3: T3, - arg4: T4, - arg5: T5, - arg6: T6, - callback: (err: NodeJS.ErrnoException | null, result: TResult) => void, - ) => void; - export interface CustomPromisifyLegacy extends Function { - __promisify__: TCustom; - } - export interface CustomPromisifySymbol extends Function { - [promisify.custom]: TCustom; - } - export type CustomPromisify = - | CustomPromisifySymbol - | CustomPromisifyLegacy; - /** - * Takes a function following the common error-first callback style, i.e. taking - * an `(err, value) => ...` callback as the last argument, and returns a version - * that returns promises. - * - * ```js - * const util = require('node:util'); - * const fs = require('node:fs'); - * - * const stat = util.promisify(fs.stat); - * stat('.').then((stats) => { - * // Do something with `stats` - * }).catch((error) => { - * // Handle the error. - * }); - * ``` - * - * Or, equivalently using `async function`s: - * - * ```js - * const util = require('node:util'); - * const fs = require('node:fs'); - * - * const stat = util.promisify(fs.stat); - * - * async function callStat() { - * const stats = await stat('.'); - * console.log(`This directory is owned by ${stats.uid}`); - * } - * - * callStat(); - * ``` - * - * If there is an `original[util.promisify.custom]` property present, `promisify`will return its value, see `Custom promisified functions`. - * - * `promisify()` assumes that `original` is a function taking a callback as its - * final argument in all cases. If `original` is not a function, `promisify()`will throw an error. If `original` is a function but its last argument is not - * an error-first callback, it will still be passed an error-first - * callback as its last argument. - * - * Using `promisify()` on class methods or other methods that use `this` may not - * work as expected unless handled specially: - * - * ```js - * const util = require('node:util'); - * - * class Foo { - * constructor() { - * this.a = 42; - * } - * - * bar(callback) { - * callback(null, this.a); - * } - * } - * - * const foo = new Foo(); - * - * const naiveBar = util.promisify(foo.bar); - * // TypeError: Cannot read property 'a' of undefined - * // naiveBar().then(a => console.log(a)); - * - * naiveBar.call(foo).then((a) => console.log(a)); // '42' - * - * const bindBar = naiveBar.bind(foo); - * bindBar().then((a) => console.log(a)); // '42' - * ``` - * @since v8.0.0 - */ - export function promisify(fn: CustomPromisify): TCustom; - export function promisify( - fn: (callback: (err: any, result: TResult) => void) => void, - ): () => Promise; - export function promisify(fn: (callback: (err?: any) => void) => void): () => Promise; - export function promisify( - fn: (arg1: T1, callback: (err: any, result: TResult) => void) => void, - ): (arg1: T1) => Promise; - export function promisify(fn: (arg1: T1, callback: (err?: any) => void) => void): (arg1: T1) => Promise; - export function promisify( - fn: (arg1: T1, arg2: T2, callback: (err: any, result: TResult) => void) => void, - ): (arg1: T1, arg2: T2) => Promise; - export function promisify( - fn: (arg1: T1, arg2: T2, callback: (err?: any) => void) => void, - ): (arg1: T1, arg2: T2) => Promise; - export function promisify( - fn: (arg1: T1, arg2: T2, arg3: T3, callback: (err: any, result: TResult) => void) => void, - ): (arg1: T1, arg2: T2, arg3: T3) => Promise; - export function promisify( - fn: (arg1: T1, arg2: T2, arg3: T3, callback: (err?: any) => void) => void, - ): (arg1: T1, arg2: T2, arg3: T3) => Promise; - export function promisify( - fn: (arg1: T1, arg2: T2, arg3: T3, arg4: T4, callback: (err: any, result: TResult) => void) => void, - ): (arg1: T1, arg2: T2, arg3: T3, arg4: T4) => Promise; - export function promisify( - fn: (arg1: T1, arg2: T2, arg3: T3, arg4: T4, callback: (err?: any) => void) => void, - ): (arg1: T1, arg2: T2, arg3: T3, arg4: T4) => Promise; - export function promisify( - fn: (arg1: T1, arg2: T2, arg3: T3, arg4: T4, arg5: T5, callback: (err: any, result: TResult) => void) => void, - ): (arg1: T1, arg2: T2, arg3: T3, arg4: T4, arg5: T5) => Promise; - export function promisify( - fn: (arg1: T1, arg2: T2, arg3: T3, arg4: T4, arg5: T5, callback: (err?: any) => void) => void, - ): (arg1: T1, arg2: T2, arg3: T3, arg4: T4, arg5: T5) => Promise; - export function promisify(fn: Function): Function; - export namespace promisify { - /** - * That can be used to declare custom promisified variants of functions. - */ - const custom: unique symbol; - } - /** - * An implementation of the [WHATWG Encoding Standard](https://encoding.spec.whatwg.org/) `TextDecoder` API. - * - * ```js - * const decoder = new TextDecoder(); - * const u8arr = new Uint8Array([72, 101, 108, 108, 111]); - * console.log(decoder.decode(u8arr)); // Hello - * ``` - * @since v8.3.0 - */ - export class TextDecoder { - /** - * The encoding supported by the `TextDecoder` instance. - */ - readonly encoding: string; - /** - * The value will be `true` if decoding errors result in a `TypeError` being - * thrown. - */ - readonly fatal: boolean; - /** - * The value will be `true` if the decoding result will include the byte order - * mark. - */ - readonly ignoreBOM: boolean; - constructor( - encoding?: string, - options?: { - fatal?: boolean | undefined; - ignoreBOM?: boolean | undefined; - }, - ); - /** - * Decodes the `input` and returns a string. If `options.stream` is `true`, any - * incomplete byte sequences occurring at the end of the `input` are buffered - * internally and emitted after the next call to `textDecoder.decode()`. - * - * If `textDecoder.fatal` is `true`, decoding errors that occur will result in a`TypeError` being thrown. - * @param input An `ArrayBuffer`, `DataView`, or `TypedArray` instance containing the encoded data. - */ - decode( - input?: NodeJS.ArrayBufferView | ArrayBuffer | null, - options?: { - stream?: boolean | undefined; - }, - ): string; - } - export interface EncodeIntoResult { - /** - * The read Unicode code units of input. - */ - read: number; - /** - * The written UTF-8 bytes of output. - */ - written: number; - } - export { types }; - - //// TextEncoder/Decoder - /** - * An implementation of the [WHATWG Encoding Standard](https://encoding.spec.whatwg.org/) `TextEncoder` API. All - * instances of `TextEncoder` only support UTF-8 encoding. - * - * ```js - * const encoder = new TextEncoder(); - * const uint8array = encoder.encode('this is some data'); - * ``` - * - * The `TextEncoder` class is also available on the global object. - * @since v8.3.0 - */ - export class TextEncoder { - /** - * The encoding supported by the `TextEncoder` instance. Always set to `'utf-8'`. - */ - readonly encoding: string; - /** - * UTF-8 encodes the `input` string and returns a `Uint8Array` containing the - * encoded bytes. - * @param [input='an empty string'] The text to encode. - */ - encode(input?: string): Uint8Array; - /** - * UTF-8 encodes the `src` string to the `dest` Uint8Array and returns an object - * containing the read Unicode code units and written UTF-8 bytes. - * - * ```js - * const encoder = new TextEncoder(); - * const src = 'this is some data'; - * const dest = new Uint8Array(10); - * const { read, written } = encoder.encodeInto(src, dest); - * ``` - * @param src The text to encode. - * @param dest The array to hold the encode result. - */ - encodeInto(src: string, dest: Uint8Array): EncodeIntoResult; - } - import { TextDecoder as _TextDecoder, TextEncoder as _TextEncoder } from "util"; - global { - /** - * `TextDecoder` class is a global reference for `require('util').TextDecoder` - * https://nodejs.org/api/globals.html#textdecoder - * @since v11.0.0 - */ - var TextDecoder: typeof globalThis extends { - onmessage: any; - TextDecoder: infer TextDecoder; - } ? TextDecoder - : typeof _TextDecoder; - /** - * `TextEncoder` class is a global reference for `require('util').TextEncoder` - * https://nodejs.org/api/globals.html#textencoder - * @since v11.0.0 - */ - var TextEncoder: typeof globalThis extends { - onmessage: any; - TextEncoder: infer TextEncoder; - } ? TextEncoder - : typeof _TextEncoder; - } - - //// parseArgs - /** - * Provides a higher level API for command-line argument parsing than interacting - * with `process.argv` directly. Takes a specification for the expected arguments - * and returns a structured object with the parsed options and positionals. - * - * ```js - * import { parseArgs } from 'node:util'; - * const args = ['-f', '--bar', 'b']; - * const options = { - * foo: { - * type: 'boolean', - * short: 'f', - * }, - * bar: { - * type: 'string', - * }, - * }; - * const { - * values, - * positionals, - * } = parseArgs({ args, options }); - * console.log(values, positionals); - * // Prints: [Object: null prototype] { foo: true, bar: 'b' } [] - * ``` - * @since v18.3.0, v16.17.0 - * @param config Used to provide arguments for parsing and to configure the parser. `config` supports the following properties: - * @return The parsed command line arguments: - */ - export function parseArgs(config?: T): ParsedResults; - interface ParseArgsOptionConfig { - /** - * Type of argument. - */ - type: "string" | "boolean"; - /** - * Whether this option can be provided multiple times. - * If `true`, all values will be collected in an array. - * If `false`, values for the option are last-wins. - * @default false. - */ - multiple?: boolean | undefined; - /** - * A single character alias for the option. - */ - short?: string | undefined; - /** - * The default option value when it is not set by args. - * It must be of the same type as the the `type` property. - * When `multiple` is `true`, it must be an array. - * @since v18.11.0 - */ - default?: string | boolean | string[] | boolean[] | undefined; - } - interface ParseArgsOptionsConfig { - [longOption: string]: ParseArgsOptionConfig; - } - export interface ParseArgsConfig { - /** - * Array of argument strings. - */ - args?: string[] | undefined; - /** - * Used to describe arguments known to the parser. - */ - options?: ParseArgsOptionsConfig | undefined; - /** - * Should an error be thrown when unknown arguments are encountered, - * or when arguments are passed that do not match the `type` configured in `options`. - * @default true - */ - strict?: boolean | undefined; - /** - * Whether this command accepts positional arguments. - */ - allowPositionals?: boolean | undefined; - /** - * Return the parsed tokens. This is useful for extending the built-in behavior, - * from adding additional checks through to reprocessing the tokens in different ways. - * @default false - */ - tokens?: boolean | undefined; - } - /* - IfDefaultsTrue and IfDefaultsFalse are helpers to handle default values for missing boolean properties. - TypeScript does not have exact types for objects: https://github.com/microsoft/TypeScript/issues/12936 - This means it is impossible to distinguish between "field X is definitely not present" and "field X may or may not be present". - But we expect users to generally provide their config inline or `as const`, which means TS will always know whether a given field is present. - So this helper treats "not definitely present" (i.e., not `extends boolean`) as being "definitely not present", i.e. it should have its default value. - This is technically incorrect but is a much nicer UX for the common case. - The IfDefaultsTrue version is for things which default to true; the IfDefaultsFalse version is for things which default to false. - */ - type IfDefaultsTrue = T extends true ? IfTrue - : T extends false ? IfFalse - : IfTrue; - - // we put the `extends false` condition first here because `undefined` compares like `any` when `strictNullChecks: false` - type IfDefaultsFalse = T extends false ? IfFalse - : T extends true ? IfTrue - : IfFalse; - - type ExtractOptionValue = IfDefaultsTrue< - T["strict"], - O["type"] extends "string" ? string : O["type"] extends "boolean" ? boolean : string | boolean, - string | boolean - >; - - type ParsedValues = - & IfDefaultsTrue - & (T["options"] extends ParseArgsOptionsConfig ? { - -readonly [LongOption in keyof T["options"]]: IfDefaultsFalse< - T["options"][LongOption]["multiple"], - undefined | Array>, - undefined | ExtractOptionValue - >; - } - : {}); - - type ParsedPositionals = IfDefaultsTrue< - T["strict"], - IfDefaultsFalse, - IfDefaultsTrue - >; - - type PreciseTokenForOptions< - K extends string, - O extends ParseArgsOptionConfig, - > = O["type"] extends "string" ? { - kind: "option"; - index: number; - name: K; - rawName: string; - value: string; - inlineValue: boolean; - } - : O["type"] extends "boolean" ? { - kind: "option"; - index: number; - name: K; - rawName: string; - value: undefined; - inlineValue: undefined; - } - : OptionToken & { name: K }; - - type TokenForOptions< - T extends ParseArgsConfig, - K extends keyof T["options"] = keyof T["options"], - > = K extends unknown - ? T["options"] extends ParseArgsOptionsConfig ? PreciseTokenForOptions - : OptionToken - : never; - - type ParsedOptionToken = IfDefaultsTrue, OptionToken>; - - type ParsedPositionalToken = IfDefaultsTrue< - T["strict"], - IfDefaultsFalse, - IfDefaultsTrue - >; - - type ParsedTokens = Array< - ParsedOptionToken | ParsedPositionalToken | { kind: "option-terminator"; index: number } - >; - - type PreciseParsedResults = IfDefaultsFalse< - T["tokens"], - { - values: ParsedValues; - positionals: ParsedPositionals; - tokens: ParsedTokens; - }, - { - values: ParsedValues; - positionals: ParsedPositionals; - } - >; - - type OptionToken = - | { kind: "option"; index: number; name: string; rawName: string; value: string; inlineValue: boolean } - | { - kind: "option"; - index: number; - name: string; - rawName: string; - value: undefined; - inlineValue: undefined; - }; - - type Token = - | OptionToken - | { kind: "positional"; index: number; value: string } - | { kind: "option-terminator"; index: number }; - - // If ParseArgsConfig extends T, then the user passed config constructed elsewhere. - // So we can't rely on the `"not definitely present" implies "definitely not present"` assumption mentioned above. - type ParsedResults = ParseArgsConfig extends T ? { - values: { - [longOption: string]: undefined | string | boolean | Array; - }; - positionals: string[]; - tokens?: Token[]; - } - : PreciseParsedResults; - - /** - * An implementation of [the MIMEType class](https://bmeck.github.io/node-proposal-mime-api/). - * - * In accordance with browser conventions, all properties of `MIMEType` objects - * are implemented as getters and setters on the class prototype, rather than as - * data properties on the object itself. - * - * A MIME string is a structured string containing multiple meaningful - * components. When parsed, a `MIMEType` object is returned containing - * properties for each of these components. - * @since v19.1.0, v18.13.0 - * @experimental - */ - export class MIMEType { - /** - * Creates a new MIMEType object by parsing the input. - * - * A `TypeError` will be thrown if the `input` is not a valid MIME. - * Note that an effort will be made to coerce the given values into strings. - * @param input The input MIME to parse. - */ - constructor(input: string | { toString: () => string }); - - /** - * Gets and sets the type portion of the MIME. - * - * ```js - * import { MIMEType } from 'node:util'; - * - * const myMIME = new MIMEType('text/javascript'); - * console.log(myMIME.type); - * // Prints: text - * myMIME.type = 'application'; - * console.log(myMIME.type); - * // Prints: application - * console.log(String(myMIME)); - * // Prints: application/javascript - * ``` - */ - type: string; - /** - * Gets and sets the subtype portion of the MIME. - * - * ```js - * import { MIMEType } from 'node:util'; - * - * const myMIME = new MIMEType('text/ecmascript'); - * console.log(myMIME.subtype); - * // Prints: ecmascript - * myMIME.subtype = 'javascript'; - * console.log(myMIME.subtype); - * // Prints: javascript - * console.log(String(myMIME)); - * // Prints: text/javascript - * ``` - */ - subtype: string; - /** - * Gets the essence of the MIME. This property is read only. - * Use `mime.type` or `mime.subtype` to alter the MIME. - * - * ```js - * import { MIMEType } from 'node:util'; - * - * const myMIME = new MIMEType('text/javascript;key=value'); - * console.log(myMIME.essence); - * // Prints: text/javascript - * myMIME.type = 'application'; - * console.log(myMIME.essence); - * // Prints: application/javascript - * console.log(String(myMIME)); - * // Prints: application/javascript;key=value - * ``` - */ - readonly essence: string; - /** - * Gets the `MIMEParams` object representing the - * parameters of the MIME. This property is read-only. See `MIMEParams` documentation for details. - */ - readonly params: MIMEParams; - /** - * The `toString()` method on the `MIMEType` object returns the serialized MIME. - * - * Because of the need for standard compliance, this method does not allow users - * to customize the serialization process of the MIME. - */ - toString(): string; - } - /** - * The `MIMEParams` API provides read and write access to the parameters of a`MIMEType`. - * @since v19.1.0, v18.13.0 - */ - export class MIMEParams { - /** - * Remove all name-value pairs whose name is `name`. - */ - delete(name: string): void; - /** - * Returns an iterator over each of the name-value pairs in the parameters. - * Each item of the iterator is a JavaScript `Array`. The first item of the array - * is the `name`, the second item of the array is the `value`. - */ - entries(): IterableIterator<[name: string, value: string]>; - /** - * Returns the value of the first name-value pair whose name is `name`. If there - * are no such pairs, `null` is returned. - * @return or `null` if there is no name-value pair with the given `name`. - */ - get(name: string): string | null; - /** - * Returns `true` if there is at least one name-value pair whose name is `name`. - */ - has(name: string): boolean; - /** - * Returns an iterator over the names of each name-value pair. - * - * ```js - * import { MIMEType } from 'node:util'; - * - * const { params } = new MIMEType('text/plain;foo=0;bar=1'); - * for (const name of params.keys()) { - * console.log(name); - * } - * // Prints: - * // foo - * // bar - * ``` - */ - keys(): IterableIterator; - /** - * Sets the value in the `MIMEParams` object associated with `name` to`value`. If there are any pre-existing name-value pairs whose names are `name`, - * set the first such pair's value to `value`. - * - * ```js - * import { MIMEType } from 'node:util'; - * - * const { params } = new MIMEType('text/plain;foo=0;bar=1'); - * params.set('foo', 'def'); - * params.set('baz', 'xyz'); - * console.log(params.toString()); - * // Prints: foo=def;bar=1;baz=xyz - * ``` - */ - set(name: string, value: string): void; - /** - * Returns an iterator over the values of each name-value pair. - */ - values(): IterableIterator; - /** - * Returns an iterator over each of the name-value pairs in the parameters. - */ - [Symbol.iterator]: typeof MIMEParams.prototype.entries; - } -} -declare module "util/types" { - import { KeyObject, webcrypto } from "node:crypto"; - /** - * Returns `true` if the value is a built-in [`ArrayBuffer`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer) or - * [`SharedArrayBuffer`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/SharedArrayBuffer) instance. - * - * See also `util.types.isArrayBuffer()` and `util.types.isSharedArrayBuffer()`. - * - * ```js - * util.types.isAnyArrayBuffer(new ArrayBuffer()); // Returns true - * util.types.isAnyArrayBuffer(new SharedArrayBuffer()); // Returns true - * ``` - * @since v10.0.0 - */ - function isAnyArrayBuffer(object: unknown): object is ArrayBufferLike; - /** - * Returns `true` if the value is an `arguments` object. - * - * ```js - * function foo() { - * util.types.isArgumentsObject(arguments); // Returns true - * } - * ``` - * @since v10.0.0 - */ - function isArgumentsObject(object: unknown): object is IArguments; - /** - * Returns `true` if the value is a built-in [`ArrayBuffer`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer) instance. - * This does _not_ include [`SharedArrayBuffer`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/SharedArrayBuffer) instances. Usually, it is - * desirable to test for both; See `util.types.isAnyArrayBuffer()` for that. - * - * ```js - * util.types.isArrayBuffer(new ArrayBuffer()); // Returns true - * util.types.isArrayBuffer(new SharedArrayBuffer()); // Returns false - * ``` - * @since v10.0.0 - */ - function isArrayBuffer(object: unknown): object is ArrayBuffer; - /** - * Returns `true` if the value is an instance of one of the [`ArrayBuffer`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer) views, such as typed - * array objects or [`DataView`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DataView). Equivalent to - * [`ArrayBuffer.isView()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer/isView). - * - * ```js - * util.types.isArrayBufferView(new Int8Array()); // true - * util.types.isArrayBufferView(Buffer.from('hello world')); // true - * util.types.isArrayBufferView(new DataView(new ArrayBuffer(16))); // true - * util.types.isArrayBufferView(new ArrayBuffer()); // false - * ``` - * @since v10.0.0 - */ - function isArrayBufferView(object: unknown): object is NodeJS.ArrayBufferView; - /** - * Returns `true` if the value is an [async function](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/async_function). - * This only reports back what the JavaScript engine is seeing; - * in particular, the return value may not match the original source code if - * a transpilation tool was used. - * - * ```js - * util.types.isAsyncFunction(function foo() {}); // Returns false - * util.types.isAsyncFunction(async function foo() {}); // Returns true - * ``` - * @since v10.0.0 - */ - function isAsyncFunction(object: unknown): boolean; - /** - * Returns `true` if the value is a `BigInt64Array` instance. - * - * ```js - * util.types.isBigInt64Array(new BigInt64Array()); // Returns true - * util.types.isBigInt64Array(new BigUint64Array()); // Returns false - * ``` - * @since v10.0.0 - */ - function isBigInt64Array(value: unknown): value is BigInt64Array; - /** - * Returns `true` if the value is a `BigUint64Array` instance. - * - * ```js - * util.types.isBigUint64Array(new BigInt64Array()); // Returns false - * util.types.isBigUint64Array(new BigUint64Array()); // Returns true - * ``` - * @since v10.0.0 - */ - function isBigUint64Array(value: unknown): value is BigUint64Array; - /** - * Returns `true` if the value is a boolean object, e.g. created - * by `new Boolean()`. - * - * ```js - * util.types.isBooleanObject(false); // Returns false - * util.types.isBooleanObject(true); // Returns false - * util.types.isBooleanObject(new Boolean(false)); // Returns true - * util.types.isBooleanObject(new Boolean(true)); // Returns true - * util.types.isBooleanObject(Boolean(false)); // Returns false - * util.types.isBooleanObject(Boolean(true)); // Returns false - * ``` - * @since v10.0.0 - */ - function isBooleanObject(object: unknown): object is Boolean; - /** - * Returns `true` if the value is any boxed primitive object, e.g. created - * by `new Boolean()`, `new String()` or `Object(Symbol())`. - * - * For example: - * - * ```js - * util.types.isBoxedPrimitive(false); // Returns false - * util.types.isBoxedPrimitive(new Boolean(false)); // Returns true - * util.types.isBoxedPrimitive(Symbol('foo')); // Returns false - * util.types.isBoxedPrimitive(Object(Symbol('foo'))); // Returns true - * util.types.isBoxedPrimitive(Object(BigInt(5))); // Returns true - * ``` - * @since v10.11.0 - */ - function isBoxedPrimitive(object: unknown): object is String | Number | BigInt | Boolean | Symbol; - /** - * Returns `true` if the value is a built-in [`DataView`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DataView) instance. - * - * ```js - * const ab = new ArrayBuffer(20); - * util.types.isDataView(new DataView(ab)); // Returns true - * util.types.isDataView(new Float64Array()); // Returns false - * ``` - * - * See also [`ArrayBuffer.isView()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer/isView). - * @since v10.0.0 - */ - function isDataView(object: unknown): object is DataView; - /** - * Returns `true` if the value is a built-in [`Date`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) instance. - * - * ```js - * util.types.isDate(new Date()); // Returns true - * ``` - * @since v10.0.0 - */ - function isDate(object: unknown): object is Date; - /** - * Returns `true` if the value is a native `External` value. - * - * A native `External` value is a special type of object that contains a - * raw C++ pointer (`void*`) for access from native code, and has no other - * properties. Such objects are created either by Node.js internals or native - * addons. In JavaScript, they are [frozen](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/freeze) objects with a`null` prototype. - * - * ```c - * #include - * #include - * napi_value result; - * static napi_value MyNapi(napi_env env, napi_callback_info info) { - * int* raw = (int*) malloc(1024); - * napi_status status = napi_create_external(env, (void*) raw, NULL, NULL, &result); - * if (status != napi_ok) { - * napi_throw_error(env, NULL, "napi_create_external failed"); - * return NULL; - * } - * return result; - * } - * ... - * DECLARE_NAPI_PROPERTY("myNapi", MyNapi) - * ... - * ``` - * - * ```js - * const native = require('napi_addon.node'); - * const data = native.myNapi(); - * util.types.isExternal(data); // returns true - * util.types.isExternal(0); // returns false - * util.types.isExternal(new String('foo')); // returns false - * ``` - * - * For further information on `napi_create_external`, refer to `napi_create_external()`. - * @since v10.0.0 - */ - function isExternal(object: unknown): boolean; - /** - * Returns `true` if the value is a built-in [`Float32Array`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Float32Array) instance. - * - * ```js - * util.types.isFloat32Array(new ArrayBuffer()); // Returns false - * util.types.isFloat32Array(new Float32Array()); // Returns true - * util.types.isFloat32Array(new Float64Array()); // Returns false - * ``` - * @since v10.0.0 - */ - function isFloat32Array(object: unknown): object is Float32Array; - /** - * Returns `true` if the value is a built-in [`Float64Array`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Float64Array) instance. - * - * ```js - * util.types.isFloat64Array(new ArrayBuffer()); // Returns false - * util.types.isFloat64Array(new Uint8Array()); // Returns false - * util.types.isFloat64Array(new Float64Array()); // Returns true - * ``` - * @since v10.0.0 - */ - function isFloat64Array(object: unknown): object is Float64Array; - /** - * Returns `true` if the value is a generator function. - * This only reports back what the JavaScript engine is seeing; - * in particular, the return value may not match the original source code if - * a transpilation tool was used. - * - * ```js - * util.types.isGeneratorFunction(function foo() {}); // Returns false - * util.types.isGeneratorFunction(function* foo() {}); // Returns true - * ``` - * @since v10.0.0 - */ - function isGeneratorFunction(object: unknown): object is GeneratorFunction; - /** - * Returns `true` if the value is a generator object as returned from a - * built-in generator function. - * This only reports back what the JavaScript engine is seeing; - * in particular, the return value may not match the original source code if - * a transpilation tool was used. - * - * ```js - * function* foo() {} - * const generator = foo(); - * util.types.isGeneratorObject(generator); // Returns true - * ``` - * @since v10.0.0 - */ - function isGeneratorObject(object: unknown): object is Generator; - /** - * Returns `true` if the value is a built-in [`Int8Array`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Int8Array) instance. - * - * ```js - * util.types.isInt8Array(new ArrayBuffer()); // Returns false - * util.types.isInt8Array(new Int8Array()); // Returns true - * util.types.isInt8Array(new Float64Array()); // Returns false - * ``` - * @since v10.0.0 - */ - function isInt8Array(object: unknown): object is Int8Array; - /** - * Returns `true` if the value is a built-in [`Int16Array`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Int16Array) instance. - * - * ```js - * util.types.isInt16Array(new ArrayBuffer()); // Returns false - * util.types.isInt16Array(new Int16Array()); // Returns true - * util.types.isInt16Array(new Float64Array()); // Returns false - * ``` - * @since v10.0.0 - */ - function isInt16Array(object: unknown): object is Int16Array; - /** - * Returns `true` if the value is a built-in [`Int32Array`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Int32Array) instance. - * - * ```js - * util.types.isInt32Array(new ArrayBuffer()); // Returns false - * util.types.isInt32Array(new Int32Array()); // Returns true - * util.types.isInt32Array(new Float64Array()); // Returns false - * ``` - * @since v10.0.0 - */ - function isInt32Array(object: unknown): object is Int32Array; - /** - * Returns `true` if the value is a built-in [`Map`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map) instance. - * - * ```js - * util.types.isMap(new Map()); // Returns true - * ``` - * @since v10.0.0 - */ - function isMap( - object: T | {}, - ): object is T extends ReadonlyMap ? (unknown extends T ? never : ReadonlyMap) - : Map; - /** - * Returns `true` if the value is an iterator returned for a built-in [`Map`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map) instance. - * - * ```js - * const map = new Map(); - * util.types.isMapIterator(map.keys()); // Returns true - * util.types.isMapIterator(map.values()); // Returns true - * util.types.isMapIterator(map.entries()); // Returns true - * util.types.isMapIterator(map[Symbol.iterator]()); // Returns true - * ``` - * @since v10.0.0 - */ - function isMapIterator(object: unknown): boolean; - /** - * Returns `true` if the value is an instance of a [Module Namespace Object](https://tc39.github.io/ecma262/#sec-module-namespace-exotic-objects). - * - * ```js - * import * as ns from './a.js'; - * - * util.types.isModuleNamespaceObject(ns); // Returns true - * ``` - * @since v10.0.0 - */ - function isModuleNamespaceObject(value: unknown): boolean; - /** - * Returns `true` if the value was returned by the constructor of a [built-in `Error` type](https://tc39.es/ecma262/#sec-error-objects). - * - * ```js - * console.log(util.types.isNativeError(new Error())); // true - * console.log(util.types.isNativeError(new TypeError())); // true - * console.log(util.types.isNativeError(new RangeError())); // true - * ``` - * - * Subclasses of the native error types are also native errors: - * - * ```js - * class MyError extends Error {} - * console.log(util.types.isNativeError(new MyError())); // true - * ``` - * - * A value being `instanceof` a native error class is not equivalent to `isNativeError()`returning `true` for that value. `isNativeError()` returns `true` for errors - * which come from a different [realm](https://tc39.es/ecma262/#realm) while `instanceof Error` returns `false`for these errors: - * - * ```js - * const vm = require('node:vm'); - * const context = vm.createContext({}); - * const myError = vm.runInContext('new Error()', context); - * console.log(util.types.isNativeError(myError)); // true - * console.log(myError instanceof Error); // false - * ``` - * - * Conversely, `isNativeError()` returns `false` for all objects which were not - * returned by the constructor of a native error. That includes values - * which are `instanceof` native errors: - * - * ```js - * const myError = { __proto__: Error.prototype }; - * console.log(util.types.isNativeError(myError)); // false - * console.log(myError instanceof Error); // true - * ``` - * @since v10.0.0 - */ - function isNativeError(object: unknown): object is Error; - /** - * Returns `true` if the value is a number object, e.g. created - * by `new Number()`. - * - * ```js - * util.types.isNumberObject(0); // Returns false - * util.types.isNumberObject(new Number(0)); // Returns true - * ``` - * @since v10.0.0 - */ - function isNumberObject(object: unknown): object is Number; - /** - * Returns `true` if the value is a built-in [`Promise`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise). - * - * ```js - * util.types.isPromise(Promise.resolve(42)); // Returns true - * ``` - * @since v10.0.0 - */ - function isPromise(object: unknown): object is Promise; - /** - * Returns `true` if the value is a [`Proxy`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Proxy) instance. - * - * ```js - * const target = {}; - * const proxy = new Proxy(target, {}); - * util.types.isProxy(target); // Returns false - * util.types.isProxy(proxy); // Returns true - * ``` - * @since v10.0.0 - */ - function isProxy(object: unknown): boolean; - /** - * Returns `true` if the value is a regular expression object. - * - * ```js - * util.types.isRegExp(/abc/); // Returns true - * util.types.isRegExp(new RegExp('abc')); // Returns true - * ``` - * @since v10.0.0 - */ - function isRegExp(object: unknown): object is RegExp; - /** - * Returns `true` if the value is a built-in [`Set`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Set) instance. - * - * ```js - * util.types.isSet(new Set()); // Returns true - * ``` - * @since v10.0.0 - */ - function isSet( - object: T | {}, - ): object is T extends ReadonlySet ? (unknown extends T ? never : ReadonlySet) : Set; - /** - * Returns `true` if the value is an iterator returned for a built-in [`Set`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Set) instance. - * - * ```js - * const set = new Set(); - * util.types.isSetIterator(set.keys()); // Returns true - * util.types.isSetIterator(set.values()); // Returns true - * util.types.isSetIterator(set.entries()); // Returns true - * util.types.isSetIterator(set[Symbol.iterator]()); // Returns true - * ``` - * @since v10.0.0 - */ - function isSetIterator(object: unknown): boolean; - /** - * Returns `true` if the value is a built-in [`SharedArrayBuffer`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/SharedArrayBuffer) instance. - * This does _not_ include [`ArrayBuffer`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer) instances. Usually, it is - * desirable to test for both; See `util.types.isAnyArrayBuffer()` for that. - * - * ```js - * util.types.isSharedArrayBuffer(new ArrayBuffer()); // Returns false - * util.types.isSharedArrayBuffer(new SharedArrayBuffer()); // Returns true - * ``` - * @since v10.0.0 - */ - function isSharedArrayBuffer(object: unknown): object is SharedArrayBuffer; - /** - * Returns `true` if the value is a string object, e.g. created - * by `new String()`. - * - * ```js - * util.types.isStringObject('foo'); // Returns false - * util.types.isStringObject(new String('foo')); // Returns true - * ``` - * @since v10.0.0 - */ - function isStringObject(object: unknown): object is String; - /** - * Returns `true` if the value is a symbol object, created - * by calling `Object()` on a `Symbol` primitive. - * - * ```js - * const symbol = Symbol('foo'); - * util.types.isSymbolObject(symbol); // Returns false - * util.types.isSymbolObject(Object(symbol)); // Returns true - * ``` - * @since v10.0.0 - */ - function isSymbolObject(object: unknown): object is Symbol; - /** - * Returns `true` if the value is a built-in [`TypedArray`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/TypedArray) instance. - * - * ```js - * util.types.isTypedArray(new ArrayBuffer()); // Returns false - * util.types.isTypedArray(new Uint8Array()); // Returns true - * util.types.isTypedArray(new Float64Array()); // Returns true - * ``` - * - * See also [`ArrayBuffer.isView()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer/isView). - * @since v10.0.0 - */ - function isTypedArray(object: unknown): object is NodeJS.TypedArray; - /** - * Returns `true` if the value is a built-in [`Uint8Array`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array) instance. - * - * ```js - * util.types.isUint8Array(new ArrayBuffer()); // Returns false - * util.types.isUint8Array(new Uint8Array()); // Returns true - * util.types.isUint8Array(new Float64Array()); // Returns false - * ``` - * @since v10.0.0 - */ - function isUint8Array(object: unknown): object is Uint8Array; - /** - * Returns `true` if the value is a built-in [`Uint8ClampedArray`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8ClampedArray) instance. - * - * ```js - * util.types.isUint8ClampedArray(new ArrayBuffer()); // Returns false - * util.types.isUint8ClampedArray(new Uint8ClampedArray()); // Returns true - * util.types.isUint8ClampedArray(new Float64Array()); // Returns false - * ``` - * @since v10.0.0 - */ - function isUint8ClampedArray(object: unknown): object is Uint8ClampedArray; - /** - * Returns `true` if the value is a built-in [`Uint16Array`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint16Array) instance. - * - * ```js - * util.types.isUint16Array(new ArrayBuffer()); // Returns false - * util.types.isUint16Array(new Uint16Array()); // Returns true - * util.types.isUint16Array(new Float64Array()); // Returns false - * ``` - * @since v10.0.0 - */ - function isUint16Array(object: unknown): object is Uint16Array; - /** - * Returns `true` if the value is a built-in [`Uint32Array`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint32Array) instance. - * - * ```js - * util.types.isUint32Array(new ArrayBuffer()); // Returns false - * util.types.isUint32Array(new Uint32Array()); // Returns true - * util.types.isUint32Array(new Float64Array()); // Returns false - * ``` - * @since v10.0.0 - */ - function isUint32Array(object: unknown): object is Uint32Array; - /** - * Returns `true` if the value is a built-in [`WeakMap`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WeakMap) instance. - * - * ```js - * util.types.isWeakMap(new WeakMap()); // Returns true - * ``` - * @since v10.0.0 - */ - function isWeakMap(object: unknown): object is WeakMap; - /** - * Returns `true` if the value is a built-in [`WeakSet`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WeakSet) instance. - * - * ```js - * util.types.isWeakSet(new WeakSet()); // Returns true - * ``` - * @since v10.0.0 - */ - function isWeakSet(object: unknown): object is WeakSet; - /** - * Returns `true` if `value` is a `KeyObject`, `false` otherwise. - * @since v16.2.0 - */ - function isKeyObject(object: unknown): object is KeyObject; - /** - * Returns `true` if `value` is a `CryptoKey`, `false` otherwise. - * @since v16.2.0 - */ - function isCryptoKey(object: unknown): object is webcrypto.CryptoKey; -} -declare module "node:util" { - export * from "util"; -} -declare module "node:util/types" { - export * from "util/types"; -} diff --git a/node_modules/@types/node/ts4.8/v8.d.ts b/node_modules/@types/node/ts4.8/v8.d.ts deleted file mode 100644 index b2aeee2..0000000 --- a/node_modules/@types/node/ts4.8/v8.d.ts +++ /dev/null @@ -1,764 +0,0 @@ -/** - * The `node:v8` module exposes APIs that are specific to the version of [V8](https://developers.google.com/v8/) built into the Node.js binary. It can be accessed using: - * - * ```js - * const v8 = require('node:v8'); - * ``` - * @see [source](https://github.com/nodejs/node/blob/v20.11.0/lib/v8.js) - */ -declare module "v8" { - import { Readable } from "node:stream"; - interface HeapSpaceInfo { - space_name: string; - space_size: number; - space_used_size: number; - space_available_size: number; - physical_space_size: number; - } - // ** Signifies if the --zap_code_space option is enabled or not. 1 == enabled, 0 == disabled. */ - type DoesZapCodeSpaceFlag = 0 | 1; - interface HeapInfo { - total_heap_size: number; - total_heap_size_executable: number; - total_physical_size: number; - total_available_size: number; - used_heap_size: number; - heap_size_limit: number; - malloced_memory: number; - peak_malloced_memory: number; - does_zap_garbage: DoesZapCodeSpaceFlag; - number_of_native_contexts: number; - number_of_detached_contexts: number; - total_global_handles_size: number; - used_global_handles_size: number; - external_memory: number; - } - interface HeapCodeStatistics { - code_and_metadata_size: number; - bytecode_and_metadata_size: number; - external_script_source_size: number; - } - interface HeapSnapshotOptions { - /** - * If true, expose internals in the heap snapshot. - * @default false - */ - exposeInternals?: boolean; - /** - * If true, expose numeric values in artificial fields. - * @default false - */ - exposeNumericValues?: boolean; - } - /** - * Returns an integer representing a version tag derived from the V8 version, - * command-line flags, and detected CPU features. This is useful for determining - * whether a `vm.Script` `cachedData` buffer is compatible with this instance - * of V8. - * - * ```js - * console.log(v8.cachedDataVersionTag()); // 3947234607 - * // The value returned by v8.cachedDataVersionTag() is derived from the V8 - * // version, command-line flags, and detected CPU features. Test that the value - * // does indeed update when flags are toggled. - * v8.setFlagsFromString('--allow_natives_syntax'); - * console.log(v8.cachedDataVersionTag()); // 183726201 - * ``` - * @since v8.0.0 - */ - function cachedDataVersionTag(): number; - /** - * Returns an object with the following properties: - * - * `does_zap_garbage` is a 0/1 boolean, which signifies whether the`--zap_code_space` option is enabled or not. This makes V8 overwrite heap - * garbage with a bit pattern. The RSS footprint (resident set size) gets bigger - * because it continuously touches all heap pages and that makes them less likely - * to get swapped out by the operating system. - * - * `number_of_native_contexts` The value of native\_context is the number of the - * top-level contexts currently active. Increase of this number over time indicates - * a memory leak. - * - * `number_of_detached_contexts` The value of detached\_context is the number - * of contexts that were detached and not yet garbage collected. This number - * being non-zero indicates a potential memory leak. - * - * `total_global_handles_size` The value of total\_global\_handles\_size is the - * total memory size of V8 global handles. - * - * `used_global_handles_size` The value of used\_global\_handles\_size is the - * used memory size of V8 global handles. - * - * `external_memory` The value of external\_memory is the memory size of array - * buffers and external strings. - * - * ```js - * { - * total_heap_size: 7326976, - * total_heap_size_executable: 4194304, - * total_physical_size: 7326976, - * total_available_size: 1152656, - * used_heap_size: 3476208, - * heap_size_limit: 1535115264, - * malloced_memory: 16384, - * peak_malloced_memory: 1127496, - * does_zap_garbage: 0, - * number_of_native_contexts: 1, - * number_of_detached_contexts: 0, - * total_global_handles_size: 8192, - * used_global_handles_size: 3296, - * external_memory: 318824 - * } - * ``` - * @since v1.0.0 - */ - function getHeapStatistics(): HeapInfo; - /** - * Returns statistics about the V8 heap spaces, i.e. the segments which make up - * the V8 heap. Neither the ordering of heap spaces, nor the availability of a - * heap space can be guaranteed as the statistics are provided via the - * V8 [`GetHeapSpaceStatistics`](https://v8docs.nodesource.com/node-13.2/d5/dda/classv8_1_1_isolate.html#ac673576f24fdc7a33378f8f57e1d13a4) function and may change from one V8 version to the - * next. - * - * The value returned is an array of objects containing the following properties: - * - * ```json - * [ - * { - * "space_name": "new_space", - * "space_size": 2063872, - * "space_used_size": 951112, - * "space_available_size": 80824, - * "physical_space_size": 2063872 - * }, - * { - * "space_name": "old_space", - * "space_size": 3090560, - * "space_used_size": 2493792, - * "space_available_size": 0, - * "physical_space_size": 3090560 - * }, - * { - * "space_name": "code_space", - * "space_size": 1260160, - * "space_used_size": 644256, - * "space_available_size": 960, - * "physical_space_size": 1260160 - * }, - * { - * "space_name": "map_space", - * "space_size": 1094160, - * "space_used_size": 201608, - * "space_available_size": 0, - * "physical_space_size": 1094160 - * }, - * { - * "space_name": "large_object_space", - * "space_size": 0, - * "space_used_size": 0, - * "space_available_size": 1490980608, - * "physical_space_size": 0 - * } - * ] - * ``` - * @since v6.0.0 - */ - function getHeapSpaceStatistics(): HeapSpaceInfo[]; - /** - * The `v8.setFlagsFromString()` method can be used to programmatically set - * V8 command-line flags. This method should be used with care. Changing settings - * after the VM has started may result in unpredictable behavior, including - * crashes and data loss; or it may simply do nothing. - * - * The V8 options available for a version of Node.js may be determined by running`node --v8-options`. - * - * Usage: - * - * ```js - * // Print GC events to stdout for one minute. - * const v8 = require('node:v8'); - * v8.setFlagsFromString('--trace_gc'); - * setTimeout(() => { v8.setFlagsFromString('--notrace_gc'); }, 60e3); - * ``` - * @since v1.0.0 - */ - function setFlagsFromString(flags: string): void; - /** - * Generates a snapshot of the current V8 heap and returns a Readable - * Stream that may be used to read the JSON serialized representation. - * This JSON stream format is intended to be used with tools such as - * Chrome DevTools. The JSON schema is undocumented and specific to the - * V8 engine. Therefore, the schema may change from one version of V8 to the next. - * - * Creating a heap snapshot requires memory about twice the size of the heap at - * the time the snapshot is created. This results in the risk of OOM killers - * terminating the process. - * - * Generating a snapshot is a synchronous operation which blocks the event loop - * for a duration depending on the heap size. - * - * ```js - * // Print heap snapshot to the console - * const v8 = require('node:v8'); - * const stream = v8.getHeapSnapshot(); - * stream.pipe(process.stdout); - * ``` - * @since v11.13.0 - * @return A Readable containing the V8 heap snapshot. - */ - function getHeapSnapshot(options?: HeapSnapshotOptions): Readable; - /** - * Generates a snapshot of the current V8 heap and writes it to a JSON - * file. This file is intended to be used with tools such as Chrome - * DevTools. The JSON schema is undocumented and specific to the V8 - * engine, and may change from one version of V8 to the next. - * - * A heap snapshot is specific to a single V8 isolate. When using `worker threads`, a heap snapshot generated from the main thread will - * not contain any information about the workers, and vice versa. - * - * Creating a heap snapshot requires memory about twice the size of the heap at - * the time the snapshot is created. This results in the risk of OOM killers - * terminating the process. - * - * Generating a snapshot is a synchronous operation which blocks the event loop - * for a duration depending on the heap size. - * - * ```js - * const { writeHeapSnapshot } = require('node:v8'); - * const { - * Worker, - * isMainThread, - * parentPort, - * } = require('node:worker_threads'); - * - * if (isMainThread) { - * const worker = new Worker(__filename); - * - * worker.once('message', (filename) => { - * console.log(`worker heapdump: ${filename}`); - * // Now get a heapdump for the main thread. - * console.log(`main thread heapdump: ${writeHeapSnapshot()}`); - * }); - * - * // Tell the worker to create a heapdump. - * worker.postMessage('heapdump'); - * } else { - * parentPort.once('message', (message) => { - * if (message === 'heapdump') { - * // Generate a heapdump for the worker - * // and return the filename to the parent. - * parentPort.postMessage(writeHeapSnapshot()); - * } - * }); - * } - * ``` - * @since v11.13.0 - * @param filename The file path where the V8 heap snapshot is to be saved. If not specified, a file name with the pattern `'Heap-${yyyymmdd}-${hhmmss}-${pid}-${thread_id}.heapsnapshot'` will be - * generated, where `{pid}` will be the PID of the Node.js process, `{thread_id}` will be `0` when `writeHeapSnapshot()` is called from the main Node.js thread or the id of a - * worker thread. - * @return The filename where the snapshot was saved. - */ - function writeHeapSnapshot(filename?: string, options?: HeapSnapshotOptions): string; - /** - * Get statistics about code and its metadata in the heap, see - * V8 [`GetHeapCodeAndMetadataStatistics`](https://v8docs.nodesource.com/node-13.2/d5/dda/classv8_1_1_isolate.html#a6079122af17612ef54ef3348ce170866) API. Returns an object with the - * following properties: - * - * ```js - * { - * code_and_metadata_size: 212208, - * bytecode_and_metadata_size: 161368, - * external_script_source_size: 1410794, - * cpu_profiler_metadata_size: 0, - * } - * ``` - * @since v12.8.0 - */ - function getHeapCodeStatistics(): HeapCodeStatistics; - /** - * @since v8.0.0 - */ - class Serializer { - /** - * Writes out a header, which includes the serialization format version. - */ - writeHeader(): void; - /** - * Serializes a JavaScript value and adds the serialized representation to the - * internal buffer. - * - * This throws an error if `value` cannot be serialized. - */ - writeValue(val: any): boolean; - /** - * Returns the stored internal buffer. This serializer should not be used once - * the buffer is released. Calling this method results in undefined behavior - * if a previous write has failed. - */ - releaseBuffer(): Buffer; - /** - * Marks an `ArrayBuffer` as having its contents transferred out of band. - * Pass the corresponding `ArrayBuffer` in the deserializing context to `deserializer.transferArrayBuffer()`. - * @param id A 32-bit unsigned integer. - * @param arrayBuffer An `ArrayBuffer` instance. - */ - transferArrayBuffer(id: number, arrayBuffer: ArrayBuffer): void; - /** - * Write a raw 32-bit unsigned integer. - * For use inside of a custom `serializer._writeHostObject()`. - */ - writeUint32(value: number): void; - /** - * Write a raw 64-bit unsigned integer, split into high and low 32-bit parts. - * For use inside of a custom `serializer._writeHostObject()`. - */ - writeUint64(hi: number, lo: number): void; - /** - * Write a JS `number` value. - * For use inside of a custom `serializer._writeHostObject()`. - */ - writeDouble(value: number): void; - /** - * Write raw bytes into the serializer's internal buffer. The deserializer - * will require a way to compute the length of the buffer. - * For use inside of a custom `serializer._writeHostObject()`. - */ - writeRawBytes(buffer: NodeJS.TypedArray): void; - } - /** - * A subclass of `Serializer` that serializes `TypedArray`(in particular `Buffer`) and `DataView` objects as host objects, and only - * stores the part of their underlying `ArrayBuffer`s that they are referring to. - * @since v8.0.0 - */ - class DefaultSerializer extends Serializer {} - /** - * @since v8.0.0 - */ - class Deserializer { - constructor(data: NodeJS.TypedArray); - /** - * Reads and validates a header (including the format version). - * May, for example, reject an invalid or unsupported wire format. In that case, - * an `Error` is thrown. - */ - readHeader(): boolean; - /** - * Deserializes a JavaScript value from the buffer and returns it. - */ - readValue(): any; - /** - * Marks an `ArrayBuffer` as having its contents transferred out of band. - * Pass the corresponding `ArrayBuffer` in the serializing context to `serializer.transferArrayBuffer()` (or return the `id` from `serializer._getSharedArrayBufferId()` in the case of - * `SharedArrayBuffer`s). - * @param id A 32-bit unsigned integer. - * @param arrayBuffer An `ArrayBuffer` instance. - */ - transferArrayBuffer(id: number, arrayBuffer: ArrayBuffer): void; - /** - * Reads the underlying wire format version. Likely mostly to be useful to - * legacy code reading old wire format versions. May not be called before`.readHeader()`. - */ - getWireFormatVersion(): number; - /** - * Read a raw 32-bit unsigned integer and return it. - * For use inside of a custom `deserializer._readHostObject()`. - */ - readUint32(): number; - /** - * Read a raw 64-bit unsigned integer and return it as an array `[hi, lo]`with two 32-bit unsigned integer entries. - * For use inside of a custom `deserializer._readHostObject()`. - */ - readUint64(): [number, number]; - /** - * Read a JS `number` value. - * For use inside of a custom `deserializer._readHostObject()`. - */ - readDouble(): number; - /** - * Read raw bytes from the deserializer's internal buffer. The `length` parameter - * must correspond to the length of the buffer that was passed to `serializer.writeRawBytes()`. - * For use inside of a custom `deserializer._readHostObject()`. - */ - readRawBytes(length: number): Buffer; - } - /** - * A subclass of `Deserializer` corresponding to the format written by `DefaultSerializer`. - * @since v8.0.0 - */ - class DefaultDeserializer extends Deserializer {} - /** - * Uses a `DefaultSerializer` to serialize `value` into a buffer. - * - * `ERR_BUFFER_TOO_LARGE` will be thrown when trying to - * serialize a huge object which requires buffer - * larger than `buffer.constants.MAX_LENGTH`. - * @since v8.0.0 - */ - function serialize(value: any): Buffer; - /** - * Uses a `DefaultDeserializer` with default options to read a JS value - * from a buffer. - * @since v8.0.0 - * @param buffer A buffer returned by {@link serialize}. - */ - function deserialize(buffer: NodeJS.TypedArray): any; - /** - * The `v8.takeCoverage()` method allows the user to write the coverage started by `NODE_V8_COVERAGE` to disk on demand. This method can be invoked multiple - * times during the lifetime of the process. Each time the execution counter will - * be reset and a new coverage report will be written to the directory specified - * by `NODE_V8_COVERAGE`. - * - * When the process is about to exit, one last coverage will still be written to - * disk unless {@link stopCoverage} is invoked before the process exits. - * @since v15.1.0, v14.18.0, v12.22.0 - */ - function takeCoverage(): void; - /** - * The `v8.stopCoverage()` method allows the user to stop the coverage collection - * started by `NODE_V8_COVERAGE`, so that V8 can release the execution count - * records and optimize code. This can be used in conjunction with {@link takeCoverage} if the user wants to collect the coverage on demand. - * @since v15.1.0, v14.18.0, v12.22.0 - */ - function stopCoverage(): void; - /** - * The API is a no-op if `--heapsnapshot-near-heap-limit` is already set from the command line or the API is called more than once. - * `limit` must be a positive integer. See [`--heapsnapshot-near-heap-limit`](https://nodejs.org/docs/latest-v20.x/api/cli.html#--heapsnapshot-near-heap-limitmax_count) for more information. - * @experimental - * @since v18.10.0, v16.18.0 - */ - function setHeapSnapshotNearHeapLimit(limit: number): void; - /** - * This API collects GC data in current thread. - * @since v19.6.0, v18.15.0 - */ - class GCProfiler { - /** - * Start collecting GC data. - * @since v19.6.0, v18.15.0 - */ - start(): void; - /** - * Stop collecting GC data and return an object.The content of object - * is as follows. - * - * ```json - * { - * "version": 1, - * "startTime": 1674059033862, - * "statistics": [ - * { - * "gcType": "Scavenge", - * "beforeGC": { - * "heapStatistics": { - * "totalHeapSize": 5005312, - * "totalHeapSizeExecutable": 524288, - * "totalPhysicalSize": 5226496, - * "totalAvailableSize": 4341325216, - * "totalGlobalHandlesSize": 8192, - * "usedGlobalHandlesSize": 2112, - * "usedHeapSize": 4883840, - * "heapSizeLimit": 4345298944, - * "mallocedMemory": 254128, - * "externalMemory": 225138, - * "peakMallocedMemory": 181760 - * }, - * "heapSpaceStatistics": [ - * { - * "spaceName": "read_only_space", - * "spaceSize": 0, - * "spaceUsedSize": 0, - * "spaceAvailableSize": 0, - * "physicalSpaceSize": 0 - * } - * ] - * }, - * "cost": 1574.14, - * "afterGC": { - * "heapStatistics": { - * "totalHeapSize": 6053888, - * "totalHeapSizeExecutable": 524288, - * "totalPhysicalSize": 5500928, - * "totalAvailableSize": 4341101384, - * "totalGlobalHandlesSize": 8192, - * "usedGlobalHandlesSize": 2112, - * "usedHeapSize": 4059096, - * "heapSizeLimit": 4345298944, - * "mallocedMemory": 254128, - * "externalMemory": 225138, - * "peakMallocedMemory": 181760 - * }, - * "heapSpaceStatistics": [ - * { - * "spaceName": "read_only_space", - * "spaceSize": 0, - * "spaceUsedSize": 0, - * "spaceAvailableSize": 0, - * "physicalSpaceSize": 0 - * } - * ] - * } - * } - * ], - * "endTime": 1674059036865 - * } - * ``` - * - * Here's an example. - * - * ```js - * const { GCProfiler } = require('v8'); - * const profiler = new GCProfiler(); - * profiler.start(); - * setTimeout(() => { - * console.log(profiler.stop()); - * }, 1000); - * ``` - * @since v19.6.0, v18.15.0 - */ - stop(): GCProfilerResult; - } - interface GCProfilerResult { - version: number; - startTime: number; - endTime: number; - statistics: Array<{ - gcType: string; - cost: number; - beforeGC: { - heapStatistics: HeapStatistics; - heapSpaceStatistics: HeapSpaceStatistics[]; - }; - afterGC: { - heapStatistics: HeapStatistics; - heapSpaceStatistics: HeapSpaceStatistics[]; - }; - }>; - } - interface HeapStatistics { - totalHeapSize: number; - totalHeapSizeExecutable: number; - totalPhysicalSize: number; - totalAvailableSize: number; - totalGlobalHandlesSize: number; - usedGlobalHandlesSize: number; - usedHeapSize: number; - heapSizeLimit: number; - mallocedMemory: number; - externalMemory: number; - peakMallocedMemory: number; - } - interface HeapSpaceStatistics { - spaceName: string; - spaceSize: number; - spaceUsedSize: number; - spaceAvailableSize: number; - physicalSpaceSize: number; - } - /** - * Called when a promise is constructed. This does not mean that corresponding before/after events will occur, only that the possibility exists. This will - * happen if a promise is created without ever getting a continuation. - * @since v17.1.0, v16.14.0 - * @param promise The promise being created. - * @param parent The promise continued from, if applicable. - */ - interface Init { - (promise: Promise, parent: Promise): void; - } - /** - * Called before a promise continuation executes. This can be in the form of `then()`, `catch()`, or `finally()` handlers or an await resuming. - * - * The before callback will be called 0 to N times. The before callback will typically be called 0 times if no continuation was ever made for the promise. - * The before callback may be called many times in the case where many continuations have been made from the same promise. - * @since v17.1.0, v16.14.0 - */ - interface Before { - (promise: Promise): void; - } - /** - * Called immediately after a promise continuation executes. This may be after a `then()`, `catch()`, or `finally()` handler or before an await after another await. - * @since v17.1.0, v16.14.0 - */ - interface After { - (promise: Promise): void; - } - /** - * Called when the promise receives a resolution or rejection value. This may occur synchronously in the case of {@link Promise.resolve()} or - * {@link Promise.reject()}. - * @since v17.1.0, v16.14.0 - */ - interface Settled { - (promise: Promise): void; - } - /** - * Key events in the lifetime of a promise have been categorized into four areas: creation of a promise, before/after a continuation handler is called or - * around an await, and when the promise resolves or rejects. - * - * Because promises are asynchronous resources whose lifecycle is tracked via the promise hooks mechanism, the `init()`, `before()`, `after()`, and - * `settled()` callbacks must not be async functions as they create more promises which would produce an infinite loop. - * @since v17.1.0, v16.14.0 - */ - interface HookCallbacks { - init?: Init; - before?: Before; - after?: After; - settled?: Settled; - } - interface PromiseHooks { - /** - * The `init` hook must be a plain function. Providing an async function will throw as it would produce an infinite microtask loop. - * @since v17.1.0, v16.14.0 - * @param init The {@link Init | `init` callback} to call when a promise is created. - * @return Call to stop the hook. - */ - onInit: (init: Init) => Function; - /** - * The `settled` hook must be a plain function. Providing an async function will throw as it would produce an infinite microtask loop. - * @since v17.1.0, v16.14.0 - * @param settled The {@link Settled | `settled` callback} to call when a promise is created. - * @return Call to stop the hook. - */ - onSettled: (settled: Settled) => Function; - /** - * The `before` hook must be a plain function. Providing an async function will throw as it would produce an infinite microtask loop. - * @since v17.1.0, v16.14.0 - * @param before The {@link Before | `before` callback} to call before a promise continuation executes. - * @return Call to stop the hook. - */ - onBefore: (before: Before) => Function; - /** - * The `after` hook must be a plain function. Providing an async function will throw as it would produce an infinite microtask loop. - * @since v17.1.0, v16.14.0 - * @param after The {@link After | `after` callback} to call after a promise continuation executes. - * @return Call to stop the hook. - */ - onAfter: (after: After) => Function; - /** - * Registers functions to be called for different lifetime events of each promise. - * The callbacks `init()`/`before()`/`after()`/`settled()` are called for the respective events during a promise's lifetime. - * All callbacks are optional. For example, if only promise creation needs to be tracked, then only the init callback needs to be passed. - * The hook callbacks must be plain functions. Providing async functions will throw as it would produce an infinite microtask loop. - * @since v17.1.0, v16.14.0 - * @param callbacks The {@link HookCallbacks | Hook Callbacks} to register - * @return Used for disabling hooks - */ - createHook: (callbacks: HookCallbacks) => Function; - } - /** - * The `promiseHooks` interface can be used to track promise lifecycle events. - * @since v17.1.0, v16.14.0 - */ - const promiseHooks: PromiseHooks; - type StartupSnapshotCallbackFn = (args: any) => any; - interface StartupSnapshot { - /** - * Add a callback that will be called when the Node.js instance is about to get serialized into a snapshot and exit. - * This can be used to release resources that should not or cannot be serialized or to convert user data into a form more suitable for serialization. - * @since v18.6.0, v16.17.0 - */ - addSerializeCallback(callback: StartupSnapshotCallbackFn, data?: any): void; - /** - * Add a callback that will be called when the Node.js instance is deserialized from a snapshot. - * The `callback` and the `data` (if provided) will be serialized into the snapshot, they can be used to re-initialize the state of the application or - * to re-acquire resources that the application needs when the application is restarted from the snapshot. - * @since v18.6.0, v16.17.0 - */ - addDeserializeCallback(callback: StartupSnapshotCallbackFn, data?: any): void; - /** - * This sets the entry point of the Node.js application when it is deserialized from a snapshot. This can be called only once in the snapshot building script. - * If called, the deserialized application no longer needs an additional entry point script to start up and will simply invoke the callback along with the deserialized - * data (if provided), otherwise an entry point script still needs to be provided to the deserialized application. - * @since v18.6.0, v16.17.0 - */ - setDeserializeMainFunction(callback: StartupSnapshotCallbackFn, data?: any): void; - /** - * Returns true if the Node.js instance is run to build a snapshot. - * @since v18.6.0, v16.17.0 - */ - isBuildingSnapshot(): boolean; - } - /** - * The `v8.startupSnapshot` interface can be used to add serialization and deserialization hooks for custom startup snapshots. - * - * ```bash - * $ node --snapshot-blob snapshot.blob --build-snapshot entry.js - * # This launches a process with the snapshot - * $ node --snapshot-blob snapshot.blob - * ``` - * - * In the example above, `entry.js` can use methods from the `v8.startupSnapshot` interface to specify how to save information for custom objects - * in the snapshot during serialization and how the information can be used to synchronize these objects during deserialization of the snapshot. - * For example, if the `entry.js` contains the following script: - * - * ```js - * 'use strict'; - * - * const fs = require('node:fs'); - * const zlib = require('node:zlib'); - * const path = require('node:path'); - * const assert = require('node:assert'); - * - * const v8 = require('node:v8'); - * - * class BookShelf { - * storage = new Map(); - * - * // Reading a series of files from directory and store them into storage. - * constructor(directory, books) { - * for (const book of books) { - * this.storage.set(book, fs.readFileSync(path.join(directory, book))); - * } - * } - * - * static compressAll(shelf) { - * for (const [ book, content ] of shelf.storage) { - * shelf.storage.set(book, zlib.gzipSync(content)); - * } - * } - * - * static decompressAll(shelf) { - * for (const [ book, content ] of shelf.storage) { - * shelf.storage.set(book, zlib.gunzipSync(content)); - * } - * } - * } - * - * // __dirname here is where the snapshot script is placed - * // during snapshot building time. - * const shelf = new BookShelf(__dirname, [ - * 'book1.en_US.txt', - * 'book1.es_ES.txt', - * 'book2.zh_CN.txt', - * ]); - * - * assert(v8.startupSnapshot.isBuildingSnapshot()); - * // On snapshot serialization, compress the books to reduce size. - * v8.startupSnapshot.addSerializeCallback(BookShelf.compressAll, shelf); - * // On snapshot deserialization, decompress the books. - * v8.startupSnapshot.addDeserializeCallback(BookShelf.decompressAll, shelf); - * v8.startupSnapshot.setDeserializeMainFunction((shelf) => { - * // process.env and process.argv are refreshed during snapshot - * // deserialization. - * const lang = process.env.BOOK_LANG || 'en_US'; - * const book = process.argv[1]; - * const name = `${book}.${lang}.txt`; - * console.log(shelf.storage.get(name)); - * }, shelf); - * ``` - * - * The resulted binary will get print the data deserialized from the snapshot during start up, using the refreshed `process.env` and `process.argv` of the launched process: - * - * ```bash - * $ BOOK_LANG=es_ES node --snapshot-blob snapshot.blob book1 - * # Prints content of book1.es_ES.txt deserialized from the snapshot. - * ``` - * - * Currently the application deserialized from a user-land snapshot cannot be snapshotted again, so these APIs are only available to applications that are not deserialized from a user-land snapshot. - * - * @experimental - * @since v18.6.0, v16.17.0 - */ - const startupSnapshot: StartupSnapshot; -} -declare module "node:v8" { - export * from "v8"; -} diff --git a/node_modules/@types/node/ts4.8/vm.d.ts b/node_modules/@types/node/ts4.8/vm.d.ts deleted file mode 100644 index 3a310cc..0000000 --- a/node_modules/@types/node/ts4.8/vm.d.ts +++ /dev/null @@ -1,903 +0,0 @@ -/** - * The `node:vm` module enables compiling and running code within V8 Virtual - * Machine contexts. - * - * **The `node:vm` module is not a security** - * **mechanism. Do not use it to run untrusted code.** - * - * JavaScript code can be compiled and run immediately or - * compiled, saved, and run later. - * - * A common use case is to run the code in a different V8 Context. This means - * invoked code has a different global object than the invoking code. - * - * One can provide the context by `contextifying` an - * object. The invoked code treats any property in the context like a - * global variable. Any changes to global variables caused by the invoked - * code are reflected in the context object. - * - * ```js - * const vm = require('node:vm'); - * - * const x = 1; - * - * const context = { x: 2 }; - * vm.createContext(context); // Contextify the object. - * - * const code = 'x += 40; var y = 17;'; - * // `x` and `y` are global variables in the context. - * // Initially, x has the value 2 because that is the value of context.x. - * vm.runInContext(code, context); - * - * console.log(context.x); // 42 - * console.log(context.y); // 17 - * - * console.log(x); // 1; y is not defined. - * ``` - * @see [source](https://github.com/nodejs/node/blob/v20.2.0/lib/vm.js) - */ -declare module "vm" { - import { ImportAttributes } from "node:module"; - interface Context extends NodeJS.Dict {} - interface BaseOptions { - /** - * Specifies the filename used in stack traces produced by this script. - * Default: `''`. - */ - filename?: string | undefined; - /** - * Specifies the line number offset that is displayed in stack traces produced by this script. - * Default: `0`. - */ - lineOffset?: number | undefined; - /** - * Specifies the column number offset that is displayed in stack traces produced by this script. - * @default 0 - */ - columnOffset?: number | undefined; - } - interface ScriptOptions extends BaseOptions { - /** - * V8's code cache data for the supplied source. - */ - cachedData?: Buffer | NodeJS.ArrayBufferView | undefined; - /** @deprecated in favor of `script.createCachedData()` */ - produceCachedData?: boolean | undefined; - /** - * Called during evaluation of this module when `import()` is called. - * If this option is not specified, calls to `import()` will reject with `ERR_VM_DYNAMIC_IMPORT_CALLBACK_MISSING`. - */ - importModuleDynamically?: - | ((specifier: string, script: Script, importAttributes: ImportAttributes) => Module) - | undefined; - } - interface RunningScriptOptions extends BaseOptions { - /** - * When `true`, if an `Error` occurs while compiling the `code`, the line of code causing the error is attached to the stack trace. - * Default: `true`. - */ - displayErrors?: boolean | undefined; - /** - * Specifies the number of milliseconds to execute code before terminating execution. - * If execution is terminated, an `Error` will be thrown. This value must be a strictly positive integer. - */ - timeout?: number | undefined; - /** - * If `true`, the execution will be terminated when `SIGINT` (Ctrl+C) is received. - * Existing handlers for the event that have been attached via `process.on('SIGINT')` will be disabled during script execution, but will continue to work after that. - * If execution is terminated, an `Error` will be thrown. - * Default: `false`. - */ - breakOnSigint?: boolean | undefined; - } - interface RunningScriptInNewContextOptions extends RunningScriptOptions { - /** - * Human-readable name of the newly created context. - */ - contextName?: CreateContextOptions["name"]; - /** - * Origin corresponding to the newly created context for display purposes. The origin should be formatted like a URL, - * but with only the scheme, host, and port (if necessary), like the value of the `url.origin` property of a `URL` object. - * Most notably, this string should omit the trailing slash, as that denotes a path. - */ - contextOrigin?: CreateContextOptions["origin"]; - contextCodeGeneration?: CreateContextOptions["codeGeneration"]; - /** - * If set to `afterEvaluate`, microtasks will be run immediately after the script has run. - */ - microtaskMode?: CreateContextOptions["microtaskMode"]; - } - interface RunningCodeOptions extends RunningScriptOptions { - cachedData?: ScriptOptions["cachedData"]; - importModuleDynamically?: ScriptOptions["importModuleDynamically"]; - } - interface RunningCodeInNewContextOptions extends RunningScriptInNewContextOptions { - cachedData?: ScriptOptions["cachedData"]; - importModuleDynamically?: ScriptOptions["importModuleDynamically"]; - } - interface CompileFunctionOptions extends BaseOptions { - /** - * Provides an optional data with V8's code cache data for the supplied source. - */ - cachedData?: Buffer | undefined; - /** - * Specifies whether to produce new cache data. - * Default: `false`, - */ - produceCachedData?: boolean | undefined; - /** - * The sandbox/context in which the said function should be compiled in. - */ - parsingContext?: Context | undefined; - /** - * An array containing a collection of context extensions (objects wrapping the current scope) to be applied while compiling - */ - contextExtensions?: Object[] | undefined; - } - interface CreateContextOptions { - /** - * Human-readable name of the newly created context. - * @default 'VM Context i' Where i is an ascending numerical index of the created context. - */ - name?: string | undefined; - /** - * Corresponds to the newly created context for display purposes. - * The origin should be formatted like a `URL`, but with only the scheme, host, and port (if necessary), - * like the value of the `url.origin` property of a URL object. - * Most notably, this string should omit the trailing slash, as that denotes a path. - * @default '' - */ - origin?: string | undefined; - codeGeneration?: - | { - /** - * If set to false any calls to eval or function constructors (Function, GeneratorFunction, etc) - * will throw an EvalError. - * @default true - */ - strings?: boolean | undefined; - /** - * If set to false any attempt to compile a WebAssembly module will throw a WebAssembly.CompileError. - * @default true - */ - wasm?: boolean | undefined; - } - | undefined; - /** - * If set to `afterEvaluate`, microtasks will be run immediately after the script has run. - */ - microtaskMode?: "afterEvaluate" | undefined; - } - type MeasureMemoryMode = "summary" | "detailed"; - interface MeasureMemoryOptions { - /** - * @default 'summary' - */ - mode?: MeasureMemoryMode | undefined; - /** - * @default 'default' - */ - execution?: "default" | "eager" | undefined; - } - interface MemoryMeasurement { - total: { - jsMemoryEstimate: number; - jsMemoryRange: [number, number]; - }; - } - /** - * Instances of the `vm.Script` class contain precompiled scripts that can be - * executed in specific contexts. - * @since v0.3.1 - */ - class Script { - constructor(code: string, options?: ScriptOptions | string); - /** - * Runs the compiled code contained by the `vm.Script` object within the given`contextifiedObject` and returns the result. Running code does not have access - * to local scope. - * - * The following example compiles code that increments a global variable, sets - * the value of another global variable, then execute the code multiple times. - * The globals are contained in the `context` object. - * - * ```js - * const vm = require('node:vm'); - * - * const context = { - * animal: 'cat', - * count: 2, - * }; - * - * const script = new vm.Script('count += 1; name = "kitty";'); - * - * vm.createContext(context); - * for (let i = 0; i < 10; ++i) { - * script.runInContext(context); - * } - * - * console.log(context); - * // Prints: { animal: 'cat', count: 12, name: 'kitty' } - * ``` - * - * Using the `timeout` or `breakOnSigint` options will result in new event loops - * and corresponding threads being started, which have a non-zero performance - * overhead. - * @since v0.3.1 - * @param contextifiedObject A `contextified` object as returned by the `vm.createContext()` method. - * @return the result of the very last statement executed in the script. - */ - runInContext(contextifiedObject: Context, options?: RunningScriptOptions): any; - /** - * First contextifies the given `contextObject`, runs the compiled code contained - * by the `vm.Script` object within the created context, and returns the result. - * Running code does not have access to local scope. - * - * The following example compiles code that sets a global variable, then executes - * the code multiple times in different contexts. The globals are set on and - * contained within each individual `context`. - * - * ```js - * const vm = require('node:vm'); - * - * const script = new vm.Script('globalVar = "set"'); - * - * const contexts = [{}, {}, {}]; - * contexts.forEach((context) => { - * script.runInNewContext(context); - * }); - * - * console.log(contexts); - * // Prints: [{ globalVar: 'set' }, { globalVar: 'set' }, { globalVar: 'set' }] - * ``` - * @since v0.3.1 - * @param contextObject An object that will be `contextified`. If `undefined`, a new object will be created. - * @return the result of the very last statement executed in the script. - */ - runInNewContext(contextObject?: Context, options?: RunningScriptInNewContextOptions): any; - /** - * Runs the compiled code contained by the `vm.Script` within the context of the - * current `global` object. Running code does not have access to local scope, but _does_ have access to the current `global` object. - * - * The following example compiles code that increments a `global` variable then - * executes that code multiple times: - * - * ```js - * const vm = require('node:vm'); - * - * global.globalVar = 0; - * - * const script = new vm.Script('globalVar += 1', { filename: 'myfile.vm' }); - * - * for (let i = 0; i < 1000; ++i) { - * script.runInThisContext(); - * } - * - * console.log(globalVar); - * - * // 1000 - * ``` - * @since v0.3.1 - * @return the result of the very last statement executed in the script. - */ - runInThisContext(options?: RunningScriptOptions): any; - /** - * Creates a code cache that can be used with the `Script` constructor's`cachedData` option. Returns a `Buffer`. This method may be called at any - * time and any number of times. - * - * The code cache of the `Script` doesn't contain any JavaScript observable - * states. The code cache is safe to be saved along side the script source and - * used to construct new `Script` instances multiple times. - * - * Functions in the `Script` source can be marked as lazily compiled and they are - * not compiled at construction of the `Script`. These functions are going to be - * compiled when they are invoked the first time. The code cache serializes the - * metadata that V8 currently knows about the `Script` that it can use to speed up - * future compilations. - * - * ```js - * const script = new vm.Script(` - * function add(a, b) { - * return a + b; - * } - * - * const x = add(1, 2); - * `); - * - * const cacheWithoutAdd = script.createCachedData(); - * // In `cacheWithoutAdd` the function `add()` is marked for full compilation - * // upon invocation. - * - * script.runInThisContext(); - * - * const cacheWithAdd = script.createCachedData(); - * // `cacheWithAdd` contains fully compiled function `add()`. - * ``` - * @since v10.6.0 - */ - createCachedData(): Buffer; - /** @deprecated in favor of `script.createCachedData()` */ - cachedDataProduced?: boolean | undefined; - /** - * When `cachedData` is supplied to create the `vm.Script`, this value will be set - * to either `true` or `false` depending on acceptance of the data by V8\. - * Otherwise the value is `undefined`. - * @since v5.7.0 - */ - cachedDataRejected?: boolean | undefined; - cachedData?: Buffer | undefined; - /** - * When the script is compiled from a source that contains a source map magic - * comment, this property will be set to the URL of the source map. - * - * ```js - * import vm from 'node:vm'; - * - * const script = new vm.Script(` - * function myFunc() {} - * //# sourceMappingURL=sourcemap.json - * `); - * - * console.log(script.sourceMapURL); - * // Prints: sourcemap.json - * ``` - * @since v19.1.0, v18.13.0 - */ - sourceMapURL?: string | undefined; - } - /** - * If given a `contextObject`, the `vm.createContext()` method will `prepare - * that object` so that it can be used in calls to {@link runInContext} or `script.runInContext()`. Inside such scripts, - * the `contextObject` will be the global object, retaining all of its existing - * properties but also having the built-in objects and functions any standard [global object](https://es5.github.io/#x15.1) has. Outside of scripts run by the vm module, global variables - * will remain unchanged. - * - * ```js - * const vm = require('node:vm'); - * - * global.globalVar = 3; - * - * const context = { globalVar: 1 }; - * vm.createContext(context); - * - * vm.runInContext('globalVar *= 2;', context); - * - * console.log(context); - * // Prints: { globalVar: 2 } - * - * console.log(global.globalVar); - * // Prints: 3 - * ``` - * - * If `contextObject` is omitted (or passed explicitly as `undefined`), a new, - * empty `contextified` object will be returned. - * - * The `vm.createContext()` method is primarily useful for creating a single - * context that can be used to run multiple scripts. For instance, if emulating a - * web browser, the method can be used to create a single context representing a - * window's global object, then run all `` - -[Get supported base64-js with the Tidelift Subscription](https://tidelift.com/subscription/pkg/npm-base64-js?utm_source=npm-base64-js&utm_medium=referral&utm_campaign=readme) - -## methods - -`base64js` has three exposed functions, `byteLength`, `toByteArray` and `fromByteArray`, which both take a single argument. - -* `byteLength` - Takes a base64 string and returns length of byte array -* `toByteArray` - Takes a base64 string and returns a byte array -* `fromByteArray` - Takes a byte array and returns a base64 string - -## license - -MIT diff --git a/node_modules/base64-js/base64js.min.js b/node_modules/base64-js/base64js.min.js deleted file mode 100644 index 908ac83..0000000 --- a/node_modules/base64-js/base64js.min.js +++ /dev/null @@ -1 +0,0 @@ -(function(a){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=a();else if("function"==typeof define&&define.amd)define([],a);else{var b;b="undefined"==typeof window?"undefined"==typeof global?"undefined"==typeof self?this:self:global:window,b.base64js=a()}})(function(){return function(){function b(d,e,g){function a(j,i){if(!e[j]){if(!d[j]){var f="function"==typeof require&&require;if(!i&&f)return f(j,!0);if(h)return h(j,!0);var c=new Error("Cannot find module '"+j+"'");throw c.code="MODULE_NOT_FOUND",c}var k=e[j]={exports:{}};d[j][0].call(k.exports,function(b){var c=d[j][1][b];return a(c||b)},k,k.exports,b,d,e,g)}return e[j].exports}for(var h="function"==typeof require&&require,c=0;c>16,j[k++]=255&b>>8,j[k++]=255&b;return 2===h&&(b=l[a.charCodeAt(c)]<<2|l[a.charCodeAt(c+1)]>>4,j[k++]=255&b),1===h&&(b=l[a.charCodeAt(c)]<<10|l[a.charCodeAt(c+1)]<<4|l[a.charCodeAt(c+2)]>>2,j[k++]=255&b>>8,j[k++]=255&b),j}function g(a){return k[63&a>>18]+k[63&a>>12]+k[63&a>>6]+k[63&a]}function h(a,b,c){for(var d,e=[],f=b;fj?j:g+f));return 1===d?(b=a[c-1],e.push(k[b>>2]+k[63&b<<4]+"==")):2===d&&(b=(a[c-2]<<8)+a[c-1],e.push(k[b>>10]+k[63&b>>4]+k[63&b<<2]+"=")),e.join("")}c.byteLength=function(a){var b=d(a),c=b[0],e=b[1];return 3*(c+e)/4-e},c.toByteArray=f,c.fromByteArray=j;for(var k=[],l=[],m="undefined"==typeof Uint8Array?Array:Uint8Array,n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",o=0,p=n.length;o 0) { - throw new Error('Invalid string. Length must be a multiple of 4') - } - - // Trim off extra bytes after placeholder bytes are found - // See: https://github.com/beatgammit/base64-js/issues/42 - var validLen = b64.indexOf('=') - if (validLen === -1) validLen = len - - var placeHoldersLen = validLen === len - ? 0 - : 4 - (validLen % 4) - - return [validLen, placeHoldersLen] -} - -// base64 is 4/3 + up to two characters of the original data -function byteLength (b64) { - var lens = getLens(b64) - var validLen = lens[0] - var placeHoldersLen = lens[1] - return ((validLen + placeHoldersLen) * 3 / 4) - placeHoldersLen -} - -function _byteLength (b64, validLen, placeHoldersLen) { - return ((validLen + placeHoldersLen) * 3 / 4) - placeHoldersLen -} - -function toByteArray (b64) { - var tmp - var lens = getLens(b64) - var validLen = lens[0] - var placeHoldersLen = lens[1] - - var arr = new Arr(_byteLength(b64, validLen, placeHoldersLen)) - - var curByte = 0 - - // if there are placeholders, only get up to the last complete 4 chars - var len = placeHoldersLen > 0 - ? validLen - 4 - : validLen - - var i - for (i = 0; i < len; i += 4) { - tmp = - (revLookup[b64.charCodeAt(i)] << 18) | - (revLookup[b64.charCodeAt(i + 1)] << 12) | - (revLookup[b64.charCodeAt(i + 2)] << 6) | - revLookup[b64.charCodeAt(i + 3)] - arr[curByte++] = (tmp >> 16) & 0xFF - arr[curByte++] = (tmp >> 8) & 0xFF - arr[curByte++] = tmp & 0xFF - } - - if (placeHoldersLen === 2) { - tmp = - (revLookup[b64.charCodeAt(i)] << 2) | - (revLookup[b64.charCodeAt(i + 1)] >> 4) - arr[curByte++] = tmp & 0xFF - } - - if (placeHoldersLen === 1) { - tmp = - (revLookup[b64.charCodeAt(i)] << 10) | - (revLookup[b64.charCodeAt(i + 1)] << 4) | - (revLookup[b64.charCodeAt(i + 2)] >> 2) - arr[curByte++] = (tmp >> 8) & 0xFF - arr[curByte++] = tmp & 0xFF - } - - return arr -} - -function tripletToBase64 (num) { - return lookup[num >> 18 & 0x3F] + - lookup[num >> 12 & 0x3F] + - lookup[num >> 6 & 0x3F] + - lookup[num & 0x3F] -} - -function encodeChunk (uint8, start, end) { - var tmp - var output = [] - for (var i = start; i < end; i += 3) { - tmp = - ((uint8[i] << 16) & 0xFF0000) + - ((uint8[i + 1] << 8) & 0xFF00) + - (uint8[i + 2] & 0xFF) - output.push(tripletToBase64(tmp)) - } - return output.join('') -} - -function fromByteArray (uint8) { - var tmp - var len = uint8.length - var extraBytes = len % 3 // if we have 1 byte left, pad 2 bytes - var parts = [] - var maxChunkLength = 16383 // must be multiple of 3 - - // go through the array every three bytes, we'll deal with trailing stuff later - for (var i = 0, len2 = len - extraBytes; i < len2; i += maxChunkLength) { - parts.push(encodeChunk(uint8, i, (i + maxChunkLength) > len2 ? len2 : (i + maxChunkLength))) - } - - // pad the end with zeros, but make sure to not forget the extra bytes - if (extraBytes === 1) { - tmp = uint8[len - 1] - parts.push( - lookup[tmp >> 2] + - lookup[(tmp << 4) & 0x3F] + - '==' - ) - } else if (extraBytes === 2) { - tmp = (uint8[len - 2] << 8) + uint8[len - 1] - parts.push( - lookup[tmp >> 10] + - lookup[(tmp >> 4) & 0x3F] + - lookup[(tmp << 2) & 0x3F] + - '=' - ) - } - - return parts.join('') -} diff --git a/node_modules/base64-js/package.json b/node_modules/base64-js/package.json deleted file mode 100644 index c3972e3..0000000 --- a/node_modules/base64-js/package.json +++ /dev/null @@ -1,47 +0,0 @@ -{ - "name": "base64-js", - "description": "Base64 encoding/decoding in pure JS", - "version": "1.5.1", - "author": "T. Jameson Little ", - "typings": "index.d.ts", - "bugs": { - "url": "https://github.com/beatgammit/base64-js/issues" - }, - "devDependencies": { - "babel-minify": "^0.5.1", - "benchmark": "^2.1.4", - "browserify": "^16.3.0", - "standard": "*", - "tape": "4.x" - }, - "homepage": "https://github.com/beatgammit/base64-js", - "keywords": [ - "base64" - ], - "license": "MIT", - "main": "index.js", - "repository": { - "type": "git", - "url": "git://github.com/beatgammit/base64-js.git" - }, - "scripts": { - "build": "browserify -s base64js -r ./ | minify > base64js.min.js", - "lint": "standard", - "test": "npm run lint && npm run unit", - "unit": "tape test/*.js" - }, - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ] -} diff --git a/node_modules/basic-ftp/LICENSE.txt b/node_modules/basic-ftp/LICENSE.txt deleted file mode 100644 index 804e800..0000000 --- a/node_modules/basic-ftp/LICENSE.txt +++ /dev/null @@ -1,19 +0,0 @@ -Copyright (c) 2019 Patrick Juchli - -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. \ No newline at end of file diff --git a/node_modules/basic-ftp/README.md b/node_modules/basic-ftp/README.md deleted file mode 100644 index 7203ee6..0000000 --- a/node_modules/basic-ftp/README.md +++ /dev/null @@ -1,242 +0,0 @@ -# Basic FTP - -[![npm version](https://img.shields.io/npm/v/basic-ftp.svg)](https://www.npmjs.com/package/basic-ftp) -[![npm downloads](https://img.shields.io/npm/dw/basic-ftp)](https://www.npmjs.com/package/basic-ftp) -[![Node.js CI](https://github.com/patrickjuchli/basic-ftp/actions/workflows/nodejs.yml/badge.svg)](https://github.com/patrickjuchli/basic-ftp/actions/workflows/nodejs.yml) - -This is an FTP client library for Node.js. It supports FTPS over TLS, Passive Mode over IPv6, has a Promise-based API, and offers methods to operate on whole directories. Active Mode is not supported. - -## Advisory - -Prefer alternative transfer protocols like HTTPS or SFTP (SSH). FTP is a an old protocol with some reliability issues. Use this library when you have no choice and need to use FTP. Try to use FTPS (FTP over TLS) whenever possible, FTP alone does not provide any security. - -## Dependencies - -Node 10.0 or later is the only dependency. - -## Installation - -`npm install basic-ftp` - -## Usage - -The first example will connect to an FTP server using TLS (FTPS), get a directory listing, upload a file and download it as a copy. Note that the FTP protocol doesn't allow multiple requests running in parallel. - -```js -const { Client } = require("basic-ftp") -// ESM: import { Client } from "basic-ftp" - -example() - -async function example() { - const client = new Client() - client.ftp.verbose = true - try { - await client.access({ - host: "myftpserver.com", - user: "very", - password: "password", - secure: true - }) - console.log(await client.list()) - await client.uploadFrom("README.md", "README_FTP.md") - await client.downloadTo("README_COPY.md", "README_FTP.md") - } - catch(err) { - console.log(err) - } - client.close() -} -``` - -The next example deals with directories and their content. First, we make sure a remote path exists, creating all directories as necessary. Then, we make sure it's empty and upload the contents of a local directory. - -```js -await client.ensureDir("my/remote/directory") -await client.clearWorkingDir() -await client.uploadFromDir("my/local/directory") -``` - -If you encounter a problem, it may help to log out all communication with the FTP server. - -```js -client.ftp.verbose = true -``` - -## Client API - -`new Client(timeout = 30000)` - -Create a client instance. Configure it with a timeout in milliseconds that will be used for any connection made. Use 0 to disable timeouts, default is 30 seconds. - -`close()` - -Close the client and any open connection. The client can’t be used anymore after calling this method, you'll have to reconnect with `access` to continue any work. A client is also closed automatically if any timeout or connection error occurs. See the section on [Error Handling](#error-handling) below. - -`closed` - -True if the client is not connected to a server. You can reconnect with `access`. - -`access(options): Promise` - -Get access to an FTP server. This method will connect to a server, optionally secure the connection with TLS, login a user and apply some default settings (TYPE I, STRU F, PBSZ 0, PROT P). It returns the response of the initial connect command. This is an instance method and thus can be called multiple times during the lifecycle of a `Client` instance. Whenever you do, the client is reset with a new connection. This also implies that you can reopen a `Client` instance that has been closed due to an error when reconnecting with this method. The available options are: - -- `host (string)` Server host, default: localhost -- `port (number)` Server port, default: 21 -- `user (string)` Username, default: anonymous -- `password (string)` Password, default: guest -- `secure (boolean | "implicit")` Explicit FTPS over TLS, default: false. Use "implicit" if you need support for legacy implicit FTPS. -- `secureOptions` Options for TLS, same as for [tls.connect()](https://nodejs.org/api/tls.html#tls_tls_connect_options_callback) in Node.js. - ---- - -`features(): Promise>` - -Get a description of supported features. This will return a Map where keys correspond to FTP commands and values contain further details. If the FTP server doesn't support this request you'll still get an empty Map instead of an error response. - -`send(command): Promise` - -Send an FTP command and return the first response. - -`sendIgnoringError(command): Promise` - -Send an FTP command, return the first response, and ignore an FTP error response. Any other error or timeout will still reject the Promise. - -`cd(path): Promise` - -Change the current working directory. - -`pwd(): Promise` - -Get the path of the current working directory. - -`list([path]): Promise` - -List files and directories in the current working directory, or at `path` if specified. Currently, this library only supports MLSD, Unix and DOS directory listings. See [FileInfo](src/FileInfo.ts) for more details. - -`lastMod(path): Promise` - -Get the last modification time of a file. This command might not be supported by your FTP server and throw an exception. - -`size(path): Promise` - -Get the size of a file in bytes. - -`rename(path, newPath): Promise` - -Rename a file. Depending on the server you may also use this to move a file to another directory by providing full paths. - -`remove(path): Promise` - -Remove a file. - -`uploadFrom(readableStream | localPath, remotePath, [options]): Promise` - -Upload data from a readable stream or a local file to a remote file. If such a file already exists it will be overwritten. If a file is being uploaded, additional options offer `localStart` and `localEndInclusive` to only upload parts of it. - -`appendFrom(readableStream | localPath, remotePath, [options]): Promise` - -Upload data from a readable stream or a local file by appending it to an existing file. If the file doesn't exist the FTP server should create it. If a file is being uploaded, additional options offer `localStart` and `localEndInclusive` to only upload parts of it. For example: To resume a failed upload, request the size of the remote, partially uploaded file using `size()` and use it as `localStart`. - -`downloadTo(writableStream | localPath, remotePath, startAt = 0): Promise` - -Download a remote file and pipe its data to a writable stream or to a local file. You can optionally define at which position of the remote file you'd like to start downloading. If the destination you provide is a file, the offset will be applied to it as well. For example: To resume a failed download, request the size of the local, partially downloaded file and use that as `startAt`. - ---- - -`ensureDir(remoteDirPath): Promise` - -Make sure that the given `remoteDirPath` exists on the server, creating all directories as necessary. The working directory is at `remoteDirPath` after calling this method. - -`clearWorkingDir(): Promise` - -Remove all files and directories from the working directory. - -`removeDir(remoteDirPath): Promise` - -Remove all files and directories from a given directory, including the directory itself. The working directory stays the same unless it is part of the deleted directories. - -`uploadFromDir(localDirPath, [remoteDirPath]): Promise` - -Upload the contents of a local directory to the current remote working directory. This will overwrite existing files with the same names and reuse existing directories. Unrelated files and directories will remain untouched. You can optionally provide a `remoteDirPath` to put the contents inside any remote directory which will be created if necessary including all intermediate directories. The working directory stays the same after calling this method. - -`downloadToDir(localDirPath, [remoteDirPath]): Promise` - -Download all files and directories of the current working directory to a given local directory. You can optionally set a specific remote directory. The working directory stays the same after calling this method. - ---- - -`trackProgress(handler)` - -Report any transfer progress using the given handler function. See the next section for more details. - -## Transfer Progress - -Set a callback function with `client.trackProgress` to track the progress of any transfer. Transfers are uploads, downloads or directory listings. To disable progress reporting, call `trackProgress` without a handler. - -```js -// Log progress for any transfer from now on. -client.trackProgress(info => { - console.log("File", info.name) - console.log("Type", info.type) - console.log("Transferred", info.bytes) - console.log("Transferred Overall", info.bytesOverall) -}) - -// Transfer some data -await client.uploadFrom(someStream, "test.txt") -await client.uploadFrom("somefile.txt", "test2.txt") - -// Set a new callback function which also resets the overall counter -client.trackProgress(info => console.log(info.bytesOverall)) -await client.downloadToDir("local/path", "remote/path") - -// Stop logging -client.trackProgress() -``` - -For each transfer, the callback function will receive the filename, transfer type (`upload`, `download` or `list`) and number of bytes transferred. The function will be called at a regular interval during a transfer. - -There is also a counter for all bytes transferred since the last time `trackProgress` was called. This is useful when downloading a directory with multiple files where you want to show the total bytes downloaded so far. - -## Error Handling - -Any error reported by the FTP server will be thrown as `FTPError`. The connection to the FTP server stays intact and you can continue to use your `Client` instance. - -This is different with a timeout or connection error: In addition to an `Error` being thrown, any connection to the FTP server will be closed. You’ll have to reconnect with `client.access()`, if you want to continue any work. - -## Logging - -Using `client.ftp.verbose = true` will log debug-level information to the console. You can use your own logging library by overriding `client.ftp.log`. This method is called regardless of what `client.ftp.verbose` is set to. For example: - -``` -myClient.ftp.log = myLogger.debug -``` - -## Static Types - -In addition to unit tests and linting, the source code is written in Typescript using rigorous [compiler settings](tsconfig.json) like `strict` and `noImplicitAny`. When building the project, the source is transpiled to Javascript and type declaration files. This makes the library useable for both Javascript and Typescript projects. - -## Extending the library - -### Client - -`get/set client.parseList` - -Provide a function to parse directory listing data. This library supports MLSD, Unix and DOS formats. Parsing these list responses is one of the more challenging parts of FTP because there is no standard that all servers adhere to. The signature of the function is `(rawList: string) => FileInfo[]`. - -### FTPContext - -The Client API described so far is implemented using an FTPContext. An FTPContext provides the foundation to write an FTP client. It holds the socket connections and provides an API to handle responses and events in a simplified way. Through `client.ftp` you get access to this context. - -`get/set verbose` - -Set the verbosity level to optionally log out all communication between the client and the server. - -`get/set encoding` - -Set the encoding applied to all incoming and outgoing messages of the control connection. This encoding is also used when parsing a list response from a data connection. See https://nodejs.org/api/buffer.html#buffer_buffers_and_character_encodings for what encodings are supported by Node.js. Default is `utf8` because most modern servers support it, some of them without mentioning it when requesting features. - -## Acknowledgment - -This library uses parts of the [directory listing parsers](https://github.com/apache/commons-net/tree/master/src/main/java/org/apache/commons/net/ftp/parser) written by The Apache Software Foundation. They've been made available under the Apache 2.0 license. See the [included notice](NOTICE.txt) and headers in the respective files containing the original copyright texts and a description of changes. diff --git a/node_modules/basic-ftp/dist/Client.d.ts b/node_modules/basic-ftp/dist/Client.d.ts deleted file mode 100644 index c91cce0..0000000 --- a/node_modules/basic-ftp/dist/Client.d.ts +++ /dev/null @@ -1,332 +0,0 @@ -/// -/// -import { Readable, Writable } from "stream"; -import { ConnectionOptions as TLSConnectionOptions } from "tls"; -import { FileInfo } from "./FileInfo"; -import { FTPContext, FTPResponse } from "./FtpContext"; -import { ProgressHandler, ProgressTracker } from "./ProgressTracker"; -import { UploadCommand } from "./transfer"; -export interface AccessOptions { - /** Host the client should connect to. Optional, default is "localhost". */ - readonly host?: string; - /** Port the client should connect to. Optional, default is 21. */ - readonly port?: number; - /** Username to use for login. Optional, default is "anonymous". */ - readonly user?: string; - /** Password to use for login. Optional, default is "guest". */ - readonly password?: string; - /** Use FTPS over TLS. Optional, default is false. True is preferred explicit TLS, "implicit" supports legacy, non-standardized implicit TLS. */ - readonly secure?: boolean | "implicit"; - /** TLS options as in [tls.connect(options)](https://nodejs.org/api/tls.html#tls_tls_connect_options_callback), optional. */ - readonly secureOptions?: TLSConnectionOptions; -} -/** Prepares a data connection for transfer. */ -export type TransferStrategy = (ftp: FTPContext) => Promise; -/** Parses raw directoy listing data. */ -export type RawListParser = (rawList: string) => FileInfo[]; -export interface UploadOptions { - /** Offset in the local file to start uploading from. */ - localStart?: number; - /** Final byte position to include in upload from the local file. */ - localEndInclusive?: number; -} -/** - * High-level API to interact with an FTP server. - */ -export declare class Client { - prepareTransfer: TransferStrategy; - parseList: RawListParser; - availableListCommands: string[]; - /** Low-level API to interact with FTP server. */ - readonly ftp: FTPContext; - /** Tracks progress of data transfers. */ - protected _progressTracker: ProgressTracker; - /** - * Instantiate an FTP client. - * - * @param timeout Timeout in milliseconds, use 0 for no timeout. Optional, default is 30 seconds. - */ - constructor(timeout?: number); - /** - * Close the client and all open socket connections. - * - * Close the client and all open socket connections. The client can’t be used anymore after calling this method, - * you have to either reconnect with `access` or `connect` or instantiate a new instance to continue any work. - * A client is also closed automatically if any timeout or connection error occurs. - */ - close(): void; - /** - * Returns true if the client is closed and can't be used anymore. - */ - get closed(): boolean; - /** - * Connect (or reconnect) to an FTP server. - * - * This is an instance method and thus can be called multiple times during the lifecycle of a `Client` - * instance. Whenever you do, the client is reset with a new control connection. This also implies that - * you can reopen a `Client` instance that has been closed due to an error when reconnecting with this - * method. In fact, reconnecting is the only way to continue using a closed `Client`. - * - * @param host Host the client should connect to. Optional, default is "localhost". - * @param port Port the client should connect to. Optional, default is 21. - */ - connect(host?: string, port?: number): Promise; - /** - * As `connect` but using implicit TLS. Implicit TLS is not an FTP standard and has been replaced by - * explicit TLS. There are still FTP servers that support only implicit TLS, though. - */ - connectImplicitTLS(host?: string, port?: number, tlsOptions?: TLSConnectionOptions): Promise; - /** - * Handles the first reponse by an FTP server after the socket connection has been established. - */ - private _handleConnectResponse; - /** - * Send an FTP command and handle the first response. - */ - send(command: string, ignoreErrorCodesDEPRECATED?: boolean): Promise; - /** - * Send an FTP command and ignore an FTP error response. Any other kind of error or timeout will still reject the Promise. - * - * @param command - */ - sendIgnoringError(command: string): Promise; - /** - * Upgrade the current socket connection to TLS. - * - * @param options TLS options as in `tls.connect(options)`, optional. - * @param command Set the authentication command. Optional, default is "AUTH TLS". - */ - useTLS(options?: TLSConnectionOptions, command?: string): Promise; - /** - * Login a user with a password. - * - * @param user Username to use for login. Optional, default is "anonymous". - * @param password Password to use for login. Optional, default is "guest". - */ - login(user?: string, password?: string): Promise; - /** - * Set the usual default settings. - * - * Settings used: - * * Binary mode (TYPE I) - * * File structure (STRU F) - * * Additional settings for FTPS (PBSZ 0, PROT P) - */ - useDefaultSettings(): Promise; - /** - * Convenience method that calls `connect`, `useTLS`, `login` and `useDefaultSettings`. - * - * This is an instance method and thus can be called multiple times during the lifecycle of a `Client` - * instance. Whenever you do, the client is reset with a new control connection. This also implies that - * you can reopen a `Client` instance that has been closed due to an error when reconnecting with this - * method. In fact, reconnecting is the only way to continue using a closed `Client`. - */ - access(options?: AccessOptions): Promise; - /** - * Get the current working directory. - */ - pwd(): Promise; - /** - * Get a description of supported features. - * - * This sends the FEAT command and parses the result into a Map where keys correspond to available commands - * and values hold further information. Be aware that your FTP servers might not support this - * command in which case this method will not throw an exception but just return an empty Map. - */ - features(): Promise>; - /** - * Set the working directory. - */ - cd(path: string): Promise; - /** - * Switch to the parent directory of the working directory. - */ - cdup(): Promise; - /** - * Get the last modified time of a file. This is not supported by every FTP server, in which case - * calling this method will throw an exception. - */ - lastMod(path: string): Promise; - /** - * Get the size of a file. - */ - size(path: string): Promise; - /** - * Rename a file. - * - * Depending on the FTP server this might also be used to move a file from one - * directory to another by providing full paths. - */ - rename(srcPath: string, destPath: string): Promise; - /** - * Remove a file from the current working directory. - * - * You can ignore FTP error return codes which won't throw an exception if e.g. - * the file doesn't exist. - */ - remove(path: string, ignoreErrorCodes?: boolean): Promise; - /** - * Report transfer progress for any upload or download to a given handler. - * - * This will also reset the overall transfer counter that can be used for multiple transfers. You can - * also call the function without a handler to stop reporting to an earlier one. - * - * @param handler Handler function to call on transfer progress. - */ - trackProgress(handler?: ProgressHandler): void; - /** - * Upload data from a readable stream or a local file to a remote file. - * - * @param source Readable stream or path to a local file. - * @param toRemotePath Path to a remote file to write to. - */ - uploadFrom(source: Readable | string, toRemotePath: string, options?: UploadOptions): Promise; - /** - * Upload data from a readable stream or a local file by appending it to an existing file. If the file doesn't - * exist the FTP server should create it. - * - * @param source Readable stream or path to a local file. - * @param toRemotePath Path to a remote file to write to. - */ - appendFrom(source: Readable | string, toRemotePath: string, options?: UploadOptions): Promise; - /** - * @protected - */ - protected _uploadWithCommand(source: Readable | string, remotePath: string, command: UploadCommand, options: UploadOptions): Promise; - /** - * @protected - */ - protected _uploadLocalFile(localPath: string, remotePath: string, command: UploadCommand, options: UploadOptions): Promise; - /** - * @protected - */ - protected _uploadFromStream(source: Readable, remotePath: string, command: UploadCommand): Promise; - /** - * Download a remote file and pipe its data to a writable stream or to a local file. - * - * You can optionally define at which position of the remote file you'd like to start - * downloading. If the destination you provide is a file, the offset will be applied - * to it as well. For example: To resume a failed download, you'd request the size of - * the local, partially downloaded file and use that as the offset. Assuming the size - * is 23, you'd download the rest using `downloadTo("local.txt", "remote.txt", 23)`. - * - * @param destination Stream or path for a local file to write to. - * @param fromRemotePath Path of the remote file to read from. - * @param startAt Position within the remote file to start downloading at. If the destination is a file, this offset is also applied to it. - */ - downloadTo(destination: Writable | string, fromRemotePath: string, startAt?: number): Promise; - /** - * @protected - */ - protected _downloadToFile(localPath: string, remotePath: string, startAt: number): Promise; - /** - * @protected - */ - protected _downloadToStream(destination: Writable, remotePath: string, startAt: number): Promise; - /** - * List files and directories in the current working directory, or from `path` if specified. - * - * @param [path] Path to remote file or directory. - */ - list(path?: string): Promise; - /** - * @protected - */ - protected _requestListWithCommand(command: string): Promise; - /** - * Remove a directory and all of its content. - * - * @param remoteDirPath The path of the remote directory to delete. - * @example client.removeDir("foo") // Remove directory 'foo' using a relative path. - * @example client.removeDir("foo/bar") // Remove directory 'bar' using a relative path. - * @example client.removeDir("/foo/bar") // Remove directory 'bar' using an absolute path. - * @example client.removeDir("/") // Remove everything. - */ - removeDir(remoteDirPath: string): Promise; - /** - * Remove all files and directories in the working directory without removing - * the working directory itself. - */ - clearWorkingDir(): Promise; - /** - * Upload the contents of a local directory to the remote working directory. - * - * This will overwrite existing files with the same names and reuse existing directories. - * Unrelated files and directories will remain untouched. You can optionally provide a `remoteDirPath` - * to put the contents inside a directory which will be created if necessary including all - * intermediate directories. If you did provide a remoteDirPath the working directory will stay - * the same as before calling this method. - * - * @param localDirPath Local path, e.g. "foo/bar" or "../test" - * @param [remoteDirPath] Remote path of a directory to upload to. Working directory if undefined. - */ - uploadFromDir(localDirPath: string, remoteDirPath?: string): Promise; - /** - * @protected - */ - protected _uploadToWorkingDir(localDirPath: string): Promise; - /** - * Download all files and directories of the working directory to a local directory. - * - * @param localDirPath The local directory to download to. - * @param remoteDirPath Remote directory to download. Current working directory if not specified. - */ - downloadToDir(localDirPath: string, remoteDirPath?: string): Promise; - /** - * @protected - */ - protected _downloadFromWorkingDir(localDirPath: string): Promise; - /** - * Make sure a given remote path exists, creating all directories as necessary. - * This function also changes the current working directory to the given path. - */ - ensureDir(remoteDirPath: string): Promise; - /** - * Try to create a directory and enter it. This will not raise an exception if the directory - * couldn't be created if for example it already exists. - * @protected - */ - protected _openDir(dirName: string): Promise; - /** - * Remove an empty directory, will fail if not empty. - */ - removeEmptyDir(path: string): Promise; - /** - * FTP servers can't handle filenames that have leading whitespace. This method transforms - * a given path to fix that issue for most cases. - */ - protectWhitespace(path: string): Promise; - protected _exitAtCurrentDirectory(func: () => Promise): Promise; - /** - * Try all available transfer strategies and pick the first one that works. Update `client` to - * use the working strategy for all successive transfer requests. - * - * @returns a function that will try the provided strategies. - */ - protected _enterFirstCompatibleMode(strategies: TransferStrategy[]): TransferStrategy; - /** - * DEPRECATED, use `uploadFrom`. - * @deprecated - */ - upload(source: Readable | string, toRemotePath: string, options?: UploadOptions): Promise; - /** - * DEPRECATED, use `appendFrom`. - * @deprecated - */ - append(source: Readable | string, toRemotePath: string, options?: UploadOptions): Promise; - /** - * DEPRECATED, use `downloadTo`. - * @deprecated - */ - download(destination: Writable | string, fromRemotePath: string, startAt?: number): Promise; - /** - * DEPRECATED, use `uploadFromDir`. - * @deprecated - */ - uploadDir(localDirPath: string, remoteDirPath?: string): Promise; - /** - * DEPRECATED, use `downloadToDir`. - * @deprecated - */ - downloadDir(localDirPath: string): Promise; -} diff --git a/node_modules/basic-ftp/dist/Client.js b/node_modules/basic-ftp/dist/Client.js deleted file mode 100644 index d91aa92..0000000 --- a/node_modules/basic-ftp/dist/Client.js +++ /dev/null @@ -1,770 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.Client = void 0; -const fs_1 = require("fs"); -const path_1 = require("path"); -const tls_1 = require("tls"); -const util_1 = require("util"); -const FtpContext_1 = require("./FtpContext"); -const parseList_1 = require("./parseList"); -const ProgressTracker_1 = require("./ProgressTracker"); -const StringWriter_1 = require("./StringWriter"); -const parseListMLSD_1 = require("./parseListMLSD"); -const netUtils_1 = require("./netUtils"); -const transfer_1 = require("./transfer"); -const parseControlResponse_1 = require("./parseControlResponse"); -// Use promisify to keep the library compatible with Node 8. -const fsReadDir = (0, util_1.promisify)(fs_1.readdir); -const fsMkDir = (0, util_1.promisify)(fs_1.mkdir); -const fsStat = (0, util_1.promisify)(fs_1.stat); -const fsOpen = (0, util_1.promisify)(fs_1.open); -const fsClose = (0, util_1.promisify)(fs_1.close); -const fsUnlink = (0, util_1.promisify)(fs_1.unlink); -const LIST_COMMANDS_DEFAULT = () => ["LIST -a", "LIST"]; -const LIST_COMMANDS_MLSD = () => ["MLSD", "LIST -a", "LIST"]; -/** - * High-level API to interact with an FTP server. - */ -class Client { - /** - * Instantiate an FTP client. - * - * @param timeout Timeout in milliseconds, use 0 for no timeout. Optional, default is 30 seconds. - */ - constructor(timeout = 30000) { - this.availableListCommands = LIST_COMMANDS_DEFAULT(); - this.ftp = new FtpContext_1.FTPContext(timeout); - this.prepareTransfer = this._enterFirstCompatibleMode([transfer_1.enterPassiveModeIPv6, transfer_1.enterPassiveModeIPv4]); - this.parseList = parseList_1.parseList; - this._progressTracker = new ProgressTracker_1.ProgressTracker(); - } - /** - * Close the client and all open socket connections. - * - * Close the client and all open socket connections. The client can’t be used anymore after calling this method, - * you have to either reconnect with `access` or `connect` or instantiate a new instance to continue any work. - * A client is also closed automatically if any timeout or connection error occurs. - */ - close() { - this.ftp.close(); - this._progressTracker.stop(); - } - /** - * Returns true if the client is closed and can't be used anymore. - */ - get closed() { - return this.ftp.closed; - } - /** - * Connect (or reconnect) to an FTP server. - * - * This is an instance method and thus can be called multiple times during the lifecycle of a `Client` - * instance. Whenever you do, the client is reset with a new control connection. This also implies that - * you can reopen a `Client` instance that has been closed due to an error when reconnecting with this - * method. In fact, reconnecting is the only way to continue using a closed `Client`. - * - * @param host Host the client should connect to. Optional, default is "localhost". - * @param port Port the client should connect to. Optional, default is 21. - */ - connect(host = "localhost", port = 21) { - this.ftp.reset(); - this.ftp.socket.connect({ - host, - port, - family: this.ftp.ipFamily - }, () => this.ftp.log(`Connected to ${(0, netUtils_1.describeAddress)(this.ftp.socket)} (${(0, netUtils_1.describeTLS)(this.ftp.socket)})`)); - return this._handleConnectResponse(); - } - /** - * As `connect` but using implicit TLS. Implicit TLS is not an FTP standard and has been replaced by - * explicit TLS. There are still FTP servers that support only implicit TLS, though. - */ - connectImplicitTLS(host = "localhost", port = 21, tlsOptions = {}) { - this.ftp.reset(); - this.ftp.socket = (0, tls_1.connect)(port, host, tlsOptions, () => this.ftp.log(`Connected to ${(0, netUtils_1.describeAddress)(this.ftp.socket)} (${(0, netUtils_1.describeTLS)(this.ftp.socket)})`)); - this.ftp.tlsOptions = tlsOptions; - return this._handleConnectResponse(); - } - /** - * Handles the first reponse by an FTP server after the socket connection has been established. - */ - _handleConnectResponse() { - return this.ftp.handle(undefined, (res, task) => { - if (res instanceof Error) { - // The connection has been destroyed by the FTPContext at this point. - task.reject(res); - } - else if ((0, parseControlResponse_1.positiveCompletion)(res.code)) { - task.resolve(res); - } - // Reject all other codes, including 120 "Service ready in nnn minutes". - else { - // Don't stay connected but don't replace the socket yet by using reset() - // so the user can inspect properties of this instance. - task.reject(new FtpContext_1.FTPError(res)); - } - }); - } - /** - * Send an FTP command and handle the first response. - */ - send(command, ignoreErrorCodesDEPRECATED = false) { - if (ignoreErrorCodesDEPRECATED) { // Deprecated starting from 3.9.0 - this.ftp.log("Deprecated call using send(command, flag) with boolean flag to ignore errors. Use sendIgnoringError(command)."); - return this.sendIgnoringError(command); - } - return this.ftp.request(command); - } - /** - * Send an FTP command and ignore an FTP error response. Any other kind of error or timeout will still reject the Promise. - * - * @param command - */ - sendIgnoringError(command) { - return this.ftp.handle(command, (res, task) => { - if (res instanceof FtpContext_1.FTPError) { - task.resolve({ code: res.code, message: res.message }); - } - else if (res instanceof Error) { - task.reject(res); - } - else { - task.resolve(res); - } - }); - } - /** - * Upgrade the current socket connection to TLS. - * - * @param options TLS options as in `tls.connect(options)`, optional. - * @param command Set the authentication command. Optional, default is "AUTH TLS". - */ - async useTLS(options = {}, command = "AUTH TLS") { - const ret = await this.send(command); - this.ftp.socket = await (0, netUtils_1.upgradeSocket)(this.ftp.socket, options); - this.ftp.tlsOptions = options; // Keep the TLS options for later data connections that should use the same options. - this.ftp.log(`Control socket is using: ${(0, netUtils_1.describeTLS)(this.ftp.socket)}`); - return ret; - } - /** - * Login a user with a password. - * - * @param user Username to use for login. Optional, default is "anonymous". - * @param password Password to use for login. Optional, default is "guest". - */ - login(user = "anonymous", password = "guest") { - this.ftp.log(`Login security: ${(0, netUtils_1.describeTLS)(this.ftp.socket)}`); - return this.ftp.handle("USER " + user, (res, task) => { - if (res instanceof Error) { - task.reject(res); - } - else if ((0, parseControlResponse_1.positiveCompletion)(res.code)) { // User logged in proceed OR Command superfluous - task.resolve(res); - } - else if (res.code === 331) { // User name okay, need password - this.ftp.send("PASS " + password); - } - else { // Also report error on 332 (Need account) - task.reject(new FtpContext_1.FTPError(res)); - } - }); - } - /** - * Set the usual default settings. - * - * Settings used: - * * Binary mode (TYPE I) - * * File structure (STRU F) - * * Additional settings for FTPS (PBSZ 0, PROT P) - */ - async useDefaultSettings() { - const features = await this.features(); - // Use MLSD directory listing if possible. See https://tools.ietf.org/html/rfc3659#section-7.8: - // "The presence of the MLST feature indicates that both MLST and MLSD are supported." - const supportsMLSD = features.has("MLST"); - this.availableListCommands = supportsMLSD ? LIST_COMMANDS_MLSD() : LIST_COMMANDS_DEFAULT(); - await this.send("TYPE I"); // Binary mode - await this.sendIgnoringError("STRU F"); // Use file structure - await this.sendIgnoringError("OPTS UTF8 ON"); // Some servers expect UTF-8 to be enabled explicitly and setting before login might not have worked. - if (supportsMLSD) { - await this.sendIgnoringError("OPTS MLST type;size;modify;unique;unix.mode;unix.owner;unix.group;unix.ownername;unix.groupname;"); // Make sure MLSD listings include all we can parse - } - if (this.ftp.hasTLS) { - await this.sendIgnoringError("PBSZ 0"); // Set to 0 for TLS - await this.sendIgnoringError("PROT P"); // Protect channel (also for data connections) - } - } - /** - * Convenience method that calls `connect`, `useTLS`, `login` and `useDefaultSettings`. - * - * This is an instance method and thus can be called multiple times during the lifecycle of a `Client` - * instance. Whenever you do, the client is reset with a new control connection. This also implies that - * you can reopen a `Client` instance that has been closed due to an error when reconnecting with this - * method. In fact, reconnecting is the only way to continue using a closed `Client`. - */ - async access(options = {}) { - var _a, _b; - const useExplicitTLS = options.secure === true; - const useImplicitTLS = options.secure === "implicit"; - let welcome; - if (useImplicitTLS) { - welcome = await this.connectImplicitTLS(options.host, options.port, options.secureOptions); - } - else { - welcome = await this.connect(options.host, options.port); - } - if (useExplicitTLS) { - // Fixes https://github.com/patrickjuchli/basic-ftp/issues/166 by making sure - // host is set for any future data connection as well. - const secureOptions = (_a = options.secureOptions) !== null && _a !== void 0 ? _a : {}; - secureOptions.host = (_b = secureOptions.host) !== null && _b !== void 0 ? _b : options.host; - await this.useTLS(secureOptions); - } - // Set UTF-8 on before login in case there are non-ascii characters in user or password. - // Note that this might not work before login depending on server. - await this.sendIgnoringError("OPTS UTF8 ON"); - await this.login(options.user, options.password); - await this.useDefaultSettings(); - return welcome; - } - /** - * Get the current working directory. - */ - async pwd() { - const res = await this.send("PWD"); - // The directory is part of the return message, for example: - // 257 "/this/that" is current directory. - const parsed = res.message.match(/"(.+)"/); - if (parsed === null || parsed[1] === undefined) { - throw new Error(`Can't parse response to command 'PWD': ${res.message}`); - } - return parsed[1]; - } - /** - * Get a description of supported features. - * - * This sends the FEAT command and parses the result into a Map where keys correspond to available commands - * and values hold further information. Be aware that your FTP servers might not support this - * command in which case this method will not throw an exception but just return an empty Map. - */ - async features() { - const res = await this.sendIgnoringError("FEAT"); - const features = new Map(); - // Not supporting any special features will be reported with a single line. - if (res.code < 400 && (0, parseControlResponse_1.isMultiline)(res.message)) { - // The first and last line wrap the multiline response, ignore them. - res.message.split("\n").slice(1, -1).forEach(line => { - // A typical lines looks like: " REST STREAM" or " MDTM". - // Servers might not use an indentation though. - const entry = line.trim().split(" "); - features.set(entry[0], entry[1] || ""); - }); - } - return features; - } - /** - * Set the working directory. - */ - async cd(path) { - const validPath = await this.protectWhitespace(path); - return this.send("CWD " + validPath); - } - /** - * Switch to the parent directory of the working directory. - */ - async cdup() { - return this.send("CDUP"); - } - /** - * Get the last modified time of a file. This is not supported by every FTP server, in which case - * calling this method will throw an exception. - */ - async lastMod(path) { - const validPath = await this.protectWhitespace(path); - const res = await this.send(`MDTM ${validPath}`); - const date = res.message.slice(4); - return (0, parseListMLSD_1.parseMLSxDate)(date); - } - /** - * Get the size of a file. - */ - async size(path) { - const validPath = await this.protectWhitespace(path); - const command = `SIZE ${validPath}`; - const res = await this.send(command); - // The size is part of the response message, for example: "213 555555". It's - // possible that there is a commmentary appended like "213 5555, some commentary". - const size = parseInt(res.message.slice(4), 10); - if (Number.isNaN(size)) { - throw new Error(`Can't parse response to command '${command}' as a numerical value: ${res.message}`); - } - return size; - } - /** - * Rename a file. - * - * Depending on the FTP server this might also be used to move a file from one - * directory to another by providing full paths. - */ - async rename(srcPath, destPath) { - const validSrc = await this.protectWhitespace(srcPath); - const validDest = await this.protectWhitespace(destPath); - await this.send("RNFR " + validSrc); - return this.send("RNTO " + validDest); - } - /** - * Remove a file from the current working directory. - * - * You can ignore FTP error return codes which won't throw an exception if e.g. - * the file doesn't exist. - */ - async remove(path, ignoreErrorCodes = false) { - const validPath = await this.protectWhitespace(path); - if (ignoreErrorCodes) { - return this.sendIgnoringError(`DELE ${validPath}`); - } - return this.send(`DELE ${validPath}`); - } - /** - * Report transfer progress for any upload or download to a given handler. - * - * This will also reset the overall transfer counter that can be used for multiple transfers. You can - * also call the function without a handler to stop reporting to an earlier one. - * - * @param handler Handler function to call on transfer progress. - */ - trackProgress(handler) { - this._progressTracker.bytesOverall = 0; - this._progressTracker.reportTo(handler); - } - /** - * Upload data from a readable stream or a local file to a remote file. - * - * @param source Readable stream or path to a local file. - * @param toRemotePath Path to a remote file to write to. - */ - async uploadFrom(source, toRemotePath, options = {}) { - return this._uploadWithCommand(source, toRemotePath, "STOR", options); - } - /** - * Upload data from a readable stream or a local file by appending it to an existing file. If the file doesn't - * exist the FTP server should create it. - * - * @param source Readable stream or path to a local file. - * @param toRemotePath Path to a remote file to write to. - */ - async appendFrom(source, toRemotePath, options = {}) { - return this._uploadWithCommand(source, toRemotePath, "APPE", options); - } - /** - * @protected - */ - async _uploadWithCommand(source, remotePath, command, options) { - if (typeof source === "string") { - return this._uploadLocalFile(source, remotePath, command, options); - } - return this._uploadFromStream(source, remotePath, command); - } - /** - * @protected - */ - async _uploadLocalFile(localPath, remotePath, command, options) { - const fd = await fsOpen(localPath, "r"); - const source = (0, fs_1.createReadStream)("", { - fd, - start: options.localStart, - end: options.localEndInclusive, - autoClose: false - }); - try { - return await this._uploadFromStream(source, remotePath, command); - } - finally { - await ignoreError(() => fsClose(fd)); - } - } - /** - * @protected - */ - async _uploadFromStream(source, remotePath, command) { - const onError = (err) => this.ftp.closeWithError(err); - source.once("error", onError); - try { - const validPath = await this.protectWhitespace(remotePath); - await this.prepareTransfer(this.ftp); - // Keep the keyword `await` or the `finally` clause below runs too early - // and removes the event listener for the source stream too early. - return await (0, transfer_1.uploadFrom)(source, { - ftp: this.ftp, - tracker: this._progressTracker, - command, - remotePath: validPath, - type: "upload" - }); - } - finally { - source.removeListener("error", onError); - } - } - /** - * Download a remote file and pipe its data to a writable stream or to a local file. - * - * You can optionally define at which position of the remote file you'd like to start - * downloading. If the destination you provide is a file, the offset will be applied - * to it as well. For example: To resume a failed download, you'd request the size of - * the local, partially downloaded file and use that as the offset. Assuming the size - * is 23, you'd download the rest using `downloadTo("local.txt", "remote.txt", 23)`. - * - * @param destination Stream or path for a local file to write to. - * @param fromRemotePath Path of the remote file to read from. - * @param startAt Position within the remote file to start downloading at. If the destination is a file, this offset is also applied to it. - */ - async downloadTo(destination, fromRemotePath, startAt = 0) { - if (typeof destination === "string") { - return this._downloadToFile(destination, fromRemotePath, startAt); - } - return this._downloadToStream(destination, fromRemotePath, startAt); - } - /** - * @protected - */ - async _downloadToFile(localPath, remotePath, startAt) { - const appendingToLocalFile = startAt > 0; - const fileSystemFlags = appendingToLocalFile ? "r+" : "w"; - const fd = await fsOpen(localPath, fileSystemFlags); - const destination = (0, fs_1.createWriteStream)("", { - fd, - start: startAt, - autoClose: false - }); - try { - return await this._downloadToStream(destination, remotePath, startAt); - } - catch (err) { - const localFileStats = await ignoreError(() => fsStat(localPath)); - const hasDownloadedData = localFileStats && localFileStats.size > 0; - const shouldRemoveLocalFile = !appendingToLocalFile && !hasDownloadedData; - if (shouldRemoveLocalFile) { - await ignoreError(() => fsUnlink(localPath)); - } - throw err; - } - finally { - await ignoreError(() => fsClose(fd)); - } - } - /** - * @protected - */ - async _downloadToStream(destination, remotePath, startAt) { - const onError = (err) => this.ftp.closeWithError(err); - destination.once("error", onError); - try { - const validPath = await this.protectWhitespace(remotePath); - await this.prepareTransfer(this.ftp); - // Keep the keyword `await` or the `finally` clause below runs too early - // and removes the event listener for the source stream too early. - return await (0, transfer_1.downloadTo)(destination, { - ftp: this.ftp, - tracker: this._progressTracker, - command: startAt > 0 ? `REST ${startAt}` : `RETR ${validPath}`, - remotePath: validPath, - type: "download" - }); - } - finally { - destination.removeListener("error", onError); - destination.end(); - } - } - /** - * List files and directories in the current working directory, or from `path` if specified. - * - * @param [path] Path to remote file or directory. - */ - async list(path = "") { - const validPath = await this.protectWhitespace(path); - let lastError; - for (const candidate of this.availableListCommands) { - const command = validPath === "" ? candidate : `${candidate} ${validPath}`; - await this.prepareTransfer(this.ftp); - try { - const parsedList = await this._requestListWithCommand(command); - // Use successful candidate for all subsequent requests. - this.availableListCommands = [candidate]; - return parsedList; - } - catch (err) { - const shouldTryNext = err instanceof FtpContext_1.FTPError; - if (!shouldTryNext) { - throw err; - } - lastError = err; - } - } - throw lastError; - } - /** - * @protected - */ - async _requestListWithCommand(command) { - const buffer = new StringWriter_1.StringWriter(); - await (0, transfer_1.downloadTo)(buffer, { - ftp: this.ftp, - tracker: this._progressTracker, - command, - remotePath: "", - type: "list" - }); - const text = buffer.getText(this.ftp.encoding); - this.ftp.log(text); - return this.parseList(text); - } - /** - * Remove a directory and all of its content. - * - * @param remoteDirPath The path of the remote directory to delete. - * @example client.removeDir("foo") // Remove directory 'foo' using a relative path. - * @example client.removeDir("foo/bar") // Remove directory 'bar' using a relative path. - * @example client.removeDir("/foo/bar") // Remove directory 'bar' using an absolute path. - * @example client.removeDir("/") // Remove everything. - */ - async removeDir(remoteDirPath) { - return this._exitAtCurrentDirectory(async () => { - await this.cd(remoteDirPath); - // Get the absolute path of the target because remoteDirPath might be a relative path, even `../` is possible. - const absoluteDirPath = await this.pwd(); - await this.clearWorkingDir(); - const dirIsRoot = absoluteDirPath === "/"; - if (!dirIsRoot) { - await this.cdup(); - await this.removeEmptyDir(absoluteDirPath); - } - }); - } - /** - * Remove all files and directories in the working directory without removing - * the working directory itself. - */ - async clearWorkingDir() { - for (const file of await this.list()) { - if (file.isDirectory) { - await this.cd(file.name); - await this.clearWorkingDir(); - await this.cdup(); - await this.removeEmptyDir(file.name); - } - else { - await this.remove(file.name); - } - } - } - /** - * Upload the contents of a local directory to the remote working directory. - * - * This will overwrite existing files with the same names and reuse existing directories. - * Unrelated files and directories will remain untouched. You can optionally provide a `remoteDirPath` - * to put the contents inside a directory which will be created if necessary including all - * intermediate directories. If you did provide a remoteDirPath the working directory will stay - * the same as before calling this method. - * - * @param localDirPath Local path, e.g. "foo/bar" or "../test" - * @param [remoteDirPath] Remote path of a directory to upload to. Working directory if undefined. - */ - async uploadFromDir(localDirPath, remoteDirPath) { - return this._exitAtCurrentDirectory(async () => { - if (remoteDirPath) { - await this.ensureDir(remoteDirPath); - } - return await this._uploadToWorkingDir(localDirPath); - }); - } - /** - * @protected - */ - async _uploadToWorkingDir(localDirPath) { - const files = await fsReadDir(localDirPath); - for (const file of files) { - const fullPath = (0, path_1.join)(localDirPath, file); - const stats = await fsStat(fullPath); - if (stats.isFile()) { - await this.uploadFrom(fullPath, file); - } - else if (stats.isDirectory()) { - await this._openDir(file); - await this._uploadToWorkingDir(fullPath); - await this.cdup(); - } - } - } - /** - * Download all files and directories of the working directory to a local directory. - * - * @param localDirPath The local directory to download to. - * @param remoteDirPath Remote directory to download. Current working directory if not specified. - */ - async downloadToDir(localDirPath, remoteDirPath) { - return this._exitAtCurrentDirectory(async () => { - if (remoteDirPath) { - await this.cd(remoteDirPath); - } - return await this._downloadFromWorkingDir(localDirPath); - }); - } - /** - * @protected - */ - async _downloadFromWorkingDir(localDirPath) { - await ensureLocalDirectory(localDirPath); - for (const file of await this.list()) { - const localPath = (0, path_1.join)(localDirPath, file.name); - if (file.isDirectory) { - await this.cd(file.name); - await this._downloadFromWorkingDir(localPath); - await this.cdup(); - } - else if (file.isFile) { - await this.downloadTo(localPath, file.name); - } - } - } - /** - * Make sure a given remote path exists, creating all directories as necessary. - * This function also changes the current working directory to the given path. - */ - async ensureDir(remoteDirPath) { - // If the remoteDirPath was absolute go to root directory. - if (remoteDirPath.startsWith("/")) { - await this.cd("/"); - } - const names = remoteDirPath.split("/").filter(name => name !== ""); - for (const name of names) { - await this._openDir(name); - } - } - /** - * Try to create a directory and enter it. This will not raise an exception if the directory - * couldn't be created if for example it already exists. - * @protected - */ - async _openDir(dirName) { - await this.sendIgnoringError("MKD " + dirName); - await this.cd(dirName); - } - /** - * Remove an empty directory, will fail if not empty. - */ - async removeEmptyDir(path) { - const validPath = await this.protectWhitespace(path); - return this.send(`RMD ${validPath}`); - } - /** - * FTP servers can't handle filenames that have leading whitespace. This method transforms - * a given path to fix that issue for most cases. - */ - async protectWhitespace(path) { - if (!path.startsWith(" ")) { - return path; - } - // Handle leading whitespace by prepending the absolute path: - // " test.txt" while being in the root directory becomes "/ test.txt". - const pwd = await this.pwd(); - const absolutePathPrefix = pwd.endsWith("/") ? pwd : pwd + "/"; - return absolutePathPrefix + path; - } - async _exitAtCurrentDirectory(func) { - const userDir = await this.pwd(); - try { - return await func(); - } - finally { - if (!this.closed) { - await ignoreError(() => this.cd(userDir)); - } - } - } - /** - * Try all available transfer strategies and pick the first one that works. Update `client` to - * use the working strategy for all successive transfer requests. - * - * @returns a function that will try the provided strategies. - */ - _enterFirstCompatibleMode(strategies) { - return async (ftp) => { - ftp.log("Trying to find optimal transfer strategy..."); - let lastError = undefined; - for (const strategy of strategies) { - try { - const res = await strategy(ftp); - ftp.log("Optimal transfer strategy found."); - this.prepareTransfer = strategy; // eslint-disable-line require-atomic-updates - return res; - } - catch (err) { - // Try the next candidate no matter the exact error. It's possible that a server - // answered incorrectly to a strategy, for example a PASV answer to an EPSV. - lastError = err; - } - } - throw new Error(`None of the available transfer strategies work. Last error response was '${lastError}'.`); - }; - } - /** - * DEPRECATED, use `uploadFrom`. - * @deprecated - */ - async upload(source, toRemotePath, options = {}) { - this.ftp.log("Warning: upload() has been deprecated, use uploadFrom()."); - return this.uploadFrom(source, toRemotePath, options); - } - /** - * DEPRECATED, use `appendFrom`. - * @deprecated - */ - async append(source, toRemotePath, options = {}) { - this.ftp.log("Warning: append() has been deprecated, use appendFrom()."); - return this.appendFrom(source, toRemotePath, options); - } - /** - * DEPRECATED, use `downloadTo`. - * @deprecated - */ - async download(destination, fromRemotePath, startAt = 0) { - this.ftp.log("Warning: download() has been deprecated, use downloadTo()."); - return this.downloadTo(destination, fromRemotePath, startAt); - } - /** - * DEPRECATED, use `uploadFromDir`. - * @deprecated - */ - async uploadDir(localDirPath, remoteDirPath) { - this.ftp.log("Warning: uploadDir() has been deprecated, use uploadFromDir()."); - return this.uploadFromDir(localDirPath, remoteDirPath); - } - /** - * DEPRECATED, use `downloadToDir`. - * @deprecated - */ - async downloadDir(localDirPath) { - this.ftp.log("Warning: downloadDir() has been deprecated, use downloadToDir()."); - return this.downloadToDir(localDirPath); - } -} -exports.Client = Client; -async function ensureLocalDirectory(path) { - try { - await fsStat(path); - } - catch (err) { - await fsMkDir(path, { recursive: true }); - } -} -async function ignoreError(func) { - try { - return await func(); - } - catch (err) { - // Ignore - return undefined; - } -} diff --git a/node_modules/basic-ftp/dist/FileInfo.d.ts b/node_modules/basic-ftp/dist/FileInfo.d.ts deleted file mode 100644 index 429102b..0000000 --- a/node_modules/basic-ftp/dist/FileInfo.d.ts +++ /dev/null @@ -1,80 +0,0 @@ -export declare enum FileType { - Unknown = 0, - File = 1, - Directory = 2, - SymbolicLink = 3 -} -export interface UnixPermissions { - readonly user: number; - readonly group: number; - readonly world: number; -} -/** - * Describes a file, directory or symbolic link. - */ -export declare class FileInfo { - name: string; - static UnixPermission: { - Read: number; - Write: number; - Execute: number; - }; - type: FileType; - size: number; - /** - * Unparsed, raw modification date as a string. - * - * If `modifiedAt` is undefined, the FTP server you're connected to doesn't support the more modern - * MLSD command for machine-readable directory listings. The older command LIST is then used returning - * results that vary a lot between servers as the format hasn't been standardized. Here, directory listings - * and especially modification dates were meant to be human-readable first. - * - * Be careful when still trying to parse this by yourself. Parsing dates from listings using LIST is - * unreliable. This library decides to offer parsed dates only when they're absolutely reliable and safe to - * use e.g. for comparisons. - */ - rawModifiedAt: string; - /** - * Parsed modification date. - * - * Available if the FTP server supports the MLSD command. Only MLSD guarantees dates than can be reliably - * parsed with the correct timezone and a resolution down to seconds. See `rawModifiedAt` property for the unparsed - * date that is always available. - */ - modifiedAt?: Date; - /** - * Unix permissions if present. If the underlying FTP server is not running on Unix this will be undefined. - * If set, you might be able to edit permissions with the FTP command `SITE CHMOD`. - */ - permissions?: UnixPermissions; - /** - * Hard link count if available. - */ - hardLinkCount?: number; - /** - * Link name for symbolic links if available. - */ - link?: string; - /** - * Unix group if available. - */ - group?: string; - /** - * Unix user if available. - */ - user?: string; - /** - * Unique ID if available. - */ - uniqueID?: string; - constructor(name: string); - get isDirectory(): boolean; - get isSymbolicLink(): boolean; - get isFile(): boolean; - /** - * Deprecated, legacy API. Use `rawModifiedAt` instead. - * @deprecated - */ - get date(): string; - set date(rawModifiedAt: string); -} diff --git a/node_modules/basic-ftp/dist/FileInfo.js b/node_modules/basic-ftp/dist/FileInfo.js deleted file mode 100644 index 8cc071c..0000000 --- a/node_modules/basic-ftp/dist/FileInfo.js +++ /dev/null @@ -1,92 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.FileInfo = exports.FileType = void 0; -var FileType; -(function (FileType) { - FileType[FileType["Unknown"] = 0] = "Unknown"; - FileType[FileType["File"] = 1] = "File"; - FileType[FileType["Directory"] = 2] = "Directory"; - FileType[FileType["SymbolicLink"] = 3] = "SymbolicLink"; -})(FileType || (exports.FileType = FileType = {})); -/** - * Describes a file, directory or symbolic link. - */ -class FileInfo { - constructor(name) { - this.name = name; - this.type = FileType.Unknown; - this.size = 0; - /** - * Unparsed, raw modification date as a string. - * - * If `modifiedAt` is undefined, the FTP server you're connected to doesn't support the more modern - * MLSD command for machine-readable directory listings. The older command LIST is then used returning - * results that vary a lot between servers as the format hasn't been standardized. Here, directory listings - * and especially modification dates were meant to be human-readable first. - * - * Be careful when still trying to parse this by yourself. Parsing dates from listings using LIST is - * unreliable. This library decides to offer parsed dates only when they're absolutely reliable and safe to - * use e.g. for comparisons. - */ - this.rawModifiedAt = ""; - /** - * Parsed modification date. - * - * Available if the FTP server supports the MLSD command. Only MLSD guarantees dates than can be reliably - * parsed with the correct timezone and a resolution down to seconds. See `rawModifiedAt` property for the unparsed - * date that is always available. - */ - this.modifiedAt = undefined; - /** - * Unix permissions if present. If the underlying FTP server is not running on Unix this will be undefined. - * If set, you might be able to edit permissions with the FTP command `SITE CHMOD`. - */ - this.permissions = undefined; - /** - * Hard link count if available. - */ - this.hardLinkCount = undefined; - /** - * Link name for symbolic links if available. - */ - this.link = undefined; - /** - * Unix group if available. - */ - this.group = undefined; - /** - * Unix user if available. - */ - this.user = undefined; - /** - * Unique ID if available. - */ - this.uniqueID = undefined; - this.name = name; - } - get isDirectory() { - return this.type === FileType.Directory; - } - get isSymbolicLink() { - return this.type === FileType.SymbolicLink; - } - get isFile() { - return this.type === FileType.File; - } - /** - * Deprecated, legacy API. Use `rawModifiedAt` instead. - * @deprecated - */ - get date() { - return this.rawModifiedAt; - } - set date(rawModifiedAt) { - this.rawModifiedAt = rawModifiedAt; - } -} -exports.FileInfo = FileInfo; -FileInfo.UnixPermission = { - Read: 4, - Write: 2, - Execute: 1 -}; diff --git a/node_modules/basic-ftp/dist/FtpContext.d.ts b/node_modules/basic-ftp/dist/FtpContext.d.ts deleted file mode 100644 index 49c7d4d..0000000 --- a/node_modules/basic-ftp/dist/FtpContext.d.ts +++ /dev/null @@ -1,178 +0,0 @@ -/// -/// -/// -import { Socket } from "net"; -import { ConnectionOptions as TLSConnectionOptions, TLSSocket } from "tls"; -import { StringEncoding } from "./StringEncoding"; -interface Task { - /** Handles a response for a task. */ - readonly responseHandler: ResponseHandler; - /** Resolves or rejects a task. */ - readonly resolver: TaskResolver; - /** Call stack when task was run. */ - readonly stack: string; -} -export interface TaskResolver { - resolve(args: any): void; - reject(err: Error): void; -} -export interface FTPResponse { - /** FTP response code */ - readonly code: number; - /** Whole response including response code */ - readonly message: string; -} -export type ResponseHandler = (response: Error | FTPResponse, task: TaskResolver) => void; -/** - * Describes an FTP server error response including the FTP response code. - */ -export declare class FTPError extends Error { - /** FTP response code */ - readonly code: number; - constructor(res: FTPResponse); -} -/** - * FTPContext holds the control and data sockets of an FTP connection and provides a - * simplified way to interact with an FTP server, handle responses, errors and timeouts. - * - * It doesn't implement or use any FTP commands. It's only a foundation to make writing an FTP - * client as easy as possible. You won't usually instantiate this, but use `Client`. - */ -export declare class FTPContext { - readonly timeout: number; - /** Debug-level logging of all socket communication. */ - verbose: boolean; - /** IP version to prefer (4: IPv4, 6: IPv6, undefined: automatic). */ - ipFamily: number | undefined; - /** Options for TLS connections. */ - tlsOptions: TLSConnectionOptions; - /** Current task to be resolved or rejected. */ - protected _task: Task | undefined; - /** A multiline response might be received as multiple chunks. */ - protected _partialResponse: string; - /** The reason why a context has been closed. */ - protected _closingError: NodeJS.ErrnoException | undefined; - /** Encoding supported by Node applied to commands, responses and directory listing data. */ - protected _encoding: StringEncoding; - /** FTP control connection */ - protected _socket: Socket | TLSSocket; - /** FTP data connection */ - protected _dataSocket: Socket | TLSSocket | undefined; - /** - * Instantiate an FTP context. - * - * @param timeout - Timeout in milliseconds to apply to control and data connections. Use 0 for no timeout. - * @param encoding - Encoding to use for control connection. UTF-8 by default. Use "latin1" for older servers. - */ - constructor(timeout?: number, encoding?: StringEncoding); - /** - * Close the context. - */ - close(): void; - /** - * Close the context with an error. - */ - closeWithError(err: Error): void; - /** - * Returns true if this context has been closed or hasn't been connected yet. You can reopen it with `access`. - */ - get closed(): boolean; - /** - * Reset this contex and all of its state. - */ - reset(): void; - /** - * Get the FTP control socket. - */ - get socket(): Socket | TLSSocket; - /** - * Set the socket for the control connection. This will only close the current control socket - * if the new one is not an upgrade to the current one. - */ - set socket(socket: Socket | TLSSocket); - /** - * Get the current FTP data connection if present. - */ - get dataSocket(): Socket | TLSSocket | undefined; - /** - * Set the socket for the data connection. This will automatically close the former data socket. - */ - set dataSocket(socket: Socket | TLSSocket | undefined); - /** - * Get the currently used encoding. - */ - get encoding(): StringEncoding; - /** - * Set the encoding used for the control socket. - * - * See https://nodejs.org/api/buffer.html#buffer_buffers_and_character_encodings for what encodings - * are supported by Node. - */ - set encoding(encoding: StringEncoding); - /** - * Send an FTP command without waiting for or handling the result. - */ - send(command: string): void; - /** - * Send an FTP command and handle the first response. Use this if you have a simple - * request-response situation. - */ - request(command: string): Promise; - /** - * Send an FTP command and handle any response until you resolve/reject. Use this if you expect multiple responses - * to a request. This returns a Promise that will hold whatever the response handler passed on when resolving/rejecting its task. - */ - handle(command: string | undefined, responseHandler: ResponseHandler): Promise; - /** - * Log message if set to be verbose. - */ - log(message: string): void; - /** - * Return true if the control socket is using TLS. This does not mean that a session - * has already been negotiated. - */ - get hasTLS(): boolean; - /** - * Removes reference to current task and handler. This won't resolve or reject the task. - * @protected - */ - protected _stopTrackingTask(): void; - /** - * Handle incoming data on the control socket. The chunk is going to be of type `string` - * because we let `socket` handle encoding with `setEncoding`. - * @protected - */ - protected _onControlSocketData(chunk: string): void; - /** - * Send the current handler a response. This is usually a control socket response - * or a socket event, like an error or timeout. - * @protected - */ - protected _passToHandler(response: Error | FTPResponse): void; - /** - * Setup all error handlers for a socket. - * @protected - */ - protected _setupDefaultErrorHandlers(socket: Socket, identifier: string): void; - /** - * Close the control socket. Sends QUIT, then FIN, and ignores any response or error. - */ - protected _closeControlSocket(): void; - /** - * Close a socket, ignores any error. - * @protected - */ - protected _closeSocket(socket: Socket | undefined): void; - /** - * Remove all default listeners for socket. - * @protected - */ - protected _removeSocketListeners(socket: Socket): void; - /** - * Provide a new socket instance. - * - * Internal use only, replaced for unit tests. - */ - _newSocket(): Socket; -} -export {}; diff --git a/node_modules/basic-ftp/dist/FtpContext.js b/node_modules/basic-ftp/dist/FtpContext.js deleted file mode 100644 index a272ca4..0000000 --- a/node_modules/basic-ftp/dist/FtpContext.js +++ /dev/null @@ -1,365 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.FTPContext = exports.FTPError = void 0; -const net_1 = require("net"); -const parseControlResponse_1 = require("./parseControlResponse"); -/** - * Describes an FTP server error response including the FTP response code. - */ -class FTPError extends Error { - constructor(res) { - super(res.message); - this.name = this.constructor.name; - this.code = res.code; - } -} -exports.FTPError = FTPError; -function doNothing() { - /** Do nothing */ -} -/** - * FTPContext holds the control and data sockets of an FTP connection and provides a - * simplified way to interact with an FTP server, handle responses, errors and timeouts. - * - * It doesn't implement or use any FTP commands. It's only a foundation to make writing an FTP - * client as easy as possible. You won't usually instantiate this, but use `Client`. - */ -class FTPContext { - /** - * Instantiate an FTP context. - * - * @param timeout - Timeout in milliseconds to apply to control and data connections. Use 0 for no timeout. - * @param encoding - Encoding to use for control connection. UTF-8 by default. Use "latin1" for older servers. - */ - constructor(timeout = 0, encoding = "utf8") { - this.timeout = timeout; - /** Debug-level logging of all socket communication. */ - this.verbose = false; - /** IP version to prefer (4: IPv4, 6: IPv6, undefined: automatic). */ - this.ipFamily = undefined; - /** Options for TLS connections. */ - this.tlsOptions = {}; - /** A multiline response might be received as multiple chunks. */ - this._partialResponse = ""; - this._encoding = encoding; - // Help Typescript understand that we do indeed set _socket in the constructor but use the setter method to do so. - this._socket = this.socket = this._newSocket(); - this._dataSocket = undefined; - } - /** - * Close the context. - */ - close() { - // Internally, closing a context is always described with an error. If there is still a task running, it will - // abort with an exception that the user closed the client during a task. If no task is running, no exception is - // thrown but all newly submitted tasks after that will abort the exception that the client has been closed. - // In addition the user will get a stack trace pointing to where exactly the client has been closed. So in any - // case use _closingError to determine whether a context is closed. This also allows us to have a single code-path - // for closing a context making the implementation easier. - const message = this._task ? "User closed client during task" : "User closed client"; - const err = new Error(message); - this.closeWithError(err); - } - /** - * Close the context with an error. - */ - closeWithError(err) { - // If this context already has been closed, don't overwrite the reason. - if (this._closingError) { - return; - } - this._closingError = err; - // Close the sockets but don't fully reset this context to preserve `this._closingError`. - this._closeControlSocket(); - this._closeSocket(this._dataSocket); - // Give the user's task a chance to react, maybe cleanup resources. - this._passToHandler(err); - // The task might not have been rejected by the user after receiving the error. - this._stopTrackingTask(); - } - /** - * Returns true if this context has been closed or hasn't been connected yet. You can reopen it with `access`. - */ - get closed() { - return this.socket.remoteAddress === undefined || this._closingError !== undefined; - } - /** - * Reset this contex and all of its state. - */ - reset() { - this.socket = this._newSocket(); - } - /** - * Get the FTP control socket. - */ - get socket() { - return this._socket; - } - /** - * Set the socket for the control connection. This will only close the current control socket - * if the new one is not an upgrade to the current one. - */ - set socket(socket) { - // No data socket should be open in any case where the control socket is set or upgraded. - this.dataSocket = undefined; - // This being a reset, reset any other state apart from the socket. - this.tlsOptions = {}; - this._partialResponse = ""; - if (this._socket) { - const newSocketUpgradesExisting = socket.localPort === this._socket.localPort; - if (newSocketUpgradesExisting) { - this._removeSocketListeners(this.socket); - } - else { - this._closeControlSocket(); - } - } - if (socket) { - // Setting a completely new control socket is in essence something like a reset. That's - // why we also close any open data connection above. We can go one step further and reset - // a possible closing error. That means that a closed FTPContext can be "reopened" by - // setting a new control socket. - this._closingError = undefined; - // Don't set a timeout yet. Timeout for control sockets is only active during a task, see handle() below. - socket.setTimeout(0); - socket.setEncoding(this._encoding); - socket.setKeepAlive(true); - socket.on("data", data => this._onControlSocketData(data)); - // Server sending a FIN packet is treated as an error. - socket.on("end", () => this.closeWithError(new Error("Server sent FIN packet unexpectedly, closing connection."))); - // Control being closed without error by server is treated as an error. - socket.on("close", hadError => { if (!hadError) - this.closeWithError(new Error("Server closed connection unexpectedly.")); }); - this._setupDefaultErrorHandlers(socket, "control socket"); - } - this._socket = socket; - } - /** - * Get the current FTP data connection if present. - */ - get dataSocket() { - return this._dataSocket; - } - /** - * Set the socket for the data connection. This will automatically close the former data socket. - */ - set dataSocket(socket) { - this._closeSocket(this._dataSocket); - if (socket) { - // Don't set a timeout yet. Timeout data socket should be activated when data transmission starts - // and timeout on control socket is deactivated. - socket.setTimeout(0); - this._setupDefaultErrorHandlers(socket, "data socket"); - } - this._dataSocket = socket; - } - /** - * Get the currently used encoding. - */ - get encoding() { - return this._encoding; - } - /** - * Set the encoding used for the control socket. - * - * See https://nodejs.org/api/buffer.html#buffer_buffers_and_character_encodings for what encodings - * are supported by Node. - */ - set encoding(encoding) { - this._encoding = encoding; - if (this.socket) { - this.socket.setEncoding(encoding); - } - } - /** - * Send an FTP command without waiting for or handling the result. - */ - send(command) { - const containsPassword = command.startsWith("PASS"); - const message = containsPassword ? "> PASS ###" : `> ${command}`; - this.log(message); - this._socket.write(command + "\r\n", this.encoding); - } - /** - * Send an FTP command and handle the first response. Use this if you have a simple - * request-response situation. - */ - request(command) { - return this.handle(command, (res, task) => { - if (res instanceof Error) { - task.reject(res); - } - else { - task.resolve(res); - } - }); - } - /** - * Send an FTP command and handle any response until you resolve/reject. Use this if you expect multiple responses - * to a request. This returns a Promise that will hold whatever the response handler passed on when resolving/rejecting its task. - */ - handle(command, responseHandler) { - if (this._task) { - const err = new Error("User launched a task while another one is still running. Forgot to use 'await' or '.then()'?"); - err.stack += `\nRunning task launched at: ${this._task.stack}`; - this.closeWithError(err); - // Don't return here, continue with returning the Promise that will then be rejected - // because the context closed already. That way, users will receive an exception where - // they called this method by mistake. - } - return new Promise((resolveTask, rejectTask) => { - this._task = { - stack: new Error().stack || "Unknown call stack", - responseHandler, - resolver: { - resolve: arg => { - this._stopTrackingTask(); - resolveTask(arg); - }, - reject: err => { - this._stopTrackingTask(); - rejectTask(err); - } - } - }; - if (this._closingError) { - // This client has been closed. Provide an error that describes this one as being caused - // by `_closingError`, include stack traces for both. - const err = new Error(`Client is closed because ${this._closingError.message}`); // Type 'Error' is not correctly defined, doesn't have 'code'. - err.stack += `\nClosing reason: ${this._closingError.stack}`; - err.code = this._closingError.code !== undefined ? this._closingError.code : "0"; - this._passToHandler(err); - return; - } - // Only track control socket timeout during the lifecycle of a task. This avoids timeouts on idle sockets, - // the default socket behaviour which is not expected by most users. - this.socket.setTimeout(this.timeout); - if (command) { - this.send(command); - } - }); - } - /** - * Log message if set to be verbose. - */ - log(message) { - if (this.verbose) { - // tslint:disable-next-line no-console - console.log(message); - } - } - /** - * Return true if the control socket is using TLS. This does not mean that a session - * has already been negotiated. - */ - get hasTLS() { - return "encrypted" in this._socket; - } - /** - * Removes reference to current task and handler. This won't resolve or reject the task. - * @protected - */ - _stopTrackingTask() { - // Disable timeout on control socket if there is no task active. - this.socket.setTimeout(0); - this._task = undefined; - } - /** - * Handle incoming data on the control socket. The chunk is going to be of type `string` - * because we let `socket` handle encoding with `setEncoding`. - * @protected - */ - _onControlSocketData(chunk) { - this.log(`< ${chunk}`); - // This chunk might complete an earlier partial response. - const completeResponse = this._partialResponse + chunk; - const parsed = (0, parseControlResponse_1.parseControlResponse)(completeResponse); - // Remember any incomplete remainder. - this._partialResponse = parsed.rest; - // Each response group is passed along individually. - for (const message of parsed.messages) { - const code = parseInt(message.substr(0, 3), 10); - const response = { code, message }; - const err = code >= 400 ? new FTPError(response) : undefined; - this._passToHandler(err ? err : response); - } - } - /** - * Send the current handler a response. This is usually a control socket response - * or a socket event, like an error or timeout. - * @protected - */ - _passToHandler(response) { - if (this._task) { - this._task.responseHandler(response, this._task.resolver); - } - // Errors other than FTPError always close the client. If there isn't an active task to handle the error, - // the next one submitted will receive it using `_closingError`. - // There is only one edge-case: If there is an FTPError while no task is active, the error will be dropped. - // But that means that the user sent an FTP command with no intention of handling the result. So why should the - // error be handled? Maybe log it at least? Debug logging will already do that and the client stays useable after - // FTPError. So maybe no need to do anything here. - } - /** - * Setup all error handlers for a socket. - * @protected - */ - _setupDefaultErrorHandlers(socket, identifier) { - socket.once("error", error => { - error.message += ` (${identifier})`; - this.closeWithError(error); - }); - socket.once("close", hadError => { - if (hadError) { - this.closeWithError(new Error(`Socket closed due to transmission error (${identifier})`)); - } - }); - socket.once("timeout", () => { - socket.destroy(); - this.closeWithError(new Error(`Timeout (${identifier})`)); - }); - } - /** - * Close the control socket. Sends QUIT, then FIN, and ignores any response or error. - */ - _closeControlSocket() { - this._removeSocketListeners(this._socket); - this._socket.on("error", doNothing); - this.send("QUIT"); - this._closeSocket(this._socket); - } - /** - * Close a socket, ignores any error. - * @protected - */ - _closeSocket(socket) { - if (socket) { - this._removeSocketListeners(socket); - socket.on("error", doNothing); - socket.destroy(); - } - } - /** - * Remove all default listeners for socket. - * @protected - */ - _removeSocketListeners(socket) { - socket.removeAllListeners(); - // Before Node.js 10.3.0, using `socket.removeAllListeners()` without any name did not work: https://github.com/nodejs/node/issues/20923. - socket.removeAllListeners("timeout"); - socket.removeAllListeners("data"); - socket.removeAllListeners("end"); - socket.removeAllListeners("error"); - socket.removeAllListeners("close"); - socket.removeAllListeners("connect"); - } - /** - * Provide a new socket instance. - * - * Internal use only, replaced for unit tests. - */ - _newSocket() { - return new net_1.Socket(); - } -} -exports.FTPContext = FTPContext; diff --git a/node_modules/basic-ftp/dist/ProgressTracker.d.ts b/node_modules/basic-ftp/dist/ProgressTracker.d.ts deleted file mode 100644 index fc29030..0000000 --- a/node_modules/basic-ftp/dist/ProgressTracker.d.ts +++ /dev/null @@ -1,46 +0,0 @@ -/// -import { Socket } from "net"; -export type ProgressType = "upload" | "download" | "list"; -/** - * Describes progress of file transfer. - */ -export interface ProgressInfo { - /** A name describing this info, e.g. the filename of the transfer. */ - readonly name: string; - /** The type of transfer, typically "upload" or "download". */ - readonly type: ProgressType; - /** Transferred bytes in current transfer. */ - readonly bytes: number; - /** Transferred bytes since last counter reset. Useful for tracking multiple transfers. */ - readonly bytesOverall: number; -} -export type ProgressHandler = (info: ProgressInfo) => void; -/** - * Tracks progress of one socket data transfer at a time. - */ -export declare class ProgressTracker { - bytesOverall: number; - protected readonly intervalMs = 500; - protected onStop: (stopWithUpdate: boolean) => void; - protected onHandle: ProgressHandler; - /** - * Register a new handler for progress info. Use `undefined` to disable reporting. - */ - reportTo(onHandle?: ProgressHandler): void; - /** - * Start tracking transfer progress of a socket. - * - * @param socket The socket to observe. - * @param name A name associated with this progress tracking, e.g. a filename. - * @param type The type of the transfer, typically "upload" or "download". - */ - start(socket: Socket, name: string, type: ProgressType): void; - /** - * Stop tracking transfer progress. - */ - stop(): void; - /** - * Call the progress handler one more time, then stop tracking. - */ - updateAndStop(): void; -} diff --git a/node_modules/basic-ftp/dist/ProgressTracker.js b/node_modules/basic-ftp/dist/ProgressTracker.js deleted file mode 100644 index 9263d68..0000000 --- a/node_modules/basic-ftp/dist/ProgressTracker.js +++ /dev/null @@ -1,72 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.ProgressTracker = void 0; -/** - * Tracks progress of one socket data transfer at a time. - */ -class ProgressTracker { - constructor() { - this.bytesOverall = 0; - this.intervalMs = 500; - this.onStop = noop; - this.onHandle = noop; - } - /** - * Register a new handler for progress info. Use `undefined` to disable reporting. - */ - reportTo(onHandle = noop) { - this.onHandle = onHandle; - } - /** - * Start tracking transfer progress of a socket. - * - * @param socket The socket to observe. - * @param name A name associated with this progress tracking, e.g. a filename. - * @param type The type of the transfer, typically "upload" or "download". - */ - start(socket, name, type) { - let lastBytes = 0; - this.onStop = poll(this.intervalMs, () => { - const bytes = socket.bytesRead + socket.bytesWritten; - this.bytesOverall += bytes - lastBytes; - lastBytes = bytes; - this.onHandle({ - name, - type, - bytes, - bytesOverall: this.bytesOverall - }); - }); - } - /** - * Stop tracking transfer progress. - */ - stop() { - this.onStop(false); - } - /** - * Call the progress handler one more time, then stop tracking. - */ - updateAndStop() { - this.onStop(true); - } -} -exports.ProgressTracker = ProgressTracker; -/** - * Starts calling a callback function at a regular interval. The first call will go out - * immediately. The function returns a function to stop the polling. - */ -function poll(intervalMs, updateFunc) { - const id = setInterval(updateFunc, intervalMs); - const stopFunc = (stopWithUpdate) => { - clearInterval(id); - if (stopWithUpdate) { - updateFunc(); - } - // Prevent repeated calls to stop calling handler. - updateFunc = noop; - }; - updateFunc(); - return stopFunc; -} -function noop() { } diff --git a/node_modules/basic-ftp/dist/StringEncoding.d.ts b/node_modules/basic-ftp/dist/StringEncoding.d.ts deleted file mode 100644 index 6e0f9af..0000000 --- a/node_modules/basic-ftp/dist/StringEncoding.d.ts +++ /dev/null @@ -1 +0,0 @@ -export type StringEncoding = "utf8" | "ascii" | "utf-8" | "utf16le" | "ucs2" | "ucs-2" | "base64" | "latin1" | "binary" | "hex" | undefined; diff --git a/node_modules/basic-ftp/dist/StringEncoding.js b/node_modules/basic-ftp/dist/StringEncoding.js deleted file mode 100644 index c8ad2e5..0000000 --- a/node_modules/basic-ftp/dist/StringEncoding.js +++ /dev/null @@ -1,2 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); diff --git a/node_modules/basic-ftp/dist/StringWriter.d.ts b/node_modules/basic-ftp/dist/StringWriter.d.ts deleted file mode 100644 index a9f85fa..0000000 --- a/node_modules/basic-ftp/dist/StringWriter.d.ts +++ /dev/null @@ -1,9 +0,0 @@ -/// -/// -import { Writable } from "stream"; -import { StringEncoding } from "./StringEncoding"; -export declare class StringWriter extends Writable { - protected buf: Buffer; - _write(chunk: Buffer | string | any, _: string, callback: (error: Error | null) => void): void; - getText(encoding: StringEncoding): string; -} diff --git a/node_modules/basic-ftp/dist/StringWriter.js b/node_modules/basic-ftp/dist/StringWriter.js deleted file mode 100644 index 77efd5d..0000000 --- a/node_modules/basic-ftp/dist/StringWriter.js +++ /dev/null @@ -1,23 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.StringWriter = void 0; -const stream_1 = require("stream"); -class StringWriter extends stream_1.Writable { - constructor() { - super(...arguments); - this.buf = Buffer.alloc(0); - } - _write(chunk, _, callback) { - if (chunk instanceof Buffer) { - this.buf = Buffer.concat([this.buf, chunk]); - callback(null); - } - else { - callback(new Error("StringWriter expects chunks of type 'Buffer'.")); - } - } - getText(encoding) { - return this.buf.toString(encoding); - } -} -exports.StringWriter = StringWriter; diff --git a/node_modules/basic-ftp/dist/index.d.ts b/node_modules/basic-ftp/dist/index.d.ts deleted file mode 100644 index fcebb57..0000000 --- a/node_modules/basic-ftp/dist/index.d.ts +++ /dev/null @@ -1,9 +0,0 @@ -/** - * Public API - */ -export * from "./Client"; -export * from "./FtpContext"; -export * from "./FileInfo"; -export * from "./parseList"; -export * from "./StringEncoding"; -export { enterPassiveModeIPv4, enterPassiveModeIPv6 } from "./transfer"; diff --git a/node_modules/basic-ftp/dist/index.js b/node_modules/basic-ftp/dist/index.js deleted file mode 100644 index 57c271b..0000000 --- a/node_modules/basic-ftp/dist/index.js +++ /dev/null @@ -1,28 +0,0 @@ -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __exportStar = (this && this.__exportStar) || function(m, exports) { - for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.enterPassiveModeIPv6 = exports.enterPassiveModeIPv4 = void 0; -/** - * Public API - */ -__exportStar(require("./Client"), exports); -__exportStar(require("./FtpContext"), exports); -__exportStar(require("./FileInfo"), exports); -__exportStar(require("./parseList"), exports); -__exportStar(require("./StringEncoding"), exports); -var transfer_1 = require("./transfer"); -Object.defineProperty(exports, "enterPassiveModeIPv4", { enumerable: true, get: function () { return transfer_1.enterPassiveModeIPv4; } }); -Object.defineProperty(exports, "enterPassiveModeIPv6", { enumerable: true, get: function () { return transfer_1.enterPassiveModeIPv6; } }); diff --git a/node_modules/basic-ftp/dist/netUtils.d.ts b/node_modules/basic-ftp/dist/netUtils.d.ts deleted file mode 100644 index 186cc17..0000000 --- a/node_modules/basic-ftp/dist/netUtils.d.ts +++ /dev/null @@ -1,23 +0,0 @@ -/// -/// -import { Socket } from "net"; -import { ConnectionOptions, TLSSocket } from "tls"; -/** - * Returns a string describing the encryption on a given socket instance. - */ -export declare function describeTLS(socket: Socket | TLSSocket): string; -/** - * Returns a string describing the remote address of a socket. - */ -export declare function describeAddress(socket: Socket): string; -/** - * Upgrade a socket connection with TLS. - */ -export declare function upgradeSocket(socket: Socket, options: ConnectionOptions): Promise; -/** - * Returns true if an IP is a private address according to https://tools.ietf.org/html/rfc1918#section-3. - * This will handle IPv4-mapped IPv6 addresses correctly but return false for all other IPv6 addresses. - * - * @param ip The IP as a string, e.g. "192.168.0.1" - */ -export declare function ipIsPrivateV4Address(ip?: string): boolean; diff --git a/node_modules/basic-ftp/dist/netUtils.js b/node_modules/basic-ftp/dist/netUtils.js deleted file mode 100644 index 4a552fe..0000000 --- a/node_modules/basic-ftp/dist/netUtils.js +++ /dev/null @@ -1,67 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.ipIsPrivateV4Address = exports.upgradeSocket = exports.describeAddress = exports.describeTLS = void 0; -const tls_1 = require("tls"); -/** - * Returns a string describing the encryption on a given socket instance. - */ -function describeTLS(socket) { - if (socket instanceof tls_1.TLSSocket) { - const protocol = socket.getProtocol(); - return protocol ? protocol : "Server socket or disconnected client socket"; - } - return "No encryption"; -} -exports.describeTLS = describeTLS; -/** - * Returns a string describing the remote address of a socket. - */ -function describeAddress(socket) { - if (socket.remoteFamily === "IPv6") { - return `[${socket.remoteAddress}]:${socket.remotePort}`; - } - return `${socket.remoteAddress}:${socket.remotePort}`; -} -exports.describeAddress = describeAddress; -/** - * Upgrade a socket connection with TLS. - */ -function upgradeSocket(socket, options) { - return new Promise((resolve, reject) => { - const tlsOptions = Object.assign({}, options, { - socket - }); - const tlsSocket = (0, tls_1.connect)(tlsOptions, () => { - const expectCertificate = tlsOptions.rejectUnauthorized !== false; - if (expectCertificate && !tlsSocket.authorized) { - reject(tlsSocket.authorizationError); - } - else { - // Remove error listener added below. - tlsSocket.removeAllListeners("error"); - resolve(tlsSocket); - } - }).once("error", error => { - reject(error); - }); - }); -} -exports.upgradeSocket = upgradeSocket; -/** - * Returns true if an IP is a private address according to https://tools.ietf.org/html/rfc1918#section-3. - * This will handle IPv4-mapped IPv6 addresses correctly but return false for all other IPv6 addresses. - * - * @param ip The IP as a string, e.g. "192.168.0.1" - */ -function ipIsPrivateV4Address(ip = "") { - // Handle IPv4-mapped IPv6 addresses like ::ffff:192.168.0.1 - if (ip.startsWith("::ffff:")) { - ip = ip.substr(7); // Strip ::ffff: prefix - } - const octets = ip.split(".").map(o => parseInt(o, 10)); - return octets[0] === 10 // 10.0.0.0 - 10.255.255.255 - || (octets[0] === 172 && octets[1] >= 16 && octets[1] <= 31) // 172.16.0.0 - 172.31.255.255 - || (octets[0] === 192 && octets[1] === 168) // 192.168.0.0 - 192.168.255.255 - || ip === "127.0.0.1"; -} -exports.ipIsPrivateV4Address = ipIsPrivateV4Address; diff --git a/node_modules/basic-ftp/dist/parseControlResponse.d.ts b/node_modules/basic-ftp/dist/parseControlResponse.d.ts deleted file mode 100644 index 783035e..0000000 --- a/node_modules/basic-ftp/dist/parseControlResponse.d.ts +++ /dev/null @@ -1,22 +0,0 @@ -export interface ParsedResponse { - readonly messages: string[]; - readonly rest: string; -} -/** - * Parse an FTP control response as a collection of messages. A message is a complete - * single- or multiline response. A response can also contain multiple multiline responses - * that will each be represented by a message. A response can also be incomplete - * and be completed on the next incoming data chunk for which case this function also - * describes a `rest`. This function converts all CRLF to LF. - */ -export declare function parseControlResponse(text: string): ParsedResponse; -export declare function isSingleLine(line: string): boolean; -export declare function isMultiline(line: string): boolean; -/** - * Return true if an FTP return code describes a positive completion. - */ -export declare function positiveCompletion(code: number): boolean; -/** - * Return true if an FTP return code describes a positive intermediate response. - */ -export declare function positiveIntermediate(code: number): boolean; diff --git a/node_modules/basic-ftp/dist/parseControlResponse.js b/node_modules/basic-ftp/dist/parseControlResponse.js deleted file mode 100644 index 9779a5b..0000000 --- a/node_modules/basic-ftp/dist/parseControlResponse.js +++ /dev/null @@ -1,67 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.positiveIntermediate = exports.positiveCompletion = exports.isMultiline = exports.isSingleLine = exports.parseControlResponse = void 0; -const LF = "\n"; -/** - * Parse an FTP control response as a collection of messages. A message is a complete - * single- or multiline response. A response can also contain multiple multiline responses - * that will each be represented by a message. A response can also be incomplete - * and be completed on the next incoming data chunk for which case this function also - * describes a `rest`. This function converts all CRLF to LF. - */ -function parseControlResponse(text) { - const lines = text.split(/\r?\n/).filter(isNotBlank); - const messages = []; - let startAt = 0; - let tokenRegex; - for (let i = 0; i < lines.length; i++) { - const line = lines[i]; - // No group has been opened. - if (!tokenRegex) { - if (isMultiline(line)) { - // Open a group by setting an expected token. - const token = line.substr(0, 3); - tokenRegex = new RegExp(`^${token}(?:$| )`); - startAt = i; - } - else if (isSingleLine(line)) { - // Single lines can be grouped immediately. - messages.push(line); - } - } - // Group has been opened, expect closing token. - else if (tokenRegex.test(line)) { - tokenRegex = undefined; - messages.push(lines.slice(startAt, i + 1).join(LF)); - } - } - // The last group might not have been closed, report it as a rest. - const rest = tokenRegex ? lines.slice(startAt).join(LF) + LF : ""; - return { messages, rest }; -} -exports.parseControlResponse = parseControlResponse; -function isSingleLine(line) { - return /^\d\d\d(?:$| )/.test(line); -} -exports.isSingleLine = isSingleLine; -function isMultiline(line) { - return /^\d\d\d-/.test(line); -} -exports.isMultiline = isMultiline; -/** - * Return true if an FTP return code describes a positive completion. - */ -function positiveCompletion(code) { - return code >= 200 && code < 300; -} -exports.positiveCompletion = positiveCompletion; -/** - * Return true if an FTP return code describes a positive intermediate response. - */ -function positiveIntermediate(code) { - return code >= 300 && code < 400; -} -exports.positiveIntermediate = positiveIntermediate; -function isNotBlank(str) { - return str.trim() !== ""; -} diff --git a/node_modules/basic-ftp/dist/parseList.d.ts b/node_modules/basic-ftp/dist/parseList.d.ts deleted file mode 100644 index 8bb28df..0000000 --- a/node_modules/basic-ftp/dist/parseList.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -import { FileInfo } from "./FileInfo"; -/** - * Parse raw directory listing. - */ -export declare function parseList(rawList: string): FileInfo[]; diff --git a/node_modules/basic-ftp/dist/parseList.js b/node_modules/basic-ftp/dist/parseList.js deleted file mode 100644 index ee71287..0000000 --- a/node_modules/basic-ftp/dist/parseList.js +++ /dev/null @@ -1,70 +0,0 @@ -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { - Object.defineProperty(o, "default", { enumerable: true, value: v }); -}) : function(o, v) { - o["default"] = v; -}); -var __importStar = (this && this.__importStar) || function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); - __setModuleDefault(result, mod); - return result; -}; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.parseList = void 0; -const dosParser = __importStar(require("./parseListDOS")); -const unixParser = __importStar(require("./parseListUnix")); -const mlsdParser = __importStar(require("./parseListMLSD")); -/** - * Available directory listing parsers. These are candidates that will be tested - * in the order presented. The first candidate will be used to parse the whole list. - */ -const availableParsers = [ - dosParser, - unixParser, - mlsdParser // Keep MLSD last, may accept filename only -]; -function firstCompatibleParser(line, parsers) { - return parsers.find(parser => parser.testLine(line) === true); -} -function isNotBlank(str) { - return str.trim() !== ""; -} -function isNotMeta(str) { - return !str.startsWith("total"); -} -const REGEX_NEWLINE = /\r?\n/; -/** - * Parse raw directory listing. - */ -function parseList(rawList) { - const lines = rawList - .split(REGEX_NEWLINE) - .filter(isNotBlank) - .filter(isNotMeta); - if (lines.length === 0) { - return []; - } - const testLine = lines[lines.length - 1]; - const parser = firstCompatibleParser(testLine, availableParsers); - if (!parser) { - throw new Error("This library only supports MLSD, Unix- or DOS-style directory listing. Your FTP server seems to be using another format. You can see the transmitted listing when setting `client.ftp.verbose = true`. You can then provide a custom parser to `client.parseList`, see the documentation for details."); - } - const files = lines - .map(parser.parseLine) - .filter((info) => info !== undefined); - return parser.transformList(files); -} -exports.parseList = parseList; diff --git a/node_modules/basic-ftp/dist/parseListDOS.d.ts b/node_modules/basic-ftp/dist/parseListDOS.d.ts deleted file mode 100644 index 1d39510..0000000 --- a/node_modules/basic-ftp/dist/parseListDOS.d.ts +++ /dev/null @@ -1,12 +0,0 @@ -import { FileInfo } from "./FileInfo"; -/** - * Returns true if a given line might be a DOS-style listing. - * - * - Example: `12-05-96 05:03PM myDir` - */ -export declare function testLine(line: string): boolean; -/** - * Parse a single line of a DOS-style directory listing. - */ -export declare function parseLine(line: string): FileInfo | undefined; -export declare function transformList(files: FileInfo[]): FileInfo[]; diff --git a/node_modules/basic-ftp/dist/parseListDOS.js b/node_modules/basic-ftp/dist/parseListDOS.js deleted file mode 100644 index 15c0bc1..0000000 --- a/node_modules/basic-ftp/dist/parseListDOS.js +++ /dev/null @@ -1,53 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.transformList = exports.parseLine = exports.testLine = void 0; -const FileInfo_1 = require("./FileInfo"); -/** - * This parser is based on the FTP client library source code in Apache Commons Net provided - * under the Apache 2.0 license. It has been simplified and rewritten to better fit the Javascript language. - * - * https://github.com/apache/commons-net/blob/master/src/main/java/org/apache/commons/net/ftp/parser/NTFTPEntryParser.java - */ -const RE_LINE = new RegExp("(\\S+)\\s+(\\S+)\\s+" // MM-dd-yy whitespace hh:mma|kk:mm swallow trailing spaces - + "(?:()|([0-9]+))\\s+" // or ddddd swallow trailing spaces - + "(\\S.*)" // First non-space followed by rest of line (name) -); -/** - * Returns true if a given line might be a DOS-style listing. - * - * - Example: `12-05-96 05:03PM myDir` - */ -function testLine(line) { - return /^\d{2}/.test(line) && RE_LINE.test(line); -} -exports.testLine = testLine; -/** - * Parse a single line of a DOS-style directory listing. - */ -function parseLine(line) { - const groups = line.match(RE_LINE); - if (groups === null) { - return undefined; - } - const name = groups[5]; - if (name === "." || name === "..") { // Ignore parent directory links - return undefined; - } - const file = new FileInfo_1.FileInfo(name); - const fileType = groups[3]; - if (fileType === "") { - file.type = FileInfo_1.FileType.Directory; - file.size = 0; - } - else { - file.type = FileInfo_1.FileType.File; - file.size = parseInt(groups[4], 10); - } - file.rawModifiedAt = groups[1] + " " + groups[2]; - return file; -} -exports.parseLine = parseLine; -function transformList(files) { - return files; -} -exports.transformList = transformList; diff --git a/node_modules/basic-ftp/dist/parseListMLSD.d.ts b/node_modules/basic-ftp/dist/parseListMLSD.d.ts deleted file mode 100644 index 68b5124..0000000 --- a/node_modules/basic-ftp/dist/parseListMLSD.d.ts +++ /dev/null @@ -1,20 +0,0 @@ -import { FileInfo } from "./FileInfo"; -/** - * Returns true if a given line might be part of an MLSD listing. - * - * - Example 1: `size=15227;type=dir;perm=el;modify=20190419065730; test one` - * - Example 2: ` file name` (leading space) - */ -export declare function testLine(line: string): boolean; -/** - * Parse single line as MLSD listing, see specification at https://tools.ietf.org/html/rfc3659#section-7. - */ -export declare function parseLine(line: string): FileInfo | undefined; -export declare function transformList(files: FileInfo[]): FileInfo[]; -/** - * Parse date as specified in https://tools.ietf.org/html/rfc3659#section-2.3. - * - * Message contains response code and modified time in the format: YYYYMMDDHHMMSS[.sss] - * For example `19991005213102` or `19980615100045.014`. - */ -export declare function parseMLSxDate(fact: string): Date; diff --git a/node_modules/basic-ftp/dist/parseListMLSD.js b/node_modules/basic-ftp/dist/parseListMLSD.js deleted file mode 100644 index 4085a33..0000000 --- a/node_modules/basic-ftp/dist/parseListMLSD.js +++ /dev/null @@ -1,188 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.parseMLSxDate = exports.transformList = exports.parseLine = exports.testLine = void 0; -const FileInfo_1 = require("./FileInfo"); -function parseSize(value, info) { - info.size = parseInt(value, 10); -} -/** - * Parsers for MLSD facts. - */ -const factHandlersByName = { - "size": parseSize, // File size - "sizd": parseSize, // Directory size - "unique": (value, info) => { - info.uniqueID = value; - }, - "modify": (value, info) => { - info.modifiedAt = parseMLSxDate(value); - info.rawModifiedAt = info.modifiedAt.toISOString(); - }, - "type": (value, info) => { - // There seems to be confusion on how to handle symbolic links for Unix. RFC 3659 doesn't describe - // this but mentions some examples using the syntax `type=OS.unix=slink:`. But according to - // an entry in the Errata (https://www.rfc-editor.org/errata/eid1500) this syntax can't be valid. - // Instead it proposes to use `type=OS.unix=symlink` and to then list the actual target of the - // symbolic link as another entry in the directory listing. The unique identifiers can then be used - // to derive the connection between link(s) and target. We'll have to handle both cases as there - // are differing opinions on how to deal with this. Here are some links on this topic: - // - ProFTPD source: https://github.com/proftpd/proftpd/blob/56e6dfa598cbd4ef5c6cba439bcbcd53a63e3b21/modules/mod_facts.c#L531 - // - ProFTPD bug: http://bugs.proftpd.org/show_bug.cgi?id=3318 - // - ProFTPD statement: http://www.proftpd.org/docs/modules/mod_facts.html - // – FileZilla bug: https://trac.filezilla-project.org/ticket/9310 - if (value.startsWith("OS.unix=slink")) { - info.type = FileInfo_1.FileType.SymbolicLink; - info.link = value.substr(value.indexOf(":") + 1); - return 1 /* FactHandlerResult.Continue */; - } - switch (value) { - case "file": - info.type = FileInfo_1.FileType.File; - break; - case "dir": - info.type = FileInfo_1.FileType.Directory; - break; - case "OS.unix=symlink": - info.type = FileInfo_1.FileType.SymbolicLink; - // The target of the symbolic link might be defined in another line in the directory listing. - // We'll handle this in `transformList()` below. - break; - case "cdir": // Current directory being listed - case "pdir": // Parent directory - return 2 /* FactHandlerResult.IgnoreFile */; // Don't include these entries in the listing - default: - info.type = FileInfo_1.FileType.Unknown; - } - return 1 /* FactHandlerResult.Continue */; - }, - "unix.mode": (value, info) => { - const digits = value.substr(-3); - info.permissions = { - user: parseInt(digits[0], 10), - group: parseInt(digits[1], 10), - world: parseInt(digits[2], 10) - }; - }, - "unix.ownername": (value, info) => { - info.user = value; - }, - "unix.owner": (value, info) => { - if (info.user === undefined) - info.user = value; - }, - get "unix.uid"() { - return this["unix.owner"]; - }, - "unix.groupname": (value, info) => { - info.group = value; - }, - "unix.group": (value, info) => { - if (info.group === undefined) - info.group = value; - }, - get "unix.gid"() { - return this["unix.group"]; - } - // Regarding the fact "perm": - // We don't handle permission information stored in "perm" because its information is conceptually - // different from what users of FTP clients usually associate with "permissions". Those that have - // some expectations (and probably want to edit them with a SITE command) often unknowingly expect - // the Unix permission system. The information passed by "perm" describes what FTP commands can be - // executed with a file/directory. But even this can be either incomplete or just meant as a "guide" - // as the spec mentions. From https://tools.ietf.org/html/rfc3659#section-7.5.5: "The permissions are - // described here as they apply to FTP commands. They may not map easily into particular permissions - // available on the server's operating system." The parser by Apache Commons tries to translate these - // to Unix permissions – this is misleading users and might not even be correct. -}; -/** - * Split a string once at the first position of a delimiter. For example - * `splitStringOnce("a b c d", " ")` returns `["a", "b c d"]`. - */ -function splitStringOnce(str, delimiter) { - const pos = str.indexOf(delimiter); - const a = str.substr(0, pos); - const b = str.substr(pos + delimiter.length); - return [a, b]; -} -/** - * Returns true if a given line might be part of an MLSD listing. - * - * - Example 1: `size=15227;type=dir;perm=el;modify=20190419065730; test one` - * - Example 2: ` file name` (leading space) - */ -function testLine(line) { - return /^\S+=\S+;/.test(line) || line.startsWith(" "); -} -exports.testLine = testLine; -/** - * Parse single line as MLSD listing, see specification at https://tools.ietf.org/html/rfc3659#section-7. - */ -function parseLine(line) { - const [packedFacts, name] = splitStringOnce(line, " "); - if (name === "" || name === "." || name === "..") { - return undefined; - } - const info = new FileInfo_1.FileInfo(name); - const facts = packedFacts.split(";"); - for (const fact of facts) { - const [factName, factValue] = splitStringOnce(fact, "="); - if (!factValue) { - continue; - } - const factHandler = factHandlersByName[factName.toLowerCase()]; - if (!factHandler) { - continue; - } - const result = factHandler(factValue, info); - if (result === 2 /* FactHandlerResult.IgnoreFile */) { - return undefined; - } - } - return info; -} -exports.parseLine = parseLine; -function transformList(files) { - // Create a map of all files that are not symbolic links by their unique ID - const nonLinksByID = new Map(); - for (const file of files) { - if (!file.isSymbolicLink && file.uniqueID !== undefined) { - nonLinksByID.set(file.uniqueID, file); - } - } - const resolvedFiles = []; - for (const file of files) { - // Try to associate unresolved symbolic links with a target file/directory. - if (file.isSymbolicLink && file.uniqueID !== undefined && file.link === undefined) { - const target = nonLinksByID.get(file.uniqueID); - if (target !== undefined) { - file.link = target.name; - } - } - // The target of a symbolic link is listed as an entry in the directory listing but might - // have a path pointing outside of this directory. In that case we don't want this entry - // to be part of the listing. We generally don't want these kind of entries at all. - const isPartOfDirectory = !file.name.includes("/"); - if (isPartOfDirectory) { - resolvedFiles.push(file); - } - } - return resolvedFiles; -} -exports.transformList = transformList; -/** - * Parse date as specified in https://tools.ietf.org/html/rfc3659#section-2.3. - * - * Message contains response code and modified time in the format: YYYYMMDDHHMMSS[.sss] - * For example `19991005213102` or `19980615100045.014`. - */ -function parseMLSxDate(fact) { - return new Date(Date.UTC(+fact.slice(0, 4), // Year - +fact.slice(4, 6) - 1, // Month - +fact.slice(6, 8), // Date - +fact.slice(8, 10), // Hours - +fact.slice(10, 12), // Minutes - +fact.slice(12, 14), // Seconds - +fact.slice(15, 18) // Milliseconds - )); -} -exports.parseMLSxDate = parseMLSxDate; diff --git a/node_modules/basic-ftp/dist/parseListUnix.d.ts b/node_modules/basic-ftp/dist/parseListUnix.d.ts deleted file mode 100644 index d33b052..0000000 --- a/node_modules/basic-ftp/dist/parseListUnix.d.ts +++ /dev/null @@ -1,12 +0,0 @@ -import { FileInfo } from "./FileInfo"; -/** - * Returns true if a given line might be a Unix-style listing. - * - * - Example: `-rw-r--r--+ 1 patrick staff 1057 Dec 11 14:35 test.txt` - */ -export declare function testLine(line: string): boolean; -/** - * Parse a single line of a Unix-style directory listing. - */ -export declare function parseLine(line: string): FileInfo | undefined; -export declare function transformList(files: FileInfo[]): FileInfo[]; diff --git a/node_modules/basic-ftp/dist/parseListUnix.js b/node_modules/basic-ftp/dist/parseListUnix.js deleted file mode 100644 index 5d5a804..0000000 --- a/node_modules/basic-ftp/dist/parseListUnix.js +++ /dev/null @@ -1,156 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.transformList = exports.parseLine = exports.testLine = void 0; -const FileInfo_1 = require("./FileInfo"); -const JA_MONTH = "\u6708"; -const JA_DAY = "\u65e5"; -const JA_YEAR = "\u5e74"; -/** - * This parser is based on the FTP client library source code in Apache Commons Net provided - * under the Apache 2.0 license. It has been simplified and rewritten to better fit the Javascript language. - * - * https://github.com/apache/commons-net/blob/master/src/main/java/org/apache/commons/net/ftp/parser/UnixFTPEntryParser.java - * - * Below is the regular expression used by this parser. - * - * Permissions: - * r the file is readable - * w the file is writable - * x the file is executable - * - the indicated permission is not granted - * L mandatory locking occurs during access (the set-group-ID bit is - * on and the group execution bit is off) - * s the set-user-ID or set-group-ID bit is on, and the corresponding - * user or group execution bit is also on - * S undefined bit-state (the set-user-ID bit is on and the user - * execution bit is off) - * t the 1000 (octal) bit, or sticky bit, is on [see chmod(1)], and - * execution is on - * T the 1000 bit is turned on, and execution is off (undefined bit- - * state) - * e z/OS external link bit - * Final letter may be appended: - * + file has extended security attributes (e.g. ACL) - * Note: local listings on MacOSX also use '@' - * this is not allowed for here as does not appear to be shown by FTP servers - * {@code @} file has extended attributes - */ -const RE_LINE = new RegExp("([bcdelfmpSs-])" // file type - + "(((r|-)(w|-)([xsStTL-]))((r|-)(w|-)([xsStTL-]))((r|-)(w|-)([xsStTL-]?)))\\+?" // permissions - + "\\s*" // separator TODO why allow it to be omitted?? - + "(\\d+)" // link count - + "\\s+" // separator - + "(?:(\\S+(?:\\s\\S+)*?)\\s+)?" // owner name (optional spaces) - + "(?:(\\S+(?:\\s\\S+)*)\\s+)?" // group name (optional spaces) - + "(\\d+(?:,\\s*\\d+)?)" // size or n,m - + "\\s+" // separator - /** - * numeric or standard format date: - * yyyy-mm-dd (expecting hh:mm to follow) - * MMM [d]d - * [d]d MMM - * N.B. use non-space for MMM to allow for languages such as German which use - * diacritics (e.g. umlaut) in some abbreviations. - * Japanese uses numeric day and month with suffixes to distinguish them - * [d]dXX [d]dZZ - */ - + "(" + - "(?:\\d+[-/]\\d+[-/]\\d+)" + // yyyy-mm-dd - "|(?:\\S{3}\\s+\\d{1,2})" + // MMM [d]d - "|(?:\\d{1,2}\\s+\\S{3})" + // [d]d MMM - "|(?:\\d{1,2}" + JA_MONTH + "\\s+\\d{1,2}" + JA_DAY + ")" + - ")" - + "\\s+" // separator - /** - * year (for non-recent standard format) - yyyy - * or time (for numeric or recent standard format) [h]h:mm - * or Japanese year - yyyyXX - */ - + "((?:\\d+(?::\\d+)?)|(?:\\d{4}" + JA_YEAR + "))" // (20) - + "\\s" // separator - + "(.*)"); // the rest (21) -/** - * Returns true if a given line might be a Unix-style listing. - * - * - Example: `-rw-r--r--+ 1 patrick staff 1057 Dec 11 14:35 test.txt` - */ -function testLine(line) { - return RE_LINE.test(line); -} -exports.testLine = testLine; -/** - * Parse a single line of a Unix-style directory listing. - */ -function parseLine(line) { - const groups = line.match(RE_LINE); - if (groups === null) { - return undefined; - } - const name = groups[21]; - if (name === "." || name === "..") { // Ignore parent directory links - return undefined; - } - const file = new FileInfo_1.FileInfo(name); - file.size = parseInt(groups[18], 10); - file.user = groups[16]; - file.group = groups[17]; - file.hardLinkCount = parseInt(groups[15], 10); - file.rawModifiedAt = groups[19] + " " + groups[20]; - file.permissions = { - user: parseMode(groups[4], groups[5], groups[6]), - group: parseMode(groups[8], groups[9], groups[10]), - world: parseMode(groups[12], groups[13], groups[14]), - }; - // Set file type - switch (groups[1].charAt(0)) { - case "d": - file.type = FileInfo_1.FileType.Directory; - break; - case "e": // NET-39 => z/OS external link - file.type = FileInfo_1.FileType.SymbolicLink; - break; - case "l": - file.type = FileInfo_1.FileType.SymbolicLink; - break; - case "b": - case "c": - file.type = FileInfo_1.FileType.File; // TODO change this if DEVICE_TYPE implemented - break; - case "f": - case "-": - file.type = FileInfo_1.FileType.File; - break; - default: - // A 'whiteout' file is an ARTIFICIAL entry in any of several types of - // 'translucent' filesystems, of which a 'union' filesystem is one. - file.type = FileInfo_1.FileType.Unknown; - } - // Separate out the link name for symbolic links - if (file.isSymbolicLink) { - const end = name.indexOf(" -> "); - if (end !== -1) { - file.name = name.substring(0, end); - file.link = name.substring(end + 4); - } - } - return file; -} -exports.parseLine = parseLine; -function transformList(files) { - return files; -} -exports.transformList = transformList; -function parseMode(r, w, x) { - let value = 0; - if (r !== "-") { - value += FileInfo_1.FileInfo.UnixPermission.Read; - } - if (w !== "-") { - value += FileInfo_1.FileInfo.UnixPermission.Write; - } - const execToken = x.charAt(0); - if (execToken !== "-" && execToken.toUpperCase() !== execToken) { - value += FileInfo_1.FileInfo.UnixPermission.Execute; - } - return value; -} diff --git a/node_modules/basic-ftp/dist/transfer.d.ts b/node_modules/basic-ftp/dist/transfer.d.ts deleted file mode 100644 index 4ec447d..0000000 --- a/node_modules/basic-ftp/dist/transfer.d.ts +++ /dev/null @@ -1,34 +0,0 @@ -/// -import { Writable, Readable } from "stream"; -import { FTPContext, FTPResponse } from "./FtpContext"; -import { ProgressTracker, ProgressType } from "./ProgressTracker"; -export type UploadCommand = "STOR" | "APPE"; -/** - * Prepare a data socket using passive mode over IPv6. - */ -export declare function enterPassiveModeIPv6(ftp: FTPContext): Promise; -/** - * Parse an EPSV response. Returns only the port as in EPSV the host of the control connection is used. - */ -export declare function parseEpsvResponse(message: string): number; -/** - * Prepare a data socket using passive mode over IPv4. - */ -export declare function enterPassiveModeIPv4(ftp: FTPContext): Promise; -/** - * Parse a PASV response. - */ -export declare function parsePasvResponse(message: string): { - host: string; - port: number; -}; -export declare function connectForPassiveTransfer(host: string, port: number, ftp: FTPContext): Promise; -export interface TransferConfig { - command: string; - remotePath: string; - type: ProgressType; - ftp: FTPContext; - tracker: ProgressTracker; -} -export declare function uploadFrom(source: Readable, config: TransferConfig): Promise; -export declare function downloadTo(destination: Writable, config: TransferConfig): Promise; diff --git a/node_modules/basic-ftp/dist/transfer.js b/node_modules/basic-ftp/dist/transfer.js deleted file mode 100644 index 1d8379d..0000000 --- a/node_modules/basic-ftp/dist/transfer.js +++ /dev/null @@ -1,300 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.downloadTo = exports.uploadFrom = exports.connectForPassiveTransfer = exports.parsePasvResponse = exports.enterPassiveModeIPv4 = exports.parseEpsvResponse = exports.enterPassiveModeIPv6 = void 0; -const netUtils_1 = require("./netUtils"); -const stream_1 = require("stream"); -const tls_1 = require("tls"); -const parseControlResponse_1 = require("./parseControlResponse"); -/** - * Prepare a data socket using passive mode over IPv6. - */ -async function enterPassiveModeIPv6(ftp) { - const res = await ftp.request("EPSV"); - const port = parseEpsvResponse(res.message); - if (!port) { - throw new Error("Can't parse EPSV response: " + res.message); - } - const controlHost = ftp.socket.remoteAddress; - if (controlHost === undefined) { - throw new Error("Control socket is disconnected, can't get remote address."); - } - await connectForPassiveTransfer(controlHost, port, ftp); - return res; -} -exports.enterPassiveModeIPv6 = enterPassiveModeIPv6; -/** - * Parse an EPSV response. Returns only the port as in EPSV the host of the control connection is used. - */ -function parseEpsvResponse(message) { - // Get port from EPSV response, e.g. "229 Entering Extended Passive Mode (|||6446|)" - // Some FTP Servers such as the one on IBM i (OS/400) use ! instead of | in their EPSV response. - const groups = message.match(/[|!]{3}(.+)[|!]/); - if (groups === null || groups[1] === undefined) { - throw new Error(`Can't parse response to 'EPSV': ${message}`); - } - const port = parseInt(groups[1], 10); - if (Number.isNaN(port)) { - throw new Error(`Can't parse response to 'EPSV', port is not a number: ${message}`); - } - return port; -} -exports.parseEpsvResponse = parseEpsvResponse; -/** - * Prepare a data socket using passive mode over IPv4. - */ -async function enterPassiveModeIPv4(ftp) { - const res = await ftp.request("PASV"); - const target = parsePasvResponse(res.message); - if (!target) { - throw new Error("Can't parse PASV response: " + res.message); - } - // If the host in the PASV response has a local address while the control connection hasn't, - // we assume a NAT issue and use the IP of the control connection as the target for the data connection. - // We can't always perform this replacement because it's possible (although unlikely) that the FTP server - // indeed uses a different host for data connections. - const controlHost = ftp.socket.remoteAddress; - if ((0, netUtils_1.ipIsPrivateV4Address)(target.host) && controlHost && !(0, netUtils_1.ipIsPrivateV4Address)(controlHost)) { - target.host = controlHost; - } - await connectForPassiveTransfer(target.host, target.port, ftp); - return res; -} -exports.enterPassiveModeIPv4 = enterPassiveModeIPv4; -/** - * Parse a PASV response. - */ -function parsePasvResponse(message) { - // Get host and port from PASV response, e.g. "227 Entering Passive Mode (192,168,1,100,10,229)" - const groups = message.match(/([-\d]+,[-\d]+,[-\d]+,[-\d]+),([-\d]+),([-\d]+)/); - if (groups === null || groups.length !== 4) { - throw new Error(`Can't parse response to 'PASV': ${message}`); - } - return { - host: groups[1].replace(/,/g, "."), - port: (parseInt(groups[2], 10) & 255) * 256 + (parseInt(groups[3], 10) & 255) - }; -} -exports.parsePasvResponse = parsePasvResponse; -function connectForPassiveTransfer(host, port, ftp) { - return new Promise((resolve, reject) => { - let socket = ftp._newSocket(); - const handleConnErr = function (err) { - err.message = "Can't open data connection in passive mode: " + err.message; - reject(err); - }; - const handleTimeout = function () { - socket.destroy(); - reject(new Error(`Timeout when trying to open data connection to ${host}:${port}`)); - }; - socket.setTimeout(ftp.timeout); - socket.on("error", handleConnErr); - socket.on("timeout", handleTimeout); - socket.connect({ port, host, family: ftp.ipFamily }, () => { - if (ftp.socket instanceof tls_1.TLSSocket) { - socket = (0, tls_1.connect)(Object.assign({}, ftp.tlsOptions, { - socket, - // Reuse the TLS session negotiated earlier when the control connection - // was upgraded. Servers expect this because it provides additional - // security: If a completely new session would be negotiated, a hacker - // could guess the port and connect to the new data connection before we do - // by just starting his/her own TLS session. - session: ftp.socket.getSession() - })); - // It's the responsibility of the transfer task to wait until the - // TLS socket issued the event 'secureConnect'. We can't do this - // here because some servers will start upgrading after the - // specific transfer request has been made. List and download don't - // have to wait for this event because the server sends whenever it - // is ready. But for upload this has to be taken into account, - // see the details in the upload() function below. - } - // Let the FTPContext listen to errors from now on, remove local handler. - socket.removeListener("error", handleConnErr); - socket.removeListener("timeout", handleTimeout); - ftp.dataSocket = socket; - resolve(); - }); - }); -} -exports.connectForPassiveTransfer = connectForPassiveTransfer; -/** - * Helps resolving/rejecting transfers. - * - * This is used internally for all FTP transfers. For example when downloading, the server might confirm - * with "226 Transfer complete" when in fact the download on the data connection has not finished - * yet. With all transfers we make sure that a) the result arrived and b) has been confirmed by - * e.g. the control connection. We just don't know in which order this will happen. - */ -class TransferResolver { - /** - * Instantiate a TransferResolver - */ - constructor(ftp, progress) { - this.ftp = ftp; - this.progress = progress; - this.response = undefined; - this.dataTransferDone = false; - } - /** - * Mark the beginning of a transfer. - * - * @param name - Name of the transfer, usually the filename. - * @param type - Type of transfer, usually "upload" or "download". - */ - onDataStart(name, type) { - // Let the data socket be in charge of tracking timeouts during transfer. - // The control socket sits idle during this time anyway and might provoke - // a timeout unnecessarily. The control connection will take care - // of timeouts again once data transfer is complete or failed. - if (this.ftp.dataSocket === undefined) { - throw new Error("Data transfer should start but there is no data connection."); - } - this.ftp.socket.setTimeout(0); - this.ftp.dataSocket.setTimeout(this.ftp.timeout); - this.progress.start(this.ftp.dataSocket, name, type); - } - /** - * The data connection has finished the transfer. - */ - onDataDone(task) { - this.progress.updateAndStop(); - // Hand-over timeout tracking back to the control connection. It's possible that - // we don't receive the response over the control connection that the transfer is - // done. In this case, we want to correctly associate the resulting timeout with - // the control connection. - this.ftp.socket.setTimeout(this.ftp.timeout); - if (this.ftp.dataSocket) { - this.ftp.dataSocket.setTimeout(0); - } - this.dataTransferDone = true; - this.tryResolve(task); - } - /** - * The control connection reports the transfer as finished. - */ - onControlDone(task, response) { - this.response = response; - this.tryResolve(task); - } - /** - * An error has been reported and the task should be rejected. - */ - onError(task, err) { - this.progress.updateAndStop(); - this.ftp.socket.setTimeout(this.ftp.timeout); - this.ftp.dataSocket = undefined; - task.reject(err); - } - /** - * Control connection sent an unexpected request requiring a response from our part. We - * can't provide that (because unknown) and have to close the contrext with an error because - * the FTP server is now caught up in a state we can't resolve. - */ - onUnexpectedRequest(response) { - const err = new Error(`Unexpected FTP response is requesting an answer: ${response.message}`); - this.ftp.closeWithError(err); - } - tryResolve(task) { - // To resolve, we need both control and data connection to report that the transfer is done. - const canResolve = this.dataTransferDone && this.response !== undefined; - if (canResolve) { - this.ftp.dataSocket = undefined; - task.resolve(this.response); - } - } -} -function uploadFrom(source, config) { - const resolver = new TransferResolver(config.ftp, config.tracker); - const fullCommand = `${config.command} ${config.remotePath}`; - return config.ftp.handle(fullCommand, (res, task) => { - if (res instanceof Error) { - resolver.onError(task, res); - } - else if (res.code === 150 || res.code === 125) { // Ready to upload - const dataSocket = config.ftp.dataSocket; - if (!dataSocket) { - resolver.onError(task, new Error("Upload should begin but no data connection is available.")); - return; - } - // If we are using TLS, we have to wait until the dataSocket issued - // 'secureConnect'. If this hasn't happened yet, getCipher() returns undefined. - const canUpload = "getCipher" in dataSocket ? dataSocket.getCipher() !== undefined : true; - onConditionOrEvent(canUpload, dataSocket, "secureConnect", () => { - config.ftp.log(`Uploading to ${(0, netUtils_1.describeAddress)(dataSocket)} (${(0, netUtils_1.describeTLS)(dataSocket)})`); - resolver.onDataStart(config.remotePath, config.type); - (0, stream_1.pipeline)(source, dataSocket, err => { - if (err) { - resolver.onError(task, err); - } - else { - resolver.onDataDone(task); - } - }); - }); - } - else if ((0, parseControlResponse_1.positiveCompletion)(res.code)) { // Transfer complete - resolver.onControlDone(task, res); - } - else if ((0, parseControlResponse_1.positiveIntermediate)(res.code)) { - resolver.onUnexpectedRequest(res); - } - // Ignore all other positive preliminary response codes (< 200) - }); -} -exports.uploadFrom = uploadFrom; -function downloadTo(destination, config) { - if (!config.ftp.dataSocket) { - throw new Error("Download will be initiated but no data connection is available."); - } - const resolver = new TransferResolver(config.ftp, config.tracker); - return config.ftp.handle(config.command, (res, task) => { - if (res instanceof Error) { - resolver.onError(task, res); - } - else if (res.code === 150 || res.code === 125) { // Ready to download - const dataSocket = config.ftp.dataSocket; - if (!dataSocket) { - resolver.onError(task, new Error("Download should begin but no data connection is available.")); - return; - } - config.ftp.log(`Downloading from ${(0, netUtils_1.describeAddress)(dataSocket)} (${(0, netUtils_1.describeTLS)(dataSocket)})`); - resolver.onDataStart(config.remotePath, config.type); - (0, stream_1.pipeline)(dataSocket, destination, err => { - if (err) { - resolver.onError(task, err); - } - else { - resolver.onDataDone(task); - } - }); - } - else if (res.code === 350) { // Restarting at startAt. - config.ftp.send("RETR " + config.remotePath); - } - else if ((0, parseControlResponse_1.positiveCompletion)(res.code)) { // Transfer complete - resolver.onControlDone(task, res); - } - else if ((0, parseControlResponse_1.positiveIntermediate)(res.code)) { - resolver.onUnexpectedRequest(res); - } - // Ignore all other positive preliminary response codes (< 200) - }); -} -exports.downloadTo = downloadTo; -/** - * Calls a function immediately if a condition is met or subscribes to an event and calls - * it once the event is emitted. - * - * @param condition The condition to test. - * @param emitter The emitter to use if the condition is not met. - * @param eventName The event to subscribe to if the condition is not met. - * @param action The function to call. - */ -function onConditionOrEvent(condition, emitter, eventName, action) { - if (condition === true) { - action(); - } - else { - emitter.once(eventName, () => action()); - } -} diff --git a/node_modules/basic-ftp/package.json b/node_modules/basic-ftp/package.json deleted file mode 100644 index 00bde46..0000000 --- a/node_modules/basic-ftp/package.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "name": "basic-ftp", - "version": "5.0.5", - "description": "FTP client for Node.js, supports FTPS over TLS, IPv6, Async/Await, and Typescript.", - "main": "dist/index", - "types": "dist/index", - "files": [ - "dist/**/*" - ], - "scripts": { - "prepublishOnly": "npm run clean && npm run lint && tsc && mocha", - "prepare": "tsc", - "test": "npm run prepublishOnly", - "clean": "rm -rf dist", - "lint": "eslint \"./src/**/*.ts\"", - "lint-fix": "eslint --fix \"./src/**/*.ts\"", - "dev": "npm run clean && tsc --watch", - "tdd": "mocha --watch", - "buildOnly": "tsc" - }, - "repository": { - "type": "git", - "url": "https://github.com/patrickjuchli/basic-ftp.git" - }, - "author": "Patrick Juchli ", - "license": "MIT", - "keywords": [ - "ftp", - "ftps", - "promise", - "async", - "await", - "tls", - "ipv6", - "typescript" - ], - "engines": { - "node": ">=10.0.0" - }, - "devDependencies": { - "@types/mocha": "10.0.6", - "@types/node": "20.10.4", - "@typescript-eslint/eslint-plugin": "6.14.0", - "@typescript-eslint/parser": "6.14.0", - "eslint": "8.55.0", - "mocha": "10.2.0", - "typescript": "5.3.3" - } -} diff --git a/node_modules/buffer-crc32/LICENSE b/node_modules/buffer-crc32/LICENSE deleted file mode 100644 index 4cef10e..0000000 --- a/node_modules/buffer-crc32/LICENSE +++ /dev/null @@ -1,19 +0,0 @@ -The MIT License - -Copyright (c) 2013 Brian J. Brennan - -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. diff --git a/node_modules/buffer-crc32/README.md b/node_modules/buffer-crc32/README.md deleted file mode 100644 index 0d9d8b8..0000000 --- a/node_modules/buffer-crc32/README.md +++ /dev/null @@ -1,47 +0,0 @@ -# buffer-crc32 - -[![Build Status](https://secure.travis-ci.org/brianloveswords/buffer-crc32.png?branch=master)](http://travis-ci.org/brianloveswords/buffer-crc32) - -crc32 that works with binary data and fancy character sets, outputs -buffer, signed or unsigned data and has tests. - -Derived from the sample CRC implementation in the PNG specification: http://www.w3.org/TR/PNG/#D-CRCAppendix - -# install -``` -npm install buffer-crc32 -``` - -# example -```js -var crc32 = require('buffer-crc32'); -// works with buffers -var buf = Buffer([0x00, 0x73, 0x75, 0x70, 0x20, 0x62, 0x72, 0x6f, 0x00]) -crc32(buf) // -> - -// has convenience methods for getting signed or unsigned ints -crc32.signed(buf) // -> -1805997238 -crc32.unsigned(buf) // -> 2488970058 - -// will cast to buffer if given a string, so you can -// directly use foreign characters safely -crc32('自動販売機') // -> - -// and works in append mode too -var partialCrc = crc32('hey'); -var partialCrc = crc32(' ', partialCrc); -var partialCrc = crc32('sup', partialCrc); -var partialCrc = crc32(' ', partialCrc); -var finalCrc = crc32('bros', partialCrc); // -> -``` - -# tests -This was tested against the output of zlib's crc32 method. You can run -the tests with`npm test` (requires tap) - -# see also -https://github.com/alexgorbatchev/node-crc, `crc.buffer.crc32` also -supports buffer inputs and return unsigned ints (thanks @tjholowaychuk). - -# license -MIT/X11 diff --git a/node_modules/buffer-crc32/index.js b/node_modules/buffer-crc32/index.js deleted file mode 100644 index 6727dd3..0000000 --- a/node_modules/buffer-crc32/index.js +++ /dev/null @@ -1,111 +0,0 @@ -var Buffer = require('buffer').Buffer; - -var CRC_TABLE = [ - 0x00000000, 0x77073096, 0xee0e612c, 0x990951ba, 0x076dc419, - 0x706af48f, 0xe963a535, 0x9e6495a3, 0x0edb8832, 0x79dcb8a4, - 0xe0d5e91e, 0x97d2d988, 0x09b64c2b, 0x7eb17cbd, 0xe7b82d07, - 0x90bf1d91, 0x1db71064, 0x6ab020f2, 0xf3b97148, 0x84be41de, - 0x1adad47d, 0x6ddde4eb, 0xf4d4b551, 0x83d385c7, 0x136c9856, - 0x646ba8c0, 0xfd62f97a, 0x8a65c9ec, 0x14015c4f, 0x63066cd9, - 0xfa0f3d63, 0x8d080df5, 0x3b6e20c8, 0x4c69105e, 0xd56041e4, - 0xa2677172, 0x3c03e4d1, 0x4b04d447, 0xd20d85fd, 0xa50ab56b, - 0x35b5a8fa, 0x42b2986c, 0xdbbbc9d6, 0xacbcf940, 0x32d86ce3, - 0x45df5c75, 0xdcd60dcf, 0xabd13d59, 0x26d930ac, 0x51de003a, - 0xc8d75180, 0xbfd06116, 0x21b4f4b5, 0x56b3c423, 0xcfba9599, - 0xb8bda50f, 0x2802b89e, 0x5f058808, 0xc60cd9b2, 0xb10be924, - 0x2f6f7c87, 0x58684c11, 0xc1611dab, 0xb6662d3d, 0x76dc4190, - 0x01db7106, 0x98d220bc, 0xefd5102a, 0x71b18589, 0x06b6b51f, - 0x9fbfe4a5, 0xe8b8d433, 0x7807c9a2, 0x0f00f934, 0x9609a88e, - 0xe10e9818, 0x7f6a0dbb, 0x086d3d2d, 0x91646c97, 0xe6635c01, - 0x6b6b51f4, 0x1c6c6162, 0x856530d8, 0xf262004e, 0x6c0695ed, - 0x1b01a57b, 0x8208f4c1, 0xf50fc457, 0x65b0d9c6, 0x12b7e950, - 0x8bbeb8ea, 0xfcb9887c, 0x62dd1ddf, 0x15da2d49, 0x8cd37cf3, - 0xfbd44c65, 0x4db26158, 0x3ab551ce, 0xa3bc0074, 0xd4bb30e2, - 0x4adfa541, 0x3dd895d7, 0xa4d1c46d, 0xd3d6f4fb, 0x4369e96a, - 0x346ed9fc, 0xad678846, 0xda60b8d0, 0x44042d73, 0x33031de5, - 0xaa0a4c5f, 0xdd0d7cc9, 0x5005713c, 0x270241aa, 0xbe0b1010, - 0xc90c2086, 0x5768b525, 0x206f85b3, 0xb966d409, 0xce61e49f, - 0x5edef90e, 0x29d9c998, 0xb0d09822, 0xc7d7a8b4, 0x59b33d17, - 0x2eb40d81, 0xb7bd5c3b, 0xc0ba6cad, 0xedb88320, 0x9abfb3b6, - 0x03b6e20c, 0x74b1d29a, 0xead54739, 0x9dd277af, 0x04db2615, - 0x73dc1683, 0xe3630b12, 0x94643b84, 0x0d6d6a3e, 0x7a6a5aa8, - 0xe40ecf0b, 0x9309ff9d, 0x0a00ae27, 0x7d079eb1, 0xf00f9344, - 0x8708a3d2, 0x1e01f268, 0x6906c2fe, 0xf762575d, 0x806567cb, - 0x196c3671, 0x6e6b06e7, 0xfed41b76, 0x89d32be0, 0x10da7a5a, - 0x67dd4acc, 0xf9b9df6f, 0x8ebeeff9, 0x17b7be43, 0x60b08ed5, - 0xd6d6a3e8, 0xa1d1937e, 0x38d8c2c4, 0x4fdff252, 0xd1bb67f1, - 0xa6bc5767, 0x3fb506dd, 0x48b2364b, 0xd80d2bda, 0xaf0a1b4c, - 0x36034af6, 0x41047a60, 0xdf60efc3, 0xa867df55, 0x316e8eef, - 0x4669be79, 0xcb61b38c, 0xbc66831a, 0x256fd2a0, 0x5268e236, - 0xcc0c7795, 0xbb0b4703, 0x220216b9, 0x5505262f, 0xc5ba3bbe, - 0xb2bd0b28, 0x2bb45a92, 0x5cb36a04, 0xc2d7ffa7, 0xb5d0cf31, - 0x2cd99e8b, 0x5bdeae1d, 0x9b64c2b0, 0xec63f226, 0x756aa39c, - 0x026d930a, 0x9c0906a9, 0xeb0e363f, 0x72076785, 0x05005713, - 0x95bf4a82, 0xe2b87a14, 0x7bb12bae, 0x0cb61b38, 0x92d28e9b, - 0xe5d5be0d, 0x7cdcefb7, 0x0bdbdf21, 0x86d3d2d4, 0xf1d4e242, - 0x68ddb3f8, 0x1fda836e, 0x81be16cd, 0xf6b9265b, 0x6fb077e1, - 0x18b74777, 0x88085ae6, 0xff0f6a70, 0x66063bca, 0x11010b5c, - 0x8f659eff, 0xf862ae69, 0x616bffd3, 0x166ccf45, 0xa00ae278, - 0xd70dd2ee, 0x4e048354, 0x3903b3c2, 0xa7672661, 0xd06016f7, - 0x4969474d, 0x3e6e77db, 0xaed16a4a, 0xd9d65adc, 0x40df0b66, - 0x37d83bf0, 0xa9bcae53, 0xdebb9ec5, 0x47b2cf7f, 0x30b5ffe9, - 0xbdbdf21c, 0xcabac28a, 0x53b39330, 0x24b4a3a6, 0xbad03605, - 0xcdd70693, 0x54de5729, 0x23d967bf, 0xb3667a2e, 0xc4614ab8, - 0x5d681b02, 0x2a6f2b94, 0xb40bbe37, 0xc30c8ea1, 0x5a05df1b, - 0x2d02ef8d -]; - -if (typeof Int32Array !== 'undefined') { - CRC_TABLE = new Int32Array(CRC_TABLE); -} - -function ensureBuffer(input) { - if (Buffer.isBuffer(input)) { - return input; - } - - var hasNewBufferAPI = - typeof Buffer.alloc === "function" && - typeof Buffer.from === "function"; - - if (typeof input === "number") { - return hasNewBufferAPI ? Buffer.alloc(input) : new Buffer(input); - } - else if (typeof input === "string") { - return hasNewBufferAPI ? Buffer.from(input) : new Buffer(input); - } - else { - throw new Error("input must be buffer, number, or string, received " + - typeof input); - } -} - -function bufferizeInt(num) { - var tmp = ensureBuffer(4); - tmp.writeInt32BE(num, 0); - return tmp; -} - -function _crc32(buf, previous) { - buf = ensureBuffer(buf); - if (Buffer.isBuffer(previous)) { - previous = previous.readUInt32BE(0); - } - var crc = ~~previous ^ -1; - for (var n = 0; n < buf.length; n++) { - crc = CRC_TABLE[(crc ^ buf[n]) & 0xff] ^ (crc >>> 8); - } - return (crc ^ -1); -} - -function crc32() { - return bufferizeInt(_crc32.apply(null, arguments)); -} -crc32.signed = function () { - return _crc32.apply(null, arguments); -}; -crc32.unsigned = function () { - return _crc32.apply(null, arguments) >>> 0; -}; - -module.exports = crc32; diff --git a/node_modules/buffer-crc32/package.json b/node_modules/buffer-crc32/package.json deleted file mode 100644 index e896bec..0000000 --- a/node_modules/buffer-crc32/package.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "author": "Brian J. Brennan ", - "name": "buffer-crc32", - "description": "A pure javascript CRC32 algorithm that plays nice with binary data", - "version": "0.2.13", - "licenses": [ - { - "type": "MIT", - "url": "https://github.com/brianloveswords/buffer-crc32/raw/master/LICENSE" - } - ], - "contributors": [ - { - "name": "Vladimir Kuznetsov", - "github": "mistakster" - } - ], - "homepage": "https://github.com/brianloveswords/buffer-crc32", - "repository": { - "type": "git", - "url": "git://github.com/brianloveswords/buffer-crc32.git" - }, - "main": "index.js", - "scripts": { - "test": "./node_modules/.bin/tap tests/*.test.js" - }, - "dependencies": {}, - "devDependencies": { - "tap": "~0.2.5" - }, - "optionalDependencies": {}, - "engines": { - "node": "*" - }, - "license": "MIT", - "files": [ - "index.js" - ] -} diff --git a/node_modules/buffer/AUTHORS.md b/node_modules/buffer/AUTHORS.md deleted file mode 100644 index 22eb171..0000000 --- a/node_modules/buffer/AUTHORS.md +++ /dev/null @@ -1,70 +0,0 @@ -# Authors - -#### Ordered by first contribution. - -- Romain Beauxis (toots@rastageeks.org) -- Tobias Koppers (tobias.koppers@googlemail.com) -- Janus (ysangkok@gmail.com) -- Rainer Dreyer (rdrey1@gmail.com) -- Tõnis Tiigi (tonistiigi@gmail.com) -- James Halliday (mail@substack.net) -- Michael Williamson (mike@zwobble.org) -- elliottcable (github@elliottcable.name) -- rafael (rvalle@livelens.net) -- Andrew Kelley (superjoe30@gmail.com) -- Andreas Madsen (amwebdk@gmail.com) -- Mike Brevoort (mike.brevoort@pearson.com) -- Brian White (mscdex@mscdex.net) -- Feross Aboukhadijeh (feross@feross.org) -- Ruben Verborgh (ruben@verborgh.org) -- eliang (eliang.cs@gmail.com) -- Jesse Tane (jesse.tane@gmail.com) -- Alfonso Boza (alfonso@cloud.com) -- Mathias Buus (mathiasbuus@gmail.com) -- Devon Govett (devongovett@gmail.com) -- Daniel Cousens (github@dcousens.com) -- Joseph Dykstra (josephdykstra@gmail.com) -- Parsha Pourkhomami (parshap+git@gmail.com) -- Damjan Košir (damjan.kosir@gmail.com) -- daverayment (dave.rayment@gmail.com) -- kawanet (u-suke@kawa.net) -- Linus Unnebäck (linus@folkdatorn.se) -- Nolan Lawson (nolan.lawson@gmail.com) -- Calvin Metcalf (calvin.metcalf@gmail.com) -- Koki Takahashi (hakatasiloving@gmail.com) -- Guy Bedford (guybedford@gmail.com) -- Jan Schär (jscissr@gmail.com) -- RaulTsc (tomescu.raul@gmail.com) -- Matthieu Monsch (monsch@alum.mit.edu) -- Dan Ehrenberg (littledan@chromium.org) -- Kirill Fomichev (fanatid@ya.ru) -- Yusuke Kawasaki (u-suke@kawa.net) -- DC (dcposch@dcpos.ch) -- John-David Dalton (john.david.dalton@gmail.com) -- adventure-yunfei (adventure030@gmail.com) -- Emil Bay (github@tixz.dk) -- Sam Sudar (sudar.sam@gmail.com) -- Volker Mische (volker.mische@gmail.com) -- David Walton (support@geekstocks.com) -- Сковорода Никита Андреевич (chalkerx@gmail.com) -- greenkeeper[bot] (greenkeeper[bot]@users.noreply.github.com) -- ukstv (sergey.ukustov@machinomy.com) -- Renée Kooi (renee@kooi.me) -- ranbochen (ranbochen@qq.com) -- Vladimir Borovik (bobahbdb@gmail.com) -- greenkeeper[bot] (23040076+greenkeeper[bot]@users.noreply.github.com) -- kumavis (aaron@kumavis.me) -- Sergey Ukustov (sergey.ukustov@machinomy.com) -- Fei Liu (liu.feiwood@gmail.com) -- Blaine Bublitz (blaine.bublitz@gmail.com) -- clement (clement@seald.io) -- Koushik Dutta (koushd@gmail.com) -- Jordan Harband (ljharb@gmail.com) -- Niklas Mischkulnig (mischnic@users.noreply.github.com) -- Nikolai Vavilov (vvnicholas@gmail.com) -- Fedor Nezhivoi (gyzerok@users.noreply.github.com) -- Peter Newman (peternewman@users.noreply.github.com) -- mathmakgakpak (44949126+mathmakgakpak@users.noreply.github.com) -- jkkang (jkkang@smartauth.kr) - -#### Generated by bin/update-authors.sh. diff --git a/node_modules/buffer/LICENSE b/node_modules/buffer/LICENSE deleted file mode 100644 index d6bf75d..0000000 --- a/node_modules/buffer/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -The MIT License (MIT) - -Copyright (c) Feross Aboukhadijeh, 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. diff --git a/node_modules/buffer/README.md b/node_modules/buffer/README.md deleted file mode 100644 index 9a23d7c..0000000 --- a/node_modules/buffer/README.md +++ /dev/null @@ -1,410 +0,0 @@ -# buffer [![travis][travis-image]][travis-url] [![npm][npm-image]][npm-url] [![downloads][downloads-image]][downloads-url] [![javascript style guide][standard-image]][standard-url] - -[travis-image]: https://img.shields.io/travis/feross/buffer/master.svg -[travis-url]: https://travis-ci.org/feross/buffer -[npm-image]: https://img.shields.io/npm/v/buffer.svg -[npm-url]: https://npmjs.org/package/buffer -[downloads-image]: https://img.shields.io/npm/dm/buffer.svg -[downloads-url]: https://npmjs.org/package/buffer -[standard-image]: https://img.shields.io/badge/code_style-standard-brightgreen.svg -[standard-url]: https://standardjs.com - -#### The buffer module from [node.js](https://nodejs.org/), for the browser. - -[![saucelabs][saucelabs-image]][saucelabs-url] - -[saucelabs-image]: https://saucelabs.com/browser-matrix/buffer.svg -[saucelabs-url]: https://saucelabs.com/u/buffer - -With [browserify](http://browserify.org), simply `require('buffer')` or use the `Buffer` global and you will get this module. - -The goal is to provide an API that is 100% identical to -[node's Buffer API](https://nodejs.org/api/buffer.html). Read the -[official docs](https://nodejs.org/api/buffer.html) for the full list of properties, -instance methods, and class methods that are supported. - -## features - -- Manipulate binary data like a boss, in all browsers! -- Super fast. Backed by Typed Arrays (`Uint8Array`/`ArrayBuffer`, not `Object`) -- Extremely small bundle size (**6.75KB minified + gzipped**, 51.9KB with comments) -- Excellent browser support (Chrome, Firefox, Edge, Safari 9+, IE 11, iOS 9+, Android, etc.) -- Preserves Node API exactly, with one minor difference (see below) -- Square-bracket `buf[4]` notation works! -- Does not modify any browser prototypes or put anything on `window` -- Comprehensive test suite (including all buffer tests from node.js core) - -## install - -To use this module directly (without browserify), install it: - -```bash -npm install buffer -``` - -This module was previously called **native-buffer-browserify**, but please use **buffer** -from now on. - -If you do not use a bundler, you can use the [standalone script](https://bundle.run/buffer). - -## usage - -The module's API is identical to node's `Buffer` API. Read the -[official docs](https://nodejs.org/api/buffer.html) for the full list of properties, -instance methods, and class methods that are supported. - -As mentioned above, `require('buffer')` or use the `Buffer` global with -[browserify](http://browserify.org) and this module will automatically be included -in your bundle. Almost any npm module will work in the browser, even if it assumes that -the node `Buffer` API will be available. - -To depend on this module explicitly (without browserify), require it like this: - -```js -var Buffer = require('buffer/').Buffer // note: the trailing slash is important! -``` - -To require this module explicitly, use `require('buffer/')` which tells the node.js module -lookup algorithm (also used by browserify) to use the **npm module** named `buffer` -instead of the **node.js core** module named `buffer`! - - -## how does it work? - -The Buffer constructor returns instances of `Uint8Array` that have their prototype -changed to `Buffer.prototype`. Furthermore, `Buffer` is a subclass of `Uint8Array`, -so the returned instances will have all the node `Buffer` methods and the -`Uint8Array` methods. Square bracket notation works as expected -- it returns a -single octet. - -The `Uint8Array` prototype remains unmodified. - - -## tracking the latest node api - -This module tracks the Buffer API in the latest (unstable) version of node.js. The Buffer -API is considered **stable** in the -[node stability index](https://nodejs.org/docs/latest/api/documentation.html#documentation_stability_index), -so it is unlikely that there will ever be breaking changes. -Nonetheless, when/if the Buffer API changes in node, this module's API will change -accordingly. - -## related packages - -- [`buffer-reverse`](https://www.npmjs.com/package/buffer-reverse) - Reverse a buffer -- [`buffer-xor`](https://www.npmjs.com/package/buffer-xor) - Bitwise xor a buffer -- [`is-buffer`](https://www.npmjs.com/package/is-buffer) - Determine if an object is a Buffer without including the whole `Buffer` package - -## conversion packages - -### convert typed array to buffer - -Use [`typedarray-to-buffer`](https://www.npmjs.com/package/typedarray-to-buffer) to convert any kind of typed array to a `Buffer`. Does not perform a copy, so it's super fast. - -### convert buffer to typed array - -`Buffer` is a subclass of `Uint8Array` (which is a typed array). So there is no need to explicitly convert to typed array. Just use the buffer as a `Uint8Array`. - -### convert blob to buffer - -Use [`blob-to-buffer`](https://www.npmjs.com/package/blob-to-buffer) to convert a `Blob` to a `Buffer`. - -### convert buffer to blob - -To convert a `Buffer` to a `Blob`, use the `Blob` constructor: - -```js -var blob = new Blob([ buffer ]) -``` - -Optionally, specify a mimetype: - -```js -var blob = new Blob([ buffer ], { type: 'text/html' }) -``` - -### convert arraybuffer to buffer - -To convert an `ArrayBuffer` to a `Buffer`, use the `Buffer.from` function. Does not perform a copy, so it's super fast. - -```js -var buffer = Buffer.from(arrayBuffer) -``` - -### convert buffer to arraybuffer - -To convert a `Buffer` to an `ArrayBuffer`, use the `.buffer` property (which is present on all `Uint8Array` objects): - -```js -var arrayBuffer = buffer.buffer.slice( - buffer.byteOffset, buffer.byteOffset + buffer.byteLength -) -``` - -Alternatively, use the [`to-arraybuffer`](https://www.npmjs.com/package/to-arraybuffer) module. - -## performance - -See perf tests in `/perf`. - -`BrowserBuffer` is the browser `buffer` module (this repo). `Uint8Array` is included as a -sanity check (since `BrowserBuffer` uses `Uint8Array` under the hood, `Uint8Array` will -always be at least a bit faster). Finally, `NodeBuffer` is the node.js buffer module, -which is included to compare against. - -NOTE: Performance has improved since these benchmarks were taken. PR welcome to update the README. - -### Chrome 38 - -| Method | Operations | Accuracy | Sampled | Fastest | -|:-------|:-----------|:---------|:--------|:-------:| -| BrowserBuffer#bracket-notation | 11,457,464 ops/sec | ±0.86% | 66 | ✓ | -| Uint8Array#bracket-notation | 10,824,332 ops/sec | ±0.74% | 65 | | -| | | | | -| BrowserBuffer#concat | 450,532 ops/sec | ±0.76% | 68 | | -| Uint8Array#concat | 1,368,911 ops/sec | ±1.50% | 62 | ✓ | -| | | | | -| BrowserBuffer#copy(16000) | 903,001 ops/sec | ±0.96% | 67 | | -| Uint8Array#copy(16000) | 1,422,441 ops/sec | ±1.04% | 66 | ✓ | -| | | | | -| BrowserBuffer#copy(16) | 11,431,358 ops/sec | ±0.46% | 69 | | -| Uint8Array#copy(16) | 13,944,163 ops/sec | ±1.12% | 68 | ✓ | -| | | | | -| BrowserBuffer#new(16000) | 106,329 ops/sec | ±6.70% | 44 | | -| Uint8Array#new(16000) | 131,001 ops/sec | ±2.85% | 31 | ✓ | -| | | | | -| BrowserBuffer#new(16) | 1,554,491 ops/sec | ±1.60% | 65 | | -| Uint8Array#new(16) | 6,623,930 ops/sec | ±1.66% | 65 | ✓ | -| | | | | -| BrowserBuffer#readDoubleBE | 112,830 ops/sec | ±0.51% | 69 | ✓ | -| DataView#getFloat64 | 93,500 ops/sec | ±0.57% | 68 | | -| | | | | -| BrowserBuffer#readFloatBE | 146,678 ops/sec | ±0.95% | 68 | ✓ | -| DataView#getFloat32 | 99,311 ops/sec | ±0.41% | 67 | | -| | | | | -| BrowserBuffer#readUInt32LE | 843,214 ops/sec | ±0.70% | 69 | ✓ | -| DataView#getUint32 | 103,024 ops/sec | ±0.64% | 67 | | -| | | | | -| BrowserBuffer#slice | 1,013,941 ops/sec | ±0.75% | 67 | | -| Uint8Array#subarray | 1,903,928 ops/sec | ±0.53% | 67 | ✓ | -| | | | | -| BrowserBuffer#writeFloatBE | 61,387 ops/sec | ±0.90% | 67 | | -| DataView#setFloat32 | 141,249 ops/sec | ±0.40% | 66 | ✓ | - - -### Firefox 33 - -| Method | Operations | Accuracy | Sampled | Fastest | -|:-------|:-----------|:---------|:--------|:-------:| -| BrowserBuffer#bracket-notation | 20,800,421 ops/sec | ±1.84% | 60 | | -| Uint8Array#bracket-notation | 20,826,235 ops/sec | ±2.02% | 61 | ✓ | -| | | | | -| BrowserBuffer#concat | 153,076 ops/sec | ±2.32% | 61 | | -| Uint8Array#concat | 1,255,674 ops/sec | ±8.65% | 52 | ✓ | -| | | | | -| BrowserBuffer#copy(16000) | 1,105,312 ops/sec | ±1.16% | 63 | | -| Uint8Array#copy(16000) | 1,615,911 ops/sec | ±0.55% | 66 | ✓ | -| | | | | -| BrowserBuffer#copy(16) | 16,357,599 ops/sec | ±0.73% | 68 | | -| Uint8Array#copy(16) | 31,436,281 ops/sec | ±1.05% | 68 | ✓ | -| | | | | -| BrowserBuffer#new(16000) | 52,995 ops/sec | ±6.01% | 35 | | -| Uint8Array#new(16000) | 87,686 ops/sec | ±5.68% | 45 | ✓ | -| | | | | -| BrowserBuffer#new(16) | 252,031 ops/sec | ±1.61% | 66 | | -| Uint8Array#new(16) | 8,477,026 ops/sec | ±0.49% | 68 | ✓ | -| | | | | -| BrowserBuffer#readDoubleBE | 99,871 ops/sec | ±0.41% | 69 | | -| DataView#getFloat64 | 285,663 ops/sec | ±0.70% | 68 | ✓ | -| | | | | -| BrowserBuffer#readFloatBE | 115,540 ops/sec | ±0.42% | 69 | | -| DataView#getFloat32 | 288,722 ops/sec | ±0.82% | 68 | ✓ | -| | | | | -| BrowserBuffer#readUInt32LE | 633,926 ops/sec | ±1.08% | 67 | ✓ | -| DataView#getUint32 | 294,808 ops/sec | ±0.79% | 64 | | -| | | | | -| BrowserBuffer#slice | 349,425 ops/sec | ±0.46% | 69 | | -| Uint8Array#subarray | 5,965,819 ops/sec | ±0.60% | 65 | ✓ | -| | | | | -| BrowserBuffer#writeFloatBE | 59,980 ops/sec | ±0.41% | 67 | | -| DataView#setFloat32 | 317,634 ops/sec | ±0.63% | 68 | ✓ | - -### Safari 8 - -| Method | Operations | Accuracy | Sampled | Fastest | -|:-------|:-----------|:---------|:--------|:-------:| -| BrowserBuffer#bracket-notation | 10,279,729 ops/sec | ±2.25% | 56 | ✓ | -| Uint8Array#bracket-notation | 10,030,767 ops/sec | ±2.23% | 59 | | -| | | | | -| BrowserBuffer#concat | 144,138 ops/sec | ±1.38% | 65 | | -| Uint8Array#concat | 4,950,764 ops/sec | ±1.70% | 63 | ✓ | -| | | | | -| BrowserBuffer#copy(16000) | 1,058,548 ops/sec | ±1.51% | 64 | | -| Uint8Array#copy(16000) | 1,409,666 ops/sec | ±1.17% | 65 | ✓ | -| | | | | -| BrowserBuffer#copy(16) | 6,282,529 ops/sec | ±1.88% | 58 | | -| Uint8Array#copy(16) | 11,907,128 ops/sec | ±2.87% | 58 | ✓ | -| | | | | -| BrowserBuffer#new(16000) | 101,663 ops/sec | ±3.89% | 57 | | -| Uint8Array#new(16000) | 22,050,818 ops/sec | ±6.51% | 46 | ✓ | -| | | | | -| BrowserBuffer#new(16) | 176,072 ops/sec | ±2.13% | 64 | | -| Uint8Array#new(16) | 24,385,731 ops/sec | ±5.01% | 51 | ✓ | -| | | | | -| BrowserBuffer#readDoubleBE | 41,341 ops/sec | ±1.06% | 67 | | -| DataView#getFloat64 | 322,280 ops/sec | ±0.84% | 68 | ✓ | -| | | | | -| BrowserBuffer#readFloatBE | 46,141 ops/sec | ±1.06% | 65 | | -| DataView#getFloat32 | 337,025 ops/sec | ±0.43% | 69 | ✓ | -| | | | | -| BrowserBuffer#readUInt32LE | 151,551 ops/sec | ±1.02% | 66 | | -| DataView#getUint32 | 308,278 ops/sec | ±0.94% | 67 | ✓ | -| | | | | -| BrowserBuffer#slice | 197,365 ops/sec | ±0.95% | 66 | | -| Uint8Array#subarray | 9,558,024 ops/sec | ±3.08% | 58 | ✓ | -| | | | | -| BrowserBuffer#writeFloatBE | 17,518 ops/sec | ±1.03% | 63 | | -| DataView#setFloat32 | 319,751 ops/sec | ±0.48% | 68 | ✓ | - - -### Node 0.11.14 - -| Method | Operations | Accuracy | Sampled | Fastest | -|:-------|:-----------|:---------|:--------|:-------:| -| BrowserBuffer#bracket-notation | 10,489,828 ops/sec | ±3.25% | 90 | | -| Uint8Array#bracket-notation | 10,534,884 ops/sec | ±0.81% | 92 | ✓ | -| NodeBuffer#bracket-notation | 10,389,910 ops/sec | ±0.97% | 87 | | -| | | | | -| BrowserBuffer#concat | 487,830 ops/sec | ±2.58% | 88 | | -| Uint8Array#concat | 1,814,327 ops/sec | ±1.28% | 88 | ✓ | -| NodeBuffer#concat | 1,636,523 ops/sec | ±1.88% | 73 | | -| | | | | -| BrowserBuffer#copy(16000) | 1,073,665 ops/sec | ±0.77% | 90 | | -| Uint8Array#copy(16000) | 1,348,517 ops/sec | ±0.84% | 89 | ✓ | -| NodeBuffer#copy(16000) | 1,289,533 ops/sec | ±0.82% | 93 | | -| | | | | -| BrowserBuffer#copy(16) | 12,782,706 ops/sec | ±0.74% | 85 | | -| Uint8Array#copy(16) | 14,180,427 ops/sec | ±0.93% | 92 | ✓ | -| NodeBuffer#copy(16) | 11,083,134 ops/sec | ±1.06% | 89 | | -| | | | | -| BrowserBuffer#new(16000) | 141,678 ops/sec | ±3.30% | 67 | | -| Uint8Array#new(16000) | 161,491 ops/sec | ±2.96% | 60 | | -| NodeBuffer#new(16000) | 292,699 ops/sec | ±3.20% | 55 | ✓ | -| | | | | -| BrowserBuffer#new(16) | 1,655,466 ops/sec | ±2.41% | 82 | | -| Uint8Array#new(16) | 14,399,926 ops/sec | ±0.91% | 94 | ✓ | -| NodeBuffer#new(16) | 3,894,696 ops/sec | ±0.88% | 92 | | -| | | | | -| BrowserBuffer#readDoubleBE | 109,582 ops/sec | ±0.75% | 93 | ✓ | -| DataView#getFloat64 | 91,235 ops/sec | ±0.81% | 90 | | -| NodeBuffer#readDoubleBE | 88,593 ops/sec | ±0.96% | 81 | | -| | | | | -| BrowserBuffer#readFloatBE | 139,854 ops/sec | ±1.03% | 85 | ✓ | -| DataView#getFloat32 | 98,744 ops/sec | ±0.80% | 89 | | -| NodeBuffer#readFloatBE | 92,769 ops/sec | ±0.94% | 93 | | -| | | | | -| BrowserBuffer#readUInt32LE | 710,861 ops/sec | ±0.82% | 92 | | -| DataView#getUint32 | 117,893 ops/sec | ±0.84% | 91 | | -| NodeBuffer#readUInt32LE | 851,412 ops/sec | ±0.72% | 93 | ✓ | -| | | | | -| BrowserBuffer#slice | 1,673,877 ops/sec | ±0.73% | 94 | | -| Uint8Array#subarray | 6,919,243 ops/sec | ±0.67% | 90 | ✓ | -| NodeBuffer#slice | 4,617,604 ops/sec | ±0.79% | 93 | | -| | | | | -| BrowserBuffer#writeFloatBE | 66,011 ops/sec | ±0.75% | 93 | | -| DataView#setFloat32 | 127,760 ops/sec | ±0.72% | 93 | ✓ | -| NodeBuffer#writeFloatBE | 103,352 ops/sec | ±0.83% | 93 | | - -### iojs 1.8.1 - -| Method | Operations | Accuracy | Sampled | Fastest | -|:-------|:-----------|:---------|:--------|:-------:| -| BrowserBuffer#bracket-notation | 10,990,488 ops/sec | ±1.11% | 91 | | -| Uint8Array#bracket-notation | 11,268,757 ops/sec | ±0.65% | 97 | | -| NodeBuffer#bracket-notation | 11,353,260 ops/sec | ±0.83% | 94 | ✓ | -| | | | | -| BrowserBuffer#concat | 378,954 ops/sec | ±0.74% | 94 | | -| Uint8Array#concat | 1,358,288 ops/sec | ±0.97% | 87 | | -| NodeBuffer#concat | 1,934,050 ops/sec | ±1.11% | 78 | ✓ | -| | | | | -| BrowserBuffer#copy(16000) | 894,538 ops/sec | ±0.56% | 84 | | -| Uint8Array#copy(16000) | 1,442,656 ops/sec | ±0.71% | 96 | | -| NodeBuffer#copy(16000) | 1,457,898 ops/sec | ±0.53% | 92 | ✓ | -| | | | | -| BrowserBuffer#copy(16) | 12,870,457 ops/sec | ±0.67% | 95 | | -| Uint8Array#copy(16) | 16,643,989 ops/sec | ±0.61% | 93 | ✓ | -| NodeBuffer#copy(16) | 14,885,848 ops/sec | ±0.74% | 94 | | -| | | | | -| BrowserBuffer#new(16000) | 109,264 ops/sec | ±4.21% | 63 | | -| Uint8Array#new(16000) | 138,916 ops/sec | ±1.87% | 61 | | -| NodeBuffer#new(16000) | 281,449 ops/sec | ±3.58% | 51 | ✓ | -| | | | | -| BrowserBuffer#new(16) | 1,362,935 ops/sec | ±0.56% | 99 | | -| Uint8Array#new(16) | 6,193,090 ops/sec | ±0.64% | 95 | ✓ | -| NodeBuffer#new(16) | 4,745,425 ops/sec | ±1.56% | 90 | | -| | | | | -| BrowserBuffer#readDoubleBE | 118,127 ops/sec | ±0.59% | 93 | ✓ | -| DataView#getFloat64 | 107,332 ops/sec | ±0.65% | 91 | | -| NodeBuffer#readDoubleBE | 116,274 ops/sec | ±0.94% | 95 | | -| | | | | -| BrowserBuffer#readFloatBE | 150,326 ops/sec | ±0.58% | 95 | ✓ | -| DataView#getFloat32 | 110,541 ops/sec | ±0.57% | 98 | | -| NodeBuffer#readFloatBE | 121,599 ops/sec | ±0.60% | 87 | | -| | | | | -| BrowserBuffer#readUInt32LE | 814,147 ops/sec | ±0.62% | 93 | | -| DataView#getUint32 | 137,592 ops/sec | ±0.64% | 90 | | -| NodeBuffer#readUInt32LE | 931,650 ops/sec | ±0.71% | 96 | ✓ | -| | | | | -| BrowserBuffer#slice | 878,590 ops/sec | ±0.68% | 93 | | -| Uint8Array#subarray | 2,843,308 ops/sec | ±1.02% | 90 | | -| NodeBuffer#slice | 4,998,316 ops/sec | ±0.68% | 90 | ✓ | -| | | | | -| BrowserBuffer#writeFloatBE | 65,927 ops/sec | ±0.74% | 93 | | -| DataView#setFloat32 | 139,823 ops/sec | ±0.97% | 89 | ✓ | -| NodeBuffer#writeFloatBE | 135,763 ops/sec | ±0.65% | 96 | | -| | | | | - -## Testing the project - -First, install the project: - - npm install - -Then, to run tests in Node.js, run: - - npm run test-node - -To test locally in a browser, you can run: - - npm run test-browser-es5-local # For ES5 browsers that don't support ES6 - npm run test-browser-es6-local # For ES6 compliant browsers - -This will print out a URL that you can then open in a browser to run the tests, using [airtap](https://www.npmjs.com/package/airtap). - -To run automated browser tests using Saucelabs, ensure that your `SAUCE_USERNAME` and `SAUCE_ACCESS_KEY` environment variables are set, then run: - - npm test - -This is what's run in Travis, to check against various browsers. The list of browsers is kept in the `bin/airtap-es5.yml` and `bin/airtap-es6.yml` files. - -## JavaScript Standard Style - -This module uses [JavaScript Standard Style](https://github.com/feross/standard). - -[![JavaScript Style Guide](https://cdn.rawgit.com/feross/standard/master/badge.svg)](https://github.com/feross/standard) - -To test that the code conforms to the style, `npm install` and run: - - ./node_modules/.bin/standard - -## credit - -This was originally forked from [buffer-browserify](https://github.com/toots/buffer-browserify). - -## Security Policies and Procedures - -The `buffer` team and community take all security bugs in `buffer` seriously. Please see our [security policies and procedures](https://github.com/feross/security) document to learn how to report issues. - -## license - -MIT. Copyright (C) [Feross Aboukhadijeh](http://feross.org), and other contributors. Originally forked from an MIT-licensed module by Romain Beauxis. diff --git a/node_modules/buffer/index.d.ts b/node_modules/buffer/index.d.ts deleted file mode 100644 index 5d1a804..0000000 --- a/node_modules/buffer/index.d.ts +++ /dev/null @@ -1,186 +0,0 @@ -export class Buffer extends Uint8Array { - length: number - write(string: string, offset?: number, length?: number, encoding?: string): number; - toString(encoding?: string, start?: number, end?: number): string; - toJSON(): { type: 'Buffer', data: any[] }; - equals(otherBuffer: Buffer): boolean; - compare(otherBuffer: Buffer, targetStart?: number, targetEnd?: number, sourceStart?: number, sourceEnd?: number): number; - copy(targetBuffer: Buffer, targetStart?: number, sourceStart?: number, sourceEnd?: number): number; - slice(start?: number, end?: number): Buffer; - writeUIntLE(value: number, offset: number, byteLength: number, noAssert?: boolean): number; - writeUIntBE(value: number, offset: number, byteLength: number, noAssert?: boolean): number; - writeIntLE(value: number, offset: number, byteLength: number, noAssert?: boolean): number; - writeIntBE(value: number, offset: number, byteLength: number, noAssert?: boolean): number; - readUIntLE(offset: number, byteLength: number, noAssert?: boolean): number; - readUIntBE(offset: number, byteLength: number, noAssert?: boolean): number; - readIntLE(offset: number, byteLength: number, noAssert?: boolean): number; - readIntBE(offset: number, byteLength: number, noAssert?: boolean): number; - readUInt8(offset: number, noAssert?: boolean): number; - readUInt16LE(offset: number, noAssert?: boolean): number; - readUInt16BE(offset: number, noAssert?: boolean): number; - readUInt32LE(offset: number, noAssert?: boolean): number; - readUInt32BE(offset: number, noAssert?: boolean): number; - readInt8(offset: number, noAssert?: boolean): number; - readInt16LE(offset: number, noAssert?: boolean): number; - readInt16BE(offset: number, noAssert?: boolean): number; - readInt32LE(offset: number, noAssert?: boolean): number; - readInt32BE(offset: number, noAssert?: boolean): number; - readFloatLE(offset: number, noAssert?: boolean): number; - readFloatBE(offset: number, noAssert?: boolean): number; - readDoubleLE(offset: number, noAssert?: boolean): number; - readDoubleBE(offset: number, noAssert?: boolean): number; - reverse(): this; - swap16(): Buffer; - swap32(): Buffer; - swap64(): Buffer; - writeUInt8(value: number, offset: number, noAssert?: boolean): number; - writeUInt16LE(value: number, offset: number, noAssert?: boolean): number; - writeUInt16BE(value: number, offset: number, noAssert?: boolean): number; - writeUInt32LE(value: number, offset: number, noAssert?: boolean): number; - writeUInt32BE(value: number, offset: number, noAssert?: boolean): number; - writeInt8(value: number, offset: number, noAssert?: boolean): number; - writeInt16LE(value: number, offset: number, noAssert?: boolean): number; - writeInt16BE(value: number, offset: number, noAssert?: boolean): number; - writeInt32LE(value: number, offset: number, noAssert?: boolean): number; - writeInt32BE(value: number, offset: number, noAssert?: boolean): number; - writeFloatLE(value: number, offset: number, noAssert?: boolean): number; - writeFloatBE(value: number, offset: number, noAssert?: boolean): number; - writeDoubleLE(value: number, offset: number, noAssert?: boolean): number; - writeDoubleBE(value: number, offset: number, noAssert?: boolean): number; - fill(value: any, offset?: number, end?: number): this; - indexOf(value: string | number | Buffer, byteOffset?: number, encoding?: string): number; - lastIndexOf(value: string | number | Buffer, byteOffset?: number, encoding?: string): number; - includes(value: string | number | Buffer, byteOffset?: number, encoding?: string): boolean; - - /** - * Allocates a new buffer containing the given {str}. - * - * @param str String to store in buffer. - * @param encoding encoding to use, optional. Default is 'utf8' - */ - constructor (str: string, encoding?: string); - /** - * Allocates a new buffer of {size} octets. - * - * @param size count of octets to allocate. - */ - constructor (size: number); - /** - * Allocates a new buffer containing the given {array} of octets. - * - * @param array The octets to store. - */ - constructor (array: Uint8Array); - /** - * Produces a Buffer backed by the same allocated memory as - * the given {ArrayBuffer}. - * - * - * @param arrayBuffer The ArrayBuffer with which to share memory. - */ - constructor (arrayBuffer: ArrayBuffer); - /** - * Allocates a new buffer containing the given {array} of octets. - * - * @param array The octets to store. - */ - constructor (array: any[]); - /** - * Copies the passed {buffer} data onto a new {Buffer} instance. - * - * @param buffer The buffer to copy. - */ - constructor (buffer: Buffer); - prototype: Buffer; - /** - * Allocates a new Buffer using an {array} of octets. - * - * @param array - */ - static from(array: any[]): Buffer; - /** - * When passed a reference to the .buffer property of a TypedArray instance, - * the newly created Buffer will share the same allocated memory as the TypedArray. - * The optional {byteOffset} and {length} arguments specify a memory range - * within the {arrayBuffer} that will be shared by the Buffer. - * - * @param arrayBuffer The .buffer property of a TypedArray or a new ArrayBuffer() - * @param byteOffset - * @param length - */ - static from(arrayBuffer: ArrayBuffer, byteOffset?: number, length?: number): Buffer; - /** - * Copies the passed {buffer} data onto a new Buffer instance. - * - * @param buffer - */ - static from(buffer: Buffer | Uint8Array): Buffer; - /** - * Creates a new Buffer containing the given JavaScript string {str}. - * If provided, the {encoding} parameter identifies the character encoding. - * If not provided, {encoding} defaults to 'utf8'. - * - * @param str - */ - static from(str: string, encoding?: string): Buffer; - /** - * Returns true if {obj} is a Buffer - * - * @param obj object to test. - */ - static isBuffer(obj: any): obj is Buffer; - /** - * Returns true if {encoding} is a valid encoding argument. - * Valid string encodings in Node 0.12: 'ascii'|'utf8'|'utf16le'|'ucs2'(alias of 'utf16le')|'base64'|'binary'(deprecated)|'hex' - * - * @param encoding string to test. - */ - static isEncoding(encoding: string): boolean; - /** - * Gives the actual byte length of a string. encoding defaults to 'utf8'. - * This is not the same as String.prototype.length since that returns the number of characters in a string. - * - * @param string string to test. - * @param encoding encoding used to evaluate (defaults to 'utf8') - */ - static byteLength(string: string, encoding?: string): number; - /** - * Returns a buffer which is the result of concatenating all the buffers in the list together. - * - * If the list has no items, or if the totalLength is 0, then it returns a zero-length buffer. - * If the list has exactly one item, then the first item of the list is returned. - * If the list has more than one item, then a new Buffer is created. - * - * @param list An array of Buffer objects to concatenate - * @param totalLength Total length of the buffers when concatenated. - * If totalLength is not provided, it is read from the buffers in the list. However, this adds an additional loop to the function, so it is faster to provide the length explicitly. - */ - static concat(list: Buffer[], totalLength?: number): Buffer; - /** - * The same as buf1.compare(buf2). - */ - static compare(buf1: Buffer, buf2: Buffer): number; - /** - * Allocates a new buffer of {size} octets. - * - * @param size count of octets to allocate. - * @param fill if specified, buffer will be initialized by calling buf.fill(fill). - * If parameter is omitted, buffer will be filled with zeros. - * @param encoding encoding used for call to buf.fill while initializing - */ - static alloc(size: number, fill?: string | Buffer | number, encoding?: string): Buffer; - /** - * Allocates a new buffer of {size} octets, leaving memory not initialized, so the contents - * of the newly created Buffer are unknown and may contain sensitive data. - * - * @param size count of octets to allocate - */ - static allocUnsafe(size: number): Buffer; - /** - * Allocates a new non-pooled buffer of {size} octets, leaving memory not initialized, so the contents - * of the newly created Buffer are unknown and may contain sensitive data. - * - * @param size count of octets to allocate - */ - static allocUnsafeSlow(size: number): Buffer; -} diff --git a/node_modules/buffer/index.js b/node_modules/buffer/index.js deleted file mode 100644 index 609cf31..0000000 --- a/node_modules/buffer/index.js +++ /dev/null @@ -1,1817 +0,0 @@ -/*! - * The buffer module from node.js, for the browser. - * - * @author Feross Aboukhadijeh - * @license MIT - */ -/* eslint-disable no-proto */ - -'use strict' - -var base64 = require('base64-js') -var ieee754 = require('ieee754') -var customInspectSymbol = - (typeof Symbol === 'function' && typeof Symbol['for'] === 'function') // eslint-disable-line dot-notation - ? Symbol['for']('nodejs.util.inspect.custom') // eslint-disable-line dot-notation - : null - -exports.Buffer = Buffer -exports.SlowBuffer = SlowBuffer -exports.INSPECT_MAX_BYTES = 50 - -var K_MAX_LENGTH = 0x7fffffff -exports.kMaxLength = K_MAX_LENGTH - -/** - * If `Buffer.TYPED_ARRAY_SUPPORT`: - * === true Use Uint8Array implementation (fastest) - * === false Print warning and recommend using `buffer` v4.x which has an Object - * implementation (most compatible, even IE6) - * - * Browsers that support typed arrays are IE 10+, Firefox 4+, Chrome 7+, Safari 5.1+, - * Opera 11.6+, iOS 4.2+. - * - * We report that the browser does not support typed arrays if the are not subclassable - * using __proto__. Firefox 4-29 lacks support for adding new properties to `Uint8Array` - * (See: https://bugzilla.mozilla.org/show_bug.cgi?id=695438). IE 10 lacks support - * for __proto__ and has a buggy typed array implementation. - */ -Buffer.TYPED_ARRAY_SUPPORT = typedArraySupport() - -if (!Buffer.TYPED_ARRAY_SUPPORT && typeof console !== 'undefined' && - typeof console.error === 'function') { - console.error( - 'This browser lacks typed array (Uint8Array) support which is required by ' + - '`buffer` v5.x. Use `buffer` v4.x if you require old browser support.' - ) -} - -function typedArraySupport () { - // Can typed array instances can be augmented? - try { - var arr = new Uint8Array(1) - var proto = { foo: function () { return 42 } } - Object.setPrototypeOf(proto, Uint8Array.prototype) - Object.setPrototypeOf(arr, proto) - return arr.foo() === 42 - } catch (e) { - return false - } -} - -Object.defineProperty(Buffer.prototype, 'parent', { - enumerable: true, - get: function () { - if (!Buffer.isBuffer(this)) return undefined - return this.buffer - } -}) - -Object.defineProperty(Buffer.prototype, 'offset', { - enumerable: true, - get: function () { - if (!Buffer.isBuffer(this)) return undefined - return this.byteOffset - } -}) - -function createBuffer (length) { - if (length > K_MAX_LENGTH) { - throw new RangeError('The value "' + length + '" is invalid for option "size"') - } - // Return an augmented `Uint8Array` instance - var buf = new Uint8Array(length) - Object.setPrototypeOf(buf, Buffer.prototype) - return buf -} - -/** - * The Buffer constructor returns instances of `Uint8Array` that have their - * prototype changed to `Buffer.prototype`. Furthermore, `Buffer` is a subclass of - * `Uint8Array`, so the returned instances will have all the node `Buffer` methods - * and the `Uint8Array` methods. Square bracket notation works as expected -- it - * returns a single octet. - * - * The `Uint8Array` prototype remains unmodified. - */ - -function Buffer (arg, encodingOrOffset, length) { - // Common case. - if (typeof arg === 'number') { - if (typeof encodingOrOffset === 'string') { - throw new TypeError( - 'The "string" argument must be of type string. Received type number' - ) - } - return allocUnsafe(arg) - } - return from(arg, encodingOrOffset, length) -} - -Buffer.poolSize = 8192 // not used by this implementation - -function from (value, encodingOrOffset, length) { - if (typeof value === 'string') { - return fromString(value, encodingOrOffset) - } - - if (ArrayBuffer.isView(value)) { - return fromArrayView(value) - } - - if (value == null) { - throw new TypeError( - 'The first argument must be one of type string, Buffer, ArrayBuffer, Array, ' + - 'or Array-like Object. Received type ' + (typeof value) - ) - } - - if (isInstance(value, ArrayBuffer) || - (value && isInstance(value.buffer, ArrayBuffer))) { - return fromArrayBuffer(value, encodingOrOffset, length) - } - - if (typeof SharedArrayBuffer !== 'undefined' && - (isInstance(value, SharedArrayBuffer) || - (value && isInstance(value.buffer, SharedArrayBuffer)))) { - return fromArrayBuffer(value, encodingOrOffset, length) - } - - if (typeof value === 'number') { - throw new TypeError( - 'The "value" argument must not be of type number. Received type number' - ) - } - - var valueOf = value.valueOf && value.valueOf() - if (valueOf != null && valueOf !== value) { - return Buffer.from(valueOf, encodingOrOffset, length) - } - - var b = fromObject(value) - if (b) return b - - if (typeof Symbol !== 'undefined' && Symbol.toPrimitive != null && - typeof value[Symbol.toPrimitive] === 'function') { - return Buffer.from( - value[Symbol.toPrimitive]('string'), encodingOrOffset, length - ) - } - - throw new TypeError( - 'The first argument must be one of type string, Buffer, ArrayBuffer, Array, ' + - 'or Array-like Object. Received type ' + (typeof value) - ) -} - -/** - * Functionally equivalent to Buffer(arg, encoding) but throws a TypeError - * if value is a number. - * Buffer.from(str[, encoding]) - * Buffer.from(array) - * Buffer.from(buffer) - * Buffer.from(arrayBuffer[, byteOffset[, length]]) - **/ -Buffer.from = function (value, encodingOrOffset, length) { - return from(value, encodingOrOffset, length) -} - -// Note: Change prototype *after* Buffer.from is defined to workaround Chrome bug: -// https://github.com/feross/buffer/pull/148 -Object.setPrototypeOf(Buffer.prototype, Uint8Array.prototype) -Object.setPrototypeOf(Buffer, Uint8Array) - -function assertSize (size) { - if (typeof size !== 'number') { - throw new TypeError('"size" argument must be of type number') - } else if (size < 0) { - throw new RangeError('The value "' + size + '" is invalid for option "size"') - } -} - -function alloc (size, fill, encoding) { - assertSize(size) - if (size <= 0) { - return createBuffer(size) - } - if (fill !== undefined) { - // Only pay attention to encoding if it's a string. This - // prevents accidentally sending in a number that would - // be interpreted as a start offset. - return typeof encoding === 'string' - ? createBuffer(size).fill(fill, encoding) - : createBuffer(size).fill(fill) - } - return createBuffer(size) -} - -/** - * Creates a new filled Buffer instance. - * alloc(size[, fill[, encoding]]) - **/ -Buffer.alloc = function (size, fill, encoding) { - return alloc(size, fill, encoding) -} - -function allocUnsafe (size) { - assertSize(size) - return createBuffer(size < 0 ? 0 : checked(size) | 0) -} - -/** - * Equivalent to Buffer(num), by default creates a non-zero-filled Buffer instance. - * */ -Buffer.allocUnsafe = function (size) { - return allocUnsafe(size) -} -/** - * Equivalent to SlowBuffer(num), by default creates a non-zero-filled Buffer instance. - */ -Buffer.allocUnsafeSlow = function (size) { - return allocUnsafe(size) -} - -function fromString (string, encoding) { - if (typeof encoding !== 'string' || encoding === '') { - encoding = 'utf8' - } - - if (!Buffer.isEncoding(encoding)) { - throw new TypeError('Unknown encoding: ' + encoding) - } - - var length = byteLength(string, encoding) | 0 - var buf = createBuffer(length) - - var actual = buf.write(string, encoding) - - if (actual !== length) { - // Writing a hex string, for example, that contains invalid characters will - // cause everything after the first invalid character to be ignored. (e.g. - // 'abxxcd' will be treated as 'ab') - buf = buf.slice(0, actual) - } - - return buf -} - -function fromArrayLike (array) { - var length = array.length < 0 ? 0 : checked(array.length) | 0 - var buf = createBuffer(length) - for (var i = 0; i < length; i += 1) { - buf[i] = array[i] & 255 - } - return buf -} - -function fromArrayView (arrayView) { - if (isInstance(arrayView, Uint8Array)) { - var copy = new Uint8Array(arrayView) - return fromArrayBuffer(copy.buffer, copy.byteOffset, copy.byteLength) - } - return fromArrayLike(arrayView) -} - -function fromArrayBuffer (array, byteOffset, length) { - if (byteOffset < 0 || array.byteLength < byteOffset) { - throw new RangeError('"offset" is outside of buffer bounds') - } - - if (array.byteLength < byteOffset + (length || 0)) { - throw new RangeError('"length" is outside of buffer bounds') - } - - var buf - if (byteOffset === undefined && length === undefined) { - buf = new Uint8Array(array) - } else if (length === undefined) { - buf = new Uint8Array(array, byteOffset) - } else { - buf = new Uint8Array(array, byteOffset, length) - } - - // Return an augmented `Uint8Array` instance - Object.setPrototypeOf(buf, Buffer.prototype) - - return buf -} - -function fromObject (obj) { - if (Buffer.isBuffer(obj)) { - var len = checked(obj.length) | 0 - var buf = createBuffer(len) - - if (buf.length === 0) { - return buf - } - - obj.copy(buf, 0, 0, len) - return buf - } - - if (obj.length !== undefined) { - if (typeof obj.length !== 'number' || numberIsNaN(obj.length)) { - return createBuffer(0) - } - return fromArrayLike(obj) - } - - if (obj.type === 'Buffer' && Array.isArray(obj.data)) { - return fromArrayLike(obj.data) - } -} - -function checked (length) { - // Note: cannot use `length < K_MAX_LENGTH` here because that fails when - // length is NaN (which is otherwise coerced to zero.) - if (length >= K_MAX_LENGTH) { - throw new RangeError('Attempt to allocate Buffer larger than maximum ' + - 'size: 0x' + K_MAX_LENGTH.toString(16) + ' bytes') - } - return length | 0 -} - -function SlowBuffer (length) { - if (+length != length) { // eslint-disable-line eqeqeq - length = 0 - } - return Buffer.alloc(+length) -} - -Buffer.isBuffer = function isBuffer (b) { - return b != null && b._isBuffer === true && - b !== Buffer.prototype // so Buffer.isBuffer(Buffer.prototype) will be false -} - -Buffer.compare = function compare (a, b) { - if (isInstance(a, Uint8Array)) a = Buffer.from(a, a.offset, a.byteLength) - if (isInstance(b, Uint8Array)) b = Buffer.from(b, b.offset, b.byteLength) - if (!Buffer.isBuffer(a) || !Buffer.isBuffer(b)) { - throw new TypeError( - 'The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array' - ) - } - - if (a === b) return 0 - - var x = a.length - var y = b.length - - for (var i = 0, len = Math.min(x, y); i < len; ++i) { - if (a[i] !== b[i]) { - x = a[i] - y = b[i] - break - } - } - - if (x < y) return -1 - if (y < x) return 1 - return 0 -} - -Buffer.isEncoding = function isEncoding (encoding) { - switch (String(encoding).toLowerCase()) { - case 'hex': - case 'utf8': - case 'utf-8': - case 'ascii': - case 'latin1': - case 'binary': - case 'base64': - case 'ucs2': - case 'ucs-2': - case 'utf16le': - case 'utf-16le': - return true - default: - return false - } -} - -Buffer.concat = function concat (list, length) { - if (!Array.isArray(list)) { - throw new TypeError('"list" argument must be an Array of Buffers') - } - - if (list.length === 0) { - return Buffer.alloc(0) - } - - var i - if (length === undefined) { - length = 0 - for (i = 0; i < list.length; ++i) { - length += list[i].length - } - } - - var buffer = Buffer.allocUnsafe(length) - var pos = 0 - for (i = 0; i < list.length; ++i) { - var buf = list[i] - if (isInstance(buf, Uint8Array)) { - if (pos + buf.length > buffer.length) { - Buffer.from(buf).copy(buffer, pos) - } else { - Uint8Array.prototype.set.call( - buffer, - buf, - pos - ) - } - } else if (!Buffer.isBuffer(buf)) { - throw new TypeError('"list" argument must be an Array of Buffers') - } else { - buf.copy(buffer, pos) - } - pos += buf.length - } - return buffer -} - -function byteLength (string, encoding) { - if (Buffer.isBuffer(string)) { - return string.length - } - if (ArrayBuffer.isView(string) || isInstance(string, ArrayBuffer)) { - return string.byteLength - } - if (typeof string !== 'string') { - throw new TypeError( - 'The "string" argument must be one of type string, Buffer, or ArrayBuffer. ' + - 'Received type ' + typeof string - ) - } - - var len = string.length - var mustMatch = (arguments.length > 2 && arguments[2] === true) - if (!mustMatch && len === 0) return 0 - - // Use a for loop to avoid recursion - var loweredCase = false - for (;;) { - switch (encoding) { - case 'ascii': - case 'latin1': - case 'binary': - return len - case 'utf8': - case 'utf-8': - return utf8ToBytes(string).length - case 'ucs2': - case 'ucs-2': - case 'utf16le': - case 'utf-16le': - return len * 2 - case 'hex': - return len >>> 1 - case 'base64': - return base64ToBytes(string).length - default: - if (loweredCase) { - return mustMatch ? -1 : utf8ToBytes(string).length // assume utf8 - } - encoding = ('' + encoding).toLowerCase() - loweredCase = true - } - } -} -Buffer.byteLength = byteLength - -function slowToString (encoding, start, end) { - var loweredCase = false - - // No need to verify that "this.length <= MAX_UINT32" since it's a read-only - // property of a typed array. - - // This behaves neither like String nor Uint8Array in that we set start/end - // to their upper/lower bounds if the value passed is out of range. - // undefined is handled specially as per ECMA-262 6th Edition, - // Section 13.3.3.7 Runtime Semantics: KeyedBindingInitialization. - if (start === undefined || start < 0) { - start = 0 - } - // Return early if start > this.length. Done here to prevent potential uint32 - // coercion fail below. - if (start > this.length) { - return '' - } - - if (end === undefined || end > this.length) { - end = this.length - } - - if (end <= 0) { - return '' - } - - // Force coercion to uint32. This will also coerce falsey/NaN values to 0. - end >>>= 0 - start >>>= 0 - - if (end <= start) { - return '' - } - - if (!encoding) encoding = 'utf8' - - while (true) { - switch (encoding) { - case 'hex': - return hexSlice(this, start, end) - - case 'utf8': - case 'utf-8': - return utf8Slice(this, start, end) - - case 'ascii': - return asciiSlice(this, start, end) - - case 'latin1': - case 'binary': - return latin1Slice(this, start, end) - - case 'base64': - return base64Slice(this, start, end) - - case 'ucs2': - case 'ucs-2': - case 'utf16le': - case 'utf-16le': - return utf16leSlice(this, start, end) - - default: - if (loweredCase) throw new TypeError('Unknown encoding: ' + encoding) - encoding = (encoding + '').toLowerCase() - loweredCase = true - } - } -} - -// This property is used by `Buffer.isBuffer` (and the `is-buffer` npm package) -// to detect a Buffer instance. It's not possible to use `instanceof Buffer` -// reliably in a browserify context because there could be multiple different -// copies of the 'buffer' package in use. This method works even for Buffer -// instances that were created from another copy of the `buffer` package. -// See: https://github.com/feross/buffer/issues/154 -Buffer.prototype._isBuffer = true - -function swap (b, n, m) { - var i = b[n] - b[n] = b[m] - b[m] = i -} - -Buffer.prototype.swap16 = function swap16 () { - var len = this.length - if (len % 2 !== 0) { - throw new RangeError('Buffer size must be a multiple of 16-bits') - } - for (var i = 0; i < len; i += 2) { - swap(this, i, i + 1) - } - return this -} - -Buffer.prototype.swap32 = function swap32 () { - var len = this.length - if (len % 4 !== 0) { - throw new RangeError('Buffer size must be a multiple of 32-bits') - } - for (var i = 0; i < len; i += 4) { - swap(this, i, i + 3) - swap(this, i + 1, i + 2) - } - return this -} - -Buffer.prototype.swap64 = function swap64 () { - var len = this.length - if (len % 8 !== 0) { - throw new RangeError('Buffer size must be a multiple of 64-bits') - } - for (var i = 0; i < len; i += 8) { - swap(this, i, i + 7) - swap(this, i + 1, i + 6) - swap(this, i + 2, i + 5) - swap(this, i + 3, i + 4) - } - return this -} - -Buffer.prototype.toString = function toString () { - var length = this.length - if (length === 0) return '' - if (arguments.length === 0) return utf8Slice(this, 0, length) - return slowToString.apply(this, arguments) -} - -Buffer.prototype.toLocaleString = Buffer.prototype.toString - -Buffer.prototype.equals = function equals (b) { - if (!Buffer.isBuffer(b)) throw new TypeError('Argument must be a Buffer') - if (this === b) return true - return Buffer.compare(this, b) === 0 -} - -Buffer.prototype.inspect = function inspect () { - var str = '' - var max = exports.INSPECT_MAX_BYTES - str = this.toString('hex', 0, max).replace(/(.{2})/g, '$1 ').trim() - if (this.length > max) str += ' ... ' - return '' -} -if (customInspectSymbol) { - Buffer.prototype[customInspectSymbol] = Buffer.prototype.inspect -} - -Buffer.prototype.compare = function compare (target, start, end, thisStart, thisEnd) { - if (isInstance(target, Uint8Array)) { - target = Buffer.from(target, target.offset, target.byteLength) - } - if (!Buffer.isBuffer(target)) { - throw new TypeError( - 'The "target" argument must be one of type Buffer or Uint8Array. ' + - 'Received type ' + (typeof target) - ) - } - - if (start === undefined) { - start = 0 - } - if (end === undefined) { - end = target ? target.length : 0 - } - if (thisStart === undefined) { - thisStart = 0 - } - if (thisEnd === undefined) { - thisEnd = this.length - } - - if (start < 0 || end > target.length || thisStart < 0 || thisEnd > this.length) { - throw new RangeError('out of range index') - } - - if (thisStart >= thisEnd && start >= end) { - return 0 - } - if (thisStart >= thisEnd) { - return -1 - } - if (start >= end) { - return 1 - } - - start >>>= 0 - end >>>= 0 - thisStart >>>= 0 - thisEnd >>>= 0 - - if (this === target) return 0 - - var x = thisEnd - thisStart - var y = end - start - var len = Math.min(x, y) - - var thisCopy = this.slice(thisStart, thisEnd) - var targetCopy = target.slice(start, end) - - for (var i = 0; i < len; ++i) { - if (thisCopy[i] !== targetCopy[i]) { - x = thisCopy[i] - y = targetCopy[i] - break - } - } - - if (x < y) return -1 - if (y < x) return 1 - return 0 -} - -// Finds either the first index of `val` in `buffer` at offset >= `byteOffset`, -// OR the last index of `val` in `buffer` at offset <= `byteOffset`. -// -// Arguments: -// - buffer - a Buffer to search -// - val - a string, Buffer, or number -// - byteOffset - an index into `buffer`; will be clamped to an int32 -// - encoding - an optional encoding, relevant is val is a string -// - dir - true for indexOf, false for lastIndexOf -function bidirectionalIndexOf (buffer, val, byteOffset, encoding, dir) { - // Empty buffer means no match - if (buffer.length === 0) return -1 - - // Normalize byteOffset - if (typeof byteOffset === 'string') { - encoding = byteOffset - byteOffset = 0 - } else if (byteOffset > 0x7fffffff) { - byteOffset = 0x7fffffff - } else if (byteOffset < -0x80000000) { - byteOffset = -0x80000000 - } - byteOffset = +byteOffset // Coerce to Number. - if (numberIsNaN(byteOffset)) { - // byteOffset: it it's undefined, null, NaN, "foo", etc, search whole buffer - byteOffset = dir ? 0 : (buffer.length - 1) - } - - // Normalize byteOffset: negative offsets start from the end of the buffer - if (byteOffset < 0) byteOffset = buffer.length + byteOffset - if (byteOffset >= buffer.length) { - if (dir) return -1 - else byteOffset = buffer.length - 1 - } else if (byteOffset < 0) { - if (dir) byteOffset = 0 - else return -1 - } - - // Normalize val - if (typeof val === 'string') { - val = Buffer.from(val, encoding) - } - - // Finally, search either indexOf (if dir is true) or lastIndexOf - if (Buffer.isBuffer(val)) { - // Special case: looking for empty string/buffer always fails - if (val.length === 0) { - return -1 - } - return arrayIndexOf(buffer, val, byteOffset, encoding, dir) - } else if (typeof val === 'number') { - val = val & 0xFF // Search for a byte value [0-255] - if (typeof Uint8Array.prototype.indexOf === 'function') { - if (dir) { - return Uint8Array.prototype.indexOf.call(buffer, val, byteOffset) - } else { - return Uint8Array.prototype.lastIndexOf.call(buffer, val, byteOffset) - } - } - return arrayIndexOf(buffer, [val], byteOffset, encoding, dir) - } - - throw new TypeError('val must be string, number or Buffer') -} - -function arrayIndexOf (arr, val, byteOffset, encoding, dir) { - var indexSize = 1 - var arrLength = arr.length - var valLength = val.length - - if (encoding !== undefined) { - encoding = String(encoding).toLowerCase() - if (encoding === 'ucs2' || encoding === 'ucs-2' || - encoding === 'utf16le' || encoding === 'utf-16le') { - if (arr.length < 2 || val.length < 2) { - return -1 - } - indexSize = 2 - arrLength /= 2 - valLength /= 2 - byteOffset /= 2 - } - } - - function read (buf, i) { - if (indexSize === 1) { - return buf[i] - } else { - return buf.readUInt16BE(i * indexSize) - } - } - - var i - if (dir) { - var foundIndex = -1 - for (i = byteOffset; i < arrLength; i++) { - if (read(arr, i) === read(val, foundIndex === -1 ? 0 : i - foundIndex)) { - if (foundIndex === -1) foundIndex = i - if (i - foundIndex + 1 === valLength) return foundIndex * indexSize - } else { - if (foundIndex !== -1) i -= i - foundIndex - foundIndex = -1 - } - } - } else { - if (byteOffset + valLength > arrLength) byteOffset = arrLength - valLength - for (i = byteOffset; i >= 0; i--) { - var found = true - for (var j = 0; j < valLength; j++) { - if (read(arr, i + j) !== read(val, j)) { - found = false - break - } - } - if (found) return i - } - } - - return -1 -} - -Buffer.prototype.includes = function includes (val, byteOffset, encoding) { - return this.indexOf(val, byteOffset, encoding) !== -1 -} - -Buffer.prototype.indexOf = function indexOf (val, byteOffset, encoding) { - return bidirectionalIndexOf(this, val, byteOffset, encoding, true) -} - -Buffer.prototype.lastIndexOf = function lastIndexOf (val, byteOffset, encoding) { - return bidirectionalIndexOf(this, val, byteOffset, encoding, false) -} - -function hexWrite (buf, string, offset, length) { - offset = Number(offset) || 0 - var remaining = buf.length - offset - if (!length) { - length = remaining - } else { - length = Number(length) - if (length > remaining) { - length = remaining - } - } - - var strLen = string.length - - if (length > strLen / 2) { - length = strLen / 2 - } - for (var i = 0; i < length; ++i) { - var parsed = parseInt(string.substr(i * 2, 2), 16) - if (numberIsNaN(parsed)) return i - buf[offset + i] = parsed - } - return i -} - -function utf8Write (buf, string, offset, length) { - return blitBuffer(utf8ToBytes(string, buf.length - offset), buf, offset, length) -} - -function asciiWrite (buf, string, offset, length) { - return blitBuffer(asciiToBytes(string), buf, offset, length) -} - -function base64Write (buf, string, offset, length) { - return blitBuffer(base64ToBytes(string), buf, offset, length) -} - -function ucs2Write (buf, string, offset, length) { - return blitBuffer(utf16leToBytes(string, buf.length - offset), buf, offset, length) -} - -Buffer.prototype.write = function write (string, offset, length, encoding) { - // Buffer#write(string) - if (offset === undefined) { - encoding = 'utf8' - length = this.length - offset = 0 - // Buffer#write(string, encoding) - } else if (length === undefined && typeof offset === 'string') { - encoding = offset - length = this.length - offset = 0 - // Buffer#write(string, offset[, length][, encoding]) - } else if (isFinite(offset)) { - offset = offset >>> 0 - if (isFinite(length)) { - length = length >>> 0 - if (encoding === undefined) encoding = 'utf8' - } else { - encoding = length - length = undefined - } - } else { - throw new Error( - 'Buffer.write(string, encoding, offset[, length]) is no longer supported' - ) - } - - var remaining = this.length - offset - if (length === undefined || length > remaining) length = remaining - - if ((string.length > 0 && (length < 0 || offset < 0)) || offset > this.length) { - throw new RangeError('Attempt to write outside buffer bounds') - } - - if (!encoding) encoding = 'utf8' - - var loweredCase = false - for (;;) { - switch (encoding) { - case 'hex': - return hexWrite(this, string, offset, length) - - case 'utf8': - case 'utf-8': - return utf8Write(this, string, offset, length) - - case 'ascii': - case 'latin1': - case 'binary': - return asciiWrite(this, string, offset, length) - - case 'base64': - // Warning: maxLength not taken into account in base64Write - return base64Write(this, string, offset, length) - - case 'ucs2': - case 'ucs-2': - case 'utf16le': - case 'utf-16le': - return ucs2Write(this, string, offset, length) - - default: - if (loweredCase) throw new TypeError('Unknown encoding: ' + encoding) - encoding = ('' + encoding).toLowerCase() - loweredCase = true - } - } -} - -Buffer.prototype.toJSON = function toJSON () { - return { - type: 'Buffer', - data: Array.prototype.slice.call(this._arr || this, 0) - } -} - -function base64Slice (buf, start, end) { - if (start === 0 && end === buf.length) { - return base64.fromByteArray(buf) - } else { - return base64.fromByteArray(buf.slice(start, end)) - } -} - -function utf8Slice (buf, start, end) { - end = Math.min(buf.length, end) - var res = [] - - var i = start - while (i < end) { - var firstByte = buf[i] - var codePoint = null - var bytesPerSequence = (firstByte > 0xEF) - ? 4 - : (firstByte > 0xDF) - ? 3 - : (firstByte > 0xBF) - ? 2 - : 1 - - if (i + bytesPerSequence <= end) { - var secondByte, thirdByte, fourthByte, tempCodePoint - - switch (bytesPerSequence) { - case 1: - if (firstByte < 0x80) { - codePoint = firstByte - } - break - case 2: - secondByte = buf[i + 1] - if ((secondByte & 0xC0) === 0x80) { - tempCodePoint = (firstByte & 0x1F) << 0x6 | (secondByte & 0x3F) - if (tempCodePoint > 0x7F) { - codePoint = tempCodePoint - } - } - break - case 3: - secondByte = buf[i + 1] - thirdByte = buf[i + 2] - if ((secondByte & 0xC0) === 0x80 && (thirdByte & 0xC0) === 0x80) { - tempCodePoint = (firstByte & 0xF) << 0xC | (secondByte & 0x3F) << 0x6 | (thirdByte & 0x3F) - if (tempCodePoint > 0x7FF && (tempCodePoint < 0xD800 || tempCodePoint > 0xDFFF)) { - codePoint = tempCodePoint - } - } - break - case 4: - secondByte = buf[i + 1] - thirdByte = buf[i + 2] - fourthByte = buf[i + 3] - if ((secondByte & 0xC0) === 0x80 && (thirdByte & 0xC0) === 0x80 && (fourthByte & 0xC0) === 0x80) { - tempCodePoint = (firstByte & 0xF) << 0x12 | (secondByte & 0x3F) << 0xC | (thirdByte & 0x3F) << 0x6 | (fourthByte & 0x3F) - if (tempCodePoint > 0xFFFF && tempCodePoint < 0x110000) { - codePoint = tempCodePoint - } - } - } - } - - if (codePoint === null) { - // we did not generate a valid codePoint so insert a - // replacement char (U+FFFD) and advance only 1 byte - codePoint = 0xFFFD - bytesPerSequence = 1 - } else if (codePoint > 0xFFFF) { - // encode to utf16 (surrogate pair dance) - codePoint -= 0x10000 - res.push(codePoint >>> 10 & 0x3FF | 0xD800) - codePoint = 0xDC00 | codePoint & 0x3FF - } - - res.push(codePoint) - i += bytesPerSequence - } - - return decodeCodePointsArray(res) -} - -// Based on http://stackoverflow.com/a/22747272/680742, the browser with -// the lowest limit is Chrome, with 0x10000 args. -// We go 1 magnitude less, for safety -var MAX_ARGUMENTS_LENGTH = 0x1000 - -function decodeCodePointsArray (codePoints) { - var len = codePoints.length - if (len <= MAX_ARGUMENTS_LENGTH) { - return String.fromCharCode.apply(String, codePoints) // avoid extra slice() - } - - // Decode in chunks to avoid "call stack size exceeded". - var res = '' - var i = 0 - while (i < len) { - res += String.fromCharCode.apply( - String, - codePoints.slice(i, i += MAX_ARGUMENTS_LENGTH) - ) - } - return res -} - -function asciiSlice (buf, start, end) { - var ret = '' - end = Math.min(buf.length, end) - - for (var i = start; i < end; ++i) { - ret += String.fromCharCode(buf[i] & 0x7F) - } - return ret -} - -function latin1Slice (buf, start, end) { - var ret = '' - end = Math.min(buf.length, end) - - for (var i = start; i < end; ++i) { - ret += String.fromCharCode(buf[i]) - } - return ret -} - -function hexSlice (buf, start, end) { - var len = buf.length - - if (!start || start < 0) start = 0 - if (!end || end < 0 || end > len) end = len - - var out = '' - for (var i = start; i < end; ++i) { - out += hexSliceLookupTable[buf[i]] - } - return out -} - -function utf16leSlice (buf, start, end) { - var bytes = buf.slice(start, end) - var res = '' - // If bytes.length is odd, the last 8 bits must be ignored (same as node.js) - for (var i = 0; i < bytes.length - 1; i += 2) { - res += String.fromCharCode(bytes[i] + (bytes[i + 1] * 256)) - } - return res -} - -Buffer.prototype.slice = function slice (start, end) { - var len = this.length - start = ~~start - end = end === undefined ? len : ~~end - - if (start < 0) { - start += len - if (start < 0) start = 0 - } else if (start > len) { - start = len - } - - if (end < 0) { - end += len - if (end < 0) end = 0 - } else if (end > len) { - end = len - } - - if (end < start) end = start - - var newBuf = this.subarray(start, end) - // Return an augmented `Uint8Array` instance - Object.setPrototypeOf(newBuf, Buffer.prototype) - - return newBuf -} - -/* - * Need to make sure that buffer isn't trying to write out of bounds. - */ -function checkOffset (offset, ext, length) { - if ((offset % 1) !== 0 || offset < 0) throw new RangeError('offset is not uint') - if (offset + ext > length) throw new RangeError('Trying to access beyond buffer length') -} - -Buffer.prototype.readUintLE = -Buffer.prototype.readUIntLE = function readUIntLE (offset, byteLength, noAssert) { - offset = offset >>> 0 - byteLength = byteLength >>> 0 - if (!noAssert) checkOffset(offset, byteLength, this.length) - - var val = this[offset] - var mul = 1 - var i = 0 - while (++i < byteLength && (mul *= 0x100)) { - val += this[offset + i] * mul - } - - return val -} - -Buffer.prototype.readUintBE = -Buffer.prototype.readUIntBE = function readUIntBE (offset, byteLength, noAssert) { - offset = offset >>> 0 - byteLength = byteLength >>> 0 - if (!noAssert) { - checkOffset(offset, byteLength, this.length) - } - - var val = this[offset + --byteLength] - var mul = 1 - while (byteLength > 0 && (mul *= 0x100)) { - val += this[offset + --byteLength] * mul - } - - return val -} - -Buffer.prototype.readUint8 = -Buffer.prototype.readUInt8 = function readUInt8 (offset, noAssert) { - offset = offset >>> 0 - if (!noAssert) checkOffset(offset, 1, this.length) - return this[offset] -} - -Buffer.prototype.readUint16LE = -Buffer.prototype.readUInt16LE = function readUInt16LE (offset, noAssert) { - offset = offset >>> 0 - if (!noAssert) checkOffset(offset, 2, this.length) - return this[offset] | (this[offset + 1] << 8) -} - -Buffer.prototype.readUint16BE = -Buffer.prototype.readUInt16BE = function readUInt16BE (offset, noAssert) { - offset = offset >>> 0 - if (!noAssert) checkOffset(offset, 2, this.length) - return (this[offset] << 8) | this[offset + 1] -} - -Buffer.prototype.readUint32LE = -Buffer.prototype.readUInt32LE = function readUInt32LE (offset, noAssert) { - offset = offset >>> 0 - if (!noAssert) checkOffset(offset, 4, this.length) - - return ((this[offset]) | - (this[offset + 1] << 8) | - (this[offset + 2] << 16)) + - (this[offset + 3] * 0x1000000) -} - -Buffer.prototype.readUint32BE = -Buffer.prototype.readUInt32BE = function readUInt32BE (offset, noAssert) { - offset = offset >>> 0 - if (!noAssert) checkOffset(offset, 4, this.length) - - return (this[offset] * 0x1000000) + - ((this[offset + 1] << 16) | - (this[offset + 2] << 8) | - this[offset + 3]) -} - -Buffer.prototype.readIntLE = function readIntLE (offset, byteLength, noAssert) { - offset = offset >>> 0 - byteLength = byteLength >>> 0 - if (!noAssert) checkOffset(offset, byteLength, this.length) - - var val = this[offset] - var mul = 1 - var i = 0 - while (++i < byteLength && (mul *= 0x100)) { - val += this[offset + i] * mul - } - mul *= 0x80 - - if (val >= mul) val -= Math.pow(2, 8 * byteLength) - - return val -} - -Buffer.prototype.readIntBE = function readIntBE (offset, byteLength, noAssert) { - offset = offset >>> 0 - byteLength = byteLength >>> 0 - if (!noAssert) checkOffset(offset, byteLength, this.length) - - var i = byteLength - var mul = 1 - var val = this[offset + --i] - while (i > 0 && (mul *= 0x100)) { - val += this[offset + --i] * mul - } - mul *= 0x80 - - if (val >= mul) val -= Math.pow(2, 8 * byteLength) - - return val -} - -Buffer.prototype.readInt8 = function readInt8 (offset, noAssert) { - offset = offset >>> 0 - if (!noAssert) checkOffset(offset, 1, this.length) - if (!(this[offset] & 0x80)) return (this[offset]) - return ((0xff - this[offset] + 1) * -1) -} - -Buffer.prototype.readInt16LE = function readInt16LE (offset, noAssert) { - offset = offset >>> 0 - if (!noAssert) checkOffset(offset, 2, this.length) - var val = this[offset] | (this[offset + 1] << 8) - return (val & 0x8000) ? val | 0xFFFF0000 : val -} - -Buffer.prototype.readInt16BE = function readInt16BE (offset, noAssert) { - offset = offset >>> 0 - if (!noAssert) checkOffset(offset, 2, this.length) - var val = this[offset + 1] | (this[offset] << 8) - return (val & 0x8000) ? val | 0xFFFF0000 : val -} - -Buffer.prototype.readInt32LE = function readInt32LE (offset, noAssert) { - offset = offset >>> 0 - if (!noAssert) checkOffset(offset, 4, this.length) - - return (this[offset]) | - (this[offset + 1] << 8) | - (this[offset + 2] << 16) | - (this[offset + 3] << 24) -} - -Buffer.prototype.readInt32BE = function readInt32BE (offset, noAssert) { - offset = offset >>> 0 - if (!noAssert) checkOffset(offset, 4, this.length) - - return (this[offset] << 24) | - (this[offset + 1] << 16) | - (this[offset + 2] << 8) | - (this[offset + 3]) -} - -Buffer.prototype.readFloatLE = function readFloatLE (offset, noAssert) { - offset = offset >>> 0 - if (!noAssert) checkOffset(offset, 4, this.length) - return ieee754.read(this, offset, true, 23, 4) -} - -Buffer.prototype.readFloatBE = function readFloatBE (offset, noAssert) { - offset = offset >>> 0 - if (!noAssert) checkOffset(offset, 4, this.length) - return ieee754.read(this, offset, false, 23, 4) -} - -Buffer.prototype.readDoubleLE = function readDoubleLE (offset, noAssert) { - offset = offset >>> 0 - if (!noAssert) checkOffset(offset, 8, this.length) - return ieee754.read(this, offset, true, 52, 8) -} - -Buffer.prototype.readDoubleBE = function readDoubleBE (offset, noAssert) { - offset = offset >>> 0 - if (!noAssert) checkOffset(offset, 8, this.length) - return ieee754.read(this, offset, false, 52, 8) -} - -function checkInt (buf, value, offset, ext, max, min) { - if (!Buffer.isBuffer(buf)) throw new TypeError('"buffer" argument must be a Buffer instance') - if (value > max || value < min) throw new RangeError('"value" argument is out of bounds') - if (offset + ext > buf.length) throw new RangeError('Index out of range') -} - -Buffer.prototype.writeUintLE = -Buffer.prototype.writeUIntLE = function writeUIntLE (value, offset, byteLength, noAssert) { - value = +value - offset = offset >>> 0 - byteLength = byteLength >>> 0 - if (!noAssert) { - var maxBytes = Math.pow(2, 8 * byteLength) - 1 - checkInt(this, value, offset, byteLength, maxBytes, 0) - } - - var mul = 1 - var i = 0 - this[offset] = value & 0xFF - while (++i < byteLength && (mul *= 0x100)) { - this[offset + i] = (value / mul) & 0xFF - } - - return offset + byteLength -} - -Buffer.prototype.writeUintBE = -Buffer.prototype.writeUIntBE = function writeUIntBE (value, offset, byteLength, noAssert) { - value = +value - offset = offset >>> 0 - byteLength = byteLength >>> 0 - if (!noAssert) { - var maxBytes = Math.pow(2, 8 * byteLength) - 1 - checkInt(this, value, offset, byteLength, maxBytes, 0) - } - - var i = byteLength - 1 - var mul = 1 - this[offset + i] = value & 0xFF - while (--i >= 0 && (mul *= 0x100)) { - this[offset + i] = (value / mul) & 0xFF - } - - return offset + byteLength -} - -Buffer.prototype.writeUint8 = -Buffer.prototype.writeUInt8 = function writeUInt8 (value, offset, noAssert) { - value = +value - offset = offset >>> 0 - if (!noAssert) checkInt(this, value, offset, 1, 0xff, 0) - this[offset] = (value & 0xff) - return offset + 1 -} - -Buffer.prototype.writeUint16LE = -Buffer.prototype.writeUInt16LE = function writeUInt16LE (value, offset, noAssert) { - value = +value - offset = offset >>> 0 - if (!noAssert) checkInt(this, value, offset, 2, 0xffff, 0) - this[offset] = (value & 0xff) - this[offset + 1] = (value >>> 8) - return offset + 2 -} - -Buffer.prototype.writeUint16BE = -Buffer.prototype.writeUInt16BE = function writeUInt16BE (value, offset, noAssert) { - value = +value - offset = offset >>> 0 - if (!noAssert) checkInt(this, value, offset, 2, 0xffff, 0) - this[offset] = (value >>> 8) - this[offset + 1] = (value & 0xff) - return offset + 2 -} - -Buffer.prototype.writeUint32LE = -Buffer.prototype.writeUInt32LE = function writeUInt32LE (value, offset, noAssert) { - value = +value - offset = offset >>> 0 - if (!noAssert) checkInt(this, value, offset, 4, 0xffffffff, 0) - this[offset + 3] = (value >>> 24) - this[offset + 2] = (value >>> 16) - this[offset + 1] = (value >>> 8) - this[offset] = (value & 0xff) - return offset + 4 -} - -Buffer.prototype.writeUint32BE = -Buffer.prototype.writeUInt32BE = function writeUInt32BE (value, offset, noAssert) { - value = +value - offset = offset >>> 0 - if (!noAssert) checkInt(this, value, offset, 4, 0xffffffff, 0) - this[offset] = (value >>> 24) - this[offset + 1] = (value >>> 16) - this[offset + 2] = (value >>> 8) - this[offset + 3] = (value & 0xff) - return offset + 4 -} - -Buffer.prototype.writeIntLE = function writeIntLE (value, offset, byteLength, noAssert) { - value = +value - offset = offset >>> 0 - if (!noAssert) { - var limit = Math.pow(2, (8 * byteLength) - 1) - - checkInt(this, value, offset, byteLength, limit - 1, -limit) - } - - var i = 0 - var mul = 1 - var sub = 0 - this[offset] = value & 0xFF - while (++i < byteLength && (mul *= 0x100)) { - if (value < 0 && sub === 0 && this[offset + i - 1] !== 0) { - sub = 1 - } - this[offset + i] = ((value / mul) >> 0) - sub & 0xFF - } - - return offset + byteLength -} - -Buffer.prototype.writeIntBE = function writeIntBE (value, offset, byteLength, noAssert) { - value = +value - offset = offset >>> 0 - if (!noAssert) { - var limit = Math.pow(2, (8 * byteLength) - 1) - - checkInt(this, value, offset, byteLength, limit - 1, -limit) - } - - var i = byteLength - 1 - var mul = 1 - var sub = 0 - this[offset + i] = value & 0xFF - while (--i >= 0 && (mul *= 0x100)) { - if (value < 0 && sub === 0 && this[offset + i + 1] !== 0) { - sub = 1 - } - this[offset + i] = ((value / mul) >> 0) - sub & 0xFF - } - - return offset + byteLength -} - -Buffer.prototype.writeInt8 = function writeInt8 (value, offset, noAssert) { - value = +value - offset = offset >>> 0 - if (!noAssert) checkInt(this, value, offset, 1, 0x7f, -0x80) - if (value < 0) value = 0xff + value + 1 - this[offset] = (value & 0xff) - return offset + 1 -} - -Buffer.prototype.writeInt16LE = function writeInt16LE (value, offset, noAssert) { - value = +value - offset = offset >>> 0 - if (!noAssert) checkInt(this, value, offset, 2, 0x7fff, -0x8000) - this[offset] = (value & 0xff) - this[offset + 1] = (value >>> 8) - return offset + 2 -} - -Buffer.prototype.writeInt16BE = function writeInt16BE (value, offset, noAssert) { - value = +value - offset = offset >>> 0 - if (!noAssert) checkInt(this, value, offset, 2, 0x7fff, -0x8000) - this[offset] = (value >>> 8) - this[offset + 1] = (value & 0xff) - return offset + 2 -} - -Buffer.prototype.writeInt32LE = function writeInt32LE (value, offset, noAssert) { - value = +value - offset = offset >>> 0 - if (!noAssert) checkInt(this, value, offset, 4, 0x7fffffff, -0x80000000) - this[offset] = (value & 0xff) - this[offset + 1] = (value >>> 8) - this[offset + 2] = (value >>> 16) - this[offset + 3] = (value >>> 24) - return offset + 4 -} - -Buffer.prototype.writeInt32BE = function writeInt32BE (value, offset, noAssert) { - value = +value - offset = offset >>> 0 - if (!noAssert) checkInt(this, value, offset, 4, 0x7fffffff, -0x80000000) - if (value < 0) value = 0xffffffff + value + 1 - this[offset] = (value >>> 24) - this[offset + 1] = (value >>> 16) - this[offset + 2] = (value >>> 8) - this[offset + 3] = (value & 0xff) - return offset + 4 -} - -function checkIEEE754 (buf, value, offset, ext, max, min) { - if (offset + ext > buf.length) throw new RangeError('Index out of range') - if (offset < 0) throw new RangeError('Index out of range') -} - -function writeFloat (buf, value, offset, littleEndian, noAssert) { - value = +value - offset = offset >>> 0 - if (!noAssert) { - checkIEEE754(buf, value, offset, 4, 3.4028234663852886e+38, -3.4028234663852886e+38) - } - ieee754.write(buf, value, offset, littleEndian, 23, 4) - return offset + 4 -} - -Buffer.prototype.writeFloatLE = function writeFloatLE (value, offset, noAssert) { - return writeFloat(this, value, offset, true, noAssert) -} - -Buffer.prototype.writeFloatBE = function writeFloatBE (value, offset, noAssert) { - return writeFloat(this, value, offset, false, noAssert) -} - -function writeDouble (buf, value, offset, littleEndian, noAssert) { - value = +value - offset = offset >>> 0 - if (!noAssert) { - checkIEEE754(buf, value, offset, 8, 1.7976931348623157E+308, -1.7976931348623157E+308) - } - ieee754.write(buf, value, offset, littleEndian, 52, 8) - return offset + 8 -} - -Buffer.prototype.writeDoubleLE = function writeDoubleLE (value, offset, noAssert) { - return writeDouble(this, value, offset, true, noAssert) -} - -Buffer.prototype.writeDoubleBE = function writeDoubleBE (value, offset, noAssert) { - return writeDouble(this, value, offset, false, noAssert) -} - -// copy(targetBuffer, targetStart=0, sourceStart=0, sourceEnd=buffer.length) -Buffer.prototype.copy = function copy (target, targetStart, start, end) { - if (!Buffer.isBuffer(target)) throw new TypeError('argument should be a Buffer') - if (!start) start = 0 - if (!end && end !== 0) end = this.length - if (targetStart >= target.length) targetStart = target.length - if (!targetStart) targetStart = 0 - if (end > 0 && end < start) end = start - - // Copy 0 bytes; we're done - if (end === start) return 0 - if (target.length === 0 || this.length === 0) return 0 - - // Fatal error conditions - if (targetStart < 0) { - throw new RangeError('targetStart out of bounds') - } - if (start < 0 || start >= this.length) throw new RangeError('Index out of range') - if (end < 0) throw new RangeError('sourceEnd out of bounds') - - // Are we oob? - if (end > this.length) end = this.length - if (target.length - targetStart < end - start) { - end = target.length - targetStart + start - } - - var len = end - start - - if (this === target && typeof Uint8Array.prototype.copyWithin === 'function') { - // Use built-in when available, missing from IE11 - this.copyWithin(targetStart, start, end) - } else { - Uint8Array.prototype.set.call( - target, - this.subarray(start, end), - targetStart - ) - } - - return len -} - -// Usage: -// buffer.fill(number[, offset[, end]]) -// buffer.fill(buffer[, offset[, end]]) -// buffer.fill(string[, offset[, end]][, encoding]) -Buffer.prototype.fill = function fill (val, start, end, encoding) { - // Handle string cases: - if (typeof val === 'string') { - if (typeof start === 'string') { - encoding = start - start = 0 - end = this.length - } else if (typeof end === 'string') { - encoding = end - end = this.length - } - if (encoding !== undefined && typeof encoding !== 'string') { - throw new TypeError('encoding must be a string') - } - if (typeof encoding === 'string' && !Buffer.isEncoding(encoding)) { - throw new TypeError('Unknown encoding: ' + encoding) - } - if (val.length === 1) { - var code = val.charCodeAt(0) - if ((encoding === 'utf8' && code < 128) || - encoding === 'latin1') { - // Fast path: If `val` fits into a single byte, use that numeric value. - val = code - } - } - } else if (typeof val === 'number') { - val = val & 255 - } else if (typeof val === 'boolean') { - val = Number(val) - } - - // Invalid ranges are not set to a default, so can range check early. - if (start < 0 || this.length < start || this.length < end) { - throw new RangeError('Out of range index') - } - - if (end <= start) { - return this - } - - start = start >>> 0 - end = end === undefined ? this.length : end >>> 0 - - if (!val) val = 0 - - var i - if (typeof val === 'number') { - for (i = start; i < end; ++i) { - this[i] = val - } - } else { - var bytes = Buffer.isBuffer(val) - ? val - : Buffer.from(val, encoding) - var len = bytes.length - if (len === 0) { - throw new TypeError('The value "' + val + - '" is invalid for argument "value"') - } - for (i = 0; i < end - start; ++i) { - this[i + start] = bytes[i % len] - } - } - - return this -} - -// HELPER FUNCTIONS -// ================ - -var INVALID_BASE64_RE = /[^+/0-9A-Za-z-_]/g - -function base64clean (str) { - // Node takes equal signs as end of the Base64 encoding - str = str.split('=')[0] - // Node strips out invalid characters like \n and \t from the string, base64-js does not - str = str.trim().replace(INVALID_BASE64_RE, '') - // Node converts strings with length < 2 to '' - if (str.length < 2) return '' - // Node allows for non-padded base64 strings (missing trailing ===), base64-js does not - while (str.length % 4 !== 0) { - str = str + '=' - } - return str -} - -function utf8ToBytes (string, units) { - units = units || Infinity - var codePoint - var length = string.length - var leadSurrogate = null - var bytes = [] - - for (var i = 0; i < length; ++i) { - codePoint = string.charCodeAt(i) - - // is surrogate component - if (codePoint > 0xD7FF && codePoint < 0xE000) { - // last char was a lead - if (!leadSurrogate) { - // no lead yet - if (codePoint > 0xDBFF) { - // unexpected trail - if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD) - continue - } else if (i + 1 === length) { - // unpaired lead - if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD) - continue - } - - // valid lead - leadSurrogate = codePoint - - continue - } - - // 2 leads in a row - if (codePoint < 0xDC00) { - if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD) - leadSurrogate = codePoint - continue - } - - // valid surrogate pair - codePoint = (leadSurrogate - 0xD800 << 10 | codePoint - 0xDC00) + 0x10000 - } else if (leadSurrogate) { - // valid bmp char, but last char was a lead - if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD) - } - - leadSurrogate = null - - // encode utf8 - if (codePoint < 0x80) { - if ((units -= 1) < 0) break - bytes.push(codePoint) - } else if (codePoint < 0x800) { - if ((units -= 2) < 0) break - bytes.push( - codePoint >> 0x6 | 0xC0, - codePoint & 0x3F | 0x80 - ) - } else if (codePoint < 0x10000) { - if ((units -= 3) < 0) break - bytes.push( - codePoint >> 0xC | 0xE0, - codePoint >> 0x6 & 0x3F | 0x80, - codePoint & 0x3F | 0x80 - ) - } else if (codePoint < 0x110000) { - if ((units -= 4) < 0) break - bytes.push( - codePoint >> 0x12 | 0xF0, - codePoint >> 0xC & 0x3F | 0x80, - codePoint >> 0x6 & 0x3F | 0x80, - codePoint & 0x3F | 0x80 - ) - } else { - throw new Error('Invalid code point') - } - } - - return bytes -} - -function asciiToBytes (str) { - var byteArray = [] - for (var i = 0; i < str.length; ++i) { - // Node's code seems to be doing this and not & 0x7F.. - byteArray.push(str.charCodeAt(i) & 0xFF) - } - return byteArray -} - -function utf16leToBytes (str, units) { - var c, hi, lo - var byteArray = [] - for (var i = 0; i < str.length; ++i) { - if ((units -= 2) < 0) break - - c = str.charCodeAt(i) - hi = c >> 8 - lo = c % 256 - byteArray.push(lo) - byteArray.push(hi) - } - - return byteArray -} - -function base64ToBytes (str) { - return base64.toByteArray(base64clean(str)) -} - -function blitBuffer (src, dst, offset, length) { - for (var i = 0; i < length; ++i) { - if ((i + offset >= dst.length) || (i >= src.length)) break - dst[i + offset] = src[i] - } - return i -} - -// ArrayBuffer or Uint8Array objects from other contexts (i.e. iframes) do not pass -// the `instanceof` check but they should be treated as of that type. -// See: https://github.com/feross/buffer/issues/166 -function isInstance (obj, type) { - return obj instanceof type || - (obj != null && obj.constructor != null && obj.constructor.name != null && - obj.constructor.name === type.name) -} -function numberIsNaN (obj) { - // For IE11 support - return obj !== obj // eslint-disable-line no-self-compare -} - -// Create lookup table for `toString('hex')` -// See: https://github.com/feross/buffer/issues/219 -var hexSliceLookupTable = (function () { - var alphabet = '0123456789abcdef' - var table = new Array(256) - for (var i = 0; i < 16; ++i) { - var i16 = i * 16 - for (var j = 0; j < 16; ++j) { - table[i16 + j] = alphabet[i] + alphabet[j] - } - } - return table -})() diff --git a/node_modules/buffer/package.json b/node_modules/buffer/package.json deleted file mode 100644 index 3b1b498..0000000 --- a/node_modules/buffer/package.json +++ /dev/null @@ -1,96 +0,0 @@ -{ - "name": "buffer", - "description": "Node.js Buffer API, for the browser", - "version": "5.7.1", - "author": { - "name": "Feross Aboukhadijeh", - "email": "feross@feross.org", - "url": "https://feross.org" - }, - "bugs": { - "url": "https://github.com/feross/buffer/issues" - }, - "contributors": [ - "Romain Beauxis ", - "James Halliday " - ], - "dependencies": { - "base64-js": "^1.3.1", - "ieee754": "^1.1.13" - }, - "devDependencies": { - "airtap": "^3.0.0", - "benchmark": "^2.1.4", - "browserify": "^17.0.0", - "concat-stream": "^2.0.0", - "hyperquest": "^2.1.3", - "is-buffer": "^2.0.4", - "is-nan": "^1.3.0", - "split": "^1.0.1", - "standard": "*", - "tape": "^5.0.1", - "through2": "^4.0.2", - "uglify-js": "^3.11.3" - }, - "homepage": "https://github.com/feross/buffer", - "jspm": { - "map": { - "./index.js": { - "node": "@node/buffer" - } - } - }, - "keywords": [ - "arraybuffer", - "browser", - "browserify", - "buffer", - "compatible", - "dataview", - "uint8array" - ], - "license": "MIT", - "main": "index.js", - "types": "index.d.ts", - "repository": { - "type": "git", - "url": "git://github.com/feross/buffer.git" - }, - "scripts": { - "perf": "browserify --debug perf/bracket-notation.js > perf/bundle.js && open perf/index.html", - "perf-node": "node perf/bracket-notation.js && node perf/concat.js && node perf/copy-big.js && node perf/copy.js && node perf/new-big.js && node perf/new.js && node perf/readDoubleBE.js && node perf/readFloatBE.js && node perf/readUInt32LE.js && node perf/slice.js && node perf/writeFloatBE.js", - "size": "browserify -r ./ | uglifyjs -c -m | gzip | wc -c", - "test": "standard && node ./bin/test.js", - "test-browser-es5": "airtap -- test/*.js", - "test-browser-es5-local": "airtap --local -- test/*.js", - "test-browser-es6": "airtap -- test/*.js test/node/*.js", - "test-browser-es6-local": "airtap --local -- test/*.js test/node/*.js", - "test-node": "tape test/*.js test/node/*.js", - "update-authors": "./bin/update-authors.sh" - }, - "standard": { - "ignore": [ - "test/node/**/*.js", - "test/common.js", - "test/_polyfill.js", - "perf/**/*.js" - ], - "globals": [ - "SharedArrayBuffer" - ] - }, - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ] -} diff --git a/node_modules/callsites/index.d.ts b/node_modules/callsites/index.d.ts deleted file mode 100644 index 61f597c..0000000 --- a/node_modules/callsites/index.d.ts +++ /dev/null @@ -1,96 +0,0 @@ -declare namespace callsites { - interface CallSite { - /** - Returns the value of `this`. - */ - getThis(): unknown | undefined; - - /** - Returns the type of `this` as a string. This is the name of the function stored in the constructor field of `this`, if available, otherwise the object's `[[Class]]` internal property. - */ - getTypeName(): string | null; - - /** - Returns the current function. - */ - getFunction(): Function | undefined; - - /** - Returns the name of the current function, typically its `name` property. If a name property is not available an attempt will be made to try to infer a name from the function's context. - */ - getFunctionName(): string | null; - - /** - Returns the name of the property of `this` or one of its prototypes that holds the current function. - */ - getMethodName(): string | undefined; - - /** - Returns the name of the script if this function was defined in a script. - */ - getFileName(): string | null; - - /** - Returns the current line number if this function was defined in a script. - */ - getLineNumber(): number | null; - - /** - Returns the current column number if this function was defined in a script. - */ - getColumnNumber(): number | null; - - /** - Returns a string representing the location where `eval` was called if this function was created using a call to `eval`. - */ - getEvalOrigin(): string | undefined; - - /** - Returns `true` if this is a top-level invocation, that is, if it's a global object. - */ - isToplevel(): boolean; - - /** - Returns `true` if this call takes place in code defined by a call to `eval`. - */ - isEval(): boolean; - - /** - Returns `true` if this call is in native V8 code. - */ - isNative(): boolean; - - /** - Returns `true` if this is a constructor call. - */ - isConstructor(): boolean; - } -} - -declare const callsites: { - /** - Get callsites from the V8 stack trace API. - - @returns An array of `CallSite` objects. - - @example - ``` - import callsites = require('callsites'); - - function unicorn() { - console.log(callsites()[0].getFileName()); - //=> '/Users/sindresorhus/dev/callsites/test.js' - } - - unicorn(); - ``` - */ - (): callsites.CallSite[]; - - // TODO: Remove this for the next major release, refactor the whole definition to: - // declare function callsites(): callsites.CallSite[]; - // export = callsites; - default: typeof callsites; -}; - -export = callsites; diff --git a/node_modules/callsites/index.js b/node_modules/callsites/index.js deleted file mode 100644 index 486c241..0000000 --- a/node_modules/callsites/index.js +++ /dev/null @@ -1,13 +0,0 @@ -'use strict'; - -const callsites = () => { - const _prepareStackTrace = Error.prepareStackTrace; - Error.prepareStackTrace = (_, stack) => stack; - const stack = new Error().stack.slice(1); - Error.prepareStackTrace = _prepareStackTrace; - return stack; -}; - -module.exports = callsites; -// TODO: Remove this for the next major release -module.exports.default = callsites; diff --git a/node_modules/callsites/license b/node_modules/callsites/license deleted file mode 100644 index e7af2f7..0000000 --- a/node_modules/callsites/license +++ /dev/null @@ -1,9 +0,0 @@ -MIT License - -Copyright (c) Sindre Sorhus (sindresorhus.com) - -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. diff --git a/node_modules/callsites/package.json b/node_modules/callsites/package.json deleted file mode 100644 index 93463c3..0000000 --- a/node_modules/callsites/package.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "name": "callsites", - "version": "3.1.0", - "description": "Get callsites from the V8 stack trace API", - "license": "MIT", - "repository": "sindresorhus/callsites", - "author": { - "name": "Sindre Sorhus", - "email": "sindresorhus@gmail.com", - "url": "sindresorhus.com" - }, - "engines": { - "node": ">=6" - }, - "scripts": { - "test": "xo && ava && tsd" - }, - "files": [ - "index.js", - "index.d.ts" - ], - "keywords": [ - "stacktrace", - "v8", - "callsite", - "callsites", - "stack", - "trace", - "function", - "file", - "line", - "debug" - ], - "devDependencies": { - "ava": "^1.4.1", - "tsd": "^0.7.2", - "xo": "^0.24.0" - } -} diff --git a/node_modules/callsites/readme.md b/node_modules/callsites/readme.md deleted file mode 100644 index fc84613..0000000 --- a/node_modules/callsites/readme.md +++ /dev/null @@ -1,48 +0,0 @@ -# callsites [![Build Status](https://travis-ci.org/sindresorhus/callsites.svg?branch=master)](https://travis-ci.org/sindresorhus/callsites) - -> Get callsites from the [V8 stack trace API](https://v8.dev/docs/stack-trace-api) - - -## Install - -``` -$ npm install callsites -``` - - -## Usage - -```js -const callsites = require('callsites'); - -function unicorn() { - console.log(callsites()[0].getFileName()); - //=> '/Users/sindresorhus/dev/callsites/test.js' -} - -unicorn(); -``` - - -## API - -Returns an array of callsite objects with the following methods: - -- `getThis`: returns the value of `this`. -- `getTypeName`: returns the type of `this` as a string. This is the name of the function stored in the constructor field of `this`, if available, otherwise the object's `[[Class]]` internal property. -- `getFunction`: returns the current function. -- `getFunctionName`: returns the name of the current function, typically its `name` property. If a name property is not available an attempt will be made to try to infer a name from the function's context. -- `getMethodName`: returns the name of the property of `this` or one of its prototypes that holds the current function. -- `getFileName`: if this function was defined in a script returns the name of the script. -- `getLineNumber`: if this function was defined in a script returns the current line number. -- `getColumnNumber`: if this function was defined in a script returns the current column number -- `getEvalOrigin`: if this function was created using a call to `eval` returns a string representing the location where `eval` was called. -- `isToplevel`: is this a top-level invocation, that is, is this the global object? -- `isEval`: does this call take place in code defined by a call to `eval`? -- `isNative`: is this call in native V8 code? -- `isConstructor`: is this a constructor call? - - -## License - -MIT © [Sindre Sorhus](https://sindresorhus.com) diff --git a/node_modules/chalk/index.js b/node_modules/chalk/index.js deleted file mode 100644 index 1cc5fa8..0000000 --- a/node_modules/chalk/index.js +++ /dev/null @@ -1,228 +0,0 @@ -'use strict'; -const escapeStringRegexp = require('escape-string-regexp'); -const ansiStyles = require('ansi-styles'); -const stdoutColor = require('supports-color').stdout; - -const template = require('./templates.js'); - -const isSimpleWindowsTerm = process.platform === 'win32' && !(process.env.TERM || '').toLowerCase().startsWith('xterm'); - -// `supportsColor.level` → `ansiStyles.color[name]` mapping -const levelMapping = ['ansi', 'ansi', 'ansi256', 'ansi16m']; - -// `color-convert` models to exclude from the Chalk API due to conflicts and such -const skipModels = new Set(['gray']); - -const styles = Object.create(null); - -function applyOptions(obj, options) { - options = options || {}; - - // Detect level if not set manually - const scLevel = stdoutColor ? stdoutColor.level : 0; - obj.level = options.level === undefined ? scLevel : options.level; - obj.enabled = 'enabled' in options ? options.enabled : obj.level > 0; -} - -function Chalk(options) { - // We check for this.template here since calling `chalk.constructor()` - // by itself will have a `this` of a previously constructed chalk object - if (!this || !(this instanceof Chalk) || this.template) { - const chalk = {}; - applyOptions(chalk, options); - - chalk.template = function () { - const args = [].slice.call(arguments); - return chalkTag.apply(null, [chalk.template].concat(args)); - }; - - Object.setPrototypeOf(chalk, Chalk.prototype); - Object.setPrototypeOf(chalk.template, chalk); - - chalk.template.constructor = Chalk; - - return chalk.template; - } - - applyOptions(this, options); -} - -// Use bright blue on Windows as the normal blue color is illegible -if (isSimpleWindowsTerm) { - ansiStyles.blue.open = '\u001B[94m'; -} - -for (const key of Object.keys(ansiStyles)) { - ansiStyles[key].closeRe = new RegExp(escapeStringRegexp(ansiStyles[key].close), 'g'); - - styles[key] = { - get() { - const codes = ansiStyles[key]; - return build.call(this, this._styles ? this._styles.concat(codes) : [codes], this._empty, key); - } - }; -} - -styles.visible = { - get() { - return build.call(this, this._styles || [], true, 'visible'); - } -}; - -ansiStyles.color.closeRe = new RegExp(escapeStringRegexp(ansiStyles.color.close), 'g'); -for (const model of Object.keys(ansiStyles.color.ansi)) { - if (skipModels.has(model)) { - continue; - } - - styles[model] = { - get() { - const level = this.level; - return function () { - const open = ansiStyles.color[levelMapping[level]][model].apply(null, arguments); - const codes = { - open, - close: ansiStyles.color.close, - closeRe: ansiStyles.color.closeRe - }; - return build.call(this, this._styles ? this._styles.concat(codes) : [codes], this._empty, model); - }; - } - }; -} - -ansiStyles.bgColor.closeRe = new RegExp(escapeStringRegexp(ansiStyles.bgColor.close), 'g'); -for (const model of Object.keys(ansiStyles.bgColor.ansi)) { - if (skipModels.has(model)) { - continue; - } - - const bgModel = 'bg' + model[0].toUpperCase() + model.slice(1); - styles[bgModel] = { - get() { - const level = this.level; - return function () { - const open = ansiStyles.bgColor[levelMapping[level]][model].apply(null, arguments); - const codes = { - open, - close: ansiStyles.bgColor.close, - closeRe: ansiStyles.bgColor.closeRe - }; - return build.call(this, this._styles ? this._styles.concat(codes) : [codes], this._empty, model); - }; - } - }; -} - -const proto = Object.defineProperties(() => {}, styles); - -function build(_styles, _empty, key) { - const builder = function () { - return applyStyle.apply(builder, arguments); - }; - - builder._styles = _styles; - builder._empty = _empty; - - const self = this; - - Object.defineProperty(builder, 'level', { - enumerable: true, - get() { - return self.level; - }, - set(level) { - self.level = level; - } - }); - - Object.defineProperty(builder, 'enabled', { - enumerable: true, - get() { - return self.enabled; - }, - set(enabled) { - self.enabled = enabled; - } - }); - - // See below for fix regarding invisible grey/dim combination on Windows - builder.hasGrey = this.hasGrey || key === 'gray' || key === 'grey'; - - // `__proto__` is used because we must return a function, but there is - // no way to create a function with a different prototype - builder.__proto__ = proto; // eslint-disable-line no-proto - - return builder; -} - -function applyStyle() { - // Support varags, but simply cast to string in case there's only one arg - const args = arguments; - const argsLen = args.length; - let str = String(arguments[0]); - - if (argsLen === 0) { - return ''; - } - - if (argsLen > 1) { - // Don't slice `arguments`, it prevents V8 optimizations - for (let a = 1; a < argsLen; a++) { - str += ' ' + args[a]; - } - } - - if (!this.enabled || this.level <= 0 || !str) { - return this._empty ? '' : str; - } - - // Turns out that on Windows dimmed gray text becomes invisible in cmd.exe, - // see https://github.com/chalk/chalk/issues/58 - // If we're on Windows and we're dealing with a gray color, temporarily make 'dim' a noop. - const originalDim = ansiStyles.dim.open; - if (isSimpleWindowsTerm && this.hasGrey) { - ansiStyles.dim.open = ''; - } - - for (const code of this._styles.slice().reverse()) { - // Replace any instances already present with a re-opening code - // otherwise only the part of the string until said closing code - // will be colored, and the rest will simply be 'plain'. - str = code.open + str.replace(code.closeRe, code.open) + code.close; - - // Close the styling before a linebreak and reopen - // after next line to fix a bleed issue on macOS - // https://github.com/chalk/chalk/pull/92 - str = str.replace(/\r?\n/g, `${code.close}$&${code.open}`); - } - - // Reset the original `dim` if we changed it to work around the Windows dimmed gray issue - ansiStyles.dim.open = originalDim; - - return str; -} - -function chalkTag(chalk, strings) { - if (!Array.isArray(strings)) { - // If chalk() was called by itself or with a string, - // return the string itself as a string. - return [].slice.call(arguments, 1).join(' '); - } - - const args = [].slice.call(arguments, 2); - const parts = [strings.raw[0]]; - - for (let i = 1; i < strings.length; i++) { - parts.push(String(args[i - 1]).replace(/[{}\\]/g, '\\$&')); - parts.push(String(strings.raw[i])); - } - - return template(chalk, parts.join('')); -} - -Object.defineProperties(Chalk.prototype, styles); - -module.exports = Chalk(); // eslint-disable-line new-cap -module.exports.supportsColor = stdoutColor; -module.exports.default = module.exports; // For TypeScript diff --git a/node_modules/chalk/index.js.flow b/node_modules/chalk/index.js.flow deleted file mode 100644 index 622caaa..0000000 --- a/node_modules/chalk/index.js.flow +++ /dev/null @@ -1,93 +0,0 @@ -// @flow strict - -type TemplateStringsArray = $ReadOnlyArray; - -export type Level = $Values<{ - None: 0, - Basic: 1, - Ansi256: 2, - TrueColor: 3 -}>; - -export type ChalkOptions = {| - enabled?: boolean, - level?: Level -|}; - -export type ColorSupport = {| - level: Level, - hasBasic: boolean, - has256: boolean, - has16m: boolean -|}; - -export interface Chalk { - (...text: string[]): string, - (text: TemplateStringsArray, ...placeholders: string[]): string, - constructor(options?: ChalkOptions): Chalk, - enabled: boolean, - level: Level, - rgb(r: number, g: number, b: number): Chalk, - hsl(h: number, s: number, l: number): Chalk, - hsv(h: number, s: number, v: number): Chalk, - hwb(h: number, w: number, b: number): Chalk, - bgHex(color: string): Chalk, - bgKeyword(color: string): Chalk, - bgRgb(r: number, g: number, b: number): Chalk, - bgHsl(h: number, s: number, l: number): Chalk, - bgHsv(h: number, s: number, v: number): Chalk, - bgHwb(h: number, w: number, b: number): Chalk, - hex(color: string): Chalk, - keyword(color: string): Chalk, - - +reset: Chalk, - +bold: Chalk, - +dim: Chalk, - +italic: Chalk, - +underline: Chalk, - +inverse: Chalk, - +hidden: Chalk, - +strikethrough: Chalk, - - +visible: Chalk, - - +black: Chalk, - +red: Chalk, - +green: Chalk, - +yellow: Chalk, - +blue: Chalk, - +magenta: Chalk, - +cyan: Chalk, - +white: Chalk, - +gray: Chalk, - +grey: Chalk, - +blackBright: Chalk, - +redBright: Chalk, - +greenBright: Chalk, - +yellowBright: Chalk, - +blueBright: Chalk, - +magentaBright: Chalk, - +cyanBright: Chalk, - +whiteBright: Chalk, - - +bgBlack: Chalk, - +bgRed: Chalk, - +bgGreen: Chalk, - +bgYellow: Chalk, - +bgBlue: Chalk, - +bgMagenta: Chalk, - +bgCyan: Chalk, - +bgWhite: Chalk, - +bgBlackBright: Chalk, - +bgRedBright: Chalk, - +bgGreenBright: Chalk, - +bgYellowBright: Chalk, - +bgBlueBright: Chalk, - +bgMagentaBright: Chalk, - +bgCyanBright: Chalk, - +bgWhiteBrigh: Chalk, - - supportsColor: ColorSupport -}; - -declare module.exports: Chalk; diff --git a/node_modules/chalk/license b/node_modules/chalk/license deleted file mode 100644 index e7af2f7..0000000 --- a/node_modules/chalk/license +++ /dev/null @@ -1,9 +0,0 @@ -MIT License - -Copyright (c) Sindre Sorhus (sindresorhus.com) - -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. diff --git a/node_modules/chalk/package.json b/node_modules/chalk/package.json deleted file mode 100644 index bc32468..0000000 --- a/node_modules/chalk/package.json +++ /dev/null @@ -1,71 +0,0 @@ -{ - "name": "chalk", - "version": "2.4.2", - "description": "Terminal string styling done right", - "license": "MIT", - "repository": "chalk/chalk", - "engines": { - "node": ">=4" - }, - "scripts": { - "test": "xo && tsc --project types && flow --max-warnings=0 && nyc ava", - "bench": "matcha benchmark.js", - "coveralls": "nyc report --reporter=text-lcov | coveralls" - }, - "files": [ - "index.js", - "templates.js", - "types/index.d.ts", - "index.js.flow" - ], - "keywords": [ - "color", - "colour", - "colors", - "terminal", - "console", - "cli", - "string", - "str", - "ansi", - "style", - "styles", - "tty", - "formatting", - "rgb", - "256", - "shell", - "xterm", - "log", - "logging", - "command-line", - "text" - ], - "dependencies": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" - }, - "devDependencies": { - "ava": "*", - "coveralls": "^3.0.0", - "execa": "^0.9.0", - "flow-bin": "^0.68.0", - "import-fresh": "^2.0.0", - "matcha": "^0.7.0", - "nyc": "^11.0.2", - "resolve-from": "^4.0.0", - "typescript": "^2.5.3", - "xo": "*" - }, - "types": "types/index.d.ts", - "xo": { - "envs": [ - "node", - "mocha" - ], - "ignores": [ - "test/_flow.js" - ] - } -} diff --git a/node_modules/chalk/readme.md b/node_modules/chalk/readme.md deleted file mode 100644 index d298e2c..0000000 --- a/node_modules/chalk/readme.md +++ /dev/null @@ -1,314 +0,0 @@ -

-
-
- Chalk -
-
-
-

- -> Terminal string styling done right - -[![Build Status](https://travis-ci.org/chalk/chalk.svg?branch=master)](https://travis-ci.org/chalk/chalk) [![Coverage Status](https://coveralls.io/repos/github/chalk/chalk/badge.svg?branch=master)](https://coveralls.io/github/chalk/chalk?branch=master) [![](https://img.shields.io/badge/unicorn-approved-ff69b4.svg)](https://www.youtube.com/watch?v=9auOCbH5Ns4) [![XO code style](https://img.shields.io/badge/code_style-XO-5ed9c7.svg)](https://github.com/xojs/xo) [![Mentioned in Awesome Node.js](https://awesome.re/mentioned-badge.svg)](https://github.com/sindresorhus/awesome-nodejs) - -### [See what's new in Chalk 2](https://github.com/chalk/chalk/releases/tag/v2.0.0) - - - - -## Highlights - -- Expressive API -- Highly performant -- Ability to nest styles -- [256/Truecolor color support](#256-and-truecolor-color-support) -- Auto-detects color support -- Doesn't extend `String.prototype` -- Clean and focused -- Actively maintained -- [Used by ~23,000 packages](https://www.npmjs.com/browse/depended/chalk) as of December 31, 2017 - - -## Install - -```console -$ npm install chalk -``` - - - - - - -## Usage - -```js -const chalk = require('chalk'); - -console.log(chalk.blue('Hello world!')); -``` - -Chalk comes with an easy to use composable API where you just chain and nest the styles you want. - -```js -const chalk = require('chalk'); -const log = console.log; - -// Combine styled and normal strings -log(chalk.blue('Hello') + ' World' + chalk.red('!')); - -// Compose multiple styles using the chainable API -log(chalk.blue.bgRed.bold('Hello world!')); - -// Pass in multiple arguments -log(chalk.blue('Hello', 'World!', 'Foo', 'bar', 'biz', 'baz')); - -// Nest styles -log(chalk.red('Hello', chalk.underline.bgBlue('world') + '!')); - -// Nest styles of the same type even (color, underline, background) -log(chalk.green( - 'I am a green line ' + - chalk.blue.underline.bold('with a blue substring') + - ' that becomes green again!' -)); - -// ES2015 template literal -log(` -CPU: ${chalk.red('90%')} -RAM: ${chalk.green('40%')} -DISK: ${chalk.yellow('70%')} -`); - -// ES2015 tagged template literal -log(chalk` -CPU: {red ${cpu.totalPercent}%} -RAM: {green ${ram.used / ram.total * 100}%} -DISK: {rgb(255,131,0) ${disk.used / disk.total * 100}%} -`); - -// Use RGB colors in terminal emulators that support it. -log(chalk.keyword('orange')('Yay for orange colored text!')); -log(chalk.rgb(123, 45, 67).underline('Underlined reddish color')); -log(chalk.hex('#DEADED').bold('Bold gray!')); -``` - -Easily define your own themes: - -```js -const chalk = require('chalk'); - -const error = chalk.bold.red; -const warning = chalk.keyword('orange'); - -console.log(error('Error!')); -console.log(warning('Warning!')); -``` - -Take advantage of console.log [string substitution](https://nodejs.org/docs/latest/api/console.html#console_console_log_data_args): - -```js -const name = 'Sindre'; -console.log(chalk.green('Hello %s'), name); -//=> 'Hello Sindre' -``` - - -## API - -### chalk.`

BiDi-CDP Mapper is controlling this tab

Closing or reloading it will stop the BiDi process. Details.

Debug information
'; -/** - * The following piece of HTML should be added to the `debug` element: - * - *
- *
- *

${name}

- *
- */ -function findOrCreateTypeLogContainer(logPrefix) { - const logType = logPrefix.split(':')[0]; - const containerId = `${logType}_log`; - const existingContainer = document.getElementById(containerId); - if (existingContainer) { - return existingContainer; - } - const debugElement = document.getElementById('details'); - const divider = document.createElement('div'); - divider.className = 'divider'; - debugElement.appendChild(divider); - const htmlItem = document.createElement('div'); - htmlItem.className = 'item'; - htmlItem.innerHTML = `

${logType}

`; - debugElement.appendChild(htmlItem); - return document.getElementById(containerId); -} -function generatePage() { - // If run not in browser (e.g. unit test), do nothing. - if (!globalThis.document.documentElement) { - return; - } - globalThis.document.documentElement.innerHTML = mapperPageSource; - // Create main log containers in proper order. - findOrCreateTypeLogContainer(log_js_1.LogType.debugInfo); - findOrCreateTypeLogContainer(log_js_1.LogType.bidi); - findOrCreateTypeLogContainer(log_js_1.LogType.cdp); -} -exports.generatePage = generatePage; -function stringify(message) { - if (typeof message === 'object') { - return JSON.stringify(message, null, 2); - } - return message; -} -function log(logPrefix, ...messages) { - // If run not in browser (e.g. unit test), do nothing. - if (!globalThis.document.documentElement) { - return; - } - // Skip sending BiDi logs as they are logged once by `bidi:server:*` - if (!logPrefix.startsWith(log_js_1.LogType.bidi)) { - // If `sendDebugMessage` is defined, send the log message there. - global.window?.sendDebugMessage?.(JSON.stringify({ logType: logPrefix, messages })); - } - const typeLogContainer = findOrCreateTypeLogContainer(logPrefix); - // This piece of HTML should be added: - //
...log message...
- const lineElement = document.createElement('div'); - lineElement.className = 'pre'; - lineElement.textContent = [logPrefix, ...messages].map(stringify).join(' '); - typeLogContainer.appendChild(lineElement); - if (typeLogContainer.childNodes.length > 200) { - typeLogContainer.removeChild(typeLogContainer.childNodes[0]); - } -} -exports.log = log; -//# sourceMappingURL=mapperTabPage.js.map \ No newline at end of file diff --git a/node_modules/chromium-bidi/lib/cjs/bidiTab/mapperTabPage.js.map b/node_modules/chromium-bidi/lib/cjs/bidiTab/mapperTabPage.js.map deleted file mode 100644 index 56fe264..0000000 --- a/node_modules/chromium-bidi/lib/cjs/bidiTab/mapperTabPage.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"mapperTabPage.js","sourceRoot":"","sources":["../../../src/bidiTab/mapperTabPage.ts"],"names":[],"mappings":";;;AAAA;;;;;;;;;;;;;;;GAeG;AACH,4CAAwD;AAExD,uDAAuD;AACvD,MAAM,gBAAgB,GACpB,w8BAAw8B,CAAC;AAE38B;;;;;;;GAOG;AACH,SAAS,4BAA4B,CAAC,SAAoB;IACxD,MAAM,OAAO,GAAG,SAAS,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC;IACxC,MAAM,WAAW,GAAG,GAAG,OAAO,MAAM,CAAC;IAErC,MAAM,iBAAiB,GAAG,QAAQ,CAAC,cAAc,CAAC,WAAW,CAAC,CAAC;IAC/D,IAAI,iBAAiB,EAAE,CAAC;QACtB,OAAO,iBAAiB,CAAC;IAC3B,CAAC;IAED,MAAM,YAAY,GAAG,QAAQ,CAAC,cAAc,CAAC,SAAS,CAAE,CAAC;IAEzD,MAAM,OAAO,GAAG,QAAQ,CAAC,aAAa,CAAC,KAAK,CAAC,CAAC;IAC9C,OAAO,CAAC,SAAS,GAAG,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C,MAAM,EAAE,gBAAgB,EAAE,CAC/B,IAAI,CAAC,SAAS,CAAC,EAAC,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAC,CAAC,CAC/C,CAAC;IACJ,CAAC;IAED,MAAM,gBAAgB,GAAG,4BAA4B,CAAC,SAAS,CAAC,CAAC;IAEjE,sCAAsC;IACtC,2CAA2C;IAC3C,MAAM,WAAW,GAAG,QAAQ,CAAC,aAAa,CAAC,KAAK,CAAC,CAAC;IAClD,WAAW,CAAC,SAAS,GAAG,KAAK,CAAC;IAC9B,WAAW,CAAC,WAAW,GAAG,CAAC,SAAS,EAAE,GAAG,QAAQ,CAAC,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;IAC5E,gBAAgB,CAAC,WAAW,CAAC,WAAW,CAAC,CAAC;IAC1C,IAAI,gBAAgB,CAAC,UAAU,CAAC,MAAM,GAAG,GAAG,EAAE,CAAC;QAC7C,gBAAgB,CAAC,WAAW,CAAC,gBAAgB,CAAC,UAAU,CAAC,CAAC,CAAE,CAAC,CAAC;IAChE,CAAC;AACH,CAAC;AAzBD,kBAyBC"} \ No newline at end of file diff --git a/node_modules/chromium-bidi/lib/cjs/cdp/CdpClient.d.ts b/node_modules/chromium-bidi/lib/cjs/cdp/CdpClient.d.ts deleted file mode 100644 index deb666f..0000000 --- a/node_modules/chromium-bidi/lib/cjs/cdp/CdpClient.d.ts +++ /dev/null @@ -1,54 +0,0 @@ -/** - * Copyright 2021 Google LLC. - * Copyright (c) Microsoft Corporation. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -import type { Protocol } from 'devtools-protocol'; -import type { ProtocolMapping } from 'devtools-protocol/types/protocol-mapping.js'; -import { EventEmitter } from '../utils/EventEmitter.js'; -import type { MapperCdpConnection } from './CdpConnection.js'; -export type CdpEvents = { - [Property in keyof ProtocolMapping.Events]: ProtocolMapping.Events[Property][0]; -}; -/** A error that will be thrown if/when the connection is closed. */ -export declare class CloseError extends Error { -} -export interface CdpClient extends EventEmitter { - /** Unique session identifier. */ - sessionId: Protocol.Target.SessionID | undefined; - /** - * Provides an unique way to detect if an error was caused by the closure of a - * Target or Session. - * - * @example During the creation of a subframe we navigate the main frame. - * The subframe Target is closed while initialized commands are in-flight. - * In this case we want to swallow the thrown error. - */ - isCloseError(error: unknown): boolean; - /** - * Returns a command promise, which will be resolved with the command result - * after receiving the result from CDP. - * @param method Name of the CDP command to call. - * @param params Parameters to pass to the CDP command. - */ - sendCommand(method: CdpMethod, params?: ProtocolMapping.Commands[CdpMethod]['paramsType'][0]): Promise; -} -/** Represents a high-level CDP connection to the browser. */ -export declare class MapperCdpClient extends EventEmitter implements CdpClient { - #private; - constructor(cdpConnection: MapperCdpConnection, sessionId?: Protocol.Target.SessionID); - get sessionId(): Protocol.Target.SessionID | undefined; - sendCommand(method: CdpMethod, ...params: ProtocolMapping.Commands[CdpMethod]['paramsType']): Promise; - isCloseError(error: unknown): boolean; -} diff --git a/node_modules/chromium-bidi/lib/cjs/cdp/CdpClient.js b/node_modules/chromium-bidi/lib/cjs/cdp/CdpClient.js deleted file mode 100644 index 2ce34c0..0000000 --- a/node_modules/chromium-bidi/lib/cjs/cdp/CdpClient.js +++ /dev/null @@ -1,45 +0,0 @@ -"use strict"; -/** - * Copyright 2021 Google LLC. - * Copyright (c) Microsoft Corporation. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -Object.defineProperty(exports, "__esModule", { value: true }); -exports.MapperCdpClient = exports.CloseError = void 0; -const EventEmitter_js_1 = require("../utils/EventEmitter.js"); -/** A error that will be thrown if/when the connection is closed. */ -class CloseError extends Error { -} -exports.CloseError = CloseError; -/** Represents a high-level CDP connection to the browser. */ -class MapperCdpClient extends EventEmitter_js_1.EventEmitter { - #cdpConnection; - #sessionId; - constructor(cdpConnection, sessionId) { - super(); - this.#cdpConnection = cdpConnection; - this.#sessionId = sessionId; - } - get sessionId() { - return this.#sessionId; - } - sendCommand(method, ...params) { - return this.#cdpConnection.sendCommand(method, params[0], this.#sessionId); - } - isCloseError(error) { - return error instanceof CloseError; - } -} -exports.MapperCdpClient = MapperCdpClient; -//# sourceMappingURL=CdpClient.js.map \ No newline at end of file diff --git a/node_modules/chromium-bidi/lib/cjs/cdp/CdpClient.js.map b/node_modules/chromium-bidi/lib/cjs/cdp/CdpClient.js.map deleted file mode 100644 index 720f561..0000000 --- a/node_modules/chromium-bidi/lib/cjs/cdp/CdpClient.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"CdpClient.js","sourceRoot":"","sources":["../../../src/cdp/CdpClient.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG;;;AAKH,8DAAsD;AAQtD,oEAAoE;AACpE,MAAa,UAAW,SAAQ,KAAK;CAAG;AAAxC,gCAAwC;AA4BxC,6DAA6D;AAC7D,MAAa,eACX,SAAQ,8BAAuB;IAG/B,cAAc,CAAsB;IACpC,UAAU,CAA6B;IAEvC,YACE,aAAkC,EAClC,SAAqC;QAErC,KAAK,EAAE,CAAC;QACR,IAAI,CAAC,cAAc,GAAG,aAAa,CAAC;QACpC,IAAI,CAAC,UAAU,GAAG,SAAS,CAAC;IAC9B,CAAC;IAED,IAAI,SAAS;QACX,OAAO,IAAI,CAAC,UAAU,CAAC;IACzB,CAAC;IAED,WAAW,CACT,MAAiB,EACjB,GAAG,MAAyD;QAE5D,OAAO,IAAI,CAAC,cAAc,CAAC,WAAW,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC,EAAE,IAAI,CAAC,UAAU,CAAC,CAAC;IAC7E,CAAC;IAED,YAAY,CAAC,KAAc;QACzB,OAAO,KAAK,YAAY,UAAU,CAAC;IACrC,CAAC;CACF;AA9BD,0CA8BC"} \ No newline at end of file diff --git a/node_modules/chromium-bidi/lib/cjs/cdp/CdpConnection.d.ts b/node_modules/chromium-bidi/lib/cjs/cdp/CdpConnection.d.ts deleted file mode 100644 index cb10de8..0000000 --- a/node_modules/chromium-bidi/lib/cjs/cdp/CdpConnection.d.ts +++ /dev/null @@ -1,45 +0,0 @@ -/** - * Copyright 2021 Google LLC. - * Copyright (c) Microsoft Corporation. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -import type { Protocol } from 'devtools-protocol'; -import type { ProtocolMapping } from 'devtools-protocol/types/protocol-mapping.js'; -import type { LoggerFn } from '../utils/log.js'; -import type { Transport } from '../utils/transport.js'; -import { MapperCdpClient, type CdpClient } from './CdpClient.js'; -export interface CdpConnection { - getCdpClient(sessionId: Protocol.Target.SessionID): CdpClient; -} -/** - * Represents a high-level CDP connection to the browser backend. - * - * Manages all CdpClients (each backed by a Session ID) instance for each active - * CDP session. - */ -export declare class MapperCdpConnection implements CdpConnection { - #private; - static readonly LOGGER_PREFIX_RECV: "cdp:RECV ◂"; - static readonly LOGGER_PREFIX_SEND: "cdp:SEND ▸"; - constructor(transport: Transport, logger?: LoggerFn); - /** Closes the connection to the browser. */ - close(): void; - createBrowserSession(): Promise; - /** - * Gets a CdpClient instance attached to the given session ID, - * or null if the session is not attached. - */ - getCdpClient(sessionId: Protocol.Target.SessionID): MapperCdpClient; - sendCommand(method: CdpMethod, params?: ProtocolMapping.Commands[CdpMethod]['paramsType'][0], sessionId?: Protocol.Target.SessionID): Promise; -} diff --git a/node_modules/chromium-bidi/lib/cjs/cdp/CdpConnection.js b/node_modules/chromium-bidi/lib/cjs/cdp/CdpConnection.js deleted file mode 100644 index 0ac5e5d..0000000 --- a/node_modules/chromium-bidi/lib/cjs/cdp/CdpConnection.js +++ /dev/null @@ -1,125 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.MapperCdpConnection = void 0; -const log_js_1 = require("../utils/log.js"); -const CdpClient_js_1 = require("./CdpClient.js"); -/** - * Represents a high-level CDP connection to the browser backend. - * - * Manages all CdpClients (each backed by a Session ID) instance for each active - * CDP session. - */ -class MapperCdpConnection { - static LOGGER_PREFIX_RECV = `${log_js_1.LogType.cdp}:RECV ◂`; - static LOGGER_PREFIX_SEND = `${log_js_1.LogType.cdp}:SEND ▸`; - #mainBrowserCdpClient; - #transport; - /** Map from session ID to CdpClient. - * `undefined` points to the main browser session. */ - #sessionCdpClients = new Map(); - #commandCallbacks = new Map(); - #logger; - #nextId = 0; - constructor(transport, logger) { - this.#transport = transport; - this.#logger = logger; - this.#transport.setOnMessage(this.#onMessage); - // Create default Browser CDP Session. - this.#mainBrowserCdpClient = this.#createCdpClient(undefined); - } - /** Closes the connection to the browser. */ - close() { - this.#transport.close(); - for (const [, { reject, error }] of this.#commandCallbacks) { - reject(error); - } - this.#commandCallbacks.clear(); - this.#sessionCdpClients.clear(); - } - async createBrowserSession() { - const { sessionId } = await this.#mainBrowserCdpClient.sendCommand('Target.attachToBrowserTarget'); - return this.#createCdpClient(sessionId); - } - /** - * Gets a CdpClient instance attached to the given session ID, - * or null if the session is not attached. - */ - getCdpClient(sessionId) { - const cdpClient = this.#sessionCdpClients.get(sessionId); - if (!cdpClient) { - throw new Error(`Unknown CDP session ID: ${sessionId}`); - } - return cdpClient; - } - sendCommand(method, params, sessionId) { - return new Promise((resolve, reject) => { - const id = this.#nextId++; - this.#commandCallbacks.set(id, { - resolve, - reject, - error: new CdpClient_js_1.CloseError(`${method} ${JSON.stringify(params)} ${sessionId ?? ''} call rejected because the connection has been closed.`), - }); - const cdpMessage = { id, method, params }; - if (sessionId) { - cdpMessage.sessionId = sessionId; - } - void this.#transport - .sendMessage(JSON.stringify(cdpMessage)) - ?.catch((error) => { - this.#logger?.(log_js_1.LogType.debugError, error); - this.#transport.close(); - }); - this.#logger?.(MapperCdpConnection.LOGGER_PREFIX_SEND, cdpMessage); - }); - } - #onMessage = (json) => { - const message = JSON.parse(json); - this.#logger?.(MapperCdpConnection.LOGGER_PREFIX_RECV, message); - // Update client map if a session is attached - // Listen for these events on every session. - if (message.method === 'Target.attachedToTarget') { - const { sessionId } = message.params; - this.#createCdpClient(sessionId); - } - if (message.id !== undefined) { - // Handle command response. - const callbacks = this.#commandCallbacks.get(message.id); - this.#commandCallbacks.delete(message.id); - if (callbacks) { - if (message.result) { - callbacks.resolve(message.result); - } - else if (message.error) { - callbacks.reject(message.error); - } - } - } - else if (message.method) { - const client = this.#sessionCdpClients.get(message.sessionId ?? undefined); - client?.emit(message.method, message.params || {}); - // Update client map if a session is detached - // But emit on that session - if (message.method === 'Target.detachedFromTarget') { - const { sessionId } = message.params; - const client = this.#sessionCdpClients.get(sessionId); - if (client) { - this.#sessionCdpClients.delete(sessionId); - client.removeAllListeners(); - } - } - } - }; - /** - * Creates a new CdpClient instance for the given session ID. - * @param sessionId either a string, or undefined for the main browser session. - * The main browser session is used only to create new browser sessions. - * @private - */ - #createCdpClient(sessionId) { - const cdpClient = new CdpClient_js_1.MapperCdpClient(this, sessionId); - this.#sessionCdpClients.set(sessionId, cdpClient); - return cdpClient; - } -} -exports.MapperCdpConnection = MapperCdpConnection; -//# sourceMappingURL=CdpConnection.js.map \ No newline at end of file diff --git a/node_modules/chromium-bidi/lib/cjs/cdp/CdpConnection.js.map b/node_modules/chromium-bidi/lib/cjs/cdp/CdpConnection.js.map deleted file mode 100644 index d62e99a..0000000 --- a/node_modules/chromium-bidi/lib/cjs/cdp/CdpConnection.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"CdpConnection.js","sourceRoot":"","sources":["../../../src/cdp/CdpConnection.ts"],"names":[],"mappings":";;;AAmBA,4CAAwC;AAIxC,iDAA2E;AAa3E;;;;;GAKG;AACH,MAAa,mBAAmB;IAC9B,MAAM,CAAU,kBAAkB,GAAG,GAAG,gBAAO,CAAC,GAAG,SAAkB,CAAC;IACtE,MAAM,CAAU,kBAAkB,GAAG,GAAG,gBAAO,CAAC,GAAG,SAAkB,CAAC;IAE7D,qBAAqB,CAAkB;IACvC,UAAU,CAAY;IAE/B;yDACqD;IAC5C,kBAAkB,GAAG,IAAI,GAAG,EAGlC,CAAC;IACK,iBAAiB,GAAG,IAAI,GAAG,EAAwB,CAAC;IACpD,OAAO,CAAY;IAC5B,OAAO,GAAG,CAAC,CAAC;IAEZ,YAAY,SAAoB,EAAE,MAAiB;QACjD,IAAI,CAAC,UAAU,GAAG,SAAS,CAAC;QAC5B,IAAI,CAAC,OAAO,GAAG,MAAM,CAAC;QACtB,IAAI,CAAC,UAAU,CAAC,YAAY,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;QAE9C,sCAAsC;QACtC,IAAI,CAAC,qBAAqB,GAAG,IAAI,CAAC,gBAAgB,CAAC,SAAS,CAAC,CAAC;IAChE,CAAC;IAED,4CAA4C;IAC5C,KAAK;QACH,IAAI,CAAC,UAAU,CAAC,KAAK,EAAE,CAAC;QACxB,KAAK,MAAM,CAAC,EAAE,EAAC,MAAM,EAAE,KAAK,EAAC,CAAC,IAAI,IAAI,CAAC,iBAAiB,EAAE,CAAC;YACzD,MAAM,CAAC,KAAK,CAAC,CAAC;QAChB,CAAC;QACD,IAAI,CAAC,iBAAiB,CAAC,KAAK,EAAE,CAAC;QAC/B,IAAI,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AM,MAAM,GAAG,IAAI,CAAC,kBAAkB,CAAC,GAAG,CACxC,OAAO,CAAC,SAAS,IAAI,SAAS,CAC/B,CAAC;YACF,MAAM,EAAE,IAAI,CAAC,OAAO,CAAC,MAAM,EAAE,OAAO,CAAC,MAAM,IAAI,EAAE,CAAC,CAAC;YAEnD,6CAA6C;YAC7C,2BAA2B;YAC3B,IAAI,OAAO,CAAC,MAAM,KAAK,2BAA2B,EAAE,CAAC;gBACnD,MAAM,EAAC,SAAS,EAAC,GAAG,OAAO,CAAC,MAAM,CAAC;gBACnC,MAAM,MAAM,GAAG,IAAI,CAAC,kBAAkB,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;gBACtD,IAAI,MAAM,EAAE,CAAC;oBACX,IAAI,CAAC,kBAAkB,CAAC,MAAM,CAAC,SAAS,CAAC,CAAC;oBAC1C,MAAM,CAAC,kBAAkB,EAAE,CAAC;gBAC9B,CAAC;YACH,CAAC;QACH,CAAC;IACH,CAAC,CAAC;IAEF;;;;;OAKG;IACH,gBAAgB,CACd,SAAgD;QAEhD,MAAM,SAAS,GAAG,IAAI,8BAAe,CAAC,IAAI,EAAE,SAAS,CAAC,CAAC;QACvD,IAAI,CAAC,kBAAkB,CAAC,GAAG,CAAC,SAAS,EAAE,SAAS,CAAC,CAAC;QAClD,OAAO,SAAS,CAAC;IACnB,CAAC;;AA3IH,kDA4IC"} \ No newline at end of file diff --git a/node_modules/chromium-bidi/lib/cjs/cdp/cdpMessage.d.ts b/node_modules/chromium-bidi/lib/cjs/cdp/cdpMessage.d.ts deleted file mode 100644 index de28b1b..0000000 --- a/node_modules/chromium-bidi/lib/cjs/cdp/cdpMessage.d.ts +++ /dev/null @@ -1,30 +0,0 @@ -/** - * Copyright 2021 Google LLC. - * Copyright (c) Microsoft Corporation. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -import type { Protocol } from 'devtools-protocol'; -import type { ProtocolMapping } from 'devtools-protocol/types/protocol-mapping.js'; -export interface CdpError { - code: number; - message: string; -} -export interface CdpMessage { - sessionId?: Protocol.Target.SessionID; - id?: number; - error?: CdpError; - method?: CdpMethod; - params?: ProtocolMapping.Commands[CdpMethod]['paramsType'][0]; - result?: ProtocolMapping.Commands[CdpMethod]['returnType']; -} diff --git a/node_modules/chromium-bidi/lib/cjs/cdp/cdpMessage.js b/node_modules/chromium-bidi/lib/cjs/cdp/cdpMessage.js deleted file mode 100644 index 1b77783..0000000 --- a/node_modules/chromium-bidi/lib/cjs/cdp/cdpMessage.js +++ /dev/null @@ -1,3 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -//# sourceMappingURL=cdpMessage.js.map \ No newline at end of file diff --git a/node_modules/chromium-bidi/lib/cjs/cdp/cdpMessage.js.map b/node_modules/chromium-bidi/lib/cjs/cdp/cdpMessage.js.map deleted file mode 100644 index 1c20c67..0000000 --- a/node_modules/chromium-bidi/lib/cjs/cdp/cdpMessage.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"cdpMessage.js","sourceRoot":"","sources":["../../../src/cdp/cdpMessage.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/node_modules/chromium-bidi/lib/cjs/protocol-parser/generated/webdriver-bidi-permissions.d.ts b/node_modules/chromium-bidi/lib/cjs/protocol-parser/generated/webdriver-bidi-permissions.d.ts deleted file mode 100644 index 886469a..0000000 --- a/node_modules/chromium-bidi/lib/cjs/protocol-parser/generated/webdriver-bidi-permissions.d.ts +++ /dev/null @@ -1,149 +0,0 @@ -/** - * Copyright 2024 Google LLC. - * Copyright (c) Microsoft Corporation. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -/** - * THIS FILE IS AUTOGENERATED by cddlconv 0.1.3. - * Run `node tools/generate-bidi-types.mjs` to regenerate. - * @see https://github.com/w3c/webdriver-bidi/blob/master/index.bs - */ -import z from 'zod'; -export declare const PermissionsCommandSchema: z.ZodLazy; - params: z.ZodLazy>; - state: z.ZodLazy>; - origin: z.ZodString; - }, "strip", z.ZodTypeAny, { - origin: string; - descriptor: { - name: string; - }; - state: "granted" | "denied" | "prompt"; - }, { - origin: string; - descriptor: { - name: string; - }; - state: "granted" | "denied" | "prompt"; - }>>; -}, "strip", z.ZodTypeAny, { - params: { - origin: string; - descriptor: { - name: string; - }; - state: "granted" | "denied" | "prompt"; - }; - method: "permissions.setPermission"; -}, { - params: { - origin: string; - descriptor: { - name: string; - }; - state: "granted" | "denied" | "prompt"; - }; - method: "permissions.setPermission"; -}>>>; -export declare namespace Permissions { - const PermissionDescriptorSchema: z.ZodLazy>; -} -export declare namespace Permissions { - const PermissionStateSchema: z.ZodLazy>; -} -export declare namespace Permissions { - const SetPermissionSchema: z.ZodLazy; - params: z.ZodLazy>; - state: z.ZodLazy>; - origin: z.ZodString; - }, "strip", z.ZodTypeAny, { - origin: string; - descriptor: { - name: string; - }; - state: "granted" | "denied" | "prompt"; - }, { - origin: string; - descriptor: { - name: string; - }; - state: "granted" | "denied" | "prompt"; - }>>; - }, "strip", z.ZodTypeAny, { - params: { - origin: string; - descriptor: { - name: string; - }; - state: "granted" | "denied" | "prompt"; - }; - method: "permissions.setPermission"; - }, { - params: { - origin: string; - descriptor: { - name: string; - }; - state: "granted" | "denied" | "prompt"; - }; - method: "permissions.setPermission"; - }>>; -} -export declare namespace Permissions { - const SetPermissionParametersSchema: z.ZodLazy>; - state: z.ZodLazy>; - origin: z.ZodString; - }, "strip", z.ZodTypeAny, { - origin: string; - descriptor: { - name: string; - }; - state: "granted" | "denied" | "prompt"; - }, { - origin: string; - descriptor: { - name: string; - }; - state: "granted" | "denied" | "prompt"; - }>>; -} diff --git a/node_modules/chromium-bidi/lib/cjs/protocol-parser/generated/webdriver-bidi-permissions.js b/node_modules/chromium-bidi/lib/cjs/protocol-parser/generated/webdriver-bidi-permissions.js deleted file mode 100644 index 2d14aaa..0000000 --- a/node_modules/chromium-bidi/lib/cjs/protocol-parser/generated/webdriver-bidi-permissions.js +++ /dev/null @@ -1,54 +0,0 @@ -"use strict"; -/** - * Copyright 2024 Google LLC. - * Copyright (c) Microsoft Corporation. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -var __importDefault = (this && this.__importDefault) || function (mod) { - return (mod && mod.__esModule) ? mod : { "default": mod }; -}; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.Permissions = exports.PermissionsCommandSchema = void 0; -/** - * THIS FILE IS AUTOGENERATED by cddlconv 0.1.3. - * Run `node tools/generate-bidi-types.mjs` to regenerate. - * @see https://github.com/w3c/webdriver-bidi/blob/master/index.bs - */ -// eslint-disable-next-line @typescript-eslint/ban-ts-comment -// @ts-nocheck Some types may be circular. -const zod_1 = __importDefault(require("zod")); -exports.PermissionsCommandSchema = zod_1.default.lazy(() => Permissions.SetPermissionSchema); -var Permissions; -(function (Permissions) { - Permissions.PermissionDescriptorSchema = zod_1.default.lazy(() => zod_1.default.object({ - name: zod_1.default.string(), - })); -})(Permissions || (exports.Permissions = Permissions = {})); -(function (Permissions) { - Permissions.PermissionStateSchema = zod_1.default.lazy(() => zod_1.default.enum(['granted', 'denied', 'prompt'])); -})(Permissions || (exports.Permissions = Permissions = {})); -(function (Permissions) { - Permissions.SetPermissionSchema = zod_1.default.lazy(() => zod_1.default.object({ - method: zod_1.default.literal('permissions.setPermission'), - params: Permissions.SetPermissionParametersSchema, - })); -})(Permissions || (exports.Permissions = Permissions = {})); -(function (Permissions) { - Permissions.SetPermissionParametersSchema = zod_1.default.lazy(() => zod_1.default.object({ - descriptor: Permissions.PermissionDescriptorSchema, - state: Permissions.PermissionStateSchema, - origin: zod_1.default.string(), - })); -})(Permissions || (exports.Permissions = Permissions = {})); -//# sourceMappingURL=webdriver-bidi-permissions.js.map \ No newline at end of file diff --git a/node_modules/chromium-bidi/lib/cjs/protocol-parser/generated/webdriver-bidi-permissions.js.map b/node_modules/chromium-bidi/lib/cjs/protocol-parser/generated/webdriver-bidi-permissions.js.map deleted file mode 100644 index 15d7104..0000000 --- a/node_modules/chromium-bidi/lib/cjs/protocol-parser/generated/webdriver-bidi-permissions.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"webdriver-bidi-permissions.js","sourceRoot":"","sources":["../../../../src/protocol-parser/generated/webdriver-bidi-permissions.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG;;;;;;AAEH;;;;GAIG;AAEH,6DAA6D;AAC7D,0CAA0C;AAE1C,8CAAoB;AAEP,QAAA,wBAAwB,GAAG,aAAC,CAAC,IAAI,CAC5C,GAAG,EAAE,CAAC,WAAW,CAAC,mBAAmB,CACtC,CAAC;AACF,IAAiB,WAAW,CAM3B;AAND,WAAiB,WAAW;IACb,sCAA0B,GAAG,aAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CACpD,aAAC,CAAC,MAAM,CAAC;QACP,IAAI,EAAE,aAAC,CAAC,MAAM,EAAE;KACjB,CAAC,CACH,CAAC;AACJ,CAAC,EANgB,WAAW,2BAAX,WAAW,QAM3B;AACD,WAAiB,WAAW;IACb,iCAAqB,GAAG,aAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CAC/C,aAAC,CAAC,IAAI,CAAC,CAAC,SAAS,EAAE,QAAQ,EAAE,QAAQ,CAAC,CAAC,CACxC,CAAC;AACJ,CAAC,EAJgB,WAAW,2BAAX,WAAW,QAI3B;AACD,WAAiB,WAAW;IACb,+BAAmB,GAAG,aAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CAC7C,aAAC,CAAC,MAAM,CAAC;QACP,MAAM,EAAE,aAAC,CAAC,OAAO,CAAC,2BAA2B,CAAC;QAC9C,MAAM,EAAE,WAAW,CAAC,6BAA6B;KAClD,CAAC,CACH,CAAC;AACJ,CAAC,EAPgB,WAAW,2BAAX,WAAW,QAO3B;AACD,WAAiB,WAAW;IACb,yCAA6B,GAAG,aAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CACvD,aAAC,CAAC,MAAM,CAAC;QACP,UAAU,EAAE,WAAW,CAAC,0BAA0B;QAClD,KAAK,EAAE,WAAW,CAAC,qBAAqB;QACxC,MAAM,EAAE,aAAC,CAAC,MAAM,EAAE;KACnB,CAAC,CACH,CAAC;AACJ,CAAC,EARgB,WAAW,2BAAX,WAAW,QAQ3B"} \ No newline at end of file diff --git a/node_modules/chromium-bidi/lib/cjs/protocol-parser/generated/webdriver-bidi.d.ts b/node_modules/chromium-bidi/lib/cjs/protocol-parser/generated/webdriver-bidi.d.ts deleted file mode 100644 index 43c3ab4..0000000 --- a/node_modules/chromium-bidi/lib/cjs/protocol-parser/generated/webdriver-bidi.d.ts +++ /dev/null @@ -1,75634 +0,0 @@ -/** - * Copyright 2024 Google LLC. - * Copyright (c) Microsoft Corporation. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -/** - * THIS FILE IS AUTOGENERATED by cddlconv 0.1.3. - * Run `node tools/generate-bidi-types.mjs` to regenerate. - * @see https://github.com/w3c/webdriver-bidi/blob/master/index.bs - */ -import z from 'zod'; -export declare const EventSchema: z.ZodLazy; -}, "strip", z.ZodTypeAny, { - type: "event"; -}, { - type: "event"; -}>, z.ZodLazy; - params: any; -}, "strip", z.ZodTypeAny, { - method: "browsingContext.contextCreated"; - params?: any; -}, { - method: "browsingContext.contextCreated"; - params?: any; -}>>, z.ZodLazy; - params: any; -}, "strip", z.ZodTypeAny, { - method: "browsingContext.contextDestroyed"; - params?: any; -}, { - method: "browsingContext.contextDestroyed"; - params?: any; -}>>, z.ZodLazy; - params: z.ZodLazy; - navigation: z.ZodUnion<[z.ZodLazy, z.ZodNull]>; - timestamp: z.ZodLazy; - url: z.ZodString; - }, "strip", z.ZodTypeAny, { - url: string; - navigation: string | null; - context: string; - timestamp: number; - }, { - url: string; - navigation: string | null; - context: string; - timestamp: number; - }>>; -}, "strip", z.ZodTypeAny, { - params: { - url: string; - navigation: string | null; - context: string; - timestamp: number; - }; - method: "browsingContext.domContentLoaded"; -}, { - params: { - url: string; - navigation: string | null; - context: string; - timestamp: number; - }; - method: "browsingContext.domContentLoaded"; -}>>, z.ZodLazy; - params: z.ZodLazy; - navigation: z.ZodUnion<[z.ZodLazy, z.ZodNull]>; - timestamp: z.ZodLazy; - url: z.ZodString; - }, "strip", z.ZodTypeAny, { - url: string; - navigation: string | null; - context: string; - timestamp: number; - }, { - url: string; - navigation: string | null; - context: string; - timestamp: number; - }>>; -}, "strip", z.ZodTypeAny, { - params: { - url: string; - navigation: string | null; - context: string; - timestamp: number; - }; - method: "browsingContext.downloadWillBegin"; -}, { - params: { - url: string; - navigation: string | null; - context: string; - timestamp: number; - }; - method: "browsingContext.downloadWillBegin"; -}>>, z.ZodLazy; - params: z.ZodLazy; - navigation: z.ZodUnion<[z.ZodLazy, z.ZodNull]>; - timestamp: z.ZodLazy; - url: z.ZodString; - }, "strip", z.ZodTypeAny, { - url: string; - navigation: string | null; - context: string; - timestamp: number; - }, { - url: string; - navigation: string | null; - context: string; - timestamp: number; - }>>; -}, "strip", z.ZodTypeAny, { - params: { - url: string; - navigation: string | null; - context: string; - timestamp: number; - }; - method: "browsingContext.fragmentNavigated"; -}, { - params: { - url: string; - navigation: string | null; - context: string; - timestamp: number; - }; - method: "browsingContext.fragmentNavigated"; -}>>, z.ZodLazy; - params: z.ZodLazy; - navigation: z.ZodUnion<[z.ZodLazy, z.ZodNull]>; - timestamp: z.ZodLazy; - url: z.ZodString; - }, "strip", z.ZodTypeAny, { - url: string; - navigation: string | null; - context: string; - timestamp: number; - }, { - url: string; - navigation: string | null; - context: string; - timestamp: number; - }>>; -}, "strip", z.ZodTypeAny, { - params: { - url: string; - navigation: string | null; - context: string; - timestamp: number; - }; - method: "browsingContext.load"; -}, { - params: { - url: string; - navigation: string | null; - context: string; - timestamp: number; - }; - method: "browsingContext.load"; -}>>, z.ZodLazy; - params: z.ZodLazy; - navigation: z.ZodUnion<[z.ZodLazy, z.ZodNull]>; - timestamp: z.ZodLazy; - url: z.ZodString; - }, "strip", z.ZodTypeAny, { - url: string; - navigation: string | null; - context: string; - timestamp: number; - }, { - url: string; - navigation: string | null; - context: string; - timestamp: number; - }>>; -}, "strip", z.ZodTypeAny, { - params: { - url: string; - navigation: string | null; - context: string; - timestamp: number; - }; - method: "browsingContext.navigationAborted"; -}, { - params: { - url: string; - navigation: string | null; - context: string; - timestamp: number; - }; - method: "browsingContext.navigationAborted"; -}>>, z.ZodLazy; - params: z.ZodLazy; - navigation: z.ZodUnion<[z.ZodLazy, z.ZodNull]>; - timestamp: z.ZodLazy; - url: z.ZodString; - }, "strip", z.ZodTypeAny, { - url: string; - navigation: string | null; - context: string; - timestamp: number; - }, { - url: string; - navigation: string | null; - context: string; - timestamp: number; - }>>; -}, "strip", z.ZodTypeAny, { - params: { - url: string; - navigation: string | null; - context: string; - timestamp: number; - }; - method: "browsingContext.navigationFailed"; -}, { - params: { - url: string; - navigation: string | null; - context: string; - timestamp: number; - }; - method: "browsingContext.navigationFailed"; -}>>, z.ZodLazy; - params: z.ZodLazy; - navigation: z.ZodUnion<[z.ZodLazy, z.ZodNull]>; - timestamp: z.ZodLazy; - url: z.ZodString; - }, "strip", z.ZodTypeAny, { - url: string; - navigation: string | null; - context: string; - timestamp: number; - }, { - url: string; - navigation: string | null; - context: string; - timestamp: number; - }>>; -}, "strip", z.ZodTypeAny, { - params: { - url: string; - navigation: string | null; - context: string; - timestamp: number; - }; - method: "browsingContext.navigationStarted"; -}, { - params: { - url: string; - navigation: string | null; - context: string; - timestamp: number; - }; - method: "browsingContext.navigationStarted"; -}>>, z.ZodLazy; - params: z.ZodLazy; - accepted: z.ZodBoolean; - userText: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - context: string; - accepted: boolean; - userText?: string | undefined; - }, { - context: string; - accepted: boolean; - userText?: string | undefined; - }>>; -}, "strip", z.ZodTypeAny, { - params: { - context: string; - accepted: boolean; - userText?: string | undefined; - }; - method: "browsingContext.userPromptClosed"; -}, { - params: { - context: string; - accepted: boolean; - userText?: string | undefined; - }; - method: "browsingContext.userPromptClosed"; -}>>, z.ZodLazy; - params: z.ZodLazy; - type: z.ZodEnum<["alert", "confirm", "prompt", "beforeunload"]>; - message: z.ZodString; - defaultValue: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - message: string; - type: "prompt" | "alert" | "confirm" | "beforeunload"; - context: string; - defaultValue?: string | undefined; - }, { - message: string; - type: "prompt" | "alert" | "confirm" | "beforeunload"; - context: string; - defaultValue?: string | undefined; - }>>; -}, "strip", z.ZodTypeAny, { - params: { - message: string; - type: "prompt" | "alert" | "confirm" | "beforeunload"; - context: string; - defaultValue?: string | undefined; - }; - method: "browsingContext.userPromptOpened"; -}, { - params: { - message: string; - type: "prompt" | "alert" | "confirm" | "beforeunload"; - context: string; - defaultValue?: string | undefined; - }; - method: "browsingContext.userPromptOpened"; -}>>]>>, z.ZodLazy; - params: z.ZodLazy>; - source: z.ZodLazy; - context: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - realm: string; - context?: string | undefined; - }, { - realm: string; - context?: string | undefined; - }>>; - text: z.ZodUnion<[z.ZodString, z.ZodNull]>; - timestamp: z.ZodLazy; - stackTrace: z.ZodOptional; - functionName: z.ZodString; - lineNumber: z.ZodLazy; - url: z.ZodString; - }, "strip", z.ZodTypeAny, { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }, { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }>>, "many">; - }, "strip", z.ZodTypeAny, { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }, { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }>>>; - }, "strip", z.ZodTypeAny, { - level: "error" | "debug" | "info" | "warn"; - source: { - realm: string; - context?: string | undefined; - }; - text: string | null; - timestamp: number; - stackTrace?: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - } | undefined; - }, { - level: "error" | "debug" | "info" | "warn"; - source: { - realm: string; - context?: string | undefined; - }; - text: string | null; - timestamp: number; - stackTrace?: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - } | undefined; - }>>, z.ZodObject<{ - type: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: string; - }, { - type: string; - }>>>, z.ZodLazy>; - source: z.ZodLazy; - context: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - realm: string; - context?: string | undefined; - }, { - realm: string; - context?: string | undefined; - }>>; - text: z.ZodUnion<[z.ZodString, z.ZodNull]>; - timestamp: z.ZodLazy; - stackTrace: z.ZodOptional; - functionName: z.ZodString; - lineNumber: z.ZodLazy; - url: z.ZodString; - }, "strip", z.ZodTypeAny, { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }, { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }>>, "many">; - }, "strip", z.ZodTypeAny, { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }, { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }>>>; - }, "strip", z.ZodTypeAny, { - level: "error" | "debug" | "info" | "warn"; - source: { - realm: string; - context?: string | undefined; - }; - text: string | null; - timestamp: number; - stackTrace?: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - } | undefined; - }, { - level: "error" | "debug" | "info" | "warn"; - source: { - realm: string; - context?: string | undefined; - }; - text: string | null; - timestamp: number; - stackTrace?: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - } | undefined; - }>>, z.ZodObject<{ - type: z.ZodLiteral<"console">; - method: z.ZodString; - args: z.ZodArray; - }, "strip", z.ZodTypeAny, { - type: "console"; - args: any[]; - method: string; - }, { - type: "console"; - args: any[]; - method: string; - }>>>, z.ZodLazy>; - source: z.ZodLazy; - context: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - realm: string; - context?: string | undefined; - }, { - realm: string; - context?: string | undefined; - }>>; - text: z.ZodUnion<[z.ZodString, z.ZodNull]>; - timestamp: z.ZodLazy; - stackTrace: z.ZodOptional; - functionName: z.ZodString; - lineNumber: z.ZodLazy; - url: z.ZodString; - }, "strip", z.ZodTypeAny, { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }, { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }>>, "many">; - }, "strip", z.ZodTypeAny, { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }, { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }>>>; - }, "strip", z.ZodTypeAny, { - level: "error" | "debug" | "info" | "warn"; - source: { - realm: string; - context?: string | undefined; - }; - text: string | null; - timestamp: number; - stackTrace?: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - } | undefined; - }, { - level: "error" | "debug" | "info" | "warn"; - source: { - realm: string; - context?: string | undefined; - }; - text: string | null; - timestamp: number; - stackTrace?: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - } | undefined; - }>>, z.ZodObject<{ - type: z.ZodLiteral<"javascript">; - }, "strip", z.ZodTypeAny, { - type: "javascript"; - }, { - type: "javascript"; - }>>>]>>; -}, "strip", z.ZodTypeAny, { - params: ({ - level: "error" | "debug" | "info" | "warn"; - source: { - realm: string; - context?: string | undefined; - }; - text: string | null; - timestamp: number; - stackTrace?: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - } | undefined; - } & { - type: string; - }) | ({ - level: "error" | "debug" | "info" | "warn"; - source: { - realm: string; - context?: string | undefined; - }; - text: string | null; - timestamp: number; - stackTrace?: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - } | undefined; - } & { - type: "console"; - args: any[]; - method: string; - }) | ({ - level: "error" | "debug" | "info" | "warn"; - source: { - realm: string; - context?: string | undefined; - }; - text: string | null; - timestamp: number; - stackTrace?: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - } | undefined; - } & { - type: "javascript"; - }) | ({ - level: "error" | "debug" | "info" | "warn"; - source: { - realm: string; - context?: string | undefined; - }; - text: string | null; - timestamp: number; - stackTrace?: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - } | undefined; - } & { - type: string; - } & { - type: "console"; - args: any[]; - method: string; - }) | ({ - level: "error" | "debug" | "info" | "warn"; - source: { - realm: string; - context?: string | undefined; - }; - text: string | null; - timestamp: number; - stackTrace?: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - } | undefined; - } & { - type: string; - } & { - type: "javascript"; - }) | ({ - level: "error" | "debug" | "info" | "warn"; - source: { - realm: string; - context?: string | undefined; - }; - text: string | null; - timestamp: number; - stackTrace?: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - } | undefined; - } & { - type: "console"; - args: any[]; - method: string; - } & { - type: string; - }) | ({ - level: "error" | "debug" | "info" | "warn"; - source: { - realm: string; - context?: string | undefined; - }; - text: string | null; - timestamp: number; - stackTrace?: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - } | undefined; - } & { - type: "javascript"; - } & { - type: string; - }); - method: "log.entryAdded"; -}, { - params: ({ - level: "error" | "debug" | "info" | "warn"; - source: { - realm: string; - context?: string | undefined; - }; - text: string | null; - timestamp: number; - stackTrace?: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - } | undefined; - } & { - type: string; - }) | ({ - level: "error" | "debug" | "info" | "warn"; - source: { - realm: string; - context?: string | undefined; - }; - text: string | null; - timestamp: number; - stackTrace?: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - } | undefined; - } & { - type: "console"; - args: any[]; - method: string; - }) | ({ - level: "error" | "debug" | "info" | "warn"; - source: { - realm: string; - context?: string | undefined; - }; - text: string | null; - timestamp: number; - stackTrace?: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - } | undefined; - } & { - type: "javascript"; - }) | ({ - level: "error" | "debug" | "info" | "warn"; - source: { - realm: string; - context?: string | undefined; - }; - text: string | null; - timestamp: number; - stackTrace?: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - } | undefined; - } & { - type: string; - } & { - type: "console"; - args: any[]; - method: string; - }) | ({ - level: "error" | "debug" | "info" | "warn"; - source: { - realm: string; - context?: string | undefined; - }; - text: string | null; - timestamp: number; - stackTrace?: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - } | undefined; - } & { - type: string; - } & { - type: "javascript"; - }) | ({ - level: "error" | "debug" | "info" | "warn"; - source: { - realm: string; - context?: string | undefined; - }; - text: string | null; - timestamp: number; - stackTrace?: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - } | undefined; - } & { - type: "console"; - args: any[]; - method: string; - } & { - type: string; - }) | ({ - level: "error" | "debug" | "info" | "warn"; - source: { - realm: string; - context?: string | undefined; - }; - text: string | null; - timestamp: number; - stackTrace?: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - } | undefined; - } & { - type: "javascript"; - } & { - type: string; - }); - method: "log.entryAdded"; -}>>>, z.ZodLazy; - params: z.ZodLazy, z.ZodNull]>; - isBlocked: z.ZodBoolean; - navigation: z.ZodUnion<[z.ZodLazy, z.ZodNull]>; - redirectCount: z.ZodLazy; - request: z.ZodLazy; - url: z.ZodString; - method: z.ZodString; - headers: z.ZodArray; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "string"; - value: string; - }, { - type: "string"; - value: string; - }>>, z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "base64"; - value: string; - }, { - type: "base64"; - value: string; - }>>]>>; - }, "strip", z.ZodTypeAny, { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }, { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }>>, "many">; - cookies: z.ZodArray; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "string"; - value: string; - }, { - type: "string"; - value: string; - }>>, z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "base64"; - value: string; - }, { - type: "base64"; - value: string; - }>>]>>; - domain: z.ZodString; - path: z.ZodString; - size: z.ZodLazy; - httpOnly: z.ZodBoolean; - secure: z.ZodBoolean; - sameSite: z.ZodLazy>; - expiry: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - }, { - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - }>, z.ZodLazy>>>, "many">; - headersSize: z.ZodLazy; - bodySize: z.ZodUnion<[z.ZodLazy, z.ZodNull]>; - timings: z.ZodLazy>; - }, "strip", z.ZodTypeAny, { - url: string; - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - method: string; - request: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - headersSize: number; - bodySize: number | null; - timings: { - timeOrigin: number; - requestTime: number; - redirectStart: number; - redirectEnd: number; - fetchStart: number; - dnsStart: number; - dnsEnd: number; - connectStart: number; - connectEnd: number; - tlsStart: number; - requestStart: number; - responseStart: number; - responseEnd: number; - }; - }, { - url: string; - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - method: string; - request: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - headersSize: number; - bodySize: number | null; - timings: { - timeOrigin: number; - requestTime: number; - redirectStart: number; - redirectEnd: number; - fetchStart: number; - dnsStart: number; - dnsEnd: number; - connectStart: number; - connectEnd: number; - tlsStart: number; - requestStart: number; - responseStart: number; - responseEnd: number; - }; - }>>; - timestamp: z.ZodLazy; - intercepts: z.ZodOptional, "many">>; - }, "strip", z.ZodTypeAny, { - navigation: string | null; - context: string | null; - request: { - url: string; - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - method: string; - request: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - headersSize: number; - bodySize: number | null; - timings: { - timeOrigin: number; - requestTime: number; - redirectStart: number; - redirectEnd: number; - fetchStart: number; - dnsStart: number; - dnsEnd: number; - connectStart: number; - connectEnd: number; - tlsStart: number; - requestStart: number; - responseStart: number; - responseEnd: number; - }; - }; - timestamp: number; - isBlocked: boolean; - redirectCount: number; - intercepts?: string[] | undefined; - }, { - navigation: string | null; - context: string | null; - request: { - url: string; - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - method: string; - request: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - headersSize: number; - bodySize: number | null; - timings: { - timeOrigin: number; - requestTime: number; - redirectStart: number; - redirectEnd: number; - fetchStart: number; - dnsStart: number; - dnsEnd: number; - connectStart: number; - connectEnd: number; - tlsStart: number; - requestStart: number; - responseStart: number; - responseEnd: number; - }; - }; - timestamp: number; - isBlocked: boolean; - redirectCount: number; - intercepts?: string[] | undefined; - }>>, z.ZodObject<{ - response: z.ZodLazy; - statusText: z.ZodString; - fromCache: z.ZodBoolean; - headers: z.ZodArray; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "string"; - value: string; - }, { - type: "string"; - value: string; - }>>, z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "base64"; - value: string; - }, { - type: "base64"; - value: string; - }>>]>>; - }, "strip", z.ZodTypeAny, { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }, { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }>>, "many">; - mimeType: z.ZodString; - bytesReceived: z.ZodLazy; - headersSize: z.ZodUnion<[z.ZodLazy, z.ZodNull]>; - bodySize: z.ZodUnion<[z.ZodLazy, z.ZodNull]>; - content: z.ZodLazy; - }, "strip", z.ZodTypeAny, { - size: number; - }, { - size: number; - }>>; - authChallenge: z.ZodOptional>>; - }, "strip", z.ZodTypeAny, { - url: string; - status: number; - protocol: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - content: { - size: number; - }; - headersSize: number | null; - bodySize: number | null; - statusText: string; - fromCache: boolean; - mimeType: string; - bytesReceived: number; - authChallenge?: { - realm: string; - scheme: string; - } | undefined; - }, { - url: string; - status: number; - protocol: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - content: { - size: number; - }; - headersSize: number | null; - bodySize: number | null; - statusText: string; - fromCache: boolean; - mimeType: string; - bytesReceived: number; - authChallenge?: { - realm: string; - scheme: string; - } | undefined; - }>>; - }, "strip", z.ZodTypeAny, { - response: { - url: string; - status: number; - protocol: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - content: { - size: number; - }; - headersSize: number | null; - bodySize: number | null; - statusText: string; - fromCache: boolean; - mimeType: string; - bytesReceived: number; - authChallenge?: { - realm: string; - scheme: string; - } | undefined; - }; - }, { - response: { - url: string; - status: number; - protocol: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - content: { - size: number; - }; - headersSize: number | null; - bodySize: number | null; - statusText: string; - fromCache: boolean; - mimeType: string; - bytesReceived: number; - authChallenge?: { - realm: string; - scheme: string; - } | undefined; - }; - }>>>; -}, "strip", z.ZodTypeAny, { - params: { - navigation: string | null; - context: string | null; - request: { - url: string; - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - method: string; - request: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - headersSize: number; - bodySize: number | null; - timings: { - timeOrigin: number; - requestTime: number; - redirectStart: number; - redirectEnd: number; - fetchStart: number; - dnsStart: number; - dnsEnd: number; - connectStart: number; - connectEnd: number; - tlsStart: number; - requestStart: number; - responseStart: number; - responseEnd: number; - }; - }; - timestamp: number; - isBlocked: boolean; - redirectCount: number; - intercepts?: string[] | undefined; - } & { - response: { - url: string; - status: number; - protocol: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - content: { - size: number; - }; - headersSize: number | null; - bodySize: number | null; - statusText: string; - fromCache: boolean; - mimeType: string; - bytesReceived: number; - authChallenge?: { - realm: string; - scheme: string; - } | undefined; - }; - }; - method: "network.authRequired"; -}, { - params: { - navigation: string | null; - context: string | null; - request: { - url: string; - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - method: string; - request: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - headersSize: number; - bodySize: number | null; - timings: { - timeOrigin: number; - requestTime: number; - redirectStart: number; - redirectEnd: number; - fetchStart: number; - dnsStart: number; - dnsEnd: number; - connectStart: number; - connectEnd: number; - tlsStart: number; - requestStart: number; - responseStart: number; - responseEnd: number; - }; - }; - timestamp: number; - isBlocked: boolean; - redirectCount: number; - intercepts?: string[] | undefined; - } & { - response: { - url: string; - status: number; - protocol: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - content: { - size: number; - }; - headersSize: number | null; - bodySize: number | null; - statusText: string; - fromCache: boolean; - mimeType: string; - bytesReceived: number; - authChallenge?: { - realm: string; - scheme: string; - } | undefined; - }; - }; - method: "network.authRequired"; -}>>, z.ZodLazy; - params: z.ZodLazy, z.ZodNull]>; - isBlocked: z.ZodBoolean; - navigation: z.ZodUnion<[z.ZodLazy, z.ZodNull]>; - redirectCount: z.ZodLazy; - request: z.ZodLazy; - url: z.ZodString; - method: z.ZodString; - headers: z.ZodArray; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "string"; - value: string; - }, { - type: "string"; - value: string; - }>>, z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "base64"; - value: string; - }, { - type: "base64"; - value: string; - }>>]>>; - }, "strip", z.ZodTypeAny, { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }, { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }>>, "many">; - cookies: z.ZodArray; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "string"; - value: string; - }, { - type: "string"; - value: string; - }>>, z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "base64"; - value: string; - }, { - type: "base64"; - value: string; - }>>]>>; - domain: z.ZodString; - path: z.ZodString; - size: z.ZodLazy; - httpOnly: z.ZodBoolean; - secure: z.ZodBoolean; - sameSite: z.ZodLazy>; - expiry: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - }, { - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - }>, z.ZodLazy>>>, "many">; - headersSize: z.ZodLazy; - bodySize: z.ZodUnion<[z.ZodLazy, z.ZodNull]>; - timings: z.ZodLazy>; - }, "strip", z.ZodTypeAny, { - url: string; - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - method: string; - request: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - headersSize: number; - bodySize: number | null; - timings: { - timeOrigin: number; - requestTime: number; - redirectStart: number; - redirectEnd: number; - fetchStart: number; - dnsStart: number; - dnsEnd: number; - connectStart: number; - connectEnd: number; - tlsStart: number; - requestStart: number; - responseStart: number; - responseEnd: number; - }; - }, { - url: string; - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - method: string; - request: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - headersSize: number; - bodySize: number | null; - timings: { - timeOrigin: number; - requestTime: number; - redirectStart: number; - redirectEnd: number; - fetchStart: number; - dnsStart: number; - dnsEnd: number; - connectStart: number; - connectEnd: number; - tlsStart: number; - requestStart: number; - responseStart: number; - responseEnd: number; - }; - }>>; - timestamp: z.ZodLazy; - intercepts: z.ZodOptional, "many">>; - }, "strip", z.ZodTypeAny, { - navigation: string | null; - context: string | null; - request: { - url: string; - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - method: string; - request: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - headersSize: number; - bodySize: number | null; - timings: { - timeOrigin: number; - requestTime: number; - redirectStart: number; - redirectEnd: number; - fetchStart: number; - dnsStart: number; - dnsEnd: number; - connectStart: number; - connectEnd: number; - tlsStart: number; - requestStart: number; - responseStart: number; - responseEnd: number; - }; - }; - timestamp: number; - isBlocked: boolean; - redirectCount: number; - intercepts?: string[] | undefined; - }, { - navigation: string | null; - context: string | null; - request: { - url: string; - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - method: string; - request: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - headersSize: number; - bodySize: number | null; - timings: { - timeOrigin: number; - requestTime: number; - redirectStart: number; - redirectEnd: number; - fetchStart: number; - dnsStart: number; - dnsEnd: number; - connectStart: number; - connectEnd: number; - tlsStart: number; - requestStart: number; - responseStart: number; - responseEnd: number; - }; - }; - timestamp: number; - isBlocked: boolean; - redirectCount: number; - intercepts?: string[] | undefined; - }>>, z.ZodObject<{ - initiator: z.ZodLazy; - columnNumber: z.ZodOptional>; - lineNumber: z.ZodOptional>; - stackTrace: z.ZodOptional; - functionName: z.ZodString; - lineNumber: z.ZodLazy; - url: z.ZodString; - }, "strip", z.ZodTypeAny, { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }, { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }>>, "many">; - }, "strip", z.ZodTypeAny, { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }, { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }>>>; - request: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - type: "other" | "script" | "parser" | "preflight"; - columnNumber?: number | undefined; - lineNumber?: number | undefined; - stackTrace?: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - } | undefined; - request?: string | undefined; - }, { - type: "other" | "script" | "parser" | "preflight"; - columnNumber?: number | undefined; - lineNumber?: number | undefined; - stackTrace?: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - } | undefined; - request?: string | undefined; - }>>; - }, "strip", z.ZodTypeAny, { - initiator: { - type: "other" | "script" | "parser" | "preflight"; - columnNumber?: number | undefined; - lineNumber?: number | undefined; - stackTrace?: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - } | undefined; - request?: string | undefined; - }; - }, { - initiator: { - type: "other" | "script" | "parser" | "preflight"; - columnNumber?: number | undefined; - lineNumber?: number | undefined; - stackTrace?: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - } | undefined; - request?: string | undefined; - }; - }>>>; -}, "strip", z.ZodTypeAny, { - params: { - navigation: string | null; - context: string | null; - request: { - url: string; - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - method: string; - request: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - headersSize: number; - bodySize: number | null; - timings: { - timeOrigin: number; - requestTime: number; - redirectStart: number; - redirectEnd: number; - fetchStart: number; - dnsStart: number; - dnsEnd: number; - connectStart: number; - connectEnd: number; - tlsStart: number; - requestStart: number; - responseStart: number; - responseEnd: number; - }; - }; - timestamp: number; - isBlocked: boolean; - redirectCount: number; - intercepts?: string[] | undefined; - } & { - initiator: { - type: "other" | "script" | "parser" | "preflight"; - columnNumber?: number | undefined; - lineNumber?: number | undefined; - stackTrace?: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - } | undefined; - request?: string | undefined; - }; - }; - method: "network.beforeRequestSent"; -}, { - params: { - navigation: string | null; - context: string | null; - request: { - url: string; - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - method: string; - request: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - headersSize: number; - bodySize: number | null; - timings: { - timeOrigin: number; - requestTime: number; - redirectStart: number; - redirectEnd: number; - fetchStart: number; - dnsStart: number; - dnsEnd: number; - connectStart: number; - connectEnd: number; - tlsStart: number; - requestStart: number; - responseStart: number; - responseEnd: number; - }; - }; - timestamp: number; - isBlocked: boolean; - redirectCount: number; - intercepts?: string[] | undefined; - } & { - initiator: { - type: "other" | "script" | "parser" | "preflight"; - columnNumber?: number | undefined; - lineNumber?: number | undefined; - stackTrace?: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - } | undefined; - request?: string | undefined; - }; - }; - method: "network.beforeRequestSent"; -}>>, z.ZodLazy; - params: z.ZodLazy, z.ZodNull]>; - isBlocked: z.ZodBoolean; - navigation: z.ZodUnion<[z.ZodLazy, z.ZodNull]>; - redirectCount: z.ZodLazy; - request: z.ZodLazy; - url: z.ZodString; - method: z.ZodString; - headers: z.ZodArray; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "string"; - value: string; - }, { - type: "string"; - value: string; - }>>, z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "base64"; - value: string; - }, { - type: "base64"; - value: string; - }>>]>>; - }, "strip", z.ZodTypeAny, { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }, { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }>>, "many">; - cookies: z.ZodArray; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "string"; - value: string; - }, { - type: "string"; - value: string; - }>>, z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "base64"; - value: string; - }, { - type: "base64"; - value: string; - }>>]>>; - domain: z.ZodString; - path: z.ZodString; - size: z.ZodLazy; - httpOnly: z.ZodBoolean; - secure: z.ZodBoolean; - sameSite: z.ZodLazy>; - expiry: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - }, { - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - }>, z.ZodLazy>>>, "many">; - headersSize: z.ZodLazy; - bodySize: z.ZodUnion<[z.ZodLazy, z.ZodNull]>; - timings: z.ZodLazy>; - }, "strip", z.ZodTypeAny, { - url: string; - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - method: string; - request: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - headersSize: number; - bodySize: number | null; - timings: { - timeOrigin: number; - requestTime: number; - redirectStart: number; - redirectEnd: number; - fetchStart: number; - dnsStart: number; - dnsEnd: number; - connectStart: number; - connectEnd: number; - tlsStart: number; - requestStart: number; - responseStart: number; - responseEnd: number; - }; - }, { - url: string; - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - method: string; - request: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - headersSize: number; - bodySize: number | null; - timings: { - timeOrigin: number; - requestTime: number; - redirectStart: number; - redirectEnd: number; - fetchStart: number; - dnsStart: number; - dnsEnd: number; - connectStart: number; - connectEnd: number; - tlsStart: number; - requestStart: number; - responseStart: number; - responseEnd: number; - }; - }>>; - timestamp: z.ZodLazy; - intercepts: z.ZodOptional, "many">>; - }, "strip", z.ZodTypeAny, { - navigation: string | null; - context: string | null; - request: { - url: string; - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - method: string; - request: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - headersSize: number; - bodySize: number | null; - timings: { - timeOrigin: number; - requestTime: number; - redirectStart: number; - redirectEnd: number; - fetchStart: number; - dnsStart: number; - dnsEnd: number; - connectStart: number; - connectEnd: number; - tlsStart: number; - requestStart: number; - responseStart: number; - responseEnd: number; - }; - }; - timestamp: number; - isBlocked: boolean; - redirectCount: number; - intercepts?: string[] | undefined; - }, { - navigation: string | null; - context: string | null; - request: { - url: string; - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - method: string; - request: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - headersSize: number; - bodySize: number | null; - timings: { - timeOrigin: number; - requestTime: number; - redirectStart: number; - redirectEnd: number; - fetchStart: number; - dnsStart: number; - dnsEnd: number; - connectStart: number; - connectEnd: number; - tlsStart: number; - requestStart: number; - responseStart: number; - responseEnd: number; - }; - }; - timestamp: number; - isBlocked: boolean; - redirectCount: number; - intercepts?: string[] | undefined; - }>>, z.ZodObject<{ - errorText: z.ZodString; - }, "strip", z.ZodTypeAny, { - errorText: string; - }, { - errorText: string; - }>>>; -}, "strip", z.ZodTypeAny, { - params: { - navigation: string | null; - context: string | null; - request: { - url: string; - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - method: string; - request: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - headersSize: number; - bodySize: number | null; - timings: { - timeOrigin: number; - requestTime: number; - redirectStart: number; - redirectEnd: number; - fetchStart: number; - dnsStart: number; - dnsEnd: number; - connectStart: number; - connectEnd: number; - tlsStart: number; - requestStart: number; - responseStart: number; - responseEnd: number; - }; - }; - timestamp: number; - isBlocked: boolean; - redirectCount: number; - intercepts?: string[] | undefined; - } & { - errorText: string; - }; - method: "network.fetchError"; -}, { - params: { - navigation: string | null; - context: string | null; - request: { - url: string; - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - method: string; - request: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - headersSize: number; - bodySize: number | null; - timings: { - timeOrigin: number; - requestTime: number; - redirectStart: number; - redirectEnd: number; - fetchStart: number; - dnsStart: number; - dnsEnd: number; - connectStart: number; - connectEnd: number; - tlsStart: number; - requestStart: number; - responseStart: number; - responseEnd: number; - }; - }; - timestamp: number; - isBlocked: boolean; - redirectCount: number; - intercepts?: string[] | undefined; - } & { - errorText: string; - }; - method: "network.fetchError"; -}>>, z.ZodLazy; - params: z.ZodLazy, z.ZodNull]>; - isBlocked: z.ZodBoolean; - navigation: z.ZodUnion<[z.ZodLazy, z.ZodNull]>; - redirectCount: z.ZodLazy; - request: z.ZodLazy; - url: z.ZodString; - method: z.ZodString; - headers: z.ZodArray; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "string"; - value: string; - }, { - type: "string"; - value: string; - }>>, z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "base64"; - value: string; - }, { - type: "base64"; - value: string; - }>>]>>; - }, "strip", z.ZodTypeAny, { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }, { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }>>, "many">; - cookies: z.ZodArray; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "string"; - value: string; - }, { - type: "string"; - value: string; - }>>, z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "base64"; - value: string; - }, { - type: "base64"; - value: string; - }>>]>>; - domain: z.ZodString; - path: z.ZodString; - size: z.ZodLazy; - httpOnly: z.ZodBoolean; - secure: z.ZodBoolean; - sameSite: z.ZodLazy>; - expiry: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - }, { - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - }>, z.ZodLazy>>>, "many">; - headersSize: z.ZodLazy; - bodySize: z.ZodUnion<[z.ZodLazy, z.ZodNull]>; - timings: z.ZodLazy>; - }, "strip", z.ZodTypeAny, { - url: string; - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - method: string; - request: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - headersSize: number; - bodySize: number | null; - timings: { - timeOrigin: number; - requestTime: number; - redirectStart: number; - redirectEnd: number; - fetchStart: number; - dnsStart: number; - dnsEnd: number; - connectStart: number; - connectEnd: number; - tlsStart: number; - requestStart: number; - responseStart: number; - responseEnd: number; - }; - }, { - url: string; - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - method: string; - request: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - headersSize: number; - bodySize: number | null; - timings: { - timeOrigin: number; - requestTime: number; - redirectStart: number; - redirectEnd: number; - fetchStart: number; - dnsStart: number; - dnsEnd: number; - connectStart: number; - connectEnd: number; - tlsStart: number; - requestStart: number; - responseStart: number; - responseEnd: number; - }; - }>>; - timestamp: z.ZodLazy; - intercepts: z.ZodOptional, "many">>; - }, "strip", z.ZodTypeAny, { - navigation: string | null; - context: string | null; - request: { - url: string; - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - method: string; - request: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - headersSize: number; - bodySize: number | null; - timings: { - timeOrigin: number; - requestTime: number; - redirectStart: number; - redirectEnd: number; - fetchStart: number; - dnsStart: number; - dnsEnd: number; - connectStart: number; - connectEnd: number; - tlsStart: number; - requestStart: number; - responseStart: number; - responseEnd: number; - }; - }; - timestamp: number; - isBlocked: boolean; - redirectCount: number; - intercepts?: string[] | undefined; - }, { - navigation: string | null; - context: string | null; - request: { - url: string; - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - method: string; - request: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - headersSize: number; - bodySize: number | null; - timings: { - timeOrigin: number; - requestTime: number; - redirectStart: number; - redirectEnd: number; - fetchStart: number; - dnsStart: number; - dnsEnd: number; - connectStart: number; - connectEnd: number; - tlsStart: number; - requestStart: number; - responseStart: number; - responseEnd: number; - }; - }; - timestamp: number; - isBlocked: boolean; - redirectCount: number; - intercepts?: string[] | undefined; - }>>, z.ZodObject<{ - response: z.ZodLazy; - statusText: z.ZodString; - fromCache: z.ZodBoolean; - headers: z.ZodArray; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "string"; - value: string; - }, { - type: "string"; - value: string; - }>>, z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "base64"; - value: string; - }, { - type: "base64"; - value: string; - }>>]>>; - }, "strip", z.ZodTypeAny, { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }, { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }>>, "many">; - mimeType: z.ZodString; - bytesReceived: z.ZodLazy; - headersSize: z.ZodUnion<[z.ZodLazy, z.ZodNull]>; - bodySize: z.ZodUnion<[z.ZodLazy, z.ZodNull]>; - content: z.ZodLazy; - }, "strip", z.ZodTypeAny, { - size: number; - }, { - size: number; - }>>; - authChallenge: z.ZodOptional>>; - }, "strip", z.ZodTypeAny, { - url: string; - status: number; - protocol: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - content: { - size: number; - }; - headersSize: number | null; - bodySize: number | null; - statusText: string; - fromCache: boolean; - mimeType: string; - bytesReceived: number; - authChallenge?: { - realm: string; - scheme: string; - } | undefined; - }, { - url: string; - status: number; - protocol: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - content: { - size: number; - }; - headersSize: number | null; - bodySize: number | null; - statusText: string; - fromCache: boolean; - mimeType: string; - bytesReceived: number; - authChallenge?: { - realm: string; - scheme: string; - } | undefined; - }>>; - }, "strip", z.ZodTypeAny, { - response: { - url: string; - status: number; - protocol: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - content: { - size: number; - }; - headersSize: number | null; - bodySize: number | null; - statusText: string; - fromCache: boolean; - mimeType: string; - bytesReceived: number; - authChallenge?: { - realm: string; - scheme: string; - } | undefined; - }; - }, { - response: { - url: string; - status: number; - protocol: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - content: { - size: number; - }; - headersSize: number | null; - bodySize: number | null; - statusText: string; - fromCache: boolean; - mimeType: string; - bytesReceived: number; - authChallenge?: { - realm: string; - scheme: string; - } | undefined; - }; - }>>>; -}, "strip", z.ZodTypeAny, { - params: { - navigation: string | null; - context: string | null; - request: { - url: string; - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - method: string; - request: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - headersSize: number; - bodySize: number | null; - timings: { - timeOrigin: number; - requestTime: number; - redirectStart: number; - redirectEnd: number; - fetchStart: number; - dnsStart: number; - dnsEnd: number; - connectStart: number; - connectEnd: number; - tlsStart: number; - requestStart: number; - responseStart: number; - responseEnd: number; - }; - }; - timestamp: number; - isBlocked: boolean; - redirectCount: number; - intercepts?: string[] | undefined; - } & { - response: { - url: string; - status: number; - protocol: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - content: { - size: number; - }; - headersSize: number | null; - bodySize: number | null; - statusText: string; - fromCache: boolean; - mimeType: string; - bytesReceived: number; - authChallenge?: { - realm: string; - scheme: string; - } | undefined; - }; - }; - method: "network.responseCompleted"; -}, { - params: { - navigation: string | null; - context: string | null; - request: { - url: string; - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - method: string; - request: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - headersSize: number; - bodySize: number | null; - timings: { - timeOrigin: number; - requestTime: number; - redirectStart: number; - redirectEnd: number; - fetchStart: number; - dnsStart: number; - dnsEnd: number; - connectStart: number; - connectEnd: number; - tlsStart: number; - requestStart: number; - responseStart: number; - responseEnd: number; - }; - }; - timestamp: number; - isBlocked: boolean; - redirectCount: number; - intercepts?: string[] | undefined; - } & { - response: { - url: string; - status: number; - protocol: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - content: { - size: number; - }; - headersSize: number | null; - bodySize: number | null; - statusText: string; - fromCache: boolean; - mimeType: string; - bytesReceived: number; - authChallenge?: { - realm: string; - scheme: string; - } | undefined; - }; - }; - method: "network.responseCompleted"; -}>>, z.ZodLazy; - params: z.ZodLazy, z.ZodNull]>; - isBlocked: z.ZodBoolean; - navigation: z.ZodUnion<[z.ZodLazy, z.ZodNull]>; - redirectCount: z.ZodLazy; - request: z.ZodLazy; - url: z.ZodString; - method: z.ZodString; - headers: z.ZodArray; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "string"; - value: string; - }, { - type: "string"; - value: string; - }>>, z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "base64"; - value: string; - }, { - type: "base64"; - value: string; - }>>]>>; - }, "strip", z.ZodTypeAny, { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }, { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }>>, "many">; - cookies: z.ZodArray; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "string"; - value: string; - }, { - type: "string"; - value: string; - }>>, z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "base64"; - value: string; - }, { - type: "base64"; - value: string; - }>>]>>; - domain: z.ZodString; - path: z.ZodString; - size: z.ZodLazy; - httpOnly: z.ZodBoolean; - secure: z.ZodBoolean; - sameSite: z.ZodLazy>; - expiry: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - }, { - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - }>, z.ZodLazy>>>, "many">; - headersSize: z.ZodLazy; - bodySize: z.ZodUnion<[z.ZodLazy, z.ZodNull]>; - timings: z.ZodLazy>; - }, "strip", z.ZodTypeAny, { - url: string; - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - method: string; - request: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - headersSize: number; - bodySize: number | null; - timings: { - timeOrigin: number; - requestTime: number; - redirectStart: number; - redirectEnd: number; - fetchStart: number; - dnsStart: number; - dnsEnd: number; - connectStart: number; - connectEnd: number; - tlsStart: number; - requestStart: number; - responseStart: number; - responseEnd: number; - }; - }, { - url: string; - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - method: string; - request: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - headersSize: number; - bodySize: number | null; - timings: { - timeOrigin: number; - requestTime: number; - redirectStart: number; - redirectEnd: number; - fetchStart: number; - dnsStart: number; - dnsEnd: number; - connectStart: number; - connectEnd: number; - tlsStart: number; - requestStart: number; - responseStart: number; - responseEnd: number; - }; - }>>; - timestamp: z.ZodLazy; - intercepts: z.ZodOptional, "many">>; - }, "strip", z.ZodTypeAny, { - navigation: string | null; - context: string | null; - request: { - url: string; - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - method: string; - request: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - headersSize: number; - bodySize: number | null; - timings: { - timeOrigin: number; - requestTime: number; - redirectStart: number; - redirectEnd: number; - fetchStart: number; - dnsStart: number; - dnsEnd: number; - connectStart: number; - connectEnd: number; - tlsStart: number; - requestStart: number; - responseStart: number; - responseEnd: number; - }; - }; - timestamp: number; - isBlocked: boolean; - redirectCount: number; - intercepts?: string[] | undefined; - }, { - navigation: string | null; - context: string | null; - request: { - url: string; - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - method: string; - request: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - headersSize: number; - bodySize: number | null; - timings: { - timeOrigin: number; - requestTime: number; - redirectStart: number; - redirectEnd: number; - fetchStart: number; - dnsStart: number; - dnsEnd: number; - connectStart: number; - connectEnd: number; - tlsStart: number; - requestStart: number; - responseStart: number; - responseEnd: number; - }; - }; - timestamp: number; - isBlocked: boolean; - redirectCount: number; - intercepts?: string[] | undefined; - }>>, z.ZodObject<{ - response: z.ZodLazy; - statusText: z.ZodString; - fromCache: z.ZodBoolean; - headers: z.ZodArray; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "string"; - value: string; - }, { - type: "string"; - value: string; - }>>, z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "base64"; - value: string; - }, { - type: "base64"; - value: string; - }>>]>>; - }, "strip", z.ZodTypeAny, { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }, { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }>>, "many">; - mimeType: z.ZodString; - bytesReceived: z.ZodLazy; - headersSize: z.ZodUnion<[z.ZodLazy, z.ZodNull]>; - bodySize: z.ZodUnion<[z.ZodLazy, z.ZodNull]>; - content: z.ZodLazy; - }, "strip", z.ZodTypeAny, { - size: number; - }, { - size: number; - }>>; - authChallenge: z.ZodOptional>>; - }, "strip", z.ZodTypeAny, { - url: string; - status: number; - protocol: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - content: { - size: number; - }; - headersSize: number | null; - bodySize: number | null; - statusText: string; - fromCache: boolean; - mimeType: string; - bytesReceived: number; - authChallenge?: { - realm: string; - scheme: string; - } | undefined; - }, { - url: string; - status: number; - protocol: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - content: { - size: number; - }; - headersSize: number | null; - bodySize: number | null; - statusText: string; - fromCache: boolean; - mimeType: string; - bytesReceived: number; - authChallenge?: { - realm: string; - scheme: string; - } | undefined; - }>>; - }, "strip", z.ZodTypeAny, { - response: { - url: string; - status: number; - protocol: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - content: { - size: number; - }; - headersSize: number | null; - bodySize: number | null; - statusText: string; - fromCache: boolean; - mimeType: string; - bytesReceived: number; - authChallenge?: { - realm: string; - scheme: string; - } | undefined; - }; - }, { - response: { - url: string; - status: number; - protocol: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - content: { - size: number; - }; - headersSize: number | null; - bodySize: number | null; - statusText: string; - fromCache: boolean; - mimeType: string; - bytesReceived: number; - authChallenge?: { - realm: string; - scheme: string; - } | undefined; - }; - }>>>; -}, "strip", z.ZodTypeAny, { - params: { - navigation: string | null; - context: string | null; - request: { - url: string; - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - method: string; - request: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - headersSize: number; - bodySize: number | null; - timings: { - timeOrigin: number; - requestTime: number; - redirectStart: number; - redirectEnd: number; - fetchStart: number; - dnsStart: number; - dnsEnd: number; - connectStart: number; - connectEnd: number; - tlsStart: number; - requestStart: number; - responseStart: number; - responseEnd: number; - }; - }; - timestamp: number; - isBlocked: boolean; - redirectCount: number; - intercepts?: string[] | undefined; - } & { - response: { - url: string; - status: number; - protocol: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - content: { - size: number; - }; - headersSize: number | null; - bodySize: number | null; - statusText: string; - fromCache: boolean; - mimeType: string; - bytesReceived: number; - authChallenge?: { - realm: string; - scheme: string; - } | undefined; - }; - }; - method: "network.responseStarted"; -}, { - params: { - navigation: string | null; - context: string | null; - request: { - url: string; - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - method: string; - request: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - headersSize: number; - bodySize: number | null; - timings: { - timeOrigin: number; - requestTime: number; - redirectStart: number; - redirectEnd: number; - fetchStart: number; - dnsStart: number; - dnsEnd: number; - connectStart: number; - connectEnd: number; - tlsStart: number; - requestStart: number; - responseStart: number; - responseEnd: number; - }; - }; - timestamp: number; - isBlocked: boolean; - redirectCount: number; - intercepts?: string[] | undefined; - } & { - response: { - url: string; - status: number; - protocol: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - content: { - size: number; - }; - headersSize: number | null; - bodySize: number | null; - statusText: string; - fromCache: boolean; - mimeType: string; - bytesReceived: number; - authChallenge?: { - realm: string; - scheme: string; - } | undefined; - }; - }; - method: "network.responseStarted"; -}>>]>>, z.ZodLazy; - params: z.ZodLazy; - data: any; - source: z.ZodLazy; - context: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - realm: string; - context?: string | undefined; - }, { - realm: string; - context?: string | undefined; - }>>; - }, "strip", z.ZodTypeAny, { - channel: string; - source: { - realm: string; - context?: string | undefined; - }; - data?: any; - }, { - channel: string; - source: { - realm: string; - context?: string | undefined; - }; - data?: any; - }>>; -}, "strip", z.ZodTypeAny, { - params: { - channel: string; - source: { - realm: string; - context?: string | undefined; - }; - data?: any; - }; - method: "script.message"; -}, { - params: { - channel: string; - source: { - realm: string; - context?: string | undefined; - }; - data?: any; - }; - method: "script.message"; -}>>, z.ZodLazy; - params: z.ZodLazy; - origin: z.ZodString; - }, "strip", z.ZodTypeAny, { - origin: string; - realm: string; - }, { - origin: string; - realm: string; - }>>, z.ZodObject<{ - type: z.ZodLiteral<"window">; - context: z.ZodLazy; - sandbox: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - type: "window"; - context: string; - sandbox?: string | undefined; - }, { - type: "window"; - context: string; - sandbox?: string | undefined; - }>>>, z.ZodLazy; - origin: z.ZodString; - }, "strip", z.ZodTypeAny, { - origin: string; - realm: string; - }, { - origin: string; - realm: string; - }>>, z.ZodObject<{ - type: z.ZodLiteral<"dedicated-worker">; - owners: z.ZodTuple<[z.ZodLazy], null>; - }, "strip", z.ZodTypeAny, { - type: "dedicated-worker"; - owners: [string]; - }, { - type: "dedicated-worker"; - owners: [string]; - }>>>, z.ZodLazy; - origin: z.ZodString; - }, "strip", z.ZodTypeAny, { - origin: string; - realm: string; - }, { - origin: string; - realm: string; - }>>, z.ZodObject<{ - type: z.ZodLiteral<"shared-worker">; - }, "strip", z.ZodTypeAny, { - type: "shared-worker"; - }, { - type: "shared-worker"; - }>>>, z.ZodLazy; - origin: z.ZodString; - }, "strip", z.ZodTypeAny, { - origin: string; - realm: string; - }, { - origin: string; - realm: string; - }>>, z.ZodObject<{ - type: z.ZodLiteral<"service-worker">; - }, "strip", z.ZodTypeAny, { - type: "service-worker"; - }, { - type: "service-worker"; - }>>>, z.ZodLazy; - origin: z.ZodString; - }, "strip", z.ZodTypeAny, { - origin: string; - realm: string; - }, { - origin: string; - realm: string; - }>>, z.ZodObject<{ - type: z.ZodLiteral<"worker">; - }, "strip", z.ZodTypeAny, { - type: "worker"; - }, { - type: "worker"; - }>>>, z.ZodLazy; - origin: z.ZodString; - }, "strip", z.ZodTypeAny, { - origin: string; - realm: string; - }, { - origin: string; - realm: string; - }>>, z.ZodObject<{ - type: z.ZodLiteral<"paint-worklet">; - }, "strip", z.ZodTypeAny, { - type: "paint-worklet"; - }, { - type: "paint-worklet"; - }>>>, z.ZodLazy; - origin: z.ZodString; - }, "strip", z.ZodTypeAny, { - origin: string; - realm: string; - }, { - origin: string; - realm: string; - }>>, z.ZodObject<{ - type: z.ZodLiteral<"audio-worklet">; - }, "strip", z.ZodTypeAny, { - type: "audio-worklet"; - }, { - type: "audio-worklet"; - }>>>, z.ZodLazy; - origin: z.ZodString; - }, "strip", z.ZodTypeAny, { - origin: string; - realm: string; - }, { - origin: string; - realm: string; - }>>, z.ZodObject<{ - type: z.ZodLiteral<"worklet">; - }, "strip", z.ZodTypeAny, { - type: "worklet"; - }, { - type: "worklet"; - }>>>]>>; -}, "strip", z.ZodTypeAny, { - params: ({ - origin: string; - realm: string; - } & { - type: "window"; - context: string; - sandbox?: string | undefined; - }) | ({ - origin: string; - realm: string; - } & { - type: "dedicated-worker"; - owners: [string]; - }) | ({ - origin: string; - realm: string; - } & { - type: "shared-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "service-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "paint-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "audio-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worklet"; - }); - method: "script.realmCreated"; -}, { - params: ({ - origin: string; - realm: string; - } & { - type: "window"; - context: string; - sandbox?: string | undefined; - }) | ({ - origin: string; - realm: string; - } & { - type: "dedicated-worker"; - owners: [string]; - }) | ({ - origin: string; - realm: string; - } & { - type: "shared-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "service-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "paint-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "audio-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worklet"; - }); - method: "script.realmCreated"; -}>>, z.ZodLazy; - params: z.ZodLazy; - }, "strip", z.ZodTypeAny, { - realm: string; - }, { - realm: string; - }>>; -}, "strip", z.ZodTypeAny, { - params: { - realm: string; - }; - method: "script.realmDestroyed"; -}, { - params: { - realm: string; - }; - method: "script.realmDestroyed"; -}>>]>>]>>>, z.ZodLazy>>>; -export declare const CommandSchema: z.ZodLazy; -}, "strip", z.ZodTypeAny, { - id: number; -}, { - id: number; -}>, z.ZodLazy; - params: z.ZodLazy>>; -}, "strip", z.ZodTypeAny, { - params: Record; - method: "browser.close"; -}, { - params: Record; - method: "browser.close"; -}>>, z.ZodLazy; - params: z.ZodLazy>>; -}, "strip", z.ZodTypeAny, { - params: Record; - method: "browser.createUserContext"; -}, { - params: Record; - method: "browser.createUserContext"; -}>>, z.ZodLazy; - params: z.ZodLazy>>; -}, "strip", z.ZodTypeAny, { - params: Record; - method: "browser.getUserContexts"; -}, { - params: Record; - method: "browser.getUserContexts"; -}>>, z.ZodLazy; - params: z.ZodLazy; - }, "strip", z.ZodTypeAny, { - userContext: string; - }, { - userContext: string; - }>>; -}, "strip", z.ZodTypeAny, { - params: { - userContext: string; - }; - method: "browser.removeUserContext"; -}, { - params: { - userContext: string; - }; - method: "browser.removeUserContext"; -}>>]>>, z.ZodLazy; - params: z.ZodLazy; - }, "strip", z.ZodTypeAny, { - context: string; - }, { - context: string; - }>>; -}, "strip", z.ZodTypeAny, { - params: { - context: string; - }; - method: "browsingContext.activate"; -}, { - params: { - context: string; - }; - method: "browsingContext.activate"; -}>>, z.ZodLazy; - params: z.ZodLazy; - origin: z.ZodOptional>>; - format: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - type: string; - quality?: number | undefined; - }, { - type: string; - quality?: number | undefined; - }>>>; - clip: z.ZodOptional; - x: z.ZodNumber; - y: z.ZodNumber; - width: z.ZodNumber; - height: z.ZodNumber; - }, "strip", z.ZodTypeAny, { - type: "box"; - x: number; - y: number; - width: number; - height: number; - }, { - type: "box"; - x: number; - y: number; - width: number; - height: number; - }>>, z.ZodLazy; - element: z.ZodLazy; - handle: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - sharedId: string; - handle?: string | undefined; - }, { - sharedId: string; - handle?: string | undefined; - }>, z.ZodLazy>>>; - }, "strip", z.ZodTypeAny, { - type: "element"; - element: { - sharedId: string; - handle?: string | undefined; - } & Record; - }, { - type: "element"; - element: { - sharedId: string; - handle?: string | undefined; - } & Record; - }>>]>>>; - }, "strip", z.ZodTypeAny, { - context: string; - origin?: "viewport" | "document" | undefined; - format?: { - type: string; - quality?: number | undefined; - } | undefined; - clip?: { - type: "box"; - x: number; - y: number; - width: number; - height: number; - } | { - type: "element"; - element: { - sharedId: string; - handle?: string | undefined; - } & Record; - } | undefined; - }, { - context: string; - origin?: "viewport" | "document" | undefined; - format?: { - type: string; - quality?: number | undefined; - } | undefined; - clip?: { - type: "box"; - x: number; - y: number; - width: number; - height: number; - } | { - type: "element"; - element: { - sharedId: string; - handle?: string | undefined; - } & Record; - } | undefined; - }>>; -}, "strip", z.ZodTypeAny, { - params: { - context: string; - origin?: "viewport" | "document" | undefined; - format?: { - type: string; - quality?: number | undefined; - } | undefined; - clip?: { - type: "box"; - x: number; - y: number; - width: number; - height: number; - } | { - type: "element"; - element: { - sharedId: string; - handle?: string | undefined; - } & Record; - } | undefined; - }; - method: "browsingContext.captureScreenshot"; -}, { - params: { - context: string; - origin?: "viewport" | "document" | undefined; - format?: { - type: string; - quality?: number | undefined; - } | undefined; - clip?: { - type: "box"; - x: number; - y: number; - width: number; - height: number; - } | { - type: "element"; - element: { - sharedId: string; - handle?: string | undefined; - } & Record; - } | undefined; - }; - method: "browsingContext.captureScreenshot"; -}>>, z.ZodLazy; - params: z.ZodLazy; - promptUnload: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - context: string; - promptUnload?: boolean | undefined; - }, { - context: string; - promptUnload?: boolean | undefined; - }>>; -}, "strip", z.ZodTypeAny, { - params: { - context: string; - promptUnload?: boolean | undefined; - }; - method: "browsingContext.close"; -}, { - params: { - context: string; - promptUnload?: boolean | undefined; - }; - method: "browsingContext.close"; -}>>, z.ZodLazy; - params: z.ZodLazy>; - referenceContext: z.ZodOptional>; - background: z.ZodOptional>; - userContext: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - type: "window" | "tab"; - referenceContext?: string | undefined; - background?: boolean | undefined; - userContext?: string | undefined; - }, { - type: "window" | "tab"; - referenceContext?: string | undefined; - background?: boolean | undefined; - userContext?: string | undefined; - }>>; -}, "strip", z.ZodTypeAny, { - params: { - type: "window" | "tab"; - referenceContext?: string | undefined; - background?: boolean | undefined; - userContext?: string | undefined; - }; - method: "browsingContext.create"; -}, { - params: { - type: "window" | "tab"; - referenceContext?: string | undefined; - background?: boolean | undefined; - userContext?: string | undefined; - }; - method: "browsingContext.create"; -}>>, z.ZodLazy; - params: z.ZodLazy>; - root: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - maxDepth?: number | undefined; - root?: string | undefined; - }, { - maxDepth?: number | undefined; - root?: string | undefined; - }>>; -}, "strip", z.ZodTypeAny, { - params: { - maxDepth?: number | undefined; - root?: string | undefined; - }; - method: "browsingContext.getTree"; -}, { - params: { - maxDepth?: number | undefined; - root?: string | undefined; - }; - method: "browsingContext.getTree"; -}>>, z.ZodLazy; - params: z.ZodLazy; - accept: z.ZodOptional; - userText: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - context: string; - accept?: boolean | undefined; - userText?: string | undefined; - }, { - context: string; - accept?: boolean | undefined; - userText?: string | undefined; - }>>; -}, "strip", z.ZodTypeAny, { - params: { - context: string; - accept?: boolean | undefined; - userText?: string | undefined; - }; - method: "browsingContext.handleUserPrompt"; -}, { - params: { - context: string; - accept?: boolean | undefined; - userText?: string | undefined; - }; - method: "browsingContext.handleUserPrompt"; -}>>, z.ZodLazy; - params: z.ZodLazy; - locator: z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "css"; - value: string; - }, { - type: "css"; - value: string; - }>>, z.ZodLazy; - value: z.ZodString; - ignoreCase: z.ZodOptional; - matchType: z.ZodOptional>; - maxDepth: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - type: "innerText"; - value: string; - ignoreCase?: boolean | undefined; - matchType?: "partial" | "full" | undefined; - maxDepth?: number | undefined; - }, { - type: "innerText"; - value: string; - ignoreCase?: boolean | undefined; - matchType?: "partial" | "full" | undefined; - maxDepth?: number | undefined; - }>>, z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "xpath"; - value: string; - }, { - type: "xpath"; - value: string; - }>>]>>; - maxNodeCount: any; - ownership: z.ZodOptional>>; - sandbox: z.ZodOptional; - serializationOptions: z.ZodOptional, z.ZodNull]>>>; - maxObjectDepth: z.ZodOptional, z.ZodNull]>>>; - includeShadowTree: z.ZodOptional>>; - }, "strip", z.ZodTypeAny, { - maxDomDepth?: number | null | undefined; - maxObjectDepth?: number | null | undefined; - includeShadowTree?: "none" | "all" | "open" | undefined; - }, { - maxDomDepth?: number | null | undefined; - maxObjectDepth?: number | null | undefined; - includeShadowTree?: "none" | "all" | "open" | undefined; - }>>>; - startNodes: z.ZodOptional; - handle: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - sharedId: string; - handle?: string | undefined; - }, { - sharedId: string; - handle?: string | undefined; - }>, z.ZodLazy>>>, "many">>; - }, "strip", z.ZodTypeAny, { - [x: string]: any; - context?: string | undefined; - locator?: { - type: "css"; - value: string; - } | { - type: "innerText"; - value: string; - ignoreCase?: boolean | undefined; - matchType?: "partial" | "full" | undefined; - maxDepth?: number | undefined; - } | { - type: "xpath"; - value: string; - } | undefined; - maxNodeCount?: any; - ownership?: "none" | "root" | undefined; - sandbox?: string | undefined; - serializationOptions?: { - maxDomDepth?: number | null | undefined; - maxObjectDepth?: number | null | undefined; - includeShadowTree?: "none" | "all" | "open" | undefined; - } | undefined; - startNodes?: ({ - sharedId: string; - handle?: string | undefined; - } & Record)[] | undefined; - }, { - [x: string]: any; - context?: string | undefined; - locator?: { - type: "css"; - value: string; - } | { - type: "innerText"; - value: string; - ignoreCase?: boolean | undefined; - matchType?: "partial" | "full" | undefined; - maxDepth?: number | undefined; - } | { - type: "xpath"; - value: string; - } | undefined; - maxNodeCount?: any; - ownership?: "none" | "root" | undefined; - sandbox?: string | undefined; - serializationOptions?: { - maxDomDepth?: number | null | undefined; - maxObjectDepth?: number | null | undefined; - includeShadowTree?: "none" | "all" | "open" | undefined; - } | undefined; - startNodes?: ({ - sharedId: string; - handle?: string | undefined; - } & Record)[] | undefined; - }>>; -}, "strip", z.ZodTypeAny, { - params: { - [x: string]: any; - context?: string | undefined; - locator?: { - type: "css"; - value: string; - } | { - type: "innerText"; - value: string; - ignoreCase?: boolean | undefined; - matchType?: "partial" | "full" | undefined; - maxDepth?: number | undefined; - } | { - type: "xpath"; - value: string; - } | undefined; - maxNodeCount?: any; - ownership?: "none" | "root" | undefined; - sandbox?: string | undefined; - serializationOptions?: { - maxDomDepth?: number | null | undefined; - maxObjectDepth?: number | null | undefined; - includeShadowTree?: "none" | "all" | "open" | undefined; - } | undefined; - startNodes?: ({ - sharedId: string; - handle?: string | undefined; - } & Record)[] | undefined; - }; - method: "browsingContext.locateNodes"; -}, { - params: { - [x: string]: any; - context?: string | undefined; - locator?: { - type: "css"; - value: string; - } | { - type: "innerText"; - value: string; - ignoreCase?: boolean | undefined; - matchType?: "partial" | "full" | undefined; - maxDepth?: number | undefined; - } | { - type: "xpath"; - value: string; - } | undefined; - maxNodeCount?: any; - ownership?: "none" | "root" | undefined; - sandbox?: string | undefined; - serializationOptions?: { - maxDomDepth?: number | null | undefined; - maxObjectDepth?: number | null | undefined; - includeShadowTree?: "none" | "all" | "open" | undefined; - } | undefined; - startNodes?: ({ - sharedId: string; - handle?: string | undefined; - } & Record)[] | undefined; - }; - method: "browsingContext.locateNodes"; -}>>, z.ZodLazy; - params: z.ZodLazy; - url: z.ZodString; - wait: z.ZodOptional>>; - }, "strip", z.ZodTypeAny, { - url: string; - context: string; - wait?: "none" | "interactive" | "complete" | undefined; - }, { - url: string; - context: string; - wait?: "none" | "interactive" | "complete" | undefined; - }>>; -}, "strip", z.ZodTypeAny, { - params: { - url: string; - context: string; - wait?: "none" | "interactive" | "complete" | undefined; - }; - method: "browsingContext.navigate"; -}, { - params: { - url: string; - context: string; - wait?: "none" | "interactive" | "complete" | undefined; - }; - method: "browsingContext.navigate"; -}>>, z.ZodLazy; - params: z.ZodLazy; - background: z.ZodOptional>; - margin: z.ZodOptional>; - left: z.ZodOptional>; - right: z.ZodOptional>; - top: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - bottom?: number | undefined; - left?: number | undefined; - right?: number | undefined; - top?: number | undefined; - }, { - bottom?: number | undefined; - left?: number | undefined; - right?: number | undefined; - top?: number | undefined; - }>>>; - orientation: z.ZodOptional>>; - page: z.ZodOptional>; - width: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - height?: number | undefined; - width?: number | undefined; - }, { - height?: number | undefined; - width?: number | undefined; - }>>>; - pageRanges: z.ZodOptional, z.ZodString]>, "many">>; - scale: z.ZodOptional>; - shrinkToFit: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - context: string; - background?: boolean | undefined; - margin?: { - bottom?: number | undefined; - left?: number | undefined; - right?: number | undefined; - top?: number | undefined; - } | undefined; - orientation?: "portrait" | "landscape" | undefined; - page?: { - height?: number | undefined; - width?: number | undefined; - } | undefined; - pageRanges?: (string | number)[] | undefined; - scale?: number | undefined; - shrinkToFit?: boolean | undefined; - }, { - context: string; - background?: boolean | undefined; - margin?: { - bottom?: number | undefined; - left?: number | undefined; - right?: number | undefined; - top?: number | undefined; - } | undefined; - orientation?: "portrait" | "landscape" | undefined; - page?: { - height?: number | undefined; - width?: number | undefined; - } | undefined; - pageRanges?: (string | number)[] | undefined; - scale?: number | undefined; - shrinkToFit?: boolean | undefined; - }>>; -}, "strip", z.ZodTypeAny, { - params: { - context: string; - background?: boolean | undefined; - margin?: { - bottom?: number | undefined; - left?: number | undefined; - right?: number | undefined; - top?: number | undefined; - } | undefined; - orientation?: "portrait" | "landscape" | undefined; - page?: { - height?: number | undefined; - width?: number | undefined; - } | undefined; - pageRanges?: (string | number)[] | undefined; - scale?: number | undefined; - shrinkToFit?: boolean | undefined; - }; - method: "browsingContext.print"; -}, { - params: { - context: string; - background?: boolean | undefined; - margin?: { - bottom?: number | undefined; - left?: number | undefined; - right?: number | undefined; - top?: number | undefined; - } | undefined; - orientation?: "portrait" | "landscape" | undefined; - page?: { - height?: number | undefined; - width?: number | undefined; - } | undefined; - pageRanges?: (string | number)[] | undefined; - scale?: number | undefined; - shrinkToFit?: boolean | undefined; - }; - method: "browsingContext.print"; -}>>, z.ZodLazy; - params: z.ZodLazy; - ignoreCache: z.ZodOptional; - wait: z.ZodOptional>>; - }, "strip", z.ZodTypeAny, { - context: string; - ignoreCache?: boolean | undefined; - wait?: "none" | "interactive" | "complete" | undefined; - }, { - context: string; - ignoreCache?: boolean | undefined; - wait?: "none" | "interactive" | "complete" | undefined; - }>>; -}, "strip", z.ZodTypeAny, { - params: { - context: string; - ignoreCache?: boolean | undefined; - wait?: "none" | "interactive" | "complete" | undefined; - }; - method: "browsingContext.reload"; -}, { - params: { - context: string; - ignoreCache?: boolean | undefined; - wait?: "none" | "interactive" | "complete" | undefined; - }; - method: "browsingContext.reload"; -}>>, z.ZodLazy; - params: z.ZodLazy; - viewport: z.ZodOptional; - height: z.ZodLazy; - }, "strip", z.ZodTypeAny, { - width: number; - height: number; - }, { - width: number; - height: number; - }>>, z.ZodNull]>>; - devicePixelRatio: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - context: string; - viewport?: { - width: number; - height: number; - } | null | undefined; - devicePixelRatio?: number | null | undefined; - }, { - context: string; - viewport?: { - width: number; - height: number; - } | null | undefined; - devicePixelRatio?: number | null | undefined; - }>>; -}, "strip", z.ZodTypeAny, { - params: { - context: string; - viewport?: { - width: number; - height: number; - } | null | undefined; - devicePixelRatio?: number | null | undefined; - }; - method: "browsingContext.setViewport"; -}, { - params: { - context: string; - viewport?: { - width: number; - height: number; - } | null | undefined; - devicePixelRatio?: number | null | undefined; - }; - method: "browsingContext.setViewport"; -}>>, z.ZodLazy; - params: z.ZodLazy; - delta: z.ZodLazy; - }, "strip", z.ZodTypeAny, { - context: string; - delta: number; - }, { - context: string; - delta: number; - }>>; -}, "strip", z.ZodTypeAny, { - params: { - context: string; - delta: number; - }; - method: "browsingContext.traverseHistory"; -}, { - params: { - context: string; - delta: number; - }; - method: "browsingContext.traverseHistory"; -}>>]>>, z.ZodLazy; - params: z.ZodLazy; - actions: z.ZodArray; - id: z.ZodString; - actions: z.ZodArray; - duration: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - type: "pause"; - duration?: number | undefined; - }, { - type: "pause"; - duration?: number | undefined; - }>>>, "many">; - }, "strip", z.ZodTypeAny, { - type: "none"; - actions: { - type: "pause"; - duration?: number | undefined; - }[]; - id: string; - }, { - type: "none"; - actions: { - type: "pause"; - duration?: number | undefined; - }[]; - id: string; - }>>, z.ZodLazy; - id: z.ZodString; - actions: z.ZodArray; - duration: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - type: "pause"; - duration?: number | undefined; - }, { - type: "pause"; - duration?: number | undefined; - }>>, z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "keyDown"; - value: string; - }, { - type: "keyDown"; - value: string; - }>>, z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "keyUp"; - value: string; - }, { - type: "keyUp"; - value: string; - }>>]>>, "many">; - }, "strip", z.ZodTypeAny, { - type: "key"; - actions: ({ - type: "pause"; - duration?: number | undefined; - } | { - type: "keyDown"; - value: string; - } | { - type: "keyUp"; - value: string; - })[]; - id: string; - }, { - type: "key"; - actions: ({ - type: "pause"; - duration?: number | undefined; - } | { - type: "keyDown"; - value: string; - } | { - type: "keyUp"; - value: string; - })[]; - id: string; - }>>, z.ZodLazy; - id: z.ZodString; - parameters: z.ZodOptional>>>; - }, "strip", z.ZodTypeAny, { - pointerType?: "touch" | "mouse" | "pen" | undefined; - }, { - pointerType?: "touch" | "mouse" | "pen" | undefined; - }>>>; - actions: z.ZodArray; - duration: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - type: "pause"; - duration?: number | undefined; - }, { - type: "pause"; - duration?: number | undefined; - }>>, z.ZodLazy; - button: z.ZodLazy; - }, "strip", z.ZodTypeAny, { - type: "pointerDown"; - button: number; - }, { - type: "pointerDown"; - button: number; - }>, z.ZodLazy>>; - height: z.ZodOptional>>; - pressure: z.ZodOptional>; - tangentialPressure: z.ZodOptional>; - twist: z.ZodOptional>; - altitudeAngle: z.ZodOptional>; - azimuthAngle: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - width?: number | undefined; - height?: number | undefined; - pressure?: number | undefined; - tangentialPressure?: number | undefined; - twist?: number | undefined; - altitudeAngle?: number | undefined; - azimuthAngle?: number | undefined; - }, { - width?: number | undefined; - height?: number | undefined; - pressure?: number | undefined; - tangentialPressure?: number | undefined; - twist?: number | undefined; - altitudeAngle?: number | undefined; - azimuthAngle?: number | undefined; - }>>>>, z.ZodLazy; - button: z.ZodLazy; - }, "strip", z.ZodTypeAny, { - type: "pointerUp"; - button: number; - }, { - type: "pointerUp"; - button: number; - }>>, z.ZodLazy; - x: z.ZodLazy; - y: z.ZodLazy; - duration: z.ZodOptional>; - origin: z.ZodOptional, z.ZodLiteral<"pointer">, z.ZodLazy; - element: z.ZodLazy; - handle: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - sharedId: string; - handle?: string | undefined; - }, { - sharedId: string; - handle?: string | undefined; - }>, z.ZodLazy>>>; - }, "strip", z.ZodTypeAny, { - type: "element"; - element: { - sharedId: string; - handle?: string | undefined; - } & Record; - }, { - type: "element"; - element: { - sharedId: string; - handle?: string | undefined; - } & Record; - }>>]>>>; - }, "strip", z.ZodTypeAny, { - type: "pointerMove"; - x: number; - y: number; - duration?: number | undefined; - origin?: "viewport" | "pointer" | { - type: "element"; - element: { - sharedId: string; - handle?: string | undefined; - } & Record; - } | undefined; - }, { - type: "pointerMove"; - x: number; - y: number; - duration?: number | undefined; - origin?: "viewport" | "pointer" | { - type: "element"; - element: { - sharedId: string; - handle?: string | undefined; - } & Record; - } | undefined; - }>, z.ZodLazy>>; - height: z.ZodOptional>>; - pressure: z.ZodOptional>; - tangentialPressure: z.ZodOptional>; - twist: z.ZodOptional>; - altitudeAngle: z.ZodOptional>; - azimuthAngle: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - width?: number | undefined; - height?: number | undefined; - pressure?: number | undefined; - tangentialPressure?: number | undefined; - twist?: number | undefined; - altitudeAngle?: number | undefined; - azimuthAngle?: number | undefined; - }, { - width?: number | undefined; - height?: number | undefined; - pressure?: number | undefined; - tangentialPressure?: number | undefined; - twist?: number | undefined; - altitudeAngle?: number | undefined; - azimuthAngle?: number | undefined; - }>>>>]>>, "many">; - }, "strip", z.ZodTypeAny, { - type: "pointer"; - actions: ({ - type: "pause"; - duration?: number | undefined; - } | ({ - type: "pointerDown"; - button: number; - } & { - width?: number | undefined; - height?: number | undefined; - pressure?: number | undefined; - tangentialPressure?: number | undefined; - twist?: number | undefined; - altitudeAngle?: number | undefined; - azimuthAngle?: number | undefined; - }) | { - type: "pointerUp"; - button: number; - } | ({ - type: "pointerMove"; - x: number; - y: number; - duration?: number | undefined; - origin?: "viewport" | "pointer" | { - type: "element"; - element: { - sharedId: string; - handle?: string | undefined; - } & Record; - } | undefined; - } & { - width?: number | undefined; - height?: number | undefined; - pressure?: number | undefined; - tangentialPressure?: number | undefined; - twist?: number | undefined; - altitudeAngle?: number | undefined; - azimuthAngle?: number | undefined; - }))[]; - id: string; - parameters?: { - pointerType?: "touch" | "mouse" | "pen" | undefined; - } | undefined; - }, { - type: "pointer"; - actions: ({ - type: "pause"; - duration?: number | undefined; - } | ({ - type: "pointerDown"; - button: number; - } & { - width?: number | undefined; - height?: number | undefined; - pressure?: number | undefined; - tangentialPressure?: number | undefined; - twist?: number | undefined; - altitudeAngle?: number | undefined; - azimuthAngle?: number | undefined; - }) | { - type: "pointerUp"; - button: number; - } | ({ - type: "pointerMove"; - x: number; - y: number; - duration?: number | undefined; - origin?: "viewport" | "pointer" | { - type: "element"; - element: { - sharedId: string; - handle?: string | undefined; - } & Record; - } | undefined; - } & { - width?: number | undefined; - height?: number | undefined; - pressure?: number | undefined; - tangentialPressure?: number | undefined; - twist?: number | undefined; - altitudeAngle?: number | undefined; - azimuthAngle?: number | undefined; - }))[]; - id: string; - parameters?: { - pointerType?: "touch" | "mouse" | "pen" | undefined; - } | undefined; - }>>, z.ZodLazy; - id: z.ZodString; - actions: z.ZodArray; - duration: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - type: "pause"; - duration?: number | undefined; - }, { - type: "pause"; - duration?: number | undefined; - }>>, z.ZodLazy; - x: z.ZodLazy; - y: z.ZodLazy; - deltaX: z.ZodLazy; - deltaY: z.ZodLazy; - duration: z.ZodOptional>; - origin: z.ZodOptional, z.ZodLiteral<"pointer">, z.ZodLazy; - element: z.ZodLazy; - handle: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - sharedId: string; - handle?: string | undefined; - }, { - sharedId: string; - handle?: string | undefined; - }>, z.ZodLazy>>>; - }, "strip", z.ZodTypeAny, { - type: "element"; - element: { - sharedId: string; - handle?: string | undefined; - } & Record; - }, { - type: "element"; - element: { - sharedId: string; - handle?: string | undefined; - } & Record; - }>>]>>>>; - }, "strip", z.ZodTypeAny, { - type: "scroll"; - x: number; - y: number; - deltaX: number; - deltaY: number; - duration?: number | undefined; - origin?: "viewport" | "pointer" | { - type: "element"; - element: { - sharedId: string; - handle?: string | undefined; - } & Record; - } | undefined; - }, { - type: "scroll"; - x: number; - y: number; - deltaX: number; - deltaY: number; - duration?: number | undefined; - origin?: "viewport" | "pointer" | { - type: "element"; - element: { - sharedId: string; - handle?: string | undefined; - } & Record; - } | undefined; - }>>]>>, "many">; - }, "strip", z.ZodTypeAny, { - type: "wheel"; - actions: ({ - type: "pause"; - duration?: number | undefined; - } | { - type: "scroll"; - x: number; - y: number; - deltaX: number; - deltaY: number; - duration?: number | undefined; - origin?: "viewport" | "pointer" | { - type: "element"; - element: { - sharedId: string; - handle?: string | undefined; - } & Record; - } | undefined; - })[]; - id: string; - }, { - type: "wheel"; - actions: ({ - type: "pause"; - duration?: number | undefined; - } | { - type: "scroll"; - x: number; - y: number; - deltaX: number; - deltaY: number; - duration?: number | undefined; - origin?: "viewport" | "pointer" | { - type: "element"; - element: { - sharedId: string; - handle?: string | undefined; - } & Record; - } | undefined; - })[]; - id: string; - }>>]>>, "many">; - }, "strip", z.ZodTypeAny, { - context: string; - actions: ({ - type: "none"; - actions: { - type: "pause"; - duration?: number | undefined; - }[]; - id: string; - } | { - type: "key"; - actions: ({ - type: "pause"; - duration?: number | undefined; - } | { - type: "keyDown"; - value: string; - } | { - type: "keyUp"; - value: string; - })[]; - id: string; - } | { - type: "pointer"; - actions: ({ - type: "pause"; - duration?: number | undefined; - } | ({ - type: "pointerDown"; - button: number; - } & { - width?: number | undefined; - height?: number | undefined; - pressure?: number | undefined; - tangentialPressure?: number | undefined; - twist?: number | undefined; - altitudeAngle?: number | undefined; - azimuthAngle?: number | undefined; - }) | { - type: "pointerUp"; - button: number; - } | ({ - type: "pointerMove"; - x: number; - y: number; - duration?: number | undefined; - origin?: "viewport" | "pointer" | { - type: "element"; - element: { - sharedId: string; - handle?: string | undefined; - } & Record; - } | undefined; - } & { - width?: number | undefined; - height?: number | undefined; - pressure?: number | undefined; - tangentialPressure?: number | undefined; - twist?: number | undefined; - altitudeAngle?: number | undefined; - azimuthAngle?: number | undefined; - }))[]; - id: string; - parameters?: { - pointerType?: "touch" | "mouse" | "pen" | undefined; - } | undefined; - } | { - type: "wheel"; - actions: ({ - type: "pause"; - duration?: number | undefined; - } | { - type: "scroll"; - x: number; - y: number; - deltaX: number; - deltaY: number; - duration?: number | undefined; - origin?: "viewport" | "pointer" | { - type: "element"; - element: { - sharedId: string; - handle?: string | undefined; - } & Record; - } | undefined; - })[]; - id: string; - })[]; - }, { - context: string; - actions: ({ - type: "none"; - actions: { - type: "pause"; - duration?: number | undefined; - }[]; - id: string; - } | { - type: "key"; - actions: ({ - type: "pause"; - duration?: number | undefined; - } | { - type: "keyDown"; - value: string; - } | { - type: "keyUp"; - value: string; - })[]; - id: string; - } | { - type: "pointer"; - actions: ({ - type: "pause"; - duration?: number | undefined; - } | ({ - type: "pointerDown"; - button: number; - } & { - width?: number | undefined; - height?: number | undefined; - pressure?: number | undefined; - tangentialPressure?: number | undefined; - twist?: number | undefined; - altitudeAngle?: number | undefined; - azimuthAngle?: number | undefined; - }) | { - type: "pointerUp"; - button: number; - } | ({ - type: "pointerMove"; - x: number; - y: number; - duration?: number | undefined; - origin?: "viewport" | "pointer" | { - type: "element"; - element: { - sharedId: string; - handle?: string | undefined; - } & Record; - } | undefined; - } & { - width?: number | undefined; - height?: number | undefined; - pressure?: number | undefined; - tangentialPressure?: number | undefined; - twist?: number | undefined; - altitudeAngle?: number | undefined; - azimuthAngle?: number | undefined; - }))[]; - id: string; - parameters?: { - pointerType?: "touch" | "mouse" | "pen" | undefined; - } | undefined; - } | { - type: "wheel"; - actions: ({ - type: "pause"; - duration?: number | undefined; - } | { - type: "scroll"; - x: number; - y: number; - deltaX: number; - deltaY: number; - duration?: number | undefined; - origin?: "viewport" | "pointer" | { - type: "element"; - element: { - sharedId: string; - handle?: string | undefined; - } & Record; - } | undefined; - })[]; - id: string; - })[]; - }>>; -}, "strip", z.ZodTypeAny, { - params: { - context: string; - actions: ({ - type: "none"; - actions: { - type: "pause"; - duration?: number | undefined; - }[]; - id: string; - } | { - type: "key"; - actions: ({ - type: "pause"; - duration?: number | undefined; - } | { - type: "keyDown"; - value: string; - } | { - type: "keyUp"; - value: string; - })[]; - id: string; - } | { - type: "pointer"; - actions: ({ - type: "pause"; - duration?: number | undefined; - } | ({ - type: "pointerDown"; - button: number; - } & { - width?: number | undefined; - height?: number | undefined; - pressure?: number | undefined; - tangentialPressure?: number | undefined; - twist?: number | undefined; - altitudeAngle?: number | undefined; - azimuthAngle?: number | undefined; - }) | { - type: "pointerUp"; - button: number; - } | ({ - type: "pointerMove"; - x: number; - y: number; - duration?: number | undefined; - origin?: "viewport" | "pointer" | { - type: "element"; - element: { - sharedId: string; - handle?: string | undefined; - } & Record; - } | undefined; - } & { - width?: number | undefined; - height?: number | undefined; - pressure?: number | undefined; - tangentialPressure?: number | undefined; - twist?: number | undefined; - altitudeAngle?: number | undefined; - azimuthAngle?: number | undefined; - }))[]; - id: string; - parameters?: { - pointerType?: "touch" | "mouse" | "pen" | undefined; - } | undefined; - } | { - type: "wheel"; - actions: ({ - type: "pause"; - duration?: number | undefined; - } | { - type: "scroll"; - x: number; - y: number; - deltaX: number; - deltaY: number; - duration?: number | undefined; - origin?: "viewport" | "pointer" | { - type: "element"; - element: { - sharedId: string; - handle?: string | undefined; - } & Record; - } | undefined; - })[]; - id: string; - })[]; - }; - method: "input.performActions"; -}, { - params: { - context: string; - actions: ({ - type: "none"; - actions: { - type: "pause"; - duration?: number | undefined; - }[]; - id: string; - } | { - type: "key"; - actions: ({ - type: "pause"; - duration?: number | undefined; - } | { - type: "keyDown"; - value: string; - } | { - type: "keyUp"; - value: string; - })[]; - id: string; - } | { - type: "pointer"; - actions: ({ - type: "pause"; - duration?: number | undefined; - } | ({ - type: "pointerDown"; - button: number; - } & { - width?: number | undefined; - height?: number | undefined; - pressure?: number | undefined; - tangentialPressure?: number | undefined; - twist?: number | undefined; - altitudeAngle?: number | undefined; - azimuthAngle?: number | undefined; - }) | { - type: "pointerUp"; - button: number; - } | ({ - type: "pointerMove"; - x: number; - y: number; - duration?: number | undefined; - origin?: "viewport" | "pointer" | { - type: "element"; - element: { - sharedId: string; - handle?: string | undefined; - } & Record; - } | undefined; - } & { - width?: number | undefined; - height?: number | undefined; - pressure?: number | undefined; - tangentialPressure?: number | undefined; - twist?: number | undefined; - altitudeAngle?: number | undefined; - azimuthAngle?: number | undefined; - }))[]; - id: string; - parameters?: { - pointerType?: "touch" | "mouse" | "pen" | undefined; - } | undefined; - } | { - type: "wheel"; - actions: ({ - type: "pause"; - duration?: number | undefined; - } | { - type: "scroll"; - x: number; - y: number; - deltaX: number; - deltaY: number; - duration?: number | undefined; - origin?: "viewport" | "pointer" | { - type: "element"; - element: { - sharedId: string; - handle?: string | undefined; - } & Record; - } | undefined; - })[]; - id: string; - })[]; - }; - method: "input.performActions"; -}>>, z.ZodLazy; - params: z.ZodLazy; - }, "strip", z.ZodTypeAny, { - context: string; - }, { - context: string; - }>>; -}, "strip", z.ZodTypeAny, { - params: { - context: string; - }; - method: "input.releaseActions"; -}, { - params: { - context: string; - }; - method: "input.releaseActions"; -}>>, z.ZodLazy; - params: z.ZodLazy; - element: z.ZodLazy; - handle: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - sharedId: string; - handle?: string | undefined; - }, { - sharedId: string; - handle?: string | undefined; - }>, z.ZodLazy>>>; - files: z.ZodArray; - }, "strip", z.ZodTypeAny, { - element: { - sharedId: string; - handle?: string | undefined; - } & Record; - context: string; - files: string[]; - }, { - element: { - sharedId: string; - handle?: string | undefined; - } & Record; - context: string; - files: string[]; - }>>; -}, "strip", z.ZodTypeAny, { - params: { - element: { - sharedId: string; - handle?: string | undefined; - } & Record; - context: string; - files: string[]; - }; - method: "input.setFiles"; -}, { - params: { - element: { - sharedId: string; - handle?: string | undefined; - } & Record; - context: string; - files: string[]; - }; - method: "input.setFiles"; -}>>]>>, z.ZodLazy; - params: z.ZodLazy>, "many">; - contexts: z.ZodOptional, "many">>; - urlPatterns: z.ZodOptional; - protocol: z.ZodOptional; - hostname: z.ZodOptional; - port: z.ZodOptional; - pathname: z.ZodOptional; - search: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - type: "pattern"; - protocol?: string | undefined; - hostname?: string | undefined; - port?: string | undefined; - pathname?: string | undefined; - search?: string | undefined; - }, { - type: "pattern"; - protocol?: string | undefined; - hostname?: string | undefined; - port?: string | undefined; - pathname?: string | undefined; - search?: string | undefined; - }>>, z.ZodLazy; - pattern: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "string"; - pattern: string; - }, { - type: "string"; - pattern: string; - }>>]>>, "many">>; - }, "strip", z.ZodTypeAny, { - phases: ("beforeRequestSent" | "responseStarted" | "authRequired")[]; - contexts?: string[] | undefined; - urlPatterns?: ({ - type: "pattern"; - protocol?: string | undefined; - hostname?: string | undefined; - port?: string | undefined; - pathname?: string | undefined; - search?: string | undefined; - } | { - type: "string"; - pattern: string; - })[] | undefined; - }, { - phases: ("beforeRequestSent" | "responseStarted" | "authRequired")[]; - contexts?: string[] | undefined; - urlPatterns?: ({ - type: "pattern"; - protocol?: string | undefined; - hostname?: string | undefined; - port?: string | undefined; - pathname?: string | undefined; - search?: string | undefined; - } | { - type: "string"; - pattern: string; - })[] | undefined; - }>>; -}, "strip", z.ZodTypeAny, { - params: { - phases: ("beforeRequestSent" | "responseStarted" | "authRequired")[]; - contexts?: string[] | undefined; - urlPatterns?: ({ - type: "pattern"; - protocol?: string | undefined; - hostname?: string | undefined; - port?: string | undefined; - pathname?: string | undefined; - search?: string | undefined; - } | { - type: "string"; - pattern: string; - })[] | undefined; - }; - method: "network.addIntercept"; -}, { - params: { - phases: ("beforeRequestSent" | "responseStarted" | "authRequired")[]; - contexts?: string[] | undefined; - urlPatterns?: ({ - type: "pattern"; - protocol?: string | undefined; - hostname?: string | undefined; - port?: string | undefined; - pathname?: string | undefined; - search?: string | undefined; - } | { - type: "string"; - pattern: string; - })[] | undefined; - }; - method: "network.addIntercept"; -}>>, z.ZodLazy; - params: z.ZodLazy; - body: z.ZodOptional; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "string"; - value: string; - }, { - type: "string"; - value: string; - }>>, z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "base64"; - value: string; - }, { - type: "base64"; - value: string; - }>>]>>>; - cookies: z.ZodOptional; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "string"; - value: string; - }, { - type: "string"; - value: string; - }>>, z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "base64"; - value: string; - }, { - type: "base64"; - value: string; - }>>]>>; - }, "strip", z.ZodTypeAny, { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }, { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }>>, "many">>; - headers: z.ZodOptional; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "string"; - value: string; - }, { - type: "string"; - value: string; - }>>, z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "base64"; - value: string; - }, { - type: "base64"; - value: string; - }>>]>>; - }, "strip", z.ZodTypeAny, { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }, { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }>>, "many">>; - method: z.ZodOptional; - url: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - request: string; - body?: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - } | undefined; - cookies?: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[] | undefined; - headers?: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[] | undefined; - method?: string | undefined; - url?: string | undefined; - }, { - request: string; - body?: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - } | undefined; - cookies?: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[] | undefined; - headers?: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[] | undefined; - method?: string | undefined; - url?: string | undefined; - }>>; -}, "strip", z.ZodTypeAny, { - params: { - request: string; - body?: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - } | undefined; - cookies?: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[] | undefined; - headers?: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[] | undefined; - method?: string | undefined; - url?: string | undefined; - }; - method: "network.continueRequest"; -}, { - params: { - request: string; - body?: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - } | undefined; - cookies?: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[] | undefined; - headers?: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[] | undefined; - method?: string | undefined; - url?: string | undefined; - }; - method: "network.continueRequest"; -}>>, z.ZodLazy; - params: z.ZodLazy; - cookies: z.ZodOptional; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "string"; - value: string; - }, { - type: "string"; - value: string; - }>>, z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "base64"; - value: string; - }, { - type: "base64"; - value: string; - }>>]>>; - domain: z.ZodOptional; - httpOnly: z.ZodOptional; - expiry: z.ZodOptional; - maxAge: z.ZodOptional>; - path: z.ZodOptional; - sameSite: z.ZodOptional>>; - secure: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - domain?: string | undefined; - httpOnly?: boolean | undefined; - expiry?: string | undefined; - maxAge?: number | undefined; - path?: string | undefined; - sameSite?: "strict" | "none" | "lax" | undefined; - secure?: boolean | undefined; - }, { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - domain?: string | undefined; - httpOnly?: boolean | undefined; - expiry?: string | undefined; - maxAge?: number | undefined; - path?: string | undefined; - sameSite?: "strict" | "none" | "lax" | undefined; - secure?: boolean | undefined; - }>>, "many">>; - credentials: z.ZodOptional; - username: z.ZodString; - password: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "password"; - password: string; - username: string; - }, { - type: "password"; - password: string; - username: string; - }>>>; - headers: z.ZodOptional; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "string"; - value: string; - }, { - type: "string"; - value: string; - }>>, z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "base64"; - value: string; - }, { - type: "base64"; - value: string; - }>>]>>; - }, "strip", z.ZodTypeAny, { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }, { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }>>, "many">>; - reasonPhrase: z.ZodOptional; - statusCode: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - request: string; - cookies?: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - domain?: string | undefined; - httpOnly?: boolean | undefined; - expiry?: string | undefined; - maxAge?: number | undefined; - path?: string | undefined; - sameSite?: "strict" | "none" | "lax" | undefined; - secure?: boolean | undefined; - }[] | undefined; - credentials?: { - type: "password"; - password: string; - username: string; - } | undefined; - headers?: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[] | undefined; - reasonPhrase?: string | undefined; - statusCode?: number | undefined; - }, { - request: string; - cookies?: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - domain?: string | undefined; - httpOnly?: boolean | undefined; - expiry?: string | undefined; - maxAge?: number | undefined; - path?: string | undefined; - sameSite?: "strict" | "none" | "lax" | undefined; - secure?: boolean | undefined; - }[] | undefined; - credentials?: { - type: "password"; - password: string; - username: string; - } | undefined; - headers?: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[] | undefined; - reasonPhrase?: string | undefined; - statusCode?: number | undefined; - }>>; -}, "strip", z.ZodTypeAny, { - params: { - request: string; - cookies?: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - domain?: string | undefined; - httpOnly?: boolean | undefined; - expiry?: string | undefined; - maxAge?: number | undefined; - path?: string | undefined; - sameSite?: "strict" | "none" | "lax" | undefined; - secure?: boolean | undefined; - }[] | undefined; - credentials?: { - type: "password"; - password: string; - username: string; - } | undefined; - headers?: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[] | undefined; - reasonPhrase?: string | undefined; - statusCode?: number | undefined; - }; - method: "network.continueResponse"; -}, { - params: { - request: string; - cookies?: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - domain?: string | undefined; - httpOnly?: boolean | undefined; - expiry?: string | undefined; - maxAge?: number | undefined; - path?: string | undefined; - sameSite?: "strict" | "none" | "lax" | undefined; - secure?: boolean | undefined; - }[] | undefined; - credentials?: { - type: "password"; - password: string; - username: string; - } | undefined; - headers?: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[] | undefined; - reasonPhrase?: string | undefined; - statusCode?: number | undefined; - }; - method: "network.continueResponse"; -}>>, z.ZodLazy; - params: z.ZodLazy; - }, "strip", z.ZodTypeAny, { - request: string; - }, { - request: string; - }>, z.ZodUnion<[z.ZodLazy; - credentials: z.ZodLazy; - username: z.ZodString; - password: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "password"; - password: string; - username: string; - }, { - type: "password"; - password: string; - username: string; - }>>; - }, "strip", z.ZodTypeAny, { - credentials: { - type: "password"; - password: string; - username: string; - }; - action: "provideCredentials"; - }, { - credentials: { - type: "password"; - password: string; - username: string; - }; - action: "provideCredentials"; - }>>, z.ZodLazy; - }, "strip", z.ZodTypeAny, { - action: "default" | "cancel"; - }, { - action: "default" | "cancel"; - }>>]>>>; -}, "strip", z.ZodTypeAny, { - params: ({ - request: string; - } & { - credentials: { - type: "password"; - password: string; - username: string; - }; - action: "provideCredentials"; - }) | ({ - request: string; - } & { - action: "default" | "cancel"; - }); - method: "network.continueWithAuth"; -}, { - params: ({ - request: string; - } & { - credentials: { - type: "password"; - password: string; - username: string; - }; - action: "provideCredentials"; - }) | ({ - request: string; - } & { - action: "default" | "cancel"; - }); - method: "network.continueWithAuth"; -}>>, z.ZodLazy; - params: z.ZodLazy; - }, "strip", z.ZodTypeAny, { - request: string; - }, { - request: string; - }>>; -}, "strip", z.ZodTypeAny, { - params: { - request: string; - }; - method: "network.failRequest"; -}, { - params: { - request: string; - }; - method: "network.failRequest"; -}>>, z.ZodLazy; - params: z.ZodLazy; - body: z.ZodOptional; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "string"; - value: string; - }, { - type: "string"; - value: string; - }>>, z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "base64"; - value: string; - }, { - type: "base64"; - value: string; - }>>]>>>; - cookies: z.ZodOptional; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "string"; - value: string; - }, { - type: "string"; - value: string; - }>>, z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "base64"; - value: string; - }, { - type: "base64"; - value: string; - }>>]>>; - domain: z.ZodOptional; - httpOnly: z.ZodOptional; - expiry: z.ZodOptional; - maxAge: z.ZodOptional>; - path: z.ZodOptional; - sameSite: z.ZodOptional>>; - secure: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - domain?: string | undefined; - httpOnly?: boolean | undefined; - expiry?: string | undefined; - maxAge?: number | undefined; - path?: string | undefined; - sameSite?: "strict" | "none" | "lax" | undefined; - secure?: boolean | undefined; - }, { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - domain?: string | undefined; - httpOnly?: boolean | undefined; - expiry?: string | undefined; - maxAge?: number | undefined; - path?: string | undefined; - sameSite?: "strict" | "none" | "lax" | undefined; - secure?: boolean | undefined; - }>>, "many">>; - headers: z.ZodOptional; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "string"; - value: string; - }, { - type: "string"; - value: string; - }>>, z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "base64"; - value: string; - }, { - type: "base64"; - value: string; - }>>]>>; - }, "strip", z.ZodTypeAny, { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }, { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }>>, "many">>; - reasonPhrase: z.ZodOptional; - statusCode: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - request: string; - body?: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - } | undefined; - cookies?: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - domain?: string | undefined; - httpOnly?: boolean | undefined; - expiry?: string | undefined; - maxAge?: number | undefined; - path?: string | undefined; - sameSite?: "strict" | "none" | "lax" | undefined; - secure?: boolean | undefined; - }[] | undefined; - headers?: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[] | undefined; - reasonPhrase?: string | undefined; - statusCode?: number | undefined; - }, { - request: string; - body?: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - } | undefined; - cookies?: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - domain?: string | undefined; - httpOnly?: boolean | undefined; - expiry?: string | undefined; - maxAge?: number | undefined; - path?: string | undefined; - sameSite?: "strict" | "none" | "lax" | undefined; - secure?: boolean | undefined; - }[] | undefined; - headers?: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[] | undefined; - reasonPhrase?: string | undefined; - statusCode?: number | undefined; - }>>; -}, "strip", z.ZodTypeAny, { - params: { - request: string; - body?: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - } | undefined; - cookies?: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - domain?: string | undefined; - httpOnly?: boolean | undefined; - expiry?: string | undefined; - maxAge?: number | undefined; - path?: string | undefined; - sameSite?: "strict" | "none" | "lax" | undefined; - secure?: boolean | undefined; - }[] | undefined; - headers?: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[] | undefined; - reasonPhrase?: string | undefined; - statusCode?: number | undefined; - }; - method: "network.provideResponse"; -}, { - params: { - request: string; - body?: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - } | undefined; - cookies?: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - domain?: string | undefined; - httpOnly?: boolean | undefined; - expiry?: string | undefined; - maxAge?: number | undefined; - path?: string | undefined; - sameSite?: "strict" | "none" | "lax" | undefined; - secure?: boolean | undefined; - }[] | undefined; - headers?: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[] | undefined; - reasonPhrase?: string | undefined; - statusCode?: number | undefined; - }; - method: "network.provideResponse"; -}>>, z.ZodLazy; - params: z.ZodLazy; - }, "strip", z.ZodTypeAny, { - intercept: string; - }, { - intercept: string; - }>>; -}, "strip", z.ZodTypeAny, { - params: { - intercept: string; - }; - method: "network.removeIntercept"; -}, { - params: { - intercept: string; - }; - method: "network.removeIntercept"; -}>>]>>, z.ZodLazy; - params: z.ZodLazy; - value: z.ZodLazy; - serializationOptions: z.ZodOptional, z.ZodNull]>>>; - maxObjectDepth: z.ZodOptional, z.ZodNull]>>>; - includeShadowTree: z.ZodOptional>>; - }, "strip", z.ZodTypeAny, { - maxDomDepth?: number | null | undefined; - maxObjectDepth?: number | null | undefined; - includeShadowTree?: "none" | "all" | "open" | undefined; - }, { - maxDomDepth?: number | null | undefined; - maxObjectDepth?: number | null | undefined; - includeShadowTree?: "none" | "all" | "open" | undefined; - }>>>; - ownership: z.ZodOptional>>; - }, "strip", z.ZodTypeAny, { - channel: string; - serializationOptions?: { - maxDomDepth?: number | null | undefined; - maxObjectDepth?: number | null | undefined; - includeShadowTree?: "none" | "all" | "open" | undefined; - } | undefined; - ownership?: "none" | "root" | undefined; - }, { - channel: string; - serializationOptions?: { - maxDomDepth?: number | null | undefined; - maxObjectDepth?: number | null | undefined; - includeShadowTree?: "none" | "all" | "open" | undefined; - } | undefined; - ownership?: "none" | "root" | undefined; - }>>; - }, "strip", z.ZodTypeAny, { - type: "channel"; - value: { - channel: string; - serializationOptions?: { - maxDomDepth?: number | null | undefined; - maxObjectDepth?: number | null | undefined; - includeShadowTree?: "none" | "all" | "open" | undefined; - } | undefined; - ownership?: "none" | "root" | undefined; - }; - }, { - type: "channel"; - value: { - channel: string; - serializationOptions?: { - maxDomDepth?: number | null | undefined; - maxObjectDepth?: number | null | undefined; - includeShadowTree?: "none" | "all" | "open" | undefined; - } | undefined; - ownership?: "none" | "root" | undefined; - }; - }>>, "many">>; - contexts: z.ZodOptional, "many">>; - sandbox: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - functionDeclaration: string; - arguments?: { - type: "channel"; - value: { - channel: string; - serializationOptions?: { - maxDomDepth?: number | null | undefined; - maxObjectDepth?: number | null | undefined; - includeShadowTree?: "none" | "all" | "open" | undefined; - } | undefined; - ownership?: "none" | "root" | undefined; - }; - }[] | undefined; - contexts?: string[] | undefined; - sandbox?: string | undefined; - }, { - functionDeclaration: string; - arguments?: { - type: "channel"; - value: { - channel: string; - serializationOptions?: { - maxDomDepth?: number | null | undefined; - maxObjectDepth?: number | null | undefined; - includeShadowTree?: "none" | "all" | "open" | undefined; - } | undefined; - ownership?: "none" | "root" | undefined; - }; - }[] | undefined; - contexts?: string[] | undefined; - sandbox?: string | undefined; - }>>; -}, "strip", z.ZodTypeAny, { - params: { - functionDeclaration: string; - arguments?: { - type: "channel"; - value: { - channel: string; - serializationOptions?: { - maxDomDepth?: number | null | undefined; - maxObjectDepth?: number | null | undefined; - includeShadowTree?: "none" | "all" | "open" | undefined; - } | undefined; - ownership?: "none" | "root" | undefined; - }; - }[] | undefined; - contexts?: string[] | undefined; - sandbox?: string | undefined; - }; - method: "script.addPreloadScript"; -}, { - params: { - functionDeclaration: string; - arguments?: { - type: "channel"; - value: { - channel: string; - serializationOptions?: { - maxDomDepth?: number | null | undefined; - maxObjectDepth?: number | null | undefined; - includeShadowTree?: "none" | "all" | "open" | undefined; - } | undefined; - ownership?: "none" | "root" | undefined; - }; - }[] | undefined; - contexts?: string[] | undefined; - sandbox?: string | undefined; - }; - method: "script.addPreloadScript"; -}>>, z.ZodLazy; - params: z.ZodLazy; - }, "strip", z.ZodTypeAny, { - realm: string; - }, { - realm: string; - }>>, z.ZodLazy; - sandbox: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - context: string; - sandbox?: string | undefined; - }, { - context: string; - sandbox?: string | undefined; - }>>]>>; - arguments: z.ZodOptional>; - resultOwnership: z.ZodOptional>>; - serializationOptions: z.ZodOptional, z.ZodNull]>>>; - maxObjectDepth: z.ZodOptional, z.ZodNull]>>>; - includeShadowTree: z.ZodOptional>>; - }, "strip", z.ZodTypeAny, { - maxDomDepth?: number | null | undefined; - maxObjectDepth?: number | null | undefined; - includeShadowTree?: "none" | "all" | "open" | undefined; - }, { - maxDomDepth?: number | null | undefined; - maxObjectDepth?: number | null | undefined; - includeShadowTree?: "none" | "all" | "open" | undefined; - }>>>; - this: any; - userActivation: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - target: ({ - realm: string; - } | { - context: string; - sandbox?: string | undefined; - }) & ({ - realm: string; - } | { - context: string; - sandbox?: string | undefined; - } | undefined); - awaitPromise: boolean; - functionDeclaration: string; - arguments?: any[] | undefined; - resultOwnership?: "none" | "root" | undefined; - serializationOptions?: { - maxDomDepth?: number | null | undefined; - maxObjectDepth?: number | null | undefined; - includeShadowTree?: "none" | "all" | "open" | undefined; - } | undefined; - this?: any; - userActivation?: boolean | undefined; - }, { - target: ({ - realm: string; - } | { - context: string; - sandbox?: string | undefined; - }) & ({ - realm: string; - } | { - context: string; - sandbox?: string | undefined; - } | undefined); - awaitPromise: boolean; - functionDeclaration: string; - arguments?: any[] | undefined; - resultOwnership?: "none" | "root" | undefined; - serializationOptions?: { - maxDomDepth?: number | null | undefined; - maxObjectDepth?: number | null | undefined; - includeShadowTree?: "none" | "all" | "open" | undefined; - } | undefined; - this?: any; - userActivation?: boolean | undefined; - }>>; -}, "strip", z.ZodTypeAny, { - params: { - target: ({ - realm: string; - } | { - context: string; - sandbox?: string | undefined; - }) & ({ - realm: string; - } | { - context: string; - sandbox?: string | undefined; - } | undefined); - awaitPromise: boolean; - functionDeclaration: string; - arguments?: any[] | undefined; - resultOwnership?: "none" | "root" | undefined; - serializationOptions?: { - maxDomDepth?: number | null | undefined; - maxObjectDepth?: number | null | undefined; - includeShadowTree?: "none" | "all" | "open" | undefined; - } | undefined; - this?: any; - userActivation?: boolean | undefined; - }; - method: "script.callFunction"; -}, { - params: { - target: ({ - realm: string; - } | { - context: string; - sandbox?: string | undefined; - }) & ({ - realm: string; - } | { - context: string; - sandbox?: string | undefined; - } | undefined); - awaitPromise: boolean; - functionDeclaration: string; - arguments?: any[] | undefined; - resultOwnership?: "none" | "root" | undefined; - serializationOptions?: { - maxDomDepth?: number | null | undefined; - maxObjectDepth?: number | null | undefined; - includeShadowTree?: "none" | "all" | "open" | undefined; - } | undefined; - this?: any; - userActivation?: boolean | undefined; - }; - method: "script.callFunction"; -}>>, z.ZodLazy; - params: z.ZodLazy, "many">; - target: z.ZodLazy; - }, "strip", z.ZodTypeAny, { - realm: string; - }, { - realm: string; - }>>, z.ZodLazy; - sandbox: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - context: string; - sandbox?: string | undefined; - }, { - context: string; - sandbox?: string | undefined; - }>>]>>; - }, "strip", z.ZodTypeAny, { - target: ({ - realm: string; - } | { - context: string; - sandbox?: string | undefined; - }) & ({ - realm: string; - } | { - context: string; - sandbox?: string | undefined; - } | undefined); - handles: string[]; - }, { - target: ({ - realm: string; - } | { - context: string; - sandbox?: string | undefined; - }) & ({ - realm: string; - } | { - context: string; - sandbox?: string | undefined; - } | undefined); - handles: string[]; - }>>; -}, "strip", z.ZodTypeAny, { - params: { - target: ({ - realm: string; - } | { - context: string; - sandbox?: string | undefined; - }) & ({ - realm: string; - } | { - context: string; - sandbox?: string | undefined; - } | undefined); - handles: string[]; - }; - method: "script.disown"; -}, { - params: { - target: ({ - realm: string; - } | { - context: string; - sandbox?: string | undefined; - }) & ({ - realm: string; - } | { - context: string; - sandbox?: string | undefined; - } | undefined); - handles: string[]; - }; - method: "script.disown"; -}>>, z.ZodLazy; - params: z.ZodLazy; - }, "strip", z.ZodTypeAny, { - realm: string; - }, { - realm: string; - }>>, z.ZodLazy; - sandbox: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - context: string; - sandbox?: string | undefined; - }, { - context: string; - sandbox?: string | undefined; - }>>]>>; - awaitPromise: z.ZodBoolean; - resultOwnership: z.ZodOptional>>; - serializationOptions: z.ZodOptional, z.ZodNull]>>>; - maxObjectDepth: z.ZodOptional, z.ZodNull]>>>; - includeShadowTree: z.ZodOptional>>; - }, "strip", z.ZodTypeAny, { - maxDomDepth?: number | null | undefined; - maxObjectDepth?: number | null | undefined; - includeShadowTree?: "none" | "all" | "open" | undefined; - }, { - maxDomDepth?: number | null | undefined; - maxObjectDepth?: number | null | undefined; - includeShadowTree?: "none" | "all" | "open" | undefined; - }>>>; - userActivation: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - expression: string; - target: ({ - realm: string; - } | { - context: string; - sandbox?: string | undefined; - }) & ({ - realm: string; - } | { - context: string; - sandbox?: string | undefined; - } | undefined); - awaitPromise: boolean; - resultOwnership?: "none" | "root" | undefined; - serializationOptions?: { - maxDomDepth?: number | null | undefined; - maxObjectDepth?: number | null | undefined; - includeShadowTree?: "none" | "all" | "open" | undefined; - } | undefined; - userActivation?: boolean | undefined; - }, { - expression: string; - target: ({ - realm: string; - } | { - context: string; - sandbox?: string | undefined; - }) & ({ - realm: string; - } | { - context: string; - sandbox?: string | undefined; - } | undefined); - awaitPromise: boolean; - resultOwnership?: "none" | "root" | undefined; - serializationOptions?: { - maxDomDepth?: number | null | undefined; - maxObjectDepth?: number | null | undefined; - includeShadowTree?: "none" | "all" | "open" | undefined; - } | undefined; - userActivation?: boolean | undefined; - }>>; -}, "strip", z.ZodTypeAny, { - params: { - expression: string; - target: ({ - realm: string; - } | { - context: string; - sandbox?: string | undefined; - }) & ({ - realm: string; - } | { - context: string; - sandbox?: string | undefined; - } | undefined); - awaitPromise: boolean; - resultOwnership?: "none" | "root" | undefined; - serializationOptions?: { - maxDomDepth?: number | null | undefined; - maxObjectDepth?: number | null | undefined; - includeShadowTree?: "none" | "all" | "open" | undefined; - } | undefined; - userActivation?: boolean | undefined; - }; - method: "script.evaluate"; -}, { - params: { - expression: string; - target: ({ - realm: string; - } | { - context: string; - sandbox?: string | undefined; - }) & ({ - realm: string; - } | { - context: string; - sandbox?: string | undefined; - } | undefined); - awaitPromise: boolean; - resultOwnership?: "none" | "root" | undefined; - serializationOptions?: { - maxDomDepth?: number | null | undefined; - maxObjectDepth?: number | null | undefined; - includeShadowTree?: "none" | "all" | "open" | undefined; - } | undefined; - userActivation?: boolean | undefined; - }; - method: "script.evaluate"; -}>>, z.ZodLazy; - params: z.ZodLazy>; - type: z.ZodOptional>>; - }, "strip", z.ZodTypeAny, { - context?: string | undefined; - type?: "worker" | "window" | "dedicated-worker" | "shared-worker" | "service-worker" | "paint-worklet" | "audio-worklet" | "worklet" | undefined; - }, { - context?: string | undefined; - type?: "worker" | "window" | "dedicated-worker" | "shared-worker" | "service-worker" | "paint-worklet" | "audio-worklet" | "worklet" | undefined; - }>>; -}, "strip", z.ZodTypeAny, { - params: { - context?: string | undefined; - type?: "worker" | "window" | "dedicated-worker" | "shared-worker" | "service-worker" | "paint-worklet" | "audio-worklet" | "worklet" | undefined; - }; - method: "script.getRealms"; -}, { - params: { - context?: string | undefined; - type?: "worker" | "window" | "dedicated-worker" | "shared-worker" | "service-worker" | "paint-worklet" | "audio-worklet" | "worklet" | undefined; - }; - method: "script.getRealms"; -}>>, z.ZodLazy; - params: z.ZodLazy; - }, "strip", z.ZodTypeAny, { - script: string; - }, { - script: string; - }>>; -}, "strip", z.ZodTypeAny, { - params: { - script: string; - }; - method: "script.removePreloadScript"; -}, { - params: { - script: string; - }; - method: "script.removePreloadScript"; -}>>]>>, z.ZodLazy; - params: z.ZodLazy>>; -}, "strip", z.ZodTypeAny, { - params: Record; - method: "session.end"; -}, { - params: Record; - method: "session.end"; -}>>, z.ZodLazy; - params: z.ZodLazy; - browserName: z.ZodOptional; - browserVersion: z.ZodOptional; - platformName: z.ZodOptional; - proxy: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - proxyType: "autodetect"; - }, { - proxyType: "autodetect"; - }>, z.ZodLazy>>>, z.ZodLazy; - }, "strip", z.ZodTypeAny, { - proxyType: "direct"; - }, { - proxyType: "direct"; - }>, z.ZodLazy>>>, z.ZodLazy; - ftpProxy: z.ZodOptional; - httpProxy: z.ZodOptional; - sslProxy: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - }, { - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - }>, z.ZodUnion<[z.ZodLazy>, z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>]>>, z.ZodObject<{ - noProxy: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - noProxy?: string[] | undefined; - }, { - noProxy?: string[] | undefined; - }>>, z.ZodLazy>>>, z.ZodLazy; - proxyAutoconfigUrl: z.ZodString; - }, "strip", z.ZodTypeAny, { - proxyType: "pac"; - proxyAutoconfigUrl: string; - }, { - proxyType: "pac"; - proxyAutoconfigUrl: string; - }>, z.ZodLazy>>>, z.ZodLazy; - }, "strip", z.ZodTypeAny, { - proxyType: "system"; - }, { - proxyType: "system"; - }>, z.ZodLazy>>>, z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>]>>>; - webSocketUrl: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - acceptInsecureCerts?: boolean | undefined; - browserName?: string | undefined; - browserVersion?: string | undefined; - platformName?: string | undefined; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: boolean | undefined; - }, { - acceptInsecureCerts?: boolean | undefined; - browserName?: string | undefined; - browserVersion?: string | undefined; - platformName?: string | undefined; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: boolean | undefined; - }>, z.ZodLazy>>>>; - firstMatch: z.ZodOptional; - browserName: z.ZodOptional; - browserVersion: z.ZodOptional; - platformName: z.ZodOptional; - proxy: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - proxyType: "autodetect"; - }, { - proxyType: "autodetect"; - }>, z.ZodLazy>>>, z.ZodLazy; - }, "strip", z.ZodTypeAny, { - proxyType: "direct"; - }, { - proxyType: "direct"; - }>, z.ZodLazy>>>, z.ZodLazy; - ftpProxy: z.ZodOptional; - httpProxy: z.ZodOptional; - sslProxy: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - }, { - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - }>, z.ZodUnion<[z.ZodLazy>, z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>]>>, z.ZodObject<{ - noProxy: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - noProxy?: string[] | undefined; - }, { - noProxy?: string[] | undefined; - }>>, z.ZodLazy>>>, z.ZodLazy; - proxyAutoconfigUrl: z.ZodString; - }, "strip", z.ZodTypeAny, { - proxyType: "pac"; - proxyAutoconfigUrl: string; - }, { - proxyType: "pac"; - proxyAutoconfigUrl: string; - }>, z.ZodLazy>>>, z.ZodLazy; - }, "strip", z.ZodTypeAny, { - proxyType: "system"; - }, { - proxyType: "system"; - }>, z.ZodLazy>>>, z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>]>>>; - webSocketUrl: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - acceptInsecureCerts?: boolean | undefined; - browserName?: string | undefined; - browserVersion?: string | undefined; - platformName?: string | undefined; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: boolean | undefined; - }, { - acceptInsecureCerts?: boolean | undefined; - browserName?: string | undefined; - browserVersion?: string | undefined; - platformName?: string | undefined; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: boolean | undefined; - }>, z.ZodLazy>>>, "many">>; - }, "strip", z.ZodTypeAny, { - alwaysMatch?: ({ - acceptInsecureCerts?: boolean | undefined; - browserName?: string | undefined; - browserVersion?: string | undefined; - platformName?: string | undefined; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: boolean | undefined; - } & Record) | undefined; - firstMatch?: ({ - acceptInsecureCerts?: boolean | undefined; - browserName?: string | undefined; - browserVersion?: string | undefined; - platformName?: string | undefined; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: boolean | undefined; - } & Record)[] | undefined; - }, { - alwaysMatch?: ({ - acceptInsecureCerts?: boolean | undefined; - browserName?: string | undefined; - browserVersion?: string | undefined; - platformName?: string | undefined; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: boolean | undefined; - } & Record) | undefined; - firstMatch?: ({ - acceptInsecureCerts?: boolean | undefined; - browserName?: string | undefined; - browserVersion?: string | undefined; - platformName?: string | undefined; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: boolean | undefined; - } & Record)[] | undefined; - }>>; - }, "strip", z.ZodTypeAny, { - capabilities: { - alwaysMatch?: ({ - acceptInsecureCerts?: boolean | undefined; - browserName?: string | undefined; - browserVersion?: string | undefined; - platformName?: string | undefined; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: boolean | undefined; - } & Record) | undefined; - firstMatch?: ({ - acceptInsecureCerts?: boolean | undefined; - browserName?: string | undefined; - browserVersion?: string | undefined; - platformName?: string | undefined; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: boolean | undefined; - } & Record)[] | undefined; - }; - }, { - capabilities: { - alwaysMatch?: ({ - acceptInsecureCerts?: boolean | undefined; - browserName?: string | undefined; - browserVersion?: string | undefined; - platformName?: string | undefined; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: boolean | undefined; - } & Record) | undefined; - firstMatch?: ({ - acceptInsecureCerts?: boolean | undefined; - browserName?: string | undefined; - browserVersion?: string | undefined; - platformName?: string | undefined; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: boolean | undefined; - } & Record)[] | undefined; - }; - }>>; -}, "strip", z.ZodTypeAny, { - params: { - capabilities: { - alwaysMatch?: ({ - acceptInsecureCerts?: boolean | undefined; - browserName?: string | undefined; - browserVersion?: string | undefined; - platformName?: string | undefined; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: boolean | undefined; - } & Record) | undefined; - firstMatch?: ({ - acceptInsecureCerts?: boolean | undefined; - browserName?: string | undefined; - browserVersion?: string | undefined; - platformName?: string | undefined; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: boolean | undefined; - } & Record)[] | undefined; - }; - }; - method: "session.new"; -}, { - params: { - capabilities: { - alwaysMatch?: ({ - acceptInsecureCerts?: boolean | undefined; - browserName?: string | undefined; - browserVersion?: string | undefined; - platformName?: string | undefined; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: boolean | undefined; - } & Record) | undefined; - firstMatch?: ({ - acceptInsecureCerts?: boolean | undefined; - browserName?: string | undefined; - browserVersion?: string | undefined; - platformName?: string | undefined; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: boolean | undefined; - } & Record)[] | undefined; - }; - }; - method: "session.new"; -}>>, z.ZodLazy; - params: z.ZodLazy>>; -}, "strip", z.ZodTypeAny, { - params: Record; - method: "session.status"; -}, { - params: Record; - method: "session.status"; -}>>, z.ZodLazy; - params: z.ZodLazy; - contexts: z.ZodOptional, "many">>; - }, "strip", z.ZodTypeAny, { - events: string[]; - contexts?: string[] | undefined; - }, { - events: string[]; - contexts?: string[] | undefined; - }>>; -}, "strip", z.ZodTypeAny, { - params: { - events: string[]; - contexts?: string[] | undefined; - }; - method: "session.subscribe"; -}, { - params: { - events: string[]; - contexts?: string[] | undefined; - }; - method: "session.subscribe"; -}>>, z.ZodLazy; - params: z.ZodLazy; - contexts: z.ZodOptional, "many">>; - }, "strip", z.ZodTypeAny, { - events: string[]; - contexts?: string[] | undefined; - }, { - events: string[]; - contexts?: string[] | undefined; - }>>; -}, "strip", z.ZodTypeAny, { - params: { - events: string[]; - contexts?: string[] | undefined; - }; - method: "session.unsubscribe"; -}, { - params: { - events: string[]; - contexts?: string[] | undefined; - }; - method: "session.unsubscribe"; -}>>]>>, z.ZodLazy; - params: z.ZodLazy; - value: z.ZodOptional; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "string"; - value: string; - }, { - type: "string"; - value: string; - }>>, z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "base64"; - value: string; - }, { - type: "base64"; - value: string; - }>>]>>>; - domain: z.ZodOptional; - path: z.ZodOptional; - size: z.ZodOptional>; - httpOnly: z.ZodOptional; - secure: z.ZodOptional; - sameSite: z.ZodOptional>>; - expiry: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - name?: string | undefined; - value?: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - } | undefined; - domain?: string | undefined; - path?: string | undefined; - size?: number | undefined; - httpOnly?: boolean | undefined; - secure?: boolean | undefined; - sameSite?: "strict" | "none" | "lax" | undefined; - expiry?: number | undefined; - }, { - name?: string | undefined; - value?: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - } | undefined; - domain?: string | undefined; - path?: string | undefined; - size?: number | undefined; - httpOnly?: boolean | undefined; - secure?: boolean | undefined; - sameSite?: "strict" | "none" | "lax" | undefined; - expiry?: number | undefined; - }>, z.ZodLazy>>>>; - partition: z.ZodOptional; - context: z.ZodLazy; - }, "strip", z.ZodTypeAny, { - type: "context"; - context: string; - }, { - type: "context"; - context: string; - }>>, z.ZodLazy; - userContext: z.ZodOptional; - sourceOrigin: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - type: "storageKey"; - userContext?: string | undefined; - sourceOrigin?: string | undefined; - }, { - type: "storageKey"; - userContext?: string | undefined; - sourceOrigin?: string | undefined; - }>, z.ZodLazy>>>]>>>; - }, "strip", z.ZodTypeAny, { - filter?: ({ - name?: string | undefined; - value?: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - } | undefined; - domain?: string | undefined; - path?: string | undefined; - size?: number | undefined; - httpOnly?: boolean | undefined; - secure?: boolean | undefined; - sameSite?: "strict" | "none" | "lax" | undefined; - expiry?: number | undefined; - } & Record) | undefined; - partition?: { - type: "context"; - context: string; - } | ({ - type: "storageKey"; - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record) | undefined; - }, { - filter?: ({ - name?: string | undefined; - value?: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - } | undefined; - domain?: string | undefined; - path?: string | undefined; - size?: number | undefined; - httpOnly?: boolean | undefined; - secure?: boolean | undefined; - sameSite?: "strict" | "none" | "lax" | undefined; - expiry?: number | undefined; - } & Record) | undefined; - partition?: { - type: "context"; - context: string; - } | ({ - type: "storageKey"; - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record) | undefined; - }>>; -}, "strip", z.ZodTypeAny, { - params: { - filter?: ({ - name?: string | undefined; - value?: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - } | undefined; - domain?: string | undefined; - path?: string | undefined; - size?: number | undefined; - httpOnly?: boolean | undefined; - secure?: boolean | undefined; - sameSite?: "strict" | "none" | "lax" | undefined; - expiry?: number | undefined; - } & Record) | undefined; - partition?: { - type: "context"; - context: string; - } | ({ - type: "storageKey"; - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record) | undefined; - }; - method: "storage.deleteCookies"; -}, { - params: { - filter?: ({ - name?: string | undefined; - value?: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - } | undefined; - domain?: string | undefined; - path?: string | undefined; - size?: number | undefined; - httpOnly?: boolean | undefined; - secure?: boolean | undefined; - sameSite?: "strict" | "none" | "lax" | undefined; - expiry?: number | undefined; - } & Record) | undefined; - partition?: { - type: "context"; - context: string; - } | ({ - type: "storageKey"; - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record) | undefined; - }; - method: "storage.deleteCookies"; -}>>, z.ZodLazy; - params: z.ZodLazy; - value: z.ZodOptional; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "string"; - value: string; - }, { - type: "string"; - value: string; - }>>, z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "base64"; - value: string; - }, { - type: "base64"; - value: string; - }>>]>>>; - domain: z.ZodOptional; - path: z.ZodOptional; - size: z.ZodOptional>; - httpOnly: z.ZodOptional; - secure: z.ZodOptional; - sameSite: z.ZodOptional>>; - expiry: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - name?: string | undefined; - value?: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - } | undefined; - domain?: string | undefined; - path?: string | undefined; - size?: number | undefined; - httpOnly?: boolean | undefined; - secure?: boolean | undefined; - sameSite?: "strict" | "none" | "lax" | undefined; - expiry?: number | undefined; - }, { - name?: string | undefined; - value?: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - } | undefined; - domain?: string | undefined; - path?: string | undefined; - size?: number | undefined; - httpOnly?: boolean | undefined; - secure?: boolean | undefined; - sameSite?: "strict" | "none" | "lax" | undefined; - expiry?: number | undefined; - }>, z.ZodLazy>>>>; - partition: z.ZodOptional; - context: z.ZodLazy; - }, "strip", z.ZodTypeAny, { - type: "context"; - context: string; - }, { - type: "context"; - context: string; - }>>, z.ZodLazy; - userContext: z.ZodOptional; - sourceOrigin: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - type: "storageKey"; - userContext?: string | undefined; - sourceOrigin?: string | undefined; - }, { - type: "storageKey"; - userContext?: string | undefined; - sourceOrigin?: string | undefined; - }>, z.ZodLazy>>>]>>>; - }, "strip", z.ZodTypeAny, { - filter?: ({ - name?: string | undefined; - value?: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - } | undefined; - domain?: string | undefined; - path?: string | undefined; - size?: number | undefined; - httpOnly?: boolean | undefined; - secure?: boolean | undefined; - sameSite?: "strict" | "none" | "lax" | undefined; - expiry?: number | undefined; - } & Record) | undefined; - partition?: { - type: "context"; - context: string; - } | ({ - type: "storageKey"; - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record) | undefined; - }, { - filter?: ({ - name?: string | undefined; - value?: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - } | undefined; - domain?: string | undefined; - path?: string | undefined; - size?: number | undefined; - httpOnly?: boolean | undefined; - secure?: boolean | undefined; - sameSite?: "strict" | "none" | "lax" | undefined; - expiry?: number | undefined; - } & Record) | undefined; - partition?: { - type: "context"; - context: string; - } | ({ - type: "storageKey"; - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record) | undefined; - }>>; -}, "strip", z.ZodTypeAny, { - params: { - filter?: ({ - name?: string | undefined; - value?: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - } | undefined; - domain?: string | undefined; - path?: string | undefined; - size?: number | undefined; - httpOnly?: boolean | undefined; - secure?: boolean | undefined; - sameSite?: "strict" | "none" | "lax" | undefined; - expiry?: number | undefined; - } & Record) | undefined; - partition?: { - type: "context"; - context: string; - } | ({ - type: "storageKey"; - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record) | undefined; - }; - method: "storage.getCookies"; -}, { - params: { - filter?: ({ - name?: string | undefined; - value?: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - } | undefined; - domain?: string | undefined; - path?: string | undefined; - size?: number | undefined; - httpOnly?: boolean | undefined; - secure?: boolean | undefined; - sameSite?: "strict" | "none" | "lax" | undefined; - expiry?: number | undefined; - } & Record) | undefined; - partition?: { - type: "context"; - context: string; - } | ({ - type: "storageKey"; - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record) | undefined; - }; - method: "storage.getCookies"; -}>>, z.ZodLazy; - params: z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "string"; - value: string; - }, { - type: "string"; - value: string; - }>>, z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "base64"; - value: string; - }, { - type: "base64"; - value: string; - }>>]>>; - domain: z.ZodString; - path: z.ZodOptional; - httpOnly: z.ZodOptional; - secure: z.ZodOptional; - sameSite: z.ZodOptional>>; - expiry: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - domain: string; - path?: string | undefined; - httpOnly?: boolean | undefined; - secure?: boolean | undefined; - sameSite?: "strict" | "none" | "lax" | undefined; - expiry?: number | undefined; - }, { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - domain: string; - path?: string | undefined; - httpOnly?: boolean | undefined; - secure?: boolean | undefined; - sameSite?: "strict" | "none" | "lax" | undefined; - expiry?: number | undefined; - }>, z.ZodLazy>>>; - partition: z.ZodOptional; - context: z.ZodLazy; - }, "strip", z.ZodTypeAny, { - type: "context"; - context: string; - }, { - type: "context"; - context: string; - }>>, z.ZodLazy; - userContext: z.ZodOptional; - sourceOrigin: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - type: "storageKey"; - userContext?: string | undefined; - sourceOrigin?: string | undefined; - }, { - type: "storageKey"; - userContext?: string | undefined; - sourceOrigin?: string | undefined; - }>, z.ZodLazy>>>]>>>; - }, "strip", z.ZodTypeAny, { - cookie: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - domain: string; - path?: string | undefined; - httpOnly?: boolean | undefined; - secure?: boolean | undefined; - sameSite?: "strict" | "none" | "lax" | undefined; - expiry?: number | undefined; - } & Record; - partition?: { - type: "context"; - context: string; - } | ({ - type: "storageKey"; - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record) | undefined; - }, { - cookie: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - domain: string; - path?: string | undefined; - httpOnly?: boolean | undefined; - secure?: boolean | undefined; - sameSite?: "strict" | "none" | "lax" | undefined; - expiry?: number | undefined; - } & Record; - partition?: { - type: "context"; - context: string; - } | ({ - type: "storageKey"; - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record) | undefined; - }>>; -}, "strip", z.ZodTypeAny, { - params: { - cookie: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - domain: string; - path?: string | undefined; - httpOnly?: boolean | undefined; - secure?: boolean | undefined; - sameSite?: "strict" | "none" | "lax" | undefined; - expiry?: number | undefined; - } & Record; - partition?: { - type: "context"; - context: string; - } | ({ - type: "storageKey"; - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record) | undefined; - }; - method: "storage.setCookie"; -}, { - params: { - cookie: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - domain: string; - path?: string | undefined; - httpOnly?: boolean | undefined; - secure?: boolean | undefined; - sameSite?: "strict" | "none" | "lax" | undefined; - expiry?: number | undefined; - } & Record; - partition?: { - type: "context"; - context: string; - } | ({ - type: "storageKey"; - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record) | undefined; - }; - method: "storage.setCookie"; -}>>]>>]>>>, z.ZodLazy>>>; -export declare const CommandResponseSchema: z.ZodLazy; - id: z.ZodLazy; - result: z.ZodLazy>, z.ZodLazy; - }, "strip", z.ZodTypeAny, { - context: string; - }, { - context: string; - }>>, z.ZodLazy>, z.ZodLazy; - }, "strip", z.ZodTypeAny, { - nodes: any[]; - }, { - nodes: any[]; - }>>, z.ZodLazy, z.ZodNull]>; - url: z.ZodString; - }, "strip", z.ZodTypeAny, { - url: string; - navigation: string | null; - }, { - url: string; - navigation: string | null; - }>>, z.ZodLazy>, z.ZodLazy>]>>, z.ZodLazy>>, z.ZodLazy; - }, "strip", z.ZodTypeAny, { - intercept: string; - }, { - intercept: string; - }>>>, z.ZodLazy; - }, "strip", z.ZodTypeAny, { - script: string; - }, { - script: string; - }>>, z.ZodLazy; - result: any; - realm: z.ZodLazy; - }, "strip", z.ZodTypeAny, { - type: "success"; - realm: string; - result?: any; - }, { - type: "success"; - realm: string; - result?: any; - }>>, z.ZodLazy; - exceptionDetails: z.ZodLazy; - exception: any; - lineNumber: z.ZodLazy; - stackTrace: z.ZodLazy; - functionName: z.ZodString; - lineNumber: z.ZodLazy; - url: z.ZodString; - }, "strip", z.ZodTypeAny, { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }, { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }>>, "many">; - }, "strip", z.ZodTypeAny, { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }, { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }>>; - text: z.ZodString; - }, "strip", z.ZodTypeAny, { - columnNumber: number; - lineNumber: number; - text: string; - stackTrace: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }; - exception?: any; - }, { - columnNumber: number; - lineNumber: number; - text: string; - stackTrace: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }; - exception?: any; - }>>; - realm: z.ZodLazy; - }, "strip", z.ZodTypeAny, { - type: "exception"; - realm: string; - exceptionDetails: { - columnNumber: number; - lineNumber: number; - text: string; - stackTrace: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }; - exception?: any; - }; - }, { - type: "exception"; - realm: string; - exceptionDetails: { - columnNumber: number; - lineNumber: number; - text: string; - stackTrace: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }; - exception?: any; - }; - }>>]>>, z.ZodLazy; - origin: z.ZodString; - }, "strip", z.ZodTypeAny, { - origin: string; - realm: string; - }, { - origin: string; - realm: string; - }>>, z.ZodObject<{ - type: z.ZodLiteral<"window">; - context: z.ZodLazy; - sandbox: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - type: "window"; - context: string; - sandbox?: string | undefined; - }, { - type: "window"; - context: string; - sandbox?: string | undefined; - }>>>, z.ZodLazy; - origin: z.ZodString; - }, "strip", z.ZodTypeAny, { - origin: string; - realm: string; - }, { - origin: string; - realm: string; - }>>, z.ZodObject<{ - type: z.ZodLiteral<"dedicated-worker">; - owners: z.ZodTuple<[z.ZodLazy], null>; - }, "strip", z.ZodTypeAny, { - type: "dedicated-worker"; - owners: [string]; - }, { - type: "dedicated-worker"; - owners: [string]; - }>>>, z.ZodLazy; - origin: z.ZodString; - }, "strip", z.ZodTypeAny, { - origin: string; - realm: string; - }, { - origin: string; - realm: string; - }>>, z.ZodObject<{ - type: z.ZodLiteral<"shared-worker">; - }, "strip", z.ZodTypeAny, { - type: "shared-worker"; - }, { - type: "shared-worker"; - }>>>, z.ZodLazy; - origin: z.ZodString; - }, "strip", z.ZodTypeAny, { - origin: string; - realm: string; - }, { - origin: string; - realm: string; - }>>, z.ZodObject<{ - type: z.ZodLiteral<"service-worker">; - }, "strip", z.ZodTypeAny, { - type: "service-worker"; - }, { - type: "service-worker"; - }>>>, z.ZodLazy; - origin: z.ZodString; - }, "strip", z.ZodTypeAny, { - origin: string; - realm: string; - }, { - origin: string; - realm: string; - }>>, z.ZodObject<{ - type: z.ZodLiteral<"worker">; - }, "strip", z.ZodTypeAny, { - type: "worker"; - }, { - type: "worker"; - }>>>, z.ZodLazy; - origin: z.ZodString; - }, "strip", z.ZodTypeAny, { - origin: string; - realm: string; - }, { - origin: string; - realm: string; - }>>, z.ZodObject<{ - type: z.ZodLiteral<"paint-worklet">; - }, "strip", z.ZodTypeAny, { - type: "paint-worklet"; - }, { - type: "paint-worklet"; - }>>>, z.ZodLazy; - origin: z.ZodString; - }, "strip", z.ZodTypeAny, { - origin: string; - realm: string; - }, { - origin: string; - realm: string; - }>>, z.ZodObject<{ - type: z.ZodLiteral<"audio-worklet">; - }, "strip", z.ZodTypeAny, { - type: "audio-worklet"; - }, { - type: "audio-worklet"; - }>>>, z.ZodLazy; - origin: z.ZodString; - }, "strip", z.ZodTypeAny, { - origin: string; - realm: string; - }, { - origin: string; - realm: string; - }>>, z.ZodObject<{ - type: z.ZodLiteral<"worklet">; - }, "strip", z.ZodTypeAny, { - type: "worklet"; - }, { - type: "worklet"; - }>>>]>>, "many">; - }, "strip", z.ZodTypeAny, { - realms: (({ - origin: string; - realm: string; - } & { - type: "window"; - context: string; - sandbox?: string | undefined; - }) | ({ - origin: string; - realm: string; - } & { - type: "dedicated-worker"; - owners: [string]; - }) | ({ - origin: string; - realm: string; - } & { - type: "shared-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "service-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "paint-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "audio-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worklet"; - }))[]; - }, { - realms: (({ - origin: string; - realm: string; - } & { - type: "window"; - context: string; - sandbox?: string | undefined; - }) | ({ - origin: string; - realm: string; - } & { - type: "dedicated-worker"; - owners: [string]; - }) | ({ - origin: string; - realm: string; - } & { - type: "shared-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "service-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "paint-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "audio-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worklet"; - }))[]; - }>>]>>, z.ZodLazy; - }, "strip", z.ZodTypeAny, { - proxyType: "autodetect"; - }, { - proxyType: "autodetect"; - }>, z.ZodLazy>>>, z.ZodLazy; - }, "strip", z.ZodTypeAny, { - proxyType: "direct"; - }, { - proxyType: "direct"; - }>, z.ZodLazy>>>, z.ZodLazy; - ftpProxy: z.ZodOptional; - httpProxy: z.ZodOptional; - sslProxy: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - }, { - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - }>, z.ZodUnion<[z.ZodLazy>, z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>]>>, z.ZodObject<{ - noProxy: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - noProxy?: string[] | undefined; - }, { - noProxy?: string[] | undefined; - }>>, z.ZodLazy>>>, z.ZodLazy; - proxyAutoconfigUrl: z.ZodString; - }, "strip", z.ZodTypeAny, { - proxyType: "pac"; - proxyAutoconfigUrl: string; - }, { - proxyType: "pac"; - proxyAutoconfigUrl: string; - }>, z.ZodLazy>>>, z.ZodLazy; - }, "strip", z.ZodTypeAny, { - proxyType: "system"; - }, { - proxyType: "system"; - }>, z.ZodLazy>>>, z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>]>>>; - webSocketUrl: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - acceptInsecureCerts: boolean; - browserName: string; - browserVersion: string; - platformName: string; - setWindowRect: boolean; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: string | undefined; - }, { - acceptInsecureCerts: boolean; - browserName: string; - browserVersion: string; - platformName: string; - setWindowRect: boolean; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: string | undefined; - }>, z.ZodLazy>>; - }, "strip", z.ZodTypeAny, { - capabilities: { - acceptInsecureCerts: boolean; - browserName: string; - browserVersion: string; - platformName: string; - setWindowRect: boolean; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: string | undefined; - } & Record; - sessionId: string; - }, { - capabilities: { - acceptInsecureCerts: boolean; - browserName: string; - browserVersion: string; - platformName: string; - setWindowRect: boolean; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: string | undefined; - } & Record; - sessionId: string; - }>>, z.ZodLazy>]>>, z.ZodLazy; - sourceOrigin: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - }, { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - }>, z.ZodLazy>>>; - }, "strip", z.ZodTypeAny, { - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }, { - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }>>, z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "string"; - value: string; - }, { - type: "string"; - value: string; - }>>, z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "base64"; - value: string; - }, { - type: "base64"; - value: string; - }>>]>>; - domain: z.ZodString; - path: z.ZodString; - size: z.ZodLazy; - httpOnly: z.ZodBoolean; - secure: z.ZodBoolean; - sameSite: z.ZodLazy>; - expiry: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - }, { - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - }>, z.ZodLazy>>>, "many">; - partitionKey: z.ZodLazy; - sourceOrigin: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - }, { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - }>, z.ZodLazy>>>; - }, "strip", z.ZodTypeAny, { - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }, { - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }>>, z.ZodLazy; - sourceOrigin: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - }, { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - }>, z.ZodLazy>>>; - }, "strip", z.ZodTypeAny, { - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }, { - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }>>]>>]>>; -}, "strip", z.ZodTypeAny, { - type: "success"; - id: number; - result: Record | { - data: string; - } | { - context: string; - } | { - contexts?: any; - } | { - nodes: any[]; - } | { - url: string; - navigation: string | null; - } | { - data: string; - } | {} | { - intercept: string; - } | { - script: string; - } | { - type: "success"; - realm: string; - result?: any; - } | { - type: "exception"; - realm: string; - exceptionDetails: { - columnNumber: number; - lineNumber: number; - text: string; - stackTrace: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }; - exception?: any; - }; - } | { - realms: (({ - origin: string; - realm: string; - } & { - type: "window"; - context: string; - sandbox?: string | undefined; - }) | ({ - origin: string; - realm: string; - } & { - type: "dedicated-worker"; - owners: [string]; - }) | ({ - origin: string; - realm: string; - } & { - type: "shared-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "service-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "paint-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "audio-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worklet"; - }))[]; - } | { - capabilities: { - acceptInsecureCerts: boolean; - browserName: string; - browserVersion: string; - platformName: string; - setWindowRect: boolean; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: string | undefined; - } & Record; - sessionId: string; - } | { - message: string; - ready: boolean; - } | { - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } | { - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } | { - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } | (Record & { - data: string; - }) | (Record & { - context: string; - }) | (Record & { - contexts?: any; - }) | (Record & { - nodes: any[]; - }) | (Record & { - url: string; - navigation: string | null; - }) | (Record & { - data: string; - }) | (Record & {}) | (Record & { - intercept: string; - }) | (Record & { - script: string; - }) | (Record & { - type: "success"; - realm: string; - result?: any; - }) | (Record & { - type: "exception"; - realm: string; - exceptionDetails: { - columnNumber: number; - lineNumber: number; - text: string; - stackTrace: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }; - exception?: any; - }; - }) | (Record & { - realms: (({ - origin: string; - realm: string; - } & { - type: "window"; - context: string; - sandbox?: string | undefined; - }) | ({ - origin: string; - realm: string; - } & { - type: "dedicated-worker"; - owners: [string]; - }) | ({ - origin: string; - realm: string; - } & { - type: "shared-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "service-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "paint-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "audio-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worklet"; - }))[]; - }) | (Record & { - capabilities: { - acceptInsecureCerts: boolean; - browserName: string; - browserVersion: string; - platformName: string; - setWindowRect: boolean; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: string | undefined; - } & Record; - sessionId: string; - }) | (Record & { - message: string; - ready: boolean; - }) | (Record & { - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | (Record & { - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | (Record & { - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | ({ - data: string; - } & Record) | ({ - data: string; - } & { - context: string; - }) | ({ - data: string; - } & { - contexts?: any; - }) | ({ - data: string; - } & { - nodes: any[]; - }) | ({ - data: string; - } & { - url: string; - navigation: string | null; - }) | ({ - data: string; - } & { - data: string; - }) | ({ - data: string; - } & {}) | ({ - data: string; - } & { - intercept: string; - }) | ({ - data: string; - } & { - script: string; - }) | ({ - data: string; - } & { - type: "success"; - realm: string; - result?: any; - }) | ({ - data: string; - } & { - type: "exception"; - realm: string; - exceptionDetails: { - columnNumber: number; - lineNumber: number; - text: string; - stackTrace: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }; - exception?: any; - }; - }) | ({ - data: string; - } & { - realms: (({ - origin: string; - realm: string; - } & { - type: "window"; - context: string; - sandbox?: string | undefined; - }) | ({ - origin: string; - realm: string; - } & { - type: "dedicated-worker"; - owners: [string]; - }) | ({ - origin: string; - realm: string; - } & { - type: "shared-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "service-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "paint-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "audio-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worklet"; - }))[]; - }) | ({ - data: string; - } & { - capabilities: { - acceptInsecureCerts: boolean; - browserName: string; - browserVersion: string; - platformName: string; - setWindowRect: boolean; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: string | undefined; - } & Record; - sessionId: string; - }) | ({ - data: string; - } & { - message: string; - ready: boolean; - }) | ({ - data: string; - } & { - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | ({ - data: string; - } & { - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | ({ - data: string; - } & { - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | ({ - context: string; - } & Record) | ({ - context: string; - } & { - data: string; - }) | ({ - context: string; - } & { - contexts?: any; - }) | ({ - context: string; - } & { - nodes: any[]; - }) | ({ - context: string; - } & { - url: string; - navigation: string | null; - }) | ({ - context: string; - } & { - data: string; - }) | ({ - context: string; - } & {}) | ({ - context: string; - } & { - intercept: string; - }) | ({ - context: string; - } & { - script: string; - }) | ({ - context: string; - } & { - type: "success"; - realm: string; - result?: any; - }) | ({ - context: string; - } & { - type: "exception"; - realm: string; - exceptionDetails: { - columnNumber: number; - lineNumber: number; - text: string; - stackTrace: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }; - exception?: any; - }; - }) | ({ - context: string; - } & { - realms: (({ - origin: string; - realm: string; - } & { - type: "window"; - context: string; - sandbox?: string | undefined; - }) | ({ - origin: string; - realm: string; - } & { - type: "dedicated-worker"; - owners: [string]; - }) | ({ - origin: string; - realm: string; - } & { - type: "shared-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "service-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "paint-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "audio-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worklet"; - }))[]; - }) | ({ - context: string; - } & { - capabilities: { - acceptInsecureCerts: boolean; - browserName: string; - browserVersion: string; - platformName: string; - setWindowRect: boolean; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: string | undefined; - } & Record; - sessionId: string; - }) | ({ - context: string; - } & { - message: string; - ready: boolean; - }) | ({ - context: string; - } & { - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | ({ - context: string; - } & { - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | ({ - context: string; - } & { - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | ({ - contexts?: any; - } & Record) | ({ - contexts?: any; - } & { - data: string; - }) | ({ - contexts?: any; - } & { - context: string; - }) | ({ - contexts?: any; - } & { - nodes: any[]; - }) | ({ - contexts?: any; - } & { - url: string; - navigation: string | null; - }) | ({ - contexts?: any; - } & { - data: string; - }) | ({ - contexts?: any; - } & {}) | ({ - contexts?: any; - } & { - intercept: string; - }) | ({ - contexts?: any; - } & { - script: string; - }) | ({ - contexts?: any; - } & { - type: "success"; - realm: string; - result?: any; - }) | ({ - contexts?: any; - } & { - type: "exception"; - realm: string; - exceptionDetails: { - columnNumber: number; - lineNumber: number; - text: string; - stackTrace: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }; - exception?: any; - }; - }) | ({ - contexts?: any; - } & { - realms: (({ - origin: string; - realm: string; - } & { - type: "window"; - context: string; - sandbox?: string | undefined; - }) | ({ - origin: string; - realm: string; - } & { - type: "dedicated-worker"; - owners: [string]; - }) | ({ - origin: string; - realm: string; - } & { - type: "shared-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "service-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "paint-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "audio-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worklet"; - }))[]; - }) | ({ - contexts?: any; - } & { - capabilities: { - acceptInsecureCerts: boolean; - browserName: string; - browserVersion: string; - platformName: string; - setWindowRect: boolean; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: string | undefined; - } & Record; - sessionId: string; - }) | ({ - contexts?: any; - } & { - message: string; - ready: boolean; - }) | ({ - contexts?: any; - } & { - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | ({ - contexts?: any; - } & { - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | ({ - contexts?: any; - } & { - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | ({ - nodes: any[]; - } & Record) | ({ - nodes: any[]; - } & { - data: string; - }) | ({ - nodes: any[]; - } & { - context: string; - }) | ({ - nodes: any[]; - } & { - contexts?: any; - }) | ({ - nodes: any[]; - } & { - url: string; - navigation: string | null; - }) | ({ - nodes: any[]; - } & { - data: string; - }) | ({ - nodes: any[]; - } & {}) | ({ - nodes: any[]; - } & { - intercept: string; - }) | ({ - nodes: any[]; - } & { - script: string; - }) | ({ - nodes: any[]; - } & { - type: "success"; - realm: string; - result?: any; - }) | ({ - nodes: any[]; - } & { - type: "exception"; - realm: string; - exceptionDetails: { - columnNumber: number; - lineNumber: number; - text: string; - stackTrace: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }; - exception?: any; - }; - }) | ({ - nodes: any[]; - } & { - realms: (({ - origin: string; - realm: string; - } & { - type: "window"; - context: string; - sandbox?: string | undefined; - }) | ({ - origin: string; - realm: string; - } & { - type: "dedicated-worker"; - owners: [string]; - }) | ({ - origin: string; - realm: string; - } & { - type: "shared-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "service-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "paint-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "audio-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worklet"; - }))[]; - }) | ({ - nodes: any[]; - } & { - capabilities: { - acceptInsecureCerts: boolean; - browserName: string; - browserVersion: string; - platformName: string; - setWindowRect: boolean; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: string | undefined; - } & Record; - sessionId: string; - }) | ({ - nodes: any[]; - } & { - message: string; - ready: boolean; - }) | ({ - nodes: any[]; - } & { - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | ({ - nodes: any[]; - } & { - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | ({ - nodes: any[]; - } & { - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | ({ - url: string; - navigation: string | null; - } & Record) | ({ - url: string; - navigation: string | null; - } & { - data: string; - }) | ({ - url: string; - navigation: string | null; - } & { - context: string; - }) | ({ - url: string; - navigation: string | null; - } & { - contexts?: any; - }) | ({ - url: string; - navigation: string | null; - } & { - nodes: any[]; - }) | ({ - url: string; - navigation: string | null; - } & { - data: string; - }) | ({ - url: string; - navigation: string | null; - } & {}) | ({ - url: string; - navigation: string | null; - } & { - intercept: string; - }) | ({ - url: string; - navigation: string | null; - } & { - script: string; - }) | ({ - url: string; - navigation: string | null; - } & { - type: "success"; - realm: string; - result?: any; - }) | ({ - url: string; - navigation: string | null; - } & { - type: "exception"; - realm: string; - exceptionDetails: { - columnNumber: number; - lineNumber: number; - text: string; - stackTrace: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }; - exception?: any; - }; - }) | ({ - url: string; - navigation: string | null; - } & { - realms: (({ - origin: string; - realm: string; - } & { - type: "window"; - context: string; - sandbox?: string | undefined; - }) | ({ - origin: string; - realm: string; - } & { - type: "dedicated-worker"; - owners: [string]; - }) | ({ - origin: string; - realm: string; - } & { - type: "shared-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "service-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "paint-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "audio-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worklet"; - }))[]; - }) | ({ - url: string; - navigation: string | null; - } & { - capabilities: { - acceptInsecureCerts: boolean; - browserName: string; - browserVersion: string; - platformName: string; - setWindowRect: boolean; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: string | undefined; - } & Record; - sessionId: string; - }) | ({ - url: string; - navigation: string | null; - } & { - message: string; - ready: boolean; - }) | ({ - url: string; - navigation: string | null; - } & { - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | ({ - url: string; - navigation: string | null; - } & { - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | ({ - url: string; - navigation: string | null; - } & { - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | ({ - data: string; - } & Record) | ({ - data: string; - } & { - data: string; - }) | ({ - data: string; - } & { - context: string; - }) | ({ - data: string; - } & { - contexts?: any; - }) | ({ - data: string; - } & { - nodes: any[]; - }) | ({ - data: string; - } & { - url: string; - navigation: string | null; - }) | ({ - data: string; - } & {}) | ({ - data: string; - } & { - intercept: string; - }) | ({ - data: string; - } & { - script: string; - }) | ({ - data: string; - } & { - type: "success"; - realm: string; - result?: any; - }) | ({ - data: string; - } & { - type: "exception"; - realm: string; - exceptionDetails: { - columnNumber: number; - lineNumber: number; - text: string; - stackTrace: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }; - exception?: any; - }; - }) | ({ - data: string; - } & { - realms: (({ - origin: string; - realm: string; - } & { - type: "window"; - context: string; - sandbox?: string | undefined; - }) | ({ - origin: string; - realm: string; - } & { - type: "dedicated-worker"; - owners: [string]; - }) | ({ - origin: string; - realm: string; - } & { - type: "shared-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "service-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "paint-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "audio-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worklet"; - }))[]; - }) | ({ - data: string; - } & { - capabilities: { - acceptInsecureCerts: boolean; - browserName: string; - browserVersion: string; - platformName: string; - setWindowRect: boolean; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: string | undefined; - } & Record; - sessionId: string; - }) | ({ - data: string; - } & { - message: string; - ready: boolean; - }) | ({ - data: string; - } & { - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | ({ - data: string; - } & { - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | ({ - data: string; - } & { - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | ({} & Record) | ({} & { - data: string; - }) | ({} & { - context: string; - }) | ({} & { - contexts?: any; - }) | ({} & { - nodes: any[]; - }) | ({} & { - url: string; - navigation: string | null; - }) | ({} & { - data: string; - }) | ({} & { - intercept: string; - }) | ({} & { - script: string; - }) | ({} & { - type: "success"; - realm: string; - result?: any; - }) | ({} & { - type: "exception"; - realm: string; - exceptionDetails: { - columnNumber: number; - lineNumber: number; - text: string; - stackTrace: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }; - exception?: any; - }; - }) | ({} & { - realms: (({ - origin: string; - realm: string; - } & { - type: "window"; - context: string; - sandbox?: string | undefined; - }) | ({ - origin: string; - realm: string; - } & { - type: "dedicated-worker"; - owners: [string]; - }) | ({ - origin: string; - realm: string; - } & { - type: "shared-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "service-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "paint-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "audio-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worklet"; - }))[]; - }) | ({} & { - capabilities: { - acceptInsecureCerts: boolean; - browserName: string; - browserVersion: string; - platformName: string; - setWindowRect: boolean; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: string | undefined; - } & Record; - sessionId: string; - }) | ({} & { - message: string; - ready: boolean; - }) | ({} & { - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | ({} & { - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | ({} & { - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | ({ - intercept: string; - } & Record) | ({ - intercept: string; - } & { - data: string; - }) | ({ - intercept: string; - } & { - context: string; - }) | ({ - intercept: string; - } & { - contexts?: any; - }) | ({ - intercept: string; - } & { - nodes: any[]; - }) | ({ - intercept: string; - } & { - url: string; - navigation: string | null; - }) | ({ - intercept: string; - } & { - data: string; - }) | ({ - intercept: string; - } & {}) | ({ - intercept: string; - } & { - script: string; - }) | ({ - intercept: string; - } & { - type: "success"; - realm: string; - result?: any; - }) | ({ - intercept: string; - } & { - type: "exception"; - realm: string; - exceptionDetails: { - columnNumber: number; - lineNumber: number; - text: string; - stackTrace: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }; - exception?: any; - }; - }) | ({ - intercept: string; - } & { - realms: (({ - origin: string; - realm: string; - } & { - type: "window"; - context: string; - sandbox?: string | undefined; - }) | ({ - origin: string; - realm: string; - } & { - type: "dedicated-worker"; - owners: [string]; - }) | ({ - origin: string; - realm: string; - } & { - type: "shared-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "service-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "paint-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "audio-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worklet"; - }))[]; - }) | ({ - intercept: string; - } & { - capabilities: { - acceptInsecureCerts: boolean; - browserName: string; - browserVersion: string; - platformName: string; - setWindowRect: boolean; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: string | undefined; - } & Record; - sessionId: string; - }) | ({ - intercept: string; - } & { - message: string; - ready: boolean; - }) | ({ - intercept: string; - } & { - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | ({ - intercept: string; - } & { - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | ({ - intercept: string; - } & { - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | ({ - script: string; - } & Record) | ({ - script: string; - } & { - data: string; - }) | ({ - script: string; - } & { - context: string; - }) | ({ - script: string; - } & { - contexts?: any; - }) | ({ - script: string; - } & { - nodes: any[]; - }) | ({ - script: string; - } & { - url: string; - navigation: string | null; - }) | ({ - script: string; - } & { - data: string; - }) | ({ - script: string; - } & {}) | ({ - script: string; - } & { - intercept: string; - }) | ({ - script: string; - } & { - type: "success"; - realm: string; - result?: any; - }) | ({ - script: string; - } & { - type: "exception"; - realm: string; - exceptionDetails: { - columnNumber: number; - lineNumber: number; - text: string; - stackTrace: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }; - exception?: any; - }; - }) | ({ - script: string; - } & { - realms: (({ - origin: string; - realm: string; - } & { - type: "window"; - context: string; - sandbox?: string | undefined; - }) | ({ - origin: string; - realm: string; - } & { - type: "dedicated-worker"; - owners: [string]; - }) | ({ - origin: string; - realm: string; - } & { - type: "shared-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "service-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "paint-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "audio-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worklet"; - }))[]; - }) | ({ - script: string; - } & { - capabilities: { - acceptInsecureCerts: boolean; - browserName: string; - browserVersion: string; - platformName: string; - setWindowRect: boolean; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: string | undefined; - } & Record; - sessionId: string; - }) | ({ - script: string; - } & { - message: string; - ready: boolean; - }) | ({ - script: string; - } & { - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | ({ - script: string; - } & { - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | ({ - script: string; - } & { - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | ({ - type: "success"; - realm: string; - result?: any; - } & Record) | ({ - type: "success"; - realm: string; - result?: any; - } & { - data: string; - }) | ({ - type: "success"; - realm: string; - result?: any; - } & { - context: string; - }) | ({ - type: "success"; - realm: string; - result?: any; - } & { - contexts?: any; - }) | ({ - type: "success"; - realm: string; - result?: any; - } & { - nodes: any[]; - }) | ({ - type: "success"; - realm: string; - result?: any; - } & { - url: string; - navigation: string | null; - }) | ({ - type: "success"; - realm: string; - result?: any; - } & { - data: string; - }) | ({ - type: "success"; - realm: string; - result?: any; - } & {}) | ({ - type: "success"; - realm: string; - result?: any; - } & { - intercept: string; - }) | ({ - type: "success"; - realm: string; - result?: any; - } & { - script: string; - }) | ({ - type: "success"; - realm: string; - result?: any; - } & { - realms: (({ - origin: string; - realm: string; - } & { - type: "window"; - context: string; - sandbox?: string | undefined; - }) | ({ - origin: string; - realm: string; - } & { - type: "dedicated-worker"; - owners: [string]; - }) | ({ - origin: string; - realm: string; - } & { - type: "shared-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "service-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "paint-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "audio-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worklet"; - }))[]; - }) | ({ - type: "success"; - realm: string; - result?: any; - } & { - capabilities: { - acceptInsecureCerts: boolean; - browserName: string; - browserVersion: string; - platformName: string; - setWindowRect: boolean; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: string | undefined; - } & Record; - sessionId: string; - }) | ({ - type: "success"; - realm: string; - result?: any; - } & { - message: string; - ready: boolean; - }) | ({ - type: "success"; - realm: string; - result?: any; - } & { - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | ({ - type: "success"; - realm: string; - result?: any; - } & { - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | ({ - type: "success"; - realm: string; - result?: any; - } & { - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | ({ - type: "exception"; - realm: string; - exceptionDetails: { - columnNumber: number; - lineNumber: number; - text: string; - stackTrace: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }; - exception?: any; - }; - } & Record) | ({ - type: "exception"; - realm: string; - exceptionDetails: { - columnNumber: number; - lineNumber: number; - text: string; - stackTrace: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }; - exception?: any; - }; - } & { - data: string; - }) | ({ - type: "exception"; - realm: string; - exceptionDetails: { - columnNumber: number; - lineNumber: number; - text: string; - stackTrace: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }; - exception?: any; - }; - } & { - context: string; - }) | ({ - type: "exception"; - realm: string; - exceptionDetails: { - columnNumber: number; - lineNumber: number; - text: string; - stackTrace: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }; - exception?: any; - }; - } & { - contexts?: any; - }) | ({ - type: "exception"; - realm: string; - exceptionDetails: { - columnNumber: number; - lineNumber: number; - text: string; - stackTrace: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }; - exception?: any; - }; - } & { - nodes: any[]; - }) | ({ - type: "exception"; - realm: string; - exceptionDetails: { - columnNumber: number; - lineNumber: number; - text: string; - stackTrace: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }; - exception?: any; - }; - } & { - url: string; - navigation: string | null; - }) | ({ - type: "exception"; - realm: string; - exceptionDetails: { - columnNumber: number; - lineNumber: number; - text: string; - stackTrace: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }; - exception?: any; - }; - } & { - data: string; - }) | ({ - type: "exception"; - realm: string; - exceptionDetails: { - columnNumber: number; - lineNumber: number; - text: string; - stackTrace: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }; - exception?: any; - }; - } & {}) | ({ - type: "exception"; - realm: string; - exceptionDetails: { - columnNumber: number; - lineNumber: number; - text: string; - stackTrace: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }; - exception?: any; - }; - } & { - intercept: string; - }) | ({ - type: "exception"; - realm: string; - exceptionDetails: { - columnNumber: number; - lineNumber: number; - text: string; - stackTrace: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }; - exception?: any; - }; - } & { - script: string; - }) | ({ - type: "exception"; - realm: string; - exceptionDetails: { - columnNumber: number; - lineNumber: number; - text: string; - stackTrace: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }; - exception?: any; - }; - } & { - realms: (({ - origin: string; - realm: string; - } & { - type: "window"; - context: string; - sandbox?: string | undefined; - }) | ({ - origin: string; - realm: string; - } & { - type: "dedicated-worker"; - owners: [string]; - }) | ({ - origin: string; - realm: string; - } & { - type: "shared-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "service-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "paint-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "audio-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worklet"; - }))[]; - }) | ({ - type: "exception"; - realm: string; - exceptionDetails: { - columnNumber: number; - lineNumber: number; - text: string; - stackTrace: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }; - exception?: any; - }; - } & { - capabilities: { - acceptInsecureCerts: boolean; - browserName: string; - browserVersion: string; - platformName: string; - setWindowRect: boolean; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: string | undefined; - } & Record; - sessionId: string; - }) | ({ - type: "exception"; - realm: string; - exceptionDetails: { - columnNumber: number; - lineNumber: number; - text: string; - stackTrace: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }; - exception?: any; - }; - } & { - message: string; - ready: boolean; - }) | ({ - type: "exception"; - realm: string; - exceptionDetails: { - columnNumber: number; - lineNumber: number; - text: string; - stackTrace: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }; - exception?: any; - }; - } & { - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | ({ - type: "exception"; - realm: string; - exceptionDetails: { - columnNumber: number; - lineNumber: number; - text: string; - stackTrace: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }; - exception?: any; - }; - } & { - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | ({ - type: "exception"; - realm: string; - exceptionDetails: { - columnNumber: number; - lineNumber: number; - text: string; - stackTrace: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }; - exception?: any; - }; - } & { - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | ({ - realms: (({ - origin: string; - realm: string; - } & { - type: "window"; - context: string; - sandbox?: string | undefined; - }) | ({ - origin: string; - realm: string; - } & { - type: "dedicated-worker"; - owners: [string]; - }) | ({ - origin: string; - realm: string; - } & { - type: "shared-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "service-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "paint-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "audio-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worklet"; - }))[]; - } & Record) | ({ - realms: (({ - origin: string; - realm: string; - } & { - type: "window"; - context: string; - sandbox?: string | undefined; - }) | ({ - origin: string; - realm: string; - } & { - type: "dedicated-worker"; - owners: [string]; - }) | ({ - origin: string; - realm: string; - } & { - type: "shared-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "service-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "paint-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "audio-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worklet"; - }))[]; - } & { - data: string; - }) | ({ - realms: (({ - origin: string; - realm: string; - } & { - type: "window"; - context: string; - sandbox?: string | undefined; - }) | ({ - origin: string; - realm: string; - } & { - type: "dedicated-worker"; - owners: [string]; - }) | ({ - origin: string; - realm: string; - } & { - type: "shared-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "service-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "paint-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "audio-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worklet"; - }))[]; - } & { - context: string; - }) | ({ - realms: (({ - origin: string; - realm: string; - } & { - type: "window"; - context: string; - sandbox?: string | undefined; - }) | ({ - origin: string; - realm: string; - } & { - type: "dedicated-worker"; - owners: [string]; - }) | ({ - origin: string; - realm: string; - } & { - type: "shared-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "service-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "paint-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "audio-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worklet"; - }))[]; - } & { - contexts?: any; - }) | ({ - realms: (({ - origin: string; - realm: string; - } & { - type: "window"; - context: string; - sandbox?: string | undefined; - }) | ({ - origin: string; - realm: string; - } & { - type: "dedicated-worker"; - owners: [string]; - }) | ({ - origin: string; - realm: string; - } & { - type: "shared-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "service-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "paint-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "audio-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worklet"; - }))[]; - } & { - nodes: any[]; - }) | ({ - realms: (({ - origin: string; - realm: string; - } & { - type: "window"; - context: string; - sandbox?: string | undefined; - }) | ({ - origin: string; - realm: string; - } & { - type: "dedicated-worker"; - owners: [string]; - }) | ({ - origin: string; - realm: string; - } & { - type: "shared-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "service-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "paint-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "audio-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worklet"; - }))[]; - } & { - url: string; - navigation: string | null; - }) | ({ - realms: (({ - origin: string; - realm: string; - } & { - type: "window"; - context: string; - sandbox?: string | undefined; - }) | ({ - origin: string; - realm: string; - } & { - type: "dedicated-worker"; - owners: [string]; - }) | ({ - origin: string; - realm: string; - } & { - type: "shared-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "service-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "paint-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "audio-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worklet"; - }))[]; - } & { - data: string; - }) | ({ - realms: (({ - origin: string; - realm: string; - } & { - type: "window"; - context: string; - sandbox?: string | undefined; - }) | ({ - origin: string; - realm: string; - } & { - type: "dedicated-worker"; - owners: [string]; - }) | ({ - origin: string; - realm: string; - } & { - type: "shared-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "service-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "paint-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "audio-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worklet"; - }))[]; - } & {}) | ({ - realms: (({ - origin: string; - realm: string; - } & { - type: "window"; - context: string; - sandbox?: string | undefined; - }) | ({ - origin: string; - realm: string; - } & { - type: "dedicated-worker"; - owners: [string]; - }) | ({ - origin: string; - realm: string; - } & { - type: "shared-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "service-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "paint-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "audio-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worklet"; - }))[]; - } & { - intercept: string; - }) | ({ - realms: (({ - origin: string; - realm: string; - } & { - type: "window"; - context: string; - sandbox?: string | undefined; - }) | ({ - origin: string; - realm: string; - } & { - type: "dedicated-worker"; - owners: [string]; - }) | ({ - origin: string; - realm: string; - } & { - type: "shared-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "service-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "paint-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "audio-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worklet"; - }))[]; - } & { - script: string; - }) | ({ - realms: (({ - origin: string; - realm: string; - } & { - type: "window"; - context: string; - sandbox?: string | undefined; - }) | ({ - origin: string; - realm: string; - } & { - type: "dedicated-worker"; - owners: [string]; - }) | ({ - origin: string; - realm: string; - } & { - type: "shared-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "service-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "paint-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "audio-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worklet"; - }))[]; - } & { - type: "success"; - realm: string; - result?: any; - }) | ({ - realms: (({ - origin: string; - realm: string; - } & { - type: "window"; - context: string; - sandbox?: string | undefined; - }) | ({ - origin: string; - realm: string; - } & { - type: "dedicated-worker"; - owners: [string]; - }) | ({ - origin: string; - realm: string; - } & { - type: "shared-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "service-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "paint-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "audio-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worklet"; - }))[]; - } & { - type: "exception"; - realm: string; - exceptionDetails: { - columnNumber: number; - lineNumber: number; - text: string; - stackTrace: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }; - exception?: any; - }; - }) | ({ - realms: (({ - origin: string; - realm: string; - } & { - type: "window"; - context: string; - sandbox?: string | undefined; - }) | ({ - origin: string; - realm: string; - } & { - type: "dedicated-worker"; - owners: [string]; - }) | ({ - origin: string; - realm: string; - } & { - type: "shared-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "service-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "paint-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "audio-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worklet"; - }))[]; - } & { - capabilities: { - acceptInsecureCerts: boolean; - browserName: string; - browserVersion: string; - platformName: string; - setWindowRect: boolean; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: string | undefined; - } & Record; - sessionId: string; - }) | ({ - realms: (({ - origin: string; - realm: string; - } & { - type: "window"; - context: string; - sandbox?: string | undefined; - }) | ({ - origin: string; - realm: string; - } & { - type: "dedicated-worker"; - owners: [string]; - }) | ({ - origin: string; - realm: string; - } & { - type: "shared-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "service-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "paint-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "audio-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worklet"; - }))[]; - } & { - message: string; - ready: boolean; - }) | ({ - realms: (({ - origin: string; - realm: string; - } & { - type: "window"; - context: string; - sandbox?: string | undefined; - }) | ({ - origin: string; - realm: string; - } & { - type: "dedicated-worker"; - owners: [string]; - }) | ({ - origin: string; - realm: string; - } & { - type: "shared-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "service-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "paint-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "audio-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worklet"; - }))[]; - } & { - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | ({ - realms: (({ - origin: string; - realm: string; - } & { - type: "window"; - context: string; - sandbox?: string | undefined; - }) | ({ - origin: string; - realm: string; - } & { - type: "dedicated-worker"; - owners: [string]; - }) | ({ - origin: string; - realm: string; - } & { - type: "shared-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "service-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "paint-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "audio-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worklet"; - }))[]; - } & { - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | ({ - realms: (({ - origin: string; - realm: string; - } & { - type: "window"; - context: string; - sandbox?: string | undefined; - }) | ({ - origin: string; - realm: string; - } & { - type: "dedicated-worker"; - owners: [string]; - }) | ({ - origin: string; - realm: string; - } & { - type: "shared-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "service-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "paint-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "audio-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worklet"; - }))[]; - } & { - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | ({ - capabilities: { - acceptInsecureCerts: boolean; - browserName: string; - browserVersion: string; - platformName: string; - setWindowRect: boolean; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: string | undefined; - } & Record; - sessionId: string; - } & Record) | ({ - capabilities: { - acceptInsecureCerts: boolean; - browserName: string; - browserVersion: string; - platformName: string; - setWindowRect: boolean; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: string | undefined; - } & Record; - sessionId: string; - } & { - data: string; - }) | ({ - capabilities: { - acceptInsecureCerts: boolean; - browserName: string; - browserVersion: string; - platformName: string; - setWindowRect: boolean; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: string | undefined; - } & Record; - sessionId: string; - } & { - context: string; - }) | ({ - capabilities: { - acceptInsecureCerts: boolean; - browserName: string; - browserVersion: string; - platformName: string; - setWindowRect: boolean; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: string | undefined; - } & Record; - sessionId: string; - } & { - contexts?: any; - }) | ({ - capabilities: { - acceptInsecureCerts: boolean; - browserName: string; - browserVersion: string; - platformName: string; - setWindowRect: boolean; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: string | undefined; - } & Record; - sessionId: string; - } & { - nodes: any[]; - }) | ({ - capabilities: { - acceptInsecureCerts: boolean; - browserName: string; - browserVersion: string; - platformName: string; - setWindowRect: boolean; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: string | undefined; - } & Record; - sessionId: string; - } & { - url: string; - navigation: string | null; - }) | ({ - capabilities: { - acceptInsecureCerts: boolean; - browserName: string; - browserVersion: string; - platformName: string; - setWindowRect: boolean; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: string | undefined; - } & Record; - sessionId: string; - } & { - data: string; - }) | ({ - capabilities: { - acceptInsecureCerts: boolean; - browserName: string; - browserVersion: string; - platformName: string; - setWindowRect: boolean; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: string | undefined; - } & Record; - sessionId: string; - } & {}) | ({ - capabilities: { - acceptInsecureCerts: boolean; - browserName: string; - browserVersion: string; - platformName: string; - setWindowRect: boolean; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: string | undefined; - } & Record; - sessionId: string; - } & { - intercept: string; - }) | ({ - capabilities: { - acceptInsecureCerts: boolean; - browserName: string; - browserVersion: string; - platformName: string; - setWindowRect: boolean; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: string | undefined; - } & Record; - sessionId: string; - } & { - script: string; - }) | ({ - capabilities: { - acceptInsecureCerts: boolean; - browserName: string; - browserVersion: string; - platformName: string; - setWindowRect: boolean; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: string | undefined; - } & Record; - sessionId: string; - } & { - type: "success"; - realm: string; - result?: any; - }) | ({ - capabilities: { - acceptInsecureCerts: boolean; - browserName: string; - browserVersion: string; - platformName: string; - setWindowRect: boolean; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: string | undefined; - } & Record; - sessionId: string; - } & { - type: "exception"; - realm: string; - exceptionDetails: { - columnNumber: number; - lineNumber: number; - text: string; - stackTrace: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }; - exception?: any; - }; - }) | ({ - capabilities: { - acceptInsecureCerts: boolean; - browserName: string; - browserVersion: string; - platformName: string; - setWindowRect: boolean; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: string | undefined; - } & Record; - sessionId: string; - } & { - realms: (({ - origin: string; - realm: string; - } & { - type: "window"; - context: string; - sandbox?: string | undefined; - }) | ({ - origin: string; - realm: string; - } & { - type: "dedicated-worker"; - owners: [string]; - }) | ({ - origin: string; - realm: string; - } & { - type: "shared-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "service-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "paint-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "audio-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worklet"; - }))[]; - }) | ({ - capabilities: { - acceptInsecureCerts: boolean; - browserName: string; - browserVersion: string; - platformName: string; - setWindowRect: boolean; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: string | undefined; - } & Record; - sessionId: string; - } & { - message: string; - ready: boolean; - }) | ({ - capabilities: { - acceptInsecureCerts: boolean; - browserName: string; - browserVersion: string; - platformName: string; - setWindowRect: boolean; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: string | undefined; - } & Record; - sessionId: string; - } & { - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | ({ - capabilities: { - acceptInsecureCerts: boolean; - browserName: string; - browserVersion: string; - platformName: string; - setWindowRect: boolean; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: string | undefined; - } & Record; - sessionId: string; - } & { - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | ({ - capabilities: { - acceptInsecureCerts: boolean; - browserName: string; - browserVersion: string; - platformName: string; - setWindowRect: boolean; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: string | undefined; - } & Record; - sessionId: string; - } & { - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | ({ - message: string; - ready: boolean; - } & Record) | ({ - message: string; - ready: boolean; - } & { - data: string; - }) | ({ - message: string; - ready: boolean; - } & { - context: string; - }) | ({ - message: string; - ready: boolean; - } & { - contexts?: any; - }) | ({ - message: string; - ready: boolean; - } & { - nodes: any[]; - }) | ({ - message: string; - ready: boolean; - } & { - url: string; - navigation: string | null; - }) | ({ - message: string; - ready: boolean; - } & { - data: string; - }) | ({ - message: string; - ready: boolean; - } & {}) | ({ - message: string; - ready: boolean; - } & { - intercept: string; - }) | ({ - message: string; - ready: boolean; - } & { - script: string; - }) | ({ - message: string; - ready: boolean; - } & { - type: "success"; - realm: string; - result?: any; - }) | ({ - message: string; - ready: boolean; - } & { - type: "exception"; - realm: string; - exceptionDetails: { - columnNumber: number; - lineNumber: number; - text: string; - stackTrace: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }; - exception?: any; - }; - }) | ({ - message: string; - ready: boolean; - } & { - realms: (({ - origin: string; - realm: string; - } & { - type: "window"; - context: string; - sandbox?: string | undefined; - }) | ({ - origin: string; - realm: string; - } & { - type: "dedicated-worker"; - owners: [string]; - }) | ({ - origin: string; - realm: string; - } & { - type: "shared-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "service-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "paint-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "audio-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worklet"; - }))[]; - }) | ({ - message: string; - ready: boolean; - } & { - capabilities: { - acceptInsecureCerts: boolean; - browserName: string; - browserVersion: string; - platformName: string; - setWindowRect: boolean; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: string | undefined; - } & Record; - sessionId: string; - }) | ({ - message: string; - ready: boolean; - } & { - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | ({ - message: string; - ready: boolean; - } & { - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | ({ - message: string; - ready: boolean; - } & { - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | ({ - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & Record) | ({ - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & { - data: string; - }) | ({ - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & { - context: string; - }) | ({ - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & { - contexts?: any; - }) | ({ - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & { - nodes: any[]; - }) | ({ - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & { - url: string; - navigation: string | null; - }) | ({ - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & { - data: string; - }) | ({ - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & {}) | ({ - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & { - intercept: string; - }) | ({ - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & { - script: string; - }) | ({ - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & { - type: "success"; - realm: string; - result?: any; - }) | ({ - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & { - type: "exception"; - realm: string; - exceptionDetails: { - columnNumber: number; - lineNumber: number; - text: string; - stackTrace: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }; - exception?: any; - }; - }) | ({ - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & { - realms: (({ - origin: string; - realm: string; - } & { - type: "window"; - context: string; - sandbox?: string | undefined; - }) | ({ - origin: string; - realm: string; - } & { - type: "dedicated-worker"; - owners: [string]; - }) | ({ - origin: string; - realm: string; - } & { - type: "shared-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "service-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "paint-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "audio-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worklet"; - }))[]; - }) | ({ - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & { - capabilities: { - acceptInsecureCerts: boolean; - browserName: string; - browserVersion: string; - platformName: string; - setWindowRect: boolean; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: string | undefined; - } & Record; - sessionId: string; - }) | ({ - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & { - message: string; - ready: boolean; - }) | ({ - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & { - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | ({ - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & { - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | ({ - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & Record) | ({ - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & { - data: string; - }) | ({ - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & { - context: string; - }) | ({ - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & { - contexts?: any; - }) | ({ - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & { - nodes: any[]; - }) | ({ - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & { - url: string; - navigation: string | null; - }) | ({ - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & { - data: string; - }) | ({ - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & {}) | ({ - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & { - intercept: string; - }) | ({ - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & { - script: string; - }) | ({ - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & { - type: "success"; - realm: string; - result?: any; - }) | ({ - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & { - type: "exception"; - realm: string; - exceptionDetails: { - columnNumber: number; - lineNumber: number; - text: string; - stackTrace: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }; - exception?: any; - }; - }) | ({ - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & { - realms: (({ - origin: string; - realm: string; - } & { - type: "window"; - context: string; - sandbox?: string | undefined; - }) | ({ - origin: string; - realm: string; - } & { - type: "dedicated-worker"; - owners: [string]; - }) | ({ - origin: string; - realm: string; - } & { - type: "shared-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "service-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "paint-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "audio-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worklet"; - }))[]; - }) | ({ - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & { - capabilities: { - acceptInsecureCerts: boolean; - browserName: string; - browserVersion: string; - platformName: string; - setWindowRect: boolean; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: string | undefined; - } & Record; - sessionId: string; - }) | ({ - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & { - message: string; - ready: boolean; - }) | ({ - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & { - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | ({ - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & { - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | ({ - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & Record) | ({ - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & { - data: string; - }) | ({ - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & { - context: string; - }) | ({ - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & { - contexts?: any; - }) | ({ - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & { - nodes: any[]; - }) | ({ - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & { - url: string; - navigation: string | null; - }) | ({ - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & { - data: string; - }) | ({ - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & {}) | ({ - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & { - intercept: string; - }) | ({ - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & { - script: string; - }) | ({ - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & { - type: "success"; - realm: string; - result?: any; - }) | ({ - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & { - type: "exception"; - realm: string; - exceptionDetails: { - columnNumber: number; - lineNumber: number; - text: string; - stackTrace: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }; - exception?: any; - }; - }) | ({ - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & { - realms: (({ - origin: string; - realm: string; - } & { - type: "window"; - context: string; - sandbox?: string | undefined; - }) | ({ - origin: string; - realm: string; - } & { - type: "dedicated-worker"; - owners: [string]; - }) | ({ - origin: string; - realm: string; - } & { - type: "shared-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "service-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "paint-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "audio-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worklet"; - }))[]; - }) | ({ - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & { - capabilities: { - acceptInsecureCerts: boolean; - browserName: string; - browserVersion: string; - platformName: string; - setWindowRect: boolean; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: string | undefined; - } & Record; - sessionId: string; - }) | ({ - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & { - message: string; - ready: boolean; - }) | ({ - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & { - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | ({ - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & { - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }); -}, { - type: "success"; - id: number; - result: Record | { - data: string; - } | { - context: string; - } | { - contexts?: any; - } | { - nodes: any[]; - } | { - url: string; - navigation: string | null; - } | { - data: string; - } | {} | { - intercept: string; - } | { - script: string; - } | { - type: "success"; - realm: string; - result?: any; - } | { - type: "exception"; - realm: string; - exceptionDetails: { - columnNumber: number; - lineNumber: number; - text: string; - stackTrace: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }; - exception?: any; - }; - } | { - realms: (({ - origin: string; - realm: string; - } & { - type: "window"; - context: string; - sandbox?: string | undefined; - }) | ({ - origin: string; - realm: string; - } & { - type: "dedicated-worker"; - owners: [string]; - }) | ({ - origin: string; - realm: string; - } & { - type: "shared-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "service-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "paint-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "audio-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worklet"; - }))[]; - } | { - capabilities: { - acceptInsecureCerts: boolean; - browserName: string; - browserVersion: string; - platformName: string; - setWindowRect: boolean; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: string | undefined; - } & Record; - sessionId: string; - } | { - message: string; - ready: boolean; - } | { - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } | { - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } | { - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } | (Record & { - data: string; - }) | (Record & { - context: string; - }) | (Record & { - contexts?: any; - }) | (Record & { - nodes: any[]; - }) | (Record & { - url: string; - navigation: string | null; - }) | (Record & { - data: string; - }) | (Record & {}) | (Record & { - intercept: string; - }) | (Record & { - script: string; - }) | (Record & { - type: "success"; - realm: string; - result?: any; - }) | (Record & { - type: "exception"; - realm: string; - exceptionDetails: { - columnNumber: number; - lineNumber: number; - text: string; - stackTrace: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }; - exception?: any; - }; - }) | (Record & { - realms: (({ - origin: string; - realm: string; - } & { - type: "window"; - context: string; - sandbox?: string | undefined; - }) | ({ - origin: string; - realm: string; - } & { - type: "dedicated-worker"; - owners: [string]; - }) | ({ - origin: string; - realm: string; - } & { - type: "shared-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "service-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "paint-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "audio-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worklet"; - }))[]; - }) | (Record & { - capabilities: { - acceptInsecureCerts: boolean; - browserName: string; - browserVersion: string; - platformName: string; - setWindowRect: boolean; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: string | undefined; - } & Record; - sessionId: string; - }) | (Record & { - message: string; - ready: boolean; - }) | (Record & { - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | (Record & { - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | (Record & { - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | ({ - data: string; - } & Record) | ({ - data: string; - } & { - context: string; - }) | ({ - data: string; - } & { - contexts?: any; - }) | ({ - data: string; - } & { - nodes: any[]; - }) | ({ - data: string; - } & { - url: string; - navigation: string | null; - }) | ({ - data: string; - } & { - data: string; - }) | ({ - data: string; - } & {}) | ({ - data: string; - } & { - intercept: string; - }) | ({ - data: string; - } & { - script: string; - }) | ({ - data: string; - } & { - type: "success"; - realm: string; - result?: any; - }) | ({ - data: string; - } & { - type: "exception"; - realm: string; - exceptionDetails: { - columnNumber: number; - lineNumber: number; - text: string; - stackTrace: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }; - exception?: any; - }; - }) | ({ - data: string; - } & { - realms: (({ - origin: string; - realm: string; - } & { - type: "window"; - context: string; - sandbox?: string | undefined; - }) | ({ - origin: string; - realm: string; - } & { - type: "dedicated-worker"; - owners: [string]; - }) | ({ - origin: string; - realm: string; - } & { - type: "shared-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "service-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "paint-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "audio-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worklet"; - }))[]; - }) | ({ - data: string; - } & { - capabilities: { - acceptInsecureCerts: boolean; - browserName: string; - browserVersion: string; - platformName: string; - setWindowRect: boolean; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: string | undefined; - } & Record; - sessionId: string; - }) | ({ - data: string; - } & { - message: string; - ready: boolean; - }) | ({ - data: string; - } & { - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | ({ - data: string; - } & { - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | ({ - data: string; - } & { - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | ({ - context: string; - } & Record) | ({ - context: string; - } & { - data: string; - }) | ({ - context: string; - } & { - contexts?: any; - }) | ({ - context: string; - } & { - nodes: any[]; - }) | ({ - context: string; - } & { - url: string; - navigation: string | null; - }) | ({ - context: string; - } & { - data: string; - }) | ({ - context: string; - } & {}) | ({ - context: string; - } & { - intercept: string; - }) | ({ - context: string; - } & { - script: string; - }) | ({ - context: string; - } & { - type: "success"; - realm: string; - result?: any; - }) | ({ - context: string; - } & { - type: "exception"; - realm: string; - exceptionDetails: { - columnNumber: number; - lineNumber: number; - text: string; - stackTrace: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }; - exception?: any; - }; - }) | ({ - context: string; - } & { - realms: (({ - origin: string; - realm: string; - } & { - type: "window"; - context: string; - sandbox?: string | undefined; - }) | ({ - origin: string; - realm: string; - } & { - type: "dedicated-worker"; - owners: [string]; - }) | ({ - origin: string; - realm: string; - } & { - type: "shared-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "service-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "paint-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "audio-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worklet"; - }))[]; - }) | ({ - context: string; - } & { - capabilities: { - acceptInsecureCerts: boolean; - browserName: string; - browserVersion: string; - platformName: string; - setWindowRect: boolean; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: string | undefined; - } & Record; - sessionId: string; - }) | ({ - context: string; - } & { - message: string; - ready: boolean; - }) | ({ - context: string; - } & { - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | ({ - context: string; - } & { - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | ({ - context: string; - } & { - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | ({ - contexts?: any; - } & Record) | ({ - contexts?: any; - } & { - data: string; - }) | ({ - contexts?: any; - } & { - context: string; - }) | ({ - contexts?: any; - } & { - nodes: any[]; - }) | ({ - contexts?: any; - } & { - url: string; - navigation: string | null; - }) | ({ - contexts?: any; - } & { - data: string; - }) | ({ - contexts?: any; - } & {}) | ({ - contexts?: any; - } & { - intercept: string; - }) | ({ - contexts?: any; - } & { - script: string; - }) | ({ - contexts?: any; - } & { - type: "success"; - realm: string; - result?: any; - }) | ({ - contexts?: any; - } & { - type: "exception"; - realm: string; - exceptionDetails: { - columnNumber: number; - lineNumber: number; - text: string; - stackTrace: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }; - exception?: any; - }; - }) | ({ - contexts?: any; - } & { - realms: (({ - origin: string; - realm: string; - } & { - type: "window"; - context: string; - sandbox?: string | undefined; - }) | ({ - origin: string; - realm: string; - } & { - type: "dedicated-worker"; - owners: [string]; - }) | ({ - origin: string; - realm: string; - } & { - type: "shared-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "service-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "paint-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "audio-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worklet"; - }))[]; - }) | ({ - contexts?: any; - } & { - capabilities: { - acceptInsecureCerts: boolean; - browserName: string; - browserVersion: string; - platformName: string; - setWindowRect: boolean; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: string | undefined; - } & Record; - sessionId: string; - }) | ({ - contexts?: any; - } & { - message: string; - ready: boolean; - }) | ({ - contexts?: any; - } & { - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | ({ - contexts?: any; - } & { - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | ({ - contexts?: any; - } & { - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | ({ - nodes: any[]; - } & Record) | ({ - nodes: any[]; - } & { - data: string; - }) | ({ - nodes: any[]; - } & { - context: string; - }) | ({ - nodes: any[]; - } & { - contexts?: any; - }) | ({ - nodes: any[]; - } & { - url: string; - navigation: string | null; - }) | ({ - nodes: any[]; - } & { - data: string; - }) | ({ - nodes: any[]; - } & {}) | ({ - nodes: any[]; - } & { - intercept: string; - }) | ({ - nodes: any[]; - } & { - script: string; - }) | ({ - nodes: any[]; - } & { - type: "success"; - realm: string; - result?: any; - }) | ({ - nodes: any[]; - } & { - type: "exception"; - realm: string; - exceptionDetails: { - columnNumber: number; - lineNumber: number; - text: string; - stackTrace: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }; - exception?: any; - }; - }) | ({ - nodes: any[]; - } & { - realms: (({ - origin: string; - realm: string; - } & { - type: "window"; - context: string; - sandbox?: string | undefined; - }) | ({ - origin: string; - realm: string; - } & { - type: "dedicated-worker"; - owners: [string]; - }) | ({ - origin: string; - realm: string; - } & { - type: "shared-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "service-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "paint-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "audio-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worklet"; - }))[]; - }) | ({ - nodes: any[]; - } & { - capabilities: { - acceptInsecureCerts: boolean; - browserName: string; - browserVersion: string; - platformName: string; - setWindowRect: boolean; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: string | undefined; - } & Record; - sessionId: string; - }) | ({ - nodes: any[]; - } & { - message: string; - ready: boolean; - }) | ({ - nodes: any[]; - } & { - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | ({ - nodes: any[]; - } & { - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | ({ - nodes: any[]; - } & { - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | ({ - url: string; - navigation: string | null; - } & Record) | ({ - url: string; - navigation: string | null; - } & { - data: string; - }) | ({ - url: string; - navigation: string | null; - } & { - context: string; - }) | ({ - url: string; - navigation: string | null; - } & { - contexts?: any; - }) | ({ - url: string; - navigation: string | null; - } & { - nodes: any[]; - }) | ({ - url: string; - navigation: string | null; - } & { - data: string; - }) | ({ - url: string; - navigation: string | null; - } & {}) | ({ - url: string; - navigation: string | null; - } & { - intercept: string; - }) | ({ - url: string; - navigation: string | null; - } & { - script: string; - }) | ({ - url: string; - navigation: string | null; - } & { - type: "success"; - realm: string; - result?: any; - }) | ({ - url: string; - navigation: string | null; - } & { - type: "exception"; - realm: string; - exceptionDetails: { - columnNumber: number; - lineNumber: number; - text: string; - stackTrace: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }; - exception?: any; - }; - }) | ({ - url: string; - navigation: string | null; - } & { - realms: (({ - origin: string; - realm: string; - } & { - type: "window"; - context: string; - sandbox?: string | undefined; - }) | ({ - origin: string; - realm: string; - } & { - type: "dedicated-worker"; - owners: [string]; - }) | ({ - origin: string; - realm: string; - } & { - type: "shared-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "service-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "paint-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "audio-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worklet"; - }))[]; - }) | ({ - url: string; - navigation: string | null; - } & { - capabilities: { - acceptInsecureCerts: boolean; - browserName: string; - browserVersion: string; - platformName: string; - setWindowRect: boolean; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: string | undefined; - } & Record; - sessionId: string; - }) | ({ - url: string; - navigation: string | null; - } & { - message: string; - ready: boolean; - }) | ({ - url: string; - navigation: string | null; - } & { - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | ({ - url: string; - navigation: string | null; - } & { - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | ({ - url: string; - navigation: string | null; - } & { - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | ({ - data: string; - } & Record) | ({ - data: string; - } & { - data: string; - }) | ({ - data: string; - } & { - context: string; - }) | ({ - data: string; - } & { - contexts?: any; - }) | ({ - data: string; - } & { - nodes: any[]; - }) | ({ - data: string; - } & { - url: string; - navigation: string | null; - }) | ({ - data: string; - } & {}) | ({ - data: string; - } & { - intercept: string; - }) | ({ - data: string; - } & { - script: string; - }) | ({ - data: string; - } & { - type: "success"; - realm: string; - result?: any; - }) | ({ - data: string; - } & { - type: "exception"; - realm: string; - exceptionDetails: { - columnNumber: number; - lineNumber: number; - text: string; - stackTrace: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }; - exception?: any; - }; - }) | ({ - data: string; - } & { - realms: (({ - origin: string; - realm: string; - } & { - type: "window"; - context: string; - sandbox?: string | undefined; - }) | ({ - origin: string; - realm: string; - } & { - type: "dedicated-worker"; - owners: [string]; - }) | ({ - origin: string; - realm: string; - } & { - type: "shared-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "service-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "paint-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "audio-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worklet"; - }))[]; - }) | ({ - data: string; - } & { - capabilities: { - acceptInsecureCerts: boolean; - browserName: string; - browserVersion: string; - platformName: string; - setWindowRect: boolean; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: string | undefined; - } & Record; - sessionId: string; - }) | ({ - data: string; - } & { - message: string; - ready: boolean; - }) | ({ - data: string; - } & { - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | ({ - data: string; - } & { - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | ({ - data: string; - } & { - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | ({} & Record) | ({} & { - data: string; - }) | ({} & { - context: string; - }) | ({} & { - contexts?: any; - }) | ({} & { - nodes: any[]; - }) | ({} & { - url: string; - navigation: string | null; - }) | ({} & { - data: string; - }) | ({} & { - intercept: string; - }) | ({} & { - script: string; - }) | ({} & { - type: "success"; - realm: string; - result?: any; - }) | ({} & { - type: "exception"; - realm: string; - exceptionDetails: { - columnNumber: number; - lineNumber: number; - text: string; - stackTrace: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }; - exception?: any; - }; - }) | ({} & { - realms: (({ - origin: string; - realm: string; - } & { - type: "window"; - context: string; - sandbox?: string | undefined; - }) | ({ - origin: string; - realm: string; - } & { - type: "dedicated-worker"; - owners: [string]; - }) | ({ - origin: string; - realm: string; - } & { - type: "shared-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "service-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "paint-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "audio-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worklet"; - }))[]; - }) | ({} & { - capabilities: { - acceptInsecureCerts: boolean; - browserName: string; - browserVersion: string; - platformName: string; - setWindowRect: boolean; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: string | undefined; - } & Record; - sessionId: string; - }) | ({} & { - message: string; - ready: boolean; - }) | ({} & { - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | ({} & { - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | ({} & { - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | ({ - intercept: string; - } & Record) | ({ - intercept: string; - } & { - data: string; - }) | ({ - intercept: string; - } & { - context: string; - }) | ({ - intercept: string; - } & { - contexts?: any; - }) | ({ - intercept: string; - } & { - nodes: any[]; - }) | ({ - intercept: string; - } & { - url: string; - navigation: string | null; - }) | ({ - intercept: string; - } & { - data: string; - }) | ({ - intercept: string; - } & {}) | ({ - intercept: string; - } & { - script: string; - }) | ({ - intercept: string; - } & { - type: "success"; - realm: string; - result?: any; - }) | ({ - intercept: string; - } & { - type: "exception"; - realm: string; - exceptionDetails: { - columnNumber: number; - lineNumber: number; - text: string; - stackTrace: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }; - exception?: any; - }; - }) | ({ - intercept: string; - } & { - realms: (({ - origin: string; - realm: string; - } & { - type: "window"; - context: string; - sandbox?: string | undefined; - }) | ({ - origin: string; - realm: string; - } & { - type: "dedicated-worker"; - owners: [string]; - }) | ({ - origin: string; - realm: string; - } & { - type: "shared-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "service-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "paint-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "audio-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worklet"; - }))[]; - }) | ({ - intercept: string; - } & { - capabilities: { - acceptInsecureCerts: boolean; - browserName: string; - browserVersion: string; - platformName: string; - setWindowRect: boolean; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: string | undefined; - } & Record; - sessionId: string; - }) | ({ - intercept: string; - } & { - message: string; - ready: boolean; - }) | ({ - intercept: string; - } & { - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | ({ - intercept: string; - } & { - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | ({ - intercept: string; - } & { - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | ({ - script: string; - } & Record) | ({ - script: string; - } & { - data: string; - }) | ({ - script: string; - } & { - context: string; - }) | ({ - script: string; - } & { - contexts?: any; - }) | ({ - script: string; - } & { - nodes: any[]; - }) | ({ - script: string; - } & { - url: string; - navigation: string | null; - }) | ({ - script: string; - } & { - data: string; - }) | ({ - script: string; - } & {}) | ({ - script: string; - } & { - intercept: string; - }) | ({ - script: string; - } & { - type: "success"; - realm: string; - result?: any; - }) | ({ - script: string; - } & { - type: "exception"; - realm: string; - exceptionDetails: { - columnNumber: number; - lineNumber: number; - text: string; - stackTrace: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }; - exception?: any; - }; - }) | ({ - script: string; - } & { - realms: (({ - origin: string; - realm: string; - } & { - type: "window"; - context: string; - sandbox?: string | undefined; - }) | ({ - origin: string; - realm: string; - } & { - type: "dedicated-worker"; - owners: [string]; - }) | ({ - origin: string; - realm: string; - } & { - type: "shared-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "service-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "paint-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "audio-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worklet"; - }))[]; - }) | ({ - script: string; - } & { - capabilities: { - acceptInsecureCerts: boolean; - browserName: string; - browserVersion: string; - platformName: string; - setWindowRect: boolean; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: string | undefined; - } & Record; - sessionId: string; - }) | ({ - script: string; - } & { - message: string; - ready: boolean; - }) | ({ - script: string; - } & { - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | ({ - script: string; - } & { - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | ({ - script: string; - } & { - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | ({ - type: "success"; - realm: string; - result?: any; - } & Record) | ({ - type: "success"; - realm: string; - result?: any; - } & { - data: string; - }) | ({ - type: "success"; - realm: string; - result?: any; - } & { - context: string; - }) | ({ - type: "success"; - realm: string; - result?: any; - } & { - contexts?: any; - }) | ({ - type: "success"; - realm: string; - result?: any; - } & { - nodes: any[]; - }) | ({ - type: "success"; - realm: string; - result?: any; - } & { - url: string; - navigation: string | null; - }) | ({ - type: "success"; - realm: string; - result?: any; - } & { - data: string; - }) | ({ - type: "success"; - realm: string; - result?: any; - } & {}) | ({ - type: "success"; - realm: string; - result?: any; - } & { - intercept: string; - }) | ({ - type: "success"; - realm: string; - result?: any; - } & { - script: string; - }) | ({ - type: "success"; - realm: string; - result?: any; - } & { - realms: (({ - origin: string; - realm: string; - } & { - type: "window"; - context: string; - sandbox?: string | undefined; - }) | ({ - origin: string; - realm: string; - } & { - type: "dedicated-worker"; - owners: [string]; - }) | ({ - origin: string; - realm: string; - } & { - type: "shared-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "service-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "paint-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "audio-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worklet"; - }))[]; - }) | ({ - type: "success"; - realm: string; - result?: any; - } & { - capabilities: { - acceptInsecureCerts: boolean; - browserName: string; - browserVersion: string; - platformName: string; - setWindowRect: boolean; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: string | undefined; - } & Record; - sessionId: string; - }) | ({ - type: "success"; - realm: string; - result?: any; - } & { - message: string; - ready: boolean; - }) | ({ - type: "success"; - realm: string; - result?: any; - } & { - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | ({ - type: "success"; - realm: string; - result?: any; - } & { - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | ({ - type: "success"; - realm: string; - result?: any; - } & { - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | ({ - type: "exception"; - realm: string; - exceptionDetails: { - columnNumber: number; - lineNumber: number; - text: string; - stackTrace: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }; - exception?: any; - }; - } & Record) | ({ - type: "exception"; - realm: string; - exceptionDetails: { - columnNumber: number; - lineNumber: number; - text: string; - stackTrace: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }; - exception?: any; - }; - } & { - data: string; - }) | ({ - type: "exception"; - realm: string; - exceptionDetails: { - columnNumber: number; - lineNumber: number; - text: string; - stackTrace: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }; - exception?: any; - }; - } & { - context: string; - }) | ({ - type: "exception"; - realm: string; - exceptionDetails: { - columnNumber: number; - lineNumber: number; - text: string; - stackTrace: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }; - exception?: any; - }; - } & { - contexts?: any; - }) | ({ - type: "exception"; - realm: string; - exceptionDetails: { - columnNumber: number; - lineNumber: number; - text: string; - stackTrace: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }; - exception?: any; - }; - } & { - nodes: any[]; - }) | ({ - type: "exception"; - realm: string; - exceptionDetails: { - columnNumber: number; - lineNumber: number; - text: string; - stackTrace: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }; - exception?: any; - }; - } & { - url: string; - navigation: string | null; - }) | ({ - type: "exception"; - realm: string; - exceptionDetails: { - columnNumber: number; - lineNumber: number; - text: string; - stackTrace: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }; - exception?: any; - }; - } & { - data: string; - }) | ({ - type: "exception"; - realm: string; - exceptionDetails: { - columnNumber: number; - lineNumber: number; - text: string; - stackTrace: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }; - exception?: any; - }; - } & {}) | ({ - type: "exception"; - realm: string; - exceptionDetails: { - columnNumber: number; - lineNumber: number; - text: string; - stackTrace: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }; - exception?: any; - }; - } & { - intercept: string; - }) | ({ - type: "exception"; - realm: string; - exceptionDetails: { - columnNumber: number; - lineNumber: number; - text: string; - stackTrace: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }; - exception?: any; - }; - } & { - script: string; - }) | ({ - type: "exception"; - realm: string; - exceptionDetails: { - columnNumber: number; - lineNumber: number; - text: string; - stackTrace: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }; - exception?: any; - }; - } & { - realms: (({ - origin: string; - realm: string; - } & { - type: "window"; - context: string; - sandbox?: string | undefined; - }) | ({ - origin: string; - realm: string; - } & { - type: "dedicated-worker"; - owners: [string]; - }) | ({ - origin: string; - realm: string; - } & { - type: "shared-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "service-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "paint-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "audio-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worklet"; - }))[]; - }) | ({ - type: "exception"; - realm: string; - exceptionDetails: { - columnNumber: number; - lineNumber: number; - text: string; - stackTrace: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }; - exception?: any; - }; - } & { - capabilities: { - acceptInsecureCerts: boolean; - browserName: string; - browserVersion: string; - platformName: string; - setWindowRect: boolean; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: string | undefined; - } & Record; - sessionId: string; - }) | ({ - type: "exception"; - realm: string; - exceptionDetails: { - columnNumber: number; - lineNumber: number; - text: string; - stackTrace: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }; - exception?: any; - }; - } & { - message: string; - ready: boolean; - }) | ({ - type: "exception"; - realm: string; - exceptionDetails: { - columnNumber: number; - lineNumber: number; - text: string; - stackTrace: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }; - exception?: any; - }; - } & { - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | ({ - type: "exception"; - realm: string; - exceptionDetails: { - columnNumber: number; - lineNumber: number; - text: string; - stackTrace: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }; - exception?: any; - }; - } & { - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | ({ - type: "exception"; - realm: string; - exceptionDetails: { - columnNumber: number; - lineNumber: number; - text: string; - stackTrace: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }; - exception?: any; - }; - } & { - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | ({ - realms: (({ - origin: string; - realm: string; - } & { - type: "window"; - context: string; - sandbox?: string | undefined; - }) | ({ - origin: string; - realm: string; - } & { - type: "dedicated-worker"; - owners: [string]; - }) | ({ - origin: string; - realm: string; - } & { - type: "shared-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "service-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "paint-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "audio-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worklet"; - }))[]; - } & Record) | ({ - realms: (({ - origin: string; - realm: string; - } & { - type: "window"; - context: string; - sandbox?: string | undefined; - }) | ({ - origin: string; - realm: string; - } & { - type: "dedicated-worker"; - owners: [string]; - }) | ({ - origin: string; - realm: string; - } & { - type: "shared-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "service-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "paint-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "audio-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worklet"; - }))[]; - } & { - data: string; - }) | ({ - realms: (({ - origin: string; - realm: string; - } & { - type: "window"; - context: string; - sandbox?: string | undefined; - }) | ({ - origin: string; - realm: string; - } & { - type: "dedicated-worker"; - owners: [string]; - }) | ({ - origin: string; - realm: string; - } & { - type: "shared-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "service-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "paint-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "audio-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worklet"; - }))[]; - } & { - context: string; - }) | ({ - realms: (({ - origin: string; - realm: string; - } & { - type: "window"; - context: string; - sandbox?: string | undefined; - }) | ({ - origin: string; - realm: string; - } & { - type: "dedicated-worker"; - owners: [string]; - }) | ({ - origin: string; - realm: string; - } & { - type: "shared-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "service-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "paint-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "audio-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worklet"; - }))[]; - } & { - contexts?: any; - }) | ({ - realms: (({ - origin: string; - realm: string; - } & { - type: "window"; - context: string; - sandbox?: string | undefined; - }) | ({ - origin: string; - realm: string; - } & { - type: "dedicated-worker"; - owners: [string]; - }) | ({ - origin: string; - realm: string; - } & { - type: "shared-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "service-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "paint-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "audio-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worklet"; - }))[]; - } & { - nodes: any[]; - }) | ({ - realms: (({ - origin: string; - realm: string; - } & { - type: "window"; - context: string; - sandbox?: string | undefined; - }) | ({ - origin: string; - realm: string; - } & { - type: "dedicated-worker"; - owners: [string]; - }) | ({ - origin: string; - realm: string; - } & { - type: "shared-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "service-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "paint-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "audio-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worklet"; - }))[]; - } & { - url: string; - navigation: string | null; - }) | ({ - realms: (({ - origin: string; - realm: string; - } & { - type: "window"; - context: string; - sandbox?: string | undefined; - }) | ({ - origin: string; - realm: string; - } & { - type: "dedicated-worker"; - owners: [string]; - }) | ({ - origin: string; - realm: string; - } & { - type: "shared-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "service-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "paint-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "audio-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worklet"; - }))[]; - } & { - data: string; - }) | ({ - realms: (({ - origin: string; - realm: string; - } & { - type: "window"; - context: string; - sandbox?: string | undefined; - }) | ({ - origin: string; - realm: string; - } & { - type: "dedicated-worker"; - owners: [string]; - }) | ({ - origin: string; - realm: string; - } & { - type: "shared-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "service-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "paint-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "audio-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worklet"; - }))[]; - } & {}) | ({ - realms: (({ - origin: string; - realm: string; - } & { - type: "window"; - context: string; - sandbox?: string | undefined; - }) | ({ - origin: string; - realm: string; - } & { - type: "dedicated-worker"; - owners: [string]; - }) | ({ - origin: string; - realm: string; - } & { - type: "shared-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "service-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "paint-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "audio-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worklet"; - }))[]; - } & { - intercept: string; - }) | ({ - realms: (({ - origin: string; - realm: string; - } & { - type: "window"; - context: string; - sandbox?: string | undefined; - }) | ({ - origin: string; - realm: string; - } & { - type: "dedicated-worker"; - owners: [string]; - }) | ({ - origin: string; - realm: string; - } & { - type: "shared-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "service-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "paint-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "audio-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worklet"; - }))[]; - } & { - script: string; - }) | ({ - realms: (({ - origin: string; - realm: string; - } & { - type: "window"; - context: string; - sandbox?: string | undefined; - }) | ({ - origin: string; - realm: string; - } & { - type: "dedicated-worker"; - owners: [string]; - }) | ({ - origin: string; - realm: string; - } & { - type: "shared-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "service-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "paint-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "audio-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worklet"; - }))[]; - } & { - type: "success"; - realm: string; - result?: any; - }) | ({ - realms: (({ - origin: string; - realm: string; - } & { - type: "window"; - context: string; - sandbox?: string | undefined; - }) | ({ - origin: string; - realm: string; - } & { - type: "dedicated-worker"; - owners: [string]; - }) | ({ - origin: string; - realm: string; - } & { - type: "shared-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "service-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "paint-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "audio-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worklet"; - }))[]; - } & { - type: "exception"; - realm: string; - exceptionDetails: { - columnNumber: number; - lineNumber: number; - text: string; - stackTrace: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }; - exception?: any; - }; - }) | ({ - realms: (({ - origin: string; - realm: string; - } & { - type: "window"; - context: string; - sandbox?: string | undefined; - }) | ({ - origin: string; - realm: string; - } & { - type: "dedicated-worker"; - owners: [string]; - }) | ({ - origin: string; - realm: string; - } & { - type: "shared-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "service-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "paint-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "audio-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worklet"; - }))[]; - } & { - capabilities: { - acceptInsecureCerts: boolean; - browserName: string; - browserVersion: string; - platformName: string; - setWindowRect: boolean; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: string | undefined; - } & Record; - sessionId: string; - }) | ({ - realms: (({ - origin: string; - realm: string; - } & { - type: "window"; - context: string; - sandbox?: string | undefined; - }) | ({ - origin: string; - realm: string; - } & { - type: "dedicated-worker"; - owners: [string]; - }) | ({ - origin: string; - realm: string; - } & { - type: "shared-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "service-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "paint-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "audio-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worklet"; - }))[]; - } & { - message: string; - ready: boolean; - }) | ({ - realms: (({ - origin: string; - realm: string; - } & { - type: "window"; - context: string; - sandbox?: string | undefined; - }) | ({ - origin: string; - realm: string; - } & { - type: "dedicated-worker"; - owners: [string]; - }) | ({ - origin: string; - realm: string; - } & { - type: "shared-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "service-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "paint-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "audio-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worklet"; - }))[]; - } & { - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | ({ - realms: (({ - origin: string; - realm: string; - } & { - type: "window"; - context: string; - sandbox?: string | undefined; - }) | ({ - origin: string; - realm: string; - } & { - type: "dedicated-worker"; - owners: [string]; - }) | ({ - origin: string; - realm: string; - } & { - type: "shared-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "service-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "paint-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "audio-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worklet"; - }))[]; - } & { - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | ({ - realms: (({ - origin: string; - realm: string; - } & { - type: "window"; - context: string; - sandbox?: string | undefined; - }) | ({ - origin: string; - realm: string; - } & { - type: "dedicated-worker"; - owners: [string]; - }) | ({ - origin: string; - realm: string; - } & { - type: "shared-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "service-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "paint-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "audio-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worklet"; - }))[]; - } & { - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | ({ - capabilities: { - acceptInsecureCerts: boolean; - browserName: string; - browserVersion: string; - platformName: string; - setWindowRect: boolean; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: string | undefined; - } & Record; - sessionId: string; - } & Record) | ({ - capabilities: { - acceptInsecureCerts: boolean; - browserName: string; - browserVersion: string; - platformName: string; - setWindowRect: boolean; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: string | undefined; - } & Record; - sessionId: string; - } & { - data: string; - }) | ({ - capabilities: { - acceptInsecureCerts: boolean; - browserName: string; - browserVersion: string; - platformName: string; - setWindowRect: boolean; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: string | undefined; - } & Record; - sessionId: string; - } & { - context: string; - }) | ({ - capabilities: { - acceptInsecureCerts: boolean; - browserName: string; - browserVersion: string; - platformName: string; - setWindowRect: boolean; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: string | undefined; - } & Record; - sessionId: string; - } & { - contexts?: any; - }) | ({ - capabilities: { - acceptInsecureCerts: boolean; - browserName: string; - browserVersion: string; - platformName: string; - setWindowRect: boolean; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: string | undefined; - } & Record; - sessionId: string; - } & { - nodes: any[]; - }) | ({ - capabilities: { - acceptInsecureCerts: boolean; - browserName: string; - browserVersion: string; - platformName: string; - setWindowRect: boolean; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: string | undefined; - } & Record; - sessionId: string; - } & { - url: string; - navigation: string | null; - }) | ({ - capabilities: { - acceptInsecureCerts: boolean; - browserName: string; - browserVersion: string; - platformName: string; - setWindowRect: boolean; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: string | undefined; - } & Record; - sessionId: string; - } & { - data: string; - }) | ({ - capabilities: { - acceptInsecureCerts: boolean; - browserName: string; - browserVersion: string; - platformName: string; - setWindowRect: boolean; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: string | undefined; - } & Record; - sessionId: string; - } & {}) | ({ - capabilities: { - acceptInsecureCerts: boolean; - browserName: string; - browserVersion: string; - platformName: string; - setWindowRect: boolean; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: string | undefined; - } & Record; - sessionId: string; - } & { - intercept: string; - }) | ({ - capabilities: { - acceptInsecureCerts: boolean; - browserName: string; - browserVersion: string; - platformName: string; - setWindowRect: boolean; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: string | undefined; - } & Record; - sessionId: string; - } & { - script: string; - }) | ({ - capabilities: { - acceptInsecureCerts: boolean; - browserName: string; - browserVersion: string; - platformName: string; - setWindowRect: boolean; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: string | undefined; - } & Record; - sessionId: string; - } & { - type: "success"; - realm: string; - result?: any; - }) | ({ - capabilities: { - acceptInsecureCerts: boolean; - browserName: string; - browserVersion: string; - platformName: string; - setWindowRect: boolean; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: string | undefined; - } & Record; - sessionId: string; - } & { - type: "exception"; - realm: string; - exceptionDetails: { - columnNumber: number; - lineNumber: number; - text: string; - stackTrace: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }; - exception?: any; - }; - }) | ({ - capabilities: { - acceptInsecureCerts: boolean; - browserName: string; - browserVersion: string; - platformName: string; - setWindowRect: boolean; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: string | undefined; - } & Record; - sessionId: string; - } & { - realms: (({ - origin: string; - realm: string; - } & { - type: "window"; - context: string; - sandbox?: string | undefined; - }) | ({ - origin: string; - realm: string; - } & { - type: "dedicated-worker"; - owners: [string]; - }) | ({ - origin: string; - realm: string; - } & { - type: "shared-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "service-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "paint-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "audio-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worklet"; - }))[]; - }) | ({ - capabilities: { - acceptInsecureCerts: boolean; - browserName: string; - browserVersion: string; - platformName: string; - setWindowRect: boolean; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: string | undefined; - } & Record; - sessionId: string; - } & { - message: string; - ready: boolean; - }) | ({ - capabilities: { - acceptInsecureCerts: boolean; - browserName: string; - browserVersion: string; - platformName: string; - setWindowRect: boolean; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: string | undefined; - } & Record; - sessionId: string; - } & { - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | ({ - capabilities: { - acceptInsecureCerts: boolean; - browserName: string; - browserVersion: string; - platformName: string; - setWindowRect: boolean; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: string | undefined; - } & Record; - sessionId: string; - } & { - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | ({ - capabilities: { - acceptInsecureCerts: boolean; - browserName: string; - browserVersion: string; - platformName: string; - setWindowRect: boolean; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: string | undefined; - } & Record; - sessionId: string; - } & { - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | ({ - message: string; - ready: boolean; - } & Record) | ({ - message: string; - ready: boolean; - } & { - data: string; - }) | ({ - message: string; - ready: boolean; - } & { - context: string; - }) | ({ - message: string; - ready: boolean; - } & { - contexts?: any; - }) | ({ - message: string; - ready: boolean; - } & { - nodes: any[]; - }) | ({ - message: string; - ready: boolean; - } & { - url: string; - navigation: string | null; - }) | ({ - message: string; - ready: boolean; - } & { - data: string; - }) | ({ - message: string; - ready: boolean; - } & {}) | ({ - message: string; - ready: boolean; - } & { - intercept: string; - }) | ({ - message: string; - ready: boolean; - } & { - script: string; - }) | ({ - message: string; - ready: boolean; - } & { - type: "success"; - realm: string; - result?: any; - }) | ({ - message: string; - ready: boolean; - } & { - type: "exception"; - realm: string; - exceptionDetails: { - columnNumber: number; - lineNumber: number; - text: string; - stackTrace: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }; - exception?: any; - }; - }) | ({ - message: string; - ready: boolean; - } & { - realms: (({ - origin: string; - realm: string; - } & { - type: "window"; - context: string; - sandbox?: string | undefined; - }) | ({ - origin: string; - realm: string; - } & { - type: "dedicated-worker"; - owners: [string]; - }) | ({ - origin: string; - realm: string; - } & { - type: "shared-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "service-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "paint-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "audio-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worklet"; - }))[]; - }) | ({ - message: string; - ready: boolean; - } & { - capabilities: { - acceptInsecureCerts: boolean; - browserName: string; - browserVersion: string; - platformName: string; - setWindowRect: boolean; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: string | undefined; - } & Record; - sessionId: string; - }) | ({ - message: string; - ready: boolean; - } & { - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | ({ - message: string; - ready: boolean; - } & { - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | ({ - message: string; - ready: boolean; - } & { - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | ({ - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & Record) | ({ - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & { - data: string; - }) | ({ - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & { - context: string; - }) | ({ - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & { - contexts?: any; - }) | ({ - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & { - nodes: any[]; - }) | ({ - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & { - url: string; - navigation: string | null; - }) | ({ - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & { - data: string; - }) | ({ - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & {}) | ({ - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & { - intercept: string; - }) | ({ - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & { - script: string; - }) | ({ - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & { - type: "success"; - realm: string; - result?: any; - }) | ({ - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & { - type: "exception"; - realm: string; - exceptionDetails: { - columnNumber: number; - lineNumber: number; - text: string; - stackTrace: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }; - exception?: any; - }; - }) | ({ - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & { - realms: (({ - origin: string; - realm: string; - } & { - type: "window"; - context: string; - sandbox?: string | undefined; - }) | ({ - origin: string; - realm: string; - } & { - type: "dedicated-worker"; - owners: [string]; - }) | ({ - origin: string; - realm: string; - } & { - type: "shared-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "service-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "paint-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "audio-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worklet"; - }))[]; - }) | ({ - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & { - capabilities: { - acceptInsecureCerts: boolean; - browserName: string; - browserVersion: string; - platformName: string; - setWindowRect: boolean; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: string | undefined; - } & Record; - sessionId: string; - }) | ({ - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & { - message: string; - ready: boolean; - }) | ({ - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & { - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | ({ - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & { - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | ({ - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & Record) | ({ - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & { - data: string; - }) | ({ - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & { - context: string; - }) | ({ - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & { - contexts?: any; - }) | ({ - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & { - nodes: any[]; - }) | ({ - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & { - url: string; - navigation: string | null; - }) | ({ - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & { - data: string; - }) | ({ - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & {}) | ({ - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & { - intercept: string; - }) | ({ - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & { - script: string; - }) | ({ - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & { - type: "success"; - realm: string; - result?: any; - }) | ({ - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & { - type: "exception"; - realm: string; - exceptionDetails: { - columnNumber: number; - lineNumber: number; - text: string; - stackTrace: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }; - exception?: any; - }; - }) | ({ - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & { - realms: (({ - origin: string; - realm: string; - } & { - type: "window"; - context: string; - sandbox?: string | undefined; - }) | ({ - origin: string; - realm: string; - } & { - type: "dedicated-worker"; - owners: [string]; - }) | ({ - origin: string; - realm: string; - } & { - type: "shared-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "service-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "paint-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "audio-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worklet"; - }))[]; - }) | ({ - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & { - capabilities: { - acceptInsecureCerts: boolean; - browserName: string; - browserVersion: string; - platformName: string; - setWindowRect: boolean; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: string | undefined; - } & Record; - sessionId: string; - }) | ({ - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & { - message: string; - ready: boolean; - }) | ({ - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & { - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | ({ - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & { - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | ({ - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & Record) | ({ - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & { - data: string; - }) | ({ - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & { - context: string; - }) | ({ - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & { - contexts?: any; - }) | ({ - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & { - nodes: any[]; - }) | ({ - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & { - url: string; - navigation: string | null; - }) | ({ - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & { - data: string; - }) | ({ - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & {}) | ({ - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & { - intercept: string; - }) | ({ - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & { - script: string; - }) | ({ - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & { - type: "success"; - realm: string; - result?: any; - }) | ({ - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & { - type: "exception"; - realm: string; - exceptionDetails: { - columnNumber: number; - lineNumber: number; - text: string; - stackTrace: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }; - exception?: any; - }; - }) | ({ - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & { - realms: (({ - origin: string; - realm: string; - } & { - type: "window"; - context: string; - sandbox?: string | undefined; - }) | ({ - origin: string; - realm: string; - } & { - type: "dedicated-worker"; - owners: [string]; - }) | ({ - origin: string; - realm: string; - } & { - type: "shared-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "service-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "paint-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "audio-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worklet"; - }))[]; - }) | ({ - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & { - capabilities: { - acceptInsecureCerts: boolean; - browserName: string; - browserVersion: string; - platformName: string; - setWindowRect: boolean; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: string | undefined; - } & Record; - sessionId: string; - }) | ({ - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & { - message: string; - ready: boolean; - }) | ({ - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & { - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | ({ - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & { - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }); -}>, z.ZodLazy>>>; -export declare const EventDataSchema: z.ZodLazy; - params: any; -}, "strip", z.ZodTypeAny, { - method: "browsingContext.contextCreated"; - params?: any; -}, { - method: "browsingContext.contextCreated"; - params?: any; -}>>, z.ZodLazy; - params: any; -}, "strip", z.ZodTypeAny, { - method: "browsingContext.contextDestroyed"; - params?: any; -}, { - method: "browsingContext.contextDestroyed"; - params?: any; -}>>, z.ZodLazy; - params: z.ZodLazy; - navigation: z.ZodUnion<[z.ZodLazy, z.ZodNull]>; - timestamp: z.ZodLazy; - url: z.ZodString; - }, "strip", z.ZodTypeAny, { - url: string; - navigation: string | null; - context: string; - timestamp: number; - }, { - url: string; - navigation: string | null; - context: string; - timestamp: number; - }>>; -}, "strip", z.ZodTypeAny, { - params: { - url: string; - navigation: string | null; - context: string; - timestamp: number; - }; - method: "browsingContext.domContentLoaded"; -}, { - params: { - url: string; - navigation: string | null; - context: string; - timestamp: number; - }; - method: "browsingContext.domContentLoaded"; -}>>, z.ZodLazy; - params: z.ZodLazy; - navigation: z.ZodUnion<[z.ZodLazy, z.ZodNull]>; - timestamp: z.ZodLazy; - url: z.ZodString; - }, "strip", z.ZodTypeAny, { - url: string; - navigation: string | null; - context: string; - timestamp: number; - }, { - url: string; - navigation: string | null; - context: string; - timestamp: number; - }>>; -}, "strip", z.ZodTypeAny, { - params: { - url: string; - navigation: string | null; - context: string; - timestamp: number; - }; - method: "browsingContext.downloadWillBegin"; -}, { - params: { - url: string; - navigation: string | null; - context: string; - timestamp: number; - }; - method: "browsingContext.downloadWillBegin"; -}>>, z.ZodLazy; - params: z.ZodLazy; - navigation: z.ZodUnion<[z.ZodLazy, z.ZodNull]>; - timestamp: z.ZodLazy; - url: z.ZodString; - }, "strip", z.ZodTypeAny, { - url: string; - navigation: string | null; - context: string; - timestamp: number; - }, { - url: string; - navigation: string | null; - context: string; - timestamp: number; - }>>; -}, "strip", z.ZodTypeAny, { - params: { - url: string; - navigation: string | null; - context: string; - timestamp: number; - }; - method: "browsingContext.fragmentNavigated"; -}, { - params: { - url: string; - navigation: string | null; - context: string; - timestamp: number; - }; - method: "browsingContext.fragmentNavigated"; -}>>, z.ZodLazy; - params: z.ZodLazy; - navigation: z.ZodUnion<[z.ZodLazy, z.ZodNull]>; - timestamp: z.ZodLazy; - url: z.ZodString; - }, "strip", z.ZodTypeAny, { - url: string; - navigation: string | null; - context: string; - timestamp: number; - }, { - url: string; - navigation: string | null; - context: string; - timestamp: number; - }>>; -}, "strip", z.ZodTypeAny, { - params: { - url: string; - navigation: string | null; - context: string; - timestamp: number; - }; - method: "browsingContext.load"; -}, { - params: { - url: string; - navigation: string | null; - context: string; - timestamp: number; - }; - method: "browsingContext.load"; -}>>, z.ZodLazy; - params: z.ZodLazy; - navigation: z.ZodUnion<[z.ZodLazy, z.ZodNull]>; - timestamp: z.ZodLazy; - url: z.ZodString; - }, "strip", z.ZodTypeAny, { - url: string; - navigation: string | null; - context: string; - timestamp: number; - }, { - url: string; - navigation: string | null; - context: string; - timestamp: number; - }>>; -}, "strip", z.ZodTypeAny, { - params: { - url: string; - navigation: string | null; - context: string; - timestamp: number; - }; - method: "browsingContext.navigationAborted"; -}, { - params: { - url: string; - navigation: string | null; - context: string; - timestamp: number; - }; - method: "browsingContext.navigationAborted"; -}>>, z.ZodLazy; - params: z.ZodLazy; - navigation: z.ZodUnion<[z.ZodLazy, z.ZodNull]>; - timestamp: z.ZodLazy; - url: z.ZodString; - }, "strip", z.ZodTypeAny, { - url: string; - navigation: string | null; - context: string; - timestamp: number; - }, { - url: string; - navigation: string | null; - context: string; - timestamp: number; - }>>; -}, "strip", z.ZodTypeAny, { - params: { - url: string; - navigation: string | null; - context: string; - timestamp: number; - }; - method: "browsingContext.navigationFailed"; -}, { - params: { - url: string; - navigation: string | null; - context: string; - timestamp: number; - }; - method: "browsingContext.navigationFailed"; -}>>, z.ZodLazy; - params: z.ZodLazy; - navigation: z.ZodUnion<[z.ZodLazy, z.ZodNull]>; - timestamp: z.ZodLazy; - url: z.ZodString; - }, "strip", z.ZodTypeAny, { - url: string; - navigation: string | null; - context: string; - timestamp: number; - }, { - url: string; - navigation: string | null; - context: string; - timestamp: number; - }>>; -}, "strip", z.ZodTypeAny, { - params: { - url: string; - navigation: string | null; - context: string; - timestamp: number; - }; - method: "browsingContext.navigationStarted"; -}, { - params: { - url: string; - navigation: string | null; - context: string; - timestamp: number; - }; - method: "browsingContext.navigationStarted"; -}>>, z.ZodLazy; - params: z.ZodLazy; - accepted: z.ZodBoolean; - userText: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - context: string; - accepted: boolean; - userText?: string | undefined; - }, { - context: string; - accepted: boolean; - userText?: string | undefined; - }>>; -}, "strip", z.ZodTypeAny, { - params: { - context: string; - accepted: boolean; - userText?: string | undefined; - }; - method: "browsingContext.userPromptClosed"; -}, { - params: { - context: string; - accepted: boolean; - userText?: string | undefined; - }; - method: "browsingContext.userPromptClosed"; -}>>, z.ZodLazy; - params: z.ZodLazy; - type: z.ZodEnum<["alert", "confirm", "prompt", "beforeunload"]>; - message: z.ZodString; - defaultValue: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - message: string; - type: "prompt" | "alert" | "confirm" | "beforeunload"; - context: string; - defaultValue?: string | undefined; - }, { - message: string; - type: "prompt" | "alert" | "confirm" | "beforeunload"; - context: string; - defaultValue?: string | undefined; - }>>; -}, "strip", z.ZodTypeAny, { - params: { - message: string; - type: "prompt" | "alert" | "confirm" | "beforeunload"; - context: string; - defaultValue?: string | undefined; - }; - method: "browsingContext.userPromptOpened"; -}, { - params: { - message: string; - type: "prompt" | "alert" | "confirm" | "beforeunload"; - context: string; - defaultValue?: string | undefined; - }; - method: "browsingContext.userPromptOpened"; -}>>]>>, z.ZodLazy; - params: z.ZodLazy>; - source: z.ZodLazy; - context: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - realm: string; - context?: string | undefined; - }, { - realm: string; - context?: string | undefined; - }>>; - text: z.ZodUnion<[z.ZodString, z.ZodNull]>; - timestamp: z.ZodLazy; - stackTrace: z.ZodOptional; - functionName: z.ZodString; - lineNumber: z.ZodLazy; - url: z.ZodString; - }, "strip", z.ZodTypeAny, { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }, { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }>>, "many">; - }, "strip", z.ZodTypeAny, { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }, { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }>>>; - }, "strip", z.ZodTypeAny, { - level: "error" | "debug" | "info" | "warn"; - source: { - realm: string; - context?: string | undefined; - }; - text: string | null; - timestamp: number; - stackTrace?: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - } | undefined; - }, { - level: "error" | "debug" | "info" | "warn"; - source: { - realm: string; - context?: string | undefined; - }; - text: string | null; - timestamp: number; - stackTrace?: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - } | undefined; - }>>, z.ZodObject<{ - type: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: string; - }, { - type: string; - }>>>, z.ZodLazy>; - source: z.ZodLazy; - context: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - realm: string; - context?: string | undefined; - }, { - realm: string; - context?: string | undefined; - }>>; - text: z.ZodUnion<[z.ZodString, z.ZodNull]>; - timestamp: z.ZodLazy; - stackTrace: z.ZodOptional; - functionName: z.ZodString; - lineNumber: z.ZodLazy; - url: z.ZodString; - }, "strip", z.ZodTypeAny, { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }, { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }>>, "many">; - }, "strip", z.ZodTypeAny, { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }, { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }>>>; - }, "strip", z.ZodTypeAny, { - level: "error" | "debug" | "info" | "warn"; - source: { - realm: string; - context?: string | undefined; - }; - text: string | null; - timestamp: number; - stackTrace?: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - } | undefined; - }, { - level: "error" | "debug" | "info" | "warn"; - source: { - realm: string; - context?: string | undefined; - }; - text: string | null; - timestamp: number; - stackTrace?: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - } | undefined; - }>>, z.ZodObject<{ - type: z.ZodLiteral<"console">; - method: z.ZodString; - args: z.ZodArray; - }, "strip", z.ZodTypeAny, { - type: "console"; - args: any[]; - method: string; - }, { - type: "console"; - args: any[]; - method: string; - }>>>, z.ZodLazy>; - source: z.ZodLazy; - context: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - realm: string; - context?: string | undefined; - }, { - realm: string; - context?: string | undefined; - }>>; - text: z.ZodUnion<[z.ZodString, z.ZodNull]>; - timestamp: z.ZodLazy; - stackTrace: z.ZodOptional; - functionName: z.ZodString; - lineNumber: z.ZodLazy; - url: z.ZodString; - }, "strip", z.ZodTypeAny, { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }, { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }>>, "many">; - }, "strip", z.ZodTypeAny, { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }, { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }>>>; - }, "strip", z.ZodTypeAny, { - level: "error" | "debug" | "info" | "warn"; - source: { - realm: string; - context?: string | undefined; - }; - text: string | null; - timestamp: number; - stackTrace?: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - } | undefined; - }, { - level: "error" | "debug" | "info" | "warn"; - source: { - realm: string; - context?: string | undefined; - }; - text: string | null; - timestamp: number; - stackTrace?: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - } | undefined; - }>>, z.ZodObject<{ - type: z.ZodLiteral<"javascript">; - }, "strip", z.ZodTypeAny, { - type: "javascript"; - }, { - type: "javascript"; - }>>>]>>; -}, "strip", z.ZodTypeAny, { - params: ({ - level: "error" | "debug" | "info" | "warn"; - source: { - realm: string; - context?: string | undefined; - }; - text: string | null; - timestamp: number; - stackTrace?: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - } | undefined; - } & { - type: string; - }) | ({ - level: "error" | "debug" | "info" | "warn"; - source: { - realm: string; - context?: string | undefined; - }; - text: string | null; - timestamp: number; - stackTrace?: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - } | undefined; - } & { - type: "console"; - args: any[]; - method: string; - }) | ({ - level: "error" | "debug" | "info" | "warn"; - source: { - realm: string; - context?: string | undefined; - }; - text: string | null; - timestamp: number; - stackTrace?: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - } | undefined; - } & { - type: "javascript"; - }) | ({ - level: "error" | "debug" | "info" | "warn"; - source: { - realm: string; - context?: string | undefined; - }; - text: string | null; - timestamp: number; - stackTrace?: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - } | undefined; - } & { - type: string; - } & { - type: "console"; - args: any[]; - method: string; - }) | ({ - level: "error" | "debug" | "info" | "warn"; - source: { - realm: string; - context?: string | undefined; - }; - text: string | null; - timestamp: number; - stackTrace?: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - } | undefined; - } & { - type: string; - } & { - type: "javascript"; - }) | ({ - level: "error" | "debug" | "info" | "warn"; - source: { - realm: string; - context?: string | undefined; - }; - text: string | null; - timestamp: number; - stackTrace?: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - } | undefined; - } & { - type: "console"; - args: any[]; - method: string; - } & { - type: string; - }) | ({ - level: "error" | "debug" | "info" | "warn"; - source: { - realm: string; - context?: string | undefined; - }; - text: string | null; - timestamp: number; - stackTrace?: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - } | undefined; - } & { - type: "javascript"; - } & { - type: string; - }); - method: "log.entryAdded"; -}, { - params: ({ - level: "error" | "debug" | "info" | "warn"; - source: { - realm: string; - context?: string | undefined; - }; - text: string | null; - timestamp: number; - stackTrace?: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - } | undefined; - } & { - type: string; - }) | ({ - level: "error" | "debug" | "info" | "warn"; - source: { - realm: string; - context?: string | undefined; - }; - text: string | null; - timestamp: number; - stackTrace?: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - } | undefined; - } & { - type: "console"; - args: any[]; - method: string; - }) | ({ - level: "error" | "debug" | "info" | "warn"; - source: { - realm: string; - context?: string | undefined; - }; - text: string | null; - timestamp: number; - stackTrace?: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - } | undefined; - } & { - type: "javascript"; - }) | ({ - level: "error" | "debug" | "info" | "warn"; - source: { - realm: string; - context?: string | undefined; - }; - text: string | null; - timestamp: number; - stackTrace?: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - } | undefined; - } & { - type: string; - } & { - type: "console"; - args: any[]; - method: string; - }) | ({ - level: "error" | "debug" | "info" | "warn"; - source: { - realm: string; - context?: string | undefined; - }; - text: string | null; - timestamp: number; - stackTrace?: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - } | undefined; - } & { - type: string; - } & { - type: "javascript"; - }) | ({ - level: "error" | "debug" | "info" | "warn"; - source: { - realm: string; - context?: string | undefined; - }; - text: string | null; - timestamp: number; - stackTrace?: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - } | undefined; - } & { - type: "console"; - args: any[]; - method: string; - } & { - type: string; - }) | ({ - level: "error" | "debug" | "info" | "warn"; - source: { - realm: string; - context?: string | undefined; - }; - text: string | null; - timestamp: number; - stackTrace?: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - } | undefined; - } & { - type: "javascript"; - } & { - type: string; - }); - method: "log.entryAdded"; -}>>>, z.ZodLazy; - params: z.ZodLazy, z.ZodNull]>; - isBlocked: z.ZodBoolean; - navigation: z.ZodUnion<[z.ZodLazy, z.ZodNull]>; - redirectCount: z.ZodLazy; - request: z.ZodLazy; - url: z.ZodString; - method: z.ZodString; - headers: z.ZodArray; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "string"; - value: string; - }, { - type: "string"; - value: string; - }>>, z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "base64"; - value: string; - }, { - type: "base64"; - value: string; - }>>]>>; - }, "strip", z.ZodTypeAny, { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }, { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }>>, "many">; - cookies: z.ZodArray; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "string"; - value: string; - }, { - type: "string"; - value: string; - }>>, z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "base64"; - value: string; - }, { - type: "base64"; - value: string; - }>>]>>; - domain: z.ZodString; - path: z.ZodString; - size: z.ZodLazy; - httpOnly: z.ZodBoolean; - secure: z.ZodBoolean; - sameSite: z.ZodLazy>; - expiry: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - }, { - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - }>, z.ZodLazy>>>, "many">; - headersSize: z.ZodLazy; - bodySize: z.ZodUnion<[z.ZodLazy, z.ZodNull]>; - timings: z.ZodLazy>; - }, "strip", z.ZodTypeAny, { - url: string; - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - method: string; - request: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - headersSize: number; - bodySize: number | null; - timings: { - timeOrigin: number; - requestTime: number; - redirectStart: number; - redirectEnd: number; - fetchStart: number; - dnsStart: number; - dnsEnd: number; - connectStart: number; - connectEnd: number; - tlsStart: number; - requestStart: number; - responseStart: number; - responseEnd: number; - }; - }, { - url: string; - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - method: string; - request: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - headersSize: number; - bodySize: number | null; - timings: { - timeOrigin: number; - requestTime: number; - redirectStart: number; - redirectEnd: number; - fetchStart: number; - dnsStart: number; - dnsEnd: number; - connectStart: number; - connectEnd: number; - tlsStart: number; - requestStart: number; - responseStart: number; - responseEnd: number; - }; - }>>; - timestamp: z.ZodLazy; - intercepts: z.ZodOptional, "many">>; - }, "strip", z.ZodTypeAny, { - navigation: string | null; - context: string | null; - request: { - url: string; - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - method: string; - request: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - headersSize: number; - bodySize: number | null; - timings: { - timeOrigin: number; - requestTime: number; - redirectStart: number; - redirectEnd: number; - fetchStart: number; - dnsStart: number; - dnsEnd: number; - connectStart: number; - connectEnd: number; - tlsStart: number; - requestStart: number; - responseStart: number; - responseEnd: number; - }; - }; - timestamp: number; - isBlocked: boolean; - redirectCount: number; - intercepts?: string[] | undefined; - }, { - navigation: string | null; - context: string | null; - request: { - url: string; - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - method: string; - request: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - headersSize: number; - bodySize: number | null; - timings: { - timeOrigin: number; - requestTime: number; - redirectStart: number; - redirectEnd: number; - fetchStart: number; - dnsStart: number; - dnsEnd: number; - connectStart: number; - connectEnd: number; - tlsStart: number; - requestStart: number; - responseStart: number; - responseEnd: number; - }; - }; - timestamp: number; - isBlocked: boolean; - redirectCount: number; - intercepts?: string[] | undefined; - }>>, z.ZodObject<{ - response: z.ZodLazy; - statusText: z.ZodString; - fromCache: z.ZodBoolean; - headers: z.ZodArray; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "string"; - value: string; - }, { - type: "string"; - value: string; - }>>, z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "base64"; - value: string; - }, { - type: "base64"; - value: string; - }>>]>>; - }, "strip", z.ZodTypeAny, { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }, { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }>>, "many">; - mimeType: z.ZodString; - bytesReceived: z.ZodLazy; - headersSize: z.ZodUnion<[z.ZodLazy, z.ZodNull]>; - bodySize: z.ZodUnion<[z.ZodLazy, z.ZodNull]>; - content: z.ZodLazy; - }, "strip", z.ZodTypeAny, { - size: number; - }, { - size: number; - }>>; - authChallenge: z.ZodOptional>>; - }, "strip", z.ZodTypeAny, { - url: string; - status: number; - protocol: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - content: { - size: number; - }; - headersSize: number | null; - bodySize: number | null; - statusText: string; - fromCache: boolean; - mimeType: string; - bytesReceived: number; - authChallenge?: { - realm: string; - scheme: string; - } | undefined; - }, { - url: string; - status: number; - protocol: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - content: { - size: number; - }; - headersSize: number | null; - bodySize: number | null; - statusText: string; - fromCache: boolean; - mimeType: string; - bytesReceived: number; - authChallenge?: { - realm: string; - scheme: string; - } | undefined; - }>>; - }, "strip", z.ZodTypeAny, { - response: { - url: string; - status: number; - protocol: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - content: { - size: number; - }; - headersSize: number | null; - bodySize: number | null; - statusText: string; - fromCache: boolean; - mimeType: string; - bytesReceived: number; - authChallenge?: { - realm: string; - scheme: string; - } | undefined; - }; - }, { - response: { - url: string; - status: number; - protocol: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - content: { - size: number; - }; - headersSize: number | null; - bodySize: number | null; - statusText: string; - fromCache: boolean; - mimeType: string; - bytesReceived: number; - authChallenge?: { - realm: string; - scheme: string; - } | undefined; - }; - }>>>; -}, "strip", z.ZodTypeAny, { - params: { - navigation: string | null; - context: string | null; - request: { - url: string; - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - method: string; - request: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - headersSize: number; - bodySize: number | null; - timings: { - timeOrigin: number; - requestTime: number; - redirectStart: number; - redirectEnd: number; - fetchStart: number; - dnsStart: number; - dnsEnd: number; - connectStart: number; - connectEnd: number; - tlsStart: number; - requestStart: number; - responseStart: number; - responseEnd: number; - }; - }; - timestamp: number; - isBlocked: boolean; - redirectCount: number; - intercepts?: string[] | undefined; - } & { - response: { - url: string; - status: number; - protocol: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - content: { - size: number; - }; - headersSize: number | null; - bodySize: number | null; - statusText: string; - fromCache: boolean; - mimeType: string; - bytesReceived: number; - authChallenge?: { - realm: string; - scheme: string; - } | undefined; - }; - }; - method: "network.authRequired"; -}, { - params: { - navigation: string | null; - context: string | null; - request: { - url: string; - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - method: string; - request: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - headersSize: number; - bodySize: number | null; - timings: { - timeOrigin: number; - requestTime: number; - redirectStart: number; - redirectEnd: number; - fetchStart: number; - dnsStart: number; - dnsEnd: number; - connectStart: number; - connectEnd: number; - tlsStart: number; - requestStart: number; - responseStart: number; - responseEnd: number; - }; - }; - timestamp: number; - isBlocked: boolean; - redirectCount: number; - intercepts?: string[] | undefined; - } & { - response: { - url: string; - status: number; - protocol: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - content: { - size: number; - }; - headersSize: number | null; - bodySize: number | null; - statusText: string; - fromCache: boolean; - mimeType: string; - bytesReceived: number; - authChallenge?: { - realm: string; - scheme: string; - } | undefined; - }; - }; - method: "network.authRequired"; -}>>, z.ZodLazy; - params: z.ZodLazy, z.ZodNull]>; - isBlocked: z.ZodBoolean; - navigation: z.ZodUnion<[z.ZodLazy, z.ZodNull]>; - redirectCount: z.ZodLazy; - request: z.ZodLazy; - url: z.ZodString; - method: z.ZodString; - headers: z.ZodArray; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "string"; - value: string; - }, { - type: "string"; - value: string; - }>>, z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "base64"; - value: string; - }, { - type: "base64"; - value: string; - }>>]>>; - }, "strip", z.ZodTypeAny, { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }, { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }>>, "many">; - cookies: z.ZodArray; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "string"; - value: string; - }, { - type: "string"; - value: string; - }>>, z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "base64"; - value: string; - }, { - type: "base64"; - value: string; - }>>]>>; - domain: z.ZodString; - path: z.ZodString; - size: z.ZodLazy; - httpOnly: z.ZodBoolean; - secure: z.ZodBoolean; - sameSite: z.ZodLazy>; - expiry: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - }, { - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - }>, z.ZodLazy>>>, "many">; - headersSize: z.ZodLazy; - bodySize: z.ZodUnion<[z.ZodLazy, z.ZodNull]>; - timings: z.ZodLazy>; - }, "strip", z.ZodTypeAny, { - url: string; - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - method: string; - request: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - headersSize: number; - bodySize: number | null; - timings: { - timeOrigin: number; - requestTime: number; - redirectStart: number; - redirectEnd: number; - fetchStart: number; - dnsStart: number; - dnsEnd: number; - connectStart: number; - connectEnd: number; - tlsStart: number; - requestStart: number; - responseStart: number; - responseEnd: number; - }; - }, { - url: string; - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - method: string; - request: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - headersSize: number; - bodySize: number | null; - timings: { - timeOrigin: number; - requestTime: number; - redirectStart: number; - redirectEnd: number; - fetchStart: number; - dnsStart: number; - dnsEnd: number; - connectStart: number; - connectEnd: number; - tlsStart: number; - requestStart: number; - responseStart: number; - responseEnd: number; - }; - }>>; - timestamp: z.ZodLazy; - intercepts: z.ZodOptional, "many">>; - }, "strip", z.ZodTypeAny, { - navigation: string | null; - context: string | null; - request: { - url: string; - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - method: string; - request: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - headersSize: number; - bodySize: number | null; - timings: { - timeOrigin: number; - requestTime: number; - redirectStart: number; - redirectEnd: number; - fetchStart: number; - dnsStart: number; - dnsEnd: number; - connectStart: number; - connectEnd: number; - tlsStart: number; - requestStart: number; - responseStart: number; - responseEnd: number; - }; - }; - timestamp: number; - isBlocked: boolean; - redirectCount: number; - intercepts?: string[] | undefined; - }, { - navigation: string | null; - context: string | null; - request: { - url: string; - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - method: string; - request: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - headersSize: number; - bodySize: number | null; - timings: { - timeOrigin: number; - requestTime: number; - redirectStart: number; - redirectEnd: number; - fetchStart: number; - dnsStart: number; - dnsEnd: number; - connectStart: number; - connectEnd: number; - tlsStart: number; - requestStart: number; - responseStart: number; - responseEnd: number; - }; - }; - timestamp: number; - isBlocked: boolean; - redirectCount: number; - intercepts?: string[] | undefined; - }>>, z.ZodObject<{ - initiator: z.ZodLazy; - columnNumber: z.ZodOptional>; - lineNumber: z.ZodOptional>; - stackTrace: z.ZodOptional; - functionName: z.ZodString; - lineNumber: z.ZodLazy; - url: z.ZodString; - }, "strip", z.ZodTypeAny, { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }, { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }>>, "many">; - }, "strip", z.ZodTypeAny, { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }, { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }>>>; - request: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - type: "other" | "script" | "parser" | "preflight"; - columnNumber?: number | undefined; - lineNumber?: number | undefined; - stackTrace?: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - } | undefined; - request?: string | undefined; - }, { - type: "other" | "script" | "parser" | "preflight"; - columnNumber?: number | undefined; - lineNumber?: number | undefined; - stackTrace?: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - } | undefined; - request?: string | undefined; - }>>; - }, "strip", z.ZodTypeAny, { - initiator: { - type: "other" | "script" | "parser" | "preflight"; - columnNumber?: number | undefined; - lineNumber?: number | undefined; - stackTrace?: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - } | undefined; - request?: string | undefined; - }; - }, { - initiator: { - type: "other" | "script" | "parser" | "preflight"; - columnNumber?: number | undefined; - lineNumber?: number | undefined; - stackTrace?: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - } | undefined; - request?: string | undefined; - }; - }>>>; -}, "strip", z.ZodTypeAny, { - params: { - navigation: string | null; - context: string | null; - request: { - url: string; - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - method: string; - request: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - headersSize: number; - bodySize: number | null; - timings: { - timeOrigin: number; - requestTime: number; - redirectStart: number; - redirectEnd: number; - fetchStart: number; - dnsStart: number; - dnsEnd: number; - connectStart: number; - connectEnd: number; - tlsStart: number; - requestStart: number; - responseStart: number; - responseEnd: number; - }; - }; - timestamp: number; - isBlocked: boolean; - redirectCount: number; - intercepts?: string[] | undefined; - } & { - initiator: { - type: "other" | "script" | "parser" | "preflight"; - columnNumber?: number | undefined; - lineNumber?: number | undefined; - stackTrace?: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - } | undefined; - request?: string | undefined; - }; - }; - method: "network.beforeRequestSent"; -}, { - params: { - navigation: string | null; - context: string | null; - request: { - url: string; - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - method: string; - request: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - headersSize: number; - bodySize: number | null; - timings: { - timeOrigin: number; - requestTime: number; - redirectStart: number; - redirectEnd: number; - fetchStart: number; - dnsStart: number; - dnsEnd: number; - connectStart: number; - connectEnd: number; - tlsStart: number; - requestStart: number; - responseStart: number; - responseEnd: number; - }; - }; - timestamp: number; - isBlocked: boolean; - redirectCount: number; - intercepts?: string[] | undefined; - } & { - initiator: { - type: "other" | "script" | "parser" | "preflight"; - columnNumber?: number | undefined; - lineNumber?: number | undefined; - stackTrace?: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - } | undefined; - request?: string | undefined; - }; - }; - method: "network.beforeRequestSent"; -}>>, z.ZodLazy; - params: z.ZodLazy, z.ZodNull]>; - isBlocked: z.ZodBoolean; - navigation: z.ZodUnion<[z.ZodLazy, z.ZodNull]>; - redirectCount: z.ZodLazy; - request: z.ZodLazy; - url: z.ZodString; - method: z.ZodString; - headers: z.ZodArray; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "string"; - value: string; - }, { - type: "string"; - value: string; - }>>, z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "base64"; - value: string; - }, { - type: "base64"; - value: string; - }>>]>>; - }, "strip", z.ZodTypeAny, { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }, { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }>>, "many">; - cookies: z.ZodArray; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "string"; - value: string; - }, { - type: "string"; - value: string; - }>>, z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "base64"; - value: string; - }, { - type: "base64"; - value: string; - }>>]>>; - domain: z.ZodString; - path: z.ZodString; - size: z.ZodLazy; - httpOnly: z.ZodBoolean; - secure: z.ZodBoolean; - sameSite: z.ZodLazy>; - expiry: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - }, { - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - }>, z.ZodLazy>>>, "many">; - headersSize: z.ZodLazy; - bodySize: z.ZodUnion<[z.ZodLazy, z.ZodNull]>; - timings: z.ZodLazy>; - }, "strip", z.ZodTypeAny, { - url: string; - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - method: string; - request: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - headersSize: number; - bodySize: number | null; - timings: { - timeOrigin: number; - requestTime: number; - redirectStart: number; - redirectEnd: number; - fetchStart: number; - dnsStart: number; - dnsEnd: number; - connectStart: number; - connectEnd: number; - tlsStart: number; - requestStart: number; - responseStart: number; - responseEnd: number; - }; - }, { - url: string; - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - method: string; - request: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - headersSize: number; - bodySize: number | null; - timings: { - timeOrigin: number; - requestTime: number; - redirectStart: number; - redirectEnd: number; - fetchStart: number; - dnsStart: number; - dnsEnd: number; - connectStart: number; - connectEnd: number; - tlsStart: number; - requestStart: number; - responseStart: number; - responseEnd: number; - }; - }>>; - timestamp: z.ZodLazy; - intercepts: z.ZodOptional, "many">>; - }, "strip", z.ZodTypeAny, { - navigation: string | null; - context: string | null; - request: { - url: string; - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - method: string; - request: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - headersSize: number; - bodySize: number | null; - timings: { - timeOrigin: number; - requestTime: number; - redirectStart: number; - redirectEnd: number; - fetchStart: number; - dnsStart: number; - dnsEnd: number; - connectStart: number; - connectEnd: number; - tlsStart: number; - requestStart: number; - responseStart: number; - responseEnd: number; - }; - }; - timestamp: number; - isBlocked: boolean; - redirectCount: number; - intercepts?: string[] | undefined; - }, { - navigation: string | null; - context: string | null; - request: { - url: string; - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - method: string; - request: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - headersSize: number; - bodySize: number | null; - timings: { - timeOrigin: number; - requestTime: number; - redirectStart: number; - redirectEnd: number; - fetchStart: number; - dnsStart: number; - dnsEnd: number; - connectStart: number; - connectEnd: number; - tlsStart: number; - requestStart: number; - responseStart: number; - responseEnd: number; - }; - }; - timestamp: number; - isBlocked: boolean; - redirectCount: number; - intercepts?: string[] | undefined; - }>>, z.ZodObject<{ - errorText: z.ZodString; - }, "strip", z.ZodTypeAny, { - errorText: string; - }, { - errorText: string; - }>>>; -}, "strip", z.ZodTypeAny, { - params: { - navigation: string | null; - context: string | null; - request: { - url: string; - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - method: string; - request: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - headersSize: number; - bodySize: number | null; - timings: { - timeOrigin: number; - requestTime: number; - redirectStart: number; - redirectEnd: number; - fetchStart: number; - dnsStart: number; - dnsEnd: number; - connectStart: number; - connectEnd: number; - tlsStart: number; - requestStart: number; - responseStart: number; - responseEnd: number; - }; - }; - timestamp: number; - isBlocked: boolean; - redirectCount: number; - intercepts?: string[] | undefined; - } & { - errorText: string; - }; - method: "network.fetchError"; -}, { - params: { - navigation: string | null; - context: string | null; - request: { - url: string; - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - method: string; - request: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - headersSize: number; - bodySize: number | null; - timings: { - timeOrigin: number; - requestTime: number; - redirectStart: number; - redirectEnd: number; - fetchStart: number; - dnsStart: number; - dnsEnd: number; - connectStart: number; - connectEnd: number; - tlsStart: number; - requestStart: number; - responseStart: number; - responseEnd: number; - }; - }; - timestamp: number; - isBlocked: boolean; - redirectCount: number; - intercepts?: string[] | undefined; - } & { - errorText: string; - }; - method: "network.fetchError"; -}>>, z.ZodLazy; - params: z.ZodLazy, z.ZodNull]>; - isBlocked: z.ZodBoolean; - navigation: z.ZodUnion<[z.ZodLazy, z.ZodNull]>; - redirectCount: z.ZodLazy; - request: z.ZodLazy; - url: z.ZodString; - method: z.ZodString; - headers: z.ZodArray; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "string"; - value: string; - }, { - type: "string"; - value: string; - }>>, z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "base64"; - value: string; - }, { - type: "base64"; - value: string; - }>>]>>; - }, "strip", z.ZodTypeAny, { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }, { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }>>, "many">; - cookies: z.ZodArray; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "string"; - value: string; - }, { - type: "string"; - value: string; - }>>, z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "base64"; - value: string; - }, { - type: "base64"; - value: string; - }>>]>>; - domain: z.ZodString; - path: z.ZodString; - size: z.ZodLazy; - httpOnly: z.ZodBoolean; - secure: z.ZodBoolean; - sameSite: z.ZodLazy>; - expiry: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - }, { - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - }>, z.ZodLazy>>>, "many">; - headersSize: z.ZodLazy; - bodySize: z.ZodUnion<[z.ZodLazy, z.ZodNull]>; - timings: z.ZodLazy>; - }, "strip", z.ZodTypeAny, { - url: string; - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - method: string; - request: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - headersSize: number; - bodySize: number | null; - timings: { - timeOrigin: number; - requestTime: number; - redirectStart: number; - redirectEnd: number; - fetchStart: number; - dnsStart: number; - dnsEnd: number; - connectStart: number; - connectEnd: number; - tlsStart: number; - requestStart: number; - responseStart: number; - responseEnd: number; - }; - }, { - url: string; - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - method: string; - request: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - headersSize: number; - bodySize: number | null; - timings: { - timeOrigin: number; - requestTime: number; - redirectStart: number; - redirectEnd: number; - fetchStart: number; - dnsStart: number; - dnsEnd: number; - connectStart: number; - connectEnd: number; - tlsStart: number; - requestStart: number; - responseStart: number; - responseEnd: number; - }; - }>>; - timestamp: z.ZodLazy; - intercepts: z.ZodOptional, "many">>; - }, "strip", z.ZodTypeAny, { - navigation: string | null; - context: string | null; - request: { - url: string; - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - method: string; - request: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - headersSize: number; - bodySize: number | null; - timings: { - timeOrigin: number; - requestTime: number; - redirectStart: number; - redirectEnd: number; - fetchStart: number; - dnsStart: number; - dnsEnd: number; - connectStart: number; - connectEnd: number; - tlsStart: number; - requestStart: number; - responseStart: number; - responseEnd: number; - }; - }; - timestamp: number; - isBlocked: boolean; - redirectCount: number; - intercepts?: string[] | undefined; - }, { - navigation: string | null; - context: string | null; - request: { - url: string; - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - method: string; - request: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - headersSize: number; - bodySize: number | null; - timings: { - timeOrigin: number; - requestTime: number; - redirectStart: number; - redirectEnd: number; - fetchStart: number; - dnsStart: number; - dnsEnd: number; - connectStart: number; - connectEnd: number; - tlsStart: number; - requestStart: number; - responseStart: number; - responseEnd: number; - }; - }; - timestamp: number; - isBlocked: boolean; - redirectCount: number; - intercepts?: string[] | undefined; - }>>, z.ZodObject<{ - response: z.ZodLazy; - statusText: z.ZodString; - fromCache: z.ZodBoolean; - headers: z.ZodArray; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "string"; - value: string; - }, { - type: "string"; - value: string; - }>>, z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "base64"; - value: string; - }, { - type: "base64"; - value: string; - }>>]>>; - }, "strip", z.ZodTypeAny, { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }, { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }>>, "many">; - mimeType: z.ZodString; - bytesReceived: z.ZodLazy; - headersSize: z.ZodUnion<[z.ZodLazy, z.ZodNull]>; - bodySize: z.ZodUnion<[z.ZodLazy, z.ZodNull]>; - content: z.ZodLazy; - }, "strip", z.ZodTypeAny, { - size: number; - }, { - size: number; - }>>; - authChallenge: z.ZodOptional>>; - }, "strip", z.ZodTypeAny, { - url: string; - status: number; - protocol: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - content: { - size: number; - }; - headersSize: number | null; - bodySize: number | null; - statusText: string; - fromCache: boolean; - mimeType: string; - bytesReceived: number; - authChallenge?: { - realm: string; - scheme: string; - } | undefined; - }, { - url: string; - status: number; - protocol: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - content: { - size: number; - }; - headersSize: number | null; - bodySize: number | null; - statusText: string; - fromCache: boolean; - mimeType: string; - bytesReceived: number; - authChallenge?: { - realm: string; - scheme: string; - } | undefined; - }>>; - }, "strip", z.ZodTypeAny, { - response: { - url: string; - status: number; - protocol: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - content: { - size: number; - }; - headersSize: number | null; - bodySize: number | null; - statusText: string; - fromCache: boolean; - mimeType: string; - bytesReceived: number; - authChallenge?: { - realm: string; - scheme: string; - } | undefined; - }; - }, { - response: { - url: string; - status: number; - protocol: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - content: { - size: number; - }; - headersSize: number | null; - bodySize: number | null; - statusText: string; - fromCache: boolean; - mimeType: string; - bytesReceived: number; - authChallenge?: { - realm: string; - scheme: string; - } | undefined; - }; - }>>>; -}, "strip", z.ZodTypeAny, { - params: { - navigation: string | null; - context: string | null; - request: { - url: string; - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - method: string; - request: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - headersSize: number; - bodySize: number | null; - timings: { - timeOrigin: number; - requestTime: number; - redirectStart: number; - redirectEnd: number; - fetchStart: number; - dnsStart: number; - dnsEnd: number; - connectStart: number; - connectEnd: number; - tlsStart: number; - requestStart: number; - responseStart: number; - responseEnd: number; - }; - }; - timestamp: number; - isBlocked: boolean; - redirectCount: number; - intercepts?: string[] | undefined; - } & { - response: { - url: string; - status: number; - protocol: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - content: { - size: number; - }; - headersSize: number | null; - bodySize: number | null; - statusText: string; - fromCache: boolean; - mimeType: string; - bytesReceived: number; - authChallenge?: { - realm: string; - scheme: string; - } | undefined; - }; - }; - method: "network.responseCompleted"; -}, { - params: { - navigation: string | null; - context: string | null; - request: { - url: string; - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - method: string; - request: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - headersSize: number; - bodySize: number | null; - timings: { - timeOrigin: number; - requestTime: number; - redirectStart: number; - redirectEnd: number; - fetchStart: number; - dnsStart: number; - dnsEnd: number; - connectStart: number; - connectEnd: number; - tlsStart: number; - requestStart: number; - responseStart: number; - responseEnd: number; - }; - }; - timestamp: number; - isBlocked: boolean; - redirectCount: number; - intercepts?: string[] | undefined; - } & { - response: { - url: string; - status: number; - protocol: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - content: { - size: number; - }; - headersSize: number | null; - bodySize: number | null; - statusText: string; - fromCache: boolean; - mimeType: string; - bytesReceived: number; - authChallenge?: { - realm: string; - scheme: string; - } | undefined; - }; - }; - method: "network.responseCompleted"; -}>>, z.ZodLazy; - params: z.ZodLazy, z.ZodNull]>; - isBlocked: z.ZodBoolean; - navigation: z.ZodUnion<[z.ZodLazy, z.ZodNull]>; - redirectCount: z.ZodLazy; - request: z.ZodLazy; - url: z.ZodString; - method: z.ZodString; - headers: z.ZodArray; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "string"; - value: string; - }, { - type: "string"; - value: string; - }>>, z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "base64"; - value: string; - }, { - type: "base64"; - value: string; - }>>]>>; - }, "strip", z.ZodTypeAny, { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }, { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }>>, "many">; - cookies: z.ZodArray; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "string"; - value: string; - }, { - type: "string"; - value: string; - }>>, z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "base64"; - value: string; - }, { - type: "base64"; - value: string; - }>>]>>; - domain: z.ZodString; - path: z.ZodString; - size: z.ZodLazy; - httpOnly: z.ZodBoolean; - secure: z.ZodBoolean; - sameSite: z.ZodLazy>; - expiry: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - }, { - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - }>, z.ZodLazy>>>, "many">; - headersSize: z.ZodLazy; - bodySize: z.ZodUnion<[z.ZodLazy, z.ZodNull]>; - timings: z.ZodLazy>; - }, "strip", z.ZodTypeAny, { - url: string; - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - method: string; - request: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - headersSize: number; - bodySize: number | null; - timings: { - timeOrigin: number; - requestTime: number; - redirectStart: number; - redirectEnd: number; - fetchStart: number; - dnsStart: number; - dnsEnd: number; - connectStart: number; - connectEnd: number; - tlsStart: number; - requestStart: number; - responseStart: number; - responseEnd: number; - }; - }, { - url: string; - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - method: string; - request: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - headersSize: number; - bodySize: number | null; - timings: { - timeOrigin: number; - requestTime: number; - redirectStart: number; - redirectEnd: number; - fetchStart: number; - dnsStart: number; - dnsEnd: number; - connectStart: number; - connectEnd: number; - tlsStart: number; - requestStart: number; - responseStart: number; - responseEnd: number; - }; - }>>; - timestamp: z.ZodLazy; - intercepts: z.ZodOptional, "many">>; - }, "strip", z.ZodTypeAny, { - navigation: string | null; - context: string | null; - request: { - url: string; - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - method: string; - request: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - headersSize: number; - bodySize: number | null; - timings: { - timeOrigin: number; - requestTime: number; - redirectStart: number; - redirectEnd: number; - fetchStart: number; - dnsStart: number; - dnsEnd: number; - connectStart: number; - connectEnd: number; - tlsStart: number; - requestStart: number; - responseStart: number; - responseEnd: number; - }; - }; - timestamp: number; - isBlocked: boolean; - redirectCount: number; - intercepts?: string[] | undefined; - }, { - navigation: string | null; - context: string | null; - request: { - url: string; - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - method: string; - request: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - headersSize: number; - bodySize: number | null; - timings: { - timeOrigin: number; - requestTime: number; - redirectStart: number; - redirectEnd: number; - fetchStart: number; - dnsStart: number; - dnsEnd: number; - connectStart: number; - connectEnd: number; - tlsStart: number; - requestStart: number; - responseStart: number; - responseEnd: number; - }; - }; - timestamp: number; - isBlocked: boolean; - redirectCount: number; - intercepts?: string[] | undefined; - }>>, z.ZodObject<{ - response: z.ZodLazy; - statusText: z.ZodString; - fromCache: z.ZodBoolean; - headers: z.ZodArray; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "string"; - value: string; - }, { - type: "string"; - value: string; - }>>, z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "base64"; - value: string; - }, { - type: "base64"; - value: string; - }>>]>>; - }, "strip", z.ZodTypeAny, { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }, { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }>>, "many">; - mimeType: z.ZodString; - bytesReceived: z.ZodLazy; - headersSize: z.ZodUnion<[z.ZodLazy, z.ZodNull]>; - bodySize: z.ZodUnion<[z.ZodLazy, z.ZodNull]>; - content: z.ZodLazy; - }, "strip", z.ZodTypeAny, { - size: number; - }, { - size: number; - }>>; - authChallenge: z.ZodOptional>>; - }, "strip", z.ZodTypeAny, { - url: string; - status: number; - protocol: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - content: { - size: number; - }; - headersSize: number | null; - bodySize: number | null; - statusText: string; - fromCache: boolean; - mimeType: string; - bytesReceived: number; - authChallenge?: { - realm: string; - scheme: string; - } | undefined; - }, { - url: string; - status: number; - protocol: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - content: { - size: number; - }; - headersSize: number | null; - bodySize: number | null; - statusText: string; - fromCache: boolean; - mimeType: string; - bytesReceived: number; - authChallenge?: { - realm: string; - scheme: string; - } | undefined; - }>>; - }, "strip", z.ZodTypeAny, { - response: { - url: string; - status: number; - protocol: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - content: { - size: number; - }; - headersSize: number | null; - bodySize: number | null; - statusText: string; - fromCache: boolean; - mimeType: string; - bytesReceived: number; - authChallenge?: { - realm: string; - scheme: string; - } | undefined; - }; - }, { - response: { - url: string; - status: number; - protocol: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - content: { - size: number; - }; - headersSize: number | null; - bodySize: number | null; - statusText: string; - fromCache: boolean; - mimeType: string; - bytesReceived: number; - authChallenge?: { - realm: string; - scheme: string; - } | undefined; - }; - }>>>; -}, "strip", z.ZodTypeAny, { - params: { - navigation: string | null; - context: string | null; - request: { - url: string; - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - method: string; - request: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - headersSize: number; - bodySize: number | null; - timings: { - timeOrigin: number; - requestTime: number; - redirectStart: number; - redirectEnd: number; - fetchStart: number; - dnsStart: number; - dnsEnd: number; - connectStart: number; - connectEnd: number; - tlsStart: number; - requestStart: number; - responseStart: number; - responseEnd: number; - }; - }; - timestamp: number; - isBlocked: boolean; - redirectCount: number; - intercepts?: string[] | undefined; - } & { - response: { - url: string; - status: number; - protocol: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - content: { - size: number; - }; - headersSize: number | null; - bodySize: number | null; - statusText: string; - fromCache: boolean; - mimeType: string; - bytesReceived: number; - authChallenge?: { - realm: string; - scheme: string; - } | undefined; - }; - }; - method: "network.responseStarted"; -}, { - params: { - navigation: string | null; - context: string | null; - request: { - url: string; - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - method: string; - request: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - headersSize: number; - bodySize: number | null; - timings: { - timeOrigin: number; - requestTime: number; - redirectStart: number; - redirectEnd: number; - fetchStart: number; - dnsStart: number; - dnsEnd: number; - connectStart: number; - connectEnd: number; - tlsStart: number; - requestStart: number; - responseStart: number; - responseEnd: number; - }; - }; - timestamp: number; - isBlocked: boolean; - redirectCount: number; - intercepts?: string[] | undefined; - } & { - response: { - url: string; - status: number; - protocol: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - content: { - size: number; - }; - headersSize: number | null; - bodySize: number | null; - statusText: string; - fromCache: boolean; - mimeType: string; - bytesReceived: number; - authChallenge?: { - realm: string; - scheme: string; - } | undefined; - }; - }; - method: "network.responseStarted"; -}>>]>>, z.ZodLazy; - params: z.ZodLazy; - data: any; - source: z.ZodLazy; - context: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - realm: string; - context?: string | undefined; - }, { - realm: string; - context?: string | undefined; - }>>; - }, "strip", z.ZodTypeAny, { - channel: string; - source: { - realm: string; - context?: string | undefined; - }; - data?: any; - }, { - channel: string; - source: { - realm: string; - context?: string | undefined; - }; - data?: any; - }>>; -}, "strip", z.ZodTypeAny, { - params: { - channel: string; - source: { - realm: string; - context?: string | undefined; - }; - data?: any; - }; - method: "script.message"; -}, { - params: { - channel: string; - source: { - realm: string; - context?: string | undefined; - }; - data?: any; - }; - method: "script.message"; -}>>, z.ZodLazy; - params: z.ZodLazy; - origin: z.ZodString; - }, "strip", z.ZodTypeAny, { - origin: string; - realm: string; - }, { - origin: string; - realm: string; - }>>, z.ZodObject<{ - type: z.ZodLiteral<"window">; - context: z.ZodLazy; - sandbox: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - type: "window"; - context: string; - sandbox?: string | undefined; - }, { - type: "window"; - context: string; - sandbox?: string | undefined; - }>>>, z.ZodLazy; - origin: z.ZodString; - }, "strip", z.ZodTypeAny, { - origin: string; - realm: string; - }, { - origin: string; - realm: string; - }>>, z.ZodObject<{ - type: z.ZodLiteral<"dedicated-worker">; - owners: z.ZodTuple<[z.ZodLazy], null>; - }, "strip", z.ZodTypeAny, { - type: "dedicated-worker"; - owners: [string]; - }, { - type: "dedicated-worker"; - owners: [string]; - }>>>, z.ZodLazy; - origin: z.ZodString; - }, "strip", z.ZodTypeAny, { - origin: string; - realm: string; - }, { - origin: string; - realm: string; - }>>, z.ZodObject<{ - type: z.ZodLiteral<"shared-worker">; - }, "strip", z.ZodTypeAny, { - type: "shared-worker"; - }, { - type: "shared-worker"; - }>>>, z.ZodLazy; - origin: z.ZodString; - }, "strip", z.ZodTypeAny, { - origin: string; - realm: string; - }, { - origin: string; - realm: string; - }>>, z.ZodObject<{ - type: z.ZodLiteral<"service-worker">; - }, "strip", z.ZodTypeAny, { - type: "service-worker"; - }, { - type: "service-worker"; - }>>>, z.ZodLazy; - origin: z.ZodString; - }, "strip", z.ZodTypeAny, { - origin: string; - realm: string; - }, { - origin: string; - realm: string; - }>>, z.ZodObject<{ - type: z.ZodLiteral<"worker">; - }, "strip", z.ZodTypeAny, { - type: "worker"; - }, { - type: "worker"; - }>>>, z.ZodLazy; - origin: z.ZodString; - }, "strip", z.ZodTypeAny, { - origin: string; - realm: string; - }, { - origin: string; - realm: string; - }>>, z.ZodObject<{ - type: z.ZodLiteral<"paint-worklet">; - }, "strip", z.ZodTypeAny, { - type: "paint-worklet"; - }, { - type: "paint-worklet"; - }>>>, z.ZodLazy; - origin: z.ZodString; - }, "strip", z.ZodTypeAny, { - origin: string; - realm: string; - }, { - origin: string; - realm: string; - }>>, z.ZodObject<{ - type: z.ZodLiteral<"audio-worklet">; - }, "strip", z.ZodTypeAny, { - type: "audio-worklet"; - }, { - type: "audio-worklet"; - }>>>, z.ZodLazy; - origin: z.ZodString; - }, "strip", z.ZodTypeAny, { - origin: string; - realm: string; - }, { - origin: string; - realm: string; - }>>, z.ZodObject<{ - type: z.ZodLiteral<"worklet">; - }, "strip", z.ZodTypeAny, { - type: "worklet"; - }, { - type: "worklet"; - }>>>]>>; -}, "strip", z.ZodTypeAny, { - params: ({ - origin: string; - realm: string; - } & { - type: "window"; - context: string; - sandbox?: string | undefined; - }) | ({ - origin: string; - realm: string; - } & { - type: "dedicated-worker"; - owners: [string]; - }) | ({ - origin: string; - realm: string; - } & { - type: "shared-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "service-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "paint-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "audio-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worklet"; - }); - method: "script.realmCreated"; -}, { - params: ({ - origin: string; - realm: string; - } & { - type: "window"; - context: string; - sandbox?: string | undefined; - }) | ({ - origin: string; - realm: string; - } & { - type: "dedicated-worker"; - owners: [string]; - }) | ({ - origin: string; - realm: string; - } & { - type: "shared-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "service-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "paint-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "audio-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worklet"; - }); - method: "script.realmCreated"; -}>>, z.ZodLazy; - params: z.ZodLazy; - }, "strip", z.ZodTypeAny, { - realm: string; - }, { - realm: string; - }>>; -}, "strip", z.ZodTypeAny, { - params: { - realm: string; - }; - method: "script.realmDestroyed"; -}, { - params: { - realm: string; - }; - method: "script.realmDestroyed"; -}>>]>>]>>; -export declare const CommandDataSchema: z.ZodLazy; - params: z.ZodLazy>>; -}, "strip", z.ZodTypeAny, { - params: Record; - method: "browser.close"; -}, { - params: Record; - method: "browser.close"; -}>>, z.ZodLazy; - params: z.ZodLazy>>; -}, "strip", z.ZodTypeAny, { - params: Record; - method: "browser.createUserContext"; -}, { - params: Record; - method: "browser.createUserContext"; -}>>, z.ZodLazy; - params: z.ZodLazy>>; -}, "strip", z.ZodTypeAny, { - params: Record; - method: "browser.getUserContexts"; -}, { - params: Record; - method: "browser.getUserContexts"; -}>>, z.ZodLazy; - params: z.ZodLazy; - }, "strip", z.ZodTypeAny, { - userContext: string; - }, { - userContext: string; - }>>; -}, "strip", z.ZodTypeAny, { - params: { - userContext: string; - }; - method: "browser.removeUserContext"; -}, { - params: { - userContext: string; - }; - method: "browser.removeUserContext"; -}>>]>>, z.ZodLazy; - params: z.ZodLazy; - }, "strip", z.ZodTypeAny, { - context: string; - }, { - context: string; - }>>; -}, "strip", z.ZodTypeAny, { - params: { - context: string; - }; - method: "browsingContext.activate"; -}, { - params: { - context: string; - }; - method: "browsingContext.activate"; -}>>, z.ZodLazy; - params: z.ZodLazy; - origin: z.ZodOptional>>; - format: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - type: string; - quality?: number | undefined; - }, { - type: string; - quality?: number | undefined; - }>>>; - clip: z.ZodOptional; - x: z.ZodNumber; - y: z.ZodNumber; - width: z.ZodNumber; - height: z.ZodNumber; - }, "strip", z.ZodTypeAny, { - type: "box"; - x: number; - y: number; - width: number; - height: number; - }, { - type: "box"; - x: number; - y: number; - width: number; - height: number; - }>>, z.ZodLazy; - element: z.ZodLazy; - handle: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - sharedId: string; - handle?: string | undefined; - }, { - sharedId: string; - handle?: string | undefined; - }>, z.ZodLazy>>>; - }, "strip", z.ZodTypeAny, { - type: "element"; - element: { - sharedId: string; - handle?: string | undefined; - } & Record; - }, { - type: "element"; - element: { - sharedId: string; - handle?: string | undefined; - } & Record; - }>>]>>>; - }, "strip", z.ZodTypeAny, { - context: string; - origin?: "viewport" | "document" | undefined; - format?: { - type: string; - quality?: number | undefined; - } | undefined; - clip?: { - type: "box"; - x: number; - y: number; - width: number; - height: number; - } | { - type: "element"; - element: { - sharedId: string; - handle?: string | undefined; - } & Record; - } | undefined; - }, { - context: string; - origin?: "viewport" | "document" | undefined; - format?: { - type: string; - quality?: number | undefined; - } | undefined; - clip?: { - type: "box"; - x: number; - y: number; - width: number; - height: number; - } | { - type: "element"; - element: { - sharedId: string; - handle?: string | undefined; - } & Record; - } | undefined; - }>>; -}, "strip", z.ZodTypeAny, { - params: { - context: string; - origin?: "viewport" | "document" | undefined; - format?: { - type: string; - quality?: number | undefined; - } | undefined; - clip?: { - type: "box"; - x: number; - y: number; - width: number; - height: number; - } | { - type: "element"; - element: { - sharedId: string; - handle?: string | undefined; - } & Record; - } | undefined; - }; - method: "browsingContext.captureScreenshot"; -}, { - params: { - context: string; - origin?: "viewport" | "document" | undefined; - format?: { - type: string; - quality?: number | undefined; - } | undefined; - clip?: { - type: "box"; - x: number; - y: number; - width: number; - height: number; - } | { - type: "element"; - element: { - sharedId: string; - handle?: string | undefined; - } & Record; - } | undefined; - }; - method: "browsingContext.captureScreenshot"; -}>>, z.ZodLazy; - params: z.ZodLazy; - promptUnload: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - context: string; - promptUnload?: boolean | undefined; - }, { - context: string; - promptUnload?: boolean | undefined; - }>>; -}, "strip", z.ZodTypeAny, { - params: { - context: string; - promptUnload?: boolean | undefined; - }; - method: "browsingContext.close"; -}, { - params: { - context: string; - promptUnload?: boolean | undefined; - }; - method: "browsingContext.close"; -}>>, z.ZodLazy; - params: z.ZodLazy>; - referenceContext: z.ZodOptional>; - background: z.ZodOptional>; - userContext: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - type: "window" | "tab"; - referenceContext?: string | undefined; - background?: boolean | undefined; - userContext?: string | undefined; - }, { - type: "window" | "tab"; - referenceContext?: string | undefined; - background?: boolean | undefined; - userContext?: string | undefined; - }>>; -}, "strip", z.ZodTypeAny, { - params: { - type: "window" | "tab"; - referenceContext?: string | undefined; - background?: boolean | undefined; - userContext?: string | undefined; - }; - method: "browsingContext.create"; -}, { - params: { - type: "window" | "tab"; - referenceContext?: string | undefined; - background?: boolean | undefined; - userContext?: string | undefined; - }; - method: "browsingContext.create"; -}>>, z.ZodLazy; - params: z.ZodLazy>; - root: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - maxDepth?: number | undefined; - root?: string | undefined; - }, { - maxDepth?: number | undefined; - root?: string | undefined; - }>>; -}, "strip", z.ZodTypeAny, { - params: { - maxDepth?: number | undefined; - root?: string | undefined; - }; - method: "browsingContext.getTree"; -}, { - params: { - maxDepth?: number | undefined; - root?: string | undefined; - }; - method: "browsingContext.getTree"; -}>>, z.ZodLazy; - params: z.ZodLazy; - accept: z.ZodOptional; - userText: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - context: string; - accept?: boolean | undefined; - userText?: string | undefined; - }, { - context: string; - accept?: boolean | undefined; - userText?: string | undefined; - }>>; -}, "strip", z.ZodTypeAny, { - params: { - context: string; - accept?: boolean | undefined; - userText?: string | undefined; - }; - method: "browsingContext.handleUserPrompt"; -}, { - params: { - context: string; - accept?: boolean | undefined; - userText?: string | undefined; - }; - method: "browsingContext.handleUserPrompt"; -}>>, z.ZodLazy; - params: z.ZodLazy; - locator: z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "css"; - value: string; - }, { - type: "css"; - value: string; - }>>, z.ZodLazy; - value: z.ZodString; - ignoreCase: z.ZodOptional; - matchType: z.ZodOptional>; - maxDepth: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - type: "innerText"; - value: string; - ignoreCase?: boolean | undefined; - matchType?: "partial" | "full" | undefined; - maxDepth?: number | undefined; - }, { - type: "innerText"; - value: string; - ignoreCase?: boolean | undefined; - matchType?: "partial" | "full" | undefined; - maxDepth?: number | undefined; - }>>, z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "xpath"; - value: string; - }, { - type: "xpath"; - value: string; - }>>]>>; - maxNodeCount: any; - ownership: z.ZodOptional>>; - sandbox: z.ZodOptional; - serializationOptions: z.ZodOptional, z.ZodNull]>>>; - maxObjectDepth: z.ZodOptional, z.ZodNull]>>>; - includeShadowTree: z.ZodOptional>>; - }, "strip", z.ZodTypeAny, { - maxDomDepth?: number | null | undefined; - maxObjectDepth?: number | null | undefined; - includeShadowTree?: "none" | "all" | "open" | undefined; - }, { - maxDomDepth?: number | null | undefined; - maxObjectDepth?: number | null | undefined; - includeShadowTree?: "none" | "all" | "open" | undefined; - }>>>; - startNodes: z.ZodOptional; - handle: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - sharedId: string; - handle?: string | undefined; - }, { - sharedId: string; - handle?: string | undefined; - }>, z.ZodLazy>>>, "many">>; - }, "strip", z.ZodTypeAny, { - [x: string]: any; - context?: string | undefined; - locator?: { - type: "css"; - value: string; - } | { - type: "innerText"; - value: string; - ignoreCase?: boolean | undefined; - matchType?: "partial" | "full" | undefined; - maxDepth?: number | undefined; - } | { - type: "xpath"; - value: string; - } | undefined; - maxNodeCount?: any; - ownership?: "none" | "root" | undefined; - sandbox?: string | undefined; - serializationOptions?: { - maxDomDepth?: number | null | undefined; - maxObjectDepth?: number | null | undefined; - includeShadowTree?: "none" | "all" | "open" | undefined; - } | undefined; - startNodes?: ({ - sharedId: string; - handle?: string | undefined; - } & Record)[] | undefined; - }, { - [x: string]: any; - context?: string | undefined; - locator?: { - type: "css"; - value: string; - } | { - type: "innerText"; - value: string; - ignoreCase?: boolean | undefined; - matchType?: "partial" | "full" | undefined; - maxDepth?: number | undefined; - } | { - type: "xpath"; - value: string; - } | undefined; - maxNodeCount?: any; - ownership?: "none" | "root" | undefined; - sandbox?: string | undefined; - serializationOptions?: { - maxDomDepth?: number | null | undefined; - maxObjectDepth?: number | null | undefined; - includeShadowTree?: "none" | "all" | "open" | undefined; - } | undefined; - startNodes?: ({ - sharedId: string; - handle?: string | undefined; - } & Record)[] | undefined; - }>>; -}, "strip", z.ZodTypeAny, { - params: { - [x: string]: any; - context?: string | undefined; - locator?: { - type: "css"; - value: string; - } | { - type: "innerText"; - value: string; - ignoreCase?: boolean | undefined; - matchType?: "partial" | "full" | undefined; - maxDepth?: number | undefined; - } | { - type: "xpath"; - value: string; - } | undefined; - maxNodeCount?: any; - ownership?: "none" | "root" | undefined; - sandbox?: string | undefined; - serializationOptions?: { - maxDomDepth?: number | null | undefined; - maxObjectDepth?: number | null | undefined; - includeShadowTree?: "none" | "all" | "open" | undefined; - } | undefined; - startNodes?: ({ - sharedId: string; - handle?: string | undefined; - } & Record)[] | undefined; - }; - method: "browsingContext.locateNodes"; -}, { - params: { - [x: string]: any; - context?: string | undefined; - locator?: { - type: "css"; - value: string; - } | { - type: "innerText"; - value: string; - ignoreCase?: boolean | undefined; - matchType?: "partial" | "full" | undefined; - maxDepth?: number | undefined; - } | { - type: "xpath"; - value: string; - } | undefined; - maxNodeCount?: any; - ownership?: "none" | "root" | undefined; - sandbox?: string | undefined; - serializationOptions?: { - maxDomDepth?: number | null | undefined; - maxObjectDepth?: number | null | undefined; - includeShadowTree?: "none" | "all" | "open" | undefined; - } | undefined; - startNodes?: ({ - sharedId: string; - handle?: string | undefined; - } & Record)[] | undefined; - }; - method: "browsingContext.locateNodes"; -}>>, z.ZodLazy; - params: z.ZodLazy; - url: z.ZodString; - wait: z.ZodOptional>>; - }, "strip", z.ZodTypeAny, { - url: string; - context: string; - wait?: "none" | "interactive" | "complete" | undefined; - }, { - url: string; - context: string; - wait?: "none" | "interactive" | "complete" | undefined; - }>>; -}, "strip", z.ZodTypeAny, { - params: { - url: string; - context: string; - wait?: "none" | "interactive" | "complete" | undefined; - }; - method: "browsingContext.navigate"; -}, { - params: { - url: string; - context: string; - wait?: "none" | "interactive" | "complete" | undefined; - }; - method: "browsingContext.navigate"; -}>>, z.ZodLazy; - params: z.ZodLazy; - background: z.ZodOptional>; - margin: z.ZodOptional>; - left: z.ZodOptional>; - right: z.ZodOptional>; - top: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - bottom?: number | undefined; - left?: number | undefined; - right?: number | undefined; - top?: number | undefined; - }, { - bottom?: number | undefined; - left?: number | undefined; - right?: number | undefined; - top?: number | undefined; - }>>>; - orientation: z.ZodOptional>>; - page: z.ZodOptional>; - width: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - height?: number | undefined; - width?: number | undefined; - }, { - height?: number | undefined; - width?: number | undefined; - }>>>; - pageRanges: z.ZodOptional, z.ZodString]>, "many">>; - scale: z.ZodOptional>; - shrinkToFit: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - context: string; - background?: boolean | undefined; - margin?: { - bottom?: number | undefined; - left?: number | undefined; - right?: number | undefined; - top?: number | undefined; - } | undefined; - orientation?: "portrait" | "landscape" | undefined; - page?: { - height?: number | undefined; - width?: number | undefined; - } | undefined; - pageRanges?: (string | number)[] | undefined; - scale?: number | undefined; - shrinkToFit?: boolean | undefined; - }, { - context: string; - background?: boolean | undefined; - margin?: { - bottom?: number | undefined; - left?: number | undefined; - right?: number | undefined; - top?: number | undefined; - } | undefined; - orientation?: "portrait" | "landscape" | undefined; - page?: { - height?: number | undefined; - width?: number | undefined; - } | undefined; - pageRanges?: (string | number)[] | undefined; - scale?: number | undefined; - shrinkToFit?: boolean | undefined; - }>>; -}, "strip", z.ZodTypeAny, { - params: { - context: string; - background?: boolean | undefined; - margin?: { - bottom?: number | undefined; - left?: number | undefined; - right?: number | undefined; - top?: number | undefined; - } | undefined; - orientation?: "portrait" | "landscape" | undefined; - page?: { - height?: number | undefined; - width?: number | undefined; - } | undefined; - pageRanges?: (string | number)[] | undefined; - scale?: number | undefined; - shrinkToFit?: boolean | undefined; - }; - method: "browsingContext.print"; -}, { - params: { - context: string; - background?: boolean | undefined; - margin?: { - bottom?: number | undefined; - left?: number | undefined; - right?: number | undefined; - top?: number | undefined; - } | undefined; - orientation?: "portrait" | "landscape" | undefined; - page?: { - height?: number | undefined; - width?: number | undefined; - } | undefined; - pageRanges?: (string | number)[] | undefined; - scale?: number | undefined; - shrinkToFit?: boolean | undefined; - }; - method: "browsingContext.print"; -}>>, z.ZodLazy; - params: z.ZodLazy; - ignoreCache: z.ZodOptional; - wait: z.ZodOptional>>; - }, "strip", z.ZodTypeAny, { - context: string; - ignoreCache?: boolean | undefined; - wait?: "none" | "interactive" | "complete" | undefined; - }, { - context: string; - ignoreCache?: boolean | undefined; - wait?: "none" | "interactive" | "complete" | undefined; - }>>; -}, "strip", z.ZodTypeAny, { - params: { - context: string; - ignoreCache?: boolean | undefined; - wait?: "none" | "interactive" | "complete" | undefined; - }; - method: "browsingContext.reload"; -}, { - params: { - context: string; - ignoreCache?: boolean | undefined; - wait?: "none" | "interactive" | "complete" | undefined; - }; - method: "browsingContext.reload"; -}>>, z.ZodLazy; - params: z.ZodLazy; - viewport: z.ZodOptional; - height: z.ZodLazy; - }, "strip", z.ZodTypeAny, { - width: number; - height: number; - }, { - width: number; - height: number; - }>>, z.ZodNull]>>; - devicePixelRatio: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - context: string; - viewport?: { - width: number; - height: number; - } | null | undefined; - devicePixelRatio?: number | null | undefined; - }, { - context: string; - viewport?: { - width: number; - height: number; - } | null | undefined; - devicePixelRatio?: number | null | undefined; - }>>; -}, "strip", z.ZodTypeAny, { - params: { - context: string; - viewport?: { - width: number; - height: number; - } | null | undefined; - devicePixelRatio?: number | null | undefined; - }; - method: "browsingContext.setViewport"; -}, { - params: { - context: string; - viewport?: { - width: number; - height: number; - } | null | undefined; - devicePixelRatio?: number | null | undefined; - }; - method: "browsingContext.setViewport"; -}>>, z.ZodLazy; - params: z.ZodLazy; - delta: z.ZodLazy; - }, "strip", z.ZodTypeAny, { - context: string; - delta: number; - }, { - context: string; - delta: number; - }>>; -}, "strip", z.ZodTypeAny, { - params: { - context: string; - delta: number; - }; - method: "browsingContext.traverseHistory"; -}, { - params: { - context: string; - delta: number; - }; - method: "browsingContext.traverseHistory"; -}>>]>>, z.ZodLazy; - params: z.ZodLazy; - actions: z.ZodArray; - id: z.ZodString; - actions: z.ZodArray; - duration: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - type: "pause"; - duration?: number | undefined; - }, { - type: "pause"; - duration?: number | undefined; - }>>>, "many">; - }, "strip", z.ZodTypeAny, { - type: "none"; - actions: { - type: "pause"; - duration?: number | undefined; - }[]; - id: string; - }, { - type: "none"; - actions: { - type: "pause"; - duration?: number | undefined; - }[]; - id: string; - }>>, z.ZodLazy; - id: z.ZodString; - actions: z.ZodArray; - duration: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - type: "pause"; - duration?: number | undefined; - }, { - type: "pause"; - duration?: number | undefined; - }>>, z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "keyDown"; - value: string; - }, { - type: "keyDown"; - value: string; - }>>, z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "keyUp"; - value: string; - }, { - type: "keyUp"; - value: string; - }>>]>>, "many">; - }, "strip", z.ZodTypeAny, { - type: "key"; - actions: ({ - type: "pause"; - duration?: number | undefined; - } | { - type: "keyDown"; - value: string; - } | { - type: "keyUp"; - value: string; - })[]; - id: string; - }, { - type: "key"; - actions: ({ - type: "pause"; - duration?: number | undefined; - } | { - type: "keyDown"; - value: string; - } | { - type: "keyUp"; - value: string; - })[]; - id: string; - }>>, z.ZodLazy; - id: z.ZodString; - parameters: z.ZodOptional>>>; - }, "strip", z.ZodTypeAny, { - pointerType?: "touch" | "mouse" | "pen" | undefined; - }, { - pointerType?: "touch" | "mouse" | "pen" | undefined; - }>>>; - actions: z.ZodArray; - duration: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - type: "pause"; - duration?: number | undefined; - }, { - type: "pause"; - duration?: number | undefined; - }>>, z.ZodLazy; - button: z.ZodLazy; - }, "strip", z.ZodTypeAny, { - type: "pointerDown"; - button: number; - }, { - type: "pointerDown"; - button: number; - }>, z.ZodLazy>>; - height: z.ZodOptional>>; - pressure: z.ZodOptional>; - tangentialPressure: z.ZodOptional>; - twist: z.ZodOptional>; - altitudeAngle: z.ZodOptional>; - azimuthAngle: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - width?: number | undefined; - height?: number | undefined; - pressure?: number | undefined; - tangentialPressure?: number | undefined; - twist?: number | undefined; - altitudeAngle?: number | undefined; - azimuthAngle?: number | undefined; - }, { - width?: number | undefined; - height?: number | undefined; - pressure?: number | undefined; - tangentialPressure?: number | undefined; - twist?: number | undefined; - altitudeAngle?: number | undefined; - azimuthAngle?: number | undefined; - }>>>>, z.ZodLazy; - button: z.ZodLazy; - }, "strip", z.ZodTypeAny, { - type: "pointerUp"; - button: number; - }, { - type: "pointerUp"; - button: number; - }>>, z.ZodLazy; - x: z.ZodLazy; - y: z.ZodLazy; - duration: z.ZodOptional>; - origin: z.ZodOptional, z.ZodLiteral<"pointer">, z.ZodLazy; - element: z.ZodLazy; - handle: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - sharedId: string; - handle?: string | undefined; - }, { - sharedId: string; - handle?: string | undefined; - }>, z.ZodLazy>>>; - }, "strip", z.ZodTypeAny, { - type: "element"; - element: { - sharedId: string; - handle?: string | undefined; - } & Record; - }, { - type: "element"; - element: { - sharedId: string; - handle?: string | undefined; - } & Record; - }>>]>>>; - }, "strip", z.ZodTypeAny, { - type: "pointerMove"; - x: number; - y: number; - duration?: number | undefined; - origin?: "viewport" | "pointer" | { - type: "element"; - element: { - sharedId: string; - handle?: string | undefined; - } & Record; - } | undefined; - }, { - type: "pointerMove"; - x: number; - y: number; - duration?: number | undefined; - origin?: "viewport" | "pointer" | { - type: "element"; - element: { - sharedId: string; - handle?: string | undefined; - } & Record; - } | undefined; - }>, z.ZodLazy>>; - height: z.ZodOptional>>; - pressure: z.ZodOptional>; - tangentialPressure: z.ZodOptional>; - twist: z.ZodOptional>; - altitudeAngle: z.ZodOptional>; - azimuthAngle: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - width?: number | undefined; - height?: number | undefined; - pressure?: number | undefined; - tangentialPressure?: number | undefined; - twist?: number | undefined; - altitudeAngle?: number | undefined; - azimuthAngle?: number | undefined; - }, { - width?: number | undefined; - height?: number | undefined; - pressure?: number | undefined; - tangentialPressure?: number | undefined; - twist?: number | undefined; - altitudeAngle?: number | undefined; - azimuthAngle?: number | undefined; - }>>>>]>>, "many">; - }, "strip", z.ZodTypeAny, { - type: "pointer"; - actions: ({ - type: "pause"; - duration?: number | undefined; - } | ({ - type: "pointerDown"; - button: number; - } & { - width?: number | undefined; - height?: number | undefined; - pressure?: number | undefined; - tangentialPressure?: number | undefined; - twist?: number | undefined; - altitudeAngle?: number | undefined; - azimuthAngle?: number | undefined; - }) | { - type: "pointerUp"; - button: number; - } | ({ - type: "pointerMove"; - x: number; - y: number; - duration?: number | undefined; - origin?: "viewport" | "pointer" | { - type: "element"; - element: { - sharedId: string; - handle?: string | undefined; - } & Record; - } | undefined; - } & { - width?: number | undefined; - height?: number | undefined; - pressure?: number | undefined; - tangentialPressure?: number | undefined; - twist?: number | undefined; - altitudeAngle?: number | undefined; - azimuthAngle?: number | undefined; - }))[]; - id: string; - parameters?: { - pointerType?: "touch" | "mouse" | "pen" | undefined; - } | undefined; - }, { - type: "pointer"; - actions: ({ - type: "pause"; - duration?: number | undefined; - } | ({ - type: "pointerDown"; - button: number; - } & { - width?: number | undefined; - height?: number | undefined; - pressure?: number | undefined; - tangentialPressure?: number | undefined; - twist?: number | undefined; - altitudeAngle?: number | undefined; - azimuthAngle?: number | undefined; - }) | { - type: "pointerUp"; - button: number; - } | ({ - type: "pointerMove"; - x: number; - y: number; - duration?: number | undefined; - origin?: "viewport" | "pointer" | { - type: "element"; - element: { - sharedId: string; - handle?: string | undefined; - } & Record; - } | undefined; - } & { - width?: number | undefined; - height?: number | undefined; - pressure?: number | undefined; - tangentialPressure?: number | undefined; - twist?: number | undefined; - altitudeAngle?: number | undefined; - azimuthAngle?: number | undefined; - }))[]; - id: string; - parameters?: { - pointerType?: "touch" | "mouse" | "pen" | undefined; - } | undefined; - }>>, z.ZodLazy; - id: z.ZodString; - actions: z.ZodArray; - duration: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - type: "pause"; - duration?: number | undefined; - }, { - type: "pause"; - duration?: number | undefined; - }>>, z.ZodLazy; - x: z.ZodLazy; - y: z.ZodLazy; - deltaX: z.ZodLazy; - deltaY: z.ZodLazy; - duration: z.ZodOptional>; - origin: z.ZodOptional, z.ZodLiteral<"pointer">, z.ZodLazy; - element: z.ZodLazy; - handle: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - sharedId: string; - handle?: string | undefined; - }, { - sharedId: string; - handle?: string | undefined; - }>, z.ZodLazy>>>; - }, "strip", z.ZodTypeAny, { - type: "element"; - element: { - sharedId: string; - handle?: string | undefined; - } & Record; - }, { - type: "element"; - element: { - sharedId: string; - handle?: string | undefined; - } & Record; - }>>]>>>>; - }, "strip", z.ZodTypeAny, { - type: "scroll"; - x: number; - y: number; - deltaX: number; - deltaY: number; - duration?: number | undefined; - origin?: "viewport" | "pointer" | { - type: "element"; - element: { - sharedId: string; - handle?: string | undefined; - } & Record; - } | undefined; - }, { - type: "scroll"; - x: number; - y: number; - deltaX: number; - deltaY: number; - duration?: number | undefined; - origin?: "viewport" | "pointer" | { - type: "element"; - element: { - sharedId: string; - handle?: string | undefined; - } & Record; - } | undefined; - }>>]>>, "many">; - }, "strip", z.ZodTypeAny, { - type: "wheel"; - actions: ({ - type: "pause"; - duration?: number | undefined; - } | { - type: "scroll"; - x: number; - y: number; - deltaX: number; - deltaY: number; - duration?: number | undefined; - origin?: "viewport" | "pointer" | { - type: "element"; - element: { - sharedId: string; - handle?: string | undefined; - } & Record; - } | undefined; - })[]; - id: string; - }, { - type: "wheel"; - actions: ({ - type: "pause"; - duration?: number | undefined; - } | { - type: "scroll"; - x: number; - y: number; - deltaX: number; - deltaY: number; - duration?: number | undefined; - origin?: "viewport" | "pointer" | { - type: "element"; - element: { - sharedId: string; - handle?: string | undefined; - } & Record; - } | undefined; - })[]; - id: string; - }>>]>>, "many">; - }, "strip", z.ZodTypeAny, { - context: string; - actions: ({ - type: "none"; - actions: { - type: "pause"; - duration?: number | undefined; - }[]; - id: string; - } | { - type: "key"; - actions: ({ - type: "pause"; - duration?: number | undefined; - } | { - type: "keyDown"; - value: string; - } | { - type: "keyUp"; - value: string; - })[]; - id: string; - } | { - type: "pointer"; - actions: ({ - type: "pause"; - duration?: number | undefined; - } | ({ - type: "pointerDown"; - button: number; - } & { - width?: number | undefined; - height?: number | undefined; - pressure?: number | undefined; - tangentialPressure?: number | undefined; - twist?: number | undefined; - altitudeAngle?: number | undefined; - azimuthAngle?: number | undefined; - }) | { - type: "pointerUp"; - button: number; - } | ({ - type: "pointerMove"; - x: number; - y: number; - duration?: number | undefined; - origin?: "viewport" | "pointer" | { - type: "element"; - element: { - sharedId: string; - handle?: string | undefined; - } & Record; - } | undefined; - } & { - width?: number | undefined; - height?: number | undefined; - pressure?: number | undefined; - tangentialPressure?: number | undefined; - twist?: number | undefined; - altitudeAngle?: number | undefined; - azimuthAngle?: number | undefined; - }))[]; - id: string; - parameters?: { - pointerType?: "touch" | "mouse" | "pen" | undefined; - } | undefined; - } | { - type: "wheel"; - actions: ({ - type: "pause"; - duration?: number | undefined; - } | { - type: "scroll"; - x: number; - y: number; - deltaX: number; - deltaY: number; - duration?: number | undefined; - origin?: "viewport" | "pointer" | { - type: "element"; - element: { - sharedId: string; - handle?: string | undefined; - } & Record; - } | undefined; - })[]; - id: string; - })[]; - }, { - context: string; - actions: ({ - type: "none"; - actions: { - type: "pause"; - duration?: number | undefined; - }[]; - id: string; - } | { - type: "key"; - actions: ({ - type: "pause"; - duration?: number | undefined; - } | { - type: "keyDown"; - value: string; - } | { - type: "keyUp"; - value: string; - })[]; - id: string; - } | { - type: "pointer"; - actions: ({ - type: "pause"; - duration?: number | undefined; - } | ({ - type: "pointerDown"; - button: number; - } & { - width?: number | undefined; - height?: number | undefined; - pressure?: number | undefined; - tangentialPressure?: number | undefined; - twist?: number | undefined; - altitudeAngle?: number | undefined; - azimuthAngle?: number | undefined; - }) | { - type: "pointerUp"; - button: number; - } | ({ - type: "pointerMove"; - x: number; - y: number; - duration?: number | undefined; - origin?: "viewport" | "pointer" | { - type: "element"; - element: { - sharedId: string; - handle?: string | undefined; - } & Record; - } | undefined; - } & { - width?: number | undefined; - height?: number | undefined; - pressure?: number | undefined; - tangentialPressure?: number | undefined; - twist?: number | undefined; - altitudeAngle?: number | undefined; - azimuthAngle?: number | undefined; - }))[]; - id: string; - parameters?: { - pointerType?: "touch" | "mouse" | "pen" | undefined; - } | undefined; - } | { - type: "wheel"; - actions: ({ - type: "pause"; - duration?: number | undefined; - } | { - type: "scroll"; - x: number; - y: number; - deltaX: number; - deltaY: number; - duration?: number | undefined; - origin?: "viewport" | "pointer" | { - type: "element"; - element: { - sharedId: string; - handle?: string | undefined; - } & Record; - } | undefined; - })[]; - id: string; - })[]; - }>>; -}, "strip", z.ZodTypeAny, { - params: { - context: string; - actions: ({ - type: "none"; - actions: { - type: "pause"; - duration?: number | undefined; - }[]; - id: string; - } | { - type: "key"; - actions: ({ - type: "pause"; - duration?: number | undefined; - } | { - type: "keyDown"; - value: string; - } | { - type: "keyUp"; - value: string; - })[]; - id: string; - } | { - type: "pointer"; - actions: ({ - type: "pause"; - duration?: number | undefined; - } | ({ - type: "pointerDown"; - button: number; - } & { - width?: number | undefined; - height?: number | undefined; - pressure?: number | undefined; - tangentialPressure?: number | undefined; - twist?: number | undefined; - altitudeAngle?: number | undefined; - azimuthAngle?: number | undefined; - }) | { - type: "pointerUp"; - button: number; - } | ({ - type: "pointerMove"; - x: number; - y: number; - duration?: number | undefined; - origin?: "viewport" | "pointer" | { - type: "element"; - element: { - sharedId: string; - handle?: string | undefined; - } & Record; - } | undefined; - } & { - width?: number | undefined; - height?: number | undefined; - pressure?: number | undefined; - tangentialPressure?: number | undefined; - twist?: number | undefined; - altitudeAngle?: number | undefined; - azimuthAngle?: number | undefined; - }))[]; - id: string; - parameters?: { - pointerType?: "touch" | "mouse" | "pen" | undefined; - } | undefined; - } | { - type: "wheel"; - actions: ({ - type: "pause"; - duration?: number | undefined; - } | { - type: "scroll"; - x: number; - y: number; - deltaX: number; - deltaY: number; - duration?: number | undefined; - origin?: "viewport" | "pointer" | { - type: "element"; - element: { - sharedId: string; - handle?: string | undefined; - } & Record; - } | undefined; - })[]; - id: string; - })[]; - }; - method: "input.performActions"; -}, { - params: { - context: string; - actions: ({ - type: "none"; - actions: { - type: "pause"; - duration?: number | undefined; - }[]; - id: string; - } | { - type: "key"; - actions: ({ - type: "pause"; - duration?: number | undefined; - } | { - type: "keyDown"; - value: string; - } | { - type: "keyUp"; - value: string; - })[]; - id: string; - } | { - type: "pointer"; - actions: ({ - type: "pause"; - duration?: number | undefined; - } | ({ - type: "pointerDown"; - button: number; - } & { - width?: number | undefined; - height?: number | undefined; - pressure?: number | undefined; - tangentialPressure?: number | undefined; - twist?: number | undefined; - altitudeAngle?: number | undefined; - azimuthAngle?: number | undefined; - }) | { - type: "pointerUp"; - button: number; - } | ({ - type: "pointerMove"; - x: number; - y: number; - duration?: number | undefined; - origin?: "viewport" | "pointer" | { - type: "element"; - element: { - sharedId: string; - handle?: string | undefined; - } & Record; - } | undefined; - } & { - width?: number | undefined; - height?: number | undefined; - pressure?: number | undefined; - tangentialPressure?: number | undefined; - twist?: number | undefined; - altitudeAngle?: number | undefined; - azimuthAngle?: number | undefined; - }))[]; - id: string; - parameters?: { - pointerType?: "touch" | "mouse" | "pen" | undefined; - } | undefined; - } | { - type: "wheel"; - actions: ({ - type: "pause"; - duration?: number | undefined; - } | { - type: "scroll"; - x: number; - y: number; - deltaX: number; - deltaY: number; - duration?: number | undefined; - origin?: "viewport" | "pointer" | { - type: "element"; - element: { - sharedId: string; - handle?: string | undefined; - } & Record; - } | undefined; - })[]; - id: string; - })[]; - }; - method: "input.performActions"; -}>>, z.ZodLazy; - params: z.ZodLazy; - }, "strip", z.ZodTypeAny, { - context: string; - }, { - context: string; - }>>; -}, "strip", z.ZodTypeAny, { - params: { - context: string; - }; - method: "input.releaseActions"; -}, { - params: { - context: string; - }; - method: "input.releaseActions"; -}>>, z.ZodLazy; - params: z.ZodLazy; - element: z.ZodLazy; - handle: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - sharedId: string; - handle?: string | undefined; - }, { - sharedId: string; - handle?: string | undefined; - }>, z.ZodLazy>>>; - files: z.ZodArray; - }, "strip", z.ZodTypeAny, { - element: { - sharedId: string; - handle?: string | undefined; - } & Record; - context: string; - files: string[]; - }, { - element: { - sharedId: string; - handle?: string | undefined; - } & Record; - context: string; - files: string[]; - }>>; -}, "strip", z.ZodTypeAny, { - params: { - element: { - sharedId: string; - handle?: string | undefined; - } & Record; - context: string; - files: string[]; - }; - method: "input.setFiles"; -}, { - params: { - element: { - sharedId: string; - handle?: string | undefined; - } & Record; - context: string; - files: string[]; - }; - method: "input.setFiles"; -}>>]>>, z.ZodLazy; - params: z.ZodLazy>, "many">; - contexts: z.ZodOptional, "many">>; - urlPatterns: z.ZodOptional; - protocol: z.ZodOptional; - hostname: z.ZodOptional; - port: z.ZodOptional; - pathname: z.ZodOptional; - search: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - type: "pattern"; - protocol?: string | undefined; - hostname?: string | undefined; - port?: string | undefined; - pathname?: string | undefined; - search?: string | undefined; - }, { - type: "pattern"; - protocol?: string | undefined; - hostname?: string | undefined; - port?: string | undefined; - pathname?: string | undefined; - search?: string | undefined; - }>>, z.ZodLazy; - pattern: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "string"; - pattern: string; - }, { - type: "string"; - pattern: string; - }>>]>>, "many">>; - }, "strip", z.ZodTypeAny, { - phases: ("beforeRequestSent" | "responseStarted" | "authRequired")[]; - contexts?: string[] | undefined; - urlPatterns?: ({ - type: "pattern"; - protocol?: string | undefined; - hostname?: string | undefined; - port?: string | undefined; - pathname?: string | undefined; - search?: string | undefined; - } | { - type: "string"; - pattern: string; - })[] | undefined; - }, { - phases: ("beforeRequestSent" | "responseStarted" | "authRequired")[]; - contexts?: string[] | undefined; - urlPatterns?: ({ - type: "pattern"; - protocol?: string | undefined; - hostname?: string | undefined; - port?: string | undefined; - pathname?: string | undefined; - search?: string | undefined; - } | { - type: "string"; - pattern: string; - })[] | undefined; - }>>; -}, "strip", z.ZodTypeAny, { - params: { - phases: ("beforeRequestSent" | "responseStarted" | "authRequired")[]; - contexts?: string[] | undefined; - urlPatterns?: ({ - type: "pattern"; - protocol?: string | undefined; - hostname?: string | undefined; - port?: string | undefined; - pathname?: string | undefined; - search?: string | undefined; - } | { - type: "string"; - pattern: string; - })[] | undefined; - }; - method: "network.addIntercept"; -}, { - params: { - phases: ("beforeRequestSent" | "responseStarted" | "authRequired")[]; - contexts?: string[] | undefined; - urlPatterns?: ({ - type: "pattern"; - protocol?: string | undefined; - hostname?: string | undefined; - port?: string | undefined; - pathname?: string | undefined; - search?: string | undefined; - } | { - type: "string"; - pattern: string; - })[] | undefined; - }; - method: "network.addIntercept"; -}>>, z.ZodLazy; - params: z.ZodLazy; - body: z.ZodOptional; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "string"; - value: string; - }, { - type: "string"; - value: string; - }>>, z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "base64"; - value: string; - }, { - type: "base64"; - value: string; - }>>]>>>; - cookies: z.ZodOptional; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "string"; - value: string; - }, { - type: "string"; - value: string; - }>>, z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "base64"; - value: string; - }, { - type: "base64"; - value: string; - }>>]>>; - }, "strip", z.ZodTypeAny, { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }, { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }>>, "many">>; - headers: z.ZodOptional; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "string"; - value: string; - }, { - type: "string"; - value: string; - }>>, z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "base64"; - value: string; - }, { - type: "base64"; - value: string; - }>>]>>; - }, "strip", z.ZodTypeAny, { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }, { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }>>, "many">>; - method: z.ZodOptional; - url: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - request: string; - body?: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - } | undefined; - cookies?: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[] | undefined; - headers?: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[] | undefined; - method?: string | undefined; - url?: string | undefined; - }, { - request: string; - body?: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - } | undefined; - cookies?: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[] | undefined; - headers?: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[] | undefined; - method?: string | undefined; - url?: string | undefined; - }>>; -}, "strip", z.ZodTypeAny, { - params: { - request: string; - body?: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - } | undefined; - cookies?: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[] | undefined; - headers?: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[] | undefined; - method?: string | undefined; - url?: string | undefined; - }; - method: "network.continueRequest"; -}, { - params: { - request: string; - body?: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - } | undefined; - cookies?: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[] | undefined; - headers?: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[] | undefined; - method?: string | undefined; - url?: string | undefined; - }; - method: "network.continueRequest"; -}>>, z.ZodLazy; - params: z.ZodLazy; - cookies: z.ZodOptional; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "string"; - value: string; - }, { - type: "string"; - value: string; - }>>, z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "base64"; - value: string; - }, { - type: "base64"; - value: string; - }>>]>>; - domain: z.ZodOptional; - httpOnly: z.ZodOptional; - expiry: z.ZodOptional; - maxAge: z.ZodOptional>; - path: z.ZodOptional; - sameSite: z.ZodOptional>>; - secure: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - domain?: string | undefined; - httpOnly?: boolean | undefined; - expiry?: string | undefined; - maxAge?: number | undefined; - path?: string | undefined; - sameSite?: "strict" | "none" | "lax" | undefined; - secure?: boolean | undefined; - }, { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - domain?: string | undefined; - httpOnly?: boolean | undefined; - expiry?: string | undefined; - maxAge?: number | undefined; - path?: string | undefined; - sameSite?: "strict" | "none" | "lax" | undefined; - secure?: boolean | undefined; - }>>, "many">>; - credentials: z.ZodOptional; - username: z.ZodString; - password: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "password"; - password: string; - username: string; - }, { - type: "password"; - password: string; - username: string; - }>>>; - headers: z.ZodOptional; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "string"; - value: string; - }, { - type: "string"; - value: string; - }>>, z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "base64"; - value: string; - }, { - type: "base64"; - value: string; - }>>]>>; - }, "strip", z.ZodTypeAny, { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }, { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }>>, "many">>; - reasonPhrase: z.ZodOptional; - statusCode: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - request: string; - cookies?: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - domain?: string | undefined; - httpOnly?: boolean | undefined; - expiry?: string | undefined; - maxAge?: number | undefined; - path?: string | undefined; - sameSite?: "strict" | "none" | "lax" | undefined; - secure?: boolean | undefined; - }[] | undefined; - credentials?: { - type: "password"; - password: string; - username: string; - } | undefined; - headers?: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[] | undefined; - reasonPhrase?: string | undefined; - statusCode?: number | undefined; - }, { - request: string; - cookies?: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - domain?: string | undefined; - httpOnly?: boolean | undefined; - expiry?: string | undefined; - maxAge?: number | undefined; - path?: string | undefined; - sameSite?: "strict" | "none" | "lax" | undefined; - secure?: boolean | undefined; - }[] | undefined; - credentials?: { - type: "password"; - password: string; - username: string; - } | undefined; - headers?: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[] | undefined; - reasonPhrase?: string | undefined; - statusCode?: number | undefined; - }>>; -}, "strip", z.ZodTypeAny, { - params: { - request: string; - cookies?: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - domain?: string | undefined; - httpOnly?: boolean | undefined; - expiry?: string | undefined; - maxAge?: number | undefined; - path?: string | undefined; - sameSite?: "strict" | "none" | "lax" | undefined; - secure?: boolean | undefined; - }[] | undefined; - credentials?: { - type: "password"; - password: string; - username: string; - } | undefined; - headers?: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[] | undefined; - reasonPhrase?: string | undefined; - statusCode?: number | undefined; - }; - method: "network.continueResponse"; -}, { - params: { - request: string; - cookies?: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - domain?: string | undefined; - httpOnly?: boolean | undefined; - expiry?: string | undefined; - maxAge?: number | undefined; - path?: string | undefined; - sameSite?: "strict" | "none" | "lax" | undefined; - secure?: boolean | undefined; - }[] | undefined; - credentials?: { - type: "password"; - password: string; - username: string; - } | undefined; - headers?: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[] | undefined; - reasonPhrase?: string | undefined; - statusCode?: number | undefined; - }; - method: "network.continueResponse"; -}>>, z.ZodLazy; - params: z.ZodLazy; - }, "strip", z.ZodTypeAny, { - request: string; - }, { - request: string; - }>, z.ZodUnion<[z.ZodLazy; - credentials: z.ZodLazy; - username: z.ZodString; - password: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "password"; - password: string; - username: string; - }, { - type: "password"; - password: string; - username: string; - }>>; - }, "strip", z.ZodTypeAny, { - credentials: { - type: "password"; - password: string; - username: string; - }; - action: "provideCredentials"; - }, { - credentials: { - type: "password"; - password: string; - username: string; - }; - action: "provideCredentials"; - }>>, z.ZodLazy; - }, "strip", z.ZodTypeAny, { - action: "default" | "cancel"; - }, { - action: "default" | "cancel"; - }>>]>>>; -}, "strip", z.ZodTypeAny, { - params: ({ - request: string; - } & { - credentials: { - type: "password"; - password: string; - username: string; - }; - action: "provideCredentials"; - }) | ({ - request: string; - } & { - action: "default" | "cancel"; - }); - method: "network.continueWithAuth"; -}, { - params: ({ - request: string; - } & { - credentials: { - type: "password"; - password: string; - username: string; - }; - action: "provideCredentials"; - }) | ({ - request: string; - } & { - action: "default" | "cancel"; - }); - method: "network.continueWithAuth"; -}>>, z.ZodLazy; - params: z.ZodLazy; - }, "strip", z.ZodTypeAny, { - request: string; - }, { - request: string; - }>>; -}, "strip", z.ZodTypeAny, { - params: { - request: string; - }; - method: "network.failRequest"; -}, { - params: { - request: string; - }; - method: "network.failRequest"; -}>>, z.ZodLazy; - params: z.ZodLazy; - body: z.ZodOptional; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "string"; - value: string; - }, { - type: "string"; - value: string; - }>>, z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "base64"; - value: string; - }, { - type: "base64"; - value: string; - }>>]>>>; - cookies: z.ZodOptional; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "string"; - value: string; - }, { - type: "string"; - value: string; - }>>, z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "base64"; - value: string; - }, { - type: "base64"; - value: string; - }>>]>>; - domain: z.ZodOptional; - httpOnly: z.ZodOptional; - expiry: z.ZodOptional; - maxAge: z.ZodOptional>; - path: z.ZodOptional; - sameSite: z.ZodOptional>>; - secure: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - domain?: string | undefined; - httpOnly?: boolean | undefined; - expiry?: string | undefined; - maxAge?: number | undefined; - path?: string | undefined; - sameSite?: "strict" | "none" | "lax" | undefined; - secure?: boolean | undefined; - }, { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - domain?: string | undefined; - httpOnly?: boolean | undefined; - expiry?: string | undefined; - maxAge?: number | undefined; - path?: string | undefined; - sameSite?: "strict" | "none" | "lax" | undefined; - secure?: boolean | undefined; - }>>, "many">>; - headers: z.ZodOptional; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "string"; - value: string; - }, { - type: "string"; - value: string; - }>>, z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "base64"; - value: string; - }, { - type: "base64"; - value: string; - }>>]>>; - }, "strip", z.ZodTypeAny, { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }, { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }>>, "many">>; - reasonPhrase: z.ZodOptional; - statusCode: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - request: string; - body?: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - } | undefined; - cookies?: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - domain?: string | undefined; - httpOnly?: boolean | undefined; - expiry?: string | undefined; - maxAge?: number | undefined; - path?: string | undefined; - sameSite?: "strict" | "none" | "lax" | undefined; - secure?: boolean | undefined; - }[] | undefined; - headers?: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[] | undefined; - reasonPhrase?: string | undefined; - statusCode?: number | undefined; - }, { - request: string; - body?: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - } | undefined; - cookies?: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - domain?: string | undefined; - httpOnly?: boolean | undefined; - expiry?: string | undefined; - maxAge?: number | undefined; - path?: string | undefined; - sameSite?: "strict" | "none" | "lax" | undefined; - secure?: boolean | undefined; - }[] | undefined; - headers?: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[] | undefined; - reasonPhrase?: string | undefined; - statusCode?: number | undefined; - }>>; -}, "strip", z.ZodTypeAny, { - params: { - request: string; - body?: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - } | undefined; - cookies?: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - domain?: string | undefined; - httpOnly?: boolean | undefined; - expiry?: string | undefined; - maxAge?: number | undefined; - path?: string | undefined; - sameSite?: "strict" | "none" | "lax" | undefined; - secure?: boolean | undefined; - }[] | undefined; - headers?: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[] | undefined; - reasonPhrase?: string | undefined; - statusCode?: number | undefined; - }; - method: "network.provideResponse"; -}, { - params: { - request: string; - body?: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - } | undefined; - cookies?: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - domain?: string | undefined; - httpOnly?: boolean | undefined; - expiry?: string | undefined; - maxAge?: number | undefined; - path?: string | undefined; - sameSite?: "strict" | "none" | "lax" | undefined; - secure?: boolean | undefined; - }[] | undefined; - headers?: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[] | undefined; - reasonPhrase?: string | undefined; - statusCode?: number | undefined; - }; - method: "network.provideResponse"; -}>>, z.ZodLazy; - params: z.ZodLazy; - }, "strip", z.ZodTypeAny, { - intercept: string; - }, { - intercept: string; - }>>; -}, "strip", z.ZodTypeAny, { - params: { - intercept: string; - }; - method: "network.removeIntercept"; -}, { - params: { - intercept: string; - }; - method: "network.removeIntercept"; -}>>]>>, z.ZodLazy; - params: z.ZodLazy; - value: z.ZodLazy; - serializationOptions: z.ZodOptional, z.ZodNull]>>>; - maxObjectDepth: z.ZodOptional, z.ZodNull]>>>; - includeShadowTree: z.ZodOptional>>; - }, "strip", z.ZodTypeAny, { - maxDomDepth?: number | null | undefined; - maxObjectDepth?: number | null | undefined; - includeShadowTree?: "none" | "all" | "open" | undefined; - }, { - maxDomDepth?: number | null | undefined; - maxObjectDepth?: number | null | undefined; - includeShadowTree?: "none" | "all" | "open" | undefined; - }>>>; - ownership: z.ZodOptional>>; - }, "strip", z.ZodTypeAny, { - channel: string; - serializationOptions?: { - maxDomDepth?: number | null | undefined; - maxObjectDepth?: number | null | undefined; - includeShadowTree?: "none" | "all" | "open" | undefined; - } | undefined; - ownership?: "none" | "root" | undefined; - }, { - channel: string; - serializationOptions?: { - maxDomDepth?: number | null | undefined; - maxObjectDepth?: number | null | undefined; - includeShadowTree?: "none" | "all" | "open" | undefined; - } | undefined; - ownership?: "none" | "root" | undefined; - }>>; - }, "strip", z.ZodTypeAny, { - type: "channel"; - value: { - channel: string; - serializationOptions?: { - maxDomDepth?: number | null | undefined; - maxObjectDepth?: number | null | undefined; - includeShadowTree?: "none" | "all" | "open" | undefined; - } | undefined; - ownership?: "none" | "root" | undefined; - }; - }, { - type: "channel"; - value: { - channel: string; - serializationOptions?: { - maxDomDepth?: number | null | undefined; - maxObjectDepth?: number | null | undefined; - includeShadowTree?: "none" | "all" | "open" | undefined; - } | undefined; - ownership?: "none" | "root" | undefined; - }; - }>>, "many">>; - contexts: z.ZodOptional, "many">>; - sandbox: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - functionDeclaration: string; - arguments?: { - type: "channel"; - value: { - channel: string; - serializationOptions?: { - maxDomDepth?: number | null | undefined; - maxObjectDepth?: number | null | undefined; - includeShadowTree?: "none" | "all" | "open" | undefined; - } | undefined; - ownership?: "none" | "root" | undefined; - }; - }[] | undefined; - contexts?: string[] | undefined; - sandbox?: string | undefined; - }, { - functionDeclaration: string; - arguments?: { - type: "channel"; - value: { - channel: string; - serializationOptions?: { - maxDomDepth?: number | null | undefined; - maxObjectDepth?: number | null | undefined; - includeShadowTree?: "none" | "all" | "open" | undefined; - } | undefined; - ownership?: "none" | "root" | undefined; - }; - }[] | undefined; - contexts?: string[] | undefined; - sandbox?: string | undefined; - }>>; -}, "strip", z.ZodTypeAny, { - params: { - functionDeclaration: string; - arguments?: { - type: "channel"; - value: { - channel: string; - serializationOptions?: { - maxDomDepth?: number | null | undefined; - maxObjectDepth?: number | null | undefined; - includeShadowTree?: "none" | "all" | "open" | undefined; - } | undefined; - ownership?: "none" | "root" | undefined; - }; - }[] | undefined; - contexts?: string[] | undefined; - sandbox?: string | undefined; - }; - method: "script.addPreloadScript"; -}, { - params: { - functionDeclaration: string; - arguments?: { - type: "channel"; - value: { - channel: string; - serializationOptions?: { - maxDomDepth?: number | null | undefined; - maxObjectDepth?: number | null | undefined; - includeShadowTree?: "none" | "all" | "open" | undefined; - } | undefined; - ownership?: "none" | "root" | undefined; - }; - }[] | undefined; - contexts?: string[] | undefined; - sandbox?: string | undefined; - }; - method: "script.addPreloadScript"; -}>>, z.ZodLazy; - params: z.ZodLazy; - }, "strip", z.ZodTypeAny, { - realm: string; - }, { - realm: string; - }>>, z.ZodLazy; - sandbox: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - context: string; - sandbox?: string | undefined; - }, { - context: string; - sandbox?: string | undefined; - }>>]>>; - arguments: z.ZodOptional>; - resultOwnership: z.ZodOptional>>; - serializationOptions: z.ZodOptional, z.ZodNull]>>>; - maxObjectDepth: z.ZodOptional, z.ZodNull]>>>; - includeShadowTree: z.ZodOptional>>; - }, "strip", z.ZodTypeAny, { - maxDomDepth?: number | null | undefined; - maxObjectDepth?: number | null | undefined; - includeShadowTree?: "none" | "all" | "open" | undefined; - }, { - maxDomDepth?: number | null | undefined; - maxObjectDepth?: number | null | undefined; - includeShadowTree?: "none" | "all" | "open" | undefined; - }>>>; - this: any; - userActivation: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - target: ({ - realm: string; - } | { - context: string; - sandbox?: string | undefined; - }) & ({ - realm: string; - } | { - context: string; - sandbox?: string | undefined; - } | undefined); - awaitPromise: boolean; - functionDeclaration: string; - arguments?: any[] | undefined; - resultOwnership?: "none" | "root" | undefined; - serializationOptions?: { - maxDomDepth?: number | null | undefined; - maxObjectDepth?: number | null | undefined; - includeShadowTree?: "none" | "all" | "open" | undefined; - } | undefined; - this?: any; - userActivation?: boolean | undefined; - }, { - target: ({ - realm: string; - } | { - context: string; - sandbox?: string | undefined; - }) & ({ - realm: string; - } | { - context: string; - sandbox?: string | undefined; - } | undefined); - awaitPromise: boolean; - functionDeclaration: string; - arguments?: any[] | undefined; - resultOwnership?: "none" | "root" | undefined; - serializationOptions?: { - maxDomDepth?: number | null | undefined; - maxObjectDepth?: number | null | undefined; - includeShadowTree?: "none" | "all" | "open" | undefined; - } | undefined; - this?: any; - userActivation?: boolean | undefined; - }>>; -}, "strip", z.ZodTypeAny, { - params: { - target: ({ - realm: string; - } | { - context: string; - sandbox?: string | undefined; - }) & ({ - realm: string; - } | { - context: string; - sandbox?: string | undefined; - } | undefined); - awaitPromise: boolean; - functionDeclaration: string; - arguments?: any[] | undefined; - resultOwnership?: "none" | "root" | undefined; - serializationOptions?: { - maxDomDepth?: number | null | undefined; - maxObjectDepth?: number | null | undefined; - includeShadowTree?: "none" | "all" | "open" | undefined; - } | undefined; - this?: any; - userActivation?: boolean | undefined; - }; - method: "script.callFunction"; -}, { - params: { - target: ({ - realm: string; - } | { - context: string; - sandbox?: string | undefined; - }) & ({ - realm: string; - } | { - context: string; - sandbox?: string | undefined; - } | undefined); - awaitPromise: boolean; - functionDeclaration: string; - arguments?: any[] | undefined; - resultOwnership?: "none" | "root" | undefined; - serializationOptions?: { - maxDomDepth?: number | null | undefined; - maxObjectDepth?: number | null | undefined; - includeShadowTree?: "none" | "all" | "open" | undefined; - } | undefined; - this?: any; - userActivation?: boolean | undefined; - }; - method: "script.callFunction"; -}>>, z.ZodLazy; - params: z.ZodLazy, "many">; - target: z.ZodLazy; - }, "strip", z.ZodTypeAny, { - realm: string; - }, { - realm: string; - }>>, z.ZodLazy; - sandbox: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - context: string; - sandbox?: string | undefined; - }, { - context: string; - sandbox?: string | undefined; - }>>]>>; - }, "strip", z.ZodTypeAny, { - target: ({ - realm: string; - } | { - context: string; - sandbox?: string | undefined; - }) & ({ - realm: string; - } | { - context: string; - sandbox?: string | undefined; - } | undefined); - handles: string[]; - }, { - target: ({ - realm: string; - } | { - context: string; - sandbox?: string | undefined; - }) & ({ - realm: string; - } | { - context: string; - sandbox?: string | undefined; - } | undefined); - handles: string[]; - }>>; -}, "strip", z.ZodTypeAny, { - params: { - target: ({ - realm: string; - } | { - context: string; - sandbox?: string | undefined; - }) & ({ - realm: string; - } | { - context: string; - sandbox?: string | undefined; - } | undefined); - handles: string[]; - }; - method: "script.disown"; -}, { - params: { - target: ({ - realm: string; - } | { - context: string; - sandbox?: string | undefined; - }) & ({ - realm: string; - } | { - context: string; - sandbox?: string | undefined; - } | undefined); - handles: string[]; - }; - method: "script.disown"; -}>>, z.ZodLazy; - params: z.ZodLazy; - }, "strip", z.ZodTypeAny, { - realm: string; - }, { - realm: string; - }>>, z.ZodLazy; - sandbox: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - context: string; - sandbox?: string | undefined; - }, { - context: string; - sandbox?: string | undefined; - }>>]>>; - awaitPromise: z.ZodBoolean; - resultOwnership: z.ZodOptional>>; - serializationOptions: z.ZodOptional, z.ZodNull]>>>; - maxObjectDepth: z.ZodOptional, z.ZodNull]>>>; - includeShadowTree: z.ZodOptional>>; - }, "strip", z.ZodTypeAny, { - maxDomDepth?: number | null | undefined; - maxObjectDepth?: number | null | undefined; - includeShadowTree?: "none" | "all" | "open" | undefined; - }, { - maxDomDepth?: number | null | undefined; - maxObjectDepth?: number | null | undefined; - includeShadowTree?: "none" | "all" | "open" | undefined; - }>>>; - userActivation: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - expression: string; - target: ({ - realm: string; - } | { - context: string; - sandbox?: string | undefined; - }) & ({ - realm: string; - } | { - context: string; - sandbox?: string | undefined; - } | undefined); - awaitPromise: boolean; - resultOwnership?: "none" | "root" | undefined; - serializationOptions?: { - maxDomDepth?: number | null | undefined; - maxObjectDepth?: number | null | undefined; - includeShadowTree?: "none" | "all" | "open" | undefined; - } | undefined; - userActivation?: boolean | undefined; - }, { - expression: string; - target: ({ - realm: string; - } | { - context: string; - sandbox?: string | undefined; - }) & ({ - realm: string; - } | { - context: string; - sandbox?: string | undefined; - } | undefined); - awaitPromise: boolean; - resultOwnership?: "none" | "root" | undefined; - serializationOptions?: { - maxDomDepth?: number | null | undefined; - maxObjectDepth?: number | null | undefined; - includeShadowTree?: "none" | "all" | "open" | undefined; - } | undefined; - userActivation?: boolean | undefined; - }>>; -}, "strip", z.ZodTypeAny, { - params: { - expression: string; - target: ({ - realm: string; - } | { - context: string; - sandbox?: string | undefined; - }) & ({ - realm: string; - } | { - context: string; - sandbox?: string | undefined; - } | undefined); - awaitPromise: boolean; - resultOwnership?: "none" | "root" | undefined; - serializationOptions?: { - maxDomDepth?: number | null | undefined; - maxObjectDepth?: number | null | undefined; - includeShadowTree?: "none" | "all" | "open" | undefined; - } | undefined; - userActivation?: boolean | undefined; - }; - method: "script.evaluate"; -}, { - params: { - expression: string; - target: ({ - realm: string; - } | { - context: string; - sandbox?: string | undefined; - }) & ({ - realm: string; - } | { - context: string; - sandbox?: string | undefined; - } | undefined); - awaitPromise: boolean; - resultOwnership?: "none" | "root" | undefined; - serializationOptions?: { - maxDomDepth?: number | null | undefined; - maxObjectDepth?: number | null | undefined; - includeShadowTree?: "none" | "all" | "open" | undefined; - } | undefined; - userActivation?: boolean | undefined; - }; - method: "script.evaluate"; -}>>, z.ZodLazy; - params: z.ZodLazy>; - type: z.ZodOptional>>; - }, "strip", z.ZodTypeAny, { - context?: string | undefined; - type?: "worker" | "window" | "dedicated-worker" | "shared-worker" | "service-worker" | "paint-worklet" | "audio-worklet" | "worklet" | undefined; - }, { - context?: string | undefined; - type?: "worker" | "window" | "dedicated-worker" | "shared-worker" | "service-worker" | "paint-worklet" | "audio-worklet" | "worklet" | undefined; - }>>; -}, "strip", z.ZodTypeAny, { - params: { - context?: string | undefined; - type?: "worker" | "window" | "dedicated-worker" | "shared-worker" | "service-worker" | "paint-worklet" | "audio-worklet" | "worklet" | undefined; - }; - method: "script.getRealms"; -}, { - params: { - context?: string | undefined; - type?: "worker" | "window" | "dedicated-worker" | "shared-worker" | "service-worker" | "paint-worklet" | "audio-worklet" | "worklet" | undefined; - }; - method: "script.getRealms"; -}>>, z.ZodLazy; - params: z.ZodLazy; - }, "strip", z.ZodTypeAny, { - script: string; - }, { - script: string; - }>>; -}, "strip", z.ZodTypeAny, { - params: { - script: string; - }; - method: "script.removePreloadScript"; -}, { - params: { - script: string; - }; - method: "script.removePreloadScript"; -}>>]>>, z.ZodLazy; - params: z.ZodLazy>>; -}, "strip", z.ZodTypeAny, { - params: Record; - method: "session.end"; -}, { - params: Record; - method: "session.end"; -}>>, z.ZodLazy; - params: z.ZodLazy; - browserName: z.ZodOptional; - browserVersion: z.ZodOptional; - platformName: z.ZodOptional; - proxy: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - proxyType: "autodetect"; - }, { - proxyType: "autodetect"; - }>, z.ZodLazy>>>, z.ZodLazy; - }, "strip", z.ZodTypeAny, { - proxyType: "direct"; - }, { - proxyType: "direct"; - }>, z.ZodLazy>>>, z.ZodLazy; - ftpProxy: z.ZodOptional; - httpProxy: z.ZodOptional; - sslProxy: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - }, { - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - }>, z.ZodUnion<[z.ZodLazy>, z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>]>>, z.ZodObject<{ - noProxy: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - noProxy?: string[] | undefined; - }, { - noProxy?: string[] | undefined; - }>>, z.ZodLazy>>>, z.ZodLazy; - proxyAutoconfigUrl: z.ZodString; - }, "strip", z.ZodTypeAny, { - proxyType: "pac"; - proxyAutoconfigUrl: string; - }, { - proxyType: "pac"; - proxyAutoconfigUrl: string; - }>, z.ZodLazy>>>, z.ZodLazy; - }, "strip", z.ZodTypeAny, { - proxyType: "system"; - }, { - proxyType: "system"; - }>, z.ZodLazy>>>, z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>]>>>; - webSocketUrl: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - acceptInsecureCerts?: boolean | undefined; - browserName?: string | undefined; - browserVersion?: string | undefined; - platformName?: string | undefined; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: boolean | undefined; - }, { - acceptInsecureCerts?: boolean | undefined; - browserName?: string | undefined; - browserVersion?: string | undefined; - platformName?: string | undefined; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: boolean | undefined; - }>, z.ZodLazy>>>>; - firstMatch: z.ZodOptional; - browserName: z.ZodOptional; - browserVersion: z.ZodOptional; - platformName: z.ZodOptional; - proxy: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - proxyType: "autodetect"; - }, { - proxyType: "autodetect"; - }>, z.ZodLazy>>>, z.ZodLazy; - }, "strip", z.ZodTypeAny, { - proxyType: "direct"; - }, { - proxyType: "direct"; - }>, z.ZodLazy>>>, z.ZodLazy; - ftpProxy: z.ZodOptional; - httpProxy: z.ZodOptional; - sslProxy: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - }, { - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - }>, z.ZodUnion<[z.ZodLazy>, z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>]>>, z.ZodObject<{ - noProxy: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - noProxy?: string[] | undefined; - }, { - noProxy?: string[] | undefined; - }>>, z.ZodLazy>>>, z.ZodLazy; - proxyAutoconfigUrl: z.ZodString; - }, "strip", z.ZodTypeAny, { - proxyType: "pac"; - proxyAutoconfigUrl: string; - }, { - proxyType: "pac"; - proxyAutoconfigUrl: string; - }>, z.ZodLazy>>>, z.ZodLazy; - }, "strip", z.ZodTypeAny, { - proxyType: "system"; - }, { - proxyType: "system"; - }>, z.ZodLazy>>>, z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>]>>>; - webSocketUrl: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - acceptInsecureCerts?: boolean | undefined; - browserName?: string | undefined; - browserVersion?: string | undefined; - platformName?: string | undefined; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: boolean | undefined; - }, { - acceptInsecureCerts?: boolean | undefined; - browserName?: string | undefined; - browserVersion?: string | undefined; - platformName?: string | undefined; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: boolean | undefined; - }>, z.ZodLazy>>>, "many">>; - }, "strip", z.ZodTypeAny, { - alwaysMatch?: ({ - acceptInsecureCerts?: boolean | undefined; - browserName?: string | undefined; - browserVersion?: string | undefined; - platformName?: string | undefined; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: boolean | undefined; - } & Record) | undefined; - firstMatch?: ({ - acceptInsecureCerts?: boolean | undefined; - browserName?: string | undefined; - browserVersion?: string | undefined; - platformName?: string | undefined; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: boolean | undefined; - } & Record)[] | undefined; - }, { - alwaysMatch?: ({ - acceptInsecureCerts?: boolean | undefined; - browserName?: string | undefined; - browserVersion?: string | undefined; - platformName?: string | undefined; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: boolean | undefined; - } & Record) | undefined; - firstMatch?: ({ - acceptInsecureCerts?: boolean | undefined; - browserName?: string | undefined; - browserVersion?: string | undefined; - platformName?: string | undefined; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: boolean | undefined; - } & Record)[] | undefined; - }>>; - }, "strip", z.ZodTypeAny, { - capabilities: { - alwaysMatch?: ({ - acceptInsecureCerts?: boolean | undefined; - browserName?: string | undefined; - browserVersion?: string | undefined; - platformName?: string | undefined; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: boolean | undefined; - } & Record) | undefined; - firstMatch?: ({ - acceptInsecureCerts?: boolean | undefined; - browserName?: string | undefined; - browserVersion?: string | undefined; - platformName?: string | undefined; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: boolean | undefined; - } & Record)[] | undefined; - }; - }, { - capabilities: { - alwaysMatch?: ({ - acceptInsecureCerts?: boolean | undefined; - browserName?: string | undefined; - browserVersion?: string | undefined; - platformName?: string | undefined; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: boolean | undefined; - } & Record) | undefined; - firstMatch?: ({ - acceptInsecureCerts?: boolean | undefined; - browserName?: string | undefined; - browserVersion?: string | undefined; - platformName?: string | undefined; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: boolean | undefined; - } & Record)[] | undefined; - }; - }>>; -}, "strip", z.ZodTypeAny, { - params: { - capabilities: { - alwaysMatch?: ({ - acceptInsecureCerts?: boolean | undefined; - browserName?: string | undefined; - browserVersion?: string | undefined; - platformName?: string | undefined; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: boolean | undefined; - } & Record) | undefined; - firstMatch?: ({ - acceptInsecureCerts?: boolean | undefined; - browserName?: string | undefined; - browserVersion?: string | undefined; - platformName?: string | undefined; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: boolean | undefined; - } & Record)[] | undefined; - }; - }; - method: "session.new"; -}, { - params: { - capabilities: { - alwaysMatch?: ({ - acceptInsecureCerts?: boolean | undefined; - browserName?: string | undefined; - browserVersion?: string | undefined; - platformName?: string | undefined; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: boolean | undefined; - } & Record) | undefined; - firstMatch?: ({ - acceptInsecureCerts?: boolean | undefined; - browserName?: string | undefined; - browserVersion?: string | undefined; - platformName?: string | undefined; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: boolean | undefined; - } & Record)[] | undefined; - }; - }; - method: "session.new"; -}>>, z.ZodLazy; - params: z.ZodLazy>>; -}, "strip", z.ZodTypeAny, { - params: Record; - method: "session.status"; -}, { - params: Record; - method: "session.status"; -}>>, z.ZodLazy; - params: z.ZodLazy; - contexts: z.ZodOptional, "many">>; - }, "strip", z.ZodTypeAny, { - events: string[]; - contexts?: string[] | undefined; - }, { - events: string[]; - contexts?: string[] | undefined; - }>>; -}, "strip", z.ZodTypeAny, { - params: { - events: string[]; - contexts?: string[] | undefined; - }; - method: "session.subscribe"; -}, { - params: { - events: string[]; - contexts?: string[] | undefined; - }; - method: "session.subscribe"; -}>>, z.ZodLazy; - params: z.ZodLazy; - contexts: z.ZodOptional, "many">>; - }, "strip", z.ZodTypeAny, { - events: string[]; - contexts?: string[] | undefined; - }, { - events: string[]; - contexts?: string[] | undefined; - }>>; -}, "strip", z.ZodTypeAny, { - params: { - events: string[]; - contexts?: string[] | undefined; - }; - method: "session.unsubscribe"; -}, { - params: { - events: string[]; - contexts?: string[] | undefined; - }; - method: "session.unsubscribe"; -}>>]>>, z.ZodLazy; - params: z.ZodLazy; - value: z.ZodOptional; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "string"; - value: string; - }, { - type: "string"; - value: string; - }>>, z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "base64"; - value: string; - }, { - type: "base64"; - value: string; - }>>]>>>; - domain: z.ZodOptional; - path: z.ZodOptional; - size: z.ZodOptional>; - httpOnly: z.ZodOptional; - secure: z.ZodOptional; - sameSite: z.ZodOptional>>; - expiry: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - name?: string | undefined; - value?: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - } | undefined; - domain?: string | undefined; - path?: string | undefined; - size?: number | undefined; - httpOnly?: boolean | undefined; - secure?: boolean | undefined; - sameSite?: "strict" | "none" | "lax" | undefined; - expiry?: number | undefined; - }, { - name?: string | undefined; - value?: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - } | undefined; - domain?: string | undefined; - path?: string | undefined; - size?: number | undefined; - httpOnly?: boolean | undefined; - secure?: boolean | undefined; - sameSite?: "strict" | "none" | "lax" | undefined; - expiry?: number | undefined; - }>, z.ZodLazy>>>>; - partition: z.ZodOptional; - context: z.ZodLazy; - }, "strip", z.ZodTypeAny, { - type: "context"; - context: string; - }, { - type: "context"; - context: string; - }>>, z.ZodLazy; - userContext: z.ZodOptional; - sourceOrigin: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - type: "storageKey"; - userContext?: string | undefined; - sourceOrigin?: string | undefined; - }, { - type: "storageKey"; - userContext?: string | undefined; - sourceOrigin?: string | undefined; - }>, z.ZodLazy>>>]>>>; - }, "strip", z.ZodTypeAny, { - filter?: ({ - name?: string | undefined; - value?: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - } | undefined; - domain?: string | undefined; - path?: string | undefined; - size?: number | undefined; - httpOnly?: boolean | undefined; - secure?: boolean | undefined; - sameSite?: "strict" | "none" | "lax" | undefined; - expiry?: number | undefined; - } & Record) | undefined; - partition?: { - type: "context"; - context: string; - } | ({ - type: "storageKey"; - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record) | undefined; - }, { - filter?: ({ - name?: string | undefined; - value?: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - } | undefined; - domain?: string | undefined; - path?: string | undefined; - size?: number | undefined; - httpOnly?: boolean | undefined; - secure?: boolean | undefined; - sameSite?: "strict" | "none" | "lax" | undefined; - expiry?: number | undefined; - } & Record) | undefined; - partition?: { - type: "context"; - context: string; - } | ({ - type: "storageKey"; - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record) | undefined; - }>>; -}, "strip", z.ZodTypeAny, { - params: { - filter?: ({ - name?: string | undefined; - value?: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - } | undefined; - domain?: string | undefined; - path?: string | undefined; - size?: number | undefined; - httpOnly?: boolean | undefined; - secure?: boolean | undefined; - sameSite?: "strict" | "none" | "lax" | undefined; - expiry?: number | undefined; - } & Record) | undefined; - partition?: { - type: "context"; - context: string; - } | ({ - type: "storageKey"; - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record) | undefined; - }; - method: "storage.deleteCookies"; -}, { - params: { - filter?: ({ - name?: string | undefined; - value?: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - } | undefined; - domain?: string | undefined; - path?: string | undefined; - size?: number | undefined; - httpOnly?: boolean | undefined; - secure?: boolean | undefined; - sameSite?: "strict" | "none" | "lax" | undefined; - expiry?: number | undefined; - } & Record) | undefined; - partition?: { - type: "context"; - context: string; - } | ({ - type: "storageKey"; - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record) | undefined; - }; - method: "storage.deleteCookies"; -}>>, z.ZodLazy; - params: z.ZodLazy; - value: z.ZodOptional; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "string"; - value: string; - }, { - type: "string"; - value: string; - }>>, z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "base64"; - value: string; - }, { - type: "base64"; - value: string; - }>>]>>>; - domain: z.ZodOptional; - path: z.ZodOptional; - size: z.ZodOptional>; - httpOnly: z.ZodOptional; - secure: z.ZodOptional; - sameSite: z.ZodOptional>>; - expiry: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - name?: string | undefined; - value?: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - } | undefined; - domain?: string | undefined; - path?: string | undefined; - size?: number | undefined; - httpOnly?: boolean | undefined; - secure?: boolean | undefined; - sameSite?: "strict" | "none" | "lax" | undefined; - expiry?: number | undefined; - }, { - name?: string | undefined; - value?: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - } | undefined; - domain?: string | undefined; - path?: string | undefined; - size?: number | undefined; - httpOnly?: boolean | undefined; - secure?: boolean | undefined; - sameSite?: "strict" | "none" | "lax" | undefined; - expiry?: number | undefined; - }>, z.ZodLazy>>>>; - partition: z.ZodOptional; - context: z.ZodLazy; - }, "strip", z.ZodTypeAny, { - type: "context"; - context: string; - }, { - type: "context"; - context: string; - }>>, z.ZodLazy; - userContext: z.ZodOptional; - sourceOrigin: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - type: "storageKey"; - userContext?: string | undefined; - sourceOrigin?: string | undefined; - }, { - type: "storageKey"; - userContext?: string | undefined; - sourceOrigin?: string | undefined; - }>, z.ZodLazy>>>]>>>; - }, "strip", z.ZodTypeAny, { - filter?: ({ - name?: string | undefined; - value?: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - } | undefined; - domain?: string | undefined; - path?: string | undefined; - size?: number | undefined; - httpOnly?: boolean | undefined; - secure?: boolean | undefined; - sameSite?: "strict" | "none" | "lax" | undefined; - expiry?: number | undefined; - } & Record) | undefined; - partition?: { - type: "context"; - context: string; - } | ({ - type: "storageKey"; - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record) | undefined; - }, { - filter?: ({ - name?: string | undefined; - value?: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - } | undefined; - domain?: string | undefined; - path?: string | undefined; - size?: number | undefined; - httpOnly?: boolean | undefined; - secure?: boolean | undefined; - sameSite?: "strict" | "none" | "lax" | undefined; - expiry?: number | undefined; - } & Record) | undefined; - partition?: { - type: "context"; - context: string; - } | ({ - type: "storageKey"; - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record) | undefined; - }>>; -}, "strip", z.ZodTypeAny, { - params: { - filter?: ({ - name?: string | undefined; - value?: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - } | undefined; - domain?: string | undefined; - path?: string | undefined; - size?: number | undefined; - httpOnly?: boolean | undefined; - secure?: boolean | undefined; - sameSite?: "strict" | "none" | "lax" | undefined; - expiry?: number | undefined; - } & Record) | undefined; - partition?: { - type: "context"; - context: string; - } | ({ - type: "storageKey"; - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record) | undefined; - }; - method: "storage.getCookies"; -}, { - params: { - filter?: ({ - name?: string | undefined; - value?: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - } | undefined; - domain?: string | undefined; - path?: string | undefined; - size?: number | undefined; - httpOnly?: boolean | undefined; - secure?: boolean | undefined; - sameSite?: "strict" | "none" | "lax" | undefined; - expiry?: number | undefined; - } & Record) | undefined; - partition?: { - type: "context"; - context: string; - } | ({ - type: "storageKey"; - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record) | undefined; - }; - method: "storage.getCookies"; -}>>, z.ZodLazy; - params: z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "string"; - value: string; - }, { - type: "string"; - value: string; - }>>, z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "base64"; - value: string; - }, { - type: "base64"; - value: string; - }>>]>>; - domain: z.ZodString; - path: z.ZodOptional; - httpOnly: z.ZodOptional; - secure: z.ZodOptional; - sameSite: z.ZodOptional>>; - expiry: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - domain: string; - path?: string | undefined; - httpOnly?: boolean | undefined; - secure?: boolean | undefined; - sameSite?: "strict" | "none" | "lax" | undefined; - expiry?: number | undefined; - }, { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - domain: string; - path?: string | undefined; - httpOnly?: boolean | undefined; - secure?: boolean | undefined; - sameSite?: "strict" | "none" | "lax" | undefined; - expiry?: number | undefined; - }>, z.ZodLazy>>>; - partition: z.ZodOptional; - context: z.ZodLazy; - }, "strip", z.ZodTypeAny, { - type: "context"; - context: string; - }, { - type: "context"; - context: string; - }>>, z.ZodLazy; - userContext: z.ZodOptional; - sourceOrigin: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - type: "storageKey"; - userContext?: string | undefined; - sourceOrigin?: string | undefined; - }, { - type: "storageKey"; - userContext?: string | undefined; - sourceOrigin?: string | undefined; - }>, z.ZodLazy>>>]>>>; - }, "strip", z.ZodTypeAny, { - cookie: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - domain: string; - path?: string | undefined; - httpOnly?: boolean | undefined; - secure?: boolean | undefined; - sameSite?: "strict" | "none" | "lax" | undefined; - expiry?: number | undefined; - } & Record; - partition?: { - type: "context"; - context: string; - } | ({ - type: "storageKey"; - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record) | undefined; - }, { - cookie: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - domain: string; - path?: string | undefined; - httpOnly?: boolean | undefined; - secure?: boolean | undefined; - sameSite?: "strict" | "none" | "lax" | undefined; - expiry?: number | undefined; - } & Record; - partition?: { - type: "context"; - context: string; - } | ({ - type: "storageKey"; - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record) | undefined; - }>>; -}, "strip", z.ZodTypeAny, { - params: { - cookie: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - domain: string; - path?: string | undefined; - httpOnly?: boolean | undefined; - secure?: boolean | undefined; - sameSite?: "strict" | "none" | "lax" | undefined; - expiry?: number | undefined; - } & Record; - partition?: { - type: "context"; - context: string; - } | ({ - type: "storageKey"; - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record) | undefined; - }; - method: "storage.setCookie"; -}, { - params: { - cookie: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - domain: string; - path?: string | undefined; - httpOnly?: boolean | undefined; - secure?: boolean | undefined; - sameSite?: "strict" | "none" | "lax" | undefined; - expiry?: number | undefined; - } & Record; - partition?: { - type: "context"; - context: string; - } | ({ - type: "storageKey"; - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record) | undefined; - }; - method: "storage.setCookie"; -}>>]>>]>>; -export declare const ResultDataSchema: z.ZodLazy>, z.ZodLazy; -}, "strip", z.ZodTypeAny, { - context: string; -}, { - context: string; -}>>, z.ZodLazy>, z.ZodLazy; -}, "strip", z.ZodTypeAny, { - nodes: any[]; -}, { - nodes: any[]; -}>>, z.ZodLazy, z.ZodNull]>; - url: z.ZodString; -}, "strip", z.ZodTypeAny, { - url: string; - navigation: string | null; -}, { - url: string; - navigation: string | null; -}>>, z.ZodLazy>, z.ZodLazy>]>>, z.ZodLazy>>, z.ZodLazy; -}, "strip", z.ZodTypeAny, { - intercept: string; -}, { - intercept: string; -}>>>, z.ZodLazy; -}, "strip", z.ZodTypeAny, { - script: string; -}, { - script: string; -}>>, z.ZodLazy; - result: any; - realm: z.ZodLazy; -}, "strip", z.ZodTypeAny, { - type: "success"; - realm: string; - result?: any; -}, { - type: "success"; - realm: string; - result?: any; -}>>, z.ZodLazy; - exceptionDetails: z.ZodLazy; - exception: any; - lineNumber: z.ZodLazy; - stackTrace: z.ZodLazy; - functionName: z.ZodString; - lineNumber: z.ZodLazy; - url: z.ZodString; - }, "strip", z.ZodTypeAny, { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }, { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }>>, "many">; - }, "strip", z.ZodTypeAny, { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }, { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }>>; - text: z.ZodString; - }, "strip", z.ZodTypeAny, { - columnNumber: number; - lineNumber: number; - text: string; - stackTrace: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }; - exception?: any; - }, { - columnNumber: number; - lineNumber: number; - text: string; - stackTrace: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }; - exception?: any; - }>>; - realm: z.ZodLazy; -}, "strip", z.ZodTypeAny, { - type: "exception"; - realm: string; - exceptionDetails: { - columnNumber: number; - lineNumber: number; - text: string; - stackTrace: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }; - exception?: any; - }; -}, { - type: "exception"; - realm: string; - exceptionDetails: { - columnNumber: number; - lineNumber: number; - text: string; - stackTrace: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }; - exception?: any; - }; -}>>]>>, z.ZodLazy; - origin: z.ZodString; - }, "strip", z.ZodTypeAny, { - origin: string; - realm: string; - }, { - origin: string; - realm: string; - }>>, z.ZodObject<{ - type: z.ZodLiteral<"window">; - context: z.ZodLazy; - sandbox: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - type: "window"; - context: string; - sandbox?: string | undefined; - }, { - type: "window"; - context: string; - sandbox?: string | undefined; - }>>>, z.ZodLazy; - origin: z.ZodString; - }, "strip", z.ZodTypeAny, { - origin: string; - realm: string; - }, { - origin: string; - realm: string; - }>>, z.ZodObject<{ - type: z.ZodLiteral<"dedicated-worker">; - owners: z.ZodTuple<[z.ZodLazy], null>; - }, "strip", z.ZodTypeAny, { - type: "dedicated-worker"; - owners: [string]; - }, { - type: "dedicated-worker"; - owners: [string]; - }>>>, z.ZodLazy; - origin: z.ZodString; - }, "strip", z.ZodTypeAny, { - origin: string; - realm: string; - }, { - origin: string; - realm: string; - }>>, z.ZodObject<{ - type: z.ZodLiteral<"shared-worker">; - }, "strip", z.ZodTypeAny, { - type: "shared-worker"; - }, { - type: "shared-worker"; - }>>>, z.ZodLazy; - origin: z.ZodString; - }, "strip", z.ZodTypeAny, { - origin: string; - realm: string; - }, { - origin: string; - realm: string; - }>>, z.ZodObject<{ - type: z.ZodLiteral<"service-worker">; - }, "strip", z.ZodTypeAny, { - type: "service-worker"; - }, { - type: "service-worker"; - }>>>, z.ZodLazy; - origin: z.ZodString; - }, "strip", z.ZodTypeAny, { - origin: string; - realm: string; - }, { - origin: string; - realm: string; - }>>, z.ZodObject<{ - type: z.ZodLiteral<"worker">; - }, "strip", z.ZodTypeAny, { - type: "worker"; - }, { - type: "worker"; - }>>>, z.ZodLazy; - origin: z.ZodString; - }, "strip", z.ZodTypeAny, { - origin: string; - realm: string; - }, { - origin: string; - realm: string; - }>>, z.ZodObject<{ - type: z.ZodLiteral<"paint-worklet">; - }, "strip", z.ZodTypeAny, { - type: "paint-worklet"; - }, { - type: "paint-worklet"; - }>>>, z.ZodLazy; - origin: z.ZodString; - }, "strip", z.ZodTypeAny, { - origin: string; - realm: string; - }, { - origin: string; - realm: string; - }>>, z.ZodObject<{ - type: z.ZodLiteral<"audio-worklet">; - }, "strip", z.ZodTypeAny, { - type: "audio-worklet"; - }, { - type: "audio-worklet"; - }>>>, z.ZodLazy; - origin: z.ZodString; - }, "strip", z.ZodTypeAny, { - origin: string; - realm: string; - }, { - origin: string; - realm: string; - }>>, z.ZodObject<{ - type: z.ZodLiteral<"worklet">; - }, "strip", z.ZodTypeAny, { - type: "worklet"; - }, { - type: "worklet"; - }>>>]>>, "many">; -}, "strip", z.ZodTypeAny, { - realms: (({ - origin: string; - realm: string; - } & { - type: "window"; - context: string; - sandbox?: string | undefined; - }) | ({ - origin: string; - realm: string; - } & { - type: "dedicated-worker"; - owners: [string]; - }) | ({ - origin: string; - realm: string; - } & { - type: "shared-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "service-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "paint-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "audio-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worklet"; - }))[]; -}, { - realms: (({ - origin: string; - realm: string; - } & { - type: "window"; - context: string; - sandbox?: string | undefined; - }) | ({ - origin: string; - realm: string; - } & { - type: "dedicated-worker"; - owners: [string]; - }) | ({ - origin: string; - realm: string; - } & { - type: "shared-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "service-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "paint-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "audio-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worklet"; - }))[]; -}>>]>>, z.ZodLazy; - }, "strip", z.ZodTypeAny, { - proxyType: "autodetect"; - }, { - proxyType: "autodetect"; - }>, z.ZodLazy>>>, z.ZodLazy; - }, "strip", z.ZodTypeAny, { - proxyType: "direct"; - }, { - proxyType: "direct"; - }>, z.ZodLazy>>>, z.ZodLazy; - ftpProxy: z.ZodOptional; - httpProxy: z.ZodOptional; - sslProxy: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - }, { - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - }>, z.ZodUnion<[z.ZodLazy>, z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>]>>, z.ZodObject<{ - noProxy: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - noProxy?: string[] | undefined; - }, { - noProxy?: string[] | undefined; - }>>, z.ZodLazy>>>, z.ZodLazy; - proxyAutoconfigUrl: z.ZodString; - }, "strip", z.ZodTypeAny, { - proxyType: "pac"; - proxyAutoconfigUrl: string; - }, { - proxyType: "pac"; - proxyAutoconfigUrl: string; - }>, z.ZodLazy>>>, z.ZodLazy; - }, "strip", z.ZodTypeAny, { - proxyType: "system"; - }, { - proxyType: "system"; - }>, z.ZodLazy>>>, z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>]>>>; - webSocketUrl: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - acceptInsecureCerts: boolean; - browserName: string; - browserVersion: string; - platformName: string; - setWindowRect: boolean; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: string | undefined; - }, { - acceptInsecureCerts: boolean; - browserName: string; - browserVersion: string; - platformName: string; - setWindowRect: boolean; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: string | undefined; - }>, z.ZodLazy>>; -}, "strip", z.ZodTypeAny, { - capabilities: { - acceptInsecureCerts: boolean; - browserName: string; - browserVersion: string; - platformName: string; - setWindowRect: boolean; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: string | undefined; - } & Record; - sessionId: string; -}, { - capabilities: { - acceptInsecureCerts: boolean; - browserName: string; - browserVersion: string; - platformName: string; - setWindowRect: boolean; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: string | undefined; - } & Record; - sessionId: string; -}>>, z.ZodLazy>]>>, z.ZodLazy; - sourceOrigin: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - }, { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - }>, z.ZodLazy>>>; -}, "strip", z.ZodTypeAny, { - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; -}, { - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; -}>>, z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "string"; - value: string; - }, { - type: "string"; - value: string; - }>>, z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "base64"; - value: string; - }, { - type: "base64"; - value: string; - }>>]>>; - domain: z.ZodString; - path: z.ZodString; - size: z.ZodLazy; - httpOnly: z.ZodBoolean; - secure: z.ZodBoolean; - sameSite: z.ZodLazy>; - expiry: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - }, { - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - }>, z.ZodLazy>>>, "many">; - partitionKey: z.ZodLazy; - sourceOrigin: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - }, { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - }>, z.ZodLazy>>>; -}, "strip", z.ZodTypeAny, { - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; -}, { - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; -}>>, z.ZodLazy; - sourceOrigin: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - }, { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - }>, z.ZodLazy>>>; -}, "strip", z.ZodTypeAny, { - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; -}, { - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; -}>>]>>]>>; -export declare const EmptyParamsSchema: z.ZodLazy>>; -export declare const MessageSchema: z.ZodLazy; - id: z.ZodLazy; - result: z.ZodLazy>, z.ZodLazy; - }, "strip", z.ZodTypeAny, { - context: string; - }, { - context: string; - }>>, z.ZodLazy>, z.ZodLazy; - }, "strip", z.ZodTypeAny, { - nodes: any[]; - }, { - nodes: any[]; - }>>, z.ZodLazy, z.ZodNull]>; - url: z.ZodString; - }, "strip", z.ZodTypeAny, { - url: string; - navigation: string | null; - }, { - url: string; - navigation: string | null; - }>>, z.ZodLazy>, z.ZodLazy>]>>, z.ZodLazy>>, z.ZodLazy; - }, "strip", z.ZodTypeAny, { - intercept: string; - }, { - intercept: string; - }>>>, z.ZodLazy; - }, "strip", z.ZodTypeAny, { - script: string; - }, { - script: string; - }>>, z.ZodLazy; - result: any; - realm: z.ZodLazy; - }, "strip", z.ZodTypeAny, { - type: "success"; - realm: string; - result?: any; - }, { - type: "success"; - realm: string; - result?: any; - }>>, z.ZodLazy; - exceptionDetails: z.ZodLazy; - exception: any; - lineNumber: z.ZodLazy; - stackTrace: z.ZodLazy; - functionName: z.ZodString; - lineNumber: z.ZodLazy; - url: z.ZodString; - }, "strip", z.ZodTypeAny, { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }, { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }>>, "many">; - }, "strip", z.ZodTypeAny, { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }, { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }>>; - text: z.ZodString; - }, "strip", z.ZodTypeAny, { - columnNumber: number; - lineNumber: number; - text: string; - stackTrace: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }; - exception?: any; - }, { - columnNumber: number; - lineNumber: number; - text: string; - stackTrace: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }; - exception?: any; - }>>; - realm: z.ZodLazy; - }, "strip", z.ZodTypeAny, { - type: "exception"; - realm: string; - exceptionDetails: { - columnNumber: number; - lineNumber: number; - text: string; - stackTrace: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }; - exception?: any; - }; - }, { - type: "exception"; - realm: string; - exceptionDetails: { - columnNumber: number; - lineNumber: number; - text: string; - stackTrace: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }; - exception?: any; - }; - }>>]>>, z.ZodLazy; - origin: z.ZodString; - }, "strip", z.ZodTypeAny, { - origin: string; - realm: string; - }, { - origin: string; - realm: string; - }>>, z.ZodObject<{ - type: z.ZodLiteral<"window">; - context: z.ZodLazy; - sandbox: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - type: "window"; - context: string; - sandbox?: string | undefined; - }, { - type: "window"; - context: string; - sandbox?: string | undefined; - }>>>, z.ZodLazy; - origin: z.ZodString; - }, "strip", z.ZodTypeAny, { - origin: string; - realm: string; - }, { - origin: string; - realm: string; - }>>, z.ZodObject<{ - type: z.ZodLiteral<"dedicated-worker">; - owners: z.ZodTuple<[z.ZodLazy], null>; - }, "strip", z.ZodTypeAny, { - type: "dedicated-worker"; - owners: [string]; - }, { - type: "dedicated-worker"; - owners: [string]; - }>>>, z.ZodLazy; - origin: z.ZodString; - }, "strip", z.ZodTypeAny, { - origin: string; - realm: string; - }, { - origin: string; - realm: string; - }>>, z.ZodObject<{ - type: z.ZodLiteral<"shared-worker">; - }, "strip", z.ZodTypeAny, { - type: "shared-worker"; - }, { - type: "shared-worker"; - }>>>, z.ZodLazy; - origin: z.ZodString; - }, "strip", z.ZodTypeAny, { - origin: string; - realm: string; - }, { - origin: string; - realm: string; - }>>, z.ZodObject<{ - type: z.ZodLiteral<"service-worker">; - }, "strip", z.ZodTypeAny, { - type: "service-worker"; - }, { - type: "service-worker"; - }>>>, z.ZodLazy; - origin: z.ZodString; - }, "strip", z.ZodTypeAny, { - origin: string; - realm: string; - }, { - origin: string; - realm: string; - }>>, z.ZodObject<{ - type: z.ZodLiteral<"worker">; - }, "strip", z.ZodTypeAny, { - type: "worker"; - }, { - type: "worker"; - }>>>, z.ZodLazy; - origin: z.ZodString; - }, "strip", z.ZodTypeAny, { - origin: string; - realm: string; - }, { - origin: string; - realm: string; - }>>, z.ZodObject<{ - type: z.ZodLiteral<"paint-worklet">; - }, "strip", z.ZodTypeAny, { - type: "paint-worklet"; - }, { - type: "paint-worklet"; - }>>>, z.ZodLazy; - origin: z.ZodString; - }, "strip", z.ZodTypeAny, { - origin: string; - realm: string; - }, { - origin: string; - realm: string; - }>>, z.ZodObject<{ - type: z.ZodLiteral<"audio-worklet">; - }, "strip", z.ZodTypeAny, { - type: "audio-worklet"; - }, { - type: "audio-worklet"; - }>>>, z.ZodLazy; - origin: z.ZodString; - }, "strip", z.ZodTypeAny, { - origin: string; - realm: string; - }, { - origin: string; - realm: string; - }>>, z.ZodObject<{ - type: z.ZodLiteral<"worklet">; - }, "strip", z.ZodTypeAny, { - type: "worklet"; - }, { - type: "worklet"; - }>>>]>>, "many">; - }, "strip", z.ZodTypeAny, { - realms: (({ - origin: string; - realm: string; - } & { - type: "window"; - context: string; - sandbox?: string | undefined; - }) | ({ - origin: string; - realm: string; - } & { - type: "dedicated-worker"; - owners: [string]; - }) | ({ - origin: string; - realm: string; - } & { - type: "shared-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "service-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "paint-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "audio-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worklet"; - }))[]; - }, { - realms: (({ - origin: string; - realm: string; - } & { - type: "window"; - context: string; - sandbox?: string | undefined; - }) | ({ - origin: string; - realm: string; - } & { - type: "dedicated-worker"; - owners: [string]; - }) | ({ - origin: string; - realm: string; - } & { - type: "shared-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "service-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "paint-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "audio-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worklet"; - }))[]; - }>>]>>, z.ZodLazy; - }, "strip", z.ZodTypeAny, { - proxyType: "autodetect"; - }, { - proxyType: "autodetect"; - }>, z.ZodLazy>>>, z.ZodLazy; - }, "strip", z.ZodTypeAny, { - proxyType: "direct"; - }, { - proxyType: "direct"; - }>, z.ZodLazy>>>, z.ZodLazy; - ftpProxy: z.ZodOptional; - httpProxy: z.ZodOptional; - sslProxy: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - }, { - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - }>, z.ZodUnion<[z.ZodLazy>, z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>]>>, z.ZodObject<{ - noProxy: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - noProxy?: string[] | undefined; - }, { - noProxy?: string[] | undefined; - }>>, z.ZodLazy>>>, z.ZodLazy; - proxyAutoconfigUrl: z.ZodString; - }, "strip", z.ZodTypeAny, { - proxyType: "pac"; - proxyAutoconfigUrl: string; - }, { - proxyType: "pac"; - proxyAutoconfigUrl: string; - }>, z.ZodLazy>>>, z.ZodLazy; - }, "strip", z.ZodTypeAny, { - proxyType: "system"; - }, { - proxyType: "system"; - }>, z.ZodLazy>>>, z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>]>>>; - webSocketUrl: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - acceptInsecureCerts: boolean; - browserName: string; - browserVersion: string; - platformName: string; - setWindowRect: boolean; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: string | undefined; - }, { - acceptInsecureCerts: boolean; - browserName: string; - browserVersion: string; - platformName: string; - setWindowRect: boolean; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: string | undefined; - }>, z.ZodLazy>>; - }, "strip", z.ZodTypeAny, { - capabilities: { - acceptInsecureCerts: boolean; - browserName: string; - browserVersion: string; - platformName: string; - setWindowRect: boolean; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: string | undefined; - } & Record; - sessionId: string; - }, { - capabilities: { - acceptInsecureCerts: boolean; - browserName: string; - browserVersion: string; - platformName: string; - setWindowRect: boolean; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: string | undefined; - } & Record; - sessionId: string; - }>>, z.ZodLazy>]>>, z.ZodLazy; - sourceOrigin: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - }, { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - }>, z.ZodLazy>>>; - }, "strip", z.ZodTypeAny, { - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }, { - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }>>, z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "string"; - value: string; - }, { - type: "string"; - value: string; - }>>, z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "base64"; - value: string; - }, { - type: "base64"; - value: string; - }>>]>>; - domain: z.ZodString; - path: z.ZodString; - size: z.ZodLazy; - httpOnly: z.ZodBoolean; - secure: z.ZodBoolean; - sameSite: z.ZodLazy>; - expiry: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - }, { - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - }>, z.ZodLazy>>>, "many">; - partitionKey: z.ZodLazy; - sourceOrigin: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - }, { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - }>, z.ZodLazy>>>; - }, "strip", z.ZodTypeAny, { - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }, { - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }>>, z.ZodLazy; - sourceOrigin: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - }, { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - }>, z.ZodLazy>>>; - }, "strip", z.ZodTypeAny, { - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }, { - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }>>]>>]>>; -}, "strip", z.ZodTypeAny, { - type: "success"; - id: number; - result: Record | { - data: string; - } | { - context: string; - } | { - contexts?: any; - } | { - nodes: any[]; - } | { - url: string; - navigation: string | null; - } | { - data: string; - } | {} | { - intercept: string; - } | { - script: string; - } | { - type: "success"; - realm: string; - result?: any; - } | { - type: "exception"; - realm: string; - exceptionDetails: { - columnNumber: number; - lineNumber: number; - text: string; - stackTrace: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }; - exception?: any; - }; - } | { - realms: (({ - origin: string; - realm: string; - } & { - type: "window"; - context: string; - sandbox?: string | undefined; - }) | ({ - origin: string; - realm: string; - } & { - type: "dedicated-worker"; - owners: [string]; - }) | ({ - origin: string; - realm: string; - } & { - type: "shared-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "service-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "paint-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "audio-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worklet"; - }))[]; - } | { - capabilities: { - acceptInsecureCerts: boolean; - browserName: string; - browserVersion: string; - platformName: string; - setWindowRect: boolean; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: string | undefined; - } & Record; - sessionId: string; - } | { - message: string; - ready: boolean; - } | { - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } | { - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } | { - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } | (Record & { - data: string; - }) | (Record & { - context: string; - }) | (Record & { - contexts?: any; - }) | (Record & { - nodes: any[]; - }) | (Record & { - url: string; - navigation: string | null; - }) | (Record & { - data: string; - }) | (Record & {}) | (Record & { - intercept: string; - }) | (Record & { - script: string; - }) | (Record & { - type: "success"; - realm: string; - result?: any; - }) | (Record & { - type: "exception"; - realm: string; - exceptionDetails: { - columnNumber: number; - lineNumber: number; - text: string; - stackTrace: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }; - exception?: any; - }; - }) | (Record & { - realms: (({ - origin: string; - realm: string; - } & { - type: "window"; - context: string; - sandbox?: string | undefined; - }) | ({ - origin: string; - realm: string; - } & { - type: "dedicated-worker"; - owners: [string]; - }) | ({ - origin: string; - realm: string; - } & { - type: "shared-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "service-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "paint-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "audio-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worklet"; - }))[]; - }) | (Record & { - capabilities: { - acceptInsecureCerts: boolean; - browserName: string; - browserVersion: string; - platformName: string; - setWindowRect: boolean; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: string | undefined; - } & Record; - sessionId: string; - }) | (Record & { - message: string; - ready: boolean; - }) | (Record & { - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | (Record & { - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | (Record & { - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | ({ - data: string; - } & Record) | ({ - data: string; - } & { - context: string; - }) | ({ - data: string; - } & { - contexts?: any; - }) | ({ - data: string; - } & { - nodes: any[]; - }) | ({ - data: string; - } & { - url: string; - navigation: string | null; - }) | ({ - data: string; - } & { - data: string; - }) | ({ - data: string; - } & {}) | ({ - data: string; - } & { - intercept: string; - }) | ({ - data: string; - } & { - script: string; - }) | ({ - data: string; - } & { - type: "success"; - realm: string; - result?: any; - }) | ({ - data: string; - } & { - type: "exception"; - realm: string; - exceptionDetails: { - columnNumber: number; - lineNumber: number; - text: string; - stackTrace: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }; - exception?: any; - }; - }) | ({ - data: string; - } & { - realms: (({ - origin: string; - realm: string; - } & { - type: "window"; - context: string; - sandbox?: string | undefined; - }) | ({ - origin: string; - realm: string; - } & { - type: "dedicated-worker"; - owners: [string]; - }) | ({ - origin: string; - realm: string; - } & { - type: "shared-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "service-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "paint-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "audio-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worklet"; - }))[]; - }) | ({ - data: string; - } & { - capabilities: { - acceptInsecureCerts: boolean; - browserName: string; - browserVersion: string; - platformName: string; - setWindowRect: boolean; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: string | undefined; - } & Record; - sessionId: string; - }) | ({ - data: string; - } & { - message: string; - ready: boolean; - }) | ({ - data: string; - } & { - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | ({ - data: string; - } & { - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | ({ - data: string; - } & { - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | ({ - context: string; - } & Record) | ({ - context: string; - } & { - data: string; - }) | ({ - context: string; - } & { - contexts?: any; - }) | ({ - context: string; - } & { - nodes: any[]; - }) | ({ - context: string; - } & { - url: string; - navigation: string | null; - }) | ({ - context: string; - } & { - data: string; - }) | ({ - context: string; - } & {}) | ({ - context: string; - } & { - intercept: string; - }) | ({ - context: string; - } & { - script: string; - }) | ({ - context: string; - } & { - type: "success"; - realm: string; - result?: any; - }) | ({ - context: string; - } & { - type: "exception"; - realm: string; - exceptionDetails: { - columnNumber: number; - lineNumber: number; - text: string; - stackTrace: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }; - exception?: any; - }; - }) | ({ - context: string; - } & { - realms: (({ - origin: string; - realm: string; - } & { - type: "window"; - context: string; - sandbox?: string | undefined; - }) | ({ - origin: string; - realm: string; - } & { - type: "dedicated-worker"; - owners: [string]; - }) | ({ - origin: string; - realm: string; - } & { - type: "shared-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "service-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "paint-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "audio-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worklet"; - }))[]; - }) | ({ - context: string; - } & { - capabilities: { - acceptInsecureCerts: boolean; - browserName: string; - browserVersion: string; - platformName: string; - setWindowRect: boolean; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: string | undefined; - } & Record; - sessionId: string; - }) | ({ - context: string; - } & { - message: string; - ready: boolean; - }) | ({ - context: string; - } & { - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | ({ - context: string; - } & { - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | ({ - context: string; - } & { - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | ({ - contexts?: any; - } & Record) | ({ - contexts?: any; - } & { - data: string; - }) | ({ - contexts?: any; - } & { - context: string; - }) | ({ - contexts?: any; - } & { - nodes: any[]; - }) | ({ - contexts?: any; - } & { - url: string; - navigation: string | null; - }) | ({ - contexts?: any; - } & { - data: string; - }) | ({ - contexts?: any; - } & {}) | ({ - contexts?: any; - } & { - intercept: string; - }) | ({ - contexts?: any; - } & { - script: string; - }) | ({ - contexts?: any; - } & { - type: "success"; - realm: string; - result?: any; - }) | ({ - contexts?: any; - } & { - type: "exception"; - realm: string; - exceptionDetails: { - columnNumber: number; - lineNumber: number; - text: string; - stackTrace: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }; - exception?: any; - }; - }) | ({ - contexts?: any; - } & { - realms: (({ - origin: string; - realm: string; - } & { - type: "window"; - context: string; - sandbox?: string | undefined; - }) | ({ - origin: string; - realm: string; - } & { - type: "dedicated-worker"; - owners: [string]; - }) | ({ - origin: string; - realm: string; - } & { - type: "shared-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "service-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "paint-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "audio-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worklet"; - }))[]; - }) | ({ - contexts?: any; - } & { - capabilities: { - acceptInsecureCerts: boolean; - browserName: string; - browserVersion: string; - platformName: string; - setWindowRect: boolean; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: string | undefined; - } & Record; - sessionId: string; - }) | ({ - contexts?: any; - } & { - message: string; - ready: boolean; - }) | ({ - contexts?: any; - } & { - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | ({ - contexts?: any; - } & { - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | ({ - contexts?: any; - } & { - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | ({ - nodes: any[]; - } & Record) | ({ - nodes: any[]; - } & { - data: string; - }) | ({ - nodes: any[]; - } & { - context: string; - }) | ({ - nodes: any[]; - } & { - contexts?: any; - }) | ({ - nodes: any[]; - } & { - url: string; - navigation: string | null; - }) | ({ - nodes: any[]; - } & { - data: string; - }) | ({ - nodes: any[]; - } & {}) | ({ - nodes: any[]; - } & { - intercept: string; - }) | ({ - nodes: any[]; - } & { - script: string; - }) | ({ - nodes: any[]; - } & { - type: "success"; - realm: string; - result?: any; - }) | ({ - nodes: any[]; - } & { - type: "exception"; - realm: string; - exceptionDetails: { - columnNumber: number; - lineNumber: number; - text: string; - stackTrace: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }; - exception?: any; - }; - }) | ({ - nodes: any[]; - } & { - realms: (({ - origin: string; - realm: string; - } & { - type: "window"; - context: string; - sandbox?: string | undefined; - }) | ({ - origin: string; - realm: string; - } & { - type: "dedicated-worker"; - owners: [string]; - }) | ({ - origin: string; - realm: string; - } & { - type: "shared-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "service-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "paint-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "audio-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worklet"; - }))[]; - }) | ({ - nodes: any[]; - } & { - capabilities: { - acceptInsecureCerts: boolean; - browserName: string; - browserVersion: string; - platformName: string; - setWindowRect: boolean; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: string | undefined; - } & Record; - sessionId: string; - }) | ({ - nodes: any[]; - } & { - message: string; - ready: boolean; - }) | ({ - nodes: any[]; - } & { - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | ({ - nodes: any[]; - } & { - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | ({ - nodes: any[]; - } & { - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | ({ - url: string; - navigation: string | null; - } & Record) | ({ - url: string; - navigation: string | null; - } & { - data: string; - }) | ({ - url: string; - navigation: string | null; - } & { - context: string; - }) | ({ - url: string; - navigation: string | null; - } & { - contexts?: any; - }) | ({ - url: string; - navigation: string | null; - } & { - nodes: any[]; - }) | ({ - url: string; - navigation: string | null; - } & { - data: string; - }) | ({ - url: string; - navigation: string | null; - } & {}) | ({ - url: string; - navigation: string | null; - } & { - intercept: string; - }) | ({ - url: string; - navigation: string | null; - } & { - script: string; - }) | ({ - url: string; - navigation: string | null; - } & { - type: "success"; - realm: string; - result?: any; - }) | ({ - url: string; - navigation: string | null; - } & { - type: "exception"; - realm: string; - exceptionDetails: { - columnNumber: number; - lineNumber: number; - text: string; - stackTrace: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }; - exception?: any; - }; - }) | ({ - url: string; - navigation: string | null; - } & { - realms: (({ - origin: string; - realm: string; - } & { - type: "window"; - context: string; - sandbox?: string | undefined; - }) | ({ - origin: string; - realm: string; - } & { - type: "dedicated-worker"; - owners: [string]; - }) | ({ - origin: string; - realm: string; - } & { - type: "shared-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "service-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "paint-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "audio-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worklet"; - }))[]; - }) | ({ - url: string; - navigation: string | null; - } & { - capabilities: { - acceptInsecureCerts: boolean; - browserName: string; - browserVersion: string; - platformName: string; - setWindowRect: boolean; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: string | undefined; - } & Record; - sessionId: string; - }) | ({ - url: string; - navigation: string | null; - } & { - message: string; - ready: boolean; - }) | ({ - url: string; - navigation: string | null; - } & { - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | ({ - url: string; - navigation: string | null; - } & { - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | ({ - url: string; - navigation: string | null; - } & { - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | ({ - data: string; - } & Record) | ({ - data: string; - } & { - data: string; - }) | ({ - data: string; - } & { - context: string; - }) | ({ - data: string; - } & { - contexts?: any; - }) | ({ - data: string; - } & { - nodes: any[]; - }) | ({ - data: string; - } & { - url: string; - navigation: string | null; - }) | ({ - data: string; - } & {}) | ({ - data: string; - } & { - intercept: string; - }) | ({ - data: string; - } & { - script: string; - }) | ({ - data: string; - } & { - type: "success"; - realm: string; - result?: any; - }) | ({ - data: string; - } & { - type: "exception"; - realm: string; - exceptionDetails: { - columnNumber: number; - lineNumber: number; - text: string; - stackTrace: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }; - exception?: any; - }; - }) | ({ - data: string; - } & { - realms: (({ - origin: string; - realm: string; - } & { - type: "window"; - context: string; - sandbox?: string | undefined; - }) | ({ - origin: string; - realm: string; - } & { - type: "dedicated-worker"; - owners: [string]; - }) | ({ - origin: string; - realm: string; - } & { - type: "shared-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "service-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "paint-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "audio-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worklet"; - }))[]; - }) | ({ - data: string; - } & { - capabilities: { - acceptInsecureCerts: boolean; - browserName: string; - browserVersion: string; - platformName: string; - setWindowRect: boolean; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: string | undefined; - } & Record; - sessionId: string; - }) | ({ - data: string; - } & { - message: string; - ready: boolean; - }) | ({ - data: string; - } & { - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | ({ - data: string; - } & { - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | ({ - data: string; - } & { - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | ({} & Record) | ({} & { - data: string; - }) | ({} & { - context: string; - }) | ({} & { - contexts?: any; - }) | ({} & { - nodes: any[]; - }) | ({} & { - url: string; - navigation: string | null; - }) | ({} & { - data: string; - }) | ({} & { - intercept: string; - }) | ({} & { - script: string; - }) | ({} & { - type: "success"; - realm: string; - result?: any; - }) | ({} & { - type: "exception"; - realm: string; - exceptionDetails: { - columnNumber: number; - lineNumber: number; - text: string; - stackTrace: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }; - exception?: any; - }; - }) | ({} & { - realms: (({ - origin: string; - realm: string; - } & { - type: "window"; - context: string; - sandbox?: string | undefined; - }) | ({ - origin: string; - realm: string; - } & { - type: "dedicated-worker"; - owners: [string]; - }) | ({ - origin: string; - realm: string; - } & { - type: "shared-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "service-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "paint-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "audio-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worklet"; - }))[]; - }) | ({} & { - capabilities: { - acceptInsecureCerts: boolean; - browserName: string; - browserVersion: string; - platformName: string; - setWindowRect: boolean; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: string | undefined; - } & Record; - sessionId: string; - }) | ({} & { - message: string; - ready: boolean; - }) | ({} & { - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | ({} & { - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | ({} & { - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | ({ - intercept: string; - } & Record) | ({ - intercept: string; - } & { - data: string; - }) | ({ - intercept: string; - } & { - context: string; - }) | ({ - intercept: string; - } & { - contexts?: any; - }) | ({ - intercept: string; - } & { - nodes: any[]; - }) | ({ - intercept: string; - } & { - url: string; - navigation: string | null; - }) | ({ - intercept: string; - } & { - data: string; - }) | ({ - intercept: string; - } & {}) | ({ - intercept: string; - } & { - script: string; - }) | ({ - intercept: string; - } & { - type: "success"; - realm: string; - result?: any; - }) | ({ - intercept: string; - } & { - type: "exception"; - realm: string; - exceptionDetails: { - columnNumber: number; - lineNumber: number; - text: string; - stackTrace: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }; - exception?: any; - }; - }) | ({ - intercept: string; - } & { - realms: (({ - origin: string; - realm: string; - } & { - type: "window"; - context: string; - sandbox?: string | undefined; - }) | ({ - origin: string; - realm: string; - } & { - type: "dedicated-worker"; - owners: [string]; - }) | ({ - origin: string; - realm: string; - } & { - type: "shared-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "service-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "paint-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "audio-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worklet"; - }))[]; - }) | ({ - intercept: string; - } & { - capabilities: { - acceptInsecureCerts: boolean; - browserName: string; - browserVersion: string; - platformName: string; - setWindowRect: boolean; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: string | undefined; - } & Record; - sessionId: string; - }) | ({ - intercept: string; - } & { - message: string; - ready: boolean; - }) | ({ - intercept: string; - } & { - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | ({ - intercept: string; - } & { - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | ({ - intercept: string; - } & { - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | ({ - script: string; - } & Record) | ({ - script: string; - } & { - data: string; - }) | ({ - script: string; - } & { - context: string; - }) | ({ - script: string; - } & { - contexts?: any; - }) | ({ - script: string; - } & { - nodes: any[]; - }) | ({ - script: string; - } & { - url: string; - navigation: string | null; - }) | ({ - script: string; - } & { - data: string; - }) | ({ - script: string; - } & {}) | ({ - script: string; - } & { - intercept: string; - }) | ({ - script: string; - } & { - type: "success"; - realm: string; - result?: any; - }) | ({ - script: string; - } & { - type: "exception"; - realm: string; - exceptionDetails: { - columnNumber: number; - lineNumber: number; - text: string; - stackTrace: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }; - exception?: any; - }; - }) | ({ - script: string; - } & { - realms: (({ - origin: string; - realm: string; - } & { - type: "window"; - context: string; - sandbox?: string | undefined; - }) | ({ - origin: string; - realm: string; - } & { - type: "dedicated-worker"; - owners: [string]; - }) | ({ - origin: string; - realm: string; - } & { - type: "shared-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "service-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "paint-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "audio-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worklet"; - }))[]; - }) | ({ - script: string; - } & { - capabilities: { - acceptInsecureCerts: boolean; - browserName: string; - browserVersion: string; - platformName: string; - setWindowRect: boolean; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: string | undefined; - } & Record; - sessionId: string; - }) | ({ - script: string; - } & { - message: string; - ready: boolean; - }) | ({ - script: string; - } & { - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | ({ - script: string; - } & { - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | ({ - script: string; - } & { - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | ({ - type: "success"; - realm: string; - result?: any; - } & Record) | ({ - type: "success"; - realm: string; - result?: any; - } & { - data: string; - }) | ({ - type: "success"; - realm: string; - result?: any; - } & { - context: string; - }) | ({ - type: "success"; - realm: string; - result?: any; - } & { - contexts?: any; - }) | ({ - type: "success"; - realm: string; - result?: any; - } & { - nodes: any[]; - }) | ({ - type: "success"; - realm: string; - result?: any; - } & { - url: string; - navigation: string | null; - }) | ({ - type: "success"; - realm: string; - result?: any; - } & { - data: string; - }) | ({ - type: "success"; - realm: string; - result?: any; - } & {}) | ({ - type: "success"; - realm: string; - result?: any; - } & { - intercept: string; - }) | ({ - type: "success"; - realm: string; - result?: any; - } & { - script: string; - }) | ({ - type: "success"; - realm: string; - result?: any; - } & { - realms: (({ - origin: string; - realm: string; - } & { - type: "window"; - context: string; - sandbox?: string | undefined; - }) | ({ - origin: string; - realm: string; - } & { - type: "dedicated-worker"; - owners: [string]; - }) | ({ - origin: string; - realm: string; - } & { - type: "shared-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "service-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "paint-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "audio-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worklet"; - }))[]; - }) | ({ - type: "success"; - realm: string; - result?: any; - } & { - capabilities: { - acceptInsecureCerts: boolean; - browserName: string; - browserVersion: string; - platformName: string; - setWindowRect: boolean; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: string | undefined; - } & Record; - sessionId: string; - }) | ({ - type: "success"; - realm: string; - result?: any; - } & { - message: string; - ready: boolean; - }) | ({ - type: "success"; - realm: string; - result?: any; - } & { - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | ({ - type: "success"; - realm: string; - result?: any; - } & { - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | ({ - type: "success"; - realm: string; - result?: any; - } & { - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | ({ - type: "exception"; - realm: string; - exceptionDetails: { - columnNumber: number; - lineNumber: number; - text: string; - stackTrace: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }; - exception?: any; - }; - } & Record) | ({ - type: "exception"; - realm: string; - exceptionDetails: { - columnNumber: number; - lineNumber: number; - text: string; - stackTrace: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }; - exception?: any; - }; - } & { - data: string; - }) | ({ - type: "exception"; - realm: string; - exceptionDetails: { - columnNumber: number; - lineNumber: number; - text: string; - stackTrace: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }; - exception?: any; - }; - } & { - context: string; - }) | ({ - type: "exception"; - realm: string; - exceptionDetails: { - columnNumber: number; - lineNumber: number; - text: string; - stackTrace: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }; - exception?: any; - }; - } & { - contexts?: any; - }) | ({ - type: "exception"; - realm: string; - exceptionDetails: { - columnNumber: number; - lineNumber: number; - text: string; - stackTrace: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }; - exception?: any; - }; - } & { - nodes: any[]; - }) | ({ - type: "exception"; - realm: string; - exceptionDetails: { - columnNumber: number; - lineNumber: number; - text: string; - stackTrace: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }; - exception?: any; - }; - } & { - url: string; - navigation: string | null; - }) | ({ - type: "exception"; - realm: string; - exceptionDetails: { - columnNumber: number; - lineNumber: number; - text: string; - stackTrace: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }; - exception?: any; - }; - } & { - data: string; - }) | ({ - type: "exception"; - realm: string; - exceptionDetails: { - columnNumber: number; - lineNumber: number; - text: string; - stackTrace: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }; - exception?: any; - }; - } & {}) | ({ - type: "exception"; - realm: string; - exceptionDetails: { - columnNumber: number; - lineNumber: number; - text: string; - stackTrace: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }; - exception?: any; - }; - } & { - intercept: string; - }) | ({ - type: "exception"; - realm: string; - exceptionDetails: { - columnNumber: number; - lineNumber: number; - text: string; - stackTrace: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }; - exception?: any; - }; - } & { - script: string; - }) | ({ - type: "exception"; - realm: string; - exceptionDetails: { - columnNumber: number; - lineNumber: number; - text: string; - stackTrace: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }; - exception?: any; - }; - } & { - realms: (({ - origin: string; - realm: string; - } & { - type: "window"; - context: string; - sandbox?: string | undefined; - }) | ({ - origin: string; - realm: string; - } & { - type: "dedicated-worker"; - owners: [string]; - }) | ({ - origin: string; - realm: string; - } & { - type: "shared-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "service-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "paint-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "audio-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worklet"; - }))[]; - }) | ({ - type: "exception"; - realm: string; - exceptionDetails: { - columnNumber: number; - lineNumber: number; - text: string; - stackTrace: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }; - exception?: any; - }; - } & { - capabilities: { - acceptInsecureCerts: boolean; - browserName: string; - browserVersion: string; - platformName: string; - setWindowRect: boolean; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: string | undefined; - } & Record; - sessionId: string; - }) | ({ - type: "exception"; - realm: string; - exceptionDetails: { - columnNumber: number; - lineNumber: number; - text: string; - stackTrace: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }; - exception?: any; - }; - } & { - message: string; - ready: boolean; - }) | ({ - type: "exception"; - realm: string; - exceptionDetails: { - columnNumber: number; - lineNumber: number; - text: string; - stackTrace: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }; - exception?: any; - }; - } & { - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | ({ - type: "exception"; - realm: string; - exceptionDetails: { - columnNumber: number; - lineNumber: number; - text: string; - stackTrace: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }; - exception?: any; - }; - } & { - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | ({ - type: "exception"; - realm: string; - exceptionDetails: { - columnNumber: number; - lineNumber: number; - text: string; - stackTrace: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }; - exception?: any; - }; - } & { - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | ({ - realms: (({ - origin: string; - realm: string; - } & { - type: "window"; - context: string; - sandbox?: string | undefined; - }) | ({ - origin: string; - realm: string; - } & { - type: "dedicated-worker"; - owners: [string]; - }) | ({ - origin: string; - realm: string; - } & { - type: "shared-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "service-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "paint-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "audio-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worklet"; - }))[]; - } & Record) | ({ - realms: (({ - origin: string; - realm: string; - } & { - type: "window"; - context: string; - sandbox?: string | undefined; - }) | ({ - origin: string; - realm: string; - } & { - type: "dedicated-worker"; - owners: [string]; - }) | ({ - origin: string; - realm: string; - } & { - type: "shared-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "service-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "paint-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "audio-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worklet"; - }))[]; - } & { - data: string; - }) | ({ - realms: (({ - origin: string; - realm: string; - } & { - type: "window"; - context: string; - sandbox?: string | undefined; - }) | ({ - origin: string; - realm: string; - } & { - type: "dedicated-worker"; - owners: [string]; - }) | ({ - origin: string; - realm: string; - } & { - type: "shared-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "service-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "paint-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "audio-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worklet"; - }))[]; - } & { - context: string; - }) | ({ - realms: (({ - origin: string; - realm: string; - } & { - type: "window"; - context: string; - sandbox?: string | undefined; - }) | ({ - origin: string; - realm: string; - } & { - type: "dedicated-worker"; - owners: [string]; - }) | ({ - origin: string; - realm: string; - } & { - type: "shared-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "service-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "paint-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "audio-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worklet"; - }))[]; - } & { - contexts?: any; - }) | ({ - realms: (({ - origin: string; - realm: string; - } & { - type: "window"; - context: string; - sandbox?: string | undefined; - }) | ({ - origin: string; - realm: string; - } & { - type: "dedicated-worker"; - owners: [string]; - }) | ({ - origin: string; - realm: string; - } & { - type: "shared-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "service-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "paint-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "audio-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worklet"; - }))[]; - } & { - nodes: any[]; - }) | ({ - realms: (({ - origin: string; - realm: string; - } & { - type: "window"; - context: string; - sandbox?: string | undefined; - }) | ({ - origin: string; - realm: string; - } & { - type: "dedicated-worker"; - owners: [string]; - }) | ({ - origin: string; - realm: string; - } & { - type: "shared-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "service-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "paint-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "audio-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worklet"; - }))[]; - } & { - url: string; - navigation: string | null; - }) | ({ - realms: (({ - origin: string; - realm: string; - } & { - type: "window"; - context: string; - sandbox?: string | undefined; - }) | ({ - origin: string; - realm: string; - } & { - type: "dedicated-worker"; - owners: [string]; - }) | ({ - origin: string; - realm: string; - } & { - type: "shared-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "service-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "paint-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "audio-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worklet"; - }))[]; - } & { - data: string; - }) | ({ - realms: (({ - origin: string; - realm: string; - } & { - type: "window"; - context: string; - sandbox?: string | undefined; - }) | ({ - origin: string; - realm: string; - } & { - type: "dedicated-worker"; - owners: [string]; - }) | ({ - origin: string; - realm: string; - } & { - type: "shared-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "service-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "paint-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "audio-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worklet"; - }))[]; - } & {}) | ({ - realms: (({ - origin: string; - realm: string; - } & { - type: "window"; - context: string; - sandbox?: string | undefined; - }) | ({ - origin: string; - realm: string; - } & { - type: "dedicated-worker"; - owners: [string]; - }) | ({ - origin: string; - realm: string; - } & { - type: "shared-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "service-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "paint-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "audio-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worklet"; - }))[]; - } & { - intercept: string; - }) | ({ - realms: (({ - origin: string; - realm: string; - } & { - type: "window"; - context: string; - sandbox?: string | undefined; - }) | ({ - origin: string; - realm: string; - } & { - type: "dedicated-worker"; - owners: [string]; - }) | ({ - origin: string; - realm: string; - } & { - type: "shared-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "service-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "paint-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "audio-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worklet"; - }))[]; - } & { - script: string; - }) | ({ - realms: (({ - origin: string; - realm: string; - } & { - type: "window"; - context: string; - sandbox?: string | undefined; - }) | ({ - origin: string; - realm: string; - } & { - type: "dedicated-worker"; - owners: [string]; - }) | ({ - origin: string; - realm: string; - } & { - type: "shared-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "service-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "paint-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "audio-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worklet"; - }))[]; - } & { - type: "success"; - realm: string; - result?: any; - }) | ({ - realms: (({ - origin: string; - realm: string; - } & { - type: "window"; - context: string; - sandbox?: string | undefined; - }) | ({ - origin: string; - realm: string; - } & { - type: "dedicated-worker"; - owners: [string]; - }) | ({ - origin: string; - realm: string; - } & { - type: "shared-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "service-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "paint-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "audio-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worklet"; - }))[]; - } & { - type: "exception"; - realm: string; - exceptionDetails: { - columnNumber: number; - lineNumber: number; - text: string; - stackTrace: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }; - exception?: any; - }; - }) | ({ - realms: (({ - origin: string; - realm: string; - } & { - type: "window"; - context: string; - sandbox?: string | undefined; - }) | ({ - origin: string; - realm: string; - } & { - type: "dedicated-worker"; - owners: [string]; - }) | ({ - origin: string; - realm: string; - } & { - type: "shared-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "service-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "paint-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "audio-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worklet"; - }))[]; - } & { - capabilities: { - acceptInsecureCerts: boolean; - browserName: string; - browserVersion: string; - platformName: string; - setWindowRect: boolean; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: string | undefined; - } & Record; - sessionId: string; - }) | ({ - realms: (({ - origin: string; - realm: string; - } & { - type: "window"; - context: string; - sandbox?: string | undefined; - }) | ({ - origin: string; - realm: string; - } & { - type: "dedicated-worker"; - owners: [string]; - }) | ({ - origin: string; - realm: string; - } & { - type: "shared-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "service-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "paint-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "audio-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worklet"; - }))[]; - } & { - message: string; - ready: boolean; - }) | ({ - realms: (({ - origin: string; - realm: string; - } & { - type: "window"; - context: string; - sandbox?: string | undefined; - }) | ({ - origin: string; - realm: string; - } & { - type: "dedicated-worker"; - owners: [string]; - }) | ({ - origin: string; - realm: string; - } & { - type: "shared-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "service-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "paint-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "audio-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worklet"; - }))[]; - } & { - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | ({ - realms: (({ - origin: string; - realm: string; - } & { - type: "window"; - context: string; - sandbox?: string | undefined; - }) | ({ - origin: string; - realm: string; - } & { - type: "dedicated-worker"; - owners: [string]; - }) | ({ - origin: string; - realm: string; - } & { - type: "shared-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "service-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "paint-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "audio-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worklet"; - }))[]; - } & { - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | ({ - realms: (({ - origin: string; - realm: string; - } & { - type: "window"; - context: string; - sandbox?: string | undefined; - }) | ({ - origin: string; - realm: string; - } & { - type: "dedicated-worker"; - owners: [string]; - }) | ({ - origin: string; - realm: string; - } & { - type: "shared-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "service-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "paint-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "audio-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worklet"; - }))[]; - } & { - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | ({ - capabilities: { - acceptInsecureCerts: boolean; - browserName: string; - browserVersion: string; - platformName: string; - setWindowRect: boolean; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: string | undefined; - } & Record; - sessionId: string; - } & Record) | ({ - capabilities: { - acceptInsecureCerts: boolean; - browserName: string; - browserVersion: string; - platformName: string; - setWindowRect: boolean; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: string | undefined; - } & Record; - sessionId: string; - } & { - data: string; - }) | ({ - capabilities: { - acceptInsecureCerts: boolean; - browserName: string; - browserVersion: string; - platformName: string; - setWindowRect: boolean; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: string | undefined; - } & Record; - sessionId: string; - } & { - context: string; - }) | ({ - capabilities: { - acceptInsecureCerts: boolean; - browserName: string; - browserVersion: string; - platformName: string; - setWindowRect: boolean; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: string | undefined; - } & Record; - sessionId: string; - } & { - contexts?: any; - }) | ({ - capabilities: { - acceptInsecureCerts: boolean; - browserName: string; - browserVersion: string; - platformName: string; - setWindowRect: boolean; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: string | undefined; - } & Record; - sessionId: string; - } & { - nodes: any[]; - }) | ({ - capabilities: { - acceptInsecureCerts: boolean; - browserName: string; - browserVersion: string; - platformName: string; - setWindowRect: boolean; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: string | undefined; - } & Record; - sessionId: string; - } & { - url: string; - navigation: string | null; - }) | ({ - capabilities: { - acceptInsecureCerts: boolean; - browserName: string; - browserVersion: string; - platformName: string; - setWindowRect: boolean; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: string | undefined; - } & Record; - sessionId: string; - } & { - data: string; - }) | ({ - capabilities: { - acceptInsecureCerts: boolean; - browserName: string; - browserVersion: string; - platformName: string; - setWindowRect: boolean; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: string | undefined; - } & Record; - sessionId: string; - } & {}) | ({ - capabilities: { - acceptInsecureCerts: boolean; - browserName: string; - browserVersion: string; - platformName: string; - setWindowRect: boolean; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: string | undefined; - } & Record; - sessionId: string; - } & { - intercept: string; - }) | ({ - capabilities: { - acceptInsecureCerts: boolean; - browserName: string; - browserVersion: string; - platformName: string; - setWindowRect: boolean; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: string | undefined; - } & Record; - sessionId: string; - } & { - script: string; - }) | ({ - capabilities: { - acceptInsecureCerts: boolean; - browserName: string; - browserVersion: string; - platformName: string; - setWindowRect: boolean; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: string | undefined; - } & Record; - sessionId: string; - } & { - type: "success"; - realm: string; - result?: any; - }) | ({ - capabilities: { - acceptInsecureCerts: boolean; - browserName: string; - browserVersion: string; - platformName: string; - setWindowRect: boolean; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: string | undefined; - } & Record; - sessionId: string; - } & { - type: "exception"; - realm: string; - exceptionDetails: { - columnNumber: number; - lineNumber: number; - text: string; - stackTrace: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }; - exception?: any; - }; - }) | ({ - capabilities: { - acceptInsecureCerts: boolean; - browserName: string; - browserVersion: string; - platformName: string; - setWindowRect: boolean; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: string | undefined; - } & Record; - sessionId: string; - } & { - realms: (({ - origin: string; - realm: string; - } & { - type: "window"; - context: string; - sandbox?: string | undefined; - }) | ({ - origin: string; - realm: string; - } & { - type: "dedicated-worker"; - owners: [string]; - }) | ({ - origin: string; - realm: string; - } & { - type: "shared-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "service-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "paint-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "audio-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worklet"; - }))[]; - }) | ({ - capabilities: { - acceptInsecureCerts: boolean; - browserName: string; - browserVersion: string; - platformName: string; - setWindowRect: boolean; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: string | undefined; - } & Record; - sessionId: string; - } & { - message: string; - ready: boolean; - }) | ({ - capabilities: { - acceptInsecureCerts: boolean; - browserName: string; - browserVersion: string; - platformName: string; - setWindowRect: boolean; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: string | undefined; - } & Record; - sessionId: string; - } & { - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | ({ - capabilities: { - acceptInsecureCerts: boolean; - browserName: string; - browserVersion: string; - platformName: string; - setWindowRect: boolean; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: string | undefined; - } & Record; - sessionId: string; - } & { - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | ({ - capabilities: { - acceptInsecureCerts: boolean; - browserName: string; - browserVersion: string; - platformName: string; - setWindowRect: boolean; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: string | undefined; - } & Record; - sessionId: string; - } & { - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | ({ - message: string; - ready: boolean; - } & Record) | ({ - message: string; - ready: boolean; - } & { - data: string; - }) | ({ - message: string; - ready: boolean; - } & { - context: string; - }) | ({ - message: string; - ready: boolean; - } & { - contexts?: any; - }) | ({ - message: string; - ready: boolean; - } & { - nodes: any[]; - }) | ({ - message: string; - ready: boolean; - } & { - url: string; - navigation: string | null; - }) | ({ - message: string; - ready: boolean; - } & { - data: string; - }) | ({ - message: string; - ready: boolean; - } & {}) | ({ - message: string; - ready: boolean; - } & { - intercept: string; - }) | ({ - message: string; - ready: boolean; - } & { - script: string; - }) | ({ - message: string; - ready: boolean; - } & { - type: "success"; - realm: string; - result?: any; - }) | ({ - message: string; - ready: boolean; - } & { - type: "exception"; - realm: string; - exceptionDetails: { - columnNumber: number; - lineNumber: number; - text: string; - stackTrace: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }; - exception?: any; - }; - }) | ({ - message: string; - ready: boolean; - } & { - realms: (({ - origin: string; - realm: string; - } & { - type: "window"; - context: string; - sandbox?: string | undefined; - }) | ({ - origin: string; - realm: string; - } & { - type: "dedicated-worker"; - owners: [string]; - }) | ({ - origin: string; - realm: string; - } & { - type: "shared-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "service-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "paint-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "audio-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worklet"; - }))[]; - }) | ({ - message: string; - ready: boolean; - } & { - capabilities: { - acceptInsecureCerts: boolean; - browserName: string; - browserVersion: string; - platformName: string; - setWindowRect: boolean; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: string | undefined; - } & Record; - sessionId: string; - }) | ({ - message: string; - ready: boolean; - } & { - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | ({ - message: string; - ready: boolean; - } & { - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | ({ - message: string; - ready: boolean; - } & { - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | ({ - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & Record) | ({ - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & { - data: string; - }) | ({ - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & { - context: string; - }) | ({ - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & { - contexts?: any; - }) | ({ - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & { - nodes: any[]; - }) | ({ - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & { - url: string; - navigation: string | null; - }) | ({ - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & { - data: string; - }) | ({ - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & {}) | ({ - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & { - intercept: string; - }) | ({ - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & { - script: string; - }) | ({ - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & { - type: "success"; - realm: string; - result?: any; - }) | ({ - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & { - type: "exception"; - realm: string; - exceptionDetails: { - columnNumber: number; - lineNumber: number; - text: string; - stackTrace: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }; - exception?: any; - }; - }) | ({ - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & { - realms: (({ - origin: string; - realm: string; - } & { - type: "window"; - context: string; - sandbox?: string | undefined; - }) | ({ - origin: string; - realm: string; - } & { - type: "dedicated-worker"; - owners: [string]; - }) | ({ - origin: string; - realm: string; - } & { - type: "shared-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "service-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "paint-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "audio-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worklet"; - }))[]; - }) | ({ - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & { - capabilities: { - acceptInsecureCerts: boolean; - browserName: string; - browserVersion: string; - platformName: string; - setWindowRect: boolean; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: string | undefined; - } & Record; - sessionId: string; - }) | ({ - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & { - message: string; - ready: boolean; - }) | ({ - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & { - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | ({ - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & { - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | ({ - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & Record) | ({ - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & { - data: string; - }) | ({ - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & { - context: string; - }) | ({ - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & { - contexts?: any; - }) | ({ - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & { - nodes: any[]; - }) | ({ - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & { - url: string; - navigation: string | null; - }) | ({ - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & { - data: string; - }) | ({ - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & {}) | ({ - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & { - intercept: string; - }) | ({ - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & { - script: string; - }) | ({ - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & { - type: "success"; - realm: string; - result?: any; - }) | ({ - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & { - type: "exception"; - realm: string; - exceptionDetails: { - columnNumber: number; - lineNumber: number; - text: string; - stackTrace: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }; - exception?: any; - }; - }) | ({ - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & { - realms: (({ - origin: string; - realm: string; - } & { - type: "window"; - context: string; - sandbox?: string | undefined; - }) | ({ - origin: string; - realm: string; - } & { - type: "dedicated-worker"; - owners: [string]; - }) | ({ - origin: string; - realm: string; - } & { - type: "shared-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "service-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "paint-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "audio-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worklet"; - }))[]; - }) | ({ - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & { - capabilities: { - acceptInsecureCerts: boolean; - browserName: string; - browserVersion: string; - platformName: string; - setWindowRect: boolean; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: string | undefined; - } & Record; - sessionId: string; - }) | ({ - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & { - message: string; - ready: boolean; - }) | ({ - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & { - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | ({ - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & { - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | ({ - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & Record) | ({ - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & { - data: string; - }) | ({ - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & { - context: string; - }) | ({ - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & { - contexts?: any; - }) | ({ - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & { - nodes: any[]; - }) | ({ - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & { - url: string; - navigation: string | null; - }) | ({ - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & { - data: string; - }) | ({ - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & {}) | ({ - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & { - intercept: string; - }) | ({ - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & { - script: string; - }) | ({ - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & { - type: "success"; - realm: string; - result?: any; - }) | ({ - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & { - type: "exception"; - realm: string; - exceptionDetails: { - columnNumber: number; - lineNumber: number; - text: string; - stackTrace: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }; - exception?: any; - }; - }) | ({ - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & { - realms: (({ - origin: string; - realm: string; - } & { - type: "window"; - context: string; - sandbox?: string | undefined; - }) | ({ - origin: string; - realm: string; - } & { - type: "dedicated-worker"; - owners: [string]; - }) | ({ - origin: string; - realm: string; - } & { - type: "shared-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "service-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "paint-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "audio-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worklet"; - }))[]; - }) | ({ - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & { - capabilities: { - acceptInsecureCerts: boolean; - browserName: string; - browserVersion: string; - platformName: string; - setWindowRect: boolean; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: string | undefined; - } & Record; - sessionId: string; - }) | ({ - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & { - message: string; - ready: boolean; - }) | ({ - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & { - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | ({ - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & { - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }); -}, { - type: "success"; - id: number; - result: Record | { - data: string; - } | { - context: string; - } | { - contexts?: any; - } | { - nodes: any[]; - } | { - url: string; - navigation: string | null; - } | { - data: string; - } | {} | { - intercept: string; - } | { - script: string; - } | { - type: "success"; - realm: string; - result?: any; - } | { - type: "exception"; - realm: string; - exceptionDetails: { - columnNumber: number; - lineNumber: number; - text: string; - stackTrace: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }; - exception?: any; - }; - } | { - realms: (({ - origin: string; - realm: string; - } & { - type: "window"; - context: string; - sandbox?: string | undefined; - }) | ({ - origin: string; - realm: string; - } & { - type: "dedicated-worker"; - owners: [string]; - }) | ({ - origin: string; - realm: string; - } & { - type: "shared-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "service-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "paint-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "audio-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worklet"; - }))[]; - } | { - capabilities: { - acceptInsecureCerts: boolean; - browserName: string; - browserVersion: string; - platformName: string; - setWindowRect: boolean; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: string | undefined; - } & Record; - sessionId: string; - } | { - message: string; - ready: boolean; - } | { - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } | { - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } | { - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } | (Record & { - data: string; - }) | (Record & { - context: string; - }) | (Record & { - contexts?: any; - }) | (Record & { - nodes: any[]; - }) | (Record & { - url: string; - navigation: string | null; - }) | (Record & { - data: string; - }) | (Record & {}) | (Record & { - intercept: string; - }) | (Record & { - script: string; - }) | (Record & { - type: "success"; - realm: string; - result?: any; - }) | (Record & { - type: "exception"; - realm: string; - exceptionDetails: { - columnNumber: number; - lineNumber: number; - text: string; - stackTrace: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }; - exception?: any; - }; - }) | (Record & { - realms: (({ - origin: string; - realm: string; - } & { - type: "window"; - context: string; - sandbox?: string | undefined; - }) | ({ - origin: string; - realm: string; - } & { - type: "dedicated-worker"; - owners: [string]; - }) | ({ - origin: string; - realm: string; - } & { - type: "shared-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "service-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "paint-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "audio-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worklet"; - }))[]; - }) | (Record & { - capabilities: { - acceptInsecureCerts: boolean; - browserName: string; - browserVersion: string; - platformName: string; - setWindowRect: boolean; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: string | undefined; - } & Record; - sessionId: string; - }) | (Record & { - message: string; - ready: boolean; - }) | (Record & { - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | (Record & { - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | (Record & { - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | ({ - data: string; - } & Record) | ({ - data: string; - } & { - context: string; - }) | ({ - data: string; - } & { - contexts?: any; - }) | ({ - data: string; - } & { - nodes: any[]; - }) | ({ - data: string; - } & { - url: string; - navigation: string | null; - }) | ({ - data: string; - } & { - data: string; - }) | ({ - data: string; - } & {}) | ({ - data: string; - } & { - intercept: string; - }) | ({ - data: string; - } & { - script: string; - }) | ({ - data: string; - } & { - type: "success"; - realm: string; - result?: any; - }) | ({ - data: string; - } & { - type: "exception"; - realm: string; - exceptionDetails: { - columnNumber: number; - lineNumber: number; - text: string; - stackTrace: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }; - exception?: any; - }; - }) | ({ - data: string; - } & { - realms: (({ - origin: string; - realm: string; - } & { - type: "window"; - context: string; - sandbox?: string | undefined; - }) | ({ - origin: string; - realm: string; - } & { - type: "dedicated-worker"; - owners: [string]; - }) | ({ - origin: string; - realm: string; - } & { - type: "shared-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "service-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "paint-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "audio-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worklet"; - }))[]; - }) | ({ - data: string; - } & { - capabilities: { - acceptInsecureCerts: boolean; - browserName: string; - browserVersion: string; - platformName: string; - setWindowRect: boolean; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: string | undefined; - } & Record; - sessionId: string; - }) | ({ - data: string; - } & { - message: string; - ready: boolean; - }) | ({ - data: string; - } & { - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | ({ - data: string; - } & { - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | ({ - data: string; - } & { - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | ({ - context: string; - } & Record) | ({ - context: string; - } & { - data: string; - }) | ({ - context: string; - } & { - contexts?: any; - }) | ({ - context: string; - } & { - nodes: any[]; - }) | ({ - context: string; - } & { - url: string; - navigation: string | null; - }) | ({ - context: string; - } & { - data: string; - }) | ({ - context: string; - } & {}) | ({ - context: string; - } & { - intercept: string; - }) | ({ - context: string; - } & { - script: string; - }) | ({ - context: string; - } & { - type: "success"; - realm: string; - result?: any; - }) | ({ - context: string; - } & { - type: "exception"; - realm: string; - exceptionDetails: { - columnNumber: number; - lineNumber: number; - text: string; - stackTrace: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }; - exception?: any; - }; - }) | ({ - context: string; - } & { - realms: (({ - origin: string; - realm: string; - } & { - type: "window"; - context: string; - sandbox?: string | undefined; - }) | ({ - origin: string; - realm: string; - } & { - type: "dedicated-worker"; - owners: [string]; - }) | ({ - origin: string; - realm: string; - } & { - type: "shared-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "service-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "paint-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "audio-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worklet"; - }))[]; - }) | ({ - context: string; - } & { - capabilities: { - acceptInsecureCerts: boolean; - browserName: string; - browserVersion: string; - platformName: string; - setWindowRect: boolean; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: string | undefined; - } & Record; - sessionId: string; - }) | ({ - context: string; - } & { - message: string; - ready: boolean; - }) | ({ - context: string; - } & { - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | ({ - context: string; - } & { - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | ({ - context: string; - } & { - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | ({ - contexts?: any; - } & Record) | ({ - contexts?: any; - } & { - data: string; - }) | ({ - contexts?: any; - } & { - context: string; - }) | ({ - contexts?: any; - } & { - nodes: any[]; - }) | ({ - contexts?: any; - } & { - url: string; - navigation: string | null; - }) | ({ - contexts?: any; - } & { - data: string; - }) | ({ - contexts?: any; - } & {}) | ({ - contexts?: any; - } & { - intercept: string; - }) | ({ - contexts?: any; - } & { - script: string; - }) | ({ - contexts?: any; - } & { - type: "success"; - realm: string; - result?: any; - }) | ({ - contexts?: any; - } & { - type: "exception"; - realm: string; - exceptionDetails: { - columnNumber: number; - lineNumber: number; - text: string; - stackTrace: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }; - exception?: any; - }; - }) | ({ - contexts?: any; - } & { - realms: (({ - origin: string; - realm: string; - } & { - type: "window"; - context: string; - sandbox?: string | undefined; - }) | ({ - origin: string; - realm: string; - } & { - type: "dedicated-worker"; - owners: [string]; - }) | ({ - origin: string; - realm: string; - } & { - type: "shared-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "service-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "paint-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "audio-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worklet"; - }))[]; - }) | ({ - contexts?: any; - } & { - capabilities: { - acceptInsecureCerts: boolean; - browserName: string; - browserVersion: string; - platformName: string; - setWindowRect: boolean; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: string | undefined; - } & Record; - sessionId: string; - }) | ({ - contexts?: any; - } & { - message: string; - ready: boolean; - }) | ({ - contexts?: any; - } & { - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | ({ - contexts?: any; - } & { - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | ({ - contexts?: any; - } & { - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | ({ - nodes: any[]; - } & Record) | ({ - nodes: any[]; - } & { - data: string; - }) | ({ - nodes: any[]; - } & { - context: string; - }) | ({ - nodes: any[]; - } & { - contexts?: any; - }) | ({ - nodes: any[]; - } & { - url: string; - navigation: string | null; - }) | ({ - nodes: any[]; - } & { - data: string; - }) | ({ - nodes: any[]; - } & {}) | ({ - nodes: any[]; - } & { - intercept: string; - }) | ({ - nodes: any[]; - } & { - script: string; - }) | ({ - nodes: any[]; - } & { - type: "success"; - realm: string; - result?: any; - }) | ({ - nodes: any[]; - } & { - type: "exception"; - realm: string; - exceptionDetails: { - columnNumber: number; - lineNumber: number; - text: string; - stackTrace: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }; - exception?: any; - }; - }) | ({ - nodes: any[]; - } & { - realms: (({ - origin: string; - realm: string; - } & { - type: "window"; - context: string; - sandbox?: string | undefined; - }) | ({ - origin: string; - realm: string; - } & { - type: "dedicated-worker"; - owners: [string]; - }) | ({ - origin: string; - realm: string; - } & { - type: "shared-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "service-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "paint-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "audio-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worklet"; - }))[]; - }) | ({ - nodes: any[]; - } & { - capabilities: { - acceptInsecureCerts: boolean; - browserName: string; - browserVersion: string; - platformName: string; - setWindowRect: boolean; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: string | undefined; - } & Record; - sessionId: string; - }) | ({ - nodes: any[]; - } & { - message: string; - ready: boolean; - }) | ({ - nodes: any[]; - } & { - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | ({ - nodes: any[]; - } & { - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | ({ - nodes: any[]; - } & { - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | ({ - url: string; - navigation: string | null; - } & Record) | ({ - url: string; - navigation: string | null; - } & { - data: string; - }) | ({ - url: string; - navigation: string | null; - } & { - context: string; - }) | ({ - url: string; - navigation: string | null; - } & { - contexts?: any; - }) | ({ - url: string; - navigation: string | null; - } & { - nodes: any[]; - }) | ({ - url: string; - navigation: string | null; - } & { - data: string; - }) | ({ - url: string; - navigation: string | null; - } & {}) | ({ - url: string; - navigation: string | null; - } & { - intercept: string; - }) | ({ - url: string; - navigation: string | null; - } & { - script: string; - }) | ({ - url: string; - navigation: string | null; - } & { - type: "success"; - realm: string; - result?: any; - }) | ({ - url: string; - navigation: string | null; - } & { - type: "exception"; - realm: string; - exceptionDetails: { - columnNumber: number; - lineNumber: number; - text: string; - stackTrace: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }; - exception?: any; - }; - }) | ({ - url: string; - navigation: string | null; - } & { - realms: (({ - origin: string; - realm: string; - } & { - type: "window"; - context: string; - sandbox?: string | undefined; - }) | ({ - origin: string; - realm: string; - } & { - type: "dedicated-worker"; - owners: [string]; - }) | ({ - origin: string; - realm: string; - } & { - type: "shared-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "service-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "paint-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "audio-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worklet"; - }))[]; - }) | ({ - url: string; - navigation: string | null; - } & { - capabilities: { - acceptInsecureCerts: boolean; - browserName: string; - browserVersion: string; - platformName: string; - setWindowRect: boolean; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: string | undefined; - } & Record; - sessionId: string; - }) | ({ - url: string; - navigation: string | null; - } & { - message: string; - ready: boolean; - }) | ({ - url: string; - navigation: string | null; - } & { - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | ({ - url: string; - navigation: string | null; - } & { - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | ({ - url: string; - navigation: string | null; - } & { - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | ({ - data: string; - } & Record) | ({ - data: string; - } & { - data: string; - }) | ({ - data: string; - } & { - context: string; - }) | ({ - data: string; - } & { - contexts?: any; - }) | ({ - data: string; - } & { - nodes: any[]; - }) | ({ - data: string; - } & { - url: string; - navigation: string | null; - }) | ({ - data: string; - } & {}) | ({ - data: string; - } & { - intercept: string; - }) | ({ - data: string; - } & { - script: string; - }) | ({ - data: string; - } & { - type: "success"; - realm: string; - result?: any; - }) | ({ - data: string; - } & { - type: "exception"; - realm: string; - exceptionDetails: { - columnNumber: number; - lineNumber: number; - text: string; - stackTrace: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }; - exception?: any; - }; - }) | ({ - data: string; - } & { - realms: (({ - origin: string; - realm: string; - } & { - type: "window"; - context: string; - sandbox?: string | undefined; - }) | ({ - origin: string; - realm: string; - } & { - type: "dedicated-worker"; - owners: [string]; - }) | ({ - origin: string; - realm: string; - } & { - type: "shared-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "service-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "paint-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "audio-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worklet"; - }))[]; - }) | ({ - data: string; - } & { - capabilities: { - acceptInsecureCerts: boolean; - browserName: string; - browserVersion: string; - platformName: string; - setWindowRect: boolean; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: string | undefined; - } & Record; - sessionId: string; - }) | ({ - data: string; - } & { - message: string; - ready: boolean; - }) | ({ - data: string; - } & { - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | ({ - data: string; - } & { - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | ({ - data: string; - } & { - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | ({} & Record) | ({} & { - data: string; - }) | ({} & { - context: string; - }) | ({} & { - contexts?: any; - }) | ({} & { - nodes: any[]; - }) | ({} & { - url: string; - navigation: string | null; - }) | ({} & { - data: string; - }) | ({} & { - intercept: string; - }) | ({} & { - script: string; - }) | ({} & { - type: "success"; - realm: string; - result?: any; - }) | ({} & { - type: "exception"; - realm: string; - exceptionDetails: { - columnNumber: number; - lineNumber: number; - text: string; - stackTrace: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }; - exception?: any; - }; - }) | ({} & { - realms: (({ - origin: string; - realm: string; - } & { - type: "window"; - context: string; - sandbox?: string | undefined; - }) | ({ - origin: string; - realm: string; - } & { - type: "dedicated-worker"; - owners: [string]; - }) | ({ - origin: string; - realm: string; - } & { - type: "shared-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "service-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "paint-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "audio-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worklet"; - }))[]; - }) | ({} & { - capabilities: { - acceptInsecureCerts: boolean; - browserName: string; - browserVersion: string; - platformName: string; - setWindowRect: boolean; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: string | undefined; - } & Record; - sessionId: string; - }) | ({} & { - message: string; - ready: boolean; - }) | ({} & { - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | ({} & { - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | ({} & { - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | ({ - intercept: string; - } & Record) | ({ - intercept: string; - } & { - data: string; - }) | ({ - intercept: string; - } & { - context: string; - }) | ({ - intercept: string; - } & { - contexts?: any; - }) | ({ - intercept: string; - } & { - nodes: any[]; - }) | ({ - intercept: string; - } & { - url: string; - navigation: string | null; - }) | ({ - intercept: string; - } & { - data: string; - }) | ({ - intercept: string; - } & {}) | ({ - intercept: string; - } & { - script: string; - }) | ({ - intercept: string; - } & { - type: "success"; - realm: string; - result?: any; - }) | ({ - intercept: string; - } & { - type: "exception"; - realm: string; - exceptionDetails: { - columnNumber: number; - lineNumber: number; - text: string; - stackTrace: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }; - exception?: any; - }; - }) | ({ - intercept: string; - } & { - realms: (({ - origin: string; - realm: string; - } & { - type: "window"; - context: string; - sandbox?: string | undefined; - }) | ({ - origin: string; - realm: string; - } & { - type: "dedicated-worker"; - owners: [string]; - }) | ({ - origin: string; - realm: string; - } & { - type: "shared-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "service-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "paint-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "audio-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worklet"; - }))[]; - }) | ({ - intercept: string; - } & { - capabilities: { - acceptInsecureCerts: boolean; - browserName: string; - browserVersion: string; - platformName: string; - setWindowRect: boolean; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: string | undefined; - } & Record; - sessionId: string; - }) | ({ - intercept: string; - } & { - message: string; - ready: boolean; - }) | ({ - intercept: string; - } & { - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | ({ - intercept: string; - } & { - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | ({ - intercept: string; - } & { - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | ({ - script: string; - } & Record) | ({ - script: string; - } & { - data: string; - }) | ({ - script: string; - } & { - context: string; - }) | ({ - script: string; - } & { - contexts?: any; - }) | ({ - script: string; - } & { - nodes: any[]; - }) | ({ - script: string; - } & { - url: string; - navigation: string | null; - }) | ({ - script: string; - } & { - data: string; - }) | ({ - script: string; - } & {}) | ({ - script: string; - } & { - intercept: string; - }) | ({ - script: string; - } & { - type: "success"; - realm: string; - result?: any; - }) | ({ - script: string; - } & { - type: "exception"; - realm: string; - exceptionDetails: { - columnNumber: number; - lineNumber: number; - text: string; - stackTrace: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }; - exception?: any; - }; - }) | ({ - script: string; - } & { - realms: (({ - origin: string; - realm: string; - } & { - type: "window"; - context: string; - sandbox?: string | undefined; - }) | ({ - origin: string; - realm: string; - } & { - type: "dedicated-worker"; - owners: [string]; - }) | ({ - origin: string; - realm: string; - } & { - type: "shared-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "service-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "paint-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "audio-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worklet"; - }))[]; - }) | ({ - script: string; - } & { - capabilities: { - acceptInsecureCerts: boolean; - browserName: string; - browserVersion: string; - platformName: string; - setWindowRect: boolean; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: string | undefined; - } & Record; - sessionId: string; - }) | ({ - script: string; - } & { - message: string; - ready: boolean; - }) | ({ - script: string; - } & { - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | ({ - script: string; - } & { - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | ({ - script: string; - } & { - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | ({ - type: "success"; - realm: string; - result?: any; - } & Record) | ({ - type: "success"; - realm: string; - result?: any; - } & { - data: string; - }) | ({ - type: "success"; - realm: string; - result?: any; - } & { - context: string; - }) | ({ - type: "success"; - realm: string; - result?: any; - } & { - contexts?: any; - }) | ({ - type: "success"; - realm: string; - result?: any; - } & { - nodes: any[]; - }) | ({ - type: "success"; - realm: string; - result?: any; - } & { - url: string; - navigation: string | null; - }) | ({ - type: "success"; - realm: string; - result?: any; - } & { - data: string; - }) | ({ - type: "success"; - realm: string; - result?: any; - } & {}) | ({ - type: "success"; - realm: string; - result?: any; - } & { - intercept: string; - }) | ({ - type: "success"; - realm: string; - result?: any; - } & { - script: string; - }) | ({ - type: "success"; - realm: string; - result?: any; - } & { - realms: (({ - origin: string; - realm: string; - } & { - type: "window"; - context: string; - sandbox?: string | undefined; - }) | ({ - origin: string; - realm: string; - } & { - type: "dedicated-worker"; - owners: [string]; - }) | ({ - origin: string; - realm: string; - } & { - type: "shared-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "service-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "paint-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "audio-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worklet"; - }))[]; - }) | ({ - type: "success"; - realm: string; - result?: any; - } & { - capabilities: { - acceptInsecureCerts: boolean; - browserName: string; - browserVersion: string; - platformName: string; - setWindowRect: boolean; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: string | undefined; - } & Record; - sessionId: string; - }) | ({ - type: "success"; - realm: string; - result?: any; - } & { - message: string; - ready: boolean; - }) | ({ - type: "success"; - realm: string; - result?: any; - } & { - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | ({ - type: "success"; - realm: string; - result?: any; - } & { - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | ({ - type: "success"; - realm: string; - result?: any; - } & { - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | ({ - type: "exception"; - realm: string; - exceptionDetails: { - columnNumber: number; - lineNumber: number; - text: string; - stackTrace: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }; - exception?: any; - }; - } & Record) | ({ - type: "exception"; - realm: string; - exceptionDetails: { - columnNumber: number; - lineNumber: number; - text: string; - stackTrace: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }; - exception?: any; - }; - } & { - data: string; - }) | ({ - type: "exception"; - realm: string; - exceptionDetails: { - columnNumber: number; - lineNumber: number; - text: string; - stackTrace: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }; - exception?: any; - }; - } & { - context: string; - }) | ({ - type: "exception"; - realm: string; - exceptionDetails: { - columnNumber: number; - lineNumber: number; - text: string; - stackTrace: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }; - exception?: any; - }; - } & { - contexts?: any; - }) | ({ - type: "exception"; - realm: string; - exceptionDetails: { - columnNumber: number; - lineNumber: number; - text: string; - stackTrace: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }; - exception?: any; - }; - } & { - nodes: any[]; - }) | ({ - type: "exception"; - realm: string; - exceptionDetails: { - columnNumber: number; - lineNumber: number; - text: string; - stackTrace: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }; - exception?: any; - }; - } & { - url: string; - navigation: string | null; - }) | ({ - type: "exception"; - realm: string; - exceptionDetails: { - columnNumber: number; - lineNumber: number; - text: string; - stackTrace: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }; - exception?: any; - }; - } & { - data: string; - }) | ({ - type: "exception"; - realm: string; - exceptionDetails: { - columnNumber: number; - lineNumber: number; - text: string; - stackTrace: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }; - exception?: any; - }; - } & {}) | ({ - type: "exception"; - realm: string; - exceptionDetails: { - columnNumber: number; - lineNumber: number; - text: string; - stackTrace: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }; - exception?: any; - }; - } & { - intercept: string; - }) | ({ - type: "exception"; - realm: string; - exceptionDetails: { - columnNumber: number; - lineNumber: number; - text: string; - stackTrace: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }; - exception?: any; - }; - } & { - script: string; - }) | ({ - type: "exception"; - realm: string; - exceptionDetails: { - columnNumber: number; - lineNumber: number; - text: string; - stackTrace: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }; - exception?: any; - }; - } & { - realms: (({ - origin: string; - realm: string; - } & { - type: "window"; - context: string; - sandbox?: string | undefined; - }) | ({ - origin: string; - realm: string; - } & { - type: "dedicated-worker"; - owners: [string]; - }) | ({ - origin: string; - realm: string; - } & { - type: "shared-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "service-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "paint-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "audio-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worklet"; - }))[]; - }) | ({ - type: "exception"; - realm: string; - exceptionDetails: { - columnNumber: number; - lineNumber: number; - text: string; - stackTrace: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }; - exception?: any; - }; - } & { - capabilities: { - acceptInsecureCerts: boolean; - browserName: string; - browserVersion: string; - platformName: string; - setWindowRect: boolean; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: string | undefined; - } & Record; - sessionId: string; - }) | ({ - type: "exception"; - realm: string; - exceptionDetails: { - columnNumber: number; - lineNumber: number; - text: string; - stackTrace: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }; - exception?: any; - }; - } & { - message: string; - ready: boolean; - }) | ({ - type: "exception"; - realm: string; - exceptionDetails: { - columnNumber: number; - lineNumber: number; - text: string; - stackTrace: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }; - exception?: any; - }; - } & { - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | ({ - type: "exception"; - realm: string; - exceptionDetails: { - columnNumber: number; - lineNumber: number; - text: string; - stackTrace: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }; - exception?: any; - }; - } & { - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | ({ - type: "exception"; - realm: string; - exceptionDetails: { - columnNumber: number; - lineNumber: number; - text: string; - stackTrace: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }; - exception?: any; - }; - } & { - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | ({ - realms: (({ - origin: string; - realm: string; - } & { - type: "window"; - context: string; - sandbox?: string | undefined; - }) | ({ - origin: string; - realm: string; - } & { - type: "dedicated-worker"; - owners: [string]; - }) | ({ - origin: string; - realm: string; - } & { - type: "shared-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "service-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "paint-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "audio-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worklet"; - }))[]; - } & Record) | ({ - realms: (({ - origin: string; - realm: string; - } & { - type: "window"; - context: string; - sandbox?: string | undefined; - }) | ({ - origin: string; - realm: string; - } & { - type: "dedicated-worker"; - owners: [string]; - }) | ({ - origin: string; - realm: string; - } & { - type: "shared-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "service-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "paint-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "audio-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worklet"; - }))[]; - } & { - data: string; - }) | ({ - realms: (({ - origin: string; - realm: string; - } & { - type: "window"; - context: string; - sandbox?: string | undefined; - }) | ({ - origin: string; - realm: string; - } & { - type: "dedicated-worker"; - owners: [string]; - }) | ({ - origin: string; - realm: string; - } & { - type: "shared-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "service-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "paint-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "audio-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worklet"; - }))[]; - } & { - context: string; - }) | ({ - realms: (({ - origin: string; - realm: string; - } & { - type: "window"; - context: string; - sandbox?: string | undefined; - }) | ({ - origin: string; - realm: string; - } & { - type: "dedicated-worker"; - owners: [string]; - }) | ({ - origin: string; - realm: string; - } & { - type: "shared-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "service-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "paint-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "audio-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worklet"; - }))[]; - } & { - contexts?: any; - }) | ({ - realms: (({ - origin: string; - realm: string; - } & { - type: "window"; - context: string; - sandbox?: string | undefined; - }) | ({ - origin: string; - realm: string; - } & { - type: "dedicated-worker"; - owners: [string]; - }) | ({ - origin: string; - realm: string; - } & { - type: "shared-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "service-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "paint-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "audio-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worklet"; - }))[]; - } & { - nodes: any[]; - }) | ({ - realms: (({ - origin: string; - realm: string; - } & { - type: "window"; - context: string; - sandbox?: string | undefined; - }) | ({ - origin: string; - realm: string; - } & { - type: "dedicated-worker"; - owners: [string]; - }) | ({ - origin: string; - realm: string; - } & { - type: "shared-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "service-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "paint-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "audio-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worklet"; - }))[]; - } & { - url: string; - navigation: string | null; - }) | ({ - realms: (({ - origin: string; - realm: string; - } & { - type: "window"; - context: string; - sandbox?: string | undefined; - }) | ({ - origin: string; - realm: string; - } & { - type: "dedicated-worker"; - owners: [string]; - }) | ({ - origin: string; - realm: string; - } & { - type: "shared-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "service-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "paint-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "audio-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worklet"; - }))[]; - } & { - data: string; - }) | ({ - realms: (({ - origin: string; - realm: string; - } & { - type: "window"; - context: string; - sandbox?: string | undefined; - }) | ({ - origin: string; - realm: string; - } & { - type: "dedicated-worker"; - owners: [string]; - }) | ({ - origin: string; - realm: string; - } & { - type: "shared-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "service-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "paint-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "audio-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worklet"; - }))[]; - } & {}) | ({ - realms: (({ - origin: string; - realm: string; - } & { - type: "window"; - context: string; - sandbox?: string | undefined; - }) | ({ - origin: string; - realm: string; - } & { - type: "dedicated-worker"; - owners: [string]; - }) | ({ - origin: string; - realm: string; - } & { - type: "shared-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "service-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "paint-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "audio-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worklet"; - }))[]; - } & { - intercept: string; - }) | ({ - realms: (({ - origin: string; - realm: string; - } & { - type: "window"; - context: string; - sandbox?: string | undefined; - }) | ({ - origin: string; - realm: string; - } & { - type: "dedicated-worker"; - owners: [string]; - }) | ({ - origin: string; - realm: string; - } & { - type: "shared-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "service-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "paint-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "audio-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worklet"; - }))[]; - } & { - script: string; - }) | ({ - realms: (({ - origin: string; - realm: string; - } & { - type: "window"; - context: string; - sandbox?: string | undefined; - }) | ({ - origin: string; - realm: string; - } & { - type: "dedicated-worker"; - owners: [string]; - }) | ({ - origin: string; - realm: string; - } & { - type: "shared-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "service-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "paint-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "audio-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worklet"; - }))[]; - } & { - type: "success"; - realm: string; - result?: any; - }) | ({ - realms: (({ - origin: string; - realm: string; - } & { - type: "window"; - context: string; - sandbox?: string | undefined; - }) | ({ - origin: string; - realm: string; - } & { - type: "dedicated-worker"; - owners: [string]; - }) | ({ - origin: string; - realm: string; - } & { - type: "shared-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "service-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "paint-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "audio-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worklet"; - }))[]; - } & { - type: "exception"; - realm: string; - exceptionDetails: { - columnNumber: number; - lineNumber: number; - text: string; - stackTrace: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }; - exception?: any; - }; - }) | ({ - realms: (({ - origin: string; - realm: string; - } & { - type: "window"; - context: string; - sandbox?: string | undefined; - }) | ({ - origin: string; - realm: string; - } & { - type: "dedicated-worker"; - owners: [string]; - }) | ({ - origin: string; - realm: string; - } & { - type: "shared-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "service-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "paint-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "audio-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worklet"; - }))[]; - } & { - capabilities: { - acceptInsecureCerts: boolean; - browserName: string; - browserVersion: string; - platformName: string; - setWindowRect: boolean; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: string | undefined; - } & Record; - sessionId: string; - }) | ({ - realms: (({ - origin: string; - realm: string; - } & { - type: "window"; - context: string; - sandbox?: string | undefined; - }) | ({ - origin: string; - realm: string; - } & { - type: "dedicated-worker"; - owners: [string]; - }) | ({ - origin: string; - realm: string; - } & { - type: "shared-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "service-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "paint-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "audio-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worklet"; - }))[]; - } & { - message: string; - ready: boolean; - }) | ({ - realms: (({ - origin: string; - realm: string; - } & { - type: "window"; - context: string; - sandbox?: string | undefined; - }) | ({ - origin: string; - realm: string; - } & { - type: "dedicated-worker"; - owners: [string]; - }) | ({ - origin: string; - realm: string; - } & { - type: "shared-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "service-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "paint-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "audio-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worklet"; - }))[]; - } & { - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | ({ - realms: (({ - origin: string; - realm: string; - } & { - type: "window"; - context: string; - sandbox?: string | undefined; - }) | ({ - origin: string; - realm: string; - } & { - type: "dedicated-worker"; - owners: [string]; - }) | ({ - origin: string; - realm: string; - } & { - type: "shared-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "service-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "paint-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "audio-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worklet"; - }))[]; - } & { - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | ({ - realms: (({ - origin: string; - realm: string; - } & { - type: "window"; - context: string; - sandbox?: string | undefined; - }) | ({ - origin: string; - realm: string; - } & { - type: "dedicated-worker"; - owners: [string]; - }) | ({ - origin: string; - realm: string; - } & { - type: "shared-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "service-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "paint-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "audio-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worklet"; - }))[]; - } & { - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | ({ - capabilities: { - acceptInsecureCerts: boolean; - browserName: string; - browserVersion: string; - platformName: string; - setWindowRect: boolean; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: string | undefined; - } & Record; - sessionId: string; - } & Record) | ({ - capabilities: { - acceptInsecureCerts: boolean; - browserName: string; - browserVersion: string; - platformName: string; - setWindowRect: boolean; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: string | undefined; - } & Record; - sessionId: string; - } & { - data: string; - }) | ({ - capabilities: { - acceptInsecureCerts: boolean; - browserName: string; - browserVersion: string; - platformName: string; - setWindowRect: boolean; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: string | undefined; - } & Record; - sessionId: string; - } & { - context: string; - }) | ({ - capabilities: { - acceptInsecureCerts: boolean; - browserName: string; - browserVersion: string; - platformName: string; - setWindowRect: boolean; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: string | undefined; - } & Record; - sessionId: string; - } & { - contexts?: any; - }) | ({ - capabilities: { - acceptInsecureCerts: boolean; - browserName: string; - browserVersion: string; - platformName: string; - setWindowRect: boolean; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: string | undefined; - } & Record; - sessionId: string; - } & { - nodes: any[]; - }) | ({ - capabilities: { - acceptInsecureCerts: boolean; - browserName: string; - browserVersion: string; - platformName: string; - setWindowRect: boolean; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: string | undefined; - } & Record; - sessionId: string; - } & { - url: string; - navigation: string | null; - }) | ({ - capabilities: { - acceptInsecureCerts: boolean; - browserName: string; - browserVersion: string; - platformName: string; - setWindowRect: boolean; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: string | undefined; - } & Record; - sessionId: string; - } & { - data: string; - }) | ({ - capabilities: { - acceptInsecureCerts: boolean; - browserName: string; - browserVersion: string; - platformName: string; - setWindowRect: boolean; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: string | undefined; - } & Record; - sessionId: string; - } & {}) | ({ - capabilities: { - acceptInsecureCerts: boolean; - browserName: string; - browserVersion: string; - platformName: string; - setWindowRect: boolean; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: string | undefined; - } & Record; - sessionId: string; - } & { - intercept: string; - }) | ({ - capabilities: { - acceptInsecureCerts: boolean; - browserName: string; - browserVersion: string; - platformName: string; - setWindowRect: boolean; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: string | undefined; - } & Record; - sessionId: string; - } & { - script: string; - }) | ({ - capabilities: { - acceptInsecureCerts: boolean; - browserName: string; - browserVersion: string; - platformName: string; - setWindowRect: boolean; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: string | undefined; - } & Record; - sessionId: string; - } & { - type: "success"; - realm: string; - result?: any; - }) | ({ - capabilities: { - acceptInsecureCerts: boolean; - browserName: string; - browserVersion: string; - platformName: string; - setWindowRect: boolean; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: string | undefined; - } & Record; - sessionId: string; - } & { - type: "exception"; - realm: string; - exceptionDetails: { - columnNumber: number; - lineNumber: number; - text: string; - stackTrace: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }; - exception?: any; - }; - }) | ({ - capabilities: { - acceptInsecureCerts: boolean; - browserName: string; - browserVersion: string; - platformName: string; - setWindowRect: boolean; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: string | undefined; - } & Record; - sessionId: string; - } & { - realms: (({ - origin: string; - realm: string; - } & { - type: "window"; - context: string; - sandbox?: string | undefined; - }) | ({ - origin: string; - realm: string; - } & { - type: "dedicated-worker"; - owners: [string]; - }) | ({ - origin: string; - realm: string; - } & { - type: "shared-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "service-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "paint-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "audio-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worklet"; - }))[]; - }) | ({ - capabilities: { - acceptInsecureCerts: boolean; - browserName: string; - browserVersion: string; - platformName: string; - setWindowRect: boolean; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: string | undefined; - } & Record; - sessionId: string; - } & { - message: string; - ready: boolean; - }) | ({ - capabilities: { - acceptInsecureCerts: boolean; - browserName: string; - browserVersion: string; - platformName: string; - setWindowRect: boolean; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: string | undefined; - } & Record; - sessionId: string; - } & { - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | ({ - capabilities: { - acceptInsecureCerts: boolean; - browserName: string; - browserVersion: string; - platformName: string; - setWindowRect: boolean; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: string | undefined; - } & Record; - sessionId: string; - } & { - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | ({ - capabilities: { - acceptInsecureCerts: boolean; - browserName: string; - browserVersion: string; - platformName: string; - setWindowRect: boolean; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: string | undefined; - } & Record; - sessionId: string; - } & { - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | ({ - message: string; - ready: boolean; - } & Record) | ({ - message: string; - ready: boolean; - } & { - data: string; - }) | ({ - message: string; - ready: boolean; - } & { - context: string; - }) | ({ - message: string; - ready: boolean; - } & { - contexts?: any; - }) | ({ - message: string; - ready: boolean; - } & { - nodes: any[]; - }) | ({ - message: string; - ready: boolean; - } & { - url: string; - navigation: string | null; - }) | ({ - message: string; - ready: boolean; - } & { - data: string; - }) | ({ - message: string; - ready: boolean; - } & {}) | ({ - message: string; - ready: boolean; - } & { - intercept: string; - }) | ({ - message: string; - ready: boolean; - } & { - script: string; - }) | ({ - message: string; - ready: boolean; - } & { - type: "success"; - realm: string; - result?: any; - }) | ({ - message: string; - ready: boolean; - } & { - type: "exception"; - realm: string; - exceptionDetails: { - columnNumber: number; - lineNumber: number; - text: string; - stackTrace: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }; - exception?: any; - }; - }) | ({ - message: string; - ready: boolean; - } & { - realms: (({ - origin: string; - realm: string; - } & { - type: "window"; - context: string; - sandbox?: string | undefined; - }) | ({ - origin: string; - realm: string; - } & { - type: "dedicated-worker"; - owners: [string]; - }) | ({ - origin: string; - realm: string; - } & { - type: "shared-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "service-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "paint-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "audio-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worklet"; - }))[]; - }) | ({ - message: string; - ready: boolean; - } & { - capabilities: { - acceptInsecureCerts: boolean; - browserName: string; - browserVersion: string; - platformName: string; - setWindowRect: boolean; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: string | undefined; - } & Record; - sessionId: string; - }) | ({ - message: string; - ready: boolean; - } & { - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | ({ - message: string; - ready: boolean; - } & { - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | ({ - message: string; - ready: boolean; - } & { - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | ({ - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & Record) | ({ - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & { - data: string; - }) | ({ - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & { - context: string; - }) | ({ - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & { - contexts?: any; - }) | ({ - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & { - nodes: any[]; - }) | ({ - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & { - url: string; - navigation: string | null; - }) | ({ - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & { - data: string; - }) | ({ - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & {}) | ({ - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & { - intercept: string; - }) | ({ - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & { - script: string; - }) | ({ - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & { - type: "success"; - realm: string; - result?: any; - }) | ({ - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & { - type: "exception"; - realm: string; - exceptionDetails: { - columnNumber: number; - lineNumber: number; - text: string; - stackTrace: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }; - exception?: any; - }; - }) | ({ - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & { - realms: (({ - origin: string; - realm: string; - } & { - type: "window"; - context: string; - sandbox?: string | undefined; - }) | ({ - origin: string; - realm: string; - } & { - type: "dedicated-worker"; - owners: [string]; - }) | ({ - origin: string; - realm: string; - } & { - type: "shared-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "service-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "paint-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "audio-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worklet"; - }))[]; - }) | ({ - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & { - capabilities: { - acceptInsecureCerts: boolean; - browserName: string; - browserVersion: string; - platformName: string; - setWindowRect: boolean; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: string | undefined; - } & Record; - sessionId: string; - }) | ({ - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & { - message: string; - ready: boolean; - }) | ({ - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & { - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | ({ - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & { - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | ({ - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & Record) | ({ - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & { - data: string; - }) | ({ - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & { - context: string; - }) | ({ - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & { - contexts?: any; - }) | ({ - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & { - nodes: any[]; - }) | ({ - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & { - url: string; - navigation: string | null; - }) | ({ - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & { - data: string; - }) | ({ - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & {}) | ({ - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & { - intercept: string; - }) | ({ - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & { - script: string; - }) | ({ - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & { - type: "success"; - realm: string; - result?: any; - }) | ({ - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & { - type: "exception"; - realm: string; - exceptionDetails: { - columnNumber: number; - lineNumber: number; - text: string; - stackTrace: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }; - exception?: any; - }; - }) | ({ - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & { - realms: (({ - origin: string; - realm: string; - } & { - type: "window"; - context: string; - sandbox?: string | undefined; - }) | ({ - origin: string; - realm: string; - } & { - type: "dedicated-worker"; - owners: [string]; - }) | ({ - origin: string; - realm: string; - } & { - type: "shared-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "service-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "paint-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "audio-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worklet"; - }))[]; - }) | ({ - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & { - capabilities: { - acceptInsecureCerts: boolean; - browserName: string; - browserVersion: string; - platformName: string; - setWindowRect: boolean; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: string | undefined; - } & Record; - sessionId: string; - }) | ({ - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & { - message: string; - ready: boolean; - }) | ({ - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & { - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | ({ - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & { - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | ({ - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & Record) | ({ - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & { - data: string; - }) | ({ - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & { - context: string; - }) | ({ - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & { - contexts?: any; - }) | ({ - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & { - nodes: any[]; - }) | ({ - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & { - url: string; - navigation: string | null; - }) | ({ - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & { - data: string; - }) | ({ - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & {}) | ({ - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & { - intercept: string; - }) | ({ - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & { - script: string; - }) | ({ - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & { - type: "success"; - realm: string; - result?: any; - }) | ({ - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & { - type: "exception"; - realm: string; - exceptionDetails: { - columnNumber: number; - lineNumber: number; - text: string; - stackTrace: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }; - exception?: any; - }; - }) | ({ - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & { - realms: (({ - origin: string; - realm: string; - } & { - type: "window"; - context: string; - sandbox?: string | undefined; - }) | ({ - origin: string; - realm: string; - } & { - type: "dedicated-worker"; - owners: [string]; - }) | ({ - origin: string; - realm: string; - } & { - type: "shared-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "service-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "paint-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "audio-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worklet"; - }))[]; - }) | ({ - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & { - capabilities: { - acceptInsecureCerts: boolean; - browserName: string; - browserVersion: string; - platformName: string; - setWindowRect: boolean; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: string | undefined; - } & Record; - sessionId: string; - }) | ({ - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & { - message: string; - ready: boolean; - }) | ({ - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & { - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }) | ({ - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - } & { - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }); -}>, z.ZodLazy>>>, z.ZodLazy; - id: z.ZodUnion<[z.ZodLazy, z.ZodNull]>; - error: z.ZodLazy>; - message: z.ZodString; - stacktrace: z.ZodOptional; -}, "strip", z.ZodTypeAny, { - message: string; - type: "error"; - error: "invalid argument" | "invalid session id" | "move target out of bounds" | "no such alert" | "no such element" | "no such frame" | "no such handle" | "no such history entry" | "no such intercept" | "no such node" | "no such request" | "no such script" | "no such storage partition" | "no such user context" | "session not created" | "unable to capture screen" | "unable to close browser" | "unable to set cookie" | "unable to set file input" | "underspecified storage partition" | "unknown command" | "unknown error" | "unsupported operation"; - id: number | null; - stacktrace?: string | undefined; -}, { - message: string; - type: "error"; - error: "invalid argument" | "invalid session id" | "move target out of bounds" | "no such alert" | "no such element" | "no such frame" | "no such handle" | "no such history entry" | "no such intercept" | "no such node" | "no such request" | "no such script" | "no such storage partition" | "no such user context" | "session not created" | "unable to capture screen" | "unable to close browser" | "unable to set cookie" | "unable to set file input" | "underspecified storage partition" | "unknown command" | "unknown error" | "unsupported operation"; - id: number | null; - stacktrace?: string | undefined; -}>, z.ZodLazy>>>, z.ZodLazy; -}, "strip", z.ZodTypeAny, { - type: "event"; -}, { - type: "event"; -}>, z.ZodLazy; - params: any; -}, "strip", z.ZodTypeAny, { - method: "browsingContext.contextCreated"; - params?: any; -}, { - method: "browsingContext.contextCreated"; - params?: any; -}>>, z.ZodLazy; - params: any; -}, "strip", z.ZodTypeAny, { - method: "browsingContext.contextDestroyed"; - params?: any; -}, { - method: "browsingContext.contextDestroyed"; - params?: any; -}>>, z.ZodLazy; - params: z.ZodLazy; - navigation: z.ZodUnion<[z.ZodLazy, z.ZodNull]>; - timestamp: z.ZodLazy; - url: z.ZodString; - }, "strip", z.ZodTypeAny, { - url: string; - navigation: string | null; - context: string; - timestamp: number; - }, { - url: string; - navigation: string | null; - context: string; - timestamp: number; - }>>; -}, "strip", z.ZodTypeAny, { - params: { - url: string; - navigation: string | null; - context: string; - timestamp: number; - }; - method: "browsingContext.domContentLoaded"; -}, { - params: { - url: string; - navigation: string | null; - context: string; - timestamp: number; - }; - method: "browsingContext.domContentLoaded"; -}>>, z.ZodLazy; - params: z.ZodLazy; - navigation: z.ZodUnion<[z.ZodLazy, z.ZodNull]>; - timestamp: z.ZodLazy; - url: z.ZodString; - }, "strip", z.ZodTypeAny, { - url: string; - navigation: string | null; - context: string; - timestamp: number; - }, { - url: string; - navigation: string | null; - context: string; - timestamp: number; - }>>; -}, "strip", z.ZodTypeAny, { - params: { - url: string; - navigation: string | null; - context: string; - timestamp: number; - }; - method: "browsingContext.downloadWillBegin"; -}, { - params: { - url: string; - navigation: string | null; - context: string; - timestamp: number; - }; - method: "browsingContext.downloadWillBegin"; -}>>, z.ZodLazy; - params: z.ZodLazy; - navigation: z.ZodUnion<[z.ZodLazy, z.ZodNull]>; - timestamp: z.ZodLazy; - url: z.ZodString; - }, "strip", z.ZodTypeAny, { - url: string; - navigation: string | null; - context: string; - timestamp: number; - }, { - url: string; - navigation: string | null; - context: string; - timestamp: number; - }>>; -}, "strip", z.ZodTypeAny, { - params: { - url: string; - navigation: string | null; - context: string; - timestamp: number; - }; - method: "browsingContext.fragmentNavigated"; -}, { - params: { - url: string; - navigation: string | null; - context: string; - timestamp: number; - }; - method: "browsingContext.fragmentNavigated"; -}>>, z.ZodLazy; - params: z.ZodLazy; - navigation: z.ZodUnion<[z.ZodLazy, z.ZodNull]>; - timestamp: z.ZodLazy; - url: z.ZodString; - }, "strip", z.ZodTypeAny, { - url: string; - navigation: string | null; - context: string; - timestamp: number; - }, { - url: string; - navigation: string | null; - context: string; - timestamp: number; - }>>; -}, "strip", z.ZodTypeAny, { - params: { - url: string; - navigation: string | null; - context: string; - timestamp: number; - }; - method: "browsingContext.load"; -}, { - params: { - url: string; - navigation: string | null; - context: string; - timestamp: number; - }; - method: "browsingContext.load"; -}>>, z.ZodLazy; - params: z.ZodLazy; - navigation: z.ZodUnion<[z.ZodLazy, z.ZodNull]>; - timestamp: z.ZodLazy; - url: z.ZodString; - }, "strip", z.ZodTypeAny, { - url: string; - navigation: string | null; - context: string; - timestamp: number; - }, { - url: string; - navigation: string | null; - context: string; - timestamp: number; - }>>; -}, "strip", z.ZodTypeAny, { - params: { - url: string; - navigation: string | null; - context: string; - timestamp: number; - }; - method: "browsingContext.navigationAborted"; -}, { - params: { - url: string; - navigation: string | null; - context: string; - timestamp: number; - }; - method: "browsingContext.navigationAborted"; -}>>, z.ZodLazy; - params: z.ZodLazy; - navigation: z.ZodUnion<[z.ZodLazy, z.ZodNull]>; - timestamp: z.ZodLazy; - url: z.ZodString; - }, "strip", z.ZodTypeAny, { - url: string; - navigation: string | null; - context: string; - timestamp: number; - }, { - url: string; - navigation: string | null; - context: string; - timestamp: number; - }>>; -}, "strip", z.ZodTypeAny, { - params: { - url: string; - navigation: string | null; - context: string; - timestamp: number; - }; - method: "browsingContext.navigationFailed"; -}, { - params: { - url: string; - navigation: string | null; - context: string; - timestamp: number; - }; - method: "browsingContext.navigationFailed"; -}>>, z.ZodLazy; - params: z.ZodLazy; - navigation: z.ZodUnion<[z.ZodLazy, z.ZodNull]>; - timestamp: z.ZodLazy; - url: z.ZodString; - }, "strip", z.ZodTypeAny, { - url: string; - navigation: string | null; - context: string; - timestamp: number; - }, { - url: string; - navigation: string | null; - context: string; - timestamp: number; - }>>; -}, "strip", z.ZodTypeAny, { - params: { - url: string; - navigation: string | null; - context: string; - timestamp: number; - }; - method: "browsingContext.navigationStarted"; -}, { - params: { - url: string; - navigation: string | null; - context: string; - timestamp: number; - }; - method: "browsingContext.navigationStarted"; -}>>, z.ZodLazy; - params: z.ZodLazy; - accepted: z.ZodBoolean; - userText: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - context: string; - accepted: boolean; - userText?: string | undefined; - }, { - context: string; - accepted: boolean; - userText?: string | undefined; - }>>; -}, "strip", z.ZodTypeAny, { - params: { - context: string; - accepted: boolean; - userText?: string | undefined; - }; - method: "browsingContext.userPromptClosed"; -}, { - params: { - context: string; - accepted: boolean; - userText?: string | undefined; - }; - method: "browsingContext.userPromptClosed"; -}>>, z.ZodLazy; - params: z.ZodLazy; - type: z.ZodEnum<["alert", "confirm", "prompt", "beforeunload"]>; - message: z.ZodString; - defaultValue: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - message: string; - type: "prompt" | "alert" | "confirm" | "beforeunload"; - context: string; - defaultValue?: string | undefined; - }, { - message: string; - type: "prompt" | "alert" | "confirm" | "beforeunload"; - context: string; - defaultValue?: string | undefined; - }>>; -}, "strip", z.ZodTypeAny, { - params: { - message: string; - type: "prompt" | "alert" | "confirm" | "beforeunload"; - context: string; - defaultValue?: string | undefined; - }; - method: "browsingContext.userPromptOpened"; -}, { - params: { - message: string; - type: "prompt" | "alert" | "confirm" | "beforeunload"; - context: string; - defaultValue?: string | undefined; - }; - method: "browsingContext.userPromptOpened"; -}>>]>>, z.ZodLazy; - params: z.ZodLazy>; - source: z.ZodLazy; - context: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - realm: string; - context?: string | undefined; - }, { - realm: string; - context?: string | undefined; - }>>; - text: z.ZodUnion<[z.ZodString, z.ZodNull]>; - timestamp: z.ZodLazy; - stackTrace: z.ZodOptional; - functionName: z.ZodString; - lineNumber: z.ZodLazy; - url: z.ZodString; - }, "strip", z.ZodTypeAny, { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }, { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }>>, "many">; - }, "strip", z.ZodTypeAny, { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }, { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }>>>; - }, "strip", z.ZodTypeAny, { - level: "error" | "debug" | "info" | "warn"; - source: { - realm: string; - context?: string | undefined; - }; - text: string | null; - timestamp: number; - stackTrace?: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - } | undefined; - }, { - level: "error" | "debug" | "info" | "warn"; - source: { - realm: string; - context?: string | undefined; - }; - text: string | null; - timestamp: number; - stackTrace?: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - } | undefined; - }>>, z.ZodObject<{ - type: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: string; - }, { - type: string; - }>>>, z.ZodLazy>; - source: z.ZodLazy; - context: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - realm: string; - context?: string | undefined; - }, { - realm: string; - context?: string | undefined; - }>>; - text: z.ZodUnion<[z.ZodString, z.ZodNull]>; - timestamp: z.ZodLazy; - stackTrace: z.ZodOptional; - functionName: z.ZodString; - lineNumber: z.ZodLazy; - url: z.ZodString; - }, "strip", z.ZodTypeAny, { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }, { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }>>, "many">; - }, "strip", z.ZodTypeAny, { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }, { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }>>>; - }, "strip", z.ZodTypeAny, { - level: "error" | "debug" | "info" | "warn"; - source: { - realm: string; - context?: string | undefined; - }; - text: string | null; - timestamp: number; - stackTrace?: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - } | undefined; - }, { - level: "error" | "debug" | "info" | "warn"; - source: { - realm: string; - context?: string | undefined; - }; - text: string | null; - timestamp: number; - stackTrace?: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - } | undefined; - }>>, z.ZodObject<{ - type: z.ZodLiteral<"console">; - method: z.ZodString; - args: z.ZodArray; - }, "strip", z.ZodTypeAny, { - type: "console"; - args: any[]; - method: string; - }, { - type: "console"; - args: any[]; - method: string; - }>>>, z.ZodLazy>; - source: z.ZodLazy; - context: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - realm: string; - context?: string | undefined; - }, { - realm: string; - context?: string | undefined; - }>>; - text: z.ZodUnion<[z.ZodString, z.ZodNull]>; - timestamp: z.ZodLazy; - stackTrace: z.ZodOptional; - functionName: z.ZodString; - lineNumber: z.ZodLazy; - url: z.ZodString; - }, "strip", z.ZodTypeAny, { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }, { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }>>, "many">; - }, "strip", z.ZodTypeAny, { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }, { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }>>>; - }, "strip", z.ZodTypeAny, { - level: "error" | "debug" | "info" | "warn"; - source: { - realm: string; - context?: string | undefined; - }; - text: string | null; - timestamp: number; - stackTrace?: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - } | undefined; - }, { - level: "error" | "debug" | "info" | "warn"; - source: { - realm: string; - context?: string | undefined; - }; - text: string | null; - timestamp: number; - stackTrace?: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - } | undefined; - }>>, z.ZodObject<{ - type: z.ZodLiteral<"javascript">; - }, "strip", z.ZodTypeAny, { - type: "javascript"; - }, { - type: "javascript"; - }>>>]>>; -}, "strip", z.ZodTypeAny, { - params: ({ - level: "error" | "debug" | "info" | "warn"; - source: { - realm: string; - context?: string | undefined; - }; - text: string | null; - timestamp: number; - stackTrace?: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - } | undefined; - } & { - type: string; - }) | ({ - level: "error" | "debug" | "info" | "warn"; - source: { - realm: string; - context?: string | undefined; - }; - text: string | null; - timestamp: number; - stackTrace?: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - } | undefined; - } & { - type: "console"; - args: any[]; - method: string; - }) | ({ - level: "error" | "debug" | "info" | "warn"; - source: { - realm: string; - context?: string | undefined; - }; - text: string | null; - timestamp: number; - stackTrace?: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - } | undefined; - } & { - type: "javascript"; - }) | ({ - level: "error" | "debug" | "info" | "warn"; - source: { - realm: string; - context?: string | undefined; - }; - text: string | null; - timestamp: number; - stackTrace?: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - } | undefined; - } & { - type: string; - } & { - type: "console"; - args: any[]; - method: string; - }) | ({ - level: "error" | "debug" | "info" | "warn"; - source: { - realm: string; - context?: string | undefined; - }; - text: string | null; - timestamp: number; - stackTrace?: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - } | undefined; - } & { - type: string; - } & { - type: "javascript"; - }) | ({ - level: "error" | "debug" | "info" | "warn"; - source: { - realm: string; - context?: string | undefined; - }; - text: string | null; - timestamp: number; - stackTrace?: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - } | undefined; - } & { - type: "console"; - args: any[]; - method: string; - } & { - type: string; - }) | ({ - level: "error" | "debug" | "info" | "warn"; - source: { - realm: string; - context?: string | undefined; - }; - text: string | null; - timestamp: number; - stackTrace?: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - } | undefined; - } & { - type: "javascript"; - } & { - type: string; - }); - method: "log.entryAdded"; -}, { - params: ({ - level: "error" | "debug" | "info" | "warn"; - source: { - realm: string; - context?: string | undefined; - }; - text: string | null; - timestamp: number; - stackTrace?: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - } | undefined; - } & { - type: string; - }) | ({ - level: "error" | "debug" | "info" | "warn"; - source: { - realm: string; - context?: string | undefined; - }; - text: string | null; - timestamp: number; - stackTrace?: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - } | undefined; - } & { - type: "console"; - args: any[]; - method: string; - }) | ({ - level: "error" | "debug" | "info" | "warn"; - source: { - realm: string; - context?: string | undefined; - }; - text: string | null; - timestamp: number; - stackTrace?: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - } | undefined; - } & { - type: "javascript"; - }) | ({ - level: "error" | "debug" | "info" | "warn"; - source: { - realm: string; - context?: string | undefined; - }; - text: string | null; - timestamp: number; - stackTrace?: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - } | undefined; - } & { - type: string; - } & { - type: "console"; - args: any[]; - method: string; - }) | ({ - level: "error" | "debug" | "info" | "warn"; - source: { - realm: string; - context?: string | undefined; - }; - text: string | null; - timestamp: number; - stackTrace?: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - } | undefined; - } & { - type: string; - } & { - type: "javascript"; - }) | ({ - level: "error" | "debug" | "info" | "warn"; - source: { - realm: string; - context?: string | undefined; - }; - text: string | null; - timestamp: number; - stackTrace?: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - } | undefined; - } & { - type: "console"; - args: any[]; - method: string; - } & { - type: string; - }) | ({ - level: "error" | "debug" | "info" | "warn"; - source: { - realm: string; - context?: string | undefined; - }; - text: string | null; - timestamp: number; - stackTrace?: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - } | undefined; - } & { - type: "javascript"; - } & { - type: string; - }); - method: "log.entryAdded"; -}>>>, z.ZodLazy; - params: z.ZodLazy, z.ZodNull]>; - isBlocked: z.ZodBoolean; - navigation: z.ZodUnion<[z.ZodLazy, z.ZodNull]>; - redirectCount: z.ZodLazy; - request: z.ZodLazy; - url: z.ZodString; - method: z.ZodString; - headers: z.ZodArray; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "string"; - value: string; - }, { - type: "string"; - value: string; - }>>, z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "base64"; - value: string; - }, { - type: "base64"; - value: string; - }>>]>>; - }, "strip", z.ZodTypeAny, { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }, { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }>>, "many">; - cookies: z.ZodArray; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "string"; - value: string; - }, { - type: "string"; - value: string; - }>>, z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "base64"; - value: string; - }, { - type: "base64"; - value: string; - }>>]>>; - domain: z.ZodString; - path: z.ZodString; - size: z.ZodLazy; - httpOnly: z.ZodBoolean; - secure: z.ZodBoolean; - sameSite: z.ZodLazy>; - expiry: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - }, { - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - }>, z.ZodLazy>>>, "many">; - headersSize: z.ZodLazy; - bodySize: z.ZodUnion<[z.ZodLazy, z.ZodNull]>; - timings: z.ZodLazy>; - }, "strip", z.ZodTypeAny, { - url: string; - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - method: string; - request: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - headersSize: number; - bodySize: number | null; - timings: { - timeOrigin: number; - requestTime: number; - redirectStart: number; - redirectEnd: number; - fetchStart: number; - dnsStart: number; - dnsEnd: number; - connectStart: number; - connectEnd: number; - tlsStart: number; - requestStart: number; - responseStart: number; - responseEnd: number; - }; - }, { - url: string; - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - method: string; - request: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - headersSize: number; - bodySize: number | null; - timings: { - timeOrigin: number; - requestTime: number; - redirectStart: number; - redirectEnd: number; - fetchStart: number; - dnsStart: number; - dnsEnd: number; - connectStart: number; - connectEnd: number; - tlsStart: number; - requestStart: number; - responseStart: number; - responseEnd: number; - }; - }>>; - timestamp: z.ZodLazy; - intercepts: z.ZodOptional, "many">>; - }, "strip", z.ZodTypeAny, { - navigation: string | null; - context: string | null; - request: { - url: string; - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - method: string; - request: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - headersSize: number; - bodySize: number | null; - timings: { - timeOrigin: number; - requestTime: number; - redirectStart: number; - redirectEnd: number; - fetchStart: number; - dnsStart: number; - dnsEnd: number; - connectStart: number; - connectEnd: number; - tlsStart: number; - requestStart: number; - responseStart: number; - responseEnd: number; - }; - }; - timestamp: number; - isBlocked: boolean; - redirectCount: number; - intercepts?: string[] | undefined; - }, { - navigation: string | null; - context: string | null; - request: { - url: string; - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - method: string; - request: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - headersSize: number; - bodySize: number | null; - timings: { - timeOrigin: number; - requestTime: number; - redirectStart: number; - redirectEnd: number; - fetchStart: number; - dnsStart: number; - dnsEnd: number; - connectStart: number; - connectEnd: number; - tlsStart: number; - requestStart: number; - responseStart: number; - responseEnd: number; - }; - }; - timestamp: number; - isBlocked: boolean; - redirectCount: number; - intercepts?: string[] | undefined; - }>>, z.ZodObject<{ - response: z.ZodLazy; - statusText: z.ZodString; - fromCache: z.ZodBoolean; - headers: z.ZodArray; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "string"; - value: string; - }, { - type: "string"; - value: string; - }>>, z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "base64"; - value: string; - }, { - type: "base64"; - value: string; - }>>]>>; - }, "strip", z.ZodTypeAny, { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }, { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }>>, "many">; - mimeType: z.ZodString; - bytesReceived: z.ZodLazy; - headersSize: z.ZodUnion<[z.ZodLazy, z.ZodNull]>; - bodySize: z.ZodUnion<[z.ZodLazy, z.ZodNull]>; - content: z.ZodLazy; - }, "strip", z.ZodTypeAny, { - size: number; - }, { - size: number; - }>>; - authChallenge: z.ZodOptional>>; - }, "strip", z.ZodTypeAny, { - url: string; - status: number; - protocol: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - content: { - size: number; - }; - headersSize: number | null; - bodySize: number | null; - statusText: string; - fromCache: boolean; - mimeType: string; - bytesReceived: number; - authChallenge?: { - realm: string; - scheme: string; - } | undefined; - }, { - url: string; - status: number; - protocol: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - content: { - size: number; - }; - headersSize: number | null; - bodySize: number | null; - statusText: string; - fromCache: boolean; - mimeType: string; - bytesReceived: number; - authChallenge?: { - realm: string; - scheme: string; - } | undefined; - }>>; - }, "strip", z.ZodTypeAny, { - response: { - url: string; - status: number; - protocol: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - content: { - size: number; - }; - headersSize: number | null; - bodySize: number | null; - statusText: string; - fromCache: boolean; - mimeType: string; - bytesReceived: number; - authChallenge?: { - realm: string; - scheme: string; - } | undefined; - }; - }, { - response: { - url: string; - status: number; - protocol: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - content: { - size: number; - }; - headersSize: number | null; - bodySize: number | null; - statusText: string; - fromCache: boolean; - mimeType: string; - bytesReceived: number; - authChallenge?: { - realm: string; - scheme: string; - } | undefined; - }; - }>>>; -}, "strip", z.ZodTypeAny, { - params: { - navigation: string | null; - context: string | null; - request: { - url: string; - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - method: string; - request: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - headersSize: number; - bodySize: number | null; - timings: { - timeOrigin: number; - requestTime: number; - redirectStart: number; - redirectEnd: number; - fetchStart: number; - dnsStart: number; - dnsEnd: number; - connectStart: number; - connectEnd: number; - tlsStart: number; - requestStart: number; - responseStart: number; - responseEnd: number; - }; - }; - timestamp: number; - isBlocked: boolean; - redirectCount: number; - intercepts?: string[] | undefined; - } & { - response: { - url: string; - status: number; - protocol: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - content: { - size: number; - }; - headersSize: number | null; - bodySize: number | null; - statusText: string; - fromCache: boolean; - mimeType: string; - bytesReceived: number; - authChallenge?: { - realm: string; - scheme: string; - } | undefined; - }; - }; - method: "network.authRequired"; -}, { - params: { - navigation: string | null; - context: string | null; - request: { - url: string; - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - method: string; - request: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - headersSize: number; - bodySize: number | null; - timings: { - timeOrigin: number; - requestTime: number; - redirectStart: number; - redirectEnd: number; - fetchStart: number; - dnsStart: number; - dnsEnd: number; - connectStart: number; - connectEnd: number; - tlsStart: number; - requestStart: number; - responseStart: number; - responseEnd: number; - }; - }; - timestamp: number; - isBlocked: boolean; - redirectCount: number; - intercepts?: string[] | undefined; - } & { - response: { - url: string; - status: number; - protocol: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - content: { - size: number; - }; - headersSize: number | null; - bodySize: number | null; - statusText: string; - fromCache: boolean; - mimeType: string; - bytesReceived: number; - authChallenge?: { - realm: string; - scheme: string; - } | undefined; - }; - }; - method: "network.authRequired"; -}>>, z.ZodLazy; - params: z.ZodLazy, z.ZodNull]>; - isBlocked: z.ZodBoolean; - navigation: z.ZodUnion<[z.ZodLazy, z.ZodNull]>; - redirectCount: z.ZodLazy; - request: z.ZodLazy; - url: z.ZodString; - method: z.ZodString; - headers: z.ZodArray; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "string"; - value: string; - }, { - type: "string"; - value: string; - }>>, z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "base64"; - value: string; - }, { - type: "base64"; - value: string; - }>>]>>; - }, "strip", z.ZodTypeAny, { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }, { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }>>, "many">; - cookies: z.ZodArray; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "string"; - value: string; - }, { - type: "string"; - value: string; - }>>, z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "base64"; - value: string; - }, { - type: "base64"; - value: string; - }>>]>>; - domain: z.ZodString; - path: z.ZodString; - size: z.ZodLazy; - httpOnly: z.ZodBoolean; - secure: z.ZodBoolean; - sameSite: z.ZodLazy>; - expiry: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - }, { - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - }>, z.ZodLazy>>>, "many">; - headersSize: z.ZodLazy; - bodySize: z.ZodUnion<[z.ZodLazy, z.ZodNull]>; - timings: z.ZodLazy>; - }, "strip", z.ZodTypeAny, { - url: string; - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - method: string; - request: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - headersSize: number; - bodySize: number | null; - timings: { - timeOrigin: number; - requestTime: number; - redirectStart: number; - redirectEnd: number; - fetchStart: number; - dnsStart: number; - dnsEnd: number; - connectStart: number; - connectEnd: number; - tlsStart: number; - requestStart: number; - responseStart: number; - responseEnd: number; - }; - }, { - url: string; - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - method: string; - request: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - headersSize: number; - bodySize: number | null; - timings: { - timeOrigin: number; - requestTime: number; - redirectStart: number; - redirectEnd: number; - fetchStart: number; - dnsStart: number; - dnsEnd: number; - connectStart: number; - connectEnd: number; - tlsStart: number; - requestStart: number; - responseStart: number; - responseEnd: number; - }; - }>>; - timestamp: z.ZodLazy; - intercepts: z.ZodOptional, "many">>; - }, "strip", z.ZodTypeAny, { - navigation: string | null; - context: string | null; - request: { - url: string; - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - method: string; - request: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - headersSize: number; - bodySize: number | null; - timings: { - timeOrigin: number; - requestTime: number; - redirectStart: number; - redirectEnd: number; - fetchStart: number; - dnsStart: number; - dnsEnd: number; - connectStart: number; - connectEnd: number; - tlsStart: number; - requestStart: number; - responseStart: number; - responseEnd: number; - }; - }; - timestamp: number; - isBlocked: boolean; - redirectCount: number; - intercepts?: string[] | undefined; - }, { - navigation: string | null; - context: string | null; - request: { - url: string; - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - method: string; - request: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - headersSize: number; - bodySize: number | null; - timings: { - timeOrigin: number; - requestTime: number; - redirectStart: number; - redirectEnd: number; - fetchStart: number; - dnsStart: number; - dnsEnd: number; - connectStart: number; - connectEnd: number; - tlsStart: number; - requestStart: number; - responseStart: number; - responseEnd: number; - }; - }; - timestamp: number; - isBlocked: boolean; - redirectCount: number; - intercepts?: string[] | undefined; - }>>, z.ZodObject<{ - initiator: z.ZodLazy; - columnNumber: z.ZodOptional>; - lineNumber: z.ZodOptional>; - stackTrace: z.ZodOptional; - functionName: z.ZodString; - lineNumber: z.ZodLazy; - url: z.ZodString; - }, "strip", z.ZodTypeAny, { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }, { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }>>, "many">; - }, "strip", z.ZodTypeAny, { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }, { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }>>>; - request: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - type: "other" | "script" | "parser" | "preflight"; - columnNumber?: number | undefined; - lineNumber?: number | undefined; - stackTrace?: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - } | undefined; - request?: string | undefined; - }, { - type: "other" | "script" | "parser" | "preflight"; - columnNumber?: number | undefined; - lineNumber?: number | undefined; - stackTrace?: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - } | undefined; - request?: string | undefined; - }>>; - }, "strip", z.ZodTypeAny, { - initiator: { - type: "other" | "script" | "parser" | "preflight"; - columnNumber?: number | undefined; - lineNumber?: number | undefined; - stackTrace?: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - } | undefined; - request?: string | undefined; - }; - }, { - initiator: { - type: "other" | "script" | "parser" | "preflight"; - columnNumber?: number | undefined; - lineNumber?: number | undefined; - stackTrace?: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - } | undefined; - request?: string | undefined; - }; - }>>>; -}, "strip", z.ZodTypeAny, { - params: { - navigation: string | null; - context: string | null; - request: { - url: string; - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - method: string; - request: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - headersSize: number; - bodySize: number | null; - timings: { - timeOrigin: number; - requestTime: number; - redirectStart: number; - redirectEnd: number; - fetchStart: number; - dnsStart: number; - dnsEnd: number; - connectStart: number; - connectEnd: number; - tlsStart: number; - requestStart: number; - responseStart: number; - responseEnd: number; - }; - }; - timestamp: number; - isBlocked: boolean; - redirectCount: number; - intercepts?: string[] | undefined; - } & { - initiator: { - type: "other" | "script" | "parser" | "preflight"; - columnNumber?: number | undefined; - lineNumber?: number | undefined; - stackTrace?: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - } | undefined; - request?: string | undefined; - }; - }; - method: "network.beforeRequestSent"; -}, { - params: { - navigation: string | null; - context: string | null; - request: { - url: string; - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - method: string; - request: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - headersSize: number; - bodySize: number | null; - timings: { - timeOrigin: number; - requestTime: number; - redirectStart: number; - redirectEnd: number; - fetchStart: number; - dnsStart: number; - dnsEnd: number; - connectStart: number; - connectEnd: number; - tlsStart: number; - requestStart: number; - responseStart: number; - responseEnd: number; - }; - }; - timestamp: number; - isBlocked: boolean; - redirectCount: number; - intercepts?: string[] | undefined; - } & { - initiator: { - type: "other" | "script" | "parser" | "preflight"; - columnNumber?: number | undefined; - lineNumber?: number | undefined; - stackTrace?: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - } | undefined; - request?: string | undefined; - }; - }; - method: "network.beforeRequestSent"; -}>>, z.ZodLazy; - params: z.ZodLazy, z.ZodNull]>; - isBlocked: z.ZodBoolean; - navigation: z.ZodUnion<[z.ZodLazy, z.ZodNull]>; - redirectCount: z.ZodLazy; - request: z.ZodLazy; - url: z.ZodString; - method: z.ZodString; - headers: z.ZodArray; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "string"; - value: string; - }, { - type: "string"; - value: string; - }>>, z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "base64"; - value: string; - }, { - type: "base64"; - value: string; - }>>]>>; - }, "strip", z.ZodTypeAny, { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }, { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }>>, "many">; - cookies: z.ZodArray; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "string"; - value: string; - }, { - type: "string"; - value: string; - }>>, z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "base64"; - value: string; - }, { - type: "base64"; - value: string; - }>>]>>; - domain: z.ZodString; - path: z.ZodString; - size: z.ZodLazy; - httpOnly: z.ZodBoolean; - secure: z.ZodBoolean; - sameSite: z.ZodLazy>; - expiry: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - }, { - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - }>, z.ZodLazy>>>, "many">; - headersSize: z.ZodLazy; - bodySize: z.ZodUnion<[z.ZodLazy, z.ZodNull]>; - timings: z.ZodLazy>; - }, "strip", z.ZodTypeAny, { - url: string; - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - method: string; - request: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - headersSize: number; - bodySize: number | null; - timings: { - timeOrigin: number; - requestTime: number; - redirectStart: number; - redirectEnd: number; - fetchStart: number; - dnsStart: number; - dnsEnd: number; - connectStart: number; - connectEnd: number; - tlsStart: number; - requestStart: number; - responseStart: number; - responseEnd: number; - }; - }, { - url: string; - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - method: string; - request: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - headersSize: number; - bodySize: number | null; - timings: { - timeOrigin: number; - requestTime: number; - redirectStart: number; - redirectEnd: number; - fetchStart: number; - dnsStart: number; - dnsEnd: number; - connectStart: number; - connectEnd: number; - tlsStart: number; - requestStart: number; - responseStart: number; - responseEnd: number; - }; - }>>; - timestamp: z.ZodLazy; - intercepts: z.ZodOptional, "many">>; - }, "strip", z.ZodTypeAny, { - navigation: string | null; - context: string | null; - request: { - url: string; - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - method: string; - request: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - headersSize: number; - bodySize: number | null; - timings: { - timeOrigin: number; - requestTime: number; - redirectStart: number; - redirectEnd: number; - fetchStart: number; - dnsStart: number; - dnsEnd: number; - connectStart: number; - connectEnd: number; - tlsStart: number; - requestStart: number; - responseStart: number; - responseEnd: number; - }; - }; - timestamp: number; - isBlocked: boolean; - redirectCount: number; - intercepts?: string[] | undefined; - }, { - navigation: string | null; - context: string | null; - request: { - url: string; - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - method: string; - request: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - headersSize: number; - bodySize: number | null; - timings: { - timeOrigin: number; - requestTime: number; - redirectStart: number; - redirectEnd: number; - fetchStart: number; - dnsStart: number; - dnsEnd: number; - connectStart: number; - connectEnd: number; - tlsStart: number; - requestStart: number; - responseStart: number; - responseEnd: number; - }; - }; - timestamp: number; - isBlocked: boolean; - redirectCount: number; - intercepts?: string[] | undefined; - }>>, z.ZodObject<{ - errorText: z.ZodString; - }, "strip", z.ZodTypeAny, { - errorText: string; - }, { - errorText: string; - }>>>; -}, "strip", z.ZodTypeAny, { - params: { - navigation: string | null; - context: string | null; - request: { - url: string; - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - method: string; - request: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - headersSize: number; - bodySize: number | null; - timings: { - timeOrigin: number; - requestTime: number; - redirectStart: number; - redirectEnd: number; - fetchStart: number; - dnsStart: number; - dnsEnd: number; - connectStart: number; - connectEnd: number; - tlsStart: number; - requestStart: number; - responseStart: number; - responseEnd: number; - }; - }; - timestamp: number; - isBlocked: boolean; - redirectCount: number; - intercepts?: string[] | undefined; - } & { - errorText: string; - }; - method: "network.fetchError"; -}, { - params: { - navigation: string | null; - context: string | null; - request: { - url: string; - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - method: string; - request: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - headersSize: number; - bodySize: number | null; - timings: { - timeOrigin: number; - requestTime: number; - redirectStart: number; - redirectEnd: number; - fetchStart: number; - dnsStart: number; - dnsEnd: number; - connectStart: number; - connectEnd: number; - tlsStart: number; - requestStart: number; - responseStart: number; - responseEnd: number; - }; - }; - timestamp: number; - isBlocked: boolean; - redirectCount: number; - intercepts?: string[] | undefined; - } & { - errorText: string; - }; - method: "network.fetchError"; -}>>, z.ZodLazy; - params: z.ZodLazy, z.ZodNull]>; - isBlocked: z.ZodBoolean; - navigation: z.ZodUnion<[z.ZodLazy, z.ZodNull]>; - redirectCount: z.ZodLazy; - request: z.ZodLazy; - url: z.ZodString; - method: z.ZodString; - headers: z.ZodArray; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "string"; - value: string; - }, { - type: "string"; - value: string; - }>>, z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "base64"; - value: string; - }, { - type: "base64"; - value: string; - }>>]>>; - }, "strip", z.ZodTypeAny, { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }, { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }>>, "many">; - cookies: z.ZodArray; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "string"; - value: string; - }, { - type: "string"; - value: string; - }>>, z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "base64"; - value: string; - }, { - type: "base64"; - value: string; - }>>]>>; - domain: z.ZodString; - path: z.ZodString; - size: z.ZodLazy; - httpOnly: z.ZodBoolean; - secure: z.ZodBoolean; - sameSite: z.ZodLazy>; - expiry: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - }, { - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - }>, z.ZodLazy>>>, "many">; - headersSize: z.ZodLazy; - bodySize: z.ZodUnion<[z.ZodLazy, z.ZodNull]>; - timings: z.ZodLazy>; - }, "strip", z.ZodTypeAny, { - url: string; - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - method: string; - request: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - headersSize: number; - bodySize: number | null; - timings: { - timeOrigin: number; - requestTime: number; - redirectStart: number; - redirectEnd: number; - fetchStart: number; - dnsStart: number; - dnsEnd: number; - connectStart: number; - connectEnd: number; - tlsStart: number; - requestStart: number; - responseStart: number; - responseEnd: number; - }; - }, { - url: string; - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - method: string; - request: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - headersSize: number; - bodySize: number | null; - timings: { - timeOrigin: number; - requestTime: number; - redirectStart: number; - redirectEnd: number; - fetchStart: number; - dnsStart: number; - dnsEnd: number; - connectStart: number; - connectEnd: number; - tlsStart: number; - requestStart: number; - responseStart: number; - responseEnd: number; - }; - }>>; - timestamp: z.ZodLazy; - intercepts: z.ZodOptional, "many">>; - }, "strip", z.ZodTypeAny, { - navigation: string | null; - context: string | null; - request: { - url: string; - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - method: string; - request: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - headersSize: number; - bodySize: number | null; - timings: { - timeOrigin: number; - requestTime: number; - redirectStart: number; - redirectEnd: number; - fetchStart: number; - dnsStart: number; - dnsEnd: number; - connectStart: number; - connectEnd: number; - tlsStart: number; - requestStart: number; - responseStart: number; - responseEnd: number; - }; - }; - timestamp: number; - isBlocked: boolean; - redirectCount: number; - intercepts?: string[] | undefined; - }, { - navigation: string | null; - context: string | null; - request: { - url: string; - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - method: string; - request: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - headersSize: number; - bodySize: number | null; - timings: { - timeOrigin: number; - requestTime: number; - redirectStart: number; - redirectEnd: number; - fetchStart: number; - dnsStart: number; - dnsEnd: number; - connectStart: number; - connectEnd: number; - tlsStart: number; - requestStart: number; - responseStart: number; - responseEnd: number; - }; - }; - timestamp: number; - isBlocked: boolean; - redirectCount: number; - intercepts?: string[] | undefined; - }>>, z.ZodObject<{ - response: z.ZodLazy; - statusText: z.ZodString; - fromCache: z.ZodBoolean; - headers: z.ZodArray; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "string"; - value: string; - }, { - type: "string"; - value: string; - }>>, z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "base64"; - value: string; - }, { - type: "base64"; - value: string; - }>>]>>; - }, "strip", z.ZodTypeAny, { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }, { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }>>, "many">; - mimeType: z.ZodString; - bytesReceived: z.ZodLazy; - headersSize: z.ZodUnion<[z.ZodLazy, z.ZodNull]>; - bodySize: z.ZodUnion<[z.ZodLazy, z.ZodNull]>; - content: z.ZodLazy; - }, "strip", z.ZodTypeAny, { - size: number; - }, { - size: number; - }>>; - authChallenge: z.ZodOptional>>; - }, "strip", z.ZodTypeAny, { - url: string; - status: number; - protocol: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - content: { - size: number; - }; - headersSize: number | null; - bodySize: number | null; - statusText: string; - fromCache: boolean; - mimeType: string; - bytesReceived: number; - authChallenge?: { - realm: string; - scheme: string; - } | undefined; - }, { - url: string; - status: number; - protocol: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - content: { - size: number; - }; - headersSize: number | null; - bodySize: number | null; - statusText: string; - fromCache: boolean; - mimeType: string; - bytesReceived: number; - authChallenge?: { - realm: string; - scheme: string; - } | undefined; - }>>; - }, "strip", z.ZodTypeAny, { - response: { - url: string; - status: number; - protocol: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - content: { - size: number; - }; - headersSize: number | null; - bodySize: number | null; - statusText: string; - fromCache: boolean; - mimeType: string; - bytesReceived: number; - authChallenge?: { - realm: string; - scheme: string; - } | undefined; - }; - }, { - response: { - url: string; - status: number; - protocol: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - content: { - size: number; - }; - headersSize: number | null; - bodySize: number | null; - statusText: string; - fromCache: boolean; - mimeType: string; - bytesReceived: number; - authChallenge?: { - realm: string; - scheme: string; - } | undefined; - }; - }>>>; -}, "strip", z.ZodTypeAny, { - params: { - navigation: string | null; - context: string | null; - request: { - url: string; - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - method: string; - request: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - headersSize: number; - bodySize: number | null; - timings: { - timeOrigin: number; - requestTime: number; - redirectStart: number; - redirectEnd: number; - fetchStart: number; - dnsStart: number; - dnsEnd: number; - connectStart: number; - connectEnd: number; - tlsStart: number; - requestStart: number; - responseStart: number; - responseEnd: number; - }; - }; - timestamp: number; - isBlocked: boolean; - redirectCount: number; - intercepts?: string[] | undefined; - } & { - response: { - url: string; - status: number; - protocol: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - content: { - size: number; - }; - headersSize: number | null; - bodySize: number | null; - statusText: string; - fromCache: boolean; - mimeType: string; - bytesReceived: number; - authChallenge?: { - realm: string; - scheme: string; - } | undefined; - }; - }; - method: "network.responseCompleted"; -}, { - params: { - navigation: string | null; - context: string | null; - request: { - url: string; - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - method: string; - request: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - headersSize: number; - bodySize: number | null; - timings: { - timeOrigin: number; - requestTime: number; - redirectStart: number; - redirectEnd: number; - fetchStart: number; - dnsStart: number; - dnsEnd: number; - connectStart: number; - connectEnd: number; - tlsStart: number; - requestStart: number; - responseStart: number; - responseEnd: number; - }; - }; - timestamp: number; - isBlocked: boolean; - redirectCount: number; - intercepts?: string[] | undefined; - } & { - response: { - url: string; - status: number; - protocol: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - content: { - size: number; - }; - headersSize: number | null; - bodySize: number | null; - statusText: string; - fromCache: boolean; - mimeType: string; - bytesReceived: number; - authChallenge?: { - realm: string; - scheme: string; - } | undefined; - }; - }; - method: "network.responseCompleted"; -}>>, z.ZodLazy; - params: z.ZodLazy, z.ZodNull]>; - isBlocked: z.ZodBoolean; - navigation: z.ZodUnion<[z.ZodLazy, z.ZodNull]>; - redirectCount: z.ZodLazy; - request: z.ZodLazy; - url: z.ZodString; - method: z.ZodString; - headers: z.ZodArray; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "string"; - value: string; - }, { - type: "string"; - value: string; - }>>, z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "base64"; - value: string; - }, { - type: "base64"; - value: string; - }>>]>>; - }, "strip", z.ZodTypeAny, { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }, { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }>>, "many">; - cookies: z.ZodArray; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "string"; - value: string; - }, { - type: "string"; - value: string; - }>>, z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "base64"; - value: string; - }, { - type: "base64"; - value: string; - }>>]>>; - domain: z.ZodString; - path: z.ZodString; - size: z.ZodLazy; - httpOnly: z.ZodBoolean; - secure: z.ZodBoolean; - sameSite: z.ZodLazy>; - expiry: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - }, { - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - }>, z.ZodLazy>>>, "many">; - headersSize: z.ZodLazy; - bodySize: z.ZodUnion<[z.ZodLazy, z.ZodNull]>; - timings: z.ZodLazy>; - }, "strip", z.ZodTypeAny, { - url: string; - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - method: string; - request: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - headersSize: number; - bodySize: number | null; - timings: { - timeOrigin: number; - requestTime: number; - redirectStart: number; - redirectEnd: number; - fetchStart: number; - dnsStart: number; - dnsEnd: number; - connectStart: number; - connectEnd: number; - tlsStart: number; - requestStart: number; - responseStart: number; - responseEnd: number; - }; - }, { - url: string; - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - method: string; - request: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - headersSize: number; - bodySize: number | null; - timings: { - timeOrigin: number; - requestTime: number; - redirectStart: number; - redirectEnd: number; - fetchStart: number; - dnsStart: number; - dnsEnd: number; - connectStart: number; - connectEnd: number; - tlsStart: number; - requestStart: number; - responseStart: number; - responseEnd: number; - }; - }>>; - timestamp: z.ZodLazy; - intercepts: z.ZodOptional, "many">>; - }, "strip", z.ZodTypeAny, { - navigation: string | null; - context: string | null; - request: { - url: string; - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - method: string; - request: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - headersSize: number; - bodySize: number | null; - timings: { - timeOrigin: number; - requestTime: number; - redirectStart: number; - redirectEnd: number; - fetchStart: number; - dnsStart: number; - dnsEnd: number; - connectStart: number; - connectEnd: number; - tlsStart: number; - requestStart: number; - responseStart: number; - responseEnd: number; - }; - }; - timestamp: number; - isBlocked: boolean; - redirectCount: number; - intercepts?: string[] | undefined; - }, { - navigation: string | null; - context: string | null; - request: { - url: string; - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - method: string; - request: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - headersSize: number; - bodySize: number | null; - timings: { - timeOrigin: number; - requestTime: number; - redirectStart: number; - redirectEnd: number; - fetchStart: number; - dnsStart: number; - dnsEnd: number; - connectStart: number; - connectEnd: number; - tlsStart: number; - requestStart: number; - responseStart: number; - responseEnd: number; - }; - }; - timestamp: number; - isBlocked: boolean; - redirectCount: number; - intercepts?: string[] | undefined; - }>>, z.ZodObject<{ - response: z.ZodLazy; - statusText: z.ZodString; - fromCache: z.ZodBoolean; - headers: z.ZodArray; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "string"; - value: string; - }, { - type: "string"; - value: string; - }>>, z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "base64"; - value: string; - }, { - type: "base64"; - value: string; - }>>]>>; - }, "strip", z.ZodTypeAny, { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }, { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }>>, "many">; - mimeType: z.ZodString; - bytesReceived: z.ZodLazy; - headersSize: z.ZodUnion<[z.ZodLazy, z.ZodNull]>; - bodySize: z.ZodUnion<[z.ZodLazy, z.ZodNull]>; - content: z.ZodLazy; - }, "strip", z.ZodTypeAny, { - size: number; - }, { - size: number; - }>>; - authChallenge: z.ZodOptional>>; - }, "strip", z.ZodTypeAny, { - url: string; - status: number; - protocol: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - content: { - size: number; - }; - headersSize: number | null; - bodySize: number | null; - statusText: string; - fromCache: boolean; - mimeType: string; - bytesReceived: number; - authChallenge?: { - realm: string; - scheme: string; - } | undefined; - }, { - url: string; - status: number; - protocol: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - content: { - size: number; - }; - headersSize: number | null; - bodySize: number | null; - statusText: string; - fromCache: boolean; - mimeType: string; - bytesReceived: number; - authChallenge?: { - realm: string; - scheme: string; - } | undefined; - }>>; - }, "strip", z.ZodTypeAny, { - response: { - url: string; - status: number; - protocol: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - content: { - size: number; - }; - headersSize: number | null; - bodySize: number | null; - statusText: string; - fromCache: boolean; - mimeType: string; - bytesReceived: number; - authChallenge?: { - realm: string; - scheme: string; - } | undefined; - }; - }, { - response: { - url: string; - status: number; - protocol: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - content: { - size: number; - }; - headersSize: number | null; - bodySize: number | null; - statusText: string; - fromCache: boolean; - mimeType: string; - bytesReceived: number; - authChallenge?: { - realm: string; - scheme: string; - } | undefined; - }; - }>>>; -}, "strip", z.ZodTypeAny, { - params: { - navigation: string | null; - context: string | null; - request: { - url: string; - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - method: string; - request: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - headersSize: number; - bodySize: number | null; - timings: { - timeOrigin: number; - requestTime: number; - redirectStart: number; - redirectEnd: number; - fetchStart: number; - dnsStart: number; - dnsEnd: number; - connectStart: number; - connectEnd: number; - tlsStart: number; - requestStart: number; - responseStart: number; - responseEnd: number; - }; - }; - timestamp: number; - isBlocked: boolean; - redirectCount: number; - intercepts?: string[] | undefined; - } & { - response: { - url: string; - status: number; - protocol: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - content: { - size: number; - }; - headersSize: number | null; - bodySize: number | null; - statusText: string; - fromCache: boolean; - mimeType: string; - bytesReceived: number; - authChallenge?: { - realm: string; - scheme: string; - } | undefined; - }; - }; - method: "network.responseStarted"; -}, { - params: { - navigation: string | null; - context: string | null; - request: { - url: string; - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - method: string; - request: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - headersSize: number; - bodySize: number | null; - timings: { - timeOrigin: number; - requestTime: number; - redirectStart: number; - redirectEnd: number; - fetchStart: number; - dnsStart: number; - dnsEnd: number; - connectStart: number; - connectEnd: number; - tlsStart: number; - requestStart: number; - responseStart: number; - responseEnd: number; - }; - }; - timestamp: number; - isBlocked: boolean; - redirectCount: number; - intercepts?: string[] | undefined; - } & { - response: { - url: string; - status: number; - protocol: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - content: { - size: number; - }; - headersSize: number | null; - bodySize: number | null; - statusText: string; - fromCache: boolean; - mimeType: string; - bytesReceived: number; - authChallenge?: { - realm: string; - scheme: string; - } | undefined; - }; - }; - method: "network.responseStarted"; -}>>]>>, z.ZodLazy; - params: z.ZodLazy; - data: any; - source: z.ZodLazy; - context: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - realm: string; - context?: string | undefined; - }, { - realm: string; - context?: string | undefined; - }>>; - }, "strip", z.ZodTypeAny, { - channel: string; - source: { - realm: string; - context?: string | undefined; - }; - data?: any; - }, { - channel: string; - source: { - realm: string; - context?: string | undefined; - }; - data?: any; - }>>; -}, "strip", z.ZodTypeAny, { - params: { - channel: string; - source: { - realm: string; - context?: string | undefined; - }; - data?: any; - }; - method: "script.message"; -}, { - params: { - channel: string; - source: { - realm: string; - context?: string | undefined; - }; - data?: any; - }; - method: "script.message"; -}>>, z.ZodLazy; - params: z.ZodLazy; - origin: z.ZodString; - }, "strip", z.ZodTypeAny, { - origin: string; - realm: string; - }, { - origin: string; - realm: string; - }>>, z.ZodObject<{ - type: z.ZodLiteral<"window">; - context: z.ZodLazy; - sandbox: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - type: "window"; - context: string; - sandbox?: string | undefined; - }, { - type: "window"; - context: string; - sandbox?: string | undefined; - }>>>, z.ZodLazy; - origin: z.ZodString; - }, "strip", z.ZodTypeAny, { - origin: string; - realm: string; - }, { - origin: string; - realm: string; - }>>, z.ZodObject<{ - type: z.ZodLiteral<"dedicated-worker">; - owners: z.ZodTuple<[z.ZodLazy], null>; - }, "strip", z.ZodTypeAny, { - type: "dedicated-worker"; - owners: [string]; - }, { - type: "dedicated-worker"; - owners: [string]; - }>>>, z.ZodLazy; - origin: z.ZodString; - }, "strip", z.ZodTypeAny, { - origin: string; - realm: string; - }, { - origin: string; - realm: string; - }>>, z.ZodObject<{ - type: z.ZodLiteral<"shared-worker">; - }, "strip", z.ZodTypeAny, { - type: "shared-worker"; - }, { - type: "shared-worker"; - }>>>, z.ZodLazy; - origin: z.ZodString; - }, "strip", z.ZodTypeAny, { - origin: string; - realm: string; - }, { - origin: string; - realm: string; - }>>, z.ZodObject<{ - type: z.ZodLiteral<"service-worker">; - }, "strip", z.ZodTypeAny, { - type: "service-worker"; - }, { - type: "service-worker"; - }>>>, z.ZodLazy; - origin: z.ZodString; - }, "strip", z.ZodTypeAny, { - origin: string; - realm: string; - }, { - origin: string; - realm: string; - }>>, z.ZodObject<{ - type: z.ZodLiteral<"worker">; - }, "strip", z.ZodTypeAny, { - type: "worker"; - }, { - type: "worker"; - }>>>, z.ZodLazy; - origin: z.ZodString; - }, "strip", z.ZodTypeAny, { - origin: string; - realm: string; - }, { - origin: string; - realm: string; - }>>, z.ZodObject<{ - type: z.ZodLiteral<"paint-worklet">; - }, "strip", z.ZodTypeAny, { - type: "paint-worklet"; - }, { - type: "paint-worklet"; - }>>>, z.ZodLazy; - origin: z.ZodString; - }, "strip", z.ZodTypeAny, { - origin: string; - realm: string; - }, { - origin: string; - realm: string; - }>>, z.ZodObject<{ - type: z.ZodLiteral<"audio-worklet">; - }, "strip", z.ZodTypeAny, { - type: "audio-worklet"; - }, { - type: "audio-worklet"; - }>>>, z.ZodLazy; - origin: z.ZodString; - }, "strip", z.ZodTypeAny, { - origin: string; - realm: string; - }, { - origin: string; - realm: string; - }>>, z.ZodObject<{ - type: z.ZodLiteral<"worklet">; - }, "strip", z.ZodTypeAny, { - type: "worklet"; - }, { - type: "worklet"; - }>>>]>>; -}, "strip", z.ZodTypeAny, { - params: ({ - origin: string; - realm: string; - } & { - type: "window"; - context: string; - sandbox?: string | undefined; - }) | ({ - origin: string; - realm: string; - } & { - type: "dedicated-worker"; - owners: [string]; - }) | ({ - origin: string; - realm: string; - } & { - type: "shared-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "service-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "paint-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "audio-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worklet"; - }); - method: "script.realmCreated"; -}, { - params: ({ - origin: string; - realm: string; - } & { - type: "window"; - context: string; - sandbox?: string | undefined; - }) | ({ - origin: string; - realm: string; - } & { - type: "dedicated-worker"; - owners: [string]; - }) | ({ - origin: string; - realm: string; - } & { - type: "shared-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "service-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "paint-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "audio-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worklet"; - }); - method: "script.realmCreated"; -}>>, z.ZodLazy; - params: z.ZodLazy; - }, "strip", z.ZodTypeAny, { - realm: string; - }, { - realm: string; - }>>; -}, "strip", z.ZodTypeAny, { - params: { - realm: string; - }; - method: "script.realmDestroyed"; -}, { - params: { - realm: string; - }; - method: "script.realmDestroyed"; -}>>]>>]>>>, z.ZodLazy>>>]>>; -export declare const ErrorResponseSchema: z.ZodLazy; - id: z.ZodUnion<[z.ZodLazy, z.ZodNull]>; - error: z.ZodLazy>; - message: z.ZodString; - stacktrace: z.ZodOptional; -}, "strip", z.ZodTypeAny, { - message: string; - type: "error"; - error: "invalid argument" | "invalid session id" | "move target out of bounds" | "no such alert" | "no such element" | "no such frame" | "no such handle" | "no such history entry" | "no such intercept" | "no such node" | "no such request" | "no such script" | "no such storage partition" | "no such user context" | "session not created" | "unable to capture screen" | "unable to close browser" | "unable to set cookie" | "unable to set file input" | "underspecified storage partition" | "unknown command" | "unknown error" | "unsupported operation"; - id: number | null; - stacktrace?: string | undefined; -}, { - message: string; - type: "error"; - error: "invalid argument" | "invalid session id" | "move target out of bounds" | "no such alert" | "no such element" | "no such frame" | "no such handle" | "no such history entry" | "no such intercept" | "no such node" | "no such request" | "no such script" | "no such storage partition" | "no such user context" | "session not created" | "unable to capture screen" | "unable to close browser" | "unable to set cookie" | "unable to set file input" | "underspecified storage partition" | "unknown command" | "unknown error" | "unsupported operation"; - id: number | null; - stacktrace?: string | undefined; -}>, z.ZodLazy>>>; -export declare const EmptyResultSchema: z.ZodLazy>>; -export declare const ExtensibleSchema: z.ZodLazy>; -export declare const JsIntSchema: z.ZodLazy; -export declare const JsUintSchema: z.ZodLazy; -export declare const ErrorCodeSchema: z.ZodLazy>; -export declare const SessionCommandSchema: z.ZodLazy; - params: z.ZodLazy>>; -}, "strip", z.ZodTypeAny, { - params: Record; - method: "session.end"; -}, { - params: Record; - method: "session.end"; -}>>, z.ZodLazy; - params: z.ZodLazy; - browserName: z.ZodOptional; - browserVersion: z.ZodOptional; - platformName: z.ZodOptional; - proxy: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - proxyType: "autodetect"; - }, { - proxyType: "autodetect"; - }>, z.ZodLazy>>>, z.ZodLazy; - }, "strip", z.ZodTypeAny, { - proxyType: "direct"; - }, { - proxyType: "direct"; - }>, z.ZodLazy>>>, z.ZodLazy; - ftpProxy: z.ZodOptional; - httpProxy: z.ZodOptional; - sslProxy: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - }, { - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - }>, z.ZodUnion<[z.ZodLazy>, z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>]>>, z.ZodObject<{ - noProxy: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - noProxy?: string[] | undefined; - }, { - noProxy?: string[] | undefined; - }>>, z.ZodLazy>>>, z.ZodLazy; - proxyAutoconfigUrl: z.ZodString; - }, "strip", z.ZodTypeAny, { - proxyType: "pac"; - proxyAutoconfigUrl: string; - }, { - proxyType: "pac"; - proxyAutoconfigUrl: string; - }>, z.ZodLazy>>>, z.ZodLazy; - }, "strip", z.ZodTypeAny, { - proxyType: "system"; - }, { - proxyType: "system"; - }>, z.ZodLazy>>>, z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>]>>>; - webSocketUrl: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - acceptInsecureCerts?: boolean | undefined; - browserName?: string | undefined; - browserVersion?: string | undefined; - platformName?: string | undefined; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: boolean | undefined; - }, { - acceptInsecureCerts?: boolean | undefined; - browserName?: string | undefined; - browserVersion?: string | undefined; - platformName?: string | undefined; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: boolean | undefined; - }>, z.ZodLazy>>>>; - firstMatch: z.ZodOptional; - browserName: z.ZodOptional; - browserVersion: z.ZodOptional; - platformName: z.ZodOptional; - proxy: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - proxyType: "autodetect"; - }, { - proxyType: "autodetect"; - }>, z.ZodLazy>>>, z.ZodLazy; - }, "strip", z.ZodTypeAny, { - proxyType: "direct"; - }, { - proxyType: "direct"; - }>, z.ZodLazy>>>, z.ZodLazy; - ftpProxy: z.ZodOptional; - httpProxy: z.ZodOptional; - sslProxy: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - }, { - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - }>, z.ZodUnion<[z.ZodLazy>, z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>]>>, z.ZodObject<{ - noProxy: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - noProxy?: string[] | undefined; - }, { - noProxy?: string[] | undefined; - }>>, z.ZodLazy>>>, z.ZodLazy; - proxyAutoconfigUrl: z.ZodString; - }, "strip", z.ZodTypeAny, { - proxyType: "pac"; - proxyAutoconfigUrl: string; - }, { - proxyType: "pac"; - proxyAutoconfigUrl: string; - }>, z.ZodLazy>>>, z.ZodLazy; - }, "strip", z.ZodTypeAny, { - proxyType: "system"; - }, { - proxyType: "system"; - }>, z.ZodLazy>>>, z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>]>>>; - webSocketUrl: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - acceptInsecureCerts?: boolean | undefined; - browserName?: string | undefined; - browserVersion?: string | undefined; - platformName?: string | undefined; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: boolean | undefined; - }, { - acceptInsecureCerts?: boolean | undefined; - browserName?: string | undefined; - browserVersion?: string | undefined; - platformName?: string | undefined; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: boolean | undefined; - }>, z.ZodLazy>>>, "many">>; - }, "strip", z.ZodTypeAny, { - alwaysMatch?: ({ - acceptInsecureCerts?: boolean | undefined; - browserName?: string | undefined; - browserVersion?: string | undefined; - platformName?: string | undefined; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: boolean | undefined; - } & Record) | undefined; - firstMatch?: ({ - acceptInsecureCerts?: boolean | undefined; - browserName?: string | undefined; - browserVersion?: string | undefined; - platformName?: string | undefined; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: boolean | undefined; - } & Record)[] | undefined; - }, { - alwaysMatch?: ({ - acceptInsecureCerts?: boolean | undefined; - browserName?: string | undefined; - browserVersion?: string | undefined; - platformName?: string | undefined; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: boolean | undefined; - } & Record) | undefined; - firstMatch?: ({ - acceptInsecureCerts?: boolean | undefined; - browserName?: string | undefined; - browserVersion?: string | undefined; - platformName?: string | undefined; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: boolean | undefined; - } & Record)[] | undefined; - }>>; - }, "strip", z.ZodTypeAny, { - capabilities: { - alwaysMatch?: ({ - acceptInsecureCerts?: boolean | undefined; - browserName?: string | undefined; - browserVersion?: string | undefined; - platformName?: string | undefined; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: boolean | undefined; - } & Record) | undefined; - firstMatch?: ({ - acceptInsecureCerts?: boolean | undefined; - browserName?: string | undefined; - browserVersion?: string | undefined; - platformName?: string | undefined; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: boolean | undefined; - } & Record)[] | undefined; - }; - }, { - capabilities: { - alwaysMatch?: ({ - acceptInsecureCerts?: boolean | undefined; - browserName?: string | undefined; - browserVersion?: string | undefined; - platformName?: string | undefined; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: boolean | undefined; - } & Record) | undefined; - firstMatch?: ({ - acceptInsecureCerts?: boolean | undefined; - browserName?: string | undefined; - browserVersion?: string | undefined; - platformName?: string | undefined; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: boolean | undefined; - } & Record)[] | undefined; - }; - }>>; -}, "strip", z.ZodTypeAny, { - params: { - capabilities: { - alwaysMatch?: ({ - acceptInsecureCerts?: boolean | undefined; - browserName?: string | undefined; - browserVersion?: string | undefined; - platformName?: string | undefined; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: boolean | undefined; - } & Record) | undefined; - firstMatch?: ({ - acceptInsecureCerts?: boolean | undefined; - browserName?: string | undefined; - browserVersion?: string | undefined; - platformName?: string | undefined; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: boolean | undefined; - } & Record)[] | undefined; - }; - }; - method: "session.new"; -}, { - params: { - capabilities: { - alwaysMatch?: ({ - acceptInsecureCerts?: boolean | undefined; - browserName?: string | undefined; - browserVersion?: string | undefined; - platformName?: string | undefined; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: boolean | undefined; - } & Record) | undefined; - firstMatch?: ({ - acceptInsecureCerts?: boolean | undefined; - browserName?: string | undefined; - browserVersion?: string | undefined; - platformName?: string | undefined; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: boolean | undefined; - } & Record)[] | undefined; - }; - }; - method: "session.new"; -}>>, z.ZodLazy; - params: z.ZodLazy>>; -}, "strip", z.ZodTypeAny, { - params: Record; - method: "session.status"; -}, { - params: Record; - method: "session.status"; -}>>, z.ZodLazy; - params: z.ZodLazy; - contexts: z.ZodOptional, "many">>; - }, "strip", z.ZodTypeAny, { - events: string[]; - contexts?: string[] | undefined; - }, { - events: string[]; - contexts?: string[] | undefined; - }>>; -}, "strip", z.ZodTypeAny, { - params: { - events: string[]; - contexts?: string[] | undefined; - }; - method: "session.subscribe"; -}, { - params: { - events: string[]; - contexts?: string[] | undefined; - }; - method: "session.subscribe"; -}>>, z.ZodLazy; - params: z.ZodLazy; - contexts: z.ZodOptional, "many">>; - }, "strip", z.ZodTypeAny, { - events: string[]; - contexts?: string[] | undefined; - }, { - events: string[]; - contexts?: string[] | undefined; - }>>; -}, "strip", z.ZodTypeAny, { - params: { - events: string[]; - contexts?: string[] | undefined; - }; - method: "session.unsubscribe"; -}, { - params: { - events: string[]; - contexts?: string[] | undefined; - }; - method: "session.unsubscribe"; -}>>]>>; -export declare namespace Session { - const ProxyConfigurationSchema: z.ZodLazy; - }, "strip", z.ZodTypeAny, { - proxyType: "autodetect"; - }, { - proxyType: "autodetect"; - }>, z.ZodLazy>>>, z.ZodLazy; - }, "strip", z.ZodTypeAny, { - proxyType: "direct"; - }, { - proxyType: "direct"; - }>, z.ZodLazy>>>, z.ZodLazy; - ftpProxy: z.ZodOptional; - httpProxy: z.ZodOptional; - sslProxy: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - }, { - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - }>, z.ZodUnion<[z.ZodLazy>, z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>]>>, z.ZodObject<{ - noProxy: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - noProxy?: string[] | undefined; - }, { - noProxy?: string[] | undefined; - }>>, z.ZodLazy>>>, z.ZodLazy; - proxyAutoconfigUrl: z.ZodString; - }, "strip", z.ZodTypeAny, { - proxyType: "pac"; - proxyAutoconfigUrl: string; - }, { - proxyType: "pac"; - proxyAutoconfigUrl: string; - }>, z.ZodLazy>>>, z.ZodLazy; - }, "strip", z.ZodTypeAny, { - proxyType: "system"; - }, { - proxyType: "system"; - }>, z.ZodLazy>>>, z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>]>>; -} -export declare const SessionResultSchema: z.ZodLazy; - }, "strip", z.ZodTypeAny, { - proxyType: "autodetect"; - }, { - proxyType: "autodetect"; - }>, z.ZodLazy>>>, z.ZodLazy; - }, "strip", z.ZodTypeAny, { - proxyType: "direct"; - }, { - proxyType: "direct"; - }>, z.ZodLazy>>>, z.ZodLazy; - ftpProxy: z.ZodOptional; - httpProxy: z.ZodOptional; - sslProxy: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - }, { - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - }>, z.ZodUnion<[z.ZodLazy>, z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>]>>, z.ZodObject<{ - noProxy: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - noProxy?: string[] | undefined; - }, { - noProxy?: string[] | undefined; - }>>, z.ZodLazy>>>, z.ZodLazy; - proxyAutoconfigUrl: z.ZodString; - }, "strip", z.ZodTypeAny, { - proxyType: "pac"; - proxyAutoconfigUrl: string; - }, { - proxyType: "pac"; - proxyAutoconfigUrl: string; - }>, z.ZodLazy>>>, z.ZodLazy; - }, "strip", z.ZodTypeAny, { - proxyType: "system"; - }, { - proxyType: "system"; - }>, z.ZodLazy>>>, z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>]>>>; - webSocketUrl: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - acceptInsecureCerts: boolean; - browserName: string; - browserVersion: string; - platformName: string; - setWindowRect: boolean; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: string | undefined; - }, { - acceptInsecureCerts: boolean; - browserName: string; - browserVersion: string; - platformName: string; - setWindowRect: boolean; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: string | undefined; - }>, z.ZodLazy>>; -}, "strip", z.ZodTypeAny, { - capabilities: { - acceptInsecureCerts: boolean; - browserName: string; - browserVersion: string; - platformName: string; - setWindowRect: boolean; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: string | undefined; - } & Record; - sessionId: string; -}, { - capabilities: { - acceptInsecureCerts: boolean; - browserName: string; - browserVersion: string; - platformName: string; - setWindowRect: boolean; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: string | undefined; - } & Record; - sessionId: string; -}>>, z.ZodLazy>]>>; -export declare namespace Session { - const CapabilitiesRequestSchema: z.ZodLazy; - browserName: z.ZodOptional; - browserVersion: z.ZodOptional; - platformName: z.ZodOptional; - proxy: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - proxyType: "autodetect"; - }, { - proxyType: "autodetect"; - }>, z.ZodLazy>>>, z.ZodLazy; - }, "strip", z.ZodTypeAny, { - proxyType: "direct"; - }, { - proxyType: "direct"; - }>, z.ZodLazy>>>, z.ZodLazy; - ftpProxy: z.ZodOptional; - httpProxy: z.ZodOptional; - sslProxy: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - }, { - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - }>, z.ZodUnion<[z.ZodLazy>, z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>]>>, z.ZodObject<{ - noProxy: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - noProxy?: string[] | undefined; - }, { - noProxy?: string[] | undefined; - }>>, z.ZodLazy>>>, z.ZodLazy; - proxyAutoconfigUrl: z.ZodString; - }, "strip", z.ZodTypeAny, { - proxyType: "pac"; - proxyAutoconfigUrl: string; - }, { - proxyType: "pac"; - proxyAutoconfigUrl: string; - }>, z.ZodLazy>>>, z.ZodLazy; - }, "strip", z.ZodTypeAny, { - proxyType: "system"; - }, { - proxyType: "system"; - }>, z.ZodLazy>>>, z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>]>>>; - webSocketUrl: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - acceptInsecureCerts?: boolean | undefined; - browserName?: string | undefined; - browserVersion?: string | undefined; - platformName?: string | undefined; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: boolean | undefined; - }, { - acceptInsecureCerts?: boolean | undefined; - browserName?: string | undefined; - browserVersion?: string | undefined; - platformName?: string | undefined; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: boolean | undefined; - }>, z.ZodLazy>>>>; - firstMatch: z.ZodOptional; - browserName: z.ZodOptional; - browserVersion: z.ZodOptional; - platformName: z.ZodOptional; - proxy: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - proxyType: "autodetect"; - }, { - proxyType: "autodetect"; - }>, z.ZodLazy>>>, z.ZodLazy; - }, "strip", z.ZodTypeAny, { - proxyType: "direct"; - }, { - proxyType: "direct"; - }>, z.ZodLazy>>>, z.ZodLazy; - ftpProxy: z.ZodOptional; - httpProxy: z.ZodOptional; - sslProxy: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - }, { - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - }>, z.ZodUnion<[z.ZodLazy>, z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>]>>, z.ZodObject<{ - noProxy: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - noProxy?: string[] | undefined; - }, { - noProxy?: string[] | undefined; - }>>, z.ZodLazy>>>, z.ZodLazy; - proxyAutoconfigUrl: z.ZodString; - }, "strip", z.ZodTypeAny, { - proxyType: "pac"; - proxyAutoconfigUrl: string; - }, { - proxyType: "pac"; - proxyAutoconfigUrl: string; - }>, z.ZodLazy>>>, z.ZodLazy; - }, "strip", z.ZodTypeAny, { - proxyType: "system"; - }, { - proxyType: "system"; - }>, z.ZodLazy>>>, z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>]>>>; - webSocketUrl: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - acceptInsecureCerts?: boolean | undefined; - browserName?: string | undefined; - browserVersion?: string | undefined; - platformName?: string | undefined; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: boolean | undefined; - }, { - acceptInsecureCerts?: boolean | undefined; - browserName?: string | undefined; - browserVersion?: string | undefined; - platformName?: string | undefined; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: boolean | undefined; - }>, z.ZodLazy>>>, "many">>; - }, "strip", z.ZodTypeAny, { - alwaysMatch?: ({ - acceptInsecureCerts?: boolean | undefined; - browserName?: string | undefined; - browserVersion?: string | undefined; - platformName?: string | undefined; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: boolean | undefined; - } & Record) | undefined; - firstMatch?: ({ - acceptInsecureCerts?: boolean | undefined; - browserName?: string | undefined; - browserVersion?: string | undefined; - platformName?: string | undefined; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: boolean | undefined; - } & Record)[] | undefined; - }, { - alwaysMatch?: ({ - acceptInsecureCerts?: boolean | undefined; - browserName?: string | undefined; - browserVersion?: string | undefined; - platformName?: string | undefined; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: boolean | undefined; - } & Record) | undefined; - firstMatch?: ({ - acceptInsecureCerts?: boolean | undefined; - browserName?: string | undefined; - browserVersion?: string | undefined; - platformName?: string | undefined; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: boolean | undefined; - } & Record)[] | undefined; - }>>; -} -export declare namespace Session { - const CapabilityRequestSchema: z.ZodLazy; - browserName: z.ZodOptional; - browserVersion: z.ZodOptional; - platformName: z.ZodOptional; - proxy: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - proxyType: "autodetect"; - }, { - proxyType: "autodetect"; - }>, z.ZodLazy>>>, z.ZodLazy; - }, "strip", z.ZodTypeAny, { - proxyType: "direct"; - }, { - proxyType: "direct"; - }>, z.ZodLazy>>>, z.ZodLazy; - ftpProxy: z.ZodOptional; - httpProxy: z.ZodOptional; - sslProxy: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - }, { - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - }>, z.ZodUnion<[z.ZodLazy>, z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>]>>, z.ZodObject<{ - noProxy: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - noProxy?: string[] | undefined; - }, { - noProxy?: string[] | undefined; - }>>, z.ZodLazy>>>, z.ZodLazy; - proxyAutoconfigUrl: z.ZodString; - }, "strip", z.ZodTypeAny, { - proxyType: "pac"; - proxyAutoconfigUrl: string; - }, { - proxyType: "pac"; - proxyAutoconfigUrl: string; - }>, z.ZodLazy>>>, z.ZodLazy; - }, "strip", z.ZodTypeAny, { - proxyType: "system"; - }, { - proxyType: "system"; - }>, z.ZodLazy>>>, z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>]>>>; - webSocketUrl: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - acceptInsecureCerts?: boolean | undefined; - browserName?: string | undefined; - browserVersion?: string | undefined; - platformName?: string | undefined; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: boolean | undefined; - }, { - acceptInsecureCerts?: boolean | undefined; - browserName?: string | undefined; - browserVersion?: string | undefined; - platformName?: string | undefined; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: boolean | undefined; - }>, z.ZodLazy>>>; -} -export declare namespace Session { - const AutodetectProxyConfigurationSchema: z.ZodLazy; - }, "strip", z.ZodTypeAny, { - proxyType: "autodetect"; - }, { - proxyType: "autodetect"; - }>, z.ZodLazy>>>; -} -export declare namespace Session { - const DirectProxyConfigurationSchema: z.ZodLazy; - }, "strip", z.ZodTypeAny, { - proxyType: "direct"; - }, { - proxyType: "direct"; - }>, z.ZodLazy>>>; -} -export declare namespace Session { - const ManualProxyConfigurationSchema: z.ZodLazy; - ftpProxy: z.ZodOptional; - httpProxy: z.ZodOptional; - sslProxy: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - }, { - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - }>, z.ZodUnion<[z.ZodLazy>, z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>]>>, z.ZodObject<{ - noProxy: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - noProxy?: string[] | undefined; - }, { - noProxy?: string[] | undefined; - }>>, z.ZodLazy>>>; -} -export declare namespace Session { - const SocksProxyConfigurationSchema: z.ZodLazy>; -} -export declare namespace Session { - const PacProxyConfigurationSchema: z.ZodLazy; - proxyAutoconfigUrl: z.ZodString; - }, "strip", z.ZodTypeAny, { - proxyType: "pac"; - proxyAutoconfigUrl: string; - }, { - proxyType: "pac"; - proxyAutoconfigUrl: string; - }>, z.ZodLazy>>>; -} -export declare namespace Session { - const SystemProxyConfigurationSchema: z.ZodLazy; - }, "strip", z.ZodTypeAny, { - proxyType: "system"; - }, { - proxyType: "system"; - }>, z.ZodLazy>>>; -} -export declare namespace Session { - const SubscriptionRequestSchema: z.ZodLazy; - contexts: z.ZodOptional, "many">>; - }, "strip", z.ZodTypeAny, { - events: string[]; - contexts?: string[] | undefined; - }, { - events: string[]; - contexts?: string[] | undefined; - }>>; -} -export declare namespace Session { - const StatusSchema: z.ZodLazy; - params: z.ZodLazy>>; - }, "strip", z.ZodTypeAny, { - params: Record; - method: "session.status"; - }, { - params: Record; - method: "session.status"; - }>>; -} -export declare namespace Session { - const StatusResultSchema: z.ZodLazy>; -} -export declare namespace Session { - const NewSchema: z.ZodLazy; - params: z.ZodLazy; - browserName: z.ZodOptional; - browserVersion: z.ZodOptional; - platformName: z.ZodOptional; - proxy: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - proxyType: "autodetect"; - }, { - proxyType: "autodetect"; - }>, z.ZodLazy>>>, z.ZodLazy; - }, "strip", z.ZodTypeAny, { - proxyType: "direct"; - }, { - proxyType: "direct"; - }>, z.ZodLazy>>>, z.ZodLazy; - ftpProxy: z.ZodOptional; - httpProxy: z.ZodOptional; - sslProxy: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - }, { - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - }>, z.ZodUnion<[z.ZodLazy>, z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>]>>, z.ZodObject<{ - noProxy: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - noProxy?: string[] | undefined; - }, { - noProxy?: string[] | undefined; - }>>, z.ZodLazy>>>, z.ZodLazy; - proxyAutoconfigUrl: z.ZodString; - }, "strip", z.ZodTypeAny, { - proxyType: "pac"; - proxyAutoconfigUrl: string; - }, { - proxyType: "pac"; - proxyAutoconfigUrl: string; - }>, z.ZodLazy>>>, z.ZodLazy; - }, "strip", z.ZodTypeAny, { - proxyType: "system"; - }, { - proxyType: "system"; - }>, z.ZodLazy>>>, z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>]>>>; - webSocketUrl: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - acceptInsecureCerts?: boolean | undefined; - browserName?: string | undefined; - browserVersion?: string | undefined; - platformName?: string | undefined; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: boolean | undefined; - }, { - acceptInsecureCerts?: boolean | undefined; - browserName?: string | undefined; - browserVersion?: string | undefined; - platformName?: string | undefined; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: boolean | undefined; - }>, z.ZodLazy>>>>; - firstMatch: z.ZodOptional; - browserName: z.ZodOptional; - browserVersion: z.ZodOptional; - platformName: z.ZodOptional; - proxy: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - proxyType: "autodetect"; - }, { - proxyType: "autodetect"; - }>, z.ZodLazy>>>, z.ZodLazy; - }, "strip", z.ZodTypeAny, { - proxyType: "direct"; - }, { - proxyType: "direct"; - }>, z.ZodLazy>>>, z.ZodLazy; - ftpProxy: z.ZodOptional; - httpProxy: z.ZodOptional; - sslProxy: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - }, { - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - }>, z.ZodUnion<[z.ZodLazy>, z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>]>>, z.ZodObject<{ - noProxy: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - noProxy?: string[] | undefined; - }, { - noProxy?: string[] | undefined; - }>>, z.ZodLazy>>>, z.ZodLazy; - proxyAutoconfigUrl: z.ZodString; - }, "strip", z.ZodTypeAny, { - proxyType: "pac"; - proxyAutoconfigUrl: string; - }, { - proxyType: "pac"; - proxyAutoconfigUrl: string; - }>, z.ZodLazy>>>, z.ZodLazy; - }, "strip", z.ZodTypeAny, { - proxyType: "system"; - }, { - proxyType: "system"; - }>, z.ZodLazy>>>, z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>]>>>; - webSocketUrl: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - acceptInsecureCerts?: boolean | undefined; - browserName?: string | undefined; - browserVersion?: string | undefined; - platformName?: string | undefined; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: boolean | undefined; - }, { - acceptInsecureCerts?: boolean | undefined; - browserName?: string | undefined; - browserVersion?: string | undefined; - platformName?: string | undefined; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: boolean | undefined; - }>, z.ZodLazy>>>, "many">>; - }, "strip", z.ZodTypeAny, { - alwaysMatch?: ({ - acceptInsecureCerts?: boolean | undefined; - browserName?: string | undefined; - browserVersion?: string | undefined; - platformName?: string | undefined; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: boolean | undefined; - } & Record) | undefined; - firstMatch?: ({ - acceptInsecureCerts?: boolean | undefined; - browserName?: string | undefined; - browserVersion?: string | undefined; - platformName?: string | undefined; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: boolean | undefined; - } & Record)[] | undefined; - }, { - alwaysMatch?: ({ - acceptInsecureCerts?: boolean | undefined; - browserName?: string | undefined; - browserVersion?: string | undefined; - platformName?: string | undefined; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: boolean | undefined; - } & Record) | undefined; - firstMatch?: ({ - acceptInsecureCerts?: boolean | undefined; - browserName?: string | undefined; - browserVersion?: string | undefined; - platformName?: string | undefined; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: boolean | undefined; - } & Record)[] | undefined; - }>>; - }, "strip", z.ZodTypeAny, { - capabilities: { - alwaysMatch?: ({ - acceptInsecureCerts?: boolean | undefined; - browserName?: string | undefined; - browserVersion?: string | undefined; - platformName?: string | undefined; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: boolean | undefined; - } & Record) | undefined; - firstMatch?: ({ - acceptInsecureCerts?: boolean | undefined; - browserName?: string | undefined; - browserVersion?: string | undefined; - platformName?: string | undefined; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: boolean | undefined; - } & Record)[] | undefined; - }; - }, { - capabilities: { - alwaysMatch?: ({ - acceptInsecureCerts?: boolean | undefined; - browserName?: string | undefined; - browserVersion?: string | undefined; - platformName?: string | undefined; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: boolean | undefined; - } & Record) | undefined; - firstMatch?: ({ - acceptInsecureCerts?: boolean | undefined; - browserName?: string | undefined; - browserVersion?: string | undefined; - platformName?: string | undefined; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: boolean | undefined; - } & Record)[] | undefined; - }; - }>>; - }, "strip", z.ZodTypeAny, { - params: { - capabilities: { - alwaysMatch?: ({ - acceptInsecureCerts?: boolean | undefined; - browserName?: string | undefined; - browserVersion?: string | undefined; - platformName?: string | undefined; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: boolean | undefined; - } & Record) | undefined; - firstMatch?: ({ - acceptInsecureCerts?: boolean | undefined; - browserName?: string | undefined; - browserVersion?: string | undefined; - platformName?: string | undefined; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: boolean | undefined; - } & Record)[] | undefined; - }; - }; - method: "session.new"; - }, { - params: { - capabilities: { - alwaysMatch?: ({ - acceptInsecureCerts?: boolean | undefined; - browserName?: string | undefined; - browserVersion?: string | undefined; - platformName?: string | undefined; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: boolean | undefined; - } & Record) | undefined; - firstMatch?: ({ - acceptInsecureCerts?: boolean | undefined; - browserName?: string | undefined; - browserVersion?: string | undefined; - platformName?: string | undefined; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: boolean | undefined; - } & Record)[] | undefined; - }; - }; - method: "session.new"; - }>>; -} -export declare namespace Session { - const NewParametersSchema: z.ZodLazy; - browserName: z.ZodOptional; - browserVersion: z.ZodOptional; - platformName: z.ZodOptional; - proxy: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - proxyType: "autodetect"; - }, { - proxyType: "autodetect"; - }>, z.ZodLazy>>>, z.ZodLazy; - }, "strip", z.ZodTypeAny, { - proxyType: "direct"; - }, { - proxyType: "direct"; - }>, z.ZodLazy>>>, z.ZodLazy; - ftpProxy: z.ZodOptional; - httpProxy: z.ZodOptional; - sslProxy: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - }, { - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - }>, z.ZodUnion<[z.ZodLazy>, z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>]>>, z.ZodObject<{ - noProxy: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - noProxy?: string[] | undefined; - }, { - noProxy?: string[] | undefined; - }>>, z.ZodLazy>>>, z.ZodLazy; - proxyAutoconfigUrl: z.ZodString; - }, "strip", z.ZodTypeAny, { - proxyType: "pac"; - proxyAutoconfigUrl: string; - }, { - proxyType: "pac"; - proxyAutoconfigUrl: string; - }>, z.ZodLazy>>>, z.ZodLazy; - }, "strip", z.ZodTypeAny, { - proxyType: "system"; - }, { - proxyType: "system"; - }>, z.ZodLazy>>>, z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>]>>>; - webSocketUrl: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - acceptInsecureCerts?: boolean | undefined; - browserName?: string | undefined; - browserVersion?: string | undefined; - platformName?: string | undefined; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: boolean | undefined; - }, { - acceptInsecureCerts?: boolean | undefined; - browserName?: string | undefined; - browserVersion?: string | undefined; - platformName?: string | undefined; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: boolean | undefined; - }>, z.ZodLazy>>>>; - firstMatch: z.ZodOptional; - browserName: z.ZodOptional; - browserVersion: z.ZodOptional; - platformName: z.ZodOptional; - proxy: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - proxyType: "autodetect"; - }, { - proxyType: "autodetect"; - }>, z.ZodLazy>>>, z.ZodLazy; - }, "strip", z.ZodTypeAny, { - proxyType: "direct"; - }, { - proxyType: "direct"; - }>, z.ZodLazy>>>, z.ZodLazy; - ftpProxy: z.ZodOptional; - httpProxy: z.ZodOptional; - sslProxy: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - }, { - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - }>, z.ZodUnion<[z.ZodLazy>, z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>]>>, z.ZodObject<{ - noProxy: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - noProxy?: string[] | undefined; - }, { - noProxy?: string[] | undefined; - }>>, z.ZodLazy>>>, z.ZodLazy; - proxyAutoconfigUrl: z.ZodString; - }, "strip", z.ZodTypeAny, { - proxyType: "pac"; - proxyAutoconfigUrl: string; - }, { - proxyType: "pac"; - proxyAutoconfigUrl: string; - }>, z.ZodLazy>>>, z.ZodLazy; - }, "strip", z.ZodTypeAny, { - proxyType: "system"; - }, { - proxyType: "system"; - }>, z.ZodLazy>>>, z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>]>>>; - webSocketUrl: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - acceptInsecureCerts?: boolean | undefined; - browserName?: string | undefined; - browserVersion?: string | undefined; - platformName?: string | undefined; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: boolean | undefined; - }, { - acceptInsecureCerts?: boolean | undefined; - browserName?: string | undefined; - browserVersion?: string | undefined; - platformName?: string | undefined; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: boolean | undefined; - }>, z.ZodLazy>>>, "many">>; - }, "strip", z.ZodTypeAny, { - alwaysMatch?: ({ - acceptInsecureCerts?: boolean | undefined; - browserName?: string | undefined; - browserVersion?: string | undefined; - platformName?: string | undefined; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: boolean | undefined; - } & Record) | undefined; - firstMatch?: ({ - acceptInsecureCerts?: boolean | undefined; - browserName?: string | undefined; - browserVersion?: string | undefined; - platformName?: string | undefined; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: boolean | undefined; - } & Record)[] | undefined; - }, { - alwaysMatch?: ({ - acceptInsecureCerts?: boolean | undefined; - browserName?: string | undefined; - browserVersion?: string | undefined; - platformName?: string | undefined; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: boolean | undefined; - } & Record) | undefined; - firstMatch?: ({ - acceptInsecureCerts?: boolean | undefined; - browserName?: string | undefined; - browserVersion?: string | undefined; - platformName?: string | undefined; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: boolean | undefined; - } & Record)[] | undefined; - }>>; - }, "strip", z.ZodTypeAny, { - capabilities: { - alwaysMatch?: ({ - acceptInsecureCerts?: boolean | undefined; - browserName?: string | undefined; - browserVersion?: string | undefined; - platformName?: string | undefined; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: boolean | undefined; - } & Record) | undefined; - firstMatch?: ({ - acceptInsecureCerts?: boolean | undefined; - browserName?: string | undefined; - browserVersion?: string | undefined; - platformName?: string | undefined; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: boolean | undefined; - } & Record)[] | undefined; - }; - }, { - capabilities: { - alwaysMatch?: ({ - acceptInsecureCerts?: boolean | undefined; - browserName?: string | undefined; - browserVersion?: string | undefined; - platformName?: string | undefined; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: boolean | undefined; - } & Record) | undefined; - firstMatch?: ({ - acceptInsecureCerts?: boolean | undefined; - browserName?: string | undefined; - browserVersion?: string | undefined; - platformName?: string | undefined; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: boolean | undefined; - } & Record)[] | undefined; - }; - }>>; -} -export declare namespace Session { - const NewResultSchema: z.ZodLazy; - }, "strip", z.ZodTypeAny, { - proxyType: "autodetect"; - }, { - proxyType: "autodetect"; - }>, z.ZodLazy>>>, z.ZodLazy; - }, "strip", z.ZodTypeAny, { - proxyType: "direct"; - }, { - proxyType: "direct"; - }>, z.ZodLazy>>>, z.ZodLazy; - ftpProxy: z.ZodOptional; - httpProxy: z.ZodOptional; - sslProxy: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - }, { - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - }>, z.ZodUnion<[z.ZodLazy>, z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>]>>, z.ZodObject<{ - noProxy: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - noProxy?: string[] | undefined; - }, { - noProxy?: string[] | undefined; - }>>, z.ZodLazy>>>, z.ZodLazy; - proxyAutoconfigUrl: z.ZodString; - }, "strip", z.ZodTypeAny, { - proxyType: "pac"; - proxyAutoconfigUrl: string; - }, { - proxyType: "pac"; - proxyAutoconfigUrl: string; - }>, z.ZodLazy>>>, z.ZodLazy; - }, "strip", z.ZodTypeAny, { - proxyType: "system"; - }, { - proxyType: "system"; - }>, z.ZodLazy>>>, z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>]>>>; - webSocketUrl: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - acceptInsecureCerts: boolean; - browserName: string; - browserVersion: string; - platformName: string; - setWindowRect: boolean; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: string | undefined; - }, { - acceptInsecureCerts: boolean; - browserName: string; - browserVersion: string; - platformName: string; - setWindowRect: boolean; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: string | undefined; - }>, z.ZodLazy>>; - }, "strip", z.ZodTypeAny, { - capabilities: { - acceptInsecureCerts: boolean; - browserName: string; - browserVersion: string; - platformName: string; - setWindowRect: boolean; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: string | undefined; - } & Record; - sessionId: string; - }, { - capabilities: { - acceptInsecureCerts: boolean; - browserName: string; - browserVersion: string; - platformName: string; - setWindowRect: boolean; - proxy?: ({ - proxyType: "autodetect"; - } & Record) | ({ - proxyType: "direct"; - } & Record) | ((({ - proxyType: "manual"; - ftpProxy?: string | undefined; - httpProxy?: string | undefined; - sslProxy?: string | undefined; - } & ({ - socksProxy: string; - socksVersion: number; - } | {})) & { - noProxy?: string[] | undefined; - }) & Record) | ({ - proxyType: "pac"; - proxyAutoconfigUrl: string; - } & Record) | ({ - proxyType: "system"; - } & Record) | {} | undefined; - webSocketUrl?: string | undefined; - } & Record; - sessionId: string; - }>>; -} -export declare namespace Session { - const EndSchema: z.ZodLazy; - params: z.ZodLazy>>; - }, "strip", z.ZodTypeAny, { - params: Record; - method: "session.end"; - }, { - params: Record; - method: "session.end"; - }>>; -} -export declare namespace Session { - const SubscribeSchema: z.ZodLazy; - params: z.ZodLazy; - contexts: z.ZodOptional, "many">>; - }, "strip", z.ZodTypeAny, { - events: string[]; - contexts?: string[] | undefined; - }, { - events: string[]; - contexts?: string[] | undefined; - }>>; - }, "strip", z.ZodTypeAny, { - params: { - events: string[]; - contexts?: string[] | undefined; - }; - method: "session.subscribe"; - }, { - params: { - events: string[]; - contexts?: string[] | undefined; - }; - method: "session.subscribe"; - }>>; -} -export declare namespace Session { - const UnsubscribeSchema: z.ZodLazy; - params: z.ZodLazy; - contexts: z.ZodOptional, "many">>; - }, "strip", z.ZodTypeAny, { - events: string[]; - contexts?: string[] | undefined; - }, { - events: string[]; - contexts?: string[] | undefined; - }>>; - }, "strip", z.ZodTypeAny, { - params: { - events: string[]; - contexts?: string[] | undefined; - }; - method: "session.unsubscribe"; - }, { - params: { - events: string[]; - contexts?: string[] | undefined; - }; - method: "session.unsubscribe"; - }>>; -} -export declare const BrowserCommandSchema: z.ZodLazy; - params: z.ZodLazy>>; -}, "strip", z.ZodTypeAny, { - params: Record; - method: "browser.close"; -}, { - params: Record; - method: "browser.close"; -}>>, z.ZodLazy; - params: z.ZodLazy>>; -}, "strip", z.ZodTypeAny, { - params: Record; - method: "browser.createUserContext"; -}, { - params: Record; - method: "browser.createUserContext"; -}>>, z.ZodLazy; - params: z.ZodLazy>>; -}, "strip", z.ZodTypeAny, { - params: Record; - method: "browser.getUserContexts"; -}, { - params: Record; - method: "browser.getUserContexts"; -}>>, z.ZodLazy; - params: z.ZodLazy; - }, "strip", z.ZodTypeAny, { - userContext: string; - }, { - userContext: string; - }>>; -}, "strip", z.ZodTypeAny, { - params: { - userContext: string; - }; - method: "browser.removeUserContext"; -}, { - params: { - userContext: string; - }; - method: "browser.removeUserContext"; -}>>]>>; -export declare const BrowserResultSchema: z.ZodLazy; -}, "strip", z.ZodTypeAny, { - userContext: string; -}, { - userContext: string; -}>>>, z.ZodLazy; - }, "strip", z.ZodTypeAny, { - userContext: string; - }, { - userContext: string; - }>>, "many">; -}, "strip", z.ZodTypeAny, { - userContexts: { - userContext: string; - }[]; -}, { - userContexts: { - userContext: string; - }[]; -}>>]>>; -export declare namespace Browser { - const UserContextSchema: z.ZodLazy; -} -export declare namespace Browser { - const UserContextInfoSchema: z.ZodLazy; - }, "strip", z.ZodTypeAny, { - userContext: string; - }, { - userContext: string; - }>>; -} -export declare namespace Browser { - const CloseSchema: z.ZodLazy; - params: z.ZodLazy>>; - }, "strip", z.ZodTypeAny, { - params: Record; - method: "browser.close"; - }, { - params: Record; - method: "browser.close"; - }>>; -} -export declare namespace Browser { - const CreateUserContextSchema: z.ZodLazy; - params: z.ZodLazy>>; - }, "strip", z.ZodTypeAny, { - params: Record; - method: "browser.createUserContext"; - }, { - params: Record; - method: "browser.createUserContext"; - }>>; -} -export declare namespace Browser { - const CreateUserContextResultSchema: z.ZodLazy; - }, "strip", z.ZodTypeAny, { - userContext: string; - }, { - userContext: string; - }>>>; -} -export declare namespace Browser { - const GetUserContextsSchema: z.ZodLazy; - params: z.ZodLazy>>; - }, "strip", z.ZodTypeAny, { - params: Record; - method: "browser.getUserContexts"; - }, { - params: Record; - method: "browser.getUserContexts"; - }>>; -} -export declare namespace Browser { - const GetUserContextsResultSchema: z.ZodLazy; - }, "strip", z.ZodTypeAny, { - userContext: string; - }, { - userContext: string; - }>>, "many">; - }, "strip", z.ZodTypeAny, { - userContexts: { - userContext: string; - }[]; - }, { - userContexts: { - userContext: string; - }[]; - }>>; -} -export declare namespace Browser { - const RemoveUserContextSchema: z.ZodLazy; - params: z.ZodLazy; - }, "strip", z.ZodTypeAny, { - userContext: string; - }, { - userContext: string; - }>>; - }, "strip", z.ZodTypeAny, { - params: { - userContext: string; - }; - method: "browser.removeUserContext"; - }, { - params: { - userContext: string; - }; - method: "browser.removeUserContext"; - }>>; -} -export declare namespace Browser { - const RemoveUserContextParametersSchema: z.ZodLazy; - }, "strip", z.ZodTypeAny, { - userContext: string; - }, { - userContext: string; - }>>; -} -export declare const BrowsingContextCommandSchema: z.ZodLazy; - params: z.ZodLazy; - }, "strip", z.ZodTypeAny, { - context: string; - }, { - context: string; - }>>; -}, "strip", z.ZodTypeAny, { - params: { - context: string; - }; - method: "browsingContext.activate"; -}, { - params: { - context: string; - }; - method: "browsingContext.activate"; -}>>, z.ZodLazy; - params: z.ZodLazy; - origin: z.ZodOptional>>; - format: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - type: string; - quality?: number | undefined; - }, { - type: string; - quality?: number | undefined; - }>>>; - clip: z.ZodOptional; - x: z.ZodNumber; - y: z.ZodNumber; - width: z.ZodNumber; - height: z.ZodNumber; - }, "strip", z.ZodTypeAny, { - type: "box"; - x: number; - y: number; - width: number; - height: number; - }, { - type: "box"; - x: number; - y: number; - width: number; - height: number; - }>>, z.ZodLazy; - element: z.ZodLazy; - handle: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - sharedId: string; - handle?: string | undefined; - }, { - sharedId: string; - handle?: string | undefined; - }>, z.ZodLazy>>>; - }, "strip", z.ZodTypeAny, { - type: "element"; - element: { - sharedId: string; - handle?: string | undefined; - } & Record; - }, { - type: "element"; - element: { - sharedId: string; - handle?: string | undefined; - } & Record; - }>>]>>>; - }, "strip", z.ZodTypeAny, { - context: string; - origin?: "viewport" | "document" | undefined; - format?: { - type: string; - quality?: number | undefined; - } | undefined; - clip?: { - type: "box"; - x: number; - y: number; - width: number; - height: number; - } | { - type: "element"; - element: { - sharedId: string; - handle?: string | undefined; - } & Record; - } | undefined; - }, { - context: string; - origin?: "viewport" | "document" | undefined; - format?: { - type: string; - quality?: number | undefined; - } | undefined; - clip?: { - type: "box"; - x: number; - y: number; - width: number; - height: number; - } | { - type: "element"; - element: { - sharedId: string; - handle?: string | undefined; - } & Record; - } | undefined; - }>>; -}, "strip", z.ZodTypeAny, { - params: { - context: string; - origin?: "viewport" | "document" | undefined; - format?: { - type: string; - quality?: number | undefined; - } | undefined; - clip?: { - type: "box"; - x: number; - y: number; - width: number; - height: number; - } | { - type: "element"; - element: { - sharedId: string; - handle?: string | undefined; - } & Record; - } | undefined; - }; - method: "browsingContext.captureScreenshot"; -}, { - params: { - context: string; - origin?: "viewport" | "document" | undefined; - format?: { - type: string; - quality?: number | undefined; - } | undefined; - clip?: { - type: "box"; - x: number; - y: number; - width: number; - height: number; - } | { - type: "element"; - element: { - sharedId: string; - handle?: string | undefined; - } & Record; - } | undefined; - }; - method: "browsingContext.captureScreenshot"; -}>>, z.ZodLazy; - params: z.ZodLazy; - promptUnload: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - context: string; - promptUnload?: boolean | undefined; - }, { - context: string; - promptUnload?: boolean | undefined; - }>>; -}, "strip", z.ZodTypeAny, { - params: { - context: string; - promptUnload?: boolean | undefined; - }; - method: "browsingContext.close"; -}, { - params: { - context: string; - promptUnload?: boolean | undefined; - }; - method: "browsingContext.close"; -}>>, z.ZodLazy; - params: z.ZodLazy>; - referenceContext: z.ZodOptional>; - background: z.ZodOptional>; - userContext: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - type: "window" | "tab"; - referenceContext?: string | undefined; - background?: boolean | undefined; - userContext?: string | undefined; - }, { - type: "window" | "tab"; - referenceContext?: string | undefined; - background?: boolean | undefined; - userContext?: string | undefined; - }>>; -}, "strip", z.ZodTypeAny, { - params: { - type: "window" | "tab"; - referenceContext?: string | undefined; - background?: boolean | undefined; - userContext?: string | undefined; - }; - method: "browsingContext.create"; -}, { - params: { - type: "window" | "tab"; - referenceContext?: string | undefined; - background?: boolean | undefined; - userContext?: string | undefined; - }; - method: "browsingContext.create"; -}>>, z.ZodLazy; - params: z.ZodLazy>; - root: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - maxDepth?: number | undefined; - root?: string | undefined; - }, { - maxDepth?: number | undefined; - root?: string | undefined; - }>>; -}, "strip", z.ZodTypeAny, { - params: { - maxDepth?: number | undefined; - root?: string | undefined; - }; - method: "browsingContext.getTree"; -}, { - params: { - maxDepth?: number | undefined; - root?: string | undefined; - }; - method: "browsingContext.getTree"; -}>>, z.ZodLazy; - params: z.ZodLazy; - accept: z.ZodOptional; - userText: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - context: string; - accept?: boolean | undefined; - userText?: string | undefined; - }, { - context: string; - accept?: boolean | undefined; - userText?: string | undefined; - }>>; -}, "strip", z.ZodTypeAny, { - params: { - context: string; - accept?: boolean | undefined; - userText?: string | undefined; - }; - method: "browsingContext.handleUserPrompt"; -}, { - params: { - context: string; - accept?: boolean | undefined; - userText?: string | undefined; - }; - method: "browsingContext.handleUserPrompt"; -}>>, z.ZodLazy; - params: z.ZodLazy; - locator: z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "css"; - value: string; - }, { - type: "css"; - value: string; - }>>, z.ZodLazy; - value: z.ZodString; - ignoreCase: z.ZodOptional; - matchType: z.ZodOptional>; - maxDepth: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - type: "innerText"; - value: string; - ignoreCase?: boolean | undefined; - matchType?: "partial" | "full" | undefined; - maxDepth?: number | undefined; - }, { - type: "innerText"; - value: string; - ignoreCase?: boolean | undefined; - matchType?: "partial" | "full" | undefined; - maxDepth?: number | undefined; - }>>, z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "xpath"; - value: string; - }, { - type: "xpath"; - value: string; - }>>]>>; - maxNodeCount: any; - ownership: z.ZodOptional>>; - sandbox: z.ZodOptional; - serializationOptions: z.ZodOptional, z.ZodNull]>>>; - maxObjectDepth: z.ZodOptional, z.ZodNull]>>>; - includeShadowTree: z.ZodOptional>>; - }, "strip", z.ZodTypeAny, { - maxDomDepth?: number | null | undefined; - maxObjectDepth?: number | null | undefined; - includeShadowTree?: "none" | "all" | "open" | undefined; - }, { - maxDomDepth?: number | null | undefined; - maxObjectDepth?: number | null | undefined; - includeShadowTree?: "none" | "all" | "open" | undefined; - }>>>; - startNodes: z.ZodOptional; - handle: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - sharedId: string; - handle?: string | undefined; - }, { - sharedId: string; - handle?: string | undefined; - }>, z.ZodLazy>>>, "many">>; - }, "strip", z.ZodTypeAny, { - [x: string]: any; - context?: string | undefined; - locator?: { - type: "css"; - value: string; - } | { - type: "innerText"; - value: string; - ignoreCase?: boolean | undefined; - matchType?: "partial" | "full" | undefined; - maxDepth?: number | undefined; - } | { - type: "xpath"; - value: string; - } | undefined; - maxNodeCount?: any; - ownership?: "none" | "root" | undefined; - sandbox?: string | undefined; - serializationOptions?: { - maxDomDepth?: number | null | undefined; - maxObjectDepth?: number | null | undefined; - includeShadowTree?: "none" | "all" | "open" | undefined; - } | undefined; - startNodes?: ({ - sharedId: string; - handle?: string | undefined; - } & Record)[] | undefined; - }, { - [x: string]: any; - context?: string | undefined; - locator?: { - type: "css"; - value: string; - } | { - type: "innerText"; - value: string; - ignoreCase?: boolean | undefined; - matchType?: "partial" | "full" | undefined; - maxDepth?: number | undefined; - } | { - type: "xpath"; - value: string; - } | undefined; - maxNodeCount?: any; - ownership?: "none" | "root" | undefined; - sandbox?: string | undefined; - serializationOptions?: { - maxDomDepth?: number | null | undefined; - maxObjectDepth?: number | null | undefined; - includeShadowTree?: "none" | "all" | "open" | undefined; - } | undefined; - startNodes?: ({ - sharedId: string; - handle?: string | undefined; - } & Record)[] | undefined; - }>>; -}, "strip", z.ZodTypeAny, { - params: { - [x: string]: any; - context?: string | undefined; - locator?: { - type: "css"; - value: string; - } | { - type: "innerText"; - value: string; - ignoreCase?: boolean | undefined; - matchType?: "partial" | "full" | undefined; - maxDepth?: number | undefined; - } | { - type: "xpath"; - value: string; - } | undefined; - maxNodeCount?: any; - ownership?: "none" | "root" | undefined; - sandbox?: string | undefined; - serializationOptions?: { - maxDomDepth?: number | null | undefined; - maxObjectDepth?: number | null | undefined; - includeShadowTree?: "none" | "all" | "open" | undefined; - } | undefined; - startNodes?: ({ - sharedId: string; - handle?: string | undefined; - } & Record)[] | undefined; - }; - method: "browsingContext.locateNodes"; -}, { - params: { - [x: string]: any; - context?: string | undefined; - locator?: { - type: "css"; - value: string; - } | { - type: "innerText"; - value: string; - ignoreCase?: boolean | undefined; - matchType?: "partial" | "full" | undefined; - maxDepth?: number | undefined; - } | { - type: "xpath"; - value: string; - } | undefined; - maxNodeCount?: any; - ownership?: "none" | "root" | undefined; - sandbox?: string | undefined; - serializationOptions?: { - maxDomDepth?: number | null | undefined; - maxObjectDepth?: number | null | undefined; - includeShadowTree?: "none" | "all" | "open" | undefined; - } | undefined; - startNodes?: ({ - sharedId: string; - handle?: string | undefined; - } & Record)[] | undefined; - }; - method: "browsingContext.locateNodes"; -}>>, z.ZodLazy; - params: z.ZodLazy; - url: z.ZodString; - wait: z.ZodOptional>>; - }, "strip", z.ZodTypeAny, { - url: string; - context: string; - wait?: "none" | "interactive" | "complete" | undefined; - }, { - url: string; - context: string; - wait?: "none" | "interactive" | "complete" | undefined; - }>>; -}, "strip", z.ZodTypeAny, { - params: { - url: string; - context: string; - wait?: "none" | "interactive" | "complete" | undefined; - }; - method: "browsingContext.navigate"; -}, { - params: { - url: string; - context: string; - wait?: "none" | "interactive" | "complete" | undefined; - }; - method: "browsingContext.navigate"; -}>>, z.ZodLazy; - params: z.ZodLazy; - background: z.ZodOptional>; - margin: z.ZodOptional>; - left: z.ZodOptional>; - right: z.ZodOptional>; - top: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - bottom?: number | undefined; - left?: number | undefined; - right?: number | undefined; - top?: number | undefined; - }, { - bottom?: number | undefined; - left?: number | undefined; - right?: number | undefined; - top?: number | undefined; - }>>>; - orientation: z.ZodOptional>>; - page: z.ZodOptional>; - width: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - height?: number | undefined; - width?: number | undefined; - }, { - height?: number | undefined; - width?: number | undefined; - }>>>; - pageRanges: z.ZodOptional, z.ZodString]>, "many">>; - scale: z.ZodOptional>; - shrinkToFit: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - context: string; - background?: boolean | undefined; - margin?: { - bottom?: number | undefined; - left?: number | undefined; - right?: number | undefined; - top?: number | undefined; - } | undefined; - orientation?: "portrait" | "landscape" | undefined; - page?: { - height?: number | undefined; - width?: number | undefined; - } | undefined; - pageRanges?: (string | number)[] | undefined; - scale?: number | undefined; - shrinkToFit?: boolean | undefined; - }, { - context: string; - background?: boolean | undefined; - margin?: { - bottom?: number | undefined; - left?: number | undefined; - right?: number | undefined; - top?: number | undefined; - } | undefined; - orientation?: "portrait" | "landscape" | undefined; - page?: { - height?: number | undefined; - width?: number | undefined; - } | undefined; - pageRanges?: (string | number)[] | undefined; - scale?: number | undefined; - shrinkToFit?: boolean | undefined; - }>>; -}, "strip", z.ZodTypeAny, { - params: { - context: string; - background?: boolean | undefined; - margin?: { - bottom?: number | undefined; - left?: number | undefined; - right?: number | undefined; - top?: number | undefined; - } | undefined; - orientation?: "portrait" | "landscape" | undefined; - page?: { - height?: number | undefined; - width?: number | undefined; - } | undefined; - pageRanges?: (string | number)[] | undefined; - scale?: number | undefined; - shrinkToFit?: boolean | undefined; - }; - method: "browsingContext.print"; -}, { - params: { - context: string; - background?: boolean | undefined; - margin?: { - bottom?: number | undefined; - left?: number | undefined; - right?: number | undefined; - top?: number | undefined; - } | undefined; - orientation?: "portrait" | "landscape" | undefined; - page?: { - height?: number | undefined; - width?: number | undefined; - } | undefined; - pageRanges?: (string | number)[] | undefined; - scale?: number | undefined; - shrinkToFit?: boolean | undefined; - }; - method: "browsingContext.print"; -}>>, z.ZodLazy; - params: z.ZodLazy; - ignoreCache: z.ZodOptional; - wait: z.ZodOptional>>; - }, "strip", z.ZodTypeAny, { - context: string; - ignoreCache?: boolean | undefined; - wait?: "none" | "interactive" | "complete" | undefined; - }, { - context: string; - ignoreCache?: boolean | undefined; - wait?: "none" | "interactive" | "complete" | undefined; - }>>; -}, "strip", z.ZodTypeAny, { - params: { - context: string; - ignoreCache?: boolean | undefined; - wait?: "none" | "interactive" | "complete" | undefined; - }; - method: "browsingContext.reload"; -}, { - params: { - context: string; - ignoreCache?: boolean | undefined; - wait?: "none" | "interactive" | "complete" | undefined; - }; - method: "browsingContext.reload"; -}>>, z.ZodLazy; - params: z.ZodLazy; - viewport: z.ZodOptional; - height: z.ZodLazy; - }, "strip", z.ZodTypeAny, { - width: number; - height: number; - }, { - width: number; - height: number; - }>>, z.ZodNull]>>; - devicePixelRatio: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - context: string; - viewport?: { - width: number; - height: number; - } | null | undefined; - devicePixelRatio?: number | null | undefined; - }, { - context: string; - viewport?: { - width: number; - height: number; - } | null | undefined; - devicePixelRatio?: number | null | undefined; - }>>; -}, "strip", z.ZodTypeAny, { - params: { - context: string; - viewport?: { - width: number; - height: number; - } | null | undefined; - devicePixelRatio?: number | null | undefined; - }; - method: "browsingContext.setViewport"; -}, { - params: { - context: string; - viewport?: { - width: number; - height: number; - } | null | undefined; - devicePixelRatio?: number | null | undefined; - }; - method: "browsingContext.setViewport"; -}>>, z.ZodLazy; - params: z.ZodLazy; - delta: z.ZodLazy; - }, "strip", z.ZodTypeAny, { - context: string; - delta: number; - }, { - context: string; - delta: number; - }>>; -}, "strip", z.ZodTypeAny, { - params: { - context: string; - delta: number; - }; - method: "browsingContext.traverseHistory"; -}, { - params: { - context: string; - delta: number; - }; - method: "browsingContext.traverseHistory"; -}>>]>>; -export declare const BrowsingContextEventSchema: z.ZodLazy; - params: any; -}, "strip", z.ZodTypeAny, { - method: "browsingContext.contextCreated"; - params?: any; -}, { - method: "browsingContext.contextCreated"; - params?: any; -}>>, z.ZodLazy; - params: any; -}, "strip", z.ZodTypeAny, { - method: "browsingContext.contextDestroyed"; - params?: any; -}, { - method: "browsingContext.contextDestroyed"; - params?: any; -}>>, z.ZodLazy; - params: z.ZodLazy; - navigation: z.ZodUnion<[z.ZodLazy, z.ZodNull]>; - timestamp: z.ZodLazy; - url: z.ZodString; - }, "strip", z.ZodTypeAny, { - url: string; - navigation: string | null; - context: string; - timestamp: number; - }, { - url: string; - navigation: string | null; - context: string; - timestamp: number; - }>>; -}, "strip", z.ZodTypeAny, { - params: { - url: string; - navigation: string | null; - context: string; - timestamp: number; - }; - method: "browsingContext.domContentLoaded"; -}, { - params: { - url: string; - navigation: string | null; - context: string; - timestamp: number; - }; - method: "browsingContext.domContentLoaded"; -}>>, z.ZodLazy; - params: z.ZodLazy; - navigation: z.ZodUnion<[z.ZodLazy, z.ZodNull]>; - timestamp: z.ZodLazy; - url: z.ZodString; - }, "strip", z.ZodTypeAny, { - url: string; - navigation: string | null; - context: string; - timestamp: number; - }, { - url: string; - navigation: string | null; - context: string; - timestamp: number; - }>>; -}, "strip", z.ZodTypeAny, { - params: { - url: string; - navigation: string | null; - context: string; - timestamp: number; - }; - method: "browsingContext.downloadWillBegin"; -}, { - params: { - url: string; - navigation: string | null; - context: string; - timestamp: number; - }; - method: "browsingContext.downloadWillBegin"; -}>>, z.ZodLazy; - params: z.ZodLazy; - navigation: z.ZodUnion<[z.ZodLazy, z.ZodNull]>; - timestamp: z.ZodLazy; - url: z.ZodString; - }, "strip", z.ZodTypeAny, { - url: string; - navigation: string | null; - context: string; - timestamp: number; - }, { - url: string; - navigation: string | null; - context: string; - timestamp: number; - }>>; -}, "strip", z.ZodTypeAny, { - params: { - url: string; - navigation: string | null; - context: string; - timestamp: number; - }; - method: "browsingContext.fragmentNavigated"; -}, { - params: { - url: string; - navigation: string | null; - context: string; - timestamp: number; - }; - method: "browsingContext.fragmentNavigated"; -}>>, z.ZodLazy; - params: z.ZodLazy; - navigation: z.ZodUnion<[z.ZodLazy, z.ZodNull]>; - timestamp: z.ZodLazy; - url: z.ZodString; - }, "strip", z.ZodTypeAny, { - url: string; - navigation: string | null; - context: string; - timestamp: number; - }, { - url: string; - navigation: string | null; - context: string; - timestamp: number; - }>>; -}, "strip", z.ZodTypeAny, { - params: { - url: string; - navigation: string | null; - context: string; - timestamp: number; - }; - method: "browsingContext.load"; -}, { - params: { - url: string; - navigation: string | null; - context: string; - timestamp: number; - }; - method: "browsingContext.load"; -}>>, z.ZodLazy; - params: z.ZodLazy; - navigation: z.ZodUnion<[z.ZodLazy, z.ZodNull]>; - timestamp: z.ZodLazy; - url: z.ZodString; - }, "strip", z.ZodTypeAny, { - url: string; - navigation: string | null; - context: string; - timestamp: number; - }, { - url: string; - navigation: string | null; - context: string; - timestamp: number; - }>>; -}, "strip", z.ZodTypeAny, { - params: { - url: string; - navigation: string | null; - context: string; - timestamp: number; - }; - method: "browsingContext.navigationAborted"; -}, { - params: { - url: string; - navigation: string | null; - context: string; - timestamp: number; - }; - method: "browsingContext.navigationAborted"; -}>>, z.ZodLazy; - params: z.ZodLazy; - navigation: z.ZodUnion<[z.ZodLazy, z.ZodNull]>; - timestamp: z.ZodLazy; - url: z.ZodString; - }, "strip", z.ZodTypeAny, { - url: string; - navigation: string | null; - context: string; - timestamp: number; - }, { - url: string; - navigation: string | null; - context: string; - timestamp: number; - }>>; -}, "strip", z.ZodTypeAny, { - params: { - url: string; - navigation: string | null; - context: string; - timestamp: number; - }; - method: "browsingContext.navigationFailed"; -}, { - params: { - url: string; - navigation: string | null; - context: string; - timestamp: number; - }; - method: "browsingContext.navigationFailed"; -}>>, z.ZodLazy; - params: z.ZodLazy; - navigation: z.ZodUnion<[z.ZodLazy, z.ZodNull]>; - timestamp: z.ZodLazy; - url: z.ZodString; - }, "strip", z.ZodTypeAny, { - url: string; - navigation: string | null; - context: string; - timestamp: number; - }, { - url: string; - navigation: string | null; - context: string; - timestamp: number; - }>>; -}, "strip", z.ZodTypeAny, { - params: { - url: string; - navigation: string | null; - context: string; - timestamp: number; - }; - method: "browsingContext.navigationStarted"; -}, { - params: { - url: string; - navigation: string | null; - context: string; - timestamp: number; - }; - method: "browsingContext.navigationStarted"; -}>>, z.ZodLazy; - params: z.ZodLazy; - accepted: z.ZodBoolean; - userText: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - context: string; - accepted: boolean; - userText?: string | undefined; - }, { - context: string; - accepted: boolean; - userText?: string | undefined; - }>>; -}, "strip", z.ZodTypeAny, { - params: { - context: string; - accepted: boolean; - userText?: string | undefined; - }; - method: "browsingContext.userPromptClosed"; -}, { - params: { - context: string; - accepted: boolean; - userText?: string | undefined; - }; - method: "browsingContext.userPromptClosed"; -}>>, z.ZodLazy; - params: z.ZodLazy; - type: z.ZodEnum<["alert", "confirm", "prompt", "beforeunload"]>; - message: z.ZodString; - defaultValue: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - message: string; - type: "prompt" | "alert" | "confirm" | "beforeunload"; - context: string; - defaultValue?: string | undefined; - }, { - message: string; - type: "prompt" | "alert" | "confirm" | "beforeunload"; - context: string; - defaultValue?: string | undefined; - }>>; -}, "strip", z.ZodTypeAny, { - params: { - message: string; - type: "prompt" | "alert" | "confirm" | "beforeunload"; - context: string; - defaultValue?: string | undefined; - }; - method: "browsingContext.userPromptOpened"; -}, { - params: { - message: string; - type: "prompt" | "alert" | "confirm" | "beforeunload"; - context: string; - defaultValue?: string | undefined; - }; - method: "browsingContext.userPromptOpened"; -}>>]>>; -export declare const BrowsingContextResultSchema: z.ZodLazy>, z.ZodLazy; -}, "strip", z.ZodTypeAny, { - context: string; -}, { - context: string; -}>>, z.ZodLazy>, z.ZodLazy; -}, "strip", z.ZodTypeAny, { - nodes: any[]; -}, { - nodes: any[]; -}>>, z.ZodLazy, z.ZodNull]>; - url: z.ZodString; -}, "strip", z.ZodTypeAny, { - url: string; - navigation: string | null; -}, { - url: string; - navigation: string | null; -}>>, z.ZodLazy>, z.ZodLazy>]>>; -export declare namespace BrowsingContext { - const BrowsingContextSchema: z.ZodLazy; -} -export declare namespace BrowsingContext { - const InfoListSchema: any; -} -export declare namespace BrowsingContext { - const InfoSchema: any; -} -export declare namespace BrowsingContext { - const LocatorSchema: z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "css"; - value: string; - }, { - type: "css"; - value: string; - }>>, z.ZodLazy; - value: z.ZodString; - ignoreCase: z.ZodOptional; - matchType: z.ZodOptional>; - maxDepth: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - type: "innerText"; - value: string; - ignoreCase?: boolean | undefined; - matchType?: "partial" | "full" | undefined; - maxDepth?: number | undefined; - }, { - type: "innerText"; - value: string; - ignoreCase?: boolean | undefined; - matchType?: "partial" | "full" | undefined; - maxDepth?: number | undefined; - }>>, z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "xpath"; - value: string; - }, { - type: "xpath"; - value: string; - }>>]>>; -} -export declare namespace BrowsingContext { - const CssLocatorSchema: z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "css"; - value: string; - }, { - type: "css"; - value: string; - }>>; -} -export declare namespace BrowsingContext { - const InnerTextLocatorSchema: z.ZodLazy; - value: z.ZodString; - ignoreCase: z.ZodOptional; - matchType: z.ZodOptional>; - maxDepth: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - type: "innerText"; - value: string; - ignoreCase?: boolean | undefined; - matchType?: "partial" | "full" | undefined; - maxDepth?: number | undefined; - }, { - type: "innerText"; - value: string; - ignoreCase?: boolean | undefined; - matchType?: "partial" | "full" | undefined; - maxDepth?: number | undefined; - }>>; -} -export declare namespace BrowsingContext { - const XPathLocatorSchema: z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "xpath"; - value: string; - }, { - type: "xpath"; - value: string; - }>>; -} -export declare namespace BrowsingContext { - const NavigationSchema: z.ZodLazy; -} -export declare namespace BrowsingContext { - const NavigationInfoSchema: z.ZodLazy; - navigation: z.ZodUnion<[z.ZodLazy, z.ZodNull]>; - timestamp: z.ZodLazy; - url: z.ZodString; - }, "strip", z.ZodTypeAny, { - url: string; - navigation: string | null; - context: string; - timestamp: number; - }, { - url: string; - navigation: string | null; - context: string; - timestamp: number; - }>>; -} -export declare namespace BrowsingContext { - const ReadinessStateSchema: z.ZodLazy>; -} -export declare namespace BrowsingContext { - const ActivateSchema: z.ZodLazy; - params: z.ZodLazy; - }, "strip", z.ZodTypeAny, { - context: string; - }, { - context: string; - }>>; - }, "strip", z.ZodTypeAny, { - params: { - context: string; - }; - method: "browsingContext.activate"; - }, { - params: { - context: string; - }; - method: "browsingContext.activate"; - }>>; -} -export declare namespace BrowsingContext { - const ActivateParametersSchema: z.ZodLazy; - }, "strip", z.ZodTypeAny, { - context: string; - }, { - context: string; - }>>; -} -export declare namespace BrowsingContext { - const CaptureScreenshotParametersSchema: z.ZodLazy; - origin: z.ZodOptional>>; - format: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - type: string; - quality?: number | undefined; - }, { - type: string; - quality?: number | undefined; - }>>>; - clip: z.ZodOptional; - x: z.ZodNumber; - y: z.ZodNumber; - width: z.ZodNumber; - height: z.ZodNumber; - }, "strip", z.ZodTypeAny, { - type: "box"; - x: number; - y: number; - width: number; - height: number; - }, { - type: "box"; - x: number; - y: number; - width: number; - height: number; - }>>, z.ZodLazy; - element: z.ZodLazy; - handle: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - sharedId: string; - handle?: string | undefined; - }, { - sharedId: string; - handle?: string | undefined; - }>, z.ZodLazy>>>; - }, "strip", z.ZodTypeAny, { - type: "element"; - element: { - sharedId: string; - handle?: string | undefined; - } & Record; - }, { - type: "element"; - element: { - sharedId: string; - handle?: string | undefined; - } & Record; - }>>]>>>; - }, "strip", z.ZodTypeAny, { - context: string; - origin?: "viewport" | "document" | undefined; - format?: { - type: string; - quality?: number | undefined; - } | undefined; - clip?: { - type: "box"; - x: number; - y: number; - width: number; - height: number; - } | { - type: "element"; - element: { - sharedId: string; - handle?: string | undefined; - } & Record; - } | undefined; - }, { - context: string; - origin?: "viewport" | "document" | undefined; - format?: { - type: string; - quality?: number | undefined; - } | undefined; - clip?: { - type: "box"; - x: number; - y: number; - width: number; - height: number; - } | { - type: "element"; - element: { - sharedId: string; - handle?: string | undefined; - } & Record; - } | undefined; - }>>; -} -export declare namespace BrowsingContext { - const CaptureScreenshotSchema: z.ZodLazy; - params: z.ZodLazy; - origin: z.ZodOptional>>; - format: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - type: string; - quality?: number | undefined; - }, { - type: string; - quality?: number | undefined; - }>>>; - clip: z.ZodOptional; - x: z.ZodNumber; - y: z.ZodNumber; - width: z.ZodNumber; - height: z.ZodNumber; - }, "strip", z.ZodTypeAny, { - type: "box"; - x: number; - y: number; - width: number; - height: number; - }, { - type: "box"; - x: number; - y: number; - width: number; - height: number; - }>>, z.ZodLazy; - element: z.ZodLazy; - handle: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - sharedId: string; - handle?: string | undefined; - }, { - sharedId: string; - handle?: string | undefined; - }>, z.ZodLazy>>>; - }, "strip", z.ZodTypeAny, { - type: "element"; - element: { - sharedId: string; - handle?: string | undefined; - } & Record; - }, { - type: "element"; - element: { - sharedId: string; - handle?: string | undefined; - } & Record; - }>>]>>>; - }, "strip", z.ZodTypeAny, { - context: string; - origin?: "viewport" | "document" | undefined; - format?: { - type: string; - quality?: number | undefined; - } | undefined; - clip?: { - type: "box"; - x: number; - y: number; - width: number; - height: number; - } | { - type: "element"; - element: { - sharedId: string; - handle?: string | undefined; - } & Record; - } | undefined; - }, { - context: string; - origin?: "viewport" | "document" | undefined; - format?: { - type: string; - quality?: number | undefined; - } | undefined; - clip?: { - type: "box"; - x: number; - y: number; - width: number; - height: number; - } | { - type: "element"; - element: { - sharedId: string; - handle?: string | undefined; - } & Record; - } | undefined; - }>>; - }, "strip", z.ZodTypeAny, { - params: { - context: string; - origin?: "viewport" | "document" | undefined; - format?: { - type: string; - quality?: number | undefined; - } | undefined; - clip?: { - type: "box"; - x: number; - y: number; - width: number; - height: number; - } | { - type: "element"; - element: { - sharedId: string; - handle?: string | undefined; - } & Record; - } | undefined; - }; - method: "browsingContext.captureScreenshot"; - }, { - params: { - context: string; - origin?: "viewport" | "document" | undefined; - format?: { - type: string; - quality?: number | undefined; - } | undefined; - clip?: { - type: "box"; - x: number; - y: number; - width: number; - height: number; - } | { - type: "element"; - element: { - sharedId: string; - handle?: string | undefined; - } & Record; - } | undefined; - }; - method: "browsingContext.captureScreenshot"; - }>>; -} -export declare namespace BrowsingContext { - const ImageFormatSchema: z.ZodLazy; - }, "strip", z.ZodTypeAny, { - type: string; - quality?: number | undefined; - }, { - type: string; - quality?: number | undefined; - }>>; -} -export declare namespace BrowsingContext { - const ClipRectangleSchema: z.ZodLazy; - x: z.ZodNumber; - y: z.ZodNumber; - width: z.ZodNumber; - height: z.ZodNumber; - }, "strip", z.ZodTypeAny, { - type: "box"; - x: number; - y: number; - width: number; - height: number; - }, { - type: "box"; - x: number; - y: number; - width: number; - height: number; - }>>, z.ZodLazy; - element: z.ZodLazy; - handle: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - sharedId: string; - handle?: string | undefined; - }, { - sharedId: string; - handle?: string | undefined; - }>, z.ZodLazy>>>; - }, "strip", z.ZodTypeAny, { - type: "element"; - element: { - sharedId: string; - handle?: string | undefined; - } & Record; - }, { - type: "element"; - element: { - sharedId: string; - handle?: string | undefined; - } & Record; - }>>]>>; -} -export declare namespace BrowsingContext { - const ElementClipRectangleSchema: z.ZodLazy; - element: z.ZodLazy; - handle: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - sharedId: string; - handle?: string | undefined; - }, { - sharedId: string; - handle?: string | undefined; - }>, z.ZodLazy>>>; - }, "strip", z.ZodTypeAny, { - type: "element"; - element: { - sharedId: string; - handle?: string | undefined; - } & Record; - }, { - type: "element"; - element: { - sharedId: string; - handle?: string | undefined; - } & Record; - }>>; -} -export declare namespace BrowsingContext { - const BoxClipRectangleSchema: z.ZodLazy; - x: z.ZodNumber; - y: z.ZodNumber; - width: z.ZodNumber; - height: z.ZodNumber; - }, "strip", z.ZodTypeAny, { - type: "box"; - x: number; - y: number; - width: number; - height: number; - }, { - type: "box"; - x: number; - y: number; - width: number; - height: number; - }>>; -} -export declare namespace BrowsingContext { - const CaptureScreenshotResultSchema: z.ZodLazy>; -} -export declare namespace BrowsingContext { - const CloseSchema: z.ZodLazy; - params: z.ZodLazy; - promptUnload: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - context: string; - promptUnload?: boolean | undefined; - }, { - context: string; - promptUnload?: boolean | undefined; - }>>; - }, "strip", z.ZodTypeAny, { - params: { - context: string; - promptUnload?: boolean | undefined; - }; - method: "browsingContext.close"; - }, { - params: { - context: string; - promptUnload?: boolean | undefined; - }; - method: "browsingContext.close"; - }>>; -} -export declare namespace BrowsingContext { - const CloseParametersSchema: z.ZodLazy; - promptUnload: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - context: string; - promptUnload?: boolean | undefined; - }, { - context: string; - promptUnload?: boolean | undefined; - }>>; -} -export declare namespace BrowsingContext { - const CreateSchema: z.ZodLazy; - params: z.ZodLazy>; - referenceContext: z.ZodOptional>; - background: z.ZodOptional>; - userContext: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - type: "window" | "tab"; - referenceContext?: string | undefined; - background?: boolean | undefined; - userContext?: string | undefined; - }, { - type: "window" | "tab"; - referenceContext?: string | undefined; - background?: boolean | undefined; - userContext?: string | undefined; - }>>; - }, "strip", z.ZodTypeAny, { - params: { - type: "window" | "tab"; - referenceContext?: string | undefined; - background?: boolean | undefined; - userContext?: string | undefined; - }; - method: "browsingContext.create"; - }, { - params: { - type: "window" | "tab"; - referenceContext?: string | undefined; - background?: boolean | undefined; - userContext?: string | undefined; - }; - method: "browsingContext.create"; - }>>; -} -export declare namespace BrowsingContext { - const CreateTypeSchema: z.ZodLazy>; -} -export declare namespace BrowsingContext { - const CreateParametersSchema: z.ZodLazy>; - referenceContext: z.ZodOptional>; - background: z.ZodOptional>; - userContext: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - type: "window" | "tab"; - referenceContext?: string | undefined; - background?: boolean | undefined; - userContext?: string | undefined; - }, { - type: "window" | "tab"; - referenceContext?: string | undefined; - background?: boolean | undefined; - userContext?: string | undefined; - }>>; -} -export declare namespace BrowsingContext { - const CreateResultSchema: z.ZodLazy; - }, "strip", z.ZodTypeAny, { - context: string; - }, { - context: string; - }>>; -} -export declare namespace BrowsingContext { - const GetTreeSchema: z.ZodLazy; - params: z.ZodLazy>; - root: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - maxDepth?: number | undefined; - root?: string | undefined; - }, { - maxDepth?: number | undefined; - root?: string | undefined; - }>>; - }, "strip", z.ZodTypeAny, { - params: { - maxDepth?: number | undefined; - root?: string | undefined; - }; - method: "browsingContext.getTree"; - }, { - params: { - maxDepth?: number | undefined; - root?: string | undefined; - }; - method: "browsingContext.getTree"; - }>>; -} -export declare namespace BrowsingContext { - const GetTreeParametersSchema: z.ZodLazy>; - root: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - maxDepth?: number | undefined; - root?: string | undefined; - }, { - maxDepth?: number | undefined; - root?: string | undefined; - }>>; -} -export declare namespace BrowsingContext { - const GetTreeResultSchema: z.ZodLazy>; -} -export declare namespace BrowsingContext { - const HandleUserPromptSchema: z.ZodLazy; - params: z.ZodLazy; - accept: z.ZodOptional; - userText: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - context: string; - accept?: boolean | undefined; - userText?: string | undefined; - }, { - context: string; - accept?: boolean | undefined; - userText?: string | undefined; - }>>; - }, "strip", z.ZodTypeAny, { - params: { - context: string; - accept?: boolean | undefined; - userText?: string | undefined; - }; - method: "browsingContext.handleUserPrompt"; - }, { - params: { - context: string; - accept?: boolean | undefined; - userText?: string | undefined; - }; - method: "browsingContext.handleUserPrompt"; - }>>; -} -export declare namespace BrowsingContext { - const HandleUserPromptParametersSchema: z.ZodLazy; - accept: z.ZodOptional; - userText: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - context: string; - accept?: boolean | undefined; - userText?: string | undefined; - }, { - context: string; - accept?: boolean | undefined; - userText?: string | undefined; - }>>; -} -export declare namespace BrowsingContext { - const LocateNodesParametersSchema: z.ZodLazy; - locator: z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "css"; - value: string; - }, { - type: "css"; - value: string; - }>>, z.ZodLazy; - value: z.ZodString; - ignoreCase: z.ZodOptional; - matchType: z.ZodOptional>; - maxDepth: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - type: "innerText"; - value: string; - ignoreCase?: boolean | undefined; - matchType?: "partial" | "full" | undefined; - maxDepth?: number | undefined; - }, { - type: "innerText"; - value: string; - ignoreCase?: boolean | undefined; - matchType?: "partial" | "full" | undefined; - maxDepth?: number | undefined; - }>>, z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "xpath"; - value: string; - }, { - type: "xpath"; - value: string; - }>>]>>; - maxNodeCount: any; - ownership: z.ZodOptional>>; - sandbox: z.ZodOptional; - serializationOptions: z.ZodOptional, z.ZodNull]>>>; - maxObjectDepth: z.ZodOptional, z.ZodNull]>>>; - includeShadowTree: z.ZodOptional>>; - }, "strip", z.ZodTypeAny, { - maxDomDepth?: number | null | undefined; - maxObjectDepth?: number | null | undefined; - includeShadowTree?: "none" | "all" | "open" | undefined; - }, { - maxDomDepth?: number | null | undefined; - maxObjectDepth?: number | null | undefined; - includeShadowTree?: "none" | "all" | "open" | undefined; - }>>>; - startNodes: z.ZodOptional; - handle: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - sharedId: string; - handle?: string | undefined; - }, { - sharedId: string; - handle?: string | undefined; - }>, z.ZodLazy>>>, "many">>; - }, "strip", z.ZodTypeAny, { - [x: string]: any; - context?: string | undefined; - locator?: { - type: "css"; - value: string; - } | { - type: "innerText"; - value: string; - ignoreCase?: boolean | undefined; - matchType?: "partial" | "full" | undefined; - maxDepth?: number | undefined; - } | { - type: "xpath"; - value: string; - } | undefined; - maxNodeCount?: any; - ownership?: "none" | "root" | undefined; - sandbox?: string | undefined; - serializationOptions?: { - maxDomDepth?: number | null | undefined; - maxObjectDepth?: number | null | undefined; - includeShadowTree?: "none" | "all" | "open" | undefined; - } | undefined; - startNodes?: ({ - sharedId: string; - handle?: string | undefined; - } & Record)[] | undefined; - }, { - [x: string]: any; - context?: string | undefined; - locator?: { - type: "css"; - value: string; - } | { - type: "innerText"; - value: string; - ignoreCase?: boolean | undefined; - matchType?: "partial" | "full" | undefined; - maxDepth?: number | undefined; - } | { - type: "xpath"; - value: string; - } | undefined; - maxNodeCount?: any; - ownership?: "none" | "root" | undefined; - sandbox?: string | undefined; - serializationOptions?: { - maxDomDepth?: number | null | undefined; - maxObjectDepth?: number | null | undefined; - includeShadowTree?: "none" | "all" | "open" | undefined; - } | undefined; - startNodes?: ({ - sharedId: string; - handle?: string | undefined; - } & Record)[] | undefined; - }>>; -} -export declare namespace BrowsingContext { - const LocateNodesSchema: z.ZodLazy; - params: z.ZodLazy; - locator: z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "css"; - value: string; - }, { - type: "css"; - value: string; - }>>, z.ZodLazy; - value: z.ZodString; - ignoreCase: z.ZodOptional; - matchType: z.ZodOptional>; - maxDepth: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - type: "innerText"; - value: string; - ignoreCase?: boolean | undefined; - matchType?: "partial" | "full" | undefined; - maxDepth?: number | undefined; - }, { - type: "innerText"; - value: string; - ignoreCase?: boolean | undefined; - matchType?: "partial" | "full" | undefined; - maxDepth?: number | undefined; - }>>, z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "xpath"; - value: string; - }, { - type: "xpath"; - value: string; - }>>]>>; - maxNodeCount: any; - ownership: z.ZodOptional>>; - sandbox: z.ZodOptional; - serializationOptions: z.ZodOptional, z.ZodNull]>>>; - maxObjectDepth: z.ZodOptional, z.ZodNull]>>>; - includeShadowTree: z.ZodOptional>>; - }, "strip", z.ZodTypeAny, { - maxDomDepth?: number | null | undefined; - maxObjectDepth?: number | null | undefined; - includeShadowTree?: "none" | "all" | "open" | undefined; - }, { - maxDomDepth?: number | null | undefined; - maxObjectDepth?: number | null | undefined; - includeShadowTree?: "none" | "all" | "open" | undefined; - }>>>; - startNodes: z.ZodOptional; - handle: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - sharedId: string; - handle?: string | undefined; - }, { - sharedId: string; - handle?: string | undefined; - }>, z.ZodLazy>>>, "many">>; - }, "strip", z.ZodTypeAny, { - [x: string]: any; - context?: string | undefined; - locator?: { - type: "css"; - value: string; - } | { - type: "innerText"; - value: string; - ignoreCase?: boolean | undefined; - matchType?: "partial" | "full" | undefined; - maxDepth?: number | undefined; - } | { - type: "xpath"; - value: string; - } | undefined; - maxNodeCount?: any; - ownership?: "none" | "root" | undefined; - sandbox?: string | undefined; - serializationOptions?: { - maxDomDepth?: number | null | undefined; - maxObjectDepth?: number | null | undefined; - includeShadowTree?: "none" | "all" | "open" | undefined; - } | undefined; - startNodes?: ({ - sharedId: string; - handle?: string | undefined; - } & Record)[] | undefined; - }, { - [x: string]: any; - context?: string | undefined; - locator?: { - type: "css"; - value: string; - } | { - type: "innerText"; - value: string; - ignoreCase?: boolean | undefined; - matchType?: "partial" | "full" | undefined; - maxDepth?: number | undefined; - } | { - type: "xpath"; - value: string; - } | undefined; - maxNodeCount?: any; - ownership?: "none" | "root" | undefined; - sandbox?: string | undefined; - serializationOptions?: { - maxDomDepth?: number | null | undefined; - maxObjectDepth?: number | null | undefined; - includeShadowTree?: "none" | "all" | "open" | undefined; - } | undefined; - startNodes?: ({ - sharedId: string; - handle?: string | undefined; - } & Record)[] | undefined; - }>>; - }, "strip", z.ZodTypeAny, { - params: { - [x: string]: any; - context?: string | undefined; - locator?: { - type: "css"; - value: string; - } | { - type: "innerText"; - value: string; - ignoreCase?: boolean | undefined; - matchType?: "partial" | "full" | undefined; - maxDepth?: number | undefined; - } | { - type: "xpath"; - value: string; - } | undefined; - maxNodeCount?: any; - ownership?: "none" | "root" | undefined; - sandbox?: string | undefined; - serializationOptions?: { - maxDomDepth?: number | null | undefined; - maxObjectDepth?: number | null | undefined; - includeShadowTree?: "none" | "all" | "open" | undefined; - } | undefined; - startNodes?: ({ - sharedId: string; - handle?: string | undefined; - } & Record)[] | undefined; - }; - method: "browsingContext.locateNodes"; - }, { - params: { - [x: string]: any; - context?: string | undefined; - locator?: { - type: "css"; - value: string; - } | { - type: "innerText"; - value: string; - ignoreCase?: boolean | undefined; - matchType?: "partial" | "full" | undefined; - maxDepth?: number | undefined; - } | { - type: "xpath"; - value: string; - } | undefined; - maxNodeCount?: any; - ownership?: "none" | "root" | undefined; - sandbox?: string | undefined; - serializationOptions?: { - maxDomDepth?: number | null | undefined; - maxObjectDepth?: number | null | undefined; - includeShadowTree?: "none" | "all" | "open" | undefined; - } | undefined; - startNodes?: ({ - sharedId: string; - handle?: string | undefined; - } & Record)[] | undefined; - }; - method: "browsingContext.locateNodes"; - }>>; -} -export declare namespace BrowsingContext { - const LocateNodesResultSchema: z.ZodLazy; - }, "strip", z.ZodTypeAny, { - nodes: any[]; - }, { - nodes: any[]; - }>>; -} -export declare namespace BrowsingContext { - const NavigateSchema: z.ZodLazy; - params: z.ZodLazy; - url: z.ZodString; - wait: z.ZodOptional>>; - }, "strip", z.ZodTypeAny, { - url: string; - context: string; - wait?: "none" | "interactive" | "complete" | undefined; - }, { - url: string; - context: string; - wait?: "none" | "interactive" | "complete" | undefined; - }>>; - }, "strip", z.ZodTypeAny, { - params: { - url: string; - context: string; - wait?: "none" | "interactive" | "complete" | undefined; - }; - method: "browsingContext.navigate"; - }, { - params: { - url: string; - context: string; - wait?: "none" | "interactive" | "complete" | undefined; - }; - method: "browsingContext.navigate"; - }>>; -} -export declare namespace BrowsingContext { - const NavigateParametersSchema: z.ZodLazy; - url: z.ZodString; - wait: z.ZodOptional>>; - }, "strip", z.ZodTypeAny, { - url: string; - context: string; - wait?: "none" | "interactive" | "complete" | undefined; - }, { - url: string; - context: string; - wait?: "none" | "interactive" | "complete" | undefined; - }>>; -} -export declare namespace BrowsingContext { - const NavigateResultSchema: z.ZodLazy, z.ZodNull]>; - url: z.ZodString; - }, "strip", z.ZodTypeAny, { - url: string; - navigation: string | null; - }, { - url: string; - navigation: string | null; - }>>; -} -export declare namespace BrowsingContext { - const PrintSchema: z.ZodLazy; - params: z.ZodLazy; - background: z.ZodOptional>; - margin: z.ZodOptional>; - left: z.ZodOptional>; - right: z.ZodOptional>; - top: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - bottom?: number | undefined; - left?: number | undefined; - right?: number | undefined; - top?: number | undefined; - }, { - bottom?: number | undefined; - left?: number | undefined; - right?: number | undefined; - top?: number | undefined; - }>>>; - orientation: z.ZodOptional>>; - page: z.ZodOptional>; - width: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - height?: number | undefined; - width?: number | undefined; - }, { - height?: number | undefined; - width?: number | undefined; - }>>>; - pageRanges: z.ZodOptional, z.ZodString]>, "many">>; - scale: z.ZodOptional>; - shrinkToFit: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - context: string; - background?: boolean | undefined; - margin?: { - bottom?: number | undefined; - left?: number | undefined; - right?: number | undefined; - top?: number | undefined; - } | undefined; - orientation?: "portrait" | "landscape" | undefined; - page?: { - height?: number | undefined; - width?: number | undefined; - } | undefined; - pageRanges?: (string | number)[] | undefined; - scale?: number | undefined; - shrinkToFit?: boolean | undefined; - }, { - context: string; - background?: boolean | undefined; - margin?: { - bottom?: number | undefined; - left?: number | undefined; - right?: number | undefined; - top?: number | undefined; - } | undefined; - orientation?: "portrait" | "landscape" | undefined; - page?: { - height?: number | undefined; - width?: number | undefined; - } | undefined; - pageRanges?: (string | number)[] | undefined; - scale?: number | undefined; - shrinkToFit?: boolean | undefined; - }>>; - }, "strip", z.ZodTypeAny, { - params: { - context: string; - background?: boolean | undefined; - margin?: { - bottom?: number | undefined; - left?: number | undefined; - right?: number | undefined; - top?: number | undefined; - } | undefined; - orientation?: "portrait" | "landscape" | undefined; - page?: { - height?: number | undefined; - width?: number | undefined; - } | undefined; - pageRanges?: (string | number)[] | undefined; - scale?: number | undefined; - shrinkToFit?: boolean | undefined; - }; - method: "browsingContext.print"; - }, { - params: { - context: string; - background?: boolean | undefined; - margin?: { - bottom?: number | undefined; - left?: number | undefined; - right?: number | undefined; - top?: number | undefined; - } | undefined; - orientation?: "portrait" | "landscape" | undefined; - page?: { - height?: number | undefined; - width?: number | undefined; - } | undefined; - pageRanges?: (string | number)[] | undefined; - scale?: number | undefined; - shrinkToFit?: boolean | undefined; - }; - method: "browsingContext.print"; - }>>; -} -export declare namespace BrowsingContext { - const PrintParametersSchema: z.ZodLazy; - background: z.ZodOptional>; - margin: z.ZodOptional>; - left: z.ZodOptional>; - right: z.ZodOptional>; - top: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - bottom?: number | undefined; - left?: number | undefined; - right?: number | undefined; - top?: number | undefined; - }, { - bottom?: number | undefined; - left?: number | undefined; - right?: number | undefined; - top?: number | undefined; - }>>>; - orientation: z.ZodOptional>>; - page: z.ZodOptional>; - width: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - height?: number | undefined; - width?: number | undefined; - }, { - height?: number | undefined; - width?: number | undefined; - }>>>; - pageRanges: z.ZodOptional, z.ZodString]>, "many">>; - scale: z.ZodOptional>; - shrinkToFit: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - context: string; - background?: boolean | undefined; - margin?: { - bottom?: number | undefined; - left?: number | undefined; - right?: number | undefined; - top?: number | undefined; - } | undefined; - orientation?: "portrait" | "landscape" | undefined; - page?: { - height?: number | undefined; - width?: number | undefined; - } | undefined; - pageRanges?: (string | number)[] | undefined; - scale?: number | undefined; - shrinkToFit?: boolean | undefined; - }, { - context: string; - background?: boolean | undefined; - margin?: { - bottom?: number | undefined; - left?: number | undefined; - right?: number | undefined; - top?: number | undefined; - } | undefined; - orientation?: "portrait" | "landscape" | undefined; - page?: { - height?: number | undefined; - width?: number | undefined; - } | undefined; - pageRanges?: (string | number)[] | undefined; - scale?: number | undefined; - shrinkToFit?: boolean | undefined; - }>>; -} -export declare namespace BrowsingContext { - const PrintMarginParametersSchema: z.ZodLazy>; - left: z.ZodOptional>; - right: z.ZodOptional>; - top: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - bottom?: number | undefined; - left?: number | undefined; - right?: number | undefined; - top?: number | undefined; - }, { - bottom?: number | undefined; - left?: number | undefined; - right?: number | undefined; - top?: number | undefined; - }>>; -} -export declare namespace BrowsingContext { - const PrintPageParametersSchema: z.ZodLazy>; - width: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - height?: number | undefined; - width?: number | undefined; - }, { - height?: number | undefined; - width?: number | undefined; - }>>; -} -export declare namespace BrowsingContext { - const PrintResultSchema: z.ZodLazy>; -} -export declare namespace BrowsingContext { - const ReloadSchema: z.ZodLazy; - params: z.ZodLazy; - ignoreCache: z.ZodOptional; - wait: z.ZodOptional>>; - }, "strip", z.ZodTypeAny, { - context: string; - ignoreCache?: boolean | undefined; - wait?: "none" | "interactive" | "complete" | undefined; - }, { - context: string; - ignoreCache?: boolean | undefined; - wait?: "none" | "interactive" | "complete" | undefined; - }>>; - }, "strip", z.ZodTypeAny, { - params: { - context: string; - ignoreCache?: boolean | undefined; - wait?: "none" | "interactive" | "complete" | undefined; - }; - method: "browsingContext.reload"; - }, { - params: { - context: string; - ignoreCache?: boolean | undefined; - wait?: "none" | "interactive" | "complete" | undefined; - }; - method: "browsingContext.reload"; - }>>; -} -export declare namespace BrowsingContext { - const ReloadParametersSchema: z.ZodLazy; - ignoreCache: z.ZodOptional; - wait: z.ZodOptional>>; - }, "strip", z.ZodTypeAny, { - context: string; - ignoreCache?: boolean | undefined; - wait?: "none" | "interactive" | "complete" | undefined; - }, { - context: string; - ignoreCache?: boolean | undefined; - wait?: "none" | "interactive" | "complete" | undefined; - }>>; -} -export declare namespace BrowsingContext { - const SetViewportSchema: z.ZodLazy; - params: z.ZodLazy; - viewport: z.ZodOptional; - height: z.ZodLazy; - }, "strip", z.ZodTypeAny, { - width: number; - height: number; - }, { - width: number; - height: number; - }>>, z.ZodNull]>>; - devicePixelRatio: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - context: string; - viewport?: { - width: number; - height: number; - } | null | undefined; - devicePixelRatio?: number | null | undefined; - }, { - context: string; - viewport?: { - width: number; - height: number; - } | null | undefined; - devicePixelRatio?: number | null | undefined; - }>>; - }, "strip", z.ZodTypeAny, { - params: { - context: string; - viewport?: { - width: number; - height: number; - } | null | undefined; - devicePixelRatio?: number | null | undefined; - }; - method: "browsingContext.setViewport"; - }, { - params: { - context: string; - viewport?: { - width: number; - height: number; - } | null | undefined; - devicePixelRatio?: number | null | undefined; - }; - method: "browsingContext.setViewport"; - }>>; -} -export declare namespace BrowsingContext { - const SetViewportParametersSchema: z.ZodLazy; - viewport: z.ZodOptional; - height: z.ZodLazy; - }, "strip", z.ZodTypeAny, { - width: number; - height: number; - }, { - width: number; - height: number; - }>>, z.ZodNull]>>; - devicePixelRatio: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - context: string; - viewport?: { - width: number; - height: number; - } | null | undefined; - devicePixelRatio?: number | null | undefined; - }, { - context: string; - viewport?: { - width: number; - height: number; - } | null | undefined; - devicePixelRatio?: number | null | undefined; - }>>; -} -export declare namespace BrowsingContext { - const ViewportSchema: z.ZodLazy; - height: z.ZodLazy; - }, "strip", z.ZodTypeAny, { - width: number; - height: number; - }, { - width: number; - height: number; - }>>; -} -export declare namespace BrowsingContext { - const TraverseHistorySchema: z.ZodLazy; - params: z.ZodLazy; - delta: z.ZodLazy; - }, "strip", z.ZodTypeAny, { - context: string; - delta: number; - }, { - context: string; - delta: number; - }>>; - }, "strip", z.ZodTypeAny, { - params: { - context: string; - delta: number; - }; - method: "browsingContext.traverseHistory"; - }, { - params: { - context: string; - delta: number; - }; - method: "browsingContext.traverseHistory"; - }>>; -} -export declare namespace BrowsingContext { - const TraverseHistoryParametersSchema: z.ZodLazy; - delta: z.ZodLazy; - }, "strip", z.ZodTypeAny, { - context: string; - delta: number; - }, { - context: string; - delta: number; - }>>; -} -export declare namespace BrowsingContext { - const TraverseHistoryResultSchema: z.ZodLazy>; -} -export declare namespace BrowsingContext { - const ContextCreatedSchema: z.ZodLazy; - params: any; - }, "strip", z.ZodTypeAny, { - method: "browsingContext.contextCreated"; - params?: any; - }, { - method: "browsingContext.contextCreated"; - params?: any; - }>>; -} -export declare namespace BrowsingContext { - const ContextDestroyedSchema: z.ZodLazy; - params: any; - }, "strip", z.ZodTypeAny, { - method: "browsingContext.contextDestroyed"; - params?: any; - }, { - method: "browsingContext.contextDestroyed"; - params?: any; - }>>; -} -export declare namespace BrowsingContext { - const NavigationStartedSchema: z.ZodLazy; - params: z.ZodLazy; - navigation: z.ZodUnion<[z.ZodLazy, z.ZodNull]>; - timestamp: z.ZodLazy; - url: z.ZodString; - }, "strip", z.ZodTypeAny, { - url: string; - navigation: string | null; - context: string; - timestamp: number; - }, { - url: string; - navigation: string | null; - context: string; - timestamp: number; - }>>; - }, "strip", z.ZodTypeAny, { - params: { - url: string; - navigation: string | null; - context: string; - timestamp: number; - }; - method: "browsingContext.navigationStarted"; - }, { - params: { - url: string; - navigation: string | null; - context: string; - timestamp: number; - }; - method: "browsingContext.navigationStarted"; - }>>; -} -export declare namespace BrowsingContext { - const FragmentNavigatedSchema: z.ZodLazy; - params: z.ZodLazy; - navigation: z.ZodUnion<[z.ZodLazy, z.ZodNull]>; - timestamp: z.ZodLazy; - url: z.ZodString; - }, "strip", z.ZodTypeAny, { - url: string; - navigation: string | null; - context: string; - timestamp: number; - }, { - url: string; - navigation: string | null; - context: string; - timestamp: number; - }>>; - }, "strip", z.ZodTypeAny, { - params: { - url: string; - navigation: string | null; - context: string; - timestamp: number; - }; - method: "browsingContext.fragmentNavigated"; - }, { - params: { - url: string; - navigation: string | null; - context: string; - timestamp: number; - }; - method: "browsingContext.fragmentNavigated"; - }>>; -} -export declare namespace BrowsingContext { - const DomContentLoadedSchema: z.ZodLazy; - params: z.ZodLazy; - navigation: z.ZodUnion<[z.ZodLazy, z.ZodNull]>; - timestamp: z.ZodLazy; - url: z.ZodString; - }, "strip", z.ZodTypeAny, { - url: string; - navigation: string | null; - context: string; - timestamp: number; - }, { - url: string; - navigation: string | null; - context: string; - timestamp: number; - }>>; - }, "strip", z.ZodTypeAny, { - params: { - url: string; - navigation: string | null; - context: string; - timestamp: number; - }; - method: "browsingContext.domContentLoaded"; - }, { - params: { - url: string; - navigation: string | null; - context: string; - timestamp: number; - }; - method: "browsingContext.domContentLoaded"; - }>>; -} -export declare namespace BrowsingContext { - const LoadSchema: z.ZodLazy; - params: z.ZodLazy; - navigation: z.ZodUnion<[z.ZodLazy, z.ZodNull]>; - timestamp: z.ZodLazy; - url: z.ZodString; - }, "strip", z.ZodTypeAny, { - url: string; - navigation: string | null; - context: string; - timestamp: number; - }, { - url: string; - navigation: string | null; - context: string; - timestamp: number; - }>>; - }, "strip", z.ZodTypeAny, { - params: { - url: string; - navigation: string | null; - context: string; - timestamp: number; - }; - method: "browsingContext.load"; - }, { - params: { - url: string; - navigation: string | null; - context: string; - timestamp: number; - }; - method: "browsingContext.load"; - }>>; -} -export declare namespace BrowsingContext { - const DownloadWillBeginSchema: z.ZodLazy; - params: z.ZodLazy; - navigation: z.ZodUnion<[z.ZodLazy, z.ZodNull]>; - timestamp: z.ZodLazy; - url: z.ZodString; - }, "strip", z.ZodTypeAny, { - url: string; - navigation: string | null; - context: string; - timestamp: number; - }, { - url: string; - navigation: string | null; - context: string; - timestamp: number; - }>>; - }, "strip", z.ZodTypeAny, { - params: { - url: string; - navigation: string | null; - context: string; - timestamp: number; - }; - method: "browsingContext.downloadWillBegin"; - }, { - params: { - url: string; - navigation: string | null; - context: string; - timestamp: number; - }; - method: "browsingContext.downloadWillBegin"; - }>>; -} -export declare namespace BrowsingContext { - const NavigationAbortedSchema: z.ZodLazy; - params: z.ZodLazy; - navigation: z.ZodUnion<[z.ZodLazy, z.ZodNull]>; - timestamp: z.ZodLazy; - url: z.ZodString; - }, "strip", z.ZodTypeAny, { - url: string; - navigation: string | null; - context: string; - timestamp: number; - }, { - url: string; - navigation: string | null; - context: string; - timestamp: number; - }>>; - }, "strip", z.ZodTypeAny, { - params: { - url: string; - navigation: string | null; - context: string; - timestamp: number; - }; - method: "browsingContext.navigationAborted"; - }, { - params: { - url: string; - navigation: string | null; - context: string; - timestamp: number; - }; - method: "browsingContext.navigationAborted"; - }>>; -} -export declare namespace BrowsingContext { - const NavigationFailedSchema: z.ZodLazy; - params: z.ZodLazy; - navigation: z.ZodUnion<[z.ZodLazy, z.ZodNull]>; - timestamp: z.ZodLazy; - url: z.ZodString; - }, "strip", z.ZodTypeAny, { - url: string; - navigation: string | null; - context: string; - timestamp: number; - }, { - url: string; - navigation: string | null; - context: string; - timestamp: number; - }>>; - }, "strip", z.ZodTypeAny, { - params: { - url: string; - navigation: string | null; - context: string; - timestamp: number; - }; - method: "browsingContext.navigationFailed"; - }, { - params: { - url: string; - navigation: string | null; - context: string; - timestamp: number; - }; - method: "browsingContext.navigationFailed"; - }>>; -} -export declare namespace BrowsingContext { - const UserPromptClosedSchema: z.ZodLazy; - params: z.ZodLazy; - accepted: z.ZodBoolean; - userText: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - context: string; - accepted: boolean; - userText?: string | undefined; - }, { - context: string; - accepted: boolean; - userText?: string | undefined; - }>>; - }, "strip", z.ZodTypeAny, { - params: { - context: string; - accepted: boolean; - userText?: string | undefined; - }; - method: "browsingContext.userPromptClosed"; - }, { - params: { - context: string; - accepted: boolean; - userText?: string | undefined; - }; - method: "browsingContext.userPromptClosed"; - }>>; -} -export declare namespace BrowsingContext { - const UserPromptClosedParametersSchema: z.ZodLazy; - accepted: z.ZodBoolean; - userText: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - context: string; - accepted: boolean; - userText?: string | undefined; - }, { - context: string; - accepted: boolean; - userText?: string | undefined; - }>>; -} -export declare namespace BrowsingContext { - const UserPromptOpenedSchema: z.ZodLazy; - params: z.ZodLazy; - type: z.ZodEnum<["alert", "confirm", "prompt", "beforeunload"]>; - message: z.ZodString; - defaultValue: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - message: string; - type: "prompt" | "alert" | "confirm" | "beforeunload"; - context: string; - defaultValue?: string | undefined; - }, { - message: string; - type: "prompt" | "alert" | "confirm" | "beforeunload"; - context: string; - defaultValue?: string | undefined; - }>>; - }, "strip", z.ZodTypeAny, { - params: { - message: string; - type: "prompt" | "alert" | "confirm" | "beforeunload"; - context: string; - defaultValue?: string | undefined; - }; - method: "browsingContext.userPromptOpened"; - }, { - params: { - message: string; - type: "prompt" | "alert" | "confirm" | "beforeunload"; - context: string; - defaultValue?: string | undefined; - }; - method: "browsingContext.userPromptOpened"; - }>>; -} -export declare namespace BrowsingContext { - const UserPromptOpenedParametersSchema: z.ZodLazy; - type: z.ZodEnum<["alert", "confirm", "prompt", "beforeunload"]>; - message: z.ZodString; - defaultValue: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - message: string; - type: "prompt" | "alert" | "confirm" | "beforeunload"; - context: string; - defaultValue?: string | undefined; - }, { - message: string; - type: "prompt" | "alert" | "confirm" | "beforeunload"; - context: string; - defaultValue?: string | undefined; - }>>; -} -export declare const NetworkCommandSchema: z.ZodLazy; - params: z.ZodLazy>, "many">; - contexts: z.ZodOptional, "many">>; - urlPatterns: z.ZodOptional; - protocol: z.ZodOptional; - hostname: z.ZodOptional; - port: z.ZodOptional; - pathname: z.ZodOptional; - search: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - type: "pattern"; - protocol?: string | undefined; - hostname?: string | undefined; - port?: string | undefined; - pathname?: string | undefined; - search?: string | undefined; - }, { - type: "pattern"; - protocol?: string | undefined; - hostname?: string | undefined; - port?: string | undefined; - pathname?: string | undefined; - search?: string | undefined; - }>>, z.ZodLazy; - pattern: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "string"; - pattern: string; - }, { - type: "string"; - pattern: string; - }>>]>>, "many">>; - }, "strip", z.ZodTypeAny, { - phases: ("beforeRequestSent" | "responseStarted" | "authRequired")[]; - contexts?: string[] | undefined; - urlPatterns?: ({ - type: "pattern"; - protocol?: string | undefined; - hostname?: string | undefined; - port?: string | undefined; - pathname?: string | undefined; - search?: string | undefined; - } | { - type: "string"; - pattern: string; - })[] | undefined; - }, { - phases: ("beforeRequestSent" | "responseStarted" | "authRequired")[]; - contexts?: string[] | undefined; - urlPatterns?: ({ - type: "pattern"; - protocol?: string | undefined; - hostname?: string | undefined; - port?: string | undefined; - pathname?: string | undefined; - search?: string | undefined; - } | { - type: "string"; - pattern: string; - })[] | undefined; - }>>; -}, "strip", z.ZodTypeAny, { - params: { - phases: ("beforeRequestSent" | "responseStarted" | "authRequired")[]; - contexts?: string[] | undefined; - urlPatterns?: ({ - type: "pattern"; - protocol?: string | undefined; - hostname?: string | undefined; - port?: string | undefined; - pathname?: string | undefined; - search?: string | undefined; - } | { - type: "string"; - pattern: string; - })[] | undefined; - }; - method: "network.addIntercept"; -}, { - params: { - phases: ("beforeRequestSent" | "responseStarted" | "authRequired")[]; - contexts?: string[] | undefined; - urlPatterns?: ({ - type: "pattern"; - protocol?: string | undefined; - hostname?: string | undefined; - port?: string | undefined; - pathname?: string | undefined; - search?: string | undefined; - } | { - type: "string"; - pattern: string; - })[] | undefined; - }; - method: "network.addIntercept"; -}>>, z.ZodLazy; - params: z.ZodLazy; - body: z.ZodOptional; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "string"; - value: string; - }, { - type: "string"; - value: string; - }>>, z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "base64"; - value: string; - }, { - type: "base64"; - value: string; - }>>]>>>; - cookies: z.ZodOptional; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "string"; - value: string; - }, { - type: "string"; - value: string; - }>>, z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "base64"; - value: string; - }, { - type: "base64"; - value: string; - }>>]>>; - }, "strip", z.ZodTypeAny, { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }, { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }>>, "many">>; - headers: z.ZodOptional; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "string"; - value: string; - }, { - type: "string"; - value: string; - }>>, z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "base64"; - value: string; - }, { - type: "base64"; - value: string; - }>>]>>; - }, "strip", z.ZodTypeAny, { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }, { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }>>, "many">>; - method: z.ZodOptional; - url: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - request: string; - body?: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - } | undefined; - cookies?: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[] | undefined; - headers?: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[] | undefined; - method?: string | undefined; - url?: string | undefined; - }, { - request: string; - body?: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - } | undefined; - cookies?: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[] | undefined; - headers?: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[] | undefined; - method?: string | undefined; - url?: string | undefined; - }>>; -}, "strip", z.ZodTypeAny, { - params: { - request: string; - body?: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - } | undefined; - cookies?: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[] | undefined; - headers?: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[] | undefined; - method?: string | undefined; - url?: string | undefined; - }; - method: "network.continueRequest"; -}, { - params: { - request: string; - body?: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - } | undefined; - cookies?: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[] | undefined; - headers?: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[] | undefined; - method?: string | undefined; - url?: string | undefined; - }; - method: "network.continueRequest"; -}>>, z.ZodLazy; - params: z.ZodLazy; - cookies: z.ZodOptional; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "string"; - value: string; - }, { - type: "string"; - value: string; - }>>, z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "base64"; - value: string; - }, { - type: "base64"; - value: string; - }>>]>>; - domain: z.ZodOptional; - httpOnly: z.ZodOptional; - expiry: z.ZodOptional; - maxAge: z.ZodOptional>; - path: z.ZodOptional; - sameSite: z.ZodOptional>>; - secure: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - domain?: string | undefined; - httpOnly?: boolean | undefined; - expiry?: string | undefined; - maxAge?: number | undefined; - path?: string | undefined; - sameSite?: "strict" | "none" | "lax" | undefined; - secure?: boolean | undefined; - }, { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - domain?: string | undefined; - httpOnly?: boolean | undefined; - expiry?: string | undefined; - maxAge?: number | undefined; - path?: string | undefined; - sameSite?: "strict" | "none" | "lax" | undefined; - secure?: boolean | undefined; - }>>, "many">>; - credentials: z.ZodOptional; - username: z.ZodString; - password: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "password"; - password: string; - username: string; - }, { - type: "password"; - password: string; - username: string; - }>>>; - headers: z.ZodOptional; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "string"; - value: string; - }, { - type: "string"; - value: string; - }>>, z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "base64"; - value: string; - }, { - type: "base64"; - value: string; - }>>]>>; - }, "strip", z.ZodTypeAny, { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }, { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }>>, "many">>; - reasonPhrase: z.ZodOptional; - statusCode: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - request: string; - cookies?: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - domain?: string | undefined; - httpOnly?: boolean | undefined; - expiry?: string | undefined; - maxAge?: number | undefined; - path?: string | undefined; - sameSite?: "strict" | "none" | "lax" | undefined; - secure?: boolean | undefined; - }[] | undefined; - credentials?: { - type: "password"; - password: string; - username: string; - } | undefined; - headers?: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[] | undefined; - reasonPhrase?: string | undefined; - statusCode?: number | undefined; - }, { - request: string; - cookies?: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - domain?: string | undefined; - httpOnly?: boolean | undefined; - expiry?: string | undefined; - maxAge?: number | undefined; - path?: string | undefined; - sameSite?: "strict" | "none" | "lax" | undefined; - secure?: boolean | undefined; - }[] | undefined; - credentials?: { - type: "password"; - password: string; - username: string; - } | undefined; - headers?: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[] | undefined; - reasonPhrase?: string | undefined; - statusCode?: number | undefined; - }>>; -}, "strip", z.ZodTypeAny, { - params: { - request: string; - cookies?: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - domain?: string | undefined; - httpOnly?: boolean | undefined; - expiry?: string | undefined; - maxAge?: number | undefined; - path?: string | undefined; - sameSite?: "strict" | "none" | "lax" | undefined; - secure?: boolean | undefined; - }[] | undefined; - credentials?: { - type: "password"; - password: string; - username: string; - } | undefined; - headers?: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[] | undefined; - reasonPhrase?: string | undefined; - statusCode?: number | undefined; - }; - method: "network.continueResponse"; -}, { - params: { - request: string; - cookies?: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - domain?: string | undefined; - httpOnly?: boolean | undefined; - expiry?: string | undefined; - maxAge?: number | undefined; - path?: string | undefined; - sameSite?: "strict" | "none" | "lax" | undefined; - secure?: boolean | undefined; - }[] | undefined; - credentials?: { - type: "password"; - password: string; - username: string; - } | undefined; - headers?: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[] | undefined; - reasonPhrase?: string | undefined; - statusCode?: number | undefined; - }; - method: "network.continueResponse"; -}>>, z.ZodLazy; - params: z.ZodLazy; - }, "strip", z.ZodTypeAny, { - request: string; - }, { - request: string; - }>, z.ZodUnion<[z.ZodLazy; - credentials: z.ZodLazy; - username: z.ZodString; - password: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "password"; - password: string; - username: string; - }, { - type: "password"; - password: string; - username: string; - }>>; - }, "strip", z.ZodTypeAny, { - credentials: { - type: "password"; - password: string; - username: string; - }; - action: "provideCredentials"; - }, { - credentials: { - type: "password"; - password: string; - username: string; - }; - action: "provideCredentials"; - }>>, z.ZodLazy; - }, "strip", z.ZodTypeAny, { - action: "default" | "cancel"; - }, { - action: "default" | "cancel"; - }>>]>>>; -}, "strip", z.ZodTypeAny, { - params: ({ - request: string; - } & { - credentials: { - type: "password"; - password: string; - username: string; - }; - action: "provideCredentials"; - }) | ({ - request: string; - } & { - action: "default" | "cancel"; - }); - method: "network.continueWithAuth"; -}, { - params: ({ - request: string; - } & { - credentials: { - type: "password"; - password: string; - username: string; - }; - action: "provideCredentials"; - }) | ({ - request: string; - } & { - action: "default" | "cancel"; - }); - method: "network.continueWithAuth"; -}>>, z.ZodLazy; - params: z.ZodLazy; - }, "strip", z.ZodTypeAny, { - request: string; - }, { - request: string; - }>>; -}, "strip", z.ZodTypeAny, { - params: { - request: string; - }; - method: "network.failRequest"; -}, { - params: { - request: string; - }; - method: "network.failRequest"; -}>>, z.ZodLazy; - params: z.ZodLazy; - body: z.ZodOptional; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "string"; - value: string; - }, { - type: "string"; - value: string; - }>>, z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "base64"; - value: string; - }, { - type: "base64"; - value: string; - }>>]>>>; - cookies: z.ZodOptional; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "string"; - value: string; - }, { - type: "string"; - value: string; - }>>, z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "base64"; - value: string; - }, { - type: "base64"; - value: string; - }>>]>>; - domain: z.ZodOptional; - httpOnly: z.ZodOptional; - expiry: z.ZodOptional; - maxAge: z.ZodOptional>; - path: z.ZodOptional; - sameSite: z.ZodOptional>>; - secure: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - domain?: string | undefined; - httpOnly?: boolean | undefined; - expiry?: string | undefined; - maxAge?: number | undefined; - path?: string | undefined; - sameSite?: "strict" | "none" | "lax" | undefined; - secure?: boolean | undefined; - }, { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - domain?: string | undefined; - httpOnly?: boolean | undefined; - expiry?: string | undefined; - maxAge?: number | undefined; - path?: string | undefined; - sameSite?: "strict" | "none" | "lax" | undefined; - secure?: boolean | undefined; - }>>, "many">>; - headers: z.ZodOptional; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "string"; - value: string; - }, { - type: "string"; - value: string; - }>>, z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "base64"; - value: string; - }, { - type: "base64"; - value: string; - }>>]>>; - }, "strip", z.ZodTypeAny, { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }, { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }>>, "many">>; - reasonPhrase: z.ZodOptional; - statusCode: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - request: string; - body?: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - } | undefined; - cookies?: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - domain?: string | undefined; - httpOnly?: boolean | undefined; - expiry?: string | undefined; - maxAge?: number | undefined; - path?: string | undefined; - sameSite?: "strict" | "none" | "lax" | undefined; - secure?: boolean | undefined; - }[] | undefined; - headers?: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[] | undefined; - reasonPhrase?: string | undefined; - statusCode?: number | undefined; - }, { - request: string; - body?: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - } | undefined; - cookies?: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - domain?: string | undefined; - httpOnly?: boolean | undefined; - expiry?: string | undefined; - maxAge?: number | undefined; - path?: string | undefined; - sameSite?: "strict" | "none" | "lax" | undefined; - secure?: boolean | undefined; - }[] | undefined; - headers?: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[] | undefined; - reasonPhrase?: string | undefined; - statusCode?: number | undefined; - }>>; -}, "strip", z.ZodTypeAny, { - params: { - request: string; - body?: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - } | undefined; - cookies?: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - domain?: string | undefined; - httpOnly?: boolean | undefined; - expiry?: string | undefined; - maxAge?: number | undefined; - path?: string | undefined; - sameSite?: "strict" | "none" | "lax" | undefined; - secure?: boolean | undefined; - }[] | undefined; - headers?: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[] | undefined; - reasonPhrase?: string | undefined; - statusCode?: number | undefined; - }; - method: "network.provideResponse"; -}, { - params: { - request: string; - body?: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - } | undefined; - cookies?: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - domain?: string | undefined; - httpOnly?: boolean | undefined; - expiry?: string | undefined; - maxAge?: number | undefined; - path?: string | undefined; - sameSite?: "strict" | "none" | "lax" | undefined; - secure?: boolean | undefined; - }[] | undefined; - headers?: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[] | undefined; - reasonPhrase?: string | undefined; - statusCode?: number | undefined; - }; - method: "network.provideResponse"; -}>>, z.ZodLazy; - params: z.ZodLazy; - }, "strip", z.ZodTypeAny, { - intercept: string; - }, { - intercept: string; - }>>; -}, "strip", z.ZodTypeAny, { - params: { - intercept: string; - }; - method: "network.removeIntercept"; -}, { - params: { - intercept: string; - }; - method: "network.removeIntercept"; -}>>]>>; -export declare const NetworkEventSchema: z.ZodLazy; - params: z.ZodLazy, z.ZodNull]>; - isBlocked: z.ZodBoolean; - navigation: z.ZodUnion<[z.ZodLazy, z.ZodNull]>; - redirectCount: z.ZodLazy; - request: z.ZodLazy; - url: z.ZodString; - method: z.ZodString; - headers: z.ZodArray; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "string"; - value: string; - }, { - type: "string"; - value: string; - }>>, z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "base64"; - value: string; - }, { - type: "base64"; - value: string; - }>>]>>; - }, "strip", z.ZodTypeAny, { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }, { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }>>, "many">; - cookies: z.ZodArray; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "string"; - value: string; - }, { - type: "string"; - value: string; - }>>, z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "base64"; - value: string; - }, { - type: "base64"; - value: string; - }>>]>>; - domain: z.ZodString; - path: z.ZodString; - size: z.ZodLazy; - httpOnly: z.ZodBoolean; - secure: z.ZodBoolean; - sameSite: z.ZodLazy>; - expiry: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - }, { - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - }>, z.ZodLazy>>>, "many">; - headersSize: z.ZodLazy; - bodySize: z.ZodUnion<[z.ZodLazy, z.ZodNull]>; - timings: z.ZodLazy>; - }, "strip", z.ZodTypeAny, { - url: string; - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - method: string; - request: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - headersSize: number; - bodySize: number | null; - timings: { - timeOrigin: number; - requestTime: number; - redirectStart: number; - redirectEnd: number; - fetchStart: number; - dnsStart: number; - dnsEnd: number; - connectStart: number; - connectEnd: number; - tlsStart: number; - requestStart: number; - responseStart: number; - responseEnd: number; - }; - }, { - url: string; - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - method: string; - request: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - headersSize: number; - bodySize: number | null; - timings: { - timeOrigin: number; - requestTime: number; - redirectStart: number; - redirectEnd: number; - fetchStart: number; - dnsStart: number; - dnsEnd: number; - connectStart: number; - connectEnd: number; - tlsStart: number; - requestStart: number; - responseStart: number; - responseEnd: number; - }; - }>>; - timestamp: z.ZodLazy; - intercepts: z.ZodOptional, "many">>; - }, "strip", z.ZodTypeAny, { - navigation: string | null; - context: string | null; - request: { - url: string; - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - method: string; - request: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - headersSize: number; - bodySize: number | null; - timings: { - timeOrigin: number; - requestTime: number; - redirectStart: number; - redirectEnd: number; - fetchStart: number; - dnsStart: number; - dnsEnd: number; - connectStart: number; - connectEnd: number; - tlsStart: number; - requestStart: number; - responseStart: number; - responseEnd: number; - }; - }; - timestamp: number; - isBlocked: boolean; - redirectCount: number; - intercepts?: string[] | undefined; - }, { - navigation: string | null; - context: string | null; - request: { - url: string; - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - method: string; - request: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - headersSize: number; - bodySize: number | null; - timings: { - timeOrigin: number; - requestTime: number; - redirectStart: number; - redirectEnd: number; - fetchStart: number; - dnsStart: number; - dnsEnd: number; - connectStart: number; - connectEnd: number; - tlsStart: number; - requestStart: number; - responseStart: number; - responseEnd: number; - }; - }; - timestamp: number; - isBlocked: boolean; - redirectCount: number; - intercepts?: string[] | undefined; - }>>, z.ZodObject<{ - response: z.ZodLazy; - statusText: z.ZodString; - fromCache: z.ZodBoolean; - headers: z.ZodArray; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "string"; - value: string; - }, { - type: "string"; - value: string; - }>>, z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "base64"; - value: string; - }, { - type: "base64"; - value: string; - }>>]>>; - }, "strip", z.ZodTypeAny, { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }, { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }>>, "many">; - mimeType: z.ZodString; - bytesReceived: z.ZodLazy; - headersSize: z.ZodUnion<[z.ZodLazy, z.ZodNull]>; - bodySize: z.ZodUnion<[z.ZodLazy, z.ZodNull]>; - content: z.ZodLazy; - }, "strip", z.ZodTypeAny, { - size: number; - }, { - size: number; - }>>; - authChallenge: z.ZodOptional>>; - }, "strip", z.ZodTypeAny, { - url: string; - status: number; - protocol: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - content: { - size: number; - }; - headersSize: number | null; - bodySize: number | null; - statusText: string; - fromCache: boolean; - mimeType: string; - bytesReceived: number; - authChallenge?: { - realm: string; - scheme: string; - } | undefined; - }, { - url: string; - status: number; - protocol: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - content: { - size: number; - }; - headersSize: number | null; - bodySize: number | null; - statusText: string; - fromCache: boolean; - mimeType: string; - bytesReceived: number; - authChallenge?: { - realm: string; - scheme: string; - } | undefined; - }>>; - }, "strip", z.ZodTypeAny, { - response: { - url: string; - status: number; - protocol: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - content: { - size: number; - }; - headersSize: number | null; - bodySize: number | null; - statusText: string; - fromCache: boolean; - mimeType: string; - bytesReceived: number; - authChallenge?: { - realm: string; - scheme: string; - } | undefined; - }; - }, { - response: { - url: string; - status: number; - protocol: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - content: { - size: number; - }; - headersSize: number | null; - bodySize: number | null; - statusText: string; - fromCache: boolean; - mimeType: string; - bytesReceived: number; - authChallenge?: { - realm: string; - scheme: string; - } | undefined; - }; - }>>>; -}, "strip", z.ZodTypeAny, { - params: { - navigation: string | null; - context: string | null; - request: { - url: string; - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - method: string; - request: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - headersSize: number; - bodySize: number | null; - timings: { - timeOrigin: number; - requestTime: number; - redirectStart: number; - redirectEnd: number; - fetchStart: number; - dnsStart: number; - dnsEnd: number; - connectStart: number; - connectEnd: number; - tlsStart: number; - requestStart: number; - responseStart: number; - responseEnd: number; - }; - }; - timestamp: number; - isBlocked: boolean; - redirectCount: number; - intercepts?: string[] | undefined; - } & { - response: { - url: string; - status: number; - protocol: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - content: { - size: number; - }; - headersSize: number | null; - bodySize: number | null; - statusText: string; - fromCache: boolean; - mimeType: string; - bytesReceived: number; - authChallenge?: { - realm: string; - scheme: string; - } | undefined; - }; - }; - method: "network.authRequired"; -}, { - params: { - navigation: string | null; - context: string | null; - request: { - url: string; - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - method: string; - request: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - headersSize: number; - bodySize: number | null; - timings: { - timeOrigin: number; - requestTime: number; - redirectStart: number; - redirectEnd: number; - fetchStart: number; - dnsStart: number; - dnsEnd: number; - connectStart: number; - connectEnd: number; - tlsStart: number; - requestStart: number; - responseStart: number; - responseEnd: number; - }; - }; - timestamp: number; - isBlocked: boolean; - redirectCount: number; - intercepts?: string[] | undefined; - } & { - response: { - url: string; - status: number; - protocol: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - content: { - size: number; - }; - headersSize: number | null; - bodySize: number | null; - statusText: string; - fromCache: boolean; - mimeType: string; - bytesReceived: number; - authChallenge?: { - realm: string; - scheme: string; - } | undefined; - }; - }; - method: "network.authRequired"; -}>>, z.ZodLazy; - params: z.ZodLazy, z.ZodNull]>; - isBlocked: z.ZodBoolean; - navigation: z.ZodUnion<[z.ZodLazy, z.ZodNull]>; - redirectCount: z.ZodLazy; - request: z.ZodLazy; - url: z.ZodString; - method: z.ZodString; - headers: z.ZodArray; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "string"; - value: string; - }, { - type: "string"; - value: string; - }>>, z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "base64"; - value: string; - }, { - type: "base64"; - value: string; - }>>]>>; - }, "strip", z.ZodTypeAny, { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }, { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }>>, "many">; - cookies: z.ZodArray; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "string"; - value: string; - }, { - type: "string"; - value: string; - }>>, z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "base64"; - value: string; - }, { - type: "base64"; - value: string; - }>>]>>; - domain: z.ZodString; - path: z.ZodString; - size: z.ZodLazy; - httpOnly: z.ZodBoolean; - secure: z.ZodBoolean; - sameSite: z.ZodLazy>; - expiry: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - }, { - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - }>, z.ZodLazy>>>, "many">; - headersSize: z.ZodLazy; - bodySize: z.ZodUnion<[z.ZodLazy, z.ZodNull]>; - timings: z.ZodLazy>; - }, "strip", z.ZodTypeAny, { - url: string; - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - method: string; - request: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - headersSize: number; - bodySize: number | null; - timings: { - timeOrigin: number; - requestTime: number; - redirectStart: number; - redirectEnd: number; - fetchStart: number; - dnsStart: number; - dnsEnd: number; - connectStart: number; - connectEnd: number; - tlsStart: number; - requestStart: number; - responseStart: number; - responseEnd: number; - }; - }, { - url: string; - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - method: string; - request: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - headersSize: number; - bodySize: number | null; - timings: { - timeOrigin: number; - requestTime: number; - redirectStart: number; - redirectEnd: number; - fetchStart: number; - dnsStart: number; - dnsEnd: number; - connectStart: number; - connectEnd: number; - tlsStart: number; - requestStart: number; - responseStart: number; - responseEnd: number; - }; - }>>; - timestamp: z.ZodLazy; - intercepts: z.ZodOptional, "many">>; - }, "strip", z.ZodTypeAny, { - navigation: string | null; - context: string | null; - request: { - url: string; - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - method: string; - request: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - headersSize: number; - bodySize: number | null; - timings: { - timeOrigin: number; - requestTime: number; - redirectStart: number; - redirectEnd: number; - fetchStart: number; - dnsStart: number; - dnsEnd: number; - connectStart: number; - connectEnd: number; - tlsStart: number; - requestStart: number; - responseStart: number; - responseEnd: number; - }; - }; - timestamp: number; - isBlocked: boolean; - redirectCount: number; - intercepts?: string[] | undefined; - }, { - navigation: string | null; - context: string | null; - request: { - url: string; - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - method: string; - request: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - headersSize: number; - bodySize: number | null; - timings: { - timeOrigin: number; - requestTime: number; - redirectStart: number; - redirectEnd: number; - fetchStart: number; - dnsStart: number; - dnsEnd: number; - connectStart: number; - connectEnd: number; - tlsStart: number; - requestStart: number; - responseStart: number; - responseEnd: number; - }; - }; - timestamp: number; - isBlocked: boolean; - redirectCount: number; - intercepts?: string[] | undefined; - }>>, z.ZodObject<{ - initiator: z.ZodLazy; - columnNumber: z.ZodOptional>; - lineNumber: z.ZodOptional>; - stackTrace: z.ZodOptional; - functionName: z.ZodString; - lineNumber: z.ZodLazy; - url: z.ZodString; - }, "strip", z.ZodTypeAny, { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }, { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }>>, "many">; - }, "strip", z.ZodTypeAny, { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }, { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }>>>; - request: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - type: "other" | "script" | "parser" | "preflight"; - columnNumber?: number | undefined; - lineNumber?: number | undefined; - stackTrace?: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - } | undefined; - request?: string | undefined; - }, { - type: "other" | "script" | "parser" | "preflight"; - columnNumber?: number | undefined; - lineNumber?: number | undefined; - stackTrace?: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - } | undefined; - request?: string | undefined; - }>>; - }, "strip", z.ZodTypeAny, { - initiator: { - type: "other" | "script" | "parser" | "preflight"; - columnNumber?: number | undefined; - lineNumber?: number | undefined; - stackTrace?: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - } | undefined; - request?: string | undefined; - }; - }, { - initiator: { - type: "other" | "script" | "parser" | "preflight"; - columnNumber?: number | undefined; - lineNumber?: number | undefined; - stackTrace?: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - } | undefined; - request?: string | undefined; - }; - }>>>; -}, "strip", z.ZodTypeAny, { - params: { - navigation: string | null; - context: string | null; - request: { - url: string; - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - method: string; - request: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - headersSize: number; - bodySize: number | null; - timings: { - timeOrigin: number; - requestTime: number; - redirectStart: number; - redirectEnd: number; - fetchStart: number; - dnsStart: number; - dnsEnd: number; - connectStart: number; - connectEnd: number; - tlsStart: number; - requestStart: number; - responseStart: number; - responseEnd: number; - }; - }; - timestamp: number; - isBlocked: boolean; - redirectCount: number; - intercepts?: string[] | undefined; - } & { - initiator: { - type: "other" | "script" | "parser" | "preflight"; - columnNumber?: number | undefined; - lineNumber?: number | undefined; - stackTrace?: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - } | undefined; - request?: string | undefined; - }; - }; - method: "network.beforeRequestSent"; -}, { - params: { - navigation: string | null; - context: string | null; - request: { - url: string; - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - method: string; - request: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - headersSize: number; - bodySize: number | null; - timings: { - timeOrigin: number; - requestTime: number; - redirectStart: number; - redirectEnd: number; - fetchStart: number; - dnsStart: number; - dnsEnd: number; - connectStart: number; - connectEnd: number; - tlsStart: number; - requestStart: number; - responseStart: number; - responseEnd: number; - }; - }; - timestamp: number; - isBlocked: boolean; - redirectCount: number; - intercepts?: string[] | undefined; - } & { - initiator: { - type: "other" | "script" | "parser" | "preflight"; - columnNumber?: number | undefined; - lineNumber?: number | undefined; - stackTrace?: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - } | undefined; - request?: string | undefined; - }; - }; - method: "network.beforeRequestSent"; -}>>, z.ZodLazy; - params: z.ZodLazy, z.ZodNull]>; - isBlocked: z.ZodBoolean; - navigation: z.ZodUnion<[z.ZodLazy, z.ZodNull]>; - redirectCount: z.ZodLazy; - request: z.ZodLazy; - url: z.ZodString; - method: z.ZodString; - headers: z.ZodArray; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "string"; - value: string; - }, { - type: "string"; - value: string; - }>>, z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "base64"; - value: string; - }, { - type: "base64"; - value: string; - }>>]>>; - }, "strip", z.ZodTypeAny, { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }, { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }>>, "many">; - cookies: z.ZodArray; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "string"; - value: string; - }, { - type: "string"; - value: string; - }>>, z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "base64"; - value: string; - }, { - type: "base64"; - value: string; - }>>]>>; - domain: z.ZodString; - path: z.ZodString; - size: z.ZodLazy; - httpOnly: z.ZodBoolean; - secure: z.ZodBoolean; - sameSite: z.ZodLazy>; - expiry: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - }, { - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - }>, z.ZodLazy>>>, "many">; - headersSize: z.ZodLazy; - bodySize: z.ZodUnion<[z.ZodLazy, z.ZodNull]>; - timings: z.ZodLazy>; - }, "strip", z.ZodTypeAny, { - url: string; - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - method: string; - request: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - headersSize: number; - bodySize: number | null; - timings: { - timeOrigin: number; - requestTime: number; - redirectStart: number; - redirectEnd: number; - fetchStart: number; - dnsStart: number; - dnsEnd: number; - connectStart: number; - connectEnd: number; - tlsStart: number; - requestStart: number; - responseStart: number; - responseEnd: number; - }; - }, { - url: string; - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - method: string; - request: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - headersSize: number; - bodySize: number | null; - timings: { - timeOrigin: number; - requestTime: number; - redirectStart: number; - redirectEnd: number; - fetchStart: number; - dnsStart: number; - dnsEnd: number; - connectStart: number; - connectEnd: number; - tlsStart: number; - requestStart: number; - responseStart: number; - responseEnd: number; - }; - }>>; - timestamp: z.ZodLazy; - intercepts: z.ZodOptional, "many">>; - }, "strip", z.ZodTypeAny, { - navigation: string | null; - context: string | null; - request: { - url: string; - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - method: string; - request: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - headersSize: number; - bodySize: number | null; - timings: { - timeOrigin: number; - requestTime: number; - redirectStart: number; - redirectEnd: number; - fetchStart: number; - dnsStart: number; - dnsEnd: number; - connectStart: number; - connectEnd: number; - tlsStart: number; - requestStart: number; - responseStart: number; - responseEnd: number; - }; - }; - timestamp: number; - isBlocked: boolean; - redirectCount: number; - intercepts?: string[] | undefined; - }, { - navigation: string | null; - context: string | null; - request: { - url: string; - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - method: string; - request: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - headersSize: number; - bodySize: number | null; - timings: { - timeOrigin: number; - requestTime: number; - redirectStart: number; - redirectEnd: number; - fetchStart: number; - dnsStart: number; - dnsEnd: number; - connectStart: number; - connectEnd: number; - tlsStart: number; - requestStart: number; - responseStart: number; - responseEnd: number; - }; - }; - timestamp: number; - isBlocked: boolean; - redirectCount: number; - intercepts?: string[] | undefined; - }>>, z.ZodObject<{ - errorText: z.ZodString; - }, "strip", z.ZodTypeAny, { - errorText: string; - }, { - errorText: string; - }>>>; -}, "strip", z.ZodTypeAny, { - params: { - navigation: string | null; - context: string | null; - request: { - url: string; - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - method: string; - request: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - headersSize: number; - bodySize: number | null; - timings: { - timeOrigin: number; - requestTime: number; - redirectStart: number; - redirectEnd: number; - fetchStart: number; - dnsStart: number; - dnsEnd: number; - connectStart: number; - connectEnd: number; - tlsStart: number; - requestStart: number; - responseStart: number; - responseEnd: number; - }; - }; - timestamp: number; - isBlocked: boolean; - redirectCount: number; - intercepts?: string[] | undefined; - } & { - errorText: string; - }; - method: "network.fetchError"; -}, { - params: { - navigation: string | null; - context: string | null; - request: { - url: string; - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - method: string; - request: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - headersSize: number; - bodySize: number | null; - timings: { - timeOrigin: number; - requestTime: number; - redirectStart: number; - redirectEnd: number; - fetchStart: number; - dnsStart: number; - dnsEnd: number; - connectStart: number; - connectEnd: number; - tlsStart: number; - requestStart: number; - responseStart: number; - responseEnd: number; - }; - }; - timestamp: number; - isBlocked: boolean; - redirectCount: number; - intercepts?: string[] | undefined; - } & { - errorText: string; - }; - method: "network.fetchError"; -}>>, z.ZodLazy; - params: z.ZodLazy, z.ZodNull]>; - isBlocked: z.ZodBoolean; - navigation: z.ZodUnion<[z.ZodLazy, z.ZodNull]>; - redirectCount: z.ZodLazy; - request: z.ZodLazy; - url: z.ZodString; - method: z.ZodString; - headers: z.ZodArray; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "string"; - value: string; - }, { - type: "string"; - value: string; - }>>, z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "base64"; - value: string; - }, { - type: "base64"; - value: string; - }>>]>>; - }, "strip", z.ZodTypeAny, { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }, { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }>>, "many">; - cookies: z.ZodArray; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "string"; - value: string; - }, { - type: "string"; - value: string; - }>>, z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "base64"; - value: string; - }, { - type: "base64"; - value: string; - }>>]>>; - domain: z.ZodString; - path: z.ZodString; - size: z.ZodLazy; - httpOnly: z.ZodBoolean; - secure: z.ZodBoolean; - sameSite: z.ZodLazy>; - expiry: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - }, { - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - }>, z.ZodLazy>>>, "many">; - headersSize: z.ZodLazy; - bodySize: z.ZodUnion<[z.ZodLazy, z.ZodNull]>; - timings: z.ZodLazy>; - }, "strip", z.ZodTypeAny, { - url: string; - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - method: string; - request: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - headersSize: number; - bodySize: number | null; - timings: { - timeOrigin: number; - requestTime: number; - redirectStart: number; - redirectEnd: number; - fetchStart: number; - dnsStart: number; - dnsEnd: number; - connectStart: number; - connectEnd: number; - tlsStart: number; - requestStart: number; - responseStart: number; - responseEnd: number; - }; - }, { - url: string; - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - method: string; - request: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - headersSize: number; - bodySize: number | null; - timings: { - timeOrigin: number; - requestTime: number; - redirectStart: number; - redirectEnd: number; - fetchStart: number; - dnsStart: number; - dnsEnd: number; - connectStart: number; - connectEnd: number; - tlsStart: number; - requestStart: number; - responseStart: number; - responseEnd: number; - }; - }>>; - timestamp: z.ZodLazy; - intercepts: z.ZodOptional, "many">>; - }, "strip", z.ZodTypeAny, { - navigation: string | null; - context: string | null; - request: { - url: string; - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - method: string; - request: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - headersSize: number; - bodySize: number | null; - timings: { - timeOrigin: number; - requestTime: number; - redirectStart: number; - redirectEnd: number; - fetchStart: number; - dnsStart: number; - dnsEnd: number; - connectStart: number; - connectEnd: number; - tlsStart: number; - requestStart: number; - responseStart: number; - responseEnd: number; - }; - }; - timestamp: number; - isBlocked: boolean; - redirectCount: number; - intercepts?: string[] | undefined; - }, { - navigation: string | null; - context: string | null; - request: { - url: string; - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - method: string; - request: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - headersSize: number; - bodySize: number | null; - timings: { - timeOrigin: number; - requestTime: number; - redirectStart: number; - redirectEnd: number; - fetchStart: number; - dnsStart: number; - dnsEnd: number; - connectStart: number; - connectEnd: number; - tlsStart: number; - requestStart: number; - responseStart: number; - responseEnd: number; - }; - }; - timestamp: number; - isBlocked: boolean; - redirectCount: number; - intercepts?: string[] | undefined; - }>>, z.ZodObject<{ - response: z.ZodLazy; - statusText: z.ZodString; - fromCache: z.ZodBoolean; - headers: z.ZodArray; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "string"; - value: string; - }, { - type: "string"; - value: string; - }>>, z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "base64"; - value: string; - }, { - type: "base64"; - value: string; - }>>]>>; - }, "strip", z.ZodTypeAny, { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }, { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }>>, "many">; - mimeType: z.ZodString; - bytesReceived: z.ZodLazy; - headersSize: z.ZodUnion<[z.ZodLazy, z.ZodNull]>; - bodySize: z.ZodUnion<[z.ZodLazy, z.ZodNull]>; - content: z.ZodLazy; - }, "strip", z.ZodTypeAny, { - size: number; - }, { - size: number; - }>>; - authChallenge: z.ZodOptional>>; - }, "strip", z.ZodTypeAny, { - url: string; - status: number; - protocol: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - content: { - size: number; - }; - headersSize: number | null; - bodySize: number | null; - statusText: string; - fromCache: boolean; - mimeType: string; - bytesReceived: number; - authChallenge?: { - realm: string; - scheme: string; - } | undefined; - }, { - url: string; - status: number; - protocol: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - content: { - size: number; - }; - headersSize: number | null; - bodySize: number | null; - statusText: string; - fromCache: boolean; - mimeType: string; - bytesReceived: number; - authChallenge?: { - realm: string; - scheme: string; - } | undefined; - }>>; - }, "strip", z.ZodTypeAny, { - response: { - url: string; - status: number; - protocol: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - content: { - size: number; - }; - headersSize: number | null; - bodySize: number | null; - statusText: string; - fromCache: boolean; - mimeType: string; - bytesReceived: number; - authChallenge?: { - realm: string; - scheme: string; - } | undefined; - }; - }, { - response: { - url: string; - status: number; - protocol: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - content: { - size: number; - }; - headersSize: number | null; - bodySize: number | null; - statusText: string; - fromCache: boolean; - mimeType: string; - bytesReceived: number; - authChallenge?: { - realm: string; - scheme: string; - } | undefined; - }; - }>>>; -}, "strip", z.ZodTypeAny, { - params: { - navigation: string | null; - context: string | null; - request: { - url: string; - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - method: string; - request: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - headersSize: number; - bodySize: number | null; - timings: { - timeOrigin: number; - requestTime: number; - redirectStart: number; - redirectEnd: number; - fetchStart: number; - dnsStart: number; - dnsEnd: number; - connectStart: number; - connectEnd: number; - tlsStart: number; - requestStart: number; - responseStart: number; - responseEnd: number; - }; - }; - timestamp: number; - isBlocked: boolean; - redirectCount: number; - intercepts?: string[] | undefined; - } & { - response: { - url: string; - status: number; - protocol: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - content: { - size: number; - }; - headersSize: number | null; - bodySize: number | null; - statusText: string; - fromCache: boolean; - mimeType: string; - bytesReceived: number; - authChallenge?: { - realm: string; - scheme: string; - } | undefined; - }; - }; - method: "network.responseCompleted"; -}, { - params: { - navigation: string | null; - context: string | null; - request: { - url: string; - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - method: string; - request: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - headersSize: number; - bodySize: number | null; - timings: { - timeOrigin: number; - requestTime: number; - redirectStart: number; - redirectEnd: number; - fetchStart: number; - dnsStart: number; - dnsEnd: number; - connectStart: number; - connectEnd: number; - tlsStart: number; - requestStart: number; - responseStart: number; - responseEnd: number; - }; - }; - timestamp: number; - isBlocked: boolean; - redirectCount: number; - intercepts?: string[] | undefined; - } & { - response: { - url: string; - status: number; - protocol: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - content: { - size: number; - }; - headersSize: number | null; - bodySize: number | null; - statusText: string; - fromCache: boolean; - mimeType: string; - bytesReceived: number; - authChallenge?: { - realm: string; - scheme: string; - } | undefined; - }; - }; - method: "network.responseCompleted"; -}>>, z.ZodLazy; - params: z.ZodLazy, z.ZodNull]>; - isBlocked: z.ZodBoolean; - navigation: z.ZodUnion<[z.ZodLazy, z.ZodNull]>; - redirectCount: z.ZodLazy; - request: z.ZodLazy; - url: z.ZodString; - method: z.ZodString; - headers: z.ZodArray; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "string"; - value: string; - }, { - type: "string"; - value: string; - }>>, z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "base64"; - value: string; - }, { - type: "base64"; - value: string; - }>>]>>; - }, "strip", z.ZodTypeAny, { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }, { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }>>, "many">; - cookies: z.ZodArray; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "string"; - value: string; - }, { - type: "string"; - value: string; - }>>, z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "base64"; - value: string; - }, { - type: "base64"; - value: string; - }>>]>>; - domain: z.ZodString; - path: z.ZodString; - size: z.ZodLazy; - httpOnly: z.ZodBoolean; - secure: z.ZodBoolean; - sameSite: z.ZodLazy>; - expiry: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - }, { - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - }>, z.ZodLazy>>>, "many">; - headersSize: z.ZodLazy; - bodySize: z.ZodUnion<[z.ZodLazy, z.ZodNull]>; - timings: z.ZodLazy>; - }, "strip", z.ZodTypeAny, { - url: string; - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - method: string; - request: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - headersSize: number; - bodySize: number | null; - timings: { - timeOrigin: number; - requestTime: number; - redirectStart: number; - redirectEnd: number; - fetchStart: number; - dnsStart: number; - dnsEnd: number; - connectStart: number; - connectEnd: number; - tlsStart: number; - requestStart: number; - responseStart: number; - responseEnd: number; - }; - }, { - url: string; - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - method: string; - request: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - headersSize: number; - bodySize: number | null; - timings: { - timeOrigin: number; - requestTime: number; - redirectStart: number; - redirectEnd: number; - fetchStart: number; - dnsStart: number; - dnsEnd: number; - connectStart: number; - connectEnd: number; - tlsStart: number; - requestStart: number; - responseStart: number; - responseEnd: number; - }; - }>>; - timestamp: z.ZodLazy; - intercepts: z.ZodOptional, "many">>; - }, "strip", z.ZodTypeAny, { - navigation: string | null; - context: string | null; - request: { - url: string; - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - method: string; - request: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - headersSize: number; - bodySize: number | null; - timings: { - timeOrigin: number; - requestTime: number; - redirectStart: number; - redirectEnd: number; - fetchStart: number; - dnsStart: number; - dnsEnd: number; - connectStart: number; - connectEnd: number; - tlsStart: number; - requestStart: number; - responseStart: number; - responseEnd: number; - }; - }; - timestamp: number; - isBlocked: boolean; - redirectCount: number; - intercepts?: string[] | undefined; - }, { - navigation: string | null; - context: string | null; - request: { - url: string; - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - method: string; - request: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - headersSize: number; - bodySize: number | null; - timings: { - timeOrigin: number; - requestTime: number; - redirectStart: number; - redirectEnd: number; - fetchStart: number; - dnsStart: number; - dnsEnd: number; - connectStart: number; - connectEnd: number; - tlsStart: number; - requestStart: number; - responseStart: number; - responseEnd: number; - }; - }; - timestamp: number; - isBlocked: boolean; - redirectCount: number; - intercepts?: string[] | undefined; - }>>, z.ZodObject<{ - response: z.ZodLazy; - statusText: z.ZodString; - fromCache: z.ZodBoolean; - headers: z.ZodArray; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "string"; - value: string; - }, { - type: "string"; - value: string; - }>>, z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "base64"; - value: string; - }, { - type: "base64"; - value: string; - }>>]>>; - }, "strip", z.ZodTypeAny, { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }, { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }>>, "many">; - mimeType: z.ZodString; - bytesReceived: z.ZodLazy; - headersSize: z.ZodUnion<[z.ZodLazy, z.ZodNull]>; - bodySize: z.ZodUnion<[z.ZodLazy, z.ZodNull]>; - content: z.ZodLazy; - }, "strip", z.ZodTypeAny, { - size: number; - }, { - size: number; - }>>; - authChallenge: z.ZodOptional>>; - }, "strip", z.ZodTypeAny, { - url: string; - status: number; - protocol: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - content: { - size: number; - }; - headersSize: number | null; - bodySize: number | null; - statusText: string; - fromCache: boolean; - mimeType: string; - bytesReceived: number; - authChallenge?: { - realm: string; - scheme: string; - } | undefined; - }, { - url: string; - status: number; - protocol: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - content: { - size: number; - }; - headersSize: number | null; - bodySize: number | null; - statusText: string; - fromCache: boolean; - mimeType: string; - bytesReceived: number; - authChallenge?: { - realm: string; - scheme: string; - } | undefined; - }>>; - }, "strip", z.ZodTypeAny, { - response: { - url: string; - status: number; - protocol: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - content: { - size: number; - }; - headersSize: number | null; - bodySize: number | null; - statusText: string; - fromCache: boolean; - mimeType: string; - bytesReceived: number; - authChallenge?: { - realm: string; - scheme: string; - } | undefined; - }; - }, { - response: { - url: string; - status: number; - protocol: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - content: { - size: number; - }; - headersSize: number | null; - bodySize: number | null; - statusText: string; - fromCache: boolean; - mimeType: string; - bytesReceived: number; - authChallenge?: { - realm: string; - scheme: string; - } | undefined; - }; - }>>>; -}, "strip", z.ZodTypeAny, { - params: { - navigation: string | null; - context: string | null; - request: { - url: string; - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - method: string; - request: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - headersSize: number; - bodySize: number | null; - timings: { - timeOrigin: number; - requestTime: number; - redirectStart: number; - redirectEnd: number; - fetchStart: number; - dnsStart: number; - dnsEnd: number; - connectStart: number; - connectEnd: number; - tlsStart: number; - requestStart: number; - responseStart: number; - responseEnd: number; - }; - }; - timestamp: number; - isBlocked: boolean; - redirectCount: number; - intercepts?: string[] | undefined; - } & { - response: { - url: string; - status: number; - protocol: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - content: { - size: number; - }; - headersSize: number | null; - bodySize: number | null; - statusText: string; - fromCache: boolean; - mimeType: string; - bytesReceived: number; - authChallenge?: { - realm: string; - scheme: string; - } | undefined; - }; - }; - method: "network.responseStarted"; -}, { - params: { - navigation: string | null; - context: string | null; - request: { - url: string; - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - method: string; - request: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - headersSize: number; - bodySize: number | null; - timings: { - timeOrigin: number; - requestTime: number; - redirectStart: number; - redirectEnd: number; - fetchStart: number; - dnsStart: number; - dnsEnd: number; - connectStart: number; - connectEnd: number; - tlsStart: number; - requestStart: number; - responseStart: number; - responseEnd: number; - }; - }; - timestamp: number; - isBlocked: boolean; - redirectCount: number; - intercepts?: string[] | undefined; - } & { - response: { - url: string; - status: number; - protocol: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - content: { - size: number; - }; - headersSize: number | null; - bodySize: number | null; - statusText: string; - fromCache: boolean; - mimeType: string; - bytesReceived: number; - authChallenge?: { - realm: string; - scheme: string; - } | undefined; - }; - }; - method: "network.responseStarted"; -}>>]>>; -export declare const NetworkResultSchema: z.ZodLazy; -}, "strip", z.ZodTypeAny, { - intercept: string; -}, { - intercept: string; -}>>>; -export declare namespace Network { - const AuthChallengeSchema: z.ZodLazy>; -} -export declare namespace Network { - const AuthCredentialsSchema: z.ZodLazy; - username: z.ZodString; - password: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "password"; - password: string; - username: string; - }, { - type: "password"; - password: string; - username: string; - }>>; -} -export declare namespace Network { - const BaseParametersSchema: z.ZodLazy, z.ZodNull]>; - isBlocked: z.ZodBoolean; - navigation: z.ZodUnion<[z.ZodLazy, z.ZodNull]>; - redirectCount: z.ZodLazy; - request: z.ZodLazy; - url: z.ZodString; - method: z.ZodString; - headers: z.ZodArray; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "string"; - value: string; - }, { - type: "string"; - value: string; - }>>, z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "base64"; - value: string; - }, { - type: "base64"; - value: string; - }>>]>>; - }, "strip", z.ZodTypeAny, { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }, { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }>>, "many">; - cookies: z.ZodArray; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "string"; - value: string; - }, { - type: "string"; - value: string; - }>>, z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "base64"; - value: string; - }, { - type: "base64"; - value: string; - }>>]>>; - domain: z.ZodString; - path: z.ZodString; - size: z.ZodLazy; - httpOnly: z.ZodBoolean; - secure: z.ZodBoolean; - sameSite: z.ZodLazy>; - expiry: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - }, { - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - }>, z.ZodLazy>>>, "many">; - headersSize: z.ZodLazy; - bodySize: z.ZodUnion<[z.ZodLazy, z.ZodNull]>; - timings: z.ZodLazy>; - }, "strip", z.ZodTypeAny, { - url: string; - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - method: string; - request: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - headersSize: number; - bodySize: number | null; - timings: { - timeOrigin: number; - requestTime: number; - redirectStart: number; - redirectEnd: number; - fetchStart: number; - dnsStart: number; - dnsEnd: number; - connectStart: number; - connectEnd: number; - tlsStart: number; - requestStart: number; - responseStart: number; - responseEnd: number; - }; - }, { - url: string; - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - method: string; - request: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - headersSize: number; - bodySize: number | null; - timings: { - timeOrigin: number; - requestTime: number; - redirectStart: number; - redirectEnd: number; - fetchStart: number; - dnsStart: number; - dnsEnd: number; - connectStart: number; - connectEnd: number; - tlsStart: number; - requestStart: number; - responseStart: number; - responseEnd: number; - }; - }>>; - timestamp: z.ZodLazy; - intercepts: z.ZodOptional, "many">>; - }, "strip", z.ZodTypeAny, { - navigation: string | null; - context: string | null; - request: { - url: string; - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - method: string; - request: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - headersSize: number; - bodySize: number | null; - timings: { - timeOrigin: number; - requestTime: number; - redirectStart: number; - redirectEnd: number; - fetchStart: number; - dnsStart: number; - dnsEnd: number; - connectStart: number; - connectEnd: number; - tlsStart: number; - requestStart: number; - responseStart: number; - responseEnd: number; - }; - }; - timestamp: number; - isBlocked: boolean; - redirectCount: number; - intercepts?: string[] | undefined; - }, { - navigation: string | null; - context: string | null; - request: { - url: string; - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - method: string; - request: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - headersSize: number; - bodySize: number | null; - timings: { - timeOrigin: number; - requestTime: number; - redirectStart: number; - redirectEnd: number; - fetchStart: number; - dnsStart: number; - dnsEnd: number; - connectStart: number; - connectEnd: number; - tlsStart: number; - requestStart: number; - responseStart: number; - responseEnd: number; - }; - }; - timestamp: number; - isBlocked: boolean; - redirectCount: number; - intercepts?: string[] | undefined; - }>>; -} -export declare namespace Network { - const BytesValueSchema: z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "string"; - value: string; - }, { - type: "string"; - value: string; - }>>, z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "base64"; - value: string; - }, { - type: "base64"; - value: string; - }>>]>>; -} -export declare namespace Network { - const StringValueSchema: z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "string"; - value: string; - }, { - type: "string"; - value: string; - }>>; -} -export declare namespace Network { - const Base64ValueSchema: z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "base64"; - value: string; - }, { - type: "base64"; - value: string; - }>>; -} -export declare namespace Network { - const SameSiteSchema: z.ZodLazy>; -} -export declare namespace Network { - const CookieSchema: z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "string"; - value: string; - }, { - type: "string"; - value: string; - }>>, z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "base64"; - value: string; - }, { - type: "base64"; - value: string; - }>>]>>; - domain: z.ZodString; - path: z.ZodString; - size: z.ZodLazy; - httpOnly: z.ZodBoolean; - secure: z.ZodBoolean; - sameSite: z.ZodLazy>; - expiry: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - }, { - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - }>, z.ZodLazy>>>; -} -export declare namespace Network { - const CookieHeaderSchema: z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "string"; - value: string; - }, { - type: "string"; - value: string; - }>>, z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "base64"; - value: string; - }, { - type: "base64"; - value: string; - }>>]>>; - }, "strip", z.ZodTypeAny, { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }, { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }>>; -} -export declare namespace Network { - const FetchTimingInfoSchema: z.ZodLazy>; -} -export declare namespace Network { - const HeaderSchema: z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "string"; - value: string; - }, { - type: "string"; - value: string; - }>>, z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "base64"; - value: string; - }, { - type: "base64"; - value: string; - }>>]>>; - }, "strip", z.ZodTypeAny, { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }, { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }>>; -} -export declare namespace Network { - const InitiatorSchema: z.ZodLazy; - columnNumber: z.ZodOptional>; - lineNumber: z.ZodOptional>; - stackTrace: z.ZodOptional; - functionName: z.ZodString; - lineNumber: z.ZodLazy; - url: z.ZodString; - }, "strip", z.ZodTypeAny, { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }, { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }>>, "many">; - }, "strip", z.ZodTypeAny, { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }, { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }>>>; - request: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - type: "other" | "script" | "parser" | "preflight"; - columnNumber?: number | undefined; - lineNumber?: number | undefined; - stackTrace?: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - } | undefined; - request?: string | undefined; - }, { - type: "other" | "script" | "parser" | "preflight"; - columnNumber?: number | undefined; - lineNumber?: number | undefined; - stackTrace?: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - } | undefined; - request?: string | undefined; - }>>; -} -export declare namespace Network { - const InterceptSchema: z.ZodLazy; -} -export declare namespace Network { - const RequestSchema: z.ZodLazy; -} -export declare namespace Network { - const RequestDataSchema: z.ZodLazy; - url: z.ZodString; - method: z.ZodString; - headers: z.ZodArray; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "string"; - value: string; - }, { - type: "string"; - value: string; - }>>, z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "base64"; - value: string; - }, { - type: "base64"; - value: string; - }>>]>>; - }, "strip", z.ZodTypeAny, { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }, { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }>>, "many">; - cookies: z.ZodArray; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "string"; - value: string; - }, { - type: "string"; - value: string; - }>>, z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "base64"; - value: string; - }, { - type: "base64"; - value: string; - }>>]>>; - domain: z.ZodString; - path: z.ZodString; - size: z.ZodLazy; - httpOnly: z.ZodBoolean; - secure: z.ZodBoolean; - sameSite: z.ZodLazy>; - expiry: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - }, { - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - }>, z.ZodLazy>>>, "many">; - headersSize: z.ZodLazy; - bodySize: z.ZodUnion<[z.ZodLazy, z.ZodNull]>; - timings: z.ZodLazy>; - }, "strip", z.ZodTypeAny, { - url: string; - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - method: string; - request: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - headersSize: number; - bodySize: number | null; - timings: { - timeOrigin: number; - requestTime: number; - redirectStart: number; - redirectEnd: number; - fetchStart: number; - dnsStart: number; - dnsEnd: number; - connectStart: number; - connectEnd: number; - tlsStart: number; - requestStart: number; - responseStart: number; - responseEnd: number; - }; - }, { - url: string; - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - method: string; - request: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - headersSize: number; - bodySize: number | null; - timings: { - timeOrigin: number; - requestTime: number; - redirectStart: number; - redirectEnd: number; - fetchStart: number; - dnsStart: number; - dnsEnd: number; - connectStart: number; - connectEnd: number; - tlsStart: number; - requestStart: number; - responseStart: number; - responseEnd: number; - }; - }>>; -} -export declare namespace Network { - const ResponseContentSchema: z.ZodLazy; - }, "strip", z.ZodTypeAny, { - size: number; - }, { - size: number; - }>>; -} -export declare namespace Network { - const ResponseDataSchema: z.ZodLazy; - statusText: z.ZodString; - fromCache: z.ZodBoolean; - headers: z.ZodArray; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "string"; - value: string; - }, { - type: "string"; - value: string; - }>>, z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "base64"; - value: string; - }, { - type: "base64"; - value: string; - }>>]>>; - }, "strip", z.ZodTypeAny, { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }, { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }>>, "many">; - mimeType: z.ZodString; - bytesReceived: z.ZodLazy; - headersSize: z.ZodUnion<[z.ZodLazy, z.ZodNull]>; - bodySize: z.ZodUnion<[z.ZodLazy, z.ZodNull]>; - content: z.ZodLazy; - }, "strip", z.ZodTypeAny, { - size: number; - }, { - size: number; - }>>; - authChallenge: z.ZodOptional>>; - }, "strip", z.ZodTypeAny, { - url: string; - status: number; - protocol: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - content: { - size: number; - }; - headersSize: number | null; - bodySize: number | null; - statusText: string; - fromCache: boolean; - mimeType: string; - bytesReceived: number; - authChallenge?: { - realm: string; - scheme: string; - } | undefined; - }, { - url: string; - status: number; - protocol: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - content: { - size: number; - }; - headersSize: number | null; - bodySize: number | null; - statusText: string; - fromCache: boolean; - mimeType: string; - bytesReceived: number; - authChallenge?: { - realm: string; - scheme: string; - } | undefined; - }>>; -} -export declare namespace Network { - const SetCookieHeaderSchema: z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "string"; - value: string; - }, { - type: "string"; - value: string; - }>>, z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "base64"; - value: string; - }, { - type: "base64"; - value: string; - }>>]>>; - domain: z.ZodOptional; - httpOnly: z.ZodOptional; - expiry: z.ZodOptional; - maxAge: z.ZodOptional>; - path: z.ZodOptional; - sameSite: z.ZodOptional>>; - secure: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - domain?: string | undefined; - httpOnly?: boolean | undefined; - expiry?: string | undefined; - maxAge?: number | undefined; - path?: string | undefined; - sameSite?: "strict" | "none" | "lax" | undefined; - secure?: boolean | undefined; - }, { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - domain?: string | undefined; - httpOnly?: boolean | undefined; - expiry?: string | undefined; - maxAge?: number | undefined; - path?: string | undefined; - sameSite?: "strict" | "none" | "lax" | undefined; - secure?: boolean | undefined; - }>>; -} -export declare namespace Network { - const UrlPatternSchema: z.ZodLazy; - protocol: z.ZodOptional; - hostname: z.ZodOptional; - port: z.ZodOptional; - pathname: z.ZodOptional; - search: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - type: "pattern"; - protocol?: string | undefined; - hostname?: string | undefined; - port?: string | undefined; - pathname?: string | undefined; - search?: string | undefined; - }, { - type: "pattern"; - protocol?: string | undefined; - hostname?: string | undefined; - port?: string | undefined; - pathname?: string | undefined; - search?: string | undefined; - }>>, z.ZodLazy; - pattern: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "string"; - pattern: string; - }, { - type: "string"; - pattern: string; - }>>]>>; -} -export declare namespace Network { - const UrlPatternPatternSchema: z.ZodLazy; - protocol: z.ZodOptional; - hostname: z.ZodOptional; - port: z.ZodOptional; - pathname: z.ZodOptional; - search: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - type: "pattern"; - protocol?: string | undefined; - hostname?: string | undefined; - port?: string | undefined; - pathname?: string | undefined; - search?: string | undefined; - }, { - type: "pattern"; - protocol?: string | undefined; - hostname?: string | undefined; - port?: string | undefined; - pathname?: string | undefined; - search?: string | undefined; - }>>; -} -export declare namespace Network { - const UrlPatternStringSchema: z.ZodLazy; - pattern: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "string"; - pattern: string; - }, { - type: "string"; - pattern: string; - }>>; -} -export declare namespace Network { - const AddInterceptParametersSchema: z.ZodLazy>, "many">; - contexts: z.ZodOptional, "many">>; - urlPatterns: z.ZodOptional; - protocol: z.ZodOptional; - hostname: z.ZodOptional; - port: z.ZodOptional; - pathname: z.ZodOptional; - search: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - type: "pattern"; - protocol?: string | undefined; - hostname?: string | undefined; - port?: string | undefined; - pathname?: string | undefined; - search?: string | undefined; - }, { - type: "pattern"; - protocol?: string | undefined; - hostname?: string | undefined; - port?: string | undefined; - pathname?: string | undefined; - search?: string | undefined; - }>>, z.ZodLazy; - pattern: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "string"; - pattern: string; - }, { - type: "string"; - pattern: string; - }>>]>>, "many">>; - }, "strip", z.ZodTypeAny, { - phases: ("beforeRequestSent" | "responseStarted" | "authRequired")[]; - contexts?: string[] | undefined; - urlPatterns?: ({ - type: "pattern"; - protocol?: string | undefined; - hostname?: string | undefined; - port?: string | undefined; - pathname?: string | undefined; - search?: string | undefined; - } | { - type: "string"; - pattern: string; - })[] | undefined; - }, { - phases: ("beforeRequestSent" | "responseStarted" | "authRequired")[]; - contexts?: string[] | undefined; - urlPatterns?: ({ - type: "pattern"; - protocol?: string | undefined; - hostname?: string | undefined; - port?: string | undefined; - pathname?: string | undefined; - search?: string | undefined; - } | { - type: "string"; - pattern: string; - })[] | undefined; - }>>; -} -export declare namespace Network { - const AddInterceptSchema: z.ZodLazy; - params: z.ZodLazy>, "many">; - contexts: z.ZodOptional, "many">>; - urlPatterns: z.ZodOptional; - protocol: z.ZodOptional; - hostname: z.ZodOptional; - port: z.ZodOptional; - pathname: z.ZodOptional; - search: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - type: "pattern"; - protocol?: string | undefined; - hostname?: string | undefined; - port?: string | undefined; - pathname?: string | undefined; - search?: string | undefined; - }, { - type: "pattern"; - protocol?: string | undefined; - hostname?: string | undefined; - port?: string | undefined; - pathname?: string | undefined; - search?: string | undefined; - }>>, z.ZodLazy; - pattern: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "string"; - pattern: string; - }, { - type: "string"; - pattern: string; - }>>]>>, "many">>; - }, "strip", z.ZodTypeAny, { - phases: ("beforeRequestSent" | "responseStarted" | "authRequired")[]; - contexts?: string[] | undefined; - urlPatterns?: ({ - type: "pattern"; - protocol?: string | undefined; - hostname?: string | undefined; - port?: string | undefined; - pathname?: string | undefined; - search?: string | undefined; - } | { - type: "string"; - pattern: string; - })[] | undefined; - }, { - phases: ("beforeRequestSent" | "responseStarted" | "authRequired")[]; - contexts?: string[] | undefined; - urlPatterns?: ({ - type: "pattern"; - protocol?: string | undefined; - hostname?: string | undefined; - port?: string | undefined; - pathname?: string | undefined; - search?: string | undefined; - } | { - type: "string"; - pattern: string; - })[] | undefined; - }>>; - }, "strip", z.ZodTypeAny, { - params: { - phases: ("beforeRequestSent" | "responseStarted" | "authRequired")[]; - contexts?: string[] | undefined; - urlPatterns?: ({ - type: "pattern"; - protocol?: string | undefined; - hostname?: string | undefined; - port?: string | undefined; - pathname?: string | undefined; - search?: string | undefined; - } | { - type: "string"; - pattern: string; - })[] | undefined; - }; - method: "network.addIntercept"; - }, { - params: { - phases: ("beforeRequestSent" | "responseStarted" | "authRequired")[]; - contexts?: string[] | undefined; - urlPatterns?: ({ - type: "pattern"; - protocol?: string | undefined; - hostname?: string | undefined; - port?: string | undefined; - pathname?: string | undefined; - search?: string | undefined; - } | { - type: "string"; - pattern: string; - })[] | undefined; - }; - method: "network.addIntercept"; - }>>; -} -export declare namespace Network { - const InterceptPhaseSchema: z.ZodLazy>; -} -export declare namespace Network { - const AddInterceptResultSchema: z.ZodLazy; - }, "strip", z.ZodTypeAny, { - intercept: string; - }, { - intercept: string; - }>>; -} -export declare namespace Network { - const ContinueRequestSchema: z.ZodLazy; - params: z.ZodLazy; - body: z.ZodOptional; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "string"; - value: string; - }, { - type: "string"; - value: string; - }>>, z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "base64"; - value: string; - }, { - type: "base64"; - value: string; - }>>]>>>; - cookies: z.ZodOptional; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "string"; - value: string; - }, { - type: "string"; - value: string; - }>>, z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "base64"; - value: string; - }, { - type: "base64"; - value: string; - }>>]>>; - }, "strip", z.ZodTypeAny, { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }, { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }>>, "many">>; - headers: z.ZodOptional; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "string"; - value: string; - }, { - type: "string"; - value: string; - }>>, z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "base64"; - value: string; - }, { - type: "base64"; - value: string; - }>>]>>; - }, "strip", z.ZodTypeAny, { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }, { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }>>, "many">>; - method: z.ZodOptional; - url: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - request: string; - body?: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - } | undefined; - cookies?: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[] | undefined; - headers?: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[] | undefined; - method?: string | undefined; - url?: string | undefined; - }, { - request: string; - body?: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - } | undefined; - cookies?: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[] | undefined; - headers?: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[] | undefined; - method?: string | undefined; - url?: string | undefined; - }>>; - }, "strip", z.ZodTypeAny, { - params: { - request: string; - body?: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - } | undefined; - cookies?: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[] | undefined; - headers?: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[] | undefined; - method?: string | undefined; - url?: string | undefined; - }; - method: "network.continueRequest"; - }, { - params: { - request: string; - body?: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - } | undefined; - cookies?: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[] | undefined; - headers?: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[] | undefined; - method?: string | undefined; - url?: string | undefined; - }; - method: "network.continueRequest"; - }>>; -} -export declare namespace Network { - const ContinueRequestParametersSchema: z.ZodLazy; - body: z.ZodOptional; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "string"; - value: string; - }, { - type: "string"; - value: string; - }>>, z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "base64"; - value: string; - }, { - type: "base64"; - value: string; - }>>]>>>; - cookies: z.ZodOptional; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "string"; - value: string; - }, { - type: "string"; - value: string; - }>>, z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "base64"; - value: string; - }, { - type: "base64"; - value: string; - }>>]>>; - }, "strip", z.ZodTypeAny, { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }, { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }>>, "many">>; - headers: z.ZodOptional; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "string"; - value: string; - }, { - type: "string"; - value: string; - }>>, z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "base64"; - value: string; - }, { - type: "base64"; - value: string; - }>>]>>; - }, "strip", z.ZodTypeAny, { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }, { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }>>, "many">>; - method: z.ZodOptional; - url: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - request: string; - body?: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - } | undefined; - cookies?: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[] | undefined; - headers?: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[] | undefined; - method?: string | undefined; - url?: string | undefined; - }, { - request: string; - body?: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - } | undefined; - cookies?: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[] | undefined; - headers?: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[] | undefined; - method?: string | undefined; - url?: string | undefined; - }>>; -} -export declare namespace Network { - const ContinueResponseSchema: z.ZodLazy; - params: z.ZodLazy; - cookies: z.ZodOptional; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "string"; - value: string; - }, { - type: "string"; - value: string; - }>>, z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "base64"; - value: string; - }, { - type: "base64"; - value: string; - }>>]>>; - domain: z.ZodOptional; - httpOnly: z.ZodOptional; - expiry: z.ZodOptional; - maxAge: z.ZodOptional>; - path: z.ZodOptional; - sameSite: z.ZodOptional>>; - secure: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - domain?: string | undefined; - httpOnly?: boolean | undefined; - expiry?: string | undefined; - maxAge?: number | undefined; - path?: string | undefined; - sameSite?: "strict" | "none" | "lax" | undefined; - secure?: boolean | undefined; - }, { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - domain?: string | undefined; - httpOnly?: boolean | undefined; - expiry?: string | undefined; - maxAge?: number | undefined; - path?: string | undefined; - sameSite?: "strict" | "none" | "lax" | undefined; - secure?: boolean | undefined; - }>>, "many">>; - credentials: z.ZodOptional; - username: z.ZodString; - password: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "password"; - password: string; - username: string; - }, { - type: "password"; - password: string; - username: string; - }>>>; - headers: z.ZodOptional; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "string"; - value: string; - }, { - type: "string"; - value: string; - }>>, z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "base64"; - value: string; - }, { - type: "base64"; - value: string; - }>>]>>; - }, "strip", z.ZodTypeAny, { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }, { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }>>, "many">>; - reasonPhrase: z.ZodOptional; - statusCode: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - request: string; - cookies?: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - domain?: string | undefined; - httpOnly?: boolean | undefined; - expiry?: string | undefined; - maxAge?: number | undefined; - path?: string | undefined; - sameSite?: "strict" | "none" | "lax" | undefined; - secure?: boolean | undefined; - }[] | undefined; - credentials?: { - type: "password"; - password: string; - username: string; - } | undefined; - headers?: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[] | undefined; - reasonPhrase?: string | undefined; - statusCode?: number | undefined; - }, { - request: string; - cookies?: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - domain?: string | undefined; - httpOnly?: boolean | undefined; - expiry?: string | undefined; - maxAge?: number | undefined; - path?: string | undefined; - sameSite?: "strict" | "none" | "lax" | undefined; - secure?: boolean | undefined; - }[] | undefined; - credentials?: { - type: "password"; - password: string; - username: string; - } | undefined; - headers?: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[] | undefined; - reasonPhrase?: string | undefined; - statusCode?: number | undefined; - }>>; - }, "strip", z.ZodTypeAny, { - params: { - request: string; - cookies?: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - domain?: string | undefined; - httpOnly?: boolean | undefined; - expiry?: string | undefined; - maxAge?: number | undefined; - path?: string | undefined; - sameSite?: "strict" | "none" | "lax" | undefined; - secure?: boolean | undefined; - }[] | undefined; - credentials?: { - type: "password"; - password: string; - username: string; - } | undefined; - headers?: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[] | undefined; - reasonPhrase?: string | undefined; - statusCode?: number | undefined; - }; - method: "network.continueResponse"; - }, { - params: { - request: string; - cookies?: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - domain?: string | undefined; - httpOnly?: boolean | undefined; - expiry?: string | undefined; - maxAge?: number | undefined; - path?: string | undefined; - sameSite?: "strict" | "none" | "lax" | undefined; - secure?: boolean | undefined; - }[] | undefined; - credentials?: { - type: "password"; - password: string; - username: string; - } | undefined; - headers?: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[] | undefined; - reasonPhrase?: string | undefined; - statusCode?: number | undefined; - }; - method: "network.continueResponse"; - }>>; -} -export declare namespace Network { - const ContinueResponseParametersSchema: z.ZodLazy; - cookies: z.ZodOptional; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "string"; - value: string; - }, { - type: "string"; - value: string; - }>>, z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "base64"; - value: string; - }, { - type: "base64"; - value: string; - }>>]>>; - domain: z.ZodOptional; - httpOnly: z.ZodOptional; - expiry: z.ZodOptional; - maxAge: z.ZodOptional>; - path: z.ZodOptional; - sameSite: z.ZodOptional>>; - secure: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - domain?: string | undefined; - httpOnly?: boolean | undefined; - expiry?: string | undefined; - maxAge?: number | undefined; - path?: string | undefined; - sameSite?: "strict" | "none" | "lax" | undefined; - secure?: boolean | undefined; - }, { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - domain?: string | undefined; - httpOnly?: boolean | undefined; - expiry?: string | undefined; - maxAge?: number | undefined; - path?: string | undefined; - sameSite?: "strict" | "none" | "lax" | undefined; - secure?: boolean | undefined; - }>>, "many">>; - credentials: z.ZodOptional; - username: z.ZodString; - password: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "password"; - password: string; - username: string; - }, { - type: "password"; - password: string; - username: string; - }>>>; - headers: z.ZodOptional; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "string"; - value: string; - }, { - type: "string"; - value: string; - }>>, z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "base64"; - value: string; - }, { - type: "base64"; - value: string; - }>>]>>; - }, "strip", z.ZodTypeAny, { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }, { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }>>, "many">>; - reasonPhrase: z.ZodOptional; - statusCode: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - request: string; - cookies?: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - domain?: string | undefined; - httpOnly?: boolean | undefined; - expiry?: string | undefined; - maxAge?: number | undefined; - path?: string | undefined; - sameSite?: "strict" | "none" | "lax" | undefined; - secure?: boolean | undefined; - }[] | undefined; - credentials?: { - type: "password"; - password: string; - username: string; - } | undefined; - headers?: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[] | undefined; - reasonPhrase?: string | undefined; - statusCode?: number | undefined; - }, { - request: string; - cookies?: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - domain?: string | undefined; - httpOnly?: boolean | undefined; - expiry?: string | undefined; - maxAge?: number | undefined; - path?: string | undefined; - sameSite?: "strict" | "none" | "lax" | undefined; - secure?: boolean | undefined; - }[] | undefined; - credentials?: { - type: "password"; - password: string; - username: string; - } | undefined; - headers?: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[] | undefined; - reasonPhrase?: string | undefined; - statusCode?: number | undefined; - }>>; -} -export declare namespace Network { - const ContinueWithAuthSchema: z.ZodLazy; - params: z.ZodLazy; - }, "strip", z.ZodTypeAny, { - request: string; - }, { - request: string; - }>, z.ZodUnion<[z.ZodLazy; - credentials: z.ZodLazy; - username: z.ZodString; - password: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "password"; - password: string; - username: string; - }, { - type: "password"; - password: string; - username: string; - }>>; - }, "strip", z.ZodTypeAny, { - credentials: { - type: "password"; - password: string; - username: string; - }; - action: "provideCredentials"; - }, { - credentials: { - type: "password"; - password: string; - username: string; - }; - action: "provideCredentials"; - }>>, z.ZodLazy; - }, "strip", z.ZodTypeAny, { - action: "default" | "cancel"; - }, { - action: "default" | "cancel"; - }>>]>>>; - }, "strip", z.ZodTypeAny, { - params: ({ - request: string; - } & { - credentials: { - type: "password"; - password: string; - username: string; - }; - action: "provideCredentials"; - }) | ({ - request: string; - } & { - action: "default" | "cancel"; - }); - method: "network.continueWithAuth"; - }, { - params: ({ - request: string; - } & { - credentials: { - type: "password"; - password: string; - username: string; - }; - action: "provideCredentials"; - }) | ({ - request: string; - } & { - action: "default" | "cancel"; - }); - method: "network.continueWithAuth"; - }>>; -} -export declare namespace Network { - const ContinueWithAuthParametersSchema: z.ZodLazy; - }, "strip", z.ZodTypeAny, { - request: string; - }, { - request: string; - }>, z.ZodUnion<[z.ZodLazy; - credentials: z.ZodLazy; - username: z.ZodString; - password: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "password"; - password: string; - username: string; - }, { - type: "password"; - password: string; - username: string; - }>>; - }, "strip", z.ZodTypeAny, { - credentials: { - type: "password"; - password: string; - username: string; - }; - action: "provideCredentials"; - }, { - credentials: { - type: "password"; - password: string; - username: string; - }; - action: "provideCredentials"; - }>>, z.ZodLazy; - }, "strip", z.ZodTypeAny, { - action: "default" | "cancel"; - }, { - action: "default" | "cancel"; - }>>]>>>; -} -export declare namespace Network { - const ContinueWithAuthCredentialsSchema: z.ZodLazy; - credentials: z.ZodLazy; - username: z.ZodString; - password: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "password"; - password: string; - username: string; - }, { - type: "password"; - password: string; - username: string; - }>>; - }, "strip", z.ZodTypeAny, { - credentials: { - type: "password"; - password: string; - username: string; - }; - action: "provideCredentials"; - }, { - credentials: { - type: "password"; - password: string; - username: string; - }; - action: "provideCredentials"; - }>>; -} -export declare namespace Network { - const ContinueWithAuthNoCredentialsSchema: z.ZodLazy; - }, "strip", z.ZodTypeAny, { - action: "default" | "cancel"; - }, { - action: "default" | "cancel"; - }>>; -} -export declare namespace Network { - const FailRequestSchema: z.ZodLazy; - params: z.ZodLazy; - }, "strip", z.ZodTypeAny, { - request: string; - }, { - request: string; - }>>; - }, "strip", z.ZodTypeAny, { - params: { - request: string; - }; - method: "network.failRequest"; - }, { - params: { - request: string; - }; - method: "network.failRequest"; - }>>; -} -export declare namespace Network { - const FailRequestParametersSchema: z.ZodLazy; - }, "strip", z.ZodTypeAny, { - request: string; - }, { - request: string; - }>>; -} -export declare namespace Network { - const ProvideResponseSchema: z.ZodLazy; - params: z.ZodLazy; - body: z.ZodOptional; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "string"; - value: string; - }, { - type: "string"; - value: string; - }>>, z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "base64"; - value: string; - }, { - type: "base64"; - value: string; - }>>]>>>; - cookies: z.ZodOptional; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "string"; - value: string; - }, { - type: "string"; - value: string; - }>>, z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "base64"; - value: string; - }, { - type: "base64"; - value: string; - }>>]>>; - domain: z.ZodOptional; - httpOnly: z.ZodOptional; - expiry: z.ZodOptional; - maxAge: z.ZodOptional>; - path: z.ZodOptional; - sameSite: z.ZodOptional>>; - secure: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - domain?: string | undefined; - httpOnly?: boolean | undefined; - expiry?: string | undefined; - maxAge?: number | undefined; - path?: string | undefined; - sameSite?: "strict" | "none" | "lax" | undefined; - secure?: boolean | undefined; - }, { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - domain?: string | undefined; - httpOnly?: boolean | undefined; - expiry?: string | undefined; - maxAge?: number | undefined; - path?: string | undefined; - sameSite?: "strict" | "none" | "lax" | undefined; - secure?: boolean | undefined; - }>>, "many">>; - headers: z.ZodOptional; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "string"; - value: string; - }, { - type: "string"; - value: string; - }>>, z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "base64"; - value: string; - }, { - type: "base64"; - value: string; - }>>]>>; - }, "strip", z.ZodTypeAny, { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }, { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }>>, "many">>; - reasonPhrase: z.ZodOptional; - statusCode: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - request: string; - body?: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - } | undefined; - cookies?: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - domain?: string | undefined; - httpOnly?: boolean | undefined; - expiry?: string | undefined; - maxAge?: number | undefined; - path?: string | undefined; - sameSite?: "strict" | "none" | "lax" | undefined; - secure?: boolean | undefined; - }[] | undefined; - headers?: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[] | undefined; - reasonPhrase?: string | undefined; - statusCode?: number | undefined; - }, { - request: string; - body?: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - } | undefined; - cookies?: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - domain?: string | undefined; - httpOnly?: boolean | undefined; - expiry?: string | undefined; - maxAge?: number | undefined; - path?: string | undefined; - sameSite?: "strict" | "none" | "lax" | undefined; - secure?: boolean | undefined; - }[] | undefined; - headers?: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[] | undefined; - reasonPhrase?: string | undefined; - statusCode?: number | undefined; - }>>; - }, "strip", z.ZodTypeAny, { - params: { - request: string; - body?: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - } | undefined; - cookies?: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - domain?: string | undefined; - httpOnly?: boolean | undefined; - expiry?: string | undefined; - maxAge?: number | undefined; - path?: string | undefined; - sameSite?: "strict" | "none" | "lax" | undefined; - secure?: boolean | undefined; - }[] | undefined; - headers?: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[] | undefined; - reasonPhrase?: string | undefined; - statusCode?: number | undefined; - }; - method: "network.provideResponse"; - }, { - params: { - request: string; - body?: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - } | undefined; - cookies?: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - domain?: string | undefined; - httpOnly?: boolean | undefined; - expiry?: string | undefined; - maxAge?: number | undefined; - path?: string | undefined; - sameSite?: "strict" | "none" | "lax" | undefined; - secure?: boolean | undefined; - }[] | undefined; - headers?: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[] | undefined; - reasonPhrase?: string | undefined; - statusCode?: number | undefined; - }; - method: "network.provideResponse"; - }>>; -} -export declare namespace Network { - const ProvideResponseParametersSchema: z.ZodLazy; - body: z.ZodOptional; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "string"; - value: string; - }, { - type: "string"; - value: string; - }>>, z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "base64"; - value: string; - }, { - type: "base64"; - value: string; - }>>]>>>; - cookies: z.ZodOptional; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "string"; - value: string; - }, { - type: "string"; - value: string; - }>>, z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "base64"; - value: string; - }, { - type: "base64"; - value: string; - }>>]>>; - domain: z.ZodOptional; - httpOnly: z.ZodOptional; - expiry: z.ZodOptional; - maxAge: z.ZodOptional>; - path: z.ZodOptional; - sameSite: z.ZodOptional>>; - secure: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - domain?: string | undefined; - httpOnly?: boolean | undefined; - expiry?: string | undefined; - maxAge?: number | undefined; - path?: string | undefined; - sameSite?: "strict" | "none" | "lax" | undefined; - secure?: boolean | undefined; - }, { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - domain?: string | undefined; - httpOnly?: boolean | undefined; - expiry?: string | undefined; - maxAge?: number | undefined; - path?: string | undefined; - sameSite?: "strict" | "none" | "lax" | undefined; - secure?: boolean | undefined; - }>>, "many">>; - headers: z.ZodOptional; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "string"; - value: string; - }, { - type: "string"; - value: string; - }>>, z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "base64"; - value: string; - }, { - type: "base64"; - value: string; - }>>]>>; - }, "strip", z.ZodTypeAny, { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }, { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }>>, "many">>; - reasonPhrase: z.ZodOptional; - statusCode: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - request: string; - body?: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - } | undefined; - cookies?: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - domain?: string | undefined; - httpOnly?: boolean | undefined; - expiry?: string | undefined; - maxAge?: number | undefined; - path?: string | undefined; - sameSite?: "strict" | "none" | "lax" | undefined; - secure?: boolean | undefined; - }[] | undefined; - headers?: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[] | undefined; - reasonPhrase?: string | undefined; - statusCode?: number | undefined; - }, { - request: string; - body?: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - } | undefined; - cookies?: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - domain?: string | undefined; - httpOnly?: boolean | undefined; - expiry?: string | undefined; - maxAge?: number | undefined; - path?: string | undefined; - sameSite?: "strict" | "none" | "lax" | undefined; - secure?: boolean | undefined; - }[] | undefined; - headers?: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[] | undefined; - reasonPhrase?: string | undefined; - statusCode?: number | undefined; - }>>; -} -export declare namespace Network { - const RemoveInterceptSchema: z.ZodLazy; - params: z.ZodLazy; - }, "strip", z.ZodTypeAny, { - intercept: string; - }, { - intercept: string; - }>>; - }, "strip", z.ZodTypeAny, { - params: { - intercept: string; - }; - method: "network.removeIntercept"; - }, { - params: { - intercept: string; - }; - method: "network.removeIntercept"; - }>>; -} -export declare namespace Network { - const RemoveInterceptParametersSchema: z.ZodLazy; - }, "strip", z.ZodTypeAny, { - intercept: string; - }, { - intercept: string; - }>>; -} -export declare const ScriptEventSchema: z.ZodLazy; - params: z.ZodLazy; - data: any; - source: z.ZodLazy; - context: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - realm: string; - context?: string | undefined; - }, { - realm: string; - context?: string | undefined; - }>>; - }, "strip", z.ZodTypeAny, { - channel: string; - source: { - realm: string; - context?: string | undefined; - }; - data?: any; - }, { - channel: string; - source: { - realm: string; - context?: string | undefined; - }; - data?: any; - }>>; -}, "strip", z.ZodTypeAny, { - params: { - channel: string; - source: { - realm: string; - context?: string | undefined; - }; - data?: any; - }; - method: "script.message"; -}, { - params: { - channel: string; - source: { - realm: string; - context?: string | undefined; - }; - data?: any; - }; - method: "script.message"; -}>>, z.ZodLazy; - params: z.ZodLazy; - origin: z.ZodString; - }, "strip", z.ZodTypeAny, { - origin: string; - realm: string; - }, { - origin: string; - realm: string; - }>>, z.ZodObject<{ - type: z.ZodLiteral<"window">; - context: z.ZodLazy; - sandbox: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - type: "window"; - context: string; - sandbox?: string | undefined; - }, { - type: "window"; - context: string; - sandbox?: string | undefined; - }>>>, z.ZodLazy; - origin: z.ZodString; - }, "strip", z.ZodTypeAny, { - origin: string; - realm: string; - }, { - origin: string; - realm: string; - }>>, z.ZodObject<{ - type: z.ZodLiteral<"dedicated-worker">; - owners: z.ZodTuple<[z.ZodLazy], null>; - }, "strip", z.ZodTypeAny, { - type: "dedicated-worker"; - owners: [string]; - }, { - type: "dedicated-worker"; - owners: [string]; - }>>>, z.ZodLazy; - origin: z.ZodString; - }, "strip", z.ZodTypeAny, { - origin: string; - realm: string; - }, { - origin: string; - realm: string; - }>>, z.ZodObject<{ - type: z.ZodLiteral<"shared-worker">; - }, "strip", z.ZodTypeAny, { - type: "shared-worker"; - }, { - type: "shared-worker"; - }>>>, z.ZodLazy; - origin: z.ZodString; - }, "strip", z.ZodTypeAny, { - origin: string; - realm: string; - }, { - origin: string; - realm: string; - }>>, z.ZodObject<{ - type: z.ZodLiteral<"service-worker">; - }, "strip", z.ZodTypeAny, { - type: "service-worker"; - }, { - type: "service-worker"; - }>>>, z.ZodLazy; - origin: z.ZodString; - }, "strip", z.ZodTypeAny, { - origin: string; - realm: string; - }, { - origin: string; - realm: string; - }>>, z.ZodObject<{ - type: z.ZodLiteral<"worker">; - }, "strip", z.ZodTypeAny, { - type: "worker"; - }, { - type: "worker"; - }>>>, z.ZodLazy; - origin: z.ZodString; - }, "strip", z.ZodTypeAny, { - origin: string; - realm: string; - }, { - origin: string; - realm: string; - }>>, z.ZodObject<{ - type: z.ZodLiteral<"paint-worklet">; - }, "strip", z.ZodTypeAny, { - type: "paint-worklet"; - }, { - type: "paint-worklet"; - }>>>, z.ZodLazy; - origin: z.ZodString; - }, "strip", z.ZodTypeAny, { - origin: string; - realm: string; - }, { - origin: string; - realm: string; - }>>, z.ZodObject<{ - type: z.ZodLiteral<"audio-worklet">; - }, "strip", z.ZodTypeAny, { - type: "audio-worklet"; - }, { - type: "audio-worklet"; - }>>>, z.ZodLazy; - origin: z.ZodString; - }, "strip", z.ZodTypeAny, { - origin: string; - realm: string; - }, { - origin: string; - realm: string; - }>>, z.ZodObject<{ - type: z.ZodLiteral<"worklet">; - }, "strip", z.ZodTypeAny, { - type: "worklet"; - }, { - type: "worklet"; - }>>>]>>; -}, "strip", z.ZodTypeAny, { - params: ({ - origin: string; - realm: string; - } & { - type: "window"; - context: string; - sandbox?: string | undefined; - }) | ({ - origin: string; - realm: string; - } & { - type: "dedicated-worker"; - owners: [string]; - }) | ({ - origin: string; - realm: string; - } & { - type: "shared-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "service-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "paint-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "audio-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worklet"; - }); - method: "script.realmCreated"; -}, { - params: ({ - origin: string; - realm: string; - } & { - type: "window"; - context: string; - sandbox?: string | undefined; - }) | ({ - origin: string; - realm: string; - } & { - type: "dedicated-worker"; - owners: [string]; - }) | ({ - origin: string; - realm: string; - } & { - type: "shared-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "service-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "paint-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "audio-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worklet"; - }); - method: "script.realmCreated"; -}>>, z.ZodLazy; - params: z.ZodLazy; - }, "strip", z.ZodTypeAny, { - realm: string; - }, { - realm: string; - }>>; -}, "strip", z.ZodTypeAny, { - params: { - realm: string; - }; - method: "script.realmDestroyed"; -}, { - params: { - realm: string; - }; - method: "script.realmDestroyed"; -}>>]>>; -export declare namespace Network { - const AuthRequiredParametersSchema: z.ZodLazy, z.ZodNull]>; - isBlocked: z.ZodBoolean; - navigation: z.ZodUnion<[z.ZodLazy, z.ZodNull]>; - redirectCount: z.ZodLazy; - request: z.ZodLazy; - url: z.ZodString; - method: z.ZodString; - headers: z.ZodArray; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "string"; - value: string; - }, { - type: "string"; - value: string; - }>>, z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "base64"; - value: string; - }, { - type: "base64"; - value: string; - }>>]>>; - }, "strip", z.ZodTypeAny, { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }, { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }>>, "many">; - cookies: z.ZodArray; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "string"; - value: string; - }, { - type: "string"; - value: string; - }>>, z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "base64"; - value: string; - }, { - type: "base64"; - value: string; - }>>]>>; - domain: z.ZodString; - path: z.ZodString; - size: z.ZodLazy; - httpOnly: z.ZodBoolean; - secure: z.ZodBoolean; - sameSite: z.ZodLazy>; - expiry: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - }, { - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - }>, z.ZodLazy>>>, "many">; - headersSize: z.ZodLazy; - bodySize: z.ZodUnion<[z.ZodLazy, z.ZodNull]>; - timings: z.ZodLazy>; - }, "strip", z.ZodTypeAny, { - url: string; - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - method: string; - request: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - headersSize: number; - bodySize: number | null; - timings: { - timeOrigin: number; - requestTime: number; - redirectStart: number; - redirectEnd: number; - fetchStart: number; - dnsStart: number; - dnsEnd: number; - connectStart: number; - connectEnd: number; - tlsStart: number; - requestStart: number; - responseStart: number; - responseEnd: number; - }; - }, { - url: string; - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - method: string; - request: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - headersSize: number; - bodySize: number | null; - timings: { - timeOrigin: number; - requestTime: number; - redirectStart: number; - redirectEnd: number; - fetchStart: number; - dnsStart: number; - dnsEnd: number; - connectStart: number; - connectEnd: number; - tlsStart: number; - requestStart: number; - responseStart: number; - responseEnd: number; - }; - }>>; - timestamp: z.ZodLazy; - intercepts: z.ZodOptional, "many">>; - }, "strip", z.ZodTypeAny, { - navigation: string | null; - context: string | null; - request: { - url: string; - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - method: string; - request: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - headersSize: number; - bodySize: number | null; - timings: { - timeOrigin: number; - requestTime: number; - redirectStart: number; - redirectEnd: number; - fetchStart: number; - dnsStart: number; - dnsEnd: number; - connectStart: number; - connectEnd: number; - tlsStart: number; - requestStart: number; - responseStart: number; - responseEnd: number; - }; - }; - timestamp: number; - isBlocked: boolean; - redirectCount: number; - intercepts?: string[] | undefined; - }, { - navigation: string | null; - context: string | null; - request: { - url: string; - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - method: string; - request: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - headersSize: number; - bodySize: number | null; - timings: { - timeOrigin: number; - requestTime: number; - redirectStart: number; - redirectEnd: number; - fetchStart: number; - dnsStart: number; - dnsEnd: number; - connectStart: number; - connectEnd: number; - tlsStart: number; - requestStart: number; - responseStart: number; - responseEnd: number; - }; - }; - timestamp: number; - isBlocked: boolean; - redirectCount: number; - intercepts?: string[] | undefined; - }>>, z.ZodObject<{ - response: z.ZodLazy; - statusText: z.ZodString; - fromCache: z.ZodBoolean; - headers: z.ZodArray; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "string"; - value: string; - }, { - type: "string"; - value: string; - }>>, z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "base64"; - value: string; - }, { - type: "base64"; - value: string; - }>>]>>; - }, "strip", z.ZodTypeAny, { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }, { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }>>, "many">; - mimeType: z.ZodString; - bytesReceived: z.ZodLazy; - headersSize: z.ZodUnion<[z.ZodLazy, z.ZodNull]>; - bodySize: z.ZodUnion<[z.ZodLazy, z.ZodNull]>; - content: z.ZodLazy; - }, "strip", z.ZodTypeAny, { - size: number; - }, { - size: number; - }>>; - authChallenge: z.ZodOptional>>; - }, "strip", z.ZodTypeAny, { - url: string; - status: number; - protocol: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - content: { - size: number; - }; - headersSize: number | null; - bodySize: number | null; - statusText: string; - fromCache: boolean; - mimeType: string; - bytesReceived: number; - authChallenge?: { - realm: string; - scheme: string; - } | undefined; - }, { - url: string; - status: number; - protocol: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - content: { - size: number; - }; - headersSize: number | null; - bodySize: number | null; - statusText: string; - fromCache: boolean; - mimeType: string; - bytesReceived: number; - authChallenge?: { - realm: string; - scheme: string; - } | undefined; - }>>; - }, "strip", z.ZodTypeAny, { - response: { - url: string; - status: number; - protocol: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - content: { - size: number; - }; - headersSize: number | null; - bodySize: number | null; - statusText: string; - fromCache: boolean; - mimeType: string; - bytesReceived: number; - authChallenge?: { - realm: string; - scheme: string; - } | undefined; - }; - }, { - response: { - url: string; - status: number; - protocol: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - content: { - size: number; - }; - headersSize: number | null; - bodySize: number | null; - statusText: string; - fromCache: boolean; - mimeType: string; - bytesReceived: number; - authChallenge?: { - realm: string; - scheme: string; - } | undefined; - }; - }>>>; -} -export declare namespace Network { - const BeforeRequestSentParametersSchema: z.ZodLazy, z.ZodNull]>; - isBlocked: z.ZodBoolean; - navigation: z.ZodUnion<[z.ZodLazy, z.ZodNull]>; - redirectCount: z.ZodLazy; - request: z.ZodLazy; - url: z.ZodString; - method: z.ZodString; - headers: z.ZodArray; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "string"; - value: string; - }, { - type: "string"; - value: string; - }>>, z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "base64"; - value: string; - }, { - type: "base64"; - value: string; - }>>]>>; - }, "strip", z.ZodTypeAny, { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }, { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }>>, "many">; - cookies: z.ZodArray; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "string"; - value: string; - }, { - type: "string"; - value: string; - }>>, z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "base64"; - value: string; - }, { - type: "base64"; - value: string; - }>>]>>; - domain: z.ZodString; - path: z.ZodString; - size: z.ZodLazy; - httpOnly: z.ZodBoolean; - secure: z.ZodBoolean; - sameSite: z.ZodLazy>; - expiry: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - }, { - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - }>, z.ZodLazy>>>, "many">; - headersSize: z.ZodLazy; - bodySize: z.ZodUnion<[z.ZodLazy, z.ZodNull]>; - timings: z.ZodLazy>; - }, "strip", z.ZodTypeAny, { - url: string; - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - method: string; - request: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - headersSize: number; - bodySize: number | null; - timings: { - timeOrigin: number; - requestTime: number; - redirectStart: number; - redirectEnd: number; - fetchStart: number; - dnsStart: number; - dnsEnd: number; - connectStart: number; - connectEnd: number; - tlsStart: number; - requestStart: number; - responseStart: number; - responseEnd: number; - }; - }, { - url: string; - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - method: string; - request: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - headersSize: number; - bodySize: number | null; - timings: { - timeOrigin: number; - requestTime: number; - redirectStart: number; - redirectEnd: number; - fetchStart: number; - dnsStart: number; - dnsEnd: number; - connectStart: number; - connectEnd: number; - tlsStart: number; - requestStart: number; - responseStart: number; - responseEnd: number; - }; - }>>; - timestamp: z.ZodLazy; - intercepts: z.ZodOptional, "many">>; - }, "strip", z.ZodTypeAny, { - navigation: string | null; - context: string | null; - request: { - url: string; - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - method: string; - request: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - headersSize: number; - bodySize: number | null; - timings: { - timeOrigin: number; - requestTime: number; - redirectStart: number; - redirectEnd: number; - fetchStart: number; - dnsStart: number; - dnsEnd: number; - connectStart: number; - connectEnd: number; - tlsStart: number; - requestStart: number; - responseStart: number; - responseEnd: number; - }; - }; - timestamp: number; - isBlocked: boolean; - redirectCount: number; - intercepts?: string[] | undefined; - }, { - navigation: string | null; - context: string | null; - request: { - url: string; - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - method: string; - request: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - headersSize: number; - bodySize: number | null; - timings: { - timeOrigin: number; - requestTime: number; - redirectStart: number; - redirectEnd: number; - fetchStart: number; - dnsStart: number; - dnsEnd: number; - connectStart: number; - connectEnd: number; - tlsStart: number; - requestStart: number; - responseStart: number; - responseEnd: number; - }; - }; - timestamp: number; - isBlocked: boolean; - redirectCount: number; - intercepts?: string[] | undefined; - }>>, z.ZodObject<{ - initiator: z.ZodLazy; - columnNumber: z.ZodOptional>; - lineNumber: z.ZodOptional>; - stackTrace: z.ZodOptional; - functionName: z.ZodString; - lineNumber: z.ZodLazy; - url: z.ZodString; - }, "strip", z.ZodTypeAny, { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }, { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }>>, "many">; - }, "strip", z.ZodTypeAny, { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }, { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }>>>; - request: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - type: "other" | "script" | "parser" | "preflight"; - columnNumber?: number | undefined; - lineNumber?: number | undefined; - stackTrace?: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - } | undefined; - request?: string | undefined; - }, { - type: "other" | "script" | "parser" | "preflight"; - columnNumber?: number | undefined; - lineNumber?: number | undefined; - stackTrace?: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - } | undefined; - request?: string | undefined; - }>>; - }, "strip", z.ZodTypeAny, { - initiator: { - type: "other" | "script" | "parser" | "preflight"; - columnNumber?: number | undefined; - lineNumber?: number | undefined; - stackTrace?: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - } | undefined; - request?: string | undefined; - }; - }, { - initiator: { - type: "other" | "script" | "parser" | "preflight"; - columnNumber?: number | undefined; - lineNumber?: number | undefined; - stackTrace?: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - } | undefined; - request?: string | undefined; - }; - }>>>; -} -export declare namespace Network { - const FetchErrorParametersSchema: z.ZodLazy, z.ZodNull]>; - isBlocked: z.ZodBoolean; - navigation: z.ZodUnion<[z.ZodLazy, z.ZodNull]>; - redirectCount: z.ZodLazy; - request: z.ZodLazy; - url: z.ZodString; - method: z.ZodString; - headers: z.ZodArray; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "string"; - value: string; - }, { - type: "string"; - value: string; - }>>, z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "base64"; - value: string; - }, { - type: "base64"; - value: string; - }>>]>>; - }, "strip", z.ZodTypeAny, { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }, { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }>>, "many">; - cookies: z.ZodArray; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "string"; - value: string; - }, { - type: "string"; - value: string; - }>>, z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "base64"; - value: string; - }, { - type: "base64"; - value: string; - }>>]>>; - domain: z.ZodString; - path: z.ZodString; - size: z.ZodLazy; - httpOnly: z.ZodBoolean; - secure: z.ZodBoolean; - sameSite: z.ZodLazy>; - expiry: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - }, { - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - }>, z.ZodLazy>>>, "many">; - headersSize: z.ZodLazy; - bodySize: z.ZodUnion<[z.ZodLazy, z.ZodNull]>; - timings: z.ZodLazy>; - }, "strip", z.ZodTypeAny, { - url: string; - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - method: string; - request: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - headersSize: number; - bodySize: number | null; - timings: { - timeOrigin: number; - requestTime: number; - redirectStart: number; - redirectEnd: number; - fetchStart: number; - dnsStart: number; - dnsEnd: number; - connectStart: number; - connectEnd: number; - tlsStart: number; - requestStart: number; - responseStart: number; - responseEnd: number; - }; - }, { - url: string; - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - method: string; - request: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - headersSize: number; - bodySize: number | null; - timings: { - timeOrigin: number; - requestTime: number; - redirectStart: number; - redirectEnd: number; - fetchStart: number; - dnsStart: number; - dnsEnd: number; - connectStart: number; - connectEnd: number; - tlsStart: number; - requestStart: number; - responseStart: number; - responseEnd: number; - }; - }>>; - timestamp: z.ZodLazy; - intercepts: z.ZodOptional, "many">>; - }, "strip", z.ZodTypeAny, { - navigation: string | null; - context: string | null; - request: { - url: string; - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - method: string; - request: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - headersSize: number; - bodySize: number | null; - timings: { - timeOrigin: number; - requestTime: number; - redirectStart: number; - redirectEnd: number; - fetchStart: number; - dnsStart: number; - dnsEnd: number; - connectStart: number; - connectEnd: number; - tlsStart: number; - requestStart: number; - responseStart: number; - responseEnd: number; - }; - }; - timestamp: number; - isBlocked: boolean; - redirectCount: number; - intercepts?: string[] | undefined; - }, { - navigation: string | null; - context: string | null; - request: { - url: string; - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - method: string; - request: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - headersSize: number; - bodySize: number | null; - timings: { - timeOrigin: number; - requestTime: number; - redirectStart: number; - redirectEnd: number; - fetchStart: number; - dnsStart: number; - dnsEnd: number; - connectStart: number; - connectEnd: number; - tlsStart: number; - requestStart: number; - responseStart: number; - responseEnd: number; - }; - }; - timestamp: number; - isBlocked: boolean; - redirectCount: number; - intercepts?: string[] | undefined; - }>>, z.ZodObject<{ - errorText: z.ZodString; - }, "strip", z.ZodTypeAny, { - errorText: string; - }, { - errorText: string; - }>>>; -} -export declare namespace Network { - const ResponseCompletedParametersSchema: z.ZodLazy, z.ZodNull]>; - isBlocked: z.ZodBoolean; - navigation: z.ZodUnion<[z.ZodLazy, z.ZodNull]>; - redirectCount: z.ZodLazy; - request: z.ZodLazy; - url: z.ZodString; - method: z.ZodString; - headers: z.ZodArray; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "string"; - value: string; - }, { - type: "string"; - value: string; - }>>, z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "base64"; - value: string; - }, { - type: "base64"; - value: string; - }>>]>>; - }, "strip", z.ZodTypeAny, { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }, { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }>>, "many">; - cookies: z.ZodArray; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "string"; - value: string; - }, { - type: "string"; - value: string; - }>>, z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "base64"; - value: string; - }, { - type: "base64"; - value: string; - }>>]>>; - domain: z.ZodString; - path: z.ZodString; - size: z.ZodLazy; - httpOnly: z.ZodBoolean; - secure: z.ZodBoolean; - sameSite: z.ZodLazy>; - expiry: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - }, { - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - }>, z.ZodLazy>>>, "many">; - headersSize: z.ZodLazy; - bodySize: z.ZodUnion<[z.ZodLazy, z.ZodNull]>; - timings: z.ZodLazy>; - }, "strip", z.ZodTypeAny, { - url: string; - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - method: string; - request: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - headersSize: number; - bodySize: number | null; - timings: { - timeOrigin: number; - requestTime: number; - redirectStart: number; - redirectEnd: number; - fetchStart: number; - dnsStart: number; - dnsEnd: number; - connectStart: number; - connectEnd: number; - tlsStart: number; - requestStart: number; - responseStart: number; - responseEnd: number; - }; - }, { - url: string; - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - method: string; - request: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - headersSize: number; - bodySize: number | null; - timings: { - timeOrigin: number; - requestTime: number; - redirectStart: number; - redirectEnd: number; - fetchStart: number; - dnsStart: number; - dnsEnd: number; - connectStart: number; - connectEnd: number; - tlsStart: number; - requestStart: number; - responseStart: number; - responseEnd: number; - }; - }>>; - timestamp: z.ZodLazy; - intercepts: z.ZodOptional, "many">>; - }, "strip", z.ZodTypeAny, { - navigation: string | null; - context: string | null; - request: { - url: string; - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - method: string; - request: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - headersSize: number; - bodySize: number | null; - timings: { - timeOrigin: number; - requestTime: number; - redirectStart: number; - redirectEnd: number; - fetchStart: number; - dnsStart: number; - dnsEnd: number; - connectStart: number; - connectEnd: number; - tlsStart: number; - requestStart: number; - responseStart: number; - responseEnd: number; - }; - }; - timestamp: number; - isBlocked: boolean; - redirectCount: number; - intercepts?: string[] | undefined; - }, { - navigation: string | null; - context: string | null; - request: { - url: string; - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - method: string; - request: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - headersSize: number; - bodySize: number | null; - timings: { - timeOrigin: number; - requestTime: number; - redirectStart: number; - redirectEnd: number; - fetchStart: number; - dnsStart: number; - dnsEnd: number; - connectStart: number; - connectEnd: number; - tlsStart: number; - requestStart: number; - responseStart: number; - responseEnd: number; - }; - }; - timestamp: number; - isBlocked: boolean; - redirectCount: number; - intercepts?: string[] | undefined; - }>>, z.ZodObject<{ - response: z.ZodLazy; - statusText: z.ZodString; - fromCache: z.ZodBoolean; - headers: z.ZodArray; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "string"; - value: string; - }, { - type: "string"; - value: string; - }>>, z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "base64"; - value: string; - }, { - type: "base64"; - value: string; - }>>]>>; - }, "strip", z.ZodTypeAny, { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }, { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }>>, "many">; - mimeType: z.ZodString; - bytesReceived: z.ZodLazy; - headersSize: z.ZodUnion<[z.ZodLazy, z.ZodNull]>; - bodySize: z.ZodUnion<[z.ZodLazy, z.ZodNull]>; - content: z.ZodLazy; - }, "strip", z.ZodTypeAny, { - size: number; - }, { - size: number; - }>>; - authChallenge: z.ZodOptional>>; - }, "strip", z.ZodTypeAny, { - url: string; - status: number; - protocol: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - content: { - size: number; - }; - headersSize: number | null; - bodySize: number | null; - statusText: string; - fromCache: boolean; - mimeType: string; - bytesReceived: number; - authChallenge?: { - realm: string; - scheme: string; - } | undefined; - }, { - url: string; - status: number; - protocol: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - content: { - size: number; - }; - headersSize: number | null; - bodySize: number | null; - statusText: string; - fromCache: boolean; - mimeType: string; - bytesReceived: number; - authChallenge?: { - realm: string; - scheme: string; - } | undefined; - }>>; - }, "strip", z.ZodTypeAny, { - response: { - url: string; - status: number; - protocol: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - content: { - size: number; - }; - headersSize: number | null; - bodySize: number | null; - statusText: string; - fromCache: boolean; - mimeType: string; - bytesReceived: number; - authChallenge?: { - realm: string; - scheme: string; - } | undefined; - }; - }, { - response: { - url: string; - status: number; - protocol: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - content: { - size: number; - }; - headersSize: number | null; - bodySize: number | null; - statusText: string; - fromCache: boolean; - mimeType: string; - bytesReceived: number; - authChallenge?: { - realm: string; - scheme: string; - } | undefined; - }; - }>>>; -} -export declare namespace Network { - const ResponseStartedParametersSchema: z.ZodLazy, z.ZodNull]>; - isBlocked: z.ZodBoolean; - navigation: z.ZodUnion<[z.ZodLazy, z.ZodNull]>; - redirectCount: z.ZodLazy; - request: z.ZodLazy; - url: z.ZodString; - method: z.ZodString; - headers: z.ZodArray; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "string"; - value: string; - }, { - type: "string"; - value: string; - }>>, z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "base64"; - value: string; - }, { - type: "base64"; - value: string; - }>>]>>; - }, "strip", z.ZodTypeAny, { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }, { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }>>, "many">; - cookies: z.ZodArray; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "string"; - value: string; - }, { - type: "string"; - value: string; - }>>, z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "base64"; - value: string; - }, { - type: "base64"; - value: string; - }>>]>>; - domain: z.ZodString; - path: z.ZodString; - size: z.ZodLazy; - httpOnly: z.ZodBoolean; - secure: z.ZodBoolean; - sameSite: z.ZodLazy>; - expiry: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - }, { - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - }>, z.ZodLazy>>>, "many">; - headersSize: z.ZodLazy; - bodySize: z.ZodUnion<[z.ZodLazy, z.ZodNull]>; - timings: z.ZodLazy>; - }, "strip", z.ZodTypeAny, { - url: string; - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - method: string; - request: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - headersSize: number; - bodySize: number | null; - timings: { - timeOrigin: number; - requestTime: number; - redirectStart: number; - redirectEnd: number; - fetchStart: number; - dnsStart: number; - dnsEnd: number; - connectStart: number; - connectEnd: number; - tlsStart: number; - requestStart: number; - responseStart: number; - responseEnd: number; - }; - }, { - url: string; - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - method: string; - request: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - headersSize: number; - bodySize: number | null; - timings: { - timeOrigin: number; - requestTime: number; - redirectStart: number; - redirectEnd: number; - fetchStart: number; - dnsStart: number; - dnsEnd: number; - connectStart: number; - connectEnd: number; - tlsStart: number; - requestStart: number; - responseStart: number; - responseEnd: number; - }; - }>>; - timestamp: z.ZodLazy; - intercepts: z.ZodOptional, "many">>; - }, "strip", z.ZodTypeAny, { - navigation: string | null; - context: string | null; - request: { - url: string; - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - method: string; - request: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - headersSize: number; - bodySize: number | null; - timings: { - timeOrigin: number; - requestTime: number; - redirectStart: number; - redirectEnd: number; - fetchStart: number; - dnsStart: number; - dnsEnd: number; - connectStart: number; - connectEnd: number; - tlsStart: number; - requestStart: number; - responseStart: number; - responseEnd: number; - }; - }; - timestamp: number; - isBlocked: boolean; - redirectCount: number; - intercepts?: string[] | undefined; - }, { - navigation: string | null; - context: string | null; - request: { - url: string; - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - method: string; - request: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - headersSize: number; - bodySize: number | null; - timings: { - timeOrigin: number; - requestTime: number; - redirectStart: number; - redirectEnd: number; - fetchStart: number; - dnsStart: number; - dnsEnd: number; - connectStart: number; - connectEnd: number; - tlsStart: number; - requestStart: number; - responseStart: number; - responseEnd: number; - }; - }; - timestamp: number; - isBlocked: boolean; - redirectCount: number; - intercepts?: string[] | undefined; - }>>, z.ZodObject<{ - response: z.ZodLazy; - statusText: z.ZodString; - fromCache: z.ZodBoolean; - headers: z.ZodArray; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "string"; - value: string; - }, { - type: "string"; - value: string; - }>>, z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "base64"; - value: string; - }, { - type: "base64"; - value: string; - }>>]>>; - }, "strip", z.ZodTypeAny, { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }, { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }>>, "many">; - mimeType: z.ZodString; - bytesReceived: z.ZodLazy; - headersSize: z.ZodUnion<[z.ZodLazy, z.ZodNull]>; - bodySize: z.ZodUnion<[z.ZodLazy, z.ZodNull]>; - content: z.ZodLazy; - }, "strip", z.ZodTypeAny, { - size: number; - }, { - size: number; - }>>; - authChallenge: z.ZodOptional>>; - }, "strip", z.ZodTypeAny, { - url: string; - status: number; - protocol: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - content: { - size: number; - }; - headersSize: number | null; - bodySize: number | null; - statusText: string; - fromCache: boolean; - mimeType: string; - bytesReceived: number; - authChallenge?: { - realm: string; - scheme: string; - } | undefined; - }, { - url: string; - status: number; - protocol: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - content: { - size: number; - }; - headersSize: number | null; - bodySize: number | null; - statusText: string; - fromCache: boolean; - mimeType: string; - bytesReceived: number; - authChallenge?: { - realm: string; - scheme: string; - } | undefined; - }>>; - }, "strip", z.ZodTypeAny, { - response: { - url: string; - status: number; - protocol: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - content: { - size: number; - }; - headersSize: number | null; - bodySize: number | null; - statusText: string; - fromCache: boolean; - mimeType: string; - bytesReceived: number; - authChallenge?: { - realm: string; - scheme: string; - } | undefined; - }; - }, { - response: { - url: string; - status: number; - protocol: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - content: { - size: number; - }; - headersSize: number | null; - bodySize: number | null; - statusText: string; - fromCache: boolean; - mimeType: string; - bytesReceived: number; - authChallenge?: { - realm: string; - scheme: string; - } | undefined; - }; - }>>>; -} -export declare const ScriptCommandSchema: z.ZodLazy; - params: z.ZodLazy; - value: z.ZodLazy; - serializationOptions: z.ZodOptional, z.ZodNull]>>>; - maxObjectDepth: z.ZodOptional, z.ZodNull]>>>; - includeShadowTree: z.ZodOptional>>; - }, "strip", z.ZodTypeAny, { - maxDomDepth?: number | null | undefined; - maxObjectDepth?: number | null | undefined; - includeShadowTree?: "none" | "all" | "open" | undefined; - }, { - maxDomDepth?: number | null | undefined; - maxObjectDepth?: number | null | undefined; - includeShadowTree?: "none" | "all" | "open" | undefined; - }>>>; - ownership: z.ZodOptional>>; - }, "strip", z.ZodTypeAny, { - channel: string; - serializationOptions?: { - maxDomDepth?: number | null | undefined; - maxObjectDepth?: number | null | undefined; - includeShadowTree?: "none" | "all" | "open" | undefined; - } | undefined; - ownership?: "none" | "root" | undefined; - }, { - channel: string; - serializationOptions?: { - maxDomDepth?: number | null | undefined; - maxObjectDepth?: number | null | undefined; - includeShadowTree?: "none" | "all" | "open" | undefined; - } | undefined; - ownership?: "none" | "root" | undefined; - }>>; - }, "strip", z.ZodTypeAny, { - type: "channel"; - value: { - channel: string; - serializationOptions?: { - maxDomDepth?: number | null | undefined; - maxObjectDepth?: number | null | undefined; - includeShadowTree?: "none" | "all" | "open" | undefined; - } | undefined; - ownership?: "none" | "root" | undefined; - }; - }, { - type: "channel"; - value: { - channel: string; - serializationOptions?: { - maxDomDepth?: number | null | undefined; - maxObjectDepth?: number | null | undefined; - includeShadowTree?: "none" | "all" | "open" | undefined; - } | undefined; - ownership?: "none" | "root" | undefined; - }; - }>>, "many">>; - contexts: z.ZodOptional, "many">>; - sandbox: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - functionDeclaration: string; - arguments?: { - type: "channel"; - value: { - channel: string; - serializationOptions?: { - maxDomDepth?: number | null | undefined; - maxObjectDepth?: number | null | undefined; - includeShadowTree?: "none" | "all" | "open" | undefined; - } | undefined; - ownership?: "none" | "root" | undefined; - }; - }[] | undefined; - contexts?: string[] | undefined; - sandbox?: string | undefined; - }, { - functionDeclaration: string; - arguments?: { - type: "channel"; - value: { - channel: string; - serializationOptions?: { - maxDomDepth?: number | null | undefined; - maxObjectDepth?: number | null | undefined; - includeShadowTree?: "none" | "all" | "open" | undefined; - } | undefined; - ownership?: "none" | "root" | undefined; - }; - }[] | undefined; - contexts?: string[] | undefined; - sandbox?: string | undefined; - }>>; -}, "strip", z.ZodTypeAny, { - params: { - functionDeclaration: string; - arguments?: { - type: "channel"; - value: { - channel: string; - serializationOptions?: { - maxDomDepth?: number | null | undefined; - maxObjectDepth?: number | null | undefined; - includeShadowTree?: "none" | "all" | "open" | undefined; - } | undefined; - ownership?: "none" | "root" | undefined; - }; - }[] | undefined; - contexts?: string[] | undefined; - sandbox?: string | undefined; - }; - method: "script.addPreloadScript"; -}, { - params: { - functionDeclaration: string; - arguments?: { - type: "channel"; - value: { - channel: string; - serializationOptions?: { - maxDomDepth?: number | null | undefined; - maxObjectDepth?: number | null | undefined; - includeShadowTree?: "none" | "all" | "open" | undefined; - } | undefined; - ownership?: "none" | "root" | undefined; - }; - }[] | undefined; - contexts?: string[] | undefined; - sandbox?: string | undefined; - }; - method: "script.addPreloadScript"; -}>>, z.ZodLazy; - params: z.ZodLazy; - }, "strip", z.ZodTypeAny, { - realm: string; - }, { - realm: string; - }>>, z.ZodLazy; - sandbox: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - context: string; - sandbox?: string | undefined; - }, { - context: string; - sandbox?: string | undefined; - }>>]>>; - arguments: z.ZodOptional>; - resultOwnership: z.ZodOptional>>; - serializationOptions: z.ZodOptional, z.ZodNull]>>>; - maxObjectDepth: z.ZodOptional, z.ZodNull]>>>; - includeShadowTree: z.ZodOptional>>; - }, "strip", z.ZodTypeAny, { - maxDomDepth?: number | null | undefined; - maxObjectDepth?: number | null | undefined; - includeShadowTree?: "none" | "all" | "open" | undefined; - }, { - maxDomDepth?: number | null | undefined; - maxObjectDepth?: number | null | undefined; - includeShadowTree?: "none" | "all" | "open" | undefined; - }>>>; - this: any; - userActivation: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - target: ({ - realm: string; - } | { - context: string; - sandbox?: string | undefined; - }) & ({ - realm: string; - } | { - context: string; - sandbox?: string | undefined; - } | undefined); - awaitPromise: boolean; - functionDeclaration: string; - arguments?: any[] | undefined; - resultOwnership?: "none" | "root" | undefined; - serializationOptions?: { - maxDomDepth?: number | null | undefined; - maxObjectDepth?: number | null | undefined; - includeShadowTree?: "none" | "all" | "open" | undefined; - } | undefined; - this?: any; - userActivation?: boolean | undefined; - }, { - target: ({ - realm: string; - } | { - context: string; - sandbox?: string | undefined; - }) & ({ - realm: string; - } | { - context: string; - sandbox?: string | undefined; - } | undefined); - awaitPromise: boolean; - functionDeclaration: string; - arguments?: any[] | undefined; - resultOwnership?: "none" | "root" | undefined; - serializationOptions?: { - maxDomDepth?: number | null | undefined; - maxObjectDepth?: number | null | undefined; - includeShadowTree?: "none" | "all" | "open" | undefined; - } | undefined; - this?: any; - userActivation?: boolean | undefined; - }>>; -}, "strip", z.ZodTypeAny, { - params: { - target: ({ - realm: string; - } | { - context: string; - sandbox?: string | undefined; - }) & ({ - realm: string; - } | { - context: string; - sandbox?: string | undefined; - } | undefined); - awaitPromise: boolean; - functionDeclaration: string; - arguments?: any[] | undefined; - resultOwnership?: "none" | "root" | undefined; - serializationOptions?: { - maxDomDepth?: number | null | undefined; - maxObjectDepth?: number | null | undefined; - includeShadowTree?: "none" | "all" | "open" | undefined; - } | undefined; - this?: any; - userActivation?: boolean | undefined; - }; - method: "script.callFunction"; -}, { - params: { - target: ({ - realm: string; - } | { - context: string; - sandbox?: string | undefined; - }) & ({ - realm: string; - } | { - context: string; - sandbox?: string | undefined; - } | undefined); - awaitPromise: boolean; - functionDeclaration: string; - arguments?: any[] | undefined; - resultOwnership?: "none" | "root" | undefined; - serializationOptions?: { - maxDomDepth?: number | null | undefined; - maxObjectDepth?: number | null | undefined; - includeShadowTree?: "none" | "all" | "open" | undefined; - } | undefined; - this?: any; - userActivation?: boolean | undefined; - }; - method: "script.callFunction"; -}>>, z.ZodLazy; - params: z.ZodLazy, "many">; - target: z.ZodLazy; - }, "strip", z.ZodTypeAny, { - realm: string; - }, { - realm: string; - }>>, z.ZodLazy; - sandbox: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - context: string; - sandbox?: string | undefined; - }, { - context: string; - sandbox?: string | undefined; - }>>]>>; - }, "strip", z.ZodTypeAny, { - target: ({ - realm: string; - } | { - context: string; - sandbox?: string | undefined; - }) & ({ - realm: string; - } | { - context: string; - sandbox?: string | undefined; - } | undefined); - handles: string[]; - }, { - target: ({ - realm: string; - } | { - context: string; - sandbox?: string | undefined; - }) & ({ - realm: string; - } | { - context: string; - sandbox?: string | undefined; - } | undefined); - handles: string[]; - }>>; -}, "strip", z.ZodTypeAny, { - params: { - target: ({ - realm: string; - } | { - context: string; - sandbox?: string | undefined; - }) & ({ - realm: string; - } | { - context: string; - sandbox?: string | undefined; - } | undefined); - handles: string[]; - }; - method: "script.disown"; -}, { - params: { - target: ({ - realm: string; - } | { - context: string; - sandbox?: string | undefined; - }) & ({ - realm: string; - } | { - context: string; - sandbox?: string | undefined; - } | undefined); - handles: string[]; - }; - method: "script.disown"; -}>>, z.ZodLazy; - params: z.ZodLazy; - }, "strip", z.ZodTypeAny, { - realm: string; - }, { - realm: string; - }>>, z.ZodLazy; - sandbox: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - context: string; - sandbox?: string | undefined; - }, { - context: string; - sandbox?: string | undefined; - }>>]>>; - awaitPromise: z.ZodBoolean; - resultOwnership: z.ZodOptional>>; - serializationOptions: z.ZodOptional, z.ZodNull]>>>; - maxObjectDepth: z.ZodOptional, z.ZodNull]>>>; - includeShadowTree: z.ZodOptional>>; - }, "strip", z.ZodTypeAny, { - maxDomDepth?: number | null | undefined; - maxObjectDepth?: number | null | undefined; - includeShadowTree?: "none" | "all" | "open" | undefined; - }, { - maxDomDepth?: number | null | undefined; - maxObjectDepth?: number | null | undefined; - includeShadowTree?: "none" | "all" | "open" | undefined; - }>>>; - userActivation: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - expression: string; - target: ({ - realm: string; - } | { - context: string; - sandbox?: string | undefined; - }) & ({ - realm: string; - } | { - context: string; - sandbox?: string | undefined; - } | undefined); - awaitPromise: boolean; - resultOwnership?: "none" | "root" | undefined; - serializationOptions?: { - maxDomDepth?: number | null | undefined; - maxObjectDepth?: number | null | undefined; - includeShadowTree?: "none" | "all" | "open" | undefined; - } | undefined; - userActivation?: boolean | undefined; - }, { - expression: string; - target: ({ - realm: string; - } | { - context: string; - sandbox?: string | undefined; - }) & ({ - realm: string; - } | { - context: string; - sandbox?: string | undefined; - } | undefined); - awaitPromise: boolean; - resultOwnership?: "none" | "root" | undefined; - serializationOptions?: { - maxDomDepth?: number | null | undefined; - maxObjectDepth?: number | null | undefined; - includeShadowTree?: "none" | "all" | "open" | undefined; - } | undefined; - userActivation?: boolean | undefined; - }>>; -}, "strip", z.ZodTypeAny, { - params: { - expression: string; - target: ({ - realm: string; - } | { - context: string; - sandbox?: string | undefined; - }) & ({ - realm: string; - } | { - context: string; - sandbox?: string | undefined; - } | undefined); - awaitPromise: boolean; - resultOwnership?: "none" | "root" | undefined; - serializationOptions?: { - maxDomDepth?: number | null | undefined; - maxObjectDepth?: number | null | undefined; - includeShadowTree?: "none" | "all" | "open" | undefined; - } | undefined; - userActivation?: boolean | undefined; - }; - method: "script.evaluate"; -}, { - params: { - expression: string; - target: ({ - realm: string; - } | { - context: string; - sandbox?: string | undefined; - }) & ({ - realm: string; - } | { - context: string; - sandbox?: string | undefined; - } | undefined); - awaitPromise: boolean; - resultOwnership?: "none" | "root" | undefined; - serializationOptions?: { - maxDomDepth?: number | null | undefined; - maxObjectDepth?: number | null | undefined; - includeShadowTree?: "none" | "all" | "open" | undefined; - } | undefined; - userActivation?: boolean | undefined; - }; - method: "script.evaluate"; -}>>, z.ZodLazy; - params: z.ZodLazy>; - type: z.ZodOptional>>; - }, "strip", z.ZodTypeAny, { - context?: string | undefined; - type?: "worker" | "window" | "dedicated-worker" | "shared-worker" | "service-worker" | "paint-worklet" | "audio-worklet" | "worklet" | undefined; - }, { - context?: string | undefined; - type?: "worker" | "window" | "dedicated-worker" | "shared-worker" | "service-worker" | "paint-worklet" | "audio-worklet" | "worklet" | undefined; - }>>; -}, "strip", z.ZodTypeAny, { - params: { - context?: string | undefined; - type?: "worker" | "window" | "dedicated-worker" | "shared-worker" | "service-worker" | "paint-worklet" | "audio-worklet" | "worklet" | undefined; - }; - method: "script.getRealms"; -}, { - params: { - context?: string | undefined; - type?: "worker" | "window" | "dedicated-worker" | "shared-worker" | "service-worker" | "paint-worklet" | "audio-worklet" | "worklet" | undefined; - }; - method: "script.getRealms"; -}>>, z.ZodLazy; - params: z.ZodLazy; - }, "strip", z.ZodTypeAny, { - script: string; - }, { - script: string; - }>>; -}, "strip", z.ZodTypeAny, { - params: { - script: string; - }; - method: "script.removePreloadScript"; -}, { - params: { - script: string; - }; - method: "script.removePreloadScript"; -}>>]>>; -export declare const ScriptResultSchema: z.ZodLazy; -}, "strip", z.ZodTypeAny, { - script: string; -}, { - script: string; -}>>, z.ZodLazy; - result: any; - realm: z.ZodLazy; -}, "strip", z.ZodTypeAny, { - type: "success"; - realm: string; - result?: any; -}, { - type: "success"; - realm: string; - result?: any; -}>>, z.ZodLazy; - exceptionDetails: z.ZodLazy; - exception: any; - lineNumber: z.ZodLazy; - stackTrace: z.ZodLazy; - functionName: z.ZodString; - lineNumber: z.ZodLazy; - url: z.ZodString; - }, "strip", z.ZodTypeAny, { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }, { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }>>, "many">; - }, "strip", z.ZodTypeAny, { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }, { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }>>; - text: z.ZodString; - }, "strip", z.ZodTypeAny, { - columnNumber: number; - lineNumber: number; - text: string; - stackTrace: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }; - exception?: any; - }, { - columnNumber: number; - lineNumber: number; - text: string; - stackTrace: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }; - exception?: any; - }>>; - realm: z.ZodLazy; -}, "strip", z.ZodTypeAny, { - type: "exception"; - realm: string; - exceptionDetails: { - columnNumber: number; - lineNumber: number; - text: string; - stackTrace: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }; - exception?: any; - }; -}, { - type: "exception"; - realm: string; - exceptionDetails: { - columnNumber: number; - lineNumber: number; - text: string; - stackTrace: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }; - exception?: any; - }; -}>>]>>, z.ZodLazy; - origin: z.ZodString; - }, "strip", z.ZodTypeAny, { - origin: string; - realm: string; - }, { - origin: string; - realm: string; - }>>, z.ZodObject<{ - type: z.ZodLiteral<"window">; - context: z.ZodLazy; - sandbox: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - type: "window"; - context: string; - sandbox?: string | undefined; - }, { - type: "window"; - context: string; - sandbox?: string | undefined; - }>>>, z.ZodLazy; - origin: z.ZodString; - }, "strip", z.ZodTypeAny, { - origin: string; - realm: string; - }, { - origin: string; - realm: string; - }>>, z.ZodObject<{ - type: z.ZodLiteral<"dedicated-worker">; - owners: z.ZodTuple<[z.ZodLazy], null>; - }, "strip", z.ZodTypeAny, { - type: "dedicated-worker"; - owners: [string]; - }, { - type: "dedicated-worker"; - owners: [string]; - }>>>, z.ZodLazy; - origin: z.ZodString; - }, "strip", z.ZodTypeAny, { - origin: string; - realm: string; - }, { - origin: string; - realm: string; - }>>, z.ZodObject<{ - type: z.ZodLiteral<"shared-worker">; - }, "strip", z.ZodTypeAny, { - type: "shared-worker"; - }, { - type: "shared-worker"; - }>>>, z.ZodLazy; - origin: z.ZodString; - }, "strip", z.ZodTypeAny, { - origin: string; - realm: string; - }, { - origin: string; - realm: string; - }>>, z.ZodObject<{ - type: z.ZodLiteral<"service-worker">; - }, "strip", z.ZodTypeAny, { - type: "service-worker"; - }, { - type: "service-worker"; - }>>>, z.ZodLazy; - origin: z.ZodString; - }, "strip", z.ZodTypeAny, { - origin: string; - realm: string; - }, { - origin: string; - realm: string; - }>>, z.ZodObject<{ - type: z.ZodLiteral<"worker">; - }, "strip", z.ZodTypeAny, { - type: "worker"; - }, { - type: "worker"; - }>>>, z.ZodLazy; - origin: z.ZodString; - }, "strip", z.ZodTypeAny, { - origin: string; - realm: string; - }, { - origin: string; - realm: string; - }>>, z.ZodObject<{ - type: z.ZodLiteral<"paint-worklet">; - }, "strip", z.ZodTypeAny, { - type: "paint-worklet"; - }, { - type: "paint-worklet"; - }>>>, z.ZodLazy; - origin: z.ZodString; - }, "strip", z.ZodTypeAny, { - origin: string; - realm: string; - }, { - origin: string; - realm: string; - }>>, z.ZodObject<{ - type: z.ZodLiteral<"audio-worklet">; - }, "strip", z.ZodTypeAny, { - type: "audio-worklet"; - }, { - type: "audio-worklet"; - }>>>, z.ZodLazy; - origin: z.ZodString; - }, "strip", z.ZodTypeAny, { - origin: string; - realm: string; - }, { - origin: string; - realm: string; - }>>, z.ZodObject<{ - type: z.ZodLiteral<"worklet">; - }, "strip", z.ZodTypeAny, { - type: "worklet"; - }, { - type: "worklet"; - }>>>]>>, "many">; -}, "strip", z.ZodTypeAny, { - realms: (({ - origin: string; - realm: string; - } & { - type: "window"; - context: string; - sandbox?: string | undefined; - }) | ({ - origin: string; - realm: string; - } & { - type: "dedicated-worker"; - owners: [string]; - }) | ({ - origin: string; - realm: string; - } & { - type: "shared-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "service-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "paint-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "audio-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worklet"; - }))[]; -}, { - realms: (({ - origin: string; - realm: string; - } & { - type: "window"; - context: string; - sandbox?: string | undefined; - }) | ({ - origin: string; - realm: string; - } & { - type: "dedicated-worker"; - owners: [string]; - }) | ({ - origin: string; - realm: string; - } & { - type: "shared-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "service-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "paint-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "audio-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worklet"; - }))[]; -}>>]>>; -export declare namespace Network { - const AuthRequiredSchema: z.ZodLazy; - params: z.ZodLazy, z.ZodNull]>; - isBlocked: z.ZodBoolean; - navigation: z.ZodUnion<[z.ZodLazy, z.ZodNull]>; - redirectCount: z.ZodLazy; - request: z.ZodLazy; - url: z.ZodString; - method: z.ZodString; - headers: z.ZodArray; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "string"; - value: string; - }, { - type: "string"; - value: string; - }>>, z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "base64"; - value: string; - }, { - type: "base64"; - value: string; - }>>]>>; - }, "strip", z.ZodTypeAny, { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }, { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }>>, "many">; - cookies: z.ZodArray; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "string"; - value: string; - }, { - type: "string"; - value: string; - }>>, z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "base64"; - value: string; - }, { - type: "base64"; - value: string; - }>>]>>; - domain: z.ZodString; - path: z.ZodString; - size: z.ZodLazy; - httpOnly: z.ZodBoolean; - secure: z.ZodBoolean; - sameSite: z.ZodLazy>; - expiry: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - }, { - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - }>, z.ZodLazy>>>, "many">; - headersSize: z.ZodLazy; - bodySize: z.ZodUnion<[z.ZodLazy, z.ZodNull]>; - timings: z.ZodLazy>; - }, "strip", z.ZodTypeAny, { - url: string; - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - method: string; - request: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - headersSize: number; - bodySize: number | null; - timings: { - timeOrigin: number; - requestTime: number; - redirectStart: number; - redirectEnd: number; - fetchStart: number; - dnsStart: number; - dnsEnd: number; - connectStart: number; - connectEnd: number; - tlsStart: number; - requestStart: number; - responseStart: number; - responseEnd: number; - }; - }, { - url: string; - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - method: string; - request: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - headersSize: number; - bodySize: number | null; - timings: { - timeOrigin: number; - requestTime: number; - redirectStart: number; - redirectEnd: number; - fetchStart: number; - dnsStart: number; - dnsEnd: number; - connectStart: number; - connectEnd: number; - tlsStart: number; - requestStart: number; - responseStart: number; - responseEnd: number; - }; - }>>; - timestamp: z.ZodLazy; - intercepts: z.ZodOptional, "many">>; - }, "strip", z.ZodTypeAny, { - navigation: string | null; - context: string | null; - request: { - url: string; - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - method: string; - request: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - headersSize: number; - bodySize: number | null; - timings: { - timeOrigin: number; - requestTime: number; - redirectStart: number; - redirectEnd: number; - fetchStart: number; - dnsStart: number; - dnsEnd: number; - connectStart: number; - connectEnd: number; - tlsStart: number; - requestStart: number; - responseStart: number; - responseEnd: number; - }; - }; - timestamp: number; - isBlocked: boolean; - redirectCount: number; - intercepts?: string[] | undefined; - }, { - navigation: string | null; - context: string | null; - request: { - url: string; - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - method: string; - request: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - headersSize: number; - bodySize: number | null; - timings: { - timeOrigin: number; - requestTime: number; - redirectStart: number; - redirectEnd: number; - fetchStart: number; - dnsStart: number; - dnsEnd: number; - connectStart: number; - connectEnd: number; - tlsStart: number; - requestStart: number; - responseStart: number; - responseEnd: number; - }; - }; - timestamp: number; - isBlocked: boolean; - redirectCount: number; - intercepts?: string[] | undefined; - }>>, z.ZodObject<{ - response: z.ZodLazy; - statusText: z.ZodString; - fromCache: z.ZodBoolean; - headers: z.ZodArray; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "string"; - value: string; - }, { - type: "string"; - value: string; - }>>, z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "base64"; - value: string; - }, { - type: "base64"; - value: string; - }>>]>>; - }, "strip", z.ZodTypeAny, { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }, { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }>>, "many">; - mimeType: z.ZodString; - bytesReceived: z.ZodLazy; - headersSize: z.ZodUnion<[z.ZodLazy, z.ZodNull]>; - bodySize: z.ZodUnion<[z.ZodLazy, z.ZodNull]>; - content: z.ZodLazy; - }, "strip", z.ZodTypeAny, { - size: number; - }, { - size: number; - }>>; - authChallenge: z.ZodOptional>>; - }, "strip", z.ZodTypeAny, { - url: string; - status: number; - protocol: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - content: { - size: number; - }; - headersSize: number | null; - bodySize: number | null; - statusText: string; - fromCache: boolean; - mimeType: string; - bytesReceived: number; - authChallenge?: { - realm: string; - scheme: string; - } | undefined; - }, { - url: string; - status: number; - protocol: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - content: { - size: number; - }; - headersSize: number | null; - bodySize: number | null; - statusText: string; - fromCache: boolean; - mimeType: string; - bytesReceived: number; - authChallenge?: { - realm: string; - scheme: string; - } | undefined; - }>>; - }, "strip", z.ZodTypeAny, { - response: { - url: string; - status: number; - protocol: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - content: { - size: number; - }; - headersSize: number | null; - bodySize: number | null; - statusText: string; - fromCache: boolean; - mimeType: string; - bytesReceived: number; - authChallenge?: { - realm: string; - scheme: string; - } | undefined; - }; - }, { - response: { - url: string; - status: number; - protocol: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - content: { - size: number; - }; - headersSize: number | null; - bodySize: number | null; - statusText: string; - fromCache: boolean; - mimeType: string; - bytesReceived: number; - authChallenge?: { - realm: string; - scheme: string; - } | undefined; - }; - }>>>; - }, "strip", z.ZodTypeAny, { - params: { - navigation: string | null; - context: string | null; - request: { - url: string; - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - method: string; - request: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - headersSize: number; - bodySize: number | null; - timings: { - timeOrigin: number; - requestTime: number; - redirectStart: number; - redirectEnd: number; - fetchStart: number; - dnsStart: number; - dnsEnd: number; - connectStart: number; - connectEnd: number; - tlsStart: number; - requestStart: number; - responseStart: number; - responseEnd: number; - }; - }; - timestamp: number; - isBlocked: boolean; - redirectCount: number; - intercepts?: string[] | undefined; - } & { - response: { - url: string; - status: number; - protocol: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - content: { - size: number; - }; - headersSize: number | null; - bodySize: number | null; - statusText: string; - fromCache: boolean; - mimeType: string; - bytesReceived: number; - authChallenge?: { - realm: string; - scheme: string; - } | undefined; - }; - }; - method: "network.authRequired"; - }, { - params: { - navigation: string | null; - context: string | null; - request: { - url: string; - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - method: string; - request: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - headersSize: number; - bodySize: number | null; - timings: { - timeOrigin: number; - requestTime: number; - redirectStart: number; - redirectEnd: number; - fetchStart: number; - dnsStart: number; - dnsEnd: number; - connectStart: number; - connectEnd: number; - tlsStart: number; - requestStart: number; - responseStart: number; - responseEnd: number; - }; - }; - timestamp: number; - isBlocked: boolean; - redirectCount: number; - intercepts?: string[] | undefined; - } & { - response: { - url: string; - status: number; - protocol: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - content: { - size: number; - }; - headersSize: number | null; - bodySize: number | null; - statusText: string; - fromCache: boolean; - mimeType: string; - bytesReceived: number; - authChallenge?: { - realm: string; - scheme: string; - } | undefined; - }; - }; - method: "network.authRequired"; - }>>; -} -export declare namespace Network { - const BeforeRequestSentSchema: z.ZodLazy; - params: z.ZodLazy, z.ZodNull]>; - isBlocked: z.ZodBoolean; - navigation: z.ZodUnion<[z.ZodLazy, z.ZodNull]>; - redirectCount: z.ZodLazy; - request: z.ZodLazy; - url: z.ZodString; - method: z.ZodString; - headers: z.ZodArray; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "string"; - value: string; - }, { - type: "string"; - value: string; - }>>, z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "base64"; - value: string; - }, { - type: "base64"; - value: string; - }>>]>>; - }, "strip", z.ZodTypeAny, { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }, { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }>>, "many">; - cookies: z.ZodArray; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "string"; - value: string; - }, { - type: "string"; - value: string; - }>>, z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "base64"; - value: string; - }, { - type: "base64"; - value: string; - }>>]>>; - domain: z.ZodString; - path: z.ZodString; - size: z.ZodLazy; - httpOnly: z.ZodBoolean; - secure: z.ZodBoolean; - sameSite: z.ZodLazy>; - expiry: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - }, { - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - }>, z.ZodLazy>>>, "many">; - headersSize: z.ZodLazy; - bodySize: z.ZodUnion<[z.ZodLazy, z.ZodNull]>; - timings: z.ZodLazy>; - }, "strip", z.ZodTypeAny, { - url: string; - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - method: string; - request: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - headersSize: number; - bodySize: number | null; - timings: { - timeOrigin: number; - requestTime: number; - redirectStart: number; - redirectEnd: number; - fetchStart: number; - dnsStart: number; - dnsEnd: number; - connectStart: number; - connectEnd: number; - tlsStart: number; - requestStart: number; - responseStart: number; - responseEnd: number; - }; - }, { - url: string; - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - method: string; - request: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - headersSize: number; - bodySize: number | null; - timings: { - timeOrigin: number; - requestTime: number; - redirectStart: number; - redirectEnd: number; - fetchStart: number; - dnsStart: number; - dnsEnd: number; - connectStart: number; - connectEnd: number; - tlsStart: number; - requestStart: number; - responseStart: number; - responseEnd: number; - }; - }>>; - timestamp: z.ZodLazy; - intercepts: z.ZodOptional, "many">>; - }, "strip", z.ZodTypeAny, { - navigation: string | null; - context: string | null; - request: { - url: string; - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - method: string; - request: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - headersSize: number; - bodySize: number | null; - timings: { - timeOrigin: number; - requestTime: number; - redirectStart: number; - redirectEnd: number; - fetchStart: number; - dnsStart: number; - dnsEnd: number; - connectStart: number; - connectEnd: number; - tlsStart: number; - requestStart: number; - responseStart: number; - responseEnd: number; - }; - }; - timestamp: number; - isBlocked: boolean; - redirectCount: number; - intercepts?: string[] | undefined; - }, { - navigation: string | null; - context: string | null; - request: { - url: string; - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - method: string; - request: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - headersSize: number; - bodySize: number | null; - timings: { - timeOrigin: number; - requestTime: number; - redirectStart: number; - redirectEnd: number; - fetchStart: number; - dnsStart: number; - dnsEnd: number; - connectStart: number; - connectEnd: number; - tlsStart: number; - requestStart: number; - responseStart: number; - responseEnd: number; - }; - }; - timestamp: number; - isBlocked: boolean; - redirectCount: number; - intercepts?: string[] | undefined; - }>>, z.ZodObject<{ - initiator: z.ZodLazy; - columnNumber: z.ZodOptional>; - lineNumber: z.ZodOptional>; - stackTrace: z.ZodOptional; - functionName: z.ZodString; - lineNumber: z.ZodLazy; - url: z.ZodString; - }, "strip", z.ZodTypeAny, { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }, { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }>>, "many">; - }, "strip", z.ZodTypeAny, { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }, { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }>>>; - request: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - type: "other" | "script" | "parser" | "preflight"; - columnNumber?: number | undefined; - lineNumber?: number | undefined; - stackTrace?: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - } | undefined; - request?: string | undefined; - }, { - type: "other" | "script" | "parser" | "preflight"; - columnNumber?: number | undefined; - lineNumber?: number | undefined; - stackTrace?: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - } | undefined; - request?: string | undefined; - }>>; - }, "strip", z.ZodTypeAny, { - initiator: { - type: "other" | "script" | "parser" | "preflight"; - columnNumber?: number | undefined; - lineNumber?: number | undefined; - stackTrace?: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - } | undefined; - request?: string | undefined; - }; - }, { - initiator: { - type: "other" | "script" | "parser" | "preflight"; - columnNumber?: number | undefined; - lineNumber?: number | undefined; - stackTrace?: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - } | undefined; - request?: string | undefined; - }; - }>>>; - }, "strip", z.ZodTypeAny, { - params: { - navigation: string | null; - context: string | null; - request: { - url: string; - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - method: string; - request: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - headersSize: number; - bodySize: number | null; - timings: { - timeOrigin: number; - requestTime: number; - redirectStart: number; - redirectEnd: number; - fetchStart: number; - dnsStart: number; - dnsEnd: number; - connectStart: number; - connectEnd: number; - tlsStart: number; - requestStart: number; - responseStart: number; - responseEnd: number; - }; - }; - timestamp: number; - isBlocked: boolean; - redirectCount: number; - intercepts?: string[] | undefined; - } & { - initiator: { - type: "other" | "script" | "parser" | "preflight"; - columnNumber?: number | undefined; - lineNumber?: number | undefined; - stackTrace?: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - } | undefined; - request?: string | undefined; - }; - }; - method: "network.beforeRequestSent"; - }, { - params: { - navigation: string | null; - context: string | null; - request: { - url: string; - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - method: string; - request: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - headersSize: number; - bodySize: number | null; - timings: { - timeOrigin: number; - requestTime: number; - redirectStart: number; - redirectEnd: number; - fetchStart: number; - dnsStart: number; - dnsEnd: number; - connectStart: number; - connectEnd: number; - tlsStart: number; - requestStart: number; - responseStart: number; - responseEnd: number; - }; - }; - timestamp: number; - isBlocked: boolean; - redirectCount: number; - intercepts?: string[] | undefined; - } & { - initiator: { - type: "other" | "script" | "parser" | "preflight"; - columnNumber?: number | undefined; - lineNumber?: number | undefined; - stackTrace?: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - } | undefined; - request?: string | undefined; - }; - }; - method: "network.beforeRequestSent"; - }>>; -} -export declare namespace Network { - const FetchErrorSchema: z.ZodLazy; - params: z.ZodLazy, z.ZodNull]>; - isBlocked: z.ZodBoolean; - navigation: z.ZodUnion<[z.ZodLazy, z.ZodNull]>; - redirectCount: z.ZodLazy; - request: z.ZodLazy; - url: z.ZodString; - method: z.ZodString; - headers: z.ZodArray; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "string"; - value: string; - }, { - type: "string"; - value: string; - }>>, z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "base64"; - value: string; - }, { - type: "base64"; - value: string; - }>>]>>; - }, "strip", z.ZodTypeAny, { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }, { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }>>, "many">; - cookies: z.ZodArray; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "string"; - value: string; - }, { - type: "string"; - value: string; - }>>, z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "base64"; - value: string; - }, { - type: "base64"; - value: string; - }>>]>>; - domain: z.ZodString; - path: z.ZodString; - size: z.ZodLazy; - httpOnly: z.ZodBoolean; - secure: z.ZodBoolean; - sameSite: z.ZodLazy>; - expiry: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - }, { - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - }>, z.ZodLazy>>>, "many">; - headersSize: z.ZodLazy; - bodySize: z.ZodUnion<[z.ZodLazy, z.ZodNull]>; - timings: z.ZodLazy>; - }, "strip", z.ZodTypeAny, { - url: string; - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - method: string; - request: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - headersSize: number; - bodySize: number | null; - timings: { - timeOrigin: number; - requestTime: number; - redirectStart: number; - redirectEnd: number; - fetchStart: number; - dnsStart: number; - dnsEnd: number; - connectStart: number; - connectEnd: number; - tlsStart: number; - requestStart: number; - responseStart: number; - responseEnd: number; - }; - }, { - url: string; - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - method: string; - request: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - headersSize: number; - bodySize: number | null; - timings: { - timeOrigin: number; - requestTime: number; - redirectStart: number; - redirectEnd: number; - fetchStart: number; - dnsStart: number; - dnsEnd: number; - connectStart: number; - connectEnd: number; - tlsStart: number; - requestStart: number; - responseStart: number; - responseEnd: number; - }; - }>>; - timestamp: z.ZodLazy; - intercepts: z.ZodOptional, "many">>; - }, "strip", z.ZodTypeAny, { - navigation: string | null; - context: string | null; - request: { - url: string; - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - method: string; - request: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - headersSize: number; - bodySize: number | null; - timings: { - timeOrigin: number; - requestTime: number; - redirectStart: number; - redirectEnd: number; - fetchStart: number; - dnsStart: number; - dnsEnd: number; - connectStart: number; - connectEnd: number; - tlsStart: number; - requestStart: number; - responseStart: number; - responseEnd: number; - }; - }; - timestamp: number; - isBlocked: boolean; - redirectCount: number; - intercepts?: string[] | undefined; - }, { - navigation: string | null; - context: string | null; - request: { - url: string; - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - method: string; - request: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - headersSize: number; - bodySize: number | null; - timings: { - timeOrigin: number; - requestTime: number; - redirectStart: number; - redirectEnd: number; - fetchStart: number; - dnsStart: number; - dnsEnd: number; - connectStart: number; - connectEnd: number; - tlsStart: number; - requestStart: number; - responseStart: number; - responseEnd: number; - }; - }; - timestamp: number; - isBlocked: boolean; - redirectCount: number; - intercepts?: string[] | undefined; - }>>, z.ZodObject<{ - errorText: z.ZodString; - }, "strip", z.ZodTypeAny, { - errorText: string; - }, { - errorText: string; - }>>>; - }, "strip", z.ZodTypeAny, { - params: { - navigation: string | null; - context: string | null; - request: { - url: string; - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - method: string; - request: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - headersSize: number; - bodySize: number | null; - timings: { - timeOrigin: number; - requestTime: number; - redirectStart: number; - redirectEnd: number; - fetchStart: number; - dnsStart: number; - dnsEnd: number; - connectStart: number; - connectEnd: number; - tlsStart: number; - requestStart: number; - responseStart: number; - responseEnd: number; - }; - }; - timestamp: number; - isBlocked: boolean; - redirectCount: number; - intercepts?: string[] | undefined; - } & { - errorText: string; - }; - method: "network.fetchError"; - }, { - params: { - navigation: string | null; - context: string | null; - request: { - url: string; - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - method: string; - request: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - headersSize: number; - bodySize: number | null; - timings: { - timeOrigin: number; - requestTime: number; - redirectStart: number; - redirectEnd: number; - fetchStart: number; - dnsStart: number; - dnsEnd: number; - connectStart: number; - connectEnd: number; - tlsStart: number; - requestStart: number; - responseStart: number; - responseEnd: number; - }; - }; - timestamp: number; - isBlocked: boolean; - redirectCount: number; - intercepts?: string[] | undefined; - } & { - errorText: string; - }; - method: "network.fetchError"; - }>>; -} -export declare namespace Network { - const ResponseCompletedSchema: z.ZodLazy; - params: z.ZodLazy, z.ZodNull]>; - isBlocked: z.ZodBoolean; - navigation: z.ZodUnion<[z.ZodLazy, z.ZodNull]>; - redirectCount: z.ZodLazy; - request: z.ZodLazy; - url: z.ZodString; - method: z.ZodString; - headers: z.ZodArray; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "string"; - value: string; - }, { - type: "string"; - value: string; - }>>, z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "base64"; - value: string; - }, { - type: "base64"; - value: string; - }>>]>>; - }, "strip", z.ZodTypeAny, { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }, { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }>>, "many">; - cookies: z.ZodArray; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "string"; - value: string; - }, { - type: "string"; - value: string; - }>>, z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "base64"; - value: string; - }, { - type: "base64"; - value: string; - }>>]>>; - domain: z.ZodString; - path: z.ZodString; - size: z.ZodLazy; - httpOnly: z.ZodBoolean; - secure: z.ZodBoolean; - sameSite: z.ZodLazy>; - expiry: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - }, { - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - }>, z.ZodLazy>>>, "many">; - headersSize: z.ZodLazy; - bodySize: z.ZodUnion<[z.ZodLazy, z.ZodNull]>; - timings: z.ZodLazy>; - }, "strip", z.ZodTypeAny, { - url: string; - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - method: string; - request: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - headersSize: number; - bodySize: number | null; - timings: { - timeOrigin: number; - requestTime: number; - redirectStart: number; - redirectEnd: number; - fetchStart: number; - dnsStart: number; - dnsEnd: number; - connectStart: number; - connectEnd: number; - tlsStart: number; - requestStart: number; - responseStart: number; - responseEnd: number; - }; - }, { - url: string; - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - method: string; - request: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - headersSize: number; - bodySize: number | null; - timings: { - timeOrigin: number; - requestTime: number; - redirectStart: number; - redirectEnd: number; - fetchStart: number; - dnsStart: number; - dnsEnd: number; - connectStart: number; - connectEnd: number; - tlsStart: number; - requestStart: number; - responseStart: number; - responseEnd: number; - }; - }>>; - timestamp: z.ZodLazy; - intercepts: z.ZodOptional, "many">>; - }, "strip", z.ZodTypeAny, { - navigation: string | null; - context: string | null; - request: { - url: string; - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - method: string; - request: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - headersSize: number; - bodySize: number | null; - timings: { - timeOrigin: number; - requestTime: number; - redirectStart: number; - redirectEnd: number; - fetchStart: number; - dnsStart: number; - dnsEnd: number; - connectStart: number; - connectEnd: number; - tlsStart: number; - requestStart: number; - responseStart: number; - responseEnd: number; - }; - }; - timestamp: number; - isBlocked: boolean; - redirectCount: number; - intercepts?: string[] | undefined; - }, { - navigation: string | null; - context: string | null; - request: { - url: string; - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - method: string; - request: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - headersSize: number; - bodySize: number | null; - timings: { - timeOrigin: number; - requestTime: number; - redirectStart: number; - redirectEnd: number; - fetchStart: number; - dnsStart: number; - dnsEnd: number; - connectStart: number; - connectEnd: number; - tlsStart: number; - requestStart: number; - responseStart: number; - responseEnd: number; - }; - }; - timestamp: number; - isBlocked: boolean; - redirectCount: number; - intercepts?: string[] | undefined; - }>>, z.ZodObject<{ - response: z.ZodLazy; - statusText: z.ZodString; - fromCache: z.ZodBoolean; - headers: z.ZodArray; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "string"; - value: string; - }, { - type: "string"; - value: string; - }>>, z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "base64"; - value: string; - }, { - type: "base64"; - value: string; - }>>]>>; - }, "strip", z.ZodTypeAny, { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }, { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }>>, "many">; - mimeType: z.ZodString; - bytesReceived: z.ZodLazy; - headersSize: z.ZodUnion<[z.ZodLazy, z.ZodNull]>; - bodySize: z.ZodUnion<[z.ZodLazy, z.ZodNull]>; - content: z.ZodLazy; - }, "strip", z.ZodTypeAny, { - size: number; - }, { - size: number; - }>>; - authChallenge: z.ZodOptional>>; - }, "strip", z.ZodTypeAny, { - url: string; - status: number; - protocol: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - content: { - size: number; - }; - headersSize: number | null; - bodySize: number | null; - statusText: string; - fromCache: boolean; - mimeType: string; - bytesReceived: number; - authChallenge?: { - realm: string; - scheme: string; - } | undefined; - }, { - url: string; - status: number; - protocol: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - content: { - size: number; - }; - headersSize: number | null; - bodySize: number | null; - statusText: string; - fromCache: boolean; - mimeType: string; - bytesReceived: number; - authChallenge?: { - realm: string; - scheme: string; - } | undefined; - }>>; - }, "strip", z.ZodTypeAny, { - response: { - url: string; - status: number; - protocol: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - content: { - size: number; - }; - headersSize: number | null; - bodySize: number | null; - statusText: string; - fromCache: boolean; - mimeType: string; - bytesReceived: number; - authChallenge?: { - realm: string; - scheme: string; - } | undefined; - }; - }, { - response: { - url: string; - status: number; - protocol: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - content: { - size: number; - }; - headersSize: number | null; - bodySize: number | null; - statusText: string; - fromCache: boolean; - mimeType: string; - bytesReceived: number; - authChallenge?: { - realm: string; - scheme: string; - } | undefined; - }; - }>>>; - }, "strip", z.ZodTypeAny, { - params: { - navigation: string | null; - context: string | null; - request: { - url: string; - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - method: string; - request: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - headersSize: number; - bodySize: number | null; - timings: { - timeOrigin: number; - requestTime: number; - redirectStart: number; - redirectEnd: number; - fetchStart: number; - dnsStart: number; - dnsEnd: number; - connectStart: number; - connectEnd: number; - tlsStart: number; - requestStart: number; - responseStart: number; - responseEnd: number; - }; - }; - timestamp: number; - isBlocked: boolean; - redirectCount: number; - intercepts?: string[] | undefined; - } & { - response: { - url: string; - status: number; - protocol: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - content: { - size: number; - }; - headersSize: number | null; - bodySize: number | null; - statusText: string; - fromCache: boolean; - mimeType: string; - bytesReceived: number; - authChallenge?: { - realm: string; - scheme: string; - } | undefined; - }; - }; - method: "network.responseCompleted"; - }, { - params: { - navigation: string | null; - context: string | null; - request: { - url: string; - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - method: string; - request: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - headersSize: number; - bodySize: number | null; - timings: { - timeOrigin: number; - requestTime: number; - redirectStart: number; - redirectEnd: number; - fetchStart: number; - dnsStart: number; - dnsEnd: number; - connectStart: number; - connectEnd: number; - tlsStart: number; - requestStart: number; - responseStart: number; - responseEnd: number; - }; - }; - timestamp: number; - isBlocked: boolean; - redirectCount: number; - intercepts?: string[] | undefined; - } & { - response: { - url: string; - status: number; - protocol: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - content: { - size: number; - }; - headersSize: number | null; - bodySize: number | null; - statusText: string; - fromCache: boolean; - mimeType: string; - bytesReceived: number; - authChallenge?: { - realm: string; - scheme: string; - } | undefined; - }; - }; - method: "network.responseCompleted"; - }>>; -} -export declare namespace Network { - const ResponseStartedSchema: z.ZodLazy; - params: z.ZodLazy, z.ZodNull]>; - isBlocked: z.ZodBoolean; - navigation: z.ZodUnion<[z.ZodLazy, z.ZodNull]>; - redirectCount: z.ZodLazy; - request: z.ZodLazy; - url: z.ZodString; - method: z.ZodString; - headers: z.ZodArray; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "string"; - value: string; - }, { - type: "string"; - value: string; - }>>, z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "base64"; - value: string; - }, { - type: "base64"; - value: string; - }>>]>>; - }, "strip", z.ZodTypeAny, { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }, { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }>>, "many">; - cookies: z.ZodArray; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "string"; - value: string; - }, { - type: "string"; - value: string; - }>>, z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "base64"; - value: string; - }, { - type: "base64"; - value: string; - }>>]>>; - domain: z.ZodString; - path: z.ZodString; - size: z.ZodLazy; - httpOnly: z.ZodBoolean; - secure: z.ZodBoolean; - sameSite: z.ZodLazy>; - expiry: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - }, { - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - }>, z.ZodLazy>>>, "many">; - headersSize: z.ZodLazy; - bodySize: z.ZodUnion<[z.ZodLazy, z.ZodNull]>; - timings: z.ZodLazy>; - }, "strip", z.ZodTypeAny, { - url: string; - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - method: string; - request: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - headersSize: number; - bodySize: number | null; - timings: { - timeOrigin: number; - requestTime: number; - redirectStart: number; - redirectEnd: number; - fetchStart: number; - dnsStart: number; - dnsEnd: number; - connectStart: number; - connectEnd: number; - tlsStart: number; - requestStart: number; - responseStart: number; - responseEnd: number; - }; - }, { - url: string; - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - method: string; - request: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - headersSize: number; - bodySize: number | null; - timings: { - timeOrigin: number; - requestTime: number; - redirectStart: number; - redirectEnd: number; - fetchStart: number; - dnsStart: number; - dnsEnd: number; - connectStart: number; - connectEnd: number; - tlsStart: number; - requestStart: number; - responseStart: number; - responseEnd: number; - }; - }>>; - timestamp: z.ZodLazy; - intercepts: z.ZodOptional, "many">>; - }, "strip", z.ZodTypeAny, { - navigation: string | null; - context: string | null; - request: { - url: string; - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - method: string; - request: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - headersSize: number; - bodySize: number | null; - timings: { - timeOrigin: number; - requestTime: number; - redirectStart: number; - redirectEnd: number; - fetchStart: number; - dnsStart: number; - dnsEnd: number; - connectStart: number; - connectEnd: number; - tlsStart: number; - requestStart: number; - responseStart: number; - responseEnd: number; - }; - }; - timestamp: number; - isBlocked: boolean; - redirectCount: number; - intercepts?: string[] | undefined; - }, { - navigation: string | null; - context: string | null; - request: { - url: string; - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - method: string; - request: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - headersSize: number; - bodySize: number | null; - timings: { - timeOrigin: number; - requestTime: number; - redirectStart: number; - redirectEnd: number; - fetchStart: number; - dnsStart: number; - dnsEnd: number; - connectStart: number; - connectEnd: number; - tlsStart: number; - requestStart: number; - responseStart: number; - responseEnd: number; - }; - }; - timestamp: number; - isBlocked: boolean; - redirectCount: number; - intercepts?: string[] | undefined; - }>>, z.ZodObject<{ - response: z.ZodLazy; - statusText: z.ZodString; - fromCache: z.ZodBoolean; - headers: z.ZodArray; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "string"; - value: string; - }, { - type: "string"; - value: string; - }>>, z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "base64"; - value: string; - }, { - type: "base64"; - value: string; - }>>]>>; - }, "strip", z.ZodTypeAny, { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }, { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }>>, "many">; - mimeType: z.ZodString; - bytesReceived: z.ZodLazy; - headersSize: z.ZodUnion<[z.ZodLazy, z.ZodNull]>; - bodySize: z.ZodUnion<[z.ZodLazy, z.ZodNull]>; - content: z.ZodLazy; - }, "strip", z.ZodTypeAny, { - size: number; - }, { - size: number; - }>>; - authChallenge: z.ZodOptional>>; - }, "strip", z.ZodTypeAny, { - url: string; - status: number; - protocol: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - content: { - size: number; - }; - headersSize: number | null; - bodySize: number | null; - statusText: string; - fromCache: boolean; - mimeType: string; - bytesReceived: number; - authChallenge?: { - realm: string; - scheme: string; - } | undefined; - }, { - url: string; - status: number; - protocol: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - content: { - size: number; - }; - headersSize: number | null; - bodySize: number | null; - statusText: string; - fromCache: boolean; - mimeType: string; - bytesReceived: number; - authChallenge?: { - realm: string; - scheme: string; - } | undefined; - }>>; - }, "strip", z.ZodTypeAny, { - response: { - url: string; - status: number; - protocol: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - content: { - size: number; - }; - headersSize: number | null; - bodySize: number | null; - statusText: string; - fromCache: boolean; - mimeType: string; - bytesReceived: number; - authChallenge?: { - realm: string; - scheme: string; - } | undefined; - }; - }, { - response: { - url: string; - status: number; - protocol: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - content: { - size: number; - }; - headersSize: number | null; - bodySize: number | null; - statusText: string; - fromCache: boolean; - mimeType: string; - bytesReceived: number; - authChallenge?: { - realm: string; - scheme: string; - } | undefined; - }; - }>>>; - }, "strip", z.ZodTypeAny, { - params: { - navigation: string | null; - context: string | null; - request: { - url: string; - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - method: string; - request: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - headersSize: number; - bodySize: number | null; - timings: { - timeOrigin: number; - requestTime: number; - redirectStart: number; - redirectEnd: number; - fetchStart: number; - dnsStart: number; - dnsEnd: number; - connectStart: number; - connectEnd: number; - tlsStart: number; - requestStart: number; - responseStart: number; - responseEnd: number; - }; - }; - timestamp: number; - isBlocked: boolean; - redirectCount: number; - intercepts?: string[] | undefined; - } & { - response: { - url: string; - status: number; - protocol: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - content: { - size: number; - }; - headersSize: number | null; - bodySize: number | null; - statusText: string; - fromCache: boolean; - mimeType: string; - bytesReceived: number; - authChallenge?: { - realm: string; - scheme: string; - } | undefined; - }; - }; - method: "network.responseStarted"; - }, { - params: { - navigation: string | null; - context: string | null; - request: { - url: string; - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - method: string; - request: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - headersSize: number; - bodySize: number | null; - timings: { - timeOrigin: number; - requestTime: number; - redirectStart: number; - redirectEnd: number; - fetchStart: number; - dnsStart: number; - dnsEnd: number; - connectStart: number; - connectEnd: number; - tlsStart: number; - requestStart: number; - responseStart: number; - responseEnd: number; - }; - }; - timestamp: number; - isBlocked: boolean; - redirectCount: number; - intercepts?: string[] | undefined; - } & { - response: { - url: string; - status: number; - protocol: string; - headers: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[]; - content: { - size: number; - }; - headersSize: number | null; - bodySize: number | null; - statusText: string; - fromCache: boolean; - mimeType: string; - bytesReceived: number; - authChallenge?: { - realm: string; - scheme: string; - } | undefined; - }; - }; - method: "network.responseStarted"; - }>>; -} -export declare namespace Script { - const ChannelSchema: z.ZodLazy; -} -export declare namespace Script { - const EvaluateResultSuccessSchema: z.ZodLazy; - result: any; - realm: z.ZodLazy; - }, "strip", z.ZodTypeAny, { - type: "success"; - realm: string; - result?: any; - }, { - type: "success"; - realm: string; - result?: any; - }>>; -} -export declare namespace Script { - const ExceptionDetailsSchema: z.ZodLazy; - exception: any; - lineNumber: z.ZodLazy; - stackTrace: z.ZodLazy; - functionName: z.ZodString; - lineNumber: z.ZodLazy; - url: z.ZodString; - }, "strip", z.ZodTypeAny, { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }, { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }>>, "many">; - }, "strip", z.ZodTypeAny, { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }, { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }>>; - text: z.ZodString; - }, "strip", z.ZodTypeAny, { - columnNumber: number; - lineNumber: number; - text: string; - stackTrace: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }; - exception?: any; - }, { - columnNumber: number; - lineNumber: number; - text: string; - stackTrace: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }; - exception?: any; - }>>; -} -export declare namespace Script { - const ChannelValueSchema: z.ZodLazy; - value: z.ZodLazy; - serializationOptions: z.ZodOptional, z.ZodNull]>>>; - maxObjectDepth: z.ZodOptional, z.ZodNull]>>>; - includeShadowTree: z.ZodOptional>>; - }, "strip", z.ZodTypeAny, { - maxDomDepth?: number | null | undefined; - maxObjectDepth?: number | null | undefined; - includeShadowTree?: "none" | "all" | "open" | undefined; - }, { - maxDomDepth?: number | null | undefined; - maxObjectDepth?: number | null | undefined; - includeShadowTree?: "none" | "all" | "open" | undefined; - }>>>; - ownership: z.ZodOptional>>; - }, "strip", z.ZodTypeAny, { - channel: string; - serializationOptions?: { - maxDomDepth?: number | null | undefined; - maxObjectDepth?: number | null | undefined; - includeShadowTree?: "none" | "all" | "open" | undefined; - } | undefined; - ownership?: "none" | "root" | undefined; - }, { - channel: string; - serializationOptions?: { - maxDomDepth?: number | null | undefined; - maxObjectDepth?: number | null | undefined; - includeShadowTree?: "none" | "all" | "open" | undefined; - } | undefined; - ownership?: "none" | "root" | undefined; - }>>; - }, "strip", z.ZodTypeAny, { - type: "channel"; - value: { - channel: string; - serializationOptions?: { - maxDomDepth?: number | null | undefined; - maxObjectDepth?: number | null | undefined; - includeShadowTree?: "none" | "all" | "open" | undefined; - } | undefined; - ownership?: "none" | "root" | undefined; - }; - }, { - type: "channel"; - value: { - channel: string; - serializationOptions?: { - maxDomDepth?: number | null | undefined; - maxObjectDepth?: number | null | undefined; - includeShadowTree?: "none" | "all" | "open" | undefined; - } | undefined; - ownership?: "none" | "root" | undefined; - }; - }>>; -} -export declare namespace Script { - const ChannelPropertiesSchema: z.ZodLazy; - serializationOptions: z.ZodOptional, z.ZodNull]>>>; - maxObjectDepth: z.ZodOptional, z.ZodNull]>>>; - includeShadowTree: z.ZodOptional>>; - }, "strip", z.ZodTypeAny, { - maxDomDepth?: number | null | undefined; - maxObjectDepth?: number | null | undefined; - includeShadowTree?: "none" | "all" | "open" | undefined; - }, { - maxDomDepth?: number | null | undefined; - maxObjectDepth?: number | null | undefined; - includeShadowTree?: "none" | "all" | "open" | undefined; - }>>>; - ownership: z.ZodOptional>>; - }, "strip", z.ZodTypeAny, { - channel: string; - serializationOptions?: { - maxDomDepth?: number | null | undefined; - maxObjectDepth?: number | null | undefined; - includeShadowTree?: "none" | "all" | "open" | undefined; - } | undefined; - ownership?: "none" | "root" | undefined; - }, { - channel: string; - serializationOptions?: { - maxDomDepth?: number | null | undefined; - maxObjectDepth?: number | null | undefined; - includeShadowTree?: "none" | "all" | "open" | undefined; - } | undefined; - ownership?: "none" | "root" | undefined; - }>>; -} -export declare namespace Script { - const EvaluateResultSchema: z.ZodLazy; - result: any; - realm: z.ZodLazy; - }, "strip", z.ZodTypeAny, { - type: "success"; - realm: string; - result?: any; - }, { - type: "success"; - realm: string; - result?: any; - }>>, z.ZodLazy; - exceptionDetails: z.ZodLazy; - exception: any; - lineNumber: z.ZodLazy; - stackTrace: z.ZodLazy; - functionName: z.ZodString; - lineNumber: z.ZodLazy; - url: z.ZodString; - }, "strip", z.ZodTypeAny, { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }, { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }>>, "many">; - }, "strip", z.ZodTypeAny, { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }, { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }>>; - text: z.ZodString; - }, "strip", z.ZodTypeAny, { - columnNumber: number; - lineNumber: number; - text: string; - stackTrace: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }; - exception?: any; - }, { - columnNumber: number; - lineNumber: number; - text: string; - stackTrace: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }; - exception?: any; - }>>; - realm: z.ZodLazy; - }, "strip", z.ZodTypeAny, { - type: "exception"; - realm: string; - exceptionDetails: { - columnNumber: number; - lineNumber: number; - text: string; - stackTrace: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }; - exception?: any; - }; - }, { - type: "exception"; - realm: string; - exceptionDetails: { - columnNumber: number; - lineNumber: number; - text: string; - stackTrace: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }; - exception?: any; - }; - }>>]>>; -} -export declare namespace Script { - const EvaluateResultExceptionSchema: z.ZodLazy; - exceptionDetails: z.ZodLazy; - exception: any; - lineNumber: z.ZodLazy; - stackTrace: z.ZodLazy; - functionName: z.ZodString; - lineNumber: z.ZodLazy; - url: z.ZodString; - }, "strip", z.ZodTypeAny, { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }, { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }>>, "many">; - }, "strip", z.ZodTypeAny, { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }, { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }>>; - text: z.ZodString; - }, "strip", z.ZodTypeAny, { - columnNumber: number; - lineNumber: number; - text: string; - stackTrace: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }; - exception?: any; - }, { - columnNumber: number; - lineNumber: number; - text: string; - stackTrace: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }; - exception?: any; - }>>; - realm: z.ZodLazy; - }, "strip", z.ZodTypeAny, { - type: "exception"; - realm: string; - exceptionDetails: { - columnNumber: number; - lineNumber: number; - text: string; - stackTrace: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }; - exception?: any; - }; - }, { - type: "exception"; - realm: string; - exceptionDetails: { - columnNumber: number; - lineNumber: number; - text: string; - stackTrace: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }; - exception?: any; - }; - }>>; -} -export declare namespace Script { - const HandleSchema: z.ZodLazy; -} -export declare namespace Script { - const InternalIdSchema: z.ZodLazy; -} -export declare namespace Script { - const ListLocalValueSchema: any; -} -export declare namespace Script { - const LocalValueSchema: any; -} -export declare namespace Script { - const ArrayLocalValueSchema: any; -} -export declare namespace Script { - const DateLocalValueSchema: z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "date"; - value: string; - }, { - type: "date"; - value: string; - }>>; -} -export declare namespace Script { - const MappingLocalValueSchema: z.ZodLazy, any], null>, "many">>; -} -export declare namespace Script { - const MapLocalValueSchema: z.ZodLazy; - value: z.ZodLazy, any], null>, "many">>; - }, "strip", z.ZodTypeAny, { - type: "map"; - value: [any, any][]; - }, { - type: "map"; - value: [any, any][]; - }>>; -} -export declare namespace Script { - const ObjectLocalValueSchema: z.ZodLazy; - value: z.ZodLazy, any], null>, "many">>; - }, "strip", z.ZodTypeAny, { - type: "object"; - value: [any, any][]; - }, { - type: "object"; - value: [any, any][]; - }>>; -} -export declare namespace Script { - const RegExpValueSchema: z.ZodLazy; - }, "strip", z.ZodTypeAny, { - pattern: string; - flags?: string | undefined; - }, { - pattern: string; - flags?: string | undefined; - }>>; -} -export declare namespace Script { - const RegExpLocalValueSchema: z.ZodLazy; - value: z.ZodLazy; - }, "strip", z.ZodTypeAny, { - pattern: string; - flags?: string | undefined; - }, { - pattern: string; - flags?: string | undefined; - }>>; - }, "strip", z.ZodTypeAny, { - type: "regexp"; - value: { - pattern: string; - flags?: string | undefined; - }; - }, { - type: "regexp"; - value: { - pattern: string; - flags?: string | undefined; - }; - }>>; -} -export declare namespace Script { - const SetLocalValueSchema: z.ZodLazy; - value: any; - }, "strip", z.ZodTypeAny, { - type: "set"; - value?: any; - }, { - type: "set"; - value?: any; - }>>; -} -export declare namespace Script { - const PreloadScriptSchema: z.ZodLazy; -} -export declare namespace Script { - const RealmSchema: z.ZodLazy; -} -export declare namespace Script { - const PrimitiveProtocolValueSchema: z.ZodLazy; - }, "strip", z.ZodTypeAny, { - type: "undefined"; - }, { - type: "undefined"; - }>>, z.ZodLazy; - }, "strip", z.ZodTypeAny, { - type: "null"; - }, { - type: "null"; - }>>, z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "string"; - value: string; - }, { - type: "string"; - value: string; - }>>, z.ZodLazy; - value: z.ZodUnion<[z.ZodNumber, z.ZodLazy>]>; - }, "strip", z.ZodTypeAny, { - type: "number"; - value: number | "NaN" | "-0" | "Infinity" | "-Infinity"; - }, { - type: "number"; - value: number | "NaN" | "-0" | "Infinity" | "-Infinity"; - }>>, z.ZodLazy; - value: z.ZodBoolean; - }, "strip", z.ZodTypeAny, { - type: "boolean"; - value: boolean; - }, { - type: "boolean"; - value: boolean; - }>>, z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "bigint"; - value: string; - }, { - type: "bigint"; - value: string; - }>>]>>; -} -export declare namespace Script { - const UndefinedValueSchema: z.ZodLazy; - }, "strip", z.ZodTypeAny, { - type: "undefined"; - }, { - type: "undefined"; - }>>; -} -export declare namespace Script { - const NullValueSchema: z.ZodLazy; - }, "strip", z.ZodTypeAny, { - type: "null"; - }, { - type: "null"; - }>>; -} -export declare namespace Script { - const StringValueSchema: z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "string"; - value: string; - }, { - type: "string"; - value: string; - }>>; -} -export declare namespace Script { - const SpecialNumberSchema: z.ZodLazy>; -} -export declare namespace Script { - const NumberValueSchema: z.ZodLazy; - value: z.ZodUnion<[z.ZodNumber, z.ZodLazy>]>; - }, "strip", z.ZodTypeAny, { - type: "number"; - value: number | "NaN" | "-0" | "Infinity" | "-Infinity"; - }, { - type: "number"; - value: number | "NaN" | "-0" | "Infinity" | "-Infinity"; - }>>; -} -export declare namespace Script { - const BooleanValueSchema: z.ZodLazy; - value: z.ZodBoolean; - }, "strip", z.ZodTypeAny, { - type: "boolean"; - value: boolean; - }, { - type: "boolean"; - value: boolean; - }>>; -} -export declare namespace Script { - const BigIntValueSchema: z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "bigint"; - value: string; - }, { - type: "bigint"; - value: string; - }>>; -} -export declare namespace Script { - const RealmInfoSchema: z.ZodLazy; - origin: z.ZodString; - }, "strip", z.ZodTypeAny, { - origin: string; - realm: string; - }, { - origin: string; - realm: string; - }>>, z.ZodObject<{ - type: z.ZodLiteral<"window">; - context: z.ZodLazy; - sandbox: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - type: "window"; - context: string; - sandbox?: string | undefined; - }, { - type: "window"; - context: string; - sandbox?: string | undefined; - }>>>, z.ZodLazy; - origin: z.ZodString; - }, "strip", z.ZodTypeAny, { - origin: string; - realm: string; - }, { - origin: string; - realm: string; - }>>, z.ZodObject<{ - type: z.ZodLiteral<"dedicated-worker">; - owners: z.ZodTuple<[z.ZodLazy], null>; - }, "strip", z.ZodTypeAny, { - type: "dedicated-worker"; - owners: [string]; - }, { - type: "dedicated-worker"; - owners: [string]; - }>>>, z.ZodLazy; - origin: z.ZodString; - }, "strip", z.ZodTypeAny, { - origin: string; - realm: string; - }, { - origin: string; - realm: string; - }>>, z.ZodObject<{ - type: z.ZodLiteral<"shared-worker">; - }, "strip", z.ZodTypeAny, { - type: "shared-worker"; - }, { - type: "shared-worker"; - }>>>, z.ZodLazy; - origin: z.ZodString; - }, "strip", z.ZodTypeAny, { - origin: string; - realm: string; - }, { - origin: string; - realm: string; - }>>, z.ZodObject<{ - type: z.ZodLiteral<"service-worker">; - }, "strip", z.ZodTypeAny, { - type: "service-worker"; - }, { - type: "service-worker"; - }>>>, z.ZodLazy; - origin: z.ZodString; - }, "strip", z.ZodTypeAny, { - origin: string; - realm: string; - }, { - origin: string; - realm: string; - }>>, z.ZodObject<{ - type: z.ZodLiteral<"worker">; - }, "strip", z.ZodTypeAny, { - type: "worker"; - }, { - type: "worker"; - }>>>, z.ZodLazy; - origin: z.ZodString; - }, "strip", z.ZodTypeAny, { - origin: string; - realm: string; - }, { - origin: string; - realm: string; - }>>, z.ZodObject<{ - type: z.ZodLiteral<"paint-worklet">; - }, "strip", z.ZodTypeAny, { - type: "paint-worklet"; - }, { - type: "paint-worklet"; - }>>>, z.ZodLazy; - origin: z.ZodString; - }, "strip", z.ZodTypeAny, { - origin: string; - realm: string; - }, { - origin: string; - realm: string; - }>>, z.ZodObject<{ - type: z.ZodLiteral<"audio-worklet">; - }, "strip", z.ZodTypeAny, { - type: "audio-worklet"; - }, { - type: "audio-worklet"; - }>>>, z.ZodLazy; - origin: z.ZodString; - }, "strip", z.ZodTypeAny, { - origin: string; - realm: string; - }, { - origin: string; - realm: string; - }>>, z.ZodObject<{ - type: z.ZodLiteral<"worklet">; - }, "strip", z.ZodTypeAny, { - type: "worklet"; - }, { - type: "worklet"; - }>>>]>>; -} -export declare namespace Script { - const BaseRealmInfoSchema: z.ZodLazy; - origin: z.ZodString; - }, "strip", z.ZodTypeAny, { - origin: string; - realm: string; - }, { - origin: string; - realm: string; - }>>; -} -export declare namespace Script { - const WindowRealmInfoSchema: z.ZodLazy; - origin: z.ZodString; - }, "strip", z.ZodTypeAny, { - origin: string; - realm: string; - }, { - origin: string; - realm: string; - }>>, z.ZodObject<{ - type: z.ZodLiteral<"window">; - context: z.ZodLazy; - sandbox: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - type: "window"; - context: string; - sandbox?: string | undefined; - }, { - type: "window"; - context: string; - sandbox?: string | undefined; - }>>>; -} -export declare namespace Script { - const DedicatedWorkerRealmInfoSchema: z.ZodLazy; - origin: z.ZodString; - }, "strip", z.ZodTypeAny, { - origin: string; - realm: string; - }, { - origin: string; - realm: string; - }>>, z.ZodObject<{ - type: z.ZodLiteral<"dedicated-worker">; - owners: z.ZodTuple<[z.ZodLazy], null>; - }, "strip", z.ZodTypeAny, { - type: "dedicated-worker"; - owners: [string]; - }, { - type: "dedicated-worker"; - owners: [string]; - }>>>; -} -export declare namespace Script { - const SharedWorkerRealmInfoSchema: z.ZodLazy; - origin: z.ZodString; - }, "strip", z.ZodTypeAny, { - origin: string; - realm: string; - }, { - origin: string; - realm: string; - }>>, z.ZodObject<{ - type: z.ZodLiteral<"shared-worker">; - }, "strip", z.ZodTypeAny, { - type: "shared-worker"; - }, { - type: "shared-worker"; - }>>>; -} -export declare namespace Script { - const ServiceWorkerRealmInfoSchema: z.ZodLazy; - origin: z.ZodString; - }, "strip", z.ZodTypeAny, { - origin: string; - realm: string; - }, { - origin: string; - realm: string; - }>>, z.ZodObject<{ - type: z.ZodLiteral<"service-worker">; - }, "strip", z.ZodTypeAny, { - type: "service-worker"; - }, { - type: "service-worker"; - }>>>; -} -export declare namespace Script { - const WorkerRealmInfoSchema: z.ZodLazy; - origin: z.ZodString; - }, "strip", z.ZodTypeAny, { - origin: string; - realm: string; - }, { - origin: string; - realm: string; - }>>, z.ZodObject<{ - type: z.ZodLiteral<"worker">; - }, "strip", z.ZodTypeAny, { - type: "worker"; - }, { - type: "worker"; - }>>>; -} -export declare namespace Script { - const PaintWorkletRealmInfoSchema: z.ZodLazy; - origin: z.ZodString; - }, "strip", z.ZodTypeAny, { - origin: string; - realm: string; - }, { - origin: string; - realm: string; - }>>, z.ZodObject<{ - type: z.ZodLiteral<"paint-worklet">; - }, "strip", z.ZodTypeAny, { - type: "paint-worklet"; - }, { - type: "paint-worklet"; - }>>>; -} -export declare namespace Script { - const AudioWorkletRealmInfoSchema: z.ZodLazy; - origin: z.ZodString; - }, "strip", z.ZodTypeAny, { - origin: string; - realm: string; - }, { - origin: string; - realm: string; - }>>, z.ZodObject<{ - type: z.ZodLiteral<"audio-worklet">; - }, "strip", z.ZodTypeAny, { - type: "audio-worklet"; - }, { - type: "audio-worklet"; - }>>>; -} -export declare namespace Script { - const WorkletRealmInfoSchema: z.ZodLazy; - origin: z.ZodString; - }, "strip", z.ZodTypeAny, { - origin: string; - realm: string; - }, { - origin: string; - realm: string; - }>>, z.ZodObject<{ - type: z.ZodLiteral<"worklet">; - }, "strip", z.ZodTypeAny, { - type: "worklet"; - }, { - type: "worklet"; - }>>>; -} -export declare namespace Script { - const RealmTypeSchema: z.ZodLazy>; -} -export declare namespace Script { - const ListRemoteValueSchema: any; -} -export declare namespace Script { - const MappingRemoteValueSchema: z.ZodLazy, any], null>, "many">>; -} -export declare namespace Script { - const RemoteValueSchema: any; -} -export declare namespace Script { - const RemoteReferenceSchema: z.ZodLazy; - handle: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - sharedId: string; - handle?: string | undefined; - }, { - sharedId: string; - handle?: string | undefined; - }>, z.ZodLazy>>>, z.ZodLazy; - sharedId: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - handle: string; - sharedId?: string | undefined; - }, { - handle: string; - sharedId?: string | undefined; - }>, z.ZodLazy>>>]>>; -} -export declare namespace Script { - const SharedReferenceSchema: z.ZodLazy; - handle: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - sharedId: string; - handle?: string | undefined; - }, { - sharedId: string; - handle?: string | undefined; - }>, z.ZodLazy>>>; -} -export declare namespace Script { - const RemoteObjectReferenceSchema: z.ZodLazy; - sharedId: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - handle: string; - sharedId?: string | undefined; - }, { - handle: string; - sharedId?: string | undefined; - }>, z.ZodLazy>>>; -} -export declare namespace Script { - const SymbolRemoteValueSchema: z.ZodLazy; - handle: z.ZodOptional>; - internalId: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - type: "symbol"; - handle?: string | undefined; - internalId?: string | undefined; - }, { - type: "symbol"; - handle?: string | undefined; - internalId?: string | undefined; - }>>; -} -export declare namespace Script { - const ArrayRemoteValueSchema: any; -} -export declare namespace Script { - const ObjectRemoteValueSchema: z.ZodLazy; - handle: z.ZodOptional>; - internalId: z.ZodOptional>; - value: z.ZodOptional, any], null>, "many">>>; - }, "strip", z.ZodTypeAny, { - type: "object"; - handle?: string | undefined; - internalId?: string | undefined; - value?: [any, any][] | undefined; - }, { - type: "object"; - handle?: string | undefined; - internalId?: string | undefined; - value?: [any, any][] | undefined; - }>>; -} -export declare namespace Script { - const FunctionRemoteValueSchema: z.ZodLazy; - handle: z.ZodOptional>; - internalId: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - type: "function"; - handle?: string | undefined; - internalId?: string | undefined; - }, { - type: "function"; - handle?: string | undefined; - internalId?: string | undefined; - }>>; -} -export declare namespace Script { - const RegExpRemoteValueSchema: z.ZodLazy>; - internalId: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - handle?: string | undefined; - internalId?: string | undefined; - }, { - handle?: string | undefined; - internalId?: string | undefined; - }>, z.ZodLazy; - value: z.ZodLazy; - }, "strip", z.ZodTypeAny, { - pattern: string; - flags?: string | undefined; - }, { - pattern: string; - flags?: string | undefined; - }>>; - }, "strip", z.ZodTypeAny, { - type: "regexp"; - value: { - pattern: string; - flags?: string | undefined; - }; - }, { - type: "regexp"; - value: { - pattern: string; - flags?: string | undefined; - }; - }>>>>; -} -export declare namespace Script { - const DateRemoteValueSchema: z.ZodLazy>; - internalId: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - handle?: string | undefined; - internalId?: string | undefined; - }, { - handle?: string | undefined; - internalId?: string | undefined; - }>, z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "date"; - value: string; - }, { - type: "date"; - value: string; - }>>>>; -} -export declare namespace Script { - const MapRemoteValueSchema: z.ZodLazy; - handle: z.ZodOptional>; - internalId: z.ZodOptional>; - value: z.ZodOptional, any], null>, "many">>>; - }, "strip", z.ZodTypeAny, { - type: "map"; - handle?: string | undefined; - internalId?: string | undefined; - value?: [any, any][] | undefined; - }, { - type: "map"; - handle?: string | undefined; - internalId?: string | undefined; - value?: [any, any][] | undefined; - }>>; -} -export declare namespace Script { - const SetRemoteValueSchema: z.ZodLazy; - handle: z.ZodOptional>; - internalId: z.ZodOptional>; - value: any; - }, "strip", z.ZodTypeAny, { - type: "set"; - handle?: string | undefined; - internalId?: string | undefined; - value?: any; - }, { - type: "set"; - handle?: string | undefined; - internalId?: string | undefined; - value?: any; - }>>; -} -export declare namespace Script { - const WeakMapRemoteValueSchema: z.ZodLazy; - handle: z.ZodOptional>; - internalId: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - type: "weakmap"; - handle?: string | undefined; - internalId?: string | undefined; - }, { - type: "weakmap"; - handle?: string | undefined; - internalId?: string | undefined; - }>>; -} -export declare namespace Script { - const WeakSetRemoteValueSchema: z.ZodLazy; - handle: z.ZodOptional>; - internalId: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - type: "weakset"; - handle?: string | undefined; - internalId?: string | undefined; - }, { - type: "weakset"; - handle?: string | undefined; - internalId?: string | undefined; - }>>; -} -export declare namespace Script { - const IteratorRemoteValueSchema: z.ZodLazy; - handle: z.ZodOptional>; - internalId: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - type: "iterator"; - handle?: string | undefined; - internalId?: string | undefined; - }, { - type: "iterator"; - handle?: string | undefined; - internalId?: string | undefined; - }>>; -} -export declare namespace Script { - const GeneratorRemoteValueSchema: z.ZodLazy; - handle: z.ZodOptional>; - internalId: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - type: "generator"; - handle?: string | undefined; - internalId?: string | undefined; - }, { - type: "generator"; - handle?: string | undefined; - internalId?: string | undefined; - }>>; -} -export declare namespace Script { - const ErrorRemoteValueSchema: z.ZodLazy; - handle: z.ZodOptional>; - internalId: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - type: "error"; - handle?: string | undefined; - internalId?: string | undefined; - }, { - type: "error"; - handle?: string | undefined; - internalId?: string | undefined; - }>>; -} -export declare namespace Script { - const ProxyRemoteValueSchema: z.ZodLazy; - handle: z.ZodOptional>; - internalId: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - type: "proxy"; - handle?: string | undefined; - internalId?: string | undefined; - }, { - type: "proxy"; - handle?: string | undefined; - internalId?: string | undefined; - }>>; -} -export declare namespace Script { - const PromiseRemoteValueSchema: z.ZodLazy; - handle: z.ZodOptional>; - internalId: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - type: "promise"; - handle?: string | undefined; - internalId?: string | undefined; - }, { - type: "promise"; - handle?: string | undefined; - internalId?: string | undefined; - }>>; -} -export declare namespace Script { - const TypedArrayRemoteValueSchema: z.ZodLazy; - handle: z.ZodOptional>; - internalId: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - type: "typedarray"; - handle?: string | undefined; - internalId?: string | undefined; - }, { - type: "typedarray"; - handle?: string | undefined; - internalId?: string | undefined; - }>>; -} -export declare namespace Script { - const ArrayBufferRemoteValueSchema: z.ZodLazy; - handle: z.ZodOptional>; - internalId: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - type: "arraybuffer"; - handle?: string | undefined; - internalId?: string | undefined; - }, { - type: "arraybuffer"; - handle?: string | undefined; - internalId?: string | undefined; - }>>; -} -export declare namespace Script { - const NodeListRemoteValueSchema: z.ZodLazy; - handle: z.ZodOptional>; - internalId: z.ZodOptional>; - value: any; - }, "strip", z.ZodTypeAny, { - type: "nodelist"; - handle?: string | undefined; - internalId?: string | undefined; - value?: any; - }, { - type: "nodelist"; - handle?: string | undefined; - internalId?: string | undefined; - value?: any; - }>>; -} -export declare namespace Script { - const HtmlCollectionRemoteValueSchema: z.ZodLazy; - handle: z.ZodOptional>; - internalId: z.ZodOptional>; - value: any; - }, "strip", z.ZodTypeAny, { - type: "htmlcollection"; - handle?: string | undefined; - internalId?: string | undefined; - value?: any; - }, { - type: "htmlcollection"; - handle?: string | undefined; - internalId?: string | undefined; - value?: any; - }>>; -} -export declare namespace Script { - const NodeRemoteValueSchema: any; -} -export declare namespace Script { - const NodePropertiesSchema: any; -} -export declare namespace Script { - const WindowProxyRemoteValueSchema: z.ZodLazy; - value: z.ZodLazy; - }, "strip", z.ZodTypeAny, { - context: string; - }, { - context: string; - }>>; - handle: z.ZodOptional>; - internalId: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - type: "window"; - value: { - context: string; - }; - handle?: string | undefined; - internalId?: string | undefined; - }, { - type: "window"; - value: { - context: string; - }; - handle?: string | undefined; - internalId?: string | undefined; - }>>; -} -export declare namespace Script { - const WindowProxyPropertiesSchema: z.ZodLazy; - }, "strip", z.ZodTypeAny, { - context: string; - }, { - context: string; - }>>; -} -export declare namespace Script { - const ResultOwnershipSchema: z.ZodLazy>; -} -export declare namespace Script { - const SerializationOptionsSchema: z.ZodLazy, z.ZodNull]>>>; - maxObjectDepth: z.ZodOptional, z.ZodNull]>>>; - includeShadowTree: z.ZodOptional>>; - }, "strip", z.ZodTypeAny, { - maxDomDepth?: number | null | undefined; - maxObjectDepth?: number | null | undefined; - includeShadowTree?: "none" | "all" | "open" | undefined; - }, { - maxDomDepth?: number | null | undefined; - maxObjectDepth?: number | null | undefined; - includeShadowTree?: "none" | "all" | "open" | undefined; - }>>; -} -export declare namespace Script { - const SharedIdSchema: z.ZodLazy; -} -export declare namespace Script { - const StackFrameSchema: z.ZodLazy; - functionName: z.ZodString; - lineNumber: z.ZodLazy; - url: z.ZodString; - }, "strip", z.ZodTypeAny, { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }, { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }>>; -} -export declare namespace Script { - const StackTraceSchema: z.ZodLazy; - functionName: z.ZodString; - lineNumber: z.ZodLazy; - url: z.ZodString; - }, "strip", z.ZodTypeAny, { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }, { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }>>, "many">; - }, "strip", z.ZodTypeAny, { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }, { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }>>; -} -export declare namespace Script { - const SourceSchema: z.ZodLazy; - context: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - realm: string; - context?: string | undefined; - }, { - realm: string; - context?: string | undefined; - }>>; -} -export declare namespace Script { - const RealmTargetSchema: z.ZodLazy; - }, "strip", z.ZodTypeAny, { - realm: string; - }, { - realm: string; - }>>; -} -export declare namespace Script { - const ContextTargetSchema: z.ZodLazy; - sandbox: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - context: string; - sandbox?: string | undefined; - }, { - context: string; - sandbox?: string | undefined; - }>>; -} -export declare namespace Script { - const TargetSchema: z.ZodLazy; - }, "strip", z.ZodTypeAny, { - realm: string; - }, { - realm: string; - }>>, z.ZodLazy; - sandbox: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - context: string; - sandbox?: string | undefined; - }, { - context: string; - sandbox?: string | undefined; - }>>]>>; -} -export declare namespace Script { - const AddPreloadScriptSchema: z.ZodLazy; - params: z.ZodLazy; - value: z.ZodLazy; - serializationOptions: z.ZodOptional, z.ZodNull]>>>; - maxObjectDepth: z.ZodOptional, z.ZodNull]>>>; - includeShadowTree: z.ZodOptional>>; - }, "strip", z.ZodTypeAny, { - maxDomDepth?: number | null | undefined; - maxObjectDepth?: number | null | undefined; - includeShadowTree?: "none" | "all" | "open" | undefined; - }, { - maxDomDepth?: number | null | undefined; - maxObjectDepth?: number | null | undefined; - includeShadowTree?: "none" | "all" | "open" | undefined; - }>>>; - ownership: z.ZodOptional>>; - }, "strip", z.ZodTypeAny, { - channel: string; - serializationOptions?: { - maxDomDepth?: number | null | undefined; - maxObjectDepth?: number | null | undefined; - includeShadowTree?: "none" | "all" | "open" | undefined; - } | undefined; - ownership?: "none" | "root" | undefined; - }, { - channel: string; - serializationOptions?: { - maxDomDepth?: number | null | undefined; - maxObjectDepth?: number | null | undefined; - includeShadowTree?: "none" | "all" | "open" | undefined; - } | undefined; - ownership?: "none" | "root" | undefined; - }>>; - }, "strip", z.ZodTypeAny, { - type: "channel"; - value: { - channel: string; - serializationOptions?: { - maxDomDepth?: number | null | undefined; - maxObjectDepth?: number | null | undefined; - includeShadowTree?: "none" | "all" | "open" | undefined; - } | undefined; - ownership?: "none" | "root" | undefined; - }; - }, { - type: "channel"; - value: { - channel: string; - serializationOptions?: { - maxDomDepth?: number | null | undefined; - maxObjectDepth?: number | null | undefined; - includeShadowTree?: "none" | "all" | "open" | undefined; - } | undefined; - ownership?: "none" | "root" | undefined; - }; - }>>, "many">>; - contexts: z.ZodOptional, "many">>; - sandbox: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - functionDeclaration: string; - arguments?: { - type: "channel"; - value: { - channel: string; - serializationOptions?: { - maxDomDepth?: number | null | undefined; - maxObjectDepth?: number | null | undefined; - includeShadowTree?: "none" | "all" | "open" | undefined; - } | undefined; - ownership?: "none" | "root" | undefined; - }; - }[] | undefined; - contexts?: string[] | undefined; - sandbox?: string | undefined; - }, { - functionDeclaration: string; - arguments?: { - type: "channel"; - value: { - channel: string; - serializationOptions?: { - maxDomDepth?: number | null | undefined; - maxObjectDepth?: number | null | undefined; - includeShadowTree?: "none" | "all" | "open" | undefined; - } | undefined; - ownership?: "none" | "root" | undefined; - }; - }[] | undefined; - contexts?: string[] | undefined; - sandbox?: string | undefined; - }>>; - }, "strip", z.ZodTypeAny, { - params: { - functionDeclaration: string; - arguments?: { - type: "channel"; - value: { - channel: string; - serializationOptions?: { - maxDomDepth?: number | null | undefined; - maxObjectDepth?: number | null | undefined; - includeShadowTree?: "none" | "all" | "open" | undefined; - } | undefined; - ownership?: "none" | "root" | undefined; - }; - }[] | undefined; - contexts?: string[] | undefined; - sandbox?: string | undefined; - }; - method: "script.addPreloadScript"; - }, { - params: { - functionDeclaration: string; - arguments?: { - type: "channel"; - value: { - channel: string; - serializationOptions?: { - maxDomDepth?: number | null | undefined; - maxObjectDepth?: number | null | undefined; - includeShadowTree?: "none" | "all" | "open" | undefined; - } | undefined; - ownership?: "none" | "root" | undefined; - }; - }[] | undefined; - contexts?: string[] | undefined; - sandbox?: string | undefined; - }; - method: "script.addPreloadScript"; - }>>; -} -export declare namespace Script { - const AddPreloadScriptParametersSchema: z.ZodLazy; - value: z.ZodLazy; - serializationOptions: z.ZodOptional, z.ZodNull]>>>; - maxObjectDepth: z.ZodOptional, z.ZodNull]>>>; - includeShadowTree: z.ZodOptional>>; - }, "strip", z.ZodTypeAny, { - maxDomDepth?: number | null | undefined; - maxObjectDepth?: number | null | undefined; - includeShadowTree?: "none" | "all" | "open" | undefined; - }, { - maxDomDepth?: number | null | undefined; - maxObjectDepth?: number | null | undefined; - includeShadowTree?: "none" | "all" | "open" | undefined; - }>>>; - ownership: z.ZodOptional>>; - }, "strip", z.ZodTypeAny, { - channel: string; - serializationOptions?: { - maxDomDepth?: number | null | undefined; - maxObjectDepth?: number | null | undefined; - includeShadowTree?: "none" | "all" | "open" | undefined; - } | undefined; - ownership?: "none" | "root" | undefined; - }, { - channel: string; - serializationOptions?: { - maxDomDepth?: number | null | undefined; - maxObjectDepth?: number | null | undefined; - includeShadowTree?: "none" | "all" | "open" | undefined; - } | undefined; - ownership?: "none" | "root" | undefined; - }>>; - }, "strip", z.ZodTypeAny, { - type: "channel"; - value: { - channel: string; - serializationOptions?: { - maxDomDepth?: number | null | undefined; - maxObjectDepth?: number | null | undefined; - includeShadowTree?: "none" | "all" | "open" | undefined; - } | undefined; - ownership?: "none" | "root" | undefined; - }; - }, { - type: "channel"; - value: { - channel: string; - serializationOptions?: { - maxDomDepth?: number | null | undefined; - maxObjectDepth?: number | null | undefined; - includeShadowTree?: "none" | "all" | "open" | undefined; - } | undefined; - ownership?: "none" | "root" | undefined; - }; - }>>, "many">>; - contexts: z.ZodOptional, "many">>; - sandbox: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - functionDeclaration: string; - arguments?: { - type: "channel"; - value: { - channel: string; - serializationOptions?: { - maxDomDepth?: number | null | undefined; - maxObjectDepth?: number | null | undefined; - includeShadowTree?: "none" | "all" | "open" | undefined; - } | undefined; - ownership?: "none" | "root" | undefined; - }; - }[] | undefined; - contexts?: string[] | undefined; - sandbox?: string | undefined; - }, { - functionDeclaration: string; - arguments?: { - type: "channel"; - value: { - channel: string; - serializationOptions?: { - maxDomDepth?: number | null | undefined; - maxObjectDepth?: number | null | undefined; - includeShadowTree?: "none" | "all" | "open" | undefined; - } | undefined; - ownership?: "none" | "root" | undefined; - }; - }[] | undefined; - contexts?: string[] | undefined; - sandbox?: string | undefined; - }>>; -} -export declare namespace Script { - const AddPreloadScriptResultSchema: z.ZodLazy; - }, "strip", z.ZodTypeAny, { - script: string; - }, { - script: string; - }>>; -} -export declare namespace Script { - const DisownSchema: z.ZodLazy; - params: z.ZodLazy, "many">; - target: z.ZodLazy; - }, "strip", z.ZodTypeAny, { - realm: string; - }, { - realm: string; - }>>, z.ZodLazy; - sandbox: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - context: string; - sandbox?: string | undefined; - }, { - context: string; - sandbox?: string | undefined; - }>>]>>; - }, "strip", z.ZodTypeAny, { - target: ({ - realm: string; - } | { - context: string; - sandbox?: string | undefined; - }) & ({ - realm: string; - } | { - context: string; - sandbox?: string | undefined; - } | undefined); - handles: string[]; - }, { - target: ({ - realm: string; - } | { - context: string; - sandbox?: string | undefined; - }) & ({ - realm: string; - } | { - context: string; - sandbox?: string | undefined; - } | undefined); - handles: string[]; - }>>; - }, "strip", z.ZodTypeAny, { - params: { - target: ({ - realm: string; - } | { - context: string; - sandbox?: string | undefined; - }) & ({ - realm: string; - } | { - context: string; - sandbox?: string | undefined; - } | undefined); - handles: string[]; - }; - method: "script.disown"; - }, { - params: { - target: ({ - realm: string; - } | { - context: string; - sandbox?: string | undefined; - }) & ({ - realm: string; - } | { - context: string; - sandbox?: string | undefined; - } | undefined); - handles: string[]; - }; - method: "script.disown"; - }>>; -} -export declare namespace Script { - const DisownParametersSchema: z.ZodLazy, "many">; - target: z.ZodLazy; - }, "strip", z.ZodTypeAny, { - realm: string; - }, { - realm: string; - }>>, z.ZodLazy; - sandbox: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - context: string; - sandbox?: string | undefined; - }, { - context: string; - sandbox?: string | undefined; - }>>]>>; - }, "strip", z.ZodTypeAny, { - target: ({ - realm: string; - } | { - context: string; - sandbox?: string | undefined; - }) & ({ - realm: string; - } | { - context: string; - sandbox?: string | undefined; - } | undefined); - handles: string[]; - }, { - target: ({ - realm: string; - } | { - context: string; - sandbox?: string | undefined; - }) & ({ - realm: string; - } | { - context: string; - sandbox?: string | undefined; - } | undefined); - handles: string[]; - }>>; -} -export declare namespace Script { - const CallFunctionParametersSchema: z.ZodLazy; - }, "strip", z.ZodTypeAny, { - realm: string; - }, { - realm: string; - }>>, z.ZodLazy; - sandbox: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - context: string; - sandbox?: string | undefined; - }, { - context: string; - sandbox?: string | undefined; - }>>]>>; - arguments: z.ZodOptional>; - resultOwnership: z.ZodOptional>>; - serializationOptions: z.ZodOptional, z.ZodNull]>>>; - maxObjectDepth: z.ZodOptional, z.ZodNull]>>>; - includeShadowTree: z.ZodOptional>>; - }, "strip", z.ZodTypeAny, { - maxDomDepth?: number | null | undefined; - maxObjectDepth?: number | null | undefined; - includeShadowTree?: "none" | "all" | "open" | undefined; - }, { - maxDomDepth?: number | null | undefined; - maxObjectDepth?: number | null | undefined; - includeShadowTree?: "none" | "all" | "open" | undefined; - }>>>; - this: any; - userActivation: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - target: ({ - realm: string; - } | { - context: string; - sandbox?: string | undefined; - }) & ({ - realm: string; - } | { - context: string; - sandbox?: string | undefined; - } | undefined); - awaitPromise: boolean; - functionDeclaration: string; - arguments?: any[] | undefined; - resultOwnership?: "none" | "root" | undefined; - serializationOptions?: { - maxDomDepth?: number | null | undefined; - maxObjectDepth?: number | null | undefined; - includeShadowTree?: "none" | "all" | "open" | undefined; - } | undefined; - this?: any; - userActivation?: boolean | undefined; - }, { - target: ({ - realm: string; - } | { - context: string; - sandbox?: string | undefined; - }) & ({ - realm: string; - } | { - context: string; - sandbox?: string | undefined; - } | undefined); - awaitPromise: boolean; - functionDeclaration: string; - arguments?: any[] | undefined; - resultOwnership?: "none" | "root" | undefined; - serializationOptions?: { - maxDomDepth?: number | null | undefined; - maxObjectDepth?: number | null | undefined; - includeShadowTree?: "none" | "all" | "open" | undefined; - } | undefined; - this?: any; - userActivation?: boolean | undefined; - }>>; -} -export declare namespace Script { - const CallFunctionSchema: z.ZodLazy; - params: z.ZodLazy; - }, "strip", z.ZodTypeAny, { - realm: string; - }, { - realm: string; - }>>, z.ZodLazy; - sandbox: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - context: string; - sandbox?: string | undefined; - }, { - context: string; - sandbox?: string | undefined; - }>>]>>; - arguments: z.ZodOptional>; - resultOwnership: z.ZodOptional>>; - serializationOptions: z.ZodOptional, z.ZodNull]>>>; - maxObjectDepth: z.ZodOptional, z.ZodNull]>>>; - includeShadowTree: z.ZodOptional>>; - }, "strip", z.ZodTypeAny, { - maxDomDepth?: number | null | undefined; - maxObjectDepth?: number | null | undefined; - includeShadowTree?: "none" | "all" | "open" | undefined; - }, { - maxDomDepth?: number | null | undefined; - maxObjectDepth?: number | null | undefined; - includeShadowTree?: "none" | "all" | "open" | undefined; - }>>>; - this: any; - userActivation: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - target: ({ - realm: string; - } | { - context: string; - sandbox?: string | undefined; - }) & ({ - realm: string; - } | { - context: string; - sandbox?: string | undefined; - } | undefined); - awaitPromise: boolean; - functionDeclaration: string; - arguments?: any[] | undefined; - resultOwnership?: "none" | "root" | undefined; - serializationOptions?: { - maxDomDepth?: number | null | undefined; - maxObjectDepth?: number | null | undefined; - includeShadowTree?: "none" | "all" | "open" | undefined; - } | undefined; - this?: any; - userActivation?: boolean | undefined; - }, { - target: ({ - realm: string; - } | { - context: string; - sandbox?: string | undefined; - }) & ({ - realm: string; - } | { - context: string; - sandbox?: string | undefined; - } | undefined); - awaitPromise: boolean; - functionDeclaration: string; - arguments?: any[] | undefined; - resultOwnership?: "none" | "root" | undefined; - serializationOptions?: { - maxDomDepth?: number | null | undefined; - maxObjectDepth?: number | null | undefined; - includeShadowTree?: "none" | "all" | "open" | undefined; - } | undefined; - this?: any; - userActivation?: boolean | undefined; - }>>; - }, "strip", z.ZodTypeAny, { - params: { - target: ({ - realm: string; - } | { - context: string; - sandbox?: string | undefined; - }) & ({ - realm: string; - } | { - context: string; - sandbox?: string | undefined; - } | undefined); - awaitPromise: boolean; - functionDeclaration: string; - arguments?: any[] | undefined; - resultOwnership?: "none" | "root" | undefined; - serializationOptions?: { - maxDomDepth?: number | null | undefined; - maxObjectDepth?: number | null | undefined; - includeShadowTree?: "none" | "all" | "open" | undefined; - } | undefined; - this?: any; - userActivation?: boolean | undefined; - }; - method: "script.callFunction"; - }, { - params: { - target: ({ - realm: string; - } | { - context: string; - sandbox?: string | undefined; - }) & ({ - realm: string; - } | { - context: string; - sandbox?: string | undefined; - } | undefined); - awaitPromise: boolean; - functionDeclaration: string; - arguments?: any[] | undefined; - resultOwnership?: "none" | "root" | undefined; - serializationOptions?: { - maxDomDepth?: number | null | undefined; - maxObjectDepth?: number | null | undefined; - includeShadowTree?: "none" | "all" | "open" | undefined; - } | undefined; - this?: any; - userActivation?: boolean | undefined; - }; - method: "script.callFunction"; - }>>; -} -export declare namespace Script { - const EvaluateSchema: z.ZodLazy; - params: z.ZodLazy; - }, "strip", z.ZodTypeAny, { - realm: string; - }, { - realm: string; - }>>, z.ZodLazy; - sandbox: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - context: string; - sandbox?: string | undefined; - }, { - context: string; - sandbox?: string | undefined; - }>>]>>; - awaitPromise: z.ZodBoolean; - resultOwnership: z.ZodOptional>>; - serializationOptions: z.ZodOptional, z.ZodNull]>>>; - maxObjectDepth: z.ZodOptional, z.ZodNull]>>>; - includeShadowTree: z.ZodOptional>>; - }, "strip", z.ZodTypeAny, { - maxDomDepth?: number | null | undefined; - maxObjectDepth?: number | null | undefined; - includeShadowTree?: "none" | "all" | "open" | undefined; - }, { - maxDomDepth?: number | null | undefined; - maxObjectDepth?: number | null | undefined; - includeShadowTree?: "none" | "all" | "open" | undefined; - }>>>; - userActivation: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - expression: string; - target: ({ - realm: string; - } | { - context: string; - sandbox?: string | undefined; - }) & ({ - realm: string; - } | { - context: string; - sandbox?: string | undefined; - } | undefined); - awaitPromise: boolean; - resultOwnership?: "none" | "root" | undefined; - serializationOptions?: { - maxDomDepth?: number | null | undefined; - maxObjectDepth?: number | null | undefined; - includeShadowTree?: "none" | "all" | "open" | undefined; - } | undefined; - userActivation?: boolean | undefined; - }, { - expression: string; - target: ({ - realm: string; - } | { - context: string; - sandbox?: string | undefined; - }) & ({ - realm: string; - } | { - context: string; - sandbox?: string | undefined; - } | undefined); - awaitPromise: boolean; - resultOwnership?: "none" | "root" | undefined; - serializationOptions?: { - maxDomDepth?: number | null | undefined; - maxObjectDepth?: number | null | undefined; - includeShadowTree?: "none" | "all" | "open" | undefined; - } | undefined; - userActivation?: boolean | undefined; - }>>; - }, "strip", z.ZodTypeAny, { - params: { - expression: string; - target: ({ - realm: string; - } | { - context: string; - sandbox?: string | undefined; - }) & ({ - realm: string; - } | { - context: string; - sandbox?: string | undefined; - } | undefined); - awaitPromise: boolean; - resultOwnership?: "none" | "root" | undefined; - serializationOptions?: { - maxDomDepth?: number | null | undefined; - maxObjectDepth?: number | null | undefined; - includeShadowTree?: "none" | "all" | "open" | undefined; - } | undefined; - userActivation?: boolean | undefined; - }; - method: "script.evaluate"; - }, { - params: { - expression: string; - target: ({ - realm: string; - } | { - context: string; - sandbox?: string | undefined; - }) & ({ - realm: string; - } | { - context: string; - sandbox?: string | undefined; - } | undefined); - awaitPromise: boolean; - resultOwnership?: "none" | "root" | undefined; - serializationOptions?: { - maxDomDepth?: number | null | undefined; - maxObjectDepth?: number | null | undefined; - includeShadowTree?: "none" | "all" | "open" | undefined; - } | undefined; - userActivation?: boolean | undefined; - }; - method: "script.evaluate"; - }>>; -} -export declare namespace Script { - const EvaluateParametersSchema: z.ZodLazy; - }, "strip", z.ZodTypeAny, { - realm: string; - }, { - realm: string; - }>>, z.ZodLazy; - sandbox: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - context: string; - sandbox?: string | undefined; - }, { - context: string; - sandbox?: string | undefined; - }>>]>>; - awaitPromise: z.ZodBoolean; - resultOwnership: z.ZodOptional>>; - serializationOptions: z.ZodOptional, z.ZodNull]>>>; - maxObjectDepth: z.ZodOptional, z.ZodNull]>>>; - includeShadowTree: z.ZodOptional>>; - }, "strip", z.ZodTypeAny, { - maxDomDepth?: number | null | undefined; - maxObjectDepth?: number | null | undefined; - includeShadowTree?: "none" | "all" | "open" | undefined; - }, { - maxDomDepth?: number | null | undefined; - maxObjectDepth?: number | null | undefined; - includeShadowTree?: "none" | "all" | "open" | undefined; - }>>>; - userActivation: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - expression: string; - target: ({ - realm: string; - } | { - context: string; - sandbox?: string | undefined; - }) & ({ - realm: string; - } | { - context: string; - sandbox?: string | undefined; - } | undefined); - awaitPromise: boolean; - resultOwnership?: "none" | "root" | undefined; - serializationOptions?: { - maxDomDepth?: number | null | undefined; - maxObjectDepth?: number | null | undefined; - includeShadowTree?: "none" | "all" | "open" | undefined; - } | undefined; - userActivation?: boolean | undefined; - }, { - expression: string; - target: ({ - realm: string; - } | { - context: string; - sandbox?: string | undefined; - }) & ({ - realm: string; - } | { - context: string; - sandbox?: string | undefined; - } | undefined); - awaitPromise: boolean; - resultOwnership?: "none" | "root" | undefined; - serializationOptions?: { - maxDomDepth?: number | null | undefined; - maxObjectDepth?: number | null | undefined; - includeShadowTree?: "none" | "all" | "open" | undefined; - } | undefined; - userActivation?: boolean | undefined; - }>>; -} -export declare namespace Script { - const GetRealmsSchema: z.ZodLazy; - params: z.ZodLazy>; - type: z.ZodOptional>>; - }, "strip", z.ZodTypeAny, { - context?: string | undefined; - type?: "worker" | "window" | "dedicated-worker" | "shared-worker" | "service-worker" | "paint-worklet" | "audio-worklet" | "worklet" | undefined; - }, { - context?: string | undefined; - type?: "worker" | "window" | "dedicated-worker" | "shared-worker" | "service-worker" | "paint-worklet" | "audio-worklet" | "worklet" | undefined; - }>>; - }, "strip", z.ZodTypeAny, { - params: { - context?: string | undefined; - type?: "worker" | "window" | "dedicated-worker" | "shared-worker" | "service-worker" | "paint-worklet" | "audio-worklet" | "worklet" | undefined; - }; - method: "script.getRealms"; - }, { - params: { - context?: string | undefined; - type?: "worker" | "window" | "dedicated-worker" | "shared-worker" | "service-worker" | "paint-worklet" | "audio-worklet" | "worklet" | undefined; - }; - method: "script.getRealms"; - }>>; -} -export declare namespace Script { - const GetRealmsParametersSchema: z.ZodLazy>; - type: z.ZodOptional>>; - }, "strip", z.ZodTypeAny, { - context?: string | undefined; - type?: "worker" | "window" | "dedicated-worker" | "shared-worker" | "service-worker" | "paint-worklet" | "audio-worklet" | "worklet" | undefined; - }, { - context?: string | undefined; - type?: "worker" | "window" | "dedicated-worker" | "shared-worker" | "service-worker" | "paint-worklet" | "audio-worklet" | "worklet" | undefined; - }>>; -} -export declare namespace Script { - const GetRealmsResultSchema: z.ZodLazy; - origin: z.ZodString; - }, "strip", z.ZodTypeAny, { - origin: string; - realm: string; - }, { - origin: string; - realm: string; - }>>, z.ZodObject<{ - type: z.ZodLiteral<"window">; - context: z.ZodLazy; - sandbox: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - type: "window"; - context: string; - sandbox?: string | undefined; - }, { - type: "window"; - context: string; - sandbox?: string | undefined; - }>>>, z.ZodLazy; - origin: z.ZodString; - }, "strip", z.ZodTypeAny, { - origin: string; - realm: string; - }, { - origin: string; - realm: string; - }>>, z.ZodObject<{ - type: z.ZodLiteral<"dedicated-worker">; - owners: z.ZodTuple<[z.ZodLazy], null>; - }, "strip", z.ZodTypeAny, { - type: "dedicated-worker"; - owners: [string]; - }, { - type: "dedicated-worker"; - owners: [string]; - }>>>, z.ZodLazy; - origin: z.ZodString; - }, "strip", z.ZodTypeAny, { - origin: string; - realm: string; - }, { - origin: string; - realm: string; - }>>, z.ZodObject<{ - type: z.ZodLiteral<"shared-worker">; - }, "strip", z.ZodTypeAny, { - type: "shared-worker"; - }, { - type: "shared-worker"; - }>>>, z.ZodLazy; - origin: z.ZodString; - }, "strip", z.ZodTypeAny, { - origin: string; - realm: string; - }, { - origin: string; - realm: string; - }>>, z.ZodObject<{ - type: z.ZodLiteral<"service-worker">; - }, "strip", z.ZodTypeAny, { - type: "service-worker"; - }, { - type: "service-worker"; - }>>>, z.ZodLazy; - origin: z.ZodString; - }, "strip", z.ZodTypeAny, { - origin: string; - realm: string; - }, { - origin: string; - realm: string; - }>>, z.ZodObject<{ - type: z.ZodLiteral<"worker">; - }, "strip", z.ZodTypeAny, { - type: "worker"; - }, { - type: "worker"; - }>>>, z.ZodLazy; - origin: z.ZodString; - }, "strip", z.ZodTypeAny, { - origin: string; - realm: string; - }, { - origin: string; - realm: string; - }>>, z.ZodObject<{ - type: z.ZodLiteral<"paint-worklet">; - }, "strip", z.ZodTypeAny, { - type: "paint-worklet"; - }, { - type: "paint-worklet"; - }>>>, z.ZodLazy; - origin: z.ZodString; - }, "strip", z.ZodTypeAny, { - origin: string; - realm: string; - }, { - origin: string; - realm: string; - }>>, z.ZodObject<{ - type: z.ZodLiteral<"audio-worklet">; - }, "strip", z.ZodTypeAny, { - type: "audio-worklet"; - }, { - type: "audio-worklet"; - }>>>, z.ZodLazy; - origin: z.ZodString; - }, "strip", z.ZodTypeAny, { - origin: string; - realm: string; - }, { - origin: string; - realm: string; - }>>, z.ZodObject<{ - type: z.ZodLiteral<"worklet">; - }, "strip", z.ZodTypeAny, { - type: "worklet"; - }, { - type: "worklet"; - }>>>]>>, "many">; - }, "strip", z.ZodTypeAny, { - realms: (({ - origin: string; - realm: string; - } & { - type: "window"; - context: string; - sandbox?: string | undefined; - }) | ({ - origin: string; - realm: string; - } & { - type: "dedicated-worker"; - owners: [string]; - }) | ({ - origin: string; - realm: string; - } & { - type: "shared-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "service-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "paint-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "audio-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worklet"; - }))[]; - }, { - realms: (({ - origin: string; - realm: string; - } & { - type: "window"; - context: string; - sandbox?: string | undefined; - }) | ({ - origin: string; - realm: string; - } & { - type: "dedicated-worker"; - owners: [string]; - }) | ({ - origin: string; - realm: string; - } & { - type: "shared-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "service-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "paint-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "audio-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worklet"; - }))[]; - }>>; -} -export declare namespace Script { - const RemovePreloadScriptSchema: z.ZodLazy; - params: z.ZodLazy; - }, "strip", z.ZodTypeAny, { - script: string; - }, { - script: string; - }>>; - }, "strip", z.ZodTypeAny, { - params: { - script: string; - }; - method: "script.removePreloadScript"; - }, { - params: { - script: string; - }; - method: "script.removePreloadScript"; - }>>; -} -export declare namespace Script { - const RemovePreloadScriptParametersSchema: z.ZodLazy; - }, "strip", z.ZodTypeAny, { - script: string; - }, { - script: string; - }>>; -} -export declare namespace Script { - const MessageParametersSchema: z.ZodLazy; - data: any; - source: z.ZodLazy; - context: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - realm: string; - context?: string | undefined; - }, { - realm: string; - context?: string | undefined; - }>>; - }, "strip", z.ZodTypeAny, { - channel: string; - source: { - realm: string; - context?: string | undefined; - }; - data?: any; - }, { - channel: string; - source: { - realm: string; - context?: string | undefined; - }; - data?: any; - }>>; -} -export declare namespace Script { - const RealmCreatedSchema: z.ZodLazy; - params: z.ZodLazy; - origin: z.ZodString; - }, "strip", z.ZodTypeAny, { - origin: string; - realm: string; - }, { - origin: string; - realm: string; - }>>, z.ZodObject<{ - type: z.ZodLiteral<"window">; - context: z.ZodLazy; - sandbox: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - type: "window"; - context: string; - sandbox?: string | undefined; - }, { - type: "window"; - context: string; - sandbox?: string | undefined; - }>>>, z.ZodLazy; - origin: z.ZodString; - }, "strip", z.ZodTypeAny, { - origin: string; - realm: string; - }, { - origin: string; - realm: string; - }>>, z.ZodObject<{ - type: z.ZodLiteral<"dedicated-worker">; - owners: z.ZodTuple<[z.ZodLazy], null>; - }, "strip", z.ZodTypeAny, { - type: "dedicated-worker"; - owners: [string]; - }, { - type: "dedicated-worker"; - owners: [string]; - }>>>, z.ZodLazy; - origin: z.ZodString; - }, "strip", z.ZodTypeAny, { - origin: string; - realm: string; - }, { - origin: string; - realm: string; - }>>, z.ZodObject<{ - type: z.ZodLiteral<"shared-worker">; - }, "strip", z.ZodTypeAny, { - type: "shared-worker"; - }, { - type: "shared-worker"; - }>>>, z.ZodLazy; - origin: z.ZodString; - }, "strip", z.ZodTypeAny, { - origin: string; - realm: string; - }, { - origin: string; - realm: string; - }>>, z.ZodObject<{ - type: z.ZodLiteral<"service-worker">; - }, "strip", z.ZodTypeAny, { - type: "service-worker"; - }, { - type: "service-worker"; - }>>>, z.ZodLazy; - origin: z.ZodString; - }, "strip", z.ZodTypeAny, { - origin: string; - realm: string; - }, { - origin: string; - realm: string; - }>>, z.ZodObject<{ - type: z.ZodLiteral<"worker">; - }, "strip", z.ZodTypeAny, { - type: "worker"; - }, { - type: "worker"; - }>>>, z.ZodLazy; - origin: z.ZodString; - }, "strip", z.ZodTypeAny, { - origin: string; - realm: string; - }, { - origin: string; - realm: string; - }>>, z.ZodObject<{ - type: z.ZodLiteral<"paint-worklet">; - }, "strip", z.ZodTypeAny, { - type: "paint-worklet"; - }, { - type: "paint-worklet"; - }>>>, z.ZodLazy; - origin: z.ZodString; - }, "strip", z.ZodTypeAny, { - origin: string; - realm: string; - }, { - origin: string; - realm: string; - }>>, z.ZodObject<{ - type: z.ZodLiteral<"audio-worklet">; - }, "strip", z.ZodTypeAny, { - type: "audio-worklet"; - }, { - type: "audio-worklet"; - }>>>, z.ZodLazy; - origin: z.ZodString; - }, "strip", z.ZodTypeAny, { - origin: string; - realm: string; - }, { - origin: string; - realm: string; - }>>, z.ZodObject<{ - type: z.ZodLiteral<"worklet">; - }, "strip", z.ZodTypeAny, { - type: "worklet"; - }, { - type: "worklet"; - }>>>]>>; - }, "strip", z.ZodTypeAny, { - params: ({ - origin: string; - realm: string; - } & { - type: "window"; - context: string; - sandbox?: string | undefined; - }) | ({ - origin: string; - realm: string; - } & { - type: "dedicated-worker"; - owners: [string]; - }) | ({ - origin: string; - realm: string; - } & { - type: "shared-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "service-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "paint-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "audio-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worklet"; - }); - method: "script.realmCreated"; - }, { - params: ({ - origin: string; - realm: string; - } & { - type: "window"; - context: string; - sandbox?: string | undefined; - }) | ({ - origin: string; - realm: string; - } & { - type: "dedicated-worker"; - owners: [string]; - }) | ({ - origin: string; - realm: string; - } & { - type: "shared-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "service-worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worker"; - }) | ({ - origin: string; - realm: string; - } & { - type: "paint-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "audio-worklet"; - }) | ({ - origin: string; - realm: string; - } & { - type: "worklet"; - }); - method: "script.realmCreated"; - }>>; -} -export declare namespace Script { - const MessageSchema: z.ZodLazy; - params: z.ZodLazy; - data: any; - source: z.ZodLazy; - context: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - realm: string; - context?: string | undefined; - }, { - realm: string; - context?: string | undefined; - }>>; - }, "strip", z.ZodTypeAny, { - channel: string; - source: { - realm: string; - context?: string | undefined; - }; - data?: any; - }, { - channel: string; - source: { - realm: string; - context?: string | undefined; - }; - data?: any; - }>>; - }, "strip", z.ZodTypeAny, { - params: { - channel: string; - source: { - realm: string; - context?: string | undefined; - }; - data?: any; - }; - method: "script.message"; - }, { - params: { - channel: string; - source: { - realm: string; - context?: string | undefined; - }; - data?: any; - }; - method: "script.message"; - }>>; -} -export declare namespace Script { - const RealmDestroyedSchema: z.ZodLazy; - params: z.ZodLazy; - }, "strip", z.ZodTypeAny, { - realm: string; - }, { - realm: string; - }>>; - }, "strip", z.ZodTypeAny, { - params: { - realm: string; - }; - method: "script.realmDestroyed"; - }, { - params: { - realm: string; - }; - method: "script.realmDestroyed"; - }>>; -} -export declare namespace Script { - const RealmDestroyedParametersSchema: z.ZodLazy; - }, "strip", z.ZodTypeAny, { - realm: string; - }, { - realm: string; - }>>; -} -export declare const StorageCommandSchema: z.ZodLazy; - params: z.ZodLazy; - value: z.ZodOptional; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "string"; - value: string; - }, { - type: "string"; - value: string; - }>>, z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "base64"; - value: string; - }, { - type: "base64"; - value: string; - }>>]>>>; - domain: z.ZodOptional; - path: z.ZodOptional; - size: z.ZodOptional>; - httpOnly: z.ZodOptional; - secure: z.ZodOptional; - sameSite: z.ZodOptional>>; - expiry: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - name?: string | undefined; - value?: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - } | undefined; - domain?: string | undefined; - path?: string | undefined; - size?: number | undefined; - httpOnly?: boolean | undefined; - secure?: boolean | undefined; - sameSite?: "strict" | "none" | "lax" | undefined; - expiry?: number | undefined; - }, { - name?: string | undefined; - value?: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - } | undefined; - domain?: string | undefined; - path?: string | undefined; - size?: number | undefined; - httpOnly?: boolean | undefined; - secure?: boolean | undefined; - sameSite?: "strict" | "none" | "lax" | undefined; - expiry?: number | undefined; - }>, z.ZodLazy>>>>; - partition: z.ZodOptional; - context: z.ZodLazy; - }, "strip", z.ZodTypeAny, { - type: "context"; - context: string; - }, { - type: "context"; - context: string; - }>>, z.ZodLazy; - userContext: z.ZodOptional; - sourceOrigin: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - type: "storageKey"; - userContext?: string | undefined; - sourceOrigin?: string | undefined; - }, { - type: "storageKey"; - userContext?: string | undefined; - sourceOrigin?: string | undefined; - }>, z.ZodLazy>>>]>>>; - }, "strip", z.ZodTypeAny, { - filter?: ({ - name?: string | undefined; - value?: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - } | undefined; - domain?: string | undefined; - path?: string | undefined; - size?: number | undefined; - httpOnly?: boolean | undefined; - secure?: boolean | undefined; - sameSite?: "strict" | "none" | "lax" | undefined; - expiry?: number | undefined; - } & Record) | undefined; - partition?: { - type: "context"; - context: string; - } | ({ - type: "storageKey"; - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record) | undefined; - }, { - filter?: ({ - name?: string | undefined; - value?: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - } | undefined; - domain?: string | undefined; - path?: string | undefined; - size?: number | undefined; - httpOnly?: boolean | undefined; - secure?: boolean | undefined; - sameSite?: "strict" | "none" | "lax" | undefined; - expiry?: number | undefined; - } & Record) | undefined; - partition?: { - type: "context"; - context: string; - } | ({ - type: "storageKey"; - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record) | undefined; - }>>; -}, "strip", z.ZodTypeAny, { - params: { - filter?: ({ - name?: string | undefined; - value?: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - } | undefined; - domain?: string | undefined; - path?: string | undefined; - size?: number | undefined; - httpOnly?: boolean | undefined; - secure?: boolean | undefined; - sameSite?: "strict" | "none" | "lax" | undefined; - expiry?: number | undefined; - } & Record) | undefined; - partition?: { - type: "context"; - context: string; - } | ({ - type: "storageKey"; - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record) | undefined; - }; - method: "storage.deleteCookies"; -}, { - params: { - filter?: ({ - name?: string | undefined; - value?: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - } | undefined; - domain?: string | undefined; - path?: string | undefined; - size?: number | undefined; - httpOnly?: boolean | undefined; - secure?: boolean | undefined; - sameSite?: "strict" | "none" | "lax" | undefined; - expiry?: number | undefined; - } & Record) | undefined; - partition?: { - type: "context"; - context: string; - } | ({ - type: "storageKey"; - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record) | undefined; - }; - method: "storage.deleteCookies"; -}>>, z.ZodLazy; - params: z.ZodLazy; - value: z.ZodOptional; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "string"; - value: string; - }, { - type: "string"; - value: string; - }>>, z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "base64"; - value: string; - }, { - type: "base64"; - value: string; - }>>]>>>; - domain: z.ZodOptional; - path: z.ZodOptional; - size: z.ZodOptional>; - httpOnly: z.ZodOptional; - secure: z.ZodOptional; - sameSite: z.ZodOptional>>; - expiry: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - name?: string | undefined; - value?: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - } | undefined; - domain?: string | undefined; - path?: string | undefined; - size?: number | undefined; - httpOnly?: boolean | undefined; - secure?: boolean | undefined; - sameSite?: "strict" | "none" | "lax" | undefined; - expiry?: number | undefined; - }, { - name?: string | undefined; - value?: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - } | undefined; - domain?: string | undefined; - path?: string | undefined; - size?: number | undefined; - httpOnly?: boolean | undefined; - secure?: boolean | undefined; - sameSite?: "strict" | "none" | "lax" | undefined; - expiry?: number | undefined; - }>, z.ZodLazy>>>>; - partition: z.ZodOptional; - context: z.ZodLazy; - }, "strip", z.ZodTypeAny, { - type: "context"; - context: string; - }, { - type: "context"; - context: string; - }>>, z.ZodLazy; - userContext: z.ZodOptional; - sourceOrigin: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - type: "storageKey"; - userContext?: string | undefined; - sourceOrigin?: string | undefined; - }, { - type: "storageKey"; - userContext?: string | undefined; - sourceOrigin?: string | undefined; - }>, z.ZodLazy>>>]>>>; - }, "strip", z.ZodTypeAny, { - filter?: ({ - name?: string | undefined; - value?: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - } | undefined; - domain?: string | undefined; - path?: string | undefined; - size?: number | undefined; - httpOnly?: boolean | undefined; - secure?: boolean | undefined; - sameSite?: "strict" | "none" | "lax" | undefined; - expiry?: number | undefined; - } & Record) | undefined; - partition?: { - type: "context"; - context: string; - } | ({ - type: "storageKey"; - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record) | undefined; - }, { - filter?: ({ - name?: string | undefined; - value?: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - } | undefined; - domain?: string | undefined; - path?: string | undefined; - size?: number | undefined; - httpOnly?: boolean | undefined; - secure?: boolean | undefined; - sameSite?: "strict" | "none" | "lax" | undefined; - expiry?: number | undefined; - } & Record) | undefined; - partition?: { - type: "context"; - context: string; - } | ({ - type: "storageKey"; - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record) | undefined; - }>>; -}, "strip", z.ZodTypeAny, { - params: { - filter?: ({ - name?: string | undefined; - value?: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - } | undefined; - domain?: string | undefined; - path?: string | undefined; - size?: number | undefined; - httpOnly?: boolean | undefined; - secure?: boolean | undefined; - sameSite?: "strict" | "none" | "lax" | undefined; - expiry?: number | undefined; - } & Record) | undefined; - partition?: { - type: "context"; - context: string; - } | ({ - type: "storageKey"; - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record) | undefined; - }; - method: "storage.getCookies"; -}, { - params: { - filter?: ({ - name?: string | undefined; - value?: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - } | undefined; - domain?: string | undefined; - path?: string | undefined; - size?: number | undefined; - httpOnly?: boolean | undefined; - secure?: boolean | undefined; - sameSite?: "strict" | "none" | "lax" | undefined; - expiry?: number | undefined; - } & Record) | undefined; - partition?: { - type: "context"; - context: string; - } | ({ - type: "storageKey"; - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record) | undefined; - }; - method: "storage.getCookies"; -}>>, z.ZodLazy; - params: z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "string"; - value: string; - }, { - type: "string"; - value: string; - }>>, z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "base64"; - value: string; - }, { - type: "base64"; - value: string; - }>>]>>; - domain: z.ZodString; - path: z.ZodOptional; - httpOnly: z.ZodOptional; - secure: z.ZodOptional; - sameSite: z.ZodOptional>>; - expiry: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - domain: string; - path?: string | undefined; - httpOnly?: boolean | undefined; - secure?: boolean | undefined; - sameSite?: "strict" | "none" | "lax" | undefined; - expiry?: number | undefined; - }, { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - domain: string; - path?: string | undefined; - httpOnly?: boolean | undefined; - secure?: boolean | undefined; - sameSite?: "strict" | "none" | "lax" | undefined; - expiry?: number | undefined; - }>, z.ZodLazy>>>; - partition: z.ZodOptional; - context: z.ZodLazy; - }, "strip", z.ZodTypeAny, { - type: "context"; - context: string; - }, { - type: "context"; - context: string; - }>>, z.ZodLazy; - userContext: z.ZodOptional; - sourceOrigin: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - type: "storageKey"; - userContext?: string | undefined; - sourceOrigin?: string | undefined; - }, { - type: "storageKey"; - userContext?: string | undefined; - sourceOrigin?: string | undefined; - }>, z.ZodLazy>>>]>>>; - }, "strip", z.ZodTypeAny, { - cookie: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - domain: string; - path?: string | undefined; - httpOnly?: boolean | undefined; - secure?: boolean | undefined; - sameSite?: "strict" | "none" | "lax" | undefined; - expiry?: number | undefined; - } & Record; - partition?: { - type: "context"; - context: string; - } | ({ - type: "storageKey"; - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record) | undefined; - }, { - cookie: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - domain: string; - path?: string | undefined; - httpOnly?: boolean | undefined; - secure?: boolean | undefined; - sameSite?: "strict" | "none" | "lax" | undefined; - expiry?: number | undefined; - } & Record; - partition?: { - type: "context"; - context: string; - } | ({ - type: "storageKey"; - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record) | undefined; - }>>; -}, "strip", z.ZodTypeAny, { - params: { - cookie: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - domain: string; - path?: string | undefined; - httpOnly?: boolean | undefined; - secure?: boolean | undefined; - sameSite?: "strict" | "none" | "lax" | undefined; - expiry?: number | undefined; - } & Record; - partition?: { - type: "context"; - context: string; - } | ({ - type: "storageKey"; - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record) | undefined; - }; - method: "storage.setCookie"; -}, { - params: { - cookie: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - domain: string; - path?: string | undefined; - httpOnly?: boolean | undefined; - secure?: boolean | undefined; - sameSite?: "strict" | "none" | "lax" | undefined; - expiry?: number | undefined; - } & Record; - partition?: { - type: "context"; - context: string; - } | ({ - type: "storageKey"; - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record) | undefined; - }; - method: "storage.setCookie"; -}>>]>>; -export declare const StorageResultSchema: z.ZodLazy; - sourceOrigin: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - }, { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - }>, z.ZodLazy>>>; -}, "strip", z.ZodTypeAny, { - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; -}, { - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; -}>>, z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "string"; - value: string; - }, { - type: "string"; - value: string; - }>>, z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "base64"; - value: string; - }, { - type: "base64"; - value: string; - }>>]>>; - domain: z.ZodString; - path: z.ZodString; - size: z.ZodLazy; - httpOnly: z.ZodBoolean; - secure: z.ZodBoolean; - sameSite: z.ZodLazy>; - expiry: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - }, { - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - }>, z.ZodLazy>>>, "many">; - partitionKey: z.ZodLazy; - sourceOrigin: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - }, { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - }>, z.ZodLazy>>>; -}, "strip", z.ZodTypeAny, { - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; -}, { - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; -}>>, z.ZodLazy; - sourceOrigin: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - }, { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - }>, z.ZodLazy>>>; -}, "strip", z.ZodTypeAny, { - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; -}, { - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; -}>>]>>; -export declare namespace Storage { - const PartitionKeySchema: z.ZodLazy; - sourceOrigin: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - }, { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - }>, z.ZodLazy>>>; -} -export declare namespace Storage { - const GetCookiesSchema: z.ZodLazy; - params: z.ZodLazy; - value: z.ZodOptional; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "string"; - value: string; - }, { - type: "string"; - value: string; - }>>, z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "base64"; - value: string; - }, { - type: "base64"; - value: string; - }>>]>>>; - domain: z.ZodOptional; - path: z.ZodOptional; - size: z.ZodOptional>; - httpOnly: z.ZodOptional; - secure: z.ZodOptional; - sameSite: z.ZodOptional>>; - expiry: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - name?: string | undefined; - value?: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - } | undefined; - domain?: string | undefined; - path?: string | undefined; - size?: number | undefined; - httpOnly?: boolean | undefined; - secure?: boolean | undefined; - sameSite?: "strict" | "none" | "lax" | undefined; - expiry?: number | undefined; - }, { - name?: string | undefined; - value?: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - } | undefined; - domain?: string | undefined; - path?: string | undefined; - size?: number | undefined; - httpOnly?: boolean | undefined; - secure?: boolean | undefined; - sameSite?: "strict" | "none" | "lax" | undefined; - expiry?: number | undefined; - }>, z.ZodLazy>>>>; - partition: z.ZodOptional; - context: z.ZodLazy; - }, "strip", z.ZodTypeAny, { - type: "context"; - context: string; - }, { - type: "context"; - context: string; - }>>, z.ZodLazy; - userContext: z.ZodOptional; - sourceOrigin: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - type: "storageKey"; - userContext?: string | undefined; - sourceOrigin?: string | undefined; - }, { - type: "storageKey"; - userContext?: string | undefined; - sourceOrigin?: string | undefined; - }>, z.ZodLazy>>>]>>>; - }, "strip", z.ZodTypeAny, { - filter?: ({ - name?: string | undefined; - value?: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - } | undefined; - domain?: string | undefined; - path?: string | undefined; - size?: number | undefined; - httpOnly?: boolean | undefined; - secure?: boolean | undefined; - sameSite?: "strict" | "none" | "lax" | undefined; - expiry?: number | undefined; - } & Record) | undefined; - partition?: { - type: "context"; - context: string; - } | ({ - type: "storageKey"; - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record) | undefined; - }, { - filter?: ({ - name?: string | undefined; - value?: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - } | undefined; - domain?: string | undefined; - path?: string | undefined; - size?: number | undefined; - httpOnly?: boolean | undefined; - secure?: boolean | undefined; - sameSite?: "strict" | "none" | "lax" | undefined; - expiry?: number | undefined; - } & Record) | undefined; - partition?: { - type: "context"; - context: string; - } | ({ - type: "storageKey"; - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record) | undefined; - }>>; - }, "strip", z.ZodTypeAny, { - params: { - filter?: ({ - name?: string | undefined; - value?: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - } | undefined; - domain?: string | undefined; - path?: string | undefined; - size?: number | undefined; - httpOnly?: boolean | undefined; - secure?: boolean | undefined; - sameSite?: "strict" | "none" | "lax" | undefined; - expiry?: number | undefined; - } & Record) | undefined; - partition?: { - type: "context"; - context: string; - } | ({ - type: "storageKey"; - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record) | undefined; - }; - method: "storage.getCookies"; - }, { - params: { - filter?: ({ - name?: string | undefined; - value?: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - } | undefined; - domain?: string | undefined; - path?: string | undefined; - size?: number | undefined; - httpOnly?: boolean | undefined; - secure?: boolean | undefined; - sameSite?: "strict" | "none" | "lax" | undefined; - expiry?: number | undefined; - } & Record) | undefined; - partition?: { - type: "context"; - context: string; - } | ({ - type: "storageKey"; - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record) | undefined; - }; - method: "storage.getCookies"; - }>>; -} -export declare namespace Storage { - const CookieFilterSchema: z.ZodLazy; - value: z.ZodOptional; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "string"; - value: string; - }, { - type: "string"; - value: string; - }>>, z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "base64"; - value: string; - }, { - type: "base64"; - value: string; - }>>]>>>; - domain: z.ZodOptional; - path: z.ZodOptional; - size: z.ZodOptional>; - httpOnly: z.ZodOptional; - secure: z.ZodOptional; - sameSite: z.ZodOptional>>; - expiry: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - name?: string | undefined; - value?: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - } | undefined; - domain?: string | undefined; - path?: string | undefined; - size?: number | undefined; - httpOnly?: boolean | undefined; - secure?: boolean | undefined; - sameSite?: "strict" | "none" | "lax" | undefined; - expiry?: number | undefined; - }, { - name?: string | undefined; - value?: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - } | undefined; - domain?: string | undefined; - path?: string | undefined; - size?: number | undefined; - httpOnly?: boolean | undefined; - secure?: boolean | undefined; - sameSite?: "strict" | "none" | "lax" | undefined; - expiry?: number | undefined; - }>, z.ZodLazy>>>; -} -export declare namespace Storage { - const BrowsingContextPartitionDescriptorSchema: z.ZodLazy; - context: z.ZodLazy; - }, "strip", z.ZodTypeAny, { - type: "context"; - context: string; - }, { - type: "context"; - context: string; - }>>; -} -export declare namespace Storage { - const StorageKeyPartitionDescriptorSchema: z.ZodLazy; - userContext: z.ZodOptional; - sourceOrigin: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - type: "storageKey"; - userContext?: string | undefined; - sourceOrigin?: string | undefined; - }, { - type: "storageKey"; - userContext?: string | undefined; - sourceOrigin?: string | undefined; - }>, z.ZodLazy>>>; -} -export declare namespace Storage { - const PartitionDescriptorSchema: z.ZodLazy; - context: z.ZodLazy; - }, "strip", z.ZodTypeAny, { - type: "context"; - context: string; - }, { - type: "context"; - context: string; - }>>, z.ZodLazy; - userContext: z.ZodOptional; - sourceOrigin: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - type: "storageKey"; - userContext?: string | undefined; - sourceOrigin?: string | undefined; - }, { - type: "storageKey"; - userContext?: string | undefined; - sourceOrigin?: string | undefined; - }>, z.ZodLazy>>>]>>; -} -export declare namespace Storage { - const GetCookiesParametersSchema: z.ZodLazy; - value: z.ZodOptional; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "string"; - value: string; - }, { - type: "string"; - value: string; - }>>, z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "base64"; - value: string; - }, { - type: "base64"; - value: string; - }>>]>>>; - domain: z.ZodOptional; - path: z.ZodOptional; - size: z.ZodOptional>; - httpOnly: z.ZodOptional; - secure: z.ZodOptional; - sameSite: z.ZodOptional>>; - expiry: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - name?: string | undefined; - value?: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - } | undefined; - domain?: string | undefined; - path?: string | undefined; - size?: number | undefined; - httpOnly?: boolean | undefined; - secure?: boolean | undefined; - sameSite?: "strict" | "none" | "lax" | undefined; - expiry?: number | undefined; - }, { - name?: string | undefined; - value?: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - } | undefined; - domain?: string | undefined; - path?: string | undefined; - size?: number | undefined; - httpOnly?: boolean | undefined; - secure?: boolean | undefined; - sameSite?: "strict" | "none" | "lax" | undefined; - expiry?: number | undefined; - }>, z.ZodLazy>>>>; - partition: z.ZodOptional; - context: z.ZodLazy; - }, "strip", z.ZodTypeAny, { - type: "context"; - context: string; - }, { - type: "context"; - context: string; - }>>, z.ZodLazy; - userContext: z.ZodOptional; - sourceOrigin: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - type: "storageKey"; - userContext?: string | undefined; - sourceOrigin?: string | undefined; - }, { - type: "storageKey"; - userContext?: string | undefined; - sourceOrigin?: string | undefined; - }>, z.ZodLazy>>>]>>>; - }, "strip", z.ZodTypeAny, { - filter?: ({ - name?: string | undefined; - value?: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - } | undefined; - domain?: string | undefined; - path?: string | undefined; - size?: number | undefined; - httpOnly?: boolean | undefined; - secure?: boolean | undefined; - sameSite?: "strict" | "none" | "lax" | undefined; - expiry?: number | undefined; - } & Record) | undefined; - partition?: { - type: "context"; - context: string; - } | ({ - type: "storageKey"; - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record) | undefined; - }, { - filter?: ({ - name?: string | undefined; - value?: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - } | undefined; - domain?: string | undefined; - path?: string | undefined; - size?: number | undefined; - httpOnly?: boolean | undefined; - secure?: boolean | undefined; - sameSite?: "strict" | "none" | "lax" | undefined; - expiry?: number | undefined; - } & Record) | undefined; - partition?: { - type: "context"; - context: string; - } | ({ - type: "storageKey"; - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record) | undefined; - }>>; -} -export declare namespace Storage { - const GetCookiesResultSchema: z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "string"; - value: string; - }, { - type: "string"; - value: string; - }>>, z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "base64"; - value: string; - }, { - type: "base64"; - value: string; - }>>]>>; - domain: z.ZodString; - path: z.ZodString; - size: z.ZodLazy; - httpOnly: z.ZodBoolean; - secure: z.ZodBoolean; - sameSite: z.ZodLazy>; - expiry: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - }, { - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - }>, z.ZodLazy>>>, "many">; - partitionKey: z.ZodLazy; - sourceOrigin: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - }, { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - }>, z.ZodLazy>>>; - }, "strip", z.ZodTypeAny, { - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }, { - cookies: ({ - path: string; - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - size: number; - secure: boolean; - name: string; - domain: string; - httpOnly: boolean; - sameSite: "strict" | "none" | "lax"; - expiry?: number | undefined; - } & Record)[]; - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }>>; -} -export declare namespace Storage { - const SetCookieSchema: z.ZodLazy; - params: z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "string"; - value: string; - }, { - type: "string"; - value: string; - }>>, z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "base64"; - value: string; - }, { - type: "base64"; - value: string; - }>>]>>; - domain: z.ZodString; - path: z.ZodOptional; - httpOnly: z.ZodOptional; - secure: z.ZodOptional; - sameSite: z.ZodOptional>>; - expiry: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - domain: string; - path?: string | undefined; - httpOnly?: boolean | undefined; - secure?: boolean | undefined; - sameSite?: "strict" | "none" | "lax" | undefined; - expiry?: number | undefined; - }, { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - domain: string; - path?: string | undefined; - httpOnly?: boolean | undefined; - secure?: boolean | undefined; - sameSite?: "strict" | "none" | "lax" | undefined; - expiry?: number | undefined; - }>, z.ZodLazy>>>; - partition: z.ZodOptional; - context: z.ZodLazy; - }, "strip", z.ZodTypeAny, { - type: "context"; - context: string; - }, { - type: "context"; - context: string; - }>>, z.ZodLazy; - userContext: z.ZodOptional; - sourceOrigin: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - type: "storageKey"; - userContext?: string | undefined; - sourceOrigin?: string | undefined; - }, { - type: "storageKey"; - userContext?: string | undefined; - sourceOrigin?: string | undefined; - }>, z.ZodLazy>>>]>>>; - }, "strip", z.ZodTypeAny, { - cookie: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - domain: string; - path?: string | undefined; - httpOnly?: boolean | undefined; - secure?: boolean | undefined; - sameSite?: "strict" | "none" | "lax" | undefined; - expiry?: number | undefined; - } & Record; - partition?: { - type: "context"; - context: string; - } | ({ - type: "storageKey"; - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record) | undefined; - }, { - cookie: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - domain: string; - path?: string | undefined; - httpOnly?: boolean | undefined; - secure?: boolean | undefined; - sameSite?: "strict" | "none" | "lax" | undefined; - expiry?: number | undefined; - } & Record; - partition?: { - type: "context"; - context: string; - } | ({ - type: "storageKey"; - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record) | undefined; - }>>; - }, "strip", z.ZodTypeAny, { - params: { - cookie: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - domain: string; - path?: string | undefined; - httpOnly?: boolean | undefined; - secure?: boolean | undefined; - sameSite?: "strict" | "none" | "lax" | undefined; - expiry?: number | undefined; - } & Record; - partition?: { - type: "context"; - context: string; - } | ({ - type: "storageKey"; - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record) | undefined; - }; - method: "storage.setCookie"; - }, { - params: { - cookie: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - domain: string; - path?: string | undefined; - httpOnly?: boolean | undefined; - secure?: boolean | undefined; - sameSite?: "strict" | "none" | "lax" | undefined; - expiry?: number | undefined; - } & Record; - partition?: { - type: "context"; - context: string; - } | ({ - type: "storageKey"; - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record) | undefined; - }; - method: "storage.setCookie"; - }>>; -} -export declare namespace Storage { - const PartialCookieSchema: z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "string"; - value: string; - }, { - type: "string"; - value: string; - }>>, z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "base64"; - value: string; - }, { - type: "base64"; - value: string; - }>>]>>; - domain: z.ZodString; - path: z.ZodOptional; - httpOnly: z.ZodOptional; - secure: z.ZodOptional; - sameSite: z.ZodOptional>>; - expiry: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - domain: string; - path?: string | undefined; - httpOnly?: boolean | undefined; - secure?: boolean | undefined; - sameSite?: "strict" | "none" | "lax" | undefined; - expiry?: number | undefined; - }, { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - domain: string; - path?: string | undefined; - httpOnly?: boolean | undefined; - secure?: boolean | undefined; - sameSite?: "strict" | "none" | "lax" | undefined; - expiry?: number | undefined; - }>, z.ZodLazy>>>; -} -export declare namespace Storage { - const SetCookieParametersSchema: z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "string"; - value: string; - }, { - type: "string"; - value: string; - }>>, z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "base64"; - value: string; - }, { - type: "base64"; - value: string; - }>>]>>; - domain: z.ZodString; - path: z.ZodOptional; - httpOnly: z.ZodOptional; - secure: z.ZodOptional; - sameSite: z.ZodOptional>>; - expiry: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - domain: string; - path?: string | undefined; - httpOnly?: boolean | undefined; - secure?: boolean | undefined; - sameSite?: "strict" | "none" | "lax" | undefined; - expiry?: number | undefined; - }, { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - domain: string; - path?: string | undefined; - httpOnly?: boolean | undefined; - secure?: boolean | undefined; - sameSite?: "strict" | "none" | "lax" | undefined; - expiry?: number | undefined; - }>, z.ZodLazy>>>; - partition: z.ZodOptional; - context: z.ZodLazy; - }, "strip", z.ZodTypeAny, { - type: "context"; - context: string; - }, { - type: "context"; - context: string; - }>>, z.ZodLazy; - userContext: z.ZodOptional; - sourceOrigin: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - type: "storageKey"; - userContext?: string | undefined; - sourceOrigin?: string | undefined; - }, { - type: "storageKey"; - userContext?: string | undefined; - sourceOrigin?: string | undefined; - }>, z.ZodLazy>>>]>>>; - }, "strip", z.ZodTypeAny, { - cookie: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - domain: string; - path?: string | undefined; - httpOnly?: boolean | undefined; - secure?: boolean | undefined; - sameSite?: "strict" | "none" | "lax" | undefined; - expiry?: number | undefined; - } & Record; - partition?: { - type: "context"; - context: string; - } | ({ - type: "storageKey"; - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record) | undefined; - }, { - cookie: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - domain: string; - path?: string | undefined; - httpOnly?: boolean | undefined; - secure?: boolean | undefined; - sameSite?: "strict" | "none" | "lax" | undefined; - expiry?: number | undefined; - } & Record; - partition?: { - type: "context"; - context: string; - } | ({ - type: "storageKey"; - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record) | undefined; - }>>; -} -export declare namespace Storage { - const SetCookieResultSchema: z.ZodLazy; - sourceOrigin: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - }, { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - }>, z.ZodLazy>>>; - }, "strip", z.ZodTypeAny, { - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }, { - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }>>; -} -export declare namespace Storage { - const DeleteCookiesSchema: z.ZodLazy; - params: z.ZodLazy; - value: z.ZodOptional; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "string"; - value: string; - }, { - type: "string"; - value: string; - }>>, z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "base64"; - value: string; - }, { - type: "base64"; - value: string; - }>>]>>>; - domain: z.ZodOptional; - path: z.ZodOptional; - size: z.ZodOptional>; - httpOnly: z.ZodOptional; - secure: z.ZodOptional; - sameSite: z.ZodOptional>>; - expiry: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - name?: string | undefined; - value?: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - } | undefined; - domain?: string | undefined; - path?: string | undefined; - size?: number | undefined; - httpOnly?: boolean | undefined; - secure?: boolean | undefined; - sameSite?: "strict" | "none" | "lax" | undefined; - expiry?: number | undefined; - }, { - name?: string | undefined; - value?: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - } | undefined; - domain?: string | undefined; - path?: string | undefined; - size?: number | undefined; - httpOnly?: boolean | undefined; - secure?: boolean | undefined; - sameSite?: "strict" | "none" | "lax" | undefined; - expiry?: number | undefined; - }>, z.ZodLazy>>>>; - partition: z.ZodOptional; - context: z.ZodLazy; - }, "strip", z.ZodTypeAny, { - type: "context"; - context: string; - }, { - type: "context"; - context: string; - }>>, z.ZodLazy; - userContext: z.ZodOptional; - sourceOrigin: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - type: "storageKey"; - userContext?: string | undefined; - sourceOrigin?: string | undefined; - }, { - type: "storageKey"; - userContext?: string | undefined; - sourceOrigin?: string | undefined; - }>, z.ZodLazy>>>]>>>; - }, "strip", z.ZodTypeAny, { - filter?: ({ - name?: string | undefined; - value?: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - } | undefined; - domain?: string | undefined; - path?: string | undefined; - size?: number | undefined; - httpOnly?: boolean | undefined; - secure?: boolean | undefined; - sameSite?: "strict" | "none" | "lax" | undefined; - expiry?: number | undefined; - } & Record) | undefined; - partition?: { - type: "context"; - context: string; - } | ({ - type: "storageKey"; - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record) | undefined; - }, { - filter?: ({ - name?: string | undefined; - value?: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - } | undefined; - domain?: string | undefined; - path?: string | undefined; - size?: number | undefined; - httpOnly?: boolean | undefined; - secure?: boolean | undefined; - sameSite?: "strict" | "none" | "lax" | undefined; - expiry?: number | undefined; - } & Record) | undefined; - partition?: { - type: "context"; - context: string; - } | ({ - type: "storageKey"; - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record) | undefined; - }>>; - }, "strip", z.ZodTypeAny, { - params: { - filter?: ({ - name?: string | undefined; - value?: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - } | undefined; - domain?: string | undefined; - path?: string | undefined; - size?: number | undefined; - httpOnly?: boolean | undefined; - secure?: boolean | undefined; - sameSite?: "strict" | "none" | "lax" | undefined; - expiry?: number | undefined; - } & Record) | undefined; - partition?: { - type: "context"; - context: string; - } | ({ - type: "storageKey"; - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record) | undefined; - }; - method: "storage.deleteCookies"; - }, { - params: { - filter?: ({ - name?: string | undefined; - value?: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - } | undefined; - domain?: string | undefined; - path?: string | undefined; - size?: number | undefined; - httpOnly?: boolean | undefined; - secure?: boolean | undefined; - sameSite?: "strict" | "none" | "lax" | undefined; - expiry?: number | undefined; - } & Record) | undefined; - partition?: { - type: "context"; - context: string; - } | ({ - type: "storageKey"; - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record) | undefined; - }; - method: "storage.deleteCookies"; - }>>; -} -export declare namespace Storage { - const DeleteCookiesParametersSchema: z.ZodLazy; - value: z.ZodOptional; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "string"; - value: string; - }, { - type: "string"; - value: string; - }>>, z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "base64"; - value: string; - }, { - type: "base64"; - value: string; - }>>]>>>; - domain: z.ZodOptional; - path: z.ZodOptional; - size: z.ZodOptional>; - httpOnly: z.ZodOptional; - secure: z.ZodOptional; - sameSite: z.ZodOptional>>; - expiry: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - name?: string | undefined; - value?: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - } | undefined; - domain?: string | undefined; - path?: string | undefined; - size?: number | undefined; - httpOnly?: boolean | undefined; - secure?: boolean | undefined; - sameSite?: "strict" | "none" | "lax" | undefined; - expiry?: number | undefined; - }, { - name?: string | undefined; - value?: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - } | undefined; - domain?: string | undefined; - path?: string | undefined; - size?: number | undefined; - httpOnly?: boolean | undefined; - secure?: boolean | undefined; - sameSite?: "strict" | "none" | "lax" | undefined; - expiry?: number | undefined; - }>, z.ZodLazy>>>>; - partition: z.ZodOptional; - context: z.ZodLazy; - }, "strip", z.ZodTypeAny, { - type: "context"; - context: string; - }, { - type: "context"; - context: string; - }>>, z.ZodLazy; - userContext: z.ZodOptional; - sourceOrigin: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - type: "storageKey"; - userContext?: string | undefined; - sourceOrigin?: string | undefined; - }, { - type: "storageKey"; - userContext?: string | undefined; - sourceOrigin?: string | undefined; - }>, z.ZodLazy>>>]>>>; - }, "strip", z.ZodTypeAny, { - filter?: ({ - name?: string | undefined; - value?: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - } | undefined; - domain?: string | undefined; - path?: string | undefined; - size?: number | undefined; - httpOnly?: boolean | undefined; - secure?: boolean | undefined; - sameSite?: "strict" | "none" | "lax" | undefined; - expiry?: number | undefined; - } & Record) | undefined; - partition?: { - type: "context"; - context: string; - } | ({ - type: "storageKey"; - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record) | undefined; - }, { - filter?: ({ - name?: string | undefined; - value?: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - } | undefined; - domain?: string | undefined; - path?: string | undefined; - size?: number | undefined; - httpOnly?: boolean | undefined; - secure?: boolean | undefined; - sameSite?: "strict" | "none" | "lax" | undefined; - expiry?: number | undefined; - } & Record) | undefined; - partition?: { - type: "context"; - context: string; - } | ({ - type: "storageKey"; - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record) | undefined; - }>>; -} -export declare namespace Storage { - const DeleteCookiesResultSchema: z.ZodLazy; - sourceOrigin: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - }, { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - }>, z.ZodLazy>>>; - }, "strip", z.ZodTypeAny, { - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }, { - partitionKey: { - userContext?: string | undefined; - sourceOrigin?: string | undefined; - } & Record; - }>>; -} -export declare const LogEventSchema: z.ZodLazy; - params: z.ZodLazy>; - source: z.ZodLazy; - context: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - realm: string; - context?: string | undefined; - }, { - realm: string; - context?: string | undefined; - }>>; - text: z.ZodUnion<[z.ZodString, z.ZodNull]>; - timestamp: z.ZodLazy; - stackTrace: z.ZodOptional; - functionName: z.ZodString; - lineNumber: z.ZodLazy; - url: z.ZodString; - }, "strip", z.ZodTypeAny, { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }, { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }>>, "many">; - }, "strip", z.ZodTypeAny, { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }, { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }>>>; - }, "strip", z.ZodTypeAny, { - level: "error" | "debug" | "info" | "warn"; - source: { - realm: string; - context?: string | undefined; - }; - text: string | null; - timestamp: number; - stackTrace?: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - } | undefined; - }, { - level: "error" | "debug" | "info" | "warn"; - source: { - realm: string; - context?: string | undefined; - }; - text: string | null; - timestamp: number; - stackTrace?: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - } | undefined; - }>>, z.ZodObject<{ - type: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: string; - }, { - type: string; - }>>>, z.ZodLazy>; - source: z.ZodLazy; - context: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - realm: string; - context?: string | undefined; - }, { - realm: string; - context?: string | undefined; - }>>; - text: z.ZodUnion<[z.ZodString, z.ZodNull]>; - timestamp: z.ZodLazy; - stackTrace: z.ZodOptional; - functionName: z.ZodString; - lineNumber: z.ZodLazy; - url: z.ZodString; - }, "strip", z.ZodTypeAny, { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }, { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }>>, "many">; - }, "strip", z.ZodTypeAny, { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }, { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }>>>; - }, "strip", z.ZodTypeAny, { - level: "error" | "debug" | "info" | "warn"; - source: { - realm: string; - context?: string | undefined; - }; - text: string | null; - timestamp: number; - stackTrace?: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - } | undefined; - }, { - level: "error" | "debug" | "info" | "warn"; - source: { - realm: string; - context?: string | undefined; - }; - text: string | null; - timestamp: number; - stackTrace?: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - } | undefined; - }>>, z.ZodObject<{ - type: z.ZodLiteral<"console">; - method: z.ZodString; - args: z.ZodArray; - }, "strip", z.ZodTypeAny, { - type: "console"; - args: any[]; - method: string; - }, { - type: "console"; - args: any[]; - method: string; - }>>>, z.ZodLazy>; - source: z.ZodLazy; - context: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - realm: string; - context?: string | undefined; - }, { - realm: string; - context?: string | undefined; - }>>; - text: z.ZodUnion<[z.ZodString, z.ZodNull]>; - timestamp: z.ZodLazy; - stackTrace: z.ZodOptional; - functionName: z.ZodString; - lineNumber: z.ZodLazy; - url: z.ZodString; - }, "strip", z.ZodTypeAny, { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }, { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }>>, "many">; - }, "strip", z.ZodTypeAny, { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }, { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }>>>; - }, "strip", z.ZodTypeAny, { - level: "error" | "debug" | "info" | "warn"; - source: { - realm: string; - context?: string | undefined; - }; - text: string | null; - timestamp: number; - stackTrace?: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - } | undefined; - }, { - level: "error" | "debug" | "info" | "warn"; - source: { - realm: string; - context?: string | undefined; - }; - text: string | null; - timestamp: number; - stackTrace?: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - } | undefined; - }>>, z.ZodObject<{ - type: z.ZodLiteral<"javascript">; - }, "strip", z.ZodTypeAny, { - type: "javascript"; - }, { - type: "javascript"; - }>>>]>>; -}, "strip", z.ZodTypeAny, { - params: ({ - level: "error" | "debug" | "info" | "warn"; - source: { - realm: string; - context?: string | undefined; - }; - text: string | null; - timestamp: number; - stackTrace?: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - } | undefined; - } & { - type: string; - }) | ({ - level: "error" | "debug" | "info" | "warn"; - source: { - realm: string; - context?: string | undefined; - }; - text: string | null; - timestamp: number; - stackTrace?: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - } | undefined; - } & { - type: "console"; - args: any[]; - method: string; - }) | ({ - level: "error" | "debug" | "info" | "warn"; - source: { - realm: string; - context?: string | undefined; - }; - text: string | null; - timestamp: number; - stackTrace?: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - } | undefined; - } & { - type: "javascript"; - }) | ({ - level: "error" | "debug" | "info" | "warn"; - source: { - realm: string; - context?: string | undefined; - }; - text: string | null; - timestamp: number; - stackTrace?: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - } | undefined; - } & { - type: string; - } & { - type: "console"; - args: any[]; - method: string; - }) | ({ - level: "error" | "debug" | "info" | "warn"; - source: { - realm: string; - context?: string | undefined; - }; - text: string | null; - timestamp: number; - stackTrace?: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - } | undefined; - } & { - type: string; - } & { - type: "javascript"; - }) | ({ - level: "error" | "debug" | "info" | "warn"; - source: { - realm: string; - context?: string | undefined; - }; - text: string | null; - timestamp: number; - stackTrace?: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - } | undefined; - } & { - type: "console"; - args: any[]; - method: string; - } & { - type: string; - }) | ({ - level: "error" | "debug" | "info" | "warn"; - source: { - realm: string; - context?: string | undefined; - }; - text: string | null; - timestamp: number; - stackTrace?: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - } | undefined; - } & { - type: "javascript"; - } & { - type: string; - }); - method: "log.entryAdded"; -}, { - params: ({ - level: "error" | "debug" | "info" | "warn"; - source: { - realm: string; - context?: string | undefined; - }; - text: string | null; - timestamp: number; - stackTrace?: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - } | undefined; - } & { - type: string; - }) | ({ - level: "error" | "debug" | "info" | "warn"; - source: { - realm: string; - context?: string | undefined; - }; - text: string | null; - timestamp: number; - stackTrace?: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - } | undefined; - } & { - type: "console"; - args: any[]; - method: string; - }) | ({ - level: "error" | "debug" | "info" | "warn"; - source: { - realm: string; - context?: string | undefined; - }; - text: string | null; - timestamp: number; - stackTrace?: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - } | undefined; - } & { - type: "javascript"; - }) | ({ - level: "error" | "debug" | "info" | "warn"; - source: { - realm: string; - context?: string | undefined; - }; - text: string | null; - timestamp: number; - stackTrace?: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - } | undefined; - } & { - type: string; - } & { - type: "console"; - args: any[]; - method: string; - }) | ({ - level: "error" | "debug" | "info" | "warn"; - source: { - realm: string; - context?: string | undefined; - }; - text: string | null; - timestamp: number; - stackTrace?: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - } | undefined; - } & { - type: string; - } & { - type: "javascript"; - }) | ({ - level: "error" | "debug" | "info" | "warn"; - source: { - realm: string; - context?: string | undefined; - }; - text: string | null; - timestamp: number; - stackTrace?: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - } | undefined; - } & { - type: "console"; - args: any[]; - method: string; - } & { - type: string; - }) | ({ - level: "error" | "debug" | "info" | "warn"; - source: { - realm: string; - context?: string | undefined; - }; - text: string | null; - timestamp: number; - stackTrace?: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - } | undefined; - } & { - type: "javascript"; - } & { - type: string; - }); - method: "log.entryAdded"; -}>>>; -export declare namespace Log { - const LevelSchema: z.ZodLazy>; -} -export declare namespace Log { - const EntrySchema: z.ZodLazy>; - source: z.ZodLazy; - context: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - realm: string; - context?: string | undefined; - }, { - realm: string; - context?: string | undefined; - }>>; - text: z.ZodUnion<[z.ZodString, z.ZodNull]>; - timestamp: z.ZodLazy; - stackTrace: z.ZodOptional; - functionName: z.ZodString; - lineNumber: z.ZodLazy; - url: z.ZodString; - }, "strip", z.ZodTypeAny, { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }, { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }>>, "many">; - }, "strip", z.ZodTypeAny, { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }, { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }>>>; - }, "strip", z.ZodTypeAny, { - level: "error" | "debug" | "info" | "warn"; - source: { - realm: string; - context?: string | undefined; - }; - text: string | null; - timestamp: number; - stackTrace?: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - } | undefined; - }, { - level: "error" | "debug" | "info" | "warn"; - source: { - realm: string; - context?: string | undefined; - }; - text: string | null; - timestamp: number; - stackTrace?: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - } | undefined; - }>>, z.ZodObject<{ - type: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: string; - }, { - type: string; - }>>>, z.ZodLazy>; - source: z.ZodLazy; - context: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - realm: string; - context?: string | undefined; - }, { - realm: string; - context?: string | undefined; - }>>; - text: z.ZodUnion<[z.ZodString, z.ZodNull]>; - timestamp: z.ZodLazy; - stackTrace: z.ZodOptional; - functionName: z.ZodString; - lineNumber: z.ZodLazy; - url: z.ZodString; - }, "strip", z.ZodTypeAny, { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }, { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }>>, "many">; - }, "strip", z.ZodTypeAny, { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }, { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }>>>; - }, "strip", z.ZodTypeAny, { - level: "error" | "debug" | "info" | "warn"; - source: { - realm: string; - context?: string | undefined; - }; - text: string | null; - timestamp: number; - stackTrace?: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - } | undefined; - }, { - level: "error" | "debug" | "info" | "warn"; - source: { - realm: string; - context?: string | undefined; - }; - text: string | null; - timestamp: number; - stackTrace?: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - } | undefined; - }>>, z.ZodObject<{ - type: z.ZodLiteral<"console">; - method: z.ZodString; - args: z.ZodArray; - }, "strip", z.ZodTypeAny, { - type: "console"; - args: any[]; - method: string; - }, { - type: "console"; - args: any[]; - method: string; - }>>>, z.ZodLazy>; - source: z.ZodLazy; - context: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - realm: string; - context?: string | undefined; - }, { - realm: string; - context?: string | undefined; - }>>; - text: z.ZodUnion<[z.ZodString, z.ZodNull]>; - timestamp: z.ZodLazy; - stackTrace: z.ZodOptional; - functionName: z.ZodString; - lineNumber: z.ZodLazy; - url: z.ZodString; - }, "strip", z.ZodTypeAny, { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }, { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }>>, "many">; - }, "strip", z.ZodTypeAny, { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }, { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }>>>; - }, "strip", z.ZodTypeAny, { - level: "error" | "debug" | "info" | "warn"; - source: { - realm: string; - context?: string | undefined; - }; - text: string | null; - timestamp: number; - stackTrace?: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - } | undefined; - }, { - level: "error" | "debug" | "info" | "warn"; - source: { - realm: string; - context?: string | undefined; - }; - text: string | null; - timestamp: number; - stackTrace?: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - } | undefined; - }>>, z.ZodObject<{ - type: z.ZodLiteral<"javascript">; - }, "strip", z.ZodTypeAny, { - type: "javascript"; - }, { - type: "javascript"; - }>>>]>>; -} -export declare namespace Log { - const BaseLogEntrySchema: z.ZodLazy>; - source: z.ZodLazy; - context: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - realm: string; - context?: string | undefined; - }, { - realm: string; - context?: string | undefined; - }>>; - text: z.ZodUnion<[z.ZodString, z.ZodNull]>; - timestamp: z.ZodLazy; - stackTrace: z.ZodOptional; - functionName: z.ZodString; - lineNumber: z.ZodLazy; - url: z.ZodString; - }, "strip", z.ZodTypeAny, { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }, { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }>>, "many">; - }, "strip", z.ZodTypeAny, { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }, { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }>>>; - }, "strip", z.ZodTypeAny, { - level: "error" | "debug" | "info" | "warn"; - source: { - realm: string; - context?: string | undefined; - }; - text: string | null; - timestamp: number; - stackTrace?: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - } | undefined; - }, { - level: "error" | "debug" | "info" | "warn"; - source: { - realm: string; - context?: string | undefined; - }; - text: string | null; - timestamp: number; - stackTrace?: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - } | undefined; - }>>; -} -export declare namespace Log { - const GenericLogEntrySchema: z.ZodLazy>; - source: z.ZodLazy; - context: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - realm: string; - context?: string | undefined; - }, { - realm: string; - context?: string | undefined; - }>>; - text: z.ZodUnion<[z.ZodString, z.ZodNull]>; - timestamp: z.ZodLazy; - stackTrace: z.ZodOptional; - functionName: z.ZodString; - lineNumber: z.ZodLazy; - url: z.ZodString; - }, "strip", z.ZodTypeAny, { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }, { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }>>, "many">; - }, "strip", z.ZodTypeAny, { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }, { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }>>>; - }, "strip", z.ZodTypeAny, { - level: "error" | "debug" | "info" | "warn"; - source: { - realm: string; - context?: string | undefined; - }; - text: string | null; - timestamp: number; - stackTrace?: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - } | undefined; - }, { - level: "error" | "debug" | "info" | "warn"; - source: { - realm: string; - context?: string | undefined; - }; - text: string | null; - timestamp: number; - stackTrace?: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - } | undefined; - }>>, z.ZodObject<{ - type: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: string; - }, { - type: string; - }>>>; -} -export declare namespace Log { - const ConsoleLogEntrySchema: z.ZodLazy>; - source: z.ZodLazy; - context: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - realm: string; - context?: string | undefined; - }, { - realm: string; - context?: string | undefined; - }>>; - text: z.ZodUnion<[z.ZodString, z.ZodNull]>; - timestamp: z.ZodLazy; - stackTrace: z.ZodOptional; - functionName: z.ZodString; - lineNumber: z.ZodLazy; - url: z.ZodString; - }, "strip", z.ZodTypeAny, { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }, { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }>>, "many">; - }, "strip", z.ZodTypeAny, { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }, { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }>>>; - }, "strip", z.ZodTypeAny, { - level: "error" | "debug" | "info" | "warn"; - source: { - realm: string; - context?: string | undefined; - }; - text: string | null; - timestamp: number; - stackTrace?: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - } | undefined; - }, { - level: "error" | "debug" | "info" | "warn"; - source: { - realm: string; - context?: string | undefined; - }; - text: string | null; - timestamp: number; - stackTrace?: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - } | undefined; - }>>, z.ZodObject<{ - type: z.ZodLiteral<"console">; - method: z.ZodString; - args: z.ZodArray; - }, "strip", z.ZodTypeAny, { - type: "console"; - args: any[]; - method: string; - }, { - type: "console"; - args: any[]; - method: string; - }>>>; -} -export declare namespace Log { - const JavascriptLogEntrySchema: z.ZodLazy>; - source: z.ZodLazy; - context: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - realm: string; - context?: string | undefined; - }, { - realm: string; - context?: string | undefined; - }>>; - text: z.ZodUnion<[z.ZodString, z.ZodNull]>; - timestamp: z.ZodLazy; - stackTrace: z.ZodOptional; - functionName: z.ZodString; - lineNumber: z.ZodLazy; - url: z.ZodString; - }, "strip", z.ZodTypeAny, { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }, { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }>>, "many">; - }, "strip", z.ZodTypeAny, { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }, { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }>>>; - }, "strip", z.ZodTypeAny, { - level: "error" | "debug" | "info" | "warn"; - source: { - realm: string; - context?: string | undefined; - }; - text: string | null; - timestamp: number; - stackTrace?: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - } | undefined; - }, { - level: "error" | "debug" | "info" | "warn"; - source: { - realm: string; - context?: string | undefined; - }; - text: string | null; - timestamp: number; - stackTrace?: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - } | undefined; - }>>, z.ZodObject<{ - type: z.ZodLiteral<"javascript">; - }, "strip", z.ZodTypeAny, { - type: "javascript"; - }, { - type: "javascript"; - }>>>; -} -export declare namespace Log { - const EntryAddedSchema: z.ZodLazy; - params: z.ZodLazy>; - source: z.ZodLazy; - context: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - realm: string; - context?: string | undefined; - }, { - realm: string; - context?: string | undefined; - }>>; - text: z.ZodUnion<[z.ZodString, z.ZodNull]>; - timestamp: z.ZodLazy; - stackTrace: z.ZodOptional; - functionName: z.ZodString; - lineNumber: z.ZodLazy; - url: z.ZodString; - }, "strip", z.ZodTypeAny, { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }, { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }>>, "many">; - }, "strip", z.ZodTypeAny, { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }, { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }>>>; - }, "strip", z.ZodTypeAny, { - level: "error" | "debug" | "info" | "warn"; - source: { - realm: string; - context?: string | undefined; - }; - text: string | null; - timestamp: number; - stackTrace?: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - } | undefined; - }, { - level: "error" | "debug" | "info" | "warn"; - source: { - realm: string; - context?: string | undefined; - }; - text: string | null; - timestamp: number; - stackTrace?: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - } | undefined; - }>>, z.ZodObject<{ - type: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: string; - }, { - type: string; - }>>>, z.ZodLazy>; - source: z.ZodLazy; - context: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - realm: string; - context?: string | undefined; - }, { - realm: string; - context?: string | undefined; - }>>; - text: z.ZodUnion<[z.ZodString, z.ZodNull]>; - timestamp: z.ZodLazy; - stackTrace: z.ZodOptional; - functionName: z.ZodString; - lineNumber: z.ZodLazy; - url: z.ZodString; - }, "strip", z.ZodTypeAny, { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }, { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }>>, "many">; - }, "strip", z.ZodTypeAny, { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }, { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }>>>; - }, "strip", z.ZodTypeAny, { - level: "error" | "debug" | "info" | "warn"; - source: { - realm: string; - context?: string | undefined; - }; - text: string | null; - timestamp: number; - stackTrace?: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - } | undefined; - }, { - level: "error" | "debug" | "info" | "warn"; - source: { - realm: string; - context?: string | undefined; - }; - text: string | null; - timestamp: number; - stackTrace?: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - } | undefined; - }>>, z.ZodObject<{ - type: z.ZodLiteral<"console">; - method: z.ZodString; - args: z.ZodArray; - }, "strip", z.ZodTypeAny, { - type: "console"; - args: any[]; - method: string; - }, { - type: "console"; - args: any[]; - method: string; - }>>>, z.ZodLazy>; - source: z.ZodLazy; - context: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - realm: string; - context?: string | undefined; - }, { - realm: string; - context?: string | undefined; - }>>; - text: z.ZodUnion<[z.ZodString, z.ZodNull]>; - timestamp: z.ZodLazy; - stackTrace: z.ZodOptional; - functionName: z.ZodString; - lineNumber: z.ZodLazy; - url: z.ZodString; - }, "strip", z.ZodTypeAny, { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }, { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }>>, "many">; - }, "strip", z.ZodTypeAny, { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }, { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - }>>>; - }, "strip", z.ZodTypeAny, { - level: "error" | "debug" | "info" | "warn"; - source: { - realm: string; - context?: string | undefined; - }; - text: string | null; - timestamp: number; - stackTrace?: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - } | undefined; - }, { - level: "error" | "debug" | "info" | "warn"; - source: { - realm: string; - context?: string | undefined; - }; - text: string | null; - timestamp: number; - stackTrace?: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - } | undefined; - }>>, z.ZodObject<{ - type: z.ZodLiteral<"javascript">; - }, "strip", z.ZodTypeAny, { - type: "javascript"; - }, { - type: "javascript"; - }>>>]>>; - }, "strip", z.ZodTypeAny, { - params: ({ - level: "error" | "debug" | "info" | "warn"; - source: { - realm: string; - context?: string | undefined; - }; - text: string | null; - timestamp: number; - stackTrace?: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - } | undefined; - } & { - type: string; - }) | ({ - level: "error" | "debug" | "info" | "warn"; - source: { - realm: string; - context?: string | undefined; - }; - text: string | null; - timestamp: number; - stackTrace?: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - } | undefined; - } & { - type: "console"; - args: any[]; - method: string; - }) | ({ - level: "error" | "debug" | "info" | "warn"; - source: { - realm: string; - context?: string | undefined; - }; - text: string | null; - timestamp: number; - stackTrace?: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - } | undefined; - } & { - type: "javascript"; - }) | ({ - level: "error" | "debug" | "info" | "warn"; - source: { - realm: string; - context?: string | undefined; - }; - text: string | null; - timestamp: number; - stackTrace?: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - } | undefined; - } & { - type: string; - } & { - type: "console"; - args: any[]; - method: string; - }) | ({ - level: "error" | "debug" | "info" | "warn"; - source: { - realm: string; - context?: string | undefined; - }; - text: string | null; - timestamp: number; - stackTrace?: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - } | undefined; - } & { - type: string; - } & { - type: "javascript"; - }) | ({ - level: "error" | "debug" | "info" | "warn"; - source: { - realm: string; - context?: string | undefined; - }; - text: string | null; - timestamp: number; - stackTrace?: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - } | undefined; - } & { - type: "console"; - args: any[]; - method: string; - } & { - type: string; - }) | ({ - level: "error" | "debug" | "info" | "warn"; - source: { - realm: string; - context?: string | undefined; - }; - text: string | null; - timestamp: number; - stackTrace?: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - } | undefined; - } & { - type: "javascript"; - } & { - type: string; - }); - method: "log.entryAdded"; - }, { - params: ({ - level: "error" | "debug" | "info" | "warn"; - source: { - realm: string; - context?: string | undefined; - }; - text: string | null; - timestamp: number; - stackTrace?: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - } | undefined; - } & { - type: string; - }) | ({ - level: "error" | "debug" | "info" | "warn"; - source: { - realm: string; - context?: string | undefined; - }; - text: string | null; - timestamp: number; - stackTrace?: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - } | undefined; - } & { - type: "console"; - args: any[]; - method: string; - }) | ({ - level: "error" | "debug" | "info" | "warn"; - source: { - realm: string; - context?: string | undefined; - }; - text: string | null; - timestamp: number; - stackTrace?: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - } | undefined; - } & { - type: "javascript"; - }) | ({ - level: "error" | "debug" | "info" | "warn"; - source: { - realm: string; - context?: string | undefined; - }; - text: string | null; - timestamp: number; - stackTrace?: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - } | undefined; - } & { - type: string; - } & { - type: "console"; - args: any[]; - method: string; - }) | ({ - level: "error" | "debug" | "info" | "warn"; - source: { - realm: string; - context?: string | undefined; - }; - text: string | null; - timestamp: number; - stackTrace?: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - } | undefined; - } & { - type: string; - } & { - type: "javascript"; - }) | ({ - level: "error" | "debug" | "info" | "warn"; - source: { - realm: string; - context?: string | undefined; - }; - text: string | null; - timestamp: number; - stackTrace?: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - } | undefined; - } & { - type: "console"; - args: any[]; - method: string; - } & { - type: string; - }) | ({ - level: "error" | "debug" | "info" | "warn"; - source: { - realm: string; - context?: string | undefined; - }; - text: string | null; - timestamp: number; - stackTrace?: { - callFrames: { - url: string; - columnNumber: number; - lineNumber: number; - functionName: string; - }[]; - } | undefined; - } & { - type: "javascript"; - } & { - type: string; - }); - method: "log.entryAdded"; - }>>; -} -export declare const InputCommandSchema: z.ZodLazy; - params: z.ZodLazy; - actions: z.ZodArray; - id: z.ZodString; - actions: z.ZodArray; - duration: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - type: "pause"; - duration?: number | undefined; - }, { - type: "pause"; - duration?: number | undefined; - }>>>, "many">; - }, "strip", z.ZodTypeAny, { - type: "none"; - actions: { - type: "pause"; - duration?: number | undefined; - }[]; - id: string; - }, { - type: "none"; - actions: { - type: "pause"; - duration?: number | undefined; - }[]; - id: string; - }>>, z.ZodLazy; - id: z.ZodString; - actions: z.ZodArray; - duration: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - type: "pause"; - duration?: number | undefined; - }, { - type: "pause"; - duration?: number | undefined; - }>>, z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "keyDown"; - value: string; - }, { - type: "keyDown"; - value: string; - }>>, z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "keyUp"; - value: string; - }, { - type: "keyUp"; - value: string; - }>>]>>, "many">; - }, "strip", z.ZodTypeAny, { - type: "key"; - actions: ({ - type: "pause"; - duration?: number | undefined; - } | { - type: "keyDown"; - value: string; - } | { - type: "keyUp"; - value: string; - })[]; - id: string; - }, { - type: "key"; - actions: ({ - type: "pause"; - duration?: number | undefined; - } | { - type: "keyDown"; - value: string; - } | { - type: "keyUp"; - value: string; - })[]; - id: string; - }>>, z.ZodLazy; - id: z.ZodString; - parameters: z.ZodOptional>>>; - }, "strip", z.ZodTypeAny, { - pointerType?: "touch" | "mouse" | "pen" | undefined; - }, { - pointerType?: "touch" | "mouse" | "pen" | undefined; - }>>>; - actions: z.ZodArray; - duration: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - type: "pause"; - duration?: number | undefined; - }, { - type: "pause"; - duration?: number | undefined; - }>>, z.ZodLazy; - button: z.ZodLazy; - }, "strip", z.ZodTypeAny, { - type: "pointerDown"; - button: number; - }, { - type: "pointerDown"; - button: number; - }>, z.ZodLazy>>; - height: z.ZodOptional>>; - pressure: z.ZodOptional>; - tangentialPressure: z.ZodOptional>; - twist: z.ZodOptional>; - altitudeAngle: z.ZodOptional>; - azimuthAngle: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - width?: number | undefined; - height?: number | undefined; - pressure?: number | undefined; - tangentialPressure?: number | undefined; - twist?: number | undefined; - altitudeAngle?: number | undefined; - azimuthAngle?: number | undefined; - }, { - width?: number | undefined; - height?: number | undefined; - pressure?: number | undefined; - tangentialPressure?: number | undefined; - twist?: number | undefined; - altitudeAngle?: number | undefined; - azimuthAngle?: number | undefined; - }>>>>, z.ZodLazy; - button: z.ZodLazy; - }, "strip", z.ZodTypeAny, { - type: "pointerUp"; - button: number; - }, { - type: "pointerUp"; - button: number; - }>>, z.ZodLazy; - x: z.ZodLazy; - y: z.ZodLazy; - duration: z.ZodOptional>; - origin: z.ZodOptional, z.ZodLiteral<"pointer">, z.ZodLazy; - element: z.ZodLazy; - handle: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - sharedId: string; - handle?: string | undefined; - }, { - sharedId: string; - handle?: string | undefined; - }>, z.ZodLazy>>>; - }, "strip", z.ZodTypeAny, { - type: "element"; - element: { - sharedId: string; - handle?: string | undefined; - } & Record; - }, { - type: "element"; - element: { - sharedId: string; - handle?: string | undefined; - } & Record; - }>>]>>>; - }, "strip", z.ZodTypeAny, { - type: "pointerMove"; - x: number; - y: number; - duration?: number | undefined; - origin?: "viewport" | "pointer" | { - type: "element"; - element: { - sharedId: string; - handle?: string | undefined; - } & Record; - } | undefined; - }, { - type: "pointerMove"; - x: number; - y: number; - duration?: number | undefined; - origin?: "viewport" | "pointer" | { - type: "element"; - element: { - sharedId: string; - handle?: string | undefined; - } & Record; - } | undefined; - }>, z.ZodLazy>>; - height: z.ZodOptional>>; - pressure: z.ZodOptional>; - tangentialPressure: z.ZodOptional>; - twist: z.ZodOptional>; - altitudeAngle: z.ZodOptional>; - azimuthAngle: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - width?: number | undefined; - height?: number | undefined; - pressure?: number | undefined; - tangentialPressure?: number | undefined; - twist?: number | undefined; - altitudeAngle?: number | undefined; - azimuthAngle?: number | undefined; - }, { - width?: number | undefined; - height?: number | undefined; - pressure?: number | undefined; - tangentialPressure?: number | undefined; - twist?: number | undefined; - altitudeAngle?: number | undefined; - azimuthAngle?: number | undefined; - }>>>>]>>, "many">; - }, "strip", z.ZodTypeAny, { - type: "pointer"; - actions: ({ - type: "pause"; - duration?: number | undefined; - } | ({ - type: "pointerDown"; - button: number; - } & { - width?: number | undefined; - height?: number | undefined; - pressure?: number | undefined; - tangentialPressure?: number | undefined; - twist?: number | undefined; - altitudeAngle?: number | undefined; - azimuthAngle?: number | undefined; - }) | { - type: "pointerUp"; - button: number; - } | ({ - type: "pointerMove"; - x: number; - y: number; - duration?: number | undefined; - origin?: "viewport" | "pointer" | { - type: "element"; - element: { - sharedId: string; - handle?: string | undefined; - } & Record; - } | undefined; - } & { - width?: number | undefined; - height?: number | undefined; - pressure?: number | undefined; - tangentialPressure?: number | undefined; - twist?: number | undefined; - altitudeAngle?: number | undefined; - azimuthAngle?: number | undefined; - }))[]; - id: string; - parameters?: { - pointerType?: "touch" | "mouse" | "pen" | undefined; - } | undefined; - }, { - type: "pointer"; - actions: ({ - type: "pause"; - duration?: number | undefined; - } | ({ - type: "pointerDown"; - button: number; - } & { - width?: number | undefined; - height?: number | undefined; - pressure?: number | undefined; - tangentialPressure?: number | undefined; - twist?: number | undefined; - altitudeAngle?: number | undefined; - azimuthAngle?: number | undefined; - }) | { - type: "pointerUp"; - button: number; - } | ({ - type: "pointerMove"; - x: number; - y: number; - duration?: number | undefined; - origin?: "viewport" | "pointer" | { - type: "element"; - element: { - sharedId: string; - handle?: string | undefined; - } & Record; - } | undefined; - } & { - width?: number | undefined; - height?: number | undefined; - pressure?: number | undefined; - tangentialPressure?: number | undefined; - twist?: number | undefined; - altitudeAngle?: number | undefined; - azimuthAngle?: number | undefined; - }))[]; - id: string; - parameters?: { - pointerType?: "touch" | "mouse" | "pen" | undefined; - } | undefined; - }>>, z.ZodLazy; - id: z.ZodString; - actions: z.ZodArray; - duration: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - type: "pause"; - duration?: number | undefined; - }, { - type: "pause"; - duration?: number | undefined; - }>>, z.ZodLazy; - x: z.ZodLazy; - y: z.ZodLazy; - deltaX: z.ZodLazy; - deltaY: z.ZodLazy; - duration: z.ZodOptional>; - origin: z.ZodOptional, z.ZodLiteral<"pointer">, z.ZodLazy; - element: z.ZodLazy; - handle: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - sharedId: string; - handle?: string | undefined; - }, { - sharedId: string; - handle?: string | undefined; - }>, z.ZodLazy>>>; - }, "strip", z.ZodTypeAny, { - type: "element"; - element: { - sharedId: string; - handle?: string | undefined; - } & Record; - }, { - type: "element"; - element: { - sharedId: string; - handle?: string | undefined; - } & Record; - }>>]>>>>; - }, "strip", z.ZodTypeAny, { - type: "scroll"; - x: number; - y: number; - deltaX: number; - deltaY: number; - duration?: number | undefined; - origin?: "viewport" | "pointer" | { - type: "element"; - element: { - sharedId: string; - handle?: string | undefined; - } & Record; - } | undefined; - }, { - type: "scroll"; - x: number; - y: number; - deltaX: number; - deltaY: number; - duration?: number | undefined; - origin?: "viewport" | "pointer" | { - type: "element"; - element: { - sharedId: string; - handle?: string | undefined; - } & Record; - } | undefined; - }>>]>>, "many">; - }, "strip", z.ZodTypeAny, { - type: "wheel"; - actions: ({ - type: "pause"; - duration?: number | undefined; - } | { - type: "scroll"; - x: number; - y: number; - deltaX: number; - deltaY: number; - duration?: number | undefined; - origin?: "viewport" | "pointer" | { - type: "element"; - element: { - sharedId: string; - handle?: string | undefined; - } & Record; - } | undefined; - })[]; - id: string; - }, { - type: "wheel"; - actions: ({ - type: "pause"; - duration?: number | undefined; - } | { - type: "scroll"; - x: number; - y: number; - deltaX: number; - deltaY: number; - duration?: number | undefined; - origin?: "viewport" | "pointer" | { - type: "element"; - element: { - sharedId: string; - handle?: string | undefined; - } & Record; - } | undefined; - })[]; - id: string; - }>>]>>, "many">; - }, "strip", z.ZodTypeAny, { - context: string; - actions: ({ - type: "none"; - actions: { - type: "pause"; - duration?: number | undefined; - }[]; - id: string; - } | { - type: "key"; - actions: ({ - type: "pause"; - duration?: number | undefined; - } | { - type: "keyDown"; - value: string; - } | { - type: "keyUp"; - value: string; - })[]; - id: string; - } | { - type: "pointer"; - actions: ({ - type: "pause"; - duration?: number | undefined; - } | ({ - type: "pointerDown"; - button: number; - } & { - width?: number | undefined; - height?: number | undefined; - pressure?: number | undefined; - tangentialPressure?: number | undefined; - twist?: number | undefined; - altitudeAngle?: number | undefined; - azimuthAngle?: number | undefined; - }) | { - type: "pointerUp"; - button: number; - } | ({ - type: "pointerMove"; - x: number; - y: number; - duration?: number | undefined; - origin?: "viewport" | "pointer" | { - type: "element"; - element: { - sharedId: string; - handle?: string | undefined; - } & Record; - } | undefined; - } & { - width?: number | undefined; - height?: number | undefined; - pressure?: number | undefined; - tangentialPressure?: number | undefined; - twist?: number | undefined; - altitudeAngle?: number | undefined; - azimuthAngle?: number | undefined; - }))[]; - id: string; - parameters?: { - pointerType?: "touch" | "mouse" | "pen" | undefined; - } | undefined; - } | { - type: "wheel"; - actions: ({ - type: "pause"; - duration?: number | undefined; - } | { - type: "scroll"; - x: number; - y: number; - deltaX: number; - deltaY: number; - duration?: number | undefined; - origin?: "viewport" | "pointer" | { - type: "element"; - element: { - sharedId: string; - handle?: string | undefined; - } & Record; - } | undefined; - })[]; - id: string; - })[]; - }, { - context: string; - actions: ({ - type: "none"; - actions: { - type: "pause"; - duration?: number | undefined; - }[]; - id: string; - } | { - type: "key"; - actions: ({ - type: "pause"; - duration?: number | undefined; - } | { - type: "keyDown"; - value: string; - } | { - type: "keyUp"; - value: string; - })[]; - id: string; - } | { - type: "pointer"; - actions: ({ - type: "pause"; - duration?: number | undefined; - } | ({ - type: "pointerDown"; - button: number; - } & { - width?: number | undefined; - height?: number | undefined; - pressure?: number | undefined; - tangentialPressure?: number | undefined; - twist?: number | undefined; - altitudeAngle?: number | undefined; - azimuthAngle?: number | undefined; - }) | { - type: "pointerUp"; - button: number; - } | ({ - type: "pointerMove"; - x: number; - y: number; - duration?: number | undefined; - origin?: "viewport" | "pointer" | { - type: "element"; - element: { - sharedId: string; - handle?: string | undefined; - } & Record; - } | undefined; - } & { - width?: number | undefined; - height?: number | undefined; - pressure?: number | undefined; - tangentialPressure?: number | undefined; - twist?: number | undefined; - altitudeAngle?: number | undefined; - azimuthAngle?: number | undefined; - }))[]; - id: string; - parameters?: { - pointerType?: "touch" | "mouse" | "pen" | undefined; - } | undefined; - } | { - type: "wheel"; - actions: ({ - type: "pause"; - duration?: number | undefined; - } | { - type: "scroll"; - x: number; - y: number; - deltaX: number; - deltaY: number; - duration?: number | undefined; - origin?: "viewport" | "pointer" | { - type: "element"; - element: { - sharedId: string; - handle?: string | undefined; - } & Record; - } | undefined; - })[]; - id: string; - })[]; - }>>; -}, "strip", z.ZodTypeAny, { - params: { - context: string; - actions: ({ - type: "none"; - actions: { - type: "pause"; - duration?: number | undefined; - }[]; - id: string; - } | { - type: "key"; - actions: ({ - type: "pause"; - duration?: number | undefined; - } | { - type: "keyDown"; - value: string; - } | { - type: "keyUp"; - value: string; - })[]; - id: string; - } | { - type: "pointer"; - actions: ({ - type: "pause"; - duration?: number | undefined; - } | ({ - type: "pointerDown"; - button: number; - } & { - width?: number | undefined; - height?: number | undefined; - pressure?: number | undefined; - tangentialPressure?: number | undefined; - twist?: number | undefined; - altitudeAngle?: number | undefined; - azimuthAngle?: number | undefined; - }) | { - type: "pointerUp"; - button: number; - } | ({ - type: "pointerMove"; - x: number; - y: number; - duration?: number | undefined; - origin?: "viewport" | "pointer" | { - type: "element"; - element: { - sharedId: string; - handle?: string | undefined; - } & Record; - } | undefined; - } & { - width?: number | undefined; - height?: number | undefined; - pressure?: number | undefined; - tangentialPressure?: number | undefined; - twist?: number | undefined; - altitudeAngle?: number | undefined; - azimuthAngle?: number | undefined; - }))[]; - id: string; - parameters?: { - pointerType?: "touch" | "mouse" | "pen" | undefined; - } | undefined; - } | { - type: "wheel"; - actions: ({ - type: "pause"; - duration?: number | undefined; - } | { - type: "scroll"; - x: number; - y: number; - deltaX: number; - deltaY: number; - duration?: number | undefined; - origin?: "viewport" | "pointer" | { - type: "element"; - element: { - sharedId: string; - handle?: string | undefined; - } & Record; - } | undefined; - })[]; - id: string; - })[]; - }; - method: "input.performActions"; -}, { - params: { - context: string; - actions: ({ - type: "none"; - actions: { - type: "pause"; - duration?: number | undefined; - }[]; - id: string; - } | { - type: "key"; - actions: ({ - type: "pause"; - duration?: number | undefined; - } | { - type: "keyDown"; - value: string; - } | { - type: "keyUp"; - value: string; - })[]; - id: string; - } | { - type: "pointer"; - actions: ({ - type: "pause"; - duration?: number | undefined; - } | ({ - type: "pointerDown"; - button: number; - } & { - width?: number | undefined; - height?: number | undefined; - pressure?: number | undefined; - tangentialPressure?: number | undefined; - twist?: number | undefined; - altitudeAngle?: number | undefined; - azimuthAngle?: number | undefined; - }) | { - type: "pointerUp"; - button: number; - } | ({ - type: "pointerMove"; - x: number; - y: number; - duration?: number | undefined; - origin?: "viewport" | "pointer" | { - type: "element"; - element: { - sharedId: string; - handle?: string | undefined; - } & Record; - } | undefined; - } & { - width?: number | undefined; - height?: number | undefined; - pressure?: number | undefined; - tangentialPressure?: number | undefined; - twist?: number | undefined; - altitudeAngle?: number | undefined; - azimuthAngle?: number | undefined; - }))[]; - id: string; - parameters?: { - pointerType?: "touch" | "mouse" | "pen" | undefined; - } | undefined; - } | { - type: "wheel"; - actions: ({ - type: "pause"; - duration?: number | undefined; - } | { - type: "scroll"; - x: number; - y: number; - deltaX: number; - deltaY: number; - duration?: number | undefined; - origin?: "viewport" | "pointer" | { - type: "element"; - element: { - sharedId: string; - handle?: string | undefined; - } & Record; - } | undefined; - })[]; - id: string; - })[]; - }; - method: "input.performActions"; -}>>, z.ZodLazy; - params: z.ZodLazy; - }, "strip", z.ZodTypeAny, { - context: string; - }, { - context: string; - }>>; -}, "strip", z.ZodTypeAny, { - params: { - context: string; - }; - method: "input.releaseActions"; -}, { - params: { - context: string; - }; - method: "input.releaseActions"; -}>>, z.ZodLazy; - params: z.ZodLazy; - element: z.ZodLazy; - handle: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - sharedId: string; - handle?: string | undefined; - }, { - sharedId: string; - handle?: string | undefined; - }>, z.ZodLazy>>>; - files: z.ZodArray; - }, "strip", z.ZodTypeAny, { - element: { - sharedId: string; - handle?: string | undefined; - } & Record; - context: string; - files: string[]; - }, { - element: { - sharedId: string; - handle?: string | undefined; - } & Record; - context: string; - files: string[]; - }>>; -}, "strip", z.ZodTypeAny, { - params: { - element: { - sharedId: string; - handle?: string | undefined; - } & Record; - context: string; - files: string[]; - }; - method: "input.setFiles"; -}, { - params: { - element: { - sharedId: string; - handle?: string | undefined; - } & Record; - context: string; - files: string[]; - }; - method: "input.setFiles"; -}>>]>>; -export declare namespace Input { - const ElementOriginSchema: z.ZodLazy; - element: z.ZodLazy; - handle: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - sharedId: string; - handle?: string | undefined; - }, { - sharedId: string; - handle?: string | undefined; - }>, z.ZodLazy>>>; - }, "strip", z.ZodTypeAny, { - type: "element"; - element: { - sharedId: string; - handle?: string | undefined; - } & Record; - }, { - type: "element"; - element: { - sharedId: string; - handle?: string | undefined; - } & Record; - }>>; -} -export declare namespace Input { - const PerformActionsParametersSchema: z.ZodLazy; - actions: z.ZodArray; - id: z.ZodString; - actions: z.ZodArray; - duration: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - type: "pause"; - duration?: number | undefined; - }, { - type: "pause"; - duration?: number | undefined; - }>>>, "many">; - }, "strip", z.ZodTypeAny, { - type: "none"; - actions: { - type: "pause"; - duration?: number | undefined; - }[]; - id: string; - }, { - type: "none"; - actions: { - type: "pause"; - duration?: number | undefined; - }[]; - id: string; - }>>, z.ZodLazy; - id: z.ZodString; - actions: z.ZodArray; - duration: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - type: "pause"; - duration?: number | undefined; - }, { - type: "pause"; - duration?: number | undefined; - }>>, z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "keyDown"; - value: string; - }, { - type: "keyDown"; - value: string; - }>>, z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "keyUp"; - value: string; - }, { - type: "keyUp"; - value: string; - }>>]>>, "many">; - }, "strip", z.ZodTypeAny, { - type: "key"; - actions: ({ - type: "pause"; - duration?: number | undefined; - } | { - type: "keyDown"; - value: string; - } | { - type: "keyUp"; - value: string; - })[]; - id: string; - }, { - type: "key"; - actions: ({ - type: "pause"; - duration?: number | undefined; - } | { - type: "keyDown"; - value: string; - } | { - type: "keyUp"; - value: string; - })[]; - id: string; - }>>, z.ZodLazy; - id: z.ZodString; - parameters: z.ZodOptional>>>; - }, "strip", z.ZodTypeAny, { - pointerType?: "touch" | "mouse" | "pen" | undefined; - }, { - pointerType?: "touch" | "mouse" | "pen" | undefined; - }>>>; - actions: z.ZodArray; - duration: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - type: "pause"; - duration?: number | undefined; - }, { - type: "pause"; - duration?: number | undefined; - }>>, z.ZodLazy; - button: z.ZodLazy; - }, "strip", z.ZodTypeAny, { - type: "pointerDown"; - button: number; - }, { - type: "pointerDown"; - button: number; - }>, z.ZodLazy>>; - height: z.ZodOptional>>; - pressure: z.ZodOptional>; - tangentialPressure: z.ZodOptional>; - twist: z.ZodOptional>; - altitudeAngle: z.ZodOptional>; - azimuthAngle: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - width?: number | undefined; - height?: number | undefined; - pressure?: number | undefined; - tangentialPressure?: number | undefined; - twist?: number | undefined; - altitudeAngle?: number | undefined; - azimuthAngle?: number | undefined; - }, { - width?: number | undefined; - height?: number | undefined; - pressure?: number | undefined; - tangentialPressure?: number | undefined; - twist?: number | undefined; - altitudeAngle?: number | undefined; - azimuthAngle?: number | undefined; - }>>>>, z.ZodLazy; - button: z.ZodLazy; - }, "strip", z.ZodTypeAny, { - type: "pointerUp"; - button: number; - }, { - type: "pointerUp"; - button: number; - }>>, z.ZodLazy; - x: z.ZodLazy; - y: z.ZodLazy; - duration: z.ZodOptional>; - origin: z.ZodOptional, z.ZodLiteral<"pointer">, z.ZodLazy; - element: z.ZodLazy; - handle: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - sharedId: string; - handle?: string | undefined; - }, { - sharedId: string; - handle?: string | undefined; - }>, z.ZodLazy>>>; - }, "strip", z.ZodTypeAny, { - type: "element"; - element: { - sharedId: string; - handle?: string | undefined; - } & Record; - }, { - type: "element"; - element: { - sharedId: string; - handle?: string | undefined; - } & Record; - }>>]>>>; - }, "strip", z.ZodTypeAny, { - type: "pointerMove"; - x: number; - y: number; - duration?: number | undefined; - origin?: "viewport" | "pointer" | { - type: "element"; - element: { - sharedId: string; - handle?: string | undefined; - } & Record; - } | undefined; - }, { - type: "pointerMove"; - x: number; - y: number; - duration?: number | undefined; - origin?: "viewport" | "pointer" | { - type: "element"; - element: { - sharedId: string; - handle?: string | undefined; - } & Record; - } | undefined; - }>, z.ZodLazy>>; - height: z.ZodOptional>>; - pressure: z.ZodOptional>; - tangentialPressure: z.ZodOptional>; - twist: z.ZodOptional>; - altitudeAngle: z.ZodOptional>; - azimuthAngle: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - width?: number | undefined; - height?: number | undefined; - pressure?: number | undefined; - tangentialPressure?: number | undefined; - twist?: number | undefined; - altitudeAngle?: number | undefined; - azimuthAngle?: number | undefined; - }, { - width?: number | undefined; - height?: number | undefined; - pressure?: number | undefined; - tangentialPressure?: number | undefined; - twist?: number | undefined; - altitudeAngle?: number | undefined; - azimuthAngle?: number | undefined; - }>>>>]>>, "many">; - }, "strip", z.ZodTypeAny, { - type: "pointer"; - actions: ({ - type: "pause"; - duration?: number | undefined; - } | ({ - type: "pointerDown"; - button: number; - } & { - width?: number | undefined; - height?: number | undefined; - pressure?: number | undefined; - tangentialPressure?: number | undefined; - twist?: number | undefined; - altitudeAngle?: number | undefined; - azimuthAngle?: number | undefined; - }) | { - type: "pointerUp"; - button: number; - } | ({ - type: "pointerMove"; - x: number; - y: number; - duration?: number | undefined; - origin?: "viewport" | "pointer" | { - type: "element"; - element: { - sharedId: string; - handle?: string | undefined; - } & Record; - } | undefined; - } & { - width?: number | undefined; - height?: number | undefined; - pressure?: number | undefined; - tangentialPressure?: number | undefined; - twist?: number | undefined; - altitudeAngle?: number | undefined; - azimuthAngle?: number | undefined; - }))[]; - id: string; - parameters?: { - pointerType?: "touch" | "mouse" | "pen" | undefined; - } | undefined; - }, { - type: "pointer"; - actions: ({ - type: "pause"; - duration?: number | undefined; - } | ({ - type: "pointerDown"; - button: number; - } & { - width?: number | undefined; - height?: number | undefined; - pressure?: number | undefined; - tangentialPressure?: number | undefined; - twist?: number | undefined; - altitudeAngle?: number | undefined; - azimuthAngle?: number | undefined; - }) | { - type: "pointerUp"; - button: number; - } | ({ - type: "pointerMove"; - x: number; - y: number; - duration?: number | undefined; - origin?: "viewport" | "pointer" | { - type: "element"; - element: { - sharedId: string; - handle?: string | undefined; - } & Record; - } | undefined; - } & { - width?: number | undefined; - height?: number | undefined; - pressure?: number | undefined; - tangentialPressure?: number | undefined; - twist?: number | undefined; - altitudeAngle?: number | undefined; - azimuthAngle?: number | undefined; - }))[]; - id: string; - parameters?: { - pointerType?: "touch" | "mouse" | "pen" | undefined; - } | undefined; - }>>, z.ZodLazy; - id: z.ZodString; - actions: z.ZodArray; - duration: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - type: "pause"; - duration?: number | undefined; - }, { - type: "pause"; - duration?: number | undefined; - }>>, z.ZodLazy; - x: z.ZodLazy; - y: z.ZodLazy; - deltaX: z.ZodLazy; - deltaY: z.ZodLazy; - duration: z.ZodOptional>; - origin: z.ZodOptional, z.ZodLiteral<"pointer">, z.ZodLazy; - element: z.ZodLazy; - handle: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - sharedId: string; - handle?: string | undefined; - }, { - sharedId: string; - handle?: string | undefined; - }>, z.ZodLazy>>>; - }, "strip", z.ZodTypeAny, { - type: "element"; - element: { - sharedId: string; - handle?: string | undefined; - } & Record; - }, { - type: "element"; - element: { - sharedId: string; - handle?: string | undefined; - } & Record; - }>>]>>>>; - }, "strip", z.ZodTypeAny, { - type: "scroll"; - x: number; - y: number; - deltaX: number; - deltaY: number; - duration?: number | undefined; - origin?: "viewport" | "pointer" | { - type: "element"; - element: { - sharedId: string; - handle?: string | undefined; - } & Record; - } | undefined; - }, { - type: "scroll"; - x: number; - y: number; - deltaX: number; - deltaY: number; - duration?: number | undefined; - origin?: "viewport" | "pointer" | { - type: "element"; - element: { - sharedId: string; - handle?: string | undefined; - } & Record; - } | undefined; - }>>]>>, "many">; - }, "strip", z.ZodTypeAny, { - type: "wheel"; - actions: ({ - type: "pause"; - duration?: number | undefined; - } | { - type: "scroll"; - x: number; - y: number; - deltaX: number; - deltaY: number; - duration?: number | undefined; - origin?: "viewport" | "pointer" | { - type: "element"; - element: { - sharedId: string; - handle?: string | undefined; - } & Record; - } | undefined; - })[]; - id: string; - }, { - type: "wheel"; - actions: ({ - type: "pause"; - duration?: number | undefined; - } | { - type: "scroll"; - x: number; - y: number; - deltaX: number; - deltaY: number; - duration?: number | undefined; - origin?: "viewport" | "pointer" | { - type: "element"; - element: { - sharedId: string; - handle?: string | undefined; - } & Record; - } | undefined; - })[]; - id: string; - }>>]>>, "many">; - }, "strip", z.ZodTypeAny, { - context: string; - actions: ({ - type: "none"; - actions: { - type: "pause"; - duration?: number | undefined; - }[]; - id: string; - } | { - type: "key"; - actions: ({ - type: "pause"; - duration?: number | undefined; - } | { - type: "keyDown"; - value: string; - } | { - type: "keyUp"; - value: string; - })[]; - id: string; - } | { - type: "pointer"; - actions: ({ - type: "pause"; - duration?: number | undefined; - } | ({ - type: "pointerDown"; - button: number; - } & { - width?: number | undefined; - height?: number | undefined; - pressure?: number | undefined; - tangentialPressure?: number | undefined; - twist?: number | undefined; - altitudeAngle?: number | undefined; - azimuthAngle?: number | undefined; - }) | { - type: "pointerUp"; - button: number; - } | ({ - type: "pointerMove"; - x: number; - y: number; - duration?: number | undefined; - origin?: "viewport" | "pointer" | { - type: "element"; - element: { - sharedId: string; - handle?: string | undefined; - } & Record; - } | undefined; - } & { - width?: number | undefined; - height?: number | undefined; - pressure?: number | undefined; - tangentialPressure?: number | undefined; - twist?: number | undefined; - altitudeAngle?: number | undefined; - azimuthAngle?: number | undefined; - }))[]; - id: string; - parameters?: { - pointerType?: "touch" | "mouse" | "pen" | undefined; - } | undefined; - } | { - type: "wheel"; - actions: ({ - type: "pause"; - duration?: number | undefined; - } | { - type: "scroll"; - x: number; - y: number; - deltaX: number; - deltaY: number; - duration?: number | undefined; - origin?: "viewport" | "pointer" | { - type: "element"; - element: { - sharedId: string; - handle?: string | undefined; - } & Record; - } | undefined; - })[]; - id: string; - })[]; - }, { - context: string; - actions: ({ - type: "none"; - actions: { - type: "pause"; - duration?: number | undefined; - }[]; - id: string; - } | { - type: "key"; - actions: ({ - type: "pause"; - duration?: number | undefined; - } | { - type: "keyDown"; - value: string; - } | { - type: "keyUp"; - value: string; - })[]; - id: string; - } | { - type: "pointer"; - actions: ({ - type: "pause"; - duration?: number | undefined; - } | ({ - type: "pointerDown"; - button: number; - } & { - width?: number | undefined; - height?: number | undefined; - pressure?: number | undefined; - tangentialPressure?: number | undefined; - twist?: number | undefined; - altitudeAngle?: number | undefined; - azimuthAngle?: number | undefined; - }) | { - type: "pointerUp"; - button: number; - } | ({ - type: "pointerMove"; - x: number; - y: number; - duration?: number | undefined; - origin?: "viewport" | "pointer" | { - type: "element"; - element: { - sharedId: string; - handle?: string | undefined; - } & Record; - } | undefined; - } & { - width?: number | undefined; - height?: number | undefined; - pressure?: number | undefined; - tangentialPressure?: number | undefined; - twist?: number | undefined; - altitudeAngle?: number | undefined; - azimuthAngle?: number | undefined; - }))[]; - id: string; - parameters?: { - pointerType?: "touch" | "mouse" | "pen" | undefined; - } | undefined; - } | { - type: "wheel"; - actions: ({ - type: "pause"; - duration?: number | undefined; - } | { - type: "scroll"; - x: number; - y: number; - deltaX: number; - deltaY: number; - duration?: number | undefined; - origin?: "viewport" | "pointer" | { - type: "element"; - element: { - sharedId: string; - handle?: string | undefined; - } & Record; - } | undefined; - })[]; - id: string; - })[]; - }>>; -} -export declare namespace Input { - const NoneSourceActionsSchema: z.ZodLazy; - id: z.ZodString; - actions: z.ZodArray; - duration: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - type: "pause"; - duration?: number | undefined; - }, { - type: "pause"; - duration?: number | undefined; - }>>>, "many">; - }, "strip", z.ZodTypeAny, { - type: "none"; - actions: { - type: "pause"; - duration?: number | undefined; - }[]; - id: string; - }, { - type: "none"; - actions: { - type: "pause"; - duration?: number | undefined; - }[]; - id: string; - }>>; -} -export declare namespace Input { - const KeySourceActionsSchema: z.ZodLazy; - id: z.ZodString; - actions: z.ZodArray; - duration: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - type: "pause"; - duration?: number | undefined; - }, { - type: "pause"; - duration?: number | undefined; - }>>, z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "keyDown"; - value: string; - }, { - type: "keyDown"; - value: string; - }>>, z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "keyUp"; - value: string; - }, { - type: "keyUp"; - value: string; - }>>]>>, "many">; - }, "strip", z.ZodTypeAny, { - type: "key"; - actions: ({ - type: "pause"; - duration?: number | undefined; - } | { - type: "keyDown"; - value: string; - } | { - type: "keyUp"; - value: string; - })[]; - id: string; - }, { - type: "key"; - actions: ({ - type: "pause"; - duration?: number | undefined; - } | { - type: "keyDown"; - value: string; - } | { - type: "keyUp"; - value: string; - })[]; - id: string; - }>>; -} -export declare namespace Input { - const PointerSourceActionsSchema: z.ZodLazy; - id: z.ZodString; - parameters: z.ZodOptional>>>; - }, "strip", z.ZodTypeAny, { - pointerType?: "touch" | "mouse" | "pen" | undefined; - }, { - pointerType?: "touch" | "mouse" | "pen" | undefined; - }>>>; - actions: z.ZodArray; - duration: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - type: "pause"; - duration?: number | undefined; - }, { - type: "pause"; - duration?: number | undefined; - }>>, z.ZodLazy; - button: z.ZodLazy; - }, "strip", z.ZodTypeAny, { - type: "pointerDown"; - button: number; - }, { - type: "pointerDown"; - button: number; - }>, z.ZodLazy>>; - height: z.ZodOptional>>; - pressure: z.ZodOptional>; - tangentialPressure: z.ZodOptional>; - twist: z.ZodOptional>; - altitudeAngle: z.ZodOptional>; - azimuthAngle: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - width?: number | undefined; - height?: number | undefined; - pressure?: number | undefined; - tangentialPressure?: number | undefined; - twist?: number | undefined; - altitudeAngle?: number | undefined; - azimuthAngle?: number | undefined; - }, { - width?: number | undefined; - height?: number | undefined; - pressure?: number | undefined; - tangentialPressure?: number | undefined; - twist?: number | undefined; - altitudeAngle?: number | undefined; - azimuthAngle?: number | undefined; - }>>>>, z.ZodLazy; - button: z.ZodLazy; - }, "strip", z.ZodTypeAny, { - type: "pointerUp"; - button: number; - }, { - type: "pointerUp"; - button: number; - }>>, z.ZodLazy; - x: z.ZodLazy; - y: z.ZodLazy; - duration: z.ZodOptional>; - origin: z.ZodOptional, z.ZodLiteral<"pointer">, z.ZodLazy; - element: z.ZodLazy; - handle: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - sharedId: string; - handle?: string | undefined; - }, { - sharedId: string; - handle?: string | undefined; - }>, z.ZodLazy>>>; - }, "strip", z.ZodTypeAny, { - type: "element"; - element: { - sharedId: string; - handle?: string | undefined; - } & Record; - }, { - type: "element"; - element: { - sharedId: string; - handle?: string | undefined; - } & Record; - }>>]>>>; - }, "strip", z.ZodTypeAny, { - type: "pointerMove"; - x: number; - y: number; - duration?: number | undefined; - origin?: "viewport" | "pointer" | { - type: "element"; - element: { - sharedId: string; - handle?: string | undefined; - } & Record; - } | undefined; - }, { - type: "pointerMove"; - x: number; - y: number; - duration?: number | undefined; - origin?: "viewport" | "pointer" | { - type: "element"; - element: { - sharedId: string; - handle?: string | undefined; - } & Record; - } | undefined; - }>, z.ZodLazy>>; - height: z.ZodOptional>>; - pressure: z.ZodOptional>; - tangentialPressure: z.ZodOptional>; - twist: z.ZodOptional>; - altitudeAngle: z.ZodOptional>; - azimuthAngle: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - width?: number | undefined; - height?: number | undefined; - pressure?: number | undefined; - tangentialPressure?: number | undefined; - twist?: number | undefined; - altitudeAngle?: number | undefined; - azimuthAngle?: number | undefined; - }, { - width?: number | undefined; - height?: number | undefined; - pressure?: number | undefined; - tangentialPressure?: number | undefined; - twist?: number | undefined; - altitudeAngle?: number | undefined; - azimuthAngle?: number | undefined; - }>>>>]>>, "many">; - }, "strip", z.ZodTypeAny, { - type: "pointer"; - actions: ({ - type: "pause"; - duration?: number | undefined; - } | ({ - type: "pointerDown"; - button: number; - } & { - width?: number | undefined; - height?: number | undefined; - pressure?: number | undefined; - tangentialPressure?: number | undefined; - twist?: number | undefined; - altitudeAngle?: number | undefined; - azimuthAngle?: number | undefined; - }) | { - type: "pointerUp"; - button: number; - } | ({ - type: "pointerMove"; - x: number; - y: number; - duration?: number | undefined; - origin?: "viewport" | "pointer" | { - type: "element"; - element: { - sharedId: string; - handle?: string | undefined; - } & Record; - } | undefined; - } & { - width?: number | undefined; - height?: number | undefined; - pressure?: number | undefined; - tangentialPressure?: number | undefined; - twist?: number | undefined; - altitudeAngle?: number | undefined; - azimuthAngle?: number | undefined; - }))[]; - id: string; - parameters?: { - pointerType?: "touch" | "mouse" | "pen" | undefined; - } | undefined; - }, { - type: "pointer"; - actions: ({ - type: "pause"; - duration?: number | undefined; - } | ({ - type: "pointerDown"; - button: number; - } & { - width?: number | undefined; - height?: number | undefined; - pressure?: number | undefined; - tangentialPressure?: number | undefined; - twist?: number | undefined; - altitudeAngle?: number | undefined; - azimuthAngle?: number | undefined; - }) | { - type: "pointerUp"; - button: number; - } | ({ - type: "pointerMove"; - x: number; - y: number; - duration?: number | undefined; - origin?: "viewport" | "pointer" | { - type: "element"; - element: { - sharedId: string; - handle?: string | undefined; - } & Record; - } | undefined; - } & { - width?: number | undefined; - height?: number | undefined; - pressure?: number | undefined; - tangentialPressure?: number | undefined; - twist?: number | undefined; - altitudeAngle?: number | undefined; - azimuthAngle?: number | undefined; - }))[]; - id: string; - parameters?: { - pointerType?: "touch" | "mouse" | "pen" | undefined; - } | undefined; - }>>; -} -export declare namespace Input { - const PerformActionsSchema: z.ZodLazy; - params: z.ZodLazy; - actions: z.ZodArray; - id: z.ZodString; - actions: z.ZodArray; - duration: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - type: "pause"; - duration?: number | undefined; - }, { - type: "pause"; - duration?: number | undefined; - }>>>, "many">; - }, "strip", z.ZodTypeAny, { - type: "none"; - actions: { - type: "pause"; - duration?: number | undefined; - }[]; - id: string; - }, { - type: "none"; - actions: { - type: "pause"; - duration?: number | undefined; - }[]; - id: string; - }>>, z.ZodLazy; - id: z.ZodString; - actions: z.ZodArray; - duration: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - type: "pause"; - duration?: number | undefined; - }, { - type: "pause"; - duration?: number | undefined; - }>>, z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "keyDown"; - value: string; - }, { - type: "keyDown"; - value: string; - }>>, z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "keyUp"; - value: string; - }, { - type: "keyUp"; - value: string; - }>>]>>, "many">; - }, "strip", z.ZodTypeAny, { - type: "key"; - actions: ({ - type: "pause"; - duration?: number | undefined; - } | { - type: "keyDown"; - value: string; - } | { - type: "keyUp"; - value: string; - })[]; - id: string; - }, { - type: "key"; - actions: ({ - type: "pause"; - duration?: number | undefined; - } | { - type: "keyDown"; - value: string; - } | { - type: "keyUp"; - value: string; - })[]; - id: string; - }>>, z.ZodLazy; - id: z.ZodString; - parameters: z.ZodOptional>>>; - }, "strip", z.ZodTypeAny, { - pointerType?: "touch" | "mouse" | "pen" | undefined; - }, { - pointerType?: "touch" | "mouse" | "pen" | undefined; - }>>>; - actions: z.ZodArray; - duration: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - type: "pause"; - duration?: number | undefined; - }, { - type: "pause"; - duration?: number | undefined; - }>>, z.ZodLazy; - button: z.ZodLazy; - }, "strip", z.ZodTypeAny, { - type: "pointerDown"; - button: number; - }, { - type: "pointerDown"; - button: number; - }>, z.ZodLazy>>; - height: z.ZodOptional>>; - pressure: z.ZodOptional>; - tangentialPressure: z.ZodOptional>; - twist: z.ZodOptional>; - altitudeAngle: z.ZodOptional>; - azimuthAngle: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - width?: number | undefined; - height?: number | undefined; - pressure?: number | undefined; - tangentialPressure?: number | undefined; - twist?: number | undefined; - altitudeAngle?: number | undefined; - azimuthAngle?: number | undefined; - }, { - width?: number | undefined; - height?: number | undefined; - pressure?: number | undefined; - tangentialPressure?: number | undefined; - twist?: number | undefined; - altitudeAngle?: number | undefined; - azimuthAngle?: number | undefined; - }>>>>, z.ZodLazy; - button: z.ZodLazy; - }, "strip", z.ZodTypeAny, { - type: "pointerUp"; - button: number; - }, { - type: "pointerUp"; - button: number; - }>>, z.ZodLazy; - x: z.ZodLazy; - y: z.ZodLazy; - duration: z.ZodOptional>; - origin: z.ZodOptional, z.ZodLiteral<"pointer">, z.ZodLazy; - element: z.ZodLazy; - handle: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - sharedId: string; - handle?: string | undefined; - }, { - sharedId: string; - handle?: string | undefined; - }>, z.ZodLazy>>>; - }, "strip", z.ZodTypeAny, { - type: "element"; - element: { - sharedId: string; - handle?: string | undefined; - } & Record; - }, { - type: "element"; - element: { - sharedId: string; - handle?: string | undefined; - } & Record; - }>>]>>>; - }, "strip", z.ZodTypeAny, { - type: "pointerMove"; - x: number; - y: number; - duration?: number | undefined; - origin?: "viewport" | "pointer" | { - type: "element"; - element: { - sharedId: string; - handle?: string | undefined; - } & Record; - } | undefined; - }, { - type: "pointerMove"; - x: number; - y: number; - duration?: number | undefined; - origin?: "viewport" | "pointer" | { - type: "element"; - element: { - sharedId: string; - handle?: string | undefined; - } & Record; - } | undefined; - }>, z.ZodLazy>>; - height: z.ZodOptional>>; - pressure: z.ZodOptional>; - tangentialPressure: z.ZodOptional>; - twist: z.ZodOptional>; - altitudeAngle: z.ZodOptional>; - azimuthAngle: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - width?: number | undefined; - height?: number | undefined; - pressure?: number | undefined; - tangentialPressure?: number | undefined; - twist?: number | undefined; - altitudeAngle?: number | undefined; - azimuthAngle?: number | undefined; - }, { - width?: number | undefined; - height?: number | undefined; - pressure?: number | undefined; - tangentialPressure?: number | undefined; - twist?: number | undefined; - altitudeAngle?: number | undefined; - azimuthAngle?: number | undefined; - }>>>>]>>, "many">; - }, "strip", z.ZodTypeAny, { - type: "pointer"; - actions: ({ - type: "pause"; - duration?: number | undefined; - } | ({ - type: "pointerDown"; - button: number; - } & { - width?: number | undefined; - height?: number | undefined; - pressure?: number | undefined; - tangentialPressure?: number | undefined; - twist?: number | undefined; - altitudeAngle?: number | undefined; - azimuthAngle?: number | undefined; - }) | { - type: "pointerUp"; - button: number; - } | ({ - type: "pointerMove"; - x: number; - y: number; - duration?: number | undefined; - origin?: "viewport" | "pointer" | { - type: "element"; - element: { - sharedId: string; - handle?: string | undefined; - } & Record; - } | undefined; - } & { - width?: number | undefined; - height?: number | undefined; - pressure?: number | undefined; - tangentialPressure?: number | undefined; - twist?: number | undefined; - altitudeAngle?: number | undefined; - azimuthAngle?: number | undefined; - }))[]; - id: string; - parameters?: { - pointerType?: "touch" | "mouse" | "pen" | undefined; - } | undefined; - }, { - type: "pointer"; - actions: ({ - type: "pause"; - duration?: number | undefined; - } | ({ - type: "pointerDown"; - button: number; - } & { - width?: number | undefined; - height?: number | undefined; - pressure?: number | undefined; - tangentialPressure?: number | undefined; - twist?: number | undefined; - altitudeAngle?: number | undefined; - azimuthAngle?: number | undefined; - }) | { - type: "pointerUp"; - button: number; - } | ({ - type: "pointerMove"; - x: number; - y: number; - duration?: number | undefined; - origin?: "viewport" | "pointer" | { - type: "element"; - element: { - sharedId: string; - handle?: string | undefined; - } & Record; - } | undefined; - } & { - width?: number | undefined; - height?: number | undefined; - pressure?: number | undefined; - tangentialPressure?: number | undefined; - twist?: number | undefined; - altitudeAngle?: number | undefined; - azimuthAngle?: number | undefined; - }))[]; - id: string; - parameters?: { - pointerType?: "touch" | "mouse" | "pen" | undefined; - } | undefined; - }>>, z.ZodLazy; - id: z.ZodString; - actions: z.ZodArray; - duration: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - type: "pause"; - duration?: number | undefined; - }, { - type: "pause"; - duration?: number | undefined; - }>>, z.ZodLazy; - x: z.ZodLazy; - y: z.ZodLazy; - deltaX: z.ZodLazy; - deltaY: z.ZodLazy; - duration: z.ZodOptional>; - origin: z.ZodOptional, z.ZodLiteral<"pointer">, z.ZodLazy; - element: z.ZodLazy; - handle: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - sharedId: string; - handle?: string | undefined; - }, { - sharedId: string; - handle?: string | undefined; - }>, z.ZodLazy>>>; - }, "strip", z.ZodTypeAny, { - type: "element"; - element: { - sharedId: string; - handle?: string | undefined; - } & Record; - }, { - type: "element"; - element: { - sharedId: string; - handle?: string | undefined; - } & Record; - }>>]>>>>; - }, "strip", z.ZodTypeAny, { - type: "scroll"; - x: number; - y: number; - deltaX: number; - deltaY: number; - duration?: number | undefined; - origin?: "viewport" | "pointer" | { - type: "element"; - element: { - sharedId: string; - handle?: string | undefined; - } & Record; - } | undefined; - }, { - type: "scroll"; - x: number; - y: number; - deltaX: number; - deltaY: number; - duration?: number | undefined; - origin?: "viewport" | "pointer" | { - type: "element"; - element: { - sharedId: string; - handle?: string | undefined; - } & Record; - } | undefined; - }>>]>>, "many">; - }, "strip", z.ZodTypeAny, { - type: "wheel"; - actions: ({ - type: "pause"; - duration?: number | undefined; - } | { - type: "scroll"; - x: number; - y: number; - deltaX: number; - deltaY: number; - duration?: number | undefined; - origin?: "viewport" | "pointer" | { - type: "element"; - element: { - sharedId: string; - handle?: string | undefined; - } & Record; - } | undefined; - })[]; - id: string; - }, { - type: "wheel"; - actions: ({ - type: "pause"; - duration?: number | undefined; - } | { - type: "scroll"; - x: number; - y: number; - deltaX: number; - deltaY: number; - duration?: number | undefined; - origin?: "viewport" | "pointer" | { - type: "element"; - element: { - sharedId: string; - handle?: string | undefined; - } & Record; - } | undefined; - })[]; - id: string; - }>>]>>, "many">; - }, "strip", z.ZodTypeAny, { - context: string; - actions: ({ - type: "none"; - actions: { - type: "pause"; - duration?: number | undefined; - }[]; - id: string; - } | { - type: "key"; - actions: ({ - type: "pause"; - duration?: number | undefined; - } | { - type: "keyDown"; - value: string; - } | { - type: "keyUp"; - value: string; - })[]; - id: string; - } | { - type: "pointer"; - actions: ({ - type: "pause"; - duration?: number | undefined; - } | ({ - type: "pointerDown"; - button: number; - } & { - width?: number | undefined; - height?: number | undefined; - pressure?: number | undefined; - tangentialPressure?: number | undefined; - twist?: number | undefined; - altitudeAngle?: number | undefined; - azimuthAngle?: number | undefined; - }) | { - type: "pointerUp"; - button: number; - } | ({ - type: "pointerMove"; - x: number; - y: number; - duration?: number | undefined; - origin?: "viewport" | "pointer" | { - type: "element"; - element: { - sharedId: string; - handle?: string | undefined; - } & Record; - } | undefined; - } & { - width?: number | undefined; - height?: number | undefined; - pressure?: number | undefined; - tangentialPressure?: number | undefined; - twist?: number | undefined; - altitudeAngle?: number | undefined; - azimuthAngle?: number | undefined; - }))[]; - id: string; - parameters?: { - pointerType?: "touch" | "mouse" | "pen" | undefined; - } | undefined; - } | { - type: "wheel"; - actions: ({ - type: "pause"; - duration?: number | undefined; - } | { - type: "scroll"; - x: number; - y: number; - deltaX: number; - deltaY: number; - duration?: number | undefined; - origin?: "viewport" | "pointer" | { - type: "element"; - element: { - sharedId: string; - handle?: string | undefined; - } & Record; - } | undefined; - })[]; - id: string; - })[]; - }, { - context: string; - actions: ({ - type: "none"; - actions: { - type: "pause"; - duration?: number | undefined; - }[]; - id: string; - } | { - type: "key"; - actions: ({ - type: "pause"; - duration?: number | undefined; - } | { - type: "keyDown"; - value: string; - } | { - type: "keyUp"; - value: string; - })[]; - id: string; - } | { - type: "pointer"; - actions: ({ - type: "pause"; - duration?: number | undefined; - } | ({ - type: "pointerDown"; - button: number; - } & { - width?: number | undefined; - height?: number | undefined; - pressure?: number | undefined; - tangentialPressure?: number | undefined; - twist?: number | undefined; - altitudeAngle?: number | undefined; - azimuthAngle?: number | undefined; - }) | { - type: "pointerUp"; - button: number; - } | ({ - type: "pointerMove"; - x: number; - y: number; - duration?: number | undefined; - origin?: "viewport" | "pointer" | { - type: "element"; - element: { - sharedId: string; - handle?: string | undefined; - } & Record; - } | undefined; - } & { - width?: number | undefined; - height?: number | undefined; - pressure?: number | undefined; - tangentialPressure?: number | undefined; - twist?: number | undefined; - altitudeAngle?: number | undefined; - azimuthAngle?: number | undefined; - }))[]; - id: string; - parameters?: { - pointerType?: "touch" | "mouse" | "pen" | undefined; - } | undefined; - } | { - type: "wheel"; - actions: ({ - type: "pause"; - duration?: number | undefined; - } | { - type: "scroll"; - x: number; - y: number; - deltaX: number; - deltaY: number; - duration?: number | undefined; - origin?: "viewport" | "pointer" | { - type: "element"; - element: { - sharedId: string; - handle?: string | undefined; - } & Record; - } | undefined; - })[]; - id: string; - })[]; - }>>; - }, "strip", z.ZodTypeAny, { - params: { - context: string; - actions: ({ - type: "none"; - actions: { - type: "pause"; - duration?: number | undefined; - }[]; - id: string; - } | { - type: "key"; - actions: ({ - type: "pause"; - duration?: number | undefined; - } | { - type: "keyDown"; - value: string; - } | { - type: "keyUp"; - value: string; - })[]; - id: string; - } | { - type: "pointer"; - actions: ({ - type: "pause"; - duration?: number | undefined; - } | ({ - type: "pointerDown"; - button: number; - } & { - width?: number | undefined; - height?: number | undefined; - pressure?: number | undefined; - tangentialPressure?: number | undefined; - twist?: number | undefined; - altitudeAngle?: number | undefined; - azimuthAngle?: number | undefined; - }) | { - type: "pointerUp"; - button: number; - } | ({ - type: "pointerMove"; - x: number; - y: number; - duration?: number | undefined; - origin?: "viewport" | "pointer" | { - type: "element"; - element: { - sharedId: string; - handle?: string | undefined; - } & Record; - } | undefined; - } & { - width?: number | undefined; - height?: number | undefined; - pressure?: number | undefined; - tangentialPressure?: number | undefined; - twist?: number | undefined; - altitudeAngle?: number | undefined; - azimuthAngle?: number | undefined; - }))[]; - id: string; - parameters?: { - pointerType?: "touch" | "mouse" | "pen" | undefined; - } | undefined; - } | { - type: "wheel"; - actions: ({ - type: "pause"; - duration?: number | undefined; - } | { - type: "scroll"; - x: number; - y: number; - deltaX: number; - deltaY: number; - duration?: number | undefined; - origin?: "viewport" | "pointer" | { - type: "element"; - element: { - sharedId: string; - handle?: string | undefined; - } & Record; - } | undefined; - })[]; - id: string; - })[]; - }; - method: "input.performActions"; - }, { - params: { - context: string; - actions: ({ - type: "none"; - actions: { - type: "pause"; - duration?: number | undefined; - }[]; - id: string; - } | { - type: "key"; - actions: ({ - type: "pause"; - duration?: number | undefined; - } | { - type: "keyDown"; - value: string; - } | { - type: "keyUp"; - value: string; - })[]; - id: string; - } | { - type: "pointer"; - actions: ({ - type: "pause"; - duration?: number | undefined; - } | ({ - type: "pointerDown"; - button: number; - } & { - width?: number | undefined; - height?: number | undefined; - pressure?: number | undefined; - tangentialPressure?: number | undefined; - twist?: number | undefined; - altitudeAngle?: number | undefined; - azimuthAngle?: number | undefined; - }) | { - type: "pointerUp"; - button: number; - } | ({ - type: "pointerMove"; - x: number; - y: number; - duration?: number | undefined; - origin?: "viewport" | "pointer" | { - type: "element"; - element: { - sharedId: string; - handle?: string | undefined; - } & Record; - } | undefined; - } & { - width?: number | undefined; - height?: number | undefined; - pressure?: number | undefined; - tangentialPressure?: number | undefined; - twist?: number | undefined; - altitudeAngle?: number | undefined; - azimuthAngle?: number | undefined; - }))[]; - id: string; - parameters?: { - pointerType?: "touch" | "mouse" | "pen" | undefined; - } | undefined; - } | { - type: "wheel"; - actions: ({ - type: "pause"; - duration?: number | undefined; - } | { - type: "scroll"; - x: number; - y: number; - deltaX: number; - deltaY: number; - duration?: number | undefined; - origin?: "viewport" | "pointer" | { - type: "element"; - element: { - sharedId: string; - handle?: string | undefined; - } & Record; - } | undefined; - })[]; - id: string; - })[]; - }; - method: "input.performActions"; - }>>; -} -export declare namespace Input { - const SourceActionsSchema: z.ZodLazy; - id: z.ZodString; - actions: z.ZodArray; - duration: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - type: "pause"; - duration?: number | undefined; - }, { - type: "pause"; - duration?: number | undefined; - }>>>, "many">; - }, "strip", z.ZodTypeAny, { - type: "none"; - actions: { - type: "pause"; - duration?: number | undefined; - }[]; - id: string; - }, { - type: "none"; - actions: { - type: "pause"; - duration?: number | undefined; - }[]; - id: string; - }>>, z.ZodLazy; - id: z.ZodString; - actions: z.ZodArray; - duration: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - type: "pause"; - duration?: number | undefined; - }, { - type: "pause"; - duration?: number | undefined; - }>>, z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "keyDown"; - value: string; - }, { - type: "keyDown"; - value: string; - }>>, z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "keyUp"; - value: string; - }, { - type: "keyUp"; - value: string; - }>>]>>, "many">; - }, "strip", z.ZodTypeAny, { - type: "key"; - actions: ({ - type: "pause"; - duration?: number | undefined; - } | { - type: "keyDown"; - value: string; - } | { - type: "keyUp"; - value: string; - })[]; - id: string; - }, { - type: "key"; - actions: ({ - type: "pause"; - duration?: number | undefined; - } | { - type: "keyDown"; - value: string; - } | { - type: "keyUp"; - value: string; - })[]; - id: string; - }>>, z.ZodLazy; - id: z.ZodString; - parameters: z.ZodOptional>>>; - }, "strip", z.ZodTypeAny, { - pointerType?: "touch" | "mouse" | "pen" | undefined; - }, { - pointerType?: "touch" | "mouse" | "pen" | undefined; - }>>>; - actions: z.ZodArray; - duration: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - type: "pause"; - duration?: number | undefined; - }, { - type: "pause"; - duration?: number | undefined; - }>>, z.ZodLazy; - button: z.ZodLazy; - }, "strip", z.ZodTypeAny, { - type: "pointerDown"; - button: number; - }, { - type: "pointerDown"; - button: number; - }>, z.ZodLazy>>; - height: z.ZodOptional>>; - pressure: z.ZodOptional>; - tangentialPressure: z.ZodOptional>; - twist: z.ZodOptional>; - altitudeAngle: z.ZodOptional>; - azimuthAngle: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - width?: number | undefined; - height?: number | undefined; - pressure?: number | undefined; - tangentialPressure?: number | undefined; - twist?: number | undefined; - altitudeAngle?: number | undefined; - azimuthAngle?: number | undefined; - }, { - width?: number | undefined; - height?: number | undefined; - pressure?: number | undefined; - tangentialPressure?: number | undefined; - twist?: number | undefined; - altitudeAngle?: number | undefined; - azimuthAngle?: number | undefined; - }>>>>, z.ZodLazy; - button: z.ZodLazy; - }, "strip", z.ZodTypeAny, { - type: "pointerUp"; - button: number; - }, { - type: "pointerUp"; - button: number; - }>>, z.ZodLazy; - x: z.ZodLazy; - y: z.ZodLazy; - duration: z.ZodOptional>; - origin: z.ZodOptional, z.ZodLiteral<"pointer">, z.ZodLazy; - element: z.ZodLazy; - handle: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - sharedId: string; - handle?: string | undefined; - }, { - sharedId: string; - handle?: string | undefined; - }>, z.ZodLazy>>>; - }, "strip", z.ZodTypeAny, { - type: "element"; - element: { - sharedId: string; - handle?: string | undefined; - } & Record; - }, { - type: "element"; - element: { - sharedId: string; - handle?: string | undefined; - } & Record; - }>>]>>>; - }, "strip", z.ZodTypeAny, { - type: "pointerMove"; - x: number; - y: number; - duration?: number | undefined; - origin?: "viewport" | "pointer" | { - type: "element"; - element: { - sharedId: string; - handle?: string | undefined; - } & Record; - } | undefined; - }, { - type: "pointerMove"; - x: number; - y: number; - duration?: number | undefined; - origin?: "viewport" | "pointer" | { - type: "element"; - element: { - sharedId: string; - handle?: string | undefined; - } & Record; - } | undefined; - }>, z.ZodLazy>>; - height: z.ZodOptional>>; - pressure: z.ZodOptional>; - tangentialPressure: z.ZodOptional>; - twist: z.ZodOptional>; - altitudeAngle: z.ZodOptional>; - azimuthAngle: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - width?: number | undefined; - height?: number | undefined; - pressure?: number | undefined; - tangentialPressure?: number | undefined; - twist?: number | undefined; - altitudeAngle?: number | undefined; - azimuthAngle?: number | undefined; - }, { - width?: number | undefined; - height?: number | undefined; - pressure?: number | undefined; - tangentialPressure?: number | undefined; - twist?: number | undefined; - altitudeAngle?: number | undefined; - azimuthAngle?: number | undefined; - }>>>>]>>, "many">; - }, "strip", z.ZodTypeAny, { - type: "pointer"; - actions: ({ - type: "pause"; - duration?: number | undefined; - } | ({ - type: "pointerDown"; - button: number; - } & { - width?: number | undefined; - height?: number | undefined; - pressure?: number | undefined; - tangentialPressure?: number | undefined; - twist?: number | undefined; - altitudeAngle?: number | undefined; - azimuthAngle?: number | undefined; - }) | { - type: "pointerUp"; - button: number; - } | ({ - type: "pointerMove"; - x: number; - y: number; - duration?: number | undefined; - origin?: "viewport" | "pointer" | { - type: "element"; - element: { - sharedId: string; - handle?: string | undefined; - } & Record; - } | undefined; - } & { - width?: number | undefined; - height?: number | undefined; - pressure?: number | undefined; - tangentialPressure?: number | undefined; - twist?: number | undefined; - altitudeAngle?: number | undefined; - azimuthAngle?: number | undefined; - }))[]; - id: string; - parameters?: { - pointerType?: "touch" | "mouse" | "pen" | undefined; - } | undefined; - }, { - type: "pointer"; - actions: ({ - type: "pause"; - duration?: number | undefined; - } | ({ - type: "pointerDown"; - button: number; - } & { - width?: number | undefined; - height?: number | undefined; - pressure?: number | undefined; - tangentialPressure?: number | undefined; - twist?: number | undefined; - altitudeAngle?: number | undefined; - azimuthAngle?: number | undefined; - }) | { - type: "pointerUp"; - button: number; - } | ({ - type: "pointerMove"; - x: number; - y: number; - duration?: number | undefined; - origin?: "viewport" | "pointer" | { - type: "element"; - element: { - sharedId: string; - handle?: string | undefined; - } & Record; - } | undefined; - } & { - width?: number | undefined; - height?: number | undefined; - pressure?: number | undefined; - tangentialPressure?: number | undefined; - twist?: number | undefined; - altitudeAngle?: number | undefined; - azimuthAngle?: number | undefined; - }))[]; - id: string; - parameters?: { - pointerType?: "touch" | "mouse" | "pen" | undefined; - } | undefined; - }>>, z.ZodLazy; - id: z.ZodString; - actions: z.ZodArray; - duration: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - type: "pause"; - duration?: number | undefined; - }, { - type: "pause"; - duration?: number | undefined; - }>>, z.ZodLazy; - x: z.ZodLazy; - y: z.ZodLazy; - deltaX: z.ZodLazy; - deltaY: z.ZodLazy; - duration: z.ZodOptional>; - origin: z.ZodOptional, z.ZodLiteral<"pointer">, z.ZodLazy; - element: z.ZodLazy; - handle: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - sharedId: string; - handle?: string | undefined; - }, { - sharedId: string; - handle?: string | undefined; - }>, z.ZodLazy>>>; - }, "strip", z.ZodTypeAny, { - type: "element"; - element: { - sharedId: string; - handle?: string | undefined; - } & Record; - }, { - type: "element"; - element: { - sharedId: string; - handle?: string | undefined; - } & Record; - }>>]>>>>; - }, "strip", z.ZodTypeAny, { - type: "scroll"; - x: number; - y: number; - deltaX: number; - deltaY: number; - duration?: number | undefined; - origin?: "viewport" | "pointer" | { - type: "element"; - element: { - sharedId: string; - handle?: string | undefined; - } & Record; - } | undefined; - }, { - type: "scroll"; - x: number; - y: number; - deltaX: number; - deltaY: number; - duration?: number | undefined; - origin?: "viewport" | "pointer" | { - type: "element"; - element: { - sharedId: string; - handle?: string | undefined; - } & Record; - } | undefined; - }>>]>>, "many">; - }, "strip", z.ZodTypeAny, { - type: "wheel"; - actions: ({ - type: "pause"; - duration?: number | undefined; - } | { - type: "scroll"; - x: number; - y: number; - deltaX: number; - deltaY: number; - duration?: number | undefined; - origin?: "viewport" | "pointer" | { - type: "element"; - element: { - sharedId: string; - handle?: string | undefined; - } & Record; - } | undefined; - })[]; - id: string; - }, { - type: "wheel"; - actions: ({ - type: "pause"; - duration?: number | undefined; - } | { - type: "scroll"; - x: number; - y: number; - deltaX: number; - deltaY: number; - duration?: number | undefined; - origin?: "viewport" | "pointer" | { - type: "element"; - element: { - sharedId: string; - handle?: string | undefined; - } & Record; - } | undefined; - })[]; - id: string; - }>>]>>; -} -export declare namespace Input { - const NoneSourceActionSchema: z.ZodLazy; - duration: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - type: "pause"; - duration?: number | undefined; - }, { - type: "pause"; - duration?: number | undefined; - }>>>; -} -export declare namespace Input { - const KeySourceActionSchema: z.ZodLazy; - duration: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - type: "pause"; - duration?: number | undefined; - }, { - type: "pause"; - duration?: number | undefined; - }>>, z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "keyDown"; - value: string; - }, { - type: "keyDown"; - value: string; - }>>, z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "keyUp"; - value: string; - }, { - type: "keyUp"; - value: string; - }>>]>>; -} -export declare namespace Input { - const PointerTypeSchema: z.ZodLazy>; -} -export declare namespace Input { - const PointerParametersSchema: z.ZodLazy>>>; - }, "strip", z.ZodTypeAny, { - pointerType?: "touch" | "mouse" | "pen" | undefined; - }, { - pointerType?: "touch" | "mouse" | "pen" | undefined; - }>>; -} -export declare namespace Input { - const WheelSourceActionsSchema: z.ZodLazy; - id: z.ZodString; - actions: z.ZodArray; - duration: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - type: "pause"; - duration?: number | undefined; - }, { - type: "pause"; - duration?: number | undefined; - }>>, z.ZodLazy; - x: z.ZodLazy; - y: z.ZodLazy; - deltaX: z.ZodLazy; - deltaY: z.ZodLazy; - duration: z.ZodOptional>; - origin: z.ZodOptional, z.ZodLiteral<"pointer">, z.ZodLazy; - element: z.ZodLazy; - handle: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - sharedId: string; - handle?: string | undefined; - }, { - sharedId: string; - handle?: string | undefined; - }>, z.ZodLazy>>>; - }, "strip", z.ZodTypeAny, { - type: "element"; - element: { - sharedId: string; - handle?: string | undefined; - } & Record; - }, { - type: "element"; - element: { - sharedId: string; - handle?: string | undefined; - } & Record; - }>>]>>>>; - }, "strip", z.ZodTypeAny, { - type: "scroll"; - x: number; - y: number; - deltaX: number; - deltaY: number; - duration?: number | undefined; - origin?: "viewport" | "pointer" | { - type: "element"; - element: { - sharedId: string; - handle?: string | undefined; - } & Record; - } | undefined; - }, { - type: "scroll"; - x: number; - y: number; - deltaX: number; - deltaY: number; - duration?: number | undefined; - origin?: "viewport" | "pointer" | { - type: "element"; - element: { - sharedId: string; - handle?: string | undefined; - } & Record; - } | undefined; - }>>]>>, "many">; - }, "strip", z.ZodTypeAny, { - type: "wheel"; - actions: ({ - type: "pause"; - duration?: number | undefined; - } | { - type: "scroll"; - x: number; - y: number; - deltaX: number; - deltaY: number; - duration?: number | undefined; - origin?: "viewport" | "pointer" | { - type: "element"; - element: { - sharedId: string; - handle?: string | undefined; - } & Record; - } | undefined; - })[]; - id: string; - }, { - type: "wheel"; - actions: ({ - type: "pause"; - duration?: number | undefined; - } | { - type: "scroll"; - x: number; - y: number; - deltaX: number; - deltaY: number; - duration?: number | undefined; - origin?: "viewport" | "pointer" | { - type: "element"; - element: { - sharedId: string; - handle?: string | undefined; - } & Record; - } | undefined; - })[]; - id: string; - }>>; -} -export declare namespace Input { - const PointerSourceActionSchema: z.ZodLazy; - duration: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - type: "pause"; - duration?: number | undefined; - }, { - type: "pause"; - duration?: number | undefined; - }>>, z.ZodLazy; - button: z.ZodLazy; - }, "strip", z.ZodTypeAny, { - type: "pointerDown"; - button: number; - }, { - type: "pointerDown"; - button: number; - }>, z.ZodLazy>>; - height: z.ZodOptional>>; - pressure: z.ZodOptional>; - tangentialPressure: z.ZodOptional>; - twist: z.ZodOptional>; - altitudeAngle: z.ZodOptional>; - azimuthAngle: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - width?: number | undefined; - height?: number | undefined; - pressure?: number | undefined; - tangentialPressure?: number | undefined; - twist?: number | undefined; - altitudeAngle?: number | undefined; - azimuthAngle?: number | undefined; - }, { - width?: number | undefined; - height?: number | undefined; - pressure?: number | undefined; - tangentialPressure?: number | undefined; - twist?: number | undefined; - altitudeAngle?: number | undefined; - azimuthAngle?: number | undefined; - }>>>>, z.ZodLazy; - button: z.ZodLazy; - }, "strip", z.ZodTypeAny, { - type: "pointerUp"; - button: number; - }, { - type: "pointerUp"; - button: number; - }>>, z.ZodLazy; - x: z.ZodLazy; - y: z.ZodLazy; - duration: z.ZodOptional>; - origin: z.ZodOptional, z.ZodLiteral<"pointer">, z.ZodLazy; - element: z.ZodLazy; - handle: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - sharedId: string; - handle?: string | undefined; - }, { - sharedId: string; - handle?: string | undefined; - }>, z.ZodLazy>>>; - }, "strip", z.ZodTypeAny, { - type: "element"; - element: { - sharedId: string; - handle?: string | undefined; - } & Record; - }, { - type: "element"; - element: { - sharedId: string; - handle?: string | undefined; - } & Record; - }>>]>>>; - }, "strip", z.ZodTypeAny, { - type: "pointerMove"; - x: number; - y: number; - duration?: number | undefined; - origin?: "viewport" | "pointer" | { - type: "element"; - element: { - sharedId: string; - handle?: string | undefined; - } & Record; - } | undefined; - }, { - type: "pointerMove"; - x: number; - y: number; - duration?: number | undefined; - origin?: "viewport" | "pointer" | { - type: "element"; - element: { - sharedId: string; - handle?: string | undefined; - } & Record; - } | undefined; - }>, z.ZodLazy>>; - height: z.ZodOptional>>; - pressure: z.ZodOptional>; - tangentialPressure: z.ZodOptional>; - twist: z.ZodOptional>; - altitudeAngle: z.ZodOptional>; - azimuthAngle: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - width?: number | undefined; - height?: number | undefined; - pressure?: number | undefined; - tangentialPressure?: number | undefined; - twist?: number | undefined; - altitudeAngle?: number | undefined; - azimuthAngle?: number | undefined; - }, { - width?: number | undefined; - height?: number | undefined; - pressure?: number | undefined; - tangentialPressure?: number | undefined; - twist?: number | undefined; - altitudeAngle?: number | undefined; - azimuthAngle?: number | undefined; - }>>>>]>>; -} -export declare namespace Input { - const WheelSourceActionSchema: z.ZodLazy; - duration: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - type: "pause"; - duration?: number | undefined; - }, { - type: "pause"; - duration?: number | undefined; - }>>, z.ZodLazy; - x: z.ZodLazy; - y: z.ZodLazy; - deltaX: z.ZodLazy; - deltaY: z.ZodLazy; - duration: z.ZodOptional>; - origin: z.ZodOptional, z.ZodLiteral<"pointer">, z.ZodLazy; - element: z.ZodLazy; - handle: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - sharedId: string; - handle?: string | undefined; - }, { - sharedId: string; - handle?: string | undefined; - }>, z.ZodLazy>>>; - }, "strip", z.ZodTypeAny, { - type: "element"; - element: { - sharedId: string; - handle?: string | undefined; - } & Record; - }, { - type: "element"; - element: { - sharedId: string; - handle?: string | undefined; - } & Record; - }>>]>>>>; - }, "strip", z.ZodTypeAny, { - type: "scroll"; - x: number; - y: number; - deltaX: number; - deltaY: number; - duration?: number | undefined; - origin?: "viewport" | "pointer" | { - type: "element"; - element: { - sharedId: string; - handle?: string | undefined; - } & Record; - } | undefined; - }, { - type: "scroll"; - x: number; - y: number; - deltaX: number; - deltaY: number; - duration?: number | undefined; - origin?: "viewport" | "pointer" | { - type: "element"; - element: { - sharedId: string; - handle?: string | undefined; - } & Record; - } | undefined; - }>>]>>; -} -export declare namespace Input { - const PauseActionSchema: z.ZodLazy; - duration: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - type: "pause"; - duration?: number | undefined; - }, { - type: "pause"; - duration?: number | undefined; - }>>; -} -export declare namespace Input { - const KeyDownActionSchema: z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "keyDown"; - value: string; - }, { - type: "keyDown"; - value: string; - }>>; -} -export declare namespace Input { - const KeyUpActionSchema: z.ZodLazy; - value: z.ZodString; - }, "strip", z.ZodTypeAny, { - type: "keyUp"; - value: string; - }, { - type: "keyUp"; - value: string; - }>>; -} -export declare namespace Input { - const PointerUpActionSchema: z.ZodLazy; - button: z.ZodLazy; - }, "strip", z.ZodTypeAny, { - type: "pointerUp"; - button: number; - }, { - type: "pointerUp"; - button: number; - }>>; -} -export declare namespace Input { - const PointerDownActionSchema: z.ZodLazy; - button: z.ZodLazy; - }, "strip", z.ZodTypeAny, { - type: "pointerDown"; - button: number; - }, { - type: "pointerDown"; - button: number; - }>, z.ZodLazy>>; - height: z.ZodOptional>>; - pressure: z.ZodOptional>; - tangentialPressure: z.ZodOptional>; - twist: z.ZodOptional>; - altitudeAngle: z.ZodOptional>; - azimuthAngle: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - width?: number | undefined; - height?: number | undefined; - pressure?: number | undefined; - tangentialPressure?: number | undefined; - twist?: number | undefined; - altitudeAngle?: number | undefined; - azimuthAngle?: number | undefined; - }, { - width?: number | undefined; - height?: number | undefined; - pressure?: number | undefined; - tangentialPressure?: number | undefined; - twist?: number | undefined; - altitudeAngle?: number | undefined; - azimuthAngle?: number | undefined; - }>>>>; -} -export declare namespace Input { - const PointerMoveActionSchema: z.ZodLazy; - x: z.ZodLazy; - y: z.ZodLazy; - duration: z.ZodOptional>; - origin: z.ZodOptional, z.ZodLiteral<"pointer">, z.ZodLazy; - element: z.ZodLazy; - handle: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - sharedId: string; - handle?: string | undefined; - }, { - sharedId: string; - handle?: string | undefined; - }>, z.ZodLazy>>>; - }, "strip", z.ZodTypeAny, { - type: "element"; - element: { - sharedId: string; - handle?: string | undefined; - } & Record; - }, { - type: "element"; - element: { - sharedId: string; - handle?: string | undefined; - } & Record; - }>>]>>>; - }, "strip", z.ZodTypeAny, { - type: "pointerMove"; - x: number; - y: number; - duration?: number | undefined; - origin?: "viewport" | "pointer" | { - type: "element"; - element: { - sharedId: string; - handle?: string | undefined; - } & Record; - } | undefined; - }, { - type: "pointerMove"; - x: number; - y: number; - duration?: number | undefined; - origin?: "viewport" | "pointer" | { - type: "element"; - element: { - sharedId: string; - handle?: string | undefined; - } & Record; - } | undefined; - }>, z.ZodLazy>>; - height: z.ZodOptional>>; - pressure: z.ZodOptional>; - tangentialPressure: z.ZodOptional>; - twist: z.ZodOptional>; - altitudeAngle: z.ZodOptional>; - azimuthAngle: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - width?: number | undefined; - height?: number | undefined; - pressure?: number | undefined; - tangentialPressure?: number | undefined; - twist?: number | undefined; - altitudeAngle?: number | undefined; - azimuthAngle?: number | undefined; - }, { - width?: number | undefined; - height?: number | undefined; - pressure?: number | undefined; - tangentialPressure?: number | undefined; - twist?: number | undefined; - altitudeAngle?: number | undefined; - azimuthAngle?: number | undefined; - }>>>>; -} -export declare namespace Input { - const WheelScrollActionSchema: z.ZodLazy; - x: z.ZodLazy; - y: z.ZodLazy; - deltaX: z.ZodLazy; - deltaY: z.ZodLazy; - duration: z.ZodOptional>; - origin: z.ZodOptional, z.ZodLiteral<"pointer">, z.ZodLazy; - element: z.ZodLazy; - handle: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - sharedId: string; - handle?: string | undefined; - }, { - sharedId: string; - handle?: string | undefined; - }>, z.ZodLazy>>>; - }, "strip", z.ZodTypeAny, { - type: "element"; - element: { - sharedId: string; - handle?: string | undefined; - } & Record; - }, { - type: "element"; - element: { - sharedId: string; - handle?: string | undefined; - } & Record; - }>>]>>>>; - }, "strip", z.ZodTypeAny, { - type: "scroll"; - x: number; - y: number; - deltaX: number; - deltaY: number; - duration?: number | undefined; - origin?: "viewport" | "pointer" | { - type: "element"; - element: { - sharedId: string; - handle?: string | undefined; - } & Record; - } | undefined; - }, { - type: "scroll"; - x: number; - y: number; - deltaX: number; - deltaY: number; - duration?: number | undefined; - origin?: "viewport" | "pointer" | { - type: "element"; - element: { - sharedId: string; - handle?: string | undefined; - } & Record; - } | undefined; - }>>; -} -export declare namespace Input { - const PointerCommonPropertiesSchema: z.ZodLazy>>; - height: z.ZodOptional>>; - pressure: z.ZodOptional>; - tangentialPressure: z.ZodOptional>; - twist: z.ZodOptional>; - altitudeAngle: z.ZodOptional>; - azimuthAngle: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - width?: number | undefined; - height?: number | undefined; - pressure?: number | undefined; - tangentialPressure?: number | undefined; - twist?: number | undefined; - altitudeAngle?: number | undefined; - azimuthAngle?: number | undefined; - }, { - width?: number | undefined; - height?: number | undefined; - pressure?: number | undefined; - tangentialPressure?: number | undefined; - twist?: number | undefined; - altitudeAngle?: number | undefined; - azimuthAngle?: number | undefined; - }>>; -} -export declare namespace Input { - const OriginSchema: z.ZodLazy, z.ZodLiteral<"pointer">, z.ZodLazy; - element: z.ZodLazy; - handle: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - sharedId: string; - handle?: string | undefined; - }, { - sharedId: string; - handle?: string | undefined; - }>, z.ZodLazy>>>; - }, "strip", z.ZodTypeAny, { - type: "element"; - element: { - sharedId: string; - handle?: string | undefined; - } & Record; - }, { - type: "element"; - element: { - sharedId: string; - handle?: string | undefined; - } & Record; - }>>]>>; -} -export declare namespace Input { - const ReleaseActionsSchema: z.ZodLazy; - params: z.ZodLazy; - }, "strip", z.ZodTypeAny, { - context: string; - }, { - context: string; - }>>; - }, "strip", z.ZodTypeAny, { - params: { - context: string; - }; - method: "input.releaseActions"; - }, { - params: { - context: string; - }; - method: "input.releaseActions"; - }>>; -} -export declare namespace Input { - const ReleaseActionsParametersSchema: z.ZodLazy; - }, "strip", z.ZodTypeAny, { - context: string; - }, { - context: string; - }>>; -} -export declare namespace Input { - const SetFilesSchema: z.ZodLazy; - params: z.ZodLazy; - element: z.ZodLazy; - handle: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - sharedId: string; - handle?: string | undefined; - }, { - sharedId: string; - handle?: string | undefined; - }>, z.ZodLazy>>>; - files: z.ZodArray; - }, "strip", z.ZodTypeAny, { - element: { - sharedId: string; - handle?: string | undefined; - } & Record; - context: string; - files: string[]; - }, { - element: { - sharedId: string; - handle?: string | undefined; - } & Record; - context: string; - files: string[]; - }>>; - }, "strip", z.ZodTypeAny, { - params: { - element: { - sharedId: string; - handle?: string | undefined; - } & Record; - context: string; - files: string[]; - }; - method: "input.setFiles"; - }, { - params: { - element: { - sharedId: string; - handle?: string | undefined; - } & Record; - context: string; - files: string[]; - }; - method: "input.setFiles"; - }>>; -} -export declare namespace Input { - const SetFilesParametersSchema: z.ZodLazy; - element: z.ZodLazy; - handle: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - sharedId: string; - handle?: string | undefined; - }, { - sharedId: string; - handle?: string | undefined; - }>, z.ZodLazy>>>; - files: z.ZodArray; - }, "strip", z.ZodTypeAny, { - element: { - sharedId: string; - handle?: string | undefined; - } & Record; - context: string; - files: string[]; - }, { - element: { - sharedId: string; - handle?: string | undefined; - } & Record; - context: string; - files: string[]; - }>>; -} diff --git a/node_modules/chromium-bidi/lib/cjs/protocol-parser/generated/webdriver-bidi.js b/node_modules/chromium-bidi/lib/cjs/protocol-parser/generated/webdriver-bidi.js deleted file mode 100644 index 7964658..0000000 --- a/node_modules/chromium-bidi/lib/cjs/protocol-parser/generated/webdriver-bidi.js +++ /dev/null @@ -1,2140 +0,0 @@ -"use strict"; -/** - * Copyright 2024 Google LLC. - * Copyright (c) Microsoft Corporation. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -var __importDefault = (this && this.__importDefault) || function (mod) { - return (mod && mod.__esModule) ? mod : { "default": mod }; -}; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.Input = exports.InputCommandSchema = exports.Log = exports.LogEventSchema = exports.Storage = exports.StorageResultSchema = exports.StorageCommandSchema = exports.Script = exports.ScriptResultSchema = exports.ScriptCommandSchema = exports.ScriptEventSchema = exports.Network = exports.NetworkResultSchema = exports.NetworkEventSchema = exports.NetworkCommandSchema = exports.BrowsingContext = exports.BrowsingContextResultSchema = exports.BrowsingContextEventSchema = exports.BrowsingContextCommandSchema = exports.Browser = exports.BrowserResultSchema = exports.BrowserCommandSchema = exports.SessionResultSchema = exports.Session = exports.SessionCommandSchema = exports.ErrorCodeSchema = exports.JsUintSchema = exports.JsIntSchema = exports.ExtensibleSchema = exports.EmptyResultSchema = exports.ErrorResponseSchema = exports.MessageSchema = exports.EmptyParamsSchema = exports.ResultDataSchema = exports.CommandDataSchema = exports.EventDataSchema = exports.CommandResponseSchema = exports.CommandSchema = exports.EventSchema = void 0; -/** - * THIS FILE IS AUTOGENERATED by cddlconv 0.1.3. - * Run `node tools/generate-bidi-types.mjs` to regenerate. - * @see https://github.com/w3c/webdriver-bidi/blob/master/index.bs - */ -// eslint-disable-next-line @typescript-eslint/ban-ts-comment -// @ts-nocheck Some types may be circular. -const zod_1 = __importDefault(require("zod")); -exports.EventSchema = zod_1.default.lazy(() => zod_1.default - .object({ - type: zod_1.default.literal('event'), -}) - .and(exports.EventDataSchema) - .and(exports.ExtensibleSchema)); -exports.CommandSchema = zod_1.default.lazy(() => zod_1.default - .object({ - id: exports.JsUintSchema, -}) - .and(exports.CommandDataSchema) - .and(exports.ExtensibleSchema)); -exports.CommandResponseSchema = zod_1.default.lazy(() => zod_1.default - .object({ - type: zod_1.default.literal('success'), - id: exports.JsUintSchema, - result: exports.ResultDataSchema, -}) - .and(exports.ExtensibleSchema)); -exports.EventDataSchema = zod_1.default.lazy(() => zod_1.default.union([ - exports.BrowsingContextEventSchema, - exports.LogEventSchema, - exports.NetworkEventSchema, - exports.ScriptEventSchema, -])); -exports.CommandDataSchema = zod_1.default.lazy(() => zod_1.default.union([ - exports.BrowserCommandSchema, - exports.BrowsingContextCommandSchema, - exports.InputCommandSchema, - exports.NetworkCommandSchema, - exports.ScriptCommandSchema, - exports.SessionCommandSchema, - exports.StorageCommandSchema, -])); -exports.ResultDataSchema = zod_1.default.lazy(() => zod_1.default.union([ - exports.BrowsingContextResultSchema, - exports.EmptyResultSchema, - exports.NetworkResultSchema, - exports.ScriptResultSchema, - exports.SessionResultSchema, - exports.StorageResultSchema, -])); -exports.EmptyParamsSchema = zod_1.default.lazy(() => exports.ExtensibleSchema); -exports.MessageSchema = zod_1.default.lazy(() => zod_1.default.union([exports.CommandResponseSchema, exports.ErrorResponseSchema, exports.EventSchema])); -exports.ErrorResponseSchema = zod_1.default.lazy(() => zod_1.default - .object({ - type: zod_1.default.literal('error'), - id: zod_1.default.union([exports.JsUintSchema, zod_1.default.null()]), - error: exports.ErrorCodeSchema, - message: zod_1.default.string(), - stacktrace: zod_1.default.string().optional(), -}) - .and(exports.ExtensibleSchema)); -exports.EmptyResultSchema = zod_1.default.lazy(() => exports.ExtensibleSchema); -exports.ExtensibleSchema = zod_1.default.lazy(() => zod_1.default.record(zod_1.default.string(), zod_1.default.any())); -exports.JsIntSchema = zod_1.default.lazy(() => zod_1.default.number().int().gte(-9007199254740991).lte(9007199254740991)); -exports.JsUintSchema = zod_1.default.lazy(() => zod_1.default.number().int().nonnegative().gte(0).lte(9007199254740991)); -exports.ErrorCodeSchema = zod_1.default.lazy(() => zod_1.default.enum([ - 'invalid argument', - 'invalid session id', - 'move target out of bounds', - 'no such alert', - 'no such element', - 'no such frame', - 'no such handle', - 'no such history entry', - 'no such intercept', - 'no such node', - 'no such request', - 'no such script', - 'no such storage partition', - 'no such user context', - 'session not created', - 'unable to capture screen', - 'unable to close browser', - 'unable to set cookie', - 'unable to set file input', - 'underspecified storage partition', - 'unknown command', - 'unknown error', - 'unsupported operation', -])); -exports.SessionCommandSchema = zod_1.default.lazy(() => zod_1.default.union([ - Session.EndSchema, - Session.NewSchema, - Session.StatusSchema, - Session.SubscribeSchema, - Session.UnsubscribeSchema, -])); -var Session; -(function (Session) { - Session.ProxyConfigurationSchema = zod_1.default.lazy(() => zod_1.default.union([ - Session.AutodetectProxyConfigurationSchema, - Session.DirectProxyConfigurationSchema, - Session.ManualProxyConfigurationSchema, - Session.PacProxyConfigurationSchema, - Session.SystemProxyConfigurationSchema, - zod_1.default.object({}), - ])); -})(Session || (exports.Session = Session = {})); -exports.SessionResultSchema = zod_1.default.lazy(() => zod_1.default.union([Session.NewResultSchema, Session.StatusResultSchema])); -(function (Session) { - Session.CapabilitiesRequestSchema = zod_1.default.lazy(() => zod_1.default.object({ - alwaysMatch: Session.CapabilityRequestSchema.optional(), - firstMatch: zod_1.default.array(Session.CapabilityRequestSchema).optional(), - })); -})(Session || (exports.Session = Session = {})); -(function (Session) { - Session.CapabilityRequestSchema = zod_1.default.lazy(() => zod_1.default - .object({ - acceptInsecureCerts: zod_1.default.boolean().optional(), - browserName: zod_1.default.string().optional(), - browserVersion: zod_1.default.string().optional(), - platformName: zod_1.default.string().optional(), - proxy: Session.ProxyConfigurationSchema.optional(), - webSocketUrl: zod_1.default.boolean().optional(), - }) - .and(exports.ExtensibleSchema)); -})(Session || (exports.Session = Session = {})); -(function (Session) { - Session.AutodetectProxyConfigurationSchema = zod_1.default.lazy(() => zod_1.default - .object({ - proxyType: zod_1.default.literal('autodetect'), - }) - .and(exports.ExtensibleSchema)); -})(Session || (exports.Session = Session = {})); -(function (Session) { - Session.DirectProxyConfigurationSchema = zod_1.default.lazy(() => zod_1.default - .object({ - proxyType: zod_1.default.literal('direct'), - }) - .and(exports.ExtensibleSchema)); -})(Session || (exports.Session = Session = {})); -(function (Session) { - Session.ManualProxyConfigurationSchema = zod_1.default.lazy(() => zod_1.default - .object({ - proxyType: zod_1.default.literal('manual'), - ftpProxy: zod_1.default.string().optional(), - httpProxy: zod_1.default.string().optional(), - sslProxy: zod_1.default.string().optional(), - }) - .and(Session.SocksProxyConfigurationSchema.or(zod_1.default.object({}))) - .and(zod_1.default.object({ - noProxy: zod_1.default.array(zod_1.default.string()).optional(), - })) - .and(exports.ExtensibleSchema)); -})(Session || (exports.Session = Session = {})); -(function (Session) { - Session.SocksProxyConfigurationSchema = zod_1.default.lazy(() => zod_1.default.object({ - socksProxy: zod_1.default.string(), - socksVersion: zod_1.default.number().int().nonnegative().gte(0).lte(255), - })); -})(Session || (exports.Session = Session = {})); -(function (Session) { - Session.PacProxyConfigurationSchema = zod_1.default.lazy(() => zod_1.default - .object({ - proxyType: zod_1.default.literal('pac'), - proxyAutoconfigUrl: zod_1.default.string(), - }) - .and(exports.ExtensibleSchema)); -})(Session || (exports.Session = Session = {})); -(function (Session) { - Session.SystemProxyConfigurationSchema = zod_1.default.lazy(() => zod_1.default - .object({ - proxyType: zod_1.default.literal('system'), - }) - .and(exports.ExtensibleSchema)); -})(Session || (exports.Session = Session = {})); -(function (Session) { - Session.SubscriptionRequestSchema = zod_1.default.lazy(() => zod_1.default.object({ - events: zod_1.default.array(zod_1.default.string()), - contexts: zod_1.default.array(BrowsingContext.BrowsingContextSchema).optional(), - })); -})(Session || (exports.Session = Session = {})); -(function (Session) { - Session.StatusSchema = zod_1.default.lazy(() => zod_1.default.object({ - method: zod_1.default.literal('session.status'), - params: exports.EmptyParamsSchema, - })); -})(Session || (exports.Session = Session = {})); -(function (Session) { - Session.StatusResultSchema = zod_1.default.lazy(() => zod_1.default.object({ - ready: zod_1.default.boolean(), - message: zod_1.default.string(), - })); -})(Session || (exports.Session = Session = {})); -(function (Session) { - Session.NewSchema = zod_1.default.lazy(() => zod_1.default.object({ - method: zod_1.default.literal('session.new'), - params: Session.NewParametersSchema, - })); -})(Session || (exports.Session = Session = {})); -(function (Session) { - Session.NewParametersSchema = zod_1.default.lazy(() => zod_1.default.object({ - capabilities: Session.CapabilitiesRequestSchema, - })); -})(Session || (exports.Session = Session = {})); -(function (Session) { - Session.NewResultSchema = zod_1.default.lazy(() => zod_1.default.object({ - sessionId: zod_1.default.string(), - capabilities: zod_1.default - .object({ - acceptInsecureCerts: zod_1.default.boolean(), - browserName: zod_1.default.string(), - browserVersion: zod_1.default.string(), - platformName: zod_1.default.string(), - setWindowRect: zod_1.default.boolean(), - proxy: Session.ProxyConfigurationSchema.optional(), - webSocketUrl: zod_1.default.string().optional(), - }) - .and(exports.ExtensibleSchema), - })); -})(Session || (exports.Session = Session = {})); -(function (Session) { - Session.EndSchema = zod_1.default.lazy(() => zod_1.default.object({ - method: zod_1.default.literal('session.end'), - params: exports.EmptyParamsSchema, - })); -})(Session || (exports.Session = Session = {})); -(function (Session) { - Session.SubscribeSchema = zod_1.default.lazy(() => zod_1.default.object({ - method: zod_1.default.literal('session.subscribe'), - params: Session.SubscriptionRequestSchema, - })); -})(Session || (exports.Session = Session = {})); -(function (Session) { - Session.UnsubscribeSchema = zod_1.default.lazy(() => zod_1.default.object({ - method: zod_1.default.literal('session.unsubscribe'), - params: Session.SubscriptionRequestSchema, - })); -})(Session || (exports.Session = Session = {})); -exports.BrowserCommandSchema = zod_1.default.lazy(() => zod_1.default.union([ - Browser.CloseSchema, - Browser.CreateUserContextSchema, - Browser.GetUserContextsSchema, - Browser.RemoveUserContextSchema, -])); -exports.BrowserResultSchema = zod_1.default.lazy(() => zod_1.default.union([ - Browser.CreateUserContextResultSchema, - Browser.GetUserContextsResultSchema, -])); -var Browser; -(function (Browser) { - Browser.UserContextSchema = zod_1.default.lazy(() => zod_1.default.string()); -})(Browser || (exports.Browser = Browser = {})); -(function (Browser) { - Browser.UserContextInfoSchema = zod_1.default.lazy(() => zod_1.default.object({ - userContext: Browser.UserContextSchema, - })); -})(Browser || (exports.Browser = Browser = {})); -(function (Browser) { - Browser.CloseSchema = zod_1.default.lazy(() => zod_1.default.object({ - method: zod_1.default.literal('browser.close'), - params: exports.EmptyParamsSchema, - })); -})(Browser || (exports.Browser = Browser = {})); -(function (Browser) { - Browser.CreateUserContextSchema = zod_1.default.lazy(() => zod_1.default.object({ - method: zod_1.default.literal('browser.createUserContext'), - params: exports.EmptyParamsSchema, - })); -})(Browser || (exports.Browser = Browser = {})); -(function (Browser) { - Browser.CreateUserContextResultSchema = zod_1.default.lazy(() => Browser.UserContextInfoSchema); -})(Browser || (exports.Browser = Browser = {})); -(function (Browser) { - Browser.GetUserContextsSchema = zod_1.default.lazy(() => zod_1.default.object({ - method: zod_1.default.literal('browser.getUserContexts'), - params: exports.EmptyParamsSchema, - })); -})(Browser || (exports.Browser = Browser = {})); -(function (Browser) { - Browser.GetUserContextsResultSchema = zod_1.default.lazy(() => zod_1.default.object({ - userContexts: zod_1.default.array(Browser.UserContextInfoSchema).min(1), - })); -})(Browser || (exports.Browser = Browser = {})); -(function (Browser) { - Browser.RemoveUserContextSchema = zod_1.default.lazy(() => zod_1.default.object({ - method: zod_1.default.literal('browser.removeUserContext'), - params: Browser.RemoveUserContextParametersSchema, - })); -})(Browser || (exports.Browser = Browser = {})); -(function (Browser) { - Browser.RemoveUserContextParametersSchema = zod_1.default.lazy(() => zod_1.default.object({ - userContext: Browser.UserContextSchema, - })); -})(Browser || (exports.Browser = Browser = {})); -exports.BrowsingContextCommandSchema = zod_1.default.lazy(() => zod_1.default.union([ - BrowsingContext.ActivateSchema, - BrowsingContext.CaptureScreenshotSchema, - BrowsingContext.CloseSchema, - BrowsingContext.CreateSchema, - BrowsingContext.GetTreeSchema, - BrowsingContext.HandleUserPromptSchema, - BrowsingContext.LocateNodesSchema, - BrowsingContext.NavigateSchema, - BrowsingContext.PrintSchema, - BrowsingContext.ReloadSchema, - BrowsingContext.SetViewportSchema, - BrowsingContext.TraverseHistorySchema, -])); -exports.BrowsingContextEventSchema = zod_1.default.lazy(() => zod_1.default.union([ - BrowsingContext.ContextCreatedSchema, - BrowsingContext.ContextDestroyedSchema, - BrowsingContext.DomContentLoadedSchema, - BrowsingContext.DownloadWillBeginSchema, - BrowsingContext.FragmentNavigatedSchema, - BrowsingContext.LoadSchema, - BrowsingContext.NavigationAbortedSchema, - BrowsingContext.NavigationFailedSchema, - BrowsingContext.NavigationStartedSchema, - BrowsingContext.UserPromptClosedSchema, - BrowsingContext.UserPromptOpenedSchema, -])); -exports.BrowsingContextResultSchema = zod_1.default.lazy(() => zod_1.default.union([ - BrowsingContext.CaptureScreenshotResultSchema, - BrowsingContext.CreateResultSchema, - BrowsingContext.GetTreeResultSchema, - BrowsingContext.LocateNodesResultSchema, - BrowsingContext.NavigateResultSchema, - BrowsingContext.PrintResultSchema, - BrowsingContext.TraverseHistoryResultSchema, -])); -var BrowsingContext; -(function (BrowsingContext) { - BrowsingContext.BrowsingContextSchema = zod_1.default.lazy(() => zod_1.default.string()); -})(BrowsingContext || (exports.BrowsingContext = BrowsingContext = {})); -(function (BrowsingContext) { - BrowsingContext.InfoListSchema = zod_1.default.lazy(() => zod_1.default.array(BrowsingContext.InfoSchema)); -})(BrowsingContext || (exports.BrowsingContext = BrowsingContext = {})); -(function (BrowsingContext) { - BrowsingContext.InfoSchema = zod_1.default.lazy(() => zod_1.default.object({ - children: zod_1.default.union([BrowsingContext.InfoListSchema, zod_1.default.null()]), - context: BrowsingContext.BrowsingContextSchema, - url: zod_1.default.string(), - userContext: Browser.UserContextSchema, - parent: zod_1.default - .union([BrowsingContext.BrowsingContextSchema, zod_1.default.null()]) - .optional(), - })); -})(BrowsingContext || (exports.BrowsingContext = BrowsingContext = {})); -(function (BrowsingContext) { - BrowsingContext.LocatorSchema = zod_1.default.lazy(() => zod_1.default.union([ - BrowsingContext.CssLocatorSchema, - BrowsingContext.InnerTextLocatorSchema, - BrowsingContext.XPathLocatorSchema, - ])); -})(BrowsingContext || (exports.BrowsingContext = BrowsingContext = {})); -(function (BrowsingContext) { - BrowsingContext.CssLocatorSchema = zod_1.default.lazy(() => zod_1.default.object({ - type: zod_1.default.literal('css'), - value: zod_1.default.string(), - })); -})(BrowsingContext || (exports.BrowsingContext = BrowsingContext = {})); -(function (BrowsingContext) { - BrowsingContext.InnerTextLocatorSchema = zod_1.default.lazy(() => zod_1.default.object({ - type: zod_1.default.literal('innerText'), - value: zod_1.default.string(), - ignoreCase: zod_1.default.boolean().optional(), - matchType: zod_1.default.enum(['full', 'partial']).optional(), - maxDepth: exports.JsUintSchema.optional(), - })); -})(BrowsingContext || (exports.BrowsingContext = BrowsingContext = {})); -(function (BrowsingContext) { - BrowsingContext.XPathLocatorSchema = zod_1.default.lazy(() => zod_1.default.object({ - type: zod_1.default.literal('xpath'), - value: zod_1.default.string(), - })); -})(BrowsingContext || (exports.BrowsingContext = BrowsingContext = {})); -(function (BrowsingContext) { - BrowsingContext.NavigationSchema = zod_1.default.lazy(() => zod_1.default.string()); -})(BrowsingContext || (exports.BrowsingContext = BrowsingContext = {})); -(function (BrowsingContext) { - BrowsingContext.NavigationInfoSchema = zod_1.default.lazy(() => zod_1.default.object({ - context: BrowsingContext.BrowsingContextSchema, - navigation: zod_1.default.union([BrowsingContext.NavigationSchema, zod_1.default.null()]), - timestamp: exports.JsUintSchema, - url: zod_1.default.string(), - })); -})(BrowsingContext || (exports.BrowsingContext = BrowsingContext = {})); -(function (BrowsingContext) { - BrowsingContext.ReadinessStateSchema = zod_1.default.lazy(() => zod_1.default.enum(['none', 'interactive', 'complete'])); -})(BrowsingContext || (exports.BrowsingContext = BrowsingContext = {})); -(function (BrowsingContext) { - BrowsingContext.ActivateSchema = zod_1.default.lazy(() => zod_1.default.object({ - method: zod_1.default.literal('browsingContext.activate'), - params: BrowsingContext.ActivateParametersSchema, - })); -})(BrowsingContext || (exports.BrowsingContext = BrowsingContext = {})); -(function (BrowsingContext) { - BrowsingContext.ActivateParametersSchema = zod_1.default.lazy(() => zod_1.default.object({ - context: BrowsingContext.BrowsingContextSchema, - })); -})(BrowsingContext || (exports.BrowsingContext = BrowsingContext = {})); -(function (BrowsingContext) { - BrowsingContext.CaptureScreenshotParametersSchema = zod_1.default.lazy(() => zod_1.default.object({ - context: BrowsingContext.BrowsingContextSchema, - origin: zod_1.default.enum(['viewport', 'document']).default('viewport').optional(), - format: BrowsingContext.ImageFormatSchema.optional(), - clip: BrowsingContext.ClipRectangleSchema.optional(), - })); -})(BrowsingContext || (exports.BrowsingContext = BrowsingContext = {})); -(function (BrowsingContext) { - BrowsingContext.CaptureScreenshotSchema = zod_1.default.lazy(() => zod_1.default.object({ - method: zod_1.default.literal('browsingContext.captureScreenshot'), - params: BrowsingContext.CaptureScreenshotParametersSchema, - })); -})(BrowsingContext || (exports.BrowsingContext = BrowsingContext = {})); -(function (BrowsingContext) { - BrowsingContext.ImageFormatSchema = zod_1.default.lazy(() => zod_1.default.object({ - type: zod_1.default.string(), - quality: zod_1.default.number().gte(0).lte(1).optional(), - })); -})(BrowsingContext || (exports.BrowsingContext = BrowsingContext = {})); -(function (BrowsingContext) { - BrowsingContext.ClipRectangleSchema = zod_1.default.lazy(() => zod_1.default.union([ - BrowsingContext.BoxClipRectangleSchema, - BrowsingContext.ElementClipRectangleSchema, - ])); -})(BrowsingContext || (exports.BrowsingContext = BrowsingContext = {})); -(function (BrowsingContext) { - BrowsingContext.ElementClipRectangleSchema = zod_1.default.lazy(() => zod_1.default.object({ - type: zod_1.default.literal('element'), - element: Script.SharedReferenceSchema, - })); -})(BrowsingContext || (exports.BrowsingContext = BrowsingContext = {})); -(function (BrowsingContext) { - BrowsingContext.BoxClipRectangleSchema = zod_1.default.lazy(() => zod_1.default.object({ - type: zod_1.default.literal('box'), - x: zod_1.default.number(), - y: zod_1.default.number(), - width: zod_1.default.number(), - height: zod_1.default.number(), - })); -})(BrowsingContext || (exports.BrowsingContext = BrowsingContext = {})); -(function (BrowsingContext) { - BrowsingContext.CaptureScreenshotResultSchema = zod_1.default.lazy(() => zod_1.default.object({ - data: zod_1.default.string(), - })); -})(BrowsingContext || (exports.BrowsingContext = BrowsingContext = {})); -(function (BrowsingContext) { - BrowsingContext.CloseSchema = zod_1.default.lazy(() => zod_1.default.object({ - method: zod_1.default.literal('browsingContext.close'), - params: BrowsingContext.CloseParametersSchema, - })); -})(BrowsingContext || (exports.BrowsingContext = BrowsingContext = {})); -(function (BrowsingContext) { - BrowsingContext.CloseParametersSchema = zod_1.default.lazy(() => zod_1.default.object({ - context: BrowsingContext.BrowsingContextSchema, - promptUnload: zod_1.default.boolean().default(false).optional(), - })); -})(BrowsingContext || (exports.BrowsingContext = BrowsingContext = {})); -(function (BrowsingContext) { - BrowsingContext.CreateSchema = zod_1.default.lazy(() => zod_1.default.object({ - method: zod_1.default.literal('browsingContext.create'), - params: BrowsingContext.CreateParametersSchema, - })); -})(BrowsingContext || (exports.BrowsingContext = BrowsingContext = {})); -(function (BrowsingContext) { - BrowsingContext.CreateTypeSchema = zod_1.default.lazy(() => zod_1.default.enum(['tab', 'window'])); -})(BrowsingContext || (exports.BrowsingContext = BrowsingContext = {})); -(function (BrowsingContext) { - BrowsingContext.CreateParametersSchema = zod_1.default.lazy(() => zod_1.default.object({ - type: BrowsingContext.CreateTypeSchema, - referenceContext: BrowsingContext.BrowsingContextSchema.optional(), - background: zod_1.default.boolean().default(false).optional(), - userContext: Browser.UserContextSchema.optional(), - })); -})(BrowsingContext || (exports.BrowsingContext = BrowsingContext = {})); -(function (BrowsingContext) { - BrowsingContext.CreateResultSchema = zod_1.default.lazy(() => zod_1.default.object({ - context: BrowsingContext.BrowsingContextSchema, - })); -})(BrowsingContext || (exports.BrowsingContext = BrowsingContext = {})); -(function (BrowsingContext) { - BrowsingContext.GetTreeSchema = zod_1.default.lazy(() => zod_1.default.object({ - method: zod_1.default.literal('browsingContext.getTree'), - params: BrowsingContext.GetTreeParametersSchema, - })); -})(BrowsingContext || (exports.BrowsingContext = BrowsingContext = {})); -(function (BrowsingContext) { - BrowsingContext.GetTreeParametersSchema = zod_1.default.lazy(() => zod_1.default.object({ - maxDepth: exports.JsUintSchema.optional(), - root: BrowsingContext.BrowsingContextSchema.optional(), - })); -})(BrowsingContext || (exports.BrowsingContext = BrowsingContext = {})); -(function (BrowsingContext) { - BrowsingContext.GetTreeResultSchema = zod_1.default.lazy(() => zod_1.default.object({ - contexts: BrowsingContext.InfoListSchema, - })); -})(BrowsingContext || (exports.BrowsingContext = BrowsingContext = {})); -(function (BrowsingContext) { - BrowsingContext.HandleUserPromptSchema = zod_1.default.lazy(() => zod_1.default.object({ - method: zod_1.default.literal('browsingContext.handleUserPrompt'), - params: BrowsingContext.HandleUserPromptParametersSchema, - })); -})(BrowsingContext || (exports.BrowsingContext = BrowsingContext = {})); -(function (BrowsingContext) { - BrowsingContext.HandleUserPromptParametersSchema = zod_1.default.lazy(() => zod_1.default.object({ - context: BrowsingContext.BrowsingContextSchema, - accept: zod_1.default.boolean().optional(), - userText: zod_1.default.string().optional(), - })); -})(BrowsingContext || (exports.BrowsingContext = BrowsingContext = {})); -(function (BrowsingContext) { - BrowsingContext.LocateNodesParametersSchema = zod_1.default.lazy(() => zod_1.default.object({ - context: BrowsingContext.BrowsingContextSchema, - locator: BrowsingContext.LocatorSchema, - maxNodeCount: exports.JsUintSchema.gte(1).optional(), - ownership: Script.ResultOwnershipSchema.optional(), - sandbox: zod_1.default.string().optional(), - serializationOptions: Script.SerializationOptionsSchema.optional(), - startNodes: zod_1.default.array(Script.SharedReferenceSchema).min(1).optional(), - })); -})(BrowsingContext || (exports.BrowsingContext = BrowsingContext = {})); -(function (BrowsingContext) { - BrowsingContext.LocateNodesSchema = zod_1.default.lazy(() => zod_1.default.object({ - method: zod_1.default.literal('browsingContext.locateNodes'), - params: BrowsingContext.LocateNodesParametersSchema, - })); -})(BrowsingContext || (exports.BrowsingContext = BrowsingContext = {})); -(function (BrowsingContext) { - BrowsingContext.LocateNodesResultSchema = zod_1.default.lazy(() => zod_1.default.object({ - nodes: zod_1.default.array(Script.NodeRemoteValueSchema), - })); -})(BrowsingContext || (exports.BrowsingContext = BrowsingContext = {})); -(function (BrowsingContext) { - BrowsingContext.NavigateSchema = zod_1.default.lazy(() => zod_1.default.object({ - method: zod_1.default.literal('browsingContext.navigate'), - params: BrowsingContext.NavigateParametersSchema, - })); -})(BrowsingContext || (exports.BrowsingContext = BrowsingContext = {})); -(function (BrowsingContext) { - BrowsingContext.NavigateParametersSchema = zod_1.default.lazy(() => zod_1.default.object({ - context: BrowsingContext.BrowsingContextSchema, - url: zod_1.default.string(), - wait: BrowsingContext.ReadinessStateSchema.optional(), - })); -})(BrowsingContext || (exports.BrowsingContext = BrowsingContext = {})); -(function (BrowsingContext) { - BrowsingContext.NavigateResultSchema = zod_1.default.lazy(() => zod_1.default.object({ - navigation: zod_1.default.union([BrowsingContext.NavigationSchema, zod_1.default.null()]), - url: zod_1.default.string(), - })); -})(BrowsingContext || (exports.BrowsingContext = BrowsingContext = {})); -(function (BrowsingContext) { - BrowsingContext.PrintSchema = zod_1.default.lazy(() => zod_1.default.object({ - method: zod_1.default.literal('browsingContext.print'), - params: BrowsingContext.PrintParametersSchema, - })); -})(BrowsingContext || (exports.BrowsingContext = BrowsingContext = {})); -(function (BrowsingContext) { - BrowsingContext.PrintParametersSchema = zod_1.default.lazy(() => zod_1.default.object({ - context: BrowsingContext.BrowsingContextSchema, - background: zod_1.default.boolean().default(false).optional(), - margin: BrowsingContext.PrintMarginParametersSchema.optional(), - orientation: zod_1.default - .enum(['portrait', 'landscape']) - .default('portrait') - .optional(), - page: BrowsingContext.PrintPageParametersSchema.optional(), - pageRanges: zod_1.default.array(zod_1.default.union([exports.JsUintSchema, zod_1.default.string()])).optional(), - scale: zod_1.default.number().gte(0.1).lte(2).default(1).optional(), - shrinkToFit: zod_1.default.boolean().default(true).optional(), - })); -})(BrowsingContext || (exports.BrowsingContext = BrowsingContext = {})); -(function (BrowsingContext) { - BrowsingContext.PrintMarginParametersSchema = zod_1.default.lazy(() => zod_1.default.object({ - bottom: zod_1.default.number().gte(0).default(1).optional(), - left: zod_1.default.number().gte(0).default(1).optional(), - right: zod_1.default.number().gte(0).default(1).optional(), - top: zod_1.default.number().gte(0).default(1).optional(), - })); -})(BrowsingContext || (exports.BrowsingContext = BrowsingContext = {})); -(function (BrowsingContext) { - BrowsingContext.PrintPageParametersSchema = zod_1.default.lazy(() => zod_1.default.object({ - height: zod_1.default.number().gte(0.0352).default(27.94).optional(), - width: zod_1.default.number().gte(0.0352).default(21.59).optional(), - })); -})(BrowsingContext || (exports.BrowsingContext = BrowsingContext = {})); -(function (BrowsingContext) { - BrowsingContext.PrintResultSchema = zod_1.default.lazy(() => zod_1.default.object({ - data: zod_1.default.string(), - })); -})(BrowsingContext || (exports.BrowsingContext = BrowsingContext = {})); -(function (BrowsingContext) { - BrowsingContext.ReloadSchema = zod_1.default.lazy(() => zod_1.default.object({ - method: zod_1.default.literal('browsingContext.reload'), - params: BrowsingContext.ReloadParametersSchema, - })); -})(BrowsingContext || (exports.BrowsingContext = BrowsingContext = {})); -(function (BrowsingContext) { - BrowsingContext.ReloadParametersSchema = zod_1.default.lazy(() => zod_1.default.object({ - context: BrowsingContext.BrowsingContextSchema, - ignoreCache: zod_1.default.boolean().optional(), - wait: BrowsingContext.ReadinessStateSchema.optional(), - })); -})(BrowsingContext || (exports.BrowsingContext = BrowsingContext = {})); -(function (BrowsingContext) { - BrowsingContext.SetViewportSchema = zod_1.default.lazy(() => zod_1.default.object({ - method: zod_1.default.literal('browsingContext.setViewport'), - params: BrowsingContext.SetViewportParametersSchema, - })); -})(BrowsingContext || (exports.BrowsingContext = BrowsingContext = {})); -(function (BrowsingContext) { - BrowsingContext.SetViewportParametersSchema = zod_1.default.lazy(() => zod_1.default.object({ - context: BrowsingContext.BrowsingContextSchema, - viewport: zod_1.default.union([BrowsingContext.ViewportSchema, zod_1.default.null()]).optional(), - devicePixelRatio: zod_1.default.union([zod_1.default.number().gt(0), zod_1.default.null()]).optional(), - })); -})(BrowsingContext || (exports.BrowsingContext = BrowsingContext = {})); -(function (BrowsingContext) { - BrowsingContext.ViewportSchema = zod_1.default.lazy(() => zod_1.default.object({ - width: exports.JsUintSchema, - height: exports.JsUintSchema, - })); -})(BrowsingContext || (exports.BrowsingContext = BrowsingContext = {})); -(function (BrowsingContext) { - BrowsingContext.TraverseHistorySchema = zod_1.default.lazy(() => zod_1.default.object({ - method: zod_1.default.literal('browsingContext.traverseHistory'), - params: BrowsingContext.TraverseHistoryParametersSchema, - })); -})(BrowsingContext || (exports.BrowsingContext = BrowsingContext = {})); -(function (BrowsingContext) { - BrowsingContext.TraverseHistoryParametersSchema = zod_1.default.lazy(() => zod_1.default.object({ - context: BrowsingContext.BrowsingContextSchema, - delta: exports.JsIntSchema, - })); -})(BrowsingContext || (exports.BrowsingContext = BrowsingContext = {})); -(function (BrowsingContext) { - BrowsingContext.TraverseHistoryResultSchema = zod_1.default.lazy(() => zod_1.default.object({})); -})(BrowsingContext || (exports.BrowsingContext = BrowsingContext = {})); -(function (BrowsingContext) { - BrowsingContext.ContextCreatedSchema = zod_1.default.lazy(() => zod_1.default.object({ - method: zod_1.default.literal('browsingContext.contextCreated'), - params: BrowsingContext.InfoSchema, - })); -})(BrowsingContext || (exports.BrowsingContext = BrowsingContext = {})); -(function (BrowsingContext) { - BrowsingContext.ContextDestroyedSchema = zod_1.default.lazy(() => zod_1.default.object({ - method: zod_1.default.literal('browsingContext.contextDestroyed'), - params: BrowsingContext.InfoSchema, - })); -})(BrowsingContext || (exports.BrowsingContext = BrowsingContext = {})); -(function (BrowsingContext) { - BrowsingContext.NavigationStartedSchema = zod_1.default.lazy(() => zod_1.default.object({ - method: zod_1.default.literal('browsingContext.navigationStarted'), - params: BrowsingContext.NavigationInfoSchema, - })); -})(BrowsingContext || (exports.BrowsingContext = BrowsingContext = {})); -(function (BrowsingContext) { - BrowsingContext.FragmentNavigatedSchema = zod_1.default.lazy(() => zod_1.default.object({ - method: zod_1.default.literal('browsingContext.fragmentNavigated'), - params: BrowsingContext.NavigationInfoSchema, - })); -})(BrowsingContext || (exports.BrowsingContext = BrowsingContext = {})); -(function (BrowsingContext) { - BrowsingContext.DomContentLoadedSchema = zod_1.default.lazy(() => zod_1.default.object({ - method: zod_1.default.literal('browsingContext.domContentLoaded'), - params: BrowsingContext.NavigationInfoSchema, - })); -})(BrowsingContext || (exports.BrowsingContext = BrowsingContext = {})); -(function (BrowsingContext) { - BrowsingContext.LoadSchema = zod_1.default.lazy(() => zod_1.default.object({ - method: zod_1.default.literal('browsingContext.load'), - params: BrowsingContext.NavigationInfoSchema, - })); -})(BrowsingContext || (exports.BrowsingContext = BrowsingContext = {})); -(function (BrowsingContext) { - BrowsingContext.DownloadWillBeginSchema = zod_1.default.lazy(() => zod_1.default.object({ - method: zod_1.default.literal('browsingContext.downloadWillBegin'), - params: BrowsingContext.NavigationInfoSchema, - })); -})(BrowsingContext || (exports.BrowsingContext = BrowsingContext = {})); -(function (BrowsingContext) { - BrowsingContext.NavigationAbortedSchema = zod_1.default.lazy(() => zod_1.default.object({ - method: zod_1.default.literal('browsingContext.navigationAborted'), - params: BrowsingContext.NavigationInfoSchema, - })); -})(BrowsingContext || (exports.BrowsingContext = BrowsingContext = {})); -(function (BrowsingContext) { - BrowsingContext.NavigationFailedSchema = zod_1.default.lazy(() => zod_1.default.object({ - method: zod_1.default.literal('browsingContext.navigationFailed'), - params: BrowsingContext.NavigationInfoSchema, - })); -})(BrowsingContext || (exports.BrowsingContext = BrowsingContext = {})); -(function (BrowsingContext) { - BrowsingContext.UserPromptClosedSchema = zod_1.default.lazy(() => zod_1.default.object({ - method: zod_1.default.literal('browsingContext.userPromptClosed'), - params: BrowsingContext.UserPromptClosedParametersSchema, - })); -})(BrowsingContext || (exports.BrowsingContext = BrowsingContext = {})); -(function (BrowsingContext) { - BrowsingContext.UserPromptClosedParametersSchema = zod_1.default.lazy(() => zod_1.default.object({ - context: BrowsingContext.BrowsingContextSchema, - accepted: zod_1.default.boolean(), - userText: zod_1.default.string().optional(), - })); -})(BrowsingContext || (exports.BrowsingContext = BrowsingContext = {})); -(function (BrowsingContext) { - BrowsingContext.UserPromptOpenedSchema = zod_1.default.lazy(() => zod_1.default.object({ - method: zod_1.default.literal('browsingContext.userPromptOpened'), - params: BrowsingContext.UserPromptOpenedParametersSchema, - })); -})(BrowsingContext || (exports.BrowsingContext = BrowsingContext = {})); -(function (BrowsingContext) { - BrowsingContext.UserPromptOpenedParametersSchema = zod_1.default.lazy(() => zod_1.default.object({ - context: BrowsingContext.BrowsingContextSchema, - type: zod_1.default.enum(['alert', 'confirm', 'prompt', 'beforeunload']), - message: zod_1.default.string(), - defaultValue: zod_1.default.string().optional(), - })); -})(BrowsingContext || (exports.BrowsingContext = BrowsingContext = {})); -exports.NetworkCommandSchema = zod_1.default.lazy(() => zod_1.default.union([ - Network.AddInterceptSchema, - Network.ContinueRequestSchema, - Network.ContinueResponseSchema, - Network.ContinueWithAuthSchema, - Network.FailRequestSchema, - Network.ProvideResponseSchema, - Network.RemoveInterceptSchema, -])); -exports.NetworkEventSchema = zod_1.default.lazy(() => zod_1.default.union([ - Network.AuthRequiredSchema, - Network.BeforeRequestSentSchema, - Network.FetchErrorSchema, - Network.ResponseCompletedSchema, - Network.ResponseStartedSchema, -])); -exports.NetworkResultSchema = zod_1.default.lazy(() => Network.AddInterceptResultSchema); -var Network; -(function (Network) { - Network.AuthChallengeSchema = zod_1.default.lazy(() => zod_1.default.object({ - scheme: zod_1.default.string(), - realm: zod_1.default.string(), - })); -})(Network || (exports.Network = Network = {})); -(function (Network) { - Network.AuthCredentialsSchema = zod_1.default.lazy(() => zod_1.default.object({ - type: zod_1.default.literal('password'), - username: zod_1.default.string(), - password: zod_1.default.string(), - })); -})(Network || (exports.Network = Network = {})); -(function (Network) { - Network.BaseParametersSchema = zod_1.default.lazy(() => zod_1.default.object({ - context: zod_1.default.union([BrowsingContext.BrowsingContextSchema, zod_1.default.null()]), - isBlocked: zod_1.default.boolean(), - navigation: zod_1.default.union([BrowsingContext.NavigationSchema, zod_1.default.null()]), - redirectCount: exports.JsUintSchema, - request: Network.RequestDataSchema, - timestamp: exports.JsUintSchema, - intercepts: zod_1.default.array(Network.InterceptSchema).min(1).optional(), - })); -})(Network || (exports.Network = Network = {})); -(function (Network) { - Network.BytesValueSchema = zod_1.default.lazy(() => zod_1.default.union([Network.StringValueSchema, Network.Base64ValueSchema])); -})(Network || (exports.Network = Network = {})); -(function (Network) { - Network.StringValueSchema = zod_1.default.lazy(() => zod_1.default.object({ - type: zod_1.default.literal('string'), - value: zod_1.default.string(), - })); -})(Network || (exports.Network = Network = {})); -(function (Network) { - Network.Base64ValueSchema = zod_1.default.lazy(() => zod_1.default.object({ - type: zod_1.default.literal('base64'), - value: zod_1.default.string(), - })); -})(Network || (exports.Network = Network = {})); -(function (Network) { - Network.SameSiteSchema = zod_1.default.lazy(() => zod_1.default.enum(['strict', 'lax', 'none'])); -})(Network || (exports.Network = Network = {})); -(function (Network) { - Network.CookieSchema = zod_1.default.lazy(() => zod_1.default - .object({ - name: zod_1.default.string(), - value: Network.BytesValueSchema, - domain: zod_1.default.string(), - path: zod_1.default.string(), - size: exports.JsUintSchema, - httpOnly: zod_1.default.boolean(), - secure: zod_1.default.boolean(), - sameSite: Network.SameSiteSchema, - expiry: exports.JsUintSchema.optional(), - }) - .and(exports.ExtensibleSchema)); -})(Network || (exports.Network = Network = {})); -(function (Network) { - Network.CookieHeaderSchema = zod_1.default.lazy(() => zod_1.default.object({ - name: zod_1.default.string(), - value: Network.BytesValueSchema, - })); -})(Network || (exports.Network = Network = {})); -(function (Network) { - Network.FetchTimingInfoSchema = zod_1.default.lazy(() => zod_1.default.object({ - timeOrigin: zod_1.default.number(), - requestTime: zod_1.default.number(), - redirectStart: zod_1.default.number(), - redirectEnd: zod_1.default.number(), - fetchStart: zod_1.default.number(), - dnsStart: zod_1.default.number(), - dnsEnd: zod_1.default.number(), - connectStart: zod_1.default.number(), - connectEnd: zod_1.default.number(), - tlsStart: zod_1.default.number(), - requestStart: zod_1.default.number(), - responseStart: zod_1.default.number(), - responseEnd: zod_1.default.number(), - })); -})(Network || (exports.Network = Network = {})); -(function (Network) { - Network.HeaderSchema = zod_1.default.lazy(() => zod_1.default.object({ - name: zod_1.default.string(), - value: Network.BytesValueSchema, - })); -})(Network || (exports.Network = Network = {})); -(function (Network) { - Network.InitiatorSchema = zod_1.default.lazy(() => zod_1.default.object({ - type: zod_1.default.enum(['parser', 'script', 'preflight', 'other']), - columnNumber: exports.JsUintSchema.optional(), - lineNumber: exports.JsUintSchema.optional(), - stackTrace: Script.StackTraceSchema.optional(), - request: Network.RequestSchema.optional(), - })); -})(Network || (exports.Network = Network = {})); -(function (Network) { - Network.InterceptSchema = zod_1.default.lazy(() => zod_1.default.string()); -})(Network || (exports.Network = Network = {})); -(function (Network) { - Network.RequestSchema = zod_1.default.lazy(() => zod_1.default.string()); -})(Network || (exports.Network = Network = {})); -(function (Network) { - Network.RequestDataSchema = zod_1.default.lazy(() => zod_1.default.object({ - request: Network.RequestSchema, - url: zod_1.default.string(), - method: zod_1.default.string(), - headers: zod_1.default.array(Network.HeaderSchema), - cookies: zod_1.default.array(Network.CookieSchema), - headersSize: exports.JsUintSchema, - bodySize: zod_1.default.union([exports.JsUintSchema, zod_1.default.null()]), - timings: Network.FetchTimingInfoSchema, - })); -})(Network || (exports.Network = Network = {})); -(function (Network) { - Network.ResponseContentSchema = zod_1.default.lazy(() => zod_1.default.object({ - size: exports.JsUintSchema, - })); -})(Network || (exports.Network = Network = {})); -(function (Network) { - Network.ResponseDataSchema = zod_1.default.lazy(() => zod_1.default.object({ - url: zod_1.default.string(), - protocol: zod_1.default.string(), - status: exports.JsUintSchema, - statusText: zod_1.default.string(), - fromCache: zod_1.default.boolean(), - headers: zod_1.default.array(Network.HeaderSchema), - mimeType: zod_1.default.string(), - bytesReceived: exports.JsUintSchema, - headersSize: zod_1.default.union([exports.JsUintSchema, zod_1.default.null()]), - bodySize: zod_1.default.union([exports.JsUintSchema, zod_1.default.null()]), - content: Network.ResponseContentSchema, - authChallenge: Network.AuthChallengeSchema.optional(), - })); -})(Network || (exports.Network = Network = {})); -(function (Network) { - Network.SetCookieHeaderSchema = zod_1.default.lazy(() => zod_1.default.object({ - name: zod_1.default.string(), - value: Network.BytesValueSchema, - domain: zod_1.default.string().optional(), - httpOnly: zod_1.default.boolean().optional(), - expiry: zod_1.default.string().optional(), - maxAge: exports.JsIntSchema.optional(), - path: zod_1.default.string().optional(), - sameSite: Network.SameSiteSchema.optional(), - secure: zod_1.default.boolean().optional(), - })); -})(Network || (exports.Network = Network = {})); -(function (Network) { - Network.UrlPatternSchema = zod_1.default.lazy(() => zod_1.default.union([Network.UrlPatternPatternSchema, Network.UrlPatternStringSchema])); -})(Network || (exports.Network = Network = {})); -(function (Network) { - Network.UrlPatternPatternSchema = zod_1.default.lazy(() => zod_1.default.object({ - type: zod_1.default.literal('pattern'), - protocol: zod_1.default.string().optional(), - hostname: zod_1.default.string().optional(), - port: zod_1.default.string().optional(), - pathname: zod_1.default.string().optional(), - search: zod_1.default.string().optional(), - })); -})(Network || (exports.Network = Network = {})); -(function (Network) { - Network.UrlPatternStringSchema = zod_1.default.lazy(() => zod_1.default.object({ - type: zod_1.default.literal('string'), - pattern: zod_1.default.string(), - })); -})(Network || (exports.Network = Network = {})); -(function (Network) { - Network.AddInterceptParametersSchema = zod_1.default.lazy(() => zod_1.default.object({ - phases: zod_1.default.array(Network.InterceptPhaseSchema).min(1), - contexts: zod_1.default - .array(BrowsingContext.BrowsingContextSchema) - .min(1) - .optional(), - urlPatterns: zod_1.default.array(Network.UrlPatternSchema).optional(), - })); -})(Network || (exports.Network = Network = {})); -(function (Network) { - Network.AddInterceptSchema = zod_1.default.lazy(() => zod_1.default.object({ - method: zod_1.default.literal('network.addIntercept'), - params: Network.AddInterceptParametersSchema, - })); -})(Network || (exports.Network = Network = {})); -(function (Network) { - Network.InterceptPhaseSchema = zod_1.default.lazy(() => zod_1.default.enum(['beforeRequestSent', 'responseStarted', 'authRequired'])); -})(Network || (exports.Network = Network = {})); -(function (Network) { - Network.AddInterceptResultSchema = zod_1.default.lazy(() => zod_1.default.object({ - intercept: Network.InterceptSchema, - })); -})(Network || (exports.Network = Network = {})); -(function (Network) { - Network.ContinueRequestSchema = zod_1.default.lazy(() => zod_1.default.object({ - method: zod_1.default.literal('network.continueRequest'), - params: Network.ContinueRequestParametersSchema, - })); -})(Network || (exports.Network = Network = {})); -(function (Network) { - Network.ContinueRequestParametersSchema = zod_1.default.lazy(() => zod_1.default.object({ - request: Network.RequestSchema, - body: Network.BytesValueSchema.optional(), - cookies: zod_1.default.array(Network.CookieHeaderSchema).optional(), - headers: zod_1.default.array(Network.HeaderSchema).optional(), - method: zod_1.default.string().optional(), - url: zod_1.default.string().optional(), - })); -})(Network || (exports.Network = Network = {})); -(function (Network) { - Network.ContinueResponseSchema = zod_1.default.lazy(() => zod_1.default.object({ - method: zod_1.default.literal('network.continueResponse'), - params: Network.ContinueResponseParametersSchema, - })); -})(Network || (exports.Network = Network = {})); -(function (Network) { - Network.ContinueResponseParametersSchema = zod_1.default.lazy(() => zod_1.default.object({ - request: Network.RequestSchema, - cookies: zod_1.default.array(Network.SetCookieHeaderSchema).optional(), - credentials: Network.AuthCredentialsSchema.optional(), - headers: zod_1.default.array(Network.HeaderSchema).optional(), - reasonPhrase: zod_1.default.string().optional(), - statusCode: exports.JsUintSchema.optional(), - })); -})(Network || (exports.Network = Network = {})); -(function (Network) { - Network.ContinueWithAuthSchema = zod_1.default.lazy(() => zod_1.default.object({ - method: zod_1.default.literal('network.continueWithAuth'), - params: Network.ContinueWithAuthParametersSchema, - })); -})(Network || (exports.Network = Network = {})); -(function (Network) { - Network.ContinueWithAuthParametersSchema = zod_1.default.lazy(() => zod_1.default - .object({ - request: Network.RequestSchema, - }) - .and(zod_1.default.union([ - Network.ContinueWithAuthCredentialsSchema, - Network.ContinueWithAuthNoCredentialsSchema, - ]))); -})(Network || (exports.Network = Network = {})); -(function (Network) { - Network.ContinueWithAuthCredentialsSchema = zod_1.default.lazy(() => zod_1.default.object({ - action: zod_1.default.literal('provideCredentials'), - credentials: Network.AuthCredentialsSchema, - })); -})(Network || (exports.Network = Network = {})); -(function (Network) { - Network.ContinueWithAuthNoCredentialsSchema = zod_1.default.lazy(() => zod_1.default.object({ - action: zod_1.default.enum(['default', 'cancel']), - })); -})(Network || (exports.Network = Network = {})); -(function (Network) { - Network.FailRequestSchema = zod_1.default.lazy(() => zod_1.default.object({ - method: zod_1.default.literal('network.failRequest'), - params: Network.FailRequestParametersSchema, - })); -})(Network || (exports.Network = Network = {})); -(function (Network) { - Network.FailRequestParametersSchema = zod_1.default.lazy(() => zod_1.default.object({ - request: Network.RequestSchema, - })); -})(Network || (exports.Network = Network = {})); -(function (Network) { - Network.ProvideResponseSchema = zod_1.default.lazy(() => zod_1.default.object({ - method: zod_1.default.literal('network.provideResponse'), - params: Network.ProvideResponseParametersSchema, - })); -})(Network || (exports.Network = Network = {})); -(function (Network) { - Network.ProvideResponseParametersSchema = zod_1.default.lazy(() => zod_1.default.object({ - request: Network.RequestSchema, - body: Network.BytesValueSchema.optional(), - cookies: zod_1.default.array(Network.SetCookieHeaderSchema).optional(), - headers: zod_1.default.array(Network.HeaderSchema).optional(), - reasonPhrase: zod_1.default.string().optional(), - statusCode: exports.JsUintSchema.optional(), - })); -})(Network || (exports.Network = Network = {})); -(function (Network) { - Network.RemoveInterceptSchema = zod_1.default.lazy(() => zod_1.default.object({ - method: zod_1.default.literal('network.removeIntercept'), - params: Network.RemoveInterceptParametersSchema, - })); -})(Network || (exports.Network = Network = {})); -(function (Network) { - Network.RemoveInterceptParametersSchema = zod_1.default.lazy(() => zod_1.default.object({ - intercept: Network.InterceptSchema, - })); -})(Network || (exports.Network = Network = {})); -exports.ScriptEventSchema = zod_1.default.lazy(() => zod_1.default.union([ - Script.MessageSchema, - Script.RealmCreatedSchema, - Script.RealmDestroyedSchema, -])); -(function (Network) { - Network.AuthRequiredParametersSchema = zod_1.default.lazy(() => Network.BaseParametersSchema.and(zod_1.default.object({ - response: Network.ResponseDataSchema, - }))); -})(Network || (exports.Network = Network = {})); -(function (Network) { - Network.BeforeRequestSentParametersSchema = zod_1.default.lazy(() => Network.BaseParametersSchema.and(zod_1.default.object({ - initiator: Network.InitiatorSchema, - }))); -})(Network || (exports.Network = Network = {})); -(function (Network) { - Network.FetchErrorParametersSchema = zod_1.default.lazy(() => Network.BaseParametersSchema.and(zod_1.default.object({ - errorText: zod_1.default.string(), - }))); -})(Network || (exports.Network = Network = {})); -(function (Network) { - Network.ResponseCompletedParametersSchema = zod_1.default.lazy(() => Network.BaseParametersSchema.and(zod_1.default.object({ - response: Network.ResponseDataSchema, - }))); -})(Network || (exports.Network = Network = {})); -(function (Network) { - Network.ResponseStartedParametersSchema = zod_1.default.lazy(() => Network.BaseParametersSchema.and(zod_1.default.object({ - response: Network.ResponseDataSchema, - }))); -})(Network || (exports.Network = Network = {})); -exports.ScriptCommandSchema = zod_1.default.lazy(() => zod_1.default.union([ - Script.AddPreloadScriptSchema, - Script.CallFunctionSchema, - Script.DisownSchema, - Script.EvaluateSchema, - Script.GetRealmsSchema, - Script.RemovePreloadScriptSchema, -])); -exports.ScriptResultSchema = zod_1.default.lazy(() => zod_1.default.union([ - Script.AddPreloadScriptResultSchema, - Script.EvaluateResultSchema, - Script.GetRealmsResultSchema, -])); -(function (Network) { - Network.AuthRequiredSchema = zod_1.default.lazy(() => zod_1.default.object({ - method: zod_1.default.literal('network.authRequired'), - params: Network.AuthRequiredParametersSchema, - })); -})(Network || (exports.Network = Network = {})); -(function (Network) { - Network.BeforeRequestSentSchema = zod_1.default.lazy(() => zod_1.default.object({ - method: zod_1.default.literal('network.beforeRequestSent'), - params: Network.BeforeRequestSentParametersSchema, - })); -})(Network || (exports.Network = Network = {})); -(function (Network) { - Network.FetchErrorSchema = zod_1.default.lazy(() => zod_1.default.object({ - method: zod_1.default.literal('network.fetchError'), - params: Network.FetchErrorParametersSchema, - })); -})(Network || (exports.Network = Network = {})); -(function (Network) { - Network.ResponseCompletedSchema = zod_1.default.lazy(() => zod_1.default.object({ - method: zod_1.default.literal('network.responseCompleted'), - params: Network.ResponseCompletedParametersSchema, - })); -})(Network || (exports.Network = Network = {})); -(function (Network) { - Network.ResponseStartedSchema = zod_1.default.lazy(() => zod_1.default.object({ - method: zod_1.default.literal('network.responseStarted'), - params: Network.ResponseStartedParametersSchema, - })); -})(Network || (exports.Network = Network = {})); -var Script; -(function (Script) { - Script.ChannelSchema = zod_1.default.lazy(() => zod_1.default.string()); -})(Script || (exports.Script = Script = {})); -(function (Script) { - Script.EvaluateResultSuccessSchema = zod_1.default.lazy(() => zod_1.default.object({ - type: zod_1.default.literal('success'), - result: Script.RemoteValueSchema, - realm: Script.RealmSchema, - })); -})(Script || (exports.Script = Script = {})); -(function (Script) { - Script.ExceptionDetailsSchema = zod_1.default.lazy(() => zod_1.default.object({ - columnNumber: exports.JsUintSchema, - exception: Script.RemoteValueSchema, - lineNumber: exports.JsUintSchema, - stackTrace: Script.StackTraceSchema, - text: zod_1.default.string(), - })); -})(Script || (exports.Script = Script = {})); -(function (Script) { - Script.ChannelValueSchema = zod_1.default.lazy(() => zod_1.default.object({ - type: zod_1.default.literal('channel'), - value: Script.ChannelPropertiesSchema, - })); -})(Script || (exports.Script = Script = {})); -(function (Script) { - Script.ChannelPropertiesSchema = zod_1.default.lazy(() => zod_1.default.object({ - channel: Script.ChannelSchema, - serializationOptions: Script.SerializationOptionsSchema.optional(), - ownership: Script.ResultOwnershipSchema.optional(), - })); -})(Script || (exports.Script = Script = {})); -(function (Script) { - Script.EvaluateResultSchema = zod_1.default.lazy(() => zod_1.default.union([ - Script.EvaluateResultSuccessSchema, - Script.EvaluateResultExceptionSchema, - ])); -})(Script || (exports.Script = Script = {})); -(function (Script) { - Script.EvaluateResultExceptionSchema = zod_1.default.lazy(() => zod_1.default.object({ - type: zod_1.default.literal('exception'), - exceptionDetails: Script.ExceptionDetailsSchema, - realm: Script.RealmSchema, - })); -})(Script || (exports.Script = Script = {})); -(function (Script) { - Script.HandleSchema = zod_1.default.lazy(() => zod_1.default.string()); -})(Script || (exports.Script = Script = {})); -(function (Script) { - Script.InternalIdSchema = zod_1.default.lazy(() => zod_1.default.string()); -})(Script || (exports.Script = Script = {})); -(function (Script) { - Script.ListLocalValueSchema = zod_1.default.lazy(() => zod_1.default.array(Script.LocalValueSchema)); -})(Script || (exports.Script = Script = {})); -(function (Script) { - Script.LocalValueSchema = zod_1.default.lazy(() => zod_1.default.union([ - Script.RemoteReferenceSchema, - Script.PrimitiveProtocolValueSchema, - Script.ChannelValueSchema, - Script.ArrayLocalValueSchema, - Script.DateLocalValueSchema, - Script.MapLocalValueSchema, - Script.ObjectLocalValueSchema, - Script.RegExpLocalValueSchema, - Script.SetLocalValueSchema, - ])); -})(Script || (exports.Script = Script = {})); -(function (Script) { - Script.ArrayLocalValueSchema = zod_1.default.lazy(() => zod_1.default.object({ - type: zod_1.default.literal('array'), - value: Script.ListLocalValueSchema, - })); -})(Script || (exports.Script = Script = {})); -(function (Script) { - Script.DateLocalValueSchema = zod_1.default.lazy(() => zod_1.default.object({ - type: zod_1.default.literal('date'), - value: zod_1.default.string(), - })); -})(Script || (exports.Script = Script = {})); -(function (Script) { - Script.MappingLocalValueSchema = zod_1.default.lazy(() => zod_1.default.array(zod_1.default.tuple([ - zod_1.default.union([Script.LocalValueSchema, zod_1.default.string()]), - Script.LocalValueSchema, - ]))); -})(Script || (exports.Script = Script = {})); -(function (Script) { - Script.MapLocalValueSchema = zod_1.default.lazy(() => zod_1.default.object({ - type: zod_1.default.literal('map'), - value: Script.MappingLocalValueSchema, - })); -})(Script || (exports.Script = Script = {})); -(function (Script) { - Script.ObjectLocalValueSchema = zod_1.default.lazy(() => zod_1.default.object({ - type: zod_1.default.literal('object'), - value: Script.MappingLocalValueSchema, - })); -})(Script || (exports.Script = Script = {})); -(function (Script) { - Script.RegExpValueSchema = zod_1.default.lazy(() => zod_1.default.object({ - pattern: zod_1.default.string(), - flags: zod_1.default.string().optional(), - })); -})(Script || (exports.Script = Script = {})); -(function (Script) { - Script.RegExpLocalValueSchema = zod_1.default.lazy(() => zod_1.default.object({ - type: zod_1.default.literal('regexp'), - value: Script.RegExpValueSchema, - })); -})(Script || (exports.Script = Script = {})); -(function (Script) { - Script.SetLocalValueSchema = zod_1.default.lazy(() => zod_1.default.object({ - type: zod_1.default.literal('set'), - value: Script.ListLocalValueSchema, - })); -})(Script || (exports.Script = Script = {})); -(function (Script) { - Script.PreloadScriptSchema = zod_1.default.lazy(() => zod_1.default.string()); -})(Script || (exports.Script = Script = {})); -(function (Script) { - Script.RealmSchema = zod_1.default.lazy(() => zod_1.default.string()); -})(Script || (exports.Script = Script = {})); -(function (Script) { - Script.PrimitiveProtocolValueSchema = zod_1.default.lazy(() => zod_1.default.union([ - Script.UndefinedValueSchema, - Script.NullValueSchema, - Script.StringValueSchema, - Script.NumberValueSchema, - Script.BooleanValueSchema, - Script.BigIntValueSchema, - ])); -})(Script || (exports.Script = Script = {})); -(function (Script) { - Script.UndefinedValueSchema = zod_1.default.lazy(() => zod_1.default.object({ - type: zod_1.default.literal('undefined'), - })); -})(Script || (exports.Script = Script = {})); -(function (Script) { - Script.NullValueSchema = zod_1.default.lazy(() => zod_1.default.object({ - type: zod_1.default.literal('null'), - })); -})(Script || (exports.Script = Script = {})); -(function (Script) { - Script.StringValueSchema = zod_1.default.lazy(() => zod_1.default.object({ - type: zod_1.default.literal('string'), - value: zod_1.default.string(), - })); -})(Script || (exports.Script = Script = {})); -(function (Script) { - Script.SpecialNumberSchema = zod_1.default.lazy(() => zod_1.default.enum(['NaN', '-0', 'Infinity', '-Infinity'])); -})(Script || (exports.Script = Script = {})); -(function (Script) { - Script.NumberValueSchema = zod_1.default.lazy(() => zod_1.default.object({ - type: zod_1.default.literal('number'), - value: zod_1.default.union([zod_1.default.number(), Script.SpecialNumberSchema]), - })); -})(Script || (exports.Script = Script = {})); -(function (Script) { - Script.BooleanValueSchema = zod_1.default.lazy(() => zod_1.default.object({ - type: zod_1.default.literal('boolean'), - value: zod_1.default.boolean(), - })); -})(Script || (exports.Script = Script = {})); -(function (Script) { - Script.BigIntValueSchema = zod_1.default.lazy(() => zod_1.default.object({ - type: zod_1.default.literal('bigint'), - value: zod_1.default.string(), - })); -})(Script || (exports.Script = Script = {})); -(function (Script) { - Script.RealmInfoSchema = zod_1.default.lazy(() => zod_1.default.union([ - Script.WindowRealmInfoSchema, - Script.DedicatedWorkerRealmInfoSchema, - Script.SharedWorkerRealmInfoSchema, - Script.ServiceWorkerRealmInfoSchema, - Script.WorkerRealmInfoSchema, - Script.PaintWorkletRealmInfoSchema, - Script.AudioWorkletRealmInfoSchema, - Script.WorkletRealmInfoSchema, - ])); -})(Script || (exports.Script = Script = {})); -(function (Script) { - Script.BaseRealmInfoSchema = zod_1.default.lazy(() => zod_1.default.object({ - realm: Script.RealmSchema, - origin: zod_1.default.string(), - })); -})(Script || (exports.Script = Script = {})); -(function (Script) { - Script.WindowRealmInfoSchema = zod_1.default.lazy(() => Script.BaseRealmInfoSchema.and(zod_1.default.object({ - type: zod_1.default.literal('window'), - context: BrowsingContext.BrowsingContextSchema, - sandbox: zod_1.default.string().optional(), - }))); -})(Script || (exports.Script = Script = {})); -(function (Script) { - Script.DedicatedWorkerRealmInfoSchema = zod_1.default.lazy(() => Script.BaseRealmInfoSchema.and(zod_1.default.object({ - type: zod_1.default.literal('dedicated-worker'), - owners: zod_1.default.tuple([Script.RealmSchema]), - }))); -})(Script || (exports.Script = Script = {})); -(function (Script) { - Script.SharedWorkerRealmInfoSchema = zod_1.default.lazy(() => Script.BaseRealmInfoSchema.and(zod_1.default.object({ - type: zod_1.default.literal('shared-worker'), - }))); -})(Script || (exports.Script = Script = {})); -(function (Script) { - Script.ServiceWorkerRealmInfoSchema = zod_1.default.lazy(() => Script.BaseRealmInfoSchema.and(zod_1.default.object({ - type: zod_1.default.literal('service-worker'), - }))); -})(Script || (exports.Script = Script = {})); -(function (Script) { - Script.WorkerRealmInfoSchema = zod_1.default.lazy(() => Script.BaseRealmInfoSchema.and(zod_1.default.object({ - type: zod_1.default.literal('worker'), - }))); -})(Script || (exports.Script = Script = {})); -(function (Script) { - Script.PaintWorkletRealmInfoSchema = zod_1.default.lazy(() => Script.BaseRealmInfoSchema.and(zod_1.default.object({ - type: zod_1.default.literal('paint-worklet'), - }))); -})(Script || (exports.Script = Script = {})); -(function (Script) { - Script.AudioWorkletRealmInfoSchema = zod_1.default.lazy(() => Script.BaseRealmInfoSchema.and(zod_1.default.object({ - type: zod_1.default.literal('audio-worklet'), - }))); -})(Script || (exports.Script = Script = {})); -(function (Script) { - Script.WorkletRealmInfoSchema = zod_1.default.lazy(() => Script.BaseRealmInfoSchema.and(zod_1.default.object({ - type: zod_1.default.literal('worklet'), - }))); -})(Script || (exports.Script = Script = {})); -(function (Script) { - Script.RealmTypeSchema = zod_1.default.lazy(() => zod_1.default.enum([ - 'window', - 'dedicated-worker', - 'shared-worker', - 'service-worker', - 'worker', - 'paint-worklet', - 'audio-worklet', - 'worklet', - ])); -})(Script || (exports.Script = Script = {})); -(function (Script) { - Script.ListRemoteValueSchema = zod_1.default.lazy(() => zod_1.default.array(Script.RemoteValueSchema)); -})(Script || (exports.Script = Script = {})); -(function (Script) { - Script.MappingRemoteValueSchema = zod_1.default.lazy(() => zod_1.default.array(zod_1.default.tuple([ - zod_1.default.union([Script.RemoteValueSchema, zod_1.default.string()]), - Script.RemoteValueSchema, - ]))); -})(Script || (exports.Script = Script = {})); -(function (Script) { - Script.RemoteValueSchema = zod_1.default.lazy(() => zod_1.default.union([ - Script.PrimitiveProtocolValueSchema, - Script.SymbolRemoteValueSchema, - Script.ArrayRemoteValueSchema, - Script.ObjectRemoteValueSchema, - Script.FunctionRemoteValueSchema, - Script.RegExpRemoteValueSchema, - Script.DateRemoteValueSchema, - Script.MapRemoteValueSchema, - Script.SetRemoteValueSchema, - Script.WeakMapRemoteValueSchema, - Script.WeakSetRemoteValueSchema, - Script.IteratorRemoteValueSchema, - Script.GeneratorRemoteValueSchema, - Script.ErrorRemoteValueSchema, - Script.ProxyRemoteValueSchema, - Script.PromiseRemoteValueSchema, - Script.TypedArrayRemoteValueSchema, - Script.ArrayBufferRemoteValueSchema, - Script.NodeListRemoteValueSchema, - Script.HtmlCollectionRemoteValueSchema, - Script.NodeRemoteValueSchema, - Script.WindowProxyRemoteValueSchema, - ])); -})(Script || (exports.Script = Script = {})); -(function (Script) { - Script.RemoteReferenceSchema = zod_1.default.lazy(() => zod_1.default.union([Script.SharedReferenceSchema, Script.RemoteObjectReferenceSchema])); -})(Script || (exports.Script = Script = {})); -(function (Script) { - Script.SharedReferenceSchema = zod_1.default.lazy(() => zod_1.default - .object({ - sharedId: Script.SharedIdSchema, - handle: Script.HandleSchema.optional(), - }) - .and(exports.ExtensibleSchema)); -})(Script || (exports.Script = Script = {})); -(function (Script) { - Script.RemoteObjectReferenceSchema = zod_1.default.lazy(() => zod_1.default - .object({ - handle: Script.HandleSchema, - sharedId: Script.SharedIdSchema.optional(), - }) - .and(exports.ExtensibleSchema)); -})(Script || (exports.Script = Script = {})); -(function (Script) { - Script.SymbolRemoteValueSchema = zod_1.default.lazy(() => zod_1.default.object({ - type: zod_1.default.literal('symbol'), - handle: Script.HandleSchema.optional(), - internalId: Script.InternalIdSchema.optional(), - })); -})(Script || (exports.Script = Script = {})); -(function (Script) { - Script.ArrayRemoteValueSchema = zod_1.default.lazy(() => zod_1.default.object({ - type: zod_1.default.literal('array'), - handle: Script.HandleSchema.optional(), - internalId: Script.InternalIdSchema.optional(), - value: Script.ListRemoteValueSchema.optional(), - })); -})(Script || (exports.Script = Script = {})); -(function (Script) { - Script.ObjectRemoteValueSchema = zod_1.default.lazy(() => zod_1.default.object({ - type: zod_1.default.literal('object'), - handle: Script.HandleSchema.optional(), - internalId: Script.InternalIdSchema.optional(), - value: Script.MappingRemoteValueSchema.optional(), - })); -})(Script || (exports.Script = Script = {})); -(function (Script) { - Script.FunctionRemoteValueSchema = zod_1.default.lazy(() => zod_1.default.object({ - type: zod_1.default.literal('function'), - handle: Script.HandleSchema.optional(), - internalId: Script.InternalIdSchema.optional(), - })); -})(Script || (exports.Script = Script = {})); -(function (Script) { - Script.RegExpRemoteValueSchema = zod_1.default.lazy(() => zod_1.default - .object({ - handle: Script.HandleSchema.optional(), - internalId: Script.InternalIdSchema.optional(), - }) - .and(Script.RegExpLocalValueSchema)); -})(Script || (exports.Script = Script = {})); -(function (Script) { - Script.DateRemoteValueSchema = zod_1.default.lazy(() => zod_1.default - .object({ - handle: Script.HandleSchema.optional(), - internalId: Script.InternalIdSchema.optional(), - }) - .and(Script.DateLocalValueSchema)); -})(Script || (exports.Script = Script = {})); -(function (Script) { - Script.MapRemoteValueSchema = zod_1.default.lazy(() => zod_1.default.object({ - type: zod_1.default.literal('map'), - handle: Script.HandleSchema.optional(), - internalId: Script.InternalIdSchema.optional(), - value: Script.MappingRemoteValueSchema.optional(), - })); -})(Script || (exports.Script = Script = {})); -(function (Script) { - Script.SetRemoteValueSchema = zod_1.default.lazy(() => zod_1.default.object({ - type: zod_1.default.literal('set'), - handle: Script.HandleSchema.optional(), - internalId: Script.InternalIdSchema.optional(), - value: Script.ListRemoteValueSchema.optional(), - })); -})(Script || (exports.Script = Script = {})); -(function (Script) { - Script.WeakMapRemoteValueSchema = zod_1.default.lazy(() => zod_1.default.object({ - type: zod_1.default.literal('weakmap'), - handle: Script.HandleSchema.optional(), - internalId: Script.InternalIdSchema.optional(), - })); -})(Script || (exports.Script = Script = {})); -(function (Script) { - Script.WeakSetRemoteValueSchema = zod_1.default.lazy(() => zod_1.default.object({ - type: zod_1.default.literal('weakset'), - handle: Script.HandleSchema.optional(), - internalId: Script.InternalIdSchema.optional(), - })); -})(Script || (exports.Script = Script = {})); -(function (Script) { - Script.IteratorRemoteValueSchema = zod_1.default.lazy(() => zod_1.default.object({ - type: zod_1.default.literal('iterator'), - handle: Script.HandleSchema.optional(), - internalId: Script.InternalIdSchema.optional(), - })); -})(Script || (exports.Script = Script = {})); -(function (Script) { - Script.GeneratorRemoteValueSchema = zod_1.default.lazy(() => zod_1.default.object({ - type: zod_1.default.literal('generator'), - handle: Script.HandleSchema.optional(), - internalId: Script.InternalIdSchema.optional(), - })); -})(Script || (exports.Script = Script = {})); -(function (Script) { - Script.ErrorRemoteValueSchema = zod_1.default.lazy(() => zod_1.default.object({ - type: zod_1.default.literal('error'), - handle: Script.HandleSchema.optional(), - internalId: Script.InternalIdSchema.optional(), - })); -})(Script || (exports.Script = Script = {})); -(function (Script) { - Script.ProxyRemoteValueSchema = zod_1.default.lazy(() => zod_1.default.object({ - type: zod_1.default.literal('proxy'), - handle: Script.HandleSchema.optional(), - internalId: Script.InternalIdSchema.optional(), - })); -})(Script || (exports.Script = Script = {})); -(function (Script) { - Script.PromiseRemoteValueSchema = zod_1.default.lazy(() => zod_1.default.object({ - type: zod_1.default.literal('promise'), - handle: Script.HandleSchema.optional(), - internalId: Script.InternalIdSchema.optional(), - })); -})(Script || (exports.Script = Script = {})); -(function (Script) { - Script.TypedArrayRemoteValueSchema = zod_1.default.lazy(() => zod_1.default.object({ - type: zod_1.default.literal('typedarray'), - handle: Script.HandleSchema.optional(), - internalId: Script.InternalIdSchema.optional(), - })); -})(Script || (exports.Script = Script = {})); -(function (Script) { - Script.ArrayBufferRemoteValueSchema = zod_1.default.lazy(() => zod_1.default.object({ - type: zod_1.default.literal('arraybuffer'), - handle: Script.HandleSchema.optional(), - internalId: Script.InternalIdSchema.optional(), - })); -})(Script || (exports.Script = Script = {})); -(function (Script) { - Script.NodeListRemoteValueSchema = zod_1.default.lazy(() => zod_1.default.object({ - type: zod_1.default.literal('nodelist'), - handle: Script.HandleSchema.optional(), - internalId: Script.InternalIdSchema.optional(), - value: Script.ListRemoteValueSchema.optional(), - })); -})(Script || (exports.Script = Script = {})); -(function (Script) { - Script.HtmlCollectionRemoteValueSchema = zod_1.default.lazy(() => zod_1.default.object({ - type: zod_1.default.literal('htmlcollection'), - handle: Script.HandleSchema.optional(), - internalId: Script.InternalIdSchema.optional(), - value: Script.ListRemoteValueSchema.optional(), - })); -})(Script || (exports.Script = Script = {})); -(function (Script) { - Script.NodeRemoteValueSchema = zod_1.default.lazy(() => zod_1.default.object({ - type: zod_1.default.literal('node'), - sharedId: Script.SharedIdSchema.optional(), - handle: Script.HandleSchema.optional(), - internalId: Script.InternalIdSchema.optional(), - value: Script.NodePropertiesSchema.optional(), - })); -})(Script || (exports.Script = Script = {})); -(function (Script) { - Script.NodePropertiesSchema = zod_1.default.lazy(() => zod_1.default.object({ - nodeType: exports.JsUintSchema, - childNodeCount: exports.JsUintSchema, - attributes: zod_1.default.record(zod_1.default.string(), zod_1.default.string()).optional(), - children: zod_1.default.array(Script.NodeRemoteValueSchema).optional(), - localName: zod_1.default.string().optional(), - mode: zod_1.default.enum(['open', 'closed']).optional(), - namespaceURI: zod_1.default.string().optional(), - nodeValue: zod_1.default.string().optional(), - shadowRoot: zod_1.default.union([Script.NodeRemoteValueSchema, zod_1.default.null()]).optional(), - })); -})(Script || (exports.Script = Script = {})); -(function (Script) { - Script.WindowProxyRemoteValueSchema = zod_1.default.lazy(() => zod_1.default.object({ - type: zod_1.default.literal('window'), - value: Script.WindowProxyPropertiesSchema, - handle: Script.HandleSchema.optional(), - internalId: Script.InternalIdSchema.optional(), - })); -})(Script || (exports.Script = Script = {})); -(function (Script) { - Script.WindowProxyPropertiesSchema = zod_1.default.lazy(() => zod_1.default.object({ - context: BrowsingContext.BrowsingContextSchema, - })); -})(Script || (exports.Script = Script = {})); -(function (Script) { - Script.ResultOwnershipSchema = zod_1.default.lazy(() => zod_1.default.enum(['root', 'none'])); -})(Script || (exports.Script = Script = {})); -(function (Script) { - Script.SerializationOptionsSchema = zod_1.default.lazy(() => zod_1.default.object({ - maxDomDepth: zod_1.default.union([exports.JsUintSchema, zod_1.default.null()]).default(0).optional(), - maxObjectDepth: zod_1.default - .union([exports.JsUintSchema, zod_1.default.null()]) - .default(null) - .optional(), - includeShadowTree: zod_1.default - .enum(['none', 'open', 'all']) - .default('none') - .optional(), - })); -})(Script || (exports.Script = Script = {})); -(function (Script) { - Script.SharedIdSchema = zod_1.default.lazy(() => zod_1.default.string()); -})(Script || (exports.Script = Script = {})); -(function (Script) { - Script.StackFrameSchema = zod_1.default.lazy(() => zod_1.default.object({ - columnNumber: exports.JsUintSchema, - functionName: zod_1.default.string(), - lineNumber: exports.JsUintSchema, - url: zod_1.default.string(), - })); -})(Script || (exports.Script = Script = {})); -(function (Script) { - Script.StackTraceSchema = zod_1.default.lazy(() => zod_1.default.object({ - callFrames: zod_1.default.array(Script.StackFrameSchema), - })); -})(Script || (exports.Script = Script = {})); -(function (Script) { - Script.SourceSchema = zod_1.default.lazy(() => zod_1.default.object({ - realm: Script.RealmSchema, - context: BrowsingContext.BrowsingContextSchema.optional(), - })); -})(Script || (exports.Script = Script = {})); -(function (Script) { - Script.RealmTargetSchema = zod_1.default.lazy(() => zod_1.default.object({ - realm: Script.RealmSchema, - })); -})(Script || (exports.Script = Script = {})); -(function (Script) { - Script.ContextTargetSchema = zod_1.default.lazy(() => zod_1.default.object({ - context: BrowsingContext.BrowsingContextSchema, - sandbox: zod_1.default.string().optional(), - })); -})(Script || (exports.Script = Script = {})); -(function (Script) { - Script.TargetSchema = zod_1.default.lazy(() => zod_1.default.union([Script.RealmTargetSchema, Script.ContextTargetSchema])); -})(Script || (exports.Script = Script = {})); -(function (Script) { - Script.AddPreloadScriptSchema = zod_1.default.lazy(() => zod_1.default.object({ - method: zod_1.default.literal('script.addPreloadScript'), - params: Script.AddPreloadScriptParametersSchema, - })); -})(Script || (exports.Script = Script = {})); -(function (Script) { - Script.AddPreloadScriptParametersSchema = zod_1.default.lazy(() => zod_1.default.object({ - functionDeclaration: zod_1.default.string(), - arguments: zod_1.default.array(Script.ChannelValueSchema).optional(), - contexts: zod_1.default - .array(BrowsingContext.BrowsingContextSchema) - .min(1) - .optional(), - sandbox: zod_1.default.string().optional(), - })); -})(Script || (exports.Script = Script = {})); -(function (Script) { - Script.AddPreloadScriptResultSchema = zod_1.default.lazy(() => zod_1.default.object({ - script: Script.PreloadScriptSchema, - })); -})(Script || (exports.Script = Script = {})); -(function (Script) { - Script.DisownSchema = zod_1.default.lazy(() => zod_1.default.object({ - method: zod_1.default.literal('script.disown'), - params: Script.DisownParametersSchema, - })); -})(Script || (exports.Script = Script = {})); -(function (Script) { - Script.DisownParametersSchema = zod_1.default.lazy(() => zod_1.default.object({ - handles: zod_1.default.array(Script.HandleSchema), - target: Script.TargetSchema, - })); -})(Script || (exports.Script = Script = {})); -(function (Script) { - Script.CallFunctionParametersSchema = zod_1.default.lazy(() => zod_1.default.object({ - functionDeclaration: zod_1.default.string(), - awaitPromise: zod_1.default.boolean(), - target: Script.TargetSchema, - arguments: zod_1.default.array(Script.LocalValueSchema).optional(), - resultOwnership: Script.ResultOwnershipSchema.optional(), - serializationOptions: Script.SerializationOptionsSchema.optional(), - this: Script.LocalValueSchema.optional(), - userActivation: zod_1.default.boolean().default(false).optional(), - })); -})(Script || (exports.Script = Script = {})); -(function (Script) { - Script.CallFunctionSchema = zod_1.default.lazy(() => zod_1.default.object({ - method: zod_1.default.literal('script.callFunction'), - params: Script.CallFunctionParametersSchema, - })); -})(Script || (exports.Script = Script = {})); -(function (Script) { - Script.EvaluateSchema = zod_1.default.lazy(() => zod_1.default.object({ - method: zod_1.default.literal('script.evaluate'), - params: Script.EvaluateParametersSchema, - })); -})(Script || (exports.Script = Script = {})); -(function (Script) { - Script.EvaluateParametersSchema = zod_1.default.lazy(() => zod_1.default.object({ - expression: zod_1.default.string(), - target: Script.TargetSchema, - awaitPromise: zod_1.default.boolean(), - resultOwnership: Script.ResultOwnershipSchema.optional(), - serializationOptions: Script.SerializationOptionsSchema.optional(), - userActivation: zod_1.default.boolean().default(false).optional(), - })); -})(Script || (exports.Script = Script = {})); -(function (Script) { - Script.GetRealmsSchema = zod_1.default.lazy(() => zod_1.default.object({ - method: zod_1.default.literal('script.getRealms'), - params: Script.GetRealmsParametersSchema, - })); -})(Script || (exports.Script = Script = {})); -(function (Script) { - Script.GetRealmsParametersSchema = zod_1.default.lazy(() => zod_1.default.object({ - context: BrowsingContext.BrowsingContextSchema.optional(), - type: Script.RealmTypeSchema.optional(), - })); -})(Script || (exports.Script = Script = {})); -(function (Script) { - Script.GetRealmsResultSchema = zod_1.default.lazy(() => zod_1.default.object({ - realms: zod_1.default.array(Script.RealmInfoSchema), - })); -})(Script || (exports.Script = Script = {})); -(function (Script) { - Script.RemovePreloadScriptSchema = zod_1.default.lazy(() => zod_1.default.object({ - method: zod_1.default.literal('script.removePreloadScript'), - params: Script.RemovePreloadScriptParametersSchema, - })); -})(Script || (exports.Script = Script = {})); -(function (Script) { - Script.RemovePreloadScriptParametersSchema = zod_1.default.lazy(() => zod_1.default.object({ - script: Script.PreloadScriptSchema, - })); -})(Script || (exports.Script = Script = {})); -(function (Script) { - Script.MessageParametersSchema = zod_1.default.lazy(() => zod_1.default.object({ - channel: Script.ChannelSchema, - data: Script.RemoteValueSchema, - source: Script.SourceSchema, - })); -})(Script || (exports.Script = Script = {})); -(function (Script) { - Script.RealmCreatedSchema = zod_1.default.lazy(() => zod_1.default.object({ - method: zod_1.default.literal('script.realmCreated'), - params: Script.RealmInfoSchema, - })); -})(Script || (exports.Script = Script = {})); -(function (Script) { - Script.MessageSchema = zod_1.default.lazy(() => zod_1.default.object({ - method: zod_1.default.literal('script.message'), - params: Script.MessageParametersSchema, - })); -})(Script || (exports.Script = Script = {})); -(function (Script) { - Script.RealmDestroyedSchema = zod_1.default.lazy(() => zod_1.default.object({ - method: zod_1.default.literal('script.realmDestroyed'), - params: Script.RealmDestroyedParametersSchema, - })); -})(Script || (exports.Script = Script = {})); -(function (Script) { - Script.RealmDestroyedParametersSchema = zod_1.default.lazy(() => zod_1.default.object({ - realm: Script.RealmSchema, - })); -})(Script || (exports.Script = Script = {})); -exports.StorageCommandSchema = zod_1.default.lazy(() => zod_1.default.union([ - Storage.DeleteCookiesSchema, - Storage.GetCookiesSchema, - Storage.SetCookieSchema, -])); -exports.StorageResultSchema = zod_1.default.lazy(() => zod_1.default.union([ - Storage.DeleteCookiesResultSchema, - Storage.GetCookiesResultSchema, - Storage.SetCookieResultSchema, -])); -var Storage; -(function (Storage) { - Storage.PartitionKeySchema = zod_1.default.lazy(() => zod_1.default - .object({ - userContext: zod_1.default.string().optional(), - sourceOrigin: zod_1.default.string().optional(), - }) - .and(exports.ExtensibleSchema)); -})(Storage || (exports.Storage = Storage = {})); -(function (Storage) { - Storage.GetCookiesSchema = zod_1.default.lazy(() => zod_1.default.object({ - method: zod_1.default.literal('storage.getCookies'), - params: Storage.GetCookiesParametersSchema, - })); -})(Storage || (exports.Storage = Storage = {})); -(function (Storage) { - Storage.CookieFilterSchema = zod_1.default.lazy(() => zod_1.default - .object({ - name: zod_1.default.string().optional(), - value: Network.BytesValueSchema.optional(), - domain: zod_1.default.string().optional(), - path: zod_1.default.string().optional(), - size: exports.JsUintSchema.optional(), - httpOnly: zod_1.default.boolean().optional(), - secure: zod_1.default.boolean().optional(), - sameSite: Network.SameSiteSchema.optional(), - expiry: exports.JsUintSchema.optional(), - }) - .and(exports.ExtensibleSchema)); -})(Storage || (exports.Storage = Storage = {})); -(function (Storage) { - Storage.BrowsingContextPartitionDescriptorSchema = zod_1.default.lazy(() => zod_1.default.object({ - type: zod_1.default.literal('context'), - context: BrowsingContext.BrowsingContextSchema, - })); -})(Storage || (exports.Storage = Storage = {})); -(function (Storage) { - Storage.StorageKeyPartitionDescriptorSchema = zod_1.default.lazy(() => zod_1.default - .object({ - type: zod_1.default.literal('storageKey'), - userContext: zod_1.default.string().optional(), - sourceOrigin: zod_1.default.string().optional(), - }) - .and(exports.ExtensibleSchema)); -})(Storage || (exports.Storage = Storage = {})); -(function (Storage) { - Storage.PartitionDescriptorSchema = zod_1.default.lazy(() => zod_1.default.union([ - Storage.BrowsingContextPartitionDescriptorSchema, - Storage.StorageKeyPartitionDescriptorSchema, - ])); -})(Storage || (exports.Storage = Storage = {})); -(function (Storage) { - Storage.GetCookiesParametersSchema = zod_1.default.lazy(() => zod_1.default.object({ - filter: Storage.CookieFilterSchema.optional(), - partition: Storage.PartitionDescriptorSchema.optional(), - })); -})(Storage || (exports.Storage = Storage = {})); -(function (Storage) { - Storage.GetCookiesResultSchema = zod_1.default.lazy(() => zod_1.default.object({ - cookies: zod_1.default.array(Network.CookieSchema), - partitionKey: Storage.PartitionKeySchema, - })); -})(Storage || (exports.Storage = Storage = {})); -(function (Storage) { - Storage.SetCookieSchema = zod_1.default.lazy(() => zod_1.default.object({ - method: zod_1.default.literal('storage.setCookie'), - params: Storage.SetCookieParametersSchema, - })); -})(Storage || (exports.Storage = Storage = {})); -(function (Storage) { - Storage.PartialCookieSchema = zod_1.default.lazy(() => zod_1.default - .object({ - name: zod_1.default.string(), - value: Network.BytesValueSchema, - domain: zod_1.default.string(), - path: zod_1.default.string().optional(), - httpOnly: zod_1.default.boolean().optional(), - secure: zod_1.default.boolean().optional(), - sameSite: Network.SameSiteSchema.optional(), - expiry: exports.JsUintSchema.optional(), - }) - .and(exports.ExtensibleSchema)); -})(Storage || (exports.Storage = Storage = {})); -(function (Storage) { - Storage.SetCookieParametersSchema = zod_1.default.lazy(() => zod_1.default.object({ - cookie: Storage.PartialCookieSchema, - partition: Storage.PartitionDescriptorSchema.optional(), - })); -})(Storage || (exports.Storage = Storage = {})); -(function (Storage) { - Storage.SetCookieResultSchema = zod_1.default.lazy(() => zod_1.default.object({ - partitionKey: Storage.PartitionKeySchema, - })); -})(Storage || (exports.Storage = Storage = {})); -(function (Storage) { - Storage.DeleteCookiesSchema = zod_1.default.lazy(() => zod_1.default.object({ - method: zod_1.default.literal('storage.deleteCookies'), - params: Storage.DeleteCookiesParametersSchema, - })); -})(Storage || (exports.Storage = Storage = {})); -(function (Storage) { - Storage.DeleteCookiesParametersSchema = zod_1.default.lazy(() => zod_1.default.object({ - filter: Storage.CookieFilterSchema.optional(), - partition: Storage.PartitionDescriptorSchema.optional(), - })); -})(Storage || (exports.Storage = Storage = {})); -(function (Storage) { - Storage.DeleteCookiesResultSchema = zod_1.default.lazy(() => zod_1.default.object({ - partitionKey: Storage.PartitionKeySchema, - })); -})(Storage || (exports.Storage = Storage = {})); -exports.LogEventSchema = zod_1.default.lazy(() => Log.EntryAddedSchema); -var Log; -(function (Log) { - Log.LevelSchema = zod_1.default.lazy(() => zod_1.default.enum(['debug', 'info', 'warn', 'error'])); -})(Log || (exports.Log = Log = {})); -(function (Log) { - Log.EntrySchema = zod_1.default.lazy(() => zod_1.default.union([ - Log.GenericLogEntrySchema, - Log.ConsoleLogEntrySchema, - Log.JavascriptLogEntrySchema, - ])); -})(Log || (exports.Log = Log = {})); -(function (Log) { - Log.BaseLogEntrySchema = zod_1.default.lazy(() => zod_1.default.object({ - level: Log.LevelSchema, - source: Script.SourceSchema, - text: zod_1.default.union([zod_1.default.string(), zod_1.default.null()]), - timestamp: exports.JsUintSchema, - stackTrace: Script.StackTraceSchema.optional(), - })); -})(Log || (exports.Log = Log = {})); -(function (Log) { - Log.GenericLogEntrySchema = zod_1.default.lazy(() => Log.BaseLogEntrySchema.and(zod_1.default.object({ - type: zod_1.default.string(), - }))); -})(Log || (exports.Log = Log = {})); -(function (Log) { - Log.ConsoleLogEntrySchema = zod_1.default.lazy(() => Log.BaseLogEntrySchema.and(zod_1.default.object({ - type: zod_1.default.literal('console'), - method: zod_1.default.string(), - args: zod_1.default.array(Script.RemoteValueSchema), - }))); -})(Log || (exports.Log = Log = {})); -(function (Log) { - Log.JavascriptLogEntrySchema = zod_1.default.lazy(() => Log.BaseLogEntrySchema.and(zod_1.default.object({ - type: zod_1.default.literal('javascript'), - }))); -})(Log || (exports.Log = Log = {})); -(function (Log) { - Log.EntryAddedSchema = zod_1.default.lazy(() => zod_1.default.object({ - method: zod_1.default.literal('log.entryAdded'), - params: Log.EntrySchema, - })); -})(Log || (exports.Log = Log = {})); -exports.InputCommandSchema = zod_1.default.lazy(() => zod_1.default.union([ - Input.PerformActionsSchema, - Input.ReleaseActionsSchema, - Input.SetFilesSchema, -])); -var Input; -(function (Input) { - Input.ElementOriginSchema = zod_1.default.lazy(() => zod_1.default.object({ - type: zod_1.default.literal('element'), - element: Script.SharedReferenceSchema, - })); -})(Input || (exports.Input = Input = {})); -(function (Input) { - Input.PerformActionsParametersSchema = zod_1.default.lazy(() => zod_1.default.object({ - context: BrowsingContext.BrowsingContextSchema, - actions: zod_1.default.array(Input.SourceActionsSchema), - })); -})(Input || (exports.Input = Input = {})); -(function (Input) { - Input.NoneSourceActionsSchema = zod_1.default.lazy(() => zod_1.default.object({ - type: zod_1.default.literal('none'), - id: zod_1.default.string(), - actions: zod_1.default.array(Input.NoneSourceActionSchema), - })); -})(Input || (exports.Input = Input = {})); -(function (Input) { - Input.KeySourceActionsSchema = zod_1.default.lazy(() => zod_1.default.object({ - type: zod_1.default.literal('key'), - id: zod_1.default.string(), - actions: zod_1.default.array(Input.KeySourceActionSchema), - })); -})(Input || (exports.Input = Input = {})); -(function (Input) { - Input.PointerSourceActionsSchema = zod_1.default.lazy(() => zod_1.default.object({ - type: zod_1.default.literal('pointer'), - id: zod_1.default.string(), - parameters: Input.PointerParametersSchema.optional(), - actions: zod_1.default.array(Input.PointerSourceActionSchema), - })); -})(Input || (exports.Input = Input = {})); -(function (Input) { - Input.PerformActionsSchema = zod_1.default.lazy(() => zod_1.default.object({ - method: zod_1.default.literal('input.performActions'), - params: Input.PerformActionsParametersSchema, - })); -})(Input || (exports.Input = Input = {})); -(function (Input) { - Input.SourceActionsSchema = zod_1.default.lazy(() => zod_1.default.union([ - Input.NoneSourceActionsSchema, - Input.KeySourceActionsSchema, - Input.PointerSourceActionsSchema, - Input.WheelSourceActionsSchema, - ])); -})(Input || (exports.Input = Input = {})); -(function (Input) { - Input.NoneSourceActionSchema = zod_1.default.lazy(() => Input.PauseActionSchema); -})(Input || (exports.Input = Input = {})); -(function (Input) { - Input.KeySourceActionSchema = zod_1.default.lazy(() => zod_1.default.union([ - Input.PauseActionSchema, - Input.KeyDownActionSchema, - Input.KeyUpActionSchema, - ])); -})(Input || (exports.Input = Input = {})); -(function (Input) { - Input.PointerTypeSchema = zod_1.default.lazy(() => zod_1.default.enum(['mouse', 'pen', 'touch'])); -})(Input || (exports.Input = Input = {})); -(function (Input) { - Input.PointerParametersSchema = zod_1.default.lazy(() => zod_1.default.object({ - pointerType: Input.PointerTypeSchema.default('mouse').optional(), - })); -})(Input || (exports.Input = Input = {})); -(function (Input) { - Input.WheelSourceActionsSchema = zod_1.default.lazy(() => zod_1.default.object({ - type: zod_1.default.literal('wheel'), - id: zod_1.default.string(), - actions: zod_1.default.array(Input.WheelSourceActionSchema), - })); -})(Input || (exports.Input = Input = {})); -(function (Input) { - Input.PointerSourceActionSchema = zod_1.default.lazy(() => zod_1.default.union([ - Input.PauseActionSchema, - Input.PointerDownActionSchema, - Input.PointerUpActionSchema, - Input.PointerMoveActionSchema, - ])); -})(Input || (exports.Input = Input = {})); -(function (Input) { - Input.WheelSourceActionSchema = zod_1.default.lazy(() => zod_1.default.union([Input.PauseActionSchema, Input.WheelScrollActionSchema])); -})(Input || (exports.Input = Input = {})); -(function (Input) { - Input.PauseActionSchema = zod_1.default.lazy(() => zod_1.default.object({ - type: zod_1.default.literal('pause'), - duration: exports.JsUintSchema.optional(), - })); -})(Input || (exports.Input = Input = {})); -(function (Input) { - Input.KeyDownActionSchema = zod_1.default.lazy(() => zod_1.default.object({ - type: zod_1.default.literal('keyDown'), - value: zod_1.default.string(), - })); -})(Input || (exports.Input = Input = {})); -(function (Input) { - Input.KeyUpActionSchema = zod_1.default.lazy(() => zod_1.default.object({ - type: zod_1.default.literal('keyUp'), - value: zod_1.default.string(), - })); -})(Input || (exports.Input = Input = {})); -(function (Input) { - Input.PointerUpActionSchema = zod_1.default.lazy(() => zod_1.default.object({ - type: zod_1.default.literal('pointerUp'), - button: exports.JsUintSchema, - })); -})(Input || (exports.Input = Input = {})); -(function (Input) { - Input.PointerDownActionSchema = zod_1.default.lazy(() => zod_1.default - .object({ - type: zod_1.default.literal('pointerDown'), - button: exports.JsUintSchema, - }) - .and(Input.PointerCommonPropertiesSchema)); -})(Input || (exports.Input = Input = {})); -(function (Input) { - Input.PointerMoveActionSchema = zod_1.default.lazy(() => zod_1.default - .object({ - type: zod_1.default.literal('pointerMove'), - x: exports.JsIntSchema, - y: exports.JsIntSchema, - duration: exports.JsUintSchema.optional(), - origin: Input.OriginSchema.optional(), - }) - .and(Input.PointerCommonPropertiesSchema)); -})(Input || (exports.Input = Input = {})); -(function (Input) { - Input.WheelScrollActionSchema = zod_1.default.lazy(() => zod_1.default.object({ - type: zod_1.default.literal('scroll'), - x: exports.JsIntSchema, - y: exports.JsIntSchema, - deltaX: exports.JsIntSchema, - deltaY: exports.JsIntSchema, - duration: exports.JsUintSchema.optional(), - origin: Input.OriginSchema.default('viewport').optional(), - })); -})(Input || (exports.Input = Input = {})); -(function (Input) { - Input.PointerCommonPropertiesSchema = zod_1.default.lazy(() => zod_1.default.object({ - width: exports.JsUintSchema.default(1).optional(), - height: exports.JsUintSchema.default(1).optional(), - pressure: zod_1.default.number().default(0).optional(), - tangentialPressure: zod_1.default.number().default(0).optional(), - twist: zod_1.default - .number() - .int() - .nonnegative() - .gte(0) - .lte(359) - .default(0) - .optional(), - altitudeAngle: zod_1.default - .number() - .gte(0) - .lte(1.5707963267948966) - .default(0) - .optional(), - azimuthAngle: zod_1.default - .number() - .gte(0) - .lte(6.283185307179586) - .default(0) - .optional(), - })); -})(Input || (exports.Input = Input = {})); -(function (Input) { - Input.OriginSchema = zod_1.default.lazy(() => zod_1.default.union([ - zod_1.default.literal('viewport'), - zod_1.default.literal('pointer'), - Input.ElementOriginSchema, - ])); -})(Input || (exports.Input = Input = {})); -(function (Input) { - Input.ReleaseActionsSchema = zod_1.default.lazy(() => zod_1.default.object({ - method: zod_1.default.literal('input.releaseActions'), - params: Input.ReleaseActionsParametersSchema, - })); -})(Input || (exports.Input = Input = {})); -(function (Input) { - Input.ReleaseActionsParametersSchema = zod_1.default.lazy(() => zod_1.default.object({ - context: BrowsingContext.BrowsingContextSchema, - })); -})(Input || (exports.Input = Input = {})); -(function (Input) { - Input.SetFilesSchema = zod_1.default.lazy(() => zod_1.default.object({ - method: zod_1.default.literal('input.setFiles'), - params: Input.SetFilesParametersSchema, - })); -})(Input || (exports.Input = Input = {})); -(function (Input) { - Input.SetFilesParametersSchema = zod_1.default.lazy(() => zod_1.default.object({ - context: BrowsingContext.BrowsingContextSchema, - element: Script.SharedReferenceSchema, - files: zod_1.default.array(zod_1.default.string()), - })); -})(Input || (exports.Input = Input = {})); -//# sourceMappingURL=webdriver-bidi.js.map \ No newline at end of file diff --git a/node_modules/chromium-bidi/lib/cjs/protocol-parser/generated/webdriver-bidi.js.map b/node_modules/chromium-bidi/lib/cjs/protocol-parser/generated/webdriver-bidi.js.map deleted file mode 100644 index f89bdcd..0000000 --- a/node_modules/chromium-bidi/lib/cjs/protocol-parser/generated/webdriver-bidi.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"webdriver-bidi.js","sourceRoot":"","sources":["../../../../src/protocol-parser/generated/webdriver-bidi.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG;;;;;;AAEH;;;;GAIG;AAEH,6DAA6D;AAC7D,0CAA0C;AAE1C,8CAAoB;AAEP,QAAA,WAAW,GAAG,aAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CACrC,aAAC;KACE,MAAM,CAAC;IACN,IAAI,EAAE,aAAC,CAAC,OAAO,CAAC,OAAO,CAAC;CACzB,CAAC;KACD,GAAG,CAAC,uBAAe,CAAC;KACpB,GAAG,CAAC,wBAAgB,CAAC,CACzB,CAAC;AACW,QAAA,aAAa,GAAG,aAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CACvC,aAAC;KACE,MAAM,CAAC;IACN,EAAE,EAAE,oBAAY;CACjB,CAAC;KACD,GAAG,CAAC,yBAAiB,CAAC;KACtB,GAAG,CAAC,wBAAgB,CAAC,CACzB,CAAC;AACW,QAAA,qBAAqB,GAAG,aAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CAC/C,aAAC;KACE,MAAM,CAAC;IACN,IAAI,EAAE,aAAC,CAAC,OAAO,CAAC,SAAS,CAAC;IAC1B,EAAE,EAAE,oBAAY;IAChB,MAAM,EAAE,wBAAgB;CACzB,CAAC;KACD,GAAG,CAAC,wBAAgB,CAAC,CACzB,CAAC;AACW,QAAA,eAAe,GAAG,aAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CACzC,aAAC,CAAC,KAAK,CAAC;IACN,kCAA0B;IAC1B,sBAAc;IACd,0BAAkB;I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,KAAK,CAAC,aAAC,CAAC,MAAM,EAAE,CAAC;KAC3B,CAAC,CACH,CAAC;AACJ,CAAC,EARgB,KAAK,qBAAL,KAAK,QAQrB"} \ No newline at end of file diff --git a/node_modules/chromium-bidi/lib/cjs/protocol-parser/protocol-parser.d.ts b/node_modules/chromium-bidi/lib/cjs/protocol-parser/protocol-parser.d.ts deleted file mode 100644 index 5a8b685..0000000 --- a/node_modules/chromium-bidi/lib/cjs/protocol-parser/protocol-parser.d.ts +++ /dev/null @@ -1,132 +0,0 @@ -/** - * Copyright 2022 Google LLC. - * Copyright (c) Microsoft Corporation. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -/** - * @fileoverview Provides parsing and validator for WebDriver BiDi protocol. - * Parser types should match the `../protocol` types. - */ -import { z, type ZodType } from 'zod'; -import type * as Protocol from '../protocol/protocol.js'; -export declare function parseObject(obj: unknown, schema: T): z.infer; -/** @see https://w3c.github.io/webdriver-bidi/#module-browser */ -export declare namespace Browser { - function parseRemoveUserContextParams(params: unknown): Protocol.Browser.RemoveUserContextParameters; -} -/** @see https://w3c.github.io/webdriver-bidi/#module-network */ -export declare namespace Network { - function parseAddInterceptParameters(params: unknown): Protocol.Network.AddInterceptParameters; - function parseContinueRequestParameters(params: unknown): { - request: string; - body?: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - } | undefined; - cookies?: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[] | undefined; - headers?: { - value: { - type: "string"; - value: string; - } | { - type: "base64"; - value: string; - }; - name: string; - }[] | undefined; - method?: string | undefined; - url?: string | undefined; - }; - function parseContinueResponseParameters(params: unknown): Protocol.Network.ContinueResponseParameters; - function parseContinueWithAuthParameters(params: unknown): { - request: string; - } & ({ - credentials: { - type: "password"; - password: string; - username: string; - }; - action: "provideCredentials"; - } | { - action: "default" | "cancel"; - }); - function parseFailRequestParameters(params: unknown): { - request: string; - }; - function parseProvideResponseParameters(params: unknown): Protocol.Network.ProvideResponseParameters; - function parseRemoveInterceptParameters(params: unknown): { - intercept: string; - }; -} -/** @see https://w3c.github.io/webdriver-bidi/#module-script */ -export declare namespace Script { - function parseGetRealmsParams(params: unknown): Protocol.Script.GetRealmsParameters; - function parseEvaluateParams(params: unknown): Protocol.Script.EvaluateParameters; - function parseDisownParams(params: unknown): Protocol.Script.DisownParameters; - function parseAddPreloadScriptParams(params: unknown): Protocol.Script.AddPreloadScriptParameters; - function parseRemovePreloadScriptParams(params: unknown): { - script: string; - }; - function parseCallFunctionParams(params: unknown): Protocol.Script.CallFunctionParameters; -} -/** @see https://w3c.github.io/webdriver-bidi/#module-browsingContext */ -export declare namespace BrowsingContext { - function parseActivateParams(params: unknown): { - context: string; - }; - function parseGetTreeParams(params: unknown): Protocol.BrowsingContext.GetTreeParameters; - function parseNavigateParams(params: unknown): Protocol.BrowsingContext.NavigateParameters; - function parseReloadParams(params: unknown): Protocol.BrowsingContext.ReloadParameters; - function parseCreateParams(params: unknown): Protocol.BrowsingContext.CreateParameters; - function parseCloseParams(params: unknown): Protocol.BrowsingContext.CloseParameters; - function parseCaptureScreenshotParams(params: unknown): Protocol.BrowsingContext.CaptureScreenshotParameters; - function parsePrintParams(params: unknown): Protocol.BrowsingContext.PrintParameters; - function parseSetViewportParams(params: unknown): Protocol.BrowsingContext.SetViewportParameters; - function parseTraverseHistoryParams(params: unknown): Protocol.BrowsingContext.TraverseHistoryParameters; - function parseHandleUserPromptParameters(params: unknown): Protocol.BrowsingContext.HandleUserPromptParameters; -} -/** @see https://w3c.github.io/webdriver-bidi/#module-session */ -export declare namespace Session { - function parseSubscribeParams(params: unknown): Protocol.Session.SubscriptionRequest; -} -export declare namespace Input { - function parsePerformActionsParams(params: unknown): Protocol.Input.PerformActionsParameters; - function parseReleaseActionsParams(params: unknown): Protocol.Input.ReleaseActionsParameters; - function parseSetFilesParams(params: unknown): Protocol.Input.SetFilesParameters; -} -export declare namespace Storage { - function parseGetCookiesParams(params: unknown): Protocol.Storage.GetCookiesParameters; - function parseSetCookieParams(params: unknown): Protocol.Storage.SetCookieParameters; - function parseDeleteCookiesParams(params: unknown): Protocol.Storage.DeleteCookiesParameters; -} -export declare namespace Cdp { - function parseSendCommandRequest(params: unknown): Protocol.Cdp.SendCommandParameters; - function parseGetSessionRequest(params: unknown): Protocol.Cdp.GetSessionParameters; - function parseResolveRealmRequest(params: unknown): Protocol.Cdp.ResolveRealmParameters; -} -export declare namespace Permissions { - function parseSetPermissionsParams(params: unknown): Protocol.Permissions.SetPermissionParameters; -} diff --git a/node_modules/chromium-bidi/lib/cjs/protocol-parser/protocol-parser.js b/node_modules/chromium-bidi/lib/cjs/protocol-parser/protocol-parser.js deleted file mode 100644 index 3f69124..0000000 --- a/node_modules/chromium-bidi/lib/cjs/protocol-parser/protocol-parser.js +++ /dev/null @@ -1,283 +0,0 @@ -"use strict"; -/** - * Copyright 2022 Google LLC. - * Copyright (c) Microsoft Corporation. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { - Object.defineProperty(o, "default", { enumerable: true, value: v }); -}) : function(o, v) { - o["default"] = v; -}); -var __importStar = (this && this.__importStar) || function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); - __setModuleDefault(result, mod); - return result; -}; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.Permissions = exports.Cdp = exports.Storage = exports.Input = exports.Session = exports.BrowsingContext = exports.Script = exports.Network = exports.Browser = exports.parseObject = void 0; -/** - * @fileoverview Provides parsing and validator for WebDriver BiDi protocol. - * Parser types should match the `../protocol` types. - */ -const zod_1 = require("zod"); -const protocol_js_1 = require("../protocol/protocol.js"); -const WebDriverBidiPermissions = __importStar(require("./generated/webdriver-bidi-permissions.js")); -const WebDriverBidi = __importStar(require("./generated/webdriver-bidi.js")); -function parseObject(obj, schema) { - const parseResult = schema.safeParse(obj); - if (parseResult.success) { - return parseResult.data; - } - const errorMessage = parseResult.error.errors - .map((e) => `${e.message} in ` + - `${e.path.map((p) => JSON.stringify(p)).join('/')}.`) - .join(' '); - throw new protocol_js_1.InvalidArgumentException(errorMessage); -} -exports.parseObject = parseObject; -/** @see https://w3c.github.io/webdriver-bidi/#module-browser */ -var Browser; -(function (Browser) { - function parseRemoveUserContextParams(params) { - return parseObject(params, WebDriverBidi.Browser.RemoveUserContextParametersSchema); - } - Browser.parseRemoveUserContextParams = parseRemoveUserContextParams; -})(Browser || (exports.Browser = Browser = {})); -/** @see https://w3c.github.io/webdriver-bidi/#module-network */ -var Network; -(function (Network) { - function parseAddInterceptParameters(params) { - // Work around of `cddlconv` https://github.com/google/cddlconv/issues/19. - return parseObject(params, WebDriverBidi.Network.AddInterceptParametersSchema); - } - Network.parseAddInterceptParameters = parseAddInterceptParameters; - function parseContinueRequestParameters(params) { - return parseObject(params, WebDriverBidi.Network.ContinueRequestParametersSchema); - } - Network.parseContinueRequestParameters = parseContinueRequestParameters; - function parseContinueResponseParameters(params) { - // Work around of `cddlconv` https://github.com/google/cddlconv/issues/19. - // The generated schema `SameSiteSchema` in `src/protocol-parser/webdriver-bidi.ts` is - // of type `"none" | "strict" | "lax"` which is not assignable to generated enum - // `SameSite` in `src/protocol/webdriver-bidi.ts`. - // TODO: remove cast after https://github.com/google/cddlconv/issues/19 is fixed. - return parseObject(params, WebDriverBidi.Network.ContinueResponseParametersSchema); - } - Network.parseContinueResponseParameters = parseContinueResponseParameters; - function parseContinueWithAuthParameters(params) { - return parseObject(params, WebDriverBidi.Network.ContinueWithAuthParametersSchema); - } - Network.parseContinueWithAuthParameters = parseContinueWithAuthParameters; - function parseFailRequestParameters(params) { - return parseObject(params, WebDriverBidi.Network.FailRequestParametersSchema); - } - Network.parseFailRequestParameters = parseFailRequestParameters; - function parseProvideResponseParameters(params) { - // Work around of `cddlconv` https://github.com/google/cddlconv/issues/19. - // The generated schema `SameSiteSchema` in `src/protocol-parser/webdriver-bidi.ts` is - // of type `"none" | "strict" | "lax"` which is not assignable to generated enum - // `SameSite` in `src/protocol/webdriver-bidi.ts`. - // TODO: remove cast after https://github.com/google/cddlconv/issues/19 is fixed. - return parseObject(params, WebDriverBidi.Network.ProvideResponseParametersSchema); - } - Network.parseProvideResponseParameters = parseProvideResponseParameters; - function parseRemoveInterceptParameters(params) { - return parseObject(params, WebDriverBidi.Network.RemoveInterceptParametersSchema); - } - Network.parseRemoveInterceptParameters = parseRemoveInterceptParameters; -})(Network || (exports.Network = Network = {})); -/** @see https://w3c.github.io/webdriver-bidi/#module-script */ -var Script; -(function (Script) { - function parseGetRealmsParams(params) { - return parseObject(params, WebDriverBidi.Script.GetRealmsParametersSchema); - } - Script.parseGetRealmsParams = parseGetRealmsParams; - function parseEvaluateParams(params) { - return parseObject(params, WebDriverBidi.Script.EvaluateParametersSchema); - } - Script.parseEvaluateParams = parseEvaluateParams; - function parseDisownParams(params) { - return parseObject(params, WebDriverBidi.Script.DisownParametersSchema); - } - Script.parseDisownParams = parseDisownParams; - function parseAddPreloadScriptParams(params) { - return parseObject(params, WebDriverBidi.Script.AddPreloadScriptParametersSchema); - } - Script.parseAddPreloadScriptParams = parseAddPreloadScriptParams; - function parseRemovePreloadScriptParams(params) { - return parseObject(params, WebDriverBidi.Script.RemovePreloadScriptParametersSchema); - } - Script.parseRemovePreloadScriptParams = parseRemovePreloadScriptParams; - function parseCallFunctionParams(params) { - return parseObject(params, WebDriverBidi.Script.CallFunctionParametersSchema); - } - Script.parseCallFunctionParams = parseCallFunctionParams; -})(Script || (exports.Script = Script = {})); -/** @see https://w3c.github.io/webdriver-bidi/#module-browsingContext */ -var BrowsingContext; -(function (BrowsingContext) { - function parseActivateParams(params) { - return parseObject(params, WebDriverBidi.BrowsingContext.ActivateParametersSchema); - } - BrowsingContext.parseActivateParams = parseActivateParams; - function parseGetTreeParams(params) { - return parseObject(params, WebDriverBidi.BrowsingContext.GetTreeParametersSchema); - } - BrowsingContext.parseGetTreeParams = parseGetTreeParams; - function parseNavigateParams(params) { - return parseObject(params, WebDriverBidi.BrowsingContext.NavigateParametersSchema); - } - BrowsingContext.parseNavigateParams = parseNavigateParams; - function parseReloadParams(params) { - return parseObject(params, WebDriverBidi.BrowsingContext.ReloadParametersSchema); - } - BrowsingContext.parseReloadParams = parseReloadParams; - function parseCreateParams(params) { - return parseObject(params, WebDriverBidi.BrowsingContext.CreateParametersSchema); - } - BrowsingContext.parseCreateParams = parseCreateParams; - function parseCloseParams(params) { - return parseObject(params, WebDriverBidi.BrowsingContext.CloseParametersSchema); - } - BrowsingContext.parseCloseParams = parseCloseParams; - function parseCaptureScreenshotParams(params) { - return parseObject(params, WebDriverBidi.BrowsingContext.CaptureScreenshotParametersSchema); - } - BrowsingContext.parseCaptureScreenshotParams = parseCaptureScreenshotParams; - function parsePrintParams(params) { - return parseObject(params, WebDriverBidi.BrowsingContext.PrintParametersSchema); - } - BrowsingContext.parsePrintParams = parsePrintParams; - function parseSetViewportParams(params) { - return parseObject(params, WebDriverBidi.BrowsingContext.SetViewportParametersSchema); - } - BrowsingContext.parseSetViewportParams = parseSetViewportParams; - function parseTraverseHistoryParams(params) { - return parseObject(params, WebDriverBidi.BrowsingContext.TraverseHistoryParametersSchema); - } - BrowsingContext.parseTraverseHistoryParams = parseTraverseHistoryParams; - function parseHandleUserPromptParameters(params) { - return parseObject(params, WebDriverBidi.BrowsingContext.HandleUserPromptParametersSchema); - } - BrowsingContext.parseHandleUserPromptParameters = parseHandleUserPromptParameters; -})(BrowsingContext || (exports.BrowsingContext = BrowsingContext = {})); -/** @see https://w3c.github.io/webdriver-bidi/#module-session */ -var Session; -(function (Session) { - function parseSubscribeParams(params) { - return parseObject(params, WebDriverBidi.Session.SubscriptionRequestSchema); - } - Session.parseSubscribeParams = parseSubscribeParams; -})(Session || (exports.Session = Session = {})); -var Input; -(function (Input) { - function parsePerformActionsParams(params) { - return parseObject(params, WebDriverBidi.Input.PerformActionsParametersSchema); - } - Input.parsePerformActionsParams = parsePerformActionsParams; - function parseReleaseActionsParams(params) { - return parseObject(params, WebDriverBidi.Input.ReleaseActionsParametersSchema); - } - Input.parseReleaseActionsParams = parseReleaseActionsParams; - function parseSetFilesParams(params) { - return parseObject(params, WebDriverBidi.Input.SetFilesParametersSchema); - } - Input.parseSetFilesParams = parseSetFilesParams; -})(Input || (exports.Input = Input = {})); -var Storage; -(function (Storage) { - function parseGetCookiesParams(params) { - // Work around of `cddlconv` https://github.com/google/cddlconv/issues/19. - // The generated schema `SameSiteSchema` in `src/protocol-parser/webdriver-bidi.ts` is - // of type `"none" | "strict" | "lax"` which is not assignable to generated enum - // `SameSite` in `src/protocol/webdriver-bidi.ts`. - // TODO: remove cast after https://github.com/google/cddlconv/issues/19 is fixed. - return parseObject(params, WebDriverBidi.Storage.GetCookiesParametersSchema); - } - Storage.parseGetCookiesParams = parseGetCookiesParams; - function parseSetCookieParams(params) { - // Work around of `cddlconv` https://github.com/google/cddlconv/issues/19. - // The generated schema `SameSiteSchema` in `src/protocol-parser/webdriver-bidi.ts` is - // of type `"none" | "strict" | "lax"` which is not assignable to generated enum - // `SameSite` in `src/protocol/webdriver-bidi.ts`. - // TODO: remove cast after https://github.com/google/cddlconv/issues/19 is fixed. - return parseObject(params, WebDriverBidi.Storage.SetCookieParametersSchema); - } - Storage.parseSetCookieParams = parseSetCookieParams; - function parseDeleteCookiesParams(params) { - // Work around of `cddlconv` https://github.com/google/cddlconv/issues/19. - // The generated schema `SameSiteSchema` in `src/protocol-parser/webdriver-bidi.ts` is - // of type `"none" | "strict" | "lax"` which is not assignable to generated enum - // `SameSite` in `src/protocol/webdriver-bidi.ts`. - // TODO: remove cast after https://github.com/google/cddlconv/issues/19 is fixed. - return parseObject(params, WebDriverBidi.Storage.DeleteCookiesParametersSchema); - } - Storage.parseDeleteCookiesParams = parseDeleteCookiesParams; -})(Storage || (exports.Storage = Storage = {})); -var Cdp; -(function (Cdp) { - const SendCommandRequestSchema = zod_1.z.object({ - // Allowing any cdpMethod, and casting to proper type later on. - method: zod_1.z.string(), - // `passthrough` allows object to have any fields. - // https://github.com/colinhacks/zod#passthrough - params: zod_1.z.object({}).passthrough().optional(), - session: zod_1.z.string().optional(), - }); - const GetSessionRequestSchema = zod_1.z.object({ - context: WebDriverBidi.BrowsingContext.BrowsingContextSchema, - }); - const ResolveRealmRequestSchema = zod_1.z.object({ - realm: WebDriverBidi.Script.RealmSchema, - }); - function parseSendCommandRequest(params) { - return parseObject(params, SendCommandRequestSchema); - } - Cdp.parseSendCommandRequest = parseSendCommandRequest; - function parseGetSessionRequest(params) { - return parseObject(params, GetSessionRequestSchema); - } - Cdp.parseGetSessionRequest = parseGetSessionRequest; - function parseResolveRealmRequest(params) { - return parseObject(params, ResolveRealmRequestSchema); - } - Cdp.parseResolveRealmRequest = parseResolveRealmRequest; -})(Cdp || (exports.Cdp = Cdp = {})); -var Permissions; -(function (Permissions) { - function parseSetPermissionsParams(params) { - return { - // TODO: remove once "goog:" attributes are not needed. - ...params, - ...parseObject(params, WebDriverBidiPermissions.Permissions.SetPermissionParametersSchema), - }; - } - Permissions.parseSetPermissionsParams = parseSetPermissionsParams; -})(Permissions || (exports.Permissions = Permissions = {})); -//# sourceMappingURL=protocol-parser.js.map \ No newline at end of file diff --git a/node_modules/chromium-bidi/lib/cjs/protocol-parser/protocol-parser.js.map b/node_modules/chromium-bidi/lib/cjs/protocol-parser/protocol-parser.js.map deleted file mode 100644 index 1a2cc6f..0000000 --- a/node_modules/chromium-bidi/lib/cjs/protocol-parser/protocol-parser.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"protocol-parser.js","sourceRoot":"","sources":["../../../src/protocol-parser/protocol-parser.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH;;;GAGG;AACH,6BAAoC;AAGpC,yDAAiE;AAEjE,oGAAsF;AACtF,6EAA+D;AAE/D,SAAgB,WAAW,CACzB,GAAY,EACZ,MAAS;IAET,MAAM,WAAW,GAAG,MAAM,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC;IAC1C,IAAI,WAAW,CAAC,OAAO,EAAE,CAAC;QACxB,OAAO,WAAW,CAAC,IAAI,CAAC;IAC1B,CAAC;IACD,MAAM,YAAY,GAAG,WAAW,CAAC,KAAK,CAAC,MAAM;SAC1C,GAAG,CACF,CAAC,CAAC,EAAE,EAAE,CACJ,GAAG,CAAC,CAAC,OAAO,MAAM;QAClB,GAAG,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAU,EAAE,EAAE,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,GAAG,CAChE;SACA,IAAI,CAAC,GAAG,CAAC,CAAC;IAEb,MAAM,IAAI,sCAAwB,CAAC,YAAY,CAAC,CAAC;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/protocol/ErrorResponse.d.ts b/node_modules/chromium-bidi/lib/cjs/protocol/ErrorResponse.d.ts deleted file mode 100644 index 77ccd3e..0000000 --- a/node_modules/chromium-bidi/lib/cjs/protocol/ErrorResponse.d.ts +++ /dev/null @@ -1,94 +0,0 @@ -/** - * Copyright 2023 Google LLC. - * Copyright (c) Microsoft Corporation. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -import type { ErrorResponse } from './generated/webdriver-bidi.js'; -import { ErrorCode } from './generated/webdriver-bidi.js'; -export declare class Exception { - error: ErrorCode; - message: string; - stacktrace?: string | undefined; - constructor(error: ErrorCode, message: string, stacktrace?: string | undefined); - toErrorResponse(commandId: number): ErrorResponse; -} -export declare class InvalidArgumentException extends Exception { - constructor(message: string, stacktrace?: string); -} -export declare class InvalidSessionIdException extends Exception { - constructor(message: string, stacktrace?: string); -} -export declare class MoveTargetOutOfBoundsException extends Exception { - constructor(message: string, stacktrace?: string); -} -export declare class NoSuchAlertException extends Exception { - constructor(message: string, stacktrace?: string); -} -export declare class NoSuchElementException extends Exception { - constructor(message: string, stacktrace?: string); -} -export declare class NoSuchFrameException extends Exception { - constructor(message: string, stacktrace?: string); -} -export declare class NoSuchHandleException extends Exception { - constructor(message: string, stacktrace?: string); -} -export declare class NoSuchHistoryEntryException extends Exception { - constructor(message: string, stacktrace?: string); -} -export declare class NoSuchInterceptException extends Exception { - constructor(message: string, stacktrace?: string); -} -export declare class NoSuchNodeException extends Exception { - constructor(message: string, stacktrace?: string); -} -export declare class NoSuchRequestException extends Exception { - constructor(message: string, stacktrace?: string); -} -export declare class NoSuchScriptException extends Exception { - constructor(message: string, stacktrace?: string); -} -export declare class NoSuchUserContextException extends Exception { - constructor(message: string, stacktrace?: string); -} -export declare class SessionNotCreatedException extends Exception { - constructor(message: string, stacktrace?: string); -} -export declare class UnknownCommandException extends Exception { - constructor(message: string, stacktrace?: string); -} -export declare class UnknownErrorException extends Exception { - constructor(message: string, stacktrace?: string | undefined); -} -export declare class UnableToCaptureScreenException extends Exception { - constructor(message: string, stacktrace?: string); -} -export declare class UnableToCloseBrowserException extends Exception { - constructor(message: string, stacktrace?: string); -} -export declare class UnsupportedOperationException extends Exception { - constructor(message: string, stacktrace?: string); -} -export declare class NoSuchStoragePartitionException extends Exception { - constructor(message: string, stacktrace?: string); -} -export declare class UnableToSetCookieException extends Exception { - constructor(message: string, stacktrace?: string); -} -export declare class UnableToSetFileInputException extends Exception { - constructor(message: string, stacktrace?: string); -} -export declare class UnderspecifiedStoragePartitionException extends Exception { - constructor(message: string, stacktrace?: string); -} diff --git a/node_modules/chromium-bidi/lib/cjs/protocol/ErrorResponse.js b/node_modules/chromium-bidi/lib/cjs/protocol/ErrorResponse.js deleted file mode 100644 index 8d0ee79..0000000 --- a/node_modules/chromium-bidi/lib/cjs/protocol/ErrorResponse.js +++ /dev/null @@ -1,162 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.UnderspecifiedStoragePartitionException = exports.UnableToSetFileInputException = exports.UnableToSetCookieException = exports.NoSuchStoragePartitionException = exports.UnsupportedOperationException = exports.UnableToCloseBrowserException = exports.UnableToCaptureScreenException = exports.UnknownErrorException = exports.UnknownCommandException = exports.SessionNotCreatedException = exports.NoSuchUserContextException = exports.NoSuchScriptException = exports.NoSuchRequestException = exports.NoSuchNodeException = exports.NoSuchInterceptException = exports.NoSuchHistoryEntryException = exports.NoSuchHandleException = exports.NoSuchFrameException = exports.NoSuchElementException = exports.NoSuchAlertException = exports.MoveTargetOutOfBoundsException = exports.InvalidSessionIdException = exports.InvalidArgumentException = exports.Exception = void 0; -class Exception { - error; - message; - stacktrace; - constructor(error, message, stacktrace) { - this.error = error; - this.message = message; - this.stacktrace = stacktrace; - } - toErrorResponse(commandId) { - return { - type: 'error', - id: commandId, - error: this.error, - message: this.message, - stacktrace: this.stacktrace, - }; - } -} -exports.Exception = Exception; -class InvalidArgumentException extends Exception { - constructor(message, stacktrace) { - super("invalid argument" /* ErrorCode.InvalidArgument */, message, stacktrace); - } -} -exports.InvalidArgumentException = InvalidArgumentException; -class InvalidSessionIdException extends Exception { - constructor(message, stacktrace) { - super("invalid session id" /* ErrorCode.InvalidSessionId */, message, stacktrace); - } -} -exports.InvalidSessionIdException = InvalidSessionIdException; -class MoveTargetOutOfBoundsException extends Exception { - constructor(message, stacktrace) { - super("move target out of bounds" /* ErrorCode.MoveTargetOutOfBounds */, message, stacktrace); - } -} -exports.MoveTargetOutOfBoundsException = MoveTargetOutOfBoundsException; -class NoSuchAlertException extends Exception { - constructor(message, stacktrace) { - super("no such alert" /* ErrorCode.NoSuchAlert */, message, stacktrace); - } -} -exports.NoSuchAlertException = NoSuchAlertException; -class NoSuchElementException extends Exception { - constructor(message, stacktrace) { - super("no such element" /* ErrorCode.NoSuchElement */, message, stacktrace); - } -} -exports.NoSuchElementException = NoSuchElementException; -class NoSuchFrameException extends Exception { - constructor(message, stacktrace) { - super("no such frame" /* ErrorCode.NoSuchFrame */, message, stacktrace); - } -} -exports.NoSuchFrameException = NoSuchFrameException; -class NoSuchHandleException extends Exception { - constructor(message, stacktrace) { - super("no such handle" /* ErrorCode.NoSuchHandle */, message, stacktrace); - } -} -exports.NoSuchHandleException = NoSuchHandleException; -class NoSuchHistoryEntryException extends Exception { - constructor(message, stacktrace) { - super("no such history entry" /* ErrorCode.NoSuchHistoryEntry */, message, stacktrace); - } -} -exports.NoSuchHistoryEntryException = NoSuchHistoryEntryException; -class NoSuchInterceptException extends Exception { - constructor(message, stacktrace) { - super("no such intercept" /* ErrorCode.NoSuchIntercept */, message, stacktrace); - } -} -exports.NoSuchInterceptException = NoSuchInterceptException; -class NoSuchNodeException extends Exception { - constructor(message, stacktrace) { - super("no such node" /* ErrorCode.NoSuchNode */, message, stacktrace); - } -} -exports.NoSuchNodeException = NoSuchNodeException; -class NoSuchRequestException extends Exception { - constructor(message, stacktrace) { - super("no such request" /* ErrorCode.NoSuchRequest */, message, stacktrace); - } -} -exports.NoSuchRequestException = NoSuchRequestException; -class NoSuchScriptException extends Exception { - constructor(message, stacktrace) { - super("no such script" /* ErrorCode.NoSuchScript */, message, stacktrace); - } -} -exports.NoSuchScriptException = NoSuchScriptException; -class NoSuchUserContextException extends Exception { - constructor(message, stacktrace) { - super("no such user context" /* ErrorCode.NoSuchUserContext */, message, stacktrace); - } -} -exports.NoSuchUserContextException = NoSuchUserContextException; -class SessionNotCreatedException extends Exception { - constructor(message, stacktrace) { - super("session not created" /* ErrorCode.SessionNotCreated */, message, stacktrace); - } -} -exports.SessionNotCreatedException = SessionNotCreatedException; -class UnknownCommandException extends Exception { - constructor(message, stacktrace) { - super("unknown command" /* ErrorCode.UnknownCommand */, message, stacktrace); - } -} -exports.UnknownCommandException = UnknownCommandException; -class UnknownErrorException extends Exception { - constructor(message, stacktrace = new Error().stack) { - super("unknown error" /* ErrorCode.UnknownError */, message, stacktrace); - } -} -exports.UnknownErrorException = UnknownErrorException; -class UnableToCaptureScreenException extends Exception { - constructor(message, stacktrace) { - super("unable to capture screen" /* ErrorCode.UnableToCaptureScreen */, message, stacktrace); - } -} -exports.UnableToCaptureScreenException = UnableToCaptureScreenException; -class UnableToCloseBrowserException extends Exception { - constructor(message, stacktrace) { - super("unable to close browser" /* ErrorCode.UnableToCloseBrowser */, message, stacktrace); - } -} -exports.UnableToCloseBrowserException = UnableToCloseBrowserException; -class UnsupportedOperationException extends Exception { - constructor(message, stacktrace) { - super("unsupported operation" /* ErrorCode.UnsupportedOperation */, message, stacktrace); - } -} -exports.UnsupportedOperationException = UnsupportedOperationException; -class NoSuchStoragePartitionException extends Exception { - constructor(message, stacktrace) { - super("no such storage partition" /* ErrorCode.NoSuchStoragePartition */, message, stacktrace); - } -} -exports.NoSuchStoragePartitionException = NoSuchStoragePartitionException; -class UnableToSetCookieException extends Exception { - constructor(message, stacktrace) { - super("unable to set cookie" /* ErrorCode.UnableToSetCookie */, message, stacktrace); - } -} -exports.UnableToSetCookieException = UnableToSetCookieException; -class UnableToSetFileInputException extends Exception { - constructor(message, stacktrace) { - super("unable to set file input" /* ErrorCode.UnableToSetFileInput */, message, stacktrace); - } -} -exports.UnableToSetFileInputException = UnableToSetFileInputException; -class UnderspecifiedStoragePartitionException extends Exception { - constructor(message, stacktrace) { - super("underspecified storage partition" /* ErrorCode.UnderspecifiedStoragePartition */, message, stacktrace); - } -} -exports.UnderspecifiedStoragePartitionException = UnderspecifiedStoragePartitionException; -//# sourceMappingURL=ErrorResponse.js.map \ No newline at end of file diff --git a/node_modules/chromium-bidi/lib/cjs/protocol/ErrorResponse.js.map b/node_modules/chromium-bidi/lib/cjs/protocol/ErrorResponse.js.map deleted file mode 100644 index 29168d3..0000000 --- a/node_modules/chromium-bidi/lib/cjs/protocol/ErrorResponse.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"ErrorResponse.js","sourceRoot":"","sources":["../../../src/protocol/ErrorResponse.ts"],"names":[],"mappings":";;;AAmBA,MAAa,SAAS;IAEX;IACA;IACA;IAHT,YACS,KAAgB,EAChB,OAAe,EACf,UAAmB;QAFnB,UAAK,GAAL,KAAK,CAAW;QAChB,YAAO,GAAP,OAAO,CAAQ;QACf,eAAU,GAAV,UAAU,CAAS;IACzB,CAAC;IAEJ,eAAe,CAAC,SAAiB;QAC/B,OAAO;YACL,IAAI,EAAE,OAAO;YACb,EAAE,EAAE,SAAS;YACb,KAAK,EAAE,IAAI,CAAC,KAAK;YACjB,OAAO,EAAE,IAAI,CAAC,OAAO;YACrB,UAAU,EAAE,IAAI,CAAC,UAAU;SAC5B,CAAC;IACJ,CAAC;CACF;AAhBD,8BAgBC;AAED,MAAa,wBAAyB,SAAQ,SAAS;IACrD,YAAY,OAA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AIC;AAED,MAAa,6BAA8B,SAAQ,SAAS;IAC1D,YAAY,OAAe,EAAE,UAAmB;QAC9C,KAAK,iEAAiC,OAAO,EAAE,UAAU,CAAC,CAAC;IAC7D,CAAC;CACF;AAJD,sEAIC;AAED,MAAa,6BAA8B,SAAQ,SAAS;IAC1D,YAAY,OAAe,EAAE,UAAmB;QAC9C,KAAK,+DAAiC,OAAO,EAAE,UAAU,CAAC,CAAC;IAC7D,CAAC;CACF;AAJD,sEAIC;AAED,MAAa,+BAAgC,SAAQ,SAAS;IAC5D,YAAY,OAAe,EAAE,UAAmB;QAC9C,KAAK,qEAAmC,OAAO,EAAE,UAAU,CAAC,CAAC;IAC/D,CAAC;CACF;AAJD,0EAIC;AAED,MAAa,0BAA2B,SAAQ,SAAS;IACvD,YAAY,OAAe,EAAE,UAAmB;QAC9C,KAAK,2DAA8B,OAAO,EAAE,UAAU,CAAC,CAAC;IAC1D,CAAC;CACF;AAJD,gEAIC;AAED,MAAa,6BAA8B,SAAQ,SAAS;IAC1D,YAAY,OAAe,EAAE,UAAmB;QAC9C,KAAK,kEAAiC,OAAO,EAAE,UAAU,CAAC,CAAC;IAC7D,CAAC;CACF;AAJD,sEAIC;AAED,MAAa,uCAAwC,SAAQ,SAAS;IACpE,YAAY,OAAe,EAAE,UAAmB;QAC9C,KAAK,oFAA2C,OAAO,EAAE,UAAU,CAAC,CAAC;IACvE,CAAC;CACF;AAJD,0FAIC"} \ No newline at end of file diff --git a/node_modules/chromium-bidi/lib/cjs/protocol/cdp.d.ts b/node_modules/chromium-bidi/lib/cjs/protocol/cdp.d.ts deleted file mode 100644 index 6a10f67..0000000 --- a/node_modules/chromium-bidi/lib/cjs/protocol/cdp.d.ts +++ /dev/null @@ -1,77 +0,0 @@ -/** - * Copyright 2023 Google LLC. - * Copyright (c) Microsoft Corporation. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -import type { Protocol } from 'devtools-protocol'; -import type { ProtocolMapping } from 'devtools-protocol/types/protocol-mapping.js'; -import type { BrowsingContext, JsUint, Script } from './generated/webdriver-bidi.js'; -export type EventNames = Event['method']; -export type Message = CommandResponse | Event; -export type Command = { - id: JsUint; -} & CommandData; -export type CommandData = SendCommandCommand | GetSessionCommand | ResolveRealmCommand; -export type CommandResponse = { - type: 'success'; - id: JsUint; - result: ResultData; -}; -export type ResultData = SendCommandResult | GetSessionResult | ResolveRealmResult; -export type SendCommandCommand = { - method: 'cdp.sendCommand'; - params: SendCommandParameters; -}; -export type SendCommandParameters = { - method: Command; - params?: ProtocolMapping.Commands[Command]['paramsType'][0]; - session?: Protocol.Target.SessionID; -}; -export type SendCommandResult = { - result: ProtocolMapping.Commands[keyof ProtocolMapping.Commands]['returnType']; - session?: Protocol.Target.SessionID; -}; -export type GetSessionCommand = { - method: 'cdp.getSession'; - params: GetSessionParameters; -}; -export type GetSessionParameters = { - context: BrowsingContext.BrowsingContext; -}; -export type GetSessionResult = { - session?: Protocol.Target.SessionID; -}; -export type ResolveRealmCommand = { - method: 'cdp.resolveRealm'; - params: ResolveRealmParameters; -}; -export type ResolveRealmParameters = { - realm: Script.Realm; -}; -export type ResolveRealmResult = { - executionContextId: Protocol.Runtime.ExecutionContextId; -}; -export type Event = { - type: 'event'; -} & EventData; -export type EventData = EventDataFor; -export type EventDataFor = { - method: `cdp.${EventName}`; - params: EventParametersFor; -}; -export type EventParametersFor = { - event: EventName; - params: ProtocolMapping.Events[EventName][0]; - session: Protocol.Target.SessionID; -}; diff --git a/node_modules/chromium-bidi/lib/cjs/protocol/cdp.js b/node_modules/chromium-bidi/lib/cjs/protocol/cdp.js deleted file mode 100644 index 6d0d17c..0000000 --- a/node_modules/chromium-bidi/lib/cjs/protocol/cdp.js +++ /dev/null @@ -1,3 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -//# sourceMappingURL=cdp.js.map \ No newline at end of file diff --git a/node_modules/chromium-bidi/lib/cjs/protocol/cdp.js.map b/node_modules/chromium-bidi/lib/cjs/protocol/cdp.js.map deleted file mode 100644 index 8a311df..0000000 --- a/node_modules/chromium-bidi/lib/cjs/protocol/cdp.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"cdp.js","sourceRoot":"","sources":["../../../src/protocol/cdp.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/node_modules/chromium-bidi/lib/cjs/protocol/chromium-bidi.d.ts b/node_modules/chromium-bidi/lib/cjs/protocol/chromium-bidi.d.ts deleted file mode 100644 index 2ea1ee5..0000000 --- a/node_modules/chromium-bidi/lib/cjs/protocol/chromium-bidi.d.ts +++ /dev/null @@ -1,79 +0,0 @@ -/** - * Copyright 2023 Google LLC. - * Copyright (c) Microsoft Corporation. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -import type * as Cdp from './cdp.js'; -import type * as WebDriverBidiPermissions from './generated/webdriver-bidi-permissions.js'; -import type * as WebDriverBidi from './generated/webdriver-bidi.js'; -export type EventNames = Cdp.EventNames | `${BiDiModule}` | `${BrowsingContext.EventNames}` | `${Log.EventNames}` | `${Network.EventNames}` | `${Script.EventNames}`; -export declare enum BiDiModule { - Browser = "browser", - BrowsingContext = "browsingContext", - Cdp = "cdp", - Input = "input", - Log = "log", - Network = "network", - Script = "script", - Session = "session" -} -export declare namespace Script { - enum EventNames { - Message = "script.message", - RealmCreated = "script.realmCreated", - RealmDestroyed = "script.realmDestroyed" - } -} -export declare namespace Log { - enum EventNames { - LogEntryAdded = "log.entryAdded" - } -} -export declare namespace BrowsingContext { - enum EventNames { - ContextCreated = "browsingContext.contextCreated", - ContextDestroyed = "browsingContext.contextDestroyed", - DomContentLoaded = "browsingContext.domContentLoaded", - DownloadWillBegin = "browsingContext.downloadWillBegin", - FragmentNavigated = "browsingContext.fragmentNavigated", - Load = "browsingContext.load", - NavigationAborted = "browsingContext.navigationAborted", - NavigationFailed = "browsingContext.navigationFailed", - NavigationStarted = "browsingContext.navigationStarted", - UserPromptClosed = "browsingContext.userPromptClosed", - UserPromptOpened = "browsingContext.userPromptOpened" - } -} -export declare namespace Network { - enum EventNames { - AuthRequired = "network.authRequired", - BeforeRequestSent = "network.beforeRequestSent", - FetchError = "network.fetchError", - ResponseCompleted = "network.responseCompleted", - ResponseStarted = "network.responseStarted" - } -} -export type Command = (WebDriverBidi.Command | Cdp.Command | ({ - id: WebDriverBidi.JsUint; -} & WebDriverBidiPermissions.PermissionsCommand)) & { - channel?: WebDriverBidi.Script.Channel; -}; -export type CommandResponse = WebDriverBidi.CommandResponse | Cdp.CommandResponse; -export type Event = WebDriverBidi.Event | Cdp.Event; -export declare const EVENT_NAMES: Set; -export type ResultData = WebDriverBidi.ResultData | Cdp.ResultData; -export type BidiPlusChannel = string | null; -export type Message = (WebDriverBidi.Message | Cdp.Message) & { - channel?: BidiPlusChannel; -}; diff --git a/node_modules/chromium-bidi/lib/cjs/protocol/chromium-bidi.js b/node_modules/chromium-bidi/lib/cjs/protocol/chromium-bidi.js deleted file mode 100644 index 5cd9e07..0000000 --- a/node_modules/chromium-bidi/lib/cjs/protocol/chromium-bidi.js +++ /dev/null @@ -1,93 +0,0 @@ -"use strict"; -/** - * Copyright 2023 Google LLC. - * Copyright (c) Microsoft Corporation. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -Object.defineProperty(exports, "__esModule", { value: true }); -exports.EVENT_NAMES = exports.Network = exports.BrowsingContext = exports.Log = exports.Script = exports.BiDiModule = void 0; -// keep-sorted end -var BiDiModule; -(function (BiDiModule) { - // keep-sorted start - BiDiModule["Browser"] = "browser"; - BiDiModule["BrowsingContext"] = "browsingContext"; - BiDiModule["Cdp"] = "cdp"; - BiDiModule["Input"] = "input"; - BiDiModule["Log"] = "log"; - BiDiModule["Network"] = "network"; - BiDiModule["Script"] = "script"; - BiDiModule["Session"] = "session"; - // keep-sorted end -})(BiDiModule || (exports.BiDiModule = BiDiModule = {})); -var Script; -(function (Script) { - let EventNames; - (function (EventNames) { - // keep-sorted start - EventNames["Message"] = "script.message"; - EventNames["RealmCreated"] = "script.realmCreated"; - EventNames["RealmDestroyed"] = "script.realmDestroyed"; - // keep-sorted end - })(EventNames = Script.EventNames || (Script.EventNames = {})); -})(Script || (exports.Script = Script = {})); -var Log; -(function (Log) { - let EventNames; - (function (EventNames) { - EventNames["LogEntryAdded"] = "log.entryAdded"; - })(EventNames = Log.EventNames || (Log.EventNames = {})); -})(Log || (exports.Log = Log = {})); -var BrowsingContext; -(function (BrowsingContext) { - let EventNames; - (function (EventNames) { - // keep-sorted start - EventNames["ContextCreated"] = "browsingContext.contextCreated"; - EventNames["ContextDestroyed"] = "browsingContext.contextDestroyed"; - EventNames["DomContentLoaded"] = "browsingContext.domContentLoaded"; - EventNames["DownloadWillBegin"] = "browsingContext.downloadWillBegin"; - EventNames["FragmentNavigated"] = "browsingContext.fragmentNavigated"; - EventNames["Load"] = "browsingContext.load"; - EventNames["NavigationAborted"] = "browsingContext.navigationAborted"; - EventNames["NavigationFailed"] = "browsingContext.navigationFailed"; - EventNames["NavigationStarted"] = "browsingContext.navigationStarted"; - EventNames["UserPromptClosed"] = "browsingContext.userPromptClosed"; - EventNames["UserPromptOpened"] = "browsingContext.userPromptOpened"; - // keep-sorted end - })(EventNames = BrowsingContext.EventNames || (BrowsingContext.EventNames = {})); -})(BrowsingContext || (exports.BrowsingContext = BrowsingContext = {})); -var Network; -(function (Network) { - let EventNames; - (function (EventNames) { - // keep-sorted start - EventNames["AuthRequired"] = "network.authRequired"; - EventNames["BeforeRequestSent"] = "network.beforeRequestSent"; - EventNames["FetchError"] = "network.fetchError"; - EventNames["ResponseCompleted"] = "network.responseCompleted"; - EventNames["ResponseStarted"] = "network.responseStarted"; - // keep-sorted end - })(EventNames = Network.EventNames || (Network.EventNames = {})); -})(Network || (exports.Network = Network = {})); -exports.EVENT_NAMES = new Set([ - // keep-sorted start - ...Object.values(BiDiModule), - ...Object.values(BrowsingContext.EventNames), - ...Object.values(Log.EventNames), - ...Object.values(Network.EventNames), - ...Object.values(Script.EventNames), - // keep-sorted end -]); -//# sourceMappingURL=chromium-bidi.js.map \ No newline at end of file diff --git a/node_modules/chromium-bidi/lib/cjs/protocol/chromium-bidi.js.map b/node_modules/chromium-bidi/lib/cjs/protocol/chromium-bidi.js.map deleted file mode 100644 index d9d1d3b..0000000 --- a/node_modules/chromium-bidi/lib/cjs/protocol/chromium-bidi.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"chromium-bidi.js","sourceRoot":"","sources":["../../../src/protocol/chromium-bidi.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG;;;AAcH,kBAAkB;AAElB,IAAY,UAWX;AAXD,WAAY,UAAU;IACpB,oBAAoB;IACpB,iCAAmB,CAAA;IACnB,iDAAmC,CAAA;IACnC,yBAAW,CAAA;IACX,6BAAe,CAAA;IACf,yBAAW,CAAA;IACX,iCAAmB,CAAA;IACnB,+BAAiB,CAAA;IACjB,iCAAmB,CAAA;IACnB,kBAAkB;AACpB,CAAC,EAXW,UAAU,0BAAV,UAAU,QAWrB;A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QAAA,WAAW,GAAG,IAAI,GAAG,CAAC;IACjC,oBAAoB;IACpB,GAAG,MAAM,CAAC,MAAM,CAAC,UAAU,CAAC;IAC5B,GAAG,MAAM,CAAC,MAAM,CAAC,eAAe,CAAC,UAAU,CAAC;IAC5C,GAAG,MAAM,CAAC,MAAM,CAAC,GAAG,CAAC,UAAU,CAAC;IAChC,GAAG,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC,UAAU,CAAC;IACpC,GAAG,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,UAAU,CAAC;IACnC,kBAAkB;CACnB,CAAC,CAAC"} \ No newline at end of file diff --git a/node_modules/chromium-bidi/lib/cjs/protocol/generated/webdriver-bidi-permissions.d.ts b/node_modules/chromium-bidi/lib/cjs/protocol/generated/webdriver-bidi-permissions.d.ts deleted file mode 100644 index c3bfe22..0000000 --- a/node_modules/chromium-bidi/lib/cjs/protocol/generated/webdriver-bidi-permissions.d.ts +++ /dev/null @@ -1,47 +0,0 @@ -/** - * Copyright 2024 Google LLC. - * Copyright (c) Microsoft Corporation. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -/** - * THIS FILE IS AUTOGENERATED by cddlconv 0.1.3. - * Run `node tools/generate-bidi-types.mjs` to regenerate. - * @see https://github.com/w3c/webdriver-bidi/blob/master/index.bs - */ -export type PermissionsCommand = Permissions.SetPermission; -export declare namespace Permissions { - type PermissionDescriptor = { - name: string; - }; -} -export declare namespace Permissions { - const enum PermissionState { - Granted = "granted", - Denied = "denied", - Prompt = "prompt" - } -} -export declare namespace Permissions { - type SetPermission = { - method: 'permissions.setPermission'; - params: Permissions.SetPermissionParameters; - }; -} -export declare namespace Permissions { - type SetPermissionParameters = { - descriptor: Permissions.PermissionDescriptor; - state: Permissions.PermissionState; - origin: string; - }; -} diff --git a/node_modules/chromium-bidi/lib/cjs/protocol/generated/webdriver-bidi-permissions.js b/node_modules/chromium-bidi/lib/cjs/protocol/generated/webdriver-bidi-permissions.js deleted file mode 100644 index 8d94e63..0000000 --- a/node_modules/chromium-bidi/lib/cjs/protocol/generated/webdriver-bidi-permissions.js +++ /dev/null @@ -1,19 +0,0 @@ -"use strict"; -/** - * Copyright 2024 Google LLC. - * Copyright (c) Microsoft Corporation. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -Object.defineProperty(exports, "__esModule", { value: true }); -//# sourceMappingURL=webdriver-bidi-permissions.js.map \ No newline at end of file diff --git a/node_modules/chromium-bidi/lib/cjs/protocol/generated/webdriver-bidi-permissions.js.map b/node_modules/chromium-bidi/lib/cjs/protocol/generated/webdriver-bidi-permissions.js.map deleted file mode 100644 index 57382d5..0000000 --- a/node_modules/chromium-bidi/lib/cjs/protocol/generated/webdriver-bidi-permissions.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"webdriver-bidi-permissions.js","sourceRoot":"","sources":["../../../../src/protocol/generated/webdriver-bidi-permissions.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG"} \ No newline at end of file diff --git a/node_modules/chromium-bidi/lib/cjs/protocol/generated/webdriver-bidi.d.ts b/node_modules/chromium-bidi/lib/cjs/protocol/generated/webdriver-bidi.d.ts deleted file mode 100644 index 1879aaa..0000000 --- a/node_modules/chromium-bidi/lib/cjs/protocol/generated/webdriver-bidi.d.ts +++ /dev/null @@ -1,1981 +0,0 @@ -/** - * Copyright 2024 Google LLC. - * Copyright (c) Microsoft Corporation. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -/** - * THIS FILE IS AUTOGENERATED by cddlconv 0.1.3. - * Run `node tools/generate-bidi-types.mjs` to regenerate. - * @see https://github.com/w3c/webdriver-bidi/blob/master/index.bs - */ -export type Event = { - type: 'event'; -} & EventData & Extensible; -export type Command = { - id: JsUint; -} & CommandData & Extensible; -export type CommandResponse = { - type: 'success'; - id: JsUint; - result: ResultData; -} & Extensible; -export type EventData = BrowsingContextEvent | LogEvent | NetworkEvent | ScriptEvent; -export type CommandData = BrowserCommand | BrowsingContextCommand | InputCommand | NetworkCommand | ScriptCommand | SessionCommand | StorageCommand; -export type ResultData = BrowsingContextResult | EmptyResult | NetworkResult | ScriptResult | SessionResult | StorageResult; -export type EmptyParams = Extensible; -export type Message = CommandResponse | ErrorResponse | Event; -export type ErrorResponse = { - type: 'error'; - id: JsUint | null; - error: ErrorCode; - message: string; - stacktrace?: string; -} & Extensible; -export type EmptyResult = Extensible; -export type Extensible = { - [key: string]: any; -}; -/** - * Must be between `-9007199254740991` and `9007199254740991`, inclusive. - */ -export type JsInt = number; -/** - * Must be between `0` and `9007199254740991`, inclusive. - */ -export type JsUint = number; -export declare const enum ErrorCode { - InvalidArgument = "invalid argument", - InvalidSessionId = "invalid session id", - MoveTargetOutOfBounds = "move target out of bounds", - NoSuchAlert = "no such alert", - NoSuchElement = "no such element", - NoSuchFrame = "no such frame", - NoSuchHandle = "no such handle", - NoSuchHistoryEntry = "no such history entry", - NoSuchIntercept = "no such intercept", - NoSuchNode = "no such node", - NoSuchRequest = "no such request", - NoSuchScript = "no such script", - NoSuchStoragePartition = "no such storage partition", - NoSuchUserContext = "no such user context", - SessionNotCreated = "session not created", - UnableToCaptureScreen = "unable to capture screen", - UnableToCloseBrowser = "unable to close browser", - UnableToSetCookie = "unable to set cookie", - UnableToSetFileInput = "unable to set file input", - UnderspecifiedStoragePartition = "underspecified storage partition", - UnknownCommand = "unknown command", - UnknownError = "unknown error", - UnsupportedOperation = "unsupported operation" -} -export type SessionCommand = Session.End | Session.New | Session.Status | Session.Subscribe | Session.Unsubscribe; -export declare namespace Session { - type ProxyConfiguration = Session.AutodetectProxyConfiguration | Session.DirectProxyConfiguration | Session.ManualProxyConfiguration | Session.PacProxyConfiguration | Session.SystemProxyConfiguration | Record; -} -export type SessionResult = Session.NewResult | Session.StatusResult; -export declare namespace Session { - type CapabilitiesRequest = { - alwaysMatch?: Session.CapabilityRequest; - firstMatch?: [...Session.CapabilityRequest[]]; - }; -} -export declare namespace Session { - type CapabilityRequest = { - acceptInsecureCerts?: boolean; - browserName?: string; - browserVersion?: string; - platformName?: string; - proxy?: Session.ProxyConfiguration; - webSocketUrl?: boolean; - } & Extensible; -} -export declare namespace Session { - type AutodetectProxyConfiguration = { - proxyType: 'autodetect'; - } & Extensible; -} -export declare namespace Session { - type DirectProxyConfiguration = { - proxyType: 'direct'; - } & Extensible; -} -export declare namespace Session { - type ManualProxyConfiguration = { - proxyType: 'manual'; - ftpProxy?: string; - httpProxy?: string; - sslProxy?: string; - } & ({} | Session.SocksProxyConfiguration) & { - noProxy?: [...string[]]; - } & Extensible; -} -export declare namespace Session { - type SocksProxyConfiguration = { - socksProxy: string; - /** - * Must be between `0` and `255`, inclusive. - */ - socksVersion: number; - }; -} -export declare namespace Session { - type PacProxyConfiguration = { - proxyType: 'pac'; - proxyAutoconfigUrl: string; - } & Extensible; -} -export declare namespace Session { - type SystemProxyConfiguration = { - proxyType: 'system'; - } & Extensible; -} -export declare namespace Session { - type SubscriptionRequest = { - events: [...string[]]; - contexts?: [...BrowsingContext.BrowsingContext[]]; - }; -} -export declare namespace Session { - type Status = { - method: 'session.status'; - params: EmptyParams; - }; -} -export declare namespace Session { - type StatusResult = { - ready: boolean; - message: string; - }; -} -export declare namespace Session { - type New = { - method: 'session.new'; - params: Session.NewParameters; - }; -} -export declare namespace Session { - type NewParameters = { - capabilities: Session.CapabilitiesRequest; - }; -} -export declare namespace Session { - type NewResult = { - sessionId: string; - capabilities: { - acceptInsecureCerts: boolean; - browserName: string; - browserVersion: string; - platformName: string; - setWindowRect: boolean; - proxy?: Session.ProxyConfiguration; - webSocketUrl?: string; - } & Extensible; - }; -} -export declare namespace Session { - type End = { - method: 'session.end'; - params: EmptyParams; - }; -} -export declare namespace Session { - type Subscribe = { - method: 'session.subscribe'; - params: Session.SubscriptionRequest; - }; -} -export declare namespace Session { - type Unsubscribe = { - method: 'session.unsubscribe'; - params: Session.SubscriptionRequest; - }; -} -export type BrowserCommand = Browser.Close | Browser.CreateUserContext | Browser.GetUserContexts | Browser.RemoveUserContext; -export type BrowserResult = Browser.CreateUserContextResult | Browser.GetUserContextsResult; -export declare namespace Browser { - type UserContext = string; -} -export declare namespace Browser { - type UserContextInfo = { - userContext: Browser.UserContext; - }; -} -export declare namespace Browser { - type Close = { - method: 'browser.close'; - params: EmptyParams; - }; -} -export declare namespace Browser { - type CreateUserContext = { - method: 'browser.createUserContext'; - params: EmptyParams; - }; -} -export declare namespace Browser { - type CreateUserContextResult = Browser.UserContextInfo; -} -export declare namespace Browser { - type GetUserContexts = { - method: 'browser.getUserContexts'; - params: EmptyParams; - }; -} -export declare namespace Browser { - type GetUserContextsResult = { - userContexts: [Browser.UserContextInfo, ...Browser.UserContextInfo[]]; - }; -} -export declare namespace Browser { - type RemoveUserContext = { - method: 'browser.removeUserContext'; - params: Browser.RemoveUserContextParameters; - }; -} -export declare namespace Browser { - type RemoveUserContextParameters = { - userContext: Browser.UserContext; - }; -} -export type BrowsingContextCommand = BrowsingContext.Activate | BrowsingContext.CaptureScreenshot | BrowsingContext.Close | BrowsingContext.Create | BrowsingContext.GetTree | BrowsingContext.HandleUserPrompt | BrowsingContext.LocateNodes | BrowsingContext.Navigate | BrowsingContext.Print | BrowsingContext.Reload | BrowsingContext.SetViewport | BrowsingContext.TraverseHistory; -export type BrowsingContextEvent = BrowsingContext.ContextCreated | BrowsingContext.ContextDestroyed | BrowsingContext.DomContentLoaded | BrowsingContext.DownloadWillBegin | BrowsingContext.FragmentNavigated | BrowsingContext.Load | BrowsingContext.NavigationAborted | BrowsingContext.NavigationFailed | BrowsingContext.NavigationStarted | BrowsingContext.UserPromptClosed | BrowsingContext.UserPromptOpened; -export type BrowsingContextResult = BrowsingContext.CaptureScreenshotResult | BrowsingContext.CreateResult | BrowsingContext.GetTreeResult | BrowsingContext.LocateNodesResult | BrowsingContext.NavigateResult | BrowsingContext.PrintResult | BrowsingContext.TraverseHistoryResult; -export declare namespace BrowsingContext { - type BrowsingContext = string; -} -export declare namespace BrowsingContext { - type InfoList = [...BrowsingContext.Info[]]; -} -export declare namespace BrowsingContext { - type Info = { - children: BrowsingContext.InfoList | null; - context: BrowsingContext.BrowsingContext; - url: string; - userContext: Browser.UserContext; - parent?: BrowsingContext.BrowsingContext | null; - }; -} -export declare namespace BrowsingContext { - type Locator = BrowsingContext.CssLocator | BrowsingContext.InnerTextLocator | BrowsingContext.XPathLocator; -} -export declare namespace BrowsingContext { - type CssLocator = { - type: 'css'; - value: string; - }; -} -export declare namespace BrowsingContext { - type InnerTextLocator = { - type: 'innerText'; - value: string; - ignoreCase?: boolean; - matchType?: 'full' | 'partial'; - maxDepth?: JsUint; - }; -} -export declare namespace BrowsingContext { - type XPathLocator = { - type: 'xpath'; - value: string; - }; -} -export declare namespace BrowsingContext { - type Navigation = string; -} -export declare namespace BrowsingContext { - type NavigationInfo = { - context: BrowsingContext.BrowsingContext; - navigation: BrowsingContext.Navigation | null; - timestamp: JsUint; - url: string; - }; -} -export declare namespace BrowsingContext { - const enum ReadinessState { - None = "none", - Interactive = "interactive", - Complete = "complete" - } -} -export declare namespace BrowsingContext { - type Activate = { - method: 'browsingContext.activate'; - params: BrowsingContext.ActivateParameters; - }; -} -export declare namespace BrowsingContext { - type ActivateParameters = { - context: BrowsingContext.BrowsingContext; - }; -} -export declare namespace BrowsingContext { - type CaptureScreenshotParameters = { - context: BrowsingContext.BrowsingContext; - /** - * @defaultValue `"viewport"` - */ - origin?: 'viewport' | 'document'; - format?: BrowsingContext.ImageFormat; - clip?: BrowsingContext.ClipRectangle; - }; -} -export declare namespace BrowsingContext { - type CaptureScreenshot = { - method: 'browsingContext.captureScreenshot'; - params: BrowsingContext.CaptureScreenshotParameters; - }; -} -export declare namespace BrowsingContext { - type ImageFormat = { - type: string; - /** - * Must be between `0` and `1`, inclusive. - */ - quality?: number; - }; -} -export declare namespace BrowsingContext { - type ClipRectangle = BrowsingContext.BoxClipRectangle | BrowsingContext.ElementClipRectangle; -} -export declare namespace BrowsingContext { - type ElementClipRectangle = { - type: 'element'; - element: Script.SharedReference; - }; -} -export declare namespace BrowsingContext { - type BoxClipRectangle = { - type: 'box'; - x: number; - y: number; - width: number; - height: number; - }; -} -export declare namespace BrowsingContext { - type CaptureScreenshotResult = { - data: string; - }; -} -export declare namespace BrowsingContext { - type Close = { - method: 'browsingContext.close'; - params: BrowsingContext.CloseParameters; - }; -} -export declare namespace BrowsingContext { - type CloseParameters = { - context: BrowsingContext.BrowsingContext; - /** - * @defaultValue `false` - */ - promptUnload?: boolean; - }; -} -export declare namespace BrowsingContext { - type Create = { - method: 'browsingContext.create'; - params: BrowsingContext.CreateParameters; - }; -} -export declare namespace BrowsingContext { - const enum CreateType { - Tab = "tab", - Window = "window" - } -} -export declare namespace BrowsingContext { - type CreateParameters = { - type: BrowsingContext.CreateType; - referenceContext?: BrowsingContext.BrowsingContext; - /** - * @defaultValue `false` - */ - background?: boolean; - userContext?: Browser.UserContext; - }; -} -export declare namespace BrowsingContext { - type CreateResult = { - context: BrowsingContext.BrowsingContext; - }; -} -export declare namespace BrowsingContext { - type GetTree = { - method: 'browsingContext.getTree'; - params: BrowsingContext.GetTreeParameters; - }; -} -export declare namespace BrowsingContext { - type GetTreeParameters = { - maxDepth?: JsUint; - root?: BrowsingContext.BrowsingContext; - }; -} -export declare namespace BrowsingContext { - type GetTreeResult = { - contexts: BrowsingContext.InfoList; - }; -} -export declare namespace BrowsingContext { - type HandleUserPrompt = { - method: 'browsingContext.handleUserPrompt'; - params: BrowsingContext.HandleUserPromptParameters; - }; -} -export declare namespace BrowsingContext { - type HandleUserPromptParameters = { - context: BrowsingContext.BrowsingContext; - accept?: boolean; - userText?: string; - }; -} -export declare namespace BrowsingContext { - type LocateNodesParameters = { - context: BrowsingContext.BrowsingContext; - locator: BrowsingContext.Locator; - /** - * Must be greater than or equal to `1`. - */ - maxNodeCount?: JsUint; - ownership?: Script.ResultOwnership; - sandbox?: string; - serializationOptions?: Script.SerializationOptions; - startNodes?: [Script.SharedReference, ...Script.SharedReference[]]; - }; -} -export declare namespace BrowsingContext { - type LocateNodes = { - method: 'browsingContext.locateNodes'; - params: BrowsingContext.LocateNodesParameters; - }; -} -export declare namespace BrowsingContext { - type LocateNodesResult = { - nodes: [...Script.NodeRemoteValue[]]; - }; -} -export declare namespace BrowsingContext { - type Navigate = { - method: 'browsingContext.navigate'; - params: BrowsingContext.NavigateParameters; - }; -} -export declare namespace BrowsingContext { - type NavigateParameters = { - context: BrowsingContext.BrowsingContext; - url: string; - wait?: BrowsingContext.ReadinessState; - }; -} -export declare namespace BrowsingContext { - type NavigateResult = { - navigation: BrowsingContext.Navigation | null; - url: string; - }; -} -export declare namespace BrowsingContext { - type Print = { - method: 'browsingContext.print'; - params: BrowsingContext.PrintParameters; - }; -} -export declare namespace BrowsingContext { - type PrintParameters = { - context: BrowsingContext.BrowsingContext; - /** - * @defaultValue `false` - */ - background?: boolean; - margin?: BrowsingContext.PrintMarginParameters; - /** - * @defaultValue `"portrait"` - */ - orientation?: 'portrait' | 'landscape'; - page?: BrowsingContext.PrintPageParameters; - pageRanges?: [...(JsUint | string)[]]; - /** - * Must be between `0.1` and `2`, inclusive. - * - * @defaultValue `1` - */ - scale?: number; - /** - * @defaultValue `true` - */ - shrinkToFit?: boolean; - }; -} -export declare namespace BrowsingContext { - type PrintMarginParameters = { - /** - * Must be greater than or equal to `0`. - * - * @defaultValue `1` - */ - bottom?: number; - /** - * Must be greater than or equal to `0`. - * - * @defaultValue `1` - */ - left?: number; - /** - * Must be greater than or equal to `0`. - * - * @defaultValue `1` - */ - right?: number; - /** - * Must be greater than or equal to `0`. - * - * @defaultValue `1` - */ - top?: number; - }; -} -export declare namespace BrowsingContext { - type PrintPageParameters = { - /** - * Must be greater than or equal to `0.0352`. - * - * @defaultValue `27.94` - */ - height?: number; - /** - * Must be greater than or equal to `0.0352`. - * - * @defaultValue `21.59` - */ - width?: number; - }; -} -export declare namespace BrowsingContext { - type PrintResult = { - data: string; - }; -} -export declare namespace BrowsingContext { - type Reload = { - method: 'browsingContext.reload'; - params: BrowsingContext.ReloadParameters; - }; -} -export declare namespace BrowsingContext { - type ReloadParameters = { - context: BrowsingContext.BrowsingContext; - ignoreCache?: boolean; - wait?: BrowsingContext.ReadinessState; - }; -} -export declare namespace BrowsingContext { - type SetViewport = { - method: 'browsingContext.setViewport'; - params: BrowsingContext.SetViewportParameters; - }; -} -export declare namespace BrowsingContext { - type SetViewportParameters = { - context: BrowsingContext.BrowsingContext; - viewport?: BrowsingContext.Viewport | null; - /** - * Must be greater than `0`. - */ - devicePixelRatio?: number | null; - }; -} -export declare namespace BrowsingContext { - type Viewport = { - width: JsUint; - height: JsUint; - }; -} -export declare namespace BrowsingContext { - type TraverseHistory = { - method: 'browsingContext.traverseHistory'; - params: BrowsingContext.TraverseHistoryParameters; - }; -} -export declare namespace BrowsingContext { - type TraverseHistoryParameters = { - context: BrowsingContext.BrowsingContext; - delta: JsInt; - }; -} -export declare namespace BrowsingContext { - type TraverseHistoryResult = Record; -} -export declare namespace BrowsingContext { - type ContextCreated = { - method: 'browsingContext.contextCreated'; - params: BrowsingContext.Info; - }; -} -export declare namespace BrowsingContext { - type ContextDestroyed = { - method: 'browsingContext.contextDestroyed'; - params: BrowsingContext.Info; - }; -} -export declare namespace BrowsingContext { - type NavigationStarted = { - method: 'browsingContext.navigationStarted'; - params: BrowsingContext.NavigationInfo; - }; -} -export declare namespace BrowsingContext { - type FragmentNavigated = { - method: 'browsingContext.fragmentNavigated'; - params: BrowsingContext.NavigationInfo; - }; -} -export declare namespace BrowsingContext { - type DomContentLoaded = { - method: 'browsingContext.domContentLoaded'; - params: BrowsingContext.NavigationInfo; - }; -} -export declare namespace BrowsingContext { - type Load = { - method: 'browsingContext.load'; - params: BrowsingContext.NavigationInfo; - }; -} -export declare namespace BrowsingContext { - type DownloadWillBegin = { - method: 'browsingContext.downloadWillBegin'; - params: BrowsingContext.NavigationInfo; - }; -} -export declare namespace BrowsingContext { - type NavigationAborted = { - method: 'browsingContext.navigationAborted'; - params: BrowsingContext.NavigationInfo; - }; -} -export declare namespace BrowsingContext { - type NavigationFailed = { - method: 'browsingContext.navigationFailed'; - params: BrowsingContext.NavigationInfo; - }; -} -export declare namespace BrowsingContext { - type UserPromptClosed = { - method: 'browsingContext.userPromptClosed'; - params: BrowsingContext.UserPromptClosedParameters; - }; -} -export declare namespace BrowsingContext { - type UserPromptClosedParameters = { - context: BrowsingContext.BrowsingContext; - accepted: boolean; - userText?: string; - }; -} -export declare namespace BrowsingContext { - type UserPromptOpened = { - method: 'browsingContext.userPromptOpened'; - params: BrowsingContext.UserPromptOpenedParameters; - }; -} -export declare namespace BrowsingContext { - type UserPromptOpenedParameters = { - context: BrowsingContext.BrowsingContext; - type: 'alert' | 'confirm' | 'prompt' | 'beforeunload'; - message: string; - defaultValue?: string; - }; -} -export type NetworkCommand = Network.AddIntercept | Network.ContinueRequest | Network.ContinueResponse | Network.ContinueWithAuth | Network.FailRequest | Network.ProvideResponse | Network.RemoveIntercept; -export type NetworkEvent = Network.AuthRequired | Network.BeforeRequestSent | Network.FetchError | Network.ResponseCompleted | Network.ResponseStarted; -export type NetworkResult = Network.AddInterceptResult; -export declare namespace Network { - type AuthChallenge = { - scheme: string; - realm: string; - }; -} -export declare namespace Network { - type AuthCredentials = { - type: 'password'; - username: string; - password: string; - }; -} -export declare namespace Network { - type BaseParameters = { - context: BrowsingContext.BrowsingContext | null; - isBlocked: boolean; - navigation: BrowsingContext.Navigation | null; - redirectCount: JsUint; - request: Network.RequestData; - timestamp: JsUint; - intercepts?: [Network.Intercept, ...Network.Intercept[]]; - }; -} -export declare namespace Network { - type BytesValue = Network.StringValue | Network.Base64Value; -} -export declare namespace Network { - type StringValue = { - type: 'string'; - value: string; - }; -} -export declare namespace Network { - type Base64Value = { - type: 'base64'; - value: string; - }; -} -export declare namespace Network { - const enum SameSite { - Strict = "strict", - Lax = "lax", - None = "none" - } -} -export declare namespace Network { - type Cookie = { - name: string; - value: Network.BytesValue; - domain: string; - path: string; - size: JsUint; - httpOnly: boolean; - secure: boolean; - sameSite: Network.SameSite; - expiry?: JsUint; - } & Extensible; -} -export declare namespace Network { - type CookieHeader = { - name: string; - value: Network.BytesValue; - }; -} -export declare namespace Network { - type FetchTimingInfo = { - timeOrigin: number; - requestTime: number; - redirectStart: number; - redirectEnd: number; - fetchStart: number; - dnsStart: number; - dnsEnd: number; - connectStart: number; - connectEnd: number; - tlsStart: number; - requestStart: number; - responseStart: number; - responseEnd: number; - }; -} -export declare namespace Network { - type Header = { - name: string; - value: Network.BytesValue; - }; -} -export declare namespace Network { - type Initiator = { - type: 'parser' | 'script' | 'preflight' | 'other'; - columnNumber?: JsUint; - lineNumber?: JsUint; - stackTrace?: Script.StackTrace; - request?: Network.Request; - }; -} -export declare namespace Network { - type Intercept = string; -} -export declare namespace Network { - type Request = string; -} -export declare namespace Network { - type RequestData = { - request: Network.Request; - url: string; - method: string; - headers: [...Network.Header[]]; - cookies: [...Network.Cookie[]]; - headersSize: JsUint; - bodySize: JsUint | null; - timings: Network.FetchTimingInfo; - }; -} -export declare namespace Network { - type ResponseContent = { - size: JsUint; - }; -} -export declare namespace Network { - type ResponseData = { - url: string; - protocol: string; - status: JsUint; - statusText: string; - fromCache: boolean; - headers: [...Network.Header[]]; - mimeType: string; - bytesReceived: JsUint; - headersSize: JsUint | null; - bodySize: JsUint | null; - content: Network.ResponseContent; - authChallenge?: Network.AuthChallenge; - }; -} -export declare namespace Network { - type SetCookieHeader = { - name: string; - value: Network.BytesValue; - domain?: string; - httpOnly?: boolean; - expiry?: string; - maxAge?: JsInt; - path?: string; - sameSite?: Network.SameSite; - secure?: boolean; - }; -} -export declare namespace Network { - type UrlPattern = Network.UrlPatternPattern | Network.UrlPatternString; -} -export declare namespace Network { - type UrlPatternPattern = { - type: 'pattern'; - protocol?: string; - hostname?: string; - port?: string; - pathname?: string; - search?: string; - }; -} -export declare namespace Network { - type UrlPatternString = { - type: 'string'; - pattern: string; - }; -} -export declare namespace Network { - type AddInterceptParameters = { - phases: [Network.InterceptPhase, ...Network.InterceptPhase[]]; - contexts?: [ - BrowsingContext.BrowsingContext, - ...BrowsingContext.BrowsingContext[] - ]; - urlPatterns?: [...Network.UrlPattern[]]; - }; -} -export declare namespace Network { - type AddIntercept = { - method: 'network.addIntercept'; - params: Network.AddInterceptParameters; - }; -} -export declare namespace Network { - const enum InterceptPhase { - BeforeRequestSent = "beforeRequestSent", - ResponseStarted = "responseStarted", - AuthRequired = "authRequired" - } -} -export declare namespace Network { - type AddInterceptResult = { - intercept: Network.Intercept; - }; -} -export declare namespace Network { - type ContinueRequest = { - method: 'network.continueRequest'; - params: Network.ContinueRequestParameters; - }; -} -export declare namespace Network { - type ContinueRequestParameters = { - request: Network.Request; - body?: Network.BytesValue; - cookies?: [...Network.CookieHeader[]]; - headers?: [...Network.Header[]]; - method?: string; - url?: string; - }; -} -export declare namespace Network { - type ContinueResponse = { - method: 'network.continueResponse'; - params: Network.ContinueResponseParameters; - }; -} -export declare namespace Network { - type ContinueResponseParameters = { - request: Network.Request; - cookies?: [...Network.SetCookieHeader[]]; - credentials?: Network.AuthCredentials; - headers?: [...Network.Header[]]; - reasonPhrase?: string; - statusCode?: JsUint; - }; -} -export declare namespace Network { - type ContinueWithAuth = { - method: 'network.continueWithAuth'; - params: Network.ContinueWithAuthParameters; - }; -} -export declare namespace Network { - type ContinueWithAuthParameters = { - request: Network.Request; - } & (Network.ContinueWithAuthCredentials | Network.ContinueWithAuthNoCredentials); -} -export declare namespace Network { - type ContinueWithAuthCredentials = { - action: 'provideCredentials'; - credentials: Network.AuthCredentials; - }; -} -export declare namespace Network { - type ContinueWithAuthNoCredentials = { - action: 'default' | 'cancel'; - }; -} -export declare namespace Network { - type FailRequest = { - method: 'network.failRequest'; - params: Network.FailRequestParameters; - }; -} -export declare namespace Network { - type FailRequestParameters = { - request: Network.Request; - }; -} -export declare namespace Network { - type ProvideResponse = { - method: 'network.provideResponse'; - params: Network.ProvideResponseParameters; - }; -} -export declare namespace Network { - type ProvideResponseParameters = { - request: Network.Request; - body?: Network.BytesValue; - cookies?: [...Network.SetCookieHeader[]]; - headers?: [...Network.Header[]]; - reasonPhrase?: string; - statusCode?: JsUint; - }; -} -export declare namespace Network { - type RemoveIntercept = { - method: 'network.removeIntercept'; - params: Network.RemoveInterceptParameters; - }; -} -export declare namespace Network { - type RemoveInterceptParameters = { - intercept: Network.Intercept; - }; -} -export type ScriptEvent = Script.Message | Script.RealmCreated | Script.RealmDestroyed; -export declare namespace Network { - type AuthRequiredParameters = Network.BaseParameters & { - response: Network.ResponseData; - }; -} -export declare namespace Network { - type BeforeRequestSentParameters = Network.BaseParameters & { - initiator: Network.Initiator; - }; -} -export declare namespace Network { - type FetchErrorParameters = Network.BaseParameters & { - errorText: string; - }; -} -export declare namespace Network { - type ResponseCompletedParameters = Network.BaseParameters & { - response: Network.ResponseData; - }; -} -export declare namespace Network { - type ResponseStartedParameters = Network.BaseParameters & { - response: Network.ResponseData; - }; -} -export type ScriptCommand = Script.AddPreloadScript | Script.CallFunction | Script.Disown | Script.Evaluate | Script.GetRealms | Script.RemovePreloadScript; -export type ScriptResult = Script.AddPreloadScriptResult | Script.EvaluateResult | Script.GetRealmsResult; -export declare namespace Network { - type AuthRequired = { - method: 'network.authRequired'; - params: Network.AuthRequiredParameters; - }; -} -export declare namespace Network { - type BeforeRequestSent = { - method: 'network.beforeRequestSent'; - params: Network.BeforeRequestSentParameters; - }; -} -export declare namespace Network { - type FetchError = { - method: 'network.fetchError'; - params: Network.FetchErrorParameters; - }; -} -export declare namespace Network { - type ResponseCompleted = { - method: 'network.responseCompleted'; - params: Network.ResponseCompletedParameters; - }; -} -export declare namespace Network { - type ResponseStarted = { - method: 'network.responseStarted'; - params: Network.ResponseStartedParameters; - }; -} -export declare namespace Script { - type Channel = string; -} -export declare namespace Script { - type EvaluateResultSuccess = { - type: 'success'; - result: Script.RemoteValue; - realm: Script.Realm; - }; -} -export declare namespace Script { - type ExceptionDetails = { - columnNumber: JsUint; - exception: Script.RemoteValue; - lineNumber: JsUint; - stackTrace: Script.StackTrace; - text: string; - }; -} -export declare namespace Script { - type ChannelValue = { - type: 'channel'; - value: Script.ChannelProperties; - }; -} -export declare namespace Script { - type ChannelProperties = { - channel: Script.Channel; - serializationOptions?: Script.SerializationOptions; - ownership?: Script.ResultOwnership; - }; -} -export declare namespace Script { - type EvaluateResult = Script.EvaluateResultSuccess | Script.EvaluateResultException; -} -export declare namespace Script { - type EvaluateResultException = { - type: 'exception'; - exceptionDetails: Script.ExceptionDetails; - realm: Script.Realm; - }; -} -export declare namespace Script { - type Handle = string; -} -export declare namespace Script { - type InternalId = string; -} -export declare namespace Script { - type ListLocalValue = [...Script.LocalValue[]]; -} -export declare namespace Script { - type LocalValue = Script.RemoteReference | Script.PrimitiveProtocolValue | Script.ChannelValue | Script.ArrayLocalValue | Script.DateLocalValue | Script.MapLocalValue | Script.ObjectLocalValue | Script.RegExpLocalValue | Script.SetLocalValue; -} -export declare namespace Script { - type ArrayLocalValue = { - type: 'array'; - value: Script.ListLocalValue; - }; -} -export declare namespace Script { - type DateLocalValue = { - type: 'date'; - value: string; - }; -} -export declare namespace Script { - type MappingLocalValue = [ - ...[Script.LocalValue | string, Script.LocalValue][] - ]; -} -export declare namespace Script { - type MapLocalValue = { - type: 'map'; - value: Script.MappingLocalValue; - }; -} -export declare namespace Script { - type ObjectLocalValue = { - type: 'object'; - value: Script.MappingLocalValue; - }; -} -export declare namespace Script { - type RegExpValue = { - pattern: string; - flags?: string; - }; -} -export declare namespace Script { - type RegExpLocalValue = { - type: 'regexp'; - value: Script.RegExpValue; - }; -} -export declare namespace Script { - type SetLocalValue = { - type: 'set'; - value: Script.ListLocalValue; - }; -} -export declare namespace Script { - type PreloadScript = string; -} -export declare namespace Script { - type Realm = string; -} -export declare namespace Script { - type PrimitiveProtocolValue = Script.UndefinedValue | Script.NullValue | Script.StringValue | Script.NumberValue | Script.BooleanValue | Script.BigIntValue; -} -export declare namespace Script { - type UndefinedValue = { - type: 'undefined'; - }; -} -export declare namespace Script { - type NullValue = { - type: 'null'; - }; -} -export declare namespace Script { - type StringValue = { - type: 'string'; - value: string; - }; -} -export declare namespace Script { - type SpecialNumber = 'NaN' | '-0' | 'Infinity' | '-Infinity'; -} -export declare namespace Script { - type NumberValue = { - type: 'number'; - value: number | Script.SpecialNumber; - }; -} -export declare namespace Script { - type BooleanValue = { - type: 'boolean'; - value: boolean; - }; -} -export declare namespace Script { - type BigIntValue = { - type: 'bigint'; - value: string; - }; -} -export declare namespace Script { - type RealmInfo = Script.WindowRealmInfo | Script.DedicatedWorkerRealmInfo | Script.SharedWorkerRealmInfo | Script.ServiceWorkerRealmInfo | Script.WorkerRealmInfo | Script.PaintWorkletRealmInfo | Script.AudioWorkletRealmInfo | Script.WorkletRealmInfo; -} -export declare namespace Script { - type BaseRealmInfo = { - realm: Script.Realm; - origin: string; - }; -} -export declare namespace Script { - type WindowRealmInfo = Script.BaseRealmInfo & { - type: 'window'; - context: BrowsingContext.BrowsingContext; - sandbox?: string; - }; -} -export declare namespace Script { - type DedicatedWorkerRealmInfo = Script.BaseRealmInfo & { - type: 'dedicated-worker'; - owners: [Script.Realm]; - }; -} -export declare namespace Script { - type SharedWorkerRealmInfo = Script.BaseRealmInfo & { - type: 'shared-worker'; - }; -} -export declare namespace Script { - type ServiceWorkerRealmInfo = Script.BaseRealmInfo & { - type: 'service-worker'; - }; -} -export declare namespace Script { - type WorkerRealmInfo = Script.BaseRealmInfo & { - type: 'worker'; - }; -} -export declare namespace Script { - type PaintWorkletRealmInfo = Script.BaseRealmInfo & { - type: 'paint-worklet'; - }; -} -export declare namespace Script { - type AudioWorkletRealmInfo = Script.BaseRealmInfo & { - type: 'audio-worklet'; - }; -} -export declare namespace Script { - type WorkletRealmInfo = Script.BaseRealmInfo & { - type: 'worklet'; - }; -} -export declare namespace Script { - type RealmType = 'window' | 'dedicated-worker' | 'shared-worker' | 'service-worker' | 'worker' | 'paint-worklet' | 'audio-worklet' | 'worklet'; -} -export declare namespace Script { - type ListRemoteValue = [...Script.RemoteValue[]]; -} -export declare namespace Script { - type MappingRemoteValue = [ - ...[Script.RemoteValue | string, Script.RemoteValue][] - ]; -} -export declare namespace Script { - type RemoteValue = Script.PrimitiveProtocolValue | Script.SymbolRemoteValue | Script.ArrayRemoteValue | Script.ObjectRemoteValue | Script.FunctionRemoteValue | Script.RegExpRemoteValue | Script.DateRemoteValue | Script.MapRemoteValue | Script.SetRemoteValue | Script.WeakMapRemoteValue | Script.WeakSetRemoteValue | Script.IteratorRemoteValue | Script.GeneratorRemoteValue | Script.ErrorRemoteValue | Script.ProxyRemoteValue | Script.PromiseRemoteValue | Script.TypedArrayRemoteValue | Script.ArrayBufferRemoteValue | Script.NodeListRemoteValue | Script.HtmlCollectionRemoteValue | Script.NodeRemoteValue | Script.WindowProxyRemoteValue; -} -export declare namespace Script { - type RemoteReference = Script.SharedReference | Script.RemoteObjectReference; -} -export declare namespace Script { - type SharedReference = { - sharedId: Script.SharedId; - handle?: Script.Handle; - } & Extensible; -} -export declare namespace Script { - type RemoteObjectReference = { - handle: Script.Handle; - sharedId?: Script.SharedId; - } & Extensible; -} -export declare namespace Script { - type SymbolRemoteValue = { - type: 'symbol'; - handle?: Script.Handle; - internalId?: Script.InternalId; - }; -} -export declare namespace Script { - type ArrayRemoteValue = { - type: 'array'; - handle?: Script.Handle; - internalId?: Script.InternalId; - value?: Script.ListRemoteValue; - }; -} -export declare namespace Script { - type ObjectRemoteValue = { - type: 'object'; - handle?: Script.Handle; - internalId?: Script.InternalId; - value?: Script.MappingRemoteValue; - }; -} -export declare namespace Script { - type FunctionRemoteValue = { - type: 'function'; - handle?: Script.Handle; - internalId?: Script.InternalId; - }; -} -export declare namespace Script { - type RegExpRemoteValue = { - handle?: Script.Handle; - internalId?: Script.InternalId; - } & Script.RegExpLocalValue; -} -export declare namespace Script { - type DateRemoteValue = { - handle?: Script.Handle; - internalId?: Script.InternalId; - } & Script.DateLocalValue; -} -export declare namespace Script { - type MapRemoteValue = { - type: 'map'; - handle?: Script.Handle; - internalId?: Script.InternalId; - value?: Script.MappingRemoteValue; - }; -} -export declare namespace Script { - type SetRemoteValue = { - type: 'set'; - handle?: Script.Handle; - internalId?: Script.InternalId; - value?: Script.ListRemoteValue; - }; -} -export declare namespace Script { - type WeakMapRemoteValue = { - type: 'weakmap'; - handle?: Script.Handle; - internalId?: Script.InternalId; - }; -} -export declare namespace Script { - type WeakSetRemoteValue = { - type: 'weakset'; - handle?: Script.Handle; - internalId?: Script.InternalId; - }; -} -export declare namespace Script { - type IteratorRemoteValue = { - type: 'iterator'; - handle?: Script.Handle; - internalId?: Script.InternalId; - }; -} -export declare namespace Script { - type GeneratorRemoteValue = { - type: 'generator'; - handle?: Script.Handle; - internalId?: Script.InternalId; - }; -} -export declare namespace Script { - type ErrorRemoteValue = { - type: 'error'; - handle?: Script.Handle; - internalId?: Script.InternalId; - }; -} -export declare namespace Script { - type ProxyRemoteValue = { - type: 'proxy'; - handle?: Script.Handle; - internalId?: Script.InternalId; - }; -} -export declare namespace Script { - type PromiseRemoteValue = { - type: 'promise'; - handle?: Script.Handle; - internalId?: Script.InternalId; - }; -} -export declare namespace Script { - type TypedArrayRemoteValue = { - type: 'typedarray'; - handle?: Script.Handle; - internalId?: Script.InternalId; - }; -} -export declare namespace Script { - type ArrayBufferRemoteValue = { - type: 'arraybuffer'; - handle?: Script.Handle; - internalId?: Script.InternalId; - }; -} -export declare namespace Script { - type NodeListRemoteValue = { - type: 'nodelist'; - handle?: Script.Handle; - internalId?: Script.InternalId; - value?: Script.ListRemoteValue; - }; -} -export declare namespace Script { - type HtmlCollectionRemoteValue = { - type: 'htmlcollection'; - handle?: Script.Handle; - internalId?: Script.InternalId; - value?: Script.ListRemoteValue; - }; -} -export declare namespace Script { - type NodeRemoteValue = { - type: 'node'; - sharedId?: Script.SharedId; - handle?: Script.Handle; - internalId?: Script.InternalId; - value?: Script.NodeProperties; - }; -} -export declare namespace Script { - type NodeProperties = { - nodeType: JsUint; - childNodeCount: JsUint; - attributes?: { - [key: string]: string; - }; - children?: [...Script.NodeRemoteValue[]]; - localName?: string; - mode?: 'open' | 'closed'; - namespaceURI?: string; - nodeValue?: string; - shadowRoot?: Script.NodeRemoteValue | null; - }; -} -export declare namespace Script { - type WindowProxyRemoteValue = { - type: 'window'; - value: Script.WindowProxyProperties; - handle?: Script.Handle; - internalId?: Script.InternalId; - }; -} -export declare namespace Script { - type WindowProxyProperties = { - context: BrowsingContext.BrowsingContext; - }; -} -export declare namespace Script { - const enum ResultOwnership { - Root = "root", - None = "none" - } -} -export declare namespace Script { - type SerializationOptions = { - /** - * @defaultValue `0` - */ - maxDomDepth?: JsUint | null; - /** - * @defaultValue `null` - */ - maxObjectDepth?: JsUint | null; - /** - * @defaultValue `"none"` - */ - includeShadowTree?: 'none' | 'open' | 'all'; - }; -} -export declare namespace Script { - type SharedId = string; -} -export declare namespace Script { - type StackFrame = { - columnNumber: JsUint; - functionName: string; - lineNumber: JsUint; - url: string; - }; -} -export declare namespace Script { - type StackTrace = { - callFrames: [...Script.StackFrame[]]; - }; -} -export declare namespace Script { - type Source = { - realm: Script.Realm; - context?: BrowsingContext.BrowsingContext; - }; -} -export declare namespace Script { - type RealmTarget = { - realm: Script.Realm; - }; -} -export declare namespace Script { - type ContextTarget = { - context: BrowsingContext.BrowsingContext; - sandbox?: string; - }; -} -export declare namespace Script { - type Target = Script.RealmTarget | Script.ContextTarget; -} -export declare namespace Script { - type AddPreloadScript = { - method: 'script.addPreloadScript'; - params: Script.AddPreloadScriptParameters; - }; -} -export declare namespace Script { - type AddPreloadScriptParameters = { - functionDeclaration: string; - arguments?: [...Script.ChannelValue[]]; - contexts?: [ - BrowsingContext.BrowsingContext, - ...BrowsingContext.BrowsingContext[] - ]; - sandbox?: string; - }; -} -export declare namespace Script { - type AddPreloadScriptResult = { - script: Script.PreloadScript; - }; -} -export declare namespace Script { - type Disown = { - method: 'script.disown'; - params: Script.DisownParameters; - }; -} -export declare namespace Script { - type DisownParameters = { - handles: [...Script.Handle[]]; - target: Script.Target; - }; -} -export declare namespace Script { - type CallFunctionParameters = { - functionDeclaration: string; - awaitPromise: boolean; - target: Script.Target; - arguments?: [...Script.LocalValue[]]; - resultOwnership?: Script.ResultOwnership; - serializationOptions?: Script.SerializationOptions; - this?: Script.LocalValue; - /** - * @defaultValue `false` - */ - userActivation?: boolean; - }; -} -export declare namespace Script { - type CallFunction = { - method: 'script.callFunction'; - params: Script.CallFunctionParameters; - }; -} -export declare namespace Script { - type Evaluate = { - method: 'script.evaluate'; - params: Script.EvaluateParameters; - }; -} -export declare namespace Script { - type EvaluateParameters = { - expression: string; - target: Script.Target; - awaitPromise: boolean; - resultOwnership?: Script.ResultOwnership; - serializationOptions?: Script.SerializationOptions; - /** - * @defaultValue `false` - */ - userActivation?: boolean; - }; -} -export declare namespace Script { - type GetRealms = { - method: 'script.getRealms'; - params: Script.GetRealmsParameters; - }; -} -export declare namespace Script { - type GetRealmsParameters = { - context?: BrowsingContext.BrowsingContext; - type?: Script.RealmType; - }; -} -export declare namespace Script { - type GetRealmsResult = { - realms: [...Script.RealmInfo[]]; - }; -} -export declare namespace Script { - type RemovePreloadScript = { - method: 'script.removePreloadScript'; - params: Script.RemovePreloadScriptParameters; - }; -} -export declare namespace Script { - type RemovePreloadScriptParameters = { - script: Script.PreloadScript; - }; -} -export declare namespace Script { - type MessageParameters = { - channel: Script.Channel; - data: Script.RemoteValue; - source: Script.Source; - }; -} -export declare namespace Script { - type RealmCreated = { - method: 'script.realmCreated'; - params: Script.RealmInfo; - }; -} -export declare namespace Script { - type Message = { - method: 'script.message'; - params: Script.MessageParameters; - }; -} -export declare namespace Script { - type RealmDestroyed = { - method: 'script.realmDestroyed'; - params: Script.RealmDestroyedParameters; - }; -} -export declare namespace Script { - type RealmDestroyedParameters = { - realm: Script.Realm; - }; -} -export type StorageCommand = Storage.DeleteCookies | Storage.GetCookies | Storage.SetCookie; -export type StorageResult = Storage.DeleteCookiesResult | Storage.GetCookiesResult | Storage.SetCookieResult; -export declare namespace Storage { - type PartitionKey = { - userContext?: string; - sourceOrigin?: string; - } & Extensible; -} -export declare namespace Storage { - type GetCookies = { - method: 'storage.getCookies'; - params: Storage.GetCookiesParameters; - }; -} -export declare namespace Storage { - type CookieFilter = { - name?: string; - value?: Network.BytesValue; - domain?: string; - path?: string; - size?: JsUint; - httpOnly?: boolean; - secure?: boolean; - sameSite?: Network.SameSite; - expiry?: JsUint; - } & Extensible; -} -export declare namespace Storage { - type BrowsingContextPartitionDescriptor = { - type: 'context'; - context: BrowsingContext.BrowsingContext; - }; -} -export declare namespace Storage { - type StorageKeyPartitionDescriptor = { - type: 'storageKey'; - userContext?: string; - sourceOrigin?: string; - } & Extensible; -} -export declare namespace Storage { - type PartitionDescriptor = Storage.BrowsingContextPartitionDescriptor | Storage.StorageKeyPartitionDescriptor; -} -export declare namespace Storage { - type GetCookiesParameters = { - filter?: Storage.CookieFilter; - partition?: Storage.PartitionDescriptor; - }; -} -export declare namespace Storage { - type GetCookiesResult = { - cookies: [...Network.Cookie[]]; - partitionKey: Storage.PartitionKey; - }; -} -export declare namespace Storage { - type SetCookie = { - method: 'storage.setCookie'; - params: Storage.SetCookieParameters; - }; -} -export declare namespace Storage { - type PartialCookie = { - name: string; - value: Network.BytesValue; - domain: string; - path?: string; - httpOnly?: boolean; - secure?: boolean; - sameSite?: Network.SameSite; - expiry?: JsUint; - } & Extensible; -} -export declare namespace Storage { - type SetCookieParameters = { - cookie: Storage.PartialCookie; - partition?: Storage.PartitionDescriptor; - }; -} -export declare namespace Storage { - type SetCookieResult = { - partitionKey: Storage.PartitionKey; - }; -} -export declare namespace Storage { - type DeleteCookies = { - method: 'storage.deleteCookies'; - params: Storage.DeleteCookiesParameters; - }; -} -export declare namespace Storage { - type DeleteCookiesParameters = { - filter?: Storage.CookieFilter; - partition?: Storage.PartitionDescriptor; - }; -} -export declare namespace Storage { - type DeleteCookiesResult = { - partitionKey: Storage.PartitionKey; - }; -} -export type LogEvent = Log.EntryAdded; -export declare namespace Log { - const enum Level { - Debug = "debug", - Info = "info", - Warn = "warn", - Error = "error" - } -} -export declare namespace Log { - type Entry = Log.GenericLogEntry | Log.ConsoleLogEntry | Log.JavascriptLogEntry; -} -export declare namespace Log { - type BaseLogEntry = { - level: Log.Level; - source: Script.Source; - text: string | null; - timestamp: JsUint; - stackTrace?: Script.StackTrace; - }; -} -export declare namespace Log { - type GenericLogEntry = Log.BaseLogEntry & { - type: string; - }; -} -export declare namespace Log { - type ConsoleLogEntry = Log.BaseLogEntry & { - type: 'console'; - method: string; - args: [...Script.RemoteValue[]]; - }; -} -export declare namespace Log { - type JavascriptLogEntry = Log.BaseLogEntry & { - type: 'javascript'; - }; -} -export declare namespace Log { - type EntryAdded = { - method: 'log.entryAdded'; - params: Log.Entry; - }; -} -export type InputCommand = Input.PerformActions | Input.ReleaseActions | Input.SetFiles; -export declare namespace Input { - type ElementOrigin = { - type: 'element'; - element: Script.SharedReference; - }; -} -export declare namespace Input { - type PerformActionsParameters = { - context: BrowsingContext.BrowsingContext; - actions: [...Input.SourceActions[]]; - }; -} -export declare namespace Input { - type NoneSourceActions = { - type: 'none'; - id: string; - actions: [...Input.NoneSourceAction[]]; - }; -} -export declare namespace Input { - type KeySourceActions = { - type: 'key'; - id: string; - actions: [...Input.KeySourceAction[]]; - }; -} -export declare namespace Input { - type PointerSourceActions = { - type: 'pointer'; - id: string; - parameters?: Input.PointerParameters; - actions: [...Input.PointerSourceAction[]]; - }; -} -export declare namespace Input { - type PerformActions = { - method: 'input.performActions'; - params: Input.PerformActionsParameters; - }; -} -export declare namespace Input { - type SourceActions = Input.NoneSourceActions | Input.KeySourceActions | Input.PointerSourceActions | Input.WheelSourceActions; -} -export declare namespace Input { - type NoneSourceAction = Input.PauseAction; -} -export declare namespace Input { - type KeySourceAction = Input.PauseAction | Input.KeyDownAction | Input.KeyUpAction; -} -export declare namespace Input { - const enum PointerType { - Mouse = "mouse", - Pen = "pen", - Touch = "touch" - } -} -export declare namespace Input { - type PointerParameters = { - /** - * @defaultValue `"mouse"` - */ - pointerType?: Input.PointerType; - }; -} -export declare namespace Input { - type WheelSourceActions = { - type: 'wheel'; - id: string; - actions: [...Input.WheelSourceAction[]]; - }; -} -export declare namespace Input { - type PointerSourceAction = Input.PauseAction | Input.PointerDownAction | Input.PointerUpAction | Input.PointerMoveAction; -} -export declare namespace Input { - type WheelSourceAction = Input.PauseAction | Input.WheelScrollAction; -} -export declare namespace Input { - type PauseAction = { - type: 'pause'; - duration?: JsUint; - }; -} -export declare namespace Input { - type KeyDownAction = { - type: 'keyDown'; - value: string; - }; -} -export declare namespace Input { - type KeyUpAction = { - type: 'keyUp'; - value: string; - }; -} -export declare namespace Input { - type PointerUpAction = { - type: 'pointerUp'; - button: JsUint; - }; -} -export declare namespace Input { - type PointerDownAction = { - type: 'pointerDown'; - button: JsUint; - } & Input.PointerCommonProperties; -} -export declare namespace Input { - type PointerMoveAction = { - type: 'pointerMove'; - x: JsInt; - y: JsInt; - duration?: JsUint; - origin?: Input.Origin; - } & Input.PointerCommonProperties; -} -export declare namespace Input { - type WheelScrollAction = { - type: 'scroll'; - x: JsInt; - y: JsInt; - deltaX: JsInt; - deltaY: JsInt; - duration?: JsUint; - /** - * @defaultValue `"viewport"` - */ - origin?: Input.Origin; - }; -} -export declare namespace Input { - type PointerCommonProperties = { - /** - * @defaultValue `1` - */ - width?: JsUint; - /** - * @defaultValue `1` - */ - height?: JsUint; - /** - * @defaultValue `0` - */ - pressure?: number; - /** - * @defaultValue `0` - */ - tangentialPressure?: number; - /** - * Must be between `0` and `359`, inclusive. - * - * @defaultValue `0` - */ - twist?: number; - /** - * Must be between `0` and `1.5707963267948966`, inclusive. - * - * @defaultValue `0` - */ - altitudeAngle?: number; - /** - * Must be between `0` and `6.283185307179586`, inclusive. - * - * @defaultValue `0` - */ - azimuthAngle?: number; - }; -} -export declare namespace Input { - type Origin = 'viewport' | 'pointer' | Input.ElementOrigin; -} -export declare namespace Input { - type ReleaseActions = { - method: 'input.releaseActions'; - params: Input.ReleaseActionsParameters; - }; -} -export declare namespace Input { - type ReleaseActionsParameters = { - context: BrowsingContext.BrowsingContext; - }; -} -export declare namespace Input { - type SetFiles = { - method: 'input.setFiles'; - params: Input.SetFilesParameters; - }; -} -export declare namespace Input { - type SetFilesParameters = { - context: BrowsingContext.BrowsingContext; - element: Script.SharedReference; - files: [...string[]]; - }; -} diff --git a/node_modules/chromium-bidi/lib/cjs/protocol/generated/webdriver-bidi.js b/node_modules/chromium-bidi/lib/cjs/protocol/generated/webdriver-bidi.js deleted file mode 100644 index c6e8e3e..0000000 --- a/node_modules/chromium-bidi/lib/cjs/protocol/generated/webdriver-bidi.js +++ /dev/null @@ -1,19 +0,0 @@ -"use strict"; -/** - * Copyright 2024 Google LLC. - * Copyright (c) Microsoft Corporation. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -Object.defineProperty(exports, "__esModule", { value: true }); -//# sourceMappingURL=webdriver-bidi.js.map \ No newline at end of file diff --git a/node_modules/chromium-bidi/lib/cjs/protocol/generated/webdriver-bidi.js.map b/node_modules/chromium-bidi/lib/cjs/protocol/generated/webdriver-bidi.js.map deleted file mode 100644 index 2553a74..0000000 --- a/node_modules/chromium-bidi/lib/cjs/protocol/generated/webdriver-bidi.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"webdriver-bidi.js","sourceRoot":"","sources":["../../../../src/protocol/generated/webdriver-bidi.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG"} \ No newline at end of file diff --git a/node_modules/chromium-bidi/lib/cjs/protocol/protocol.d.ts b/node_modules/chromium-bidi/lib/cjs/protocol/protocol.d.ts deleted file mode 100644 index 6977ccf..0000000 --- a/node_modules/chromium-bidi/lib/cjs/protocol/protocol.d.ts +++ /dev/null @@ -1,21 +0,0 @@ -/** - * Copyright 2023 Google LLC. - * Copyright (c) Microsoft Corporation. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -export * as Cdp from './cdp.js'; -export * as ChromiumBidi from './chromium-bidi.js'; -export * from './generated/webdriver-bidi.js'; -export * from './ErrorResponse.js'; -export * from './generated/webdriver-bidi-permissions.js'; diff --git a/node_modules/chromium-bidi/lib/cjs/protocol/protocol.js b/node_modules/chromium-bidi/lib/cjs/protocol/protocol.js deleted file mode 100644 index 15a4ce6..0000000 --- a/node_modules/chromium-bidi/lib/cjs/protocol/protocol.js +++ /dev/null @@ -1,51 +0,0 @@ -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { - Object.defineProperty(o, "default", { enumerable: true, value: v }); -}) : function(o, v) { - o["default"] = v; -}); -var __importStar = (this && this.__importStar) || function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); - __setModuleDefault(result, mod); - return result; -}; -var __exportStar = (this && this.__exportStar) || function(m, exports) { - for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.ChromiumBidi = exports.Cdp = void 0; -/** - * Copyright 2023 Google LLC. - * Copyright (c) Microsoft Corporation. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -exports.Cdp = __importStar(require("./cdp.js")); -exports.ChromiumBidi = __importStar(require("./chromium-bidi.js")); -__exportStar(require("./generated/webdriver-bidi.js"), exports); -__exportStar(require("./ErrorResponse.js"), exports); -__exportStar(require("./generated/webdriver-bidi-permissions.js"), exports); -//# sourceMappingURL=protocol.js.map \ No newline at end of file diff --git a/node_modules/chromium-bidi/lib/cjs/protocol/protocol.js.map b/node_modules/chromium-bidi/lib/cjs/protocol/protocol.js.map deleted file mode 100644 index ed04747..0000000 --- a/node_modules/chromium-bidi/lib/cjs/protocol/protocol.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"protocol.js","sourceRoot":"","sources":["../../../src/protocol/protocol.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;;;;;;;;;;;;;;GAeG;AACH,gDAAgC;AAChC,mEAAmD;AACnD,gEAA8C;AAC9C,qDAAmC;AACnC,4EAA0D"} \ No newline at end of file diff --git a/node_modules/chromium-bidi/lib/cjs/utils/Buffer.d.ts b/node_modules/chromium-bidi/lib/cjs/utils/Buffer.d.ts deleted file mode 100644 index ecee743..0000000 --- a/node_modules/chromium-bidi/lib/cjs/utils/Buffer.d.ts +++ /dev/null @@ -1,27 +0,0 @@ -/** - * Copyright 2022 Google LLC. - * Copyright (c) Microsoft Corporation. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -/** Implements a FIFO buffer with a fixed size. */ -export declare class Buffer { - #private; - /** - * @param capacity The buffer capacity. - * @param onItemRemoved Delegate called for each removed element. - */ - constructor(capacity: number, onItemRemoved?: (value: T) => void); - get(): T[]; - add(value: T): void; -} diff --git a/node_modules/chromium-bidi/lib/cjs/utils/Buffer.js b/node_modules/chromium-bidi/lib/cjs/utils/Buffer.js deleted file mode 100644 index 7c38d98..0000000 --- a/node_modules/chromium-bidi/lib/cjs/utils/Buffer.js +++ /dev/null @@ -1,47 +0,0 @@ -"use strict"; -/** - * Copyright 2022 Google LLC. - * Copyright (c) Microsoft Corporation. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -Object.defineProperty(exports, "__esModule", { value: true }); -exports.Buffer = void 0; -/** Implements a FIFO buffer with a fixed size. */ -class Buffer { - #capacity; - #entries = []; - #onItemRemoved; - /** - * @param capacity The buffer capacity. - * @param onItemRemoved Delegate called for each removed element. - */ - constructor(capacity, onItemRemoved) { - this.#capacity = capacity; - this.#onItemRemoved = onItemRemoved; - } - get() { - return this.#entries; - } - add(value) { - this.#entries.push(value); - while (this.#entries.length > this.#capacity) { - const item = this.#entries.shift(); - if (item !== undefined) { - this.#onItemRemoved?.(item); - } - } - } -} -exports.Buffer = Buffer; -//# sourceMappingURL=Buffer.js.map \ No newline at end of file diff --git a/node_modules/chromium-bidi/lib/cjs/utils/Buffer.js.map b/node_modules/chromium-bidi/lib/cjs/utils/Buffer.js.map deleted file mode 100644 index f5e70f6..0000000 --- a/node_modules/chromium-bidi/lib/cjs/utils/Buffer.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"Buffer.js","sourceRoot":"","sources":["../../../src/utils/Buffer.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG;;;AAEH,kDAAkD;AAClD,MAAa,MAAM;IACR,SAAS,CAAS;IAClB,QAAQ,GAAQ,EAAE,CAAC;IACnB,cAAc,CAAsB;IAE7C;;;OAGG;IACH,YAAY,QAAgB,EAAE,aAAkC;QAC9D,IAAI,CAAC,SAAS,GAAG,QAAQ,CAAC;QAC1B,IAAI,CAAC,cAAc,GAAG,aAAa,CAAC;IACtC,CAAC;IAED,GAAG;QACD,OAAO,IAAI,CAAC,QAAQ,CAAC;IACvB,CAAC;IAED,GAAG,CAAC,KAAQ;QACV,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;QAC1B,OAAO,IAAI,CAAC,QAAQ,CAAC,MAAM,GAAG,IAAI,CAAC,SAAS,EAAE,CAAC;YAC7C,MAAM,IAAI,GAAG,IAAI,CAAC,QAAQ,CAAC,KAAK,EAAE,CAAC;YACnC,IAAI,IAAI,KAAK,SAAS,EAAE,CAAC;gBACvB,IAAI,CAAC,cAAc,EAAE,CAAC,IAAI,CAAC,CAAC;YAC9B,CAAC;QACH,CAAC;IACH,CAAC;CACF;AA3BD,wBA2BC"} \ No newline at end of file diff --git a/node_modules/chromium-bidi/lib/cjs/utils/CdpErrorConstants.d.ts b/node_modules/chromium-bidi/lib/cjs/utils/CdpErrorConstants.d.ts deleted file mode 100644 index 44a357d..0000000 --- a/node_modules/chromium-bidi/lib/cjs/utils/CdpErrorConstants.d.ts +++ /dev/null @@ -1,22 +0,0 @@ -/** - * Copyright 2023 Google LLC. - * Copyright (c) Microsoft Corporation. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -/** @see https://crsrc.org/c/third_party/devtools-frontend/src/front_end/core/protocol_client/InspectorBackend.ts */ -export declare const enum CdpErrorConstants { - CONNECTION_CLOSED = -32001, - DEVTOOLS_STUB = -32015, - GENERIC_ERROR = -32000 -} diff --git a/node_modules/chromium-bidi/lib/cjs/utils/CdpErrorConstants.js b/node_modules/chromium-bidi/lib/cjs/utils/CdpErrorConstants.js deleted file mode 100644 index 6012d89..0000000 --- a/node_modules/chromium-bidi/lib/cjs/utils/CdpErrorConstants.js +++ /dev/null @@ -1,19 +0,0 @@ -"use strict"; -/** - * Copyright 2023 Google LLC. - * Copyright (c) Microsoft Corporation. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -Object.defineProperty(exports, "__esModule", { value: true }); -//# sourceMappingURL=CdpErrorConstants.js.map \ No newline at end of file diff --git a/node_modules/chromium-bidi/lib/cjs/utils/CdpErrorConstants.js.map b/node_modules/chromium-bidi/lib/cjs/utils/CdpErrorConstants.js.map deleted file mode 100644 index 2eb724e..0000000 --- a/node_modules/chromium-bidi/lib/cjs/utils/CdpErrorConstants.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"CdpErrorConstants.js","sourceRoot":"","sources":["../../../src/utils/CdpErrorConstants.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG"} \ No newline at end of file diff --git a/node_modules/chromium-bidi/lib/cjs/utils/DefaultMap.d.ts b/node_modules/chromium-bidi/lib/cjs/utils/DefaultMap.d.ts deleted file mode 100644 index 6ed9fcb..0000000 --- a/node_modules/chromium-bidi/lib/cjs/utils/DefaultMap.d.ts +++ /dev/null @@ -1,26 +0,0 @@ -/** - * Copyright 2023 Google LLC. - * Copyright (c) Microsoft Corporation. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -/** - * A subclass of Map whose functionality is almost the same as its parent - * except for the fact that DefaultMap never returns undefined. It provides a - * default value for keys that do not exist. - */ -export declare class DefaultMap extends Map { - #private; - constructor(getDefaultValue: (key: K) => V, entries?: readonly (readonly [K, V])[] | null); - get(key: K): V; -} diff --git a/node_modules/chromium-bidi/lib/cjs/utils/DefaultMap.js b/node_modules/chromium-bidi/lib/cjs/utils/DefaultMap.js deleted file mode 100644 index adc3786..0000000 --- a/node_modules/chromium-bidi/lib/cjs/utils/DefaultMap.js +++ /dev/null @@ -1,40 +0,0 @@ -"use strict"; -/** - * Copyright 2023 Google LLC. - * Copyright (c) Microsoft Corporation. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -Object.defineProperty(exports, "__esModule", { value: true }); -exports.DefaultMap = void 0; -/** - * A subclass of Map whose functionality is almost the same as its parent - * except for the fact that DefaultMap never returns undefined. It provides a - * default value for keys that do not exist. - */ -class DefaultMap extends Map { - /** The default value to return whenever a key is not present in the map. */ - #getDefaultValue; - constructor(getDefaultValue, entries) { - super(entries); - this.#getDefaultValue = getDefaultValue; - } - get(key) { - if (!this.has(key)) { - this.set(key, this.#getDefaultValue(key)); - } - return super.get(key); - } -} -exports.DefaultMap = DefaultMap; -//# sourceMappingURL=DefaultMap.js.map \ No newline at end of file diff --git a/node_modules/chromium-bidi/lib/cjs/utils/DefaultMap.js.map b/node_modules/chromium-bidi/lib/cjs/utils/DefaultMap.js.map deleted file mode 100644 index 9e4ff95..0000000 --- a/node_modules/chromium-bidi/lib/cjs/utils/DefaultMap.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"DefaultMap.js","sourceRoot":"","sources":["../../../src/utils/DefaultMap.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG;;;AAEH;;;;GAIG;AACH,MAAa,UAAiB,SAAQ,GAAS;IAC7C,4EAA4E;IAC5E,gBAAgB,CAAgB;IAEhC,YACE,eAA8B,EAC9B,OAA6C;QAE7C,KAAK,CAAC,OAAO,CAAC,CAAC;QACf,IAAI,CAAC,gBAAgB,GAAG,eAAe,CAAC;IAC1C,CAAC;IAEQ,GAAG,CAAC,GAAM;QACjB,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC,EAAE,CAAC;YACnB,IAAI,CAAC,GAAG,CAAC,GAAG,EAAE,IAAI,CAAC,gBAAgB,CAAC,GAAG,CAAC,CAAC,CAAC;QAC5C,CAAC;QACD,OAAO,KAAK,CAAC,GAAG,CAAC,GAAG,CAAE,CAAC;IACzB,CAAC;CACF;AAlBD,gCAkBC"} \ No newline at end of file diff --git a/node_modules/chromium-bidi/lib/cjs/utils/Deferred.d.ts b/node_modules/chromium-bidi/lib/cjs/utils/Deferred.d.ts deleted file mode 100644 index ca91d9f..0000000 --- a/node_modules/chromium-bidi/lib/cjs/utils/Deferred.d.ts +++ /dev/null @@ -1,27 +0,0 @@ -/** - * Copyright 2022 Google LLC. - * Copyright (c) Microsoft Corporation. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -export declare class Deferred implements Promise { - #private; - get isFinished(): boolean; - constructor(); - then(onFulfilled?: ((value: T) => TResult1 | PromiseLike) | null, onRejected?: ((reason: unknown) => TResult2 | PromiseLike) | null): Promise; - catch(onRejected?: ((reason: unknown) => TResult | PromiseLike) | null): Promise; - resolve(value: T): void; - reject(reason: unknown): void; - finally(onFinally?: (() => void) | null): Promise; - [Symbol.toStringTag]: string; -} diff --git a/node_modules/chromium-bidi/lib/cjs/utils/Deferred.js b/node_modules/chromium-bidi/lib/cjs/utils/Deferred.js deleted file mode 100644 index a31ca5c..0000000 --- a/node_modules/chromium-bidi/lib/cjs/utils/Deferred.js +++ /dev/null @@ -1,63 +0,0 @@ -"use strict"; -/** - * Copyright 2022 Google LLC. - * Copyright (c) Microsoft Corporation. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -Object.defineProperty(exports, "__esModule", { value: true }); -exports.Deferred = void 0; -class Deferred { - #isFinished = false; - #promise; - #resolve; - #reject; - get isFinished() { - return this.#isFinished; - } - constructor() { - this.#promise = new Promise((resolve, reject) => { - this.#resolve = resolve; - this.#reject = reject; - }); - // Needed to avoid `Uncaught (in promise)`. The promises returned by `then` - // and `catch` will be rejected anyway. - this.#promise.catch((_error) => { - // Intentionally empty. - }); - } - then(onFulfilled, onRejected) { - return this.#promise.then(onFulfilled, onRejected); - } - catch(onRejected) { - return this.#promise.catch(onRejected); - } - resolve(value) { - if (!this.#isFinished) { - this.#isFinished = true; - this.#resolve(value); - } - } - reject(reason) { - if (!this.#isFinished) { - this.#isFinished = true; - this.#reject(reason); - } - } - finally(onFinally) { - return this.#promise.finally(onFinally); - } - [Symbol.toStringTag] = 'Promise'; -} -exports.Deferred = Deferred; -//# sourceMappingURL=Deferred.js.map \ No newline at end of file diff --git a/node_modules/chromium-bidi/lib/cjs/utils/Deferred.js.map b/node_modules/chromium-bidi/lib/cjs/utils/Deferred.js.map deleted file mode 100644 index ee47a90..0000000 --- a/node_modules/chromium-bidi/lib/cjs/utils/Deferred.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,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AAC,SAA+B;QACrC,OAAO,IAAI,CAAC,QAAQ,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC;IAC1C,CAAC;IAED,CAAC,MAAM,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC;CAClC;AAtDD,4BAsDC"} \ No newline at end of file diff --git a/node_modules/chromium-bidi/lib/cjs/utils/EventEmitter.d.ts b/node_modules/chromium-bidi/lib/cjs/utils/EventEmitter.d.ts deleted file mode 100644 index 807eab9..0000000 --- a/node_modules/chromium-bidi/lib/cjs/utils/EventEmitter.d.ts +++ /dev/null @@ -1,58 +0,0 @@ -/** - * Copyright 2022 Google LLC. - * Copyright (c) Microsoft Corporation. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -import { type EventType, type Handler, type WildcardHandler } from 'mitt'; -export declare class EventEmitter> { - #private; - /** - * Binds an event listener to fire when an event occurs. - * @param event The event type you'd like to listen to. Can be a string or symbol. - * @param handler The function to be called when the event occurs. - * @return `this` to enable chaining method calls. - */ - on(type: '*', handler: WildcardHandler): this; - on(type: Key, handler: Handler): this; - /** - * Like `on` but the listener will only be fired once and then it will be removed. - * @param event The event you'd like to listen to - * @param handler The handler function to run when the event occurs - * @return `this` to enable chaining method calls. - */ - once(event: EventType, handler: Handler): this; - /** - * Removes an event listener from firing. - * @param event The event type you'd like to stop listening to. - * @param handler The function that should be removed. - * @return `this` to enable chaining method calls. - */ - off(type: '*', handler: WildcardHandler): this; - off(type: Key, handler: Handler): EventEmitter; - /** - * Emits an event and call any associated listeners. - * - * @param event The event to emit. - * @param eventData Any data to emit with the event. - * @return `true` if there are any listeners, `false` otherwise. - */ - emit(event: Key, eventData: Events[Key]): void; - /** - * Removes all listeners. If given an event argument, it will remove only - * listeners for that event. - * @param event - the event to remove listeners for. - * @returns `this` to enable you to chain method calls. - */ - removeAllListeners(event?: EventType): this; -} diff --git a/node_modules/chromium-bidi/lib/cjs/utils/EventEmitter.js b/node_modules/chromium-bidi/lib/cjs/utils/EventEmitter.js deleted file mode 100644 index c9ad091..0000000 --- a/node_modules/chromium-bidi/lib/cjs/utils/EventEmitter.js +++ /dev/null @@ -1,74 +0,0 @@ -"use strict"; -var __importDefault = (this && this.__importDefault) || function (mod) { - return (mod && mod.__esModule) ? mod : { "default": mod }; -}; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.EventEmitter = void 0; -/** - * Copyright 2022 Google LLC. - * Copyright (c) Microsoft Corporation. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -const mitt_1 = __importDefault(require("mitt")); -class EventEmitter { - #emitter = (0, mitt_1.default)(); - on(type, handler) { - this.#emitter.on(type, handler); - return this; - } - /** - * Like `on` but the listener will only be fired once and then it will be removed. - * @param event The event you'd like to listen to - * @param handler The handler function to run when the event occurs - * @return `this` to enable chaining method calls. - */ - once(event, handler) { - const onceHandler = (eventData) => { - handler(eventData); - this.off(event, onceHandler); - }; - return this.on(event, onceHandler); - } - off(type, handler) { - this.#emitter.off(type, handler); - return this; - } - /** - * Emits an event and call any associated listeners. - * - * @param event The event to emit. - * @param eventData Any data to emit with the event. - * @return `true` if there are any listeners, `false` otherwise. - */ - emit(event, eventData) { - this.#emitter.emit(event, eventData); - } - /** - * Removes all listeners. If given an event argument, it will remove only - * listeners for that event. - * @param event - the event to remove listeners for. - * @returns `this` to enable you to chain method calls. - */ - removeAllListeners(event) { - if (event) { - this.#emitter.all.delete(event); - } - else { - this.#emitter.all.clear(); - } - return this; - } -} -exports.EventEmitter = EventEmitter; -//# sourceMappingURL=EventEmitter.js.map \ No newline at end of file diff --git a/node_modules/chromium-bidi/lib/cjs/utils/EventEmitter.js.map b/node_modules/chromium-bidi/lib/cjs/utils/EventEmitter.js.map deleted file mode 100644 index cb5ba9e..0000000 --- a/node_modules/chromium-bidi/lib/cjs/utils/EventEmitter.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"EventEmitter.js","sourceRoot":"","sources":["../../../src/utils/EventEmitter.ts"],"names":[],"mappings":";;;;;;AAAA;;;;;;;;;;;;;;;GAeG;AACH,gDAKc;AAEd,MAAa,YAAY;IACvB,QAAQ,GAAoB,IAAA,cAAI,GAAE,CAAC;IAUnC,EAAE,CAAC,IAAS,EAAE,OAAY;QACxB,IAAI,CAAC,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC;QAChC,OAAO,IAAI,CAAC;IACd,CAAC;IAED;;;;;OAKG;IACH,IAAI,CAAC,KAAgB,EAAE,OAAgB;QACrC,MAAM,WAAW,GAAY,CAAC,SAAS,EAAE,EAAE;YACzC,OAAO,CAAC,SAAS,CAAC,CAAC;YACnB,IAAI,CAAC,GAAG,CAAC,KAAK,EAAE,WAAW,CAAC,CAAC;QAC/B,CAAC,CAAC;QACF,OAAO,IAAI,CAAC,EAAE,CAAC,KAAK,EAAE,WAAW,CAAC,CAAC;IACrC,CAAC;IAaD,GAAG,CAAC,IAAS,EAAE,OAAY;QACzB,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC;QACjC,OAAO,IAAI,CAAC;IACd,CAAC;IAED;;;;;;OAMG;IACH,IAAI,CAA2B,KAAU,EAAE,SAAsB;QAC/D,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,KAAK,EAAE,SAAS,CAAC,CAAC;IACvC,CAAC;IAED;;;;;OAKG;IACH,kBAAkB,CAAC,KAAiB;QAClC,IAAI,KAAK,EAAE,CAAC;YACV,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;QAClC,CAAC;aAAM,CAAC;YACN,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,KAAK,EAAE,CAAC;QAC5B,CAAC;QACD,OAAO,IAAI,CAAC;IACd,CAAC;CACF;AAvED,oCAuEC"} \ No newline at end of file diff --git a/node_modules/chromium-bidi/lib/cjs/utils/IdWrapper.d.ts b/node_modules/chromium-bidi/lib/cjs/utils/IdWrapper.d.ts deleted file mode 100644 index f0f44d3..0000000 --- a/node_modules/chromium-bidi/lib/cjs/utils/IdWrapper.d.ts +++ /dev/null @@ -1,24 +0,0 @@ -/** - * Copyright 2022 Google LLC. - * Copyright (c) Microsoft Corporation. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -/** - * Creates an object with a positive unique incrementing id. - */ -export declare class IdWrapper { - #private; - constructor(); - get id(): number; -} diff --git a/node_modules/chromium-bidi/lib/cjs/utils/IdWrapper.js b/node_modules/chromium-bidi/lib/cjs/utils/IdWrapper.js deleted file mode 100644 index 3b1ffdd..0000000 --- a/node_modules/chromium-bidi/lib/cjs/utils/IdWrapper.js +++ /dev/null @@ -1,34 +0,0 @@ -"use strict"; -/** - * Copyright 2022 Google LLC. - * Copyright (c) Microsoft Corporation. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -Object.defineProperty(exports, "__esModule", { value: true }); -exports.IdWrapper = void 0; -/** - * Creates an object with a positive unique incrementing id. - */ -class IdWrapper { - static #counter = 0; - #id; - constructor() { - this.#id = ++IdWrapper.#counter; - } - get id() { - return this.#id; - } -} -exports.IdWrapper = IdWrapper; -//# sourceMappingURL=IdWrapper.js.map \ No newline at end of file diff --git a/node_modules/chromium-bidi/lib/cjs/utils/IdWrapper.js.map b/node_modules/chromium-bidi/lib/cjs/utils/IdWrapper.js.map deleted file mode 100644 index b79a485..0000000 --- a/node_modules/chromium-bidi/lib/cjs/utils/IdWrapper.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"IdWrapper.js","sourceRoot":"","sources":["../../../src/utils/IdWrapper.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG;;;AAEH;;GAEG;AACH,MAAa,SAAS;IACpB,MAAM,CAAC,QAAQ,GAAG,CAAC,CAAC;IACX,GAAG,CAAS;IAErB;QACE,IAAI,CAAC,GAAG,GAAG,EAAE,SAAS,CAAC,QAAQ,CAAC;IAClC,CAAC;IAED,IAAI,EAAE;QACJ,OAAO,IAAI,CAAC,GAAG,CAAC;IAClB,CAAC;;AAVH,8BAWC"} \ No newline at end of file diff --git a/node_modules/chromium-bidi/lib/cjs/utils/Mutex.d.ts b/node_modules/chromium-bidi/lib/cjs/utils/Mutex.d.ts deleted file mode 100644 index af30171..0000000 --- a/node_modules/chromium-bidi/lib/cjs/utils/Mutex.d.ts +++ /dev/null @@ -1,29 +0,0 @@ -/** - * Copyright 2023 Google LLC. - * Copyright (c) Microsoft Corporation. - * Copyright 2022 The Chromium Authors. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -export type ReleaseFunction = () => void; -/** - * Use Mutex class to coordinate local concurrent operations. - * Once `acquire` promise resolves, you hold the lock and must - * call `release` function returned by `acquire` to release the - * lock. Failing to `release` the lock may lead to deadlocks. - */ -export declare class Mutex { - #private; - acquire(): Promise; - run(action: () => Promise): Promise; -} diff --git a/node_modules/chromium-bidi/lib/cjs/utils/Mutex.js b/node_modules/chromium-bidi/lib/cjs/utils/Mutex.js deleted file mode 100644 index 7b711c7..0000000 --- a/node_modules/chromium-bidi/lib/cjs/utils/Mutex.js +++ /dev/null @@ -1,68 +0,0 @@ -"use strict"; -/** - * Copyright 2023 Google LLC. - * Copyright (c) Microsoft Corporation. - * Copyright 2022 The Chromium Authors. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -Object.defineProperty(exports, "__esModule", { value: true }); -exports.Mutex = void 0; -/** - * Use Mutex class to coordinate local concurrent operations. - * Once `acquire` promise resolves, you hold the lock and must - * call `release` function returned by `acquire` to release the - * lock. Failing to `release` the lock may lead to deadlocks. - */ -class Mutex { - #locked = false; - #acquirers = []; - // This is FIFO. - acquire() { - const state = { resolved: false }; - if (this.#locked) { - return new Promise((resolve) => { - this.#acquirers.push(() => resolve(this.#release.bind(this, state))); - }); - } - this.#locked = true; - return Promise.resolve(this.#release.bind(this, state)); - } - #release(state) { - if (state.resolved) { - throw new Error('Cannot release more than once.'); - } - state.resolved = true; - const resolve = this.#acquirers.shift(); - if (!resolve) { - this.#locked = false; - return; - } - resolve(); - } - async run(action) { - const release = await this.acquire(); - try { - // Note we need to await here because we want the await to release AFTER - // that await happens. Returning action() will trigger the release - // immediately which is counter to what we want. - const result = await action(); - return result; - } - finally { - release(); - } - } -} -exports.Mutex = Mutex; -//# sourceMappingURL=Mutex.js.map \ No newline at end of file diff --git a/node_modules/chromium-bidi/lib/cjs/utils/Mutex.js.map b/node_modules/chromium-bidi/lib/cjs/utils/Mutex.js.map deleted file mode 100644 index 0735aff..0000000 --- a/node_modules/chromium-bidi/lib/cjs/utils/Mutex.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"Mutex.js","sourceRoot":"","sources":["../../../src/utils/Mutex.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;GAgBG;;;AAIH;;;;;GAKG;AACH,MAAa,KAAK;IAChB,OAAO,GAAG,KAAK,CAAC;IAChB,UAAU,GAAmB,EAAE,CAAC;IAEhC,gBAAgB;IAChB,OAAO;QACL,MAAM,KAAK,GAAG,EAAC,QAAQ,EAAE,KAAK,EAAC,CAAC;QAChC,IAAI,IAAI,CAAC,OAAO,EAAE,CAAC;YACjB,OAAO,IAAI,OAAO,CAAC,CAAC,OAAO,EAAE,EAAE;gBAC7B,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC,CAAC,CAAC;YACvE,CAAC,CAAC,CAAC;QACL,CAAC;QACD,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC;QACpB,OAAO,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC,CAAC;IAC1D,CAAC;IAED,QAAQ,CAAC,KAA0B;QACjC,IAAI,KAAK,CAAC,QAAQ,EAAE,CAAC;YACnB,MAAM,IAAI,KAAK,CAAC,gCAAgC,CAAC,CAAC;QACpD,CAAC;QACD,KAAK,CAAC,QAAQ,GAAG,IAAI,CAAC;QAEtB,MAAM,OAAO,GAAG,IAAI,CAAC,UAAU,CAAC,KAAK,EAAE,CAAC;QACxC,IAAI,CAAC,OAAO,EAAE,CAAC;YACb,IAAI,CAAC,OAAO,GAAG,KAAK,CAAC;YACrB,OAAO;QACT,CAAC;QACD,OAAO,EAAE,CAAC;IACZ,CAAC;IAED,KAAK,CAAC,GAAG,CAAI,MAAwB;QACnC,MAAM,OAAO,GAAG,MAAM,IAAI,CAAC,OAAO,EAAE,CAAC;QACrC,IAAI,CAAC;YACH,wEAAwE;YACxE,kEAAkE;YAClE,gDAAgD;YAChD,MAAM,MAAM,GAAG,MAAM,MAAM,EAAE,CAAC;YAC9B,OAAO,MAAM,CAAC;QAChB,CAAC;gBAAS,CAAC;YACT,OAAO,EAAE,CAAC;QACZ,CAAC;IACH,CAAC;CACF;AA1CD,sBA0CC"} \ No newline at end of file diff --git a/node_modules/chromium-bidi/lib/cjs/utils/ProcessingQueue.d.ts b/node_modules/chromium-bidi/lib/cjs/utils/ProcessingQueue.d.ts deleted file mode 100644 index 6a93170..0000000 --- a/node_modules/chromium-bidi/lib/cjs/utils/ProcessingQueue.d.ts +++ /dev/null @@ -1,24 +0,0 @@ -/** - * Copyright 2022 Google LLC. - * Copyright (c) Microsoft Corporation. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -import { type LoggerFn } from './log.js'; -import type { Result } from './result.js'; -export declare class ProcessingQueue { - #private; - static readonly LOGGER_PREFIX: "debug:queue"; - constructor(processor: (arg: T) => Promise, logger?: LoggerFn); - add(entry: Promise>, name: string): void; -} diff --git a/node_modules/chromium-bidi/lib/cjs/utils/ProcessingQueue.js b/node_modules/chromium-bidi/lib/cjs/utils/ProcessingQueue.js deleted file mode 100644 index 4fff60d..0000000 --- a/node_modules/chromium-bidi/lib/cjs/utils/ProcessingQueue.js +++ /dev/null @@ -1,65 +0,0 @@ -"use strict"; -/** - * Copyright 2022 Google LLC. - * Copyright (c) Microsoft Corporation. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -Object.defineProperty(exports, "__esModule", { value: true }); -exports.ProcessingQueue = void 0; -const log_js_1 = require("./log.js"); -class ProcessingQueue { - static LOGGER_PREFIX = `${log_js_1.LogType.debug}:queue`; - #logger; - #processor; - #queue = []; - // Flag to keep only 1 active processor. - #isProcessing = false; - constructor(processor, logger) { - this.#processor = processor; - this.#logger = logger; - } - add(entry, name) { - this.#queue.push([entry, name]); - // No need in waiting. Just initialize processor if needed. - void this.#processIfNeeded(); - } - async #processIfNeeded() { - if (this.#isProcessing) { - return; - } - this.#isProcessing = true; - while (this.#queue.length > 0) { - const arrayEntry = this.#queue.shift(); - if (!arrayEntry) { - continue; - } - const [entryPromise, name] = arrayEntry; - this.#logger?.(ProcessingQueue.LOGGER_PREFIX, 'Processing event:', name); - await entryPromise - .then((entry) => { - if (entry.kind === 'error') { - this.#logger?.(log_js_1.LogType.debugError, 'Event threw before sending:', entry.error.message, entry.error.stack); - return; - } - return this.#processor(entry.value); - }) - .catch((error) => { - this.#logger?.(log_js_1.LogType.debugError, 'Event was not processed:', error?.message); - }); - } - this.#isProcessing = false; - } -} -exports.ProcessingQueue = ProcessingQueue; -//# sourceMappingURL=ProcessingQueue.js.map \ No newline at end of file diff --git a/node_modules/chromium-bidi/lib/cjs/utils/ProcessingQueue.js.map b/node_modules/chromium-bidi/lib/cjs/utils/ProcessingQueue.js.map deleted file mode 100644 index 4a7cb2e..0000000 --- a/node_modules/chromium-bidi/lib/cjs/utils/ProcessingQueue.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"ProcessingQueue.js","sourceRoot":"","sources":["../../../src/utils/ProcessingQueue.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG;;;AAEH,qCAAgD;AAGhD,MAAa,eAAe;IAC1B,MAAM,CAAU,aAAa,GAAG,GAAG,gBAAO,CAAC,KAAK,QAAiB,CAAC;IAEzD,OAAO,CAAY;IACnB,UAAU,CAA4B;IACtC,MAAM,GAAmC,EAAE,CAAC;IAErD,wCAAwC;IACxC,aAAa,GAAG,KAAK,CAAC;IAEtB,YAAY,SAAoC,EAAE,MAAiB;QACjE,IAAI,CAAC,UAAU,GAAG,SAAS,CAAC;QAC5B,IAAI,CAAC,OAAO,GAAG,MAAM,CAAC;IACxB,CAAC;IAED,GAAG,CAAC,KAAyB,EAAE,IAAY;QACzC,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,EAAE,IAAI,CAAC,CAAC,CAAC;QAChC,2DAA2D;QAC3D,KAAK,IAAI,CAAC,gBAAgB,EAAE,CAAC;IAC/B,CAAC;IAED,KAAK,CAAC,gBAAgB;QACpB,IAAI,IAAI,CAAC,aAAa,EAAE,CAAC;YACvB,OAAO;QACT,CAAC;QACD,IAAI,CAAC,aAAa,GAAG,IAAI,CAAC;QAC1B,OAAO,IAAI,CAAC,MAAM,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;YAC9B,MAAM,UAAU,GAAG,IAAI,CAAC,MAAM,CAAC,KAAK,EAAE,CAAC;YACvC,IAAI,CAAC,UAAU,EAAE,CAAC;gBAChB,SAAS;YACX,CAAC;YACD,MAAM,CAAC,YAAY,EAAE,IAAI,CAAC,GAAG,UAAU,CAAC;YACxC,IAAI,CAAC,OAAO,EAAE,CAAC,eAAe,CAAC,aAAa,EAAE,mBAAmB,EAAE,IAAI,CAAC,CAAC;YAEzE,MAAM,YAAY;iBACf,IAAI,CAAC,CAAC,KAAK,EAAE,EAAE;gBACd,IAAI,KAAK,CAAC,IAAI,KAAK,OAAO,EAAE,CAAC;oBAC3B,IAAI,CAAC,OAAO,EAAE,CACZ,gBAAO,CAAC,UAAU,EAClB,6BAA6B,EAC7B,KAAK,CAAC,KAAK,CAAC,OAAO,EACnB,KAAK,CAAC,KAAK,CAAC,KAAK,CAClB,CAAC;oBACF,OAAO;gBACT,CAAC;gBACD,OAAO,IAAI,CAAC,UAAU,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;YACtC,CAAC,CAAC;iBACD,KAAK,CAAC,CAAC,KAAK,EAAE,EAAE;gBACf,IAAI,CAAC,OAAO,EAAE,CACZ,gBAAO,CAAC,UAAU,EAClB,0BAA0B,EAC1B,KAAK,EAAE,OAAO,CACf,CAAC;YACJ,CAAC,CAAC,CAAC;QACP,CAAC;QAED,IAAI,CAAC,aAAa,GAAG,KAAK,CAAC;IAC7B,CAAC;;AAzDH,0CA0DC"} \ No newline at end of file diff --git a/node_modules/chromium-bidi/lib/cjs/utils/UrlPattern.d.ts b/node_modules/chromium-bidi/lib/cjs/utils/UrlPattern.d.ts deleted file mode 100644 index 91c73da..0000000 --- a/node_modules/chromium-bidi/lib/cjs/utils/UrlPattern.d.ts +++ /dev/null @@ -1,18 +0,0 @@ -/** - * Copyright 2023 Google LLC. - * Copyright (c) Microsoft Corporation. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -import { URLPattern } from 'urlpattern-polyfill'; -export { URLPattern }; diff --git a/node_modules/chromium-bidi/lib/cjs/utils/UrlPattern.js b/node_modules/chromium-bidi/lib/cjs/utils/UrlPattern.js deleted file mode 100644 index 7b7c11e..0000000 --- a/node_modules/chromium-bidi/lib/cjs/utils/UrlPattern.js +++ /dev/null @@ -1,27 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.URLPattern = void 0; -/** - * Copyright 2023 Google LLC. - * Copyright (c) Microsoft Corporation. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -const urlpattern_polyfill_1 = require("urlpattern-polyfill"); -Object.defineProperty(exports, "URLPattern", { enumerable: true, get: function () { return urlpattern_polyfill_1.URLPattern; } }); -// XXX: Switch to native URLPattern when available. -// https://github.com/nodejs/node/issues/40844 -if ('URLPattern' in globalThis) { - urlpattern_polyfill_1.URLPattern = globalThis.URLPattern; -} -//# sourceMappingURL=UrlPattern.js.map \ No newline at end of file diff --git a/node_modules/chromium-bidi/lib/cjs/utils/UrlPattern.js.map b/node_modules/chromium-bidi/lib/cjs/utils/UrlPattern.js.map deleted file mode 100644 index 0fa83a3..0000000 --- a/node_modules/chromium-bidi/lib/cjs/utils/UrlPattern.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"UrlPattern.js","sourceRoot":"","sources":["../../../src/utils/UrlPattern.ts"],"names":[],"mappings":";;;AAAA;;;;;;;;;;;;;;;GAeG;AACH,6DAA+C;AAQvC,2FARA,gCAAU,OAQA;AANlB,mDAAmD;AACnD,8CAA8C;AAC9C,IAAI,YAAY,IAAI,UAAU,EAAE,CAAC;IAC9B,gCAAkB,GAAI,UAAkB,CAAC,UAAU,CAAC;AACvD,CAAC"} \ No newline at end of file diff --git a/node_modules/chromium-bidi/lib/cjs/utils/WebsocketTransport.d.ts b/node_modules/chromium-bidi/lib/cjs/utils/WebsocketTransport.d.ts deleted file mode 100644 index ff8443c..0000000 --- a/node_modules/chromium-bidi/lib/cjs/utils/WebsocketTransport.d.ts +++ /dev/null @@ -1,25 +0,0 @@ -/** - * Copyright 2021 Google LLC. - * Copyright (c) Microsoft Corporation. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -import type WebSocket from 'ws'; -import type { Transport } from './transport.js'; -export declare class WebSocketTransport implements Transport { - #private; - constructor(websocket: WebSocket); - setOnMessage(onMessage: (message: string) => void): void; - sendMessage(message: string): void; - close(): void; -} diff --git a/node_modules/chromium-bidi/lib/cjs/utils/WebsocketTransport.js b/node_modules/chromium-bidi/lib/cjs/utils/WebsocketTransport.js deleted file mode 100644 index aa98e5b..0000000 --- a/node_modules/chromium-bidi/lib/cjs/utils/WebsocketTransport.js +++ /dev/null @@ -1,41 +0,0 @@ -"use strict"; -/** - * Copyright 2021 Google LLC. - * Copyright (c) Microsoft Corporation. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -Object.defineProperty(exports, "__esModule", { value: true }); -exports.WebSocketTransport = void 0; -class WebSocketTransport { - #onMessage = null; - #websocket; - constructor(websocket) { - this.#websocket = websocket; - this.#websocket.on('message', (message) => { - this.#onMessage?.(message); - }); - } - setOnMessage(onMessage) { - this.#onMessage = onMessage; - } - sendMessage(message) { - this.#websocket.send(message); - } - close() { - this.#onMessage = null; - this.#websocket.close(); - } -} -exports.WebSocketTransport = WebSocketTransport; -//# sourceMappingURL=WebsocketTransport.js.map \ No newline at end of file diff --git a/node_modules/chromium-bidi/lib/cjs/utils/WebsocketTransport.js.map b/node_modules/chromium-bidi/lib/cjs/utils/WebsocketTransport.js.map deleted file mode 100644 index 18ea3cf..0000000 --- a/node_modules/chromium-bidi/lib/cjs/utils/WebsocketTransport.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"WebsocketTransport.js","sourceRoot":"","sources":["../../../src/utils/WebsocketTransport.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG;;;AAMH,MAAa,kBAAkB;IAC7B,UAAU,GAAuC,IAAI,CAAC;IAEtD,UAAU,CAAY;IAEtB,YAAY,SAAoB;QAC9B,IAAI,CAAC,UAAU,GAAG,SAAS,CAAC;QAE5B,IAAI,CAAC,UAAU,CAAC,EAAE,CAAC,SAAS,EAAE,CAAC,OAAe,EAAE,EAAE;YAChD,IAAI,CAAC,UAAU,EAAE,CAAC,OAAO,CAAC,CAAC;QAC7B,CAAC,CAAC,CAAC;IACL,CAAC;IAED,YAAY,CAAC,SAAoC;QAC/C,IAAI,CAAC,UAAU,GAAG,SAAS,CAAC;IAC9B,CAAC;IAED,WAAW,CAAC,OAAe;QACzB,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAChC,CAAC;IAED,KAAK;QACH,IAAI,CAAC,UAAU,GAAG,IAAI,CAAC;QACvB,IAAI,CAAC,UAAU,CAAC,KAAK,EAAE,CAAC;IAC1B,CAAC;CACF;AAzBD,gDAyBC"} \ No newline at end of file diff --git a/node_modules/chromium-bidi/lib/cjs/utils/assert.d.ts b/node_modules/chromium-bidi/lib/cjs/utils/assert.d.ts deleted file mode 100644 index 3855220..0000000 --- a/node_modules/chromium-bidi/lib/cjs/utils/assert.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -/** - * Copyright 2023 Google LLC. - * Copyright (c) Microsoft Corporation. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -export declare function assert(predicate: T, message?: string): asserts predicate; diff --git a/node_modules/chromium-bidi/lib/cjs/utils/assert.js b/node_modules/chromium-bidi/lib/cjs/utils/assert.js deleted file mode 100644 index f0525a0..0000000 --- a/node_modules/chromium-bidi/lib/cjs/utils/assert.js +++ /dev/null @@ -1,26 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.assert = void 0; -/** - * Copyright 2023 Google LLC. - * Copyright (c) Microsoft Corporation. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -function assert(predicate, message) { - if (!predicate) { - throw new Error(message ?? 'Internal assertion failed.'); - } -} -exports.assert = assert; -//# sourceMappingURL=assert.js.map \ No newline at end of file diff --git a/node_modules/chromium-bidi/lib/cjs/utils/assert.js.map b/node_modules/chromium-bidi/lib/cjs/utils/assert.js.map deleted file mode 100644 index a6bf8b1..0000000 --- a/node_modules/chromium-bidi/lib/cjs/utils/assert.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"assert.js","sourceRoot":"","sources":["../../../src/utils/assert.ts"],"names":[],"mappings":";;;AAAA;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,MAAM,CAAI,SAAY,EAAE,OAAgB;IACtD,IAAI,CAAC,SAAS,EAAE,CAAC;QACf,MAAM,IAAI,KAAK,CAAC,OAAO,IAAI,4BAA4B,CAAC,CAAC;IAC3D,CAAC;AACH,CAAC;AAJD,wBAIC"} \ No newline at end of file diff --git a/node_modules/chromium-bidi/lib/cjs/utils/log.d.ts b/node_modules/chromium-bidi/lib/cjs/utils/log.d.ts deleted file mode 100644 index c021245..0000000 --- a/node_modules/chromium-bidi/lib/cjs/utils/log.d.ts +++ /dev/null @@ -1,25 +0,0 @@ -/** - * Copyright 2021 Google LLC. - * Copyright (c) Microsoft Corporation. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -export declare enum LogType { - bidi = "bidi", - cdp = "cdp", - debug = "debug", - debugError = "debug:error", - debugInfo = "debug:info" -} -export type LogPrefix = LogType | `${LogType}:${string}`; -export type LoggerFn = (type: LogPrefix, ...messages: unknown[]) => void; diff --git a/node_modules/chromium-bidi/lib/cjs/utils/log.js b/node_modules/chromium-bidi/lib/cjs/utils/log.js deleted file mode 100644 index 52ead1a..0000000 --- a/node_modules/chromium-bidi/lib/cjs/utils/log.js +++ /dev/null @@ -1,30 +0,0 @@ -"use strict"; -/** - * Copyright 2021 Google LLC. - * Copyright (c) Microsoft Corporation. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -Object.defineProperty(exports, "__esModule", { value: true }); -exports.LogType = void 0; -var LogType; -(function (LogType) { - // keep-sorted start - LogType["bidi"] = "bidi"; - LogType["cdp"] = "cdp"; - LogType["debug"] = "debug"; - LogType["debugError"] = "debug:error"; - LogType["debugInfo"] = "debug:info"; - // keep-sorted end -})(LogType || (exports.LogType = LogType = {})); -//# sourceMappingURL=log.js.map \ No newline at end of file diff --git a/node_modules/chromium-bidi/lib/cjs/utils/log.js.map b/node_modules/chromium-bidi/lib/cjs/utils/log.js.map deleted file mode 100644 index d5b1299..0000000 --- a/node_modules/chromium-bidi/lib/cjs/utils/log.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"log.js","sourceRoot":"","sources":["../../../src/utils/log.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG;;;AAEH,IAAY,OAQX;AARD,WAAY,OAAO;IACjB,oBAAoB;IACpB,wBAAa,CAAA;IACb,sBAAW,CAAA;IACX,0BAAe,CAAA;IACf,qCAA0B,CAAA;IAC1B,mCAAwB,CAAA;IACxB,kBAAkB;AACpB,CAAC,EARW,OAAO,uBAAP,OAAO,QAQlB"} \ No newline at end of file diff --git a/node_modules/chromium-bidi/lib/cjs/utils/result.d.ts b/node_modules/chromium-bidi/lib/cjs/utils/result.d.ts deleted file mode 100644 index e5f5db9..0000000 --- a/node_modules/chromium-bidi/lib/cjs/utils/result.d.ts +++ /dev/null @@ -1,23 +0,0 @@ -/** - * Copyright 2022 Google LLC. - * Copyright (c) Microsoft Corporation. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -export type Result = { - kind: 'success'; - value: T; -} | { - kind: 'error'; - error: E; -}; diff --git a/node_modules/chromium-bidi/lib/cjs/utils/result.js b/node_modules/chromium-bidi/lib/cjs/utils/result.js deleted file mode 100644 index f7bc337..0000000 --- a/node_modules/chromium-bidi/lib/cjs/utils/result.js +++ /dev/null @@ -1,19 +0,0 @@ -"use strict"; -/** - * Copyright 2022 Google LLC. - * Copyright (c) Microsoft Corporation. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -Object.defineProperty(exports, "__esModule", { value: true }); -//# sourceMappingURL=result.js.map \ No newline at end of file diff --git a/node_modules/chromium-bidi/lib/cjs/utils/result.js.map b/node_modules/chromium-bidi/lib/cjs/utils/result.js.map deleted file mode 100644 index bbb7b3a..0000000 --- a/node_modules/chromium-bidi/lib/cjs/utils/result.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"result.js","sourceRoot":"","sources":["../../../src/utils/result.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG"} \ No newline at end of file diff --git a/node_modules/chromium-bidi/lib/cjs/utils/transport.d.ts b/node_modules/chromium-bidi/lib/cjs/utils/transport.d.ts deleted file mode 100644 index 9c16b47..0000000 --- a/node_modules/chromium-bidi/lib/cjs/utils/transport.d.ts +++ /dev/null @@ -1,25 +0,0 @@ -/** - * Copyright 2021 Google LLC. - * Copyright (c) Microsoft Corporation. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -/** - * Represents a low-level transport mechanism for raw text messages like - * a WebSocket, pipe, or Window binding. - */ -export interface Transport { - setOnMessage: (handler: (message: string) => Promise | void) => void; - sendMessage: (message: string) => Promise | void; - close(): void; -} diff --git a/node_modules/chromium-bidi/lib/cjs/utils/transport.js b/node_modules/chromium-bidi/lib/cjs/utils/transport.js deleted file mode 100644 index 8cff4b0..0000000 --- a/node_modules/chromium-bidi/lib/cjs/utils/transport.js +++ /dev/null @@ -1,19 +0,0 @@ -"use strict"; -/** - * Copyright 2021 Google LLC. - * Copyright (c) Microsoft Corporation. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -Object.defineProperty(exports, "__esModule", { value: true }); -//# sourceMappingURL=transport.js.map \ No newline at end of file diff --git a/node_modules/chromium-bidi/lib/cjs/utils/transport.js.map b/node_modules/chromium-bidi/lib/cjs/utils/transport.js.map deleted file mode 100644 index 370ed80..0000000 --- a/node_modules/chromium-bidi/lib/cjs/utils/transport.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"transport.js","sourceRoot":"","sources":["../../../src/utils/transport.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG"} \ No newline at end of file diff --git a/node_modules/chromium-bidi/lib/cjs/utils/unitConversions.d.ts b/node_modules/chromium-bidi/lib/cjs/utils/unitConversions.d.ts deleted file mode 100644 index 353437e..0000000 --- a/node_modules/chromium-bidi/lib/cjs/utils/unitConversions.d.ts +++ /dev/null @@ -1,18 +0,0 @@ -/** - * Copyright 2023 Google LLC. - * Copyright (c) Microsoft Corporation. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -/** @return Given an input in cm, convert it to inches. */ -export declare function inchesFromCm(cm: number): number; diff --git a/node_modules/chromium-bidi/lib/cjs/utils/unitConversions.js b/node_modules/chromium-bidi/lib/cjs/utils/unitConversions.js deleted file mode 100644 index 3c2e941..0000000 --- a/node_modules/chromium-bidi/lib/cjs/utils/unitConversions.js +++ /dev/null @@ -1,25 +0,0 @@ -"use strict"; -/** - * Copyright 2023 Google LLC. - * Copyright (c) Microsoft Corporation. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -Object.defineProperty(exports, "__esModule", { value: true }); -exports.inchesFromCm = void 0; -/** @return Given an input in cm, convert it to inches. */ -function inchesFromCm(cm) { - return cm / 2.54; -} -exports.inchesFromCm = inchesFromCm; -//# sourceMappingURL=unitConversions.js.map \ No newline at end of file diff --git a/node_modules/chromium-bidi/lib/cjs/utils/unitConversions.js.map b/node_modules/chromium-bidi/lib/cjs/utils/unitConversions.js.map deleted file mode 100644 index 11e0bc3..0000000 --- a/node_modules/chromium-bidi/lib/cjs/utils/unitConversions.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"unitConversions.js","sourceRoot":"","sources":["../../../src/utils/unitConversions.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG;;;AAEH,0DAA0D;AAC1D,SAAgB,YAAY,CAAC,EAAU;IACrC,OAAO,EAAE,GAAG,IAAI,CAAC;AACnB,CAAC;AAFD,oCAEC"} \ No newline at end of file diff --git a/node_modules/chromium-bidi/lib/cjs/utils/uuid.d.ts b/node_modules/chromium-bidi/lib/cjs/utils/uuid.d.ts deleted file mode 100644 index 29c26f7..0000000 --- a/node_modules/chromium-bidi/lib/cjs/utils/uuid.d.ts +++ /dev/null @@ -1,25 +0,0 @@ -/** - * Copyright 2023 Google LLC. - * Copyright (c) Microsoft Corporation. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -/** - * Generates a random v4 UUID, as specified in RFC4122. - * - * Uses the native Web Crypto API if available, otherwise falls back to a - * polyfill. - * - * Example: '9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb6d' - */ -export declare function uuidv4(): `${string}-${string}-${string}-${string}-${string}`; diff --git a/node_modules/chromium-bidi/lib/cjs/utils/uuid.js b/node_modules/chromium-bidi/lib/cjs/utils/uuid.js deleted file mode 100644 index a76625f..0000000 --- a/node_modules/chromium-bidi/lib/cjs/utils/uuid.js +++ /dev/null @@ -1,63 +0,0 @@ -"use strict"; -/** - * Copyright 2023 Google LLC. - * Copyright (c) Microsoft Corporation. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -Object.defineProperty(exports, "__esModule", { value: true }); -exports.uuidv4 = void 0; -/** - * Generates a random v4 UUID, as specified in RFC4122. - * - * Uses the native Web Crypto API if available, otherwise falls back to a - * polyfill. - * - * Example: '9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb6d' - */ -function uuidv4() { - // Available only in secure contexts - // https://developer.mozilla.org/en-US/docs/Web/API/Web_Crypto_API - if ('crypto' in globalThis && 'randomUUID' in globalThis.crypto) { - // Node with - // https://nodejs.org/dist/latest-v20.x/docs/api/globals.html#crypto_1 or - // secure browser context. - return globalThis.crypto.randomUUID(); - } - const randomValues = new Uint8Array(16); - if ('crypto' in globalThis && 'getRandomValues' in globalThis.crypto) { - // Node with - // https://nodejs.org/dist/latest-v20.x/docs/api/globals.html#crypto_1 or - // browser. - globalThis.crypto.getRandomValues(randomValues); - } - else { - // Node without - // https://nodejs.org/dist/latest-v20.x/docs/api/globals.html#crypto_1. - // eslint-disable-next-line @typescript-eslint/no-var-requires - require('crypto').webcrypto.getRandomValues(randomValues); - } - // Set version (4) and variant (RFC4122) bits. - randomValues[6] = (randomValues[6] & 0x0f) | 0x40; - randomValues[8] = (randomValues[8] & 0x3f) | 0x80; - const bytesToHex = (bytes) => bytes.reduce((str, byte) => str + byte.toString(16).padStart(2, '0'), ''); - return [ - bytesToHex(randomValues.subarray(0, 4)), - bytesToHex(randomValues.subarray(4, 6)), - bytesToHex(randomValues.subarray(6, 8)), - bytesToHex(randomValues.subarray(8, 10)), - bytesToHex(randomValues.subarray(10, 16)), - ].join('-'); -} -exports.uuidv4 = uuidv4; -//# sourceMappingURL=uuid.js.map \ No newline at end of file diff --git a/node_modules/chromium-bidi/lib/cjs/utils/uuid.js.map b/node_modules/chromium-bidi/lib/cjs/utils/uuid.js.map deleted file mode 100644 index cc81299..0000000 --- a/node_modules/chromium-bidi/lib/cjs/utils/uuid.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":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AAC,QAAQ,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;QACvC,UAAU,CAAC,YAAY,CAAC,QAAQ,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;QACvC,UAAU,CAAC,YAAY,CAAC,QAAQ,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;QACvC,UAAU,CAAC,YAAY,CAAC,QAAQ,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;QACxC,UAAU,CAAC,YAAY,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;KAC1C,CAAC,IAAI,CAAC,GAAG,CAAwD,CAAC;AACrE,CAAC;AAtCD,wBAsCC"} \ No newline at end of file diff --git a/node_modules/chromium-bidi/lib/iife/mapperTab.js b/node_modules/chromium-bidi/lib/iife/mapperTab.js deleted file mode 100644 index 6d04982..0000000 --- a/node_modules/chromium-bidi/lib/iife/mapperTab.js +++ /dev/null @@ -1,21 +0,0 @@ -var mapperTab=function(){"use strict";var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function t(e){if(e.__esModule)return e;var t=e.default;if("function"==typeof t){var a=function e(){return this instanceof e?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};a.prototype=t.prototype}else a={};return Object.defineProperty(a,"__esModule",{value:!0}),Object.keys(e).forEach((function(t){var r=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(a,t,r.get?r:{enumerable:!0,get:function(){return e[t]}})})),a}var a={},r={},n={},s={};var o=Object.freeze({__proto__:null,default:function(e){return{all:e=e||new Map,on:function(t,a){var r=e.get(t);r?r.push(a):e.set(t,[a])},off:function(t,a){var r=e.get(t);r&&(a?r.splice(r.indexOf(a)>>>0,1):e.set(t,[]))},emit:function(t,a){var r=e.get(t);r&&r.slice().map((function(e){e(a)})),(r=e.get("*"))&&r.slice().map((function(e){e(t,a)}))}}}}),i=t(o),c=e&&e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(s,"__esModule",{value:!0}),s.EventEmitter=void 0;const d=c(i);s.EventEmitter=class{#e=(0,d.default)();on(e,t){return this.#e.on(e,t),this}once(e,t){const a=r=>{t(r),this.off(e,a)};return this.on(e,a)}off(e,t){return this.#e.off(e,t),this}emit(e,t){this.#e.emit(e,t)}removeAllListeners(e){return e?this.#e.all.delete(e):this.#e.all.clear(),this}};var u,l={};Object.defineProperty(l,"__esModule",{value:!0}),l.LogType=void 0,function(e){e.bidi="bidi",e.cdp="cdp",e.debug="debug",e.debugError="debug:error",e.debugInfo="debug:info"}(u||(l.LogType=u={}));var h={};Object.defineProperty(h,"__esModule",{value:!0}),h.ProcessingQueue=void 0;const p=l;class m{static LOGGER_PREFIX=`${p.LogType.debug}:queue`;#t;#a;#r=[];#n=!1;constructor(e,t){this.#a=e,this.#t=t}add(e,t){this.#r.push([e,t]),this.#s()}async#s(){if(!this.#n){for(this.#n=!0;this.#r.length>0;){const e=this.#r.shift();if(!e)continue;const[t,a]=e;this.#t?.(m.LOGGER_PREFIX,"Processing event:",a),await t.then((e=>{if("error"!==e.kind)return this.#a(e.value);this.#t?.(p.LogType.debugError,"Event threw before sending:",e.error.message,e.error.stack)})).catch((e=>{this.#t?.(p.LogType.debugError,"Event was not processed:",e?.message)}))}this.#n=!1}}}h.ProcessingQueue=m;var f={},g={},y={};Object.defineProperty(y,"__esModule",{value:!0});var S,v,w,C,b,x={};Object.defineProperty(x,"__esModule",{value:!0}),x.EVENT_NAMES=x.Network=x.BrowsingContext=x.Log=x.Script=x.BiDiModule=void 0,function(e){e.Browser="browser",e.BrowsingContext="browsingContext",e.Cdp="cdp",e.Input="input",e.Log="log",e.Network="network",e.Script="script",e.Session="session"}(S||(x.BiDiModule=S={})),function(e){var t;(t=e.EventNames||(e.EventNames={})).Message="script.message",t.RealmCreated="script.realmCreated",t.RealmDestroyed="script.realmDestroyed"}(v||(x.Script=v={})),function(e){(e.EventNames||(e.EventNames={})).LogEntryAdded="log.entryAdded"}(w||(x.Log=w={})),function(e){var t;(t=e.EventNames||(e.EventNames={})).ContextCreated="browsingContext.contextCreated",t.ContextDestroyed="browsingContext.contextDestroyed",t.DomContentLoaded="browsingContext.domContentLoaded",t.DownloadWillBegin="browsingContext.downloadWillBegin",t.FragmentNavigated="browsingContext.fragmentNavigated",t.Load="browsingContext.load",t.NavigationAborted="browsingContext.navigationAborted",t.NavigationFailed="browsingContext.navigationFailed",t.NavigationStarted="browsingContext.navigationStarted",t.UserPromptClosed="browsingContext.userPromptClosed",t.UserPromptOpened="browsingContext.userPromptOpened"}(C||(x.BrowsingContext=C={})),function(e){var t;(t=e.EventNames||(e.EventNames={})).AuthRequired="network.authRequired",t.BeforeRequestSent="network.beforeRequestSent",t.FetchError="network.fetchError",t.ResponseCompleted="network.responseCompleted",t.ResponseStarted="network.responseStarted"}(b||(x.Network=b={})),x.EVENT_NAMES=new Set([...Object.values(S),...Object.values(C.EventNames),...Object.values(w.EventNames),...Object.values(b.EventNames),...Object.values(v.EventNames)]);var P={};Object.defineProperty(P,"__esModule",{value:!0});var I={};Object.defineProperty(I,"__esModule",{value:!0}),I.UnderspecifiedStoragePartitionException=I.UnableToSetFileInputException=I.UnableToSetCookieException=I.NoSuchStoragePartitionException=I.UnsupportedOperationException=I.UnableToCloseBrowserException=I.UnableToCaptureScreenException=I.UnknownErrorException=I.UnknownCommandException=I.SessionNotCreatedException=I.NoSuchUserContextException=I.NoSuchScriptException=I.NoSuchRequestException=I.NoSuchNodeException=I.NoSuchInterceptException=I.NoSuchHistoryEntryException=I.NoSuchHandleException=I.NoSuchFrameException=I.NoSuchElementException=I.NoSuchAlertException=I.MoveTargetOutOfBoundsException=I.InvalidSessionIdException=I.InvalidArgumentException=I.Exception=void 0;class k{error;message;stacktrace;constructor(e,t,a){this.error=e,this.message=t,this.stacktrace=a}toErrorResponse(e){return{type:"error",id:e,error:this.error,message:this.message,stacktrace:this.stacktrace}}}I.Exception=k;I.InvalidArgumentException=class extends k{constructor(e,t){super("invalid argument",e,t)}};I.InvalidSessionIdException=class extends k{constructor(e,t){super("invalid session id",e,t)}};I.MoveTargetOutOfBoundsException=class extends k{constructor(e,t){super("move target out of bounds",e,t)}};I.NoSuchAlertException=class extends k{constructor(e,t){super("no such alert",e,t)}};I.NoSuchElementException=class extends k{constructor(e,t){super("no such element",e,t)}};I.NoSuchFrameException=class extends k{constructor(e,t){super("no such frame",e,t)}};I.NoSuchHandleException=class extends k{constructor(e,t){super("no such handle",e,t)}};I.NoSuchHistoryEntryException=class extends k{constructor(e,t){super("no such history entry",e,t)}};I.NoSuchInterceptException=class extends k{constructor(e,t){super("no such intercept",e,t)}};I.NoSuchNodeException=class extends k{constructor(e,t){super("no such node",e,t)}};I.NoSuchRequestException=class extends k{constructor(e,t){super("no such request",e,t)}};I.NoSuchScriptException=class extends k{constructor(e,t){super("no such script",e,t)}};I.NoSuchUserContextException=class extends k{constructor(e,t){super("no such user context",e,t)}};I.SessionNotCreatedException=class extends k{constructor(e,t){super("session not created",e,t)}};I.UnknownCommandException=class extends k{constructor(e,t){super("unknown command",e,t)}};I.UnknownErrorException=class extends k{constructor(e,t=(new Error).stack){super("unknown error",e,t)}};I.UnableToCaptureScreenException=class extends k{constructor(e,t){super("unable to capture screen",e,t)}};I.UnableToCloseBrowserException=class extends k{constructor(e,t){super("unable to close browser",e,t)}};I.UnsupportedOperationException=class extends k{constructor(e,t){super("unsupported operation",e,t)}};I.NoSuchStoragePartitionException=class extends k{constructor(e,t){super("no such storage partition",e,t)}};I.UnableToSetCookieException=class extends k{constructor(e,t){super("unable to set cookie",e,t)}};I.UnableToSetFileInputException=class extends k{constructor(e,t){super("unable to set file input",e,t)}};I.UnderspecifiedStoragePartitionException=class extends k{constructor(e,t){super("underspecified storage partition",e,t)}};var R={};Object.defineProperty(R,"__esModule",{value:!0}),function(t){var a=e&&e.__createBinding||(Object.create?function(e,t,a,r){void 0===r&&(r=a);var n=Object.getOwnPropertyDescriptor(t,a);n&&!("get"in n?!t.__esModule:n.writable||n.configurable)||(n={enumerable:!0,get:function(){return t[a]}}),Object.defineProperty(e,r,n)}:function(e,t,a,r){void 0===r&&(r=a),e[r]=t[a]}),r=e&&e.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),n=e&&e.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&a(t,e,n);return r(t,e),t},s=e&&e.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||a(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),t.ChromiumBidi=t.Cdp=void 0,t.Cdp=n(y),t.ChromiumBidi=n(x),s(P,t),s(I,t),s(R,t)}(g);var E={};Object.defineProperty(E,"__esModule",{value:!0}),E.BidiNoOpParser=void 0;E.BidiNoOpParser=class{parseRemoveUserContextParams(e){return e}parseActivateParams(e){return e}parseCaptureScreenshotParams(e){return e}parseCloseParams(e){return e}parseCreateParams(e){return e}parseGetTreeParams(e){return e}parseHandleUserPromptParams(e){return e}parseNavigateParams(e){return e}parsePrintParams(e){return e}parseReloadParams(e){return e}parseSetViewportParams(e){return e}parseTraverseHistoryParams(e){return e}parseGetSessionParams(e){return e}parseResolveRealmParams(e){return e}parseSendCommandParams(e){return e}parseAddPreloadScriptParams(e){return e}parseCallFunctionParams(e){return e}parseDisownParams(e){return e}parseEvaluateParams(e){return e}parseGetRealmsParams(e){return e}parseRemovePreloadScriptParams(e){return e}parsePerformActionsParams(e){return e}parseReleaseActionsParams(e){return e}parseSetFilesParams(e){return e}parseAddInterceptParams(e){return e}parseContinueRequestParams(e){return e}parseContinueResponseParams(e){return e}parseContinueWithAuthParams(e){return e}parseFailRequestParams(e){return e}parseProvideResponseParams(e){return e}parseRemoveInterceptParams(e){return e}parseSetPermissionsParams(e){return e}parseSubscribeParams(e){return e}parseDeleteCookiesParams(e){return e}parseGetCookiesParams(e){return e}parseSetCookieParams(e){return e}};var _={};Object.defineProperty(_,"__esModule",{value:!0}),_.BrowserProcessor=void 0;const T=g;_.BrowserProcessor=class{#o;constructor(e){this.#o=e}close(){return setTimeout((()=>this.#o.sendCommand("Browser.close")),0),{}}async createUserContext(e){const t={proxyServer:e["goog:proxyServer"]??void 0},a=e["goog:proxyBypassList"]??void 0;a&&(t.proxyBypassList=a.join(","));return{userContext:(await this.#o.sendCommand("Target.createBrowserContext",t)).browserContextId}}async removeUserContext(e){const t=e.userContext;if("default"===t)throw new T.InvalidArgumentException("`default` user context cannot be removed");try{await this.#o.sendCommand("Target.disposeBrowserContext",{browserContextId:t})}catch(e){if(e.message.startsWith("Failed to find context with id"))throw new T.NoSuchUserContextException(e.message);throw e}return{}}async getUserContexts(){return{userContexts:[{userContext:"default"},...(await this.#o.sendCommand("Target.getBrowserContexts")).browserContextIds.map((e=>({userContext:e})))]}}};var N={};Object.defineProperty(N,"__esModule",{value:!0}),N.CdpProcessor=void 0;const j=g;N.CdpProcessor=class{#i;#c;#d;#o;constructor(e,t,a,r){this.#i=e,this.#c=t,this.#d=a,this.#o=r}getSession(e){const t=e.context,a=this.#i.getContext(t).cdpTarget.cdpSessionId;return void 0===a?{}:{session:a}}resolveRealm(e){const t=e.realm,a=this.#c.getRealm({realmId:t});if(void 0===a)throw new j.UnknownErrorException(`Could not find realm ${e.realm}`);return{executionContextId:a.executionContextId}}async sendCommand(e){const t=e.session?this.#d.getCdpClient(e.session):this.#o;return{result:await t.sendCommand(e.method,e.params),session:e.session}}};var O={},M={},B={},A={};Object.defineProperty(A,"__esModule",{value:!0}),A.uuidv4=void 0,A.uuidv4=function(){if("crypto"in globalThis&&"randomUUID"in globalThis.crypto)return globalThis.crypto.randomUUID();const e=new Uint8Array(16);"crypto"in globalThis&&"getRandomValues"in globalThis.crypto?globalThis.crypto.getRandomValues(e):require("crypto").webcrypto.getRandomValues(e),e[6]=15&e[6]|64,e[8]=63&e[8]|128;const t=e=>e.reduce(((e,t)=>e+t.toString(16).padStart(2,"0")),"");return[t(e.subarray(0,4)),t(e.subarray(4,6)),t(e.subarray(6,8)),t(e.subarray(8,10)),t(e.subarray(10,16))].join("-")};var z={};Object.defineProperty(z,"__esModule",{value:!0}),z.ChannelProxy=void 0;const D=g,L=l,Z=A;class U{#u;#l=(0,Z.uuidv4)();#t;constructor(e,t){this.#u=e,this.#t=t}async init(e,t){const a=await U.#h(e),r=await U.#p(e,a);return this.#m(e,a,t),r}async startListenerFromWindow(e,t){try{const a=await this.#f(e);this.#m(e,a,t)}catch(e){this.#t?.(L.LogType.debugError,e)}}static#g(){return`(${String((()=>{const e=[];let t=null;return{async getMessage(){const a=e.length>0?Promise.resolve():new Promise((e=>{t=e}));return await a,e.shift()},sendMessage(a){e.push(a),null!==t&&(t(),t=null)}}}))})()`}static async#h(e){const t=await e.cdpClient.sendCommand("Runtime.evaluate",{expression:this.#g(),contextId:e.executionContextId,serializationOptions:{serialization:"idOnly"}});if(t.exceptionDetails||void 0===t.result.objectId)throw new Error("Cannot create channel");return t.result.objectId}static async#p(e,t){return(await e.cdpClient.sendCommand("Runtime.callFunctionOn",{functionDeclaration:String((e=>e.sendMessage)),arguments:[{objectId:t}],executionContextId:e.executionContextId,serializationOptions:{serialization:"idOnly"}})).result.objectId}async#m(e,t,a){for(;;)try{const r=await e.cdpClient.sendCommand("Runtime.callFunctionOn",{functionDeclaration:String((async e=>await e.getMessage())),arguments:[{objectId:t}],awaitPromise:!0,executionContextId:e.executionContextId,serializationOptions:{serialization:"deep",maxDepth:this.#u.serializationOptions?.maxObjectDepth??void 0}});if(r.exceptionDetails)throw r.exceptionDetails;for(const t of e.associatedBrowsingContexts)a.registerEvent({type:"event",method:D.ChromiumBidi.Script.EventNames.Message,params:{channel:this.#u.channel,data:e.cdpToBidiValue(r,this.#u.ownership??"none"),source:e.source}},t.id)}catch(e){this.#t?.(L.LogType.debugError,e);break}}async#f(e){const t=await e.cdpClient.sendCommand("Runtime.callFunctionOn",{functionDeclaration:String((e=>{const t=window;if(void 0===t[e])return new Promise((a=>t[e]=a));const a=t[e];return delete t[e],a})),arguments:[{value:this.#l}],executionContextId:e.executionContextId,awaitPromise:!0,serializationOptions:{serialization:"idOnly"}});if(void 0!==t.exceptionDetails||void 0===t.result.objectId)throw new Error(`ChannelHandle not found in window["${this.#l}"]`);return t.result.objectId}getEvalInWindowStr(){const e=String(((e,t)=>{const a=window;return void 0===a[e]?a[e]=t:(a[e](t),delete a[e]),t.sendMessage})),t=U.#g();return`(${e})('${this.#l}',${t})`}}z.ChannelProxy=U,Object.defineProperty(B,"__esModule",{value:!0}),B.Realm=void 0;const F=g,q=l,V=A,$=z;class K{#y;#S;#v;#t;#w;#C;#c;constructor(e,t,a,r,n,s,o){this.#y=e,this.#S=t,this.#v=a,this.#t=r,this.#w=n,this.#C=s,this.#c=o,this.#c.addRealm(this)}cdpToBidiValue(e,t){const a=this.serializeForBiDi(e.result.deepSerializedValue,new Map);if(e.result.objectId){const r=e.result.objectId;"root"===t?(a.handle=r,this.#c.knownHandlesToRealmMap.set(r,this.realmId)):this.#b(r).catch((e=>this.#t?.(q.LogType.debugError,e)))}if("object"===e.result.type)switch(e.result.subtype){case"generator":case"iterator":a.type=e.result.subtype,delete a.value}return a}serializeForBiDi(e,t){if(Object.hasOwn(e,"weakLocalObjectReference")){const a=e.weakLocalObjectReference;t.has(a)||t.set(a,(0,V.uuidv4)()),e.internalId=t.get(a),delete e.weakLocalObjectReference}if("platformobject"===e.type)return{type:"object"};const a=e.value;if(void 0===a)return e;if(["array","set","htmlcollection","nodelist"].includes(e.type))for(const e in a)a[e]=this.serializeForBiDi(a[e],t);if(["object","map"].includes(e.type))for(const e in a)a[e]=[this.serializeForBiDi(a[e][0],t),this.serializeForBiDi(a[e][1],t)];return e}get realmId(){return this.#C}get executionContextId(){return this.#v}get origin(){return this.#w}get source(){return{realm:this.realmId}}get cdpClient(){return this.#y}get baseInfo(){return{realm:this.realmId,origin:this.origin}}async evaluate(e,t,a,r,n=!1){const s=await this.cdpClient.sendCommand("Runtime.evaluate",{contextId:this.executionContextId,expression:e,awaitPromise:t,serializationOptions:K.#x("deep",r),userGesture:n});return s.exceptionDetails?await this.#P(s.exceptionDetails,0,a):{realm:this.realmId,result:this.cdpToBidiValue(s,a),type:"success"}}#I(e){if(0===this.associatedBrowsingContexts.length)this.#S.registerEvent(e,null);else for(const t of this.associatedBrowsingContexts)this.#S.registerEvent(e,t.id)}initialize(){this.#I({type:"event",method:F.ChromiumBidi.Script.EventNames.RealmCreated,params:this.realmInfo})}async serializeCdpObject(e,t){const a=K.#k(e),r=await this.cdpClient.sendCommand("Runtime.callFunctionOn",{functionDeclaration:String((e=>e)),awaitPromise:!1,arguments:[a],serializationOptions:{serialization:"deep"},executionContextId:this.executionContextId});return this.cdpToBidiValue(r,t)}static#k(e){return void 0!==e.objectId?{objectId:e.objectId}:void 0!==e.unserializableValue?{unserializableValue:e.unserializableValue}:{value:e.value}}async stringifyObject(e){const{result:t}=await this.cdpClient.sendCommand("Runtime.callFunctionOn",{functionDeclaration:String((e=>String(e))),awaitPromise:!1,arguments:[e],returnByValue:!0,executionContextId:this.executionContextId});return t.value}async#R(e){const t=[];for(const[a,r]of e){let e;e="string"==typeof a?{value:a}:await this.deserializeForCdp(a);const n=await this.deserializeForCdp(r);t.push(e),t.push(n)}return t}async#E(e){return await Promise.all(e.map((e=>this.deserializeForCdp(e))))}async#_(e,t,a){const r=e.stackTrace?.callFrames.map((e=>({url:e.url,functionName:e.functionName,lineNumber:e.lineNumber-t,columnNumber:e.columnNumber})))??[],n=e.exception;return{exception:await this.serializeCdpObject(n,a),columnNumber:e.columnNumber,lineNumber:e.lineNumber-t,stackTrace:{callFrames:r},text:await this.stringifyObject(n)||e.text}}async callFunction(e,t,a,r,n,s,o=!1){const i=`(...args) => {\n function callFunction(f, args) {\n const deserializedThis = args.shift();\n const deserializedArgs = args;\n return f.apply(deserializedThis, deserializedArgs);\n }\n return callFunction((\n ${e}\n ), args);\n }`,c=[await this.deserializeForCdp(t),...await Promise.all(a.map((async e=>await this.deserializeForCdp(e))))];let d;try{d=await this.cdpClient.sendCommand("Runtime.callFunctionOn",{functionDeclaration:i,awaitPromise:r,arguments:c,serializationOptions:K.#x("deep",s),executionContextId:this.executionContextId,userGesture:o})}catch(e){if(-32e3===e.code&&["Could not find object with given id","Argument should belong to the same JavaScript world as target object","Invalid remote object id"].includes(e.message))throw new F.NoSuchHandleException("Handle was not found.");throw e}return d.exceptionDetails?await this.#P(d.exceptionDetails,1,n):{type:"success",result:this.cdpToBidiValue(d,n),realm:this.realmId}}async deserializeForCdp(e){if("handle"in e&&e.handle)return{objectId:e.handle};if("handle"in e||"sharedId"in e)throw new F.NoSuchHandleException("Handle was not found.");switch(e.type){case"undefined":return{unserializableValue:"undefined"};case"null":return{unserializableValue:"null"};case"string":return{value:e.value};case"number":return"NaN"===e.value?{unserializableValue:"NaN"}:"-0"===e.value?{unserializableValue:"-0"}:"Infinity"===e.value?{unserializableValue:"Infinity"}:"-Infinity"===e.value?{unserializableValue:"-Infinity"}:{value:e.value};case"boolean":return{value:Boolean(e.value)};case"bigint":return{unserializableValue:`BigInt(${JSON.stringify(e.value)})`};case"date":return{unserializableValue:`new Date(Date.parse(${JSON.stringify(e.value)}))`};case"regexp":return{unserializableValue:`new RegExp(${JSON.stringify(e.value.pattern)}, ${JSON.stringify(e.value.flags)})`};case"map":{const t=await this.#R(e.value),{result:a}=await this.cdpClient.sendCommand("Runtime.callFunctionOn",{functionDeclaration:String(((...e)=>{const t=new Map;for(let a=0;a{const t={};for(let a=0;ae)),awaitPromise:!1,arguments:t,returnByValue:!1,executionContextId:this.executionContextId});return{objectId:a.objectId}}case"set":{const t=await this.#E(e.value),{result:a}=await this.cdpClient.sendCommand("Runtime.callFunctionOn",{functionDeclaration:String(((...e)=>new Set(e))),awaitPromise:!1,arguments:t,returnByValue:!1,executionContextId:this.executionContextId});return{objectId:a.objectId}}case"channel":{const t=new $.ChannelProxy(e.value,this.#t);return{objectId:await t.init(this,this.#S)}}}throw new Error(`Value ${JSON.stringify(e)} is not deserializable.`)}async#P(e,t,a){return{exceptionDetails:await this.#_(e,t,a),realm:this.realmId,type:"exception"}}static#x(e,t){return{serialization:e,additionalParameters:K.#T(t),...K.#N(t)}}static#T(e){const t={};return void 0!==e.maxDomDepth&&(t.maxNodeDepth=null===e.maxDomDepth?1e3:e.maxDomDepth),void 0!==e.includeShadowTree&&(t.includeShadowTree=e.includeShadowTree),t}static#N(e){return void 0===e.maxObjectDepth||null===e.maxObjectDepth?{}:{maxDepth:e.maxObjectDepth}}async#b(e){try{await this.cdpClient.sendCommand("Runtime.releaseObject",{objectId:e})}catch(e){if(-32e3!==e.code||"Invalid remote object id"!==e.message)throw e}}async disown(e){this.#c.knownHandlesToRealmMap.get(e)===this.realmId&&(await this.#b(e),this.#c.knownHandlesToRealmMap.delete(e))}dispose(){this.#I({type:"event",method:F.ChromiumBidi.Script.EventNames.RealmDestroyed,params:{realm:this.realmId}})}}B.Realm=K,Object.defineProperty(M,"__esModule",{value:!0}),M.WorkerRealm=void 0;const H=B;class W extends H.Realm{#j;#O;constructor(e,t,a,r,n,s,o,i,c){super(e,t,a,r,n,o,i),this.#O=s,this.#j=c,this.initialize()}get associatedBrowsingContexts(){return this.#O.flatMap((e=>e.associatedBrowsingContexts))}get realmType(){return this.#j}get source(){return{realm:this.realmId,context:this.associatedBrowsingContexts[0]?.id}}get realmInfo(){const e=this.#O.map((e=>e.realmId)),{realmType:t}=this;switch(t){case"dedicated-worker":{const a=e[0];if(void 0===a||1!==e.length)throw new Error("Dedicated worker must have exactly one owner");return{...this.baseInfo,type:t,owners:[a]}}case"service-worker":case"shared-worker":return{...this.baseInfo,type:t}}}}M.WorkerRealm=W;var J={},G={};Object.defineProperty(G,"__esModule",{value:!0}),G.assert=void 0,G.assert=function(e,t){if(!e)throw new Error(t??"Internal assertion failed.")};var X={};Object.defineProperty(X,"__esModule",{value:!0}),X.Deferred=void 0;class Y{#M=!1;#B;#A;#z;get isFinished(){return this.#M}constructor(){this.#B=new Promise(((e,t)=>{this.#A=e,this.#z=t})),this.#B.catch((e=>{}))}then(e,t){return this.#B.then(e,t)}catch(e){return this.#B.catch(e)}resolve(e){this.#M||(this.#M=!0,this.#A(e))}reject(e){this.#M||(this.#M=!0,this.#z(e))}finally(e){return this.#B.finally(e)}[Symbol.toStringTag]="Promise"}X.Deferred=Y;var Q={};Object.defineProperty(Q,"__esModule",{value:!0}),Q.inchesFromCm=void 0,Q.inchesFromCm=function(e){return e/2.54};var ee={},te={};Object.defineProperty(te,"__esModule",{value:!0}),te.parseSharedId=te.getSharedId=void 0;const ae="_element_";te.getSharedId=function(e,t,a,r){return r?`f.${e}.d.${t}.e.${a}`:`${t}${ae}${a}`},te.parseSharedId=function(e){const t=function(e){const t=e.match(new RegExp(`(.*)${ae}(.*)`));if(!t)return null;const a=t[1],r=t[2];if(void 0===a||void 0===r)return null;const n=parseInt(r??"");return isNaN(n)?null:{documentId:a,backendNodeId:n}}(e);if(null!==t)return{...t,frameId:void 0};const a=e.match(/f\.(.*)\.d\.(.*)\.e\.([0-9]*)/);if(!a)return null;const r=a[1],n=a[2],s=a[3];if(void 0===r||void 0===n||void 0===s)return null;const o=parseInt(s??"");return isNaN(o)?null:{frameId:r,documentId:n,backendNodeId:o}},Object.defineProperty(ee,"__esModule",{value:!0}),ee.WindowRealm=void 0;const re=g,ne=B,se=te;class oe extends ne.Realm{#D;#i;#L;sandbox;constructor(e,t,a,r,n,s,o,i,c,d,u){super(a,r,n,s,o,i,c),this.#D=e,this.#i=t,this.#L=u,this.sandbox=d,this.initialize()}#Z(e){const t=this.#i.getAllContexts().find((t=>t.navigableId===e));return t?.id??"UNKNOWN"}get browsingContext(){return this.#i.getContext(this.#D)}get associatedBrowsingContexts(){return[this.browsingContext]}get realmType(){return"window"}get realmInfo(){return{...this.baseInfo,type:this.realmType,context:this.#D,sandbox:this.sandbox}}get source(){return{realm:this.realmId,context:this.browsingContext.id}}serializeForBiDi(e,t){const a=e.value;if("node"===e.type){if(Object.hasOwn(a,"backendNodeId")){let t=this.browsingContext.navigableId??"UNKNOWN";Object.hasOwn(a,"loaderId")&&(t=a.loaderId,delete a.loaderId),e.sharedId=(0,se.getSharedId)(this.#Z(t),t,a.backendNodeId,this.#L),delete a.backendNodeId}if(Object.hasOwn(a,"children"))for(const e in a.children)a.children[e]=this.serializeForBiDi(a.children[e],t);Object.hasOwn(a,"shadowRoot")&&null!==a.shadowRoot&&(a.shadowRoot=this.serializeForBiDi(a.shadowRoot,t)),""===a.namespaceURI&&(a.namespaceURI=null)}return super.serializeForBiDi(e,t)}async deserializeForCdp(e){if("sharedId"in e&&e.sharedId){const t=(0,se.parseSharedId)(e.sharedId);if(null===t)throw new re.NoSuchNodeException(`SharedId "${e.sharedId}" was not found.`);const{documentId:a,backendNodeId:r}=t;if(this.browsingContext.navigableId!==a)throw new re.NoSuchNodeException(`SharedId "${e.sharedId}" belongs to different document. Current document is ${this.browsingContext.navigableId}.`);try{const{object:e}=await this.cdpClient.sendCommand("DOM.resolveNode",{backendNodeId:r,executionContextId:this.executionContextId});return{objectId:e.objectId}}catch(t){if(-32e3===t.code&&"No node with given id found"===t.message)throw new re.NoSuchNodeException(`SharedId "${e.sharedId}" was not found.`);throw new re.UnknownErrorException(t.message,t.stack)}}return await super.deserializeForCdp(e)}async evaluate(e,t,a,r,n){return await this.#i.getContext(this.#D).targetUnblockedOrThrow(),await super.evaluate(e,t,a,r,n)}async callFunction(e,t,a,r,n,s,o){return await this.#i.getContext(this.#D).targetUnblockedOrThrow(),await super.callFunction(e,t,a,r,n,s,o)}}ee.WindowRealm=oe,Object.defineProperty(J,"__esModule",{value:!0}),J.serializeOrigin=J.BrowsingContextImpl=void 0;const ie=x,ce=g,de=G,ue=X,le=l,he=Q,pe=ee;class me{static LOGGER_PREFIX=`${le.LogType.debug}:browsingContext`;#l;userContext;#U;#F=new Set;#i;#q={DOMContentLoaded:new ue.Deferred,load:new ue.Deferred};#V={withinDocument:new ue.Deferred};#$="about:blank";#S;#c;#K;#H;#W;#L;#t;constructor(e,t,a,r,n,s,o,i,c){this.#H=e,this.#c=t,this.#l=a,this.#U=r,this.userContext=n,this.#S=s,this.#i=o,this.#L=i,this.#t=c}static create(e,t,a,r,n,s,o,i,c){const d=new me(e,t,a,r,n,s,o,i,c);return d.#J(),o.addContext(d),d.isTopLevelContext()||d.parent.addChild(d.id),s.registerEvent({type:"event",method:ce.ChromiumBidi.BrowsingContext.EventNames.ContextCreated,params:d.serializeToBidiValue()},d.id),d}static getTimestamp(){return(new Date).getTime()}get navigableId(){return this.#K}dispose(){this.#G(),this.#c.deleteRealms({browsingContextId:this.id}),this.isTopLevelContext()||this.parent.#F.delete(this.id),this.#X(),this.#S.registerEvent({type:"event",method:ce.ChromiumBidi.BrowsingContext.EventNames.ContextDestroyed,params:this.serializeToBidiValue()},this.id),this.#i.deleteContextById(this.id)}get id(){return this.#l}get parentId(){return this.#U}get parent(){return null===this.parentId?null:this.#i.getContext(this.parentId)}get directChildren(){return[...this.#F].map((e=>this.#i.getContext(e)))}get allChildren(){const e=this.directChildren;return e.concat(...e.map((e=>e.allChildren)))}isTopLevelContext(){return null===this.#U}get top(){let e=this,t=e.parent;for(;t;)e=t,t=e.parent;return e}addChild(e){this.#F.add(e)}#G(){this.directChildren.map((e=>e.dispose()))}get#Y(){return(0,de.assert)(this.#W,`No default realm for browsing context ${this.#l}`),this.#W}get cdpTarget(){return this.#H}updateCdpTarget(e){this.#H=e,this.#J()}get url(){return this.#$}async lifecycleLoaded(){await this.#q.load}async targetUnblockedOrThrow(){const e=await this.#H.unblocked;if("error"===e.kind)throw e.error}async getOrCreateSandbox(e){if(void 0===e||""===e)return this.#Y;let t=this.#c.findRealms({browsingContextId:this.id,sandbox:e});return 0===t.length&&(await this.#H.cdpClient.sendCommand("Page.createIsolatedWorld",{frameId:this.id,worldName:e}),t=this.#c.findRealms({browsingContextId:this.id,sandbox:e}),(0,de.assert)(0!==t.length)),t[0]}serializeToBidiValue(e=0,t=!0){return{context:this.#l,url:this.url,userContext:this.userContext,children:e>0?this.directChildren.map((t=>t.serializeToBidiValue(e-1,!1))):null,...t?{parent:this.#U}:{}}}onTargetInfoChanged(e){this.#$=e.targetInfo.url}#J(){this.#H.cdpClient.on("Page.frameNavigated",(e=>{this.id===e.frame.id&&(this.#$=e.frame.url+(e.frame.urlFragment??""),this.#G())})),this.#H.cdpClient.on("Page.navigatedWithinDocument",(e=>{if(this.id!==e.frameId)return;const t=me.getTimestamp();this.#$=e.url,this.#V.withinDocument.resolve(e),this.#S.registerEvent({type:"event",method:ce.ChromiumBidi.BrowsingContext.EventNames.FragmentNavigated,params:{context:this.id,navigation:null,timestamp:t,url:this.#$}},this.id)})),this.#H.cdpClient.on("Page.frameStartedLoading",(e=>{this.id===e.frameId&&this.#S.registerEvent({type:"event",method:ce.ChromiumBidi.BrowsingContext.EventNames.NavigationStarted,params:{context:this.id,navigation:null,timestamp:me.getTimestamp(),url:""}},this.id)})),this.#H.cdpClient.on("Page.lifecycleEvent",(e=>{if(this.id!==e.frameId)return;if("init"===e.name)return void this.#Q(e.loaderId);if("commit"===e.name)return void(this.#K=e.loaderId);if(e.loaderId!==this.#K)return;const t=me.getTimestamp();switch(e.name){case"DOMContentLoaded":this.#S.registerEvent({type:"event",method:ce.ChromiumBidi.BrowsingContext.EventNames.DomContentLoaded,params:{context:this.id,navigation:this.#K??null,timestamp:t,url:this.#$}},this.id),this.#q.DOMContentLoaded.resolve(e);break;case"load":this.#S.registerEvent({type:"event",method:ce.ChromiumBidi.BrowsingContext.EventNames.Load,params:{context:this.id,navigation:this.#K??null,timestamp:t,url:this.#$}},this.id),this.#q.load.resolve(e)}})),this.#H.cdpClient.on("Runtime.executionContextCreated",(e=>{const{auxData:t,name:a,uniqueId:r,id:n}=e.context;if(!t||t.frameId!==this.id)return;let s,o;switch(t.type){case"isolated":o=a,s=this.#Y.origin;break;case"default":s=fe(e.context.origin);break;default:return}const i=new pe.WindowRealm(this.id,this.#i,this.#H.cdpClient,this.#S,n,this.#t,s,r,this.#c,o,this.#L);t.isDefault&&(this.#W=i,Promise.all(this.#H.getChannels().map((e=>e.startListenerFromWindow(i,this.#S)))))})),this.#H.cdpClient.on("Runtime.executionContextDestroyed",(e=>{this.#c.deleteRealms({cdpSessionId:this.#H.cdpSessionId,executionContextId:e.executionContextId})})),this.#H.cdpClient.on("Runtime.executionContextsCleared",(()=>{this.#c.deleteRealms({cdpSessionId:this.#H.cdpSessionId})})),this.#H.cdpClient.on("Page.javascriptDialogClosed",(e=>{const t=e.result;this.#S.registerEvent({type:"event",method:ce.ChromiumBidi.BrowsingContext.EventNames.UserPromptClosed,params:{context:this.id,accepted:t,userText:t&&e.userInput?e.userInput:void 0}},this.id)})),this.#H.cdpClient.on("Page.javascriptDialogOpening",(e=>{this.#S.registerEvent({type:"event",method:ce.ChromiumBidi.BrowsingContext.EventNames.UserPromptOpened,params:{context:this.id,type:e.type,message:e.message,defaultValue:e.defaultPrompt||void 0}},this.id)}))}#Q(e){void 0!==e&&this.#K!==e?(this.#ee(),this.#K=e):this.#V.withinDocument.isFinished?this.#V.withinDocument=new ue.Deferred:this.#t?.(me.LOGGER_PREFIX,"Document changed (navigatedWithinDocument)")}#ee(){this.#q.DOMContentLoaded.isFinished?this.#q.DOMContentLoaded=new ue.Deferred:this.#t?.(me.LOGGER_PREFIX,"Document changed (DOMContentLoaded)"),this.#q.load.isFinished?this.#q.load=new ue.Deferred:this.#t?.(me.LOGGER_PREFIX,"Document changed (load)")}#X(){this.#q.DOMContentLoaded.isFinished||this.#q.DOMContentLoaded.reject(new ce.UnknownErrorException("navigation canceled")),this.#q.load.isFinished||this.#q.load.reject(new ce.UnknownErrorException("navigation canceled"))}async navigate(e,t){try{new URL(e)}catch{throw new ce.InvalidArgumentException(`Invalid URL: ${e}`)}await this.targetUnblockedOrThrow();const a=await this.#H.cdpClient.sendCommand("Page.navigate",{url:e,frameId:this.id});if(a.errorText)throw new ce.UnknownErrorException(a.errorText);switch(this.#Q(a.loaderId),t){case"none":break;case"interactive":void 0===a.loaderId?await this.#V.withinDocument:await this.#q.DOMContentLoaded;break;case"complete":void 0===a.loaderId?await this.#V.withinDocument:await this.#q.load}return{navigation:a.loaderId??null,url:"none"===t?e:this.#$}}async reload(e,t){switch(await this.targetUnblockedOrThrow(),this.#ee(),await this.#H.cdpClient.sendCommand("Page.reload",{ignoreCache:e}),t){case"none":break;case"interactive":await this.#q.DOMContentLoaded;break;case"complete":await this.#q.load}return{navigation:"none"===t?null:this.navigableId??null,url:this.url}}async setViewport(e,t){if(null===e&&null===t)await this.#H.cdpClient.sendCommand("Emulation.clearDeviceMetricsOverride");else try{await this.#H.cdpClient.sendCommand("Emulation.setDeviceMetricsOverride",{width:e?e.width:0,height:e?e.height:0,deviceScaleFactor:t||0,mobile:!1,dontSetVisibleSize:!0})}catch(e){if(e.message.startsWith("Width and height values must be positive"))throw new ce.UnsupportedOperationException("Provided viewport dimensions are not supported");throw e}}async handleUserPrompt(e){await this.#H.cdpClient.sendCommand("Page.handleJavaScriptDialog",{accept:e.accept??!0,promptText:e.userText})}async activate(){await this.#H.cdpClient.sendCommand("Page.bringToFront")}async captureScreenshot(e){if(!this.isTopLevelContext())throw new ce.UnsupportedOperationException(`Non-top-level 'context' (${e.context}) is currently not supported`);const t=function(e){const{quality:t,type:a}=e.format??{type:"image/png"};switch(a){case"image/png":return{format:"png"};case"image/jpeg":return{format:"jpeg",...void 0===t?{}:{quality:Math.round(100*t)}};case"image/webp":return{format:"webp",...void 0===t?{}:{quality:Math.round(100*t)}}}throw new ce.InvalidArgumentException(`Image format '${a}' is not a supported format`)}(e);await this.#H.cdpClient.sendCommand("Page.bringToFront");let a,r=!1;switch(e.origin??="viewport",e.origin){case"document":a=String((()=>{const e=document.documentElement;return{x:0,y:0,width:e.scrollWidth,height:e.scrollHeight}})),r=!0;break;case"viewport":a=String((()=>{const e=window.visualViewport;return{x:e.pageLeft,y:e.pageTop,width:e.width,height:e.height}}))}const n=await this.getOrCreateSandbox(void 0),s=await n.callFunction(a,{type:"undefined"},[],!1,"none",{},!1);(0,de.assert)("success"===s.type);const o=ge(s.result);(0,de.assert)(o);const i=e.clip?function(e,t){e=ye(e),t=ye(t);const a=Math.max(e.x,t.x),r=Math.max(e.y,t.y);return{x:a,y:r,width:Math.max(Math.min(e.x+e.width,t.x+t.width)-a,0),height:Math.max(Math.min(e.y+e.height,t.y+t.height)-r,0)}}(await this.#te(e.clip),o):o;if(0===i.width||0===i.height)throw new ce.UnableToCaptureScreenException(`Unable to capture screenshot with zero dimensions: width=${i.width}, height=${i.height}`);return await this.#H.cdpClient.sendCommand("Page.captureScreenshot",{clip:{...i,scale:1},...t,captureBeyondViewport:r})}async print(e){const t={};if(void 0!==e.background&&(t.printBackground=e.background),void 0!==e.margin?.bottom&&(t.marginBottom=(0,he.inchesFromCm)(e.margin.bottom)),void 0!==e.margin?.left&&(t.marginLeft=(0,he.inchesFromCm)(e.margin.left)),void 0!==e.margin?.right&&(t.marginRight=(0,he.inchesFromCm)(e.margin.right)),void 0!==e.margin?.top&&(t.marginTop=(0,he.inchesFromCm)(e.margin.top)),void 0!==e.orientation&&(t.landscape="landscape"===e.orientation),void 0!==e.page?.height&&(t.paperHeight=(0,he.inchesFromCm)(e.page.height)),void 0!==e.page?.width&&(t.paperWidth=(0,he.inchesFromCm)(e.page.width)),void 0!==e.pageRanges){for(const t of e.pageRanges){if("number"==typeof t)continue;const e=t.split("-");if(e.length<1||e.length>2)throw new ce.InvalidArgumentException(`Invalid page range: ${t} is not a valid integer range.`);if(1===e.length){Se(e[0]??"");continue}let a,r;const[n="",s=""]=e;if(a=""===n?1:Se(n),r=""===s?Number.MAX_SAFE_INTEGER:Se(s),a>r)throw new ce.InvalidArgumentException(`Invalid page range: ${n} > ${s}`)}t.pageRanges=e.pageRanges.join(",")}void 0!==e.scale&&(t.scale=e.scale),void 0!==e.shrinkToFit&&(t.preferCSSPageSize=!e.shrinkToFit);try{return{data:(await this.#H.cdpClient.sendCommand("Page.printToPDF",t)).data}}catch(e){if("invalid print parameters: content area is empty"===e.message)throw new ce.UnsupportedOperationException(e.message);throw e}}async#te(e){switch(e.type){case"box":return{x:e.x,y:e.y,width:e.width,height:e.height};case"element":{const t=await this.getOrCreateSandbox(void 0),a=await t.callFunction(String((e=>e instanceof Element)),{type:"undefined"},[e.element],!1,"none",{});if("exception"===a.type)throw new ce.NoSuchElementException(`Element '${e.element.sharedId}' was not found`);if((0,de.assert)("boolean"===a.result.type),!a.result.value)throw new ce.NoSuchElementException(`Node '${e.element.sharedId}' is not an Element`);{const a=await t.callFunction(String((e=>{const t=e.getBoundingClientRect();return{x:t.x,y:t.y,height:t.height,width:t.width}})),{type:"undefined"},[e.element],!1,"none",{});(0,de.assert)("success"===a.type);const r=ge(a.result);if(!r)throw new ce.UnableToCaptureScreenException(`Could not get bounding box for Element '${e.element.sharedId}'`);return r}}}}async close(){await this.#H.cdpClient.sendCommand("Page.close")}async traverseHistory(e){if(0===e)return;const t=await this.#H.cdpClient.sendCommand("Page.getNavigationHistory"),a=t.entries[t.currentIndex+e];if(!a)throw new ce.NoSuchHistoryEntryException(`No history entry at delta ${e}`);await this.#H.cdpClient.sendCommand("Page.navigateToHistoryEntry",{entryId:a.id})}async toggleModulesIfNeeded(){const e=this.#S.subscriptionManager.isSubscribedToModule(ie.BiDiModule.Network,this.id);await this.#H.toggleNetworkIfNeeded(e)}}function fe(e){return["://",""].includes(e)&&(e="null"),e}function ge(e){if("object"!==e.type||void 0===e.value)return;const t=e.value.find((([e])=>"x"===e))?.[1],a=e.value.find((([e])=>"y"===e))?.[1],r=e.value.find((([e])=>"height"===e))?.[1],n=e.value.find((([e])=>"width"===e))?.[1];return"number"===t?.type&&"number"===a?.type&&"number"===r?.type&&"number"===n?.type?{x:t.value,y:a.value,width:n.value,height:r.value}:void 0}function ye(e){return{...e.width<0?{x:e.x+e.width,width:-e.width}:{x:e.x,width:e.width},...e.height<0?{y:e.y+e.height,height:-e.height}:{y:e.y,height:e.height}}}function Se(e){if(e=e.trim(),!/^[0-9]+$/.test(e))throw new ce.InvalidArgumentException(`Invalid integer: ${e}`);return parseInt(e)}J.BrowsingContextImpl=me,J.serializeOrigin=fe;var ve={},we={},Ce={};Object.defineProperty(Ce,"__esModule",{value:!0}),Ce.getRemoteValuesText=Ce.logMessageFormatter=void 0;const be=G,xe=["%s","%d","%i","%f","%o","%O","%c"];function Pe(e){return xe.some((t=>e.includes(t)))}function Ie(e){let t="";const a=e[0].value.toString(),r=e.slice(1,void 0),n=a.split(new RegExp(xe.map((e=>`(${e})`)).join("|"),"g"));for(const a of n)if(void 0!==a&&""!==a)if(Pe(a)){const n=r.shift();(0,be.assert)(n,`Less value is provided: "${Ee(e,!1)}"`),"%s"===a?t+=Re(n):"%d"===a||"%i"===a?"bigint"===n.type||"number"===n.type||"string"===n.type?t+=parseInt(n.value.toString(),10):t+="NaN":"%f"===a?"bigint"===n.type||"number"===n.type||"string"===n.type?t+=parseFloat(n.value.toString()):t+="NaN":t+=ke(n)}else t+=a;if(r.length>0)throw new Error(`More value is provided: "${Ee(e,!1)}"`);return t}function ke(e){if("array"!==e.type&&"bigint"!==e.type&&"date"!==e.type&&"number"!==e.type&&"object"!==e.type&&"string"!==e.type)return Re(e);if("bigint"===e.type)return`${e.value.toString()}n`;if("number"===e.type)return e.value.toString();if(["date","string"].includes(e.type))return JSON.stringify(e.value);if("object"===e.type)return`{${e.value.map((e=>`${JSON.stringify(e[0])}:${ke(e[1])}`)).join(",")}}`;if("array"===e.type)return`[${e.value?.map((e=>ke(e))).join(",")??""}]`;throw Error(`Invalid value type: ${e}`)}function Re(e){if(!Object.hasOwn(e,"value"))return e.type;switch(e.type){case"string":case"number":case"boolean":case"bigint":return String(e.value);case"regexp":return`/${e.value.pattern}/${e.value.flags??""}`;case"date":return new Date(e.value).toString();case"object":return`Object(${e.value?.length??""})`;case"array":return`Array(${e.value?.length??""})`;case"map":return`Map(${e.value?.length})`;case"set":return`Set(${e.value?.length})`;default:return e.type}}function Ee(e,t){const a=e[0];return a?"string"===a.type&&Pe(a.value.toString())&&t?Ie(e):e.map((e=>Re(e))).join(" "):""}Ce.logMessageFormatter=Ie,Ce.getRemoteValuesText=Ee,Object.defineProperty(we,"__esModule",{value:!0}),we.LogManager=void 0;const _e=g,Te=l,Ne=Ce;function je(e){const t=e?.callFrames.map((e=>({columnNumber:e.columnNumber,functionName:e.functionName,lineNumber:e.lineNumber,url:e.url})));return t?{callFrames:t}:void 0}class Oe{#S;#c;#H;#t;constructor(e,t,a,r){this.#H=e,this.#c=t,this.#S=a,this.#t=r}static create(e,t,a,r){const n=new Oe(e,t,a,r);return n.#ae(),n}#ae(){this.#H.cdpClient.on("Runtime.consoleAPICalled",(e=>{const t=this.#c.findRealm({cdpSessionId:this.#H.cdpSessionId,executionContextId:e.executionContextId});if(void 0===t)return void this.#t?.(Te.LogType.cdp,e);const a=void 0===t?Promise.resolve(e.args):Promise.all(e.args.map((e=>t.serializeCdpObject(e,"none"))));for(const r of t.associatedBrowsingContexts)this.#S.registerPromiseEvent(a.then((a=>{return{kind:"success",value:{type:"event",method:_e.ChromiumBidi.Log.EventNames.LogEntryAdded,params:{level:(r=e.type,["error","assert"].includes(r)?"error":["debug","trace"].includes(r)?"debug":["warn","warning"].includes(r)?"warn":"info"),source:t.source,text:(0,Ne.getRemoteValuesText)(a,!0),timestamp:Math.round(e.timestamp),stackTrace:je(e.stackTrace),type:"console",method:"warning"===e.type?"warn":e.type,args:a}}};var r})),r.id,_e.ChromiumBidi.Log.EventNames.LogEntryAdded)})),this.#H.cdpClient.on("Runtime.exceptionThrown",(e=>{const t=this.#c.findRealm({cdpSessionId:this.#H.cdpSessionId,executionContextId:e.exceptionDetails.executionContextId});if(void 0!==t)for(const a of t.associatedBrowsingContexts)this.#S.registerPromiseEvent(Oe.#re(e,t).then((a=>({kind:"success",value:{type:"event",method:_e.ChromiumBidi.Log.EventNames.LogEntryAdded,params:{level:"error",source:t.source,text:a,timestamp:Math.round(e.timestamp),stackTrace:je(e.exceptionDetails.stackTrace),type:"javascript"}}}))),a.id,_e.ChromiumBidi.Log.EventNames.LogEntryAdded);else this.#t?.(Te.LogType.cdp,e)}))}static async#re(e,t){return e.exceptionDetails.exception?void 0===t?JSON.stringify(e.exceptionDetails.exception):await t.stringifyObject(e.exceptionDetails.exception):e.exceptionDetails.text}}we.LogManager=Oe,Object.defineProperty(ve,"__esModule",{value:!0}),ve.CdpTarget=void 0;const Me=x,Be=X,Ae=we;class ze{#l;#y;#o;#S;#ne;#se=new Be.Deferred;#oe;#ie=!1;#ce=!1;static create(e,t,a,r,n,s,o,i,c){const d=new ze(e,t,a,n,s,i);return Ae.LogManager.create(d,r,n,c),d.#de(),d.#ue(),d}constructor(e,t,a,r,n,s){this.#l=e,this.#y=t,this.#S=r,this.#ne=n,this.#o=a,this.#oe=s}get unblocked(){return this.#se}get id(){return this.#l}get cdpClient(){return this.#y}get browserCdpClient(){return this.#o}get cdpSessionId(){return this.#y.sessionId}async#ue(){const e=this.#S.subscriptionManager.isSubscribedToModule(Me.BiDiModule.Network,this.#l);try{await Promise.all([this.#y.sendCommand("Runtime.enable"),this.#y.sendCommand("Page.enable"),this.#y.sendCommand("Page.setLifecycleEventsEnabled",{enabled:!0}),this.#y.sendCommand("Security.setIgnoreCertificateErrors",{ignore:this.#oe}),e?this.#y.sendCommand("Network.enable"):void 0,this.#y.sendCommand("Target.setAutoAttach",{autoAttach:!0,waitForDebuggerOnStart:!0,flatten:!0}),this.#le(),this.#y.sendCommand("Runtime.runIfWaitingForDebugger")])}catch(e){if(!this.#y.isCloseError(e))return void this.#se.resolve({kind:"error",error:e})}this.#se.resolve({kind:"success",value:void 0})}async enableFetchIfNeeded(e){if(this.#ie&&!this.#ce){this.#ce=!0;try{await this.#y.sendCommand("Fetch.enable",e)}catch(e){this.#ce=!1}}}async disableFetchIfNeeded(){if(this.#ce){this.#ce=!1;try{await this.#y.sendCommand("Fetch.disable")}catch(e){this.#ce=!0}}}async toggleNetworkIfNeeded(e){if(e!==this.#ie){this.#ie=e;try{await this.#y.sendCommand(this.#ie?"Network.enable":"Network.disable")}catch(t){this.#ie=!e}}}#de(){this.#y.on("*",((e,t)=>{"string"==typeof e&&this.#S.registerEvent({type:"event",method:`cdp.${e}`,params:{event:e,params:t,session:this.cdpSessionId}},null)}))}getChannels(){return this.#ne.find().flatMap((e=>e.channels))}async#le(){for(const e of this.#ne.find({global:!0}))await e.initInTarget(this,!0)}}ve.CdpTarget=ze,Object.defineProperty(O,"__esModule",{value:!0}),O.BrowsingContextProcessor=void 0;const De=g,Le=l,Ze=M,Ue=J,Fe=ve,qe={service_worker:"service-worker",shared_worker:"shared-worker",worker:"dedicated-worker"};O.BrowsingContextProcessor=class{#o;#d;#he;#S;#i;#pe;#oe;#L;#ne;#c;#me;#t;constructor(e,t,a,r,n,s,o,i,c,d,u,l){this.#oe=c,this.#d=e,this.#o=t,this.#he=a,this.#S=r,this.#i=n,this.#ne=i,this.#pe=o,this.#c=s,this.#L=d,this.#me=u,this.#t=l,this.#de(t)}getTree(e){return{contexts:(void 0===e.root?this.#i.getTopLevelContexts():[this.#i.getContext(e.root)]).map((t=>t.serializeToBidiValue(e.maxDepth??Number.MAX_VALUE)))}}async create(e){let t,a="default";if(void 0!==e.referenceContext){if(t=this.#i.getContext(e.referenceContext),!t.isTopLevelContext())throw new De.InvalidArgumentException("referenceContext should be a top-level context");a=t.userContext}void 0!==e.userContext&&(a=e.userContext);let r,n=!1;switch(e.type){case"tab":n=!1;break;case"window":n=!0}if("default"!==a){const e=this.#i.getAllContexts().filter((e=>e.userContext===a));e.length||(n=!0)}try{r=await this.#o.sendCommand("Target.createTarget",{url:"about:blank",newWindow:n,browserContextId:"default"===a?void 0:a})}catch(e){if(e.message.startsWith("Failed to find browser context with id")||"browserContextId"===e.message)throw new De.NoSuchUserContextException(`The context ${a} was not found`);throw e}const s=r.targetId,o=this.#i.getContext(s);return await o.lifecycleLoaded(),{context:o.id}}navigate(e){return this.#i.getContext(e.context).navigate(e.url,e.wait??"none")}reload(e){return this.#i.getContext(e.context).reload(e.ignoreCache??!1,e.wait??"none")}async activate(e){const t=this.#i.getContext(e.context);if(!t.isTopLevelContext())throw new De.InvalidArgumentException("Activation is only supported on the top-level context");return await t.activate(),{}}async captureScreenshot(e){const t=this.#i.getContext(e.context);return await t.captureScreenshot(e)}async print(e){const t=this.#i.getContext(e.context);return await t.print(e)}async setViewport(e){const t=this.#i.getContext(e.context);if(!t.isTopLevelContext())throw new De.InvalidArgumentException("Emulating viewport is only supported on the top-level context");return await t.setViewport(e.viewport,e.devicePixelRatio),{}}async traverseHistory(e){const t=this.#i.getContext(e.context);if(!t)throw new De.InvalidArgumentException(`No browsing context with id ${e.context}`);return await t.traverseHistory(e.delta),{}}async handleUserPrompt(e){const t=this.#i.getContext(e.context);return await t.handleUserPrompt(e),{}}async close(e){const t=this.#i.getContext(e.context);if(!t.isTopLevelContext())throw new De.InvalidArgumentException(`Non top-level browsing context ${t.id} cannot be closed.`);try{const a=new Promise((t=>{const a=r=>{r.targetId===e.context&&(this.#o.off("Target.detachedFromTarget",a),t())};this.#o.on("Target.detachedFromTarget",a)}));e.promptUnload?await t.close():await this.#o.sendCommand("Target.closeTarget",{targetId:e.context}),await a}catch(e){if(-32e3!==e.code||"Not attached to an active page"!==e.message)throw e}return{}}#de(e){e.on("Target.attachedToTarget",(t=>{this.#fe(t,e)})),e.on("Target.detachedFromTarget",(e=>{this.#ge(e)})),e.on("Target.targetInfoChanged",(e=>{this.#ye(e)})),e.on("Inspector.targetCrashed",(()=>{this.#Se(e)})),e.on("Page.frameAttached",(e=>{this.#ve(e)})),e.on("Page.frameDetached",(e=>{this.#we(e)}))}#ve(e){const t=this.#i.findContext(e.parentFrameId);void 0!==t&&Ue.BrowsingContextImpl.create(t.cdpTarget,this.#c,e.frameId,e.parentFrameId,t.userContext,this.#S,this.#i,this.#L,this.#t)}#we(e){"swap"!==e.reason&&this.#i.findContext(e.frameId)?.dispose()}#fe(e,t){const{sessionId:a,targetInfo:r}=e,n=this.#d.getCdpClient(a);switch(this.#t?.(Le.LogType.debugInfo,"AttachedToTarget event received:",e),r.type){case"page":case"iframe":{if(r.targetId===this.#he)break;const e=this.#Ce(n,r),t=this.#i.findContext(r.targetId);return void(t?t.updateCdpTarget(e):Ue.BrowsingContextImpl.create(e,this.#c,r.targetId,null,r.browserContextId&&r.browserContextId!==this.#me?r.browserContextId:"default",this.#S,this.#i,this.#L,this.#t))}case"service_worker":case"worker":{const e=this.#c.findRealm({cdpSessionId:t.sessionId});if(!e)break;const a=this.#Ce(n,r);return void this.#be(qe[r.type],a,e)}case"shared_worker":{const e=this.#Ce(n,r);return void this.#be(qe[r.type],e)}}n.sendCommand("Runtime.runIfWaitingForDebugger").then((()=>t.sendCommand("Target.detachFromTarget",e))).catch((e=>this.#t?.(Le.LogType.debugError,e)))}#Ce(e,t){this.#de(e);const a=Fe.CdpTarget.create(t.targetId,e,this.#o,this.#c,this.#S,this.#ne,this.#pe,this.#oe,this.#t);return this.#pe.onCdpTargetCreated(a),a}#xe=new Map;#be(e,t,a){t.cdpClient.on("Runtime.executionContextCreated",(r=>{const{uniqueId:n,id:s,origin:o}=r.context,i=new Ze.WorkerRealm(t.cdpClient,this.#S,s,this.#t,(0,Ue.serializeOrigin)(o),a?[a]:[],n,this.#c,e);this.#xe.set(t.cdpSessionId,i)}))}#ge(e){const t=this.#i.findContextBySession(e.sessionId);if(t)return t.dispose(),void this.#ne.find({targetId:t.id}).map((e=>e.dispose(t.id)));const a=this.#xe.get(e.sessionId);a&&this.#c.deleteRealms({cdpSessionId:a.cdpClient.sessionId})}#ye(e){const t=this.#i.findContext(e.targetInfo.targetId);t&&t.onTargetInfoChanged(e)}#Se(e){const t=this.#c.findRealms({cdpSessionId:e.sessionId});for(const e of t)e.dispose()}};var Ve={},$e={},Ke={};Object.defineProperty(Ke,"__esModule",{value:!0}),Ke.WheelSource=Ke.PointerSource=Ke.KeySource=Ke.NoneSource=void 0;Ke.NoneSource=class{type="none"};Ke.KeySource=class{type="key";pressed=new Set;#Pe=0;get modifiers(){return this.#Pe}get alt(){return 1==(1&this.#Pe)}set alt(e){this.#Ie(e,1)}get ctrl(){return 2==(2&this.#Pe)}set ctrl(e){this.#Ie(e,2)}get meta(){return 4==(4&this.#Pe)}set meta(e){this.#Ie(e,4)}get shift(){return 8==(8&this.#Pe)}set shift(e){this.#Ie(e,8)}#Ie(e,t){e?this.#Pe|=t:this.#Pe&=~t}};Ke.PointerSource=class{type="pointer";subtype;pointerId;pressed=new Set;x=0;y=0;constructor(e,t){this.pointerId=e,this.subtype=t}get buttons(){let e=0;for(const t of this.pressed)switch(t){case 0:e|=1;break;case 1:e|=4;break;case 2:e|=2;break;case 3:e|=8;break;case 4:e|=16}return e}static ClickContext=class e{static#ke=500;static#Re=2;count=0;#Ee;#_e;#Te;constructor(e,t,a){this.#Ee=e,this.#_e=t,this.#Te=a}compare(t){return t.#Te-this.#Te>e.#ke||Math.abs(t.#Ee-this.#Ee)>e.#Re||Math.abs(t.#_e-this.#_e)>e.#Re}};#Ne=new Map;setClickCount(e,t){let a=this.#Ne.get(e);return a&&!a.compare(t)||(a=t),++a.count,this.#Ne.set(e,a),a.count}getClickCount(e){return this.#Ne.get(e)?.count??0}};Ke.WheelSource=class{type="wheel"};var He={};Object.defineProperty(He,"__esModule",{value:!0}),He.getKeyLocation=He.getKeyCode=He.getNormalizedKey=void 0,He.getNormalizedKey=function(e){switch(e){case"\ue000":return"Unidentified";case"\ue001":return"Cancel";case"\ue002":return"Help";case"\ue003":return"Backspace";case"\ue004":return"Tab";case"\ue005":return"Clear";case"\ue006":return"Return";case"\ue007":return"Enter";case"\ue008":case"\ue050":return"Shift";case"\ue009":case"\ue051":return"Control";case"\ue00a":case"\ue052":return"Alt";case"\ue00b":return"Pause";case"\ue00c":return"Escape";case"\ue00d":return" ";case"\ue00e":case"\ue054":return"PageUp";case"\ue00f":case"\ue055":return"PageDown";case"\ue010":case"\ue056":return"End";case"\ue011":case"\ue057":return"Home";case"\ue012":case"\ue058":return"ArrowLeft";case"\ue013":case"\ue059":return"ArrowUp";case"\ue014":case"\ue05a":return"ArrowRight";case"\ue015":case"\ue05b":return"ArrowDown";case"\ue016":case"\ue05c":return"Insert";case"\ue017":case"\ue05d":return"Delete";case"\ue018":return";";case"\ue019":return"=";case"\ue01a":return"0";case"\ue01b":return"1";case"\ue01c":return"2";case"\ue01d":return"3";case"\ue01e":return"4";case"\ue01f":return"5";case"\ue020":return"6";case"\ue021":return"7";case"\ue022":return"8";case"\ue023":return"9";case"\ue024":return"*";case"\ue025":return"+";case"\ue026":return",";case"\ue027":return"-";case"\ue028":return".";case"\ue029":return"/";case"\ue031":return"F1";case"\ue032":return"F2";case"\ue033":return"F3";case"\ue034":return"F4";case"\ue035":return"F5";case"\ue036":return"F6";case"\ue037":return"F7";case"\ue038":return"F8";case"\ue039":return"F9";case"\ue03a":return"F10";case"\ue03b":return"F11";case"\ue03c":return"F12";case"\ue03d":case"\ue053":return"Meta";case"\ue040":return"ZenkakuHankaku";default:return e}},He.getKeyCode=function(e){switch(e){case"`":case"~":return"Backquote";case"\\":case"|":return"Backslash";case"\ue003":return"Backspace";case"[":case"{":return"BracketLeft";case"]":case"}":return"BracketRight";case",":case"<":return"Comma";case"0":case")":return"Digit0";case"1":case"!":return"Digit1";case"2":case"@":return"Digit2";case"3":case"#":return"Digit3";case"4":case"$":return"Digit4";case"5":case"%":return"Digit5";case"6":case"^":return"Digit6";case"7":case"&":return"Digit7";case"8":case"*":return"Digit8";case"9":case"(":return"Digit9";case"=":case"+":return"Equal";case"a":case"A":return"KeyA";case"b":case"B":return"KeyB";case"c":case"C":return"KeyC";case"d":case"D":return"KeyD";case"e":case"E":return"KeyE";case"f":case"F":return"KeyF";case"g":case"G":return"KeyG";case"h":case"H":return"KeyH";case"i":case"I":return"KeyI";case"j":case"J":return"KeyJ";case"k":case"K":return"KeyK";case"l":case"L":return"KeyL";case"m":case"M":return"KeyM";case"n":case"N":return"KeyN";case"o":case"O":return"KeyO";case"p":case"P":return"KeyP";case"q":case"Q":return"KeyQ";case"r":case"R":return"KeyR";case"s":case"S":return"KeyS";case"t":case"T":return"KeyT";case"u":case"U":return"KeyU";case"v":case"V":return"KeyV";case"w":case"W":return"KeyW";case"x":case"X":return"KeyX";case"y":case"Y":return"KeyY";case"z":case"Z":return"KeyZ";case"-":case"_":return"Minus";case".":return"Period";case"'":case'"':return"Quote";case";":case":":return"Semicolon";case"/":case"?":return"Slash";case"\ue00a":return"AltLeft";case"\ue052":return"AltRight";case"\ue009":return"ControlLeft";case"\ue051":return"ControlRight";case"\ue006":return"Enter";case"\ue03d":return"MetaLeft";case"\ue053":return"MetaRight";case"\ue008":return"ShiftLeft";case"\ue050":return"ShiftRight";case" ":case"\ue00d":return"Space";case"\ue004":return"Tab";case"\ue017":return"Delete";case"\ue010":return"End";case"\ue002":return"Help";case"\ue011":return"Home";case"\ue016":return"Insert";case"\ue00f":return"PageDown";case"\ue00e":return"PageUp";case"\ue015":return"ArrowDown";case"\ue012":return"ArrowLeft";case"\ue014":return"ArrowRight";case"\ue013":return"ArrowUp";case"\ue00c":return"Escape";case"\ue031":return"F1";case"\ue032":return"F2";case"\ue033":return"F3";case"\ue034":return"F4";case"\ue035":return"F5";case"\ue036":return"F6";case"\ue037":return"F7";case"\ue038":return"F8";case"\ue039":return"F9";case"\ue03a":return"F10";case"\ue03b":return"F11";case"\ue03c":return"F12";case"\ue01a":case"\ue05c":return"Numpad0";case"\ue01b":case"\ue056":return"Numpad1";case"\ue01c":case"\ue05b":return"Numpad2";case"\ue01d":case"\ue055":return"Numpad3";case"\ue01e":case"\ue058":return"Numpad4";case"\ue01f":return"Numpad5";case"\ue020":case"\ue05a":return"Numpad6";case"\ue021":case"\ue057":return"Numpad7";case"\ue022":case"\ue059":return"Numpad8";case"\ue023":case"\ue054":return"Numpad9";case"\ue025":return"NumpadAdd";case"\ue026":return"NumpadComma";case"\ue028":case"\ue05d":return"NumpadDecimal";case"\ue029":return"NumpadDivide";case"\ue007":return"NumpadEnter";case"\ue024":return"NumpadMultiply";case"\ue027":return"NumpadSubtract";default:return}},He.getKeyLocation=function(e){switch(e){case"\ue007":case"\ue008":case"\ue009":case"\ue00a":case"\ue03d":return 1;case"\ue01a":case"\ue01b":case"\ue01c":case"\ue01d":case"\ue01e":case"\ue01f":case"\ue020":case"\ue021":case"\ue022":case"\ue023":case"\ue024":case"\ue025":case"\ue026":case"\ue027":case"\ue028":case"\ue029":case"\ue054":case"\ue055":case"\ue056":case"\ue057":case"\ue058":case"\ue059":case"\ue05a":case"\ue05b":case"\ue05c":case"\ue05d":return 3;case"\ue050":case"\ue051":case"\ue052":case"\ue053":return 2;default:return 0}};var We={};Object.defineProperty(We,"__esModule",{value:!0}),We.KeyToKeyCode=void 0,We.KeyToKeyCode={0:48,1:49,2:50,3:51,4:52,5:53,6:54,7:55,8:56,9:57,Abort:3,Help:6,Backspace:8,Tab:9,Numpad5:12,NumpadEnter:13,Enter:13,"\\r":13,"\\n":13,ShiftLeft:16,ShiftRight:16,ControlLeft:17,ControlRight:17,AltLeft:18,AltRight:18,Pause:19,CapsLock:20,Escape:27,Convert:28,NonConvert:29,Space:32,Numpad9:33,PageUp:33,Numpad3:34,PageDown:34,End:35,Numpad1:35,Home:36,Numpad7:36,ArrowLeft:37,Numpad4:37,Numpad8:38,ArrowUp:38,ArrowRight:39,Numpad6:39,Numpad2:40,ArrowDown:40,Select:41,Open:43,PrintScreen:44,Insert:45,Numpad0:45,Delete:46,NumpadDecimal:46,Digit0:48,Digit1:49,Digit2:50,Digit3:51,Digit4:52,Digit5:53,Digit6:54,Digit7:55,Digit8:56,Digit9:57,KeyA:65,KeyB:66,KeyC:67,KeyD:68,KeyE:69,KeyF:70,KeyG:71,KeyH:72,KeyI:73,KeyJ:74,KeyK:75,KeyL:76,KeyM:77,KeyN:78,KeyO:79,KeyP:80,KeyQ:81,KeyR:82,KeyS:83,KeyT:84,KeyU:85,KeyV:86,KeyW:87,KeyX:88,KeyY:89,KeyZ:90,MetaLeft:91,MetaRight:92,ContextMenu:93,NumpadMultiply:106,NumpadAdd:107,NumpadSubtract:109,NumpadDivide:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,F13:124,F14:125,F15:126,F16:127,F17:128,F18:129,F19:130,F20:131,F21:132,F22:133,F23:134,F24:135,NumLock:144,ScrollLock:145,AudioVolumeMute:173,AudioVolumeDown:174,AudioVolumeUp:175,MediaTrackNext:176,MediaTrackPrevious:177,MediaStop:178,MediaPlayPause:179,Semicolon:186,Equal:187,NumpadEqual:187,Comma:188,Minus:189,Period:190,Slash:191,Backquote:192,BracketLeft:219,Backslash:220,BracketRight:221,Quote:222,AltGraph:225,Props:247,Cancel:3,Clear:12,Shift:16,Control:17,Alt:18,Accept:30,ModeChange:31," ":32,Print:42,Execute:43,"\\u0000":46,a:65,b:66,c:67,d:68,e:69,f:70,g:71,h:72,i:73,j:74,k:75,l:76,m:77,n:78,o:79,p:80,q:81,r:82,s:83,t:84,u:85,v:86,w:87,x:88,y:89,z:90,Meta:91,"*":106,"+":107,"-":109,"/":111,";":186,"=":187,",":188,".":190,"`":192,"[":219,"\\\\":220,"]":221,"'":222,Attn:246,CrSel:247,ExSel:248,EraseEof:249,Play:250,ZoomOut:251,")":48,"!":49,"@":50,"#":51,$:52,"%":53,"^":54,"&":55,"(":57,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,":":186,"<":188,_:189,">":190,"?":191,"~":192,"{":219,"|":220,"}":221,'"':222,Camera:44,EndCall:95,VolumeDown:182,VolumeUp:183},Object.defineProperty($e,"__esModule",{value:!0}),$e.ActionDispatcher=void 0;const Je=g,Ge=G,Xe=Ke,Ye=He,Qe=We,et=(e=>{const t=e.getClientRects()[0],a=Math.max(0,Math.min(t.x,t.x+t.width)),r=Math.min(window.innerWidth,Math.max(t.x,t.x+t.width)),n=Math.max(0,Math.min(t.y,t.y+t.height));return[a+(r-a>>1),n+(Math.min(window.innerHeight,Math.max(t.y,t.y+t.height))-n>>1)]}).toString(),tt=(()=>navigator.platform.toLowerCase().includes("mac")).toString();$e.ActionDispatcher=class{static isMacOS=async e=>{const t=await(await e.getOrCreateSandbox(void 0)).callFunction(tt,{type:"undefined"},[],!1,"none",{});return(0,Ge.assert)("exception"!==t.type),(0,Ge.assert)("boolean"===t.result.type),t.result.value};#je=0;#Oe=0;#Me;#Be;#Ae;constructor(e,t,a){this.#Me=e,this.#Be=t,this.#Ae=a}async dispatchActions(e){await this.#Me.queue.run((async()=>{for(const t of e)await this.dispatchTickActions(t)}))}async dispatchTickActions(e){this.#je=performance.now(),this.#Oe=0;for(const{action:t}of e)"duration"in t&&void 0!==t.duration&&(this.#Oe=Math.max(this.#Oe,t.duration));const t=[new Promise((e=>setTimeout(e,this.#Oe)))];for(const a of e)t.push(this.#ze(a));await Promise.all(t)}async#ze({id:e,action:t}){const a=this.#Me.get(e),r=this.#Me.getGlobalKeyState();switch(t.type){case"keyDown":await this.#De(a,t),this.#Me.cancelList.push({id:e,action:{...t,type:"keyUp"}});break;case"keyUp":await this.#Le(a,t);break;case"pause":break;case"pointerDown":await this.#Ze(a,r,t),this.#Me.cancelList.push({id:e,action:{...t,type:"pointerUp"}});break;case"pointerMove":await this.#Ue(a,r,t);break;case"pointerUp":await this.#Fe(a,r,t);break;case"scroll":await this.#qe(a,r,t)}}#Ze(e,t,a){const{button:r}=a;if(e.pressed.has(r))return;e.pressed.add(r);const{x:n,y:s,subtype:o}=e,{width:i,height:c,pressure:d,twist:u,tangentialPressure:l}=a,{tiltX:h,tiltY:p}=st(a),{modifiers:m}=t;switch(o){case"mouse":case"pen":return this.#Be.cdpTarget.cdpClient.sendCommand("Input.dispatchMouseEvent",{type:"mousePressed",x:n,y:s,modifiers:m,button:nt(r),buttons:e.buttons,clickCount:e.setClickCount(r,new Xe.PointerSource.ClickContext(n,s,performance.now())),pointerType:o,tangentialPressure:l,tiltX:h,tiltY:p,twist:u,force:d});case"touch":return this.#Be.cdpTarget.cdpClient.sendCommand("Input.dispatchTouchEvent",{type:"touchStart",touchPoints:[{x:n,y:s,...ot(i??1,c??1),tangentialPressure:l,tiltX:h,tiltY:p,twist:u,force:d,id:e.pointerId}],modifiers:m})}}#Fe(e,t,a){const{button:r}=a;if(!e.pressed.has(r))return;e.pressed.delete(r);const{x:n,y:s,subtype:o}=e,{modifiers:i}=t;switch(o){case"mouse":case"pen":return this.#Be.cdpTarget.cdpClient.sendCommand("Input.dispatchMouseEvent",{type:"mouseReleased",x:n,y:s,modifiers:i,button:nt(r),buttons:e.buttons,clickCount:e.getClickCount(r),pointerType:o});case"touch":return this.#Be.cdpTarget.cdpClient.sendCommand("Input.dispatchTouchEvent",{type:"touchEnd",touchPoints:[{x:n,y:s,id:e.pointerId}],modifiers:i})}}async#Ue(e,t,a){const{x:r,y:n,subtype:s}=e,{width:o,height:i,pressure:c,twist:d,tangentialPressure:u,x:l,y:h,origin:p="viewport",duration:m=this.#Oe}=a,{tiltX:f,tiltY:g}=st(a),{targetX:y,targetY:S}=await this.#Ve(p,l,h,r,n);if(y<0||S<0)throw new Je.MoveTargetOutOfBoundsException(`Cannot move beyond viewport (x: ${y}, y: ${S})`);let v;do{const a=m>0?(performance.now()-this.#je)/m:1;let l,h;if(v=a>=1,v?(l=y,h=S):(l=Math.round(a*(y-r)+r),h=Math.round(a*(S-n)+n)),e.x!==l||e.y!==h){const{modifiers:a}=t;switch(s){case"mouse":await this.#Be.cdpTarget.cdpClient.sendCommand("Input.dispatchMouseEvent",{type:"mouseMoved",x:l,y:h,modifiers:a,clickCount:0,button:nt(e.pressed.values().next().value??5),buttons:e.buttons,pointerType:s,tangentialPressure:u,tiltX:f,tiltY:g,twist:d,force:c});break;case"pen":0!==e.pressed.size&&await this.#Be.cdpTarget.cdpClient.sendCommand("Input.dispatchMouseEvent",{type:"mouseMoved",x:l,y:h,modifiers:a,clickCount:0,button:nt(e.pressed.values().next().value??5),buttons:e.buttons,pointerType:s,tangentialPressure:u,tiltX:f,tiltY:g,twist:d,force:c});break;case"touch":0!==e.pressed.size&&await this.#Be.cdpTarget.cdpClient.sendCommand("Input.dispatchTouchEvent",{type:"touchMove",touchPoints:[{x:l,y:h,...ot(o??1,i??1),tangentialPressure:u,tiltX:f,tiltY:g,twist:d,force:c,id:e.pointerId}],modifiers:a})}e.x=l,e.y=h}}while(!v)}async#Ve(e,t,a,r,n){let s,o;switch(e){case"viewport":s=t,o=a;break;case"pointer":s=r+t,o=n+a;break;default:{const{x:r,y:n}=await async function(e,t){const a=await e.getOrCreateSandbox(void 0),r=await a.callFunction(et,{type:"undefined"},[t],!1,"none",{});if("exception"===r.type)throw new Je.NoSuchElementException(`Origin element ${t.sharedId} was not found`);(0,Ge.assert)("array"===r.result.type),(0,Ge.assert)("number"===r.result.value?.[0]?.type),(0,Ge.assert)("number"===r.result.value?.[1]?.type);const{result:{value:[{value:n},{value:s}]}}=r;return{x:n,y:s}}(this.#Be,e.element);s=r+t,o=n+a;break}}return{targetX:s,targetY:o}}async#qe(e,t,a){const{deltaX:r,deltaY:n,x:s,y:o,origin:i="viewport",duration:c=this.#Oe}=a;if("pointer"===i)throw new Je.InvalidArgumentException('"pointer" origin is invalid for scrolling.');const{targetX:d,targetY:u}=await this.#Ve(i,s,o,0,0);if(d<0||u<0)throw new Je.MoveTargetOutOfBoundsException(`Cannot move beyond viewport (x: ${d}, y: ${u})`);let l,h=0,p=0;do{const e=c>0?(performance.now()-this.#je)/c:1;let a,s;if(l=e>=1,l?(a=r-h,s=n-p):(a=Math.round(e*r-h),s=Math.round(e*n-p)),0!==a||0!==s){const{modifiers:e}=t;await this.#Be.cdpTarget.cdpClient.sendCommand("Input.dispatchMouseEvent",{type:"mouseWheel",deltaX:a,deltaY:s,x:d,y:u,modifiers:e}),h+=a,p+=s}}while(!l)}async#De(e,t){if([...t.value].length>1)throw new Je.InvalidArgumentException(`Invalid key value: ${t.value}`);const a=t.value,r=(0,Ye.getNormalizedKey)(a),n=e.pressed.has(r),s=(0,Ye.getKeyCode)(a),o=(0,Ye.getKeyLocation)(a);switch(r){case"Alt":e.alt=!0;break;case"Shift":e.shift=!0;break;case"Control":e.ctrl=!0;break;case"Meta":e.meta=!0}e.pressed.add(r);const{modifiers:i}=e,c=at(r,e),d=rt(s??"",e)??c;let u;if(this.#Ae&&e.meta)switch(s){case"KeyA":u="SelectAll";break;case"KeyC":u="Copy";break;case"KeyV":u=e.shift?"PasteAndMatchStyle":"Paste";break;case"KeyX":u="Cut";break;case"KeyZ":u=e.shift?"Redo":"Undo"}const l=[this.#Be.cdpTarget.cdpClient.sendCommand("Input.dispatchKeyEvent",{type:d?"keyDown":"rawKeyDown",windowsVirtualKeyCode:Qe.KeyToKeyCode[r],key:r,code:s,text:d,unmodifiedText:c,autoRepeat:n,isSystemKey:e.alt||void 0,location:o<3?o:void 0,isKeypad:3===o,modifiers:i,commands:u?[u]:void 0})];"Escape"===r&&(e.alt||(!this.#Ae||e.ctrl||e.meta)&&this.#Ae||l.push(this.#Be.cdpTarget.cdpClient.sendCommand("Input.cancelDragging"))),await Promise.all(l)}#Le(e,t){if([...t.value].length>1)throw new Je.InvalidArgumentException(`Invalid key value: ${t.value}`);const a=t.value,r=(0,Ye.getNormalizedKey)(a);if(!e.pressed.has(r))return;const n=(0,Ye.getKeyCode)(a),s=(0,Ye.getKeyLocation)(a);switch(r){case"Alt":e.alt=!1;break;case"Shift":e.shift=!1;break;case"Control":e.ctrl=!1;break;case"Meta":e.meta=!1}e.pressed.delete(r);const{modifiers:o}=e,i=at(r,e),c=rt(n??"",e)??i;return this.#Be.cdpTarget.cdpClient.sendCommand("Input.dispatchKeyEvent",{type:"keyUp",windowsVirtualKeyCode:Qe.KeyToKeyCode[r],key:r,code:n,text:c,unmodifiedText:i,location:s<3?s:void 0,isSystemKey:e.alt||void 0,isKeypad:3===s,modifiers:o})}};const at=(e,t)=>"Enter"===e?"\r":1===[...e].length?t.shift?e.toLocaleUpperCase("en-US"):e:void 0,rt=(e,t)=>{if(t.ctrl){switch(e){case"Digit2":if(t.shift)return"\0";break;case"KeyA":return"\x01";case"KeyB":return"\x02";case"KeyC":return"\x03";case"KeyD":return"\x04";case"KeyE":return"\x05";case"KeyF":return"\x06";case"KeyG":return"\x07";case"KeyH":return"\b";case"KeyI":return"\t";case"KeyJ":return"\n";case"KeyK":return"\v";case"KeyL":return"\f";case"KeyM":return"\r";case"KeyN":return"\x0e";case"KeyO":return"\x0f";case"KeyP":return"\x10";case"KeyQ":return"\x11";case"KeyR":return"\x12";case"KeyS":return"\x13";case"KeyT":return"\x14";case"KeyU":return"\x15";case"KeyV":return"\x16";case"KeyW":return"\x17";case"KeyX":return"\x18";case"KeyY":return"\x19";case"KeyZ":return"\x1a";case"BracketLeft":return"\x1b";case"Backslash":return"\x1c";case"BracketRight":return"\x1d";case"Digit6":if(t.shift)return"\x1e";break;case"Minus":return"\x1f"}return""}if(t.alt)return""};function nt(e){switch(e){case 0:return"left";case 1:return"middle";case 2:return"right";case 3:return"back";case 4:return"forward";default:return"none"}}function st(e){const t=e.altitudeAngle??0,a=e.azimuthAngle??0;let r=0,n=0;if(0===t&&(0!==a&&a!==2*Math.PI||(r=Math.PI/2),a===Math.PI/2&&(n=Math.PI/2),a===Math.PI&&(r=-Math.PI/2),a===3*Math.PI/2&&(n=-Math.PI/2),a>0&&aMath.PI/2&&aMath.PI&&a<3*Math.PI/2&&(r=-Math.PI/2,n=-Math.PI/2),a>3*Math.PI/2&&a<2*Math.PI&&(r=Math.PI/2,n=-Math.PI/2)),0!==t){const e=Math.tan(t);r=Math.atan(Math.cos(a)/e),n=Math.atan(Math.sin(a)/e)}const s=180/Math.PI;return{tiltX:Math.round(r*s),tiltY:Math.round(n*s)}}function ot(e,t){return{radiusX:e?e/2:.5,radiusY:t?t/2:.5}}var it={},ct={},dt={};Object.defineProperty(dt,"__esModule",{value:!0}),dt.Mutex=void 0;dt.Mutex=class{#$e=!1;#Ke=[];acquire(){const e={resolved:!1};return this.#$e?new Promise((t=>{this.#Ke.push((()=>t(this.#He.bind(this,e))))})):(this.#$e=!0,Promise.resolve(this.#He.bind(this,e)))}#He(e){if(e.resolved)throw new Error("Cannot release more than once.");e.resolved=!0;const t=this.#Ke.shift();t?t():this.#$e=!1}async run(e){const t=await this.acquire();try{return await e()}finally{t()}}},Object.defineProperty(ct,"__esModule",{value:!0}),ct.InputState=void 0;const ut=g,lt=dt,ht=Ke;ct.InputState=class{cancelList=[];#We=new Map;#Je=new lt.Mutex;getOrCreate(e,t,a){let r=this.#We.get(e);if(!r){switch(t){case"none":r=new ht.NoneSource;break;case"key":r=new ht.KeySource;break;case"pointer":{let e="mouse"===a?0:2;const t=new Set;for(const[,e]of this.#We)"pointer"===e.type&&t.add(e.pointerId);for(;t.has(e);)++e;r=new ht.PointerSource(e,a);break}case"wheel":r=new ht.WheelSource;break;default:throw new ut.InvalidArgumentException(`Expected "none", "key", "pointer", or "wheel". Found unknown source type ${t}.`)}return this.#We.set(e,r),r}if(r.type!==t)throw new ut.InvalidArgumentException(`Input source type of ${e} is ${r.type}, but received ${t}.`);return r}get(e){const t=this.#We.get(e);if(!t)throw new ut.UnknownErrorException("Internal error.");return t}getGlobalKeyState(){const e=new ht.KeySource;for(const[,t]of this.#We)if("key"===t.type){for(const a of t.pressed)e.pressed.add(a);e.alt||=t.alt,e.ctrl||=t.ctrl,e.meta||=t.meta,e.shift||=t.shift}return e}get queue(){return this.#Je}},Object.defineProperty(it,"__esModule",{value:!0}),it.InputStateManager=void 0;const pt=G,mt=ct;class ft extends WeakMap{get(e){return(0,pt.assert)(e.isTopLevelContext()),this.has(e)||this.set(e,new mt.InputState),super.get(e)}}it.InputStateManager=ft,Object.defineProperty(Ve,"__esModule",{value:!0}),Ve.InputProcessor=void 0;const gt=g,yt=G,St=$e,vt=it;Ve.InputProcessor=class{#i;#c;#Ge=new vt.InputStateManager;constructor(e,t){this.#i=e,this.#c=t}async performActions(e){const t=this.#i.getContext(e.context),a=this.#Ge.get(t.top),r=this.#Xe(e,a),n=new St.ActionDispatcher(a,t,await St.ActionDispatcher.isMacOS(t).catch((()=>!1)));return await n.dispatchActions(r),{}}async releaseActions(e){const t=this.#i.getContext(e.context),a=t.top,r=this.#Ge.get(a),n=new St.ActionDispatcher(r,t,await St.ActionDispatcher.isMacOS(t).catch((()=>!1)));return await n.dispatchTickActions(r.cancelList.reverse()),this.#Ge.delete(a),{}}async setFiles(e){const t=this.#i.getContext(e.context),a=await t.getOrCreateSandbox(void 0);let r;try{r=await a.callFunction(String((function(e){return this instanceof HTMLInputElement?"file"!==this.type?1:this.disabled?2:e>1&&!this.multiple?3:void 0:0})),e.element,[{type:"number",value:e.files.length}],!1,"none",{},!1)}catch{throw new gt.NoSuchElementException(`Could not find element ${e.element.sharedId}`)}if((0,yt.assert)("success"===r.type),"number"===r.result.type)switch(r.result.value){case 0:throw new gt.NoSuchElementException(`Could not find element ${e.element.sharedId}`);case 1:throw new gt.UnableToSetFileInputException(`Element ${e.element.sharedId} is not a file input`);case 2:throw new gt.UnableToSetFileInputException(`Input element ${e.element.sharedId} is disabled`);case 3:throw new gt.UnableToSetFileInputException("Cannot set multiple files on a non-multiple input element")}if(0===e.files.length)return await a.callFunction(String((function(){0!==this.files?.length?(this.files=(new DataTransfer).files,this.dispatchEvent(new Event("input",{bubbles:!0,composed:!0})),this.dispatchEvent(new Event("change",{bubbles:!0}))):this.dispatchEvent(new Event("cancel",{bubbles:!0}))})),e.element,[],!1,"none",{},!1),{};const n=[];for(let t=0;tn[t]!==e))){const{objectId:t}=await a.deserializeForCdp(e.element);(0,yt.assert)(void 0!==t),await a.cdpClient.sendCommand("DOM.setFileInputFiles",{files:e.files,objectId:t})}else await a.callFunction(String((function(){this.dispatchEvent(new Event("cancel",{bubbles:!0}))})),e.element,[],!1,"none",{},!1);return{}}#Xe(e,t){const a=[];for(const r of e.actions){switch(r.type){case"pointer":{r.parameters??={pointerType:"mouse"},r.parameters.pointerType??="mouse";const e=t.getOrCreate(r.id,"pointer",r.parameters.pointerType);if(e.subtype!==r.parameters.pointerType)throw new gt.InvalidArgumentException(`Expected input source ${r.id} to be ${e.subtype}; got ${r.parameters.pointerType}.`);break}default:t.getOrCreate(r.id,r.type)}const e=r.actions.map((e=>({id:r.id,action:e})));for(let t=0;t{for(var a in t)xt(e,a,{get:t[a],enumerable:!0})})(Rt,{URLPattern:()=>pa});var Et,_t=(Et=Rt,((e,t,a,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let n of It(t))!kt.call(e,n)&&n!==a&&xt(e,n,{get:()=>t[n],enumerable:!(r=Pt(t,n))||r.enumerable});return e})(xt({},"__esModule",{value:!0}),Et)),Tt=class{type=3;name="";prefix="";value="";suffix="";modifier=3;constructor(e,t,a,r,n,s){this.type=e,this.name=t,this.prefix=a,this.value=r,this.suffix=n,this.modifier=s}hasCustomName(){return""!==this.name&&"number"!=typeof this.name}},Nt=/[$_\p{ID_Start}]/u,jt=/[$_\u200C\u200D\p{ID_Continue}]/u,Ot=".*";function Mt(e,t){return(t?/^[\x00-\xFF]*$/:/^[\x00-\x7F]*$/).test(e)}function Bt(e,t=!1){let a=[],r=0;for(;r{if(oc("OTHER_MODIFIER")??c("ASTERISK"),u=e=>{let t=c(e);if(void 0!==t)return t;let{type:r,index:n}=a[o];throw new TypeError(`Unexpected ${r} at ${n}, expected ${e}`)},l=()=>{let e,t="";for(;e=c("CHAR")??c("ESCAPED_CHAR");)t+=e;return t},h=t.encodePart||(e=>e),p="",m=e=>{p+=e},f=()=>{p.length&&(n.push(new Tt(3,"","",h(p),"",3)),p="")},g=(e,t,a,o,c)=>{let d,u=3;switch(c){case"?":u=1;break;case"*":u=0;break;case"+":u=2}if(!t&&!a&&3===u)return void m(e);if(f(),!t&&!a){if(!e)return;return void n.push(new Tt(3,"","",h(e),"",u))}d=a?"*"===a?Ot:a:r;let l,p=2;if(d===r?(p=1,d=""):d===Ot&&(p=0,d=""),t?l=t:a&&(l=s++),i.has(l))throw new TypeError(`Duplicate name '${l}'.`);i.add(l),n.push(new Tt(p,l,h(e),d,h(o),u))};for(;o-1)}return o||(r+=`(?=${s}|${n})`),new RegExp(r,Dt(a))}var Ut={delimiter:"",prefixes:"",sensitive:!0,strict:!0},Ft={delimiter:".",prefixes:"",sensitive:!0,strict:!0},qt={delimiter:"/",prefixes:"/",sensitive:!0,strict:!0};function Vt(e,t){return e.startsWith(t)?e.substring(t.length,e.length):e}function $t(e){return!(!e||e.length<2)&&("["===e[0]||("\\"===e[0]||"{"===e[0])&&"["===e[1])}var Kt=["ftp","file","http","https","ws","wss"];function Ht(e){if(!e)return!0;for(let t of Kt)if(e.test(t))return!0;return!1}function Wt(e){switch(e){case"ws":case"http":return"80";case"wws":case"https":return"443";case"ftp":return"21";default:return""}}function Jt(e){if(""===e)return e;if(/^[-+.A-Za-z0-9]*$/.test(e))return e.toLowerCase();throw new TypeError(`Invalid protocol '${e}'.`)}function Gt(e){if(""===e)return e;let t=new URL("https://example.com");return t.username=e,t.username}function Xt(e){if(""===e)return e;let t=new URL("https://example.com");return t.password=e,t.password}function Yt(e){if(""===e)return e;if(/[\t\n\r #%/:<>?@[\]^\\|]/g.test(e))throw new TypeError(`Invalid hostname '${e}'`);let t=new URL("https://example.com");return t.hostname=e,t.hostname}function Qt(e){if(""===e)return e;if(/[^0-9a-fA-F[\]:]/g.test(e))throw new TypeError(`Invalid IPv6 hostname '${e}'`);return e.toLowerCase()}function ea(e){if(""===e||/^[0-9]*$/.test(e)&&parseInt(e)<=65535)return e;throw new TypeError(`Invalid port '${e}'.`)}function ta(e){if(""===e)return e;let t=new URL("https://example.com");return t.pathname="/"!==e[0]?"/-"+e:e,"/"!==e[0]?t.pathname.substring(2,t.pathname.length):t.pathname}function aa(e){return""===e?e:new URL(`data:${e}`).pathname}function ra(e){if(""===e)return e;let t=new URL("https://example.com");return t.search=e,t.search.substring(1,t.search.length)}function na(e){if(""===e)return e;let t=new URL("https://example.com");return t.hash=e,t.hash.substring(1,t.hash.length)}var sa=class{#Ye;#Qe=[];#et={};#tt=0;#at=1;#rt=0;#nt=0;#st=0;#ot=0;#it=!1;constructor(e){this.#Ye=e}get result(){return this.#et}parse(){for(this.#Qe=Bt(this.#Ye,!0);this.#tt0){if(!this.#pt())continue;this.#st-=1}if(this.#mt())this.#st+=1;else switch(this.#nt){case 0:this.#ft()&&this.#ht(1);break;case 1:if(this.#ft()){this.#gt();let e=7,t=1;this.#yt()?(e=2,t=3):this.#it&&(e=2),this.#ut(e,t)}break;case 2:this.#St()?this.#ht(3):(this.#Ee()||this.#lt()||this.#dt())&&this.#ht(5);break;case 3:this.#vt()?this.#ut(4,1):this.#St()&&this.#ut(5,1);break;case 4:this.#St()&&this.#ut(5,1);break;case 5:this.#_e()?this.#ot+=1:this.#wt()&&(this.#ot-=1),this.#Ct()&&!this.#ot?this.#ut(6,1):this.#Ee()?this.#ut(7,0):this.#lt()?this.#ut(8,1):this.#dt()&&this.#ut(9,1);break;case 6:this.#Ee()?this.#ut(7,0):this.#lt()?this.#ut(8,1):this.#dt()&&this.#ut(9,1);break;case 7:this.#lt()?this.#ut(8,1):this.#dt()&&this.#ut(9,1);break;case 8:this.#dt()&&this.#ut(9,1)}}void 0!==this.#et.hostname&&void 0===this.#et.port&&(this.#et.port="")}#ut(e,t){switch(this.#nt){case 0:case 2:break;case 1:this.#et.protocol=this.#bt();break;case 3:this.#et.username=this.#bt();break;case 4:this.#et.password=this.#bt();break;case 5:this.#et.hostname=this.#bt();break;case 6:this.#et.port=this.#bt();break;case 7:this.#et.pathname=this.#bt();break;case 8:this.#et.search=this.#bt();break;case 9:this.#et.hash=this.#bt()}0!==this.#nt&&10!==e&&([1,2,3,4].includes(this.#nt)&&[6,7,8,9].includes(e)&&(this.#et.hostname??=""),[1,2,3,4,5,6].includes(this.#nt)&&[8,9].includes(e)&&(this.#et.pathname??=this.#it?"/":""),[1,2,3,4,5,6,7].includes(this.#nt)&&9===e&&(this.#et.search??="")),this.#xt(e,t)}#xt(e,t){this.#nt=e,this.#rt=this.#tt+t,this.#tt+=t,this.#at=0}#ct(){this.#tt=this.#rt,this.#at=0}#ht(e){this.#ct(),this.#nt=e}#Pt(e){return e<0&&(e=this.#Qe.length-e),e=0&&(e.pathname=da(r.pathname.substring(0,t+1),a)+e.pathname)}e.pathname=function(e,t,a){if(a||""===e)return e;if(t&&!Kt.includes(t))return new URL(`${t}:${e}`).pathname;let r="/"==e[0];return e=new URL(r?e:"/-"+e,"https://example.com").pathname,r||(e=e.substring(2,e.length)),e}(e.pathname,e.protocol,a)}return"string"==typeof t.search&&(e.search=function(e,t){if(e=Vt(e,"?"),t||""===e)return e;let a=new URL("https://example.com");return a.search=e,a.search?a.search.substring(1,a.search.length):""}(t.search,a)),"string"==typeof t.hash&&(e.hash=function(e,t){if(e=Vt(e,"#"),t||""===e)return e;let a=new URL("https://example.com");return a.hash=e,a.hash?a.hash.substring(1,a.hash.length):""}(t.hash,a)),e}function la(e){return e.replace(/([+*?:{}()\\])/g,"\\$1")}function ha(e,t){t.delimiter??="/#?",t.prefixes??="./",t.sensitive??=!1,t.strict??=!1,t.end??=!0,t.start??=!0,t.endsWith="";let a=`[^${function(e){return e.replace(/([.+*?^${}()[\]|/\\])/g,"\\$1")}(t.delimiter)}]+?`,r=/[$_\u200C\u200D\p{ID_Continue}]/u,n="";for(let s=0;s0?e[s-1]:null,u=s0?u.value[0]:"";c=r.test(e)}else c=!u.hasCustomName();if(!c&&!o.prefix.length&&d&&3===d.type){let e=d.value[d.value.length-1];c=t.prefixes.includes(e)}c&&(n+="{"),n+=la(o.prefix),i&&(n+=`:${o.name}`),2===o.type?n+=`(${o.value})`:1===o.type?i||(n+=`(${a})`):0===o.type&&(i||d&&3!==d.type&&3===d.modifier&&!c&&""===o.prefix?n+="(.*)":n+="*"),1===o.type&&i&&o.suffix.length&&r.test(o.suffix[0])&&(n+="\\"),n+=la(o.suffix),c&&(n+="}"),3!==o.modifier&&(n+=Lt(o.modifier))}return n}var pa=class{#Ye;#Qe={};#et={};#tt={};#at={};#rt=!1;constructor(e={},t,a){try{let r;if("string"==typeof t?r=t:a=t,"string"==typeof e){let t=new sa(e);if(t.parse(),e=t.result,void 0===r&&"string"!=typeof e.protocol)throw new TypeError("A base URL must be provided for a relative constructor string.");e.baseURL=r}else{if(!e||"object"!=typeof e)throw new TypeError("parameter 1 is not of type 'string' and cannot convert to dictionary.");if(r)throw new TypeError("parameter 1 is not of type 'string'.")}typeof a>"u"&&(a={ignoreCase:!1});let n,s={ignoreCase:!0===a.ignoreCase},o={pathname:ia,protocol:ia,username:ia,password:ia,hostname:ia,port:ia,search:ia,hash:ia};for(n of(this.#Ye=ua(o,e,!0),Wt(this.#Ye.protocol)===this.#Ye.port&&(this.#Ye.port=""),oa)){if(!(n in this.#Ye))continue;let e={},t=this.#Ye[n];switch(this.#et[n]=[],n){case"protocol":Object.assign(e,Ut),e.encodePart=Jt;break;case"username":Object.assign(e,Ut),e.encodePart=Gt;break;case"password":Object.assign(e,Ut),e.encodePart=Xt;break;case"hostname":Object.assign(e,Ft),$t(t)?e.encodePart=Qt:e.encodePart=Yt;break;case"port":Object.assign(e,Ut),e.encodePart=ea;break;case"pathname":Ht(this.#Qe.protocol)?(Object.assign(e,qt,s),e.encodePart=ta):(Object.assign(e,Ut,s),e.encodePart=aa);break;case"search":Object.assign(e,Ut,s),e.encodePart=ra;break;case"hash":Object.assign(e,Ut,s),e.encodePart=na}try{this.#at[n]=At(t,e),this.#Qe[n]=Zt(this.#at[n],this.#et[n],e),this.#tt[n]=ha(this.#at[n],e),this.#rt=this.#rt||this.#at[n].some((e=>2===e.type))}catch{throw new TypeError(`invalid ${n} pattern '${this.#Ye[n]}'.`)}}}catch(e){throw new TypeError(`Failed to construct 'URLPattern': ${e.message}`)}}test(e={},t){let a,r={pathname:"",protocol:"",username:"",password:"",hostname:"",port:"",search:"",hash:""};if("string"!=typeof e&&t)throw new TypeError("parameter 1 is not of type 'string'.");if(typeof e>"u")return!1;try{r=ua(r,"object"==typeof e?e:ca(e,t),!1)}catch{return!1}for(a of oa)if(!this.#Qe[a].exec(r[a]))return!1;return!0}exec(e={},t){let a={pathname:"",protocol:"",username:"",password:"",hostname:"",port:"",search:"",hash:""};if("string"!=typeof e&&t)throw new TypeError("parameter 1 is not of type 'string'.");if(typeof e>"u")return;try{a=ua(a,"object"==typeof e?e:ca(e,t),!1)}catch{return null}let r,n={};for(r of(n.inputs=t?[e,t]:[e],oa)){let e=this.#Qe[r].exec(a[r]);if(!e)return null;let t={};for(let[a,n]of this.#et[r].entries())if("string"==typeof n||"number"==typeof n){let r=e[a+1];t[n]=r}n[r]={input:a[r]??"",groups:t}}return n}static compareComponent(e,t,a){let r=(e,t)=>{for(let a of["type","modifier","prefix","value","suffix"]){if(e[a]{let a=0;for(;a`${e}${t.name}: ${t.value.value}\r\n`),"");return(new TextEncoder).encode(t).length},Ct.bidiNetworkHeadersFromCdpNetworkHeaders=function(e){return e?Object.entries(e).map((([e,t])=>({name:e,value:{type:"string",value:t}}))):[]},Ct.cdpNetworkHeadersFromBidiNetworkHeaders=function(e){if(void 0!==e)return e.reduce(((e,t)=>(e[t.name]=t.value.value,e)),{})},Ct.bidiNetworkHeadersFromCdpFetchHeaders=function(e){return e?e.map((({name:e,value:t})=>({name:e,value:{type:"string",value:t}}))):[]},Ct.cdpFetchHeadersFromBidiNetworkHeaders=function(e){if(void 0!==e)return e.map((({name:e,value:t})=>({name:e,value:t.value})))},Ct.cdpAuthChallengeResponseFromBidiAuthContinueWithAuthAction=function(e){switch(e){case"default":return"Default";case"cancel":return"CancelAuth";case"provideCredentials":return"ProvideCredentials"}},Ct.cdpToBiDiCookie=function(e){const t={name:e.name,value:{type:"string",value:e.value},domain:e.domain,path:e.path,size:e.size,httpOnly:e.httpOnly,secure:e.secure,sameSite:void 0===e.sameSite?"none":Sa(e.sameSite),...e.expires>=0?{expiry:e.expires}:void 0};return t["goog:session"]=e.session,t["goog:priority"]=e.priority,t["goog:sameParty"]=e.sameParty,t["goog:sourceScheme"]=e.sourceScheme,t["goog:sourcePort"]=e.sourcePort,void 0!==e.partitionKey&&(t["goog:partitionKey"]=e.partitionKey),void 0!==e.partitionKeyOpaque&&(t["goog:partitionKeyOpaque"]=e.partitionKeyOpaque),t},Ct.bidiToCdpCookie=function(e,t){if("string"!==e.cookie.value.type)throw new ga.UnsupportedOperationException("Only string cookie values are supported");const a=e.cookie.value.value,r={name:e.cookie.name,value:a,domain:e.cookie.domain,path:e.cookie.path??"/",secure:e.cookie.secure??!1,httpOnly:e.cookie.httpOnly??!1,...void 0!==t.sourceOrigin&&{partitionKey:t.sourceOrigin},...void 0!==e.cookie.expiry&&{expires:e.cookie.expiry},...void 0!==e.cookie.sameSite&&{sameSite:va(e.cookie.sameSite)}};return void 0!==e.cookie["goog:url"]&&(r.url=e.cookie["goog:url"]),void 0!==e.cookie["goog:priority"]&&(r.priority=e.cookie["goog:priority"]),void 0!==e.cookie["goog:sameParty"]&&(r.sameParty=e.cookie["goog:sameParty"]),void 0!==e.cookie["goog:sourceScheme"]&&(r.sourceScheme=e.cookie["goog:sourceScheme"]),void 0!==e.cookie["goog:sourcePort"]&&(r.sourcePort=e.cookie["goog:sourcePort"]),r},Ct.sameSiteBiDiToCdp=va,Ct.buildUrlPatternString=function({protocol:e,hostname:t,port:a,pathname:r,search:n}){if(!(e||t||a||r||n))return"*";let s="";return e&&(s+=e,e.endsWith(":")||(s+=":"),wa(e)&&(s+="//")),t&&(s+=t),a&&(s+=`:${a}`),r&&(r.startsWith("/")||(s+="/"),s+=r),n&&(n.startsWith("?")||(s+="?"),s+=n),s},Ct.isSpecialScheme=wa,Ct.matchUrlPattern=function(e,t){return new ya.URLPattern("string"===e.type?e.pattern:e).test(t)},Object.defineProperty(wt,"__esModule",{value:!0}),wt.NetworkProcessor=void 0;const Ca=g,ba=G,xa=Ct;class Pa{#i;#pe;constructor(e,t){this.#i=e,this.#pe=t}async addIntercept(e){this.#i.verifyContextsList(e.contexts);const t=e.urlPatterns??[],a=Pa.parseUrlPatterns(t);return{intercept:await this.#pe.addIntercept({urlPatterns:a,phases:e.phases})}}async continueRequest(e){const t=e.request;void 0!==e.url&&Pa.parseUrlString(e.url);const a=this.#kt(t,["beforeRequestSent"]),{url:r,method:n,headers:s}=e,o=(0,xa.cdpFetchHeadersFromBidiNetworkHeaders)(s);return await a.continueRequest(r,n,o),{}}async continueResponse(e){const t=e.request,{statusCode:a,reasonPhrase:r,headers:n}=e,s=this.#kt(t,["responseStarted"]),o=(0,xa.cdpFetchHeadersFromBidiNetworkHeaders)(n);return await s.continueResponse({responseCode:a,responsePhrase:r,responseHeaders:o}),{}}async continueWithAuth(e){const t=e.request,a=this.#kt(t,["authRequired"]);let r,n;if("provideCredentials"===e.action){const{credentials:t}=e;r=t.username,n=t.password,(0,ba.assert)("password"===t.type,`Credentials type ${t.type} must be 'password'`)}const s=(0,xa.cdpAuthChallengeResponseFromBidiAuthContinueWithAuthAction)(e.action);return await a.continueWithAuth({response:s,username:r,password:n}),{}}async failRequest({request:e}){const t=this.#Rt(e);if("authRequired"===t.currentInterceptPhase)throw new Ca.InvalidArgumentException(`Request '${e}' in 'authRequired' phase cannot be failed`);if(!t.currentInterceptPhase)throw new Ca.NoSuchRequestException(`No blocked request found for network id '${e}'`);return await t.failRequest("Failed"),{}}async provideResponse(e){const{statusCode:t,reasonPhrase:a,headers:r,body:n,request:s}=e,o=(0,xa.cdpFetchHeadersFromBidiNetworkHeaders)(r),i=this.#kt(s,["beforeRequestSent","responseStarted","authRequired"]);return await i.provideResponse({responseCode:t??i.statusCode,responsePhrase:a,responseHeaders:o,body:n?.value}),{}}async removeIntercept(e){return await this.#pe.removeIntercept(e.intercept),{}}#Rt(e){const t=this.#pe.getRequestById(e);if(!t)throw new Ca.NoSuchRequestException(`Network request with ID '${e}' doesn't exist`);return t}#kt(e,t){const a=this.#Rt(e);if(!a.currentInterceptPhase)throw new Ca.NoSuchRequestException(`No blocked request found for network id '${e}'`);if(a.currentInterceptPhase&&!t.includes(a.currentInterceptPhase))throw new Ca.InvalidArgumentException(`Blocked request for network id '${e}' is in '${a.currentInterceptPhase}' phase`);return a}static parseUrlString(e){try{return new URL(e)}catch(t){throw new Ca.InvalidArgumentException(`Invalid URL '${e}': ${t}`)}}static parseUrlPatterns(e){return e.map((e=>{switch(e.type){case"string":return Pa.parseUrlString(e.pattern),e;case"pattern":if(void 0===e.protocol&&void 0===e.hostname&&void 0===e.port&&void 0===e.pathname&&void 0===e.search)return e;if(""===e.protocol)throw new Ca.InvalidArgumentException("URL pattern must specify a protocol");if(""===e.hostname)throw new Ca.InvalidArgumentException("URL pattern must specify a hostname");if((e.hostname?.length??0)>0){if(e.protocol?.match(/^file/i))throw new Ca.InvalidArgumentException("URL pattern protocol cannot be 'file'");if(e.hostname?.includes(":"))throw new Ca.InvalidArgumentException("URL pattern hostname must not contain a colon")}if(""===e.port)throw new Ca.InvalidArgumentException("URL pattern must specify a port");try{new URL((0,xa.buildUrlPatternString)(e))}catch(e){throw new Ca.InvalidArgumentException(`${e}`)}return e}}))}}wt.NetworkProcessor=Pa;var Ia={},ka={};Object.defineProperty(ka,"__esModule",{value:!0}),ka.NetworkRequest=void 0;const Ra=g,Ea=G,_a=l,Ta=Ct;class Na{static unknownParameter="UNKNOWN";#l;#Et;#_t;#Tt=!1;#Nt;#jt={};#Ot={};#S;#pe;#H;#t;#Mt={[Ra.ChromiumBidi.Network.EventNames.AuthRequired]:!1,[Ra.ChromiumBidi.Network.EventNames.BeforeRequestSent]:!1,[Ra.ChromiumBidi.Network.EventNames.FetchError]:!1,[Ra.ChromiumBidi.Network.EventNames.ResponseCompleted]:!1,[Ra.ChromiumBidi.Network.EventNames.ResponseStarted]:!1};constructor(e,t,a,r,n=0,s){this.#l=e,this.#S=t,this.#pe=a,this.#H=r,this.#Nt=n,this.#t=s}get id(){return this.#l}get fetchId(){return this.#Et}get currentInterceptPhase(){return this.#_t}get url(){return this.#Ot.info?.url??this.#Ot.paused?.request.url??this.#jt.auth?.request.url??this.#jt.info?.request.url??this.#jt.paused?.request.url??Na.unknownParameter}get method(){return this.#jt.info?.request.method??this.#jt.paused?.request.method??this.#jt.auth?.request.method??this.#Ot.paused?.request.method??Na.unknownParameter}get redirectCount(){return this.#Nt}get cdpClient(){return this.#H.cdpClient}isRedirecting(){return Boolean(this.#jt.info)}#Bt(e){return this.#pe.getInterceptsForPhase(this,e)}#At(e){return this.#Bt(e).size>0}handleRedirect(e){this.#Ot.hasExtraInfo=e.redirectHasExtraInfo,this.#Ot.info=e.redirectResponse,this.#zt({wasRedirected:!0})}#zt(e={}){const t=e.wasRedirected||e.hasFailed||Boolean(this.#jt.extraInfo)||this.#Tt||Boolean(this.#Ot.info&&!this.#Ot.hasExtraInfo),a=this.#At("beforeRequestSent"),r=!a||a&&Boolean(this.#jt.paused);Boolean(this.#jt.info)&&(a?r:t)&&this.#Dt(this.#Lt.bind(this));const n=Boolean(this.#Ot.extraInfo)||this.#Tt||Boolean(this.#Ot.info&&!this.#Ot.hasExtraInfo),s=this.#At("responseStarted");(this.#Ot.info||s&&Boolean(this.#Ot.paused))&&this.#Dt(this.#Zt.bind(this));const o=!s||s&&Boolean(this.#Ot.paused);Boolean(this.#Ot.info)&&n&&o&&this.#Dt(this.#Ut.bind(this))}onRequestWillBeSentEvent(e){this.#jt.info=e,this.#zt()}onRequestWillBeSentExtraInfoEvent(e){this.#jt.extraInfo=e,this.#zt()}onResponseReceivedExtraInfoEvent(e){this.#Ot.extraInfo=e,this.#zt()}onResponseReceivedEvent(e){this.#Ot.hasExtraInfo=e.hasExtraInfo,this.#Ot.info=e.response,this.#zt()}onServedFromCache(){this.#Tt=!0,this.#zt()}onLoadingFailedEvent(e){this.#zt({hasFailed:!0}),this.#Dt((()=>({method:Ra.ChromiumBidi.Network.EventNames.FetchError,params:{...this.#Ft(),errorText:e.errorText}})))}async failRequest(e){(0,Ea.assert)(this.#Et,"Network Interception not set-up."),this.#_t=void 0,await this.cdpClient.sendCommand("Fetch.failRequest",{requestId:this.#Et,errorReason:e})}onRequestPaused(e){this.#Et=e.requestId,e.responseStatusCode||e.responseErrorReason?(this.#Ot.paused=e,this.#At("responseStarted")?this.#_t="responseStarted":this.continueResponse()):(this.#jt.paused=e,this.#At("beforeRequestSent")?this.#_t="beforeRequestSent":this.continueRequest()),this.#zt()}onAuthRequired(e){this.#Et=e.requestId,this.#jt.auth=e,this.#At("authRequired")?this.#_t="authRequired":this.continueWithAuth(),this.#Dt((()=>({method:Ra.ChromiumBidi.Network.EventNames.AuthRequired,params:{...this.#Ft("authRequired"),response:{}}})))}async continueRequest(e,t,a){(0,Ea.assert)(this.#Et,"Network Interception not set-up."),this.#_t=void 0,await this.cdpClient.sendCommand("Fetch.continueRequest",{requestId:this.#Et,url:e,method:t,headers:a})}async continueResponse({responseCode:e,responsePhrase:t,responseHeaders:a}={}){(0,Ea.assert)(this.#Et,"Network Interception not set-up."),this.#_t=void 0,await this.cdpClient.sendCommand("Fetch.continueResponse",{requestId:this.#Et,responseCode:e,responsePhrase:t,responseHeaders:a})}async continueWithAuth(e={response:"Default"}){(0,Ea.assert)(this.#Et,"Network Interception not set-up."),this.#_t=void 0,await this.cdpClient.sendCommand("Fetch.continueWithAuth",{requestId:this.#Et,authChallengeResponse:e})}async provideResponse({responseCode:e,responsePhrase:t,responseHeaders:a,body:r}){(0,Ea.assert)(this.#Et,"Network Interception not set-up."),this.#_t=void 0,await this.cdpClient.sendCommand("Fetch.fulfillRequest",{requestId:this.#Et,responseCode:e,responsePhrase:t,responseHeaders:a,...r?{body:btoa(r)}:{}})}get#Be(){return this.#Ot.paused?.frameId??this.#jt.info?.frameId??this.#jt.paused?.frameId??this.#jt.auth?.frameId??null}get statusCode(){return this.#Ot.paused?.responseStatusCode??this.#Ot.extraInfo?.statusCode??this.#Ot.info?.status??-1}#Dt(e){let t;try{t=e()}catch(e){throw this.#t?.(_a.LogType.debugError,e),e}this.#qt()||this.#Mt[t.method]||(this.#Mt[t.method]=!0,this.#S.registerEvent(Object.assign(t,{type:"event"}),this.#Be))}#Ft(e){const t={isBlocked:!1};if(e){const a=this.#Bt(e);t.isBlocked=a.size>0,t.isBlocked&&(t.intercepts=[...a])}return{context:this.#Be,navigation:this.#Vt(),redirectCount:this.#Nt,request:this.#$t(),timestamp:Math.round(1e3*(this.#jt.info?.wallTime??0)),...t}}#Vt(){return this.#jt.info&&this.#jt.info.loaderId&&this.#jt.info.loaderId===this.#jt.info.requestId?this.#jt.info.loaderId:null}#$t(){const e=this.#jt.extraInfo?Na.#Kt(this.#jt.extraInfo.associatedCookies):[],t=(0,Ta.bidiNetworkHeadersFromCdpNetworkHeaders)(this.#jt.info?.request.headers);return{request:this.#l,url:this.url,method:this.method,headers:t,cookies:e,headersSize:(0,Ta.computeHeadersSize)(t),bodySize:0,timings:this.#Ht()}}#Ht(){return{timeOrigin:0,requestTime:0,redirectStart:0,redirectEnd:0,fetchStart:0,dnsStart:0,dnsEnd:0,connectStart:0,connectEnd:0,tlsStart:0,requestStart:0,responseStart:0,responseEnd:0}}#Lt(){return(0,Ea.assert)(this.#jt.info,"RequestWillBeSentEvent is not set"),{method:Ra.ChromiumBidi.Network.EventNames.BeforeRequestSent,params:{...this.#Ft("beforeRequestSent"),initiator:{type:Na.#Wt(this.#jt.info.initiator.type)}}}}#Zt(){(0,Ea.assert)(this.#jt.info,"RequestWillBeSentEvent is not set"),(0,Ea.assert)(this.#Ot.paused||this.#Ot.info,"ResponseReceivedEvent is not set"),this.#Ot.info?.fromDiskCache&&(this.#Ot.extraInfo=void 0);const e=(0,Ta.bidiNetworkHeadersFromCdpNetworkHeaders)(this.#Ot.info?.headers);return{method:Ra.ChromiumBidi.Network.EventNames.ResponseStarted,params:{...this.#Ft("responseStarted"),response:{url:this.url,protocol:this.#Ot.info?.protocol??"",status:this.statusCode,statusText:this.#Ot.info?.statusText||this.#Ot.paused?.responseStatusText||"",fromCache:this.#Ot.info?.fromDiskCache||this.#Ot.info?.fromPrefetchCache||this.#Tt,headers:e,mimeType:this.#Ot.info?.mimeType||"",bytesReceived:this.#Ot.info?.encodedDataLength||0,headersSize:(0,Ta.computeHeadersSize)(e),bodySize:0,content:{size:0}}}}}#Ut(){(0,Ea.assert)(this.#jt.info,"RequestWillBeSentEvent is not set"),(0,Ea.assert)(this.#Ot.info,"ResponseReceivedEvent is not set"),this.#Ot.info.fromDiskCache&&(this.#Ot.extraInfo=void 0);const e=(0,Ta.bidiNetworkHeadersFromCdpNetworkHeaders)(this.#Ot.info.headers);return{method:Ra.ChromiumBidi.Network.EventNames.ResponseCompleted,params:{...this.#Ft(),response:{url:this.url,protocol:this.#Ot.info.protocol??"",status:this.statusCode,statusText:this.#Ot.info.statusText,fromCache:this.#Ot.info.fromDiskCache||this.#Ot.info.fromPrefetchCache||this.#Tt,headers:e,mimeType:this.#Ot.info.mimeType,bytesReceived:this.#Ot.info.encodedDataLength,headersSize:(0,Ta.computeHeadersSize)(e),bodySize:0,content:{size:0}}}}}#qt(){return this.#jt.info?.request.url.endsWith("/favicon.ico")??!1}static#Wt(e){switch(e){case"parser":case"script":case"preflight":return e;default:return"other"}}static#Kt(e){return e.filter((({blockedReasons:e})=>!Array.isArray(e)||0===e.length)).map((({cookie:e})=>(0,Ta.cdpToBiDiCookie)(e)))}}ka.NetworkRequest=Na,Object.defineProperty(Ia,"__esModule",{value:!0}),Ia.NetworkStorage=void 0;const ja=g,Oa=A,Ma=ka,Ba=Ct;Ia.NetworkStorage=class{#S;#t;#Jt=new Set;#Gt=new Map;#Xt=new Map;#Yt={request:!1,response:!1,auth:!1};constructor(e,t,a){this.#S=e,t.on("Target.detachedFromTarget",(({sessionId:e})=>{this.disposeRequestMap(e)})),this.#t=a}#Qt(e,t,a){let r=this.getRequestById(e);return r||(r=new Ma.NetworkRequest(e,this.#S,this,t,a,this.#t),this.addRequest(r),r)}onCdpTargetCreated(e){this.#Jt.add(e);const t=e.cdpClient,a=[["Network.requestWillBeSent",t=>{const a=this.getRequestById(t.requestId);a&&a.isRedirecting()?(a.handleRedirect(t),this.deleteRequest(t.requestId),this.#Qt(t.requestId,e,a.redirectCount+1).onRequestWillBeSentEvent(t)):this.#Qt(t.requestId,e).onRequestWillBeSentEvent(t)}],["Network.requestWillBeSentExtraInfo",t=>{this.#Qt(t.requestId,e).onRequestWillBeSentExtraInfoEvent(t)}],["Network.responseReceived",t=>{this.#Qt(t.requestId,e).onResponseReceivedEvent(t)}],["Network.responseReceivedExtraInfo",t=>{this.#Qt(t.requestId,e).onResponseReceivedExtraInfoEvent(t)}],["Network.requestServedFromCache",t=>{this.#Qt(t.requestId,e).onServedFromCache()}],["Network.loadingFailed",t=>{this.#Qt(t.requestId,e).onLoadingFailedEvent(t)}],["Fetch.requestPaused",t=>{this.#Qt(t.networkId??t.requestId,e).onRequestPaused(t)}],["Fetch.authRequired",t=>{let a=this.getRequestByFetchId(t.requestId);a||(a=this.#Qt(t.requestId,e)),a.onAuthRequired(t)}]];for(const[e,r]of a)t.on(e,r)}async toggleInterception(){if(this.#Xt.size){const e={request:!1,response:!1,auth:!1};for(const t of this.#Xt.values())e.request||=t.phases.includes("beforeRequestSent"),e.response||=t.phases.includes("responseStarted"),e.auth||=t.phases.includes("authRequired");const t=[];if(this.#Yt.request===e.request&&this.#Yt.response===e.response&&this.#Yt.auth===e.auth)return;this.#Yt=e,(e.request||e.auth)&&t.push({urlPattern:"*",requestStage:"Request"}),e.response&&t.push({urlPattern:"*",requestStage:"Response"}),await Promise.all([...this.#Jt.values()].map((async a=>await a.enableFetchIfNeeded({patterns:t,handleAuthRequests:e.auth}))))}else this.#Yt={request:!1,response:!1,auth:!1},await Promise.all([...this.#Jt.values()].map((e=>e.disableFetchIfNeeded())))}getInterceptsForPhase(e,t){if(e.url===Ma.NetworkRequest.unknownParameter)return new Set;const a=new Set;for(const[r,n]of this.#Xt.entries())if(n.phases.includes(t))if(0!==n.urlPatterns.length){for(const t of n.urlPatterns)if((0,Ba.matchUrlPattern)(t,e.url)){a.add(r);break}}else a.add(r);return a}disposeRequestMap(e){for(const t of this.#Gt.values())t.cdpClient.sessionId===e&&this.#Gt.delete(t.id)}async addIntercept(e){const t=(0,Oa.uuidv4)();return this.#Xt.set(t,e),await this.toggleInterception(),t}async removeIntercept(e){if(!this.#Xt.has(e))throw new ja.NoSuchInterceptException(`Intercept '${e}' does not exist.`);this.#Xt.delete(e),await this.toggleInterception()}getRequestById(e){return this.#Gt.get(e)}getRequestByFetchId(e){for(const t of this.#Gt.values())if(t.fetchId===e)return t}addRequest(e){this.#Gt.set(e.id,e)}deleteRequest(e){this.#Gt.delete(e)}};var Aa={};Object.defineProperty(Aa,"__esModule",{value:!0}),Aa.PermissionsProcessor=void 0;const za=g;Aa.PermissionsProcessor=class{#o;constructor(e){this.#o=e}async setPermissions(e){try{const t=e["goog:userContext"];await this.#o.sendCommand("Browser.setPermission",{origin:e.origin,browserContextId:t&&"default"!==t?t:void 0,permission:{name:e.descriptor.name},setting:e.state})}catch(e){if("Permission can't be granted to opaque origins."===e.message)return{};throw new za.InvalidArgumentException(e.message)}return{}}};var Da={};Object.defineProperty(Da,"__esModule",{value:!0}),Da.PreloadScriptStorage=void 0;Da.PreloadScriptStorage=class{#ea=new Set;find(e){return e?[...this.#ea].filter((t=>(void 0===e.id||e.id===t.id)&&(!(void 0!==e.targetId&&!t.targetIds.has(e.targetId))&&(void 0===e.global||!(e.global&&void 0!==t.contexts||!e.global&&void 0===t.contexts))))):[...this.#ea]}add(e){this.#ea.add(e)}remove(e){for(const t of this.find(e))this.#ea.delete(t)}};var La={},Za={};Object.defineProperty(Za,"__esModule",{value:!0}),Za.PreloadScript=void 0;const Ua=A,Fa=z;Za.PreloadScript=class{#l=(0,Ua.uuidv4)();#ta=[];#aa;#ra=new Set;#na;#sa;#oa;get id(){return this.#l}get targetIds(){return this.#ra}constructor(e,t){this.#na=e.arguments?.map((e=>new Fa.ChannelProxy(e.value,t)))??[],this.#aa=e.functionDeclaration,this.#sa=e.sandbox,this.#oa=e.contexts}get channels(){return this.#na}get contexts(){return this.#oa}#ia(){const e=`[${this.channels.map((e=>e.getEvalInWindowStr())).join(", ")}]`;return`(()=>{(${this.#aa})(...${e})})()`}async initInTargets(e,t){await Promise.all(Array.from(e).map((e=>this.initInTarget(e,t))))}async initInTarget(e,t){const a=await e.cdpClient.sendCommand("Page.addScriptToEvaluateOnNewDocument",{source:this.#ia(),worldName:this.#sa,runImmediately:t});this.#ta.push({target:e,preloadScriptId:a.identifier}),this.#ra.add(e.id)}async remove(){for(const e of this.#ta){const t=e.target,a=e.preloadScriptId;await t.cdpClient.sendCommand("Page.removeScriptToEvaluateOnNewDocument",{identifier:a})}}dispose(e){this.#ta=this.#ta.filter((t=>t.target?.id!==e)),this.#ra.delete(e)}},Object.defineProperty(La,"__esModule",{value:!0}),La.ScriptProcessor=void 0;const qa=g,Va=Za;La.ScriptProcessor=class{#i;#c;#ne;#t;constructor(e,t,a,r){this.#i=e,this.#c=t,this.#ne=a,this.#t=r}async addPreloadScript(e){const t=this.#i.verifyContextsList(e.contexts),a=new Va.PreloadScript(e,this.#t);this.#ne.add(a);const r=0===t.size?new Set(this.#i.getTopLevelContexts().map((e=>e.cdpTarget))):new Set([...t.values()].map((e=>e.cdpTarget)));return await a.initInTargets(r,!1),{script:a.id}}async removePreloadScript(e){const t=e.script,a=this.#ne.find({id:t});if(0===a.length)throw new qa.NoSuchScriptException(`No preload script with BiDi ID '${t}'`);return await Promise.all(a.map((e=>e.remove()))),this.#ne.remove({id:t}),{}}async callFunction(e){const t=await this.#ca(e.target);return await t.callFunction(e.functionDeclaration,e.this??{type:"undefined"},e.arguments??[],e.awaitPromise,e.resultOwnership??"none",e.serializationOptions??{},e.userActivation??!1)}async evaluate(e){const t=await this.#ca(e.target);return await t.evaluate(e.expression,e.awaitPromise,e.resultOwnership??"none",e.serializationOptions??{},e.userActivation??!1)}async disown(e){const t=await this.#ca(e.target);return await Promise.all(e.handles.map((async e=>await t.disown(e)))),{}}getRealms(e){void 0!==e.context&&this.#i.getContext(e.context);return{realms:this.#c.findRealms({browsingContextId:e.context,type:e.type}).map((e=>e.realmInfo))}}async#ca(e){if("realm"in e)return this.#c.getRealm({realmId:e.realm});const t=this.#i.getContext(e.context);return await t.getOrCreateSandbox(e.sandbox)}};var $a={};Object.defineProperty($a,"__esModule",{value:!0}),$a.SessionProcessor=void 0;$a.SessionProcessor=class{#S;constructor(e){this.#S=e}status(){return{ready:!1,message:"already connected"}}async subscribe(e,t=null){return await this.#S.subscribe(e.events,e.contexts??[null],t),{}}async unsubscribe(e,t=null){return await this.#S.unsubscribe(e.events,e.contexts??[null],t),{}}};var Ka={};Object.defineProperty(Ka,"__esModule",{value:!0}),Ka.StorageProcessor=void 0;const Ha=g,Wa=G,Ja=l,Ga=wt,Xa=Ct;Ka.StorageProcessor=class{#o;#i;#t;constructor(e,t,a){this.#i=t,this.#o=e,this.#t=a}async deleteCookies(e){const t=this.#da(e.partition),a=(await this.#o.sendCommand("Storage.getCookies",{browserContextId:t.userContext})).cookies.filter((e=>void 0===t.sourceOrigin||e.partitionKey===t.sourceOrigin)).filter((t=>{const a=(0,Xa.cdpToBiDiCookie)(t);return this.#ua(a,e.filter)})).map((e=>({...e,expires:1})));return await this.#o.sendCommand("Storage.setCookies",{cookies:a,browserContextId:t.userContext}),{partitionKey:t}}async getCookies(e){const t=this.#da(e.partition);return{cookies:(await this.#o.sendCommand("Storage.getCookies",{browserContextId:t.userContext})).cookies.filter((e=>void 0===t.sourceOrigin||e.partitionKey===t.sourceOrigin)).map((e=>(0,Xa.cdpToBiDiCookie)(e))).filter((t=>this.#ua(t,e.filter))),partitionKey:t}}async setCookie(e){const t=this.#da(e.partition),a=(0,Xa.bidiToCdpCookie)(e,t);try{await this.#o.sendCommand("Storage.setCookies",{cookies:[a],browserContextId:t.userContext})}catch(e){throw this.#t?.(Ja.LogType.debugError,e),new Ha.UnableToSetCookieException(e.toString())}return{partitionKey:t}}#la(e){const t=e.context,a=this.#i.getContext(t);return{userContext:"default"===a.userContext?void 0:a.userContext}}#ha(e){const t=new Map;let a=e.sourceOrigin;if(void 0!==a){const e=Ga.NetworkProcessor.parseUrlString(a);a="null"===e.origin?e.origin:`${e.protocol}//${e.hostname}`}const r="default"===e.userContext?void 0:e.userContext;for(const[a,r]of Object.entries(e))void 0===a||void 0===r||["type","sourceOrigin","userContext"].includes(a)||t.set(a,r);return t.size>0&&this.#t?.(Ja.LogType.debugInfo,`Unsupported partition keys: ${JSON.stringify(Object.fromEntries(t))}`),{...void 0===a?{}:{sourceOrigin:a},...void 0===r?{}:{userContext:r}}}#da(e){return void 0===e?{}:"context"===e.type?this.#la(e):((0,Wa.assert)("storageKey"===e.type,"Unknown partition type"),this.#ha(e))}#ua(e,t){return void 0===t||!(void 0!==t.domain&&t.domain!==e.domain||void 0!==t.name&&t.name!==e.name||void 0!==t.value&&(t.value.type!==e.value.type||t.value.value!==e.value.value)||void 0!==t.path&&t.path!==e.path||void 0!==t.size&&t.size!==e.size||void 0!==t.httpOnly&&t.httpOnly!==e.httpOnly||void 0!==t.secure&&t.secure!==e.secure||void 0!==t.sameSite&&t.sameSite!==e.sameSite||void 0!==t.expiry&&t.expiry!==e.expiry)}};var Ya={};Object.defineProperty(Ya,"__esModule",{value:!0}),Ya.OutgoingMessage=void 0;class Qa{#pa;#ma;constructor(e,t=null){this.#pa=e,this.#ma=t}static createFromPromise(e,t){return e.then((e=>"success"===e.kind?{kind:"success",value:new Qa(e.value,t)}:e))}static createResolved(e,t){return Promise.resolve({kind:"success",value:new Qa(e,t)})}get message(){return this.#pa}get channel(){return this.#ma}}Ya.OutgoingMessage=Qa,Object.defineProperty(f,"__esModule",{value:!0}),f.CommandProcessor=void 0;const er=g,tr=s,ar=l,rr=E,nr=_,sr=N,or=O,ir=Ve,cr=wt,dr=Ia,ur=Aa,lr=Da,hr=La,pr=$a,mr=Ka,fr=Ya;class gr extends tr.EventEmitter{#fa;#ga;#ya;#Sa;#va;#wa;#Ca;#ba;#xa;#Pa;#t;constructor(e,t,a,r,n,s,o,i,c,d=new rr.BidiNoOpParser,u){super(),this.#Pa=d,this.#t=u;const l=new dr.NetworkStorage(a,t,u),h=new lr.PreloadScriptStorage;this.#fa=new nr.BrowserProcessor(t),this.#ga=new or.BrowsingContextProcessor(e,t,r,a,s,o,l,h,i,c,n,u),this.#ya=new sr.CdpProcessor(s,o,e,t),this.#Sa=new ir.InputProcessor(s,o),this.#va=new cr.NetworkProcessor(s,l),this.#wa=new ur.PermissionsProcessor(t),this.#Ca=new hr.ScriptProcessor(s,o,h,u),this.#ba=new pr.SessionProcessor(a),this.#xa=new mr.StorageProcessor(t,s,u)}async#Ia(e){switch(e.method){case"session.end":case"session.new":break;case"browser.close":return this.#fa.close();case"browser.createUserContext":return await this.#fa.createUserContext(e.params);case"browser.getUserContexts":return await this.#fa.getUserContexts();case"browser.removeUserContext":return await this.#fa.removeUserContext(this.#Pa.parseRemoveUserContextParams(e.params));case"browsingContext.activate":return await this.#ga.activate(this.#Pa.parseActivateParams(e.params));case"browsingContext.captureScreenshot":return await this.#ga.captureScreenshot(this.#Pa.parseCaptureScreenshotParams(e.params));case"browsingContext.close":return await this.#ga.close(this.#Pa.parseCloseParams(e.params));case"browsingContext.create":return await this.#ga.create(this.#Pa.parseCreateParams(e.params));case"browsingContext.getTree":return this.#ga.getTree(this.#Pa.parseGetTreeParams(e.params));case"browsingContext.handleUserPrompt":return await this.#ga.handleUserPrompt(this.#Pa.parseHandleUserPromptParams(e.params));case"browsingContext.locateNodes":throw new er.UnsupportedOperationException(`Command '${e.method}' not yet implemented.`);case"browsingContext.navigate":return await this.#ga.navigate(this.#Pa.parseNavigateParams(e.params));case"browsingContext.print":return await this.#ga.print(this.#Pa.parsePrintParams(e.params));case"browsingContext.reload":return await this.#ga.reload(this.#Pa.parseReloadParams(e.params));case"browsingContext.setViewport":return await this.#ga.setViewport(this.#Pa.parseSetViewportParams(e.params));case"browsingContext.traverseHistory":return await this.#ga.traverseHistory(this.#Pa.parseTraverseHistoryParams(e.params));case"cdp.getSession":return this.#ya.getSession(this.#Pa.parseGetSessionParams(e.params));case"cdp.resolveRealm":return this.#ya.resolveRealm(this.#Pa.parseResolveRealmParams(e.params));case"cdp.sendCommand":return await this.#ya.sendCommand(this.#Pa.parseSendCommandParams(e.params));case"input.performActions":return await this.#Sa.performActions(this.#Pa.parsePerformActionsParams(e.params));case"input.releaseActions":return await this.#Sa.releaseActions(this.#Pa.parseReleaseActionsParams(e.params));case"input.setFiles":return await this.#Sa.setFiles(this.#Pa.parseSetFilesParams(e.params));case"network.addIntercept":return await this.#va.addIntercept(this.#Pa.parseAddInterceptParams(e.params));case"network.continueRequest":return await this.#va.continueRequest(this.#Pa.parseContinueRequestParams(e.params));case"network.continueResponse":return await this.#va.continueResponse(this.#Pa.parseContinueResponseParams(e.params));case"network.continueWithAuth":return await this.#va.continueWithAuth(this.#Pa.parseContinueWithAuthParams(e.params));case"network.failRequest":return await this.#va.failRequest(this.#Pa.parseFailRequestParams(e.params));case"network.provideResponse":return await this.#va.provideResponse(this.#Pa.parseProvideResponseParams(e.params));case"network.removeIntercept":return await this.#va.removeIntercept(this.#Pa.parseRemoveInterceptParams(e.params));case"permissions.setPermission":return await this.#wa.setPermissions(this.#Pa.parseSetPermissionsParams(e.params));case"script.addPreloadScript":return await this.#Ca.addPreloadScript(this.#Pa.parseAddPreloadScriptParams(e.params));case"script.callFunction":return await this.#Ca.callFunction(this.#Pa.parseCallFunctionParams(e.params));case"script.disown":return await this.#Ca.disown(this.#Pa.parseDisownParams(e.params));case"script.evaluate":return await this.#Ca.evaluate(this.#Pa.parseEvaluateParams(e.params));case"script.getRealms":return this.#Ca.getRealms(this.#Pa.parseGetRealmsParams(e.params));case"script.removePreloadScript":return await this.#Ca.removePreloadScript(this.#Pa.parseRemovePreloadScriptParams(e.params));case"session.status":return this.#ba.status();case"session.subscribe":return await this.#ba.subscribe(this.#Pa.parseSubscribeParams(e.params),e.channel);case"session.unsubscribe":return await this.#ba.unsubscribe(this.#Pa.parseSubscribeParams(e.params),e.channel);case"storage.deleteCookies":return await this.#xa.deleteCookies(this.#Pa.parseDeleteCookiesParams(e.params));case"storage.getCookies":return await this.#xa.getCookies(this.#Pa.parseGetCookiesParams(e.params));case"storage.setCookie":return await this.#xa.setCookie(this.#Pa.parseSetCookieParams(e.params))}throw new er.UnknownCommandException(`Unknown command '${e.method}'.`)}async processCommand(e){try{const t=await this.#Ia(e),a={type:"success",id:e.id,result:t};this.emit("response",{message:fr.OutgoingMessage.createResolved(a,e.channel),event:e.method})}catch(t){if(t instanceof er.Exception)this.emit("response",{message:fr.OutgoingMessage.createResolved(t.toErrorResponse(e.id),e.channel),event:e.method});else{const a=t;this.#t?.(ar.LogType.bidi,a),this.emit("response",{message:fr.OutgoingMessage.createResolved(new er.UnknownErrorException(a.message,a.stack).toErrorResponse(e.id),e.channel),event:e.method})}}}}f.CommandProcessor=gr;var yr={};Object.defineProperty(yr,"__esModule",{value:!0}),yr.BrowsingContextStorage=void 0;const Sr=g;yr.BrowsingContextStorage=class{#oa=new Map;getTopLevelContexts(){return this.getAllContexts().filter((e=>e.isTopLevelContext()))}getAllContexts(){return Array.from(this.#oa.values())}deleteContextById(e){this.#oa.delete(e)}deleteContext(e){this.#oa.delete(e.id)}addContext(e){this.#oa.set(e.id,e)}hasContext(e){return this.#oa.has(e)}findContext(e){return this.#oa.get(e)}findTopLevelContextId(e){if(null===e)return null;const t=this.findContext(e),a=t?.parentId??null;return null===a?e:this.findTopLevelContextId(a)}findContextBySession(e){for(const t of this.#oa.values())if(t.cdpTarget.cdpSessionId===e)return t}getContext(e){const t=this.findContext(e);if(void 0===t)throw new Sr.NoSuchFrameException(`Context ${e} not found`);return t}verifyContextsList(e){const t=new Set;if(!e)return t;for(const a of e){const e=this.getContext(a);if(!e.isTopLevelContext())throw new Sr.InvalidArgumentException(`Non top-level context '${a}' given.`);t.add(e)}return t}};var vr={};Object.defineProperty(vr,"__esModule",{value:!0}),vr.RealmStorage=void 0;const wr=g,Cr=ee;vr.RealmStorage=class{#ka=new Map;#Ra=new Map;get knownHandlesToRealmMap(){return this.#ka}addRealm(e){this.#Ra.set(e.realmId,e)}findRealms(e){return Array.from(this.#Ra.values()).filter((t=>(void 0===e.realmId||e.realmId===t.realmId)&&(!(void 0!==e.browsingContextId&&!t.associatedBrowsingContexts.map((e=>e.id)).includes(e.browsingContextId))&&((void 0===e.sandbox||t instanceof Cr.WindowRealm&&e.sandbox===t.sandbox)&&((void 0===e.executionContextId||e.executionContextId===t.executionContextId)&&((void 0===e.origin||e.origin===t.origin)&&((void 0===e.type||e.type===t.realmType)&&(void 0===e.cdpSessionId||e.cdpSessionId===t.cdpClient.sessionId))))))))}findRealm(e){const t=this.findRealms(e);if(1===t.length)return t[0]}getRealm(e){const t=this.findRealm(e);if(void 0===t)throw new wr.NoSuchFrameException(`Realm ${JSON.stringify(e)} not found`);return t}deleteRealms(e){this.findRealms(e).map((e=>{e.dispose(),this.#Ra.delete(e.realmId),Array.from(this.knownHandlesToRealmMap.entries()).filter((([,t])=>t===e.realmId)).map((([e])=>this.knownHandlesToRealmMap.delete(e)))}))}};var br={},xr={};Object.defineProperty(xr,"__esModule",{value:!0}),xr.Buffer=void 0;xr.Buffer=class{#Ea;#_a=[];#Ta;constructor(e,t){this.#Ea=e,this.#Ta=t}get(){return this.#_a}add(e){for(this.#_a.push(e);this.#_a.length>this.#Ea;){const e=this.#_a.shift();void 0!==e&&this.#Ta?.(e)}}};var Pr={};Object.defineProperty(Pr,"__esModule",{value:!0}),Pr.DefaultMap=void 0;class Ir extends Map{#Na;constructor(e,t){super(t),this.#Na=e}get(e){return this.has(e)||this.set(e,this.#Na(e)),super.get(e)}}Pr.DefaultMap=Ir;var kr={};Object.defineProperty(kr,"__esModule",{value:!0}),kr.IdWrapper=void 0;class Rr{static#ja=0;#l;constructor(){this.#l=++Rr.#ja}get id(){return this.#l}}kr.IdWrapper=Rr;var Er={};Object.defineProperty(Er,"__esModule",{value:!0}),Er.assertSupportedEvent=Er.isCdpEvent=void 0;const _r=g;function Tr(e){return e.split(".").at(0)?.startsWith(_r.ChromiumBidi.BiDiModule.Cdp)??!1}Er.isCdpEvent=Tr,Er.assertSupportedEvent=function(e){if(!_r.ChromiumBidi.EVENT_NAMES.has(e)&&!Tr(e))throw new _r.InvalidArgumentException(`Unknown event: ${e}`)};var Nr={};Object.defineProperty(Nr,"__esModule",{value:!0}),Nr.SubscriptionManager=Nr.unrollEvents=Nr.cartesianProduct=void 0;const jr=g,Or=Er;function Mr(...e){return e.reduce(((e,t)=>e.flatMap((e=>t.map((t=>[e,t].flat()))))))}function Br(e){const t=new Set;function a(e){for(const a of e)t.add(a)}for(const r of e)switch(r){case jr.ChromiumBidi.BiDiModule.BrowsingContext:a(Object.values(jr.ChromiumBidi.BrowsingContext.EventNames));break;case jr.ChromiumBidi.BiDiModule.Log:a(Object.values(jr.ChromiumBidi.Log.EventNames));break;case jr.ChromiumBidi.BiDiModule.Network:a(Object.values(jr.ChromiumBidi.Network.EventNames));break;case jr.ChromiumBidi.BiDiModule.Script:a(Object.values(jr.ChromiumBidi.Script.EventNames));break;default:t.add(r)}return[...t.values()]}Nr.cartesianProduct=Mr,Nr.unrollEvents=Br;Nr.SubscriptionManager=class{#Oa=0;#Ma=new Map;#i;constructor(e){this.#i=e}getChannelsSubscribedToEvent(e,t){return Array.from(this.#Ma.keys()).map((a=>({priority:this.#Ba(e,t,a),channel:a}))).filter((({priority:e})=>null!==e)).sort(((e,t)=>e.priority-t.priority)).map((({channel:e})=>e))}#Ba(e,t,a){const r=this.#Ma.get(a);if(void 0===r)return null;const n=this.#i.findTopLevelContextId(t),s=[...new Set([null,n])].map((t=>{const a=r.get(t)?.get(e);if((0,Or.isCdpEvent)(e)){const e=r.get(t)?.get(jr.ChromiumBidi.BiDiModule.Cdp);return a&&e?Math.min(a,e):a??e}return a})).filter((e=>void 0!==e));return 0===s.length?null:Math.min(...s)}isSubscribedToModule(e,t=null){const a=this.#i.findTopLevelContextId(t);for(const t of this.#Ma.values())for(const[r,n]of t.entries())if(a===r||null===r)for(const t of n.keys())if(t.split(".").at(0)===e)return!0;return!1}subscribe(e,t,a){switch(t=this.#i.findTopLevelContextId(t),e){case jr.ChromiumBidi.BiDiModule.BrowsingContext:return void Object.values(jr.ChromiumBidi.BrowsingContext.EventNames).map((e=>this.subscribe(e,t,a)));case jr.ChromiumBidi.BiDiModule.Log:return void Object.values(jr.ChromiumBidi.Log.EventNames).map((e=>this.subscribe(e,t,a)));case jr.ChromiumBidi.BiDiModule.Network:return void Object.values(jr.ChromiumBidi.Network.EventNames).map((e=>this.subscribe(e,t,a)));case jr.ChromiumBidi.BiDiModule.Script:return void Object.values(jr.ChromiumBidi.Script.EventNames).map((e=>this.subscribe(e,t,a)))}this.#Ma.has(a)||this.#Ma.set(a,new Map);const r=this.#Ma.get(a);r.has(t)||r.set(t,new Map);const n=r.get(t);n.has(e)||n.set(e,this.#Oa++)}unsubscribeAll(e,t,a){for(const e of t)null!==e&&this.#i.getContext(e);Mr(Br(e),t).map((([e,t])=>this.#Aa(e,t,a))).forEach((e=>e()))}unsubscribe(e,t,a){this.unsubscribeAll([e],[t],a)}#Aa(e,t,a){if(t=this.#i.findTopLevelContextId(t),!this.#Ma.has(a))throw new jr.InvalidArgumentException(`Cannot unsubscribe from ${e}, ${null===t?"null":t}. No subscription found.`);const r=this.#Ma.get(a);if(!r.has(t))throw new jr.InvalidArgumentException(`Cannot unsubscribe from ${e}, ${null===t?"null":t}. No subscription found.`);const n=r.get(t);if(!n.has(e))throw new jr.InvalidArgumentException(`Cannot unsubscribe from ${e}, ${null===t?"null":t}. No subscription found.`);return()=>{n.delete(e),0===n.size&&r.delete(e),0===r.size&&this.#Ma.delete(a)}}},Object.defineProperty(br,"__esModule",{value:!0}),br.EventManager=void 0;const Ar=g,zr=xr,Dr=Pr,Lr=s,Zr=kr,Ur=Ya,Fr=Er,qr=Nr;class Vr{#za=new Zr.IdWrapper;#Da;#La;constructor(e,t){this.#La=e,this.#Da=t}get id(){return this.#za.id}get contextId(){return this.#Da}get event(){return this.#La}}const $r=new Map([[Ar.ChromiumBidi.Log.EventNames.LogEntryAdded,100]]);class Kr extends Lr.EventEmitter{#Za=new Dr.DefaultMap((()=>new Set));#Ua=new Map;#Fa=new Map;#qa;#i;constructor(e){super(),this.#i=e,this.#qa=new qr.SubscriptionManager(e)}get subscriptionManager(){return this.#qa}static#Va(e,t,a){return JSON.stringify({eventName:e,browsingContext:t,channel:a})}registerEvent(e,t){this.registerPromiseEvent(Promise.resolve({kind:"success",value:e}),t,e.method)}registerPromiseEvent(e,t,a){const r=new Vr(e,t),n=this.#qa.getChannelsSubscribedToEvent(a,t);this.#$a(r,a);for(const t of n)this.emit("event",{message:Ur.OutgoingMessage.createFromPromise(e,t),event:a}),this.#Ka(r,t,a)}async subscribe(e,t,a){for(const t of e)(0,Fr.assertSupportedEvent)(t);for(const e of t)null!==e&&this.#i.getContext(e);for(const r of e)for(const e of t){this.#qa.subscribe(r,e,a);for(const t of this.#Ha(r,e,a))this.emit("event",{message:Ur.OutgoingMessage.createFromPromise(t.event,a),event:r}),this.#Ka(t,a,r)}await this.toggleModulesIfNeeded()}async unsubscribe(e,t,a){for(const t of e)(0,Fr.assertSupportedEvent)(t);this.#qa.unsubscribeAll(e,t,a),await this.toggleModulesIfNeeded()}async toggleModulesIfNeeded(){await Promise.all(this.#i.getAllContexts().map((async e=>await e.toggleModulesIfNeeded())))}#$a(e,t){if(!$r.has(t))return;const a=Kr.#Va(t,e.contextId);this.#Ua.has(a)||this.#Ua.set(a,new zr.Buffer($r.get(t))),this.#Ua.get(a).add(e),this.#Za.get(t).add(e.contextId)}#Ka(e,t,a){if(!$r.has(a))return;const r=Kr.#Va(a,e.contextId,t);this.#Fa.set(r,Math.max(this.#Fa.get(r)??0,e.id))}#Ha(e,t,a){const r=Kr.#Va(e,t),n=Kr.#Va(e,t,a),s=this.#Fa.get(n)??-1/0,o=this.#Ua.get(r)?.get().filter((e=>e.id>s))??[];return null===t&&Array.from(this.#Za.get(e).keys()).filter((e=>null!==e&&this.#i.hasContext(e))).map((t=>this.#Ha(e,t,a))).forEach((e=>o.push(...e))),o.sort(((e,t)=>e.id-t.id))}}br.EventManager=Kr,Object.defineProperty(n,"__esModule",{value:!0}),n.BidiServer=void 0;const Hr=s,Wr=l,Jr=h,Gr=f,Xr=yr,Yr=vr,Qr=br;class en extends Hr.EventEmitter{#Wa;#Ja;#Ga;#S;#i=new Xr.BrowsingContextStorage;#t;#Xa=e=>{this.#Ga.processCommand(e).catch((e=>{this.#t?.(Wr.LogType.debugError,e)}))};#Ya=async e=>{const t=e.message;null!==e.channel&&(t.channel=e.channel),await this.#Ja.sendMessage(t)};constructor(e,t,a,r,n,s,o,i){super(),this.#t=i,this.#Wa=new Jr.ProcessingQueue(this.#Ya,this.#t),this.#Ja=e,this.#Ja.setOnMessage(this.#Xa),this.#S=new Qr.EventManager(this.#i),this.#Ga=new Gr.CommandProcessor(t,a,this.#S,r,n,this.#i,new Yr.RealmStorage,s?.acceptInsecureCerts??!1,s?.sharedIdWithFrame??!1,o,this.#t),this.#S.on("event",(({message:e,event:t})=>{this.emitOutgoingMessage(e,t)})),this.#Ga.on("response",(({message:e,event:t})=>{this.emitOutgoingMessage(e,t)}))}static async createAndStart(e,t,a,r,n,s,o){const[{browserContextIds:i},{targetInfos:c}]=await Promise.all([a.sendCommand("Target.getBrowserContexts"),a.sendCommand("Target.getTargets")]);let d="default";for(const e of c)if(e.browserContextId&&!i.includes(e.browserContextId)){d=e.browserContextId;break}const u=new en(e,t,a,r,d,n,s,o);return await a.sendCommand("Target.setDiscoverTargets",{discover:!0}),await a.sendCommand("Target.setAutoAttach",{autoAttach:!0,waitForDebuggerOnStart:!0,flatten:!0}),await u.#Qa(),u}emitOutgoingMessage(e,t){this.#Wa.add(e,t)}close(){this.#Ja.close()}async#Qa(){await Promise.all(this.#i.getTopLevelContexts().map((e=>e.lifecycleLoaded())))}}n.BidiServer=en,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.OutgoingMessage=e.EventEmitter=e.BidiServer=void 0;var t=n;Object.defineProperty(e,"BidiServer",{enumerable:!0,get:function(){return t.BidiServer}});var a=s;Object.defineProperty(e,"EventEmitter",{enumerable:!0,get:function(){return a.EventEmitter}});var r=Ya;Object.defineProperty(e,"OutgoingMessage",{enumerable:!0,get:function(){return r.OutgoingMessage}})}(r);var tn={},an={};Object.defineProperty(an,"__esModule",{value:!0}),an.MapperCdpClient=an.CloseError=void 0;const rn=s;class nn extends Error{}an.CloseError=nn;class sn extends rn.EventEmitter{#d;#er;constructor(e,t){super(),this.#d=e,this.#er=t}get sessionId(){return this.#er}sendCommand(e,...t){return this.#d.sendCommand(e,t[0],this.#er)}isCloseError(e){return e instanceof nn}}an.MapperCdpClient=sn,Object.defineProperty(tn,"__esModule",{value:!0}),tn.MapperCdpConnection=void 0;const on=l,cn=an;class dn{static LOGGER_PREFIX_RECV=`${on.LogType.cdp}:RECV \u25c2`;static LOGGER_PREFIX_SEND=`${on.LogType.cdp}:SEND \u25b8`;#tr;#Ja;#ar=new Map;#rr=new Map;#t;#nr=0;constructor(e,t){this.#Ja=e,this.#t=t,this.#Ja.setOnMessage(this.#sr),this.#tr=this.#or(void 0)}close(){this.#Ja.close();for(const[,{reject:e,error:t}]of this.#rr)e(t);this.#rr.clear(),this.#ar.clear()}async createBrowserSession(){const{sessionId:e}=await this.#tr.sendCommand("Target.attachToBrowserTarget");return this.#or(e)}getCdpClient(e){const t=this.#ar.get(e);if(!t)throw new Error(`Unknown CDP session ID: ${e}`);return t}sendCommand(e,t,a){return new Promise(((r,n)=>{const s=this.#nr++;this.#rr.set(s,{resolve:r,reject:n,error:new cn.CloseError(`${e} ${JSON.stringify(t)} ${a??""} call rejected because the connection has been closed.`)});const o={id:s,method:e,params:t};a&&(o.sessionId=a),this.#Ja.sendMessage(JSON.stringify(o))?.catch((e=>{this.#t?.(on.LogType.debugError,e),this.#Ja.close()})),this.#t?.(dn.LOGGER_PREFIX_SEND,o)}))}#sr=e=>{const t=JSON.parse(e);if(this.#t?.(dn.LOGGER_PREFIX_RECV,t),"Target.attachedToTarget"===t.method){const{sessionId:e}=t.params;this.#or(e)}if(void 0!==t.id){const e=this.#rr.get(t.id);this.#rr.delete(t.id),e&&(t.result?e.resolve(t.result):t.error&&e.reject(t.error))}else if(t.method){const e=this.#ar.get(t.sessionId??void 0);if(e?.emit(t.method,t.params||{}),"Target.detachedFromTarget"===t.method){const{sessionId:e}=t.params,a=this.#ar.get(e);a&&(this.#ar.delete(e),a.removeAllListeners())}}};#or(e){const t=new cn.MapperCdpClient(this,e);return this.#ar.set(e,t),t}}tn.MapperCdpConnection=dn;var un={},ln={},hn={},pn={},mn={},fn={},gn={};!function(e){var t;Object.defineProperty(e,"__esModule",{value:!0}),e.getParsedType=e.ZodParsedType=e.objectUtil=e.util=void 0,function(e){e.assertEqual=e=>e,e.assertIs=function(e){},e.assertNever=function(e){throw new Error},e.arrayToEnum=e=>{const t={};for(const a of e)t[a]=a;return t},e.getValidEnumValues=t=>{const a=e.objectKeys(t).filter((e=>"number"!=typeof t[t[e]])),r={};for(const e of a)r[e]=t[e];return e.objectValues(r)},e.objectValues=t=>e.objectKeys(t).map((function(e){return t[e]})),e.objectKeys="function"==typeof Object.keys?e=>Object.keys(e):e=>{const t=[];for(const a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.push(a);return t},e.find=(e,t)=>{for(const a of e)if(t(a))return a},e.isInteger="function"==typeof Number.isInteger?e=>Number.isInteger(e):e=>"number"==typeof e&&isFinite(e)&&Math.floor(e)===e,e.joinValues=function(e,t=" | "){return e.map((e=>"string"==typeof e?`'${e}'`:e)).join(t)},e.jsonStringifyReplacer=(e,t)=>"bigint"==typeof t?t.toString():t}(t=e.util||(e.util={})),(e.objectUtil||(e.objectUtil={})).mergeShapes=(e,t)=>({...e,...t}),e.ZodParsedType=t.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]);e.getParsedType=t=>{switch(typeof t){case"undefined":return e.ZodParsedType.undefined;case"string":return e.ZodParsedType.string;case"number":return isNaN(t)?e.ZodParsedType.nan:e.ZodParsedType.number;case"boolean":return e.ZodParsedType.boolean;case"function":return e.ZodParsedType.function;case"bigint":return e.ZodParsedType.bigint;case"symbol":return e.ZodParsedType.symbol;case"object":return Array.isArray(t)?e.ZodParsedType.array:null===t?e.ZodParsedType.null:t.then&&"function"==typeof t.then&&t.catch&&"function"==typeof t.catch?e.ZodParsedType.promise:"undefined"!=typeof Map&&t instanceof Map?e.ZodParsedType.map:"undefined"!=typeof Set&&t instanceof Set?e.ZodParsedType.set:"undefined"!=typeof Date&&t instanceof Date?e.ZodParsedType.date:e.ZodParsedType.object;default:return e.ZodParsedType.unknown}}}(gn);var yn={};Object.defineProperty(yn,"__esModule",{value:!0}),yn.ZodError=yn.quotelessJson=yn.ZodIssueCode=void 0;const Sn=gn;yn.ZodIssueCode=Sn.util.arrayToEnum(["invalid_type","invalid_literal","custom","invalid_union","invalid_union_discriminator","invalid_enum_value","unrecognized_keys","invalid_arguments","invalid_return_type","invalid_date","invalid_string","too_small","too_big","invalid_intersection_types","not_multiple_of","not_finite"]);yn.quotelessJson=e=>JSON.stringify(e,null,2).replace(/"([^"]+)":/g,"$1:");class vn extends Error{constructor(e){super(),this.issues=[],this.addIssue=e=>{this.issues=[...this.issues,e]},this.addIssues=(e=[])=>{this.issues=[...this.issues,...e]};const t=new.target.prototype;Object.setPrototypeOf?Object.setPrototypeOf(this,t):this.__proto__=t,this.name="ZodError",this.issues=e}get errors(){return this.issues}format(e){const t=e||function(e){return e.message},a={_errors:[]},r=e=>{for(const n of e.issues)if("invalid_union"===n.code)n.unionErrors.map(r);else if("invalid_return_type"===n.code)r(n.returnTypeError);else if("invalid_arguments"===n.code)r(n.argumentsError);else if(0===n.path.length)a._errors.push(t(n));else{let e=a,r=0;for(;re.message)){const t={},a=[];for(const r of this.issues)r.path.length>0?(t[r.path[0]]=t[r.path[0]]||[],t[r.path[0]].push(e(r))):a.push(e(r));return{formErrors:a,fieldErrors:t}}get formErrors(){return this.flatten()}}yn.ZodError=vn,vn.create=e=>new vn(e),Object.defineProperty(fn,"__esModule",{value:!0});const wn=gn,Cn=yn;fn.default=(e,t)=>{let a;switch(e.code){case Cn.ZodIssueCode.invalid_type:a=e.received===wn.ZodParsedType.undefined?"Required":`Expected ${e.expected}, received ${e.received}`;break;case Cn.ZodIssueCode.invalid_literal:a=`Invalid literal value, expected ${JSON.stringify(e.expected,wn.util.jsonStringifyReplacer)}`;break;case Cn.ZodIssueCode.unrecognized_keys:a=`Unrecognized key(s) in object: ${wn.util.joinValues(e.keys,", ")}`;break;case Cn.ZodIssueCode.invalid_union:a="Invalid input";break;case Cn.ZodIssueCode.invalid_union_discriminator:a=`Invalid discriminator value. Expected ${wn.util.joinValues(e.options)}`;break;case Cn.ZodIssueCode.invalid_enum_value:a=`Invalid enum value. Expected ${wn.util.joinValues(e.options)}, received '${e.received}'`;break;case Cn.ZodIssueCode.invalid_arguments:a="Invalid function arguments";break;case Cn.ZodIssueCode.invalid_return_type:a="Invalid function return type";break;case Cn.ZodIssueCode.invalid_date:a="Invalid date";break;case Cn.ZodIssueCode.invalid_string:"object"==typeof e.validation?"includes"in e.validation?(a=`Invalid input: must include "${e.validation.includes}"`,"number"==typeof e.validation.position&&(a=`${a} at one or more positions greater than or equal to ${e.validation.position}`)):"startsWith"in e.validation?a=`Invalid input: must start with "${e.validation.startsWith}"`:"endsWith"in e.validation?a=`Invalid input: must end with "${e.validation.endsWith}"`:wn.util.assertNever(e.validation):a="regex"!==e.validation?`Invalid ${e.validation}`:"Invalid";break;case Cn.ZodIssueCode.too_small:a="array"===e.type?`Array must contain ${e.exact?"exactly":e.inclusive?"at least":"more than"} ${e.minimum} element(s)`:"string"===e.type?`String must contain ${e.exact?"exactly":e.inclusive?"at least":"over"} ${e.minimum} character(s)`:"number"===e.type?`Number must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${e.minimum}`:"date"===e.type?`Date must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${new Date(Number(e.minimum))}`:"Invalid input";break;case Cn.ZodIssueCode.too_big:a="array"===e.type?`Array must contain ${e.exact?"exactly":e.inclusive?"at most":"less than"} ${e.maximum} element(s)`:"string"===e.type?`String must contain ${e.exact?"exactly":e.inclusive?"at most":"under"} ${e.maximum} character(s)`:"number"===e.type?`Number must be ${e.exact?"exactly":e.inclusive?"less than or equal to":"less than"} ${e.maximum}`:"bigint"===e.type?`BigInt must be ${e.exact?"exactly":e.inclusive?"less than or equal to":"less than"} ${e.maximum}`:"date"===e.type?`Date must be ${e.exact?"exactly":e.inclusive?"smaller than or equal to":"smaller than"} ${new Date(Number(e.maximum))}`:"Invalid input";break;case Cn.ZodIssueCode.custom:a="Invalid input";break;case Cn.ZodIssueCode.invalid_intersection_types:a="Intersection results could not be merged";break;case Cn.ZodIssueCode.not_multiple_of:a=`Number must be a multiple of ${e.multipleOf}`;break;case Cn.ZodIssueCode.not_finite:a="Number must be finite";break;default:a=t.defaultError,wn.util.assertNever(e)}return{message:a}};var bn=e&&e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(mn,"__esModule",{value:!0}),mn.getErrorMap=mn.setErrorMap=mn.defaultErrorMap=void 0;const xn=bn(fn);mn.defaultErrorMap=xn.default;let Pn=xn.default;mn.setErrorMap=function(e){Pn=e},mn.getErrorMap=function(){return Pn};var In={};!function(t){var a=e&&e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.isAsync=t.isValid=t.isDirty=t.isAborted=t.OK=t.DIRTY=t.INVALID=t.ParseStatus=t.addIssueToContext=t.EMPTY_PATH=t.makeIssue=void 0;const r=mn,n=a(fn);t.makeIssue=e=>{const{data:t,path:a,errorMaps:r,issueData:n}=e,s=[...a,...n.path||[]],o={...n,path:s};let i="";const c=r.filter((e=>!!e)).slice().reverse();for(const e of c)i=e(o,{data:t,defaultError:i}).message;return{...n,path:s,message:n.message||i}},t.EMPTY_PATH=[],t.addIssueToContext=function(e,a){const s=(0,t.makeIssue)({issueData:a,data:e.data,path:e.path,errorMaps:[e.common.contextualErrorMap,e.schemaErrorMap,(0,r.getErrorMap)(),n.default].filter((e=>!!e))});e.common.issues.push(s)};class s{constructor(){this.value="valid"}dirty(){"valid"===this.value&&(this.value="dirty")}abort(){"aborted"!==this.value&&(this.value="aborted")}static mergeArray(e,a){const r=[];for(const n of a){if("aborted"===n.status)return t.INVALID;"dirty"===n.status&&e.dirty(),r.push(n.value)}return{status:e.value,value:r}}static async mergeObjectAsync(e,t){const a=[];for(const e of t)a.push({key:await e.key,value:await e.value});return s.mergeObjectSync(e,a)}static mergeObjectSync(e,a){const r={};for(const n of a){const{key:a,value:s}=n;if("aborted"===a.status)return t.INVALID;if("aborted"===s.status)return t.INVALID;"dirty"===a.status&&e.dirty(),"dirty"===s.status&&e.dirty(),"__proto__"===a.value||void 0===s.value&&!n.alwaysSet||(r[a.value]=s.value)}return{status:e.value,value:r}}}t.ParseStatus=s,t.INVALID=Object.freeze({status:"aborted"});t.DIRTY=e=>({status:"dirty",value:e});t.OK=e=>({status:"valid",value:e});t.isAborted=e=>"aborted"===e.status;t.isDirty=e=>"dirty"===e.status;t.isValid=e=>"valid"===e.status;t.isAsync=e=>"undefined"!=typeof Promise&&e instanceof Promise}(In);var kn={};Object.defineProperty(kn,"__esModule",{value:!0});var Rn,En={},_n={};Rn=_n,Object.defineProperty(Rn,"__esModule",{value:!0}),Rn.errorUtil=void 0,function(e){e.errToObj=e=>"string"==typeof e?{message:e}:e||{},e.toString=e=>"string"==typeof e?e:null==e?void 0:e.message}(Rn.errorUtil||(Rn.errorUtil={})),function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.date=e.boolean=e.bigint=e.array=e.any=e.coerce=e.ZodFirstPartyTypeKind=e.late=e.ZodSchema=e.Schema=e.custom=e.ZodReadonly=e.ZodPipeline=e.ZodBranded=e.BRAND=e.ZodNaN=e.ZodCatch=e.ZodDefault=e.ZodNullable=e.ZodOptional=e.ZodTransformer=e.ZodEffects=e.ZodPromise=e.ZodNativeEnum=e.ZodEnum=e.ZodLiteral=e.ZodLazy=e.ZodFunction=e.ZodSet=e.ZodMap=e.ZodRecord=e.ZodTuple=e.ZodIntersection=e.ZodDiscriminatedUnion=e.ZodUnion=e.ZodObject=e.ZodArray=e.ZodVoid=e.ZodNever=e.ZodUnknown=e.ZodAny=e.ZodNull=e.ZodUndefined=e.ZodSymbol=e.ZodDate=e.ZodBoolean=e.ZodBigInt=e.ZodNumber=e.ZodString=e.ZodType=void 0,e.NEVER=e.void=e.unknown=e.union=e.undefined=e.tuple=e.transformer=e.symbol=e.string=e.strictObject=e.set=e.record=e.promise=e.preprocess=e.pipeline=e.ostring=e.optional=e.onumber=e.oboolean=e.object=e.number=e.nullable=e.null=e.never=e.nativeEnum=e.nan=e.map=e.literal=e.lazy=e.intersection=e.instanceof=e.function=e.enum=e.effect=e.discriminatedUnion=void 0;const t=mn,a=_n,r=In,n=gn,s=yn;class o{constructor(e,t,a,r){this._cachedPath=[],this.parent=e,this.data=t,this._path=a,this._key=r}get path(){return this._cachedPath.length||(this._key instanceof Array?this._cachedPath.push(...this._path,...this._key):this._cachedPath.push(...this._path,this._key)),this._cachedPath}}const i=(e,t)=>{if((0,r.isValid)(t))return{success:!0,data:t.value};if(!e.common.issues.length)throw new Error("Validation failed but no issues detected.");return{success:!1,get error(){if(this._error)return this._error;const t=new s.ZodError(e.common.issues);return this._error=t,this._error}}};function c(e){if(!e)return{};const{errorMap:t,invalid_type_error:a,required_error:r,description:n}=e;if(t&&(a||r))throw new Error('Can\'t use "invalid_type_error" or "required_error" in conjunction with custom error map.');if(t)return{errorMap:t,description:n};return{errorMap:(e,t)=>"invalid_type"!==e.code?{message:t.defaultError}:void 0===t.data?{message:null!=r?r:t.defaultError}:{message:null!=a?a:t.defaultError},description:n}}class d{constructor(e){this.spa=this.safeParseAsync,this._def=e,this.parse=this.parse.bind(this),this.safeParse=this.safeParse.bind(this),this.parseAsync=this.parseAsync.bind(this),this.safeParseAsync=this.safeParseAsync.bind(this),this.spa=this.spa.bind(this),this.refine=this.refine.bind(this),this.refinement=this.refinement.bind(this),this.superRefine=this.superRefine.bind(this),this.optional=this.optional.bind(this),this.nullable=this.nullable.bind(this),this.nullish=this.nullish.bind(this),this.array=this.array.bind(this),this.promise=this.promise.bind(this),this.or=this.or.bind(this),this.and=this.and.bind(this),this.transform=this.transform.bind(this),this.brand=this.brand.bind(this),this.default=this.default.bind(this),this.catch=this.catch.bind(this),this.describe=this.describe.bind(this),this.pipe=this.pipe.bind(this),this.readonly=this.readonly.bind(this),this.isNullable=this.isNullable.bind(this),this.isOptional=this.isOptional.bind(this)}get description(){return this._def.description}_getType(e){return(0,n.getParsedType)(e.data)}_getOrReturnCtx(e,t){return t||{common:e.parent.common,data:e.data,parsedType:(0,n.getParsedType)(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}_processInputParams(e){return{status:new r.ParseStatus,ctx:{common:e.parent.common,data:e.data,parsedType:(0,n.getParsedType)(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}}_parseSync(e){const t=this._parse(e);if((0,r.isAsync)(t))throw new Error("Synchronous parse encountered promise.");return t}_parseAsync(e){const t=this._parse(e);return Promise.resolve(t)}parse(e,t){const a=this.safeParse(e,t);if(a.success)return a.data;throw a.error}safeParse(e,t){var a;const r={common:{issues:[],async:null!==(a=null==t?void 0:t.async)&&void 0!==a&&a,contextualErrorMap:null==t?void 0:t.errorMap},path:(null==t?void 0:t.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:(0,n.getParsedType)(e)},s=this._parseSync({data:e,path:r.path,parent:r});return i(r,s)}async parseAsync(e,t){const a=await this.safeParseAsync(e,t);if(a.success)return a.data;throw a.error}async safeParseAsync(e,t){const a={common:{issues:[],contextualErrorMap:null==t?void 0:t.errorMap,async:!0},path:(null==t?void 0:t.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:(0,n.getParsedType)(e)},s=this._parse({data:e,path:a.path,parent:a}),o=await((0,r.isAsync)(s)?s:Promise.resolve(s));return i(a,o)}refine(e,t){const a=e=>"string"==typeof t||void 0===t?{message:t}:"function"==typeof t?t(e):t;return this._refinement(((t,r)=>{const n=e(t),o=()=>r.addIssue({code:s.ZodIssueCode.custom,...a(t)});return"undefined"!=typeof Promise&&n instanceof Promise?n.then((e=>!!e||(o(),!1))):!!n||(o(),!1)}))}refinement(e,t){return this._refinement(((a,r)=>!!e(a)||(r.addIssue("function"==typeof t?t(a,r):t),!1)))}_refinement(e){return new G({schema:this,typeName:se.ZodEffects,effect:{type:"refinement",refinement:e}})}superRefine(e){return this._refinement(e)}optional(){return X.create(this,this._def)}nullable(){return Y.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return N.create(this,this._def)}promise(){return J.create(this,this._def)}or(e){return M.create([this,e],this._def)}and(e){return D.create(this,e,this._def)}transform(e){return new G({...c(this._def),schema:this,typeName:se.ZodEffects,effect:{type:"transform",transform:e}})}default(e){const t="function"==typeof e?e:()=>e;return new Q({...c(this._def),innerType:this,defaultValue:t,typeName:se.ZodDefault})}brand(){return new ae({typeName:se.ZodBranded,type:this,...c(this._def)})}catch(e){const t="function"==typeof e?e:()=>e;return new ee({...c(this._def),innerType:this,catchValue:t,typeName:se.ZodCatch})}describe(e){return new(0,this.constructor)({...this._def,description:e})}pipe(e){return re.create(this,e)}readonly(){return ne.create(this)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}}e.ZodType=d,e.Schema=d,e.ZodSchema=d;const u=/^c[^\s-]{8,}$/i,l=/^[a-z][a-z0-9]*$/,h=/^[0-9A-HJKMNP-TV-Z]{26}$/,p=/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/i,m=/^(?!\.)(?!.*\.\.)([A-Z0-9_+-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i;let f;const g=/^(((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))\.){3}((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))$/,y=/^(([a-f0-9]{1,4}:){7}|::([a-f0-9]{1,4}:){0,6}|([a-f0-9]{1,4}:){1}:([a-f0-9]{1,4}:){0,5}|([a-f0-9]{1,4}:){2}:([a-f0-9]{1,4}:){0,4}|([a-f0-9]{1,4}:){3}:([a-f0-9]{1,4}:){0,3}|([a-f0-9]{1,4}:){4}:([a-f0-9]{1,4}:){0,2}|([a-f0-9]{1,4}:){5}:([a-f0-9]{1,4}:){0,1})([a-f0-9]{1,4}|(((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))\.){3}((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2})))$/;class S extends d{_parse(e){this._def.coerce&&(e.data=String(e.data));if(this._getType(e)!==n.ZodParsedType.string){const t=this._getOrReturnCtx(e);return(0,r.addIssueToContext)(t,{code:s.ZodIssueCode.invalid_type,expected:n.ZodParsedType.string,received:t.parsedType}),r.INVALID}const t=new r.ParseStatus;let a;for(const d of this._def.checks)if("min"===d.kind)e.data.lengthd.value&&(a=this._getOrReturnCtx(e,a),(0,r.addIssueToContext)(a,{code:s.ZodIssueCode.too_big,maximum:d.value,type:"string",inclusive:!0,exact:!1,message:d.message}),t.dirty());else if("length"===d.kind){const n=e.data.length>d.value,o=e.data.lengthe.test(t)),{validation:t,code:s.ZodIssueCode.invalid_string,...a.errorUtil.errToObj(r)})}_addCheck(e){return new S({...this._def,checks:[...this._def.checks,e]})}email(e){return this._addCheck({kind:"email",...a.errorUtil.errToObj(e)})}url(e){return this._addCheck({kind:"url",...a.errorUtil.errToObj(e)})}emoji(e){return this._addCheck({kind:"emoji",...a.errorUtil.errToObj(e)})}uuid(e){return this._addCheck({kind:"uuid",...a.errorUtil.errToObj(e)})}cuid(e){return this._addCheck({kind:"cuid",...a.errorUtil.errToObj(e)})}cuid2(e){return this._addCheck({kind:"cuid2",...a.errorUtil.errToObj(e)})}ulid(e){return this._addCheck({kind:"ulid",...a.errorUtil.errToObj(e)})}ip(e){return this._addCheck({kind:"ip",...a.errorUtil.errToObj(e)})}datetime(e){var t;return"string"==typeof e?this._addCheck({kind:"datetime",precision:null,offset:!1,message:e}):this._addCheck({kind:"datetime",precision:void 0===(null==e?void 0:e.precision)?null:null==e?void 0:e.precision,offset:null!==(t=null==e?void 0:e.offset)&&void 0!==t&&t,...a.errorUtil.errToObj(null==e?void 0:e.message)})}regex(e,t){return this._addCheck({kind:"regex",regex:e,...a.errorUtil.errToObj(t)})}includes(e,t){return this._addCheck({kind:"includes",value:e,position:null==t?void 0:t.position,...a.errorUtil.errToObj(null==t?void 0:t.message)})}startsWith(e,t){return this._addCheck({kind:"startsWith",value:e,...a.errorUtil.errToObj(t)})}endsWith(e,t){return this._addCheck({kind:"endsWith",value:e,...a.errorUtil.errToObj(t)})}min(e,t){return this._addCheck({kind:"min",value:e,...a.errorUtil.errToObj(t)})}max(e,t){return this._addCheck({kind:"max",value:e,...a.errorUtil.errToObj(t)})}length(e,t){return this._addCheck({kind:"length",value:e,...a.errorUtil.errToObj(t)})}nonempty(e){return this.min(1,a.errorUtil.errToObj(e))}trim(){return new S({...this._def,checks:[...this._def.checks,{kind:"trim"}]})}toLowerCase(){return new S({...this._def,checks:[...this._def.checks,{kind:"toLowerCase"}]})}toUpperCase(){return new S({...this._def,checks:[...this._def.checks,{kind:"toUpperCase"}]})}get isDatetime(){return!!this._def.checks.find((e=>"datetime"===e.kind))}get isEmail(){return!!this._def.checks.find((e=>"email"===e.kind))}get isURL(){return!!this._def.checks.find((e=>"url"===e.kind))}get isEmoji(){return!!this._def.checks.find((e=>"emoji"===e.kind))}get isUUID(){return!!this._def.checks.find((e=>"uuid"===e.kind))}get isCUID(){return!!this._def.checks.find((e=>"cuid"===e.kind))}get isCUID2(){return!!this._def.checks.find((e=>"cuid2"===e.kind))}get isULID(){return!!this._def.checks.find((e=>"ulid"===e.kind))}get isIP(){return!!this._def.checks.find((e=>"ip"===e.kind))}get minLength(){let e=null;for(const t of this._def.checks)"min"===t.kind&&(null===e||t.value>e)&&(e=t.value);return e}get maxLength(){let e=null;for(const t of this._def.checks)"max"===t.kind&&(null===e||t.valuer?a:r;return parseInt(e.toFixed(n).replace(".",""))%parseInt(t.toFixed(n).replace(".",""))/Math.pow(10,n)}e.ZodString=S,S.create=e=>{var t;return new S({checks:[],typeName:se.ZodString,coerce:null!==(t=null==e?void 0:e.coerce)&&void 0!==t&&t,...c(e)})};class w extends d{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte,this.step=this.multipleOf}_parse(e){this._def.coerce&&(e.data=Number(e.data));if(this._getType(e)!==n.ZodParsedType.number){const t=this._getOrReturnCtx(e);return(0,r.addIssueToContext)(t,{code:s.ZodIssueCode.invalid_type,expected:n.ZodParsedType.number,received:t.parsedType}),r.INVALID}let t;const a=new r.ParseStatus;for(const o of this._def.checks)if("int"===o.kind)n.util.isInteger(e.data)||(t=this._getOrReturnCtx(e,t),(0,r.addIssueToContext)(t,{code:s.ZodIssueCode.invalid_type,expected:"integer",received:"float",message:o.message}),a.dirty());else if("min"===o.kind){(o.inclusive?e.datao.value:e.data>=o.value)&&(t=this._getOrReturnCtx(e,t),(0,r.addIssueToContext)(t,{code:s.ZodIssueCode.too_big,maximum:o.value,type:"number",inclusive:o.inclusive,exact:!1,message:o.message}),a.dirty())}else"multipleOf"===o.kind?0!==v(e.data,o.value)&&(t=this._getOrReturnCtx(e,t),(0,r.addIssueToContext)(t,{code:s.ZodIssueCode.not_multiple_of,multipleOf:o.value,message:o.message}),a.dirty()):"finite"===o.kind?Number.isFinite(e.data)||(t=this._getOrReturnCtx(e,t),(0,r.addIssueToContext)(t,{code:s.ZodIssueCode.not_finite,message:o.message}),a.dirty()):n.util.assertNever(o);return{status:a.value,value:e.data}}gte(e,t){return this.setLimit("min",e,!0,a.errorUtil.toString(t))}gt(e,t){return this.setLimit("min",e,!1,a.errorUtil.toString(t))}lte(e,t){return this.setLimit("max",e,!0,a.errorUtil.toString(t))}lt(e,t){return this.setLimit("max",e,!1,a.errorUtil.toString(t))}setLimit(e,t,r,n){return new w({...this._def,checks:[...this._def.checks,{kind:e,value:t,inclusive:r,message:a.errorUtil.toString(n)}]})}_addCheck(e){return new w({...this._def,checks:[...this._def.checks,e]})}int(e){return this._addCheck({kind:"int",message:a.errorUtil.toString(e)})}positive(e){return this._addCheck({kind:"min",value:0,inclusive:!1,message:a.errorUtil.toString(e)})}negative(e){return this._addCheck({kind:"max",value:0,inclusive:!1,message:a.errorUtil.toString(e)})}nonpositive(e){return this._addCheck({kind:"max",value:0,inclusive:!0,message:a.errorUtil.toString(e)})}nonnegative(e){return this._addCheck({kind:"min",value:0,inclusive:!0,message:a.errorUtil.toString(e)})}multipleOf(e,t){return this._addCheck({kind:"multipleOf",value:e,message:a.errorUtil.toString(t)})}finite(e){return this._addCheck({kind:"finite",message:a.errorUtil.toString(e)})}safe(e){return this._addCheck({kind:"min",inclusive:!0,value:Number.MIN_SAFE_INTEGER,message:a.errorUtil.toString(e)})._addCheck({kind:"max",inclusive:!0,value:Number.MAX_SAFE_INTEGER,message:a.errorUtil.toString(e)})}get minValue(){let e=null;for(const t of this._def.checks)"min"===t.kind&&(null===e||t.value>e)&&(e=t.value);return e}get maxValue(){let e=null;for(const t of this._def.checks)"max"===t.kind&&(null===e||t.value"int"===e.kind||"multipleOf"===e.kind&&n.util.isInteger(e.value)))}get isFinite(){let e=null,t=null;for(const a of this._def.checks){if("finite"===a.kind||"int"===a.kind||"multipleOf"===a.kind)return!0;"min"===a.kind?(null===t||a.value>t)&&(t=a.value):"max"===a.kind&&(null===e||a.valuenew w({checks:[],typeName:se.ZodNumber,coerce:(null==e?void 0:e.coerce)||!1,...c(e)});class C extends d{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte}_parse(e){this._def.coerce&&(e.data=BigInt(e.data));if(this._getType(e)!==n.ZodParsedType.bigint){const t=this._getOrReturnCtx(e);return(0,r.addIssueToContext)(t,{code:s.ZodIssueCode.invalid_type,expected:n.ZodParsedType.bigint,received:t.parsedType}),r.INVALID}let t;const a=new r.ParseStatus;for(const o of this._def.checks)if("min"===o.kind){(o.inclusive?e.datao.value:e.data>=o.value)&&(t=this._getOrReturnCtx(e,t),(0,r.addIssueToContext)(t,{code:s.ZodIssueCode.too_big,type:"bigint",maximum:o.value,inclusive:o.inclusive,message:o.message}),a.dirty())}else"multipleOf"===o.kind?e.data%o.value!==BigInt(0)&&(t=this._getOrReturnCtx(e,t),(0,r.addIssueToContext)(t,{code:s.ZodIssueCode.not_multiple_of,multipleOf:o.value,message:o.message}),a.dirty()):n.util.assertNever(o);return{status:a.value,value:e.data}}gte(e,t){return this.setLimit("min",e,!0,a.errorUtil.toString(t))}gt(e,t){return this.setLimit("min",e,!1,a.errorUtil.toString(t))}lte(e,t){return this.setLimit("max",e,!0,a.errorUtil.toString(t))}lt(e,t){return this.setLimit("max",e,!1,a.errorUtil.toString(t))}setLimit(e,t,r,n){return new C({...this._def,checks:[...this._def.checks,{kind:e,value:t,inclusive:r,message:a.errorUtil.toString(n)}]})}_addCheck(e){return new C({...this._def,checks:[...this._def.checks,e]})}positive(e){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!1,message:a.errorUtil.toString(e)})}negative(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!1,message:a.errorUtil.toString(e)})}nonpositive(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!0,message:a.errorUtil.toString(e)})}nonnegative(e){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!0,message:a.errorUtil.toString(e)})}multipleOf(e,t){return this._addCheck({kind:"multipleOf",value:e,message:a.errorUtil.toString(t)})}get minValue(){let e=null;for(const t of this._def.checks)"min"===t.kind&&(null===e||t.value>e)&&(e=t.value);return e}get maxValue(){let e=null;for(const t of this._def.checks)"max"===t.kind&&(null===e||t.value{var t;return new C({checks:[],typeName:se.ZodBigInt,coerce:null!==(t=null==e?void 0:e.coerce)&&void 0!==t&&t,...c(e)})};class b extends d{_parse(e){this._def.coerce&&(e.data=Boolean(e.data));if(this._getType(e)!==n.ZodParsedType.boolean){const t=this._getOrReturnCtx(e);return(0,r.addIssueToContext)(t,{code:s.ZodIssueCode.invalid_type,expected:n.ZodParsedType.boolean,received:t.parsedType}),r.INVALID}return(0,r.OK)(e.data)}}e.ZodBoolean=b,b.create=e=>new b({typeName:se.ZodBoolean,coerce:(null==e?void 0:e.coerce)||!1,...c(e)});class x extends d{_parse(e){this._def.coerce&&(e.data=new Date(e.data));if(this._getType(e)!==n.ZodParsedType.date){const t=this._getOrReturnCtx(e);return(0,r.addIssueToContext)(t,{code:s.ZodIssueCode.invalid_type,expected:n.ZodParsedType.date,received:t.parsedType}),r.INVALID}if(isNaN(e.data.getTime())){const t=this._getOrReturnCtx(e);return(0,r.addIssueToContext)(t,{code:s.ZodIssueCode.invalid_date}),r.INVALID}const t=new r.ParseStatus;let a;for(const o of this._def.checks)"min"===o.kind?e.data.getTime()o.value&&(a=this._getOrReturnCtx(e,a),(0,r.addIssueToContext)(a,{code:s.ZodIssueCode.too_big,message:o.message,inclusive:!0,exact:!1,maximum:o.value,type:"date"}),t.dirty()):n.util.assertNever(o);return{status:t.value,value:new Date(e.data.getTime())}}_addCheck(e){return new x({...this._def,checks:[...this._def.checks,e]})}min(e,t){return this._addCheck({kind:"min",value:e.getTime(),message:a.errorUtil.toString(t)})}max(e,t){return this._addCheck({kind:"max",value:e.getTime(),message:a.errorUtil.toString(t)})}get minDate(){let e=null;for(const t of this._def.checks)"min"===t.kind&&(null===e||t.value>e)&&(e=t.value);return null!=e?new Date(e):null}get maxDate(){let e=null;for(const t of this._def.checks)"max"===t.kind&&(null===e||t.valuenew x({checks:[],coerce:(null==e?void 0:e.coerce)||!1,typeName:se.ZodDate,...c(e)});class P extends d{_parse(e){if(this._getType(e)!==n.ZodParsedType.symbol){const t=this._getOrReturnCtx(e);return(0,r.addIssueToContext)(t,{code:s.ZodIssueCode.invalid_type,expected:n.ZodParsedType.symbol,received:t.parsedType}),r.INVALID}return(0,r.OK)(e.data)}}e.ZodSymbol=P,P.create=e=>new P({typeName:se.ZodSymbol,...c(e)});class I extends d{_parse(e){if(this._getType(e)!==n.ZodParsedType.undefined){const t=this._getOrReturnCtx(e);return(0,r.addIssueToContext)(t,{code:s.ZodIssueCode.invalid_type,expected:n.ZodParsedType.undefined,received:t.parsedType}),r.INVALID}return(0,r.OK)(e.data)}}e.ZodUndefined=I,I.create=e=>new I({typeName:se.ZodUndefined,...c(e)});class k extends d{_parse(e){if(this._getType(e)!==n.ZodParsedType.null){const t=this._getOrReturnCtx(e);return(0,r.addIssueToContext)(t,{code:s.ZodIssueCode.invalid_type,expected:n.ZodParsedType.null,received:t.parsedType}),r.INVALID}return(0,r.OK)(e.data)}}e.ZodNull=k,k.create=e=>new k({typeName:se.ZodNull,...c(e)});class R extends d{constructor(){super(...arguments),this._any=!0}_parse(e){return(0,r.OK)(e.data)}}e.ZodAny=R,R.create=e=>new R({typeName:se.ZodAny,...c(e)});class E extends d{constructor(){super(...arguments),this._unknown=!0}_parse(e){return(0,r.OK)(e.data)}}e.ZodUnknown=E,E.create=e=>new E({typeName:se.ZodUnknown,...c(e)});class _ extends d{_parse(e){const t=this._getOrReturnCtx(e);return(0,r.addIssueToContext)(t,{code:s.ZodIssueCode.invalid_type,expected:n.ZodParsedType.never,received:t.parsedType}),r.INVALID}}e.ZodNever=_,_.create=e=>new _({typeName:se.ZodNever,...c(e)});class T extends d{_parse(e){if(this._getType(e)!==n.ZodParsedType.undefined){const t=this._getOrReturnCtx(e);return(0,r.addIssueToContext)(t,{code:s.ZodIssueCode.invalid_type,expected:n.ZodParsedType.void,received:t.parsedType}),r.INVALID}return(0,r.OK)(e.data)}}e.ZodVoid=T,T.create=e=>new T({typeName:se.ZodVoid,...c(e)});class N extends d{_parse(e){const{ctx:t,status:a}=this._processInputParams(e),i=this._def;if(t.parsedType!==n.ZodParsedType.array)return(0,r.addIssueToContext)(t,{code:s.ZodIssueCode.invalid_type,expected:n.ZodParsedType.array,received:t.parsedType}),r.INVALID;if(null!==i.exactLength){const e=t.data.length>i.exactLength.value,n=t.data.lengthi.maxLength.value&&((0,r.addIssueToContext)(t,{code:s.ZodIssueCode.too_big,maximum:i.maxLength.value,type:"array",inclusive:!0,exact:!1,message:i.maxLength.message}),a.dirty()),t.common.async)return Promise.all([...t.data].map(((e,a)=>i.type._parseAsync(new o(t,e,t.path,a))))).then((e=>r.ParseStatus.mergeArray(a,e)));const c=[...t.data].map(((e,a)=>i.type._parseSync(new o(t,e,t.path,a))));return r.ParseStatus.mergeArray(a,c)}get element(){return this._def.type}min(e,t){return new N({...this._def,minLength:{value:e,message:a.errorUtil.toString(t)}})}max(e,t){return new N({...this._def,maxLength:{value:e,message:a.errorUtil.toString(t)}})}length(e,t){return new N({...this._def,exactLength:{value:e,message:a.errorUtil.toString(t)}})}nonempty(e){return this.min(1,e)}}function j(e){if(e instanceof O){const t={};for(const a in e.shape){const r=e.shape[a];t[a]=X.create(j(r))}return new O({...e._def,shape:()=>t})}return e instanceof N?new N({...e._def,type:j(e.element)}):e instanceof X?X.create(j(e.unwrap())):e instanceof Y?Y.create(j(e.unwrap())):e instanceof L?L.create(e.items.map((e=>j(e)))):e}e.ZodArray=N,N.create=(e,t)=>new N({type:e,minLength:null,maxLength:null,exactLength:null,typeName:se.ZodArray,...c(t)});class O extends d{constructor(){super(...arguments),this._cached=null,this.nonstrict=this.passthrough,this.augment=this.extend}_getCached(){if(null!==this._cached)return this._cached;const e=this._def.shape(),t=n.util.objectKeys(e);return this._cached={shape:e,keys:t}}_parse(e){if(this._getType(e)!==n.ZodParsedType.object){const t=this._getOrReturnCtx(e);return(0,r.addIssueToContext)(t,{code:s.ZodIssueCode.invalid_type,expected:n.ZodParsedType.object,received:t.parsedType}),r.INVALID}const{status:t,ctx:a}=this._processInputParams(e),{shape:i,keys:c}=this._getCached(),d=[];if(!(this._def.catchall instanceof _&&"strip"===this._def.unknownKeys))for(const e in a.data)c.includes(e)||d.push(e);const u=[];for(const e of c){const t=i[e],r=a.data[e];u.push({key:{status:"valid",value:e},value:t._parse(new o(a,r,a.path,e)),alwaysSet:e in a.data})}if(this._def.catchall instanceof _){const e=this._def.unknownKeys;if("passthrough"===e)for(const e of d)u.push({key:{status:"valid",value:e},value:{status:"valid",value:a.data[e]}});else if("strict"===e)d.length>0&&((0,r.addIssueToContext)(a,{code:s.ZodIssueCode.unrecognized_keys,keys:d}),t.dirty());else if("strip"!==e)throw new Error("Internal ZodObject error: invalid unknownKeys value.")}else{const e=this._def.catchall;for(const t of d){const r=a.data[t];u.push({key:{status:"valid",value:t},value:e._parse(new o(a,r,a.path,t)),alwaysSet:t in a.data})}}return a.common.async?Promise.resolve().then((async()=>{const e=[];for(const t of u){const a=await t.key;e.push({key:a,value:await t.value,alwaysSet:t.alwaysSet})}return e})).then((e=>r.ParseStatus.mergeObjectSync(t,e))):r.ParseStatus.mergeObjectSync(t,u)}get shape(){return this._def.shape()}strict(e){return a.errorUtil.errToObj,new O({...this._def,unknownKeys:"strict",...void 0!==e?{errorMap:(t,r)=>{var n,s,o,i;const c=null!==(o=null===(s=(n=this._def).errorMap)||void 0===s?void 0:s.call(n,t,r).message)&&void 0!==o?o:r.defaultError;return"unrecognized_keys"===t.code?{message:null!==(i=a.errorUtil.errToObj(e).message)&&void 0!==i?i:c}:{message:c}}}:{}})}strip(){return new O({...this._def,unknownKeys:"strip"})}passthrough(){return new O({...this._def,unknownKeys:"passthrough"})}extend(e){return new O({...this._def,shape:()=>({...this._def.shape(),...e})})}merge(e){return new O({unknownKeys:e._def.unknownKeys,catchall:e._def.catchall,shape:()=>({...this._def.shape(),...e._def.shape()}),typeName:se.ZodObject})}setKey(e,t){return this.augment({[e]:t})}catchall(e){return new O({...this._def,catchall:e})}pick(e){const t={};return n.util.objectKeys(e).forEach((a=>{e[a]&&this.shape[a]&&(t[a]=this.shape[a])})),new O({...this._def,shape:()=>t})}omit(e){const t={};return n.util.objectKeys(this.shape).forEach((a=>{e[a]||(t[a]=this.shape[a])})),new O({...this._def,shape:()=>t})}deepPartial(){return j(this)}partial(e){const t={};return n.util.objectKeys(this.shape).forEach((a=>{const r=this.shape[a];e&&!e[a]?t[a]=r:t[a]=r.optional()})),new O({...this._def,shape:()=>t})}required(e){const t={};return n.util.objectKeys(this.shape).forEach((a=>{if(e&&!e[a])t[a]=this.shape[a];else{let e=this.shape[a];for(;e instanceof X;)e=e._def.innerType;t[a]=e}})),new O({...this._def,shape:()=>t})}keyof(){return K(n.util.objectKeys(this.shape))}}e.ZodObject=O,O.create=(e,t)=>new O({shape:()=>e,unknownKeys:"strip",catchall:_.create(),typeName:se.ZodObject,...c(t)}),O.strictCreate=(e,t)=>new O({shape:()=>e,unknownKeys:"strict",catchall:_.create(),typeName:se.ZodObject,...c(t)}),O.lazycreate=(e,t)=>new O({shape:e,unknownKeys:"strip",catchall:_.create(),typeName:se.ZodObject,...c(t)});class M extends d{_parse(e){const{ctx:t}=this._processInputParams(e),a=this._def.options;if(t.common.async)return Promise.all(a.map((async e=>{const a={...t,common:{...t.common,issues:[]},parent:null};return{result:await e._parseAsync({data:t.data,path:t.path,parent:a}),ctx:a}}))).then((function(e){for(const t of e)if("valid"===t.result.status)return t.result;for(const a of e)if("dirty"===a.result.status)return t.common.issues.push(...a.ctx.common.issues),a.result;const a=e.map((e=>new s.ZodError(e.ctx.common.issues)));return(0,r.addIssueToContext)(t,{code:s.ZodIssueCode.invalid_union,unionErrors:a}),r.INVALID}));{let e;const n=[];for(const r of a){const a={...t,common:{...t.common,issues:[]},parent:null},s=r._parseSync({data:t.data,path:t.path,parent:a});if("valid"===s.status)return s;"dirty"!==s.status||e||(e={result:s,ctx:a}),a.common.issues.length&&n.push(a.common.issues)}if(e)return t.common.issues.push(...e.ctx.common.issues),e.result;const o=n.map((e=>new s.ZodError(e)));return(0,r.addIssueToContext)(t,{code:s.ZodIssueCode.invalid_union,unionErrors:o}),r.INVALID}}get options(){return this._def.options}}e.ZodUnion=M,M.create=(e,t)=>new M({options:e,typeName:se.ZodUnion,...c(t)});const B=e=>e instanceof V?B(e.schema):e instanceof G?B(e.innerType()):e instanceof $?[e.value]:e instanceof H?e.options:e instanceof W?Object.keys(e.enum):e instanceof Q?B(e._def.innerType):e instanceof I?[void 0]:e instanceof k?[null]:null;class A extends d{_parse(e){const{ctx:t}=this._processInputParams(e);if(t.parsedType!==n.ZodParsedType.object)return(0,r.addIssueToContext)(t,{code:s.ZodIssueCode.invalid_type,expected:n.ZodParsedType.object,received:t.parsedType}),r.INVALID;const a=this.discriminator,o=t.data[a],i=this.optionsMap.get(o);return i?t.common.async?i._parseAsync({data:t.data,path:t.path,parent:t}):i._parseSync({data:t.data,path:t.path,parent:t}):((0,r.addIssueToContext)(t,{code:s.ZodIssueCode.invalid_union_discriminator,options:Array.from(this.optionsMap.keys()),path:[a]}),r.INVALID)}get discriminator(){return this._def.discriminator}get options(){return this._def.options}get optionsMap(){return this._def.optionsMap}static create(e,t,a){const r=new Map;for(const a of t){const t=B(a.shape[e]);if(!t)throw new Error(`A discriminator value for key \`${e}\` could not be extracted from all schema options`);for(const n of t){if(r.has(n))throw new Error(`Discriminator property ${String(e)} has duplicate value ${String(n)}`);r.set(n,a)}}return new A({typeName:se.ZodDiscriminatedUnion,discriminator:e,options:t,optionsMap:r,...c(a)})}}function z(e,t){const a=(0,n.getParsedType)(e),r=(0,n.getParsedType)(t);if(e===t)return{valid:!0,data:e};if(a===n.ZodParsedType.object&&r===n.ZodParsedType.object){const a=n.util.objectKeys(t),r=n.util.objectKeys(e).filter((e=>-1!==a.indexOf(e))),s={...e,...t};for(const a of r){const r=z(e[a],t[a]);if(!r.valid)return{valid:!1};s[a]=r.data}return{valid:!0,data:s}}if(a===n.ZodParsedType.array&&r===n.ZodParsedType.array){if(e.length!==t.length)return{valid:!1};const a=[];for(let r=0;r{if((0,r.isAborted)(e)||(0,r.isAborted)(n))return r.INVALID;const o=z(e.value,n.value);return o.valid?(((0,r.isDirty)(e)||(0,r.isDirty)(n))&&t.dirty(),{status:t.value,value:o.data}):((0,r.addIssueToContext)(a,{code:s.ZodIssueCode.invalid_intersection_types}),r.INVALID)};return a.common.async?Promise.all([this._def.left._parseAsync({data:a.data,path:a.path,parent:a}),this._def.right._parseAsync({data:a.data,path:a.path,parent:a})]).then((([e,t])=>n(e,t))):n(this._def.left._parseSync({data:a.data,path:a.path,parent:a}),this._def.right._parseSync({data:a.data,path:a.path,parent:a}))}}e.ZodIntersection=D,D.create=(e,t,a)=>new D({left:e,right:t,typeName:se.ZodIntersection,...c(a)});class L extends d{_parse(e){const{status:t,ctx:a}=this._processInputParams(e);if(a.parsedType!==n.ZodParsedType.array)return(0,r.addIssueToContext)(a,{code:s.ZodIssueCode.invalid_type,expected:n.ZodParsedType.array,received:a.parsedType}),r.INVALID;if(a.data.lengththis._def.items.length&&((0,r.addIssueToContext)(a,{code:s.ZodIssueCode.too_big,maximum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),t.dirty());const i=[...a.data].map(((e,t)=>{const r=this._def.items[t]||this._def.rest;return r?r._parse(new o(a,e,a.path,t)):null})).filter((e=>!!e));return a.common.async?Promise.all(i).then((e=>r.ParseStatus.mergeArray(t,e))):r.ParseStatus.mergeArray(t,i)}get items(){return this._def.items}rest(e){return new L({...this._def,rest:e})}}e.ZodTuple=L,L.create=(e,t)=>{if(!Array.isArray(e))throw new Error("You must pass an array of schemas to z.tuple([ ... ])");return new L({items:e,typeName:se.ZodTuple,rest:null,...c(t)})};class Z extends d{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(e){const{status:t,ctx:a}=this._processInputParams(e);if(a.parsedType!==n.ZodParsedType.object)return(0,r.addIssueToContext)(a,{code:s.ZodIssueCode.invalid_type,expected:n.ZodParsedType.object,received:a.parsedType}),r.INVALID;const i=[],c=this._def.keyType,d=this._def.valueType;for(const e in a.data)i.push({key:c._parse(new o(a,e,a.path,e)),value:d._parse(new o(a,a.data[e],a.path,e))});return a.common.async?r.ParseStatus.mergeObjectAsync(t,i):r.ParseStatus.mergeObjectSync(t,i)}get element(){return this._def.valueType}static create(e,t,a){return new Z(t instanceof d?{keyType:e,valueType:t,typeName:se.ZodRecord,...c(a)}:{keyType:S.create(),valueType:e,typeName:se.ZodRecord,...c(t)})}}e.ZodRecord=Z;class U extends d{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(e){const{status:t,ctx:a}=this._processInputParams(e);if(a.parsedType!==n.ZodParsedType.map)return(0,r.addIssueToContext)(a,{code:s.ZodIssueCode.invalid_type,expected:n.ZodParsedType.map,received:a.parsedType}),r.INVALID;const i=this._def.keyType,c=this._def.valueType,d=[...a.data.entries()].map((([e,t],r)=>({key:i._parse(new o(a,e,a.path,[r,"key"])),value:c._parse(new o(a,t,a.path,[r,"value"]))})));if(a.common.async){const e=new Map;return Promise.resolve().then((async()=>{for(const a of d){const n=await a.key,s=await a.value;if("aborted"===n.status||"aborted"===s.status)return r.INVALID;"dirty"!==n.status&&"dirty"!==s.status||t.dirty(),e.set(n.value,s.value)}return{status:t.value,value:e}}))}{const e=new Map;for(const a of d){const n=a.key,s=a.value;if("aborted"===n.status||"aborted"===s.status)return r.INVALID;"dirty"!==n.status&&"dirty"!==s.status||t.dirty(),e.set(n.value,s.value)}return{status:t.value,value:e}}}}e.ZodMap=U,U.create=(e,t,a)=>new U({valueType:t,keyType:e,typeName:se.ZodMap,...c(a)});class F extends d{_parse(e){const{status:t,ctx:a}=this._processInputParams(e);if(a.parsedType!==n.ZodParsedType.set)return(0,r.addIssueToContext)(a,{code:s.ZodIssueCode.invalid_type,expected:n.ZodParsedType.set,received:a.parsedType}),r.INVALID;const i=this._def;null!==i.minSize&&a.data.sizei.maxSize.value&&((0,r.addIssueToContext)(a,{code:s.ZodIssueCode.too_big,maximum:i.maxSize.value,type:"set",inclusive:!0,exact:!1,message:i.maxSize.message}),t.dirty());const c=this._def.valueType;function d(e){const a=new Set;for(const n of e){if("aborted"===n.status)return r.INVALID;"dirty"===n.status&&t.dirty(),a.add(n.value)}return{status:t.value,value:a}}const u=[...a.data.values()].map(((e,t)=>c._parse(new o(a,e,a.path,t))));return a.common.async?Promise.all(u).then((e=>d(e))):d(u)}min(e,t){return new F({...this._def,minSize:{value:e,message:a.errorUtil.toString(t)}})}max(e,t){return new F({...this._def,maxSize:{value:e,message:a.errorUtil.toString(t)}})}size(e,t){return this.min(e,t).max(e,t)}nonempty(e){return this.min(1,e)}}e.ZodSet=F,F.create=(e,t)=>new F({valueType:e,minSize:null,maxSize:null,typeName:se.ZodSet,...c(t)});class q extends d{constructor(){super(...arguments),this.validate=this.implement}_parse(e){const{ctx:a}=this._processInputParams(e);if(a.parsedType!==n.ZodParsedType.function)return(0,r.addIssueToContext)(a,{code:s.ZodIssueCode.invalid_type,expected:n.ZodParsedType.function,received:a.parsedType}),r.INVALID;function o(e,n){return(0,r.makeIssue)({data:e,path:a.path,errorMaps:[a.common.contextualErrorMap,a.schemaErrorMap,(0,t.getErrorMap)(),t.defaultErrorMap].filter((e=>!!e)),issueData:{code:s.ZodIssueCode.invalid_arguments,argumentsError:n}})}function i(e,n){return(0,r.makeIssue)({data:e,path:a.path,errorMaps:[a.common.contextualErrorMap,a.schemaErrorMap,(0,t.getErrorMap)(),t.defaultErrorMap].filter((e=>!!e)),issueData:{code:s.ZodIssueCode.invalid_return_type,returnTypeError:n}})}const c={errorMap:a.common.contextualErrorMap},d=a.data;if(this._def.returns instanceof J){const e=this;return(0,r.OK)((async function(...t){const a=new s.ZodError([]),r=await e._def.args.parseAsync(t,c).catch((e=>{throw a.addIssue(o(t,e)),a})),n=await Reflect.apply(d,this,r),u=await e._def.returns._def.type.parseAsync(n,c).catch((e=>{throw a.addIssue(i(n,e)),a}));return u}))}{const e=this;return(0,r.OK)((function(...t){const a=e._def.args.safeParse(t,c);if(!a.success)throw new s.ZodError([o(t,a.error)]);const r=Reflect.apply(d,this,a.data),n=e._def.returns.safeParse(r,c);if(!n.success)throw new s.ZodError([i(r,n.error)]);return n.data}))}}parameters(){return this._def.args}returnType(){return this._def.returns}args(...e){return new q({...this._def,args:L.create(e).rest(E.create())})}returns(e){return new q({...this._def,returns:e})}implement(e){return this.parse(e)}strictImplement(e){return this.parse(e)}static create(e,t,a){return new q({args:e||L.create([]).rest(E.create()),returns:t||E.create(),typeName:se.ZodFunction,...c(a)})}}e.ZodFunction=q;class V extends d{get schema(){return this._def.getter()}_parse(e){const{ctx:t}=this._processInputParams(e);return this._def.getter()._parse({data:t.data,path:t.path,parent:t})}}e.ZodLazy=V,V.create=(e,t)=>new V({getter:e,typeName:se.ZodLazy,...c(t)});class $ extends d{_parse(e){if(e.data!==this._def.value){const t=this._getOrReturnCtx(e);return(0,r.addIssueToContext)(t,{received:t.data,code:s.ZodIssueCode.invalid_literal,expected:this._def.value}),r.INVALID}return{status:"valid",value:e.data}}get value(){return this._def.value}}function K(e,t){return new H({values:e,typeName:se.ZodEnum,...c(t)})}e.ZodLiteral=$,$.create=(e,t)=>new $({value:e,typeName:se.ZodLiteral,...c(t)});class H extends d{_parse(e){if("string"!=typeof e.data){const t=this._getOrReturnCtx(e),a=this._def.values;return(0,r.addIssueToContext)(t,{expected:n.util.joinValues(a),received:t.parsedType,code:s.ZodIssueCode.invalid_type}),r.INVALID}if(-1===this._def.values.indexOf(e.data)){const t=this._getOrReturnCtx(e),a=this._def.values;return(0,r.addIssueToContext)(t,{received:t.data,code:s.ZodIssueCode.invalid_enum_value,options:a}),r.INVALID}return(0,r.OK)(e.data)}get options(){return this._def.values}get enum(){const e={};for(const t of this._def.values)e[t]=t;return e}get Values(){const e={};for(const t of this._def.values)e[t]=t;return e}get Enum(){const e={};for(const t of this._def.values)e[t]=t;return e}extract(e){return H.create(e)}exclude(e){return H.create(this.options.filter((t=>!e.includes(t))))}}e.ZodEnum=H,H.create=K;class W extends d{_parse(e){const t=n.util.getValidEnumValues(this._def.values),a=this._getOrReturnCtx(e);if(a.parsedType!==n.ZodParsedType.string&&a.parsedType!==n.ZodParsedType.number){const e=n.util.objectValues(t);return(0,r.addIssueToContext)(a,{expected:n.util.joinValues(e),received:a.parsedType,code:s.ZodIssueCode.invalid_type}),r.INVALID}if(-1===t.indexOf(e.data)){const e=n.util.objectValues(t);return(0,r.addIssueToContext)(a,{received:a.data,code:s.ZodIssueCode.invalid_enum_value,options:e}),r.INVALID}return(0,r.OK)(e.data)}get enum(){return this._def.values}}e.ZodNativeEnum=W,W.create=(e,t)=>new W({values:e,typeName:se.ZodNativeEnum,...c(t)});class J extends d{unwrap(){return this._def.type}_parse(e){const{ctx:t}=this._processInputParams(e);if(t.parsedType!==n.ZodParsedType.promise&&!1===t.common.async)return(0,r.addIssueToContext)(t,{code:s.ZodIssueCode.invalid_type,expected:n.ZodParsedType.promise,received:t.parsedType}),r.INVALID;const a=t.parsedType===n.ZodParsedType.promise?t.data:Promise.resolve(t.data);return(0,r.OK)(a.then((e=>this._def.type.parseAsync(e,{path:t.path,errorMap:t.common.contextualErrorMap}))))}}e.ZodPromise=J,J.create=(e,t)=>new J({type:e,typeName:se.ZodPromise,...c(t)});class G extends d{innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===se.ZodEffects?this._def.schema.sourceType():this._def.schema}_parse(e){const{status:t,ctx:a}=this._processInputParams(e),s=this._def.effect||null,o={addIssue:e=>{(0,r.addIssueToContext)(a,e),e.fatal?t.abort():t.dirty()},get path(){return a.path}};if(o.addIssue=o.addIssue.bind(o),"preprocess"===s.type){const e=s.transform(a.data,o);return a.common.issues.length?{status:"dirty",value:a.data}:a.common.async?Promise.resolve(e).then((e=>this._def.schema._parseAsync({data:e,path:a.path,parent:a}))):this._def.schema._parseSync({data:e,path:a.path,parent:a})}if("refinement"===s.type){const e=e=>{const t=s.refinement(e,o);if(a.common.async)return Promise.resolve(t);if(t instanceof Promise)throw new Error("Async refinement encountered during synchronous parse operation. Use .parseAsync instead.");return e};if(!1===a.common.async){const n=this._def.schema._parseSync({data:a.data,path:a.path,parent:a});return"aborted"===n.status?r.INVALID:("dirty"===n.status&&t.dirty(),e(n.value),{status:t.value,value:n.value})}return this._def.schema._parseAsync({data:a.data,path:a.path,parent:a}).then((a=>"aborted"===a.status?r.INVALID:("dirty"===a.status&&t.dirty(),e(a.value).then((()=>({status:t.value,value:a.value}))))))}if("transform"===s.type){if(!1===a.common.async){const e=this._def.schema._parseSync({data:a.data,path:a.path,parent:a});if(!(0,r.isValid)(e))return e;const n=s.transform(e.value,o);if(n instanceof Promise)throw new Error("Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.");return{status:t.value,value:n}}return this._def.schema._parseAsync({data:a.data,path:a.path,parent:a}).then((e=>(0,r.isValid)(e)?Promise.resolve(s.transform(e.value,o)).then((e=>({status:t.value,value:e}))):e))}n.util.assertNever(s)}}e.ZodEffects=G,e.ZodTransformer=G,G.create=(e,t,a)=>new G({schema:e,typeName:se.ZodEffects,effect:t,...c(a)}),G.createWithPreprocess=(e,t,a)=>new G({schema:t,effect:{type:"preprocess",transform:e},typeName:se.ZodEffects,...c(a)});class X extends d{_parse(e){return this._getType(e)===n.ZodParsedType.undefined?(0,r.OK)(void 0):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}}e.ZodOptional=X,X.create=(e,t)=>new X({innerType:e,typeName:se.ZodOptional,...c(t)});class Y extends d{_parse(e){return this._getType(e)===n.ZodParsedType.null?(0,r.OK)(null):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}}e.ZodNullable=Y,Y.create=(e,t)=>new Y({innerType:e,typeName:se.ZodNullable,...c(t)});class Q extends d{_parse(e){const{ctx:t}=this._processInputParams(e);let a=t.data;return t.parsedType===n.ZodParsedType.undefined&&(a=this._def.defaultValue()),this._def.innerType._parse({data:a,path:t.path,parent:t})}removeDefault(){return this._def.innerType}}e.ZodDefault=Q,Q.create=(e,t)=>new Q({innerType:e,typeName:se.ZodDefault,defaultValue:"function"==typeof t.default?t.default:()=>t.default,...c(t)});class ee extends d{_parse(e){const{ctx:t}=this._processInputParams(e),a={...t,common:{...t.common,issues:[]}},n=this._def.innerType._parse({data:a.data,path:a.path,parent:{...a}});return(0,r.isAsync)(n)?n.then((e=>({status:"valid",value:"valid"===e.status?e.value:this._def.catchValue({get error(){return new s.ZodError(a.common.issues)},input:a.data})}))):{status:"valid",value:"valid"===n.status?n.value:this._def.catchValue({get error(){return new s.ZodError(a.common.issues)},input:a.data})}}removeCatch(){return this._def.innerType}}e.ZodCatch=ee,ee.create=(e,t)=>new ee({innerType:e,typeName:se.ZodCatch,catchValue:"function"==typeof t.catch?t.catch:()=>t.catch,...c(t)});class te extends d{_parse(e){if(this._getType(e)!==n.ZodParsedType.nan){const t=this._getOrReturnCtx(e);return(0,r.addIssueToContext)(t,{code:s.ZodIssueCode.invalid_type,expected:n.ZodParsedType.nan,received:t.parsedType}),r.INVALID}return{status:"valid",value:e.data}}}e.ZodNaN=te,te.create=e=>new te({typeName:se.ZodNaN,...c(e)}),e.BRAND=Symbol("zod_brand");class ae extends d{_parse(e){const{ctx:t}=this._processInputParams(e),a=t.data;return this._def.type._parse({data:a,path:t.path,parent:t})}unwrap(){return this._def.type}}e.ZodBranded=ae;class re extends d{_parse(e){const{status:t,ctx:a}=this._processInputParams(e);if(a.common.async){return(async()=>{const e=await this._def.in._parseAsync({data:a.data,path:a.path,parent:a});return"aborted"===e.status?r.INVALID:"dirty"===e.status?(t.dirty(),(0,r.DIRTY)(e.value)):this._def.out._parseAsync({data:e.value,path:a.path,parent:a})})()}{const e=this._def.in._parseSync({data:a.data,path:a.path,parent:a});return"aborted"===e.status?r.INVALID:"dirty"===e.status?(t.dirty(),{status:"dirty",value:e.value}):this._def.out._parseSync({data:e.value,path:a.path,parent:a})}}static create(e,t){return new re({in:e,out:t,typeName:se.ZodPipeline})}}e.ZodPipeline=re;class ne extends d{_parse(e){const t=this._def.innerType._parse(e);return(0,r.isValid)(t)&&(t.value=Object.freeze(t.value)),t}}e.ZodReadonly=ne,ne.create=(e,t)=>new ne({innerType:e,typeName:se.ZodReadonly,...c(t)});var se;e.custom=(e,t={},a)=>e?R.create().superRefine(((r,n)=>{var s,o;if(!e(r)){const e="function"==typeof t?t(r):"string"==typeof t?{message:t}:t,i=null===(o=null!==(s=e.fatal)&&void 0!==s?s:a)||void 0===o||o,c="string"==typeof e?{message:e}:e;n.addIssue({code:"custom",...c,fatal:i})}})):R.create(),e.late={object:O.lazycreate},function(e){e.ZodString="ZodString",e.ZodNumber="ZodNumber",e.ZodNaN="ZodNaN",e.ZodBigInt="ZodBigInt",e.ZodBoolean="ZodBoolean",e.ZodDate="ZodDate",e.ZodSymbol="ZodSymbol",e.ZodUndefined="ZodUndefined",e.ZodNull="ZodNull",e.ZodAny="ZodAny",e.ZodUnknown="ZodUnknown",e.ZodNever="ZodNever",e.ZodVoid="ZodVoid",e.ZodArray="ZodArray",e.ZodObject="ZodObject",e.ZodUnion="ZodUnion",e.ZodDiscriminatedUnion="ZodDiscriminatedUnion",e.ZodIntersection="ZodIntersection",e.ZodTuple="ZodTuple",e.ZodRecord="ZodRecord",e.ZodMap="ZodMap",e.ZodSet="ZodSet",e.ZodFunction="ZodFunction",e.ZodLazy="ZodLazy",e.ZodLiteral="ZodLiteral",e.ZodEnum="ZodEnum",e.ZodEffects="ZodEffects",e.ZodNativeEnum="ZodNativeEnum",e.ZodOptional="ZodOptional",e.ZodNullable="ZodNullable",e.ZodDefault="ZodDefault",e.ZodCatch="ZodCatch",e.ZodPromise="ZodPromise",e.ZodBranded="ZodBranded",e.ZodPipeline="ZodPipeline",e.ZodReadonly="ZodReadonly"}(se=e.ZodFirstPartyTypeKind||(e.ZodFirstPartyTypeKind={}));e.instanceof=(t,a={message:`Input not instance of ${t.name}`})=>(0,e.custom)((e=>e instanceof t),a);const oe=S.create;e.string=oe;const ie=w.create;e.number=ie;const ce=te.create;e.nan=ce;const de=C.create;e.bigint=de;const ue=b.create;e.boolean=ue;const le=x.create;e.date=le;const he=P.create;e.symbol=he;const pe=I.create;e.undefined=pe;const me=k.create;e.null=me;const fe=R.create;e.any=fe;const ge=E.create;e.unknown=ge;const ye=_.create;e.never=ye;const Se=T.create;e.void=Se;const ve=N.create;e.array=ve;const we=O.create;e.object=we;const Ce=O.strictCreate;e.strictObject=Ce;const be=M.create;e.union=be;const xe=A.create;e.discriminatedUnion=xe;const Pe=D.create;e.intersection=Pe;const Ie=L.create;e.tuple=Ie;const ke=Z.create;e.record=ke;const Re=U.create;e.map=Re;const Ee=F.create;e.set=Ee;const _e=q.create;e.function=_e;const Te=V.create;e.lazy=Te;const Ne=$.create;e.literal=Ne;const je=H.create;e.enum=je;const Oe=W.create;e.nativeEnum=Oe;const Me=J.create;e.promise=Me;const Be=G.create;e.effect=Be,e.transformer=Be;const Ae=X.create;e.optional=Ae;const ze=Y.create;e.nullable=ze;const De=G.createWithPreprocess;e.preprocess=De;const Le=re.create;e.pipeline=Le;e.ostring=()=>oe().optional();e.onumber=()=>ie().optional();e.oboolean=()=>ue().optional(),e.coerce={string:e=>S.create({...e,coerce:!0}),number:e=>w.create({...e,coerce:!0}),boolean:e=>b.create({...e,coerce:!0}),bigint:e=>C.create({...e,coerce:!0}),date:e=>x.create({...e,coerce:!0})},e.NEVER=r.INVALID}(En),function(t){var a=e&&e.__createBinding||(Object.create?function(e,t,a,r){void 0===r&&(r=a),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[a]}})}:function(e,t,a,r){void 0===r&&(r=a),e[r]=t[a]}),r=e&&e.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||a(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),r(mn,t),r(In,t),r(kn,t),r(gn,t),r(En,t),r(yn,t)}(pn),function(t){var a=e&&e.__createBinding||(Object.create?function(e,t,a,r){void 0===r&&(r=a),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[a]}})}:function(e,t,a,r){void 0===r&&(r=a),e[r]=t[a]}),r=e&&e.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),n=e&&e.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&a(t,e,n);return r(t,e),t},s=e&&e.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||a(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),t.z=void 0;const o=n(pn);t.z=o,s(pn,t),t.default=o}(hn);var Tn={},Nn=e&&e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(Tn,"__esModule",{value:!0}),Tn.Permissions=Tn.PermissionsCommandSchema=void 0;const jn=Nn(hn);var On;Tn.PermissionsCommandSchema=jn.default.lazy((()=>On.SetPermissionSchema)),function(e){e.PermissionDescriptorSchema=jn.default.lazy((()=>jn.default.object({name:jn.default.string()})))}(On||(Tn.Permissions=On={})),function(e){e.PermissionStateSchema=jn.default.lazy((()=>jn.default.enum(["granted","denied","prompt"])))}(On||(Tn.Permissions=On={})),function(e){e.SetPermissionSchema=jn.default.lazy((()=>jn.default.object({method:jn.default.literal("permissions.setPermission"),params:e.SetPermissionParametersSchema})))}(On||(Tn.Permissions=On={})),function(e){e.SetPermissionParametersSchema=jn.default.lazy((()=>jn.default.object({descriptor:e.PermissionDescriptorSchema,state:e.PermissionStateSchema,origin:jn.default.string()})))}(On||(Tn.Permissions=On={}));var Mn={};!function(t){var a=e&&e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Input=t.InputCommandSchema=t.Log=t.LogEventSchema=t.Storage=t.StorageResultSchema=t.StorageCommandSchema=t.Script=t.ScriptResultSchema=t.ScriptCommandSchema=t.ScriptEventSchema=t.Network=t.NetworkResultSchema=t.NetworkEventSchema=t.NetworkCommandSchema=t.BrowsingContext=t.BrowsingContextResultSchema=t.BrowsingContextEventSchema=t.BrowsingContextCommandSchema=t.Browser=t.BrowserResultSchema=t.BrowserCommandSchema=t.SessionResultSchema=t.Session=t.SessionCommandSchema=t.ErrorCodeSchema=t.JsUintSchema=t.JsIntSchema=t.ExtensibleSchema=t.EmptyResultSchema=t.ErrorResponseSchema=t.MessageSchema=t.EmptyParamsSchema=t.ResultDataSchema=t.CommandDataSchema=t.EventDataSchema=t.CommandResponseSchema=t.CommandSchema=t.EventSchema=void 0;const r=a(hn);var n,s,o,i,c,d,u,l;t.EventSchema=r.default.lazy((()=>r.default.object({type:r.default.literal("event")}).and(t.EventDataSchema).and(t.ExtensibleSchema))),t.CommandSchema=r.default.lazy((()=>r.default.object({id:t.JsUintSchema}).and(t.CommandDataSchema).and(t.ExtensibleSchema))),t.CommandResponseSchema=r.default.lazy((()=>r.default.object({type:r.default.literal("success"),id:t.JsUintSchema,result:t.ResultDataSchema}).and(t.ExtensibleSchema))),t.EventDataSchema=r.default.lazy((()=>r.default.union([t.BrowsingContextEventSchema,t.LogEventSchema,t.NetworkEventSchema,t.ScriptEventSchema]))),t.CommandDataSchema=r.default.lazy((()=>r.default.union([t.BrowserCommandSchema,t.BrowsingContextCommandSchema,t.InputCommandSchema,t.NetworkCommandSchema,t.ScriptCommandSchema,t.SessionCommandSchema,t.StorageCommandSchema]))),t.ResultDataSchema=r.default.lazy((()=>r.default.union([t.BrowsingContextResultSchema,t.EmptyResultSchema,t.NetworkResultSchema,t.ScriptResultSchema,t.SessionResultSchema,t.StorageResultSchema]))),t.EmptyParamsSchema=r.default.lazy((()=>t.ExtensibleSchema)),t.MessageSchema=r.default.lazy((()=>r.default.union([t.CommandResponseSchema,t.ErrorResponseSchema,t.EventSchema]))),t.ErrorResponseSchema=r.default.lazy((()=>r.default.object({type:r.default.literal("error"),id:r.default.union([t.JsUintSchema,r.default.null()]),error:t.ErrorCodeSchema,message:r.default.string(),stacktrace:r.default.string().optional()}).and(t.ExtensibleSchema))),t.EmptyResultSchema=r.default.lazy((()=>t.ExtensibleSchema)),t.ExtensibleSchema=r.default.lazy((()=>r.default.record(r.default.string(),r.default.any()))),t.JsIntSchema=r.default.lazy((()=>r.default.number().int().gte(-9007199254740991).lte(9007199254740991))),t.JsUintSchema=r.default.lazy((()=>r.default.number().int().nonnegative().gte(0).lte(9007199254740991))),t.ErrorCodeSchema=r.default.lazy((()=>r.default.enum(["invalid argument","invalid session id","move target out of bounds","no such alert","no such element","no such frame","no such handle","no such history entry","no such intercept","no such node","no such request","no such script","no such storage partition","no such user context","session not created","unable to capture screen","unable to close browser","unable to set cookie","unable to set file input","underspecified storage partition","unknown command","unknown error","unsupported operation"]))),t.SessionCommandSchema=r.default.lazy((()=>r.default.union([n.EndSchema,n.NewSchema,n.StatusSchema,n.SubscribeSchema,n.UnsubscribeSchema]))),function(e){e.ProxyConfigurationSchema=r.default.lazy((()=>r.default.union([e.AutodetectProxyConfigurationSchema,e.DirectProxyConfigurationSchema,e.ManualProxyConfigurationSchema,e.PacProxyConfigurationSchema,e.SystemProxyConfigurationSchema,r.default.object({})])))}(n||(t.Session=n={})),t.SessionResultSchema=r.default.lazy((()=>r.default.union([n.NewResultSchema,n.StatusResultSchema]))),function(e){e.CapabilitiesRequestSchema=r.default.lazy((()=>r.default.object({alwaysMatch:e.CapabilityRequestSchema.optional(),firstMatch:r.default.array(e.CapabilityRequestSchema).optional()})))}(n||(t.Session=n={})),function(e){e.CapabilityRequestSchema=r.default.lazy((()=>r.default.object({acceptInsecureCerts:r.default.boolean().optional(),browserName:r.default.string().optional(),browserVersion:r.default.string().optional(),platformName:r.default.string().optional(),proxy:e.ProxyConfigurationSchema.optional(),webSocketUrl:r.default.boolean().optional()}).and(t.ExtensibleSchema)))}(n||(t.Session=n={})),function(e){e.AutodetectProxyConfigurationSchema=r.default.lazy((()=>r.default.object({proxyType:r.default.literal("autodetect")}).and(t.ExtensibleSchema)))}(n||(t.Session=n={})),function(e){e.DirectProxyConfigurationSchema=r.default.lazy((()=>r.default.object({proxyType:r.default.literal("direct")}).and(t.ExtensibleSchema)))}(n||(t.Session=n={})),function(e){e.ManualProxyConfigurationSchema=r.default.lazy((()=>r.default.object({proxyType:r.default.literal("manual"),ftpProxy:r.default.string().optional(),httpProxy:r.default.string().optional(),sslProxy:r.default.string().optional()}).and(e.SocksProxyConfigurationSchema.or(r.default.object({}))).and(r.default.object({noProxy:r.default.array(r.default.string()).optional()})).and(t.ExtensibleSchema)))}(n||(t.Session=n={})),function(e){e.SocksProxyConfigurationSchema=r.default.lazy((()=>r.default.object({socksProxy:r.default.string(),socksVersion:r.default.number().int().nonnegative().gte(0).lte(255)})))}(n||(t.Session=n={})),function(e){e.PacProxyConfigurationSchema=r.default.lazy((()=>r.default.object({proxyType:r.default.literal("pac"),proxyAutoconfigUrl:r.default.string()}).and(t.ExtensibleSchema)))}(n||(t.Session=n={})),function(e){e.SystemProxyConfigurationSchema=r.default.lazy((()=>r.default.object({proxyType:r.default.literal("system")}).and(t.ExtensibleSchema)))}(n||(t.Session=n={})),function(e){e.SubscriptionRequestSchema=r.default.lazy((()=>r.default.object({events:r.default.array(r.default.string()),contexts:r.default.array(o.BrowsingContextSchema).optional()})))}(n||(t.Session=n={})),function(e){e.StatusSchema=r.default.lazy((()=>r.default.object({method:r.default.literal("session.status"),params:t.EmptyParamsSchema})))}(n||(t.Session=n={})),function(e){e.StatusResultSchema=r.default.lazy((()=>r.default.object({ready:r.default.boolean(),message:r.default.string()})))}(n||(t.Session=n={})),function(e){e.NewSchema=r.default.lazy((()=>r.default.object({method:r.default.literal("session.new"),params:e.NewParametersSchema})))}(n||(t.Session=n={})),function(e){e.NewParametersSchema=r.default.lazy((()=>r.default.object({capabilities:e.CapabilitiesRequestSchema})))}(n||(t.Session=n={})),function(e){e.NewResultSchema=r.default.lazy((()=>r.default.object({sessionId:r.default.string(),capabilities:r.default.object({acceptInsecureCerts:r.default.boolean(),browserName:r.default.string(),browserVersion:r.default.string(),platformName:r.default.string(),setWindowRect:r.default.boolean(),proxy:e.ProxyConfigurationSchema.optional(),webSocketUrl:r.default.string().optional()}).and(t.ExtensibleSchema)})))}(n||(t.Session=n={})),function(e){e.EndSchema=r.default.lazy((()=>r.default.object({method:r.default.literal("session.end"),params:t.EmptyParamsSchema})))}(n||(t.Session=n={})),function(e){e.SubscribeSchema=r.default.lazy((()=>r.default.object({method:r.default.literal("session.subscribe"),params:e.SubscriptionRequestSchema})))}(n||(t.Session=n={})),function(e){e.UnsubscribeSchema=r.default.lazy((()=>r.default.object({method:r.default.literal("session.unsubscribe"),params:e.SubscriptionRequestSchema})))}(n||(t.Session=n={})),t.BrowserCommandSchema=r.default.lazy((()=>r.default.union([s.CloseSchema,s.CreateUserContextSchema,s.GetUserContextsSchema,s.RemoveUserContextSchema]))),t.BrowserResultSchema=r.default.lazy((()=>r.default.union([s.CreateUserContextResultSchema,s.GetUserContextsResultSchema]))),function(e){e.UserContextSchema=r.default.lazy((()=>r.default.string()))}(s||(t.Browser=s={})),function(e){e.UserContextInfoSchema=r.default.lazy((()=>r.default.object({userContext:e.UserContextSchema})))}(s||(t.Browser=s={})),function(e){e.CloseSchema=r.default.lazy((()=>r.default.object({method:r.default.literal("browser.close"),params:t.EmptyParamsSchema})))}(s||(t.Browser=s={})),function(e){e.CreateUserContextSchema=r.default.lazy((()=>r.default.object({method:r.default.literal("browser.createUserContext"),params:t.EmptyParamsSchema})))}(s||(t.Browser=s={})),function(e){e.CreateUserContextResultSchema=r.default.lazy((()=>e.UserContextInfoSchema))}(s||(t.Browser=s={})),function(e){e.GetUserContextsSchema=r.default.lazy((()=>r.default.object({method:r.default.literal("browser.getUserContexts"),params:t.EmptyParamsSchema})))}(s||(t.Browser=s={})),function(e){e.GetUserContextsResultSchema=r.default.lazy((()=>r.default.object({userContexts:r.default.array(e.UserContextInfoSchema).min(1)})))}(s||(t.Browser=s={})),function(e){e.RemoveUserContextSchema=r.default.lazy((()=>r.default.object({method:r.default.literal("browser.removeUserContext"),params:e.RemoveUserContextParametersSchema})))}(s||(t.Browser=s={})),function(e){e.RemoveUserContextParametersSchema=r.default.lazy((()=>r.default.object({userContext:e.UserContextSchema})))}(s||(t.Browser=s={})),t.BrowsingContextCommandSchema=r.default.lazy((()=>r.default.union([o.ActivateSchema,o.CaptureScreenshotSchema,o.CloseSchema,o.CreateSchema,o.GetTreeSchema,o.HandleUserPromptSchema,o.LocateNodesSchema,o.NavigateSchema,o.PrintSchema,o.ReloadSchema,o.SetViewportSchema,o.TraverseHistorySchema]))),t.BrowsingContextEventSchema=r.default.lazy((()=>r.default.union([o.ContextCreatedSchema,o.ContextDestroyedSchema,o.DomContentLoadedSchema,o.DownloadWillBeginSchema,o.FragmentNavigatedSchema,o.LoadSchema,o.NavigationAbortedSchema,o.NavigationFailedSchema,o.NavigationStartedSchema,o.UserPromptClosedSchema,o.UserPromptOpenedSchema]))),t.BrowsingContextResultSchema=r.default.lazy((()=>r.default.union([o.CaptureScreenshotResultSchema,o.CreateResultSchema,o.GetTreeResultSchema,o.LocateNodesResultSchema,o.NavigateResultSchema,o.PrintResultSchema,o.TraverseHistoryResultSchema]))),function(e){e.BrowsingContextSchema=r.default.lazy((()=>r.default.string()))}(o||(t.BrowsingContext=o={})),function(e){e.InfoListSchema=r.default.lazy((()=>r.default.array(e.InfoSchema)))}(o||(t.BrowsingContext=o={})),function(e){e.InfoSchema=r.default.lazy((()=>r.default.object({children:r.default.union([e.InfoListSchema,r.default.null()]),context:e.BrowsingContextSchema,url:r.default.string(),userContext:s.UserContextSchema,parent:r.default.union([e.BrowsingContextSchema,r.default.null()]).optional()})))}(o||(t.BrowsingContext=o={})),function(e){e.LocatorSchema=r.default.lazy((()=>r.default.union([e.CssLocatorSchema,e.InnerTextLocatorSchema,e.XPathLocatorSchema])))}(o||(t.BrowsingContext=o={})),function(e){e.CssLocatorSchema=r.default.lazy((()=>r.default.object({type:r.default.literal("css"),value:r.default.string()})))}(o||(t.BrowsingContext=o={})),function(e){e.InnerTextLocatorSchema=r.default.lazy((()=>r.default.object({type:r.default.literal("innerText"),value:r.default.string(),ignoreCase:r.default.boolean().optional(),matchType:r.default.enum(["full","partial"]).optional(),maxDepth:t.JsUintSchema.optional()})))}(o||(t.BrowsingContext=o={})),function(e){e.XPathLocatorSchema=r.default.lazy((()=>r.default.object({type:r.default.literal("xpath"),value:r.default.string()})))}(o||(t.BrowsingContext=o={})),function(e){e.NavigationSchema=r.default.lazy((()=>r.default.string()))}(o||(t.BrowsingContext=o={})),function(e){e.NavigationInfoSchema=r.default.lazy((()=>r.default.object({context:e.BrowsingContextSchema,navigation:r.default.union([e.NavigationSchema,r.default.null()]),timestamp:t.JsUintSchema,url:r.default.string()})))}(o||(t.BrowsingContext=o={})),function(e){e.ReadinessStateSchema=r.default.lazy((()=>r.default.enum(["none","interactive","complete"])))}(o||(t.BrowsingContext=o={})),function(e){e.ActivateSchema=r.default.lazy((()=>r.default.object({method:r.default.literal("browsingContext.activate"),params:e.ActivateParametersSchema})))}(o||(t.BrowsingContext=o={})),function(e){e.ActivateParametersSchema=r.default.lazy((()=>r.default.object({context:e.BrowsingContextSchema})))}(o||(t.BrowsingContext=o={})),function(e){e.CaptureScreenshotParametersSchema=r.default.lazy((()=>r.default.object({context:e.BrowsingContextSchema,origin:r.default.enum(["viewport","document"]).default("viewport").optional(),format:e.ImageFormatSchema.optional(),clip:e.ClipRectangleSchema.optional()})))}(o||(t.BrowsingContext=o={})),function(e){e.CaptureScreenshotSchema=r.default.lazy((()=>r.default.object({method:r.default.literal("browsingContext.captureScreenshot"),params:e.CaptureScreenshotParametersSchema})))}(o||(t.BrowsingContext=o={})),function(e){e.ImageFormatSchema=r.default.lazy((()=>r.default.object({type:r.default.string(),quality:r.default.number().gte(0).lte(1).optional()})))}(o||(t.BrowsingContext=o={})),function(e){e.ClipRectangleSchema=r.default.lazy((()=>r.default.union([e.BoxClipRectangleSchema,e.ElementClipRectangleSchema])))}(o||(t.BrowsingContext=o={})),function(e){e.ElementClipRectangleSchema=r.default.lazy((()=>r.default.object({type:r.default.literal("element"),element:c.SharedReferenceSchema})))}(o||(t.BrowsingContext=o={})),function(e){e.BoxClipRectangleSchema=r.default.lazy((()=>r.default.object({type:r.default.literal("box"),x:r.default.number(),y:r.default.number(),width:r.default.number(),height:r.default.number()})))}(o||(t.BrowsingContext=o={})),function(e){e.CaptureScreenshotResultSchema=r.default.lazy((()=>r.default.object({data:r.default.string()})))}(o||(t.BrowsingContext=o={})),function(e){e.CloseSchema=r.default.lazy((()=>r.default.object({method:r.default.literal("browsingContext.close"),params:e.CloseParametersSchema})))}(o||(t.BrowsingContext=o={})),function(e){e.CloseParametersSchema=r.default.lazy((()=>r.default.object({context:e.BrowsingContextSchema,promptUnload:r.default.boolean().default(!1).optional()})))}(o||(t.BrowsingContext=o={})),function(e){e.CreateSchema=r.default.lazy((()=>r.default.object({method:r.default.literal("browsingContext.create"),params:e.CreateParametersSchema})))}(o||(t.BrowsingContext=o={})),function(e){e.CreateTypeSchema=r.default.lazy((()=>r.default.enum(["tab","window"])))}(o||(t.BrowsingContext=o={})),function(e){e.CreateParametersSchema=r.default.lazy((()=>r.default.object({type:e.CreateTypeSchema,referenceContext:e.BrowsingContextSchema.optional(),background:r.default.boolean().default(!1).optional(),userContext:s.UserContextSchema.optional()})))}(o||(t.BrowsingContext=o={})),function(e){e.CreateResultSchema=r.default.lazy((()=>r.default.object({context:e.BrowsingContextSchema})))}(o||(t.BrowsingContext=o={})),function(e){e.GetTreeSchema=r.default.lazy((()=>r.default.object({method:r.default.literal("browsingContext.getTree"),params:e.GetTreeParametersSchema})))}(o||(t.BrowsingContext=o={})),function(e){e.GetTreeParametersSchema=r.default.lazy((()=>r.default.object({maxDepth:t.JsUintSchema.optional(),root:e.BrowsingContextSchema.optional()})))}(o||(t.BrowsingContext=o={})),function(e){e.GetTreeResultSchema=r.default.lazy((()=>r.default.object({contexts:e.InfoListSchema})))}(o||(t.BrowsingContext=o={})),function(e){e.HandleUserPromptSchema=r.default.lazy((()=>r.default.object({method:r.default.literal("browsingContext.handleUserPrompt"),params:e.HandleUserPromptParametersSchema})))}(o||(t.BrowsingContext=o={})),function(e){e.HandleUserPromptParametersSchema=r.default.lazy((()=>r.default.object({context:e.BrowsingContextSchema,accept:r.default.boolean().optional(),userText:r.default.string().optional()})))}(o||(t.BrowsingContext=o={})),function(e){e.LocateNodesParametersSchema=r.default.lazy((()=>r.default.object({context:e.BrowsingContextSchema,locator:e.LocatorSchema,maxNodeCount:t.JsUintSchema.gte(1).optional(),ownership:c.ResultOwnershipSchema.optional(),sandbox:r.default.string().optional(),serializationOptions:c.SerializationOptionsSchema.optional(),startNodes:r.default.array(c.SharedReferenceSchema).min(1).optional()})))}(o||(t.BrowsingContext=o={})),function(e){e.LocateNodesSchema=r.default.lazy((()=>r.default.object({method:r.default.literal("browsingContext.locateNodes"),params:e.LocateNodesParametersSchema})))}(o||(t.BrowsingContext=o={})),function(e){e.LocateNodesResultSchema=r.default.lazy((()=>r.default.object({nodes:r.default.array(c.NodeRemoteValueSchema)})))}(o||(t.BrowsingContext=o={})),function(e){e.NavigateSchema=r.default.lazy((()=>r.default.object({method:r.default.literal("browsingContext.navigate"),params:e.NavigateParametersSchema})))}(o||(t.BrowsingContext=o={})),function(e){e.NavigateParametersSchema=r.default.lazy((()=>r.default.object({context:e.BrowsingContextSchema,url:r.default.string(),wait:e.ReadinessStateSchema.optional()})))}(o||(t.BrowsingContext=o={})),function(e){e.NavigateResultSchema=r.default.lazy((()=>r.default.object({navigation:r.default.union([e.NavigationSchema,r.default.null()]),url:r.default.string()})))}(o||(t.BrowsingContext=o={})),function(e){e.PrintSchema=r.default.lazy((()=>r.default.object({method:r.default.literal("browsingContext.print"),params:e.PrintParametersSchema})))}(o||(t.BrowsingContext=o={})),function(e){e.PrintParametersSchema=r.default.lazy((()=>r.default.object({context:e.BrowsingContextSchema,background:r.default.boolean().default(!1).optional(),margin:e.PrintMarginParametersSchema.optional(),orientation:r.default.enum(["portrait","landscape"]).default("portrait").optional(),page:e.PrintPageParametersSchema.optional(),pageRanges:r.default.array(r.default.union([t.JsUintSchema,r.default.string()])).optional(),scale:r.default.number().gte(.1).lte(2).default(1).optional(),shrinkToFit:r.default.boolean().default(!0).optional()})))}(o||(t.BrowsingContext=o={})),function(e){e.PrintMarginParametersSchema=r.default.lazy((()=>r.default.object({bottom:r.default.number().gte(0).default(1).optional(),left:r.default.number().gte(0).default(1).optional(),right:r.default.number().gte(0).default(1).optional(),top:r.default.number().gte(0).default(1).optional()})))}(o||(t.BrowsingContext=o={})),function(e){e.PrintPageParametersSchema=r.default.lazy((()=>r.default.object({height:r.default.number().gte(.0352).default(27.94).optional(),width:r.default.number().gte(.0352).default(21.59).optional()})))}(o||(t.BrowsingContext=o={})),function(e){e.PrintResultSchema=r.default.lazy((()=>r.default.object({data:r.default.string()})))}(o||(t.BrowsingContext=o={})),function(e){e.ReloadSchema=r.default.lazy((()=>r.default.object({method:r.default.literal("browsingContext.reload"),params:e.ReloadParametersSchema})))}(o||(t.BrowsingContext=o={})),function(e){e.ReloadParametersSchema=r.default.lazy((()=>r.default.object({context:e.BrowsingContextSchema,ignoreCache:r.default.boolean().optional(),wait:e.ReadinessStateSchema.optional()})))}(o||(t.BrowsingContext=o={})),function(e){e.SetViewportSchema=r.default.lazy((()=>r.default.object({method:r.default.literal("browsingContext.setViewport"),params:e.SetViewportParametersSchema})))}(o||(t.BrowsingContext=o={})),function(e){e.SetViewportParametersSchema=r.default.lazy((()=>r.default.object({context:e.BrowsingContextSchema,viewport:r.default.union([e.ViewportSchema,r.default.null()]).optional(),devicePixelRatio:r.default.union([r.default.number().gt(0),r.default.null()]).optional()})))}(o||(t.BrowsingContext=o={})),function(e){e.ViewportSchema=r.default.lazy((()=>r.default.object({width:t.JsUintSchema,height:t.JsUintSchema})))}(o||(t.BrowsingContext=o={})),function(e){e.TraverseHistorySchema=r.default.lazy((()=>r.default.object({method:r.default.literal("browsingContext.traverseHistory"),params:e.TraverseHistoryParametersSchema})))}(o||(t.BrowsingContext=o={})),function(e){e.TraverseHistoryParametersSchema=r.default.lazy((()=>r.default.object({context:e.BrowsingContextSchema,delta:t.JsIntSchema})))}(o||(t.BrowsingContext=o={})),function(e){e.TraverseHistoryResultSchema=r.default.lazy((()=>r.default.object({})))}(o||(t.BrowsingContext=o={})),function(e){e.ContextCreatedSchema=r.default.lazy((()=>r.default.object({method:r.default.literal("browsingContext.contextCreated"),params:e.InfoSchema})))}(o||(t.BrowsingContext=o={})),function(e){e.ContextDestroyedSchema=r.default.lazy((()=>r.default.object({method:r.default.literal("browsingContext.contextDestroyed"),params:e.InfoSchema})))}(o||(t.BrowsingContext=o={})),function(e){e.NavigationStartedSchema=r.default.lazy((()=>r.default.object({method:r.default.literal("browsingContext.navigationStarted"),params:e.NavigationInfoSchema})))}(o||(t.BrowsingContext=o={})),function(e){e.FragmentNavigatedSchema=r.default.lazy((()=>r.default.object({method:r.default.literal("browsingContext.fragmentNavigated"),params:e.NavigationInfoSchema})))}(o||(t.BrowsingContext=o={})),function(e){e.DomContentLoadedSchema=r.default.lazy((()=>r.default.object({method:r.default.literal("browsingContext.domContentLoaded"),params:e.NavigationInfoSchema})))}(o||(t.BrowsingContext=o={})),function(e){e.LoadSchema=r.default.lazy((()=>r.default.object({method:r.default.literal("browsingContext.load"),params:e.NavigationInfoSchema})))}(o||(t.BrowsingContext=o={})),function(e){e.DownloadWillBeginSchema=r.default.lazy((()=>r.default.object({method:r.default.literal("browsingContext.downloadWillBegin"),params:e.NavigationInfoSchema})))}(o||(t.BrowsingContext=o={})),function(e){e.NavigationAbortedSchema=r.default.lazy((()=>r.default.object({method:r.default.literal("browsingContext.navigationAborted"),params:e.NavigationInfoSchema})))}(o||(t.BrowsingContext=o={})),function(e){e.NavigationFailedSchema=r.default.lazy((()=>r.default.object({method:r.default.literal("browsingContext.navigationFailed"),params:e.NavigationInfoSchema})))}(o||(t.BrowsingContext=o={})),function(e){e.UserPromptClosedSchema=r.default.lazy((()=>r.default.object({method:r.default.literal("browsingContext.userPromptClosed"),params:e.UserPromptClosedParametersSchema})))}(o||(t.BrowsingContext=o={})),function(e){e.UserPromptClosedParametersSchema=r.default.lazy((()=>r.default.object({context:e.BrowsingContextSchema,accepted:r.default.boolean(),userText:r.default.string().optional()})))}(o||(t.BrowsingContext=o={})),function(e){e.UserPromptOpenedSchema=r.default.lazy((()=>r.default.object({method:r.default.literal("browsingContext.userPromptOpened"),params:e.UserPromptOpenedParametersSchema})))}(o||(t.BrowsingContext=o={})),function(e){e.UserPromptOpenedParametersSchema=r.default.lazy((()=>r.default.object({context:e.BrowsingContextSchema,type:r.default.enum(["alert","confirm","prompt","beforeunload"]),message:r.default.string(),defaultValue:r.default.string().optional()})))}(o||(t.BrowsingContext=o={})),t.NetworkCommandSchema=r.default.lazy((()=>r.default.union([i.AddInterceptSchema,i.ContinueRequestSchema,i.ContinueResponseSchema,i.ContinueWithAuthSchema,i.FailRequestSchema,i.ProvideResponseSchema,i.RemoveInterceptSchema]))),t.NetworkEventSchema=r.default.lazy((()=>r.default.union([i.AuthRequiredSchema,i.BeforeRequestSentSchema,i.FetchErrorSchema,i.ResponseCompletedSchema,i.ResponseStartedSchema]))),t.NetworkResultSchema=r.default.lazy((()=>i.AddInterceptResultSchema)),function(e){e.AuthChallengeSchema=r.default.lazy((()=>r.default.object({scheme:r.default.string(),realm:r.default.string()})))}(i||(t.Network=i={})),function(e){e.AuthCredentialsSchema=r.default.lazy((()=>r.default.object({type:r.default.literal("password"),username:r.default.string(),password:r.default.string()})))}(i||(t.Network=i={})),function(e){e.BaseParametersSchema=r.default.lazy((()=>r.default.object({context:r.default.union([o.BrowsingContextSchema,r.default.null()]),isBlocked:r.default.boolean(),navigation:r.default.union([o.NavigationSchema,r.default.null()]),redirectCount:t.JsUintSchema,request:e.RequestDataSchema,timestamp:t.JsUintSchema,intercepts:r.default.array(e.InterceptSchema).min(1).optional()})))}(i||(t.Network=i={})),function(e){e.BytesValueSchema=r.default.lazy((()=>r.default.union([e.StringValueSchema,e.Base64ValueSchema])))}(i||(t.Network=i={})),function(e){e.StringValueSchema=r.default.lazy((()=>r.default.object({type:r.default.literal("string"),value:r.default.string()})))}(i||(t.Network=i={})),function(e){e.Base64ValueSchema=r.default.lazy((()=>r.default.object({type:r.default.literal("base64"),value:r.default.string()})))}(i||(t.Network=i={})),function(e){e.SameSiteSchema=r.default.lazy((()=>r.default.enum(["strict","lax","none"])))}(i||(t.Network=i={})),function(e){e.CookieSchema=r.default.lazy((()=>r.default.object({name:r.default.string(),value:e.BytesValueSchema,domain:r.default.string(),path:r.default.string(),size:t.JsUintSchema,httpOnly:r.default.boolean(),secure:r.default.boolean(),sameSite:e.SameSiteSchema,expiry:t.JsUintSchema.optional()}).and(t.ExtensibleSchema)))}(i||(t.Network=i={})),function(e){e.CookieHeaderSchema=r.default.lazy((()=>r.default.object({name:r.default.string(),value:e.BytesValueSchema})))}(i||(t.Network=i={})),function(e){e.FetchTimingInfoSchema=r.default.lazy((()=>r.default.object({timeOrigin:r.default.number(),requestTime:r.default.number(),redirectStart:r.default.number(),redirectEnd:r.default.number(),fetchStart:r.default.number(),dnsStart:r.default.number(),dnsEnd:r.default.number(),connectStart:r.default.number(),connectEnd:r.default.number(),tlsStart:r.default.number(),requestStart:r.default.number(),responseStart:r.default.number(),responseEnd:r.default.number()})))}(i||(t.Network=i={})),function(e){e.HeaderSchema=r.default.lazy((()=>r.default.object({name:r.default.string(),value:e.BytesValueSchema})))}(i||(t.Network=i={})),function(e){e.InitiatorSchema=r.default.lazy((()=>r.default.object({type:r.default.enum(["parser","script","preflight","other"]),columnNumber:t.JsUintSchema.optional(),lineNumber:t.JsUintSchema.optional(),stackTrace:c.StackTraceSchema.optional(),request:e.RequestSchema.optional()})))}(i||(t.Network=i={})),function(e){e.InterceptSchema=r.default.lazy((()=>r.default.string()))}(i||(t.Network=i={})),function(e){e.RequestSchema=r.default.lazy((()=>r.default.string()))}(i||(t.Network=i={})),function(e){e.RequestDataSchema=r.default.lazy((()=>r.default.object({request:e.RequestSchema,url:r.default.string(),method:r.default.string(),headers:r.default.array(e.HeaderSchema),cookies:r.default.array(e.CookieSchema),headersSize:t.JsUintSchema,bodySize:r.default.union([t.JsUintSchema,r.default.null()]),timings:e.FetchTimingInfoSchema})))}(i||(t.Network=i={})),function(e){e.ResponseContentSchema=r.default.lazy((()=>r.default.object({size:t.JsUintSchema})))}(i||(t.Network=i={})),function(e){e.ResponseDataSchema=r.default.lazy((()=>r.default.object({url:r.default.string(),protocol:r.default.string(),status:t.JsUintSchema,statusText:r.default.string(),fromCache:r.default.boolean(),headers:r.default.array(e.HeaderSchema),mimeType:r.default.string(),bytesReceived:t.JsUintSchema,headersSize:r.default.union([t.JsUintSchema,r.default.null()]),bodySize:r.default.union([t.JsUintSchema,r.default.null()]),content:e.ResponseContentSchema,authChallenge:e.AuthChallengeSchema.optional()})))}(i||(t.Network=i={})),function(e){e.SetCookieHeaderSchema=r.default.lazy((()=>r.default.object({name:r.default.string(),value:e.BytesValueSchema,domain:r.default.string().optional(),httpOnly:r.default.boolean().optional(),expiry:r.default.string().optional(),maxAge:t.JsIntSchema.optional(),path:r.default.string().optional(),sameSite:e.SameSiteSchema.optional(),secure:r.default.boolean().optional()})))}(i||(t.Network=i={})),function(e){e.UrlPatternSchema=r.default.lazy((()=>r.default.union([e.UrlPatternPatternSchema,e.UrlPatternStringSchema])))}(i||(t.Network=i={})),function(e){e.UrlPatternPatternSchema=r.default.lazy((()=>r.default.object({type:r.default.literal("pattern"),protocol:r.default.string().optional(),hostname:r.default.string().optional(),port:r.default.string().optional(),pathname:r.default.string().optional(),search:r.default.string().optional()})))}(i||(t.Network=i={})),function(e){e.UrlPatternStringSchema=r.default.lazy((()=>r.default.object({type:r.default.literal("string"),pattern:r.default.string()})))}(i||(t.Network=i={})),function(e){e.AddInterceptParametersSchema=r.default.lazy((()=>r.default.object({phases:r.default.array(e.InterceptPhaseSchema).min(1),contexts:r.default.array(o.BrowsingContextSchema).min(1).optional(),urlPatterns:r.default.array(e.UrlPatternSchema).optional()})))}(i||(t.Network=i={})),function(e){e.AddInterceptSchema=r.default.lazy((()=>r.default.object({method:r.default.literal("network.addIntercept"),params:e.AddInterceptParametersSchema})))}(i||(t.Network=i={})),function(e){e.InterceptPhaseSchema=r.default.lazy((()=>r.default.enum(["beforeRequestSent","responseStarted","authRequired"])))}(i||(t.Network=i={})),function(e){e.AddInterceptResultSchema=r.default.lazy((()=>r.default.object({intercept:e.InterceptSchema})))}(i||(t.Network=i={})),function(e){e.ContinueRequestSchema=r.default.lazy((()=>r.default.object({method:r.default.literal("network.continueRequest"),params:e.ContinueRequestParametersSchema})))}(i||(t.Network=i={})),function(e){e.ContinueRequestParametersSchema=r.default.lazy((()=>r.default.object({request:e.RequestSchema,body:e.BytesValueSchema.optional(),cookies:r.default.array(e.CookieHeaderSchema).optional(),headers:r.default.array(e.HeaderSchema).optional(),method:r.default.string().optional(),url:r.default.string().optional()})))}(i||(t.Network=i={})),function(e){e.ContinueResponseSchema=r.default.lazy((()=>r.default.object({method:r.default.literal("network.continueResponse"),params:e.ContinueResponseParametersSchema})))}(i||(t.Network=i={})),function(e){e.ContinueResponseParametersSchema=r.default.lazy((()=>r.default.object({request:e.RequestSchema,cookies:r.default.array(e.SetCookieHeaderSchema).optional(),credentials:e.AuthCredentialsSchema.optional(),headers:r.default.array(e.HeaderSchema).optional(),reasonPhrase:r.default.string().optional(),statusCode:t.JsUintSchema.optional()})))}(i||(t.Network=i={})),function(e){e.ContinueWithAuthSchema=r.default.lazy((()=>r.default.object({method:r.default.literal("network.continueWithAuth"),params:e.ContinueWithAuthParametersSchema})))}(i||(t.Network=i={})),function(e){e.ContinueWithAuthParametersSchema=r.default.lazy((()=>r.default.object({request:e.RequestSchema}).and(r.default.union([e.ContinueWithAuthCredentialsSchema,e.ContinueWithAuthNoCredentialsSchema]))))}(i||(t.Network=i={})),function(e){e.ContinueWithAuthCredentialsSchema=r.default.lazy((()=>r.default.object({action:r.default.literal("provideCredentials"),credentials:e.AuthCredentialsSchema})))}(i||(t.Network=i={})),function(e){e.ContinueWithAuthNoCredentialsSchema=r.default.lazy((()=>r.default.object({action:r.default.enum(["default","cancel"])})))}(i||(t.Network=i={})),function(e){e.FailRequestSchema=r.default.lazy((()=>r.default.object({method:r.default.literal("network.failRequest"),params:e.FailRequestParametersSchema})))}(i||(t.Network=i={})),function(e){e.FailRequestParametersSchema=r.default.lazy((()=>r.default.object({request:e.RequestSchema})))}(i||(t.Network=i={})),function(e){e.ProvideResponseSchema=r.default.lazy((()=>r.default.object({method:r.default.literal("network.provideResponse"),params:e.ProvideResponseParametersSchema})))}(i||(t.Network=i={})),function(e){e.ProvideResponseParametersSchema=r.default.lazy((()=>r.default.object({request:e.RequestSchema,body:e.BytesValueSchema.optional(),cookies:r.default.array(e.SetCookieHeaderSchema).optional(),headers:r.default.array(e.HeaderSchema).optional(),reasonPhrase:r.default.string().optional(),statusCode:t.JsUintSchema.optional()})))}(i||(t.Network=i={})),function(e){e.RemoveInterceptSchema=r.default.lazy((()=>r.default.object({method:r.default.literal("network.removeIntercept"),params:e.RemoveInterceptParametersSchema})))}(i||(t.Network=i={})),function(e){e.RemoveInterceptParametersSchema=r.default.lazy((()=>r.default.object({intercept:e.InterceptSchema})))}(i||(t.Network=i={})),t.ScriptEventSchema=r.default.lazy((()=>r.default.union([c.MessageSchema,c.RealmCreatedSchema,c.RealmDestroyedSchema]))),function(e){e.AuthRequiredParametersSchema=r.default.lazy((()=>e.BaseParametersSchema.and(r.default.object({response:e.ResponseDataSchema}))))}(i||(t.Network=i={})),function(e){e.BeforeRequestSentParametersSchema=r.default.lazy((()=>e.BaseParametersSchema.and(r.default.object({initiator:e.InitiatorSchema}))))}(i||(t.Network=i={})),function(e){e.FetchErrorParametersSchema=r.default.lazy((()=>e.BaseParametersSchema.and(r.default.object({errorText:r.default.string()}))))}(i||(t.Network=i={})),function(e){e.ResponseCompletedParametersSchema=r.default.lazy((()=>e.BaseParametersSchema.and(r.default.object({response:e.ResponseDataSchema}))))}(i||(t.Network=i={})),function(e){e.ResponseStartedParametersSchema=r.default.lazy((()=>e.BaseParametersSchema.and(r.default.object({response:e.ResponseDataSchema}))))}(i||(t.Network=i={})),t.ScriptCommandSchema=r.default.lazy((()=>r.default.union([c.AddPreloadScriptSchema,c.CallFunctionSchema,c.DisownSchema,c.EvaluateSchema,c.GetRealmsSchema,c.RemovePreloadScriptSchema]))),t.ScriptResultSchema=r.default.lazy((()=>r.default.union([c.AddPreloadScriptResultSchema,c.EvaluateResultSchema,c.GetRealmsResultSchema]))),function(e){e.AuthRequiredSchema=r.default.lazy((()=>r.default.object({method:r.default.literal("network.authRequired"),params:e.AuthRequiredParametersSchema})))}(i||(t.Network=i={})),function(e){e.BeforeRequestSentSchema=r.default.lazy((()=>r.default.object({method:r.default.literal("network.beforeRequestSent"),params:e.BeforeRequestSentParametersSchema})))}(i||(t.Network=i={})),function(e){e.FetchErrorSchema=r.default.lazy((()=>r.default.object({method:r.default.literal("network.fetchError"),params:e.FetchErrorParametersSchema})))}(i||(t.Network=i={})),function(e){e.ResponseCompletedSchema=r.default.lazy((()=>r.default.object({method:r.default.literal("network.responseCompleted"),params:e.ResponseCompletedParametersSchema})))}(i||(t.Network=i={})),function(e){e.ResponseStartedSchema=r.default.lazy((()=>r.default.object({method:r.default.literal("network.responseStarted"),params:e.ResponseStartedParametersSchema})))}(i||(t.Network=i={})),function(e){e.ChannelSchema=r.default.lazy((()=>r.default.string()))}(c||(t.Script=c={})),function(e){e.EvaluateResultSuccessSchema=r.default.lazy((()=>r.default.object({type:r.default.literal("success"),result:e.RemoteValueSchema,realm:e.RealmSchema})))}(c||(t.Script=c={})),function(e){e.ExceptionDetailsSchema=r.default.lazy((()=>r.default.object({columnNumber:t.JsUintSchema,exception:e.RemoteValueSchema,lineNumber:t.JsUintSchema,stackTrace:e.StackTraceSchema,text:r.default.string()})))}(c||(t.Script=c={})),function(e){e.ChannelValueSchema=r.default.lazy((()=>r.default.object({type:r.default.literal("channel"),value:e.ChannelPropertiesSchema})))}(c||(t.Script=c={})),function(e){e.ChannelPropertiesSchema=r.default.lazy((()=>r.default.object({channel:e.ChannelSchema,serializationOptions:e.SerializationOptionsSchema.optional(),ownership:e.ResultOwnershipSchema.optional()})))}(c||(t.Script=c={})),function(e){e.EvaluateResultSchema=r.default.lazy((()=>r.default.union([e.EvaluateResultSuccessSchema,e.EvaluateResultExceptionSchema])))}(c||(t.Script=c={})),function(e){e.EvaluateResultExceptionSchema=r.default.lazy((()=>r.default.object({type:r.default.literal("exception"),exceptionDetails:e.ExceptionDetailsSchema,realm:e.RealmSchema})))}(c||(t.Script=c={})),function(e){e.HandleSchema=r.default.lazy((()=>r.default.string()))}(c||(t.Script=c={})),function(e){e.InternalIdSchema=r.default.lazy((()=>r.default.string()))}(c||(t.Script=c={})),function(e){e.ListLocalValueSchema=r.default.lazy((()=>r.default.array(e.LocalValueSchema)))}(c||(t.Script=c={})),function(e){e.LocalValueSchema=r.default.lazy((()=>r.default.union([e.RemoteReferenceSchema,e.PrimitiveProtocolValueSchema,e.ChannelValueSchema,e.ArrayLocalValueSchema,e.DateLocalValueSchema,e.MapLocalValueSchema,e.ObjectLocalValueSchema,e.RegExpLocalValueSchema,e.SetLocalValueSchema])))}(c||(t.Script=c={})),function(e){e.ArrayLocalValueSchema=r.default.lazy((()=>r.default.object({type:r.default.literal("array"),value:e.ListLocalValueSchema})))}(c||(t.Script=c={})),function(e){e.DateLocalValueSchema=r.default.lazy((()=>r.default.object({type:r.default.literal("date"),value:r.default.string()})))}(c||(t.Script=c={})),function(e){e.MappingLocalValueSchema=r.default.lazy((()=>r.default.array(r.default.tuple([r.default.union([e.LocalValueSchema,r.default.string()]),e.LocalValueSchema]))))}(c||(t.Script=c={})),function(e){e.MapLocalValueSchema=r.default.lazy((()=>r.default.object({type:r.default.literal("map"),value:e.MappingLocalValueSchema})))}(c||(t.Script=c={})),function(e){e.ObjectLocalValueSchema=r.default.lazy((()=>r.default.object({type:r.default.literal("object"),value:e.MappingLocalValueSchema})))}(c||(t.Script=c={})),function(e){e.RegExpValueSchema=r.default.lazy((()=>r.default.object({pattern:r.default.string(),flags:r.default.string().optional()})))}(c||(t.Script=c={})),function(e){e.RegExpLocalValueSchema=r.default.lazy((()=>r.default.object({type:r.default.literal("regexp"),value:e.RegExpValueSchema})))}(c||(t.Script=c={})),function(e){e.SetLocalValueSchema=r.default.lazy((()=>r.default.object({type:r.default.literal("set"),value:e.ListLocalValueSchema})))}(c||(t.Script=c={})),function(e){e.PreloadScriptSchema=r.default.lazy((()=>r.default.string()))}(c||(t.Script=c={})),function(e){e.RealmSchema=r.default.lazy((()=>r.default.string()))}(c||(t.Script=c={})),function(e){e.PrimitiveProtocolValueSchema=r.default.lazy((()=>r.default.union([e.UndefinedValueSchema,e.NullValueSchema,e.StringValueSchema,e.NumberValueSchema,e.BooleanValueSchema,e.BigIntValueSchema])))}(c||(t.Script=c={})),function(e){e.UndefinedValueSchema=r.default.lazy((()=>r.default.object({type:r.default.literal("undefined")})))}(c||(t.Script=c={})),function(e){e.NullValueSchema=r.default.lazy((()=>r.default.object({type:r.default.literal("null")})))}(c||(t.Script=c={})),function(e){e.StringValueSchema=r.default.lazy((()=>r.default.object({type:r.default.literal("string"),value:r.default.string()})))}(c||(t.Script=c={})),function(e){e.SpecialNumberSchema=r.default.lazy((()=>r.default.enum(["NaN","-0","Infinity","-Infinity"])))}(c||(t.Script=c={})),function(e){e.NumberValueSchema=r.default.lazy((()=>r.default.object({type:r.default.literal("number"),value:r.default.union([r.default.number(),e.SpecialNumberSchema])})))}(c||(t.Script=c={})),function(e){e.BooleanValueSchema=r.default.lazy((()=>r.default.object({type:r.default.literal("boolean"),value:r.default.boolean()})))}(c||(t.Script=c={})),function(e){e.BigIntValueSchema=r.default.lazy((()=>r.default.object({type:r.default.literal("bigint"),value:r.default.string()})))}(c||(t.Script=c={})),function(e){e.RealmInfoSchema=r.default.lazy((()=>r.default.union([e.WindowRealmInfoSchema,e.DedicatedWorkerRealmInfoSchema,e.SharedWorkerRealmInfoSchema,e.ServiceWorkerRealmInfoSchema,e.WorkerRealmInfoSchema,e.PaintWorkletRealmInfoSchema,e.AudioWorkletRealmInfoSchema,e.WorkletRealmInfoSchema])))}(c||(t.Script=c={})),function(e){e.BaseRealmInfoSchema=r.default.lazy((()=>r.default.object({realm:e.RealmSchema,origin:r.default.string()})))}(c||(t.Script=c={})),function(e){e.WindowRealmInfoSchema=r.default.lazy((()=>e.BaseRealmInfoSchema.and(r.default.object({type:r.default.literal("window"),context:o.BrowsingContextSchema,sandbox:r.default.string().optional()}))))}(c||(t.Script=c={})),function(e){e.DedicatedWorkerRealmInfoSchema=r.default.lazy((()=>e.BaseRealmInfoSchema.and(r.default.object({type:r.default.literal("dedicated-worker"),owners:r.default.tuple([e.RealmSchema])}))))}(c||(t.Script=c={})),function(e){e.SharedWorkerRealmInfoSchema=r.default.lazy((()=>e.BaseRealmInfoSchema.and(r.default.object({type:r.default.literal("shared-worker")}))))}(c||(t.Script=c={})),function(e){e.ServiceWorkerRealmInfoSchema=r.default.lazy((()=>e.BaseRealmInfoSchema.and(r.default.object({type:r.default.literal("service-worker")}))))}(c||(t.Script=c={})),function(e){e.WorkerRealmInfoSchema=r.default.lazy((()=>e.BaseRealmInfoSchema.and(r.default.object({type:r.default.literal("worker")}))))}(c||(t.Script=c={})),function(e){e.PaintWorkletRealmInfoSchema=r.default.lazy((()=>e.BaseRealmInfoSchema.and(r.default.object({type:r.default.literal("paint-worklet")}))))}(c||(t.Script=c={})),function(e){e.AudioWorkletRealmInfoSchema=r.default.lazy((()=>e.BaseRealmInfoSchema.and(r.default.object({type:r.default.literal("audio-worklet")}))))}(c||(t.Script=c={})),function(e){e.WorkletRealmInfoSchema=r.default.lazy((()=>e.BaseRealmInfoSchema.and(r.default.object({type:r.default.literal("worklet")}))))}(c||(t.Script=c={})),function(e){e.RealmTypeSchema=r.default.lazy((()=>r.default.enum(["window","dedicated-worker","shared-worker","service-worker","worker","paint-worklet","audio-worklet","worklet"])))}(c||(t.Script=c={})),function(e){e.ListRemoteValueSchema=r.default.lazy((()=>r.default.array(e.RemoteValueSchema)))}(c||(t.Script=c={})),function(e){e.MappingRemoteValueSchema=r.default.lazy((()=>r.default.array(r.default.tuple([r.default.union([e.RemoteValueSchema,r.default.string()]),e.RemoteValueSchema]))))}(c||(t.Script=c={})),function(e){e.RemoteValueSchema=r.default.lazy((()=>r.default.union([e.PrimitiveProtocolValueSchema,e.SymbolRemoteValueSchema,e.ArrayRemoteValueSchema,e.ObjectRemoteValueSchema,e.FunctionRemoteValueSchema,e.RegExpRemoteValueSchema,e.DateRemoteValueSchema,e.MapRemoteValueSchema,e.SetRemoteValueSchema,e.WeakMapRemoteValueSchema,e.WeakSetRemoteValueSchema,e.IteratorRemoteValueSchema,e.GeneratorRemoteValueSchema,e.ErrorRemoteValueSchema,e.ProxyRemoteValueSchema,e.PromiseRemoteValueSchema,e.TypedArrayRemoteValueSchema,e.ArrayBufferRemoteValueSchema,e.NodeListRemoteValueSchema,e.HtmlCollectionRemoteValueSchema,e.NodeRemoteValueSchema,e.WindowProxyRemoteValueSchema])))}(c||(t.Script=c={})),function(e){e.RemoteReferenceSchema=r.default.lazy((()=>r.default.union([e.SharedReferenceSchema,e.RemoteObjectReferenceSchema])))}(c||(t.Script=c={})),function(e){e.SharedReferenceSchema=r.default.lazy((()=>r.default.object({sharedId:e.SharedIdSchema,handle:e.HandleSchema.optional()}).and(t.ExtensibleSchema)))}(c||(t.Script=c={})),function(e){e.RemoteObjectReferenceSchema=r.default.lazy((()=>r.default.object({handle:e.HandleSchema,sharedId:e.SharedIdSchema.optional()}).and(t.ExtensibleSchema)))}(c||(t.Script=c={})),function(e){e.SymbolRemoteValueSchema=r.default.lazy((()=>r.default.object({type:r.default.literal("symbol"),handle:e.HandleSchema.optional(),internalId:e.InternalIdSchema.optional()})))}(c||(t.Script=c={})),function(e){e.ArrayRemoteValueSchema=r.default.lazy((()=>r.default.object({type:r.default.literal("array"),handle:e.HandleSchema.optional(),internalId:e.InternalIdSchema.optional(),value:e.ListRemoteValueSchema.optional()})))}(c||(t.Script=c={})),function(e){e.ObjectRemoteValueSchema=r.default.lazy((()=>r.default.object({type:r.default.literal("object"),handle:e.HandleSchema.optional(),internalId:e.InternalIdSchema.optional(),value:e.MappingRemoteValueSchema.optional()})))}(c||(t.Script=c={})),function(e){e.FunctionRemoteValueSchema=r.default.lazy((()=>r.default.object({type:r.default.literal("function"),handle:e.HandleSchema.optional(),internalId:e.InternalIdSchema.optional()})))}(c||(t.Script=c={})),function(e){e.RegExpRemoteValueSchema=r.default.lazy((()=>r.default.object({handle:e.HandleSchema.optional(),internalId:e.InternalIdSchema.optional()}).and(e.RegExpLocalValueSchema)))}(c||(t.Script=c={})),function(e){e.DateRemoteValueSchema=r.default.lazy((()=>r.default.object({handle:e.HandleSchema.optional(),internalId:e.InternalIdSchema.optional()}).and(e.DateLocalValueSchema)))}(c||(t.Script=c={})),function(e){e.MapRemoteValueSchema=r.default.lazy((()=>r.default.object({type:r.default.literal("map"),handle:e.HandleSchema.optional(),internalId:e.InternalIdSchema.optional(),value:e.MappingRemoteValueSchema.optional()})))}(c||(t.Script=c={})),function(e){e.SetRemoteValueSchema=r.default.lazy((()=>r.default.object({type:r.default.literal("set"),handle:e.HandleSchema.optional(),internalId:e.InternalIdSchema.optional(),value:e.ListRemoteValueSchema.optional()})))}(c||(t.Script=c={})),function(e){e.WeakMapRemoteValueSchema=r.default.lazy((()=>r.default.object({type:r.default.literal("weakmap"),handle:e.HandleSchema.optional(),internalId:e.InternalIdSchema.optional()})))}(c||(t.Script=c={})),function(e){e.WeakSetRemoteValueSchema=r.default.lazy((()=>r.default.object({type:r.default.literal("weakset"),handle:e.HandleSchema.optional(),internalId:e.InternalIdSchema.optional()})))}(c||(t.Script=c={})),function(e){e.IteratorRemoteValueSchema=r.default.lazy((()=>r.default.object({type:r.default.literal("iterator"),handle:e.HandleSchema.optional(),internalId:e.InternalIdSchema.optional()})))}(c||(t.Script=c={})),function(e){e.GeneratorRemoteValueSchema=r.default.lazy((()=>r.default.object({type:r.default.literal("generator"),handle:e.HandleSchema.optional(),internalId:e.InternalIdSchema.optional()})))}(c||(t.Script=c={})),function(e){e.ErrorRemoteValueSchema=r.default.lazy((()=>r.default.object({type:r.default.literal("error"),handle:e.HandleSchema.optional(),internalId:e.InternalIdSchema.optional()})))}(c||(t.Script=c={})),function(e){e.ProxyRemoteValueSchema=r.default.lazy((()=>r.default.object({type:r.default.literal("proxy"),handle:e.HandleSchema.optional(),internalId:e.InternalIdSchema.optional()})))}(c||(t.Script=c={})),function(e){e.PromiseRemoteValueSchema=r.default.lazy((()=>r.default.object({type:r.default.literal("promise"),handle:e.HandleSchema.optional(),internalId:e.InternalIdSchema.optional()})))}(c||(t.Script=c={})),function(e){e.TypedArrayRemoteValueSchema=r.default.lazy((()=>r.default.object({type:r.default.literal("typedarray"),handle:e.HandleSchema.optional(),internalId:e.InternalIdSchema.optional()})))}(c||(t.Script=c={})),function(e){e.ArrayBufferRemoteValueSchema=r.default.lazy((()=>r.default.object({type:r.default.literal("arraybuffer"),handle:e.HandleSchema.optional(),internalId:e.InternalIdSchema.optional()})))}(c||(t.Script=c={})),function(e){e.NodeListRemoteValueSchema=r.default.lazy((()=>r.default.object({type:r.default.literal("nodelist"),handle:e.HandleSchema.optional(),internalId:e.InternalIdSchema.optional(),value:e.ListRemoteValueSchema.optional()})))}(c||(t.Script=c={})),function(e){e.HtmlCollectionRemoteValueSchema=r.default.lazy((()=>r.default.object({type:r.default.literal("htmlcollection"),handle:e.HandleSchema.optional(),internalId:e.InternalIdSchema.optional(),value:e.ListRemoteValueSchema.optional()})))}(c||(t.Script=c={})),function(e){e.NodeRemoteValueSchema=r.default.lazy((()=>r.default.object({type:r.default.literal("node"),sharedId:e.SharedIdSchema.optional(),handle:e.HandleSchema.optional(),internalId:e.InternalIdSchema.optional(),value:e.NodePropertiesSchema.optional()})))}(c||(t.Script=c={})),function(e){e.NodePropertiesSchema=r.default.lazy((()=>r.default.object({nodeType:t.JsUintSchema,childNodeCount:t.JsUintSchema,attributes:r.default.record(r.default.string(),r.default.string()).optional(),children:r.default.array(e.NodeRemoteValueSchema).optional(),localName:r.default.string().optional(),mode:r.default.enum(["open","closed"]).optional(),namespaceURI:r.default.string().optional(),nodeValue:r.default.string().optional(),shadowRoot:r.default.union([e.NodeRemoteValueSchema,r.default.null()]).optional()})))}(c||(t.Script=c={})),function(e){e.WindowProxyRemoteValueSchema=r.default.lazy((()=>r.default.object({type:r.default.literal("window"),value:e.WindowProxyPropertiesSchema,handle:e.HandleSchema.optional(),internalId:e.InternalIdSchema.optional()})))}(c||(t.Script=c={})),function(e){e.WindowProxyPropertiesSchema=r.default.lazy((()=>r.default.object({context:o.BrowsingContextSchema})))}(c||(t.Script=c={})),function(e){e.ResultOwnershipSchema=r.default.lazy((()=>r.default.enum(["root","none"])))}(c||(t.Script=c={})),function(e){e.SerializationOptionsSchema=r.default.lazy((()=>r.default.object({maxDomDepth:r.default.union([t.JsUintSchema,r.default.null()]).default(0).optional(),maxObjectDepth:r.default.union([t.JsUintSchema,r.default.null()]).default(null).optional(),includeShadowTree:r.default.enum(["none","open","all"]).default("none").optional()})))}(c||(t.Script=c={})),function(e){e.SharedIdSchema=r.default.lazy((()=>r.default.string()))}(c||(t.Script=c={})),function(e){e.StackFrameSchema=r.default.lazy((()=>r.default.object({columnNumber:t.JsUintSchema,functionName:r.default.string(),lineNumber:t.JsUintSchema,url:r.default.string()})))}(c||(t.Script=c={})),function(e){e.StackTraceSchema=r.default.lazy((()=>r.default.object({callFrames:r.default.array(e.StackFrameSchema)})))}(c||(t.Script=c={})),function(e){e.SourceSchema=r.default.lazy((()=>r.default.object({realm:e.RealmSchema,context:o.BrowsingContextSchema.optional()})))}(c||(t.Script=c={})),function(e){e.RealmTargetSchema=r.default.lazy((()=>r.default.object({realm:e.RealmSchema})))}(c||(t.Script=c={})),function(e){e.ContextTargetSchema=r.default.lazy((()=>r.default.object({context:o.BrowsingContextSchema,sandbox:r.default.string().optional()})))}(c||(t.Script=c={})),function(e){e.TargetSchema=r.default.lazy((()=>r.default.union([e.RealmTargetSchema,e.ContextTargetSchema])))}(c||(t.Script=c={})),function(e){e.AddPreloadScriptSchema=r.default.lazy((()=>r.default.object({method:r.default.literal("script.addPreloadScript"),params:e.AddPreloadScriptParametersSchema})))}(c||(t.Script=c={})),function(e){e.AddPreloadScriptParametersSchema=r.default.lazy((()=>r.default.object({functionDeclaration:r.default.string(),arguments:r.default.array(e.ChannelValueSchema).optional(),contexts:r.default.array(o.BrowsingContextSchema).min(1).optional(),sandbox:r.default.string().optional()})))}(c||(t.Script=c={})),function(e){e.AddPreloadScriptResultSchema=r.default.lazy((()=>r.default.object({script:e.PreloadScriptSchema})))}(c||(t.Script=c={})),function(e){e.DisownSchema=r.default.lazy((()=>r.default.object({method:r.default.literal("script.disown"),params:e.DisownParametersSchema})))}(c||(t.Script=c={})),function(e){e.DisownParametersSchema=r.default.lazy((()=>r.default.object({handles:r.default.array(e.HandleSchema),target:e.TargetSchema})))}(c||(t.Script=c={})),function(e){e.CallFunctionParametersSchema=r.default.lazy((()=>r.default.object({functionDeclaration:r.default.string(),awaitPromise:r.default.boolean(),target:e.TargetSchema,arguments:r.default.array(e.LocalValueSchema).optional(),resultOwnership:e.ResultOwnershipSchema.optional(),serializationOptions:e.SerializationOptionsSchema.optional(),this:e.LocalValueSchema.optional(),userActivation:r.default.boolean().default(!1).optional()})))}(c||(t.Script=c={})),function(e){e.CallFunctionSchema=r.default.lazy((()=>r.default.object({method:r.default.literal("script.callFunction"),params:e.CallFunctionParametersSchema})))}(c||(t.Script=c={})),function(e){e.EvaluateSchema=r.default.lazy((()=>r.default.object({method:r.default.literal("script.evaluate"),params:e.EvaluateParametersSchema})))}(c||(t.Script=c={})),function(e){e.EvaluateParametersSchema=r.default.lazy((()=>r.default.object({expression:r.default.string(),target:e.TargetSchema,awaitPromise:r.default.boolean(),resultOwnership:e.ResultOwnershipSchema.optional(),serializationOptions:e.SerializationOptionsSchema.optional(),userActivation:r.default.boolean().default(!1).optional()})))}(c||(t.Script=c={})),function(e){e.GetRealmsSchema=r.default.lazy((()=>r.default.object({method:r.default.literal("script.getRealms"),params:e.GetRealmsParametersSchema})))}(c||(t.Script=c={})),function(e){e.GetRealmsParametersSchema=r.default.lazy((()=>r.default.object({context:o.BrowsingContextSchema.optional(),type:e.RealmTypeSchema.optional()})))}(c||(t.Script=c={})),function(e){e.GetRealmsResultSchema=r.default.lazy((()=>r.default.object({realms:r.default.array(e.RealmInfoSchema)})))}(c||(t.Script=c={})),function(e){e.RemovePreloadScriptSchema=r.default.lazy((()=>r.default.object({method:r.default.literal("script.removePreloadScript"),params:e.RemovePreloadScriptParametersSchema})))}(c||(t.Script=c={})),function(e){e.RemovePreloadScriptParametersSchema=r.default.lazy((()=>r.default.object({script:e.PreloadScriptSchema})))}(c||(t.Script=c={})),function(e){e.MessageParametersSchema=r.default.lazy((()=>r.default.object({channel:e.ChannelSchema,data:e.RemoteValueSchema,source:e.SourceSchema})))}(c||(t.Script=c={})),function(e){e.RealmCreatedSchema=r.default.lazy((()=>r.default.object({method:r.default.literal("script.realmCreated"),params:e.RealmInfoSchema})))}(c||(t.Script=c={})),function(e){e.MessageSchema=r.default.lazy((()=>r.default.object({method:r.default.literal("script.message"),params:e.MessageParametersSchema})))}(c||(t.Script=c={})),function(e){e.RealmDestroyedSchema=r.default.lazy((()=>r.default.object({method:r.default.literal("script.realmDestroyed"),params:e.RealmDestroyedParametersSchema})))}(c||(t.Script=c={})),function(e){e.RealmDestroyedParametersSchema=r.default.lazy((()=>r.default.object({realm:e.RealmSchema})))}(c||(t.Script=c={})),t.StorageCommandSchema=r.default.lazy((()=>r.default.union([d.DeleteCookiesSchema,d.GetCookiesSchema,d.SetCookieSchema]))),t.StorageResultSchema=r.default.lazy((()=>r.default.union([d.DeleteCookiesResultSchema,d.GetCookiesResultSchema,d.SetCookieResultSchema]))),function(e){e.PartitionKeySchema=r.default.lazy((()=>r.default.object({userContext:r.default.string().optional(),sourceOrigin:r.default.string().optional()}).and(t.ExtensibleSchema)))}(d||(t.Storage=d={})),function(e){e.GetCookiesSchema=r.default.lazy((()=>r.default.object({method:r.default.literal("storage.getCookies"),params:e.GetCookiesParametersSchema})))}(d||(t.Storage=d={})),function(e){e.CookieFilterSchema=r.default.lazy((()=>r.default.object({name:r.default.string().optional(),value:i.BytesValueSchema.optional(),domain:r.default.string().optional(),path:r.default.string().optional(),size:t.JsUintSchema.optional(),httpOnly:r.default.boolean().optional(),secure:r.default.boolean().optional(),sameSite:i.SameSiteSchema.optional(),expiry:t.JsUintSchema.optional()}).and(t.ExtensibleSchema)))}(d||(t.Storage=d={})),function(e){e.BrowsingContextPartitionDescriptorSchema=r.default.lazy((()=>r.default.object({type:r.default.literal("context"),context:o.BrowsingContextSchema})))}(d||(t.Storage=d={})),function(e){e.StorageKeyPartitionDescriptorSchema=r.default.lazy((()=>r.default.object({type:r.default.literal("storageKey"),userContext:r.default.string().optional(),sourceOrigin:r.default.string().optional()}).and(t.ExtensibleSchema)))}(d||(t.Storage=d={})),function(e){e.PartitionDescriptorSchema=r.default.lazy((()=>r.default.union([e.BrowsingContextPartitionDescriptorSchema,e.StorageKeyPartitionDescriptorSchema])))}(d||(t.Storage=d={})),function(e){e.GetCookiesParametersSchema=r.default.lazy((()=>r.default.object({filter:e.CookieFilterSchema.optional(),partition:e.PartitionDescriptorSchema.optional()})))}(d||(t.Storage=d={})),function(e){e.GetCookiesResultSchema=r.default.lazy((()=>r.default.object({cookies:r.default.array(i.CookieSchema),partitionKey:e.PartitionKeySchema})))}(d||(t.Storage=d={})),function(e){e.SetCookieSchema=r.default.lazy((()=>r.default.object({method:r.default.literal("storage.setCookie"),params:e.SetCookieParametersSchema})))}(d||(t.Storage=d={})),function(e){e.PartialCookieSchema=r.default.lazy((()=>r.default.object({name:r.default.string(),value:i.BytesValueSchema,domain:r.default.string(),path:r.default.string().optional(),httpOnly:r.default.boolean().optional(),secure:r.default.boolean().optional(),sameSite:i.SameSiteSchema.optional(),expiry:t.JsUintSchema.optional()}).and(t.ExtensibleSchema)))}(d||(t.Storage=d={})),function(e){e.SetCookieParametersSchema=r.default.lazy((()=>r.default.object({cookie:e.PartialCookieSchema,partition:e.PartitionDescriptorSchema.optional()})))}(d||(t.Storage=d={})),function(e){e.SetCookieResultSchema=r.default.lazy((()=>r.default.object({partitionKey:e.PartitionKeySchema})))}(d||(t.Storage=d={})),function(e){e.DeleteCookiesSchema=r.default.lazy((()=>r.default.object({method:r.default.literal("storage.deleteCookies"),params:e.DeleteCookiesParametersSchema})))}(d||(t.Storage=d={})),function(e){e.DeleteCookiesParametersSchema=r.default.lazy((()=>r.default.object({filter:e.CookieFilterSchema.optional(),partition:e.PartitionDescriptorSchema.optional()})))}(d||(t.Storage=d={})),function(e){e.DeleteCookiesResultSchema=r.default.lazy((()=>r.default.object({partitionKey:e.PartitionKeySchema})))}(d||(t.Storage=d={})),t.LogEventSchema=r.default.lazy((()=>u.EntryAddedSchema)),function(e){e.LevelSchema=r.default.lazy((()=>r.default.enum(["debug","info","warn","error"])))}(u||(t.Log=u={})),function(e){e.EntrySchema=r.default.lazy((()=>r.default.union([e.GenericLogEntrySchema,e.ConsoleLogEntrySchema,e.JavascriptLogEntrySchema])))}(u||(t.Log=u={})),function(e){e.BaseLogEntrySchema=r.default.lazy((()=>r.default.object({level:e.LevelSchema,source:c.SourceSchema,text:r.default.union([r.default.string(),r.default.null()]),timestamp:t.JsUintSchema,stackTrace:c.StackTraceSchema.optional()})))}(u||(t.Log=u={})),function(e){e.GenericLogEntrySchema=r.default.lazy((()=>e.BaseLogEntrySchema.and(r.default.object({type:r.default.string()}))))}(u||(t.Log=u={})),function(e){e.ConsoleLogEntrySchema=r.default.lazy((()=>e.BaseLogEntrySchema.and(r.default.object({type:r.default.literal("console"),method:r.default.string(),args:r.default.array(c.RemoteValueSchema)}))))}(u||(t.Log=u={})),function(e){e.JavascriptLogEntrySchema=r.default.lazy((()=>e.BaseLogEntrySchema.and(r.default.object({type:r.default.literal("javascript")}))))}(u||(t.Log=u={})),function(e){e.EntryAddedSchema=r.default.lazy((()=>r.default.object({method:r.default.literal("log.entryAdded"),params:e.EntrySchema})))}(u||(t.Log=u={})),t.InputCommandSchema=r.default.lazy((()=>r.default.union([l.PerformActionsSchema,l.ReleaseActionsSchema,l.SetFilesSchema]))),function(e){e.ElementOriginSchema=r.default.lazy((()=>r.default.object({type:r.default.literal("element"),element:c.SharedReferenceSchema})))}(l||(t.Input=l={})),function(e){e.PerformActionsParametersSchema=r.default.lazy((()=>r.default.object({context:o.BrowsingContextSchema,actions:r.default.array(e.SourceActionsSchema)})))}(l||(t.Input=l={})),function(e){e.NoneSourceActionsSchema=r.default.lazy((()=>r.default.object({type:r.default.literal("none"),id:r.default.string(),actions:r.default.array(e.NoneSourceActionSchema)})))}(l||(t.Input=l={})),function(e){e.KeySourceActionsSchema=r.default.lazy((()=>r.default.object({type:r.default.literal("key"),id:r.default.string(),actions:r.default.array(e.KeySourceActionSchema)})))}(l||(t.Input=l={})),function(e){e.PointerSourceActionsSchema=r.default.lazy((()=>r.default.object({type:r.default.literal("pointer"),id:r.default.string(),parameters:e.PointerParametersSchema.optional(),actions:r.default.array(e.PointerSourceActionSchema)})))}(l||(t.Input=l={})),function(e){e.PerformActionsSchema=r.default.lazy((()=>r.default.object({method:r.default.literal("input.performActions"),params:e.PerformActionsParametersSchema})))}(l||(t.Input=l={})),function(e){e.SourceActionsSchema=r.default.lazy((()=>r.default.union([e.NoneSourceActionsSchema,e.KeySourceActionsSchema,e.PointerSourceActionsSchema,e.WheelSourceActionsSchema])))}(l||(t.Input=l={})),function(e){e.NoneSourceActionSchema=r.default.lazy((()=>e.PauseActionSchema))}(l||(t.Input=l={})),function(e){e.KeySourceActionSchema=r.default.lazy((()=>r.default.union([e.PauseActionSchema,e.KeyDownActionSchema,e.KeyUpActionSchema])))}(l||(t.Input=l={})),function(e){e.PointerTypeSchema=r.default.lazy((()=>r.default.enum(["mouse","pen","touch"])))}(l||(t.Input=l={})),function(e){e.PointerParametersSchema=r.default.lazy((()=>r.default.object({pointerType:e.PointerTypeSchema.default("mouse").optional()})))}(l||(t.Input=l={})),function(e){e.WheelSourceActionsSchema=r.default.lazy((()=>r.default.object({type:r.default.literal("wheel"),id:r.default.string(),actions:r.default.array(e.WheelSourceActionSchema)})))}(l||(t.Input=l={})),function(e){e.PointerSourceActionSchema=r.default.lazy((()=>r.default.union([e.PauseActionSchema,e.PointerDownActionSchema,e.PointerUpActionSchema,e.PointerMoveActionSchema])))}(l||(t.Input=l={})),function(e){e.WheelSourceActionSchema=r.default.lazy((()=>r.default.union([e.PauseActionSchema,e.WheelScrollActionSchema])))}(l||(t.Input=l={})),function(e){e.PauseActionSchema=r.default.lazy((()=>r.default.object({type:r.default.literal("pause"),duration:t.JsUintSchema.optional()})))}(l||(t.Input=l={})),function(e){e.KeyDownActionSchema=r.default.lazy((()=>r.default.object({type:r.default.literal("keyDown"),value:r.default.string()})))}(l||(t.Input=l={})),function(e){e.KeyUpActionSchema=r.default.lazy((()=>r.default.object({type:r.default.literal("keyUp"),value:r.default.string()})))}(l||(t.Input=l={})),function(e){e.PointerUpActionSchema=r.default.lazy((()=>r.default.object({type:r.default.literal("pointerUp"),button:t.JsUintSchema})))}(l||(t.Input=l={})),function(e){e.PointerDownActionSchema=r.default.lazy((()=>r.default.object({type:r.default.literal("pointerDown"),button:t.JsUintSchema}).and(e.PointerCommonPropertiesSchema)))}(l||(t.Input=l={})),function(e){e.PointerMoveActionSchema=r.default.lazy((()=>r.default.object({type:r.default.literal("pointerMove"),x:t.JsIntSchema,y:t.JsIntSchema,duration:t.JsUintSchema.optional(),origin:e.OriginSchema.optional()}).and(e.PointerCommonPropertiesSchema)))}(l||(t.Input=l={})),function(e){e.WheelScrollActionSchema=r.default.lazy((()=>r.default.object({type:r.default.literal("scroll"),x:t.JsIntSchema,y:t.JsIntSchema,deltaX:t.JsIntSchema,deltaY:t.JsIntSchema,duration:t.JsUintSchema.optional(),origin:e.OriginSchema.default("viewport").optional()})))}(l||(t.Input=l={})),function(e){e.PointerCommonPropertiesSchema=r.default.lazy((()=>r.default.object({width:t.JsUintSchema.default(1).optional(),height:t.JsUintSchema.default(1).optional(),pressure:r.default.number().default(0).optional(),tangentialPressure:r.default.number().default(0).optional(),twist:r.default.number().int().nonnegative().gte(0).lte(359).default(0).optional(),altitudeAngle:r.default.number().gte(0).lte(1.5707963267948966).default(0).optional(),azimuthAngle:r.default.number().gte(0).lte(6.283185307179586).default(0).optional()})))}(l||(t.Input=l={})),function(e){e.OriginSchema=r.default.lazy((()=>r.default.union([r.default.literal("viewport"),r.default.literal("pointer"),e.ElementOriginSchema])))}(l||(t.Input=l={})),function(e){e.ReleaseActionsSchema=r.default.lazy((()=>r.default.object({method:r.default.literal("input.releaseActions"),params:e.ReleaseActionsParametersSchema})))}(l||(t.Input=l={})),function(e){e.ReleaseActionsParametersSchema=r.default.lazy((()=>r.default.object({context:o.BrowsingContextSchema})))}(l||(t.Input=l={})),function(e){e.SetFilesSchema=r.default.lazy((()=>r.default.object({method:r.default.literal("input.setFiles"),params:e.SetFilesParametersSchema})))}(l||(t.Input=l={})),function(e){e.SetFilesParametersSchema=r.default.lazy((()=>r.default.object({context:o.BrowsingContextSchema,element:c.SharedReferenceSchema,files:r.default.array(r.default.string())})))}(l||(t.Input=l={}))}(Mn);var Bn=e&&e.__createBinding||(Object.create?function(e,t,a,r){void 0===r&&(r=a);var n=Object.getOwnPropertyDescriptor(t,a);n&&!("get"in n?!t.__esModule:n.writable||n.configurable)||(n={enumerable:!0,get:function(){return t[a]}}),Object.defineProperty(e,r,n)}:function(e,t,a,r){void 0===r&&(r=a),e[r]=t[a]}),An=e&&e.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),zn=e&&e.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var a in e)"default"!==a&&Object.prototype.hasOwnProperty.call(e,a)&&Bn(t,e,a);return An(t,e),t};Object.defineProperty(ln,"__esModule",{value:!0}),ln.Permissions=ln.Cdp=ln.Storage=ln.Input=ln.Session=ln.BrowsingContext=ln.Script=ln.Network=ln.Browser=ln.parseObject=void 0;const Dn=hn,Ln=g,Zn=zn(Tn),Un=zn(Mn);function Fn(e,t){const a=t.safeParse(e);if(a.success)return a.data;const r=a.error.errors.map((e=>`${e.message} in ${e.path.map((e=>JSON.stringify(e))).join("/")}.`)).join(" ");throw new Ln.InvalidArgumentException(r)}var qn,Vn,$n,Kn,Hn,Wn,Jn,Gn,Xn;ln.parseObject=Fn,function(e){e.parseRemoveUserContextParams=function(e){return Fn(e,Un.Browser.RemoveUserContextParametersSchema)}}(qn||(ln.Browser=qn={})),function(e){e.parseAddInterceptParameters=function(e){return Fn(e,Un.Network.AddInterceptParametersSchema)},e.parseContinueRequestParameters=function(e){return Fn(e,Un.Network.ContinueRequestParametersSchema)},e.parseContinueResponseParameters=function(e){return Fn(e,Un.Network.ContinueResponseParametersSchema)},e.parseContinueWithAuthParameters=function(e){return Fn(e,Un.Network.ContinueWithAuthParametersSchema)},e.parseFailRequestParameters=function(e){return Fn(e,Un.Network.FailRequestParametersSchema)},e.parseProvideResponseParameters=function(e){return Fn(e,Un.Network.ProvideResponseParametersSchema)},e.parseRemoveInterceptParameters=function(e){return Fn(e,Un.Network.RemoveInterceptParametersSchema)}}(Vn||(ln.Network=Vn={})),function(e){e.parseGetRealmsParams=function(e){return Fn(e,Un.Script.GetRealmsParametersSchema)},e.parseEvaluateParams=function(e){return Fn(e,Un.Script.EvaluateParametersSchema)},e.parseDisownParams=function(e){return Fn(e,Un.Script.DisownParametersSchema)},e.parseAddPreloadScriptParams=function(e){return Fn(e,Un.Script.AddPreloadScriptParametersSchema)},e.parseRemovePreloadScriptParams=function(e){return Fn(e,Un.Script.RemovePreloadScriptParametersSchema)},e.parseCallFunctionParams=function(e){return Fn(e,Un.Script.CallFunctionParametersSchema)}}($n||(ln.Script=$n={})),function(e){e.parseActivateParams=function(e){return Fn(e,Un.BrowsingContext.ActivateParametersSchema)},e.parseGetTreeParams=function(e){return Fn(e,Un.BrowsingContext.GetTreeParametersSchema)},e.parseNavigateParams=function(e){return Fn(e,Un.BrowsingContext.NavigateParametersSchema)},e.parseReloadParams=function(e){return Fn(e,Un.BrowsingContext.ReloadParametersSchema)},e.parseCreateParams=function(e){return Fn(e,Un.BrowsingContext.CreateParametersSchema)},e.parseCloseParams=function(e){return Fn(e,Un.BrowsingContext.CloseParametersSchema)},e.parseCaptureScreenshotParams=function(e){return Fn(e,Un.BrowsingContext.CaptureScreenshotParametersSchema)},e.parsePrintParams=function(e){return Fn(e,Un.BrowsingContext.PrintParametersSchema)},e.parseSetViewportParams=function(e){return Fn(e,Un.BrowsingContext.SetViewportParametersSchema)},e.parseTraverseHistoryParams=function(e){return Fn(e,Un.BrowsingContext.TraverseHistoryParametersSchema)},e.parseHandleUserPromptParameters=function(e){return Fn(e,Un.BrowsingContext.HandleUserPromptParametersSchema)}}(Kn||(ln.BrowsingContext=Kn={})),function(e){e.parseSubscribeParams=function(e){return Fn(e,Un.Session.SubscriptionRequestSchema)}}(Hn||(ln.Session=Hn={})),function(e){e.parsePerformActionsParams=function(e){return Fn(e,Un.Input.PerformActionsParametersSchema)},e.parseReleaseActionsParams=function(e){return Fn(e,Un.Input.ReleaseActionsParametersSchema)},e.parseSetFilesParams=function(e){return Fn(e,Un.Input.SetFilesParametersSchema)}}(Wn||(ln.Input=Wn={})),function(e){e.parseGetCookiesParams=function(e){return Fn(e,Un.Storage.GetCookiesParametersSchema)},e.parseSetCookieParams=function(e){return Fn(e,Un.Storage.SetCookieParametersSchema)},e.parseDeleteCookiesParams=function(e){return Fn(e,Un.Storage.DeleteCookiesParametersSchema)}}(Jn||(ln.Storage=Jn={})),function(e){const t=Dn.z.object({method:Dn.z.string(),params:Dn.z.object({}).passthrough().optional(),session:Dn.z.string().optional()}),a=Dn.z.object({context:Un.BrowsingContext.BrowsingContextSchema}),r=Dn.z.object({realm:Un.Script.RealmSchema});e.parseSendCommandRequest=function(e){return Fn(e,t)},e.parseGetSessionRequest=function(e){return Fn(e,a)},e.parseResolveRealmRequest=function(e){return Fn(e,r)}}(Gn||(ln.Cdp=Gn={})),function(e){e.parseSetPermissionsParams=function(e){return{...e,...Fn(e,Zn.Permissions.SetPermissionParametersSchema)}}}(Xn||(ln.Permissions=Xn={}));var Yn=e&&e.__createBinding||(Object.create?function(e,t,a,r){void 0===r&&(r=a);var n=Object.getOwnPropertyDescriptor(t,a);n&&!("get"in n?!t.__esModule:n.writable||n.configurable)||(n={enumerable:!0,get:function(){return t[a]}}),Object.defineProperty(e,r,n)}:function(e,t,a,r){void 0===r&&(r=a),e[r]=t[a]}),Qn=e&&e.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),es=e&&e.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var a in e)"default"!==a&&Object.prototype.hasOwnProperty.call(e,a)&&Yn(t,e,a);return Qn(t,e),t};Object.defineProperty(un,"__esModule",{value:!0}),un.BidiParser=void 0;const ts=es(ln);un.BidiParser=class{parseRemoveUserContextParams(e){return ts.Browser.parseRemoveUserContextParams(e)}parseActivateParams(e){return ts.BrowsingContext.parseActivateParams(e)}parseCaptureScreenshotParams(e){return ts.BrowsingContext.parseCaptureScreenshotParams(e)}parseCloseParams(e){return ts.BrowsingContext.parseCloseParams(e)}parseCreateParams(e){return ts.BrowsingContext.parseCreateParams(e)}parseGetTreeParams(e){return ts.BrowsingContext.parseGetTreeParams(e)}parseHandleUserPromptParams(e){return ts.BrowsingContext.parseHandleUserPromptParameters(e)}parseNavigateParams(e){return ts.BrowsingContext.parseNavigateParams(e)}parsePrintParams(e){return ts.BrowsingContext.parsePrintParams(e)}parseReloadParams(e){return ts.BrowsingContext.parseReloadParams(e)}parseSetViewportParams(e){return ts.BrowsingContext.parseSetViewportParams(e)}parseTraverseHistoryParams(e){return ts.BrowsingContext.parseTraverseHistoryParams(e)}parseGetSessionParams(e){return ts.Cdp.parseGetSessionRequest(e)}parseResolveRealmParams(e){return ts.Cdp.parseResolveRealmRequest(e)}parseSendCommandParams(e){return ts.Cdp.parseSendCommandRequest(e)}parsePerformActionsParams(e){return ts.Input.parsePerformActionsParams(e)}parseReleaseActionsParams(e){return ts.Input.parseReleaseActionsParams(e)}parseSetFilesParams(e){return ts.Input.parseSetFilesParams(e)}parseAddInterceptParams(e){return ts.Network.parseAddInterceptParameters(e)}parseContinueRequestParams(e){return ts.Network.parseContinueRequestParameters(e)}parseContinueResponseParams(e){return ts.Network.parseContinueResponseParameters(e)}parseContinueWithAuthParams(e){return ts.Network.parseContinueWithAuthParameters(e)}parseFailRequestParams(e){return ts.Network.parseFailRequestParameters(e)}parseProvideResponseParams(e){return ts.Network.parseProvideResponseParameters(e)}parseRemoveInterceptParams(e){return ts.Network.parseRemoveInterceptParameters(e)}parseSetPermissionsParams(e){return ts.Permissions.parseSetPermissionsParams(e)}parseAddPreloadScriptParams(e){return ts.Script.parseAddPreloadScriptParams(e)}parseCallFunctionParams(e){return ts.Script.parseCallFunctionParams(e)}parseDisownParams(e){return ts.Script.parseDisownParams(e)}parseEvaluateParams(e){return ts.Script.parseEvaluateParams(e)}parseGetRealmsParams(e){return ts.Script.parseGetRealmsParams(e)}parseRemovePreloadScriptParams(e){return ts.Script.parseRemovePreloadScriptParams(e)}parseSubscribeParams(e){return ts.Session.parseSubscribeParams(e)}parseDeleteCookiesParams(e){return ts.Storage.parseDeleteCookiesParams(e)}parseGetCookiesParams(e){return ts.Storage.parseGetCookiesParams(e)}parseSetCookieParams(e){return ts.Storage.parseSetCookieParams(e)}};var as={};Object.defineProperty(as,"__esModule",{value:!0}),as.log=as.generatePage=void 0;const rs=l;function ns(e){const t=e.split(":")[0],a=`${t}_log`,r=document.getElementById(a);if(r)return r;const n=document.getElementById("details"),s=document.createElement("div");s.className="divider",n.appendChild(s);const o=document.createElement("div");return o.className="item",o.innerHTML=`

${t}

`,n.appendChild(o),document.getElementById(a)}function ss(e){return"object"==typeof e?JSON.stringify(e,null,2):e}as.generatePage=function(){globalThis.document.documentElement&&(globalThis.document.documentElement.innerHTML='BiDi-CDP Mapper

BiDi-CDP Mapper is controlling this tab

Closing or reloading it will stop the BiDi process. Details.

Debug information
',ns(rs.LogType.debugInfo),ns(rs.LogType.bidi),ns(rs.LogType.cdp))},as.log=function(t,...a){if(!globalThis.document.documentElement)return;t.startsWith(rs.LogType.bidi)||e.window?.sendDebugMessage?.(JSON.stringify({logType:t,messages:a}));const r=ns(t),n=document.createElement("div");n.className="pre",n.textContent=[t,...a].map(ss).join(" "),r.appendChild(n),r.childNodes.length>200&&r.removeChild(r.childNodes[0])};var os={};Object.defineProperty(os,"__esModule",{value:!0}),os.WindowCdpTransport=os.WindowBidiTransport=void 0;const is=l,cs=as;class ds{static LOGGER_PREFIX_RECV=`${is.LogType.bidi}:RECV \u25c2`;static LOGGER_PREFIX_SEND=`${is.LogType.bidi}:SEND \u25b8`;#sr=null;constructor(){window.onBidiMessage=e=>{(0,cs.log)(ds.LOGGER_PREFIX_RECV,e);try{const t=ds.#ir(e);this.#sr?.call(null,t)}catch(t){const a=t instanceof Error?t:new Error(t);this.#cr(e,"invalid argument",a,null)}}}setOnMessage(e){this.#sr=e}sendMessage(e){(0,cs.log)(ds.LOGGER_PREFIX_SEND,e);const t=JSON.stringify(e);window.sendBidiResponse(t)}close(){this.#sr=null,window.onBidiMessage=null}#cr(e,t,a,r){const n=ds.#dr(e,t,a);r?this.sendMessage({...n,channel:r}):this.sendMessage(n)}static#ur(e){return null===e?"null":Array.isArray(e)?"array":typeof e}static#dr(e,t,a){let r;try{const t=JSON.parse(e);"object"===ds.#ur(t)&&"id"in t&&(r=t.id)}catch{}return{type:"error",id:r,error:t,message:a.message}}static#ir(e){let t;try{t=JSON.parse(e)}catch{throw new Error("Cannot parse data as JSON")}const a=ds.#ur(t);if("object"!==a)throw new Error(`Expected JSON object but got ${a}`);const{id:r,method:n,params:s}=t,o=ds.#ur(r);if("number"!==o||!Number.isInteger(r)||r<0)throw new Error(`Expected unsigned integer but got ${o}`);const i=ds.#ur(n);if("string"!==i)throw new Error(`Expected string method but got ${i}`);const c=ds.#ur(s);if("object"!==c)throw new Error(`Expected object params but got ${c}`);let d=t.channel;if(void 0!==d){const e=ds.#ur(d);if("string"!==e)throw new Error(`Expected string channel but got ${e}`);""===d&&(d=void 0)}return{id:r,method:n,params:s,channel:d}}}os.WindowBidiTransport=ds;os.WindowCdpTransport=class{#sr=null;constructor(){window.cdp.onmessage=e=>{this.#sr?.call(null,e)}}setOnMessage(e){this.#sr=e}sendMessage(e){window.cdp.send(e)}close(){this.#sr=null,window.cdp.onmessage=null}}, -/** - * Copyright 2021 Google LLC. - * Copyright (c) Microsoft Corporation. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * @license - */ -Object.defineProperty(a,"__esModule",{value:!0});const us=r,ls=tn,hs=l,ps=un,ms=as,fs=os;(0,ms.generatePage)();const gs=new fs.WindowBidiTransport,ys=new fs.WindowCdpTransport,Ss=new ls.MapperCdpConnection(ys,ms.log);return window.runMapperInstance=async(e,t)=>{await async function(e,t){console.log("Launching Mapper instance with selfTargetId:",e);const a=await us.BidiServer.createAndStart(gs,Ss,await Ss.createBrowserSession(),e,t,new ps.BidiParser,ms.log);return(0,ms.log)(hs.LogType.debugInfo,"Mapper instance has been launched"),a}(e,t)},a}(); -//# sourceMappingURL=mapperTab.js.map diff --git a/node_modules/chromium-bidi/lib/iife/mapperTab.js.map b/node_modules/chromium-bidi/lib/iife/mapperTab.js.map deleted file mode 100644 index c0e5063..0000000 --- a/node_modules/chromium-bidi/lib/iife/mapperTab.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"mapperTab.js","sources":["../../node_modules/mitt/dist/mitt.mjs","../cjs/utils/EventEmitter.js","../cjs/utils/log.js","../cjs/utils/ProcessingQueue.js","../cjs/protocol/cdp.js","../cjs/protocol/chromium-bidi.js","../cjs/protocol/generated/webdriver-bidi.js","../cjs/protocol/ErrorResponse.js","../cjs/protocol/generated/webdriver-bidi-permissions.js","../cjs/protocol/protocol.js","../cjs/bidiMapper/BidiNoOpParser.js","../cjs/bidiMapper/domains/browser/BrowserProcessor.js","../cjs/bidiMapper/domains/cdp/CdpProcessor.js","../cjs/utils/uuid.js","../cjs/bidiMapper/domains/script/ChannelProxy.js","../cjs/bidiMapper/domains/script/Realm.js","../cjs/bidiMapper/domains/script/WorkerRealm.js","../cjs/utils/assert.js","../cjs/utils/Deferred.js","../cjs/utils/unitConversions.js","../cjs/bidiMapper/domains/script/SharedId.js","../cjs/bidiMapper/domains/script/WindowRealm.js","../cjs/bidiMapper/domains/context/BrowsingContextImpl.js","../cjs/bidiMapper/domains/log/logHelper.js","../cjs/bidiMapper/domains/log/LogManager.js","../cjs/bidiMapper/domains/context/CdpTarget.js","../cjs/bidiMapper/domains/context/BrowsingContextProcessor.js","../cjs/bidiMapper/domains/input/InputSource.js","../cjs/bidiMapper/domains/input/keyUtils.js","../cjs/bidiMapper/domains/input/USKeyboardLayout.js","../cjs/bidiMapper/domains/input/ActionDispatcher.js","../cjs/utils/Mutex.js","../cjs/bidiMapper/domains/input/InputState.js","../cjs/bidiMapper/domains/input/InputStateManager.js","../cjs/bidiMapper/domains/input/InputProcessor.js","../../node_modules/urlpattern-polyfill/dist/urlpattern.cjs","../../node_modules/urlpattern-polyfill/index.cjs","../cjs/utils/UrlPattern.js","../cjs/bidiMapper/domains/network/NetworkUtils.js","../cjs/bidiMapper/domains/network/NetworkProcessor.js","../cjs/bidiMapper/domains/network/NetworkRequest.js","../cjs/bidiMapper/domains/network/NetworkStorage.js","../cjs/bidiMapper/domains/permissions/PermissionsProcessor.js","../cjs/bidiMapper/domains/script/PreloadScriptStorage.js","../cjs/bidiMapper/domains/script/PreloadScript.js","../cjs/bidiMapper/domains/script/ScriptProcessor.js","../cjs/bidiMapper/domains/session/SessionProcessor.js","../cjs/bidiMapper/domains/storage/StorageProcessor.js","../cjs/bidiMapper/OutgoingMessage.js","../cjs/bidiMapper/CommandProcessor.js","../cjs/bidiMapper/domains/context/BrowsingContextStorage.js","../cjs/bidiMapper/domains/script/RealmStorage.js","../cjs/utils/Buffer.js","../cjs/utils/DefaultMap.js","../cjs/utils/IdWrapper.js","../cjs/bidiMapper/domains/session/events.js","../cjs/bidiMapper/domains/session/SubscriptionManager.js","../cjs/bidiMapper/domains/session/EventManager.js","../cjs/bidiMapper/BidiServer.js","../cjs/bidiMapper/BidiMapper.js","../cjs/cdp/CdpClient.js","../cjs/cdp/CdpConnection.js","../../node_modules/zod/lib/helpers/util.js","../../node_modules/zod/lib/ZodError.js","../../node_modules/zod/lib/locales/en.js","../../node_modules/zod/lib/errors.js","../../node_modules/zod/lib/helpers/parseUtil.js","../../node_modules/zod/lib/helpers/typeAliases.js","../../node_modules/zod/lib/helpers/errorUtil.js","../../node_modules/zod/lib/types.js","../../node_modules/zod/lib/external.js","../../node_modules/zod/lib/index.js","../cjs/protocol-parser/generated/webdriver-bidi-permissions.js","../cjs/protocol-parser/generated/webdriver-bidi.js","../cjs/protocol-parser/protocol-parser.js","../cjs/bidiTab/BidiParser.js","../cjs/bidiTab/mapperTabPage.js","../cjs/bidiTab/Transport.js","../cjs/bidiTab/bidiTab.js"],"sourcesContent":["export default function(n){return{all:n=n||new Map,on:function(t,e){var i=n.get(t);i?i.push(e):n.set(t,[e])},off:function(t,e){var i=n.get(t);i&&(e?i.splice(i.indexOf(e)>>>0,1):n.set(t,[]))},emit:function(t,e){var i=n.get(t);i&&i.slice().map(function(n){n(e)}),(i=n.get(\"*\"))&&i.slice().map(function(n){n(t,e)})}}}\n//# sourceMappingURL=mitt.mjs.map\n","\"use strict\";\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.EventEmitter = void 0;\n/**\n * Copyright 2022 Google LLC.\n * Copyright (c) Microsoft Corporation.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nconst mitt_1 = __importDefault(require(\"mitt\"));\nclass EventEmitter {\n #emitter = (0, mitt_1.default)();\n on(type, handler) {\n this.#emitter.on(type, handler);\n return this;\n }\n /**\n * Like `on` but the listener will only be fired once and then it will be removed.\n * @param event The event you'd like to listen to\n * @param handler The handler function to run when the event occurs\n * @return `this` to enable chaining method calls.\n */\n once(event, handler) {\n const onceHandler = (eventData) => {\n handler(eventData);\n this.off(event, onceHandler);\n };\n return this.on(event, onceHandler);\n }\n off(type, handler) {\n this.#emitter.off(type, handler);\n return this;\n }\n /**\n * Emits an event and call any associated listeners.\n *\n * @param event The event to emit.\n * @param eventData Any data to emit with the event.\n * @return `true` if there are any listeners, `false` otherwise.\n */\n emit(event, eventData) {\n this.#emitter.emit(event, eventData);\n }\n /**\n * Removes all listeners. If given an event argument, it will remove only\n * listeners for that event.\n * @param event - the event to remove listeners for.\n * @returns `this` to enable you to chain method calls.\n */\n removeAllListeners(event) {\n if (event) {\n this.#emitter.all.delete(event);\n }\n else {\n this.#emitter.all.clear();\n }\n return this;\n }\n}\nexports.EventEmitter = EventEmitter;\n//# sourceMappingURL=EventEmitter.js.map","\"use strict\";\n/**\n * Copyright 2021 Google LLC.\n * Copyright (c) Microsoft Corporation.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.LogType = void 0;\nvar LogType;\n(function (LogType) {\n // keep-sorted start\n LogType[\"bidi\"] = \"bidi\";\n LogType[\"cdp\"] = \"cdp\";\n LogType[\"debug\"] = \"debug\";\n LogType[\"debugError\"] = \"debug:error\";\n LogType[\"debugInfo\"] = \"debug:info\";\n // keep-sorted end\n})(LogType || (exports.LogType = LogType = {}));\n//# sourceMappingURL=log.js.map","\"use strict\";\n/**\n * Copyright 2022 Google LLC.\n * Copyright (c) Microsoft Corporation.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ProcessingQueue = void 0;\nconst log_js_1 = require(\"./log.js\");\nclass ProcessingQueue {\n static LOGGER_PREFIX = `${log_js_1.LogType.debug}:queue`;\n #logger;\n #processor;\n #queue = [];\n // Flag to keep only 1 active processor.\n #isProcessing = false;\n constructor(processor, logger) {\n this.#processor = processor;\n this.#logger = logger;\n }\n add(entry, name) {\n this.#queue.push([entry, name]);\n // No need in waiting. Just initialize processor if needed.\n void this.#processIfNeeded();\n }\n async #processIfNeeded() {\n if (this.#isProcessing) {\n return;\n }\n this.#isProcessing = true;\n while (this.#queue.length > 0) {\n const arrayEntry = this.#queue.shift();\n if (!arrayEntry) {\n continue;\n }\n const [entryPromise, name] = arrayEntry;\n this.#logger?.(ProcessingQueue.LOGGER_PREFIX, 'Processing event:', name);\n await entryPromise\n .then((entry) => {\n if (entry.kind === 'error') {\n this.#logger?.(log_js_1.LogType.debugError, 'Event threw before sending:', entry.error.message, entry.error.stack);\n return;\n }\n return this.#processor(entry.value);\n })\n .catch((error) => {\n this.#logger?.(log_js_1.LogType.debugError, 'Event was not processed:', error?.message);\n });\n }\n this.#isProcessing = false;\n }\n}\nexports.ProcessingQueue = ProcessingQueue;\n//# sourceMappingURL=ProcessingQueue.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n//# sourceMappingURL=cdp.js.map","\"use strict\";\n/**\n * Copyright 2023 Google LLC.\n * Copyright (c) Microsoft Corporation.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.EVENT_NAMES = exports.Network = exports.BrowsingContext = exports.Log = exports.Script = exports.BiDiModule = void 0;\n// keep-sorted end\nvar BiDiModule;\n(function (BiDiModule) {\n // keep-sorted start\n BiDiModule[\"Browser\"] = \"browser\";\n BiDiModule[\"BrowsingContext\"] = \"browsingContext\";\n BiDiModule[\"Cdp\"] = \"cdp\";\n BiDiModule[\"Input\"] = \"input\";\n BiDiModule[\"Log\"] = \"log\";\n BiDiModule[\"Network\"] = \"network\";\n BiDiModule[\"Script\"] = \"script\";\n BiDiModule[\"Session\"] = \"session\";\n // keep-sorted end\n})(BiDiModule || (exports.BiDiModule = BiDiModule = {}));\nvar Script;\n(function (Script) {\n let EventNames;\n (function (EventNames) {\n // keep-sorted start\n EventNames[\"Message\"] = \"script.message\";\n EventNames[\"RealmCreated\"] = \"script.realmCreated\";\n EventNames[\"RealmDestroyed\"] = \"script.realmDestroyed\";\n // keep-sorted end\n })(EventNames = Script.EventNames || (Script.EventNames = {}));\n})(Script || (exports.Script = Script = {}));\nvar Log;\n(function (Log) {\n let EventNames;\n (function (EventNames) {\n EventNames[\"LogEntryAdded\"] = \"log.entryAdded\";\n })(EventNames = Log.EventNames || (Log.EventNames = {}));\n})(Log || (exports.Log = Log = {}));\nvar BrowsingContext;\n(function (BrowsingContext) {\n let EventNames;\n (function (EventNames) {\n // keep-sorted start\n EventNames[\"ContextCreated\"] = \"browsingContext.contextCreated\";\n EventNames[\"ContextDestroyed\"] = \"browsingContext.contextDestroyed\";\n EventNames[\"DomContentLoaded\"] = \"browsingContext.domContentLoaded\";\n EventNames[\"DownloadWillBegin\"] = \"browsingContext.downloadWillBegin\";\n EventNames[\"FragmentNavigated\"] = \"browsingContext.fragmentNavigated\";\n EventNames[\"Load\"] = \"browsingContext.load\";\n EventNames[\"NavigationAborted\"] = \"browsingContext.navigationAborted\";\n EventNames[\"NavigationFailed\"] = \"browsingContext.navigationFailed\";\n EventNames[\"NavigationStarted\"] = \"browsingContext.navigationStarted\";\n EventNames[\"UserPromptClosed\"] = \"browsingContext.userPromptClosed\";\n EventNames[\"UserPromptOpened\"] = \"browsingContext.userPromptOpened\";\n // keep-sorted end\n })(EventNames = BrowsingContext.EventNames || (BrowsingContext.EventNames = {}));\n})(BrowsingContext || (exports.BrowsingContext = BrowsingContext = {}));\nvar Network;\n(function (Network) {\n let EventNames;\n (function (EventNames) {\n // keep-sorted start\n EventNames[\"AuthRequired\"] = \"network.authRequired\";\n EventNames[\"BeforeRequestSent\"] = \"network.beforeRequestSent\";\n EventNames[\"FetchError\"] = \"network.fetchError\";\n EventNames[\"ResponseCompleted\"] = \"network.responseCompleted\";\n EventNames[\"ResponseStarted\"] = \"network.responseStarted\";\n // keep-sorted end\n })(EventNames = Network.EventNames || (Network.EventNames = {}));\n})(Network || (exports.Network = Network = {}));\nexports.EVENT_NAMES = new Set([\n // keep-sorted start\n ...Object.values(BiDiModule),\n ...Object.values(BrowsingContext.EventNames),\n ...Object.values(Log.EventNames),\n ...Object.values(Network.EventNames),\n ...Object.values(Script.EventNames),\n // keep-sorted end\n]);\n//# sourceMappingURL=chromium-bidi.js.map","\"use strict\";\n/**\n * Copyright 2024 Google LLC.\n * Copyright (c) Microsoft Corporation.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\n//# sourceMappingURL=webdriver-bidi.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.UnderspecifiedStoragePartitionException = exports.UnableToSetFileInputException = exports.UnableToSetCookieException = exports.NoSuchStoragePartitionException = exports.UnsupportedOperationException = exports.UnableToCloseBrowserException = exports.UnableToCaptureScreenException = exports.UnknownErrorException = exports.UnknownCommandException = exports.SessionNotCreatedException = exports.NoSuchUserContextException = exports.NoSuchScriptException = exports.NoSuchRequestException = exports.NoSuchNodeException = exports.NoSuchInterceptException = exports.NoSuchHistoryEntryException = exports.NoSuchHandleException = exports.NoSuchFrameException = exports.NoSuchElementException = exports.NoSuchAlertException = exports.MoveTargetOutOfBoundsException = exports.InvalidSessionIdException = exports.InvalidArgumentException = exports.Exception = void 0;\nclass Exception {\n error;\n message;\n stacktrace;\n constructor(error, message, stacktrace) {\n this.error = error;\n this.message = message;\n this.stacktrace = stacktrace;\n }\n toErrorResponse(commandId) {\n return {\n type: 'error',\n id: commandId,\n error: this.error,\n message: this.message,\n stacktrace: this.stacktrace,\n };\n }\n}\nexports.Exception = Exception;\nclass InvalidArgumentException extends Exception {\n constructor(message, stacktrace) {\n super(\"invalid argument\" /* ErrorCode.InvalidArgument */, message, stacktrace);\n }\n}\nexports.InvalidArgumentException = InvalidArgumentException;\nclass InvalidSessionIdException extends Exception {\n constructor(message, stacktrace) {\n super(\"invalid session id\" /* ErrorCode.InvalidSessionId */, message, stacktrace);\n }\n}\nexports.InvalidSessionIdException = InvalidSessionIdException;\nclass MoveTargetOutOfBoundsException extends Exception {\n constructor(message, stacktrace) {\n super(\"move target out of bounds\" /* ErrorCode.MoveTargetOutOfBounds */, message, stacktrace);\n }\n}\nexports.MoveTargetOutOfBoundsException = MoveTargetOutOfBoundsException;\nclass NoSuchAlertException extends Exception {\n constructor(message, stacktrace) {\n super(\"no such alert\" /* ErrorCode.NoSuchAlert */, message, stacktrace);\n }\n}\nexports.NoSuchAlertException = NoSuchAlertException;\nclass NoSuchElementException extends Exception {\n constructor(message, stacktrace) {\n super(\"no such element\" /* ErrorCode.NoSuchElement */, message, stacktrace);\n }\n}\nexports.NoSuchElementException = NoSuchElementException;\nclass NoSuchFrameException extends Exception {\n constructor(message, stacktrace) {\n super(\"no such frame\" /* ErrorCode.NoSuchFrame */, message, stacktrace);\n }\n}\nexports.NoSuchFrameException = NoSuchFrameException;\nclass NoSuchHandleException extends Exception {\n constructor(message, stacktrace) {\n super(\"no such handle\" /* ErrorCode.NoSuchHandle */, message, stacktrace);\n }\n}\nexports.NoSuchHandleException = NoSuchHandleException;\nclass NoSuchHistoryEntryException extends Exception {\n constructor(message, stacktrace) {\n super(\"no such history entry\" /* ErrorCode.NoSuchHistoryEntry */, message, stacktrace);\n }\n}\nexports.NoSuchHistoryEntryException = NoSuchHistoryEntryException;\nclass NoSuchInterceptException extends Exception {\n constructor(message, stacktrace) {\n super(\"no such intercept\" /* ErrorCode.NoSuchIntercept */, message, stacktrace);\n }\n}\nexports.NoSuchInterceptException = NoSuchInterceptException;\nclass NoSuchNodeException extends Exception {\n constructor(message, stacktrace) {\n super(\"no such node\" /* ErrorCode.NoSuchNode */, message, stacktrace);\n }\n}\nexports.NoSuchNodeException = NoSuchNodeException;\nclass NoSuchRequestException extends Exception {\n constructor(message, stacktrace) {\n super(\"no such request\" /* ErrorCode.NoSuchRequest */, message, stacktrace);\n }\n}\nexports.NoSuchRequestException = NoSuchRequestException;\nclass NoSuchScriptException extends Exception {\n constructor(message, stacktrace) {\n super(\"no such script\" /* ErrorCode.NoSuchScript */, message, stacktrace);\n }\n}\nexports.NoSuchScriptException = NoSuchScriptException;\nclass NoSuchUserContextException extends Exception {\n constructor(message, stacktrace) {\n super(\"no such user context\" /* ErrorCode.NoSuchUserContext */, message, stacktrace);\n }\n}\nexports.NoSuchUserContextException = NoSuchUserContextException;\nclass SessionNotCreatedException extends Exception {\n constructor(message, stacktrace) {\n super(\"session not created\" /* ErrorCode.SessionNotCreated */, message, stacktrace);\n }\n}\nexports.SessionNotCreatedException = SessionNotCreatedException;\nclass UnknownCommandException extends Exception {\n constructor(message, stacktrace) {\n super(\"unknown command\" /* ErrorCode.UnknownCommand */, message, stacktrace);\n }\n}\nexports.UnknownCommandException = UnknownCommandException;\nclass UnknownErrorException extends Exception {\n constructor(message, stacktrace = new Error().stack) {\n super(\"unknown error\" /* ErrorCode.UnknownError */, message, stacktrace);\n }\n}\nexports.UnknownErrorException = UnknownErrorException;\nclass UnableToCaptureScreenException extends Exception {\n constructor(message, stacktrace) {\n super(\"unable to capture screen\" /* ErrorCode.UnableToCaptureScreen */, message, stacktrace);\n }\n}\nexports.UnableToCaptureScreenException = UnableToCaptureScreenException;\nclass UnableToCloseBrowserException extends Exception {\n constructor(message, stacktrace) {\n super(\"unable to close browser\" /* ErrorCode.UnableToCloseBrowser */, message, stacktrace);\n }\n}\nexports.UnableToCloseBrowserException = UnableToCloseBrowserException;\nclass UnsupportedOperationException extends Exception {\n constructor(message, stacktrace) {\n super(\"unsupported operation\" /* ErrorCode.UnsupportedOperation */, message, stacktrace);\n }\n}\nexports.UnsupportedOperationException = UnsupportedOperationException;\nclass NoSuchStoragePartitionException extends Exception {\n constructor(message, stacktrace) {\n super(\"no such storage partition\" /* ErrorCode.NoSuchStoragePartition */, message, stacktrace);\n }\n}\nexports.NoSuchStoragePartitionException = NoSuchStoragePartitionException;\nclass UnableToSetCookieException extends Exception {\n constructor(message, stacktrace) {\n super(\"unable to set cookie\" /* ErrorCode.UnableToSetCookie */, message, stacktrace);\n }\n}\nexports.UnableToSetCookieException = UnableToSetCookieException;\nclass UnableToSetFileInputException extends Exception {\n constructor(message, stacktrace) {\n super(\"unable to set file input\" /* ErrorCode.UnableToSetFileInput */, message, stacktrace);\n }\n}\nexports.UnableToSetFileInputException = UnableToSetFileInputException;\nclass UnderspecifiedStoragePartitionException extends Exception {\n constructor(message, stacktrace) {\n super(\"underspecified storage partition\" /* ErrorCode.UnderspecifiedStoragePartition */, message, stacktrace);\n }\n}\nexports.UnderspecifiedStoragePartitionException = UnderspecifiedStoragePartitionException;\n//# sourceMappingURL=ErrorResponse.js.map","\"use strict\";\n/**\n * Copyright 2024 Google LLC.\n * Copyright (c) Microsoft Corporation.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\n//# sourceMappingURL=webdriver-bidi-permissions.js.map","\"use strict\";\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\n __setModuleDefault(result, mod);\n return result;\n};\nvar __exportStar = (this && this.__exportStar) || function(m, exports) {\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ChromiumBidi = exports.Cdp = void 0;\n/**\n * Copyright 2023 Google LLC.\n * Copyright (c) Microsoft Corporation.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nexports.Cdp = __importStar(require(\"./cdp.js\"));\nexports.ChromiumBidi = __importStar(require(\"./chromium-bidi.js\"));\n__exportStar(require(\"./generated/webdriver-bidi.js\"), exports);\n__exportStar(require(\"./ErrorResponse.js\"), exports);\n__exportStar(require(\"./generated/webdriver-bidi-permissions.js\"), exports);\n//# sourceMappingURL=protocol.js.map","\"use strict\";\n/**\n * Copyright 2023 Google LLC.\n * Copyright (c) Microsoft Corporation.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.BidiNoOpParser = void 0;\nclass BidiNoOpParser {\n // Browser domain\n // keep-sorted start block=yes\n parseRemoveUserContextParams(params) {\n return params;\n }\n // keep-sorted end\n // Browsing Context domain\n // keep-sorted start block=yes\n parseActivateParams(params) {\n return params;\n }\n parseCaptureScreenshotParams(params) {\n return params;\n }\n parseCloseParams(params) {\n return params;\n }\n parseCreateParams(params) {\n return params;\n }\n parseGetTreeParams(params) {\n return params;\n }\n parseHandleUserPromptParams(params) {\n return params;\n }\n parseNavigateParams(params) {\n return params;\n }\n parsePrintParams(params) {\n return params;\n }\n parseReloadParams(params) {\n return params;\n }\n parseSetViewportParams(params) {\n return params;\n }\n parseTraverseHistoryParams(params) {\n return params;\n }\n // keep-sorted end\n // CDP domain\n // keep-sorted start block=yes\n parseGetSessionParams(params) {\n return params;\n }\n parseResolveRealmParams(params) {\n return params;\n }\n parseSendCommandParams(params) {\n return params;\n }\n // keep-sorted end\n // Script domain\n // keep-sorted start block=yes\n parseAddPreloadScriptParams(params) {\n return params;\n }\n parseCallFunctionParams(params) {\n return params;\n }\n parseDisownParams(params) {\n return params;\n }\n parseEvaluateParams(params) {\n return params;\n }\n parseGetRealmsParams(params) {\n return params;\n }\n parseRemovePreloadScriptParams(params) {\n return params;\n }\n // keep-sorted end\n // Input domain\n // keep-sorted start block=yes\n parsePerformActionsParams(params) {\n return params;\n }\n parseReleaseActionsParams(params) {\n return params;\n }\n parseSetFilesParams(params) {\n return params;\n }\n // keep-sorted end\n // Network domain\n // keep-sorted start block=yes\n parseAddInterceptParams(params) {\n return params;\n }\n parseContinueRequestParams(params) {\n return params;\n }\n parseContinueResponseParams(params) {\n return params;\n }\n parseContinueWithAuthParams(params) {\n return params;\n }\n parseFailRequestParams(params) {\n return params;\n }\n parseProvideResponseParams(params) {\n return params;\n }\n parseRemoveInterceptParams(params) {\n return params;\n }\n // keep-sorted end\n // Permissions domain\n // keep-sorted start block=yes\n parseSetPermissionsParams(params) {\n return params;\n }\n // keep-sorted end\n // Session domain\n // keep-sorted start block=yes\n parseSubscribeParams(params) {\n return params;\n }\n // keep-sorted end\n // Storage domain\n // keep-sorted start block=yes\n parseDeleteCookiesParams(params) {\n return params;\n }\n parseGetCookiesParams(params) {\n return params;\n }\n parseSetCookieParams(params) {\n return params;\n }\n}\nexports.BidiNoOpParser = BidiNoOpParser;\n//# sourceMappingURL=BidiNoOpParser.js.map","\"use strict\";\n/**\n * Copyright 2023 Google LLC.\n * Copyright (c) Microsoft Corporation.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.BrowserProcessor = void 0;\nconst protocol_js_1 = require(\"../../../protocol/protocol.js\");\nclass BrowserProcessor {\n #browserCdpClient;\n constructor(browserCdpClient) {\n this.#browserCdpClient = browserCdpClient;\n }\n close() {\n // Ensure that it is put at the end of the event loop.\n // This way we send back the response before closing the tab.\n setTimeout(() => this.#browserCdpClient.sendCommand('Browser.close'), 0);\n return {};\n }\n async createUserContext(params) {\n const request = {\n proxyServer: params['goog:proxyServer'] ?? undefined,\n };\n const proxyBypassList = params['goog:proxyBypassList'] ?? undefined;\n if (proxyBypassList) {\n request.proxyBypassList = proxyBypassList.join(',');\n }\n const context = await this.#browserCdpClient.sendCommand('Target.createBrowserContext', request);\n return {\n userContext: context.browserContextId,\n };\n }\n async removeUserContext(params) {\n const userContext = params.userContext;\n if (userContext === 'default') {\n throw new protocol_js_1.InvalidArgumentException('`default` user context cannot be removed');\n }\n try {\n await this.#browserCdpClient.sendCommand('Target.disposeBrowserContext', {\n browserContextId: userContext,\n });\n }\n catch (err) {\n // https://source.chromium.org/chromium/chromium/src/+/main:content/browser/devtools/protocol/target_handler.cc;l=1424;drc=c686e8f4fd379312469fe018f5c390e9c8f20d0d\n if (err.message.startsWith('Failed to find context with id')) {\n throw new protocol_js_1.NoSuchUserContextException(err.message);\n }\n throw err;\n }\n return {};\n }\n async getUserContexts() {\n const result = await this.#browserCdpClient.sendCommand('Target.getBrowserContexts');\n return {\n userContexts: [\n {\n userContext: 'default',\n },\n ...result.browserContextIds.map((id) => {\n return {\n userContext: id,\n };\n }),\n ],\n };\n }\n}\nexports.BrowserProcessor = BrowserProcessor;\n//# sourceMappingURL=BrowserProcessor.js.map","\"use strict\";\n/**\n * Copyright 2023 Google LLC.\n * Copyright (c) Microsoft Corporation.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.CdpProcessor = void 0;\nconst protocol_js_1 = require(\"../../../protocol/protocol.js\");\nclass CdpProcessor {\n #browsingContextStorage;\n #realmStorage;\n #cdpConnection;\n #browserCdpClient;\n constructor(browsingContextStorage, realmStorage, cdpConnection, browserCdpClient) {\n this.#browsingContextStorage = browsingContextStorage;\n this.#realmStorage = realmStorage;\n this.#cdpConnection = cdpConnection;\n this.#browserCdpClient = browserCdpClient;\n }\n getSession(params) {\n const context = params.context;\n const sessionId = this.#browsingContextStorage.getContext(context).cdpTarget.cdpSessionId;\n if (sessionId === undefined) {\n return {};\n }\n return { session: sessionId };\n }\n resolveRealm(params) {\n const context = params.realm;\n const realm = this.#realmStorage.getRealm({ realmId: context });\n if (realm === undefined) {\n throw new protocol_js_1.UnknownErrorException(`Could not find realm ${params.realm}`);\n }\n return { executionContextId: realm.executionContextId };\n }\n async sendCommand(params) {\n const client = params.session\n ? this.#cdpConnection.getCdpClient(params.session)\n : this.#browserCdpClient;\n const result = await client.sendCommand(params.method, params.params);\n return {\n result,\n session: params.session,\n };\n }\n}\nexports.CdpProcessor = CdpProcessor;\n//# sourceMappingURL=CdpProcessor.js.map","\"use strict\";\n/**\n * Copyright 2023 Google LLC.\n * Copyright (c) Microsoft Corporation.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.uuidv4 = void 0;\n/**\n * Generates a random v4 UUID, as specified in RFC4122.\n *\n * Uses the native Web Crypto API if available, otherwise falls back to a\n * polyfill.\n *\n * Example: '9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb6d'\n */\nfunction uuidv4() {\n // Available only in secure contexts\n // https://developer.mozilla.org/en-US/docs/Web/API/Web_Crypto_API\n if ('crypto' in globalThis && 'randomUUID' in globalThis.crypto) {\n // Node with\n // https://nodejs.org/dist/latest-v20.x/docs/api/globals.html#crypto_1 or\n // secure browser context.\n return globalThis.crypto.randomUUID();\n }\n const randomValues = new Uint8Array(16);\n if ('crypto' in globalThis && 'getRandomValues' in globalThis.crypto) {\n // Node with\n // https://nodejs.org/dist/latest-v20.x/docs/api/globals.html#crypto_1 or\n // browser.\n globalThis.crypto.getRandomValues(randomValues);\n }\n else {\n // Node without\n // https://nodejs.org/dist/latest-v20.x/docs/api/globals.html#crypto_1.\n // eslint-disable-next-line @typescript-eslint/no-var-requires\n require('crypto').webcrypto.getRandomValues(randomValues);\n }\n // Set version (4) and variant (RFC4122) bits.\n randomValues[6] = (randomValues[6] & 0x0f) | 0x40;\n randomValues[8] = (randomValues[8] & 0x3f) | 0x80;\n const bytesToHex = (bytes) => bytes.reduce((str, byte) => str + byte.toString(16).padStart(2, '0'), '');\n return [\n bytesToHex(randomValues.subarray(0, 4)),\n bytesToHex(randomValues.subarray(4, 6)),\n bytesToHex(randomValues.subarray(6, 8)),\n bytesToHex(randomValues.subarray(8, 10)),\n bytesToHex(randomValues.subarray(10, 16)),\n ].join('-');\n}\nexports.uuidv4 = uuidv4;\n//# sourceMappingURL=uuid.js.map","\"use strict\";\n/*\n * Copyright 2023 Google LLC.\n * Copyright (c) Microsoft Corporation.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ChannelProxy = void 0;\nconst protocol_js_1 = require(\"../../../protocol/protocol.js\");\nconst log_js_1 = require(\"../../../utils/log.js\");\nconst uuid_js_1 = require(\"../../../utils/uuid.js\");\n/**\n * Used to send messages from realm to BiDi user.\n */\nclass ChannelProxy {\n #properties;\n #id = (0, uuid_js_1.uuidv4)();\n #logger;\n constructor(channel, logger) {\n this.#properties = channel;\n this.#logger = logger;\n }\n /**\n * Creates a channel proxy in the given realm, initialises listener and\n * returns a handle to `sendMessage` delegate.\n */\n async init(realm, eventManager) {\n const channelHandle = await ChannelProxy.#createAndGetHandleInRealm(realm);\n const sendMessageHandle = await ChannelProxy.#createSendMessageHandle(realm, channelHandle);\n void this.#startListener(realm, channelHandle, eventManager);\n return sendMessageHandle;\n }\n /** Gets a ChannelProxy from window and returns its handle. */\n async startListenerFromWindow(realm, eventManager) {\n try {\n const channelHandle = await this.#getHandleFromWindow(realm);\n void this.#startListener(realm, channelHandle, eventManager);\n }\n catch (error) {\n this.#logger?.(log_js_1.LogType.debugError, error);\n }\n }\n /**\n * Evaluation string which creates a ChannelProxy object on the client side.\n */\n static #createChannelProxyEvalStr() {\n const functionStr = String(() => {\n const queue = [];\n let queueNonEmptyResolver = null;\n return {\n /**\n * Gets a promise, which is resolved as soon as a message occurs\n * in the queue.\n */\n async getMessage() {\n const onMessage = queue.length > 0\n ? Promise.resolve()\n : new Promise((resolve) => {\n queueNonEmptyResolver = resolve;\n });\n await onMessage;\n return queue.shift();\n },\n /**\n * Adds a message to the queue.\n * Resolves the pending promise if needed.\n */\n sendMessage(message) {\n queue.push(message);\n if (queueNonEmptyResolver !== null) {\n queueNonEmptyResolver();\n queueNonEmptyResolver = null;\n }\n },\n };\n });\n return `(${functionStr})()`;\n }\n /** Creates a ChannelProxy in the given realm. */\n static async #createAndGetHandleInRealm(realm) {\n const createChannelHandleResult = await realm.cdpClient.sendCommand('Runtime.evaluate', {\n expression: this.#createChannelProxyEvalStr(),\n contextId: realm.executionContextId,\n serializationOptions: {\n serialization: \"idOnly\" /* Protocol.Runtime.SerializationOptionsSerialization.IdOnly */,\n },\n });\n if (createChannelHandleResult.exceptionDetails ||\n createChannelHandleResult.result.objectId === undefined) {\n throw new Error(`Cannot create channel`);\n }\n return createChannelHandleResult.result.objectId;\n }\n /** Gets a handle to `sendMessage` delegate from the ChannelProxy handle. */\n static async #createSendMessageHandle(realm, channelHandle) {\n const sendMessageArgResult = await realm.cdpClient.sendCommand('Runtime.callFunctionOn', {\n functionDeclaration: String((channelHandle) => {\n return channelHandle.sendMessage;\n }),\n arguments: [{ objectId: channelHandle }],\n executionContextId: realm.executionContextId,\n serializationOptions: {\n serialization: \"idOnly\" /* Protocol.Runtime.SerializationOptionsSerialization.IdOnly */,\n },\n });\n // TODO: check for exceptionDetails.\n return sendMessageArgResult.result.objectId;\n }\n /** Starts listening for the channel events of the provided ChannelProxy. */\n async #startListener(realm, channelHandle, eventManager) {\n // noinspection InfiniteLoopJS\n for (;;) {\n try {\n const message = await realm.cdpClient.sendCommand('Runtime.callFunctionOn', {\n functionDeclaration: String(async (channelHandle) => await channelHandle.getMessage()),\n arguments: [\n {\n objectId: channelHandle,\n },\n ],\n awaitPromise: true,\n executionContextId: realm.executionContextId,\n serializationOptions: {\n serialization: \"deep\" /* Protocol.Runtime.SerializationOptionsSerialization.Deep */,\n maxDepth: this.#properties.serializationOptions?.maxObjectDepth ??\n undefined,\n },\n });\n if (message.exceptionDetails) {\n throw message.exceptionDetails;\n }\n for (const browsingContext of realm.associatedBrowsingContexts) {\n eventManager.registerEvent({\n type: 'event',\n method: protocol_js_1.ChromiumBidi.Script.EventNames.Message,\n params: {\n channel: this.#properties.channel,\n data: realm.cdpToBidiValue(message, this.#properties.ownership ?? \"none\" /* Script.ResultOwnership.None */),\n source: realm.source,\n },\n }, browsingContext.id);\n }\n }\n catch (error) {\n // If an error is thrown, then the channel is permanently broken, so we\n // exit the loop.\n this.#logger?.(log_js_1.LogType.debugError, error);\n break;\n }\n }\n }\n /**\n * Returns a handle of ChannelProxy from window's property which was set there\n * by `getEvalInWindowStr`. If window property is not set yet, sets a promise\n * resolver to the window property, so that `getEvalInWindowStr` can resolve\n * the promise later on with the channel.\n * This is needed because `getEvalInWindowStr` can be called before or\n * after this method.\n */\n async #getHandleFromWindow(realm) {\n const channelHandleResult = await realm.cdpClient.sendCommand('Runtime.callFunctionOn', {\n functionDeclaration: String((id) => {\n const w = window;\n if (w[id] === undefined) {\n // The channelProxy is not created yet. Create a promise, put the\n // resolver to window property and return the promise.\n // `getEvalInWindowStr` will resolve the promise later.\n return new Promise((resolve) => (w[id] = resolve));\n }\n // The channelProxy is already created by `getEvalInWindowStr` and\n // is set into window property. Return it.\n const channelProxy = w[id];\n delete w[id];\n return channelProxy;\n }),\n arguments: [{ value: this.#id }],\n executionContextId: realm.executionContextId,\n awaitPromise: true,\n serializationOptions: {\n serialization: \"idOnly\" /* Protocol.Runtime.SerializationOptionsSerialization.IdOnly */,\n },\n });\n if (channelHandleResult.exceptionDetails !== undefined ||\n channelHandleResult.result.objectId === undefined) {\n throw new Error(`ChannelHandle not found in window[\"${this.#id}\"]`);\n }\n return channelHandleResult.result.objectId;\n }\n /**\n * String to be evaluated to create a ProxyChannel and put it to window.\n * Returns the delegate `sendMessage`. Used to provide an argument for preload\n * script. Does the following:\n * 1. Creates a ChannelProxy.\n * 2. Puts the ChannelProxy to window['${this.#id}'] or resolves the promise\n * by calling delegate stored in window['${this.#id}'].\n * This is needed because `#getHandleFromWindow` can be called before or\n * after this method.\n * 3. Returns the delegate `sendMessage` of the created ChannelProxy.\n */\n getEvalInWindowStr() {\n const delegate = String((id, channelProxy) => {\n const w = window;\n if (w[id] === undefined) {\n // `#getHandleFromWindow` is not initialized yet, and will get the\n // channelProxy later.\n w[id] = channelProxy;\n }\n else {\n // `#getHandleFromWindow` is already set a delegate to window property\n // and is waiting for it to be called with the channelProxy.\n w[id](channelProxy);\n delete w[id];\n }\n return channelProxy.sendMessage;\n });\n const channelProxyEval = ChannelProxy.#createChannelProxyEvalStr();\n return `(${delegate})('${this.#id}',${channelProxyEval})`;\n }\n}\nexports.ChannelProxy = ChannelProxy;\n//# sourceMappingURL=ChannelProxy.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.Realm = void 0;\nconst protocol_js_1 = require(\"../../../protocol/protocol.js\");\nconst log_js_1 = require(\"../../../utils/log.js\");\nconst uuid_js_1 = require(\"../../../utils/uuid.js\");\nconst ChannelProxy_js_1 = require(\"./ChannelProxy.js\");\nclass Realm {\n #cdpClient;\n #eventManager;\n #executionContextId;\n #logger;\n #origin;\n #realmId;\n #realmStorage;\n constructor(cdpClient, eventManager, executionContextId, logger, origin, realmId, realmStorage) {\n this.#cdpClient = cdpClient;\n this.#eventManager = eventManager;\n this.#executionContextId = executionContextId;\n this.#logger = logger;\n this.#origin = origin;\n this.#realmId = realmId;\n this.#realmStorage = realmStorage;\n this.#realmStorage.addRealm(this);\n }\n cdpToBidiValue(cdpValue, resultOwnership) {\n const bidiValue = this.serializeForBiDi(cdpValue.result.deepSerializedValue, new Map());\n if (cdpValue.result.objectId) {\n const objectId = cdpValue.result.objectId;\n if (resultOwnership === \"root\" /* Script.ResultOwnership.Root */) {\n // Extend BiDi value with `handle` based on required `resultOwnership`\n // and CDP response but not on the actual BiDi type.\n bidiValue.handle = objectId;\n // Remember all the handles sent to client.\n this.#realmStorage.knownHandlesToRealmMap.set(objectId, this.realmId);\n }\n else {\n // No need to await for the object to be released.\n void this.#releaseObject(objectId).catch((error) => this.#logger?.(log_js_1.LogType.debugError, error));\n }\n }\n if (cdpValue.result.type === 'object') {\n switch (cdpValue.result.subtype) {\n case 'generator':\n case 'iterator':\n bidiValue.type = cdpValue.result.subtype;\n delete bidiValue['value'];\n break;\n default:\n // Intentionally left blank.\n }\n }\n return bidiValue;\n }\n /**\n * Relies on the CDP to implement proper BiDi serialization, except:\n * * CDP integer property `backendNodeId` is replaced with `sharedId` of\n * `{documentId}_element_{backendNodeId}`;\n * * CDP integer property `weakLocalObjectReference` is replaced with UUID `internalId`\n * using unique-per serialization `internalIdMap`.\n * * CDP type `platformobject` is replaced with `object`.\n * @param deepSerializedValue - CDP value to be converted to BiDi.\n * @param internalIdMap - Map from CDP integer `weakLocalObjectReference` to BiDi UUID\n * `internalId`.\n */\n serializeForBiDi(deepSerializedValue, internalIdMap) {\n if (Object.hasOwn(deepSerializedValue, 'weakLocalObjectReference')) {\n const weakLocalObjectReference = deepSerializedValue.weakLocalObjectReference;\n if (!internalIdMap.has(weakLocalObjectReference)) {\n internalIdMap.set(weakLocalObjectReference, (0, uuid_js_1.uuidv4)());\n }\n deepSerializedValue.internalId = internalIdMap.get(weakLocalObjectReference);\n delete deepSerializedValue['weakLocalObjectReference'];\n }\n // Platform object is a special case. It should have only `{type: object}`\n // without `value` field.\n if (deepSerializedValue.type === 'platformobject') {\n return { type: 'object' };\n }\n const bidiValue = deepSerializedValue.value;\n if (bidiValue === undefined) {\n return deepSerializedValue;\n }\n // Recursively update the nested values.\n if (['array', 'set', 'htmlcollection', 'nodelist'].includes(deepSerializedValue.type)) {\n for (const i in bidiValue) {\n bidiValue[i] = this.serializeForBiDi(bidiValue[i], internalIdMap);\n }\n }\n if (['object', 'map'].includes(deepSerializedValue.type)) {\n for (const i in bidiValue) {\n bidiValue[i] = [\n this.serializeForBiDi(bidiValue[i][0], internalIdMap),\n this.serializeForBiDi(bidiValue[i][1], internalIdMap),\n ];\n }\n }\n return deepSerializedValue;\n }\n get realmId() {\n return this.#realmId;\n }\n get executionContextId() {\n return this.#executionContextId;\n }\n get origin() {\n return this.#origin;\n }\n get source() {\n return {\n realm: this.realmId,\n };\n }\n get cdpClient() {\n return this.#cdpClient;\n }\n get baseInfo() {\n return {\n realm: this.realmId,\n origin: this.origin,\n };\n }\n async evaluate(expression, awaitPromise, resultOwnership, serializationOptions, userActivation = false) {\n const cdpEvaluateResult = await this.cdpClient.sendCommand('Runtime.evaluate', {\n contextId: this.executionContextId,\n expression,\n awaitPromise,\n serializationOptions: Realm.#getSerializationOptions(\"deep\" /* Protocol.Runtime.SerializationOptionsSerialization.Deep */, serializationOptions),\n userGesture: userActivation,\n });\n if (cdpEvaluateResult.exceptionDetails) {\n return await this.#getExceptionResult(cdpEvaluateResult.exceptionDetails, 0, resultOwnership);\n }\n return {\n realm: this.realmId,\n result: this.cdpToBidiValue(cdpEvaluateResult, resultOwnership),\n type: 'success',\n };\n }\n #registerEvent(event) {\n if (this.associatedBrowsingContexts.length === 0) {\n this.#eventManager.registerEvent(event, null);\n }\n else {\n for (const browsingContext of this.associatedBrowsingContexts) {\n this.#eventManager.registerEvent(event, browsingContext.id);\n }\n }\n }\n initialize() {\n this.#registerEvent({\n type: 'event',\n method: protocol_js_1.ChromiumBidi.Script.EventNames.RealmCreated,\n params: this.realmInfo,\n });\n }\n /**\n * Serializes a given CDP object into BiDi, keeping references in the\n * target's `globalThis`.\n */\n async serializeCdpObject(cdpRemoteObject, resultOwnership) {\n const argument = Realm.#cdpRemoteObjectToCallArgument(cdpRemoteObject);\n const cdpValue = await this.cdpClient.sendCommand('Runtime.callFunctionOn', {\n functionDeclaration: String((remoteObject) => remoteObject),\n awaitPromise: false,\n arguments: [argument],\n serializationOptions: {\n serialization: \"deep\" /* Protocol.Runtime.SerializationOptionsSerialization.Deep */,\n },\n executionContextId: this.executionContextId,\n });\n return this.cdpToBidiValue(cdpValue, resultOwnership);\n }\n static #cdpRemoteObjectToCallArgument(cdpRemoteObject) {\n if (cdpRemoteObject.objectId !== undefined) {\n return { objectId: cdpRemoteObject.objectId };\n }\n if (cdpRemoteObject.unserializableValue !== undefined) {\n return { unserializableValue: cdpRemoteObject.unserializableValue };\n }\n return { value: cdpRemoteObject.value };\n }\n /**\n * Gets the string representation of an object. This is equivalent to\n * calling `toString()` on the object value.\n */\n async stringifyObject(cdpRemoteObject) {\n const { result } = await this.cdpClient.sendCommand('Runtime.callFunctionOn', {\n functionDeclaration: String((remoteObject) => String(remoteObject)),\n awaitPromise: false,\n arguments: [cdpRemoteObject],\n returnByValue: true,\n executionContextId: this.executionContextId,\n });\n return result.value;\n }\n async #flattenKeyValuePairs(mappingLocalValue) {\n const keyValueArray = [];\n for (const [key, value] of mappingLocalValue) {\n let keyArg;\n if (typeof key === 'string') {\n // Key is a string.\n keyArg = { value: key };\n }\n else {\n // Key is a serialized value.\n keyArg = await this.deserializeForCdp(key);\n }\n const valueArg = await this.deserializeForCdp(value);\n keyValueArray.push(keyArg);\n keyValueArray.push(valueArg);\n }\n return keyValueArray;\n }\n async #flattenValueList(listLocalValue) {\n return await Promise.all(listLocalValue.map((localValue) => this.deserializeForCdp(localValue)));\n }\n async #serializeCdpExceptionDetails(cdpExceptionDetails, lineOffset, resultOwnership) {\n const callFrames = cdpExceptionDetails.stackTrace?.callFrames.map((frame) => ({\n url: frame.url,\n functionName: frame.functionName,\n lineNumber: frame.lineNumber - lineOffset,\n columnNumber: frame.columnNumber,\n })) ?? [];\n // Exception should always be there.\n const exception = cdpExceptionDetails.exception;\n return {\n exception: await this.serializeCdpObject(exception, resultOwnership),\n columnNumber: cdpExceptionDetails.columnNumber,\n lineNumber: cdpExceptionDetails.lineNumber - lineOffset,\n stackTrace: {\n callFrames,\n },\n text: (await this.stringifyObject(exception)) || cdpExceptionDetails.text,\n };\n }\n async callFunction(functionDeclaration, thisLocalValue, argumentsLocalValues, awaitPromise, resultOwnership, serializationOptions, userActivation = false) {\n const callFunctionAndSerializeScript = `(...args) => {\n function callFunction(f, args) {\n const deserializedThis = args.shift();\n const deserializedArgs = args;\n return f.apply(deserializedThis, deserializedArgs);\n }\n return callFunction((\n ${functionDeclaration}\n ), args);\n }`;\n const thisAndArgumentsList = [\n await this.deserializeForCdp(thisLocalValue),\n ...(await Promise.all(argumentsLocalValues.map(async (argumentLocalValue) => await this.deserializeForCdp(argumentLocalValue)))),\n ];\n let cdpCallFunctionResult;\n try {\n cdpCallFunctionResult = await this.cdpClient.sendCommand('Runtime.callFunctionOn', {\n functionDeclaration: callFunctionAndSerializeScript,\n awaitPromise,\n arguments: thisAndArgumentsList,\n serializationOptions: Realm.#getSerializationOptions(\"deep\" /* Protocol.Runtime.SerializationOptionsSerialization.Deep */, serializationOptions),\n executionContextId: this.executionContextId,\n userGesture: userActivation,\n });\n }\n catch (error) {\n // Heuristic to determine if the problem is in the argument.\n // The check can be done on the `deserialization` step, but this approach\n // helps to save round-trips.\n if (error.code === -32000 /* CdpErrorConstants.GENERIC_ERROR */ &&\n [\n 'Could not find object with given id',\n 'Argument should belong to the same JavaScript world as target object',\n 'Invalid remote object id',\n ].includes(error.message)) {\n throw new protocol_js_1.NoSuchHandleException('Handle was not found.');\n }\n throw error;\n }\n if (cdpCallFunctionResult.exceptionDetails) {\n return await this.#getExceptionResult(cdpCallFunctionResult.exceptionDetails, 1, resultOwnership);\n }\n return {\n type: 'success',\n result: this.cdpToBidiValue(cdpCallFunctionResult, resultOwnership),\n realm: this.realmId,\n };\n }\n async deserializeForCdp(localValue) {\n if ('handle' in localValue && localValue.handle) {\n return { objectId: localValue.handle };\n // We tried to find a handle value but failed\n // This allows us to have exhaustive switch on `localValue.type`\n }\n else if ('handle' in localValue || 'sharedId' in localValue) {\n throw new protocol_js_1.NoSuchHandleException('Handle was not found.');\n }\n switch (localValue.type) {\n case 'undefined':\n return { unserializableValue: 'undefined' };\n case 'null':\n return { unserializableValue: 'null' };\n case 'string':\n return { value: localValue.value };\n case 'number':\n if (localValue.value === 'NaN') {\n return { unserializableValue: 'NaN' };\n }\n else if (localValue.value === '-0') {\n return { unserializableValue: '-0' };\n }\n else if (localValue.value === 'Infinity') {\n return { unserializableValue: 'Infinity' };\n }\n else if (localValue.value === '-Infinity') {\n return { unserializableValue: '-Infinity' };\n }\n return {\n value: localValue.value,\n };\n case 'boolean':\n return { value: Boolean(localValue.value) };\n case 'bigint':\n return {\n unserializableValue: `BigInt(${JSON.stringify(localValue.value)})`,\n };\n case 'date':\n return {\n unserializableValue: `new Date(Date.parse(${JSON.stringify(localValue.value)}))`,\n };\n case 'regexp':\n return {\n unserializableValue: `new RegExp(${JSON.stringify(localValue.value.pattern)}, ${JSON.stringify(localValue.value.flags)})`,\n };\n case 'map': {\n // TODO: If none of the nested keys and values has a remote\n // reference, serialize to `unserializableValue` without CDP roundtrip.\n const keyValueArray = await this.#flattenKeyValuePairs(localValue.value);\n const { result } = await this.cdpClient.sendCommand('Runtime.callFunctionOn', {\n functionDeclaration: String((...args) => {\n const result = new Map();\n for (let i = 0; i < args.length; i += 2) {\n result.set(args[i], args[i + 1]);\n }\n return result;\n }),\n awaitPromise: false,\n arguments: keyValueArray,\n returnByValue: false,\n executionContextId: this.executionContextId,\n });\n // TODO(#375): Release `result.objectId` after using.\n return { objectId: result.objectId };\n }\n case 'object': {\n // TODO: If none of the nested keys and values has a remote\n // reference, serialize to `unserializableValue` without CDP roundtrip.\n const keyValueArray = await this.#flattenKeyValuePairs(localValue.value);\n const { result } = await this.cdpClient.sendCommand('Runtime.callFunctionOn', {\n functionDeclaration: String((...args) => {\n const result = {};\n for (let i = 0; i < args.length; i += 2) {\n // Key should be either `string`, `number`, or `symbol`.\n const key = args[i];\n result[key] = args[i + 1];\n }\n return result;\n }),\n awaitPromise: false,\n arguments: keyValueArray,\n returnByValue: false,\n executionContextId: this.executionContextId,\n });\n // TODO(#375): Release `result.objectId` after using.\n return { objectId: result.objectId };\n }\n case 'array': {\n // TODO: If none of the nested items has a remote reference,\n // serialize to `unserializableValue` without CDP roundtrip.\n const args = await this.#flattenValueList(localValue.value);\n const { result } = await this.cdpClient.sendCommand('Runtime.callFunctionOn', {\n functionDeclaration: String((...args) => args),\n awaitPromise: false,\n arguments: args,\n returnByValue: false,\n executionContextId: this.executionContextId,\n });\n // TODO(#375): Release `result.objectId` after using.\n return { objectId: result.objectId };\n }\n case 'set': {\n // TODO: if none of the nested items has a remote reference,\n // serialize to `unserializableValue` without CDP roundtrip.\n const args = await this.#flattenValueList(localValue.value);\n const { result } = await this.cdpClient.sendCommand('Runtime.callFunctionOn', {\n functionDeclaration: String((...args) => new Set(args)),\n awaitPromise: false,\n arguments: args,\n returnByValue: false,\n executionContextId: this.executionContextId,\n });\n // TODO(#375): Release `result.objectId` after using.\n return { objectId: result.objectId };\n }\n case 'channel': {\n const channelProxy = new ChannelProxy_js_1.ChannelProxy(localValue.value, this.#logger);\n const channelProxySendMessageHandle = await channelProxy.init(this, this.#eventManager);\n return { objectId: channelProxySendMessageHandle };\n }\n // TODO(#375): Dispose of nested objects.\n }\n // Intentionally outside to handle unknown types\n throw new Error(`Value ${JSON.stringify(localValue)} is not deserializable.`);\n }\n async #getExceptionResult(exceptionDetails, lineOffset, resultOwnership) {\n return {\n exceptionDetails: await this.#serializeCdpExceptionDetails(exceptionDetails, lineOffset, resultOwnership),\n realm: this.realmId,\n type: 'exception',\n };\n }\n static #getSerializationOptions(serialization, serializationOptions) {\n return {\n serialization,\n additionalParameters: Realm.#getAdditionalSerializationParameters(serializationOptions),\n ...Realm.#getMaxObjectDepth(serializationOptions),\n };\n }\n static #getAdditionalSerializationParameters(serializationOptions) {\n const additionalParameters = {};\n if (serializationOptions.maxDomDepth !== undefined) {\n additionalParameters['maxNodeDepth'] =\n serializationOptions.maxDomDepth === null\n ? 1000\n : serializationOptions.maxDomDepth;\n }\n if (serializationOptions.includeShadowTree !== undefined) {\n additionalParameters['includeShadowTree'] =\n serializationOptions.includeShadowTree;\n }\n return additionalParameters;\n }\n static #getMaxObjectDepth(serializationOptions) {\n return serializationOptions.maxObjectDepth === undefined ||\n serializationOptions.maxObjectDepth === null\n ? {}\n : { maxDepth: serializationOptions.maxObjectDepth };\n }\n async #releaseObject(handle) {\n try {\n await this.cdpClient.sendCommand('Runtime.releaseObject', {\n objectId: handle,\n });\n }\n catch (error) {\n // Heuristic to determine if the problem is in the unknown handler.\n // Ignore the error if so.\n if (!(error.code === -32000 /* CdpErrorConstants.GENERIC_ERROR */ &&\n error.message === 'Invalid remote object id')) {\n throw error;\n }\n }\n }\n async disown(handle) {\n // Disowning an object from different realm does nothing.\n if (this.#realmStorage.knownHandlesToRealmMap.get(handle) !== this.realmId) {\n return;\n }\n await this.#releaseObject(handle);\n this.#realmStorage.knownHandlesToRealmMap.delete(handle);\n }\n dispose() {\n this.#registerEvent({\n type: 'event',\n method: protocol_js_1.ChromiumBidi.Script.EventNames.RealmDestroyed,\n params: {\n realm: this.realmId,\n },\n });\n }\n}\nexports.Realm = Realm;\n//# sourceMappingURL=Realm.js.map","\"use strict\";\n/**\n * Copyright 2024 Google LLC.\n * Copyright (c) Microsoft Corporation.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.WorkerRealm = void 0;\nconst Realm_js_1 = require(\"./Realm.js\");\nclass WorkerRealm extends Realm_js_1.Realm {\n #realmType;\n #ownerRealms;\n constructor(cdpClient, eventManager, executionContextId, logger, origin, ownerRealms, realmId, realmStorage, realmType) {\n super(cdpClient, eventManager, executionContextId, logger, origin, realmId, realmStorage);\n this.#ownerRealms = ownerRealms;\n this.#realmType = realmType;\n this.initialize();\n }\n get associatedBrowsingContexts() {\n return this.#ownerRealms.flatMap((realm) => realm.associatedBrowsingContexts);\n }\n get realmType() {\n return this.#realmType;\n }\n get source() {\n return {\n realm: this.realmId,\n // This is a hack to make Puppeteer able to track workers.\n // TODO: remove after Puppeteer tracks workers by owners and use the base version.\n context: this.associatedBrowsingContexts[0]?.id,\n };\n }\n get realmInfo() {\n const owners = this.#ownerRealms.map((realm) => realm.realmId);\n const { realmType } = this;\n switch (realmType) {\n case 'dedicated-worker': {\n const owner = owners[0];\n if (owner === undefined || owners.length !== 1) {\n throw new Error('Dedicated worker must have exactly one owner');\n }\n return {\n ...this.baseInfo,\n type: realmType,\n owners: [owner],\n };\n }\n case 'service-worker':\n case 'shared-worker': {\n return {\n ...this.baseInfo,\n type: realmType,\n };\n }\n }\n }\n}\nexports.WorkerRealm = WorkerRealm;\n//# sourceMappingURL=WorkerRealm.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.assert = void 0;\n/**\n * Copyright 2023 Google LLC.\n * Copyright (c) Microsoft Corporation.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nfunction assert(predicate, message) {\n if (!predicate) {\n throw new Error(message ?? 'Internal assertion failed.');\n }\n}\nexports.assert = assert;\n//# sourceMappingURL=assert.js.map","\"use strict\";\n/**\n * Copyright 2022 Google LLC.\n * Copyright (c) Microsoft Corporation.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.Deferred = void 0;\nclass Deferred {\n #isFinished = false;\n #promise;\n #resolve;\n #reject;\n get isFinished() {\n return this.#isFinished;\n }\n constructor() {\n this.#promise = new Promise((resolve, reject) => {\n this.#resolve = resolve;\n this.#reject = reject;\n });\n // Needed to avoid `Uncaught (in promise)`. The promises returned by `then`\n // and `catch` will be rejected anyway.\n this.#promise.catch((_error) => {\n // Intentionally empty.\n });\n }\n then(onFulfilled, onRejected) {\n return this.#promise.then(onFulfilled, onRejected);\n }\n catch(onRejected) {\n return this.#promise.catch(onRejected);\n }\n resolve(value) {\n if (!this.#isFinished) {\n this.#isFinished = true;\n this.#resolve(value);\n }\n }\n reject(reason) {\n if (!this.#isFinished) {\n this.#isFinished = true;\n this.#reject(reason);\n }\n }\n finally(onFinally) {\n return this.#promise.finally(onFinally);\n }\n [Symbol.toStringTag] = 'Promise';\n}\nexports.Deferred = Deferred;\n//# sourceMappingURL=Deferred.js.map","\"use strict\";\n/**\n * Copyright 2023 Google LLC.\n * Copyright (c) Microsoft Corporation.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.inchesFromCm = void 0;\n/** @return Given an input in cm, convert it to inches. */\nfunction inchesFromCm(cm) {\n return cm / 2.54;\n}\nexports.inchesFromCm = inchesFromCm;\n//# sourceMappingURL=unitConversions.js.map","\"use strict\";\n/*\n * Copyright 2023 Google LLC.\n * Copyright (c) Microsoft Corporation.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.parseSharedId = exports.getSharedId = void 0;\nconst SHARED_ID_DIVIDER = '_element_';\nfunction getSharedId(frameId, documentId, backendNodeId, sharedIdWithFrame) {\n if (sharedIdWithFrame) {\n return `f.${frameId}.d.${documentId}.e.${backendNodeId}`;\n }\n // TODO: remove once ChromeDriver accepts sharedId in the new format:\n // http://go/chromedriver:weak-map\n return `${documentId}${SHARED_ID_DIVIDER}${backendNodeId}`;\n}\nexports.getSharedId = getSharedId;\nfunction parseLegacySharedId(sharedId) {\n const match = sharedId.match(new RegExp(`(.*)${SHARED_ID_DIVIDER}(.*)`));\n if (!match) {\n // SharedId is incorrectly formatted.\n return null;\n }\n const documentId = match[1];\n const elementId = match[2];\n if (documentId === undefined || elementId === undefined) {\n return null;\n }\n const backendNodeId = parseInt(elementId ?? '');\n if (isNaN(backendNodeId)) {\n return null;\n }\n return {\n documentId,\n backendNodeId,\n };\n}\nfunction parseSharedId(sharedId) {\n // TODO: remove legacy check once ChromeDriver provides sharedId in the new format.\n const legacyFormattedSharedId = parseLegacySharedId(sharedId);\n if (legacyFormattedSharedId !== null) {\n return { ...legacyFormattedSharedId, frameId: undefined };\n }\n const match = sharedId.match(/f\\.(.*)\\.d\\.(.*)\\.e\\.([0-9]*)/);\n if (!match) {\n // SharedId is incorrectly formatted.\n return null;\n }\n const frameId = match[1];\n const documentId = match[2];\n const elementId = match[3];\n if (frameId === undefined ||\n documentId === undefined ||\n elementId === undefined) {\n return null;\n }\n const backendNodeId = parseInt(elementId ?? '');\n if (isNaN(backendNodeId)) {\n return null;\n }\n return {\n frameId,\n documentId,\n backendNodeId,\n };\n}\nexports.parseSharedId = parseSharedId;\n//# sourceMappingURL=SharedId.js.map","\"use strict\";\n/**\n * Copyright 2024 Google LLC.\n * Copyright (c) Microsoft Corporation.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.WindowRealm = void 0;\nconst protocol_js_1 = require(\"../../../protocol/protocol.js\");\nconst Realm_js_1 = require(\"./Realm.js\");\nconst SharedId_js_1 = require(\"./SharedId.js\");\nclass WindowRealm extends Realm_js_1.Realm {\n #browsingContextId;\n #browsingContextStorage;\n #sharedIdWithFrame;\n sandbox;\n constructor(browsingContextId, browsingContextStorage, cdpClient, eventManager, executionContextId, logger, origin, realmId, realmStorage, sandbox, sharedIdWithFrame) {\n super(cdpClient, eventManager, executionContextId, logger, origin, realmId, realmStorage);\n this.#browsingContextId = browsingContextId;\n this.#browsingContextStorage = browsingContextStorage;\n this.#sharedIdWithFrame = sharedIdWithFrame;\n this.sandbox = sandbox;\n this.initialize();\n }\n #getBrowsingContextId(navigableId) {\n const maybeBrowsingContext = this.#browsingContextStorage\n .getAllContexts()\n .find((context) => context.navigableId === navigableId);\n return maybeBrowsingContext?.id ?? 'UNKNOWN';\n }\n get browsingContext() {\n return this.#browsingContextStorage.getContext(this.#browsingContextId);\n }\n get associatedBrowsingContexts() {\n return [this.browsingContext];\n }\n get realmType() {\n return 'window';\n }\n get realmInfo() {\n return {\n ...this.baseInfo,\n type: this.realmType,\n context: this.#browsingContextId,\n sandbox: this.sandbox,\n };\n }\n get source() {\n return {\n realm: this.realmId,\n context: this.browsingContext.id,\n };\n }\n serializeForBiDi(deepSerializedValue, internalIdMap) {\n const bidiValue = deepSerializedValue.value;\n if (deepSerializedValue.type === 'node') {\n if (Object.hasOwn(bidiValue, 'backendNodeId')) {\n let navigableId = this.browsingContext.navigableId ?? 'UNKNOWN';\n if (Object.hasOwn(bidiValue, 'loaderId')) {\n // `loaderId` should be always there after ~2024-03-05, when\n // https://crrev.com/c/5116240 reaches stable.\n // TODO: remove the check after the date.\n navigableId = bidiValue.loaderId;\n delete bidiValue['loaderId'];\n }\n deepSerializedValue.sharedId =\n (0, SharedId_js_1.getSharedId)(this.#getBrowsingContextId(navigableId), navigableId, bidiValue.backendNodeId, this.#sharedIdWithFrame);\n delete bidiValue['backendNodeId'];\n }\n if (Object.hasOwn(bidiValue, 'children')) {\n for (const i in bidiValue.children) {\n bidiValue.children[i] = this.serializeForBiDi(bidiValue.children[i], internalIdMap);\n }\n }\n if (Object.hasOwn(bidiValue, 'shadowRoot') &&\n bidiValue.shadowRoot !== null) {\n bidiValue.shadowRoot = this.serializeForBiDi(bidiValue.shadowRoot, internalIdMap);\n }\n // `namespaceURI` can be is either `null` or non-empty string.\n if (bidiValue.namespaceURI === '') {\n bidiValue.namespaceURI = null;\n }\n }\n return super.serializeForBiDi(deepSerializedValue, internalIdMap);\n }\n async deserializeForCdp(localValue) {\n if ('sharedId' in localValue && localValue.sharedId) {\n const parsedSharedId = (0, SharedId_js_1.parseSharedId)(localValue.sharedId);\n if (parsedSharedId === null) {\n throw new protocol_js_1.NoSuchNodeException(`SharedId \"${localValue.sharedId}\" was not found.`);\n }\n const { documentId, backendNodeId } = parsedSharedId;\n // TODO: add proper validation if the element is accessible from the current realm.\n if (this.browsingContext.navigableId !== documentId) {\n throw new protocol_js_1.NoSuchNodeException(`SharedId \"${localValue.sharedId}\" belongs to different document. Current document is ${this.browsingContext.navigableId}.`);\n }\n try {\n const { object } = await this.cdpClient.sendCommand('DOM.resolveNode', {\n backendNodeId,\n executionContextId: this.executionContextId,\n });\n // TODO(#375): Release `obj.object.objectId` after using.\n return { objectId: object.objectId };\n }\n catch (error) {\n // Heuristic to detect \"no such node\" exception. Based on the specific\n // CDP implementation.\n if (error.code === -32000 /* CdpErrorConstants.GENERIC_ERROR */ &&\n error.message === 'No node with given id found') {\n throw new protocol_js_1.NoSuchNodeException(`SharedId \"${localValue.sharedId}\" was not found.`);\n }\n throw new protocol_js_1.UnknownErrorException(error.message, error.stack);\n }\n }\n return await super.deserializeForCdp(localValue);\n }\n async evaluate(expression, awaitPromise, resultOwnership, serializationOptions, userActivation) {\n await this.#browsingContextStorage\n .getContext(this.#browsingContextId)\n .targetUnblockedOrThrow();\n return await super.evaluate(expression, awaitPromise, resultOwnership, serializationOptions, userActivation);\n }\n async callFunction(functionDeclaration, thisLocalValue, argumentsLocalValues, awaitPromise, resultOwnership, serializationOptions, userActivation) {\n await this.#browsingContextStorage\n .getContext(this.#browsingContextId)\n .targetUnblockedOrThrow();\n return await super.callFunction(functionDeclaration, thisLocalValue, argumentsLocalValues, awaitPromise, resultOwnership, serializationOptions, userActivation);\n }\n}\nexports.WindowRealm = WindowRealm;\n//# sourceMappingURL=WindowRealm.js.map","\"use strict\";\n/**\n * Copyright 2022 Google LLC.\n * Copyright (c) Microsoft Corporation.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.serializeOrigin = exports.BrowsingContextImpl = void 0;\nconst chromium_bidi_js_1 = require(\"../../../protocol/chromium-bidi.js\");\nconst protocol_js_1 = require(\"../../../protocol/protocol.js\");\nconst assert_js_1 = require(\"../../../utils/assert.js\");\nconst Deferred_js_1 = require(\"../../../utils/Deferred.js\");\nconst log_js_1 = require(\"../../../utils/log.js\");\nconst unitConversions_js_1 = require(\"../../../utils/unitConversions.js\");\nconst WindowRealm_js_1 = require(\"../script/WindowRealm.js\");\nclass BrowsingContextImpl {\n static LOGGER_PREFIX = `${log_js_1.LogType.debug}:browsingContext`;\n /** The ID of this browsing context. */\n #id;\n userContext;\n /**\n * The ID of the parent browsing context.\n * If null, this is a top-level context.\n */\n #parentId;\n /** Direct children browsing contexts. */\n #children = new Set();\n #browsingContextStorage;\n #lifecycle = {\n DOMContentLoaded: new Deferred_js_1.Deferred(),\n load: new Deferred_js_1.Deferred(),\n };\n #navigation = {\n withinDocument: new Deferred_js_1.Deferred(),\n };\n #url = 'about:blank';\n #eventManager;\n #realmStorage;\n #loaderId;\n #cdpTarget;\n #maybeDefaultRealm;\n #sharedIdWithFrame;\n #logger;\n constructor(cdpTarget, realmStorage, id, parentId, userContext, eventManager, browsingContextStorage, sharedIdWithFrame, logger) {\n this.#cdpTarget = cdpTarget;\n this.#realmStorage = realmStorage;\n this.#id = id;\n this.#parentId = parentId;\n this.userContext = userContext;\n this.#eventManager = eventManager;\n this.#browsingContextStorage = browsingContextStorage;\n this.#sharedIdWithFrame = sharedIdWithFrame;\n this.#logger = logger;\n }\n static create(cdpTarget, realmStorage, id, parentId, userContext, eventManager, browsingContextStorage, sharedIdWithFrame, logger) {\n const context = new BrowsingContextImpl(cdpTarget, realmStorage, id, parentId, userContext, eventManager, browsingContextStorage, sharedIdWithFrame, logger);\n context.#initListeners();\n browsingContextStorage.addContext(context);\n if (!context.isTopLevelContext()) {\n context.parent.addChild(context.id);\n }\n eventManager.registerEvent({\n type: 'event',\n method: protocol_js_1.ChromiumBidi.BrowsingContext.EventNames.ContextCreated,\n params: context.serializeToBidiValue(),\n }, context.id);\n return context;\n }\n static getTimestamp() {\n // `timestamp` from the event is MonotonicTime, not real time, so\n // the best Mapper can do is to set the timestamp to the epoch time\n // of the event arrived.\n // https://chromedevtools.github.io/devtools-protocol/tot/Network/#type-MonotonicTime\n return new Date().getTime();\n }\n /**\n * @see https://html.spec.whatwg.org/multipage/document-sequences.html#navigable\n */\n get navigableId() {\n return this.#loaderId;\n }\n dispose() {\n this.#deleteAllChildren();\n this.#realmStorage.deleteRealms({\n browsingContextId: this.id,\n });\n // Remove context from the parent.\n if (!this.isTopLevelContext()) {\n this.parent.#children.delete(this.id);\n }\n // Fail all ongoing navigations.\n this.#failLifecycleIfNotFinished();\n this.#eventManager.registerEvent({\n type: 'event',\n method: protocol_js_1.ChromiumBidi.BrowsingContext.EventNames.ContextDestroyed,\n params: this.serializeToBidiValue(),\n }, this.id);\n this.#browsingContextStorage.deleteContextById(this.id);\n }\n /** Returns the ID of this context. */\n get id() {\n return this.#id;\n }\n /** Returns the parent context ID. */\n get parentId() {\n return this.#parentId;\n }\n /** Returns the parent context. */\n get parent() {\n if (this.parentId === null) {\n return null;\n }\n return this.#browsingContextStorage.getContext(this.parentId);\n }\n /** Returns all direct children contexts. */\n get directChildren() {\n return [...this.#children].map((id) => this.#browsingContextStorage.getContext(id));\n }\n /** Returns all children contexts, flattened. */\n get allChildren() {\n const children = this.directChildren;\n return children.concat(...children.map((child) => child.allChildren));\n }\n /**\n * Returns true if this is a top-level context.\n * This is the case whenever the parent context ID is null.\n */\n isTopLevelContext() {\n return this.#parentId === null;\n }\n get top() {\n // eslint-disable-next-line @typescript-eslint/no-this-alias\n let topContext = this;\n let parent = topContext.parent;\n while (parent) {\n topContext = parent;\n parent = topContext.parent;\n }\n return topContext;\n }\n addChild(childId) {\n this.#children.add(childId);\n }\n #deleteAllChildren() {\n this.directChildren.map((child) => child.dispose());\n }\n get #defaultRealm() {\n (0, assert_js_1.assert)(this.#maybeDefaultRealm, `No default realm for browsing context ${this.#id}`);\n return this.#maybeDefaultRealm;\n }\n get cdpTarget() {\n return this.#cdpTarget;\n }\n updateCdpTarget(cdpTarget) {\n this.#cdpTarget = cdpTarget;\n this.#initListeners();\n }\n get url() {\n return this.#url;\n }\n async lifecycleLoaded() {\n await this.#lifecycle.load;\n }\n async targetUnblockedOrThrow() {\n const result = await this.#cdpTarget.unblocked;\n if (result.kind === 'error') {\n throw result.error;\n }\n }\n async getOrCreateSandbox(sandbox) {\n if (sandbox === undefined || sandbox === '') {\n return this.#defaultRealm;\n }\n let maybeSandboxes = this.#realmStorage.findRealms({\n browsingContextId: this.id,\n sandbox,\n });\n if (maybeSandboxes.length === 0) {\n await this.#cdpTarget.cdpClient.sendCommand('Page.createIsolatedWorld', {\n frameId: this.id,\n worldName: sandbox,\n });\n // `Runtime.executionContextCreated` should be emitted by the time the\n // previous command is done.\n maybeSandboxes = this.#realmStorage.findRealms({\n browsingContextId: this.id,\n sandbox,\n });\n (0, assert_js_1.assert)(maybeSandboxes.length !== 0);\n }\n // It's possible for more than one sandbox to be created due to provisional\n // frames. In this case, it's always the first one (i.e. the oldest one)\n // that is more relevant since the user may have set that one up already\n // through evaluation.\n return maybeSandboxes[0];\n }\n serializeToBidiValue(maxDepth = 0, addParentField = true) {\n return {\n context: this.#id,\n url: this.url,\n userContext: this.userContext,\n children: maxDepth > 0\n ? this.directChildren.map((c) => c.serializeToBidiValue(maxDepth - 1, false))\n : null,\n ...(addParentField ? { parent: this.#parentId } : {}),\n };\n }\n onTargetInfoChanged(params) {\n this.#url = params.targetInfo.url;\n }\n #initListeners() {\n this.#cdpTarget.cdpClient.on('Page.frameNavigated', (params) => {\n if (this.id !== params.frame.id) {\n return;\n }\n this.#url = params.frame.url + (params.frame.urlFragment ?? '');\n // At the point the page is initialized, all the nested iframes from the\n // previous page are detached and realms are destroyed.\n // Remove children from context.\n this.#deleteAllChildren();\n });\n this.#cdpTarget.cdpClient.on('Page.navigatedWithinDocument', (params) => {\n if (this.id !== params.frameId) {\n return;\n }\n const timestamp = BrowsingContextImpl.getTimestamp();\n this.#url = params.url;\n this.#navigation.withinDocument.resolve(params);\n this.#eventManager.registerEvent({\n type: 'event',\n method: protocol_js_1.ChromiumBidi.BrowsingContext.EventNames.FragmentNavigated,\n params: {\n context: this.id,\n navigation: null,\n timestamp,\n url: this.#url,\n },\n }, this.id);\n });\n this.#cdpTarget.cdpClient.on('Page.frameStartedLoading', (params) => {\n if (this.id !== params.frameId) {\n return;\n }\n this.#eventManager.registerEvent({\n type: 'event',\n method: protocol_js_1.ChromiumBidi.BrowsingContext.EventNames.NavigationStarted,\n params: {\n context: this.id,\n navigation: null,\n timestamp: BrowsingContextImpl.getTimestamp(),\n url: '',\n },\n }, this.id);\n });\n this.#cdpTarget.cdpClient.on('Page.lifecycleEvent', (params) => {\n if (this.id !== params.frameId) {\n return;\n }\n if (params.name === 'init') {\n this.#documentChanged(params.loaderId);\n return;\n }\n if (params.name === 'commit') {\n this.#loaderId = params.loaderId;\n return;\n }\n // Ignore event from not current navigation.\n if (params.loaderId !== this.#loaderId) {\n return;\n }\n const timestamp = BrowsingContextImpl.getTimestamp();\n switch (params.name) {\n case 'DOMContentLoaded':\n this.#eventManager.registerEvent({\n type: 'event',\n method: protocol_js_1.ChromiumBidi.BrowsingContext.EventNames.DomContentLoaded,\n params: {\n context: this.id,\n navigation: this.#loaderId ?? null,\n timestamp,\n url: this.#url,\n },\n }, this.id);\n this.#lifecycle.DOMContentLoaded.resolve(params);\n break;\n case 'load':\n this.#eventManager.registerEvent({\n type: 'event',\n method: protocol_js_1.ChromiumBidi.BrowsingContext.EventNames.Load,\n params: {\n context: this.id,\n navigation: this.#loaderId ?? null,\n timestamp,\n url: this.#url,\n },\n }, this.id);\n this.#lifecycle.load.resolve(params);\n break;\n }\n });\n this.#cdpTarget.cdpClient.on('Runtime.executionContextCreated', (params) => {\n const { auxData, name, uniqueId, id } = params.context;\n if (!auxData || auxData.frameId !== this.id) {\n return;\n }\n let origin;\n let sandbox;\n // Only these execution contexts are supported for now.\n switch (auxData.type) {\n case 'isolated':\n sandbox = name;\n // Sandbox should have the same origin as the context itself, but in CDP\n // it has an empty one.\n origin = this.#defaultRealm.origin;\n break;\n case 'default':\n origin = serializeOrigin(params.context.origin);\n break;\n default:\n return;\n }\n const realm = new WindowRealm_js_1.WindowRealm(this.id, this.#browsingContextStorage, this.#cdpTarget.cdpClient, this.#eventManager, id, this.#logger, origin, uniqueId, this.#realmStorage, sandbox, this.#sharedIdWithFrame);\n if (auxData.isDefault) {\n this.#maybeDefaultRealm = realm;\n // Initialize ChannelProxy listeners for all the channels of all the\n // preload scripts related to this BrowsingContext.\n // TODO: extend for not default realms by the sandbox name.\n void Promise.all(this.#cdpTarget\n .getChannels()\n .map((channel) => channel.startListenerFromWindow(realm, this.#eventManager)));\n }\n });\n this.#cdpTarget.cdpClient.on('Runtime.executionContextDestroyed', (params) => {\n this.#realmStorage.deleteRealms({\n cdpSessionId: this.#cdpTarget.cdpSessionId,\n executionContextId: params.executionContextId,\n });\n });\n this.#cdpTarget.cdpClient.on('Runtime.executionContextsCleared', () => {\n this.#realmStorage.deleteRealms({\n cdpSessionId: this.#cdpTarget.cdpSessionId,\n });\n });\n this.#cdpTarget.cdpClient.on('Page.javascriptDialogClosed', (params) => {\n const accepted = params.result;\n this.#eventManager.registerEvent({\n type: 'event',\n method: protocol_js_1.ChromiumBidi.BrowsingContext.EventNames.UserPromptClosed,\n params: {\n context: this.id,\n accepted,\n userText: accepted && params.userInput ? params.userInput : undefined,\n },\n }, this.id);\n });\n this.#cdpTarget.cdpClient.on('Page.javascriptDialogOpening', (params) => {\n this.#eventManager.registerEvent({\n type: 'event',\n method: protocol_js_1.ChromiumBidi.BrowsingContext.EventNames.UserPromptOpened,\n params: {\n context: this.id,\n type: params.type,\n message: params.message,\n // Don't set the value if empty string\n defaultValue: params.defaultPrompt || undefined,\n },\n }, this.id);\n });\n }\n #documentChanged(loaderId) {\n // Same document navigation.\n if (loaderId === undefined || this.#loaderId === loaderId) {\n if (this.#navigation.withinDocument.isFinished) {\n this.#navigation.withinDocument =\n new Deferred_js_1.Deferred();\n }\n else {\n this.#logger?.(BrowsingContextImpl.LOGGER_PREFIX, 'Document changed (navigatedWithinDocument)');\n }\n return;\n }\n this.#resetLifecycleIfFinished();\n this.#loaderId = loaderId;\n }\n #resetLifecycleIfFinished() {\n if (this.#lifecycle.DOMContentLoaded.isFinished) {\n this.#lifecycle.DOMContentLoaded =\n new Deferred_js_1.Deferred();\n }\n else {\n this.#logger?.(BrowsingContextImpl.LOGGER_PREFIX, 'Document changed (DOMContentLoaded)');\n }\n if (this.#lifecycle.load.isFinished) {\n this.#lifecycle.load = new Deferred_js_1.Deferred();\n }\n else {\n this.#logger?.(BrowsingContextImpl.LOGGER_PREFIX, 'Document changed (load)');\n }\n }\n #failLifecycleIfNotFinished() {\n if (!this.#lifecycle.DOMContentLoaded.isFinished) {\n this.#lifecycle.DOMContentLoaded.reject(new protocol_js_1.UnknownErrorException('navigation canceled'));\n }\n if (!this.#lifecycle.load.isFinished) {\n this.#lifecycle.load.reject(new protocol_js_1.UnknownErrorException('navigation canceled'));\n }\n }\n async navigate(url, wait) {\n try {\n new URL(url);\n }\n catch {\n throw new protocol_js_1.InvalidArgumentException(`Invalid URL: ${url}`);\n }\n await this.targetUnblockedOrThrow();\n // TODO: handle loading errors.\n const cdpNavigateResult = await this.#cdpTarget.cdpClient.sendCommand('Page.navigate', {\n url,\n frameId: this.id,\n });\n if (cdpNavigateResult.errorText) {\n throw new protocol_js_1.UnknownErrorException(cdpNavigateResult.errorText);\n }\n this.#documentChanged(cdpNavigateResult.loaderId);\n switch (wait) {\n case \"none\" /* BrowsingContext.ReadinessState.None */:\n break;\n case \"interactive\" /* BrowsingContext.ReadinessState.Interactive */:\n // No `loaderId` means same-document navigation.\n if (cdpNavigateResult.loaderId === undefined) {\n await this.#navigation.withinDocument;\n }\n else {\n await this.#lifecycle.DOMContentLoaded;\n }\n break;\n case \"complete\" /* BrowsingContext.ReadinessState.Complete */:\n // No `loaderId` means same-document navigation.\n if (cdpNavigateResult.loaderId === undefined) {\n await this.#navigation.withinDocument;\n }\n else {\n await this.#lifecycle.load;\n }\n break;\n }\n return {\n navigation: cdpNavigateResult.loaderId ?? null,\n // Url can change due to redirect get the latest one.\n url: wait === \"none\" /* BrowsingContext.ReadinessState.None */ ? url : this.#url,\n };\n }\n async reload(ignoreCache, wait) {\n await this.targetUnblockedOrThrow();\n this.#resetLifecycleIfFinished();\n await this.#cdpTarget.cdpClient.sendCommand('Page.reload', {\n ignoreCache,\n });\n switch (wait) {\n case \"none\" /* BrowsingContext.ReadinessState.None */:\n break;\n case \"interactive\" /* BrowsingContext.ReadinessState.Interactive */:\n await this.#lifecycle.DOMContentLoaded;\n break;\n case \"complete\" /* BrowsingContext.ReadinessState.Complete */:\n await this.#lifecycle.load;\n break;\n }\n return {\n navigation: wait === \"none\" /* BrowsingContext.ReadinessState.None */\n ? null\n : this.navigableId ?? null,\n url: this.url,\n };\n }\n async setViewport(viewport, devicePixelRatio) {\n if (viewport === null && devicePixelRatio === null) {\n await this.#cdpTarget.cdpClient.sendCommand('Emulation.clearDeviceMetricsOverride');\n }\n else {\n try {\n await this.#cdpTarget.cdpClient.sendCommand('Emulation.setDeviceMetricsOverride', {\n width: viewport ? viewport.width : 0,\n height: viewport ? viewport.height : 0,\n deviceScaleFactor: devicePixelRatio ? devicePixelRatio : 0,\n mobile: false,\n dontSetVisibleSize: true,\n });\n }\n catch (err) {\n if (err.message.startsWith(\n // https://crsrc.org/c/content/browser/devtools/protocol/emulation_handler.cc;l=257;drc=2f6eee84cf98d4227e7c41718dd71b82f26d90ff\n 'Width and height values must be positive')) {\n throw new protocol_js_1.UnsupportedOperationException('Provided viewport dimensions are not supported');\n }\n throw err;\n }\n }\n }\n async handleUserPrompt(params) {\n await this.#cdpTarget.cdpClient.sendCommand('Page.handleJavaScriptDialog', {\n accept: params.accept ?? true,\n promptText: params.userText,\n });\n }\n async activate() {\n await this.#cdpTarget.cdpClient.sendCommand('Page.bringToFront');\n }\n async captureScreenshot(params) {\n if (!this.isTopLevelContext()) {\n throw new protocol_js_1.UnsupportedOperationException(`Non-top-level 'context' (${params.context}) is currently not supported`);\n }\n const formatParameters = getImageFormatParameters(params);\n // XXX: Focus the original tab after the screenshot is taken.\n // This is needed because the screenshot gets blocked until the active tab gets focus.\n await this.#cdpTarget.cdpClient.sendCommand('Page.bringToFront');\n let captureBeyondViewport = false;\n let script;\n params.origin ??= 'viewport';\n switch (params.origin) {\n case 'document': {\n script = String(() => {\n const element = document.documentElement;\n return {\n x: 0,\n y: 0,\n width: element.scrollWidth,\n height: element.scrollHeight,\n };\n });\n captureBeyondViewport = true;\n break;\n }\n case 'viewport': {\n script = String(() => {\n const viewport = window.visualViewport;\n return {\n x: viewport.pageLeft,\n y: viewport.pageTop,\n width: viewport.width,\n height: viewport.height,\n };\n });\n break;\n }\n }\n const realm = await this.getOrCreateSandbox(undefined);\n const originResult = await realm.callFunction(script, { type: 'undefined' }, [], false, \"none\" /* Script.ResultOwnership.None */, {}, false);\n (0, assert_js_1.assert)(originResult.type === 'success');\n const origin = deserializeDOMRect(originResult.result);\n (0, assert_js_1.assert)(origin);\n const rect = params.clip\n ? getIntersectionRect(await this.#parseRect(params.clip), origin)\n : origin;\n if (rect.width === 0 || rect.height === 0) {\n throw new protocol_js_1.UnableToCaptureScreenException(`Unable to capture screenshot with zero dimensions: width=${rect.width}, height=${rect.height}`);\n }\n return await this.#cdpTarget.cdpClient.sendCommand('Page.captureScreenshot', {\n clip: { ...rect, scale: 1.0 },\n ...formatParameters,\n captureBeyondViewport,\n });\n }\n async print(params) {\n const cdpParams = {};\n if (params.background !== undefined) {\n cdpParams.printBackground = params.background;\n }\n if (params.margin?.bottom !== undefined) {\n cdpParams.marginBottom = (0, unitConversions_js_1.inchesFromCm)(params.margin.bottom);\n }\n if (params.margin?.left !== undefined) {\n cdpParams.marginLeft = (0, unitConversions_js_1.inchesFromCm)(params.margin.left);\n }\n if (params.margin?.right !== undefined) {\n cdpParams.marginRight = (0, unitConversions_js_1.inchesFromCm)(params.margin.right);\n }\n if (params.margin?.top !== undefined) {\n cdpParams.marginTop = (0, unitConversions_js_1.inchesFromCm)(params.margin.top);\n }\n if (params.orientation !== undefined) {\n cdpParams.landscape = params.orientation === 'landscape';\n }\n if (params.page?.height !== undefined) {\n cdpParams.paperHeight = (0, unitConversions_js_1.inchesFromCm)(params.page.height);\n }\n if (params.page?.width !== undefined) {\n cdpParams.paperWidth = (0, unitConversions_js_1.inchesFromCm)(params.page.width);\n }\n if (params.pageRanges !== undefined) {\n for (const range of params.pageRanges) {\n if (typeof range === 'number') {\n continue;\n }\n const rangeParts = range.split('-');\n if (rangeParts.length < 1 || rangeParts.length > 2) {\n throw new protocol_js_1.InvalidArgumentException(`Invalid page range: ${range} is not a valid integer range.`);\n }\n if (rangeParts.length === 1) {\n void parseInteger(rangeParts[0] ?? '');\n continue;\n }\n let lowerBound;\n let upperBound;\n const [rangeLowerPart = '', rangeUpperPart = ''] = rangeParts;\n if (rangeLowerPart === '') {\n lowerBound = 1;\n }\n else {\n lowerBound = parseInteger(rangeLowerPart);\n }\n if (rangeUpperPart === '') {\n upperBound = Number.MAX_SAFE_INTEGER;\n }\n else {\n upperBound = parseInteger(rangeUpperPart);\n }\n if (lowerBound > upperBound) {\n throw new protocol_js_1.InvalidArgumentException(`Invalid page range: ${rangeLowerPart} > ${rangeUpperPart}`);\n }\n }\n cdpParams.pageRanges = params.pageRanges.join(',');\n }\n if (params.scale !== undefined) {\n cdpParams.scale = params.scale;\n }\n if (params.shrinkToFit !== undefined) {\n cdpParams.preferCSSPageSize = !params.shrinkToFit;\n }\n try {\n const result = await this.#cdpTarget.cdpClient.sendCommand('Page.printToPDF', cdpParams);\n return {\n data: result.data,\n };\n }\n catch (error) {\n // Effectively zero dimensions.\n if (error.message ===\n 'invalid print parameters: content area is empty') {\n throw new protocol_js_1.UnsupportedOperationException(error.message);\n }\n throw error;\n }\n }\n /**\n * See\n * https://w3c.github.io/webdriver-bidi/#:~:text=If%20command%20parameters%20contains%20%22clip%22%3A\n */\n async #parseRect(clip) {\n switch (clip.type) {\n case 'box':\n return { x: clip.x, y: clip.y, width: clip.width, height: clip.height };\n case 'element': {\n // TODO: #1213: Use custom sandbox specifically for Chromium BiDi\n const sandbox = await this.getOrCreateSandbox(undefined);\n const result = await sandbox.callFunction(String((element) => {\n return element instanceof Element;\n }), { type: 'undefined' }, [clip.element], false, \"none\" /* Script.ResultOwnership.None */, {});\n if (result.type === 'exception') {\n throw new protocol_js_1.NoSuchElementException(`Element '${clip.element.sharedId}' was not found`);\n }\n (0, assert_js_1.assert)(result.result.type === 'boolean');\n if (!result.result.value) {\n throw new protocol_js_1.NoSuchElementException(`Node '${clip.element.sharedId}' is not an Element`);\n }\n {\n const result = await sandbox.callFunction(String((element) => {\n const rect = element.getBoundingClientRect();\n return {\n x: rect.x,\n y: rect.y,\n height: rect.height,\n width: rect.width,\n };\n }), { type: 'undefined' }, [clip.element], false, \"none\" /* Script.ResultOwnership.None */, {});\n (0, assert_js_1.assert)(result.type === 'success');\n const rect = deserializeDOMRect(result.result);\n if (!rect) {\n throw new protocol_js_1.UnableToCaptureScreenException(`Could not get bounding box for Element '${clip.element.sharedId}'`);\n }\n return rect;\n }\n }\n }\n }\n async close() {\n await this.#cdpTarget.cdpClient.sendCommand('Page.close');\n }\n async traverseHistory(delta) {\n if (delta === 0) {\n return;\n }\n const history = await this.#cdpTarget.cdpClient.sendCommand('Page.getNavigationHistory');\n const entry = history.entries[history.currentIndex + delta];\n if (!entry) {\n throw new protocol_js_1.NoSuchHistoryEntryException(`No history entry at delta ${delta}`);\n }\n await this.#cdpTarget.cdpClient.sendCommand('Page.navigateToHistoryEntry', {\n entryId: entry.id,\n });\n }\n async toggleModulesIfNeeded() {\n const enableNetwork = this.#eventManager.subscriptionManager.isSubscribedToModule(chromium_bidi_js_1.BiDiModule.Network, this.id);\n await this.#cdpTarget.toggleNetworkIfNeeded(enableNetwork);\n }\n}\nexports.BrowsingContextImpl = BrowsingContextImpl;\nfunction serializeOrigin(origin) {\n // https://html.spec.whatwg.org/multipage/origin.html#ascii-serialisation-of-an-origin\n if (['://', ''].includes(origin)) {\n origin = 'null';\n }\n return origin;\n}\nexports.serializeOrigin = serializeOrigin;\nfunction getImageFormatParameters(params) {\n const { quality, type } = params.format ?? {\n type: 'image/png',\n };\n switch (type) {\n case 'image/png': {\n return { format: 'png' };\n }\n case 'image/jpeg': {\n return {\n format: 'jpeg',\n ...(quality === undefined ? {} : { quality: Math.round(quality * 100) }),\n };\n }\n case 'image/webp': {\n return {\n format: 'webp',\n ...(quality === undefined ? {} : { quality: Math.round(quality * 100) }),\n };\n }\n }\n throw new protocol_js_1.InvalidArgumentException(`Image format '${type}' is not a supported format`);\n}\nfunction deserializeDOMRect(result) {\n if (result.type !== 'object' || result.value === undefined) {\n return;\n }\n const x = result.value.find(([key]) => {\n return key === 'x';\n })?.[1];\n const y = result.value.find(([key]) => {\n return key === 'y';\n })?.[1];\n const height = result.value.find(([key]) => {\n return key === 'height';\n })?.[1];\n const width = result.value.find(([key]) => {\n return key === 'width';\n })?.[1];\n if (x?.type !== 'number' ||\n y?.type !== 'number' ||\n height?.type !== 'number' ||\n width?.type !== 'number') {\n return;\n }\n return {\n x: x.value,\n y: y.value,\n width: width.value,\n height: height.value,\n };\n}\n/** @see https://w3c.github.io/webdriver-bidi/#normalize-rect */\nfunction normalizeRect(box) {\n return {\n ...(box.width < 0\n ? {\n x: box.x + box.width,\n width: -box.width,\n }\n : {\n x: box.x,\n width: box.width,\n }),\n ...(box.height < 0\n ? {\n y: box.y + box.height,\n height: -box.height,\n }\n : {\n y: box.y,\n height: box.height,\n }),\n };\n}\n/** @see https://w3c.github.io/webdriver-bidi/#rectangle-intersection */\nfunction getIntersectionRect(first, second) {\n first = normalizeRect(first);\n second = normalizeRect(second);\n const x = Math.max(first.x, second.x);\n const y = Math.max(first.y, second.y);\n return {\n x,\n y,\n width: Math.max(Math.min(first.x + first.width, second.x + second.width) - x, 0),\n height: Math.max(Math.min(first.y + first.height, second.y + second.height) - y, 0),\n };\n}\nfunction parseInteger(value) {\n value = value.trim();\n if (!/^[0-9]+$/.test(value)) {\n throw new protocol_js_1.InvalidArgumentException(`Invalid integer: ${value}`);\n }\n return parseInt(value);\n}\n//# sourceMappingURL=BrowsingContextImpl.js.map","\"use strict\";\n/**\n * Copyright 2022 Google LLC.\n * Copyright (c) Microsoft Corporation.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.getRemoteValuesText = exports.logMessageFormatter = void 0;\nconst assert_js_1 = require(\"../../../utils/assert.js\");\nconst specifiers = ['%s', '%d', '%i', '%f', '%o', '%O', '%c'];\nfunction isFormatSpecifier(str) {\n return specifiers.some((spec) => str.includes(spec));\n}\n/**\n * @param args input remote values to be format printed\n * @return parsed text of the remote values in specific format\n */\nfunction logMessageFormatter(args) {\n let output = '';\n const argFormat = args[0].value.toString();\n const argValues = args.slice(1, undefined);\n const tokens = argFormat.split(new RegExp(specifiers.map((spec) => `(${spec})`).join('|'), 'g'));\n for (const token of tokens) {\n if (token === undefined || token === '') {\n continue;\n }\n if (isFormatSpecifier(token)) {\n const arg = argValues.shift();\n // raise an exception when less value is provided\n (0, assert_js_1.assert)(arg, `Less value is provided: \"${getRemoteValuesText(args, false)}\"`);\n if (token === '%s') {\n output += stringFromArg(arg);\n }\n else if (token === '%d' || token === '%i') {\n if (arg.type === 'bigint' ||\n arg.type === 'number' ||\n arg.type === 'string') {\n output += parseInt(arg.value.toString(), 10);\n }\n else {\n output += 'NaN';\n }\n }\n else if (token === '%f') {\n if (arg.type === 'bigint' ||\n arg.type === 'number' ||\n arg.type === 'string') {\n output += parseFloat(arg.value.toString());\n }\n else {\n output += 'NaN';\n }\n }\n else {\n // %o, %O, %c\n output += toJson(arg);\n }\n }\n else {\n output += token;\n }\n }\n // raise an exception when more value is provided\n if (argValues.length > 0) {\n throw new Error(`More value is provided: \"${getRemoteValuesText(args, false)}\"`);\n }\n return output;\n}\nexports.logMessageFormatter = logMessageFormatter;\n/**\n * @param arg input remote value to be parsed\n * @return parsed text of the remote value\n *\n * input: {\"type\": \"number\", \"value\": 1}\n * output: 1\n *\n * input: {\"type\": \"string\", \"value\": \"abc\"}\n * output: \"abc\"\n *\n * input: {\"type\": \"object\", \"value\": [[\"id\", {\"type\": \"number\", \"value\": 1}]]}\n * output: '{\"id\": 1}'\n *\n * input: {\"type\": \"object\", \"value\": [[\"font-size\", {\"type\": \"string\", \"value\": \"20px\"}]]}\n * output: '{\"font-size\": \"20px\"}'\n */\nfunction toJson(arg) {\n // arg type validation\n if (arg.type !== 'array' &&\n arg.type !== 'bigint' &&\n arg.type !== 'date' &&\n arg.type !== 'number' &&\n arg.type !== 'object' &&\n arg.type !== 'string') {\n return stringFromArg(arg);\n }\n if (arg.type === 'bigint') {\n return `${arg.value.toString()}n`;\n }\n if (arg.type === 'number') {\n return arg.value.toString();\n }\n if (['date', 'string'].includes(arg.type)) {\n return JSON.stringify(arg.value);\n }\n if (arg.type === 'object') {\n return `{${arg.value\n .map((pair) => {\n return `${JSON.stringify(pair[0])}:${toJson(pair[1])}`;\n })\n .join(',')}}`;\n }\n if (arg.type === 'array') {\n return `[${arg.value?.map((val) => toJson(val)).join(',') ?? ''}]`;\n }\n // eslint-disable-next-line @typescript-eslint/no-base-to-string\n throw Error(`Invalid value type: ${arg}`);\n}\nfunction stringFromArg(arg) {\n if (!Object.hasOwn(arg, 'value')) {\n return arg.type;\n }\n switch (arg.type) {\n case 'string':\n case 'number':\n case 'boolean':\n case 'bigint':\n return String(arg.value);\n case 'regexp':\n return `/${arg.value.pattern}/${arg.value.flags ?? ''}`;\n case 'date':\n return new Date(arg.value).toString();\n case 'object':\n return `Object(${arg.value?.length ?? ''})`;\n case 'array':\n return `Array(${arg.value?.length ?? ''})`;\n case 'map':\n return `Map(${arg.value?.length})`;\n case 'set':\n return `Set(${arg.value?.length})`;\n default:\n return arg.type;\n }\n}\nfunction getRemoteValuesText(args, formatText) {\n const arg = args[0];\n if (!arg) {\n return '';\n }\n // if args[0] is a format specifier, format the args as output\n if (arg.type === 'string' &&\n isFormatSpecifier(arg.value.toString()) &&\n formatText) {\n return logMessageFormatter(args);\n }\n // if args[0] is not a format specifier, just join the args with \\u0020 (unicode 'SPACE')\n return args\n .map((arg) => {\n return stringFromArg(arg);\n })\n .join('\\u0020');\n}\nexports.getRemoteValuesText = getRemoteValuesText;\n//# sourceMappingURL=logHelper.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.LogManager = void 0;\nconst protocol_js_1 = require(\"../../../protocol/protocol.js\");\nconst log_js_1 = require(\"../../../utils/log.js\");\nconst logHelper_js_1 = require(\"./logHelper.js\");\n/** Converts CDP StackTrace object to BiDi StackTrace object. */\nfunction getBidiStackTrace(cdpStackTrace) {\n const stackFrames = cdpStackTrace?.callFrames.map((callFrame) => {\n return {\n columnNumber: callFrame.columnNumber,\n functionName: callFrame.functionName,\n lineNumber: callFrame.lineNumber,\n url: callFrame.url,\n };\n });\n return stackFrames ? { callFrames: stackFrames } : undefined;\n}\nfunction getLogLevel(consoleApiType) {\n if ([\"error\" /* Log.Level.Error */, 'assert'].includes(consoleApiType)) {\n return \"error\" /* Log.Level.Error */;\n }\n if ([\"debug\" /* Log.Level.Debug */, 'trace'].includes(consoleApiType)) {\n return \"debug\" /* Log.Level.Debug */;\n }\n if ([\"warn\" /* Log.Level.Warn */, 'warning'].includes(consoleApiType)) {\n return \"warn\" /* Log.Level.Warn */;\n }\n return \"info\" /* Log.Level.Info */;\n}\nclass LogManager {\n #eventManager;\n #realmStorage;\n #cdpTarget;\n #logger;\n constructor(cdpTarget, realmStorage, eventManager, logger) {\n this.#cdpTarget = cdpTarget;\n this.#realmStorage = realmStorage;\n this.#eventManager = eventManager;\n this.#logger = logger;\n }\n static create(cdpTarget, realmStorage, eventManager, logger) {\n const logManager = new LogManager(cdpTarget, realmStorage, eventManager, logger);\n logManager.#initializeEntryAddedEventListener();\n return logManager;\n }\n #initializeEntryAddedEventListener() {\n this.#cdpTarget.cdpClient.on('Runtime.consoleAPICalled', (params) => {\n // Try to find realm by `cdpSessionId` and `executionContextId`,\n // if provided.\n const realm = this.#realmStorage.findRealm({\n cdpSessionId: this.#cdpTarget.cdpSessionId,\n executionContextId: params.executionContextId,\n });\n if (realm === undefined) {\n // Ignore exceptions not attached to any realm.\n this.#logger?.(log_js_1.LogType.cdp, params);\n return;\n }\n const argsPromise = realm === undefined\n ? Promise.resolve(params.args)\n : // Properly serialize arguments if possible.\n Promise.all(params.args.map((arg) => {\n return realm.serializeCdpObject(arg, \"none\" /* Script.ResultOwnership.None */);\n }));\n for (const browsingContext of realm.associatedBrowsingContexts) {\n this.#eventManager.registerPromiseEvent(argsPromise.then((args) => ({\n kind: 'success',\n value: {\n type: 'event',\n method: protocol_js_1.ChromiumBidi.Log.EventNames.LogEntryAdded,\n params: {\n level: getLogLevel(params.type),\n source: realm.source,\n text: (0, logHelper_js_1.getRemoteValuesText)(args, true),\n timestamp: Math.round(params.timestamp),\n stackTrace: getBidiStackTrace(params.stackTrace),\n type: 'console',\n // Console method is `warn`, not `warning`.\n method: params.type === 'warning' ? 'warn' : params.type,\n args,\n },\n },\n })), browsingContext.id, protocol_js_1.ChromiumBidi.Log.EventNames.LogEntryAdded);\n }\n });\n this.#cdpTarget.cdpClient.on('Runtime.exceptionThrown', (params) => {\n // Try to find realm by `cdpSessionId` and `executionContextId`,\n // if provided.\n const realm = this.#realmStorage.findRealm({\n cdpSessionId: this.#cdpTarget.cdpSessionId,\n executionContextId: params.exceptionDetails.executionContextId,\n });\n if (realm === undefined) {\n // Ignore exceptions not attached to any realm.\n this.#logger?.(log_js_1.LogType.cdp, params);\n return;\n }\n for (const browsingContext of realm.associatedBrowsingContexts) {\n this.#eventManager.registerPromiseEvent(LogManager.#getExceptionText(params, realm).then((text) => ({\n kind: 'success',\n value: {\n type: 'event',\n method: protocol_js_1.ChromiumBidi.Log.EventNames.LogEntryAdded,\n params: {\n level: \"error\" /* Log.Level.Error */,\n source: realm.source,\n text,\n timestamp: Math.round(params.timestamp),\n stackTrace: getBidiStackTrace(params.exceptionDetails.stackTrace),\n type: 'javascript',\n },\n },\n })), browsingContext.id, protocol_js_1.ChromiumBidi.Log.EventNames.LogEntryAdded);\n }\n });\n }\n /**\n * Try the best to get the exception text.\n */\n static async #getExceptionText(params, realm) {\n if (!params.exceptionDetails.exception) {\n return params.exceptionDetails.text;\n }\n if (realm === undefined) {\n return JSON.stringify(params.exceptionDetails.exception);\n }\n return await realm.stringifyObject(params.exceptionDetails.exception);\n }\n}\nexports.LogManager = LogManager;\n//# sourceMappingURL=LogManager.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.CdpTarget = void 0;\nconst chromium_bidi_js_1 = require(\"../../../protocol/chromium-bidi.js\");\nconst Deferred_js_1 = require(\"../../../utils/Deferred.js\");\nconst LogManager_js_1 = require(\"../log/LogManager.js\");\nclass CdpTarget {\n #id;\n #cdpClient;\n #browserCdpClient;\n #eventManager;\n #preloadScriptStorage;\n #unblocked = new Deferred_js_1.Deferred();\n #acceptInsecureCerts;\n #networkDomainEnabled = false;\n #fetchDomainEnabled = false;\n static create(targetId, cdpClient, browserCdpClient, realmStorage, eventManager, preloadScriptStorage, networkStorage, acceptInsecureCerts, logger) {\n const cdpTarget = new CdpTarget(targetId, cdpClient, browserCdpClient, eventManager, preloadScriptStorage, acceptInsecureCerts);\n LogManager_js_1.LogManager.create(cdpTarget, realmStorage, eventManager, logger);\n cdpTarget.#setEventListeners();\n // No need to await.\n // Deferred will be resolved when the target is unblocked.\n void cdpTarget.#unblock();\n return cdpTarget;\n }\n constructor(targetId, cdpClient, browserCdpClient, eventManager, preloadScriptStorage, acceptInsecureCerts) {\n this.#id = targetId;\n this.#cdpClient = cdpClient;\n this.#eventManager = eventManager;\n this.#preloadScriptStorage = preloadScriptStorage;\n this.#browserCdpClient = browserCdpClient;\n this.#acceptInsecureCerts = acceptInsecureCerts;\n }\n /** Returns a deferred that resolves when the target is unblocked. */\n get unblocked() {\n return this.#unblocked;\n }\n get id() {\n return this.#id;\n }\n get cdpClient() {\n return this.#cdpClient;\n }\n get browserCdpClient() {\n return this.#browserCdpClient;\n }\n /** Needed for CDP escape path. */\n get cdpSessionId() {\n // SAFETY we got the client by it's id for creating\n return this.#cdpClient.sessionId;\n }\n /**\n * Enables all the required CDP domains and unblocks the target.\n */\n async #unblock() {\n // Check if the network domain is enabled globally.\n const enabledNetwork = this.#eventManager.subscriptionManager.isSubscribedToModule(chromium_bidi_js_1.BiDiModule.Network, this.#id);\n try {\n await Promise.all([\n this.#cdpClient.sendCommand('Runtime.enable'),\n this.#cdpClient.sendCommand('Page.enable'),\n this.#cdpClient.sendCommand('Page.setLifecycleEventsEnabled', {\n enabled: true,\n }),\n // Set ignore certificate errors for each target.\n this.#cdpClient.sendCommand('Security.setIgnoreCertificateErrors', {\n ignore: this.#acceptInsecureCerts,\n }),\n // TODO: enable Network domain for OOPiF targets.\n enabledNetwork\n ? this.#cdpClient.sendCommand('Network.enable')\n : undefined,\n this.#cdpClient.sendCommand('Target.setAutoAttach', {\n autoAttach: true,\n waitForDebuggerOnStart: true,\n flatten: true,\n }),\n this.#initAndEvaluatePreloadScripts(),\n this.#cdpClient.sendCommand('Runtime.runIfWaitingForDebugger'),\n ]);\n }\n catch (error) {\n // The target might have been closed before the initialization finished.\n if (!this.#cdpClient.isCloseError(error)) {\n this.#unblocked.resolve({\n kind: 'error',\n error,\n });\n return;\n }\n }\n this.#unblocked.resolve({\n kind: 'success',\n value: undefined,\n });\n }\n async enableFetchIfNeeded(params) {\n if (!this.#networkDomainEnabled || this.#fetchDomainEnabled) {\n return;\n }\n this.#fetchDomainEnabled = true;\n try {\n await this.#cdpClient.sendCommand('Fetch.enable', params);\n }\n catch (err) {\n this.#fetchDomainEnabled = false;\n }\n }\n async disableFetchIfNeeded() {\n if (!this.#fetchDomainEnabled) {\n return;\n }\n this.#fetchDomainEnabled = false;\n try {\n await this.#cdpClient.sendCommand('Fetch.disable');\n }\n catch (err) {\n this.#fetchDomainEnabled = true;\n }\n }\n async toggleNetworkIfNeeded(enabled) {\n if (enabled === this.#networkDomainEnabled) {\n return;\n }\n this.#networkDomainEnabled = enabled;\n try {\n await this.#cdpClient.sendCommand(this.#networkDomainEnabled ? 'Network.enable' : 'Network.disable');\n }\n catch (err) {\n this.#networkDomainEnabled = !enabled;\n }\n }\n #setEventListeners() {\n this.#cdpClient.on('*', (event, params) => {\n // We may encounter uses for EventEmitter other than CDP events,\n // which we want to skip.\n if (typeof event !== 'string') {\n return;\n }\n this.#eventManager.registerEvent({\n type: 'event',\n method: `cdp.${event}`,\n params: {\n event,\n params,\n session: this.cdpSessionId,\n },\n }, null);\n });\n }\n /**\n * All the ProxyChannels from all the preload scripts of the given\n * BrowsingContext.\n */\n getChannels() {\n return this.#preloadScriptStorage\n .find()\n .flatMap((script) => script.channels);\n }\n /** Loads all top-level preload scripts. */\n async #initAndEvaluatePreloadScripts() {\n for (const script of this.#preloadScriptStorage.find({\n global: true,\n })) {\n await script.initInTarget(this, true);\n }\n }\n}\nexports.CdpTarget = CdpTarget;\n//# sourceMappingURL=CdpTarget.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.BrowsingContextProcessor = void 0;\nconst protocol_js_1 = require(\"../../../protocol/protocol.js\");\nconst log_js_1 = require(\"../../../utils/log.js\");\nconst WorkerRealm_js_1 = require(\"../script/WorkerRealm.js\");\nconst BrowsingContextImpl_js_1 = require(\"./BrowsingContextImpl.js\");\nconst CdpTarget_js_1 = require(\"./CdpTarget.js\");\nconst cdpToBidiTargetTypes = {\n service_worker: 'service-worker',\n shared_worker: 'shared-worker',\n worker: 'dedicated-worker',\n};\nclass BrowsingContextProcessor {\n #browserCdpClient;\n #cdpConnection;\n #selfTargetId;\n #eventManager;\n #browsingContextStorage;\n #networkStorage;\n #acceptInsecureCerts;\n #sharedIdWithFrame;\n #preloadScriptStorage;\n #realmStorage;\n #defaultUserContextId;\n #logger;\n constructor(cdpConnection, browserCdpClient, selfTargetId, eventManager, browsingContextStorage, realmStorage, networkStorage, preloadScriptStorage, acceptInsecureCerts, sharedIdWithFrame, defaultUserContextId, logger) {\n this.#acceptInsecureCerts = acceptInsecureCerts;\n this.#cdpConnection = cdpConnection;\n this.#browserCdpClient = browserCdpClient;\n this.#selfTargetId = selfTargetId;\n this.#eventManager = eventManager;\n this.#browsingContextStorage = browsingContextStorage;\n this.#preloadScriptStorage = preloadScriptStorage;\n this.#networkStorage = networkStorage;\n this.#realmStorage = realmStorage;\n this.#sharedIdWithFrame = sharedIdWithFrame;\n this.#defaultUserContextId = defaultUserContextId;\n this.#logger = logger;\n this.#setEventListeners(browserCdpClient);\n }\n getTree(params) {\n const resultContexts = params.root === undefined\n ? this.#browsingContextStorage.getTopLevelContexts()\n : [this.#browsingContextStorage.getContext(params.root)];\n return {\n contexts: resultContexts.map((c) => c.serializeToBidiValue(params.maxDepth ?? Number.MAX_VALUE)),\n };\n }\n async create(params) {\n let referenceContext;\n let userContext = 'default';\n if (params.referenceContext !== undefined) {\n referenceContext = this.#browsingContextStorage.getContext(params.referenceContext);\n if (!referenceContext.isTopLevelContext()) {\n throw new protocol_js_1.InvalidArgumentException(`referenceContext should be a top-level context`);\n }\n userContext = referenceContext.userContext;\n }\n if (params.userContext !== undefined) {\n userContext = params.userContext;\n }\n let newWindow = false;\n switch (params.type) {\n case \"tab\" /* BrowsingContext.CreateType.Tab */:\n newWindow = false;\n break;\n case \"window\" /* BrowsingContext.CreateType.Window */:\n newWindow = true;\n break;\n }\n if (userContext !== 'default') {\n const existingContexts = this.#browsingContextStorage\n .getAllContexts()\n .filter((context) => context.userContext === userContext);\n if (!existingContexts.length) {\n // If there are no contexts in the given user context, we need to set\n // newWindow to true as newWindow=false will be rejected.\n newWindow = true;\n }\n }\n let result;\n try {\n result = await this.#browserCdpClient.sendCommand('Target.createTarget', {\n url: 'about:blank',\n newWindow,\n browserContextId: userContext === 'default' ? undefined : userContext,\n });\n }\n catch (err) {\n if (\n // See https://source.chromium.org/chromium/chromium/src/+/main:chrome/browser/devtools/protocol/target_handler.cc;l=90;drc=e80392ac11e48a691f4309964cab83a3a59e01c8\n err.message.startsWith('Failed to find browser context with id') ||\n // See https://source.chromium.org/chromium/chromium/src/+/main:headless/lib/browser/protocol/target_handler.cc;l=49;drc=e80392ac11e48a691f4309964cab83a3a59e01c8\n err.message === 'browserContextId') {\n throw new protocol_js_1.NoSuchUserContextException(`The context ${userContext} was not found`);\n }\n throw err;\n }\n // Wait for the new tab to be loaded to avoid race conditions in the\n // `browsingContext` events, when the `browsingContext.domContentLoaded` and\n // `browsingContext.load` events from the initial `about:blank` navigation\n // are emitted after the next navigation is started.\n // Details: https://github.com/web-platform-tests/wpt/issues/35846\n const contextId = result.targetId;\n const context = this.#browsingContextStorage.getContext(contextId);\n await context.lifecycleLoaded();\n return { context: context.id };\n }\n navigate(params) {\n const context = this.#browsingContextStorage.getContext(params.context);\n return context.navigate(params.url, params.wait ?? \"none\" /* BrowsingContext.ReadinessState.None */);\n }\n reload(params) {\n const context = this.#browsingContextStorage.getContext(params.context);\n return context.reload(params.ignoreCache ?? false, params.wait ?? \"none\" /* BrowsingContext.ReadinessState.None */);\n }\n async activate(params) {\n const context = this.#browsingContextStorage.getContext(params.context);\n if (!context.isTopLevelContext()) {\n throw new protocol_js_1.InvalidArgumentException('Activation is only supported on the top-level context');\n }\n await context.activate();\n return {};\n }\n async captureScreenshot(params) {\n const context = this.#browsingContextStorage.getContext(params.context);\n return await context.captureScreenshot(params);\n }\n async print(params) {\n const context = this.#browsingContextStorage.getContext(params.context);\n return await context.print(params);\n }\n async setViewport(params) {\n const context = this.#browsingContextStorage.getContext(params.context);\n if (!context.isTopLevelContext()) {\n throw new protocol_js_1.InvalidArgumentException('Emulating viewport is only supported on the top-level context');\n }\n await context.setViewport(params.viewport, params.devicePixelRatio);\n return {};\n }\n async traverseHistory(params) {\n const context = this.#browsingContextStorage.getContext(params.context);\n if (!context) {\n throw new protocol_js_1.InvalidArgumentException(`No browsing context with id ${params.context}`);\n }\n await context.traverseHistory(params.delta);\n return {};\n }\n async handleUserPrompt(params) {\n const context = this.#browsingContextStorage.getContext(params.context);\n await context.handleUserPrompt(params);\n return {};\n }\n async close(params) {\n const context = this.#browsingContextStorage.getContext(params.context);\n if (!context.isTopLevelContext()) {\n throw new protocol_js_1.InvalidArgumentException(`Non top-level browsing context ${context.id} cannot be closed.`);\n }\n try {\n const detachedFromTargetPromise = new Promise((resolve) => {\n const onContextDestroyed = (event) => {\n if (event.targetId === params.context) {\n this.#browserCdpClient.off('Target.detachedFromTarget', onContextDestroyed);\n resolve();\n }\n };\n this.#browserCdpClient.on('Target.detachedFromTarget', onContextDestroyed);\n });\n if (params.promptUnload) {\n await context.close();\n }\n else {\n await this.#browserCdpClient.sendCommand('Target.closeTarget', {\n targetId: params.context,\n });\n }\n // Sometimes CDP command finishes before `detachedFromTarget` event,\n // sometimes after. Wait for the CDP command to be finished, and then wait\n // for `detachedFromTarget` if it hasn't emitted.\n await detachedFromTargetPromise;\n }\n catch (error) {\n // Swallow error that arise from the page being destroyed\n // Example is navigating to faulty SSL certificate\n if (!(error.code === -32000 /* CdpErrorConstants.GENERIC_ERROR */ &&\n error.message === 'Not attached to an active page')) {\n throw error;\n }\n }\n return {};\n }\n /**\n * This method is called for each CDP session, since this class is responsible\n * for creating and destroying all targets and browsing contexts.\n */\n #setEventListeners(cdpClient) {\n cdpClient.on('Target.attachedToTarget', (params) => {\n this.#handleAttachedToTargetEvent(params, cdpClient);\n });\n cdpClient.on('Target.detachedFromTarget', (params) => {\n this.#handleDetachedFromTargetEvent(params);\n });\n cdpClient.on('Target.targetInfoChanged', (params) => {\n this.#handleTargetInfoChangedEvent(params);\n });\n cdpClient.on('Inspector.targetCrashed', () => {\n this.#handleTargetCrashedEvent(cdpClient);\n });\n cdpClient.on('Page.frameAttached', (params) => {\n this.#handleFrameAttachedEvent(params);\n });\n cdpClient.on('Page.frameDetached', (params) => {\n this.#handleFrameDetachedEvent(params);\n });\n }\n #handleFrameAttachedEvent(params) {\n const parentBrowsingContext = this.#browsingContextStorage.findContext(params.parentFrameId);\n if (parentBrowsingContext !== undefined) {\n BrowsingContextImpl_js_1.BrowsingContextImpl.create(parentBrowsingContext.cdpTarget, this.#realmStorage, params.frameId, params.parentFrameId, parentBrowsingContext.userContext, this.#eventManager, this.#browsingContextStorage, this.#sharedIdWithFrame, this.#logger);\n }\n }\n #handleFrameDetachedEvent(params) {\n // In case of OOPiF no need in deleting BrowsingContext.\n if (params.reason === 'swap') {\n return;\n }\n this.#browsingContextStorage.findContext(params.frameId)?.dispose();\n }\n #handleAttachedToTargetEvent(params, parentSessionCdpClient) {\n const { sessionId, targetInfo } = params;\n const targetCdpClient = this.#cdpConnection.getCdpClient(sessionId);\n this.#logger?.(log_js_1.LogType.debugInfo, 'AttachedToTarget event received:', params);\n switch (targetInfo.type) {\n case 'page':\n case 'iframe': {\n if (targetInfo.targetId === this.#selfTargetId) {\n break;\n }\n const cdpTarget = this.#createCdpTarget(targetCdpClient, targetInfo);\n const maybeContext = this.#browsingContextStorage.findContext(targetInfo.targetId);\n if (maybeContext) {\n // OOPiF.\n maybeContext.updateCdpTarget(cdpTarget);\n }\n else {\n // New context.\n BrowsingContextImpl_js_1.BrowsingContextImpl.create(cdpTarget, this.#realmStorage, targetInfo.targetId, null, targetInfo.browserContextId &&\n targetInfo.browserContextId !== this.#defaultUserContextId\n ? targetInfo.browserContextId\n : 'default', this.#eventManager, this.#browsingContextStorage, this.#sharedIdWithFrame, this.#logger);\n }\n return;\n }\n case 'service_worker':\n case 'worker': {\n const realm = this.#realmStorage.findRealm({\n cdpSessionId: parentSessionCdpClient.sessionId,\n });\n // If there is no browsing context, this worker is already terminated.\n if (!realm) {\n break;\n }\n const cdpTarget = this.#createCdpTarget(targetCdpClient, targetInfo);\n this.#handleWorkerTarget(cdpToBidiTargetTypes[targetInfo.type], cdpTarget, realm);\n return;\n }\n // In CDP, we only emit shared workers on the browser and not the set of\n // frames that use the shared worker. If we change this in the future to\n // behave like service workers (emits on both browser and frame targets),\n // we can remove this block and merge service workers with the above one.\n case 'shared_worker': {\n const cdpTarget = this.#createCdpTarget(targetCdpClient, targetInfo);\n this.#handleWorkerTarget(cdpToBidiTargetTypes[targetInfo.type], cdpTarget);\n return;\n }\n }\n // DevTools or some other not supported by BiDi target. Just release\n // debugger and ignore them.\n targetCdpClient\n .sendCommand('Runtime.runIfWaitingForDebugger')\n .then(() => parentSessionCdpClient.sendCommand('Target.detachFromTarget', params))\n .catch((error) => this.#logger?.(log_js_1.LogType.debugError, error));\n }\n #createCdpTarget(targetCdpClient, targetInfo) {\n this.#setEventListeners(targetCdpClient);\n const target = CdpTarget_js_1.CdpTarget.create(targetInfo.targetId, targetCdpClient, this.#browserCdpClient, this.#realmStorage, this.#eventManager, this.#preloadScriptStorage, this.#networkStorage, this.#acceptInsecureCerts, this.#logger);\n this.#networkStorage.onCdpTargetCreated(target);\n return target;\n }\n #workers = new Map();\n #handleWorkerTarget(realmType, cdpTarget, ownerRealm) {\n cdpTarget.cdpClient.on('Runtime.executionContextCreated', (params) => {\n const { uniqueId, id, origin } = params.context;\n const workerRealm = new WorkerRealm_js_1.WorkerRealm(cdpTarget.cdpClient, this.#eventManager, id, this.#logger, (0, BrowsingContextImpl_js_1.serializeOrigin)(origin), ownerRealm ? [ownerRealm] : [], uniqueId, this.#realmStorage, realmType);\n this.#workers.set(cdpTarget.cdpSessionId, workerRealm);\n });\n }\n #handleDetachedFromTargetEvent(params) {\n const context = this.#browsingContextStorage.findContextBySession(params.sessionId);\n if (context) {\n context.dispose();\n this.#preloadScriptStorage\n .find({ targetId: context.id })\n .map((preloadScript) => preloadScript.dispose(context.id));\n return;\n }\n const worker = this.#workers.get(params.sessionId);\n if (worker) {\n this.#realmStorage.deleteRealms({\n cdpSessionId: worker.cdpClient.sessionId,\n });\n }\n }\n #handleTargetInfoChangedEvent(params) {\n const context = this.#browsingContextStorage.findContext(params.targetInfo.targetId);\n if (context) {\n context.onTargetInfoChanged(params);\n }\n }\n #handleTargetCrashedEvent(cdpClient) {\n // This is primarily used for service and shared workers. CDP tends to not\n // signal they closed gracefully and instead says they crashed to signal\n // they are closed.\n const realms = this.#realmStorage.findRealms({\n cdpSessionId: cdpClient.sessionId,\n });\n for (const realm of realms) {\n realm.dispose();\n }\n }\n}\nexports.BrowsingContextProcessor = BrowsingContextProcessor;\n//# sourceMappingURL=BrowsingContextProcessor.js.map","\"use strict\";\n/**\n * Copyright 2023 Google LLC.\n * Copyright (c) Microsoft Corporation.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.WheelSource = exports.PointerSource = exports.KeySource = exports.NoneSource = void 0;\nclass NoneSource {\n type = \"none\" /* SourceType.None */;\n}\nexports.NoneSource = NoneSource;\nclass KeySource {\n type = \"key\" /* SourceType.Key */;\n pressed = new Set();\n // This is a bitfield that matches the modifiers parameter of\n // https://chromedevtools.github.io/devtools-protocol/tot/Input/#method-dispatchKeyEvent\n #modifiers = 0;\n get modifiers() {\n return this.#modifiers;\n }\n get alt() {\n return (this.#modifiers & 1) === 1;\n }\n set alt(value) {\n this.#setModifier(value, 1);\n }\n get ctrl() {\n return (this.#modifiers & 2) === 2;\n }\n set ctrl(value) {\n this.#setModifier(value, 2);\n }\n get meta() {\n return (this.#modifiers & 4) === 4;\n }\n set meta(value) {\n this.#setModifier(value, 4);\n }\n get shift() {\n return (this.#modifiers & 8) === 8;\n }\n set shift(value) {\n this.#setModifier(value, 8);\n }\n #setModifier(value, bit) {\n if (value) {\n this.#modifiers |= bit;\n }\n else {\n this.#modifiers &= ~bit;\n }\n }\n}\nexports.KeySource = KeySource;\nclass PointerSource {\n type = \"pointer\" /* SourceType.Pointer */;\n subtype;\n pointerId;\n pressed = new Set();\n x = 0;\n y = 0;\n constructor(id, subtype) {\n this.pointerId = id;\n this.subtype = subtype;\n }\n // This is a bitfield that matches the buttons parameter of\n // https://chromedevtools.github.io/devtools-protocol/tot/Input/#method-dispatchMouseEvent\n get buttons() {\n let buttons = 0;\n for (const button of this.pressed) {\n switch (button) {\n case 0:\n buttons |= 1;\n break;\n case 1:\n buttons |= 4;\n break;\n case 2:\n buttons |= 2;\n break;\n case 3:\n buttons |= 8;\n break;\n case 4:\n buttons |= 16;\n break;\n }\n }\n return buttons;\n }\n // --- Platform-specific code starts here ---\n // Input.dispatchMouseEvent doesn't know the concept of double click, so we\n // need to create the logic, similar to how it's done for OSes:\n // https://source.chromium.org/chromium/chromium/src/+/refs/heads/main:ui/events/event.cc;l=479\n static ClickContext = class ClickContext {\n static #DOUBLE_CLICK_TIME_MS = 500;\n static #MAX_DOUBLE_CLICK_RADIUS = 2;\n count = 0;\n #x;\n #y;\n #time;\n constructor(x, y, time) {\n this.#x = x;\n this.#y = y;\n this.#time = time;\n }\n compare(context) {\n return (\n // The click needs to be within a certain amount of ms.\n context.#time - this.#time > ClickContext.#DOUBLE_CLICK_TIME_MS ||\n // The click needs to be within a certain square radius.\n Math.abs(context.#x - this.#x) >\n ClickContext.#MAX_DOUBLE_CLICK_RADIUS ||\n Math.abs(context.#y - this.#y) > ClickContext.#MAX_DOUBLE_CLICK_RADIUS);\n }\n };\n #clickContexts = new Map();\n setClickCount(button, context) {\n let storedContext = this.#clickContexts.get(button);\n if (!storedContext || storedContext.compare(context)) {\n storedContext = context;\n }\n ++storedContext.count;\n this.#clickContexts.set(button, storedContext);\n return storedContext.count;\n }\n getClickCount(button) {\n return this.#clickContexts.get(button)?.count ?? 0;\n }\n}\nexports.PointerSource = PointerSource;\nclass WheelSource {\n type = \"wheel\" /* SourceType.Wheel */;\n}\nexports.WheelSource = WheelSource;\n//# sourceMappingURL=InputSource.js.map","\"use strict\";\n/**\n * Copyright 2023 Google LLC.\n * Copyright (c) Microsoft Corporation.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.getKeyLocation = exports.getKeyCode = exports.getNormalizedKey = void 0;\nfunction getNormalizedKey(value) {\n switch (value) {\n case '\\uE000':\n return 'Unidentified';\n case '\\uE001':\n return 'Cancel';\n case '\\uE002':\n return 'Help';\n case '\\uE003':\n return 'Backspace';\n case '\\uE004':\n return 'Tab';\n case '\\uE005':\n return 'Clear';\n case '\\uE006':\n return 'Return';\n case '\\uE007':\n return 'Enter';\n case '\\uE008':\n return 'Shift';\n case '\\uE009':\n return 'Control';\n case '\\uE00A':\n return 'Alt';\n case '\\uE00B':\n return 'Pause';\n case '\\uE00C':\n return 'Escape';\n case '\\uE00D':\n return ' ';\n case '\\uE00E':\n return 'PageUp';\n case '\\uE00F':\n return 'PageDown';\n case '\\uE010':\n return 'End';\n case '\\uE011':\n return 'Home';\n case '\\uE012':\n return 'ArrowLeft';\n case '\\uE013':\n return 'ArrowUp';\n case '\\uE014':\n return 'ArrowRight';\n case '\\uE015':\n return 'ArrowDown';\n case '\\uE016':\n return 'Insert';\n case '\\uE017':\n return 'Delete';\n case '\\uE018':\n return ';';\n case '\\uE019':\n return '=';\n case '\\uE01A':\n return '0';\n case '\\uE01B':\n return '1';\n case '\\uE01C':\n return '2';\n case '\\uE01D':\n return '3';\n case '\\uE01E':\n return '4';\n case '\\uE01F':\n return '5';\n case '\\uE020':\n return '6';\n case '\\uE021':\n return '7';\n case '\\uE022':\n return '8';\n case '\\uE023':\n return '9';\n case '\\uE024':\n return '*';\n case '\\uE025':\n return '+';\n case '\\uE026':\n return ',';\n case '\\uE027':\n return '-';\n case '\\uE028':\n return '.';\n case '\\uE029':\n return '/';\n case '\\uE031':\n return 'F1';\n case '\\uE032':\n return 'F2';\n case '\\uE033':\n return 'F3';\n case '\\uE034':\n return 'F4';\n case '\\uE035':\n return 'F5';\n case '\\uE036':\n return 'F6';\n case '\\uE037':\n return 'F7';\n case '\\uE038':\n return 'F8';\n case '\\uE039':\n return 'F9';\n case '\\uE03A':\n return 'F10';\n case '\\uE03B':\n return 'F11';\n case '\\uE03C':\n return 'F12';\n case '\\uE03D':\n return 'Meta';\n case '\\uE040':\n return 'ZenkakuHankaku';\n case '\\uE050':\n return 'Shift';\n case '\\uE051':\n return 'Control';\n case '\\uE052':\n return 'Alt';\n case '\\uE053':\n return 'Meta';\n case '\\uE054':\n return 'PageUp';\n case '\\uE055':\n return 'PageDown';\n case '\\uE056':\n return 'End';\n case '\\uE057':\n return 'Home';\n case '\\uE058':\n return 'ArrowLeft';\n case '\\uE059':\n return 'ArrowUp';\n case '\\uE05A':\n return 'ArrowRight';\n case '\\uE05B':\n return 'ArrowDown';\n case '\\uE05C':\n return 'Insert';\n case '\\uE05D':\n return 'Delete';\n default:\n return value;\n }\n}\nexports.getNormalizedKey = getNormalizedKey;\nfunction getKeyCode(key) {\n switch (key) {\n case '`':\n case '~':\n return 'Backquote';\n case '\\\\':\n case '|':\n return 'Backslash';\n case '\\uE003':\n return 'Backspace';\n case '[':\n case '{':\n return 'BracketLeft';\n case ']':\n case '}':\n return 'BracketRight';\n case ',':\n case '<':\n return 'Comma';\n case '0':\n case ')':\n return 'Digit0';\n case '1':\n case '!':\n return 'Digit1';\n case '2':\n case '@':\n return 'Digit2';\n case '3':\n case '#':\n return 'Digit3';\n case '4':\n case '$':\n return 'Digit4';\n case '5':\n case '%':\n return 'Digit5';\n case '6':\n case '^':\n return 'Digit6';\n case '7':\n case '&':\n return 'Digit7';\n case '8':\n case '*':\n return 'Digit8';\n case '9':\n case '(':\n return 'Digit9';\n case '=':\n case '+':\n return 'Equal';\n case 'a':\n case 'A':\n return 'KeyA';\n case 'b':\n case 'B':\n return 'KeyB';\n case 'c':\n case 'C':\n return 'KeyC';\n case 'd':\n case 'D':\n return 'KeyD';\n case 'e':\n case 'E':\n return 'KeyE';\n case 'f':\n case 'F':\n return 'KeyF';\n case 'g':\n case 'G':\n return 'KeyG';\n case 'h':\n case 'H':\n return 'KeyH';\n case 'i':\n case 'I':\n return 'KeyI';\n case 'j':\n case 'J':\n return 'KeyJ';\n case 'k':\n case 'K':\n return 'KeyK';\n case 'l':\n case 'L':\n return 'KeyL';\n case 'm':\n case 'M':\n return 'KeyM';\n case 'n':\n case 'N':\n return 'KeyN';\n case 'o':\n case 'O':\n return 'KeyO';\n case 'p':\n case 'P':\n return 'KeyP';\n case 'q':\n case 'Q':\n return 'KeyQ';\n case 'r':\n case 'R':\n return 'KeyR';\n case 's':\n case 'S':\n return 'KeyS';\n case 't':\n case 'T':\n return 'KeyT';\n case 'u':\n case 'U':\n return 'KeyU';\n case 'v':\n case 'V':\n return 'KeyV';\n case 'w':\n case 'W':\n return 'KeyW';\n case 'x':\n case 'X':\n return 'KeyX';\n case 'y':\n case 'Y':\n return 'KeyY';\n case 'z':\n case 'Z':\n return 'KeyZ';\n case '-':\n case '_':\n return 'Minus';\n case '.':\n return 'Period';\n case \"'\":\n case '\"':\n return 'Quote';\n case ';':\n case ':':\n return 'Semicolon';\n case '/':\n case '?':\n return 'Slash';\n case '\\uE00A':\n return 'AltLeft';\n case '\\uE052':\n return 'AltRight';\n case '\\uE009':\n return 'ControlLeft';\n case '\\uE051':\n return 'ControlRight';\n case '\\uE006':\n return 'Enter';\n case '\\uE03D':\n return 'MetaLeft';\n case '\\uE053':\n return 'MetaRight';\n case '\\uE008':\n return 'ShiftLeft';\n case '\\uE050':\n return 'ShiftRight';\n case ' ':\n case '\\uE00D':\n return 'Space';\n case '\\uE004':\n return 'Tab';\n case '\\uE017':\n return 'Delete';\n case '\\uE010':\n return 'End';\n case '\\uE002':\n return 'Help';\n case '\\uE011':\n return 'Home';\n case '\\uE016':\n return 'Insert';\n case '\\uE00F':\n return 'PageDown';\n case '\\uE00E':\n return 'PageUp';\n case '\\uE015':\n return 'ArrowDown';\n case '\\uE012':\n return 'ArrowLeft';\n case '\\uE014':\n return 'ArrowRight';\n case '\\uE013':\n return 'ArrowUp';\n case '\\uE00C':\n return 'Escape';\n case '\\uE031':\n return 'F1';\n case '\\uE032':\n return 'F2';\n case '\\uE033':\n return 'F3';\n case '\\uE034':\n return 'F4';\n case '\\uE035':\n return 'F5';\n case '\\uE036':\n return 'F6';\n case '\\uE037':\n return 'F7';\n case '\\uE038':\n return 'F8';\n case '\\uE039':\n return 'F9';\n case '\\uE03A':\n return 'F10';\n case '\\uE03B':\n return 'F11';\n case '\\uE03C':\n return 'F12';\n case '\\uE01A':\n case '\\uE05C':\n return 'Numpad0';\n case '\\uE01B':\n case '\\uE056':\n return 'Numpad1';\n case '\\uE01C':\n case '\\uE05B':\n return 'Numpad2';\n case '\\uE01D':\n case '\\uE055':\n return 'Numpad3';\n case '\\uE01E':\n case '\\uE058':\n return 'Numpad4';\n case '\\uE01F':\n return 'Numpad5';\n case '\\uE020':\n case '\\uE05A':\n return 'Numpad6';\n case '\\uE021':\n case '\\uE057':\n return 'Numpad7';\n case '\\uE022':\n case '\\uE059':\n return 'Numpad8';\n case '\\uE023':\n case '\\uE054':\n return 'Numpad9';\n case '\\uE025':\n return 'NumpadAdd';\n case '\\uE026':\n return 'NumpadComma';\n case '\\uE028':\n case '\\uE05D':\n return 'NumpadDecimal';\n case '\\uE029':\n return 'NumpadDivide';\n case '\\uE007':\n return 'NumpadEnter';\n case '\\uE024':\n return 'NumpadMultiply';\n case '\\uE027':\n return 'NumpadSubtract';\n default:\n return;\n }\n}\nexports.getKeyCode = getKeyCode;\nfunction getKeyLocation(key) {\n switch (key) {\n case '\\uE007':\n case '\\uE008':\n case '\\uE009':\n case '\\uE00A':\n case '\\uE03D':\n return 1;\n case '\\uE01A':\n case '\\uE01B':\n case '\\uE01C':\n case '\\uE01D':\n case '\\uE01E':\n case '\\uE01F':\n case '\\uE020':\n case '\\uE021':\n case '\\uE022':\n case '\\uE023':\n case '\\uE024':\n case '\\uE025':\n case '\\uE026':\n case '\\uE027':\n case '\\uE028':\n case '\\uE029':\n case '\\uE054':\n case '\\uE055':\n case '\\uE056':\n case '\\uE057':\n case '\\uE058':\n case '\\uE059':\n case '\\uE05A':\n case '\\uE05B':\n case '\\uE05C':\n case '\\uE05D':\n return 3;\n case '\\uE050':\n case '\\uE051':\n case '\\uE052':\n case '\\uE053':\n return 2;\n default:\n return 0;\n }\n}\nexports.getKeyLocation = getKeyLocation;\n//# sourceMappingURL=keyUtils.js.map","\"use strict\";\n/**\n * Copyright 2023 Google LLC.\n * Copyright (c) Microsoft Corporation.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.KeyToKeyCode = void 0;\n// TODO: Remove this once https://crrev.com/c/4548290 is stably in Chromium.\n// `Input.dispatchKeyboardEvent` will automatically handle these conversions.\nexports.KeyToKeyCode = {\n '0': 48,\n '1': 49,\n '2': 50,\n '3': 51,\n '4': 52,\n '5': 53,\n '6': 54,\n '7': 55,\n '8': 56,\n '9': 57,\n Abort: 3,\n Help: 6,\n Backspace: 8,\n Tab: 9,\n Numpad5: 12,\n NumpadEnter: 13,\n Enter: 13,\n '\\\\r': 13,\n '\\\\n': 13,\n ShiftLeft: 16,\n ShiftRight: 16,\n ControlLeft: 17,\n ControlRight: 17,\n AltLeft: 18,\n AltRight: 18,\n Pause: 19,\n CapsLock: 20,\n Escape: 27,\n Convert: 28,\n NonConvert: 29,\n Space: 32,\n Numpad9: 33,\n PageUp: 33,\n Numpad3: 34,\n PageDown: 34,\n End: 35,\n Numpad1: 35,\n Home: 36,\n Numpad7: 36,\n ArrowLeft: 37,\n Numpad4: 37,\n Numpad8: 38,\n ArrowUp: 38,\n ArrowRight: 39,\n Numpad6: 39,\n Numpad2: 40,\n ArrowDown: 40,\n Select: 41,\n Open: 43,\n PrintScreen: 44,\n Insert: 45,\n Numpad0: 45,\n Delete: 46,\n NumpadDecimal: 46,\n Digit0: 48,\n Digit1: 49,\n Digit2: 50,\n Digit3: 51,\n Digit4: 52,\n Digit5: 53,\n Digit6: 54,\n Digit7: 55,\n Digit8: 56,\n Digit9: 57,\n KeyA: 65,\n KeyB: 66,\n KeyC: 67,\n KeyD: 68,\n KeyE: 69,\n KeyF: 70,\n KeyG: 71,\n KeyH: 72,\n KeyI: 73,\n KeyJ: 74,\n KeyK: 75,\n KeyL: 76,\n KeyM: 77,\n KeyN: 78,\n KeyO: 79,\n KeyP: 80,\n KeyQ: 81,\n KeyR: 82,\n KeyS: 83,\n KeyT: 84,\n KeyU: 85,\n KeyV: 86,\n KeyW: 87,\n KeyX: 88,\n KeyY: 89,\n KeyZ: 90,\n MetaLeft: 91,\n MetaRight: 92,\n ContextMenu: 93,\n NumpadMultiply: 106,\n NumpadAdd: 107,\n NumpadSubtract: 109,\n NumpadDivide: 111,\n F1: 112,\n F2: 113,\n F3: 114,\n F4: 115,\n F5: 116,\n F6: 117,\n F7: 118,\n F8: 119,\n F9: 120,\n F10: 121,\n F11: 122,\n F12: 123,\n F13: 124,\n F14: 125,\n F15: 126,\n F16: 127,\n F17: 128,\n F18: 129,\n F19: 130,\n F20: 131,\n F21: 132,\n F22: 133,\n F23: 134,\n F24: 135,\n NumLock: 144,\n ScrollLock: 145,\n AudioVolumeMute: 173,\n AudioVolumeDown: 174,\n AudioVolumeUp: 175,\n MediaTrackNext: 176,\n MediaTrackPrevious: 177,\n MediaStop: 178,\n MediaPlayPause: 179,\n Semicolon: 186,\n Equal: 187,\n NumpadEqual: 187,\n Comma: 188,\n Minus: 189,\n Period: 190,\n Slash: 191,\n Backquote: 192,\n BracketLeft: 219,\n Backslash: 220,\n BracketRight: 221,\n Quote: 222,\n AltGraph: 225,\n Props: 247,\n Cancel: 3,\n Clear: 12,\n Shift: 16,\n Control: 17,\n Alt: 18,\n Accept: 30,\n ModeChange: 31,\n ' ': 32,\n Print: 42,\n Execute: 43,\n '\\\\u0000': 46,\n a: 65,\n b: 66,\n c: 67,\n d: 68,\n e: 69,\n f: 70,\n g: 71,\n h: 72,\n i: 73,\n j: 74,\n k: 75,\n l: 76,\n m: 77,\n n: 78,\n o: 79,\n p: 80,\n q: 81,\n r: 82,\n s: 83,\n t: 84,\n u: 85,\n v: 86,\n w: 87,\n x: 88,\n y: 89,\n z: 90,\n Meta: 91,\n '*': 106,\n '+': 107,\n '-': 109,\n '/': 111,\n ';': 186,\n '=': 187,\n ',': 188,\n '.': 190,\n '`': 192,\n '[': 219,\n '\\\\\\\\': 220,\n ']': 221,\n \"'\": 222,\n Attn: 246,\n CrSel: 247,\n ExSel: 248,\n EraseEof: 249,\n Play: 250,\n ZoomOut: 251,\n ')': 48,\n '!': 49,\n '@': 50,\n '#': 51,\n $: 52,\n '%': 53,\n '^': 54,\n '&': 55,\n '(': 57,\n A: 65,\n B: 66,\n C: 67,\n D: 68,\n E: 69,\n F: 70,\n G: 71,\n H: 72,\n I: 73,\n J: 74,\n K: 75,\n L: 76,\n M: 77,\n N: 78,\n O: 79,\n P: 80,\n Q: 81,\n R: 82,\n S: 83,\n T: 84,\n U: 85,\n V: 86,\n W: 87,\n X: 88,\n Y: 89,\n Z: 90,\n ':': 186,\n '<': 188,\n _: 189,\n '>': 190,\n '?': 191,\n '~': 192,\n '{': 219,\n '|': 220,\n '}': 221,\n '\"': 222,\n Camera: 44,\n EndCall: 95,\n VolumeDown: 182,\n VolumeUp: 183,\n};\n//# sourceMappingURL=USKeyboardLayout.js.map","\"use strict\";\n/**\n * Copyright 2023 Google LLC.\n * Copyright (c) Microsoft Corporation.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ActionDispatcher = void 0;\nconst protocol_js_1 = require(\"../../../protocol/protocol.js\");\nconst assert_js_1 = require(\"../../../utils/assert.js\");\nconst InputSource_js_1 = require(\"./InputSource.js\");\nconst keyUtils_js_1 = require(\"./keyUtils.js\");\nconst USKeyboardLayout_js_1 = require(\"./USKeyboardLayout.js\");\n/** https://w3c.github.io/webdriver/#dfn-center-point */\nconst CALCULATE_IN_VIEW_CENTER_PT_DECL = ((i) => {\n const t = i.getClientRects()[0], e = Math.max(0, Math.min(t.x, t.x + t.width)), n = Math.min(window.innerWidth, Math.max(t.x, t.x + t.width)), h = Math.max(0, Math.min(t.y, t.y + t.height)), m = Math.min(window.innerHeight, Math.max(t.y, t.y + t.height));\n return [e + ((n - e) >> 1), h + ((m - h) >> 1)];\n}).toString();\nconst IS_MAC_DECL = (() => {\n return navigator.platform.toLowerCase().includes('mac');\n}).toString();\nasync function getElementCenter(context, element) {\n const sandbox = await context.getOrCreateSandbox(undefined);\n const result = await sandbox.callFunction(CALCULATE_IN_VIEW_CENTER_PT_DECL, { type: 'undefined' }, [element], false, \"none\" /* Script.ResultOwnership.None */, {});\n if (result.type === 'exception') {\n throw new protocol_js_1.NoSuchElementException(`Origin element ${element.sharedId} was not found`);\n }\n (0, assert_js_1.assert)(result.result.type === 'array');\n (0, assert_js_1.assert)(result.result.value?.[0]?.type === 'number');\n (0, assert_js_1.assert)(result.result.value?.[1]?.type === 'number');\n const { result: { value: [{ value: x }, { value: y }], }, } = result;\n return { x: x, y: y };\n}\nclass ActionDispatcher {\n static isMacOS = async (context) => {\n const result = await (await context.getOrCreateSandbox(undefined)).callFunction(IS_MAC_DECL, { type: 'undefined' }, [], false, \"none\" /* Script.ResultOwnership.None */, {});\n (0, assert_js_1.assert)(result.type !== 'exception');\n (0, assert_js_1.assert)(result.result.type === 'boolean');\n return result.result.value;\n };\n #tickStart = 0;\n #tickDuration = 0;\n #inputState;\n #context;\n #isMacOS;\n constructor(inputState, context, isMacOS) {\n this.#inputState = inputState;\n this.#context = context;\n this.#isMacOS = isMacOS;\n }\n async dispatchActions(optionsByTick) {\n await this.#inputState.queue.run(async () => {\n for (const options of optionsByTick) {\n await this.dispatchTickActions(options);\n }\n });\n }\n async dispatchTickActions(options) {\n this.#tickStart = performance.now();\n this.#tickDuration = 0;\n for (const { action } of options) {\n if ('duration' in action && action.duration !== undefined) {\n this.#tickDuration = Math.max(this.#tickDuration, action.duration);\n }\n }\n const promises = [\n new Promise((resolve) => setTimeout(resolve, this.#tickDuration)),\n ];\n for (const option of options) {\n // In theory we have to wait for each action to happen, but CDP is serial,\n // so as an optimization, we queue all CDP commands at once and await all\n // of them.\n promises.push(this.#dispatchAction(option));\n }\n await Promise.all(promises);\n }\n async #dispatchAction({ id, action }) {\n const source = this.#inputState.get(id);\n const keyState = this.#inputState.getGlobalKeyState();\n switch (action.type) {\n case 'keyDown': {\n // SAFETY: The source is validated before.\n await this.#dispatchKeyDownAction(source, action);\n this.#inputState.cancelList.push({\n id,\n action: {\n ...action,\n type: 'keyUp',\n },\n });\n break;\n }\n case 'keyUp': {\n // SAFETY: The source is validated before.\n await this.#dispatchKeyUpAction(source, action);\n break;\n }\n case 'pause': {\n // TODO: Implement waiting on the input source.\n break;\n }\n case 'pointerDown': {\n // SAFETY: The source is validated before.\n await this.#dispatchPointerDownAction(source, keyState, action);\n this.#inputState.cancelList.push({\n id,\n action: {\n ...action,\n type: 'pointerUp',\n },\n });\n break;\n }\n case 'pointerMove': {\n // SAFETY: The source is validated before.\n await this.#dispatchPointerMoveAction(source, keyState, action);\n break;\n }\n case 'pointerUp': {\n // SAFETY: The source is validated before.\n await this.#dispatchPointerUpAction(source, keyState, action);\n break;\n }\n case 'scroll': {\n // SAFETY: The source is validated before.\n await this.#dispatchScrollAction(source, keyState, action);\n break;\n }\n }\n }\n #dispatchPointerDownAction(source, keyState, action) {\n const { button } = action;\n if (source.pressed.has(button)) {\n return;\n }\n source.pressed.add(button);\n const { x, y, subtype: pointerType } = source;\n const { width, height, pressure, twist, tangentialPressure } = action;\n const { tiltX, tiltY } = getTilt(action);\n // --- Platform-specific code begins here ---\n const { modifiers } = keyState;\n switch (pointerType) {\n case \"mouse\" /* Input.PointerType.Mouse */:\n case \"pen\" /* Input.PointerType.Pen */:\n // TODO: Implement width and height when available.\n return this.#context.cdpTarget.cdpClient.sendCommand('Input.dispatchMouseEvent', {\n type: 'mousePressed',\n x,\n y,\n modifiers,\n button: getCdpButton(button),\n buttons: source.buttons,\n clickCount: source.setClickCount(button, new InputSource_js_1.PointerSource.ClickContext(x, y, performance.now())),\n pointerType,\n tangentialPressure,\n tiltX,\n tiltY,\n twist,\n force: pressure,\n });\n case \"touch\" /* Input.PointerType.Touch */:\n return this.#context.cdpTarget.cdpClient.sendCommand('Input.dispatchTouchEvent', {\n type: 'touchStart',\n touchPoints: [\n {\n x,\n y,\n ...getRadii(width ?? 1, height ?? 1),\n tangentialPressure,\n tiltX,\n tiltY,\n twist,\n force: pressure,\n id: source.pointerId,\n },\n ],\n modifiers,\n });\n }\n // --- Platform-specific code ends here ---\n }\n #dispatchPointerUpAction(source, keyState, action) {\n const { button } = action;\n if (!source.pressed.has(button)) {\n return;\n }\n source.pressed.delete(button);\n const { x, y, subtype: pointerType } = source;\n // --- Platform-specific code begins here ---\n const { modifiers } = keyState;\n switch (pointerType) {\n case \"mouse\" /* Input.PointerType.Mouse */:\n case \"pen\" /* Input.PointerType.Pen */:\n // TODO: Implement width and height when available.\n return this.#context.cdpTarget.cdpClient.sendCommand('Input.dispatchMouseEvent', {\n type: 'mouseReleased',\n x,\n y,\n modifiers,\n button: getCdpButton(button),\n buttons: source.buttons,\n clickCount: source.getClickCount(button),\n pointerType,\n });\n case \"touch\" /* Input.PointerType.Touch */:\n return this.#context.cdpTarget.cdpClient.sendCommand('Input.dispatchTouchEvent', {\n type: 'touchEnd',\n touchPoints: [\n {\n x,\n y,\n id: source.pointerId,\n },\n ],\n modifiers,\n });\n }\n // --- Platform-specific code ends here ---\n }\n async #dispatchPointerMoveAction(source, keyState, action) {\n const { x: startX, y: startY, subtype: pointerType } = source;\n const { width, height, pressure, twist, tangentialPressure, x: offsetX, y: offsetY, origin = 'viewport', duration = this.#tickDuration, } = action;\n const { tiltX, tiltY } = getTilt(action);\n const { targetX, targetY } = await this.#getCoordinateFromOrigin(origin, offsetX, offsetY, startX, startY);\n if (targetX < 0 || targetY < 0) {\n throw new protocol_js_1.MoveTargetOutOfBoundsException(`Cannot move beyond viewport (x: ${targetX}, y: ${targetY})`);\n }\n let last;\n do {\n const ratio = duration > 0 ? (performance.now() - this.#tickStart) / duration : 1;\n last = ratio >= 1;\n let x;\n let y;\n if (last) {\n x = targetX;\n y = targetY;\n }\n else {\n x = Math.round(ratio * (targetX - startX) + startX);\n y = Math.round(ratio * (targetY - startY) + startY);\n }\n if (source.x !== x || source.y !== y) {\n // --- Platform-specific code begins here ---\n const { modifiers } = keyState;\n switch (pointerType) {\n case \"mouse\" /* Input.PointerType.Mouse */:\n // TODO: Implement width and height when available.\n await this.#context.cdpTarget.cdpClient.sendCommand('Input.dispatchMouseEvent', {\n type: 'mouseMoved',\n x,\n y,\n modifiers,\n clickCount: 0,\n button: getCdpButton(source.pressed.values().next().value ?? 5),\n buttons: source.buttons,\n pointerType,\n tangentialPressure,\n tiltX,\n tiltY,\n twist,\n force: pressure,\n });\n break;\n case \"pen\" /* Input.PointerType.Pen */:\n if (source.pressed.size !== 0) {\n // TODO: Implement width and height when available.\n await this.#context.cdpTarget.cdpClient.sendCommand('Input.dispatchMouseEvent', {\n type: 'mouseMoved',\n x,\n y,\n modifiers,\n clickCount: 0,\n button: getCdpButton(source.pressed.values().next().value ?? 5),\n buttons: source.buttons,\n pointerType,\n tangentialPressure,\n tiltX,\n tiltY,\n twist,\n force: pressure,\n });\n }\n break;\n case \"touch\" /* Input.PointerType.Touch */:\n if (source.pressed.size !== 0) {\n await this.#context.cdpTarget.cdpClient.sendCommand('Input.dispatchTouchEvent', {\n type: 'touchMove',\n touchPoints: [\n {\n x,\n y,\n ...getRadii(width ?? 1, height ?? 1),\n tangentialPressure,\n tiltX,\n tiltY,\n twist,\n force: pressure,\n id: source.pointerId,\n },\n ],\n modifiers,\n });\n }\n break;\n }\n // --- Platform-specific code ends here ---\n source.x = x;\n source.y = y;\n }\n } while (!last);\n }\n async #getCoordinateFromOrigin(origin, offsetX, offsetY, startX, startY) {\n let targetX;\n let targetY;\n switch (origin) {\n case 'viewport':\n targetX = offsetX;\n targetY = offsetY;\n break;\n case 'pointer':\n targetX = startX + offsetX;\n targetY = startY + offsetY;\n break;\n default: {\n const { x: posX, y: posY } = await getElementCenter(this.#context, origin.element);\n // SAFETY: These can never be special numbers.\n targetX = posX + offsetX;\n targetY = posY + offsetY;\n break;\n }\n }\n return { targetX, targetY };\n }\n async #dispatchScrollAction(_source, keyState, action) {\n const { deltaX: targetDeltaX, deltaY: targetDeltaY, x: offsetX, y: offsetY, origin = 'viewport', duration = this.#tickDuration, } = action;\n if (origin === 'pointer') {\n throw new protocol_js_1.InvalidArgumentException('\"pointer\" origin is invalid for scrolling.');\n }\n const { targetX, targetY } = await this.#getCoordinateFromOrigin(origin, offsetX, offsetY, 0, 0);\n if (targetX < 0 || targetY < 0) {\n throw new protocol_js_1.MoveTargetOutOfBoundsException(`Cannot move beyond viewport (x: ${targetX}, y: ${targetY})`);\n }\n let currentDeltaX = 0;\n let currentDeltaY = 0;\n let last;\n do {\n const ratio = duration > 0 ? (performance.now() - this.#tickStart) / duration : 1;\n last = ratio >= 1;\n let deltaX;\n let deltaY;\n if (last) {\n deltaX = targetDeltaX - currentDeltaX;\n deltaY = targetDeltaY - currentDeltaY;\n }\n else {\n deltaX = Math.round(ratio * targetDeltaX - currentDeltaX);\n deltaY = Math.round(ratio * targetDeltaY - currentDeltaY);\n }\n if (deltaX !== 0 || deltaY !== 0) {\n // --- Platform-specific code begins here ---\n const { modifiers } = keyState;\n await this.#context.cdpTarget.cdpClient.sendCommand('Input.dispatchMouseEvent', {\n type: 'mouseWheel',\n deltaX,\n deltaY,\n x: targetX,\n y: targetY,\n modifiers,\n });\n // --- Platform-specific code ends here ---\n currentDeltaX += deltaX;\n currentDeltaY += deltaY;\n }\n } while (!last);\n }\n async #dispatchKeyDownAction(source, action) {\n if ([...action.value].length > 1) {\n throw new protocol_js_1.InvalidArgumentException(`Invalid key value: ${action.value}`);\n }\n const rawKey = action.value;\n const key = (0, keyUtils_js_1.getNormalizedKey)(rawKey);\n const repeat = source.pressed.has(key);\n const code = (0, keyUtils_js_1.getKeyCode)(rawKey);\n const location = (0, keyUtils_js_1.getKeyLocation)(rawKey);\n switch (key) {\n case 'Alt':\n source.alt = true;\n break;\n case 'Shift':\n source.shift = true;\n break;\n case 'Control':\n source.ctrl = true;\n break;\n case 'Meta':\n source.meta = true;\n break;\n }\n source.pressed.add(key);\n const { modifiers } = source;\n // --- Platform-specific code begins here ---\n // The spread is a little hack so JS gives us an array of unicode characters\n // to measure.\n const unmodifiedText = getKeyEventUnmodifiedText(key, source);\n const text = getKeyEventText(code ?? '', source) ?? unmodifiedText;\n let command;\n // The following commands need to be declared because Chromium doesn't\n // handle them. See\n // https://source.chromium.org/chromium/chromium/src/+/refs/heads/main:third_party/blink/renderer/core/editing/editing_behavior.cc;l=169;drc=b8143cf1dfd24842890fcd831c4f5d909bef4fc4;bpv=0;bpt=1.\n if (this.#isMacOS && source.meta) {\n switch (code) {\n case 'KeyA':\n command = 'SelectAll';\n break;\n case 'KeyC':\n command = 'Copy';\n break;\n case 'KeyV':\n command = source.shift ? 'PasteAndMatchStyle' : 'Paste';\n break;\n case 'KeyX':\n command = 'Cut';\n break;\n case 'KeyZ':\n command = source.shift ? 'Redo' : 'Undo';\n break;\n default:\n // Intentionally empty.\n }\n }\n const promises = [\n this.#context.cdpTarget.cdpClient.sendCommand('Input.dispatchKeyEvent', {\n type: text ? 'keyDown' : 'rawKeyDown',\n windowsVirtualKeyCode: USKeyboardLayout_js_1.KeyToKeyCode[key],\n key,\n code,\n text,\n unmodifiedText,\n autoRepeat: repeat,\n isSystemKey: source.alt || undefined,\n location: location < 3 ? location : undefined,\n isKeypad: location === 3,\n modifiers,\n commands: command ? [command] : undefined,\n }),\n ];\n // Drag cancelling happens on escape.\n if (key === 'Escape') {\n if (!source.alt &&\n ((this.#isMacOS && !source.ctrl && !source.meta) || !this.#isMacOS)) {\n promises.push(this.#context.cdpTarget.cdpClient.sendCommand('Input.cancelDragging'));\n }\n }\n await Promise.all(promises);\n // --- Platform-specific code ends here ---\n }\n #dispatchKeyUpAction(source, action) {\n if ([...action.value].length > 1) {\n throw new protocol_js_1.InvalidArgumentException(`Invalid key value: ${action.value}`);\n }\n const rawKey = action.value;\n const key = (0, keyUtils_js_1.getNormalizedKey)(rawKey);\n if (!source.pressed.has(key)) {\n return;\n }\n const code = (0, keyUtils_js_1.getKeyCode)(rawKey);\n const location = (0, keyUtils_js_1.getKeyLocation)(rawKey);\n switch (key) {\n case 'Alt':\n source.alt = false;\n break;\n case 'Shift':\n source.shift = false;\n break;\n case 'Control':\n source.ctrl = false;\n break;\n case 'Meta':\n source.meta = false;\n break;\n }\n source.pressed.delete(key);\n const { modifiers } = source;\n // --- Platform-specific code begins here ---\n // The spread is a little hack so JS gives us an array of unicode characters\n // to measure.\n const unmodifiedText = getKeyEventUnmodifiedText(key, source);\n const text = getKeyEventText(code ?? '', source) ?? unmodifiedText;\n return this.#context.cdpTarget.cdpClient.sendCommand('Input.dispatchKeyEvent', {\n type: 'keyUp',\n windowsVirtualKeyCode: USKeyboardLayout_js_1.KeyToKeyCode[key],\n key,\n code,\n text,\n unmodifiedText,\n location: location < 3 ? location : undefined,\n isSystemKey: source.alt || undefined,\n isKeypad: location === 3,\n modifiers,\n });\n // --- Platform-specific code ends here ---\n }\n}\nexports.ActionDispatcher = ActionDispatcher;\nconst getKeyEventUnmodifiedText = (key, source) => {\n if (key === 'Enter') {\n return '\\r';\n }\n return [...key].length === 1\n ? source.shift\n ? key.toLocaleUpperCase('en-US')\n : key\n : undefined;\n};\nconst getKeyEventText = (code, source) => {\n if (source.ctrl) {\n switch (code) {\n case 'Digit2':\n if (source.shift) {\n return '\\x00';\n }\n break;\n case 'KeyA':\n return '\\x01';\n case 'KeyB':\n return '\\x02';\n case 'KeyC':\n return '\\x03';\n case 'KeyD':\n return '\\x04';\n case 'KeyE':\n return '\\x05';\n case 'KeyF':\n return '\\x06';\n case 'KeyG':\n return '\\x07';\n case 'KeyH':\n return '\\x08';\n case 'KeyI':\n return '\\x09';\n case 'KeyJ':\n return '\\x0A';\n case 'KeyK':\n return '\\x0B';\n case 'KeyL':\n return '\\x0C';\n case 'KeyM':\n return '\\x0D';\n case 'KeyN':\n return '\\x0E';\n case 'KeyO':\n return '\\x0F';\n case 'KeyP':\n return '\\x10';\n case 'KeyQ':\n return '\\x11';\n case 'KeyR':\n return '\\x12';\n case 'KeyS':\n return '\\x13';\n case 'KeyT':\n return '\\x14';\n case 'KeyU':\n return '\\x15';\n case 'KeyV':\n return '\\x16';\n case 'KeyW':\n return '\\x17';\n case 'KeyX':\n return '\\x18';\n case 'KeyY':\n return '\\x19';\n case 'KeyZ':\n return '\\x1A';\n case 'BracketLeft':\n return '\\x1B';\n case 'Backslash':\n return '\\x1C';\n case 'BracketRight':\n return '\\x1D';\n case 'Digit6':\n if (source.shift) {\n return '\\x1E';\n }\n break;\n case 'Minus':\n return '\\x1F';\n }\n return '';\n }\n if (source.alt) {\n return '';\n }\n return;\n};\nfunction getCdpButton(button) {\n switch (button) {\n case 0:\n return 'left';\n case 1:\n return 'middle';\n case 2:\n return 'right';\n case 3:\n return 'back';\n case 4:\n return 'forward';\n default:\n return 'none';\n }\n}\nfunction getTilt(action) {\n // https://w3c.github.io/pointerevents/#converting-between-tiltx-tilty-and-altitudeangle-azimuthangle\n const altitudeAngle = action.altitudeAngle ?? 0;\n const azimuthAngle = action.azimuthAngle ?? 0;\n let tiltXRadians = 0;\n let tiltYRadians = 0;\n if (altitudeAngle === 0) {\n // the pen is in the X-Y plane\n if (azimuthAngle === 0 || azimuthAngle === 2 * Math.PI) {\n // pen is on positive X axis\n tiltXRadians = Math.PI / 2;\n }\n if (azimuthAngle === Math.PI / 2) {\n // pen is on positive Y axis\n tiltYRadians = Math.PI / 2;\n }\n if (azimuthAngle === Math.PI) {\n // pen is on negative X axis\n tiltXRadians = -Math.PI / 2;\n }\n if (azimuthAngle === (3 * Math.PI) / 2) {\n // pen is on negative Y axis\n tiltYRadians = -Math.PI / 2;\n }\n if (azimuthAngle > 0 && azimuthAngle < Math.PI / 2) {\n tiltXRadians = Math.PI / 2;\n tiltYRadians = Math.PI / 2;\n }\n if (azimuthAngle > Math.PI / 2 && azimuthAngle < Math.PI) {\n tiltXRadians = -Math.PI / 2;\n tiltYRadians = Math.PI / 2;\n }\n if (azimuthAngle > Math.PI && azimuthAngle < (3 * Math.PI) / 2) {\n tiltXRadians = -Math.PI / 2;\n tiltYRadians = -Math.PI / 2;\n }\n if (azimuthAngle > (3 * Math.PI) / 2 && azimuthAngle < 2 * Math.PI) {\n tiltXRadians = Math.PI / 2;\n tiltYRadians = -Math.PI / 2;\n }\n }\n if (altitudeAngle !== 0) {\n const tanAlt = Math.tan(altitudeAngle);\n tiltXRadians = Math.atan(Math.cos(azimuthAngle) / tanAlt);\n tiltYRadians = Math.atan(Math.sin(azimuthAngle) / tanAlt);\n }\n const factor = 180 / Math.PI;\n return {\n tiltX: Math.round(tiltXRadians * factor),\n tiltY: Math.round(tiltYRadians * factor),\n };\n}\nfunction getRadii(width, height) {\n return {\n radiusX: width ? width / 2 : 0.5,\n radiusY: height ? height / 2 : 0.5,\n };\n}\n//# sourceMappingURL=ActionDispatcher.js.map","\"use strict\";\n/**\n * Copyright 2023 Google LLC.\n * Copyright (c) Microsoft Corporation.\n * Copyright 2022 The Chromium Authors.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.Mutex = void 0;\n/**\n * Use Mutex class to coordinate local concurrent operations.\n * Once `acquire` promise resolves, you hold the lock and must\n * call `release` function returned by `acquire` to release the\n * lock. Failing to `release` the lock may lead to deadlocks.\n */\nclass Mutex {\n #locked = false;\n #acquirers = [];\n // This is FIFO.\n acquire() {\n const state = { resolved: false };\n if (this.#locked) {\n return new Promise((resolve) => {\n this.#acquirers.push(() => resolve(this.#release.bind(this, state)));\n });\n }\n this.#locked = true;\n return Promise.resolve(this.#release.bind(this, state));\n }\n #release(state) {\n if (state.resolved) {\n throw new Error('Cannot release more than once.');\n }\n state.resolved = true;\n const resolve = this.#acquirers.shift();\n if (!resolve) {\n this.#locked = false;\n return;\n }\n resolve();\n }\n async run(action) {\n const release = await this.acquire();\n try {\n // Note we need to await here because we want the await to release AFTER\n // that await happens. Returning action() will trigger the release\n // immediately which is counter to what we want.\n const result = await action();\n return result;\n }\n finally {\n release();\n }\n }\n}\nexports.Mutex = Mutex;\n//# sourceMappingURL=Mutex.js.map","\"use strict\";\n/**\n * Copyright 2023 Google LLC.\n * Copyright (c) Microsoft Corporation.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.InputState = void 0;\nconst protocol_js_1 = require(\"../../../protocol/protocol.js\");\nconst Mutex_js_1 = require(\"../../../utils/Mutex.js\");\nconst InputSource_js_1 = require(\"./InputSource.js\");\nclass InputState {\n cancelList = [];\n #sources = new Map();\n #mutex = new Mutex_js_1.Mutex();\n getOrCreate(id, type, subtype) {\n let source = this.#sources.get(id);\n if (!source) {\n switch (type) {\n case \"none\" /* SourceType.None */:\n source = new InputSource_js_1.NoneSource();\n break;\n case \"key\" /* SourceType.Key */:\n source = new InputSource_js_1.KeySource();\n break;\n case \"pointer\" /* SourceType.Pointer */: {\n let pointerId = subtype === \"mouse\" /* Input.PointerType.Mouse */ ? 0 : 2;\n const pointerIds = new Set();\n for (const [, source] of this.#sources) {\n if (source.type === \"pointer\" /* SourceType.Pointer */) {\n pointerIds.add(source.pointerId);\n }\n }\n while (pointerIds.has(pointerId)) {\n ++pointerId;\n }\n source = new InputSource_js_1.PointerSource(pointerId, subtype);\n break;\n }\n case \"wheel\" /* SourceType.Wheel */:\n source = new InputSource_js_1.WheelSource();\n break;\n default:\n throw new protocol_js_1.InvalidArgumentException(`Expected \"${\"none\" /* SourceType.None */}\", \"${\"key\" /* SourceType.Key */}\", \"${\"pointer\" /* SourceType.Pointer */}\", or \"${\"wheel\" /* SourceType.Wheel */}\". Found unknown source type ${type}.`);\n }\n this.#sources.set(id, source);\n return source;\n }\n if (source.type !== type) {\n throw new protocol_js_1.InvalidArgumentException(`Input source type of ${id} is ${source.type}, but received ${type}.`);\n }\n return source;\n }\n get(id) {\n const source = this.#sources.get(id);\n if (!source) {\n throw new protocol_js_1.UnknownErrorException(`Internal error.`);\n }\n return source;\n }\n getGlobalKeyState() {\n const state = new InputSource_js_1.KeySource();\n for (const [, source] of this.#sources) {\n if (source.type !== \"key\" /* SourceType.Key */) {\n continue;\n }\n for (const pressed of source.pressed) {\n state.pressed.add(pressed);\n }\n state.alt ||= source.alt;\n state.ctrl ||= source.ctrl;\n state.meta ||= source.meta;\n state.shift ||= source.shift;\n }\n return state;\n }\n get queue() {\n return this.#mutex;\n }\n}\nexports.InputState = InputState;\n//# sourceMappingURL=InputState.js.map","\"use strict\";\n/**\n * Copyright 2023 Google LLC.\n * Copyright (c) Microsoft Corporation.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.InputStateManager = void 0;\nconst assert_js_1 = require(\"../../../utils/assert.js\");\nconst InputState_js_1 = require(\"./InputState.js\");\n// We use a weak map here as specified here:\n// https://www.w3.org/TR/webdriver/#dfn-browsing-context-input-state-map\nclass InputStateManager extends WeakMap {\n get(context) {\n (0, assert_js_1.assert)(context.isTopLevelContext());\n if (!this.has(context)) {\n this.set(context, new InputState_js_1.InputState());\n }\n return super.get(context);\n }\n}\nexports.InputStateManager = InputStateManager;\n//# sourceMappingURL=InputStateManager.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.InputProcessor = void 0;\n/*\n * Copyright 2023 Google LLC.\n * Copyright (c) Microsoft Corporation.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nconst protocol_js_1 = require(\"../../../protocol/protocol.js\");\nconst assert_js_1 = require(\"../../../utils/assert.js\");\nconst ActionDispatcher_js_1 = require(\"../input/ActionDispatcher.js\");\nconst InputStateManager_js_1 = require(\"../input/InputStateManager.js\");\nclass InputProcessor {\n #browsingContextStorage;\n #realmStorage;\n #inputStateManager = new InputStateManager_js_1.InputStateManager();\n constructor(browsingContextStorage, realmStorage) {\n this.#browsingContextStorage = browsingContextStorage;\n this.#realmStorage = realmStorage;\n }\n async performActions(params) {\n const context = this.#browsingContextStorage.getContext(params.context);\n const inputState = this.#inputStateManager.get(context.top);\n const actionsByTick = this.#getActionsByTick(params, inputState);\n const dispatcher = new ActionDispatcher_js_1.ActionDispatcher(inputState, context, await ActionDispatcher_js_1.ActionDispatcher.isMacOS(context).catch(() => false));\n await dispatcher.dispatchActions(actionsByTick);\n return {};\n }\n async releaseActions(params) {\n const context = this.#browsingContextStorage.getContext(params.context);\n const topContext = context.top;\n const inputState = this.#inputStateManager.get(topContext);\n const dispatcher = new ActionDispatcher_js_1.ActionDispatcher(inputState, context, await ActionDispatcher_js_1.ActionDispatcher.isMacOS(context).catch(() => false));\n await dispatcher.dispatchTickActions(inputState.cancelList.reverse());\n this.#inputStateManager.delete(topContext);\n return {};\n }\n async setFiles(params) {\n const context = this.#browsingContextStorage.getContext(params.context);\n const realm = await context.getOrCreateSandbox(undefined);\n let result;\n try {\n result = await realm.callFunction(String(function getFiles(fileListLength) {\n if (!(this instanceof HTMLInputElement)) {\n return 0 /* ErrorCode.Object */;\n }\n if (this.type !== 'file') {\n return 1 /* ErrorCode.Type */;\n }\n if (this.disabled) {\n return 2 /* ErrorCode.Disabled */;\n }\n if (fileListLength > 1 && !this.multiple) {\n return 3 /* ErrorCode.Multiple */;\n }\n return;\n }), params.element, [{ type: 'number', value: params.files.length }], false, \"none\" /* Script.ResultOwnership.None */, {}, false);\n }\n catch {\n throw new protocol_js_1.NoSuchElementException(`Could not find element ${params.element.sharedId}`);\n }\n (0, assert_js_1.assert)(result.type === 'success');\n if (result.result.type === 'number') {\n switch (result.result.value) {\n case 0 /* ErrorCode.Object */: {\n throw new protocol_js_1.NoSuchElementException(`Could not find element ${params.element.sharedId}`);\n }\n case 1 /* ErrorCode.Type */: {\n throw new protocol_js_1.UnableToSetFileInputException(`Element ${params.element.sharedId} is not a file input`);\n }\n case 2 /* ErrorCode.Disabled */: {\n throw new protocol_js_1.UnableToSetFileInputException(`Input element ${params.element.sharedId} is disabled`);\n }\n case 3 /* ErrorCode.Multiple */: {\n throw new protocol_js_1.UnableToSetFileInputException(`Cannot set multiple files on a non-multiple input element`);\n }\n }\n }\n /**\n * The zero-length array is a special case, it seems that\n * DOM.setFileInputFiles does not actually update the files in that case, so\n * the solution is to eval the element value to a new FileList directly.\n */\n if (params.files.length === 0) {\n // XXX: These events should converted to trusted events. Perhaps do this\n // in `DOM.setFileInputFiles`?\n await realm.callFunction(String(function dispatchEvent() {\n if (this.files?.length === 0) {\n this.dispatchEvent(new Event('cancel', {\n bubbles: true,\n }));\n return;\n }\n this.files = new DataTransfer().files;\n // Dispatch events for this case because it should behave akin to a user action.\n this.dispatchEvent(new Event('input', { bubbles: true, composed: true }));\n this.dispatchEvent(new Event('change', { bubbles: true }));\n }), params.element, [], false, \"none\" /* Script.ResultOwnership.None */, {}, false);\n return {};\n }\n // Our goal here is to iterate over the input element files and get their\n // file paths.\n const paths = [];\n for (let i = 0; i < params.files.length; ++i) {\n const result = await realm.callFunction(String(function getFiles(index) {\n return this.files?.item(index);\n }), params.element, [{ type: 'number', value: 0 }], false, \"root\" /* Script.ResultOwnership.Root */, {}, false);\n (0, assert_js_1.assert)(result.type === 'success');\n if (result.result.type !== 'object') {\n break;\n }\n const { handle } = result.result;\n (0, assert_js_1.assert)(handle !== undefined);\n const { path } = await realm.cdpClient.sendCommand('DOM.getFileInfo', {\n objectId: handle,\n });\n paths.push(path);\n // Cleanup the handle.\n void realm.disown(handle).catch(undefined);\n }\n paths.sort();\n // We create a new array so we preserve the order of the original files.\n const sortedFiles = [...params.files].sort();\n if (paths.length !== params.files.length ||\n sortedFiles.some((path, index) => {\n return paths[index] !== path;\n })) {\n const { objectId } = await realm.deserializeForCdp(params.element);\n // This cannot throw since this was just used in `callFunction` above.\n (0, assert_js_1.assert)(objectId !== undefined);\n await realm.cdpClient.sendCommand('DOM.setFileInputFiles', {\n files: params.files,\n objectId,\n });\n }\n else {\n // XXX: We should dispatch a trusted event.\n await realm.callFunction(String(function dispatchEvent() {\n this.dispatchEvent(new Event('cancel', {\n bubbles: true,\n }));\n }), params.element, [], false, \"none\" /* Script.ResultOwnership.None */, {}, false);\n }\n return {};\n }\n #getActionsByTick(params, inputState) {\n const actionsByTick = [];\n for (const action of params.actions) {\n switch (action.type) {\n case \"pointer\" /* SourceType.Pointer */: {\n action.parameters ??= { pointerType: \"mouse\" /* Input.PointerType.Mouse */ };\n action.parameters.pointerType ??= \"mouse\" /* Input.PointerType.Mouse */;\n const source = inputState.getOrCreate(action.id, \"pointer\" /* SourceType.Pointer */, action.parameters.pointerType);\n if (source.subtype !== action.parameters.pointerType) {\n throw new protocol_js_1.InvalidArgumentException(`Expected input source ${action.id} to be ${source.subtype}; got ${action.parameters.pointerType}.`);\n }\n break;\n }\n default:\n inputState.getOrCreate(action.id, action.type);\n }\n const actions = action.actions.map((item) => ({\n id: action.id,\n action: item,\n }));\n for (let i = 0; i < actions.length; i++) {\n if (actionsByTick.length === i) {\n actionsByTick.push([]);\n }\n actionsByTick[i].push(actions[i]);\n }\n }\n return actionsByTick;\n }\n}\nexports.InputProcessor = InputProcessor;\n//# sourceMappingURL=InputProcessor.js.map","\"use strict\";var M=Object.defineProperty;var Pe=Object.getOwnPropertyDescriptor;var Re=Object.getOwnPropertyNames;var Ee=Object.prototype.hasOwnProperty;var Oe=(e,t)=>{for(var r in t)M(e,r,{get:t[r],enumerable:!0})},ke=(e,t,r,n)=>{if(t&&typeof t==\"object\"||typeof t==\"function\")for(let a of Re(t))!Ee.call(e,a)&&a!==r&&M(e,a,{get:()=>t[a],enumerable:!(n=Pe(t,a))||n.enumerable});return e};var Te=e=>ke(M({},\"__esModule\",{value:!0}),e);var Ne={};Oe(Ne,{URLPattern:()=>Y});module.exports=Te(Ne);var R=class{type=3;name=\"\";prefix=\"\";value=\"\";suffix=\"\";modifier=3;constructor(t,r,n,a,c,l){this.type=t,this.name=r,this.prefix=n,this.value=a,this.suffix=c,this.modifier=l}hasCustomName(){return this.name!==\"\"&&typeof this.name!=\"number\"}},Ae=/[$_\\p{ID_Start}]/u,ye=/[$_\\u200C\\u200D\\p{ID_Continue}]/u,v=\".*\";function we(e,t){return(t?/^[\\x00-\\xFF]*$/:/^[\\x00-\\x7F]*$/).test(e)}function D(e,t=!1){let r=[],n=0;for(;n{if(lo(\"OTHER_MODIFIER\")??o(\"ASTERISK\"),d=h=>{let u=o(h);if(u!==void 0)return u;let{type:p,index:A}=r[l];throw new TypeError(`Unexpected ${p} at ${A}, expected ${h}`)},T=()=>{let h=\"\",u;for(;u=o(\"CHAR\")??o(\"ESCAPED_CHAR\");)h+=u;return h},xe=h=>h,L=t.encodePart||xe,I=\"\",U=h=>{I+=h},$=()=>{I.length&&(a.push(new R(3,\"\",\"\",L(I),\"\",3)),I=\"\")},X=(h,u,p,A,Z)=>{let g=3;switch(Z){case\"?\":g=1;break;case\"*\":g=0;break;case\"+\":g=2;break}if(!u&&!p&&g===3){U(h);return}if($(),!u&&!p){if(!h)return;a.push(new R(3,\"\",\"\",L(h),\"\",g));return}let m;p?p===\"*\"?m=v:m=p:m=n;let O=2;m===n?(O=1,m=\"\"):m===v&&(O=0,m=\"\");let P;if(u?P=u:p&&(P=c++),i.has(P))throw new TypeError(`Duplicate name '${P}'.`);i.add(P),a.push(new R(O,P,L(h),m,L(A),g))};for(;l-1)}return l||(n+=`(?=${c}|${a})`),new RegExp(n,B(r))}var x={delimiter:\"\",prefixes:\"\",sensitive:!0,strict:!0},J={delimiter:\".\",prefixes:\"\",sensitive:!0,strict:!0},Q={delimiter:\"/\",prefixes:\"/\",sensitive:!0,strict:!0};function ee(e,t){return e.length?e[0]===\"/\"?!0:!t||e.length<2?!1:(e[0]==\"\\\\\"||e[0]==\"{\")&&e[1]==\"/\":!1}function te(e,t){return e.startsWith(t)?e.substring(t.length,e.length):e}function Ce(e,t){return e.endsWith(t)?e.substr(0,e.length-t.length):e}function _(e){return!e||e.length<2?!1:e[0]===\"[\"||(e[0]===\"\\\\\"||e[0]===\"{\")&&e[1]===\"[\"}var re=[\"ftp\",\"file\",\"http\",\"https\",\"ws\",\"wss\"];function N(e){if(!e)return!0;for(let t of re)if(e.test(t))return!0;return!1}function ne(e,t){if(e=te(e,\"#\"),t||e===\"\")return e;let r=new URL(\"https://example.com\");return r.hash=e,r.hash?r.hash.substring(1,r.hash.length):\"\"}function se(e,t){if(e=te(e,\"?\"),t||e===\"\")return e;let r=new URL(\"https://example.com\");return r.search=e,r.search?r.search.substring(1,r.search.length):\"\"}function ie(e,t){return t||e===\"\"?e:_(e)?K(e):j(e)}function ae(e,t){if(t||e===\"\")return e;let r=new URL(\"https://example.com\");return r.password=e,r.password}function oe(e,t){if(t||e===\"\")return e;let r=new URL(\"https://example.com\");return r.username=e,r.username}function ce(e,t,r){if(r||e===\"\")return e;if(t&&!re.includes(t))return new URL(`${t}:${e}`).pathname;let n=e[0]==\"/\";return e=new URL(n?e:\"/-\"+e,\"https://example.com\").pathname,n||(e=e.substring(2,e.length)),e}function le(e,t,r){return z(t)===e&&(e=\"\"),r||e===\"\"?e:G(e)}function fe(e,t){return e=Ce(e,\":\"),t||e===\"\"?e:y(e)}function z(e){switch(e){case\"ws\":case\"http\":return\"80\";case\"wws\":case\"https\":return\"443\";case\"ftp\":return\"21\";default:return\"\"}}function y(e){if(e===\"\")return e;if(/^[-+.A-Za-z0-9]*$/.test(e))return e.toLowerCase();throw new TypeError(`Invalid protocol '${e}'.`)}function he(e){if(e===\"\")return e;let t=new URL(\"https://example.com\");return t.username=e,t.username}function ue(e){if(e===\"\")return e;let t=new URL(\"https://example.com\");return t.password=e,t.password}function j(e){if(e===\"\")return e;if(/[\\t\\n\\r #%/:<>?@[\\]^\\\\|]/g.test(e))throw new TypeError(`Invalid hostname '${e}'`);let t=new URL(\"https://example.com\");return t.hostname=e,t.hostname}function K(e){if(e===\"\")return e;if(/[^0-9a-fA-F[\\]:]/g.test(e))throw new TypeError(`Invalid IPv6 hostname '${e}'`);return e.toLowerCase()}function G(e){if(e===\"\"||/^[0-9]*$/.test(e)&&parseInt(e)<=65535)return e;throw new TypeError(`Invalid port '${e}'.`)}function de(e){if(e===\"\")return e;let t=new URL(\"https://example.com\");return t.pathname=e[0]!==\"/\"?\"/-\"+e:e,e[0]!==\"/\"?t.pathname.substring(2,t.pathname.length):t.pathname}function pe(e){return e===\"\"?e:new URL(`data:${e}`).pathname}function ge(e){if(e===\"\")return e;let t=new URL(\"https://example.com\");return t.search=e,t.search.substring(1,t.search.length)}function me(e){if(e===\"\")return e;let t=new URL(\"https://example.com\");return t.hash=e,t.hash.substring(1,t.hash.length)}var H=class{#i;#n=[];#t={};#e=0;#s=1;#l=0;#o=0;#d=0;#p=0;#g=!1;constructor(t){this.#i=t}get result(){return this.#t}parse(){for(this.#n=D(this.#i,!0);this.#e0)if(this.#A())this.#d-=1;else continue;if(this.#T()){this.#d+=1;continue}switch(this.#o){case 0:this.#P()&&this.#u(1);break;case 1:if(this.#P()){this.#C();let t=7,r=1;this.#E()?(t=2,r=3):this.#g&&(t=2),this.#r(t,r)}break;case 2:this.#S()?this.#u(3):(this.#x()||this.#h()||this.#f())&&this.#u(5);break;case 3:this.#O()?this.#r(4,1):this.#S()&&this.#r(5,1);break;case 4:this.#S()&&this.#r(5,1);break;case 5:this.#y()?this.#p+=1:this.#w()&&(this.#p-=1),this.#k()&&!this.#p?this.#r(6,1):this.#x()?this.#r(7,0):this.#h()?this.#r(8,1):this.#f()&&this.#r(9,1);break;case 6:this.#x()?this.#r(7,0):this.#h()?this.#r(8,1):this.#f()&&this.#r(9,1);break;case 7:this.#h()?this.#r(8,1):this.#f()&&this.#r(9,1);break;case 8:this.#f()&&this.#r(9,1);break;case 9:break;case 10:break}}this.#t.hostname!==void 0&&this.#t.port===void 0&&(this.#t.port=\"\")}#r(t,r){switch(this.#o){case 0:break;case 1:this.#t.protocol=this.#c();break;case 2:break;case 3:this.#t.username=this.#c();break;case 4:this.#t.password=this.#c();break;case 5:this.#t.hostname=this.#c();break;case 6:this.#t.port=this.#c();break;case 7:this.#t.pathname=this.#c();break;case 8:this.#t.search=this.#c();break;case 9:this.#t.hash=this.#c();break;case 10:break}this.#o!==0&&t!==10&&([1,2,3,4].includes(this.#o)&&[6,7,8,9].includes(t)&&(this.#t.hostname??=\"\"),[1,2,3,4,5,6].includes(this.#o)&&[8,9].includes(t)&&(this.#t.pathname??=this.#g?\"/\":\"\"),[1,2,3,4,5,6,7].includes(this.#o)&&t===9&&(this.#t.search??=\"\")),this.#R(t,r)}#R(t,r){this.#o=t,this.#l=this.#e+r,this.#e+=r,this.#s=0}#b(){this.#e=this.#l,this.#s=0}#u(t){this.#b(),this.#o=t}#m(t){return t<0&&(t=this.#n.length-t),t=0&&(e.pathname=b(n.pathname.substring(0,a+1),r)+e.pathname)}e.pathname=ce(e.pathname,e.protocol,r)}return typeof t.search==\"string\"&&(e.search=se(t.search,r)),typeof t.hash==\"string\"&&(e.hash=ne(t.hash,r)),e}function C(e){return e.replace(/([+*?:{}()\\\\])/g,\"\\\\$1\")}function Le(e){return e.replace(/([.+*?^${}()[\\]|/\\\\])/g,\"\\\\$1\")}function Ie(e,t){t.delimiter??=\"/#?\",t.prefixes??=\"./\",t.sensitive??=!1,t.strict??=!1,t.end??=!0,t.start??=!0,t.endsWith=\"\";let r=\".*\",n=`[^${Le(t.delimiter)}]+?`,a=/[$_\\u200C\\u200D\\p{ID_Continue}]/u,c=\"\";for(let l=0;l0?e[l-1]:null,d=l0?d.value[0]:\"\";o=a.test(T)}else o=!d.hasCustomName();if(!o&&!s.prefix.length&&f&&f.type===3){let T=f.value[f.value.length-1];o=t.prefixes.includes(T)}o&&(c+=\"{\"),c+=C(s.prefix),i&&(c+=`:${s.name}`),s.type===2?c+=`(${s.value})`:s.type===1?i||(c+=`(${n})`):s.type===0&&(!i&&(!f||f.type===3||f.modifier!==3||o||s.prefix!==\"\")?c+=\"*\":c+=`(${r})`),s.type===1&&i&&s.suffix.length&&a.test(s.suffix[0])&&(c+=\"\\\\\"),c+=C(s.suffix),o&&(c+=\"}\"),s.modifier!==3&&(c+=k(s.modifier))}return c}var Y=class{#i;#n={};#t={};#e={};#s={};#l=!1;constructor(t={},r,n){try{let a;if(typeof r==\"string\"?a=r:n=r,typeof t==\"string\"){let i=new H(t);if(i.parse(),t=i.result,a===void 0&&typeof t.protocol!=\"string\")throw new TypeError(\"A base URL must be provided for a relative constructor string.\");t.baseURL=a}else{if(!t||typeof t!=\"object\")throw new TypeError(\"parameter 1 is not of type 'string' and cannot convert to dictionary.\");if(a)throw new TypeError(\"parameter 1 is not of type 'string'.\")}typeof n>\"u\"&&(n={ignoreCase:!1});let c={ignoreCase:n.ignoreCase===!0},l={pathname:E,protocol:E,username:E,password:E,hostname:E,port:E,search:E,hash:E};this.#i=w(l,t,!0),z(this.#i.protocol)===this.#i.port&&(this.#i.port=\"\");let s;for(s of V){if(!(s in this.#i))continue;let i={},o=this.#i[s];switch(this.#t[s]=[],s){case\"protocol\":Object.assign(i,x),i.encodePart=y;break;case\"username\":Object.assign(i,x),i.encodePart=he;break;case\"password\":Object.assign(i,x),i.encodePart=ue;break;case\"hostname\":Object.assign(i,J),_(o)?i.encodePart=K:i.encodePart=j;break;case\"port\":Object.assign(i,x),i.encodePart=G;break;case\"pathname\":N(this.#n.protocol)?(Object.assign(i,Q,c),i.encodePart=de):(Object.assign(i,x,c),i.encodePart=pe);break;case\"search\":Object.assign(i,x,c),i.encodePart=ge;break;case\"hash\":Object.assign(i,x,c),i.encodePart=me;break}try{this.#s[s]=F(o,i),this.#n[s]=W(this.#s[s],this.#t[s],i),this.#e[s]=Ie(this.#s[s],i),this.#l=this.#l||this.#s[s].some(f=>f.type===2)}catch{throw new TypeError(`invalid ${s} pattern '${this.#i[s]}'.`)}}}catch(a){throw new TypeError(`Failed to construct 'URLPattern': ${a.message}`)}}test(t={},r){let n={pathname:\"\",protocol:\"\",username:\"\",password:\"\",hostname:\"\",port:\"\",search:\"\",hash:\"\"};if(typeof t!=\"string\"&&r)throw new TypeError(\"parameter 1 is not of type 'string'.\");if(typeof t>\"u\")return!1;try{typeof t==\"object\"?n=w(n,t,!1):n=w(n,Se(t,r),!1)}catch{return!1}let a;for(a of V)if(!this.#n[a].exec(n[a]))return!1;return!0}exec(t={},r){let n={pathname:\"\",protocol:\"\",username:\"\",password:\"\",hostname:\"\",port:\"\",search:\"\",hash:\"\"};if(typeof t!=\"string\"&&r)throw new TypeError(\"parameter 1 is not of type 'string'.\");if(typeof t>\"u\")return;try{typeof t==\"object\"?n=w(n,t,!1):n=w(n,Se(t,r),!1)}catch{return null}let a={};r?a.inputs=[t,r]:a.inputs=[t];let c;for(c of V){let l=this.#n[c].exec(n[c]);if(!l)return null;let s={};for(let[i,o]of this.#t[c].entries())if(typeof o==\"string\"||typeof o==\"number\"){let f=l[i+1];s[o]=f}a[c]={input:n[c]??\"\",groups:s}}return a}static compareComponent(t,r,n){let a=(i,o)=>{for(let f of[\"type\",\"modifier\",\"prefix\",\"value\",\"suffix\"]){if(i[f]{let f=0;for(;f {\n return `${acc}${header.name}: ${header.value.value}\\r\\n`;\n }, '');\n return new TextEncoder().encode(requestHeaders).length;\n}\nexports.computeHeadersSize = computeHeadersSize;\n/** Converts from CDP Network domain headers to Bidi network headers. */\nfunction bidiNetworkHeadersFromCdpNetworkHeaders(headers) {\n if (!headers) {\n return [];\n }\n return Object.entries(headers).map(([name, value]) => ({\n name,\n value: {\n type: 'string',\n value,\n },\n }));\n}\nexports.bidiNetworkHeadersFromCdpNetworkHeaders = bidiNetworkHeadersFromCdpNetworkHeaders;\n/** Converts from Bidi network headers to CDP Network domain headers. */\nfunction cdpNetworkHeadersFromBidiNetworkHeaders(headers) {\n if (headers === undefined) {\n return undefined;\n }\n return headers.reduce((result, header) => {\n // TODO: Distinguish between string and bytes?\n result[header.name] = header.value.value;\n return result;\n }, {});\n}\nexports.cdpNetworkHeadersFromBidiNetworkHeaders = cdpNetworkHeadersFromBidiNetworkHeaders;\n/** Converts from CDP Fetch domain header entries to Bidi network headers. */\nfunction bidiNetworkHeadersFromCdpFetchHeaders(headers) {\n if (!headers) {\n return [];\n }\n return headers.map(({ name, value }) => ({\n name,\n value: {\n type: 'string',\n value,\n },\n }));\n}\nexports.bidiNetworkHeadersFromCdpFetchHeaders = bidiNetworkHeadersFromCdpFetchHeaders;\n/** Converts from Bidi network headers to CDP Fetch domain header entries. */\nfunction cdpFetchHeadersFromBidiNetworkHeaders(headers) {\n if (headers === undefined) {\n return undefined;\n }\n return headers.map(({ name, value }) => ({\n name,\n value: value.value,\n }));\n}\nexports.cdpFetchHeadersFromBidiNetworkHeaders = cdpFetchHeadersFromBidiNetworkHeaders;\n/** Converts from Bidi auth action to CDP auth challenge response. */\nfunction cdpAuthChallengeResponseFromBidiAuthContinueWithAuthAction(action) {\n switch (action) {\n case 'default':\n return 'Default';\n case 'cancel':\n return 'CancelAuth';\n case 'provideCredentials':\n return 'ProvideCredentials';\n }\n}\nexports.cdpAuthChallengeResponseFromBidiAuthContinueWithAuthAction = cdpAuthChallengeResponseFromBidiAuthContinueWithAuthAction;\n/**\n * Converts from CDP Network domain cookie to BiDi network cookie.\n * * https://chromedevtools.github.io/devtools-protocol/tot/Network/#type-Cookie\n * * https://w3c.github.io/webdriver-bidi/#type-network-Cookie\n */\nfunction cdpToBiDiCookie(cookie) {\n const result = {\n name: cookie.name,\n value: { type: 'string', value: cookie.value },\n domain: cookie.domain,\n path: cookie.path,\n size: cookie.size,\n httpOnly: cookie.httpOnly,\n secure: cookie.secure,\n sameSite: cookie.sameSite === undefined\n ? \"none\" /* Network.SameSite.None */\n : sameSiteCdpToBiDi(cookie.sameSite),\n ...(cookie.expires >= 0 ? { expiry: cookie.expires } : undefined),\n };\n // Extending with CDP-specific properties with `goog:` prefix.\n result[`goog:session`] = cookie.session;\n result[`goog:priority`] = cookie.priority;\n result[`goog:sameParty`] = cookie.sameParty;\n result[`goog:sourceScheme`] = cookie.sourceScheme;\n result[`goog:sourcePort`] = cookie.sourcePort;\n if (cookie.partitionKey !== undefined) {\n result[`goog:partitionKey`] = cookie.partitionKey;\n }\n if (cookie.partitionKeyOpaque !== undefined) {\n result[`goog:partitionKeyOpaque`] = cookie.partitionKeyOpaque;\n }\n return result;\n}\nexports.cdpToBiDiCookie = cdpToBiDiCookie;\n/**\n * Converts from BiDi set network cookie params to CDP Network domain cookie.\n * * https://w3c.github.io/webdriver-bidi/#type-network-Cookie\n * * https://chromedevtools.github.io/devtools-protocol/tot/Network/#type-CookieParam\n */\nfunction bidiToCdpCookie(params, partitionKey) {\n if (params.cookie.value.type !== 'string') {\n // CDP supports only string values in cookies.\n throw new ErrorResponse_js_1.UnsupportedOperationException('Only string cookie values are supported');\n }\n const deserializedValue = params.cookie.value.value;\n const result = {\n name: params.cookie.name,\n value: deserializedValue,\n domain: params.cookie.domain,\n path: params.cookie.path ?? '/',\n secure: params.cookie.secure ?? false,\n httpOnly: params.cookie.httpOnly ?? false,\n // CDP's `partitionKey` is the BiDi's `partition.sourceOrigin`.\n ...(partitionKey.sourceOrigin !== undefined && {\n partitionKey: partitionKey.sourceOrigin,\n }),\n ...(params.cookie.expiry !== undefined && {\n expires: params.cookie.expiry,\n }),\n ...(params.cookie.sameSite !== undefined && {\n sameSite: sameSiteBiDiToCdp(params.cookie.sameSite),\n }),\n };\n // Extending with CDP-specific properties with `goog:` prefix.\n if (params.cookie[`goog:url`] !== undefined) {\n result.url = params.cookie[`goog:url`];\n }\n if (params.cookie[`goog:priority`] !== undefined) {\n result.priority = params.cookie[`goog:priority`];\n }\n if (params.cookie[`goog:sameParty`] !== undefined) {\n result.sameParty = params.cookie[`goog:sameParty`];\n }\n if (params.cookie[`goog:sourceScheme`] !== undefined) {\n result.sourceScheme = params.cookie[`goog:sourceScheme`];\n }\n if (params.cookie[`goog:sourcePort`] !== undefined) {\n result.sourcePort = params.cookie[`goog:sourcePort`];\n }\n return result;\n}\nexports.bidiToCdpCookie = bidiToCdpCookie;\nfunction sameSiteCdpToBiDi(sameSite) {\n switch (sameSite) {\n case 'Strict':\n return \"strict\" /* Network.SameSite.Strict */;\n case 'None':\n return \"none\" /* Network.SameSite.None */;\n case 'Lax':\n return \"lax\" /* Network.SameSite.Lax */;\n default:\n // Defaults to `Lax`:\n // https://web.dev/articles/samesite-cookies-explained#samesitelax_by_default\n return \"lax\" /* Network.SameSite.Lax */;\n }\n}\nfunction sameSiteBiDiToCdp(sameSite) {\n switch (sameSite) {\n case \"strict\" /* Network.SameSite.Strict */:\n return 'Strict';\n case \"lax\" /* Network.SameSite.Lax */:\n return 'Lax';\n case \"none\" /* Network.SameSite.None */:\n return 'None';\n }\n throw new ErrorResponse_js_1.InvalidArgumentException(`Unknown 'sameSite' value ${sameSite}`);\n}\nexports.sameSiteBiDiToCdp = sameSiteBiDiToCdp;\nfunction buildUrlPatternString({ protocol, hostname, port, pathname, search, }) {\n if (!protocol && !hostname && !port && !pathname && !search) {\n return '*';\n }\n let url = '';\n if (protocol) {\n url += protocol;\n if (!protocol.endsWith(':')) {\n url += ':';\n }\n if (isSpecialScheme(protocol)) {\n url += '//';\n }\n }\n if (hostname) {\n url += hostname;\n }\n if (port) {\n url += `:${port}`;\n }\n if (pathname) {\n if (!pathname.startsWith('/')) {\n url += '/';\n }\n url += pathname;\n }\n if (search) {\n if (!search.startsWith('?')) {\n url += '?';\n }\n url += search;\n }\n return url;\n}\nexports.buildUrlPatternString = buildUrlPatternString;\n/**\n * Returns true if the given protocol is special.\n * Special protocols are those that have a default port.\n *\n * Example inputs: 'http', 'http:'\n *\n * @see https://url.spec.whatwg.org/#special-scheme\n */\nfunction isSpecialScheme(protocol) {\n return ['ftp', 'file', 'http', 'https', 'ws', 'wss'].includes(protocol.replace(/:$/, ''));\n}\nexports.isSpecialScheme = isSpecialScheme;\n/** Matches the given URLPattern against the given URL. */\nfunction matchUrlPattern(urlPattern, url) {\n return new UrlPattern_js_1.URLPattern(urlPattern.type === 'string' ? urlPattern.pattern : urlPattern).test(url);\n}\nexports.matchUrlPattern = matchUrlPattern;\n//# sourceMappingURL=NetworkUtils.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.NetworkProcessor = void 0;\nconst protocol_js_1 = require(\"../../../protocol/protocol.js\");\nconst assert_js_1 = require(\"../../../utils/assert.js\");\nconst NetworkUtils_js_1 = require(\"./NetworkUtils.js\");\n/** Dispatches Network domain commands. */\nclass NetworkProcessor {\n #browsingContextStorage;\n #networkStorage;\n constructor(browsingContextStorage, networkStorage) {\n this.#browsingContextStorage = browsingContextStorage;\n this.#networkStorage = networkStorage;\n }\n async addIntercept(params) {\n // TODO: Use in intercepts\n this.#browsingContextStorage.verifyContextsList(params.contexts);\n const urlPatterns = params.urlPatterns ?? [];\n const parsedUrlPatterns = NetworkProcessor.parseUrlPatterns(urlPatterns);\n const intercept = await this.#networkStorage.addIntercept({\n urlPatterns: parsedUrlPatterns,\n phases: params.phases,\n });\n return {\n intercept,\n };\n }\n async continueRequest(params) {\n const networkId = params.request;\n if (params.url !== undefined) {\n NetworkProcessor.parseUrlString(params.url);\n }\n const request = this.#getBlockedRequestOrFail(networkId, [\n \"beforeRequestSent\" /* Network.InterceptPhase.BeforeRequestSent */,\n ]);\n const { url, method, headers } = params;\n // TODO: Set / expand.\n // ; Step 9. cookies\n // ; Step 10. body\n const requestHeaders = (0, NetworkUtils_js_1.cdpFetchHeadersFromBidiNetworkHeaders)(headers);\n await request.continueRequest(url, method, requestHeaders);\n return {};\n }\n async continueResponse(params) {\n const networkId = params.request;\n const { statusCode, reasonPhrase, headers } = params;\n const request = this.#getBlockedRequestOrFail(networkId, [\n \"responseStarted\" /* Network.InterceptPhase.ResponseStarted */,\n ]);\n const responseHeaders = (0, NetworkUtils_js_1.cdpFetchHeadersFromBidiNetworkHeaders)(headers);\n // TODO: Set / expand.\n // ; Step 10. cookies\n // ; Step 11. credentials\n await request.continueResponse({\n responseCode: statusCode,\n responsePhrase: reasonPhrase,\n responseHeaders,\n });\n return {};\n }\n async continueWithAuth(params) {\n const networkId = params.request;\n const request = this.#getBlockedRequestOrFail(networkId, [\n \"authRequired\" /* Network.InterceptPhase.AuthRequired */,\n ]);\n let username;\n let password;\n if (params.action === 'provideCredentials') {\n const { credentials } = params;\n username = credentials.username;\n password = credentials.password;\n // TODO: This should be invalid argument exception.\n // Spec may need to be updated.\n (0, assert_js_1.assert)(credentials.type === 'password', `Credentials type ${credentials.type} must be 'password'`);\n }\n const response = (0, NetworkUtils_js_1.cdpAuthChallengeResponseFromBidiAuthContinueWithAuthAction)(params.action);\n await request.continueWithAuth({\n response,\n username,\n password,\n });\n return {};\n }\n async failRequest({ request: networkId, }) {\n const request = this.#getRequestOrFail(networkId);\n if (request.currentInterceptPhase === \"authRequired\" /* Network.InterceptPhase.AuthRequired */) {\n throw new protocol_js_1.InvalidArgumentException(`Request '${networkId}' in 'authRequired' phase cannot be failed`);\n }\n if (!request.currentInterceptPhase) {\n throw new protocol_js_1.NoSuchRequestException(`No blocked request found for network id '${networkId}'`);\n }\n await request.failRequest('Failed');\n return {};\n }\n async provideResponse(params) {\n const { statusCode, reasonPhrase, headers, body, request: networkId, } = params;\n // TODO: Step 6\n // https://w3c.github.io/webdriver-bidi/#command-network-continueResponse\n const responseHeaders = (0, NetworkUtils_js_1.cdpFetchHeadersFromBidiNetworkHeaders)(headers);\n // TODO: Set / expand.\n // ; Step 10. cookies\n // ; Step 11. credentials\n const request = this.#getBlockedRequestOrFail(networkId, [\n \"beforeRequestSent\" /* Network.InterceptPhase.BeforeRequestSent */,\n \"responseStarted\" /* Network.InterceptPhase.ResponseStarted */,\n \"authRequired\" /* Network.InterceptPhase.AuthRequired */,\n ]);\n await request.provideResponse({\n responseCode: statusCode ?? request.statusCode,\n responsePhrase: reasonPhrase,\n responseHeaders,\n body: body?.value, // TODO: Differ base64 / string\n });\n return {};\n }\n async removeIntercept(params) {\n await this.#networkStorage.removeIntercept(params.intercept);\n return {};\n }\n #getRequestOrFail(id) {\n const request = this.#networkStorage.getRequestById(id);\n if (!request) {\n throw new protocol_js_1.NoSuchRequestException(`Network request with ID '${id}' doesn't exist`);\n }\n return request;\n }\n #getBlockedRequestOrFail(id, phases) {\n const request = this.#getRequestOrFail(id);\n if (!request.currentInterceptPhase) {\n throw new protocol_js_1.NoSuchRequestException(`No blocked request found for network id '${id}'`);\n }\n if (request.currentInterceptPhase &&\n !phases.includes(request.currentInterceptPhase)) {\n throw new protocol_js_1.InvalidArgumentException(`Blocked request for network id '${id}' is in '${request.currentInterceptPhase}' phase`);\n }\n return request;\n }\n /**\n * Attempts to parse the given url.\n * Throws an InvalidArgumentException if the url is invalid.\n */\n static parseUrlString(url) {\n try {\n return new URL(url);\n }\n catch (error) {\n throw new protocol_js_1.InvalidArgumentException(`Invalid URL '${url}': ${error}`);\n }\n }\n static parseUrlPatterns(urlPatterns) {\n return urlPatterns.map((urlPattern) => {\n switch (urlPattern.type) {\n case 'string': {\n NetworkProcessor.parseUrlString(urlPattern.pattern);\n return urlPattern;\n }\n case 'pattern':\n // No params signifies intercept all\n if (urlPattern.protocol === undefined &&\n urlPattern.hostname === undefined &&\n urlPattern.port === undefined &&\n urlPattern.pathname === undefined &&\n urlPattern.search === undefined) {\n return urlPattern;\n }\n if (urlPattern.protocol === '') {\n throw new protocol_js_1.InvalidArgumentException(`URL pattern must specify a protocol`);\n }\n if (urlPattern.hostname === '') {\n throw new protocol_js_1.InvalidArgumentException(`URL pattern must specify a hostname`);\n }\n if ((urlPattern.hostname?.length ?? 0) > 0) {\n if (urlPattern.protocol?.match(/^file/i)) {\n throw new protocol_js_1.InvalidArgumentException(`URL pattern protocol cannot be 'file'`);\n }\n if (urlPattern.hostname?.includes(':')) {\n throw new protocol_js_1.InvalidArgumentException(`URL pattern hostname must not contain a colon`);\n }\n }\n if (urlPattern.port === '') {\n throw new protocol_js_1.InvalidArgumentException(`URL pattern must specify a port`);\n }\n try {\n new URL((0, NetworkUtils_js_1.buildUrlPatternString)(urlPattern));\n }\n catch (error) {\n throw new protocol_js_1.InvalidArgumentException(`${error}`);\n }\n return urlPattern;\n }\n });\n }\n}\nexports.NetworkProcessor = NetworkProcessor;\n//# sourceMappingURL=NetworkProcessor.js.map","\"use strict\";\n/*\n * Copyright 2023 Google LLC.\n * Copyright (c) Microsoft Corporation.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.NetworkRequest = void 0;\nconst protocol_js_1 = require(\"../../../protocol/protocol.js\");\nconst assert_js_1 = require(\"../../../utils/assert.js\");\nconst log_js_1 = require(\"../../../utils/log.js\");\nconst NetworkUtils_js_1 = require(\"./NetworkUtils.js\");\n/** Abstracts one individual network request. */\nclass NetworkRequest {\n static unknownParameter = 'UNKNOWN';\n /**\n * Each network request has an associated request id, which is a string\n * uniquely identifying that request.\n *\n * The identifier for a request resulting from a redirect matches that of the\n * request that initiated it.\n */\n #id;\n #fetchId;\n /**\n * Indicates the network intercept phase, if the request is currently blocked.\n * Undefined necessarily implies that the request is not blocked.\n */\n #interceptPhase;\n #servedFromCache = false;\n #redirectCount;\n #request = {};\n #response = {};\n #eventManager;\n #networkStorage;\n #cdpTarget;\n #logger;\n #emittedEvents = {\n [protocol_js_1.ChromiumBidi.Network.EventNames.AuthRequired]: false,\n [protocol_js_1.ChromiumBidi.Network.EventNames.BeforeRequestSent]: false,\n [protocol_js_1.ChromiumBidi.Network.EventNames.FetchError]: false,\n [protocol_js_1.ChromiumBidi.Network.EventNames.ResponseCompleted]: false,\n [protocol_js_1.ChromiumBidi.Network.EventNames.ResponseStarted]: false,\n };\n constructor(id, eventManager, networkStorage, cdpTarget, redirectCount = 0, logger) {\n this.#id = id;\n this.#eventManager = eventManager;\n this.#networkStorage = networkStorage;\n this.#cdpTarget = cdpTarget;\n this.#redirectCount = redirectCount;\n this.#logger = logger;\n }\n get id() {\n return this.#id;\n }\n get fetchId() {\n return this.#fetchId;\n }\n /**\n * When blocked returns the phase for it\n */\n get currentInterceptPhase() {\n return this.#interceptPhase;\n }\n get url() {\n return (this.#response.info?.url ??\n this.#response.paused?.request.url ??\n this.#request.auth?.request.url ??\n this.#request.info?.request.url ??\n this.#request.paused?.request.url ??\n NetworkRequest.unknownParameter);\n }\n get method() {\n return (this.#request.info?.request.method ??\n this.#request.paused?.request.method ??\n this.#request.auth?.request.method ??\n this.#response.paused?.request.method ??\n NetworkRequest.unknownParameter);\n }\n get redirectCount() {\n return this.#redirectCount;\n }\n get cdpClient() {\n return this.#cdpTarget.cdpClient;\n }\n isRedirecting() {\n return Boolean(this.#request.info);\n }\n #interceptsInPhase(phase) {\n return this.#networkStorage.getInterceptsForPhase(this, phase);\n }\n #isBlockedInPhase(phase) {\n return this.#interceptsInPhase(phase).size > 0;\n }\n handleRedirect(event) {\n this.#response.hasExtraInfo = event.redirectHasExtraInfo;\n this.#response.info = event.redirectResponse;\n this.#emitEventsIfReady({\n wasRedirected: true,\n });\n }\n #emitEventsIfReady(options = {}) {\n const requestExtraInfoCompleted = \n // Flush redirects\n options.wasRedirected ||\n options.hasFailed ||\n Boolean(this.#request.extraInfo) ||\n // Requests from cache don't have extra info\n this.#servedFromCache ||\n // Sometimes there is no extra info and the response\n // is the only place we can find out\n Boolean(this.#response.info && !this.#response.hasExtraInfo);\n const requestInterceptionExpected = this.#isBlockedInPhase(\"beforeRequestSent\" /* Network.InterceptPhase.BeforeRequestSent */);\n const requestInterceptionCompleted = !requestInterceptionExpected ||\n (requestInterceptionExpected && Boolean(this.#request.paused));\n if (Boolean(this.#request.info) &&\n (requestInterceptionExpected\n ? requestInterceptionCompleted\n : requestExtraInfoCompleted)) {\n this.#emitEvent(this.#getBeforeRequestEvent.bind(this));\n }\n const responseExtraInfoCompleted = Boolean(this.#response.extraInfo) ||\n // Response from cache don't have extra info\n this.#servedFromCache ||\n // Don't expect extra info if the flag is false\n Boolean(this.#response.info && !this.#response.hasExtraInfo);\n const responseInterceptionExpected = this.#isBlockedInPhase(\"responseStarted\" /* Network.InterceptPhase.ResponseStarted */);\n if (this.#response.info ||\n (responseInterceptionExpected && Boolean(this.#response.paused))) {\n this.#emitEvent(this.#getResponseStartedEvent.bind(this));\n }\n const responseInterceptionCompleted = !responseInterceptionExpected ||\n (responseInterceptionExpected && Boolean(this.#response.paused));\n if (Boolean(this.#response.info) &&\n responseExtraInfoCompleted &&\n responseInterceptionCompleted) {\n this.#emitEvent(this.#getResponseReceivedEvent.bind(this));\n }\n }\n onRequestWillBeSentEvent(event) {\n this.#request.info = event;\n this.#emitEventsIfReady();\n }\n onRequestWillBeSentExtraInfoEvent(event) {\n this.#request.extraInfo = event;\n this.#emitEventsIfReady();\n }\n onResponseReceivedExtraInfoEvent(event) {\n this.#response.extraInfo = event;\n this.#emitEventsIfReady();\n }\n onResponseReceivedEvent(event) {\n this.#response.hasExtraInfo = event.hasExtraInfo;\n this.#response.info = event.response;\n this.#emitEventsIfReady();\n }\n onServedFromCache() {\n this.#servedFromCache = true;\n this.#emitEventsIfReady();\n }\n onLoadingFailedEvent(event) {\n this.#emitEventsIfReady({\n hasFailed: true,\n });\n this.#emitEvent(() => {\n return {\n method: protocol_js_1.ChromiumBidi.Network.EventNames.FetchError,\n params: {\n ...this.#getBaseEventParams(),\n errorText: event.errorText,\n },\n };\n });\n }\n /** @see https://chromedevtools.github.io/devtools-protocol/tot/Fetch/#method-failRequest */\n async failRequest(errorReason) {\n (0, assert_js_1.assert)(this.#fetchId, 'Network Interception not set-up.');\n this.#interceptPhase = undefined;\n await this.cdpClient.sendCommand('Fetch.failRequest', {\n requestId: this.#fetchId,\n errorReason,\n });\n }\n onRequestPaused(event) {\n this.#fetchId = event.requestId;\n // CDP https://chromedevtools.github.io/devtools-protocol/tot/Fetch/#event-requestPaused\n if (event.responseStatusCode || event.responseErrorReason) {\n this.#response.paused = event;\n if (this.#isBlockedInPhase(\"responseStarted\" /* Network.InterceptPhase.ResponseStarted */)) {\n this.#interceptPhase = \"responseStarted\" /* Network.InterceptPhase.ResponseStarted */;\n }\n else {\n void this.continueResponse();\n }\n }\n else {\n this.#request.paused = event;\n if (this.#isBlockedInPhase(\"beforeRequestSent\" /* Network.InterceptPhase.BeforeRequestSent */)) {\n this.#interceptPhase = \"beforeRequestSent\" /* Network.InterceptPhase.BeforeRequestSent */;\n }\n else {\n void this.continueRequest();\n }\n }\n this.#emitEventsIfReady();\n }\n onAuthRequired(event) {\n this.#fetchId = event.requestId;\n this.#request.auth = event;\n if (this.#isBlockedInPhase(\"authRequired\" /* Network.InterceptPhase.AuthRequired */)) {\n this.#interceptPhase = \"authRequired\" /* Network.InterceptPhase.AuthRequired */;\n }\n else {\n void this.continueWithAuth();\n }\n this.#emitEvent(() => {\n return {\n method: protocol_js_1.ChromiumBidi.Network.EventNames.AuthRequired,\n params: {\n ...this.#getBaseEventParams(\"authRequired\" /* Network.InterceptPhase.AuthRequired */),\n // TODO: Why is this on the Spec\n // How are we suppose to know the response if we are blocked by Auth\n response: {},\n },\n };\n });\n }\n /** @see https://chromedevtools.github.io/devtools-protocol/tot/Fetch/#method-continueRequest */\n async continueRequest(url, method, headers) {\n (0, assert_js_1.assert)(this.#fetchId, 'Network Interception not set-up.');\n this.#interceptPhase = undefined;\n await this.cdpClient.sendCommand('Fetch.continueRequest', {\n requestId: this.#fetchId,\n url,\n method,\n headers,\n // TODO: Set?\n // postData:,\n // interceptResponse:,\n });\n }\n /** @see https://chromedevtools.github.io/devtools-protocol/tot/Fetch/#method-continueResponse */\n async continueResponse({ responseCode, responsePhrase, responseHeaders, } = {}) {\n (0, assert_js_1.assert)(this.#fetchId, 'Network Interception not set-up.');\n this.#interceptPhase = undefined;\n await this.cdpClient.sendCommand('Fetch.continueResponse', {\n requestId: this.#fetchId,\n responseCode,\n responsePhrase,\n responseHeaders,\n });\n }\n /** @see https://chromedevtools.github.io/devtools-protocol/tot/Fetch/#method-continueWithAuth */\n async continueWithAuth(authChallengeResponse = {\n response: 'Default',\n }) {\n (0, assert_js_1.assert)(this.#fetchId, 'Network Interception not set-up.');\n this.#interceptPhase = undefined;\n await this.cdpClient.sendCommand('Fetch.continueWithAuth', {\n requestId: this.#fetchId,\n authChallengeResponse,\n });\n }\n /** @see https://chromedevtools.github.io/devtools-protocol/tot/Fetch/#method-provideResponse */\n async provideResponse({ responseCode, responsePhrase, responseHeaders, body, }) {\n (0, assert_js_1.assert)(this.#fetchId, 'Network Interception not set-up.');\n this.#interceptPhase = undefined;\n await this.cdpClient.sendCommand('Fetch.fulfillRequest', {\n requestId: this.#fetchId,\n responseCode,\n responsePhrase,\n responseHeaders,\n ...(body ? { body: btoa(body) } : {}), // TODO: Double-check if btoa usage is correct.\n });\n }\n get #context() {\n return (this.#response.paused?.frameId ??\n this.#request.info?.frameId ??\n this.#request.paused?.frameId ??\n this.#request.auth?.frameId ??\n null);\n }\n /** Returns the HTTP status code associated with this request if any. */\n get statusCode() {\n return (this.#response.paused?.responseStatusCode ??\n this.#response.extraInfo?.statusCode ??\n this.#response.info?.status ??\n -1 // TODO: Throw an exception or use some other status code?\n );\n }\n #emitEvent(getEvent) {\n let event;\n try {\n event = getEvent();\n }\n catch (error) {\n this.#logger?.(log_js_1.LogType.debugError, error);\n throw error;\n }\n if (this.#isIgnoredEvent() || this.#emittedEvents[event.method]) {\n return;\n }\n this.#emittedEvents[event.method] = true;\n this.#eventManager.registerEvent(Object.assign(event, {\n type: 'event',\n }), this.#context);\n }\n #getBaseEventParams(phase) {\n const interceptProps = {\n isBlocked: false,\n };\n if (phase) {\n const blockedBy = this.#interceptsInPhase(phase);\n interceptProps.isBlocked = blockedBy.size > 0;\n if (interceptProps.isBlocked) {\n interceptProps.intercepts = [...blockedBy];\n }\n }\n return {\n context: this.#context,\n navigation: this.#getNavigationId(),\n redirectCount: this.#redirectCount,\n request: this.#getRequestData(),\n // Timestamp should be in milliseconds, while CDP provides it in seconds.\n timestamp: Math.round((this.#request.info?.wallTime ?? 0) * 1000),\n // Contains isBlocked and intercepts\n ...interceptProps,\n };\n }\n #getNavigationId() {\n if (!this.#request.info ||\n !this.#request.info.loaderId ||\n // When we navigate all CDP network events have `loaderId`\n // CDP's `loaderId` and `requestId` match when\n // that request triggered the loading\n this.#request.info.loaderId !== this.#request.info.requestId) {\n return null;\n }\n return this.#request.info.loaderId;\n }\n #getRequestData() {\n const cookies = this.#request.extraInfo\n ? NetworkRequest.#getCookies(this.#request.extraInfo.associatedCookies)\n : [];\n const headers = (0, NetworkUtils_js_1.bidiNetworkHeadersFromCdpNetworkHeaders)(this.#request.info?.request.headers);\n return {\n request: this.#id,\n url: this.url,\n method: this.method,\n headers,\n cookies,\n headersSize: (0, NetworkUtils_js_1.computeHeadersSize)(headers),\n // TODO: implement.\n bodySize: 0,\n timings: this.#getTimings(),\n };\n }\n // TODO: implement.\n #getTimings() {\n return {\n timeOrigin: 0,\n requestTime: 0,\n redirectStart: 0,\n redirectEnd: 0,\n fetchStart: 0,\n dnsStart: 0,\n dnsEnd: 0,\n connectStart: 0,\n connectEnd: 0,\n tlsStart: 0,\n requestStart: 0,\n responseStart: 0,\n responseEnd: 0,\n };\n }\n #getBeforeRequestEvent() {\n (0, assert_js_1.assert)(this.#request.info, 'RequestWillBeSentEvent is not set');\n return {\n method: protocol_js_1.ChromiumBidi.Network.EventNames.BeforeRequestSent,\n params: {\n ...this.#getBaseEventParams(\"beforeRequestSent\" /* Network.InterceptPhase.BeforeRequestSent */),\n initiator: {\n type: NetworkRequest.#getInitiatorType(this.#request.info.initiator.type),\n },\n },\n };\n }\n #getResponseStartedEvent() {\n (0, assert_js_1.assert)(this.#request.info, 'RequestWillBeSentEvent is not set');\n (0, assert_js_1.assert)(\n // The response paused comes before any data for the response\n this.#response.paused || this.#response.info, 'ResponseReceivedEvent is not set');\n // Chromium sends wrong extraInfo events for responses served from cache.\n // See https://github.com/puppeteer/puppeteer/issues/9965 and\n // https://crbug.com/1340398.\n if (this.#response.info?.fromDiskCache) {\n this.#response.extraInfo = undefined;\n }\n // TODO: get headers from Fetch.requestPaused\n const headers = (0, NetworkUtils_js_1.bidiNetworkHeadersFromCdpNetworkHeaders)(this.#response.info?.headers);\n return {\n method: protocol_js_1.ChromiumBidi.Network.EventNames.ResponseStarted,\n params: {\n ...this.#getBaseEventParams(\"responseStarted\" /* Network.InterceptPhase.ResponseStarted */),\n response: {\n url: this.url,\n protocol: this.#response.info?.protocol ?? '',\n status: this.statusCode,\n statusText: this.#response.info?.statusText ||\n this.#response.paused?.responseStatusText ||\n '',\n fromCache: this.#response.info?.fromDiskCache ||\n this.#response.info?.fromPrefetchCache ||\n this.#servedFromCache,\n headers,\n mimeType: this.#response.info?.mimeType || '',\n bytesReceived: this.#response.info?.encodedDataLength || 0,\n headersSize: (0, NetworkUtils_js_1.computeHeadersSize)(headers),\n // TODO: consider removing from spec.\n bodySize: 0,\n content: {\n // TODO: consider removing from spec.\n size: 0,\n },\n },\n },\n };\n }\n #getResponseReceivedEvent() {\n (0, assert_js_1.assert)(this.#request.info, 'RequestWillBeSentEvent is not set');\n (0, assert_js_1.assert)(this.#response.info, 'ResponseReceivedEvent is not set');\n // Chromium sends wrong extraInfo events for responses served from cache.\n // See https://github.com/puppeteer/puppeteer/issues/9965 and\n // https://crbug.com/1340398.\n if (this.#response.info.fromDiskCache) {\n this.#response.extraInfo = undefined;\n }\n const headers = (0, NetworkUtils_js_1.bidiNetworkHeadersFromCdpNetworkHeaders)(this.#response.info.headers);\n return {\n method: protocol_js_1.ChromiumBidi.Network.EventNames.ResponseCompleted,\n params: {\n ...this.#getBaseEventParams(),\n response: {\n url: this.url,\n protocol: this.#response.info.protocol ?? '',\n status: this.statusCode,\n statusText: this.#response.info.statusText,\n fromCache: this.#response.info.fromDiskCache ||\n this.#response.info.fromPrefetchCache ||\n this.#servedFromCache,\n headers,\n mimeType: this.#response.info.mimeType,\n bytesReceived: this.#response.info.encodedDataLength,\n headersSize: (0, NetworkUtils_js_1.computeHeadersSize)(headers),\n // TODO: consider removing from spec.\n bodySize: 0,\n content: {\n // TODO: consider removing from spec.\n size: 0,\n },\n },\n },\n };\n }\n #isIgnoredEvent() {\n return this.#request.info?.request.url.endsWith('/favicon.ico') ?? false;\n }\n static #getInitiatorType(initiatorType) {\n switch (initiatorType) {\n case 'parser':\n case 'script':\n case 'preflight':\n return initiatorType;\n default:\n return 'other';\n }\n }\n static #getCookies(associatedCookies) {\n return associatedCookies\n .filter(({ blockedReasons }) => {\n return !Array.isArray(blockedReasons) || blockedReasons.length === 0;\n })\n .map(({ cookie }) => (0, NetworkUtils_js_1.cdpToBiDiCookie)(cookie));\n }\n}\nexports.NetworkRequest = NetworkRequest;\n//# sourceMappingURL=NetworkRequest.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.NetworkStorage = void 0;\nconst protocol_js_1 = require(\"../../../protocol/protocol.js\");\nconst uuid_js_1 = require(\"../../../utils/uuid.js\");\nconst NetworkRequest_js_1 = require(\"./NetworkRequest.js\");\nconst NetworkUtils_js_1 = require(\"./NetworkUtils.js\");\n/** Stores network and intercept maps. */\nclass NetworkStorage {\n #eventManager;\n #logger;\n #targets = new Set();\n /**\n * A map from network request ID to Network Request objects.\n * Needed as long as information about requests comes from different events.\n */\n #requests = new Map();\n /** A map from intercept ID to track active network intercepts. */\n #intercepts = new Map();\n #interceptionStages = {\n request: false,\n response: false,\n auth: false,\n };\n constructor(eventManager, browserClient, logger) {\n this.#eventManager = eventManager;\n browserClient.on('Target.detachedFromTarget', ({ sessionId }) => {\n this.disposeRequestMap(sessionId);\n });\n this.#logger = logger;\n }\n /**\n * Gets the network request with the given ID, if any.\n * Otherwise, creates a new network request with the given ID and cdp target.\n */\n #getOrCreateNetworkRequest(id, cdpTarget, redirectCount) {\n let request = this.getRequestById(id);\n if (request) {\n return request;\n }\n request = new NetworkRequest_js_1.NetworkRequest(id, this.#eventManager, this, cdpTarget, redirectCount, this.#logger);\n this.addRequest(request);\n return request;\n }\n onCdpTargetCreated(cdpTarget) {\n this.#targets.add(cdpTarget);\n const cdpClient = cdpTarget.cdpClient;\n // TODO: Wrap into object\n const listeners = [\n [\n 'Network.requestWillBeSent',\n (params) => {\n const request = this.getRequestById(params.requestId);\n if (request && request.isRedirecting()) {\n request.handleRedirect(params);\n this.deleteRequest(params.requestId);\n this.#getOrCreateNetworkRequest(params.requestId, cdpTarget, request.redirectCount + 1).onRequestWillBeSentEvent(params);\n }\n else {\n this.#getOrCreateNetworkRequest(params.requestId, cdpTarget).onRequestWillBeSentEvent(params);\n }\n },\n ],\n [\n 'Network.requestWillBeSentExtraInfo',\n (params) => {\n this.#getOrCreateNetworkRequest(params.requestId, cdpTarget).onRequestWillBeSentExtraInfoEvent(params);\n },\n ],\n [\n 'Network.responseReceived',\n (params) => {\n this.#getOrCreateNetworkRequest(params.requestId, cdpTarget).onResponseReceivedEvent(params);\n },\n ],\n [\n 'Network.responseReceivedExtraInfo',\n (params) => {\n this.#getOrCreateNetworkRequest(params.requestId, cdpTarget).onResponseReceivedExtraInfoEvent(params);\n },\n ],\n [\n 'Network.requestServedFromCache',\n (params) => {\n this.#getOrCreateNetworkRequest(params.requestId, cdpTarget).onServedFromCache();\n },\n ],\n [\n 'Network.loadingFailed',\n (params) => {\n this.#getOrCreateNetworkRequest(params.requestId, cdpTarget).onLoadingFailedEvent(params);\n },\n ],\n [\n 'Fetch.requestPaused',\n (event) => {\n this.#getOrCreateNetworkRequest(\n // CDP quirk if the Network domain is not present this is undefined\n event.networkId ?? event.requestId, cdpTarget).onRequestPaused(event);\n },\n ],\n [\n 'Fetch.authRequired',\n (event) => {\n let request = this.getRequestByFetchId(event.requestId);\n if (!request) {\n request = this.#getOrCreateNetworkRequest(event.requestId, cdpTarget);\n }\n request.onAuthRequired(event);\n },\n ],\n ];\n for (const [event, listener] of listeners) {\n cdpClient.on(event, listener);\n }\n }\n async toggleInterception() {\n if (this.#intercepts.size) {\n const stages = {\n request: false,\n response: false,\n auth: false,\n };\n for (const intercept of this.#intercepts.values()) {\n stages.request ||= intercept.phases.includes(\"beforeRequestSent\" /* Network.InterceptPhase.BeforeRequestSent */);\n stages.response ||= intercept.phases.includes(\"responseStarted\" /* Network.InterceptPhase.ResponseStarted */);\n stages.auth ||= intercept.phases.includes(\"authRequired\" /* Network.InterceptPhase.AuthRequired */);\n }\n const patterns = [];\n if (this.#interceptionStages.request === stages.request &&\n this.#interceptionStages.response === stages.response &&\n this.#interceptionStages.auth === stages.auth) {\n return;\n }\n this.#interceptionStages = stages;\n // CDP quirk we need request interception when we intercept auth\n if (stages.request || stages.auth) {\n patterns.push({\n urlPattern: '*',\n requestStage: 'Request',\n });\n }\n if (stages.response) {\n patterns.push({\n urlPattern: '*',\n requestStage: 'Response',\n });\n }\n // TODO: Don't enable on start as we will have\n // no network interceptions at this time.\n // Needed to enable fetch events.\n await Promise.all([...this.#targets.values()].map(async (cdpTarget) => {\n return await cdpTarget.enableFetchIfNeeded({\n patterns,\n handleAuthRequests: stages.auth,\n });\n }));\n }\n else {\n this.#interceptionStages = {\n request: false,\n response: false,\n auth: false,\n };\n await Promise.all([...this.#targets.values()].map((target) => {\n return target.disableFetchIfNeeded();\n }));\n }\n }\n getInterceptsForPhase(request, phase) {\n if (request.url === NetworkRequest_js_1.NetworkRequest.unknownParameter) {\n return new Set();\n }\n const intercepts = new Set();\n for (const [interceptId, intercept] of this.#intercepts.entries()) {\n if (!intercept.phases.includes(phase)) {\n continue;\n }\n if (intercept.urlPatterns.length === 0) {\n intercepts.add(interceptId);\n continue;\n }\n for (const pattern of intercept.urlPatterns) {\n if ((0, NetworkUtils_js_1.matchUrlPattern)(pattern, request.url)) {\n intercepts.add(interceptId);\n break;\n }\n }\n }\n return intercepts;\n }\n disposeRequestMap(sessionId) {\n for (const request of this.#requests.values()) {\n if (request.cdpClient.sessionId === sessionId) {\n this.#requests.delete(request.id);\n }\n }\n }\n /**\n * Adds the given entry to the intercept map.\n * URL patterns are assumed to be parsed.\n *\n * @return The intercept ID.\n */\n async addIntercept(value) {\n const interceptId = (0, uuid_js_1.uuidv4)();\n this.#intercepts.set(interceptId, value);\n await this.toggleInterception();\n return interceptId;\n }\n /**\n * Removes the given intercept from the intercept map.\n * Throws NoSuchInterceptException if the intercept does not exist.\n */\n async removeIntercept(intercept) {\n if (!this.#intercepts.has(intercept)) {\n throw new protocol_js_1.NoSuchInterceptException(`Intercept '${intercept}' does not exist.`);\n }\n this.#intercepts.delete(intercept);\n await this.toggleInterception();\n }\n getRequestById(id) {\n return this.#requests.get(id);\n }\n getRequestByFetchId(fetchId) {\n for (const request of this.#requests.values()) {\n if (request.fetchId === fetchId) {\n return request;\n }\n }\n return;\n }\n addRequest(request) {\n this.#requests.set(request.id, request);\n }\n deleteRequest(id) {\n this.#requests.delete(id);\n }\n}\nexports.NetworkStorage = NetworkStorage;\n//# sourceMappingURL=NetworkStorage.js.map","\"use strict\";\n/**\n * Copyright 2024 Google LLC.\n * Copyright (c) Microsoft Corporation.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.PermissionsProcessor = void 0;\nconst protocol_js_1 = require(\"../../../protocol/protocol.js\");\nclass PermissionsProcessor {\n #browserCdpClient;\n constructor(browserCdpClient) {\n this.#browserCdpClient = browserCdpClient;\n }\n async setPermissions(params) {\n try {\n const userContextId = params['goog:userContext'];\n await this.#browserCdpClient.sendCommand('Browser.setPermission', {\n origin: params.origin,\n browserContextId: userContextId && userContextId !== 'default'\n ? userContextId\n : undefined,\n permission: {\n name: params.descriptor.name,\n },\n setting: params.state,\n });\n }\n catch (err) {\n if (err.message ===\n `Permission can't be granted to opaque origins.`) {\n // Return success if the origin is not valid (does not match any\n // existing origins).\n return {};\n }\n throw new protocol_js_1.InvalidArgumentException(err.message);\n }\n return {};\n }\n}\nexports.PermissionsProcessor = PermissionsProcessor;\n//# sourceMappingURL=PermissionsProcessor.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.PreloadScriptStorage = void 0;\n/**\n * Container class for preload scripts.\n */\nclass PreloadScriptStorage {\n /** Tracks all BiDi preload scripts. */\n #scripts = new Set();\n /** Finds all entries that match the given filter. */\n find(filter) {\n if (!filter) {\n return [...this.#scripts];\n }\n return [...this.#scripts].filter((script) => {\n if (filter.id !== undefined && filter.id !== script.id) {\n return false;\n }\n if (filter.targetId !== undefined &&\n !script.targetIds.has(filter.targetId)) {\n return false;\n }\n if (filter.global !== undefined &&\n // Global scripts have no contexts\n ((filter.global && script.contexts !== undefined) ||\n // Non global scripts always have contexts\n (!filter.global && script.contexts === undefined))) {\n return false;\n }\n return true;\n });\n }\n add(preloadScript) {\n this.#scripts.add(preloadScript);\n }\n /** Deletes all BiDi preload script entries that match the given filter. */\n remove(filter) {\n for (const preloadScript of this.find(filter)) {\n this.#scripts.delete(preloadScript);\n }\n }\n}\nexports.PreloadScriptStorage = PreloadScriptStorage;\n//# sourceMappingURL=PreloadScriptStorage.js.map","\"use strict\";\n/*\n * Copyright 2023 Google LLC.\n * Copyright (c) Microsoft Corporation.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.PreloadScript = void 0;\nconst uuid_js_1 = require(\"../../../utils/uuid.js\");\nconst ChannelProxy_js_1 = require(\"./ChannelProxy.js\");\n/**\n * BiDi IDs are generated by the server and are unique within contexts.\n *\n * CDP preload script IDs are generated by the client and are unique\n * within sessions.\n *\n * The mapping between BiDi and CDP preload script IDs is 1:many.\n * BiDi IDs are needed by the mapper to keep track of potential multiple CDP IDs\n * in the client.\n */\nclass PreloadScript {\n /** BiDi ID, an automatically generated UUID. */\n #id = (0, uuid_js_1.uuidv4)();\n /** CDP preload scripts. */\n #cdpPreloadScripts = [];\n /** The script itself, in a format expected by the spec i.e. a function. */\n #functionDeclaration;\n /** Targets, in which the preload script is initialized. */\n #targetIds = new Set();\n /** Channels to be added as arguments to functionDeclaration. */\n #channels;\n /** The script sandbox / world name. */\n #sandbox;\n /** The browsing contexts to execute the preload scripts in, if any. */\n #contexts;\n get id() {\n return this.#id;\n }\n get targetIds() {\n return this.#targetIds;\n }\n constructor(params, logger) {\n this.#channels =\n params.arguments?.map((a) => new ChannelProxy_js_1.ChannelProxy(a.value, logger)) ?? [];\n this.#functionDeclaration = params.functionDeclaration;\n this.#sandbox = params.sandbox;\n this.#contexts = params.contexts;\n }\n /** Channels of the preload script. */\n get channels() {\n return this.#channels;\n }\n /** Contexts of the preload script, if any */\n get contexts() {\n return this.#contexts;\n }\n /**\n * String to be evaluated. Wraps user-provided function so that the following\n * steps are run:\n * 1. Create channels.\n * 2. Store the created channels in window.\n * 3. Call the user-provided function with channels as arguments.\n */\n #getEvaluateString() {\n const channelsArgStr = `[${this.channels\n .map((c) => c.getEvalInWindowStr())\n .join(', ')}]`;\n return `(()=>{(${this.#functionDeclaration})(...${channelsArgStr})})()`;\n }\n /**\n * Adds the script to the given CDP targets by calling the\n * `Page.addScriptToEvaluateOnNewDocument` command.\n */\n async initInTargets(cdpTargets, runImmediately) {\n await Promise.all(Array.from(cdpTargets).map((cdpTarget) => this.initInTarget(cdpTarget, runImmediately)));\n }\n /**\n * Adds the script to the given CDP target by calling the\n * `Page.addScriptToEvaluateOnNewDocument` command.\n */\n async initInTarget(cdpTarget, runImmediately) {\n const addCdpPreloadScriptResult = await cdpTarget.cdpClient.sendCommand('Page.addScriptToEvaluateOnNewDocument', {\n source: this.#getEvaluateString(),\n worldName: this.#sandbox,\n runImmediately,\n });\n this.#cdpPreloadScripts.push({\n target: cdpTarget,\n preloadScriptId: addCdpPreloadScriptResult.identifier,\n });\n this.#targetIds.add(cdpTarget.id);\n }\n /**\n * Removes this script from all CDP targets.\n */\n async remove() {\n for (const cdpPreloadScript of this.#cdpPreloadScripts) {\n const cdpTarget = cdpPreloadScript.target;\n const cdpPreloadScriptId = cdpPreloadScript.preloadScriptId;\n await cdpTarget.cdpClient.sendCommand('Page.removeScriptToEvaluateOnNewDocument', {\n identifier: cdpPreloadScriptId,\n });\n }\n }\n /** Removes the provided cdp target from the list of cdp preload scripts. */\n dispose(cdpTargetId) {\n this.#cdpPreloadScripts = this.#cdpPreloadScripts.filter((cdpPreloadScript) => cdpPreloadScript.target?.id !== cdpTargetId);\n this.#targetIds.delete(cdpTargetId);\n }\n}\nexports.PreloadScript = PreloadScript;\n//# sourceMappingURL=PreloadScript.js.map","\"use strict\";\n/**\n * Copyright 2023 Google LLC.\n * Copyright (c) Microsoft Corporation.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ScriptProcessor = void 0;\nconst protocol_1 = require(\"../../../protocol/protocol\");\nconst PreloadScript_1 = require(\"./PreloadScript\");\nclass ScriptProcessor {\n #browsingContextStorage;\n #realmStorage;\n #preloadScriptStorage;\n #logger;\n constructor(browsingContextStorage, realmStorage, preloadScriptStorage, logger) {\n this.#browsingContextStorage = browsingContextStorage;\n this.#realmStorage = realmStorage;\n this.#preloadScriptStorage = preloadScriptStorage;\n this.#logger = logger;\n }\n async addPreloadScript(params) {\n const contexts = this.#browsingContextStorage.verifyContextsList(params.contexts);\n const preloadScript = new PreloadScript_1.PreloadScript(params, this.#logger);\n this.#preloadScriptStorage.add(preloadScript);\n const cdpTargets = contexts.size === 0\n ? new Set(this.#browsingContextStorage\n .getTopLevelContexts()\n .map((context) => context.cdpTarget))\n : new Set([...contexts.values()].map((context) => context.cdpTarget));\n await preloadScript.initInTargets(cdpTargets, false);\n return {\n script: preloadScript.id,\n };\n }\n async removePreloadScript(params) {\n const bidiId = params.script;\n const scripts = this.#preloadScriptStorage.find({\n id: bidiId,\n });\n if (scripts.length === 0) {\n throw new protocol_1.NoSuchScriptException(`No preload script with BiDi ID '${bidiId}'`);\n }\n await Promise.all(scripts.map((script) => script.remove()));\n this.#preloadScriptStorage.remove({\n id: bidiId,\n });\n return {};\n }\n async callFunction(params) {\n const realm = await this.#getRealm(params.target);\n return await realm.callFunction(params.functionDeclaration, params.this ?? {\n type: 'undefined',\n }, // `this` is `undefined` by default.\n params.arguments ?? [], // `arguments` is `[]` by default.\n params.awaitPromise, params.resultOwnership ?? \"none\" /* Script.ResultOwnership.None */, params.serializationOptions ?? {}, params.userActivation ?? false);\n }\n async evaluate(params) {\n const realm = await this.#getRealm(params.target);\n return await realm.evaluate(params.expression, params.awaitPromise, params.resultOwnership ?? \"none\" /* Script.ResultOwnership.None */, params.serializationOptions ?? {}, params.userActivation ?? false);\n }\n async disown(params) {\n const realm = await this.#getRealm(params.target);\n await Promise.all(params.handles.map(async (handle) => await realm.disown(handle)));\n return {};\n }\n getRealms(params) {\n if (params.context !== undefined) {\n // Make sure the context is known.\n this.#browsingContextStorage.getContext(params.context);\n }\n const realms = this.#realmStorage\n .findRealms({\n browsingContextId: params.context,\n type: params.type,\n })\n .map((realm) => realm.realmInfo);\n return { realms };\n }\n async #getRealm(target) {\n if ('realm' in target) {\n return this.#realmStorage.getRealm({\n realmId: target.realm,\n });\n }\n const context = this.#browsingContextStorage.getContext(target.context);\n return await context.getOrCreateSandbox(target.sandbox);\n }\n}\nexports.ScriptProcessor = ScriptProcessor;\n//# sourceMappingURL=ScriptProcessor.js.map","\"use strict\";\n/**\n * Copyright 2023 Google LLC.\n * Copyright (c) Microsoft Corporation.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SessionProcessor = void 0;\nclass SessionProcessor {\n #eventManager;\n constructor(eventManager) {\n this.#eventManager = eventManager;\n }\n status() {\n return { ready: false, message: 'already connected' };\n }\n async subscribe(params, channel = null) {\n await this.#eventManager.subscribe(params.events, params.contexts ?? [null], channel);\n return {};\n }\n async unsubscribe(params, channel = null) {\n await this.#eventManager.unsubscribe(params.events, params.contexts ?? [null], channel);\n return {};\n }\n}\nexports.SessionProcessor = SessionProcessor;\n//# sourceMappingURL=SessionProcessor.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.StorageProcessor = void 0;\nconst protocol_js_1 = require(\"../../../protocol/protocol.js\");\nconst assert_js_1 = require(\"../../../utils/assert.js\");\nconst log_js_1 = require(\"../../../utils/log.js\");\nconst NetworkProcessor_js_1 = require(\"../network/NetworkProcessor.js\");\nconst NetworkUtils_js_1 = require(\"../network/NetworkUtils.js\");\n/**\n * Responsible for handling the `storage` domain.\n */\nclass StorageProcessor {\n #browserCdpClient;\n #browsingContextStorage;\n #logger;\n constructor(browserCdpClient, browsingContextStorage, logger) {\n this.#browsingContextStorage = browsingContextStorage;\n this.#browserCdpClient = browserCdpClient;\n this.#logger = logger;\n }\n async deleteCookies(params) {\n const partitionKey = this.#expandStoragePartitionSpec(params.partition);\n const cdpResponse = await this.#browserCdpClient.sendCommand('Storage.getCookies', {\n browserContextId: partitionKey.userContext,\n });\n const cdpCookiesToDelete = cdpResponse.cookies\n .filter(\n // CDP's partition key is the source origin. If the request specifies the\n // `sourceOrigin` partition key, only cookies with the requested source origin\n // are returned.\n (c) => partitionKey.sourceOrigin === undefined ||\n c.partitionKey === partitionKey.sourceOrigin)\n .filter((cdpCookie) => {\n const bidiCookie = (0, NetworkUtils_js_1.cdpToBiDiCookie)(cdpCookie);\n return this.#matchCookie(bidiCookie, params.filter);\n })\n .map((cookie) => ({\n ...cookie,\n // Set expiry to pass date to delete the cookie.\n expires: 1,\n }));\n await this.#browserCdpClient.sendCommand('Storage.setCookies', {\n cookies: cdpCookiesToDelete,\n browserContextId: partitionKey.userContext,\n });\n return {\n partitionKey,\n };\n }\n async getCookies(params) {\n const partitionKey = this.#expandStoragePartitionSpec(params.partition);\n const cdpResponse = await this.#browserCdpClient.sendCommand('Storage.getCookies', {\n browserContextId: partitionKey.userContext,\n });\n const filteredBiDiCookies = cdpResponse.cookies\n .filter(\n // CDP's partition key is the source origin. If the request specifies the\n // `sourceOrigin` partition key, only cookies with the requested source origin\n // are returned.\n (c) => partitionKey.sourceOrigin === undefined ||\n c.partitionKey === partitionKey.sourceOrigin)\n .map((c) => (0, NetworkUtils_js_1.cdpToBiDiCookie)(c))\n .filter((c) => this.#matchCookie(c, params.filter));\n return {\n cookies: filteredBiDiCookies,\n partitionKey,\n };\n }\n async setCookie(params) {\n const partitionKey = this.#expandStoragePartitionSpec(params.partition);\n const cdpCookie = (0, NetworkUtils_js_1.bidiToCdpCookie)(params, partitionKey);\n try {\n await this.#browserCdpClient.sendCommand('Storage.setCookies', {\n cookies: [cdpCookie],\n browserContextId: partitionKey.userContext,\n });\n }\n catch (e) {\n this.#logger?.(log_js_1.LogType.debugError, e);\n throw new protocol_js_1.UnableToSetCookieException(e.toString());\n }\n return {\n partitionKey,\n };\n }\n #expandStoragePartitionSpecByBrowsingContext(descriptor) {\n const browsingContextId = descriptor.context;\n const browsingContext = this.#browsingContextStorage.getContext(browsingContextId);\n // https://w3c.github.io/webdriver-bidi/#associated-storage-partition.\n // Each browsing context also has an associated storage partition, which is the\n // storage partition it uses to persist data. In Chromium it's a `BrowserContext`\n // which maps to BiDi `UserContext`.\n return {\n userContext: browsingContext.userContext === 'default'\n ? undefined\n : browsingContext.userContext,\n };\n }\n #expandStoragePartitionSpecByStorageKey(descriptor) {\n const unsupportedPartitionKeys = new Map();\n let sourceOrigin = descriptor.sourceOrigin;\n if (sourceOrigin !== undefined) {\n const url = NetworkProcessor_js_1.NetworkProcessor.parseUrlString(sourceOrigin);\n if (url.origin === 'null') {\n // Origin `null` is a special case for local pages.\n sourceOrigin = url.origin;\n }\n else {\n // Port is not supported in CDP Cookie's `partitionKey`, so it should be stripped\n // from the requested source origin.\n sourceOrigin = `${url.protocol}//${url.hostname}`;\n }\n }\n const userContext = descriptor.userContext === 'default' ? undefined : descriptor.userContext;\n // Partition spec is a storage partition.\n // Let partition key be partition spec.\n for (const [key, value] of Object.entries(descriptor)) {\n if (key !== undefined &&\n value !== undefined &&\n !['type', 'sourceOrigin', 'userContext'].includes(key)) {\n unsupportedPartitionKeys.set(key, value);\n }\n }\n if (unsupportedPartitionKeys.size > 0) {\n this.#logger?.(log_js_1.LogType.debugInfo, `Unsupported partition keys: ${JSON.stringify(Object.fromEntries(unsupportedPartitionKeys))}`);\n }\n return {\n ...(sourceOrigin === undefined ? {} : { sourceOrigin }),\n ...(userContext === undefined ? {} : { userContext }),\n };\n }\n #expandStoragePartitionSpec(partitionSpec) {\n if (partitionSpec === undefined) {\n return {};\n }\n if (partitionSpec.type === 'context') {\n return this.#expandStoragePartitionSpecByBrowsingContext(partitionSpec);\n }\n (0, assert_js_1.assert)(partitionSpec.type === 'storageKey', 'Unknown partition type');\n return this.#expandStoragePartitionSpecByStorageKey(partitionSpec);\n }\n #matchCookie(cookie, filter) {\n if (filter === undefined) {\n return true;\n }\n return ((filter.domain === undefined || filter.domain === cookie.domain) &&\n (filter.name === undefined || filter.name === cookie.name) &&\n // `value` contains fields `type` and `value`.\n (filter.value === undefined ||\n (filter.value.type === cookie.value.type &&\n filter.value.value === cookie.value.value)) &&\n (filter.path === undefined || filter.path === cookie.path) &&\n (filter.size === undefined || filter.size === cookie.size) &&\n (filter.httpOnly === undefined || filter.httpOnly === cookie.httpOnly) &&\n (filter.secure === undefined || filter.secure === cookie.secure) &&\n (filter.sameSite === undefined || filter.sameSite === cookie.sameSite) &&\n (filter.expiry === undefined || filter.expiry === cookie.expiry));\n }\n}\nexports.StorageProcessor = StorageProcessor;\n//# sourceMappingURL=StorageProcessor.js.map","\"use strict\";\n/**\n * Copyright 2021 Google LLC.\n * Copyright (c) Microsoft Corporation.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.OutgoingMessage = void 0;\nclass OutgoingMessage {\n #message;\n #channel;\n constructor(message, channel = null) {\n this.#message = message;\n this.#channel = channel;\n }\n static createFromPromise(messagePromise, channel) {\n return messagePromise.then((message) => {\n if (message.kind === 'success') {\n return {\n kind: 'success',\n value: new OutgoingMessage(message.value, channel),\n };\n }\n return message;\n });\n }\n static createResolved(message, channel) {\n return Promise.resolve({\n kind: 'success',\n value: new OutgoingMessage(message, channel),\n });\n }\n get message() {\n return this.#message;\n }\n get channel() {\n return this.#channel;\n }\n}\nexports.OutgoingMessage = OutgoingMessage;\n//# sourceMappingURL=OutgoingMessage.js.map","\"use strict\";\n/**\n * Copyright 2021 Google LLC.\n * Copyright (c) Microsoft Corporation.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.CommandProcessor = void 0;\nconst protocol_js_1 = require(\"../protocol/protocol.js\");\nconst EventEmitter_js_1 = require(\"../utils/EventEmitter.js\");\nconst log_js_1 = require(\"../utils/log.js\");\nconst BidiNoOpParser_js_1 = require(\"./BidiNoOpParser.js\");\nconst BrowserProcessor_js_1 = require(\"./domains/browser/BrowserProcessor.js\");\nconst CdpProcessor_js_1 = require(\"./domains/cdp/CdpProcessor.js\");\nconst BrowsingContextProcessor_js_1 = require(\"./domains/context/BrowsingContextProcessor.js\");\nconst InputProcessor_js_1 = require(\"./domains/input/InputProcessor.js\");\nconst NetworkProcessor_js_1 = require(\"./domains/network/NetworkProcessor.js\");\nconst NetworkStorage_js_1 = require(\"./domains/network/NetworkStorage.js\");\nconst PermissionsProcessor_js_1 = require(\"./domains/permissions/PermissionsProcessor.js\");\nconst PreloadScriptStorage_js_1 = require(\"./domains/script/PreloadScriptStorage.js\");\nconst ScriptProcessor_js_1 = require(\"./domains/script/ScriptProcessor.js\");\nconst SessionProcessor_js_1 = require(\"./domains/session/SessionProcessor.js\");\nconst StorageProcessor_js_1 = require(\"./domains/storage/StorageProcessor.js\");\nconst OutgoingMessage_js_1 = require(\"./OutgoingMessage.js\");\nclass CommandProcessor extends EventEmitter_js_1.EventEmitter {\n // keep-sorted start\n #browserProcessor;\n #browsingContextProcessor;\n #cdpProcessor;\n #inputProcessor;\n #networkProcessor;\n #permissionsProcessor;\n #scriptProcessor;\n #sessionProcessor;\n #storageProcessor;\n // keep-sorted end\n #parser;\n #logger;\n constructor(cdpConnection, browserCdpClient, eventManager, selfTargetId, defaultUserContextId, browsingContextStorage, realmStorage, acceptInsecureCerts, sharedIdWithFrame, parser = new BidiNoOpParser_js_1.BidiNoOpParser(), logger) {\n super();\n this.#parser = parser;\n this.#logger = logger;\n const networkStorage = new NetworkStorage_js_1.NetworkStorage(eventManager, browserCdpClient, logger);\n const preloadScriptStorage = new PreloadScriptStorage_js_1.PreloadScriptStorage();\n // keep-sorted start block=yes\n this.#browserProcessor = new BrowserProcessor_js_1.BrowserProcessor(browserCdpClient);\n this.#browsingContextProcessor = new BrowsingContextProcessor_js_1.BrowsingContextProcessor(cdpConnection, browserCdpClient, selfTargetId, eventManager, browsingContextStorage, realmStorage, networkStorage, preloadScriptStorage, acceptInsecureCerts, sharedIdWithFrame, defaultUserContextId, logger);\n this.#cdpProcessor = new CdpProcessor_js_1.CdpProcessor(browsingContextStorage, realmStorage, cdpConnection, browserCdpClient);\n this.#inputProcessor = new InputProcessor_js_1.InputProcessor(browsingContextStorage, realmStorage);\n this.#networkProcessor = new NetworkProcessor_js_1.NetworkProcessor(browsingContextStorage, networkStorage);\n this.#permissionsProcessor = new PermissionsProcessor_js_1.PermissionsProcessor(browserCdpClient);\n this.#scriptProcessor = new ScriptProcessor_js_1.ScriptProcessor(browsingContextStorage, realmStorage, preloadScriptStorage, logger);\n this.#sessionProcessor = new SessionProcessor_js_1.SessionProcessor(eventManager);\n this.#storageProcessor = new StorageProcessor_js_1.StorageProcessor(browserCdpClient, browsingContextStorage, logger);\n // keep-sorted end\n }\n async #processCommand(command) {\n switch (command.method) {\n case 'session.end':\n case 'session.new':\n // TODO: Implement.\n break;\n // Browser domain\n // keep-sorted start block=yes\n case 'browser.close':\n return this.#browserProcessor.close();\n case 'browser.createUserContext':\n return await this.#browserProcessor.createUserContext(command.params);\n case 'browser.getUserContexts':\n return await this.#browserProcessor.getUserContexts();\n case 'browser.removeUserContext':\n return await this.#browserProcessor.removeUserContext(this.#parser.parseRemoveUserContextParams(command.params));\n // keep-sorted end\n // Browsing Context domain\n // keep-sorted start block=yes\n case 'browsingContext.activate':\n return await this.#browsingContextProcessor.activate(this.#parser.parseActivateParams(command.params));\n case 'browsingContext.captureScreenshot':\n return await this.#browsingContextProcessor.captureScreenshot(this.#parser.parseCaptureScreenshotParams(command.params));\n case 'browsingContext.close':\n return await this.#browsingContextProcessor.close(this.#parser.parseCloseParams(command.params));\n case 'browsingContext.create':\n return await this.#browsingContextProcessor.create(this.#parser.parseCreateParams(command.params));\n case 'browsingContext.getTree':\n return this.#browsingContextProcessor.getTree(this.#parser.parseGetTreeParams(command.params));\n case 'browsingContext.handleUserPrompt':\n return await this.#browsingContextProcessor.handleUserPrompt(this.#parser.parseHandleUserPromptParams(command.params));\n case 'browsingContext.locateNodes':\n throw new protocol_js_1.UnsupportedOperationException(`Command '${command.method}' not yet implemented.`);\n case 'browsingContext.navigate':\n return await this.#browsingContextProcessor.navigate(this.#parser.parseNavigateParams(command.params));\n case 'browsingContext.print':\n return await this.#browsingContextProcessor.print(this.#parser.parsePrintParams(command.params));\n case 'browsingContext.reload':\n return await this.#browsingContextProcessor.reload(this.#parser.parseReloadParams(command.params));\n case 'browsingContext.setViewport':\n return await this.#browsingContextProcessor.setViewport(this.#parser.parseSetViewportParams(command.params));\n case 'browsingContext.traverseHistory':\n return await this.#browsingContextProcessor.traverseHistory(this.#parser.parseTraverseHistoryParams(command.params));\n // keep-sorted end\n // CDP domain\n // keep-sorted start block=yes\n case 'cdp.getSession':\n return this.#cdpProcessor.getSession(this.#parser.parseGetSessionParams(command.params));\n case 'cdp.resolveRealm':\n return this.#cdpProcessor.resolveRealm(this.#parser.parseResolveRealmParams(command.params));\n case 'cdp.sendCommand':\n return await this.#cdpProcessor.sendCommand(this.#parser.parseSendCommandParams(command.params));\n // keep-sorted end\n // Input domain\n // keep-sorted start block=yes\n case 'input.performActions':\n return await this.#inputProcessor.performActions(this.#parser.parsePerformActionsParams(command.params));\n case 'input.releaseActions':\n return await this.#inputProcessor.releaseActions(this.#parser.parseReleaseActionsParams(command.params));\n case 'input.setFiles':\n return await this.#inputProcessor.setFiles(this.#parser.parseSetFilesParams(command.params));\n // keep-sorted end\n // Network domain\n // keep-sorted start block=yes\n case 'network.addIntercept':\n return await this.#networkProcessor.addIntercept(this.#parser.parseAddInterceptParams(command.params));\n case 'network.continueRequest':\n return await this.#networkProcessor.continueRequest(this.#parser.parseContinueRequestParams(command.params));\n case 'network.continueResponse':\n return await this.#networkProcessor.continueResponse(this.#parser.parseContinueResponseParams(command.params));\n case 'network.continueWithAuth':\n return await this.#networkProcessor.continueWithAuth(this.#parser.parseContinueWithAuthParams(command.params));\n case 'network.failRequest':\n return await this.#networkProcessor.failRequest(this.#parser.parseFailRequestParams(command.params));\n case 'network.provideResponse':\n return await this.#networkProcessor.provideResponse(this.#parser.parseProvideResponseParams(command.params));\n case 'network.removeIntercept':\n return await this.#networkProcessor.removeIntercept(this.#parser.parseRemoveInterceptParams(command.params));\n // keep-sorted end\n // Permissions domain\n // keep-sorted start block=yes\n case 'permissions.setPermission':\n return await this.#permissionsProcessor.setPermissions(this.#parser.parseSetPermissionsParams(command.params));\n // keep-sorted end\n // Script domain\n // keep-sorted start block=yes\n case 'script.addPreloadScript':\n return await this.#scriptProcessor.addPreloadScript(this.#parser.parseAddPreloadScriptParams(command.params));\n case 'script.callFunction':\n return await this.#scriptProcessor.callFunction(this.#parser.parseCallFunctionParams(command.params));\n case 'script.disown':\n return await this.#scriptProcessor.disown(this.#parser.parseDisownParams(command.params));\n case 'script.evaluate':\n return await this.#scriptProcessor.evaluate(this.#parser.parseEvaluateParams(command.params));\n case 'script.getRealms':\n return this.#scriptProcessor.getRealms(this.#parser.parseGetRealmsParams(command.params));\n case 'script.removePreloadScript':\n return await this.#scriptProcessor.removePreloadScript(this.#parser.parseRemovePreloadScriptParams(command.params));\n // keep-sorted end\n // Session domain\n // keep-sorted start block=yes\n case 'session.status':\n return this.#sessionProcessor.status();\n case 'session.subscribe':\n return await this.#sessionProcessor.subscribe(this.#parser.parseSubscribeParams(command.params), command.channel);\n case 'session.unsubscribe':\n return await this.#sessionProcessor.unsubscribe(this.#parser.parseSubscribeParams(command.params), command.channel);\n // keep-sorted end\n // Storage domain\n // keep-sorted start block=yes\n case 'storage.deleteCookies':\n return await this.#storageProcessor.deleteCookies(this.#parser.parseDeleteCookiesParams(command.params));\n case 'storage.getCookies':\n return await this.#storageProcessor.getCookies(this.#parser.parseGetCookiesParams(command.params));\n case 'storage.setCookie':\n return await this.#storageProcessor.setCookie(this.#parser.parseSetCookieParams(command.params));\n // keep-sorted end\n }\n // Intentionally kept outside the switch statement to ensure that\n // ESLint @typescript-eslint/switch-exhaustiveness-check triggers if a new\n // command is added.\n throw new protocol_js_1.UnknownCommandException(`Unknown command '${command.method}'.`);\n }\n async processCommand(command) {\n try {\n const result = await this.#processCommand(command);\n const response = {\n type: 'success',\n id: command.id,\n result,\n };\n this.emit(\"response\" /* CommandProcessorEvents.Response */, {\n message: OutgoingMessage_js_1.OutgoingMessage.createResolved(response, command.channel),\n event: command.method,\n });\n }\n catch (e) {\n if (e instanceof protocol_js_1.Exception) {\n this.emit(\"response\" /* CommandProcessorEvents.Response */, {\n message: OutgoingMessage_js_1.OutgoingMessage.createResolved(e.toErrorResponse(command.id), command.channel),\n event: command.method,\n });\n }\n else {\n const error = e;\n this.#logger?.(log_js_1.LogType.bidi, error);\n this.emit(\"response\" /* CommandProcessorEvents.Response */, {\n message: OutgoingMessage_js_1.OutgoingMessage.createResolved(new protocol_js_1.UnknownErrorException(error.message, error.stack).toErrorResponse(command.id), command.channel),\n event: command.method,\n });\n }\n }\n }\n}\nexports.CommandProcessor = CommandProcessor;\n//# sourceMappingURL=CommandProcessor.js.map","\"use strict\";\n/**\n * Copyright 2022 Google LLC.\n * Copyright (c) Microsoft Corporation.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.BrowsingContextStorage = void 0;\nconst protocol_js_1 = require(\"../../../protocol/protocol.js\");\n/** Container class for browsing contexts. */\nclass BrowsingContextStorage {\n /** Map from context ID to context implementation. */\n #contexts = new Map();\n /** Gets all top-level contexts, i.e. those with no parent. */\n getTopLevelContexts() {\n return this.getAllContexts().filter((context) => context.isTopLevelContext());\n }\n /** Gets all contexts. */\n getAllContexts() {\n return Array.from(this.#contexts.values());\n }\n /** Deletes the context with the given ID. */\n deleteContextById(id) {\n this.#contexts.delete(id);\n }\n /** Deletes the given context. */\n deleteContext(context) {\n this.#contexts.delete(context.id);\n }\n /** Tracks the given context. */\n addContext(context) {\n this.#contexts.set(context.id, context);\n }\n /** Returns true whether there is an existing context with the given ID. */\n hasContext(id) {\n return this.#contexts.has(id);\n }\n /** Gets the context with the given ID, if any. */\n findContext(id) {\n return this.#contexts.get(id);\n }\n /** Returns the top-level context ID of the given context, if any. */\n findTopLevelContextId(id) {\n if (id === null) {\n return null;\n }\n const maybeContext = this.findContext(id);\n const parentId = maybeContext?.parentId ?? null;\n if (parentId === null) {\n return id;\n }\n return this.findTopLevelContextId(parentId);\n }\n findContextBySession(sessionId) {\n for (const context of this.#contexts.values()) {\n if (context.cdpTarget.cdpSessionId === sessionId) {\n return context;\n }\n }\n return;\n }\n /** Gets the context with the given ID, if any, otherwise throws. */\n getContext(id) {\n const result = this.findContext(id);\n if (result === undefined) {\n throw new protocol_js_1.NoSuchFrameException(`Context ${id} not found`);\n }\n return result;\n }\n verifyContextsList(contexts) {\n const foundContexts = new Set();\n if (!contexts) {\n return foundContexts;\n }\n for (const contextId of contexts) {\n const context = this.getContext(contextId);\n if (context.isTopLevelContext()) {\n foundContexts.add(context);\n }\n else {\n throw new protocol_js_1.InvalidArgumentException(`Non top-level context '${contextId}' given.`);\n }\n }\n return foundContexts;\n }\n}\nexports.BrowsingContextStorage = BrowsingContextStorage;\n//# sourceMappingURL=BrowsingContextStorage.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.RealmStorage = void 0;\nconst protocol_js_1 = require(\"../../../protocol/protocol.js\");\nconst WindowRealm_js_1 = require(\"./WindowRealm.js\");\n/** Container class for browsing realms. */\nclass RealmStorage {\n /** Tracks handles and their realms sent to the client. */\n #knownHandlesToRealmMap = new Map();\n /** Map from realm ID to Realm. */\n #realmMap = new Map();\n get knownHandlesToRealmMap() {\n return this.#knownHandlesToRealmMap;\n }\n addRealm(realm) {\n this.#realmMap.set(realm.realmId, realm);\n }\n /** Finds all realms that match the given filter. */\n findRealms(filter) {\n return Array.from(this.#realmMap.values()).filter((realm) => {\n if (filter.realmId !== undefined && filter.realmId !== realm.realmId) {\n return false;\n }\n if (filter.browsingContextId !== undefined &&\n !realm.associatedBrowsingContexts\n .map((browsingContext) => browsingContext.id)\n .includes(filter.browsingContextId)) {\n return false;\n }\n if (filter.sandbox !== undefined &&\n (!(realm instanceof WindowRealm_js_1.WindowRealm) || filter.sandbox !== realm.sandbox)) {\n return false;\n }\n if (filter.executionContextId !== undefined &&\n filter.executionContextId !== realm.executionContextId) {\n return false;\n }\n if (filter.origin !== undefined && filter.origin !== realm.origin) {\n return false;\n }\n if (filter.type !== undefined && filter.type !== realm.realmType) {\n return false;\n }\n if (filter.cdpSessionId !== undefined &&\n filter.cdpSessionId !== realm.cdpClient.sessionId) {\n return false;\n }\n return true;\n });\n }\n findRealm(filter) {\n const maybeRealms = this.findRealms(filter);\n if (maybeRealms.length !== 1) {\n return undefined;\n }\n return maybeRealms[0];\n }\n /** Gets the only realm that matches the given filter, if any, otherwise throws. */\n getRealm(filter) {\n const maybeRealm = this.findRealm(filter);\n if (maybeRealm === undefined) {\n throw new protocol_js_1.NoSuchFrameException(`Realm ${JSON.stringify(filter)} not found`);\n }\n return maybeRealm;\n }\n /** Deletes all realms that match the given filter. */\n deleteRealms(filter) {\n this.findRealms(filter).map((realm) => {\n realm.dispose();\n this.#realmMap.delete(realm.realmId);\n Array.from(this.knownHandlesToRealmMap.entries())\n .filter(([, r]) => r === realm.realmId)\n .map(([handle]) => this.knownHandlesToRealmMap.delete(handle));\n });\n }\n}\nexports.RealmStorage = RealmStorage;\n//# sourceMappingURL=RealmStorage.js.map","\"use strict\";\n/**\n * Copyright 2022 Google LLC.\n * Copyright (c) Microsoft Corporation.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.Buffer = void 0;\n/** Implements a FIFO buffer with a fixed size. */\nclass Buffer {\n #capacity;\n #entries = [];\n #onItemRemoved;\n /**\n * @param capacity The buffer capacity.\n * @param onItemRemoved Delegate called for each removed element.\n */\n constructor(capacity, onItemRemoved) {\n this.#capacity = capacity;\n this.#onItemRemoved = onItemRemoved;\n }\n get() {\n return this.#entries;\n }\n add(value) {\n this.#entries.push(value);\n while (this.#entries.length > this.#capacity) {\n const item = this.#entries.shift();\n if (item !== undefined) {\n this.#onItemRemoved?.(item);\n }\n }\n }\n}\nexports.Buffer = Buffer;\n//# sourceMappingURL=Buffer.js.map","\"use strict\";\n/**\n * Copyright 2023 Google LLC.\n * Copyright (c) Microsoft Corporation.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.DefaultMap = void 0;\n/**\n * A subclass of Map whose functionality is almost the same as its parent\n * except for the fact that DefaultMap never returns undefined. It provides a\n * default value for keys that do not exist.\n */\nclass DefaultMap extends Map {\n /** The default value to return whenever a key is not present in the map. */\n #getDefaultValue;\n constructor(getDefaultValue, entries) {\n super(entries);\n this.#getDefaultValue = getDefaultValue;\n }\n get(key) {\n if (!this.has(key)) {\n this.set(key, this.#getDefaultValue(key));\n }\n return super.get(key);\n }\n}\nexports.DefaultMap = DefaultMap;\n//# sourceMappingURL=DefaultMap.js.map","\"use strict\";\n/**\n * Copyright 2022 Google LLC.\n * Copyright (c) Microsoft Corporation.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.IdWrapper = void 0;\n/**\n * Creates an object with a positive unique incrementing id.\n */\nclass IdWrapper {\n static #counter = 0;\n #id;\n constructor() {\n this.#id = ++IdWrapper.#counter;\n }\n get id() {\n return this.#id;\n }\n}\nexports.IdWrapper = IdWrapper;\n//# sourceMappingURL=IdWrapper.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.assertSupportedEvent = exports.isCdpEvent = void 0;\n/**\n * Copyright 2023 Google LLC.\n * Copyright (c) Microsoft Corporation.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nconst protocol_js_1 = require(\"../../../protocol/protocol.js\");\n/**\n * Returns true if the given event is a CDP event.\n * @see https://chromedevtools.github.io/devtools-protocol/\n */\nfunction isCdpEvent(name) {\n return (name.split('.').at(0)?.startsWith(protocol_js_1.ChromiumBidi.BiDiModule.Cdp) ?? false);\n}\nexports.isCdpEvent = isCdpEvent;\n/**\n * Asserts that the given event is known to BiDi or BiDi+, or throws otherwise.\n */\nfunction assertSupportedEvent(name) {\n if (!protocol_js_1.ChromiumBidi.EVENT_NAMES.has(name) && !isCdpEvent(name)) {\n throw new protocol_js_1.InvalidArgumentException(`Unknown event: ${name}`);\n }\n}\nexports.assertSupportedEvent = assertSupportedEvent;\n//# sourceMappingURL=events.js.map","\"use strict\";\n/**\n * Copyright 2022 Google LLC.\n * Copyright (c) Microsoft Corporation.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SubscriptionManager = exports.unrollEvents = exports.cartesianProduct = void 0;\nconst protocol_js_1 = require(\"../../../protocol/protocol.js\");\nconst events_js_1 = require(\"./events.js\");\n/**\n * Returns the cartesian product of the given arrays.\n *\n * Example:\n * cartesian([1, 2], ['a', 'b']); => [[1, 'a'], [1, 'b'], [2, 'a'], [2, 'b']]\n */\nfunction cartesianProduct(...a) {\n return a.reduce((a, b) => a.flatMap((d) => b.map((e) => [d, e].flat())));\n}\nexports.cartesianProduct = cartesianProduct;\n/** Expands \"AllEvents\" events into atomic events. */\nfunction unrollEvents(events) {\n const allEvents = new Set();\n function addEvents(events) {\n for (const event of events) {\n allEvents.add(event);\n }\n }\n for (const event of events) {\n switch (event) {\n case protocol_js_1.ChromiumBidi.BiDiModule.BrowsingContext:\n addEvents(Object.values(protocol_js_1.ChromiumBidi.BrowsingContext.EventNames));\n break;\n case protocol_js_1.ChromiumBidi.BiDiModule.Log:\n addEvents(Object.values(protocol_js_1.ChromiumBidi.Log.EventNames));\n break;\n case protocol_js_1.ChromiumBidi.BiDiModule.Network:\n addEvents(Object.values(protocol_js_1.ChromiumBidi.Network.EventNames));\n break;\n case protocol_js_1.ChromiumBidi.BiDiModule.Script:\n addEvents(Object.values(protocol_js_1.ChromiumBidi.Script.EventNames));\n break;\n default:\n allEvents.add(event);\n }\n }\n return [...allEvents.values()];\n}\nexports.unrollEvents = unrollEvents;\nclass SubscriptionManager {\n #subscriptionPriority = 0;\n // BrowsingContext `null` means the event has subscription across all the\n // browsing contexts.\n // Channel `null` means no `channel` should be added.\n #channelToContextToEventMap = new Map();\n #browsingContextStorage;\n constructor(browsingContextStorage) {\n this.#browsingContextStorage = browsingContextStorage;\n }\n getChannelsSubscribedToEvent(eventMethod, contextId) {\n const prioritiesAndChannels = Array.from(this.#channelToContextToEventMap.keys())\n .map((channel) => ({\n priority: this.#getEventSubscriptionPriorityForChannel(eventMethod, contextId, channel),\n channel,\n }))\n .filter(({ priority }) => priority !== null);\n // Sort channels by priority.\n return prioritiesAndChannels\n .sort((a, b) => a.priority - b.priority)\n .map(({ channel }) => channel);\n }\n #getEventSubscriptionPriorityForChannel(eventMethod, contextId, channel) {\n const contextToEventMap = this.#channelToContextToEventMap.get(channel);\n if (contextToEventMap === undefined) {\n return null;\n }\n const maybeTopLevelContextId = this.#browsingContextStorage.findTopLevelContextId(contextId);\n // `null` covers global subscription.\n const relevantContexts = [...new Set([null, maybeTopLevelContextId])];\n // Get all the subscription priorities.\n const priorities = relevantContexts\n .map((context) => {\n // Get the priority for exact event name\n const priority = contextToEventMap.get(context)?.get(eventMethod);\n // For CDP we can't provide specific event name when subscribing\n // to the module directly.\n // Because of that we need to see event `cdp` exits in the map.\n if ((0, events_js_1.isCdpEvent)(eventMethod)) {\n const cdpPriority = contextToEventMap\n .get(context)\n ?.get(protocol_js_1.ChromiumBidi.BiDiModule.Cdp);\n // If we subscribe to the event directly and `cdp` module as well\n // priority will be different we take minimal priority\n return priority && cdpPriority\n ? Math.min(priority, cdpPriority)\n : // At this point we know that we have subscribed\n // to only one of the two\n priority ?? cdpPriority;\n }\n return priority;\n })\n .filter((p) => p !== undefined);\n if (priorities.length === 0) {\n // Not subscribed, return null.\n return null;\n }\n // Return minimal priority.\n return Math.min(...priorities);\n }\n /**\n * @param module BiDi+ module\n * @param contextId `null` == globally subscribed\n *\n * @returns\n */\n isSubscribedToModule(module, contextId = null) {\n const topLevelContext = this.#browsingContextStorage.findTopLevelContextId(contextId);\n for (const browserContextToEventMap of this.#channelToContextToEventMap.values()) {\n for (const [id, eventMap] of browserContextToEventMap.entries()) {\n // Not subscribed to this context or globally\n if (topLevelContext !== id && id !== null) {\n continue;\n }\n for (const event of eventMap.keys()) {\n // This also covers the `cdp` case where\n // we don't unroll the event names\n if (event.split('.').at(0) === module) {\n return true;\n }\n }\n }\n }\n return false;\n }\n subscribe(event, contextId, channel) {\n // All the subscriptions are handled on the top-level contexts.\n contextId = this.#browsingContextStorage.findTopLevelContextId(contextId);\n // Check if subscribed event is a whole module\n switch (event) {\n case protocol_js_1.ChromiumBidi.BiDiModule.BrowsingContext:\n Object.values(protocol_js_1.ChromiumBidi.BrowsingContext.EventNames).map((specificEvent) => this.subscribe(specificEvent, contextId, channel));\n return;\n case protocol_js_1.ChromiumBidi.BiDiModule.Log:\n Object.values(protocol_js_1.ChromiumBidi.Log.EventNames).map((specificEvent) => this.subscribe(specificEvent, contextId, channel));\n return;\n case protocol_js_1.ChromiumBidi.BiDiModule.Network:\n Object.values(protocol_js_1.ChromiumBidi.Network.EventNames).map((specificEvent) => this.subscribe(specificEvent, contextId, channel));\n return;\n case protocol_js_1.ChromiumBidi.BiDiModule.Script:\n Object.values(protocol_js_1.ChromiumBidi.Script.EventNames).map((specificEvent) => this.subscribe(specificEvent, contextId, channel));\n return;\n default:\n // Intentionally left empty.\n }\n if (!this.#channelToContextToEventMap.has(channel)) {\n this.#channelToContextToEventMap.set(channel, new Map());\n }\n const contextToEventMap = this.#channelToContextToEventMap.get(channel);\n if (!contextToEventMap.has(contextId)) {\n contextToEventMap.set(contextId, new Map());\n }\n const eventMap = contextToEventMap.get(contextId);\n // Do not re-subscribe to events to keep the priority.\n if (eventMap.has(event)) {\n return;\n }\n eventMap.set(event, this.#subscriptionPriority++);\n }\n /**\n * Unsubscribes atomically from all events in the given contexts and channel.\n */\n unsubscribeAll(events, contextIds, channel) {\n // Assert all contexts are known.\n for (const contextId of contextIds) {\n if (contextId !== null) {\n this.#browsingContextStorage.getContext(contextId);\n }\n }\n const eventContextPairs = cartesianProduct(unrollEvents(events), contextIds);\n // Assert all unsubscriptions are valid.\n // If any of the unsubscriptions are invalid, do not unsubscribe from anything.\n eventContextPairs\n .map(([event, contextId]) => this.#checkUnsubscribe(event, contextId, channel))\n .forEach((unsubscribe) => unsubscribe());\n }\n /**\n * Unsubscribes from the event in the given context and channel.\n * Syntactic sugar for \"unsubscribeAll\".\n */\n unsubscribe(eventName, contextId, channel) {\n this.unsubscribeAll([eventName], [contextId], channel);\n }\n #checkUnsubscribe(event, contextId, channel) {\n // All the subscriptions are handled on the top-level contexts.\n contextId = this.#browsingContextStorage.findTopLevelContextId(contextId);\n if (!this.#channelToContextToEventMap.has(channel)) {\n throw new protocol_js_1.InvalidArgumentException(`Cannot unsubscribe from ${event}, ${contextId === null ? 'null' : contextId}. No subscription found.`);\n }\n const contextToEventMap = this.#channelToContextToEventMap.get(channel);\n if (!contextToEventMap.has(contextId)) {\n throw new protocol_js_1.InvalidArgumentException(`Cannot unsubscribe from ${event}, ${contextId === null ? 'null' : contextId}. No subscription found.`);\n }\n const eventMap = contextToEventMap.get(contextId);\n if (!eventMap.has(event)) {\n throw new protocol_js_1.InvalidArgumentException(`Cannot unsubscribe from ${event}, ${contextId === null ? 'null' : contextId}. No subscription found.`);\n }\n return () => {\n eventMap.delete(event);\n // Clean up maps if empty.\n if (eventMap.size === 0) {\n contextToEventMap.delete(event);\n }\n if (contextToEventMap.size === 0) {\n this.#channelToContextToEventMap.delete(channel);\n }\n };\n }\n}\nexports.SubscriptionManager = SubscriptionManager;\n//# sourceMappingURL=SubscriptionManager.js.map","\"use strict\";\n/**\n * Copyright 2022 Google LLC.\n * Copyright (c) Microsoft Corporation.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.EventManager = void 0;\nconst protocol_js_1 = require(\"../../../protocol/protocol.js\");\nconst Buffer_js_1 = require(\"../../../utils/Buffer.js\");\nconst DefaultMap_js_1 = require(\"../../../utils/DefaultMap.js\");\nconst EventEmitter_js_1 = require(\"../../../utils/EventEmitter.js\");\nconst IdWrapper_js_1 = require(\"../../../utils/IdWrapper.js\");\nconst OutgoingMessage_js_1 = require(\"../../OutgoingMessage.js\");\nconst events_js_1 = require(\"./events.js\");\nconst SubscriptionManager_js_1 = require(\"./SubscriptionManager.js\");\nclass EventWrapper {\n #idWrapper = new IdWrapper_js_1.IdWrapper();\n #contextId;\n #event;\n constructor(event, contextId) {\n this.#event = event;\n this.#contextId = contextId;\n }\n get id() {\n return this.#idWrapper.id;\n }\n get contextId() {\n return this.#contextId;\n }\n get event() {\n return this.#event;\n }\n}\n/**\n * Maps event name to a desired buffer length.\n */\nconst eventBufferLength = new Map([[protocol_js_1.ChromiumBidi.Log.EventNames.LogEntryAdded, 100]]);\nclass EventManager extends EventEmitter_js_1.EventEmitter {\n /**\n * Maps event name to a set of contexts where this event already happened.\n * Needed for getting buffered events from all the contexts in case of\n * subscripting to all contexts.\n */\n #eventToContextsMap = new DefaultMap_js_1.DefaultMap(() => new Set());\n /**\n * Maps `eventName` + `browsingContext` to buffer. Used to get buffered events\n * during subscription. Channel-agnostic.\n */\n #eventBuffers = new Map();\n /**\n * Maps `eventName` + `browsingContext` + `channel` to last sent event id.\n * Used to avoid sending duplicated events when user\n * subscribes -> unsubscribes -> subscribes.\n */\n #lastMessageSent = new Map();\n #subscriptionManager;\n #browsingContextStorage;\n constructor(browsingContextStorage) {\n super();\n this.#browsingContextStorage = browsingContextStorage;\n this.#subscriptionManager = new SubscriptionManager_js_1.SubscriptionManager(browsingContextStorage);\n }\n get subscriptionManager() {\n return this.#subscriptionManager;\n }\n /**\n * Returns consistent key to be used to access value maps.\n */\n static #getMapKey(eventName, browsingContext, channel) {\n return JSON.stringify({ eventName, browsingContext, channel });\n }\n registerEvent(event, contextId) {\n this.registerPromiseEvent(Promise.resolve({\n kind: 'success',\n value: event,\n }), contextId, event.method);\n }\n registerPromiseEvent(event, contextId, eventName) {\n const eventWrapper = new EventWrapper(event, contextId);\n const sortedChannels = this.#subscriptionManager.getChannelsSubscribedToEvent(eventName, contextId);\n this.#bufferEvent(eventWrapper, eventName);\n // Send events to channels in the subscription priority.\n for (const channel of sortedChannels) {\n this.emit(\"event\" /* EventManagerEvents.Event */, {\n message: OutgoingMessage_js_1.OutgoingMessage.createFromPromise(event, channel),\n event: eventName,\n });\n this.#markEventSent(eventWrapper, channel, eventName);\n }\n }\n async subscribe(eventNames, contextIds, channel) {\n for (const name of eventNames) {\n (0, events_js_1.assertSupportedEvent)(name);\n }\n // First check if all the contexts are known.\n for (const contextId of contextIds) {\n if (contextId !== null) {\n // Assert the context is known. Throw exception otherwise.\n this.#browsingContextStorage.getContext(contextId);\n }\n }\n for (const eventName of eventNames) {\n for (const contextId of contextIds) {\n this.#subscriptionManager.subscribe(eventName, contextId, channel);\n for (const eventWrapper of this.#getBufferedEvents(eventName, contextId, channel)) {\n // The order of the events is important.\n this.emit(\"event\" /* EventManagerEvents.Event */, {\n message: OutgoingMessage_js_1.OutgoingMessage.createFromPromise(eventWrapper.event, channel),\n event: eventName,\n });\n this.#markEventSent(eventWrapper, channel, eventName);\n }\n }\n }\n await this.toggleModulesIfNeeded();\n }\n async unsubscribe(eventNames, contextIds, channel) {\n for (const name of eventNames) {\n (0, events_js_1.assertSupportedEvent)(name);\n }\n this.#subscriptionManager.unsubscribeAll(eventNames, contextIds, channel);\n await this.toggleModulesIfNeeded();\n }\n async toggleModulesIfNeeded() {\n // TODO(1): Only update changed subscribers\n // TODO(2): Enable for Worker Targets\n await Promise.all(this.#browsingContextStorage.getAllContexts().map(async (context) => {\n return await context.toggleModulesIfNeeded();\n }));\n }\n /**\n * If the event is buffer-able, put it in the buffer.\n */\n #bufferEvent(eventWrapper, eventName) {\n if (!eventBufferLength.has(eventName)) {\n // Do nothing if the event is no buffer-able.\n return;\n }\n const bufferMapKey = EventManager.#getMapKey(eventName, eventWrapper.contextId);\n if (!this.#eventBuffers.has(bufferMapKey)) {\n this.#eventBuffers.set(bufferMapKey, new Buffer_js_1.Buffer(eventBufferLength.get(eventName)));\n }\n this.#eventBuffers.get(bufferMapKey).add(eventWrapper);\n // Add the context to the list of contexts having `eventName` events.\n this.#eventToContextsMap.get(eventName).add(eventWrapper.contextId);\n }\n /**\n * If the event is buffer-able, mark it as sent to the given contextId and channel.\n */\n #markEventSent(eventWrapper, channel, eventName) {\n if (!eventBufferLength.has(eventName)) {\n // Do nothing if the event is no buffer-able.\n return;\n }\n const lastSentMapKey = EventManager.#getMapKey(eventName, eventWrapper.contextId, channel);\n this.#lastMessageSent.set(lastSentMapKey, Math.max(this.#lastMessageSent.get(lastSentMapKey) ?? 0, eventWrapper.id));\n }\n /**\n * Returns events which are buffered and not yet sent to the given channel events.\n */\n #getBufferedEvents(eventName, contextId, channel) {\n const bufferMapKey = EventManager.#getMapKey(eventName, contextId);\n const lastSentMapKey = EventManager.#getMapKey(eventName, contextId, channel);\n const lastSentMessageId = this.#lastMessageSent.get(lastSentMapKey) ?? -Infinity;\n const result = this.#eventBuffers\n .get(bufferMapKey)\n ?.get()\n .filter((wrapper) => wrapper.id > lastSentMessageId) ?? [];\n if (contextId === null) {\n // For global subscriptions, events buffered in each context should be sent back.\n Array.from(this.#eventToContextsMap.get(eventName).keys())\n .filter((_contextId) => \n // Events without context are already in the result.\n _contextId !== null &&\n // Events from deleted contexts should not be sent.\n this.#browsingContextStorage.hasContext(_contextId))\n .map((_contextId) => this.#getBufferedEvents(eventName, _contextId, channel))\n .forEach((events) => result.push(...events));\n }\n return result.sort((e1, e2) => e1.id - e2.id);\n }\n}\nexports.EventManager = EventManager;\n//# sourceMappingURL=EventManager.js.map","\"use strict\";\n/**\n * Copyright 2021 Google LLC.\n * Copyright (c) Microsoft Corporation.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.BidiServer = void 0;\nconst EventEmitter_js_1 = require(\"../utils/EventEmitter.js\");\nconst log_js_1 = require(\"../utils/log.js\");\nconst ProcessingQueue_js_1 = require(\"../utils/ProcessingQueue.js\");\nconst CommandProcessor_js_1 = require(\"./CommandProcessor.js\");\nconst BrowsingContextStorage_js_1 = require(\"./domains/context/BrowsingContextStorage.js\");\nconst RealmStorage_js_1 = require(\"./domains/script/RealmStorage.js\");\nconst EventManager_js_1 = require(\"./domains/session/EventManager.js\");\nclass BidiServer extends EventEmitter_js_1.EventEmitter {\n #messageQueue;\n #transport;\n #commandProcessor;\n #eventManager;\n #browsingContextStorage = new BrowsingContextStorage_js_1.BrowsingContextStorage();\n #logger;\n #handleIncomingMessage = (message) => {\n void this.#commandProcessor.processCommand(message).catch((error) => {\n this.#logger?.(log_js_1.LogType.debugError, error);\n });\n };\n #processOutgoingMessage = async (messageEntry) => {\n const message = messageEntry.message;\n if (messageEntry.channel !== null) {\n message['channel'] = messageEntry.channel;\n }\n await this.#transport.sendMessage(message);\n };\n constructor(bidiTransport, cdpConnection, browserCdpClient, selfTargetId, defaultUserContextId, options, parser, logger) {\n super();\n this.#logger = logger;\n this.#messageQueue = new ProcessingQueue_js_1.ProcessingQueue(this.#processOutgoingMessage, this.#logger);\n this.#transport = bidiTransport;\n this.#transport.setOnMessage(this.#handleIncomingMessage);\n this.#eventManager = new EventManager_js_1.EventManager(this.#browsingContextStorage);\n this.#commandProcessor = new CommandProcessor_js_1.CommandProcessor(cdpConnection, browserCdpClient, this.#eventManager, selfTargetId, defaultUserContextId, this.#browsingContextStorage, new RealmStorage_js_1.RealmStorage(), options?.acceptInsecureCerts ?? false, options?.sharedIdWithFrame ?? false, parser, this.#logger);\n this.#eventManager.on(\"event\" /* EventManagerEvents.Event */, ({ message, event }) => {\n this.emitOutgoingMessage(message, event);\n });\n this.#commandProcessor.on(\"response\" /* CommandProcessorEvents.Response */, ({ message, event }) => {\n this.emitOutgoingMessage(message, event);\n });\n }\n /**\n * Creates and starts BiDi Mapper instance.\n */\n static async createAndStart(bidiTransport, cdpConnection, browserCdpClient, selfTargetId, options, parser, logger) {\n // The default context is not exposed in Target.getBrowserContexts but can\n // be observed via Target.getTargets. To determine the default browser\n // context, we check which one is mentioned in Target.getTargets and not in\n // Target.getBrowserContexts.\n const [{ browserContextIds }, { targetInfos }] = await Promise.all([\n browserCdpClient.sendCommand('Target.getBrowserContexts'),\n browserCdpClient.sendCommand('Target.getTargets'),\n ]);\n let defaultUserContextId = 'default';\n for (const info of targetInfos) {\n if (info.browserContextId &&\n !browserContextIds.includes(info.browserContextId)) {\n defaultUserContextId = info.browserContextId;\n break;\n }\n }\n const server = new BidiServer(bidiTransport, cdpConnection, browserCdpClient, selfTargetId, defaultUserContextId, options, parser, logger);\n // Needed to get events about new targets.\n await browserCdpClient.sendCommand('Target.setDiscoverTargets', {\n discover: true,\n });\n // Needed to automatically attach to new targets.\n await browserCdpClient.sendCommand('Target.setAutoAttach', {\n autoAttach: true,\n waitForDebuggerOnStart: true,\n flatten: true,\n });\n await server.#topLevelContextsLoaded();\n return server;\n }\n /**\n * Sends BiDi message.\n */\n emitOutgoingMessage(messageEntry, event) {\n this.#messageQueue.add(messageEntry, event);\n }\n close() {\n this.#transport.close();\n }\n async #topLevelContextsLoaded() {\n await Promise.all(this.#browsingContextStorage\n .getTopLevelContexts()\n .map((c) => c.lifecycleLoaded()));\n }\n}\nexports.BidiServer = BidiServer;\n//# sourceMappingURL=BidiServer.js.map","\"use strict\";\n/**\n * Copyright 2022 Google LLC.\n * Copyright (c) Microsoft Corporation.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.OutgoingMessage = exports.EventEmitter = exports.BidiServer = void 0;\n/**\n * @fileoverview The entry point to the BiDi Mapper namespace.\n * Other modules should only access exports defined in this file.\n * XXX: Add ESlint rule for this (https://github.com/import-js/eslint-plugin-import/blob/main/docs/rules/no-restricted-paths.md)\n */\nvar BidiServer_js_1 = require(\"./BidiServer.js\");\nObject.defineProperty(exports, \"BidiServer\", { enumerable: true, get: function () { return BidiServer_js_1.BidiServer; } });\nvar EventEmitter_js_1 = require(\"../utils/EventEmitter.js\");\nObject.defineProperty(exports, \"EventEmitter\", { enumerable: true, get: function () { return EventEmitter_js_1.EventEmitter; } });\nvar OutgoingMessage_js_1 = require(\"./OutgoingMessage.js\");\nObject.defineProperty(exports, \"OutgoingMessage\", { enumerable: true, get: function () { return OutgoingMessage_js_1.OutgoingMessage; } });\n//# sourceMappingURL=BidiMapper.js.map","\"use strict\";\n/**\n * Copyright 2021 Google LLC.\n * Copyright (c) Microsoft Corporation.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.MapperCdpClient = exports.CloseError = void 0;\nconst EventEmitter_js_1 = require(\"../utils/EventEmitter.js\");\n/** A error that will be thrown if/when the connection is closed. */\nclass CloseError extends Error {\n}\nexports.CloseError = CloseError;\n/** Represents a high-level CDP connection to the browser. */\nclass MapperCdpClient extends EventEmitter_js_1.EventEmitter {\n #cdpConnection;\n #sessionId;\n constructor(cdpConnection, sessionId) {\n super();\n this.#cdpConnection = cdpConnection;\n this.#sessionId = sessionId;\n }\n get sessionId() {\n return this.#sessionId;\n }\n sendCommand(method, ...params) {\n return this.#cdpConnection.sendCommand(method, params[0], this.#sessionId);\n }\n isCloseError(error) {\n return error instanceof CloseError;\n }\n}\nexports.MapperCdpClient = MapperCdpClient;\n//# sourceMappingURL=CdpClient.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.MapperCdpConnection = void 0;\nconst log_js_1 = require(\"../utils/log.js\");\nconst CdpClient_js_1 = require(\"./CdpClient.js\");\n/**\n * Represents a high-level CDP connection to the browser backend.\n *\n * Manages all CdpClients (each backed by a Session ID) instance for each active\n * CDP session.\n */\nclass MapperCdpConnection {\n static LOGGER_PREFIX_RECV = `${log_js_1.LogType.cdp}:RECV ◂`;\n static LOGGER_PREFIX_SEND = `${log_js_1.LogType.cdp}:SEND ▸`;\n #mainBrowserCdpClient;\n #transport;\n /** Map from session ID to CdpClient.\n * `undefined` points to the main browser session. */\n #sessionCdpClients = new Map();\n #commandCallbacks = new Map();\n #logger;\n #nextId = 0;\n constructor(transport, logger) {\n this.#transport = transport;\n this.#logger = logger;\n this.#transport.setOnMessage(this.#onMessage);\n // Create default Browser CDP Session.\n this.#mainBrowserCdpClient = this.#createCdpClient(undefined);\n }\n /** Closes the connection to the browser. */\n close() {\n this.#transport.close();\n for (const [, { reject, error }] of this.#commandCallbacks) {\n reject(error);\n }\n this.#commandCallbacks.clear();\n this.#sessionCdpClients.clear();\n }\n async createBrowserSession() {\n const { sessionId } = await this.#mainBrowserCdpClient.sendCommand('Target.attachToBrowserTarget');\n return this.#createCdpClient(sessionId);\n }\n /**\n * Gets a CdpClient instance attached to the given session ID,\n * or null if the session is not attached.\n */\n getCdpClient(sessionId) {\n const cdpClient = this.#sessionCdpClients.get(sessionId);\n if (!cdpClient) {\n throw new Error(`Unknown CDP session ID: ${sessionId}`);\n }\n return cdpClient;\n }\n sendCommand(method, params, sessionId) {\n return new Promise((resolve, reject) => {\n const id = this.#nextId++;\n this.#commandCallbacks.set(id, {\n resolve,\n reject,\n error: new CdpClient_js_1.CloseError(`${method} ${JSON.stringify(params)} ${sessionId ?? ''} call rejected because the connection has been closed.`),\n });\n const cdpMessage = { id, method, params };\n if (sessionId) {\n cdpMessage.sessionId = sessionId;\n }\n void this.#transport\n .sendMessage(JSON.stringify(cdpMessage))\n ?.catch((error) => {\n this.#logger?.(log_js_1.LogType.debugError, error);\n this.#transport.close();\n });\n this.#logger?.(MapperCdpConnection.LOGGER_PREFIX_SEND, cdpMessage);\n });\n }\n #onMessage = (json) => {\n const message = JSON.parse(json);\n this.#logger?.(MapperCdpConnection.LOGGER_PREFIX_RECV, message);\n // Update client map if a session is attached\n // Listen for these events on every session.\n if (message.method === 'Target.attachedToTarget') {\n const { sessionId } = message.params;\n this.#createCdpClient(sessionId);\n }\n if (message.id !== undefined) {\n // Handle command response.\n const callbacks = this.#commandCallbacks.get(message.id);\n this.#commandCallbacks.delete(message.id);\n if (callbacks) {\n if (message.result) {\n callbacks.resolve(message.result);\n }\n else if (message.error) {\n callbacks.reject(message.error);\n }\n }\n }\n else if (message.method) {\n const client = this.#sessionCdpClients.get(message.sessionId ?? undefined);\n client?.emit(message.method, message.params || {});\n // Update client map if a session is detached\n // But emit on that session\n if (message.method === 'Target.detachedFromTarget') {\n const { sessionId } = message.params;\n const client = this.#sessionCdpClients.get(sessionId);\n if (client) {\n this.#sessionCdpClients.delete(sessionId);\n client.removeAllListeners();\n }\n }\n }\n };\n /**\n * Creates a new CdpClient instance for the given session ID.\n * @param sessionId either a string, or undefined for the main browser session.\n * The main browser session is used only to create new browser sessions.\n * @private\n */\n #createCdpClient(sessionId) {\n const cdpClient = new CdpClient_js_1.MapperCdpClient(this, sessionId);\n this.#sessionCdpClients.set(sessionId, cdpClient);\n return cdpClient;\n }\n}\nexports.MapperCdpConnection = MapperCdpConnection;\n//# sourceMappingURL=CdpConnection.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.getParsedType = exports.ZodParsedType = exports.objectUtil = exports.util = void 0;\nvar util;\n(function (util) {\n util.assertEqual = (val) => val;\n function assertIs(_arg) { }\n util.assertIs = assertIs;\n function assertNever(_x) {\n throw new Error();\n }\n util.assertNever = assertNever;\n util.arrayToEnum = (items) => {\n const obj = {};\n for (const item of items) {\n obj[item] = item;\n }\n return obj;\n };\n util.getValidEnumValues = (obj) => {\n const validKeys = util.objectKeys(obj).filter((k) => typeof obj[obj[k]] !== \"number\");\n const filtered = {};\n for (const k of validKeys) {\n filtered[k] = obj[k];\n }\n return util.objectValues(filtered);\n };\n util.objectValues = (obj) => {\n return util.objectKeys(obj).map(function (e) {\n return obj[e];\n });\n };\n util.objectKeys = typeof Object.keys === \"function\" // eslint-disable-line ban/ban\n ? (obj) => Object.keys(obj) // eslint-disable-line ban/ban\n : (object) => {\n const keys = [];\n for (const key in object) {\n if (Object.prototype.hasOwnProperty.call(object, key)) {\n keys.push(key);\n }\n }\n return keys;\n };\n util.find = (arr, checker) => {\n for (const item of arr) {\n if (checker(item))\n return item;\n }\n return undefined;\n };\n util.isInteger = typeof Number.isInteger === \"function\"\n ? (val) => Number.isInteger(val) // eslint-disable-line ban/ban\n : (val) => typeof val === \"number\" && isFinite(val) && Math.floor(val) === val;\n function joinValues(array, separator = \" | \") {\n return array\n .map((val) => (typeof val === \"string\" ? `'${val}'` : val))\n .join(separator);\n }\n util.joinValues = joinValues;\n util.jsonStringifyReplacer = (_, value) => {\n if (typeof value === \"bigint\") {\n return value.toString();\n }\n return value;\n };\n})(util = exports.util || (exports.util = {}));\nvar objectUtil;\n(function (objectUtil) {\n objectUtil.mergeShapes = (first, second) => {\n return {\n ...first,\n ...second, // second overwrites first\n };\n };\n})(objectUtil = exports.objectUtil || (exports.objectUtil = {}));\nexports.ZodParsedType = util.arrayToEnum([\n \"string\",\n \"nan\",\n \"number\",\n \"integer\",\n \"float\",\n \"boolean\",\n \"date\",\n \"bigint\",\n \"symbol\",\n \"function\",\n \"undefined\",\n \"null\",\n \"array\",\n \"object\",\n \"unknown\",\n \"promise\",\n \"void\",\n \"never\",\n \"map\",\n \"set\",\n]);\nconst getParsedType = (data) => {\n const t = typeof data;\n switch (t) {\n case \"undefined\":\n return exports.ZodParsedType.undefined;\n case \"string\":\n return exports.ZodParsedType.string;\n case \"number\":\n return isNaN(data) ? exports.ZodParsedType.nan : exports.ZodParsedType.number;\n case \"boolean\":\n return exports.ZodParsedType.boolean;\n case \"function\":\n return exports.ZodParsedType.function;\n case \"bigint\":\n return exports.ZodParsedType.bigint;\n case \"symbol\":\n return exports.ZodParsedType.symbol;\n case \"object\":\n if (Array.isArray(data)) {\n return exports.ZodParsedType.array;\n }\n if (data === null) {\n return exports.ZodParsedType.null;\n }\n if (data.then &&\n typeof data.then === \"function\" &&\n data.catch &&\n typeof data.catch === \"function\") {\n return exports.ZodParsedType.promise;\n }\n if (typeof Map !== \"undefined\" && data instanceof Map) {\n return exports.ZodParsedType.map;\n }\n if (typeof Set !== \"undefined\" && data instanceof Set) {\n return exports.ZodParsedType.set;\n }\n if (typeof Date !== \"undefined\" && data instanceof Date) {\n return exports.ZodParsedType.date;\n }\n return exports.ZodParsedType.object;\n default:\n return exports.ZodParsedType.unknown;\n }\n};\nexports.getParsedType = getParsedType;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ZodError = exports.quotelessJson = exports.ZodIssueCode = void 0;\nconst util_1 = require(\"./helpers/util\");\nexports.ZodIssueCode = util_1.util.arrayToEnum([\n \"invalid_type\",\n \"invalid_literal\",\n \"custom\",\n \"invalid_union\",\n \"invalid_union_discriminator\",\n \"invalid_enum_value\",\n \"unrecognized_keys\",\n \"invalid_arguments\",\n \"invalid_return_type\",\n \"invalid_date\",\n \"invalid_string\",\n \"too_small\",\n \"too_big\",\n \"invalid_intersection_types\",\n \"not_multiple_of\",\n \"not_finite\",\n]);\nconst quotelessJson = (obj) => {\n const json = JSON.stringify(obj, null, 2);\n return json.replace(/\"([^\"]+)\":/g, \"$1:\");\n};\nexports.quotelessJson = quotelessJson;\nclass ZodError extends Error {\n constructor(issues) {\n super();\n this.issues = [];\n this.addIssue = (sub) => {\n this.issues = [...this.issues, sub];\n };\n this.addIssues = (subs = []) => {\n this.issues = [...this.issues, ...subs];\n };\n const actualProto = new.target.prototype;\n if (Object.setPrototypeOf) {\n // eslint-disable-next-line ban/ban\n Object.setPrototypeOf(this, actualProto);\n }\n else {\n this.__proto__ = actualProto;\n }\n this.name = \"ZodError\";\n this.issues = issues;\n }\n get errors() {\n return this.issues;\n }\n format(_mapper) {\n const mapper = _mapper ||\n function (issue) {\n return issue.message;\n };\n const fieldErrors = { _errors: [] };\n const processError = (error) => {\n for (const issue of error.issues) {\n if (issue.code === \"invalid_union\") {\n issue.unionErrors.map(processError);\n }\n else if (issue.code === \"invalid_return_type\") {\n processError(issue.returnTypeError);\n }\n else if (issue.code === \"invalid_arguments\") {\n processError(issue.argumentsError);\n }\n else if (issue.path.length === 0) {\n fieldErrors._errors.push(mapper(issue));\n }\n else {\n let curr = fieldErrors;\n let i = 0;\n while (i < issue.path.length) {\n const el = issue.path[i];\n const terminal = i === issue.path.length - 1;\n if (!terminal) {\n curr[el] = curr[el] || { _errors: [] };\n // if (typeof el === \"string\") {\n // curr[el] = curr[el] || { _errors: [] };\n // } else if (typeof el === \"number\") {\n // const errorArray: any = [];\n // errorArray._errors = [];\n // curr[el] = curr[el] || errorArray;\n // }\n }\n else {\n curr[el] = curr[el] || { _errors: [] };\n curr[el]._errors.push(mapper(issue));\n }\n curr = curr[el];\n i++;\n }\n }\n }\n };\n processError(this);\n return fieldErrors;\n }\n toString() {\n return this.message;\n }\n get message() {\n return JSON.stringify(this.issues, util_1.util.jsonStringifyReplacer, 2);\n }\n get isEmpty() {\n return this.issues.length === 0;\n }\n flatten(mapper = (issue) => issue.message) {\n const fieldErrors = {};\n const formErrors = [];\n for (const sub of this.issues) {\n if (sub.path.length > 0) {\n fieldErrors[sub.path[0]] = fieldErrors[sub.path[0]] || [];\n fieldErrors[sub.path[0]].push(mapper(sub));\n }\n else {\n formErrors.push(mapper(sub));\n }\n }\n return { formErrors, fieldErrors };\n }\n get formErrors() {\n return this.flatten();\n }\n}\nexports.ZodError = ZodError;\nZodError.create = (issues) => {\n const error = new ZodError(issues);\n return error;\n};\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst util_1 = require(\"../helpers/util\");\nconst ZodError_1 = require(\"../ZodError\");\nconst errorMap = (issue, _ctx) => {\n let message;\n switch (issue.code) {\n case ZodError_1.ZodIssueCode.invalid_type:\n if (issue.received === util_1.ZodParsedType.undefined) {\n message = \"Required\";\n }\n else {\n message = `Expected ${issue.expected}, received ${issue.received}`;\n }\n break;\n case ZodError_1.ZodIssueCode.invalid_literal:\n message = `Invalid literal value, expected ${JSON.stringify(issue.expected, util_1.util.jsonStringifyReplacer)}`;\n break;\n case ZodError_1.ZodIssueCode.unrecognized_keys:\n message = `Unrecognized key(s) in object: ${util_1.util.joinValues(issue.keys, \", \")}`;\n break;\n case ZodError_1.ZodIssueCode.invalid_union:\n message = `Invalid input`;\n break;\n case ZodError_1.ZodIssueCode.invalid_union_discriminator:\n message = `Invalid discriminator value. Expected ${util_1.util.joinValues(issue.options)}`;\n break;\n case ZodError_1.ZodIssueCode.invalid_enum_value:\n message = `Invalid enum value. Expected ${util_1.util.joinValues(issue.options)}, received '${issue.received}'`;\n break;\n case ZodError_1.ZodIssueCode.invalid_arguments:\n message = `Invalid function arguments`;\n break;\n case ZodError_1.ZodIssueCode.invalid_return_type:\n message = `Invalid function return type`;\n break;\n case ZodError_1.ZodIssueCode.invalid_date:\n message = `Invalid date`;\n break;\n case ZodError_1.ZodIssueCode.invalid_string:\n if (typeof issue.validation === \"object\") {\n if (\"includes\" in issue.validation) {\n message = `Invalid input: must include \"${issue.validation.includes}\"`;\n if (typeof issue.validation.position === \"number\") {\n message = `${message} at one or more positions greater than or equal to ${issue.validation.position}`;\n }\n }\n else if (\"startsWith\" in issue.validation) {\n message = `Invalid input: must start with \"${issue.validation.startsWith}\"`;\n }\n else if (\"endsWith\" in issue.validation) {\n message = `Invalid input: must end with \"${issue.validation.endsWith}\"`;\n }\n else {\n util_1.util.assertNever(issue.validation);\n }\n }\n else if (issue.validation !== \"regex\") {\n message = `Invalid ${issue.validation}`;\n }\n else {\n message = \"Invalid\";\n }\n break;\n case ZodError_1.ZodIssueCode.too_small:\n if (issue.type === \"array\")\n message = `Array must contain ${issue.exact ? \"exactly\" : issue.inclusive ? `at least` : `more than`} ${issue.minimum} element(s)`;\n else if (issue.type === \"string\")\n message = `String must contain ${issue.exact ? \"exactly\" : issue.inclusive ? `at least` : `over`} ${issue.minimum} character(s)`;\n else if (issue.type === \"number\")\n message = `Number must be ${issue.exact\n ? `exactly equal to `\n : issue.inclusive\n ? `greater than or equal to `\n : `greater than `}${issue.minimum}`;\n else if (issue.type === \"date\")\n message = `Date must be ${issue.exact\n ? `exactly equal to `\n : issue.inclusive\n ? `greater than or equal to `\n : `greater than `}${new Date(Number(issue.minimum))}`;\n else\n message = \"Invalid input\";\n break;\n case ZodError_1.ZodIssueCode.too_big:\n if (issue.type === \"array\")\n message = `Array must contain ${issue.exact ? `exactly` : issue.inclusive ? `at most` : `less than`} ${issue.maximum} element(s)`;\n else if (issue.type === \"string\")\n message = `String must contain ${issue.exact ? `exactly` : issue.inclusive ? `at most` : `under`} ${issue.maximum} character(s)`;\n else if (issue.type === \"number\")\n message = `Number must be ${issue.exact\n ? `exactly`\n : issue.inclusive\n ? `less than or equal to`\n : `less than`} ${issue.maximum}`;\n else if (issue.type === \"bigint\")\n message = `BigInt must be ${issue.exact\n ? `exactly`\n : issue.inclusive\n ? `less than or equal to`\n : `less than`} ${issue.maximum}`;\n else if (issue.type === \"date\")\n message = `Date must be ${issue.exact\n ? `exactly`\n : issue.inclusive\n ? `smaller than or equal to`\n : `smaller than`} ${new Date(Number(issue.maximum))}`;\n else\n message = \"Invalid input\";\n break;\n case ZodError_1.ZodIssueCode.custom:\n message = `Invalid input`;\n break;\n case ZodError_1.ZodIssueCode.invalid_intersection_types:\n message = `Intersection results could not be merged`;\n break;\n case ZodError_1.ZodIssueCode.not_multiple_of:\n message = `Number must be a multiple of ${issue.multipleOf}`;\n break;\n case ZodError_1.ZodIssueCode.not_finite:\n message = \"Number must be finite\";\n break;\n default:\n message = _ctx.defaultError;\n util_1.util.assertNever(issue);\n }\n return { message };\n};\nexports.default = errorMap;\n","\"use strict\";\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.getErrorMap = exports.setErrorMap = exports.defaultErrorMap = void 0;\nconst en_1 = __importDefault(require(\"./locales/en\"));\nexports.defaultErrorMap = en_1.default;\nlet overrideErrorMap = en_1.default;\nfunction setErrorMap(map) {\n overrideErrorMap = map;\n}\nexports.setErrorMap = setErrorMap;\nfunction getErrorMap() {\n return overrideErrorMap;\n}\nexports.getErrorMap = getErrorMap;\n","\"use strict\";\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.isAsync = exports.isValid = exports.isDirty = exports.isAborted = exports.OK = exports.DIRTY = exports.INVALID = exports.ParseStatus = exports.addIssueToContext = exports.EMPTY_PATH = exports.makeIssue = void 0;\nconst errors_1 = require(\"../errors\");\nconst en_1 = __importDefault(require(\"../locales/en\"));\nconst makeIssue = (params) => {\n const { data, path, errorMaps, issueData } = params;\n const fullPath = [...path, ...(issueData.path || [])];\n const fullIssue = {\n ...issueData,\n path: fullPath,\n };\n let errorMessage = \"\";\n const maps = errorMaps\n .filter((m) => !!m)\n .slice()\n .reverse();\n for (const map of maps) {\n errorMessage = map(fullIssue, { data, defaultError: errorMessage }).message;\n }\n return {\n ...issueData,\n path: fullPath,\n message: issueData.message || errorMessage,\n };\n};\nexports.makeIssue = makeIssue;\nexports.EMPTY_PATH = [];\nfunction addIssueToContext(ctx, issueData) {\n const issue = (0, exports.makeIssue)({\n issueData: issueData,\n data: ctx.data,\n path: ctx.path,\n errorMaps: [\n ctx.common.contextualErrorMap,\n ctx.schemaErrorMap,\n (0, errors_1.getErrorMap)(),\n en_1.default, // then global default map\n ].filter((x) => !!x),\n });\n ctx.common.issues.push(issue);\n}\nexports.addIssueToContext = addIssueToContext;\nclass ParseStatus {\n constructor() {\n this.value = \"valid\";\n }\n dirty() {\n if (this.value === \"valid\")\n this.value = \"dirty\";\n }\n abort() {\n if (this.value !== \"aborted\")\n this.value = \"aborted\";\n }\n static mergeArray(status, results) {\n const arrayValue = [];\n for (const s of results) {\n if (s.status === \"aborted\")\n return exports.INVALID;\n if (s.status === \"dirty\")\n status.dirty();\n arrayValue.push(s.value);\n }\n return { status: status.value, value: arrayValue };\n }\n static async mergeObjectAsync(status, pairs) {\n const syncPairs = [];\n for (const pair of pairs) {\n syncPairs.push({\n key: await pair.key,\n value: await pair.value,\n });\n }\n return ParseStatus.mergeObjectSync(status, syncPairs);\n }\n static mergeObjectSync(status, pairs) {\n const finalObject = {};\n for (const pair of pairs) {\n const { key, value } = pair;\n if (key.status === \"aborted\")\n return exports.INVALID;\n if (value.status === \"aborted\")\n return exports.INVALID;\n if (key.status === \"dirty\")\n status.dirty();\n if (value.status === \"dirty\")\n status.dirty();\n if (key.value !== \"__proto__\" &&\n (typeof value.value !== \"undefined\" || pair.alwaysSet)) {\n finalObject[key.value] = value.value;\n }\n }\n return { status: status.value, value: finalObject };\n }\n}\nexports.ParseStatus = ParseStatus;\nexports.INVALID = Object.freeze({\n status: \"aborted\",\n});\nconst DIRTY = (value) => ({ status: \"dirty\", value });\nexports.DIRTY = DIRTY;\nconst OK = (value) => ({ status: \"valid\", value });\nexports.OK = OK;\nconst isAborted = (x) => x.status === \"aborted\";\nexports.isAborted = isAborted;\nconst isDirty = (x) => x.status === \"dirty\";\nexports.isDirty = isDirty;\nconst isValid = (x) => x.status === \"valid\";\nexports.isValid = isValid;\nconst isAsync = (x) => typeof Promise !== \"undefined\" && x instanceof Promise;\nexports.isAsync = isAsync;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.errorUtil = void 0;\nvar errorUtil;\n(function (errorUtil) {\n errorUtil.errToObj = (message) => typeof message === \"string\" ? { message } : message || {};\n errorUtil.toString = (message) => typeof message === \"string\" ? message : message === null || message === void 0 ? void 0 : message.message;\n})(errorUtil = exports.errorUtil || (exports.errorUtil = {}));\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.date = exports.boolean = exports.bigint = exports.array = exports.any = exports.coerce = exports.ZodFirstPartyTypeKind = exports.late = exports.ZodSchema = exports.Schema = exports.custom = exports.ZodReadonly = exports.ZodPipeline = exports.ZodBranded = exports.BRAND = exports.ZodNaN = exports.ZodCatch = exports.ZodDefault = exports.ZodNullable = exports.ZodOptional = exports.ZodTransformer = exports.ZodEffects = exports.ZodPromise = exports.ZodNativeEnum = exports.ZodEnum = exports.ZodLiteral = exports.ZodLazy = exports.ZodFunction = exports.ZodSet = exports.ZodMap = exports.ZodRecord = exports.ZodTuple = exports.ZodIntersection = exports.ZodDiscriminatedUnion = exports.ZodUnion = exports.ZodObject = exports.ZodArray = exports.ZodVoid = exports.ZodNever = exports.ZodUnknown = exports.ZodAny = exports.ZodNull = exports.ZodUndefined = exports.ZodSymbol = exports.ZodDate = exports.ZodBoolean = exports.ZodBigInt = exports.ZodNumber = exports.ZodString = exports.ZodType = void 0;\nexports.NEVER = exports.void = exports.unknown = exports.union = exports.undefined = exports.tuple = exports.transformer = exports.symbol = exports.string = exports.strictObject = exports.set = exports.record = exports.promise = exports.preprocess = exports.pipeline = exports.ostring = exports.optional = exports.onumber = exports.oboolean = exports.object = exports.number = exports.nullable = exports.null = exports.never = exports.nativeEnum = exports.nan = exports.map = exports.literal = exports.lazy = exports.intersection = exports.instanceof = exports.function = exports.enum = exports.effect = exports.discriminatedUnion = void 0;\nconst errors_1 = require(\"./errors\");\nconst errorUtil_1 = require(\"./helpers/errorUtil\");\nconst parseUtil_1 = require(\"./helpers/parseUtil\");\nconst util_1 = require(\"./helpers/util\");\nconst ZodError_1 = require(\"./ZodError\");\nclass ParseInputLazyPath {\n constructor(parent, value, path, key) {\n this._cachedPath = [];\n this.parent = parent;\n this.data = value;\n this._path = path;\n this._key = key;\n }\n get path() {\n if (!this._cachedPath.length) {\n if (this._key instanceof Array) {\n this._cachedPath.push(...this._path, ...this._key);\n }\n else {\n this._cachedPath.push(...this._path, this._key);\n }\n }\n return this._cachedPath;\n }\n}\nconst handleResult = (ctx, result) => {\n if ((0, parseUtil_1.isValid)(result)) {\n return { success: true, data: result.value };\n }\n else {\n if (!ctx.common.issues.length) {\n throw new Error(\"Validation failed but no issues detected.\");\n }\n return {\n success: false,\n get error() {\n if (this._error)\n return this._error;\n const error = new ZodError_1.ZodError(ctx.common.issues);\n this._error = error;\n return this._error;\n },\n };\n }\n};\nfunction processCreateParams(params) {\n if (!params)\n return {};\n const { errorMap, invalid_type_error, required_error, description } = params;\n if (errorMap && (invalid_type_error || required_error)) {\n throw new Error(`Can't use \"invalid_type_error\" or \"required_error\" in conjunction with custom error map.`);\n }\n if (errorMap)\n return { errorMap: errorMap, description };\n const customMap = (iss, ctx) => {\n if (iss.code !== \"invalid_type\")\n return { message: ctx.defaultError };\n if (typeof ctx.data === \"undefined\") {\n return { message: required_error !== null && required_error !== void 0 ? required_error : ctx.defaultError };\n }\n return { message: invalid_type_error !== null && invalid_type_error !== void 0 ? invalid_type_error : ctx.defaultError };\n };\n return { errorMap: customMap, description };\n}\nclass ZodType {\n constructor(def) {\n /** Alias of safeParseAsync */\n this.spa = this.safeParseAsync;\n this._def = def;\n this.parse = this.parse.bind(this);\n this.safeParse = this.safeParse.bind(this);\n this.parseAsync = this.parseAsync.bind(this);\n this.safeParseAsync = this.safeParseAsync.bind(this);\n this.spa = this.spa.bind(this);\n this.refine = this.refine.bind(this);\n this.refinement = this.refinement.bind(this);\n this.superRefine = this.superRefine.bind(this);\n this.optional = this.optional.bind(this);\n this.nullable = this.nullable.bind(this);\n this.nullish = this.nullish.bind(this);\n this.array = this.array.bind(this);\n this.promise = this.promise.bind(this);\n this.or = this.or.bind(this);\n this.and = this.and.bind(this);\n this.transform = this.transform.bind(this);\n this.brand = this.brand.bind(this);\n this.default = this.default.bind(this);\n this.catch = this.catch.bind(this);\n this.describe = this.describe.bind(this);\n this.pipe = this.pipe.bind(this);\n this.readonly = this.readonly.bind(this);\n this.isNullable = this.isNullable.bind(this);\n this.isOptional = this.isOptional.bind(this);\n }\n get description() {\n return this._def.description;\n }\n _getType(input) {\n return (0, util_1.getParsedType)(input.data);\n }\n _getOrReturnCtx(input, ctx) {\n return (ctx || {\n common: input.parent.common,\n data: input.data,\n parsedType: (0, util_1.getParsedType)(input.data),\n schemaErrorMap: this._def.errorMap,\n path: input.path,\n parent: input.parent,\n });\n }\n _processInputParams(input) {\n return {\n status: new parseUtil_1.ParseStatus(),\n ctx: {\n common: input.parent.common,\n data: input.data,\n parsedType: (0, util_1.getParsedType)(input.data),\n schemaErrorMap: this._def.errorMap,\n path: input.path,\n parent: input.parent,\n },\n };\n }\n _parseSync(input) {\n const result = this._parse(input);\n if ((0, parseUtil_1.isAsync)(result)) {\n throw new Error(\"Synchronous parse encountered promise.\");\n }\n return result;\n }\n _parseAsync(input) {\n const result = this._parse(input);\n return Promise.resolve(result);\n }\n parse(data, params) {\n const result = this.safeParse(data, params);\n if (result.success)\n return result.data;\n throw result.error;\n }\n safeParse(data, params) {\n var _a;\n const ctx = {\n common: {\n issues: [],\n async: (_a = params === null || params === void 0 ? void 0 : params.async) !== null && _a !== void 0 ? _a : false,\n contextualErrorMap: params === null || params === void 0 ? void 0 : params.errorMap,\n },\n path: (params === null || params === void 0 ? void 0 : params.path) || [],\n schemaErrorMap: this._def.errorMap,\n parent: null,\n data,\n parsedType: (0, util_1.getParsedType)(data),\n };\n const result = this._parseSync({ data, path: ctx.path, parent: ctx });\n return handleResult(ctx, result);\n }\n async parseAsync(data, params) {\n const result = await this.safeParseAsync(data, params);\n if (result.success)\n return result.data;\n throw result.error;\n }\n async safeParseAsync(data, params) {\n const ctx = {\n common: {\n issues: [],\n contextualErrorMap: params === null || params === void 0 ? void 0 : params.errorMap,\n async: true,\n },\n path: (params === null || params === void 0 ? void 0 : params.path) || [],\n schemaErrorMap: this._def.errorMap,\n parent: null,\n data,\n parsedType: (0, util_1.getParsedType)(data),\n };\n const maybeAsyncResult = this._parse({ data, path: ctx.path, parent: ctx });\n const result = await ((0, parseUtil_1.isAsync)(maybeAsyncResult)\n ? maybeAsyncResult\n : Promise.resolve(maybeAsyncResult));\n return handleResult(ctx, result);\n }\n refine(check, message) {\n const getIssueProperties = (val) => {\n if (typeof message === \"string\" || typeof message === \"undefined\") {\n return { message };\n }\n else if (typeof message === \"function\") {\n return message(val);\n }\n else {\n return message;\n }\n };\n return this._refinement((val, ctx) => {\n const result = check(val);\n const setError = () => ctx.addIssue({\n code: ZodError_1.ZodIssueCode.custom,\n ...getIssueProperties(val),\n });\n if (typeof Promise !== \"undefined\" && result instanceof Promise) {\n return result.then((data) => {\n if (!data) {\n setError();\n return false;\n }\n else {\n return true;\n }\n });\n }\n if (!result) {\n setError();\n return false;\n }\n else {\n return true;\n }\n });\n }\n refinement(check, refinementData) {\n return this._refinement((val, ctx) => {\n if (!check(val)) {\n ctx.addIssue(typeof refinementData === \"function\"\n ? refinementData(val, ctx)\n : refinementData);\n return false;\n }\n else {\n return true;\n }\n });\n }\n _refinement(refinement) {\n return new ZodEffects({\n schema: this,\n typeName: ZodFirstPartyTypeKind.ZodEffects,\n effect: { type: \"refinement\", refinement },\n });\n }\n superRefine(refinement) {\n return this._refinement(refinement);\n }\n optional() {\n return ZodOptional.create(this, this._def);\n }\n nullable() {\n return ZodNullable.create(this, this._def);\n }\n nullish() {\n return this.nullable().optional();\n }\n array() {\n return ZodArray.create(this, this._def);\n }\n promise() {\n return ZodPromise.create(this, this._def);\n }\n or(option) {\n return ZodUnion.create([this, option], this._def);\n }\n and(incoming) {\n return ZodIntersection.create(this, incoming, this._def);\n }\n transform(transform) {\n return new ZodEffects({\n ...processCreateParams(this._def),\n schema: this,\n typeName: ZodFirstPartyTypeKind.ZodEffects,\n effect: { type: \"transform\", transform },\n });\n }\n default(def) {\n const defaultValueFunc = typeof def === \"function\" ? def : () => def;\n return new ZodDefault({\n ...processCreateParams(this._def),\n innerType: this,\n defaultValue: defaultValueFunc,\n typeName: ZodFirstPartyTypeKind.ZodDefault,\n });\n }\n brand() {\n return new ZodBranded({\n typeName: ZodFirstPartyTypeKind.ZodBranded,\n type: this,\n ...processCreateParams(this._def),\n });\n }\n catch(def) {\n const catchValueFunc = typeof def === \"function\" ? def : () => def;\n return new ZodCatch({\n ...processCreateParams(this._def),\n innerType: this,\n catchValue: catchValueFunc,\n typeName: ZodFirstPartyTypeKind.ZodCatch,\n });\n }\n describe(description) {\n const This = this.constructor;\n return new This({\n ...this._def,\n description,\n });\n }\n pipe(target) {\n return ZodPipeline.create(this, target);\n }\n readonly() {\n return ZodReadonly.create(this);\n }\n isOptional() {\n return this.safeParse(undefined).success;\n }\n isNullable() {\n return this.safeParse(null).success;\n }\n}\nexports.ZodType = ZodType;\nexports.Schema = ZodType;\nexports.ZodSchema = ZodType;\nconst cuidRegex = /^c[^\\s-]{8,}$/i;\nconst cuid2Regex = /^[a-z][a-z0-9]*$/;\nconst ulidRegex = /^[0-9A-HJKMNP-TV-Z]{26}$/;\n// const uuidRegex =\n// /^([a-f0-9]{8}-[a-f0-9]{4}-[1-5][a-f0-9]{3}-[a-f0-9]{4}-[a-f0-9]{12}|00000000-0000-0000-0000-000000000000)$/i;\nconst uuidRegex = /^[0-9a-fA-F]{8}\\b-[0-9a-fA-F]{4}\\b-[0-9a-fA-F]{4}\\b-[0-9a-fA-F]{4}\\b-[0-9a-fA-F]{12}$/i;\n// from https://stackoverflow.com/a/46181/1550155\n// old version: too slow, didn't support unicode\n// const emailRegex = /^((([a-z]|\\d|[!#\\$%&'\\*\\+\\-\\/=\\?\\^_`{\\|}~]|[\\u00A0-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF])+(\\.([a-z]|\\d|[!#\\$%&'\\*\\+\\-\\/=\\?\\^_`{\\|}~]|[\\u00A0-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF])+)*)|((\\x22)((((\\x20|\\x09)*(\\x0d\\x0a))?(\\x20|\\x09)+)?(([\\x01-\\x08\\x0b\\x0c\\x0e-\\x1f\\x7f]|\\x21|[\\x23-\\x5b]|[\\x5d-\\x7e]|[\\u00A0-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF])|(\\\\([\\x01-\\x09\\x0b\\x0c\\x0d-\\x7f]|[\\u00A0-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]))))*(((\\x20|\\x09)*(\\x0d\\x0a))?(\\x20|\\x09)+)?(\\x22)))@((([a-z]|\\d|[\\u00A0-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF])|(([a-z]|\\d|[\\u00A0-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF])([a-z]|\\d|-|\\.|_|~|[\\u00A0-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF])*([a-z]|\\d|[\\u00A0-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF])))\\.)+(([a-z]|[\\u00A0-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF])|(([a-z]|[\\u00A0-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF])([a-z]|\\d|-|\\.|_|~|[\\u00A0-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF])*([a-z]|[\\u00A0-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF])))$/i;\n//old email regex\n// const emailRegex = /^(([^<>()[\\].,;:\\s@\"]+(\\.[^<>()[\\].,;:\\s@\"]+)*)|(\".+\"))@((?!-)([^<>()[\\].,;:\\s@\"]+\\.)+[^<>()[\\].,;:\\s@\"]{1,})[^-<>()[\\].,;:\\s@\"]$/i;\n// eslint-disable-next-line\n// const emailRegex =\n// /^(([^<>()[\\]\\\\.,;:\\s@\\\"]+(\\.[^<>()[\\]\\\\.,;:\\s@\\\"]+)*)|(\\\".+\\\"))@((\\[(((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))\\.){3}((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))\\])|(\\[IPv6:(([a-f0-9]{1,4}:){7}|::([a-f0-9]{1,4}:){0,6}|([a-f0-9]{1,4}:){1}:([a-f0-9]{1,4}:){0,5}|([a-f0-9]{1,4}:){2}:([a-f0-9]{1,4}:){0,4}|([a-f0-9]{1,4}:){3}:([a-f0-9]{1,4}:){0,3}|([a-f0-9]{1,4}:){4}:([a-f0-9]{1,4}:){0,2}|([a-f0-9]{1,4}:){5}:([a-f0-9]{1,4}:){0,1})([a-f0-9]{1,4}|(((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))\\.){3}((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2})))\\])|([A-Za-z0-9]([A-Za-z0-9-]*[A-Za-z0-9])*(\\.[A-Za-z]{2,})+))$/;\n// const emailRegex =\n// /^[a-zA-Z0-9\\.\\!\\#\\$\\%\\&\\'\\*\\+\\/\\=\\?\\^\\_\\`\\{\\|\\}\\~\\-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;\n// const emailRegex =\n// /^(?:[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*|\"(?:[\\x01-\\x08\\x0b\\x0c\\x0e-\\x1f\\x21\\x23-\\x5b\\x5d-\\x7f]|\\\\[\\x01-\\x09\\x0b\\x0c\\x0e-\\x7f])*\")@(?:(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?|\\[(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?|[a-z0-9-]*[a-z0-9]:(?:[\\x01-\\x08\\x0b\\x0c\\x0e-\\x1f\\x21-\\x5a\\x53-\\x7f]|\\\\[\\x01-\\x09\\x0b\\x0c\\x0e-\\x7f])+)\\])$/i;\nconst emailRegex = /^(?!\\.)(?!.*\\.\\.)([A-Z0-9_+-\\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\\-]*\\.)+[A-Z]{2,}$/i;\n// const emailRegex =\n// /^[a-z0-9.!#$%&’*+/=?^_`{|}~-]+@[a-z0-9-]+(?:\\.[a-z0-9\\-]+)*$/i;\n// from https://thekevinscott.com/emojis-in-javascript/#writing-a-regular-expression\nconst _emojiRegex = `^(\\\\p{Extended_Pictographic}|\\\\p{Emoji_Component})+$`;\nlet emojiRegex;\nconst ipv4Regex = /^(((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))\\.){3}((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))$/;\nconst ipv6Regex = /^(([a-f0-9]{1,4}:){7}|::([a-f0-9]{1,4}:){0,6}|([a-f0-9]{1,4}:){1}:([a-f0-9]{1,4}:){0,5}|([a-f0-9]{1,4}:){2}:([a-f0-9]{1,4}:){0,4}|([a-f0-9]{1,4}:){3}:([a-f0-9]{1,4}:){0,3}|([a-f0-9]{1,4}:){4}:([a-f0-9]{1,4}:){0,2}|([a-f0-9]{1,4}:){5}:([a-f0-9]{1,4}:){0,1})([a-f0-9]{1,4}|(((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))\\.){3}((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2})))$/;\n// Adapted from https://stackoverflow.com/a/3143231\nconst datetimeRegex = (args) => {\n if (args.precision) {\n if (args.offset) {\n return new RegExp(`^\\\\d{4}-\\\\d{2}-\\\\d{2}T\\\\d{2}:\\\\d{2}:\\\\d{2}\\\\.\\\\d{${args.precision}}(([+-]\\\\d{2}(:?\\\\d{2})?)|Z)$`);\n }\n else {\n return new RegExp(`^\\\\d{4}-\\\\d{2}-\\\\d{2}T\\\\d{2}:\\\\d{2}:\\\\d{2}\\\\.\\\\d{${args.precision}}Z$`);\n }\n }\n else if (args.precision === 0) {\n if (args.offset) {\n return new RegExp(`^\\\\d{4}-\\\\d{2}-\\\\d{2}T\\\\d{2}:\\\\d{2}:\\\\d{2}(([+-]\\\\d{2}(:?\\\\d{2})?)|Z)$`);\n }\n else {\n return new RegExp(`^\\\\d{4}-\\\\d{2}-\\\\d{2}T\\\\d{2}:\\\\d{2}:\\\\d{2}Z$`);\n }\n }\n else {\n if (args.offset) {\n return new RegExp(`^\\\\d{4}-\\\\d{2}-\\\\d{2}T\\\\d{2}:\\\\d{2}:\\\\d{2}(\\\\.\\\\d+)?(([+-]\\\\d{2}(:?\\\\d{2})?)|Z)$`);\n }\n else {\n return new RegExp(`^\\\\d{4}-\\\\d{2}-\\\\d{2}T\\\\d{2}:\\\\d{2}:\\\\d{2}(\\\\.\\\\d+)?Z$`);\n }\n }\n};\nfunction isValidIP(ip, version) {\n if ((version === \"v4\" || !version) && ipv4Regex.test(ip)) {\n return true;\n }\n if ((version === \"v6\" || !version) && ipv6Regex.test(ip)) {\n return true;\n }\n return false;\n}\nclass ZodString extends ZodType {\n _parse(input) {\n if (this._def.coerce) {\n input.data = String(input.data);\n }\n const parsedType = this._getType(input);\n if (parsedType !== util_1.ZodParsedType.string) {\n const ctx = this._getOrReturnCtx(input);\n (0, parseUtil_1.addIssueToContext)(ctx, {\n code: ZodError_1.ZodIssueCode.invalid_type,\n expected: util_1.ZodParsedType.string,\n received: ctx.parsedType,\n }\n //\n );\n return parseUtil_1.INVALID;\n }\n const status = new parseUtil_1.ParseStatus();\n let ctx = undefined;\n for (const check of this._def.checks) {\n if (check.kind === \"min\") {\n if (input.data.length < check.value) {\n ctx = this._getOrReturnCtx(input, ctx);\n (0, parseUtil_1.addIssueToContext)(ctx, {\n code: ZodError_1.ZodIssueCode.too_small,\n minimum: check.value,\n type: \"string\",\n inclusive: true,\n exact: false,\n message: check.message,\n });\n status.dirty();\n }\n }\n else if (check.kind === \"max\") {\n if (input.data.length > check.value) {\n ctx = this._getOrReturnCtx(input, ctx);\n (0, parseUtil_1.addIssueToContext)(ctx, {\n code: ZodError_1.ZodIssueCode.too_big,\n maximum: check.value,\n type: \"string\",\n inclusive: true,\n exact: false,\n message: check.message,\n });\n status.dirty();\n }\n }\n else if (check.kind === \"length\") {\n const tooBig = input.data.length > check.value;\n const tooSmall = input.data.length < check.value;\n if (tooBig || tooSmall) {\n ctx = this._getOrReturnCtx(input, ctx);\n if (tooBig) {\n (0, parseUtil_1.addIssueToContext)(ctx, {\n code: ZodError_1.ZodIssueCode.too_big,\n maximum: check.value,\n type: \"string\",\n inclusive: true,\n exact: true,\n message: check.message,\n });\n }\n else if (tooSmall) {\n (0, parseUtil_1.addIssueToContext)(ctx, {\n code: ZodError_1.ZodIssueCode.too_small,\n minimum: check.value,\n type: \"string\",\n inclusive: true,\n exact: true,\n message: check.message,\n });\n }\n status.dirty();\n }\n }\n else if (check.kind === \"email\") {\n if (!emailRegex.test(input.data)) {\n ctx = this._getOrReturnCtx(input, ctx);\n (0, parseUtil_1.addIssueToContext)(ctx, {\n validation: \"email\",\n code: ZodError_1.ZodIssueCode.invalid_string,\n message: check.message,\n });\n status.dirty();\n }\n }\n else if (check.kind === \"emoji\") {\n if (!emojiRegex) {\n emojiRegex = new RegExp(_emojiRegex, \"u\");\n }\n if (!emojiRegex.test(input.data)) {\n ctx = this._getOrReturnCtx(input, ctx);\n (0, parseUtil_1.addIssueToContext)(ctx, {\n validation: \"emoji\",\n code: ZodError_1.ZodIssueCode.invalid_string,\n message: check.message,\n });\n status.dirty();\n }\n }\n else if (check.kind === \"uuid\") {\n if (!uuidRegex.test(input.data)) {\n ctx = this._getOrReturnCtx(input, ctx);\n (0, parseUtil_1.addIssueToContext)(ctx, {\n validation: \"uuid\",\n code: ZodError_1.ZodIssueCode.invalid_string,\n message: check.message,\n });\n status.dirty();\n }\n }\n else if (check.kind === \"cuid\") {\n if (!cuidRegex.test(input.data)) {\n ctx = this._getOrReturnCtx(input, ctx);\n (0, parseUtil_1.addIssueToContext)(ctx, {\n validation: \"cuid\",\n code: ZodError_1.ZodIssueCode.invalid_string,\n message: check.message,\n });\n status.dirty();\n }\n }\n else if (check.kind === \"cuid2\") {\n if (!cuid2Regex.test(input.data)) {\n ctx = this._getOrReturnCtx(input, ctx);\n (0, parseUtil_1.addIssueToContext)(ctx, {\n validation: \"cuid2\",\n code: ZodError_1.ZodIssueCode.invalid_string,\n message: check.message,\n });\n status.dirty();\n }\n }\n else if (check.kind === \"ulid\") {\n if (!ulidRegex.test(input.data)) {\n ctx = this._getOrReturnCtx(input, ctx);\n (0, parseUtil_1.addIssueToContext)(ctx, {\n validation: \"ulid\",\n code: ZodError_1.ZodIssueCode.invalid_string,\n message: check.message,\n });\n status.dirty();\n }\n }\n else if (check.kind === \"url\") {\n try {\n new URL(input.data);\n }\n catch (_a) {\n ctx = this._getOrReturnCtx(input, ctx);\n (0, parseUtil_1.addIssueToContext)(ctx, {\n validation: \"url\",\n code: ZodError_1.ZodIssueCode.invalid_string,\n message: check.message,\n });\n status.dirty();\n }\n }\n else if (check.kind === \"regex\") {\n check.regex.lastIndex = 0;\n const testResult = check.regex.test(input.data);\n if (!testResult) {\n ctx = this._getOrReturnCtx(input, ctx);\n (0, parseUtil_1.addIssueToContext)(ctx, {\n validation: \"regex\",\n code: ZodError_1.ZodIssueCode.invalid_string,\n message: check.message,\n });\n status.dirty();\n }\n }\n else if (check.kind === \"trim\") {\n input.data = input.data.trim();\n }\n else if (check.kind === \"includes\") {\n if (!input.data.includes(check.value, check.position)) {\n ctx = this._getOrReturnCtx(input, ctx);\n (0, parseUtil_1.addIssueToContext)(ctx, {\n code: ZodError_1.ZodIssueCode.invalid_string,\n validation: { includes: check.value, position: check.position },\n message: check.message,\n });\n status.dirty();\n }\n }\n else if (check.kind === \"toLowerCase\") {\n input.data = input.data.toLowerCase();\n }\n else if (check.kind === \"toUpperCase\") {\n input.data = input.data.toUpperCase();\n }\n else if (check.kind === \"startsWith\") {\n if (!input.data.startsWith(check.value)) {\n ctx = this._getOrReturnCtx(input, ctx);\n (0, parseUtil_1.addIssueToContext)(ctx, {\n code: ZodError_1.ZodIssueCode.invalid_string,\n validation: { startsWith: check.value },\n message: check.message,\n });\n status.dirty();\n }\n }\n else if (check.kind === \"endsWith\") {\n if (!input.data.endsWith(check.value)) {\n ctx = this._getOrReturnCtx(input, ctx);\n (0, parseUtil_1.addIssueToContext)(ctx, {\n code: ZodError_1.ZodIssueCode.invalid_string,\n validation: { endsWith: check.value },\n message: check.message,\n });\n status.dirty();\n }\n }\n else if (check.kind === \"datetime\") {\n const regex = datetimeRegex(check);\n if (!regex.test(input.data)) {\n ctx = this._getOrReturnCtx(input, ctx);\n (0, parseUtil_1.addIssueToContext)(ctx, {\n code: ZodError_1.ZodIssueCode.invalid_string,\n validation: \"datetime\",\n message: check.message,\n });\n status.dirty();\n }\n }\n else if (check.kind === \"ip\") {\n if (!isValidIP(input.data, check.version)) {\n ctx = this._getOrReturnCtx(input, ctx);\n (0, parseUtil_1.addIssueToContext)(ctx, {\n validation: \"ip\",\n code: ZodError_1.ZodIssueCode.invalid_string,\n message: check.message,\n });\n status.dirty();\n }\n }\n else {\n util_1.util.assertNever(check);\n }\n }\n return { status: status.value, value: input.data };\n }\n _regex(regex, validation, message) {\n return this.refinement((data) => regex.test(data), {\n validation,\n code: ZodError_1.ZodIssueCode.invalid_string,\n ...errorUtil_1.errorUtil.errToObj(message),\n });\n }\n _addCheck(check) {\n return new ZodString({\n ...this._def,\n checks: [...this._def.checks, check],\n });\n }\n email(message) {\n return this._addCheck({ kind: \"email\", ...errorUtil_1.errorUtil.errToObj(message) });\n }\n url(message) {\n return this._addCheck({ kind: \"url\", ...errorUtil_1.errorUtil.errToObj(message) });\n }\n emoji(message) {\n return this._addCheck({ kind: \"emoji\", ...errorUtil_1.errorUtil.errToObj(message) });\n }\n uuid(message) {\n return this._addCheck({ kind: \"uuid\", ...errorUtil_1.errorUtil.errToObj(message) });\n }\n cuid(message) {\n return this._addCheck({ kind: \"cuid\", ...errorUtil_1.errorUtil.errToObj(message) });\n }\n cuid2(message) {\n return this._addCheck({ kind: \"cuid2\", ...errorUtil_1.errorUtil.errToObj(message) });\n }\n ulid(message) {\n return this._addCheck({ kind: \"ulid\", ...errorUtil_1.errorUtil.errToObj(message) });\n }\n ip(options) {\n return this._addCheck({ kind: \"ip\", ...errorUtil_1.errorUtil.errToObj(options) });\n }\n datetime(options) {\n var _a;\n if (typeof options === \"string\") {\n return this._addCheck({\n kind: \"datetime\",\n precision: null,\n offset: false,\n message: options,\n });\n }\n return this._addCheck({\n kind: \"datetime\",\n precision: typeof (options === null || options === void 0 ? void 0 : options.precision) === \"undefined\" ? null : options === null || options === void 0 ? void 0 : options.precision,\n offset: (_a = options === null || options === void 0 ? void 0 : options.offset) !== null && _a !== void 0 ? _a : false,\n ...errorUtil_1.errorUtil.errToObj(options === null || options === void 0 ? void 0 : options.message),\n });\n }\n regex(regex, message) {\n return this._addCheck({\n kind: \"regex\",\n regex: regex,\n ...errorUtil_1.errorUtil.errToObj(message),\n });\n }\n includes(value, options) {\n return this._addCheck({\n kind: \"includes\",\n value: value,\n position: options === null || options === void 0 ? void 0 : options.position,\n ...errorUtil_1.errorUtil.errToObj(options === null || options === void 0 ? void 0 : options.message),\n });\n }\n startsWith(value, message) {\n return this._addCheck({\n kind: \"startsWith\",\n value: value,\n ...errorUtil_1.errorUtil.errToObj(message),\n });\n }\n endsWith(value, message) {\n return this._addCheck({\n kind: \"endsWith\",\n value: value,\n ...errorUtil_1.errorUtil.errToObj(message),\n });\n }\n min(minLength, message) {\n return this._addCheck({\n kind: \"min\",\n value: minLength,\n ...errorUtil_1.errorUtil.errToObj(message),\n });\n }\n max(maxLength, message) {\n return this._addCheck({\n kind: \"max\",\n value: maxLength,\n ...errorUtil_1.errorUtil.errToObj(message),\n });\n }\n length(len, message) {\n return this._addCheck({\n kind: \"length\",\n value: len,\n ...errorUtil_1.errorUtil.errToObj(message),\n });\n }\n /**\n * @deprecated Use z.string().min(1) instead.\n * @see {@link ZodString.min}\n */\n nonempty(message) {\n return this.min(1, errorUtil_1.errorUtil.errToObj(message));\n }\n trim() {\n return new ZodString({\n ...this._def,\n checks: [...this._def.checks, { kind: \"trim\" }],\n });\n }\n toLowerCase() {\n return new ZodString({\n ...this._def,\n checks: [...this._def.checks, { kind: \"toLowerCase\" }],\n });\n }\n toUpperCase() {\n return new ZodString({\n ...this._def,\n checks: [...this._def.checks, { kind: \"toUpperCase\" }],\n });\n }\n get isDatetime() {\n return !!this._def.checks.find((ch) => ch.kind === \"datetime\");\n }\n get isEmail() {\n return !!this._def.checks.find((ch) => ch.kind === \"email\");\n }\n get isURL() {\n return !!this._def.checks.find((ch) => ch.kind === \"url\");\n }\n get isEmoji() {\n return !!this._def.checks.find((ch) => ch.kind === \"emoji\");\n }\n get isUUID() {\n return !!this._def.checks.find((ch) => ch.kind === \"uuid\");\n }\n get isCUID() {\n return !!this._def.checks.find((ch) => ch.kind === \"cuid\");\n }\n get isCUID2() {\n return !!this._def.checks.find((ch) => ch.kind === \"cuid2\");\n }\n get isULID() {\n return !!this._def.checks.find((ch) => ch.kind === \"ulid\");\n }\n get isIP() {\n return !!this._def.checks.find((ch) => ch.kind === \"ip\");\n }\n get minLength() {\n let min = null;\n for (const ch of this._def.checks) {\n if (ch.kind === \"min\") {\n if (min === null || ch.value > min)\n min = ch.value;\n }\n }\n return min;\n }\n get maxLength() {\n let max = null;\n for (const ch of this._def.checks) {\n if (ch.kind === \"max\") {\n if (max === null || ch.value < max)\n max = ch.value;\n }\n }\n return max;\n }\n}\nexports.ZodString = ZodString;\nZodString.create = (params) => {\n var _a;\n return new ZodString({\n checks: [],\n typeName: ZodFirstPartyTypeKind.ZodString,\n coerce: (_a = params === null || params === void 0 ? void 0 : params.coerce) !== null && _a !== void 0 ? _a : false,\n ...processCreateParams(params),\n });\n};\n// https://stackoverflow.com/questions/3966484/why-does-modulus-operator-return-fractional-number-in-javascript/31711034#31711034\nfunction floatSafeRemainder(val, step) {\n const valDecCount = (val.toString().split(\".\")[1] || \"\").length;\n const stepDecCount = (step.toString().split(\".\")[1] || \"\").length;\n const decCount = valDecCount > stepDecCount ? valDecCount : stepDecCount;\n const valInt = parseInt(val.toFixed(decCount).replace(\".\", \"\"));\n const stepInt = parseInt(step.toFixed(decCount).replace(\".\", \"\"));\n return (valInt % stepInt) / Math.pow(10, decCount);\n}\nclass ZodNumber extends ZodType {\n constructor() {\n super(...arguments);\n this.min = this.gte;\n this.max = this.lte;\n this.step = this.multipleOf;\n }\n _parse(input) {\n if (this._def.coerce) {\n input.data = Number(input.data);\n }\n const parsedType = this._getType(input);\n if (parsedType !== util_1.ZodParsedType.number) {\n const ctx = this._getOrReturnCtx(input);\n (0, parseUtil_1.addIssueToContext)(ctx, {\n code: ZodError_1.ZodIssueCode.invalid_type,\n expected: util_1.ZodParsedType.number,\n received: ctx.parsedType,\n });\n return parseUtil_1.INVALID;\n }\n let ctx = undefined;\n const status = new parseUtil_1.ParseStatus();\n for (const check of this._def.checks) {\n if (check.kind === \"int\") {\n if (!util_1.util.isInteger(input.data)) {\n ctx = this._getOrReturnCtx(input, ctx);\n (0, parseUtil_1.addIssueToContext)(ctx, {\n code: ZodError_1.ZodIssueCode.invalid_type,\n expected: \"integer\",\n received: \"float\",\n message: check.message,\n });\n status.dirty();\n }\n }\n else if (check.kind === \"min\") {\n const tooSmall = check.inclusive\n ? input.data < check.value\n : input.data <= check.value;\n if (tooSmall) {\n ctx = this._getOrReturnCtx(input, ctx);\n (0, parseUtil_1.addIssueToContext)(ctx, {\n code: ZodError_1.ZodIssueCode.too_small,\n minimum: check.value,\n type: \"number\",\n inclusive: check.inclusive,\n exact: false,\n message: check.message,\n });\n status.dirty();\n }\n }\n else if (check.kind === \"max\") {\n const tooBig = check.inclusive\n ? input.data > check.value\n : input.data >= check.value;\n if (tooBig) {\n ctx = this._getOrReturnCtx(input, ctx);\n (0, parseUtil_1.addIssueToContext)(ctx, {\n code: ZodError_1.ZodIssueCode.too_big,\n maximum: check.value,\n type: \"number\",\n inclusive: check.inclusive,\n exact: false,\n message: check.message,\n });\n status.dirty();\n }\n }\n else if (check.kind === \"multipleOf\") {\n if (floatSafeRemainder(input.data, check.value) !== 0) {\n ctx = this._getOrReturnCtx(input, ctx);\n (0, parseUtil_1.addIssueToContext)(ctx, {\n code: ZodError_1.ZodIssueCode.not_multiple_of,\n multipleOf: check.value,\n message: check.message,\n });\n status.dirty();\n }\n }\n else if (check.kind === \"finite\") {\n if (!Number.isFinite(input.data)) {\n ctx = this._getOrReturnCtx(input, ctx);\n (0, parseUtil_1.addIssueToContext)(ctx, {\n code: ZodError_1.ZodIssueCode.not_finite,\n message: check.message,\n });\n status.dirty();\n }\n }\n else {\n util_1.util.assertNever(check);\n }\n }\n return { status: status.value, value: input.data };\n }\n gte(value, message) {\n return this.setLimit(\"min\", value, true, errorUtil_1.errorUtil.toString(message));\n }\n gt(value, message) {\n return this.setLimit(\"min\", value, false, errorUtil_1.errorUtil.toString(message));\n }\n lte(value, message) {\n return this.setLimit(\"max\", value, true, errorUtil_1.errorUtil.toString(message));\n }\n lt(value, message) {\n return this.setLimit(\"max\", value, false, errorUtil_1.errorUtil.toString(message));\n }\n setLimit(kind, value, inclusive, message) {\n return new ZodNumber({\n ...this._def,\n checks: [\n ...this._def.checks,\n {\n kind,\n value,\n inclusive,\n message: errorUtil_1.errorUtil.toString(message),\n },\n ],\n });\n }\n _addCheck(check) {\n return new ZodNumber({\n ...this._def,\n checks: [...this._def.checks, check],\n });\n }\n int(message) {\n return this._addCheck({\n kind: \"int\",\n message: errorUtil_1.errorUtil.toString(message),\n });\n }\n positive(message) {\n return this._addCheck({\n kind: \"min\",\n value: 0,\n inclusive: false,\n message: errorUtil_1.errorUtil.toString(message),\n });\n }\n negative(message) {\n return this._addCheck({\n kind: \"max\",\n value: 0,\n inclusive: false,\n message: errorUtil_1.errorUtil.toString(message),\n });\n }\n nonpositive(message) {\n return this._addCheck({\n kind: \"max\",\n value: 0,\n inclusive: true,\n message: errorUtil_1.errorUtil.toString(message),\n });\n }\n nonnegative(message) {\n return this._addCheck({\n kind: \"min\",\n value: 0,\n inclusive: true,\n message: errorUtil_1.errorUtil.toString(message),\n });\n }\n multipleOf(value, message) {\n return this._addCheck({\n kind: \"multipleOf\",\n value: value,\n message: errorUtil_1.errorUtil.toString(message),\n });\n }\n finite(message) {\n return this._addCheck({\n kind: \"finite\",\n message: errorUtil_1.errorUtil.toString(message),\n });\n }\n safe(message) {\n return this._addCheck({\n kind: \"min\",\n inclusive: true,\n value: Number.MIN_SAFE_INTEGER,\n message: errorUtil_1.errorUtil.toString(message),\n })._addCheck({\n kind: \"max\",\n inclusive: true,\n value: Number.MAX_SAFE_INTEGER,\n message: errorUtil_1.errorUtil.toString(message),\n });\n }\n get minValue() {\n let min = null;\n for (const ch of this._def.checks) {\n if (ch.kind === \"min\") {\n if (min === null || ch.value > min)\n min = ch.value;\n }\n }\n return min;\n }\n get maxValue() {\n let max = null;\n for (const ch of this._def.checks) {\n if (ch.kind === \"max\") {\n if (max === null || ch.value < max)\n max = ch.value;\n }\n }\n return max;\n }\n get isInt() {\n return !!this._def.checks.find((ch) => ch.kind === \"int\" ||\n (ch.kind === \"multipleOf\" && util_1.util.isInteger(ch.value)));\n }\n get isFinite() {\n let max = null, min = null;\n for (const ch of this._def.checks) {\n if (ch.kind === \"finite\" ||\n ch.kind === \"int\" ||\n ch.kind === \"multipleOf\") {\n return true;\n }\n else if (ch.kind === \"min\") {\n if (min === null || ch.value > min)\n min = ch.value;\n }\n else if (ch.kind === \"max\") {\n if (max === null || ch.value < max)\n max = ch.value;\n }\n }\n return Number.isFinite(min) && Number.isFinite(max);\n }\n}\nexports.ZodNumber = ZodNumber;\nZodNumber.create = (params) => {\n return new ZodNumber({\n checks: [],\n typeName: ZodFirstPartyTypeKind.ZodNumber,\n coerce: (params === null || params === void 0 ? void 0 : params.coerce) || false,\n ...processCreateParams(params),\n });\n};\nclass ZodBigInt extends ZodType {\n constructor() {\n super(...arguments);\n this.min = this.gte;\n this.max = this.lte;\n }\n _parse(input) {\n if (this._def.coerce) {\n input.data = BigInt(input.data);\n }\n const parsedType = this._getType(input);\n if (parsedType !== util_1.ZodParsedType.bigint) {\n const ctx = this._getOrReturnCtx(input);\n (0, parseUtil_1.addIssueToContext)(ctx, {\n code: ZodError_1.ZodIssueCode.invalid_type,\n expected: util_1.ZodParsedType.bigint,\n received: ctx.parsedType,\n });\n return parseUtil_1.INVALID;\n }\n let ctx = undefined;\n const status = new parseUtil_1.ParseStatus();\n for (const check of this._def.checks) {\n if (check.kind === \"min\") {\n const tooSmall = check.inclusive\n ? input.data < check.value\n : input.data <= check.value;\n if (tooSmall) {\n ctx = this._getOrReturnCtx(input, ctx);\n (0, parseUtil_1.addIssueToContext)(ctx, {\n code: ZodError_1.ZodIssueCode.too_small,\n type: \"bigint\",\n minimum: check.value,\n inclusive: check.inclusive,\n message: check.message,\n });\n status.dirty();\n }\n }\n else if (check.kind === \"max\") {\n const tooBig = check.inclusive\n ? input.data > check.value\n : input.data >= check.value;\n if (tooBig) {\n ctx = this._getOrReturnCtx(input, ctx);\n (0, parseUtil_1.addIssueToContext)(ctx, {\n code: ZodError_1.ZodIssueCode.too_big,\n type: \"bigint\",\n maximum: check.value,\n inclusive: check.inclusive,\n message: check.message,\n });\n status.dirty();\n }\n }\n else if (check.kind === \"multipleOf\") {\n if (input.data % check.value !== BigInt(0)) {\n ctx = this._getOrReturnCtx(input, ctx);\n (0, parseUtil_1.addIssueToContext)(ctx, {\n code: ZodError_1.ZodIssueCode.not_multiple_of,\n multipleOf: check.value,\n message: check.message,\n });\n status.dirty();\n }\n }\n else {\n util_1.util.assertNever(check);\n }\n }\n return { status: status.value, value: input.data };\n }\n gte(value, message) {\n return this.setLimit(\"min\", value, true, errorUtil_1.errorUtil.toString(message));\n }\n gt(value, message) {\n return this.setLimit(\"min\", value, false, errorUtil_1.errorUtil.toString(message));\n }\n lte(value, message) {\n return this.setLimit(\"max\", value, true, errorUtil_1.errorUtil.toString(message));\n }\n lt(value, message) {\n return this.setLimit(\"max\", value, false, errorUtil_1.errorUtil.toString(message));\n }\n setLimit(kind, value, inclusive, message) {\n return new ZodBigInt({\n ...this._def,\n checks: [\n ...this._def.checks,\n {\n kind,\n value,\n inclusive,\n message: errorUtil_1.errorUtil.toString(message),\n },\n ],\n });\n }\n _addCheck(check) {\n return new ZodBigInt({\n ...this._def,\n checks: [...this._def.checks, check],\n });\n }\n positive(message) {\n return this._addCheck({\n kind: \"min\",\n value: BigInt(0),\n inclusive: false,\n message: errorUtil_1.errorUtil.toString(message),\n });\n }\n negative(message) {\n return this._addCheck({\n kind: \"max\",\n value: BigInt(0),\n inclusive: false,\n message: errorUtil_1.errorUtil.toString(message),\n });\n }\n nonpositive(message) {\n return this._addCheck({\n kind: \"max\",\n value: BigInt(0),\n inclusive: true,\n message: errorUtil_1.errorUtil.toString(message),\n });\n }\n nonnegative(message) {\n return this._addCheck({\n kind: \"min\",\n value: BigInt(0),\n inclusive: true,\n message: errorUtil_1.errorUtil.toString(message),\n });\n }\n multipleOf(value, message) {\n return this._addCheck({\n kind: \"multipleOf\",\n value,\n message: errorUtil_1.errorUtil.toString(message),\n });\n }\n get minValue() {\n let min = null;\n for (const ch of this._def.checks) {\n if (ch.kind === \"min\") {\n if (min === null || ch.value > min)\n min = ch.value;\n }\n }\n return min;\n }\n get maxValue() {\n let max = null;\n for (const ch of this._def.checks) {\n if (ch.kind === \"max\") {\n if (max === null || ch.value < max)\n max = ch.value;\n }\n }\n return max;\n }\n}\nexports.ZodBigInt = ZodBigInt;\nZodBigInt.create = (params) => {\n var _a;\n return new ZodBigInt({\n checks: [],\n typeName: ZodFirstPartyTypeKind.ZodBigInt,\n coerce: (_a = params === null || params === void 0 ? void 0 : params.coerce) !== null && _a !== void 0 ? _a : false,\n ...processCreateParams(params),\n });\n};\nclass ZodBoolean extends ZodType {\n _parse(input) {\n if (this._def.coerce) {\n input.data = Boolean(input.data);\n }\n const parsedType = this._getType(input);\n if (parsedType !== util_1.ZodParsedType.boolean) {\n const ctx = this._getOrReturnCtx(input);\n (0, parseUtil_1.addIssueToContext)(ctx, {\n code: ZodError_1.ZodIssueCode.invalid_type,\n expected: util_1.ZodParsedType.boolean,\n received: ctx.parsedType,\n });\n return parseUtil_1.INVALID;\n }\n return (0, parseUtil_1.OK)(input.data);\n }\n}\nexports.ZodBoolean = ZodBoolean;\nZodBoolean.create = (params) => {\n return new ZodBoolean({\n typeName: ZodFirstPartyTypeKind.ZodBoolean,\n coerce: (params === null || params === void 0 ? void 0 : params.coerce) || false,\n ...processCreateParams(params),\n });\n};\nclass ZodDate extends ZodType {\n _parse(input) {\n if (this._def.coerce) {\n input.data = new Date(input.data);\n }\n const parsedType = this._getType(input);\n if (parsedType !== util_1.ZodParsedType.date) {\n const ctx = this._getOrReturnCtx(input);\n (0, parseUtil_1.addIssueToContext)(ctx, {\n code: ZodError_1.ZodIssueCode.invalid_type,\n expected: util_1.ZodParsedType.date,\n received: ctx.parsedType,\n });\n return parseUtil_1.INVALID;\n }\n if (isNaN(input.data.getTime())) {\n const ctx = this._getOrReturnCtx(input);\n (0, parseUtil_1.addIssueToContext)(ctx, {\n code: ZodError_1.ZodIssueCode.invalid_date,\n });\n return parseUtil_1.INVALID;\n }\n const status = new parseUtil_1.ParseStatus();\n let ctx = undefined;\n for (const check of this._def.checks) {\n if (check.kind === \"min\") {\n if (input.data.getTime() < check.value) {\n ctx = this._getOrReturnCtx(input, ctx);\n (0, parseUtil_1.addIssueToContext)(ctx, {\n code: ZodError_1.ZodIssueCode.too_small,\n message: check.message,\n inclusive: true,\n exact: false,\n minimum: check.value,\n type: \"date\",\n });\n status.dirty();\n }\n }\n else if (check.kind === \"max\") {\n if (input.data.getTime() > check.value) {\n ctx = this._getOrReturnCtx(input, ctx);\n (0, parseUtil_1.addIssueToContext)(ctx, {\n code: ZodError_1.ZodIssueCode.too_big,\n message: check.message,\n inclusive: true,\n exact: false,\n maximum: check.value,\n type: \"date\",\n });\n status.dirty();\n }\n }\n else {\n util_1.util.assertNever(check);\n }\n }\n return {\n status: status.value,\n value: new Date(input.data.getTime()),\n };\n }\n _addCheck(check) {\n return new ZodDate({\n ...this._def,\n checks: [...this._def.checks, check],\n });\n }\n min(minDate, message) {\n return this._addCheck({\n kind: \"min\",\n value: minDate.getTime(),\n message: errorUtil_1.errorUtil.toString(message),\n });\n }\n max(maxDate, message) {\n return this._addCheck({\n kind: \"max\",\n value: maxDate.getTime(),\n message: errorUtil_1.errorUtil.toString(message),\n });\n }\n get minDate() {\n let min = null;\n for (const ch of this._def.checks) {\n if (ch.kind === \"min\") {\n if (min === null || ch.value > min)\n min = ch.value;\n }\n }\n return min != null ? new Date(min) : null;\n }\n get maxDate() {\n let max = null;\n for (const ch of this._def.checks) {\n if (ch.kind === \"max\") {\n if (max === null || ch.value < max)\n max = ch.value;\n }\n }\n return max != null ? new Date(max) : null;\n }\n}\nexports.ZodDate = ZodDate;\nZodDate.create = (params) => {\n return new ZodDate({\n checks: [],\n coerce: (params === null || params === void 0 ? void 0 : params.coerce) || false,\n typeName: ZodFirstPartyTypeKind.ZodDate,\n ...processCreateParams(params),\n });\n};\nclass ZodSymbol extends ZodType {\n _parse(input) {\n const parsedType = this._getType(input);\n if (parsedType !== util_1.ZodParsedType.symbol) {\n const ctx = this._getOrReturnCtx(input);\n (0, parseUtil_1.addIssueToContext)(ctx, {\n code: ZodError_1.ZodIssueCode.invalid_type,\n expected: util_1.ZodParsedType.symbol,\n received: ctx.parsedType,\n });\n return parseUtil_1.INVALID;\n }\n return (0, parseUtil_1.OK)(input.data);\n }\n}\nexports.ZodSymbol = ZodSymbol;\nZodSymbol.create = (params) => {\n return new ZodSymbol({\n typeName: ZodFirstPartyTypeKind.ZodSymbol,\n ...processCreateParams(params),\n });\n};\nclass ZodUndefined extends ZodType {\n _parse(input) {\n const parsedType = this._getType(input);\n if (parsedType !== util_1.ZodParsedType.undefined) {\n const ctx = this._getOrReturnCtx(input);\n (0, parseUtil_1.addIssueToContext)(ctx, {\n code: ZodError_1.ZodIssueCode.invalid_type,\n expected: util_1.ZodParsedType.undefined,\n received: ctx.parsedType,\n });\n return parseUtil_1.INVALID;\n }\n return (0, parseUtil_1.OK)(input.data);\n }\n}\nexports.ZodUndefined = ZodUndefined;\nZodUndefined.create = (params) => {\n return new ZodUndefined({\n typeName: ZodFirstPartyTypeKind.ZodUndefined,\n ...processCreateParams(params),\n });\n};\nclass ZodNull extends ZodType {\n _parse(input) {\n const parsedType = this._getType(input);\n if (parsedType !== util_1.ZodParsedType.null) {\n const ctx = this._getOrReturnCtx(input);\n (0, parseUtil_1.addIssueToContext)(ctx, {\n code: ZodError_1.ZodIssueCode.invalid_type,\n expected: util_1.ZodParsedType.null,\n received: ctx.parsedType,\n });\n return parseUtil_1.INVALID;\n }\n return (0, parseUtil_1.OK)(input.data);\n }\n}\nexports.ZodNull = ZodNull;\nZodNull.create = (params) => {\n return new ZodNull({\n typeName: ZodFirstPartyTypeKind.ZodNull,\n ...processCreateParams(params),\n });\n};\nclass ZodAny extends ZodType {\n constructor() {\n super(...arguments);\n // to prevent instances of other classes from extending ZodAny. this causes issues with catchall in ZodObject.\n this._any = true;\n }\n _parse(input) {\n return (0, parseUtil_1.OK)(input.data);\n }\n}\nexports.ZodAny = ZodAny;\nZodAny.create = (params) => {\n return new ZodAny({\n typeName: ZodFirstPartyTypeKind.ZodAny,\n ...processCreateParams(params),\n });\n};\nclass ZodUnknown extends ZodType {\n constructor() {\n super(...arguments);\n // required\n this._unknown = true;\n }\n _parse(input) {\n return (0, parseUtil_1.OK)(input.data);\n }\n}\nexports.ZodUnknown = ZodUnknown;\nZodUnknown.create = (params) => {\n return new ZodUnknown({\n typeName: ZodFirstPartyTypeKind.ZodUnknown,\n ...processCreateParams(params),\n });\n};\nclass ZodNever extends ZodType {\n _parse(input) {\n const ctx = this._getOrReturnCtx(input);\n (0, parseUtil_1.addIssueToContext)(ctx, {\n code: ZodError_1.ZodIssueCode.invalid_type,\n expected: util_1.ZodParsedType.never,\n received: ctx.parsedType,\n });\n return parseUtil_1.INVALID;\n }\n}\nexports.ZodNever = ZodNever;\nZodNever.create = (params) => {\n return new ZodNever({\n typeName: ZodFirstPartyTypeKind.ZodNever,\n ...processCreateParams(params),\n });\n};\nclass ZodVoid extends ZodType {\n _parse(input) {\n const parsedType = this._getType(input);\n if (parsedType !== util_1.ZodParsedType.undefined) {\n const ctx = this._getOrReturnCtx(input);\n (0, parseUtil_1.addIssueToContext)(ctx, {\n code: ZodError_1.ZodIssueCode.invalid_type,\n expected: util_1.ZodParsedType.void,\n received: ctx.parsedType,\n });\n return parseUtil_1.INVALID;\n }\n return (0, parseUtil_1.OK)(input.data);\n }\n}\nexports.ZodVoid = ZodVoid;\nZodVoid.create = (params) => {\n return new ZodVoid({\n typeName: ZodFirstPartyTypeKind.ZodVoid,\n ...processCreateParams(params),\n });\n};\nclass ZodArray extends ZodType {\n _parse(input) {\n const { ctx, status } = this._processInputParams(input);\n const def = this._def;\n if (ctx.parsedType !== util_1.ZodParsedType.array) {\n (0, parseUtil_1.addIssueToContext)(ctx, {\n code: ZodError_1.ZodIssueCode.invalid_type,\n expected: util_1.ZodParsedType.array,\n received: ctx.parsedType,\n });\n return parseUtil_1.INVALID;\n }\n if (def.exactLength !== null) {\n const tooBig = ctx.data.length > def.exactLength.value;\n const tooSmall = ctx.data.length < def.exactLength.value;\n if (tooBig || tooSmall) {\n (0, parseUtil_1.addIssueToContext)(ctx, {\n code: tooBig ? ZodError_1.ZodIssueCode.too_big : ZodError_1.ZodIssueCode.too_small,\n minimum: (tooSmall ? def.exactLength.value : undefined),\n maximum: (tooBig ? def.exactLength.value : undefined),\n type: \"array\",\n inclusive: true,\n exact: true,\n message: def.exactLength.message,\n });\n status.dirty();\n }\n }\n if (def.minLength !== null) {\n if (ctx.data.length < def.minLength.value) {\n (0, parseUtil_1.addIssueToContext)(ctx, {\n code: ZodError_1.ZodIssueCode.too_small,\n minimum: def.minLength.value,\n type: \"array\",\n inclusive: true,\n exact: false,\n message: def.minLength.message,\n });\n status.dirty();\n }\n }\n if (def.maxLength !== null) {\n if (ctx.data.length > def.maxLength.value) {\n (0, parseUtil_1.addIssueToContext)(ctx, {\n code: ZodError_1.ZodIssueCode.too_big,\n maximum: def.maxLength.value,\n type: \"array\",\n inclusive: true,\n exact: false,\n message: def.maxLength.message,\n });\n status.dirty();\n }\n }\n if (ctx.common.async) {\n return Promise.all([...ctx.data].map((item, i) => {\n return def.type._parseAsync(new ParseInputLazyPath(ctx, item, ctx.path, i));\n })).then((result) => {\n return parseUtil_1.ParseStatus.mergeArray(status, result);\n });\n }\n const result = [...ctx.data].map((item, i) => {\n return def.type._parseSync(new ParseInputLazyPath(ctx, item, ctx.path, i));\n });\n return parseUtil_1.ParseStatus.mergeArray(status, result);\n }\n get element() {\n return this._def.type;\n }\n min(minLength, message) {\n return new ZodArray({\n ...this._def,\n minLength: { value: minLength, message: errorUtil_1.errorUtil.toString(message) },\n });\n }\n max(maxLength, message) {\n return new ZodArray({\n ...this._def,\n maxLength: { value: maxLength, message: errorUtil_1.errorUtil.toString(message) },\n });\n }\n length(len, message) {\n return new ZodArray({\n ...this._def,\n exactLength: { value: len, message: errorUtil_1.errorUtil.toString(message) },\n });\n }\n nonempty(message) {\n return this.min(1, message);\n }\n}\nexports.ZodArray = ZodArray;\nZodArray.create = (schema, params) => {\n return new ZodArray({\n type: schema,\n minLength: null,\n maxLength: null,\n exactLength: null,\n typeName: ZodFirstPartyTypeKind.ZodArray,\n ...processCreateParams(params),\n });\n};\nfunction deepPartialify(schema) {\n if (schema instanceof ZodObject) {\n const newShape = {};\n for (const key in schema.shape) {\n const fieldSchema = schema.shape[key];\n newShape[key] = ZodOptional.create(deepPartialify(fieldSchema));\n }\n return new ZodObject({\n ...schema._def,\n shape: () => newShape,\n });\n }\n else if (schema instanceof ZodArray) {\n return new ZodArray({\n ...schema._def,\n type: deepPartialify(schema.element),\n });\n }\n else if (schema instanceof ZodOptional) {\n return ZodOptional.create(deepPartialify(schema.unwrap()));\n }\n else if (schema instanceof ZodNullable) {\n return ZodNullable.create(deepPartialify(schema.unwrap()));\n }\n else if (schema instanceof ZodTuple) {\n return ZodTuple.create(schema.items.map((item) => deepPartialify(item)));\n }\n else {\n return schema;\n }\n}\nclass ZodObject extends ZodType {\n constructor() {\n super(...arguments);\n this._cached = null;\n /**\n * @deprecated In most cases, this is no longer needed - unknown properties are now silently stripped.\n * If you want to pass through unknown properties, use `.passthrough()` instead.\n */\n this.nonstrict = this.passthrough;\n // extend<\n // Augmentation extends ZodRawShape,\n // NewOutput extends util.flatten<{\n // [k in keyof Augmentation | keyof Output]: k extends keyof Augmentation\n // ? Augmentation[k][\"_output\"]\n // : k extends keyof Output\n // ? Output[k]\n // : never;\n // }>,\n // NewInput extends util.flatten<{\n // [k in keyof Augmentation | keyof Input]: k extends keyof Augmentation\n // ? Augmentation[k][\"_input\"]\n // : k extends keyof Input\n // ? Input[k]\n // : never;\n // }>\n // >(\n // augmentation: Augmentation\n // ): ZodObject<\n // extendShape,\n // UnknownKeys,\n // Catchall,\n // NewOutput,\n // NewInput\n // > {\n // return new ZodObject({\n // ...this._def,\n // shape: () => ({\n // ...this._def.shape(),\n // ...augmentation,\n // }),\n // }) as any;\n // }\n /**\n * @deprecated Use `.extend` instead\n * */\n this.augment = this.extend;\n }\n _getCached() {\n if (this._cached !== null)\n return this._cached;\n const shape = this._def.shape();\n const keys = util_1.util.objectKeys(shape);\n return (this._cached = { shape, keys });\n }\n _parse(input) {\n const parsedType = this._getType(input);\n if (parsedType !== util_1.ZodParsedType.object) {\n const ctx = this._getOrReturnCtx(input);\n (0, parseUtil_1.addIssueToContext)(ctx, {\n code: ZodError_1.ZodIssueCode.invalid_type,\n expected: util_1.ZodParsedType.object,\n received: ctx.parsedType,\n });\n return parseUtil_1.INVALID;\n }\n const { status, ctx } = this._processInputParams(input);\n const { shape, keys: shapeKeys } = this._getCached();\n const extraKeys = [];\n if (!(this._def.catchall instanceof ZodNever &&\n this._def.unknownKeys === \"strip\")) {\n for (const key in ctx.data) {\n if (!shapeKeys.includes(key)) {\n extraKeys.push(key);\n }\n }\n }\n const pairs = [];\n for (const key of shapeKeys) {\n const keyValidator = shape[key];\n const value = ctx.data[key];\n pairs.push({\n key: { status: \"valid\", value: key },\n value: keyValidator._parse(new ParseInputLazyPath(ctx, value, ctx.path, key)),\n alwaysSet: key in ctx.data,\n });\n }\n if (this._def.catchall instanceof ZodNever) {\n const unknownKeys = this._def.unknownKeys;\n if (unknownKeys === \"passthrough\") {\n for (const key of extraKeys) {\n pairs.push({\n key: { status: \"valid\", value: key },\n value: { status: \"valid\", value: ctx.data[key] },\n });\n }\n }\n else if (unknownKeys === \"strict\") {\n if (extraKeys.length > 0) {\n (0, parseUtil_1.addIssueToContext)(ctx, {\n code: ZodError_1.ZodIssueCode.unrecognized_keys,\n keys: extraKeys,\n });\n status.dirty();\n }\n }\n else if (unknownKeys === \"strip\") {\n }\n else {\n throw new Error(`Internal ZodObject error: invalid unknownKeys value.`);\n }\n }\n else {\n // run catchall validation\n const catchall = this._def.catchall;\n for (const key of extraKeys) {\n const value = ctx.data[key];\n pairs.push({\n key: { status: \"valid\", value: key },\n value: catchall._parse(new ParseInputLazyPath(ctx, value, ctx.path, key) //, ctx.child(key), value, getParsedType(value)\n ),\n alwaysSet: key in ctx.data,\n });\n }\n }\n if (ctx.common.async) {\n return Promise.resolve()\n .then(async () => {\n const syncPairs = [];\n for (const pair of pairs) {\n const key = await pair.key;\n syncPairs.push({\n key,\n value: await pair.value,\n alwaysSet: pair.alwaysSet,\n });\n }\n return syncPairs;\n })\n .then((syncPairs) => {\n return parseUtil_1.ParseStatus.mergeObjectSync(status, syncPairs);\n });\n }\n else {\n return parseUtil_1.ParseStatus.mergeObjectSync(status, pairs);\n }\n }\n get shape() {\n return this._def.shape();\n }\n strict(message) {\n errorUtil_1.errorUtil.errToObj;\n return new ZodObject({\n ...this._def,\n unknownKeys: \"strict\",\n ...(message !== undefined\n ? {\n errorMap: (issue, ctx) => {\n var _a, _b, _c, _d;\n const defaultError = (_c = (_b = (_a = this._def).errorMap) === null || _b === void 0 ? void 0 : _b.call(_a, issue, ctx).message) !== null && _c !== void 0 ? _c : ctx.defaultError;\n if (issue.code === \"unrecognized_keys\")\n return {\n message: (_d = errorUtil_1.errorUtil.errToObj(message).message) !== null && _d !== void 0 ? _d : defaultError,\n };\n return {\n message: defaultError,\n };\n },\n }\n : {}),\n });\n }\n strip() {\n return new ZodObject({\n ...this._def,\n unknownKeys: \"strip\",\n });\n }\n passthrough() {\n return new ZodObject({\n ...this._def,\n unknownKeys: \"passthrough\",\n });\n }\n // const AugmentFactory =\n // (def: Def) =>\n // (\n // augmentation: Augmentation\n // ): ZodObject<\n // extendShape, Augmentation>,\n // Def[\"unknownKeys\"],\n // Def[\"catchall\"]\n // > => {\n // return new ZodObject({\n // ...def,\n // shape: () => ({\n // ...def.shape(),\n // ...augmentation,\n // }),\n // }) as any;\n // };\n extend(augmentation) {\n return new ZodObject({\n ...this._def,\n shape: () => ({\n ...this._def.shape(),\n ...augmentation,\n }),\n });\n }\n /**\n * Prior to zod@1.0.12 there was a bug in the\n * inferred type of merged objects. Please\n * upgrade if you are experiencing issues.\n */\n merge(merging) {\n const merged = new ZodObject({\n unknownKeys: merging._def.unknownKeys,\n catchall: merging._def.catchall,\n shape: () => ({\n ...this._def.shape(),\n ...merging._def.shape(),\n }),\n typeName: ZodFirstPartyTypeKind.ZodObject,\n });\n return merged;\n }\n // merge<\n // Incoming extends AnyZodObject,\n // Augmentation extends Incoming[\"shape\"],\n // NewOutput extends {\n // [k in keyof Augmentation | keyof Output]: k extends keyof Augmentation\n // ? Augmentation[k][\"_output\"]\n // : k extends keyof Output\n // ? Output[k]\n // : never;\n // },\n // NewInput extends {\n // [k in keyof Augmentation | keyof Input]: k extends keyof Augmentation\n // ? Augmentation[k][\"_input\"]\n // : k extends keyof Input\n // ? Input[k]\n // : never;\n // }\n // >(\n // merging: Incoming\n // ): ZodObject<\n // extendShape>,\n // Incoming[\"_def\"][\"unknownKeys\"],\n // Incoming[\"_def\"][\"catchall\"],\n // NewOutput,\n // NewInput\n // > {\n // const merged: any = new ZodObject({\n // unknownKeys: merging._def.unknownKeys,\n // catchall: merging._def.catchall,\n // shape: () =>\n // objectUtil.mergeShapes(this._def.shape(), merging._def.shape()),\n // typeName: ZodFirstPartyTypeKind.ZodObject,\n // }) as any;\n // return merged;\n // }\n setKey(key, schema) {\n return this.augment({ [key]: schema });\n }\n // merge(\n // merging: Incoming\n // ): //ZodObject = (merging) => {\n // ZodObject<\n // extendShape>,\n // Incoming[\"_def\"][\"unknownKeys\"],\n // Incoming[\"_def\"][\"catchall\"]\n // > {\n // // const mergedShape = objectUtil.mergeShapes(\n // // this._def.shape(),\n // // merging._def.shape()\n // // );\n // const merged: any = new ZodObject({\n // unknownKeys: merging._def.unknownKeys,\n // catchall: merging._def.catchall,\n // shape: () =>\n // objectUtil.mergeShapes(this._def.shape(), merging._def.shape()),\n // typeName: ZodFirstPartyTypeKind.ZodObject,\n // }) as any;\n // return merged;\n // }\n catchall(index) {\n return new ZodObject({\n ...this._def,\n catchall: index,\n });\n }\n pick(mask) {\n const shape = {};\n util_1.util.objectKeys(mask).forEach((key) => {\n if (mask[key] && this.shape[key]) {\n shape[key] = this.shape[key];\n }\n });\n return new ZodObject({\n ...this._def,\n shape: () => shape,\n });\n }\n omit(mask) {\n const shape = {};\n util_1.util.objectKeys(this.shape).forEach((key) => {\n if (!mask[key]) {\n shape[key] = this.shape[key];\n }\n });\n return new ZodObject({\n ...this._def,\n shape: () => shape,\n });\n }\n /**\n * @deprecated\n */\n deepPartial() {\n return deepPartialify(this);\n }\n partial(mask) {\n const newShape = {};\n util_1.util.objectKeys(this.shape).forEach((key) => {\n const fieldSchema = this.shape[key];\n if (mask && !mask[key]) {\n newShape[key] = fieldSchema;\n }\n else {\n newShape[key] = fieldSchema.optional();\n }\n });\n return new ZodObject({\n ...this._def,\n shape: () => newShape,\n });\n }\n required(mask) {\n const newShape = {};\n util_1.util.objectKeys(this.shape).forEach((key) => {\n if (mask && !mask[key]) {\n newShape[key] = this.shape[key];\n }\n else {\n const fieldSchema = this.shape[key];\n let newField = fieldSchema;\n while (newField instanceof ZodOptional) {\n newField = newField._def.innerType;\n }\n newShape[key] = newField;\n }\n });\n return new ZodObject({\n ...this._def,\n shape: () => newShape,\n });\n }\n keyof() {\n return createZodEnum(util_1.util.objectKeys(this.shape));\n }\n}\nexports.ZodObject = ZodObject;\nZodObject.create = (shape, params) => {\n return new ZodObject({\n shape: () => shape,\n unknownKeys: \"strip\",\n catchall: ZodNever.create(),\n typeName: ZodFirstPartyTypeKind.ZodObject,\n ...processCreateParams(params),\n });\n};\nZodObject.strictCreate = (shape, params) => {\n return new ZodObject({\n shape: () => shape,\n unknownKeys: \"strict\",\n catchall: ZodNever.create(),\n typeName: ZodFirstPartyTypeKind.ZodObject,\n ...processCreateParams(params),\n });\n};\nZodObject.lazycreate = (shape, params) => {\n return new ZodObject({\n shape,\n unknownKeys: \"strip\",\n catchall: ZodNever.create(),\n typeName: ZodFirstPartyTypeKind.ZodObject,\n ...processCreateParams(params),\n });\n};\nclass ZodUnion extends ZodType {\n _parse(input) {\n const { ctx } = this._processInputParams(input);\n const options = this._def.options;\n function handleResults(results) {\n // return first issue-free validation if it exists\n for (const result of results) {\n if (result.result.status === \"valid\") {\n return result.result;\n }\n }\n for (const result of results) {\n if (result.result.status === \"dirty\") {\n // add issues from dirty option\n ctx.common.issues.push(...result.ctx.common.issues);\n return result.result;\n }\n }\n // return invalid\n const unionErrors = results.map((result) => new ZodError_1.ZodError(result.ctx.common.issues));\n (0, parseUtil_1.addIssueToContext)(ctx, {\n code: ZodError_1.ZodIssueCode.invalid_union,\n unionErrors,\n });\n return parseUtil_1.INVALID;\n }\n if (ctx.common.async) {\n return Promise.all(options.map(async (option) => {\n const childCtx = {\n ...ctx,\n common: {\n ...ctx.common,\n issues: [],\n },\n parent: null,\n };\n return {\n result: await option._parseAsync({\n data: ctx.data,\n path: ctx.path,\n parent: childCtx,\n }),\n ctx: childCtx,\n };\n })).then(handleResults);\n }\n else {\n let dirty = undefined;\n const issues = [];\n for (const option of options) {\n const childCtx = {\n ...ctx,\n common: {\n ...ctx.common,\n issues: [],\n },\n parent: null,\n };\n const result = option._parseSync({\n data: ctx.data,\n path: ctx.path,\n parent: childCtx,\n });\n if (result.status === \"valid\") {\n return result;\n }\n else if (result.status === \"dirty\" && !dirty) {\n dirty = { result, ctx: childCtx };\n }\n if (childCtx.common.issues.length) {\n issues.push(childCtx.common.issues);\n }\n }\n if (dirty) {\n ctx.common.issues.push(...dirty.ctx.common.issues);\n return dirty.result;\n }\n const unionErrors = issues.map((issues) => new ZodError_1.ZodError(issues));\n (0, parseUtil_1.addIssueToContext)(ctx, {\n code: ZodError_1.ZodIssueCode.invalid_union,\n unionErrors,\n });\n return parseUtil_1.INVALID;\n }\n }\n get options() {\n return this._def.options;\n }\n}\nexports.ZodUnion = ZodUnion;\nZodUnion.create = (types, params) => {\n return new ZodUnion({\n options: types,\n typeName: ZodFirstPartyTypeKind.ZodUnion,\n ...processCreateParams(params),\n });\n};\n/////////////////////////////////////////////////////\n/////////////////////////////////////////////////////\n////////// //////////\n////////// ZodDiscriminatedUnion //////////\n////////// //////////\n/////////////////////////////////////////////////////\n/////////////////////////////////////////////////////\nconst getDiscriminator = (type) => {\n if (type instanceof ZodLazy) {\n return getDiscriminator(type.schema);\n }\n else if (type instanceof ZodEffects) {\n return getDiscriminator(type.innerType());\n }\n else if (type instanceof ZodLiteral) {\n return [type.value];\n }\n else if (type instanceof ZodEnum) {\n return type.options;\n }\n else if (type instanceof ZodNativeEnum) {\n // eslint-disable-next-line ban/ban\n return Object.keys(type.enum);\n }\n else if (type instanceof ZodDefault) {\n return getDiscriminator(type._def.innerType);\n }\n else if (type instanceof ZodUndefined) {\n return [undefined];\n }\n else if (type instanceof ZodNull) {\n return [null];\n }\n else {\n return null;\n }\n};\nclass ZodDiscriminatedUnion extends ZodType {\n _parse(input) {\n const { ctx } = this._processInputParams(input);\n if (ctx.parsedType !== util_1.ZodParsedType.object) {\n (0, parseUtil_1.addIssueToContext)(ctx, {\n code: ZodError_1.ZodIssueCode.invalid_type,\n expected: util_1.ZodParsedType.object,\n received: ctx.parsedType,\n });\n return parseUtil_1.INVALID;\n }\n const discriminator = this.discriminator;\n const discriminatorValue = ctx.data[discriminator];\n const option = this.optionsMap.get(discriminatorValue);\n if (!option) {\n (0, parseUtil_1.addIssueToContext)(ctx, {\n code: ZodError_1.ZodIssueCode.invalid_union_discriminator,\n options: Array.from(this.optionsMap.keys()),\n path: [discriminator],\n });\n return parseUtil_1.INVALID;\n }\n if (ctx.common.async) {\n return option._parseAsync({\n data: ctx.data,\n path: ctx.path,\n parent: ctx,\n });\n }\n else {\n return option._parseSync({\n data: ctx.data,\n path: ctx.path,\n parent: ctx,\n });\n }\n }\n get discriminator() {\n return this._def.discriminator;\n }\n get options() {\n return this._def.options;\n }\n get optionsMap() {\n return this._def.optionsMap;\n }\n /**\n * The constructor of the discriminated union schema. Its behaviour is very similar to that of the normal z.union() constructor.\n * However, it only allows a union of objects, all of which need to share a discriminator property. This property must\n * have a different value for each object in the union.\n * @param discriminator the name of the discriminator property\n * @param types an array of object schemas\n * @param params\n */\n static create(discriminator, options, params) {\n // Get all the valid discriminator values\n const optionsMap = new Map();\n // try {\n for (const type of options) {\n const discriminatorValues = getDiscriminator(type.shape[discriminator]);\n if (!discriminatorValues) {\n throw new Error(`A discriminator value for key \\`${discriminator}\\` could not be extracted from all schema options`);\n }\n for (const value of discriminatorValues) {\n if (optionsMap.has(value)) {\n throw new Error(`Discriminator property ${String(discriminator)} has duplicate value ${String(value)}`);\n }\n optionsMap.set(value, type);\n }\n }\n return new ZodDiscriminatedUnion({\n typeName: ZodFirstPartyTypeKind.ZodDiscriminatedUnion,\n discriminator,\n options,\n optionsMap,\n ...processCreateParams(params),\n });\n }\n}\nexports.ZodDiscriminatedUnion = ZodDiscriminatedUnion;\nfunction mergeValues(a, b) {\n const aType = (0, util_1.getParsedType)(a);\n const bType = (0, util_1.getParsedType)(b);\n if (a === b) {\n return { valid: true, data: a };\n }\n else if (aType === util_1.ZodParsedType.object && bType === util_1.ZodParsedType.object) {\n const bKeys = util_1.util.objectKeys(b);\n const sharedKeys = util_1.util\n .objectKeys(a)\n .filter((key) => bKeys.indexOf(key) !== -1);\n const newObj = { ...a, ...b };\n for (const key of sharedKeys) {\n const sharedValue = mergeValues(a[key], b[key]);\n if (!sharedValue.valid) {\n return { valid: false };\n }\n newObj[key] = sharedValue.data;\n }\n return { valid: true, data: newObj };\n }\n else if (aType === util_1.ZodParsedType.array && bType === util_1.ZodParsedType.array) {\n if (a.length !== b.length) {\n return { valid: false };\n }\n const newArray = [];\n for (let index = 0; index < a.length; index++) {\n const itemA = a[index];\n const itemB = b[index];\n const sharedValue = mergeValues(itemA, itemB);\n if (!sharedValue.valid) {\n return { valid: false };\n }\n newArray.push(sharedValue.data);\n }\n return { valid: true, data: newArray };\n }\n else if (aType === util_1.ZodParsedType.date &&\n bType === util_1.ZodParsedType.date &&\n +a === +b) {\n return { valid: true, data: a };\n }\n else {\n return { valid: false };\n }\n}\nclass ZodIntersection extends ZodType {\n _parse(input) {\n const { status, ctx } = this._processInputParams(input);\n const handleParsed = (parsedLeft, parsedRight) => {\n if ((0, parseUtil_1.isAborted)(parsedLeft) || (0, parseUtil_1.isAborted)(parsedRight)) {\n return parseUtil_1.INVALID;\n }\n const merged = mergeValues(parsedLeft.value, parsedRight.value);\n if (!merged.valid) {\n (0, parseUtil_1.addIssueToContext)(ctx, {\n code: ZodError_1.ZodIssueCode.invalid_intersection_types,\n });\n return parseUtil_1.INVALID;\n }\n if ((0, parseUtil_1.isDirty)(parsedLeft) || (0, parseUtil_1.isDirty)(parsedRight)) {\n status.dirty();\n }\n return { status: status.value, value: merged.data };\n };\n if (ctx.common.async) {\n return Promise.all([\n this._def.left._parseAsync({\n data: ctx.data,\n path: ctx.path,\n parent: ctx,\n }),\n this._def.right._parseAsync({\n data: ctx.data,\n path: ctx.path,\n parent: ctx,\n }),\n ]).then(([left, right]) => handleParsed(left, right));\n }\n else {\n return handleParsed(this._def.left._parseSync({\n data: ctx.data,\n path: ctx.path,\n parent: ctx,\n }), this._def.right._parseSync({\n data: ctx.data,\n path: ctx.path,\n parent: ctx,\n }));\n }\n }\n}\nexports.ZodIntersection = ZodIntersection;\nZodIntersection.create = (left, right, params) => {\n return new ZodIntersection({\n left: left,\n right: right,\n typeName: ZodFirstPartyTypeKind.ZodIntersection,\n ...processCreateParams(params),\n });\n};\nclass ZodTuple extends ZodType {\n _parse(input) {\n const { status, ctx } = this._processInputParams(input);\n if (ctx.parsedType !== util_1.ZodParsedType.array) {\n (0, parseUtil_1.addIssueToContext)(ctx, {\n code: ZodError_1.ZodIssueCode.invalid_type,\n expected: util_1.ZodParsedType.array,\n received: ctx.parsedType,\n });\n return parseUtil_1.INVALID;\n }\n if (ctx.data.length < this._def.items.length) {\n (0, parseUtil_1.addIssueToContext)(ctx, {\n code: ZodError_1.ZodIssueCode.too_small,\n minimum: this._def.items.length,\n inclusive: true,\n exact: false,\n type: \"array\",\n });\n return parseUtil_1.INVALID;\n }\n const rest = this._def.rest;\n if (!rest && ctx.data.length > this._def.items.length) {\n (0, parseUtil_1.addIssueToContext)(ctx, {\n code: ZodError_1.ZodIssueCode.too_big,\n maximum: this._def.items.length,\n inclusive: true,\n exact: false,\n type: \"array\",\n });\n status.dirty();\n }\n const items = [...ctx.data]\n .map((item, itemIndex) => {\n const schema = this._def.items[itemIndex] || this._def.rest;\n if (!schema)\n return null;\n return schema._parse(new ParseInputLazyPath(ctx, item, ctx.path, itemIndex));\n })\n .filter((x) => !!x); // filter nulls\n if (ctx.common.async) {\n return Promise.all(items).then((results) => {\n return parseUtil_1.ParseStatus.mergeArray(status, results);\n });\n }\n else {\n return parseUtil_1.ParseStatus.mergeArray(status, items);\n }\n }\n get items() {\n return this._def.items;\n }\n rest(rest) {\n return new ZodTuple({\n ...this._def,\n rest,\n });\n }\n}\nexports.ZodTuple = ZodTuple;\nZodTuple.create = (schemas, params) => {\n if (!Array.isArray(schemas)) {\n throw new Error(\"You must pass an array of schemas to z.tuple([ ... ])\");\n }\n return new ZodTuple({\n items: schemas,\n typeName: ZodFirstPartyTypeKind.ZodTuple,\n rest: null,\n ...processCreateParams(params),\n });\n};\nclass ZodRecord extends ZodType {\n get keySchema() {\n return this._def.keyType;\n }\n get valueSchema() {\n return this._def.valueType;\n }\n _parse(input) {\n const { status, ctx } = this._processInputParams(input);\n if (ctx.parsedType !== util_1.ZodParsedType.object) {\n (0, parseUtil_1.addIssueToContext)(ctx, {\n code: ZodError_1.ZodIssueCode.invalid_type,\n expected: util_1.ZodParsedType.object,\n received: ctx.parsedType,\n });\n return parseUtil_1.INVALID;\n }\n const pairs = [];\n const keyType = this._def.keyType;\n const valueType = this._def.valueType;\n for (const key in ctx.data) {\n pairs.push({\n key: keyType._parse(new ParseInputLazyPath(ctx, key, ctx.path, key)),\n value: valueType._parse(new ParseInputLazyPath(ctx, ctx.data[key], ctx.path, key)),\n });\n }\n if (ctx.common.async) {\n return parseUtil_1.ParseStatus.mergeObjectAsync(status, pairs);\n }\n else {\n return parseUtil_1.ParseStatus.mergeObjectSync(status, pairs);\n }\n }\n get element() {\n return this._def.valueType;\n }\n static create(first, second, third) {\n if (second instanceof ZodType) {\n return new ZodRecord({\n keyType: first,\n valueType: second,\n typeName: ZodFirstPartyTypeKind.ZodRecord,\n ...processCreateParams(third),\n });\n }\n return new ZodRecord({\n keyType: ZodString.create(),\n valueType: first,\n typeName: ZodFirstPartyTypeKind.ZodRecord,\n ...processCreateParams(second),\n });\n }\n}\nexports.ZodRecord = ZodRecord;\nclass ZodMap extends ZodType {\n get keySchema() {\n return this._def.keyType;\n }\n get valueSchema() {\n return this._def.valueType;\n }\n _parse(input) {\n const { status, ctx } = this._processInputParams(input);\n if (ctx.parsedType !== util_1.ZodParsedType.map) {\n (0, parseUtil_1.addIssueToContext)(ctx, {\n code: ZodError_1.ZodIssueCode.invalid_type,\n expected: util_1.ZodParsedType.map,\n received: ctx.parsedType,\n });\n return parseUtil_1.INVALID;\n }\n const keyType = this._def.keyType;\n const valueType = this._def.valueType;\n const pairs = [...ctx.data.entries()].map(([key, value], index) => {\n return {\n key: keyType._parse(new ParseInputLazyPath(ctx, key, ctx.path, [index, \"key\"])),\n value: valueType._parse(new ParseInputLazyPath(ctx, value, ctx.path, [index, \"value\"])),\n };\n });\n if (ctx.common.async) {\n const finalMap = new Map();\n return Promise.resolve().then(async () => {\n for (const pair of pairs) {\n const key = await pair.key;\n const value = await pair.value;\n if (key.status === \"aborted\" || value.status === \"aborted\") {\n return parseUtil_1.INVALID;\n }\n if (key.status === \"dirty\" || value.status === \"dirty\") {\n status.dirty();\n }\n finalMap.set(key.value, value.value);\n }\n return { status: status.value, value: finalMap };\n });\n }\n else {\n const finalMap = new Map();\n for (const pair of pairs) {\n const key = pair.key;\n const value = pair.value;\n if (key.status === \"aborted\" || value.status === \"aborted\") {\n return parseUtil_1.INVALID;\n }\n if (key.status === \"dirty\" || value.status === \"dirty\") {\n status.dirty();\n }\n finalMap.set(key.value, value.value);\n }\n return { status: status.value, value: finalMap };\n }\n }\n}\nexports.ZodMap = ZodMap;\nZodMap.create = (keyType, valueType, params) => {\n return new ZodMap({\n valueType,\n keyType,\n typeName: ZodFirstPartyTypeKind.ZodMap,\n ...processCreateParams(params),\n });\n};\nclass ZodSet extends ZodType {\n _parse(input) {\n const { status, ctx } = this._processInputParams(input);\n if (ctx.parsedType !== util_1.ZodParsedType.set) {\n (0, parseUtil_1.addIssueToContext)(ctx, {\n code: ZodError_1.ZodIssueCode.invalid_type,\n expected: util_1.ZodParsedType.set,\n received: ctx.parsedType,\n });\n return parseUtil_1.INVALID;\n }\n const def = this._def;\n if (def.minSize !== null) {\n if (ctx.data.size < def.minSize.value) {\n (0, parseUtil_1.addIssueToContext)(ctx, {\n code: ZodError_1.ZodIssueCode.too_small,\n minimum: def.minSize.value,\n type: \"set\",\n inclusive: true,\n exact: false,\n message: def.minSize.message,\n });\n status.dirty();\n }\n }\n if (def.maxSize !== null) {\n if (ctx.data.size > def.maxSize.value) {\n (0, parseUtil_1.addIssueToContext)(ctx, {\n code: ZodError_1.ZodIssueCode.too_big,\n maximum: def.maxSize.value,\n type: \"set\",\n inclusive: true,\n exact: false,\n message: def.maxSize.message,\n });\n status.dirty();\n }\n }\n const valueType = this._def.valueType;\n function finalizeSet(elements) {\n const parsedSet = new Set();\n for (const element of elements) {\n if (element.status === \"aborted\")\n return parseUtil_1.INVALID;\n if (element.status === \"dirty\")\n status.dirty();\n parsedSet.add(element.value);\n }\n return { status: status.value, value: parsedSet };\n }\n const elements = [...ctx.data.values()].map((item, i) => valueType._parse(new ParseInputLazyPath(ctx, item, ctx.path, i)));\n if (ctx.common.async) {\n return Promise.all(elements).then((elements) => finalizeSet(elements));\n }\n else {\n return finalizeSet(elements);\n }\n }\n min(minSize, message) {\n return new ZodSet({\n ...this._def,\n minSize: { value: minSize, message: errorUtil_1.errorUtil.toString(message) },\n });\n }\n max(maxSize, message) {\n return new ZodSet({\n ...this._def,\n maxSize: { value: maxSize, message: errorUtil_1.errorUtil.toString(message) },\n });\n }\n size(size, message) {\n return this.min(size, message).max(size, message);\n }\n nonempty(message) {\n return this.min(1, message);\n }\n}\nexports.ZodSet = ZodSet;\nZodSet.create = (valueType, params) => {\n return new ZodSet({\n valueType,\n minSize: null,\n maxSize: null,\n typeName: ZodFirstPartyTypeKind.ZodSet,\n ...processCreateParams(params),\n });\n};\nclass ZodFunction extends ZodType {\n constructor() {\n super(...arguments);\n this.validate = this.implement;\n }\n _parse(input) {\n const { ctx } = this._processInputParams(input);\n if (ctx.parsedType !== util_1.ZodParsedType.function) {\n (0, parseUtil_1.addIssueToContext)(ctx, {\n code: ZodError_1.ZodIssueCode.invalid_type,\n expected: util_1.ZodParsedType.function,\n received: ctx.parsedType,\n });\n return parseUtil_1.INVALID;\n }\n function makeArgsIssue(args, error) {\n return (0, parseUtil_1.makeIssue)({\n data: args,\n path: ctx.path,\n errorMaps: [\n ctx.common.contextualErrorMap,\n ctx.schemaErrorMap,\n (0, errors_1.getErrorMap)(),\n errors_1.defaultErrorMap,\n ].filter((x) => !!x),\n issueData: {\n code: ZodError_1.ZodIssueCode.invalid_arguments,\n argumentsError: error,\n },\n });\n }\n function makeReturnsIssue(returns, error) {\n return (0, parseUtil_1.makeIssue)({\n data: returns,\n path: ctx.path,\n errorMaps: [\n ctx.common.contextualErrorMap,\n ctx.schemaErrorMap,\n (0, errors_1.getErrorMap)(),\n errors_1.defaultErrorMap,\n ].filter((x) => !!x),\n issueData: {\n code: ZodError_1.ZodIssueCode.invalid_return_type,\n returnTypeError: error,\n },\n });\n }\n const params = { errorMap: ctx.common.contextualErrorMap };\n const fn = ctx.data;\n if (this._def.returns instanceof ZodPromise) {\n // Would love a way to avoid disabling this rule, but we need\n // an alias (using an arrow function was what caused 2651).\n // eslint-disable-next-line @typescript-eslint/no-this-alias\n const me = this;\n return (0, parseUtil_1.OK)(async function (...args) {\n const error = new ZodError_1.ZodError([]);\n const parsedArgs = await me._def.args\n .parseAsync(args, params)\n .catch((e) => {\n error.addIssue(makeArgsIssue(args, e));\n throw error;\n });\n const result = await Reflect.apply(fn, this, parsedArgs);\n const parsedReturns = await me._def.returns._def.type\n .parseAsync(result, params)\n .catch((e) => {\n error.addIssue(makeReturnsIssue(result, e));\n throw error;\n });\n return parsedReturns;\n });\n }\n else {\n // Would love a way to avoid disabling this rule, but we need\n // an alias (using an arrow function was what caused 2651).\n // eslint-disable-next-line @typescript-eslint/no-this-alias\n const me = this;\n return (0, parseUtil_1.OK)(function (...args) {\n const parsedArgs = me._def.args.safeParse(args, params);\n if (!parsedArgs.success) {\n throw new ZodError_1.ZodError([makeArgsIssue(args, parsedArgs.error)]);\n }\n const result = Reflect.apply(fn, this, parsedArgs.data);\n const parsedReturns = me._def.returns.safeParse(result, params);\n if (!parsedReturns.success) {\n throw new ZodError_1.ZodError([makeReturnsIssue(result, parsedReturns.error)]);\n }\n return parsedReturns.data;\n });\n }\n }\n parameters() {\n return this._def.args;\n }\n returnType() {\n return this._def.returns;\n }\n args(...items) {\n return new ZodFunction({\n ...this._def,\n args: ZodTuple.create(items).rest(ZodUnknown.create()),\n });\n }\n returns(returnType) {\n return new ZodFunction({\n ...this._def,\n returns: returnType,\n });\n }\n implement(func) {\n const validatedFunc = this.parse(func);\n return validatedFunc;\n }\n strictImplement(func) {\n const validatedFunc = this.parse(func);\n return validatedFunc;\n }\n static create(args, returns, params) {\n return new ZodFunction({\n args: (args\n ? args\n : ZodTuple.create([]).rest(ZodUnknown.create())),\n returns: returns || ZodUnknown.create(),\n typeName: ZodFirstPartyTypeKind.ZodFunction,\n ...processCreateParams(params),\n });\n }\n}\nexports.ZodFunction = ZodFunction;\nclass ZodLazy extends ZodType {\n get schema() {\n return this._def.getter();\n }\n _parse(input) {\n const { ctx } = this._processInputParams(input);\n const lazySchema = this._def.getter();\n return lazySchema._parse({ data: ctx.data, path: ctx.path, parent: ctx });\n }\n}\nexports.ZodLazy = ZodLazy;\nZodLazy.create = (getter, params) => {\n return new ZodLazy({\n getter: getter,\n typeName: ZodFirstPartyTypeKind.ZodLazy,\n ...processCreateParams(params),\n });\n};\nclass ZodLiteral extends ZodType {\n _parse(input) {\n if (input.data !== this._def.value) {\n const ctx = this._getOrReturnCtx(input);\n (0, parseUtil_1.addIssueToContext)(ctx, {\n received: ctx.data,\n code: ZodError_1.ZodIssueCode.invalid_literal,\n expected: this._def.value,\n });\n return parseUtil_1.INVALID;\n }\n return { status: \"valid\", value: input.data };\n }\n get value() {\n return this._def.value;\n }\n}\nexports.ZodLiteral = ZodLiteral;\nZodLiteral.create = (value, params) => {\n return new ZodLiteral({\n value: value,\n typeName: ZodFirstPartyTypeKind.ZodLiteral,\n ...processCreateParams(params),\n });\n};\nfunction createZodEnum(values, params) {\n return new ZodEnum({\n values,\n typeName: ZodFirstPartyTypeKind.ZodEnum,\n ...processCreateParams(params),\n });\n}\nclass ZodEnum extends ZodType {\n _parse(input) {\n if (typeof input.data !== \"string\") {\n const ctx = this._getOrReturnCtx(input);\n const expectedValues = this._def.values;\n (0, parseUtil_1.addIssueToContext)(ctx, {\n expected: util_1.util.joinValues(expectedValues),\n received: ctx.parsedType,\n code: ZodError_1.ZodIssueCode.invalid_type,\n });\n return parseUtil_1.INVALID;\n }\n if (this._def.values.indexOf(input.data) === -1) {\n const ctx = this._getOrReturnCtx(input);\n const expectedValues = this._def.values;\n (0, parseUtil_1.addIssueToContext)(ctx, {\n received: ctx.data,\n code: ZodError_1.ZodIssueCode.invalid_enum_value,\n options: expectedValues,\n });\n return parseUtil_1.INVALID;\n }\n return (0, parseUtil_1.OK)(input.data);\n }\n get options() {\n return this._def.values;\n }\n get enum() {\n const enumValues = {};\n for (const val of this._def.values) {\n enumValues[val] = val;\n }\n return enumValues;\n }\n get Values() {\n const enumValues = {};\n for (const val of this._def.values) {\n enumValues[val] = val;\n }\n return enumValues;\n }\n get Enum() {\n const enumValues = {};\n for (const val of this._def.values) {\n enumValues[val] = val;\n }\n return enumValues;\n }\n extract(values) {\n return ZodEnum.create(values);\n }\n exclude(values) {\n return ZodEnum.create(this.options.filter((opt) => !values.includes(opt)));\n }\n}\nexports.ZodEnum = ZodEnum;\nZodEnum.create = createZodEnum;\nclass ZodNativeEnum extends ZodType {\n _parse(input) {\n const nativeEnumValues = util_1.util.getValidEnumValues(this._def.values);\n const ctx = this._getOrReturnCtx(input);\n if (ctx.parsedType !== util_1.ZodParsedType.string &&\n ctx.parsedType !== util_1.ZodParsedType.number) {\n const expectedValues = util_1.util.objectValues(nativeEnumValues);\n (0, parseUtil_1.addIssueToContext)(ctx, {\n expected: util_1.util.joinValues(expectedValues),\n received: ctx.parsedType,\n code: ZodError_1.ZodIssueCode.invalid_type,\n });\n return parseUtil_1.INVALID;\n }\n if (nativeEnumValues.indexOf(input.data) === -1) {\n const expectedValues = util_1.util.objectValues(nativeEnumValues);\n (0, parseUtil_1.addIssueToContext)(ctx, {\n received: ctx.data,\n code: ZodError_1.ZodIssueCode.invalid_enum_value,\n options: expectedValues,\n });\n return parseUtil_1.INVALID;\n }\n return (0, parseUtil_1.OK)(input.data);\n }\n get enum() {\n return this._def.values;\n }\n}\nexports.ZodNativeEnum = ZodNativeEnum;\nZodNativeEnum.create = (values, params) => {\n return new ZodNativeEnum({\n values: values,\n typeName: ZodFirstPartyTypeKind.ZodNativeEnum,\n ...processCreateParams(params),\n });\n};\nclass ZodPromise extends ZodType {\n unwrap() {\n return this._def.type;\n }\n _parse(input) {\n const { ctx } = this._processInputParams(input);\n if (ctx.parsedType !== util_1.ZodParsedType.promise &&\n ctx.common.async === false) {\n (0, parseUtil_1.addIssueToContext)(ctx, {\n code: ZodError_1.ZodIssueCode.invalid_type,\n expected: util_1.ZodParsedType.promise,\n received: ctx.parsedType,\n });\n return parseUtil_1.INVALID;\n }\n const promisified = ctx.parsedType === util_1.ZodParsedType.promise\n ? ctx.data\n : Promise.resolve(ctx.data);\n return (0, parseUtil_1.OK)(promisified.then((data) => {\n return this._def.type.parseAsync(data, {\n path: ctx.path,\n errorMap: ctx.common.contextualErrorMap,\n });\n }));\n }\n}\nexports.ZodPromise = ZodPromise;\nZodPromise.create = (schema, params) => {\n return new ZodPromise({\n type: schema,\n typeName: ZodFirstPartyTypeKind.ZodPromise,\n ...processCreateParams(params),\n });\n};\nclass ZodEffects extends ZodType {\n innerType() {\n return this._def.schema;\n }\n sourceType() {\n return this._def.schema._def.typeName === ZodFirstPartyTypeKind.ZodEffects\n ? this._def.schema.sourceType()\n : this._def.schema;\n }\n _parse(input) {\n const { status, ctx } = this._processInputParams(input);\n const effect = this._def.effect || null;\n const checkCtx = {\n addIssue: (arg) => {\n (0, parseUtil_1.addIssueToContext)(ctx, arg);\n if (arg.fatal) {\n status.abort();\n }\n else {\n status.dirty();\n }\n },\n get path() {\n return ctx.path;\n },\n };\n checkCtx.addIssue = checkCtx.addIssue.bind(checkCtx);\n if (effect.type === \"preprocess\") {\n const processed = effect.transform(ctx.data, checkCtx);\n if (ctx.common.issues.length) {\n return {\n status: \"dirty\",\n value: ctx.data,\n };\n }\n if (ctx.common.async) {\n return Promise.resolve(processed).then((processed) => {\n return this._def.schema._parseAsync({\n data: processed,\n path: ctx.path,\n parent: ctx,\n });\n });\n }\n else {\n return this._def.schema._parseSync({\n data: processed,\n path: ctx.path,\n parent: ctx,\n });\n }\n }\n if (effect.type === \"refinement\") {\n const executeRefinement = (acc\n // effect: RefinementEffect\n ) => {\n const result = effect.refinement(acc, checkCtx);\n if (ctx.common.async) {\n return Promise.resolve(result);\n }\n if (result instanceof Promise) {\n throw new Error(\"Async refinement encountered during synchronous parse operation. Use .parseAsync instead.\");\n }\n return acc;\n };\n if (ctx.common.async === false) {\n const inner = this._def.schema._parseSync({\n data: ctx.data,\n path: ctx.path,\n parent: ctx,\n });\n if (inner.status === \"aborted\")\n return parseUtil_1.INVALID;\n if (inner.status === \"dirty\")\n status.dirty();\n // return value is ignored\n executeRefinement(inner.value);\n return { status: status.value, value: inner.value };\n }\n else {\n return this._def.schema\n ._parseAsync({ data: ctx.data, path: ctx.path, parent: ctx })\n .then((inner) => {\n if (inner.status === \"aborted\")\n return parseUtil_1.INVALID;\n if (inner.status === \"dirty\")\n status.dirty();\n return executeRefinement(inner.value).then(() => {\n return { status: status.value, value: inner.value };\n });\n });\n }\n }\n if (effect.type === \"transform\") {\n if (ctx.common.async === false) {\n const base = this._def.schema._parseSync({\n data: ctx.data,\n path: ctx.path,\n parent: ctx,\n });\n if (!(0, parseUtil_1.isValid)(base))\n return base;\n const result = effect.transform(base.value, checkCtx);\n if (result instanceof Promise) {\n throw new Error(`Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.`);\n }\n return { status: status.value, value: result };\n }\n else {\n return this._def.schema\n ._parseAsync({ data: ctx.data, path: ctx.path, parent: ctx })\n .then((base) => {\n if (!(0, parseUtil_1.isValid)(base))\n return base;\n return Promise.resolve(effect.transform(base.value, checkCtx)).then((result) => ({ status: status.value, value: result }));\n });\n }\n }\n util_1.util.assertNever(effect);\n }\n}\nexports.ZodEffects = ZodEffects;\nexports.ZodTransformer = ZodEffects;\nZodEffects.create = (schema, effect, params) => {\n return new ZodEffects({\n schema,\n typeName: ZodFirstPartyTypeKind.ZodEffects,\n effect,\n ...processCreateParams(params),\n });\n};\nZodEffects.createWithPreprocess = (preprocess, schema, params) => {\n return new ZodEffects({\n schema,\n effect: { type: \"preprocess\", transform: preprocess },\n typeName: ZodFirstPartyTypeKind.ZodEffects,\n ...processCreateParams(params),\n });\n};\nclass ZodOptional extends ZodType {\n _parse(input) {\n const parsedType = this._getType(input);\n if (parsedType === util_1.ZodParsedType.undefined) {\n return (0, parseUtil_1.OK)(undefined);\n }\n return this._def.innerType._parse(input);\n }\n unwrap() {\n return this._def.innerType;\n }\n}\nexports.ZodOptional = ZodOptional;\nZodOptional.create = (type, params) => {\n return new ZodOptional({\n innerType: type,\n typeName: ZodFirstPartyTypeKind.ZodOptional,\n ...processCreateParams(params),\n });\n};\nclass ZodNullable extends ZodType {\n _parse(input) {\n const parsedType = this._getType(input);\n if (parsedType === util_1.ZodParsedType.null) {\n return (0, parseUtil_1.OK)(null);\n }\n return this._def.innerType._parse(input);\n }\n unwrap() {\n return this._def.innerType;\n }\n}\nexports.ZodNullable = ZodNullable;\nZodNullable.create = (type, params) => {\n return new ZodNullable({\n innerType: type,\n typeName: ZodFirstPartyTypeKind.ZodNullable,\n ...processCreateParams(params),\n });\n};\nclass ZodDefault extends ZodType {\n _parse(input) {\n const { ctx } = this._processInputParams(input);\n let data = ctx.data;\n if (ctx.parsedType === util_1.ZodParsedType.undefined) {\n data = this._def.defaultValue();\n }\n return this._def.innerType._parse({\n data,\n path: ctx.path,\n parent: ctx,\n });\n }\n removeDefault() {\n return this._def.innerType;\n }\n}\nexports.ZodDefault = ZodDefault;\nZodDefault.create = (type, params) => {\n return new ZodDefault({\n innerType: type,\n typeName: ZodFirstPartyTypeKind.ZodDefault,\n defaultValue: typeof params.default === \"function\"\n ? params.default\n : () => params.default,\n ...processCreateParams(params),\n });\n};\nclass ZodCatch extends ZodType {\n _parse(input) {\n const { ctx } = this._processInputParams(input);\n // newCtx is used to not collect issues from inner types in ctx\n const newCtx = {\n ...ctx,\n common: {\n ...ctx.common,\n issues: [],\n },\n };\n const result = this._def.innerType._parse({\n data: newCtx.data,\n path: newCtx.path,\n parent: {\n ...newCtx,\n },\n });\n if ((0, parseUtil_1.isAsync)(result)) {\n return result.then((result) => {\n return {\n status: \"valid\",\n value: result.status === \"valid\"\n ? result.value\n : this._def.catchValue({\n get error() {\n return new ZodError_1.ZodError(newCtx.common.issues);\n },\n input: newCtx.data,\n }),\n };\n });\n }\n else {\n return {\n status: \"valid\",\n value: result.status === \"valid\"\n ? result.value\n : this._def.catchValue({\n get error() {\n return new ZodError_1.ZodError(newCtx.common.issues);\n },\n input: newCtx.data,\n }),\n };\n }\n }\n removeCatch() {\n return this._def.innerType;\n }\n}\nexports.ZodCatch = ZodCatch;\nZodCatch.create = (type, params) => {\n return new ZodCatch({\n innerType: type,\n typeName: ZodFirstPartyTypeKind.ZodCatch,\n catchValue: typeof params.catch === \"function\" ? params.catch : () => params.catch,\n ...processCreateParams(params),\n });\n};\nclass ZodNaN extends ZodType {\n _parse(input) {\n const parsedType = this._getType(input);\n if (parsedType !== util_1.ZodParsedType.nan) {\n const ctx = this._getOrReturnCtx(input);\n (0, parseUtil_1.addIssueToContext)(ctx, {\n code: ZodError_1.ZodIssueCode.invalid_type,\n expected: util_1.ZodParsedType.nan,\n received: ctx.parsedType,\n });\n return parseUtil_1.INVALID;\n }\n return { status: \"valid\", value: input.data };\n }\n}\nexports.ZodNaN = ZodNaN;\nZodNaN.create = (params) => {\n return new ZodNaN({\n typeName: ZodFirstPartyTypeKind.ZodNaN,\n ...processCreateParams(params),\n });\n};\nexports.BRAND = Symbol(\"zod_brand\");\nclass ZodBranded extends ZodType {\n _parse(input) {\n const { ctx } = this._processInputParams(input);\n const data = ctx.data;\n return this._def.type._parse({\n data,\n path: ctx.path,\n parent: ctx,\n });\n }\n unwrap() {\n return this._def.type;\n }\n}\nexports.ZodBranded = ZodBranded;\nclass ZodPipeline extends ZodType {\n _parse(input) {\n const { status, ctx } = this._processInputParams(input);\n if (ctx.common.async) {\n const handleAsync = async () => {\n const inResult = await this._def.in._parseAsync({\n data: ctx.data,\n path: ctx.path,\n parent: ctx,\n });\n if (inResult.status === \"aborted\")\n return parseUtil_1.INVALID;\n if (inResult.status === \"dirty\") {\n status.dirty();\n return (0, parseUtil_1.DIRTY)(inResult.value);\n }\n else {\n return this._def.out._parseAsync({\n data: inResult.value,\n path: ctx.path,\n parent: ctx,\n });\n }\n };\n return handleAsync();\n }\n else {\n const inResult = this._def.in._parseSync({\n data: ctx.data,\n path: ctx.path,\n parent: ctx,\n });\n if (inResult.status === \"aborted\")\n return parseUtil_1.INVALID;\n if (inResult.status === \"dirty\") {\n status.dirty();\n return {\n status: \"dirty\",\n value: inResult.value,\n };\n }\n else {\n return this._def.out._parseSync({\n data: inResult.value,\n path: ctx.path,\n parent: ctx,\n });\n }\n }\n }\n static create(a, b) {\n return new ZodPipeline({\n in: a,\n out: b,\n typeName: ZodFirstPartyTypeKind.ZodPipeline,\n });\n }\n}\nexports.ZodPipeline = ZodPipeline;\nclass ZodReadonly extends ZodType {\n _parse(input) {\n const result = this._def.innerType._parse(input);\n if ((0, parseUtil_1.isValid)(result)) {\n result.value = Object.freeze(result.value);\n }\n return result;\n }\n}\nexports.ZodReadonly = ZodReadonly;\nZodReadonly.create = (type, params) => {\n return new ZodReadonly({\n innerType: type,\n typeName: ZodFirstPartyTypeKind.ZodReadonly,\n ...processCreateParams(params),\n });\n};\nconst custom = (check, params = {}, \n/**\n * @deprecated\n *\n * Pass `fatal` into the params object instead:\n *\n * ```ts\n * z.string().custom((val) => val.length > 5, { fatal: false })\n * ```\n *\n */\nfatal) => {\n if (check)\n return ZodAny.create().superRefine((data, ctx) => {\n var _a, _b;\n if (!check(data)) {\n const p = typeof params === \"function\"\n ? params(data)\n : typeof params === \"string\"\n ? { message: params }\n : params;\n const _fatal = (_b = (_a = p.fatal) !== null && _a !== void 0 ? _a : fatal) !== null && _b !== void 0 ? _b : true;\n const p2 = typeof p === \"string\" ? { message: p } : p;\n ctx.addIssue({ code: \"custom\", ...p2, fatal: _fatal });\n }\n });\n return ZodAny.create();\n};\nexports.custom = custom;\nexports.late = {\n object: ZodObject.lazycreate,\n};\nvar ZodFirstPartyTypeKind;\n(function (ZodFirstPartyTypeKind) {\n ZodFirstPartyTypeKind[\"ZodString\"] = \"ZodString\";\n ZodFirstPartyTypeKind[\"ZodNumber\"] = \"ZodNumber\";\n ZodFirstPartyTypeKind[\"ZodNaN\"] = \"ZodNaN\";\n ZodFirstPartyTypeKind[\"ZodBigInt\"] = \"ZodBigInt\";\n ZodFirstPartyTypeKind[\"ZodBoolean\"] = \"ZodBoolean\";\n ZodFirstPartyTypeKind[\"ZodDate\"] = \"ZodDate\";\n ZodFirstPartyTypeKind[\"ZodSymbol\"] = \"ZodSymbol\";\n ZodFirstPartyTypeKind[\"ZodUndefined\"] = \"ZodUndefined\";\n ZodFirstPartyTypeKind[\"ZodNull\"] = \"ZodNull\";\n ZodFirstPartyTypeKind[\"ZodAny\"] = \"ZodAny\";\n ZodFirstPartyTypeKind[\"ZodUnknown\"] = \"ZodUnknown\";\n ZodFirstPartyTypeKind[\"ZodNever\"] = \"ZodNever\";\n ZodFirstPartyTypeKind[\"ZodVoid\"] = \"ZodVoid\";\n ZodFirstPartyTypeKind[\"ZodArray\"] = \"ZodArray\";\n ZodFirstPartyTypeKind[\"ZodObject\"] = \"ZodObject\";\n ZodFirstPartyTypeKind[\"ZodUnion\"] = \"ZodUnion\";\n ZodFirstPartyTypeKind[\"ZodDiscriminatedUnion\"] = \"ZodDiscriminatedUnion\";\n ZodFirstPartyTypeKind[\"ZodIntersection\"] = \"ZodIntersection\";\n ZodFirstPartyTypeKind[\"ZodTuple\"] = \"ZodTuple\";\n ZodFirstPartyTypeKind[\"ZodRecord\"] = \"ZodRecord\";\n ZodFirstPartyTypeKind[\"ZodMap\"] = \"ZodMap\";\n ZodFirstPartyTypeKind[\"ZodSet\"] = \"ZodSet\";\n ZodFirstPartyTypeKind[\"ZodFunction\"] = \"ZodFunction\";\n ZodFirstPartyTypeKind[\"ZodLazy\"] = \"ZodLazy\";\n ZodFirstPartyTypeKind[\"ZodLiteral\"] = \"ZodLiteral\";\n ZodFirstPartyTypeKind[\"ZodEnum\"] = \"ZodEnum\";\n ZodFirstPartyTypeKind[\"ZodEffects\"] = \"ZodEffects\";\n ZodFirstPartyTypeKind[\"ZodNativeEnum\"] = \"ZodNativeEnum\";\n ZodFirstPartyTypeKind[\"ZodOptional\"] = \"ZodOptional\";\n ZodFirstPartyTypeKind[\"ZodNullable\"] = \"ZodNullable\";\n ZodFirstPartyTypeKind[\"ZodDefault\"] = \"ZodDefault\";\n ZodFirstPartyTypeKind[\"ZodCatch\"] = \"ZodCatch\";\n ZodFirstPartyTypeKind[\"ZodPromise\"] = \"ZodPromise\";\n ZodFirstPartyTypeKind[\"ZodBranded\"] = \"ZodBranded\";\n ZodFirstPartyTypeKind[\"ZodPipeline\"] = \"ZodPipeline\";\n ZodFirstPartyTypeKind[\"ZodReadonly\"] = \"ZodReadonly\";\n})(ZodFirstPartyTypeKind = exports.ZodFirstPartyTypeKind || (exports.ZodFirstPartyTypeKind = {}));\n// requires TS 4.4+\nclass Class {\n constructor(..._) { }\n}\nconst instanceOfType = (\n// const instanceOfType = any>(\ncls, params = {\n message: `Input not instance of ${cls.name}`,\n}) => (0, exports.custom)((data) => data instanceof cls, params);\nexports.instanceof = instanceOfType;\nconst stringType = ZodString.create;\nexports.string = stringType;\nconst numberType = ZodNumber.create;\nexports.number = numberType;\nconst nanType = ZodNaN.create;\nexports.nan = nanType;\nconst bigIntType = ZodBigInt.create;\nexports.bigint = bigIntType;\nconst booleanType = ZodBoolean.create;\nexports.boolean = booleanType;\nconst dateType = ZodDate.create;\nexports.date = dateType;\nconst symbolType = ZodSymbol.create;\nexports.symbol = symbolType;\nconst undefinedType = ZodUndefined.create;\nexports.undefined = undefinedType;\nconst nullType = ZodNull.create;\nexports.null = nullType;\nconst anyType = ZodAny.create;\nexports.any = anyType;\nconst unknownType = ZodUnknown.create;\nexports.unknown = unknownType;\nconst neverType = ZodNever.create;\nexports.never = neverType;\nconst voidType = ZodVoid.create;\nexports.void = voidType;\nconst arrayType = ZodArray.create;\nexports.array = arrayType;\nconst objectType = ZodObject.create;\nexports.object = objectType;\nconst strictObjectType = ZodObject.strictCreate;\nexports.strictObject = strictObjectType;\nconst unionType = ZodUnion.create;\nexports.union = unionType;\nconst discriminatedUnionType = ZodDiscriminatedUnion.create;\nexports.discriminatedUnion = discriminatedUnionType;\nconst intersectionType = ZodIntersection.create;\nexports.intersection = intersectionType;\nconst tupleType = ZodTuple.create;\nexports.tuple = tupleType;\nconst recordType = ZodRecord.create;\nexports.record = recordType;\nconst mapType = ZodMap.create;\nexports.map = mapType;\nconst setType = ZodSet.create;\nexports.set = setType;\nconst functionType = ZodFunction.create;\nexports.function = functionType;\nconst lazyType = ZodLazy.create;\nexports.lazy = lazyType;\nconst literalType = ZodLiteral.create;\nexports.literal = literalType;\nconst enumType = ZodEnum.create;\nexports.enum = enumType;\nconst nativeEnumType = ZodNativeEnum.create;\nexports.nativeEnum = nativeEnumType;\nconst promiseType = ZodPromise.create;\nexports.promise = promiseType;\nconst effectsType = ZodEffects.create;\nexports.effect = effectsType;\nexports.transformer = effectsType;\nconst optionalType = ZodOptional.create;\nexports.optional = optionalType;\nconst nullableType = ZodNullable.create;\nexports.nullable = nullableType;\nconst preprocessType = ZodEffects.createWithPreprocess;\nexports.preprocess = preprocessType;\nconst pipelineType = ZodPipeline.create;\nexports.pipeline = pipelineType;\nconst ostring = () => stringType().optional();\nexports.ostring = ostring;\nconst onumber = () => numberType().optional();\nexports.onumber = onumber;\nconst oboolean = () => booleanType().optional();\nexports.oboolean = oboolean;\nexports.coerce = {\n string: ((arg) => ZodString.create({ ...arg, coerce: true })),\n number: ((arg) => ZodNumber.create({ ...arg, coerce: true })),\n boolean: ((arg) => ZodBoolean.create({\n ...arg,\n coerce: true,\n })),\n bigint: ((arg) => ZodBigInt.create({ ...arg, coerce: true })),\n date: ((arg) => ZodDate.create({ ...arg, coerce: true })),\n};\nexports.NEVER = parseUtil_1.INVALID;\n","\"use strict\";\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __exportStar = (this && this.__exportStar) || function(m, exports) {\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\n__exportStar(require(\"./errors\"), exports);\n__exportStar(require(\"./helpers/parseUtil\"), exports);\n__exportStar(require(\"./helpers/typeAliases\"), exports);\n__exportStar(require(\"./helpers/util\"), exports);\n__exportStar(require(\"./types\"), exports);\n__exportStar(require(\"./ZodError\"), exports);\n","\"use strict\";\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\n __setModuleDefault(result, mod);\n return result;\n};\nvar __exportStar = (this && this.__exportStar) || function(m, exports) {\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.z = void 0;\nconst z = __importStar(require(\"./external\"));\nexports.z = z;\n__exportStar(require(\"./external\"), exports);\nexports.default = z;\n","\"use strict\";\n/**\n * Copyright 2024 Google LLC.\n * Copyright (c) Microsoft Corporation.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.Permissions = exports.PermissionsCommandSchema = void 0;\n/**\n * THIS FILE IS AUTOGENERATED by cddlconv 0.1.3.\n * Run `node tools/generate-bidi-types.mjs` to regenerate.\n * @see https://github.com/w3c/webdriver-bidi/blob/master/index.bs\n */\n// eslint-disable-next-line @typescript-eslint/ban-ts-comment\n// @ts-nocheck Some types may be circular.\nconst zod_1 = __importDefault(require(\"zod\"));\nexports.PermissionsCommandSchema = zod_1.default.lazy(() => Permissions.SetPermissionSchema);\nvar Permissions;\n(function (Permissions) {\n Permissions.PermissionDescriptorSchema = zod_1.default.lazy(() => zod_1.default.object({\n name: zod_1.default.string(),\n }));\n})(Permissions || (exports.Permissions = Permissions = {}));\n(function (Permissions) {\n Permissions.PermissionStateSchema = zod_1.default.lazy(() => zod_1.default.enum(['granted', 'denied', 'prompt']));\n})(Permissions || (exports.Permissions = Permissions = {}));\n(function (Permissions) {\n Permissions.SetPermissionSchema = zod_1.default.lazy(() => zod_1.default.object({\n method: zod_1.default.literal('permissions.setPermission'),\n params: Permissions.SetPermissionParametersSchema,\n }));\n})(Permissions || (exports.Permissions = Permissions = {}));\n(function (Permissions) {\n Permissions.SetPermissionParametersSchema = zod_1.default.lazy(() => zod_1.default.object({\n descriptor: Permissions.PermissionDescriptorSchema,\n state: Permissions.PermissionStateSchema,\n origin: zod_1.default.string(),\n }));\n})(Permissions || (exports.Permissions = Permissions = {}));\n//# sourceMappingURL=webdriver-bidi-permissions.js.map","\"use strict\";\n/**\n * Copyright 2024 Google LLC.\n * Copyright (c) Microsoft Corporation.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.Input = exports.InputCommandSchema = exports.Log = exports.LogEventSchema = exports.Storage = exports.StorageResultSchema = exports.StorageCommandSchema = exports.Script = exports.ScriptResultSchema = exports.ScriptCommandSchema = exports.ScriptEventSchema = exports.Network = exports.NetworkResultSchema = exports.NetworkEventSchema = exports.NetworkCommandSchema = exports.BrowsingContext = exports.BrowsingContextResultSchema = exports.BrowsingContextEventSchema = exports.BrowsingContextCommandSchema = exports.Browser = exports.BrowserResultSchema = exports.BrowserCommandSchema = exports.SessionResultSchema = exports.Session = exports.SessionCommandSchema = exports.ErrorCodeSchema = exports.JsUintSchema = exports.JsIntSchema = exports.ExtensibleSchema = exports.EmptyResultSchema = exports.ErrorResponseSchema = exports.MessageSchema = exports.EmptyParamsSchema = exports.ResultDataSchema = exports.CommandDataSchema = exports.EventDataSchema = exports.CommandResponseSchema = exports.CommandSchema = exports.EventSchema = void 0;\n/**\n * THIS FILE IS AUTOGENERATED by cddlconv 0.1.3.\n * Run `node tools/generate-bidi-types.mjs` to regenerate.\n * @see https://github.com/w3c/webdriver-bidi/blob/master/index.bs\n */\n// eslint-disable-next-line @typescript-eslint/ban-ts-comment\n// @ts-nocheck Some types may be circular.\nconst zod_1 = __importDefault(require(\"zod\"));\nexports.EventSchema = zod_1.default.lazy(() => zod_1.default\n .object({\n type: zod_1.default.literal('event'),\n})\n .and(exports.EventDataSchema)\n .and(exports.ExtensibleSchema));\nexports.CommandSchema = zod_1.default.lazy(() => zod_1.default\n .object({\n id: exports.JsUintSchema,\n})\n .and(exports.CommandDataSchema)\n .and(exports.ExtensibleSchema));\nexports.CommandResponseSchema = zod_1.default.lazy(() => zod_1.default\n .object({\n type: zod_1.default.literal('success'),\n id: exports.JsUintSchema,\n result: exports.ResultDataSchema,\n})\n .and(exports.ExtensibleSchema));\nexports.EventDataSchema = zod_1.default.lazy(() => zod_1.default.union([\n exports.BrowsingContextEventSchema,\n exports.LogEventSchema,\n exports.NetworkEventSchema,\n exports.ScriptEventSchema,\n]));\nexports.CommandDataSchema = zod_1.default.lazy(() => zod_1.default.union([\n exports.BrowserCommandSchema,\n exports.BrowsingContextCommandSchema,\n exports.InputCommandSchema,\n exports.NetworkCommandSchema,\n exports.ScriptCommandSchema,\n exports.SessionCommandSchema,\n exports.StorageCommandSchema,\n]));\nexports.ResultDataSchema = zod_1.default.lazy(() => zod_1.default.union([\n exports.BrowsingContextResultSchema,\n exports.EmptyResultSchema,\n exports.NetworkResultSchema,\n exports.ScriptResultSchema,\n exports.SessionResultSchema,\n exports.StorageResultSchema,\n]));\nexports.EmptyParamsSchema = zod_1.default.lazy(() => exports.ExtensibleSchema);\nexports.MessageSchema = zod_1.default.lazy(() => zod_1.default.union([exports.CommandResponseSchema, exports.ErrorResponseSchema, exports.EventSchema]));\nexports.ErrorResponseSchema = zod_1.default.lazy(() => zod_1.default\n .object({\n type: zod_1.default.literal('error'),\n id: zod_1.default.union([exports.JsUintSchema, zod_1.default.null()]),\n error: exports.ErrorCodeSchema,\n message: zod_1.default.string(),\n stacktrace: zod_1.default.string().optional(),\n})\n .and(exports.ExtensibleSchema));\nexports.EmptyResultSchema = zod_1.default.lazy(() => exports.ExtensibleSchema);\nexports.ExtensibleSchema = zod_1.default.lazy(() => zod_1.default.record(zod_1.default.string(), zod_1.default.any()));\nexports.JsIntSchema = zod_1.default.lazy(() => zod_1.default.number().int().gte(-9007199254740991).lte(9007199254740991));\nexports.JsUintSchema = zod_1.default.lazy(() => zod_1.default.number().int().nonnegative().gte(0).lte(9007199254740991));\nexports.ErrorCodeSchema = zod_1.default.lazy(() => zod_1.default.enum([\n 'invalid argument',\n 'invalid session id',\n 'move target out of bounds',\n 'no such alert',\n 'no such element',\n 'no such frame',\n 'no such handle',\n 'no such history entry',\n 'no such intercept',\n 'no such node',\n 'no such request',\n 'no such script',\n 'no such storage partition',\n 'no such user context',\n 'session not created',\n 'unable to capture screen',\n 'unable to close browser',\n 'unable to set cookie',\n 'unable to set file input',\n 'underspecified storage partition',\n 'unknown command',\n 'unknown error',\n 'unsupported operation',\n]));\nexports.SessionCommandSchema = zod_1.default.lazy(() => zod_1.default.union([\n Session.EndSchema,\n Session.NewSchema,\n Session.StatusSchema,\n Session.SubscribeSchema,\n Session.UnsubscribeSchema,\n]));\nvar Session;\n(function (Session) {\n Session.ProxyConfigurationSchema = zod_1.default.lazy(() => zod_1.default.union([\n Session.AutodetectProxyConfigurationSchema,\n Session.DirectProxyConfigurationSchema,\n Session.ManualProxyConfigurationSchema,\n Session.PacProxyConfigurationSchema,\n Session.SystemProxyConfigurationSchema,\n zod_1.default.object({}),\n ]));\n})(Session || (exports.Session = Session = {}));\nexports.SessionResultSchema = zod_1.default.lazy(() => zod_1.default.union([Session.NewResultSchema, Session.StatusResultSchema]));\n(function (Session) {\n Session.CapabilitiesRequestSchema = zod_1.default.lazy(() => zod_1.default.object({\n alwaysMatch: Session.CapabilityRequestSchema.optional(),\n firstMatch: zod_1.default.array(Session.CapabilityRequestSchema).optional(),\n }));\n})(Session || (exports.Session = Session = {}));\n(function (Session) {\n Session.CapabilityRequestSchema = zod_1.default.lazy(() => zod_1.default\n .object({\n acceptInsecureCerts: zod_1.default.boolean().optional(),\n browserName: zod_1.default.string().optional(),\n browserVersion: zod_1.default.string().optional(),\n platformName: zod_1.default.string().optional(),\n proxy: Session.ProxyConfigurationSchema.optional(),\n webSocketUrl: zod_1.default.boolean().optional(),\n })\n .and(exports.ExtensibleSchema));\n})(Session || (exports.Session = Session = {}));\n(function (Session) {\n Session.AutodetectProxyConfigurationSchema = zod_1.default.lazy(() => zod_1.default\n .object({\n proxyType: zod_1.default.literal('autodetect'),\n })\n .and(exports.ExtensibleSchema));\n})(Session || (exports.Session = Session = {}));\n(function (Session) {\n Session.DirectProxyConfigurationSchema = zod_1.default.lazy(() => zod_1.default\n .object({\n proxyType: zod_1.default.literal('direct'),\n })\n .and(exports.ExtensibleSchema));\n})(Session || (exports.Session = Session = {}));\n(function (Session) {\n Session.ManualProxyConfigurationSchema = zod_1.default.lazy(() => zod_1.default\n .object({\n proxyType: zod_1.default.literal('manual'),\n ftpProxy: zod_1.default.string().optional(),\n httpProxy: zod_1.default.string().optional(),\n sslProxy: zod_1.default.string().optional(),\n })\n .and(Session.SocksProxyConfigurationSchema.or(zod_1.default.object({})))\n .and(zod_1.default.object({\n noProxy: zod_1.default.array(zod_1.default.string()).optional(),\n }))\n .and(exports.ExtensibleSchema));\n})(Session || (exports.Session = Session = {}));\n(function (Session) {\n Session.SocksProxyConfigurationSchema = zod_1.default.lazy(() => zod_1.default.object({\n socksProxy: zod_1.default.string(),\n socksVersion: zod_1.default.number().int().nonnegative().gte(0).lte(255),\n }));\n})(Session || (exports.Session = Session = {}));\n(function (Session) {\n Session.PacProxyConfigurationSchema = zod_1.default.lazy(() => zod_1.default\n .object({\n proxyType: zod_1.default.literal('pac'),\n proxyAutoconfigUrl: zod_1.default.string(),\n })\n .and(exports.ExtensibleSchema));\n})(Session || (exports.Session = Session = {}));\n(function (Session) {\n Session.SystemProxyConfigurationSchema = zod_1.default.lazy(() => zod_1.default\n .object({\n proxyType: zod_1.default.literal('system'),\n })\n .and(exports.ExtensibleSchema));\n})(Session || (exports.Session = Session = {}));\n(function (Session) {\n Session.SubscriptionRequestSchema = zod_1.default.lazy(() => zod_1.default.object({\n events: zod_1.default.array(zod_1.default.string()),\n contexts: zod_1.default.array(BrowsingContext.BrowsingContextSchema).optional(),\n }));\n})(Session || (exports.Session = Session = {}));\n(function (Session) {\n Session.StatusSchema = zod_1.default.lazy(() => zod_1.default.object({\n method: zod_1.default.literal('session.status'),\n params: exports.EmptyParamsSchema,\n }));\n})(Session || (exports.Session = Session = {}));\n(function (Session) {\n Session.StatusResultSchema = zod_1.default.lazy(() => zod_1.default.object({\n ready: zod_1.default.boolean(),\n message: zod_1.default.string(),\n }));\n})(Session || (exports.Session = Session = {}));\n(function (Session) {\n Session.NewSchema = zod_1.default.lazy(() => zod_1.default.object({\n method: zod_1.default.literal('session.new'),\n params: Session.NewParametersSchema,\n }));\n})(Session || (exports.Session = Session = {}));\n(function (Session) {\n Session.NewParametersSchema = zod_1.default.lazy(() => zod_1.default.object({\n capabilities: Session.CapabilitiesRequestSchema,\n }));\n})(Session || (exports.Session = Session = {}));\n(function (Session) {\n Session.NewResultSchema = zod_1.default.lazy(() => zod_1.default.object({\n sessionId: zod_1.default.string(),\n capabilities: zod_1.default\n .object({\n acceptInsecureCerts: zod_1.default.boolean(),\n browserName: zod_1.default.string(),\n browserVersion: zod_1.default.string(),\n platformName: zod_1.default.string(),\n setWindowRect: zod_1.default.boolean(),\n proxy: Session.ProxyConfigurationSchema.optional(),\n webSocketUrl: zod_1.default.string().optional(),\n })\n .and(exports.ExtensibleSchema),\n }));\n})(Session || (exports.Session = Session = {}));\n(function (Session) {\n Session.EndSchema = zod_1.default.lazy(() => zod_1.default.object({\n method: zod_1.default.literal('session.end'),\n params: exports.EmptyParamsSchema,\n }));\n})(Session || (exports.Session = Session = {}));\n(function (Session) {\n Session.SubscribeSchema = zod_1.default.lazy(() => zod_1.default.object({\n method: zod_1.default.literal('session.subscribe'),\n params: Session.SubscriptionRequestSchema,\n }));\n})(Session || (exports.Session = Session = {}));\n(function (Session) {\n Session.UnsubscribeSchema = zod_1.default.lazy(() => zod_1.default.object({\n method: zod_1.default.literal('session.unsubscribe'),\n params: Session.SubscriptionRequestSchema,\n }));\n})(Session || (exports.Session = Session = {}));\nexports.BrowserCommandSchema = zod_1.default.lazy(() => zod_1.default.union([\n Browser.CloseSchema,\n Browser.CreateUserContextSchema,\n Browser.GetUserContextsSchema,\n Browser.RemoveUserContextSchema,\n]));\nexports.BrowserResultSchema = zod_1.default.lazy(() => zod_1.default.union([\n Browser.CreateUserContextResultSchema,\n Browser.GetUserContextsResultSchema,\n]));\nvar Browser;\n(function (Browser) {\n Browser.UserContextSchema = zod_1.default.lazy(() => zod_1.default.string());\n})(Browser || (exports.Browser = Browser = {}));\n(function (Browser) {\n Browser.UserContextInfoSchema = zod_1.default.lazy(() => zod_1.default.object({\n userContext: Browser.UserContextSchema,\n }));\n})(Browser || (exports.Browser = Browser = {}));\n(function (Browser) {\n Browser.CloseSchema = zod_1.default.lazy(() => zod_1.default.object({\n method: zod_1.default.literal('browser.close'),\n params: exports.EmptyParamsSchema,\n }));\n})(Browser || (exports.Browser = Browser = {}));\n(function (Browser) {\n Browser.CreateUserContextSchema = zod_1.default.lazy(() => zod_1.default.object({\n method: zod_1.default.literal('browser.createUserContext'),\n params: exports.EmptyParamsSchema,\n }));\n})(Browser || (exports.Browser = Browser = {}));\n(function (Browser) {\n Browser.CreateUserContextResultSchema = zod_1.default.lazy(() => Browser.UserContextInfoSchema);\n})(Browser || (exports.Browser = Browser = {}));\n(function (Browser) {\n Browser.GetUserContextsSchema = zod_1.default.lazy(() => zod_1.default.object({\n method: zod_1.default.literal('browser.getUserContexts'),\n params: exports.EmptyParamsSchema,\n }));\n})(Browser || (exports.Browser = Browser = {}));\n(function (Browser) {\n Browser.GetUserContextsResultSchema = zod_1.default.lazy(() => zod_1.default.object({\n userContexts: zod_1.default.array(Browser.UserContextInfoSchema).min(1),\n }));\n})(Browser || (exports.Browser = Browser = {}));\n(function (Browser) {\n Browser.RemoveUserContextSchema = zod_1.default.lazy(() => zod_1.default.object({\n method: zod_1.default.literal('browser.removeUserContext'),\n params: Browser.RemoveUserContextParametersSchema,\n }));\n})(Browser || (exports.Browser = Browser = {}));\n(function (Browser) {\n Browser.RemoveUserContextParametersSchema = zod_1.default.lazy(() => zod_1.default.object({\n userContext: Browser.UserContextSchema,\n }));\n})(Browser || (exports.Browser = Browser = {}));\nexports.BrowsingContextCommandSchema = zod_1.default.lazy(() => zod_1.default.union([\n BrowsingContext.ActivateSchema,\n BrowsingContext.CaptureScreenshotSchema,\n BrowsingContext.CloseSchema,\n BrowsingContext.CreateSchema,\n BrowsingContext.GetTreeSchema,\n BrowsingContext.HandleUserPromptSchema,\n BrowsingContext.LocateNodesSchema,\n BrowsingContext.NavigateSchema,\n BrowsingContext.PrintSchema,\n BrowsingContext.ReloadSchema,\n BrowsingContext.SetViewportSchema,\n BrowsingContext.TraverseHistorySchema,\n]));\nexports.BrowsingContextEventSchema = zod_1.default.lazy(() => zod_1.default.union([\n BrowsingContext.ContextCreatedSchema,\n BrowsingContext.ContextDestroyedSchema,\n BrowsingContext.DomContentLoadedSchema,\n BrowsingContext.DownloadWillBeginSchema,\n BrowsingContext.FragmentNavigatedSchema,\n BrowsingContext.LoadSchema,\n BrowsingContext.NavigationAbortedSchema,\n BrowsingContext.NavigationFailedSchema,\n BrowsingContext.NavigationStartedSchema,\n BrowsingContext.UserPromptClosedSchema,\n BrowsingContext.UserPromptOpenedSchema,\n]));\nexports.BrowsingContextResultSchema = zod_1.default.lazy(() => zod_1.default.union([\n BrowsingContext.CaptureScreenshotResultSchema,\n BrowsingContext.CreateResultSchema,\n BrowsingContext.GetTreeResultSchema,\n BrowsingContext.LocateNodesResultSchema,\n BrowsingContext.NavigateResultSchema,\n BrowsingContext.PrintResultSchema,\n BrowsingContext.TraverseHistoryResultSchema,\n]));\nvar BrowsingContext;\n(function (BrowsingContext) {\n BrowsingContext.BrowsingContextSchema = zod_1.default.lazy(() => zod_1.default.string());\n})(BrowsingContext || (exports.BrowsingContext = BrowsingContext = {}));\n(function (BrowsingContext) {\n BrowsingContext.InfoListSchema = zod_1.default.lazy(() => zod_1.default.array(BrowsingContext.InfoSchema));\n})(BrowsingContext || (exports.BrowsingContext = BrowsingContext = {}));\n(function (BrowsingContext) {\n BrowsingContext.InfoSchema = zod_1.default.lazy(() => zod_1.default.object({\n children: zod_1.default.union([BrowsingContext.InfoListSchema, zod_1.default.null()]),\n context: BrowsingContext.BrowsingContextSchema,\n url: zod_1.default.string(),\n userContext: Browser.UserContextSchema,\n parent: zod_1.default\n .union([BrowsingContext.BrowsingContextSchema, zod_1.default.null()])\n .optional(),\n }));\n})(BrowsingContext || (exports.BrowsingContext = BrowsingContext = {}));\n(function (BrowsingContext) {\n BrowsingContext.LocatorSchema = zod_1.default.lazy(() => zod_1.default.union([\n BrowsingContext.CssLocatorSchema,\n BrowsingContext.InnerTextLocatorSchema,\n BrowsingContext.XPathLocatorSchema,\n ]));\n})(BrowsingContext || (exports.BrowsingContext = BrowsingContext = {}));\n(function (BrowsingContext) {\n BrowsingContext.CssLocatorSchema = zod_1.default.lazy(() => zod_1.default.object({\n type: zod_1.default.literal('css'),\n value: zod_1.default.string(),\n }));\n})(BrowsingContext || (exports.BrowsingContext = BrowsingContext = {}));\n(function (BrowsingContext) {\n BrowsingContext.InnerTextLocatorSchema = zod_1.default.lazy(() => zod_1.default.object({\n type: zod_1.default.literal('innerText'),\n value: zod_1.default.string(),\n ignoreCase: zod_1.default.boolean().optional(),\n matchType: zod_1.default.enum(['full', 'partial']).optional(),\n maxDepth: exports.JsUintSchema.optional(),\n }));\n})(BrowsingContext || (exports.BrowsingContext = BrowsingContext = {}));\n(function (BrowsingContext) {\n BrowsingContext.XPathLocatorSchema = zod_1.default.lazy(() => zod_1.default.object({\n type: zod_1.default.literal('xpath'),\n value: zod_1.default.string(),\n }));\n})(BrowsingContext || (exports.BrowsingContext = BrowsingContext = {}));\n(function (BrowsingContext) {\n BrowsingContext.NavigationSchema = zod_1.default.lazy(() => zod_1.default.string());\n})(BrowsingContext || (exports.BrowsingContext = BrowsingContext = {}));\n(function (BrowsingContext) {\n BrowsingContext.NavigationInfoSchema = zod_1.default.lazy(() => zod_1.default.object({\n context: BrowsingContext.BrowsingContextSchema,\n navigation: zod_1.default.union([BrowsingContext.NavigationSchema, zod_1.default.null()]),\n timestamp: exports.JsUintSchema,\n url: zod_1.default.string(),\n }));\n})(BrowsingContext || (exports.BrowsingContext = BrowsingContext = {}));\n(function (BrowsingContext) {\n BrowsingContext.ReadinessStateSchema = zod_1.default.lazy(() => zod_1.default.enum(['none', 'interactive', 'complete']));\n})(BrowsingContext || (exports.BrowsingContext = BrowsingContext = {}));\n(function (BrowsingContext) {\n BrowsingContext.ActivateSchema = zod_1.default.lazy(() => zod_1.default.object({\n method: zod_1.default.literal('browsingContext.activate'),\n params: BrowsingContext.ActivateParametersSchema,\n }));\n})(BrowsingContext || (exports.BrowsingContext = BrowsingContext = {}));\n(function (BrowsingContext) {\n BrowsingContext.ActivateParametersSchema = zod_1.default.lazy(() => zod_1.default.object({\n context: BrowsingContext.BrowsingContextSchema,\n }));\n})(BrowsingContext || (exports.BrowsingContext = BrowsingContext = {}));\n(function (BrowsingContext) {\n BrowsingContext.CaptureScreenshotParametersSchema = zod_1.default.lazy(() => zod_1.default.object({\n context: BrowsingContext.BrowsingContextSchema,\n origin: zod_1.default.enum(['viewport', 'document']).default('viewport').optional(),\n format: BrowsingContext.ImageFormatSchema.optional(),\n clip: BrowsingContext.ClipRectangleSchema.optional(),\n }));\n})(BrowsingContext || (exports.BrowsingContext = BrowsingContext = {}));\n(function (BrowsingContext) {\n BrowsingContext.CaptureScreenshotSchema = zod_1.default.lazy(() => zod_1.default.object({\n method: zod_1.default.literal('browsingContext.captureScreenshot'),\n params: BrowsingContext.CaptureScreenshotParametersSchema,\n }));\n})(BrowsingContext || (exports.BrowsingContext = BrowsingContext = {}));\n(function (BrowsingContext) {\n BrowsingContext.ImageFormatSchema = zod_1.default.lazy(() => zod_1.default.object({\n type: zod_1.default.string(),\n quality: zod_1.default.number().gte(0).lte(1).optional(),\n }));\n})(BrowsingContext || (exports.BrowsingContext = BrowsingContext = {}));\n(function (BrowsingContext) {\n BrowsingContext.ClipRectangleSchema = zod_1.default.lazy(() => zod_1.default.union([\n BrowsingContext.BoxClipRectangleSchema,\n BrowsingContext.ElementClipRectangleSchema,\n ]));\n})(BrowsingContext || (exports.BrowsingContext = BrowsingContext = {}));\n(function (BrowsingContext) {\n BrowsingContext.ElementClipRectangleSchema = zod_1.default.lazy(() => zod_1.default.object({\n type: zod_1.default.literal('element'),\n element: Script.SharedReferenceSchema,\n }));\n})(BrowsingContext || (exports.BrowsingContext = BrowsingContext = {}));\n(function (BrowsingContext) {\n BrowsingContext.BoxClipRectangleSchema = zod_1.default.lazy(() => zod_1.default.object({\n type: zod_1.default.literal('box'),\n x: zod_1.default.number(),\n y: zod_1.default.number(),\n width: zod_1.default.number(),\n height: zod_1.default.number(),\n }));\n})(BrowsingContext || (exports.BrowsingContext = BrowsingContext = {}));\n(function (BrowsingContext) {\n BrowsingContext.CaptureScreenshotResultSchema = zod_1.default.lazy(() => zod_1.default.object({\n data: zod_1.default.string(),\n }));\n})(BrowsingContext || (exports.BrowsingContext = BrowsingContext = {}));\n(function (BrowsingContext) {\n BrowsingContext.CloseSchema = zod_1.default.lazy(() => zod_1.default.object({\n method: zod_1.default.literal('browsingContext.close'),\n params: BrowsingContext.CloseParametersSchema,\n }));\n})(BrowsingContext || (exports.BrowsingContext = BrowsingContext = {}));\n(function (BrowsingContext) {\n BrowsingContext.CloseParametersSchema = zod_1.default.lazy(() => zod_1.default.object({\n context: BrowsingContext.BrowsingContextSchema,\n promptUnload: zod_1.default.boolean().default(false).optional(),\n }));\n})(BrowsingContext || (exports.BrowsingContext = BrowsingContext = {}));\n(function (BrowsingContext) {\n BrowsingContext.CreateSchema = zod_1.default.lazy(() => zod_1.default.object({\n method: zod_1.default.literal('browsingContext.create'),\n params: BrowsingContext.CreateParametersSchema,\n }));\n})(BrowsingContext || (exports.BrowsingContext = BrowsingContext = {}));\n(function (BrowsingContext) {\n BrowsingContext.CreateTypeSchema = zod_1.default.lazy(() => zod_1.default.enum(['tab', 'window']));\n})(BrowsingContext || (exports.BrowsingContext = BrowsingContext = {}));\n(function (BrowsingContext) {\n BrowsingContext.CreateParametersSchema = zod_1.default.lazy(() => zod_1.default.object({\n type: BrowsingContext.CreateTypeSchema,\n referenceContext: BrowsingContext.BrowsingContextSchema.optional(),\n background: zod_1.default.boolean().default(false).optional(),\n userContext: Browser.UserContextSchema.optional(),\n }));\n})(BrowsingContext || (exports.BrowsingContext = BrowsingContext = {}));\n(function (BrowsingContext) {\n BrowsingContext.CreateResultSchema = zod_1.default.lazy(() => zod_1.default.object({\n context: BrowsingContext.BrowsingContextSchema,\n }));\n})(BrowsingContext || (exports.BrowsingContext = BrowsingContext = {}));\n(function (BrowsingContext) {\n BrowsingContext.GetTreeSchema = zod_1.default.lazy(() => zod_1.default.object({\n method: zod_1.default.literal('browsingContext.getTree'),\n params: BrowsingContext.GetTreeParametersSchema,\n }));\n})(BrowsingContext || (exports.BrowsingContext = BrowsingContext = {}));\n(function (BrowsingContext) {\n BrowsingContext.GetTreeParametersSchema = zod_1.default.lazy(() => zod_1.default.object({\n maxDepth: exports.JsUintSchema.optional(),\n root: BrowsingContext.BrowsingContextSchema.optional(),\n }));\n})(BrowsingContext || (exports.BrowsingContext = BrowsingContext = {}));\n(function (BrowsingContext) {\n BrowsingContext.GetTreeResultSchema = zod_1.default.lazy(() => zod_1.default.object({\n contexts: BrowsingContext.InfoListSchema,\n }));\n})(BrowsingContext || (exports.BrowsingContext = BrowsingContext = {}));\n(function (BrowsingContext) {\n BrowsingContext.HandleUserPromptSchema = zod_1.default.lazy(() => zod_1.default.object({\n method: zod_1.default.literal('browsingContext.handleUserPrompt'),\n params: BrowsingContext.HandleUserPromptParametersSchema,\n }));\n})(BrowsingContext || (exports.BrowsingContext = BrowsingContext = {}));\n(function (BrowsingContext) {\n BrowsingContext.HandleUserPromptParametersSchema = zod_1.default.lazy(() => zod_1.default.object({\n context: BrowsingContext.BrowsingContextSchema,\n accept: zod_1.default.boolean().optional(),\n userText: zod_1.default.string().optional(),\n }));\n})(BrowsingContext || (exports.BrowsingContext = BrowsingContext = {}));\n(function (BrowsingContext) {\n BrowsingContext.LocateNodesParametersSchema = zod_1.default.lazy(() => zod_1.default.object({\n context: BrowsingContext.BrowsingContextSchema,\n locator: BrowsingContext.LocatorSchema,\n maxNodeCount: exports.JsUintSchema.gte(1).optional(),\n ownership: Script.ResultOwnershipSchema.optional(),\n sandbox: zod_1.default.string().optional(),\n serializationOptions: Script.SerializationOptionsSchema.optional(),\n startNodes: zod_1.default.array(Script.SharedReferenceSchema).min(1).optional(),\n }));\n})(BrowsingContext || (exports.BrowsingContext = BrowsingContext = {}));\n(function (BrowsingContext) {\n BrowsingContext.LocateNodesSchema = zod_1.default.lazy(() => zod_1.default.object({\n method: zod_1.default.literal('browsingContext.locateNodes'),\n params: BrowsingContext.LocateNodesParametersSchema,\n }));\n})(BrowsingContext || (exports.BrowsingContext = BrowsingContext = {}));\n(function (BrowsingContext) {\n BrowsingContext.LocateNodesResultSchema = zod_1.default.lazy(() => zod_1.default.object({\n nodes: zod_1.default.array(Script.NodeRemoteValueSchema),\n }));\n})(BrowsingContext || (exports.BrowsingContext = BrowsingContext = {}));\n(function (BrowsingContext) {\n BrowsingContext.NavigateSchema = zod_1.default.lazy(() => zod_1.default.object({\n method: zod_1.default.literal('browsingContext.navigate'),\n params: BrowsingContext.NavigateParametersSchema,\n }));\n})(BrowsingContext || (exports.BrowsingContext = BrowsingContext = {}));\n(function (BrowsingContext) {\n BrowsingContext.NavigateParametersSchema = zod_1.default.lazy(() => zod_1.default.object({\n context: BrowsingContext.BrowsingContextSchema,\n url: zod_1.default.string(),\n wait: BrowsingContext.ReadinessStateSchema.optional(),\n }));\n})(BrowsingContext || (exports.BrowsingContext = BrowsingContext = {}));\n(function (BrowsingContext) {\n BrowsingContext.NavigateResultSchema = zod_1.default.lazy(() => zod_1.default.object({\n navigation: zod_1.default.union([BrowsingContext.NavigationSchema, zod_1.default.null()]),\n url: zod_1.default.string(),\n }));\n})(BrowsingContext || (exports.BrowsingContext = BrowsingContext = {}));\n(function (BrowsingContext) {\n BrowsingContext.PrintSchema = zod_1.default.lazy(() => zod_1.default.object({\n method: zod_1.default.literal('browsingContext.print'),\n params: BrowsingContext.PrintParametersSchema,\n }));\n})(BrowsingContext || (exports.BrowsingContext = BrowsingContext = {}));\n(function (BrowsingContext) {\n BrowsingContext.PrintParametersSchema = zod_1.default.lazy(() => zod_1.default.object({\n context: BrowsingContext.BrowsingContextSchema,\n background: zod_1.default.boolean().default(false).optional(),\n margin: BrowsingContext.PrintMarginParametersSchema.optional(),\n orientation: zod_1.default\n .enum(['portrait', 'landscape'])\n .default('portrait')\n .optional(),\n page: BrowsingContext.PrintPageParametersSchema.optional(),\n pageRanges: zod_1.default.array(zod_1.default.union([exports.JsUintSchema, zod_1.default.string()])).optional(),\n scale: zod_1.default.number().gte(0.1).lte(2).default(1).optional(),\n shrinkToFit: zod_1.default.boolean().default(true).optional(),\n }));\n})(BrowsingContext || (exports.BrowsingContext = BrowsingContext = {}));\n(function (BrowsingContext) {\n BrowsingContext.PrintMarginParametersSchema = zod_1.default.lazy(() => zod_1.default.object({\n bottom: zod_1.default.number().gte(0).default(1).optional(),\n left: zod_1.default.number().gte(0).default(1).optional(),\n right: zod_1.default.number().gte(0).default(1).optional(),\n top: zod_1.default.number().gte(0).default(1).optional(),\n }));\n})(BrowsingContext || (exports.BrowsingContext = BrowsingContext = {}));\n(function (BrowsingContext) {\n BrowsingContext.PrintPageParametersSchema = zod_1.default.lazy(() => zod_1.default.object({\n height: zod_1.default.number().gte(0.0352).default(27.94).optional(),\n width: zod_1.default.number().gte(0.0352).default(21.59).optional(),\n }));\n})(BrowsingContext || (exports.BrowsingContext = BrowsingContext = {}));\n(function (BrowsingContext) {\n BrowsingContext.PrintResultSchema = zod_1.default.lazy(() => zod_1.default.object({\n data: zod_1.default.string(),\n }));\n})(BrowsingContext || (exports.BrowsingContext = BrowsingContext = {}));\n(function (BrowsingContext) {\n BrowsingContext.ReloadSchema = zod_1.default.lazy(() => zod_1.default.object({\n method: zod_1.default.literal('browsingContext.reload'),\n params: BrowsingContext.ReloadParametersSchema,\n }));\n})(BrowsingContext || (exports.BrowsingContext = BrowsingContext = {}));\n(function (BrowsingContext) {\n BrowsingContext.ReloadParametersSchema = zod_1.default.lazy(() => zod_1.default.object({\n context: BrowsingContext.BrowsingContextSchema,\n ignoreCache: zod_1.default.boolean().optional(),\n wait: BrowsingContext.ReadinessStateSchema.optional(),\n }));\n})(BrowsingContext || (exports.BrowsingContext = BrowsingContext = {}));\n(function (BrowsingContext) {\n BrowsingContext.SetViewportSchema = zod_1.default.lazy(() => zod_1.default.object({\n method: zod_1.default.literal('browsingContext.setViewport'),\n params: BrowsingContext.SetViewportParametersSchema,\n }));\n})(BrowsingContext || (exports.BrowsingContext = BrowsingContext = {}));\n(function (BrowsingContext) {\n BrowsingContext.SetViewportParametersSchema = zod_1.default.lazy(() => zod_1.default.object({\n context: BrowsingContext.BrowsingContextSchema,\n viewport: zod_1.default.union([BrowsingContext.ViewportSchema, zod_1.default.null()]).optional(),\n devicePixelRatio: zod_1.default.union([zod_1.default.number().gt(0), zod_1.default.null()]).optional(),\n }));\n})(BrowsingContext || (exports.BrowsingContext = BrowsingContext = {}));\n(function (BrowsingContext) {\n BrowsingContext.ViewportSchema = zod_1.default.lazy(() => zod_1.default.object({\n width: exports.JsUintSchema,\n height: exports.JsUintSchema,\n }));\n})(BrowsingContext || (exports.BrowsingContext = BrowsingContext = {}));\n(function (BrowsingContext) {\n BrowsingContext.TraverseHistorySchema = zod_1.default.lazy(() => zod_1.default.object({\n method: zod_1.default.literal('browsingContext.traverseHistory'),\n params: BrowsingContext.TraverseHistoryParametersSchema,\n }));\n})(BrowsingContext || (exports.BrowsingContext = BrowsingContext = {}));\n(function (BrowsingContext) {\n BrowsingContext.TraverseHistoryParametersSchema = zod_1.default.lazy(() => zod_1.default.object({\n context: BrowsingContext.BrowsingContextSchema,\n delta: exports.JsIntSchema,\n }));\n})(BrowsingContext || (exports.BrowsingContext = BrowsingContext = {}));\n(function (BrowsingContext) {\n BrowsingContext.TraverseHistoryResultSchema = zod_1.default.lazy(() => zod_1.default.object({}));\n})(BrowsingContext || (exports.BrowsingContext = BrowsingContext = {}));\n(function (BrowsingContext) {\n BrowsingContext.ContextCreatedSchema = zod_1.default.lazy(() => zod_1.default.object({\n method: zod_1.default.literal('browsingContext.contextCreated'),\n params: BrowsingContext.InfoSchema,\n }));\n})(BrowsingContext || (exports.BrowsingContext = BrowsingContext = {}));\n(function (BrowsingContext) {\n BrowsingContext.ContextDestroyedSchema = zod_1.default.lazy(() => zod_1.default.object({\n method: zod_1.default.literal('browsingContext.contextDestroyed'),\n params: BrowsingContext.InfoSchema,\n }));\n})(BrowsingContext || (exports.BrowsingContext = BrowsingContext = {}));\n(function (BrowsingContext) {\n BrowsingContext.NavigationStartedSchema = zod_1.default.lazy(() => zod_1.default.object({\n method: zod_1.default.literal('browsingContext.navigationStarted'),\n params: BrowsingContext.NavigationInfoSchema,\n }));\n})(BrowsingContext || (exports.BrowsingContext = BrowsingContext = {}));\n(function (BrowsingContext) {\n BrowsingContext.FragmentNavigatedSchema = zod_1.default.lazy(() => zod_1.default.object({\n method: zod_1.default.literal('browsingContext.fragmentNavigated'),\n params: BrowsingContext.NavigationInfoSchema,\n }));\n})(BrowsingContext || (exports.BrowsingContext = BrowsingContext = {}));\n(function (BrowsingContext) {\n BrowsingContext.DomContentLoadedSchema = zod_1.default.lazy(() => zod_1.default.object({\n method: zod_1.default.literal('browsingContext.domContentLoaded'),\n params: BrowsingContext.NavigationInfoSchema,\n }));\n})(BrowsingContext || (exports.BrowsingContext = BrowsingContext = {}));\n(function (BrowsingContext) {\n BrowsingContext.LoadSchema = zod_1.default.lazy(() => zod_1.default.object({\n method: zod_1.default.literal('browsingContext.load'),\n params: BrowsingContext.NavigationInfoSchema,\n }));\n})(BrowsingContext || (exports.BrowsingContext = BrowsingContext = {}));\n(function (BrowsingContext) {\n BrowsingContext.DownloadWillBeginSchema = zod_1.default.lazy(() => zod_1.default.object({\n method: zod_1.default.literal('browsingContext.downloadWillBegin'),\n params: BrowsingContext.NavigationInfoSchema,\n }));\n})(BrowsingContext || (exports.BrowsingContext = BrowsingContext = {}));\n(function (BrowsingContext) {\n BrowsingContext.NavigationAbortedSchema = zod_1.default.lazy(() => zod_1.default.object({\n method: zod_1.default.literal('browsingContext.navigationAborted'),\n params: BrowsingContext.NavigationInfoSchema,\n }));\n})(BrowsingContext || (exports.BrowsingContext = BrowsingContext = {}));\n(function (BrowsingContext) {\n BrowsingContext.NavigationFailedSchema = zod_1.default.lazy(() => zod_1.default.object({\n method: zod_1.default.literal('browsingContext.navigationFailed'),\n params: BrowsingContext.NavigationInfoSchema,\n }));\n})(BrowsingContext || (exports.BrowsingContext = BrowsingContext = {}));\n(function (BrowsingContext) {\n BrowsingContext.UserPromptClosedSchema = zod_1.default.lazy(() => zod_1.default.object({\n method: zod_1.default.literal('browsingContext.userPromptClosed'),\n params: BrowsingContext.UserPromptClosedParametersSchema,\n }));\n})(BrowsingContext || (exports.BrowsingContext = BrowsingContext = {}));\n(function (BrowsingContext) {\n BrowsingContext.UserPromptClosedParametersSchema = zod_1.default.lazy(() => zod_1.default.object({\n context: BrowsingContext.BrowsingContextSchema,\n accepted: zod_1.default.boolean(),\n userText: zod_1.default.string().optional(),\n }));\n})(BrowsingContext || (exports.BrowsingContext = BrowsingContext = {}));\n(function (BrowsingContext) {\n BrowsingContext.UserPromptOpenedSchema = zod_1.default.lazy(() => zod_1.default.object({\n method: zod_1.default.literal('browsingContext.userPromptOpened'),\n params: BrowsingContext.UserPromptOpenedParametersSchema,\n }));\n})(BrowsingContext || (exports.BrowsingContext = BrowsingContext = {}));\n(function (BrowsingContext) {\n BrowsingContext.UserPromptOpenedParametersSchema = zod_1.default.lazy(() => zod_1.default.object({\n context: BrowsingContext.BrowsingContextSchema,\n type: zod_1.default.enum(['alert', 'confirm', 'prompt', 'beforeunload']),\n message: zod_1.default.string(),\n defaultValue: zod_1.default.string().optional(),\n }));\n})(BrowsingContext || (exports.BrowsingContext = BrowsingContext = {}));\nexports.NetworkCommandSchema = zod_1.default.lazy(() => zod_1.default.union([\n Network.AddInterceptSchema,\n Network.ContinueRequestSchema,\n Network.ContinueResponseSchema,\n Network.ContinueWithAuthSchema,\n Network.FailRequestSchema,\n Network.ProvideResponseSchema,\n Network.RemoveInterceptSchema,\n]));\nexports.NetworkEventSchema = zod_1.default.lazy(() => zod_1.default.union([\n Network.AuthRequiredSchema,\n Network.BeforeRequestSentSchema,\n Network.FetchErrorSchema,\n Network.ResponseCompletedSchema,\n Network.ResponseStartedSchema,\n]));\nexports.NetworkResultSchema = zod_1.default.lazy(() => Network.AddInterceptResultSchema);\nvar Network;\n(function (Network) {\n Network.AuthChallengeSchema = zod_1.default.lazy(() => zod_1.default.object({\n scheme: zod_1.default.string(),\n realm: zod_1.default.string(),\n }));\n})(Network || (exports.Network = Network = {}));\n(function (Network) {\n Network.AuthCredentialsSchema = zod_1.default.lazy(() => zod_1.default.object({\n type: zod_1.default.literal('password'),\n username: zod_1.default.string(),\n password: zod_1.default.string(),\n }));\n})(Network || (exports.Network = Network = {}));\n(function (Network) {\n Network.BaseParametersSchema = zod_1.default.lazy(() => zod_1.default.object({\n context: zod_1.default.union([BrowsingContext.BrowsingContextSchema, zod_1.default.null()]),\n isBlocked: zod_1.default.boolean(),\n navigation: zod_1.default.union([BrowsingContext.NavigationSchema, zod_1.default.null()]),\n redirectCount: exports.JsUintSchema,\n request: Network.RequestDataSchema,\n timestamp: exports.JsUintSchema,\n intercepts: zod_1.default.array(Network.InterceptSchema).min(1).optional(),\n }));\n})(Network || (exports.Network = Network = {}));\n(function (Network) {\n Network.BytesValueSchema = zod_1.default.lazy(() => zod_1.default.union([Network.StringValueSchema, Network.Base64ValueSchema]));\n})(Network || (exports.Network = Network = {}));\n(function (Network) {\n Network.StringValueSchema = zod_1.default.lazy(() => zod_1.default.object({\n type: zod_1.default.literal('string'),\n value: zod_1.default.string(),\n }));\n})(Network || (exports.Network = Network = {}));\n(function (Network) {\n Network.Base64ValueSchema = zod_1.default.lazy(() => zod_1.default.object({\n type: zod_1.default.literal('base64'),\n value: zod_1.default.string(),\n }));\n})(Network || (exports.Network = Network = {}));\n(function (Network) {\n Network.SameSiteSchema = zod_1.default.lazy(() => zod_1.default.enum(['strict', 'lax', 'none']));\n})(Network || (exports.Network = Network = {}));\n(function (Network) {\n Network.CookieSchema = zod_1.default.lazy(() => zod_1.default\n .object({\n name: zod_1.default.string(),\n value: Network.BytesValueSchema,\n domain: zod_1.default.string(),\n path: zod_1.default.string(),\n size: exports.JsUintSchema,\n httpOnly: zod_1.default.boolean(),\n secure: zod_1.default.boolean(),\n sameSite: Network.SameSiteSchema,\n expiry: exports.JsUintSchema.optional(),\n })\n .and(exports.ExtensibleSchema));\n})(Network || (exports.Network = Network = {}));\n(function (Network) {\n Network.CookieHeaderSchema = zod_1.default.lazy(() => zod_1.default.object({\n name: zod_1.default.string(),\n value: Network.BytesValueSchema,\n }));\n})(Network || (exports.Network = Network = {}));\n(function (Network) {\n Network.FetchTimingInfoSchema = zod_1.default.lazy(() => zod_1.default.object({\n timeOrigin: zod_1.default.number(),\n requestTime: zod_1.default.number(),\n redirectStart: zod_1.default.number(),\n redirectEnd: zod_1.default.number(),\n fetchStart: zod_1.default.number(),\n dnsStart: zod_1.default.number(),\n dnsEnd: zod_1.default.number(),\n connectStart: zod_1.default.number(),\n connectEnd: zod_1.default.number(),\n tlsStart: zod_1.default.number(),\n requestStart: zod_1.default.number(),\n responseStart: zod_1.default.number(),\n responseEnd: zod_1.default.number(),\n }));\n})(Network || (exports.Network = Network = {}));\n(function (Network) {\n Network.HeaderSchema = zod_1.default.lazy(() => zod_1.default.object({\n name: zod_1.default.string(),\n value: Network.BytesValueSchema,\n }));\n})(Network || (exports.Network = Network = {}));\n(function (Network) {\n Network.InitiatorSchema = zod_1.default.lazy(() => zod_1.default.object({\n type: zod_1.default.enum(['parser', 'script', 'preflight', 'other']),\n columnNumber: exports.JsUintSchema.optional(),\n lineNumber: exports.JsUintSchema.optional(),\n stackTrace: Script.StackTraceSchema.optional(),\n request: Network.RequestSchema.optional(),\n }));\n})(Network || (exports.Network = Network = {}));\n(function (Network) {\n Network.InterceptSchema = zod_1.default.lazy(() => zod_1.default.string());\n})(Network || (exports.Network = Network = {}));\n(function (Network) {\n Network.RequestSchema = zod_1.default.lazy(() => zod_1.default.string());\n})(Network || (exports.Network = Network = {}));\n(function (Network) {\n Network.RequestDataSchema = zod_1.default.lazy(() => zod_1.default.object({\n request: Network.RequestSchema,\n url: zod_1.default.string(),\n method: zod_1.default.string(),\n headers: zod_1.default.array(Network.HeaderSchema),\n cookies: zod_1.default.array(Network.CookieSchema),\n headersSize: exports.JsUintSchema,\n bodySize: zod_1.default.union([exports.JsUintSchema, zod_1.default.null()]),\n timings: Network.FetchTimingInfoSchema,\n }));\n})(Network || (exports.Network = Network = {}));\n(function (Network) {\n Network.ResponseContentSchema = zod_1.default.lazy(() => zod_1.default.object({\n size: exports.JsUintSchema,\n }));\n})(Network || (exports.Network = Network = {}));\n(function (Network) {\n Network.ResponseDataSchema = zod_1.default.lazy(() => zod_1.default.object({\n url: zod_1.default.string(),\n protocol: zod_1.default.string(),\n status: exports.JsUintSchema,\n statusText: zod_1.default.string(),\n fromCache: zod_1.default.boolean(),\n headers: zod_1.default.array(Network.HeaderSchema),\n mimeType: zod_1.default.string(),\n bytesReceived: exports.JsUintSchema,\n headersSize: zod_1.default.union([exports.JsUintSchema, zod_1.default.null()]),\n bodySize: zod_1.default.union([exports.JsUintSchema, zod_1.default.null()]),\n content: Network.ResponseContentSchema,\n authChallenge: Network.AuthChallengeSchema.optional(),\n }));\n})(Network || (exports.Network = Network = {}));\n(function (Network) {\n Network.SetCookieHeaderSchema = zod_1.default.lazy(() => zod_1.default.object({\n name: zod_1.default.string(),\n value: Network.BytesValueSchema,\n domain: zod_1.default.string().optional(),\n httpOnly: zod_1.default.boolean().optional(),\n expiry: zod_1.default.string().optional(),\n maxAge: exports.JsIntSchema.optional(),\n path: zod_1.default.string().optional(),\n sameSite: Network.SameSiteSchema.optional(),\n secure: zod_1.default.boolean().optional(),\n }));\n})(Network || (exports.Network = Network = {}));\n(function (Network) {\n Network.UrlPatternSchema = zod_1.default.lazy(() => zod_1.default.union([Network.UrlPatternPatternSchema, Network.UrlPatternStringSchema]));\n})(Network || (exports.Network = Network = {}));\n(function (Network) {\n Network.UrlPatternPatternSchema = zod_1.default.lazy(() => zod_1.default.object({\n type: zod_1.default.literal('pattern'),\n protocol: zod_1.default.string().optional(),\n hostname: zod_1.default.string().optional(),\n port: zod_1.default.string().optional(),\n pathname: zod_1.default.string().optional(),\n search: zod_1.default.string().optional(),\n }));\n})(Network || (exports.Network = Network = {}));\n(function (Network) {\n Network.UrlPatternStringSchema = zod_1.default.lazy(() => zod_1.default.object({\n type: zod_1.default.literal('string'),\n pattern: zod_1.default.string(),\n }));\n})(Network || (exports.Network = Network = {}));\n(function (Network) {\n Network.AddInterceptParametersSchema = zod_1.default.lazy(() => zod_1.default.object({\n phases: zod_1.default.array(Network.InterceptPhaseSchema).min(1),\n contexts: zod_1.default\n .array(BrowsingContext.BrowsingContextSchema)\n .min(1)\n .optional(),\n urlPatterns: zod_1.default.array(Network.UrlPatternSchema).optional(),\n }));\n})(Network || (exports.Network = Network = {}));\n(function (Network) {\n Network.AddInterceptSchema = zod_1.default.lazy(() => zod_1.default.object({\n method: zod_1.default.literal('network.addIntercept'),\n params: Network.AddInterceptParametersSchema,\n }));\n})(Network || (exports.Network = Network = {}));\n(function (Network) {\n Network.InterceptPhaseSchema = zod_1.default.lazy(() => zod_1.default.enum(['beforeRequestSent', 'responseStarted', 'authRequired']));\n})(Network || (exports.Network = Network = {}));\n(function (Network) {\n Network.AddInterceptResultSchema = zod_1.default.lazy(() => zod_1.default.object({\n intercept: Network.InterceptSchema,\n }));\n})(Network || (exports.Network = Network = {}));\n(function (Network) {\n Network.ContinueRequestSchema = zod_1.default.lazy(() => zod_1.default.object({\n method: zod_1.default.literal('network.continueRequest'),\n params: Network.ContinueRequestParametersSchema,\n }));\n})(Network || (exports.Network = Network = {}));\n(function (Network) {\n Network.ContinueRequestParametersSchema = zod_1.default.lazy(() => zod_1.default.object({\n request: Network.RequestSchema,\n body: Network.BytesValueSchema.optional(),\n cookies: zod_1.default.array(Network.CookieHeaderSchema).optional(),\n headers: zod_1.default.array(Network.HeaderSchema).optional(),\n method: zod_1.default.string().optional(),\n url: zod_1.default.string().optional(),\n }));\n})(Network || (exports.Network = Network = {}));\n(function (Network) {\n Network.ContinueResponseSchema = zod_1.default.lazy(() => zod_1.default.object({\n method: zod_1.default.literal('network.continueResponse'),\n params: Network.ContinueResponseParametersSchema,\n }));\n})(Network || (exports.Network = Network = {}));\n(function (Network) {\n Network.ContinueResponseParametersSchema = zod_1.default.lazy(() => zod_1.default.object({\n request: Network.RequestSchema,\n cookies: zod_1.default.array(Network.SetCookieHeaderSchema).optional(),\n credentials: Network.AuthCredentialsSchema.optional(),\n headers: zod_1.default.array(Network.HeaderSchema).optional(),\n reasonPhrase: zod_1.default.string().optional(),\n statusCode: exports.JsUintSchema.optional(),\n }));\n})(Network || (exports.Network = Network = {}));\n(function (Network) {\n Network.ContinueWithAuthSchema = zod_1.default.lazy(() => zod_1.default.object({\n method: zod_1.default.literal('network.continueWithAuth'),\n params: Network.ContinueWithAuthParametersSchema,\n }));\n})(Network || (exports.Network = Network = {}));\n(function (Network) {\n Network.ContinueWithAuthParametersSchema = zod_1.default.lazy(() => zod_1.default\n .object({\n request: Network.RequestSchema,\n })\n .and(zod_1.default.union([\n Network.ContinueWithAuthCredentialsSchema,\n Network.ContinueWithAuthNoCredentialsSchema,\n ])));\n})(Network || (exports.Network = Network = {}));\n(function (Network) {\n Network.ContinueWithAuthCredentialsSchema = zod_1.default.lazy(() => zod_1.default.object({\n action: zod_1.default.literal('provideCredentials'),\n credentials: Network.AuthCredentialsSchema,\n }));\n})(Network || (exports.Network = Network = {}));\n(function (Network) {\n Network.ContinueWithAuthNoCredentialsSchema = zod_1.default.lazy(() => zod_1.default.object({\n action: zod_1.default.enum(['default', 'cancel']),\n }));\n})(Network || (exports.Network = Network = {}));\n(function (Network) {\n Network.FailRequestSchema = zod_1.default.lazy(() => zod_1.default.object({\n method: zod_1.default.literal('network.failRequest'),\n params: Network.FailRequestParametersSchema,\n }));\n})(Network || (exports.Network = Network = {}));\n(function (Network) {\n Network.FailRequestParametersSchema = zod_1.default.lazy(() => zod_1.default.object({\n request: Network.RequestSchema,\n }));\n})(Network || (exports.Network = Network = {}));\n(function (Network) {\n Network.ProvideResponseSchema = zod_1.default.lazy(() => zod_1.default.object({\n method: zod_1.default.literal('network.provideResponse'),\n params: Network.ProvideResponseParametersSchema,\n }));\n})(Network || (exports.Network = Network = {}));\n(function (Network) {\n Network.ProvideResponseParametersSchema = zod_1.default.lazy(() => zod_1.default.object({\n request: Network.RequestSchema,\n body: Network.BytesValueSchema.optional(),\n cookies: zod_1.default.array(Network.SetCookieHeaderSchema).optional(),\n headers: zod_1.default.array(Network.HeaderSchema).optional(),\n reasonPhrase: zod_1.default.string().optional(),\n statusCode: exports.JsUintSchema.optional(),\n }));\n})(Network || (exports.Network = Network = {}));\n(function (Network) {\n Network.RemoveInterceptSchema = zod_1.default.lazy(() => zod_1.default.object({\n method: zod_1.default.literal('network.removeIntercept'),\n params: Network.RemoveInterceptParametersSchema,\n }));\n})(Network || (exports.Network = Network = {}));\n(function (Network) {\n Network.RemoveInterceptParametersSchema = zod_1.default.lazy(() => zod_1.default.object({\n intercept: Network.InterceptSchema,\n }));\n})(Network || (exports.Network = Network = {}));\nexports.ScriptEventSchema = zod_1.default.lazy(() => zod_1.default.union([\n Script.MessageSchema,\n Script.RealmCreatedSchema,\n Script.RealmDestroyedSchema,\n]));\n(function (Network) {\n Network.AuthRequiredParametersSchema = zod_1.default.lazy(() => Network.BaseParametersSchema.and(zod_1.default.object({\n response: Network.ResponseDataSchema,\n })));\n})(Network || (exports.Network = Network = {}));\n(function (Network) {\n Network.BeforeRequestSentParametersSchema = zod_1.default.lazy(() => Network.BaseParametersSchema.and(zod_1.default.object({\n initiator: Network.InitiatorSchema,\n })));\n})(Network || (exports.Network = Network = {}));\n(function (Network) {\n Network.FetchErrorParametersSchema = zod_1.default.lazy(() => Network.BaseParametersSchema.and(zod_1.default.object({\n errorText: zod_1.default.string(),\n })));\n})(Network || (exports.Network = Network = {}));\n(function (Network) {\n Network.ResponseCompletedParametersSchema = zod_1.default.lazy(() => Network.BaseParametersSchema.and(zod_1.default.object({\n response: Network.ResponseDataSchema,\n })));\n})(Network || (exports.Network = Network = {}));\n(function (Network) {\n Network.ResponseStartedParametersSchema = zod_1.default.lazy(() => Network.BaseParametersSchema.and(zod_1.default.object({\n response: Network.ResponseDataSchema,\n })));\n})(Network || (exports.Network = Network = {}));\nexports.ScriptCommandSchema = zod_1.default.lazy(() => zod_1.default.union([\n Script.AddPreloadScriptSchema,\n Script.CallFunctionSchema,\n Script.DisownSchema,\n Script.EvaluateSchema,\n Script.GetRealmsSchema,\n Script.RemovePreloadScriptSchema,\n]));\nexports.ScriptResultSchema = zod_1.default.lazy(() => zod_1.default.union([\n Script.AddPreloadScriptResultSchema,\n Script.EvaluateResultSchema,\n Script.GetRealmsResultSchema,\n]));\n(function (Network) {\n Network.AuthRequiredSchema = zod_1.default.lazy(() => zod_1.default.object({\n method: zod_1.default.literal('network.authRequired'),\n params: Network.AuthRequiredParametersSchema,\n }));\n})(Network || (exports.Network = Network = {}));\n(function (Network) {\n Network.BeforeRequestSentSchema = zod_1.default.lazy(() => zod_1.default.object({\n method: zod_1.default.literal('network.beforeRequestSent'),\n params: Network.BeforeRequestSentParametersSchema,\n }));\n})(Network || (exports.Network = Network = {}));\n(function (Network) {\n Network.FetchErrorSchema = zod_1.default.lazy(() => zod_1.default.object({\n method: zod_1.default.literal('network.fetchError'),\n params: Network.FetchErrorParametersSchema,\n }));\n})(Network || (exports.Network = Network = {}));\n(function (Network) {\n Network.ResponseCompletedSchema = zod_1.default.lazy(() => zod_1.default.object({\n method: zod_1.default.literal('network.responseCompleted'),\n params: Network.ResponseCompletedParametersSchema,\n }));\n})(Network || (exports.Network = Network = {}));\n(function (Network) {\n Network.ResponseStartedSchema = zod_1.default.lazy(() => zod_1.default.object({\n method: zod_1.default.literal('network.responseStarted'),\n params: Network.ResponseStartedParametersSchema,\n }));\n})(Network || (exports.Network = Network = {}));\nvar Script;\n(function (Script) {\n Script.ChannelSchema = zod_1.default.lazy(() => zod_1.default.string());\n})(Script || (exports.Script = Script = {}));\n(function (Script) {\n Script.EvaluateResultSuccessSchema = zod_1.default.lazy(() => zod_1.default.object({\n type: zod_1.default.literal('success'),\n result: Script.RemoteValueSchema,\n realm: Script.RealmSchema,\n }));\n})(Script || (exports.Script = Script = {}));\n(function (Script) {\n Script.ExceptionDetailsSchema = zod_1.default.lazy(() => zod_1.default.object({\n columnNumber: exports.JsUintSchema,\n exception: Script.RemoteValueSchema,\n lineNumber: exports.JsUintSchema,\n stackTrace: Script.StackTraceSchema,\n text: zod_1.default.string(),\n }));\n})(Script || (exports.Script = Script = {}));\n(function (Script) {\n Script.ChannelValueSchema = zod_1.default.lazy(() => zod_1.default.object({\n type: zod_1.default.literal('channel'),\n value: Script.ChannelPropertiesSchema,\n }));\n})(Script || (exports.Script = Script = {}));\n(function (Script) {\n Script.ChannelPropertiesSchema = zod_1.default.lazy(() => zod_1.default.object({\n channel: Script.ChannelSchema,\n serializationOptions: Script.SerializationOptionsSchema.optional(),\n ownership: Script.ResultOwnershipSchema.optional(),\n }));\n})(Script || (exports.Script = Script = {}));\n(function (Script) {\n Script.EvaluateResultSchema = zod_1.default.lazy(() => zod_1.default.union([\n Script.EvaluateResultSuccessSchema,\n Script.EvaluateResultExceptionSchema,\n ]));\n})(Script || (exports.Script = Script = {}));\n(function (Script) {\n Script.EvaluateResultExceptionSchema = zod_1.default.lazy(() => zod_1.default.object({\n type: zod_1.default.literal('exception'),\n exceptionDetails: Script.ExceptionDetailsSchema,\n realm: Script.RealmSchema,\n }));\n})(Script || (exports.Script = Script = {}));\n(function (Script) {\n Script.HandleSchema = zod_1.default.lazy(() => zod_1.default.string());\n})(Script || (exports.Script = Script = {}));\n(function (Script) {\n Script.InternalIdSchema = zod_1.default.lazy(() => zod_1.default.string());\n})(Script || (exports.Script = Script = {}));\n(function (Script) {\n Script.ListLocalValueSchema = zod_1.default.lazy(() => zod_1.default.array(Script.LocalValueSchema));\n})(Script || (exports.Script = Script = {}));\n(function (Script) {\n Script.LocalValueSchema = zod_1.default.lazy(() => zod_1.default.union([\n Script.RemoteReferenceSchema,\n Script.PrimitiveProtocolValueSchema,\n Script.ChannelValueSchema,\n Script.ArrayLocalValueSchema,\n Script.DateLocalValueSchema,\n Script.MapLocalValueSchema,\n Script.ObjectLocalValueSchema,\n Script.RegExpLocalValueSchema,\n Script.SetLocalValueSchema,\n ]));\n})(Script || (exports.Script = Script = {}));\n(function (Script) {\n Script.ArrayLocalValueSchema = zod_1.default.lazy(() => zod_1.default.object({\n type: zod_1.default.literal('array'),\n value: Script.ListLocalValueSchema,\n }));\n})(Script || (exports.Script = Script = {}));\n(function (Script) {\n Script.DateLocalValueSchema = zod_1.default.lazy(() => zod_1.default.object({\n type: zod_1.default.literal('date'),\n value: zod_1.default.string(),\n }));\n})(Script || (exports.Script = Script = {}));\n(function (Script) {\n Script.MappingLocalValueSchema = zod_1.default.lazy(() => zod_1.default.array(zod_1.default.tuple([\n zod_1.default.union([Script.LocalValueSchema, zod_1.default.string()]),\n Script.LocalValueSchema,\n ])));\n})(Script || (exports.Script = Script = {}));\n(function (Script) {\n Script.MapLocalValueSchema = zod_1.default.lazy(() => zod_1.default.object({\n type: zod_1.default.literal('map'),\n value: Script.MappingLocalValueSchema,\n }));\n})(Script || (exports.Script = Script = {}));\n(function (Script) {\n Script.ObjectLocalValueSchema = zod_1.default.lazy(() => zod_1.default.object({\n type: zod_1.default.literal('object'),\n value: Script.MappingLocalValueSchema,\n }));\n})(Script || (exports.Script = Script = {}));\n(function (Script) {\n Script.RegExpValueSchema = zod_1.default.lazy(() => zod_1.default.object({\n pattern: zod_1.default.string(),\n flags: zod_1.default.string().optional(),\n }));\n})(Script || (exports.Script = Script = {}));\n(function (Script) {\n Script.RegExpLocalValueSchema = zod_1.default.lazy(() => zod_1.default.object({\n type: zod_1.default.literal('regexp'),\n value: Script.RegExpValueSchema,\n }));\n})(Script || (exports.Script = Script = {}));\n(function (Script) {\n Script.SetLocalValueSchema = zod_1.default.lazy(() => zod_1.default.object({\n type: zod_1.default.literal('set'),\n value: Script.ListLocalValueSchema,\n }));\n})(Script || (exports.Script = Script = {}));\n(function (Script) {\n Script.PreloadScriptSchema = zod_1.default.lazy(() => zod_1.default.string());\n})(Script || (exports.Script = Script = {}));\n(function (Script) {\n Script.RealmSchema = zod_1.default.lazy(() => zod_1.default.string());\n})(Script || (exports.Script = Script = {}));\n(function (Script) {\n Script.PrimitiveProtocolValueSchema = zod_1.default.lazy(() => zod_1.default.union([\n Script.UndefinedValueSchema,\n Script.NullValueSchema,\n Script.StringValueSchema,\n Script.NumberValueSchema,\n Script.BooleanValueSchema,\n Script.BigIntValueSchema,\n ]));\n})(Script || (exports.Script = Script = {}));\n(function (Script) {\n Script.UndefinedValueSchema = zod_1.default.lazy(() => zod_1.default.object({\n type: zod_1.default.literal('undefined'),\n }));\n})(Script || (exports.Script = Script = {}));\n(function (Script) {\n Script.NullValueSchema = zod_1.default.lazy(() => zod_1.default.object({\n type: zod_1.default.literal('null'),\n }));\n})(Script || (exports.Script = Script = {}));\n(function (Script) {\n Script.StringValueSchema = zod_1.default.lazy(() => zod_1.default.object({\n type: zod_1.default.literal('string'),\n value: zod_1.default.string(),\n }));\n})(Script || (exports.Script = Script = {}));\n(function (Script) {\n Script.SpecialNumberSchema = zod_1.default.lazy(() => zod_1.default.enum(['NaN', '-0', 'Infinity', '-Infinity']));\n})(Script || (exports.Script = Script = {}));\n(function (Script) {\n Script.NumberValueSchema = zod_1.default.lazy(() => zod_1.default.object({\n type: zod_1.default.literal('number'),\n value: zod_1.default.union([zod_1.default.number(), Script.SpecialNumberSchema]),\n }));\n})(Script || (exports.Script = Script = {}));\n(function (Script) {\n Script.BooleanValueSchema = zod_1.default.lazy(() => zod_1.default.object({\n type: zod_1.default.literal('boolean'),\n value: zod_1.default.boolean(),\n }));\n})(Script || (exports.Script = Script = {}));\n(function (Script) {\n Script.BigIntValueSchema = zod_1.default.lazy(() => zod_1.default.object({\n type: zod_1.default.literal('bigint'),\n value: zod_1.default.string(),\n }));\n})(Script || (exports.Script = Script = {}));\n(function (Script) {\n Script.RealmInfoSchema = zod_1.default.lazy(() => zod_1.default.union([\n Script.WindowRealmInfoSchema,\n Script.DedicatedWorkerRealmInfoSchema,\n Script.SharedWorkerRealmInfoSchema,\n Script.ServiceWorkerRealmInfoSchema,\n Script.WorkerRealmInfoSchema,\n Script.PaintWorkletRealmInfoSchema,\n Script.AudioWorkletRealmInfoSchema,\n Script.WorkletRealmInfoSchema,\n ]));\n})(Script || (exports.Script = Script = {}));\n(function (Script) {\n Script.BaseRealmInfoSchema = zod_1.default.lazy(() => zod_1.default.object({\n realm: Script.RealmSchema,\n origin: zod_1.default.string(),\n }));\n})(Script || (exports.Script = Script = {}));\n(function (Script) {\n Script.WindowRealmInfoSchema = zod_1.default.lazy(() => Script.BaseRealmInfoSchema.and(zod_1.default.object({\n type: zod_1.default.literal('window'),\n context: BrowsingContext.BrowsingContextSchema,\n sandbox: zod_1.default.string().optional(),\n })));\n})(Script || (exports.Script = Script = {}));\n(function (Script) {\n Script.DedicatedWorkerRealmInfoSchema = zod_1.default.lazy(() => Script.BaseRealmInfoSchema.and(zod_1.default.object({\n type: zod_1.default.literal('dedicated-worker'),\n owners: zod_1.default.tuple([Script.RealmSchema]),\n })));\n})(Script || (exports.Script = Script = {}));\n(function (Script) {\n Script.SharedWorkerRealmInfoSchema = zod_1.default.lazy(() => Script.BaseRealmInfoSchema.and(zod_1.default.object({\n type: zod_1.default.literal('shared-worker'),\n })));\n})(Script || (exports.Script = Script = {}));\n(function (Script) {\n Script.ServiceWorkerRealmInfoSchema = zod_1.default.lazy(() => Script.BaseRealmInfoSchema.and(zod_1.default.object({\n type: zod_1.default.literal('service-worker'),\n })));\n})(Script || (exports.Script = Script = {}));\n(function (Script) {\n Script.WorkerRealmInfoSchema = zod_1.default.lazy(() => Script.BaseRealmInfoSchema.and(zod_1.default.object({\n type: zod_1.default.literal('worker'),\n })));\n})(Script || (exports.Script = Script = {}));\n(function (Script) {\n Script.PaintWorkletRealmInfoSchema = zod_1.default.lazy(() => Script.BaseRealmInfoSchema.and(zod_1.default.object({\n type: zod_1.default.literal('paint-worklet'),\n })));\n})(Script || (exports.Script = Script = {}));\n(function (Script) {\n Script.AudioWorkletRealmInfoSchema = zod_1.default.lazy(() => Script.BaseRealmInfoSchema.and(zod_1.default.object({\n type: zod_1.default.literal('audio-worklet'),\n })));\n})(Script || (exports.Script = Script = {}));\n(function (Script) {\n Script.WorkletRealmInfoSchema = zod_1.default.lazy(() => Script.BaseRealmInfoSchema.and(zod_1.default.object({\n type: zod_1.default.literal('worklet'),\n })));\n})(Script || (exports.Script = Script = {}));\n(function (Script) {\n Script.RealmTypeSchema = zod_1.default.lazy(() => zod_1.default.enum([\n 'window',\n 'dedicated-worker',\n 'shared-worker',\n 'service-worker',\n 'worker',\n 'paint-worklet',\n 'audio-worklet',\n 'worklet',\n ]));\n})(Script || (exports.Script = Script = {}));\n(function (Script) {\n Script.ListRemoteValueSchema = zod_1.default.lazy(() => zod_1.default.array(Script.RemoteValueSchema));\n})(Script || (exports.Script = Script = {}));\n(function (Script) {\n Script.MappingRemoteValueSchema = zod_1.default.lazy(() => zod_1.default.array(zod_1.default.tuple([\n zod_1.default.union([Script.RemoteValueSchema, zod_1.default.string()]),\n Script.RemoteValueSchema,\n ])));\n})(Script || (exports.Script = Script = {}));\n(function (Script) {\n Script.RemoteValueSchema = zod_1.default.lazy(() => zod_1.default.union([\n Script.PrimitiveProtocolValueSchema,\n Script.SymbolRemoteValueSchema,\n Script.ArrayRemoteValueSchema,\n Script.ObjectRemoteValueSchema,\n Script.FunctionRemoteValueSchema,\n Script.RegExpRemoteValueSchema,\n Script.DateRemoteValueSchema,\n Script.MapRemoteValueSchema,\n Script.SetRemoteValueSchema,\n Script.WeakMapRemoteValueSchema,\n Script.WeakSetRemoteValueSchema,\n Script.IteratorRemoteValueSchema,\n Script.GeneratorRemoteValueSchema,\n Script.ErrorRemoteValueSchema,\n Script.ProxyRemoteValueSchema,\n Script.PromiseRemoteValueSchema,\n Script.TypedArrayRemoteValueSchema,\n Script.ArrayBufferRemoteValueSchema,\n Script.NodeListRemoteValueSchema,\n Script.HtmlCollectionRemoteValueSchema,\n Script.NodeRemoteValueSchema,\n Script.WindowProxyRemoteValueSchema,\n ]));\n})(Script || (exports.Script = Script = {}));\n(function (Script) {\n Script.RemoteReferenceSchema = zod_1.default.lazy(() => zod_1.default.union([Script.SharedReferenceSchema, Script.RemoteObjectReferenceSchema]));\n})(Script || (exports.Script = Script = {}));\n(function (Script) {\n Script.SharedReferenceSchema = zod_1.default.lazy(() => zod_1.default\n .object({\n sharedId: Script.SharedIdSchema,\n handle: Script.HandleSchema.optional(),\n })\n .and(exports.ExtensibleSchema));\n})(Script || (exports.Script = Script = {}));\n(function (Script) {\n Script.RemoteObjectReferenceSchema = zod_1.default.lazy(() => zod_1.default\n .object({\n handle: Script.HandleSchema,\n sharedId: Script.SharedIdSchema.optional(),\n })\n .and(exports.ExtensibleSchema));\n})(Script || (exports.Script = Script = {}));\n(function (Script) {\n Script.SymbolRemoteValueSchema = zod_1.default.lazy(() => zod_1.default.object({\n type: zod_1.default.literal('symbol'),\n handle: Script.HandleSchema.optional(),\n internalId: Script.InternalIdSchema.optional(),\n }));\n})(Script || (exports.Script = Script = {}));\n(function (Script) {\n Script.ArrayRemoteValueSchema = zod_1.default.lazy(() => zod_1.default.object({\n type: zod_1.default.literal('array'),\n handle: Script.HandleSchema.optional(),\n internalId: Script.InternalIdSchema.optional(),\n value: Script.ListRemoteValueSchema.optional(),\n }));\n})(Script || (exports.Script = Script = {}));\n(function (Script) {\n Script.ObjectRemoteValueSchema = zod_1.default.lazy(() => zod_1.default.object({\n type: zod_1.default.literal('object'),\n handle: Script.HandleSchema.optional(),\n internalId: Script.InternalIdSchema.optional(),\n value: Script.MappingRemoteValueSchema.optional(),\n }));\n})(Script || (exports.Script = Script = {}));\n(function (Script) {\n Script.FunctionRemoteValueSchema = zod_1.default.lazy(() => zod_1.default.object({\n type: zod_1.default.literal('function'),\n handle: Script.HandleSchema.optional(),\n internalId: Script.InternalIdSchema.optional(),\n }));\n})(Script || (exports.Script = Script = {}));\n(function (Script) {\n Script.RegExpRemoteValueSchema = zod_1.default.lazy(() => zod_1.default\n .object({\n handle: Script.HandleSchema.optional(),\n internalId: Script.InternalIdSchema.optional(),\n })\n .and(Script.RegExpLocalValueSchema));\n})(Script || (exports.Script = Script = {}));\n(function (Script) {\n Script.DateRemoteValueSchema = zod_1.default.lazy(() => zod_1.default\n .object({\n handle: Script.HandleSchema.optional(),\n internalId: Script.InternalIdSchema.optional(),\n })\n .and(Script.DateLocalValueSchema));\n})(Script || (exports.Script = Script = {}));\n(function (Script) {\n Script.MapRemoteValueSchema = zod_1.default.lazy(() => zod_1.default.object({\n type: zod_1.default.literal('map'),\n handle: Script.HandleSchema.optional(),\n internalId: Script.InternalIdSchema.optional(),\n value: Script.MappingRemoteValueSchema.optional(),\n }));\n})(Script || (exports.Script = Script = {}));\n(function (Script) {\n Script.SetRemoteValueSchema = zod_1.default.lazy(() => zod_1.default.object({\n type: zod_1.default.literal('set'),\n handle: Script.HandleSchema.optional(),\n internalId: Script.InternalIdSchema.optional(),\n value: Script.ListRemoteValueSchema.optional(),\n }));\n})(Script || (exports.Script = Script = {}));\n(function (Script) {\n Script.WeakMapRemoteValueSchema = zod_1.default.lazy(() => zod_1.default.object({\n type: zod_1.default.literal('weakmap'),\n handle: Script.HandleSchema.optional(),\n internalId: Script.InternalIdSchema.optional(),\n }));\n})(Script || (exports.Script = Script = {}));\n(function (Script) {\n Script.WeakSetRemoteValueSchema = zod_1.default.lazy(() => zod_1.default.object({\n type: zod_1.default.literal('weakset'),\n handle: Script.HandleSchema.optional(),\n internalId: Script.InternalIdSchema.optional(),\n }));\n})(Script || (exports.Script = Script = {}));\n(function (Script) {\n Script.IteratorRemoteValueSchema = zod_1.default.lazy(() => zod_1.default.object({\n type: zod_1.default.literal('iterator'),\n handle: Script.HandleSchema.optional(),\n internalId: Script.InternalIdSchema.optional(),\n }));\n})(Script || (exports.Script = Script = {}));\n(function (Script) {\n Script.GeneratorRemoteValueSchema = zod_1.default.lazy(() => zod_1.default.object({\n type: zod_1.default.literal('generator'),\n handle: Script.HandleSchema.optional(),\n internalId: Script.InternalIdSchema.optional(),\n }));\n})(Script || (exports.Script = Script = {}));\n(function (Script) {\n Script.ErrorRemoteValueSchema = zod_1.default.lazy(() => zod_1.default.object({\n type: zod_1.default.literal('error'),\n handle: Script.HandleSchema.optional(),\n internalId: Script.InternalIdSchema.optional(),\n }));\n})(Script || (exports.Script = Script = {}));\n(function (Script) {\n Script.ProxyRemoteValueSchema = zod_1.default.lazy(() => zod_1.default.object({\n type: zod_1.default.literal('proxy'),\n handle: Script.HandleSchema.optional(),\n internalId: Script.InternalIdSchema.optional(),\n }));\n})(Script || (exports.Script = Script = {}));\n(function (Script) {\n Script.PromiseRemoteValueSchema = zod_1.default.lazy(() => zod_1.default.object({\n type: zod_1.default.literal('promise'),\n handle: Script.HandleSchema.optional(),\n internalId: Script.InternalIdSchema.optional(),\n }));\n})(Script || (exports.Script = Script = {}));\n(function (Script) {\n Script.TypedArrayRemoteValueSchema = zod_1.default.lazy(() => zod_1.default.object({\n type: zod_1.default.literal('typedarray'),\n handle: Script.HandleSchema.optional(),\n internalId: Script.InternalIdSchema.optional(),\n }));\n})(Script || (exports.Script = Script = {}));\n(function (Script) {\n Script.ArrayBufferRemoteValueSchema = zod_1.default.lazy(() => zod_1.default.object({\n type: zod_1.default.literal('arraybuffer'),\n handle: Script.HandleSchema.optional(),\n internalId: Script.InternalIdSchema.optional(),\n }));\n})(Script || (exports.Script = Script = {}));\n(function (Script) {\n Script.NodeListRemoteValueSchema = zod_1.default.lazy(() => zod_1.default.object({\n type: zod_1.default.literal('nodelist'),\n handle: Script.HandleSchema.optional(),\n internalId: Script.InternalIdSchema.optional(),\n value: Script.ListRemoteValueSchema.optional(),\n }));\n})(Script || (exports.Script = Script = {}));\n(function (Script) {\n Script.HtmlCollectionRemoteValueSchema = zod_1.default.lazy(() => zod_1.default.object({\n type: zod_1.default.literal('htmlcollection'),\n handle: Script.HandleSchema.optional(),\n internalId: Script.InternalIdSchema.optional(),\n value: Script.ListRemoteValueSchema.optional(),\n }));\n})(Script || (exports.Script = Script = {}));\n(function (Script) {\n Script.NodeRemoteValueSchema = zod_1.default.lazy(() => zod_1.default.object({\n type: zod_1.default.literal('node'),\n sharedId: Script.SharedIdSchema.optional(),\n handle: Script.HandleSchema.optional(),\n internalId: Script.InternalIdSchema.optional(),\n value: Script.NodePropertiesSchema.optional(),\n }));\n})(Script || (exports.Script = Script = {}));\n(function (Script) {\n Script.NodePropertiesSchema = zod_1.default.lazy(() => zod_1.default.object({\n nodeType: exports.JsUintSchema,\n childNodeCount: exports.JsUintSchema,\n attributes: zod_1.default.record(zod_1.default.string(), zod_1.default.string()).optional(),\n children: zod_1.default.array(Script.NodeRemoteValueSchema).optional(),\n localName: zod_1.default.string().optional(),\n mode: zod_1.default.enum(['open', 'closed']).optional(),\n namespaceURI: zod_1.default.string().optional(),\n nodeValue: zod_1.default.string().optional(),\n shadowRoot: zod_1.default.union([Script.NodeRemoteValueSchema, zod_1.default.null()]).optional(),\n }));\n})(Script || (exports.Script = Script = {}));\n(function (Script) {\n Script.WindowProxyRemoteValueSchema = zod_1.default.lazy(() => zod_1.default.object({\n type: zod_1.default.literal('window'),\n value: Script.WindowProxyPropertiesSchema,\n handle: Script.HandleSchema.optional(),\n internalId: Script.InternalIdSchema.optional(),\n }));\n})(Script || (exports.Script = Script = {}));\n(function (Script) {\n Script.WindowProxyPropertiesSchema = zod_1.default.lazy(() => zod_1.default.object({\n context: BrowsingContext.BrowsingContextSchema,\n }));\n})(Script || (exports.Script = Script = {}));\n(function (Script) {\n Script.ResultOwnershipSchema = zod_1.default.lazy(() => zod_1.default.enum(['root', 'none']));\n})(Script || (exports.Script = Script = {}));\n(function (Script) {\n Script.SerializationOptionsSchema = zod_1.default.lazy(() => zod_1.default.object({\n maxDomDepth: zod_1.default.union([exports.JsUintSchema, zod_1.default.null()]).default(0).optional(),\n maxObjectDepth: zod_1.default\n .union([exports.JsUintSchema, zod_1.default.null()])\n .default(null)\n .optional(),\n includeShadowTree: zod_1.default\n .enum(['none', 'open', 'all'])\n .default('none')\n .optional(),\n }));\n})(Script || (exports.Script = Script = {}));\n(function (Script) {\n Script.SharedIdSchema = zod_1.default.lazy(() => zod_1.default.string());\n})(Script || (exports.Script = Script = {}));\n(function (Script) {\n Script.StackFrameSchema = zod_1.default.lazy(() => zod_1.default.object({\n columnNumber: exports.JsUintSchema,\n functionName: zod_1.default.string(),\n lineNumber: exports.JsUintSchema,\n url: zod_1.default.string(),\n }));\n})(Script || (exports.Script = Script = {}));\n(function (Script) {\n Script.StackTraceSchema = zod_1.default.lazy(() => zod_1.default.object({\n callFrames: zod_1.default.array(Script.StackFrameSchema),\n }));\n})(Script || (exports.Script = Script = {}));\n(function (Script) {\n Script.SourceSchema = zod_1.default.lazy(() => zod_1.default.object({\n realm: Script.RealmSchema,\n context: BrowsingContext.BrowsingContextSchema.optional(),\n }));\n})(Script || (exports.Script = Script = {}));\n(function (Script) {\n Script.RealmTargetSchema = zod_1.default.lazy(() => zod_1.default.object({\n realm: Script.RealmSchema,\n }));\n})(Script || (exports.Script = Script = {}));\n(function (Script) {\n Script.ContextTargetSchema = zod_1.default.lazy(() => zod_1.default.object({\n context: BrowsingContext.BrowsingContextSchema,\n sandbox: zod_1.default.string().optional(),\n }));\n})(Script || (exports.Script = Script = {}));\n(function (Script) {\n Script.TargetSchema = zod_1.default.lazy(() => zod_1.default.union([Script.RealmTargetSchema, Script.ContextTargetSchema]));\n})(Script || (exports.Script = Script = {}));\n(function (Script) {\n Script.AddPreloadScriptSchema = zod_1.default.lazy(() => zod_1.default.object({\n method: zod_1.default.literal('script.addPreloadScript'),\n params: Script.AddPreloadScriptParametersSchema,\n }));\n})(Script || (exports.Script = Script = {}));\n(function (Script) {\n Script.AddPreloadScriptParametersSchema = zod_1.default.lazy(() => zod_1.default.object({\n functionDeclaration: zod_1.default.string(),\n arguments: zod_1.default.array(Script.ChannelValueSchema).optional(),\n contexts: zod_1.default\n .array(BrowsingContext.BrowsingContextSchema)\n .min(1)\n .optional(),\n sandbox: zod_1.default.string().optional(),\n }));\n})(Script || (exports.Script = Script = {}));\n(function (Script) {\n Script.AddPreloadScriptResultSchema = zod_1.default.lazy(() => zod_1.default.object({\n script: Script.PreloadScriptSchema,\n }));\n})(Script || (exports.Script = Script = {}));\n(function (Script) {\n Script.DisownSchema = zod_1.default.lazy(() => zod_1.default.object({\n method: zod_1.default.literal('script.disown'),\n params: Script.DisownParametersSchema,\n }));\n})(Script || (exports.Script = Script = {}));\n(function (Script) {\n Script.DisownParametersSchema = zod_1.default.lazy(() => zod_1.default.object({\n handles: zod_1.default.array(Script.HandleSchema),\n target: Script.TargetSchema,\n }));\n})(Script || (exports.Script = Script = {}));\n(function (Script) {\n Script.CallFunctionParametersSchema = zod_1.default.lazy(() => zod_1.default.object({\n functionDeclaration: zod_1.default.string(),\n awaitPromise: zod_1.default.boolean(),\n target: Script.TargetSchema,\n arguments: zod_1.default.array(Script.LocalValueSchema).optional(),\n resultOwnership: Script.ResultOwnershipSchema.optional(),\n serializationOptions: Script.SerializationOptionsSchema.optional(),\n this: Script.LocalValueSchema.optional(),\n userActivation: zod_1.default.boolean().default(false).optional(),\n }));\n})(Script || (exports.Script = Script = {}));\n(function (Script) {\n Script.CallFunctionSchema = zod_1.default.lazy(() => zod_1.default.object({\n method: zod_1.default.literal('script.callFunction'),\n params: Script.CallFunctionParametersSchema,\n }));\n})(Script || (exports.Script = Script = {}));\n(function (Script) {\n Script.EvaluateSchema = zod_1.default.lazy(() => zod_1.default.object({\n method: zod_1.default.literal('script.evaluate'),\n params: Script.EvaluateParametersSchema,\n }));\n})(Script || (exports.Script = Script = {}));\n(function (Script) {\n Script.EvaluateParametersSchema = zod_1.default.lazy(() => zod_1.default.object({\n expression: zod_1.default.string(),\n target: Script.TargetSchema,\n awaitPromise: zod_1.default.boolean(),\n resultOwnership: Script.ResultOwnershipSchema.optional(),\n serializationOptions: Script.SerializationOptionsSchema.optional(),\n userActivation: zod_1.default.boolean().default(false).optional(),\n }));\n})(Script || (exports.Script = Script = {}));\n(function (Script) {\n Script.GetRealmsSchema = zod_1.default.lazy(() => zod_1.default.object({\n method: zod_1.default.literal('script.getRealms'),\n params: Script.GetRealmsParametersSchema,\n }));\n})(Script || (exports.Script = Script = {}));\n(function (Script) {\n Script.GetRealmsParametersSchema = zod_1.default.lazy(() => zod_1.default.object({\n context: BrowsingContext.BrowsingContextSchema.optional(),\n type: Script.RealmTypeSchema.optional(),\n }));\n})(Script || (exports.Script = Script = {}));\n(function (Script) {\n Script.GetRealmsResultSchema = zod_1.default.lazy(() => zod_1.default.object({\n realms: zod_1.default.array(Script.RealmInfoSchema),\n }));\n})(Script || (exports.Script = Script = {}));\n(function (Script) {\n Script.RemovePreloadScriptSchema = zod_1.default.lazy(() => zod_1.default.object({\n method: zod_1.default.literal('script.removePreloadScript'),\n params: Script.RemovePreloadScriptParametersSchema,\n }));\n})(Script || (exports.Script = Script = {}));\n(function (Script) {\n Script.RemovePreloadScriptParametersSchema = zod_1.default.lazy(() => zod_1.default.object({\n script: Script.PreloadScriptSchema,\n }));\n})(Script || (exports.Script = Script = {}));\n(function (Script) {\n Script.MessageParametersSchema = zod_1.default.lazy(() => zod_1.default.object({\n channel: Script.ChannelSchema,\n data: Script.RemoteValueSchema,\n source: Script.SourceSchema,\n }));\n})(Script || (exports.Script = Script = {}));\n(function (Script) {\n Script.RealmCreatedSchema = zod_1.default.lazy(() => zod_1.default.object({\n method: zod_1.default.literal('script.realmCreated'),\n params: Script.RealmInfoSchema,\n }));\n})(Script || (exports.Script = Script = {}));\n(function (Script) {\n Script.MessageSchema = zod_1.default.lazy(() => zod_1.default.object({\n method: zod_1.default.literal('script.message'),\n params: Script.MessageParametersSchema,\n }));\n})(Script || (exports.Script = Script = {}));\n(function (Script) {\n Script.RealmDestroyedSchema = zod_1.default.lazy(() => zod_1.default.object({\n method: zod_1.default.literal('script.realmDestroyed'),\n params: Script.RealmDestroyedParametersSchema,\n }));\n})(Script || (exports.Script = Script = {}));\n(function (Script) {\n Script.RealmDestroyedParametersSchema = zod_1.default.lazy(() => zod_1.default.object({\n realm: Script.RealmSchema,\n }));\n})(Script || (exports.Script = Script = {}));\nexports.StorageCommandSchema = zod_1.default.lazy(() => zod_1.default.union([\n Storage.DeleteCookiesSchema,\n Storage.GetCookiesSchema,\n Storage.SetCookieSchema,\n]));\nexports.StorageResultSchema = zod_1.default.lazy(() => zod_1.default.union([\n Storage.DeleteCookiesResultSchema,\n Storage.GetCookiesResultSchema,\n Storage.SetCookieResultSchema,\n]));\nvar Storage;\n(function (Storage) {\n Storage.PartitionKeySchema = zod_1.default.lazy(() => zod_1.default\n .object({\n userContext: zod_1.default.string().optional(),\n sourceOrigin: zod_1.default.string().optional(),\n })\n .and(exports.ExtensibleSchema));\n})(Storage || (exports.Storage = Storage = {}));\n(function (Storage) {\n Storage.GetCookiesSchema = zod_1.default.lazy(() => zod_1.default.object({\n method: zod_1.default.literal('storage.getCookies'),\n params: Storage.GetCookiesParametersSchema,\n }));\n})(Storage || (exports.Storage = Storage = {}));\n(function (Storage) {\n Storage.CookieFilterSchema = zod_1.default.lazy(() => zod_1.default\n .object({\n name: zod_1.default.string().optional(),\n value: Network.BytesValueSchema.optional(),\n domain: zod_1.default.string().optional(),\n path: zod_1.default.string().optional(),\n size: exports.JsUintSchema.optional(),\n httpOnly: zod_1.default.boolean().optional(),\n secure: zod_1.default.boolean().optional(),\n sameSite: Network.SameSiteSchema.optional(),\n expiry: exports.JsUintSchema.optional(),\n })\n .and(exports.ExtensibleSchema));\n})(Storage || (exports.Storage = Storage = {}));\n(function (Storage) {\n Storage.BrowsingContextPartitionDescriptorSchema = zod_1.default.lazy(() => zod_1.default.object({\n type: zod_1.default.literal('context'),\n context: BrowsingContext.BrowsingContextSchema,\n }));\n})(Storage || (exports.Storage = Storage = {}));\n(function (Storage) {\n Storage.StorageKeyPartitionDescriptorSchema = zod_1.default.lazy(() => zod_1.default\n .object({\n type: zod_1.default.literal('storageKey'),\n userContext: zod_1.default.string().optional(),\n sourceOrigin: zod_1.default.string().optional(),\n })\n .and(exports.ExtensibleSchema));\n})(Storage || (exports.Storage = Storage = {}));\n(function (Storage) {\n Storage.PartitionDescriptorSchema = zod_1.default.lazy(() => zod_1.default.union([\n Storage.BrowsingContextPartitionDescriptorSchema,\n Storage.StorageKeyPartitionDescriptorSchema,\n ]));\n})(Storage || (exports.Storage = Storage = {}));\n(function (Storage) {\n Storage.GetCookiesParametersSchema = zod_1.default.lazy(() => zod_1.default.object({\n filter: Storage.CookieFilterSchema.optional(),\n partition: Storage.PartitionDescriptorSchema.optional(),\n }));\n})(Storage || (exports.Storage = Storage = {}));\n(function (Storage) {\n Storage.GetCookiesResultSchema = zod_1.default.lazy(() => zod_1.default.object({\n cookies: zod_1.default.array(Network.CookieSchema),\n partitionKey: Storage.PartitionKeySchema,\n }));\n})(Storage || (exports.Storage = Storage = {}));\n(function (Storage) {\n Storage.SetCookieSchema = zod_1.default.lazy(() => zod_1.default.object({\n method: zod_1.default.literal('storage.setCookie'),\n params: Storage.SetCookieParametersSchema,\n }));\n})(Storage || (exports.Storage = Storage = {}));\n(function (Storage) {\n Storage.PartialCookieSchema = zod_1.default.lazy(() => zod_1.default\n .object({\n name: zod_1.default.string(),\n value: Network.BytesValueSchema,\n domain: zod_1.default.string(),\n path: zod_1.default.string().optional(),\n httpOnly: zod_1.default.boolean().optional(),\n secure: zod_1.default.boolean().optional(),\n sameSite: Network.SameSiteSchema.optional(),\n expiry: exports.JsUintSchema.optional(),\n })\n .and(exports.ExtensibleSchema));\n})(Storage || (exports.Storage = Storage = {}));\n(function (Storage) {\n Storage.SetCookieParametersSchema = zod_1.default.lazy(() => zod_1.default.object({\n cookie: Storage.PartialCookieSchema,\n partition: Storage.PartitionDescriptorSchema.optional(),\n }));\n})(Storage || (exports.Storage = Storage = {}));\n(function (Storage) {\n Storage.SetCookieResultSchema = zod_1.default.lazy(() => zod_1.default.object({\n partitionKey: Storage.PartitionKeySchema,\n }));\n})(Storage || (exports.Storage = Storage = {}));\n(function (Storage) {\n Storage.DeleteCookiesSchema = zod_1.default.lazy(() => zod_1.default.object({\n method: zod_1.default.literal('storage.deleteCookies'),\n params: Storage.DeleteCookiesParametersSchema,\n }));\n})(Storage || (exports.Storage = Storage = {}));\n(function (Storage) {\n Storage.DeleteCookiesParametersSchema = zod_1.default.lazy(() => zod_1.default.object({\n filter: Storage.CookieFilterSchema.optional(),\n partition: Storage.PartitionDescriptorSchema.optional(),\n }));\n})(Storage || (exports.Storage = Storage = {}));\n(function (Storage) {\n Storage.DeleteCookiesResultSchema = zod_1.default.lazy(() => zod_1.default.object({\n partitionKey: Storage.PartitionKeySchema,\n }));\n})(Storage || (exports.Storage = Storage = {}));\nexports.LogEventSchema = zod_1.default.lazy(() => Log.EntryAddedSchema);\nvar Log;\n(function (Log) {\n Log.LevelSchema = zod_1.default.lazy(() => zod_1.default.enum(['debug', 'info', 'warn', 'error']));\n})(Log || (exports.Log = Log = {}));\n(function (Log) {\n Log.EntrySchema = zod_1.default.lazy(() => zod_1.default.union([\n Log.GenericLogEntrySchema,\n Log.ConsoleLogEntrySchema,\n Log.JavascriptLogEntrySchema,\n ]));\n})(Log || (exports.Log = Log = {}));\n(function (Log) {\n Log.BaseLogEntrySchema = zod_1.default.lazy(() => zod_1.default.object({\n level: Log.LevelSchema,\n source: Script.SourceSchema,\n text: zod_1.default.union([zod_1.default.string(), zod_1.default.null()]),\n timestamp: exports.JsUintSchema,\n stackTrace: Script.StackTraceSchema.optional(),\n }));\n})(Log || (exports.Log = Log = {}));\n(function (Log) {\n Log.GenericLogEntrySchema = zod_1.default.lazy(() => Log.BaseLogEntrySchema.and(zod_1.default.object({\n type: zod_1.default.string(),\n })));\n})(Log || (exports.Log = Log = {}));\n(function (Log) {\n Log.ConsoleLogEntrySchema = zod_1.default.lazy(() => Log.BaseLogEntrySchema.and(zod_1.default.object({\n type: zod_1.default.literal('console'),\n method: zod_1.default.string(),\n args: zod_1.default.array(Script.RemoteValueSchema),\n })));\n})(Log || (exports.Log = Log = {}));\n(function (Log) {\n Log.JavascriptLogEntrySchema = zod_1.default.lazy(() => Log.BaseLogEntrySchema.and(zod_1.default.object({\n type: zod_1.default.literal('javascript'),\n })));\n})(Log || (exports.Log = Log = {}));\n(function (Log) {\n Log.EntryAddedSchema = zod_1.default.lazy(() => zod_1.default.object({\n method: zod_1.default.literal('log.entryAdded'),\n params: Log.EntrySchema,\n }));\n})(Log || (exports.Log = Log = {}));\nexports.InputCommandSchema = zod_1.default.lazy(() => zod_1.default.union([\n Input.PerformActionsSchema,\n Input.ReleaseActionsSchema,\n Input.SetFilesSchema,\n]));\nvar Input;\n(function (Input) {\n Input.ElementOriginSchema = zod_1.default.lazy(() => zod_1.default.object({\n type: zod_1.default.literal('element'),\n element: Script.SharedReferenceSchema,\n }));\n})(Input || (exports.Input = Input = {}));\n(function (Input) {\n Input.PerformActionsParametersSchema = zod_1.default.lazy(() => zod_1.default.object({\n context: BrowsingContext.BrowsingContextSchema,\n actions: zod_1.default.array(Input.SourceActionsSchema),\n }));\n})(Input || (exports.Input = Input = {}));\n(function (Input) {\n Input.NoneSourceActionsSchema = zod_1.default.lazy(() => zod_1.default.object({\n type: zod_1.default.literal('none'),\n id: zod_1.default.string(),\n actions: zod_1.default.array(Input.NoneSourceActionSchema),\n }));\n})(Input || (exports.Input = Input = {}));\n(function (Input) {\n Input.KeySourceActionsSchema = zod_1.default.lazy(() => zod_1.default.object({\n type: zod_1.default.literal('key'),\n id: zod_1.default.string(),\n actions: zod_1.default.array(Input.KeySourceActionSchema),\n }));\n})(Input || (exports.Input = Input = {}));\n(function (Input) {\n Input.PointerSourceActionsSchema = zod_1.default.lazy(() => zod_1.default.object({\n type: zod_1.default.literal('pointer'),\n id: zod_1.default.string(),\n parameters: Input.PointerParametersSchema.optional(),\n actions: zod_1.default.array(Input.PointerSourceActionSchema),\n }));\n})(Input || (exports.Input = Input = {}));\n(function (Input) {\n Input.PerformActionsSchema = zod_1.default.lazy(() => zod_1.default.object({\n method: zod_1.default.literal('input.performActions'),\n params: Input.PerformActionsParametersSchema,\n }));\n})(Input || (exports.Input = Input = {}));\n(function (Input) {\n Input.SourceActionsSchema = zod_1.default.lazy(() => zod_1.default.union([\n Input.NoneSourceActionsSchema,\n Input.KeySourceActionsSchema,\n Input.PointerSourceActionsSchema,\n Input.WheelSourceActionsSchema,\n ]));\n})(Input || (exports.Input = Input = {}));\n(function (Input) {\n Input.NoneSourceActionSchema = zod_1.default.lazy(() => Input.PauseActionSchema);\n})(Input || (exports.Input = Input = {}));\n(function (Input) {\n Input.KeySourceActionSchema = zod_1.default.lazy(() => zod_1.default.union([\n Input.PauseActionSchema,\n Input.KeyDownActionSchema,\n Input.KeyUpActionSchema,\n ]));\n})(Input || (exports.Input = Input = {}));\n(function (Input) {\n Input.PointerTypeSchema = zod_1.default.lazy(() => zod_1.default.enum(['mouse', 'pen', 'touch']));\n})(Input || (exports.Input = Input = {}));\n(function (Input) {\n Input.PointerParametersSchema = zod_1.default.lazy(() => zod_1.default.object({\n pointerType: Input.PointerTypeSchema.default('mouse').optional(),\n }));\n})(Input || (exports.Input = Input = {}));\n(function (Input) {\n Input.WheelSourceActionsSchema = zod_1.default.lazy(() => zod_1.default.object({\n type: zod_1.default.literal('wheel'),\n id: zod_1.default.string(),\n actions: zod_1.default.array(Input.WheelSourceActionSchema),\n }));\n})(Input || (exports.Input = Input = {}));\n(function (Input) {\n Input.PointerSourceActionSchema = zod_1.default.lazy(() => zod_1.default.union([\n Input.PauseActionSchema,\n Input.PointerDownActionSchema,\n Input.PointerUpActionSchema,\n Input.PointerMoveActionSchema,\n ]));\n})(Input || (exports.Input = Input = {}));\n(function (Input) {\n Input.WheelSourceActionSchema = zod_1.default.lazy(() => zod_1.default.union([Input.PauseActionSchema, Input.WheelScrollActionSchema]));\n})(Input || (exports.Input = Input = {}));\n(function (Input) {\n Input.PauseActionSchema = zod_1.default.lazy(() => zod_1.default.object({\n type: zod_1.default.literal('pause'),\n duration: exports.JsUintSchema.optional(),\n }));\n})(Input || (exports.Input = Input = {}));\n(function (Input) {\n Input.KeyDownActionSchema = zod_1.default.lazy(() => zod_1.default.object({\n type: zod_1.default.literal('keyDown'),\n value: zod_1.default.string(),\n }));\n})(Input || (exports.Input = Input = {}));\n(function (Input) {\n Input.KeyUpActionSchema = zod_1.default.lazy(() => zod_1.default.object({\n type: zod_1.default.literal('keyUp'),\n value: zod_1.default.string(),\n }));\n})(Input || (exports.Input = Input = {}));\n(function (Input) {\n Input.PointerUpActionSchema = zod_1.default.lazy(() => zod_1.default.object({\n type: zod_1.default.literal('pointerUp'),\n button: exports.JsUintSchema,\n }));\n})(Input || (exports.Input = Input = {}));\n(function (Input) {\n Input.PointerDownActionSchema = zod_1.default.lazy(() => zod_1.default\n .object({\n type: zod_1.default.literal('pointerDown'),\n button: exports.JsUintSchema,\n })\n .and(Input.PointerCommonPropertiesSchema));\n})(Input || (exports.Input = Input = {}));\n(function (Input) {\n Input.PointerMoveActionSchema = zod_1.default.lazy(() => zod_1.default\n .object({\n type: zod_1.default.literal('pointerMove'),\n x: exports.JsIntSchema,\n y: exports.JsIntSchema,\n duration: exports.JsUintSchema.optional(),\n origin: Input.OriginSchema.optional(),\n })\n .and(Input.PointerCommonPropertiesSchema));\n})(Input || (exports.Input = Input = {}));\n(function (Input) {\n Input.WheelScrollActionSchema = zod_1.default.lazy(() => zod_1.default.object({\n type: zod_1.default.literal('scroll'),\n x: exports.JsIntSchema,\n y: exports.JsIntSchema,\n deltaX: exports.JsIntSchema,\n deltaY: exports.JsIntSchema,\n duration: exports.JsUintSchema.optional(),\n origin: Input.OriginSchema.default('viewport').optional(),\n }));\n})(Input || (exports.Input = Input = {}));\n(function (Input) {\n Input.PointerCommonPropertiesSchema = zod_1.default.lazy(() => zod_1.default.object({\n width: exports.JsUintSchema.default(1).optional(),\n height: exports.JsUintSchema.default(1).optional(),\n pressure: zod_1.default.number().default(0).optional(),\n tangentialPressure: zod_1.default.number().default(0).optional(),\n twist: zod_1.default\n .number()\n .int()\n .nonnegative()\n .gte(0)\n .lte(359)\n .default(0)\n .optional(),\n altitudeAngle: zod_1.default\n .number()\n .gte(0)\n .lte(1.5707963267948966)\n .default(0)\n .optional(),\n azimuthAngle: zod_1.default\n .number()\n .gte(0)\n .lte(6.283185307179586)\n .default(0)\n .optional(),\n }));\n})(Input || (exports.Input = Input = {}));\n(function (Input) {\n Input.OriginSchema = zod_1.default.lazy(() => zod_1.default.union([\n zod_1.default.literal('viewport'),\n zod_1.default.literal('pointer'),\n Input.ElementOriginSchema,\n ]));\n})(Input || (exports.Input = Input = {}));\n(function (Input) {\n Input.ReleaseActionsSchema = zod_1.default.lazy(() => zod_1.default.object({\n method: zod_1.default.literal('input.releaseActions'),\n params: Input.ReleaseActionsParametersSchema,\n }));\n})(Input || (exports.Input = Input = {}));\n(function (Input) {\n Input.ReleaseActionsParametersSchema = zod_1.default.lazy(() => zod_1.default.object({\n context: BrowsingContext.BrowsingContextSchema,\n }));\n})(Input || (exports.Input = Input = {}));\n(function (Input) {\n Input.SetFilesSchema = zod_1.default.lazy(() => zod_1.default.object({\n method: zod_1.default.literal('input.setFiles'),\n params: Input.SetFilesParametersSchema,\n }));\n})(Input || (exports.Input = Input = {}));\n(function (Input) {\n Input.SetFilesParametersSchema = zod_1.default.lazy(() => zod_1.default.object({\n context: BrowsingContext.BrowsingContextSchema,\n element: Script.SharedReferenceSchema,\n files: zod_1.default.array(zod_1.default.string()),\n }));\n})(Input || (exports.Input = Input = {}));\n//# sourceMappingURL=webdriver-bidi.js.map","\"use strict\";\n/**\n * Copyright 2022 Google LLC.\n * Copyright (c) Microsoft Corporation.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\n __setModuleDefault(result, mod);\n return result;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.Permissions = exports.Cdp = exports.Storage = exports.Input = exports.Session = exports.BrowsingContext = exports.Script = exports.Network = exports.Browser = exports.parseObject = void 0;\n/**\n * @fileoverview Provides parsing and validator for WebDriver BiDi protocol.\n * Parser types should match the `../protocol` types.\n */\nconst zod_1 = require(\"zod\");\nconst protocol_js_1 = require(\"../protocol/protocol.js\");\nconst WebDriverBidiPermissions = __importStar(require(\"./generated/webdriver-bidi-permissions.js\"));\nconst WebDriverBidi = __importStar(require(\"./generated/webdriver-bidi.js\"));\nfunction parseObject(obj, schema) {\n const parseResult = schema.safeParse(obj);\n if (parseResult.success) {\n return parseResult.data;\n }\n const errorMessage = parseResult.error.errors\n .map((e) => `${e.message} in ` +\n `${e.path.map((p) => JSON.stringify(p)).join('/')}.`)\n .join(' ');\n throw new protocol_js_1.InvalidArgumentException(errorMessage);\n}\nexports.parseObject = parseObject;\n/** @see https://w3c.github.io/webdriver-bidi/#module-browser */\nvar Browser;\n(function (Browser) {\n function parseRemoveUserContextParams(params) {\n return parseObject(params, WebDriverBidi.Browser.RemoveUserContextParametersSchema);\n }\n Browser.parseRemoveUserContextParams = parseRemoveUserContextParams;\n})(Browser || (exports.Browser = Browser = {}));\n/** @see https://w3c.github.io/webdriver-bidi/#module-network */\nvar Network;\n(function (Network) {\n function parseAddInterceptParameters(params) {\n // Work around of `cddlconv` https://github.com/google/cddlconv/issues/19.\n return parseObject(params, WebDriverBidi.Network.AddInterceptParametersSchema);\n }\n Network.parseAddInterceptParameters = parseAddInterceptParameters;\n function parseContinueRequestParameters(params) {\n return parseObject(params, WebDriverBidi.Network.ContinueRequestParametersSchema);\n }\n Network.parseContinueRequestParameters = parseContinueRequestParameters;\n function parseContinueResponseParameters(params) {\n // Work around of `cddlconv` https://github.com/google/cddlconv/issues/19.\n // The generated schema `SameSiteSchema` in `src/protocol-parser/webdriver-bidi.ts` is\n // of type `\"none\" | \"strict\" | \"lax\"` which is not assignable to generated enum\n // `SameSite` in `src/protocol/webdriver-bidi.ts`.\n // TODO: remove cast after https://github.com/google/cddlconv/issues/19 is fixed.\n return parseObject(params, WebDriverBidi.Network.ContinueResponseParametersSchema);\n }\n Network.parseContinueResponseParameters = parseContinueResponseParameters;\n function parseContinueWithAuthParameters(params) {\n return parseObject(params, WebDriverBidi.Network.ContinueWithAuthParametersSchema);\n }\n Network.parseContinueWithAuthParameters = parseContinueWithAuthParameters;\n function parseFailRequestParameters(params) {\n return parseObject(params, WebDriverBidi.Network.FailRequestParametersSchema);\n }\n Network.parseFailRequestParameters = parseFailRequestParameters;\n function parseProvideResponseParameters(params) {\n // Work around of `cddlconv` https://github.com/google/cddlconv/issues/19.\n // The generated schema `SameSiteSchema` in `src/protocol-parser/webdriver-bidi.ts` is\n // of type `\"none\" | \"strict\" | \"lax\"` which is not assignable to generated enum\n // `SameSite` in `src/protocol/webdriver-bidi.ts`.\n // TODO: remove cast after https://github.com/google/cddlconv/issues/19 is fixed.\n return parseObject(params, WebDriverBidi.Network.ProvideResponseParametersSchema);\n }\n Network.parseProvideResponseParameters = parseProvideResponseParameters;\n function parseRemoveInterceptParameters(params) {\n return parseObject(params, WebDriverBidi.Network.RemoveInterceptParametersSchema);\n }\n Network.parseRemoveInterceptParameters = parseRemoveInterceptParameters;\n})(Network || (exports.Network = Network = {}));\n/** @see https://w3c.github.io/webdriver-bidi/#module-script */\nvar Script;\n(function (Script) {\n function parseGetRealmsParams(params) {\n return parseObject(params, WebDriverBidi.Script.GetRealmsParametersSchema);\n }\n Script.parseGetRealmsParams = parseGetRealmsParams;\n function parseEvaluateParams(params) {\n return parseObject(params, WebDriverBidi.Script.EvaluateParametersSchema);\n }\n Script.parseEvaluateParams = parseEvaluateParams;\n function parseDisownParams(params) {\n return parseObject(params, WebDriverBidi.Script.DisownParametersSchema);\n }\n Script.parseDisownParams = parseDisownParams;\n function parseAddPreloadScriptParams(params) {\n return parseObject(params, WebDriverBidi.Script.AddPreloadScriptParametersSchema);\n }\n Script.parseAddPreloadScriptParams = parseAddPreloadScriptParams;\n function parseRemovePreloadScriptParams(params) {\n return parseObject(params, WebDriverBidi.Script.RemovePreloadScriptParametersSchema);\n }\n Script.parseRemovePreloadScriptParams = parseRemovePreloadScriptParams;\n function parseCallFunctionParams(params) {\n return parseObject(params, WebDriverBidi.Script.CallFunctionParametersSchema);\n }\n Script.parseCallFunctionParams = parseCallFunctionParams;\n})(Script || (exports.Script = Script = {}));\n/** @see https://w3c.github.io/webdriver-bidi/#module-browsingContext */\nvar BrowsingContext;\n(function (BrowsingContext) {\n function parseActivateParams(params) {\n return parseObject(params, WebDriverBidi.BrowsingContext.ActivateParametersSchema);\n }\n BrowsingContext.parseActivateParams = parseActivateParams;\n function parseGetTreeParams(params) {\n return parseObject(params, WebDriverBidi.BrowsingContext.GetTreeParametersSchema);\n }\n BrowsingContext.parseGetTreeParams = parseGetTreeParams;\n function parseNavigateParams(params) {\n return parseObject(params, WebDriverBidi.BrowsingContext.NavigateParametersSchema);\n }\n BrowsingContext.parseNavigateParams = parseNavigateParams;\n function parseReloadParams(params) {\n return parseObject(params, WebDriverBidi.BrowsingContext.ReloadParametersSchema);\n }\n BrowsingContext.parseReloadParams = parseReloadParams;\n function parseCreateParams(params) {\n return parseObject(params, WebDriverBidi.BrowsingContext.CreateParametersSchema);\n }\n BrowsingContext.parseCreateParams = parseCreateParams;\n function parseCloseParams(params) {\n return parseObject(params, WebDriverBidi.BrowsingContext.CloseParametersSchema);\n }\n BrowsingContext.parseCloseParams = parseCloseParams;\n function parseCaptureScreenshotParams(params) {\n return parseObject(params, WebDriverBidi.BrowsingContext.CaptureScreenshotParametersSchema);\n }\n BrowsingContext.parseCaptureScreenshotParams = parseCaptureScreenshotParams;\n function parsePrintParams(params) {\n return parseObject(params, WebDriverBidi.BrowsingContext.PrintParametersSchema);\n }\n BrowsingContext.parsePrintParams = parsePrintParams;\n function parseSetViewportParams(params) {\n return parseObject(params, WebDriverBidi.BrowsingContext.SetViewportParametersSchema);\n }\n BrowsingContext.parseSetViewportParams = parseSetViewportParams;\n function parseTraverseHistoryParams(params) {\n return parseObject(params, WebDriverBidi.BrowsingContext.TraverseHistoryParametersSchema);\n }\n BrowsingContext.parseTraverseHistoryParams = parseTraverseHistoryParams;\n function parseHandleUserPromptParameters(params) {\n return parseObject(params, WebDriverBidi.BrowsingContext.HandleUserPromptParametersSchema);\n }\n BrowsingContext.parseHandleUserPromptParameters = parseHandleUserPromptParameters;\n})(BrowsingContext || (exports.BrowsingContext = BrowsingContext = {}));\n/** @see https://w3c.github.io/webdriver-bidi/#module-session */\nvar Session;\n(function (Session) {\n function parseSubscribeParams(params) {\n return parseObject(params, WebDriverBidi.Session.SubscriptionRequestSchema);\n }\n Session.parseSubscribeParams = parseSubscribeParams;\n})(Session || (exports.Session = Session = {}));\nvar Input;\n(function (Input) {\n function parsePerformActionsParams(params) {\n return parseObject(params, WebDriverBidi.Input.PerformActionsParametersSchema);\n }\n Input.parsePerformActionsParams = parsePerformActionsParams;\n function parseReleaseActionsParams(params) {\n return parseObject(params, WebDriverBidi.Input.ReleaseActionsParametersSchema);\n }\n Input.parseReleaseActionsParams = parseReleaseActionsParams;\n function parseSetFilesParams(params) {\n return parseObject(params, WebDriverBidi.Input.SetFilesParametersSchema);\n }\n Input.parseSetFilesParams = parseSetFilesParams;\n})(Input || (exports.Input = Input = {}));\nvar Storage;\n(function (Storage) {\n function parseGetCookiesParams(params) {\n // Work around of `cddlconv` https://github.com/google/cddlconv/issues/19.\n // The generated schema `SameSiteSchema` in `src/protocol-parser/webdriver-bidi.ts` is\n // of type `\"none\" | \"strict\" | \"lax\"` which is not assignable to generated enum\n // `SameSite` in `src/protocol/webdriver-bidi.ts`.\n // TODO: remove cast after https://github.com/google/cddlconv/issues/19 is fixed.\n return parseObject(params, WebDriverBidi.Storage.GetCookiesParametersSchema);\n }\n Storage.parseGetCookiesParams = parseGetCookiesParams;\n function parseSetCookieParams(params) {\n // Work around of `cddlconv` https://github.com/google/cddlconv/issues/19.\n // The generated schema `SameSiteSchema` in `src/protocol-parser/webdriver-bidi.ts` is\n // of type `\"none\" | \"strict\" | \"lax\"` which is not assignable to generated enum\n // `SameSite` in `src/protocol/webdriver-bidi.ts`.\n // TODO: remove cast after https://github.com/google/cddlconv/issues/19 is fixed.\n return parseObject(params, WebDriverBidi.Storage.SetCookieParametersSchema);\n }\n Storage.parseSetCookieParams = parseSetCookieParams;\n function parseDeleteCookiesParams(params) {\n // Work around of `cddlconv` https://github.com/google/cddlconv/issues/19.\n // The generated schema `SameSiteSchema` in `src/protocol-parser/webdriver-bidi.ts` is\n // of type `\"none\" | \"strict\" | \"lax\"` which is not assignable to generated enum\n // `SameSite` in `src/protocol/webdriver-bidi.ts`.\n // TODO: remove cast after https://github.com/google/cddlconv/issues/19 is fixed.\n return parseObject(params, WebDriverBidi.Storage.DeleteCookiesParametersSchema);\n }\n Storage.parseDeleteCookiesParams = parseDeleteCookiesParams;\n})(Storage || (exports.Storage = Storage = {}));\nvar Cdp;\n(function (Cdp) {\n const SendCommandRequestSchema = zod_1.z.object({\n // Allowing any cdpMethod, and casting to proper type later on.\n method: zod_1.z.string(),\n // `passthrough` allows object to have any fields.\n // https://github.com/colinhacks/zod#passthrough\n params: zod_1.z.object({}).passthrough().optional(),\n session: zod_1.z.string().optional(),\n });\n const GetSessionRequestSchema = zod_1.z.object({\n context: WebDriverBidi.BrowsingContext.BrowsingContextSchema,\n });\n const ResolveRealmRequestSchema = zod_1.z.object({\n realm: WebDriverBidi.Script.RealmSchema,\n });\n function parseSendCommandRequest(params) {\n return parseObject(params, SendCommandRequestSchema);\n }\n Cdp.parseSendCommandRequest = parseSendCommandRequest;\n function parseGetSessionRequest(params) {\n return parseObject(params, GetSessionRequestSchema);\n }\n Cdp.parseGetSessionRequest = parseGetSessionRequest;\n function parseResolveRealmRequest(params) {\n return parseObject(params, ResolveRealmRequestSchema);\n }\n Cdp.parseResolveRealmRequest = parseResolveRealmRequest;\n})(Cdp || (exports.Cdp = Cdp = {}));\nvar Permissions;\n(function (Permissions) {\n function parseSetPermissionsParams(params) {\n return {\n // TODO: remove once \"goog:\" attributes are not needed.\n ...params,\n ...parseObject(params, WebDriverBidiPermissions.Permissions.SetPermissionParametersSchema),\n };\n }\n Permissions.parseSetPermissionsParams = parseSetPermissionsParams;\n})(Permissions || (exports.Permissions = Permissions = {}));\n//# sourceMappingURL=protocol-parser.js.map","\"use strict\";\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\n __setModuleDefault(result, mod);\n return result;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.BidiParser = void 0;\nconst Parser = __importStar(require(\"../protocol-parser/protocol-parser.js\"));\nclass BidiParser {\n // Browser domain\n // keep-sorted start block=yes\n parseRemoveUserContextParams(params) {\n return Parser.Browser.parseRemoveUserContextParams(params);\n }\n // keep-sorted end\n // Browsing Context domain\n // keep-sorted start block=yes\n parseActivateParams(params) {\n return Parser.BrowsingContext.parseActivateParams(params);\n }\n parseCaptureScreenshotParams(params) {\n return Parser.BrowsingContext.parseCaptureScreenshotParams(params);\n }\n parseCloseParams(params) {\n return Parser.BrowsingContext.parseCloseParams(params);\n }\n parseCreateParams(params) {\n return Parser.BrowsingContext.parseCreateParams(params);\n }\n parseGetTreeParams(params) {\n return Parser.BrowsingContext.parseGetTreeParams(params);\n }\n parseHandleUserPromptParams(params) {\n return Parser.BrowsingContext.parseHandleUserPromptParameters(params);\n }\n parseNavigateParams(params) {\n return Parser.BrowsingContext.parseNavigateParams(params);\n }\n parsePrintParams(params) {\n return Parser.BrowsingContext.parsePrintParams(params);\n }\n parseReloadParams(params) {\n return Parser.BrowsingContext.parseReloadParams(params);\n }\n parseSetViewportParams(params) {\n return Parser.BrowsingContext.parseSetViewportParams(params);\n }\n parseTraverseHistoryParams(params) {\n return Parser.BrowsingContext.parseTraverseHistoryParams(params);\n }\n // keep-sorted end\n // CDP domain\n // keep-sorted start block=yes\n parseGetSessionParams(params) {\n return Parser.Cdp.parseGetSessionRequest(params);\n }\n parseResolveRealmParams(params) {\n return Parser.Cdp.parseResolveRealmRequest(params);\n }\n parseSendCommandParams(params) {\n return Parser.Cdp.parseSendCommandRequest(params);\n }\n // keep-sorted end\n // Input domain\n // keep-sorted start block=yes\n parsePerformActionsParams(params) {\n return Parser.Input.parsePerformActionsParams(params);\n }\n parseReleaseActionsParams(params) {\n return Parser.Input.parseReleaseActionsParams(params);\n }\n parseSetFilesParams(params) {\n return Parser.Input.parseSetFilesParams(params);\n }\n // keep-sorted end\n // Network domain\n // keep-sorted start block=yes\n parseAddInterceptParams(params) {\n return Parser.Network.parseAddInterceptParameters(params);\n }\n parseContinueRequestParams(params) {\n return Parser.Network.parseContinueRequestParameters(params);\n }\n parseContinueResponseParams(params) {\n return Parser.Network.parseContinueResponseParameters(params);\n }\n parseContinueWithAuthParams(params) {\n return Parser.Network.parseContinueWithAuthParameters(params);\n }\n parseFailRequestParams(params) {\n return Parser.Network.parseFailRequestParameters(params);\n }\n parseProvideResponseParams(params) {\n return Parser.Network.parseProvideResponseParameters(params);\n }\n parseRemoveInterceptParams(params) {\n return Parser.Network.parseRemoveInterceptParameters(params);\n }\n // keep-sorted end\n // Permissions domain\n // keep-sorted start block=yes\n parseSetPermissionsParams(params) {\n return Parser.Permissions.parseSetPermissionsParams(params);\n }\n // keep-sorted end\n // Script domain\n // keep-sorted start block=yes\n parseAddPreloadScriptParams(params) {\n return Parser.Script.parseAddPreloadScriptParams(params);\n }\n parseCallFunctionParams(params) {\n return Parser.Script.parseCallFunctionParams(params);\n }\n parseDisownParams(params) {\n return Parser.Script.parseDisownParams(params);\n }\n parseEvaluateParams(params) {\n return Parser.Script.parseEvaluateParams(params);\n }\n parseGetRealmsParams(params) {\n return Parser.Script.parseGetRealmsParams(params);\n }\n parseRemovePreloadScriptParams(params) {\n return Parser.Script.parseRemovePreloadScriptParams(params);\n }\n // keep-sorted end\n // Session domain\n // keep-sorted start block=yes\n parseSubscribeParams(params) {\n return Parser.Session.parseSubscribeParams(params);\n }\n // keep-sorted end\n // Storage domain\n // keep-sorted start block=yes\n parseDeleteCookiesParams(params) {\n return Parser.Storage.parseDeleteCookiesParams(params);\n }\n parseGetCookiesParams(params) {\n return Parser.Storage.parseGetCookiesParams(params);\n }\n parseSetCookieParams(params) {\n return Parser.Storage.parseSetCookieParams(params);\n }\n}\nexports.BidiParser = BidiParser;\n//# sourceMappingURL=BidiParser.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.log = exports.generatePage = void 0;\n/**\n * Copyright 2022 Google LLC.\n * Copyright (c) Microsoft Corporation.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nconst log_js_1 = require(\"../utils/log.js\");\n/** HTML source code for the user-facing Mapper tab. */\nconst mapperPageSource = 'BiDi-CDP Mapper

BiDi-CDP Mapper is controlling this tab

Closing or reloading it will stop the BiDi process. Details.

Debug information
';\n/**\n * The following piece of HTML should be added to the `debug` element:\n *\n *
\n *
\n *

${name}

\n *
\n */\nfunction findOrCreateTypeLogContainer(logPrefix) {\n const logType = logPrefix.split(':')[0];\n const containerId = `${logType}_log`;\n const existingContainer = document.getElementById(containerId);\n if (existingContainer) {\n return existingContainer;\n }\n const debugElement = document.getElementById('details');\n const divider = document.createElement('div');\n divider.className = 'divider';\n debugElement.appendChild(divider);\n const htmlItem = document.createElement('div');\n htmlItem.className = 'item';\n htmlItem.innerHTML = `

${logType}

`;\n debugElement.appendChild(htmlItem);\n return document.getElementById(containerId);\n}\nfunction generatePage() {\n // If run not in browser (e.g. unit test), do nothing.\n if (!globalThis.document.documentElement) {\n return;\n }\n globalThis.document.documentElement.innerHTML = mapperPageSource;\n // Create main log containers in proper order.\n findOrCreateTypeLogContainer(log_js_1.LogType.debugInfo);\n findOrCreateTypeLogContainer(log_js_1.LogType.bidi);\n findOrCreateTypeLogContainer(log_js_1.LogType.cdp);\n}\nexports.generatePage = generatePage;\nfunction stringify(message) {\n if (typeof message === 'object') {\n return JSON.stringify(message, null, 2);\n }\n return message;\n}\nfunction log(logPrefix, ...messages) {\n // If run not in browser (e.g. unit test), do nothing.\n if (!globalThis.document.documentElement) {\n return;\n }\n // Skip sending BiDi logs as they are logged once by `bidi:server:*`\n if (!logPrefix.startsWith(log_js_1.LogType.bidi)) {\n // If `sendDebugMessage` is defined, send the log message there.\n global.window?.sendDebugMessage?.(JSON.stringify({ logType: logPrefix, messages }));\n }\n const typeLogContainer = findOrCreateTypeLogContainer(logPrefix);\n // This piece of HTML should be added:\n //
...log message...
\n const lineElement = document.createElement('div');\n lineElement.className = 'pre';\n lineElement.textContent = [logPrefix, ...messages].map(stringify).join(' ');\n typeLogContainer.appendChild(lineElement);\n if (typeLogContainer.childNodes.length > 200) {\n typeLogContainer.removeChild(typeLogContainer.childNodes[0]);\n }\n}\nexports.log = log;\n//# sourceMappingURL=mapperTabPage.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.WindowCdpTransport = exports.WindowBidiTransport = void 0;\nconst log_js_1 = require(\"../utils/log.js\");\nconst mapperTabPage_js_1 = require(\"./mapperTabPage.js\");\nclass WindowBidiTransport {\n static LOGGER_PREFIX_RECV = `${log_js_1.LogType.bidi}:RECV ◂`;\n static LOGGER_PREFIX_SEND = `${log_js_1.LogType.bidi}:SEND ▸`;\n #onMessage = null;\n constructor() {\n window.onBidiMessage = (message) => {\n (0, mapperTabPage_js_1.log)(WindowBidiTransport.LOGGER_PREFIX_RECV, message);\n try {\n const command = WindowBidiTransport.#parseBidiMessage(message);\n this.#onMessage?.call(null, command);\n }\n catch (e) {\n const error = e instanceof Error ? e : new Error(e);\n // Transport-level error does not provide channel.\n this.#respondWithError(message, \"invalid argument\" /* ErrorCode.InvalidArgument */, error, null);\n }\n };\n }\n setOnMessage(onMessage) {\n this.#onMessage = onMessage;\n }\n sendMessage(message) {\n (0, mapperTabPage_js_1.log)(WindowBidiTransport.LOGGER_PREFIX_SEND, message);\n const json = JSON.stringify(message);\n window.sendBidiResponse(json);\n }\n close() {\n this.#onMessage = null;\n window.onBidiMessage = null;\n }\n #respondWithError(plainCommandData, errorCode, error, channel) {\n const errorResponse = WindowBidiTransport.#getErrorResponse(plainCommandData, errorCode, error);\n if (channel) {\n this.sendMessage({\n ...errorResponse,\n channel,\n });\n }\n else {\n this.sendMessage(errorResponse);\n }\n }\n static #getJsonType(value) {\n if (value === null) {\n return 'null';\n }\n if (Array.isArray(value)) {\n return 'array';\n }\n return typeof value;\n }\n static #getErrorResponse(message, errorCode, error) {\n // XXX: this is bizarre per spec. We reparse the payload and\n // extract the ID, regardless of what kind of value it was.\n let messageId;\n try {\n const command = JSON.parse(message);\n if (WindowBidiTransport.#getJsonType(command) === 'object' &&\n 'id' in command) {\n messageId = command.id;\n }\n }\n catch { }\n return {\n type: 'error',\n id: messageId,\n error: errorCode,\n message: error.message,\n };\n }\n static #parseBidiMessage(message) {\n let command;\n try {\n command = JSON.parse(message);\n }\n catch {\n throw new Error('Cannot parse data as JSON');\n }\n const type = WindowBidiTransport.#getJsonType(command);\n if (type !== 'object') {\n throw new Error(`Expected JSON object but got ${type}`);\n }\n // Extract and validate id, method and params.\n const { id, method, params } = command;\n const idType = WindowBidiTransport.#getJsonType(id);\n if (idType !== 'number' || !Number.isInteger(id) || id < 0) {\n // TODO: should uint64_t be the upper limit?\n // https://tools.ietf.org/html/rfc7049#section-2.1\n throw new Error(`Expected unsigned integer but got ${idType}`);\n }\n const methodType = WindowBidiTransport.#getJsonType(method);\n if (methodType !== 'string') {\n throw new Error(`Expected string method but got ${methodType}`);\n }\n const paramsType = WindowBidiTransport.#getJsonType(params);\n if (paramsType !== 'object') {\n throw new Error(`Expected object params but got ${paramsType}`);\n }\n let channel = command.channel;\n if (channel !== undefined) {\n const channelType = WindowBidiTransport.#getJsonType(channel);\n if (channelType !== 'string') {\n throw new Error(`Expected string channel but got ${channelType}`);\n }\n // Empty string channel is considered as no channel provided.\n if (channel === '') {\n channel = undefined;\n }\n }\n return { id, method, params, channel };\n }\n}\nexports.WindowBidiTransport = WindowBidiTransport;\nclass WindowCdpTransport {\n #onMessage = null;\n constructor() {\n window.cdp.onmessage = (message) => {\n this.#onMessage?.call(null, message);\n };\n }\n setOnMessage(onMessage) {\n this.#onMessage = onMessage;\n }\n sendMessage(message) {\n window.cdp.send(message);\n }\n close() {\n this.#onMessage = null;\n window.cdp.onmessage = null;\n }\n}\nexports.WindowCdpTransport = WindowCdpTransport;\n//# sourceMappingURL=Transport.js.map","\"use strict\";\n/**\n * Copyright 2021 Google LLC.\n * Copyright (c) Microsoft Corporation.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\n * @license\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst BidiMapper_js_1 = require(\"../bidiMapper/BidiMapper.js\");\nconst CdpConnection_js_1 = require(\"../cdp/CdpConnection.js\");\nconst log_js_1 = require(\"../utils/log.js\");\nconst BidiParser_js_1 = require(\"./BidiParser.js\");\nconst mapperTabPage_js_1 = require(\"./mapperTabPage.js\");\nconst Transport_js_1 = require(\"./Transport.js\");\n(0, mapperTabPage_js_1.generatePage)();\nconst mapperTabToServerTransport = new Transport_js_1.WindowBidiTransport();\nconst cdpTransport = new Transport_js_1.WindowCdpTransport();\n/**\n * A CdpTransport implementation that uses the window.cdp bindings\n * injected by Target.exposeDevToolsProtocol.\n */\nconst cdpConnection = new CdpConnection_js_1.MapperCdpConnection(cdpTransport, mapperTabPage_js_1.log);\n/**\n * Launches the BiDi mapper instance.\n * @param {string} selfTargetId\n * @param options Mapper options. E.g. `acceptInsecureCerts`.\n */\nasync function runMapperInstance(selfTargetId, options) {\n // eslint-disable-next-line no-console\n console.log('Launching Mapper instance with selfTargetId:', selfTargetId);\n const bidiServer = await BidiMapper_js_1.BidiServer.createAndStart(mapperTabToServerTransport, cdpConnection, \n /**\n * Create a Browser CDP Session per Mapper instance.\n */\n await cdpConnection.createBrowserSession(), selfTargetId, options, new BidiParser_js_1.BidiParser(), mapperTabPage_js_1.log);\n (0, mapperTabPage_js_1.log)(log_js_1.LogType.debugInfo, 'Mapper instance has been launched');\n return bidiServer;\n}\n/**\n * Set `window.runMapper` to a function which launches the BiDi mapper instance.\n * @param selfTargetId Needed to filter out info related to BiDi target.\n * @param options Mapper options. E.g. `acceptInsecureCerts`. */\nwindow.runMapperInstance = async (selfTargetId, options) => {\n await runMapperInstance(selfTargetId, options);\n};\n//# sourceMappingURL=bidiTab.js.map"],"names":["n","all","Map","on","t","e","i","get","push","set","off","splice","indexOf","emit","slice","map","__importDefault","this","mod","__esModule","default","Object","defineProperty","EventEmitter_1","value","EventEmitter","mitt_1","require$$0","EventEmitter$1","emitter","type","handler","once","event","onceHandler","eventData","removeAllListeners","delete","clear","LogType","log","ProcessingQueue_1","ProcessingQueue","log_js_1","static","debug","logger","processor","queue","isProcessing","constructor","add","entry","name","processIfNeeded","length","arrayEntry","shift","entryPromise","LOGGER_PREFIX","then","kind","debugError","error","message","stack","catch","ProcessingQueue$1","cdp","BiDiModule","Script","Log","BrowsingContext","Network","chromiumBidi","EVENT_NAMES","EventNames","Set","values","webdriverBidi","ErrorResponse","UnderspecifiedStoragePartitionException","UnableToSetCookieException","NoSuchStoragePartitionException","UnsupportedOperationException","UnableToCloseBrowserException","UnknownErrorException","UnknownCommandException","NoSuchUserContextException","NoSuchScriptException","NoSuchRequestException","NoSuchNodeException","NoSuchHistoryEntryException","NoSuchHandleException","NoSuchFrameException","NoSuchElementException","MoveTargetOutOfBoundsException","InvalidSessionIdException","InvalidArgumentException","Exception","stacktrace","toErrorResponse","commandId","id","super","NoSuchAlertException","NoSuchInterceptException","SessionNotCreatedException","Error","UnableToCaptureScreenException","UnableToSetFileInputException","webdriverBidiPermissions","__createBinding","create","o","m","k","k2","undefined","desc","getOwnPropertyDescriptor","writable","configurable","enumerable","__setModuleDefault","v","__importStar","result","prototype","hasOwnProperty","call","__exportStar","exports","p","ChromiumBidi","Cdp","require$$1","require$$2","require$$3","require$$4","BidiNoOpParser_1","BidiNoOpParser","BidiNoOpParser$1","parseRemoveUserContextParams","params","parseActivateParams","parseCaptureScreenshotParams","parseCloseParams","parseCreateParams","parseGetTreeParams","parseHandleUserPromptParams","parseNavigateParams","parsePrintParams","parseReloadParams","parseSetViewportParams","parseTraverseHistoryParams","parseGetSessionParams","parseResolveRealmParams","parseSendCommandParams","parseAddPreloadScriptParams","parseCallFunctionParams","parseDisownParams","parseEvaluateParams","parseGetRealmsParams","parseRemovePreloadScriptParams","parsePerformActionsParams","parseReleaseActionsParams","parseSetFilesParams","parseAddInterceptParams","parseContinueRequestParams","parseContinueResponseParams","parseContinueWithAuthParams","parseFailRequestParams","parseProvideResponseParams","parseRemoveInterceptParams","parseSetPermissionsParams","parseSubscribeParams","parseDeleteCookiesParams","parseGetCookiesParams","parseSetCookieParams","BrowserProcessor_1","BrowserProcessor","protocol_js_1","BrowserProcessor$1","browserCdpClient","close","setTimeout","sendCommand","createUserContext","request","proxyServer","proxyBypassList","join","userContext","browserContextId","removeUserContext","err","startsWith","getUserContexts","userContexts","browserContextIds","CdpProcessor_1","CdpProcessor","CdpProcessor$1","browsingContextStorage","realmStorage","cdpConnection","getSession","context","sessionId","getContext","cdpTarget","cdpSessionId","session","resolveRealm","realm","getRealm","realmId","executionContextId","client","getCdpClient","method","uuid","uuidv4","globalThis","crypto","randomUUID","randomValues","Uint8Array","getRandomValues","require","webcrypto","bytesToHex","bytes","reduce","str","byte","toString","padStart","subarray","ChannelProxy_1","ChannelProxy","uuid_js_1","properties","channel","init","eventManager","channelHandle","createAndGetHandleInRealm","sendMessageHandle","createSendMessageHandle","startListener","startListenerFromWindow","getHandleFromWindow","createChannelProxyEvalStr","String","queueNonEmptyResolver","getMessage","onMessage","Promise","resolve","sendMessage","createChannelHandleResult","cdpClient","expression","contextId","serializationOptions","serialization","exceptionDetails","objectId","functionDeclaration","arguments","async","awaitPromise","maxDepth","maxObjectDepth","browsingContext","associatedBrowsingContexts","registerEvent","Message","data","cdpToBidiValue","ownership","source","channelHandleResult","w","window","channelProxy","getEvalInWindowStr","delegate","channelProxyEval","ChannelProxy$1","Realm_1","Realm","ChannelProxy_js_1","origin","addRealm","cdpValue","resultOwnership","bidiValue","serializeForBiDi","deepSerializedValue","handle","knownHandlesToRealmMap","releaseObject","subtype","internalIdMap","hasOwn","weakLocalObjectReference","has","internalId","includes","baseInfo","evaluate","userActivation","cdpEvaluateResult","getSerializationOptions","userGesture","getExceptionResult","initialize","RealmCreated","realmInfo","serializeCdpObject","cdpRemoteObject","argument","cdpRemoteObjectToCallArgument","remoteObject","unserializableValue","stringifyObject","returnByValue","flattenKeyValuePairs","mappingLocalValue","keyValueArray","key","keyArg","deserializeForCdp","valueArg","flattenValueList","listLocalValue","localValue","serializeCdpExceptionDetails","cdpExceptionDetails","lineOffset","callFrames","stackTrace","frame","url","functionName","lineNumber","columnNumber","exception","text","callFunction","thisLocalValue","argumentsLocalValues","callFunctionAndSerializeScript","thisAndArgumentsList","argumentLocalValue","cdpCallFunctionResult","code","Boolean","JSON","stringify","pattern","flags","args","additionalParameters","getAdditionalSerializationParameters","getMaxObjectDepth","maxDomDepth","includeShadowTree","disown","dispose","RealmDestroyed","Realm$1","WorkerRealm_1","WorkerRealm","Realm_js_1","realmType","ownerRealms","flatMap","owners","owner","WorkerRealm$1","assert_1","assert","assert$1","predicate","Deferred_1","Deferred","isFinished","promise","reject","_error","onFulfilled","onRejected","reason","onFinally","finally","Symbol","toStringTag","Deferred$1","unitConversions","inchesFromCm","cm","SharedId","parseSharedId","getSharedId","SHARED_ID_DIVIDER","frameId","documentId","backendNodeId","sharedIdWithFrame","sharedId","legacyFormattedSharedId","match","RegExp","elementId","parseInt","isNaN","parseLegacySharedId","WindowRealm_1","WindowRealm","SharedId_js_1","browsingContextId","sandbox","getBrowsingContextId","navigableId","maybeBrowsingContext","getAllContexts","find","loaderId","children","shadowRoot","namespaceURI","parsedSharedId","object","targetUnblockedOrThrow","WindowRealm$1","BrowsingContextImpl_1","BrowsingContextImpl$1","serializeOrigin","BrowsingContextImpl","chromium_bidi_js_1","assert_js_1","Deferred_js_1","unitConversions_js_1","require$$5","WindowRealm_js_1","require$$6","parentId","lifecycle","DOMContentLoaded","load","navigation","withinDocument","maybeDefaultRealm","initListeners","addContext","isTopLevelContext","parent","addChild","ContextCreated","serializeToBidiValue","getTimestamp","Date","getTime","deleteAllChildren","deleteRealms","failLifecycleIfNotFinished","ContextDestroyed","deleteContextById","directChildren","allChildren","concat","child","top","topContext","childId","defaultRealm","updateCdpTarget","lifecycleLoaded","unblocked","getOrCreateSandbox","maybeSandboxes","findRealms","worldName","addParentField","c","onTargetInfoChanged","targetInfo","urlFragment","timestamp","FragmentNavigated","NavigationStarted","documentChanged","DomContentLoaded","Load","auxData","uniqueId","isDefault","getChannels","accepted","UserPromptClosed","userText","userInput","UserPromptOpened","defaultValue","defaultPrompt","resetLifecycleIfFinished","navigate","wait","URL","cdpNavigateResult","errorText","reload","ignoreCache","setViewport","viewport","devicePixelRatio","width","height","deviceScaleFactor","mobile","dontSetVisibleSize","handleUserPrompt","accept","promptText","activate","captureScreenshot","formatParameters","quality","format","Math","round","getImageFormatParameters","script","captureBeyondViewport","element","document","documentElement","x","y","scrollWidth","scrollHeight","visualViewport","pageLeft","pageTop","originResult","deserializeDOMRect","rect","clip","first","second","normalizeRect","max","min","getIntersectionRect","parseRect","scale","print","cdpParams","background","printBackground","margin","bottom","marginBottom","left","marginLeft","right","marginRight","marginTop","orientation","landscape","page","paperHeight","paperWidth","pageRanges","range","rangeParts","split","parseInteger","lowerBound","upperBound","rangeLowerPart","rangeUpperPart","Number","MAX_SAFE_INTEGER","shrinkToFit","preferCSSPageSize","Element","getBoundingClientRect","traverseHistory","delta","history","entries","currentIndex","entryId","toggleModulesIfNeeded","enableNetwork","subscriptionManager","isSubscribedToModule","toggleNetworkIfNeeded","box","trim","test","logHelper","getRemoteValuesText","logMessageFormatter","specifiers","isFormatSpecifier","some","spec","output","argFormat","argValues","tokens","token","arg","stringFromArg","parseFloat","toJson","pair","val","formatText","LogManager_1","LogManager","logHelper_js_1","getBidiStackTrace","cdpStackTrace","stackFrames","callFrame","logManager","initializeEntryAddedEventListener","findRealm","argsPromise","registerPromiseEvent","LogEntryAdded","level","consoleApiType","getExceptionText","LogManager$1","CdpTarget_1","CdpTarget","LogManager_js_1","preloadScriptStorage","acceptInsecureCerts","networkDomainEnabled","fetchDomainEnabled","targetId","networkStorage","setEventListeners","unblock","enabledNetwork","enabled","ignore","autoAttach","waitForDebuggerOnStart","flatten","initAndEvaluatePreloadScripts","isCloseError","enableFetchIfNeeded","disableFetchIfNeeded","channels","global","initInTarget","CdpTarget$1","BrowsingContextProcessor_1","BrowsingContextProcessor","WorkerRealm_js_1","BrowsingContextImpl_js_1","CdpTarget_js_1","cdpToBidiTargetTypes","service_worker","shared_worker","worker","BrowsingContextProcessor$1","selfTargetId","defaultUserContextId","getTree","contexts","root","getTopLevelContexts","MAX_VALUE","referenceContext","newWindow","existingContexts","filter","detachedFromTargetPromise","onContextDestroyed","promptUnload","handleAttachedToTargetEvent","handleDetachedFromTargetEvent","handleTargetInfoChangedEvent","handleTargetCrashedEvent","handleFrameAttachedEvent","handleFrameDetachedEvent","parentBrowsingContext","findContext","parentFrameId","parentSessionCdpClient","targetCdpClient","debugInfo","createCdpTarget","maybeContext","handleWorkerTarget","target","onCdpTargetCreated","workers","ownerRealm","workerRealm","findContextBySession","preloadScript","realms","InputSource","WheelSource","KeySource","NoneSource","pressed","modifiers","alt","setModifier","ctrl","meta","bit","PointerSource","pointerId","buttons","button","ClickContext","count","time","compare","DOUBLE_CLICK_TIME_MS","abs","MAX_DOUBLE_CLICK_RADIUS","clickContexts","setClickCount","storedContext","getClickCount","keyUtils","getKeyLocation","getKeyCode","getNormalizedKey","USKeyboardLayout","KeyToKeyCode","Abort","Help","Backspace","Tab","Numpad5","NumpadEnter","Enter","ShiftLeft","ShiftRight","ControlLeft","ControlRight","AltLeft","AltRight","Pause","CapsLock","Escape","Convert","NonConvert","Space","Numpad9","PageUp","Numpad3","PageDown","End","Numpad1","Home","Numpad7","ArrowLeft","Numpad4","Numpad8","ArrowUp","ArrowRight","Numpad6","Numpad2","ArrowDown","Select","Open","PrintScreen","Insert","Numpad0","Delete","NumpadDecimal","Digit0","Digit1","Digit2","Digit3","Digit4","Digit5","Digit6","Digit7","Digit8","Digit9","KeyA","KeyB","KeyC","KeyD","KeyE","KeyF","KeyG","KeyH","KeyI","KeyJ","KeyK","KeyL","KeyM","KeyN","KeyO","KeyP","KeyQ","KeyR","KeyS","KeyT","KeyU","KeyV","KeyW","KeyX","KeyY","KeyZ","MetaLeft","MetaRight","ContextMenu","NumpadMultiply","NumpadAdd","NumpadSubtract","NumpadDivide","F1","F2","F3","F4","F5","F6","F7","F8","F9","F10","F11","F12","F13","F14","F15","F16","F17","F18","F19","F20","F21","F22","F23","F24","NumLock","ScrollLock","AudioVolumeMute","AudioVolumeDown","AudioVolumeUp","MediaTrackNext","MediaTrackPrevious","MediaStop","MediaPlayPause","Semicolon","Equal","NumpadEqual","Comma","Minus","Period","Slash","Backquote","BracketLeft","Backslash","BracketRight","Quote","AltGraph","Props","Cancel","Clear","Shift","Control","Alt","Accept","ModeChange","Print","Execute","a","b","d","f","g","h","j","l","q","r","s","u","z","Meta","Attn","CrSel","ExSel","EraseEof","Play","ZoomOut","$","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","_","Camera","EndCall","VolumeDown","VolumeUp","ActionDispatcher_1","ActionDispatcher","InputSource_js_1","keyUtils_js_1","USKeyboardLayout_js_1","CALCULATE_IN_VIEW_CENTER_PT_DECL","getClientRects","innerWidth","innerHeight","IS_MAC_DECL","navigator","platform","toLowerCase","tickStart","tickDuration","inputState","isMacOS","dispatchActions","optionsByTick","run","options","dispatchTickActions","performance","now","action","duration","promises","option","dispatchAction","keyState","getGlobalKeyState","dispatchKeyDownAction","cancelList","dispatchKeyUpAction","dispatchPointerDownAction","dispatchPointerMoveAction","dispatchPointerUpAction","dispatchScrollAction","pointerType","pressure","twist","tangentialPressure","tiltX","tiltY","getTilt","getCdpButton","clickCount","force","touchPoints","getRadii","startX","startY","offsetX","offsetY","targetX","targetY","getCoordinateFromOrigin","last","ratio","next","size","posX","posY","getElementCenter","_source","deltaX","targetDeltaX","deltaY","targetDeltaY","currentDeltaX","currentDeltaY","rawKey","repeat","location","unmodifiedText","getKeyEventUnmodifiedText","getKeyEventText","command","windowsVirtualKeyCode","autoRepeat","isSystemKey","isKeypad","commands","toLocaleUpperCase","altitudeAngle","azimuthAngle","tiltXRadians","tiltYRadians","PI","tanAlt","tan","atan","cos","sin","factor","radiusX","radiusY","Mutex_1","Mutex","Mutex$1","locked","acquirers","acquire","state","resolved","release","bind","InputState_1","InputState","Mutex_js_1","InputState$1","sources","mutex","getOrCreate","pointerIds","InputStateManager_1","InputStateManager","InputState_js_1","WeakMap","InputStateManager$1","InputProcessor_1","InputProcessor","ActionDispatcher_js_1","InputStateManager_js_1","InputProcessor$1","inputStateManager","performActions","actionsByTick","getActionsByTick","dispatcher","releaseActions","reverse","setFiles","fileListLength","HTMLInputElement","disabled","multiple","files","DataTransfer","dispatchEvent","Event","bubbles","composed","paths","index","item","path","sort","sortedFiles","actions","parameters","Pe","Re","getOwnPropertyNames","Ee","Ne","Oe","URLPattern","urlpattern","ke","prefix","suffix","modifier","hasCustomName","Ae","ye","we","TypeError","substr","delimiter","prefixes","encodePart","replace","ignoreCase","sensitive","strict","end","start","endsWith","te","substring","re","he","username","ue","password","hostname","de","pathname","pe","ge","search","me","hash","parse","port","protocol","assign","Se","baseURL","Ce","fe","oe","ae","ie","le","ee","lastIndexOf","ce","se","ne","Ie","Le","exec","inputs","input","groups","compareComponent","hasRegExpGroups","urlpatternPolyfill","urlpattern_polyfill_1","NetworkUtils","matchUrlPattern","isSpecialScheme","buildUrlPatternString","bidiToCdpCookie","cdpToBiDiCookie","cdpAuthChallengeResponseFromBidiAuthContinueWithAuthAction","cdpFetchHeadersFromBidiNetworkHeaders","bidiNetworkHeadersFromCdpFetchHeaders","cdpNetworkHeadersFromBidiNetworkHeaders","bidiNetworkHeadersFromCdpNetworkHeaders","computeHeadersSize","ErrorResponse_js_1","UrlPattern_js_1","sameSiteCdpToBiDi","sameSite","sameSiteBiDiToCdp","headers","requestHeaders","acc","header","TextEncoder","encode","cookie","domain","httpOnly","secure","expires","expiry","priority","sameParty","sourceScheme","sourcePort","partitionKey","partitionKeyOpaque","deserializedValue","sourceOrigin","urlPattern","NetworkProcessor_1","NetworkProcessor","NetworkUtils_js_1","addIntercept","verifyContextsList","urlPatterns","parsedUrlPatterns","parseUrlPatterns","intercept","phases","continueRequest","networkId","parseUrlString","getBlockedRequestOrFail","continueResponse","statusCode","reasonPhrase","responseHeaders","responseCode","responsePhrase","continueWithAuth","credentials","response","failRequest","getRequestOrFail","currentInterceptPhase","provideResponse","body","removeIntercept","getRequestById","NetworkProcessor$1","NetworkRequest_1","NetworkRequest","fetchId","interceptPhase","servedFromCache","redirectCount","emittedEvents","AuthRequired","BeforeRequestSent","FetchError","ResponseCompleted","ResponseStarted","info","paused","auth","unknownParameter","isRedirecting","interceptsInPhase","phase","getInterceptsForPhase","isBlockedInPhase","handleRedirect","hasExtraInfo","redirectHasExtraInfo","redirectResponse","emitEventsIfReady","wasRedirected","requestExtraInfoCompleted","hasFailed","extraInfo","requestInterceptionExpected","requestInterceptionCompleted","emitEvent","getBeforeRequestEvent","responseExtraInfoCompleted","responseInterceptionExpected","getResponseStartedEvent","responseInterceptionCompleted","getResponseReceivedEvent","onRequestWillBeSentEvent","onRequestWillBeSentExtraInfoEvent","onResponseReceivedExtraInfoEvent","onResponseReceivedEvent","onServedFromCache","onLoadingFailedEvent","getBaseEventParams","errorReason","requestId","onRequestPaused","responseStatusCode","responseErrorReason","onAuthRequired","authChallengeResponse","btoa","status","getEvent","isIgnoredEvent","interceptProps","isBlocked","blockedBy","intercepts","getNavigationId","getRequestData","wallTime","cookies","getCookies","associatedCookies","headersSize","bodySize","timings","getTimings","timeOrigin","requestTime","redirectStart","redirectEnd","fetchStart","dnsStart","dnsEnd","connectStart","connectEnd","tlsStart","requestStart","responseStart","responseEnd","initiator","getInitiatorType","fromDiskCache","statusText","responseStatusText","fromCache","fromPrefetchCache","mimeType","bytesReceived","encodedDataLength","content","initiatorType","blockedReasons","Array","isArray","NetworkRequest$1","NetworkStorage_1","NetworkStorage","NetworkRequest_js_1","NetworkStorage$1","targets","requests","interceptionStages","browserClient","disposeRequestMap","getOrCreateNetworkRequest","addRequest","listeners","deleteRequest","getRequestByFetchId","listener","toggleInterception","stages","patterns","requestStage","handleAuthRequests","interceptId","PermissionsProcessor_1","PermissionsProcessor","PermissionsProcessor$1","setPermissions","userContextId","permission","descriptor","setting","PreloadScriptStorage_1","PreloadScriptStorage","PreloadScriptStorage$1","scripts","targetIds","remove","PreloadScript_1","PreloadScript","PreloadScript$1","cdpPreloadScripts","getEvaluateString","channelsArgStr","initInTargets","cdpTargets","runImmediately","from","addCdpPreloadScriptResult","preloadScriptId","identifier","cdpPreloadScript","cdpPreloadScriptId","cdpTargetId","ScriptProcessor_1","ScriptProcessor","protocol_1","ScriptProcessor$1","addPreloadScript","removePreloadScript","bidiId","handles","getRealms","SessionProcessor_1","SessionProcessor","SessionProcessor$1","ready","subscribe","events","unsubscribe","StorageProcessor_1","StorageProcessor","NetworkProcessor_js_1","StorageProcessor$1","deleteCookies","expandStoragePartitionSpec","partition","cdpCookiesToDelete","cdpCookie","bidiCookie","matchCookie","setCookie","expandStoragePartitionSpecByBrowsingContext","expandStoragePartitionSpecByStorageKey","unsupportedPartitionKeys","fromEntries","partitionSpec","OutgoingMessage_1","OutgoingMessage","createFromPromise","messagePromise","createResolved","OutgoingMessage$1","CommandProcessor_1","CommandProcessor","EventEmitter_js_1","BidiNoOpParser_js_1","BrowserProcessor_js_1","CdpProcessor_js_1","BrowsingContextProcessor_js_1","InputProcessor_js_1","require$$7","require$$8","NetworkStorage_js_1","require$$9","PermissionsProcessor_js_1","require$$10","PreloadScriptStorage_js_1","require$$11","ScriptProcessor_js_1","require$$12","SessionProcessor_js_1","require$$13","StorageProcessor_js_1","require$$14","OutgoingMessage_js_1","require$$15","browserProcessor","browsingContextProcessor","cdpProcessor","inputProcessor","networkProcessor","permissionsProcessor","scriptProcessor","sessionProcessor","storageProcessor","parser","processCommand","bidi","CommandProcessor$1","BrowsingContextStorage_1","BrowsingContextStorage","BrowsingContextStorage$1","deleteContext","hasContext","findTopLevelContextId","foundContexts","RealmStorage_1","RealmStorage","RealmStorage$1","realmMap","maybeRealms","maybeRealm","Buffer_1","Buffer","Buffer$1","capacity","onItemRemoved","DefaultMap_1","DefaultMap","getDefaultValue","DefaultMap$1","IdWrapper_1","IdWrapper","counter","IdWrapper$1","assertSupportedEvent","isCdpEvent","at","SubscriptionManager_1","SubscriptionManager","unrollEvents","events_js_1","cartesianProduct","flat","allEvents","addEvents","SubscriptionManager$1","subscriptionPriority","channelToContextToEventMap","getChannelsSubscribedToEvent","eventMethod","keys","getEventSubscriptionPriorityForChannel","contextToEventMap","maybeTopLevelContextId","priorities","cdpPriority","module","topLevelContext","browserContextToEventMap","eventMap","specificEvent","unsubscribeAll","contextIds","checkUnsubscribe","forEach","eventName","EventManager_1","EventManager","Buffer_js_1","DefaultMap_js_1","IdWrapper_js_1","SubscriptionManager_js_1","EventWrapper","idWrapper","eventBufferLength","eventToContextsMap","eventBuffers","lastMessageSent","getMapKey","eventWrapper","sortedChannels","bufferEvent","markEventSent","eventNames","getBufferedEvents","bufferMapKey","lastSentMapKey","lastSentMessageId","Infinity","wrapper","_contextId","e1","e2","EventManager$1","BidiServer_1","BidiServer","ProcessingQueue_js_1","CommandProcessor_js_1","BrowsingContextStorage_js_1","RealmStorage_js_1","EventManager_js_1","messageQueue","transport","commandProcessor","handleIncomingMessage","processOutgoingMessage","messageEntry","bidiTransport","setOnMessage","emitOutgoingMessage","createAndStart","targetInfos","server","discover","topLevelContextsLoaded","BidiServer$1","BidiServer_js_1","CdpClient","MapperCdpClient","CloseError","CdpConnection","MapperCdpConnection","CdpClient_js_1","mainBrowserCdpClient","sessionCdpClients","commandCallbacks","nextId","createCdpClient","createBrowserSession","cdpMessage","LOGGER_PREFIX_SEND","json","LOGGER_PREFIX_RECV","callbacks","util","getParsedType","ZodParsedType","objectUtil","assertEqual","assertIs","_arg","assertNever","_x","arrayToEnum","items","obj","getValidEnumValues","validKeys","objectKeys","filtered","objectValues","arr","checker","isInteger","isFinite","floor","joinValues","array","separator","jsonStringifyReplacer","mergeShapes","string","nan","number","boolean","function","bigint","symbol","null","date","unknown","ZodError_1","ZodError","quotelessJson","util_1","ZodError$1","ZodIssueCode","issues","addIssue","sub","addIssues","subs","actualProto","setPrototypeOf","__proto__","errors","_mapper","mapper","issue","fieldErrors","_errors","processError","unionErrors","returnTypeError","argumentsError","curr","el","isEmpty","formErrors","en","_ctx","invalid_type","received","expected","invalid_literal","unrecognized_keys","invalid_union","invalid_union_discriminator","invalid_enum_value","invalid_arguments","invalid_return_type","invalid_date","invalid_string","validation","position","too_small","exact","inclusive","minimum","too_big","maximum","custom","invalid_intersection_types","not_multiple_of","multipleOf","not_finite","defaultError","getErrorMap","setErrorMap","en_1","defaultErrorMap","overrideErrorMap","isAsync","isValid","isDirty","isAborted","OK","DIRTY","INVALID","ParseStatus","addIssueToContext","EMPTY_PATH","makeIssue","errors_1","errorMaps","issueData","fullPath","fullIssue","errorMessage","maps","ctx","common","contextualErrorMap","schemaErrorMap","dirty","abort","mergeArray","results","arrayValue","mergeObjectAsync","pairs","syncPairs","mergeObjectSync","finalObject","alwaysSet","freeze","typeAliases","errorUtil","errToObj","any","ZodFirstPartyTypeKind","late","ZodSchema","Schema","ZodReadonly","ZodBranded","BRAND","ZodNaN","ZodCatch","ZodDefault","ZodNullable","ZodTransformer","ZodEffects","ZodPromise","ZodNativeEnum","ZodEnum","ZodLiteral","ZodFunction","ZodSet","ZodMap","ZodRecord","ZodTuple","ZodIntersection","ZodUnion","ZodObject","ZodArray","ZodVoid","ZodNever","ZodUnknown","ZodNull","ZodUndefined","ZodSymbol","ZodDate","ZodBoolean","ZodBigInt","ZodString","ZodType","NEVER","union","tuple","strictObject","preprocess","pipeline","ostring","onumber","oboolean","never","nativeEnum","literal","lazy","intersection","instanceof","enum","effect","discriminatedUnion","errorUtil_1","parseUtil_1","ParseInputLazyPath","_cachedPath","_path","_key","handleResult","success","processCreateParams","errorMap","invalid_type_error","required_error","description","iss","def","spa","safeParseAsync","_def","safeParse","parseAsync","refine","refinement","superRefine","optional","nullable","nullish","or","and","transform","brand","describe","pipe","readonly","isNullable","isOptional","_getType","_getOrReturnCtx","parsedType","_processInputParams","_parseSync","_parse","_parseAsync","_a","maybeAsyncResult","check","getIssueProperties","_refinement","setError","refinementData","schema","typeName","ZodOptional","incoming","defaultValueFunc","innerType","catchValueFunc","catchValue","This","ZodPipeline","cuidRegex","cuid2Regex","ulidRegex","uuidRegex","emailRegex","emojiRegex","ipv4Regex","ipv6Regex","coerce","checks","tooBig","tooSmall","regex","lastIndex","toUpperCase","precision","offset","ip","version","_regex","_addCheck","email","emoji","cuid","cuid2","ulid","datetime","minLength","maxLength","len","nonempty","isDatetime","ch","isEmail","isURL","isEmoji","isUUID","isCUID","isCUID2","isULID","isIP","floatSafeRemainder","step","valDecCount","stepDecCount","decCount","toFixed","pow","ZodNumber","gte","lte","setLimit","gt","lt","int","positive","negative","nonpositive","nonnegative","finite","safe","MIN_SAFE_INTEGER","minValue","maxValue","isInt","BigInt","minDate","maxDate","ZodAny","_any","_unknown","void","exactLength","deepPartialify","newShape","shape","fieldSchema","unwrap","_cached","nonstrict","passthrough","augment","extend","_getCached","shapeKeys","extraKeys","catchall","unknownKeys","keyValidator","_b","_c","_d","strip","augmentation","merge","merging","setKey","pick","mask","omit","deepPartial","partial","required","newField","keyof","createZodEnum","strictCreate","lazycreate","childCtx","types","getDiscriminator","ZodLazy","ZodDiscriminatedUnion","discriminator","discriminatorValue","optionsMap","discriminatorValues","mergeValues","aType","bType","valid","bKeys","sharedKeys","newObj","sharedValue","newArray","handleParsed","parsedLeft","parsedRight","merged","rest","itemIndex","schemas","keySchema","keyType","valueSchema","valueType","third","finalMap","minSize","maxSize","finalizeSet","elements","parsedSet","validate","implement","makeArgsIssue","makeReturnsIssue","returns","fn","parsedArgs","Reflect","apply","parsedReturns","returnType","func","strictImplement","getter","expectedValues","enumValues","Values","Enum","extract","exclude","opt","nativeEnumValues","promisified","sourceType","checkCtx","fatal","processed","executeRefinement","inner","base","createWithPreprocess","removeDefault","newCtx","removeCatch","inResult","in","out","handleAsync","_fatal","p2","cls","stringType","numberType","nanType","bigIntType","booleanType","dateType","symbolType","undefinedType","nullType","anyType","unknownType","neverType","voidType","arrayType","objectType","strictObjectType","unionType","discriminatedUnionType","intersectionType","tupleType","recordType","record","mapType","setType","functionType","lazyType","literalType","enumType","nativeEnumType","promiseType","effectsType","transformer","optionalType","nullableType","preprocessType","pipelineType","Permissions","PermissionsCommandSchema","zod_1","SetPermissionSchema","PermissionDescriptorSchema","PermissionStateSchema","SetPermissionParametersSchema","Input","LogEventSchema","StorageResultSchema","StorageCommandSchema","ScriptResultSchema","ScriptCommandSchema","ScriptEventSchema","NetworkEventSchema","NetworkCommandSchema","BrowsingContextResultSchema","BrowsingContextEventSchema","Browser","BrowserResultSchema","BrowserCommandSchema","SessionResultSchema","SessionCommandSchema","ErrorCodeSchema","JsIntSchema","ExtensibleSchema","ErrorResponseSchema","MessageSchema","EmptyParamsSchema","ResultDataSchema","EventDataSchema","CommandResponseSchema","EventSchema","Session","Storage","CommandSchema","JsUintSchema","CommandDataSchema","BrowsingContextCommandSchema","InputCommandSchema","EmptyResultSchema","NetworkResultSchema","EndSchema","NewSchema","StatusSchema","SubscribeSchema","UnsubscribeSchema","ProxyConfigurationSchema","AutodetectProxyConfigurationSchema","DirectProxyConfigurationSchema","ManualProxyConfigurationSchema","PacProxyConfigurationSchema","SystemProxyConfigurationSchema","NewResultSchema","StatusResultSchema","CapabilitiesRequestSchema","alwaysMatch","CapabilityRequestSchema","firstMatch","browserName","browserVersion","platformName","proxy","webSocketUrl","proxyType","ftpProxy","httpProxy","sslProxy","SocksProxyConfigurationSchema","noProxy","socksProxy","socksVersion","proxyAutoconfigUrl","SubscriptionRequestSchema","BrowsingContextSchema","NewParametersSchema","capabilities","setWindowRect","CloseSchema","CreateUserContextSchema","GetUserContextsSchema","RemoveUserContextSchema","CreateUserContextResultSchema","GetUserContextsResultSchema","UserContextSchema","UserContextInfoSchema","RemoveUserContextParametersSchema","ActivateSchema","CaptureScreenshotSchema","CreateSchema","GetTreeSchema","HandleUserPromptSchema","LocateNodesSchema","NavigateSchema","PrintSchema","ReloadSchema","SetViewportSchema","TraverseHistorySchema","ContextCreatedSchema","ContextDestroyedSchema","DomContentLoadedSchema","DownloadWillBeginSchema","FragmentNavigatedSchema","LoadSchema","NavigationAbortedSchema","NavigationFailedSchema","NavigationStartedSchema","UserPromptClosedSchema","UserPromptOpenedSchema","CaptureScreenshotResultSchema","CreateResultSchema","GetTreeResultSchema","LocateNodesResultSchema","NavigateResultSchema","PrintResultSchema","TraverseHistoryResultSchema","InfoListSchema","InfoSchema","LocatorSchema","CssLocatorSchema","InnerTextLocatorSchema","XPathLocatorSchema","matchType","NavigationSchema","NavigationInfoSchema","ReadinessStateSchema","ActivateParametersSchema","CaptureScreenshotParametersSchema","ImageFormatSchema","ClipRectangleSchema","BoxClipRectangleSchema","ElementClipRectangleSchema","SharedReferenceSchema","CloseParametersSchema","CreateParametersSchema","CreateTypeSchema","GetTreeParametersSchema","HandleUserPromptParametersSchema","LocateNodesParametersSchema","locator","maxNodeCount","ResultOwnershipSchema","SerializationOptionsSchema","startNodes","nodes","NodeRemoteValueSchema","NavigateParametersSchema","PrintParametersSchema","PrintMarginParametersSchema","PrintPageParametersSchema","ReloadParametersSchema","SetViewportParametersSchema","ViewportSchema","TraverseHistoryParametersSchema","UserPromptClosedParametersSchema","UserPromptOpenedParametersSchema","AddInterceptSchema","ContinueRequestSchema","ContinueResponseSchema","ContinueWithAuthSchema","FailRequestSchema","ProvideResponseSchema","RemoveInterceptSchema","AuthRequiredSchema","BeforeRequestSentSchema","FetchErrorSchema","ResponseCompletedSchema","ResponseStartedSchema","AddInterceptResultSchema","AuthChallengeSchema","scheme","AuthCredentialsSchema","BaseParametersSchema","RequestDataSchema","InterceptSchema","BytesValueSchema","StringValueSchema","Base64ValueSchema","SameSiteSchema","CookieSchema","CookieHeaderSchema","FetchTimingInfoSchema","HeaderSchema","InitiatorSchema","StackTraceSchema","RequestSchema","ResponseContentSchema","ResponseDataSchema","authChallenge","SetCookieHeaderSchema","maxAge","UrlPatternSchema","UrlPatternPatternSchema","UrlPatternStringSchema","AddInterceptParametersSchema","InterceptPhaseSchema","ContinueRequestParametersSchema","ContinueResponseParametersSchema","ContinueWithAuthParametersSchema","ContinueWithAuthCredentialsSchema","ContinueWithAuthNoCredentialsSchema","FailRequestParametersSchema","ProvideResponseParametersSchema","RemoveInterceptParametersSchema","RealmCreatedSchema","RealmDestroyedSchema","AuthRequiredParametersSchema","BeforeRequestSentParametersSchema","FetchErrorParametersSchema","ResponseCompletedParametersSchema","ResponseStartedParametersSchema","AddPreloadScriptSchema","CallFunctionSchema","DisownSchema","EvaluateSchema","GetRealmsSchema","RemovePreloadScriptSchema","AddPreloadScriptResultSchema","EvaluateResultSchema","GetRealmsResultSchema","ChannelSchema","EvaluateResultSuccessSchema","RemoteValueSchema","RealmSchema","ExceptionDetailsSchema","ChannelValueSchema","ChannelPropertiesSchema","EvaluateResultExceptionSchema","HandleSchema","InternalIdSchema","ListLocalValueSchema","LocalValueSchema","RemoteReferenceSchema","PrimitiveProtocolValueSchema","ArrayLocalValueSchema","DateLocalValueSchema","MapLocalValueSchema","ObjectLocalValueSchema","RegExpLocalValueSchema","SetLocalValueSchema","MappingLocalValueSchema","RegExpValueSchema","PreloadScriptSchema","UndefinedValueSchema","NullValueSchema","NumberValueSchema","BooleanValueSchema","BigIntValueSchema","SpecialNumberSchema","RealmInfoSchema","WindowRealmInfoSchema","DedicatedWorkerRealmInfoSchema","SharedWorkerRealmInfoSchema","ServiceWorkerRealmInfoSchema","WorkerRealmInfoSchema","PaintWorkletRealmInfoSchema","AudioWorkletRealmInfoSchema","WorkletRealmInfoSchema","BaseRealmInfoSchema","RealmTypeSchema","ListRemoteValueSchema","MappingRemoteValueSchema","SymbolRemoteValueSchema","ArrayRemoteValueSchema","ObjectRemoteValueSchema","FunctionRemoteValueSchema","RegExpRemoteValueSchema","DateRemoteValueSchema","MapRemoteValueSchema","SetRemoteValueSchema","WeakMapRemoteValueSchema","WeakSetRemoteValueSchema","IteratorRemoteValueSchema","GeneratorRemoteValueSchema","ErrorRemoteValueSchema","ProxyRemoteValueSchema","PromiseRemoteValueSchema","TypedArrayRemoteValueSchema","ArrayBufferRemoteValueSchema","NodeListRemoteValueSchema","HtmlCollectionRemoteValueSchema","WindowProxyRemoteValueSchema","RemoteObjectReferenceSchema","SharedIdSchema","NodePropertiesSchema","nodeType","childNodeCount","attributes","localName","mode","nodeValue","WindowProxyPropertiesSchema","StackFrameSchema","SourceSchema","RealmTargetSchema","ContextTargetSchema","TargetSchema","AddPreloadScriptParametersSchema","DisownParametersSchema","CallFunctionParametersSchema","EvaluateParametersSchema","GetRealmsParametersSchema","RemovePreloadScriptParametersSchema","MessageParametersSchema","RealmDestroyedParametersSchema","DeleteCookiesSchema","GetCookiesSchema","SetCookieSchema","DeleteCookiesResultSchema","GetCookiesResultSchema","SetCookieResultSchema","PartitionKeySchema","GetCookiesParametersSchema","CookieFilterSchema","BrowsingContextPartitionDescriptorSchema","StorageKeyPartitionDescriptorSchema","PartitionDescriptorSchema","SetCookieParametersSchema","PartialCookieSchema","DeleteCookiesParametersSchema","EntryAddedSchema","LevelSchema","EntrySchema","GenericLogEntrySchema","ConsoleLogEntrySchema","JavascriptLogEntrySchema","BaseLogEntrySchema","PerformActionsSchema","ReleaseActionsSchema","SetFilesSchema","ElementOriginSchema","PerformActionsParametersSchema","SourceActionsSchema","NoneSourceActionsSchema","NoneSourceActionSchema","KeySourceActionsSchema","KeySourceActionSchema","PointerSourceActionsSchema","PointerParametersSchema","PointerSourceActionSchema","WheelSourceActionsSchema","PauseActionSchema","KeyDownActionSchema","KeyUpActionSchema","PointerTypeSchema","WheelSourceActionSchema","PointerDownActionSchema","PointerUpActionSchema","PointerMoveActionSchema","WheelScrollActionSchema","PointerCommonPropertiesSchema","OriginSchema","ReleaseActionsParametersSchema","SetFilesParametersSchema","protocolParser","parseObject","WebDriverBidiPermissions","WebDriverBidi","parseResult","parseAddInterceptParameters","parseContinueRequestParameters","parseContinueResponseParameters","parseContinueWithAuthParameters","parseFailRequestParameters","parseProvideResponseParameters","parseRemoveInterceptParameters","parseHandleUserPromptParameters","SendCommandRequestSchema","GetSessionRequestSchema","ResolveRealmRequestSchema","parseSendCommandRequest","parseGetSessionRequest","parseResolveRealmRequest","BidiParser_1","BidiParser","Parser","BidiParser$1","mapperTabPage","generatePage","findOrCreateTypeLogContainer","logPrefix","logType","containerId","existingContainer","getElementById","debugElement","divider","createElement","className","appendChild","htmlItem","innerHTML","messages","sendDebugMessage","typeLogContainer","lineElement","textContent","childNodes","removeChild","Transport","WindowCdpTransport","WindowBidiTransport","mapperTabPage_js_1","onBidiMessage","parseBidiMessage","respondWithError","sendBidiResponse","plainCommandData","errorCode","errorResponse","getErrorResponse","getJsonType","messageId","idType","methodType","paramsType","channelType","onmessage","send","bidiTab","BidiMapper_js_1","CdpConnection_js_1","BidiParser_js_1","Transport_js_1","mapperTabToServerTransport","cdpTransport","runMapperInstance","console","bidiServer"],"mappings":"isBAAe,SAASA,GAAG,MAAM,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,MACX,IAAK,SAUL,IAAK,SACD,MAAO,OATX,IAAK,SACD,MAAO,iBA6BX,QACI,OAAOA,EAEnB,EAyQkB4sB,GAAAE,WAvQlB,SAAoBzZ,GAChB,OAAQA,GACJ,IAAK,IACL,IAAK,IACD,MAAO,YACX,IAAK,KACL,IAAK,IACD,MAAO,YACX,IAAK,SACD,MAAO,YACX,IAAK,IACL,IAAK,IACD,MAAO,cACX,IAAK,IACL,IAAK,IACD,MAAO,eACX,IAAK,IACL,IAAK,IACD,MAAO,QACX,IAAK,IACL,IAAK,IACD,MAAO,SACX,IAAK,IACL,IAAK,IACD,MAAO,SACX,IAAK,IACL,IAAK,IACD,MAAO,SACX,IAAK,IACL,IAAK,IACD,MAAO,SACX,IAAK,IACL,IAAK,IACD,MAAO,SACX,IAAK,IACL,IAAK,IACD,MAAO,SACX,IAAK,IACL,IAAK,IACD,MAAO,SACX,IAAK,IACL,IAAK,IACD,MAAO,SACX,IAAK,IACL,IAAK,IACD,MAAO,SACX,IAAK,IACL,IAAK,IACD,MAAO,SACX,IAAK,IACL,IAAK,IACD,MAAO,QACX,IAAK,IACL,IAAK,IACD,MAAO,OACX,IAAK,IACL,IAAK,IACD,MAAO,OACX,IAAK,IACL,IAAK,IACD,MAAO,OACX,IAAK,IACL,IAAK,IACD,MAAO,OACX,IAAK,IACL,IAAK,IACD,MAAO,OACX,IAAK,IACL,IAAK,IACD,MAAO,OACX,IAAK,IACL,IAAK,IACD,MAAO,OACX,IAAK,IACL,IAAK,IACD,MAAO,OACX,IAAK,IACL,IAAK,IACD,MAAO,OACX,IAAK,IACL,IAAK,IACD,MAAO,OACX,IAAK,IACL,IAAK,IACD,MAAO,OACX,IAAK,IACL,IAAK,IACD,MAAO,OACX,IAAK,IACL,IAAK,IACD,MAAO,OACX,IAAK,IACL,IAAK,IACD,MAAO,OACX,IAAK,IACL,IAAK,IACD,MAAO,OACX,IAAK,IACL,IAAK,IACD,MAAO,OACX,IAAK,IACL,IAAK,IACD,MAAO,OACX,IAAK,IACL,IAAK,IACD,MAAO,OACX,IAAK,IACL,IAAK,IACD,MAAO,OACX,IAAK,IACL,IAAK,IACD,MAAO,OACX,IAAK,IACL,IAAK,IACD,MAAO,OACX,IAAK,IACL,IAAK,IACD,MAAO,OACX,IAAK,IACL,IAAK,IACD,MAAO,OACX,IAAK,IACL,IAAK,IACD,MAAO,OACX,IAAK,IACL,IAAK,IACD,MAAO,OACX,IAAK,IACL,IAAK,IACD,MAAO,OACX,IAAK,IACL,IAAK,IACD,MAAO,QACX,IAAK,IACD,MAAO,SACX,IAAK,IACL,IAAK,IACD,MAAO,QACX,IAAK,IACL,IAAK,IACD,MAAO,YACX,IAAK,IACL,IAAK,IACD,MAAO,QACX,IAAK,SACD,MAAO,UACX,IAAK,SACD,MAAO,WACX,IAAK,SACD,MAAO,cACX,IAAK,SACD,MAAO,eACX,IAAK,SACD,MAAO,QACX,IAAK,SACD,MAAO,WACX,IAAK,SACD,MAAO,YACX,IAAK,SACD,MAAO,YACX,IAAK,SACD,MAAO,aACX,IAAK,IACL,IAAK,SACD,MAAO,QACX,IAAK,SACD,MAAO,MACX,IAAK,SACD,MAAO,SACX,IAAK,SACD,MAAO,MACX,IAAK,SACD,MAAO,OACX,IAAK,SACD,MAAO,OACX,IAAK,SACD,MAAO,SACX,IAAK,SACD,MAAO,WACX,IAAK,SACD,MAAO,SACX,IAAK,SACD,MAAO,YACX,IAAK,SACD,MAAO,YACX,IAAK,SACD,MAAO,aACX,IAAK,SACD,MAAO,UACX,IAAK,SACD,MAAO,SACX,IAAK,SACD,MAAO,KACX,IAAK,SACD,MAAO,KACX,IAAK,SACD,MAAO,KACX,IAAK,SACD,MAAO,KACX,IAAK,SACD,MAAO,KACX,IAAK,SACD,MAAO,KACX,IAAK,SACD,MAAO,KACX,IAAK,SACD,MAAO,KACX,IAAK,SACD,MAAO,KACX,IAAK,SACD,MAAO,MACX,IAAK,SACD,MAAO,MACX,IAAK,SACD,MAAO,MACX,IAAK,SACL,IAAK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AC,mBAlB1B,MACInpE,IAAa,KACb,WAAAhN,GACI4O,OAAO1N,IAAIk2E,UAAat2E,IACpB/C,MAAKiP,IAAYhI,KAAK,KAAMlE,EAAQ,CAE3C,CACD,YAAAo9C,CAAalxC,GACTjP,MAAKiP,GAAaA,CACrB,CACD,WAAAG,CAAYrM,GACR8N,OAAO1N,IAAIm2E,KAAKv2E,EACnB,CACD,KAAAyH,GACIxK,MAAKiP,GAAa,KAClB4B,OAAO1N,IAAIk2E,UAAY,IAC1B;;;;;;;;;;;;;;;;;;;ACnHLj5E,OAAOC,eAAek5E,EAAS,aAAc,CAAEh5E,OAAO,IACtD,MAAMi5E,GAAkB94E,EAClB+4E,GAAqBlyE,GACrB7F,GAAW8F,EACXkyE,GAAkBjyE,GAClB6wE,GAAqB5wE,GACrBiyE,GAAiB7+D,IACvB,EAAIw9D,GAAmBxB,gBACvB,MAAM8C,GAA6B,IAAID,GAAetB,oBAChDwB,GAAe,IAAIF,GAAevB,mBAKlCvsE,GAAgB,IAAI4tE,GAAmBz4B,oBAAoB64B,GAAcvB,GAAmB/2E,YAqBlGsP,OAAOipE,kBAAoB/pE,MAAOqZ,EAAc0R,WAfhD/qB,eAAiCqZ,EAAc0R,GAE3Ci/C,QAAQx4E,IAAI,+CAAgD6nB,GAC5D,MAAM4wD,QAAmBR,GAAgBl6B,WAAWe,eAAeu5B,GAA4B/tE,SAIzFA,GAAc01C,uBAAwBn4B,EAAc0R,EAAS,IAAI4+C,GAAgBhD,WAAc4B,GAAmB/2E,KAExH,OADA,EAAI+2E,GAAmB/2E,KAAKG,GAASJ,QAAQupB,UAAW,qCACjDmvD,CACX,CAMUF,CAAkB1wD,EAAc0R,EAAQ","x_google_ignoreList":[0,35,36,62,63,64,65,66,67,68,69,70,71]} \ No newline at end of file diff --git a/node_modules/chromium-bidi/package.json b/node_modules/chromium-bidi/package.json deleted file mode 100644 index 6726753..0000000 --- a/node_modules/chromium-bidi/package.json +++ /dev/null @@ -1,226 +0,0 @@ -{ - "name": "chromium-bidi", - "version": "0.5.12", - "description": "An implementation of the WebDriver BiDi protocol for Chromium implemented as a JavaScript layer translating between BiDi and CDP, running inside a Chrome tab.", - "scripts": { - "build": "wireit", - "clean": "node tools/clean.mjs", - "e2e:headful": "wireit", - "e2e:headless": "wireit", - "e2e": "npm run e2e:headless --", - "flake8": "flake8 examples/ tests/", - "format": "npm run pre-commit --", - "format:eslint": "eslint --ext js --ext mjs --ext ts --fix .", - "format:prettier": "prettier --write .", - "pre-commit": "pre-commit run --hook-stage manual --all-files", - "prepare": "wireit", - "rollup": "wireit", - "server": "npm run server:headless --", - "server:headful": "wireit", - "server:headless": "wireit", - "test": "wireit", - "tsc": "wireit", - "unit": "wireit", - "wpt": "wireit", - "wpt:all": "wireit", - "yapf": "yapf -i --parallel --recursive --exclude=wpt examples/ tests/" - }, - "nyc": { - "exclude": [ - "**/*.spec.ts" - ] - }, - "wireit": { - "build": { - "dependencies": [ - "rollup", - "tsc" - ] - }, - "e2e:headful": { - "command": "tools/run-e2e.mjs --headless=false", - "files": [ - "tools/run-e2e.mjs ", - "pytest.ini", - "tests/**/*.py" - ], - "dependencies": [ - "build" - ] - }, - "e2e:headless": { - "command": "tools/run-e2e.mjs", - "files": [ - "tools/run-e2e.mjs ", - "pytest.ini", - "tests/**/*.py" - ], - "dependencies": [ - "build" - ] - }, - "prepare": { - "dependencies": [ - "build" - ] - }, - "rollup": { - "command": "rollup -c", - "dependencies": [ - "tsc" - ], - "files": [ - "lib/cjs/bidiMapper/index.js", - "rollup.config.mjs" - ], - "output": [ - "lib/iife/mapperTab.js" - ] - }, - "server:headful": { - "command": "npm run server:headless -- --headless=false", - "service": { - "readyWhen": { - "lineMatches": "BiDi server is listening on port \\d+" - } - }, - "dependencies": [ - "rollup" - ] - }, - "server:headless": { - "command": "tools/run-bidi-server.mjs --headless=true", - "files": [ - "tools/run-bidi-server.mjs" - ], - "service": { - "readyWhen": { - "lineMatches": "BiDi server is listening on port \\d+" - } - }, - "dependencies": [ - "rollup" - ] - }, - "test": { - "dependencies": [ - "unit", - "e2e", - "wpt" - ] - }, - "tsc": { - "command": "tsc --build src/tsconfig.json --pretty", - "clean": "if-file-deleted", - "files": [ - "**/tsconfig*.json", - "src/**/*.ts" - ], - "output": [ - "lib/cjs/**" - ] - }, - "unit": { - "command": "mocha", - "dependencies": [ - "tsc" - ] - }, - "wpt": { - "command": "tools/run-wpt.mjs", - "files": [ - "tools/run-wpt.mjs", - "wpt/tools/webdriver/**/*.py", - "wpt/webdriver/tests/**/*.py", - "wpt-metadata/**/*.ini" - ], - "dependencies": [ - "rollup" - ] - }, - "wpt:all": { - "command": "tools/run-wpt-all.mjs", - "files": [ - "tools/run-wpt.mjs", - "tools/run-wpt-all.mjs", - "wpt/tools/webdriver/**/*.py", - "wpt/webdriver/tests/**/*.py", - "wpt-metadata/**/*.ini" - ], - "dependencies": [ - "rollup" - ] - } - }, - "files": [ - "lib", - "!lib/**/*.spec.*", - "!*.tsbuildinfo", - ".browser" - ], - "repository": { - "type": "git", - "url": "https://github.com/GoogleChromeLabs/chromium-bidi.git" - }, - "author": "The Chromium Authors", - "license": "Apache-2.0", - "peerDependencies": { - "devtools-protocol": "*" - }, - "devDependencies": { - "@actions/core": "1.10.1", - "@puppeteer/browsers": "2.0.1", - "@rollup/plugin-commonjs": "25.0.7", - "@rollup/plugin-node-resolve": "15.2.3", - "@rollup/plugin-terser": "0.4.4", - "@rollup/wasm-node": "4.9.6", - "@types/argparse": "2.0.14", - "@types/chai": "4.3.11", - "@types/chai-as-promised": "7.1.8", - "@types/debug": "4.1.12", - "@types/mocha": "10.0.6", - "@types/node": "20.11.16", - "@types/sinon": "17.0.3", - "@types/websocket": "1.0.10", - "@types/ws": "8.5.10", - "@types/yargs": "17.0.32", - "@typescript-eslint/eslint-plugin": "6.20.0", - "@typescript-eslint/parser": "6.20.0", - "argparse": "2.0.1", - "chai": "4.4.1", - "chai-as-promised": "7.1.1", - "debug": "4.3.4", - "devtools-protocol": "0.0.1263784", - "eslint": "8.56.0", - "eslint-config-prettier": "9.1.0", - "eslint-import-resolver-typescript": "3.6.1", - "eslint-plugin-import": "2.29.1", - "eslint-plugin-mocha": "10.2.0", - "eslint-plugin-prettier": "5.1.3", - "eslint-plugin-promise": "6.1.1", - "gts": "5.2.0", - "mocha": "10.2.0", - "nyc": "15.1.0", - "pkg-dir": "8.0.0", - "prettier": "3.2.4", - "rimraf": "5.0.5", - "rollup": "4.9.6", - "rollup-plugin-license": "3.2.0", - "selenium-webdriver": "4.17.0", - "sinon": "17.0.1", - "source-map-support": "0.5.21", - "terser": "5.27.0", - "tslib": "2.6.2", - "typescript": "5.3.3", - "webdriverio": "8.29.7", - "websocket": "1.0.34", - "wireit": "0.14.4", - "ws": "8.16.0", - "yargs": "17.7.2", - "zod": "3.22.4" - }, - "dependencies": { - "mitt": "3.0.1", - "urlpattern-polyfill": "10.0.0" - } -} diff --git a/node_modules/cliui/CHANGELOG.md b/node_modules/cliui/CHANGELOG.md deleted file mode 100644 index 61f06c3..0000000 --- a/node_modules/cliui/CHANGELOG.md +++ /dev/null @@ -1,139 +0,0 @@ -# Change Log - -All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. - -## [8.0.1](https://github.com/yargs/cliui/compare/v8.0.0...v8.0.1) (2022-10-01) - - -### Bug Fixes - -* **deps:** move rollup-plugin-ts to dev deps ([#124](https://github.com/yargs/cliui/issues/124)) ([7c8bd6b](https://github.com/yargs/cliui/commit/7c8bd6ba024d61e4eeae310c7959ab8ab6829081)) - -## [8.0.0](https://github.com/yargs/cliui/compare/v7.0.4...v8.0.0) (2022-09-30) - - -### ⚠ BREAKING CHANGES - -* **deps:** drop Node 10 to release CVE-2021-3807 patch (#122) - -### Bug Fixes - -* **deps:** drop Node 10 to release CVE-2021-3807 patch ([#122](https://github.com/yargs/cliui/issues/122)) ([f156571](https://github.com/yargs/cliui/commit/f156571ce4f2ebf313335e3a53ad905589da5a30)) - -### [7.0.4](https://www.github.com/yargs/cliui/compare/v7.0.3...v7.0.4) (2020-11-08) - - -### Bug Fixes - -* **deno:** import UIOptions from definitions ([#97](https://www.github.com/yargs/cliui/issues/97)) ([f04f343](https://www.github.com/yargs/cliui/commit/f04f3439bc78114c7e90f82ff56f5acf16268ea8)) - -### [7.0.3](https://www.github.com/yargs/cliui/compare/v7.0.2...v7.0.3) (2020-10-16) - - -### Bug Fixes - -* **exports:** node 13.0 and 13.1 require the dotted object form _with_ a string fallback ([#93](https://www.github.com/yargs/cliui/issues/93)) ([eca16fc](https://www.github.com/yargs/cliui/commit/eca16fc05d26255df3280906c36d7f0e5b05c6e9)) - -### [7.0.2](https://www.github.com/yargs/cliui/compare/v7.0.1...v7.0.2) (2020-10-14) - - -### Bug Fixes - -* **exports:** node 13.0-13.6 require a string fallback ([#91](https://www.github.com/yargs/cliui/issues/91)) ([b529d7e](https://www.github.com/yargs/cliui/commit/b529d7e432901af1af7848b23ed6cf634497d961)) - -### [7.0.1](https://www.github.com/yargs/cliui/compare/v7.0.0...v7.0.1) (2020-08-16) - - -### Bug Fixes - -* **build:** main should be build/index.cjs ([dc29a3c](https://www.github.com/yargs/cliui/commit/dc29a3cc617a410aa850e06337b5954b04f2cb4d)) - -## [7.0.0](https://www.github.com/yargs/cliui/compare/v6.0.0...v7.0.0) (2020-08-16) - - -### ⚠ BREAKING CHANGES - -* tsc/ESM/Deno support (#82) -* modernize deps and build (#80) - -### Build System - -* modernize deps and build ([#80](https://www.github.com/yargs/cliui/issues/80)) ([339d08d](https://www.github.com/yargs/cliui/commit/339d08dc71b15a3928aeab09042af94db2f43743)) - - -### Code Refactoring - -* tsc/ESM/Deno support ([#82](https://www.github.com/yargs/cliui/issues/82)) ([4b777a5](https://www.github.com/yargs/cliui/commit/4b777a5fe01c5d8958c6708695d6aab7dbe5706c)) - -## [6.0.0](https://www.github.com/yargs/cliui/compare/v5.0.0...v6.0.0) (2019-11-10) - - -### ⚠ BREAKING CHANGES - -* update deps, drop Node 6 - -### Code Refactoring - -* update deps, drop Node 6 ([62056df](https://www.github.com/yargs/cliui/commit/62056df)) - -## [5.0.0](https://github.com/yargs/cliui/compare/v4.1.0...v5.0.0) (2019-04-10) - - -### Bug Fixes - -* Update wrap-ansi to fix compatibility with latest versions of chalk. ([#60](https://github.com/yargs/cliui/issues/60)) ([7bf79ae](https://github.com/yargs/cliui/commit/7bf79ae)) - - -### BREAKING CHANGES - -* Drop support for node < 6. - - - - -## [4.1.0](https://github.com/yargs/cliui/compare/v4.0.0...v4.1.0) (2018-04-23) - - -### Features - -* add resetOutput method ([#57](https://github.com/yargs/cliui/issues/57)) ([7246902](https://github.com/yargs/cliui/commit/7246902)) - - - - -## [4.0.0](https://github.com/yargs/cliui/compare/v3.2.0...v4.0.0) (2017-12-18) - - -### Bug Fixes - -* downgrades strip-ansi to version 3.0.1 ([#54](https://github.com/yargs/cliui/issues/54)) ([5764c46](https://github.com/yargs/cliui/commit/5764c46)) -* set env variable FORCE_COLOR. ([#56](https://github.com/yargs/cliui/issues/56)) ([7350e36](https://github.com/yargs/cliui/commit/7350e36)) - - -### Chores - -* drop support for node < 4 ([#53](https://github.com/yargs/cliui/issues/53)) ([b105376](https://github.com/yargs/cliui/commit/b105376)) - - -### Features - -* add fallback for window width ([#45](https://github.com/yargs/cliui/issues/45)) ([d064922](https://github.com/yargs/cliui/commit/d064922)) - - -### BREAKING CHANGES - -* officially drop support for Node < 4 - - - - -## [3.2.0](https://github.com/yargs/cliui/compare/v3.1.2...v3.2.0) (2016-04-11) - - -### Bug Fixes - -* reduces tarball size ([acc6c33](https://github.com/yargs/cliui/commit/acc6c33)) - -### Features - -* adds standard-version for release management ([ff84e32](https://github.com/yargs/cliui/commit/ff84e32)) diff --git a/node_modules/cliui/LICENSE.txt b/node_modules/cliui/LICENSE.txt deleted file mode 100644 index c7e2747..0000000 --- a/node_modules/cliui/LICENSE.txt +++ /dev/null @@ -1,14 +0,0 @@ -Copyright (c) 2015, Contributors - -Permission to use, copy, modify, and/or distribute this software -for any purpose with or without fee is hereby granted, provided -that the above copyright notice and this permission notice -appear in all copies. - -THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES -WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES -OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE -LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES -OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, -WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, -ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. diff --git a/node_modules/cliui/README.md b/node_modules/cliui/README.md deleted file mode 100644 index 65b5672..0000000 --- a/node_modules/cliui/README.md +++ /dev/null @@ -1,141 +0,0 @@ -# cliui - -![ci](https://github.com/yargs/cliui/workflows/ci/badge.svg) -[![NPM version](https://img.shields.io/npm/v/cliui.svg)](https://www.npmjs.com/package/cliui) -[![Conventional Commits](https://img.shields.io/badge/Conventional%20Commits-1.0.0-yellow.svg)](https://conventionalcommits.org) -![nycrc config on GitHub](https://img.shields.io/nycrc/yargs/cliui) - -easily create complex multi-column command-line-interfaces. - -## Example - -```js -const ui = require('cliui')() - -ui.div('Usage: $0 [command] [options]') - -ui.div({ - text: 'Options:', - padding: [2, 0, 1, 0] -}) - -ui.div( - { - text: "-f, --file", - width: 20, - padding: [0, 4, 0, 4] - }, - { - text: "the file to load." + - chalk.green("(if this description is long it wraps).") - , - width: 20 - }, - { - text: chalk.red("[required]"), - align: 'right' - } -) - -console.log(ui.toString()) -``` - -## Deno/ESM Support - -As of `v7` `cliui` supports [Deno](https://github.com/denoland/deno) and -[ESM](https://nodejs.org/api/esm.html#esm_ecmascript_modules): - -```typescript -import cliui from "https://deno.land/x/cliui/deno.ts"; - -const ui = cliui({}) - -ui.div('Usage: $0 [command] [options]') - -ui.div({ - text: 'Options:', - padding: [2, 0, 1, 0] -}) - -ui.div({ - text: "-f, --file", - width: 20, - padding: [0, 4, 0, 4] -}) - -console.log(ui.toString()) -``` - - - -## Layout DSL - -cliui exposes a simple layout DSL: - -If you create a single `ui.div`, passing a string rather than an -object: - -* `\n`: characters will be interpreted as new rows. -* `\t`: characters will be interpreted as new columns. -* `\s`: characters will be interpreted as padding. - -**as an example...** - -```js -var ui = require('./')({ - width: 60 -}) - -ui.div( - 'Usage: node ./bin/foo.js\n' + - ' \t provide a regex\n' + - ' \t provide a glob\t [required]' -) - -console.log(ui.toString()) -``` - -**will output:** - -```shell -Usage: node ./bin/foo.js - provide a regex - provide a glob [required] -``` - -## Methods - -```js -cliui = require('cliui') -``` - -### cliui({width: integer}) - -Specify the maximum width of the UI being generated. -If no width is provided, cliui will try to get the current window's width and use it, and if that doesn't work, width will be set to `80`. - -### cliui({wrap: boolean}) - -Enable or disable the wrapping of text in a column. - -### cliui.div(column, column, column) - -Create a row with any number of columns, a column -can either be a string, or an object with the following -options: - -* **text:** some text to place in the column. -* **width:** the width of a column. -* **align:** alignment, `right` or `center`. -* **padding:** `[top, right, bottom, left]`. -* **border:** should a border be placed around the div? - -### cliui.span(column, column, column) - -Similar to `div`, except the next row will be appended without -a new line being created. - -### cliui.resetOutput() - -Resets the UI elements of the current cliui instance, maintaining the values -set for `width` and `wrap`. diff --git a/node_modules/cliui/build/index.cjs b/node_modules/cliui/build/index.cjs deleted file mode 100644 index 82126b6..0000000 --- a/node_modules/cliui/build/index.cjs +++ /dev/null @@ -1,302 +0,0 @@ -'use strict'; - -const align = { - right: alignRight, - center: alignCenter -}; -const top = 0; -const right = 1; -const bottom = 2; -const left = 3; -class UI { - constructor(opts) { - var _a; - this.width = opts.width; - this.wrap = (_a = opts.wrap) !== null && _a !== void 0 ? _a : true; - this.rows = []; - } - span(...args) { - const cols = this.div(...args); - cols.span = true; - } - resetOutput() { - this.rows = []; - } - div(...args) { - if (args.length === 0) { - this.div(''); - } - if (this.wrap && this.shouldApplyLayoutDSL(...args) && typeof args[0] === 'string') { - return this.applyLayoutDSL(args[0]); - } - const cols = args.map(arg => { - if (typeof arg === 'string') { - return this.colFromString(arg); - } - return arg; - }); - this.rows.push(cols); - return cols; - } - shouldApplyLayoutDSL(...args) { - return args.length === 1 && typeof args[0] === 'string' && - /[\t\n]/.test(args[0]); - } - applyLayoutDSL(str) { - const rows = str.split('\n').map(row => row.split('\t')); - let leftColumnWidth = 0; - // simple heuristic for layout, make sure the - // second column lines up along the left-hand. - // don't allow the first column to take up more - // than 50% of the screen. - rows.forEach(columns => { - if (columns.length > 1 && mixin.stringWidth(columns[0]) > leftColumnWidth) { - leftColumnWidth = Math.min(Math.floor(this.width * 0.5), mixin.stringWidth(columns[0])); - } - }); - // generate a table: - // replacing ' ' with padding calculations. - // using the algorithmically generated width. - rows.forEach(columns => { - this.div(...columns.map((r, i) => { - return { - text: r.trim(), - padding: this.measurePadding(r), - width: (i === 0 && columns.length > 1) ? leftColumnWidth : undefined - }; - })); - }); - return this.rows[this.rows.length - 1]; - } - colFromString(text) { - return { - text, - padding: this.measurePadding(text) - }; - } - measurePadding(str) { - // measure padding without ansi escape codes - const noAnsi = mixin.stripAnsi(str); - return [0, noAnsi.match(/\s*$/)[0].length, 0, noAnsi.match(/^\s*/)[0].length]; - } - toString() { - const lines = []; - this.rows.forEach(row => { - this.rowToString(row, lines); - }); - // don't display any lines with the - // hidden flag set. - return lines - .filter(line => !line.hidden) - .map(line => line.text) - .join('\n'); - } - rowToString(row, lines) { - this.rasterize(row).forEach((rrow, r) => { - let str = ''; - rrow.forEach((col, c) => { - const { width } = row[c]; // the width with padding. - const wrapWidth = this.negatePadding(row[c]); // the width without padding. - let ts = col; // temporary string used during alignment/padding. - if (wrapWidth > mixin.stringWidth(col)) { - ts += ' '.repeat(wrapWidth - mixin.stringWidth(col)); - } - // align the string within its column. - if (row[c].align && row[c].align !== 'left' && this.wrap) { - const fn = align[row[c].align]; - ts = fn(ts, wrapWidth); - if (mixin.stringWidth(ts) < wrapWidth) { - ts += ' '.repeat((width || 0) - mixin.stringWidth(ts) - 1); - } - } - // apply border and padding to string. - const padding = row[c].padding || [0, 0, 0, 0]; - if (padding[left]) { - str += ' '.repeat(padding[left]); - } - str += addBorder(row[c], ts, '| '); - str += ts; - str += addBorder(row[c], ts, ' |'); - if (padding[right]) { - str += ' '.repeat(padding[right]); - } - // if prior row is span, try to render the - // current row on the prior line. - if (r === 0 && lines.length > 0) { - str = this.renderInline(str, lines[lines.length - 1]); - } - }); - // remove trailing whitespace. - lines.push({ - text: str.replace(/ +$/, ''), - span: row.span - }); - }); - return lines; - } - // if the full 'source' can render in - // the target line, do so. - renderInline(source, previousLine) { - const match = source.match(/^ */); - const leadingWhitespace = match ? match[0].length : 0; - const target = previousLine.text; - const targetTextWidth = mixin.stringWidth(target.trimRight()); - if (!previousLine.span) { - return source; - } - // if we're not applying wrapping logic, - // just always append to the span. - if (!this.wrap) { - previousLine.hidden = true; - return target + source; - } - if (leadingWhitespace < targetTextWidth) { - return source; - } - previousLine.hidden = true; - return target.trimRight() + ' '.repeat(leadingWhitespace - targetTextWidth) + source.trimLeft(); - } - rasterize(row) { - const rrows = []; - const widths = this.columnWidths(row); - let wrapped; - // word wrap all columns, and create - // a data-structure that is easy to rasterize. - row.forEach((col, c) => { - // leave room for left and right padding. - col.width = widths[c]; - if (this.wrap) { - wrapped = mixin.wrap(col.text, this.negatePadding(col), { hard: true }).split('\n'); - } - else { - wrapped = col.text.split('\n'); - } - if (col.border) { - wrapped.unshift('.' + '-'.repeat(this.negatePadding(col) + 2) + '.'); - wrapped.push("'" + '-'.repeat(this.negatePadding(col) + 2) + "'"); - } - // add top and bottom padding. - if (col.padding) { - wrapped.unshift(...new Array(col.padding[top] || 0).fill('')); - wrapped.push(...new Array(col.padding[bottom] || 0).fill('')); - } - wrapped.forEach((str, r) => { - if (!rrows[r]) { - rrows.push([]); - } - const rrow = rrows[r]; - for (let i = 0; i < c; i++) { - if (rrow[i] === undefined) { - rrow.push(''); - } - } - rrow.push(str); - }); - }); - return rrows; - } - negatePadding(col) { - let wrapWidth = col.width || 0; - if (col.padding) { - wrapWidth -= (col.padding[left] || 0) + (col.padding[right] || 0); - } - if (col.border) { - wrapWidth -= 4; - } - return wrapWidth; - } - columnWidths(row) { - if (!this.wrap) { - return row.map(col => { - return col.width || mixin.stringWidth(col.text); - }); - } - let unset = row.length; - let remainingWidth = this.width; - // column widths can be set in config. - const widths = row.map(col => { - if (col.width) { - unset--; - remainingWidth -= col.width; - return col.width; - } - return undefined; - }); - // any unset widths should be calculated. - const unsetWidth = unset ? Math.floor(remainingWidth / unset) : 0; - return widths.map((w, i) => { - if (w === undefined) { - return Math.max(unsetWidth, _minWidth(row[i])); - } - return w; - }); - } -} -function addBorder(col, ts, style) { - if (col.border) { - if (/[.']-+[.']/.test(ts)) { - return ''; - } - if (ts.trim().length !== 0) { - return style; - } - return ' '; - } - return ''; -} -// calculates the minimum width of -// a column, based on padding preferences. -function _minWidth(col) { - const padding = col.padding || []; - const minWidth = 1 + (padding[left] || 0) + (padding[right] || 0); - if (col.border) { - return minWidth + 4; - } - return minWidth; -} -function getWindowWidth() { - /* istanbul ignore next: depends on terminal */ - if (typeof process === 'object' && process.stdout && process.stdout.columns) { - return process.stdout.columns; - } - return 80; -} -function alignRight(str, width) { - str = str.trim(); - const strWidth = mixin.stringWidth(str); - if (strWidth < width) { - return ' '.repeat(width - strWidth) + str; - } - return str; -} -function alignCenter(str, width) { - str = str.trim(); - const strWidth = mixin.stringWidth(str); - /* istanbul ignore next */ - if (strWidth >= width) { - return str; - } - return ' '.repeat((width - strWidth) >> 1) + str; -} -let mixin; -function cliui(opts, _mixin) { - mixin = _mixin; - return new UI({ - width: (opts === null || opts === void 0 ? void 0 : opts.width) || getWindowWidth(), - wrap: opts === null || opts === void 0 ? void 0 : opts.wrap - }); -} - -// Bootstrap cliui with CommonJS dependencies: -const stringWidth = require('string-width'); -const stripAnsi = require('strip-ansi'); -const wrap = require('wrap-ansi'); -function ui(opts) { - return cliui(opts, { - stringWidth, - stripAnsi, - wrap - }); -} - -module.exports = ui; diff --git a/node_modules/cliui/build/index.d.cts b/node_modules/cliui/build/index.d.cts deleted file mode 100644 index 4567f94..0000000 --- a/node_modules/cliui/build/index.d.cts +++ /dev/null @@ -1,43 +0,0 @@ -interface UIOptions { - width: number; - wrap?: boolean; - rows?: string[]; -} -interface Column { - text: string; - width?: number; - align?: "right" | "left" | "center"; - padding: number[]; - border?: boolean; -} -interface ColumnArray extends Array { - span: boolean; -} -interface Line { - hidden?: boolean; - text: string; - span?: boolean; -} -declare class UI { - width: number; - wrap: boolean; - rows: ColumnArray[]; - constructor(opts: UIOptions); - span(...args: ColumnArray): void; - resetOutput(): void; - div(...args: (Column | string)[]): ColumnArray; - private shouldApplyLayoutDSL; - private applyLayoutDSL; - private colFromString; - private measurePadding; - toString(): string; - rowToString(row: ColumnArray, lines: Line[]): Line[]; - // if the full 'source' can render in - // the target line, do so. - private renderInline; - private rasterize; - private negatePadding; - private columnWidths; -} -declare function ui(opts: UIOptions): UI; -export { ui as default }; diff --git a/node_modules/cliui/build/lib/index.js b/node_modules/cliui/build/lib/index.js deleted file mode 100644 index b6eb054..0000000 --- a/node_modules/cliui/build/lib/index.js +++ /dev/null @@ -1,287 +0,0 @@ -'use strict'; -const align = { - right: alignRight, - center: alignCenter -}; -const top = 0; -const right = 1; -const bottom = 2; -const left = 3; -export class UI { - constructor(opts) { - var _a; - this.width = opts.width; - this.wrap = (_a = opts.wrap) !== null && _a !== void 0 ? _a : true; - this.rows = []; - } - span(...args) { - const cols = this.div(...args); - cols.span = true; - } - resetOutput() { - this.rows = []; - } - div(...args) { - if (args.length === 0) { - this.div(''); - } - if (this.wrap && this.shouldApplyLayoutDSL(...args) && typeof args[0] === 'string') { - return this.applyLayoutDSL(args[0]); - } - const cols = args.map(arg => { - if (typeof arg === 'string') { - return this.colFromString(arg); - } - return arg; - }); - this.rows.push(cols); - return cols; - } - shouldApplyLayoutDSL(...args) { - return args.length === 1 && typeof args[0] === 'string' && - /[\t\n]/.test(args[0]); - } - applyLayoutDSL(str) { - const rows = str.split('\n').map(row => row.split('\t')); - let leftColumnWidth = 0; - // simple heuristic for layout, make sure the - // second column lines up along the left-hand. - // don't allow the first column to take up more - // than 50% of the screen. - rows.forEach(columns => { - if (columns.length > 1 && mixin.stringWidth(columns[0]) > leftColumnWidth) { - leftColumnWidth = Math.min(Math.floor(this.width * 0.5), mixin.stringWidth(columns[0])); - } - }); - // generate a table: - // replacing ' ' with padding calculations. - // using the algorithmically generated width. - rows.forEach(columns => { - this.div(...columns.map((r, i) => { - return { - text: r.trim(), - padding: this.measurePadding(r), - width: (i === 0 && columns.length > 1) ? leftColumnWidth : undefined - }; - })); - }); - return this.rows[this.rows.length - 1]; - } - colFromString(text) { - return { - text, - padding: this.measurePadding(text) - }; - } - measurePadding(str) { - // measure padding without ansi escape codes - const noAnsi = mixin.stripAnsi(str); - return [0, noAnsi.match(/\s*$/)[0].length, 0, noAnsi.match(/^\s*/)[0].length]; - } - toString() { - const lines = []; - this.rows.forEach(row => { - this.rowToString(row, lines); - }); - // don't display any lines with the - // hidden flag set. - return lines - .filter(line => !line.hidden) - .map(line => line.text) - .join('\n'); - } - rowToString(row, lines) { - this.rasterize(row).forEach((rrow, r) => { - let str = ''; - rrow.forEach((col, c) => { - const { width } = row[c]; // the width with padding. - const wrapWidth = this.negatePadding(row[c]); // the width without padding. - let ts = col; // temporary string used during alignment/padding. - if (wrapWidth > mixin.stringWidth(col)) { - ts += ' '.repeat(wrapWidth - mixin.stringWidth(col)); - } - // align the string within its column. - if (row[c].align && row[c].align !== 'left' && this.wrap) { - const fn = align[row[c].align]; - ts = fn(ts, wrapWidth); - if (mixin.stringWidth(ts) < wrapWidth) { - ts += ' '.repeat((width || 0) - mixin.stringWidth(ts) - 1); - } - } - // apply border and padding to string. - const padding = row[c].padding || [0, 0, 0, 0]; - if (padding[left]) { - str += ' '.repeat(padding[left]); - } - str += addBorder(row[c], ts, '| '); - str += ts; - str += addBorder(row[c], ts, ' |'); - if (padding[right]) { - str += ' '.repeat(padding[right]); - } - // if prior row is span, try to render the - // current row on the prior line. - if (r === 0 && lines.length > 0) { - str = this.renderInline(str, lines[lines.length - 1]); - } - }); - // remove trailing whitespace. - lines.push({ - text: str.replace(/ +$/, ''), - span: row.span - }); - }); - return lines; - } - // if the full 'source' can render in - // the target line, do so. - renderInline(source, previousLine) { - const match = source.match(/^ */); - const leadingWhitespace = match ? match[0].length : 0; - const target = previousLine.text; - const targetTextWidth = mixin.stringWidth(target.trimRight()); - if (!previousLine.span) { - return source; - } - // if we're not applying wrapping logic, - // just always append to the span. - if (!this.wrap) { - previousLine.hidden = true; - return target + source; - } - if (leadingWhitespace < targetTextWidth) { - return source; - } - previousLine.hidden = true; - return target.trimRight() + ' '.repeat(leadingWhitespace - targetTextWidth) + source.trimLeft(); - } - rasterize(row) { - const rrows = []; - const widths = this.columnWidths(row); - let wrapped; - // word wrap all columns, and create - // a data-structure that is easy to rasterize. - row.forEach((col, c) => { - // leave room for left and right padding. - col.width = widths[c]; - if (this.wrap) { - wrapped = mixin.wrap(col.text, this.negatePadding(col), { hard: true }).split('\n'); - } - else { - wrapped = col.text.split('\n'); - } - if (col.border) { - wrapped.unshift('.' + '-'.repeat(this.negatePadding(col) + 2) + '.'); - wrapped.push("'" + '-'.repeat(this.negatePadding(col) + 2) + "'"); - } - // add top and bottom padding. - if (col.padding) { - wrapped.unshift(...new Array(col.padding[top] || 0).fill('')); - wrapped.push(...new Array(col.padding[bottom] || 0).fill('')); - } - wrapped.forEach((str, r) => { - if (!rrows[r]) { - rrows.push([]); - } - const rrow = rrows[r]; - for (let i = 0; i < c; i++) { - if (rrow[i] === undefined) { - rrow.push(''); - } - } - rrow.push(str); - }); - }); - return rrows; - } - negatePadding(col) { - let wrapWidth = col.width || 0; - if (col.padding) { - wrapWidth -= (col.padding[left] || 0) + (col.padding[right] || 0); - } - if (col.border) { - wrapWidth -= 4; - } - return wrapWidth; - } - columnWidths(row) { - if (!this.wrap) { - return row.map(col => { - return col.width || mixin.stringWidth(col.text); - }); - } - let unset = row.length; - let remainingWidth = this.width; - // column widths can be set in config. - const widths = row.map(col => { - if (col.width) { - unset--; - remainingWidth -= col.width; - return col.width; - } - return undefined; - }); - // any unset widths should be calculated. - const unsetWidth = unset ? Math.floor(remainingWidth / unset) : 0; - return widths.map((w, i) => { - if (w === undefined) { - return Math.max(unsetWidth, _minWidth(row[i])); - } - return w; - }); - } -} -function addBorder(col, ts, style) { - if (col.border) { - if (/[.']-+[.']/.test(ts)) { - return ''; - } - if (ts.trim().length !== 0) { - return style; - } - return ' '; - } - return ''; -} -// calculates the minimum width of -// a column, based on padding preferences. -function _minWidth(col) { - const padding = col.padding || []; - const minWidth = 1 + (padding[left] || 0) + (padding[right] || 0); - if (col.border) { - return minWidth + 4; - } - return minWidth; -} -function getWindowWidth() { - /* istanbul ignore next: depends on terminal */ - if (typeof process === 'object' && process.stdout && process.stdout.columns) { - return process.stdout.columns; - } - return 80; -} -function alignRight(str, width) { - str = str.trim(); - const strWidth = mixin.stringWidth(str); - if (strWidth < width) { - return ' '.repeat(width - strWidth) + str; - } - return str; -} -function alignCenter(str, width) { - str = str.trim(); - const strWidth = mixin.stringWidth(str); - /* istanbul ignore next */ - if (strWidth >= width) { - return str; - } - return ' '.repeat((width - strWidth) >> 1) + str; -} -let mixin; -export function cliui(opts, _mixin) { - mixin = _mixin; - return new UI({ - width: (opts === null || opts === void 0 ? void 0 : opts.width) || getWindowWidth(), - wrap: opts === null || opts === void 0 ? void 0 : opts.wrap - }); -} diff --git a/node_modules/cliui/build/lib/string-utils.js b/node_modules/cliui/build/lib/string-utils.js deleted file mode 100644 index 4b87453..0000000 --- a/node_modules/cliui/build/lib/string-utils.js +++ /dev/null @@ -1,27 +0,0 @@ -// Minimal replacement for ansi string helpers "wrap-ansi" and "strip-ansi". -// to facilitate ESM and Deno modules. -// TODO: look at porting https://www.npmjs.com/package/wrap-ansi to ESM. -// The npm application -// Copyright (c) npm, Inc. and Contributors -// Licensed on the terms of The Artistic License 2.0 -// See: https://github.com/npm/cli/blob/4c65cd952bc8627811735bea76b9b110cc4fc80e/lib/utils/ansi-trim.js -const ansi = new RegExp('\x1b(?:\\[(?:\\d+[ABCDEFGJKSTm]|\\d+;\\d+[Hfm]|' + - '\\d+;\\d+;\\d+m|6n|s|u|\\?25[lh])|\\w)', 'g'); -export function stripAnsi(str) { - return str.replace(ansi, ''); -} -export function wrap(str, width) { - const [start, end] = str.match(ansi) || ['', '']; - str = stripAnsi(str); - let wrapped = ''; - for (let i = 0; i < str.length; i++) { - if (i !== 0 && (i % width) === 0) { - wrapped += '\n'; - } - wrapped += str.charAt(i); - } - if (start && end) { - wrapped = `${start}${wrapped}${end}`; - } - return wrapped; -} diff --git a/node_modules/cliui/index.mjs b/node_modules/cliui/index.mjs deleted file mode 100644 index bc7a022..0000000 --- a/node_modules/cliui/index.mjs +++ /dev/null @@ -1,13 +0,0 @@ -// Bootstrap cliui with CommonJS dependencies: -import { cliui } from './build/lib/index.js' -import { wrap, stripAnsi } from './build/lib/string-utils.js' - -export default function ui (opts) { - return cliui(opts, { - stringWidth: (str) => { - return [...str].length - }, - stripAnsi, - wrap - }) -} diff --git a/node_modules/cliui/package.json b/node_modules/cliui/package.json deleted file mode 100644 index eab6bf4..0000000 --- a/node_modules/cliui/package.json +++ /dev/null @@ -1,83 +0,0 @@ -{ - "name": "cliui", - "version": "8.0.1", - "description": "easily create complex multi-column command-line-interfaces", - "main": "build/index.cjs", - "exports": { - ".": [ - { - "import": "./index.mjs", - "require": "./build/index.cjs" - }, - "./build/index.cjs" - ] - }, - "type": "module", - "module": "./index.mjs", - "scripts": { - "check": "standardx '**/*.ts' && standardx '**/*.js' && standardx '**/*.cjs'", - "fix": "standardx --fix '**/*.ts' && standardx --fix '**/*.js' && standardx --fix '**/*.cjs'", - "pretest": "rimraf build && tsc -p tsconfig.test.json && cross-env NODE_ENV=test npm run build:cjs", - "test": "c8 mocha ./test/*.cjs", - "test:esm": "c8 mocha ./test/esm/cliui-test.mjs", - "postest": "check", - "coverage": "c8 report --check-coverage", - "precompile": "rimraf build", - "compile": "tsc", - "postcompile": "npm run build:cjs", - "build:cjs": "rollup -c", - "prepare": "npm run compile" - }, - "repository": "yargs/cliui", - "standard": { - "ignore": [ - "**/example/**" - ], - "globals": [ - "it" - ] - }, - "keywords": [ - "cli", - "command-line", - "layout", - "design", - "console", - "wrap", - "table" - ], - "author": "Ben Coe ", - "license": "ISC", - "dependencies": { - "string-width": "^4.2.0", - "strip-ansi": "^6.0.1", - "wrap-ansi": "^7.0.0" - }, - "devDependencies": { - "@types/node": "^14.0.27", - "@typescript-eslint/eslint-plugin": "^4.0.0", - "@typescript-eslint/parser": "^4.0.0", - "c8": "^7.3.0", - "chai": "^4.2.0", - "chalk": "^4.1.0", - "cross-env": "^7.0.2", - "eslint": "^7.6.0", - "eslint-plugin-import": "^2.22.0", - "eslint-plugin-node": "^11.1.0", - "gts": "^3.0.0", - "mocha": "^10.0.0", - "rimraf": "^3.0.2", - "rollup": "^2.23.1", - "rollup-plugin-ts": "^3.0.2", - "standardx": "^7.0.0", - "typescript": "^4.0.0" - }, - "files": [ - "build", - "index.mjs", - "!*.d.ts" - ], - "engines": { - "node": ">=12" - } -} diff --git a/node_modules/color-convert/CHANGELOG.md b/node_modules/color-convert/CHANGELOG.md deleted file mode 100644 index 0a7bce4..0000000 --- a/node_modules/color-convert/CHANGELOG.md +++ /dev/null @@ -1,54 +0,0 @@ -# 1.0.0 - 2016-01-07 - -- Removed: unused speed test -- Added: Automatic routing between previously unsupported conversions -([#27](https://github.com/Qix-/color-convert/pull/27)) -- Removed: `xxx2xxx()` and `xxx2xxxRaw()` functions -([#27](https://github.com/Qix-/color-convert/pull/27)) -- Removed: `convert()` class -([#27](https://github.com/Qix-/color-convert/pull/27)) -- Changed: all functions to lookup dictionary -([#27](https://github.com/Qix-/color-convert/pull/27)) -- Changed: `ansi` to `ansi256` -([#27](https://github.com/Qix-/color-convert/pull/27)) -- Fixed: argument grouping for functions requiring only one argument -([#27](https://github.com/Qix-/color-convert/pull/27)) - -# 0.6.0 - 2015-07-23 - -- Added: methods to handle -[ANSI](https://en.wikipedia.org/wiki/ANSI_escape_code#Colors) 16/256 colors: - - rgb2ansi16 - - rgb2ansi - - hsl2ansi16 - - hsl2ansi - - hsv2ansi16 - - hsv2ansi - - hwb2ansi16 - - hwb2ansi - - cmyk2ansi16 - - cmyk2ansi - - keyword2ansi16 - - keyword2ansi - - ansi162rgb - - ansi162hsl - - ansi162hsv - - ansi162hwb - - ansi162cmyk - - ansi162keyword - - ansi2rgb - - ansi2hsl - - ansi2hsv - - ansi2hwb - - ansi2cmyk - - ansi2keyword -([#18](https://github.com/harthur/color-convert/pull/18)) - -# 0.5.3 - 2015-06-02 - -- Fixed: hsl2hsv does not return `NaN` anymore when using `[0,0,0]` -([#15](https://github.com/harthur/color-convert/issues/15)) - ---- - -Check out commit logs for older releases diff --git a/node_modules/color-convert/LICENSE b/node_modules/color-convert/LICENSE deleted file mode 100644 index 5b4c386..0000000 --- a/node_modules/color-convert/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -Copyright (c) 2011-2016 Heather Arthur - -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. - diff --git a/node_modules/color-convert/README.md b/node_modules/color-convert/README.md deleted file mode 100644 index d4b08fc..0000000 --- a/node_modules/color-convert/README.md +++ /dev/null @@ -1,68 +0,0 @@ -# color-convert - -[![Build Status](https://travis-ci.org/Qix-/color-convert.svg?branch=master)](https://travis-ci.org/Qix-/color-convert) - -Color-convert is a color conversion library for JavaScript and node. -It converts all ways between `rgb`, `hsl`, `hsv`, `hwb`, `cmyk`, `ansi`, `ansi16`, `hex` strings, and CSS `keyword`s (will round to closest): - -```js -var convert = require('color-convert'); - -convert.rgb.hsl(140, 200, 100); // [96, 48, 59] -convert.keyword.rgb('blue'); // [0, 0, 255] - -var rgbChannels = convert.rgb.channels; // 3 -var cmykChannels = convert.cmyk.channels; // 4 -var ansiChannels = convert.ansi16.channels; // 1 -``` - -# Install - -```console -$ npm install color-convert -``` - -# API - -Simply get the property of the _from_ and _to_ conversion that you're looking for. - -All functions have a rounded and unrounded variant. By default, return values are rounded. To get the unrounded (raw) results, simply tack on `.raw` to the function. - -All 'from' functions have a hidden property called `.channels` that indicates the number of channels the function expects (not including alpha). - -```js -var convert = require('color-convert'); - -// Hex to LAB -convert.hex.lab('DEADBF'); // [ 76, 21, -2 ] -convert.hex.lab.raw('DEADBF'); // [ 75.56213190997677, 20.653827952644754, -2.290532499330533 ] - -// RGB to CMYK -convert.rgb.cmyk(167, 255, 4); // [ 35, 0, 98, 0 ] -convert.rgb.cmyk.raw(167, 255, 4); // [ 34.509803921568626, 0, 98.43137254901961, 0 ] -``` - -### Arrays -All functions that accept multiple arguments also support passing an array. - -Note that this does **not** apply to functions that convert from a color that only requires one value (e.g. `keyword`, `ansi256`, `hex`, etc.) - -```js -var convert = require('color-convert'); - -convert.rgb.hex(123, 45, 67); // '7B2D43' -convert.rgb.hex([123, 45, 67]); // '7B2D43' -``` - -## Routing - -Conversions that don't have an _explicitly_ defined conversion (in [conversions.js](conversions.js)), but can be converted by means of sub-conversions (e.g. XYZ -> **RGB** -> CMYK), are automatically routed together. This allows just about any color model supported by `color-convert` to be converted to any other model, so long as a sub-conversion path exists. This is also true for conversions requiring more than one step in between (e.g. LCH -> **LAB** -> **XYZ** -> **RGB** -> Hex). - -Keep in mind that extensive conversions _may_ result in a loss of precision, and exist only to be complete. For a list of "direct" (single-step) conversions, see [conversions.js](conversions.js). - -# Contribute - -If there is a new model you would like to support, or want to add a direct conversion between two existing models, please send us a pull request. - -# License -Copyright © 2011-2016, Heather Arthur and Josh Junon. Licensed under the [MIT License](LICENSE). diff --git a/node_modules/color-convert/conversions.js b/node_modules/color-convert/conversions.js deleted file mode 100644 index 3217200..0000000 --- a/node_modules/color-convert/conversions.js +++ /dev/null @@ -1,868 +0,0 @@ -/* MIT license */ -var cssKeywords = require('color-name'); - -// NOTE: conversions should only return primitive values (i.e. arrays, or -// values that give correct `typeof` results). -// do not use box values types (i.e. Number(), String(), etc.) - -var reverseKeywords = {}; -for (var key in cssKeywords) { - if (cssKeywords.hasOwnProperty(key)) { - reverseKeywords[cssKeywords[key]] = key; - } -} - -var convert = module.exports = { - rgb: {channels: 3, labels: 'rgb'}, - hsl: {channels: 3, labels: 'hsl'}, - hsv: {channels: 3, labels: 'hsv'}, - hwb: {channels: 3, labels: 'hwb'}, - cmyk: {channels: 4, labels: 'cmyk'}, - xyz: {channels: 3, labels: 'xyz'}, - lab: {channels: 3, labels: 'lab'}, - lch: {channels: 3, labels: 'lch'}, - hex: {channels: 1, labels: ['hex']}, - keyword: {channels: 1, labels: ['keyword']}, - ansi16: {channels: 1, labels: ['ansi16']}, - ansi256: {channels: 1, labels: ['ansi256']}, - hcg: {channels: 3, labels: ['h', 'c', 'g']}, - apple: {channels: 3, labels: ['r16', 'g16', 'b16']}, - gray: {channels: 1, labels: ['gray']} -}; - -// hide .channels and .labels properties -for (var model in convert) { - if (convert.hasOwnProperty(model)) { - if (!('channels' in convert[model])) { - throw new Error('missing channels property: ' + model); - } - - if (!('labels' in convert[model])) { - throw new Error('missing channel labels property: ' + model); - } - - if (convert[model].labels.length !== convert[model].channels) { - throw new Error('channel and label counts mismatch: ' + model); - } - - var channels = convert[model].channels; - var labels = convert[model].labels; - delete convert[model].channels; - delete convert[model].labels; - Object.defineProperty(convert[model], 'channels', {value: channels}); - Object.defineProperty(convert[model], 'labels', {value: labels}); - } -} - -convert.rgb.hsl = function (rgb) { - var r = rgb[0] / 255; - var g = rgb[1] / 255; - var b = rgb[2] / 255; - var min = Math.min(r, g, b); - var max = Math.max(r, g, b); - var delta = max - min; - var h; - var s; - var l; - - if (max === min) { - h = 0; - } else if (r === max) { - h = (g - b) / delta; - } else if (g === max) { - h = 2 + (b - r) / delta; - } else if (b === max) { - h = 4 + (r - g) / delta; - } - - h = Math.min(h * 60, 360); - - if (h < 0) { - h += 360; - } - - l = (min + max) / 2; - - if (max === min) { - s = 0; - } else if (l <= 0.5) { - s = delta / (max + min); - } else { - s = delta / (2 - max - min); - } - - return [h, s * 100, l * 100]; -}; - -convert.rgb.hsv = function (rgb) { - var rdif; - var gdif; - var bdif; - var h; - var s; - - var r = rgb[0] / 255; - var g = rgb[1] / 255; - var b = rgb[2] / 255; - var v = Math.max(r, g, b); - var diff = v - Math.min(r, g, b); - var diffc = function (c) { - return (v - c) / 6 / diff + 1 / 2; - }; - - if (diff === 0) { - h = s = 0; - } else { - s = diff / v; - rdif = diffc(r); - gdif = diffc(g); - bdif = diffc(b); - - if (r === v) { - h = bdif - gdif; - } else if (g === v) { - h = (1 / 3) + rdif - bdif; - } else if (b === v) { - h = (2 / 3) + gdif - rdif; - } - if (h < 0) { - h += 1; - } else if (h > 1) { - h -= 1; - } - } - - return [ - h * 360, - s * 100, - v * 100 - ]; -}; - -convert.rgb.hwb = function (rgb) { - var r = rgb[0]; - var g = rgb[1]; - var b = rgb[2]; - var h = convert.rgb.hsl(rgb)[0]; - var w = 1 / 255 * Math.min(r, Math.min(g, b)); - - b = 1 - 1 / 255 * Math.max(r, Math.max(g, b)); - - return [h, w * 100, b * 100]; -}; - -convert.rgb.cmyk = function (rgb) { - var r = rgb[0] / 255; - var g = rgb[1] / 255; - var b = rgb[2] / 255; - var c; - var m; - var y; - var k; - - k = Math.min(1 - r, 1 - g, 1 - b); - c = (1 - r - k) / (1 - k) || 0; - m = (1 - g - k) / (1 - k) || 0; - y = (1 - b - k) / (1 - k) || 0; - - return [c * 100, m * 100, y * 100, k * 100]; -}; - -/** - * See https://en.m.wikipedia.org/wiki/Euclidean_distance#Squared_Euclidean_distance - * */ -function comparativeDistance(x, y) { - return ( - Math.pow(x[0] - y[0], 2) + - Math.pow(x[1] - y[1], 2) + - Math.pow(x[2] - y[2], 2) - ); -} - -convert.rgb.keyword = function (rgb) { - var reversed = reverseKeywords[rgb]; - if (reversed) { - return reversed; - } - - var currentClosestDistance = Infinity; - var currentClosestKeyword; - - for (var keyword in cssKeywords) { - if (cssKeywords.hasOwnProperty(keyword)) { - var value = cssKeywords[keyword]; - - // Compute comparative distance - var distance = comparativeDistance(rgb, value); - - // Check if its less, if so set as closest - if (distance < currentClosestDistance) { - currentClosestDistance = distance; - currentClosestKeyword = keyword; - } - } - } - - return currentClosestKeyword; -}; - -convert.keyword.rgb = function (keyword) { - return cssKeywords[keyword]; -}; - -convert.rgb.xyz = function (rgb) { - var r = rgb[0] / 255; - var g = rgb[1] / 255; - var b = rgb[2] / 255; - - // assume sRGB - r = r > 0.04045 ? Math.pow(((r + 0.055) / 1.055), 2.4) : (r / 12.92); - g = g > 0.04045 ? Math.pow(((g + 0.055) / 1.055), 2.4) : (g / 12.92); - b = b > 0.04045 ? Math.pow(((b + 0.055) / 1.055), 2.4) : (b / 12.92); - - var x = (r * 0.4124) + (g * 0.3576) + (b * 0.1805); - var y = (r * 0.2126) + (g * 0.7152) + (b * 0.0722); - var z = (r * 0.0193) + (g * 0.1192) + (b * 0.9505); - - return [x * 100, y * 100, z * 100]; -}; - -convert.rgb.lab = function (rgb) { - var xyz = convert.rgb.xyz(rgb); - var x = xyz[0]; - var y = xyz[1]; - var z = xyz[2]; - var l; - var a; - var b; - - x /= 95.047; - y /= 100; - z /= 108.883; - - x = x > 0.008856 ? Math.pow(x, 1 / 3) : (7.787 * x) + (16 / 116); - y = y > 0.008856 ? Math.pow(y, 1 / 3) : (7.787 * y) + (16 / 116); - z = z > 0.008856 ? Math.pow(z, 1 / 3) : (7.787 * z) + (16 / 116); - - l = (116 * y) - 16; - a = 500 * (x - y); - b = 200 * (y - z); - - return [l, a, b]; -}; - -convert.hsl.rgb = function (hsl) { - var h = hsl[0] / 360; - var s = hsl[1] / 100; - var l = hsl[2] / 100; - var t1; - var t2; - var t3; - var rgb; - var val; - - if (s === 0) { - val = l * 255; - return [val, val, val]; - } - - if (l < 0.5) { - t2 = l * (1 + s); - } else { - t2 = l + s - l * s; - } - - t1 = 2 * l - t2; - - rgb = [0, 0, 0]; - for (var i = 0; i < 3; i++) { - t3 = h + 1 / 3 * -(i - 1); - if (t3 < 0) { - t3++; - } - if (t3 > 1) { - t3--; - } - - if (6 * t3 < 1) { - val = t1 + (t2 - t1) * 6 * t3; - } else if (2 * t3 < 1) { - val = t2; - } else if (3 * t3 < 2) { - val = t1 + (t2 - t1) * (2 / 3 - t3) * 6; - } else { - val = t1; - } - - rgb[i] = val * 255; - } - - return rgb; -}; - -convert.hsl.hsv = function (hsl) { - var h = hsl[0]; - var s = hsl[1] / 100; - var l = hsl[2] / 100; - var smin = s; - var lmin = Math.max(l, 0.01); - var sv; - var v; - - l *= 2; - s *= (l <= 1) ? l : 2 - l; - smin *= lmin <= 1 ? lmin : 2 - lmin; - v = (l + s) / 2; - sv = l === 0 ? (2 * smin) / (lmin + smin) : (2 * s) / (l + s); - - return [h, sv * 100, v * 100]; -}; - -convert.hsv.rgb = function (hsv) { - var h = hsv[0] / 60; - var s = hsv[1] / 100; - var v = hsv[2] / 100; - var hi = Math.floor(h) % 6; - - var f = h - Math.floor(h); - var p = 255 * v * (1 - s); - var q = 255 * v * (1 - (s * f)); - var t = 255 * v * (1 - (s * (1 - f))); - v *= 255; - - switch (hi) { - case 0: - return [v, t, p]; - case 1: - return [q, v, p]; - case 2: - return [p, v, t]; - case 3: - return [p, q, v]; - case 4: - return [t, p, v]; - case 5: - return [v, p, q]; - } -}; - -convert.hsv.hsl = function (hsv) { - var h = hsv[0]; - var s = hsv[1] / 100; - var v = hsv[2] / 100; - var vmin = Math.max(v, 0.01); - var lmin; - var sl; - var l; - - l = (2 - s) * v; - lmin = (2 - s) * vmin; - sl = s * vmin; - sl /= (lmin <= 1) ? lmin : 2 - lmin; - sl = sl || 0; - l /= 2; - - return [h, sl * 100, l * 100]; -}; - -// http://dev.w3.org/csswg/css-color/#hwb-to-rgb -convert.hwb.rgb = function (hwb) { - var h = hwb[0] / 360; - var wh = hwb[1] / 100; - var bl = hwb[2] / 100; - var ratio = wh + bl; - var i; - var v; - var f; - var n; - - // wh + bl cant be > 1 - if (ratio > 1) { - wh /= ratio; - bl /= ratio; - } - - i = Math.floor(6 * h); - v = 1 - bl; - f = 6 * h - i; - - if ((i & 0x01) !== 0) { - f = 1 - f; - } - - n = wh + f * (v - wh); // linear interpolation - - var r; - var g; - var b; - switch (i) { - default: - case 6: - case 0: r = v; g = n; b = wh; break; - case 1: r = n; g = v; b = wh; break; - case 2: r = wh; g = v; b = n; break; - case 3: r = wh; g = n; b = v; break; - case 4: r = n; g = wh; b = v; break; - case 5: r = v; g = wh; b = n; break; - } - - return [r * 255, g * 255, b * 255]; -}; - -convert.cmyk.rgb = function (cmyk) { - var c = cmyk[0] / 100; - var m = cmyk[1] / 100; - var y = cmyk[2] / 100; - var k = cmyk[3] / 100; - var r; - var g; - var b; - - r = 1 - Math.min(1, c * (1 - k) + k); - g = 1 - Math.min(1, m * (1 - k) + k); - b = 1 - Math.min(1, y * (1 - k) + k); - - return [r * 255, g * 255, b * 255]; -}; - -convert.xyz.rgb = function (xyz) { - var x = xyz[0] / 100; - var y = xyz[1] / 100; - var z = xyz[2] / 100; - var r; - var g; - var b; - - r = (x * 3.2406) + (y * -1.5372) + (z * -0.4986); - g = (x * -0.9689) + (y * 1.8758) + (z * 0.0415); - b = (x * 0.0557) + (y * -0.2040) + (z * 1.0570); - - // assume sRGB - r = r > 0.0031308 - ? ((1.055 * Math.pow(r, 1.0 / 2.4)) - 0.055) - : r * 12.92; - - g = g > 0.0031308 - ? ((1.055 * Math.pow(g, 1.0 / 2.4)) - 0.055) - : g * 12.92; - - b = b > 0.0031308 - ? ((1.055 * Math.pow(b, 1.0 / 2.4)) - 0.055) - : b * 12.92; - - r = Math.min(Math.max(0, r), 1); - g = Math.min(Math.max(0, g), 1); - b = Math.min(Math.max(0, b), 1); - - return [r * 255, g * 255, b * 255]; -}; - -convert.xyz.lab = function (xyz) { - var x = xyz[0]; - var y = xyz[1]; - var z = xyz[2]; - var l; - var a; - var b; - - x /= 95.047; - y /= 100; - z /= 108.883; - - x = x > 0.008856 ? Math.pow(x, 1 / 3) : (7.787 * x) + (16 / 116); - y = y > 0.008856 ? Math.pow(y, 1 / 3) : (7.787 * y) + (16 / 116); - z = z > 0.008856 ? Math.pow(z, 1 / 3) : (7.787 * z) + (16 / 116); - - l = (116 * y) - 16; - a = 500 * (x - y); - b = 200 * (y - z); - - return [l, a, b]; -}; - -convert.lab.xyz = function (lab) { - var l = lab[0]; - var a = lab[1]; - var b = lab[2]; - var x; - var y; - var z; - - y = (l + 16) / 116; - x = a / 500 + y; - z = y - b / 200; - - var y2 = Math.pow(y, 3); - var x2 = Math.pow(x, 3); - var z2 = Math.pow(z, 3); - y = y2 > 0.008856 ? y2 : (y - 16 / 116) / 7.787; - x = x2 > 0.008856 ? x2 : (x - 16 / 116) / 7.787; - z = z2 > 0.008856 ? z2 : (z - 16 / 116) / 7.787; - - x *= 95.047; - y *= 100; - z *= 108.883; - - return [x, y, z]; -}; - -convert.lab.lch = function (lab) { - var l = lab[0]; - var a = lab[1]; - var b = lab[2]; - var hr; - var h; - var c; - - hr = Math.atan2(b, a); - h = hr * 360 / 2 / Math.PI; - - if (h < 0) { - h += 360; - } - - c = Math.sqrt(a * a + b * b); - - return [l, c, h]; -}; - -convert.lch.lab = function (lch) { - var l = lch[0]; - var c = lch[1]; - var h = lch[2]; - var a; - var b; - var hr; - - hr = h / 360 * 2 * Math.PI; - a = c * Math.cos(hr); - b = c * Math.sin(hr); - - return [l, a, b]; -}; - -convert.rgb.ansi16 = function (args) { - var r = args[0]; - var g = args[1]; - var b = args[2]; - var value = 1 in arguments ? arguments[1] : convert.rgb.hsv(args)[2]; // hsv -> ansi16 optimization - - value = Math.round(value / 50); - - if (value === 0) { - return 30; - } - - var ansi = 30 - + ((Math.round(b / 255) << 2) - | (Math.round(g / 255) << 1) - | Math.round(r / 255)); - - if (value === 2) { - ansi += 60; - } - - return ansi; -}; - -convert.hsv.ansi16 = function (args) { - // optimization here; we already know the value and don't need to get - // it converted for us. - return convert.rgb.ansi16(convert.hsv.rgb(args), args[2]); -}; - -convert.rgb.ansi256 = function (args) { - var r = args[0]; - var g = args[1]; - var b = args[2]; - - // we use the extended greyscale palette here, with the exception of - // black and white. normal palette only has 4 greyscale shades. - if (r === g && g === b) { - if (r < 8) { - return 16; - } - - if (r > 248) { - return 231; - } - - return Math.round(((r - 8) / 247) * 24) + 232; - } - - var ansi = 16 - + (36 * Math.round(r / 255 * 5)) - + (6 * Math.round(g / 255 * 5)) - + Math.round(b / 255 * 5); - - return ansi; -}; - -convert.ansi16.rgb = function (args) { - var color = args % 10; - - // handle greyscale - if (color === 0 || color === 7) { - if (args > 50) { - color += 3.5; - } - - color = color / 10.5 * 255; - - return [color, color, color]; - } - - var mult = (~~(args > 50) + 1) * 0.5; - var r = ((color & 1) * mult) * 255; - var g = (((color >> 1) & 1) * mult) * 255; - var b = (((color >> 2) & 1) * mult) * 255; - - return [r, g, b]; -}; - -convert.ansi256.rgb = function (args) { - // handle greyscale - if (args >= 232) { - var c = (args - 232) * 10 + 8; - return [c, c, c]; - } - - args -= 16; - - var rem; - var r = Math.floor(args / 36) / 5 * 255; - var g = Math.floor((rem = args % 36) / 6) / 5 * 255; - var b = (rem % 6) / 5 * 255; - - return [r, g, b]; -}; - -convert.rgb.hex = function (args) { - var integer = ((Math.round(args[0]) & 0xFF) << 16) - + ((Math.round(args[1]) & 0xFF) << 8) - + (Math.round(args[2]) & 0xFF); - - var string = integer.toString(16).toUpperCase(); - return '000000'.substring(string.length) + string; -}; - -convert.hex.rgb = function (args) { - var match = args.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i); - if (!match) { - return [0, 0, 0]; - } - - var colorString = match[0]; - - if (match[0].length === 3) { - colorString = colorString.split('').map(function (char) { - return char + char; - }).join(''); - } - - var integer = parseInt(colorString, 16); - var r = (integer >> 16) & 0xFF; - var g = (integer >> 8) & 0xFF; - var b = integer & 0xFF; - - return [r, g, b]; -}; - -convert.rgb.hcg = function (rgb) { - var r = rgb[0] / 255; - var g = rgb[1] / 255; - var b = rgb[2] / 255; - var max = Math.max(Math.max(r, g), b); - var min = Math.min(Math.min(r, g), b); - var chroma = (max - min); - var grayscale; - var hue; - - if (chroma < 1) { - grayscale = min / (1 - chroma); - } else { - grayscale = 0; - } - - if (chroma <= 0) { - hue = 0; - } else - if (max === r) { - hue = ((g - b) / chroma) % 6; - } else - if (max === g) { - hue = 2 + (b - r) / chroma; - } else { - hue = 4 + (r - g) / chroma + 4; - } - - hue /= 6; - hue %= 1; - - return [hue * 360, chroma * 100, grayscale * 100]; -}; - -convert.hsl.hcg = function (hsl) { - var s = hsl[1] / 100; - var l = hsl[2] / 100; - var c = 1; - var f = 0; - - if (l < 0.5) { - c = 2.0 * s * l; - } else { - c = 2.0 * s * (1.0 - l); - } - - if (c < 1.0) { - f = (l - 0.5 * c) / (1.0 - c); - } - - return [hsl[0], c * 100, f * 100]; -}; - -convert.hsv.hcg = function (hsv) { - var s = hsv[1] / 100; - var v = hsv[2] / 100; - - var c = s * v; - var f = 0; - - if (c < 1.0) { - f = (v - c) / (1 - c); - } - - return [hsv[0], c * 100, f * 100]; -}; - -convert.hcg.rgb = function (hcg) { - var h = hcg[0] / 360; - var c = hcg[1] / 100; - var g = hcg[2] / 100; - - if (c === 0.0) { - return [g * 255, g * 255, g * 255]; - } - - var pure = [0, 0, 0]; - var hi = (h % 1) * 6; - var v = hi % 1; - var w = 1 - v; - var mg = 0; - - switch (Math.floor(hi)) { - case 0: - pure[0] = 1; pure[1] = v; pure[2] = 0; break; - case 1: - pure[0] = w; pure[1] = 1; pure[2] = 0; break; - case 2: - pure[0] = 0; pure[1] = 1; pure[2] = v; break; - case 3: - pure[0] = 0; pure[1] = w; pure[2] = 1; break; - case 4: - pure[0] = v; pure[1] = 0; pure[2] = 1; break; - default: - pure[0] = 1; pure[1] = 0; pure[2] = w; - } - - mg = (1.0 - c) * g; - - return [ - (c * pure[0] + mg) * 255, - (c * pure[1] + mg) * 255, - (c * pure[2] + mg) * 255 - ]; -}; - -convert.hcg.hsv = function (hcg) { - var c = hcg[1] / 100; - var g = hcg[2] / 100; - - var v = c + g * (1.0 - c); - var f = 0; - - if (v > 0.0) { - f = c / v; - } - - return [hcg[0], f * 100, v * 100]; -}; - -convert.hcg.hsl = function (hcg) { - var c = hcg[1] / 100; - var g = hcg[2] / 100; - - var l = g * (1.0 - c) + 0.5 * c; - var s = 0; - - if (l > 0.0 && l < 0.5) { - s = c / (2 * l); - } else - if (l >= 0.5 && l < 1.0) { - s = c / (2 * (1 - l)); - } - - return [hcg[0], s * 100, l * 100]; -}; - -convert.hcg.hwb = function (hcg) { - var c = hcg[1] / 100; - var g = hcg[2] / 100; - var v = c + g * (1.0 - c); - return [hcg[0], (v - c) * 100, (1 - v) * 100]; -}; - -convert.hwb.hcg = function (hwb) { - var w = hwb[1] / 100; - var b = hwb[2] / 100; - var v = 1 - b; - var c = v - w; - var g = 0; - - if (c < 1) { - g = (v - c) / (1 - c); - } - - return [hwb[0], c * 100, g * 100]; -}; - -convert.apple.rgb = function (apple) { - return [(apple[0] / 65535) * 255, (apple[1] / 65535) * 255, (apple[2] / 65535) * 255]; -}; - -convert.rgb.apple = function (rgb) { - return [(rgb[0] / 255) * 65535, (rgb[1] / 255) * 65535, (rgb[2] / 255) * 65535]; -}; - -convert.gray.rgb = function (args) { - return [args[0] / 100 * 255, args[0] / 100 * 255, args[0] / 100 * 255]; -}; - -convert.gray.hsl = convert.gray.hsv = function (args) { - return [0, 0, args[0]]; -}; - -convert.gray.hwb = function (gray) { - return [0, 100, gray[0]]; -}; - -convert.gray.cmyk = function (gray) { - return [0, 0, 0, gray[0]]; -}; - -convert.gray.lab = function (gray) { - return [gray[0], 0, 0]; -}; - -convert.gray.hex = function (gray) { - var val = Math.round(gray[0] / 100 * 255) & 0xFF; - var integer = (val << 16) + (val << 8) + val; - - var string = integer.toString(16).toUpperCase(); - return '000000'.substring(string.length) + string; -}; - -convert.rgb.gray = function (rgb) { - var val = (rgb[0] + rgb[1] + rgb[2]) / 3; - return [val / 255 * 100]; -}; diff --git a/node_modules/color-convert/index.js b/node_modules/color-convert/index.js deleted file mode 100644 index e65b5d7..0000000 --- a/node_modules/color-convert/index.js +++ /dev/null @@ -1,78 +0,0 @@ -var conversions = require('./conversions'); -var route = require('./route'); - -var convert = {}; - -var models = Object.keys(conversions); - -function wrapRaw(fn) { - var wrappedFn = function (args) { - if (args === undefined || args === null) { - return args; - } - - if (arguments.length > 1) { - args = Array.prototype.slice.call(arguments); - } - - return fn(args); - }; - - // preserve .conversion property if there is one - if ('conversion' in fn) { - wrappedFn.conversion = fn.conversion; - } - - return wrappedFn; -} - -function wrapRounded(fn) { - var wrappedFn = function (args) { - if (args === undefined || args === null) { - return args; - } - - if (arguments.length > 1) { - args = Array.prototype.slice.call(arguments); - } - - var result = fn(args); - - // we're assuming the result is an array here. - // see notice in conversions.js; don't use box types - // in conversion functions. - if (typeof result === 'object') { - for (var len = result.length, i = 0; i < len; i++) { - result[i] = Math.round(result[i]); - } - } - - return result; - }; - - // preserve .conversion property if there is one - if ('conversion' in fn) { - wrappedFn.conversion = fn.conversion; - } - - return wrappedFn; -} - -models.forEach(function (fromModel) { - convert[fromModel] = {}; - - Object.defineProperty(convert[fromModel], 'channels', {value: conversions[fromModel].channels}); - Object.defineProperty(convert[fromModel], 'labels', {value: conversions[fromModel].labels}); - - var routes = route(fromModel); - var routeModels = Object.keys(routes); - - routeModels.forEach(function (toModel) { - var fn = routes[toModel]; - - convert[fromModel][toModel] = wrapRounded(fn); - convert[fromModel][toModel].raw = wrapRaw(fn); - }); -}); - -module.exports = convert; diff --git a/node_modules/color-convert/package.json b/node_modules/color-convert/package.json deleted file mode 100644 index dfbc471..0000000 --- a/node_modules/color-convert/package.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "name": "color-convert", - "description": "Plain color conversion functions", - "version": "1.9.3", - "author": "Heather Arthur ", - "license": "MIT", - "repository": "Qix-/color-convert", - "scripts": { - "pretest": "xo", - "test": "node test/basic.js" - }, - "keywords": [ - "color", - "colour", - "convert", - "converter", - "conversion", - "rgb", - "hsl", - "hsv", - "hwb", - "cmyk", - "ansi", - "ansi16" - ], - "files": [ - "index.js", - "conversions.js", - "css-keywords.js", - "route.js" - ], - "xo": { - "rules": { - "default-case": 0, - "no-inline-comments": 0, - "operator-linebreak": 0 - } - }, - "devDependencies": { - "chalk": "1.1.1", - "xo": "0.11.2" - }, - "dependencies": { - "color-name": "1.1.3" - } -} diff --git a/node_modules/color-convert/route.js b/node_modules/color-convert/route.js deleted file mode 100644 index 0a1fdea..0000000 --- a/node_modules/color-convert/route.js +++ /dev/null @@ -1,97 +0,0 @@ -var conversions = require('./conversions'); - -/* - this function routes a model to all other models. - - all functions that are routed have a property `.conversion` attached - to the returned synthetic function. This property is an array - of strings, each with the steps in between the 'from' and 'to' - color models (inclusive). - - conversions that are not possible simply are not included. -*/ - -function buildGraph() { - var graph = {}; - // https://jsperf.com/object-keys-vs-for-in-with-closure/3 - var models = Object.keys(conversions); - - for (var len = models.length, i = 0; i < len; i++) { - graph[models[i]] = { - // http://jsperf.com/1-vs-infinity - // micro-opt, but this is simple. - distance: -1, - parent: null - }; - } - - return graph; -} - -// https://en.wikipedia.org/wiki/Breadth-first_search -function deriveBFS(fromModel) { - var graph = buildGraph(); - var queue = [fromModel]; // unshift -> queue -> pop - - graph[fromModel].distance = 0; - - while (queue.length) { - var current = queue.pop(); - var adjacents = Object.keys(conversions[current]); - - for (var len = adjacents.length, i = 0; i < len; i++) { - var adjacent = adjacents[i]; - var node = graph[adjacent]; - - if (node.distance === -1) { - node.distance = graph[current].distance + 1; - node.parent = current; - queue.unshift(adjacent); - } - } - } - - return graph; -} - -function link(from, to) { - return function (args) { - return to(from(args)); - }; -} - -function wrapConversion(toModel, graph) { - var path = [graph[toModel].parent, toModel]; - var fn = conversions[graph[toModel].parent][toModel]; - - var cur = graph[toModel].parent; - while (graph[cur].parent) { - path.unshift(graph[cur].parent); - fn = link(conversions[graph[cur].parent][cur], fn); - cur = graph[cur].parent; - } - - fn.conversion = path; - return fn; -} - -module.exports = function (fromModel) { - var graph = deriveBFS(fromModel); - var conversion = {}; - - var models = Object.keys(graph); - for (var len = models.length, i = 0; i < len; i++) { - var toModel = models[i]; - var node = graph[toModel]; - - if (node.parent === null) { - // no possible conversion, or this node is the source model. - continue; - } - - conversion[toModel] = wrapConversion(toModel, graph); - } - - return conversion; -}; - diff --git a/node_modules/color-name/.eslintrc.json b/node_modules/color-name/.eslintrc.json deleted file mode 100644 index c50c250..0000000 --- a/node_modules/color-name/.eslintrc.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "env": { - "browser": true, - "node": true, - "commonjs": true, - "es6": true - }, - "extends": "eslint:recommended", - "rules": { - "strict": 2, - "indent": 0, - "linebreak-style": 0, - "quotes": 0, - "semi": 0, - "no-cond-assign": 1, - "no-constant-condition": 1, - "no-duplicate-case": 1, - "no-empty": 1, - "no-ex-assign": 1, - "no-extra-boolean-cast": 1, - "no-extra-semi": 1, - "no-fallthrough": 1, - "no-func-assign": 1, - "no-global-assign": 1, - "no-implicit-globals": 2, - "no-inner-declarations": ["error", "functions"], - "no-irregular-whitespace": 2, - "no-loop-func": 1, - "no-multi-str": 1, - "no-mixed-spaces-and-tabs": 1, - "no-proto": 1, - "no-sequences": 1, - "no-throw-literal": 1, - "no-unmodified-loop-condition": 1, - "no-useless-call": 1, - "no-void": 1, - "no-with": 2, - "wrap-iife": 1, - "no-redeclare": 1, - "no-unused-vars": ["error", { "vars": "all", "args": "none" }], - "no-sparse-arrays": 1 - } -} diff --git a/node_modules/color-name/.npmignore b/node_modules/color-name/.npmignore deleted file mode 100644 index 3854c07..0000000 --- a/node_modules/color-name/.npmignore +++ /dev/null @@ -1,107 +0,0 @@ -//this will affect all the git repos -git config --global core.excludesfile ~/.gitignore - - -//update files since .ignore won't if already tracked -git rm --cached - -# Compiled source # -################### -*.com -*.class -*.dll -*.exe -*.o -*.so - -# Packages # -############ -# it's better to unpack these files and commit the raw source -# git has its own built in compression methods -*.7z -*.dmg -*.gz -*.iso -*.jar -*.rar -*.tar -*.zip - -# Logs and databases # -###################### -*.log -*.sql -*.sqlite - -# OS generated files # -###################### -.DS_Store -.DS_Store? -._* -.Spotlight-V100 -.Trashes -# Icon? -ehthumbs.db -Thumbs.db -.cache -.project -.settings -.tmproj -*.esproj -nbproject - -# Numerous always-ignore extensions # -##################################### -*.diff -*.err -*.orig -*.rej -*.swn -*.swo -*.swp -*.vi -*~ -*.sass-cache -*.grunt -*.tmp - -# Dreamweaver added files # -########################### -_notes -dwsync.xml - -# Komodo # -########################### -*.komodoproject -.komodotools - -# Node # -##################### -node_modules - -# Bower # -##################### -bower_components - -# Folders to ignore # -##################### -.hg -.svn -.CVS -intermediate -publish -.idea -.graphics -_test -_archive -uploads -tmp - -# Vim files to ignore # -####################### -.VimballRecord -.netrwhist - -bundle.* - -_demo \ No newline at end of file diff --git a/node_modules/color-name/LICENSE b/node_modules/color-name/LICENSE deleted file mode 100644 index 4d9802a..0000000 --- a/node_modules/color-name/LICENSE +++ /dev/null @@ -1,8 +0,0 @@ -The MIT License (MIT) -Copyright (c) 2015 Dmitry Ivanov - -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. \ No newline at end of file diff --git a/node_modules/color-name/README.md b/node_modules/color-name/README.md deleted file mode 100644 index 3611a6b..0000000 --- a/node_modules/color-name/README.md +++ /dev/null @@ -1,11 +0,0 @@ -A JSON with color names and its values. Based on http://dev.w3.org/csswg/css-color/#named-colors. - -[![NPM](https://nodei.co/npm/color-name.png?mini=true)](https://nodei.co/npm/color-name/) - - -```js -var colors = require('color-name'); -colors.red //[255,0,0] -``` - - diff --git a/node_modules/color-name/index.js b/node_modules/color-name/index.js deleted file mode 100644 index e42aa68..0000000 --- a/node_modules/color-name/index.js +++ /dev/null @@ -1,152 +0,0 @@ -'use strict' - -module.exports = { - "aliceblue": [240, 248, 255], - "antiquewhite": [250, 235, 215], - "aqua": [0, 255, 255], - "aquamarine": [127, 255, 212], - "azure": [240, 255, 255], - "beige": [245, 245, 220], - "bisque": [255, 228, 196], - "black": [0, 0, 0], - "blanchedalmond": [255, 235, 205], - "blue": [0, 0, 255], - "blueviolet": [138, 43, 226], - "brown": [165, 42, 42], - "burlywood": [222, 184, 135], - "cadetblue": [95, 158, 160], - "chartreuse": [127, 255, 0], - "chocolate": [210, 105, 30], - "coral": [255, 127, 80], - "cornflowerblue": [100, 149, 237], - "cornsilk": [255, 248, 220], - "crimson": [220, 20, 60], - "cyan": [0, 255, 255], - "darkblue": [0, 0, 139], - "darkcyan": [0, 139, 139], - "darkgoldenrod": [184, 134, 11], - "darkgray": [169, 169, 169], - "darkgreen": [0, 100, 0], - "darkgrey": [169, 169, 169], - "darkkhaki": [189, 183, 107], - "darkmagenta": [139, 0, 139], - "darkolivegreen": [85, 107, 47], - "darkorange": [255, 140, 0], - "darkorchid": [153, 50, 204], - "darkred": [139, 0, 0], - "darksalmon": [233, 150, 122], - "darkseagreen": [143, 188, 143], - "darkslateblue": [72, 61, 139], - "darkslategray": [47, 79, 79], - "darkslategrey": [47, 79, 79], - "darkturquoise": [0, 206, 209], - "darkviolet": [148, 0, 211], - "deeppink": [255, 20, 147], - "deepskyblue": [0, 191, 255], - "dimgray": [105, 105, 105], - "dimgrey": [105, 105, 105], - "dodgerblue": [30, 144, 255], - "firebrick": [178, 34, 34], - "floralwhite": [255, 250, 240], - "forestgreen": [34, 139, 34], - "fuchsia": [255, 0, 255], - "gainsboro": [220, 220, 220], - "ghostwhite": [248, 248, 255], - "gold": [255, 215, 0], - "goldenrod": [218, 165, 32], - "gray": [128, 128, 128], - "green": [0, 128, 0], - "greenyellow": [173, 255, 47], - "grey": [128, 128, 128], - "honeydew": [240, 255, 240], - "hotpink": [255, 105, 180], - "indianred": [205, 92, 92], - "indigo": [75, 0, 130], - "ivory": [255, 255, 240], - "khaki": [240, 230, 140], - "lavender": [230, 230, 250], - "lavenderblush": [255, 240, 245], - "lawngreen": [124, 252, 0], - "lemonchiffon": [255, 250, 205], - "lightblue": [173, 216, 230], - "lightcoral": [240, 128, 128], - "lightcyan": [224, 255, 255], - "lightgoldenrodyellow": [250, 250, 210], - "lightgray": [211, 211, 211], - "lightgreen": [144, 238, 144], - "lightgrey": [211, 211, 211], - "lightpink": [255, 182, 193], - "lightsalmon": [255, 160, 122], - "lightseagreen": [32, 178, 170], - "lightskyblue": [135, 206, 250], - "lightslategray": [119, 136, 153], - "lightslategrey": [119, 136, 153], - "lightsteelblue": [176, 196, 222], - "lightyellow": [255, 255, 224], - "lime": [0, 255, 0], - "limegreen": [50, 205, 50], - "linen": [250, 240, 230], - "magenta": [255, 0, 255], - "maroon": [128, 0, 0], - "mediumaquamarine": [102, 205, 170], - "mediumblue": [0, 0, 205], - "mediumorchid": [186, 85, 211], - "mediumpurple": [147, 112, 219], - "mediumseagreen": [60, 179, 113], - "mediumslateblue": [123, 104, 238], - "mediumspringgreen": [0, 250, 154], - "mediumturquoise": [72, 209, 204], - "mediumvioletred": [199, 21, 133], - "midnightblue": [25, 25, 112], - "mintcream": [245, 255, 250], - "mistyrose": [255, 228, 225], - "moccasin": [255, 228, 181], - "navajowhite": [255, 222, 173], - "navy": [0, 0, 128], - "oldlace": [253, 245, 230], - "olive": [128, 128, 0], - "olivedrab": [107, 142, 35], - "orange": [255, 165, 0], - "orangered": [255, 69, 0], - "orchid": [218, 112, 214], - "palegoldenrod": [238, 232, 170], - "palegreen": [152, 251, 152], - "paleturquoise": [175, 238, 238], - "palevioletred": [219, 112, 147], - "papayawhip": [255, 239, 213], - "peachpuff": [255, 218, 185], - "peru": [205, 133, 63], - "pink": [255, 192, 203], - "plum": [221, 160, 221], - "powderblue": [176, 224, 230], - "purple": [128, 0, 128], - "rebeccapurple": [102, 51, 153], - "red": [255, 0, 0], - "rosybrown": [188, 143, 143], - "royalblue": [65, 105, 225], - "saddlebrown": [139, 69, 19], - "salmon": [250, 128, 114], - "sandybrown": [244, 164, 96], - "seagreen": [46, 139, 87], - "seashell": [255, 245, 238], - "sienna": [160, 82, 45], - "silver": [192, 192, 192], - "skyblue": [135, 206, 235], - "slateblue": [106, 90, 205], - "slategray": [112, 128, 144], - "slategrey": [112, 128, 144], - "snow": [255, 250, 250], - "springgreen": [0, 255, 127], - "steelblue": [70, 130, 180], - "tan": [210, 180, 140], - "teal": [0, 128, 128], - "thistle": [216, 191, 216], - "tomato": [255, 99, 71], - "turquoise": [64, 224, 208], - "violet": [238, 130, 238], - "wheat": [245, 222, 179], - "white": [255, 255, 255], - "whitesmoke": [245, 245, 245], - "yellow": [255, 255, 0], - "yellowgreen": [154, 205, 50] -}; diff --git a/node_modules/color-name/package.json b/node_modules/color-name/package.json deleted file mode 100644 index d061123..0000000 --- a/node_modules/color-name/package.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "name": "color-name", - "version": "1.1.3", - "description": "A list of color names and its values", - "main": "index.js", - "scripts": { - "test": "node test.js" - }, - "repository": { - "type": "git", - "url": "git@github.com:dfcreative/color-name.git" - }, - "keywords": [ - "color-name", - "color", - "color-keyword", - "keyword" - ], - "author": "DY ", - "license": "MIT", - "bugs": { - "url": "https://github.com/dfcreative/color-name/issues" - }, - "homepage": "https://github.com/dfcreative/color-name" -} diff --git a/node_modules/color-name/test.js b/node_modules/color-name/test.js deleted file mode 100644 index 7a08746..0000000 --- a/node_modules/color-name/test.js +++ /dev/null @@ -1,7 +0,0 @@ -'use strict' - -var names = require('./'); -var assert = require('assert'); - -assert.deepEqual(names.red, [255,0,0]); -assert.deepEqual(names.aliceblue, [240,248,255]); diff --git a/node_modules/cosmiconfig/LICENSE b/node_modules/cosmiconfig/LICENSE deleted file mode 100644 index 6d347c0..0000000 --- a/node_modules/cosmiconfig/LICENSE +++ /dev/null @@ -1,22 +0,0 @@ -The MIT License (MIT) - -Copyright (c) 2015 David Clark - -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. - diff --git a/node_modules/cosmiconfig/README.md b/node_modules/cosmiconfig/README.md deleted file mode 100644 index 59b09d0..0000000 --- a/node_modules/cosmiconfig/README.md +++ /dev/null @@ -1,782 +0,0 @@ -# cosmiconfig - -[![codecov](https://codecov.io/gh/cosmiconfig/cosmiconfig/branch/main/graph/badge.svg)](https://codecov.io/gh/cosmiconfig/cosmiconfig) - -Cosmiconfig searches for and loads configuration for your program. - -It features smart defaults based on conventional expectations in the JavaScript ecosystem. -But it's also flexible enough to search wherever you'd like to search, and load whatever you'd like to load. - -By default, Cosmiconfig will check the current directory for the following: - -- a `package.json` property -- a JSON or YAML, extensionless "rc file" -- an "rc file" with the extensions `.json`, `.yaml`, `.yml`, `.js`, `.ts`, `.mjs`, or `.cjs` -- any of the above two inside a `.config` subdirectory -- a `.config.js`, `.config.ts`, `.config.mjs`, or `.config.cjs` file - -For example, if your module's name is "myapp", cosmiconfig will search up the directory tree for configuration in the following places: - -- a `myapp` property in `package.json` -- a `.myapprc` file in JSON or YAML format -- a `.myapprc.json`, `.myapprc.yaml`, `.myapprc.yml`, `.myapprc.js`, `.myapprc.ts`, `.myapprc.mjs`, or `.myapprc.cjs` file -- a `myapprc`, `myapprc.json`, `myapprc.yaml`, `myapprc.yml`, `myapprc.js`, `myapprc.ts`, `myapprc.mjs`, or `myapprc.cjs` file inside a `.config` subdirectory -- a `myapp.config.js`, `myapp.config.ts`, `myapp.config.mjs`, or `myapp.config.cjs` file - -Optionally, you can tell it to search up the directory tree using [search strategies], -checking each of these places in each directory, until it finds some acceptable configuration (or hits the home directory). - -## Table of contents - -- [Installation](#installation) -- [Usage for tooling developers](#usage-for-tooling-developers) -- [Result](#result) -- [Asynchronous API](#asynchronous-api) - - [cosmiconfig()](#cosmiconfig-1) - - [explorer.search()](#explorersearch) - - [explorer.load()](#explorerload) - - [explorer.clearLoadCache()](#explorerclearloadcache) - - [explorer.clearSearchCache()](#explorerclearsearchcache) - - [explorer.clearCaches()](#explorerclearcaches) -- [Synchronous API](#synchronous-api) - - [cosmiconfigSync()](#cosmiconfigsync) - - [explorerSync.search()](#explorersyncsearch) - - [explorerSync.load()](#explorersyncload) - - [explorerSync.clearLoadCache()](#explorersyncclearloadcache) - - [explorerSync.clearSearchCache()](#explorersyncclearsearchcache) - - [explorerSync.clearCaches()](#explorersyncclearcaches) -- [cosmiconfigOptions](#cosmiconfigoptions) - - [searchStrategy](#searchstrategy) - - [searchPlaces](#searchplaces) - - [loaders](#loaders) - - [packageProp](#packageprop) - - [stopDir](#stopdir) - - [cache](#cache) - - [transform](#transform) - - [ignoreEmptySearchPlaces](#ignoreemptysearchplaces) -- [Loading JS modules](#loading-js-modules) -- [Caching](#caching) -- [Differences from rc](#differences-from-rc) -- [Usage for end users](#usage-for-end-users) - - [Imports](#imports) -- [Contributing & Development](#contributing--development) - -## Installation - -``` -npm install cosmiconfig -``` - -Tested in Node 14+. - -## Usage for tooling developers - -*If you are an end user (i.e. a user of a tool that uses cosmiconfig, like `prettier` or `stylelint`), -you can skip down to [the end user section](#usage-for-end-users).* - -Create a Cosmiconfig explorer, then either `search` for or directly `load` a configuration file. - -```js -const { cosmiconfig, cosmiconfigSync } = require('cosmiconfig'); -// ... -const explorer = cosmiconfig(moduleName); - -// Search for a configuration by walking up directories. -// See documentation for search, below. -explorer.search() - .then((result) => { - // result.config is the parsed configuration object. - // result.filepath is the path to the config file that was found. - // result.isEmpty is true if there was nothing to parse in the config file. - }) - .catch((error) => { - // Do something constructive. - }); - -// Load a configuration directly when you know where it should be. -// The result object is the same as for search. -// See documentation for load, below. -explorer.load(pathToConfig).then(/* ... */); - -// You can also search and load synchronously. -const explorerSync = cosmiconfigSync(moduleName); - -const searchedFor = explorerSync.search(); -const loaded = explorerSync.load(pathToConfig); -``` - -## Result - -The result object you get from `search` or `load` has the following properties: - -- **config:** The parsed configuration object. `undefined` if the file is empty. -- **filepath:** The path to the configuration file that was found. -- **isEmpty:** `true` if the configuration file is empty. This property will not be present if the configuration file is not empty. - -## Asynchronous API - -### cosmiconfig() - -```js -const { cosmiconfig } = require('cosmiconfig'); -const explorer = cosmiconfig(moduleName, /* optional */ cosmiconfigOptions) -``` - -Creates a cosmiconfig instance ("explorer") configured according to the arguments, and initializes its caches. - -#### moduleName - -Type: `string`. **Required.** - -Your module name. This is used to create the default [`searchPlaces`] and [`packageProp`]. - -If your [`searchPlaces`] value will include files, as it does by default (e.g. `${moduleName}rc`), your `moduleName` must consist of characters allowed in filenames. That means you should not copy scoped package names, such as `@my-org/my-package`, directly into `moduleName`. - -**[`cosmiconfigOptions`] are documented below.** -You may not need them, and should first read about the functions you'll use. - -### explorer.search() - -```js -explorer.search([searchFrom]).then(result => { /* ... */ }) -``` - -Searches for a configuration file. Returns a Promise that resolves with a [result] or with `null`, if no configuration file is found. - -You can do the same thing synchronously with [`explorerSync.search()`]. - -Let's say your module name is `goldengrahams` so you initialized with `const explorer = cosmiconfig('goldengrahams');`. -Here's how your default [`search()`] will work: - -- Starting from `process.cwd()` (or some other directory defined by the `searchFrom` argument to [`search()`]), look for configuration objects in the following places: - 1. A `goldengrahams` property in a `package.json` file. - 2. A `.goldengrahamsrc` file with JSON or YAML syntax. - 3. A `.goldengrahamsrc.json`, `.goldengrahamsrc.yaml`, `.goldengrahamsrc.yml`, `.goldengrahamsrc.js`, `.goldengrahamsrc.ts`, `.goldengrahamsrc.mjs`, or `.goldengrahamsrc.cjs` file. (To learn more about how JS files are loaded, see ["Loading JS modules"].) - 4. A `goldengrahamsrc`, `goldengrahamsrc.json`, `goldengrahamsrc.yaml`, `goldengrahamsrc.yml`, `goldengrahamsrc.js`, `goldengrahamsrc.ts`, `goldengrahamsrc.mjs`, or `goldengrahamsrc.cjs` file in the `.config` subdirectory. - 5. A `goldengrahams.config.js`, `goldengrahams.config.ts`, `goldengrahams.config.mjs`, or `goldengrahams.config.cjs` file. (To learn more about how JS files are loaded, see ["Loading JS modules"].) -- If none of those searches reveal a configuration object, continue depending on the current search strategy: - - If it's `none` (which is the default if you don't specify a [`stopDir`] option), stop here and return/resolve with `null`. - - If it's `global` (which is the default if you specify a [`stopDir`] option), move up one directory level and try again, - recursing until arriving at the configured [`stopDir`] option, which defaults to the user's home directory. - - After arriving at the [`stopDir`], the global configuration directory (as defined by [`env-paths`] without prefix) is also checked, - looking at the files `config`, `config.json`, `config.yaml`, `config.yml`, `config.js`, `config.ts`, `config.cjs`, and `config.mjs` - in the directory `~/.config/goldengrahams/` (on Linux; see [`env-paths`] documentation for other OSs). - - If it's `project`, check whether a `package.json` file is present in the current directory, and if not, - move up one directory level and try again, recursing until there is one. -- If at any point a parsable configuration is found, the [`search()`] Promise resolves with its [result] \(or, with [`explorerSync.search()`], the [result] is returned). -- If no configuration object is found, the [`search()`] Promise resolves with `null` (or, with [`explorerSync.search()`], `null` is returned). -- If a configuration object is found *but is malformed* (causing a parsing error), the [`search()`] Promise rejects with that error (so you should `.catch()` it). (Or, with [`explorerSync.search()`], the error is thrown.) - -**If you know exactly where your configuration file should be, you can use [`load()`], instead.** - -**The search process is highly customizable.** -Use the cosmiconfig options [`searchPlaces`] and [`loaders`] to precisely define where you want to look for configurations and how you want to load them. - -#### searchFrom - -Type: `string`. -Default: `process.cwd()`. - -A filename. -[`search()`] will start its search here. - -If the value is a directory, that's where the search starts. -If it's a file, the search starts in that file's directory. - -### explorer.load() - -```js -explorer.load(loadPath).then(result => { /* ... */ }) -``` - -Loads a configuration file. Returns a Promise that resolves with a [result] or rejects with an error (if the file does not exist or cannot be loaded). - -Use `load` if you already know where the configuration file is and you just need to load it. - -```js -explorer.load('load/this/file.json'); // Tries to load load/this/file.json. -``` - -If you load a `package.json` file, the result will be derived from whatever property is specified as your [`packageProp`]. -`package.yaml` will work as well if you specify these file names in your [`searchPlaces`]. - -You can do the same thing synchronously with [`explorerSync.load()`]. - -### explorer.clearLoadCache() - -Clears the cache used in [`load()`]. - -### explorer.clearSearchCache() - -Clears the cache used in [`search()`]. - -### explorer.clearCaches() - -Performs both [`clearLoadCache()`] and [`clearSearchCache()`]. - -## Synchronous API - -### cosmiconfigSync() - -```js -const { cosmiconfigSync } = require('cosmiconfig'); -const explorerSync = cosmiconfigSync(moduleName, /* optional */ cosmiconfigOptions) -``` - -Creates a *synchronous* cosmiconfig instance ("explorerSync") configured according to the arguments, and initializes its caches. - -See [`cosmiconfig()`](#cosmiconfig-1). - -### explorerSync.search() - -```js -const result = explorerSync.search([searchFrom]); -``` - -Synchronous version of [`explorer.search()`]. - -Returns a [result] or `null`. - -### explorerSync.load() - -```js -const result = explorerSync.load(loadPath); -``` - -Synchronous version of [`explorer.load()`]. - -Returns a [result]. - -### explorerSync.clearLoadCache() - -Clears the cache used in [`load()`]. - -### explorerSync.clearSearchCache() - -Clears the cache used in [`search()`]. - -### explorerSync.clearCaches() - -Performs both [`clearLoadCache()`] and [`clearSearchCache()`]. - -## cosmiconfigOptions - -Type: `Object`. - -Possible options are documented below. - -### searchStrategy - -Type: `string` -Default: `global` if [`stopDir`] is specified, `none` otherwise. - -The strategy that should be used to determine which directories to check for configuration files. - -- `none`: Only checks in the current working directory. -- `project`: Starts in the current working directory, traversing upwards until a `package.{json,yaml}` file is found. -- `global`: Starts in the current working directory, traversing upwards until the configured [`stopDir`] - (or the current user's home directory if none is given). Then, if no configuration is found, also look in the - operating system's default configuration directory (according to [`env-paths`] without prefix), - where a different set of file names is checked: - -```js -[ - `config`, - `config.json`, - `config.yaml`, - `config.yml`, - `config.js`, - `config.ts`, - `config.cjs`, - `config.mjs` -] -``` - -### searchPlaces - -Type: `Array`. -Default: See below. - -An array of places that [`search()`] will check in each directory as it moves up the directory tree. -Each place is relative to the directory being searched, and the places are checked in the specified order. - -**Default `searchPlaces`:** - -For the [asynchronous API](#asynchronous-api), these are the default `searchPlaces`: - -```js -[ - 'package.json', - `.${moduleName}rc`, - `.${moduleName}rc.json`, - `.${moduleName}rc.yaml`, - `.${moduleName}rc.yml`, - `.${moduleName}rc.js`, - `.${moduleName}rc.ts`, - `.${moduleName}rc.mjs`, - `.${moduleName}rc.cjs`, - `.config/${moduleName}rc`, - `.config/${moduleName}rc.json`, - `.config/${moduleName}rc.yaml`, - `.config/${moduleName}rc.yml`, - `.config/${moduleName}rc.js`, - `.config/${moduleName}rc.ts`, - `.config/${moduleName}rc.mjs`, - `.config/${moduleName}rc.cjs`, - `${moduleName}.config.js`, - `${moduleName}.config.ts`, - `${moduleName}.config.mjs`, - `${moduleName}.config.cjs`, -]; -``` - -For the [synchronous API](#synchronous-api), the only difference is that `.mjs` files are not included. See ["Loading JS modules"] for more information. - -Create your own array to search more, fewer, or altogether different places. - -Every item in `searchPlaces` needs to have a loader in [`loaders`] that corresponds to its extension. -(Common extensions are covered by default loaders.) -Read more about [`loaders`] below. - -`package.json` is a special value: When it is included in `searchPlaces`, Cosmiconfig will always parse it as JSON and load a property within it, not the whole file. -That property is defined with the [`packageProp`] option, and defaults to your module name. - -`package.yaml` (used by pnpm) works the same way. - -Examples, with a module named `porgy`: - -```js -// Disallow extensions on rc files: -['package.json', '.porgyrc', 'porgy.config.js'] -``` - -```js -// Limit the options dramatically: -['package.json', '.porgyrc'] -``` - -```js -// Maybe you want to look for a wide variety of JS flavors: -[ - 'porgy.config.js', - 'porgy.config.mjs', - 'porgy.config.ts', - 'porgy.config.coffee' -] -// ^^ You will need to designate a custom loader to tell -// Cosmiconfig how to handle `.coffee` files. -``` - -```js -// Look within a .config/ subdirectory of every searched directory: -[ - 'package.json', - '.porgyrc', - '.config/.porgyrc', - '.porgyrc.json', - '.config/.porgyrc.json' -] -``` - -### loaders - -Type: `Object`. -Default: See below. - -An object that maps extensions to the loader functions responsible for loading and parsing files with those extensions. - -Cosmiconfig exposes its default loaders on the named export `defaultLoaders` and `defaultLoadersSync`. - -**Default `loaders`:** - -```js -const { defaultLoaders, defaultLoadersSync } = require('cosmiconfig'); - -console.log(Object.entries(defaultLoaders)); -// [ -// [ '.mjs', [Function: loadJs] ], -// [ '.cjs', [Function: loadJs] ], -// [ '.js', [Function: loadJs] ], -// [ '.ts', [Function: loadTs] ], -// [ '.json', [Function: loadJson] ], -// [ '.yaml', [Function: loadYaml] ], -// [ '.yml', [Function: loadYaml] ], -// [ 'noExt', [Function: loadYaml] ] -// ] - -console.log(Object.entries(defaultLoadersSync)); -// [ -// [ '.cjs', [Function: loadJsSync] ], -// [ '.js', [Function: loadJsSync] ], -// [ '.ts', [Function: loadTsSync] ], -// [ '.json', [Function: loadJson] ], -// [ '.yaml', [Function: loadYaml] ], -// [ '.yml', [Function: loadYaml] ], -// [ 'noExt', [Function: loadYaml] ] -// ] -``` - -(YAML is a superset of JSON; which means YAML parsers can parse JSON; which is how extensionless files can be either YAML *or* JSON with only one parser.) - -**If you provide a `loaders` object, your object will be *merged* with the defaults.** -So you can override one or two without having to override them all. - -**Keys in `loaders`** are extensions (starting with a period), or `noExt` to specify the loader for files *without* extensions, like `.myapprc`. - -**Values in `loaders`** are a loader function (described below) whose values are loader functions. - -**The most common use case for custom loaders value is to load extensionless `rc` files as strict JSON**, instead of JSON *or* YAML (the default). -To accomplish that, provide the following `loaders` value: - -```js -{ - noExt: defaultLoaders['.json']; -} -``` - -If you want to load files that are not handled by the loader functions Cosmiconfig exposes, you can write a custom loader function or use one from NPM if it exists. - -**Use cases for custom loader function:** - -- Allow configuration syntaxes that aren't handled by Cosmiconfig's defaults, like JSON5, INI, or XML. -- Parse JS files with Babel before deriving the configuration. - -**Custom loader functions** have the following signature: - -```ts -// Sync -type SyncLoader = (filepath: string, content: string) => Object | null - -// Async -type AsyncLoader = (filepath: string, content: string) => Object | null | Promise -``` - -Cosmiconfig reads the file when it checks whether the file exists, so it will provide you with both the file's path and its content. -Do whatever you need to, and return either a configuration object or `null` (or, for async-only loaders, a Promise that resolves with one of those). -`null` indicates that no real configuration was found and the search should continue. - -A few things to note: - -- If you use a custom loader, be aware of whether it's sync or async: you cannot use async customer loaders with the sync API ([`cosmiconfigSync()`]). -- **Special JS syntax can also be handled by using a `require` hook**, because `defaultLoaders['.js']` just uses `require`. - Whether you use custom loaders or a `require` hook is up to you. - -Examples: - -```js -// Allow JSON5 syntax: -cosmiconfig('foo', { - loaders: { - '.json': json5Loader - } -}); - -// Allow a special configuration syntax of your own creation: -cosmiconfig('foo', { - loaders: { - '.special': specialLoader - } -}); - -// Allow many flavors of JS, using custom loaders: -cosmiconfig('foo', { - loaders: { - '.coffee': coffeeScriptLoader - } -}); - -// Allow many flavors of JS but rely on require hooks: -cosmiconfig('foo', { - loaders: { - '.coffee': defaultLoaders['.js'] - } -}); -``` - -### packageProp - -Type: `string | Array`. -Default: `` `${moduleName}` ``. - -Name of the property in `package.json` (or `package.yaml`) to look for. - -Use a period-delimited string or an array of strings to describe a path to nested properties. - -For example, the value `'configs.myPackage'` or `['configs', 'myPackage']` will get you the `"myPackage"` value in a `package.json` like this: - -```json -{ - "configs": { - "myPackage": {"option": "value"} - } -} -``` - -If nested property names within the path include periods, you need to use an array of strings. For example, the value `['configs', 'foo.bar', 'baz']` will get you the `"baz"` value in a `package.json` like this: - -```json -{ - "configs": { - "foo.bar": { - "baz": {"option": "value"} - } - } -} -``` - -If a string includes period but corresponds to a top-level property name, it will not be interpreted as a period-delimited path. For example, the value `'one.two'` will get you the `"three"` value in a `package.json` like this: - -```json -{ - "one.two": "three", - "one": { - "two": "four" - } -} -``` - -### stopDir - -Type: `string`. -Default: Absolute path to your home directory. - -Directory where the search will stop. - -### cache - -Type: `boolean`. -Default: `true`. - -If `false`, no caches will be used. -Read more about ["Caching"](#caching) below. - -### transform - -Type: `(Result) => Promise | Result`. - -A function that transforms the parsed configuration. Receives the [result]. - -If using [`search()`] or [`load()`] \(which are async), the transform function can return the transformed result or return a Promise that resolves with the transformed result. -If using `cosmiconfigSync`, [`search()`] or [`load()`], the function must be synchronous and return the transformed result. - -The reason you might use this option — instead of simply applying your transform function some other way — is that *the transformed result will be cached*. If your transformation involves additional filesystem I/O or other potentially slow processing, you can use this option to avoid repeating those steps every time a given configuration is searched or loaded. - -### ignoreEmptySearchPlaces - -Type: `boolean`. -Default: `true`. - -By default, if [`search()`] encounters an empty file (containing nothing but whitespace) in one of the [`searchPlaces`], it will ignore the empty file and move on. -If you'd like to load empty configuration files, instead, set this option to `false`. - -Why might you want to load empty configuration files? -If you want to throw an error, or if an empty configuration file means something to your program. - -## Loading JS modules - -Your end users can provide JS configuration files as ECMAScript modules (ESM) under the following conditions: - -- You (the cosmiconfig user) use cosmiconfig's [asynchronous API](#asynchronous-api). -- Your end user runs a version of Node that supports ESM ([>=12.17.0](https://nodejs.org/en/blog/release/v12.17.0/), or earlier with the `--experimental-modules` flag). -- Your end user provides an `.mjs` configuration file, or a `.js` file whose nearest parent `package.json` file contains `"type": "module"`. (See [Node's method for determining a file's module system](https://nodejs.org/api/packages.html#packages_determining_module_system).) - -With cosmiconfig's [asynchronous API](#asynchronous-api), the default [`searchPlaces`] include `.js`, `.ts`, `.mjs`, and `.cjs` files. Cosmiconfig loads all these file types with the [dynamic `import` function](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/import#dynamic_imports). - -With the [synchronous API](#synchronous-api), JS configuration files are always treated as CommonJS, and `.mjs` files are ignored, because there is no synchronous API for the dynamic `import` function. - -## Caching - -As of v2, cosmiconfig uses caching to reduce the need for repetitious reading of the filesystem or expensive transforms. Every new cosmiconfig instance (created with `cosmiconfig()`) has its own caches. - -To avoid or work around caching, you can do the following: - -- Set the `cosmiconfig` option [`cache`] to `false`. -- Use the cache-clearing methods [`clearLoadCache()`], [`clearSearchCache()`], and [`clearCaches()`]. -- Create separate instances of cosmiconfig (separate "explorers"). - -## Differences from [rc](https://github.com/dominictarr/rc) - -[rc](https://github.com/dominictarr/rc) serves its focused purpose well. cosmiconfig differs in a few key ways — making it more useful for some projects, less useful for others: - -- Looks for configuration in some different places: in a `package.json` property, an rc file, a `.config.js` file, and rc files with extensions. -- Built-in support for JSON, YAML, and CommonJS formats. -- Stops at the first configuration found, instead of finding all that can be found up the directory tree and merging them automatically. -- Options. -- Asynchronous by default (though can be run synchronously). - -## Usage for end users - -When configuring a tool, you can use multiple file formats and put these in multiple places. - -Usually, a tool would mention this in its own README file, -but by default, these are the following places, where `{NAME}` represents the name of the tool: - -``` -package.json -.{NAME}rc -.{NAME}rc.json -.{NAME}rc.yaml -.{NAME}rc.yml -.{NAME}rc.js -.{NAME}rc.ts -.{NAME}rc.cjs -.config/{NAME}rc -.config/{NAME}rc.json -.config/{NAME}rc.yaml -.config/{NAME}rc.yml -.config/{NAME}rc.js -.config/{NAME}rc.ts -.config/{NAME}rc.mjs -.config/{NAME}rc.cjs -{NAME}.config.js -{NAME}.config.ts -{NAME}.config.mjs -{NAME}.config.cjs -``` - -The contents of these files are defined by the tool. -For example, you can configure prettier to enforce semicolons at the end of the line -using a file named `.config/prettierrc.yml`: - -```yaml -semi: true -``` - -Additionally, you have the option to put a property named after the tool in your `package.json` file, -with the contents of that property being the same as the file contents. To use the same example as above: - -```json -{ - "name": "your-project", - "dependencies": {}, - "prettier": { - "semi": true - } -} -``` - -This has the advantage that you can put the configuration of all tools -(at least the ones that use cosmiconfig) in one file. - -You can also add a `cosmiconfig` key within your `package.json` file or create one of the following files -to configure `cosmiconfig` itself: - -``` -.config/config.json -.config/config.yaml -.config/config.yml -.config/config.js -.config/config.ts -.config/config.cjs -``` - -The following properties are currently actively supported in these places: - -```yaml -cosmiconfig: - # adds places where configuration files are being searched - searchPlaces: - - .config/{name}.yml - # to enforce a custom naming convention and format, don't merge the above with the tool-defined search places - # (`true` is the default setting) - mergeSearchPlaces: false -``` - -> **Note:** technically, you can overwrite all options described in [cosmiconfigOptions](#cosmiconfigoptions) here, -> but everything not listed above should be used at your own risk, as it has not been tested explicitly. -> The only exceptions to this are the `loaders` property, which is explicitly not supported at this time, -> and the `searchStrategy` property, which is intentionally disallowed. - -You can also add more root properties outside the `cosmiconfig` property -to configure your tools, entirely eliminating the need to look for additional configuration files: - -```yaml -cosmiconfig: - searchPlaces: [] - -prettier: - semi: true -``` - -### Imports - -Wherever you put your configuration (the package.json file, a root config file or a package-specific config file), -you can use the special `$import` key to import another file as a base. - -For example, you can import from an npm package (in this example, `@foocorp/config`). - -`.prettierrc.base.yml` in said npm package could define some company-wide defaults: - -```yaml -printWidth: 120 -semi: true -tabWidth: 2 -``` - -And then, the `.prettierrc.yml` file in the project itself would just reference that file, -optionally overriding the defaults with project-specific settings: - -```yaml -$import: node_modules/@foocorp/config/.prettierrc.base.yml -# we want more space! -printWidth: 200 -``` - -It is possible to import multiple base files by specifying an array of paths, -which will be processed in declaration order; -that means that the last entry will win if there are conflicting properties. - -It is also possible to import file formats other than the importing format -as long as they are supported by the loaders specified by the developer of the tool you're configuring. - -```yaml -$import: [first.yml, second.json, third.config.js] -``` - -## Contributing & Development - -Please note that this project is released with a [Contributor Code of Conduct](CODE_OF_CONDUCT.md). By participating in this project you agree to abide by its terms. - -And please do participate! - -[result]: #result - -[`load()`]: #explorerload - -[`search()`]: #explorersearch - -[`clearloadcache()`]: #explorerclearloadcache - -[`clearsearchcache()`]: #explorerclearsearchcache - -[`cosmiconfig()`]: #cosmiconfig - -[`cosmiconfigSync()`]: #cosmiconfigsync - -[`clearcaches()`]: #explorerclearcaches - -[`packageprop`]: #packageprop - -[`cache`]: #cache - -[`stopdir`]: #stopdir - -[`searchplaces`]: #searchplaces - -[`loaders`]: #loaders - -[`cosmiconfigoptions`]: #cosmiconfigoptions - -[`explorerSync.search()`]: #explorersyncsearch - -[`explorerSync.load()`]: #explorersyncload - -[`explorer.search()`]: #explorersearch - -[`explorer.load()`]: #explorerload - -["Loading JS modules"]: #loading-js-modules - -[`env-paths`]: https://github.com/sindresorhus/env-paths - -[search strategies]: #searchstrategy diff --git a/node_modules/cosmiconfig/dist/Explorer.d.ts b/node_modules/cosmiconfig/dist/Explorer.d.ts deleted file mode 100644 index 38da566..0000000 --- a/node_modules/cosmiconfig/dist/Explorer.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -export {}; -//# sourceMappingURL=Explorer.d.ts.map \ No newline at end of file diff --git a/node_modules/cosmiconfig/dist/Explorer.d.ts.map b/node_modules/cosmiconfig/dist/Explorer.d.ts.map deleted file mode 100644 index adaf16a..0000000 --- a/node_modules/cosmiconfig/dist/Explorer.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"Explorer.d.ts","sourceRoot":"","sources":["../src/Explorer.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/node_modules/cosmiconfig/dist/Explorer.js b/node_modules/cosmiconfig/dist/Explorer.js deleted file mode 100644 index fa5fb98..0000000 --- a/node_modules/cosmiconfig/dist/Explorer.js +++ /dev/null @@ -1,170 +0,0 @@ -"use strict"; -var __importDefault = (this && this.__importDefault) || function (mod) { - return (mod && mod.__esModule) ? mod : { "default": mod }; -}; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.Explorer = void 0; -const promises_1 = __importDefault(require("fs/promises")); -const path_1 = __importDefault(require("path")); -const defaults_1 = require("./defaults"); -const ExplorerBase_js_1 = require("./ExplorerBase.js"); -const merge_1 = require("./merge"); -const util_js_1 = require("./util.js"); -/** - * @internal - */ -class Explorer extends ExplorerBase_js_1.ExplorerBase { - async load(filepath) { - filepath = path_1.default.resolve(filepath); - const load = async () => { - return await this.config.transform(await this.#readConfiguration(filepath)); - }; - if (this.loadCache) { - return await (0, util_js_1.emplace)(this.loadCache, filepath, load); - } - return await load(); - } - async search(from = '') { - if (this.config.metaConfigFilePath) { - this.loadingMetaConfig = true; - const config = await this.load(this.config.metaConfigFilePath); - this.loadingMetaConfig = false; - if (config && !config.isEmpty) { - return config; - } - } - from = path_1.default.resolve(from); - const dirs = this.#getDirs(from); - const firstDirIter = await dirs.next(); - /* istanbul ignore if -- @preserve */ - if (firstDirIter.done) { - // this should never happen - throw new Error(`Could not find any folders to iterate through (start from ${from})`); - } - let currentDir = firstDirIter.value; - const search = async () => { - /* istanbul ignore if -- @preserve */ - if (await (0, util_js_1.isDirectory)(currentDir.path)) { - for (const filepath of this.getSearchPlacesForDir(currentDir, defaults_1.globalConfigSearchPlaces)) { - try { - const result = await this.#readConfiguration(filepath); - if (result !== null && - !(result.isEmpty && this.config.ignoreEmptySearchPlaces)) { - return await this.config.transform(result); - } - } - catch (error) { - if (error.code === 'ENOENT' || - error.code === 'EISDIR' || - error.code === 'ENOTDIR' || - error.code === 'EACCES') { - continue; - } - throw error; - } - } - } - const nextDirIter = await dirs.next(); - if (!nextDirIter.done) { - currentDir = nextDirIter.value; - if (this.searchCache) { - return await (0, util_js_1.emplace)(this.searchCache, currentDir.path, search); - } - return await search(); - } - return await this.config.transform(null); - }; - if (this.searchCache) { - return await (0, util_js_1.emplace)(this.searchCache, from, search); - } - return await search(); - } - async #readConfiguration(filepath, importStack = []) { - const contents = await promises_1.default.readFile(filepath, { encoding: 'utf-8' }); - return this.toCosmiconfigResult(filepath, await this.#loadConfigFileWithImports(filepath, contents, importStack)); - } - async #loadConfigFileWithImports(filepath, contents, importStack) { - const loadedContent = await this.#loadConfiguration(filepath, contents); - if (!loadedContent || !(0, merge_1.hasOwn)(loadedContent, '$import')) { - return loadedContent; - } - const fileDirectory = path_1.default.dirname(filepath); - const { $import: imports, ...ownContent } = loadedContent; - const importPaths = Array.isArray(imports) ? imports : [imports]; - const newImportStack = [...importStack, filepath]; - this.validateImports(filepath, importPaths, newImportStack); - const importedConfigs = await Promise.all(importPaths.map(async (importPath) => { - const fullPath = path_1.default.resolve(fileDirectory, importPath); - const result = await this.#readConfiguration(fullPath, newImportStack); - return result?.config; - })); - return (0, merge_1.mergeAll)([...importedConfigs, ownContent], { - mergeArrays: this.config.mergeImportArrays, - }); - } - async #loadConfiguration(filepath, contents) { - if (contents.trim() === '') { - return; - } - const extension = path_1.default.extname(filepath); - const loader = this.config.loaders[extension || 'noExt'] ?? - this.config.loaders['default']; - if (!loader) { - throw new Error(`No loader specified for ${(0, ExplorerBase_js_1.getExtensionDescription)(extension)}`); - } - try { - const loadedContents = await loader(filepath, contents); - if (path_1.default.basename(filepath, extension) !== 'package') { - return loadedContents; - } - return ((0, util_js_1.getPropertyByPath)(loadedContents, this.config.packageProp ?? this.config.moduleName) ?? null); - } - catch (error) { - error.filepath = filepath; - throw error; - } - } - async #fileExists(path) { - try { - await promises_1.default.stat(path); - return true; - } - catch (e) { - return false; - } - } - async *#getDirs(startDir) { - switch (this.config.searchStrategy) { - case 'none': { - // only check in the passed directory (defaults to working directory) - yield { path: startDir, isGlobalConfig: false }; - return; - } - case 'project': { - let currentDir = startDir; - while (true) { - yield { path: currentDir, isGlobalConfig: false }; - for (const ext of ['json', 'yaml']) { - const packageFile = path_1.default.join(currentDir, `package.${ext}`); - if (await this.#fileExists(packageFile)) { - break; - } - } - const parentDir = path_1.default.dirname(currentDir); - /* istanbul ignore if -- @preserve */ - if (parentDir === currentDir) { - // we're probably at the root of the directory structure - break; - } - currentDir = parentDir; - } - return; - } - case 'global': { - yield* this.getGlobalDirs(startDir); - } - } - } -} -exports.Explorer = Explorer; -//# sourceMappingURL=Explorer.js.map \ No newline at end of file diff --git a/node_modules/cosmiconfig/dist/Explorer.js.map b/node_modules/cosmiconfig/dist/Explorer.js.map deleted file mode 100644 index c316dcc..0000000 --- a/node_modules/cosmiconfig/dist/Explorer.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"Explorer.js","sourceRoot":"","sources":["../src/Explorer.ts"],"names":[],"mappings":";;;;;;AAAA,2DAA6B;AAC7B,gDAAwB;AACxB,yCAAs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AAC,CAAC,IAAI,CAAC,aAAa,CAAC,QAAQ,CAAC,CAAC;aACrC;SACF;IACH,CAAC;CACF;AA1MD,4BA0MC"} \ No newline at end of file diff --git a/node_modules/cosmiconfig/dist/ExplorerBase.d.ts b/node_modules/cosmiconfig/dist/ExplorerBase.d.ts deleted file mode 100644 index 6a73371..0000000 --- a/node_modules/cosmiconfig/dist/ExplorerBase.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -export {}; -//# sourceMappingURL=ExplorerBase.d.ts.map \ No newline at end of file diff --git a/node_modules/cosmiconfig/dist/ExplorerBase.d.ts.map b/node_modules/cosmiconfig/dist/ExplorerBase.d.ts.map deleted file mode 100644 index e699c14..0000000 --- a/node_modules/cosmiconfig/dist/ExplorerBase.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"ExplorerBase.d.ts","sourceRoot":"","sources":["../src/ExplorerBase.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/node_modules/cosmiconfig/dist/ExplorerBase.js b/node_modules/cosmiconfig/dist/ExplorerBase.js deleted file mode 100644 index 3a45b38..0000000 --- a/node_modules/cosmiconfig/dist/ExplorerBase.js +++ /dev/null @@ -1,126 +0,0 @@ -"use strict"; -var __importDefault = (this && this.__importDefault) || function (mod) { - return (mod && mod.__esModule) ? mod : { "default": mod }; -}; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.getExtensionDescription = exports.ExplorerBase = void 0; -const env_paths_1 = __importDefault(require("env-paths")); -const os_1 = __importDefault(require("os")); -const path_1 = __importDefault(require("path")); -const util_js_1 = require("./util.js"); -/** - * @internal - */ -class ExplorerBase { - #loadingMetaConfig = false; - config; - loadCache; - searchCache; - constructor(options) { - this.config = options; - if (options.cache) { - this.loadCache = new Map(); - this.searchCache = new Map(); - } - this.#validateConfig(); - } - set loadingMetaConfig(value) { - this.#loadingMetaConfig = value; - } - #validateConfig() { - const config = this.config; - for (const place of config.searchPlaces) { - const extension = path_1.default.extname(place); - const loader = this.config.loaders[extension || 'noExt'] ?? - this.config.loaders['default']; - if (loader === undefined) { - throw new Error(`Missing loader for ${getExtensionDescription(place)}.`); - } - if (typeof loader !== 'function') { - throw new Error(`Loader for ${getExtensionDescription(place)} is not a function: Received ${typeof loader}.`); - } - } - } - clearLoadCache() { - if (this.loadCache) { - this.loadCache.clear(); - } - } - clearSearchCache() { - if (this.searchCache) { - this.searchCache.clear(); - } - } - clearCaches() { - this.clearLoadCache(); - this.clearSearchCache(); - } - toCosmiconfigResult(filepath, config) { - if (config === null) { - return null; - } - if (config === undefined) { - return { filepath, config: undefined, isEmpty: true }; - } - if (this.config.applyPackagePropertyPathToConfiguration || - this.#loadingMetaConfig) { - const packageProp = this.config.packageProp ?? this.config.moduleName; - config = (0, util_js_1.getPropertyByPath)(config, packageProp); - } - if (config === undefined) { - return { filepath, config: undefined, isEmpty: true }; - } - return { config, filepath }; - } - validateImports(containingFilePath, imports, importStack) { - const fileDirectory = path_1.default.dirname(containingFilePath); - for (const importPath of imports) { - if (typeof importPath !== 'string') { - throw new Error(`${containingFilePath}: Key $import must contain a string or a list of strings`); - } - const fullPath = path_1.default.resolve(fileDirectory, importPath); - if (fullPath === containingFilePath) { - throw new Error(`Self-import detected in ${containingFilePath}`); - } - const idx = importStack.indexOf(fullPath); - if (idx !== -1) { - throw new Error(`Circular import detected: -${[...importStack, fullPath] - .map((path, i) => `${i + 1}. ${path}`) - .join('\n')} (same as ${idx + 1}.)`); - } - } - } - getSearchPlacesForDir(dir, globalConfigPlaces) { - return (dir.isGlobalConfig ? globalConfigPlaces : this.config.searchPlaces).map((place) => path_1.default.join(dir.path, place)); - } - getGlobalConfigDir() { - return (0, env_paths_1.default)(this.config.moduleName, { suffix: '' }).config; - } - *getGlobalDirs(startDir) { - const stopDir = path_1.default.resolve(this.config.stopDir ?? os_1.default.homedir()); - yield { path: startDir, isGlobalConfig: false }; - let currentDir = startDir; - while (currentDir !== stopDir) { - const parentDir = path_1.default.dirname(currentDir); - /* istanbul ignore if -- @preserve */ - if (parentDir === currentDir) { - // we're probably at the root of the directory structure - break; - } - yield { path: parentDir, isGlobalConfig: false }; - currentDir = parentDir; - } - yield { path: this.getGlobalConfigDir(), isGlobalConfig: true }; - } -} -exports.ExplorerBase = ExplorerBase; -/** - * @internal - */ -function getExtensionDescription(extension) { - /* istanbul ignore next -- @preserve */ - return extension ? `extension "${extension}"` : 'files without extensions'; -} -exports.getExtensionDescription = getExtensionDescription; -//# sourceMappingURL=ExplorerBase.js.map \ No newline at end of file diff --git a/node_modules/cosmiconfig/dist/ExplorerBase.js.map b/node_modules/cosmiconfig/dist/ExplorerBase.js.map deleted file mode 100644 index d16e507..0000000 --- a/node_modules/cosmiconfig/dist/ExplorerBase.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"ExplorerBase.js","sourceRoot":"","sources":["../src/ExplorerBase.ts"],"names":[],"mappings":";;;;;;AAAA,0DAAiC;AACjC,4CAAoB;AACpB,gDAAwB;AAUxB,uCAA8C;AAE9C;;GAEG;AACH,MAAsB,YAAY;IAGhC,kBAAkB,GAAG,KAAK,CAAC;IAER,MAAM,CAAI;IACV,SAAS,CAEb;IACI,WAAW,CAEf;IAEf,YAAmB,OAAoB;QACrC,IAAI,CAAC,MAAM,GAAG,OAAO,CAAC;QACtB,IAAI,OAAO,CAAC,KAAK,EAAE;YACjB,IAAI,CAAC,SAAS,GAAG,IAAI,GAAG,EAAE,CAAC;YAC3B,IAAI,CAAC,WAAW,GAAG,IAAI,GAAG,EAAE,CAAC;SAC9B;QACD,IAAI,CAAC,eAAe,EAAE,CAAC;IACzB,CAAC;IAED,IAAc,iBAAiB,CAAC,KAAc;QAC5C,IAAI,CAAC,kBAAkB,GAAG,KAAK,CAAC;IAClC,CAAC;IAED,eAAe;QACb,MAAM,MAAM,GAAG,IAAI,CAAC,MAAM,CAAC;QAE3B,KAAK,MAAM,KAAK,IAAI,MAAM,CAAC,YAAY,EAAE;YACvC,MAAM,SAAS,GAAG,cAAI,CAAC,OAAO,C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index 3194cb1..0000000 --- a/node_modules/cosmiconfig/dist/ExplorerSync.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -export {}; -//# sourceMappingURL=ExplorerSync.d.ts.map \ No newline at end of file diff --git a/node_modules/cosmiconfig/dist/ExplorerSync.d.ts.map b/node_modules/cosmiconfig/dist/ExplorerSync.d.ts.map deleted file mode 100644 index 8cf6a9c..0000000 --- a/node_modules/cosmiconfig/dist/ExplorerSync.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"ExplorerSync.d.ts","sourceRoot":"","sources":["../src/ExplorerSync.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/node_modules/cosmiconfig/dist/ExplorerSync.js b/node_modules/cosmiconfig/dist/ExplorerSync.js deleted file mode 100644 index 2be8aee..0000000 --- a/node_modules/cosmiconfig/dist/ExplorerSync.js +++ /dev/null @@ -1,184 +0,0 @@ -"use strict"; -var __importDefault = (this && this.__importDefault) || function (mod) { - return (mod && mod.__esModule) ? mod : { "default": mod }; -}; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.ExplorerSync = void 0; -const fs_1 = __importDefault(require("fs")); -const path_1 = __importDefault(require("path")); -const defaults_1 = require("./defaults"); -const ExplorerBase_js_1 = require("./ExplorerBase.js"); -const merge_1 = require("./merge"); -const util_js_1 = require("./util.js"); -/** - * @internal - */ -class ExplorerSync extends ExplorerBase_js_1.ExplorerBase { - load(filepath) { - filepath = path_1.default.resolve(filepath); - const load = () => { - return this.config.transform(this.#readConfiguration(filepath)); - }; - if (this.loadCache) { - return (0, util_js_1.emplace)(this.loadCache, filepath, load); - } - return load(); - } - search(from = '') { - if (this.config.metaConfigFilePath) { - this.loadingMetaConfig = true; - const config = this.load(this.config.metaConfigFilePath); - this.loadingMetaConfig = false; - if (config && !config.isEmpty) { - return config; - } - } - from = path_1.default.resolve(from); - const dirs = this.#getDirs(from); - const firstDirIter = dirs.next(); - /* istanbul ignore if -- @preserve */ - if (firstDirIter.done) { - // this should never happen - throw new Error(`Could not find any folders to iterate through (start from ${from})`); - } - let currentDir = firstDirIter.value; - const search = () => { - /* istanbul ignore if -- @preserve */ - if ((0, util_js_1.isDirectorySync)(currentDir.path)) { - for (const filepath of this.getSearchPlacesForDir(currentDir, defaults_1.globalConfigSearchPlacesSync)) { - try { - const result = this.#readConfiguration(filepath); - if (result !== null && - !(result.isEmpty && this.config.ignoreEmptySearchPlaces)) { - return this.config.transform(result); - } - } - catch (error) { - if (error.code === 'ENOENT' || - error.code === 'EISDIR' || - error.code === 'ENOTDIR' || - error.code === 'EACCES') { - continue; - } - throw error; - } - } - } - const nextDirIter = dirs.next(); - if (!nextDirIter.done) { - currentDir = nextDirIter.value; - if (this.searchCache) { - return (0, util_js_1.emplace)(this.searchCache, currentDir.path, search); - } - return search(); - } - return this.config.transform(null); - }; - if (this.searchCache) { - return (0, util_js_1.emplace)(this.searchCache, from, search); - } - return search(); - } - #readConfiguration(filepath, importStack = []) { - const contents = fs_1.default.readFileSync(filepath, 'utf8'); - return this.toCosmiconfigResult(filepath, this.#loadConfigFileWithImports(filepath, contents, importStack)); - } - #loadConfigFileWithImports(filepath, contents, importStack) { - const loadedContent = this.#loadConfiguration(filepath, contents); - if (!loadedContent || !(0, merge_1.hasOwn)(loadedContent, '$import')) { - return loadedContent; - } - const fileDirectory = path_1.default.dirname(filepath); - const { $import: imports, ...ownContent } = loadedContent; - const importPaths = Array.isArray(imports) ? imports : [imports]; - const newImportStack = [...importStack, filepath]; - this.validateImports(filepath, importPaths, newImportStack); - const importedConfigs = importPaths.map((importPath) => { - const fullPath = path_1.default.resolve(fileDirectory, importPath); - const result = this.#readConfiguration(fullPath, newImportStack); - return result?.config; - }); - return (0, merge_1.mergeAll)([...importedConfigs, ownContent], { - mergeArrays: this.config.mergeImportArrays, - }); - } - #loadConfiguration(filepath, contents) { - if (contents.trim() === '') { - return; - } - const extension = path_1.default.extname(filepath); - const loader = this.config.loaders[extension || 'noExt'] ?? - this.config.loaders['default']; - if (!loader) { - throw new Error(`No loader specified for ${(0, ExplorerBase_js_1.getExtensionDescription)(extension)}`); - } - try { - const loadedContents = loader(filepath, contents); - if (path_1.default.basename(filepath, extension) !== 'package') { - return loadedContents; - } - return ((0, util_js_1.getPropertyByPath)(loadedContents, this.config.packageProp ?? this.config.moduleName) ?? null); - } - catch (error) { - error.filepath = filepath; - throw error; - } - } - #fileExists(path) { - try { - fs_1.default.statSync(path); - return true; - } - catch (e) { - return false; - } - } - *#getDirs(startDir) { - switch (this.config.searchStrategy) { - case 'none': { - // there is no next dir - yield { path: startDir, isGlobalConfig: false }; - return; - } - case 'project': { - let currentDir = startDir; - while (true) { - yield { path: currentDir, isGlobalConfig: false }; - for (const ext of ['json', 'yaml']) { - const packageFile = path_1.default.join(currentDir, `package.${ext}`); - if (this.#fileExists(packageFile)) { - break; - } - } - const parentDir = path_1.default.dirname(currentDir); - /* istanbul ignore if -- @preserve */ - if (parentDir === currentDir) { - // we're probably at the root of the directory structure - break; - } - currentDir = parentDir; - } - return; - } - case 'global': { - yield* this.getGlobalDirs(startDir); - } - } - } - /** - * @deprecated Use {@link ExplorerSync.prototype.load}. - */ - /* istanbul ignore next */ - loadSync(filepath) { - return this.load(filepath); - } - /** - * @deprecated Use {@link ExplorerSync.prototype.search}. - */ - /* istanbul ignore next */ - searchSync(from = '') { - return this.search(from); - } -} -exports.ExplorerSync = ExplorerSync; -//# sourceMappingURL=ExplorerSync.js.map \ No newline at end of file diff --git a/node_modules/cosmiconfig/dist/ExplorerSync.js.map b/node_modules/cosmiconfig/dist/ExplorerSync.js.map deleted file mode 100644 index 3c6ee53..0000000 --- a/node_modules/cosmiconfig/dist/ExplorerSync.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"ExplorerSync.js","sourceRoot":"","sources":["../src/ExplorerSync.ts"],"names":[],"mappings":";;;;;;AAAA,4CAAoB;AACpB,gDAAwB;AACxB,yCAA0D;AAC1D,uDAA0E;AAC1E,mCAA2C;AAO3C,uCAAwE;AAExE;;G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git a/node_modules/cosmiconfig/dist/cacheWrapper.d.ts b/node_modules/cosmiconfig/dist/cacheWrapper.d.ts deleted file mode 100644 index adb569e..0000000 --- a/node_modules/cosmiconfig/dist/cacheWrapper.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -import { Cache, CosmiconfigResult } from './types'; -declare function cacheWrapper(cache: Cache, key: string, fn: () => Promise): Promise; -declare function cacheWrapperSync(cache: Cache, key: string, fn: () => CosmiconfigResult): CosmiconfigResult; -export { cacheWrapper, cacheWrapperSync }; -//# sourceMappingURL=cacheWrapper.d.ts.map \ No newline at end of file diff --git a/node_modules/cosmiconfig/dist/cacheWrapper.d.ts.map b/node_modules/cosmiconfig/dist/cacheWrapper.d.ts.map deleted file mode 100644 index dc7e73f..0000000 --- a/node_modules/cosmiconfig/dist/cacheWrapper.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"cacheWrapper.d.ts","sourceRoot":"","sources":["../src/cacheWrapper.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAEnD,iBAAe,YAAY,CACzB,KAAK,EAAE,KAAK,EACZ,GAAG,EAAE,MAAM,EACX,EAAE,EAAE,MAAM,OAAO,CAAC,iBAAiB,CAAC,GACnC,OAAO,CAAC,iBAAiB,CAAC,CAS5B;AAED,iBAAS,gBAAgB,CACvB,KAAK,EAAE,KAAK,EACZ,GAAG,EAAE,MAAM,EACX,EAAE,EAAE,MAAM,iBAAiB,GAC1B,iBAAiB,CASnB;AAED,OAAO,EAAE,YAAY,EAAE,gBAAgB,EAAE,CAAC"} \ No newline at end of file diff --git a/node_modules/cosmiconfig/dist/cacheWrapper.js b/node_modules/cosmiconfig/dist/cacheWrapper.js deleted file mode 100644 index 712db92..0000000 --- a/node_modules/cosmiconfig/dist/cacheWrapper.js +++ /dev/null @@ -1,32 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.cacheWrapper = cacheWrapper; -exports.cacheWrapperSync = cacheWrapperSync; - -async function cacheWrapper(cache, key, fn) { - const cached = cache.get(key); - - if (cached !== undefined) { - return cached; - } - - const result = await fn(); - cache.set(key, result); - return result; -} - -function cacheWrapperSync(cache, key, fn) { - const cached = cache.get(key); - - if (cached !== undefined) { - return cached; - } - - const result = fn(); - cache.set(key, result); - return result; -} -//# sourceMappingURL=cacheWrapper.js.map \ No newline at end of file diff --git a/node_modules/cosmiconfig/dist/cacheWrapper.js.map b/node_modules/cosmiconfig/dist/cacheWrapper.js.map deleted file mode 100644 index d0b31b6..0000000 --- a/node_modules/cosmiconfig/dist/cacheWrapper.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"cacheWrapper.js","names":["cacheWrapper","cache","key","fn","cached","get","undefined","result","set","cacheWrapperSync"],"sources":["../src/cacheWrapper.ts"],"sourcesContent":["import { Cache, CosmiconfigResult } from './types';\n\nasync function cacheWrapper(\n cache: Cache,\n key: string,\n fn: () => Promise,\n): Promise {\n const cached = cache.get(key);\n if (cached !== undefined) {\n return cached;\n }\n\n const result = await fn();\n cache.set(key, result);\n return result;\n}\n\nfunction cacheWrapperSync(\n cache: Cache,\n key: string,\n fn: () => CosmiconfigResult,\n): CosmiconfigResult {\n const cached = cache.get(key);\n if (cached !== undefined) {\n return cached;\n }\n\n const result = fn();\n cache.set(key, result);\n return result;\n}\n\nexport { cacheWrapper, cacheWrapperSync };\n"],"mappings":";;;;;;;;AAEA,eAAeA,YAAf,CACEC,KADF,EAEEC,GAFF,EAGEC,EAHF,EAI8B;EAC5B,MAAMC,MAAM,GAAGH,KAAK,CAACI,GAAN,CAAUH,GAAV,CAAf;;EACA,IAAIE,MAAM,KAAKE,SAAf,EAA0B;IACxB,OAAOF,MAAP;EACD;;EAED,MAAMG,MAAM,GAAG,MAAMJ,EAAE,EAAvB;EACAF,KAAK,CAACO,GAAN,CAAUN,GAAV,EAAeK,MAAf;EACA,OAAOA,MAAP;AACD;;AAED,SAASE,gBAAT,CACER,KADF,EAEEC,GAFF,EAGEC,EAHF,EAIqB;EACnB,MAAMC,MAAM,GAAGH,KAAK,CAACI,GAAN,CAAUH,GAAV,CAAf;;EACA,IAAIE,MAAM,KAAKE,SAAf,EAA0B;IACxB,OAAOF,MAAP;EACD;;EAED,MAAMG,MAAM,GAAGJ,EAAE,EAAjB;EACAF,KAAK,CAACO,GAAN,CAAUN,GAAV,EAAeK,MAAf;EACA,OAAOA,MAAP;AACD"} \ No newline at end of file diff --git a/node_modules/cosmiconfig/dist/canUseDynamicImport.d.ts b/node_modules/cosmiconfig/dist/canUseDynamicImport.d.ts deleted file mode 100644 index a06e2bc..0000000 --- a/node_modules/cosmiconfig/dist/canUseDynamicImport.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -declare function canUseDynamicImport(): boolean; -export { canUseDynamicImport }; -//# sourceMappingURL=canUseDynamicImport.d.ts.map \ No newline at end of file diff --git a/node_modules/cosmiconfig/dist/canUseDynamicImport.d.ts.map b/node_modules/cosmiconfig/dist/canUseDynamicImport.d.ts.map deleted file mode 100644 index 4797793..0000000 --- a/node_modules/cosmiconfig/dist/canUseDynamicImport.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"canUseDynamicImport.d.ts","sourceRoot":"","sources":["../src/canUseDynamicImport.ts"],"names":[],"mappings":"AAEA,iBAAS,mBAAmB,IAAI,OAAO,CAUtC;AAED,OAAO,EAAE,mBAAmB,EAAE,CAAC"} \ No newline at end of file diff --git a/node_modules/cosmiconfig/dist/canUseDynamicImport.js b/node_modules/cosmiconfig/dist/canUseDynamicImport.js deleted file mode 100644 index 31a44e9..0000000 --- a/node_modules/cosmiconfig/dist/canUseDynamicImport.js +++ /dev/null @@ -1,23 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.canUseDynamicImport = canUseDynamicImport; - -/* istanbul ignore file -- @preserve */ -let result; - -function canUseDynamicImport() { - if (result === undefined) { - try { - new Function('id', 'return import(id);'); - result = true; - } catch (e) { - result = false; - } - } - - return result; -} -//# sourceMappingURL=canUseDynamicImport.js.map \ No newline at end of file diff --git a/node_modules/cosmiconfig/dist/canUseDynamicImport.js.map b/node_modules/cosmiconfig/dist/canUseDynamicImport.js.map deleted file mode 100644 index f298dba..0000000 --- a/node_modules/cosmiconfig/dist/canUseDynamicImport.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"canUseDynamicImport.js","names":["result","canUseDynamicImport","undefined","Function","e"],"sources":["../src/canUseDynamicImport.ts"],"sourcesContent":["/* istanbul ignore file -- @preserve */\nlet result: boolean;\nfunction canUseDynamicImport(): boolean {\n if (result === undefined) {\n try {\n new Function('id', 'return import(id);');\n result = true;\n } catch (e) {\n result = false;\n }\n }\n return result;\n}\n\nexport { canUseDynamicImport };\n"],"mappings":";;;;;;;AAAA;AACA,IAAIA,MAAJ;;AACA,SAASC,mBAAT,GAAwC;EACtC,IAAID,MAAM,KAAKE,SAAf,EAA0B;IACxB,IAAI;MACF,IAAIC,QAAJ,CAAa,IAAb,EAAmB,oBAAnB;MACAH,MAAM,GAAG,IAAT;IACD,CAHD,CAGE,OAAOI,CAAP,EAAU;MACVJ,MAAM,GAAG,KAAT;IACD;EACF;;EACD,OAAOA,MAAP;AACD"} \ No newline at end of file diff --git a/node_modules/cosmiconfig/dist/defaults.d.ts b/node_modules/cosmiconfig/dist/defaults.d.ts deleted file mode 100644 index 1020ba0..0000000 --- a/node_modules/cosmiconfig/dist/defaults.d.ts +++ /dev/null @@ -1,25 +0,0 @@ -export declare function getDefaultSearchPlaces(moduleName: string): Array; -export declare function getDefaultSearchPlacesSync(moduleName: string): Array; -export declare const globalConfigSearchPlaces: string[]; -export declare const globalConfigSearchPlacesSync: string[]; -export declare const metaSearchPlaces: string[]; -export declare const defaultLoaders: Readonly<{ - readonly '.mjs': import("./types").Loader; - readonly '.cjs': import("./types").Loader; - readonly '.js': import("./types").Loader; - readonly '.ts': import("./types").Loader; - readonly '.json': import("./types").LoaderSync; - readonly '.yaml': import("./types").LoaderSync; - readonly '.yml': import("./types").LoaderSync; - readonly noExt: import("./types").LoaderSync; -}>; -export declare const defaultLoadersSync: Readonly<{ - readonly '.cjs': import("./types").LoaderSync; - readonly '.js': import("./types").LoaderSync; - readonly '.ts': import("./types").LoaderSync; - readonly '.json': import("./types").LoaderSync; - readonly '.yaml': import("./types").LoaderSync; - readonly '.yml': import("./types").LoaderSync; - readonly noExt: import("./types").LoaderSync; -}>; -//# sourceMappingURL=defaults.d.ts.map \ No newline at end of file diff --git a/node_modules/cosmiconfig/dist/defaults.d.ts.map b/node_modules/cosmiconfig/dist/defaults.d.ts.map deleted file mode 100644 index 71f7f75..0000000 --- a/node_modules/cosmiconfig/dist/defaults.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"defaults.d.ts","sourceRoot":"","sources":["../src/defaults.ts"],"names":[],"mappings":"AASA,wBAAgB,sBAAsB,CAAC,UAAU,EAAE,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC,CAwBxE;AAED,wBAAgB,0BAA0B,CAAC,UAAU,EAAE,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC,CAqB5E;AAED,eAAO,MAAM,wBAAwB,UASpC,CAAC;AACF,eAAO,MAAM,4BAA4B,UAQxC,CAAC;AAGF,eAAO,MAAM,gBAAgB,UAU5B,CAAC;AAGF,eAAO,MAAM,cAAc;;;;;;;;;EAShB,CAAC;AAEZ,eAAO,MAAM,kBAAkB;;;;;;;;EAQpB,CAAC"} \ No newline at end of file diff --git a/node_modules/cosmiconfig/dist/defaults.js b/node_modules/cosmiconfig/dist/defaults.js deleted file mode 100644 index 7b20d0a..0000000 --- a/node_modules/cosmiconfig/dist/defaults.js +++ /dev/null @@ -1,105 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.defaultLoadersSync = exports.defaultLoaders = exports.metaSearchPlaces = exports.globalConfigSearchPlacesSync = exports.globalConfigSearchPlaces = exports.getDefaultSearchPlacesSync = exports.getDefaultSearchPlaces = void 0; -const loaders_1 = require("./loaders"); -function getDefaultSearchPlaces(moduleName) { - return [ - 'package.json', - `.${moduleName}rc`, - `.${moduleName}rc.json`, - `.${moduleName}rc.yaml`, - `.${moduleName}rc.yml`, - `.${moduleName}rc.js`, - `.${moduleName}rc.ts`, - `.${moduleName}rc.cjs`, - `.${moduleName}rc.mjs`, - `.config/${moduleName}rc`, - `.config/${moduleName}rc.json`, - `.config/${moduleName}rc.yaml`, - `.config/${moduleName}rc.yml`, - `.config/${moduleName}rc.js`, - `.config/${moduleName}rc.ts`, - `.config/${moduleName}rc.cjs`, - `.config/${moduleName}rc.mjs`, - `${moduleName}.config.js`, - `${moduleName}.config.ts`, - `${moduleName}.config.cjs`, - `${moduleName}.config.mjs`, - ]; -} -exports.getDefaultSearchPlaces = getDefaultSearchPlaces; -function getDefaultSearchPlacesSync(moduleName) { - return [ - 'package.json', - `.${moduleName}rc`, - `.${moduleName}rc.json`, - `.${moduleName}rc.yaml`, - `.${moduleName}rc.yml`, - `.${moduleName}rc.js`, - `.${moduleName}rc.ts`, - `.${moduleName}rc.cjs`, - `.config/${moduleName}rc`, - `.config/${moduleName}rc.json`, - `.config/${moduleName}rc.yaml`, - `.config/${moduleName}rc.yml`, - `.config/${moduleName}rc.js`, - `.config/${moduleName}rc.ts`, - `.config/${moduleName}rc.cjs`, - `${moduleName}.config.js`, - `${moduleName}.config.ts`, - `${moduleName}.config.cjs`, - ]; -} -exports.getDefaultSearchPlacesSync = getDefaultSearchPlacesSync; -exports.globalConfigSearchPlaces = [ - 'config', - 'config.json', - 'config.yaml', - 'config.yml', - 'config.js', - 'config.ts', - 'config.cjs', - 'config.mjs', -]; -exports.globalConfigSearchPlacesSync = [ - 'config', - 'config.json', - 'config.yaml', - 'config.yml', - 'config.js', - 'config.ts', - 'config.cjs', -]; -// this needs to be hardcoded, as this is intended for end users, who can't supply options at this point -exports.metaSearchPlaces = [ - 'package.json', - 'package.yaml', - '.config/config.json', - '.config/config.yaml', - '.config/config.yml', - '.config/config.js', - '.config/config.ts', - '.config/config.cjs', - '.config/config.mjs', -]; -// do not allow mutation of default loaders. Make sure it is set inside options -exports.defaultLoaders = Object.freeze({ - '.mjs': loaders_1.loadJs, - '.cjs': loaders_1.loadJs, - '.js': loaders_1.loadJs, - '.ts': loaders_1.loadTs, - '.json': loaders_1.loadJson, - '.yaml': loaders_1.loadYaml, - '.yml': loaders_1.loadYaml, - noExt: loaders_1.loadYaml, -}); -exports.defaultLoadersSync = Object.freeze({ - '.cjs': loaders_1.loadJsSync, - '.js': loaders_1.loadJsSync, - '.ts': loaders_1.loadTsSync, - '.json': loaders_1.loadJson, - '.yaml': loaders_1.loadYaml, - '.yml': loaders_1.loadYaml, - noExt: loaders_1.loadYaml, -}); -//# sourceMappingURL=defaults.js.map \ No newline at end of file diff --git a/node_modules/cosmiconfig/dist/defaults.js.map b/node_modules/cosmiconfig/dist/defaults.js.map deleted file mode 100644 index c2e3174..0000000 --- a/node_modules/cosmiconfig/dist/defaults.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"defaults.js","sourceRoot":"","sources":["../src/defaults.ts"],"names":[],"mappings":";;;AAAA,uCAOmB;AAEnB,SAAgB,sBAAsB,CAAC,UAAkB;IACvD,OAAO;QACL,cAAc;QACd,IAAI,UAAU,IAAI;QAClB,IAAI,UAAU,SAAS;QACvB,IAAI,UAAU,SAAS;QACvB,IAAI,UAAU,QAAQ;QACtB,IAAI,UAAU,OAAO;QACrB,IAAI,UAAU,OAAO;QACrB,IAAI,UAAU,QAAQ;QACtB,IAAI,UAAU,QAAQ;QACtB,WAAW,UAAU,IAAI;QACzB,WAAW,UAAU,SAAS;QAC9B,WAAW,UAAU,SAAS;QAC9B,WAAW,UAAU,QAAQ;QAC7B,WAAW,UAAU,OAAO;QAC5B,WAAW,UAAU,OAAO;QAC5B,WAAW,UAAU,QAAQ;QAC7B,WAAW,UAAU,QAAQ;QAC7B,GAAG,UAAU,Y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EAAE,kBAAQ;IACjB,OAAO,EAAE,kBAAQ;IACjB,MAAM,EAAE,kBAAQ;IAChB,KAAK,EAAE,kBAAQ;CACP,CAAC,CAAC;AAEC,QAAA,kBAAkB,GAAG,MAAM,CAAC,MAAM,CAAC;IAC9C,MAAM,EAAE,oBAAU;IAClB,KAAK,EAAE,oBAAU;IACjB,KAAK,EAAE,oBAAU;IACjB,OAAO,EAAE,kBAAQ;IACjB,OAAO,EAAE,kBAAQ;IACjB,MAAM,EAAE,kBAAQ;IAChB,KAAK,EAAE,kBAAQ;CACP,CAAC,CAAC"} \ No newline at end of file diff --git a/node_modules/cosmiconfig/dist/getDirectory.d.ts b/node_modules/cosmiconfig/dist/getDirectory.d.ts deleted file mode 100644 index 3b53068..0000000 --- a/node_modules/cosmiconfig/dist/getDirectory.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -declare function getDirectory(filepath: string): Promise; -declare function getDirectorySync(filepath: string): string; -export { getDirectory, getDirectorySync }; -//# sourceMappingURL=getDirectory.d.ts.map \ No newline at end of file diff --git a/node_modules/cosmiconfig/dist/getDirectory.d.ts.map b/node_modules/cosmiconfig/dist/getDirectory.d.ts.map deleted file mode 100644 index 37288a7..0000000 --- a/node_modules/cosmiconfig/dist/getDirectory.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"getDirectory.d.ts","sourceRoot":"","sources":["../src/getDirectory.ts"],"names":[],"mappings":"AAGA,iBAAe,YAAY,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAU7D;AAED,iBAAS,gBAAgB,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,CAUlD;AAED,OAAO,EAAE,YAAY,EAAE,gBAAgB,EAAE,CAAC"} \ No newline at end of file diff --git a/node_modules/cosmiconfig/dist/getDirectory.js b/node_modules/cosmiconfig/dist/getDirectory.js deleted file mode 100644 index e0f0a69..0000000 --- a/node_modules/cosmiconfig/dist/getDirectory.js +++ /dev/null @@ -1,38 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.getDirectory = getDirectory; -exports.getDirectorySync = getDirectorySync; - -var _path = _interopRequireDefault(require("path")); - -var _pathType = require("path-type"); - -function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } - -async function getDirectory(filepath) { - const filePathIsDirectory = await (0, _pathType.isDirectory)(filepath); - - if (filePathIsDirectory === true) { - return filepath; - } - - const directory = _path.default.dirname(filepath); - - return directory; -} - -function getDirectorySync(filepath) { - const filePathIsDirectory = (0, _pathType.isDirectorySync)(filepath); - - if (filePathIsDirectory === true) { - return filepath; - } - - const directory = _path.default.dirname(filepath); - - return directory; -} -//# sourceMappingURL=getDirectory.js.map \ No newline at end of file diff --git a/node_modules/cosmiconfig/dist/getDirectory.js.map b/node_modules/cosmiconfig/dist/getDirectory.js.map deleted file mode 100644 index 29e0586..0000000 --- a/node_modules/cosmiconfig/dist/getDirectory.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"getDirectory.js","names":["getDirectory","filepath","filePathIsDirectory","isDirectory","directory","path","dirname","getDirectorySync","isDirectorySync"],"sources":["../src/getDirectory.ts"],"sourcesContent":["import path from 'path';\nimport { isDirectory, isDirectorySync } from 'path-type';\n\nasync function getDirectory(filepath: string): Promise {\n const filePathIsDirectory = await isDirectory(filepath);\n\n if (filePathIsDirectory === true) {\n return filepath;\n }\n\n const directory = path.dirname(filepath);\n\n return directory;\n}\n\nfunction getDirectorySync(filepath: string): string {\n const filePathIsDirectory = isDirectorySync(filepath);\n\n if (filePathIsDirectory === true) {\n return filepath;\n }\n\n const directory = path.dirname(filepath);\n\n return directory;\n}\n\nexport { getDirectory, getDirectorySync };\n"],"mappings":";;;;;;;;AAAA;;AACA;;;;AAEA,eAAeA,YAAf,CAA4BC,QAA5B,EAA+D;EAC7D,MAAMC,mBAAmB,GAAG,MAAM,IAAAC,qBAAA,EAAYF,QAAZ,CAAlC;;EAEA,IAAIC,mBAAmB,KAAK,IAA5B,EAAkC;IAChC,OAAOD,QAAP;EACD;;EAED,MAAMG,SAAS,GAAGC,aAAA,CAAKC,OAAL,CAAaL,QAAb,CAAlB;;EAEA,OAAOG,SAAP;AACD;;AAED,SAASG,gBAAT,CAA0BN,QAA1B,EAAoD;EAClD,MAAMC,mBAAmB,GAAG,IAAAM,yBAAA,EAAgBP,QAAhB,CAA5B;;EAEA,IAAIC,mBAAmB,KAAK,IAA5B,EAAkC;IAChC,OAAOD,QAAP;EACD;;EAED,MAAMG,SAAS,GAAGC,aAAA,CAAKC,OAAL,CAAaL,QAAb,CAAlB;;EAEA,OAAOG,SAAP;AACD"} \ No newline at end of file diff --git a/node_modules/cosmiconfig/dist/getPropertyByPath.d.ts b/node_modules/cosmiconfig/dist/getPropertyByPath.d.ts deleted file mode 100644 index 0b89fa7..0000000 --- a/node_modules/cosmiconfig/dist/getPropertyByPath.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -declare function getPropertyByPath(source: { - [key: string]: unknown; -}, path: string | Array): unknown; -export { getPropertyByPath }; -//# sourceMappingURL=getPropertyByPath.d.ts.map \ No newline at end of file diff --git a/node_modules/cosmiconfig/dist/getPropertyByPath.d.ts.map b/node_modules/cosmiconfig/dist/getPropertyByPath.d.ts.map deleted file mode 100644 index cbb44eb..0000000 --- a/node_modules/cosmiconfig/dist/getPropertyByPath.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"getPropertyByPath.d.ts","sourceRoot":"","sources":["../src/getPropertyByPath.ts"],"names":[],"mappings":"AAKA,iBAAS,iBAAiB,CACxB,MAAM,EAAE;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;CAAE,EAClC,IAAI,EAAE,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC,GAC3B,OAAO,CAgBT;AAED,OAAO,EAAE,iBAAiB,EAAE,CAAC"} \ No newline at end of file diff --git a/node_modules/cosmiconfig/dist/getPropertyByPath.js b/node_modules/cosmiconfig/dist/getPropertyByPath.js deleted file mode 100644 index 564972c..0000000 --- a/node_modules/cosmiconfig/dist/getPropertyByPath.js +++ /dev/null @@ -1,28 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.getPropertyByPath = getPropertyByPath; - -// Resolves property names or property paths defined with period-delimited -// strings or arrays of strings. Property names that are found on the source -// object are used directly (even if they include a period). -// Nested property names that include periods, within a path, are only -// understood in array paths. -function getPropertyByPath(source, path) { - if (typeof path === 'string' && Object.prototype.hasOwnProperty.call(source, path)) { - return source[path]; - } - - const parsedPath = typeof path === 'string' ? path.split('.') : path; // eslint-disable-next-line @typescript-eslint/no-explicit-any - - return parsedPath.reduce((previous, key) => { - if (previous === undefined) { - return previous; - } - - return previous[key]; - }, source); -} -//# sourceMappingURL=getPropertyByPath.js.map \ No newline at end of file diff --git a/node_modules/cosmiconfig/dist/getPropertyByPath.js.map b/node_modules/cosmiconfig/dist/getPropertyByPath.js.map deleted file mode 100644 index 14b7ad0..0000000 --- a/node_modules/cosmiconfig/dist/getPropertyByPath.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"getPropertyByPath.js","names":["getPropertyByPath","source","path","Object","prototype","hasOwnProperty","call","parsedPath","split","reduce","previous","key","undefined"],"sources":["../src/getPropertyByPath.ts"],"sourcesContent":["// Resolves property names or property paths defined with period-delimited\n// strings or arrays of strings. Property names that are found on the source\n// object are used directly (even if they include a period).\n// Nested property names that include periods, within a path, are only\n// understood in array paths.\nfunction getPropertyByPath(\n source: { [key: string]: unknown },\n path: string | Array,\n): unknown {\n if (\n typeof path === 'string' &&\n Object.prototype.hasOwnProperty.call(source, path)\n ) {\n return source[path];\n }\n\n const parsedPath = typeof path === 'string' ? path.split('.') : path;\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n return parsedPath.reduce((previous: any, key): unknown => {\n if (previous === undefined) {\n return previous;\n }\n return previous[key];\n }, source);\n}\n\nexport { getPropertyByPath };\n"],"mappings":";;;;;;;AAAA;AACA;AACA;AACA;AACA;AACA,SAASA,iBAAT,CACEC,MADF,EAEEC,IAFF,EAGW;EACT,IACE,OAAOA,IAAP,KAAgB,QAAhB,IACAC,MAAM,CAACC,SAAP,CAAiBC,cAAjB,CAAgCC,IAAhC,CAAqCL,MAArC,EAA6CC,IAA7C,CAFF,EAGE;IACA,OAAOD,MAAM,CAACC,IAAD,CAAb;EACD;;EAED,MAAMK,UAAU,GAAG,OAAOL,IAAP,KAAgB,QAAhB,GAA2BA,IAAI,CAACM,KAAL,CAAW,GAAX,CAA3B,GAA6CN,IAAhE,CARS,CAST;;EACA,OAAOK,UAAU,CAACE,MAAX,CAAkB,CAACC,QAAD,EAAgBC,GAAhB,KAAiC;IACxD,IAAID,QAAQ,KAAKE,SAAjB,EAA4B;MAC1B,OAAOF,QAAP;IACD;;IACD,OAAOA,QAAQ,CAACC,GAAD,CAAf;EACD,CALM,EAKJV,MALI,CAAP;AAMD"} \ No newline at end of file diff --git a/node_modules/cosmiconfig/dist/index.d.ts b/node_modules/cosmiconfig/dist/index.d.ts deleted file mode 100644 index b241da0..0000000 --- a/node_modules/cosmiconfig/dist/index.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { defaultLoaders, defaultLoadersSync, getDefaultSearchPlaces, getDefaultSearchPlacesSync, globalConfigSearchPlaces, globalConfigSearchPlacesSync } from './defaults'; -import { CommonOptions, Config, CosmiconfigResult, Loader, LoaderResult, Loaders, LoadersSync, LoaderSync, Options, OptionsSync, PublicExplorer, PublicExplorerBase, PublicExplorerSync, SearchStrategy, Transform, TransformSync } from './types.js'; -export declare function cosmiconfig(moduleName: string, options?: Readonly>): PublicExplorer; -export declare function cosmiconfigSync(moduleName: string, options?: Readonly>): PublicExplorerSync; -export { Config, CosmiconfigResult, LoaderResult, Loader, Loaders, LoaderSync, LoadersSync, Transform, TransformSync, SearchStrategy, CommonOptions, Options, OptionsSync, PublicExplorerBase, PublicExplorer, PublicExplorerSync, getDefaultSearchPlaces, getDefaultSearchPlacesSync, globalConfigSearchPlaces, globalConfigSearchPlacesSync, defaultLoaders, defaultLoadersSync, }; -//# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/node_modules/cosmiconfig/dist/index.d.ts.map b/node_modules/cosmiconfig/dist/index.d.ts.map deleted file mode 100644 index b916048..0000000 --- a/node_modules/cosmiconfig/dist/index.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,cAAc,EACd,kBAAkB,EAClB,sBAAsB,EACtB,0BAA0B,EAE1B,wBAAwB,EACxB,4BAA4B,EAC7B,MAAM,YAAY,CAAC;AAGpB,OAAO,EACL,aAAa,EACb,MAAM,EACN,iBAAiB,EAGjB,MAAM,EACN,YAAY,EACZ,OAAO,EACP,WAAW,EACX,UAAU,EACV,OAAO,EACP,WAAW,EACX,cAAc,EACd,kBAAkB,EAClB,kBAAkB,EAClB,cAAc,EACd,SAAS,EACT,aAAa,EACd,MAAM,YAAY,CAAC;AAqKpB,wBAAgB,WAAW,CACzB,UAAU,EAAE,MAAM,EAClB,OAAO,GAAE,QAAQ,CAAC,OAAO,CAAC,OAAO,CAAC,CAAM,GACvC,cAAc,CAUhB;AAED,wBAAgB,eAAe,CAC7B,UAAU,EAAE,MAAM,EAClB,OAAO,GAAE,QAAQ,CAAC,OAAO,CAAC,WAAW,CAAC,CAAM,GAC3C,kBAAkB,CAUpB;AAED,OAAO,EACL,MAAM,EACN,iBAAiB,EACjB,YAAY,EACZ,MAAM,EACN,OAAO,EACP,UAAU,EACV,WAAW,EACX,SAAS,EACT,aAAa,EACb,cAAc,EACd,aAAa,EACb,OAAO,EACP,WAAW,EACX,kBAAkB,EAClB,cAAc,EACd,kBAAkB,EAClB,sBAAsB,EACtB,0BAA0B,EAC1B,wBAAwB,EACxB,4BAA4B,EAC5B,cAAc,EACd,kBAAkB,GACnB,CAAC"} \ No newline at end of file diff --git a/node_modules/cosmiconfig/dist/index.js b/node_modules/cosmiconfig/dist/index.js deleted file mode 100644 index bfb95f9..0000000 --- a/node_modules/cosmiconfig/dist/index.js +++ /dev/null @@ -1,148 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.defaultLoadersSync = exports.defaultLoaders = exports.globalConfigSearchPlacesSync = exports.globalConfigSearchPlaces = exports.getDefaultSearchPlacesSync = exports.getDefaultSearchPlaces = exports.cosmiconfigSync = exports.cosmiconfig = void 0; -const defaults_1 = require("./defaults"); -Object.defineProperty(exports, "defaultLoaders", { enumerable: true, get: function () { return defaults_1.defaultLoaders; } }); -Object.defineProperty(exports, "defaultLoadersSync", { enumerable: true, get: function () { return defaults_1.defaultLoadersSync; } }); -Object.defineProperty(exports, "getDefaultSearchPlaces", { enumerable: true, get: function () { return defaults_1.getDefaultSearchPlaces; } }); -Object.defineProperty(exports, "getDefaultSearchPlacesSync", { enumerable: true, get: function () { return defaults_1.getDefaultSearchPlacesSync; } }); -Object.defineProperty(exports, "globalConfigSearchPlaces", { enumerable: true, get: function () { return defaults_1.globalConfigSearchPlaces; } }); -Object.defineProperty(exports, "globalConfigSearchPlacesSync", { enumerable: true, get: function () { return defaults_1.globalConfigSearchPlacesSync; } }); -const Explorer_js_1 = require("./Explorer.js"); -const ExplorerSync_js_1 = require("./ExplorerSync.js"); -const util_1 = require("./util"); -const identity = function identity(x) { - return x; -}; -function getUserDefinedOptionsFromMetaConfig() { - const metaExplorer = new ExplorerSync_js_1.ExplorerSync({ - moduleName: 'cosmiconfig', - stopDir: process.cwd(), - searchPlaces: defaults_1.metaSearchPlaces, - ignoreEmptySearchPlaces: false, - applyPackagePropertyPathToConfiguration: true, - loaders: defaults_1.defaultLoaders, - transform: identity, - cache: true, - metaConfigFilePath: null, - mergeImportArrays: true, - mergeSearchPlaces: true, - searchStrategy: 'none', - }); - const metaConfig = metaExplorer.search(); - if (!metaConfig) { - return null; - } - if (metaConfig.config?.loaders) { - throw new Error('Can not specify loaders in meta config file'); - } - if (metaConfig.config?.searchStrategy) { - throw new Error('Can not specify searchStrategy in meta config file'); - } - const overrideOptions = { - mergeSearchPlaces: true, - ...(metaConfig.config ?? {}), - }; - return { - config: (0, util_1.removeUndefinedValuesFromObject)(overrideOptions), - filepath: metaConfig.filepath, - }; -} -function getResolvedSearchPlaces(moduleName, toolDefinedSearchPlaces, userConfiguredOptions) { - const userConfiguredSearchPlaces = userConfiguredOptions.searchPlaces?.map((path) => path.replace('{name}', moduleName)); - if (userConfiguredOptions.mergeSearchPlaces) { - return [...(userConfiguredSearchPlaces ?? []), ...toolDefinedSearchPlaces]; - } - return (userConfiguredSearchPlaces ?? - /* istanbul ignore next */ toolDefinedSearchPlaces); -} -function mergeOptionsBase(moduleName, defaults, options) { - const userDefinedConfig = getUserDefinedOptionsFromMetaConfig(); - if (!userDefinedConfig) { - return { - ...defaults, - ...(0, util_1.removeUndefinedValuesFromObject)(options), - loaders: { - ...defaults.loaders, - ...options.loaders, - }, - }; - } - const userConfiguredOptions = userDefinedConfig.config; - const toolDefinedSearchPlaces = options.searchPlaces ?? defaults.searchPlaces; - return { - ...defaults, - ...(0, util_1.removeUndefinedValuesFromObject)(options), - metaConfigFilePath: userDefinedConfig.filepath, - ...userConfiguredOptions, - searchPlaces: getResolvedSearchPlaces(moduleName, toolDefinedSearchPlaces, userConfiguredOptions), - loaders: { - ...defaults.loaders, - ...options.loaders, - }, - }; -} -function validateOptions(options) { - if (options.searchStrategy != null && - options.searchStrategy !== 'global' && - options.stopDir) { - throw new Error('Can not supply `stopDir` option with `searchStrategy` other than "global"'); - } -} -function mergeOptions(moduleName, options) { - validateOptions(options); - const defaults = { - moduleName, - searchPlaces: (0, defaults_1.getDefaultSearchPlaces)(moduleName), - ignoreEmptySearchPlaces: true, - cache: true, - transform: identity, - loaders: defaults_1.defaultLoaders, - metaConfigFilePath: null, - mergeImportArrays: true, - mergeSearchPlaces: true, - searchStrategy: options.stopDir ? 'global' : 'none', - }; - return mergeOptionsBase(moduleName, defaults, options); -} -function mergeOptionsSync(moduleName, options) { - validateOptions(options); - const defaults = { - moduleName, - searchPlaces: (0, defaults_1.getDefaultSearchPlacesSync)(moduleName), - ignoreEmptySearchPlaces: true, - cache: true, - transform: identity, - loaders: defaults_1.defaultLoadersSync, - metaConfigFilePath: null, - mergeImportArrays: true, - mergeSearchPlaces: true, - searchStrategy: options.stopDir ? 'global' : 'none', - }; - return mergeOptionsBase(moduleName, defaults, options); -} -function cosmiconfig(moduleName, options = {}) { - const normalizedOptions = mergeOptions(moduleName, options); - const explorer = new Explorer_js_1.Explorer(normalizedOptions); - return { - search: explorer.search.bind(explorer), - load: explorer.load.bind(explorer), - clearLoadCache: explorer.clearLoadCache.bind(explorer), - clearSearchCache: explorer.clearSearchCache.bind(explorer), - clearCaches: explorer.clearCaches.bind(explorer), - }; -} -exports.cosmiconfig = cosmiconfig; -function cosmiconfigSync(moduleName, options = {}) { - const normalizedOptions = mergeOptionsSync(moduleName, options); - const explorerSync = new ExplorerSync_js_1.ExplorerSync(normalizedOptions); - return { - search: explorerSync.search.bind(explorerSync), - load: explorerSync.load.bind(explorerSync), - clearLoadCache: explorerSync.clearLoadCache.bind(explorerSync), - clearSearchCache: explorerSync.clearSearchCache.bind(explorerSync), - clearCaches: explorerSync.clearCaches.bind(explorerSync), - }; -} -exports.cosmiconfigSync = cosmiconfigSync; -//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/node_modules/cosmiconfig/dist/index.js.map b/node_modules/cosmiconfig/dist/index.js.map deleted file mode 100644 index 8d35257..0000000 --- a/node_modules/cosmiconfig/dist/index.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;AAAA,yCAQoB;AA8OlB,+FArPA,yBAAc,OAqPA;AACd,mGArPA,6BAAkB,OAqPA;AALlB,uGA/OA,iCAAsB,OA+OA;AACtB,2GA/OA,qCAA0B,OA+OA;AAC1B,yGA9OA,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GAAG,YAAY,CAAC,UAAU,EAAE,OAAO,CAAC,CAAC;IAC5D,MAAM,QAAQ,GAAG,IAAI,sBAAQ,CAAC,iBAAiB,CAAC,CAAC;IACjD,OAAO;QACL,MAAM,EAAE,QAAQ,CAAC,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC;QACtC,IAAI,EAAE,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC;QAClC,cAAc,EAAE,QAAQ,CAAC,cAAc,CAAC,IAAI,CAAC,QAAQ,CAAC;QACtD,gBAAgB,EAAE,QAAQ,CAAC,gBAAgB,CAAC,IAAI,CAAC,QAAQ,CAAC;QAC1D,WAAW,EAAE,QAAQ,CAAC,WAAW,CAAC,IAAI,CAAC,QAAQ,CAAC;KACjD,CAAC;AACJ,CAAC;AAbD,kCAaC;AAED,SAAgB,eAAe,CAC7B,UAAkB,EAClB,UAA0C,EAAE;IAE5C,MAAM,iBAAiB,GAAG,gBAAgB,CAAC,UAAU,EAAE,OAAO,CAAC,CAAC;IAChE,MAAM,YAAY,GAAG,IAAI,8BAAY,CAAC,iBAAiB,CAAC,CAAC;IACzD,OAAO;QACL,MAAM,EAAE,YAAY,CAAC,MAAM,CAAC,IAAI,CAAC,YAAY,CAAC;QAC9C,IAAI,EAAE,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC,YAAY,CAAC;QAC1C,cAAc,EAAE,YAAY,CAAC,cAAc,CAAC,IAAI,CAAC,YAAY,CAAC;QAC9D,gBAAgB,EAAE,YAAY,CAAC,gBAAgB,CAAC,IAAI,CAAC,YAAY,CAAC;QAClE,WAAW,EAAE,YAAY,CAAC,WAAW,CAAC,IAAI,CAAC,YAAY,CAAC;KACzD,CAAC;AACJ,CAAC;AAbD,0CAaC"} \ No newline at end of file diff --git a/node_modules/cosmiconfig/dist/loaders.d.ts b/node_modules/cosmiconfig/dist/loaders.d.ts deleted file mode 100644 index 96640a5..0000000 --- a/node_modules/cosmiconfig/dist/loaders.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { Loader, LoaderSync } from './types.js'; -export declare const loadJsSync: LoaderSync; -export declare const loadJs: Loader; -export declare const loadJson: LoaderSync; -export declare const loadYaml: LoaderSync; -export declare const loadTsSync: LoaderSync; -export declare const loadTs: Loader; -//# sourceMappingURL=loaders.d.ts.map \ No newline at end of file diff --git a/node_modules/cosmiconfig/dist/loaders.d.ts.map b/node_modules/cosmiconfig/dist/loaders.d.ts.map deleted file mode 100644 index db799be..0000000 --- a/node_modules/cosmiconfig/dist/loaders.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"loaders.d.ts","sourceRoot":"","sources":["../src/loaders.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAGhD,eAAO,MAAM,UAAU,EAAE,UAMxB,CAAC;AAEF,eAAO,MAAM,MAAM,EAAE,MAqBpB,CAAC;AAGF,eAAO,MAAM,QAAQ,EAAE,UAWtB,CAAC;AAGF,eAAO,MAAM,QAAQ,EAAE,UAWtB,CAAC;AAGF,eAAO,MAAM,UAAU,EAAE,UA0BxB,CAAC;AAEF,eAAO,MAAM,MAAM,EAAE,MAgCpB,CAAC"} \ No newline at end of file diff --git a/node_modules/cosmiconfig/dist/loaders.js b/node_modules/cosmiconfig/dist/loaders.js deleted file mode 100644 index b71d7fc..0000000 --- a/node_modules/cosmiconfig/dist/loaders.js +++ /dev/null @@ -1,148 +0,0 @@ -"use strict"; -/* eslint-disable @typescript-eslint/no-require-imports */ -var __importDefault = (this && this.__importDefault) || function (mod) { - return (mod && mod.__esModule) ? mod : { "default": mod }; -}; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.loadTs = exports.loadTsSync = exports.loadYaml = exports.loadJson = exports.loadJs = exports.loadJsSync = void 0; -const fs_1 = require("fs"); -const promises_1 = require("fs/promises"); -const path_1 = __importDefault(require("path")); -const url_1 = require("url"); -let importFresh; -const loadJsSync = function loadJsSync(filepath) { - if (importFresh === undefined) { - importFresh = require('import-fresh'); - } - return importFresh(filepath); -}; -exports.loadJsSync = loadJsSync; -const loadJs = async function loadJs(filepath) { - try { - const { href } = (0, url_1.pathToFileURL)(filepath); - return (await import(href)).default; - } - catch (error) { - try { - return (0, exports.loadJsSync)(filepath, ''); - } - catch (requireError) { - if (requireError.code === 'ERR_REQUIRE_ESM' || - (requireError instanceof SyntaxError && - requireError - .toString() - .includes('Cannot use import statement outside a module'))) { - throw error; - } - throw requireError; - } - } -}; -exports.loadJs = loadJs; -let parseJson; -const loadJson = function loadJson(filepath, content) { - if (parseJson === undefined) { - parseJson = require('parse-json'); - } - try { - return parseJson(content); - } - catch (error) { - error.message = `JSON Error in ${filepath}:\n${error.message}`; - throw error; - } -}; -exports.loadJson = loadJson; -let yaml; -const loadYaml = function loadYaml(filepath, content) { - if (yaml === undefined) { - yaml = require('js-yaml'); - } - try { - return yaml.load(content); - } - catch (error) { - error.message = `YAML Error in ${filepath}:\n${error.message}`; - throw error; - } -}; -exports.loadYaml = loadYaml; -let typescript; -const loadTsSync = function loadTsSync(filepath, content) { - /* istanbul ignore next -- @preserve */ - if (typescript === undefined) { - typescript = require('typescript'); - } - const compiledFilepath = `${filepath.slice(0, -2)}cjs`; - try { - const config = resolveTsConfig(path_1.default.dirname(filepath)) ?? {}; - config.compilerOptions = { - ...config.compilerOptions, - module: typescript.ModuleKind.NodeNext, - moduleResolution: typescript.ModuleResolutionKind.NodeNext, - target: typescript.ScriptTarget.ES2022, - noEmit: false, - }; - content = typescript.transpileModule(content, config).outputText; - (0, fs_1.writeFileSync)(compiledFilepath, content); - return (0, exports.loadJsSync)(compiledFilepath, content).default; - } - catch (error) { - error.message = `TypeScript Error in ${filepath}:\n${error.message}`; - throw error; - } - finally { - if ((0, fs_1.existsSync)(compiledFilepath)) { - (0, fs_1.rmSync)(compiledFilepath); - } - } -}; -exports.loadTsSync = loadTsSync; -const loadTs = async function loadTs(filepath, content) { - if (typescript === undefined) { - typescript = (await import('typescript')).default; - } - const compiledFilepath = `${filepath.slice(0, -2)}mjs`; - let transpiledContent; - try { - try { - const config = resolveTsConfig(path_1.default.dirname(filepath)) ?? {}; - config.compilerOptions = { - ...config.compilerOptions, - module: typescript.ModuleKind.ES2022, - moduleResolution: typescript.ModuleResolutionKind.Bundler, - target: typescript.ScriptTarget.ES2022, - noEmit: false, - }; - transpiledContent = typescript.transpileModule(content, config).outputText; - await (0, promises_1.writeFile)(compiledFilepath, transpiledContent); - } - catch (error) { - error.message = `TypeScript Error in ${filepath}:\n${error.message}`; - throw error; - } - // eslint-disable-next-line @typescript-eslint/return-await - return await (0, exports.loadJs)(compiledFilepath, transpiledContent); - } - finally { - if ((0, fs_1.existsSync)(compiledFilepath)) { - await (0, promises_1.rm)(compiledFilepath); - } - } -}; -exports.loadTs = loadTs; -// eslint-disable-next-line @typescript-eslint/no-explicit-any -function resolveTsConfig(directory) { - const filePath = typescript.findConfigFile(directory, (fileName) => { - return typescript.sys.fileExists(fileName); - }); - if (filePath !== undefined) { - const { config, error } = typescript.readConfigFile(filePath, (path) => typescript.sys.readFile(path)); - if (error) { - throw new Error(`Error in ${filePath}: ${error.messageText.toString()}`); - } - return config; - } - return; -} -//# sourceMappingURL=loaders.js.map \ No newline at end of file diff --git a/node_modules/cosmiconfig/dist/loaders.js.map b/node_modules/cosmiconfig/dist/loaders.js.map deleted file mode 100644 index aff5064..0000000 --- a/node_modules/cosmiconfig/dist/loaders.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"loaders.js","sourceRoot":"","sources":["../src/loaders.ts"],"names":[],"mappings":";AAAA,0DAA0D;;;;;;AAE1D,2BAAuD;AACvD,0CAA4C;AAC5C,gDAAwB;AACxB,6BAAoC;AAGpC,IAAI,WAA0C,CAAC;AACxC,MAAM,UAAU,GAAe,SAAS,UAAU,CAAC,QAAQ;IAChE,IAAI,WAAW,KAAK,SAAS,EAAE;QAC7B,WAAW,GAAG,OAAO,CAAC,cAAc,CAAC,CAAC;KACv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,OAAO,MAAM,IAAA,cAAM,EAAC,gBAAgB,EAAE,iBAAiB,CAAC,CAAC;KAC1D;YAAS;QACR,IAAI,IAAA,eAAU,EAAC,gBAAgB,CAAC,EAAE;YAChC,MAAM,IAAA,aAAE,EAAC,gBAAgB,CAAC,CAAC;SAC5B;KACF;AACH,CAAC,CAAC;AAhCW,QAAA,MAAM,UAgCjB;AAEF,8DAA8D;AAC9D,SAAS,eAAe,CAAC,SAAiB;IACxC,MAAM,QAAQ,GAAG,UAAU,CAAC,cAAc,CAAC,SAAS,EAAE,CAAC,QAAQ,EAAE,EAAE;QACjE,OAAO,UAAU,CAAC,GAAG,CAAC,UAAU,CAAC,QAAQ,CAAC,CAAC;IAC7C,CAAC,CAAC,CAAC;IACH,IAAI,QAAQ,KAAK,SAAS,EAAE;QAC1B,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,UAAU,CAAC,cAAc,CAAC,QAAQ,EAAE,CAAC,IAAI,EAAE,EAAE,CACrE,UAAU,CAAC,GAAG,CAAC,QAAQ,CAAC,IAAI,CAAC,CAC9B,CAAC;QACF,IAAI,KAAK,EAAE;YACT,MAAM,IAAI,KAAK,CAAC,YAAY,QAAQ,KAAK,KAAK,CAAC,WAAW,CAAC,QAAQ,EAAE,EAAE,CAAC,CAAC;SAC1E;QACD,OAAO,MAAM,CAAC;KACf;IACD,OAAO;AACT,CAAC"} \ No newline at end of file diff --git a/node_modules/cosmiconfig/dist/merge.d.ts b/node_modules/cosmiconfig/dist/merge.d.ts deleted file mode 100644 index 0d05f63..0000000 --- a/node_modules/cosmiconfig/dist/merge.d.ts +++ /dev/null @@ -1,9 +0,0 @@ -export declare const hasOwn: (thisArg: any, ...argArray: any[]) => any; -export interface MergeOptions { - mergeArrays: boolean; -} -/** - * Merges multiple objects. Doesn't care about cloning non-primitives, as we load all these objects fresh from a file. - */ -export declare function mergeAll(objects: ReadonlyArray, options: MergeOptions): any; -//# sourceMappingURL=merge.d.ts.map \ No newline at end of file diff --git a/node_modules/cosmiconfig/dist/merge.d.ts.map b/node_modules/cosmiconfig/dist/merge.d.ts.map deleted file mode 100644 index 95000e5..0000000 --- a/node_modules/cosmiconfig/dist/merge.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"merge.d.ts","sourceRoot":"","sources":["../src/merge.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,MAAM,2CAElB,CAAC;AASF,MAAM,WAAW,YAAY;IAC3B,WAAW,EAAE,OAAO,CAAC;CACtB;AAuBD;;GAEG;AACH,wBAAgB,QAAQ,CAEtB,OAAO,EAAE,aAAa,CAAC,GAAG,CAAC,EAC3B,OAAO,EAAE,YAAY,GAEpB,GAAG,CAEL"} \ No newline at end of file diff --git a/node_modules/cosmiconfig/dist/merge.js b/node_modules/cosmiconfig/dist/merge.js deleted file mode 100644 index 0e76ae6..0000000 --- a/node_modules/cosmiconfig/dist/merge.js +++ /dev/null @@ -1,40 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.mergeAll = exports.hasOwn = void 0; -/* eslint-disable @typescript-eslint/unbound-method */ -exports.hasOwn = Function.prototype.call.bind(Object.prototype.hasOwnProperty); -const objToString = Function.prototype.call.bind(Object.prototype.toString); -/* eslint-enable @typescript-eslint/unbound-method */ -function isPlainObject(obj) { - return objToString(obj) === '[object Object]'; -} -// eslint-disable-next-line @typescript-eslint/no-explicit-any -function merge(target, source, options) { - for (const key of Object.keys(source)) { - const newValue = source[key]; - if ((0, exports.hasOwn)(target, key)) { - if (Array.isArray(target[key]) && Array.isArray(newValue)) { - if (options.mergeArrays) { - target[key].push(...newValue); - continue; - } - } - else if (isPlainObject(target[key]) && isPlainObject(newValue)) { - target[key] = merge(target[key], newValue, options); - continue; - } - } - target[key] = newValue; - } - return target; -} -/** - * Merges multiple objects. Doesn't care about cloning non-primitives, as we load all these objects fresh from a file. - */ -function mergeAll( -// eslint-disable-next-line @typescript-eslint/no-explicit-any -objects, options) { - return objects.reduce((target, source) => merge(target, source, options), {}); -} -exports.mergeAll = mergeAll; -//# sourceMappingURL=merge.js.map \ No newline at end of file diff --git a/node_modules/cosmiconfig/dist/merge.js.map b/node_modules/cosmiconfig/dist/merge.js.map deleted file mode 100644 index cf3d1a7..0000000 --- a/node_modules/cosmiconfig/dist/merge.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"merge.js","sourceRoot":"","sources":["../src/merge.ts"],"names":[],"mappings":";;;AAAA,sDAAsD;AACzC,QAAA,MAAM,GAAG,QAAQ,CAAC,SAAS,CAAC,IAAI,CAAC,IAAI,CAChD,MAAM,CAAC,SAAS,CAAC,cAAc,CAChC,CAAC;AACF,MAAM,WAAW,GAAG,QAAQ,CAAC,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC,SAAS,CAAC,QAAQ,CAAC,CAAC;AAE5E,qDAAqD;AAErD,SAAS,aAAa,CAAC,GAAY;IACjC,OAAO,WAAW,CAAC,GAAG,CAAC,KAAK,iBAAiB,CAAC;AAChD,CAAC;AAMD,8DAA8D;AAC9D,SAAS,KAAK,CAAC,MAAW,EAAE,MAAW,EAAE,OAAqB;IAC5D,KAAK,MAAM,GAAG,IAAI,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,EAAE;QACrC,MAAM,QAAQ,GAAG,MAAM,CAAC,GAAG,CAAC,CAAC;QAC7B,IAAI,IAAA,cAAM,EAAC,MAAM,EAAE,GAAG,CAAC,EAAE;YACvB,IAAI,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,IAAI,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,EAAE;gBACzD,IAAI,OAAO,CAAC,WAAW,EAAE;oBACvB,MAAM,CAAC,GAAG,CAAC,CAAC,IAAI,CAAC,GAAG,QAAQ,CAAC,CAAC;oBAC9B,SAAS;iBACV;aACF;iBAAM,IAAI,aAAa,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,IAAI,aAAa,CAAC,QAAQ,CAAC,EAAE;gBAChE,MAAM,CAAC,GAAG,CAAC,GAAG,KAAK,CAAC,MAAM,CAAC,GAAG,CAAC,EAAE,QAAQ,EAAE,OAAO,CAAC,CAAC;gBACpD,SAAS;aACV;SACF;QACD,MAAM,CAAC,GAAG,CAAC,GAAG,QAAQ,CAAC;KACxB;IAED,OAAO,MAAM,CAAC;AAChB,CAAC;AAED;;GAEG;AACH,SAAgB,QAAQ;AACtB,8DAA8D;AAC9D,OAA2B,EAC3B,OAAqB;IAGrB,OAAO,OAAO,CAAC,MAAM,CAAC,CAAC,MAAM,EAAE,MAAM,EAAE,EAAE,CAAC,KAAK,CAAC,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,EAAE,CAAC,CAAC;AAChF,CAAC;AAPD,4BAOC"} \ No newline at end of file diff --git a/node_modules/cosmiconfig/dist/readFile.d.ts b/node_modules/cosmiconfig/dist/readFile.d.ts deleted file mode 100644 index c59e12e..0000000 --- a/node_modules/cosmiconfig/dist/readFile.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -interface Options { - throwNotFound?: boolean; -} -declare function readFile(filepath: string, options?: Options): Promise; -declare function readFileSync(filepath: string, options?: Options): string | null; -export { readFile, readFileSync }; -//# sourceMappingURL=readFile.d.ts.map \ No newline at end of file diff --git a/node_modules/cosmiconfig/dist/readFile.d.ts.map b/node_modules/cosmiconfig/dist/readFile.d.ts.map deleted file mode 100644 index 3148c92..0000000 --- a/node_modules/cosmiconfig/dist/readFile.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"readFile.d.ts","sourceRoot":"","sources":["../src/readFile.ts"],"names":[],"mappings":"AAkBA,UAAU,OAAO;IACf,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB;AAED,iBAAe,QAAQ,CACrB,QAAQ,EAAE,MAAM,EAChB,OAAO,GAAE,OAAY,GACpB,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC,CAiBxB;AAED,iBAAS,YAAY,CAAC,QAAQ,EAAE,MAAM,EAAE,OAAO,GAAE,OAAY,GAAG,MAAM,GAAG,IAAI,CAiB5E;AAED,OAAO,EAAE,QAAQ,EAAE,YAAY,EAAE,CAAC"} \ No newline at end of file diff --git a/node_modules/cosmiconfig/dist/readFile.js b/node_modules/cosmiconfig/dist/readFile.js deleted file mode 100644 index 954081e..0000000 --- a/node_modules/cosmiconfig/dist/readFile.js +++ /dev/null @@ -1,56 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.readFile = readFile; -exports.readFileSync = readFileSync; - -var _fs = _interopRequireDefault(require("fs")); - -function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } - -async function fsReadFileAsync(pathname, encoding) { - return new Promise((resolve, reject) => { - _fs.default.readFile(pathname, encoding, (error, contents) => { - if (error) { - reject(error); - return; - } - - resolve(contents); - }); - }); -} - -async function readFile(filepath, options = {}) { - const throwNotFound = options.throwNotFound === true; - - try { - const content = await fsReadFileAsync(filepath, 'utf8'); - return content; - } catch (error) { - if (throwNotFound === false && (error.code === 'ENOENT' || error.code === 'EISDIR')) { - return null; - } - - throw error; - } -} - -function readFileSync(filepath, options = {}) { - const throwNotFound = options.throwNotFound === true; - - try { - const content = _fs.default.readFileSync(filepath, 'utf8'); - - return content; - } catch (error) { - if (throwNotFound === false && (error.code === 'ENOENT' || error.code === 'EISDIR')) { - return null; - } - - throw error; - } -} -//# sourceMappingURL=readFile.js.map \ No newline at end of file diff --git a/node_modules/cosmiconfig/dist/readFile.js.map b/node_modules/cosmiconfig/dist/readFile.js.map deleted file mode 100644 index 35a5e11..0000000 --- a/node_modules/cosmiconfig/dist/readFile.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"readFile.js","names":["fsReadFileAsync","pathname","encoding","Promise","resolve","reject","fs","readFile","error","contents","filepath","options","throwNotFound","content","code","readFileSync"],"sources":["../src/readFile.ts"],"sourcesContent":["import fs from 'fs';\n\nasync function fsReadFileAsync(\n pathname: string,\n encoding: BufferEncoding,\n): Promise {\n return new Promise((resolve, reject): void => {\n fs.readFile(pathname, encoding, (error, contents): void => {\n if (error) {\n reject(error);\n return;\n }\n\n resolve(contents);\n });\n });\n}\n\ninterface Options {\n throwNotFound?: boolean;\n}\n\nasync function readFile(\n filepath: string,\n options: Options = {},\n): Promise {\n const throwNotFound = options.throwNotFound === true;\n\n try {\n const content = await fsReadFileAsync(filepath, 'utf8');\n\n return content;\n } catch (error: any) {\n if (\n throwNotFound === false &&\n (error.code === 'ENOENT' || error.code === 'EISDIR')\n ) {\n return null;\n }\n\n throw error;\n }\n}\n\nfunction readFileSync(filepath: string, options: Options = {}): string | null {\n const throwNotFound = options.throwNotFound === true;\n\n try {\n const content = fs.readFileSync(filepath, 'utf8');\n\n return content;\n } catch (error: any) {\n if (\n throwNotFound === false &&\n (error.code === 'ENOENT' || error.code === 'EISDIR')\n ) {\n return null;\n }\n\n throw error;\n }\n}\n\nexport { readFile, readFileSync };\n"],"mappings":";;;;;;;;AAAA;;;;AAEA,eAAeA,eAAf,CACEC,QADF,EAEEC,QAFF,EAGmB;EACjB,OAAO,IAAIC,OAAJ,CAAY,CAACC,OAAD,EAAUC,MAAV,KAA2B;IAC5CC,WAAA,CAAGC,QAAH,CAAYN,QAAZ,EAAsBC,QAAtB,EAAgC,CAACM,KAAD,EAAQC,QAAR,KAA2B;MACzD,IAAID,KAAJ,EAAW;QACTH,MAAM,CAACG,KAAD,CAAN;QACA;MACD;;MAEDJ,OAAO,CAACK,QAAD,CAAP;IACD,CAPD;EAQD,CATM,CAAP;AAUD;;AAMD,eAAeF,QAAf,CACEG,QADF,EAEEC,OAAgB,GAAG,EAFrB,EAG0B;EACxB,MAAMC,aAAa,GAAGD,OAAO,CAACC,aAAR,KAA0B,IAAhD;;EAEA,IAAI;IACF,MAAMC,OAAO,GAAG,MAAMb,eAAe,CAACU,QAAD,EAAW,MAAX,CAArC;IAEA,OAAOG,OAAP;EACD,CAJD,CAIE,OAAOL,KAAP,EAAmB;IACnB,IACEI,aAAa,KAAK,KAAlB,KACCJ,KAAK,CAACM,IAAN,KAAe,QAAf,IAA2BN,KAAK,CAACM,IAAN,KAAe,QAD3C,CADF,EAGE;MACA,OAAO,IAAP;IACD;;IAED,MAAMN,KAAN;EACD;AACF;;AAED,SAASO,YAAT,CAAsBL,QAAtB,EAAwCC,OAAgB,GAAG,EAA3D,EAA8E;EAC5E,MAAMC,aAAa,GAAGD,OAAO,CAACC,aAAR,KAA0B,IAAhD;;EAEA,IAAI;IACF,MAAMC,OAAO,GAAGP,WAAA,CAAGS,YAAH,CAAgBL,QAAhB,EAA0B,MAA1B,CAAhB;;IAEA,OAAOG,OAAP;EACD,CAJD,CAIE,OAAOL,KAAP,EAAmB;IACnB,IACEI,aAAa,KAAK,KAAlB,KACCJ,KAAK,CAACM,IAAN,KAAe,QAAf,IAA2BN,KAAK,CAACM,IAAN,KAAe,QAD3C,CADF,EAGE;MACA,OAAO,IAAP;IACD;;IAED,MAAMN,KAAN;EACD;AACF"} \ No newline at end of file diff --git a/node_modules/cosmiconfig/dist/types.d.ts b/node_modules/cosmiconfig/dist/types.d.ts deleted file mode 100644 index a7ddb91..0000000 --- a/node_modules/cosmiconfig/dist/types.d.ts +++ /dev/null @@ -1,98 +0,0 @@ -/** - * @public - */ -export type Config = any; -/** - * @public - */ -export type CosmiconfigResult = { - config: Config; - filepath: string; - isEmpty?: boolean; -} | null; -/** - * @public - */ -export type LoaderResult = Config | null; -/** - * @public - */ -export type Loader = ((filepath: string, content: string) => Promise) | LoaderSync; -/** - * @public - */ -export type LoaderSync = (filepath: string, content: string) => LoaderResult; -/** - * @public - */ -export type Transform = ((CosmiconfigResult: CosmiconfigResult) => Promise) | TransformSync; -/** - * @public - */ -export type TransformSync = (CosmiconfigResult: CosmiconfigResult) => CosmiconfigResult; -/** - * @public - */ -export type SearchStrategy = 'none' | 'project' | 'global'; -/** - * @public - */ -export interface CommonOptions { - packageProp?: string | Array; - searchPlaces: Array; - ignoreEmptySearchPlaces: boolean; - stopDir?: string; - cache: boolean; - mergeImportArrays: boolean; - mergeSearchPlaces: boolean; - searchStrategy: SearchStrategy; -} -/** - * @public - */ -export interface Options extends CommonOptions { - loaders: Loaders; - transform: Transform; -} -/** - * @public - */ -export interface OptionsSync extends CommonOptions { - loaders: LoadersSync; - transform: TransformSync; -} -/** - * @public - */ -export interface Loaders { - [key: string]: Loader; -} -/** - * @public - */ -export interface LoadersSync { - [key: string]: LoaderSync; -} -/** - * @public - */ -export interface PublicExplorerBase { - clearLoadCache: () => void; - clearSearchCache: () => void; - clearCaches: () => void; -} -/** - * @public - */ -export interface PublicExplorer extends PublicExplorerBase { - search: (searchFrom?: string) => Promise; - load: (filepath: string) => Promise; -} -/** - * @public - */ -export interface PublicExplorerSync extends PublicExplorerBase { - search: (searchFrom?: string) => CosmiconfigResult; - load: (filepath: string) => CosmiconfigResult; -} -//# sourceMappingURL=types.d.ts.map \ No newline at end of file diff --git a/node_modules/cosmiconfig/dist/types.d.ts.map b/node_modules/cosmiconfig/dist/types.d.ts.map deleted file mode 100644 index f47ddd7..0000000 --- a/node_modules/cosmiconfig/dist/types.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,MAAM,MAAM,MAAM,GAAG,GAAG,CAAC;AAEzB;;GAEG;AACH,MAAM,MAAM,iBAAiB,GAAG;IAC9B,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,GAAG,IAAI,CAAC;AAET;;GAEG;AACH,MAAM,MAAM,YAAY,GAAG,MAAM,GAAG,IAAI,CAAC;AAEzC;;GAEG;AACH,MAAM,MAAM,MAAM,GACd,CAAC,CAAC,QAAQ,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,KAAK,OAAO,CAAC,YAAY,CAAC,CAAC,GAC9D,UAAU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IACjC,cAAc,EAAE,MAAM,IAAI,CAAC;IAC3B,gBAAgB,EAAE,MAAM,IAAI,CAAC;IAC7B,WAAW,EAAE,MAAM,IAAI,CAAC;CACzB;AAED;;GAEG;AACH,MAAM,WAAW,cAAe,SAAQ,kBAAkB;IACxD,MAAM,EAAE,CAAC,UAAU,CAAC,EAAE,MAAM,KAAK,OAAO,CAAC,iBAAiB,CAAC,CAAC;IAC5D,IAAI,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,OAAO,CAAC,iBAAiB,CAAC,CAAC;CACxD;AAED;;GAEG;AACH,MAAM,WAAW,kBAAmB,SAAQ,kBAAkB;IAC5D,MAAM,EAAE,CAAC,UAAU,CAAC,EAAE,MAAM,KAAK,iBAAiB,CAAC;IACnD,IAAI,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,iBAAiB,CAAC;CAC/C"} \ No newline at end of file diff --git a/node_modules/cosmiconfig/dist/types.js b/node_modules/cosmiconfig/dist/types.js deleted file mode 100644 index 11e638d..0000000 --- a/node_modules/cosmiconfig/dist/types.js +++ /dev/null @@ -1,3 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -//# sourceMappingURL=types.js.map \ No newline at end of file diff --git a/node_modules/cosmiconfig/dist/types.js.map b/node_modules/cosmiconfig/dist/types.js.map deleted file mode 100644 index c768b79..0000000 --- a/node_modules/cosmiconfig/dist/types.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"types.js","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/node_modules/cosmiconfig/dist/util.d.ts b/node_modules/cosmiconfig/dist/util.d.ts deleted file mode 100644 index d184935..0000000 --- a/node_modules/cosmiconfig/dist/util.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -export {}; -//# sourceMappingURL=util.d.ts.map \ No newline at end of file diff --git a/node_modules/cosmiconfig/dist/util.d.ts.map b/node_modules/cosmiconfig/dist/util.d.ts.map deleted file mode 100644 index bca9e38..0000000 --- a/node_modules/cosmiconfig/dist/util.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"util.d.ts","sourceRoot":"","sources":["../src/util.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/node_modules/cosmiconfig/dist/util.js b/node_modules/cosmiconfig/dist/util.js deleted file mode 100644 index 987375a..0000000 --- a/node_modules/cosmiconfig/dist/util.js +++ /dev/null @@ -1,99 +0,0 @@ -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { - Object.defineProperty(o, "default", { enumerable: true, value: v }); -}) : function(o, v) { - o["default"] = v; -}); -var __importStar = (this && this.__importStar) || function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); - __setModuleDefault(result, mod); - return result; -}; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.isDirectorySync = exports.isDirectory = exports.removeUndefinedValuesFromObject = exports.getPropertyByPath = exports.emplace = void 0; -const fs_1 = __importStar(require("fs")); -/** - * @internal - */ -function emplace(map, key, fn) { - const cached = map.get(key); - if (cached !== undefined) { - return cached; - } - const result = fn(); - map.set(key, result); - return result; -} -exports.emplace = emplace; -// Resolves property names or property paths defined with period-delimited -// strings or arrays of strings. Property names that are found on the source -// object are used directly (even if they include a period). -// Nested property names that include periods, within a path, are only -// understood in array paths. -/** - * @internal - */ -function getPropertyByPath(source, path) { - if (typeof path === 'string' && - Object.prototype.hasOwnProperty.call(source, path)) { - return source[path]; - } - const parsedPath = typeof path === 'string' ? path.split('.') : path; - // eslint-disable-next-line @typescript-eslint/no-explicit-any - return parsedPath.reduce((previous, key) => { - if (previous === undefined) { - return previous; - } - return previous[key]; - }, source); -} -exports.getPropertyByPath = getPropertyByPath; -/** @internal */ -function removeUndefinedValuesFromObject(options) { - return Object.fromEntries(Object.entries(options).filter(([, value]) => value !== undefined)); -} -exports.removeUndefinedValuesFromObject = removeUndefinedValuesFromObject; -/** @internal */ -/* istanbul ignore next -- @preserve */ -async function isDirectory(path) { - try { - const stat = await fs_1.promises.stat(path); - return stat.isDirectory(); - } - catch (e) { - if (e.code === 'ENOENT') { - return false; - } - throw e; - } -} -exports.isDirectory = isDirectory; -/** @internal */ -/* istanbul ignore next -- @preserve */ -function isDirectorySync(path) { - try { - const stat = fs_1.default.statSync(path); - return stat.isDirectory(); - } - catch (e) { - if (e.code === 'ENOENT') { - return false; - } - throw e; - } -} -exports.isDirectorySync = isDirectorySync; -//# sourceMappingURL=util.js.map \ No newline at end of file diff --git a/node_modules/cosmiconfig/dist/util.js.map b/node_modules/cosmiconfig/dist/util.js.map deleted file mode 100644 index 75004c5..0000000 --- a/node_modules/cosmiconfig/dist/util.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"util.js","sourceRoot":"","sources":["../src/util.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAAyC;AAEzC;;GAEG;AACH,SAAgB,OAAO,CAAO,GAAc,EAAE,GAAM,EAAE,EAAW;IAC/D,MAAM,MAAM,GAAG,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;IAC5B,IAAI,MAAM,KAAK,SAAS,EAAE;QACxB,OAAO,MAAM,CAAC;KACf;IACD,MAAM,MAAM,GAAG,EAAE,EAAE,CAAC;IACpB,GAAG,CAAC,GAAG,CAAC,GAAG,EAAE,MAAM,CAAC,CAAC;IACrB,OAAO,MAAM,CAAC;AAChB,CAAC;AARD,0B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AO,KAAK,CAAC;SACd;QAED,MAAM,CAAC,CAAC;KACT;AACH,CAAC;AAXD,kCAWC;AAED,gBAAgB;AAChB,uCAAuC;AACvC,SAAgB,eAAe,CAAC,IAAY;IAC1C,IAAI;QACF,MAAM,IAAI,GAAG,YAAE,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;QAC/B,OAAO,IAAI,CAAC,WAAW,EAAE,CAAC;KAC3B;IAAC,OAAO,CAAC,EAAE;QACV,IAAI,CAAC,CAAC,IAAI,KAAK,QAAQ,EAAE;YACvB,OAAO,KAAK,CAAC;SACd;QACD,MAAM,CAAC,CAAC;KACT;AACH,CAAC;AAVD,0CAUC"} \ No newline at end of file diff --git a/node_modules/cosmiconfig/package.json b/node_modules/cosmiconfig/package.json deleted file mode 100644 index a3de7f1..0000000 --- a/node_modules/cosmiconfig/package.json +++ /dev/null @@ -1,102 +0,0 @@ -{ - "name": "cosmiconfig", - "version": "9.0.0", - "description": "Find and load configuration from a package.json property, rc file, TypeScript module, and more!", - "main": "dist/index.js", - "types": "dist/index.d.ts", - "files": [ - "dist" - ], - "scripts": { - "clean": "git clean -Xdf -e '!node_modules' .", - "build": "npm run build:tsc", - "build:tsc": "cross-env NODE_ENV=production tsc -b", - "dev": "npm run build:tsc -- --watch", - "lint": "eslint --ext .js,.ts .", - "lint:fix": "eslint --ext .js,.ts . --fix", - "lint:md": "remark-preset-davidtheclark", - "format": "prettier \"**/*.{js,ts,json,yml,yaml}\" --write", - "format:md": "remark-preset-davidtheclark --format", - "format:check": "prettier \"**/*.{js,ts,json,yml,yaml}\" --check", - "test": "vitest run --coverage", - "test:watch": "vitest", - "check:all": "npm run test && npm run lint && npm run format:check", - "prepublishOnly": "npm run check:all && npm run build", - "prepare": "husky install" - }, - "lint-staged": { - "*.{js,ts}": [ - "eslint --fix", - "prettier --write" - ], - "*.{json,yml,yaml}": [ - "prettier --write" - ], - "*.md": [ - "remark-preset-davidtheclark", - "remark-preset-davidtheclark --format" - ] - }, - "repository": { - "type": "git", - "url": "git+https://github.com/cosmiconfig/cosmiconfig.git" - }, - "keywords": [ - "load", - "configuration", - "config" - ], - "author": "Daniel Fischer ", - "contributors": [ - "Randolf J ", - "David Clark ", - "Bogdan Chadkin ", - "Suhas Karanth " - ], - "funding": "https://github.com/sponsors/d-fischer", - "license": "MIT", - "bugs": { - "url": "https://github.com/cosmiconfig/cosmiconfig/issues" - }, - "homepage": "https://github.com/cosmiconfig/cosmiconfig#readme", - "peerDependencies": { - "typescript": ">=4.9.5" - }, - "peerDependenciesMeta": { - "typescript": { - "optional": true - } - }, - "dependencies": { - "env-paths": "^2.2.1", - "import-fresh": "^3.3.0", - "js-yaml": "^4.1.0", - "parse-json": "^5.2.0" - }, - "devDependencies": { - "@types/js-yaml": "^4.0.5", - "@types/node": "^14", - "@types/parse-json": "^4.0.0", - "@typescript-eslint/eslint-plugin": "^6.5.0", - "@typescript-eslint/parser": "^6.5.0", - "@vitest/coverage-istanbul": "^0.34.3", - "cross-env": "^7.0.3", - "eslint": "^8.48.0", - "eslint-config-davidtheclark-node": "^0.2.2", - "eslint-config-prettier": "^9.0.0", - "eslint-import-resolver-typescript": "^3.6.0", - "eslint-plugin-import": "^2.28.1", - "eslint-plugin-node": "^11.1.0", - "eslint-plugin-vitest": "^0.2.8", - "husky": "^8.0.3", - "lint-staged": "^14.0.1", - "parent-module": "^3.0.0", - "prettier": "^3.0.3", - "remark-preset-davidtheclark": "^0.12.0", - "typescript": "^5.2.2", - "vitest": "^0.34.3" - }, - "engines": { - "node": ">=14" - } -} diff --git a/node_modules/cross-fetch/CHANGELOG.md b/node_modules/cross-fetch/CHANGELOG.md deleted file mode 100644 index 2e432a6..0000000 --- a/node_modules/cross-fetch/CHANGELOG.md +++ /dev/null @@ -1,5 +0,0 @@ -# Changelog - -All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. - -## [4.0.0](https://github.com/lquixada/cross-fetch/compare/v4.0.0-alpha.13...v4.0.0) (2023-07-03) diff --git a/node_modules/cross-fetch/LICENSE b/node_modules/cross-fetch/LICENSE deleted file mode 100644 index 9198b86..0000000 --- a/node_modules/cross-fetch/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -The MIT License (MIT) - -Copyright (c) 2017 Leonardo Quixadá - -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. diff --git a/node_modules/cross-fetch/README.md b/node_modules/cross-fetch/README.md deleted file mode 100644 index 5e38a16..0000000 --- a/node_modules/cross-fetch/README.md +++ /dev/null @@ -1,165 +0,0 @@ -cross-fetch
-[![NPM Version](https://img.shields.io/npm/v/cross-fetch.svg?branch=main)](https://www.npmjs.com/package/cross-fetch) -[![Downloads Per Week](https://img.shields.io/npm/dw/cross-fetch.svg?color=blue)](https://www.npmjs.com/package/cross-fetch) -[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT) -[![CI](https://github.com/lquixada/cross-fetch/actions/workflows/ci.yml/badge.svg)](https://github.com/lquixada/cross-fetch/actions/workflows/ci.yml) -[![codecov](https://codecov.io/gh/lquixada/cross-fetch/branch/main/graph/badge.svg)](https://codecov.io/gh/lquixada/cross-fetch) -================ - -Universal WHATWG Fetch API for Node, Browsers, Workers and React Native. The scenario that cross-fetch really shines is when the same JavaScript codebase needs to run on different platforms. - -- **Platform agnostic**: browsers, Node or React Native -- **Optional polyfill**: it's up to you if something is going to be added to the global object or not -- **Simple interface**: no instantiation, no configuration and no extra dependency -- **WHATWG compliant**: it works the same way wherever your code runs -- **TypeScript support**: better development experience with types. -- **Worker support**: works on different types of workers such as Service Workers and CloudFlare Workers - - -* * * - -## Table of Contents - -- [Table of Contents](#table-of-contents) -- [Install](#install) -- [Usage](#usage) -- [Demo \& API](#demo--api) -- [FAQ](#faq) - - [Yet another fetch library?](#yet-another-fetch-library) - - [Why polyfill might not be a good idea?](#why-polyfill-might-not-be-a-good-idea) - - [How does cross-fetch work?](#how-does-cross-fetch-work) -- [Who's Using It?](#whos-using-it) -- [Thanks](#thanks) -- [License](#license) -- [Author](#author) - -* * * - -## Install - -```sh -npm install --save cross-fetch -``` - -As a [ponyfill](https://github.com/sindresorhus/ponyfill) (imports locally): - -```javascript -// Using ES6 modules with Babel or TypeScript -import fetch from 'cross-fetch'; - -// Using CommonJS modules -const fetch = require('cross-fetch'); -``` - -As a polyfill (installs globally): - -```javascript -// Using ES6 modules -import 'cross-fetch/polyfill'; - -// Using CommonJS modules -require('cross-fetch/polyfill'); -``` - - -The CDN build is also available on unpkg: - -```html - -``` - -This adds the fetch function to the window object. Note that this is not UMD compatible. - - -* * * - -## Usage - -With [promises](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise): - -```javascript -import fetch from 'cross-fetch'; -// Or just: import 'cross-fetch/polyfill'; - -fetch('//api.github.com/users/lquixada') - .then(res => { - if (res.status >= 400) { - throw new Error("Bad response from server"); - } - return res.json(); - }) - .then(user => { - console.log(user); - }) - .catch(err => { - console.error(err); - }); -``` - -With [async/await](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/async_function): - -```javascript -import fetch from 'cross-fetch'; -// Or just: import 'cross-fetch/polyfill'; - -(async () => { - try { - const res = await fetch('//api.github.com/users/lquixada'); - - if (res.status >= 400) { - throw new Error("Bad response from server"); - } - - const user = await res.json(); - - console.log(user); - } catch (err) { - console.error(err); - } -})(); -``` - -## Demo & API - -You can find a comprehensive doc at [Github's fetch](https://github.github.io/fetch/) page. If you want to play with cross-fetch, check our [**JSFiddle playground**](https://jsfiddle.net/lquixada/3ypqgacp/). - -> **Tip**: Run the fiddle on various browsers and with different settings (for instance: cross-domain requests, wrong urls or text requests). Don't forget to open the console in the test suite page and play around. - - -## FAQ - -#### Yet another fetch library? - -I did a lot of research in order to find a fetch library that could be simple, cross-platform and provide polyfill as an option. There's a plethora of libs out there but none could match those requirements. - -#### Why polyfill might not be a good idea? - -In a word? Risk. If the spec changes in the future, it might be problematic to debug. Read more about it on [sindresorhus's ponyfill](https://github.com/sindresorhus/ponyfill#how-are-ponyfills-better-than-polyfills) page. It's up to you if you're fine with it or not. - -#### How does cross-fetch work? - -Just like isomorphic-fetch, it is just a proxy. If you're in node, it delivers you the [node-fetch](https://github.com/bitinn/node-fetch/) library, if you're in a browser or React Native, it delivers you the github's [whatwg-fetch](https://github.com/github/fetch/). The same strategy applies whether you're using polyfill or ponyfill. - - -## Who's Using It? - -|[![The New York Times](./docs/images/logo-nytimes.png)](https://www.nytimes.com/)|[![Apollo GraphQL](./docs/images/logo-apollo.png)](https://github.com/apollographql/apollo-client/)|[![Facebook](./docs/images/logo-facebook.png)](https://github.com/facebook/fbjs/)|[![Swagger](./docs/images/logo-swagger.png)](https://swagger.io/)|[![VulcanJS](./docs/images/logo-vulcanjs.png)](http://vulcanjs.org)|[![graphql-request](./docs/images/logo-graphql-request.png)](https://github.com/prisma/graphql-request)| -|:---:|:---:|:---:|:---:|:---:|:---:| -|The New York Times|Apollo GraphQL|Facebook|Swagger|VulcanJS|graphql-request| - - -## Thanks - -Heavily inspired by the works of [matthew-andrews](https://github.com/matthew-andrews). Kudos to him! - - -## License - -cross-fetch is licensed under the [MIT license](https://github.com/lquixada/cross-fetch/blob/main/LICENSE) © [Leonardo Quixadá](https://twitter.com/lquixada/) - - -## Author - -|[![@lquixada](https://avatars0.githubusercontent.com/u/195494?v=4&s=96)](https://github.com/lquixada)| -|:---:| -|[@lquixada](http://www.github.com/lquixada)| diff --git a/node_modules/cross-fetch/dist/browser-polyfill.js b/node_modules/cross-fetch/dist/browser-polyfill.js deleted file mode 100644 index 74c42c0..0000000 --- a/node_modules/cross-fetch/dist/browser-polyfill.js +++ /dev/null @@ -1,619 +0,0 @@ -(function(self) { - -var irrelevant = (function (exports) { - - var global = - (typeof globalThis !== 'undefined' && globalThis) || - (typeof self !== 'undefined' && self) || - (typeof global !== 'undefined' && global); - - var support = { - searchParams: 'URLSearchParams' in global, - iterable: 'Symbol' in global && 'iterator' in Symbol, - blob: - 'FileReader' in global && - 'Blob' in global && - (function() { - try { - new Blob(); - return true - } catch (e) { - return false - } - })(), - formData: 'FormData' in global, - arrayBuffer: 'ArrayBuffer' in global - }; - - function isDataView(obj) { - return obj && DataView.prototype.isPrototypeOf(obj) - } - - if (support.arrayBuffer) { - var viewClasses = [ - '[object Int8Array]', - '[object Uint8Array]', - '[object Uint8ClampedArray]', - '[object Int16Array]', - '[object Uint16Array]', - '[object Int32Array]', - '[object Uint32Array]', - '[object Float32Array]', - '[object Float64Array]' - ]; - - var isArrayBufferView = - ArrayBuffer.isView || - function(obj) { - return obj && viewClasses.indexOf(Object.prototype.toString.call(obj)) > -1 - }; - } - - function normalizeName(name) { - if (typeof name !== 'string') { - name = String(name); - } - if (/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(name) || name === '') { - throw new TypeError('Invalid character in header field name: "' + name + '"') - } - return name.toLowerCase() - } - - function normalizeValue(value) { - if (typeof value !== 'string') { - value = String(value); - } - return value - } - - // Build a destructive iterator for the value list - function iteratorFor(items) { - var iterator = { - next: function() { - var value = items.shift(); - return {done: value === undefined, value: value} - } - }; - - if (support.iterable) { - iterator[Symbol.iterator] = function() { - return iterator - }; - } - - return iterator - } - - function Headers(headers) { - this.map = {}; - - if (headers instanceof Headers) { - headers.forEach(function(value, name) { - this.append(name, value); - }, this); - } else if (Array.isArray(headers)) { - headers.forEach(function(header) { - this.append(header[0], header[1]); - }, this); - } else if (headers) { - Object.getOwnPropertyNames(headers).forEach(function(name) { - this.append(name, headers[name]); - }, this); - } - } - - Headers.prototype.append = function(name, value) { - name = normalizeName(name); - value = normalizeValue(value); - var oldValue = this.map[name]; - this.map[name] = oldValue ? oldValue + ', ' + value : value; - }; - - Headers.prototype['delete'] = function(name) { - delete this.map[normalizeName(name)]; - }; - - Headers.prototype.get = function(name) { - name = normalizeName(name); - return this.has(name) ? this.map[name] : null - }; - - Headers.prototype.has = function(name) { - return this.map.hasOwnProperty(normalizeName(name)) - }; - - Headers.prototype.set = function(name, value) { - this.map[normalizeName(name)] = normalizeValue(value); - }; - - Headers.prototype.forEach = function(callback, thisArg) { - for (var name in this.map) { - if (this.map.hasOwnProperty(name)) { - callback.call(thisArg, this.map[name], name, this); - } - } - }; - - Headers.prototype.keys = function() { - var items = []; - this.forEach(function(value, name) { - items.push(name); - }); - return iteratorFor(items) - }; - - Headers.prototype.values = function() { - var items = []; - this.forEach(function(value) { - items.push(value); - }); - return iteratorFor(items) - }; - - Headers.prototype.entries = function() { - var items = []; - this.forEach(function(value, name) { - items.push([name, value]); - }); - return iteratorFor(items) - }; - - if (support.iterable) { - Headers.prototype[Symbol.iterator] = Headers.prototype.entries; - } - - function consumed(body) { - if (body.bodyUsed) { - return Promise.reject(new TypeError('Already read')) - } - body.bodyUsed = true; - } - - function fileReaderReady(reader) { - return new Promise(function(resolve, reject) { - reader.onload = function() { - resolve(reader.result); - }; - reader.onerror = function() { - reject(reader.error); - }; - }) - } - - function readBlobAsArrayBuffer(blob) { - var reader = new FileReader(); - var promise = fileReaderReady(reader); - reader.readAsArrayBuffer(blob); - return promise - } - - function readBlobAsText(blob) { - var reader = new FileReader(); - var promise = fileReaderReady(reader); - reader.readAsText(blob); - return promise - } - - function readArrayBufferAsText(buf) { - var view = new Uint8Array(buf); - var chars = new Array(view.length); - - for (var i = 0; i < view.length; i++) { - chars[i] = String.fromCharCode(view[i]); - } - return chars.join('') - } - - function bufferClone(buf) { - if (buf.slice) { - return buf.slice(0) - } else { - var view = new Uint8Array(buf.byteLength); - view.set(new Uint8Array(buf)); - return view.buffer - } - } - - function Body() { - this.bodyUsed = false; - - this._initBody = function(body) { - /* - fetch-mock wraps the Response object in an ES6 Proxy to - provide useful test harness features such as flush. However, on - ES5 browsers without fetch or Proxy support pollyfills must be used; - the proxy-pollyfill is unable to proxy an attribute unless it exists - on the object before the Proxy is created. This change ensures - Response.bodyUsed exists on the instance, while maintaining the - semantic of setting Request.bodyUsed in the constructor before - _initBody is called. - */ - this.bodyUsed = this.bodyUsed; - this._bodyInit = body; - if (!body) { - this._bodyText = ''; - } else if (typeof body === 'string') { - this._bodyText = body; - } else if (support.blob && Blob.prototype.isPrototypeOf(body)) { - this._bodyBlob = body; - } else if (support.formData && FormData.prototype.isPrototypeOf(body)) { - this._bodyFormData = body; - } else if (support.searchParams && URLSearchParams.prototype.isPrototypeOf(body)) { - this._bodyText = body.toString(); - } else if (support.arrayBuffer && support.blob && isDataView(body)) { - this._bodyArrayBuffer = bufferClone(body.buffer); - // IE 10-11 can't handle a DataView body. - this._bodyInit = new Blob([this._bodyArrayBuffer]); - } else if (support.arrayBuffer && (ArrayBuffer.prototype.isPrototypeOf(body) || isArrayBufferView(body))) { - this._bodyArrayBuffer = bufferClone(body); - } else { - this._bodyText = body = Object.prototype.toString.call(body); - } - - if (!this.headers.get('content-type')) { - if (typeof body === 'string') { - this.headers.set('content-type', 'text/plain;charset=UTF-8'); - } else if (this._bodyBlob && this._bodyBlob.type) { - this.headers.set('content-type', this._bodyBlob.type); - } else if (support.searchParams && URLSearchParams.prototype.isPrototypeOf(body)) { - this.headers.set('content-type', 'application/x-www-form-urlencoded;charset=UTF-8'); - } - } - }; - - if (support.blob) { - this.blob = function() { - var rejected = consumed(this); - if (rejected) { - return rejected - } - - if (this._bodyBlob) { - return Promise.resolve(this._bodyBlob) - } else if (this._bodyArrayBuffer) { - return Promise.resolve(new Blob([this._bodyArrayBuffer])) - } else if (this._bodyFormData) { - throw new Error('could not read FormData body as blob') - } else { - return Promise.resolve(new Blob([this._bodyText])) - } - }; - - this.arrayBuffer = function() { - if (this._bodyArrayBuffer) { - var isConsumed = consumed(this); - if (isConsumed) { - return isConsumed - } - if (ArrayBuffer.isView(this._bodyArrayBuffer)) { - return Promise.resolve( - this._bodyArrayBuffer.buffer.slice( - this._bodyArrayBuffer.byteOffset, - this._bodyArrayBuffer.byteOffset + this._bodyArrayBuffer.byteLength - ) - ) - } else { - return Promise.resolve(this._bodyArrayBuffer) - } - } else { - return this.blob().then(readBlobAsArrayBuffer) - } - }; - } - - this.text = function() { - var rejected = consumed(this); - if (rejected) { - return rejected - } - - if (this._bodyBlob) { - return readBlobAsText(this._bodyBlob) - } else if (this._bodyArrayBuffer) { - return Promise.resolve(readArrayBufferAsText(this._bodyArrayBuffer)) - } else if (this._bodyFormData) { - throw new Error('could not read FormData body as text') - } else { - return Promise.resolve(this._bodyText) - } - }; - - if (support.formData) { - this.formData = function() { - return this.text().then(decode) - }; - } - - this.json = function() { - return this.text().then(JSON.parse) - }; - - return this - } - - // HTTP methods whose capitalization should be normalized - var methods = ['DELETE', 'GET', 'HEAD', 'OPTIONS', 'POST', 'PUT']; - - function normalizeMethod(method) { - var upcased = method.toUpperCase(); - return methods.indexOf(upcased) > -1 ? upcased : method - } - - function Request(input, options) { - if (!(this instanceof Request)) { - throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.') - } - - options = options || {}; - var body = options.body; - - if (input instanceof Request) { - if (input.bodyUsed) { - throw new TypeError('Already read') - } - this.url = input.url; - this.credentials = input.credentials; - if (!options.headers) { - this.headers = new Headers(input.headers); - } - this.method = input.method; - this.mode = input.mode; - this.signal = input.signal; - if (!body && input._bodyInit != null) { - body = input._bodyInit; - input.bodyUsed = true; - } - } else { - this.url = String(input); - } - - this.credentials = options.credentials || this.credentials || 'same-origin'; - if (options.headers || !this.headers) { - this.headers = new Headers(options.headers); - } - this.method = normalizeMethod(options.method || this.method || 'GET'); - this.mode = options.mode || this.mode || null; - this.signal = options.signal || this.signal; - this.referrer = null; - - if ((this.method === 'GET' || this.method === 'HEAD') && body) { - throw new TypeError('Body not allowed for GET or HEAD requests') - } - this._initBody(body); - - if (this.method === 'GET' || this.method === 'HEAD') { - if (options.cache === 'no-store' || options.cache === 'no-cache') { - // Search for a '_' parameter in the query string - var reParamSearch = /([?&])_=[^&]*/; - if (reParamSearch.test(this.url)) { - // If it already exists then set the value with the current time - this.url = this.url.replace(reParamSearch, '$1_=' + new Date().getTime()); - } else { - // Otherwise add a new '_' parameter to the end with the current time - var reQueryString = /\?/; - this.url += (reQueryString.test(this.url) ? '&' : '?') + '_=' + new Date().getTime(); - } - } - } - } - - Request.prototype.clone = function() { - return new Request(this, {body: this._bodyInit}) - }; - - function decode(body) { - var form = new FormData(); - body - .trim() - .split('&') - .forEach(function(bytes) { - if (bytes) { - var split = bytes.split('='); - var name = split.shift().replace(/\+/g, ' '); - var value = split.join('=').replace(/\+/g, ' '); - form.append(decodeURIComponent(name), decodeURIComponent(value)); - } - }); - return form - } - - function parseHeaders(rawHeaders) { - var headers = new Headers(); - // Replace instances of \r\n and \n followed by at least one space or horizontal tab with a space - // https://tools.ietf.org/html/rfc7230#section-3.2 - var preProcessedHeaders = rawHeaders.replace(/\r?\n[\t ]+/g, ' '); - // Avoiding split via regex to work around a common IE11 bug with the core-js 3.6.0 regex polyfill - // https://github.com/github/fetch/issues/748 - // https://github.com/zloirock/core-js/issues/751 - preProcessedHeaders - .split('\r') - .map(function(header) { - return header.indexOf('\n') === 0 ? header.substr(1, header.length) : header - }) - .forEach(function(line) { - var parts = line.split(':'); - var key = parts.shift().trim(); - if (key) { - var value = parts.join(':').trim(); - headers.append(key, value); - } - }); - return headers - } - - Body.call(Request.prototype); - - function Response(bodyInit, options) { - if (!(this instanceof Response)) { - throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.') - } - if (!options) { - options = {}; - } - - this.type = 'default'; - this.status = options.status === undefined ? 200 : options.status; - this.ok = this.status >= 200 && this.status < 300; - this.statusText = options.statusText === undefined ? '' : '' + options.statusText; - this.headers = new Headers(options.headers); - this.url = options.url || ''; - this._initBody(bodyInit); - } - - Body.call(Response.prototype); - - Response.prototype.clone = function() { - return new Response(this._bodyInit, { - status: this.status, - statusText: this.statusText, - headers: new Headers(this.headers), - url: this.url - }) - }; - - Response.error = function() { - var response = new Response(null, {status: 0, statusText: ''}); - response.type = 'error'; - return response - }; - - var redirectStatuses = [301, 302, 303, 307, 308]; - - Response.redirect = function(url, status) { - if (redirectStatuses.indexOf(status) === -1) { - throw new RangeError('Invalid status code') - } - - return new Response(null, {status: status, headers: {location: url}}) - }; - - exports.DOMException = global.DOMException; - try { - new exports.DOMException(); - } catch (err) { - exports.DOMException = function(message, name) { - this.message = message; - this.name = name; - var error = Error(message); - this.stack = error.stack; - }; - exports.DOMException.prototype = Object.create(Error.prototype); - exports.DOMException.prototype.constructor = exports.DOMException; - } - - function fetch(input, init) { - return new Promise(function(resolve, reject) { - var request = new Request(input, init); - - if (request.signal && request.signal.aborted) { - return reject(new exports.DOMException('Aborted', 'AbortError')) - } - - var xhr = new XMLHttpRequest(); - - function abortXhr() { - xhr.abort(); - } - - xhr.onload = function() { - var options = { - status: xhr.status, - statusText: xhr.statusText, - headers: parseHeaders(xhr.getAllResponseHeaders() || '') - }; - options.url = 'responseURL' in xhr ? xhr.responseURL : options.headers.get('X-Request-URL'); - var body = 'response' in xhr ? xhr.response : xhr.responseText; - setTimeout(function() { - resolve(new Response(body, options)); - }, 0); - }; - - xhr.onerror = function() { - setTimeout(function() { - reject(new TypeError('Network request failed')); - }, 0); - }; - - xhr.ontimeout = function() { - setTimeout(function() { - reject(new TypeError('Network request failed')); - }, 0); - }; - - xhr.onabort = function() { - setTimeout(function() { - reject(new exports.DOMException('Aborted', 'AbortError')); - }, 0); - }; - - function fixUrl(url) { - try { - return url === '' && global.location.href ? global.location.href : url - } catch (e) { - return url - } - } - - xhr.open(request.method, fixUrl(request.url), true); - - if (request.credentials === 'include') { - xhr.withCredentials = true; - } else if (request.credentials === 'omit') { - xhr.withCredentials = false; - } - - if ('responseType' in xhr) { - if (support.blob) { - xhr.responseType = 'blob'; - } else if ( - support.arrayBuffer && - request.headers.get('Content-Type') && - request.headers.get('Content-Type').indexOf('application/octet-stream') !== -1 - ) { - xhr.responseType = 'arraybuffer'; - } - } - - if (init && typeof init.headers === 'object' && !(init.headers instanceof Headers)) { - Object.getOwnPropertyNames(init.headers).forEach(function(name) { - xhr.setRequestHeader(name, normalizeValue(init.headers[name])); - }); - } else { - request.headers.forEach(function(value, name) { - xhr.setRequestHeader(name, value); - }); - } - - if (request.signal) { - request.signal.addEventListener('abort', abortXhr); - - xhr.onreadystatechange = function() { - // DONE (success or failure) - if (xhr.readyState === 4) { - request.signal.removeEventListener('abort', abortXhr); - } - }; - } - - xhr.send(typeof request._bodyInit === 'undefined' ? null : request._bodyInit); - }) - } - - fetch.polyfill = true; - - if (!global.fetch) { - global.fetch = fetch; - global.Headers = Headers; - global.Request = Request; - global.Response = Response; - } - - exports.Headers = Headers; - exports.Request = Request; - exports.Response = Response; - exports.fetch = fetch; - - return exports; - -})({}); -})(typeof self !== 'undefined' ? self : this); diff --git a/node_modules/cross-fetch/dist/browser-ponyfill.js b/node_modules/cross-fetch/dist/browser-ponyfill.js deleted file mode 100644 index 6ecf75a..0000000 --- a/node_modules/cross-fetch/dist/browser-ponyfill.js +++ /dev/null @@ -1,647 +0,0 @@ -// Save global object in a variable -var __global__ = -(typeof globalThis !== 'undefined' && globalThis) || -(typeof self !== 'undefined' && self) || -(typeof global !== 'undefined' && global); -// Create an object that extends from __global__ without the fetch function -var __globalThis__ = (function () { -function F() { -this.fetch = false; -this.DOMException = __global__.DOMException -} -F.prototype = __global__; // Needed for feature detection on whatwg-fetch's code -return new F(); -})(); -// Wraps whatwg-fetch with a function scope to hijack the global object -// "globalThis" that's going to be patched -(function(globalThis) { - -var irrelevant = (function (exports) { - - var global = - (typeof globalThis !== 'undefined' && globalThis) || - (typeof self !== 'undefined' && self) || - (typeof global !== 'undefined' && global); - - var support = { - searchParams: 'URLSearchParams' in global, - iterable: 'Symbol' in global && 'iterator' in Symbol, - blob: - 'FileReader' in global && - 'Blob' in global && - (function() { - try { - new Blob(); - return true - } catch (e) { - return false - } - })(), - formData: 'FormData' in global, - arrayBuffer: 'ArrayBuffer' in global - }; - - function isDataView(obj) { - return obj && DataView.prototype.isPrototypeOf(obj) - } - - if (support.arrayBuffer) { - var viewClasses = [ - '[object Int8Array]', - '[object Uint8Array]', - '[object Uint8ClampedArray]', - '[object Int16Array]', - '[object Uint16Array]', - '[object Int32Array]', - '[object Uint32Array]', - '[object Float32Array]', - '[object Float64Array]' - ]; - - var isArrayBufferView = - ArrayBuffer.isView || - function(obj) { - return obj && viewClasses.indexOf(Object.prototype.toString.call(obj)) > -1 - }; - } - - function normalizeName(name) { - if (typeof name !== 'string') { - name = String(name); - } - if (/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(name) || name === '') { - throw new TypeError('Invalid character in header field name: "' + name + '"') - } - return name.toLowerCase() - } - - function normalizeValue(value) { - if (typeof value !== 'string') { - value = String(value); - } - return value - } - - // Build a destructive iterator for the value list - function iteratorFor(items) { - var iterator = { - next: function() { - var value = items.shift(); - return {done: value === undefined, value: value} - } - }; - - if (support.iterable) { - iterator[Symbol.iterator] = function() { - return iterator - }; - } - - return iterator - } - - function Headers(headers) { - this.map = {}; - - if (headers instanceof Headers) { - headers.forEach(function(value, name) { - this.append(name, value); - }, this); - } else if (Array.isArray(headers)) { - headers.forEach(function(header) { - this.append(header[0], header[1]); - }, this); - } else if (headers) { - Object.getOwnPropertyNames(headers).forEach(function(name) { - this.append(name, headers[name]); - }, this); - } - } - - Headers.prototype.append = function(name, value) { - name = normalizeName(name); - value = normalizeValue(value); - var oldValue = this.map[name]; - this.map[name] = oldValue ? oldValue + ', ' + value : value; - }; - - Headers.prototype['delete'] = function(name) { - delete this.map[normalizeName(name)]; - }; - - Headers.prototype.get = function(name) { - name = normalizeName(name); - return this.has(name) ? this.map[name] : null - }; - - Headers.prototype.has = function(name) { - return this.map.hasOwnProperty(normalizeName(name)) - }; - - Headers.prototype.set = function(name, value) { - this.map[normalizeName(name)] = normalizeValue(value); - }; - - Headers.prototype.forEach = function(callback, thisArg) { - for (var name in this.map) { - if (this.map.hasOwnProperty(name)) { - callback.call(thisArg, this.map[name], name, this); - } - } - }; - - Headers.prototype.keys = function() { - var items = []; - this.forEach(function(value, name) { - items.push(name); - }); - return iteratorFor(items) - }; - - Headers.prototype.values = function() { - var items = []; - this.forEach(function(value) { - items.push(value); - }); - return iteratorFor(items) - }; - - Headers.prototype.entries = function() { - var items = []; - this.forEach(function(value, name) { - items.push([name, value]); - }); - return iteratorFor(items) - }; - - if (support.iterable) { - Headers.prototype[Symbol.iterator] = Headers.prototype.entries; - } - - function consumed(body) { - if (body.bodyUsed) { - return Promise.reject(new TypeError('Already read')) - } - body.bodyUsed = true; - } - - function fileReaderReady(reader) { - return new Promise(function(resolve, reject) { - reader.onload = function() { - resolve(reader.result); - }; - reader.onerror = function() { - reject(reader.error); - }; - }) - } - - function readBlobAsArrayBuffer(blob) { - var reader = new FileReader(); - var promise = fileReaderReady(reader); - reader.readAsArrayBuffer(blob); - return promise - } - - function readBlobAsText(blob) { - var reader = new FileReader(); - var promise = fileReaderReady(reader); - reader.readAsText(blob); - return promise - } - - function readArrayBufferAsText(buf) { - var view = new Uint8Array(buf); - var chars = new Array(view.length); - - for (var i = 0; i < view.length; i++) { - chars[i] = String.fromCharCode(view[i]); - } - return chars.join('') - } - - function bufferClone(buf) { - if (buf.slice) { - return buf.slice(0) - } else { - var view = new Uint8Array(buf.byteLength); - view.set(new Uint8Array(buf)); - return view.buffer - } - } - - function Body() { - this.bodyUsed = false; - - this._initBody = function(body) { - /* - fetch-mock wraps the Response object in an ES6 Proxy to - provide useful test harness features such as flush. However, on - ES5 browsers without fetch or Proxy support pollyfills must be used; - the proxy-pollyfill is unable to proxy an attribute unless it exists - on the object before the Proxy is created. This change ensures - Response.bodyUsed exists on the instance, while maintaining the - semantic of setting Request.bodyUsed in the constructor before - _initBody is called. - */ - this.bodyUsed = this.bodyUsed; - this._bodyInit = body; - if (!body) { - this._bodyText = ''; - } else if (typeof body === 'string') { - this._bodyText = body; - } else if (support.blob && Blob.prototype.isPrototypeOf(body)) { - this._bodyBlob = body; - } else if (support.formData && FormData.prototype.isPrototypeOf(body)) { - this._bodyFormData = body; - } else if (support.searchParams && URLSearchParams.prototype.isPrototypeOf(body)) { - this._bodyText = body.toString(); - } else if (support.arrayBuffer && support.blob && isDataView(body)) { - this._bodyArrayBuffer = bufferClone(body.buffer); - // IE 10-11 can't handle a DataView body. - this._bodyInit = new Blob([this._bodyArrayBuffer]); - } else if (support.arrayBuffer && (ArrayBuffer.prototype.isPrototypeOf(body) || isArrayBufferView(body))) { - this._bodyArrayBuffer = bufferClone(body); - } else { - this._bodyText = body = Object.prototype.toString.call(body); - } - - if (!this.headers.get('content-type')) { - if (typeof body === 'string') { - this.headers.set('content-type', 'text/plain;charset=UTF-8'); - } else if (this._bodyBlob && this._bodyBlob.type) { - this.headers.set('content-type', this._bodyBlob.type); - } else if (support.searchParams && URLSearchParams.prototype.isPrototypeOf(body)) { - this.headers.set('content-type', 'application/x-www-form-urlencoded;charset=UTF-8'); - } - } - }; - - if (support.blob) { - this.blob = function() { - var rejected = consumed(this); - if (rejected) { - return rejected - } - - if (this._bodyBlob) { - return Promise.resolve(this._bodyBlob) - } else if (this._bodyArrayBuffer) { - return Promise.resolve(new Blob([this._bodyArrayBuffer])) - } else if (this._bodyFormData) { - throw new Error('could not read FormData body as blob') - } else { - return Promise.resolve(new Blob([this._bodyText])) - } - }; - - this.arrayBuffer = function() { - if (this._bodyArrayBuffer) { - var isConsumed = consumed(this); - if (isConsumed) { - return isConsumed - } - if (ArrayBuffer.isView(this._bodyArrayBuffer)) { - return Promise.resolve( - this._bodyArrayBuffer.buffer.slice( - this._bodyArrayBuffer.byteOffset, - this._bodyArrayBuffer.byteOffset + this._bodyArrayBuffer.byteLength - ) - ) - } else { - return Promise.resolve(this._bodyArrayBuffer) - } - } else { - return this.blob().then(readBlobAsArrayBuffer) - } - }; - } - - this.text = function() { - var rejected = consumed(this); - if (rejected) { - return rejected - } - - if (this._bodyBlob) { - return readBlobAsText(this._bodyBlob) - } else if (this._bodyArrayBuffer) { - return Promise.resolve(readArrayBufferAsText(this._bodyArrayBuffer)) - } else if (this._bodyFormData) { - throw new Error('could not read FormData body as text') - } else { - return Promise.resolve(this._bodyText) - } - }; - - if (support.formData) { - this.formData = function() { - return this.text().then(decode) - }; - } - - this.json = function() { - return this.text().then(JSON.parse) - }; - - return this - } - - // HTTP methods whose capitalization should be normalized - var methods = ['DELETE', 'GET', 'HEAD', 'OPTIONS', 'POST', 'PUT']; - - function normalizeMethod(method) { - var upcased = method.toUpperCase(); - return methods.indexOf(upcased) > -1 ? upcased : method - } - - function Request(input, options) { - if (!(this instanceof Request)) { - throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.') - } - - options = options || {}; - var body = options.body; - - if (input instanceof Request) { - if (input.bodyUsed) { - throw new TypeError('Already read') - } - this.url = input.url; - this.credentials = input.credentials; - if (!options.headers) { - this.headers = new Headers(input.headers); - } - this.method = input.method; - this.mode = input.mode; - this.signal = input.signal; - if (!body && input._bodyInit != null) { - body = input._bodyInit; - input.bodyUsed = true; - } - } else { - this.url = String(input); - } - - this.credentials = options.credentials || this.credentials || 'same-origin'; - if (options.headers || !this.headers) { - this.headers = new Headers(options.headers); - } - this.method = normalizeMethod(options.method || this.method || 'GET'); - this.mode = options.mode || this.mode || null; - this.signal = options.signal || this.signal; - this.referrer = null; - - if ((this.method === 'GET' || this.method === 'HEAD') && body) { - throw new TypeError('Body not allowed for GET or HEAD requests') - } - this._initBody(body); - - if (this.method === 'GET' || this.method === 'HEAD') { - if (options.cache === 'no-store' || options.cache === 'no-cache') { - // Search for a '_' parameter in the query string - var reParamSearch = /([?&])_=[^&]*/; - if (reParamSearch.test(this.url)) { - // If it already exists then set the value with the current time - this.url = this.url.replace(reParamSearch, '$1_=' + new Date().getTime()); - } else { - // Otherwise add a new '_' parameter to the end with the current time - var reQueryString = /\?/; - this.url += (reQueryString.test(this.url) ? '&' : '?') + '_=' + new Date().getTime(); - } - } - } - } - - Request.prototype.clone = function() { - return new Request(this, {body: this._bodyInit}) - }; - - function decode(body) { - var form = new FormData(); - body - .trim() - .split('&') - .forEach(function(bytes) { - if (bytes) { - var split = bytes.split('='); - var name = split.shift().replace(/\+/g, ' '); - var value = split.join('=').replace(/\+/g, ' '); - form.append(decodeURIComponent(name), decodeURIComponent(value)); - } - }); - return form - } - - function parseHeaders(rawHeaders) { - var headers = new Headers(); - // Replace instances of \r\n and \n followed by at least one space or horizontal tab with a space - // https://tools.ietf.org/html/rfc7230#section-3.2 - var preProcessedHeaders = rawHeaders.replace(/\r?\n[\t ]+/g, ' '); - // Avoiding split via regex to work around a common IE11 bug with the core-js 3.6.0 regex polyfill - // https://github.com/github/fetch/issues/748 - // https://github.com/zloirock/core-js/issues/751 - preProcessedHeaders - .split('\r') - .map(function(header) { - return header.indexOf('\n') === 0 ? header.substr(1, header.length) : header - }) - .forEach(function(line) { - var parts = line.split(':'); - var key = parts.shift().trim(); - if (key) { - var value = parts.join(':').trim(); - headers.append(key, value); - } - }); - return headers - } - - Body.call(Request.prototype); - - function Response(bodyInit, options) { - if (!(this instanceof Response)) { - throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.') - } - if (!options) { - options = {}; - } - - this.type = 'default'; - this.status = options.status === undefined ? 200 : options.status; - this.ok = this.status >= 200 && this.status < 300; - this.statusText = options.statusText === undefined ? '' : '' + options.statusText; - this.headers = new Headers(options.headers); - this.url = options.url || ''; - this._initBody(bodyInit); - } - - Body.call(Response.prototype); - - Response.prototype.clone = function() { - return new Response(this._bodyInit, { - status: this.status, - statusText: this.statusText, - headers: new Headers(this.headers), - url: this.url - }) - }; - - Response.error = function() { - var response = new Response(null, {status: 0, statusText: ''}); - response.type = 'error'; - return response - }; - - var redirectStatuses = [301, 302, 303, 307, 308]; - - Response.redirect = function(url, status) { - if (redirectStatuses.indexOf(status) === -1) { - throw new RangeError('Invalid status code') - } - - return new Response(null, {status: status, headers: {location: url}}) - }; - - exports.DOMException = global.DOMException; - try { - new exports.DOMException(); - } catch (err) { - exports.DOMException = function(message, name) { - this.message = message; - this.name = name; - var error = Error(message); - this.stack = error.stack; - }; - exports.DOMException.prototype = Object.create(Error.prototype); - exports.DOMException.prototype.constructor = exports.DOMException; - } - - function fetch(input, init) { - return new Promise(function(resolve, reject) { - var request = new Request(input, init); - - if (request.signal && request.signal.aborted) { - return reject(new exports.DOMException('Aborted', 'AbortError')) - } - - var xhr = new XMLHttpRequest(); - - function abortXhr() { - xhr.abort(); - } - - xhr.onload = function() { - var options = { - status: xhr.status, - statusText: xhr.statusText, - headers: parseHeaders(xhr.getAllResponseHeaders() || '') - }; - options.url = 'responseURL' in xhr ? xhr.responseURL : options.headers.get('X-Request-URL'); - var body = 'response' in xhr ? xhr.response : xhr.responseText; - setTimeout(function() { - resolve(new Response(body, options)); - }, 0); - }; - - xhr.onerror = function() { - setTimeout(function() { - reject(new TypeError('Network request failed')); - }, 0); - }; - - xhr.ontimeout = function() { - setTimeout(function() { - reject(new TypeError('Network request failed')); - }, 0); - }; - - xhr.onabort = function() { - setTimeout(function() { - reject(new exports.DOMException('Aborted', 'AbortError')); - }, 0); - }; - - function fixUrl(url) { - try { - return url === '' && global.location.href ? global.location.href : url - } catch (e) { - return url - } - } - - xhr.open(request.method, fixUrl(request.url), true); - - if (request.credentials === 'include') { - xhr.withCredentials = true; - } else if (request.credentials === 'omit') { - xhr.withCredentials = false; - } - - if ('responseType' in xhr) { - if (support.blob) { - xhr.responseType = 'blob'; - } else if ( - support.arrayBuffer && - request.headers.get('Content-Type') && - request.headers.get('Content-Type').indexOf('application/octet-stream') !== -1 - ) { - xhr.responseType = 'arraybuffer'; - } - } - - if (init && typeof init.headers === 'object' && !(init.headers instanceof Headers)) { - Object.getOwnPropertyNames(init.headers).forEach(function(name) { - xhr.setRequestHeader(name, normalizeValue(init.headers[name])); - }); - } else { - request.headers.forEach(function(value, name) { - xhr.setRequestHeader(name, value); - }); - } - - if (request.signal) { - request.signal.addEventListener('abort', abortXhr); - - xhr.onreadystatechange = function() { - // DONE (success or failure) - if (xhr.readyState === 4) { - request.signal.removeEventListener('abort', abortXhr); - } - }; - } - - xhr.send(typeof request._bodyInit === 'undefined' ? null : request._bodyInit); - }) - } - - fetch.polyfill = true; - - if (!global.fetch) { - global.fetch = fetch; - global.Headers = Headers; - global.Request = Request; - global.Response = Response; - } - - exports.Headers = Headers; - exports.Request = Request; - exports.Response = Response; - exports.fetch = fetch; - - return exports; - -})({}); -})(__globalThis__); -// This is a ponyfill, so... -__globalThis__.fetch.ponyfill = true; -delete __globalThis__.fetch.polyfill; -// Choose between native implementation (__global__) or custom implementation (__globalThis__) -var ctx = __global__.fetch ? __global__ : __globalThis__; -exports = ctx.fetch // To enable: import fetch from 'cross-fetch' -exports.default = ctx.fetch // For TypeScript consumers without esModuleInterop. -exports.fetch = ctx.fetch // To enable: import {fetch} from 'cross-fetch' -exports.Headers = ctx.Headers -exports.Request = ctx.Request -exports.Response = ctx.Response -module.exports = exports diff --git a/node_modules/cross-fetch/dist/cross-fetch.js b/node_modules/cross-fetch/dist/cross-fetch.js deleted file mode 100644 index c54b9ed..0000000 --- a/node_modules/cross-fetch/dist/cross-fetch.js +++ /dev/null @@ -1,2 +0,0 @@ -!function(t){!function(e){var r="undefined"!=typeof globalThis&&globalThis||void 0!==t&&t||void 0!==r&&r,o="URLSearchParams"in r,n="Symbol"in r&&"iterator"in Symbol,i="FileReader"in r&&"Blob"in r&&function(){try{return new Blob,!0}catch(t){return!1}}(),s="FormData"in r,a="ArrayBuffer"in r;if(a)var h=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],u=ArrayBuffer.isView||function(t){return t&&h.indexOf(Object.prototype.toString.call(t))>-1};function f(t){if("string"!=typeof t&&(t=String(t)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(t)||""===t)throw new TypeError('Invalid character in header field name: "'+t+'"');return t.toLowerCase()}function c(t){return"string"!=typeof t&&(t=String(t)),t}function d(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return n&&(e[Symbol.iterator]=function(){return e}),e}function y(t){this.map={},t instanceof y?t.forEach((function(t,e){this.append(e,t)}),this):Array.isArray(t)?t.forEach((function(t){this.append(t[0],t[1])}),this):t&&Object.getOwnPropertyNames(t).forEach((function(e){this.append(e,t[e])}),this)}function p(t){if(t.bodyUsed)return Promise.reject(new TypeError("Already read"));t.bodyUsed=!0}function l(t){return new Promise((function(e,r){t.onload=function(){e(t.result)},t.onerror=function(){r(t.error)}}))}function b(t){var e=new FileReader,r=l(e);return e.readAsArrayBuffer(t),r}function m(t){if(t.slice)return t.slice(0);var e=new Uint8Array(t.byteLength);return e.set(new Uint8Array(t)),e.buffer}function w(){return this.bodyUsed=!1,this._initBody=function(t){var e;this.bodyUsed=this.bodyUsed,this._bodyInit=t,t?"string"==typeof t?this._bodyText=t:i&&Blob.prototype.isPrototypeOf(t)?this._bodyBlob=t:s&&FormData.prototype.isPrototypeOf(t)?this._bodyFormData=t:o&&URLSearchParams.prototype.isPrototypeOf(t)?this._bodyText=t.toString():a&&i&&((e=t)&&DataView.prototype.isPrototypeOf(e))?(this._bodyArrayBuffer=m(t.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):a&&(ArrayBuffer.prototype.isPrototypeOf(t)||u(t))?this._bodyArrayBuffer=m(t):this._bodyText=t=Object.prototype.toString.call(t):this._bodyText="",this.headers.get("content-type")||("string"==typeof t?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):o&&URLSearchParams.prototype.isPrototypeOf(t)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},i&&(this.blob=function(){var t=p(this);if(t)return t;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){if(this._bodyArrayBuffer){var t=p(this);return t||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer))}return this.blob().then(b)}),this.text=function(){var t,e,r,o=p(this);if(o)return o;if(this._bodyBlob)return t=this._bodyBlob,e=new FileReader,r=l(e),e.readAsText(t),r;if(this._bodyArrayBuffer)return Promise.resolve(function(t){for(var e=new Uint8Array(t),r=new Array(e.length),o=0;o-1?o:r),this.mode=e.mode||this.mode||null,this.signal=e.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&n)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(n),!("GET"!==this.method&&"HEAD"!==this.method||"no-store"!==e.cache&&"no-cache"!==e.cache)){var i=/([?&])_=[^&]*/;if(i.test(this.url))this.url=this.url.replace(i,"$1_="+(new Date).getTime());else{this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime()}}}function T(t){var e=new FormData;return t.trim().split("&").forEach((function(t){if(t){var r=t.split("="),o=r.shift().replace(/\+/g," "),n=r.join("=").replace(/\+/g," ");e.append(decodeURIComponent(o),decodeURIComponent(n))}})),e}function A(t,e){if(!(this instanceof A))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');e||(e={}),this.type="default",this.status=void 0===e.status?200:e.status,this.ok=this.status>=200&&this.status<300,this.statusText=void 0===e.statusText?"":""+e.statusText,this.headers=new y(e.headers),this.url=e.url||"",this._initBody(t)}E.prototype.clone=function(){return new E(this,{body:this._bodyInit})},w.call(E.prototype),w.call(A.prototype),A.prototype.clone=function(){return new A(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new y(this.headers),url:this.url})},A.error=function(){var t=new A(null,{status:0,statusText:""});return t.type="error",t};var _=[301,302,303,307,308];A.redirect=function(t,e){if(-1===_.indexOf(e))throw new RangeError("Invalid status code");return new A(null,{status:e,headers:{location:t}})},e.DOMException=r.DOMException;try{new e.DOMException}catch(t){e.DOMException=function(t,e){this.message=t,this.name=e;var r=Error(t);this.stack=r.stack},e.DOMException.prototype=Object.create(Error.prototype),e.DOMException.prototype.constructor=e.DOMException}function g(t,o){return new Promise((function(n,s){var h=new E(t,o);if(h.signal&&h.signal.aborted)return s(new e.DOMException("Aborted","AbortError"));var u=new XMLHttpRequest;function f(){u.abort()}u.onload=function(){var t,e,r={status:u.status,statusText:u.statusText,headers:(t=u.getAllResponseHeaders()||"",e=new y,t.replace(/\r?\n[\t ]+/g," ").split("\r").map((function(t){return 0===t.indexOf("\n")?t.substr(1,t.length):t})).forEach((function(t){var r=t.split(":"),o=r.shift().trim();if(o){var n=r.join(":").trim();e.append(o,n)}})),e)};r.url="responseURL"in u?u.responseURL:r.headers.get("X-Request-URL");var o="response"in u?u.response:u.responseText;setTimeout((function(){n(new A(o,r))}),0)},u.onerror=function(){setTimeout((function(){s(new TypeError("Network request failed"))}),0)},u.ontimeout=function(){setTimeout((function(){s(new TypeError("Network request failed"))}),0)},u.onabort=function(){setTimeout((function(){s(new e.DOMException("Aborted","AbortError"))}),0)},u.open(h.method,function(t){try{return""===t&&r.location.href?r.location.href:t}catch(e){return t}}(h.url),!0),"include"===h.credentials?u.withCredentials=!0:"omit"===h.credentials&&(u.withCredentials=!1),"responseType"in u&&(i?u.responseType="blob":a&&h.headers.get("Content-Type")&&-1!==h.headers.get("Content-Type").indexOf("application/octet-stream")&&(u.responseType="arraybuffer")),!o||"object"!=typeof o.headers||o.headers instanceof y?h.headers.forEach((function(t,e){u.setRequestHeader(e,t)})):Object.getOwnPropertyNames(o.headers).forEach((function(t){u.setRequestHeader(t,c(o.headers[t]))})),h.signal&&(h.signal.addEventListener("abort",f),u.onreadystatechange=function(){4===u.readyState&&h.signal.removeEventListener("abort",f)}),u.send(void 0===h._bodyInit?null:h._bodyInit)}))}g.polyfill=!0,r.fetch||(r.fetch=g,r.Headers=y,r.Request=E,r.Response=A),e.Headers=y,e.Request=E,e.Response=A,e.fetch=g}({})}("undefined"!=typeof self?self:this); -//# sourceMappingURL=cross-fetch.js.map diff --git a/node_modules/cross-fetch/dist/cross-fetch.js.map b/node_modules/cross-fetch/dist/cross-fetch.js.map deleted file mode 100644 index ebdc5c0..0000000 --- a/node_modules/cross-fetch/dist/cross-fetch.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"cross-fetch.js","sources":["../node_modules/whatwg-fetch/fetch.js"],"sourcesContent":["var global =\n (typeof globalThis !== 'undefined' && globalThis) ||\n (typeof self !== 'undefined' && self) ||\n (typeof global !== 'undefined' && global)\n\nvar support = {\n searchParams: 'URLSearchParams' in global,\n iterable: 'Symbol' in global && 'iterator' in Symbol,\n blob:\n 'FileReader' in global &&\n 'Blob' in global &&\n (function() {\n try {\n new Blob()\n return true\n } catch (e) {\n return false\n }\n })(),\n formData: 'FormData' in global,\n arrayBuffer: 'ArrayBuffer' in global\n}\n\nfunction isDataView(obj) {\n return obj && DataView.prototype.isPrototypeOf(obj)\n}\n\nif (support.arrayBuffer) {\n var viewClasses = [\n '[object Int8Array]',\n '[object Uint8Array]',\n '[object Uint8ClampedArray]',\n '[object Int16Array]',\n '[object Uint16Array]',\n '[object Int32Array]',\n '[object Uint32Array]',\n '[object Float32Array]',\n '[object Float64Array]'\n ]\n\n var isArrayBufferView =\n ArrayBuffer.isView ||\n function(obj) {\n return obj && viewClasses.indexOf(Object.prototype.toString.call(obj)) > -1\n }\n}\n\nfunction normalizeName(name) {\n if (typeof name !== 'string') {\n name = String(name)\n }\n if (/[^a-z0-9\\-#$%&'*+.^_`|~!]/i.test(name) || name === '') {\n throw new TypeError('Invalid character in header field name: \"' + name + '\"')\n }\n return name.toLowerCase()\n}\n\nfunction normalizeValue(value) {\n if (typeof value !== 'string') {\n value = String(value)\n }\n return value\n}\n\n// Build a destructive iterator for the value list\nfunction iteratorFor(items) {\n var iterator = {\n next: function() {\n var value = items.shift()\n return {done: value === undefined, value: value}\n }\n }\n\n if (support.iterable) {\n iterator[Symbol.iterator] = function() {\n return iterator\n }\n }\n\n return iterator\n}\n\nexport function Headers(headers) {\n this.map = {}\n\n if (headers instanceof Headers) {\n headers.forEach(function(value, name) {\n this.append(name, value)\n }, this)\n } else if (Array.isArray(headers)) {\n headers.forEach(function(header) {\n this.append(header[0], header[1])\n }, this)\n } else if (headers) {\n Object.getOwnPropertyNames(headers).forEach(function(name) {\n this.append(name, headers[name])\n }, this)\n }\n}\n\nHeaders.prototype.append = function(name, value) {\n name = normalizeName(name)\n value = normalizeValue(value)\n var oldValue = this.map[name]\n this.map[name] = oldValue ? oldValue + ', ' + value : value\n}\n\nHeaders.prototype['delete'] = function(name) {\n delete this.map[normalizeName(name)]\n}\n\nHeaders.prototype.get = function(name) {\n name = normalizeName(name)\n return this.has(name) ? this.map[name] : null\n}\n\nHeaders.prototype.has = function(name) {\n return this.map.hasOwnProperty(normalizeName(name))\n}\n\nHeaders.prototype.set = function(name, value) {\n this.map[normalizeName(name)] = normalizeValue(value)\n}\n\nHeaders.prototype.forEach = function(callback, thisArg) {\n for (var name in this.map) {\n if (this.map.hasOwnProperty(name)) {\n callback.call(thisArg, this.map[name], name, this)\n }\n }\n}\n\nHeaders.prototype.keys = function() {\n var items = []\n this.forEach(function(value, name) {\n items.push(name)\n })\n return iteratorFor(items)\n}\n\nHeaders.prototype.values = function() {\n var items = []\n this.forEach(function(value) {\n items.push(value)\n })\n return iteratorFor(items)\n}\n\nHeaders.prototype.entries = function() {\n var items = []\n this.forEach(function(value, name) {\n items.push([name, value])\n })\n return iteratorFor(items)\n}\n\nif (support.iterable) {\n Headers.prototype[Symbol.iterator] = Headers.prototype.entries\n}\n\nfunction consumed(body) {\n if (body.bodyUsed) {\n return Promise.reject(new TypeError('Already read'))\n }\n body.bodyUsed = true\n}\n\nfunction fileReaderReady(reader) {\n return new Promise(function(resolve, reject) {\n reader.onload = function() {\n resolve(reader.result)\n }\n reader.onerror = function() {\n reject(reader.error)\n }\n })\n}\n\nfunction readBlobAsArrayBuffer(blob) {\n var reader = new FileReader()\n var promise = fileReaderReady(reader)\n reader.readAsArrayBuffer(blob)\n return promise\n}\n\nfunction readBlobAsText(blob) {\n var reader = new FileReader()\n var promise = fileReaderReady(reader)\n reader.readAsText(blob)\n return promise\n}\n\nfunction readArrayBufferAsText(buf) {\n var view = new Uint8Array(buf)\n var chars = new Array(view.length)\n\n for (var i = 0; i < view.length; i++) {\n chars[i] = String.fromCharCode(view[i])\n }\n return chars.join('')\n}\n\nfunction bufferClone(buf) {\n if (buf.slice) {\n return buf.slice(0)\n } else {\n var view = new Uint8Array(buf.byteLength)\n view.set(new Uint8Array(buf))\n return view.buffer\n }\n}\n\nfunction Body() {\n this.bodyUsed = false\n\n this._initBody = function(body) {\n /*\n fetch-mock wraps the Response object in an ES6 Proxy to\n provide useful test harness features such as flush. However, on\n ES5 browsers without fetch or Proxy support pollyfills must be used;\n the proxy-pollyfill is unable to proxy an attribute unless it exists\n on the object before the Proxy is created. This change ensures\n Response.bodyUsed exists on the instance, while maintaining the\n semantic of setting Request.bodyUsed in the constructor before\n _initBody is called.\n */\n this.bodyUsed = this.bodyUsed\n this._bodyInit = body\n if (!body) {\n this._bodyText = ''\n } else if (typeof body === 'string') {\n this._bodyText = body\n } else if (support.blob && Blob.prototype.isPrototypeOf(body)) {\n this._bodyBlob = body\n } else if (support.formData && FormData.prototype.isPrototypeOf(body)) {\n this._bodyFormData = body\n } else if (support.searchParams && URLSearchParams.prototype.isPrototypeOf(body)) {\n this._bodyText = body.toString()\n } else if (support.arrayBuffer && support.blob && isDataView(body)) {\n this._bodyArrayBuffer = bufferClone(body.buffer)\n // IE 10-11 can't handle a DataView body.\n this._bodyInit = new Blob([this._bodyArrayBuffer])\n } else if (support.arrayBuffer && (ArrayBuffer.prototype.isPrototypeOf(body) || isArrayBufferView(body))) {\n this._bodyArrayBuffer = bufferClone(body)\n } else {\n this._bodyText = body = Object.prototype.toString.call(body)\n }\n\n if (!this.headers.get('content-type')) {\n if (typeof body === 'string') {\n this.headers.set('content-type', 'text/plain;charset=UTF-8')\n } else if (this._bodyBlob && this._bodyBlob.type) {\n this.headers.set('content-type', this._bodyBlob.type)\n } else if (support.searchParams && URLSearchParams.prototype.isPrototypeOf(body)) {\n this.headers.set('content-type', 'application/x-www-form-urlencoded;charset=UTF-8')\n }\n }\n }\n\n if (support.blob) {\n this.blob = function() {\n var rejected = consumed(this)\n if (rejected) {\n return rejected\n }\n\n if (this._bodyBlob) {\n return Promise.resolve(this._bodyBlob)\n } else if (this._bodyArrayBuffer) {\n return Promise.resolve(new Blob([this._bodyArrayBuffer]))\n } else if (this._bodyFormData) {\n throw new Error('could not read FormData body as blob')\n } else {\n return Promise.resolve(new Blob([this._bodyText]))\n }\n }\n\n this.arrayBuffer = function() {\n if (this._bodyArrayBuffer) {\n var isConsumed = consumed(this)\n if (isConsumed) {\n return isConsumed\n }\n if (ArrayBuffer.isView(this._bodyArrayBuffer)) {\n return Promise.resolve(\n this._bodyArrayBuffer.buffer.slice(\n this._bodyArrayBuffer.byteOffset,\n this._bodyArrayBuffer.byteOffset + this._bodyArrayBuffer.byteLength\n )\n )\n } else {\n return Promise.resolve(this._bodyArrayBuffer)\n }\n } else {\n return this.blob().then(readBlobAsArrayBuffer)\n }\n }\n }\n\n this.text = function() {\n var rejected = consumed(this)\n if (rejected) {\n return rejected\n }\n\n if (this._bodyBlob) {\n return readBlobAsText(this._bodyBlob)\n } else if (this._bodyArrayBuffer) {\n return Promise.resolve(readArrayBufferAsText(this._bodyArrayBuffer))\n } else if (this._bodyFormData) {\n throw new Error('could not read FormData body as text')\n } else {\n return Promise.resolve(this._bodyText)\n }\n }\n\n if (support.formData) {\n this.formData = function() {\n return this.text().then(decode)\n }\n }\n\n this.json = function() {\n return this.text().then(JSON.parse)\n }\n\n return this\n}\n\n// HTTP methods whose capitalization should be normalized\nvar methods = ['DELETE', 'GET', 'HEAD', 'OPTIONS', 'POST', 'PUT']\n\nfunction normalizeMethod(method) {\n var upcased = method.toUpperCase()\n return methods.indexOf(upcased) > -1 ? upcased : method\n}\n\nexport function Request(input, options) {\n if (!(this instanceof Request)) {\n throw new TypeError('Please use the \"new\" operator, this DOM object constructor cannot be called as a function.')\n }\n\n options = options || {}\n var body = options.body\n\n if (input instanceof Request) {\n if (input.bodyUsed) {\n throw new TypeError('Already read')\n }\n this.url = input.url\n this.credentials = input.credentials\n if (!options.headers) {\n this.headers = new Headers(input.headers)\n }\n this.method = input.method\n this.mode = input.mode\n this.signal = input.signal\n if (!body && input._bodyInit != null) {\n body = input._bodyInit\n input.bodyUsed = true\n }\n } else {\n this.url = String(input)\n }\n\n this.credentials = options.credentials || this.credentials || 'same-origin'\n if (options.headers || !this.headers) {\n this.headers = new Headers(options.headers)\n }\n this.method = normalizeMethod(options.method || this.method || 'GET')\n this.mode = options.mode || this.mode || null\n this.signal = options.signal || this.signal\n this.referrer = null\n\n if ((this.method === 'GET' || this.method === 'HEAD') && body) {\n throw new TypeError('Body not allowed for GET or HEAD requests')\n }\n this._initBody(body)\n\n if (this.method === 'GET' || this.method === 'HEAD') {\n if (options.cache === 'no-store' || options.cache === 'no-cache') {\n // Search for a '_' parameter in the query string\n var reParamSearch = /([?&])_=[^&]*/\n if (reParamSearch.test(this.url)) {\n // If it already exists then set the value with the current time\n this.url = this.url.replace(reParamSearch, '$1_=' + new Date().getTime())\n } else {\n // Otherwise add a new '_' parameter to the end with the current time\n var reQueryString = /\\?/\n this.url += (reQueryString.test(this.url) ? '&' : '?') + '_=' + new Date().getTime()\n }\n }\n }\n}\n\nRequest.prototype.clone = function() {\n return new Request(this, {body: this._bodyInit})\n}\n\nfunction decode(body) {\n var form = new FormData()\n body\n .trim()\n .split('&')\n .forEach(function(bytes) {\n if (bytes) {\n var split = bytes.split('=')\n var name = split.shift().replace(/\\+/g, ' ')\n var value = split.join('=').replace(/\\+/g, ' ')\n form.append(decodeURIComponent(name), decodeURIComponent(value))\n }\n })\n return form\n}\n\nfunction parseHeaders(rawHeaders) {\n var headers = new Headers()\n // Replace instances of \\r\\n and \\n followed by at least one space or horizontal tab with a space\n // https://tools.ietf.org/html/rfc7230#section-3.2\n var preProcessedHeaders = rawHeaders.replace(/\\r?\\n[\\t ]+/g, ' ')\n // Avoiding split via regex to work around a common IE11 bug with the core-js 3.6.0 regex polyfill\n // https://github.com/github/fetch/issues/748\n // https://github.com/zloirock/core-js/issues/751\n preProcessedHeaders\n .split('\\r')\n .map(function(header) {\n return header.indexOf('\\n') === 0 ? header.substr(1, header.length) : header\n })\n .forEach(function(line) {\n var parts = line.split(':')\n var key = parts.shift().trim()\n if (key) {\n var value = parts.join(':').trim()\n headers.append(key, value)\n }\n })\n return headers\n}\n\nBody.call(Request.prototype)\n\nexport function Response(bodyInit, options) {\n if (!(this instanceof Response)) {\n throw new TypeError('Please use the \"new\" operator, this DOM object constructor cannot be called as a function.')\n }\n if (!options) {\n options = {}\n }\n\n this.type = 'default'\n this.status = options.status === undefined ? 200 : options.status\n this.ok = this.status >= 200 && this.status < 300\n this.statusText = options.statusText === undefined ? '' : '' + options.statusText\n this.headers = new Headers(options.headers)\n this.url = options.url || ''\n this._initBody(bodyInit)\n}\n\nBody.call(Response.prototype)\n\nResponse.prototype.clone = function() {\n return new Response(this._bodyInit, {\n status: this.status,\n statusText: this.statusText,\n headers: new Headers(this.headers),\n url: this.url\n })\n}\n\nResponse.error = function() {\n var response = new Response(null, {status: 0, statusText: ''})\n response.type = 'error'\n return response\n}\n\nvar redirectStatuses = [301, 302, 303, 307, 308]\n\nResponse.redirect = function(url, status) {\n if (redirectStatuses.indexOf(status) === -1) {\n throw new RangeError('Invalid status code')\n }\n\n return new Response(null, {status: status, headers: {location: url}})\n}\n\nexport var DOMException = global.DOMException\ntry {\n new DOMException()\n} catch (err) {\n DOMException = function(message, name) {\n this.message = message\n this.name = name\n var error = Error(message)\n this.stack = error.stack\n }\n DOMException.prototype = Object.create(Error.prototype)\n DOMException.prototype.constructor = DOMException\n}\n\nexport function fetch(input, init) {\n return new Promise(function(resolve, reject) {\n var request = new Request(input, init)\n\n if (request.signal && request.signal.aborted) {\n return reject(new DOMException('Aborted', 'AbortError'))\n }\n\n var xhr = new XMLHttpRequest()\n\n function abortXhr() {\n xhr.abort()\n }\n\n xhr.onload = function() {\n var options = {\n status: xhr.status,\n statusText: xhr.statusText,\n headers: parseHeaders(xhr.getAllResponseHeaders() || '')\n }\n options.url = 'responseURL' in xhr ? xhr.responseURL : options.headers.get('X-Request-URL')\n var body = 'response' in xhr ? xhr.response : xhr.responseText\n setTimeout(function() {\n resolve(new Response(body, options))\n }, 0)\n }\n\n xhr.onerror = function() {\n setTimeout(function() {\n reject(new TypeError('Network request failed'))\n }, 0)\n }\n\n xhr.ontimeout = function() {\n setTimeout(function() {\n reject(new TypeError('Network request failed'))\n }, 0)\n }\n\n xhr.onabort = function() {\n setTimeout(function() {\n reject(new DOMException('Aborted', 'AbortError'))\n }, 0)\n }\n\n function fixUrl(url) {\n try {\n return url === '' && global.location.href ? global.location.href : url\n } catch (e) {\n return url\n }\n }\n\n xhr.open(request.method, fixUrl(request.url), true)\n\n if (request.credentials === 'include') {\n xhr.withCredentials = true\n } else if (request.credentials === 'omit') {\n xhr.withCredentials = false\n }\n\n if ('responseType' in xhr) {\n if (support.blob) {\n xhr.responseType = 'blob'\n } else if (\n support.arrayBuffer &&\n request.headers.get('Content-Type') &&\n request.headers.get('Content-Type').indexOf('application/octet-stream') !== -1\n ) {\n xhr.responseType = 'arraybuffer'\n }\n }\n\n if (init && typeof init.headers === 'object' && !(init.headers instanceof Headers)) {\n Object.getOwnPropertyNames(init.headers).forEach(function(name) {\n xhr.setRequestHeader(name, normalizeValue(init.headers[name]))\n })\n } else {\n request.headers.forEach(function(value, name) {\n xhr.setRequestHeader(name, value)\n })\n }\n\n if (request.signal) {\n request.signal.addEventListener('abort', abortXhr)\n\n xhr.onreadystatechange = function() {\n // DONE (success or failure)\n if (xhr.readyState === 4) {\n request.signal.removeEventListener('abort', abortXhr)\n }\n }\n }\n\n xhr.send(typeof request._bodyInit === 'undefined' ? null : request._bodyInit)\n })\n}\n\nfetch.polyfill = true\n\nif (!global.fetch) {\n global.fetch = fetch\n global.Headers = Headers\n global.Request = Request\n global.Response = Response\n}\n"],"names":["global","globalThis","self","support","Symbol","Blob","e","viewClasses","isArrayBufferView","ArrayBuffer","isView","obj","indexOf","Object","prototype","toString","call","normalizeName","name","String","test","TypeError","toLowerCase","normalizeValue","value","iteratorFor","items","iterator","next","shift","done","undefined","Headers","headers","this","map","forEach","append","Array","isArray","header","getOwnPropertyNames","consumed","body","bodyUsed","Promise","reject","fileReaderReady","reader","resolve","onload","result","onerror","error","readBlobAsArrayBuffer","blob","FileReader","promise","readAsArrayBuffer","bufferClone","buf","slice","view","Uint8Array","byteLength","set","buffer","Body","_initBody","_bodyInit","_bodyText","isPrototypeOf","_bodyBlob","FormData","_bodyFormData","URLSearchParams","DataView","_bodyArrayBuffer","get","type","rejected","Error","arrayBuffer","isConsumed","byteOffset","then","text","readAsText","chars","length","i","fromCharCode","join","readArrayBufferAsText","formData","decode","json","JSON","parse","oldValue","has","hasOwnProperty","callback","thisArg","keys","push","values","entries","methods","Request","input","options","method","upcased","url","credentials","mode","signal","toUpperCase","referrer","cache","reParamSearch","replace","Date","getTime","form","trim","split","bytes","decodeURIComponent","Response","bodyInit","status","ok","statusText","clone","response","redirectStatuses","redirect","RangeError","location","exports","DOMException","err","message","stack","create","constructor","fetch","init","request","aborted","xhr","XMLHttpRequest","abortXhr","abort","rawHeaders","getAllResponseHeaders","substr","line","parts","key","responseURL","responseText","setTimeout","ontimeout","onabort","open","href","fixUrl","withCredentials","responseType","setRequestHeader","addEventListener","onreadystatechange","readyState","removeEventListener","send","polyfill"],"mappings":"0BAAA,IAAIA,EACqB,oBAAfC,YAA8BA,iBACrB,IAATC,GAAwBA,QACb,IAAXF,GAA0BA,EAEhCG,EACY,oBAAqBH,EADjCG,EAEQ,WAAYH,GAAU,aAAcI,OAF5CD,EAIA,eAAgBH,GAChB,SAAUA,GACV,WACE,IAEE,OADA,IAAIK,MACG,CACR,CAAC,MAAOC,GACP,OAAO,CACR,CACF,CAPD,GANAH,EAcQ,aAAcH,EAdtBG,EAeW,gBAAiBH,EAOhC,GAAIG,EACF,IAAII,EAAc,CAChB,qBACA,sBACA,6BACA,sBACA,uBACA,sBACA,uBACA,wBACA,yBAGEC,EACFC,YAAYC,QACZ,SAASC,GACP,OAAOA,GAAOJ,EAAYK,QAAQC,OAAOC,UAAUC,SAASC,KAAKL,KAAS,CAC3E,EAGL,SAASM,EAAcC,GAIrB,GAHoB,iBAATA,IACTA,EAAOC,OAAOD,IAEZ,6BAA6BE,KAAKF,IAAkB,KAATA,EAC7C,MAAM,IAAIG,UAAU,4CAA8CH,EAAO,KAE3E,OAAOA,EAAKI,aACd,CAEA,SAASC,EAAeC,GAItB,MAHqB,iBAAVA,IACTA,EAAQL,OAAOK,IAEVA,CACT,CAGA,SAASC,EAAYC,GACnB,IAAIC,EAAW,CACbC,KAAM,WACJ,IAAIJ,EAAQE,EAAMG,QAClB,MAAO,CAACC,UAAgBC,IAAVP,EAAqBA,MAAOA,EAC3C,GASH,OANIrB,IACFwB,EAASvB,OAAOuB,UAAY,WA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ASZ,EAAON,GACtCsI,EAAIoB,iBAAiB1J,EAAMM,EACnC,IANMX,OAAO4B,oBAAoB4G,EAAKpH,SAASG,SAAQ,SAASlB,GACxDsI,EAAIoB,iBAAiB1J,EAAMK,EAAe8H,EAAKpH,QAAQf,IAC/D,IAOQoI,EAAQjC,SACViC,EAAQjC,OAAOwD,iBAAiB,QAASnB,GAEzCF,EAAIsB,mBAAqB,WAEA,IAAnBtB,EAAIuB,YACNzB,EAAQjC,OAAO2D,oBAAoB,QAAStB,EAE/C,GAGHF,EAAIyB,UAAkC,IAAtB3B,EAAQjF,UAA4B,KAAOiF,EAAQjF,UACvE,GACA,CAEA+E,EAAM8B,UAAW,EAEZlL,EAAOoJ,QACVpJ,EAAOoJ,MAAQA,EACfpJ,EAAOgC,QAAUA,EACjBhC,EAAO6G,QAAUA,EACjB7G,EAAOkI,SAAWA","x_google_ignoreList":[0]} \ No newline at end of file diff --git a/node_modules/cross-fetch/dist/node-polyfill.js b/node_modules/cross-fetch/dist/node-polyfill.js deleted file mode 100644 index f0c477c..0000000 --- a/node_modules/cross-fetch/dist/node-polyfill.js +++ /dev/null @@ -1,11 +0,0 @@ -const fetchNode = require('./node-ponyfill') - -if (!global.fetch) { - const fetch = fetchNode.fetch.bind({}) - - global.fetch = fetch - global.fetch.polyfill = true - global.Response = fetchNode.Response - global.Headers = fetchNode.Headers - global.Request = fetchNode.Request -} diff --git a/node_modules/cross-fetch/dist/node-ponyfill.js b/node_modules/cross-fetch/dist/node-ponyfill.js deleted file mode 100644 index e8b153f..0000000 --- a/node_modules/cross-fetch/dist/node-ponyfill.js +++ /dev/null @@ -1,22 +0,0 @@ -const nodeFetch = require('node-fetch') -const realFetch = nodeFetch.default || nodeFetch - -const fetch = function (url, options) { - // Support schemaless URIs on the server for parity with the browser. - // Ex: //github.com/ -> https://github.com/ - if (/^\/\//.test(url)) { - url = 'https:' + url - } - return realFetch.call(this, url, options) -} - -fetch.ponyfill = true - -module.exports = exports = fetch -exports.fetch = fetch -exports.Headers = nodeFetch.Headers -exports.Request = nodeFetch.Request -exports.Response = nodeFetch.Response - -// Needed for TypeScript consumers without esModuleInterop. -exports.default = fetch diff --git a/node_modules/cross-fetch/dist/react-native-polyfill.js b/node_modules/cross-fetch/dist/react-native-polyfill.js deleted file mode 100644 index 57ad256..0000000 --- a/node_modules/cross-fetch/dist/react-native-polyfill.js +++ /dev/null @@ -1,12 +0,0 @@ -/*! - * VaporJS JavaScript Library v1.4.5 - * https://github.com/madrobby/vapor.js - * - * Copyright (c) 2010 Thomas Fuchs (http://script.aculo.us/thomas) - * Released under the MIT license - * https://github.com/madrobby/vapor.js/blob/master/MIT-LICENSE - * - * Date: 2019-05-25T03:04Z - */ - -// React Native already polyfills `fetch` so this code is intentionally handled to VaporJS. diff --git a/node_modules/cross-fetch/dist/react-native-ponyfill.js b/node_modules/cross-fetch/dist/react-native-ponyfill.js deleted file mode 100644 index 8e5baff..0000000 --- a/node_modules/cross-fetch/dist/react-native-ponyfill.js +++ /dev/null @@ -1,6 +0,0 @@ -module.exports = global.fetch // To enable: import fetch from 'cross-fetch' -module.exports.default = global.fetch // For TypeScript consumers without esModuleInterop. -module.exports.fetch = global.fetch // To enable: import {fetch} from 'cross-fetch' -module.exports.Headers = global.Headers -module.exports.Request = global.Request -module.exports.Response = global.Response diff --git a/node_modules/cross-fetch/index.d.ts b/node_modules/cross-fetch/index.d.ts deleted file mode 100644 index 3c030c0..0000000 --- a/node_modules/cross-fetch/index.d.ts +++ /dev/null @@ -1,14 +0,0 @@ -/// - -declare const _fetch: typeof fetch; -declare const _Request: typeof Request; -declare const _Response: typeof Response; -declare const _Headers: typeof Headers; - -declare module "cross-fetch" { - export const fetch: typeof _fetch; - export const Request: typeof _Request; - export const Response: typeof _Response; - export const Headers: typeof _Headers; - export default fetch; -} diff --git a/node_modules/cross-fetch/package.json b/node_modules/cross-fetch/package.json deleted file mode 100644 index 30f0690..0000000 --- a/node_modules/cross-fetch/package.json +++ /dev/null @@ -1,128 +0,0 @@ -{ - "name": "cross-fetch", - "version": "4.0.0", - "description": "Universal WHATWG Fetch API for Node, Browsers and React Native", - "homepage": "https://github.com/lquixada/cross-fetch", - "main": "dist/node-ponyfill.js", - "browser": "dist/browser-ponyfill.js", - "react-native": "dist/react-native-ponyfill.js", - "types": "index.d.ts", - "scripts": { - "commit": "cz", - "prepare": "husky install", - "prepublishOnly": "rimraf dist && make dist" - }, - "lint-staged": { - "*.js": [ - "standard --fix" - ] - }, - "config": { - "commitizen": { - "path": "cz-conventional-changelog" - } - }, - "standard": { - "env": [ - "browser", - "mocha", - "serviceworker" - ], - "globals": [ - "expect", - "assert", - "chai", - "Mocha" - ], - "ignore": [ - "/dist/", - "api.spec.js", - "bundle.js", - "test.js", - "*.bundle.js", - "*.ts" - ] - }, - "mocha": { - "require": [ - "chai/register-expect.js", - "chai/register-assert.js" - ], - "check-leaks": true - }, - "nyc": { - "temp-dir": ".reports/.coverage" - }, - "commitlint": { - "extends": [ - "@commitlint/config-conventional" - ] - }, - "repository": { - "type": "git", - "url": "https://github.com/lquixada/cross-fetch.git" - }, - "author": "Leonardo Quixada ", - "license": "MIT", - "bugs": { - "url": "https://github.com/lquixada/cross-fetch/issues" - }, - "dependencies": { - "node-fetch": "^2.6.12" - }, - "devDependencies": { - "@commitlint/cli": "17.6.6", - "@commitlint/config-conventional": "17.6.6", - "@rollup/plugin-terser": "0.4.3", - "@types/chai": "4.3.5", - "@types/mocha": "10.0.1", - "@types/node": "18.15.13", - "body-parser": "1.20.2", - "chai": "4.3.7", - "codecov": "3.8.3", - "commitizen": "4.3.0", - "cz-conventional-changelog": "3.3.0", - "express": "4.18.2", - "husky": "8.0.3", - "lint-staged": "13.2.3", - "mocha": "10.2.0", - "mocha-headless-chrome": "4.0.0", - "nock": "13.3.1", - "nyc": "15.1.0", - "rimraf": "5.0.1", - "rollup": "3.26.0", - "rollup-plugin-copy": "3.4.0", - "semver": "7.5.3", - "serve-index": "1.9.1", - "standard": "17.1.0", - "standard-version": "9.5.0", - "typescript": "5.1.6", - "webpack": "5.88.1", - "webpack-cli": "5.1.4", - "whatwg-fetch": "3.6.2", - "yargs": "17.7.2" - }, - "files": [ - "dist", - "polyfill", - "index.d.ts" - ], - "keywords": [ - "fetch", - "http", - "url", - "promise", - "async", - "await", - "isomorphic", - "universal", - "node", - "react", - "native", - "browser", - "ponyfill", - "whatwg", - "xhr", - "ajax" - ] -} diff --git a/node_modules/cross-fetch/polyfill/package.json b/node_modules/cross-fetch/polyfill/package.json deleted file mode 100644 index 7258820..0000000 --- a/node_modules/cross-fetch/polyfill/package.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "name": "cross-fetch-polyfill", - "version": "0.0.0", - "main": "../dist/node-polyfill.js", - "browser": "../dist/browser-polyfill.js", - "react-native": "../dist/react-native-polyfill.js", - "types": "../index.d.ts", - "license": "MIT" -} diff --git a/node_modules/data-uri-to-buffer/LICENSE b/node_modules/data-uri-to-buffer/LICENSE deleted file mode 100644 index a577778..0000000 --- a/node_modules/data-uri-to-buffer/LICENSE +++ /dev/null @@ -1,22 +0,0 @@ -(The MIT License) - -Copyright (c) 2014 Nathan Rajlich - -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. \ No newline at end of file diff --git a/node_modules/data-uri-to-buffer/README.md b/node_modules/data-uri-to-buffer/README.md deleted file mode 100644 index f5c2ba7..0000000 --- a/node_modules/data-uri-to-buffer/README.md +++ /dev/null @@ -1,61 +0,0 @@ -data-uri-to-buffer -================== -### Create an ArrayBuffer instance from a [Data URI][rfc] string - -This module accepts a ["data" URI][rfc] String of data, and returns -an `ArrayBuffer` instance with the decoded data. - -This module is intended to work on a large variety of JavaScript -runtimes, including Node.js and web browsers. - -Example -------- - -```typescript -import { dataUriToBuffer } from 'data-uri-to-buffer'; - -// plain-text data is supported -let uri = 'data:,Hello%2C%20World!'; -let parsed = dataUriToBuffer(uri); -console.log(new TextDecoder().decode(parsed.buffer)); -// 'Hello, World!' - -// base64-encoded data is supported -uri = 'data:text/plain;base64,SGVsbG8sIFdvcmxkIQ%3D%3D'; -parsed = dataUriToBuffer(uri); -console.log(new TextDecoder().decode(parsed.buffer)); -// 'Hello, World!' -``` - - -API ---- - -```typescript -export interface ParsedDataURI { - type: string; - typeFull: string; - charset: string; - buffer: ArrayBuffer; -} -``` - -### dataUriToBuffer(uri: string | URL) → ParsedDataURI - -The `type` property gets set to the main type portion of -the "mediatype" portion of the "data" URI, or defaults to `"text/plain"` if not -specified. - -The `typeFull` property gets set to the entire -"mediatype" portion of the "data" URI (including all parameters), or defaults -to `"text/plain;charset=US-ASCII"` if not specified. - -The `charset` property gets set to the Charset portion of -the "mediatype" portion of the "data" URI, or defaults to `"US-ASCII"` if the -entire type is not specified, or defaults to `""` otherwise. - -*Note*: If only the main type is specified but not the charset, e.g. -`"data:text/plain,abc"`, the charset is set to the empty string. The spec only -defaults to US-ASCII as charset if the entire type is not specified. - -[rfc]: http://tools.ietf.org/html/rfc2397 diff --git a/node_modules/data-uri-to-buffer/dist/common.d.ts b/node_modules/data-uri-to-buffer/dist/common.d.ts deleted file mode 100644 index c673ca3..0000000 --- a/node_modules/data-uri-to-buffer/dist/common.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -export interface ParsedDataURI { - type: string; - typeFull: string; - charset: string; - buffer: ArrayBuffer; -} -export interface IBufferConversions { - base64ToArrayBuffer(base64: string): ArrayBuffer; - stringToBuffer(str: string): ArrayBuffer; -} -/** - * Returns a `Buffer` instance from the given data URI `uri`. - * - * @param {String} uri Data URI to turn into a Buffer instance - */ -export declare const makeDataUriToBuffer: (convert: IBufferConversions) => (uri: string | URL) => ParsedDataURI; -//# sourceMappingURL=common.d.ts.map \ No newline at end of file diff --git a/node_modules/data-uri-to-buffer/dist/common.d.ts.map b/node_modules/data-uri-to-buffer/dist/common.d.ts.map deleted file mode 100644 index 0186266..0000000 --- a/node_modules/data-uri-to-buffer/dist/common.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../src/common.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,aAAa;IAC7B,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,WAAW,CAAC;CACpB;AAED,MAAM,WAAW,kBAAkB;IAClC,mBAAmB,CAAC,MAAM,EAAE,MAAM,GAAG,WAAW,CAAC;IACjD,cAAc,CAAC,GAAG,EAAE,MAAM,GAAG,WAAW,CAAC;CACzC;AAED;;;;GAIG;AACH,eAAO,MAAM,mBAAmB,YAAa,kBAAkB,WAAW,MAAM,GAAG,GAAG,KAAG,aAmDxF,CAAA"} \ No newline at end of file diff --git a/node_modules/data-uri-to-buffer/dist/common.js b/node_modules/data-uri-to-buffer/dist/common.js deleted file mode 100644 index b875006..0000000 --- a/node_modules/data-uri-to-buffer/dist/common.js +++ /dev/null @@ -1,54 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.makeDataUriToBuffer = void 0; -/** - * Returns a `Buffer` instance from the given data URI `uri`. - * - * @param {String} uri Data URI to turn into a Buffer instance - */ -const makeDataUriToBuffer = (convert) => (uri) => { - uri = String(uri); - if (!/^data:/i.test(uri)) { - throw new TypeError('`uri` does not appear to be a Data URI (must begin with "data:")'); - } - // strip newlines - uri = uri.replace(/\r?\n/g, ''); - // split the URI up into the "metadata" and the "data" portions - const firstComma = uri.indexOf(','); - if (firstComma === -1 || firstComma <= 4) { - throw new TypeError('malformed data: URI'); - } - // remove the "data:" scheme and parse the metadata - const meta = uri.substring(5, firstComma).split(';'); - let charset = ''; - let base64 = false; - const type = meta[0] || 'text/plain'; - let typeFull = type; - for (let i = 1; i < meta.length; i++) { - if (meta[i] === 'base64') { - base64 = true; - } - else if (meta[i]) { - typeFull += `;${meta[i]}`; - if (meta[i].indexOf('charset=') === 0) { - charset = meta[i].substring(8); - } - } - } - // defaults to US-ASCII only if type is not provided - if (!meta[0] && !charset.length) { - typeFull += ';charset=US-ASCII'; - charset = 'US-ASCII'; - } - // get the encoded data portion and decode URI-encoded chars - const data = unescape(uri.substring(firstComma + 1)); - const buffer = base64 ? convert.base64ToArrayBuffer(data) : convert.stringToBuffer(data); - return { - type, - typeFull, - charset, - buffer, - }; -}; -exports.makeDataUriToBuffer = makeDataUriToBuffer; -//# sourceMappingURL=common.js.map \ No newline at end of file diff --git a/node_modules/data-uri-to-buffer/dist/common.js.map b/node_modules/data-uri-to-buffer/dist/common.js.map deleted file mode 100644 index 0f8e4ed..0000000 --- a/node_modules/data-uri-to-buffer/dist/common.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"common.js","sourceRoot":"","sources":["../src/common.ts"],"names":[],"mappings":";;;AAYA;;;;GAIG;AACI,MAAM,mBAAmB,GAAG,CAAC,OAA2B,EAAE,EAAE,CAAC,CAAC,GAAiB,EAAiB,EAAE;IACxG,GAAG,GAAG,MAAM,CAAC,GAAG,CAAC,CAAC;IAElB,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE;QACzB,MAAM,I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ChC,OAAO,GAAG,UAAU,CAAC;KACrB;IAED,4DAA4D;IAC5D,MAAM,IAAI,GAAG,QAAQ,CAAC,GAAG,CAAC,SAAS,CAAC,UAAU,GAAG,CAAC,CAAC,CAAC,CAAC;IACrD,MAAM,MAAM,GAAG,MAAM,CAAC,CAAC,CAAC,OAAO,CAAC,mBAAmB,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC;IAEzF,OAAO;QACN,IAAI;QACJ,QAAQ;QACR,OAAO;QACP,MAAM;KACN,CAAC;AACH,CAAC,CAAA;AAnDY,QAAA,mBAAmB,uBAmD/B"} \ No newline at end of file diff --git a/node_modules/data-uri-to-buffer/dist/index.d.ts b/node_modules/data-uri-to-buffer/dist/index.d.ts deleted file mode 100644 index 93342c3..0000000 --- a/node_modules/data-uri-to-buffer/dist/index.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -export type { ParsedDataURI } from './common'; -/** - * Returns a `Buffer` instance from the given data URI `uri`. - * - * @param {String} uri Data URI to turn into a Buffer instance - */ -export declare const dataUriToBuffer: (uri: string | URL) => import("./common").ParsedDataURI; -//# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/node_modules/data-uri-to-buffer/dist/index.d.ts.map b/node_modules/data-uri-to-buffer/dist/index.d.ts.map deleted file mode 100644 index 2c0f4b3..0000000 --- a/node_modules/data-uri-to-buffer/dist/index.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAEA,YAAY,EAAE,aAAa,EAAE,MAAO,UAAU,CAAC;AAkD/C;;;;GAIG;AACH,eAAO,MAAM,eAAe,yDAA+D,CAAC"} \ No newline at end of file diff --git a/node_modules/data-uri-to-buffer/dist/index.js b/node_modules/data-uri-to-buffer/dist/index.js deleted file mode 100644 index e392194..0000000 --- a/node_modules/data-uri-to-buffer/dist/index.js +++ /dev/null @@ -1,48 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.dataUriToBuffer = void 0; -const common_1 = require("./common"); -function base64ToArrayBuffer(base64) { - const chars = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/'; - const bytes = []; - for (let i = 0; i < base64.length; i += 4) { - const idx0 = chars.indexOf(base64.charAt(i)); - const idx1 = chars.indexOf(base64.charAt(i + 1)); - const idx2 = base64.charAt(i + 2) === '=' - ? 0 - : chars.indexOf(base64.charAt(i + 2)); - const idx3 = base64.charAt(i + 3) === '=' - ? 0 - : chars.indexOf(base64.charAt(i + 3)); - const bin0 = (idx0 << 2) | (idx1 >> 4); - const bin1 = ((idx1 & 15) << 4) | (idx2 >> 2); - const bin2 = ((idx2 & 3) << 6) | idx3; - bytes.push(bin0); - if (base64.charAt(i + 2) !== '=') - bytes.push(bin1); - if (base64.charAt(i + 3) !== '=') - bytes.push(bin2); - } - const buffer = new ArrayBuffer(bytes.length); - const view = new Uint8Array(buffer); - view.set(bytes); - return buffer; -} -function stringToBuffer(str) { - // Create a buffer with length equal to the string length - const buffer = new ArrayBuffer(str.length); - // Create a view to manipulate the buffer content - const view = new Uint8Array(buffer); - // Iterate over the string and populate the buffer with ASCII codes - for (let i = 0; i < str.length; i++) { - view[i] = str.charCodeAt(i); - } - return buffer; -} -/** - * Returns a `Buffer` instance from the given data URI `uri`. - * - * @param {String} uri Data URI to turn into a Buffer instance - */ -exports.dataUriToBuffer = (0, common_1.makeDataUriToBuffer)({ stringToBuffer, base64ToArrayBuffer }); -//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/node_modules/data-uri-to-buffer/dist/index.js.map b/node_modules/data-uri-to-buffer/dist/index.js.map deleted file mode 100644 index b33cda2..0000000 --- a/node_modules/data-uri-to-buffer/dist/index.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;AAAA,q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,MAAM,CAAC,CAAC,GAAG,CAAC,CAAC,KAAK,GAAG;YAAE,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QACnD,IAAI,MAAM,CAAC,MAAM,CAAC,CAAC,GAAG,CAAC,CAAC,KAAK,GAAG;YAAE,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;KACnD;IAED,MAAM,MAAM,GAAG,IAAI,WAAW,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC7C,MAAM,IAAI,GAAG,IAAI,UAAU,CAAC,MAAM,CAAC,CAAC;IACpC,IAAI,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;IAChB,OAAO,MAAM,CAAC;AACf,CAAC;AAED,SAAS,cAAc,CAAC,GAAW;IAClC,yDAAyD;IACzD,MAAM,MAAM,GAAG,IAAI,WAAW,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IAE3C,iDAAiD;IACjD,MAAM,IAAI,GAAG,IAAI,UAAU,CAAC,MAAM,CAAC,CAAC;IAEpC,mEAAmE;IACnE,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,GAAG,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE;QACpC,IAAI,CAAC,CAAC,CAAC,GAAG,GAAG,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC;KAC5B;IAED,OAAO,MAAM,CAAC;AACf,CAAC;AAED;;;;GAIG;AACU,QAAA,eAAe,GAAG,IAAA,4BAAmB,EAAC,EAAE,cAAc,EAAE,mBAAmB,EAAE,CAAC,CAAC"} \ No newline at end of file diff --git a/node_modules/data-uri-to-buffer/dist/node.d.ts b/node_modules/data-uri-to-buffer/dist/node.d.ts deleted file mode 100644 index dd2dc3e..0000000 --- a/node_modules/data-uri-to-buffer/dist/node.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -export type { ParsedDataURI } from './common'; -/** - * Returns a `Buffer` instance from the given data URI `uri`. - * - * @param {String} uri Data URI to turn into a Buffer instance - */ -export declare const dataUriToBuffer: (uri: string | URL) => import("./common").ParsedDataURI; -//# sourceMappingURL=node.d.ts.map \ No newline at end of file diff --git a/node_modules/data-uri-to-buffer/dist/node.d.ts.map b/node_modules/data-uri-to-buffer/dist/node.d.ts.map deleted file mode 100644 index 47b144e..0000000 --- a/node_modules/data-uri-to-buffer/dist/node.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"node.d.ts","sourceRoot":"","sources":["../src/node.ts"],"names":[],"mappings":"AAEA,YAAY,EAAE,aAAa,EAAE,MAAO,UAAU,CAAC;AAoB/C;;;;GAIG;AACH,eAAO,MAAM,eAAe,yDAA+D,CAAC"} \ No newline at end of file diff --git a/node_modules/data-uri-to-buffer/dist/node.js b/node_modules/data-uri-to-buffer/dist/node.js deleted file mode 100644 index da4fd2d..0000000 --- a/node_modules/data-uri-to-buffer/dist/node.js +++ /dev/null @@ -1,26 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.dataUriToBuffer = void 0; -const common_1 = require("./common"); -function nodeBuffertoArrayBuffer(nodeBuf) { - if (nodeBuf.byteLength === nodeBuf.buffer.byteLength) { - return nodeBuf.buffer; // large strings may get their own memory allocation - } - const buffer = new ArrayBuffer(nodeBuf.byteLength); - const view = new Uint8Array(buffer); - view.set(nodeBuf); - return buffer; -} -function base64ToArrayBuffer(base64) { - return nodeBuffertoArrayBuffer(Buffer.from(base64, 'base64')); -} -function stringToBuffer(str) { - return nodeBuffertoArrayBuffer(Buffer.from(str, 'ascii')); -} -/** - * Returns a `Buffer` instance from the given data URI `uri`. - * - * @param {String} uri Data URI to turn into a Buffer instance - */ -exports.dataUriToBuffer = (0, common_1.makeDataUriToBuffer)({ stringToBuffer, base64ToArrayBuffer }); -//# sourceMappingURL=node.js.map \ No newline at end of file diff --git a/node_modules/data-uri-to-buffer/dist/node.js.map b/node_modules/data-uri-to-buffer/dist/node.js.map deleted file mode 100644 index d8d6cd7..0000000 --- a/node_modules/data-uri-to-buffer/dist/node.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"node.js","sourceRoot":"","sources":["../src/node.ts"],"names":[],"mappings":";;;AAAA,qCAA+C;AAI/C,SAAS,uBAAuB,CAAC,OAAe;IAC/C,IAAI,OAAO,CAAC,UAAU,KAAK,OAAO,CAAC,MAAM,CAAC,UAAU,EAAE;QACrD,OAAO,OAAO,CAAC,MAAM,CAAC,CAAC,oDAAoD;KAC3E;IACD,MAAM,MAAM,GAAG,IAAI,WAAW,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC;IACnD,MAAM,IAAI,GAAG,IAAI,UAAU,CAAC,MAAM,CAAC,CAAC;IACpC,IAAI,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC;IAClB,OAAO,MAAM,CAAC;AACf,CAAC;AAED,SAAS,mBAAmB,CAAC,MAAc;IAC1C,OAAO,uBAAuB,CAAC,MAAM,CAAC,IAAI,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC,CAAC;AAC/D,CAAC;AAED,SAAS,cAAc,CAAC,GAAW;IAClC,OAAO,uBAAuB,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,EAAE,OAAO,CAAC,CAAC,CAAC;AAC3D,CAAC;AAED;;;;GAIG;AACU,QAAA,eAAe,GAAG,IAAA,4BAAmB,EAAC,EAAE,cAAc,EAAE,mBAAmB,EAAE,CAAC,CAAC"} \ No newline at end of file diff --git a/node_modules/data-uri-to-buffer/package.json b/node_modules/data-uri-to-buffer/package.json deleted file mode 100644 index abc824b..0000000 --- a/node_modules/data-uri-to-buffer/package.json +++ /dev/null @@ -1,48 +0,0 @@ -{ - "name": "data-uri-to-buffer", - "version": "6.0.2", - "description": "Create an ArrayBuffer instance from a Data URI string", - "main": "./dist/index.js", - "types": "./dist/index.d.ts", - "exports": { - "node": "./dist/node.js", - "default": "./dist/index.js" - }, - "files": [ - "dist" - ], - "repository": { - "type": "git", - "url": "https://github.com/TooTallNate/proxy-agents.git", - "directory": "packages/data-uri-to-buffer" - }, - "engines": { - "node": ">= 14" - }, - "keywords": [ - "data", - "uri", - "datauri", - "data-uri", - "buffer", - "convert", - "rfc2397", - "2397" - ], - "author": "Nathan Rajlich (http://n8.io/)", - "license": "MIT", - "devDependencies": { - "@types/jest": "^27.0.2", - "@types/node": "^14.18.45", - "jest": "^29.5.0", - "ts-jest": "^29.1.0", - "typescript": "^5.0.4", - "tsconfig": "0.0.0" - }, - "scripts": { - "build": "tsc", - "test": "jest --env node --verbose --bail", - "lint": "eslint . --ext .ts", - "pack": "node ../../scripts/pack.mjs" - } -} \ No newline at end of file diff --git a/node_modules/debug/LICENSE b/node_modules/debug/LICENSE deleted file mode 100644 index 1a9820e..0000000 --- a/node_modules/debug/LICENSE +++ /dev/null @@ -1,20 +0,0 @@ -(The MIT License) - -Copyright (c) 2014-2017 TJ Holowaychuk -Copyright (c) 2018-2021 Josh Junon - -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. - diff --git a/node_modules/debug/README.md b/node_modules/debug/README.md deleted file mode 100644 index e9c3e04..0000000 --- a/node_modules/debug/README.md +++ /dev/null @@ -1,481 +0,0 @@ -# debug -[![Build Status](https://travis-ci.org/debug-js/debug.svg?branch=master)](https://travis-ci.org/debug-js/debug) [![Coverage Status](https://coveralls.io/repos/github/debug-js/debug/badge.svg?branch=master)](https://coveralls.io/github/debug-js/debug?branch=master) [![Slack](https://visionmedia-community-slackin.now.sh/badge.svg)](https://visionmedia-community-slackin.now.sh/) [![OpenCollective](https://opencollective.com/debug/backers/badge.svg)](#backers) -[![OpenCollective](https://opencollective.com/debug/sponsors/badge.svg)](#sponsors) - - - -A tiny JavaScript debugging utility modelled after Node.js core's debugging -technique. Works in Node.js and web browsers. - -## Installation - -```bash -$ npm install debug -``` - -## Usage - -`debug` exposes a function; simply pass this function the name of your module, and it will return a decorated version of `console.error` for you to pass debug statements to. This will allow you to toggle the debug output for different parts of your module as well as the module as a whole. - -Example [_app.js_](./examples/node/app.js): - -```js -var debug = require('debug')('http') - , http = require('http') - , name = 'My App'; - -// fake app - -debug('booting %o', name); - -http.createServer(function(req, res){ - debug(req.method + ' ' + req.url); - res.end('hello\n'); -}).listen(3000, function(){ - debug('listening'); -}); - -// fake worker of some kind - -require('./worker'); -``` - -Example [_worker.js_](./examples/node/worker.js): - -```js -var a = require('debug')('worker:a') - , b = require('debug')('worker:b'); - -function work() { - a('doing lots of uninteresting work'); - setTimeout(work, Math.random() * 1000); -} - -work(); - -function workb() { - b('doing some work'); - setTimeout(workb, Math.random() * 2000); -} - -workb(); -``` - -The `DEBUG` environment variable is then used to enable these based on space or -comma-delimited names. - -Here are some examples: - -screen shot 2017-08-08 at 12 53 04 pm -screen shot 2017-08-08 at 12 53 38 pm -screen shot 2017-08-08 at 12 53 25 pm - -#### Windows command prompt notes - -##### CMD - -On Windows the environment variable is set using the `set` command. - -```cmd -set DEBUG=*,-not_this -``` - -Example: - -```cmd -set DEBUG=* & node app.js -``` - -##### PowerShell (VS Code default) - -PowerShell uses different syntax to set environment variables. - -```cmd -$env:DEBUG = "*,-not_this" -``` - -Example: - -```cmd -$env:DEBUG='app';node app.js -``` - -Then, run the program to be debugged as usual. - -npm script example: -```js - "windowsDebug": "@powershell -Command $env:DEBUG='*';node app.js", -``` - -## Namespace Colors - -Every debug instance has a color generated for it based on its namespace name. -This helps when visually parsing the debug output to identify which debug instance -a debug line belongs to. - -#### Node.js - -In Node.js, colors are enabled when stderr is a TTY. You also _should_ install -the [`supports-color`](https://npmjs.org/supports-color) module alongside debug, -otherwise debug will only use a small handful of basic colors. - - - -#### Web Browser - -Colors are also enabled on "Web Inspectors" that understand the `%c` formatting -option. These are WebKit web inspectors, Firefox ([since version -31](https://hacks.mozilla.org/2014/05/editable-box-model-multiple-selection-sublime-text-keys-much-more-firefox-developer-tools-episode-31/)) -and the Firebug plugin for Firefox (any version). - - - - -## Millisecond diff - -When actively developing an application it can be useful to see when the time spent between one `debug()` call and the next. Suppose for example you invoke `debug()` before requesting a resource, and after as well, the "+NNNms" will show you how much time was spent between calls. - - - -When stdout is not a TTY, `Date#toISOString()` is used, making it more useful for logging the debug information as shown below: - - - - -## Conventions - -If you're using this in one or more of your libraries, you _should_ use the name of your library so that developers may toggle debugging as desired without guessing names. If you have more than one debuggers you _should_ prefix them with your library name and use ":" to separate features. For example "bodyParser" from Connect would then be "connect:bodyParser". If you append a "*" to the end of your name, it will always be enabled regardless of the setting of the DEBUG environment variable. You can then use it for normal output as well as debug output. - -## Wildcards - -The `*` character may be used as a wildcard. Suppose for example your library has -debuggers named "connect:bodyParser", "connect:compress", "connect:session", -instead of listing all three with -`DEBUG=connect:bodyParser,connect:compress,connect:session`, you may simply do -`DEBUG=connect:*`, or to run everything using this module simply use `DEBUG=*`. - -You can also exclude specific debuggers by prefixing them with a "-" character. -For example, `DEBUG=*,-connect:*` would include all debuggers except those -starting with "connect:". - -## Environment Variables - -When running through Node.js, you can set a few environment variables that will -change the behavior of the debug logging: - -| Name | Purpose | -|-----------|-------------------------------------------------| -| `DEBUG` | Enables/disables specific debugging namespaces. | -| `DEBUG_HIDE_DATE` | Hide date from debug output (non-TTY). | -| `DEBUG_COLORS`| Whether or not to use colors in the debug output. | -| `DEBUG_DEPTH` | Object inspection depth. | -| `DEBUG_SHOW_HIDDEN` | Shows hidden properties on inspected objects. | - - -__Note:__ The environment variables beginning with `DEBUG_` end up being -converted into an Options object that gets used with `%o`/`%O` formatters. -See the Node.js documentation for -[`util.inspect()`](https://nodejs.org/api/util.html#util_util_inspect_object_options) -for the complete list. - -## Formatters - -Debug uses [printf-style](https://wikipedia.org/wiki/Printf_format_string) formatting. -Below are the officially supported formatters: - -| Formatter | Representation | -|-----------|----------------| -| `%O` | Pretty-print an Object on multiple lines. | -| `%o` | Pretty-print an Object all on a single line. | -| `%s` | String. | -| `%d` | Number (both integer and float). | -| `%j` | JSON. Replaced with the string '[Circular]' if the argument contains circular references. | -| `%%` | Single percent sign ('%'). This does not consume an argument. | - - -### Custom formatters - -You can add custom formatters by extending the `debug.formatters` object. -For example, if you wanted to add support for rendering a Buffer as hex with -`%h`, you could do something like: - -```js -const createDebug = require('debug') -createDebug.formatters.h = (v) => { - return v.toString('hex') -} - -// …elsewhere -const debug = createDebug('foo') -debug('this is hex: %h', new Buffer('hello world')) -// foo this is hex: 68656c6c6f20776f726c6421 +0ms -``` - - -## Browser Support - -You can build a browser-ready script using [browserify](https://github.com/substack/node-browserify), -or just use the [browserify-as-a-service](https://wzrd.in/) [build](https://wzrd.in/standalone/debug@latest), -if you don't want to build it yourself. - -Debug's enable state is currently persisted by `localStorage`. -Consider the situation shown below where you have `worker:a` and `worker:b`, -and wish to debug both. You can enable this using `localStorage.debug`: - -```js -localStorage.debug = 'worker:*' -``` - -And then refresh the page. - -```js -a = debug('worker:a'); -b = debug('worker:b'); - -setInterval(function(){ - a('doing some work'); -}, 1000); - -setInterval(function(){ - b('doing some work'); -}, 1200); -``` - -In Chromium-based web browsers (e.g. Brave, Chrome, and Electron), the JavaScript console will—by default—only show messages logged by `debug` if the "Verbose" log level is _enabled_. - - - -## Output streams - - By default `debug` will log to stderr, however this can be configured per-namespace by overriding the `log` method: - -Example [_stdout.js_](./examples/node/stdout.js): - -```js -var debug = require('debug'); -var error = debug('app:error'); - -// by default stderr is used -error('goes to stderr!'); - -var log = debug('app:log'); -// set this namespace to log via console.log -log.log = console.log.bind(console); // don't forget to bind to console! -log('goes to stdout'); -error('still goes to stderr!'); - -// set all output to go via console.info -// overrides all per-namespace log settings -debug.log = console.info.bind(console); -error('now goes to stdout via console.info'); -log('still goes to stdout, but via console.info now'); -``` - -## Extend -You can simply extend debugger -```js -const log = require('debug')('auth'); - -//creates new debug instance with extended namespace -const logSign = log.extend('sign'); -const logLogin = log.extend('login'); - -log('hello'); // auth hello -logSign('hello'); //auth:sign hello -logLogin('hello'); //auth:login hello -``` - -## Set dynamically - -You can also enable debug dynamically by calling the `enable()` method : - -```js -let debug = require('debug'); - -console.log(1, debug.enabled('test')); - -debug.enable('test'); -console.log(2, debug.enabled('test')); - -debug.disable(); -console.log(3, debug.enabled('test')); - -``` - -print : -``` -1 false -2 true -3 false -``` - -Usage : -`enable(namespaces)` -`namespaces` can include modes separated by a colon and wildcards. - -Note that calling `enable()` completely overrides previously set DEBUG variable : - -``` -$ DEBUG=foo node -e 'var dbg = require("debug"); dbg.enable("bar"); console.log(dbg.enabled("foo"))' -=> false -``` - -`disable()` - -Will disable all namespaces. The functions returns the namespaces currently -enabled (and skipped). This can be useful if you want to disable debugging -temporarily without knowing what was enabled to begin with. - -For example: - -```js -let debug = require('debug'); -debug.enable('foo:*,-foo:bar'); -let namespaces = debug.disable(); -debug.enable(namespaces); -``` - -Note: There is no guarantee that the string will be identical to the initial -enable string, but semantically they will be identical. - -## Checking whether a debug target is enabled - -After you've created a debug instance, you can determine whether or not it is -enabled by checking the `enabled` property: - -```javascript -const debug = require('debug')('http'); - -if (debug.enabled) { - // do stuff... -} -``` - -You can also manually toggle this property to force the debug instance to be -enabled or disabled. - -## Usage in child processes - -Due to the way `debug` detects if the output is a TTY or not, colors are not shown in child processes when `stderr` is piped. A solution is to pass the `DEBUG_COLORS=1` environment variable to the child process. -For example: - -```javascript -worker = fork(WORKER_WRAP_PATH, [workerPath], { - stdio: [ - /* stdin: */ 0, - /* stdout: */ 'pipe', - /* stderr: */ 'pipe', - 'ipc', - ], - env: Object.assign({}, process.env, { - DEBUG_COLORS: 1 // without this settings, colors won't be shown - }), -}); - -worker.stderr.pipe(process.stderr, { end: false }); -``` - - -## Authors - - - TJ Holowaychuk - - Nathan Rajlich - - Andrew Rhyne - - Josh Junon - -## Backers - -Support us with a monthly donation and help us continue our activities. [[Become a backer](https://opencollective.com/debug#backer)] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -## Sponsors - -Become a sponsor and get your logo on our README on Github with a link to your site. [[Become a sponsor](https://opencollective.com/debug#sponsor)] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -## License - -(The MIT License) - -Copyright (c) 2014-2017 TJ Holowaychuk <tj@vision-media.ca> -Copyright (c) 2018-2021 Josh Junon - -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. diff --git a/node_modules/debug/package.json b/node_modules/debug/package.json deleted file mode 100644 index 3bcdc24..0000000 --- a/node_modules/debug/package.json +++ /dev/null @@ -1,59 +0,0 @@ -{ - "name": "debug", - "version": "4.3.4", - "repository": { - "type": "git", - "url": "git://github.com/debug-js/debug.git" - }, - "description": "Lightweight debugging utility for Node.js and the browser", - "keywords": [ - "debug", - "log", - "debugger" - ], - "files": [ - "src", - "LICENSE", - "README.md" - ], - "author": "Josh Junon ", - "contributors": [ - "TJ Holowaychuk ", - "Nathan Rajlich (http://n8.io)", - "Andrew Rhyne " - ], - "license": "MIT", - "scripts": { - "lint": "xo", - "test": "npm run test:node && npm run test:browser && npm run lint", - "test:node": "istanbul cover _mocha -- test.js", - "test:browser": "karma start --single-run", - "test:coverage": "cat ./coverage/lcov.info | coveralls" - }, - "dependencies": { - "ms": "2.1.2" - }, - "devDependencies": { - "brfs": "^2.0.1", - "browserify": "^16.2.3", - "coveralls": "^3.0.2", - "istanbul": "^0.4.5", - "karma": "^3.1.4", - "karma-browserify": "^6.0.0", - "karma-chrome-launcher": "^2.2.0", - "karma-mocha": "^1.3.0", - "mocha": "^5.2.0", - "mocha-lcov-reporter": "^1.2.0", - "xo": "^0.23.0" - }, - "peerDependenciesMeta": { - "supports-color": { - "optional": true - } - }, - "main": "./src/index.js", - "browser": "./src/browser.js", - "engines": { - "node": ">=6.0" - } -} diff --git a/node_modules/debug/src/browser.js b/node_modules/debug/src/browser.js deleted file mode 100644 index cd0fc35..0000000 --- a/node_modules/debug/src/browser.js +++ /dev/null @@ -1,269 +0,0 @@ -/* eslint-env browser */ - -/** - * This is the web browser implementation of `debug()`. - */ - -exports.formatArgs = formatArgs; -exports.save = save; -exports.load = load; -exports.useColors = useColors; -exports.storage = localstorage(); -exports.destroy = (() => { - let warned = false; - - return () => { - if (!warned) { - warned = true; - console.warn('Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.'); - } - }; -})(); - -/** - * Colors. - */ - -exports.colors = [ - '#0000CC', - '#0000FF', - '#0033CC', - '#0033FF', - '#0066CC', - '#0066FF', - '#0099CC', - '#0099FF', - '#00CC00', - '#00CC33', - '#00CC66', - '#00CC99', - '#00CCCC', - '#00CCFF', - '#3300CC', - '#3300FF', - '#3333CC', - '#3333FF', - '#3366CC', - '#3366FF', - '#3399CC', - '#3399FF', - '#33CC00', - '#33CC33', - '#33CC66', - '#33CC99', - '#33CCCC', - '#33CCFF', - '#6600CC', - '#6600FF', - '#6633CC', - '#6633FF', - '#66CC00', - '#66CC33', - '#9900CC', - '#9900FF', - '#9933CC', - '#9933FF', - '#99CC00', - '#99CC33', - '#CC0000', - '#CC0033', - '#CC0066', - '#CC0099', - '#CC00CC', - '#CC00FF', - '#CC3300', - '#CC3333', - '#CC3366', - '#CC3399', - '#CC33CC', - '#CC33FF', - '#CC6600', - '#CC6633', - '#CC9900', - '#CC9933', - '#CCCC00', - '#CCCC33', - '#FF0000', - '#FF0033', - '#FF0066', - '#FF0099', - '#FF00CC', - '#FF00FF', - '#FF3300', - '#FF3333', - '#FF3366', - '#FF3399', - '#FF33CC', - '#FF33FF', - '#FF6600', - '#FF6633', - '#FF9900', - '#FF9933', - '#FFCC00', - '#FFCC33' -]; - -/** - * Currently only WebKit-based Web Inspectors, Firefox >= v31, - * and the Firebug extension (any Firefox version) are known - * to support "%c" CSS customizations. - * - * TODO: add a `localStorage` variable to explicitly enable/disable colors - */ - -// eslint-disable-next-line complexity -function useColors() { - // NB: In an Electron preload script, document will be defined but not fully - // initialized. Since we know we're in Chrome, we'll just detect this case - // explicitly - if (typeof window !== 'undefined' && window.process && (window.process.type === 'renderer' || window.process.__nwjs)) { - return true; - } - - // Internet Explorer and Edge do not support colors. - if (typeof navigator !== 'undefined' && navigator.userAgent && navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/)) { - return false; - } - - // Is webkit? http://stackoverflow.com/a/16459606/376773 - // document is undefined in react-native: https://github.com/facebook/react-native/pull/1632 - return (typeof document !== 'undefined' && document.documentElement && document.documentElement.style && document.documentElement.style.WebkitAppearance) || - // Is firebug? http://stackoverflow.com/a/398120/376773 - (typeof window !== 'undefined' && window.console && (window.console.firebug || (window.console.exception && window.console.table))) || - // Is firefox >= v31? - // https://developer.mozilla.org/en-US/docs/Tools/Web_Console#Styling_messages - (typeof navigator !== 'undefined' && navigator.userAgent && navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/) && parseInt(RegExp.$1, 10) >= 31) || - // Double check webkit in userAgent just in case we are in a worker - (typeof navigator !== 'undefined' && navigator.userAgent && navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)); -} - -/** - * Colorize log arguments if enabled. - * - * @api public - */ - -function formatArgs(args) { - args[0] = (this.useColors ? '%c' : '') + - this.namespace + - (this.useColors ? ' %c' : ' ') + - args[0] + - (this.useColors ? '%c ' : ' ') + - '+' + module.exports.humanize(this.diff); - - if (!this.useColors) { - return; - } - - const c = 'color: ' + this.color; - args.splice(1, 0, c, 'color: inherit'); - - // The final "%c" is somewhat tricky, because there could be other - // arguments passed either before or after the %c, so we need to - // figure out the correct index to insert the CSS into - let index = 0; - let lastC = 0; - args[0].replace(/%[a-zA-Z%]/g, match => { - if (match === '%%') { - return; - } - index++; - if (match === '%c') { - // We only are interested in the *last* %c - // (the user may have provided their own) - lastC = index; - } - }); - - args.splice(lastC, 0, c); -} - -/** - * Invokes `console.debug()` when available. - * No-op when `console.debug` is not a "function". - * If `console.debug` is not available, falls back - * to `console.log`. - * - * @api public - */ -exports.log = console.debug || console.log || (() => {}); - -/** - * Save `namespaces`. - * - * @param {String} namespaces - * @api private - */ -function save(namespaces) { - try { - if (namespaces) { - exports.storage.setItem('debug', namespaces); - } else { - exports.storage.removeItem('debug'); - } - } catch (error) { - // Swallow - // XXX (@Qix-) should we be logging these? - } -} - -/** - * Load `namespaces`. - * - * @return {String} returns the previously persisted debug modes - * @api private - */ -function load() { - let r; - try { - r = exports.storage.getItem('debug'); - } catch (error) { - // Swallow - // XXX (@Qix-) should we be logging these? - } - - // If debug isn't set in LS, and we're in Electron, try to load $DEBUG - if (!r && typeof process !== 'undefined' && 'env' in process) { - r = process.env.DEBUG; - } - - return r; -} - -/** - * Localstorage attempts to return the localstorage. - * - * This is necessary because safari throws - * when a user disables cookies/localstorage - * and you attempt to access it. - * - * @return {LocalStorage} - * @api private - */ - -function localstorage() { - try { - // TVMLKit (Apple TV JS Runtime) does not have a window object, just localStorage in the global context - // The Browser also has localStorage in the global context. - return localStorage; - } catch (error) { - // Swallow - // XXX (@Qix-) should we be logging these? - } -} - -module.exports = require('./common')(exports); - -const {formatters} = module.exports; - -/** - * Map %j to `JSON.stringify()`, since no Web Inspectors do that by default. - */ - -formatters.j = function (v) { - try { - return JSON.stringify(v); - } catch (error) { - return '[UnexpectedJSONParseError]: ' + error.message; - } -}; diff --git a/node_modules/debug/src/common.js b/node_modules/debug/src/common.js deleted file mode 100644 index e3291b2..0000000 --- a/node_modules/debug/src/common.js +++ /dev/null @@ -1,274 +0,0 @@ - -/** - * This is the common logic for both the Node.js and web browser - * implementations of `debug()`. - */ - -function setup(env) { - createDebug.debug = createDebug; - createDebug.default = createDebug; - createDebug.coerce = coerce; - createDebug.disable = disable; - createDebug.enable = enable; - createDebug.enabled = enabled; - createDebug.humanize = require('ms'); - createDebug.destroy = destroy; - - Object.keys(env).forEach(key => { - createDebug[key] = env[key]; - }); - - /** - * The currently active debug mode names, and names to skip. - */ - - createDebug.names = []; - createDebug.skips = []; - - /** - * Map of special "%n" handling functions, for the debug "format" argument. - * - * Valid key names are a single, lower or upper-case letter, i.e. "n" and "N". - */ - createDebug.formatters = {}; - - /** - * Selects a color for a debug namespace - * @param {String} namespace The namespace string for the debug instance to be colored - * @return {Number|String} An ANSI color code for the given namespace - * @api private - */ - function selectColor(namespace) { - let hash = 0; - - for (let i = 0; i < namespace.length; i++) { - hash = ((hash << 5) - hash) + namespace.charCodeAt(i); - hash |= 0; // Convert to 32bit integer - } - - return createDebug.colors[Math.abs(hash) % createDebug.colors.length]; - } - createDebug.selectColor = selectColor; - - /** - * Create a debugger with the given `namespace`. - * - * @param {String} namespace - * @return {Function} - * @api public - */ - function createDebug(namespace) { - let prevTime; - let enableOverride = null; - let namespacesCache; - let enabledCache; - - function debug(...args) { - // Disabled? - if (!debug.enabled) { - return; - } - - const self = debug; - - // Set `diff` timestamp - const curr = Number(new Date()); - const ms = curr - (prevTime || curr); - self.diff = ms; - self.prev = prevTime; - self.curr = curr; - prevTime = curr; - - args[0] = createDebug.coerce(args[0]); - - if (typeof args[0] !== 'string') { - // Anything else let's inspect with %O - args.unshift('%O'); - } - - // Apply any `formatters` transformations - let index = 0; - args[0] = args[0].replace(/%([a-zA-Z%])/g, (match, format) => { - // If we encounter an escaped % then don't increase the array index - if (match === '%%') { - return '%'; - } - index++; - const formatter = createDebug.formatters[format]; - if (typeof formatter === 'function') { - const val = args[index]; - match = formatter.call(self, val); - - // Now we need to remove `args[index]` since it's inlined in the `format` - args.splice(index, 1); - index--; - } - return match; - }); - - // Apply env-specific formatting (colors, etc.) - createDebug.formatArgs.call(self, args); - - const logFn = self.log || createDebug.log; - logFn.apply(self, args); - } - - debug.namespace = namespace; - debug.useColors = createDebug.useColors(); - debug.color = createDebug.selectColor(namespace); - debug.extend = extend; - debug.destroy = createDebug.destroy; // XXX Temporary. Will be removed in the next major release. - - Object.defineProperty(debug, 'enabled', { - enumerable: true, - configurable: false, - get: () => { - if (enableOverride !== null) { - return enableOverride; - } - if (namespacesCache !== createDebug.namespaces) { - namespacesCache = createDebug.namespaces; - enabledCache = createDebug.enabled(namespace); - } - - return enabledCache; - }, - set: v => { - enableOverride = v; - } - }); - - // Env-specific initialization logic for debug instances - if (typeof createDebug.init === 'function') { - createDebug.init(debug); - } - - return debug; - } - - function extend(namespace, delimiter) { - const newDebug = createDebug(this.namespace + (typeof delimiter === 'undefined' ? ':' : delimiter) + namespace); - newDebug.log = this.log; - return newDebug; - } - - /** - * Enables a debug mode by namespaces. This can include modes - * separated by a colon and wildcards. - * - * @param {String} namespaces - * @api public - */ - function enable(namespaces) { - createDebug.save(namespaces); - createDebug.namespaces = namespaces; - - createDebug.names = []; - createDebug.skips = []; - - let i; - const split = (typeof namespaces === 'string' ? namespaces : '').split(/[\s,]+/); - const len = split.length; - - for (i = 0; i < len; i++) { - if (!split[i]) { - // ignore empty strings - continue; - } - - namespaces = split[i].replace(/\*/g, '.*?'); - - if (namespaces[0] === '-') { - createDebug.skips.push(new RegExp('^' + namespaces.slice(1) + '$')); - } else { - createDebug.names.push(new RegExp('^' + namespaces + '$')); - } - } - } - - /** - * Disable debug output. - * - * @return {String} namespaces - * @api public - */ - function disable() { - const namespaces = [ - ...createDebug.names.map(toNamespace), - ...createDebug.skips.map(toNamespace).map(namespace => '-' + namespace) - ].join(','); - createDebug.enable(''); - return namespaces; - } - - /** - * Returns true if the given mode name is enabled, false otherwise. - * - * @param {String} name - * @return {Boolean} - * @api public - */ - function enabled(name) { - if (name[name.length - 1] === '*') { - return true; - } - - let i; - let len; - - for (i = 0, len = createDebug.skips.length; i < len; i++) { - if (createDebug.skips[i].test(name)) { - return false; - } - } - - for (i = 0, len = createDebug.names.length; i < len; i++) { - if (createDebug.names[i].test(name)) { - return true; - } - } - - return false; - } - - /** - * Convert regexp to namespace - * - * @param {RegExp} regxep - * @return {String} namespace - * @api private - */ - function toNamespace(regexp) { - return regexp.toString() - .substring(2, regexp.toString().length - 2) - .replace(/\.\*\?$/, '*'); - } - - /** - * Coerce `val`. - * - * @param {Mixed} val - * @return {Mixed} - * @api private - */ - function coerce(val) { - if (val instanceof Error) { - return val.stack || val.message; - } - return val; - } - - /** - * XXX DO NOT USE. This is a temporary stub function. - * XXX It WILL be removed in the next major release. - */ - function destroy() { - console.warn('Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.'); - } - - createDebug.enable(createDebug.load()); - - return createDebug; -} - -module.exports = setup; diff --git a/node_modules/debug/src/index.js b/node_modules/debug/src/index.js deleted file mode 100644 index bf4c57f..0000000 --- a/node_modules/debug/src/index.js +++ /dev/null @@ -1,10 +0,0 @@ -/** - * Detect Electron renderer / nwjs process, which is node, but we should - * treat as a browser. - */ - -if (typeof process === 'undefined' || process.type === 'renderer' || process.browser === true || process.__nwjs) { - module.exports = require('./browser.js'); -} else { - module.exports = require('./node.js'); -} diff --git a/node_modules/debug/src/node.js b/node_modules/debug/src/node.js deleted file mode 100644 index 79bc085..0000000 --- a/node_modules/debug/src/node.js +++ /dev/null @@ -1,263 +0,0 @@ -/** - * Module dependencies. - */ - -const tty = require('tty'); -const util = require('util'); - -/** - * This is the Node.js implementation of `debug()`. - */ - -exports.init = init; -exports.log = log; -exports.formatArgs = formatArgs; -exports.save = save; -exports.load = load; -exports.useColors = useColors; -exports.destroy = util.deprecate( - () => {}, - 'Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.' -); - -/** - * Colors. - */ - -exports.colors = [6, 2, 3, 4, 5, 1]; - -try { - // Optional dependency (as in, doesn't need to be installed, NOT like optionalDependencies in package.json) - // eslint-disable-next-line import/no-extraneous-dependencies - const supportsColor = require('supports-color'); - - if (supportsColor && (supportsColor.stderr || supportsColor).level >= 2) { - exports.colors = [ - 20, - 21, - 26, - 27, - 32, - 33, - 38, - 39, - 40, - 41, - 42, - 43, - 44, - 45, - 56, - 57, - 62, - 63, - 68, - 69, - 74, - 75, - 76, - 77, - 78, - 79, - 80, - 81, - 92, - 93, - 98, - 99, - 112, - 113, - 128, - 129, - 134, - 135, - 148, - 149, - 160, - 161, - 162, - 163, - 164, - 165, - 166, - 167, - 168, - 169, - 170, - 171, - 172, - 173, - 178, - 179, - 184, - 185, - 196, - 197, - 198, - 199, - 200, - 201, - 202, - 203, - 204, - 205, - 206, - 207, - 208, - 209, - 214, - 215, - 220, - 221 - ]; - } -} catch (error) { - // Swallow - we only care if `supports-color` is available; it doesn't have to be. -} - -/** - * Build up the default `inspectOpts` object from the environment variables. - * - * $ DEBUG_COLORS=no DEBUG_DEPTH=10 DEBUG_SHOW_HIDDEN=enabled node script.js - */ - -exports.inspectOpts = Object.keys(process.env).filter(key => { - return /^debug_/i.test(key); -}).reduce((obj, key) => { - // Camel-case - const prop = key - .substring(6) - .toLowerCase() - .replace(/_([a-z])/g, (_, k) => { - return k.toUpperCase(); - }); - - // Coerce string value into JS value - let val = process.env[key]; - if (/^(yes|on|true|enabled)$/i.test(val)) { - val = true; - } else if (/^(no|off|false|disabled)$/i.test(val)) { - val = false; - } else if (val === 'null') { - val = null; - } else { - val = Number(val); - } - - obj[prop] = val; - return obj; -}, {}); - -/** - * Is stdout a TTY? Colored output is enabled when `true`. - */ - -function useColors() { - return 'colors' in exports.inspectOpts ? - Boolean(exports.inspectOpts.colors) : - tty.isatty(process.stderr.fd); -} - -/** - * Adds ANSI color escape codes if enabled. - * - * @api public - */ - -function formatArgs(args) { - const {namespace: name, useColors} = this; - - if (useColors) { - const c = this.color; - const colorCode = '\u001B[3' + (c < 8 ? c : '8;5;' + c); - const prefix = ` ${colorCode};1m${name} \u001B[0m`; - - args[0] = prefix + args[0].split('\n').join('\n' + prefix); - args.push(colorCode + 'm+' + module.exports.humanize(this.diff) + '\u001B[0m'); - } else { - args[0] = getDate() + name + ' ' + args[0]; - } -} - -function getDate() { - if (exports.inspectOpts.hideDate) { - return ''; - } - return new Date().toISOString() + ' '; -} - -/** - * Invokes `util.format()` with the specified arguments and writes to stderr. - */ - -function log(...args) { - return process.stderr.write(util.format(...args) + '\n'); -} - -/** - * Save `namespaces`. - * - * @param {String} namespaces - * @api private - */ -function save(namespaces) { - if (namespaces) { - process.env.DEBUG = namespaces; - } else { - // If you set a process.env field to null or undefined, it gets cast to the - // string 'null' or 'undefined'. Just delete instead. - delete process.env.DEBUG; - } -} - -/** - * Load `namespaces`. - * - * @return {String} returns the previously persisted debug modes - * @api private - */ - -function load() { - return process.env.DEBUG; -} - -/** - * Init logic for `debug` instances. - * - * Create a new `inspectOpts` object in case `useColors` is set - * differently for a particular `debug` instance. - */ - -function init(debug) { - debug.inspectOpts = {}; - - const keys = Object.keys(exports.inspectOpts); - for (let i = 0; i < keys.length; i++) { - debug.inspectOpts[keys[i]] = exports.inspectOpts[keys[i]]; - } -} - -module.exports = require('./common')(exports); - -const {formatters} = module.exports; - -/** - * Map %o to `util.inspect()`, all on a single line. - */ - -formatters.o = function (v) { - this.inspectOpts.colors = this.useColors; - return util.inspect(v, this.inspectOpts) - .split('\n') - .map(str => str.trim()) - .join(' '); -}; - -/** - * Map %O to `util.inspect()`, allowing multiple lines if needed. - */ - -formatters.O = function (v) { - this.inspectOpts.colors = this.useColors; - return util.inspect(v, this.inspectOpts); -}; diff --git a/node_modules/degenerator/README.md b/node_modules/degenerator/README.md deleted file mode 100644 index ffdd0e7..0000000 --- a/node_modules/degenerator/README.md +++ /dev/null @@ -1,117 +0,0 @@ -degenerator -=========== -### Compiles sync functions into async functions - -Sometimes you need to write sync looking code that's really async under the hood. -This module takes a String to one or more synchronous JavaScript functions, and -returns a new String that with those JS functions transpiled into `async` -functions. - -So this: - -```js -function foo() { - return a('bar') || b(); -} -``` - -Gets compiled into: - -```js -async function foo() { - return await a('bar') || await b(); -} -``` - -With the compiled output code, you can evaluate the code using the `vm` module -in Node.js, or save the code to a file and require it, or whatever. - -Example -------- - -You must explicitly specify the names of the functions that should be -"asyncified". So say we wanted to expose a `get(url)` function that did -and HTTP request and returned the response body. - -The user has provided us with this implementation: - -``` js -function myFn() { - const one = get('https://google.com'); - const two = get('http://nodejs.org'); - const three = JSON.parse(get('http://jsonip.org')); - return [one, two, three]; -} -``` - -Now we can compile this into an asyncronous function, implement the -async `get()` function, and finally evaluate it into a real JavaScript function -instance with the `vm` module: - - -```typescript -import vm from 'vm'; -import { degenerator } from 'degenerator'; - -// The `get()` function is Promise-based (error handling omitted for brevity) -function get(endpoint: string) { - return new Promise((resolve, reject) => { - var mod = 0 == endpoint.indexOf('https:') ? require('https') : require('http'); - var req = mod.get(endpoint); - req.on('response', function (res) { - var data = ''; - res.setEncoding('utf8'); - res.on('data', function (b) { data += b; }); - res.on('end', function () { - resolve(data); - }); - }); - }); -} - -// Convert the JavaScript string provided from the user (assumed to be `str` var) -str = degenerator(str, [ 'get' ]); - -// Turn the JS String into a real async function instance -const asyncFn = vm.runInNewContext(`(${str})`, { get }); - -// Now we can invoke the function asynchronously -asyncFn().then((res) => { - // Do something with `res`... -}); -``` - - -API ---- - -### degenerator(code: string, names: Array): String - -Returns a "degeneratorified" JavaScript string, with `async`/`await` transplanted. - - -License -------- - -(The MIT License) - -Copyright (c) 2013 Nathan Rajlich <nathan@tootallnate.net> - -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. diff --git a/node_modules/degenerator/dist/compile.d.ts b/node_modules/degenerator/dist/compile.d.ts deleted file mode 100644 index 053157a..0000000 --- a/node_modules/degenerator/dist/compile.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -/// -import type { Context } from 'vm'; -import type { QuickJSWASMModule } from '@tootallnate/quickjs-emscripten'; -import type { DegeneratorNames } from './degenerator'; -export interface CompileOptions { - names?: DegeneratorNames; - filename?: string; - sandbox?: Context; -} -export declare function compile(qjs: QuickJSWASMModule, code: string, returnName: string, options?: CompileOptions): (...args: A) => Promise; -//# sourceMappingURL=compile.d.ts.map \ No newline at end of file diff --git a/node_modules/degenerator/dist/compile.d.ts.map b/node_modules/degenerator/dist/compile.d.ts.map deleted file mode 100644 index be9b2de..0000000 --- a/node_modules/degenerator/dist/compile.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"compile.d.ts","sourceRoot":"","sources":["../src/compile.ts"],"names":[],"mappings":";AAEA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,IAAI,CAAC;AAClC,OAAO,KAAK,EAGX,iBAAiB,EACjB,MAAM,iCAAiC,CAAC;AACzC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAEtD,MAAM,WAAW,cAAc;IAC9B,KAAK,CAAC,EAAE,gBAAgB,CAAC;IACzB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,OAAO,CAAC,EAAE,OAAO,CAAC;CAClB;AAED,wBAAgB,OAAO,CAAC,CAAC,GAAG,OAAO,EAAE,CAAC,SAAS,OAAO,EAAE,GAAG,EAAE,EAC5D,GAAG,EAAE,iBAAiB,EACtB,IAAI,EAAE,MAAM,EACZ,UAAU,EAAE,MAAM,EAClB,OAAO,GAAE,cAAmB,GAC1B,CAAC,GAAG,IAAI,EAAE,CAAC,KAAK,OAAO,CAAC,CAAC,CAAC,CA4E5B"} \ No newline at end of file diff --git a/node_modules/degenerator/dist/compile.js b/node_modules/degenerator/dist/compile.js deleted file mode 100644 index 19e5223..0000000 --- a/node_modules/degenerator/dist/compile.js +++ /dev/null @@ -1,107 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.compile = void 0; -const util_1 = require("util"); -const degenerator_1 = require("./degenerator"); -function compile(qjs, code, returnName, options = {}) { - const compiled = (0, degenerator_1.degenerator)(code, options.names ?? []); - const vm = qjs.newContext(); - // Add functions to global - if (options.sandbox) { - for (const [name, value] of Object.entries(options.sandbox)) { - if (typeof value !== 'function') { - throw new Error(`Expected a "function" for sandbox property \`${name}\`, but got "${typeof value}"`); - } - const fnHandle = vm.newFunction(name, (...args) => { - const result = value(...args.map((arg) => quickJSHandleToHost(vm, arg))); - vm.runtime.executePendingJobs(); - return hostToQuickJSHandle(vm, result); - }); - fnHandle.consume((handle) => vm.setProp(vm.global, name, handle)); - } - } - const fnResult = vm.evalCode(`${compiled};${returnName}`, options.filename); - const fn = vm.unwrapResult(fnResult); - const t = vm.typeof(fn); - if (t !== 'function') { - throw new Error(`Expected a "function" named \`${returnName}\` to be defined, but got "${t}"`); - } - const r = async function (...args) { - let promiseHandle; - let resolvedHandle; - try { - const result = vm.callFunction(fn, vm.undefined, ...args.map((arg) => hostToQuickJSHandle(vm, arg))); - promiseHandle = vm.unwrapResult(result); - const resolvedResultP = vm.resolvePromise(promiseHandle); - vm.runtime.executePendingJobs(); - const resolvedResult = await resolvedResultP; - resolvedHandle = vm.unwrapResult(resolvedResult); - return quickJSHandleToHost(vm, resolvedHandle); - } - catch (err) { - if (err && typeof err === 'object' && 'cause' in err && err.cause) { - if (typeof err.cause === 'object' && - 'stack' in err.cause && - 'name' in err.cause && - 'message' in err.cause && - typeof err.cause.stack === 'string' && - typeof err.cause.name === 'string' && - typeof err.cause.message === 'string') { - // QuickJS Error `stack` does not include the name + - // message, so patch those in to behave more like V8 - err.cause.stack = `${err.cause.name}: ${err.cause.message}\n${err.cause.stack}`; - } - throw err.cause; - } - throw err; - } - finally { - promiseHandle?.dispose(); - resolvedHandle?.dispose(); - } - }; - Object.defineProperty(r, 'toString', { - value: () => compiled, - enumerable: false, - }); - return r; -} -exports.compile = compile; -function quickJSHandleToHost(vm, val) { - return vm.dump(val); -} -function hostToQuickJSHandle(vm, val) { - if (typeof val === 'undefined') { - return vm.undefined; - } - else if (val === null) { - return vm.null; - } - else if (typeof val === 'string') { - return vm.newString(val); - } - else if (typeof val === 'number') { - return vm.newNumber(val); - } - else if (typeof val === 'bigint') { - return vm.newBigInt(val); - } - else if (typeof val === 'boolean') { - return val ? vm.true : vm.false; - } - else if (util_1.types.isPromise(val)) { - const promise = vm.newPromise(); - promise.settled.then(vm.runtime.executePendingJobs); - val.then((r) => { - promise.resolve(hostToQuickJSHandle(vm, r)); - }, (err) => { - promise.reject(hostToQuickJSHandle(vm, err)); - }); - return promise.handle; - } - else if (util_1.types.isNativeError(val)) { - return vm.newError(val); - } - throw new Error(`Unsupported value: ${val}`); -} -//# sourceMappingURL=compile.js.map \ No newline at end of file diff --git a/node_modules/degenerator/dist/compile.js.map b/node_modules/degenerator/dist/compile.js.map deleted file mode 100644 index 73326c0..0000000 --- a/node_modules/degenerator/dist/compile.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"compile.js","sourceRoot":"","sources":["../src/compile.ts"],"names":[],"mappings":";;;AAAA,+BAA6B;AAC7B,+CAA4C;AAe5C,SAAgB,OAAO,CACtB,GAAsB,EACtB,IAAY,EACZ,UAAkB,EAClB,UAA0B,EAAE;IAE5B,MAAM,QAAQ,GAAG,IAAA,yBAAW,EAAC,IAAI,EAAE,OAAO,CAAC,KAAK,IAAI,EAAE,CAAC,CAAC;IAExD,MAAM,EAAE,GAAG,GAAG,CAAC,UAAU,EAAE,CAAC;IAE5B,0BAA0B;IAC1B,IAAI,OAAO,CAAC,OAAO,EAAE;QACpB,KAAK,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,OAAO,CAAC,OAAO,CAAC,EAAE;YAC5D,IAAI,OAAO,KAAK,KAAK,UAAU,EAAE;gBAChC,MAAM,IAAI,KAAK,CACd,gDAAgD,IAAI,gBAAgB,OAAO,KAAK,GAAG,CACnF,CAAC;aACF;YACD,MAAM,QAAQ,GAAG,EAAE,CAAC,WAAW,CAAC,IAAI,EAAE,CAAC,GAAG,IAAI,EAAE,EAAE;gBACjD,MAAM,MAAM,GAAG,KAAK,CACnB,GAAG,IAAI,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,mBAAmB,CAAC,EAAE,EAAE,GA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G,CAAC,EAAE;QACpC,OAAO,EAAE,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC;KACxB;IACD,MAAM,IAAI,KAAK,CAAC,sBAAsB,GAAG,EAAE,CAAC,CAAC;AAC9C,CAAC"} \ No newline at end of file diff --git a/node_modules/degenerator/dist/degenerator.d.ts b/node_modules/degenerator/dist/degenerator.d.ts deleted file mode 100644 index 3171e7d..0000000 --- a/node_modules/degenerator/dist/degenerator.d.ts +++ /dev/null @@ -1,12 +0,0 @@ -export type DegeneratorName = string | RegExp; -export type DegeneratorNames = DegeneratorName[]; -/** - * Compiles sync JavaScript code into JavaScript with async Functions. - * - * @param {String} code JavaScript string to convert - * @param {Array} names Array of function names to add `await` operators to - * @return {String} Converted JavaScript string with async/await injected - * @api public - */ -export declare function degenerator(code: string, _names: DegeneratorNames): string; -//# sourceMappingURL=degenerator.d.ts.map \ No newline at end of file diff --git a/node_modules/degenerator/dist/degenerator.d.ts.map b/node_modules/degenerator/dist/degenerator.d.ts.map deleted file mode 100644 index fef540b..0000000 --- a/node_modules/degenerator/dist/degenerator.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"degenerator.d.ts","sourceRoot":"","sources":["../src/degenerator.ts"],"names":[],"mappings":"AAKA,MAAM,MAAM,eAAe,GAAG,MAAM,GAAG,MAAM,CAAC;AAC9C,MAAM,MAAM,gBAAgB,GAAG,eAAe,EAAE,CAAC;AAEjD;;;;;;;GAOG;AAEH,wBAAgB,WAAW,CAAC,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,gBAAgB,GAAG,MAAM,CAyG1E"} \ No newline at end of file diff --git a/node_modules/degenerator/dist/degenerator.js b/node_modules/degenerator/dist/degenerator.js deleted file mode 100644 index 0df6236..0000000 --- a/node_modules/degenerator/dist/degenerator.js +++ /dev/null @@ -1,156 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.degenerator = void 0; -const util_1 = require("util"); -const escodegen_1 = require("escodegen"); -const esprima_1 = require("esprima"); -const ast_types_1 = require("ast-types"); -/** - * Compiles sync JavaScript code into JavaScript with async Functions. - * - * @param {String} code JavaScript string to convert - * @param {Array} names Array of function names to add `await` operators to - * @return {String} Converted JavaScript string with async/await injected - * @api public - */ -function degenerator(code, _names) { - if (!Array.isArray(_names)) { - throw new TypeError('an array of async function "names" is required'); - } - // Duplicate the `names` array since it's rude to augment the user args - const names = _names.slice(0); - const ast = (0, esprima_1.parseScript)(code); - // First pass is to find the `function` nodes and turn them into async or - // generator functions only if their body includes `CallExpressions` to - // function in `names`. We also add the names of the functions to the `names` - // array. We'll iterate several time, as every iteration might add new items - // to the `names` array, until no new names were added in the iteration. - let lastNamesLength = 0; - do { - lastNamesLength = names.length; - (0, ast_types_1.visit)(ast, { - visitVariableDeclaration(path) { - if (path.node.declarations) { - for (let i = 0; i < path.node.declarations.length; i++) { - const declaration = path.node.declarations[i]; - if (ast_types_1.namedTypes.VariableDeclarator.check(declaration) && - ast_types_1.namedTypes.Identifier.check(declaration.init) && - ast_types_1.namedTypes.Identifier.check(declaration.id) && - checkName(declaration.init.name, names) && - !checkName(declaration.id.name, names)) { - names.push(declaration.id.name); - } - } - } - return false; - }, - visitAssignmentExpression(path) { - if (ast_types_1.namedTypes.Identifier.check(path.node.left) && - ast_types_1.namedTypes.Identifier.check(path.node.right) && - checkName(path.node.right.name, names) && - !checkName(path.node.left.name, names)) { - names.push(path.node.left.name); - } - return false; - }, - visitFunction(path) { - if (path.node.id) { - let shouldDegenerate = false; - (0, ast_types_1.visit)(path.node, { - visitCallExpression(path) { - if (checkNames(path.node, names)) { - shouldDegenerate = true; - } - return false; - }, - }); - if (!shouldDegenerate) { - return false; - } - // Got a "function" expression/statement, - // convert it into an async function - path.node.async = true; - // Add function name to `names` array - if (!checkName(path.node.id.name, names)) { - names.push(path.node.id.name); - } - } - this.traverse(path); - }, - }); - } while (lastNamesLength !== names.length); - // Second pass is for adding `await` statements to any function - // invocations that match the given `names` array. - (0, ast_types_1.visit)(ast, { - visitCallExpression(path) { - if (checkNames(path.node, names)) { - // A "function invocation" expression, - // we need to inject an `AwaitExpression` - const delegate = false; - const { name, parent: { node: pNode }, } = path; - const expr = ast_types_1.builders.awaitExpression(path.node, delegate); - if (ast_types_1.namedTypes.CallExpression.check(pNode)) { - pNode.arguments[name] = expr; - } - else { - pNode[name] = expr; - } - } - this.traverse(path); - }, - }); - return (0, escodegen_1.generate)(ast); -} -exports.degenerator = degenerator; -/** - * Returns `true` if `node` has a matching name to one of the entries in the - * `names` array. - * - * @param {types.Node} node - * @param {Array} names Array of function names to return true for - * @return {Boolean} - * @api private - */ -function checkNames({ callee }, names) { - let name; - if (ast_types_1.namedTypes.Identifier.check(callee)) { - name = callee.name; - } - else if (ast_types_1.namedTypes.MemberExpression.check(callee)) { - if (ast_types_1.namedTypes.Identifier.check(callee.object) && - ast_types_1.namedTypes.Identifier.check(callee.property)) { - name = `${callee.object.name}.${callee.property.name}`; - } - else { - return false; - } - } - else if (ast_types_1.namedTypes.FunctionExpression.check(callee)) { - if (callee.id) { - name = callee.id.name; - } - else { - return false; - } - } - else { - throw new Error(`Don't know how to get name for: ${callee.type}`); - } - return checkName(name, names); -} -function checkName(name, names) { - // now that we have the `name`, check if any entries match in the `names` array - for (let i = 0; i < names.length; i++) { - const n = names[i]; - if (util_1.types.isRegExp(n)) { - if (n.test(name)) { - return true; - } - } - else if (name === n) { - return true; - } - } - return false; -} -//# sourceMappingURL=degenerator.js.map \ No newline at end of file diff --git a/node_modules/degenerator/dist/degenerator.js.map b/node_modules/degenerator/dist/degenerator.js.map deleted file mode 100644 index 4247aa3..0000000 --- a/node_modules/degenerator/dist/degenerator.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"degenerator.js","sourceRoot":"","sources":["../src/degenerator.ts"],"names":[],"mappings":";;;AAAA,+BAA6B;AAC7B,yCAAqC;AACrC,qCAAsC;AACtC,yCAAkE;AAKlE;;;;;;;GAOG;AAEH,SAAgB,WAAW,CAAC,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AAC,MAAM,CAAC;YACjC,sBAAC,CAAC,UAAU,CAAC,KAAK,CAAC,MAAM,CAAC,QAAQ,CAAC,EAClC;YACD,IAAI,GAAG,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,IAAI,MAAM,CAAC,QAAQ,CAAC,IAAI,EAAE,CAAC;SACvD;aAAM;YACN,OAAO,KAAK,CAAC;SACb;KACD;SAAM,IAAI,sBAAC,CAAC,kBAAkB,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE;QAC9C,IAAI,MAAM,CAAC,EAAE,EAAE;YACd,IAAI,GAAG,MAAM,CAAC,EAAE,CAAC,IAAI,CAAC;SACtB;aAAM;YACN,OAAO,KAAK,CAAC;SACb;KACD;SAAM;QACN,MAAM,IAAI,KAAK,CAAC,mCAAmC,MAAM,CAAC,IAAI,EAAE,CAAC,CAAC;KAClE;IACD,OAAO,SAAS,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC/B,CAAC;AAED,SAAS,SAAS,CAAC,IAAY,EAAE,KAAuB;IACvD,+EAA+E;IAC/E,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,KAAK,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE;QACtC,MAAM,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC;QACnB,IAAI,YAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,EAAE;YACtB,IAAI,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE;gBACjB,OAAO,IAAI,CAAC;aACZ;SACD;aAAM,IAAI,IAAI,KAAK,CAAC,EAAE;YACtB,OAAO,IAAI,CAAC;SACZ;KACD;IACD,OAAO,KAAK,CAAC;AACd,CAAC"} \ No newline at end of file diff --git a/node_modules/degenerator/dist/index.d.ts b/node_modules/degenerator/dist/index.d.ts deleted file mode 100644 index e08eb6a..0000000 --- a/node_modules/degenerator/dist/index.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -export * from './degenerator'; -export * from './compile'; -//# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/node_modules/degenerator/dist/index.d.ts.map b/node_modules/degenerator/dist/index.d.ts.map deleted file mode 100644 index 0afd9e9..0000000 --- a/node_modules/degenerator/dist/index.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,cAAc,WAAW,CAAC"} \ No newline at end of file diff --git a/node_modules/degenerator/dist/index.js b/node_modules/degenerator/dist/index.js deleted file mode 100644 index f976bd8..0000000 --- a/node_modules/degenerator/dist/index.js +++ /dev/null @@ -1,19 +0,0 @@ -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __exportStar = (this && this.__exportStar) || function(m, exports) { - for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -__exportStar(require("./degenerator"), exports); -__exportStar(require("./compile"), exports); -//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/node_modules/degenerator/dist/index.js.map b/node_modules/degenerator/dist/index.js.map deleted file mode 100644 index 44e832a..0000000 --- a/node_modules/degenerator/dist/index.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,gDAA8B;AAC9B,4CAA0B"} \ No newline at end of file diff --git a/node_modules/degenerator/package.json b/node_modules/degenerator/package.json deleted file mode 100644 index 66c4df7..0000000 --- a/node_modules/degenerator/package.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "name": "degenerator", - "version": "5.0.1", - "description": "Compiles sync functions into async generator functions", - "main": "./dist/index.js", - "types": "./dist/index.d.ts", - "files": [ - "dist" - ], - "author": "Nathan Rajlich (http://n8.io/)", - "repository": { - "type": "git", - "url": "https://github.com/TooTallNate/proxy-agents.git", - "directory": "packages/degenerator" - }, - "engines": { - "node": ">= 14" - }, - "license": "MIT", - "dependencies": { - "ast-types": "^0.13.4", - "escodegen": "^2.1.0", - "esprima": "^4.0.1" - }, - "devDependencies": { - "@tootallnate/quickjs-emscripten": "^0.23.0", - "@types/escodegen": "^0.0.7", - "@types/esprima": "^4.0.3", - "@types/jest": "^29.5.2", - "@types/node": "^14.18.52", - "jest": "^29.5.0", - "ts-jest": "^29.1.0", - "typescript": "^5.1.6", - "tsconfig": "0.0.0" - }, - "scripts": { - "build": "tsc", - "test": "jest --env node --verbose --bail", - "lint": "eslint . --ext .ts", - "pack": "node ../../scripts/pack.mjs" - } -} \ No newline at end of file diff --git a/node_modules/devtools-protocol/LICENSE b/node_modules/devtools-protocol/LICENSE deleted file mode 100644 index 972bb2e..0000000 --- a/node_modules/devtools-protocol/LICENSE +++ /dev/null @@ -1,27 +0,0 @@ -// Copyright 2014 The Chromium Authors. All rights reserved. -// -// Redistribution and use in source and binary forms, with or without -// modification, are permitted provided that the following conditions are -// met: -// -// * Redistributions of source code must retain the above copyright -// notice, this list of conditions and the following disclaimer. -// * Redistributions in binary form must reproduce the above -// copyright notice, this list of conditions and the following disclaimer -// in the documentation and/or other materials provided with the -// distribution. -// * Neither the name of Google Inc. nor the names of its -// contributors may be used to endorse or promote products derived from -// this software without specific prior written permission. -// -// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/node_modules/devtools-protocol/README.md b/node_modules/devtools-protocol/README.md deleted file mode 100644 index 155e078..0000000 --- a/node_modules/devtools-protocol/README.md +++ /dev/null @@ -1,11 +0,0 @@ -# devtools-protocol [![devtools-protocol on npm](https://img.shields.io/npm/v/devtools-protocol)](https://www.npmjs.com/package/devtools-protocol) - -:warning: -This repository is related to Chrome DevTools Protocol, but does not track issues regarding its definition or implementation. -If you want to file an issue for the Chrome DevTools Protocol, please open an issue on https://crbug.com under [`component: Platform>DevTools>Platform`](https://bugs.chromium.org/p/chromium/issues/entry?components=Platform%3EDevTools%3EPlatform). - -Use the [protocol viewer](https://chromedevtools.github.io/devtools-protocol/) for navigating the protocol. - -TypeScript definitions for the protocol's types are available in ['types/protocol.d.ts'](https://github.com/ChromeDevTools/devtools-protocol/tree/master/types). Mappings from Commands and events to these types are available in either generated `DomainApi` style in [`types/protocol-proxy-api.d.ts`](https://github.com/ChromeDevTools/devtools-protocol/blob/master/types/protocol-proxy-api.d.ts) or in simple name-to-type-interface style in [`types/protocol-mapping.d.ts`](https://github.com/ChromeDevTools/devtools-protocol/blob/master/types/protocol-mapping.d.ts). - -Also, this repo is published as the [`devtools-protocol`](https://www.npmjs.com/package/devtools-protocol) npm module. diff --git a/node_modules/devtools-protocol/json/browser_protocol.json b/node_modules/devtools-protocol/json/browser_protocol.json deleted file mode 100644 index 9e6fff7..0000000 --- a/node_modules/devtools-protocol/json/browser_protocol.json +++ /dev/null @@ -1,25227 +0,0 @@ -{ - "version": { - "major": "1", - "minor": "3" - }, - "domains": [ - { - "domain": "Accessibility", - "experimental": true, - "dependencies": [ - "DOM" - ], - "types": [ - { - "id": "AXNodeId", - "description": "Unique accessibility node identifier.", - "type": "string" - }, - { - "id": "AXValueType", - "description": "Enum of possible property types.", - "type": "string", - "enum": [ - "boolean", - "tristate", - "booleanOrUndefined", - "idref", - "idrefList", - "integer", - "node", - "nodeList", - "number", - "string", - "computedString", - "token", - "tokenList", - "domRelation", - "role", - "internalRole", - "valueUndefined" - ] - }, - { - "id": "AXValueSourceType", - "description": "Enum of possible property sources.", - "type": "string", - "enum": [ - "attribute", - "implicit", - "style", - "contents", - "placeholder", - "relatedElement" - ] - }, - { - "id": "AXValueNativeSourceType", - "description": "Enum of possible native property sources (as a subtype of a particular AXValueSourceType).", - "type": "string", - "enum": [ - "description", - "figcaption", - "label", - "labelfor", - "labelwrapped", - "legend", - "rubyannotation", - "tablecaption", - "title", - "other" - ] - }, - { - "id": "AXValueSource", - "description": "A single source for a computed AX property.", - "type": "object", - "properties": [ - { - "name": "type", - "description": "What type of source this is.", - "$ref": "AXValueSourceType" - }, - { - "name": "value", - "description": "The value of this property source.", - "optional": true, - "$ref": "AXValue" - }, - { - "name": "attribute", - "description": "The name of the relevant attribute, if any.", - "optional": true, - "type": "string" - }, - { - "name": "attributeValue", - "description": "The value of the relevant attribute, if any.", - "optional": true, - "$ref": "AXValue" - }, - { - "name": "superseded", - "description": "Whether this source is superseded by a higher priority source.", - "optional": true, - "type": "boolean" - }, - { - "name": "nativeSource", - "description": "The native markup source for this value, e.g. a `