├── README.md ├── backpack_exchange-main └── backpack_client.js ├── backpack_trading_config.json ├── logs ├── .DS_Store ├── backpack_trading_2025-04-05.log └── trading_2025-04-05.log ├── node_modules ├── .DS_Store ├── .package-lock.json ├── @sindresorhus │ └── is │ │ ├── dist │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── types.d.ts │ │ └── types.js │ │ ├── license │ │ ├── package.json │ │ └── readme.md ├── @szmarczak │ └── http-timer │ │ ├── LICENSE │ │ ├── README.md │ │ ├── dist │ │ └── source │ │ │ ├── index.d.ts │ │ │ └── index.js │ │ └── package.json ├── @types │ ├── .DS_Store │ ├── cacheable-request │ │ ├── LICENSE │ │ ├── README.md │ │ ├── index.d.ts │ │ └── package.json │ ├── http-cache-semantics │ │ ├── LICENSE │ │ ├── README.md │ │ ├── index.d.ts │ │ └── package.json │ ├── keyv │ │ ├── LICENSE │ │ ├── README.md │ │ ├── index.d.ts │ │ └── package.json │ ├── node │ │ ├── .DS_Store │ │ ├── LICENSE │ │ ├── README.md │ │ ├── assert.d.ts │ │ ├── assert │ │ │ └── strict.d.ts │ │ ├── async_hooks.d.ts │ │ ├── buffer.buffer.d.ts │ │ ├── buffer.d.ts │ │ ├── child_process.d.ts │ │ ├── cluster.d.ts │ │ ├── compatibility │ │ │ ├── disposable.d.ts │ │ │ ├── index.d.ts │ │ │ ├── indexable.d.ts │ │ │ └── iterators.d.ts │ │ ├── console.d.ts │ │ ├── constants.d.ts │ │ ├── crypto.d.ts │ │ ├── dgram.d.ts │ │ ├── diagnostics_channel.d.ts │ │ ├── dns.d.ts │ │ ├── dns │ │ │ └── promises.d.ts │ │ ├── dom-events.d.ts │ │ ├── domain.d.ts │ │ ├── events.d.ts │ │ ├── fs.d.ts │ │ ├── fs │ │ │ └── promises.d.ts │ │ ├── globals.d.ts │ │ ├── globals.typedarray.d.ts │ │ ├── http.d.ts │ │ ├── http2.d.ts │ │ ├── https.d.ts │ │ ├── index.d.ts │ │ ├── inspector.d.ts │ │ ├── module.d.ts │ │ ├── net.d.ts │ │ ├── os.d.ts │ │ ├── package.json │ │ ├── path.d.ts │ │ ├── perf_hooks.d.ts │ │ ├── process.d.ts │ │ ├── punycode.d.ts │ │ ├── querystring.d.ts │ │ ├── readline.d.ts │ │ ├── readline │ │ │ └── promises.d.ts │ │ ├── repl.d.ts │ │ ├── sea.d.ts │ │ ├── sqlite.d.ts │ │ ├── stream.d.ts │ │ ├── stream │ │ │ ├── consumers.d.ts │ │ │ ├── promises.d.ts │ │ │ └── web.d.ts │ │ ├── string_decoder.d.ts │ │ ├── test.d.ts │ │ ├── timers.d.ts │ │ ├── timers │ │ │ └── promises.d.ts │ │ ├── tls.d.ts │ │ ├── trace_events.d.ts │ │ ├── ts5.6 │ │ │ ├── buffer.buffer.d.ts │ │ │ ├── globals.typedarray.d.ts │ │ │ └── index.d.ts │ │ ├── tty.d.ts │ │ ├── url.d.ts │ │ ├── util.d.ts │ │ ├── v8.d.ts │ │ ├── vm.d.ts │ │ ├── wasi.d.ts │ │ ├── worker_threads.d.ts │ │ └── zlib.d.ts │ └── responselike │ │ ├── LICENSE │ │ ├── README.md │ │ ├── index.d.ts │ │ └── package.json ├── asynckit │ ├── LICENSE │ ├── README.md │ ├── bench.js │ ├── index.js │ ├── lib │ │ ├── abort.js │ │ ├── async.js │ │ ├── defer.js │ │ ├── iterate.js │ │ ├── readable_asynckit.js │ │ ├── readable_parallel.js │ │ ├── readable_serial.js │ │ ├── readable_serial_ordered.js │ │ ├── state.js │ │ ├── streamify.js │ │ └── terminator.js │ ├── package.json │ ├── parallel.js │ ├── serial.js │ ├── serialOrdered.js │ └── stream.js ├── axios │ ├── CHANGELOG.md │ ├── LICENSE │ ├── MIGRATION_GUIDE.md │ ├── README.md │ ├── dist │ │ ├── axios.js │ │ ├── axios.js.map │ │ ├── axios.min.js │ │ ├── axios.min.js.map │ │ ├── browser │ │ │ ├── axios.cjs │ │ │ └── axios.cjs.map │ │ ├── esm │ │ │ ├── axios.js │ │ │ ├── axios.js.map │ │ │ ├── axios.min.js │ │ │ └── axios.min.js.map │ │ └── node │ │ │ ├── axios.cjs │ │ │ └── axios.cjs.map │ ├── index.d.cts │ ├── index.d.ts │ ├── index.js │ ├── lib │ │ ├── adapters │ │ │ ├── README.md │ │ │ ├── adapters.js │ │ │ ├── fetch.js │ │ │ ├── http.js │ │ │ └── xhr.js │ │ ├── axios.js │ │ ├── cancel │ │ │ ├── CancelToken.js │ │ │ ├── CanceledError.js │ │ │ └── isCancel.js │ │ ├── core │ │ │ ├── Axios.js │ │ │ ├── AxiosError.js │ │ │ ├── AxiosHeaders.js │ │ │ ├── InterceptorManager.js │ │ │ ├── README.md │ │ │ ├── buildFullPath.js │ │ │ ├── dispatchRequest.js │ │ │ ├── mergeConfig.js │ │ │ ├── settle.js │ │ │ └── transformData.js │ │ ├── defaults │ │ │ ├── index.js │ │ │ └── transitional.js │ │ ├── env │ │ │ ├── README.md │ │ │ ├── classes │ │ │ │ └── FormData.js │ │ │ └── data.js │ │ ├── helpers │ │ │ ├── AxiosTransformStream.js │ │ │ ├── AxiosURLSearchParams.js │ │ │ ├── HttpStatusCode.js │ │ │ ├── README.md │ │ │ ├── ZlibHeaderTransformStream.js │ │ │ ├── bind.js │ │ │ ├── buildURL.js │ │ │ ├── callbackify.js │ │ │ ├── combineURLs.js │ │ │ ├── composeSignals.js │ │ │ ├── cookies.js │ │ │ ├── deprecatedMethod.js │ │ │ ├── formDataToJSON.js │ │ │ ├── formDataToStream.js │ │ │ ├── fromDataURI.js │ │ │ ├── isAbsoluteURL.js │ │ │ ├── isAxiosError.js │ │ │ ├── isURLSameOrigin.js │ │ │ ├── null.js │ │ │ ├── parseHeaders.js │ │ │ ├── parseProtocol.js │ │ │ ├── progressEventReducer.js │ │ │ ├── readBlob.js │ │ │ ├── resolveConfig.js │ │ │ ├── speedometer.js │ │ │ ├── spread.js │ │ │ ├── throttle.js │ │ │ ├── toFormData.js │ │ │ ├── toURLEncodedForm.js │ │ │ ├── trackStream.js │ │ │ └── validator.js │ │ ├── platform │ │ │ ├── browser │ │ │ │ ├── classes │ │ │ │ │ ├── Blob.js │ │ │ │ │ ├── FormData.js │ │ │ │ │ └── URLSearchParams.js │ │ │ │ └── index.js │ │ │ ├── common │ │ │ │ └── utils.js │ │ │ ├── index.js │ │ │ └── node │ │ │ │ ├── classes │ │ │ │ ├── FormData.js │ │ │ │ └── URLSearchParams.js │ │ │ │ └── index.js │ │ └── utils.js │ └── package.json ├── cacheable-lookup │ ├── LICENSE │ ├── README.md │ ├── index.d.ts │ ├── package.json │ └── source │ │ └── index.js ├── cacheable-request │ ├── LICENSE │ ├── README.md │ ├── package.json │ └── src │ │ └── index.js ├── call-bind-apply-helpers │ ├── .eslintrc │ ├── .github │ │ └── FUNDING.yml │ ├── .nycrc │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── actualApply.d.ts │ ├── actualApply.js │ ├── applyBind.d.ts │ ├── applyBind.js │ ├── functionApply.d.ts │ ├── functionApply.js │ ├── functionCall.d.ts │ ├── functionCall.js │ ├── index.d.ts │ ├── index.js │ ├── package.json │ ├── reflectApply.d.ts │ ├── reflectApply.js │ ├── test │ │ └── index.js │ └── tsconfig.json ├── call-bound │ ├── .eslintrc │ ├── .github │ │ └── FUNDING.yml │ ├── .nycrc │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── index.d.ts │ ├── index.js │ ├── package.json │ ├── test │ │ └── index.js │ └── tsconfig.json ├── clone-response │ ├── LICENSE │ ├── README.md │ ├── package.json │ └── src │ │ └── index.js ├── combined-stream │ ├── License │ ├── Readme.md │ ├── lib │ │ └── combined_stream.js │ ├── package.json │ └── yarn.lock ├── decompress-response │ ├── index.d.ts │ ├── index.js │ ├── license │ ├── node_modules │ │ └── mimic-response │ │ │ ├── index.d.ts │ │ │ ├── index.js │ │ │ ├── license │ │ │ ├── package.json │ │ │ └── readme.md │ ├── package.json │ └── readme.md ├── defer-to-connect │ ├── LICENSE │ ├── README.md │ ├── dist │ │ └── source │ │ │ ├── index.d.ts │ │ │ └── index.js │ └── package.json ├── delayed-stream │ ├── .npmignore │ ├── License │ ├── Makefile │ ├── Readme.md │ ├── lib │ │ └── delayed_stream.js │ └── package.json ├── dunder-proto │ ├── .eslintrc │ ├── .github │ │ └── FUNDING.yml │ ├── .nycrc │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── get.d.ts │ ├── get.js │ ├── package.json │ ├── set.d.ts │ ├── set.js │ ├── test │ │ ├── get.js │ │ ├── index.js │ │ └── set.js │ └── tsconfig.json ├── end-of-stream │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── es-define-property │ ├── .eslintrc │ ├── .github │ │ └── FUNDING.yml │ ├── .nycrc │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── index.d.ts │ ├── index.js │ ├── package.json │ ├── test │ │ └── index.js │ └── tsconfig.json ├── es-errors │ ├── .eslintrc │ ├── .github │ │ └── FUNDING.yml │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── eval.d.ts │ ├── eval.js │ ├── index.d.ts │ ├── index.js │ ├── package.json │ ├── range.d.ts │ ├── range.js │ ├── ref.d.ts │ ├── ref.js │ ├── syntax.d.ts │ ├── syntax.js │ ├── test │ │ └── index.js │ ├── tsconfig.json │ ├── type.d.ts │ ├── type.js │ ├── uri.d.ts │ └── uri.js ├── es-object-atoms │ ├── .eslintrc │ ├── .github │ │ └── FUNDING.yml │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── RequireObjectCoercible.d.ts │ ├── RequireObjectCoercible.js │ ├── ToObject.d.ts │ ├── ToObject.js │ ├── index.d.ts │ ├── index.js │ ├── isObject.d.ts │ ├── isObject.js │ ├── package.json │ ├── test │ │ └── index.js │ └── tsconfig.json ├── es-set-tostringtag │ ├── .eslintrc │ ├── .nycrc │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── index.d.ts │ ├── index.js │ ├── package.json │ ├── test │ │ └── index.js │ └── tsconfig.json ├── follow-redirects │ ├── LICENSE │ ├── README.md │ ├── debug.js │ ├── http.js │ ├── https.js │ ├── index.js │ └── package.json ├── form-data │ ├── License │ ├── Readme.md │ ├── index.d.ts │ ├── lib │ │ ├── browser.js │ │ ├── form_data.js │ │ └── populate.js │ └── package.json ├── function-bind │ ├── .eslintrc │ ├── .github │ │ ├── FUNDING.yml │ │ └── SECURITY.md │ ├── .nycrc │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── implementation.js │ ├── index.js │ ├── package.json │ └── test │ │ ├── .eslintrc │ │ └── index.js ├── get-intrinsic │ ├── .eslintrc │ ├── .github │ │ └── FUNDING.yml │ ├── .nycrc │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── index.js │ ├── package.json │ └── test │ │ └── GetIntrinsic.js ├── get-proto │ ├── .eslintrc │ ├── .github │ │ └── FUNDING.yml │ ├── .nycrc │ ├── CHANGELOG.md │ ├── LICENSE │ ├── Object.getPrototypeOf.d.ts │ ├── Object.getPrototypeOf.js │ ├── README.md │ ├── Reflect.getPrototypeOf.d.ts │ ├── Reflect.getPrototypeOf.js │ ├── index.d.ts │ ├── index.js │ ├── package.json │ ├── test │ │ └── index.js │ └── tsconfig.json ├── get-stream │ ├── buffer-stream.js │ ├── index.d.ts │ ├── index.js │ ├── license │ ├── package.json │ └── readme.md ├── gopd │ ├── .eslintrc │ ├── .github │ │ └── FUNDING.yml │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── gOPD.d.ts │ ├── gOPD.js │ ├── index.d.ts │ ├── index.js │ ├── package.json │ ├── test │ │ └── index.js │ └── tsconfig.json ├── got │ ├── dist │ │ └── source │ │ │ ├── as-promise │ │ │ ├── create-rejection.d.ts │ │ │ ├── create-rejection.js │ │ │ ├── index.d.ts │ │ │ ├── index.js │ │ │ ├── normalize-arguments.d.ts │ │ │ ├── normalize-arguments.js │ │ │ ├── parse-body.d.ts │ │ │ ├── parse-body.js │ │ │ ├── types.d.ts │ │ │ └── types.js │ │ │ ├── core │ │ │ ├── calculate-retry-delay.d.ts │ │ │ ├── calculate-retry-delay.js │ │ │ ├── index.d.ts │ │ │ ├── index.js │ │ │ └── utils │ │ │ │ ├── dns-ip-version.d.ts │ │ │ │ ├── dns-ip-version.js │ │ │ │ ├── get-body-size.d.ts │ │ │ │ ├── get-body-size.js │ │ │ │ ├── get-buffer.d.ts │ │ │ │ ├── get-buffer.js │ │ │ │ ├── is-form-data.d.ts │ │ │ │ ├── is-form-data.js │ │ │ │ ├── is-response-ok.d.ts │ │ │ │ ├── is-response-ok.js │ │ │ │ ├── options-to-url.d.ts │ │ │ │ ├── options-to-url.js │ │ │ │ ├── proxy-events.d.ts │ │ │ │ ├── proxy-events.js │ │ │ │ ├── timed-out.d.ts │ │ │ │ ├── timed-out.js │ │ │ │ ├── unhandle.d.ts │ │ │ │ ├── unhandle.js │ │ │ │ ├── url-to-options.d.ts │ │ │ │ ├── url-to-options.js │ │ │ │ ├── weakable-map.d.ts │ │ │ │ └── weakable-map.js │ │ │ ├── create.d.ts │ │ │ ├── create.js │ │ │ ├── index.d.ts │ │ │ ├── index.js │ │ │ ├── types.d.ts │ │ │ ├── types.js │ │ │ └── utils │ │ │ ├── deep-freeze.d.ts │ │ │ ├── deep-freeze.js │ │ │ ├── deprecation-warning.d.ts │ │ │ └── deprecation-warning.js │ ├── license │ ├── package.json │ └── readme.md ├── has-symbols │ ├── .eslintrc │ ├── .github │ │ └── FUNDING.yml │ ├── .nycrc │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── index.d.ts │ ├── index.js │ ├── package.json │ ├── shams.d.ts │ ├── shams.js │ ├── test │ │ ├── index.js │ │ ├── shams │ │ │ ├── core-js.js │ │ │ └── get-own-property-symbols.js │ │ └── tests.js │ └── tsconfig.json ├── has-tostringtag │ ├── .eslintrc │ ├── .github │ │ └── FUNDING.yml │ ├── .nycrc │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── index.d.ts │ ├── index.js │ ├── package.json │ ├── shams.d.ts │ ├── shams.js │ ├── test │ │ ├── index.js │ │ ├── shams │ │ │ ├── core-js.js │ │ │ └── get-own-property-symbols.js │ │ └── tests.js │ └── tsconfig.json ├── hasown │ ├── .eslintrc │ ├── .github │ │ └── FUNDING.yml │ ├── .nycrc │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── index.d.ts │ ├── index.js │ ├── package.json │ └── tsconfig.json ├── http-cache-semantics │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── http2-wrapper │ ├── LICENSE │ ├── README.md │ ├── package.json │ └── source │ │ ├── agent.js │ │ ├── auto.js │ │ ├── client-request.js │ │ ├── incoming-message.js │ │ ├── index.js │ │ └── utils │ │ ├── calculate-server-name.js │ │ ├── errors.js │ │ ├── is-request-pseudo-header.js │ │ ├── proxy-events.js │ │ └── url-to-options.js ├── json-buffer │ ├── .travis.yml │ ├── LICENSE │ ├── README.md │ ├── index.js │ ├── package.json │ └── test │ │ └── index.js ├── keyv │ ├── README.md │ ├── package.json │ └── src │ │ ├── index.d.ts │ │ └── index.js ├── lowercase-keys │ ├── index.d.ts │ ├── index.js │ ├── license │ ├── package.json │ └── readme.md ├── math-intrinsics │ ├── .eslintrc │ ├── .github │ │ └── FUNDING.yml │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── abs.d.ts │ ├── abs.js │ ├── constants │ │ ├── maxArrayLength.d.ts │ │ ├── maxArrayLength.js │ │ ├── maxSafeInteger.d.ts │ │ ├── maxSafeInteger.js │ │ ├── maxValue.d.ts │ │ └── maxValue.js │ ├── floor.d.ts │ ├── floor.js │ ├── isFinite.d.ts │ ├── isFinite.js │ ├── isInteger.d.ts │ ├── isInteger.js │ ├── isNaN.d.ts │ ├── isNaN.js │ ├── isNegativeZero.d.ts │ ├── isNegativeZero.js │ ├── max.d.ts │ ├── max.js │ ├── min.d.ts │ ├── min.js │ ├── mod.d.ts │ ├── mod.js │ ├── package.json │ ├── pow.d.ts │ ├── pow.js │ ├── round.d.ts │ ├── round.js │ ├── sign.d.ts │ ├── sign.js │ ├── test │ │ └── index.js │ └── tsconfig.json ├── mime-db │ ├── HISTORY.md │ ├── LICENSE │ ├── README.md │ ├── db.json │ ├── index.js │ └── package.json ├── mime-types │ ├── HISTORY.md │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── mimic-response │ ├── index.js │ ├── license │ ├── package.json │ └── readme.md ├── normalize-url │ ├── index.d.ts │ ├── index.js │ ├── license │ ├── package.json │ └── readme.md ├── object-inspect │ ├── .eslintrc │ ├── .github │ │ └── FUNDING.yml │ ├── .nycrc │ ├── CHANGELOG.md │ ├── LICENSE │ ├── example │ │ ├── all.js │ │ ├── circular.js │ │ ├── fn.js │ │ └── inspect.js │ ├── index.js │ ├── package-support.json │ ├── package.json │ ├── readme.markdown │ ├── test-core-js.js │ ├── test │ │ ├── bigint.js │ │ ├── browser │ │ │ └── dom.js │ │ ├── circular.js │ │ ├── deep.js │ │ ├── element.js │ │ ├── err.js │ │ ├── fakes.js │ │ ├── fn.js │ │ ├── global.js │ │ ├── has.js │ │ ├── holes.js │ │ ├── indent-option.js │ │ ├── inspect.js │ │ ├── lowbyte.js │ │ ├── number.js │ │ ├── quoteStyle.js │ │ ├── toStringTag.js │ │ ├── undef.js │ │ └── values.js │ └── util.inspect.js ├── once │ ├── LICENSE │ ├── README.md │ ├── once.js │ └── package.json ├── p-cancelable │ ├── index.d.ts │ ├── index.js │ ├── license │ ├── package.json │ └── readme.md ├── proxy-from-env │ ├── .eslintrc │ ├── .travis.yml │ ├── LICENSE │ ├── README.md │ ├── index.js │ ├── package.json │ └── test.js ├── pump │ ├── .github │ │ └── FUNDING.yml │ ├── .travis.yml │ ├── LICENSE │ ├── README.md │ ├── SECURITY.md │ ├── index.js │ ├── package.json │ ├── test-browser.js │ └── test-node.js ├── qs │ ├── .editorconfig │ ├── .eslintrc │ ├── .github │ │ └── FUNDING.yml │ ├── .nycrc │ ├── CHANGELOG.md │ ├── LICENSE.md │ ├── README.md │ ├── dist │ │ └── qs.js │ ├── lib │ │ ├── formats.js │ │ ├── index.js │ │ ├── parse.js │ │ ├── stringify.js │ │ └── utils.js │ ├── package.json │ └── test │ │ ├── empty-keys-cases.js │ │ ├── parse.js │ │ ├── stringify.js │ │ └── utils.js ├── quick-lru │ ├── index.d.ts │ ├── index.js │ ├── license │ ├── package.json │ └── readme.md ├── resolve-alpn │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── responselike │ ├── LICENSE │ ├── README.md │ ├── package.json │ └── src │ │ └── index.js ├── side-channel-list │ ├── .editorconfig │ ├── .eslintrc │ ├── .github │ │ └── FUNDING.yml │ ├── .nycrc │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── index.d.ts │ ├── index.js │ ├── list.d.ts │ ├── package.json │ ├── test │ │ └── index.js │ └── tsconfig.json ├── side-channel-map │ ├── .editorconfig │ ├── .eslintrc │ ├── .github │ │ └── FUNDING.yml │ ├── .nycrc │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── index.d.ts │ ├── index.js │ ├── package.json │ ├── test │ │ └── index.js │ └── tsconfig.json ├── side-channel-weakmap │ ├── .editorconfig │ ├── .eslintrc │ ├── .github │ │ └── FUNDING.yml │ ├── .nycrc │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── index.d.ts │ ├── index.js │ ├── package.json │ ├── test │ │ └── index.js │ └── tsconfig.json ├── side-channel │ ├── .editorconfig │ ├── .eslintrc │ ├── .github │ │ └── FUNDING.yml │ ├── .nycrc │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── index.d.ts │ ├── index.js │ ├── package.json │ ├── test │ │ └── index.js │ └── tsconfig.json ├── undici-types │ ├── LICENSE │ ├── README.md │ ├── agent.d.ts │ ├── api.d.ts │ ├── balanced-pool.d.ts │ ├── cache.d.ts │ ├── client.d.ts │ ├── connector.d.ts │ ├── content-type.d.ts │ ├── cookies.d.ts │ ├── diagnostics-channel.d.ts │ ├── dispatcher.d.ts │ ├── env-http-proxy-agent.d.ts │ ├── errors.d.ts │ ├── eventsource.d.ts │ ├── fetch.d.ts │ ├── file.d.ts │ ├── filereader.d.ts │ ├── formdata.d.ts │ ├── global-dispatcher.d.ts │ ├── global-origin.d.ts │ ├── handlers.d.ts │ ├── header.d.ts │ ├── index.d.ts │ ├── interceptors.d.ts │ ├── mock-agent.d.ts │ ├── mock-client.d.ts │ ├── mock-errors.d.ts │ ├── mock-interceptor.d.ts │ ├── mock-pool.d.ts │ ├── package.json │ ├── patch.d.ts │ ├── pool-stats.d.ts │ ├── pool.d.ts │ ├── proxy-agent.d.ts │ ├── readable.d.ts │ ├── retry-agent.d.ts │ ├── retry-handler.d.ts │ ├── util.d.ts │ ├── webidl.d.ts │ └── websocket.d.ts ├── wrappy │ ├── LICENSE │ ├── README.md │ ├── package.json │ └── wrappy.js └── ws │ ├── LICENSE │ ├── README.md │ ├── browser.js │ ├── index.js │ ├── lib │ ├── buffer-util.js │ ├── constants.js │ ├── event-target.js │ ├── extension.js │ ├── limiter.js │ ├── permessage-deflate.js │ ├── receiver.js │ ├── sender.js │ ├── stream.js │ ├── subprotocol.js │ ├── validation.js │ ├── websocket-server.js │ └── websocket.js │ ├── package.json │ └── wrapper.mjs ├── package-lock.json ├── package.json └── src ├── .DS_Store ├── README.md ├── app.js ├── config └── configLoader.js ├── core ├── orderManager.js ├── priceMonitor.js └── tradingStrategy.js ├── index.js ├── models ├── Order.js └── TradeStats.js ├── network └── webSocketManager.js ├── services └── backpackService.js └── utils ├── formatter.js ├── logger.js └── timeUtils.js /logs/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptocj520/bp3/9055f40589ef899cb62c0e49e5cdfb28a96c961a/logs/.DS_Store -------------------------------------------------------------------------------- /node_modules/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptocj520/bp3/9055f40589ef899cb62c0e49e5cdfb28a96c961a/node_modules/.DS_Store -------------------------------------------------------------------------------- /node_modules/@sindresorhus/is/dist/types.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | // Extracted from https://github.com/sindresorhus/type-fest/blob/78019f42ea888b0cdceb41a4a78163868de57555/index.d.ts 3 | Object.defineProperty(exports, "__esModule", { value: true }); 4 | -------------------------------------------------------------------------------- /node_modules/@szmarczak/http-timer/dist/source/index.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | import { ClientRequest, IncomingMessage } from 'http'; 3 | export interface Timings { 4 | start: number; 5 | socket?: number; 6 | lookup?: number; 7 | connect?: number; 8 | secureConnect?: number; 9 | upload?: number; 10 | response?: number; 11 | end?: number; 12 | error?: number; 13 | abort?: number; 14 | phases: { 15 | wait?: number; 16 | dns?: number; 17 | tcp?: number; 18 | tls?: number; 19 | request?: number; 20 | firstByte?: number; 21 | download?: number; 22 | total?: number; 23 | }; 24 | } 25 | export interface ClientRequestWithTimings extends ClientRequest { 26 | timings?: Timings; 27 | } 28 | export interface IncomingMessageWithTimings extends IncomingMessage { 29 | timings?: Timings; 30 | } 31 | declare const timer: (request: ClientRequestWithTimings) => Timings; 32 | export default timer; 33 | -------------------------------------------------------------------------------- /node_modules/@types/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptocj520/bp3/9055f40589ef899cb62c0e49e5cdfb28a96c961a/node_modules/@types/.DS_Store -------------------------------------------------------------------------------- /node_modules/@types/cacheable-request/README.md: -------------------------------------------------------------------------------- 1 | # Installation 2 | > `npm install --save @types/cacheable-request` 3 | 4 | # Summary 5 | This package contains type definitions for cacheable-request (https://github.com/lukechilds/cacheable-request#readme). 6 | 7 | # Details 8 | Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/cacheable-request. 9 | 10 | ### Additional Details 11 | * Last updated: Wed, 09 Nov 2022 16:32:53 GMT 12 | * Dependencies: [@types/http-cache-semantics](https://npmjs.com/package/@types/http-cache-semantics), [@types/keyv](https://npmjs.com/package/@types/keyv), [@types/node](https://npmjs.com/package/@types/node), [@types/responselike](https://npmjs.com/package/@types/responselike) 13 | * Global values: none 14 | 15 | # Credits 16 | These definitions were written by [BendingBender](https://github.com/BendingBender), and [Paul Melnikow](https://github.com/paulmelnikow). 17 | -------------------------------------------------------------------------------- /node_modules/@types/http-cache-semantics/README.md: -------------------------------------------------------------------------------- 1 | # Installation 2 | > `npm install --save @types/http-cache-semantics` 3 | 4 | # Summary 5 | This package contains type definitions for http-cache-semantics (https://github.com/kornelski/http-cache-semantics#readme). 6 | 7 | # Details 8 | Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/http-cache-semantics. 9 | 10 | ### Additional Details 11 | * Last updated: Tue, 07 Nov 2023 03:09:37 GMT 12 | * Dependencies: none 13 | 14 | # Credits 15 | These definitions were written by [BendingBender](https://github.com/BendingBender). 16 | -------------------------------------------------------------------------------- /node_modules/@types/http-cache-semantics/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@types/http-cache-semantics", 3 | "version": "4.0.4", 4 | "description": "TypeScript definitions for http-cache-semantics", 5 | "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/http-cache-semantics", 6 | "license": "MIT", 7 | "contributors": [ 8 | { 9 | "name": "BendingBender", 10 | "githubUsername": "BendingBender", 11 | "url": "https://github.com/BendingBender" 12 | } 13 | ], 14 | "main": "", 15 | "types": "index.d.ts", 16 | "repository": { 17 | "type": "git", 18 | "url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git", 19 | "directory": "types/http-cache-semantics" 20 | }, 21 | "scripts": {}, 22 | "dependencies": {}, 23 | "typesPublisherContentHash": "6cf8e230d4a5ae72d31765a8facf404307c59791befc65343d177843c7bbae91", 24 | "typeScriptVersion": "4.5" 25 | } -------------------------------------------------------------------------------- /node_modules/@types/keyv/README.md: -------------------------------------------------------------------------------- 1 | # Installation 2 | > `npm install --save @types/keyv` 3 | 4 | # Summary 5 | This package contains type definitions for keyv (https://github.com/lukechilds/keyv). 6 | 7 | # Details 8 | Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/keyv. 9 | 10 | ### Additional Details 11 | * Last updated: Thu, 17 Mar 2022 05:31:42 GMT 12 | * Dependencies: [@types/node](https://npmjs.com/package/@types/node) 13 | * Global values: none 14 | 15 | # Credits 16 | These definitions were written by [AryloYeung](https://github.com/Arylo), and [BendingBender](https://github.com/BendingBender). 17 | -------------------------------------------------------------------------------- /node_modules/@types/keyv/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@types/keyv", 3 | "version": "3.1.4", 4 | "description": "TypeScript definitions for keyv", 5 | "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/keyv", 6 | "license": "MIT", 7 | "contributors": [ 8 | { 9 | "name": "AryloYeung", 10 | "url": "https://github.com/Arylo", 11 | "githubUsername": "Arylo" 12 | }, 13 | { 14 | "name": "BendingBender", 15 | "url": "https://github.com/BendingBender", 16 | "githubUsername": "BendingBender" 17 | } 18 | ], 19 | "main": "", 20 | "types": "index.d.ts", 21 | "repository": { 22 | "type": "git", 23 | "url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git", 24 | "directory": "types/keyv" 25 | }, 26 | "scripts": {}, 27 | "dependencies": { 28 | "@types/node": "*" 29 | }, 30 | "typesPublisherContentHash": "e83393e0860475d12e960cede22532e18e129cf659f31f2a0298a88cb5d02d36", 31 | "typeScriptVersion": "3.9" 32 | } -------------------------------------------------------------------------------- /node_modules/@types/node/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptocj520/bp3/9055f40589ef899cb62c0e49e5cdfb28a96c961a/node_modules/@types/node/.DS_Store -------------------------------------------------------------------------------- /node_modules/@types/node/assert/strict.d.ts: -------------------------------------------------------------------------------- 1 | declare module "assert/strict" { 2 | import { strict } from "node:assert"; 3 | export = strict; 4 | } 5 | declare module "node:assert/strict" { 6 | import { strict } from "node:assert"; 7 | export = strict; 8 | } 9 | -------------------------------------------------------------------------------- /node_modules/@types/node/compatibility/disposable.d.ts: -------------------------------------------------------------------------------- 1 | // Polyfills for the explicit resource management types added in TypeScript 5.2. 2 | // TODO: remove once this package no longer supports TS 5.1, and replace with a 3 | // to TypeScript's disposable library in index.d.ts. 4 | 5 | interface SymbolConstructor { 6 | readonly dispose: unique symbol; 7 | readonly asyncDispose: unique symbol; 8 | } 9 | 10 | interface Disposable { 11 | [Symbol.dispose](): void; 12 | } 13 | 14 | interface AsyncDisposable { 15 | [Symbol.asyncDispose](): PromiseLike; 16 | } 17 | -------------------------------------------------------------------------------- /node_modules/@types/node/compatibility/index.d.ts: -------------------------------------------------------------------------------- 1 | // Declaration files in this directory contain types relating to TypeScript library features 2 | // that are not included in all TypeScript versions supported by DefinitelyTyped, but 3 | // which can be made backwards-compatible without needing `typesVersions`. 4 | // If adding declarations to this directory, please specify which versions of TypeScript require them, 5 | // so that they can be removed when no longer needed. 6 | 7 | /// 8 | /// 9 | /// 10 | -------------------------------------------------------------------------------- /node_modules/@types/node/constants.d.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * @deprecated The `node:constants` module is deprecated. When requiring access to constants 3 | * relevant to specific Node.js builtin modules, developers should instead refer 4 | * to the `constants` property exposed by the relevant module. For instance, 5 | * `require('node:fs').constants` and `require('node:os').constants`. 6 | */ 7 | declare module "constants" { 8 | const constants: 9 | & typeof import("node:os").constants.dlopen 10 | & typeof import("node:os").constants.errno 11 | & typeof import("node:os").constants.priority 12 | & typeof import("node:os").constants.signals 13 | & typeof import("node:fs").constants 14 | & typeof import("node:crypto").constants; 15 | export = constants; 16 | } 17 | 18 | declare module "node:constants" { 19 | import constants = require("constants"); 20 | export = constants; 21 | } 22 | -------------------------------------------------------------------------------- /node_modules/@types/node/globals.typedarray.d.ts: -------------------------------------------------------------------------------- 1 | export {}; // Make this a module 2 | 3 | declare global { 4 | namespace NodeJS { 5 | type TypedArray = 6 | | Uint8Array 7 | | Uint8ClampedArray 8 | | Uint16Array 9 | | Uint32Array 10 | | Int8Array 11 | | Int16Array 12 | | Int32Array 13 | | BigUint64Array 14 | | BigInt64Array 15 | | Float32Array 16 | | Float64Array; 17 | type ArrayBufferView = 18 | | TypedArray 19 | | DataView; 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /node_modules/@types/node/ts5.6/globals.typedarray.d.ts: -------------------------------------------------------------------------------- 1 | export {}; // Make this a module 2 | 3 | declare global { 4 | namespace NodeJS { 5 | type TypedArray = 6 | | Uint8Array 7 | | Uint8ClampedArray 8 | | Uint16Array 9 | | Uint32Array 10 | | Int8Array 11 | | Int16Array 12 | | Int32Array 13 | | BigUint64Array 14 | | BigInt64Array 15 | | Float32Array 16 | | Float64Array; 17 | type ArrayBufferView = TypedArray | DataView; 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /node_modules/@types/responselike/index.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | 3 | import { IncomingMessage } from "http"; 4 | import { Stream } from "stream"; 5 | 6 | export = ResponseLike; 7 | 8 | /** 9 | * Returns a streamable response object similar to a [Node.js HTTP response stream](https://nodejs.org/api/http.html#http_class_http_incomingmessage). 10 | */ 11 | declare class ResponseLike extends Stream.Readable { 12 | statusCode: number; 13 | headers: { [header: string]: string | string[] | undefined }; 14 | body: Buffer; 15 | url: string; 16 | 17 | /** 18 | * @param statusCode HTTP response status code. 19 | * @param headers HTTP headers object. Keys will be automatically lowercased. 20 | * @param body A Buffer containing the response body. The Buffer contents will be streamable but is also exposed directly as `response.body`. 21 | * @param url Request URL string. 22 | */ 23 | constructor( 24 | statusCode: number, 25 | headers: { [header: string]: string | string[] | undefined }, 26 | body: Buffer, 27 | url: string, 28 | ); 29 | } 30 | -------------------------------------------------------------------------------- /node_modules/@types/responselike/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@types/responselike", 3 | "version": "1.0.3", 4 | "description": "TypeScript definitions for responselike", 5 | "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/responselike", 6 | "license": "MIT", 7 | "contributors": [ 8 | { 9 | "name": "BendingBender", 10 | "githubUsername": "BendingBender", 11 | "url": "https://github.com/BendingBender" 12 | } 13 | ], 14 | "main": "", 15 | "types": "index.d.ts", 16 | "repository": { 17 | "type": "git", 18 | "url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git", 19 | "directory": "types/responselike" 20 | }, 21 | "scripts": {}, 22 | "dependencies": { 23 | "@types/node": "*" 24 | }, 25 | "typesPublisherContentHash": "ea1d581578b0ef6027b7cd6aa25990bb9ee8723d002d0617acf0aa4d3324aa49", 26 | "typeScriptVersion": "4.5" 27 | } -------------------------------------------------------------------------------- /node_modules/asynckit/index.js: -------------------------------------------------------------------------------- 1 | module.exports = 2 | { 3 | parallel : require('./parallel.js'), 4 | serial : require('./serial.js'), 5 | serialOrdered : require('./serialOrdered.js') 6 | }; 7 | -------------------------------------------------------------------------------- /node_modules/asynckit/lib/abort.js: -------------------------------------------------------------------------------- 1 | // API 2 | module.exports = abort; 3 | 4 | /** 5 | * Aborts leftover active jobs 6 | * 7 | * @param {object} state - current state object 8 | */ 9 | function abort(state) 10 | { 11 | Object.keys(state.jobs).forEach(clean.bind(state)); 12 | 13 | // reset leftover jobs 14 | state.jobs = {}; 15 | } 16 | 17 | /** 18 | * Cleans up leftover job by invoking abort function for the provided job id 19 | * 20 | * @this state 21 | * @param {string|number} key - job id to abort 22 | */ 23 | function clean(key) 24 | { 25 | if (typeof this.jobs[key] == 'function') 26 | { 27 | this.jobs[key](); 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /node_modules/asynckit/lib/async.js: -------------------------------------------------------------------------------- 1 | var defer = require('./defer.js'); 2 | 3 | // API 4 | module.exports = async; 5 | 6 | /** 7 | * Runs provided callback asynchronously 8 | * even if callback itself is not 9 | * 10 | * @param {function} callback - callback to invoke 11 | * @returns {function} - augmented callback 12 | */ 13 | function async(callback) 14 | { 15 | var isAsync = false; 16 | 17 | // check if async happened 18 | defer(function() { isAsync = true; }); 19 | 20 | return function async_callback(err, result) 21 | { 22 | if (isAsync) 23 | { 24 | callback(err, result); 25 | } 26 | else 27 | { 28 | defer(function nextTick_callback() 29 | { 30 | callback(err, result); 31 | }); 32 | } 33 | }; 34 | } 35 | -------------------------------------------------------------------------------- /node_modules/asynckit/lib/defer.js: -------------------------------------------------------------------------------- 1 | module.exports = defer; 2 | 3 | /** 4 | * Runs provided function on next iteration of the event loop 5 | * 6 | * @param {function} fn - function to run 7 | */ 8 | function defer(fn) 9 | { 10 | var nextTick = typeof setImmediate == 'function' 11 | ? setImmediate 12 | : ( 13 | typeof process == 'object' && typeof process.nextTick == 'function' 14 | ? process.nextTick 15 | : null 16 | ); 17 | 18 | if (nextTick) 19 | { 20 | nextTick(fn); 21 | } 22 | else 23 | { 24 | setTimeout(fn, 0); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /node_modules/asynckit/lib/readable_parallel.js: -------------------------------------------------------------------------------- 1 | var parallel = require('../parallel.js'); 2 | 3 | // API 4 | module.exports = ReadableParallel; 5 | 6 | /** 7 | * Streaming wrapper to `asynckit.parallel` 8 | * 9 | * @param {array|object} list - array or object (named list) to iterate over 10 | * @param {function} iterator - iterator to run 11 | * @param {function} callback - invoked when all elements processed 12 | * @returns {stream.Readable#} 13 | */ 14 | function ReadableParallel(list, iterator, callback) 15 | { 16 | if (!(this instanceof ReadableParallel)) 17 | { 18 | return new ReadableParallel(list, iterator, callback); 19 | } 20 | 21 | // turn on object mode 22 | ReadableParallel.super_.call(this, {objectMode: true}); 23 | 24 | this._start(parallel, list, iterator, callback); 25 | } 26 | -------------------------------------------------------------------------------- /node_modules/asynckit/lib/readable_serial.js: -------------------------------------------------------------------------------- 1 | var serial = require('../serial.js'); 2 | 3 | // API 4 | module.exports = ReadableSerial; 5 | 6 | /** 7 | * Streaming wrapper to `asynckit.serial` 8 | * 9 | * @param {array|object} list - array or object (named list) to iterate over 10 | * @param {function} iterator - iterator to run 11 | * @param {function} callback - invoked when all elements processed 12 | * @returns {stream.Readable#} 13 | */ 14 | function ReadableSerial(list, iterator, callback) 15 | { 16 | if (!(this instanceof ReadableSerial)) 17 | { 18 | return new ReadableSerial(list, iterator, callback); 19 | } 20 | 21 | // turn on object mode 22 | ReadableSerial.super_.call(this, {objectMode: true}); 23 | 24 | this._start(serial, list, iterator, callback); 25 | } 26 | -------------------------------------------------------------------------------- /node_modules/asynckit/lib/readable_serial_ordered.js: -------------------------------------------------------------------------------- 1 | var serialOrdered = require('../serialOrdered.js'); 2 | 3 | // API 4 | module.exports = ReadableSerialOrdered; 5 | // expose sort helpers 6 | module.exports.ascending = serialOrdered.ascending; 7 | module.exports.descending = serialOrdered.descending; 8 | 9 | /** 10 | * Streaming wrapper to `asynckit.serialOrdered` 11 | * 12 | * @param {array|object} list - array or object (named list) to iterate over 13 | * @param {function} iterator - iterator to run 14 | * @param {function} sortMethod - custom sort function 15 | * @param {function} callback - invoked when all elements processed 16 | * @returns {stream.Readable#} 17 | */ 18 | function ReadableSerialOrdered(list, iterator, sortMethod, callback) 19 | { 20 | if (!(this instanceof ReadableSerialOrdered)) 21 | { 22 | return new ReadableSerialOrdered(list, iterator, sortMethod, callback); 23 | } 24 | 25 | // turn on object mode 26 | ReadableSerialOrdered.super_.call(this, {objectMode: true}); 27 | 28 | this._start(serialOrdered, list, iterator, sortMethod, callback); 29 | } 30 | -------------------------------------------------------------------------------- /node_modules/asynckit/lib/state.js: -------------------------------------------------------------------------------- 1 | // API 2 | module.exports = state; 3 | 4 | /** 5 | * Creates initial state object 6 | * for iteration over list 7 | * 8 | * @param {array|object} list - list to iterate over 9 | * @param {function|null} sortMethod - function to use for keys sort, 10 | * or `null` to keep them as is 11 | * @returns {object} - initial state object 12 | */ 13 | function state(list, sortMethod) 14 | { 15 | var isNamedList = !Array.isArray(list) 16 | , initState = 17 | { 18 | index : 0, 19 | keyedList: isNamedList || sortMethod ? Object.keys(list) : null, 20 | jobs : {}, 21 | results : isNamedList ? {} : [], 22 | size : isNamedList ? Object.keys(list).length : list.length 23 | } 24 | ; 25 | 26 | if (sortMethod) 27 | { 28 | // sort array keys based on it's values 29 | // sort object's keys just on own merit 30 | initState.keyedList.sort(isNamedList ? sortMethod : function(a, b) 31 | { 32 | return sortMethod(list[a], list[b]); 33 | }); 34 | } 35 | 36 | return initState; 37 | } 38 | -------------------------------------------------------------------------------- /node_modules/asynckit/lib/terminator.js: -------------------------------------------------------------------------------- 1 | var abort = require('./abort.js') 2 | , async = require('./async.js') 3 | ; 4 | 5 | // API 6 | module.exports = terminator; 7 | 8 | /** 9 | * Terminates jobs in the attached state context 10 | * 11 | * @this AsyncKitState# 12 | * @param {function} callback - final callback to invoke after termination 13 | */ 14 | function terminator(callback) 15 | { 16 | if (!Object.keys(this.jobs).length) 17 | { 18 | return; 19 | } 20 | 21 | // fast forward iteration index 22 | this.index = this.size; 23 | 24 | // abort jobs 25 | abort(this); 26 | 27 | // send back results we have so far 28 | async(callback)(null, this.results); 29 | } 30 | -------------------------------------------------------------------------------- /node_modules/asynckit/serial.js: -------------------------------------------------------------------------------- 1 | var serialOrdered = require('./serialOrdered.js'); 2 | 3 | // Public API 4 | module.exports = serial; 5 | 6 | /** 7 | * Runs iterator over provided array elements in series 8 | * 9 | * @param {array|object} list - array or object (named list) to iterate over 10 | * @param {function} iterator - iterator to run 11 | * @param {function} callback - invoked when all elements processed 12 | * @returns {function} - jobs terminator 13 | */ 14 | function serial(list, iterator, callback) 15 | { 16 | return serialOrdered(list, iterator, null, callback); 17 | } 18 | -------------------------------------------------------------------------------- /node_modules/asynckit/stream.js: -------------------------------------------------------------------------------- 1 | var inherits = require('util').inherits 2 | , Readable = require('stream').Readable 3 | , ReadableAsyncKit = require('./lib/readable_asynckit.js') 4 | , ReadableParallel = require('./lib/readable_parallel.js') 5 | , ReadableSerial = require('./lib/readable_serial.js') 6 | , ReadableSerialOrdered = require('./lib/readable_serial_ordered.js') 7 | ; 8 | 9 | // API 10 | module.exports = 11 | { 12 | parallel : ReadableParallel, 13 | serial : ReadableSerial, 14 | serialOrdered : ReadableSerialOrdered, 15 | }; 16 | 17 | inherits(ReadableAsyncKit, Readable); 18 | 19 | inherits(ReadableParallel, ReadableAsyncKit); 20 | inherits(ReadableSerial, ReadableAsyncKit); 21 | inherits(ReadableSerialOrdered, ReadableAsyncKit); 22 | -------------------------------------------------------------------------------- /node_modules/axios/LICENSE: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2014-present Matt Zabriskie & Collaborators 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: 4 | 5 | The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. 6 | 7 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 8 | -------------------------------------------------------------------------------- /node_modules/axios/MIGRATION_GUIDE.md: -------------------------------------------------------------------------------- 1 | # Migration Guide 2 | 3 | ## 0.x.x -> 1.1.0 4 | -------------------------------------------------------------------------------- /node_modules/axios/index.js: -------------------------------------------------------------------------------- 1 | import axios from './lib/axios.js'; 2 | 3 | // This module is intended to unwrap Axios default export as named. 4 | // Keep top-level export same with static properties 5 | // so that it can keep same with es module or cjs 6 | const { 7 | Axios, 8 | AxiosError, 9 | CanceledError, 10 | isCancel, 11 | CancelToken, 12 | VERSION, 13 | all, 14 | Cancel, 15 | isAxiosError, 16 | spread, 17 | toFormData, 18 | AxiosHeaders, 19 | HttpStatusCode, 20 | formToJSON, 21 | getAdapter, 22 | mergeConfig 23 | } = axios; 24 | 25 | export { 26 | axios as default, 27 | Axios, 28 | AxiosError, 29 | CanceledError, 30 | isCancel, 31 | CancelToken, 32 | VERSION, 33 | all, 34 | Cancel, 35 | isAxiosError, 36 | spread, 37 | toFormData, 38 | AxiosHeaders, 39 | HttpStatusCode, 40 | formToJSON, 41 | getAdapter, 42 | mergeConfig 43 | } 44 | -------------------------------------------------------------------------------- /node_modules/axios/lib/adapters/README.md: -------------------------------------------------------------------------------- 1 | # axios // adapters 2 | 3 | The modules under `adapters/` are modules that handle dispatching a request and settling a returned `Promise` once a response is received. 4 | 5 | ## Example 6 | 7 | ```js 8 | var settle = require('./../core/settle'); 9 | 10 | module.exports = function myAdapter(config) { 11 | // At this point: 12 | // - config has been merged with defaults 13 | // - request transformers have already run 14 | // - request interceptors have already run 15 | 16 | // Make the request using config provided 17 | // Upon response settle the Promise 18 | 19 | return new Promise(function(resolve, reject) { 20 | 21 | var response = { 22 | data: responseData, 23 | status: request.status, 24 | statusText: request.statusText, 25 | headers: responseHeaders, 26 | config: config, 27 | request: request 28 | }; 29 | 30 | settle(resolve, reject, response); 31 | 32 | // From here: 33 | // - response transformers will run 34 | // - response interceptors will run 35 | }); 36 | } 37 | ``` 38 | -------------------------------------------------------------------------------- /node_modules/axios/lib/cancel/CanceledError.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | import AxiosError from '../core/AxiosError.js'; 4 | import utils from '../utils.js'; 5 | 6 | /** 7 | * A `CanceledError` is an object that is thrown when an operation is canceled. 8 | * 9 | * @param {string=} message The message. 10 | * @param {Object=} config The config. 11 | * @param {Object=} request The request. 12 | * 13 | * @returns {CanceledError} The created error. 14 | */ 15 | function CanceledError(message, config, request) { 16 | // eslint-disable-next-line no-eq-null,eqeqeq 17 | AxiosError.call(this, message == null ? 'canceled' : message, AxiosError.ERR_CANCELED, config, request); 18 | this.name = 'CanceledError'; 19 | } 20 | 21 | utils.inherits(CanceledError, AxiosError, { 22 | __CANCEL__: true 23 | }); 24 | 25 | export default CanceledError; 26 | -------------------------------------------------------------------------------- /node_modules/axios/lib/cancel/isCancel.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | export default function isCancel(value) { 4 | return !!(value && value.__CANCEL__); 5 | } 6 | -------------------------------------------------------------------------------- /node_modules/axios/lib/core/README.md: -------------------------------------------------------------------------------- 1 | # axios // core 2 | 3 | The modules found in `core/` should be modules that are specific to the domain logic of axios. These modules would most likely not make sense to be consumed outside of the axios module, as their logic is too specific. Some examples of core modules are: 4 | 5 | - Dispatching requests 6 | - Requests sent via `adapters/` (see lib/adapters/README.md) 7 | - Managing interceptors 8 | - Handling config 9 | -------------------------------------------------------------------------------- /node_modules/axios/lib/core/buildFullPath.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | import isAbsoluteURL from '../helpers/isAbsoluteURL.js'; 4 | import combineURLs from '../helpers/combineURLs.js'; 5 | 6 | /** 7 | * Creates a new URL by combining the baseURL with the requestedURL, 8 | * only when the requestedURL is not already an absolute URL. 9 | * If the requestURL is absolute, this function returns the requestedURL untouched. 10 | * 11 | * @param {string} baseURL The base URL 12 | * @param {string} requestedURL Absolute or relative URL to combine 13 | * 14 | * @returns {string} The combined full path 15 | */ 16 | export default function buildFullPath(baseURL, requestedURL, allowAbsoluteUrls) { 17 | let isRelativeUrl = !isAbsoluteURL(requestedURL); 18 | if (baseURL && (isRelativeUrl || allowAbsoluteUrls == false)) { 19 | return combineURLs(baseURL, requestedURL); 20 | } 21 | return requestedURL; 22 | } 23 | -------------------------------------------------------------------------------- /node_modules/axios/lib/core/settle.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | import AxiosError from './AxiosError.js'; 4 | 5 | /** 6 | * Resolve or reject a Promise based on response status. 7 | * 8 | * @param {Function} resolve A function that resolves the promise. 9 | * @param {Function} reject A function that rejects the promise. 10 | * @param {object} response The response. 11 | * 12 | * @returns {object} The response. 13 | */ 14 | export default function settle(resolve, reject, response) { 15 | const validateStatus = response.config.validateStatus; 16 | if (!response.status || !validateStatus || validateStatus(response.status)) { 17 | resolve(response); 18 | } else { 19 | reject(new AxiosError( 20 | 'Request failed with status code ' + response.status, 21 | [AxiosError.ERR_BAD_REQUEST, AxiosError.ERR_BAD_RESPONSE][Math.floor(response.status / 100) - 4], 22 | response.config, 23 | response.request, 24 | response 25 | )); 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /node_modules/axios/lib/core/transformData.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | import utils from './../utils.js'; 4 | import defaults from '../defaults/index.js'; 5 | import AxiosHeaders from '../core/AxiosHeaders.js'; 6 | 7 | /** 8 | * Transform the data for a request or a response 9 | * 10 | * @param {Array|Function} fns A single function or Array of functions 11 | * @param {?Object} response The response object 12 | * 13 | * @returns {*} The resulting transformed data 14 | */ 15 | export default function transformData(fns, response) { 16 | const config = this || defaults; 17 | const context = response || config; 18 | const headers = AxiosHeaders.from(context.headers); 19 | let data = context.data; 20 | 21 | utils.forEach(fns, function transform(fn) { 22 | data = fn.call(config, data, headers.normalize(), response ? response.status : undefined); 23 | }); 24 | 25 | headers.normalize(); 26 | 27 | return data; 28 | } 29 | -------------------------------------------------------------------------------- /node_modules/axios/lib/defaults/transitional.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | export default { 4 | silentJSONParsing: true, 5 | forcedJSONParsing: true, 6 | clarifyTimeoutError: false 7 | }; 8 | -------------------------------------------------------------------------------- /node_modules/axios/lib/env/README.md: -------------------------------------------------------------------------------- 1 | # axios // env 2 | 3 | The `data.js` file is updated automatically when the package version is upgrading. Please do not edit it manually. 4 | -------------------------------------------------------------------------------- /node_modules/axios/lib/env/classes/FormData.js: -------------------------------------------------------------------------------- 1 | import _FormData from 'form-data'; 2 | export default typeof FormData !== 'undefined' ? FormData : _FormData; 3 | -------------------------------------------------------------------------------- /node_modules/axios/lib/env/data.js: -------------------------------------------------------------------------------- 1 | export const VERSION = "1.8.4"; -------------------------------------------------------------------------------- /node_modules/axios/lib/helpers/README.md: -------------------------------------------------------------------------------- 1 | # axios // helpers 2 | 3 | The modules found in `helpers/` should be generic modules that are _not_ specific to the domain logic of axios. These modules could theoretically be published to npm on their own and consumed by other modules or apps. Some examples of generic modules are things like: 4 | 5 | - Browser polyfills 6 | - Managing cookies 7 | - Parsing HTTP headers 8 | -------------------------------------------------------------------------------- /node_modules/axios/lib/helpers/ZlibHeaderTransformStream.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | 3 | import stream from "stream"; 4 | 5 | class ZlibHeaderTransformStream extends stream.Transform { 6 | __transform(chunk, encoding, callback) { 7 | this.push(chunk); 8 | callback(); 9 | } 10 | 11 | _transform(chunk, encoding, callback) { 12 | if (chunk.length !== 0) { 13 | this._transform = this.__transform; 14 | 15 | // Add Default Compression headers if no zlib headers are present 16 | if (chunk[0] !== 120) { // Hex: 78 17 | const header = Buffer.alloc(2); 18 | header[0] = 120; // Hex: 78 19 | header[1] = 156; // Hex: 9C 20 | this.push(header, encoding); 21 | } 22 | } 23 | 24 | this.__transform(chunk, encoding, callback); 25 | } 26 | } 27 | 28 | export default ZlibHeaderTransformStream; 29 | -------------------------------------------------------------------------------- /node_modules/axios/lib/helpers/bind.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | export default function bind(fn, thisArg) { 4 | return function wrap() { 5 | return fn.apply(thisArg, arguments); 6 | }; 7 | } 8 | -------------------------------------------------------------------------------- /node_modules/axios/lib/helpers/callbackify.js: -------------------------------------------------------------------------------- 1 | import utils from "../utils.js"; 2 | 3 | const callbackify = (fn, reducer) => { 4 | return utils.isAsyncFn(fn) ? function (...args) { 5 | const cb = args.pop(); 6 | fn.apply(this, args).then((value) => { 7 | try { 8 | reducer ? cb(null, ...reducer(value)) : cb(null, value); 9 | } catch (err) { 10 | cb(err); 11 | } 12 | }, cb); 13 | } : fn; 14 | } 15 | 16 | export default callbackify; 17 | -------------------------------------------------------------------------------- /node_modules/axios/lib/helpers/combineURLs.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | /** 4 | * Creates a new URL by combining the specified URLs 5 | * 6 | * @param {string} baseURL The base URL 7 | * @param {string} relativeURL The relative URL 8 | * 9 | * @returns {string} The combined URL 10 | */ 11 | export default function combineURLs(baseURL, relativeURL) { 12 | return relativeURL 13 | ? baseURL.replace(/\/?\/$/, '') + '/' + relativeURL.replace(/^\/+/, '') 14 | : baseURL; 15 | } 16 | -------------------------------------------------------------------------------- /node_modules/axios/lib/helpers/deprecatedMethod.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | /*eslint no-console:0*/ 4 | 5 | /** 6 | * Supply a warning to the developer that a method they are using 7 | * has been deprecated. 8 | * 9 | * @param {string} method The name of the deprecated method 10 | * @param {string} [instead] The alternate method to use if applicable 11 | * @param {string} [docs] The documentation URL to get further details 12 | * 13 | * @returns {void} 14 | */ 15 | export default function deprecatedMethod(method, instead, docs) { 16 | try { 17 | console.warn( 18 | 'DEPRECATED method `' + method + '`.' + 19 | (instead ? ' Use `' + instead + '` instead.' : '') + 20 | ' This method will be removed in a future release.'); 21 | 22 | if (docs) { 23 | console.warn('For more information about usage see ' + docs); 24 | } 25 | } catch (e) { /* Ignore */ } 26 | } 27 | -------------------------------------------------------------------------------- /node_modules/axios/lib/helpers/isAbsoluteURL.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | /** 4 | * Determines whether the specified URL is absolute 5 | * 6 | * @param {string} url The URL to test 7 | * 8 | * @returns {boolean} True if the specified URL is absolute, otherwise false 9 | */ 10 | export default function isAbsoluteURL(url) { 11 | // A URL is considered absolute if it begins with "://" or "//" (protocol-relative URL). 12 | // RFC 3986 defines scheme name as a sequence of characters beginning with a letter and followed 13 | // by any combination of letters, digits, plus, period, or hyphen. 14 | return /^([a-z][a-z\d+\-.]*:)?\/\//i.test(url); 15 | } 16 | -------------------------------------------------------------------------------- /node_modules/axios/lib/helpers/isAxiosError.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | import utils from './../utils.js'; 4 | 5 | /** 6 | * Determines whether the payload is an error thrown by Axios 7 | * 8 | * @param {*} payload The value to test 9 | * 10 | * @returns {boolean} True if the payload is an error thrown by Axios, otherwise false 11 | */ 12 | export default function isAxiosError(payload) { 13 | return utils.isObject(payload) && (payload.isAxiosError === true); 14 | } 15 | -------------------------------------------------------------------------------- /node_modules/axios/lib/helpers/isURLSameOrigin.js: -------------------------------------------------------------------------------- 1 | import platform from '../platform/index.js'; 2 | 3 | export default platform.hasStandardBrowserEnv ? ((origin, isMSIE) => (url) => { 4 | url = new URL(url, platform.origin); 5 | 6 | return ( 7 | origin.protocol === url.protocol && 8 | origin.host === url.host && 9 | (isMSIE || origin.port === url.port) 10 | ); 11 | })( 12 | new URL(platform.origin), 13 | platform.navigator && /(msie|trident)/i.test(platform.navigator.userAgent) 14 | ) : () => true; 15 | -------------------------------------------------------------------------------- /node_modules/axios/lib/helpers/null.js: -------------------------------------------------------------------------------- 1 | // eslint-disable-next-line strict 2 | export default null; 3 | -------------------------------------------------------------------------------- /node_modules/axios/lib/helpers/parseProtocol.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | export default function parseProtocol(url) { 4 | const match = /^([-+\w]{1,25})(:?\/\/|:)/.exec(url); 5 | return match && match[1] || ''; 6 | } 7 | -------------------------------------------------------------------------------- /node_modules/axios/lib/helpers/readBlob.js: -------------------------------------------------------------------------------- 1 | const {asyncIterator} = Symbol; 2 | 3 | const readBlob = async function* (blob) { 4 | if (blob.stream) { 5 | yield* blob.stream() 6 | } else if (blob.arrayBuffer) { 7 | yield await blob.arrayBuffer() 8 | } else if (blob[asyncIterator]) { 9 | yield* blob[asyncIterator](); 10 | } else { 11 | yield blob; 12 | } 13 | } 14 | 15 | export default readBlob; 16 | -------------------------------------------------------------------------------- /node_modules/axios/lib/helpers/spread.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | /** 4 | * Syntactic sugar for invoking a function and expanding an array for arguments. 5 | * 6 | * Common use case would be to use `Function.prototype.apply`. 7 | * 8 | * ```js 9 | * function f(x, y, z) {} 10 | * var args = [1, 2, 3]; 11 | * f.apply(null, args); 12 | * ``` 13 | * 14 | * With `spread` this example can be re-written. 15 | * 16 | * ```js 17 | * spread(function(x, y, z) {})([1, 2, 3]); 18 | * ``` 19 | * 20 | * @param {Function} callback 21 | * 22 | * @returns {Function} 23 | */ 24 | export default function spread(callback) { 25 | return function wrap(arr) { 26 | return callback.apply(null, arr); 27 | }; 28 | } 29 | -------------------------------------------------------------------------------- /node_modules/axios/lib/helpers/throttle.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Throttle decorator 3 | * @param {Function} fn 4 | * @param {Number} freq 5 | * @return {Function} 6 | */ 7 | function throttle(fn, freq) { 8 | let timestamp = 0; 9 | let threshold = 1000 / freq; 10 | let lastArgs; 11 | let timer; 12 | 13 | const invoke = (args, now = Date.now()) => { 14 | timestamp = now; 15 | lastArgs = null; 16 | if (timer) { 17 | clearTimeout(timer); 18 | timer = null; 19 | } 20 | fn.apply(null, args); 21 | } 22 | 23 | const throttled = (...args) => { 24 | const now = Date.now(); 25 | const passed = now - timestamp; 26 | if ( passed >= threshold) { 27 | invoke(args, now); 28 | } else { 29 | lastArgs = args; 30 | if (!timer) { 31 | timer = setTimeout(() => { 32 | timer = null; 33 | invoke(lastArgs) 34 | }, threshold - passed); 35 | } 36 | } 37 | } 38 | 39 | const flush = () => lastArgs && invoke(lastArgs); 40 | 41 | return [throttled, flush]; 42 | } 43 | 44 | export default throttle; 45 | -------------------------------------------------------------------------------- /node_modules/axios/lib/helpers/toURLEncodedForm.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | import utils from '../utils.js'; 4 | import toFormData from './toFormData.js'; 5 | import platform from '../platform/index.js'; 6 | 7 | export default function toURLEncodedForm(data, options) { 8 | return toFormData(data, new platform.classes.URLSearchParams(), Object.assign({ 9 | visitor: function(value, key, path, helpers) { 10 | if (platform.isNode && utils.isBuffer(value)) { 11 | this.append(key, value.toString('base64')); 12 | return false; 13 | } 14 | 15 | return helpers.defaultVisitor.apply(this, arguments); 16 | } 17 | }, options)); 18 | } 19 | -------------------------------------------------------------------------------- /node_modules/axios/lib/platform/browser/classes/Blob.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | export default typeof Blob !== 'undefined' ? Blob : null 4 | -------------------------------------------------------------------------------- /node_modules/axios/lib/platform/browser/classes/FormData.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | export default typeof FormData !== 'undefined' ? FormData : null; 4 | -------------------------------------------------------------------------------- /node_modules/axios/lib/platform/browser/classes/URLSearchParams.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | import AxiosURLSearchParams from '../../../helpers/AxiosURLSearchParams.js'; 4 | export default typeof URLSearchParams !== 'undefined' ? URLSearchParams : AxiosURLSearchParams; 5 | -------------------------------------------------------------------------------- /node_modules/axios/lib/platform/browser/index.js: -------------------------------------------------------------------------------- 1 | import URLSearchParams from './classes/URLSearchParams.js' 2 | import FormData from './classes/FormData.js' 3 | import Blob from './classes/Blob.js' 4 | 5 | export default { 6 | isBrowser: true, 7 | classes: { 8 | URLSearchParams, 9 | FormData, 10 | Blob 11 | }, 12 | protocols: ['http', 'https', 'file', 'blob', 'url', 'data'] 13 | }; 14 | -------------------------------------------------------------------------------- /node_modules/axios/lib/platform/index.js: -------------------------------------------------------------------------------- 1 | import platform from './node/index.js'; 2 | import * as utils from './common/utils.js'; 3 | 4 | export default { 5 | ...utils, 6 | ...platform 7 | } 8 | -------------------------------------------------------------------------------- /node_modules/axios/lib/platform/node/classes/FormData.js: -------------------------------------------------------------------------------- 1 | import FormData from 'form-data'; 2 | 3 | export default FormData; 4 | -------------------------------------------------------------------------------- /node_modules/axios/lib/platform/node/classes/URLSearchParams.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | import url from 'url'; 4 | export default url.URLSearchParams; 5 | -------------------------------------------------------------------------------- /node_modules/axios/lib/platform/node/index.js: -------------------------------------------------------------------------------- 1 | import crypto from 'crypto'; 2 | import URLSearchParams from './classes/URLSearchParams.js' 3 | import FormData from './classes/FormData.js' 4 | 5 | const ALPHA = 'abcdefghijklmnopqrstuvwxyz' 6 | 7 | const DIGIT = '0123456789'; 8 | 9 | const ALPHABET = { 10 | DIGIT, 11 | ALPHA, 12 | ALPHA_DIGIT: ALPHA + ALPHA.toUpperCase() + DIGIT 13 | } 14 | 15 | const generateString = (size = 16, alphabet = ALPHABET.ALPHA_DIGIT) => { 16 | let str = ''; 17 | const {length} = alphabet; 18 | const randomValues = new Uint32Array(size); 19 | crypto.randomFillSync(randomValues); 20 | for (let i = 0; i < size; i++) { 21 | str += alphabet[randomValues[i] % length]; 22 | } 23 | 24 | return str; 25 | } 26 | 27 | 28 | export default { 29 | isNode: true, 30 | classes: { 31 | URLSearchParams, 32 | FormData, 33 | Blob: typeof Blob !== 'undefined' && Blob || null 34 | }, 35 | ALPHABET, 36 | generateString, 37 | protocols: [ 'http', 'https', 'file', 'data' ] 38 | }; 39 | -------------------------------------------------------------------------------- /node_modules/call-bind-apply-helpers/.eslintrc: -------------------------------------------------------------------------------- 1 | { 2 | "root": true, 3 | 4 | "extends": "@ljharb", 5 | 6 | "rules": { 7 | "func-name-matching": 0, 8 | "id-length": 0, 9 | "new-cap": [2, { 10 | "capIsNewExceptions": [ 11 | "GetIntrinsic", 12 | ], 13 | }], 14 | "no-extra-parens": 0, 15 | "no-magic-numbers": 0, 16 | }, 17 | } 18 | -------------------------------------------------------------------------------- /node_modules/call-bind-apply-helpers/.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | # These are supported funding model platforms 2 | 3 | github: [ljharb] 4 | patreon: # Replace with a single Patreon username 5 | open_collective: # Replace with a single Open Collective username 6 | ko_fi: # Replace with a single Ko-fi username 7 | tidelift: npm/call-bind-apply-helpers 8 | community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry 9 | liberapay: # Replace with a single Liberapay username 10 | issuehunt: # Replace with a single IssueHunt username 11 | otechie: # Replace with a single Otechie username 12 | custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2'] 13 | -------------------------------------------------------------------------------- /node_modules/call-bind-apply-helpers/.nycrc: -------------------------------------------------------------------------------- 1 | { 2 | "all": true, 3 | "check-coverage": false, 4 | "reporter": ["text-summary", "text", "html", "json"], 5 | "exclude": [ 6 | "coverage", 7 | "test" 8 | ] 9 | } 10 | -------------------------------------------------------------------------------- /node_modules/call-bind-apply-helpers/actualApply.d.ts: -------------------------------------------------------------------------------- 1 | export = Reflect.apply; -------------------------------------------------------------------------------- /node_modules/call-bind-apply-helpers/actualApply.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var bind = require('function-bind'); 4 | 5 | var $apply = require('./functionApply'); 6 | var $call = require('./functionCall'); 7 | var $reflectApply = require('./reflectApply'); 8 | 9 | /** @type {import('./actualApply')} */ 10 | module.exports = $reflectApply || bind.call($call, $apply); 11 | -------------------------------------------------------------------------------- /node_modules/call-bind-apply-helpers/applyBind.d.ts: -------------------------------------------------------------------------------- 1 | import actualApply from './actualApply'; 2 | 3 | type TupleSplitHead = T['length'] extends N 4 | ? T 5 | : T extends [...infer R, any] 6 | ? TupleSplitHead 7 | : never 8 | 9 | type TupleSplitTail = O['length'] extends N 10 | ? T 11 | : T extends [infer F, ...infer R] 12 | ? TupleSplitTail<[...R], N, [...O, F]> 13 | : never 14 | 15 | type TupleSplit = [TupleSplitHead, TupleSplitTail] 16 | 17 | declare function applyBind(...args: TupleSplit, 2>[1]): ReturnType; 18 | 19 | export = applyBind; -------------------------------------------------------------------------------- /node_modules/call-bind-apply-helpers/applyBind.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var bind = require('function-bind'); 4 | var $apply = require('./functionApply'); 5 | var actualApply = require('./actualApply'); 6 | 7 | /** @type {import('./applyBind')} */ 8 | module.exports = function applyBind() { 9 | return actualApply(bind, $apply, arguments); 10 | }; 11 | -------------------------------------------------------------------------------- /node_modules/call-bind-apply-helpers/functionApply.d.ts: -------------------------------------------------------------------------------- 1 | export = Function.prototype.apply; -------------------------------------------------------------------------------- /node_modules/call-bind-apply-helpers/functionApply.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | /** @type {import('./functionApply')} */ 4 | module.exports = Function.prototype.apply; 5 | -------------------------------------------------------------------------------- /node_modules/call-bind-apply-helpers/functionCall.d.ts: -------------------------------------------------------------------------------- 1 | export = Function.prototype.call; -------------------------------------------------------------------------------- /node_modules/call-bind-apply-helpers/functionCall.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | /** @type {import('./functionCall')} */ 4 | module.exports = Function.prototype.call; 5 | -------------------------------------------------------------------------------- /node_modules/call-bind-apply-helpers/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var bind = require('function-bind'); 4 | var $TypeError = require('es-errors/type'); 5 | 6 | var $call = require('./functionCall'); 7 | var $actualApply = require('./actualApply'); 8 | 9 | /** @type {(args: [Function, thisArg?: unknown, ...args: unknown[]]) => Function} TODO FIXME, find a way to use import('.') */ 10 | module.exports = function callBindBasic(args) { 11 | if (args.length < 1 || typeof args[0] !== 'function') { 12 | throw new $TypeError('a function is required'); 13 | } 14 | return $actualApply(bind, $call, args); 15 | }; 16 | -------------------------------------------------------------------------------- /node_modules/call-bind-apply-helpers/reflectApply.d.ts: -------------------------------------------------------------------------------- 1 | declare const reflectApply: false | typeof Reflect.apply; 2 | 3 | export = reflectApply; 4 | -------------------------------------------------------------------------------- /node_modules/call-bind-apply-helpers/reflectApply.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | /** @type {import('./reflectApply')} */ 4 | module.exports = typeof Reflect !== 'undefined' && Reflect && Reflect.apply; 5 | -------------------------------------------------------------------------------- /node_modules/call-bind-apply-helpers/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "@ljharb/tsconfig", 3 | "compilerOptions": { 4 | "target": "es2021", 5 | }, 6 | "exclude": [ 7 | "coverage", 8 | ], 9 | } -------------------------------------------------------------------------------- /node_modules/call-bound/.eslintrc: -------------------------------------------------------------------------------- 1 | { 2 | "root": true, 3 | 4 | "extends": "@ljharb", 5 | 6 | "rules": { 7 | "new-cap": [2, { 8 | "capIsNewExceptions": [ 9 | "GetIntrinsic", 10 | ], 11 | }], 12 | }, 13 | } 14 | -------------------------------------------------------------------------------- /node_modules/call-bound/.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | # These are supported funding model platforms 2 | 3 | github: [ljharb] 4 | patreon: # Replace with a single Patreon username 5 | open_collective: # Replace with a single Open Collective username 6 | ko_fi: # Replace with a single Ko-fi username 7 | tidelift: npm/call-bound 8 | community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry 9 | liberapay: # Replace with a single Liberapay username 10 | issuehunt: # Replace with a single IssueHunt username 11 | otechie: # Replace with a single Otechie username 12 | custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2'] 13 | -------------------------------------------------------------------------------- /node_modules/call-bound/.nycrc: -------------------------------------------------------------------------------- 1 | { 2 | "all": true, 3 | "check-coverage": false, 4 | "reporter": ["text-summary", "text", "html", "json"], 5 | "exclude": [ 6 | "coverage", 7 | "test" 8 | ] 9 | } 10 | -------------------------------------------------------------------------------- /node_modules/call-bound/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var GetIntrinsic = require('get-intrinsic'); 4 | 5 | var callBindBasic = require('call-bind-apply-helpers'); 6 | 7 | /** @type {(thisArg: string, searchString: string, position?: number) => number} */ 8 | var $indexOf = callBindBasic([GetIntrinsic('%String.prototype.indexOf%')]); 9 | 10 | /** @type {import('.')} */ 11 | module.exports = function callBoundIntrinsic(name, allowMissing) { 12 | /* eslint no-extra-parens: 0 */ 13 | 14 | var intrinsic = /** @type {(this: unknown, ...args: unknown[]) => unknown} */ (GetIntrinsic(name, !!allowMissing)); 15 | if (typeof intrinsic === 'function' && $indexOf(name, '.prototype.') > -1) { 16 | return callBindBasic(/** @type {const} */ ([intrinsic])); 17 | } 18 | return intrinsic; 19 | }; 20 | -------------------------------------------------------------------------------- /node_modules/call-bound/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "@ljharb/tsconfig", 3 | "compilerOptions": { 4 | "target": "ESNext", 5 | "lib": ["es2024"], 6 | }, 7 | "exclude": [ 8 | "coverage", 9 | ], 10 | } 11 | -------------------------------------------------------------------------------- /node_modules/clone-response/src/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | const PassThrough = require('stream').PassThrough; 4 | const mimicResponse = require('mimic-response'); 5 | 6 | const cloneResponse = response => { 7 | if (!(response && response.pipe)) { 8 | throw new TypeError('Parameter `response` must be a response stream.'); 9 | } 10 | 11 | const clone = new PassThrough(); 12 | mimicResponse(response, clone); 13 | 14 | return response.pipe(clone); 15 | }; 16 | 17 | module.exports = cloneResponse; 18 | -------------------------------------------------------------------------------- /node_modules/combined-stream/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "author": "Felix Geisendörfer (http://debuggable.com/)", 3 | "name": "combined-stream", 4 | "description": "A stream that emits multiple other streams one after another.", 5 | "version": "1.0.8", 6 | "homepage": "https://github.com/felixge/node-combined-stream", 7 | "repository": { 8 | "type": "git", 9 | "url": "git://github.com/felixge/node-combined-stream.git" 10 | }, 11 | "main": "./lib/combined_stream", 12 | "scripts": { 13 | "test": "node test/run.js" 14 | }, 15 | "engines": { 16 | "node": ">= 0.8" 17 | }, 18 | "dependencies": { 19 | "delayed-stream": "~1.0.0" 20 | }, 21 | "devDependencies": { 22 | "far": "~0.0.7" 23 | }, 24 | "license": "MIT" 25 | } 26 | -------------------------------------------------------------------------------- /node_modules/combined-stream/yarn.lock: -------------------------------------------------------------------------------- 1 | # THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. 2 | # yarn lockfile v1 3 | 4 | 5 | delayed-stream@~1.0.0: 6 | version "1.0.0" 7 | resolved "https://registry.yarnpkg.com/delayed-stream/-/delayed-stream-1.0.0.tgz#df3ae199acadfb7d440aaae0b29e2272b24ec619" 8 | 9 | far@~0.0.7: 10 | version "0.0.7" 11 | resolved "https://registry.yarnpkg.com/far/-/far-0.0.7.tgz#01c1fd362bcd26ce9cf161af3938aa34619f79a7" 12 | dependencies: 13 | oop "0.0.3" 14 | 15 | oop@0.0.3: 16 | version "0.0.3" 17 | resolved "https://registry.yarnpkg.com/oop/-/oop-0.0.3.tgz#70fa405a5650891a194fdc82ca68dad6dabf4401" 18 | -------------------------------------------------------------------------------- /node_modules/decompress-response/index.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | import {IncomingMessage} from 'http'; 3 | 4 | /** 5 | Decompress a HTTP response if needed. 6 | 7 | @param response - The HTTP incoming stream with compressed data. 8 | @returns The decompressed HTTP response stream. 9 | 10 | @example 11 | ``` 12 | import {http} from 'http'; 13 | import decompressResponse = require('decompress-response'); 14 | 15 | http.get('https://sindresorhus.com', response => { 16 | response = decompressResponse(response); 17 | }); 18 | ``` 19 | */ 20 | declare function decompressResponse(response: IncomingMessage): IncomingMessage; 21 | 22 | export = decompressResponse; 23 | -------------------------------------------------------------------------------- /node_modules/decompress-response/node_modules/mimic-response/index.d.ts: -------------------------------------------------------------------------------- 1 | import {IncomingMessage} from 'http'; 2 | 3 | /** 4 | Mimic a [Node.js HTTP response stream](https://nodejs.org/api/http.html#http_class_http_incomingmessage) 5 | 6 | Makes `toStream` include the properties from `fromStream`. 7 | 8 | @param fromStream - The stream to copy the properties from. 9 | @param toStream - The stream to copy the properties to. 10 | @return The same object as `toStream`. 11 | */ 12 | declare function mimicResponse( 13 | fromStream: IncomingMessage, // eslint-disable-line @typescript-eslint/prefer-readonly-parameter-types 14 | toStream: T, 15 | ): T & IncomingMessage; 16 | 17 | export = mimicResponse; 18 | -------------------------------------------------------------------------------- /node_modules/decompress-response/node_modules/mimic-response/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "mimic-response", 3 | "version": "3.1.0", 4 | "description": "Mimic a Node.js HTTP response stream", 5 | "license": "MIT", 6 | "repository": "sindresorhus/mimic-response", 7 | "funding": "https://github.com/sponsors/sindresorhus", 8 | "author": { 9 | "name": "Sindre Sorhus", 10 | "email": "sindresorhus@gmail.com", 11 | "url": "https://sindresorhus.com" 12 | }, 13 | "engines": { 14 | "node": ">=10" 15 | }, 16 | "scripts": { 17 | "test": "xo && ava && tsd" 18 | }, 19 | "files": [ 20 | "index.d.ts", 21 | "index.js" 22 | ], 23 | "keywords": [ 24 | "mimic", 25 | "response", 26 | "stream", 27 | "http", 28 | "https", 29 | "request", 30 | "get", 31 | "core" 32 | ], 33 | "devDependencies": { 34 | "@types/node": "^14.0.1", 35 | "ava": "^2.4.0", 36 | "create-test-server": "^2.4.0", 37 | "p-event": "^4.1.0", 38 | "pify": "^5.0.0", 39 | "tsd": "^0.11.0", 40 | "xo": "^0.30.0" 41 | } 42 | } 43 | -------------------------------------------------------------------------------- /node_modules/defer-to-connect/README.md: -------------------------------------------------------------------------------- 1 | # defer-to-connect 2 | 3 | > The safe way to handle the `connect` socket event 4 | 5 | [![Coverage Status](https://coveralls.io/repos/github/szmarczak/defer-to-connect/badge.svg?branch=master)](https://coveralls.io/github/szmarczak/defer-to-connect?branch=master) 6 | 7 | Once you receive the socket, it may be already connected (or disconnected).
8 | To avoid checking that, use `defer-to-connect`. It'll do that for you. 9 | 10 | ## Usage 11 | 12 | ```js 13 | const deferToConnect = require('defer-to-connect'); 14 | 15 | deferToConnect(socket, () => { 16 | console.log('Connected!'); 17 | }); 18 | ``` 19 | 20 | ## API 21 | 22 | ### deferToConnect(socket, connectListener) 23 | 24 | Calls `connectListener()` when connected. 25 | 26 | ### deferToConnect(socket, listeners) 27 | 28 | #### listeners 29 | 30 | An object representing `connect`, `secureConnect` and `close` properties. 31 | 32 | Calls `connect()` when the socket is connected.
33 | Calls `secureConnect()` when the socket is securely connected.
34 | Calls `close()` when the socket is destroyed. 35 | 36 | ## License 37 | 38 | MIT 39 | -------------------------------------------------------------------------------- /node_modules/defer-to-connect/dist/source/index.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | import { Socket } from 'net'; 3 | import { TLSSocket } from 'tls'; 4 | interface Listeners { 5 | connect?: () => void; 6 | secureConnect?: () => void; 7 | close?: (hadError: boolean) => void; 8 | } 9 | declare const deferToConnect: (socket: TLSSocket | Socket, fn: Listeners | (() => void)) => void; 10 | export default deferToConnect; 11 | -------------------------------------------------------------------------------- /node_modules/delayed-stream/.npmignore: -------------------------------------------------------------------------------- 1 | test 2 | -------------------------------------------------------------------------------- /node_modules/delayed-stream/Makefile: -------------------------------------------------------------------------------- 1 | SHELL := /bin/bash 2 | 3 | test: 4 | @./test/run.js 5 | 6 | .PHONY: test 7 | 8 | -------------------------------------------------------------------------------- /node_modules/delayed-stream/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "author": "Felix Geisendörfer (http://debuggable.com/)", 3 | "contributors": [ 4 | "Mike Atkins " 5 | ], 6 | "name": "delayed-stream", 7 | "description": "Buffers events from a stream until you are ready to handle them.", 8 | "license": "MIT", 9 | "version": "1.0.0", 10 | "homepage": "https://github.com/felixge/node-delayed-stream", 11 | "repository": { 12 | "type": "git", 13 | "url": "git://github.com/felixge/node-delayed-stream.git" 14 | }, 15 | "main": "./lib/delayed_stream", 16 | "engines": { 17 | "node": ">=0.4.0" 18 | }, 19 | "scripts": { 20 | "test": "make test" 21 | }, 22 | "dependencies": {}, 23 | "devDependencies": { 24 | "fake": "0.2.0", 25 | "far": "0.0.1" 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /node_modules/dunder-proto/.eslintrc: -------------------------------------------------------------------------------- 1 | { 2 | "root": true, 3 | 4 | "extends": "@ljharb", 5 | } 6 | -------------------------------------------------------------------------------- /node_modules/dunder-proto/.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | # These are supported funding model platforms 2 | 3 | github: [ljharb] 4 | patreon: # Replace with a single Patreon username 5 | open_collective: # Replace with a single Open Collective username 6 | ko_fi: # Replace with a single Ko-fi username 7 | tidelift: npm/dunder-proto 8 | community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry 9 | liberapay: # Replace with a single Liberapay username 10 | issuehunt: # Replace with a single IssueHunt username 11 | otechie: # Replace with a single Otechie username 12 | custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2'] 13 | -------------------------------------------------------------------------------- /node_modules/dunder-proto/.nycrc: -------------------------------------------------------------------------------- 1 | { 2 | "all": true, 3 | "check-coverage": false, 4 | "reporter": ["text-summary", "text", "html", "json"], 5 | "lines": 86, 6 | "statements": 85.93, 7 | "functions": 82.43, 8 | "branches": 76.06, 9 | "exclude": [ 10 | "coverage", 11 | "test" 12 | ] 13 | } 14 | -------------------------------------------------------------------------------- /node_modules/dunder-proto/get.d.ts: -------------------------------------------------------------------------------- 1 | declare function getDunderProto(target: {}): object | null; 2 | 3 | declare const x: false | typeof getDunderProto; 4 | 5 | export = x; -------------------------------------------------------------------------------- /node_modules/dunder-proto/get.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var callBind = require('call-bind-apply-helpers'); 4 | var gOPD = require('gopd'); 5 | 6 | var hasProtoAccessor; 7 | try { 8 | // eslint-disable-next-line no-extra-parens, no-proto 9 | hasProtoAccessor = /** @type {{ __proto__?: typeof Array.prototype }} */ ([]).__proto__ === Array.prototype; 10 | } catch (e) { 11 | if (!e || typeof e !== 'object' || !('code' in e) || e.code !== 'ERR_PROTO_ACCESS') { 12 | throw e; 13 | } 14 | } 15 | 16 | // eslint-disable-next-line no-extra-parens 17 | var desc = !!hasProtoAccessor && gOPD && gOPD(Object.prototype, /** @type {keyof typeof Object.prototype} */ ('__proto__')); 18 | 19 | var $Object = Object; 20 | var $getPrototypeOf = $Object.getPrototypeOf; 21 | 22 | /** @type {import('./get')} */ 23 | module.exports = desc && typeof desc.get === 'function' 24 | ? callBind([desc.get]) 25 | : typeof $getPrototypeOf === 'function' 26 | ? /** @type {import('./get')} */ function getDunder(value) { 27 | // eslint-disable-next-line eqeqeq 28 | return $getPrototypeOf(value == null ? value : $Object(value)); 29 | } 30 | : false; 31 | -------------------------------------------------------------------------------- /node_modules/dunder-proto/set.d.ts: -------------------------------------------------------------------------------- 1 | declare function setDunderProto

