├── .DS_Store ├── README.md ├── build └── index.js ├── node_modules ├── .bin │ ├── tsc │ └── tsserver ├── .package-lock.json ├── @modelcontextprotocol │ └── sdk │ │ ├── LICENSE │ │ ├── README.md │ │ ├── dist │ │ ├── cli.d.ts │ │ ├── cli.d.ts.map │ │ ├── cli.js │ │ ├── cli.js.map │ │ ├── client │ │ │ ├── index.d.ts │ │ │ ├── index.d.ts.map │ │ │ ├── index.js │ │ │ ├── index.js.map │ │ │ ├── index.test.d.ts │ │ │ ├── index.test.d.ts.map │ │ │ ├── index.test.js │ │ │ ├── index.test.js.map │ │ │ ├── sse.d.ts │ │ │ ├── sse.d.ts.map │ │ │ ├── sse.js │ │ │ ├── sse.js.map │ │ │ ├── stdio.d.ts │ │ │ ├── stdio.d.ts.map │ │ │ ├── stdio.js │ │ │ ├── stdio.js.map │ │ │ ├── stdio.test.d.ts │ │ │ ├── stdio.test.d.ts.map │ │ │ ├── stdio.test.js │ │ │ ├── stdio.test.js.map │ │ │ ├── websocket.d.ts │ │ │ ├── websocket.d.ts.map │ │ │ ├── websocket.js │ │ │ └── websocket.js.map │ │ ├── inMemory.d.ts │ │ ├── inMemory.d.ts.map │ │ ├── inMemory.js │ │ ├── inMemory.js.map │ │ ├── inMemory.test.d.ts │ │ ├── inMemory.test.d.ts.map │ │ ├── inMemory.test.js │ │ ├── inMemory.test.js.map │ │ ├── server │ │ │ ├── index.d.ts │ │ │ ├── index.d.ts.map │ │ │ ├── index.js │ │ │ ├── index.js.map │ │ │ ├── index.test.d.ts │ │ │ ├── index.test.d.ts.map │ │ │ ├── index.test.js │ │ │ ├── index.test.js.map │ │ │ ├── sse.d.ts │ │ │ ├── sse.d.ts.map │ │ │ ├── sse.js │ │ │ ├── sse.js.map │ │ │ ├── stdio.d.ts │ │ │ ├── stdio.d.ts.map │ │ │ ├── stdio.js │ │ │ ├── stdio.js.map │ │ │ ├── stdio.test.d.ts │ │ │ ├── stdio.test.d.ts.map │ │ │ ├── stdio.test.js │ │ │ └── stdio.test.js.map │ │ ├── shared │ │ │ ├── protocol.d.ts │ │ │ ├── protocol.d.ts.map │ │ │ ├── protocol.js │ │ │ ├── protocol.js.map │ │ │ ├── stdio.d.ts │ │ │ ├── stdio.d.ts.map │ │ │ ├── stdio.js │ │ │ ├── stdio.js.map │ │ │ ├── stdio.test.d.ts │ │ │ ├── stdio.test.d.ts.map │ │ │ ├── stdio.test.js │ │ │ ├── stdio.test.js.map │ │ │ ├── transport.d.ts │ │ │ ├── transport.d.ts.map │ │ │ ├── transport.js │ │ │ └── transport.js.map │ │ ├── types.d.ts │ │ ├── types.d.ts.map │ │ ├── types.js │ │ └── types.js.map │ │ └── package.json ├── @types │ └── node │ │ ├── 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 ├── bytes │ ├── History.md │ ├── LICENSE │ ├── Readme.md │ ├── index.js │ └── package.json ├── content-type │ ├── HISTORY.md │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── depd │ ├── History.md │ ├── LICENSE │ ├── Readme.md │ ├── index.js │ ├── lib │ │ └── browser │ │ │ └── index.js │ └── package.json ├── http-errors │ ├── HISTORY.md │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── iconv-lite │ ├── .github │ │ └── dependabot.yml │ ├── .idea │ │ ├── codeStyles │ │ │ ├── Project.xml │ │ │ └── codeStyleConfig.xml │ │ ├── iconv-lite.iml │ │ ├── inspectionProfiles │ │ │ └── Project_Default.xml │ │ ├── modules.xml │ │ └── vcs.xml │ ├── Changelog.md │ ├── LICENSE │ ├── README.md │ ├── encodings │ │ ├── dbcs-codec.js │ │ ├── dbcs-data.js │ │ ├── index.js │ │ ├── internal.js │ │ ├── sbcs-codec.js │ │ ├── sbcs-data-generated.js │ │ ├── sbcs-data.js │ │ ├── tables │ │ │ ├── big5-added.json │ │ │ ├── cp936.json │ │ │ ├── cp949.json │ │ │ ├── cp950.json │ │ │ ├── eucjp.json │ │ │ ├── gb18030-ranges.json │ │ │ ├── gbk-added.json │ │ │ └── shiftjis.json │ │ ├── utf16.js │ │ ├── utf32.js │ │ └── utf7.js │ ├── lib │ │ ├── bom-handling.js │ │ ├── index.d.ts │ │ ├── index.js │ │ └── streams.js │ └── package.json ├── inherits │ ├── LICENSE │ ├── README.md │ ├── inherits.js │ ├── inherits_browser.js │ └── package.json ├── raw-body │ ├── HISTORY.md │ ├── LICENSE │ ├── README.md │ ├── SECURITY.md │ ├── index.d.ts │ ├── index.js │ └── package.json ├── safer-buffer │ ├── LICENSE │ ├── Porting-Buffer.md │ ├── Readme.md │ ├── dangerous.js │ ├── package.json │ ├── safer.js │ └── tests.js ├── setprototypeof │ ├── LICENSE │ ├── README.md │ ├── index.d.ts │ ├── index.js │ ├── package.json │ └── test │ │ └── index.js ├── statuses │ ├── HISTORY.md │ ├── LICENSE │ ├── README.md │ ├── codes.json │ ├── index.js │ └── package.json ├── toidentifier │ ├── HISTORY.md │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── typescript │ ├── LICENSE.txt │ ├── README.md │ ├── SECURITY.md │ ├── ThirdPartyNoticeText.txt │ ├── bin │ │ ├── tsc │ │ └── tsserver │ ├── lib │ │ ├── _tsc.js │ │ ├── _tsserver.js │ │ ├── _typingsInstaller.js │ │ ├── cancellationToken.js │ │ ├── cs │ │ │ └── diagnosticMessages.generated.json │ │ ├── de │ │ │ └── diagnosticMessages.generated.json │ │ ├── es │ │ │ └── diagnosticMessages.generated.json │ │ ├── fr │ │ │ └── diagnosticMessages.generated.json │ │ ├── it │ │ │ └── diagnosticMessages.generated.json │ │ ├── ja │ │ │ └── diagnosticMessages.generated.json │ │ ├── ko │ │ │ └── diagnosticMessages.generated.json │ │ ├── lib.d.ts │ │ ├── lib.decorators.d.ts │ │ ├── lib.decorators.legacy.d.ts │ │ ├── lib.dom.asynciterable.d.ts │ │ ├── lib.dom.d.ts │ │ ├── lib.dom.iterable.d.ts │ │ ├── lib.es2015.collection.d.ts │ │ ├── lib.es2015.core.d.ts │ │ ├── lib.es2015.d.ts │ │ ├── lib.es2015.generator.d.ts │ │ ├── lib.es2015.iterable.d.ts │ │ ├── lib.es2015.promise.d.ts │ │ ├── lib.es2015.proxy.d.ts │ │ ├── lib.es2015.reflect.d.ts │ │ ├── lib.es2015.symbol.d.ts │ │ ├── lib.es2015.symbol.wellknown.d.ts │ │ ├── lib.es2016.array.include.d.ts │ │ ├── lib.es2016.d.ts │ │ ├── lib.es2016.full.d.ts │ │ ├── lib.es2016.intl.d.ts │ │ ├── lib.es2017.arraybuffer.d.ts │ │ ├── lib.es2017.d.ts │ │ ├── lib.es2017.date.d.ts │ │ ├── lib.es2017.full.d.ts │ │ ├── lib.es2017.intl.d.ts │ │ ├── lib.es2017.object.d.ts │ │ ├── lib.es2017.sharedmemory.d.ts │ │ ├── lib.es2017.string.d.ts │ │ ├── lib.es2017.typedarrays.d.ts │ │ ├── lib.es2018.asyncgenerator.d.ts │ │ ├── lib.es2018.asynciterable.d.ts │ │ ├── lib.es2018.d.ts │ │ ├── lib.es2018.full.d.ts │ │ ├── lib.es2018.intl.d.ts │ │ ├── lib.es2018.promise.d.ts │ │ ├── lib.es2018.regexp.d.ts │ │ ├── lib.es2019.array.d.ts │ │ ├── lib.es2019.d.ts │ │ ├── lib.es2019.full.d.ts │ │ ├── lib.es2019.intl.d.ts │ │ ├── lib.es2019.object.d.ts │ │ ├── lib.es2019.string.d.ts │ │ ├── lib.es2019.symbol.d.ts │ │ ├── lib.es2020.bigint.d.ts │ │ ├── lib.es2020.d.ts │ │ ├── lib.es2020.date.d.ts │ │ ├── lib.es2020.full.d.ts │ │ ├── lib.es2020.intl.d.ts │ │ ├── lib.es2020.number.d.ts │ │ ├── lib.es2020.promise.d.ts │ │ ├── lib.es2020.sharedmemory.d.ts │ │ ├── lib.es2020.string.d.ts │ │ ├── lib.es2020.symbol.wellknown.d.ts │ │ ├── lib.es2021.d.ts │ │ ├── lib.es2021.full.d.ts │ │ ├── lib.es2021.intl.d.ts │ │ ├── lib.es2021.promise.d.ts │ │ ├── lib.es2021.string.d.ts │ │ ├── lib.es2021.weakref.d.ts │ │ ├── lib.es2022.array.d.ts │ │ ├── lib.es2022.d.ts │ │ ├── lib.es2022.error.d.ts │ │ ├── lib.es2022.full.d.ts │ │ ├── lib.es2022.intl.d.ts │ │ ├── lib.es2022.object.d.ts │ │ ├── lib.es2022.regexp.d.ts │ │ ├── lib.es2022.string.d.ts │ │ ├── lib.es2023.array.d.ts │ │ ├── lib.es2023.collection.d.ts │ │ ├── lib.es2023.d.ts │ │ ├── lib.es2023.full.d.ts │ │ ├── lib.es2023.intl.d.ts │ │ ├── lib.es2024.arraybuffer.d.ts │ │ ├── lib.es2024.collection.d.ts │ │ ├── lib.es2024.d.ts │ │ ├── lib.es2024.full.d.ts │ │ ├── lib.es2024.object.d.ts │ │ ├── lib.es2024.promise.d.ts │ │ ├── lib.es2024.regexp.d.ts │ │ ├── lib.es2024.sharedmemory.d.ts │ │ ├── lib.es2024.string.d.ts │ │ ├── lib.es5.d.ts │ │ ├── lib.es6.d.ts │ │ ├── lib.esnext.array.d.ts │ │ ├── lib.esnext.collection.d.ts │ │ ├── lib.esnext.d.ts │ │ ├── lib.esnext.decorators.d.ts │ │ ├── lib.esnext.disposable.d.ts │ │ ├── lib.esnext.full.d.ts │ │ ├── lib.esnext.intl.d.ts │ │ ├── lib.esnext.iterator.d.ts │ │ ├── lib.scripthost.d.ts │ │ ├── lib.webworker.asynciterable.d.ts │ │ ├── lib.webworker.d.ts │ │ ├── lib.webworker.importscripts.d.ts │ │ ├── lib.webworker.iterable.d.ts │ │ ├── pl │ │ │ └── diagnosticMessages.generated.json │ │ ├── pt-br │ │ │ └── diagnosticMessages.generated.json │ │ ├── ru │ │ │ └── diagnosticMessages.generated.json │ │ ├── tr │ │ │ └── diagnosticMessages.generated.json │ │ ├── tsc.js │ │ ├── tsserver.js │ │ ├── tsserverlibrary.d.ts │ │ ├── tsserverlibrary.js │ │ ├── typesMap.json │ │ ├── typescript.d.ts │ │ ├── typescript.js │ │ ├── typingsInstaller.js │ │ ├── watchGuard.js │ │ ├── zh-cn │ │ │ └── diagnosticMessages.generated.json │ │ └── zh-tw │ │ │ └── diagnosticMessages.generated.json │ └── package.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 ├── unpipe │ ├── HISTORY.md │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json └── zod │ ├── LICENSE │ ├── README.md │ ├── index.d.ts │ ├── lib │ ├── ZodError.d.ts │ ├── ZodError.js │ ├── __tests__ │ │ ├── Mocker.d.ts │ │ └── Mocker.js │ ├── benchmarks │ │ ├── datetime.d.ts │ │ ├── datetime.js │ │ ├── discriminatedUnion.d.ts │ │ ├── discriminatedUnion.js │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── ipv4.d.ts │ │ ├── ipv4.js │ │ ├── object.d.ts │ │ ├── object.js │ │ ├── primitives.d.ts │ │ ├── primitives.js │ │ ├── realworld.d.ts │ │ ├── realworld.js │ │ ├── string.d.ts │ │ ├── string.js │ │ ├── union.d.ts │ │ └── union.js │ ├── errors.d.ts │ ├── errors.js │ ├── external.d.ts │ ├── external.js │ ├── helpers │ │ ├── enumUtil.d.ts │ │ ├── enumUtil.js │ │ ├── errorUtil.d.ts │ │ ├── errorUtil.js │ │ ├── parseUtil.d.ts │ │ ├── parseUtil.js │ │ ├── partialUtil.d.ts │ │ ├── partialUtil.js │ │ ├── typeAliases.d.ts │ │ ├── typeAliases.js │ │ ├── util.d.ts │ │ └── util.js │ ├── index.d.ts │ ├── index.js │ ├── index.mjs │ ├── index.umd.js │ ├── locales │ │ ├── en.d.ts │ │ └── en.js │ ├── types.d.ts │ └── types.js │ └── package.json ├── package-lock.json ├── package.json ├── src └── index.ts └── tsconfig.json /.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PolarVista/Xcode-mcp-server/751adea38ae4543748f76ac0715bc63cbcdf6208/.DS_Store -------------------------------------------------------------------------------- /node_modules/.bin/tsc: -------------------------------------------------------------------------------- 1 | ../typescript/bin/tsc -------------------------------------------------------------------------------- /node_modules/.bin/tsserver: -------------------------------------------------------------------------------- 1 | ../typescript/bin/tsserver -------------------------------------------------------------------------------- /node_modules/@modelcontextprotocol/sdk/LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2024 Anthropic, PBC 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /node_modules/@modelcontextprotocol/sdk/dist/cli.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | //# sourceMappingURL=cli.d.ts.map -------------------------------------------------------------------------------- /node_modules/@modelcontextprotocol/sdk/dist/cli.d.ts.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"cli.d.ts","sourceRoot":"","sources":["../src/cli.ts"],"names":[],"mappings":""} -------------------------------------------------------------------------------- /node_modules/@modelcontextprotocol/sdk/dist/client/index.test.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | //# sourceMappingURL=index.test.d.ts.map -------------------------------------------------------------------------------- /node_modules/@modelcontextprotocol/sdk/dist/client/index.test.d.ts.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"index.test.d.ts","sourceRoot":"","sources":["../../src/client/index.test.ts"],"names":[],"mappings":""} -------------------------------------------------------------------------------- /node_modules/@modelcontextprotocol/sdk/dist/client/sse.d.ts: -------------------------------------------------------------------------------- 1 | import { Transport } from "../shared/transport.js"; 2 | import { JSONRPCMessage } from "../types.js"; 3 | /** 4 | * Client transport for SSE: this will connect to a server using Server-Sent Events for receiving 5 | * messages and make separate POST requests for sending messages. 6 | * 7 | * This uses the EventSource API in browsers. You can install the `eventsource` package for Node.js. 8 | */ 9 | export declare class SSEClientTransport implements Transport { 10 | private _eventSource?; 11 | private _endpoint?; 12 | private _abortController?; 13 | private _url; 14 | onclose?: () => void; 15 | onerror?: (error: Error) => void; 16 | onmessage?: (message: JSONRPCMessage) => void; 17 | constructor(url: URL); 18 | start(): Promise; 19 | close(): Promise; 20 | send(message: JSONRPCMessage): Promise; 21 | } 22 | //# sourceMappingURL=sse.d.ts.map -------------------------------------------------------------------------------- /node_modules/@modelcontextprotocol/sdk/dist/client/sse.d.ts.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"sse.d.ts","sourceRoot":"","sources":["../../src/client/sse.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AACnD,OAAO,EAAE,cAAc,EAAwB,MAAM,aAAa,CAAC;AAEnE;;;;;GAKG;AACH,qBAAa,kBAAmB,YAAW,SAAS;IAClD,OAAO,CAAC,YAAY,CAAC,CAAc;IACnC,OAAO,CAAC,SAAS,CAAC,CAAM;IACxB,OAAO,CAAC,gBAAgB,CAAC,CAAkB;IAC3C,OAAO,CAAC,IAAI,CAAM;IAElB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAC;IACjC,SAAS,CAAC,EAAE,CAAC,OAAO,EAAE,cAAc,KAAK,IAAI,CAAC;gBAElC,GAAG,EAAE,GAAG;IAIpB,KAAK,IAAI,OAAO,CAAC,IAAI,CAAC;IAyDhB,KAAK,IAAI,OAAO,CAAC,IAAI,CAAC;IAMtB,IAAI,CAAC,OAAO,EAAE,cAAc,GAAG,OAAO,CAAC,IAAI,CAAC;CA0BnD"} -------------------------------------------------------------------------------- /node_modules/@modelcontextprotocol/sdk/dist/client/stdio.d.ts.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"stdio.d.ts","sourceRoot":"","sources":["../../src/client/stdio.ts"],"names":[],"mappings":"AAAA,OAAO,EAAgB,MAAM,EAAS,MAAM,oBAAoB,CAAC;AAGjE,OAAO,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAC7C,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AACnD,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAErC,MAAM,MAAM,qBAAqB,GAAG;IAClC;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;IAEhB;;;;OAIG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAE7B;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,CAAC;CACnC,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,0BAA0B,UAgBmB,CAAC;AAE3D;;GAEG;AACH,wBAAgB,qBAAqB,IAAI,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAkB9D;AAED;;;;GAIG;AACH,qBAAa,oBAAqB,YAAW,SAAS;IACpD,OAAO,CAAC,QAAQ,CAAC,CAAe;IAChC,OAAO,CAAC,gBAAgB,CAA0C;IAClE,OAAO,CAAC,WAAW,CAAgC;IACnD,OAAO,CAAC,aAAa,CAAwB;IAE7C,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAC;IACjC,SAAS,CAAC,EAAE,CAAC,OAAO,EAAE,cAAc,KAAK,IAAI,CAAC;gBAElC,MAAM,EAAE,qBAAqB;IAIzC;;OAEG;IACG,KAAK,IAAI,OAAO,CAAC,IAAI,CAAC;IAuD5B;;;;OAIG;IACH,IAAI,MAAM,IAAI,MAAM,GAAG,IAAI,CAE1B;IAED,OAAO,CAAC,iBAAiB;IAenB,KAAK,IAAI,OAAO,CAAC,IAAI,CAAC;IAM5B,IAAI,CAAC,OAAO,EAAE,cAAc,GAAG,OAAO,CAAC,IAAI,CAAC;CAc7C"} -------------------------------------------------------------------------------- /node_modules/@modelcontextprotocol/sdk/dist/client/stdio.test.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | //# sourceMappingURL=stdio.test.d.ts.map -------------------------------------------------------------------------------- /node_modules/@modelcontextprotocol/sdk/dist/client/stdio.test.d.ts.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"stdio.test.d.ts","sourceRoot":"","sources":["../../src/client/stdio.test.ts"],"names":[],"mappings":""} -------------------------------------------------------------------------------- /node_modules/@modelcontextprotocol/sdk/dist/client/stdio.test.js: -------------------------------------------------------------------------------- 1 | import { StdioClientTransport } from "./stdio.js"; 2 | const serverParameters = { 3 | command: "/usr/bin/tee", 4 | }; 5 | test("should start then close cleanly", async () => { 6 | const client = new StdioClientTransport(serverParameters); 7 | client.onerror = (error) => { 8 | throw error; 9 | }; 10 | let didClose = false; 11 | client.onclose = () => { 12 | didClose = true; 13 | }; 14 | await client.start(); 15 | expect(didClose).toBeFalsy(); 16 | await client.close(); 17 | expect(didClose).toBeTruthy(); 18 | }); 19 | test("should read messages", async () => { 20 | const client = new StdioClientTransport(serverParameters); 21 | client.onerror = (error) => { 22 | throw error; 23 | }; 24 | const messages = [ 25 | { 26 | jsonrpc: "2.0", 27 | id: 1, 28 | method: "ping", 29 | }, 30 | { 31 | jsonrpc: "2.0", 32 | method: "notifications/initialized", 33 | }, 34 | ]; 35 | const readMessages = []; 36 | const finished = new Promise((resolve) => { 37 | client.onmessage = (message) => { 38 | readMessages.push(message); 39 | if (JSON.stringify(message) === JSON.stringify(messages[1])) { 40 | resolve(); 41 | } 42 | }; 43 | }); 44 | await client.start(); 45 | await client.send(messages[0]); 46 | await client.send(messages[1]); 47 | await finished; 48 | expect(readMessages).toEqual(messages); 49 | await client.close(); 50 | }); 51 | //# sourceMappingURL=stdio.test.js.map -------------------------------------------------------------------------------- /node_modules/@modelcontextprotocol/sdk/dist/client/stdio.test.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"stdio.test.js","sourceRoot":"","sources":["../../src/client/stdio.test.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,oBAAoB,EAAyB,MAAM,YAAY,CAAC;AAEzE,MAAM,gBAAgB,GAA0B;IAC9C,OAAO,EAAE,cAAc;CACxB,CAAC;AAEF,IAAI,CAAC,iCAAiC,EAAE,KAAK,IAAI,EAAE;IACjD,MAAM,MAAM,GAAG,IAAI,oBAAoB,CAAC,gBAAgB,CAAC,CAAC;IAC1D,MAAM,CAAC,OAAO,GAAG,CAAC,KAAK,EAAE,EAAE;QACzB,MAAM,KAAK,CAAC;IACd,CAAC,CAAC;IAEF,IAAI,QAAQ,GAAG,KAAK,CAAC;IACrB,MAAM,CAAC,OAAO,GAAG,GAAG,EAAE;QACpB,QAAQ,GAAG,IAAI,CAAC;IAClB,CAAC,CAAC;IAEF,MAAM,MAAM,CAAC,KAAK,EAAE,CAAC;IACrB,MAAM,CAAC,QAAQ,CAAC,CAAC,SAAS,EAAE,CAAC;IAC7B,MAAM,MAAM,CAAC,KAAK,EAAE,CAAC;IACrB,MAAM,CAAC,QAAQ,CAAC,CAAC,UAAU,EAAE,CAAC;AAChC,CAAC,CAAC,CAAC;AAEH,IAAI,CAAC,sBAAsB,EAAE,KAAK,IAAI,EAAE;IACtC,MAAM,MAAM,GAAG,IAAI,oBAAoB,CAAC,gBAAgB,CAAC,CAAC;IAC1D,MAAM,CAAC,OAAO,GAAG,CAAC,KAAK,EAAE,EAAE;QACzB,MAAM,KAAK,CAAC;IACd,CAAC,CAAC;IAEF,MAAM,QAAQ,GAAqB;QACjC;YACE,OAAO,EAAE,KAAK;YACd,EAAE,EAAE,CAAC;YACL,MAAM,EAAE,MAAM;SACf;QACD;YACE,OAAO,EAAE,KAAK;YACd,MAAM,EAAE,2BAA2B;SACpC;KACF,CAAC;IAEF,MAAM,YAAY,GAAqB,EAAE,CAAC;IAC1C,MAAM,QAAQ,GAAG,IAAI,OAAO,CAAO,CAAC,OAAO,EAAE,EAAE;QAC7C,MAAM,CAAC,SAAS,GAAG,CAAC,OAAO,EAAE,EAAE;YAC7B,YAAY,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;YAE3B,IAAI,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,KAAK,IAAI,CAAC,SAAS,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;gBAC5D,OAAO,EAAE,CAAC;YACZ,CAAC;QACH,CAAC,CAAC;IACJ,CAAC,CAAC,CAAC;IAEH,MAAM,MAAM,CAAC,KAAK,EAAE,CAAC;IACrB,MAAM,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC;IAC/B,MAAM,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC;IAC/B,MAAM,QAAQ,CAAC;IACf,MAAM,CAAC,YAAY,CAAC,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC;IAEvC,MAAM,MAAM,CAAC,KAAK,EAAE,CAAC;AACvB,CAAC,CAAC,CAAC"} -------------------------------------------------------------------------------- /node_modules/@modelcontextprotocol/sdk/dist/client/websocket.d.ts: -------------------------------------------------------------------------------- 1 | import { Transport } from "../shared/transport.js"; 2 | import { JSONRPCMessage } from "../types.js"; 3 | /** 4 | * Client transport for WebSocket: this will connect to a server over the WebSocket protocol. 5 | */ 6 | export declare class WebSocketClientTransport implements Transport { 7 | private _socket?; 8 | private _url; 9 | onclose?: () => void; 10 | onerror?: (error: Error) => void; 11 | onmessage?: (message: JSONRPCMessage) => void; 12 | constructor(url: URL); 13 | start(): Promise; 14 | close(): Promise; 15 | send(message: JSONRPCMessage): Promise; 16 | } 17 | //# sourceMappingURL=websocket.d.ts.map -------------------------------------------------------------------------------- /node_modules/@modelcontextprotocol/sdk/dist/client/websocket.d.ts.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"websocket.d.ts","sourceRoot":"","sources":["../../src/client/websocket.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AACnD,OAAO,EAAE,cAAc,EAAwB,MAAM,aAAa,CAAC;AAInE;;GAEG;AACH,qBAAa,wBAAyB,YAAW,SAAS;IACxD,OAAO,CAAC,OAAO,CAAC,CAAY;IAC5B,OAAO,CAAC,IAAI,CAAM;IAElB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAC;IACjC,SAAS,CAAC,EAAE,CAAC,OAAO,EAAE,cAAc,KAAK,IAAI,CAAC;gBAElC,GAAG,EAAE,GAAG;IAIpB,KAAK,IAAI,OAAO,CAAC,IAAI,CAAC;IAyChB,KAAK,IAAI,OAAO,CAAC,IAAI,CAAC;IAI5B,IAAI,CAAC,OAAO,EAAE,cAAc,GAAG,OAAO,CAAC,IAAI,CAAC;CAW7C"} -------------------------------------------------------------------------------- /node_modules/@modelcontextprotocol/sdk/dist/client/websocket.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"websocket.js","sourceRoot":"","sources":["../../src/client/websocket.ts"],"names":[],"mappings":"AACA,OAAO,EAAkB,oBAAoB,EAAE,MAAM,aAAa,CAAC;AAEnE,MAAM,WAAW,GAAG,KAAK,CAAC;AAE1B;;GAEG;AACH,MAAM,OAAO,wBAAwB;IAQnC,YAAY,GAAQ;QAClB,IAAI,CAAC,IAAI,GAAG,GAAG,CAAC;IAClB,CAAC;IAED,KAAK;QACH,IAAI,IAAI,CAAC,OAAO,EAAE,CAAC;YACjB,MAAM,IAAI,KAAK,CACb,mHAAmH,CACpH,CAAC;QACJ,CAAC;QAED,OAAO,IAAI,OAAO,CAAC,CAAC,OAAO,EAAE,MAAM,EAAE,EAAE;YACrC,IAAI,CAAC,OAAO,GAAG,IAAI,SAAS,CAAC,IAAI,CAAC,IAAI,EAAE,WAAW,CAAC,CAAC;YAErD,IAAI,CAAC,OAAO,CAAC,OAAO,GAAG,CAAC,KAAK,EAAE,EAAE;;gBAC/B,MAAM,KAAK,GACT,OAAO,IAAI,KAAK;oBACd,CAAC,CAAE,KAAK,CAAC,KAAe;oBACxB,CAAC,CAAC,IAAI,KAAK,CAAC,oBAAoB,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC;gBAC7D,MAAM,CAAC,KAAK,CAAC,CAAC;gBACd,MAAA,IAAI,CAAC,OAAO,qDAAG,KAAK,CAAC,CAAC;YACxB,CAAC,CAAC;YAEF,IAAI,CAAC,OAAO,CAAC,MAAM,GAAG,GAAG,EAAE;gBACzB,OAAO,EAAE,CAAC;YACZ,CAAC,CAAC;YAEF,IAAI,CAAC,OAAO,CAAC,OAAO,GAAG,GAAG,EAAE;;gBAC1B,MAAA,IAAI,CAAC,OAAO,oDAAI,CAAC;YACnB,CAAC,CAAC;YAEF,IAAI,CAAC,OAAO,CAAC,SAAS,GAAG,CAAC,KAAmB,EAAE,EAAE;;gBAC/C,IAAI,OAAuB,CAAC;gBAC5B,IAAI,CAAC;oBACH,OAAO,GAAG,oBAAoB,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC;gBAC/D,CAAC;gBAAC,OAAO,KAAK,EAAE,CAAC;oBACf,MAAA,IAAI,CAAC,OAAO,qDAAG,KAAc,CAAC,CAAC;oBAC/B,OAAO;gBACT,CAAC;gBAED,MAAA,IAAI,CAAC,SAAS,qDAAG,OAAO,CAAC,CAAC;YAC5B,CAAC,CAAC;QACJ,CAAC,CAAC,CAAC;IACL,CAAC;IAED,KAAK,CAAC,KAAK;;QACT,MAAA,IAAI,CAAC,OAAO,0CAAE,KAAK,EAAE,CAAC;IACxB,CAAC;IAED,IAAI,CAAC,OAAuB;QAC1B,OAAO,IAAI,OAAO,CAAC,CAAC,OAAO,EAAE,MAAM,EAAE,EAAE;;YACrC,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE,CAAC;gBAClB,MAAM,CAAC,IAAI,KAAK,CAAC,eAAe,CAAC,CAAC,CAAC;gBACnC,OAAO;YACT,CAAC;YAED,MAAA,IAAI,CAAC,OAAO,0CAAE,IAAI,CAAC,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC,CAAC;YAC5C,OAAO,EAAE,CAAC;QACZ,CAAC,CAAC,CAAC;IACL,CAAC;CACF"} -------------------------------------------------------------------------------- /node_modules/@modelcontextprotocol/sdk/dist/inMemory.d.ts: -------------------------------------------------------------------------------- 1 | import { Transport } from "./shared/transport.js"; 2 | import { JSONRPCMessage } from "./types.js"; 3 | /** 4 | * In-memory transport for creating clients and servers that talk to each other within the same process. 5 | */ 6 | export declare class InMemoryTransport implements Transport { 7 | private _otherTransport?; 8 | private _messageQueue; 9 | onclose?: () => void; 10 | onerror?: (error: Error) => void; 11 | onmessage?: (message: JSONRPCMessage) => void; 12 | /** 13 | * Creates a pair of linked in-memory transports that can communicate with each other. One should be passed to a Client and one to a Server. 14 | */ 15 | static createLinkedPair(): [InMemoryTransport, InMemoryTransport]; 16 | start(): Promise; 17 | close(): Promise; 18 | send(message: JSONRPCMessage): Promise; 19 | } 20 | //# sourceMappingURL=inMemory.d.ts.map -------------------------------------------------------------------------------- /node_modules/@modelcontextprotocol/sdk/dist/inMemory.d.ts.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"inMemory.d.ts","sourceRoot":"","sources":["../src/inMemory.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAClD,OAAO,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAE5C;;GAEG;AACH,qBAAa,iBAAkB,YAAW,SAAS;IACjD,OAAO,CAAC,eAAe,CAAC,CAAoB;IAC5C,OAAO,CAAC,aAAa,CAAwB;IAE7C,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAC;IACjC,SAAS,CAAC,EAAE,CAAC,OAAO,EAAE,cAAc,KAAK,IAAI,CAAC;IAE9C;;OAEG;IACH,MAAM,CAAC,gBAAgB,IAAI,CAAC,iBAAiB,EAAE,iBAAiB,CAAC;IAQ3D,KAAK,IAAI,OAAO,CAAC,IAAI,CAAC;IAUtB,KAAK,IAAI,OAAO,CAAC,IAAI,CAAC;IAOtB,IAAI,CAAC,OAAO,EAAE,cAAc,GAAG,OAAO,CAAC,IAAI,CAAC;CAWnD"} -------------------------------------------------------------------------------- /node_modules/@modelcontextprotocol/sdk/dist/inMemory.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"inMemory.js","sourceRoot":"","sources":["../src/inMemory.ts"],"names":[],"mappings":"AAGA;;GAEG;AACH,MAAM,OAAO,iBAAiB;IAA9B;QAEU,kBAAa,GAAqB,EAAE,CAAC;IA6C/C,CAAC;IAvCC;;OAEG;IACH,MAAM,CAAC,gBAAgB;QACrB,MAAM,eAAe,GAAG,IAAI,iBAAiB,EAAE,CAAC;QAChD,MAAM,eAAe,GAAG,IAAI,iBAAiB,EAAE,CAAC;QAChD,eAAe,CAAC,eAAe,GAAG,eAAe,CAAC;QAClD,eAAe,CAAC,eAAe,GAAG,eAAe,CAAC;QAClD,OAAO,CAAC,eAAe,EAAE,eAAe,CAAC,CAAC;IAC5C,CAAC;IAED,KAAK,CAAC,KAAK;;QACT,gEAAgE;QAChE,OAAO,IAAI,CAAC,aAAa,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;YACrC,MAAM,OAAO,GAAG,IAAI,CAAC,aAAa,CAAC,KAAK,EAAE,CAAC;YAC3C,IAAI,OAAO,EAAE,CAAC;gBACZ,MAAA,IAAI,CAAC,SAAS,qDAAG,OAAO,CAAC,CAAC;YAC5B,CAAC;QACH,CAAC;IACH,CAAC;IAED,KAAK,CAAC,KAAK;;QACT,MAAM,KAAK,GAAG,IAAI,CAAC,eAAe,CAAC;QACnC,IAAI,CAAC,eAAe,GAAG,SAAS,CAAC;QACjC,MAAM,CAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,KAAK,EAAE,CAAA,CAAC;QACrB,MAAA,IAAI,CAAC,OAAO,oDAAI,CAAC;IACnB,CAAC;IAED,KAAK,CAAC,IAAI,CAAC,OAAuB;QAChC,IAAI,CAAC,IAAI,CAAC,eAAe,EAAE,CAAC;YAC1B,MAAM,IAAI,KAAK,CAAC,eAAe,CAAC,CAAC;QACnC,CAAC;QAED,IAAI,IAAI,CAAC,eAAe,CAAC,SAAS,EAAE,CAAC;YACnC,IAAI,CAAC,eAAe,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC;QAC1C,CAAC;aAAM,CAAC;YACN,IAAI,CAAC,eAAe,CAAC,aAAa,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACnD,CAAC;IACH,CAAC;CACF"} -------------------------------------------------------------------------------- /node_modules/@modelcontextprotocol/sdk/dist/inMemory.test.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | //# sourceMappingURL=inMemory.test.d.ts.map -------------------------------------------------------------------------------- /node_modules/@modelcontextprotocol/sdk/dist/inMemory.test.d.ts.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"inMemory.test.d.ts","sourceRoot":"","sources":["../src/inMemory.test.ts"],"names":[],"mappings":""} -------------------------------------------------------------------------------- /node_modules/@modelcontextprotocol/sdk/dist/server/index.d.ts.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/server/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EACR,eAAe,EACf,cAAc,EACf,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EACL,kBAAkB,EAClB,oBAAoB,EAGpB,cAAc,EAMd,gBAAgB,EAEhB,0BAA0B,EAC1B,YAAY,EACZ,OAAO,EACP,2BAA2B,EAC3B,MAAM,EACN,kBAAkB,EAClB,kBAAkB,EAClB,aAAa,EACb,YAAY,EAEb,MAAM,aAAa,CAAC;AAErB,MAAM,MAAM,aAAa,GAAG,eAAe,GAAG;IAC5C;;OAEG;IACH,YAAY,EAAE,kBAAkB,CAAC;CAClC,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,qBAAa,MAAM,CACjB,QAAQ,SAAS,OAAO,GAAG,OAAO,EAClC,aAAa,SAAS,YAAY,GAAG,YAAY,EACjD,OAAO,SAAS,MAAM,GAAG,MAAM,CAC/B,SAAQ,QAAQ,CAChB,aAAa,GAAG,QAAQ,EACxB,kBAAkB,GAAG,aAAa,EAClC,YAAY,GAAG,OAAO,CACvB;IAcG,OAAO,CAAC,WAAW;IAbrB,OAAO,CAAC,mBAAmB,CAAC,CAAqB;IACjD,OAAO,CAAC,cAAc,CAAC,CAAiB;IACxC,OAAO,CAAC,aAAa,CAAqB;IAE1C;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,IAAI,CAAC;IAE3B;;OAEG;gBAEO,WAAW,EAAE,cAAc,EACnC,OAAO,EAAE,aAAa;IAaxB,SAAS,CAAC,yBAAyB,CAAC,MAAM,EAAE,QAAQ,CAAC,QAAQ,CAAC,GAAG,IAAI;IAwBrE,SAAS,CAAC,4BAA4B,CACpC,MAAM,EAAE,CAAC,kBAAkB,GAAG,aAAa,CAAC,CAAC,QAAQ,CAAC,GACrD,IAAI;IA6CP,SAAS,CAAC,8BAA8B,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI;YAqDhD,aAAa;IAiB3B;;OAEG;IACH,qBAAqB,IAAI,kBAAkB,GAAG,SAAS;IAIvD;;OAEG;IACH,gBAAgB,IAAI,cAAc,GAAG,SAAS;IAI9C,OAAO,CAAC,eAAe;IAIjB,IAAI;;;IAIJ,aAAa,CACjB,MAAM,EAAE,oBAAoB,CAAC,QAAQ,CAAC,EACtC,OAAO,CAAC,EAAE,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IASpB,SAAS,CACb,MAAM,CAAC,EAAE,gBAAgB,CAAC,QAAQ,CAAC,EACnC,OAAO,CAAC,EAAE,cAAc;;;;;;;;;;;;;;IASpB,kBAAkB,CAAC,MAAM,EAAE,0BAA0B,CAAC,QAAQ,CAAC;IAI/D,mBAAmB,CAAC,MAAM,EAAE,2BAA2B,CAAC,QAAQ,CAAC;IAOjE,uBAAuB;IAMvB,mBAAmB;IAInB,qBAAqB;CAG5B"} -------------------------------------------------------------------------------- /node_modules/@modelcontextprotocol/sdk/dist/server/index.test.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | //# sourceMappingURL=index.test.d.ts.map -------------------------------------------------------------------------------- /node_modules/@modelcontextprotocol/sdk/dist/server/index.test.d.ts.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"index.test.d.ts","sourceRoot":"","sources":["../../src/server/index.test.ts"],"names":[],"mappings":""} -------------------------------------------------------------------------------- /node_modules/@modelcontextprotocol/sdk/dist/server/sse.d.ts.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"sse.d.ts","sourceRoot":"","sources":["../../src/server/sse.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAC5D,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AACnD,OAAO,EAAE,cAAc,EAAwB,MAAM,aAAa,CAAC;AAMnE;;;;GAIG;AACH,qBAAa,kBAAmB,YAAW,SAAS;IAYhD,OAAO,CAAC,SAAS;IACjB,OAAO,CAAC,GAAG;IAZb,OAAO,CAAC,YAAY,CAAC,CAAiB;IACtC,OAAO,CAAC,UAAU,CAAS;IAE3B,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAC;IACjC,SAAS,CAAC,EAAE,CAAC,OAAO,EAAE,cAAc,KAAK,IAAI,CAAC;IAE9C;;OAEG;gBAEO,SAAS,EAAE,MAAM,EACjB,GAAG,EAAE,cAAc;IAK7B;;;;OAIG;IACG,KAAK,IAAI,OAAO,CAAC,IAAI,CAAC;IAyB5B;;;;OAIG;IACG,iBAAiB,CACrB,GAAG,EAAE,eAAe,EACpB,GAAG,EAAE,cAAc,GAClB,OAAO,CAAC,IAAI,CAAC;IAkChB;;OAEG;IACG,aAAa,CAAC,OAAO,EAAE,OAAO,GAAG,OAAO,CAAC,IAAI,CAAC;IAY9C,KAAK,IAAI,OAAO,CAAC,IAAI,CAAC;IAMtB,IAAI,CAAC,OAAO,EAAE,cAAc,GAAG,OAAO,CAAC,IAAI,CAAC;IAUlD;;;;OAIG;IACH,IAAI,SAAS,IAAI,MAAM,CAEtB;CACF"} -------------------------------------------------------------------------------- /node_modules/@modelcontextprotocol/sdk/dist/server/stdio.d.ts: -------------------------------------------------------------------------------- 1 | import { Readable, Writable } from "node:stream"; 2 | import { JSONRPCMessage } from "../types.js"; 3 | import { Transport } from "../shared/transport.js"; 4 | /** 5 | * Server transport for stdio: this communicates with a MCP client by reading from the current process' stdin and writing to stdout. 6 | * 7 | * This transport is only available in Node.js environments. 8 | */ 9 | export declare class StdioServerTransport implements Transport { 10 | private _stdin; 11 | private _stdout; 12 | private _readBuffer; 13 | private _started; 14 | constructor(_stdin?: Readable, _stdout?: Writable); 15 | onclose?: () => void; 16 | onerror?: (error: Error) => void; 17 | onmessage?: (message: JSONRPCMessage) => void; 18 | _ondata: (chunk: Buffer) => void; 19 | _onerror: (error: Error) => void; 20 | /** 21 | * Starts listening for messages on stdin. 22 | */ 23 | start(): Promise; 24 | private processReadBuffer; 25 | close(): Promise; 26 | send(message: JSONRPCMessage): Promise; 27 | } 28 | //# sourceMappingURL=stdio.d.ts.map -------------------------------------------------------------------------------- /node_modules/@modelcontextprotocol/sdk/dist/server/stdio.d.ts.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"stdio.d.ts","sourceRoot":"","sources":["../../src/server/stdio.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAEjD,OAAO,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAC7C,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAEnD;;;;GAIG;AACH,qBAAa,oBAAqB,YAAW,SAAS;IAKlD,OAAO,CAAC,MAAM;IACd,OAAO,CAAC,OAAO;IALjB,OAAO,CAAC,WAAW,CAAgC;IACnD,OAAO,CAAC,QAAQ,CAAS;gBAGf,MAAM,GAAE,QAAwB,EAChC,OAAO,GAAE,QAAyB;IAG5C,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAC;IACjC,SAAS,CAAC,EAAE,CAAC,OAAO,EAAE,cAAc,KAAK,IAAI,CAAC;IAG9C,OAAO,UAAW,MAAM,UAGtB;IACF,QAAQ,UAAW,KAAK,UAEtB;IAEF;;OAEG;IACG,KAAK,IAAI,OAAO,CAAC,IAAI,CAAC;IAY5B,OAAO,CAAC,iBAAiB;IAenB,KAAK,IAAI,OAAO,CAAC,IAAI,CAAC;IAO5B,IAAI,CAAC,OAAO,EAAE,cAAc,GAAG,OAAO,CAAC,IAAI,CAAC;CAU7C"} -------------------------------------------------------------------------------- /node_modules/@modelcontextprotocol/sdk/dist/server/stdio.test.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | //# sourceMappingURL=stdio.test.d.ts.map -------------------------------------------------------------------------------- /node_modules/@modelcontextprotocol/sdk/dist/server/stdio.test.d.ts.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"stdio.test.d.ts","sourceRoot":"","sources":["../../src/server/stdio.test.ts"],"names":[],"mappings":""} -------------------------------------------------------------------------------- /node_modules/@modelcontextprotocol/sdk/dist/shared/stdio.d.ts: -------------------------------------------------------------------------------- 1 | import { JSONRPCMessage } from "../types.js"; 2 | /** 3 | * Buffers a continuous stdio stream into discrete JSON-RPC messages. 4 | */ 5 | export declare class ReadBuffer { 6 | private _buffer?; 7 | append(chunk: Buffer): void; 8 | readMessage(): JSONRPCMessage | null; 9 | clear(): void; 10 | } 11 | export declare function deserializeMessage(line: string): JSONRPCMessage; 12 | export declare function serializeMessage(message: JSONRPCMessage): string; 13 | //# sourceMappingURL=stdio.d.ts.map -------------------------------------------------------------------------------- /node_modules/@modelcontextprotocol/sdk/dist/shared/stdio.d.ts.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"stdio.d.ts","sourceRoot":"","sources":["../../src/shared/stdio.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAwB,MAAM,aAAa,CAAC;AAEnE;;GAEG;AACH,qBAAa,UAAU;IACrB,OAAO,CAAC,OAAO,CAAC,CAAS;IAEzB,MAAM,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI;IAI3B,WAAW,IAAI,cAAc,GAAG,IAAI;IAepC,KAAK,IAAI,IAAI;CAGd;AAED,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,MAAM,GAAG,cAAc,CAE/D;AAED,wBAAgB,gBAAgB,CAAC,OAAO,EAAE,cAAc,GAAG,MAAM,CAEhE"} -------------------------------------------------------------------------------- /node_modules/@modelcontextprotocol/sdk/dist/shared/stdio.js: -------------------------------------------------------------------------------- 1 | import { JSONRPCMessageSchema } from "../types.js"; 2 | /** 3 | * Buffers a continuous stdio stream into discrete JSON-RPC messages. 4 | */ 5 | export class ReadBuffer { 6 | append(chunk) { 7 | this._buffer = this._buffer ? Buffer.concat([this._buffer, chunk]) : chunk; 8 | } 9 | readMessage() { 10 | if (!this._buffer) { 11 | return null; 12 | } 13 | const index = this._buffer.indexOf("\n"); 14 | if (index === -1) { 15 | return null; 16 | } 17 | const line = this._buffer.toString("utf8", 0, index); 18 | this._buffer = this._buffer.subarray(index + 1); 19 | return deserializeMessage(line); 20 | } 21 | clear() { 22 | this._buffer = undefined; 23 | } 24 | } 25 | export function deserializeMessage(line) { 26 | return JSONRPCMessageSchema.parse(JSON.parse(line)); 27 | } 28 | export function serializeMessage(message) { 29 | return JSON.stringify(message) + "\n"; 30 | } 31 | //# sourceMappingURL=stdio.js.map -------------------------------------------------------------------------------- /node_modules/@modelcontextprotocol/sdk/dist/shared/stdio.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"stdio.js","sourceRoot":"","sources":["../../src/shared/stdio.ts"],"names":[],"mappings":"AAAA,OAAO,EAAkB,oBAAoB,EAAE,MAAM,aAAa,CAAC;AAEnE;;GAEG;AACH,MAAM,OAAO,UAAU;IAGrB,MAAM,CAAC,KAAa;QAClB,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,OAAO,EAAE,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC;IAC7E,CAAC;IAED,WAAW;QACT,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE,CAAC;YAClB,OAAO,IAAI,CAAC;QACd,CAAC;QAED,MAAM,KAAK,GAAG,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;QACzC,IAAI,KAAK,KAAK,CAAC,CAAC,EAAE,CAAC;YACjB,OAAO,IAAI,CAAC;QACd,CAAC;QAED,MAAM,IAAI,GAAG,IAAI,CAAC,OAAO,CAAC,QAAQ,CAAC,MAAM,EAAE,CAAC,EAAE,KAAK,CAAC,CAAC;QACrD,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC,QAAQ,CAAC,KAAK,GAAG,CAAC,CAAC,CAAC;QAChD,OAAO,kBAAkB,CAAC,IAAI,CAAC,CAAC;IAClC,CAAC;IAED,KAAK;QACH,IAAI,CAAC,OAAO,GAAG,SAAS,CAAC;IAC3B,CAAC;CACF;AAED,MAAM,UAAU,kBAAkB,CAAC,IAAY;IAC7C,OAAO,oBAAoB,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC;AACtD,CAAC;AAED,MAAM,UAAU,gBAAgB,CAAC,OAAuB;IACtD,OAAO,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC;AACxC,CAAC"} -------------------------------------------------------------------------------- /node_modules/@modelcontextprotocol/sdk/dist/shared/stdio.test.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | //# sourceMappingURL=stdio.test.d.ts.map -------------------------------------------------------------------------------- /node_modules/@modelcontextprotocol/sdk/dist/shared/stdio.test.d.ts.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"stdio.test.d.ts","sourceRoot":"","sources":["../../src/shared/stdio.test.ts"],"names":[],"mappings":""} -------------------------------------------------------------------------------- /node_modules/@modelcontextprotocol/sdk/dist/shared/stdio.test.js: -------------------------------------------------------------------------------- 1 | import { ReadBuffer } from "./stdio.js"; 2 | const testMessage = { 3 | jsonrpc: "2.0", 4 | method: "foobar", 5 | }; 6 | test("should have no messages after initialization", () => { 7 | const readBuffer = new ReadBuffer(); 8 | expect(readBuffer.readMessage()).toBeNull(); 9 | }); 10 | test("should only yield a message after a newline", () => { 11 | const readBuffer = new ReadBuffer(); 12 | readBuffer.append(Buffer.from(JSON.stringify(testMessage))); 13 | expect(readBuffer.readMessage()).toBeNull(); 14 | readBuffer.append(Buffer.from("\n")); 15 | expect(readBuffer.readMessage()).toEqual(testMessage); 16 | expect(readBuffer.readMessage()).toBeNull(); 17 | }); 18 | test("should be reusable after clearing", () => { 19 | const readBuffer = new ReadBuffer(); 20 | readBuffer.append(Buffer.from("foobar")); 21 | readBuffer.clear(); 22 | expect(readBuffer.readMessage()).toBeNull(); 23 | readBuffer.append(Buffer.from(JSON.stringify(testMessage))); 24 | readBuffer.append(Buffer.from("\n")); 25 | expect(readBuffer.readMessage()).toEqual(testMessage); 26 | }); 27 | //# sourceMappingURL=stdio.test.js.map -------------------------------------------------------------------------------- /node_modules/@modelcontextprotocol/sdk/dist/shared/stdio.test.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"stdio.test.js","sourceRoot":"","sources":["../../src/shared/stdio.test.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAExC,MAAM,WAAW,GAAmB;IAClC,OAAO,EAAE,KAAK;IACd,MAAM,EAAE,QAAQ;CACjB,CAAC;AAEF,IAAI,CAAC,8CAA8C,EAAE,GAAG,EAAE;IACxD,MAAM,UAAU,GAAG,IAAI,UAAU,EAAE,CAAC;IACpC,MAAM,CAAC,UAAU,CAAC,WAAW,EAAE,CAAC,CAAC,QAAQ,EAAE,CAAC;AAC9C,CAAC,CAAC,CAAC;AAEH,IAAI,CAAC,6CAA6C,EAAE,GAAG,EAAE;IACvD,MAAM,UAAU,GAAG,IAAI,UAAU,EAAE,CAAC;IAEpC,UAAU,CAAC,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,SAAS,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC;IAC5D,MAAM,CAAC,UAAU,CAAC,WAAW,EAAE,CAAC,CAAC,QAAQ,EAAE,CAAC;IAE5C,UAAU,CAAC,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC;IACrC,MAAM,CAAC,UAAU,CAAC,WAAW,EAAE,CAAC,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC;IACtD,MAAM,CAAC,UAAU,CAAC,WAAW,EAAE,CAAC,CAAC,QAAQ,EAAE,CAAC;AAC9C,CAAC,CAAC,CAAC;AAEH,IAAI,CAAC,mCAAmC,EAAE,GAAG,EAAE;IAC7C,MAAM,UAAU,GAAG,IAAI,UAAU,EAAE,CAAC;IAEpC,UAAU,CAAC,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC;IACzC,UAAU,CAAC,KAAK,EAAE,CAAC;IACnB,MAAM,CAAC,UAAU,CAAC,WAAW,EAAE,CAAC,CAAC,QAAQ,EAAE,CAAC;IAE5C,UAAU,CAAC,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,SAAS,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC;IAC5D,UAAU,CAAC,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC;IACrC,MAAM,CAAC,UAAU,CAAC,WAAW,EAAE,CAAC,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC;AACxD,CAAC,CAAC,CAAC"} -------------------------------------------------------------------------------- /node_modules/@modelcontextprotocol/sdk/dist/shared/transport.d.ts: -------------------------------------------------------------------------------- 1 | import { JSONRPCMessage } from "../types.js"; 2 | /** 3 | * Describes the minimal contract for a MCP transport that a client or server can communicate over. 4 | */ 5 | export interface Transport { 6 | /** 7 | * Starts processing messages on the transport, including any connection steps that might need to be taken. 8 | * 9 | * This method should only be called after callbacks are installed, or else messages may be lost. 10 | * 11 | * NOTE: This method should not be called explicitly when using Client, Server, or Protocol classes, as they will implicitly call start(). 12 | */ 13 | start(): Promise; 14 | /** 15 | * Sends a JSON-RPC message (request or response). 16 | */ 17 | send(message: JSONRPCMessage): Promise; 18 | /** 19 | * Closes the connection. 20 | */ 21 | close(): Promise; 22 | /** 23 | * Callback for when the connection is closed for any reason. 24 | * 25 | * This should be invoked when close() is called as well. 26 | */ 27 | onclose?: () => void; 28 | /** 29 | * Callback for when an error occurs. 30 | * 31 | * Note that errors are not necessarily fatal; they are used for reporting any kind of exceptional condition out of band. 32 | */ 33 | onerror?: (error: Error) => void; 34 | /** 35 | * Callback for when a message (request or response) is received over the connection. 36 | */ 37 | onmessage?: (message: JSONRPCMessage) => void; 38 | } 39 | //# sourceMappingURL=transport.d.ts.map -------------------------------------------------------------------------------- /node_modules/@modelcontextprotocol/sdk/dist/shared/transport.d.ts.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"transport.d.ts","sourceRoot":"","sources":["../../src/shared/transport.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAE7C;;GAEG;AACH,MAAM,WAAW,SAAS;IACxB;;;;;;OAMG;IACH,KAAK,IAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IAEvB;;OAEG;IACH,IAAI,CAAC,OAAO,EAAE,cAAc,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAE7C;;OAEG;IACH,KAAK,IAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IAEvB;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IAErB;;;;OAIG;IACH,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAC;IAEjC;;OAEG;IACH,SAAS,CAAC,EAAE,CAAC,OAAO,EAAE,cAAc,KAAK,IAAI,CAAC;CAC/C"} -------------------------------------------------------------------------------- /node_modules/@modelcontextprotocol/sdk/dist/shared/transport.js: -------------------------------------------------------------------------------- 1 | export {}; 2 | //# sourceMappingURL=transport.js.map -------------------------------------------------------------------------------- /node_modules/@modelcontextprotocol/sdk/dist/shared/transport.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"transport.js","sourceRoot":"","sources":["../../src/shared/transport.ts"],"names":[],"mappings":""} -------------------------------------------------------------------------------- /node_modules/@modelcontextprotocol/sdk/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@modelcontextprotocol/sdk", 3 | "version": "1.0.1", 4 | "description": "Model Context Protocol implementation for TypeScript", 5 | "license": "MIT", 6 | "author": "Anthropic, PBC (https://anthropic.com)", 7 | "homepage": "https://modelcontextprotocol.io", 8 | "bugs": "https://github.com/modelcontextprotocol/typescript-sdk/issues", 9 | "type": "module", 10 | "main": "./dist/index.js", 11 | "types": "./dist/index.d.ts", 12 | "exports": { 13 | "./*": "./dist/*" 14 | }, 15 | "typesVersions": { 16 | "*": { 17 | "*": [ 18 | "./dist/*" 19 | ] 20 | } 21 | }, 22 | "files": [ 23 | "dist" 24 | ], 25 | "scripts": { 26 | "build": "tsc", 27 | "prepack": "tsc", 28 | "lint": "eslint src/", 29 | "test": "jest", 30 | "start": "npm run server", 31 | "server": "tsx watch --clear-screen=false src/cli.ts server", 32 | "client": "tsx src/cli.ts client" 33 | }, 34 | "dependencies": { 35 | "content-type": "^1.0.5", 36 | "raw-body": "^3.0.0", 37 | "zod": "^3.23.8" 38 | }, 39 | "devDependencies": { 40 | "@eslint/js": "^9.8.0", 41 | "@types/content-type": "^1.1.8", 42 | "@types/eslint__js": "^8.42.3", 43 | "@types/eventsource": "^1.1.15", 44 | "@types/express": "^4.17.21", 45 | "@types/jest": "^29.5.12", 46 | "@types/node": "^22.0.2", 47 | "@types/ws": "^8.5.12", 48 | "eslint": "^9.8.0", 49 | "eventsource": "^2.0.2", 50 | "express": "^4.19.2", 51 | "jest": "^29.7.0", 52 | "ts-jest": "^29.2.4", 53 | "tsx": "^4.16.5", 54 | "typescript": "^5.5.4", 55 | "typescript-eslint": "^8.0.0", 56 | "ws": "^8.18.0" 57 | }, 58 | "resolutions": { 59 | "strip-ansi": "6.0.1" 60 | } 61 | } 62 | -------------------------------------------------------------------------------- /node_modules/@types/node/LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) Microsoft Corporation. 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE 22 | -------------------------------------------------------------------------------- /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/compatibility/indexable.d.ts: -------------------------------------------------------------------------------- 1 | // Polyfill for ES2022's .at() method on string/array prototypes, added to TypeScript in 4.6. 2 | // TODO: these methods are not used within @types/node, and should be removed at the next 3 | // major @types/node version; users should include the es2022 TypeScript libraries 4 | // if they need these features. 5 | 6 | interface RelativeIndexable { 7 | at(index: number): T | undefined; 8 | } 9 | 10 | interface String extends RelativeIndexable {} 11 | interface Array extends RelativeIndexable {} 12 | interface ReadonlyArray extends RelativeIndexable {} 13 | interface Int8Array extends RelativeIndexable {} 14 | interface Uint8Array extends RelativeIndexable {} 15 | interface Uint8ClampedArray extends RelativeIndexable {} 16 | interface Int16Array extends RelativeIndexable {} 17 | interface Uint16Array extends RelativeIndexable {} 18 | interface Int32Array extends RelativeIndexable {} 19 | interface Uint32Array extends RelativeIndexable {} 20 | interface Float32Array extends RelativeIndexable {} 21 | interface Float64Array extends RelativeIndexable {} 22 | interface BigInt64Array extends RelativeIndexable {} 23 | interface BigUint64Array extends RelativeIndexable {} 24 | -------------------------------------------------------------------------------- /node_modules/@types/node/compatibility/iterators.d.ts: -------------------------------------------------------------------------------- 1 | // Backwards-compatible iterator interfaces, augmented with iterator helper methods by lib.esnext.iterator in TypeScript 5.6. 2 | // The IterableIterator interface does not contain these methods, which creates assignability issues in places where IteratorObjects 3 | // are expected (eg. DOM-compatible APIs) if lib.esnext.iterator is loaded. 4 | // Also ensures that iterators returned by the Node API, which inherit from Iterator.prototype, correctly expose the iterator helper methods 5 | // if lib.esnext.iterator is loaded. 6 | // TODO: remove once this package no longer supports TS 5.5, and replace NodeJS.BuiltinIteratorReturn with BuiltinIteratorReturn. 7 | 8 | // Placeholders for TS <5.6 9 | interface IteratorObject {} 10 | interface AsyncIteratorObject {} 11 | 12 | declare namespace NodeJS { 13 | // Populate iterator methods for TS <5.6 14 | interface Iterator extends globalThis.Iterator {} 15 | interface AsyncIterator extends globalThis.AsyncIterator {} 16 | 17 | // Polyfill for TS 5.6's instrinsic BuiltinIteratorReturn type, required for DOM-compatible iterators 18 | type BuiltinIteratorReturn = ReturnType extends 19 | globalThis.Iterator ? TReturn 20 | : any; 21 | } 22 | -------------------------------------------------------------------------------- /node_modules/@types/node/constants.d.ts: -------------------------------------------------------------------------------- 1 | /** @deprecated since v6.3.0 - use constants property exposed by the relevant module instead. */ 2 | declare module "constants" { 3 | import { constants as osConstants, SignalConstants } from "node:os"; 4 | import { constants as cryptoConstants } from "node:crypto"; 5 | import { constants as fsConstants } from "node:fs"; 6 | 7 | const exp: 8 | & typeof osConstants.errno 9 | & typeof osConstants.priority 10 | & SignalConstants 11 | & typeof cryptoConstants 12 | & typeof fsConstants; 13 | export = exp; 14 | } 15 | 16 | declare module "node:constants" { 17 | import constants = require("constants"); 18 | export = constants; 19 | } 20 | -------------------------------------------------------------------------------- /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/stream/consumers.d.ts: -------------------------------------------------------------------------------- 1 | declare module "stream/consumers" { 2 | import { Blob as NodeBlob } from "node:buffer"; 3 | import { Readable } from "node:stream"; 4 | function buffer(stream: NodeJS.ReadableStream | Readable | AsyncIterable): Promise; 5 | function text(stream: NodeJS.ReadableStream | Readable | AsyncIterable): Promise; 6 | function arrayBuffer(stream: NodeJS.ReadableStream | Readable | AsyncIterable): Promise; 7 | function blob(stream: NodeJS.ReadableStream | Readable | AsyncIterable): Promise; 8 | function json(stream: NodeJS.ReadableStream | Readable | AsyncIterable): Promise; 9 | } 10 | declare module "node:stream/consumers" { 11 | export * from "stream/consumers"; 12 | } 13 | -------------------------------------------------------------------------------- /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/bytes/LICENSE: -------------------------------------------------------------------------------- 1 | (The MIT License) 2 | 3 | Copyright (c) 2012-2014 TJ Holowaychuk 4 | Copyright (c) 2015 Jed Watson 5 | 6 | Permission is hereby granted, free of charge, to any person obtaining 7 | a copy of this software and associated documentation files (the 8 | 'Software'), to deal in the Software without restriction, including 9 | without limitation the rights to use, copy, modify, merge, publish, 10 | distribute, sublicense, and/or sell copies of the Software, and to 11 | permit persons to whom the Software is furnished to do so, subject to 12 | the following conditions: 13 | 14 | The above copyright notice and this permission notice shall be 15 | included in all copies or substantial portions of the Software. 16 | 17 | THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, 18 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 19 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. 20 | IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY 21 | CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, 22 | TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE 23 | SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 24 | -------------------------------------------------------------------------------- /node_modules/bytes/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "bytes", 3 | "description": "Utility to parse a string bytes to bytes and vice-versa", 4 | "version": "3.1.2", 5 | "author": "TJ Holowaychuk (http://tjholowaychuk.com)", 6 | "contributors": [ 7 | "Jed Watson ", 8 | "Théo FIDRY " 9 | ], 10 | "license": "MIT", 11 | "keywords": [ 12 | "byte", 13 | "bytes", 14 | "utility", 15 | "parse", 16 | "parser", 17 | "convert", 18 | "converter" 19 | ], 20 | "repository": "visionmedia/bytes.js", 21 | "devDependencies": { 22 | "eslint": "7.32.0", 23 | "eslint-plugin-markdown": "2.2.1", 24 | "mocha": "9.2.0", 25 | "nyc": "15.1.0" 26 | }, 27 | "files": [ 28 | "History.md", 29 | "LICENSE", 30 | "Readme.md", 31 | "index.js" 32 | ], 33 | "engines": { 34 | "node": ">= 0.8" 35 | }, 36 | "scripts": { 37 | "lint": "eslint .", 38 | "test": "mocha --check-leaks --reporter spec", 39 | "test-ci": "nyc --reporter=lcov --reporter=text npm test", 40 | "test-cov": "nyc --reporter=html --reporter=text npm test" 41 | } 42 | } 43 | -------------------------------------------------------------------------------- /node_modules/content-type/HISTORY.md: -------------------------------------------------------------------------------- 1 | 1.0.5 / 2023-01-29 2 | ================== 3 | 4 | * perf: skip value escaping when unnecessary 5 | 6 | 1.0.4 / 2017-09-11 7 | ================== 8 | 9 | * perf: skip parameter parsing when no parameters 10 | 11 | 1.0.3 / 2017-09-10 12 | ================== 13 | 14 | * perf: remove argument reassignment 15 | 16 | 1.0.2 / 2016-05-09 17 | ================== 18 | 19 | * perf: enable strict mode 20 | 21 | 1.0.1 / 2015-02-13 22 | ================== 23 | 24 | * Improve missing `Content-Type` header error message 25 | 26 | 1.0.0 / 2015-02-01 27 | ================== 28 | 29 | * Initial implementation, derived from `media-typer@0.3.0` 30 | -------------------------------------------------------------------------------- /node_modules/content-type/LICENSE: -------------------------------------------------------------------------------- 1 | (The MIT License) 2 | 3 | Copyright (c) 2015 Douglas Christopher Wilson 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining 6 | a copy of this software and associated documentation files (the 7 | 'Software'), to deal in the Software without restriction, including 8 | without limitation the rights to use, copy, modify, merge, publish, 9 | distribute, sublicense, and/or sell copies of the Software, and to 10 | permit persons to whom the Software is furnished to do so, subject to 11 | the following conditions: 12 | 13 | The above copyright notice and this permission notice shall be 14 | included in all copies or substantial portions of the Software. 15 | 16 | THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, 17 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 18 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. 19 | IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY 20 | CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, 21 | TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE 22 | SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 23 | -------------------------------------------------------------------------------- /node_modules/content-type/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "content-type", 3 | "description": "Create and parse HTTP Content-Type header", 4 | "version": "1.0.5", 5 | "author": "Douglas Christopher Wilson ", 6 | "license": "MIT", 7 | "keywords": [ 8 | "content-type", 9 | "http", 10 | "req", 11 | "res", 12 | "rfc7231" 13 | ], 14 | "repository": "jshttp/content-type", 15 | "devDependencies": { 16 | "deep-equal": "1.0.1", 17 | "eslint": "8.32.0", 18 | "eslint-config-standard": "15.0.1", 19 | "eslint-plugin-import": "2.27.5", 20 | "eslint-plugin-node": "11.1.0", 21 | "eslint-plugin-promise": "6.1.1", 22 | "eslint-plugin-standard": "4.1.0", 23 | "mocha": "10.2.0", 24 | "nyc": "15.1.0" 25 | }, 26 | "files": [ 27 | "LICENSE", 28 | "HISTORY.md", 29 | "README.md", 30 | "index.js" 31 | ], 32 | "engines": { 33 | "node": ">= 0.6" 34 | }, 35 | "scripts": { 36 | "lint": "eslint .", 37 | "test": "mocha --reporter spec --check-leaks --bail test/", 38 | "test-ci": "nyc --reporter=lcovonly --reporter=text npm test", 39 | "test-cov": "nyc --reporter=html --reporter=text npm test", 40 | "version": "node scripts/version-history.js && git add HISTORY.md" 41 | } 42 | } 43 | -------------------------------------------------------------------------------- /node_modules/depd/LICENSE: -------------------------------------------------------------------------------- 1 | (The MIT License) 2 | 3 | Copyright (c) 2014-2018 Douglas Christopher Wilson 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining 6 | a copy of this software and associated documentation files (the 7 | 'Software'), to deal in the Software without restriction, including 8 | without limitation the rights to use, copy, modify, merge, publish, 9 | distribute, sublicense, and/or sell copies of the Software, and to 10 | permit persons to whom the Software is furnished to do so, subject to 11 | the following conditions: 12 | 13 | The above copyright notice and this permission notice shall be 14 | included in all copies or substantial portions of the Software. 15 | 16 | THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, 17 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 18 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. 19 | IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY 20 | CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, 21 | TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE 22 | SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 23 | -------------------------------------------------------------------------------- /node_modules/depd/lib/browser/index.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * depd 3 | * Copyright(c) 2015 Douglas Christopher Wilson 4 | * MIT Licensed 5 | */ 6 | 7 | 'use strict' 8 | 9 | /** 10 | * Module exports. 11 | * @public 12 | */ 13 | 14 | module.exports = depd 15 | 16 | /** 17 | * Create deprecate for namespace in caller. 18 | */ 19 | 20 | function depd (namespace) { 21 | if (!namespace) { 22 | throw new TypeError('argument namespace is required') 23 | } 24 | 25 | function deprecate (message) { 26 | // no-op in browser 27 | } 28 | 29 | deprecate._file = undefined 30 | deprecate._ignored = true 31 | deprecate._namespace = namespace 32 | deprecate._traced = false 33 | deprecate._warned = Object.create(null) 34 | 35 | deprecate.function = wrapfunction 36 | deprecate.property = wrapproperty 37 | 38 | return deprecate 39 | } 40 | 41 | /** 42 | * Return a wrapped function in a deprecation message. 43 | * 44 | * This is a no-op version of the wrapper, which does nothing but call 45 | * validation. 46 | */ 47 | 48 | function wrapfunction (fn, message) { 49 | if (typeof fn !== 'function') { 50 | throw new TypeError('argument fn must be a function') 51 | } 52 | 53 | return fn 54 | } 55 | 56 | /** 57 | * Wrap property in a deprecation message. 58 | * 59 | * This is a no-op version of the wrapper, which does nothing but call 60 | * validation. 61 | */ 62 | 63 | function wrapproperty (obj, prop, message) { 64 | if (!obj || (typeof obj !== 'object' && typeof obj !== 'function')) { 65 | throw new TypeError('argument obj must be object') 66 | } 67 | 68 | var descriptor = Object.getOwnPropertyDescriptor(obj, prop) 69 | 70 | if (!descriptor) { 71 | throw new TypeError('must call property on owner object') 72 | } 73 | 74 | if (!descriptor.configurable) { 75 | throw new TypeError('property must be configurable') 76 | } 77 | } 78 | -------------------------------------------------------------------------------- /node_modules/depd/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "depd", 3 | "description": "Deprecate all the things", 4 | "version": "2.0.0", 5 | "author": "Douglas Christopher Wilson ", 6 | "license": "MIT", 7 | "keywords": [ 8 | "deprecate", 9 | "deprecated" 10 | ], 11 | "repository": "dougwilson/nodejs-depd", 12 | "browser": "lib/browser/index.js", 13 | "devDependencies": { 14 | "benchmark": "2.1.4", 15 | "beautify-benchmark": "0.2.4", 16 | "eslint": "5.7.0", 17 | "eslint-config-standard": "12.0.0", 18 | "eslint-plugin-import": "2.14.0", 19 | "eslint-plugin-markdown": "1.0.0-beta.7", 20 | "eslint-plugin-node": "7.0.1", 21 | "eslint-plugin-promise": "4.0.1", 22 | "eslint-plugin-standard": "4.0.0", 23 | "istanbul": "0.4.5", 24 | "mocha": "5.2.0", 25 | "safe-buffer": "5.1.2", 26 | "uid-safe": "2.1.5" 27 | }, 28 | "files": [ 29 | "lib/", 30 | "History.md", 31 | "LICENSE", 32 | "index.js", 33 | "Readme.md" 34 | ], 35 | "engines": { 36 | "node": ">= 0.8" 37 | }, 38 | "scripts": { 39 | "bench": "node benchmark/index.js", 40 | "lint": "eslint --plugin markdown --ext js,md .", 41 | "test": "mocha --reporter spec --bail test/", 42 | "test-ci": "istanbul cover --print=none node_modules/mocha/bin/_mocha -- --reporter spec test/ && istanbul report lcovonly text-summary", 43 | "test-cov": "istanbul cover --print=none node_modules/mocha/bin/_mocha -- --reporter dot test/ && istanbul report lcov text-summary" 44 | } 45 | } 46 | -------------------------------------------------------------------------------- /node_modules/http-errors/LICENSE: -------------------------------------------------------------------------------- 1 | 2 | The MIT License (MIT) 3 | 4 | Copyright (c) 2014 Jonathan Ong me@jongleberry.com 5 | Copyright (c) 2016 Douglas Christopher Wilson doug@somethingdoug.com 6 | 7 | Permission is hereby granted, free of charge, to any person obtaining a copy 8 | of this software and associated documentation files (the "Software"), to deal 9 | in the Software without restriction, including without limitation the rights 10 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 11 | copies of the Software, and to permit persons to whom the Software is 12 | furnished to do so, subject to the following conditions: 13 | 14 | The above copyright notice and this permission notice shall be included in 15 | all copies or substantial portions of the Software. 16 | 17 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 18 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 19 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 20 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 21 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 22 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 23 | THE SOFTWARE. 24 | -------------------------------------------------------------------------------- /node_modules/http-errors/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "http-errors", 3 | "description": "Create HTTP error objects", 4 | "version": "2.0.0", 5 | "author": "Jonathan Ong (http://jongleberry.com)", 6 | "contributors": [ 7 | "Alan Plum ", 8 | "Douglas Christopher Wilson " 9 | ], 10 | "license": "MIT", 11 | "repository": "jshttp/http-errors", 12 | "dependencies": { 13 | "depd": "2.0.0", 14 | "inherits": "2.0.4", 15 | "setprototypeof": "1.2.0", 16 | "statuses": "2.0.1", 17 | "toidentifier": "1.0.1" 18 | }, 19 | "devDependencies": { 20 | "eslint": "7.32.0", 21 | "eslint-config-standard": "14.1.1", 22 | "eslint-plugin-import": "2.25.3", 23 | "eslint-plugin-markdown": "2.2.1", 24 | "eslint-plugin-node": "11.1.0", 25 | "eslint-plugin-promise": "5.2.0", 26 | "eslint-plugin-standard": "4.1.0", 27 | "mocha": "9.1.3", 28 | "nyc": "15.1.0" 29 | }, 30 | "engines": { 31 | "node": ">= 0.8" 32 | }, 33 | "scripts": { 34 | "lint": "eslint . && node ./scripts/lint-readme-list.js", 35 | "test": "mocha --reporter spec --bail", 36 | "test-ci": "nyc --reporter=lcov --reporter=text npm test", 37 | "test-cov": "nyc --reporter=html --reporter=text npm test", 38 | "version": "node scripts/version-history.js && git add HISTORY.md" 39 | }, 40 | "keywords": [ 41 | "http", 42 | "error" 43 | ], 44 | "files": [ 45 | "index.js", 46 | "HISTORY.md", 47 | "LICENSE", 48 | "README.md" 49 | ] 50 | } 51 | -------------------------------------------------------------------------------- /node_modules/iconv-lite/.github/dependabot.yml: -------------------------------------------------------------------------------- 1 | # Please see the documentation for all configuration options: 2 | # https://help.github.com/github/administering-a-repository/configuration-options-for-dependency-updates 3 | 4 | version: 2 5 | updates: 6 | - package-ecosystem: "npm" 7 | directory: "/" 8 | schedule: 9 | interval: "daily" 10 | allow: 11 | - dependency-type: production 12 | -------------------------------------------------------------------------------- /node_modules/iconv-lite/.idea/codeStyles/codeStyleConfig.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | -------------------------------------------------------------------------------- /node_modules/iconv-lite/.idea/iconv-lite.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /node_modules/iconv-lite/.idea/inspectionProfiles/Project_Default.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6 | -------------------------------------------------------------------------------- /node_modules/iconv-lite/.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /node_modules/iconv-lite/.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /node_modules/iconv-lite/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2011 Alexander Shtuchkin 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining 4 | a copy of this software and associated documentation files (the 5 | "Software"), to deal in the Software without restriction, including 6 | without limitation the rights to use, copy, modify, merge, publish, 7 | distribute, sublicense, and/or sell copies of the Software, and to 8 | permit persons to whom the Software is furnished to do so, subject to 9 | the following conditions: 10 | 11 | The above copyright notice and this permission notice shall be 12 | included in all copies or substantial portions of the Software. 13 | 14 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 15 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 16 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 17 | NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE 18 | LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION 19 | OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION 20 | WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 21 | 22 | -------------------------------------------------------------------------------- /node_modules/iconv-lite/encodings/index.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | 3 | // Update this array if you add/rename/remove files in this directory. 4 | // We support Browserify by skipping automatic module discovery and requiring modules directly. 5 | var modules = [ 6 | require("./internal"), 7 | require("./utf32"), 8 | require("./utf16"), 9 | require("./utf7"), 10 | require("./sbcs-codec"), 11 | require("./sbcs-data"), 12 | require("./sbcs-data-generated"), 13 | require("./dbcs-codec"), 14 | require("./dbcs-data"), 15 | ]; 16 | 17 | // Put all encoding/alias/codec definitions to single object and export it. 18 | for (var i = 0; i < modules.length; i++) { 19 | var module = modules[i]; 20 | for (var enc in module) 21 | if (Object.prototype.hasOwnProperty.call(module, enc)) 22 | exports[enc] = module[enc]; 23 | } 24 | -------------------------------------------------------------------------------- /node_modules/iconv-lite/encodings/tables/gbk-added.json: -------------------------------------------------------------------------------- 1 | [ 2 | ["a140","",62], 3 | ["a180","",32], 4 | ["a240","",62], 5 | ["a280","",32], 6 | ["a2ab","",5], 7 | ["a2e3","€"], 8 | ["a2ef",""], 9 | ["a2fd",""], 10 | ["a340","",62], 11 | ["a380","",31," "], 12 | ["a440","",62], 13 | ["a480","",32], 14 | ["a4f4","",10], 15 | ["a540","",62], 16 | ["a580","",32], 17 | ["a5f7","",7], 18 | ["a640","",62], 19 | ["a680","",32], 20 | ["a6b9","",7], 21 | ["a6d9","",6], 22 | ["a6ec",""], 23 | ["a6f3",""], 24 | ["a6f6","",8], 25 | ["a740","",62], 26 | ["a780","",32], 27 | ["a7c2","",14], 28 | ["a7f2","",12], 29 | ["a896","",10], 30 | ["a8bc","ḿ"], 31 | ["a8bf","ǹ"], 32 | ["a8c1",""], 33 | ["a8ea","",20], 34 | ["a958",""], 35 | ["a95b",""], 36 | ["a95d",""], 37 | ["a989","〾⿰",11], 38 | ["a997","",12], 39 | ["a9f0","",14], 40 | ["aaa1","",93], 41 | ["aba1","",93], 42 | ["aca1","",93], 43 | ["ada1","",93], 44 | ["aea1","",93], 45 | ["afa1","",93], 46 | ["d7fa","",4], 47 | ["f8a1","",93], 48 | ["f9a1","",93], 49 | ["faa1","",93], 50 | ["fba1","",93], 51 | ["fca1","",93], 52 | ["fda1","",93], 53 | ["fe50","⺁⺄㑳㑇⺈⺋㖞㘚㘎⺌⺗㥮㤘㧏㧟㩳㧐㭎㱮㳠⺧⺪䁖䅟⺮䌷⺳⺶⺷䎱䎬⺻䏝䓖䙡䙌"], 54 | ["fe80","䜣䜩䝼䞍⻊䥇䥺䥽䦂䦃䦅䦆䦟䦛䦷䦶䲣䲟䲠䲡䱷䲢䴓",6,"䶮",93], 55 | ["8135f437",""] 56 | ] 57 | -------------------------------------------------------------------------------- /node_modules/iconv-lite/lib/bom-handling.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | 3 | var BOMChar = '\uFEFF'; 4 | 5 | exports.PrependBOM = PrependBOMWrapper 6 | function PrependBOMWrapper(encoder, options) { 7 | this.encoder = encoder; 8 | this.addBOM = true; 9 | } 10 | 11 | PrependBOMWrapper.prototype.write = function(str) { 12 | if (this.addBOM) { 13 | str = BOMChar + str; 14 | this.addBOM = false; 15 | } 16 | 17 | return this.encoder.write(str); 18 | } 19 | 20 | PrependBOMWrapper.prototype.end = function() { 21 | return this.encoder.end(); 22 | } 23 | 24 | 25 | //------------------------------------------------------------------------------ 26 | 27 | exports.StripBOM = StripBOMWrapper; 28 | function StripBOMWrapper(decoder, options) { 29 | this.decoder = decoder; 30 | this.pass = false; 31 | this.options = options || {}; 32 | } 33 | 34 | StripBOMWrapper.prototype.write = function(buf) { 35 | var res = this.decoder.write(buf); 36 | if (this.pass || !res) 37 | return res; 38 | 39 | if (res[0] === BOMChar) { 40 | res = res.slice(1); 41 | if (typeof this.options.stripBOM === 'function') 42 | this.options.stripBOM(); 43 | } 44 | 45 | this.pass = true; 46 | return res; 47 | } 48 | 49 | StripBOMWrapper.prototype.end = function() { 50 | return this.decoder.end(); 51 | } 52 | 53 | -------------------------------------------------------------------------------- /node_modules/iconv-lite/lib/index.d.ts: -------------------------------------------------------------------------------- 1 | /*--------------------------------------------------------------------------------------------- 2 | * Copyright (c) Microsoft Corporation. All rights reserved. 3 | * Licensed under the MIT License. 4 | * REQUIREMENT: This definition is dependent on the @types/node definition. 5 | * Install with `npm install @types/node --save-dev` 6 | *--------------------------------------------------------------------------------------------*/ 7 | 8 | declare module 'iconv-lite' { 9 | // Basic API 10 | export function decode(buffer: Buffer, encoding: string, options?: Options): string; 11 | 12 | export function encode(content: string, encoding: string, options?: Options): Buffer; 13 | 14 | export function encodingExists(encoding: string): boolean; 15 | 16 | // Stream API 17 | export function decodeStream(encoding: string, options?: Options): NodeJS.ReadWriteStream; 18 | 19 | export function encodeStream(encoding: string, options?: Options): NodeJS.ReadWriteStream; 20 | 21 | // Low-level stream APIs 22 | export function getEncoder(encoding: string, options?: Options): EncoderStream; 23 | 24 | export function getDecoder(encoding: string, options?: Options): DecoderStream; 25 | } 26 | 27 | export interface Options { 28 | stripBOM?: boolean; 29 | addBOM?: boolean; 30 | defaultEncoding?: string; 31 | } 32 | 33 | export interface EncoderStream { 34 | write(str: string): Buffer; 35 | end(): Buffer | undefined; 36 | } 37 | 38 | export interface DecoderStream { 39 | write(buf: Buffer): string; 40 | end(): string | undefined; 41 | } 42 | -------------------------------------------------------------------------------- /node_modules/iconv-lite/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "iconv-lite", 3 | "description": "Convert character encodings in pure javascript.", 4 | "version": "0.6.3", 5 | "license": "MIT", 6 | "keywords": [ 7 | "iconv", 8 | "convert", 9 | "charset", 10 | "icu" 11 | ], 12 | "author": "Alexander Shtuchkin ", 13 | "main": "./lib/index.js", 14 | "typings": "./lib/index.d.ts", 15 | "homepage": "https://github.com/ashtuchkin/iconv-lite", 16 | "bugs": "https://github.com/ashtuchkin/iconv-lite/issues", 17 | "repository": { 18 | "type": "git", 19 | "url": "git://github.com/ashtuchkin/iconv-lite.git" 20 | }, 21 | "engines": { 22 | "node": ">=0.10.0" 23 | }, 24 | "scripts": { 25 | "coverage": "c8 _mocha --grep .", 26 | "test": "mocha --reporter spec --grep ." 27 | }, 28 | "browser": { 29 | "stream": false 30 | }, 31 | "devDependencies": { 32 | "async": "^3.2.0", 33 | "c8": "^7.2.0", 34 | "errto": "^0.2.1", 35 | "iconv": "^2.3.5", 36 | "mocha": "^3.5.3", 37 | "request": "^2.88.2", 38 | "semver": "^6.3.0", 39 | "unorm": "^1.6.0" 40 | }, 41 | "dependencies": { 42 | "safer-buffer": ">= 2.1.2 < 3.0.0" 43 | } 44 | } 45 | -------------------------------------------------------------------------------- /node_modules/inherits/LICENSE: -------------------------------------------------------------------------------- 1 | The ISC License 2 | 3 | Copyright (c) Isaac Z. Schlueter 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 WITH 10 | REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND 11 | FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, 12 | INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM 13 | LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR 14 | OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 15 | PERFORMANCE OF THIS SOFTWARE. 16 | 17 | -------------------------------------------------------------------------------- /node_modules/inherits/README.md: -------------------------------------------------------------------------------- 1 | Browser-friendly inheritance fully compatible with standard node.js 2 | [inherits](http://nodejs.org/api/util.html#util_util_inherits_constructor_superconstructor). 3 | 4 | This package exports standard `inherits` from node.js `util` module in 5 | node environment, but also provides alternative browser-friendly 6 | implementation through [browser 7 | field](https://gist.github.com/shtylman/4339901). Alternative 8 | implementation is a literal copy of standard one located in standalone 9 | module to avoid requiring of `util`. It also has a shim for old 10 | browsers with no `Object.create` support. 11 | 12 | While keeping you sure you are using standard `inherits` 13 | implementation in node.js environment, it allows bundlers such as 14 | [browserify](https://github.com/substack/node-browserify) to not 15 | include full `util` package to your client code if all you need is 16 | just `inherits` function. It worth, because browser shim for `util` 17 | package is large and `inherits` is often the single function you need 18 | from it. 19 | 20 | It's recommended to use this package instead of 21 | `require('util').inherits` for any code that has chances to be used 22 | not only in node.js but in browser too. 23 | 24 | ## usage 25 | 26 | ```js 27 | var inherits = require('inherits'); 28 | // then use exactly as the standard one 29 | ``` 30 | 31 | ## note on version ~1.0 32 | 33 | Version ~1.0 had completely different motivation and is not compatible 34 | neither with 2.0 nor with standard node.js `inherits`. 35 | 36 | If you are using version ~1.0 and planning to switch to ~2.0, be 37 | careful: 38 | 39 | * new version uses `super_` instead of `super` for referencing 40 | superclass 41 | * new version overwrites current prototype while old one preserves any 42 | existing fields on it 43 | -------------------------------------------------------------------------------- /node_modules/inherits/inherits.js: -------------------------------------------------------------------------------- 1 | try { 2 | var util = require('util'); 3 | /* istanbul ignore next */ 4 | if (typeof util.inherits !== 'function') throw ''; 5 | module.exports = util.inherits; 6 | } catch (e) { 7 | /* istanbul ignore next */ 8 | module.exports = require('./inherits_browser.js'); 9 | } 10 | -------------------------------------------------------------------------------- /node_modules/inherits/inherits_browser.js: -------------------------------------------------------------------------------- 1 | if (typeof Object.create === 'function') { 2 | // implementation from standard node.js 'util' module 3 | module.exports = function inherits(ctor, superCtor) { 4 | if (superCtor) { 5 | ctor.super_ = superCtor 6 | ctor.prototype = Object.create(superCtor.prototype, { 7 | constructor: { 8 | value: ctor, 9 | enumerable: false, 10 | writable: true, 11 | configurable: true 12 | } 13 | }) 14 | } 15 | }; 16 | } else { 17 | // old school shim for old browsers 18 | module.exports = function inherits(ctor, superCtor) { 19 | if (superCtor) { 20 | ctor.super_ = superCtor 21 | var TempCtor = function () {} 22 | TempCtor.prototype = superCtor.prototype 23 | ctor.prototype = new TempCtor() 24 | ctor.prototype.constructor = ctor 25 | } 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /node_modules/inherits/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "inherits", 3 | "description": "Browser-friendly inheritance fully compatible with standard node.js inherits()", 4 | "version": "2.0.4", 5 | "keywords": [ 6 | "inheritance", 7 | "class", 8 | "klass", 9 | "oop", 10 | "object-oriented", 11 | "inherits", 12 | "browser", 13 | "browserify" 14 | ], 15 | "main": "./inherits.js", 16 | "browser": "./inherits_browser.js", 17 | "repository": "git://github.com/isaacs/inherits", 18 | "license": "ISC", 19 | "scripts": { 20 | "test": "tap" 21 | }, 22 | "devDependencies": { 23 | "tap": "^14.2.4" 24 | }, 25 | "files": [ 26 | "inherits.js", 27 | "inherits_browser.js" 28 | ] 29 | } 30 | -------------------------------------------------------------------------------- /node_modules/raw-body/LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2013-2014 Jonathan Ong 4 | Copyright (c) 2014-2022 Douglas Christopher Wilson 5 | 6 | Permission is hereby granted, free of charge, to any person obtaining a copy 7 | of this software and associated documentation files (the "Software"), to deal 8 | in the Software without restriction, including without limitation the rights 9 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 10 | copies of the Software, and to permit persons to whom the Software is 11 | furnished to do so, subject to the following conditions: 12 | 13 | The above copyright notice and this permission notice shall be included in 14 | all copies or substantial portions of the Software. 15 | 16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 17 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 18 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 19 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 20 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 21 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 22 | THE SOFTWARE. 23 | -------------------------------------------------------------------------------- /node_modules/raw-body/SECURITY.md: -------------------------------------------------------------------------------- 1 | # Security Policies and Procedures 2 | 3 | ## Reporting a Bug 4 | 5 | The `raw-body` team and community take all security bugs seriously. Thank you 6 | for improving the security of Express. We appreciate your efforts and 7 | responsible disclosure and will make every effort to acknowledge your 8 | contributions. 9 | 10 | Report security bugs by emailing the current owners of `raw-body`. This information 11 | can be found in the npm registry using the command `npm owner ls raw-body`. 12 | If unsure or unable to get the information from the above, open an issue 13 | in the [project issue tracker](https://github.com/stream-utils/raw-body/issues) 14 | asking for the current contact information. 15 | 16 | To ensure the timely response to your report, please ensure that the entirety 17 | of the report is contained within the email body and not solely behind a web 18 | link or an attachment. 19 | 20 | At least one owner will acknowledge your email within 48 hours, and will send a 21 | more detailed response within 48 hours indicating the next steps in handling 22 | your report. After the initial reply to your report, the owners will 23 | endeavor to keep you informed of the progress towards a fix and full 24 | announcement, and may ask for additional information or guidance. 25 | -------------------------------------------------------------------------------- /node_modules/raw-body/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "raw-body", 3 | "description": "Get and validate the raw body of a readable stream.", 4 | "version": "3.0.0", 5 | "author": "Jonathan Ong (http://jongleberry.com)", 6 | "contributors": [ 7 | "Douglas Christopher Wilson ", 8 | "Raynos " 9 | ], 10 | "license": "MIT", 11 | "repository": "stream-utils/raw-body", 12 | "dependencies": { 13 | "bytes": "3.1.2", 14 | "http-errors": "2.0.0", 15 | "iconv-lite": "0.6.3", 16 | "unpipe": "1.0.0" 17 | }, 18 | "devDependencies": { 19 | "bluebird": "3.7.2", 20 | "eslint": "8.57.0", 21 | "eslint-config-standard": "15.0.1", 22 | "eslint-plugin-import": "2.29.1", 23 | "eslint-plugin-markdown": "3.0.0", 24 | "eslint-plugin-node": "11.1.0", 25 | "eslint-plugin-promise": "6.6.0", 26 | "eslint-plugin-standard": "4.1.0", 27 | "mocha": "10.7.0", 28 | "nyc": "17.0.0", 29 | "readable-stream": "2.3.7", 30 | "safe-buffer": "5.2.1" 31 | }, 32 | "engines": { 33 | "node": ">= 0.8" 34 | }, 35 | "files": [ 36 | "HISTORY.md", 37 | "LICENSE", 38 | "README.md", 39 | "SECURITY.md", 40 | "index.d.ts", 41 | "index.js" 42 | ], 43 | "scripts": { 44 | "lint": "eslint .", 45 | "test": "mocha --trace-deprecation --reporter spec --bail --check-leaks test/", 46 | "test-ci": "nyc --reporter=lcovonly --reporter=text npm test", 47 | "test-cov": "nyc --reporter=html --reporter=text npm test", 48 | "version": "node scripts/version-history.js && git add HISTORY.md" 49 | } 50 | } 51 | -------------------------------------------------------------------------------- /node_modules/safer-buffer/LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2018 Nikita Skovoroda 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /node_modules/safer-buffer/dangerous.js: -------------------------------------------------------------------------------- 1 | /* eslint-disable node/no-deprecated-api */ 2 | 3 | 'use strict' 4 | 5 | var buffer = require('buffer') 6 | var Buffer = buffer.Buffer 7 | var safer = require('./safer.js') 8 | var Safer = safer.Buffer 9 | 10 | var dangerous = {} 11 | 12 | var key 13 | 14 | for (key in safer) { 15 | if (!safer.hasOwnProperty(key)) continue 16 | dangerous[key] = safer[key] 17 | } 18 | 19 | var Dangereous = dangerous.Buffer = {} 20 | 21 | // Copy Safer API 22 | for (key in Safer) { 23 | if (!Safer.hasOwnProperty(key)) continue 24 | Dangereous[key] = Safer[key] 25 | } 26 | 27 | // Copy those missing unsafe methods, if they are present 28 | for (key in Buffer) { 29 | if (!Buffer.hasOwnProperty(key)) continue 30 | if (Dangereous.hasOwnProperty(key)) continue 31 | Dangereous[key] = Buffer[key] 32 | } 33 | 34 | if (!Dangereous.allocUnsafe) { 35 | Dangereous.allocUnsafe = function (size) { 36 | if (typeof size !== 'number') { 37 | throw new TypeError('The "size" argument must be of type number. Received type ' + typeof size) 38 | } 39 | if (size < 0 || size >= 2 * (1 << 30)) { 40 | throw new RangeError('The value "' + size + '" is invalid for option "size"') 41 | } 42 | return Buffer(size) 43 | } 44 | } 45 | 46 | if (!Dangereous.allocUnsafeSlow) { 47 | Dangereous.allocUnsafeSlow = function (size) { 48 | if (typeof size !== 'number') { 49 | throw new TypeError('The "size" argument must be of type number. Received type ' + typeof size) 50 | } 51 | if (size < 0 || size >= 2 * (1 << 30)) { 52 | throw new RangeError('The value "' + size + '" is invalid for option "size"') 53 | } 54 | return buffer.SlowBuffer(size) 55 | } 56 | } 57 | 58 | module.exports = dangerous 59 | -------------------------------------------------------------------------------- /node_modules/safer-buffer/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "safer-buffer", 3 | "version": "2.1.2", 4 | "description": "Modern Buffer API polyfill without footguns", 5 | "main": "safer.js", 6 | "scripts": { 7 | "browserify-test": "browserify --external tape tests.js > browserify-tests.js && tape browserify-tests.js", 8 | "test": "standard && tape tests.js" 9 | }, 10 | "author": { 11 | "name": "Nikita Skovoroda", 12 | "email": "chalkerx@gmail.com", 13 | "url": "https://github.com/ChALkeR" 14 | }, 15 | "license": "MIT", 16 | "repository": { 17 | "type": "git", 18 | "url": "git+https://github.com/ChALkeR/safer-buffer.git" 19 | }, 20 | "bugs": { 21 | "url": "https://github.com/ChALkeR/safer-buffer/issues" 22 | }, 23 | "devDependencies": { 24 | "standard": "^11.0.1", 25 | "tape": "^4.9.0" 26 | }, 27 | "files": [ 28 | "Porting-Buffer.md", 29 | "Readme.md", 30 | "tests.js", 31 | "dangerous.js", 32 | "safer.js" 33 | ] 34 | } 35 | -------------------------------------------------------------------------------- /node_modules/setprototypeof/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2015, Wes Todd 2 | 3 | Permission to use, copy, modify, and/or distribute this software for any 4 | purpose with or without fee is hereby granted, provided that the above 5 | copyright notice and this permission notice appear in all copies. 6 | 7 | THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 8 | WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 9 | MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY 10 | SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 11 | WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION 12 | OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN 13 | CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 14 | -------------------------------------------------------------------------------- /node_modules/setprototypeof/README.md: -------------------------------------------------------------------------------- 1 | # Polyfill for `Object.setPrototypeOf` 2 | 3 | [![NPM Version](https://img.shields.io/npm/v/setprototypeof.svg)](https://npmjs.org/package/setprototypeof) 4 | [![NPM Downloads](https://img.shields.io/npm/dm/setprototypeof.svg)](https://npmjs.org/package/setprototypeof) 5 | [![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg)](https://github.com/standard/standard) 6 | 7 | A simple cross platform implementation to set the prototype of an instianted object. Supports all modern browsers and at least back to IE8. 8 | 9 | ## Usage: 10 | 11 | ``` 12 | $ npm install --save setprototypeof 13 | ``` 14 | 15 | ```javascript 16 | var setPrototypeOf = require('setprototypeof') 17 | 18 | var obj = {} 19 | setPrototypeOf(obj, { 20 | foo: function () { 21 | return 'bar' 22 | } 23 | }) 24 | obj.foo() // bar 25 | ``` 26 | 27 | TypeScript is also supported: 28 | 29 | ```typescript 30 | import setPrototypeOf from 'setprototypeof' 31 | ``` 32 | -------------------------------------------------------------------------------- /node_modules/setprototypeof/index.d.ts: -------------------------------------------------------------------------------- 1 | declare function setPrototypeOf(o: any, proto: object | null): any; 2 | export = setPrototypeOf; 3 | -------------------------------------------------------------------------------- /node_modules/setprototypeof/index.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | /* eslint no-proto: 0 */ 3 | module.exports = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array ? setProtoOf : mixinProperties) 4 | 5 | function setProtoOf (obj, proto) { 6 | obj.__proto__ = proto 7 | return obj 8 | } 9 | 10 | function mixinProperties (obj, proto) { 11 | for (var prop in proto) { 12 | if (!Object.prototype.hasOwnProperty.call(obj, prop)) { 13 | obj[prop] = proto[prop] 14 | } 15 | } 16 | return obj 17 | } 18 | -------------------------------------------------------------------------------- /node_modules/setprototypeof/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "setprototypeof", 3 | "version": "1.2.0", 4 | "description": "A small polyfill for Object.setprototypeof", 5 | "main": "index.js", 6 | "typings": "index.d.ts", 7 | "scripts": { 8 | "test": "standard && mocha", 9 | "testallversions": "npm run node010 && npm run node4 && npm run node6 && npm run node9 && npm run node11", 10 | "testversion": "docker run -it --rm -v $(PWD):/usr/src/app -w /usr/src/app node:${NODE_VER} npm install mocha@${MOCHA_VER:-latest} && npm t", 11 | "node010": "NODE_VER=0.10 MOCHA_VER=3 npm run testversion", 12 | "node4": "NODE_VER=4 npm run testversion", 13 | "node6": "NODE_VER=6 npm run testversion", 14 | "node9": "NODE_VER=9 npm run testversion", 15 | "node11": "NODE_VER=11 npm run testversion", 16 | "prepublishOnly": "npm t", 17 | "postpublish": "git push origin && git push origin --tags" 18 | }, 19 | "repository": { 20 | "type": "git", 21 | "url": "https://github.com/wesleytodd/setprototypeof.git" 22 | }, 23 | "keywords": [ 24 | "polyfill", 25 | "object", 26 | "setprototypeof" 27 | ], 28 | "author": "Wes Todd", 29 | "license": "ISC", 30 | "bugs": { 31 | "url": "https://github.com/wesleytodd/setprototypeof/issues" 32 | }, 33 | "homepage": "https://github.com/wesleytodd/setprototypeof", 34 | "devDependencies": { 35 | "mocha": "^6.1.4", 36 | "standard": "^13.0.2" 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /node_modules/setprototypeof/test/index.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | /* eslint-env mocha */ 3 | /* eslint no-proto: 0 */ 4 | var assert = require('assert') 5 | var setPrototypeOf = require('..') 6 | 7 | describe('setProtoOf(obj, proto)', function () { 8 | it('should merge objects', function () { 9 | var obj = { a: 1, b: 2 } 10 | var proto = { b: 3, c: 4 } 11 | var mergeObj = setPrototypeOf(obj, proto) 12 | 13 | if (Object.getPrototypeOf) { 14 | assert.strictEqual(Object.getPrototypeOf(obj), proto) 15 | } else if ({ __proto__: [] } instanceof Array) { 16 | assert.strictEqual(obj.__proto__, proto) 17 | } else { 18 | assert.strictEqual(obj.a, 1) 19 | assert.strictEqual(obj.b, 2) 20 | assert.strictEqual(obj.c, 4) 21 | } 22 | assert.strictEqual(mergeObj, obj) 23 | }) 24 | }) 25 | -------------------------------------------------------------------------------- /node_modules/statuses/LICENSE: -------------------------------------------------------------------------------- 1 | 2 | The MIT License (MIT) 3 | 4 | Copyright (c) 2014 Jonathan Ong 5 | Copyright (c) 2016 Douglas Christopher Wilson 6 | 7 | Permission is hereby granted, free of charge, to any person obtaining a copy 8 | of this software and associated documentation files (the "Software"), to deal 9 | in the Software without restriction, including without limitation the rights 10 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 11 | copies of the Software, and to permit persons to whom the Software is 12 | furnished to do so, subject to the following conditions: 13 | 14 | The above copyright notice and this permission notice shall be included in 15 | all copies or substantial portions of the Software. 16 | 17 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 18 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 19 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 20 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 21 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 22 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 23 | THE SOFTWARE. 24 | -------------------------------------------------------------------------------- /node_modules/statuses/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "statuses", 3 | "description": "HTTP status utility", 4 | "version": "2.0.1", 5 | "contributors": [ 6 | "Douglas Christopher Wilson ", 7 | "Jonathan Ong (http://jongleberry.com)" 8 | ], 9 | "repository": "jshttp/statuses", 10 | "license": "MIT", 11 | "keywords": [ 12 | "http", 13 | "status", 14 | "code" 15 | ], 16 | "files": [ 17 | "HISTORY.md", 18 | "index.js", 19 | "codes.json", 20 | "LICENSE" 21 | ], 22 | "devDependencies": { 23 | "csv-parse": "4.14.2", 24 | "eslint": "7.17.0", 25 | "eslint-config-standard": "14.1.1", 26 | "eslint-plugin-import": "2.22.1", 27 | "eslint-plugin-markdown": "1.0.2", 28 | "eslint-plugin-node": "11.1.0", 29 | "eslint-plugin-promise": "4.2.1", 30 | "eslint-plugin-standard": "4.1.0", 31 | "mocha": "8.2.1", 32 | "nyc": "15.1.0", 33 | "raw-body": "2.4.1", 34 | "stream-to-array": "2.3.0" 35 | }, 36 | "engines": { 37 | "node": ">= 0.8" 38 | }, 39 | "scripts": { 40 | "build": "node scripts/build.js", 41 | "fetch": "node scripts/fetch-apache.js && node scripts/fetch-iana.js && node scripts/fetch-nginx.js && node scripts/fetch-node.js", 42 | "lint": "eslint --plugin markdown --ext js,md .", 43 | "test": "mocha --reporter spec --check-leaks --bail test/", 44 | "test-ci": "nyc --reporter=lcov --reporter=text npm test", 45 | "test-cov": "nyc --reporter=html --reporter=text npm test", 46 | "update": "npm run fetch && npm run build", 47 | "version": "node scripts/version-history.js && git add HISTORY.md" 48 | } 49 | } 50 | -------------------------------------------------------------------------------- /node_modules/toidentifier/HISTORY.md: -------------------------------------------------------------------------------- 1 | 1.0.1 / 2021-11-14 2 | ================== 3 | 4 | * pref: enable strict mode 5 | 6 | 1.0.0 / 2018-07-09 7 | ================== 8 | 9 | * Initial release 10 | -------------------------------------------------------------------------------- /node_modules/toidentifier/LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2016 Douglas Christopher Wilson 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /node_modules/toidentifier/index.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * toidentifier 3 | * Copyright(c) 2016 Douglas Christopher Wilson 4 | * MIT Licensed 5 | */ 6 | 7 | 'use strict' 8 | 9 | /** 10 | * Module exports. 11 | * @public 12 | */ 13 | 14 | module.exports = toIdentifier 15 | 16 | /** 17 | * Trasform the given string into a JavaScript identifier 18 | * 19 | * @param {string} str 20 | * @returns {string} 21 | * @public 22 | */ 23 | 24 | function toIdentifier (str) { 25 | return str 26 | .split(' ') 27 | .map(function (token) { 28 | return token.slice(0, 1).toUpperCase() + token.slice(1) 29 | }) 30 | .join('') 31 | .replace(/[^ _0-9a-z]/gi, '') 32 | } 33 | -------------------------------------------------------------------------------- /node_modules/toidentifier/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "toidentifier", 3 | "description": "Convert a string of words to a JavaScript identifier", 4 | "version": "1.0.1", 5 | "author": "Douglas Christopher Wilson ", 6 | "contributors": [ 7 | "Douglas Christopher Wilson ", 8 | "Nick Baugh (http://niftylettuce.com/)" 9 | ], 10 | "repository": "component/toidentifier", 11 | "devDependencies": { 12 | "eslint": "7.32.0", 13 | "eslint-config-standard": "14.1.1", 14 | "eslint-plugin-import": "2.25.3", 15 | "eslint-plugin-markdown": "2.2.1", 16 | "eslint-plugin-node": "11.1.0", 17 | "eslint-plugin-promise": "4.3.1", 18 | "eslint-plugin-standard": "4.1.0", 19 | "mocha": "9.1.3", 20 | "nyc": "15.1.0" 21 | }, 22 | "engines": { 23 | "node": ">=0.6" 24 | }, 25 | "license": "MIT", 26 | "files": [ 27 | "HISTORY.md", 28 | "LICENSE", 29 | "index.js" 30 | ], 31 | "scripts": { 32 | "lint": "eslint .", 33 | "test": "mocha --reporter spec --bail --check-leaks test/", 34 | "test-ci": "nyc --reporter=lcov --reporter=text npm test", 35 | "test-cov": "nyc --reporter=html --reporter=text npm test", 36 | "version": "node scripts/version-history.js && git add HISTORY.md" 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /node_modules/typescript/bin/tsc: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | require('../lib/tsc.js') 3 | -------------------------------------------------------------------------------- /node_modules/typescript/bin/tsserver: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | require('../lib/tsserver.js') 3 | -------------------------------------------------------------------------------- /node_modules/typescript/lib/lib.d.ts: -------------------------------------------------------------------------------- 1 | /*! ***************************************************************************** 2 | Copyright (c) Microsoft Corporation. All rights reserved. 3 | Licensed under the Apache License, Version 2.0 (the "License"); you may not use 4 | this file except in compliance with the License. You may obtain a copy of the 5 | License at http://www.apache.org/licenses/LICENSE-2.0 6 | 7 | THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 8 | KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED 9 | WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, 10 | MERCHANTABLITY OR NON-INFRINGEMENT. 11 | 12 | See the Apache Version 2.0 License for specific language governing permissions 13 | and limitations under the License. 14 | ***************************************************************************** */ 15 | 16 | 17 | /// 18 | 19 | /// 20 | /// 21 | /// 22 | /// 23 | -------------------------------------------------------------------------------- /node_modules/typescript/lib/lib.decorators.legacy.d.ts: -------------------------------------------------------------------------------- 1 | /*! ***************************************************************************** 2 | Copyright (c) Microsoft Corporation. All rights reserved. 3 | Licensed under the Apache License, Version 2.0 (the "License"); you may not use 4 | this file except in compliance with the License. You may obtain a copy of the 5 | License at http://www.apache.org/licenses/LICENSE-2.0 6 | 7 | THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 8 | KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED 9 | WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, 10 | MERCHANTABLITY OR NON-INFRINGEMENT. 11 | 12 | See the Apache Version 2.0 License for specific language governing permissions 13 | and limitations under the License. 14 | ***************************************************************************** */ 15 | 16 | 17 | /// 18 | 19 | declare type ClassDecorator = (target: TFunction) => TFunction | void; 20 | declare type PropertyDecorator = (target: Object, propertyKey: string | symbol) => void; 21 | declare type MethodDecorator = (target: Object, propertyKey: string | symbol, descriptor: TypedPropertyDescriptor) => TypedPropertyDescriptor | void; 22 | declare type ParameterDecorator = (target: Object, propertyKey: string | symbol | undefined, parameterIndex: number) => void; 23 | -------------------------------------------------------------------------------- /node_modules/typescript/lib/lib.es2015.d.ts: -------------------------------------------------------------------------------- 1 | /*! ***************************************************************************** 2 | Copyright (c) Microsoft Corporation. All rights reserved. 3 | Licensed under the Apache License, Version 2.0 (the "License"); you may not use 4 | this file except in compliance with the License. You may obtain a copy of the 5 | License at http://www.apache.org/licenses/LICENSE-2.0 6 | 7 | THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 8 | KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED 9 | WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, 10 | MERCHANTABLITY OR NON-INFRINGEMENT. 11 | 12 | See the Apache Version 2.0 License for specific language governing permissions 13 | and limitations under the License. 14 | ***************************************************************************** */ 15 | 16 | 17 | /// 18 | 19 | /// 20 | /// 21 | /// 22 | /// 23 | /// 24 | /// 25 | /// 26 | /// 27 | /// 28 | /// 29 | -------------------------------------------------------------------------------- /node_modules/typescript/lib/lib.es2015.symbol.d.ts: -------------------------------------------------------------------------------- 1 | /*! ***************************************************************************** 2 | Copyright (c) Microsoft Corporation. All rights reserved. 3 | Licensed under the Apache License, Version 2.0 (the "License"); you may not use 4 | this file except in compliance with the License. You may obtain a copy of the 5 | License at http://www.apache.org/licenses/LICENSE-2.0 6 | 7 | THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 8 | KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED 9 | WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, 10 | MERCHANTABLITY OR NON-INFRINGEMENT. 11 | 12 | See the Apache Version 2.0 License for specific language governing permissions 13 | and limitations under the License. 14 | ***************************************************************************** */ 15 | 16 | 17 | /// 18 | 19 | interface SymbolConstructor { 20 | /** 21 | * A reference to the prototype. 22 | */ 23 | readonly prototype: Symbol; 24 | 25 | /** 26 | * Returns a new unique Symbol value. 27 | * @param description Description of the new Symbol object. 28 | */ 29 | (description?: string | number): symbol; 30 | 31 | /** 32 | * Returns a Symbol object from the global symbol registry matching the given key if found. 33 | * Otherwise, returns a new symbol with this key. 34 | * @param key key to search for. 35 | */ 36 | for(key: string): symbol; 37 | 38 | /** 39 | * Returns a key from the global symbol registry matching the given Symbol if found. 40 | * Otherwise, returns a undefined. 41 | * @param sym Symbol to find the key for. 42 | */ 43 | keyFor(sym: symbol): string | undefined; 44 | } 45 | 46 | declare var Symbol: SymbolConstructor; 47 | -------------------------------------------------------------------------------- /node_modules/typescript/lib/lib.es2016.d.ts: -------------------------------------------------------------------------------- 1 | /*! ***************************************************************************** 2 | Copyright (c) Microsoft Corporation. All rights reserved. 3 | Licensed under the Apache License, Version 2.0 (the "License"); you may not use 4 | this file except in compliance with the License. You may obtain a copy of the 5 | License at http://www.apache.org/licenses/LICENSE-2.0 6 | 7 | THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 8 | KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED 9 | WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, 10 | MERCHANTABLITY OR NON-INFRINGEMENT. 11 | 12 | See the Apache Version 2.0 License for specific language governing permissions 13 | and limitations under the License. 14 | ***************************************************************************** */ 15 | 16 | 17 | /// 18 | 19 | /// 20 | /// 21 | /// 22 | -------------------------------------------------------------------------------- /node_modules/typescript/lib/lib.es2016.full.d.ts: -------------------------------------------------------------------------------- 1 | /*! ***************************************************************************** 2 | Copyright (c) Microsoft Corporation. All rights reserved. 3 | Licensed under the Apache License, Version 2.0 (the "License"); you may not use 4 | this file except in compliance with the License. You may obtain a copy of the 5 | License at http://www.apache.org/licenses/LICENSE-2.0 6 | 7 | THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 8 | KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED 9 | WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, 10 | MERCHANTABLITY OR NON-INFRINGEMENT. 11 | 12 | See the Apache Version 2.0 License for specific language governing permissions 13 | and limitations under the License. 14 | ***************************************************************************** */ 15 | 16 | 17 | /// 18 | 19 | /// 20 | /// 21 | /// 22 | /// 23 | /// 24 | -------------------------------------------------------------------------------- /node_modules/typescript/lib/lib.es2016.intl.d.ts: -------------------------------------------------------------------------------- 1 | /*! ***************************************************************************** 2 | Copyright (c) Microsoft Corporation. All rights reserved. 3 | Licensed under the Apache License, Version 2.0 (the "License"); you may not use 4 | this file except in compliance with the License. You may obtain a copy of the 5 | License at http://www.apache.org/licenses/LICENSE-2.0 6 | 7 | THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 8 | KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED 9 | WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, 10 | MERCHANTABLITY OR NON-INFRINGEMENT. 11 | 12 | See the Apache Version 2.0 License for specific language governing permissions 13 | and limitations under the License. 14 | ***************************************************************************** */ 15 | 16 | 17 | /// 18 | 19 | declare namespace Intl { 20 | /** 21 | * The `Intl.getCanonicalLocales()` method returns an array containing 22 | * the canonical locale names. Duplicates will be omitted and elements 23 | * will be validated as structurally valid language tags. 24 | * 25 | * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/getCanonicalLocales) 26 | * 27 | * @param locale A list of String values for which to get the canonical locale names 28 | * @returns An array containing the canonical and validated locale names. 29 | */ 30 | function getCanonicalLocales(locale?: string | readonly string[]): string[]; 31 | } 32 | -------------------------------------------------------------------------------- /node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts: -------------------------------------------------------------------------------- 1 | /*! ***************************************************************************** 2 | Copyright (c) Microsoft Corporation. All rights reserved. 3 | Licensed under the Apache License, Version 2.0 (the "License"); you may not use 4 | this file except in compliance with the License. You may obtain a copy of the 5 | License at http://www.apache.org/licenses/LICENSE-2.0 6 | 7 | THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 8 | KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED 9 | WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, 10 | MERCHANTABLITY OR NON-INFRINGEMENT. 11 | 12 | See the Apache Version 2.0 License for specific language governing permissions 13 | and limitations under the License. 14 | ***************************************************************************** */ 15 | 16 | 17 | /// 18 | 19 | interface ArrayBufferConstructor { 20 | new (): ArrayBuffer; 21 | } 22 | -------------------------------------------------------------------------------- /node_modules/typescript/lib/lib.es2017.d.ts: -------------------------------------------------------------------------------- 1 | /*! ***************************************************************************** 2 | Copyright (c) Microsoft Corporation. All rights reserved. 3 | Licensed under the Apache License, Version 2.0 (the "License"); you may not use 4 | this file except in compliance with the License. You may obtain a copy of the 5 | License at http://www.apache.org/licenses/LICENSE-2.0 6 | 7 | THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 8 | KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED 9 | WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, 10 | MERCHANTABLITY OR NON-INFRINGEMENT. 11 | 12 | See the Apache Version 2.0 License for specific language governing permissions 13 | and limitations under the License. 14 | ***************************************************************************** */ 15 | 16 | 17 | /// 18 | 19 | /// 20 | /// 21 | /// 22 | /// 23 | /// 24 | /// 25 | /// 26 | /// 27 | -------------------------------------------------------------------------------- /node_modules/typescript/lib/lib.es2017.full.d.ts: -------------------------------------------------------------------------------- 1 | /*! ***************************************************************************** 2 | Copyright (c) Microsoft Corporation. All rights reserved. 3 | Licensed under the Apache License, Version 2.0 (the "License"); you may not use 4 | this file except in compliance with the License. You may obtain a copy of the 5 | License at http://www.apache.org/licenses/LICENSE-2.0 6 | 7 | THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 8 | KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED 9 | WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, 10 | MERCHANTABLITY OR NON-INFRINGEMENT. 11 | 12 | See the Apache Version 2.0 License for specific language governing permissions 13 | and limitations under the License. 14 | ***************************************************************************** */ 15 | 16 | 17 | /// 18 | 19 | /// 20 | /// 21 | /// 22 | /// 23 | /// 24 | -------------------------------------------------------------------------------- /node_modules/typescript/lib/lib.es2017.intl.d.ts: -------------------------------------------------------------------------------- 1 | /*! ***************************************************************************** 2 | Copyright (c) Microsoft Corporation. All rights reserved. 3 | Licensed under the Apache License, Version 2.0 (the "License"); you may not use 4 | this file except in compliance with the License. You may obtain a copy of the 5 | License at http://www.apache.org/licenses/LICENSE-2.0 6 | 7 | THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 8 | KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED 9 | WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, 10 | MERCHANTABLITY OR NON-INFRINGEMENT. 11 | 12 | See the Apache Version 2.0 License for specific language governing permissions 13 | and limitations under the License. 14 | ***************************************************************************** */ 15 | 16 | 17 | /// 18 | 19 | declare namespace Intl { 20 | interface DateTimeFormatPartTypesRegistry { 21 | day: any; 22 | dayPeriod: any; 23 | era: any; 24 | hour: any; 25 | literal: any; 26 | minute: any; 27 | month: any; 28 | second: any; 29 | timeZoneName: any; 30 | weekday: any; 31 | year: any; 32 | } 33 | 34 | type DateTimeFormatPartTypes = keyof DateTimeFormatPartTypesRegistry; 35 | 36 | interface DateTimeFormatPart { 37 | type: DateTimeFormatPartTypes; 38 | value: string; 39 | } 40 | 41 | interface DateTimeFormat { 42 | formatToParts(date?: Date | number): DateTimeFormatPart[]; 43 | } 44 | } 45 | -------------------------------------------------------------------------------- /node_modules/typescript/lib/lib.es2017.typedarrays.d.ts: -------------------------------------------------------------------------------- 1 | /*! ***************************************************************************** 2 | Copyright (c) Microsoft Corporation. All rights reserved. 3 | Licensed under the Apache License, Version 2.0 (the "License"); you may not use 4 | this file except in compliance with the License. You may obtain a copy of the 5 | License at http://www.apache.org/licenses/LICENSE-2.0 6 | 7 | THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 8 | KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED 9 | WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, 10 | MERCHANTABLITY OR NON-INFRINGEMENT. 11 | 12 | See the Apache Version 2.0 License for specific language governing permissions 13 | and limitations under the License. 14 | ***************************************************************************** */ 15 | 16 | 17 | /// 18 | 19 | interface Int8ArrayConstructor { 20 | new (): Int8Array; 21 | } 22 | 23 | interface Uint8ArrayConstructor { 24 | new (): Uint8Array; 25 | } 26 | 27 | interface Uint8ClampedArrayConstructor { 28 | new (): Uint8ClampedArray; 29 | } 30 | 31 | interface Int16ArrayConstructor { 32 | new (): Int16Array; 33 | } 34 | 35 | interface Uint16ArrayConstructor { 36 | new (): Uint16Array; 37 | } 38 | 39 | interface Int32ArrayConstructor { 40 | new (): Int32Array; 41 | } 42 | 43 | interface Uint32ArrayConstructor { 44 | new (): Uint32Array; 45 | } 46 | 47 | interface Float32ArrayConstructor { 48 | new (): Float32Array; 49 | } 50 | 51 | interface Float64ArrayConstructor { 52 | new (): Float64Array; 53 | } 54 | -------------------------------------------------------------------------------- /node_modules/typescript/lib/lib.es2018.d.ts: -------------------------------------------------------------------------------- 1 | /*! ***************************************************************************** 2 | Copyright (c) Microsoft Corporation. All rights reserved. 3 | Licensed under the Apache License, Version 2.0 (the "License"); you may not use 4 | this file except in compliance with the License. You may obtain a copy of the 5 | License at http://www.apache.org/licenses/LICENSE-2.0 6 | 7 | THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 8 | KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED 9 | WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, 10 | MERCHANTABLITY OR NON-INFRINGEMENT. 11 | 12 | See the Apache Version 2.0 License for specific language governing permissions 13 | and limitations under the License. 14 | ***************************************************************************** */ 15 | 16 | 17 | /// 18 | 19 | /// 20 | /// 21 | /// 22 | /// 23 | /// 24 | /// 25 | -------------------------------------------------------------------------------- /node_modules/typescript/lib/lib.es2018.full.d.ts: -------------------------------------------------------------------------------- 1 | /*! ***************************************************************************** 2 | Copyright (c) Microsoft Corporation. All rights reserved. 3 | Licensed under the Apache License, Version 2.0 (the "License"); you may not use 4 | this file except in compliance with the License. You may obtain a copy of the 5 | License at http://www.apache.org/licenses/LICENSE-2.0 6 | 7 | THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 8 | KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED 9 | WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, 10 | MERCHANTABLITY OR NON-INFRINGEMENT. 11 | 12 | See the Apache Version 2.0 License for specific language governing permissions 13 | and limitations under the License. 14 | ***************************************************************************** */ 15 | 16 | 17 | /// 18 | 19 | /// 20 | /// 21 | /// 22 | /// 23 | /// 24 | /// 25 | -------------------------------------------------------------------------------- /node_modules/typescript/lib/lib.es2018.promise.d.ts: -------------------------------------------------------------------------------- 1 | /*! ***************************************************************************** 2 | Copyright (c) Microsoft Corporation. All rights reserved. 3 | Licensed under the Apache License, Version 2.0 (the "License"); you may not use 4 | this file except in compliance with the License. You may obtain a copy of the 5 | License at http://www.apache.org/licenses/LICENSE-2.0 6 | 7 | THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 8 | KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED 9 | WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, 10 | MERCHANTABLITY OR NON-INFRINGEMENT. 11 | 12 | See the Apache Version 2.0 License for specific language governing permissions 13 | and limitations under the License. 14 | ***************************************************************************** */ 15 | 16 | 17 | /// 18 | 19 | /** 20 | * Represents the completion of an asynchronous operation 21 | */ 22 | interface Promise { 23 | /** 24 | * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The 25 | * resolved value cannot be modified from the callback. 26 | * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). 27 | * @returns A Promise for the completion of the callback. 28 | */ 29 | finally(onfinally?: (() => void) | undefined | null): Promise; 30 | } 31 | -------------------------------------------------------------------------------- /node_modules/typescript/lib/lib.es2018.regexp.d.ts: -------------------------------------------------------------------------------- 1 | /*! ***************************************************************************** 2 | Copyright (c) Microsoft Corporation. All rights reserved. 3 | Licensed under the Apache License, Version 2.0 (the "License"); you may not use 4 | this file except in compliance with the License. You may obtain a copy of the 5 | License at http://www.apache.org/licenses/LICENSE-2.0 6 | 7 | THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 8 | KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED 9 | WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, 10 | MERCHANTABLITY OR NON-INFRINGEMENT. 11 | 12 | See the Apache Version 2.0 License for specific language governing permissions 13 | and limitations under the License. 14 | ***************************************************************************** */ 15 | 16 | 17 | /// 18 | 19 | interface RegExpMatchArray { 20 | groups?: { 21 | [key: string]: string; 22 | }; 23 | } 24 | 25 | interface RegExpExecArray { 26 | groups?: { 27 | [key: string]: string; 28 | }; 29 | } 30 | 31 | interface RegExp { 32 | /** 33 | * Returns a Boolean value indicating the state of the dotAll flag (s) used with a regular expression. 34 | * Default is false. Read-only. 35 | */ 36 | readonly dotAll: boolean; 37 | } 38 | -------------------------------------------------------------------------------- /node_modules/typescript/lib/lib.es2019.d.ts: -------------------------------------------------------------------------------- 1 | /*! ***************************************************************************** 2 | Copyright (c) Microsoft Corporation. All rights reserved. 3 | Licensed under the Apache License, Version 2.0 (the "License"); you may not use 4 | this file except in compliance with the License. You may obtain a copy of the 5 | License at http://www.apache.org/licenses/LICENSE-2.0 6 | 7 | THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 8 | KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED 9 | WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, 10 | MERCHANTABLITY OR NON-INFRINGEMENT. 11 | 12 | See the Apache Version 2.0 License for specific language governing permissions 13 | and limitations under the License. 14 | ***************************************************************************** */ 15 | 16 | 17 | /// 18 | 19 | /// 20 | /// 21 | /// 22 | /// 23 | /// 24 | /// 25 | -------------------------------------------------------------------------------- /node_modules/typescript/lib/lib.es2019.full.d.ts: -------------------------------------------------------------------------------- 1 | /*! ***************************************************************************** 2 | Copyright (c) Microsoft Corporation. All rights reserved. 3 | Licensed under the Apache License, Version 2.0 (the "License"); you may not use 4 | this file except in compliance with the License. You may obtain a copy of the 5 | License at http://www.apache.org/licenses/LICENSE-2.0 6 | 7 | THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 8 | KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED 9 | WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, 10 | MERCHANTABLITY OR NON-INFRINGEMENT. 11 | 12 | See the Apache Version 2.0 License for specific language governing permissions 13 | and limitations under the License. 14 | ***************************************************************************** */ 15 | 16 | 17 | /// 18 | 19 | /// 20 | /// 21 | /// 22 | /// 23 | /// 24 | /// 25 | -------------------------------------------------------------------------------- /node_modules/typescript/lib/lib.es2019.intl.d.ts: -------------------------------------------------------------------------------- 1 | /*! ***************************************************************************** 2 | Copyright (c) Microsoft Corporation. All rights reserved. 3 | Licensed under the Apache License, Version 2.0 (the "License"); you may not use 4 | this file except in compliance with the License. You may obtain a copy of the 5 | License at http://www.apache.org/licenses/LICENSE-2.0 6 | 7 | THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 8 | KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED 9 | WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, 10 | MERCHANTABLITY OR NON-INFRINGEMENT. 11 | 12 | See the Apache Version 2.0 License for specific language governing permissions 13 | and limitations under the License. 14 | ***************************************************************************** */ 15 | 16 | 17 | /// 18 | 19 | declare namespace Intl { 20 | interface DateTimeFormatPartTypesRegistry { 21 | unknown: never; 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /node_modules/typescript/lib/lib.es2019.object.d.ts: -------------------------------------------------------------------------------- 1 | /*! ***************************************************************************** 2 | Copyright (c) Microsoft Corporation. All rights reserved. 3 | Licensed under the Apache License, Version 2.0 (the "License"); you may not use 4 | this file except in compliance with the License. You may obtain a copy of the 5 | License at http://www.apache.org/licenses/LICENSE-2.0 6 | 7 | THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 8 | KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED 9 | WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, 10 | MERCHANTABLITY OR NON-INFRINGEMENT. 11 | 12 | See the Apache Version 2.0 License for specific language governing permissions 13 | and limitations under the License. 14 | ***************************************************************************** */ 15 | 16 | 17 | /// 18 | 19 | /// 20 | 21 | interface ObjectConstructor { 22 | /** 23 | * Returns an object created by key-value entries for properties and methods 24 | * @param entries An iterable object that contains key-value entries for properties and methods. 25 | */ 26 | fromEntries(entries: Iterable): { [k: string]: T; }; 27 | 28 | /** 29 | * Returns an object created by key-value entries for properties and methods 30 | * @param entries An iterable object that contains key-value entries for properties and methods. 31 | */ 32 | fromEntries(entries: Iterable): any; 33 | } 34 | -------------------------------------------------------------------------------- /node_modules/typescript/lib/lib.es2019.string.d.ts: -------------------------------------------------------------------------------- 1 | /*! ***************************************************************************** 2 | Copyright (c) Microsoft Corporation. All rights reserved. 3 | Licensed under the Apache License, Version 2.0 (the "License"); you may not use 4 | this file except in compliance with the License. You may obtain a copy of the 5 | License at http://www.apache.org/licenses/LICENSE-2.0 6 | 7 | THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 8 | KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED 9 | WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, 10 | MERCHANTABLITY OR NON-INFRINGEMENT. 11 | 12 | See the Apache Version 2.0 License for specific language governing permissions 13 | and limitations under the License. 14 | ***************************************************************************** */ 15 | 16 | 17 | /// 18 | 19 | interface String { 20 | /** Removes the trailing white space and line terminator characters from a string. */ 21 | trimEnd(): string; 22 | 23 | /** Removes the leading white space and line terminator characters from a string. */ 24 | trimStart(): string; 25 | 26 | /** 27 | * Removes the leading white space and line terminator characters from a string. 28 | * @deprecated A legacy feature for browser compatibility. Use `trimStart` instead 29 | */ 30 | trimLeft(): string; 31 | 32 | /** 33 | * Removes the trailing white space and line terminator characters from a string. 34 | * @deprecated A legacy feature for browser compatibility. Use `trimEnd` instead 35 | */ 36 | trimRight(): string; 37 | } 38 | -------------------------------------------------------------------------------- /node_modules/typescript/lib/lib.es2019.symbol.d.ts: -------------------------------------------------------------------------------- 1 | /*! ***************************************************************************** 2 | Copyright (c) Microsoft Corporation. All rights reserved. 3 | Licensed under the Apache License, Version 2.0 (the "License"); you may not use 4 | this file except in compliance with the License. You may obtain a copy of the 5 | License at http://www.apache.org/licenses/LICENSE-2.0 6 | 7 | THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 8 | KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED 9 | WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, 10 | MERCHANTABLITY OR NON-INFRINGEMENT. 11 | 12 | See the Apache Version 2.0 License for specific language governing permissions 13 | and limitations under the License. 14 | ***************************************************************************** */ 15 | 16 | 17 | /// 18 | 19 | interface Symbol { 20 | /** 21 | * Expose the [[Description]] internal slot of a symbol directly. 22 | */ 23 | readonly description: string | undefined; 24 | } 25 | -------------------------------------------------------------------------------- /node_modules/typescript/lib/lib.es2020.d.ts: -------------------------------------------------------------------------------- 1 | /*! ***************************************************************************** 2 | Copyright (c) Microsoft Corporation. All rights reserved. 3 | Licensed under the Apache License, Version 2.0 (the "License"); you may not use 4 | this file except in compliance with the License. You may obtain a copy of the 5 | License at http://www.apache.org/licenses/LICENSE-2.0 6 | 7 | THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 8 | KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED 9 | WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, 10 | MERCHANTABLITY OR NON-INFRINGEMENT. 11 | 12 | See the Apache Version 2.0 License for specific language governing permissions 13 | and limitations under the License. 14 | ***************************************************************************** */ 15 | 16 | 17 | /// 18 | 19 | /// 20 | /// 21 | /// 22 | /// 23 | /// 24 | /// 25 | /// 26 | /// 27 | /// 28 | -------------------------------------------------------------------------------- /node_modules/typescript/lib/lib.es2020.full.d.ts: -------------------------------------------------------------------------------- 1 | /*! ***************************************************************************** 2 | Copyright (c) Microsoft Corporation. All rights reserved. 3 | Licensed under the Apache License, Version 2.0 (the "License"); you may not use 4 | this file except in compliance with the License. You may obtain a copy of the 5 | License at http://www.apache.org/licenses/LICENSE-2.0 6 | 7 | THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 8 | KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED 9 | WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, 10 | MERCHANTABLITY OR NON-INFRINGEMENT. 11 | 12 | See the Apache Version 2.0 License for specific language governing permissions 13 | and limitations under the License. 14 | ***************************************************************************** */ 15 | 16 | 17 | /// 18 | 19 | /// 20 | /// 21 | /// 22 | /// 23 | /// 24 | /// 25 | -------------------------------------------------------------------------------- /node_modules/typescript/lib/lib.es2020.number.d.ts: -------------------------------------------------------------------------------- 1 | /*! ***************************************************************************** 2 | Copyright (c) Microsoft Corporation. All rights reserved. 3 | Licensed under the Apache License, Version 2.0 (the "License"); you may not use 4 | this file except in compliance with the License. You may obtain a copy of the 5 | License at http://www.apache.org/licenses/LICENSE-2.0 6 | 7 | THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 8 | KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED 9 | WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, 10 | MERCHANTABLITY OR NON-INFRINGEMENT. 11 | 12 | See the Apache Version 2.0 License for specific language governing permissions 13 | and limitations under the License. 14 | ***************************************************************************** */ 15 | 16 | 17 | /// 18 | 19 | /// 20 | 21 | interface Number { 22 | /** 23 | * Converts a number to a string by using the current or specified locale. 24 | * @param locales A locale string, array of locale strings, Intl.Locale object, or array of Intl.Locale objects that contain one or more language or locale tags. If you include more than one locale string, list them in descending order of priority so that the first entry is the preferred locale. If you omit this parameter, the default locale of the JavaScript runtime is used. 25 | * @param options An object that contains one or more properties that specify comparison options. 26 | */ 27 | toLocaleString(locales?: Intl.LocalesArgument, options?: Intl.NumberFormatOptions): string; 28 | } 29 | -------------------------------------------------------------------------------- /node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts: -------------------------------------------------------------------------------- 1 | /*! ***************************************************************************** 2 | Copyright (c) Microsoft Corporation. All rights reserved. 3 | Licensed under the Apache License, Version 2.0 (the "License"); you may not use 4 | this file except in compliance with the License. You may obtain a copy of the 5 | License at http://www.apache.org/licenses/LICENSE-2.0 6 | 7 | THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 8 | KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED 9 | WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, 10 | MERCHANTABLITY OR NON-INFRINGEMENT. 11 | 12 | See the Apache Version 2.0 License for specific language governing permissions 13 | and limitations under the License. 14 | ***************************************************************************** */ 15 | 16 | 17 | /// 18 | 19 | /// 20 | /// 21 | 22 | interface SymbolConstructor { 23 | /** 24 | * A regular expression method that matches the regular expression against a string. Called 25 | * by the String.prototype.matchAll method. 26 | */ 27 | readonly matchAll: unique symbol; 28 | } 29 | 30 | interface RegExpStringIterator extends IteratorObject { 31 | [Symbol.iterator](): RegExpStringIterator; 32 | } 33 | 34 | interface RegExp { 35 | /** 36 | * Matches a string with this regular expression, and returns an iterable of matches 37 | * containing the results of that search. 38 | * @param string A string to search within. 39 | */ 40 | [Symbol.matchAll](str: string): RegExpStringIterator; 41 | } 42 | -------------------------------------------------------------------------------- /node_modules/typescript/lib/lib.es2021.d.ts: -------------------------------------------------------------------------------- 1 | /*! ***************************************************************************** 2 | Copyright (c) Microsoft Corporation. All rights reserved. 3 | Licensed under the Apache License, Version 2.0 (the "License"); you may not use 4 | this file except in compliance with the License. You may obtain a copy of the 5 | License at http://www.apache.org/licenses/LICENSE-2.0 6 | 7 | THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 8 | KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED 9 | WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, 10 | MERCHANTABLITY OR NON-INFRINGEMENT. 11 | 12 | See the Apache Version 2.0 License for specific language governing permissions 13 | and limitations under the License. 14 | ***************************************************************************** */ 15 | 16 | 17 | /// 18 | 19 | /// 20 | /// 21 | /// 22 | /// 23 | /// 24 | -------------------------------------------------------------------------------- /node_modules/typescript/lib/lib.es2021.full.d.ts: -------------------------------------------------------------------------------- 1 | /*! ***************************************************************************** 2 | Copyright (c) Microsoft Corporation. All rights reserved. 3 | Licensed under the Apache License, Version 2.0 (the "License"); you may not use 4 | this file except in compliance with the License. You may obtain a copy of the 5 | License at http://www.apache.org/licenses/LICENSE-2.0 6 | 7 | THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 8 | KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED 9 | WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, 10 | MERCHANTABLITY OR NON-INFRINGEMENT. 11 | 12 | See the Apache Version 2.0 License for specific language governing permissions 13 | and limitations under the License. 14 | ***************************************************************************** */ 15 | 16 | 17 | /// 18 | 19 | /// 20 | /// 21 | /// 22 | /// 23 | /// 24 | /// 25 | -------------------------------------------------------------------------------- /node_modules/typescript/lib/lib.es2021.string.d.ts: -------------------------------------------------------------------------------- 1 | /*! ***************************************************************************** 2 | Copyright (c) Microsoft Corporation. All rights reserved. 3 | Licensed under the Apache License, Version 2.0 (the "License"); you may not use 4 | this file except in compliance with the License. You may obtain a copy of the 5 | License at http://www.apache.org/licenses/LICENSE-2.0 6 | 7 | THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 8 | KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED 9 | WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, 10 | MERCHANTABLITY OR NON-INFRINGEMENT. 11 | 12 | See the Apache Version 2.0 License for specific language governing permissions 13 | and limitations under the License. 14 | ***************************************************************************** */ 15 | 16 | 17 | /// 18 | 19 | interface String { 20 | /** 21 | * Replace all instances of a substring in a string, using a regular expression or search string. 22 | * @param searchValue A string to search for. 23 | * @param replaceValue A string containing the text to replace for every successful match of searchValue in this string. 24 | */ 25 | replaceAll(searchValue: string | RegExp, replaceValue: string): string; 26 | 27 | /** 28 | * Replace all instances of a substring in a string, using a regular expression or search string. 29 | * @param searchValue A string to search for. 30 | * @param replacer A function that returns the replacement text. 31 | */ 32 | replaceAll(searchValue: string | RegExp, replacer: (substring: string, ...args: any[]) => string): string; 33 | } 34 | -------------------------------------------------------------------------------- /node_modules/typescript/lib/lib.es2022.d.ts: -------------------------------------------------------------------------------- 1 | /*! ***************************************************************************** 2 | Copyright (c) Microsoft Corporation. All rights reserved. 3 | Licensed under the Apache License, Version 2.0 (the "License"); you may not use 4 | this file except in compliance with the License. You may obtain a copy of the 5 | License at http://www.apache.org/licenses/LICENSE-2.0 6 | 7 | THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 8 | KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED 9 | WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, 10 | MERCHANTABLITY OR NON-INFRINGEMENT. 11 | 12 | See the Apache Version 2.0 License for specific language governing permissions 13 | and limitations under the License. 14 | ***************************************************************************** */ 15 | 16 | 17 | /// 18 | 19 | /// 20 | /// 21 | /// 22 | /// 23 | /// 24 | /// 25 | /// 26 | -------------------------------------------------------------------------------- /node_modules/typescript/lib/lib.es2022.full.d.ts: -------------------------------------------------------------------------------- 1 | /*! ***************************************************************************** 2 | Copyright (c) Microsoft Corporation. All rights reserved. 3 | Licensed under the Apache License, Version 2.0 (the "License"); you may not use 4 | this file except in compliance with the License. You may obtain a copy of the 5 | License at http://www.apache.org/licenses/LICENSE-2.0 6 | 7 | THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 8 | KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED 9 | WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, 10 | MERCHANTABLITY OR NON-INFRINGEMENT. 11 | 12 | See the Apache Version 2.0 License for specific language governing permissions 13 | and limitations under the License. 14 | ***************************************************************************** */ 15 | 16 | 17 | /// 18 | 19 | /// 20 | /// 21 | /// 22 | /// 23 | /// 24 | /// 25 | -------------------------------------------------------------------------------- /node_modules/typescript/lib/lib.es2022.object.d.ts: -------------------------------------------------------------------------------- 1 | /*! ***************************************************************************** 2 | Copyright (c) Microsoft Corporation. All rights reserved. 3 | Licensed under the Apache License, Version 2.0 (the "License"); you may not use 4 | this file except in compliance with the License. You may obtain a copy of the 5 | License at http://www.apache.org/licenses/LICENSE-2.0 6 | 7 | THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 8 | KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED 9 | WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, 10 | MERCHANTABLITY OR NON-INFRINGEMENT. 11 | 12 | See the Apache Version 2.0 License for specific language governing permissions 13 | and limitations under the License. 14 | ***************************************************************************** */ 15 | 16 | 17 | /// 18 | 19 | interface ObjectConstructor { 20 | /** 21 | * Determines whether an object has a property with the specified name. 22 | * @param o An object. 23 | * @param v A property name. 24 | */ 25 | hasOwn(o: object, v: PropertyKey): boolean; 26 | } 27 | -------------------------------------------------------------------------------- /node_modules/typescript/lib/lib.es2022.regexp.d.ts: -------------------------------------------------------------------------------- 1 | /*! ***************************************************************************** 2 | Copyright (c) Microsoft Corporation. All rights reserved. 3 | Licensed under the Apache License, Version 2.0 (the "License"); you may not use 4 | this file except in compliance with the License. You may obtain a copy of the 5 | License at http://www.apache.org/licenses/LICENSE-2.0 6 | 7 | THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 8 | KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED 9 | WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, 10 | MERCHANTABLITY OR NON-INFRINGEMENT. 11 | 12 | See the Apache Version 2.0 License for specific language governing permissions 13 | and limitations under the License. 14 | ***************************************************************************** */ 15 | 16 | 17 | /// 18 | 19 | interface RegExpMatchArray { 20 | indices?: RegExpIndicesArray; 21 | } 22 | 23 | interface RegExpExecArray { 24 | indices?: RegExpIndicesArray; 25 | } 26 | 27 | interface RegExpIndicesArray extends Array<[number, number]> { 28 | groups?: { 29 | [key: string]: [number, number]; 30 | }; 31 | } 32 | 33 | interface RegExp { 34 | /** 35 | * Returns a Boolean value indicating the state of the hasIndices flag (d) used with a regular expression. 36 | * Default is false. Read-only. 37 | */ 38 | readonly hasIndices: boolean; 39 | } 40 | -------------------------------------------------------------------------------- /node_modules/typescript/lib/lib.es2022.string.d.ts: -------------------------------------------------------------------------------- 1 | /*! ***************************************************************************** 2 | Copyright (c) Microsoft Corporation. All rights reserved. 3 | Licensed under the Apache License, Version 2.0 (the "License"); you may not use 4 | this file except in compliance with the License. You may obtain a copy of the 5 | License at http://www.apache.org/licenses/LICENSE-2.0 6 | 7 | THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 8 | KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED 9 | WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, 10 | MERCHANTABLITY OR NON-INFRINGEMENT. 11 | 12 | See the Apache Version 2.0 License for specific language governing permissions 13 | and limitations under the License. 14 | ***************************************************************************** */ 15 | 16 | 17 | /// 18 | 19 | interface String { 20 | /** 21 | * Returns a new String consisting of the single UTF-16 code unit located at the specified index. 22 | * @param index The zero-based index of the desired code unit. A negative index will count back from the last item. 23 | */ 24 | at(index: number): string | undefined; 25 | } 26 | -------------------------------------------------------------------------------- /node_modules/typescript/lib/lib.es2023.collection.d.ts: -------------------------------------------------------------------------------- 1 | /*! ***************************************************************************** 2 | Copyright (c) Microsoft Corporation. All rights reserved. 3 | Licensed under the Apache License, Version 2.0 (the "License"); you may not use 4 | this file except in compliance with the License. You may obtain a copy of the 5 | License at http://www.apache.org/licenses/LICENSE-2.0 6 | 7 | THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 8 | KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED 9 | WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, 10 | MERCHANTABLITY OR NON-INFRINGEMENT. 11 | 12 | See the Apache Version 2.0 License for specific language governing permissions 13 | and limitations under the License. 14 | ***************************************************************************** */ 15 | 16 | 17 | /// 18 | 19 | interface WeakKeyTypes { 20 | symbol: symbol; 21 | } 22 | -------------------------------------------------------------------------------- /node_modules/typescript/lib/lib.es2023.d.ts: -------------------------------------------------------------------------------- 1 | /*! ***************************************************************************** 2 | Copyright (c) Microsoft Corporation. All rights reserved. 3 | Licensed under the Apache License, Version 2.0 (the "License"); you may not use 4 | this file except in compliance with the License. You may obtain a copy of the 5 | License at http://www.apache.org/licenses/LICENSE-2.0 6 | 7 | THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 8 | KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED 9 | WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, 10 | MERCHANTABLITY OR NON-INFRINGEMENT. 11 | 12 | See the Apache Version 2.0 License for specific language governing permissions 13 | and limitations under the License. 14 | ***************************************************************************** */ 15 | 16 | 17 | /// 18 | 19 | /// 20 | /// 21 | /// 22 | /// 23 | -------------------------------------------------------------------------------- /node_modules/typescript/lib/lib.es2023.full.d.ts: -------------------------------------------------------------------------------- 1 | /*! ***************************************************************************** 2 | Copyright (c) Microsoft Corporation. All rights reserved. 3 | Licensed under the Apache License, Version 2.0 (the "License"); you may not use 4 | this file except in compliance with the License. You may obtain a copy of the 5 | License at http://www.apache.org/licenses/LICENSE-2.0 6 | 7 | THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 8 | KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED 9 | WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, 10 | MERCHANTABLITY OR NON-INFRINGEMENT. 11 | 12 | See the Apache Version 2.0 License for specific language governing permissions 13 | and limitations under the License. 14 | ***************************************************************************** */ 15 | 16 | 17 | /// 18 | 19 | /// 20 | /// 21 | /// 22 | /// 23 | /// 24 | /// 25 | -------------------------------------------------------------------------------- /node_modules/typescript/lib/lib.es2024.collection.d.ts: -------------------------------------------------------------------------------- 1 | /*! ***************************************************************************** 2 | Copyright (c) Microsoft Corporation. All rights reserved. 3 | Licensed under the Apache License, Version 2.0 (the "License"); you may not use 4 | this file except in compliance with the License. You may obtain a copy of the 5 | License at http://www.apache.org/licenses/LICENSE-2.0 6 | 7 | THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 8 | KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED 9 | WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, 10 | MERCHANTABLITY OR NON-INFRINGEMENT. 11 | 12 | See the Apache Version 2.0 License for specific language governing permissions 13 | and limitations under the License. 14 | ***************************************************************************** */ 15 | 16 | 17 | /// 18 | 19 | interface MapConstructor { 20 | /** 21 | * Groups members of an iterable according to the return value of the passed callback. 22 | * @param items An iterable. 23 | * @param keySelector A callback which will be invoked for each item in items. 24 | */ 25 | groupBy( 26 | items: Iterable, 27 | keySelector: (item: T, index: number) => K, 28 | ): Map; 29 | } 30 | -------------------------------------------------------------------------------- /node_modules/typescript/lib/lib.es2024.d.ts: -------------------------------------------------------------------------------- 1 | /*! ***************************************************************************** 2 | Copyright (c) Microsoft Corporation. All rights reserved. 3 | Licensed under the Apache License, Version 2.0 (the "License"); you may not use 4 | this file except in compliance with the License. You may obtain a copy of the 5 | License at http://www.apache.org/licenses/LICENSE-2.0 6 | 7 | THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 8 | KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED 9 | WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, 10 | MERCHANTABLITY OR NON-INFRINGEMENT. 11 | 12 | See the Apache Version 2.0 License for specific language governing permissions 13 | and limitations under the License. 14 | ***************************************************************************** */ 15 | 16 | 17 | /// 18 | 19 | /// 20 | /// 21 | /// 22 | /// 23 | /// 24 | /// 25 | /// 26 | /// 27 | -------------------------------------------------------------------------------- /node_modules/typescript/lib/lib.es2024.full.d.ts: -------------------------------------------------------------------------------- 1 | /*! ***************************************************************************** 2 | Copyright (c) Microsoft Corporation. All rights reserved. 3 | Licensed under the Apache License, Version 2.0 (the "License"); you may not use 4 | this file except in compliance with the License. You may obtain a copy of the 5 | License at http://www.apache.org/licenses/LICENSE-2.0 6 | 7 | THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 8 | KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED 9 | WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, 10 | MERCHANTABLITY OR NON-INFRINGEMENT. 11 | 12 | See the Apache Version 2.0 License for specific language governing permissions 13 | and limitations under the License. 14 | ***************************************************************************** */ 15 | 16 | 17 | /// 18 | 19 | /// 20 | /// 21 | /// 22 | /// 23 | /// 24 | /// 25 | -------------------------------------------------------------------------------- /node_modules/typescript/lib/lib.es2024.object.d.ts: -------------------------------------------------------------------------------- 1 | /*! ***************************************************************************** 2 | Copyright (c) Microsoft Corporation. All rights reserved. 3 | Licensed under the Apache License, Version 2.0 (the "License"); you may not use 4 | this file except in compliance with the License. You may obtain a copy of the 5 | License at http://www.apache.org/licenses/LICENSE-2.0 6 | 7 | THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 8 | KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED 9 | WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, 10 | MERCHANTABLITY OR NON-INFRINGEMENT. 11 | 12 | See the Apache Version 2.0 License for specific language governing permissions 13 | and limitations under the License. 14 | ***************************************************************************** */ 15 | 16 | 17 | /// 18 | 19 | interface ObjectConstructor { 20 | /** 21 | * Groups members of an iterable according to the return value of the passed callback. 22 | * @param items An iterable. 23 | * @param keySelector A callback which will be invoked for each item in items. 24 | */ 25 | groupBy( 26 | items: Iterable, 27 | keySelector: (item: T, index: number) => K, 28 | ): Partial>; 29 | } 30 | -------------------------------------------------------------------------------- /node_modules/typescript/lib/lib.es2024.promise.d.ts: -------------------------------------------------------------------------------- 1 | /*! ***************************************************************************** 2 | Copyright (c) Microsoft Corporation. All rights reserved. 3 | Licensed under the Apache License, Version 2.0 (the "License"); you may not use 4 | this file except in compliance with the License. You may obtain a copy of the 5 | License at http://www.apache.org/licenses/LICENSE-2.0 6 | 7 | THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 8 | KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED 9 | WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, 10 | MERCHANTABLITY OR NON-INFRINGEMENT. 11 | 12 | See the Apache Version 2.0 License for specific language governing permissions 13 | and limitations under the License. 14 | ***************************************************************************** */ 15 | 16 | 17 | /// 18 | 19 | interface PromiseWithResolvers { 20 | promise: Promise; 21 | resolve: (value: T | PromiseLike) => void; 22 | reject: (reason?: any) => void; 23 | } 24 | 25 | interface PromiseConstructor { 26 | /** 27 | * Creates a new Promise and returns it in an object, along with its resolve and reject functions. 28 | * @returns An object with the properties `promise`, `resolve`, and `reject`. 29 | * 30 | * ```ts 31 | * const { promise, resolve, reject } = Promise.withResolvers(); 32 | * ``` 33 | */ 34 | withResolvers(): PromiseWithResolvers; 35 | } 36 | -------------------------------------------------------------------------------- /node_modules/typescript/lib/lib.es2024.regexp.d.ts: -------------------------------------------------------------------------------- 1 | /*! ***************************************************************************** 2 | Copyright (c) Microsoft Corporation. All rights reserved. 3 | Licensed under the Apache License, Version 2.0 (the "License"); you may not use 4 | this file except in compliance with the License. You may obtain a copy of the 5 | License at http://www.apache.org/licenses/LICENSE-2.0 6 | 7 | THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 8 | KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED 9 | WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, 10 | MERCHANTABLITY OR NON-INFRINGEMENT. 11 | 12 | See the Apache Version 2.0 License for specific language governing permissions 13 | and limitations under the License. 14 | ***************************************************************************** */ 15 | 16 | 17 | /// 18 | 19 | interface RegExp { 20 | /** 21 | * Returns a Boolean value indicating the state of the unicodeSets flag (v) used with a regular expression. 22 | * Default is false. Read-only. 23 | */ 24 | readonly unicodeSets: boolean; 25 | } 26 | -------------------------------------------------------------------------------- /node_modules/typescript/lib/lib.es2024.string.d.ts: -------------------------------------------------------------------------------- 1 | /*! ***************************************************************************** 2 | Copyright (c) Microsoft Corporation. All rights reserved. 3 | Licensed under the Apache License, Version 2.0 (the "License"); you may not use 4 | this file except in compliance with the License. You may obtain a copy of the 5 | License at http://www.apache.org/licenses/LICENSE-2.0 6 | 7 | THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 8 | KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED 9 | WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, 10 | MERCHANTABLITY OR NON-INFRINGEMENT. 11 | 12 | See the Apache Version 2.0 License for specific language governing permissions 13 | and limitations under the License. 14 | ***************************************************************************** */ 15 | 16 | 17 | /// 18 | 19 | interface String { 20 | /** 21 | * Returns true if all leading surrogates and trailing surrogates appear paired and in order. 22 | */ 23 | isWellFormed(): boolean; 24 | 25 | /** 26 | * Returns a string where all lone or out-of-order surrogates have been replaced by the Unicode replacement character (U+FFFD). 27 | */ 28 | toWellFormed(): string; 29 | } 30 | -------------------------------------------------------------------------------- /node_modules/typescript/lib/lib.es6.d.ts: -------------------------------------------------------------------------------- 1 | /*! ***************************************************************************** 2 | Copyright (c) Microsoft Corporation. All rights reserved. 3 | Licensed under the Apache License, Version 2.0 (the "License"); you may not use 4 | this file except in compliance with the License. You may obtain a copy of the 5 | License at http://www.apache.org/licenses/LICENSE-2.0 6 | 7 | THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 8 | KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED 9 | WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, 10 | MERCHANTABLITY OR NON-INFRINGEMENT. 11 | 12 | See the Apache Version 2.0 License for specific language governing permissions 13 | and limitations under the License. 14 | ***************************************************************************** */ 15 | 16 | 17 | /// 18 | 19 | /// 20 | /// 21 | /// 22 | /// 23 | /// 24 | -------------------------------------------------------------------------------- /node_modules/typescript/lib/lib.esnext.d.ts: -------------------------------------------------------------------------------- 1 | /*! ***************************************************************************** 2 | Copyright (c) Microsoft Corporation. All rights reserved. 3 | Licensed under the Apache License, Version 2.0 (the "License"); you may not use 4 | this file except in compliance with the License. You may obtain a copy of the 5 | License at http://www.apache.org/licenses/LICENSE-2.0 6 | 7 | THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 8 | KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED 9 | WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, 10 | MERCHANTABLITY OR NON-INFRINGEMENT. 11 | 12 | See the Apache Version 2.0 License for specific language governing permissions 13 | and limitations under the License. 14 | ***************************************************************************** */ 15 | 16 | 17 | /// 18 | 19 | /// 20 | /// 21 | /// 22 | /// 23 | /// 24 | /// 25 | /// 26 | -------------------------------------------------------------------------------- /node_modules/typescript/lib/lib.esnext.decorators.d.ts: -------------------------------------------------------------------------------- 1 | /*! ***************************************************************************** 2 | Copyright (c) Microsoft Corporation. All rights reserved. 3 | Licensed under the Apache License, Version 2.0 (the "License"); you may not use 4 | this file except in compliance with the License. You may obtain a copy of the 5 | License at http://www.apache.org/licenses/LICENSE-2.0 6 | 7 | THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 8 | KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED 9 | WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, 10 | MERCHANTABLITY OR NON-INFRINGEMENT. 11 | 12 | See the Apache Version 2.0 License for specific language governing permissions 13 | and limitations under the License. 14 | ***************************************************************************** */ 15 | 16 | 17 | /// 18 | 19 | /// 20 | /// 21 | 22 | interface SymbolConstructor { 23 | readonly metadata: unique symbol; 24 | } 25 | 26 | interface Function { 27 | [Symbol.metadata]: DecoratorMetadata | null; 28 | } 29 | -------------------------------------------------------------------------------- /node_modules/typescript/lib/lib.esnext.full.d.ts: -------------------------------------------------------------------------------- 1 | /*! ***************************************************************************** 2 | Copyright (c) Microsoft Corporation. All rights reserved. 3 | Licensed under the Apache License, Version 2.0 (the "License"); you may not use 4 | this file except in compliance with the License. You may obtain a copy of the 5 | License at http://www.apache.org/licenses/LICENSE-2.0 6 | 7 | THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 8 | KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED 9 | WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, 10 | MERCHANTABLITY OR NON-INFRINGEMENT. 11 | 12 | See the Apache Version 2.0 License for specific language governing permissions 13 | and limitations under the License. 14 | ***************************************************************************** */ 15 | 16 | 17 | /// 18 | 19 | /// 20 | /// 21 | /// 22 | /// 23 | /// 24 | /// 25 | -------------------------------------------------------------------------------- /node_modules/typescript/lib/lib.esnext.intl.d.ts: -------------------------------------------------------------------------------- 1 | /*! ***************************************************************************** 2 | Copyright (c) Microsoft Corporation. All rights reserved. 3 | Licensed under the Apache License, Version 2.0 (the "License"); you may not use 4 | this file except in compliance with the License. You may obtain a copy of the 5 | License at http://www.apache.org/licenses/LICENSE-2.0 6 | 7 | THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 8 | KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED 9 | WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, 10 | MERCHANTABLITY OR NON-INFRINGEMENT. 11 | 12 | See the Apache Version 2.0 License for specific language governing permissions 13 | and limitations under the License. 14 | ***************************************************************************** */ 15 | 16 | 17 | /// 18 | 19 | declare namespace Intl { 20 | // Empty 21 | } 22 | -------------------------------------------------------------------------------- /node_modules/typescript/lib/lib.webworker.importscripts.d.ts: -------------------------------------------------------------------------------- 1 | /*! ***************************************************************************** 2 | Copyright (c) Microsoft Corporation. All rights reserved. 3 | Licensed under the Apache License, Version 2.0 (the "License"); you may not use 4 | this file except in compliance with the License. You may obtain a copy of the 5 | License at http://www.apache.org/licenses/LICENSE-2.0 6 | 7 | THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 8 | KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED 9 | WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, 10 | MERCHANTABLITY OR NON-INFRINGEMENT. 11 | 12 | See the Apache Version 2.0 License for specific language governing permissions 13 | and limitations under the License. 14 | ***************************************************************************** */ 15 | 16 | 17 | /// 18 | 19 | ///////////////////////////// 20 | /// WorkerGlobalScope APIs 21 | ///////////////////////////// 22 | // These are only available in a Web Worker 23 | declare function importScripts(...urls: string[]): void; 24 | -------------------------------------------------------------------------------- /node_modules/typescript/lib/tsc.js: -------------------------------------------------------------------------------- 1 | // This file is a shim which defers loading the real module until the compile cache is enabled. 2 | try { 3 | const { enableCompileCache } = require("node:module"); 4 | if (enableCompileCache) { 5 | enableCompileCache(); 6 | } 7 | } catch {} 8 | module.exports = require("./_tsc.js"); 9 | -------------------------------------------------------------------------------- /node_modules/typescript/lib/tsserver.js: -------------------------------------------------------------------------------- 1 | // This file is a shim which defers loading the real module until the compile cache is enabled. 2 | try { 3 | const { enableCompileCache } = require("node:module"); 4 | if (enableCompileCache) { 5 | enableCompileCache(); 6 | } 7 | } catch {} 8 | module.exports = require("./_tsserver.js"); 9 | -------------------------------------------------------------------------------- /node_modules/typescript/lib/tsserverlibrary.d.ts: -------------------------------------------------------------------------------- 1 | /*! ***************************************************************************** 2 | Copyright (c) Microsoft Corporation. All rights reserved. 3 | Licensed under the Apache License, Version 2.0 (the "License"); you may not use 4 | this file except in compliance with the License. You may obtain a copy of the 5 | License at http://www.apache.org/licenses/LICENSE-2.0 6 | 7 | THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 8 | KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED 9 | WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, 10 | MERCHANTABLITY OR NON-INFRINGEMENT. 11 | 12 | See the Apache Version 2.0 License for specific language governing permissions 13 | and limitations under the License. 14 | ***************************************************************************** */ 15 | 16 | import ts = require("./typescript.js"); 17 | export = ts; 18 | -------------------------------------------------------------------------------- /node_modules/typescript/lib/tsserverlibrary.js: -------------------------------------------------------------------------------- 1 | /*! ***************************************************************************** 2 | Copyright (c) Microsoft Corporation. All rights reserved. 3 | Licensed under the Apache License, Version 2.0 (the "License"); you may not use 4 | this file except in compliance with the License. You may obtain a copy of the 5 | License at http://www.apache.org/licenses/LICENSE-2.0 6 | 7 | THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 8 | KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED 9 | WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, 10 | MERCHANTABLITY OR NON-INFRINGEMENT. 11 | 12 | See the Apache Version 2.0 License for specific language governing permissions 13 | and limitations under the License. 14 | ***************************************************************************** */ 15 | 16 | if (typeof module !== "undefined" && module.exports) { 17 | module.exports = require("./typescript.js"); 18 | } 19 | else { 20 | throw new Error("tsserverlibrary requires CommonJS; use typescript.js instead"); 21 | } 22 | -------------------------------------------------------------------------------- /node_modules/typescript/lib/typingsInstaller.js: -------------------------------------------------------------------------------- 1 | // This file is a shim which defers loading the real module until the compile cache is enabled. 2 | try { 3 | const { enableCompileCache } = require("node:module"); 4 | if (enableCompileCache) { 5 | enableCompileCache(); 6 | } 7 | } catch {} 8 | module.exports = require("./_typingsInstaller.js"); 9 | -------------------------------------------------------------------------------- /node_modules/undici-types/LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) Matteo Collina and Undici contributors 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /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/agent.d.ts: -------------------------------------------------------------------------------- 1 | import { URL } from 'url' 2 | import Pool from './pool' 3 | import Dispatcher from "./dispatcher"; 4 | 5 | export default Agent 6 | 7 | declare class Agent extends Dispatcher{ 8 | constructor(opts?: Agent.Options) 9 | /** `true` after `dispatcher.close()` has been called. */ 10 | closed: boolean; 11 | /** `true` after `dispatcher.destroyed()` has been called or `dispatcher.close()` has been called and the dispatcher shutdown has completed. */ 12 | destroyed: boolean; 13 | /** Dispatches a request. */ 14 | dispatch(options: Agent.DispatchOptions, handler: Dispatcher.DispatchHandlers): boolean; 15 | } 16 | 17 | declare namespace Agent { 18 | export interface Options extends Pool.Options { 19 | /** Default: `(origin, opts) => new Pool(origin, opts)`. */ 20 | factory?(origin: string | URL, opts: Object): Dispatcher; 21 | /** Integer. Default: `0` */ 22 | maxRedirections?: number; 23 | 24 | interceptors?: { Agent?: readonly Dispatcher.DispatchInterceptor[] } & Pool.Options["interceptors"] 25 | } 26 | 27 | export interface DispatchOptions extends Dispatcher.DispatchOptions { 28 | /** Integer. */ 29 | maxRedirections?: number; 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /node_modules/undici-types/api.d.ts: -------------------------------------------------------------------------------- 1 | import { URL, UrlObject } from 'url' 2 | import { Duplex } from 'stream' 3 | import Dispatcher from './dispatcher' 4 | 5 | export { 6 | request, 7 | stream, 8 | pipeline, 9 | connect, 10 | upgrade, 11 | } 12 | 13 | /** Performs an HTTP request. */ 14 | declare function request( 15 | url: string | URL | UrlObject, 16 | options?: { dispatcher?: Dispatcher } & Omit & Partial>, 17 | ): Promise; 18 | 19 | /** A faster version of `request`. */ 20 | declare function stream( 21 | url: string | URL | UrlObject, 22 | options: { dispatcher?: Dispatcher } & Omit, 23 | factory: Dispatcher.StreamFactory 24 | ): Promise; 25 | 26 | /** For easy use with `stream.pipeline`. */ 27 | declare function pipeline( 28 | url: string | URL | UrlObject, 29 | options: { dispatcher?: Dispatcher } & Omit, 30 | handler: Dispatcher.PipelineHandler 31 | ): Duplex; 32 | 33 | /** Starts two-way communications with the requested resource. */ 34 | declare function connect( 35 | url: string | URL | UrlObject, 36 | options?: { dispatcher?: Dispatcher } & Omit 37 | ): Promise; 38 | 39 | /** Upgrade to a different protocol. */ 40 | declare function upgrade( 41 | url: string | URL | UrlObject, 42 | options?: { dispatcher?: Dispatcher } & Omit 43 | ): Promise; 44 | -------------------------------------------------------------------------------- /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/cache.d.ts: -------------------------------------------------------------------------------- 1 | import type { RequestInfo, Response, Request } from './fetch' 2 | 3 | export interface CacheStorage { 4 | match (request: RequestInfo, options?: MultiCacheQueryOptions): Promise, 5 | has (cacheName: string): Promise, 6 | open (cacheName: string): Promise, 7 | delete (cacheName: string): Promise, 8 | keys (): Promise 9 | } 10 | 11 | declare const CacheStorage: { 12 | prototype: CacheStorage 13 | new(): CacheStorage 14 | } 15 | 16 | export interface Cache { 17 | match (request: RequestInfo, options?: CacheQueryOptions): Promise, 18 | matchAll (request?: RequestInfo, options?: CacheQueryOptions): Promise, 19 | add (request: RequestInfo): Promise, 20 | addAll (requests: RequestInfo[]): Promise, 21 | put (request: RequestInfo, response: Response): Promise, 22 | delete (request: RequestInfo, options?: CacheQueryOptions): Promise, 23 | keys (request?: RequestInfo, options?: CacheQueryOptions): Promise 24 | } 25 | 26 | export interface CacheQueryOptions { 27 | ignoreSearch?: boolean, 28 | ignoreMethod?: boolean, 29 | ignoreVary?: boolean 30 | } 31 | 32 | export interface MultiCacheQueryOptions extends CacheQueryOptions { 33 | cacheName?: string 34 | } 35 | 36 | export declare const caches: CacheStorage 37 | -------------------------------------------------------------------------------- /node_modules/undici-types/connector.d.ts: -------------------------------------------------------------------------------- 1 | import { TLSSocket, ConnectionOptions } from 'tls' 2 | import { IpcNetConnectOpts, Socket, TcpNetConnectOpts } from 'net' 3 | 4 | export default buildConnector 5 | declare function buildConnector (options?: buildConnector.BuildOptions): buildConnector.connector 6 | 7 | declare namespace buildConnector { 8 | export type BuildOptions = (ConnectionOptions | TcpNetConnectOpts | IpcNetConnectOpts) & { 9 | allowH2?: boolean; 10 | maxCachedSessions?: number | null; 11 | socketPath?: string | null; 12 | timeout?: number | null; 13 | port?: number; 14 | keepAlive?: boolean | null; 15 | keepAliveInitialDelay?: number | null; 16 | } 17 | 18 | export interface Options { 19 | hostname: string 20 | host?: string 21 | protocol: string 22 | port: string 23 | servername?: string 24 | localAddress?: string | null 25 | httpSocket?: Socket 26 | } 27 | 28 | export type Callback = (...args: CallbackArgs) => void 29 | type CallbackArgs = [null, Socket | TLSSocket] | [Error, null] 30 | 31 | export interface connector { 32 | (options: buildConnector.Options, callback: buildConnector.Callback): void 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /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/file.d.ts: -------------------------------------------------------------------------------- 1 | // Based on https://github.com/octet-stream/form-data/blob/2d0f0dc371517444ce1f22cdde13f51995d0953a/lib/File.ts (MIT) 2 | /// 3 | 4 | import { Blob } from 'buffer' 5 | 6 | export interface BlobPropertyBag { 7 | type?: string 8 | endings?: 'native' | 'transparent' 9 | } 10 | 11 | export interface FilePropertyBag extends BlobPropertyBag { 12 | /** 13 | * The last modified date of the file as the number of milliseconds since the Unix epoch (January 1, 1970 at midnight). Files without a known last modified date return the current date. 14 | */ 15 | lastModified?: number 16 | } 17 | 18 | export declare class File extends Blob { 19 | /** 20 | * Creates a new File instance. 21 | * 22 | * @param fileBits An `Array` strings, or [`ArrayBuffer`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer), [`ArrayBufferView`](https://developer.mozilla.org/en-US/docs/Web/API/ArrayBufferView), [`Blob`](https://developer.mozilla.org/en-US/docs/Web/API/Blob) objects, or a mix of any of such objects, that will be put inside the [`File`](https://developer.mozilla.org/en-US/docs/Web/API/File). 23 | * @param fileName The name of the file. 24 | * @param options An options object containing optional attributes for the file. 25 | */ 26 | constructor(fileBits: ReadonlyArray, fileName: string, options?: FilePropertyBag) 27 | 28 | /** 29 | * Name of the file referenced by the File object. 30 | */ 31 | readonly name: string 32 | 33 | /** 34 | * The last modified date of the file as the number of milliseconds since the Unix epoch (January 1, 1970 at midnight). Files without a known last modified date return the current date. 35 | */ 36 | readonly lastModified: number 37 | 38 | readonly [Symbol.toStringTag]: string 39 | } 40 | -------------------------------------------------------------------------------- /node_modules/undici-types/filereader.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | 3 | import { Blob } from 'buffer' 4 | import { DOMException, EventInit } from './patch' 5 | 6 | export declare class FileReader { 7 | __proto__: EventTarget & FileReader 8 | 9 | constructor () 10 | 11 | readAsArrayBuffer (blob: Blob): void 12 | readAsBinaryString (blob: Blob): void 13 | readAsText (blob: Blob, encoding?: string): void 14 | readAsDataURL (blob: Blob): void 15 | 16 | abort (): void 17 | 18 | static readonly EMPTY = 0 19 | static readonly LOADING = 1 20 | static readonly DONE = 2 21 | 22 | readonly EMPTY = 0 23 | readonly LOADING = 1 24 | readonly DONE = 2 25 | 26 | readonly readyState: number 27 | 28 | readonly result: string | ArrayBuffer | null 29 | 30 | readonly error: DOMException | null 31 | 32 | onloadstart: null | ((this: FileReader, event: ProgressEvent) => void) 33 | onprogress: null | ((this: FileReader, event: ProgressEvent) => void) 34 | onload: null | ((this: FileReader, event: ProgressEvent) => void) 35 | onabort: null | ((this: FileReader, event: ProgressEvent) => void) 36 | onerror: null | ((this: FileReader, event: ProgressEvent) => void) 37 | onloadend: null | ((this: FileReader, event: ProgressEvent) => void) 38 | } 39 | 40 | export interface ProgressEventInit extends EventInit { 41 | lengthComputable?: boolean 42 | loaded?: number 43 | total?: number 44 | } 45 | 46 | export declare class ProgressEvent { 47 | __proto__: Event & ProgressEvent 48 | 49 | constructor (type: string, eventInitDict?: ProgressEventInit) 50 | 51 | readonly lengthComputable: boolean 52 | readonly loaded: number 53 | readonly total: number 54 | } 55 | -------------------------------------------------------------------------------- /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/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "undici-types", 3 | "version": "6.20.0", 4 | "description": "A stand-alone types package for Undici", 5 | "homepage": "https://undici.nodejs.org", 6 | "bugs": { 7 | "url": "https://github.com/nodejs/undici/issues" 8 | }, 9 | "repository": { 10 | "type": "git", 11 | "url": "git+https://github.com/nodejs/undici.git" 12 | }, 13 | "license": "MIT", 14 | "types": "index.d.ts", 15 | "files": [ 16 | "*.d.ts" 17 | ], 18 | "contributors": [ 19 | { 20 | "name": "Daniele Belardi", 21 | "url": "https://github.com/dnlup", 22 | "author": true 23 | }, 24 | { 25 | "name": "Ethan Arrowood", 26 | "url": "https://github.com/ethan-arrowood", 27 | "author": true 28 | }, 29 | { 30 | "name": "Matteo Collina", 31 | "url": "https://github.com/mcollina", 32 | "author": true 33 | }, 34 | { 35 | "name": "Matthew Aitken", 36 | "url": "https://github.com/KhafraDev", 37 | "author": true 38 | }, 39 | { 40 | "name": "Robert Nagy", 41 | "url": "https://github.com/ronag", 42 | "author": true 43 | }, 44 | { 45 | "name": "Szymon Marczak", 46 | "url": "https://github.com/szmarczak", 47 | "author": true 48 | }, 49 | { 50 | "name": "Tomas Della Vedova", 51 | "url": "https://github.com/delvedor", 52 | "author": true 53 | } 54 | ] 55 | } -------------------------------------------------------------------------------- /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/pool.d.ts: -------------------------------------------------------------------------------- 1 | import Client from './client' 2 | import TPoolStats from './pool-stats' 3 | import { URL } from 'url' 4 | import Dispatcher from "./dispatcher"; 5 | 6 | export default Pool 7 | 8 | type PoolConnectOptions = Omit; 9 | 10 | declare class Pool extends Dispatcher { 11 | constructor(url: string | URL, options?: Pool.Options) 12 | /** `true` after `pool.close()` has been called. */ 13 | closed: boolean; 14 | /** `true` after `pool.destroyed()` has been called or `pool.close()` has been called and the pool shutdown has completed. */ 15 | destroyed: boolean; 16 | /** Aggregate stats for a Pool. */ 17 | readonly stats: TPoolStats; 18 | 19 | // Override dispatcher APIs. 20 | override connect( 21 | options: PoolConnectOptions 22 | ): Promise; 23 | override connect( 24 | options: PoolConnectOptions, 25 | callback: (err: Error | null, data: Dispatcher.ConnectData) => void 26 | ): void; 27 | } 28 | 29 | declare namespace Pool { 30 | export type PoolStats = TPoolStats; 31 | export interface Options extends Client.Options { 32 | /** Default: `(origin, opts) => new Client(origin, opts)`. */ 33 | factory?(origin: URL, opts: object): Dispatcher; 34 | /** The max number of clients to create. `null` if no limit. Default `null`. */ 35 | connections?: number | null; 36 | 37 | interceptors?: { Pool?: readonly Dispatcher.DispatchInterceptor[] } & Client.Options["interceptors"] 38 | } 39 | } 40 | -------------------------------------------------------------------------------- /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/readable.d.ts: -------------------------------------------------------------------------------- 1 | import { Readable } from "stream"; 2 | import { Blob } from 'buffer' 3 | 4 | export default BodyReadable 5 | 6 | declare class BodyReadable extends Readable { 7 | constructor( 8 | resume?: (this: Readable, size: number) => void | null, 9 | abort?: () => void | null, 10 | contentType?: string 11 | ) 12 | 13 | /** Consumes and returns the body as a string 14 | * https://fetch.spec.whatwg.org/#dom-body-text 15 | */ 16 | text(): Promise 17 | 18 | /** Consumes and returns the body as a JavaScript Object 19 | * https://fetch.spec.whatwg.org/#dom-body-json 20 | */ 21 | json(): Promise 22 | 23 | /** Consumes and returns the body as a Blob 24 | * https://fetch.spec.whatwg.org/#dom-body-blob 25 | */ 26 | blob(): Promise 27 | 28 | /** Consumes and returns the body as an ArrayBuffer 29 | * https://fetch.spec.whatwg.org/#dom-body-arraybuffer 30 | */ 31 | arrayBuffer(): Promise 32 | 33 | /** Not implemented 34 | * 35 | * https://fetch.spec.whatwg.org/#dom-body-formdata 36 | */ 37 | formData(): Promise 38 | 39 | /** Returns true if the body is not null and the body has been consumed 40 | * 41 | * Otherwise, returns false 42 | * 43 | * https://fetch.spec.whatwg.org/#dom-body-bodyused 44 | */ 45 | readonly bodyUsed: boolean 46 | 47 | /** 48 | * If body is null, it should return null as the body 49 | * 50 | * If body is not null, should return the body as a ReadableStream 51 | * 52 | * https://fetch.spec.whatwg.org/#dom-body-body 53 | */ 54 | readonly body: never | undefined 55 | 56 | /** Dumps the response body by reading `limit` number of bytes. 57 | * @param opts.limit Number of bytes to read (optional) - Default: 262144 58 | */ 59 | dump(opts?: { limit: number }): Promise 60 | } 61 | -------------------------------------------------------------------------------- /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/unpipe/HISTORY.md: -------------------------------------------------------------------------------- 1 | 1.0.0 / 2015-06-14 2 | ================== 3 | 4 | * Initial release 5 | -------------------------------------------------------------------------------- /node_modules/unpipe/LICENSE: -------------------------------------------------------------------------------- 1 | (The MIT License) 2 | 3 | Copyright (c) 2015 Douglas Christopher Wilson 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining 6 | a copy of this software and associated documentation files (the 7 | 'Software'), to deal in the Software without restriction, including 8 | without limitation the rights to use, copy, modify, merge, publish, 9 | distribute, sublicense, and/or sell copies of the Software, and to 10 | permit persons to whom the Software is furnished to do so, subject to 11 | the following conditions: 12 | 13 | The above copyright notice and this permission notice shall be 14 | included in all copies or substantial portions of the Software. 15 | 16 | THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, 17 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 18 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. 19 | IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY 20 | CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, 21 | TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE 22 | SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 23 | -------------------------------------------------------------------------------- /node_modules/unpipe/README.md: -------------------------------------------------------------------------------- 1 | # unpipe 2 | 3 | [![NPM Version][npm-image]][npm-url] 4 | [![NPM Downloads][downloads-image]][downloads-url] 5 | [![Node.js Version][node-image]][node-url] 6 | [![Build Status][travis-image]][travis-url] 7 | [![Test Coverage][coveralls-image]][coveralls-url] 8 | 9 | Unpipe a stream from all destinations. 10 | 11 | ## Installation 12 | 13 | ```sh 14 | $ npm install unpipe 15 | ``` 16 | 17 | ## API 18 | 19 | ```js 20 | var unpipe = require('unpipe') 21 | ``` 22 | 23 | ### unpipe(stream) 24 | 25 | Unpipes all destinations from a given stream. With stream 2+, this is 26 | equivalent to `stream.unpipe()`. When used with streams 1 style streams 27 | (typically Node.js 0.8 and below), this module attempts to undo the 28 | actions done in `stream.pipe(dest)`. 29 | 30 | ## License 31 | 32 | [MIT](LICENSE) 33 | 34 | [npm-image]: https://img.shields.io/npm/v/unpipe.svg 35 | [npm-url]: https://npmjs.org/package/unpipe 36 | [node-image]: https://img.shields.io/node/v/unpipe.svg 37 | [node-url]: http://nodejs.org/download/ 38 | [travis-image]: https://img.shields.io/travis/stream-utils/unpipe.svg 39 | [travis-url]: https://travis-ci.org/stream-utils/unpipe 40 | [coveralls-image]: https://img.shields.io/coveralls/stream-utils/unpipe.svg 41 | [coveralls-url]: https://coveralls.io/r/stream-utils/unpipe?branch=master 42 | [downloads-image]: https://img.shields.io/npm/dm/unpipe.svg 43 | [downloads-url]: https://npmjs.org/package/unpipe 44 | -------------------------------------------------------------------------------- /node_modules/unpipe/index.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * unpipe 3 | * Copyright(c) 2015 Douglas Christopher Wilson 4 | * MIT Licensed 5 | */ 6 | 7 | 'use strict' 8 | 9 | /** 10 | * Module exports. 11 | * @public 12 | */ 13 | 14 | module.exports = unpipe 15 | 16 | /** 17 | * Determine if there are Node.js pipe-like data listeners. 18 | * @private 19 | */ 20 | 21 | function hasPipeDataListeners(stream) { 22 | var listeners = stream.listeners('data') 23 | 24 | for (var i = 0; i < listeners.length; i++) { 25 | if (listeners[i].name === 'ondata') { 26 | return true 27 | } 28 | } 29 | 30 | return false 31 | } 32 | 33 | /** 34 | * Unpipe a stream from all destinations. 35 | * 36 | * @param {object} stream 37 | * @public 38 | */ 39 | 40 | function unpipe(stream) { 41 | if (!stream) { 42 | throw new TypeError('argument stream is required') 43 | } 44 | 45 | if (typeof stream.unpipe === 'function') { 46 | // new-style 47 | stream.unpipe() 48 | return 49 | } 50 | 51 | // Node.js 0.8 hack 52 | if (!hasPipeDataListeners(stream)) { 53 | return 54 | } 55 | 56 | var listener 57 | var listeners = stream.listeners('close') 58 | 59 | for (var i = 0; i < listeners.length; i++) { 60 | listener = listeners[i] 61 | 62 | if (listener.name !== 'cleanup' && listener.name !== 'onclose') { 63 | continue 64 | } 65 | 66 | // invoke the listener 67 | listener.call(stream) 68 | } 69 | } 70 | -------------------------------------------------------------------------------- /node_modules/unpipe/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "unpipe", 3 | "description": "Unpipe a stream from all destinations", 4 | "version": "1.0.0", 5 | "author": "Douglas Christopher Wilson ", 6 | "license": "MIT", 7 | "repository": "stream-utils/unpipe", 8 | "devDependencies": { 9 | "istanbul": "0.3.15", 10 | "mocha": "2.2.5", 11 | "readable-stream": "1.1.13" 12 | }, 13 | "files": [ 14 | "HISTORY.md", 15 | "LICENSE", 16 | "README.md", 17 | "index.js" 18 | ], 19 | "engines": { 20 | "node": ">= 0.8" 21 | }, 22 | "scripts": { 23 | "test": "mocha --reporter spec --bail --check-leaks test/", 24 | "test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --check-leaks test/", 25 | "test-travis": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --check-leaks test/" 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /node_modules/zod/LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2020 Colin McDonnell 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /node_modules/zod/index.d.ts: -------------------------------------------------------------------------------- 1 | export * from "./lib"; 2 | export as namespace Zod; 3 | -------------------------------------------------------------------------------- /node_modules/zod/lib/__tests__/Mocker.d.ts: -------------------------------------------------------------------------------- 1 | export declare class Mocker { 2 | pick: (...args: any[]) => any; 3 | get string(): string; 4 | get number(): number; 5 | get bigint(): bigint; 6 | get boolean(): boolean; 7 | get date(): Date; 8 | get symbol(): symbol; 9 | get null(): null; 10 | get undefined(): undefined; 11 | get stringOptional(): any; 12 | get stringNullable(): any; 13 | get numberOptional(): any; 14 | get numberNullable(): any; 15 | get booleanOptional(): any; 16 | get booleanNullable(): any; 17 | } 18 | -------------------------------------------------------------------------------- /node_modules/zod/lib/__tests__/Mocker.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | exports.Mocker = void 0; 4 | function getRandomInt(max) { 5 | return Math.floor(Math.random() * Math.floor(max)); 6 | } 7 | const testSymbol = Symbol("test"); 8 | class Mocker { 9 | constructor() { 10 | this.pick = (...args) => { 11 | return args[getRandomInt(args.length)]; 12 | }; 13 | } 14 | get string() { 15 | return Math.random().toString(36).substring(7); 16 | } 17 | get number() { 18 | return Math.random() * 100; 19 | } 20 | get bigint() { 21 | return BigInt(Math.floor(Math.random() * 10000)); 22 | } 23 | get boolean() { 24 | return Math.random() < 0.5; 25 | } 26 | get date() { 27 | return new Date(Math.floor(Date.now() * Math.random())); 28 | } 29 | get symbol() { 30 | return testSymbol; 31 | } 32 | get null() { 33 | return null; 34 | } 35 | get undefined() { 36 | return undefined; 37 | } 38 | get stringOptional() { 39 | return this.pick(this.string, this.undefined); 40 | } 41 | get stringNullable() { 42 | return this.pick(this.string, this.null); 43 | } 44 | get numberOptional() { 45 | return this.pick(this.number, this.undefined); 46 | } 47 | get numberNullable() { 48 | return this.pick(this.number, this.null); 49 | } 50 | get booleanOptional() { 51 | return this.pick(this.boolean, this.undefined); 52 | } 53 | get booleanNullable() { 54 | return this.pick(this.boolean, this.null); 55 | } 56 | } 57 | exports.Mocker = Mocker; 58 | -------------------------------------------------------------------------------- /node_modules/zod/lib/benchmarks/datetime.d.ts: -------------------------------------------------------------------------------- 1 | import Benchmark from "benchmark"; 2 | declare const _default: { 3 | suites: Benchmark.Suite[]; 4 | }; 5 | export default _default; 6 | -------------------------------------------------------------------------------- /node_modules/zod/lib/benchmarks/discriminatedUnion.d.ts: -------------------------------------------------------------------------------- 1 | import Benchmark from "benchmark"; 2 | declare const _default: { 3 | suites: Benchmark.Suite[]; 4 | }; 5 | export default _default; 6 | -------------------------------------------------------------------------------- /node_modules/zod/lib/benchmarks/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /node_modules/zod/lib/benchmarks/ipv4.d.ts: -------------------------------------------------------------------------------- 1 | import Benchmark from "benchmark"; 2 | declare const _default: { 3 | suites: Benchmark.Suite[]; 4 | }; 5 | export default _default; 6 | -------------------------------------------------------------------------------- /node_modules/zod/lib/benchmarks/object.d.ts: -------------------------------------------------------------------------------- 1 | import Benchmark from "benchmark"; 2 | declare const _default: { 3 | suites: Benchmark.Suite[]; 4 | }; 5 | export default _default; 6 | -------------------------------------------------------------------------------- /node_modules/zod/lib/benchmarks/primitives.d.ts: -------------------------------------------------------------------------------- 1 | import Benchmark from "benchmark"; 2 | declare const _default: { 3 | suites: Benchmark.Suite[]; 4 | }; 5 | export default _default; 6 | -------------------------------------------------------------------------------- /node_modules/zod/lib/benchmarks/realworld.d.ts: -------------------------------------------------------------------------------- 1 | import Benchmark from "benchmark"; 2 | declare const _default: { 3 | suites: Benchmark.Suite[]; 4 | }; 5 | export default _default; 6 | -------------------------------------------------------------------------------- /node_modules/zod/lib/benchmarks/realworld.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | var __importDefault = (this && this.__importDefault) || function (mod) { 3 | return (mod && mod.__esModule) ? mod : { "default": mod }; 4 | }; 5 | Object.defineProperty(exports, "__esModule", { value: true }); 6 | const benchmark_1 = __importDefault(require("benchmark")); 7 | const index_1 = require("../index"); 8 | const shortSuite = new benchmark_1.default.Suite("realworld"); 9 | const People = index_1.z.array(index_1.z.object({ 10 | type: index_1.z.literal("person"), 11 | hair: index_1.z.enum(["blue", "brown"]), 12 | active: index_1.z.boolean(), 13 | name: index_1.z.string(), 14 | age: index_1.z.number().int(), 15 | hobbies: index_1.z.array(index_1.z.string()), 16 | address: index_1.z.object({ 17 | street: index_1.z.string(), 18 | zip: index_1.z.string(), 19 | country: index_1.z.string(), 20 | }), 21 | })); 22 | let i = 0; 23 | function num() { 24 | return ++i; 25 | } 26 | function str() { 27 | return (++i % 100).toString(16); 28 | } 29 | function array(fn) { 30 | return Array.from({ length: ++i % 10 }, () => fn()); 31 | } 32 | const people = Array.from({ length: 100 }, () => { 33 | return { 34 | type: "person", 35 | hair: i % 2 ? "blue" : "brown", 36 | active: !!(i % 2), 37 | name: str(), 38 | age: num(), 39 | hobbies: array(str), 40 | address: { 41 | street: str(), 42 | zip: str(), 43 | country: str(), 44 | }, 45 | }; 46 | }); 47 | shortSuite 48 | .add("valid", () => { 49 | People.parse(people); 50 | }) 51 | .on("cycle", (e) => { 52 | console.log(`${shortSuite.name}: ${e.target}`); 53 | }); 54 | exports.default = { 55 | suites: [shortSuite], 56 | }; 57 | -------------------------------------------------------------------------------- /node_modules/zod/lib/benchmarks/string.d.ts: -------------------------------------------------------------------------------- 1 | import Benchmark from "benchmark"; 2 | declare const _default: { 3 | suites: Benchmark.Suite[]; 4 | }; 5 | export default _default; 6 | -------------------------------------------------------------------------------- /node_modules/zod/lib/benchmarks/string.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | var __importDefault = (this && this.__importDefault) || function (mod) { 3 | return (mod && mod.__esModule) ? mod : { "default": mod }; 4 | }; 5 | Object.defineProperty(exports, "__esModule", { value: true }); 6 | const benchmark_1 = __importDefault(require("benchmark")); 7 | const index_1 = require("../index"); 8 | const SUITE_NAME = "z.string"; 9 | const suite = new benchmark_1.default.Suite(SUITE_NAME); 10 | const empty = ""; 11 | const short = "short"; 12 | const long = "long".repeat(256); 13 | const manual = (str) => { 14 | if (typeof str !== "string") { 15 | throw new Error("Not a string"); 16 | } 17 | return str; 18 | }; 19 | const stringSchema = index_1.z.string(); 20 | const optionalStringSchema = index_1.z.string().optional(); 21 | const optionalNullableStringSchema = index_1.z.string().optional().nullable(); 22 | suite 23 | .add("empty string", () => { 24 | stringSchema.parse(empty); 25 | }) 26 | .add("short string", () => { 27 | stringSchema.parse(short); 28 | }) 29 | .add("long string", () => { 30 | stringSchema.parse(long); 31 | }) 32 | .add("optional string", () => { 33 | optionalStringSchema.parse(long); 34 | }) 35 | .add("nullable string", () => { 36 | optionalNullableStringSchema.parse(long); 37 | }) 38 | .add("nullable (null) string", () => { 39 | optionalNullableStringSchema.parse(null); 40 | }) 41 | .add("invalid: null", () => { 42 | try { 43 | stringSchema.parse(null); 44 | } 45 | catch (err) { } 46 | }) 47 | .add("manual parser: long", () => { 48 | manual(long); 49 | }) 50 | .on("cycle", (e) => { 51 | console.log(`${SUITE_NAME}: ${e.target}`); 52 | }); 53 | exports.default = { 54 | suites: [suite], 55 | }; 56 | -------------------------------------------------------------------------------- /node_modules/zod/lib/benchmarks/union.d.ts: -------------------------------------------------------------------------------- 1 | import Benchmark from "benchmark"; 2 | declare const _default: { 3 | suites: Benchmark.Suite[]; 4 | }; 5 | export default _default; 6 | -------------------------------------------------------------------------------- /node_modules/zod/lib/errors.d.ts: -------------------------------------------------------------------------------- 1 | import defaultErrorMap from "./locales/en"; 2 | import type { ZodErrorMap } from "./ZodError"; 3 | export { defaultErrorMap }; 4 | export declare function setErrorMap(map: ZodErrorMap): void; 5 | export declare function getErrorMap(): ZodErrorMap; 6 | -------------------------------------------------------------------------------- /node_modules/zod/lib/errors.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | var __importDefault = (this && this.__importDefault) || function (mod) { 3 | return (mod && mod.__esModule) ? mod : { "default": mod }; 4 | }; 5 | Object.defineProperty(exports, "__esModule", { value: true }); 6 | exports.getErrorMap = exports.setErrorMap = exports.defaultErrorMap = void 0; 7 | const en_1 = __importDefault(require("./locales/en")); 8 | exports.defaultErrorMap = en_1.default; 9 | let overrideErrorMap = en_1.default; 10 | function setErrorMap(map) { 11 | overrideErrorMap = map; 12 | } 13 | exports.setErrorMap = setErrorMap; 14 | function getErrorMap() { 15 | return overrideErrorMap; 16 | } 17 | exports.getErrorMap = getErrorMap; 18 | -------------------------------------------------------------------------------- /node_modules/zod/lib/external.d.ts: -------------------------------------------------------------------------------- 1 | export * from "./errors"; 2 | export * from "./helpers/parseUtil"; 3 | export * from "./helpers/typeAliases"; 4 | export * from "./helpers/util"; 5 | export * from "./types"; 6 | export * from "./ZodError"; 7 | -------------------------------------------------------------------------------- /node_modules/zod/lib/external.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { 3 | if (k2 === undefined) k2 = k; 4 | Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); 5 | }) : (function(o, m, k, k2) { 6 | if (k2 === undefined) k2 = k; 7 | o[k2] = m[k]; 8 | })); 9 | var __exportStar = (this && this.__exportStar) || function(m, exports) { 10 | for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); 11 | }; 12 | Object.defineProperty(exports, "__esModule", { value: true }); 13 | __exportStar(require("./errors"), exports); 14 | __exportStar(require("./helpers/parseUtil"), exports); 15 | __exportStar(require("./helpers/typeAliases"), exports); 16 | __exportStar(require("./helpers/util"), exports); 17 | __exportStar(require("./types"), exports); 18 | __exportStar(require("./ZodError"), exports); 19 | -------------------------------------------------------------------------------- /node_modules/zod/lib/helpers/enumUtil.d.ts: -------------------------------------------------------------------------------- 1 | export declare namespace enumUtil { 2 | type UnionToIntersectionFn = (T extends unknown ? (k: () => T) => void : never) extends (k: infer Intersection) => void ? Intersection : never; 3 | type GetUnionLast = UnionToIntersectionFn extends () => infer Last ? Last : never; 4 | type UnionToTuple = [T] extends [never] ? Tuple : UnionToTuple>, [GetUnionLast, ...Tuple]>; 5 | type CastToStringTuple = T extends [string, ...string[]] ? T : never; 6 | export type UnionToTupleString = CastToStringTuple>; 7 | export {}; 8 | } 9 | -------------------------------------------------------------------------------- /node_modules/zod/lib/helpers/enumUtil.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | -------------------------------------------------------------------------------- /node_modules/zod/lib/helpers/errorUtil.d.ts: -------------------------------------------------------------------------------- 1 | export declare namespace errorUtil { 2 | type ErrMessage = string | { 3 | message?: string; 4 | }; 5 | const errToObj: (message?: ErrMessage | undefined) => { 6 | message?: string | undefined; 7 | }; 8 | const toString: (message?: ErrMessage | undefined) => string | undefined; 9 | } 10 | -------------------------------------------------------------------------------- /node_modules/zod/lib/helpers/errorUtil.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | exports.errorUtil = void 0; 4 | var errorUtil; 5 | (function (errorUtil) { 6 | errorUtil.errToObj = (message) => typeof message === "string" ? { message } : message || {}; 7 | errorUtil.toString = (message) => typeof message === "string" ? message : message === null || message === void 0 ? void 0 : message.message; 8 | })(errorUtil = exports.errorUtil || (exports.errorUtil = {})); 9 | -------------------------------------------------------------------------------- /node_modules/zod/lib/helpers/partialUtil.d.ts: -------------------------------------------------------------------------------- 1 | import type { ZodArray, ZodNullable, ZodObject, ZodOptional, ZodRawShape, ZodTuple, ZodTupleItems, ZodTypeAny } from "../index"; 2 | export declare namespace partialUtil { 3 | type DeepPartial = T extends ZodObject ? ZodObject<{ 4 | [k in keyof T["shape"]]: ZodOptional>; 5 | }, T["_def"]["unknownKeys"], T["_def"]["catchall"]> : T extends ZodArray ? ZodArray, Card> : T extends ZodOptional ? ZodOptional> : T extends ZodNullable ? ZodNullable> : T extends ZodTuple ? { 6 | [k in keyof Items]: Items[k] extends ZodTypeAny ? DeepPartial : never; 7 | } extends infer PI ? PI extends ZodTupleItems ? ZodTuple : never : never : T; 8 | } 9 | -------------------------------------------------------------------------------- /node_modules/zod/lib/helpers/partialUtil.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | -------------------------------------------------------------------------------- /node_modules/zod/lib/helpers/typeAliases.d.ts: -------------------------------------------------------------------------------- 1 | export declare type Primitive = string | number | symbol | bigint | boolean | null | undefined; 2 | export declare type Scalars = Primitive | Primitive[]; 3 | -------------------------------------------------------------------------------- /node_modules/zod/lib/helpers/typeAliases.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | -------------------------------------------------------------------------------- /node_modules/zod/lib/index.d.ts: -------------------------------------------------------------------------------- 1 | import * as z from "./external"; 2 | export * from "./external"; 3 | export { z }; 4 | export default z; 5 | -------------------------------------------------------------------------------- /node_modules/zod/lib/index.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { 3 | if (k2 === undefined) k2 = k; 4 | Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); 5 | }) : (function(o, m, k, k2) { 6 | if (k2 === undefined) k2 = k; 7 | o[k2] = m[k]; 8 | })); 9 | var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { 10 | Object.defineProperty(o, "default", { enumerable: true, value: v }); 11 | }) : function(o, v) { 12 | o["default"] = v; 13 | }); 14 | var __importStar = (this && this.__importStar) || function (mod) { 15 | if (mod && mod.__esModule) return mod; 16 | var result = {}; 17 | if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); 18 | __setModuleDefault(result, mod); 19 | return result; 20 | }; 21 | var __exportStar = (this && this.__exportStar) || function(m, exports) { 22 | for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); 23 | }; 24 | Object.defineProperty(exports, "__esModule", { value: true }); 25 | exports.z = void 0; 26 | const z = __importStar(require("./external")); 27 | exports.z = z; 28 | __exportStar(require("./external"), exports); 29 | exports.default = z; 30 | -------------------------------------------------------------------------------- /node_modules/zod/lib/locales/en.d.ts: -------------------------------------------------------------------------------- 1 | import { ZodErrorMap } from "../ZodError"; 2 | declare const errorMap: ZodErrorMap; 3 | export default errorMap; 4 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "xcode-mcp-server", 3 | "version": "1.0.0", 4 | "main": "index.js", 5 | "scripts": { 6 | "test": "echo \"Error: no test specified\" && exit 1", 7 | "build": "tsc", 8 | "start": "node build/index.js" 9 | }, 10 | "type": "module", 11 | "keywords": [], 12 | "author": "", 13 | "license": "ISC", 14 | "description": "", 15 | "dependencies": { 16 | "@modelcontextprotocol/sdk": "^1.0.1" 17 | }, 18 | "devDependencies": { 19 | "@types/node": "^22.10.1", 20 | "typescript": "^5.7.2" 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "target": "ES2020", 4 | "module": "ES2020", 5 | "moduleResolution": "node", 6 | "outDir": "./build", 7 | "strict": true, 8 | "esModuleInterop": true, 9 | "skipLibCheck": true, 10 | "forceConsistentCasingInFileNames": true 11 | }, 12 | "include": ["src/**/*"] 13 | } --------------------------------------------------------------------------------