blockmine 1.0.1 → 1.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/backend/cli.js +1 -1
- package/backend/package.json +13 -0
- package/backend/src/core/PluginManager.js +59 -44
- package/backend/src/server.js +6 -4
- package/frontend/dist/assets/{index-Dh-PcVh1.js → index-DjU4Tk7J.js} +226 -226
- package/frontend/dist/index.html +1 -1
- package/frontend/dist/monacoeditorwork/css.worker.bundle.js +77 -77
- package/frontend/dist/monacoeditorwork/editor.worker.bundle.js +76 -76
- package/frontend/dist/monacoeditorwork/html.worker.bundle.js +77 -77
- package/frontend/dist/monacoeditorwork/json.worker.bundle.js +77 -77
- package/frontend/dist/monacoeditorwork/ts.worker.bundle.js +77 -77
- package/frontend/package.json +65 -0
- package/image/1.png +0 -0
- package/image/2.png +0 -0
- package/image/3.png +0 -0
- package/image/logo.png +0 -0
- package/package.json +7 -20
- package/tailwind.config.js +0 -0
- package/vite.config.js +0 -0
- package/backend/.env +0 -7
- package/backend/node_modules/.bin/blockminejs +0 -16
- package/backend/node_modules/.bin/blockminejs.cmd +0 -17
- package/backend/node_modules/.bin/blockminejs.ps1 +0 -28
- package/backend/node_modules/.bin/nodemon +0 -16
- package/backend/node_modules/.bin/nodemon.cmd +0 -17
- package/backend/node_modules/.bin/nodemon.ps1 +0 -28
- package/backend/node_modules/.bin/nodetouch +0 -16
- package/backend/node_modules/.bin/nodetouch.cmd +0 -17
- package/backend/node_modules/.bin/nodetouch.ps1 +0 -28
- package/backend/node_modules/.bin/prisma +0 -16
- package/backend/node_modules/.bin/prisma.cmd +0 -17
- package/backend/node_modules/.bin/prisma.ps1 +0 -28
- package/backend/node_modules/.cache/prisma/master/605197351a3c8bdd595af2d2a9bc3025bca48ea2/windows/libquery-engine +0 -0
- package/backend/node_modules/.cache/prisma/master/605197351a3c8bdd595af2d2a9bc3025bca48ea2/windows/libquery-engine.gz.sha256 +0 -1
- package/backend/node_modules/.cache/prisma/master/605197351a3c8bdd595af2d2a9bc3025bca48ea2/windows/libquery-engine.sha256 +0 -1
- package/backend/node_modules/.cache/prisma/master/605197351a3c8bdd595af2d2a9bc3025bca48ea2/windows/schema-engine +0 -0
- package/backend/node_modules/.cache/prisma/master/605197351a3c8bdd595af2d2a9bc3025bca48ea2/windows/schema-engine.gz.sha256 +0 -1
- package/backend/node_modules/.cache/prisma/master/605197351a3c8bdd595af2d2a9bc3025bca48ea2/windows/schema-engine.sha256 +0 -1
- package/backend/node_modules/.cache/prisma/master/81e4af48011447c3cc503a190e86995b66d2a28e/windows/libquery-engine +0 -0
- package/backend/node_modules/.cache/prisma/master/81e4af48011447c3cc503a190e86995b66d2a28e/windows/libquery-engine.gz.sha256 +0 -1
- package/backend/node_modules/.cache/prisma/master/81e4af48011447c3cc503a190e86995b66d2a28e/windows/libquery-engine.sha256 +0 -1
- package/backend/node_modules/.cache/prisma/master/81e4af48011447c3cc503a190e86995b66d2a28e/windows/schema-engine +0 -0
- package/backend/node_modules/.cache/prisma/master/81e4af48011447c3cc503a190e86995b66d2a28e/windows/schema-engine.gz.sha256 +0 -1
- package/backend/node_modules/.cache/prisma/master/81e4af48011447c3cc503a190e86995b66d2a28e/windows/schema-engine.sha256 +0 -1
- package/backend/node_modules/.package-lock.json +0 -2521
- package/backend/node_modules/.prisma/client/client.d.ts +0 -1
- package/backend/node_modules/.prisma/client/client.js +0 -4
- package/backend/node_modules/.prisma/client/default.d.ts +0 -1
- package/backend/node_modules/.prisma/client/default.js +0 -1
- package/backend/node_modules/.prisma/client/deno/edge.d.ts +0 -9
- package/backend/node_modules/.prisma/client/edge.d.ts +0 -1
- package/backend/node_modules/.prisma/client/edge.js +0 -263
- package/backend/node_modules/.prisma/client/index-browser.js +0 -258
- package/backend/node_modules/.prisma/client/index.d.ts +0 -15548
- package/backend/node_modules/.prisma/client/index.js +0 -286
- package/backend/node_modules/.prisma/client/package.json +0 -97
- package/backend/node_modules/.prisma/client/query_engine-windows.dll.node +0 -0
- package/backend/node_modules/.prisma/client/query_engine-windows.dll.node.tmp14264 +0 -0
- package/backend/node_modules/.prisma/client/query_engine-windows.dll.node.tmp18496 +0 -0
- package/backend/node_modules/.prisma/client/query_engine-windows.dll.node.tmp24408 +0 -0
- package/backend/node_modules/.prisma/client/schema.prisma +0 -136
- package/backend/node_modules/.prisma/client/wasm.d.ts +0 -1
- package/backend/node_modules/.prisma/client/wasm.js +0 -258
- package/backend/node_modules/@prisma/debug/LICENSE +0 -201
- package/backend/node_modules/@prisma/debug/README.md +0 -29
- package/backend/node_modules/@prisma/debug/dist/index.d.ts +0 -35
- package/backend/node_modules/@prisma/debug/dist/index.js +0 -236
- package/backend/node_modules/@prisma/debug/dist/util.d.ts +0 -2
- package/backend/node_modules/@prisma/debug/dist/util.js +0 -74
- package/backend/node_modules/@prisma/debug/package.json +0 -37
- package/backend/node_modules/@prisma/engines/LICENSE +0 -201
- package/backend/node_modules/@prisma/engines/README.md +0 -13
- package/backend/node_modules/@prisma/engines/dist/index.d.ts +0 -18
- package/backend/node_modules/@prisma/engines/dist/index.js +0 -113
- package/backend/node_modules/@prisma/engines/dist/scripts/localinstall.d.ts +0 -1
- package/backend/node_modules/@prisma/engines/dist/scripts/localinstall.js +0 -2048
- package/backend/node_modules/@prisma/engines/dist/scripts/postinstall.d.ts +0 -1
- package/backend/node_modules/@prisma/engines/dist/scripts/postinstall.js +0 -128
- package/backend/node_modules/@prisma/engines/node_modules/.cache/prisma/master/605197351a3c8bdd595af2d2a9bc3025bca48ea2/windows/libquery-engine +0 -0
- package/backend/node_modules/@prisma/engines/node_modules/.cache/prisma/master/605197351a3c8bdd595af2d2a9bc3025bca48ea2/windows/libquery-engine.gz.sha256 +0 -1
- package/backend/node_modules/@prisma/engines/node_modules/.cache/prisma/master/605197351a3c8bdd595af2d2a9bc3025bca48ea2/windows/libquery-engine.sha256 +0 -1
- package/backend/node_modules/@prisma/engines/node_modules/.cache/prisma/master/605197351a3c8bdd595af2d2a9bc3025bca48ea2/windows/schema-engine +0 -0
- package/backend/node_modules/@prisma/engines/node_modules/.cache/prisma/master/605197351a3c8bdd595af2d2a9bc3025bca48ea2/windows/schema-engine.gz.sha256 +0 -1
- package/backend/node_modules/@prisma/engines/node_modules/.cache/prisma/master/605197351a3c8bdd595af2d2a9bc3025bca48ea2/windows/schema-engine.sha256 +0 -1
- package/backend/node_modules/@prisma/engines/package.json +0 -41
- package/backend/node_modules/@prisma/engines/query_engine-windows.dll.node +0 -0
- package/backend/node_modules/@prisma/engines/schema-engine-windows.exe +0 -0
- package/backend/node_modules/@prisma/engines/scripts/postinstall.js +0 -28
- package/backend/node_modules/@prisma/engines-version/LICENSE +0 -201
- package/backend/node_modules/@prisma/engines-version/README.md +0 -8
- package/backend/node_modules/@prisma/engines-version/index.d.ts +0 -1
- package/backend/node_modules/@prisma/engines-version/index.js +0 -5
- package/backend/node_modules/@prisma/engines-version/package.json +0 -27
- package/backend/node_modules/@prisma/fetch-engine/LICENSE +0 -201
- package/backend/node_modules/@prisma/fetch-engine/README.md +0 -8
- package/backend/node_modules/@prisma/fetch-engine/dist/BinaryType.d.ts +0 -5
- package/backend/node_modules/@prisma/fetch-engine/dist/BinaryType.js +0 -25
- package/backend/node_modules/@prisma/fetch-engine/dist/chmodPlusX.d.ts +0 -1
- package/backend/node_modules/@prisma/fetch-engine/dist/chmodPlusX.js +0 -25
- package/backend/node_modules/@prisma/fetch-engine/dist/chunk-2BCLJS3M.js +0 -2385
- package/backend/node_modules/@prisma/fetch-engine/dist/chunk-4LX3XBNY.js +0 -161
- package/backend/node_modules/@prisma/fetch-engine/dist/chunk-AH6QHEOA.js +0 -66
- package/backend/node_modules/@prisma/fetch-engine/dist/chunk-CWGQAQ3T.js +0 -49
- package/backend/node_modules/@prisma/fetch-engine/dist/chunk-FQ2BOR66.js +0 -2457
- package/backend/node_modules/@prisma/fetch-engine/dist/chunk-KDPLGCY6.js +0 -1404
- package/backend/node_modules/@prisma/fetch-engine/dist/chunk-KJ74H3SQ.js +0 -2385
- package/backend/node_modules/@prisma/fetch-engine/dist/chunk-MX3HXAU2.js +0 -44
- package/backend/node_modules/@prisma/fetch-engine/dist/chunk-PXQVM7NP.js +0 -159
- package/backend/node_modules/@prisma/fetch-engine/dist/chunk-QLWYUM7O.js +0 -8153
- package/backend/node_modules/@prisma/fetch-engine/dist/chunk-QSTZGX47.js +0 -70
- package/backend/node_modules/@prisma/fetch-engine/dist/chunk-RGVHWUUH.js +0 -2786
- package/backend/node_modules/@prisma/fetch-engine/dist/chunk-VTJS2JJN.js +0 -4232
- package/backend/node_modules/@prisma/fetch-engine/dist/chunk-X37PZICB.js +0 -29
- package/backend/node_modules/@prisma/fetch-engine/dist/cleanupCache.d.ts +0 -1
- package/backend/node_modules/@prisma/fetch-engine/dist/cleanupCache.js +0 -28
- package/backend/node_modules/@prisma/fetch-engine/dist/download.d.ts +0 -27
- package/backend/node_modules/@prisma/fetch-engine/dist/download.js +0 -41
- package/backend/node_modules/@prisma/fetch-engine/dist/downloadZip.d.ts +0 -6
- package/backend/node_modules/@prisma/fetch-engine/dist/downloadZip.js +0 -30
- package/backend/node_modules/@prisma/fetch-engine/dist/env.d.ts +0 -14
- package/backend/node_modules/@prisma/fetch-engine/dist/env.js +0 -29
- package/backend/node_modules/@prisma/fetch-engine/dist/getHash.d.ts +0 -1
- package/backend/node_modules/@prisma/fetch-engine/dist/getHash.js +0 -25
- package/backend/node_modules/@prisma/fetch-engine/dist/getProxyAgent.d.ts +0 -3
- package/backend/node_modules/@prisma/fetch-engine/dist/getProxyAgent.js +0 -25
- package/backend/node_modules/@prisma/fetch-engine/dist/index.d.ts +0 -5
- package/backend/node_modules/@prisma/fetch-engine/dist/index.js +0 -49
- package/backend/node_modules/@prisma/fetch-engine/dist/log.d.ts +0 -2
- package/backend/node_modules/@prisma/fetch-engine/dist/log.js +0 -25
- package/backend/node_modules/@prisma/fetch-engine/dist/multipart-parser-47FFAP42.js +0 -371
- package/backend/node_modules/@prisma/fetch-engine/dist/utils.d.ts +0 -11
- package/backend/node_modules/@prisma/fetch-engine/dist/utils.js +0 -29
- package/backend/node_modules/@prisma/fetch-engine/package.json +0 -59
- package/backend/node_modules/@prisma/get-platform/LICENSE +0 -201
- package/backend/node_modules/@prisma/get-platform/README.md +0 -16
- package/backend/node_modules/@prisma/get-platform/dist/assertNodeAPISupported.d.ts +0 -4
- package/backend/node_modules/@prisma/get-platform/dist/assertNodeAPISupported.js +0 -25
- package/backend/node_modules/@prisma/get-platform/dist/binaryTargets.d.ts +0 -2
- package/backend/node_modules/@prisma/get-platform/dist/binaryTargets.js +0 -26
- package/backend/node_modules/@prisma/get-platform/dist/chunk-2ESYSVXG.js +0 -67
- package/backend/node_modules/@prisma/get-platform/dist/chunk-2U36ISZO.js +0 -34
- package/backend/node_modules/@prisma/get-platform/dist/chunk-6HZWON4S.js +0 -1
- package/backend/node_modules/@prisma/get-platform/dist/chunk-7MLUNQIZ.js +0 -62
- package/backend/node_modules/@prisma/get-platform/dist/chunk-B23KD6U3.js +0 -53
- package/backend/node_modules/@prisma/get-platform/dist/chunk-D7S5FGQN.js +0 -367
- package/backend/node_modules/@prisma/get-platform/dist/chunk-FWMN4WME.js +0 -41
- package/backend/node_modules/@prisma/get-platform/dist/chunk-M5NKJZ76.js +0 -14956
- package/backend/node_modules/@prisma/get-platform/dist/chunk-O5EOXX3N.js +0 -43
- package/backend/node_modules/@prisma/get-platform/dist/chunk-YDM7ULQH.js +0 -580
- package/backend/node_modules/@prisma/get-platform/dist/chunk-YVXCXD3A.js +0 -70
- package/backend/node_modules/@prisma/get-platform/dist/getNodeAPIName.d.ts +0 -8
- package/backend/node_modules/@prisma/get-platform/dist/getNodeAPIName.js +0 -25
- package/backend/node_modules/@prisma/get-platform/dist/getPlatform.d.ts +0 -105
- package/backend/node_modules/@prisma/get-platform/dist/getPlatform.js +0 -38
- package/backend/node_modules/@prisma/get-platform/dist/index.d.ts +0 -7
- package/backend/node_modules/@prisma/get-platform/dist/index.js +0 -43
- package/backend/node_modules/@prisma/get-platform/dist/link.d.ts +0 -1
- package/backend/node_modules/@prisma/get-platform/dist/link.js +0 -26
- package/backend/node_modules/@prisma/get-platform/dist/logger.d.ts +0 -8
- package/backend/node_modules/@prisma/get-platform/dist/logger.js +0 -29
- package/backend/node_modules/@prisma/get-platform/dist/test-utils/binaryTargetRegex.d.ts +0 -8
- package/backend/node_modules/@prisma/get-platform/dist/test-utils/binaryTargetRegex.js +0 -27
- package/backend/node_modules/@prisma/get-platform/dist/test-utils/index.d.ts +0 -1
- package/backend/node_modules/@prisma/get-platform/dist/test-utils/index.js +0 -28
- package/backend/node_modules/@prisma/get-platform/dist/test-utils/jestContext.d.ts +0 -108
- package/backend/node_modules/@prisma/get-platform/dist/test-utils/jestContext.js +0 -27
- package/backend/node_modules/@prisma/get-platform/dist/test-utils/jestSnapshotSerializer.js +0 -205
- package/backend/node_modules/@prisma/get-platform/package.json +0 -49
- package/backend/node_modules/anymatch/LICENSE +0 -15
- package/backend/node_modules/anymatch/README.md +0 -87
- package/backend/node_modules/anymatch/index.d.ts +0 -20
- package/backend/node_modules/anymatch/index.js +0 -104
- package/backend/node_modules/anymatch/package.json +0 -48
- package/backend/node_modules/binary-extensions/binary-extensions.json +0 -263
- package/backend/node_modules/binary-extensions/binary-extensions.json.d.ts +0 -3
- package/backend/node_modules/binary-extensions/index.d.ts +0 -14
- package/backend/node_modules/binary-extensions/index.js +0 -1
- package/backend/node_modules/binary-extensions/license +0 -10
- package/backend/node_modules/binary-extensions/package.json +0 -40
- package/backend/node_modules/binary-extensions/readme.md +0 -25
- package/backend/node_modules/brace-expansion/LICENSE +0 -21
- package/backend/node_modules/brace-expansion/README.md +0 -129
- package/backend/node_modules/brace-expansion/index.js +0 -201
- package/backend/node_modules/brace-expansion/package.json +0 -47
- package/backend/node_modules/braces/LICENSE +0 -21
- package/backend/node_modules/braces/README.md +0 -586
- package/backend/node_modules/braces/index.js +0 -170
- package/backend/node_modules/braces/lib/compile.js +0 -60
- package/backend/node_modules/braces/lib/constants.js +0 -57
- package/backend/node_modules/braces/lib/expand.js +0 -113
- package/backend/node_modules/braces/lib/parse.js +0 -331
- package/backend/node_modules/braces/lib/stringify.js +0 -32
- package/backend/node_modules/braces/lib/utils.js +0 -122
- package/backend/node_modules/braces/package.json +0 -77
- package/backend/node_modules/chokidar/LICENSE +0 -21
- package/backend/node_modules/chokidar/README.md +0 -308
- package/backend/node_modules/chokidar/index.js +0 -973
- package/backend/node_modules/chokidar/lib/constants.js +0 -66
- package/backend/node_modules/chokidar/lib/fsevents-handler.js +0 -526
- package/backend/node_modules/chokidar/lib/nodefs-handler.js +0 -654
- package/backend/node_modules/chokidar/package.json +0 -70
- package/backend/node_modules/chokidar/types/index.d.ts +0 -192
- package/backend/node_modules/concat-map/.travis.yml +0 -4
- package/backend/node_modules/concat-map/LICENSE +0 -18
- package/backend/node_modules/concat-map/README.markdown +0 -62
- package/backend/node_modules/concat-map/example/map.js +0 -6
- package/backend/node_modules/concat-map/index.js +0 -13
- package/backend/node_modules/concat-map/package.json +0 -43
- package/backend/node_modules/concat-map/test/map.js +0 -39
- package/backend/node_modules/debug/LICENSE +0 -20
- package/backend/node_modules/debug/README.md +0 -481
- package/backend/node_modules/debug/package.json +0 -64
- package/backend/node_modules/debug/src/browser.js +0 -272
- package/backend/node_modules/debug/src/common.js +0 -292
- package/backend/node_modules/debug/src/index.js +0 -10
- package/backend/node_modules/debug/src/node.js +0 -263
- package/backend/node_modules/fill-range/LICENSE +0 -21
- package/backend/node_modules/fill-range/README.md +0 -237
- package/backend/node_modules/fill-range/index.js +0 -248
- package/backend/node_modules/fill-range/package.json +0 -74
- package/backend/node_modules/glob-parent/CHANGELOG.md +0 -110
- package/backend/node_modules/glob-parent/LICENSE +0 -15
- package/backend/node_modules/glob-parent/README.md +0 -137
- package/backend/node_modules/glob-parent/index.js +0 -42
- package/backend/node_modules/glob-parent/package.json +0 -48
- package/backend/node_modules/has-flag/index.js +0 -8
- package/backend/node_modules/has-flag/license +0 -9
- package/backend/node_modules/has-flag/package.json +0 -44
- package/backend/node_modules/has-flag/readme.md +0 -70
- package/backend/node_modules/ignore-by-default/LICENSE +0 -14
- package/backend/node_modules/ignore-by-default/README.md +0 -26
- package/backend/node_modules/ignore-by-default/index.js +0 -12
- package/backend/node_modules/ignore-by-default/package.json +0 -34
- package/backend/node_modules/is-binary-path/index.d.ts +0 -17
- package/backend/node_modules/is-binary-path/index.js +0 -7
- package/backend/node_modules/is-binary-path/license +0 -9
- package/backend/node_modules/is-binary-path/package.json +0 -40
- package/backend/node_modules/is-binary-path/readme.md +0 -34
- package/backend/node_modules/is-extglob/LICENSE +0 -21
- package/backend/node_modules/is-extglob/README.md +0 -107
- package/backend/node_modules/is-extglob/index.js +0 -20
- package/backend/node_modules/is-extglob/package.json +0 -69
- package/backend/node_modules/is-glob/LICENSE +0 -21
- package/backend/node_modules/is-glob/README.md +0 -206
- package/backend/node_modules/is-glob/index.js +0 -150
- package/backend/node_modules/is-glob/package.json +0 -81
- package/backend/node_modules/is-number/LICENSE +0 -21
- package/backend/node_modules/is-number/README.md +0 -187
- package/backend/node_modules/is-number/index.js +0 -18
- package/backend/node_modules/is-number/package.json +0 -82
- package/backend/node_modules/minimatch/LICENSE +0 -15
- package/backend/node_modules/minimatch/README.md +0 -230
- package/backend/node_modules/minimatch/minimatch.js +0 -947
- package/backend/node_modules/minimatch/package.json +0 -33
- package/backend/node_modules/ms/index.js +0 -162
- package/backend/node_modules/ms/license.md +0 -21
- package/backend/node_modules/ms/package.json +0 -38
- package/backend/node_modules/ms/readme.md +0 -59
- package/backend/node_modules/nodemon/.prettierrc.json +0 -3
- package/backend/node_modules/nodemon/LICENSE +0 -21
- package/backend/node_modules/nodemon/README.md +0 -441
- package/backend/node_modules/nodemon/bin/nodemon.js +0 -16
- package/backend/node_modules/nodemon/bin/windows-kill.exe +0 -0
- package/backend/node_modules/nodemon/doc/cli/authors.txt +0 -8
- package/backend/node_modules/nodemon/doc/cli/config.txt +0 -44
- package/backend/node_modules/nodemon/doc/cli/help.txt +0 -29
- package/backend/node_modules/nodemon/doc/cli/logo.txt +0 -20
- package/backend/node_modules/nodemon/doc/cli/options.txt +0 -36
- package/backend/node_modules/nodemon/doc/cli/topics.txt +0 -8
- package/backend/node_modules/nodemon/doc/cli/usage.txt +0 -3
- package/backend/node_modules/nodemon/doc/cli/whoami.txt +0 -9
- package/backend/node_modules/nodemon/index.d.ts +0 -125
- package/backend/node_modules/nodemon/jsconfig.json +0 -7
- package/backend/node_modules/nodemon/lib/cli/index.js +0 -49
- package/backend/node_modules/nodemon/lib/cli/parse.js +0 -230
- package/backend/node_modules/nodemon/lib/config/command.js +0 -43
- package/backend/node_modules/nodemon/lib/config/defaults.js +0 -34
- package/backend/node_modules/nodemon/lib/config/exec.js +0 -234
- package/backend/node_modules/nodemon/lib/config/index.js +0 -93
- package/backend/node_modules/nodemon/lib/config/load.js +0 -225
- package/backend/node_modules/nodemon/lib/help/index.js +0 -27
- package/backend/node_modules/nodemon/lib/index.js +0 -1
- package/backend/node_modules/nodemon/lib/monitor/index.js +0 -4
- package/backend/node_modules/nodemon/lib/monitor/match.js +0 -287
- package/backend/node_modules/nodemon/lib/monitor/run.js +0 -562
- package/backend/node_modules/nodemon/lib/monitor/signals.js +0 -34
- package/backend/node_modules/nodemon/lib/monitor/watch.js +0 -244
- package/backend/node_modules/nodemon/lib/nodemon.js +0 -317
- package/backend/node_modules/nodemon/lib/rules/add.js +0 -89
- package/backend/node_modules/nodemon/lib/rules/index.js +0 -53
- package/backend/node_modules/nodemon/lib/rules/parse.js +0 -43
- package/backend/node_modules/nodemon/lib/spawn.js +0 -74
- package/backend/node_modules/nodemon/lib/utils/bus.js +0 -44
- package/backend/node_modules/nodemon/lib/utils/clone.js +0 -40
- package/backend/node_modules/nodemon/lib/utils/colour.js +0 -26
- package/backend/node_modules/nodemon/lib/utils/index.js +0 -103
- package/backend/node_modules/nodemon/lib/utils/log.js +0 -82
- package/backend/node_modules/nodemon/lib/utils/merge.js +0 -47
- package/backend/node_modules/nodemon/lib/version.js +0 -100
- package/backend/node_modules/nodemon/package.json +0 -75
- package/backend/node_modules/picomatch/CHANGELOG.md +0 -136
- package/backend/node_modules/picomatch/LICENSE +0 -21
- package/backend/node_modules/picomatch/README.md +0 -708
- package/backend/node_modules/picomatch/index.js +0 -3
- package/backend/node_modules/picomatch/lib/constants.js +0 -179
- package/backend/node_modules/picomatch/lib/parse.js +0 -1091
- package/backend/node_modules/picomatch/lib/picomatch.js +0 -342
- package/backend/node_modules/picomatch/lib/scan.js +0 -391
- package/backend/node_modules/picomatch/lib/utils.js +0 -64
- package/backend/node_modules/picomatch/package.json +0 -81
- package/backend/node_modules/prisma/LICENSE +0 -201
- package/backend/node_modules/prisma/README.md +0 -84
- package/backend/node_modules/prisma/build/child.js +0 -82915
- package/backend/node_modules/prisma/build/index.js +0 -2591
- package/backend/node_modules/prisma/build/prisma_schema_build_bg.wasm +0 -0
- package/backend/node_modules/prisma/build/public/assets/alert.60ea9f84.svg +0 -5
- package/backend/node_modules/prisma/build/public/assets/array.1a36c222.svg +0 -4
- package/backend/node_modules/prisma/build/public/assets/boolean.9188b434.svg +0 -4
- package/backend/node_modules/prisma/build/public/assets/chevron-down.24f76e3c.svg +0 -3
- package/backend/node_modules/prisma/build/public/assets/cross.c2610cf5.svg +0 -11
- package/backend/node_modules/prisma/build/public/assets/datetime.a3bf710a.svg +0 -4
- package/backend/node_modules/prisma/build/public/assets/download.8d34b65a.svg +0 -4
- package/backend/node_modules/prisma/build/public/assets/ellipsis.a8c5a34a.svg +0 -10
- package/backend/node_modules/prisma/build/public/assets/enum.7ec0b64c.svg +0 -6
- package/backend/node_modules/prisma/build/public/assets/folder.d77b8eaf.svg +0 -6
- package/backend/node_modules/prisma/build/public/assets/hamburger.5fdadeac.svg +0 -4
- package/backend/node_modules/prisma/build/public/assets/index.js +0 -1
- package/backend/node_modules/prisma/build/public/assets/inter-all-400-normal.4c1f8a0d.woff +0 -0
- package/backend/node_modules/prisma/build/public/assets/inter-all-600-normal.d0a7c8a9.woff +0 -0
- package/backend/node_modules/prisma/build/public/assets/inter-cyrillic-400-normal.ac97a49e.woff2 +0 -0
- package/backend/node_modules/prisma/build/public/assets/inter-cyrillic-600-normal.2c917f10.woff2 +0 -0
- package/backend/node_modules/prisma/build/public/assets/inter-cyrillic-ext-400-normal.f21a6a97.woff2 +0 -0
- package/backend/node_modules/prisma/build/public/assets/inter-cyrillic-ext-600-normal.bb31f197.woff2 +0 -0
- package/backend/node_modules/prisma/build/public/assets/inter-greek-400-normal.e9163df8.woff2 +0 -0
- package/backend/node_modules/prisma/build/public/assets/inter-greek-600-normal.e644d70f.woff2 +0 -0
- package/backend/node_modules/prisma/build/public/assets/inter-greek-ext-400-normal.43addcc8.woff2 +0 -0
- package/backend/node_modules/prisma/build/public/assets/inter-greek-ext-600-normal.7f437016.woff2 +0 -0
- package/backend/node_modules/prisma/build/public/assets/inter-latin-400-normal.27ae72da.woff2 +0 -0
- package/backend/node_modules/prisma/build/public/assets/inter-latin-600-normal.87d718a2.woff2 +0 -0
- package/backend/node_modules/prisma/build/public/assets/inter-latin-ext-400-normal.5b02c69a.woff2 +0 -0
- package/backend/node_modules/prisma/build/public/assets/inter-latin-ext-600-normal.88feb9e4.woff2 +0 -0
- package/backend/node_modules/prisma/build/public/assets/inter-vietnamese-600-normal.8185dacd.woff2 +0 -0
- package/backend/node_modules/prisma/build/public/assets/jetbrains-mono-all-400-normal.f86807b7.woff +0 -0
- package/backend/node_modules/prisma/build/public/assets/jetbrains-mono-cyrillic-400-normal.1ae57fe2.woff2 +0 -0
- package/backend/node_modules/prisma/build/public/assets/jetbrains-mono-latin-400-normal.80a5dc9e.woff2 +0 -0
- package/backend/node_modules/prisma/build/public/assets/jetbrains-mono-latin-ext-400-normal.6315c53c.woff2 +0 -0
- package/backend/node_modules/prisma/build/public/assets/logotype.a960b169.svg +0 -4
- package/backend/node_modules/prisma/build/public/assets/number.85ddf96b.svg +0 -7
- package/backend/node_modules/prisma/build/public/assets/object.0ba944a6.svg +0 -5
- package/backend/node_modules/prisma/build/public/assets/play.8811691e.svg +0 -6
- package/backend/node_modules/prisma/build/public/assets/plus.8fbf7ad3.svg +0 -4
- package/backend/node_modules/prisma/build/public/assets/refresh.d5448ccc.svg +0 -4
- package/backend/node_modules/prisma/build/public/assets/search.2ed766ce.svg +0 -7
- package/backend/node_modules/prisma/build/public/assets/settings.5ad25af2.svg +0 -8
- package/backend/node_modules/prisma/build/public/assets/string.ea615a24.svg +0 -4
- package/backend/node_modules/prisma/build/public/assets/tick-indeterminate.aec8a44d.svg +0 -3
- package/backend/node_modules/prisma/build/public/assets/tick.8cbb6a93.svg +0 -4
- package/backend/node_modules/prisma/build/public/assets/vendor.js +0 -385
- package/backend/node_modules/prisma/build/public/favicon.svg +0 -5
- package/backend/node_modules/prisma/build/public/http/databrowser.js +0 -1
- package/backend/node_modules/prisma/build/public/http/splash.js +0 -1
- package/backend/node_modules/prisma/build/public/icon-1024.png +0 -0
- package/backend/node_modules/prisma/build/public/index.css +0 -1
- package/backend/node_modules/prisma/build/public/pages/http/databrowser.html +0 -21
- package/backend/node_modules/prisma/build/public/pages/http/splash.html +0 -21
- package/backend/node_modules/prisma/build/xdg-open +0 -1066
- package/backend/node_modules/prisma/package.json +0 -136
- package/backend/node_modules/prisma/preinstall/index.js +0 -7
- package/backend/node_modules/prisma/prisma-client/README.md +0 -27
- package/backend/node_modules/prisma/prisma-client/default.d.ts +0 -1
- package/backend/node_modules/prisma/prisma-client/default.js +0 -3
- package/backend/node_modules/prisma/prisma-client/edge.d.ts +0 -1
- package/backend/node_modules/prisma/prisma-client/edge.js +0 -4
- package/backend/node_modules/prisma/prisma-client/extension.d.ts +0 -1
- package/backend/node_modules/prisma/prisma-client/extension.js +0 -4
- package/backend/node_modules/prisma/prisma-client/generator-build/index.js +0 -10351
- package/backend/node_modules/prisma/prisma-client/index-browser.js +0 -3
- package/backend/node_modules/prisma/prisma-client/index.d.ts +0 -1
- package/backend/node_modules/prisma/prisma-client/index.js +0 -4
- package/backend/node_modules/prisma/prisma-client/package.json +0 -281
- package/backend/node_modules/prisma/prisma-client/react-native.d.ts +0 -1
- package/backend/node_modules/prisma/prisma-client/react-native.js +0 -3
- package/backend/node_modules/prisma/prisma-client/runtime/binary.d.ts +0 -1
- package/backend/node_modules/prisma/prisma-client/runtime/binary.js +0 -210
- package/backend/node_modules/prisma/prisma-client/runtime/edge-esm.js +0 -31
- package/backend/node_modules/prisma/prisma-client/runtime/edge.js +0 -31
- package/backend/node_modules/prisma/prisma-client/runtime/index-browser.d.ts +0 -365
- package/backend/node_modules/prisma/prisma-client/runtime/index-browser.js +0 -13
- package/backend/node_modules/prisma/prisma-client/runtime/library.d.ts +0 -3403
- package/backend/node_modules/prisma/prisma-client/runtime/library.js +0 -143
- package/backend/node_modules/prisma/prisma-client/runtime/query_engine_bg.mysql.js +0 -2
- package/backend/node_modules/prisma/prisma-client/runtime/query_engine_bg.postgresql.js +0 -2
- package/backend/node_modules/prisma/prisma-client/runtime/query_engine_bg.sqlite.js +0 -2
- package/backend/node_modules/prisma/prisma-client/runtime/react-native.d.ts +0 -3403
- package/backend/node_modules/prisma/prisma-client/runtime/react-native.js +0 -80
- package/backend/node_modules/prisma/prisma-client/scripts/colors.js +0 -176
- package/backend/node_modules/prisma/prisma-client/scripts/default-deno-edge.ts +0 -9
- package/backend/node_modules/prisma/prisma-client/scripts/default-index.d.ts +0 -110
- package/backend/node_modules/prisma/prisma-client/scripts/default-index.js +0 -65
- package/backend/node_modules/prisma/prisma-client/scripts/postinstall.d.ts +0 -5
- package/backend/node_modules/prisma/prisma-client/scripts/postinstall.js +0 -410
- package/backend/node_modules/prisma/prisma-client/sql.d.ts +0 -1
- package/backend/node_modules/prisma/prisma-client/sql.js +0 -4
- package/backend/node_modules/prisma/prisma-client/sql.mjs +0 -1
- package/backend/node_modules/prisma/query_engine-windows.dll.node +0 -0
- package/backend/node_modules/prisma/scripts/preinstall-entry.js +0 -10
- package/backend/node_modules/pstree.remy/.travis.yml +0 -8
- package/backend/node_modules/pstree.remy/LICENSE +0 -7
- package/backend/node_modules/pstree.remy/README.md +0 -26
- package/backend/node_modules/pstree.remy/lib/index.js +0 -37
- package/backend/node_modules/pstree.remy/lib/tree.js +0 -37
- package/backend/node_modules/pstree.remy/lib/utils.js +0 -53
- package/backend/node_modules/pstree.remy/package.json +0 -33
- package/backend/node_modules/pstree.remy/tests/fixtures/index.js +0 -13
- package/backend/node_modules/pstree.remy/tests/fixtures/out1 +0 -10
- package/backend/node_modules/pstree.remy/tests/fixtures/out2 +0 -29
- package/backend/node_modules/pstree.remy/tests/index.test.js +0 -51
- package/backend/node_modules/readdirp/LICENSE +0 -21
- package/backend/node_modules/readdirp/README.md +0 -122
- package/backend/node_modules/readdirp/index.d.ts +0 -43
- package/backend/node_modules/readdirp/index.js +0 -287
- package/backend/node_modules/readdirp/package.json +0 -122
- package/backend/node_modules/simple-update-notifier/LICENSE +0 -21
- package/backend/node_modules/simple-update-notifier/README.md +0 -82
- package/backend/node_modules/simple-update-notifier/build/index.d.ts +0 -13
- package/backend/node_modules/simple-update-notifier/build/index.js +0 -210
- package/backend/node_modules/simple-update-notifier/package.json +0 -100
- package/backend/node_modules/simple-update-notifier/src/borderedText.ts +0 -12
- package/backend/node_modules/simple-update-notifier/src/cache.spec.ts +0 -17
- package/backend/node_modules/simple-update-notifier/src/cache.ts +0 -44
- package/backend/node_modules/simple-update-notifier/src/getDistVersion.spec.ts +0 -35
- package/backend/node_modules/simple-update-notifier/src/getDistVersion.ts +0 -29
- package/backend/node_modules/simple-update-notifier/src/hasNewVersion.spec.ts +0 -82
- package/backend/node_modules/simple-update-notifier/src/hasNewVersion.ts +0 -40
- package/backend/node_modules/simple-update-notifier/src/index.spec.ts +0 -27
- package/backend/node_modules/simple-update-notifier/src/index.ts +0 -34
- package/backend/node_modules/simple-update-notifier/src/isNpmOrYarn.ts +0 -12
- package/backend/node_modules/simple-update-notifier/src/types.ts +0 -8
- package/backend/node_modules/supports-color/browser.js +0 -5
- package/backend/node_modules/supports-color/index.js +0 -131
- package/backend/node_modules/supports-color/license +0 -9
- package/backend/node_modules/supports-color/package.json +0 -53
- package/backend/node_modules/supports-color/readme.md +0 -66
- package/backend/node_modules/to-regex-range/LICENSE +0 -21
- package/backend/node_modules/to-regex-range/README.md +0 -305
- package/backend/node_modules/to-regex-range/index.js +0 -288
- package/backend/node_modules/to-regex-range/package.json +0 -88
- package/backend/node_modules/touch/LICENSE +0 -15
- package/backend/node_modules/touch/README.md +0 -52
- package/backend/node_modules/touch/bin/nodetouch.js +0 -112
- package/backend/node_modules/touch/index.js +0 -224
- package/backend/node_modules/touch/package.json +0 -25
- package/backend/node_modules/undefsafe/.github/workflows/release.yml +0 -25
- package/backend/node_modules/undefsafe/.jscsrc +0 -13
- package/backend/node_modules/undefsafe/.jshintrc +0 -16
- package/backend/node_modules/undefsafe/.travis.yml +0 -18
- package/backend/node_modules/undefsafe/LICENSE +0 -22
- package/backend/node_modules/undefsafe/README.md +0 -63
- package/backend/node_modules/undefsafe/example.js +0 -14
- package/backend/node_modules/undefsafe/lib/undefsafe.js +0 -125
- package/backend/node_modules/undefsafe/package.json +0 -34
- package/backend/prisma/dev.db +0 -0
- package/backend/storage/plugins/bot_1/anti-tp-keksik/index.js +0 -59
- package/backend/storage/plugins/bot_1/anti-tp-keksik/package.json +0 -23
- package/backend/storage/plugins/bot_1/auth-keksik-servers/index.js +0 -66
- package/backend/storage/plugins/bot_1/auth-keksik-servers/package.json +0 -20
- package/backend/storage/plugins/bot_1/clan-events-keksik/README.md +0 -81
- package/backend/storage/plugins/bot_1/clan-events-keksik/index.js +0 -46
- package/backend/storage/plugins/bot_1/clan-events-keksik/package.json +0 -14
- package/backend/storage/plugins/bot_1/clan-role-manager/README.md +0 -64
- package/backend/storage/plugins/bot_1/clan-role-manager/index.js +0 -98
- package/backend/storage/plugins/bot_1/clan-role-manager/package.json +0 -13
- package/backend/storage/plugins/bot_1/clan-welcome/index.js +0 -32
- package/backend/storage/plugins/bot_1/clan-welcome/package.json +0 -22
- package/backend/storage/plugins/bot_1/parser-keksik/LICENSE.md +0 -12
- package/backend/storage/plugins/bot_1/parser-keksik/README.md +0 -65
- package/backend/storage/plugins/bot_1/parser-keksik/index.js +0 -135
- package/backend/storage/plugins/bot_1/parser-keksik/package.json +0 -40
- package/backend/storage/plugins/bot_1/unlock-auth-keksik/index.js +0 -35
- package/backend/storage/plugins/bot_1/unlock-auth-keksik/package.json +0 -18
- package/backend/storage/plugins/bot_2/parser-keksik/LICENSE.md +0 -12
- package/backend/storage/plugins/bot_2/parser-keksik/README.md +0 -65
- package/backend/storage/plugins/bot_2/parser-keksik/index.js +0 -135
- package/backend/storage/plugins/bot_2/parser-keksik/package.json +0 -40
- package/backend/storage/plugins/bot_3/auth-keksik-servers/index.js +0 -66
- package/backend/storage/plugins/bot_3/auth-keksik-servers/package.json +0 -20
- package/backend/storage/plugins/bot_3/clan-events-keksik/README.md +0 -81
- package/backend/storage/plugins/bot_3/clan-events-keksik/index.js +0 -46
- package/backend/storage/plugins/bot_3/clan-events-keksik/package.json +0 -14
- package/backend/storage/plugins/bot_3/clan-welcome/index.js +0 -32
- package/backend/storage/plugins/bot_3/clan-welcome/package.json +0 -22
- package/backend/storage/plugins/bot_3/parser-keksik/LICENSE.md +0 -12
- package/backend/storage/plugins/bot_3/parser-keksik/README.md +0 -65
- package/backend/storage/plugins/bot_3/parser-keksik/index.js +0 -135
- package/backend/storage/plugins/bot_3/parser-keksik/package.json +0 -40
- package/backend/storage/plugins/bot_4/fly-keksik/index.js +0 -111
- package/backend/storage/plugins/bot_4/fly-keksik/package.json +0 -59
- package/backend/storage/plugins/bot_4/parser-keksik/LICENSE.md +0 -12
- package/backend/storage/plugins/bot_4/parser-keksik/README.md +0 -65
- package/backend/storage/plugins/bot_4/parser-keksik/index.js +0 -135
- package/backend/storage/plugins/bot_4/parser-keksik/package.json +0 -40
- package/backend/storage/plugins/bot_5/auth-keksik-servers/index.js +0 -66
- package/backend/storage/plugins/bot_5/auth-keksik-servers/package.json +0 -20
- package/backend/storage/plugins/bot_5/parser-keksik/LICENSE.md +0 -12
- package/backend/storage/plugins/bot_5/parser-keksik/README.md +0 -65
- package/backend/storage/plugins/bot_5/parser-keksik/index.js +0 -117
- package/backend/storage/plugins/bot_5/parser-keksik/package.json +0 -40
- package/backend/storage/plugins/bot_6/clan-events-keksik/README.md +0 -81
- package/backend/storage/plugins/bot_6/clan-events-keksik/index.js +0 -46
- package/backend/storage/plugins/bot_6/clan-events-keksik/package.json +0 -14
- package/backend/storage/plugins/bot_6/clan-welcome/index.js +0 -32
- package/backend/storage/plugins/bot_6/clan-welcome/package.json +0 -22
- package/backend/storage/plugins/bot_6/parser-keksik/LICENSE.md +0 -12
- package/backend/storage/plugins/bot_6/parser-keksik/README.md +0 -65
- package/backend/storage/plugins/bot_6/parser-keksik/index.js +0 -135
- package/backend/storage/plugins/bot_6/parser-keksik/package.json +0 -40
|
@@ -1,1404 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __create = Object.create;
|
|
3
|
-
var __defProp = Object.defineProperty;
|
|
4
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
-
var __getProtoOf = Object.getPrototypeOf;
|
|
7
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
-
var __export = (target, all) => {
|
|
9
|
-
for (var name in all)
|
|
10
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
11
|
-
};
|
|
12
|
-
var __copyProps = (to, from, except, desc) => {
|
|
13
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
14
|
-
for (let key of __getOwnPropNames(from))
|
|
15
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
16
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
17
|
-
}
|
|
18
|
-
return to;
|
|
19
|
-
};
|
|
20
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
21
|
-
// If the importer is in node compatibility mode or this is not an ESM
|
|
22
|
-
// file that has been converted to a CommonJS file using a Babel-
|
|
23
|
-
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
24
|
-
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
25
|
-
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
26
|
-
mod
|
|
27
|
-
));
|
|
28
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
29
|
-
var chunk_KDPLGCY6_exports = {};
|
|
30
|
-
__export(chunk_KDPLGCY6_exports, {
|
|
31
|
-
getProxyAgent: () => getProxyAgent
|
|
32
|
-
});
|
|
33
|
-
module.exports = __toCommonJS(chunk_KDPLGCY6_exports);
|
|
34
|
-
var import_chunk_AH6QHEOA = require("./chunk-AH6QHEOA.js");
|
|
35
|
-
var import_debug = __toESM(require("@prisma/debug"));
|
|
36
|
-
var import_url = __toESM(require("url"));
|
|
37
|
-
var require_ms = (0, import_chunk_AH6QHEOA.__commonJS)({
|
|
38
|
-
"../../node_modules/.pnpm/ms@2.1.2/node_modules/ms/index.js"(exports, module2) {
|
|
39
|
-
"use strict";
|
|
40
|
-
var s = 1e3;
|
|
41
|
-
var m = s * 60;
|
|
42
|
-
var h = m * 60;
|
|
43
|
-
var d = h * 24;
|
|
44
|
-
var w = d * 7;
|
|
45
|
-
var y = d * 365.25;
|
|
46
|
-
module2.exports = function(val, options) {
|
|
47
|
-
options = options || {};
|
|
48
|
-
var type = typeof val;
|
|
49
|
-
if (type === "string" && val.length > 0) {
|
|
50
|
-
return parse(val);
|
|
51
|
-
} else if (type === "number" && isFinite(val)) {
|
|
52
|
-
return options.long ? fmtLong(val) : fmtShort(val);
|
|
53
|
-
}
|
|
54
|
-
throw new Error(
|
|
55
|
-
"val is not a non-empty string or a valid number. val=" + JSON.stringify(val)
|
|
56
|
-
);
|
|
57
|
-
};
|
|
58
|
-
function parse(str) {
|
|
59
|
-
str = String(str);
|
|
60
|
-
if (str.length > 100) {
|
|
61
|
-
return;
|
|
62
|
-
}
|
|
63
|
-
var match = /^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(
|
|
64
|
-
str
|
|
65
|
-
);
|
|
66
|
-
if (!match) {
|
|
67
|
-
return;
|
|
68
|
-
}
|
|
69
|
-
var n = parseFloat(match[1]);
|
|
70
|
-
var type = (match[2] || "ms").toLowerCase();
|
|
71
|
-
switch (type) {
|
|
72
|
-
case "years":
|
|
73
|
-
case "year":
|
|
74
|
-
case "yrs":
|
|
75
|
-
case "yr":
|
|
76
|
-
case "y":
|
|
77
|
-
return n * y;
|
|
78
|
-
case "weeks":
|
|
79
|
-
case "week":
|
|
80
|
-
case "w":
|
|
81
|
-
return n * w;
|
|
82
|
-
case "days":
|
|
83
|
-
case "day":
|
|
84
|
-
case "d":
|
|
85
|
-
return n * d;
|
|
86
|
-
case "hours":
|
|
87
|
-
case "hour":
|
|
88
|
-
case "hrs":
|
|
89
|
-
case "hr":
|
|
90
|
-
case "h":
|
|
91
|
-
return n * h;
|
|
92
|
-
case "minutes":
|
|
93
|
-
case "minute":
|
|
94
|
-
case "mins":
|
|
95
|
-
case "min":
|
|
96
|
-
case "m":
|
|
97
|
-
return n * m;
|
|
98
|
-
case "seconds":
|
|
99
|
-
case "second":
|
|
100
|
-
case "secs":
|
|
101
|
-
case "sec":
|
|
102
|
-
case "s":
|
|
103
|
-
return n * s;
|
|
104
|
-
case "milliseconds":
|
|
105
|
-
case "millisecond":
|
|
106
|
-
case "msecs":
|
|
107
|
-
case "msec":
|
|
108
|
-
case "ms":
|
|
109
|
-
return n;
|
|
110
|
-
default:
|
|
111
|
-
return void 0;
|
|
112
|
-
}
|
|
113
|
-
}
|
|
114
|
-
function fmtShort(ms) {
|
|
115
|
-
var msAbs = Math.abs(ms);
|
|
116
|
-
if (msAbs >= d) {
|
|
117
|
-
return Math.round(ms / d) + "d";
|
|
118
|
-
}
|
|
119
|
-
if (msAbs >= h) {
|
|
120
|
-
return Math.round(ms / h) + "h";
|
|
121
|
-
}
|
|
122
|
-
if (msAbs >= m) {
|
|
123
|
-
return Math.round(ms / m) + "m";
|
|
124
|
-
}
|
|
125
|
-
if (msAbs >= s) {
|
|
126
|
-
return Math.round(ms / s) + "s";
|
|
127
|
-
}
|
|
128
|
-
return ms + "ms";
|
|
129
|
-
}
|
|
130
|
-
function fmtLong(ms) {
|
|
131
|
-
var msAbs = Math.abs(ms);
|
|
132
|
-
if (msAbs >= d) {
|
|
133
|
-
return plural(ms, msAbs, d, "day");
|
|
134
|
-
}
|
|
135
|
-
if (msAbs >= h) {
|
|
136
|
-
return plural(ms, msAbs, h, "hour");
|
|
137
|
-
}
|
|
138
|
-
if (msAbs >= m) {
|
|
139
|
-
return plural(ms, msAbs, m, "minute");
|
|
140
|
-
}
|
|
141
|
-
if (msAbs >= s) {
|
|
142
|
-
return plural(ms, msAbs, s, "second");
|
|
143
|
-
}
|
|
144
|
-
return ms + " ms";
|
|
145
|
-
}
|
|
146
|
-
function plural(ms, msAbs, n, name) {
|
|
147
|
-
var isPlural = msAbs >= n * 1.5;
|
|
148
|
-
return Math.round(ms / n) + " " + name + (isPlural ? "s" : "");
|
|
149
|
-
}
|
|
150
|
-
}
|
|
151
|
-
});
|
|
152
|
-
var require_common = (0, import_chunk_AH6QHEOA.__commonJS)({
|
|
153
|
-
"../../node_modules/.pnpm/debug@4.3.6/node_modules/debug/src/common.js"(exports, module2) {
|
|
154
|
-
"use strict";
|
|
155
|
-
function setup(env) {
|
|
156
|
-
createDebug.debug = createDebug;
|
|
157
|
-
createDebug.default = createDebug;
|
|
158
|
-
createDebug.coerce = coerce;
|
|
159
|
-
createDebug.disable = disable;
|
|
160
|
-
createDebug.enable = enable;
|
|
161
|
-
createDebug.enabled = enabled;
|
|
162
|
-
createDebug.humanize = require_ms();
|
|
163
|
-
createDebug.destroy = destroy;
|
|
164
|
-
Object.keys(env).forEach((key) => {
|
|
165
|
-
createDebug[key] = env[key];
|
|
166
|
-
});
|
|
167
|
-
createDebug.names = [];
|
|
168
|
-
createDebug.skips = [];
|
|
169
|
-
createDebug.formatters = {};
|
|
170
|
-
function selectColor(namespace) {
|
|
171
|
-
let hash = 0;
|
|
172
|
-
for (let i = 0; i < namespace.length; i++) {
|
|
173
|
-
hash = (hash << 5) - hash + namespace.charCodeAt(i);
|
|
174
|
-
hash |= 0;
|
|
175
|
-
}
|
|
176
|
-
return createDebug.colors[Math.abs(hash) % createDebug.colors.length];
|
|
177
|
-
}
|
|
178
|
-
createDebug.selectColor = selectColor;
|
|
179
|
-
function createDebug(namespace) {
|
|
180
|
-
let prevTime;
|
|
181
|
-
let enableOverride = null;
|
|
182
|
-
let namespacesCache;
|
|
183
|
-
let enabledCache;
|
|
184
|
-
function debug2(...args) {
|
|
185
|
-
if (!debug2.enabled) {
|
|
186
|
-
return;
|
|
187
|
-
}
|
|
188
|
-
const self = debug2;
|
|
189
|
-
const curr = Number(/* @__PURE__ */ new Date());
|
|
190
|
-
const ms = curr - (prevTime || curr);
|
|
191
|
-
self.diff = ms;
|
|
192
|
-
self.prev = prevTime;
|
|
193
|
-
self.curr = curr;
|
|
194
|
-
prevTime = curr;
|
|
195
|
-
args[0] = createDebug.coerce(args[0]);
|
|
196
|
-
if (typeof args[0] !== "string") {
|
|
197
|
-
args.unshift("%O");
|
|
198
|
-
}
|
|
199
|
-
let index = 0;
|
|
200
|
-
args[0] = args[0].replace(/%([a-zA-Z%])/g, (match, format) => {
|
|
201
|
-
if (match === "%%") {
|
|
202
|
-
return "%";
|
|
203
|
-
}
|
|
204
|
-
index++;
|
|
205
|
-
const formatter = createDebug.formatters[format];
|
|
206
|
-
if (typeof formatter === "function") {
|
|
207
|
-
const val = args[index];
|
|
208
|
-
match = formatter.call(self, val);
|
|
209
|
-
args.splice(index, 1);
|
|
210
|
-
index--;
|
|
211
|
-
}
|
|
212
|
-
return match;
|
|
213
|
-
});
|
|
214
|
-
createDebug.formatArgs.call(self, args);
|
|
215
|
-
const logFn = self.log || createDebug.log;
|
|
216
|
-
logFn.apply(self, args);
|
|
217
|
-
}
|
|
218
|
-
debug2.namespace = namespace;
|
|
219
|
-
debug2.useColors = createDebug.useColors();
|
|
220
|
-
debug2.color = createDebug.selectColor(namespace);
|
|
221
|
-
debug2.extend = extend;
|
|
222
|
-
debug2.destroy = createDebug.destroy;
|
|
223
|
-
Object.defineProperty(debug2, "enabled", {
|
|
224
|
-
enumerable: true,
|
|
225
|
-
configurable: false,
|
|
226
|
-
get: () => {
|
|
227
|
-
if (enableOverride !== null) {
|
|
228
|
-
return enableOverride;
|
|
229
|
-
}
|
|
230
|
-
if (namespacesCache !== createDebug.namespaces) {
|
|
231
|
-
namespacesCache = createDebug.namespaces;
|
|
232
|
-
enabledCache = createDebug.enabled(namespace);
|
|
233
|
-
}
|
|
234
|
-
return enabledCache;
|
|
235
|
-
},
|
|
236
|
-
set: (v) => {
|
|
237
|
-
enableOverride = v;
|
|
238
|
-
}
|
|
239
|
-
});
|
|
240
|
-
if (typeof createDebug.init === "function") {
|
|
241
|
-
createDebug.init(debug2);
|
|
242
|
-
}
|
|
243
|
-
return debug2;
|
|
244
|
-
}
|
|
245
|
-
function extend(namespace, delimiter) {
|
|
246
|
-
const newDebug = createDebug(this.namespace + (typeof delimiter === "undefined" ? ":" : delimiter) + namespace);
|
|
247
|
-
newDebug.log = this.log;
|
|
248
|
-
return newDebug;
|
|
249
|
-
}
|
|
250
|
-
function enable(namespaces) {
|
|
251
|
-
createDebug.save(namespaces);
|
|
252
|
-
createDebug.namespaces = namespaces;
|
|
253
|
-
createDebug.names = [];
|
|
254
|
-
createDebug.skips = [];
|
|
255
|
-
let i;
|
|
256
|
-
const split = (typeof namespaces === "string" ? namespaces : "").split(/[\s,]+/);
|
|
257
|
-
const len = split.length;
|
|
258
|
-
for (i = 0; i < len; i++) {
|
|
259
|
-
if (!split[i]) {
|
|
260
|
-
continue;
|
|
261
|
-
}
|
|
262
|
-
namespaces = split[i].replace(/\*/g, ".*?");
|
|
263
|
-
if (namespaces[0] === "-") {
|
|
264
|
-
createDebug.skips.push(new RegExp("^" + namespaces.slice(1) + "$"));
|
|
265
|
-
} else {
|
|
266
|
-
createDebug.names.push(new RegExp("^" + namespaces + "$"));
|
|
267
|
-
}
|
|
268
|
-
}
|
|
269
|
-
}
|
|
270
|
-
function disable() {
|
|
271
|
-
const namespaces = [
|
|
272
|
-
...createDebug.names.map(toNamespace),
|
|
273
|
-
...createDebug.skips.map(toNamespace).map((namespace) => "-" + namespace)
|
|
274
|
-
].join(",");
|
|
275
|
-
createDebug.enable("");
|
|
276
|
-
return namespaces;
|
|
277
|
-
}
|
|
278
|
-
function enabled(name) {
|
|
279
|
-
if (name[name.length - 1] === "*") {
|
|
280
|
-
return true;
|
|
281
|
-
}
|
|
282
|
-
let i;
|
|
283
|
-
let len;
|
|
284
|
-
for (i = 0, len = createDebug.skips.length; i < len; i++) {
|
|
285
|
-
if (createDebug.skips[i].test(name)) {
|
|
286
|
-
return false;
|
|
287
|
-
}
|
|
288
|
-
}
|
|
289
|
-
for (i = 0, len = createDebug.names.length; i < len; i++) {
|
|
290
|
-
if (createDebug.names[i].test(name)) {
|
|
291
|
-
return true;
|
|
292
|
-
}
|
|
293
|
-
}
|
|
294
|
-
return false;
|
|
295
|
-
}
|
|
296
|
-
function toNamespace(regexp) {
|
|
297
|
-
return regexp.toString().substring(2, regexp.toString().length - 2).replace(/\.\*\?$/, "*");
|
|
298
|
-
}
|
|
299
|
-
function coerce(val) {
|
|
300
|
-
if (val instanceof Error) {
|
|
301
|
-
return val.stack || val.message;
|
|
302
|
-
}
|
|
303
|
-
return val;
|
|
304
|
-
}
|
|
305
|
-
function destroy() {
|
|
306
|
-
console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");
|
|
307
|
-
}
|
|
308
|
-
createDebug.enable(createDebug.load());
|
|
309
|
-
return createDebug;
|
|
310
|
-
}
|
|
311
|
-
module2.exports = setup;
|
|
312
|
-
}
|
|
313
|
-
});
|
|
314
|
-
var require_browser = (0, import_chunk_AH6QHEOA.__commonJS)({
|
|
315
|
-
"../../node_modules/.pnpm/debug@4.3.6/node_modules/debug/src/browser.js"(exports, module2) {
|
|
316
|
-
"use strict";
|
|
317
|
-
exports.formatArgs = formatArgs;
|
|
318
|
-
exports.save = save;
|
|
319
|
-
exports.load = load;
|
|
320
|
-
exports.useColors = useColors;
|
|
321
|
-
exports.storage = localstorage();
|
|
322
|
-
exports.destroy = /* @__PURE__ */ (() => {
|
|
323
|
-
let warned = false;
|
|
324
|
-
return () => {
|
|
325
|
-
if (!warned) {
|
|
326
|
-
warned = true;
|
|
327
|
-
console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");
|
|
328
|
-
}
|
|
329
|
-
};
|
|
330
|
-
})();
|
|
331
|
-
exports.colors = [
|
|
332
|
-
"#0000CC",
|
|
333
|
-
"#0000FF",
|
|
334
|
-
"#0033CC",
|
|
335
|
-
"#0033FF",
|
|
336
|
-
"#0066CC",
|
|
337
|
-
"#0066FF",
|
|
338
|
-
"#0099CC",
|
|
339
|
-
"#0099FF",
|
|
340
|
-
"#00CC00",
|
|
341
|
-
"#00CC33",
|
|
342
|
-
"#00CC66",
|
|
343
|
-
"#00CC99",
|
|
344
|
-
"#00CCCC",
|
|
345
|
-
"#00CCFF",
|
|
346
|
-
"#3300CC",
|
|
347
|
-
"#3300FF",
|
|
348
|
-
"#3333CC",
|
|
349
|
-
"#3333FF",
|
|
350
|
-
"#3366CC",
|
|
351
|
-
"#3366FF",
|
|
352
|
-
"#3399CC",
|
|
353
|
-
"#3399FF",
|
|
354
|
-
"#33CC00",
|
|
355
|
-
"#33CC33",
|
|
356
|
-
"#33CC66",
|
|
357
|
-
"#33CC99",
|
|
358
|
-
"#33CCCC",
|
|
359
|
-
"#33CCFF",
|
|
360
|
-
"#6600CC",
|
|
361
|
-
"#6600FF",
|
|
362
|
-
"#6633CC",
|
|
363
|
-
"#6633FF",
|
|
364
|
-
"#66CC00",
|
|
365
|
-
"#66CC33",
|
|
366
|
-
"#9900CC",
|
|
367
|
-
"#9900FF",
|
|
368
|
-
"#9933CC",
|
|
369
|
-
"#9933FF",
|
|
370
|
-
"#99CC00",
|
|
371
|
-
"#99CC33",
|
|
372
|
-
"#CC0000",
|
|
373
|
-
"#CC0033",
|
|
374
|
-
"#CC0066",
|
|
375
|
-
"#CC0099",
|
|
376
|
-
"#CC00CC",
|
|
377
|
-
"#CC00FF",
|
|
378
|
-
"#CC3300",
|
|
379
|
-
"#CC3333",
|
|
380
|
-
"#CC3366",
|
|
381
|
-
"#CC3399",
|
|
382
|
-
"#CC33CC",
|
|
383
|
-
"#CC33FF",
|
|
384
|
-
"#CC6600",
|
|
385
|
-
"#CC6633",
|
|
386
|
-
"#CC9900",
|
|
387
|
-
"#CC9933",
|
|
388
|
-
"#CCCC00",
|
|
389
|
-
"#CCCC33",
|
|
390
|
-
"#FF0000",
|
|
391
|
-
"#FF0033",
|
|
392
|
-
"#FF0066",
|
|
393
|
-
"#FF0099",
|
|
394
|
-
"#FF00CC",
|
|
395
|
-
"#FF00FF",
|
|
396
|
-
"#FF3300",
|
|
397
|
-
"#FF3333",
|
|
398
|
-
"#FF3366",
|
|
399
|
-
"#FF3399",
|
|
400
|
-
"#FF33CC",
|
|
401
|
-
"#FF33FF",
|
|
402
|
-
"#FF6600",
|
|
403
|
-
"#FF6633",
|
|
404
|
-
"#FF9900",
|
|
405
|
-
"#FF9933",
|
|
406
|
-
"#FFCC00",
|
|
407
|
-
"#FFCC33"
|
|
408
|
-
];
|
|
409
|
-
function useColors() {
|
|
410
|
-
if (typeof window !== "undefined" && window.process && (window.process.type === "renderer" || window.process.__nwjs)) {
|
|
411
|
-
return true;
|
|
412
|
-
}
|
|
413
|
-
if (typeof navigator !== "undefined" && navigator.userAgent && navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/)) {
|
|
414
|
-
return false;
|
|
415
|
-
}
|
|
416
|
-
let m;
|
|
417
|
-
return typeof document !== "undefined" && document.documentElement && document.documentElement.style && document.documentElement.style.WebkitAppearance || // Is firebug? http://stackoverflow.com/a/398120/376773
|
|
418
|
-
typeof window !== "undefined" && window.console && (window.console.firebug || window.console.exception && window.console.table) || // Is firefox >= v31?
|
|
419
|
-
// https://developer.mozilla.org/en-US/docs/Tools/Web_Console#Styling_messages
|
|
420
|
-
typeof navigator !== "undefined" && navigator.userAgent && (m = navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)) && parseInt(m[1], 10) >= 31 || // Double check webkit in userAgent just in case we are in a worker
|
|
421
|
-
typeof navigator !== "undefined" && navigator.userAgent && navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/);
|
|
422
|
-
}
|
|
423
|
-
function formatArgs(args) {
|
|
424
|
-
args[0] = (this.useColors ? "%c" : "") + this.namespace + (this.useColors ? " %c" : " ") + args[0] + (this.useColors ? "%c " : " ") + "+" + module2.exports.humanize(this.diff);
|
|
425
|
-
if (!this.useColors) {
|
|
426
|
-
return;
|
|
427
|
-
}
|
|
428
|
-
const c = "color: " + this.color;
|
|
429
|
-
args.splice(1, 0, c, "color: inherit");
|
|
430
|
-
let index = 0;
|
|
431
|
-
let lastC = 0;
|
|
432
|
-
args[0].replace(/%[a-zA-Z%]/g, (match) => {
|
|
433
|
-
if (match === "%%") {
|
|
434
|
-
return;
|
|
435
|
-
}
|
|
436
|
-
index++;
|
|
437
|
-
if (match === "%c") {
|
|
438
|
-
lastC = index;
|
|
439
|
-
}
|
|
440
|
-
});
|
|
441
|
-
args.splice(lastC, 0, c);
|
|
442
|
-
}
|
|
443
|
-
exports.log = console.debug || console.log || (() => {
|
|
444
|
-
});
|
|
445
|
-
function save(namespaces) {
|
|
446
|
-
try {
|
|
447
|
-
if (namespaces) {
|
|
448
|
-
exports.storage.setItem("debug", namespaces);
|
|
449
|
-
} else {
|
|
450
|
-
exports.storage.removeItem("debug");
|
|
451
|
-
}
|
|
452
|
-
} catch (error) {
|
|
453
|
-
}
|
|
454
|
-
}
|
|
455
|
-
function load() {
|
|
456
|
-
let r;
|
|
457
|
-
try {
|
|
458
|
-
r = exports.storage.getItem("debug");
|
|
459
|
-
} catch (error) {
|
|
460
|
-
}
|
|
461
|
-
if (!r && typeof process !== "undefined" && "env" in process) {
|
|
462
|
-
r = process.env.DEBUG;
|
|
463
|
-
}
|
|
464
|
-
return r;
|
|
465
|
-
}
|
|
466
|
-
function localstorage() {
|
|
467
|
-
try {
|
|
468
|
-
return localStorage;
|
|
469
|
-
} catch (error) {
|
|
470
|
-
}
|
|
471
|
-
}
|
|
472
|
-
module2.exports = require_common()(exports);
|
|
473
|
-
var { formatters } = module2.exports;
|
|
474
|
-
formatters.j = function(v) {
|
|
475
|
-
try {
|
|
476
|
-
return JSON.stringify(v);
|
|
477
|
-
} catch (error) {
|
|
478
|
-
return "[UnexpectedJSONParseError]: " + error.message;
|
|
479
|
-
}
|
|
480
|
-
};
|
|
481
|
-
}
|
|
482
|
-
});
|
|
483
|
-
var require_has_flag = (0, import_chunk_AH6QHEOA.__commonJS)({
|
|
484
|
-
"../../node_modules/.pnpm/has-flag@4.0.0/node_modules/has-flag/index.js"(exports, module2) {
|
|
485
|
-
"use strict";
|
|
486
|
-
module2.exports = (flag, argv = process.argv) => {
|
|
487
|
-
const prefix = flag.startsWith("-") ? "" : flag.length === 1 ? "-" : "--";
|
|
488
|
-
const position = argv.indexOf(prefix + flag);
|
|
489
|
-
const terminatorPosition = argv.indexOf("--");
|
|
490
|
-
return position !== -1 && (terminatorPosition === -1 || position < terminatorPosition);
|
|
491
|
-
};
|
|
492
|
-
}
|
|
493
|
-
});
|
|
494
|
-
var require_supports_color = (0, import_chunk_AH6QHEOA.__commonJS)({
|
|
495
|
-
"../../node_modules/.pnpm/supports-color@8.1.1/node_modules/supports-color/index.js"(exports, module2) {
|
|
496
|
-
"use strict";
|
|
497
|
-
var os = (0, import_chunk_AH6QHEOA.__require)("os");
|
|
498
|
-
var tty = (0, import_chunk_AH6QHEOA.__require)("tty");
|
|
499
|
-
var hasFlag = require_has_flag();
|
|
500
|
-
var { env } = process;
|
|
501
|
-
var flagForceColor;
|
|
502
|
-
if (hasFlag("no-color") || hasFlag("no-colors") || hasFlag("color=false") || hasFlag("color=never")) {
|
|
503
|
-
flagForceColor = 0;
|
|
504
|
-
} else if (hasFlag("color") || hasFlag("colors") || hasFlag("color=true") || hasFlag("color=always")) {
|
|
505
|
-
flagForceColor = 1;
|
|
506
|
-
}
|
|
507
|
-
function envForceColor() {
|
|
508
|
-
if ("FORCE_COLOR" in env) {
|
|
509
|
-
if (env.FORCE_COLOR === "true") {
|
|
510
|
-
return 1;
|
|
511
|
-
}
|
|
512
|
-
if (env.FORCE_COLOR === "false") {
|
|
513
|
-
return 0;
|
|
514
|
-
}
|
|
515
|
-
return env.FORCE_COLOR.length === 0 ? 1 : Math.min(Number.parseInt(env.FORCE_COLOR, 10), 3);
|
|
516
|
-
}
|
|
517
|
-
}
|
|
518
|
-
function translateLevel(level) {
|
|
519
|
-
if (level === 0) {
|
|
520
|
-
return false;
|
|
521
|
-
}
|
|
522
|
-
return {
|
|
523
|
-
level,
|
|
524
|
-
hasBasic: true,
|
|
525
|
-
has256: level >= 2,
|
|
526
|
-
has16m: level >= 3
|
|
527
|
-
};
|
|
528
|
-
}
|
|
529
|
-
function supportsColor(haveStream, { streamIsTTY, sniffFlags = true } = {}) {
|
|
530
|
-
const noFlagForceColor = envForceColor();
|
|
531
|
-
if (noFlagForceColor !== void 0) {
|
|
532
|
-
flagForceColor = noFlagForceColor;
|
|
533
|
-
}
|
|
534
|
-
const forceColor = sniffFlags ? flagForceColor : noFlagForceColor;
|
|
535
|
-
if (forceColor === 0) {
|
|
536
|
-
return 0;
|
|
537
|
-
}
|
|
538
|
-
if (sniffFlags) {
|
|
539
|
-
if (hasFlag("color=16m") || hasFlag("color=full") || hasFlag("color=truecolor")) {
|
|
540
|
-
return 3;
|
|
541
|
-
}
|
|
542
|
-
if (hasFlag("color=256")) {
|
|
543
|
-
return 2;
|
|
544
|
-
}
|
|
545
|
-
}
|
|
546
|
-
if (haveStream && !streamIsTTY && forceColor === void 0) {
|
|
547
|
-
return 0;
|
|
548
|
-
}
|
|
549
|
-
const min = forceColor || 0;
|
|
550
|
-
if (env.TERM === "dumb") {
|
|
551
|
-
return min;
|
|
552
|
-
}
|
|
553
|
-
if (process.platform === "win32") {
|
|
554
|
-
const osRelease = os.release().split(".");
|
|
555
|
-
if (Number(osRelease[0]) >= 10 && Number(osRelease[2]) >= 10586) {
|
|
556
|
-
return Number(osRelease[2]) >= 14931 ? 3 : 2;
|
|
557
|
-
}
|
|
558
|
-
return 1;
|
|
559
|
-
}
|
|
560
|
-
if ("CI" in env) {
|
|
561
|
-
if (["TRAVIS", "CIRCLECI", "APPVEYOR", "GITLAB_CI", "GITHUB_ACTIONS", "BUILDKITE", "DRONE"].some((sign) => sign in env) || env.CI_NAME === "codeship") {
|
|
562
|
-
return 1;
|
|
563
|
-
}
|
|
564
|
-
return min;
|
|
565
|
-
}
|
|
566
|
-
if ("TEAMCITY_VERSION" in env) {
|
|
567
|
-
return /^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(env.TEAMCITY_VERSION) ? 1 : 0;
|
|
568
|
-
}
|
|
569
|
-
if (env.COLORTERM === "truecolor") {
|
|
570
|
-
return 3;
|
|
571
|
-
}
|
|
572
|
-
if ("TERM_PROGRAM" in env) {
|
|
573
|
-
const version = Number.parseInt((env.TERM_PROGRAM_VERSION || "").split(".")[0], 10);
|
|
574
|
-
switch (env.TERM_PROGRAM) {
|
|
575
|
-
case "iTerm.app":
|
|
576
|
-
return version >= 3 ? 3 : 2;
|
|
577
|
-
case "Apple_Terminal":
|
|
578
|
-
return 2;
|
|
579
|
-
}
|
|
580
|
-
}
|
|
581
|
-
if (/-256(color)?$/i.test(env.TERM)) {
|
|
582
|
-
return 2;
|
|
583
|
-
}
|
|
584
|
-
if (/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(env.TERM)) {
|
|
585
|
-
return 1;
|
|
586
|
-
}
|
|
587
|
-
if ("COLORTERM" in env) {
|
|
588
|
-
return 1;
|
|
589
|
-
}
|
|
590
|
-
return min;
|
|
591
|
-
}
|
|
592
|
-
function getSupportLevel(stream, options = {}) {
|
|
593
|
-
const level = supportsColor(stream, {
|
|
594
|
-
streamIsTTY: stream && stream.isTTY,
|
|
595
|
-
...options
|
|
596
|
-
});
|
|
597
|
-
return translateLevel(level);
|
|
598
|
-
}
|
|
599
|
-
module2.exports = {
|
|
600
|
-
supportsColor: getSupportLevel,
|
|
601
|
-
stdout: getSupportLevel({ isTTY: tty.isatty(1) }),
|
|
602
|
-
stderr: getSupportLevel({ isTTY: tty.isatty(2) })
|
|
603
|
-
};
|
|
604
|
-
}
|
|
605
|
-
});
|
|
606
|
-
var require_node = (0, import_chunk_AH6QHEOA.__commonJS)({
|
|
607
|
-
"../../node_modules/.pnpm/debug@4.3.6/node_modules/debug/src/node.js"(exports, module2) {
|
|
608
|
-
"use strict";
|
|
609
|
-
var tty = (0, import_chunk_AH6QHEOA.__require)("tty");
|
|
610
|
-
var util = (0, import_chunk_AH6QHEOA.__require)("util");
|
|
611
|
-
exports.init = init;
|
|
612
|
-
exports.log = log;
|
|
613
|
-
exports.formatArgs = formatArgs;
|
|
614
|
-
exports.save = save;
|
|
615
|
-
exports.load = load;
|
|
616
|
-
exports.useColors = useColors;
|
|
617
|
-
exports.destroy = util.deprecate(
|
|
618
|
-
() => {
|
|
619
|
-
},
|
|
620
|
-
"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."
|
|
621
|
-
);
|
|
622
|
-
exports.colors = [6, 2, 3, 4, 5, 1];
|
|
623
|
-
try {
|
|
624
|
-
const supportsColor = require_supports_color();
|
|
625
|
-
if (supportsColor && (supportsColor.stderr || supportsColor).level >= 2) {
|
|
626
|
-
exports.colors = [
|
|
627
|
-
20,
|
|
628
|
-
21,
|
|
629
|
-
26,
|
|
630
|
-
27,
|
|
631
|
-
32,
|
|
632
|
-
33,
|
|
633
|
-
38,
|
|
634
|
-
39,
|
|
635
|
-
40,
|
|
636
|
-
41,
|
|
637
|
-
42,
|
|
638
|
-
43,
|
|
639
|
-
44,
|
|
640
|
-
45,
|
|
641
|
-
56,
|
|
642
|
-
57,
|
|
643
|
-
62,
|
|
644
|
-
63,
|
|
645
|
-
68,
|
|
646
|
-
69,
|
|
647
|
-
74,
|
|
648
|
-
75,
|
|
649
|
-
76,
|
|
650
|
-
77,
|
|
651
|
-
78,
|
|
652
|
-
79,
|
|
653
|
-
80,
|
|
654
|
-
81,
|
|
655
|
-
92,
|
|
656
|
-
93,
|
|
657
|
-
98,
|
|
658
|
-
99,
|
|
659
|
-
112,
|
|
660
|
-
113,
|
|
661
|
-
128,
|
|
662
|
-
129,
|
|
663
|
-
134,
|
|
664
|
-
135,
|
|
665
|
-
148,
|
|
666
|
-
149,
|
|
667
|
-
160,
|
|
668
|
-
161,
|
|
669
|
-
162,
|
|
670
|
-
163,
|
|
671
|
-
164,
|
|
672
|
-
165,
|
|
673
|
-
166,
|
|
674
|
-
167,
|
|
675
|
-
168,
|
|
676
|
-
169,
|
|
677
|
-
170,
|
|
678
|
-
171,
|
|
679
|
-
172,
|
|
680
|
-
173,
|
|
681
|
-
178,
|
|
682
|
-
179,
|
|
683
|
-
184,
|
|
684
|
-
185,
|
|
685
|
-
196,
|
|
686
|
-
197,
|
|
687
|
-
198,
|
|
688
|
-
199,
|
|
689
|
-
200,
|
|
690
|
-
201,
|
|
691
|
-
202,
|
|
692
|
-
203,
|
|
693
|
-
204,
|
|
694
|
-
205,
|
|
695
|
-
206,
|
|
696
|
-
207,
|
|
697
|
-
208,
|
|
698
|
-
209,
|
|
699
|
-
214,
|
|
700
|
-
215,
|
|
701
|
-
220,
|
|
702
|
-
221
|
|
703
|
-
];
|
|
704
|
-
}
|
|
705
|
-
} catch (error) {
|
|
706
|
-
}
|
|
707
|
-
exports.inspectOpts = Object.keys(process.env).filter((key) => {
|
|
708
|
-
return /^debug_/i.test(key);
|
|
709
|
-
}).reduce((obj, key) => {
|
|
710
|
-
const prop = key.substring(6).toLowerCase().replace(/_([a-z])/g, (_, k) => {
|
|
711
|
-
return k.toUpperCase();
|
|
712
|
-
});
|
|
713
|
-
let val = process.env[key];
|
|
714
|
-
if (/^(yes|on|true|enabled)$/i.test(val)) {
|
|
715
|
-
val = true;
|
|
716
|
-
} else if (/^(no|off|false|disabled)$/i.test(val)) {
|
|
717
|
-
val = false;
|
|
718
|
-
} else if (val === "null") {
|
|
719
|
-
val = null;
|
|
720
|
-
} else {
|
|
721
|
-
val = Number(val);
|
|
722
|
-
}
|
|
723
|
-
obj[prop] = val;
|
|
724
|
-
return obj;
|
|
725
|
-
}, {});
|
|
726
|
-
function useColors() {
|
|
727
|
-
return "colors" in exports.inspectOpts ? Boolean(exports.inspectOpts.colors) : tty.isatty(process.stderr.fd);
|
|
728
|
-
}
|
|
729
|
-
function formatArgs(args) {
|
|
730
|
-
const { namespace: name, useColors: useColors2 } = this;
|
|
731
|
-
if (useColors2) {
|
|
732
|
-
const c = this.color;
|
|
733
|
-
const colorCode = "\x1B[3" + (c < 8 ? c : "8;5;" + c);
|
|
734
|
-
const prefix = ` ${colorCode};1m${name} \x1B[0m`;
|
|
735
|
-
args[0] = prefix + args[0].split("\n").join("\n" + prefix);
|
|
736
|
-
args.push(colorCode + "m+" + module2.exports.humanize(this.diff) + "\x1B[0m");
|
|
737
|
-
} else {
|
|
738
|
-
args[0] = getDate() + name + " " + args[0];
|
|
739
|
-
}
|
|
740
|
-
}
|
|
741
|
-
function getDate() {
|
|
742
|
-
if (exports.inspectOpts.hideDate) {
|
|
743
|
-
return "";
|
|
744
|
-
}
|
|
745
|
-
return (/* @__PURE__ */ new Date()).toISOString() + " ";
|
|
746
|
-
}
|
|
747
|
-
function log(...args) {
|
|
748
|
-
return process.stderr.write(util.formatWithOptions(exports.inspectOpts, ...args) + "\n");
|
|
749
|
-
}
|
|
750
|
-
function save(namespaces) {
|
|
751
|
-
if (namespaces) {
|
|
752
|
-
process.env.DEBUG = namespaces;
|
|
753
|
-
} else {
|
|
754
|
-
delete process.env.DEBUG;
|
|
755
|
-
}
|
|
756
|
-
}
|
|
757
|
-
function load() {
|
|
758
|
-
return process.env.DEBUG;
|
|
759
|
-
}
|
|
760
|
-
function init(debug2) {
|
|
761
|
-
debug2.inspectOpts = {};
|
|
762
|
-
const keys = Object.keys(exports.inspectOpts);
|
|
763
|
-
for (let i = 0; i < keys.length; i++) {
|
|
764
|
-
debug2.inspectOpts[keys[i]] = exports.inspectOpts[keys[i]];
|
|
765
|
-
}
|
|
766
|
-
}
|
|
767
|
-
module2.exports = require_common()(exports);
|
|
768
|
-
var { formatters } = module2.exports;
|
|
769
|
-
formatters.o = function(v) {
|
|
770
|
-
this.inspectOpts.colors = this.useColors;
|
|
771
|
-
return util.inspect(v, this.inspectOpts).split("\n").map((str) => str.trim()).join(" ");
|
|
772
|
-
};
|
|
773
|
-
formatters.O = function(v) {
|
|
774
|
-
this.inspectOpts.colors = this.useColors;
|
|
775
|
-
return util.inspect(v, this.inspectOpts);
|
|
776
|
-
};
|
|
777
|
-
}
|
|
778
|
-
});
|
|
779
|
-
var require_src = (0, import_chunk_AH6QHEOA.__commonJS)({
|
|
780
|
-
"../../node_modules/.pnpm/debug@4.3.6/node_modules/debug/src/index.js"(exports, module2) {
|
|
781
|
-
"use strict";
|
|
782
|
-
if (typeof process === "undefined" || process.type === "renderer" || process.browser === true || process.__nwjs) {
|
|
783
|
-
module2.exports = require_browser();
|
|
784
|
-
} else {
|
|
785
|
-
module2.exports = require_node();
|
|
786
|
-
}
|
|
787
|
-
}
|
|
788
|
-
});
|
|
789
|
-
var require_helpers = (0, import_chunk_AH6QHEOA.__commonJS)({
|
|
790
|
-
"../../node_modules/.pnpm/agent-base@7.1.0/node_modules/agent-base/dist/helpers.js"(exports) {
|
|
791
|
-
"use strict";
|
|
792
|
-
var __createBinding = exports && exports.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
793
|
-
if (k2 === void 0) k2 = k;
|
|
794
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
795
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
796
|
-
desc = { enumerable: true, get: function() {
|
|
797
|
-
return m[k];
|
|
798
|
-
} };
|
|
799
|
-
}
|
|
800
|
-
Object.defineProperty(o, k2, desc);
|
|
801
|
-
} : function(o, m, k, k2) {
|
|
802
|
-
if (k2 === void 0) k2 = k;
|
|
803
|
-
o[k2] = m[k];
|
|
804
|
-
});
|
|
805
|
-
var __setModuleDefault = exports && exports.__setModuleDefault || (Object.create ? function(o, v) {
|
|
806
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
807
|
-
} : function(o, v) {
|
|
808
|
-
o["default"] = v;
|
|
809
|
-
});
|
|
810
|
-
var __importStar = exports && exports.__importStar || function(mod) {
|
|
811
|
-
if (mod && mod.__esModule) return mod;
|
|
812
|
-
var result = {};
|
|
813
|
-
if (mod != null) {
|
|
814
|
-
for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
815
|
-
}
|
|
816
|
-
__setModuleDefault(result, mod);
|
|
817
|
-
return result;
|
|
818
|
-
};
|
|
819
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
820
|
-
exports.req = exports.json = exports.toBuffer = void 0;
|
|
821
|
-
var http = __importStar((0, import_chunk_AH6QHEOA.__require)("http"));
|
|
822
|
-
var https = __importStar((0, import_chunk_AH6QHEOA.__require)("https"));
|
|
823
|
-
async function toBuffer(stream) {
|
|
824
|
-
let length = 0;
|
|
825
|
-
const chunks = [];
|
|
826
|
-
for await (const chunk of stream) {
|
|
827
|
-
length += chunk.length;
|
|
828
|
-
chunks.push(chunk);
|
|
829
|
-
}
|
|
830
|
-
return Buffer.concat(chunks, length);
|
|
831
|
-
}
|
|
832
|
-
exports.toBuffer = toBuffer;
|
|
833
|
-
async function json(stream) {
|
|
834
|
-
const buf = await toBuffer(stream);
|
|
835
|
-
const str = buf.toString("utf8");
|
|
836
|
-
try {
|
|
837
|
-
return JSON.parse(str);
|
|
838
|
-
} catch (_err) {
|
|
839
|
-
const err = _err;
|
|
840
|
-
err.message += ` (input: ${str})`;
|
|
841
|
-
throw err;
|
|
842
|
-
}
|
|
843
|
-
}
|
|
844
|
-
exports.json = json;
|
|
845
|
-
function req(url, opts = {}) {
|
|
846
|
-
const href = typeof url === "string" ? url : url.href;
|
|
847
|
-
const req2 = (href.startsWith("https:") ? https : http).request(url, opts);
|
|
848
|
-
const promise = new Promise((resolve, reject) => {
|
|
849
|
-
req2.once("response", resolve).once("error", reject).end();
|
|
850
|
-
});
|
|
851
|
-
req2.then = promise.then.bind(promise);
|
|
852
|
-
return req2;
|
|
853
|
-
}
|
|
854
|
-
exports.req = req;
|
|
855
|
-
}
|
|
856
|
-
});
|
|
857
|
-
var require_dist = (0, import_chunk_AH6QHEOA.__commonJS)({
|
|
858
|
-
"../../node_modules/.pnpm/agent-base@7.1.0/node_modules/agent-base/dist/index.js"(exports) {
|
|
859
|
-
"use strict";
|
|
860
|
-
var __createBinding = exports && exports.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
861
|
-
if (k2 === void 0) k2 = k;
|
|
862
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
863
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
864
|
-
desc = { enumerable: true, get: function() {
|
|
865
|
-
return m[k];
|
|
866
|
-
} };
|
|
867
|
-
}
|
|
868
|
-
Object.defineProperty(o, k2, desc);
|
|
869
|
-
} : function(o, m, k, k2) {
|
|
870
|
-
if (k2 === void 0) k2 = k;
|
|
871
|
-
o[k2] = m[k];
|
|
872
|
-
});
|
|
873
|
-
var __setModuleDefault = exports && exports.__setModuleDefault || (Object.create ? function(o, v) {
|
|
874
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
875
|
-
} : function(o, v) {
|
|
876
|
-
o["default"] = v;
|
|
877
|
-
});
|
|
878
|
-
var __importStar = exports && exports.__importStar || function(mod) {
|
|
879
|
-
if (mod && mod.__esModule) return mod;
|
|
880
|
-
var result = {};
|
|
881
|
-
if (mod != null) {
|
|
882
|
-
for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
883
|
-
}
|
|
884
|
-
__setModuleDefault(result, mod);
|
|
885
|
-
return result;
|
|
886
|
-
};
|
|
887
|
-
var __exportStar = exports && exports.__exportStar || function(m, exports2) {
|
|
888
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports2, p)) __createBinding(exports2, m, p);
|
|
889
|
-
};
|
|
890
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
891
|
-
exports.Agent = void 0;
|
|
892
|
-
var http = __importStar((0, import_chunk_AH6QHEOA.__require)("http"));
|
|
893
|
-
__exportStar(require_helpers(), exports);
|
|
894
|
-
var INTERNAL = Symbol("AgentBaseInternalState");
|
|
895
|
-
var Agent = class extends http.Agent {
|
|
896
|
-
constructor(opts) {
|
|
897
|
-
super(opts);
|
|
898
|
-
this[INTERNAL] = {};
|
|
899
|
-
}
|
|
900
|
-
/**
|
|
901
|
-
* Determine whether this is an `http` or `https` request.
|
|
902
|
-
*/
|
|
903
|
-
isSecureEndpoint(options) {
|
|
904
|
-
if (options) {
|
|
905
|
-
if (typeof options.secureEndpoint === "boolean") {
|
|
906
|
-
return options.secureEndpoint;
|
|
907
|
-
}
|
|
908
|
-
if (typeof options.protocol === "string") {
|
|
909
|
-
return options.protocol === "https:";
|
|
910
|
-
}
|
|
911
|
-
}
|
|
912
|
-
const { stack } = new Error();
|
|
913
|
-
if (typeof stack !== "string")
|
|
914
|
-
return false;
|
|
915
|
-
return stack.split("\n").some((l) => l.indexOf("(https.js:") !== -1 || l.indexOf("node:https:") !== -1);
|
|
916
|
-
}
|
|
917
|
-
createSocket(req, options, cb) {
|
|
918
|
-
const connectOpts = {
|
|
919
|
-
...options,
|
|
920
|
-
secureEndpoint: this.isSecureEndpoint(options)
|
|
921
|
-
};
|
|
922
|
-
Promise.resolve().then(() => this.connect(req, connectOpts)).then((socket) => {
|
|
923
|
-
if (socket instanceof http.Agent) {
|
|
924
|
-
return socket.addRequest(req, connectOpts);
|
|
925
|
-
}
|
|
926
|
-
this[INTERNAL].currentSocket = socket;
|
|
927
|
-
super.createSocket(req, options, cb);
|
|
928
|
-
}, cb);
|
|
929
|
-
}
|
|
930
|
-
createConnection() {
|
|
931
|
-
const socket = this[INTERNAL].currentSocket;
|
|
932
|
-
this[INTERNAL].currentSocket = void 0;
|
|
933
|
-
if (!socket) {
|
|
934
|
-
throw new Error("No socket was returned in the `connect()` function");
|
|
935
|
-
}
|
|
936
|
-
return socket;
|
|
937
|
-
}
|
|
938
|
-
get defaultPort() {
|
|
939
|
-
return this[INTERNAL].defaultPort ?? (this.protocol === "https:" ? 443 : 80);
|
|
940
|
-
}
|
|
941
|
-
set defaultPort(v) {
|
|
942
|
-
if (this[INTERNAL]) {
|
|
943
|
-
this[INTERNAL].defaultPort = v;
|
|
944
|
-
}
|
|
945
|
-
}
|
|
946
|
-
get protocol() {
|
|
947
|
-
return this[INTERNAL].protocol ?? (this.isSecureEndpoint() ? "https:" : "http:");
|
|
948
|
-
}
|
|
949
|
-
set protocol(v) {
|
|
950
|
-
if (this[INTERNAL]) {
|
|
951
|
-
this[INTERNAL].protocol = v;
|
|
952
|
-
}
|
|
953
|
-
}
|
|
954
|
-
};
|
|
955
|
-
exports.Agent = Agent;
|
|
956
|
-
}
|
|
957
|
-
});
|
|
958
|
-
var require_dist2 = (0, import_chunk_AH6QHEOA.__commonJS)({
|
|
959
|
-
"../../node_modules/.pnpm/http-proxy-agent@7.0.2/node_modules/http-proxy-agent/dist/index.js"(exports) {
|
|
960
|
-
"use strict";
|
|
961
|
-
var __createBinding = exports && exports.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
962
|
-
if (k2 === void 0) k2 = k;
|
|
963
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
964
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
965
|
-
desc = { enumerable: true, get: function() {
|
|
966
|
-
return m[k];
|
|
967
|
-
} };
|
|
968
|
-
}
|
|
969
|
-
Object.defineProperty(o, k2, desc);
|
|
970
|
-
} : function(o, m, k, k2) {
|
|
971
|
-
if (k2 === void 0) k2 = k;
|
|
972
|
-
o[k2] = m[k];
|
|
973
|
-
});
|
|
974
|
-
var __setModuleDefault = exports && exports.__setModuleDefault || (Object.create ? function(o, v) {
|
|
975
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
976
|
-
} : function(o, v) {
|
|
977
|
-
o["default"] = v;
|
|
978
|
-
});
|
|
979
|
-
var __importStar = exports && exports.__importStar || function(mod) {
|
|
980
|
-
if (mod && mod.__esModule) return mod;
|
|
981
|
-
var result = {};
|
|
982
|
-
if (mod != null) {
|
|
983
|
-
for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
984
|
-
}
|
|
985
|
-
__setModuleDefault(result, mod);
|
|
986
|
-
return result;
|
|
987
|
-
};
|
|
988
|
-
var __importDefault = exports && exports.__importDefault || function(mod) {
|
|
989
|
-
return mod && mod.__esModule ? mod : { "default": mod };
|
|
990
|
-
};
|
|
991
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
992
|
-
exports.HttpProxyAgent = void 0;
|
|
993
|
-
var net = __importStar((0, import_chunk_AH6QHEOA.__require)("net"));
|
|
994
|
-
var tls = __importStar((0, import_chunk_AH6QHEOA.__require)("tls"));
|
|
995
|
-
var debug_1 = __importDefault(require_src());
|
|
996
|
-
var events_1 = (0, import_chunk_AH6QHEOA.__require)("events");
|
|
997
|
-
var agent_base_1 = require_dist();
|
|
998
|
-
var url_1 = (0, import_chunk_AH6QHEOA.__require)("url");
|
|
999
|
-
var debug2 = (0, debug_1.default)("http-proxy-agent");
|
|
1000
|
-
var HttpProxyAgent2 = class extends agent_base_1.Agent {
|
|
1001
|
-
constructor(proxy, opts) {
|
|
1002
|
-
super(opts);
|
|
1003
|
-
this.proxy = typeof proxy === "string" ? new url_1.URL(proxy) : proxy;
|
|
1004
|
-
this.proxyHeaders = opts?.headers ?? {};
|
|
1005
|
-
debug2("Creating new HttpProxyAgent instance: %o", this.proxy.href);
|
|
1006
|
-
const host = (this.proxy.hostname || this.proxy.host).replace(/^\[|\]$/g, "");
|
|
1007
|
-
const port = this.proxy.port ? parseInt(this.proxy.port, 10) : this.proxy.protocol === "https:" ? 443 : 80;
|
|
1008
|
-
this.connectOpts = {
|
|
1009
|
-
...opts ? omit(opts, "headers") : null,
|
|
1010
|
-
host,
|
|
1011
|
-
port
|
|
1012
|
-
};
|
|
1013
|
-
}
|
|
1014
|
-
addRequest(req, opts) {
|
|
1015
|
-
req._header = null;
|
|
1016
|
-
this.setRequestProps(req, opts);
|
|
1017
|
-
super.addRequest(req, opts);
|
|
1018
|
-
}
|
|
1019
|
-
setRequestProps(req, opts) {
|
|
1020
|
-
const { proxy } = this;
|
|
1021
|
-
const protocol = opts.secureEndpoint ? "https:" : "http:";
|
|
1022
|
-
const hostname = req.getHeader("host") || "localhost";
|
|
1023
|
-
const base = `${protocol}//${hostname}`;
|
|
1024
|
-
const url = new url_1.URL(req.path, base);
|
|
1025
|
-
if (opts.port !== 80) {
|
|
1026
|
-
url.port = String(opts.port);
|
|
1027
|
-
}
|
|
1028
|
-
req.path = String(url);
|
|
1029
|
-
const headers = typeof this.proxyHeaders === "function" ? this.proxyHeaders() : { ...this.proxyHeaders };
|
|
1030
|
-
if (proxy.username || proxy.password) {
|
|
1031
|
-
const auth = `${decodeURIComponent(proxy.username)}:${decodeURIComponent(proxy.password)}`;
|
|
1032
|
-
headers["Proxy-Authorization"] = `Basic ${Buffer.from(auth).toString("base64")}`;
|
|
1033
|
-
}
|
|
1034
|
-
if (!headers["Proxy-Connection"]) {
|
|
1035
|
-
headers["Proxy-Connection"] = this.keepAlive ? "Keep-Alive" : "close";
|
|
1036
|
-
}
|
|
1037
|
-
for (const name of Object.keys(headers)) {
|
|
1038
|
-
const value = headers[name];
|
|
1039
|
-
if (value) {
|
|
1040
|
-
req.setHeader(name, value);
|
|
1041
|
-
}
|
|
1042
|
-
}
|
|
1043
|
-
}
|
|
1044
|
-
async connect(req, opts) {
|
|
1045
|
-
req._header = null;
|
|
1046
|
-
if (!req.path.includes("://")) {
|
|
1047
|
-
this.setRequestProps(req, opts);
|
|
1048
|
-
}
|
|
1049
|
-
let first;
|
|
1050
|
-
let endOfHeaders;
|
|
1051
|
-
debug2("Regenerating stored HTTP header string for request");
|
|
1052
|
-
req._implicitHeader();
|
|
1053
|
-
if (req.outputData && req.outputData.length > 0) {
|
|
1054
|
-
debug2("Patching connection write() output buffer with updated header");
|
|
1055
|
-
first = req.outputData[0].data;
|
|
1056
|
-
endOfHeaders = first.indexOf("\r\n\r\n") + 4;
|
|
1057
|
-
req.outputData[0].data = req._header + first.substring(endOfHeaders);
|
|
1058
|
-
debug2("Output buffer: %o", req.outputData[0].data);
|
|
1059
|
-
}
|
|
1060
|
-
let socket;
|
|
1061
|
-
if (this.proxy.protocol === "https:") {
|
|
1062
|
-
debug2("Creating `tls.Socket`: %o", this.connectOpts);
|
|
1063
|
-
socket = tls.connect(this.connectOpts);
|
|
1064
|
-
} else {
|
|
1065
|
-
debug2("Creating `net.Socket`: %o", this.connectOpts);
|
|
1066
|
-
socket = net.connect(this.connectOpts);
|
|
1067
|
-
}
|
|
1068
|
-
await (0, events_1.once)(socket, "connect");
|
|
1069
|
-
return socket;
|
|
1070
|
-
}
|
|
1071
|
-
};
|
|
1072
|
-
HttpProxyAgent2.protocols = ["http", "https"];
|
|
1073
|
-
exports.HttpProxyAgent = HttpProxyAgent2;
|
|
1074
|
-
function omit(obj, ...keys) {
|
|
1075
|
-
const ret = {};
|
|
1076
|
-
let key;
|
|
1077
|
-
for (key in obj) {
|
|
1078
|
-
if (!keys.includes(key)) {
|
|
1079
|
-
ret[key] = obj[key];
|
|
1080
|
-
}
|
|
1081
|
-
}
|
|
1082
|
-
return ret;
|
|
1083
|
-
}
|
|
1084
|
-
}
|
|
1085
|
-
});
|
|
1086
|
-
var require_parse_proxy_response = (0, import_chunk_AH6QHEOA.__commonJS)({
|
|
1087
|
-
"../../node_modules/.pnpm/https-proxy-agent@7.0.5/node_modules/https-proxy-agent/dist/parse-proxy-response.js"(exports) {
|
|
1088
|
-
"use strict";
|
|
1089
|
-
var __importDefault = exports && exports.__importDefault || function(mod) {
|
|
1090
|
-
return mod && mod.__esModule ? mod : { "default": mod };
|
|
1091
|
-
};
|
|
1092
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1093
|
-
exports.parseProxyResponse = void 0;
|
|
1094
|
-
var debug_1 = __importDefault(require_src());
|
|
1095
|
-
var debug2 = (0, debug_1.default)("https-proxy-agent:parse-proxy-response");
|
|
1096
|
-
function parseProxyResponse(socket) {
|
|
1097
|
-
return new Promise((resolve, reject) => {
|
|
1098
|
-
let buffersLength = 0;
|
|
1099
|
-
const buffers = [];
|
|
1100
|
-
function read() {
|
|
1101
|
-
const b = socket.read();
|
|
1102
|
-
if (b)
|
|
1103
|
-
ondata(b);
|
|
1104
|
-
else
|
|
1105
|
-
socket.once("readable", read);
|
|
1106
|
-
}
|
|
1107
|
-
function cleanup() {
|
|
1108
|
-
socket.removeListener("end", onend);
|
|
1109
|
-
socket.removeListener("error", onerror);
|
|
1110
|
-
socket.removeListener("readable", read);
|
|
1111
|
-
}
|
|
1112
|
-
function onend() {
|
|
1113
|
-
cleanup();
|
|
1114
|
-
debug2("onend");
|
|
1115
|
-
reject(new Error("Proxy connection ended before receiving CONNECT response"));
|
|
1116
|
-
}
|
|
1117
|
-
function onerror(err) {
|
|
1118
|
-
cleanup();
|
|
1119
|
-
debug2("onerror %o", err);
|
|
1120
|
-
reject(err);
|
|
1121
|
-
}
|
|
1122
|
-
function ondata(b) {
|
|
1123
|
-
buffers.push(b);
|
|
1124
|
-
buffersLength += b.length;
|
|
1125
|
-
const buffered = Buffer.concat(buffers, buffersLength);
|
|
1126
|
-
const endOfHeaders = buffered.indexOf("\r\n\r\n");
|
|
1127
|
-
if (endOfHeaders === -1) {
|
|
1128
|
-
debug2("have not received end of HTTP headers yet...");
|
|
1129
|
-
read();
|
|
1130
|
-
return;
|
|
1131
|
-
}
|
|
1132
|
-
const headerParts = buffered.slice(0, endOfHeaders).toString("ascii").split("\r\n");
|
|
1133
|
-
const firstLine = headerParts.shift();
|
|
1134
|
-
if (!firstLine) {
|
|
1135
|
-
socket.destroy();
|
|
1136
|
-
return reject(new Error("No header received from proxy CONNECT response"));
|
|
1137
|
-
}
|
|
1138
|
-
const firstLineParts = firstLine.split(" ");
|
|
1139
|
-
const statusCode = +firstLineParts[1];
|
|
1140
|
-
const statusText = firstLineParts.slice(2).join(" ");
|
|
1141
|
-
const headers = {};
|
|
1142
|
-
for (const header of headerParts) {
|
|
1143
|
-
if (!header)
|
|
1144
|
-
continue;
|
|
1145
|
-
const firstColon = header.indexOf(":");
|
|
1146
|
-
if (firstColon === -1) {
|
|
1147
|
-
socket.destroy();
|
|
1148
|
-
return reject(new Error(`Invalid header from proxy CONNECT response: "${header}"`));
|
|
1149
|
-
}
|
|
1150
|
-
const key = header.slice(0, firstColon).toLowerCase();
|
|
1151
|
-
const value = header.slice(firstColon + 1).trimStart();
|
|
1152
|
-
const current = headers[key];
|
|
1153
|
-
if (typeof current === "string") {
|
|
1154
|
-
headers[key] = [current, value];
|
|
1155
|
-
} else if (Array.isArray(current)) {
|
|
1156
|
-
current.push(value);
|
|
1157
|
-
} else {
|
|
1158
|
-
headers[key] = value;
|
|
1159
|
-
}
|
|
1160
|
-
}
|
|
1161
|
-
debug2("got proxy server response: %o %o", firstLine, headers);
|
|
1162
|
-
cleanup();
|
|
1163
|
-
resolve({
|
|
1164
|
-
connect: {
|
|
1165
|
-
statusCode,
|
|
1166
|
-
statusText,
|
|
1167
|
-
headers
|
|
1168
|
-
},
|
|
1169
|
-
buffered
|
|
1170
|
-
});
|
|
1171
|
-
}
|
|
1172
|
-
socket.on("error", onerror);
|
|
1173
|
-
socket.on("end", onend);
|
|
1174
|
-
read();
|
|
1175
|
-
});
|
|
1176
|
-
}
|
|
1177
|
-
exports.parseProxyResponse = parseProxyResponse;
|
|
1178
|
-
}
|
|
1179
|
-
});
|
|
1180
|
-
var require_dist3 = (0, import_chunk_AH6QHEOA.__commonJS)({
|
|
1181
|
-
"../../node_modules/.pnpm/https-proxy-agent@7.0.5/node_modules/https-proxy-agent/dist/index.js"(exports) {
|
|
1182
|
-
"use strict";
|
|
1183
|
-
var __createBinding = exports && exports.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
1184
|
-
if (k2 === void 0) k2 = k;
|
|
1185
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
1186
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
1187
|
-
desc = { enumerable: true, get: function() {
|
|
1188
|
-
return m[k];
|
|
1189
|
-
} };
|
|
1190
|
-
}
|
|
1191
|
-
Object.defineProperty(o, k2, desc);
|
|
1192
|
-
} : function(o, m, k, k2) {
|
|
1193
|
-
if (k2 === void 0) k2 = k;
|
|
1194
|
-
o[k2] = m[k];
|
|
1195
|
-
});
|
|
1196
|
-
var __setModuleDefault = exports && exports.__setModuleDefault || (Object.create ? function(o, v) {
|
|
1197
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
1198
|
-
} : function(o, v) {
|
|
1199
|
-
o["default"] = v;
|
|
1200
|
-
});
|
|
1201
|
-
var __importStar = exports && exports.__importStar || function(mod) {
|
|
1202
|
-
if (mod && mod.__esModule) return mod;
|
|
1203
|
-
var result = {};
|
|
1204
|
-
if (mod != null) {
|
|
1205
|
-
for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
1206
|
-
}
|
|
1207
|
-
__setModuleDefault(result, mod);
|
|
1208
|
-
return result;
|
|
1209
|
-
};
|
|
1210
|
-
var __importDefault = exports && exports.__importDefault || function(mod) {
|
|
1211
|
-
return mod && mod.__esModule ? mod : { "default": mod };
|
|
1212
|
-
};
|
|
1213
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1214
|
-
exports.HttpsProxyAgent = void 0;
|
|
1215
|
-
var net = __importStar((0, import_chunk_AH6QHEOA.__require)("net"));
|
|
1216
|
-
var tls = __importStar((0, import_chunk_AH6QHEOA.__require)("tls"));
|
|
1217
|
-
var assert_1 = __importDefault((0, import_chunk_AH6QHEOA.__require)("assert"));
|
|
1218
|
-
var debug_1 = __importDefault(require_src());
|
|
1219
|
-
var agent_base_1 = require_dist();
|
|
1220
|
-
var url_1 = (0, import_chunk_AH6QHEOA.__require)("url");
|
|
1221
|
-
var parse_proxy_response_1 = require_parse_proxy_response();
|
|
1222
|
-
var debug2 = (0, debug_1.default)("https-proxy-agent");
|
|
1223
|
-
var HttpsProxyAgent2 = class extends agent_base_1.Agent {
|
|
1224
|
-
constructor(proxy, opts) {
|
|
1225
|
-
super(opts);
|
|
1226
|
-
this.options = { path: void 0 };
|
|
1227
|
-
this.proxy = typeof proxy === "string" ? new url_1.URL(proxy) : proxy;
|
|
1228
|
-
this.proxyHeaders = opts?.headers ?? {};
|
|
1229
|
-
debug2("Creating new HttpsProxyAgent instance: %o", this.proxy.href);
|
|
1230
|
-
const host = (this.proxy.hostname || this.proxy.host).replace(/^\[|\]$/g, "");
|
|
1231
|
-
const port = this.proxy.port ? parseInt(this.proxy.port, 10) : this.proxy.protocol === "https:" ? 443 : 80;
|
|
1232
|
-
this.connectOpts = {
|
|
1233
|
-
// Attempt to negotiate http/1.1 for proxy servers that support http/2
|
|
1234
|
-
ALPNProtocols: ["http/1.1"],
|
|
1235
|
-
...opts ? omit(opts, "headers") : null,
|
|
1236
|
-
host,
|
|
1237
|
-
port
|
|
1238
|
-
};
|
|
1239
|
-
}
|
|
1240
|
-
/**
|
|
1241
|
-
* Called when the node-core HTTP client library is creating a
|
|
1242
|
-
* new HTTP request.
|
|
1243
|
-
*/
|
|
1244
|
-
async connect(req, opts) {
|
|
1245
|
-
const { proxy } = this;
|
|
1246
|
-
if (!opts.host) {
|
|
1247
|
-
throw new TypeError('No "host" provided');
|
|
1248
|
-
}
|
|
1249
|
-
let socket;
|
|
1250
|
-
if (proxy.protocol === "https:") {
|
|
1251
|
-
debug2("Creating `tls.Socket`: %o", this.connectOpts);
|
|
1252
|
-
const servername = this.connectOpts.servername || this.connectOpts.host;
|
|
1253
|
-
socket = tls.connect({
|
|
1254
|
-
...this.connectOpts,
|
|
1255
|
-
servername
|
|
1256
|
-
});
|
|
1257
|
-
} else {
|
|
1258
|
-
debug2("Creating `net.Socket`: %o", this.connectOpts);
|
|
1259
|
-
socket = net.connect(this.connectOpts);
|
|
1260
|
-
}
|
|
1261
|
-
const headers = typeof this.proxyHeaders === "function" ? this.proxyHeaders() : { ...this.proxyHeaders };
|
|
1262
|
-
const host = net.isIPv6(opts.host) ? `[${opts.host}]` : opts.host;
|
|
1263
|
-
let payload = `CONNECT ${host}:${opts.port} HTTP/1.1\r
|
|
1264
|
-
`;
|
|
1265
|
-
if (proxy.username || proxy.password) {
|
|
1266
|
-
const auth = `${decodeURIComponent(proxy.username)}:${decodeURIComponent(proxy.password)}`;
|
|
1267
|
-
headers["Proxy-Authorization"] = `Basic ${Buffer.from(auth).toString("base64")}`;
|
|
1268
|
-
}
|
|
1269
|
-
headers.Host = `${host}:${opts.port}`;
|
|
1270
|
-
if (!headers["Proxy-Connection"]) {
|
|
1271
|
-
headers["Proxy-Connection"] = this.keepAlive ? "Keep-Alive" : "close";
|
|
1272
|
-
}
|
|
1273
|
-
for (const name of Object.keys(headers)) {
|
|
1274
|
-
payload += `${name}: ${headers[name]}\r
|
|
1275
|
-
`;
|
|
1276
|
-
}
|
|
1277
|
-
const proxyResponsePromise = (0, parse_proxy_response_1.parseProxyResponse)(socket);
|
|
1278
|
-
socket.write(`${payload}\r
|
|
1279
|
-
`);
|
|
1280
|
-
const { connect, buffered } = await proxyResponsePromise;
|
|
1281
|
-
req.emit("proxyConnect", connect);
|
|
1282
|
-
this.emit("proxyConnect", connect, req);
|
|
1283
|
-
if (connect.statusCode === 200) {
|
|
1284
|
-
req.once("socket", resume);
|
|
1285
|
-
if (opts.secureEndpoint) {
|
|
1286
|
-
debug2("Upgrading socket connection to TLS");
|
|
1287
|
-
const servername = opts.servername || opts.host;
|
|
1288
|
-
return tls.connect({
|
|
1289
|
-
...omit(opts, "host", "path", "port"),
|
|
1290
|
-
socket,
|
|
1291
|
-
servername
|
|
1292
|
-
});
|
|
1293
|
-
}
|
|
1294
|
-
return socket;
|
|
1295
|
-
}
|
|
1296
|
-
socket.destroy();
|
|
1297
|
-
const fakeSocket = new net.Socket({ writable: false });
|
|
1298
|
-
fakeSocket.readable = true;
|
|
1299
|
-
req.once("socket", (s) => {
|
|
1300
|
-
debug2("Replaying proxy buffer for failed request");
|
|
1301
|
-
(0, assert_1.default)(s.listenerCount("data") > 0);
|
|
1302
|
-
s.push(buffered);
|
|
1303
|
-
s.push(null);
|
|
1304
|
-
});
|
|
1305
|
-
return fakeSocket;
|
|
1306
|
-
}
|
|
1307
|
-
};
|
|
1308
|
-
HttpsProxyAgent2.protocols = ["http", "https"];
|
|
1309
|
-
exports.HttpsProxyAgent = HttpsProxyAgent2;
|
|
1310
|
-
function resume(socket) {
|
|
1311
|
-
socket.resume();
|
|
1312
|
-
}
|
|
1313
|
-
function omit(obj, ...keys) {
|
|
1314
|
-
const ret = {};
|
|
1315
|
-
let key;
|
|
1316
|
-
for (key in obj) {
|
|
1317
|
-
if (!keys.includes(key)) {
|
|
1318
|
-
ret[key] = obj[key];
|
|
1319
|
-
}
|
|
1320
|
-
}
|
|
1321
|
-
return ret;
|
|
1322
|
-
}
|
|
1323
|
-
}
|
|
1324
|
-
});
|
|
1325
|
-
var import_http_proxy_agent = (0, import_chunk_AH6QHEOA.__toESM)(require_dist2());
|
|
1326
|
-
var import_https_proxy_agent = (0, import_chunk_AH6QHEOA.__toESM)(require_dist3());
|
|
1327
|
-
var debug = (0, import_debug.default)("prisma:fetch-engine:getProxyAgent");
|
|
1328
|
-
function formatHostname(hostname) {
|
|
1329
|
-
return hostname.replace(/^\.*/, ".").toLowerCase();
|
|
1330
|
-
}
|
|
1331
|
-
function parseNoProxyZone(zone) {
|
|
1332
|
-
zone = zone.trim().toLowerCase();
|
|
1333
|
-
const zoneParts = zone.split(":", 2);
|
|
1334
|
-
const zoneHost = formatHostname(zoneParts[0]);
|
|
1335
|
-
const zonePort = zoneParts[1];
|
|
1336
|
-
const hasPort = zone.includes(":");
|
|
1337
|
-
return { hostname: zoneHost, port: zonePort, hasPort };
|
|
1338
|
-
}
|
|
1339
|
-
function uriInNoProxy(uri, noProxy) {
|
|
1340
|
-
const port = uri.port || (uri.protocol === "https:" ? "443" : "80");
|
|
1341
|
-
const hostname = formatHostname(uri.hostname);
|
|
1342
|
-
const noProxyList = noProxy.split(",");
|
|
1343
|
-
return noProxyList.map(parseNoProxyZone).some(function(noProxyZone) {
|
|
1344
|
-
const isMatchedAt = hostname.indexOf(noProxyZone.hostname);
|
|
1345
|
-
const hostnameMatched = isMatchedAt > -1 && isMatchedAt === hostname.length - noProxyZone.hostname.length;
|
|
1346
|
-
if (noProxyZone.hasPort) {
|
|
1347
|
-
return port === noProxyZone.port && hostnameMatched;
|
|
1348
|
-
}
|
|
1349
|
-
return hostnameMatched;
|
|
1350
|
-
});
|
|
1351
|
-
}
|
|
1352
|
-
function getProxyFromURI(uri) {
|
|
1353
|
-
const noProxy = process.env.NO_PROXY || process.env.no_proxy || "";
|
|
1354
|
-
if (noProxy) debug(`noProxy is set to "${noProxy}"`);
|
|
1355
|
-
if (noProxy === "*") {
|
|
1356
|
-
return null;
|
|
1357
|
-
}
|
|
1358
|
-
if (noProxy !== "" && uriInNoProxy(uri, noProxy)) {
|
|
1359
|
-
return null;
|
|
1360
|
-
}
|
|
1361
|
-
if (uri.protocol === "http:") {
|
|
1362
|
-
const httpProxy = process.env.HTTP_PROXY || process.env.http_proxy || null;
|
|
1363
|
-
if (httpProxy) debug(`uri.protocol is HTTP and the URL for the proxy is "${httpProxy}"`);
|
|
1364
|
-
return httpProxy;
|
|
1365
|
-
}
|
|
1366
|
-
if (uri.protocol === "https:") {
|
|
1367
|
-
const httpsProxy = process.env.HTTPS_PROXY || process.env.https_proxy || process.env.HTTP_PROXY || process.env.http_proxy || null;
|
|
1368
|
-
if (httpsProxy) debug(`uri.protocol is HTTPS and the URL for the proxy is "${httpsProxy}"`);
|
|
1369
|
-
return httpsProxy;
|
|
1370
|
-
}
|
|
1371
|
-
return null;
|
|
1372
|
-
}
|
|
1373
|
-
function getProxyAgent(url) {
|
|
1374
|
-
try {
|
|
1375
|
-
const uri = import_url.default.parse(url);
|
|
1376
|
-
const proxy = getProxyFromURI(uri);
|
|
1377
|
-
if (!proxy) {
|
|
1378
|
-
return void 0;
|
|
1379
|
-
} else if (uri.protocol === "http:") {
|
|
1380
|
-
try {
|
|
1381
|
-
return new import_http_proxy_agent.HttpProxyAgent(proxy);
|
|
1382
|
-
} catch (agentError) {
|
|
1383
|
-
throw new Error(
|
|
1384
|
-
`Error while instantiating HttpProxyAgent with URL: "${proxy}"
|
|
1385
|
-
${agentError}
|
|
1386
|
-
Check the following env vars "http_proxy" or "HTTP_PROXY". The value should be a valid URL starting with "http://"`
|
|
1387
|
-
);
|
|
1388
|
-
}
|
|
1389
|
-
} else if (uri.protocol === "https:") {
|
|
1390
|
-
try {
|
|
1391
|
-
return new import_https_proxy_agent.HttpsProxyAgent(proxy);
|
|
1392
|
-
} catch (agentError) {
|
|
1393
|
-
throw new Error(
|
|
1394
|
-
`Error while instantiating HttpsProxyAgent with URL: "${proxy}"
|
|
1395
|
-
${agentError}
|
|
1396
|
-
Check the following env vars "https_proxy" or "HTTPS_PROXY". The value should be a valid URL starting with "https://"`
|
|
1397
|
-
);
|
|
1398
|
-
}
|
|
1399
|
-
}
|
|
1400
|
-
} catch (e) {
|
|
1401
|
-
console.warn(`An error occurred in getProxyAgent(), no proxy agent will be used.`, e);
|
|
1402
|
-
}
|
|
1403
|
-
return void 0;
|
|
1404
|
-
}
|