前端-胡立永 1 year ago
parent
commit
c3be550b24
331 changed files with 10229 additions and 17149 deletions
  1. +5
    -0
      common/config.js
  2. +1
    -1
      node_modules/.bin/acorn
  3. +6
    -16
      node_modules/.bin/acorn.cmd
  4. +0
    -18
      node_modules/.bin/acorn.ps1
  5. +1
    -1
      node_modules/.bin/eslint
  6. +6
    -16
      node_modules/.bin/eslint.cmd
  7. +0
    -18
      node_modules/.bin/eslint.ps1
  8. +1
    -1
      node_modules/.bin/js-yaml
  9. +6
    -16
      node_modules/.bin/js-yaml.cmd
  10. +0
    -18
      node_modules/.bin/js-yaml.ps1
  11. +1
    -1
      node_modules/.bin/mime
  12. +6
    -16
      node_modules/.bin/mime.cmd
  13. +0
    -18
      node_modules/.bin/mime.ps1
  14. +1
    -1
      node_modules/.bin/mkdirp
  15. +6
    -16
      node_modules/.bin/mkdirp.cmd
  16. +0
    -18
      node_modules/.bin/mkdirp.ps1
  17. +1
    -1
      node_modules/.bin/node-which
  18. +6
    -16
      node_modules/.bin/node-which.cmd
  19. +0
    -18
      node_modules/.bin/node-which.ps1
  20. +1
    -1
      node_modules/.bin/os-name
  21. +6
    -16
      node_modules/.bin/os-name.cmd
  22. +0
    -18
      node_modules/.bin/os-name.ps1
  23. +1
    -1
      node_modules/.bin/osx-release
  24. +6
    -16
      node_modules/.bin/osx-release.cmd
  25. +0
    -18
      node_modules/.bin/osx-release.ps1
  26. +1
    -1
      node_modules/.bin/rimraf
  27. +6
    -16
      node_modules/.bin/rimraf.cmd
  28. +0
    -18
      node_modules/.bin/rimraf.ps1
  29. +3
    -3
      node_modules/.bin/semver
  30. +6
    -16
      node_modules/.bin/semver.cmd
  31. +0
    -18
      node_modules/.bin/semver.ps1
  32. +21
    -1
      node_modules/@eslint-community/eslint-utils/index.js
  33. +1
    -1
      node_modules/@eslint-community/eslint-utils/index.js.map
  34. +21
    -1
      node_modules/@eslint-community/eslint-utils/index.mjs
  35. +1
    -1
      node_modules/@eslint-community/eslint-utils/index.mjs.map
  36. +76
    -104
      node_modules/@eslint-community/eslint-utils/package.json
  37. +53
    -81
      node_modules/@eslint-community/regexpp/package.json
  38. +47
    -78
      node_modules/@eslint/eslintrc/package.json
  39. +16
    -44
      node_modules/@eslint/js/package.json
  40. +40
    -68
      node_modules/@humanwhocodes/config-array/package.json
  41. +39
    -71
      node_modules/@humanwhocodes/module-importer/package.json
  42. +22
    -50
      node_modules/@humanwhocodes/object-schema/package.json
  43. +24
    -53
      node_modules/@nodelib/fs.scandir/package.json
  44. +18
    -47
      node_modules/@nodelib/fs.stat/package.json
  45. +24
    -53
      node_modules/@nodelib/fs.walk/package.json
  46. +1
    -1
      node_modules/@ungap/structured-clone/README.md
  47. +6
    -0
      node_modules/@ungap/structured-clone/cjs/deserialize.js
  48. +13
    -3
      node_modules/@ungap/structured-clone/cjs/serialize.js
  49. +6
    -0
      node_modules/@ungap/structured-clone/esm/deserialize.js
  50. +13
    -3
      node_modules/@ungap/structured-clone/esm/serialize.js
  51. +31
    -58
      node_modules/@ungap/structured-clone/package.json
  52. +1
    -1
      node_modules/@ungap/structured-clone/structured-json.js
  53. +11
    -39
      node_modules/acorn-jsx/package.json
  54. +12
    -0
      node_modules/acorn/CHANGELOG.md
  55. +33
    -24
      node_modules/acorn/dist/acorn.js
  56. +33
    -24
      node_modules/acorn/dist/acorn.mjs
  57. +16
    -44
      node_modules/acorn/package.json
  58. +19
    -51
      node_modules/address/package.json
  59. +28
    -58
      node_modules/agentkeepalive/package.json
  60. +62
    -90
      node_modules/ajv/package.json
  61. +128
    -8
      node_modules/ali-oss/README.md
  62. +470
    -452
      node_modules/ali-oss/dist/aliyun-oss-sdk.js
  63. +2
    -2
      node_modules/ali-oss/dist/aliyun-oss-sdk.min.js
  64. +6
    -5
      node_modules/ali-oss/lib/browser/client.js
  65. +22
    -14
      node_modules/ali-oss/lib/browser/object.js
  66. +1
    -1
      node_modules/ali-oss/lib/browser/version.js
  67. +6
    -5
      node_modules/ali-oss/lib/client.js
  68. +3
    -1
      node_modules/ali-oss/lib/common/object/getBucketVersions.js
  69. +1
    -0
      node_modules/ali-oss/lib/common/object/index.js
  70. +3
    -3
      node_modules/ali-oss/lib/common/object/signatureUrlV4.js
  71. +20
    -3
      node_modules/ali-oss/lib/common/signUtils.js
  72. +21
    -14
      node_modules/ali-oss/lib/object.js
  73. +84
    -110
      node_modules/ali-oss/package.json
  74. +53
    -85
      node_modules/ansi-regex/package.json
  75. +54
    -86
      node_modules/ansi-styles/package.json
  76. +20
    -49
      node_modules/any-promise/package.json
  77. +17
    -49
      node_modules/argparse/package.json
  78. +17
    -45
      node_modules/balanced-match/package.json
  79. +18
    -47
      node_modules/bowser/package.json
  80. +18
    -46
      node_modules/brace-expansion/package.json
  81. +19
    -51
      node_modules/builtin-status-codes/package.json
  82. +13
    -0
      node_modules/call-bind/CHANGELOG.md
  83. +6
    -17
      node_modules/call-bind/index.js
  84. +91
    -124
      node_modules/call-bind/package.json
  85. +4
    -10
      node_modules/call-bind/test/index.js
  86. +37
    -69
      node_modules/callsites/package.json
  87. +66
    -98
      node_modules/chalk/package.json
  88. +20
    -55
      node_modules/color-convert/package.json
  89. +14
    -42
      node_modules/color-name/package.json
  90. +40
    -85
      node_modules/concat-map/package.json
  91. +16
    -45
      node_modules/confusing-browser-globals/package.json
  92. +15
    -50
      node_modules/content-type/package.json
  93. +18
    -49
      node_modules/copy-to/package.json
  94. +16
    -47
      node_modules/core-util-is/package.json
  95. +40
    -71
      node_modules/cross-spawn/package.json
  96. +18
    -59
      node_modules/dateformat/package.json
  97. +48
    -78
      node_modules/dayjs/package.json
  98. +36
    -76
      node_modules/debug/package.json
  99. +1
    -0
      node_modules/debug/src/browser.js
  100. +57
    -39
      node_modules/debug/src/common.js

+ 5
- 0
common/config.js View File

@ -1,6 +1,11 @@
export default {
// baseUrl : 'http://127.0.0.1:8000',
// baseUrl: 'https://api.book118.com',
<<<<<<< HEAD
baseUrl:'https://houserent-admin.hhlm1688.com'
// baseUrl:'http://h5.xzaiyp.top'
=======
// baseUrl:'https://houserent-admin.hhlm1688.com'
baseUrl:'http://h5.xzaiyp.top'
>>>>>>> 601be7eea191cf9a0655626cd6f7f00e28a5200e
}

+ 1
- 1
node_modules/.bin/acorn View File

@ -2,7 +2,7 @@
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
case `uname` in
*CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;;
*CYGWIN*) basedir=`cygpath -w "$basedir"`;;
esac
if [ -x "$basedir/node" ]; then


+ 6
- 16
node_modules/.bin/acorn.cmd View File

@ -1,17 +1,7 @@
@ECHO off
SETLOCAL
CALL :find_dp0
IF EXIST "%dp0%\node.exe" (
SET "_prog=%dp0%\node.exe"
@IF EXIST "%~dp0\node.exe" (
"%~dp0\node.exe" "%~dp0\..\acorn\bin\acorn" %*
) ELSE (
SET "_prog=node"
SET PATHEXT=%PATHEXT:;.JS;=;%
)
"%_prog%" "%dp0%\..\acorn\bin\acorn" %*
ENDLOCAL
EXIT /b %errorlevel%
:find_dp0
SET dp0=%~dp0
EXIT /b
@SETLOCAL
@SET PATHEXT=%PATHEXT:;.JS;=;%
node "%~dp0\..\acorn\bin\acorn" %*
)

+ 0
- 18
node_modules/.bin/acorn.ps1 View File

@ -1,18 +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") {
& "$basedir/node$exe" "$basedir/../acorn/bin/acorn" $args
$ret=$LASTEXITCODE
} else {
& "node$exe" "$basedir/../acorn/bin/acorn" $args
$ret=$LASTEXITCODE
}
exit $ret

+ 1
- 1
node_modules/.bin/eslint View File

@ -2,7 +2,7 @@
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
case `uname` in
*CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;;
*CYGWIN*) basedir=`cygpath -w "$basedir"`;;
esac
if [ -x "$basedir/node" ]; then


+ 6
- 16
node_modules/.bin/eslint.cmd View File

@ -1,17 +1,7 @@
@ECHO off
SETLOCAL
CALL :find_dp0
IF EXIST "%dp0%\node.exe" (
SET "_prog=%dp0%\node.exe"
@IF EXIST "%~dp0\node.exe" (
"%~dp0\node.exe" "%~dp0\..\eslint\bin\eslint.js" %*
) ELSE (
SET "_prog=node"
SET PATHEXT=%PATHEXT:;.JS;=;%
)
"%_prog%" "%dp0%\..\eslint\bin\eslint.js" %*
ENDLOCAL
EXIT /b %errorlevel%
:find_dp0
SET dp0=%~dp0
EXIT /b
@SETLOCAL
@SET PATHEXT=%PATHEXT:;.JS;=;%
node "%~dp0\..\eslint\bin\eslint.js" %*
)

+ 0
- 18
node_modules/.bin/eslint.ps1 View File

@ -1,18 +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") {
& "$basedir/node$exe" "$basedir/../eslint/bin/eslint.js" $args
$ret=$LASTEXITCODE
} else {
& "node$exe" "$basedir/../eslint/bin/eslint.js" $args
$ret=$LASTEXITCODE
}
exit $ret

+ 1
- 1
node_modules/.bin/js-yaml View File

@ -2,7 +2,7 @@
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
case `uname` in
*CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;;
*CYGWIN*) basedir=`cygpath -w "$basedir"`;;
esac
if [ -x "$basedir/node" ]; then


+ 6
- 16
node_modules/.bin/js-yaml.cmd View File

@ -1,17 +1,7 @@
@ECHO off
SETLOCAL
CALL :find_dp0
IF EXIST "%dp0%\node.exe" (
SET "_prog=%dp0%\node.exe"
@IF EXIST "%~dp0\node.exe" (
"%~dp0\node.exe" "%~dp0\..\js-yaml\bin\js-yaml.js" %*
) ELSE (
SET "_prog=node"
SET PATHEXT=%PATHEXT:;.JS;=;%
)
"%_prog%" "%dp0%\..\js-yaml\bin\js-yaml.js" %*
ENDLOCAL
EXIT /b %errorlevel%
:find_dp0
SET dp0=%~dp0
EXIT /b
@SETLOCAL
@SET PATHEXT=%PATHEXT:;.JS;=;%
node "%~dp0\..\js-yaml\bin\js-yaml.js" %*
)

+ 0
- 18
node_modules/.bin/js-yaml.ps1 View File

@ -1,18 +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") {
& "$basedir/node$exe" "$basedir/../js-yaml/bin/js-yaml.js" $args
$ret=$LASTEXITCODE
} else {
& "node$exe" "$basedir/../js-yaml/bin/js-yaml.js" $args
$ret=$LASTEXITCODE
}
exit $ret

+ 1
- 1
node_modules/.bin/mime View File

@ -2,7 +2,7 @@
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
case `uname` in
*CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;;
*CYGWIN*) basedir=`cygpath -w "$basedir"`;;
esac
if [ -x "$basedir/node" ]; then


+ 6
- 16
node_modules/.bin/mime.cmd View File

@ -1,17 +1,7 @@
@ECHO off
SETLOCAL
CALL :find_dp0
IF EXIST "%dp0%\node.exe" (
SET "_prog=%dp0%\node.exe"
@IF EXIST "%~dp0\node.exe" (
"%~dp0\node.exe" "%~dp0\..\mime\cli.js" %*
) ELSE (
SET "_prog=node"
SET PATHEXT=%PATHEXT:;.JS;=;%
)
"%_prog%" "%dp0%\..\mime\cli.js" %*
ENDLOCAL
EXIT /b %errorlevel%
:find_dp0
SET dp0=%~dp0
EXIT /b
@SETLOCAL
@SET PATHEXT=%PATHEXT:;.JS;=;%
node "%~dp0\..\mime\cli.js" %*
)

+ 0
- 18
node_modules/.bin/mime.ps1 View File

@ -1,18 +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") {
& "$basedir/node$exe" "$basedir/../mime/cli.js" $args
$ret=$LASTEXITCODE
} else {
& "node$exe" "$basedir/../mime/cli.js" $args
$ret=$LASTEXITCODE
}
exit $ret

+ 1
- 1
node_modules/.bin/mkdirp View File

@ -2,7 +2,7 @@
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
case `uname` in
*CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;;
*CYGWIN*) basedir=`cygpath -w "$basedir"`;;
esac
if [ -x "$basedir/node" ]; then


+ 6
- 16
node_modules/.bin/mkdirp.cmd View File

@ -1,17 +1,7 @@
@ECHO off
SETLOCAL
CALL :find_dp0
IF EXIST "%dp0%\node.exe" (
SET "_prog=%dp0%\node.exe"
@IF EXIST "%~dp0\node.exe" (
"%~dp0\node.exe" "%~dp0\..\mkdirp\bin\cmd.js" %*
) ELSE (
SET "_prog=node"
SET PATHEXT=%PATHEXT:;.JS;=;%
)
"%_prog%" "%dp0%\..\mkdirp\bin\cmd.js" %*
ENDLOCAL
EXIT /b %errorlevel%
:find_dp0
SET dp0=%~dp0
EXIT /b
@SETLOCAL
@SET PATHEXT=%PATHEXT:;.JS;=;%
node "%~dp0\..\mkdirp\bin\cmd.js" %*
)

+ 0
- 18
node_modules/.bin/mkdirp.ps1 View File

@ -1,18 +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") {
& "$basedir/node$exe" "$basedir/../mkdirp/bin/cmd.js" $args
$ret=$LASTEXITCODE
} else {
& "node$exe" "$basedir/../mkdirp/bin/cmd.js" $args
$ret=$LASTEXITCODE
}
exit $ret

+ 1
- 1
node_modules/.bin/node-which View File

@ -2,7 +2,7 @@
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
case `uname` in
*CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;;
*CYGWIN*) basedir=`cygpath -w "$basedir"`;;
esac
if [ -x "$basedir/node" ]; then


+ 6
- 16
node_modules/.bin/node-which.cmd View File

@ -1,17 +1,7 @@
@ECHO off
SETLOCAL
CALL :find_dp0
IF EXIST "%dp0%\node.exe" (
SET "_prog=%dp0%\node.exe"
@IF EXIST "%~dp0\node.exe" (
"%~dp0\node.exe" "%~dp0\..\which\bin\node-which" %*
) ELSE (
SET "_prog=node"
SET PATHEXT=%PATHEXT:;.JS;=;%
)
"%_prog%" "%dp0%\..\which\bin\node-which" %*
ENDLOCAL
EXIT /b %errorlevel%
:find_dp0
SET dp0=%~dp0
EXIT /b
@SETLOCAL
@SET PATHEXT=%PATHEXT:;.JS;=;%
node "%~dp0\..\which\bin\node-which" %*
)

+ 0
- 18
node_modules/.bin/node-which.ps1 View File

@ -1,18 +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") {
& "$basedir/node$exe" "$basedir/../which/bin/node-which" $args
$ret=$LASTEXITCODE
} else {
& "node$exe" "$basedir/../which/bin/node-which" $args
$ret=$LASTEXITCODE
}
exit $ret

+ 1
- 1
node_modules/.bin/os-name View File

@ -2,7 +2,7 @@
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
case `uname` in
*CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;;
*CYGWIN*) basedir=`cygpath -w "$basedir"`;;
esac
if [ -x "$basedir/node" ]; then


+ 6
- 16
node_modules/.bin/os-name.cmd View File

@ -1,17 +1,7 @@
@ECHO off
SETLOCAL
CALL :find_dp0
IF EXIST "%dp0%\node.exe" (
SET "_prog=%dp0%\node.exe"
@IF EXIST "%~dp0\node.exe" (
"%~dp0\node.exe" "%~dp0\..\os-name\cli.js" %*
) ELSE (
SET "_prog=node"
SET PATHEXT=%PATHEXT:;.JS;=;%
)
"%_prog%" "%dp0%\..\os-name\cli.js" %*
ENDLOCAL
EXIT /b %errorlevel%
:find_dp0
SET dp0=%~dp0
EXIT /b
@SETLOCAL
@SET PATHEXT=%PATHEXT:;.JS;=;%
node "%~dp0\..\os-name\cli.js" %*
)

+ 0
- 18
node_modules/.bin/os-name.ps1 View File

@ -1,18 +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") {
& "$basedir/node$exe" "$basedir/../os-name/cli.js" $args
$ret=$LASTEXITCODE
} else {
& "node$exe" "$basedir/../os-name/cli.js" $args
$ret=$LASTEXITCODE
}
exit $ret

+ 1
- 1
node_modules/.bin/osx-release View File

@ -2,7 +2,7 @@
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
case `uname` in
*CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;;
*CYGWIN*) basedir=`cygpath -w "$basedir"`;;
esac
if [ -x "$basedir/node" ]; then


+ 6
- 16
node_modules/.bin/osx-release.cmd View File

@ -1,17 +1,7 @@
@ECHO off
SETLOCAL
CALL :find_dp0
IF EXIST "%dp0%\node.exe" (
SET "_prog=%dp0%\node.exe"
@IF EXIST "%~dp0\node.exe" (
"%~dp0\node.exe" "%~dp0\..\osx-release\cli.js" %*
) ELSE (
SET "_prog=node"
SET PATHEXT=%PATHEXT:;.JS;=;%
)
"%_prog%" "%dp0%\..\osx-release\cli.js" %*
ENDLOCAL
EXIT /b %errorlevel%
:find_dp0
SET dp0=%~dp0
EXIT /b
@SETLOCAL
@SET PATHEXT=%PATHEXT:;.JS;=;%
node "%~dp0\..\osx-release\cli.js" %*
)

+ 0
- 18
node_modules/.bin/osx-release.ps1 View File

@ -1,18 +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") {
& "$basedir/node$exe" "$basedir/../osx-release/cli.js" $args
$ret=$LASTEXITCODE
} else {
& "node$exe" "$basedir/../osx-release/cli.js" $args
$ret=$LASTEXITCODE
}
exit $ret

+ 1
- 1
node_modules/.bin/rimraf View File

@ -2,7 +2,7 @@
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
case `uname` in
*CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;;
*CYGWIN*) basedir=`cygpath -w "$basedir"`;;
esac
if [ -x "$basedir/node" ]; then


+ 6
- 16
node_modules/.bin/rimraf.cmd View File

@ -1,17 +1,7 @@
@ECHO off
SETLOCAL
CALL :find_dp0
IF EXIST "%dp0%\node.exe" (
SET "_prog=%dp0%\node.exe"
@IF EXIST "%~dp0\node.exe" (
"%~dp0\node.exe" "%~dp0\..\rimraf\bin.js" %*
) ELSE (
SET "_prog=node"
SET PATHEXT=%PATHEXT:;.JS;=;%
)
"%_prog%" "%dp0%\..\rimraf\bin.js" %*
ENDLOCAL
EXIT /b %errorlevel%
:find_dp0
SET dp0=%~dp0
EXIT /b
@SETLOCAL
@SET PATHEXT=%PATHEXT:;.JS;=;%
node "%~dp0\..\rimraf\bin.js" %*
)

+ 0
- 18
node_modules/.bin/rimraf.ps1 View File

@ -1,18 +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") {
& "$basedir/node$exe" "$basedir/../rimraf/bin.js" $args
$ret=$LASTEXITCODE
} else {
& "node$exe" "$basedir/../rimraf/bin.js" $args
$ret=$LASTEXITCODE
}
exit $ret

+ 3
- 3
node_modules/.bin/semver View File

@ -2,14 +2,14 @@
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
case `uname` in
*CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;;
*CYGWIN*) basedir=`cygpath -w "$basedir"`;;
esac
if [ -x "$basedir/node" ]; then
"$basedir/node" "$basedir/../semver/bin/semver" "$@"
"$basedir/node" "$basedir/../semver/bin/semver.js" "$@"
ret=$?
else
node "$basedir/../semver/bin/semver" "$@"
node "$basedir/../semver/bin/semver.js" "$@"
ret=$?
fi
exit $ret

+ 6
- 16
node_modules/.bin/semver.cmd View File

@ -1,17 +1,7 @@
@ECHO off
SETLOCAL
CALL :find_dp0
IF EXIST "%dp0%\node.exe" (
SET "_prog=%dp0%\node.exe"
@IF EXIST "%~dp0\node.exe" (
"%~dp0\node.exe" "%~dp0\..\semver\bin\semver.js" %*
) ELSE (
SET "_prog=node"
SET PATHEXT=%PATHEXT:;.JS;=;%
)
"%_prog%" "%dp0%\..\semver\bin\semver" %*
ENDLOCAL
EXIT /b %errorlevel%
:find_dp0
SET dp0=%~dp0
EXIT /b
@SETLOCAL
@SET PATHEXT=%PATHEXT:;.JS;=;%
node "%~dp0\..\semver\bin\semver.js" %*
)

+ 0
- 18
node_modules/.bin/semver.ps1 View File

@ -1,18 +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") {
& "$basedir/node$exe" "$basedir/../semver/bin/semver" $args
$ret=$LASTEXITCODE
} else {
& "node$exe" "$basedir/../semver/bin/semver" $args
$ret=$LASTEXITCODE
}
exit $ret

+ 21
- 1
node_modules/@eslint-community/eslint-utils/index.js View File

@ -930,7 +930,17 @@ function getStringIfConstant(node, initialScope = null) {
}
const evaluated = getStaticValue(node, initialScope);
return evaluated && String(evaluated.value)
if (evaluated) {
// `String(Symbol.prototype)` throws error
try {
return String(evaluated.value)
} catch {
// No op
}
}
return null
}
/**
@ -1736,6 +1746,16 @@ class ReferenceTracker {
}
}
/**
* Iterate the property references for a given expression AST node.
* @param {object} node The expression AST node to iterate property references.
* @param {object} traceMap The trace map.
* @returns {IterableIterator<{node:Node,path:string[],type:symbol,info:any}>} The iterator to iterate property references.
*/
*iteratePropertyReferences(node, traceMap) {
yield* this._iteratePropertyReferences(node, [], traceMap);
}
/**
* Iterate the references for a given variable.
* @param {Variable} variable The variable to iterate that references.


+ 1
- 1
node_modules/@eslint-community/eslint-utils/index.js.map
File diff suppressed because it is too large
View File


+ 21
- 1
node_modules/@eslint-community/eslint-utils/index.mjs View File

@ -926,7 +926,17 @@ function getStringIfConstant(node, initialScope = null) {
}
const evaluated = getStaticValue(node, initialScope);
return evaluated && String(evaluated.value)
if (evaluated) {
// `String(Symbol.prototype)` throws error
try {
return String(evaluated.value)
} catch {
// No op
}
}
return null
}
/**
@ -1732,6 +1742,16 @@ class ReferenceTracker {
}
}
/**
* Iterate the property references for a given expression AST node.
* @param {object} node The expression AST node to iterate property references.
* @param {object} traceMap The trace map.
* @returns {IterableIterator<{node:Node,path:string[],type:symbol,info:any}>} The iterator to iterate property references.
*/
*iteratePropertyReferences(node, traceMap) {
yield* this._iteratePropertyReferences(node, [], traceMap);
}
/**
* Iterate the references for a given variable.
* @param {Variable} variable The variable to iterate that references.


+ 1
- 1
node_modules/@eslint-community/eslint-utils/index.mjs.map
File diff suppressed because it is too large
View File


+ 76
- 104
node_modules/@eslint-community/eslint-utils/package.json View File

@ -1,108 +1,80 @@
{
"_from": "@eslint-community/eslint-utils@^4.2.0",
"_id": "@eslint-community/eslint-utils@4.4.1",
"_inBundle": false,
"_integrity": "sha512-s3O3waFUrMV8P/XaF/+ZTp1X9XBZW1a4B97ZnjQF2KYWaFD2A8KyFBsrsfSjEmjn3RGWAIuvlneuZm3CUK3jbA==",
"_location": "/@eslint-community/eslint-utils",
"_phantomChildren": {},
"_requested": {
"type": "range",
"registry": true,
"raw": "@eslint-community/eslint-utils@^4.2.0",
"name": "@eslint-community/eslint-utils",
"escapedName": "@eslint-community%2feslint-utils",
"scope": "@eslint-community",
"rawSpec": "^4.2.0",
"saveSpec": null,
"fetchSpec": "^4.2.0"
},
"_requiredBy": [
"/eslint"
],
"_resolved": "https://registry.npmmirror.com/@eslint-community/eslint-utils/-/eslint-utils-4.4.1.tgz",
"_shasum": "d1145bf2c20132d6400495d6df4bf59362fd9d56",
"_spec": "@eslint-community/eslint-utils@^4.2.0",
"_where": "E:\\webView\\tenancy-wechat-uniapp\\node_modules\\eslint",
"author": {
"name": "Toru Nagashima"
},
"bugs": {
"url": "https://github.com/eslint-community/eslint-utils/issues"
},
"bundleDependencies": false,
"dependencies": {
"eslint-visitor-keys": "^3.4.3"
},
"deprecated": false,
"description": "Utilities for ESLint plugins.",
"devDependencies": {
"@eslint-community/eslint-plugin-mysticatea": "^15.6.1",
"c8": "^8.0.1",
"dot-prop": "^7.2.0",
"eslint": "^8.57.1",
"installed-check": "^8.0.1",
"knip": "^5.33.3",
"mocha": "^9.2.2",
"npm-run-all2": "^6.2.3",
"opener": "^1.5.2",
"prettier": "2.8.8",
"rimraf": "^3.0.2",
"rollup": "^2.79.2",
"rollup-plugin-sourcemaps": "^0.6.3",
"semver": "^7.6.3",
"vitepress": "^1.4.1",
"warun": "^1.0.0"
},
"engines": {
"node": "^12.22.0 || ^14.17.0 || >=16.0.0"
},
"exports": {
".": {
"import": "./index.mjs",
"require": "./index.js"
"version": "4.5.1",
"description": "Utilities for ESLint plugins.",
"keywords": [
"eslint"
],
"homepage": "https://github.com/eslint-community/eslint-utils#readme",
"bugs": {
"url": "https://github.com/eslint-community/eslint-utils/issues"
},
"./package.json": "./package.json"
},
"files": [
"index.*"
],
"funding": "https://opencollective.com/eslint",
"homepage": "https://github.com/eslint-community/eslint-utils#readme",
"keywords": [
"eslint"
],
"license": "MIT",
"main": "index",
"module": "index.mjs",
"name": "@eslint-community/eslint-utils",
"peerDependencies": {
"eslint": "^6.0.0 || ^7.0.0 || >=8.0.0"
},
"repository": {
"type": "git",
"url": "git+https://github.com/eslint-community/eslint-utils.git"
},
"scripts": {
"build": "rollup -c",
"clean": "rimraf .nyc_output coverage index.*",
"coverage": "opener ./coverage/lcov-report/index.html",
"docs:build": "vitepress build docs",
"docs:watch": "vitepress dev docs",
"format": "npm run -s format:prettier -- --write",
"format:check": "npm run -s format:prettier -- --check",
"format:prettier": "prettier .",
"lint": "run-p lint:*",
"lint:eslint": "eslint .",
"lint:format": "npm run -s format:check",
"lint:installed-check": "installed-check -v -i installed-check -i npm-run-all2 -i knip",
"lint:knip": "knip",
"postversion": "git push && git push --tags",
"prebuild": "npm run -s clean",
"preversion": "npm test && npm run -s build",
"prewatch": "npm run -s clean",
"test": "c8 mocha --reporter dot \"test/*.mjs\"",
"watch": "warun \"{src,test}/**/*.mjs\" -- npm run -s test:mocha"
},
"sideEffects": false,
"version": "4.4.1"
"repository": {
"type": "git",
"url": "https://github.com/eslint-community/eslint-utils"
},
"license": "MIT",
"author": "Toru Nagashima",
"sideEffects": false,
"exports": {
".": {
"import": "./index.mjs",
"require": "./index.js"
},
"./package.json": "./package.json"
},
"main": "index",
"module": "index.mjs",
"files": [
"index.*"
],
"scripts": {
"prebuild": "npm run -s clean",
"build": "rollup -c",
"clean": "rimraf .nyc_output coverage index.*",
"coverage": "opener ./coverage/lcov-report/index.html",
"docs:build": "vitepress build docs",
"docs:watch": "vitepress dev docs",
"format": "npm run -s format:prettier -- --write",
"format:prettier": "prettier .",
"format:check": "npm run -s format:prettier -- --check",
"lint:eslint": "eslint .",
"lint:format": "npm run -s format:check",
"lint:installed-check": "installed-check -v -i installed-check -i npm-run-all2 -i knip",
"lint:knip": "knip",
"lint": "run-p lint:*",
"test": "c8 mocha --reporter dot \"test/*.mjs\"",
"preversion": "npm test && npm run -s build",
"postversion": "git push && git push --tags",
"prewatch": "npm run -s clean",
"watch": "warun \"{src,test}/**/*.mjs\" -- npm run -s test:mocha"
},
"dependencies": {
"eslint-visitor-keys": "^3.4.3"
},
"devDependencies": {
"@eslint-community/eslint-plugin-mysticatea": "^15.6.1",
"c8": "^8.0.1",
"dot-prop": "^7.2.0",
"eslint": "^8.57.1",
"installed-check": "^8.0.1",
"knip": "^5.33.3",
"mocha": "^9.2.2",
"npm-run-all2": "^6.2.3",
"opener": "^1.5.2",
"prettier": "2.8.8",
"rimraf": "^3.0.2",
"rollup": "^2.79.2",
"rollup-plugin-sourcemaps": "^0.6.3",
"semver": "^7.6.3",
"vitepress": "^1.4.1",
"warun": "^1.0.0"
},
"peerDependencies": {
"eslint": "^6.0.0 || ^7.0.0 || >=8.0.0"
},
"engines": {
"node": "^12.22.0 || ^14.17.0 || >=16.0.0"
},
"funding": "https://opencollective.com/eslint"
}