(target: {}, proto: P): P; 2 | 3 | declare const x: false | typeof setDunderProto; 4 | 5 | export = x; -------------------------------------------------------------------------------- /node_modules/dunder-proto/test/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | require('./get'); 4 | require('./set'); 5 | -------------------------------------------------------------------------------- /node_modules/dunder-proto/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "@ljharb/tsconfig", 3 | "compilerOptions": { 4 | "target": "ES2021", 5 | }, 6 | "exclude": [ 7 | "coverage", 8 | ], 9 | } 10 | -------------------------------------------------------------------------------- /node_modules/end-of-stream/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "end-of-stream", 3 | "version": "1.4.4", 4 | "description": "Call a callback when a readable/writable/duplex stream has completed or failed.", 5 | "repository": { 6 | "type": "git", 7 | "url": "git://github.com/mafintosh/end-of-stream.git" 8 | }, 9 | "dependencies": { 10 | "once": "^1.4.0" 11 | }, 12 | "scripts": { 13 | "test": "node test.js" 14 | }, 15 | "files": [ 16 | "index.js" 17 | ], 18 | "keywords": [ 19 | "stream", 20 | "streams", 21 | "callback", 22 | "finish", 23 | "close", 24 | "end", 25 | "wait" 26 | ], 27 | "bugs": { 28 | "url": "https://github.com/mafintosh/end-of-stream/issues" 29 | }, 30 | "homepage": "https://github.com/mafintosh/end-of-stream", 31 | "main": "index.js", 32 | "author": "Mathias Buus ", 33 | "license": "MIT", 34 | "devDependencies": { 35 | "tape": "^4.11.0" 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /node_modules/es-define-property/.eslintrc: -------------------------------------------------------------------------------- 1 | { 2 | "root": true, 3 | 4 | "extends": "@ljharb", 5 | 6 | "rules": { 7 | "new-cap": ["error", { 8 | "capIsNewExceptions": [ 9 | "GetIntrinsic", 10 | ], 11 | }], 12 | }, 13 | } 14 | -------------------------------------------------------------------------------- /node_modules/es-define-property/.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | # These are supported funding model platforms 2 | 3 | github: [ljharb] 4 | patreon: # Replace with a single Patreon username 5 | open_collective: # Replace with a single Open Collective username 6 | ko_fi: # Replace with a single Ko-fi username 7 | tidelift: npm/es-define-property 8 | community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry 9 | liberapay: # Replace with a single Liberapay username 10 | issuehunt: # Replace with a single IssueHunt username 11 | otechie: # Replace with a single Otechie username 12 | custom: # Replace with a single custom sponsorship URL 13 | -------------------------------------------------------------------------------- /node_modules/es-define-property/.nycrc: -------------------------------------------------------------------------------- 1 | { 2 | "all": true, 3 | "check-coverage": false, 4 | "reporter": ["text-summary", "text", "html", "json"], 5 | "exclude": [ 6 | "coverage", 7 | "test" 8 | ] 9 | } 10 | -------------------------------------------------------------------------------- /node_modules/es-define-property/index.d.ts: -------------------------------------------------------------------------------- 1 | declare const defineProperty: false | typeof Object.defineProperty; 2 | 3 | export = defineProperty; -------------------------------------------------------------------------------- /node_modules/es-define-property/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | /** @type {import('.')} */ 4 | var $defineProperty = Object.defineProperty || false; 5 | if ($defineProperty) { 6 | try { 7 | $defineProperty({}, 'a', { value: 1 }); 8 | } catch (e) { 9 | // IE 8 has a broken defineProperty 10 | $defineProperty = false; 11 | } 12 | } 13 | 14 | module.exports = $defineProperty; 15 | -------------------------------------------------------------------------------- /node_modules/es-define-property/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "@ljharb/tsconfig", 3 | "compilerOptions": { 4 | "target": "es2022", 5 | }, 6 | "exclude": [ 7 | "coverage", 8 | "test/list-exports" 9 | ], 10 | } 11 | -------------------------------------------------------------------------------- /node_modules/es-errors/.eslintrc: -------------------------------------------------------------------------------- 1 | { 2 | "root": true, 3 | 4 | "extends": "@ljharb", 5 | } 6 | -------------------------------------------------------------------------------- /node_modules/es-errors/.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | # These are supported funding model platforms 2 | 3 | github: [ljharb] 4 | patreon: # Replace with a single Patreon username 5 | open_collective: # Replace with a single Open Collective username 6 | ko_fi: # Replace with a single Ko-fi username 7 | tidelift: npm/es-errors 8 | community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry 9 | liberapay: # Replace with a single Liberapay username 10 | issuehunt: # Replace with a single IssueHunt username 11 | otechie: # Replace with a single Otechie username 12 | custom: # Replace with a single custom sponsorship URL 13 | -------------------------------------------------------------------------------- /node_modules/es-errors/eval.d.ts: -------------------------------------------------------------------------------- 1 | declare const EvalError: EvalErrorConstructor; 2 | 3 | export = EvalError; 4 | -------------------------------------------------------------------------------- /node_modules/es-errors/eval.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | /** @type {import('./eval')} */ 4 | module.exports = EvalError; 5 | -------------------------------------------------------------------------------- /node_modules/es-errors/index.d.ts: -------------------------------------------------------------------------------- 1 | declare const Error: ErrorConstructor; 2 | 3 | export = Error; 4 | -------------------------------------------------------------------------------- /node_modules/es-errors/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | /** @type {import('.')} */ 4 | module.exports = Error; 5 | -------------------------------------------------------------------------------- /node_modules/es-errors/range.d.ts: -------------------------------------------------------------------------------- 1 | declare const RangeError: RangeErrorConstructor; 2 | 3 | export = RangeError; 4 | -------------------------------------------------------------------------------- /node_modules/es-errors/range.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | /** @type {import('./range')} */ 4 | module.exports = RangeError; 5 | -------------------------------------------------------------------------------- /node_modules/es-errors/ref.d.ts: -------------------------------------------------------------------------------- 1 | declare const ReferenceError: ReferenceErrorConstructor; 2 | 3 | export = ReferenceError; 4 | -------------------------------------------------------------------------------- /node_modules/es-errors/ref.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | /** @type {import('./ref')} */ 4 | module.exports = ReferenceError; 5 | -------------------------------------------------------------------------------- /node_modules/es-errors/syntax.d.ts: -------------------------------------------------------------------------------- 1 | declare const SyntaxError: SyntaxErrorConstructor; 2 | 3 | export = SyntaxError; 4 | -------------------------------------------------------------------------------- /node_modules/es-errors/syntax.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | /** @type {import('./syntax')} */ 4 | module.exports = SyntaxError; 5 | -------------------------------------------------------------------------------- /node_modules/es-errors/test/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var test = require('tape'); 4 | 5 | var E = require('../'); 6 | var R = require('../range'); 7 | var Ref = require('../ref'); 8 | var S = require('../syntax'); 9 | var T = require('../type'); 10 | 11 | test('errors', function (t) { 12 | t.equal(E, Error); 13 | t.equal(R, RangeError); 14 | t.equal(Ref, ReferenceError); 15 | t.equal(S, SyntaxError); 16 | t.equal(T, TypeError); 17 | 18 | t.end(); 19 | }); 20 | -------------------------------------------------------------------------------- /node_modules/es-errors/type.d.ts: -------------------------------------------------------------------------------- 1 | declare const TypeError: TypeErrorConstructor 2 | 3 | export = TypeError; 4 | -------------------------------------------------------------------------------- /node_modules/es-errors/type.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | /** @type {import('./type')} */ 4 | module.exports = TypeError; 5 | -------------------------------------------------------------------------------- /node_modules/es-errors/uri.d.ts: -------------------------------------------------------------------------------- 1 | declare const URIError: URIErrorConstructor; 2 | 3 | export = URIError; 4 | -------------------------------------------------------------------------------- /node_modules/es-errors/uri.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | /** @type {import('./uri')} */ 4 | module.exports = URIError; 5 | -------------------------------------------------------------------------------- /node_modules/es-object-atoms/.eslintrc: -------------------------------------------------------------------------------- 1 | { 2 | "root": true, 3 | 4 | "extends": "@ljharb", 5 | 6 | "rules": { 7 | "eqeqeq": ["error", "allow-null"], 8 | "id-length": "off", 9 | "new-cap": ["error", { 10 | "capIsNewExceptions": [ 11 | "RequireObjectCoercible", 12 | "ToObject", 13 | ], 14 | }], 15 | }, 16 | } 17 | -------------------------------------------------------------------------------- /node_modules/es-object-atoms/.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | # These are supported funding model platforms 2 | 3 | github: [ljharb] 4 | patreon: # Replace with a single Patreon username 5 | open_collective: # Replace with a single Open Collective username 6 | ko_fi: # Replace with a single Ko-fi username 7 | tidelift: npm/es-object 8 | community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry 9 | liberapay: # Replace with a single Liberapay username 10 | issuehunt: # Replace with a single IssueHunt username 11 | otechie: # Replace with a single Otechie username 12 | custom: # Replace with a single custom sponsorship URL 13 | -------------------------------------------------------------------------------- /node_modules/es-object-atoms/RequireObjectCoercible.d.ts: -------------------------------------------------------------------------------- 1 | declare function RequireObjectCoercible(value: T, optMessage?: string): T; 2 | 3 | export = RequireObjectCoercible; 4 | -------------------------------------------------------------------------------- /node_modules/es-object-atoms/RequireObjectCoercible.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var $TypeError = require('es-errors/type'); 4 | 5 | /** @type {import('./RequireObjectCoercible')} */ 6 | module.exports = function RequireObjectCoercible(value) { 7 | if (value == null) { 8 | throw new $TypeError((arguments.length > 0 && arguments[1]) || ('Cannot call method on ' + value)); 9 | } 10 | return value; 11 | }; 12 | -------------------------------------------------------------------------------- /node_modules/es-object-atoms/ToObject.d.ts: -------------------------------------------------------------------------------- 1 | declare function ToObject(value: number): Number; 2 | declare function ToObject(value: boolean): Boolean; 3 | declare function ToObject(value: string): String; 4 | declare function ToObject(value: bigint): BigInt; 5 | declare function ToObject(value: T): T; 6 | 7 | export = ToObject; 8 | -------------------------------------------------------------------------------- /node_modules/es-object-atoms/ToObject.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var $Object = require('./'); 4 | var RequireObjectCoercible = require('./RequireObjectCoercible'); 5 | 6 | /** @type {import('./ToObject')} */ 7 | module.exports = function ToObject(value) { 8 | RequireObjectCoercible(value); 9 | return $Object(value); 10 | }; 11 | -------------------------------------------------------------------------------- /node_modules/es-object-atoms/index.d.ts: -------------------------------------------------------------------------------- 1 | declare const Object: ObjectConstructor; 2 | 3 | export = Object; 4 | -------------------------------------------------------------------------------- /node_modules/es-object-atoms/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | /** @type {import('.')} */ 4 | module.exports = Object; 5 | -------------------------------------------------------------------------------- /node_modules/es-object-atoms/isObject.d.ts: -------------------------------------------------------------------------------- 1 | declare function isObject(x: unknown): x is object; 2 | 3 | export = isObject; 4 | -------------------------------------------------------------------------------- /node_modules/es-object-atoms/isObject.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | /** @type {import('./isObject')} */ 4 | module.exports = function isObject(x) { 5 | return !!x && (typeof x === 'function' || typeof x === 'object'); 6 | }; 7 | -------------------------------------------------------------------------------- /node_modules/es-object-atoms/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "@ljharb/tsconfig", 3 | "compilerOptions": { 4 | "target": "es5", 5 | }, 6 | } 7 | -------------------------------------------------------------------------------- /node_modules/es-set-tostringtag/.eslintrc: -------------------------------------------------------------------------------- 1 | { 2 | "root": true, 3 | 4 | "extends": "@ljharb", 5 | 6 | "rules": { 7 | "new-cap": [2, { 8 | "capIsNewExceptions": [ 9 | "GetIntrinsic", 10 | ], 11 | }], 12 | }, 13 | } 14 | -------------------------------------------------------------------------------- /node_modules/es-set-tostringtag/.nycrc: -------------------------------------------------------------------------------- 1 | { 2 | "all": true, 3 | "check-coverage": false, 4 | "reporter": ["text-summary", "text", "html", "json"], 5 | "exclude": [ 6 | "coverage", 7 | "test" 8 | ] 9 | } 10 | -------------------------------------------------------------------------------- /node_modules/es-set-tostringtag/index.d.ts: -------------------------------------------------------------------------------- 1 | declare function setToStringTag( 2 | object: object & { [Symbol.toStringTag]?: unknown }, 3 | value: string | unknown, 4 | options?: { 5 | force?: boolean; 6 | nonConfigurable?: boolean; 7 | }, 8 | ): void; 9 | 10 | export = setToStringTag; -------------------------------------------------------------------------------- /node_modules/es-set-tostringtag/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "@ljharb/tsconfig", 3 | "compilerOptions": { 4 | "target": "es2021", 5 | }, 6 | "exclude": [ 7 | "coverage", 8 | ], 9 | } 10 | -------------------------------------------------------------------------------- /node_modules/follow-redirects/debug.js: -------------------------------------------------------------------------------- 1 | var debug; 2 | 3 | module.exports = function () { 4 | if (!debug) { 5 | try { 6 | /* eslint global-require: off */ 7 | debug = require("debug")("follow-redirects"); 8 | } 9 | catch (error) { /* */ } 10 | if (typeof debug !== "function") { 11 | debug = function () { /* */ }; 12 | } 13 | } 14 | debug.apply(null, arguments); 15 | }; 16 | -------------------------------------------------------------------------------- /node_modules/follow-redirects/http.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./").http; 2 | -------------------------------------------------------------------------------- /node_modules/follow-redirects/https.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./").https; 2 | -------------------------------------------------------------------------------- /node_modules/form-data/lib/browser.js: -------------------------------------------------------------------------------- 1 | /* eslint-env browser */ 2 | module.exports = typeof self == 'object' ? self.FormData : window.FormData; 3 | -------------------------------------------------------------------------------- /node_modules/form-data/lib/populate.js: -------------------------------------------------------------------------------- 1 | // populates missing values 2 | module.exports = function(dst, src) { 3 | 4 | Object.keys(src).forEach(function(prop) 5 | { 6 | dst[prop] = dst[prop] || src[prop]; 7 | }); 8 | 9 | return dst; 10 | }; 11 | -------------------------------------------------------------------------------- /node_modules/function-bind/.eslintrc: -------------------------------------------------------------------------------- 1 | { 2 | "root": true, 3 | 4 | "extends": "@ljharb", 5 | 6 | "rules": { 7 | "func-name-matching": 0, 8 | "indent": [2, 4], 9 | "no-new-func": [1], 10 | }, 11 | 12 | "overrides": [ 13 | { 14 | "files": "test/**", 15 | "rules": { 16 | "max-lines-per-function": 0, 17 | "strict": [0] 18 | }, 19 | }, 20 | ], 21 | } 22 | -------------------------------------------------------------------------------- /node_modules/function-bind/.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | # These are supported funding model platforms 2 | 3 | github: [ljharb] 4 | patreon: # Replace with a single Patreon username 5 | open_collective: # Replace with a single Open Collective username 6 | ko_fi: # Replace with a single Ko-fi username 7 | tidelift: npm/function-bind 8 | community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry 9 | liberapay: # Replace with a single Liberapay username 10 | issuehunt: # Replace with a single IssueHunt username 11 | otechie: # Replace with a single Otechie username 12 | custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2'] 13 | -------------------------------------------------------------------------------- /node_modules/function-bind/.github/SECURITY.md: -------------------------------------------------------------------------------- 1 | # Security 2 | 3 | Please email [@ljharb](https://github.com/ljharb) or see https://tidelift.com/security if you have a potential security vulnerability to report. 4 | -------------------------------------------------------------------------------- /node_modules/function-bind/.nycrc: -------------------------------------------------------------------------------- 1 | { 2 | "all": true, 3 | "check-coverage": false, 4 | "reporter": ["text-summary", "text", "html", "json"], 5 | "lines": 86, 6 | "statements": 85.93, 7 | "functions": 82.43, 8 | "branches": 76.06, 9 | "exclude": [ 10 | "coverage", 11 | "test" 12 | ] 13 | } 14 | -------------------------------------------------------------------------------- /node_modules/function-bind/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2013 Raynos. 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy 4 | of this software and associated documentation files (the "Software"), to deal 5 | in the Software without restriction, including without limitation the rights 6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 7 | copies of the Software, and to permit persons to whom the Software is 8 | furnished to do so, subject to the following conditions: 9 | 10 | The above copyright notice and this permission notice shall be included in 11 | all copies or substantial portions of the Software. 12 | 13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 19 | THE SOFTWARE. 20 | 21 | -------------------------------------------------------------------------------- /node_modules/function-bind/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var implementation = require('./implementation'); 4 | 5 | module.exports = Function.prototype.bind || implementation; 6 | -------------------------------------------------------------------------------- /node_modules/function-bind/test/.eslintrc: -------------------------------------------------------------------------------- 1 | { 2 | "rules": { 3 | "array-bracket-newline": 0, 4 | "array-element-newline": 0, 5 | "max-statements-per-line": [2, { "max": 2 }], 6 | "no-invalid-this": 0, 7 | "no-magic-numbers": 0, 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /node_modules/get-intrinsic/.eslintrc: -------------------------------------------------------------------------------- 1 | { 2 | "root": true, 3 | 4 | "extends": "@ljharb", 5 | 6 | "env": { 7 | "es6": true, 8 | "es2017": true, 9 | "es2020": true, 10 | "es2021": true, 11 | "es2022": true, 12 | }, 13 | 14 | "globals": { 15 | "Float16Array": false, 16 | }, 17 | 18 | "rules": { 19 | "array-bracket-newline": 0, 20 | "complexity": 0, 21 | "eqeqeq": [2, "allow-null"], 22 | "func-name-matching": 0, 23 | "id-length": 0, 24 | "max-lines": 0, 25 | "max-lines-per-function": [2, 90], 26 | "max-params": [2, 4], 27 | "max-statements": 0, 28 | "max-statements-per-line": [2, { "max": 2 }], 29 | "multiline-comment-style": 0, 30 | "no-magic-numbers": 0, 31 | "sort-keys": 0, 32 | }, 33 | 34 | "overrides": [ 35 | { 36 | "files": "test/**", 37 | "rules": { 38 | "new-cap": 0, 39 | }, 40 | }, 41 | ], 42 | } 43 | -------------------------------------------------------------------------------- /node_modules/get-intrinsic/.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | # These are supported funding model platforms 2 | 3 | github: [ljharb] 4 | patreon: # Replace with a single Patreon username 5 | open_collective: # Replace with a single Open Collective username 6 | ko_fi: # Replace with a single Ko-fi username 7 | tidelift: npm/get-intrinsic 8 | community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry 9 | liberapay: # Replace with a single Liberapay username 10 | issuehunt: # Replace with a single IssueHunt username 11 | otechie: # Replace with a single Otechie username 12 | custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2'] 13 | -------------------------------------------------------------------------------- /node_modules/get-intrinsic/.nycrc: -------------------------------------------------------------------------------- 1 | { 2 | "all": true, 3 | "check-coverage": false, 4 | "reporter": ["text-summary", "text", "html", "json"], 5 | "exclude": [ 6 | "coverage", 7 | "test" 8 | ] 9 | } 10 | -------------------------------------------------------------------------------- /node_modules/get-proto/.eslintrc: -------------------------------------------------------------------------------- 1 | { 2 | "root": true, 3 | 4 | "extends": "@ljharb", 5 | 6 | "rules": { 7 | "id-length": "off", 8 | "sort-keys": "off", 9 | }, 10 | } 11 | -------------------------------------------------------------------------------- /node_modules/get-proto/.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | # These are supported funding model platforms 2 | 3 | github: [ljharb] 4 | patreon: # Replace with a single Patreon username 5 | open_collective: # Replace with a single Open Collective username 6 | ko_fi: # Replace with a single Ko-fi username 7 | tidelift: npm/get-proto 8 | community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry 9 | liberapay: # Replace with a single Liberapay username 10 | issuehunt: # Replace with a single IssueHunt username 11 | otechie: # Replace with a single Otechie username 12 | custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2'] 13 | -------------------------------------------------------------------------------- /node_modules/get-proto/.nycrc: -------------------------------------------------------------------------------- 1 | { 2 | "all": true, 3 | "check-coverage": false, 4 | "reporter": ["text-summary", "text", "html", "json"], 5 | "exclude": [ 6 | "coverage", 7 | "test" 8 | ] 9 | } 10 | -------------------------------------------------------------------------------- /node_modules/get-proto/Object.getPrototypeOf.d.ts: -------------------------------------------------------------------------------- 1 | declare function getProto(object: O): object | null; 2 | 3 | declare const x: typeof getProto | null; 4 | 5 | export = x; -------------------------------------------------------------------------------- /node_modules/get-proto/Object.getPrototypeOf.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var $Object = require('es-object-atoms'); 4 | 5 | /** @type {import('./Object.getPrototypeOf')} */ 6 | module.exports = $Object.getPrototypeOf || null; 7 | -------------------------------------------------------------------------------- /node_modules/get-proto/Reflect.getPrototypeOf.d.ts: -------------------------------------------------------------------------------- 1 | declare const x: typeof Reflect.getPrototypeOf | null; 2 | 3 | export = x; -------------------------------------------------------------------------------- /node_modules/get-proto/Reflect.getPrototypeOf.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | /** @type {import('./Reflect.getPrototypeOf')} */ 4 | module.exports = (typeof Reflect !== 'undefined' && Reflect.getPrototypeOf) || null; 5 | -------------------------------------------------------------------------------- /node_modules/get-proto/index.d.ts: -------------------------------------------------------------------------------- 1 | declare function getProto(object: O): object | null; 2 | 3 | declare const x: typeof getProto | null; 4 | 5 | export = x; 6 | -------------------------------------------------------------------------------- /node_modules/get-proto/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var reflectGetProto = require('./Reflect.getPrototypeOf'); 4 | var originalGetProto = require('./Object.getPrototypeOf'); 5 | 6 | var getDunderProto = require('dunder-proto/get'); 7 | 8 | /** @type {import('.')} */ 9 | module.exports = reflectGetProto 10 | ? function getProto(O) { 11 | // @ts-expect-error TS can't narrow inside a closure, for some reason 12 | return reflectGetProto(O); 13 | } 14 | : originalGetProto 15 | ? function getProto(O) { 16 | if (!O || (typeof O !== 'object' && typeof O !== 'function')) { 17 | throw new TypeError('getProto: not an object'); 18 | } 19 | // @ts-expect-error TS can't narrow inside a closure, for some reason 20 | return originalGetProto(O); 21 | } 22 | : getDunderProto 23 | ? function getProto(O) { 24 | // @ts-expect-error TS can't narrow inside a closure, for some reason 25 | return getDunderProto(O); 26 | } 27 | : null; 28 | -------------------------------------------------------------------------------- /node_modules/get-proto/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "@ljharb/tsconfig", 3 | "compilerOptions": { 4 | //"target": "es2021", 5 | }, 6 | "exclude": [ 7 | "coverage", 8 | ], 9 | } 10 | -------------------------------------------------------------------------------- /node_modules/get-stream/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "get-stream", 3 | "version": "5.2.0", 4 | "description": "Get a stream as a string, buffer, or array", 5 | "license": "MIT", 6 | "repository": "sindresorhus/get-stream", 7 | "funding": "https://github.com/sponsors/sindresorhus", 8 | "author": { 9 | "name": "Sindre Sorhus", 10 | "email": "sindresorhus@gmail.com", 11 | "url": "https://sindresorhus.com" 12 | }, 13 | "engines": { 14 | "node": ">=8" 15 | }, 16 | "scripts": { 17 | "test": "xo && ava && tsd" 18 | }, 19 | "files": [ 20 | "index.js", 21 | "index.d.ts", 22 | "buffer-stream.js" 23 | ], 24 | "keywords": [ 25 | "get", 26 | "stream", 27 | "promise", 28 | "concat", 29 | "string", 30 | "text", 31 | "buffer", 32 | "read", 33 | "data", 34 | "consume", 35 | "readable", 36 | "readablestream", 37 | "array", 38 | "object" 39 | ], 40 | "dependencies": { 41 | "pump": "^3.0.0" 42 | }, 43 | "devDependencies": { 44 | "@types/node": "^12.0.7", 45 | "ava": "^2.0.0", 46 | "into-stream": "^5.0.0", 47 | "tsd": "^0.7.2", 48 | "xo": "^0.24.0" 49 | } 50 | } 51 | -------------------------------------------------------------------------------- /node_modules/gopd/.eslintrc: -------------------------------------------------------------------------------- 1 | { 2 | "root": true, 3 | 4 | "extends": "@ljharb", 5 | 6 | "rules": { 7 | "func-style": [2, "declaration"], 8 | "id-length": 0, 9 | "multiline-comment-style": 0, 10 | "new-cap": [2, { 11 | "capIsNewExceptions": [ 12 | "GetIntrinsic", 13 | ], 14 | }], 15 | }, 16 | } 17 | -------------------------------------------------------------------------------- /node_modules/gopd/.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | # These are supported funding model platforms 2 | 3 | github: [ljharb] 4 | patreon: # Replace with a single Patreon username 5 | open_collective: # Replace with a single Open Collective username 6 | ko_fi: # Replace with a single Ko-fi username 7 | tidelift: npm/gopd 8 | community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry 9 | liberapay: # Replace with a single Liberapay username 10 | issuehunt: # Replace with a single IssueHunt username 11 | otechie: # Replace with a single Otechie username 12 | custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2'] 13 | -------------------------------------------------------------------------------- /node_modules/gopd/gOPD.d.ts: -------------------------------------------------------------------------------- 1 | export = Object.getOwnPropertyDescriptor; 2 | -------------------------------------------------------------------------------- /node_modules/gopd/gOPD.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | /** @type {import('./gOPD')} */ 4 | module.exports = Object.getOwnPropertyDescriptor; 5 | -------------------------------------------------------------------------------- /node_modules/gopd/index.d.ts: -------------------------------------------------------------------------------- 1 | declare function gOPD(obj: O, prop: K): PropertyDescriptor | undefined; 2 | 3 | declare const fn: typeof gOPD | undefined | null; 4 | 5 | export = fn; -------------------------------------------------------------------------------- /node_modules/gopd/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | /** @type {import('.')} */ 4 | var $gOPD = require('./gOPD'); 5 | 6 | if ($gOPD) { 7 | try { 8 | $gOPD([], 'length'); 9 | } catch (e) { 10 | // IE 8 has a broken gOPD 11 | $gOPD = null; 12 | } 13 | } 14 | 15 | module.exports = $gOPD; 16 | -------------------------------------------------------------------------------- /node_modules/gopd/test/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var test = require('tape'); 4 | var gOPD = require('../'); 5 | 6 | test('gOPD', function (t) { 7 | t.test('supported', { skip: !gOPD }, function (st) { 8 | st.equal(typeof gOPD, 'function', 'is a function'); 9 | 10 | var obj = { x: 1 }; 11 | st.ok('x' in obj, 'property exists'); 12 | 13 | // @ts-expect-error TS can't figure out narrowing from `skip` 14 | var desc = gOPD(obj, 'x'); 15 | st.deepEqual( 16 | desc, 17 | { 18 | configurable: true, 19 | enumerable: true, 20 | value: 1, 21 | writable: true 22 | }, 23 | 'descriptor is as expected' 24 | ); 25 | 26 | st.end(); 27 | }); 28 | 29 | t.test('not supported', { skip: !!gOPD }, function (st) { 30 | st.notOk(gOPD, 'is falsy'); 31 | 32 | st.end(); 33 | }); 34 | 35 | t.end(); 36 | }); 37 | -------------------------------------------------------------------------------- /node_modules/gopd/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "@ljharb/tsconfig", 3 | "compilerOptions": { 4 | "target": "es2021", 5 | }, 6 | "exclude": [ 7 | "coverage", 8 | ], 9 | } 10 | -------------------------------------------------------------------------------- /node_modules/got/dist/source/as-promise/create-rejection.d.ts: -------------------------------------------------------------------------------- 1 | import { CancelableRequest, BeforeErrorHook } from './types'; 2 | export default function createRejection(error: Error, ...beforeErrorGroups: Array): CancelableRequest; 3 | -------------------------------------------------------------------------------- /node_modules/got/dist/source/as-promise/create-rejection.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | const types_1 = require("./types"); 4 | function createRejection(error, ...beforeErrorGroups) { 5 | const promise = (async () => { 6 | if (error instanceof types_1.RequestError) { 7 | try { 8 | for (const hooks of beforeErrorGroups) { 9 | if (hooks) { 10 | for (const hook of hooks) { 11 | // eslint-disable-next-line no-await-in-loop 12 | error = await hook(error); 13 | } 14 | } 15 | } 16 | } 17 | catch (error_) { 18 | error = error_; 19 | } 20 | } 21 | throw error; 22 | })(); 23 | const returnPromise = () => promise; 24 | promise.json = returnPromise; 25 | promise.text = returnPromise; 26 | promise.buffer = returnPromise; 27 | promise.on = returnPromise; 28 | return promise; 29 | } 30 | exports.default = createRejection; 31 | -------------------------------------------------------------------------------- /node_modules/got/dist/source/as-promise/index.d.ts: -------------------------------------------------------------------------------- 1 | import { NormalizedOptions, CancelableRequest } from './types'; 2 | export default function asPromise(normalizedOptions: NormalizedOptions): CancelableRequest; 3 | export * from './types'; 4 | -------------------------------------------------------------------------------- /node_modules/got/dist/source/as-promise/normalize-arguments.d.ts: -------------------------------------------------------------------------------- 1 | import { NormalizedOptions, Defaults } from './types'; 2 | declare const normalizeArguments: (options: NormalizedOptions, defaults?: Defaults | undefined) => NormalizedOptions; 3 | export default normalizeArguments; 4 | -------------------------------------------------------------------------------- /node_modules/got/dist/source/as-promise/parse-body.d.ts: -------------------------------------------------------------------------------- 1 | import { ResponseType, Response, ParseJsonFunction } from './types'; 2 | declare const parseBody: (response: Response, responseType: ResponseType, parseJson: ParseJsonFunction, encoding?: "ascii" | "utf8" | "utf-8" | "utf16le" | "ucs2" | "ucs-2" | "base64" | "base64url" | "latin1" | "binary" | "hex" | undefined) => unknown; 3 | export default parseBody; 4 | -------------------------------------------------------------------------------- /node_modules/got/dist/source/as-promise/parse-body.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | const types_1 = require("./types"); 4 | const parseBody = (response, responseType, parseJson, encoding) => { 5 | const { rawBody } = response; 6 | try { 7 | if (responseType === 'text') { 8 | return rawBody.toString(encoding); 9 | } 10 | if (responseType === 'json') { 11 | return rawBody.length === 0 ? '' : parseJson(rawBody.toString()); 12 | } 13 | if (responseType === 'buffer') { 14 | return rawBody; 15 | } 16 | throw new types_1.ParseError({ 17 | message: `Unknown body type '${responseType}'`, 18 | name: 'Error' 19 | }, response); 20 | } 21 | catch (error) { 22 | throw new types_1.ParseError(error, response); 23 | } 24 | }; 25 | exports.default = parseBody; 26 | -------------------------------------------------------------------------------- /node_modules/got/dist/source/core/calculate-retry-delay.d.ts: -------------------------------------------------------------------------------- 1 | import { RetryFunction } from '.'; 2 | declare type Returns unknown, V> = (...args: Parameters) => V; 3 | export declare const retryAfterStatusCodes: ReadonlySet; 4 | declare const calculateRetryDelay: Returns; 5 | export default calculateRetryDelay; 6 | -------------------------------------------------------------------------------- /node_modules/got/dist/source/core/utils/dns-ip-version.d.ts: -------------------------------------------------------------------------------- 1 | export declare type DnsLookupIpVersion = 'auto' | 'ipv4' | 'ipv6'; 2 | declare type DnsIpFamily = 0 | 4 | 6; 3 | export declare const isDnsLookupIpVersion: (value: any) => boolean; 4 | export declare const dnsLookupIpVersionToFamily: (dnsLookupIpVersion: DnsLookupIpVersion) => DnsIpFamily; 5 | export {}; 6 | -------------------------------------------------------------------------------- /node_modules/got/dist/source/core/utils/dns-ip-version.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | exports.dnsLookupIpVersionToFamily = exports.isDnsLookupIpVersion = void 0; 4 | const conversionTable = { 5 | auto: 0, 6 | ipv4: 4, 7 | ipv6: 6 8 | }; 9 | exports.isDnsLookupIpVersion = (value) => { 10 | return value in conversionTable; 11 | }; 12 | exports.dnsLookupIpVersionToFamily = (dnsLookupIpVersion) => { 13 | if (exports.isDnsLookupIpVersion(dnsLookupIpVersion)) { 14 | return conversionTable[dnsLookupIpVersion]; 15 | } 16 | throw new Error('Invalid DNS lookup IP version'); 17 | }; 18 | -------------------------------------------------------------------------------- /node_modules/got/dist/source/core/utils/get-body-size.d.ts: -------------------------------------------------------------------------------- 1 | import { ClientRequestArgs } from 'http'; 2 | declare const _default: (body: unknown, headers: ClientRequestArgs['headers']) => Promise; 3 | export default _default; 4 | -------------------------------------------------------------------------------- /node_modules/got/dist/source/core/utils/get-body-size.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | const fs_1 = require("fs"); 4 | const util_1 = require("util"); 5 | const is_1 = require("@sindresorhus/is"); 6 | const is_form_data_1 = require("./is-form-data"); 7 | const statAsync = util_1.promisify(fs_1.stat); 8 | exports.default = async (body, headers) => { 9 | if (headers && 'content-length' in headers) { 10 | return Number(headers['content-length']); 11 | } 12 | if (!body) { 13 | return 0; 14 | } 15 | if (is_1.default.string(body)) { 16 | return Buffer.byteLength(body); 17 | } 18 | if (is_1.default.buffer(body)) { 19 | return body.length; 20 | } 21 | if (is_form_data_1.default(body)) { 22 | return util_1.promisify(body.getLength.bind(body))(); 23 | } 24 | if (body instanceof fs_1.ReadStream) { 25 | const { size } = await statAsync(body.path); 26 | if (size === 0) { 27 | return undefined; 28 | } 29 | return size; 30 | } 31 | return undefined; 32 | }; 33 | -------------------------------------------------------------------------------- /node_modules/got/dist/source/core/utils/get-buffer.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | import { Readable } from 'stream'; 3 | declare const getBuffer: (stream: Readable) => Promise; 4 | export default getBuffer; 5 | -------------------------------------------------------------------------------- /node_modules/got/dist/source/core/utils/get-buffer.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | // TODO: Update https://github.com/sindresorhus/get-stream 4 | const getBuffer = async (stream) => { 5 | const chunks = []; 6 | let length = 0; 7 | for await (const chunk of stream) { 8 | chunks.push(chunk); 9 | length += Buffer.byteLength(chunk); 10 | } 11 | if (Buffer.isBuffer(chunks[0])) { 12 | return Buffer.concat(chunks, length); 13 | } 14 | return Buffer.from(chunks.join('')); 15 | }; 16 | exports.default = getBuffer; 17 | -------------------------------------------------------------------------------- /node_modules/got/dist/source/core/utils/is-form-data.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | import { Readable } from 'stream'; 3 | interface FormData extends Readable { 4 | getBoundary: () => string; 5 | getLength: (callback: (error: Error | null, length: number) => void) => void; 6 | } 7 | declare const _default: (body: unknown) => body is FormData; 8 | export default _default; 9 | -------------------------------------------------------------------------------- /node_modules/got/dist/source/core/utils/is-form-data.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | const is_1 = require("@sindresorhus/is"); 4 | exports.default = (body) => is_1.default.nodeStream(body) && is_1.default.function_(body.getBoundary); 5 | -------------------------------------------------------------------------------- /node_modules/got/dist/source/core/utils/is-response-ok.d.ts: -------------------------------------------------------------------------------- 1 | import { Response } from '..'; 2 | export declare const isResponseOk: (response: Response) => boolean; 3 | -------------------------------------------------------------------------------- /node_modules/got/dist/source/core/utils/is-response-ok.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | exports.isResponseOk = void 0; 4 | exports.isResponseOk = (response) => { 5 | const { statusCode } = response; 6 | const limitStatusCode = response.request.options.followRedirect ? 299 : 399; 7 | return (statusCode >= 200 && statusCode <= limitStatusCode) || statusCode === 304; 8 | }; 9 | -------------------------------------------------------------------------------- /node_modules/got/dist/source/core/utils/options-to-url.d.ts: -------------------------------------------------------------------------------- 1 | import { URL } from 'url'; 2 | export interface URLOptions { 3 | href?: string; 4 | protocol?: string; 5 | host?: string; 6 | hostname?: string; 7 | port?: string | number; 8 | pathname?: string; 9 | search?: string; 10 | searchParams?: unknown; 11 | path?: string; 12 | } 13 | declare const _default: (origin: string, options: URLOptions) => URL; 14 | export default _default; 15 | -------------------------------------------------------------------------------- /node_modules/got/dist/source/core/utils/proxy-events.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | import { EventEmitter } from 'events'; 3 | export default function (from: EventEmitter, to: EventEmitter, events: string[]): () => void; 4 | -------------------------------------------------------------------------------- /node_modules/got/dist/source/core/utils/proxy-events.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | function default_1(from, to, events) { 4 | const fns = {}; 5 | for (const event of events) { 6 | fns[event] = (...args) => { 7 | to.emit(event, ...args); 8 | }; 9 | from.on(event, fns[event]); 10 | } 11 | return () => { 12 | for (const event of events) { 13 | from.off(event, fns[event]); 14 | } 15 | }; 16 | } 17 | exports.default = default_1; 18 | -------------------------------------------------------------------------------- /node_modules/got/dist/source/core/utils/timed-out.d.ts: -------------------------------------------------------------------------------- 1 | import { ClientRequest } from 'http'; 2 | declare const reentry: unique symbol; 3 | interface TimedOutOptions { 4 | host?: string; 5 | hostname?: string; 6 | protocol?: string; 7 | } 8 | export interface Delays { 9 | lookup?: number; 10 | connect?: number; 11 | secureConnect?: number; 12 | socket?: number; 13 | response?: number; 14 | send?: number; 15 | request?: number; 16 | } 17 | export declare type ErrorCode = 'ETIMEDOUT' | 'ECONNRESET' | 'EADDRINUSE' | 'ECONNREFUSED' | 'EPIPE' | 'ENOTFOUND' | 'ENETUNREACH' | 'EAI_AGAIN'; 18 | export declare class TimeoutError extends Error { 19 | event: string; 20 | code: ErrorCode; 21 | constructor(threshold: number, event: string); 22 | } 23 | declare const _default: (request: ClientRequest, delays: Delays, options: TimedOutOptions) => () => void; 24 | export default _default; 25 | declare module 'http' { 26 | interface ClientRequest { 27 | [reentry]: boolean; 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /node_modules/got/dist/source/core/utils/unhandle.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | import { EventEmitter } from 'events'; 3 | declare type Origin = EventEmitter; 4 | declare type Event = string | symbol; 5 | declare type Fn = (...args: any[]) => void; 6 | interface Unhandler { 7 | once: (origin: Origin, event: Event, fn: Fn) => void; 8 | unhandleAll: () => void; 9 | } 10 | declare const _default: () => Unhandler; 11 | export default _default; 12 | -------------------------------------------------------------------------------- /node_modules/got/dist/source/core/utils/unhandle.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | // When attaching listeners, it's very easy to forget about them. 4 | // Especially if you do error handling and set timeouts. 5 | // So instead of checking if it's proper to throw an error on every timeout ever, 6 | // use this simple tool which will remove all listeners you have attached. 7 | exports.default = () => { 8 | const handlers = []; 9 | return { 10 | once(origin, event, fn) { 11 | origin.once(event, fn); 12 | handlers.push({ origin, event, fn }); 13 | }, 14 | unhandleAll() { 15 | for (const handler of handlers) { 16 | const { origin, event, fn } = handler; 17 | origin.removeListener(event, fn); 18 | } 19 | handlers.length = 0; 20 | } 21 | }; 22 | }; 23 | -------------------------------------------------------------------------------- /node_modules/got/dist/source/core/utils/url-to-options.d.ts: -------------------------------------------------------------------------------- 1 | import { URL, UrlWithStringQuery } from 'url'; 2 | export interface LegacyUrlOptions { 3 | protocol: string; 4 | hostname: string; 5 | host: string; 6 | hash: string | null; 7 | search: string | null; 8 | pathname: string; 9 | href: string; 10 | path: string; 11 | port?: number; 12 | auth?: string; 13 | } 14 | declare const _default: (url: URL | UrlWithStringQuery) => LegacyUrlOptions; 15 | export default _default; 16 | -------------------------------------------------------------------------------- /node_modules/got/dist/source/core/utils/url-to-options.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | const is_1 = require("@sindresorhus/is"); 4 | exports.default = (url) => { 5 | // Cast to URL 6 | url = url; 7 | const options = { 8 | protocol: url.protocol, 9 | hostname: is_1.default.string(url.hostname) && url.hostname.startsWith('[') ? url.hostname.slice(1, -1) : url.hostname, 10 | host: url.host, 11 | hash: url.hash, 12 | search: url.search, 13 | pathname: url.pathname, 14 | href: url.href, 15 | path: `${url.pathname || ''}${url.search || ''}` 16 | }; 17 | if (is_1.default.string(url.port) && url.port.length > 0) { 18 | options.port = Number(url.port); 19 | } 20 | if (url.username || url.password) { 21 | options.auth = `${url.username || ''}:${url.password || ''}`; 22 | } 23 | return options; 24 | }; 25 | -------------------------------------------------------------------------------- /node_modules/got/dist/source/core/utils/weakable-map.d.ts: -------------------------------------------------------------------------------- 1 | export default class WeakableMap { 2 | weakMap: WeakMap, V>; 3 | map: Map; 4 | constructor(); 5 | set(key: K, value: V): void; 6 | get(key: K): V | undefined; 7 | has(key: K): boolean; 8 | } 9 | -------------------------------------------------------------------------------- /node_modules/got/dist/source/core/utils/weakable-map.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | class WeakableMap { 4 | constructor() { 5 | this.weakMap = new WeakMap(); 6 | this.map = new Map(); 7 | } 8 | set(key, value) { 9 | if (typeof key === 'object') { 10 | this.weakMap.set(key, value); 11 | } 12 | else { 13 | this.map.set(key, value); 14 | } 15 | } 16 | get(key) { 17 | if (typeof key === 'object') { 18 | return this.weakMap.get(key); 19 | } 20 | return this.map.get(key); 21 | } 22 | has(key) { 23 | if (typeof key === 'object') { 24 | return this.weakMap.has(key); 25 | } 26 | return this.map.has(key); 27 | } 28 | } 29 | exports.default = WeakableMap; 30 | -------------------------------------------------------------------------------- /node_modules/got/dist/source/create.d.ts: -------------------------------------------------------------------------------- 1 | import { Got, HandlerFunction, InstanceDefaults } from './types'; 2 | export declare const defaultHandler: HandlerFunction; 3 | declare const create: (defaults: InstanceDefaults) => Got; 4 | export default create; 5 | export * from './types'; 6 | -------------------------------------------------------------------------------- /node_modules/got/dist/source/index.d.ts: -------------------------------------------------------------------------------- 1 | declare const got: import("./types").Got; 2 | export default got; 3 | export * from './create'; 4 | export * from './as-promise'; 5 | -------------------------------------------------------------------------------- /node_modules/got/dist/source/types.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | -------------------------------------------------------------------------------- /node_modules/got/dist/source/utils/deep-freeze.d.ts: -------------------------------------------------------------------------------- 1 | export default function deepFreeze>(object: T): Readonly; 2 | -------------------------------------------------------------------------------- /node_modules/got/dist/source/utils/deep-freeze.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | const is_1 = require("@sindresorhus/is"); 4 | function deepFreeze(object) { 5 | for (const value of Object.values(object)) { 6 | if (is_1.default.plainObject(value) || is_1.default.array(value)) { 7 | deepFreeze(value); 8 | } 9 | } 10 | return Object.freeze(object); 11 | } 12 | exports.default = deepFreeze; 13 | -------------------------------------------------------------------------------- /node_modules/got/dist/source/utils/deprecation-warning.d.ts: -------------------------------------------------------------------------------- 1 | declare const _default: (message: string) => void; 2 | export default _default; 3 | -------------------------------------------------------------------------------- /node_modules/got/dist/source/utils/deprecation-warning.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | const alreadyWarned = new Set(); 4 | exports.default = (message) => { 5 | if (alreadyWarned.has(message)) { 6 | return; 7 | } 8 | alreadyWarned.add(message); 9 | // @ts-expect-error Missing types. 10 | process.emitWarning(`Got: ${message}`, { 11 | type: 'DeprecationWarning' 12 | }); 13 | }; 14 | -------------------------------------------------------------------------------- /node_modules/got/license: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) Sindre Sorhus (sindresorhus.com) 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: 6 | 7 | The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. 8 | 9 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 10 | -------------------------------------------------------------------------------- /node_modules/has-symbols/.eslintrc: -------------------------------------------------------------------------------- 1 | { 2 | "root": true, 3 | 4 | "extends": "@ljharb", 5 | 6 | "rules": { 7 | "max-statements-per-line": [2, { "max": 2 }], 8 | "no-magic-numbers": 0, 9 | "multiline-comment-style": 0, 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /node_modules/has-symbols/.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | # These are supported funding model platforms 2 | 3 | github: [ljharb] 4 | patreon: # Replace with a single Patreon username 5 | open_collective: # Replace with a single Open Collective username 6 | ko_fi: # Replace with a single Ko-fi username 7 | tidelift: npm/has-symbols 8 | community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry 9 | liberapay: # Replace with a single Liberapay username 10 | issuehunt: # Replace with a single IssueHunt username 11 | otechie: # Replace with a single Otechie username 12 | custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2'] 13 | -------------------------------------------------------------------------------- /node_modules/has-symbols/.nycrc: -------------------------------------------------------------------------------- 1 | { 2 | "all": true, 3 | "check-coverage": false, 4 | "reporter": ["text-summary", "text", "html", "json"], 5 | "exclude": [ 6 | "coverage", 7 | "test" 8 | ] 9 | } 10 | -------------------------------------------------------------------------------- /node_modules/has-symbols/index.d.ts: -------------------------------------------------------------------------------- 1 | declare function hasNativeSymbols(): boolean; 2 | 3 | export = hasNativeSymbols; -------------------------------------------------------------------------------- /node_modules/has-symbols/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var origSymbol = typeof Symbol !== 'undefined' && Symbol; 4 | var hasSymbolSham = require('./shams'); 5 | 6 | /** @type {import('.')} */ 7 | module.exports = function hasNativeSymbols() { 8 | if (typeof origSymbol !== 'function') { return false; } 9 | if (typeof Symbol !== 'function') { return false; } 10 | if (typeof origSymbol('foo') !== 'symbol') { return false; } 11 | if (typeof Symbol('bar') !== 'symbol') { return false; } 12 | 13 | return hasSymbolSham(); 14 | }; 15 | -------------------------------------------------------------------------------- /node_modules/has-symbols/shams.d.ts: -------------------------------------------------------------------------------- 1 | declare function hasSymbolShams(): boolean; 2 | 3 | export = hasSymbolShams; -------------------------------------------------------------------------------- /node_modules/has-symbols/test/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var test = require('tape'); 4 | var hasSymbols = require('../'); 5 | var runSymbolTests = require('./tests'); 6 | 7 | test('interface', function (t) { 8 | t.equal(typeof hasSymbols, 'function', 'is a function'); 9 | t.equal(typeof hasSymbols(), 'boolean', 'returns a boolean'); 10 | t.end(); 11 | }); 12 | 13 | test('Symbols are supported', { skip: !hasSymbols() }, function (t) { 14 | runSymbolTests(t); 15 | t.end(); 16 | }); 17 | 18 | test('Symbols are not supported', { skip: hasSymbols() }, function (t) { 19 | t.equal(typeof Symbol, 'undefined', 'global Symbol is undefined'); 20 | t.equal(typeof Object.getOwnPropertySymbols, 'undefined', 'Object.getOwnPropertySymbols does not exist'); 21 | t.end(); 22 | }); 23 | -------------------------------------------------------------------------------- /node_modules/has-symbols/test/shams/core-js.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var test = require('tape'); 4 | 5 | if (typeof Symbol === 'function' && typeof Symbol() === 'symbol') { 6 | test('has native Symbol support', function (t) { 7 | t.equal(typeof Symbol, 'function'); 8 | t.equal(typeof Symbol(), 'symbol'); 9 | t.end(); 10 | }); 11 | // @ts-expect-error TS is stupid and doesn't know about top level return 12 | return; 13 | } 14 | 15 | var hasSymbols = require('../../shams'); 16 | 17 | test('polyfilled Symbols', function (t) { 18 | /* eslint-disable global-require */ 19 | t.equal(hasSymbols(), false, 'hasSymbols is false before polyfilling'); 20 | require('core-js/fn/symbol'); 21 | require('core-js/fn/symbol/to-string-tag'); 22 | 23 | require('../tests')(t); 24 | 25 | var hasSymbolsAfter = hasSymbols(); 26 | t.equal(hasSymbolsAfter, true, 'hasSymbols is true after polyfilling'); 27 | /* eslint-enable global-require */ 28 | t.end(); 29 | }); 30 | -------------------------------------------------------------------------------- /node_modules/has-symbols/test/shams/get-own-property-symbols.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var test = require('tape'); 4 | 5 | if (typeof Symbol === 'function' && typeof Symbol() === 'symbol') { 6 | test('has native Symbol support', function (t) { 7 | t.equal(typeof Symbol, 'function'); 8 | t.equal(typeof Symbol(), 'symbol'); 9 | t.end(); 10 | }); 11 | // @ts-expect-error TS is stupid and doesn't know about top level return 12 | return; 13 | } 14 | 15 | var hasSymbols = require('../../shams'); 16 | 17 | test('polyfilled Symbols', function (t) { 18 | /* eslint-disable global-require */ 19 | t.equal(hasSymbols(), false, 'hasSymbols is false before polyfilling'); 20 | 21 | require('get-own-property-symbols'); 22 | 23 | require('../tests')(t); 24 | 25 | var hasSymbolsAfter = hasSymbols(); 26 | t.equal(hasSymbolsAfter, true, 'hasSymbols is true after polyfilling'); 27 | /* eslint-enable global-require */ 28 | t.end(); 29 | }); 30 | -------------------------------------------------------------------------------- /node_modules/has-symbols/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "@ljharb/tsconfig", 3 | "compilerOptions": { 4 | "target": "ES2021", 5 | "maxNodeModuleJsDepth": 0, 6 | }, 7 | "exclude": [ 8 | "coverage" 9 | ] 10 | } 11 | -------------------------------------------------------------------------------- /node_modules/has-tostringtag/.eslintrc: -------------------------------------------------------------------------------- 1 | { 2 | "root": true, 3 | 4 | "extends": "@ljharb", 5 | } 6 | -------------------------------------------------------------------------------- /node_modules/has-tostringtag/.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | # These are supported funding model platforms 2 | 3 | github: [ljharb] 4 | patreon: # Replace with a single Patreon username 5 | open_collective: # Replace with a single Open Collective username 6 | ko_fi: # Replace with a single Ko-fi username 7 | tidelift: npm/has-tostringtag 8 | community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry 9 | liberapay: # Replace with a single Liberapay username 10 | issuehunt: # Replace with a single IssueHunt username 11 | otechie: # Replace with a single Otechie username 12 | custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2'] 13 | -------------------------------------------------------------------------------- /node_modules/has-tostringtag/.nycrc: -------------------------------------------------------------------------------- 1 | { 2 | "all": true, 3 | "check-coverage": false, 4 | "reporter": ["text-summary", "text", "html", "json"], 5 | "lines": 86, 6 | "statements": 85.93, 7 | "functions": 82.43, 8 | "branches": 76.06, 9 | "exclude": [ 10 | "coverage", 11 | "test" 12 | ] 13 | } 14 | -------------------------------------------------------------------------------- /node_modules/has-tostringtag/index.d.ts: -------------------------------------------------------------------------------- 1 | declare function hasToStringTag(): boolean; 2 | 3 | export = hasToStringTag; 4 | -------------------------------------------------------------------------------- /node_modules/has-tostringtag/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var hasSymbols = require('has-symbols'); 4 | 5 | /** @type {import('.')} */ 6 | module.exports = function hasToStringTag() { 7 | return hasSymbols() && typeof Symbol.toStringTag === 'symbol'; 8 | }; 9 | -------------------------------------------------------------------------------- /node_modules/has-tostringtag/shams.d.ts: -------------------------------------------------------------------------------- 1 | declare function hasToStringTagShams(): boolean; 2 | 3 | export = hasToStringTagShams; 4 | -------------------------------------------------------------------------------- /node_modules/has-tostringtag/shams.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var hasSymbols = require('has-symbols/shams'); 4 | 5 | /** @type {import('.')} */ 6 | module.exports = function hasToStringTagShams() { 7 | return hasSymbols() && !!Symbol.toStringTag; 8 | }; 9 | -------------------------------------------------------------------------------- /node_modules/has-tostringtag/test/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var test = require('tape'); 4 | var hasSymbolToStringTag = require('../'); 5 | var runSymbolTests = require('./tests'); 6 | 7 | test('interface', function (t) { 8 | t.equal(typeof hasSymbolToStringTag, 'function', 'is a function'); 9 | t.equal(typeof hasSymbolToStringTag(), 'boolean', 'returns a boolean'); 10 | t.end(); 11 | }); 12 | 13 | test('Symbol.toStringTag exists', { skip: !hasSymbolToStringTag() }, function (t) { 14 | runSymbolTests(t); 15 | t.end(); 16 | }); 17 | 18 | test('Symbol.toStringTag does not exist', { skip: hasSymbolToStringTag() }, function (t) { 19 | t.equal(typeof Symbol === 'undefined' ? 'undefined' : typeof Symbol.toStringTag, 'undefined', 'global Symbol.toStringTag is undefined'); 20 | t.end(); 21 | }); 22 | -------------------------------------------------------------------------------- /node_modules/has-tostringtag/test/shams/core-js.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var test = require('tape'); 4 | 5 | if (typeof Symbol === 'function' && typeof Symbol.toStringTag === 'symbol') { 6 | test('has native Symbol.toStringTag support', function (t) { 7 | t.equal(typeof Symbol, 'function'); 8 | t.equal(typeof Symbol.toStringTag, 'symbol'); 9 | t.end(); 10 | }); 11 | // @ts-expect-error CJS has top-level return 12 | return; 13 | } 14 | 15 | var hasSymbolToStringTag = require('../../shams'); 16 | 17 | test('polyfilled Symbols', function (t) { 18 | /* eslint-disable global-require */ 19 | t.equal(hasSymbolToStringTag(), false, 'hasSymbolToStringTag is false before polyfilling'); 20 | // @ts-expect-error no types defined 21 | require('core-js/fn/symbol'); 22 | // @ts-expect-error no types defined 23 | require('core-js/fn/symbol/to-string-tag'); 24 | 25 | require('../tests')(t); 26 | 27 | var hasToStringTagAfter = hasSymbolToStringTag(); 28 | t.equal(hasToStringTagAfter, true, 'hasSymbolToStringTag is true after polyfilling'); 29 | /* eslint-enable global-require */ 30 | t.end(); 31 | }); 32 | -------------------------------------------------------------------------------- /node_modules/has-tostringtag/test/shams/get-own-property-symbols.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var test = require('tape'); 4 | 5 | if (typeof Symbol === 'function' && typeof Symbol() === 'symbol') { 6 | test('has native Symbol support', function (t) { 7 | t.equal(typeof Symbol, 'function'); 8 | t.equal(typeof Symbol(), 'symbol'); 9 | t.end(); 10 | }); 11 | // @ts-expect-error CJS has top-level return 12 | return; 13 | } 14 | 15 | var hasSymbolToStringTag = require('../../shams'); 16 | 17 | test('polyfilled Symbols', function (t) { 18 | /* eslint-disable global-require */ 19 | t.equal(hasSymbolToStringTag(), false, 'hasSymbolToStringTag is false before polyfilling'); 20 | 21 | // @ts-expect-error no types defined 22 | require('get-own-property-symbols'); 23 | 24 | require('../tests')(t); 25 | 26 | var hasToStringTagAfter = hasSymbolToStringTag(); 27 | t.equal(hasToStringTagAfter, true, 'hasSymbolToStringTag is true after polyfilling'); 28 | /* eslint-enable global-require */ 29 | t.end(); 30 | }); 31 | -------------------------------------------------------------------------------- /node_modules/has-tostringtag/test/tests.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | // eslint-disable-next-line consistent-return 4 | module.exports = /** @type {(t: import('tape').Test) => void | false} */ function runSymbolTests(t) { 5 | t.equal(typeof Symbol, 'function', 'global Symbol is a function'); 6 | t.ok(Symbol.toStringTag, 'Symbol.toStringTag exists'); 7 | 8 | if (typeof Symbol !== 'function' || !Symbol.toStringTag) { return false; } 9 | 10 | /** @type {{ [Symbol.toStringTag]?: 'test'}} */ 11 | var obj = {}; 12 | obj[Symbol.toStringTag] = 'test'; 13 | 14 | t.equal(Object.prototype.toString.call(obj), '[object test]'); 15 | }; 16 | -------------------------------------------------------------------------------- /node_modules/hasown/.eslintrc: -------------------------------------------------------------------------------- 1 | { 2 | "root": true, 3 | 4 | "extends": "@ljharb", 5 | } 6 | -------------------------------------------------------------------------------- /node_modules/hasown/.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | # These are supported funding model platforms 2 | 3 | github: [ljharb] 4 | patreon: # Replace with a single Patreon username 5 | open_collective: # Replace with a single Open Collective username 6 | ko_fi: # Replace with a single Ko-fi username 7 | tidelift: npm/hasown 8 | community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry 9 | liberapay: # Replace with a single Liberapay username 10 | issuehunt: # Replace with a single IssueHunt username 11 | otechie: # Replace with a single Otechie username 12 | custom: # Replace with a single custom sponsorship URL 13 | -------------------------------------------------------------------------------- /node_modules/hasown/.nycrc: -------------------------------------------------------------------------------- 1 | { 2 | "all": true, 3 | "check-coverage": false, 4 | "reporter": ["text-summary", "text", "html", "json"], 5 | "lines": 86, 6 | "statements": 85.93, 7 | "functions": 82.43, 8 | "branches": 76.06, 9 | "exclude": [ 10 | "coverage", 11 | "test" 12 | ] 13 | } 14 | -------------------------------------------------------------------------------- /node_modules/hasown/index.d.ts: -------------------------------------------------------------------------------- 1 | declare function hasOwn(o: O, p: K): o is O & Record; 2 | 3 | export = hasOwn; 4 | -------------------------------------------------------------------------------- /node_modules/hasown/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var call = Function.prototype.call; 4 | var $hasOwn = Object.prototype.hasOwnProperty; 5 | var bind = require('function-bind'); 6 | 7 | /** @type {import('.')} */ 8 | module.exports = bind.call(call, $hasOwn); 9 | -------------------------------------------------------------------------------- /node_modules/hasown/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "@ljharb/tsconfig", 3 | "exclude": [ 4 | "coverage", 5 | ], 6 | } 7 | -------------------------------------------------------------------------------- /node_modules/http-cache-semantics/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "http-cache-semantics", 3 | "version": "4.1.1", 4 | "description": "Parses Cache-Control and other headers. Helps building correct HTTP caches and proxies", 5 | "repository": "https://github.com/kornelski/http-cache-semantics.git", 6 | "main": "index.js", 7 | "scripts": { 8 | "test": "mocha" 9 | }, 10 | "files": [ 11 | "index.js" 12 | ], 13 | "author": "Kornel Lesiński (https://kornel.ski/)", 14 | "license": "BSD-2-Clause", 15 | "devDependencies": { 16 | "mocha": "^10.0" 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /node_modules/http2-wrapper/source/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | const http2 = require('http2'); 3 | const agent = require('./agent'); 4 | const ClientRequest = require('./client-request'); 5 | const IncomingMessage = require('./incoming-message'); 6 | const auto = require('./auto'); 7 | 8 | const request = (url, options, callback) => { 9 | return new ClientRequest(url, options, callback); 10 | }; 11 | 12 | const get = (url, options, callback) => { 13 | // eslint-disable-next-line unicorn/prevent-abbreviations 14 | const req = new ClientRequest(url, options, callback); 15 | req.end(); 16 | 17 | return req; 18 | }; 19 | 20 | module.exports = { 21 | ...http2, 22 | ClientRequest, 23 | IncomingMessage, 24 | ...agent, 25 | request, 26 | get, 27 | auto 28 | }; 29 | -------------------------------------------------------------------------------- /node_modules/http2-wrapper/source/utils/calculate-server-name.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | const net = require('net'); 3 | /* istanbul ignore file: https://github.com/nodejs/node/blob/v13.0.1/lib/_http_agent.js */ 4 | 5 | module.exports = options => { 6 | let servername = options.host; 7 | const hostHeader = options.headers && options.headers.host; 8 | 9 | if (hostHeader) { 10 | if (hostHeader.startsWith('[')) { 11 | const index = hostHeader.indexOf(']'); 12 | if (index === -1) { 13 | servername = hostHeader; 14 | } else { 15 | servername = hostHeader.slice(1, -1); 16 | } 17 | } else { 18 | servername = hostHeader.split(':', 1)[0]; 19 | } 20 | } 21 | 22 | if (net.isIP(servername)) { 23 | return ''; 24 | } 25 | 26 | return servername; 27 | }; 28 | -------------------------------------------------------------------------------- /node_modules/http2-wrapper/source/utils/is-request-pseudo-header.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | module.exports = header => { 4 | switch (header) { 5 | case ':method': 6 | case ':scheme': 7 | case ':authority': 8 | case ':path': 9 | return true; 10 | default: 11 | return false; 12 | } 13 | }; 14 | -------------------------------------------------------------------------------- /node_modules/http2-wrapper/source/utils/proxy-events.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | module.exports = (from, to, events) => { 4 | for (const event of events) { 5 | from.on(event, (...args) => to.emit(event, ...args)); 6 | } 7 | }; 8 | -------------------------------------------------------------------------------- /node_modules/http2-wrapper/source/utils/url-to-options.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | /* istanbul ignore file: https://github.com/nodejs/node/blob/a91293d4d9ab403046ab5eb022332e4e3d249bd3/lib/internal/url.js#L1257 */ 3 | 4 | module.exports = url => { 5 | const options = { 6 | protocol: url.protocol, 7 | hostname: typeof url.hostname === 'string' && url.hostname.startsWith('[') ? url.hostname.slice(1, -1) : url.hostname, 8 | host: url.host, 9 | hash: url.hash, 10 | search: url.search, 11 | pathname: url.pathname, 12 | href: url.href, 13 | path: `${url.pathname || ''}${url.search || ''}` 14 | }; 15 | 16 | if (typeof url.port === 'string' && url.port.length !== 0) { 17 | options.port = Number(url.port); 18 | } 19 | 20 | if (url.username || url.password) { 21 | options.auth = `${url.username || ''}:${url.password || ''}`; 22 | } 23 | 24 | return options; 25 | }; 26 | -------------------------------------------------------------------------------- /node_modules/json-buffer/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - '0.10' 4 | -------------------------------------------------------------------------------- /node_modules/json-buffer/README.md: -------------------------------------------------------------------------------- 1 | # json-buffer 2 | 3 | JSON functions that can convert buffers! 4 | 5 | [![build status](https://secure.travis-ci.org/dominictarr/json-buffer.png)](http://travis-ci.org/dominictarr/json-buffer) 6 | 7 | [![testling badge](https://ci.testling.com/dominictarr/json-buffer.png)](https://ci.testling.com/dominictarr/json-buffer) 8 | 9 | JSON mangles buffers by converting to an array... 10 | which isn't helpful. json-buffers converts to base64 instead, 11 | and deconverts base64 to a buffer. 12 | 13 | ``` js 14 | var JSONB = require('json-buffer') 15 | var Buffer = require('buffer').Buffer 16 | 17 | var str = JSONB.stringify(Buffer.from('hello there!')) 18 | 19 | console.log(JSONB.parse(str)) //GET a BUFFER back 20 | ``` 21 | 22 | ## License 23 | 24 | MIT 25 | -------------------------------------------------------------------------------- /node_modules/json-buffer/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "json-buffer", 3 | "description": "JSON parse & stringify that supports binary via bops & base64", 4 | "version": "3.0.1", 5 | "homepage": "https://github.com/dominictarr/json-buffer", 6 | "repository": { 7 | "type": "git", 8 | "url": "git://github.com/dominictarr/json-buffer.git" 9 | }, 10 | "devDependencies": { 11 | "tape": "^4.6.3" 12 | }, 13 | "scripts": { 14 | "test": "set -e; for t in test/*.js; do node $t; done" 15 | }, 16 | "author": "Dominic Tarr (http://dominictarr.com)", 17 | "license": "MIT", 18 | "testling": { 19 | "files": "test/*.js", 20 | "browsers": [ 21 | "ie/8..latest", 22 | "firefox/17..latest", 23 | "firefox/nightly", 24 | "chrome/22..latest", 25 | "chrome/canary", 26 | "opera/12..latest", 27 | "opera/next", 28 | "safari/5.1..latest", 29 | "ipad/6.0..latest", 30 | "iphone/6.0..latest", 31 | "android-browser/4.2..latest" 32 | ] 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /node_modules/lowercase-keys/index.d.ts: -------------------------------------------------------------------------------- 1 | /** 2 | Lowercase the keys of an object. 3 | 4 | @returns A new object with the keys lowercased. 5 | 6 | @example 7 | ``` 8 | import lowercaseKeys = require('lowercase-keys'); 9 | 10 | lowercaseKeys({FOO: true, bAr: false}); 11 | //=> {foo: true, bar: false} 12 | ``` 13 | */ 14 | declare function lowercaseKeys(object: {[key: string]: T}): {[key: string]: T}; 15 | 16 | export = lowercaseKeys; 17 | -------------------------------------------------------------------------------- /node_modules/lowercase-keys/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | module.exports = object => { 3 | const result = {}; 4 | 5 | for (const [key, value] of Object.entries(object)) { 6 | result[key.toLowerCase()] = value; 7 | } 8 | 9 | return result; 10 | }; 11 | -------------------------------------------------------------------------------- /node_modules/lowercase-keys/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "lowercase-keys", 3 | "version": "2.0.0", 4 | "description": "Lowercase the keys of an object", 5 | "license": "MIT", 6 | "repository": "sindresorhus/lowercase-keys", 7 | "author": { 8 | "name": "Sindre Sorhus", 9 | "email": "sindresorhus@gmail.com", 10 | "url": "sindresorhus.com" 11 | }, 12 | "engines": { 13 | "node": ">=8" 14 | }, 15 | "scripts": { 16 | "test": "xo && ava && tsd" 17 | }, 18 | "files": [ 19 | "index.js", 20 | "index.d.ts" 21 | ], 22 | "keywords": [ 23 | "object", 24 | "assign", 25 | "extend", 26 | "properties", 27 | "lowercase", 28 | "lower-case", 29 | "case", 30 | "keys", 31 | "key" 32 | ], 33 | "devDependencies": { 34 | "ava": "^1.4.1", 35 | "tsd": "^0.7.2", 36 | "xo": "^0.24.0" 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /node_modules/lowercase-keys/readme.md: -------------------------------------------------------------------------------- 1 | # lowercase-keys [![Build Status](https://travis-ci.org/sindresorhus/lowercase-keys.svg?branch=master)](https://travis-ci.org/sindresorhus/lowercase-keys) 2 | 3 | > Lowercase the keys of an object 4 | 5 | 6 | ## Install 7 | 8 | ``` 9 | $ npm install lowercase-keys 10 | ``` 11 | 12 | 13 | ## Usage 14 | 15 | ```js 16 | const lowercaseKeys = require('lowercase-keys'); 17 | 18 | lowercaseKeys({FOO: true, bAr: false}); 19 | //=> {foo: true, bar: false} 20 | ``` 21 | 22 | 23 | ## API 24 | 25 | ### lowercaseKeys(object) 26 | 27 | Returns a new object with the keys lowercased. 28 | 29 | 30 | ## License 31 | 32 | MIT © [Sindre Sorhus](https://sindresorhus.com) 33 | -------------------------------------------------------------------------------- /node_modules/math-intrinsics/.eslintrc: -------------------------------------------------------------------------------- 1 | { 2 | "root": true, 3 | 4 | "extends": "@ljharb", 5 | 6 | "rules": { 7 | "eqeqeq": ["error", "allow-null"], 8 | "id-length": "off", 9 | "new-cap": ["error", { 10 | "capIsNewExceptions": [ 11 | "RequireObjectCoercible", 12 | "ToObject", 13 | ], 14 | }], 15 | }, 16 | } 17 | -------------------------------------------------------------------------------- /node_modules/math-intrinsics/.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | # These are supported funding model platforms 2 | 3 | github: [ljharb] 4 | patreon: # Replace with a single Patreon username 5 | open_collective: # Replace with a single Open Collective username 6 | ko_fi: # Replace with a single Ko-fi username 7 | tidelift: npm/math-intrinsics 8 | community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry 9 | liberapay: # Replace with a single Liberapay username 10 | issuehunt: # Replace with a single IssueHunt username 11 | otechie: # Replace with a single Otechie username 12 | custom: # Replace with a single custom sponsorship URL 13 | -------------------------------------------------------------------------------- /node_modules/math-intrinsics/abs.d.ts: -------------------------------------------------------------------------------- 1 | export = Math.abs; -------------------------------------------------------------------------------- /node_modules/math-intrinsics/abs.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | /** @type {import('./abs')} */ 4 | module.exports = Math.abs; 5 | -------------------------------------------------------------------------------- /node_modules/math-intrinsics/constants/maxArrayLength.d.ts: -------------------------------------------------------------------------------- 1 | declare const MAX_ARRAY_LENGTH: 4294967295; 2 | 3 | export = MAX_ARRAY_LENGTH; -------------------------------------------------------------------------------- /node_modules/math-intrinsics/constants/maxArrayLength.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | /** @type {import('./maxArrayLength')} */ 4 | module.exports = 4294967295; // Math.pow(2, 32) - 1; 5 | -------------------------------------------------------------------------------- /node_modules/math-intrinsics/constants/maxSafeInteger.d.ts: -------------------------------------------------------------------------------- 1 | declare const MAX_SAFE_INTEGER: 9007199254740991; 2 | 3 | export = MAX_SAFE_INTEGER; -------------------------------------------------------------------------------- /node_modules/math-intrinsics/constants/maxSafeInteger.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | /** @type {import('./maxSafeInteger')} */ 4 | // eslint-disable-next-line no-extra-parens 5 | module.exports = /** @type {import('./maxSafeInteger')} */ (Number.MAX_SAFE_INTEGER) || 9007199254740991; // Math.pow(2, 53) - 1; 6 | -------------------------------------------------------------------------------- /node_modules/math-intrinsics/constants/maxValue.d.ts: -------------------------------------------------------------------------------- 1 | declare const MAX_VALUE: 1.7976931348623157e+308; 2 | 3 | export = MAX_VALUE; 4 | -------------------------------------------------------------------------------- /node_modules/math-intrinsics/constants/maxValue.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | /** @type {import('./maxValue')} */ 4 | // eslint-disable-next-line no-extra-parens 5 | module.exports = /** @type {import('./maxValue')} */ (Number.MAX_VALUE) || 1.7976931348623157e+308; 6 | -------------------------------------------------------------------------------- /node_modules/math-intrinsics/floor.d.ts: -------------------------------------------------------------------------------- 1 | export = Math.floor; -------------------------------------------------------------------------------- /node_modules/math-intrinsics/floor.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | /** @type {import('./floor')} */ 4 | module.exports = Math.floor; 5 | -------------------------------------------------------------------------------- /node_modules/math-intrinsics/isFinite.d.ts: -------------------------------------------------------------------------------- 1 | declare function isFinite(x: unknown): x is number | bigint; 2 | 3 | export = isFinite; -------------------------------------------------------------------------------- /node_modules/math-intrinsics/isFinite.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var $isNaN = require('./isNaN'); 4 | 5 | /** @type {import('./isFinite')} */ 6 | module.exports = function isFinite(x) { 7 | return (typeof x === 'number' || typeof x === 'bigint') 8 | && !$isNaN(x) 9 | && x !== Infinity 10 | && x !== -Infinity; 11 | }; 12 | 13 | -------------------------------------------------------------------------------- /node_modules/math-intrinsics/isInteger.d.ts: -------------------------------------------------------------------------------- 1 | declare function isInteger(argument: unknown): argument is number; 2 | 3 | export = isInteger; -------------------------------------------------------------------------------- /node_modules/math-intrinsics/isInteger.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var $abs = require('./abs'); 4 | var $floor = require('./floor'); 5 | 6 | var $isNaN = require('./isNaN'); 7 | var $isFinite = require('./isFinite'); 8 | 9 | /** @type {import('./isInteger')} */ 10 | module.exports = function isInteger(argument) { 11 | if (typeof argument !== 'number' || $isNaN(argument) || !$isFinite(argument)) { 12 | return false; 13 | } 14 | var absValue = $abs(argument); 15 | return $floor(absValue) === absValue; 16 | }; 17 | -------------------------------------------------------------------------------- /node_modules/math-intrinsics/isNaN.d.ts: -------------------------------------------------------------------------------- 1 | export = Number.isNaN; -------------------------------------------------------------------------------- /node_modules/math-intrinsics/isNaN.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | /** @type {import('./isNaN')} */ 4 | module.exports = Number.isNaN || function isNaN(a) { 5 | return a !== a; 6 | }; 7 | -------------------------------------------------------------------------------- /node_modules/math-intrinsics/isNegativeZero.d.ts: -------------------------------------------------------------------------------- 1 | declare function isNegativeZero(x: unknown): boolean; 2 | 3 | export = isNegativeZero; -------------------------------------------------------------------------------- /node_modules/math-intrinsics/isNegativeZero.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | /** @type {import('./isNegativeZero')} */ 4 | module.exports = function isNegativeZero(x) { 5 | return x === 0 && 1 / x === 1 / -0; 6 | }; 7 | -------------------------------------------------------------------------------- /node_modules/math-intrinsics/max.d.ts: -------------------------------------------------------------------------------- 1 | export = Math.max; -------------------------------------------------------------------------------- /node_modules/math-intrinsics/max.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | /** @type {import('./max')} */ 4 | module.exports = Math.max; 5 | -------------------------------------------------------------------------------- /node_modules/math-intrinsics/min.d.ts: -------------------------------------------------------------------------------- 1 | export = Math.min; -------------------------------------------------------------------------------- /node_modules/math-intrinsics/min.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | /** @type {import('./min')} */ 4 | module.exports = Math.min; 5 | -------------------------------------------------------------------------------- /node_modules/math-intrinsics/mod.d.ts: -------------------------------------------------------------------------------- 1 | declare function mod(number: number, modulo: number): number; 2 | 3 | export = mod; -------------------------------------------------------------------------------- /node_modules/math-intrinsics/mod.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var $floor = require('./floor'); 4 | 5 | /** @type {import('./mod')} */ 6 | module.exports = function mod(number, modulo) { 7 | var remain = number % modulo; 8 | return $floor(remain >= 0 ? remain : remain + modulo); 9 | }; 10 | -------------------------------------------------------------------------------- /node_modules/math-intrinsics/pow.d.ts: -------------------------------------------------------------------------------- 1 | export = Math.pow; -------------------------------------------------------------------------------- /node_modules/math-intrinsics/pow.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | /** @type {import('./pow')} */ 4 | module.exports = Math.pow; 5 | -------------------------------------------------------------------------------- /node_modules/math-intrinsics/round.d.ts: -------------------------------------------------------------------------------- 1 | export = Math.round; -------------------------------------------------------------------------------- /node_modules/math-intrinsics/round.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | /** @type {import('./round')} */ 4 | module.exports = Math.round; 5 | -------------------------------------------------------------------------------- /node_modules/math-intrinsics/sign.d.ts: -------------------------------------------------------------------------------- 1 | declare function sign(x: number): number; 2 | 3 | export = sign; -------------------------------------------------------------------------------- /node_modules/math-intrinsics/sign.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var $isNaN = require('./isNaN'); 4 | 5 | /** @type {import('./sign')} */ 6 | module.exports = function sign(number) { 7 | if ($isNaN(number) || number === 0) { 8 | return number; 9 | } 10 | return number < 0 ? -1 : +1; 11 | }; 12 | -------------------------------------------------------------------------------- /node_modules/math-intrinsics/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "@ljharb/tsconfig", 3 | } 4 | -------------------------------------------------------------------------------- /node_modules/mime-db/index.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * mime-db 3 | * Copyright(c) 2014 Jonathan Ong 4 | * Copyright(c) 2015-2022 Douglas Christopher Wilson 5 | * MIT Licensed 6 | */ 7 | 8 | /** 9 | * Module exports. 10 | */ 11 | 12 | module.exports = require('./db.json') 13 | -------------------------------------------------------------------------------- /node_modules/mimic-response/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | // We define these manually to ensure they're always copied 4 | // even if they would move up the prototype chain 5 | // https://nodejs.org/api/http.html#http_class_http_incomingmessage 6 | const knownProps = [ 7 | 'destroy', 8 | 'setTimeout', 9 | 'socket', 10 | 'headers', 11 | 'trailers', 12 | 'rawHeaders', 13 | 'statusCode', 14 | 'httpVersion', 15 | 'httpVersionMinor', 16 | 'httpVersionMajor', 17 | 'rawTrailers', 18 | 'statusMessage' 19 | ]; 20 | 21 | module.exports = (fromStream, toStream) => { 22 | const fromProps = new Set(Object.keys(fromStream).concat(knownProps)); 23 | 24 | for (const prop of fromProps) { 25 | // Don't overwrite existing properties 26 | if (prop in toStream) { 27 | continue; 28 | } 29 | 30 | toStream[prop] = typeof fromStream[prop] === 'function' ? fromStream[prop].bind(fromStream) : fromStream[prop]; 31 | } 32 | }; 33 | -------------------------------------------------------------------------------- /node_modules/mimic-response/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "mimic-response", 3 | "version": "1.0.1", 4 | "description": "Mimic a Node.js HTTP response stream", 5 | "license": "MIT", 6 | "repository": "sindresorhus/mimic-response", 7 | "author": { 8 | "name": "Sindre Sorhus", 9 | "email": "sindresorhus@gmail.com", 10 | "url": "sindresorhus.com" 11 | }, 12 | "engines": { 13 | "node": ">=4" 14 | }, 15 | "scripts": { 16 | "test": "xo && ava" 17 | }, 18 | "files": [ 19 | "index.js" 20 | ], 21 | "keywords": [ 22 | "mimic", 23 | "response", 24 | "stream", 25 | "http", 26 | "https", 27 | "request", 28 | "get", 29 | "core" 30 | ], 31 | "devDependencies": { 32 | "ava": "*", 33 | "create-test-server": "^0.1.0", 34 | "pify": "^3.0.0", 35 | "xo": "*" 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /node_modules/normalize-url/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "normalize-url", 3 | "version": "6.1.0", 4 | "description": "Normalize a URL", 5 | "license": "MIT", 6 | "repository": "sindresorhus/normalize-url", 7 | "funding": "https://github.com/sponsors/sindresorhus", 8 | "author": { 9 | "name": "Sindre Sorhus", 10 | "email": "sindresorhus@gmail.com", 11 | "url": "https://sindresorhus.com" 12 | }, 13 | "engines": { 14 | "node": ">=10" 15 | }, 16 | "scripts": { 17 | "test": "xo && nyc ava && tsd" 18 | }, 19 | "files": [ 20 | "index.js", 21 | "index.d.ts" 22 | ], 23 | "keywords": [ 24 | "normalize", 25 | "url", 26 | "uri", 27 | "address", 28 | "string", 29 | "normalization", 30 | "normalisation", 31 | "query", 32 | "querystring", 33 | "simplify", 34 | "strip", 35 | "trim", 36 | "canonical" 37 | ], 38 | "devDependencies": { 39 | "ava": "^2.4.0", 40 | "nyc": "^15.0.0", 41 | "tsd": "^0.11.0", 42 | "xo": "^0.25.3" 43 | }, 44 | "nyc": { 45 | "reporter": [ 46 | "text", 47 | "lcov" 48 | ] 49 | } 50 | } 51 | -------------------------------------------------------------------------------- /node_modules/object-inspect/.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | # These are supported funding model platforms 2 | 3 | github: [ljharb] 4 | patreon: # Replace with a single Patreon username 5 | open_collective: # Replace with a single Open Collective username 6 | ko_fi: # Replace with a single Ko-fi username 7 | tidelift: npm/object-inspect 8 | community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry 9 | liberapay: # Replace with a single Liberapay username 10 | issuehunt: # Replace with a single IssueHunt username 11 | otechie: # Replace with a single Otechie username 12 | custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2'] 13 | -------------------------------------------------------------------------------- /node_modules/object-inspect/.nycrc: -------------------------------------------------------------------------------- 1 | { 2 | "all": true, 3 | "check-coverage": false, 4 | "instrumentation": false, 5 | "sourceMap": false, 6 | "reporter": ["text-summary", "text", "html", "json"], 7 | "exclude": [ 8 | "coverage", 9 | "example", 10 | "test", 11 | "test-core-js.js" 12 | ] 13 | } 14 | -------------------------------------------------------------------------------- /node_modules/object-inspect/example/all.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var inspect = require('../'); 4 | var Buffer = require('safer-buffer').Buffer; 5 | 6 | var holes = ['a', 'b']; 7 | holes[4] = 'e'; 8 | holes[6] = 'g'; 9 | 10 | var obj = { 11 | a: 1, 12 | b: [3, 4, undefined, null], 13 | c: undefined, 14 | d: null, 15 | e: { 16 | regex: /^x/i, 17 | buf: Buffer.from('abc'), 18 | holes: holes 19 | }, 20 | now: new Date() 21 | }; 22 | obj.self = obj; 23 | console.log(inspect(obj)); 24 | -------------------------------------------------------------------------------- /node_modules/object-inspect/example/circular.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var inspect = require('../'); 4 | var obj = { a: 1, b: [3, 4] }; 5 | obj.c = obj; 6 | console.log(inspect(obj)); 7 | -------------------------------------------------------------------------------- /node_modules/object-inspect/example/fn.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var inspect = require('../'); 4 | var obj = [1, 2, function f(n) { return n + 5; }, 4]; 5 | console.log(inspect(obj)); 6 | -------------------------------------------------------------------------------- /node_modules/object-inspect/example/inspect.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | /* eslint-env browser */ 4 | var inspect = require('../'); 5 | 6 | var d = document.createElement('div'); 7 | d.setAttribute('id', 'beep'); 8 | d.innerHTML = 'woooiiiii'; 9 | 10 | console.log(inspect([d, { a: 3, b: 4, c: [5, 6, [7, [8, [9]]]] }])); 11 | -------------------------------------------------------------------------------- /node_modules/object-inspect/package-support.json: -------------------------------------------------------------------------------- 1 | { 2 | "versions": [ 3 | { 4 | "version": "*", 5 | "target": { 6 | "node": "all" 7 | }, 8 | "response": { 9 | "type": "time-permitting" 10 | }, 11 | "backing": { 12 | "npm-funding": true, 13 | "donations": [ 14 | "https://github.com/ljharb", 15 | "https://tidelift.com/funding/github/npm/object-inspect" 16 | ] 17 | } 18 | } 19 | ] 20 | } 21 | -------------------------------------------------------------------------------- /node_modules/object-inspect/test-core-js.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | require('core-js'); 4 | 5 | var inspect = require('./'); 6 | var test = require('tape'); 7 | 8 | test('Maps', function (t) { 9 | t.equal(inspect(new Map([[1, 2]])), 'Map (1) {1 => 2}'); 10 | t.end(); 11 | }); 12 | 13 | test('WeakMaps', function (t) { 14 | t.equal(inspect(new WeakMap([[{}, 2]])), 'WeakMap { ? }'); 15 | t.end(); 16 | }); 17 | 18 | test('Sets', function (t) { 19 | t.equal(inspect(new Set([[1, 2]])), 'Set (1) {[ 1, 2 ]}'); 20 | t.end(); 21 | }); 22 | 23 | test('WeakSets', function (t) { 24 | t.equal(inspect(new WeakSet([[1, 2]])), 'WeakSet { ? }'); 25 | t.end(); 26 | }); 27 | -------------------------------------------------------------------------------- /node_modules/object-inspect/test/browser/dom.js: -------------------------------------------------------------------------------- 1 | var inspect = require('../../'); 2 | var test = require('tape'); 3 | 4 | test('dom element', function (t) { 5 | t.plan(1); 6 | 7 | var d = document.createElement('div'); 8 | d.setAttribute('id', 'beep'); 9 | d.innerHTML = 'woooiiiii'; 10 | 11 | t.equal( 12 | inspect([d, { a: 3, b: 4, c: [5, 6, [7, [8, [9]]]] }]), 13 | '[

...
, { a: 3, b: 4, c: [ 5, 6, [ 7, [ 8, [Object] ] ] ] } ]' 14 | ); 15 | }); 16 | -------------------------------------------------------------------------------- /node_modules/object-inspect/test/circular.js: -------------------------------------------------------------------------------- 1 | var inspect = require('../'); 2 | var test = require('tape'); 3 | 4 | test('circular', function (t) { 5 | t.plan(2); 6 | var obj = { a: 1, b: [3, 4] }; 7 | obj.c = obj; 8 | t.equal(inspect(obj), '{ a: 1, b: [ 3, 4 ], c: [Circular] }'); 9 | 10 | var double = {}; 11 | double.a = [double]; 12 | double.b = {}; 13 | double.b.inner = double.b; 14 | double.b.obj = double; 15 | t.equal(inspect(double), '{ a: [ [Circular] ], b: { inner: [Circular], obj: [Circular] } }'); 16 | }); 17 | -------------------------------------------------------------------------------- /node_modules/object-inspect/test/deep.js: -------------------------------------------------------------------------------- 1 | var inspect = require('../'); 2 | var test = require('tape'); 3 | 4 | test('deep', function (t) { 5 | t.plan(4); 6 | var obj = [[[[[[500]]]]]]; 7 | t.equal(inspect(obj), '[ [ [ [ [ [Array] ] ] ] ] ]'); 8 | t.equal(inspect(obj, { depth: 4 }), '[ [ [ [ [Array] ] ] ] ]'); 9 | t.equal(inspect(obj, { depth: 2 }), '[ [ [Array] ] ]'); 10 | 11 | t.equal(inspect([[[{ a: 1 }]]], { depth: 3 }), '[ [ [ [Object] ] ] ]'); 12 | }); 13 | -------------------------------------------------------------------------------- /node_modules/object-inspect/test/fakes.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var inspect = require('../'); 4 | var test = require('tape'); 5 | var hasToStringTag = require('has-tostringtag/shams')(); 6 | var forEach = require('for-each'); 7 | 8 | test('fakes', { skip: !hasToStringTag }, function (t) { 9 | forEach([ 10 | 'Array', 11 | 'Boolean', 12 | 'Date', 13 | 'Error', 14 | 'Number', 15 | 'RegExp', 16 | 'String' 17 | ], function (expected) { 18 | var faker = {}; 19 | faker[Symbol.toStringTag] = expected; 20 | 21 | t.equal( 22 | inspect(faker), 23 | '{ [Symbol(Symbol.toStringTag)]: \'' + expected + '\' }', 24 | 'faker masquerading as ' + expected + ' is not shown as one' 25 | ); 26 | }); 27 | 28 | t.end(); 29 | }); 30 | -------------------------------------------------------------------------------- /node_modules/object-inspect/test/global.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var inspect = require('../'); 4 | 5 | var test = require('tape'); 6 | var globalThis = require('globalthis')(); 7 | 8 | test('global object', function (t) { 9 | /* eslint-env browser */ 10 | var expected = typeof window === 'undefined' ? 'globalThis' : 'Window'; 11 | t.equal( 12 | inspect([globalThis]), 13 | '[ { [object ' + expected + '] } ]' 14 | ); 15 | 16 | t.end(); 17 | }); 18 | -------------------------------------------------------------------------------- /node_modules/object-inspect/test/has.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var inspect = require('../'); 4 | var test = require('tape'); 5 | var mockProperty = require('mock-property'); 6 | 7 | test('when Object#hasOwnProperty is deleted', function (t) { 8 | t.plan(1); 9 | var arr = [1, , 3]; // eslint-disable-line no-sparse-arrays 10 | 11 | t.teardown(mockProperty(Array.prototype, 1, { value: 2 })); // this is needed to account for "in" vs "hasOwnProperty" 12 | t.teardown(mockProperty(Object.prototype, 'hasOwnProperty', { 'delete': true })); 13 | 14 | t.equal(inspect(arr), '[ 1, , 3 ]'); 15 | }); 16 | -------------------------------------------------------------------------------- /node_modules/object-inspect/test/holes.js: -------------------------------------------------------------------------------- 1 | var test = require('tape'); 2 | var inspect = require('../'); 3 | 4 | var xs = ['a', 'b']; 5 | xs[5] = 'f'; 6 | xs[7] = 'j'; 7 | xs[8] = 'k'; 8 | 9 | test('holes', function (t) { 10 | t.plan(1); 11 | t.equal( 12 | inspect(xs), 13 | "[ 'a', 'b', , , , 'f', , 'j', 'k' ]" 14 | ); 15 | }); 16 | -------------------------------------------------------------------------------- /node_modules/object-inspect/test/lowbyte.js: -------------------------------------------------------------------------------- 1 | var test = require('tape'); 2 | var inspect = require('../'); 3 | 4 | var obj = { x: 'a\r\nb', y: '\x05! \x1f \x12' }; 5 | 6 | test('interpolate low bytes', function (t) { 7 | t.plan(1); 8 | t.equal( 9 | inspect(obj), 10 | "{ x: 'a\\r\\nb', y: '\\x05! \\x1F \\x12' }" 11 | ); 12 | }); 13 | -------------------------------------------------------------------------------- /node_modules/object-inspect/test/undef.js: -------------------------------------------------------------------------------- 1 | var test = require('tape'); 2 | var inspect = require('../'); 3 | 4 | var obj = { a: 1, b: [3, 4, undefined, null], c: undefined, d: null }; 5 | 6 | test('undef and null', function (t) { 7 | t.plan(1); 8 | t.equal( 9 | inspect(obj), 10 | '{ a: 1, b: [ 3, 4, undefined, null ], c: undefined, d: null }' 11 | ); 12 | }); 13 | -------------------------------------------------------------------------------- /node_modules/object-inspect/util.inspect.js: -------------------------------------------------------------------------------- 1 | module.exports = require('util').inspect; 2 | -------------------------------------------------------------------------------- /node_modules/once/LICENSE: -------------------------------------------------------------------------------- 1 | The ISC License 2 | 3 | Copyright (c) Isaac Z. Schlueter and Contributors 4 | 5 | Permission to use, copy, modify, and/or distribute this software for any 6 | purpose with or without fee is hereby granted, provided that the above 7 | copyright notice and this permission notice appear in all copies. 8 | 9 | THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 10 | WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 11 | MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 12 | ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 13 | WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 14 | ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR 15 | IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 16 | -------------------------------------------------------------------------------- /node_modules/once/once.js: -------------------------------------------------------------------------------- 1 | var wrappy = require('wrappy') 2 | module.exports = wrappy(once) 3 | module.exports.strict = wrappy(onceStrict) 4 | 5 | once.proto = once(function () { 6 | Object.defineProperty(Function.prototype, 'once', { 7 | value: function () { 8 | return once(this) 9 | }, 10 | configurable: true 11 | }) 12 | 13 | Object.defineProperty(Function.prototype, 'onceStrict', { 14 | value: function () { 15 | return onceStrict(this) 16 | }, 17 | configurable: true 18 | }) 19 | }) 20 | 21 | function once (fn) { 22 | var f = function () { 23 | if (f.called) return f.value 24 | f.called = true 25 | return f.value = fn.apply(this, arguments) 26 | } 27 | f.called = false 28 | return f 29 | } 30 | 31 | function onceStrict (fn) { 32 | var f = function () { 33 | if (f.called) 34 | throw new Error(f.onceError) 35 | f.called = true 36 | return f.value = fn.apply(this, arguments) 37 | } 38 | var name = fn.name || 'Function wrapped with `once`' 39 | f.onceError = name + " shouldn't be called more than once" 40 | f.called = false 41 | return f 42 | } 43 | -------------------------------------------------------------------------------- /node_modules/once/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "once", 3 | "version": "1.4.0", 4 | "description": "Run a function exactly one time", 5 | "main": "once.js", 6 | "directories": { 7 | "test": "test" 8 | }, 9 | "dependencies": { 10 | "wrappy": "1" 11 | }, 12 | "devDependencies": { 13 | "tap": "^7.0.1" 14 | }, 15 | "scripts": { 16 | "test": "tap test/*.js" 17 | }, 18 | "files": [ 19 | "once.js" 20 | ], 21 | "repository": { 22 | "type": "git", 23 | "url": "git://github.com/isaacs/once" 24 | }, 25 | "keywords": [ 26 | "once", 27 | "function", 28 | "one", 29 | "single" 30 | ], 31 | "author": "Isaac Z. Schlueter (http://blog.izs.me/)", 32 | "license": "ISC" 33 | } 34 | -------------------------------------------------------------------------------- /node_modules/p-cancelable/license: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) Sindre Sorhus (sindresorhus.com) 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: 6 | 7 | The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. 8 | 9 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 10 | -------------------------------------------------------------------------------- /node_modules/p-cancelable/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "p-cancelable", 3 | "version": "2.1.1", 4 | "description": "Create a promise that can be canceled", 5 | "license": "MIT", 6 | "repository": "sindresorhus/p-cancelable", 7 | "author": { 8 | "name": "Sindre Sorhus", 9 | "email": "sindresorhus@gmail.com", 10 | "url": "sindresorhus.com" 11 | }, 12 | "engines": { 13 | "node": ">=8" 14 | }, 15 | "scripts": { 16 | "test": "xo && ava && tsd" 17 | }, 18 | "files": [ 19 | "index.js", 20 | "index.d.ts" 21 | ], 22 | "keywords": [ 23 | "promise", 24 | "cancelable", 25 | "cancel", 26 | "canceled", 27 | "canceling", 28 | "cancellable", 29 | "cancellation", 30 | "abort", 31 | "abortable", 32 | "aborting", 33 | "cleanup", 34 | "task", 35 | "token", 36 | "async", 37 | "function", 38 | "await", 39 | "promises", 40 | "bluebird" 41 | ], 42 | "devDependencies": { 43 | "ava": "^1.4.1", 44 | "delay": "^4.1.0", 45 | "promise.prototype.finally": "^3.1.0", 46 | "tsd": "^0.7.1", 47 | "xo": "^0.24.0" 48 | } 49 | } 50 | -------------------------------------------------------------------------------- /node_modules/proxy-from-env/.eslintrc: -------------------------------------------------------------------------------- 1 | { 2 | "env": { 3 | "node": true 4 | }, 5 | "rules": { 6 | "array-bracket-spacing": [2, "never"], 7 | "block-scoped-var": 2, 8 | "brace-style": [2, "1tbs"], 9 | "camelcase": 1, 10 | "computed-property-spacing": [2, "never"], 11 | "curly": 2, 12 | "eol-last": 2, 13 | "eqeqeq": [2, "smart"], 14 | "max-depth": [1, 3], 15 | "max-len": [1, 80], 16 | "max-statements": [1, 15], 17 | "new-cap": 1, 18 | "no-extend-native": 2, 19 | "no-mixed-spaces-and-tabs": 2, 20 | "no-trailing-spaces": 2, 21 | "no-unused-vars": 1, 22 | "no-use-before-define": [2, "nofunc"], 23 | "object-curly-spacing": [2, "never"], 24 | "quotes": [2, "single", "avoid-escape"], 25 | "semi": [2, "always"], 26 | "keyword-spacing": [2, {"before": true, "after": true}], 27 | "space-unary-ops": 2 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /node_modules/proxy-from-env/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - node 4 | - lts/* 5 | script: 6 | - npm run lint 7 | # test-coverage will also run the tests, but does not print helpful output upon test failure. 8 | # So we also run the tests separately. 9 | - npm run test 10 | - npm run test-coverage && cat coverage/lcov.info | ./node_modules/.bin/coveralls && rm -rf coverage 11 | -------------------------------------------------------------------------------- /node_modules/proxy-from-env/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "proxy-from-env", 3 | "version": "1.1.0", 4 | "description": "Offers getProxyForUrl to get the proxy URL for a URL, respecting the *_PROXY (e.g. HTTP_PROXY) and NO_PROXY environment variables.", 5 | "main": "index.js", 6 | "scripts": { 7 | "lint": "eslint *.js", 8 | "test": "mocha ./test.js --reporter spec", 9 | "test-coverage": "istanbul cover ./node_modules/.bin/_mocha -- --reporter spec" 10 | }, 11 | "repository": { 12 | "type": "git", 13 | "url": "https://github.com/Rob--W/proxy-from-env.git" 14 | }, 15 | "keywords": [ 16 | "proxy", 17 | "http_proxy", 18 | "https_proxy", 19 | "no_proxy", 20 | "environment" 21 | ], 22 | "author": "Rob Wu (https://robwu.nl/)", 23 | "license": "MIT", 24 | "bugs": { 25 | "url": "https://github.com/Rob--W/proxy-from-env/issues" 26 | }, 27 | "homepage": "https://github.com/Rob--W/proxy-from-env#readme", 28 | "devDependencies": { 29 | "coveralls": "^3.0.9", 30 | "eslint": "^6.8.0", 31 | "istanbul": "^0.4.5", 32 | "mocha": "^7.1.0" 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /node_modules/pump/.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | github: mafintosh 2 | tidelift: "npm/pump" 3 | -------------------------------------------------------------------------------- /node_modules/pump/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "0.10" 4 | 5 | script: "npm test" 6 | -------------------------------------------------------------------------------- /node_modules/pump/SECURITY.md: -------------------------------------------------------------------------------- 1 | ## Security contact information 2 | 3 | To report a security vulnerability, please use the 4 | [Tidelift security contact](https://tidelift.com/security). 5 | Tidelift will coordinate the fix and disclosure. 6 | -------------------------------------------------------------------------------- /node_modules/pump/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "pump", 3 | "version": "3.0.2", 4 | "repository": "git://github.com/mafintosh/pump.git", 5 | "license": "MIT", 6 | "description": "pipe streams together and close all of them if one of them closes", 7 | "browser": { 8 | "fs": false 9 | }, 10 | "keywords": [ 11 | "streams", 12 | "pipe", 13 | "destroy", 14 | "callback" 15 | ], 16 | "author": "Mathias Buus Madsen ", 17 | "dependencies": { 18 | "end-of-stream": "^1.1.0", 19 | "once": "^1.3.1" 20 | }, 21 | "scripts": { 22 | "test": "node test-browser.js && node test-node.js" 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /node_modules/qs/.editorconfig: -------------------------------------------------------------------------------- 1 | root = true 2 | 3 | [*] 4 | indent_style = space 5 | indent_size = 4 6 | end_of_line = lf 7 | charset = utf-8 8 | trim_trailing_whitespace = true 9 | insert_final_newline = true 10 | max_line_length = 160 11 | quote_type = single 12 | 13 | [test/*] 14 | max_line_length = off 15 | 16 | [LICENSE.md] 17 | indent_size = off 18 | 19 | [*.md] 20 | max_line_length = off 21 | 22 | [*.json] 23 | max_line_length = off 24 | 25 | [Makefile] 26 | max_line_length = off 27 | 28 | [CHANGELOG.md] 29 | indent_style = space 30 | indent_size = 2 31 | 32 | [LICENSE] 33 | indent_size = 2 34 | max_line_length = off 35 | 36 | [coverage/**/*] 37 | indent_size = off 38 | indent_style = off 39 | indent = off 40 | max_line_length = off 41 | 42 | [.nycrc] 43 | indent_style = tab 44 | 45 | [tea.yaml] 46 | indent_size = 2 47 | -------------------------------------------------------------------------------- /node_modules/qs/.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | # These are supported funding model platforms 2 | 3 | github: [ljharb] 4 | patreon: # Replace with a single Patreon username 5 | open_collective: # Replace with a single Open Collective username 6 | ko_fi: # Replace with a single Ko-fi username 7 | tidelift: npm/qs 8 | community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry 9 | liberapay: # Replace with a single Liberapay username 10 | issuehunt: # Replace with a single IssueHunt username 11 | otechie: # Replace with a single Otechie username 12 | custom: # Replace with a single custom sponsorship URL 13 | -------------------------------------------------------------------------------- /node_modules/qs/.nycrc: -------------------------------------------------------------------------------- 1 | { 2 | "all": true, 3 | "check-coverage": false, 4 | "reporter": ["text-summary", "text", "html", "json"], 5 | "lines": 86, 6 | "statements": 85.93, 7 | "functions": 82.43, 8 | "branches": 76.06, 9 | "exclude": [ 10 | "coverage", 11 | "dist" 12 | ] 13 | } 14 | -------------------------------------------------------------------------------- /node_modules/qs/lib/formats.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var replace = String.prototype.replace; 4 | var percentTwenties = /%20/g; 5 | 6 | var Format = { 7 | RFC1738: 'RFC1738', 8 | RFC3986: 'RFC3986' 9 | }; 10 | 11 | module.exports = { 12 | 'default': Format.RFC3986, 13 | formatters: { 14 | RFC1738: function (value) { 15 | return replace.call(value, percentTwenties, '+'); 16 | }, 17 | RFC3986: function (value) { 18 | return String(value); 19 | } 20 | }, 21 | RFC1738: Format.RFC1738, 22 | RFC3986: Format.RFC3986 23 | }; 24 | -------------------------------------------------------------------------------- /node_modules/qs/lib/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var stringify = require('./stringify'); 4 | var parse = require('./parse'); 5 | var formats = require('./formats'); 6 | 7 | module.exports = { 8 | formats: formats, 9 | parse: parse, 10 | stringify: stringify 11 | }; 12 | -------------------------------------------------------------------------------- /node_modules/quick-lru/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "quick-lru", 3 | "version": "5.1.1", 4 | "description": "Simple “Least Recently Used” (LRU) cache", 5 | "license": "MIT", 6 | "repository": "sindresorhus/quick-lru", 7 | "funding": "https://github.com/sponsors/sindresorhus", 8 | "author": { 9 | "name": "Sindre Sorhus", 10 | "email": "sindresorhus@gmail.com", 11 | "url": "https://sindresorhus.com" 12 | }, 13 | "engines": { 14 | "node": ">=10" 15 | }, 16 | "scripts": { 17 | "test": "xo && nyc ava && tsd" 18 | }, 19 | "files": [ 20 | "index.js", 21 | "index.d.ts" 22 | ], 23 | "keywords": [ 24 | "lru", 25 | "quick", 26 | "cache", 27 | "caching", 28 | "least", 29 | "recently", 30 | "used", 31 | "fast", 32 | "map", 33 | "hash", 34 | "buffer" 35 | ], 36 | "devDependencies": { 37 | "ava": "^2.0.0", 38 | "coveralls": "^3.0.3", 39 | "nyc": "^15.0.0", 40 | "tsd": "^0.11.0", 41 | "xo": "^0.26.0" 42 | } 43 | } 44 | -------------------------------------------------------------------------------- /node_modules/resolve-alpn/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | const tls = require('tls'); 3 | 4 | module.exports = (options = {}, connect = tls.connect) => new Promise((resolve, reject) => { 5 | let timeout = false; 6 | 7 | let socket; 8 | 9 | const callback = async () => { 10 | await socketPromise; 11 | 12 | socket.off('timeout', onTimeout); 13 | socket.off('error', reject); 14 | 15 | if (options.resolveSocket) { 16 | resolve({alpnProtocol: socket.alpnProtocol, socket, timeout}); 17 | 18 | if (timeout) { 19 | await Promise.resolve(); 20 | socket.emit('timeout'); 21 | } 22 | } else { 23 | socket.destroy(); 24 | resolve({alpnProtocol: socket.alpnProtocol, timeout}); 25 | } 26 | }; 27 | 28 | const onTimeout = async () => { 29 | timeout = true; 30 | callback(); 31 | }; 32 | 33 | const socketPromise = (async () => { 34 | try { 35 | socket = await connect(options, callback); 36 | 37 | socket.on('error', reject); 38 | socket.once('timeout', onTimeout); 39 | } catch (error) { 40 | reject(error); 41 | } 42 | })(); 43 | }); 44 | -------------------------------------------------------------------------------- /node_modules/resolve-alpn/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "resolve-alpn", 3 | "version": "1.2.1", 4 | "description": "Detects the ALPN protocol", 5 | "main": "index.js", 6 | "scripts": { 7 | "test": "xo && nyc --reporter=lcovonly --reporter=text --reporter=html ava" 8 | }, 9 | "files": [ 10 | "index.js" 11 | ], 12 | "repository": { 13 | "type": "git", 14 | "url": "git+https://github.com/szmarczak/resolve-alpn.git" 15 | }, 16 | "keywords": [ 17 | "alpn", 18 | "tls", 19 | "socket", 20 | "http2" 21 | ], 22 | "author": "Szymon Marczak", 23 | "license": "MIT", 24 | "bugs": { 25 | "url": "https://github.com/szmarczak/resolve-alpn/issues" 26 | }, 27 | "homepage": "https://github.com/szmarczak/resolve-alpn#readme", 28 | "devDependencies": { 29 | "ava": "^3.15.0", 30 | "nyc": "^15.1.0", 31 | "pem": "1.14.3", 32 | "xo": "^0.38.2" 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /node_modules/responselike/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "responselike", 3 | "version": "2.0.1", 4 | "description": "A response-like object for mocking a Node.js HTTP response stream", 5 | "funding": "https://github.com/sponsors/sindresorhus", 6 | "main": "src/index.js", 7 | "scripts": { 8 | "test": "xo && nyc ava", 9 | "coverage": "nyc report --reporter=text-lcov | coveralls" 10 | }, 11 | "xo": { 12 | "extends": "xo-lukechilds" 13 | }, 14 | "keywords": [ 15 | "http", 16 | "https", 17 | "response", 18 | "mock", 19 | "request", 20 | "responselike" 21 | ], 22 | "repository": { 23 | "type": "git", 24 | "url": "https://github.com/sindresorhus/responselike.git" 25 | }, 26 | "author": "lukechilds", 27 | "license": "MIT", 28 | "devDependencies": { 29 | "ava": "^0.25.0", 30 | "coveralls": "^3.0.0", 31 | "eslint-config-xo-lukechilds": "^1.0.0", 32 | "get-stream": "^3.0.0", 33 | "nyc": "^11.8.0", 34 | "xo": "^0.19.0" 35 | }, 36 | "dependencies": { 37 | "lowercase-keys": "^2.0.0" 38 | } 39 | } 40 | -------------------------------------------------------------------------------- /node_modules/responselike/src/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | const Readable = require('stream').Readable; 4 | const lowercaseKeys = require('lowercase-keys'); 5 | 6 | class Response extends Readable { 7 | constructor(statusCode, headers, body, url) { 8 | if (typeof statusCode !== 'number') { 9 | throw new TypeError('Argument `statusCode` should be a number'); 10 | } 11 | if (typeof headers !== 'object') { 12 | throw new TypeError('Argument `headers` should be an object'); 13 | } 14 | if (!(body instanceof Buffer)) { 15 | throw new TypeError('Argument `body` should be a buffer'); 16 | } 17 | if (typeof url !== 'string') { 18 | throw new TypeError('Argument `url` should be a string'); 19 | } 20 | 21 | super(); 22 | this.statusCode = statusCode; 23 | this.headers = lowercaseKeys(headers); 24 | this.body = body; 25 | this.url = url; 26 | } 27 | 28 | _read() { 29 | this.push(this.body); 30 | this.push(null); 31 | } 32 | } 33 | 34 | module.exports = Response; 35 | -------------------------------------------------------------------------------- /node_modules/side-channel-list/.editorconfig: -------------------------------------------------------------------------------- 1 | root = true 2 | 3 | [*] 4 | charset = utf-8 5 | end_of_line = lf 6 | insert_final_newline = true 7 | indent_style = tab 8 | indent_size = 2 9 | trim_trailing_whitespace = true 10 | -------------------------------------------------------------------------------- /node_modules/side-channel-list/.eslintrc: -------------------------------------------------------------------------------- 1 | { 2 | "root": true, 3 | 4 | "extends": "@ljharb", 5 | 6 | "rules": { 7 | "max-lines-per-function": 0, 8 | "multiline-comment-style": 1, 9 | "new-cap": [2, { "capIsNewExceptions": ["GetIntrinsic"] }], 10 | }, 11 | } 12 | -------------------------------------------------------------------------------- /node_modules/side-channel-list/.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | # These are supported funding model platforms 2 | 3 | github: [ljharb] 4 | patreon: # Replace with a single Patreon username 5 | open_collective: # Replace with a single Open Collective username 6 | ko_fi: # Replace with a single Ko-fi username 7 | tidelift: npm/side-channel-list 8 | community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry 9 | liberapay: # Replace with a single Liberapay username 10 | issuehunt: # Replace with a single IssueHunt username 11 | otechie: # Replace with a single Otechie username 12 | custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2'] 13 | -------------------------------------------------------------------------------- /node_modules/side-channel-list/.nycrc: -------------------------------------------------------------------------------- 1 | { 2 | "all": true, 3 | "check-coverage": false, 4 | "reporter": ["text-summary", "text", "html", "json"], 5 | "lines": 86, 6 | "statements": 85.93, 7 | "functions": 82.43, 8 | "branches": 76.06, 9 | "exclude": [ 10 | "coverage", 11 | "test" 12 | ] 13 | } 14 | -------------------------------------------------------------------------------- /node_modules/side-channel-list/CHANGELOG.md: -------------------------------------------------------------------------------- 1 | # Changelog 2 | 3 | All notable changes to this project will be documented in this file. 4 | 5 | The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) 6 | and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). 7 | 8 | ## v1.0.0 - 2024-12-10 9 | 10 | ### Commits 11 | 12 | - Initial implementation, tests, readme, types [`5d6baee`](https://github.com/ljharb/side-channel-list/commit/5d6baee5c9054a1238007f5a1dfc109a7a816251) 13 | - Initial commit [`3ae784c`](https://github.com/ljharb/side-channel-list/commit/3ae784c63a47895fbaeed2a91ab54a8029a7a100) 14 | - npm init [`07055a4`](https://github.com/ljharb/side-channel-list/commit/07055a4d139895565b199dba5fe2479c1a1b9e28) 15 | - Only apps should have lockfiles [`9573058`](https://github.com/ljharb/side-channel-list/commit/9573058a47494e2d68f8c6c77b5d7fbe441949c1) 16 | -------------------------------------------------------------------------------- /node_modules/side-channel-list/index.d.ts: -------------------------------------------------------------------------------- 1 | declare namespace getSideChannelList { 2 | type Channel = { 3 | assert: (key: K) => void; 4 | has: (key: K) => boolean; 5 | get: (key: K) => V | undefined; 6 | set: (key: K, value: V) => void; 7 | delete: (key: K) => boolean; 8 | }; 9 | } 10 | 11 | declare function getSideChannelList(): getSideChannelList.Channel; 12 | 13 | export = getSideChannelList; 14 | -------------------------------------------------------------------------------- /node_modules/side-channel-list/list.d.ts: -------------------------------------------------------------------------------- 1 | type ListNode = { 2 | key: K; 3 | next: undefined | ListNode; 4 | value: T; 5 | }; 6 | type RootNode = { 7 | next: undefined | ListNode; 8 | }; 9 | 10 | export function listGetNode(list: RootNode, key: ListNode['key'], isDelete?: boolean): ListNode | undefined; 11 | export function listGet(objects: undefined | RootNode, key: ListNode['key']): T | undefined; 12 | export function listSet(objects: RootNode, key: ListNode['key'], value: T): void; 13 | export function listHas(objects: undefined | RootNode, key: ListNode['key']): boolean; 14 | export function listDelete(objects: undefined | RootNode, key: ListNode['key']): ListNode | undefined; 15 | -------------------------------------------------------------------------------- /node_modules/side-channel-list/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "@ljharb/tsconfig", 3 | "compilerOptions": { 4 | "target": "es2021", 5 | }, 6 | "exclude": [ 7 | "coverage", 8 | ], 9 | } 10 | -------------------------------------------------------------------------------- /node_modules/side-channel-map/.editorconfig: -------------------------------------------------------------------------------- 1 | root = true 2 | 3 | [*] 4 | charset = utf-8 5 | end_of_line = lf 6 | insert_final_newline = true 7 | indent_style = tab 8 | indent_size = 2 9 | trim_trailing_whitespace = true 10 | -------------------------------------------------------------------------------- /node_modules/side-channel-map/.eslintrc: -------------------------------------------------------------------------------- 1 | { 2 | "root": true, 3 | 4 | "extends": "@ljharb", 5 | 6 | "rules": { 7 | "max-lines-per-function": 0, 8 | "multiline-comment-style": 1, 9 | "new-cap": [2, { "capIsNewExceptions": ["GetIntrinsic"] }], 10 | }, 11 | } 12 | -------------------------------------------------------------------------------- /node_modules/side-channel-map/.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | # These are supported funding model platforms 2 | 3 | github: [ljharb] 4 | patreon: # Replace with a single Patreon username 5 | open_collective: # Replace with a single Open Collective username 6 | ko_fi: # Replace with a single Ko-fi username 7 | tidelift: npm/side-channel-map 8 | community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry 9 | liberapay: # Replace with a single Liberapay username 10 | issuehunt: # Replace with a single IssueHunt username 11 | otechie: # Replace with a single Otechie username 12 | custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2'] 13 | -------------------------------------------------------------------------------- /node_modules/side-channel-map/.nycrc: -------------------------------------------------------------------------------- 1 | { 2 | "all": true, 3 | "check-coverage": false, 4 | "reporter": ["text-summary", "text", "html", "json"], 5 | "lines": 86, 6 | "statements": 85.93, 7 | "functions": 82.43, 8 | "branches": 76.06, 9 | "exclude": [ 10 | "coverage", 11 | "test" 12 | ] 13 | } 14 | -------------------------------------------------------------------------------- /node_modules/side-channel-map/index.d.ts: -------------------------------------------------------------------------------- 1 | declare namespace getSideChannelMap { 2 | type Channel = { 3 | assert: (key: K) => void; 4 | has: (key: K) => boolean; 5 | get: (key: K) => V | undefined; 6 | set: (key: K, value: V) => void; 7 | delete: (key: K) => boolean; 8 | }; 9 | } 10 | 11 | declare function getSideChannelMap(): getSideChannelMap.Channel; 12 | 13 | declare const x: false | typeof getSideChannelMap; 14 | 15 | export = x; 16 | -------------------------------------------------------------------------------- /node_modules/side-channel-map/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "@ljharb/tsconfig", 3 | "compilerOptions": { 4 | "target": "es2021", 5 | }, 6 | "exclude": [ 7 | "coverage", 8 | ], 9 | } 10 | -------------------------------------------------------------------------------- /node_modules/side-channel-weakmap/.editorconfig: -------------------------------------------------------------------------------- 1 | root = true 2 | 3 | [*] 4 | charset = utf-8 5 | end_of_line = lf 6 | insert_final_newline = true 7 | indent_style = tab 8 | indent_size = 2 9 | trim_trailing_whitespace = true 10 | -------------------------------------------------------------------------------- /node_modules/side-channel-weakmap/.eslintrc: -------------------------------------------------------------------------------- 1 | { 2 | "root": true, 3 | 4 | "extends": "@ljharb", 5 | 6 | "rules": { 7 | "id-length": 0, 8 | "max-lines-per-function": 0, 9 | "multiline-comment-style": 1, 10 | "new-cap": [2, { "capIsNewExceptions": ["GetIntrinsic"] }], 11 | }, 12 | } 13 | -------------------------------------------------------------------------------- /node_modules/side-channel-weakmap/.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | # These are supported funding model platforms 2 | 3 | github: [ljharb] 4 | patreon: # Replace with a single Patreon username 5 | open_collective: # Replace with a single Open Collective username 6 | ko_fi: # Replace with a single Ko-fi username 7 | tidelift: npm/side-channel-weakmap 8 | community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry 9 | liberapay: # Replace with a single Liberapay username 10 | issuehunt: # Replace with a single IssueHunt username 11 | otechie: # Replace with a single Otechie username 12 | custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2'] 13 | -------------------------------------------------------------------------------- /node_modules/side-channel-weakmap/.nycrc: -------------------------------------------------------------------------------- 1 | { 2 | "all": true, 3 | "check-coverage": false, 4 | "reporter": ["text-summary", "text", "html", "json"], 5 | "lines": 86, 6 | "statements": 85.93, 7 | "functions": 82.43, 8 | "branches": 76.06, 9 | "exclude": [ 10 | "coverage", 11 | "test" 12 | ] 13 | } 14 | -------------------------------------------------------------------------------- /node_modules/side-channel-weakmap/index.d.ts: -------------------------------------------------------------------------------- 1 | declare namespace getSideChannelWeakMap { 2 | type Channel = { 3 | assert: (key: K) => void; 4 | has: (key: K) => boolean; 5 | get: (key: K) => V | undefined; 6 | set: (key: K, value: V) => void; 7 | delete: (key: K) => boolean; 8 | } 9 | } 10 | 11 | declare function getSideChannelWeakMap(): getSideChannelWeakMap.Channel; 12 | 13 | declare const x: false | typeof getSideChannelWeakMap; 14 | 15 | export = x; 16 | -------------------------------------------------------------------------------- /node_modules/side-channel-weakmap/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "@ljharb/tsconfig", 3 | "compilerOptions": { 4 | "target": "es2021", 5 | }, 6 | "exclude": [ 7 | "coverage", 8 | ], 9 | } 10 | -------------------------------------------------------------------------------- /node_modules/side-channel/.editorconfig: -------------------------------------------------------------------------------- 1 | root = true 2 | 3 | [*] 4 | charset = utf-8 5 | end_of_line = lf 6 | insert_final_newline = true 7 | indent_style = tab 8 | indent_size = 2 9 | trim_trailing_whitespace = true 10 | -------------------------------------------------------------------------------- /node_modules/side-channel/.eslintrc: -------------------------------------------------------------------------------- 1 | { 2 | "root": true, 3 | 4 | "extends": "@ljharb", 5 | 6 | "rules": { 7 | "id-length": 0, 8 | "max-lines-per-function": 0, 9 | "multiline-comment-style": 1, 10 | "new-cap": [2, { "capIsNewExceptions": ["GetIntrinsic"] }], 11 | }, 12 | } 13 | -------------------------------------------------------------------------------- /node_modules/side-channel/.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | # These are supported funding model platforms 2 | 3 | github: [ljharb] 4 | patreon: # Replace with a single Patreon username 5 | open_collective: # Replace with a single Open Collective username 6 | ko_fi: # Replace with a single Ko-fi username 7 | tidelift: npm/side-channel 8 | community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry 9 | liberapay: # Replace with a single Liberapay username 10 | issuehunt: # Replace with a single IssueHunt username 11 | otechie: # Replace with a single Otechie username 12 | custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2'] 13 | -------------------------------------------------------------------------------- /node_modules/side-channel/.nycrc: -------------------------------------------------------------------------------- 1 | { 2 | "all": true, 3 | "check-coverage": false, 4 | "reporter": ["text-summary", "text", "html", "json"], 5 | "lines": 86, 6 | "statements": 85.93, 7 | "functions": 82.43, 8 | "branches": 76.06, 9 | "exclude": [ 10 | "coverage", 11 | "test" 12 | ] 13 | } 14 | -------------------------------------------------------------------------------- /node_modules/side-channel/index.d.ts: -------------------------------------------------------------------------------- 1 | import getSideChannelList from 'side-channel-list'; 2 | import getSideChannelMap from 'side-channel-map'; 3 | import getSideChannelWeakMap from 'side-channel-weakmap'; 4 | 5 | declare namespace getSideChannel { 6 | type Channel = 7 | | getSideChannelList.Channel 8 | | ReturnType, false>> 9 | | ReturnType, false>>; 10 | } 11 | 12 | declare function getSideChannel(): getSideChannel.Channel; 13 | 14 | export = getSideChannel; 15 | -------------------------------------------------------------------------------- /node_modules/side-channel/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "@ljharb/tsconfig", 3 | "compilerOptions": { 4 | "target": "es2021", 5 | }, 6 | "exclude": [ 7 | "coverage", 8 | ], 9 | } 10 | -------------------------------------------------------------------------------- /node_modules/undici-types/README.md: -------------------------------------------------------------------------------- 1 | # undici-types 2 | 3 | This package is a dual-publish of the [undici](https://www.npmjs.com/package/undici) library types. The `undici` package **still contains types**. This package is for users who _only_ need undici types (such as for `@types/node`). It is published alongside every release of `undici`, so you can always use the same version. 4 | 5 | - [GitHub nodejs/undici](https://github.com/nodejs/undici) 6 | - [Undici Documentation](https://undici.nodejs.org/#/) 7 | -------------------------------------------------------------------------------- /node_modules/undici-types/balanced-pool.d.ts: -------------------------------------------------------------------------------- 1 | import Pool from './pool' 2 | import Dispatcher from './dispatcher' 3 | import { URL } from 'url' 4 | 5 | export default BalancedPool 6 | 7 | type BalancedPoolConnectOptions = Omit; 8 | 9 | declare class BalancedPool extends Dispatcher { 10 | constructor(url: string | string[] | URL | URL[], options?: Pool.Options); 11 | 12 | addUpstream(upstream: string | URL): BalancedPool; 13 | removeUpstream(upstream: string | URL): BalancedPool; 14 | upstreams: Array; 15 | 16 | /** `true` after `pool.close()` has been called. */ 17 | closed: boolean; 18 | /** `true` after `pool.destroyed()` has been called or `pool.close()` has been called and the pool shutdown has completed. */ 19 | destroyed: boolean; 20 | 21 | // Override dispatcher APIs. 22 | override connect( 23 | options: BalancedPoolConnectOptions 24 | ): Promise; 25 | override connect( 26 | options: BalancedPoolConnectOptions, 27 | callback: (err: Error | null, data: Dispatcher.ConnectData) => void 28 | ): void; 29 | } 30 | -------------------------------------------------------------------------------- /node_modules/undici-types/content-type.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | 3 | interface MIMEType { 4 | type: string 5 | subtype: string 6 | parameters: Map 7 | essence: string 8 | } 9 | 10 | /** 11 | * Parse a string to a {@link MIMEType} object. Returns `failure` if the string 12 | * couldn't be parsed. 13 | * @see https://mimesniff.spec.whatwg.org/#parse-a-mime-type 14 | */ 15 | export function parseMIMEType (input: string): 'failure' | MIMEType 16 | 17 | /** 18 | * Convert a MIMEType object to a string. 19 | * @see https://mimesniff.spec.whatwg.org/#serialize-a-mime-type 20 | */ 21 | export function serializeAMimeType (mimeType: MIMEType): string 22 | -------------------------------------------------------------------------------- /node_modules/undici-types/cookies.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | 3 | import type { Headers } from './fetch' 4 | 5 | export interface Cookie { 6 | name: string 7 | value: string 8 | expires?: Date | number 9 | maxAge?: number 10 | domain?: string 11 | path?: string 12 | secure?: boolean 13 | httpOnly?: boolean 14 | sameSite?: 'Strict' | 'Lax' | 'None' 15 | unparsed?: string[] 16 | } 17 | 18 | export function deleteCookie ( 19 | headers: Headers, 20 | name: string, 21 | attributes?: { name?: string, domain?: string } 22 | ): void 23 | 24 | export function getCookies (headers: Headers): Record 25 | 26 | export function getSetCookies (headers: Headers): Cookie[] 27 | 28 | export function setCookie (headers: Headers, cookie: Cookie): void 29 | -------------------------------------------------------------------------------- /node_modules/undici-types/env-http-proxy-agent.d.ts: -------------------------------------------------------------------------------- 1 | import Agent from './agent' 2 | import Dispatcher from './dispatcher' 3 | 4 | export default EnvHttpProxyAgent 5 | 6 | declare class EnvHttpProxyAgent extends Dispatcher { 7 | constructor(opts?: EnvHttpProxyAgent.Options) 8 | 9 | dispatch(options: Agent.DispatchOptions, handler: Dispatcher.DispatchHandlers): boolean; 10 | } 11 | 12 | declare namespace EnvHttpProxyAgent { 13 | export interface Options extends Agent.Options { 14 | /** Overrides the value of the HTTP_PROXY environment variable */ 15 | httpProxy?: string; 16 | /** Overrides the value of the HTTPS_PROXY environment variable */ 17 | httpsProxy?: string; 18 | /** Overrides the value of the NO_PROXY environment variable */ 19 | noProxy?: string; 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /node_modules/undici-types/global-dispatcher.d.ts: -------------------------------------------------------------------------------- 1 | import Dispatcher from "./dispatcher"; 2 | 3 | export { 4 | getGlobalDispatcher, 5 | setGlobalDispatcher 6 | } 7 | 8 | declare function setGlobalDispatcher(dispatcher: DispatcherImplementation): void; 9 | declare function getGlobalDispatcher(): Dispatcher; 10 | -------------------------------------------------------------------------------- /node_modules/undici-types/global-origin.d.ts: -------------------------------------------------------------------------------- 1 | export { 2 | setGlobalOrigin, 3 | getGlobalOrigin 4 | } 5 | 6 | declare function setGlobalOrigin(origin: string | URL | undefined): void; 7 | declare function getGlobalOrigin(): URL | undefined; -------------------------------------------------------------------------------- /node_modules/undici-types/handlers.d.ts: -------------------------------------------------------------------------------- 1 | import Dispatcher from "./dispatcher"; 2 | 3 | export declare class RedirectHandler implements Dispatcher.DispatchHandlers { 4 | constructor( 5 | dispatch: Dispatcher, 6 | maxRedirections: number, 7 | opts: Dispatcher.DispatchOptions, 8 | handler: Dispatcher.DispatchHandlers, 9 | redirectionLimitReached: boolean 10 | ); 11 | } 12 | 13 | export declare class DecoratorHandler implements Dispatcher.DispatchHandlers { 14 | constructor(handler: Dispatcher.DispatchHandlers); 15 | } 16 | -------------------------------------------------------------------------------- /node_modules/undici-types/header.d.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * The header type declaration of `undici`. 3 | */ 4 | export type IncomingHttpHeaders = Record; 5 | -------------------------------------------------------------------------------- /node_modules/undici-types/interceptors.d.ts: -------------------------------------------------------------------------------- 1 | import Dispatcher from "./dispatcher"; 2 | import RetryHandler from "./retry-handler"; 3 | 4 | export default Interceptors; 5 | 6 | declare namespace Interceptors { 7 | export type DumpInterceptorOpts = { maxSize?: number } 8 | export type RetryInterceptorOpts = RetryHandler.RetryOptions 9 | export type RedirectInterceptorOpts = { maxRedirections?: number } 10 | export type ResponseErrorInterceptorOpts = { throwOnError: boolean } 11 | 12 | export function createRedirectInterceptor(opts: RedirectInterceptorOpts): Dispatcher.DispatcherComposeInterceptor 13 | export function dump(opts?: DumpInterceptorOpts): Dispatcher.DispatcherComposeInterceptor 14 | export function retry(opts?: RetryInterceptorOpts): Dispatcher.DispatcherComposeInterceptor 15 | export function redirect(opts?: RedirectInterceptorOpts): Dispatcher.DispatcherComposeInterceptor 16 | export function responseError(opts?: ResponseErrorInterceptorOpts): Dispatcher.DispatcherComposeInterceptor 17 | } 18 | -------------------------------------------------------------------------------- /node_modules/undici-types/mock-client.d.ts: -------------------------------------------------------------------------------- 1 | import Client from './client' 2 | import Dispatcher from './dispatcher' 3 | import MockAgent from './mock-agent' 4 | import { MockInterceptor, Interceptable } from './mock-interceptor' 5 | 6 | export default MockClient 7 | 8 | /** MockClient extends the Client API and allows one to mock requests. */ 9 | declare class MockClient extends Client implements Interceptable { 10 | constructor(origin: string, options: MockClient.Options); 11 | /** Intercepts any matching requests that use the same origin as this mock client. */ 12 | intercept(options: MockInterceptor.Options): MockInterceptor; 13 | /** Dispatches a mocked request. */ 14 | dispatch(options: Dispatcher.DispatchOptions, handlers: Dispatcher.DispatchHandlers): boolean; 15 | /** Closes the mock client and gracefully waits for enqueued requests to complete. */ 16 | close(): Promise; 17 | } 18 | 19 | declare namespace MockClient { 20 | /** MockClient options. */ 21 | export interface Options extends Client.Options { 22 | /** The agent to associate this MockClient with. */ 23 | agent: MockAgent; 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /node_modules/undici-types/mock-errors.d.ts: -------------------------------------------------------------------------------- 1 | import Errors from './errors' 2 | 3 | export default MockErrors 4 | 5 | declare namespace MockErrors { 6 | /** The request does not match any registered mock dispatches. */ 7 | export class MockNotMatchedError extends Errors.UndiciError { 8 | constructor(message?: string); 9 | name: 'MockNotMatchedError'; 10 | code: 'UND_MOCK_ERR_MOCK_NOT_MATCHED'; 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /node_modules/undici-types/mock-pool.d.ts: -------------------------------------------------------------------------------- 1 | import Pool from './pool' 2 | import MockAgent from './mock-agent' 3 | import { Interceptable, MockInterceptor } from './mock-interceptor' 4 | import Dispatcher from './dispatcher' 5 | 6 | export default MockPool 7 | 8 | /** MockPool extends the Pool API and allows one to mock requests. */ 9 | declare class MockPool extends Pool implements Interceptable { 10 | constructor(origin: string, options: MockPool.Options); 11 | /** Intercepts any matching requests that use the same origin as this mock pool. */ 12 | intercept(options: MockInterceptor.Options): MockInterceptor; 13 | /** Dispatches a mocked request. */ 14 | dispatch(options: Dispatcher.DispatchOptions, handlers: Dispatcher.DispatchHandlers): boolean; 15 | /** Closes the mock pool and gracefully waits for enqueued requests to complete. */ 16 | close(): Promise; 17 | } 18 | 19 | declare namespace MockPool { 20 | /** MockPool options. */ 21 | export interface Options extends Pool.Options { 22 | /** The agent to associate this MockPool with. */ 23 | agent: MockAgent; 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /node_modules/undici-types/patch.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | 3 | // See https://github.com/nodejs/undici/issues/1740 4 | 5 | export type DOMException = typeof globalThis extends { DOMException: infer T } 6 | ? T 7 | : any 8 | 9 | export interface EventInit { 10 | bubbles?: boolean 11 | cancelable?: boolean 12 | composed?: boolean 13 | } 14 | 15 | export interface EventListenerOptions { 16 | capture?: boolean 17 | } 18 | 19 | export interface AddEventListenerOptions extends EventListenerOptions { 20 | once?: boolean 21 | passive?: boolean 22 | signal?: AbortSignal 23 | } 24 | 25 | export type EventListenerOrEventListenerObject = EventListener | EventListenerObject 26 | 27 | export interface EventListenerObject { 28 | handleEvent (object: Event): void 29 | } 30 | 31 | export interface EventListener { 32 | (evt: Event): void 33 | } 34 | -------------------------------------------------------------------------------- /node_modules/undici-types/pool-stats.d.ts: -------------------------------------------------------------------------------- 1 | import Pool from "./pool" 2 | 3 | export default PoolStats 4 | 5 | declare class PoolStats { 6 | constructor(pool: Pool); 7 | /** Number of open socket connections in this pool. */ 8 | connected: number; 9 | /** Number of open socket connections in this pool that do not have an active request. */ 10 | free: number; 11 | /** Number of pending requests across all clients in this pool. */ 12 | pending: number; 13 | /** Number of queued requests across all clients in this pool. */ 14 | queued: number; 15 | /** Number of currently active requests across all clients in this pool. */ 16 | running: number; 17 | /** Number of active, pending, or queued requests across all clients in this pool. */ 18 | size: number; 19 | } 20 | -------------------------------------------------------------------------------- /node_modules/undici-types/proxy-agent.d.ts: -------------------------------------------------------------------------------- 1 | import Agent from './agent' 2 | import buildConnector from './connector'; 3 | import Dispatcher from './dispatcher' 4 | import { IncomingHttpHeaders } from './header' 5 | 6 | export default ProxyAgent 7 | 8 | declare class ProxyAgent extends Dispatcher { 9 | constructor(options: ProxyAgent.Options | string) 10 | 11 | dispatch(options: Agent.DispatchOptions, handler: Dispatcher.DispatchHandlers): boolean; 12 | close(): Promise; 13 | } 14 | 15 | declare namespace ProxyAgent { 16 | export interface Options extends Agent.Options { 17 | uri: string; 18 | /** 19 | * @deprecated use opts.token 20 | */ 21 | auth?: string; 22 | token?: string; 23 | headers?: IncomingHttpHeaders; 24 | requestTls?: buildConnector.BuildOptions; 25 | proxyTls?: buildConnector.BuildOptions; 26 | clientFactory?(origin: URL, opts: object): Dispatcher; 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /node_modules/undici-types/retry-agent.d.ts: -------------------------------------------------------------------------------- 1 | import Dispatcher from './dispatcher' 2 | import RetryHandler from './retry-handler' 3 | 4 | export default RetryAgent 5 | 6 | declare class RetryAgent extends Dispatcher { 7 | constructor(dispatcher: Dispatcher, options?: RetryHandler.RetryOptions) 8 | } 9 | -------------------------------------------------------------------------------- /node_modules/undici-types/util.d.ts: -------------------------------------------------------------------------------- 1 | export namespace util { 2 | /** 3 | * Retrieves a header name and returns its lowercase value. 4 | * @param value Header name 5 | */ 6 | export function headerNameToString(value: string | Buffer): string; 7 | 8 | /** 9 | * Receives a header object and returns the parsed value. 10 | * @param headers Header object 11 | * @param obj Object to specify a proxy object. Used to assign parsed values. 12 | * @returns If `obj` is specified, it is equivalent to `obj`. 13 | */ 14 | export function parseHeaders( 15 | headers: (Buffer | string | (Buffer | string)[])[], 16 | obj?: Record 17 | ): Record; 18 | } 19 | -------------------------------------------------------------------------------- /node_modules/wrappy/LICENSE: -------------------------------------------------------------------------------- 1 | The ISC License 2 | 3 | Copyright (c) Isaac Z. Schlueter and Contributors 4 | 5 | Permission to use, copy, modify, and/or distribute this software for any 6 | purpose with or without fee is hereby granted, provided that the above 7 | copyright notice and this permission notice appear in all copies. 8 | 9 | THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 10 | WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 11 | MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 12 | ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 13 | WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 14 | ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR 15 | IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 16 | -------------------------------------------------------------------------------- /node_modules/wrappy/README.md: -------------------------------------------------------------------------------- 1 | # wrappy 2 | 3 | Callback wrapping utility 4 | 5 | ## USAGE 6 | 7 | ```javascript 8 | var wrappy = require("wrappy") 9 | 10 | // var wrapper = wrappy(wrapperFunction) 11 | 12 | // make sure a cb is called only once 13 | // See also: http://npm.im/once for this specific use case 14 | var once = wrappy(function (cb) { 15 | var called = false 16 | return function () { 17 | if (called) return 18 | called = true 19 | return cb.apply(this, arguments) 20 | } 21 | }) 22 | 23 | function printBoo () { 24 | console.log('boo') 25 | } 26 | // has some rando property 27 | printBoo.iAmBooPrinter = true 28 | 29 | var onlyPrintOnce = once(printBoo) 30 | 31 | onlyPrintOnce() // prints 'boo' 32 | onlyPrintOnce() // does nothing 33 | 34 | // random property is retained! 35 | assert.equal(onlyPrintOnce.iAmBooPrinter, true) 36 | ``` 37 | -------------------------------------------------------------------------------- /node_modules/wrappy/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "wrappy", 3 | "version": "1.0.2", 4 | "description": "Callback wrapping utility", 5 | "main": "wrappy.js", 6 | "files": [ 7 | "wrappy.js" 8 | ], 9 | "directories": { 10 | "test": "test" 11 | }, 12 | "dependencies": {}, 13 | "devDependencies": { 14 | "tap": "^2.3.1" 15 | }, 16 | "scripts": { 17 | "test": "tap --coverage test/*.js" 18 | }, 19 | "repository": { 20 | "type": "git", 21 | "url": "https://github.com/npm/wrappy" 22 | }, 23 | "author": "Isaac Z. Schlueter (http://blog.izs.me/)", 24 | "license": "ISC", 25 | "bugs": { 26 | "url": "https://github.com/npm/wrappy/issues" 27 | }, 28 | "homepage": "https://github.com/npm/wrappy" 29 | } 30 | -------------------------------------------------------------------------------- /node_modules/wrappy/wrappy.js: -------------------------------------------------------------------------------- 1 | // Returns a wrapper function that returns a wrapped callback 2 | // The wrapper function should do some stuff, and return a 3 | // presumably different callback function. 4 | // This makes sure that own properties are retained, so that 5 | // decorations and such are not lost along the way. 6 | module.exports = wrappy 7 | function wrappy (fn, cb) { 8 | if (fn && cb) return wrappy(fn)(cb) 9 | 10 | if (typeof fn !== 'function') 11 | throw new TypeError('need wrapper function') 12 | 13 | Object.keys(fn).forEach(function (k) { 14 | wrapper[k] = fn[k] 15 | }) 16 | 17 | return wrapper 18 | 19 | function wrapper() { 20 | var args = new Array(arguments.length) 21 | for (var i = 0; i < args.length; i++) { 22 | args[i] = arguments[i] 23 | } 24 | var ret = fn.apply(this, args) 25 | var cb = args[args.length-1] 26 | if (typeof ret === 'function' && ret !== cb) { 27 | Object.keys(cb).forEach(function (k) { 28 | ret[k] = cb[k] 29 | }) 30 | } 31 | return ret 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /node_modules/ws/browser.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | module.exports = function () { 4 | throw new Error( 5 | 'ws does not work in the browser. Browser clients must use the native ' + 6 | 'WebSocket object' 7 | ); 8 | }; 9 | -------------------------------------------------------------------------------- /node_modules/ws/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | const WebSocket = require('./lib/websocket'); 4 | 5 | WebSocket.createWebSocketStream = require('./lib/stream'); 6 | WebSocket.Server = require('./lib/websocket-server'); 7 | WebSocket.Receiver = require('./lib/receiver'); 8 | WebSocket.Sender = require('./lib/sender'); 9 | 10 | WebSocket.WebSocket = WebSocket; 11 | WebSocket.WebSocketServer = WebSocket.Server; 12 | 13 | module.exports = WebSocket; 14 | -------------------------------------------------------------------------------- /node_modules/ws/lib/constants.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | const BINARY_TYPES = ['nodebuffer', 'arraybuffer', 'fragments']; 4 | const hasBlob = typeof Blob !== 'undefined'; 5 | 6 | if (hasBlob) BINARY_TYPES.push('blob'); 7 | 8 | module.exports = { 9 | BINARY_TYPES, 10 | EMPTY_BUFFER: Buffer.alloc(0), 11 | GUID: '258EAFA5-E914-47DA-95CA-C5AB0DC85B11', 12 | hasBlob, 13 | kForOnEventAttribute: Symbol('kIsForOnEventAttribute'), 14 | kListener: Symbol('kListener'), 15 | kStatusCode: Symbol('status-code'), 16 | kWebSocket: Symbol('websocket'), 17 | NOOP: () => {} 18 | }; 19 | -------------------------------------------------------------------------------- /node_modules/ws/wrapper.mjs: -------------------------------------------------------------------------------- 1 | import createWebSocketStream from './lib/stream.js'; 2 | import Receiver from './lib/receiver.js'; 3 | import Sender from './lib/sender.js'; 4 | import WebSocket from './lib/websocket.js'; 5 | import WebSocketServer from './lib/websocket-server.js'; 6 | 7 | export { createWebSocketStream, Receiver, Sender, WebSocket, WebSocketServer }; 8 | export default WebSocket; 9 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "dependencies": { 3 | "axios": "^1.8.4", 4 | "got": "^11.8.6", 5 | "qs": "^6.14.0", 6 | "ws": "^8.18.1" 7 | }, 8 | "name": "bpmading", 9 | "version": "1.0.0", 10 | "description": "这是一个基于 Backpack 交易所的自动交易系统,支持自动买入、止盈和风险控制。", 11 | "main": "backpack_api.js", 12 | "scripts": { 13 | "test": "echo \"Error: no test specified\" && exit 1" 14 | }, 15 | "repository": { 16 | "type": "git", 17 | "url": "git+https://github.com/cryptocj520/backpack2.git" 18 | }, 19 | "keywords": [], 20 | "author": "", 21 | "license": "ISC", 22 | "bugs": { 23 | "url": "https://github.com/cryptocj520/backpack2/issues" 24 | }, 25 | "homepage": "https://github.com/cryptocj520/backpack2#readme" 26 | } 27 | -------------------------------------------------------------------------------- /src/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptocj520/bp3/9055f40589ef899cb62c0e49e5cdfb28a96c961a/src/.DS_Store --------------------------------------------------------------------------------