+ 53
- 81
node_modules/@eslint-community/regexpp/package.json View File

@ -1,73 +1,7 @@
{
"_from": "@eslint-community/regexpp@^4.6.1",
"_id": "@eslint-community/regexpp@4.12.1",
"_inBundle": false,
"_integrity": "sha512-CCZCDJuduB9OUkFkY2IgppNZMi2lBQgD2qzwXkEia16cge2pijY/aXi96CJMquDMn3nJdlPV1A5KrJEXwfLNzQ==",
"_location": "/@eslint-community/regexpp",
"_phantomChildren": {},
"_requested": {
"type": "range",
"registry": true,
"raw": "@eslint-community/regexpp@^4.6.1",
"name": "@eslint-community/regexpp",
"escapedName": "@eslint-community%2fregexpp",
"scope": "@eslint-community",
"rawSpec": "^4.6.1",
"saveSpec": null,
"fetchSpec": "^4.6.1"
},
"_requiredBy": [
"/eslint"
],
"_resolved": "https://registry.npmmirror.com/@eslint-community/regexpp/-/regexpp-4.12.1.tgz",
"_shasum": "cfc6cffe39df390a3841cde2abccf92eaa7ae0e0",
"_spec": "@eslint-community/regexpp@^4.6.1",
"_where": "E:\\webView\\tenancy-wechat-uniapp\\node_modules\\eslint",
"author": {
"name": "Toru Nagashima"
},
"bugs": {
"url": "https://github.com/eslint-community/regexpp/issues"
},
"bundleDependencies": false,
"dependencies": {},
"deprecated": false,
"name": "@eslint-community/regexpp",
"version": "4.12.1",
"description": "Regular expression parser for ECMAScript.",
"devDependencies": {
"@eslint-community/eslint-plugin-mysticatea": "^15.5.1",
"@rollup/plugin-node-resolve": "^14.1.0",
"@types/eslint": "^8.44.3",
"@types/jsdom": "^16.2.15",
"@types/mocha": "^9.1.1",
"@types/node": "^12.20.55",
"dts-bundle": "^0.7.3",
"eslint": "^8.50.0",
"js-tokens": "^8.0.2",
"jsdom": "^19.0.0",
"mocha": "^9.2.2",
"npm-run-all2": "^6.2.2",
"nyc": "^14.1.1",
"rimraf": "^3.0.2",
"rollup": "^2.79.1",
"rollup-plugin-sourcemaps": "^0.6.3",
"ts-node": "^10.9.1",
"typescript": "~5.0.2"
},
"engines": {
"node": "^12.0.0 || ^14.0.0 || >=16.0.0"
},
"exports": {
".": {
"types": "./index.d.ts",
"import": "./index.mjs",
"default": "./index.js"
},
"./package.json": "./package.json"
},
"files": [
"index.*"
],
"homepage": "https://github.com/eslint-community/regexpp#readme",
"keywords": [
"regexp",
"regular",
@ -88,32 +22,70 @@
"es2021",
"annexB"
],
"license": "MIT",
"main": "index",
"name": "@eslint-community/regexpp",
"homepage": "https://github.com/eslint-community/regexpp#readme",
"bugs": {
"url": "https://github.com/eslint-community/regexpp/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/eslint-community/regexpp.git"
"url": "https://github.com/eslint-community/regexpp"
},
"license": "MIT",
"author": "Toru Nagashima",
"exports": {
".": {
"types": "./index.d.ts",
"import": "./index.mjs",
"default": "./index.js"
},
"./package.json": "./package.json"
},
"main": "index",
"files": [
"index.*"
],
"scripts": {
"prebuild": "npm run -s clean",
"build": "run-s build:*",
"build:dts": "npm run -s build:tsc -- --removeComments false && dts-bundle --name @eslint-community/regexpp --main .temp/index.d.ts --out ../index.d.ts && prettier --write index.d.ts",
"build:rollup": "rollup -c",
"build:tsc": "tsc --module es2015",
"build:rollup": "rollup -c",
"build:dts": "npm run -s build:tsc -- --removeComments false && dts-bundle --name @eslint-community/regexpp --main .temp/index.d.ts --out ../index.d.ts && prettier --write index.d.ts",
"clean": "rimraf .temp index.*",
"debug": "mocha --require ts-node/register/transpile-only \"test/*.ts\" --reporter dot --timeout 10000",
"lint": "eslint . --ext .ts",
"postversion": "git push && git push --tags",
"prebuild": "npm run -s clean",
"preversion": "npm test && npm run -s build",
"prewatch": "npm run -s clean",
"test": "nyc _mocha \"test/*.ts\" --reporter dot --timeout 10000",
"debug": "mocha --require ts-node/register/transpile-only \"test/*.ts\" --reporter dot --timeout 10000",
"update:test": "ts-node scripts/update-fixtures.ts",
"update:test262:extract": "ts-node -T scripts/extract-test262.ts",
"update:unicode": "run-s update:unicode:*",
"update:unicode:ids": "ts-node scripts/update-unicode-ids.ts",
"update:unicode:props": "ts-node scripts/update-unicode-properties.ts",
"update:test262:extract": "ts-node -T scripts/extract-test262.ts",
"preversion": "npm test && npm run -s build",
"postversion": "git push && git push --tags",
"prewatch": "npm run -s clean",
"watch": "_mocha \"test/*.ts\" --require ts-node/register --reporter dot --timeout 10000 --watch-extensions ts --watch --growl"
},
"version": "4.12.1"
"dependencies": {},
"devDependencies": {
"@eslint-community/eslint-plugin-mysticatea": "^15.5.1",
"@rollup/plugin-node-resolve": "^14.1.0",
"@types/eslint": "^8.44.3",
"@types/jsdom": "^16.2.15",
"@types/mocha": "^9.1.1",
"@types/node": "^12.20.55",
"dts-bundle": "^0.7.3",
"eslint": "^8.50.0",
"js-tokens": "^8.0.2",
"jsdom": "^19.0.0",
"mocha": "^9.2.2",
"npm-run-all2": "^6.2.2",
"nyc": "^14.1.1",
"rimraf": "^3.0.2",
"rollup": "^2.79.1",
"rollup-plugin-sourcemaps": "^0.6.3",
"ts-node": "^10.9.1",
"typescript": "~5.0.2"
},
"engines": {
"node": "^12.0.0 || ^14.0.0 || >=16.0.0"
}
}

+ 47
- 78
node_modules/@eslint/eslintrc/package.json View File

@ -1,66 +1,9 @@
{
"_from": "@eslint/eslintrc@^2.1.4",
"_id": "@eslint/eslintrc@2.1.4",
"_inBundle": false,
"_integrity": "sha512-269Z39MS6wVJtsoUl10L60WdkhJVdPG24Q4eZTH3nnF6lpvSShEK3wQjDX9JRWAUPvPh7COouPpU9IrqaZFvtQ==",
"_location": "/@eslint/eslintrc",
"_phantomChildren": {},
"_requested": {
"type": "range",
"registry": true,
"raw": "@eslint/eslintrc@^2.1.4",
"name": "@eslint/eslintrc",
"escapedName": "@eslint%2feslintrc",
"scope": "@eslint",
"rawSpec": "^2.1.4",
"saveSpec": null,
"fetchSpec": "^2.1.4"
},
"_requiredBy": [
"/eslint"
],
"_resolved": "https://registry.npmmirror.com/@eslint/eslintrc/-/eslintrc-2.1.4.tgz",
"_shasum": "388a269f0f25c1b6adc317b5a2c55714894c70ad",
"_spec": "@eslint/eslintrc@^2.1.4",
"_where": "E:\\webView\\tenancy-wechat-uniapp\\node_modules\\eslint",
"author": {
"name": "Nicholas C. Zakas"
},
"bugs": {
"url": "https://github.com/eslint/eslintrc/issues"
},
"bundleDependencies": false,
"dependencies": {
"ajv": "^6.12.4",
"debug": "^4.3.2",
"espree": "^9.6.0",
"globals": "^13.19.0",
"ignore": "^5.2.0",
"import-fresh": "^3.2.1",
"js-yaml": "^4.1.0",
"minimatch": "^3.1.2",
"strip-json-comments": "^3.1.1"
},
"deprecated": false,
"name": "@eslint/eslintrc",
"version": "2.1.4",
"description": "The legacy ESLintRC config file format for ESLint",
"devDependencies": {
"c8": "^7.7.3",
"chai": "^4.3.4",
"eslint": "^7.31.0",
"eslint-config-eslint": "^7.0.0",
"eslint-plugin-jsdoc": "^35.4.1",
"eslint-plugin-node": "^11.1.0",
"eslint-release": "^3.2.0",
"fs-teardown": "^0.1.3",
"mocha": "^9.0.3",
"rollup": "^2.70.1",
"shelljs": "^0.8.4",
"sinon": "^11.1.2",
"temp-dir": "^2.0.0"
},
"engines": {
"node": "^12.22.0 || ^14.17.0 || >=16.0.0"
},
"type": "module",
"main": "./dist/eslintrc.cjs",
"exports": {
".": {
"import": "./lib/index.js",
@ -79,35 +22,61 @@
"dist",
"universal.js"
],
"funding": "https://opencollective.com/eslint",
"homepage": "https://github.com/eslint/eslintrc#readme",
"keywords": [
"ESLint",
"ESLintRC",
"Configuration"
],
"license": "MIT",
"main": "./dist/eslintrc.cjs",
"name": "@eslint/eslintrc",
"publishConfig": {
"access": "public"
},
"repository": {
"type": "git",
"url": "git+https://github.com/eslint/eslintrc.git"
},
"scripts": {
"build": "rollup -c",
"lint": "eslint . --report-unused-disable-directives",
"lint:fix": "npm run lint -- --fix",
"prepare": "npm run build",
"release:generate:latest": "eslint-generate-release",
"release:generate:alpha": "eslint-generate-prerelease alpha",
"release:generate:beta": "eslint-generate-prerelease beta",
"release:generate:latest": "eslint-generate-release",
"release:generate:rc": "eslint-generate-prerelease rc",
"release:publish": "eslint-publish-release",
"test": "mocha -R progress -c 'tests/lib/*.cjs' && c8 mocha -R progress -c 'tests/lib/**/*.js'"
},
"type": "module",
"version": "2.1.4"
"repository": "eslint/eslintrc",
"funding": "https://opencollective.com/eslint",
"keywords": [
"ESLint",
"ESLintRC",
"Configuration"
],
"author": "Nicholas C. Zakas",
"license": "MIT",
"bugs": {
"url": "https://github.com/eslint/eslintrc/issues"
},
"homepage": "https://github.com/eslint/eslintrc#readme",
"devDependencies": {
"c8": "^7.7.3",
"chai": "^4.3.4",
"eslint": "^7.31.0",
"eslint-config-eslint": "^7.0.0",
"eslint-plugin-jsdoc": "^35.4.1",
"eslint-plugin-node": "^11.1.0",
"eslint-release": "^3.2.0",
"fs-teardown": "^0.1.3",
"mocha": "^9.0.3",
"rollup": "^2.70.1",
"shelljs": "^0.8.4",
"sinon": "^11.1.2",
"temp-dir": "^2.0.0"
},
"dependencies": {
"ajv": "^6.12.4",
"debug": "^4.3.2",
"espree": "^9.6.0",
"globals": "^13.19.0",
"ignore": "^5.2.0",
"import-fresh": "^3.2.1",
"js-yaml": "^4.1.0",
"minimatch": "^3.1.2",
"strip-json-comments": "^3.1.1"
},
"engines": {
"node": "^12.22.0 || ^14.17.0 || >=16.0.0"
}
}

+ 16
- 44
node_modules/@eslint/js/package.json View File

@ -1,59 +1,31 @@
{
"_from": "@eslint/js@8.57.1",
"_id": "@eslint/js@8.57.1",
"_inBundle": false,
"_integrity": "sha512-d9zaMRSTIKDLhctzH12MtXvJKSSUhaHcjV+2Z+GK+EEY7XKpP5yR4x+N3TAcHTcu963nIr+TMcCb4DBCYX1z6Q==",
"_location": "/@eslint/js",
"_phantomChildren": {},
"_requested": {
"type": "version",
"registry": true,
"raw": "@eslint/js@8.57.1",
"name": "@eslint/js",
"escapedName": "@eslint%2fjs",
"scope": "@eslint",
"rawSpec": "8.57.1",
"saveSpec": null,
"fetchSpec": "8.57.1"
},
"_requiredBy": [
"/eslint"
],
"_resolved": "https://registry.npmmirror.com/@eslint/js/-/js-8.57.1.tgz",
"_shasum": "de633db3ec2ef6a3c89e2f19038063e8a122e2c2",
"_spec": "@eslint/js@8.57.1",
"_where": "E:\\webView\\tenancy-wechat-uniapp\\node_modules\\eslint",
"bugs": {
"url": "https://github.com/eslint/eslint/issues/"
},
"bundleDependencies": false,
"deprecated": false,
"name": "@eslint/js",
"version": "8.57.1",
"description": "ESLint JavaScript language implementation",
"engines": {
"node": "^12.22.0 || ^14.17.0 || >=16.0.0"
},
"main": "./src/index.js",
"scripts": {},
"files": [
"LICENSE",
"README.md",
"src"
],
"homepage": "https://eslint.org",
"keywords": [
"javascript",
"eslint-plugin",
"eslint"
],
"license": "MIT",
"main": "./src/index.js",
"name": "@eslint/js",
"publishConfig": {
"access": "public"
},
"repository": {
"type": "git",
"url": "git+https://github.com/eslint/eslint.git",
"url": "https://github.com/eslint/eslint.git",
"directory": "packages/js"
},
"scripts": {},
"version": "8.57.1"
"homepage": "https://eslint.org",
"bugs": "https://github.com/eslint/eslint/issues/",
"keywords": [
"javascript",
"eslint-plugin",
"eslint"
],
"license": "MIT",
"engines": {
"node": "^12.22.0 || ^14.17.0 || >=16.0.0"
}
}

+ 40
- 68
node_modules/@humanwhocodes/config-array/package.json View File

@ -1,42 +1,53 @@
{
"_from": "@humanwhocodes/config-array@^0.13.0",
"_id": "@humanwhocodes/config-array@0.13.0",
"_inBundle": false,
"_integrity": "sha512-DZLEEqFWQFiyK6h5YIeynKx7JlvCYWL0cImfSRXZ9l4Sg2efkFGTuFf6vzXjK1cq6IYkU+Eg/JizXw+TD2vRNw==",
"_location": "/@humanwhocodes/config-array",
"_phantomChildren": {},
"_requested": {
"type": "range",
"registry": true,
"raw": "@humanwhocodes/config-array@^0.13.0",
"name": "@humanwhocodes/config-array",
"escapedName": "@humanwhocodes%2fconfig-array",
"scope": "@humanwhocodes",
"rawSpec": "^0.13.0",
"saveSpec": null,
"fetchSpec": "^0.13.0"
},
"_requiredBy": [
"/eslint"
"name": "@humanwhocodes/config-array",
"version": "0.13.0",
"description": "Glob-based configuration matching.",
"author": "Nicholas C. Zakas",
"main": "api.js",
"files": [
"api.js",
"LICENSE",
"README.md"
],
"_resolved": "https://registry.npmmirror.com/@humanwhocodes/config-array/-/config-array-0.13.0.tgz",
"_shasum": "fb907624df3256d04b9aa2df50d7aa97ec648748",
"_spec": "@humanwhocodes/config-array@^0.13.0",
"_where": "E:\\webView\\tenancy-wechat-uniapp\\node_modules\\eslint",
"author": {
"name": "Nicholas C. Zakas"
"repository": {
"type": "git",
"url": "git+https://github.com/humanwhocodes/config-array.git"
},
"bugs": {
"url": "https://github.com/humanwhocodes/config-array/issues"
},
"bundleDependencies": false,
"homepage": "https://github.com/humanwhocodes/config-array#readme",
"scripts": {
"build": "rollup -c",
"format": "nitpik",
"lint": "eslint *.config.js src/*.js tests/*.js",
"lint:fix": "eslint --fix *.config.js src/*.js tests/*.js",
"prepublish": "npm run build",
"test:coverage": "nyc --include src/*.js npm run test",
"test": "mocha -r esm tests/ --recursive"
},
"gitHooks": {
"pre-commit": "lint-staged"
},
"lint-staged": {
"*.js": [
"eslint --fix --ignore-pattern '!.eslintrc.js'"
]
},
"keywords": [
"configuration",
"configarray",
"config file"
],
"license": "Apache-2.0",
"engines": {
"node": ">=10.10.0"
},
"dependencies": {
"@humanwhocodes/object-schema": "^2.0.3",
"debug": "^4.3.1",
"minimatch": "^3.0.5"
},
"deprecated": "Use @eslint/config-array instead",
"description": "Glob-based configuration matching.",
"devDependencies": {
"@nitpik/javascript": "0.4.0",
"@nitpik/node": "0.0.5",
@ -48,44 +59,5 @@
"nyc": "15.1.0",
"rollup": "3.28.1",
"yorkie": "2.0.0"
},
"engines": {
"node": ">=10.10.0"
},
"files": [
"api.js",
"LICENSE",
"README.md"
],
"gitHooks": {
"pre-commit": "lint-staged"
},
"homepage": "https://github.com/humanwhocodes/config-array#readme",
"keywords": [
"configuration",
"configarray",
"config file"
],
"license": "Apache-2.0",
"lint-staged": {
"*.js": [
"eslint --fix --ignore-pattern '!.eslintrc.js'"
]
},
"main": "api.js",
"name": "@humanwhocodes/config-array",
"repository": {
"type": "git",
"url": "git+https://github.com/humanwhocodes/config-array.git"
},
"scripts": {
"build": "rollup -c",
"format": "nitpik",
"lint": "eslint *.config.js src/*.js tests/*.js",
"lint:fix": "eslint --fix *.config.js src/*.js tests/*.js",
"prepublish": "npm run build",
"test": "mocha -r esm tests/ --recursive",
"test:coverage": "nyc --include src/*.js npm run test"
},
"version": "0.13.0"
}
}

+ 39
- 71
node_modules/@humanwhocodes/module-importer/package.json View File

@ -1,51 +1,11 @@
{
"_from": "@humanwhocodes/module-importer@^1.0.1",
"_id": "@humanwhocodes/module-importer@1.0.1",
"_inBundle": false,
"_integrity": "sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA==",
"_location": "/@humanwhocodes/module-importer",
"_phantomChildren": {},
"_requested": {
"type": "range",
"registry": true,
"raw": "@humanwhocodes/module-importer@^1.0.1",
"name": "@humanwhocodes/module-importer",
"escapedName": "@humanwhocodes%2fmodule-importer",
"scope": "@humanwhocodes",
"rawSpec": "^1.0.1",
"saveSpec": null,
"fetchSpec": "^1.0.1"
},
"_requiredBy": [
"/eslint"
],
"_resolved": "https://registry.npmmirror.com/@humanwhocodes/module-importer/-/module-importer-1.0.1.tgz",
"_shasum": "af5b2691a22b44be847b0ca81641c5fb6ad0172c",
"_spec": "@humanwhocodes/module-importer@^1.0.1",
"_where": "E:\\webView\\tenancy-wechat-uniapp\\node_modules\\eslint",
"author": {
"name": "Nicholas C. Zaks"
},
"bugs": {
"url": "https://github.com/humanwhocodes/module-importer/issues"
},
"bundleDependencies": false,
"deprecated": false,
"name": "@humanwhocodes/module-importer",
"version": "1.0.1",
"description": "Universal module importer for Node.js",
"devDependencies": {
"@types/node": "^18.7.6",
"c8": "7.12.0",
"chai": "4.3.6",
"eslint": "8.22.0",
"lint-staged": "13.0.3",
"mocha": "9.2.2",
"rollup": "2.78.0",
"typescript": "4.7.4",
"yorkie": "2.0.0"
},
"engines": {
"node": ">=12.22"
},
"main": "src/module-importer.cjs",
"module": "src/module-importer.js",
"type": "module",
"types": "dist/module-importer.d.ts",
"exports": {
"require": "./src/module-importer.cjs",
"import": "./src/module-importer.js"
@ -54,44 +14,52 @@
"dist",
"src"
],
"funding": {
"type": "github",
"url": "https://github.com/sponsors/nzakas"
"publishConfig": {
"access": "public"
},
"gitHooks": {
"pre-commit": "lint-staged"
},
"homepage": "https://github.com/humanwhocodes/module-importer#readme",
"keywords": [
"modules",
"esm",
"commonjs"
],
"license": "Apache-2.0",
"lint-staged": {
"*.js": [
"eslint --fix"
]
},
"main": "src/module-importer.cjs",
"module": "src/module-importer.js",
"name": "@humanwhocodes/module-importer",
"publishConfig": {
"access": "public"
},
"repository": {
"type": "git",
"url": "git+https://github.com/humanwhocodes/module-importer.git"
"funding": {
"type": "github",
"url": "https://github.com/sponsors/nzakas"
},
"scripts": {
"build": "rollup -c && tsc",
"lint": "eslint src/ tests/",
"prepare": "npm run build",
"test": "npm run test:unit && npm run test:build",
"lint": "eslint src/ tests/",
"test:unit": "c8 mocha tests/module-importer.test.js",
"test:build": "node tests/pkg.test.cjs && node tests/pkg.test.mjs",
"test:unit": "c8 mocha tests/module-importer.test.js"
"test": "npm run test:unit && npm run test:build"
},
"type": "module",
"types": "dist/module-importer.d.ts",
"version": "1.0.1"
"repository": {
"type": "git",
"url": "git+https://github.com/humanwhocodes/module-importer.git"
},
"keywords": [
"modules",
"esm",
"commonjs"
],
"engines": {
"node": ">=12.22"
},
"author": "Nicholas C. Zaks",
"license": "Apache-2.0",
"devDependencies": {
"@types/node": "^18.7.6",
"c8": "7.12.0",
"chai": "4.3.6",
"eslint": "8.22.0",
"lint-staged": "13.0.3",
"mocha": "9.2.2",
"rollup": "2.78.0",
"typescript": "4.7.4",
"yorkie": "2.0.0"
}
}

+ 22
- 50
node_modules/@humanwhocodes/object-schema/package.json View File

@ -1,66 +1,38 @@
{
"_from": "@humanwhocodes/object-schema@^2.0.3",
"_id": "@humanwhocodes/object-schema@2.0.3",
"_inBundle": false,
"_integrity": "sha512-93zYdMES/c1D69yZiKDBj0V24vqNzB/koF26KPaagAfd3P/4gUlh3Dys5ogAK+Exi9QyzlD8x/08Zt7wIKcDcA==",
"_location": "/@humanwhocodes/object-schema",
"_phantomChildren": {},
"_requested": {
"type": "range",
"registry": true,
"raw": "@humanwhocodes/object-schema@^2.0.3",
"name": "@humanwhocodes/object-schema",
"escapedName": "@humanwhocodes%2fobject-schema",
"scope": "@humanwhocodes",
"rawSpec": "^2.0.3",
"saveSpec": null,
"fetchSpec": "^2.0.3"
},
"_requiredBy": [
"/@humanwhocodes/config-array"
],
"_resolved": "https://registry.npmmirror.com/@humanwhocodes/object-schema/-/object-schema-2.0.3.tgz",
"_shasum": "4a2868d75d6d6963e423bcf90b7fd1be343409d3",
"_spec": "@humanwhocodes/object-schema@^2.0.3",
"_where": "E:\\webView\\tenancy-wechat-uniapp\\node_modules\\@humanwhocodes\\config-array",
"author": {
"name": "Nicholas C. Zakas"
},
"bugs": {
"url": "https://github.com/humanwhocodes/object-schema/issues"
},
"bundleDependencies": false,
"deprecated": "Use @eslint/object-schema instead",
"name": "@humanwhocodes/object-schema",
"version": "2.0.3",
"description": "An object schema merger/validator",
"devDependencies": {
"chai": "^4.2.0",
"eslint": "^5.13.0",
"mocha": "^5.2.0"
},
"directories": {
"test": "tests"
},
"main": "src/index.js",
"files": [
"src",
"LICENSE",
"README.md"
],
"homepage": "https://github.com/humanwhocodes/object-schema#readme",
"directories": {
"test": "tests"
},
"scripts": {
"test": "mocha tests/"
},
"repository": {
"type": "git",
"url": "git+https://github.com/humanwhocodes/object-schema.git"
},
"keywords": [
"object",
"validation",
"schema",
"merge"
],
"author": "Nicholas C. Zakas",
"license": "BSD-3-Clause",
"main": "src/index.js",
"name": "@humanwhocodes/object-schema",
"repository": {
"type": "git",
"url": "git+https://github.com/humanwhocodes/object-schema.git"
},
"scripts": {
"test": "mocha tests/"
"bugs": {
"url": "https://github.com/humanwhocodes/object-schema/issues"
},
"version": "2.0.3"
"homepage": "https://github.com/humanwhocodes/object-schema#readme",
"devDependencies": {
"chai": "^4.2.0",
"eslint": "^5.13.0",
"mocha": "^5.2.0"
}
}

+ 24
- 53
node_modules/@nodelib/fs.scandir/package.json View File

@ -1,48 +1,9 @@
{
"_from": "@nodelib/fs.scandir@2.1.5",
"_id": "@nodelib/fs.scandir@2.1.5",
"_inBundle": false,
"_integrity": "sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==",
"_location": "/@nodelib/fs.scandir",
"_phantomChildren": {},
"_requested": {
"type": "version",
"registry": true,
"raw": "@nodelib/fs.scandir@2.1.5",
"name": "@nodelib/fs.scandir",
"escapedName": "@nodelib%2ffs.scandir",
"scope": "@nodelib",
"rawSpec": "2.1.5",
"saveSpec": null,
"fetchSpec": "2.1.5"
},
"_requiredBy": [
"/@nodelib/fs.walk"
],
"_resolved": "https://registry.npmmirror.com/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz",
"_shasum": "7619c2eb21b25483f6d167548b4cfd5a7488c3d5",
"_spec": "@nodelib/fs.scandir@2.1.5",
"_where": "E:\\webView\\tenancy-wechat-uniapp\\node_modules\\@nodelib\\fs.walk",
"bundleDependencies": false,
"dependencies": {
"@nodelib/fs.stat": "2.0.5",
"run-parallel": "^1.1.9"
},
"deprecated": false,
"name": "@nodelib/fs.scandir",
"version": "2.1.5",
"description": "List files and directories inside the specified directory",
"devDependencies": {
"@nodelib/fs.macchiato": "1.0.4",
"@types/run-parallel": "^1.1.0"
},
"engines": {
"node": ">= 8"
},
"files": [
"out/**",
"!out/**/*.map",
"!out/**/*.spec.*"
],
"gitHead": "d6a7960d5281d3dd5f8e2efba49bb552d090f562",
"license": "MIT",
"repository": "https://github.com/nodelib/nodelib/tree/master/packages/fs/fs.scandir",
"keywords": [
"NodeLib",
"fs",
@ -52,22 +13,32 @@
"readdir",
"dirent"
],
"license": "MIT",
"main": "out/index.js",
"name": "@nodelib/fs.scandir",
"repository": {
"type": "git",
"url": "https://github.com/nodelib/nodelib/tree/master/packages/fs/fs.scandir"
"engines": {
"node": ">= 8"
},
"files": [
"out/**",
"!out/**/*.map",
"!out/**/*.spec.*"
],
"main": "out/index.js",
"typings": "out/index.d.ts",
"scripts": {
"build": "npm run clean && npm run compile && npm run lint && npm test",
"clean": "rimraf {tsconfig.tsbuildinfo,out}",
"lint": "eslint \"src/**/*.ts\" --cache",
"compile": "tsc -b .",
"compile:watch": "tsc -p . --watch --sourceMap",
"lint": "eslint \"src/**/*.ts\" --cache",
"test": "mocha \"out/**/*.spec.js\" -s 0",
"build": "npm run clean && npm run compile && npm run lint && npm test",
"watch": "npm run clean && npm run compile:watch"
},
"typings": "out/index.d.ts",
"version": "2.1.5"
"dependencies": {
"@nodelib/fs.stat": "2.0.5",
"run-parallel": "^1.1.9"
},
"devDependencies": {
"@nodelib/fs.macchiato": "1.0.4",
"@types/run-parallel": "^1.1.0"
},
"gitHead": "d6a7960d5281d3dd5f8e2efba49bb552d090f562"
}

+ 18
- 47
node_modules/@nodelib/fs.stat/package.json View File

@ -1,34 +1,16 @@
{
"_from": "@nodelib/fs.stat@2.0.5",
"_id": "@nodelib/fs.stat@2.0.5",
"_inBundle": false,
"_integrity": "sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==",
"_location": "/@nodelib/fs.stat",
"_phantomChildren": {},
"_requested": {
"type": "version",
"registry": true,
"raw": "@nodelib/fs.stat@2.0.5",
"name": "@nodelib/fs.stat",
"escapedName": "@nodelib%2ffs.stat",
"scope": "@nodelib",
"rawSpec": "2.0.5",
"saveSpec": null,
"fetchSpec": "2.0.5"
},
"_requiredBy": [
"/@nodelib/fs.scandir"
],
"_resolved": "https://registry.npmmirror.com/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz",
"_shasum": "5bd262af94e9d25bd1e71b05deed44876a222e8b",
"_spec": "@nodelib/fs.stat@2.0.5",
"_where": "E:\\webView\\tenancy-wechat-uniapp\\node_modules\\@nodelib\\fs.scandir",
"bundleDependencies": false,
"deprecated": false,
"name": "@nodelib/fs.stat",
"version": "2.0.5",
"description": "Get the status of a file with some features",
"devDependencies": {
"@nodelib/fs.macchiato": "1.0.4"
},
"license": "MIT",
"repository": "https://github.com/nodelib/nodelib/tree/master/packages/fs/fs.stat",
"keywords": [
"NodeLib",
"fs",
"FileSystem",
"file system",
"stat"
],
"engines": {
"node": ">= 8"
},
@ -37,30 +19,19 @@
"!out/**/*.map",
"!out/**/*.spec.*"
],
"gitHead": "d6a7960d5281d3dd5f8e2efba49bb552d090f562",
"keywords": [
"NodeLib",
"fs",
"FileSystem",
"file system",
"stat"
],
"license": "MIT",
"main": "out/index.js",
"name": "@nodelib/fs.stat",
"repository": {
"type": "git",
"url": "https://github.com/nodelib/nodelib/tree/master/packages/fs/fs.stat"
},
"typings": "out/index.d.ts",
"scripts": {
"build": "npm run clean && npm run compile && npm run lint && npm test",
"clean": "rimraf {tsconfig.tsbuildinfo,out}",
"lint": "eslint \"src/**/*.ts\" --cache",
"compile": "tsc -b .",
"compile:watch": "tsc -p . --watch --sourceMap",
"lint": "eslint \"src/**/*.ts\" --cache",
"test": "mocha \"out/**/*.spec.js\" -s 0",
"build": "npm run clean && npm run compile && npm run lint && npm test",
"watch": "npm run clean && npm run compile:watch"
},
"typings": "out/index.d.ts",
"version": "2.0.5"
"devDependencies": {
"@nodelib/fs.macchiato": "1.0.4"
},
"gitHead": "d6a7960d5281d3dd5f8e2efba49bb552d090f562"
}

+ 24
- 53
node_modules/@nodelib/fs.walk/package.json View File

@ -1,48 +1,9 @@
{
"_from": "@nodelib/fs.walk@^1.2.8",
"_id": "@nodelib/fs.walk@1.2.8",
"_inBundle": false,
"_integrity": "sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==",
"_location": "/@nodelib/fs.walk",
"_phantomChildren": {},
"_requested": {
"type": "range",
"registry": true,
"raw": "@nodelib/fs.walk@^1.2.8",
"name": "@nodelib/fs.walk",
"escapedName": "@nodelib%2ffs.walk",
"scope": "@nodelib",
"rawSpec": "^1.2.8",
"saveSpec": null,
"fetchSpec": "^1.2.8"
},
"_requiredBy": [
"/eslint"
],
"_resolved": "https://registry.npmmirror.com/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz",
"_shasum": "e95737e8bb6746ddedf69c556953494f196fe69a",
"_spec": "@nodelib/fs.walk@^1.2.8",
"_where": "E:\\webView\\tenancy-wechat-uniapp\\node_modules\\eslint",
"bundleDependencies": false,
"dependencies": {
"@nodelib/fs.scandir": "2.1.5",
"fastq": "^1.6.0"
},
"deprecated": false,
"name": "@nodelib/fs.walk",
"version": "1.2.8",
"description": "A library for efficiently walking a directory recursively",
"devDependencies": {
"@nodelib/fs.macchiato": "1.0.4"
},
"engines": {
"node": ">= 8"
},
"files": [
"out/**",
"!out/**/*.map",
"!out/**/*.spec.*",
"!out/**/tests/**"
],
"gitHead": "1e5bad48565da2b06b8600e744324ea240bf49d8",
"license": "MIT",
"repository": "https://github.com/nodelib/nodelib/tree/master/packages/fs/fs.walk",
"keywords": [
"NodeLib",
"fs",
@ -52,22 +13,32 @@
"scanner",
"crawler"
],
"license": "MIT",
"main": "out/index.js",
"name": "@nodelib/fs.walk",
"repository": {
"type": "git",
"url": "https://github.com/nodelib/nodelib/tree/master/packages/fs/fs.walk"
"engines": {
"node": ">= 8"
},
"files": [
"out/**",
"!out/**/*.map",
"!out/**/*.spec.*",
"!out/**/tests/**"
],
"main": "out/index.js",
"typings": "out/index.d.ts",
"scripts": {
"build": "npm run clean && npm run compile && npm run lint && npm test",
"clean": "rimraf {tsconfig.tsbuildinfo,out}",
"lint": "eslint \"src/**/*.ts\" --cache",
"compile": "tsc -b .",
"compile:watch": "tsc -p . --watch --sourceMap",
"lint": "eslint \"src/**/*.ts\" --cache",
"test": "mocha \"out/**/*.spec.js\" -s 0",
"build": "npm run clean && npm run compile && npm run lint && npm test",
"watch": "npm run clean && npm run compile:watch"
},
"typings": "out/index.d.ts",
"version": "1.2.8"
"dependencies": {
"@nodelib/fs.scandir": "2.1.5",
"fastq": "^1.6.0"
},
"devDependencies": {
"@nodelib/fs.macchiato": "1.0.4"
},
"gitHead": "1e5bad48565da2b06b8600e744324ea240bf49d8"
}

+ 1
- 1
node_modules/@ungap/structured-clone/README.md View File

@ -5,7 +5,7 @@
An env agnostic serializer and deserializer with recursion ability and types beyond *JSON* from the *HTML* standard itself.
* [Supported Types](https://developer.mozilla.org/en-US/docs/Web/API/Web_Workers_API/Structured_clone_algorithm#supported_types)
* *not supported yet*: Blob, File, FileList, ImageBitmap, ImageData, and ArrayBuffer, but typed arrays are supported without major issues, but u/int8, u/int16, and u/int32 are the only safely suppored (right now).
* *not supported yet*: Blob, File, FileList, ImageBitmap, ImageData or others non *JS* types but typed arrays are supported without major issues, but u/int8, u/int16, and u/int32 are the only safely suppored (right now).
* *not possible to implement*: the `{transfer: []}` option can be passed but it's completely ignored.
* [MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/structuredClone)
* [Serializer](https://html.spec.whatwg.org/multipage/structured-data.html#structuredserializeinternal)


+ 6
- 0
node_modules/@ungap/structured-clone/cjs/deserialize.js View File

@ -58,6 +58,12 @@ const deserializer = ($, _) => {
return as(BigInt(value), index);
case 'BigInt':
return as(Object(BigInt(value)), index);
case 'ArrayBuffer':
return as(new Uint8Array(value).buffer, value);
case 'DataView': {
const { buffer } = new Uint8Array(value);
return as(new DataView(buffer), value);
}
}
return as(new env[type](value), index);
};


+ 13
- 3
node_modules/@ungap/structured-clone/cjs/serialize.js View File

@ -27,6 +27,8 @@ const typeOf = value => {
return [MAP, EMPTY];
case 'Set':
return [SET, EMPTY];
case 'DataView':
return [ARRAY, asString];
}
if (asString.includes('Array'))
@ -76,9 +78,17 @@ const serializer = (strict, json, $, _) => {
return as([TYPE, entry], value);
}
case ARRAY: {
if (type)
return as([type, [...value]], value);
if (type) {
let spread = value;
if (type === 'DataView') {
spread = new Uint8Array(value.buffer);
}
else if (type === 'ArrayBuffer') {
spread = new Uint8Array(value);
}
return as([type, [...spread]], value);
}
const arr = [];
const index = as([TYPE, arr], value);
for (const entry of value)


+ 6
- 0
node_modules/@ungap/structured-clone/esm/deserialize.js View File

@ -60,6 +60,12 @@ const deserializer = ($, _) => {
return as(BigInt(value), index);
case 'BigInt':
return as(Object(BigInt(value)), index);
case 'ArrayBuffer':
return as(new Uint8Array(value).buffer, value);
case 'DataView': {
const { buffer } = new Uint8Array(value);
return as(new DataView(buffer), value);
}
}
return as(new env[type](value), index);
};


+ 13
- 3
node_modules/@ungap/structured-clone/esm/serialize.js View File

@ -29,6 +29,8 @@ const typeOf = value => {
return [MAP, EMPTY];
case 'Set':
return [SET, EMPTY];
case 'DataView':
return [ARRAY, asString];
}
if (asString.includes('Array'))
@ -78,9 +80,17 @@ const serializer = (strict, json, $, _) => {
return as([TYPE, entry], value);
}
case ARRAY: {
if (type)
return as([type, [...value]], value);
if (type) {
let spread = value;
if (type === 'DataView') {
spread = new Uint8Array(value.buffer);
}
else if (type === 'ArrayBuffer') {
spread = new Uint8Array(value);
}
return as([type, [...spread]], value);
}
const arr = [];
const index = as([TYPE, arr], value);
for (const entry of value)


+ 31
- 58
node_modules/@ungap/structured-clone/package.json View File

@ -1,48 +1,34 @@
{
"_from": "@ungap/structured-clone@^1.2.0",
"_id": "@ungap/structured-clone@1.2.0",
"_inBundle": false,
"_integrity": "sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ==",
"_location": "/@ungap/structured-clone",
"_phantomChildren": {},
"_requested": {
"type": "range",
"registry": true,
"raw": "@ungap/structured-clone@^1.2.0",
"name": "@ungap/structured-clone",
"escapedName": "@ungap%2fstructured-clone",
"scope": "@ungap",
"rawSpec": "^1.2.0",
"saveSpec": null,
"fetchSpec": "^1.2.0"
"name": "@ungap/structured-clone",
"version": "1.3.0",
"description": "A structuredClone polyfill",
"main": "./cjs/index.js",
"scripts": {
"build": "npm run cjs && npm run rollup:json && npm run test",
"cjs": "ascjs esm cjs",
"coverage": "c8 report --reporter=text-lcov > ./coverage/lcov.info",
"rollup:json": "rollup --config rollup/json.config.js",
"test": "c8 node test/index.js"
},
"_requiredBy": [
"/eslint"
"keywords": [
"recursion",
"structured",
"clone",
"algorithm"
],
"_resolved": "https://registry.npmmirror.com/@ungap/structured-clone/-/structured-clone-1.2.0.tgz",
"_shasum": "756641adb587851b5ccb3e095daf27ae581c8406",
"_spec": "@ungap/structured-clone@^1.2.0",
"_where": "E:\\webView\\tenancy-wechat-uniapp\\node_modules\\eslint",
"author": {
"name": "Andrea Giammarchi"
},
"bugs": {
"url": "https://github.com/ungap/structured-clone/issues"
},
"bundleDependencies": false,
"deprecated": false,
"description": "A structuredClone polyfill",
"author": "Andrea Giammarchi",
"license": "ISC",
"devDependencies": {
"@rollup/plugin-node-resolve": "^15.0.2",
"@rollup/plugin-terser": "^0.4.1",
"ascjs": "^5.0.1",
"c8": "^7.13.0",
"@rollup/plugin-node-resolve": "^16.0.0",
"@rollup/plugin-terser": "^0.4.4",
"ascjs": "^6.0.3",
"c8": "^10.1.3",
"coveralls": "^3.1.1",
"rollup": "^3.21.4"
},
"directories": {
"test": "test"
"rollup": "^4.31.0"
},
"module": "./esm/index.js",
"type": "module",
"sideEffects": false,
"exports": {
".": {
"import": "./esm/index.js",
@ -54,28 +40,15 @@
},
"./package.json": "./package.json"
},
"homepage": "https://github.com/ungap/structured-clone#readme",
"keywords": [
"recursion",
"structured",
"clone",
"algorithm"
],
"license": "ISC",
"main": "./cjs/index.js",
"module": "./esm/index.js",
"name": "@ungap/structured-clone",
"directories": {
"test": "test"
},
"repository": {
"type": "git",
"url": "git+https://github.com/ungap/structured-clone.git"
},
"scripts": {
"build": "npm run cjs && npm run rollup:json && npm run test",
"cjs": "ascjs esm cjs",
"coverage": "c8 report --reporter=text-lcov > ./coverage/lcov.info",
"rollup:json": "rollup --config rollup/json.config.js",
"test": "c8 node test/index.js"
"bugs": {
"url": "https://github.com/ungap/structured-clone/issues"
},
"type": "module",
"version": "1.2.0"
"homepage": "https://github.com/ungap/structured-clone#readme"
}

+ 1
- 1
node_modules/@ungap/structured-clone/structured-json.js View File

@ -1 +1 @@
var StructuredJSON=function(e){"use strict";const r="object"==typeof self?self:globalThis,t=e=>((e,t)=>{const s=(r,t)=>(e.set(t,r),r),n=c=>{if(e.has(c))return e.get(c);const[o,a]=t[c];switch(o){case 0:case-1:return s(a,c);case 1:{const e=s([],c);for(const r of a)e.push(n(r));return e}case 2:{const e=s({},c);for(const[r,t]of a)e[n(r)]=n(t);return e}case 3:return s(new Date(a),c);case 4:{const{source:e,flags:r}=a;return s(new RegExp(e,r),c)}case 5:{const e=s(new Map,c);for(const[r,t]of a)e.set(n(r),n(t));return e}case 6:{const e=s(new Set,c);for(const r of a)e.add(n(r));return e}case 7:{const{name:e,message:t}=a;return s(new r[e](t),c)}case 8:return s(BigInt(a),c);case"BigInt":return s(Object(BigInt(a)),c)}return s(new r[o](a),c)};return n})(new Map,e)(0),s="",{toString:n}={},{keys:c}=Object,o=e=>{const r=typeof e;if("object"!==r||!e)return[0,r];const t=n.call(e).slice(8,-1);switch(t){case"Array":return[1,s];case"Object":return[2,s];case"Date":return[3,s];case"RegExp":return[4,s];case"Map":return[5,s];case"Set":return[6,s]}return t.includes("Array")?[1,t]:t.includes("Error")?[7,t]:[2,t]},a=([e,r])=>0===e&&("function"===r||"symbol"===r),u=(e,{json:r,lossy:t}={})=>{const s=[];return((e,r,t,s)=>{const n=(e,r)=>{const n=s.push(e)-1;return t.set(r,n),n},u=s=>{if(t.has(s))return t.get(s);let[i,f]=o(s);switch(i){case 0:{let r=s;switch(f){case"bigint":i=8,r=s.toString();break;case"function":case"symbol":if(e)throw new TypeError("unable to serialize "+f);r=null;break;case"undefined":return n([-1],s)}return n([i,r],s)}case 1:{if(f)return n([f,[...s]],s);const e=[],r=n([i,e],s);for(const r of s)e.push(u(r));return r}case 2:{if(f)switch(f){case"BigInt":return n([f,s.toString()],s);case"Boolean":case"Number":case"String":return n([f,s.valueOf()],s)}if(r&&"toJSON"in s)return u(s.toJSON());const t=[],l=n([i,t],s);for(const r of c(s))!e&&a(o(s[r]))||t.push([u(r),u(s[r])]);return l}case 3:return n([i,s.toISOString()],s);case 4:{const{source:e,flags:r}=s;return n([i,{source:e,flags:r}],s)}case 5:{const r=[],t=n([i,r],s);for(const[t,n]of s)(e||!a(o(t))&&!a(o(n)))&&r.push([u(t),u(n)]);return t}case 6:{const r=[],t=n([i,r],s);for(const t of s)!e&&a(o(t))||r.push(u(t));return t}}const{message:l}=s;return n([i,{name:f,message:l}],s)};return u})(!(r||t),!!r,new Map,s)(e),s},{parse:i,stringify:f}=JSON,l={json:!0,lossy:!0};return e.parse=e=>t(i(e)),e.stringify=e=>f(u(e,l)),e}({});
var StructuredJSON=function(e){"use strict";const r="object"==typeof self?self:globalThis,t=e=>((e,t)=>{const n=(r,t)=>(e.set(t,r),r),s=c=>{if(e.has(c))return e.get(c);const[a,o]=t[c];switch(a){case 0:case-1:return n(o,c);case 1:{const e=n([],c);for(const r of o)e.push(s(r));return e}case 2:{const e=n({},c);for(const[r,t]of o)e[s(r)]=s(t);return e}case 3:return n(new Date(o),c);case 4:{const{source:e,flags:r}=o;return n(new RegExp(e,r),c)}case 5:{const e=n(new Map,c);for(const[r,t]of o)e.set(s(r),s(t));return e}case 6:{const e=n(new Set,c);for(const r of o)e.add(s(r));return e}case 7:{const{name:e,message:t}=o;return n(new r[e](t),c)}case 8:return n(BigInt(o),c);case"BigInt":return n(Object(BigInt(o)),c);case"ArrayBuffer":return n(new Uint8Array(o).buffer,o);case"DataView":{const{buffer:e}=new Uint8Array(o);return n(new DataView(e),o)}}return n(new r[a](o),c)};return s})(new Map,e)(0),n="",{toString:s}={},{keys:c}=Object,a=e=>{const r=typeof e;if("object"!==r||!e)return[0,r];const t=s.call(e).slice(8,-1);switch(t){case"Array":return[1,n];case"Object":return[2,n];case"Date":return[3,n];case"RegExp":return[4,n];case"Map":return[5,n];case"Set":return[6,n];case"DataView":return[1,t]}return t.includes("Array")?[1,t]:t.includes("Error")?[7,t]:[2,t]},o=([e,r])=>0===e&&("function"===r||"symbol"===r),u=(e,{json:r,lossy:t}={})=>{const n=[];return((e,r,t,n)=>{const s=(e,r)=>{const s=n.push(e)-1;return t.set(r,s),s},u=n=>{if(t.has(n))return t.get(n);let[f,i]=a(n);switch(f){case 0:{let r=n;switch(i){case"bigint":f=8,r=n.toString();break;case"function":case"symbol":if(e)throw new TypeError("unable to serialize "+i);r=null;break;case"undefined":return s([-1],n)}return s([f,r],n)}case 1:{if(i){let e=n;return"DataView"===i?e=new Uint8Array(n.buffer):"ArrayBuffer"===i&&(e=new Uint8Array(n)),s([i,[...e]],n)}const e=[],r=s([f,e],n);for(const r of n)e.push(u(r));return r}case 2:{if(i)switch(i){case"BigInt":return s([i,n.toString()],n);case"Boolean":case"Number":case"String":return s([i,n.valueOf()],n)}if(r&&"toJSON"in n)return u(n.toJSON());const t=[],l=s([f,t],n);for(const r of c(n))!e&&o(a(n[r]))||t.push([u(r),u(n[r])]);return l}case 3:return s([f,n.toISOString()],n);case 4:{const{source:e,flags:r}=n;return s([f,{source:e,flags:r}],n)}case 5:{const r=[],t=s([f,r],n);for(const[t,s]of n)(e||!o(a(t))&&!o(a(s)))&&r.push([u(t),u(s)]);return t}case 6:{const r=[],t=s([f,r],n);for(const t of n)!e&&o(a(t))||r.push(u(t));return t}}const{message:l}=n;return s([f,{name:i,message:l}],n)};return u})(!(r||t),!!r,new Map,n)(e),n},{parse:f,stringify:i}=JSON,l={json:!0,lossy:!0};return e.parse=e=>t(f(e)),e.stringify=e=>i(u(e,l)),e}({});

+ 11
- 39
node_modules/acorn-jsx/package.json View File

@ -1,55 +1,27 @@
{
"_from": "acorn-jsx@^5.3.2",
"_id": "acorn-jsx@5.3.2",
"_inBundle": false,
"_integrity": "sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==",
"_location": "/acorn-jsx",
"_phantomChildren": {},
"_requested": {
"type": "range",
"registry": true,
"raw": "acorn-jsx@^5.3.2",
"name": "acorn-jsx",
"escapedName": "acorn-jsx",
"rawSpec": "^5.3.2",
"saveSpec": null,
"fetchSpec": "^5.3.2"
},
"_requiredBy": [
"/espree"
],
"_resolved": "https://registry.npmmirror.com/acorn-jsx/-/acorn-jsx-5.3.2.tgz",
"_shasum": "7ed5bb55908b3b2f1bc55c6af1653bada7f07937",
"_spec": "acorn-jsx@^5.3.2",
"_where": "E:\\webView\\tenancy-wechat-uniapp\\node_modules\\espree",
"bugs": {
"url": "https://github.com/acornjs/acorn-jsx/issues"
},
"bundleDependencies": false,
"deprecated": false,
"name": "acorn-jsx",
"description": "Modern, fast React.js JSX parser",
"devDependencies": {
"acorn": "^8.0.1"
},
"homepage": "https://github.com/acornjs/acorn-jsx",
"license": "MIT",
"version": "5.3.2",
"maintainers": [
{
"name": "Ingvar Stepanyan",
"email": "me@rreverser.com",
"url": "http://rreverser.com/"
"web": "http://rreverser.com/"
}
],
"name": "acorn-jsx",
"peerDependencies": {
"acorn": "^6.0.0 || ^7.0.0 || ^8.0.0"
},
"repository": {
"type": "git",
"url": "git+https://github.com/acornjs/acorn-jsx.git"
"url": "https://github.com/acornjs/acorn-jsx"
},
"license": "MIT",
"scripts": {
"test": "node test/run.js"
},
"version": "5.3.2"
"peerDependencies": {
"acorn": "^6.0.0 || ^7.0.0 || ^8.0.0"
},
"devDependencies": {
"acorn": "^8.0.1"
}
}

+ 12
- 0
node_modules/acorn/CHANGELOG.md View File

@ -1,3 +1,15 @@
## 8.14.1 (2025-03-05)
### Bug fixes
Fix an issue where `await` expressions in class field initializers were inappropriately allowed.
Properly allow await inside an async arrow function inside a class field initializer.
Mention the source file name in syntax error messages when given.
Properly add an empty `attributes` property to every form of `ExportNamedDeclaration`.
## 8.14.0 (2024-10-27)
### New features


+ 33
- 24
node_modules/acorn/dist/acorn.js View File

@ -493,6 +493,7 @@
SCOPE_SUPER = 64,
SCOPE_DIRECT_SUPER = 128,
SCOPE_CLASS_STATIC_BLOCK = 256,
SCOPE_CLASS_FIELD_INIT = 512,
SCOPE_VAR = SCOPE_TOP | SCOPE_FUNCTION | SCOPE_CLASS_STATIC_BLOCK;
function functionFlags(async, generator) {
@ -603,15 +604,16 @@
prototypeAccessors.inFunction.get = function () { return (this.currentVarScope().flags & SCOPE_FUNCTION) > 0 };
prototypeAccessors.inGenerator.get = function () { return (this.currentVarScope().flags & SCOPE_GENERATOR) > 0 && !this.currentVarScope().inClassFieldInit };
prototypeAccessors.inGenerator.get = function () { return (this.currentVarScope().flags & SCOPE_GENERATOR) > 0 };
prototypeAccessors.inAsync.get = function () { return (this.currentVarScope().flags & SCOPE_ASYNC) > 0 && !this.currentVarScope().inClassFieldInit };
prototypeAccessors.inAsync.get = function () { return (this.currentVarScope().flags & SCOPE_ASYNC) > 0 };
prototypeAccessors.canAwait.get = function () {
for (var i = this.scopeStack.length - 1; i >= 0; i--) {
var scope = this.scopeStack[i];
if (scope.inClassFieldInit || scope.flags & SCOPE_CLASS_STATIC_BLOCK) { return false }
if (scope.flags & SCOPE_FUNCTION) { return (scope.flags & SCOPE_ASYNC) > 0 }
var ref = this.scopeStack[i];
var flags = ref.flags;
if (flags & (SCOPE_CLASS_STATIC_BLOCK | SCOPE_CLASS_FIELD_INIT)) { return false }
if (flags & SCOPE_FUNCTION) { return (flags & SCOPE_ASYNC) > 0 }
}
return (this.inModule && this.options.ecmaVersion >= 13) || this.options.allowAwaitOutsideFunction
};
@ -619,8 +621,7 @@
prototypeAccessors.allowSuper.get = function () {
var ref = this.currentThisScope();
var flags = ref.flags;
var inClassFieldInit = ref.inClassFieldInit;
return (flags & SCOPE_SUPER) > 0 || inClassFieldInit || this.options.allowSuperOutsideMethod
return (flags & SCOPE_SUPER) > 0 || this.options.allowSuperOutsideMethod
};
prototypeAccessors.allowDirectSuper.get = function () { return (this.currentThisScope().flags & SCOPE_DIRECT_SUPER) > 0 };
@ -628,10 +629,13 @@
prototypeAccessors.treatFunctionsAsVar.get = function () { return this.treatFunctionsAsVarInScope(this.currentScope()) };
prototypeAccessors.allowNewDotTarget.get = function () {
var ref = this.currentThisScope();
var flags = ref.flags;
var inClassFieldInit = ref.inClassFieldInit;
return (flags & (SCOPE_FUNCTION | SCOPE_CLASS_STATIC_BLOCK)) > 0 || inClassFieldInit
for (var i = this.scopeStack.length - 1; i >= 0; i--) {
var ref = this.scopeStack[i];
var flags = ref.flags;
if (flags & (SCOPE_CLASS_STATIC_BLOCK | SCOPE_CLASS_FIELD_INIT) ||
((flags & SCOPE_FUNCTION) && !(flags & SCOPE_ARROW))) { return true }
}
return false
};
prototypeAccessors.inClassStaticBlock.get = function () {
@ -1558,11 +1562,9 @@
if (this.eat(types$1.eq)) {
// To raise SyntaxError if 'arguments' exists in the initializer.
var scope = this.currentThisScope();
var inClassFieldInit = scope.inClassFieldInit;
scope.inClassFieldInit = true;
this.enterScope(SCOPE_CLASS_FIELD_INIT | SCOPE_SUPER);
field.value = this.parseMaybeAssign();
scope.inClassFieldInit = inClassFieldInit;
this.exitScope();
} else {
field.value = null;
}
@ -1704,6 +1706,8 @@
{ this.checkExport(exports, node.declaration.id, node.declaration.id.start); }
node.specifiers = [];
node.source = null;
if (this.options.ecmaVersion >= 16)
{ node.attributes = []; }
} else { // export { x, y as z } [from '...']
node.declaration = null;
node.specifiers = this.parseExportSpecifiers(exports);
@ -1727,6 +1731,8 @@
}
node.source = null;
if (this.options.ecmaVersion >= 16)
{ node.attributes = []; }
}
this.semicolon();
}
@ -3306,9 +3312,10 @@
};
pp$5.parseGetterSetter = function(prop) {
prop.kind = prop.key.name;
var kind = prop.key.name;
this.parsePropertyName(prop);
prop.value = this.parseMethod(false);
prop.kind = kind;
var paramCount = prop.kind === "get" ? 0 : 1;
if (prop.value.params.length !== paramCount) {
var start = prop.value.start;
@ -3331,9 +3338,9 @@
prop.kind = "init";
} else if (this.options.ecmaVersion >= 6 && this.type === types$1.parenL) {
if (isPattern) { this.unexpected(); }
prop.kind = "init";
prop.method = true;
prop.value = this.parseMethod(isGenerator, isAsync);
prop.kind = "init";
} else if (!isPattern && !containsEsc &&
this.options.ecmaVersion >= 5 && !prop.computed && prop.key.type === "Identifier" &&
(prop.key.name === "get" || prop.key.name === "set") &&
@ -3345,7 +3352,6 @@
this.checkUnreserved(prop.key);
if (prop.key.name === "await" && !this.awaitIdentPos)
{ this.awaitIdentPos = startPos; }
prop.kind = "init";
if (isPattern) {
prop.value = this.parseMaybeDefault(startPos, startLoc, this.copyNode(prop.key));
} else if (this.type === types$1.eq && refDestructuringErrors) {
@ -3355,6 +3361,7 @@
} else {
prop.value = this.copyNode(prop.key);
}
prop.kind = "init";
prop.shorthand = true;
} else { this.unexpected(); }
};
@ -3530,7 +3537,7 @@
{ this.raiseRecoverable(start, "Cannot use 'yield' as identifier inside a generator"); }
if (this.inAsync && name === "await")
{ this.raiseRecoverable(start, "Cannot use 'await' as identifier inside an async function"); }
if (this.currentThisScope().inClassFieldInit && name === "arguments")
if (!(this.currentThisScope().flags & SCOPE_VAR) && name === "arguments")
{ this.raiseRecoverable(start, "Cannot use 'arguments' in class field initializer"); }
if (this.inClassStaticBlock && (name === "arguments" || name === "await"))
{ this.raise(start, ("Cannot use " + name + " in class static initialization block")); }
@ -3643,6 +3650,9 @@
pp$4.raise = function(pos, message) {
var loc = getLineInfo(this.input, pos);
message += " (" + loc.line + ":" + loc.column + ")";
if (this.sourceFile) {
message += " in " + this.sourceFile;
}
var err = new SyntaxError(message);
err.pos = pos; err.loc = loc; err.raisedAt = this.pos;
throw err
@ -3666,8 +3676,6 @@
this.lexical = [];
// A list of lexically-declared FunctionDeclaration names in the current lexical scope
this.functions = [];
// A switch to disallow the identifier reference 'arguments'
this.inClassFieldInit = false;
};
// The functions in this module keep track of declared variables in the current scope in order to detect duplicate variable names.
@ -3737,7 +3745,7 @@
pp$3.currentVarScope = function() {
for (var i = this.scopeStack.length - 1;; i--) {
var scope = this.scopeStack[i];
if (scope.flags & SCOPE_VAR) { return scope }
if (scope.flags & (SCOPE_VAR | SCOPE_CLASS_FIELD_INIT | SCOPE_CLASS_STATIC_BLOCK)) { return scope }
}
};
@ -3745,7 +3753,8 @@
pp$3.currentThisScope = function() {
for (var i = this.scopeStack.length - 1;; i--) {
var scope = this.scopeStack[i];
if (scope.flags & SCOPE_VAR && !(scope.flags & SCOPE_ARROW)) { return scope }
if (scope.flags & (SCOPE_VAR | SCOPE_CLASS_FIELD_INIT | SCOPE_CLASS_STATIC_BLOCK) &&
!(scope.flags & SCOPE_ARROW)) { return scope }
}
};
@ -6099,7 +6108,7 @@
// [walk]: util/walk.js
var version = "8.14.0";
var version = "8.14.1";
Parser.acorn = {
Parser: Parser,


+ 33
- 24
node_modules/acorn/dist/acorn.mjs View File

@ -487,6 +487,7 @@ var
SCOPE_SUPER = 64,
SCOPE_DIRECT_SUPER = 128,
SCOPE_CLASS_STATIC_BLOCK = 256,
SCOPE_CLASS_FIELD_INIT = 512,
SCOPE_VAR = SCOPE_TOP | SCOPE_FUNCTION | SCOPE_CLASS_STATIC_BLOCK;
function functionFlags(async, generator) {
@ -597,15 +598,16 @@ Parser.prototype.parse = function parse () {
prototypeAccessors.inFunction.get = function () { return (this.currentVarScope().flags & SCOPE_FUNCTION) > 0 };
prototypeAccessors.inGenerator.get = function () { return (this.currentVarScope().flags & SCOPE_GENERATOR) > 0 && !this.currentVarScope().inClassFieldInit };
prototypeAccessors.inGenerator.get = function () { return (this.currentVarScope().flags & SCOPE_GENERATOR) > 0 };
prototypeAccessors.inAsync.get = function () { return (this.currentVarScope().flags & SCOPE_ASYNC) > 0 && !this.currentVarScope().inClassFieldInit };
prototypeAccessors.inAsync.get = function () { return (this.currentVarScope().flags & SCOPE_ASYNC) > 0 };
prototypeAccessors.canAwait.get = function () {
for (var i = this.scopeStack.length - 1; i >= 0; i--) {
var scope = this.scopeStack[i];
if (scope.inClassFieldInit || scope.flags & SCOPE_CLASS_STATIC_BLOCK) { return false }
if (scope.flags & SCOPE_FUNCTION) { return (scope.flags & SCOPE_ASYNC) > 0 }
var ref = this.scopeStack[i];
var flags = ref.flags;
if (flags & (SCOPE_CLASS_STATIC_BLOCK | SCOPE_CLASS_FIELD_INIT)) { return false }
if (flags & SCOPE_FUNCTION) { return (flags & SCOPE_ASYNC) > 0 }
}
return (this.inModule && this.options.ecmaVersion >= 13) || this.options.allowAwaitOutsideFunction
};
@ -613,8 +615,7 @@ prototypeAccessors.canAwait.get = function () {
prototypeAccessors.allowSuper.get = function () {
var ref = this.currentThisScope();
var flags = ref.flags;
var inClassFieldInit = ref.inClassFieldInit;
return (flags & SCOPE_SUPER) > 0 || inClassFieldInit || this.options.allowSuperOutsideMethod
return (flags & SCOPE_SUPER) > 0 || this.options.allowSuperOutsideMethod
};
prototypeAccessors.allowDirectSuper.get = function () { return (this.currentThisScope().flags & SCOPE_DIRECT_SUPER) > 0 };
@ -622,10 +623,13 @@ prototypeAccessors.allowDirectSuper.get = function () { return (this.currentThis
prototypeAccessors.treatFunctionsAsVar.get = function () { return this.treatFunctionsAsVarInScope(this.currentScope()) };
prototypeAccessors.allowNewDotTarget.get = function () {
var ref = this.currentThisScope();
var flags = ref.flags;
var inClassFieldInit = ref.inClassFieldInit;
return (flags & (SCOPE_FUNCTION | SCOPE_CLASS_STATIC_BLOCK)) > 0 || inClassFieldInit
for (var i = this.scopeStack.length - 1; i >= 0; i--) {
var ref = this.scopeStack[i];
var flags = ref.flags;
if (flags & (SCOPE_CLASS_STATIC_BLOCK | SCOPE_CLASS_FIELD_INIT) ||
((flags & SCOPE_FUNCTION) && !(flags & SCOPE_ARROW))) { return true }
}
return false
};
prototypeAccessors.inClassStaticBlock.get = function () {
@ -1552,11 +1556,9 @@ pp$8.parseClassField = function(field) {
if (this.eat(types$1.eq)) {
// To raise SyntaxError if 'arguments' exists in the initializer.
var scope = this.currentThisScope();
var inClassFieldInit = scope.inClassFieldInit;
scope.inClassFieldInit = true;
this.enterScope(SCOPE_CLASS_FIELD_INIT | SCOPE_SUPER);
field.value = this.parseMaybeAssign();
scope.inClassFieldInit = inClassFieldInit;
this.exitScope();
} else {
field.value = null;
}
@ -1698,6 +1700,8 @@ pp$8.parseExport = function(node, exports) {
{ this.checkExport(exports, node.declaration.id, node.declaration.id.start); }
node.specifiers = [];
node.source = null;
if (this.options.ecmaVersion >= 16)
{ node.attributes = []; }
} else { // export { x, y as z } [from '...']
node.declaration = null;
node.specifiers = this.parseExportSpecifiers(exports);
@ -1721,6 +1725,8 @@ pp$8.parseExport = function(node, exports) {
}
node.source = null;
if (this.options.ecmaVersion >= 16)
{ node.attributes = []; }
}
this.semicolon();
}
@ -3300,9 +3306,10 @@ pp$5.parseProperty = function(isPattern, refDestructuringErrors) {
};
pp$5.parseGetterSetter = function(prop) {
prop.kind = prop.key.name;
var kind = prop.key.name;
this.parsePropertyName(prop);
prop.value = this.parseMethod(false);
prop.kind = kind;
var paramCount = prop.kind === "get" ? 0 : 1;
if (prop.value.params.length !== paramCount) {
var start = prop.value.start;
@ -3325,9 +3332,9 @@ pp$5.parsePropertyValue = function(prop, isPattern, isGenerator, isAsync, startP
prop.kind = "init";
} else if (this.options.ecmaVersion >= 6 && this.type === types$1.parenL) {
if (isPattern) { this.unexpected(); }
prop.kind = "init";
prop.method = true;
prop.value = this.parseMethod(isGenerator, isAsync);
prop.kind = "init";
} else if (!isPattern && !containsEsc &&
this.options.ecmaVersion >= 5 && !prop.computed && prop.key.type === "Identifier" &&
(prop.key.name === "get" || prop.key.name === "set") &&
@ -3339,7 +3346,6 @@ pp$5.parsePropertyValue = function(prop, isPattern, isGenerator, isAsync, startP
this.checkUnreserved(prop.key);
if (prop.key.name === "await" && !this.awaitIdentPos)
{ this.awaitIdentPos = startPos; }
prop.kind = "init";
if (isPattern) {
prop.value = this.parseMaybeDefault(startPos, startLoc, this.copyNode(prop.key));
} else if (this.type === types$1.eq && refDestructuringErrors) {
@ -3349,6 +3355,7 @@ pp$5.parsePropertyValue = function(prop, isPattern, isGenerator, isAsync, startP
} else {
prop.value = this.copyNode(prop.key);
}
prop.kind = "init";
prop.shorthand = true;
} else { this.unexpected(); }
};
@ -3524,7 +3531,7 @@ pp$5.checkUnreserved = function(ref) {
{ this.raiseRecoverable(start, "Cannot use 'yield' as identifier inside a generator"); }
if (this.inAsync && name === "await")
{ this.raiseRecoverable(start, "Cannot use 'await' as identifier inside an async function"); }
if (this.currentThisScope().inClassFieldInit && name === "arguments")
if (!(this.currentThisScope().flags & SCOPE_VAR) && name === "arguments")
{ this.raiseRecoverable(start, "Cannot use 'arguments' in class field initializer"); }
if (this.inClassStaticBlock && (name === "arguments" || name === "await"))
{ this.raise(start, ("Cannot use " + name + " in class static initialization block")); }
@ -3637,6 +3644,9 @@ var pp$4 = Parser.prototype;
pp$4.raise = function(pos, message) {
var loc = getLineInfo(this.input, pos);
message += " (" + loc.line + ":" + loc.column + ")";
if (this.sourceFile) {
message += " in " + this.sourceFile;
}
var err = new SyntaxError(message);
err.pos = pos; err.loc = loc; err.raisedAt = this.pos;
throw err
@ -3660,8 +3670,6 @@ var Scope = function Scope(flags) {
this.lexical = [];
// A list of lexically-declared FunctionDeclaration names in the current lexical scope
this.functions = [];
// A switch to disallow the identifier reference 'arguments'
this.inClassFieldInit = false;
};
// The functions in this module keep track of declared variables in the current scope in order to detect duplicate variable names.
@ -3731,7 +3739,7 @@ pp$3.currentScope = function() {
pp$3.currentVarScope = function() {
for (var i = this.scopeStack.length - 1;; i--) {
var scope = this.scopeStack[i];
if (scope.flags & SCOPE_VAR) { return scope }
if (scope.flags & (SCOPE_VAR | SCOPE_CLASS_FIELD_INIT | SCOPE_CLASS_STATIC_BLOCK)) { return scope }
}
};
@ -3739,7 +3747,8 @@ pp$3.currentVarScope = function() {
pp$3.currentThisScope = function() {
for (var i = this.scopeStack.length - 1;; i--) {
var scope = this.scopeStack[i];
if (scope.flags & SCOPE_VAR && !(scope.flags & SCOPE_ARROW)) { return scope }
if (scope.flags & (SCOPE_VAR | SCOPE_CLASS_FIELD_INIT | SCOPE_CLASS_STATIC_BLOCK) &&
!(scope.flags & SCOPE_ARROW)) { return scope }
}
};
@ -6093,7 +6102,7 @@ pp.readWord = function() {
// [walk]: util/walk.js
var version = "8.14.0";
var version = "8.14.1";
Parser.acorn = {
Parser: Parser,


+ 16
- 44
node_modules/acorn/package.json View File

@ -1,39 +1,10 @@
{
"_from": "acorn@^8.9.0",
"_id": "acorn@8.14.0",
"_inBundle": false,
"_integrity": "sha512-cl669nCJTZBsL97OF4kUQm5g5hC2uihk0NxY3WENAC0TYdILVkAyHymAntgxGkl7K+t0cXIrH5siy5S4XkFycA==",
"_location": "/acorn",
"_phantomChildren": {},
"_requested": {
"type": "range",
"registry": true,
"raw": "acorn@^8.9.0",
"name": "acorn",
"escapedName": "acorn",
"rawSpec": "^8.9.0",
"saveSpec": null,
"fetchSpec": "^8.9.0"
},
"_requiredBy": [
"/espree"
],
"_resolved": "https://registry.npmmirror.com/acorn/-/acorn-8.14.0.tgz",
"_shasum": "063e2c70cac5fb4f6467f0b11152e04c682795b0",
"_spec": "acorn@^8.9.0",
"_where": "E:\\webView\\tenancy-wechat-uniapp\\node_modules\\espree",
"bin": {
"acorn": "bin/acorn"
},
"bugs": {
"url": "https://github.com/acornjs/acorn/issues"
},
"bundleDependencies": false,
"deprecated": false,
"name": "acorn",
"description": "ECMAScript parser",
"engines": {
"node": ">=0.4.0"
},
"homepage": "https://github.com/acornjs/acorn",
"main": "dist/acorn.js",
"types": "dist/acorn.d.ts",
"module": "dist/acorn.mjs",
"exports": {
".": [
{
@ -45,34 +16,35 @@
],
"./package.json": "./package.json"
},
"homepage": "https://github.com/acornjs/acorn",
"license": "MIT",
"main": "dist/acorn.js",
"version": "8.14.1",
"engines": {
"node": ">=0.4.0"
},
"maintainers": [
{
"name": "Marijn Haverbeke",
"email": "marijnh@gmail.com",
"url": "https://marijnhaverbeke.nl"
"web": "https://marijnhaverbeke.nl"
},
{
"name": "Ingvar Stepanyan",
"email": "me@rreverser.com",
"url": "https://rreverser.com/"
"web": "https://rreverser.com/"
},
{
"name": "Adrian Heine",
"url": "http://adrianheine.de"
"web": "http://adrianheine.de"
}
],
"module": "dist/acorn.mjs",
"name": "acorn",
"repository": {
"type": "git",
"url": "git+https://github.com/acornjs/acorn.git"
},
"license": "MIT",
"scripts": {
"prepare": "cd ..; npm run build:main"
},
"types": "dist/acorn.d.ts",
"version": "8.14.0"
"bin": {
"acorn": "bin/acorn"
}
}

+ 19
- 51
node_modules/address/package.json View File

@ -1,38 +1,19 @@
{
"_from": "address@^1.2.2",
"_id": "address@1.2.2",
"_inBundle": false,
"_integrity": "sha512-4B/qKCfeE/ODUaAUpSwfzazo5x29WD4r3vXiWsB7I2mSDAihwEqKO+g8GELZUQSSAo5e1XTYh3ZVfLyxBc12nA==",
"_location": "/address",
"_phantomChildren": {},
"_requested": {
"type": "range",
"registry": true,
"raw": "address@^1.2.2",
"name": "address",
"escapedName": "address",
"rawSpec": "^1.2.2",
"saveSpec": null,
"fetchSpec": "^1.2.2"
},
"_requiredBy": [
"/ali-oss"
"name": "address",
"version": "1.2.2",
"description": "Get current machine IP, MAC and DNS servers.",
"main": "lib/address.js",
"types": "lib/address.d.ts",
"files": [
"lib"
],
"_resolved": "https://registry.npmmirror.com/address/-/address-1.2.2.tgz",
"_shasum": "2b5248dac5485a6390532c6a517fda2e3faac89e",
"_spec": "address@^1.2.2",
"_where": "E:\\webView\\tenancy-wechat-uniapp\\node_modules\\ali-oss",
"author": {
"name": "fengmk2",
"email": "fengmk2@gmail.com"
},
"bugs": {
"url": "https://github.com/node-modules/address/issues"
"scripts": {
"lint": "eslint test",
"test": "egg-bin test",
"ci": "egg-bin cov",
"contributors": "git-contributor"
},
"bundleDependencies": false,
"dependencies": {},
"deprecated": false,
"description": "Get current machine IP, MAC and DNS servers.",
"devDependencies": {
"@types/node": "14",
"egg-bin": "^5.6.1",
@ -43,32 +24,19 @@
"runscript": "^1.4.0",
"typescript": "4"
},
"engines": {
"node": ">= 10.0.0"
"repository": {
"type": "git",
"url": "git://github.com/node-modules/address.git"
},
"files": [
"lib"
],
"homepage": "https://github.com/node-modules/address#readme",
"keywords": [
"address",
"ip",
"ipv4",
"mac"
],
"license": "MIT",
"main": "lib/address.js",
"name": "address",
"repository": {
"type": "git",
"url": "git://github.com/node-modules/address.git"
},
"scripts": {
"ci": "egg-bin cov",
"contributors": "git-contributor",
"lint": "eslint test",
"test": "egg-bin test"
"engines": {
"node": ">= 10.0.0"
},
"types": "lib/address.d.ts",
"version": "1.2.2"
"author": "fengmk2 <fengmk2@gmail.com>",
"license": "MIT"
}

+ 28
- 58
node_modules/agentkeepalive/package.json View File

@ -1,42 +1,38 @@
{
"_from": "agentkeepalive@^3.4.1",
"_id": "agentkeepalive@3.5.3",
"_inBundle": false,
"_integrity": "sha512-yqXL+k5rr8+ZRpOAntkaaRgWgE5o8ESAj5DyRmVTCSoZxXmqemb9Dd7T4i5UzwuERdLAJUy6XzR9zFVuf0kzkw==",
"_location": "/agentkeepalive",
"_phantomChildren": {},
"_requested": {
"type": "range",
"registry": true,
"raw": "agentkeepalive@^3.4.1",
"name": "agentkeepalive",
"escapedName": "agentkeepalive",
"rawSpec": "^3.4.1",
"saveSpec": null,
"fetchSpec": "^3.4.1"
},
"_requiredBy": [
"/ali-oss"
"name": "agentkeepalive",
"version": "3.5.3",
"description": "Missing keepalive http.Agent",
"main": "index.js",
"browser": "browser.js",
"files": [
"index.js",
"index.d.ts",
"browser.js",
"lib"
],
"_resolved": "https://registry.npmmirror.com/agentkeepalive/-/agentkeepalive-3.5.3.tgz",
"_shasum": "c210afce942b4287e2df2fbfe6c0d57eda2ce634",
"_spec": "agentkeepalive@^3.4.1",
"_where": "E:\\webView\\tenancy-wechat-uniapp\\node_modules\\ali-oss",
"author": {
"name": "fengmk2",
"email": "fengmk2@gmail.com",
"url": "https://fengmk2.com"
"scripts": {
"test": "egg-bin test",
"cov": "egg-bin cov",
"ci": "npm run lint && npm run cov",
"lint": "eslint lib test index.js"
},
"repository": {
"type": "git",
"url": "git://github.com/node-modules/agentkeepalive.git"
},
"browser": "browser.js",
"bugs": {
"url": "https://github.com/node-modules/agentkeepalive/issues"
},
"bundleDependencies": false,
"keywords": [
"http",
"https",
"agent",
"keepalive",
"agentkeepalive"
],
"dependencies": {
"humanize-ms": "^1.2.1"
},
"deprecated": false,
"description": "Missing keepalive http.Agent",
"devDependencies": {
"egg-bin": "^1.11.1",
"eslint": "^4.19.1",
@ -46,35 +42,9 @@
"engines": {
"node": ">= 4.0.0"
},
"files": [
"index.js",
"index.d.ts",
"browser.js",
"lib"
],
"homepage": "https://github.com/node-modules/agentkeepalive#readme",
"keywords": [
"http",
"https",
"agent",
"keepalive",
"agentkeepalive"
],
"license": "MIT",
"main": "index.js",
"name": "agentkeepalive",
"publishConfig": {
"tag": "latest-3"
},
"repository": {
"type": "git",
"url": "git://github.com/node-modules/agentkeepalive.git"
},
"scripts": {
"ci": "npm run lint && npm run cov",
"cov": "egg-bin cov",
"lint": "eslint lib test index.js",
"test": "egg-bin test"
},
"version": "3.5.3"
"author": "fengmk2 <fengmk2@gmail.com> (https://fengmk2.com)",
"license": "MIT"
}

+ 62
- 90
node_modules/ajv/package.json View File

@ -1,47 +1,72 @@
{
"_from": "ajv@^6.12.4",
"_id": "ajv@6.12.6",
"_inBundle": false,
"_integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==",
"_location": "/ajv",
"_phantomChildren": {},
"_requested": {
"type": "range",
"registry": true,
"raw": "ajv@^6.12.4",
"name": "ajv",
"escapedName": "ajv",
"rawSpec": "^6.12.4",
"saveSpec": null,
"fetchSpec": "^6.12.4"
},
"_requiredBy": [
"/@eslint/eslintrc",
"/eslint"
"name": "ajv",
"version": "6.12.6",
"description": "Another JSON Schema Validator",
"main": "lib/ajv.js",
"typings": "lib/ajv.d.ts",
"files": [
"lib/",
"dist/",
"scripts/",
"LICENSE",
".tonic_example.js"
],
"_resolved": "https://registry.npmmirror.com/ajv/-/ajv-6.12.6.tgz",
"_shasum": "baf5a62e802b07d977034586f8c3baf5adf26df4",
"_spec": "ajv@^6.12.4",
"_where": "E:\\webView\\tenancy-wechat-uniapp\\node_modules\\eslint",
"author": {
"name": "Evgeny Poberezkin"
"scripts": {
"eslint": "eslint lib/{compile/,}*.js spec/{**/,}*.js scripts --ignore-pattern spec/JSON-Schema-Test-Suite",
"jshint": "jshint lib/{compile/,}*.js",
"lint": "npm run jshint && npm run eslint",
"test-spec": "mocha spec/{**/,}*.spec.js -R spec",
"test-fast": "AJV_FAST_TEST=true npm run test-spec",
"test-debug": "npm run test-spec -- --inspect-brk",
"test-cov": "nyc npm run test-spec",
"test-ts": "tsc --target ES5 --noImplicitAny --noEmit spec/typescript/index.ts",
"bundle": "del-cli dist && node ./scripts/bundle.js . Ajv pure_getters",
"bundle-beautify": "node ./scripts/bundle.js js-beautify",
"build": "del-cli lib/dotjs/*.js \"!lib/dotjs/index.js\" && node scripts/compile-dots.js",
"test-karma": "karma start",
"test-browser": "del-cli .browser && npm run bundle && scripts/prepare-tests && npm run test-karma",
"test-all": "npm run test-cov && if-node-version 10 npm run test-browser",
"test": "npm run lint && npm run build && npm run test-all",
"prepublish": "npm run build && npm run bundle",
"watch": "watch \"npm run build\" ./lib/dot"
},
"nyc": {
"exclude": [
"**/spec/**",
"node_modules"
],
"reporter": [
"lcov",
"text-summary"
]
},
"repository": {
"type": "git",
"url": "https://github.com/ajv-validator/ajv.git"
},
"keywords": [
"JSON",
"schema",
"validator",
"validation",
"jsonschema",
"json-schema",
"json-schema-validator",
"json-schema-validation"
],
"author": "Evgeny Poberezkin",
"license": "MIT",
"bugs": {
"url": "https://github.com/ajv-validator/ajv/issues"
},
"bundleDependencies": false,
"collective": {
"type": "opencollective",
"url": "https://opencollective.com/ajv"
},
"homepage": "https://github.com/ajv-validator/ajv",
"tonicExampleFilename": ".tonic_example.js",
"dependencies": {
"fast-deep-equal": "^3.1.1",
"fast-json-stable-stringify": "^2.0.0",
"json-schema-traverse": "^0.4.1",
"uri-js": "^4.2.2"
},
"deprecated": false,
"description": "Another JSON Schema Validator",
"devDependencies": {
"ajv-async": "^1.0.0",
"bluebird": "^3.5.3",
@ -70,65 +95,12 @@
"uglify-js": "^3.6.9",
"watch": "^1.0.0"
},
"files": [
"lib/",
"dist/",
"scripts/",
"LICENSE",
".tonic_example.js"
],
"collective": {
"type": "opencollective",
"url": "https://opencollective.com/ajv"
},
"funding": {
"type": "github",
"url": "https://github.com/sponsors/epoberezkin"
},
"homepage": "https://github.com/ajv-validator/ajv",
"keywords": [
"JSON",
"schema",
"validator",
"validation",
"jsonschema",
"json-schema",
"json-schema-validator",
"json-schema-validation"
],
"license": "MIT",
"main": "lib/ajv.js",
"name": "ajv",
"nyc": {
"exclude": [
"**/spec/**",
"node_modules"
],
"reporter": [
"lcov",
"text-summary"
]
},
"repository": {
"type": "git",
"url": "git+https://github.com/ajv-validator/ajv.git"
},
"scripts": {
"build": "del-cli lib/dotjs/*.js \"!lib/dotjs/index.js\" && node scripts/compile-dots.js",
"bundle": "del-cli dist && node ./scripts/bundle.js . Ajv pure_getters",
"bundle-beautify": "node ./scripts/bundle.js js-beautify",
"eslint": "eslint lib/{compile/,}*.js spec/{**/,}*.js scripts --ignore-pattern spec/JSON-Schema-Test-Suite",
"jshint": "jshint lib/{compile/,}*.js",
"lint": "npm run jshint && npm run eslint",
"prepublish": "npm run build && npm run bundle",
"test": "npm run lint && npm run build && npm run test-all",
"test-all": "npm run test-cov && if-node-version 10 npm run test-browser",
"test-browser": "del-cli .browser && npm run bundle && scripts/prepare-tests && npm run test-karma",
"test-cov": "nyc npm run test-spec",
"test-debug": "npm run test-spec -- --inspect-brk",
"test-fast": "AJV_FAST_TEST=true npm run test-spec",
"test-karma": "karma start",
"test-spec": "mocha spec/{**/,}*.spec.js -R spec",
"test-ts": "tsc --target ES5 --noImplicitAny --noEmit spec/typescript/index.ts",
"watch": "watch \"npm run build\" ./lib/dot"
},
"tonicExampleFilename": ".tonic_example.js",
"typings": "lib/ajv.d.ts",
"version": "6.12.6"
}
}

+ 128
- 8
node_modules/ali-oss/README.md View File

@ -42,9 +42,7 @@ Node.js >= 8.0.0 required. You can use 4.x in Node.js < 8.
### QA
You can join DingDing Talk Group, [Group Link](https://qr.dingtalk.com/action/joingroup?code=v1,k1,E60EuCmxajfilkaR/kknRcGR9UissskPEXu/1td36z0=)
<img src="task/dingding.jpg" height="400" title="dingding" width="300">
Please log in to the official website and contact technical support.
## License
@ -144,8 +142,8 @@ All operation use es7 async/await to implement. All api is async function.
- [.copy(name, sourceName[, sourceBucket, options])](#copyname-sourcename-sourcebucket-options)
- [.putMeta(name, meta[, options])](#putmetaname-meta-options)
- [.deleteMulti(names[, options])](#deletemultinames-options)
- [.signatureUrl(name[, options])](#signatureurlname-options)
- [.asyncSignatureUrl(name[, options])](#signatureurlname-options)
- [.signatureUrl(name[, options, strictObjectNameValidation])](#signatureurlname-options-strictobjectnamevalidation)
- [.asyncSignatureUrl(name[, options, strictObjectNameValidation])](#asyncsignatureurlname-options-strictobjectnamevalidation)
- [.signatureUrlV4(method, expires[, request, objectName, additionalHeaders])](#signatureurlv4method-expires-request-objectname-additionalheaders)
- [.putACL(name, acl[, options])](#putaclname-acl-options)
- [.getACL(name[, options])](#getaclname-options)
@ -162,6 +160,7 @@ All operation use es7 async/await to implement. All api is async function.
- [.listUploads(query[, options])](#listuploadsquery-options)
- [.abortMultipartUpload(name, uploadId[, options])](#abortmultipartuploadname-uploadid-options)
- [.calculatePostSignature(policy)](#calculatePostSignaturepolicy)
- [.signPostObjectPolicyV4(policy, date)](#signpostobjectpolicyv4policy-date)
- [.getObjectTagging(name, [, options])](#getObjectTaggingname-options)
- [.putObjectTagging(name, tag[, options])](#putObjectTaggingname-tag-options)
- [.deleteObjectTagging(name, [, options])](#deleteObjectTaggingname-options)
@ -2449,6 +2448,9 @@ Success will return objects list on `objects` properties.
- size {Number} object size, e.g.: `344606`
- storageClass {String} storage class type, e.g.: `Standard`
- owner {Object} object owner, including `id` and `displayName`
- restoreInfo {Object|undefined} The restoration status of the object
- ongoingRequest {Boolean} Whether the restoration is ongoing
- expireDate {Date|undefined} The time before which the restored object can be read
- prefixes {Array<String>} prefix list
- isTruncated {Boolean} truncate or not
- nextMarker {String} next marker string
@ -2515,6 +2517,9 @@ Success will return objects list on `objects` properties.
- size {Number} object size, e.g.: `344606`
- storageClass {String} storage class type, e.g.: `Standard`
- owner {Object|null} object owner, including `id` and `displayName`
- restoreInfo {Object|undefined} The restoration status of the object
- ongoingRequest {Boolean} Whether the restoration is ongoing
- expireDate {Date|undefined} The time before which the restored object can be read
- prefixes {Array<String>} prefix list
- isTruncated {Boolean} truncate or not
- nextContinuationToken {String} next continuation-token string
@ -2595,6 +2600,9 @@ Success will return objects list on `objects` properties.
- versionId {String} object versionId
- storageClass {String} storage class type, e.g.: `Standard`
- owner {Object} object owner, including `id` and `displayName`
- restoreInfo {Object|undefined} The restoration status of the object
- ongoingRequest {Boolean} Whether the restoration is ongoing
- expireDate {Date|undefined} The time before which the restored object can be read
- deleteMarker {Array<ObjectDeleteMarker>} object delete marker info list
Each `ObjectDeleteMarker`
- name {String} object name on oss
@ -2954,6 +2962,8 @@ parameters:
- [timeout] {Number} the operation timeout
- [versionId] {String} the version id of history object
- [type] {String} the default type is Archive
- [Days] {number} The duration within which the object remains in the restored state. The default value is 2.
- [JobParameters] {string} The container that stores the restoration priority. This parameter is valid only when you restore Cold Archive or Deep Cold Archive objects. The default value is Standard.
Success will return:
@ -2965,27 +2975,54 @@ Success will return:
example:
- Restore an object with Archive type
- Restore an Archive object
```js
const result = await store.restore('ossdemo.txt');
console.log(result.status);
```
- Restore an object with ColdArchive type
- Restore a Cold Archive object
```js
const result = await store.restore('ossdemo.txt', { type: 'ColdArchive' });
console.log(result.status);
```
- Days for unfreezing Specifies the days for unfreezing
- Restore a Cold Archive object with Days
```js
const result = await store.restore('ossdemo.txt', { type: 'ColdArchive', Days: 2 });
console.log(result.status);
```
- Restore a Cold Archive object with Days and JobParameters
```js
const result = await store.restore('ossdemo.txt', { type: 'ColdArchive', Days: 2, JobParameters: 'Standard' });
console.log(result.status);
```
- Restore a Deep Cold Archive object
```js
const result = await store.restore('ossdemo.txt', { type: 'DeepColdArchive' });
console.log(result.status);
```
- Restore a Deep Cold Archive object with Days
```js
const result = await store.restore('ossdemo.txt', { type: 'DeepColdArchive', Days: 2 });
console.log(result.status);
```
- Restore a Deep Cold Archive object with Days and JobParameters
```js
const result = await store.restore('ossdemo.txt', { type: 'DeepColdArchive', Days: 2, JobParameters: 'Standard' });
console.log(result.status);
```
- Restore an history object
```js
@ -3816,6 +3853,89 @@ Object:
- Signature {String}
- policy {Object} response info
### .signPostObjectPolicyV4(policy, date)
Get a V4 signature of the PostObject request.
parameters:
- policy {string | Object} The policy form field in a PostObject request is used to specify the expiration time and conditions of the PostObject request that you initiate to upload an object by using an HTML form. The value of the policy form field is a JSON string or an object.
- date {Date} The time when the request was initiated.
Success will return a V4 signature of the PostObject request.
example:
```js
const axios = require('axios');
const dateFormat = require('dateformat');
const FormData = require('form-data');
const { getCredential } = require('ali-oss/lib/common/signUtils');
const { getStandardRegion } = require('ali-oss/lib/common/utils/getStandardRegion');
const { policy2Str } = require('ali-oss/lib/common/utils/policy2Str');
const OSS = require('ali-oss');
const client = new OSS({
accessKeyId: 'yourAccessKeyId',
accessKeySecret: 'yourAccessKeySecret',
stsToken: 'yourSecurityToken',
bucket: 'yourBucket',
region: 'oss-cn-hangzhou'
});
const name = 'yourObjectName';
const formData = new FormData();
formData.append('key', name);
formData.append('Content-Type', 'yourObjectContentType');
// your object cache control
formData.append('Cache-Control', 'max-age=30');
const url = client.generateObjectUrl(name).replace(name, '');
const date = new Date();
// The expiration parameter specifies the expiration time of the request.
const expirationDate = new Date(date);
expirationDate.setMinutes(date.getMinutes() + 1);
// The time must follow the ISO 8601 standard
const formattedDate = dateFormat(date, "UTC:yyyymmdd'T'HHMMss'Z'");
const credential = getCredential(formattedDate.split('T')[0], getStandardRegion(client.options.region), client.options.accessKeyId);
formData.append('x-oss-date', formattedDate);
formData.append('x-oss-credential', credential);
formData.append('x-oss-signature-version', 'OSS4-HMAC-SHA256');
const policy = {
expiration: expirationDate.toISOString(),
conditions: [
{ bucket: client.options.bucket },
{'x-oss-credential': credential},
{'x-oss-date': formattedDate},
{'x-oss-signature-version': 'OSS4-HMAC-SHA256'},
['content-length-range', 1, 10],
['eq', '$success_action_status', '200'],
['starts-with', '$key', 'yourObjectName'],
['in', '$content-type', ['image/jpg', 'text/plain']],
['not-in', '$cache-control', ['no-cache']]
]
};
if (client.options.stsToken) {
policy.conditions.push({'x-oss-security-token': client.options.stsToken});
formData.append('x-oss-security-token', client.options.stsToken);
}
const signature = client.signPostObjectPolicyV4(policy, date);
formData.append('policy', Buffer.from(policy2Str(policy), 'utf8').toString('base64'));
formData.append('x-oss-signature', signature);
formData.append('success_action_status', '200');
formData.append('file', 'yourFileContent');
axios.post(url, formData, {
headers: {
'Content-Type': 'multipart/form-data'
}
}).then((result) => {
console.log(result.status);
}).catch((e) => {
console.log(e);
});
```
### .getObjectTagging(name[, options])
Obtains the tags of an object.


+ 470
- 452
node_modules/ali-oss/dist/aliyun-oss-sdk.js
File diff suppressed because it is too large
View File


+ 2
- 2
node_modules/ali-oss/dist/aliyun-oss-sdk.min.js
File diff suppressed because it is too large
View File


+ 6
- 5
node_modules/ali-oss/lib/browser/client.js View File

@ -400,7 +400,7 @@ proto.requestError = async function requestError(result) {
this.debug(message, 'error');
error.message += `\nraw xml: ${message}`;
error.status = result.status;
error.requestId = result.headers['x-oss-request-id'];
error.requestId = result.headers && result.headers['x-oss-request-id'];
return error;
}
@ -416,6 +416,7 @@ proto.requestError = async function requestError(result) {
err.requestId = info.RequestId;
err.hostId = info.HostId;
err.serverTime = info.ServerTime;
return err;
};
if (!result.data || !result.data.length) {
@ -442,20 +443,20 @@ proto.requestError = async function requestError(result) {
err.name = 'UnknownError';
err.status = result.status;
err.res = result;
const ossErr = result.headers['x-oss-err'];
const ossErr = result.headers && result.headers['x-oss-err'];
if (ossErr) {
const message = atob(ossErr);
await setError(message);
err = await setError(message);
}
}
err.requestId = result.headers['x-oss-request-id'];
err.requestId = result.headers && result.headers['x-oss-request-id'];
err.host = '';
}
} else {
const message = String(result.data);
this.debug('request response error data: %s', message, 'error');
await setError(message);
err = await setError(message);
}
this.debug('generate error %j', err, 'error');


+ 22
- 14
node_modules/ali-oss/lib/browser/object.js View File

@ -9,6 +9,7 @@ const { isBlob } = require('../common/utils/isBlob');
const { isFile } = require('../common/utils/isFile');
const { isBuffer } = require('../common/utils/isBuffer');
const { obj2xml } = require('../common/utils/obj2xml');
const { parseRestoreInfo } = require('../common/utils/parseRestoreInfo');
// var assert = require('assert');
@ -166,6 +167,7 @@ merge(proto, require('../common/object/generateObjectUrl'));
merge(proto, require('../common/object/signatureUrl'));
merge(proto, require('../common/object/asyncSignatureUrl'));
merge(proto, require('../common/object/signatureUrlV4'));
merge(proto, require('../common/object/signPostObjectPolicyV4'));
proto.putMeta = async function putMeta(name, meta, options) {
const copyResult = await this.copy(name, name, {
@ -191,6 +193,7 @@ proto.list = async function list(query, options) {
if (!Array.isArray(objects)) {
objects = [objects];
}
objects = objects.map(obj => ({
name: obj.Key,
url: that._objectUrl(obj.Key),
@ -202,7 +205,8 @@ proto.list = async function list(query, options) {
owner: {
id: obj.Owner.ID,
displayName: obj.Owner.DisplayName
}
},
restoreInfo: parseRestoreInfo(obj.RestoreInfo)
}));
}
let prefixes = result.data.CommonPrefixes || null;
@ -245,6 +249,7 @@ proto.listV2 = async function listV2(query, options = {}) {
if (!Array.isArray(objects)) {
objects = [objects];
}
objects = objects.map(obj => {
let owner = null;
if (obj.Owner) {
@ -261,7 +266,8 @@ proto.listV2 = async function listV2(query, options = {}) {
type: obj.Type,
size: Number(obj.Size),
storageClass: obj.StorageClass,
owner
owner,
restoreInfo: parseRestoreInfo(obj.RestoreInfo)
};
});
}
@ -296,20 +302,22 @@ proto.restore = async function restore(name, options = { type: 'Archive' }) {
options.subres.versionId = options.versionId;
}
const params = this._objectRequestParams('POST', name, options);
if (options.type === 'ColdArchive') {
const paramsXMLObj = {
RestoreRequest: {
Days: options.Days ? options.Days : 2,
JobParameters: {
Tier: options.JobParameters ? options.JobParameters : 'Standard'
}
}
const paramsXMLObj = {
RestoreRequest: {
Days: options.Days ? options.Days : 2
}
};
if (options.type === 'ColdArchive' || options.type === 'DeepColdArchive') {
paramsXMLObj.RestoreRequest.JobParameters = {
Tier: options.JobParameters ? options.JobParameters : 'Standard'
};
params.content = obj2xml(paramsXMLObj, {
headers: true
});
params.mime = 'xml';
}
params.content = obj2xml(paramsXMLObj, {
headers: true
});
params.mime = 'xml';
params.successStatuses = [202];
const result = await this.request(params);


+ 1
- 1
node_modules/ali-oss/lib/browser/version.js View File

@ -1 +1 @@
exports.version = '6.21.0';
exports.version = '6.22.0';

+ 6
- 5
node_modules/ali-oss/lib/client.js View File

@ -365,7 +365,7 @@ proto.requestError = async function requestError(result) {
debug(message);
error.message += `\nraw xml: ${message}`;
error.status = result.status;
error.requestId = result.headers['x-oss-request-id'];
error.requestId = result.headers && result.headers['x-oss-request-id'];
return error;
}
@ -380,6 +380,7 @@ proto.requestError = async function requestError(result) {
err.requestId = info.RequestId;
err.ecCode = info.EC;
err.hostId = info.HostId;
return err;
};
if (result.name === 'ResponseTimeoutError') {
@ -409,20 +410,20 @@ proto.requestError = async function requestError(result) {
err.name = 'UnknownError';
err.status = result.status;
err.res = result;
const ossErr = result.headers['x-oss-err'];
const ossErr = result.headers && result.headers['x-oss-err'];
if (ossErr) {
const message = Buffer.from(ossErr, 'base64').toString('utf8');
await setError(message);
err = await setError(message);
}
}
err.requestId = result.headers['x-oss-request-id'];
err.requestId = result.headers && result.headers['x-oss-request-id'];
err.host = '';
}
} else {
const message = String(result.data);
debug('request response error data: %s', message);
await setError(message);
err = await setError(message);
}
debug('generate error %j', err);


+ 3
- 1
node_modules/ali-oss/lib/common/object/getBucketVersions.js View File

@ -2,6 +2,7 @@
const proto = exports;
const { isObject } = require('../utils/isObject');
const { isArray } = require('../utils/isArray');
const { parseRestoreInfo } = require('../utils/parseRestoreInfo');
proto.getBucketVersions = getBucketVersions;
proto.listObjectVersions = getBucketVersions;
@ -43,7 +44,8 @@ async function getBucketVersions(query = {}, options = {}) {
owner: {
id: obj.Owner.ID,
displayName: obj.Owner.DisplayName
}
},
restoreInfo: parseRestoreInfo(obj.RestoreInfo)
}));
}
if (deleteMarker) {


+ 1
- 0
node_modules/ali-oss/lib/common/object/index.js View File

@ -24,3 +24,4 @@ merge(proto, require('./getObjectUrl'));
merge(proto, require('./signatureUrl'));
merge(proto, require('./asyncSignatureUrl'));
merge(proto, require('./signatureUrlV4'));
merge(proto, require('./signPostObjectPolicyV4'));

+ 3
- 3
node_modules/ali-oss/lib/common/object/signatureUrlV4.js View File

@ -21,7 +21,7 @@ const proto = exports;
*/
proto.signatureUrlV4 = async function signatureUrlV4(method, expires, request, objectName, additionalHeaders) {
const headers = (request && request.headers) || {};
const queries = { ...((request && request.queries) || {}) };
const queries = Object.assign({}, (request && request.queries) || {});
const date = new Date();
const formattedDate = dateFormat(date, "UTC:yyyymmdd'T'HHMMss'Z'");
const onlyDate = formattedDate.split('T')[0];
@ -31,7 +31,7 @@ proto.signatureUrlV4 = async function signatureUrlV4(method, expires, request, o
if (fixedAdditionalHeaders.length > 0) {
queries['x-oss-additional-headers'] = fixedAdditionalHeaders.join(';');
}
queries['x-oss-credential'] = `${this.options.accessKeyId}/${onlyDate}/${region}/oss/aliyun_v4_request`;
queries['x-oss-credential'] = signHelper.getCredential(onlyDate, region, this.options.accessKeyId);
queries['x-oss-date'] = formattedDate;
queries['x-oss-expires'] = expires;
queries['x-oss-signature-version'] = 'OSS4-HMAC-SHA256';
@ -64,7 +64,7 @@ proto.signatureUrlV4 = async function signatureUrlV4(method, expires, request, o
object: objectName
})
);
signedUrl.query = { ...queries };
signedUrl.query = Object.assign({}, queries);
return signedUrl.format();
};

+ 20
- 3
node_modules/ali-oss/lib/common/signUtils.js View File

@ -168,7 +168,7 @@ exports.getCanonicalRequest = function getCanonicalRequest(method, request, buck
signContent.push(canonicalHeaders);
// Additional Headers
if (additionalHeaders.length > 0) {
if (additionalHeaders && additionalHeaders.length > 0) {
signContent.push(additionalHeaders.join(';'));
} else {
signContent.push('');
@ -180,6 +180,23 @@ exports.getCanonicalRequest = function getCanonicalRequest(method, request, buck
return signContent.join('\n');
};
/**
* @param {string} date yyyymmdd
* @param {string} region Standard region, e.g. cn-hangzhou
* @param {string} [accessKeyId] Access Key ID
* @param {string} [product] Product name, default is oss
* @returns {string}
*/
exports.getCredential = function getCredential(date, region, accessKeyId, product = 'oss') {
const tempCredential = `${date}/${region}/${product}/aliyun_v4_request`;
if (accessKeyId) {
return `${accessKeyId}/${tempCredential}`;
}
return tempCredential;
};
/**
* @param {string} region Standard region, e.g. cn-hangzhou
* @param {string} date ISO8601 UTC:yyyymmdd'T'HHMMss'Z'
@ -190,7 +207,7 @@ exports.getStringToSign = function getStringToSign(region, date, canonicalReques
const stringToSign = [
'OSS4-HMAC-SHA256',
date, // TimeStamp
`${date.split('T')[0]}/${region}/oss/aliyun_v4_request`, // Scope
this.getCredential(date.split('T')[0], region), // Scope
crypto.createHash('sha256').update(canonicalRequest).digest('hex') // Hashed Canonical Request
];
@ -261,7 +278,7 @@ exports.authorizationV4 = function authorizationV4(
const additionalHeadersValue =
fixedAdditionalHeaders.length > 0 ? `AdditionalHeaders=${fixedAdditionalHeaders.join(';')},` : '';
return `OSS4-HMAC-SHA256 Credential=${accessKeyId}/${onlyDate}/${region}/oss/aliyun_v4_request,${additionalHeadersValue}Signature=${signatureValue}`;
return `OSS4-HMAC-SHA256 Credential=${this.getCredential(onlyDate, region, accessKeyId)},${additionalHeadersValue}Signature=${signatureValue}`;
};
/**


+ 21
- 14
node_modules/ali-oss/lib/object.js View File

@ -10,6 +10,7 @@ const pump = require('pump');
const { isBuffer } = require('./common/utils/isBuffer');
const { retry } = require('./common/utils/retry');
const { obj2xml } = require('./common/utils/obj2xml');
const { parseRestoreInfo } = require('./common/utils/parseRestoreInfo');
const proto = exports;
@ -211,6 +212,7 @@ proto.list = async function list(query, options) {
if (!Array.isArray(objects)) {
objects = [objects];
}
objects = objects.map(obj => ({
name: obj.Key,
url: that._objectUrl(obj.Key),
@ -222,7 +224,8 @@ proto.list = async function list(query, options) {
owner: {
id: obj.Owner.ID,
displayName: obj.Owner.DisplayName
}
},
restoreInfo: parseRestoreInfo(obj.RestoreInfo)
}));
}
let prefixes = result.data.CommonPrefixes || null;
@ -276,6 +279,7 @@ proto.listV2 = async function listV2(query = {}, options = {}) {
displayName: obj.Owner.DisplayName
};
}
return {
name: obj.Key,
url: that._objectUrl(obj.Key),
@ -284,7 +288,8 @@ proto.listV2 = async function listV2(query = {}, options = {}) {
type: obj.Type,
size: Number(obj.Size),
storageClass: obj.StorageClass,
owner
owner,
restoreInfo: parseRestoreInfo(obj.RestoreInfo)
};
});
}
@ -319,20 +324,22 @@ proto.restore = async function restore(name, options = { type: 'Archive' }) {
options.subres.versionId = options.versionId;
}
const params = this._objectRequestParams('POST', name, options);
if (options.type === 'ColdArchive') {
const paramsXMLObj = {
RestoreRequest: {
Days: options.Days ? options.Days : 2,
JobParameters: {
Tier: options.JobParameters ? options.JobParameters : 'Standard'
}
}
const paramsXMLObj = {
RestoreRequest: {
Days: options.Days ? options.Days : 2
}
};
if (options.type === 'ColdArchive' || options.type === 'DeepColdArchive') {
paramsXMLObj.RestoreRequest.JobParameters = {
Tier: options.JobParameters ? options.JobParameters : 'Standard'
};
params.content = obj2xml(paramsXMLObj, {
headers: true
});
params.mime = 'xml';
}
params.content = obj2xml(paramsXMLObj, {
headers: true
});
params.mime = 'xml';
params.successStatuses = [202];
const result = await this.request(params);


+ 84
- 110
node_modules/ali-oss/package.json View File

@ -1,30 +1,13 @@
{
"_from": "ali-oss@^6.21.0",
"_id": "ali-oss@6.21.0",
"_inBundle": false,
"_integrity": "sha512-dRvKWO/GJEa6dlsCnvmgHIbU5+yE/SmZsE4kZRGNU7Uotr9uIkQWGqv4szLTxRSxWv3YgL+BZgt+swIgitYGjA==",
"_location": "/ali-oss",
"_phantomChildren": {},
"_requested": {
"type": "range",
"registry": true,
"raw": "ali-oss@^6.21.0",
"name": "ali-oss",
"escapedName": "ali-oss",
"rawSpec": "^6.21.0",
"saveSpec": null,
"fetchSpec": "^6.21.0"
},
"_requiredBy": [
"/"
"name": "ali-oss",
"version": "6.22.0",
"description": "aliyun oss(object storage service) node client",
"main": "./lib/client.js",
"files": [
"lib",
"shims",
"dist"
],
"_resolved": "https://registry.npmmirror.com/ali-oss/-/ali-oss-6.21.0.tgz",
"_shasum": "48053f563d31e8c92c8fc6eacceb68f919282b6a",
"_spec": "ali-oss@^6.21.0",
"_where": "E:\\webView\\tenancy-wechat-uniapp",
"author": {
"name": "dead_horse"
},
"browser": {
"./lib/client.js": "./dist/aliyun-oss-sdk.js",
"mime": "mime/lite",
@ -36,39 +19,55 @@
"child_process": false,
"is-type-of": "./shims/is-type-of.js"
},
"scripts": {
"build-change-log": "standard-version",
"test": "npm run tsc && mocha -t 120000 -r should -r dotenv/config test/node/*.test.js test/node/**/*.test.js",
"test-cov": "npm run tsc && nyc --reporter=lcov node_modules/.bin/_mocha -t 120000 -r should test/node/*.test.js test/node/**/*.test.js",
"jshint": "jshint .",
"build-test": "mkdir -p ./test/browser/build && MINIFY=1 node browser-build.js > test/browser/build/aliyun-oss-sdk.min.js && node -r dotenv/config task/browser-test-build.js > test/browser/build/tests.js",
"browser-test": "npm run build-test && karma start",
"build-dist": "npm run tsc && node browser-build.js > dist/aliyun-oss-sdk.js && MINIFY=1 node browser-build.js > dist/aliyun-oss-sdk.min.js",
"publish-to-npm": "node publish-npm-check.js && npm publish",
"publish-to-cdn": "node publish.js",
"snyk-protect": "snyk-protect",
"lint-staged": "lint-staged",
"detect-secrets": "node task/detect-secrets",
"tsc": "npm run tsc:clean && npm run tsc:build",
"tsc:build": "tsc -b tsconfig.json tsconfig-cjs.json",
"tsc:watch": "tsc -b tsconfig.json tsconfig-cjs.json --watch",
"tsc:clean": "tsc -b tsconfig.json tsconfig-cjs.json --clean ",
"prepare": "husky install"
},
"git-pre-hooks": {
"pre-release": "npm run build-dist",
"post-release": [
"npm run publish-to-npm",
"npm run publish-to-cdn"
]
},
"homepage": "https://github.com/ali-sdk/ali-oss",
"bugs": {
"url": "https://github.com/ali-sdk/ali-oss/issues"
},
"bundleDependencies": false,
"dependencies": {
"address": "^1.2.2",
"agentkeepalive": "^3.4.1",
"bowser": "^1.6.0",
"copy-to": "^2.0.1",
"dateformat": "^2.0.0",
"debug": "^4.3.4",
"destroy": "^1.0.4",
"end-or-error": "^1.0.1",
"get-ready": "^1.0.0",
"humanize-ms": "^1.2.0",
"is-type-of": "^1.4.0",
"js-base64": "^2.5.2",
"jstoxml": "^2.0.0",
"lodash": "^4.17.21",
"merge-descriptors": "^1.0.1",
"mime": "^2.4.5",
"platform": "^1.3.1",
"pump": "^3.0.0",
"qs": "^6.4.0",
"sdk-base": "^2.0.1",
"stream-http": "2.8.2",
"stream-wormhole": "^1.0.4",
"urllib": "^2.44.0",
"utility": "^1.18.0",
"xml2js": "^0.6.2"
"publishConfig": {
"registry": "https://registry.npmjs.org/",
"access": "public"
},
"repository": {
"type": "git",
"url": "https://github.com/ali-sdk/ali-oss.git"
},
"keywords": [
"oss",
"client",
"file",
"aliyun"
],
"author": "dead_horse",
"license": "MIT",
"engines": {
"node": ">=8"
},
"deprecated": false,
"description": "aliyun oss(object storage service) node client",
"devDependencies": {
"@alicloud/openapi-client": "^0.4.10",
"@alicloud/resourcemanager20200331": "^2.3.0",
@ -89,14 +88,14 @@
"@typescript-eslint/eslint-plugin": "^5.0.0",
"@typescript-eslint/parser": "^5.0.0",
"aliasify": "^2.0.0",
"axios": "0.27.2",
"axios": "^0.27.2",
"babelify": "^10.0.0",
"beautify-benchmark": "^0.2.4",
"benchmark": "^2.1.1",
"bluebird": "^3.1.5",
"browserify": "^17.0.0",
"core-js": "^3.6.5",
"crypto-js": "^3.1.9-1",
"crypto-js": "^4.2.0",
"dotenv": "^8.2.0",
"eslint": "^8.44.0",
"eslint-config-airbnb": "^19.0.4",
@ -120,6 +119,7 @@
"lint-staged": "^12.4.1",
"mm": "^2.0.0",
"mocha": "^9.1.2",
"nise": "5.1.4",
"nyc": "^15.1.0",
"prettier": "^3.0.0",
"promise-polyfill": "^6.0.2",
@ -134,29 +134,34 @@
"uglify-js": "^3.14.2",
"watchify": "^4.0.0"
},
"engines": {
"node": ">=8"
},
"files": [
"lib",
"shims",
"dist"
],
"git-pre-hooks": {
"pre-release": "npm run build-dist",
"post-release": [
"npm run publish-to-npm",
"npm run publish-to-cdn"
]
"dependencies": {
"address": "^1.2.2",
"agentkeepalive": "^3.4.1",
"bowser": "^1.6.0",
"copy-to": "^2.0.1",
"dateformat": "^2.0.0",
"debug": "^4.3.4",
"destroy": "^1.0.4",
"end-or-error": "^1.0.1",
"get-ready": "^1.0.0",
"humanize-ms": "^1.2.0",
"is-type-of": "^1.4.0",
"js-base64": "^2.5.2",
"jstoxml": "^2.0.0",
"lodash": "^4.17.21",
"merge-descriptors": "^1.0.1",
"mime": "^2.4.5",
"platform": "^1.3.1",
"pump": "^3.0.0",
"qs": "^6.4.0",
"sdk-base": "^2.0.1",
"stream-http": "2.8.2",
"stream-wormhole": "^1.0.4",
"urllib": "^2.44.0",
"utility": "^1.18.0",
"xml2js": "^0.6.2"
},
"homepage": "https://github.com/ali-sdk/ali-oss",
"keywords": [
"oss",
"client",
"file",
"aliyun"
],
"license": "MIT",
"snyk": true,
"lint-staged": {
"**/!(dist)/*": [
"npm run detect-secrets --"
@ -166,36 +171,5 @@
"prettier --write",
"git add"
]
},
"main": "./lib/client.js",
"name": "ali-oss",
"publishConfig": {
"registry": "https://registry.npmjs.org/",
"access": "public"
},
"repository": {
"type": "git",
"url": "git+https://github.com/ali-sdk/ali-oss.git"
},
"scripts": {
"browser-test": "npm run build-test && karma start",
"build-change-log": "standard-version",
"build-dist": "npm run tsc && node browser-build.js > dist/aliyun-oss-sdk.js && MINIFY=1 node browser-build.js > dist/aliyun-oss-sdk.min.js",
"build-test": "mkdir -p ./test/browser/build && MINIFY=1 node browser-build.js > test/browser/build/aliyun-oss-sdk.min.js && node -r dotenv/config task/browser-test-build.js > test/browser/build/tests.js",
"detect-secrets": "node task/detect-secrets",
"jshint": "jshint .",
"lint-staged": "lint-staged",
"prepare": "husky install",
"publish-to-cdn": "node publish.js",
"publish-to-npm": "node publish-npm-check.js && npm publish",
"snyk-protect": "snyk-protect",
"test": "npm run tsc && mocha -t 120000 -r should -r dotenv/config test/node/*.test.js test/node/**/*.test.js",
"test-cov": "npm run tsc && nyc --reporter=lcov node_modules/.bin/_mocha -t 120000 -r should test/node/*.test.js test/node/**/*.test.js",
"tsc": "npm run tsc:clean && npm run tsc:build",
"tsc:build": "tsc -b tsconfig.json tsconfig-cjs.json",
"tsc:clean": "tsc -b tsconfig.json tsconfig-cjs.json --clean ",
"tsc:watch": "tsc -b tsconfig.json tsconfig-cjs.json --watch"
},
"snyk": true,
"version": "6.21.0"
}
}

+ 53
- 85
node_modules/ansi-regex/package.json View File

@ -1,87 +1,55 @@
{
"_from": "ansi-regex@^5.0.1",
"_id": "ansi-regex@5.0.1",
"_inBundle": false,
"_integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==",
"_location": "/ansi-regex",
"_phantomChildren": {},
"_requested": {
"type": "range",
"registry": true,
"raw": "ansi-regex@^5.0.1",
"name": "ansi-regex",
"escapedName": "ansi-regex",
"rawSpec": "^5.0.1",
"saveSpec": null,
"fetchSpec": "^5.0.1"
},
"_requiredBy": [
"/strip-ansi"
],
"_resolved": "https://registry.npmmirror.com/ansi-regex/-/ansi-regex-5.0.1.tgz",
"_shasum": "082cb2c89c9fe8659a311a53bd6a4dc5301db304",
"_spec": "ansi-regex@^5.0.1",
"_where": "E:\\webView\\tenancy-wechat-uniapp\\node_modules\\strip-ansi",
"author": {
"name": "Sindre Sorhus",
"email": "sindresorhus@gmail.com",
"url": "sindresorhus.com"
},
"bugs": {
"url": "https://github.com/chalk/ansi-regex/issues"
},
"bundleDependencies": false,
"deprecated": false,
"description": "Regular expression for matching ANSI escape codes",
"devDependencies": {
"ava": "^2.4.0",
"tsd": "^0.9.0",
"xo": "^0.25.3"
},
"engines": {
"node": ">=8"
},
"files": [
"index.js",
"index.d.ts"
],
"homepage": "https://github.com/chalk/ansi-regex#readme",
"keywords": [
"ansi",
"styles",
"color",
"colour",
"colors",
"terminal",
"console",
"cli",
"string",
"tty",
"escape",
"formatting",
"rgb",
"256",
"shell",
"xterm",
"command-line",
"text",
"regex",
"regexp",
"re",
"match",
"test",
"find",
"pattern"
],
"license": "MIT",
"name": "ansi-regex",
"repository": {
"type": "git",
"url": "git+https://github.com/chalk/ansi-regex.git"
},
"scripts": {
"test": "xo && ava && tsd",
"view-supported": "node fixtures/view-codes.js"
},
"version": "5.0.1"
"name": "ansi-regex",
"version": "5.0.1",
"description": "Regular expression for matching ANSI escape codes",
"license": "MIT",
"repository": "chalk/ansi-regex",
"author": {
"name": "Sindre Sorhus",
"email": "sindresorhus@gmail.com",
"url": "sindresorhus.com"
},
"engines": {
"node": ">=8"
},
"scripts": {
"test": "xo && ava && tsd",
"view-supported": "node fixtures/view-codes.js"
},
"files": [
"index.js",
"index.d.ts"
],
"keywords": [
"ansi",
"styles",
"color",
"colour",
"colors",
"terminal",
"console",
"cli",
"string",
"tty",
"escape",
"formatting",
"rgb",
"256",
"shell",
"xterm",
"command-line",
"text",
"regex",
"regexp",
"re",
"match",
"test",
"find",
"pattern"
],
"devDependencies": {
"ava": "^2.4.0",
"tsd": "^0.9.0",
"xo": "^0.25.3"
}
}

+ 54
- 86
node_modules/ansi-styles/package.json View File

@ -1,88 +1,56 @@
{
"_from": "ansi-styles@^4.1.0",
"_id": "ansi-styles@4.3.0",
"_inBundle": false,
"_integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",
"_location": "/ansi-styles",
"_phantomChildren": {},
"_requested": {
"type": "range",
"registry": true,
"raw": "ansi-styles@^4.1.0",
"name": "ansi-styles",
"escapedName": "ansi-styles",
"rawSpec": "^4.1.0",
"saveSpec": null,
"fetchSpec": "^4.1.0"
},
"_requiredBy": [
"/chalk"
],
"_resolved": "https://registry.npmmirror.com/ansi-styles/-/ansi-styles-4.3.0.tgz",
"_shasum": "edd803628ae71c04c85ae7a0906edad34b648937",
"_spec": "ansi-styles@^4.1.0",
"_where": "E:\\webView\\tenancy-wechat-uniapp\\node_modules\\chalk",
"author": {
"name": "Sindre Sorhus",
"email": "sindresorhus@gmail.com",
"url": "sindresorhus.com"
},
"bugs": {
"url": "https://github.com/chalk/ansi-styles/issues"
},
"bundleDependencies": false,
"dependencies": {
"color-convert": "^2.0.1"
},
"deprecated": false,
"description": "ANSI escape codes for styling strings in the terminal",
"devDependencies": {
"@types/color-convert": "^1.9.0",
"ava": "^2.3.0",
"svg-term-cli": "^2.1.1",
"tsd": "^0.11.0",
"xo": "^0.25.3"
},
"engines": {
"node": ">=8"
},
"files": [
"index.js",
"index.d.ts"
],
"funding": "https://github.com/chalk/ansi-styles?sponsor=1",
"homepage": "https://github.com/chalk/ansi-styles#readme",
"keywords": [
"ansi",
"styles",
"color",
"colour",
"colors",
"terminal",
"console",
"cli",
"string",
"tty",
"escape",
"formatting",
"rgb",
"256",
"shell",
"xterm",
"log",
"logging",
"command-line",
"text"
],
"license": "MIT",
"name": "ansi-styles",
"repository": {
"type": "git",
"url": "git+https://github.com/chalk/ansi-styles.git"
},
"scripts": {
"screenshot": "svg-term --command='node screenshot' --out=screenshot.svg --padding=3 --width=55 --height=3 --at=1000 --no-cursor",
"test": "xo && ava && tsd"
},
"version": "4.3.0"
"name": "ansi-styles",
"version": "4.3.0",
"description": "ANSI escape codes for styling strings in the terminal",
"license": "MIT",
"repository": "chalk/ansi-styles",
"funding": "https://github.com/chalk/ansi-styles?sponsor=1",
"author": {
"name": "Sindre Sorhus",
"email": "sindresorhus@gmail.com",
"url": "sindresorhus.com"
},
"engines": {
"node": ">=8"
},
"scripts": {
"test": "xo && ava && tsd",
"screenshot": "svg-term --command='node screenshot' --out=screenshot.svg --padding=3 --width=55 --height=3 --at=1000 --no-cursor"
},
"files": [
"index.js",
"index.d.ts"
],
"keywords": [
"ansi",
"styles",
"color",
"colour",
"colors",
"terminal",
"console",
"cli",
"string",
"tty",
"escape",
"formatting",
"rgb",
"256",
"shell",
"xterm",
"log",
"logging",
"command-line",
"text"
],
"dependencies": {
"color-convert": "^2.0.1"
},
"devDependencies": {
"@types/color-convert": "^1.9.0",
"ava": "^2.3.0",
"svg-term-cli": "^2.1.1",
"tsd": "^0.11.0",
"xo": "^0.25.3"
}
}

+ 20
- 49
node_modules/any-promise/package.json View File

@ -1,42 +1,30 @@
{
"_from": "any-promise@^1.3.0",
"_id": "any-promise@1.3.0",
"_inBundle": false,
"_integrity": "sha512-7UvmKalWRt1wgjL1RrGxoSJW/0QZFIegpeGvZG9kjp8vrRu55XTHbwnqq2GpXm9uLbcuhxm3IqX9OB4MZR1b2A==",
"_location": "/any-promise",
"_phantomChildren": {},
"_requested": {
"type": "range",
"registry": true,
"raw": "any-promise@^1.3.0",
"name": "any-promise",
"escapedName": "any-promise",
"rawSpec": "^1.3.0",
"saveSpec": null,
"fetchSpec": "^1.3.0"
},
"_requiredBy": [
"/mz",
"/thenify",
"/urllib"
],
"_resolved": "https://registry.npmmirror.com/any-promise/-/any-promise-1.3.0.tgz",
"_shasum": "abc6afeedcea52e809cdc0376aed3ce39635d17f",
"_spec": "any-promise@^1.3.0",
"_where": "E:\\webView\\tenancy-wechat-uniapp\\node_modules\\urllib",
"author": {
"name": "Kevin Beaty"
},
"name": "any-promise",
"version": "1.3.0",
"description": "Resolve any installed ES6 compatible promise",
"main": "index.js",
"typings": "index.d.ts",
"browser": {
"./register.js": "./register-shim.js"
},
"scripts": {
"test": "ava"
},
"repository": {
"type": "git",
"url": "https://github.com/kevinbeaty/any-promise"
},
"keywords": [
"promise",
"es6"
],
"author": "Kevin Beaty",
"license": "MIT",
"bugs": {
"url": "https://github.com/kevinbeaty/any-promise/issues"
},
"bundleDependencies": false,
"homepage": "http://github.com/kevinbeaty/any-promise",
"dependencies": {},
"deprecated": false,
"description": "Resolve any installed ES6 compatible promise",
"devDependencies": {
"ava": "^0.14.0",
"bluebird": "^3.0.0",
@ -53,22 +41,5 @@
"vow": "^0.4.0",
"when": "^3.0.0",
"zuul": "^3.0.0"
},
"homepage": "http://github.com/kevinbeaty/any-promise",
"keywords": [
"promise",
"es6"
],
"license": "MIT",
"main": "index.js",
"name": "any-promise",
"repository": {
"type": "git",
"url": "git+https://github.com/kevinbeaty/any-promise.git"
},
"scripts": {
"test": "ava"
},
"typings": "index.d.ts",
"version": "1.3.0"
}
}

+ 17
- 49
node_modules/argparse/package.json View File

@ -1,45 +1,7 @@
{
"_from": "argparse@^2.0.1",
"_id": "argparse@2.0.1",
"_inBundle": false,
"_integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==",
"_location": "/argparse",
"_phantomChildren": {},
"_requested": {
"type": "range",
"registry": true,
"raw": "argparse@^2.0.1",
"name": "argparse",
"escapedName": "argparse",
"rawSpec": "^2.0.1",
"saveSpec": null,
"fetchSpec": "^2.0.1"
},
"_requiredBy": [
"/js-yaml"
],
"_resolved": "https://registry.npmmirror.com/argparse/-/argparse-2.0.1.tgz",
"_shasum": "246f50f3ca78a3240f6c997e8a9bd1eac49e4b38",
"_spec": "argparse@^2.0.1",
"_where": "E:\\webView\\tenancy-wechat-uniapp\\node_modules\\js-yaml",
"bugs": {
"url": "https://github.com/nodeca/argparse/issues"
},
"bundleDependencies": false,
"deprecated": false,
"name": "argparse",
"description": "CLI arguments parser. Native port of python's argparse.",
"devDependencies": {
"@babel/eslint-parser": "^7.11.0",
"@babel/plugin-syntax-class-properties": "^7.10.4",
"eslint": "^7.5.0",
"mocha": "^8.0.1",
"nyc": "^15.1.0"
},
"files": [
"argparse.js",
"lib/"
],
"homepage": "https://github.com/nodeca/argparse#readme",
"version": "2.0.1",
"keywords": [
"cli",
"parser",
@ -47,17 +9,23 @@
"option",
"args"
],
"license": "Python-2.0",
"main": "argparse.js",
"name": "argparse",
"repository": {
"type": "git",
"url": "git+https://github.com/nodeca/argparse.git"
},
"files": [
"argparse.js",
"lib/"
],
"license": "Python-2.0",
"repository": "nodeca/argparse",
"scripts": {
"coverage": "npm run test && nyc report --reporter html",
"lint": "eslint .",
"test": "npm run lint && nyc mocha"
"test": "npm run lint && nyc mocha",
"coverage": "npm run test && nyc report --reporter html"
},
"version": "2.0.1"
"devDependencies": {
"@babel/eslint-parser": "^7.11.0",
"@babel/plugin-syntax-class-properties": "^7.10.4",
"eslint": "^7.5.0",
"mocha": "^8.0.1",
"nyc": "^15.1.0"
}
}

+ 17
- 45
node_modules/balanced-match/package.json View File

@ -1,43 +1,21 @@
{
"_from": "balanced-match@^1.0.0",
"_id": "balanced-match@1.0.2",
"_inBundle": false,
"_integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==",
"_location": "/balanced-match",
"_phantomChildren": {},
"_requested": {
"type": "range",
"registry": true,
"raw": "balanced-match@^1.0.0",
"name": "balanced-match",
"escapedName": "balanced-match",
"rawSpec": "^1.0.0",
"saveSpec": null,
"fetchSpec": "^1.0.0"
},
"_requiredBy": [
"/brace-expansion"
],
"_resolved": "https://registry.npmmirror.com/balanced-match/-/balanced-match-1.0.2.tgz",
"_shasum": "e83e3a7e3f300b34cb9d87f615fa0cbf357690ee",
"_spec": "balanced-match@^1.0.0",
"_where": "E:\\webView\\tenancy-wechat-uniapp\\node_modules\\brace-expansion",
"author": {
"name": "Julian Gruber",
"email": "mail@juliangruber.com",
"url": "http://juliangruber.com"
"name": "balanced-match",
"description": "Match balanced character pairs, like \"{\" and \"}\"",
"version": "1.0.2",
"repository": {
"type": "git",
"url": "git://github.com/juliangruber/balanced-match.git"
},
"bugs": {
"url": "https://github.com/juliangruber/balanced-match/issues"
"homepage": "https://github.com/juliangruber/balanced-match",
"main": "index.js",
"scripts": {
"test": "tape test/test.js",
"bench": "matcha test/bench.js"
},
"bundleDependencies": false,
"deprecated": false,
"description": "Match balanced character pairs, like \"{\" and \"}\"",
"devDependencies": {
"matcha": "^0.7.0",
"tape": "^4.6.0"
},
"homepage": "https://github.com/juliangruber/balanced-match",
"keywords": [
"match",
"regexp",
@ -45,17 +23,12 @@
"balanced",
"parse"
],
"license": "MIT",
"main": "index.js",
"name": "balanced-match",
"repository": {
"type": "git",
"url": "git://github.com/juliangruber/balanced-match.git"
},
"scripts": {
"bench": "matcha test/bench.js",
"test": "tape test/test.js"
"author": {
"name": "Julian Gruber",
"email": "mail@juliangruber.com",
"url": "http://juliangruber.com"
},
"license": "MIT",
"testling": {
"files": "test/*.js",
"browsers": [
@ -71,6 +44,5 @@
"iphone/6.0..latest",
"android-browser/4.2..latest"
]
},
"version": "1.0.2"
}
}

+ 18
- 47
node_modules/bowser/package.json View File

@ -1,46 +1,7 @@
{
"_from": "bowser@^1.6.0",
"_id": "bowser@1.9.4",
"_inBundle": false,
"_integrity": "sha512-9IdMmj2KjigRq6oWhmwv1W36pDuA4STQZ8q6YO9um+x07xgYNCD3Oou+WP/3L1HNz7iqythGet3/p4wvc8AAwQ==",
"_location": "/bowser",
"_phantomChildren": {},
"_requested": {
"type": "range",
"registry": true,
"raw": "bowser@^1.6.0",
"name": "bowser",
"escapedName": "bowser",
"rawSpec": "^1.6.0",
"saveSpec": null,
"fetchSpec": "^1.6.0"
},
"_requiredBy": [
"/ali-oss"
],
"_resolved": "https://registry.npmmirror.com/bowser/-/bowser-1.9.4.tgz",
"_shasum": "890c58a2813a9d3243704334fa81b96a5c150c9a",
"_spec": "bowser@^1.6.0",
"_where": "E:\\webView\\tenancy-wechat-uniapp\\node_modules\\ali-oss",
"author": {
"name": "Dustin Diaz",
"email": "dustin@dustindiaz.com",
"url": "http://dustindiaz.com"
},
"bugs": {
"url": "https://github.com/ded/bowser/issues"
},
"bundleDependencies": false,
"deprecated": false,
"name": "bowser",
"version": "1.9.4",
"description": "Lightweight browser detector",
"devDependencies": {
"mocha": "*",
"smoosh": "*"
},
"directories": {
"test": "test"
},
"homepage": "https://github.com/lancedikson/bowser",
"keywords": [
"browser",
"useragent",
@ -51,17 +12,27 @@
"ender",
"sniff"
],
"license": "MIT",
"homepage": "https://github.com/lancedikson/bowser",
"author": "Dustin Diaz <dustin@dustindiaz.com> (http://dustindiaz.com)",
"main": "./src/bowser.js",
"name": "bowser",
"typings": "./typings.d.ts",
"repository": {
"type": "git",
"url": "git+https://github.com/ded/bowser.git"
},
"devDependencies": {
"smoosh": "*",
"mocha": "*"
},
"bugs": {
"url": "https://github.com/ded/bowser/issues"
},
"directories": {
"test": "test"
},
"scripts": {
"prepublish": "make boosh",
"test": "make test"
"test": "make test",
"prepublish": "make boosh"
},
"typings": "./typings.d.ts",
"version": "1.9.4"
"license": "MIT"
}

+ 18
- 46
node_modules/brace-expansion/package.json View File

@ -1,60 +1,33 @@
{
"_from": "brace-expansion@^1.1.7",
"_id": "brace-expansion@1.1.11",
"_inBundle": false,
"_integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==",
"_location": "/brace-expansion",
"_phantomChildren": {},
"_requested": {
"type": "range",
"registry": true,
"raw": "brace-expansion@^1.1.7",
"name": "brace-expansion",
"escapedName": "brace-expansion",
"rawSpec": "^1.1.7",
"saveSpec": null,
"fetchSpec": "^1.1.7"
},
"_requiredBy": [
"/minimatch"
],
"_resolved": "https://registry.npmmirror.com/brace-expansion/-/brace-expansion-1.1.11.tgz",
"_shasum": "3c7fcbf529d87226f3d2f52b966ff5271eb441dd",
"_spec": "brace-expansion@^1.1.7",
"_where": "E:\\webView\\tenancy-wechat-uniapp\\node_modules\\minimatch",
"author": {
"name": "Julian Gruber",
"email": "mail@juliangruber.com",
"url": "http://juliangruber.com"
"name": "brace-expansion",
"description": "Brace expansion as known from sh/bash",
"version": "1.1.11",
"repository": {
"type": "git",
"url": "git://github.com/juliangruber/brace-expansion.git"
},
"bugs": {
"url": "https://github.com/juliangruber/brace-expansion/issues"
"homepage": "https://github.com/juliangruber/brace-expansion",
"main": "index.js",
"scripts": {
"test": "tape test/*.js",
"gentest": "bash test/generate.sh",
"bench": "matcha test/perf/bench.js"
},
"bundleDependencies": false,
"dependencies": {
"balanced-match": "^1.0.0",
"concat-map": "0.0.1"
},
"deprecated": false,
"description": "Brace expansion as known from sh/bash",
"devDependencies": {
"matcha": "^0.7.0",
"tape": "^4.6.0"
},
"homepage": "https://github.com/juliangruber/brace-expansion",
"keywords": [],
"license": "MIT",
"main": "index.js",
"name": "brace-expansion",
"repository": {
"type": "git",
"url": "git://github.com/juliangruber/brace-expansion.git"
},
"scripts": {
"bench": "matcha test/perf/bench.js",
"gentest": "bash test/generate.sh",
"test": "tape test/*.js"
"author": {
"name": "Julian Gruber",
"email": "mail@juliangruber.com",
"url": "http://juliangruber.com"
},
"license": "MIT",
"testling": {
"files": "test/*.js",
"browsers": [
@ -70,6 +43,5 @@
"iphone/6.0..latest",
"android-browser/4.2..latest"
]
},
"version": "1.1.11"
}
}

+ 19
- 51
node_modules/builtin-status-codes/package.json View File

@ -1,49 +1,20 @@
{
"_from": "builtin-status-codes@^3.0.0",
"_id": "builtin-status-codes@3.0.0",
"_inBundle": false,
"_integrity": "sha512-HpGFw18DgFWlncDfjTa2rcQ4W88O1mC8e8yZ2AvQY5KDaktSTwo+KRf6nHK6FRI5FyRyb/5T6+TSxfP7QyGsmQ==",
"_location": "/builtin-status-codes",
"_phantomChildren": {},
"_requested": {
"type": "range",
"registry": true,
"raw": "builtin-status-codes@^3.0.0",
"name": "builtin-status-codes",
"escapedName": "builtin-status-codes",
"rawSpec": "^3.0.0",
"saveSpec": null,
"fetchSpec": "^3.0.0"
},
"_requiredBy": [
"/stream-http"
],
"_resolved": "https://registry.npmmirror.com/builtin-status-codes/-/builtin-status-codes-3.0.0.tgz",
"_shasum": "85982878e21b98e1c66425e03d0174788f569ee8",
"_spec": "builtin-status-codes@^3.0.0",
"_where": "E:\\webView\\tenancy-wechat-uniapp\\node_modules\\stream-http",
"name": "builtin-status-codes",
"main": "index.js",
"browser": "browser.js",
"version": "3.0.0",
"description": "The map of HTTP status codes from the builtin http module",
"license": "MIT",
"repository": "bendrucker/builtin-status-codes",
"author": {
"name": "Ben Drucker",
"email": "bvdrucker@gmail.com",
"url": "bendrucker.me"
},
"browser": "browser.js",
"bugs": {
"url": "https://github.com/bendrucker/builtin-status-codes/issues"
},
"bundleDependencies": false,
"deprecated": false,
"description": "The map of HTTP status codes from the builtin http module",
"devDependencies": {
"standard": "^4.0.0",
"tape": "^4.0.0"
"scripts": {
"test": "standard && tape test.js",
"build": "node build.js"
},
"files": [
"index.js",
"browser.js",
"build.js"
],
"homepage": "https://github.com/bendrucker/builtin-status-codes#readme",
"keywords": [
"http",
"status",
@ -51,21 +22,18 @@
"builtin",
"map"
],
"license": "MIT",
"main": "index.js",
"name": "builtin-status-codes",
"repository": {
"type": "git",
"url": "git+https://github.com/bendrucker/builtin-status-codes.git"
},
"scripts": {
"build": "node build.js",
"test": "standard && tape test.js"
"devDependencies": {
"tape": "^4.0.0",
"standard": "^4.0.0"
},
"files": [
"index.js",
"browser.js",
"build.js"
],
"standard": {
"ignore": [
"browser.js"
]
},
"version": "3.0.0"
}
}

+ 13
- 0
node_modules/call-bind/CHANGELOG.md View File

@ -5,6 +5,19 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [v1.0.8](https://github.com/ljharb/call-bind/compare/v1.0.7...v1.0.8) - 2024-12-05
### Commits
- [Refactor] extract out some helpers and avoid get-intrinsic usage [`407fd5e`](https://github.com/ljharb/call-bind/commit/407fd5eec34ec58394522a6ce3badfa4788fd5ae)
- [Refactor] replace code with extracted `call-bind-apply-helpers` [`81018fb`](https://github.com/ljharb/call-bind/commit/81018fb78902ff5acbc6c09300780e97f0db6a34)
- [Tests] use `set-function-length/env` [`0fc311d`](https://github.com/ljharb/call-bind/commit/0fc311de0e115cfa6b02969b23a42ad45aadf224)
- [actions] split out node 10-20, and 20+ [`77a0cad`](https://github.com/ljharb/call-bind/commit/77a0cad75f83f5b8050dc13baef4fa2cff537fa3)
- [Dev Deps] update `@ljharb/eslint-config`, `auto-changelog`, `es-value-fixtures`, `gopd`, `object-inspect`, `tape` [`a145d10`](https://github.com/ljharb/call-bind/commit/a145d10fe847f350e11094f8541848b028ee8c91)
- [Tests] replace `aud` with `npm audit` [`30ca3dd`](https://github.com/ljharb/call-bind/commit/30ca3dd7234648eb029947477d06b17879e10727)
- [Deps] update `set-function-length` [`57c79a3`](https://github.com/ljharb/call-bind/commit/57c79a3666022ea797cc2a4a3b43fe089bc97d1b)
- [Dev Deps] add missing peer dep [`601cfa5`](https://github.com/ljharb/call-bind/commit/601cfa5540066b6206039ceb9496cecbd134ff7b)
## [v1.0.7](https://github.com/ljharb/call-bind/compare/v1.0.6...v1.0.7) - 2024-02-12
### Commits


+ 6
- 17
node_modules/call-bind/index.js View File

@ -1,33 +1,22 @@
'use strict';
var bind = require('function-bind');
var GetIntrinsic = require('get-intrinsic');
var setFunctionLength = require('set-function-length');
var $TypeError = require('es-errors/type');
var $apply = GetIntrinsic('%Function.prototype.apply%');
var $call = GetIntrinsic('%Function.prototype.call%');
var $reflectApply = GetIntrinsic('%Reflect.apply%', true) || bind.call($call, $apply);
var $defineProperty = require('es-define-property');
var $max = GetIntrinsic('%Math.max%');
var callBindBasic = require('call-bind-apply-helpers');
var applyBind = require('call-bind-apply-helpers/applyBind');
module.exports = function callBind(originalFunction) {
if (typeof originalFunction !== 'function') {
throw new $TypeError('a function is required');
}
var func = $reflectApply(bind, $call, arguments);
var func = callBindBasic(arguments);
var adjustedLength = originalFunction.length - (arguments.length - 1);
return setFunctionLength(
func,
1 + $max(0, originalFunction.length - (arguments.length - 1)),
1 + (adjustedLength > 0 ? adjustedLength : 0),
true
);
};
var applyBind = function applyBind() {
return $reflectApply(bind, $apply, arguments);
};
if ($defineProperty) {
$defineProperty(module.exports, 'apply', { value: applyBind });
} else {


+ 91
- 124
node_modules/call-bind/package.json View File

@ -1,126 +1,93 @@
{
"_from": "call-bind@^1.0.7",
"_id": "call-bind@1.0.7",
"_inBundle": false,
"_integrity": "sha512-GHTSNSYICQ7scH7sZ+M2rFopRoLh8t2bLSW6BbgrtLsahOIB5iyAVJf9GjWK3cYTDaMj4XdBpM1cA6pIS0Kv2w==",
"_location": "/call-bind",
"_phantomChildren": {},
"_requested": {
"type": "range",
"registry": true,
"raw": "call-bind@^1.0.7",
"name": "call-bind",
"escapedName": "call-bind",
"rawSpec": "^1.0.7",
"saveSpec": null,
"fetchSpec": "^1.0.7"
},
"_requiredBy": [
"/has-proto",
"/object.assign",
"/object.entries",
"/side-channel"
],
"_resolved": "https://registry.npmmirror.com/call-bind/-/call-bind-1.0.7.tgz",
"_shasum": "06016599c40c56498c18769d2730be242b6fa3b9",
"_spec": "call-bind@^1.0.7",
"_where": "E:\\webView\\tenancy-wechat-uniapp\\node_modules\\side-channel",
"author": {
"name": "Jordan Harband",
"email": "ljharb@gmail.com"
},
"auto-changelog": {
"output": "CHANGELOG.md",
"template": "keepachangelog",
"unreleased": false,
"commitLimit": false,
"backfillLimit": false,
"hideCredit": true
},
"bugs": {
"url": "https://github.com/ljharb/call-bind/issues"
},
"bundleDependencies": false,
"dependencies": {
"es-define-property": "^1.0.0",
"es-errors": "^1.3.0",
"function-bind": "^1.1.2",
"get-intrinsic": "^1.2.4",
"set-function-length": "^1.2.1"
},
"deprecated": false,
"description": "Robustly `.call.bind()` a function",
"devDependencies": {
"@ljharb/eslint-config": "^21.1.0",
"aud": "^2.0.4",
"auto-changelog": "^2.4.0",
"es-value-fixtures": "^1.4.2",
"eslint": "=8.8.0",
"evalmd": "^0.0.19",
"for-each": "^0.3.3",
"gopd": "^1.0.1",
"has-strict-mode": "^1.0.1",
"in-publish": "^2.0.1",
"npmignore": "^0.3.1",
"nyc": "^10.3.2",
"object-inspect": "^1.13.1",
"safe-publish-latest": "^2.0.0",
"tape": "^5.7.4"
},
"engines": {
"node": ">= 0.4"
},
"exports": {
".": "./index.js",
"./callBound": "./callBound.js",
"./package.json": "./package.json"
},
"funding": {
"url": "https://github.com/sponsors/ljharb"
},
"homepage": "https://github.com/ljharb/call-bind#readme",
"keywords": [
"javascript",
"ecmascript",
"es",
"js",
"callbind",
"callbound",
"call",
"bind",
"bound",
"call-bind",
"call-bound",
"function",
"es-abstract"
],
"license": "MIT",
"main": "index.js",
"name": "call-bind",
"publishConfig": {
"ignore": [
".github/workflows"
]
},
"repository": {
"type": "git",
"url": "git+https://github.com/ljharb/call-bind.git"
},
"scripts": {
"lint": "eslint --ext=.js,.mjs .",
"postlint": "evalmd README.md",
"posttest": "aud --production",
"postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\"",
"prepack": "npmignore --auto --commentLines=auto",
"prepublish": "not-in-publish || npm run prepublishOnly",
"prepublishOnly": "safe-publish-latest",
"pretest": "npm run lint",
"test": "npm run tests-only",
"tests-only": "nyc tape 'test/**/*.js'",
"version": "auto-changelog && git add CHANGELOG.md"
},
"testling": {
"files": "test/index.js"
},
"version": "1.0.7"
"name": "call-bind",
"version": "1.0.8",
"description": "Robustly `.call.bind()` a function",
"main": "index.js",
"exports": {
".": "./index.js",
"./callBound": "./callBound.js",
"./package.json": "./package.json"
},
"scripts": {
"prepack": "npmignore --auto --commentLines=auto",
"prepublish": "not-in-publish || npm run prepublishOnly",
"prepublishOnly": "safe-publish-latest",
"lint": "eslint --ext=.js,.mjs .",
"postlint": "evalmd README.md",
"pretest": "npm run lint",
"tests-only": "nyc tape 'test/**/*.js'",
"test": "npm run tests-only",
"posttest": "npx npm@'>=10.2' audit --production",
"version": "auto-changelog && git add CHANGELOG.md",
"postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\""
},
"repository": {
"type": "git",
"url": "git+https://github.com/ljharb/call-bind.git"
},
"keywords": [
"javascript",
"ecmascript",
"es",
"js",
"callbind",
"callbound",
"call",
"bind",
"bound",
"call-bind",
"call-bound",
"function",
"es-abstract"
],
"author": "Jordan Harband <ljharb@gmail.com>",
"funding": {
"url": "https://github.com/sponsors/ljharb"
},
"license": "MIT",
"bugs": {
"url": "https://github.com/ljharb/call-bind/issues"
},
"homepage": "https://github.com/ljharb/call-bind#readme",
"dependencies": {
"call-bind-apply-helpers": "^1.0.0",
"es-define-property": "^1.0.0",
"get-intrinsic": "^1.2.4",
"set-function-length": "^1.2.2"
},
"devDependencies": {
"@ljharb/eslint-config": "^21.1.1",
"auto-changelog": "^2.5.0",
"encoding": "^0.1.13",
"es-value-fixtures": "^1.5.0",
"eslint": "=8.8.0",
"evalmd": "^0.0.19",
"for-each": "^0.3.3",
"has-strict-mode": "^1.0.1",
"in-publish": "^2.0.1",
"npmignore": "^0.3.1",
"nyc": "^10.3.2",
"object-inspect": "^1.13.3",
"safe-publish-latest": "^2.0.0",
"tape": "^5.9.0"
},
"testling": {
"files": "test/index.js"
},
"auto-changelog": {
"output": "CHANGELOG.md",
"template": "keepachangelog",
"unreleased": false,
"commitLimit": false,
"backfillLimit": false,
"hideCredit": true
},
"publishConfig": {
"ignore": [
".github/workflows"
]
},
"engines": {
"node": ">= 0.4"
}
}

+ 4
- 10
node_modules/call-bind/test/index.js View File

@ -1,8 +1,6 @@
'use strict';
var callBind = require('../');
var bind = require('function-bind');
var gOPD = require('gopd');
var hasStrictMode = require('has-strict-mode')();
var forEach = require('for-each');
var inspect = require('object-inspect');
@ -14,11 +12,7 @@ var test = require('tape');
* older engines have length nonconfigurable
* in io.js v3, it is configurable except on bound functions, hence the .bind()
*/
var functionsHaveConfigurableLengths = !!(
gOPD
&& Object.getOwnPropertyDescriptor
&& Object.getOwnPropertyDescriptor(bind.call(function () {}), 'length').configurable
);
var boundFnsHaveConfigurableLengths = require('set-function-length/env').boundFnsHaveConfigurableLengths;
test('callBind', function (t) {
forEach(v.nonFunctions, function (nonFunction) {
@ -40,19 +34,19 @@ test('callBind', function (t) {
t.deepEqual(func(1, 2, 3), [undefined, 1, 2], 'unbound func with too many args');
var bound = callBind(func);
t.equal(bound.length, func.length + 1, 'function length is preserved', { skip: !functionsHaveConfigurableLengths });
t.equal(bound.length, func.length + 1, 'function length is preserved', { skip: !boundFnsHaveConfigurableLengths });
t.deepEqual(bound(), [undefined, undefined, undefined], 'bound func with too few args');
t.deepEqual(bound(1, 2), [hasStrictMode ? 1 : Object(1), 2, undefined], 'bound func with right args');
t.deepEqual(bound(1, 2, 3), [hasStrictMode ? 1 : Object(1), 2, 3], 'bound func with too many args');
var boundR = callBind(func, sentinel);
t.equal(boundR.length, func.length, 'function length is preserved', { skip: !functionsHaveConfigurableLengths });
t.equal(boundR.length, func.length, 'function length is preserved', { skip: !boundFnsHaveConfigurableLengths });
t.deepEqual(boundR(), [sentinel, undefined, undefined], 'bound func with receiver, with too few args');
t.deepEqual(boundR(1, 2), [sentinel, 1, 2], 'bound func with receiver, with right args');
t.deepEqual(boundR(1, 2, 3), [sentinel, 1, 2], 'bound func with receiver, with too many args');
var boundArg = callBind(func, sentinel, 1);
t.equal(boundArg.length, func.length - 1, 'function length is preserved', { skip: !functionsHaveConfigurableLengths });
t.equal(boundArg.length, func.length - 1, 'function length is preserved', { skip: !boundFnsHaveConfigurableLengths });
t.deepEqual(boundArg(), [sentinel, 1, undefined], 'bound func with receiver and arg, with too few args');
t.deepEqual(boundArg(2), [sentinel, 1, 2], 'bound func with receiver and arg, with right arg');
t.deepEqual(boundArg(2, 3), [sentinel, 1, 2], 'bound func with receiver and arg, with too many args');


+ 37
- 69
node_modules/callsites/package.json View File

@ -1,71 +1,39 @@
{
"_from": "callsites@^3.0.0",
"_id": "callsites@3.1.0",
"_inBundle": false,
"_integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==",
"_location": "/callsites",
"_phantomChildren": {},
"_requested": {
"type": "range",
"registry": true,
"raw": "callsites@^3.0.0",
"name": "callsites",
"escapedName": "callsites",
"rawSpec": "^3.0.0",
"saveSpec": null,
"fetchSpec": "^3.0.0"
},
"_requiredBy": [
"/parent-module"
],
"_resolved": "https://registry.npmmirror.com/callsites/-/callsites-3.1.0.tgz",
"_shasum": "b3630abd8943432f54b3f0519238e33cd7df2f73",
"_spec": "callsites@^3.0.0",
"_where": "E:\\webView\\tenancy-wechat-uniapp\\node_modules\\parent-module",
"author": {
"name": "Sindre Sorhus",
"email": "sindresorhus@gmail.com",
"url": "sindresorhus.com"
},
"bugs": {
"url": "https://github.com/sindresorhus/callsites/issues"
},
"bundleDependencies": false,
"deprecated": false,
"description": "Get callsites from the V8 stack trace API",
"devDependencies": {
"ava": "^1.4.1",
"tsd": "^0.7.2",
"xo": "^0.24.0"
},
"engines": {
"node": ">=6"
},
"files": [
"index.js",
"index.d.ts"
],
"homepage": "https://github.com/sindresorhus/callsites#readme",
"keywords": [
"stacktrace",
"v8",
"callsite",
"callsites",
"stack",
"trace",
"function",
"file",
"line",
"debug"
],
"license": "MIT",
"name": "callsites",
"repository": {
"type": "git",
"url": "git+https://github.com/sindresorhus/callsites.git"
},
"scripts": {
"test": "xo && ava && tsd"
},
"version": "3.1.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"
}
}

+ 66
- 98
node_modules/chalk/package.json View File

@ -1,100 +1,68 @@
{
"_from": "chalk@^4.0.0",
"_id": "chalk@4.1.2",
"_inBundle": false,
"_integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==",
"_location": "/chalk",
"_phantomChildren": {},
"_requested": {
"type": "range",
"registry": true,
"raw": "chalk@^4.0.0",
"name": "chalk",
"escapedName": "chalk",
"rawSpec": "^4.0.0",
"saveSpec": null,
"fetchSpec": "^4.0.0"
},
"_requiredBy": [
"/eslint"
],
"_resolved": "https://registry.npmmirror.com/chalk/-/chalk-4.1.2.tgz",
"_shasum": "aac4e2b7734a740867aeb16bf02aad556a1e7a01",
"_spec": "chalk@^4.0.0",
"_where": "E:\\webView\\tenancy-wechat-uniapp\\node_modules\\eslint",
"bugs": {
"url": "https://github.com/chalk/chalk/issues"
},
"bundleDependencies": false,
"dependencies": {
"ansi-styles": "^4.1.0",
"supports-color": "^7.1.0"
},
"deprecated": false,
"description": "Terminal string styling done right",
"devDependencies": {
"ava": "^2.4.0",
"coveralls": "^3.0.7",
"execa": "^4.0.0",
"import-fresh": "^3.1.0",
"matcha": "^0.7.0",
"nyc": "^15.0.0",
"resolve-from": "^5.0.0",
"tsd": "^0.7.4",
"xo": "^0.28.2"
},
"engines": {
"node": ">=10"
},
"files": [
"source",
"index.d.ts"
],
"funding": "https://github.com/chalk/chalk?sponsor=1",
"homepage": "https://github.com/chalk/chalk#readme",
"keywords": [
"color",
"colour",
"colors",
"terminal",
"console",
"cli",
"string",
"str",
"ansi",
"style",
"styles",
"tty",
"formatting",
"rgb",
"256",
"shell",
"xterm",
"log",
"logging",
"command-line",
"text"
],
"license": "MIT",
"main": "source",
"name": "chalk",
"repository": {
"type": "git",
"url": "git+https://github.com/chalk/chalk.git"
},
"scripts": {
"bench": "matcha benchmark.js",
"test": "xo && nyc ava && tsd"
},
"version": "4.1.2",
"xo": {
"rules": {
"unicorn/prefer-string-slice": "off",
"unicorn/prefer-includes": "off",
"@typescript-eslint/member-ordering": "off",
"no-redeclare": "off",
"unicorn/string-content": "off",
"unicorn/better-regex": "off"
}
}
"name": "chalk",
"version": "4.1.2",
"description": "Terminal string styling done right",
"license": "MIT",
"repository": "chalk/chalk",
"funding": "https://github.com/chalk/chalk?sponsor=1",
"main": "source",
"engines": {
"node": ">=10"
},
"scripts": {
"test": "xo && nyc ava && tsd",
"bench": "matcha benchmark.js"
},
"files": [
"source",
"index.d.ts"
],
"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": "^4.1.0",
"supports-color": "^7.1.0"
},
"devDependencies": {
"ava": "^2.4.0",
"coveralls": "^3.0.7",
"execa": "^4.0.0",
"import-fresh": "^3.1.0",
"matcha": "^0.7.0",
"nyc": "^15.0.0",
"resolve-from": "^5.0.0",
"tsd": "^0.7.4",
"xo": "^0.28.2"
},
"xo": {
"rules": {
"unicorn/prefer-string-slice": "off",
"unicorn/prefer-includes": "off",
"@typescript-eslint/member-ordering": "off",
"no-redeclare": "off",
"unicorn/string-content": "off",
"unicorn/better-regex": "off"
}
}
}

+ 20
- 55
node_modules/color-convert/package.json View File

@ -1,53 +1,17 @@
{
"_from": "color-convert@^2.0.1",
"_id": "color-convert@2.0.1",
"_inBundle": false,
"_integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==",
"_location": "/color-convert",
"_phantomChildren": {},
"_requested": {
"type": "range",
"registry": true,
"raw": "color-convert@^2.0.1",
"name": "color-convert",
"escapedName": "color-convert",
"rawSpec": "^2.0.1",
"saveSpec": null,
"fetchSpec": "^2.0.1"
},
"_requiredBy": [
"/ansi-styles"
],
"_resolved": "https://registry.npmmirror.com/color-convert/-/color-convert-2.0.1.tgz",
"_shasum": "72d3a68d598c9bdb3af2ad1e84f21d896abd4de3",
"_spec": "color-convert@^2.0.1",
"_where": "E:\\webView\\tenancy-wechat-uniapp\\node_modules\\ansi-styles",
"author": {
"name": "Heather Arthur",
"email": "fayearthur@gmail.com"
},
"bugs": {
"url": "https://github.com/Qix-/color-convert/issues"
},
"bundleDependencies": false,
"dependencies": {
"color-name": "~1.1.4"
},
"deprecated": false,
"name": "color-convert",
"description": "Plain color conversion functions",
"devDependencies": {
"chalk": "^2.4.2",
"xo": "^0.24.0"
"version": "2.0.1",
"author": "Heather Arthur <fayearthur@gmail.com>",
"license": "MIT",
"repository": "Qix-/color-convert",
"scripts": {
"pretest": "xo",
"test": "node test/basic.js"
},
"engines": {
"node": ">=7.0.0"
},
"files": [
"index.js",
"conversions.js",
"route.js"
],
"homepage": "https://github.com/Qix-/color-convert#readme",
"keywords": [
"color",
"colour",
@ -62,22 +26,23 @@
"ansi",
"ansi16"
],
"license": "MIT",
"name": "color-convert",
"repository": {
"type": "git",
"url": "git+https://github.com/Qix-/color-convert.git"
},
"scripts": {
"pretest": "xo",
"test": "node test/basic.js"
},
"version": "2.0.1",
"files": [
"index.js",
"conversions.js",
"route.js"
],
"xo": {
"rules": {
"default-case": 0,
"no-inline-comments": 0,
"operator-linebreak": 0
}
},
"devDependencies": {
"chalk": "^2.4.2",
"xo": "^0.24.0"
},
"dependencies": {
"color-name": "~1.1.4"
}
}

+ 14
- 42
node_modules/color-name/package.json View File

@ -1,56 +1,28 @@
{
"_from": "color-name@~1.1.4",
"_id": "color-name@1.1.4",
"_inBundle": false,
"_integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==",
"_location": "/color-name",
"_phantomChildren": {},
"_requested": {
"type": "range",
"registry": true,
"raw": "color-name@~1.1.4",
"name": "color-name",
"escapedName": "color-name",
"rawSpec": "~1.1.4",
"saveSpec": null,
"fetchSpec": "~1.1.4"
},
"_requiredBy": [
"/color-convert"
],
"_resolved": "https://registry.npmmirror.com/color-name/-/color-name-1.1.4.tgz",
"_shasum": "c2a09a87acbde69543de6f63fa3995c826c536a2",
"_spec": "color-name@~1.1.4",
"_where": "E:\\webView\\tenancy-wechat-uniapp\\node_modules\\color-convert",
"author": {
"name": "DY",
"email": "dfcreative@gmail.com"
},
"bugs": {
"url": "https://github.com/colorjs/color-name/issues"
},
"bundleDependencies": false,
"deprecated": false,
"name": "color-name",
"version": "1.1.4",
"description": "A list of color names and its values",
"main": "index.js",
"files": [
"index.js"
],
"homepage": "https://github.com/colorjs/color-name",
"scripts": {
"test": "node test.js"
},
"repository": {
"type": "git",
"url": "git@github.com:colorjs/color-name.git"
},
"keywords": [
"color-name",
"color",
"color-keyword",
"keyword"
],
"author": "DY <dfcreative@gmail.com>",
"license": "MIT",
"main": "index.js",
"name": "color-name",
"repository": {
"type": "git",
"url": "git+ssh://git@github.com/colorjs/color-name.git"
},
"scripts": {
"test": "node test.js"
"bugs": {
"url": "https://github.com/colorjs/color-name/issues"
},
"version": "1.1.4"
"homepage": "https://github.com/colorjs/color-name"
}

+ 40
- 85
node_modules/concat-map/package.json View File

@ -1,88 +1,43 @@
{
"_from": "concat-map@0.0.1",
"_id": "concat-map@0.0.1",
"_inBundle": false,
"_integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==",
"_location": "/concat-map",
"_phantomChildren": {},
"_requested": {
"type": "version",
"registry": true,
"raw": "concat-map@0.0.1",
"name": "concat-map",
"escapedName": "concat-map",
"rawSpec": "0.0.1",
"saveSpec": null,
"fetchSpec": "0.0.1"
},
"_requiredBy": [
"/brace-expansion"
],
"_resolved": "https://registry.npmmirror.com/concat-map/-/concat-map-0.0.1.tgz",
"_shasum": "d8a96bd77fd68df7793a73036a3ba0d5405d477b",
"_spec": "concat-map@0.0.1",
"_where": "E:\\webView\\tenancy-wechat-uniapp\\node_modules\\brace-expansion",
"author": {
"name": "James Halliday",
"email": "mail@substack.net",
"url": "http://substack.net"
},
"bugs": {
"url": "https://github.com/substack/node-concat-map/issues"
},
"bundleDependencies": false,
"deprecated": false,
"description": "concatenative mapdashery",
"devDependencies": {
"tape": "~2.4.0"
},
"directories": {
"example": "example",
"test": "test"
},
"homepage": "https://github.com/substack/node-concat-map#readme",
"keywords": [
"concat",
"concatMap",
"map",
"functional",
"higher-order"
],
"license": "MIT",
"main": "index.js",
"name": "concat-map",
"repository": {
"type": "git",
"url": "git://github.com/substack/node-concat-map.git"
},
"scripts": {
"test": "tape test/*.js"
},
"testling": {
"files": "test/*.js",
"browsers": {
"ie": [
6,
7,
8,
9
],
"ff": [
3.5,
10,
15
],
"chrome": [
10,
22
],
"safari": [
5.1
],
"opera": [
12
]
"name" : "concat-map",
"description" : "concatenative mapdashery",
"version" : "0.0.1",
"repository" : {
"type" : "git",
"url" : "git://github.com/substack/node-concat-map.git"
},
"main" : "index.js",
"keywords" : [
"concat",
"concatMap",
"map",
"functional",
"higher-order"
],
"directories" : {
"example" : "example",
"test" : "test"
},
"scripts" : {
"test" : "tape test/*.js"
},
"devDependencies" : {
"tape" : "~2.4.0"
},
"license" : "MIT",
"author" : {
"name" : "James Halliday",
"email" : "mail@substack.net",
"url" : "http://substack.net"
},
"testling" : {
"files" : "test/*.js",
"browsers" : {
"ie" : [ 6, 7, 8, 9 ],
"ff" : [ 3.5, 10, 15.0 ],
"chrome" : [ 10, 22 ],
"safari" : [ 5.1 ],
"opera" : [ 12 ]
}
}
},
"version": "0.0.1"
}

+ 16
- 45
node_modules/confusing-browser-globals/package.json View File

@ -1,55 +1,26 @@
{
"_from": "confusing-browser-globals@^1.0.10",
"_id": "confusing-browser-globals@1.0.11",
"_inBundle": false,
"_integrity": "sha512-JsPKdmh8ZkmnHxDk55FZ1TqVLvEQTvoByJZRN9jzI0UjxK/QgAmsphz7PGtqgPieQZ/CQcHWXCR7ATDNhGe+YA==",
"_location": "/confusing-browser-globals",
"_phantomChildren": {},
"_requested": {
"type": "range",
"registry": true,
"raw": "confusing-browser-globals@^1.0.10",
"name": "confusing-browser-globals",
"escapedName": "confusing-browser-globals",
"rawSpec": "^1.0.10",
"saveSpec": null,
"fetchSpec": "^1.0.10"
},
"_requiredBy": [
"/eslint-config-airbnb-base"
],
"_resolved": "https://registry.npmmirror.com/confusing-browser-globals/-/confusing-browser-globals-1.0.11.tgz",
"_shasum": "ae40e9b57cdd3915408a2805ebd3a5585608dc81",
"_spec": "confusing-browser-globals@^1.0.10",
"_where": "E:\\webView\\tenancy-wechat-uniapp\\node_modules\\eslint-config-airbnb-base",
"bugs": {
"url": "https://github.com/facebook/create-react-app/issues"
},
"bundleDependencies": false,
"deprecated": false,
"name": "confusing-browser-globals",
"version": "1.0.11",
"description": "A list of browser globals that are often used by mistake instead of local variables",
"devDependencies": {
"jest": "^27.4.3"
},
"files": [
"index.js"
],
"gitHead": "221e511730ca51c036c6954a9d2ee7659ff860f9",
"homepage": "https://github.com/facebook/create-react-app#readme",
"keywords": [
"eslint",
"globals"
],
"license": "MIT",
"main": "index.js",
"name": "confusing-browser-globals",
"scripts": {
"test": "jest"
},
"repository": {
"type": "git",
"url": "git+https://github.com/facebook/create-react-app.git",
"url": "https://github.com/facebook/create-react-app.git",
"directory": "packages/confusing-browser-globals"
},
"scripts": {
"test": "jest"
"keywords": [
"eslint",
"globals"
],
"files": [
"index.js"
],
"devDependencies": {
"jest": "^27.4.3"
},
"version": "1.0.11"
"gitHead": "221e511730ca51c036c6954a9d2ee7659ff860f9"
}

+ 15
- 50
node_modules/content-type/package.json View File

@ -1,37 +1,17 @@
{
"_from": "content-type@^1.0.2",
"_id": "content-type@1.0.5",
"_inBundle": false,
"_integrity": "sha512-nTjqfcBFEipKdXCv4YDQWCfmcLZKm81ldF0pAopTvyrFGVbcR6P/VAAd5G7N+0tTr8QqiU0tFadD6FK4NtJwOA==",
"_location": "/content-type",
"_phantomChildren": {},
"_requested": {
"type": "range",
"registry": true,
"raw": "content-type@^1.0.2",
"name": "content-type",
"escapedName": "content-type",
"rawSpec": "^1.0.2",
"saveSpec": null,
"fetchSpec": "^1.0.2"
},
"_requiredBy": [
"/urllib"
],
"_resolved": "https://registry.npmmirror.com/content-type/-/content-type-1.0.5.tgz",
"_shasum": "8b773162656d1d1086784c8f23a54ce6d73d7918",
"_spec": "content-type@^1.0.2",
"_where": "E:\\webView\\tenancy-wechat-uniapp\\node_modules\\urllib",
"author": {
"name": "Douglas Christopher Wilson",
"email": "doug@somethingdoug.com"
},
"bugs": {
"url": "https://github.com/jshttp/content-type/issues"
},
"bundleDependencies": false,
"deprecated": false,
"name": "content-type",
"description": "Create and parse HTTP Content-Type header",
"version": "1.0.5",
"author": "Douglas Christopher Wilson <doug@somethingdoug.com>",
"license": "MIT",
"keywords": [
"content-type",
"http",
"req",
"res",
"rfc7231"
],
"repository": "jshttp/content-type",
"devDependencies": {
"deep-equal": "1.0.1",
"eslint": "8.32.0",
@ -43,28 +23,14 @@
"mocha": "10.2.0",
"nyc": "15.1.0"
},
"engines": {
"node": ">= 0.6"
},
"files": [
"LICENSE",
"HISTORY.md",
"README.md",
"index.js"
],
"homepage": "https://github.com/jshttp/content-type#readme",
"keywords": [
"content-type",
"http",
"req",
"res",
"rfc7231"
],
"license": "MIT",
"name": "content-type",
"repository": {
"type": "git",
"url": "git+https://github.com/jshttp/content-type.git"
"engines": {
"node": ">= 0.6"
},
"scripts": {
"lint": "eslint .",
@ -72,6 +38,5 @@
"test-ci": "nyc --reporter=lcovonly --reporter=text npm test",
"test-cov": "nyc --reporter=html --reporter=text npm test",
"version": "node scripts/version-history.js && git add HISTORY.md"
},
"version": "1.0.5"
}
}

+ 18
- 49
node_modules/copy-to/package.json View File

@ -1,46 +1,16 @@
{
"_from": "copy-to@^2.0.1",
"_id": "copy-to@2.0.1",
"_inBundle": false,
"_integrity": "sha512-3DdaFaU/Zf1AnpLiFDeNCD4TOWe3Zl2RZaTzUvWiIk5ERzcCodOE20Vqq4fzCbNoHURFHT4/us/Lfq+S2zyY4w==",
"_location": "/copy-to",
"_phantomChildren": {},
"_requested": {
"type": "range",
"registry": true,
"raw": "copy-to@^2.0.1",
"name": "copy-to",
"escapedName": "copy-to",
"rawSpec": "^2.0.1",
"saveSpec": null,
"fetchSpec": "^2.0.1"
},
"_requiredBy": [
"/ali-oss",
"/utility"
],
"_resolved": "https://registry.npmmirror.com/copy-to/-/copy-to-2.0.1.tgz",
"_shasum": "2680fbb8068a48d08656b6098092bdafc906f4a5",
"_spec": "copy-to@^2.0.1",
"_where": "E:\\webView\\tenancy-wechat-uniapp\\node_modules\\ali-oss",
"author": {
"name": "dead_horse",
"email": "dead_horse@qq.com"
},
"bugs": {
"url": "https://github.com/node-modules/copy-to/issues"
},
"bundleDependencies": false,
"deprecated": false,
"name": "copy-to",
"version": "2.0.1",
"description": "copy an object's properties to another object",
"devDependencies": {
"mocha": "*",
"should": "*"
"main": "index.js",
"files": ["index.js"],
"scripts": {
"test": "make test"
},
"repository": {
"type": "git",
"url": "git://github.com/node-modules/copy-to.git"
},
"files": [
"index.js"
],
"homepage": "https://github.com/node-modules/copy-to",
"keywords": [
"copy",
"object",
@ -48,15 +18,14 @@
"setter",
"getter"
],
"author": "dead_horse <dead_horse@qq.com>",
"license": "MIT",
"main": "index.js",
"name": "copy-to",
"repository": {
"type": "git",
"url": "git://github.com/node-modules/copy-to.git"
},
"scripts": {
"test": "make test"
"bugs": {
"url": "https://github.com/node-modules/copy-to/issues"
},
"version": "2.0.1"
"homepage": "https://github.com/node-modules/copy-to",
"devDependencies": {
"mocha": "*",
"should": "*"
}
}

+ 16
- 47
node_modules/core-util-is/package.json View File

@ -1,46 +1,15 @@
{
"_from": "core-util-is@^1.0.2",
"_id": "core-util-is@1.0.3",
"_inBundle": false,
"_integrity": "sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ==",
"_location": "/core-util-is",
"_phantomChildren": {},
"_requested": {
"type": "range",
"registry": true,
"raw": "core-util-is@^1.0.2",
"name": "core-util-is",
"escapedName": "core-util-is",
"rawSpec": "^1.0.2",
"saveSpec": null,
"fetchSpec": "^1.0.2"
},
"_requiredBy": [
"/is-type-of",
"/readable-stream"
],
"_resolved": "https://registry.npmmirror.com/core-util-is/-/core-util-is-1.0.3.tgz",
"_shasum": "a6042d3634c2b27e9328f837b965fac83808db85",
"_spec": "core-util-is@^1.0.2",
"_where": "E:\\webView\\tenancy-wechat-uniapp\\node_modules\\is-type-of",
"author": {
"name": "Isaac Z. Schlueter",
"email": "i@izs.me",
"url": "http://blog.izs.me/"
},
"bugs": {
"url": "https://github.com/isaacs/core-util-is/issues"
},
"bundleDependencies": false,
"deprecated": false,
"name": "core-util-is",
"version": "1.0.3",
"description": "The `util.is*` functions introduced in Node v0.12.",
"devDependencies": {
"tap": "^15.0.9"
},
"main": "lib/util.js",
"files": [
"lib"
],
"homepage": "https://github.com/isaacs/core-util-is#readme",
"repository": {
"type": "git",
"url": "git://github.com/isaacs/core-util-is"
},
"keywords": [
"util",
"isBuffer",
@ -52,18 +21,18 @@
"isThat",
"polyfill"
],
"author": "Isaac Z. Schlueter <i@izs.me> (http://blog.izs.me/)",
"license": "MIT",
"main": "lib/util.js",
"name": "core-util-is",
"repository": {
"type": "git",
"url": "git://github.com/isaacs/core-util-is.git"
"bugs": {
"url": "https://github.com/isaacs/core-util-is/issues"
},
"scripts": {
"postversion": "npm publish",
"prepublishOnly": "git push origin --follow-tags",
"test": "tap test.js",
"preversion": "npm test",
"test": "tap test.js"
"postversion": "npm publish",
"prepublishOnly": "git push origin --follow-tags"
},
"version": "1.0.3"
"devDependencies": {
"tap": "^15.0.9"
}
}

+ 40
- 71
node_modules/cross-spawn/package.json View File

@ -1,35 +1,47 @@
{
"_from": "cross-spawn@^7.0.2",
"_id": "cross-spawn@7.0.6",
"_inBundle": false,
"_integrity": "sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==",
"_location": "/cross-spawn",
"_phantomChildren": {},
"_requested": {
"type": "range",
"registry": true,
"raw": "cross-spawn@^7.0.2",
"name": "cross-spawn",
"escapedName": "cross-spawn",
"rawSpec": "^7.0.2",
"saveSpec": null,
"fetchSpec": "^7.0.2"
"name": "cross-spawn",
"version": "7.0.6",
"description": "Cross platform child_process#spawn and child_process#spawnSync",
"keywords": [
"spawn",
"spawnSync",
"windows",
"cross-platform",
"path-ext",
"shebang",
"cmd",
"execute"
],
"author": "André Cruz <andre@moxy.studio>",
"homepage": "https://github.com/moxystudio/node-cross-spawn",
"repository": {
"type": "git",
"url": "git@github.com:moxystudio/node-cross-spawn.git"
},
"_requiredBy": [
"/eslint"
"license": "MIT",
"main": "index.js",
"files": [
"lib"
],
"_resolved": "https://registry.npmmirror.com/cross-spawn/-/cross-spawn-7.0.6.tgz",
"_shasum": "8a58fe78f00dcd70c370451759dfbfaf03e8ee9f",
"_spec": "cross-spawn@^7.0.2",
"_where": "E:\\webView\\tenancy-wechat-uniapp\\node_modules\\eslint",
"author": {
"name": "André Cruz",
"email": "andre@moxy.studio"
"scripts": {
"lint": "eslint .",
"test": "jest --env node --coverage",
"prerelease": "npm t && npm run lint",
"release": "standard-version",
"postrelease": "git push --follow-tags origin HEAD && npm publish"
},
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
"pre-commit": "lint-staged"
}
},
"bugs": {
"url": "https://github.com/moxystudio/node-cross-spawn/issues"
"lint-staged": {
"*.js": [
"eslint --fix",
"git add"
]
},
"bundleDependencies": false,
"commitlint": {
"extends": [
"@commitlint/config-conventional"
@ -40,8 +52,6 @@
"shebang-command": "^2.0.0",
"which": "^2.0.1"
},
"deprecated": false,
"description": "Cross platform child_process#spawn and child_process#spawnSync",
"devDependencies": {
"@commitlint/cli": "^8.1.0",
"@commitlint/config-conventional": "^8.1.0",
@ -59,46 +69,5 @@
},
"engines": {
"node": ">= 8"
},
"files": [
"lib"
],
"homepage": "https://github.com/moxystudio/node-cross-spawn",
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
"pre-commit": "lint-staged"
}
},
"keywords": [
"spawn",
"spawnSync",
"windows",
"cross-platform",
"path-ext",
"shebang",
"cmd",
"execute"
],
"license": "MIT",
"lint-staged": {
"*.js": [
"eslint --fix",
"git add"
]
},
"main": "index.js",
"name": "cross-spawn",
"repository": {
"type": "git",
"url": "git+ssh://git@github.com/moxystudio/node-cross-spawn.git"
},
"scripts": {
"lint": "eslint .",
"postrelease": "git push --follow-tags origin HEAD && npm publish",
"prerelease": "npm t && npm run lint",
"release": "standard-version",
"test": "jest --env node --coverage"
},
"version": "7.0.6"
}
}

+ 18
- 59
node_modules/dateformat/package.json View File

@ -1,71 +1,30 @@
{
"_from": "dateformat@^2.0.0",
"_id": "dateformat@2.2.0",
"_inBundle": false,
"_integrity": "sha512-GODcnWq3YGoTnygPfi02ygEiRxqUxpJwuRHjdhJYuxpcZmDq4rjBiXYmbCCzStxo176ixfLT6i4NPwQooRySnw==",
"_location": "/dateformat",
"_phantomChildren": {},
"_requested": {
"type": "range",
"registry": true,
"raw": "dateformat@^2.0.0",
"name": "dateformat",
"escapedName": "dateformat",
"rawSpec": "^2.0.0",
"saveSpec": null,
"fetchSpec": "^2.0.0"
},
"_requiredBy": [
"/ali-oss"
],
"_resolved": "https://registry.npmmirror.com/dateformat/-/dateformat-2.2.0.tgz",
"_shasum": "4065e2013cf9fb916ddfd82efb506ad4c6769062",
"_spec": "dateformat@^2.0.0",
"_where": "E:\\webView\\tenancy-wechat-uniapp\\node_modules\\ali-oss",
"author": {
"name": "Steven Levithan"
},
"bugs": {
"url": "https://github.com/felixge/node-dateformat/issues"
},
"bundleDependencies": false,
"name": "dateformat",
"description": "A node.js package for Steven Levithan's excellent dateFormat() function.",
"maintainers": "Felix Geisendörfer <felix@debuggable.com>",
"homepage": "https://github.com/felixge/node-dateformat",
"author": "Steven Levithan",
"contributors": [
{
"name": "Steven Levithan"
},
{
"name": "Felix Geisendörfer",
"email": "felix@debuggable.com"
},
{
"name": "Christoph Tavan",
"email": "dev@tavan.de"
},
{
"name": "Jon Schlinkert",
"url": "https://github.com/jonschlinkert"
}
"Steven Levithan",
"Felix Geisendörfer <felix@debuggable.com>",
"Christoph Tavan <dev@tavan.de>",
"Jon Schlinkert (https://github.com/jonschlinkert)"
],
"deprecated": false,
"description": "A node.js package for Steven Levithan's excellent dateFormat() function.",
"version": "2.2.0",
"license": "MIT",
"main": "lib/dateformat",
"devDependencies": {
"mocha": "2.0.1",
"underscore": "1.7.0"
"underscore": "1.7.0",
"mocha": "2.0.1"
},
"engines": {
"node": "*"
},
"homepage": "https://github.com/felixge/node-dateformat",
"license": "MIT",
"main": "lib/dateformat",
"maintainers": "Felix Geisendörfer <felix@debuggable.com>",
"name": "dateformat",
"repository": {
"type": "git",
"url": "git+https://github.com/felixge/node-dateformat.git"
},
"scripts": {
"test": "mocha"
},
"version": "2.2.0"
"repository": {
"type": "git",
"url": "https://github.com/felixge/node-dateformat.git"
}
}

+ 48
- 78
node_modules/dayjs/package.json View File

@ -1,36 +1,55 @@
{
"_from": "dayjs@^1.11.12",
"_id": "dayjs@1.11.13",
"_inBundle": false,
"_integrity": "sha512-oaMBel6gjolK862uaPQOVTA7q3TZhuSvuMQAAglQDOWYO9A91IrAOUJEyKVlqJlHE0vq5p5UXxzdPfMH/x6xNg==",
"_location": "/dayjs",
"_phantomChildren": {},
"_requested": {
"type": "range",
"registry": true,
"raw": "dayjs@^1.11.12",
"name": "dayjs",
"escapedName": "dayjs",
"rawSpec": "^1.11.12",
"saveSpec": null,
"fetchSpec": "^1.11.12"
"name": "dayjs",
"version": "1.11.13",
"description": "2KB immutable date time library alternative to Moment.js with the same modern API ",
"main": "dayjs.min.js",
"types": "index.d.ts",
"scripts": {
"test": "TZ=Pacific/Auckland npm run test-tz && TZ=Europe/London npm run test-tz && TZ=America/Whitehorse npm run test-tz && npm run test-tz && jest",
"test-tz": "date && jest test/timezone.test --coverage=false",
"lint": "./node_modules/.bin/eslint src/* test/* build/*",
"prettier": "prettier --write \"docs/**/*.md\"",
"babel": "cross-env BABEL_ENV=build babel src --out-dir esm --copy-files && node build/esm",
"build": "cross-env BABEL_ENV=build node build && npm run size",
"sauce": "npx karma start karma.sauce.conf.js",
"test:sauce": "npm run sauce -- 0 && npm run sauce -- 1 && npm run sauce -- 2 && npm run sauce -- 3",
"size": "size-limit && gzip-size dayjs.min.js"
},
"_requiredBy": [
"/"
"pre-commit": [
"lint"
],
"_resolved": "https://registry.npmmirror.com/dayjs/-/dayjs-1.11.13.tgz",
"_shasum": "92430b0139055c3ebb60150aa13e860a4b5a366c",
"_spec": "dayjs@^1.11.12",
"_where": "E:\\webView\\tenancy-wechat-uniapp",
"author": {
"name": "iamkun"
"size-limit": [
{
"limit": "2.99 KB",
"path": "dayjs.min.js"
}
],
"jest": {
"roots": [
"test"
],
"testRegex": "test/(.*?/)?.*test.js$",
"testURL": "http://localhost",
"coverageDirectory": "./coverage/",
"collectCoverage": true,
"collectCoverageFrom": [
"src/**/*"
]
},
"bugs": {
"url": "https://github.com/iamkun/dayjs/issues"
"keywords": [
"dayjs",
"date",
"time",
"immutable",
"moment"
],
"author": "iamkun",
"license": "MIT",
"homepage": "https://day.js.org",
"repository": {
"type": "git",
"url": "https://github.com/iamkun/dayjs.git"
},
"bundleDependencies": false,
"deprecated": false,
"description": "2KB immutable date time library alternative to Moment.js with the same modern API ",
"devDependencies": {
"@babel/cli": "^7.0.0-beta.44",
"@babel/core": "^7.0.0-beta.44",
@ -61,54 +80,5 @@
"rollup-plugin-terser": "^7.0.2",
"size-limit": "^0.18.0",
"typescript": "^2.8.3"
},
"homepage": "https://day.js.org",
"jest": {
"roots": [
"test"
],
"testRegex": "test/(.*?/)?.*test.js$",
"testURL": "http://localhost",
"coverageDirectory": "./coverage/",
"collectCoverage": true,
"collectCoverageFrom": [
"src/**/*"
]
},
"keywords": [
"dayjs",
"date",
"time",
"immutable",
"moment"
],
"license": "MIT",
"main": "dayjs.min.js",
"name": "dayjs",
"pre-commit": [
"lint"
],
"repository": {
"type": "git",
"url": "git+https://github.com/iamkun/dayjs.git"
},
"scripts": {
"babel": "cross-env BABEL_ENV=build babel src --out-dir esm --copy-files && node build/esm",
"build": "cross-env BABEL_ENV=build node build && npm run size",
"lint": "eslint src/* test/* build/*",
"prettier": "prettier --write \"docs/**/*.md\"",
"sauce": "npx karma start karma.sauce.conf.js",
"size": "size-limit && gzip-size dayjs.min.js",
"test": "TZ=Pacific/Auckland npm run test-tz && TZ=Europe/London npm run test-tz && TZ=America/Whitehorse npm run test-tz && npm run test-tz && jest",
"test-tz": "date && jest test/timezone.test --coverage=false",
"test:sauce": "npm run sauce -- 0 && npm run sauce -- 1 && npm run sauce -- 2 && npm run sauce -- 3"
},
"size-limit": [
{
"limit": "2.99 KB",
"path": "dayjs.min.js"
}
],
"types": "index.d.ts",
"version": "1.11.13"
}
}

+ 36
- 76
node_modules/debug/package.json View File

@ -1,59 +1,38 @@
{
"_from": "debug@^4.3.4",
"_id": "debug@4.3.7",
"_inBundle": false,
"_integrity": "sha512-Er2nc/H7RrMXZBFCEim6TCmMk02Z8vLC2Rbi1KEBggpo0fS6l0S1nnapwmIi3yW/+GOJap1Krg4w0Hg80oCqgQ==",
"_location": "/debug",
"_phantomChildren": {},
"_requested": {
"type": "range",
"registry": true,
"raw": "debug@^4.3.4",
"name": "debug",
"escapedName": "debug",
"rawSpec": "^4.3.4",
"saveSpec": null,
"fetchSpec": "^4.3.4"
"name": "debug",
"version": "4.4.0",
"repository": {
"type": "git",
"url": "git://github.com/debug-js/debug.git"
},
"_requiredBy": [
"/@eslint/eslintrc",
"/@humanwhocodes/config-array",
"/ali-oss",
"/eslint"
"description": "Lightweight debugging utility for Node.js and the browser",
"keywords": [
"debug",
"log",
"debugger"
],
"_resolved": "https://registry.npmmirror.com/debug/-/debug-4.3.7.tgz",
"_shasum": "87945b4151a011d76d95a198d7111c865c360a52",
"_spec": "debug@^4.3.4",
"_where": "E:\\webView\\tenancy-wechat-uniapp\\node_modules\\ali-oss",
"author": {
"name": "Josh Junon",
"url": "https://github.com/qix-"
},
"browser": "./src/browser.js",
"bugs": {
"url": "https://github.com/debug-js/debug/issues"
},
"bundleDependencies": false,
"files": [
"src",
"LICENSE",
"README.md"
],
"author": "Josh Junon (https://github.com/qix-)",
"contributors": [
{
"name": "TJ Holowaychuk",
"email": "tj@vision-media.ca"
},
{
"name": "Nathan Rajlich",
"email": "nathan@tootallnate.net",
"url": "http://n8.io"
},
{
"name": "Andrew Rhyne",
"email": "rhyneandrew@gmail.com"
}
"TJ Holowaychuk <tj@vision-media.ca>",
"Nathan Rajlich <nathan@tootallnate.net> (http://n8.io)",
"Andrew Rhyne <rhyneandrew@gmail.com>"
],
"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.node.js",
"test:browser": "karma start --single-run",
"test:coverage": "cat ./coverage/lcov.info | coveralls"
},
"dependencies": {
"ms": "^2.1.3"
},
"deprecated": false,
"description": "Lightweight debugging utility for Node.js and the browser",
"devDependencies": {
"brfs": "^2.0.1",
"browserify": "^16.2.3",
@ -68,38 +47,19 @@
"sinon": "^14.0.0",
"xo": "^0.23.0"
},
"engines": {
"node": ">=6.0"
},
"files": [
"src",
"LICENSE",
"README.md"
],
"homepage": "https://github.com/debug-js/debug#readme",
"keywords": [
"debug",
"log",
"debugger"
],
"license": "MIT",
"main": "./src/index.js",
"name": "debug",
"peerDependenciesMeta": {
"supports-color": {
"optional": true
}
},
"repository": {
"type": "git",
"url": "git://github.com/debug-js/debug.git"
},
"scripts": {
"lint": "xo",
"test": "npm run test:node && npm run test:browser && npm run lint",
"test:browser": "karma start --single-run",
"test:coverage": "cat ./coverage/lcov.info | coveralls",
"test:node": "istanbul cover _mocha -- test.js test.node.js"
"main": "./src/index.js",
"browser": "./src/browser.js",
"engines": {
"node": ">=6.0"
},
"version": "4.3.7"
"xo": {
"rules": {
"import/extensions": "off"
}
}
}

+ 1
- 0
node_modules/debug/src/browser.js View File

@ -129,6 +129,7 @@ function useColors() {
// Is webkit? http://stackoverflow.com/a/16459606/376773
// document is undefined in react-native: https://github.com/facebook/react-native/pull/1632
// eslint-disable-next-line no-return-assign
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))) ||


+ 57
- 39
node_modules/debug/src/common.js View File

@ -166,24 +166,62 @@ function setup(env) {
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;
const split = (typeof namespaces === 'string' ? namespaces : '')
.trim()
.replace(' ', ',')
.split(',')
.filter(Boolean);
for (const ns of split) {
if (ns[0] === '-') {
createDebug.skips.push(ns.slice(1));
} else {
createDebug.names.push(ns);
}
}
}
namespaces = split[i].replace(/\*/g, '.*?');
if (namespaces[0] === '-') {
createDebug.skips.push(new RegExp('^' + namespaces.slice(1) + '$'));
/**
* Checks if the given string matches a namespace template, honoring
* asterisks as wildcards.
*
* @param {String} search
* @param {String} template
* @return {Boolean}
*/
function matchesTemplate(search, template) {
let searchIndex = 0;
let templateIndex = 0;
let starIndex = -1;
let matchIndex = 0;
while (searchIndex < search.length) {
if (templateIndex < template.length && (template[templateIndex] === search[searchIndex] || template[templateIndex] === '*')) {
// Match character or proceed with wildcard
if (template[templateIndex] === '*') {
starIndex = templateIndex;
matchIndex = searchIndex;
templateIndex++; // Skip the '*'
} else {
searchIndex++;
templateIndex++;
}
} else if (starIndex !== -1) { // eslint-disable-line no-negated-condition
// Backtrack to the last '*' and try to match more characters
templateIndex = starIndex + 1;
matchIndex++;
searchIndex = matchIndex;
} else {
createDebug.names.push(new RegExp('^' + namespaces + '$'));
return false; // No match
}
}
// Handle trailing '*' in template
while (templateIndex < template.length && template[templateIndex] === '*') {
templateIndex++;
}
return templateIndex === template.length;
}
/**
@ -194,8 +232,8 @@ function setup(env) {
*/
function disable() {
const namespaces = [
...createDebug.names.map(toNamespace),
...createDebug.skips.map(toNamespace).map(namespace => '-' + namespace)
...createDebug.names,
...createDebug.skips.map(namespace => '-' + namespace)
].join(',');
createDebug.enable('');
return namespaces;
@ -209,21 +247,14 @@ function setup(env) {
* @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)) {
for (const skip of createDebug.skips) {
if (matchesTemplate(name, skip)) {
return false;
}
}
for (i = 0, len = createDebug.names.length; i < len; i++) {
if (createDebug.names[i].test(name)) {
for (const ns of createDebug.names) {
if (matchesTemplate(name, ns)) {
return true;
}
}
@ -231,19 +262,6 @@ function setup(env) {
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`.
*


Some files were not shown because too many files changed in this diff

Loading…
Cancel
Save