aizryu.js 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- package/.cache/replit/__replit_disk_meta.json +1 -0
- package/.cache/replit/modules.stamp +0 -0
- package/.cache/replit/nix/env.json +1 -0
- package/.cache/typescript/5.0/node_modules/.package-lock.json +156 -0
- package/.cache/typescript/5.0/node_modules/@types/body-parser/LICENSE +21 -0
- package/.cache/typescript/5.0/node_modules/@types/body-parser/README.md +15 -0
- package/.cache/typescript/5.0/node_modules/@types/body-parser/index.d.ts +95 -0
- package/.cache/typescript/5.0/node_modules/@types/body-parser/package.json +58 -0
- package/.cache/typescript/5.0/node_modules/@types/connect/LICENSE +21 -0
- package/.cache/typescript/5.0/node_modules/@types/connect/README.md +15 -0
- package/.cache/typescript/5.0/node_modules/@types/connect/index.d.ts +91 -0
- package/.cache/typescript/5.0/node_modules/@types/connect/package.json +32 -0
- package/.cache/typescript/5.0/node_modules/@types/express/LICENSE +21 -0
- package/.cache/typescript/5.0/node_modules/@types/express/README.md +15 -0
- package/.cache/typescript/5.0/node_modules/@types/express/index.d.ts +128 -0
- package/.cache/typescript/5.0/node_modules/@types/express/package.json +45 -0
- package/.cache/typescript/5.0/node_modules/@types/express-serve-static-core/LICENSE +21 -0
- package/.cache/typescript/5.0/node_modules/@types/express-serve-static-core/README.md +15 -0
- package/.cache/typescript/5.0/node_modules/@types/express-serve-static-core/index.d.ts +1261 -0
- package/.cache/typescript/5.0/node_modules/@types/express-serve-static-core/package.json +55 -0
- package/.cache/typescript/5.0/node_modules/@types/http-errors/LICENSE +21 -0
- package/.cache/typescript/5.0/node_modules/@types/http-errors/README.md +15 -0
- package/.cache/typescript/5.0/node_modules/@types/http-errors/index.d.ts +77 -0
- package/.cache/typescript/5.0/node_modules/@types/http-errors/package.json +30 -0
- package/.cache/typescript/5.0/node_modules/@types/jsdom/LICENSE +21 -0
- package/.cache/typescript/5.0/node_modules/@types/jsdom/README.md +15 -0
- package/.cache/typescript/5.0/node_modules/@types/jsdom/base.d.ts +456 -0
- package/.cache/typescript/5.0/node_modules/@types/jsdom/index.d.ts +18 -0
- package/.cache/typescript/5.0/node_modules/@types/jsdom/package.json +45 -0
- package/.cache/typescript/5.0/node_modules/@types/mime/LICENSE +21 -0
- package/.cache/typescript/5.0/node_modules/@types/mime/Mime.d.ts +10 -0
- package/.cache/typescript/5.0/node_modules/@types/mime/README.md +15 -0
- package/.cache/typescript/5.0/node_modules/@types/mime/index.d.ts +31 -0
- package/.cache/typescript/5.0/node_modules/@types/mime/lite.d.ts +7 -0
- package/.cache/typescript/5.0/node_modules/@types/mime/package.json +30 -0
- package/.cache/typescript/5.0/node_modules/@types/node/LICENSE +21 -0
- package/.cache/typescript/5.0/node_modules/@types/node/README.md +15 -0
- package/.cache/typescript/5.0/node_modules/@types/node/assert/strict.d.ts +8 -0
- package/.cache/typescript/5.0/node_modules/@types/node/assert.d.ts +996 -0
- package/.cache/typescript/5.0/node_modules/@types/node/async_hooks.d.ts +539 -0
- package/.cache/typescript/5.0/node_modules/@types/node/buffer.d.ts +2362 -0
- package/.cache/typescript/5.0/node_modules/@types/node/child_process.d.ts +1540 -0
- package/.cache/typescript/5.0/node_modules/@types/node/cluster.d.ts +432 -0
- package/.cache/typescript/5.0/node_modules/@types/node/console.d.ts +415 -0
- package/.cache/typescript/5.0/node_modules/@types/node/constants.d.ts +19 -0
- package/.cache/typescript/5.0/node_modules/@types/node/crypto.d.ts +4456 -0
- package/.cache/typescript/5.0/node_modules/@types/node/dgram.d.ts +586 -0
- package/.cache/typescript/5.0/node_modules/@types/node/diagnostics_channel.d.ts +191 -0
- package/.cache/typescript/5.0/node_modules/@types/node/dns/promises.d.ts +425 -0
- package/.cache/typescript/5.0/node_modules/@types/node/dns.d.ts +809 -0
- package/.cache/typescript/5.0/node_modules/@types/node/dom-events.d.ts +122 -0
- package/.cache/typescript/5.0/node_modules/@types/node/domain.d.ts +170 -0
- package/.cache/typescript/5.0/node_modules/@types/node/events.d.ts +879 -0
- package/.cache/typescript/5.0/node_modules/@types/node/fs/promises.d.ts +1239 -0
- package/.cache/typescript/5.0/node_modules/@types/node/fs.d.ts +4291 -0
- package/.cache/typescript/5.0/node_modules/@types/node/globals.d.ts +381 -0
- package/.cache/typescript/5.0/node_modules/@types/node/globals.global.d.ts +1 -0
- package/.cache/typescript/5.0/node_modules/@types/node/http.d.ts +1888 -0
- package/.cache/typescript/5.0/node_modules/@types/node/http2.d.ts +2382 -0
- package/.cache/typescript/5.0/node_modules/@types/node/https.d.ts +550 -0
- package/.cache/typescript/5.0/node_modules/@types/node/index.d.ts +88 -0
- package/.cache/typescript/5.0/node_modules/@types/node/inspector.d.ts +2747 -0
- package/.cache/typescript/5.0/node_modules/@types/node/module.d.ts +301 -0
- package/.cache/typescript/5.0/node_modules/@types/node/net.d.ts +949 -0
- package/.cache/typescript/5.0/node_modules/@types/node/os.d.ts +478 -0
- package/.cache/typescript/5.0/node_modules/@types/node/package.json +230 -0
- package/.cache/typescript/5.0/node_modules/@types/node/path.d.ts +191 -0
- package/.cache/typescript/5.0/node_modules/@types/node/perf_hooks.d.ts +639 -0
- package/.cache/typescript/5.0/node_modules/@types/node/process.d.ts +1532 -0
- package/.cache/typescript/5.0/node_modules/@types/node/punycode.d.ts +117 -0
- package/.cache/typescript/5.0/node_modules/@types/node/querystring.d.ts +141 -0
- package/.cache/typescript/5.0/node_modules/@types/node/readline/promises.d.ts +150 -0
- package/.cache/typescript/5.0/node_modules/@types/node/readline.d.ts +539 -0
- package/.cache/typescript/5.0/node_modules/@types/node/repl.d.ts +430 -0
- package/.cache/typescript/5.0/node_modules/@types/node/stream/consumers.d.ts +12 -0
- package/.cache/typescript/5.0/node_modules/@types/node/stream/promises.d.ts +83 -0
- package/.cache/typescript/5.0/node_modules/@types/node/stream/web.d.ts +350 -0
- package/.cache/typescript/5.0/node_modules/@types/node/stream.d.ts +1701 -0
- package/.cache/typescript/5.0/node_modules/@types/node/string_decoder.d.ts +67 -0
- package/.cache/typescript/5.0/node_modules/@types/node/test.d.ts +1382 -0
- package/.cache/typescript/5.0/node_modules/@types/node/timers/promises.d.ts +93 -0
- package/.cache/typescript/5.0/node_modules/@types/node/timers.d.ts +240 -0
- package/.cache/typescript/5.0/node_modules/@types/node/tls.d.ts +1210 -0
- package/.cache/typescript/5.0/node_modules/@types/node/trace_events.d.ts +182 -0
- package/.cache/typescript/5.0/node_modules/@types/node/ts4.8/assert/strict.d.ts +8 -0
- package/.cache/typescript/5.0/node_modules/@types/node/ts4.8/assert.d.ts +996 -0
- package/.cache/typescript/5.0/node_modules/@types/node/ts4.8/async_hooks.d.ts +539 -0
- package/.cache/typescript/5.0/node_modules/@types/node/ts4.8/buffer.d.ts +2362 -0
- package/.cache/typescript/5.0/node_modules/@types/node/ts4.8/child_process.d.ts +1540 -0
- package/.cache/typescript/5.0/node_modules/@types/node/ts4.8/cluster.d.ts +432 -0
- package/.cache/typescript/5.0/node_modules/@types/node/ts4.8/console.d.ts +415 -0
- package/.cache/typescript/5.0/node_modules/@types/node/ts4.8/constants.d.ts +19 -0
- package/.cache/typescript/5.0/node_modules/@types/node/ts4.8/crypto.d.ts +4455 -0
- package/.cache/typescript/5.0/node_modules/@types/node/ts4.8/dgram.d.ts +586 -0
- package/.cache/typescript/5.0/node_modules/@types/node/ts4.8/diagnostics_channel.d.ts +191 -0
- package/.cache/typescript/5.0/node_modules/@types/node/ts4.8/dns/promises.d.ts +425 -0
- package/.cache/typescript/5.0/node_modules/@types/node/ts4.8/dns.d.ts +809 -0
- package/.cache/typescript/5.0/node_modules/@types/node/ts4.8/dom-events.d.ts +122 -0
- package/.cache/typescript/5.0/node_modules/@types/node/ts4.8/domain.d.ts +170 -0
- package/.cache/typescript/5.0/node_modules/@types/node/ts4.8/events.d.ts +879 -0
- package/.cache/typescript/5.0/node_modules/@types/node/ts4.8/fs/promises.d.ts +1239 -0
- package/.cache/typescript/5.0/node_modules/@types/node/ts4.8/fs.d.ts +4291 -0
- package/.cache/typescript/5.0/node_modules/@types/node/ts4.8/globals.d.ts +381 -0
- package/.cache/typescript/5.0/node_modules/@types/node/ts4.8/globals.global.d.ts +1 -0
- package/.cache/typescript/5.0/node_modules/@types/node/ts4.8/http.d.ts +1888 -0
- package/.cache/typescript/5.0/node_modules/@types/node/ts4.8/http2.d.ts +2382 -0
- package/.cache/typescript/5.0/node_modules/@types/node/ts4.8/https.d.ts +550 -0
- package/.cache/typescript/5.0/node_modules/@types/node/ts4.8/index.d.ts +88 -0
- package/.cache/typescript/5.0/node_modules/@types/node/ts4.8/inspector.d.ts +2747 -0
- package/.cache/typescript/5.0/node_modules/@types/node/ts4.8/module.d.ts +301 -0
- package/.cache/typescript/5.0/node_modules/@types/node/ts4.8/net.d.ts +949 -0
- package/.cache/typescript/5.0/node_modules/@types/node/ts4.8/os.d.ts +478 -0
- package/.cache/typescript/5.0/node_modules/@types/node/ts4.8/path.d.ts +191 -0
- package/.cache/typescript/5.0/node_modules/@types/node/ts4.8/perf_hooks.d.ts +639 -0
- package/.cache/typescript/5.0/node_modules/@types/node/ts4.8/process.d.ts +1532 -0
- package/.cache/typescript/5.0/node_modules/@types/node/ts4.8/punycode.d.ts +117 -0
- package/.cache/typescript/5.0/node_modules/@types/node/ts4.8/querystring.d.ts +141 -0
- package/.cache/typescript/5.0/node_modules/@types/node/ts4.8/readline/promises.d.ts +150 -0
- package/.cache/typescript/5.0/node_modules/@types/node/ts4.8/readline.d.ts +539 -0
- package/.cache/typescript/5.0/node_modules/@types/node/ts4.8/repl.d.ts +430 -0
- package/.cache/typescript/5.0/node_modules/@types/node/ts4.8/stream/consumers.d.ts +12 -0
- package/.cache/typescript/5.0/node_modules/@types/node/ts4.8/stream/promises.d.ts +83 -0
- package/.cache/typescript/5.0/node_modules/@types/node/ts4.8/stream/web.d.ts +350 -0
- package/.cache/typescript/5.0/node_modules/@types/node/ts4.8/stream.d.ts +1701 -0
- package/.cache/typescript/5.0/node_modules/@types/node/ts4.8/string_decoder.d.ts +67 -0
- package/.cache/typescript/5.0/node_modules/@types/node/ts4.8/test.d.ts +1382 -0
- package/.cache/typescript/5.0/node_modules/@types/node/ts4.8/timers/promises.d.ts +93 -0
- package/.cache/typescript/5.0/node_modules/@types/node/ts4.8/timers.d.ts +240 -0
- package/.cache/typescript/5.0/node_modules/@types/node/ts4.8/tls.d.ts +1210 -0
- package/.cache/typescript/5.0/node_modules/@types/node/ts4.8/trace_events.d.ts +182 -0
- package/.cache/typescript/5.0/node_modules/@types/node/ts4.8/tty.d.ts +208 -0
- package/.cache/typescript/5.0/node_modules/@types/node/ts4.8/url.d.ts +927 -0
- package/.cache/typescript/5.0/node_modules/@types/node/ts4.8/util.d.ts +2186 -0
- package/.cache/typescript/5.0/node_modules/@types/node/ts4.8/v8.d.ts +635 -0
- package/.cache/typescript/5.0/node_modules/@types/node/ts4.8/vm.d.ts +903 -0
- package/.cache/typescript/5.0/node_modules/@types/node/ts4.8/wasi.d.ts +158 -0
- package/.cache/typescript/5.0/node_modules/@types/node/ts4.8/worker_threads.d.ts +691 -0
- package/.cache/typescript/5.0/node_modules/@types/node/ts4.8/zlib.d.ts +517 -0
- package/.cache/typescript/5.0/node_modules/@types/node/tty.d.ts +208 -0
- package/.cache/typescript/5.0/node_modules/@types/node/url.d.ts +927 -0
- package/.cache/typescript/5.0/node_modules/@types/node/util.d.ts +2186 -0
- package/.cache/typescript/5.0/node_modules/@types/node/v8.d.ts +635 -0
- package/.cache/typescript/5.0/node_modules/@types/node/vm.d.ts +903 -0
- package/.cache/typescript/5.0/node_modules/@types/node/wasi.d.ts +158 -0
- package/.cache/typescript/5.0/node_modules/@types/node/worker_threads.d.ts +691 -0
- package/.cache/typescript/5.0/node_modules/@types/node/zlib.d.ts +517 -0
- package/.cache/typescript/5.0/node_modules/@types/qs/LICENSE +21 -0
- package/.cache/typescript/5.0/node_modules/@types/qs/README.md +75 -0
- package/.cache/typescript/5.0/node_modules/@types/qs/index.d.ts +56 -0
- package/.cache/typescript/5.0/node_modules/@types/qs/package.json +65 -0
- package/.cache/typescript/5.0/node_modules/@types/range-parser/LICENSE +21 -0
- package/.cache/typescript/5.0/node_modules/@types/range-parser/README.md +53 -0
- package/.cache/typescript/5.0/node_modules/@types/range-parser/index.d.ts +34 -0
- package/.cache/typescript/5.0/node_modules/@types/range-parser/package.json +25 -0
- package/.cache/typescript/5.0/node_modules/@types/send/LICENSE +21 -0
- package/.cache/typescript/5.0/node_modules/@types/send/README.md +15 -0
- package/.cache/typescript/5.0/node_modules/@types/send/index.d.ts +225 -0
- package/.cache/typescript/5.0/node_modules/@types/send/package.json +33 -0
- package/.cache/typescript/5.0/node_modules/@types/serve-static/LICENSE +21 -0
- package/.cache/typescript/5.0/node_modules/@types/serve-static/README.md +15 -0
- package/.cache/typescript/5.0/node_modules/@types/serve-static/index.d.ts +107 -0
- package/.cache/typescript/5.0/node_modules/@types/serve-static/package.json +39 -0
- package/.cache/typescript/5.0/node_modules/@types/tough-cookie/LICENSE +21 -0
- package/.cache/typescript/5.0/node_modules/@types/tough-cookie/README.md +15 -0
- package/.cache/typescript/5.0/node_modules/@types/tough-cookie/index.d.ts +321 -0
- package/.cache/typescript/5.0/node_modules/@types/tough-cookie/package.json +35 -0
- package/.cache/typescript/5.0/node_modules/entities/LICENSE +11 -0
- package/.cache/typescript/5.0/node_modules/entities/lib/decode.d.ts +211 -0
- package/.cache/typescript/5.0/node_modules/entities/lib/decode.d.ts.map +1 -0
- package/.cache/typescript/5.0/node_modules/entities/lib/decode.js +536 -0
- package/.cache/typescript/5.0/node_modules/entities/lib/decode.js.map +1 -0
- package/.cache/typescript/5.0/node_modules/entities/lib/decode_codepoint.d.ts +19 -0
- package/.cache/typescript/5.0/node_modules/entities/lib/decode_codepoint.d.ts.map +1 -0
- package/.cache/typescript/5.0/node_modules/entities/lib/decode_codepoint.js +76 -0
- package/.cache/typescript/5.0/node_modules/entities/lib/decode_codepoint.js.map +1 -0
- package/.cache/typescript/5.0/node_modules/entities/lib/encode.d.ts +22 -0
- package/.cache/typescript/5.0/node_modules/entities/lib/encode.d.ts.map +1 -0
- package/.cache/typescript/5.0/node_modules/entities/lib/encode.js +77 -0
- package/.cache/typescript/5.0/node_modules/entities/lib/encode.js.map +1 -0
- package/.cache/typescript/5.0/node_modules/entities/lib/escape.d.ts +43 -0
- package/.cache/typescript/5.0/node_modules/entities/lib/escape.d.ts.map +1 -0
- package/.cache/typescript/5.0/node_modules/entities/lib/escape.js +122 -0
- package/.cache/typescript/5.0/node_modules/entities/lib/escape.js.map +1 -0
- package/.cache/typescript/5.0/node_modules/entities/lib/esm/decode.d.ts +211 -0
- package/.cache/typescript/5.0/node_modules/entities/lib/esm/decode.d.ts.map +1 -0
- package/.cache/typescript/5.0/node_modules/entities/lib/esm/decode.js +496 -0
- package/.cache/typescript/5.0/node_modules/entities/lib/esm/decode.js.map +1 -0
- package/.cache/typescript/5.0/node_modules/entities/lib/esm/decode_codepoint.d.ts +19 -0
- package/.cache/typescript/5.0/node_modules/entities/lib/esm/decode_codepoint.d.ts.map +1 -0
- package/.cache/typescript/5.0/node_modules/entities/lib/esm/decode_codepoint.js +71 -0
- package/.cache/typescript/5.0/node_modules/entities/lib/esm/decode_codepoint.js.map +1 -0
- package/.cache/typescript/5.0/node_modules/entities/lib/esm/encode.d.ts +22 -0
- package/.cache/typescript/5.0/node_modules/entities/lib/esm/encode.d.ts.map +1 -0
- package/.cache/typescript/5.0/node_modules/entities/lib/esm/encode.js +69 -0
- package/.cache/typescript/5.0/node_modules/entities/lib/esm/encode.js.map +1 -0
- package/.cache/typescript/5.0/node_modules/entities/lib/esm/escape.d.ts +43 -0
- package/.cache/typescript/5.0/node_modules/entities/lib/esm/escape.d.ts.map +1 -0
- package/.cache/typescript/5.0/node_modules/entities/lib/esm/escape.js +116 -0
- package/.cache/typescript/5.0/node_modules/entities/lib/esm/escape.js.map +1 -0
- package/.cache/typescript/5.0/node_modules/entities/lib/esm/generated/decode-data-html.d.ts +3 -0
- package/.cache/typescript/5.0/node_modules/entities/lib/esm/generated/decode-data-html.d.ts.map +1 -0
- package/.cache/typescript/5.0/node_modules/entities/lib/esm/generated/decode-data-html.js +7 -0
- package/.cache/typescript/5.0/node_modules/entities/lib/esm/generated/decode-data-html.js.map +1 -0
- package/.cache/typescript/5.0/node_modules/entities/lib/esm/generated/decode-data-xml.d.ts +3 -0
- package/.cache/typescript/5.0/node_modules/entities/lib/esm/generated/decode-data-xml.d.ts.map +1 -0
- package/.cache/typescript/5.0/node_modules/entities/lib/esm/generated/decode-data-xml.js +7 -0
- package/.cache/typescript/5.0/node_modules/entities/lib/esm/generated/decode-data-xml.js.map +1 -0
- package/.cache/typescript/5.0/node_modules/entities/lib/esm/generated/encode-html.d.ts +8 -0
- package/.cache/typescript/5.0/node_modules/entities/lib/esm/generated/encode-html.d.ts.map +1 -0
- package/.cache/typescript/5.0/node_modules/entities/lib/esm/generated/encode-html.js +10 -0
- package/.cache/typescript/5.0/node_modules/entities/lib/esm/generated/encode-html.js.map +1 -0
- package/.cache/typescript/5.0/node_modules/entities/lib/esm/index.d.ts +96 -0
- package/.cache/typescript/5.0/node_modules/entities/lib/esm/index.d.ts.map +1 -0
- package/.cache/typescript/5.0/node_modules/entities/lib/esm/index.js +99 -0
- package/.cache/typescript/5.0/node_modules/entities/lib/esm/index.js.map +1 -0
- package/.cache/typescript/5.0/node_modules/entities/lib/esm/package.json +1 -0
- package/.cache/typescript/5.0/node_modules/entities/lib/generated/decode-data-html.d.ts +3 -0
- package/.cache/typescript/5.0/node_modules/entities/lib/generated/decode-data-html.d.ts.map +1 -0
- package/.cache/typescript/5.0/node_modules/entities/lib/generated/decode-data-html.js +9 -0
- package/.cache/typescript/5.0/node_modules/entities/lib/generated/decode-data-html.js.map +1 -0
- package/.cache/typescript/5.0/node_modules/entities/lib/generated/decode-data-xml.d.ts +3 -0
- package/.cache/typescript/5.0/node_modules/entities/lib/generated/decode-data-xml.d.ts.map +1 -0
- package/.cache/typescript/5.0/node_modules/entities/lib/generated/decode-data-xml.js +9 -0
- package/.cache/typescript/5.0/node_modules/entities/lib/generated/decode-data-xml.js.map +1 -0
- package/.cache/typescript/5.0/node_modules/entities/lib/generated/encode-html.d.ts +8 -0
- package/.cache/typescript/5.0/node_modules/entities/lib/generated/encode-html.d.ts.map +1 -0
- package/.cache/typescript/5.0/node_modules/entities/lib/generated/encode-html.js +12 -0
- package/.cache/typescript/5.0/node_modules/entities/lib/generated/encode-html.js.map +1 -0
- package/.cache/typescript/5.0/node_modules/entities/lib/index.d.ts +96 -0
- package/.cache/typescript/5.0/node_modules/entities/lib/index.d.ts.map +1 -0
- package/.cache/typescript/5.0/node_modules/entities/lib/index.js +126 -0
- package/.cache/typescript/5.0/node_modules/entities/lib/index.js.map +1 -0
- package/.cache/typescript/5.0/node_modules/entities/package.json +90 -0
- package/.cache/typescript/5.0/node_modules/entities/readme.md +122 -0
- package/.cache/typescript/5.0/node_modules/parse5/LICENSE +19 -0
- package/.cache/typescript/5.0/node_modules/parse5/README.md +38 -0
- package/.cache/typescript/5.0/node_modules/parse5/dist/cjs/common/doctype.d.ts +5 -0
- package/.cache/typescript/5.0/node_modules/parse5/dist/cjs/common/doctype.js +120 -0
- package/.cache/typescript/5.0/node_modules/parse5/dist/cjs/common/error-codes.d.ts +68 -0
- package/.cache/typescript/5.0/node_modules/parse5/dist/cjs/common/error-codes.js +67 -0
- package/.cache/typescript/5.0/node_modules/parse5/dist/cjs/common/foreign-content.d.ts +10 -0
- package/.cache/typescript/5.0/node_modules/parse5/dist/cjs/common/foreign-content.js +239 -0
- package/.cache/typescript/5.0/node_modules/parse5/dist/cjs/common/html.d.ts +288 -0
- package/.cache/typescript/5.0/node_modules/parse5/dist/cjs/common/html.js +529 -0
- package/.cache/typescript/5.0/node_modules/parse5/dist/cjs/common/token.d.ts +85 -0
- package/.cache/typescript/5.0/node_modules/parse5/dist/cjs/common/token.js +25 -0
- package/.cache/typescript/5.0/node_modules/parse5/dist/cjs/common/unicode.d.ts +49 -0
- package/.cache/typescript/5.0/node_modules/parse5/dist/cjs/common/unicode.js +77 -0
- package/.cache/typescript/5.0/node_modules/parse5/dist/cjs/index.d.ts +60 -0
- package/.cache/typescript/5.0/node_modules/parse5/dist/cjs/index.js +57 -0
- package/.cache/typescript/5.0/node_modules/parse5/dist/cjs/package.json +1 -0
- package/.cache/typescript/5.0/node_modules/parse5/dist/cjs/parser/formatting-element-list.d.ts +37 -0
- package/.cache/typescript/5.0/node_modules/parse5/dist/cjs/parser/formatting-element-list.js +115 -0
- package/.cache/typescript/5.0/node_modules/parse5/dist/cjs/parser/index.d.ts +157 -0
- package/.cache/typescript/5.0/node_modules/parse5/dist/cjs/parser/index.js +3163 -0
- package/.cache/typescript/5.0/node_modules/parse5/dist/cjs/parser/open-element-stack.d.ts +53 -0
- package/.cache/typescript/5.0/node_modules/parse5/dist/cjs/parser/open-element-stack.js +316 -0
- package/.cache/typescript/5.0/node_modules/parse5/dist/cjs/serializer/index.d.ts +61 -0
- package/.cache/typescript/5.0/node_modules/parse5/dist/cjs/serializer/index.js +173 -0
- package/.cache/typescript/5.0/node_modules/parse5/dist/cjs/tokenizer/index.d.ts +248 -0
- package/.cache/typescript/5.0/node_modules/parse5/dist/cjs/tokenizer/index.js +2908 -0
- package/.cache/typescript/5.0/node_modules/parse5/dist/cjs/tokenizer/preprocessor.d.ts +37 -0
- package/.cache/typescript/5.0/node_modules/parse5/dist/cjs/tokenizer/preprocessor.js +199 -0
- package/.cache/typescript/5.0/node_modules/parse5/dist/cjs/tree-adapters/default.d.ts +85 -0
- package/.cache/typescript/5.0/node_modules/parse5/dist/cjs/tree-adapters/default.js +177 -0
- package/.cache/typescript/5.0/node_modules/parse5/dist/cjs/tree-adapters/interface.d.ts +250 -0
- package/.cache/typescript/5.0/node_modules/parse5/dist/cjs/tree-adapters/interface.js +3 -0
- package/.cache/typescript/5.0/node_modules/parse5/dist/common/doctype.d.ts +5 -0
- package/.cache/typescript/5.0/node_modules/parse5/dist/common/doctype.js +115 -0
- package/.cache/typescript/5.0/node_modules/parse5/dist/common/error-codes.d.ts +68 -0
- package/.cache/typescript/5.0/node_modules/parse5/dist/common/error-codes.js +64 -0
- package/.cache/typescript/5.0/node_modules/parse5/dist/common/foreign-content.d.ts +10 -0
- package/.cache/typescript/5.0/node_modules/parse5/dist/common/foreign-content.js +230 -0
- package/.cache/typescript/5.0/node_modules/parse5/dist/common/html.d.ts +288 -0
- package/.cache/typescript/5.0/node_modules/parse5/dist/common/html.js +523 -0
- package/.cache/typescript/5.0/node_modules/parse5/dist/common/token.d.ts +85 -0
- package/.cache/typescript/5.0/node_modules/parse5/dist/common/token.js +21 -0
- package/.cache/typescript/5.0/node_modules/parse5/dist/common/unicode.d.ts +49 -0
- package/.cache/typescript/5.0/node_modules/parse5/dist/common/unicode.js +69 -0
- package/.cache/typescript/5.0/node_modules/parse5/dist/index.d.ts +60 -0
- package/.cache/typescript/5.0/node_modules/parse5/dist/index.js +45 -0
- package/.cache/typescript/5.0/node_modules/parse5/dist/parser/formatting-element-list.d.ts +37 -0
- package/.cache/typescript/5.0/node_modules/parse5/dist/parser/formatting-element-list.js +111 -0
- package/.cache/typescript/5.0/node_modules/parse5/dist/parser/index.d.ts +157 -0
- package/.cache/typescript/5.0/node_modules/parse5/dist/parser/index.js +3168 -0
- package/.cache/typescript/5.0/node_modules/parse5/dist/parser/open-element-stack.d.ts +53 -0
- package/.cache/typescript/5.0/node_modules/parse5/dist/parser/open-element-stack.js +312 -0
- package/.cache/typescript/5.0/node_modules/parse5/dist/serializer/index.d.ts +61 -0
- package/.cache/typescript/5.0/node_modules/parse5/dist/serializer/index.js +168 -0
- package/.cache/typescript/5.0/node_modules/parse5/dist/tokenizer/index.d.ts +248 -0
- package/.cache/typescript/5.0/node_modules/parse5/dist/tokenizer/index.js +2904 -0
- package/.cache/typescript/5.0/node_modules/parse5/dist/tokenizer/preprocessor.d.ts +37 -0
- package/.cache/typescript/5.0/node_modules/parse5/dist/tokenizer/preprocessor.js +195 -0
- package/.cache/typescript/5.0/node_modules/parse5/dist/tree-adapters/default.d.ts +85 -0
- package/.cache/typescript/5.0/node_modules/parse5/dist/tree-adapters/default.js +174 -0
- package/.cache/typescript/5.0/node_modules/parse5/dist/tree-adapters/interface.d.ts +250 -0
- package/.cache/typescript/5.0/node_modules/parse5/dist/tree-adapters/interface.js +2 -0
- package/.cache/typescript/5.0/node_modules/parse5/package.json +50 -0
- package/.cache/typescript/5.0/node_modules/types-registry/README.md +2 -0
- package/.cache/typescript/5.0/node_modules/types-registry/index.json +1 -0
- package/.cache/typescript/5.0/node_modules/types-registry/package.json +20 -0
- package/.cache/typescript/5.0/node_modules/undici-types/README.md +6 -0
- package/.cache/typescript/5.0/node_modules/undici-types/agent.d.ts +31 -0
- package/.cache/typescript/5.0/node_modules/undici-types/api.d.ts +43 -0
- package/.cache/typescript/5.0/node_modules/undici-types/balanced-pool.d.ts +18 -0
- package/.cache/typescript/5.0/node_modules/undici-types/cache.d.ts +36 -0
- package/.cache/typescript/5.0/node_modules/undici-types/client.d.ts +97 -0
- package/.cache/typescript/5.0/node_modules/undici-types/connector.d.ts +34 -0
- package/.cache/typescript/5.0/node_modules/undici-types/content-type.d.ts +21 -0
- package/.cache/typescript/5.0/node_modules/undici-types/cookies.d.ts +28 -0
- package/.cache/typescript/5.0/node_modules/undici-types/diagnostics-channel.d.ts +67 -0
- package/.cache/typescript/5.0/node_modules/undici-types/dispatcher.d.ts +241 -0
- package/.cache/typescript/5.0/node_modules/undici-types/errors.d.ts +128 -0
- package/.cache/typescript/5.0/node_modules/undici-types/fetch.d.ts +209 -0
- package/.cache/typescript/5.0/node_modules/undici-types/file.d.ts +39 -0
- package/.cache/typescript/5.0/node_modules/undici-types/filereader.d.ts +54 -0
- package/.cache/typescript/5.0/node_modules/undici-types/formdata.d.ts +108 -0
- package/.cache/typescript/5.0/node_modules/undici-types/global-dispatcher.d.ts +9 -0
- package/.cache/typescript/5.0/node_modules/undici-types/global-origin.d.ts +7 -0
- package/.cache/typescript/5.0/node_modules/undici-types/handlers.d.ts +9 -0
- package/.cache/typescript/5.0/node_modules/undici-types/header.d.ts +4 -0
- package/.cache/typescript/5.0/node_modules/undici-types/index.d.ts +63 -0
- package/.cache/typescript/5.0/node_modules/undici-types/interceptors.d.ts +5 -0
- package/.cache/typescript/5.0/node_modules/undici-types/mock-agent.d.ts +50 -0
- package/.cache/typescript/5.0/node_modules/undici-types/mock-client.d.ts +25 -0
- package/.cache/typescript/5.0/node_modules/undici-types/mock-errors.d.ts +12 -0
- package/.cache/typescript/5.0/node_modules/undici-types/mock-interceptor.d.ts +93 -0
- package/.cache/typescript/5.0/node_modules/undici-types/mock-pool.d.ts +25 -0
- package/.cache/typescript/5.0/node_modules/undici-types/package.json +55 -0
- package/.cache/typescript/5.0/node_modules/undici-types/patch.d.ts +71 -0
- package/.cache/typescript/5.0/node_modules/undici-types/pool-stats.d.ts +19 -0
- package/.cache/typescript/5.0/node_modules/undici-types/pool.d.ts +28 -0
- package/.cache/typescript/5.0/node_modules/undici-types/proxy-agent.d.ts +30 -0
- package/.cache/typescript/5.0/node_modules/undici-types/readable.d.ts +61 -0
- package/.cache/typescript/5.0/node_modules/undici-types/webidl.d.ts +220 -0
- package/.cache/typescript/5.0/node_modules/undici-types/websocket.d.ts +131 -0
- package/.cache/typescript/5.0/package-lock.json +166 -0
- package/.cache/typescript/5.0/package.json +1 -0
- package/.replit +14 -0
- package/.upm/store.json +1 -0
- package/README.md +24 -0
- package/index.js +1 -0
- package/package.json +21 -0
@@ -0,0 +1,456 @@
|
|
1
|
+
/// <reference lib="dom" />
|
2
|
+
/// <reference lib="dom.iterable" />
|
3
|
+
/// <reference types="node" />
|
4
|
+
|
5
|
+
import { EventEmitter } from "events";
|
6
|
+
import { Token } from "parse5";
|
7
|
+
import * as tough from "tough-cookie";
|
8
|
+
import { Context } from "vm";
|
9
|
+
|
10
|
+
// Needed to allow adding properties to `DOMWindow` that are only supported
|
11
|
+
// in newer TypeScript versions:
|
12
|
+
// eslint-disable-next-line @definitelytyped/no-declare-current-package
|
13
|
+
declare module "jsdom" {
|
14
|
+
const toughCookie: typeof tough;
|
15
|
+
class CookieJar extends tough.CookieJar {}
|
16
|
+
|
17
|
+
interface AbortablePromise<T> extends Promise<T> {
|
18
|
+
abort(): void;
|
19
|
+
}
|
20
|
+
|
21
|
+
class JSDOM {
|
22
|
+
constructor(html?: string | Buffer | BinaryData, options?: ConstructorOptions);
|
23
|
+
|
24
|
+
static fromURL(url: string, options?: BaseOptions): Promise<JSDOM>;
|
25
|
+
static fromFile(url: string, options?: FileOptions): Promise<JSDOM>;
|
26
|
+
static fragment(html: string): DocumentFragment;
|
27
|
+
|
28
|
+
readonly window: DOMWindow;
|
29
|
+
readonly virtualConsole: VirtualConsole;
|
30
|
+
readonly cookieJar: CookieJar;
|
31
|
+
|
32
|
+
/**
|
33
|
+
* The serialize() method will return the HTML serialization of the document, including the doctype.
|
34
|
+
*/
|
35
|
+
serialize(): string;
|
36
|
+
|
37
|
+
/**
|
38
|
+
* The nodeLocation() method will find where a DOM node is within the source document,
|
39
|
+
* returning the parse5 location info for the node.
|
40
|
+
*
|
41
|
+
* @throws {Error} If the JSDOM was not created with `includeNodeLocations`
|
42
|
+
*/
|
43
|
+
nodeLocation(node: Node): Token.Location | null | undefined;
|
44
|
+
|
45
|
+
/**
|
46
|
+
* The built-in `vm` module of Node.js is what underpins JSDOM's script-running magic.
|
47
|
+
* Some advanced use cases, like pre-compiling a script and then running it multiple
|
48
|
+
* times, benefit from using the `vm` module directly with a jsdom-created `Window`.
|
49
|
+
*
|
50
|
+
* @throws {TypeError} If the `JSDOM` instance was created without `runScripts` set, or if you are using JSDOM in a web browser.
|
51
|
+
*/
|
52
|
+
getInternalVMContext(): Context;
|
53
|
+
|
54
|
+
/**
|
55
|
+
* The reconfigure method allows changing the `window.top` and url from the outside.
|
56
|
+
*/
|
57
|
+
reconfigure(settings: ReconfigureSettings): void;
|
58
|
+
}
|
59
|
+
|
60
|
+
class ResourceLoader {
|
61
|
+
fetch(url: string, options: FetchOptions): AbortablePromise<Buffer> | null;
|
62
|
+
|
63
|
+
constructor(obj?: ResourceLoaderConstructorOptions);
|
64
|
+
}
|
65
|
+
|
66
|
+
class VirtualConsole extends EventEmitter {
|
67
|
+
on<K extends keyof Console>(method: K, callback: Console[K]): this;
|
68
|
+
on(event: "jsdomError", callback: (e: Error) => void): this;
|
69
|
+
|
70
|
+
sendTo(console: Console, options?: VirtualConsoleSendToOptions): this;
|
71
|
+
}
|
72
|
+
|
73
|
+
type BinaryData = ArrayBufferLike | NodeJS.ArrayBufferView;
|
74
|
+
interface BaseOptions {
|
75
|
+
/**
|
76
|
+
* referrer just affects the value read from document.referrer.
|
77
|
+
* It defaults to no referrer (which reflects as the empty string).
|
78
|
+
*/
|
79
|
+
referrer?: string | undefined;
|
80
|
+
|
81
|
+
/**
|
82
|
+
* userAgent affects the value read from navigator.userAgent, as well as the User-Agent header sent while fetching subresources.
|
83
|
+
*
|
84
|
+
* @default
|
85
|
+
* `Mozilla/5.0 (${process.platform}) AppleWebKit/537.36 (KHTML, like Gecko) jsdom/${jsdomVersion}`
|
86
|
+
*/
|
87
|
+
userAgent?: string | undefined;
|
88
|
+
|
89
|
+
/**
|
90
|
+
* `includeNodeLocations` preserves the location info produced by the HTML parser,
|
91
|
+
* allowing you to retrieve it with the nodeLocation() method (described below).
|
92
|
+
*
|
93
|
+
* It defaults to false to give the best performance,
|
94
|
+
* and cannot be used with an XML content type since our XML parser does not support location info.
|
95
|
+
*
|
96
|
+
* @default false
|
97
|
+
*/
|
98
|
+
includeNodeLocations?: boolean | undefined;
|
99
|
+
runScripts?: "dangerously" | "outside-only" | undefined;
|
100
|
+
resources?: "usable" | ResourceLoader | undefined;
|
101
|
+
virtualConsole?: VirtualConsole | undefined;
|
102
|
+
cookieJar?: CookieJar | undefined;
|
103
|
+
|
104
|
+
/**
|
105
|
+
* jsdom does not have the capability to render visual content, and will act like a headless browser by default.
|
106
|
+
* It provides hints to web pages through APIs such as document.hidden that their content is not visible.
|
107
|
+
*
|
108
|
+
* When the `pretendToBeVisual` option is set to `true`, jsdom will pretend that it is rendering and displaying
|
109
|
+
* content.
|
110
|
+
*
|
111
|
+
* @default false
|
112
|
+
*/
|
113
|
+
pretendToBeVisual?: boolean | undefined;
|
114
|
+
beforeParse?(window: DOMWindow): void;
|
115
|
+
}
|
116
|
+
|
117
|
+
interface FileOptions extends BaseOptions {
|
118
|
+
/**
|
119
|
+
* url sets the value returned by window.location, document.URL, and document.documentURI,
|
120
|
+
* and affects things like resolution of relative URLs within the document
|
121
|
+
* and the same-origin restrictions and referrer used while fetching subresources.
|
122
|
+
* It will default to a file URL corresponding to the given filename, instead of to "about:blank".
|
123
|
+
*/
|
124
|
+
url?: string | undefined;
|
125
|
+
|
126
|
+
/**
|
127
|
+
* contentType affects the value read from document.contentType, and how the document is parsed: as HTML or as XML.
|
128
|
+
* Values that are not "text/html" or an XML mime type will throw. It will default to "application/xhtml+xml" if
|
129
|
+
* the given filename ends in .xhtml or .xml; otherwise it will continue to default to "text/html".
|
130
|
+
*/
|
131
|
+
contentType?: string | undefined;
|
132
|
+
}
|
133
|
+
|
134
|
+
interface ConstructorOptions extends BaseOptions {
|
135
|
+
/**
|
136
|
+
* url sets the value returned by window.location, document.URL, and document.documentURI,
|
137
|
+
* and affects things like resolution of relative URLs within the document
|
138
|
+
* and the same-origin restrictions and referrer used while fetching subresources.
|
139
|
+
* It defaults to "about:blank".
|
140
|
+
*/
|
141
|
+
url?: string | undefined;
|
142
|
+
|
143
|
+
/**
|
144
|
+
* contentType affects the value read from document.contentType, and how the document is parsed: as HTML or as XML.
|
145
|
+
* Values that are not "text/html" or an XML mime type will throw. It defaults to "text/html".
|
146
|
+
*/
|
147
|
+
contentType?: SupportedContentTypes | undefined;
|
148
|
+
|
149
|
+
/**
|
150
|
+
* The maximum size in code units for the separate storage areas used by localStorage and sessionStorage.
|
151
|
+
* Attempts to store data larger than this limit will cause a DOMException to be thrown. By default, it is set
|
152
|
+
* to 5,000,000 code units per origin, as inspired by the HTML specification.
|
153
|
+
*
|
154
|
+
* @default 5_000_000
|
155
|
+
*/
|
156
|
+
storageQuota?: number | undefined;
|
157
|
+
}
|
158
|
+
|
159
|
+
type SupportedContentTypes =
|
160
|
+
| "text/html"
|
161
|
+
| "application/xhtml+xml"
|
162
|
+
| "application/xml"
|
163
|
+
| "text/xml"
|
164
|
+
| "image/svg+xml";
|
165
|
+
|
166
|
+
interface VirtualConsoleSendToOptions {
|
167
|
+
omitJSDOMErrors: boolean;
|
168
|
+
}
|
169
|
+
|
170
|
+
interface ReconfigureSettings {
|
171
|
+
windowTop?: DOMWindow | undefined;
|
172
|
+
url?: string | undefined;
|
173
|
+
}
|
174
|
+
|
175
|
+
interface FetchOptions {
|
176
|
+
cookieJar?: CookieJar | undefined;
|
177
|
+
referrer?: string | undefined;
|
178
|
+
accept?: string | undefined;
|
179
|
+
element?: HTMLScriptElement | HTMLLinkElement | HTMLIFrameElement | HTMLImageElement | undefined;
|
180
|
+
}
|
181
|
+
|
182
|
+
interface ResourceLoaderConstructorOptions {
|
183
|
+
strictSSL?: boolean | undefined;
|
184
|
+
proxy?: string | undefined;
|
185
|
+
userAgent?: string | undefined;
|
186
|
+
}
|
187
|
+
|
188
|
+
interface DOMWindow extends Omit<Window, "top" | "self" | "window"> {
|
189
|
+
[key: string]: any;
|
190
|
+
|
191
|
+
/* node_modules/jsdom/browser/Window.js */
|
192
|
+
Window: typeof Window;
|
193
|
+
readonly top: DOMWindow;
|
194
|
+
readonly self: DOMWindow;
|
195
|
+
readonly window: DOMWindow;
|
196
|
+
|
197
|
+
/* ECMAScript Globals */
|
198
|
+
globalThis: DOMWindow;
|
199
|
+
readonly ["Infinity"]: number;
|
200
|
+
readonly ["NaN"]: number;
|
201
|
+
readonly undefined: undefined;
|
202
|
+
|
203
|
+
eval(script: string): unknown;
|
204
|
+
parseInt(s: string, radix?: number): number;
|
205
|
+
parseFloat(string: string): number;
|
206
|
+
isNaN(number: number): boolean;
|
207
|
+
isFinite(number: number): boolean;
|
208
|
+
decodeURI(encodedURI: string): string;
|
209
|
+
decodeURIComponent(encodedURIComponent: string): string;
|
210
|
+
encodeURI(uri: string): string;
|
211
|
+
encodeURIComponent(uriComponent: string | number | boolean): string;
|
212
|
+
escape(string: string): string;
|
213
|
+
unescape(string: string): string;
|
214
|
+
|
215
|
+
Array: typeof Array;
|
216
|
+
ArrayBuffer: typeof ArrayBuffer;
|
217
|
+
Atomics: typeof Atomics;
|
218
|
+
BigInt: typeof BigInt;
|
219
|
+
BigInt64Array: typeof BigInt64Array;
|
220
|
+
BigUint64Array: typeof BigUint64Array;
|
221
|
+
Boolean: typeof Boolean;
|
222
|
+
DataView: typeof DataView;
|
223
|
+
Date: typeof Date;
|
224
|
+
Error: typeof Error;
|
225
|
+
EvalError: typeof EvalError;
|
226
|
+
Float32Array: typeof Float32Array;
|
227
|
+
Float64Array: typeof Float64Array;
|
228
|
+
Function: typeof Function;
|
229
|
+
Int16Array: typeof Int16Array;
|
230
|
+
Int32Array: typeof Int32Array;
|
231
|
+
Int8Array: typeof Int8Array;
|
232
|
+
Intl: typeof Intl;
|
233
|
+
JSON: typeof JSON;
|
234
|
+
Map: typeof Map;
|
235
|
+
Math: typeof Math;
|
236
|
+
Number: typeof Number;
|
237
|
+
Object: typeof Object;
|
238
|
+
Promise: typeof Promise;
|
239
|
+
Proxy: typeof Proxy;
|
240
|
+
RangeError: typeof RangeError;
|
241
|
+
ReferenceError: typeof ReferenceError;
|
242
|
+
Reflect: typeof Reflect;
|
243
|
+
RegExp: typeof RegExp;
|
244
|
+
Set: typeof Set;
|
245
|
+
SharedArrayBuffer: typeof SharedArrayBuffer;
|
246
|
+
String: typeof String;
|
247
|
+
Symbol: typeof Symbol;
|
248
|
+
SyntaxError: typeof SyntaxError;
|
249
|
+
TypeError: typeof TypeError;
|
250
|
+
URIError: typeof URIError;
|
251
|
+
Uint16Array: typeof Uint16Array;
|
252
|
+
Uint32Array: typeof Uint32Array;
|
253
|
+
Uint8Array: typeof Uint8Array;
|
254
|
+
Uint8ClampedArray: typeof Uint8ClampedArray;
|
255
|
+
WeakMap: typeof WeakMap;
|
256
|
+
WeakSet: typeof WeakSet;
|
257
|
+
WebAssembly: typeof WebAssembly;
|
258
|
+
|
259
|
+
/* node_modules/jsdom/living/interfaces.js */
|
260
|
+
DOMException: typeof DOMException;
|
261
|
+
|
262
|
+
URL: typeof URL;
|
263
|
+
URLSearchParams: typeof URLSearchParams;
|
264
|
+
|
265
|
+
EventTarget: typeof EventTarget;
|
266
|
+
|
267
|
+
NamedNodeMap: typeof NamedNodeMap;
|
268
|
+
Node: typeof Node;
|
269
|
+
Attr: typeof Attr;
|
270
|
+
Element: typeof Element;
|
271
|
+
DocumentFragment: typeof DocumentFragment;
|
272
|
+
DOMImplementation: typeof DOMImplementation;
|
273
|
+
Document: typeof Document;
|
274
|
+
HTMLDocument: typeof HTMLDocument;
|
275
|
+
XMLDocument: typeof XMLDocument;
|
276
|
+
CharacterData: typeof CharacterData;
|
277
|
+
Text: typeof Text;
|
278
|
+
CDATASection: typeof CDATASection;
|
279
|
+
ProcessingInstruction: typeof ProcessingInstruction;
|
280
|
+
Comment: typeof Comment;
|
281
|
+
DocumentType: typeof DocumentType;
|
282
|
+
NodeList: typeof NodeList;
|
283
|
+
HTMLCollection: typeof HTMLCollection;
|
284
|
+
HTMLOptionsCollection: typeof HTMLOptionsCollection;
|
285
|
+
DOMStringMap: typeof DOMStringMap;
|
286
|
+
DOMTokenList: typeof DOMTokenList;
|
287
|
+
|
288
|
+
StyleSheetList: typeof StyleSheetList;
|
289
|
+
|
290
|
+
HTMLElement: typeof HTMLElement;
|
291
|
+
HTMLHeadElement: typeof HTMLHeadElement;
|
292
|
+
HTMLTitleElement: typeof HTMLTitleElement;
|
293
|
+
HTMLBaseElement: typeof HTMLBaseElement;
|
294
|
+
HTMLLinkElement: typeof HTMLLinkElement;
|
295
|
+
HTMLMetaElement: typeof HTMLMetaElement;
|
296
|
+
HTMLStyleElement: typeof HTMLStyleElement;
|
297
|
+
HTMLBodyElement: typeof HTMLBodyElement;
|
298
|
+
HTMLHeadingElement: typeof HTMLHeadingElement;
|
299
|
+
HTMLParagraphElement: typeof HTMLParagraphElement;
|
300
|
+
HTMLHRElement: typeof HTMLHRElement;
|
301
|
+
HTMLPreElement: typeof HTMLPreElement;
|
302
|
+
HTMLUListElement: typeof HTMLUListElement;
|
303
|
+
HTMLOListElement: typeof HTMLOListElement;
|
304
|
+
HTMLLIElement: typeof HTMLLIElement;
|
305
|
+
HTMLMenuElement: typeof HTMLMenuElement;
|
306
|
+
HTMLDListElement: typeof HTMLDListElement;
|
307
|
+
HTMLDivElement: typeof HTMLDivElement;
|
308
|
+
HTMLAnchorElement: typeof HTMLAnchorElement;
|
309
|
+
HTMLAreaElement: typeof HTMLAreaElement;
|
310
|
+
HTMLBRElement: typeof HTMLBRElement;
|
311
|
+
HTMLButtonElement: typeof HTMLButtonElement;
|
312
|
+
HTMLCanvasElement: typeof HTMLCanvasElement;
|
313
|
+
HTMLDataElement: typeof HTMLDataElement;
|
314
|
+
HTMLDataListElement: typeof HTMLDataListElement;
|
315
|
+
HTMLDetailsElement: typeof HTMLDetailsElement;
|
316
|
+
HTMLDialogElement: {
|
317
|
+
new(): HTMLDialogElement;
|
318
|
+
readonly prototype: HTMLDialogElement;
|
319
|
+
};
|
320
|
+
HTMLDirectoryElement: typeof HTMLDirectoryElement;
|
321
|
+
HTMLFieldSetElement: typeof HTMLFieldSetElement;
|
322
|
+
HTMLFontElement: typeof HTMLFontElement;
|
323
|
+
HTMLFormElement: typeof HTMLFormElement;
|
324
|
+
HTMLHtmlElement: typeof HTMLHtmlElement;
|
325
|
+
HTMLImageElement: typeof HTMLImageElement;
|
326
|
+
HTMLInputElement: typeof HTMLInputElement;
|
327
|
+
HTMLLabelElement: typeof HTMLLabelElement;
|
328
|
+
HTMLLegendElement: typeof HTMLLegendElement;
|
329
|
+
HTMLMapElement: typeof HTMLMapElement;
|
330
|
+
HTMLMarqueeElement: typeof HTMLMarqueeElement;
|
331
|
+
HTMLMediaElement: typeof HTMLMediaElement;
|
332
|
+
HTMLMeterElement: typeof HTMLMeterElement;
|
333
|
+
HTMLModElement: typeof HTMLModElement;
|
334
|
+
HTMLOptGroupElement: typeof HTMLOptGroupElement;
|
335
|
+
HTMLOptionElement: typeof HTMLOptionElement;
|
336
|
+
HTMLOutputElement: typeof HTMLOutputElement;
|
337
|
+
HTMLPictureElement: typeof HTMLPictureElement;
|
338
|
+
HTMLProgressElement: typeof HTMLProgressElement;
|
339
|
+
HTMLQuoteElement: typeof HTMLQuoteElement;
|
340
|
+
HTMLScriptElement: typeof HTMLScriptElement;
|
341
|
+
HTMLSelectElement: typeof HTMLSelectElement;
|
342
|
+
HTMLSlotElement: typeof HTMLSlotElement;
|
343
|
+
HTMLSourceElement: typeof HTMLSourceElement;
|
344
|
+
HTMLSpanElement: typeof HTMLSpanElement;
|
345
|
+
HTMLTableCaptionElement: typeof HTMLTableCaptionElement;
|
346
|
+
HTMLTableCellElement: typeof HTMLTableCellElement;
|
347
|
+
HTMLTableColElement: typeof HTMLTableColElement;
|
348
|
+
HTMLTableElement: typeof HTMLTableElement;
|
349
|
+
HTMLTimeElement: typeof HTMLTimeElement;
|
350
|
+
HTMLTableRowElement: typeof HTMLTableRowElement;
|
351
|
+
HTMLTableSectionElement: typeof HTMLTableSectionElement;
|
352
|
+
HTMLTemplateElement: typeof HTMLTemplateElement;
|
353
|
+
HTMLTextAreaElement: typeof HTMLTextAreaElement;
|
354
|
+
HTMLUnknownElement: typeof HTMLUnknownElement;
|
355
|
+
HTMLFrameElement: typeof HTMLFrameElement;
|
356
|
+
HTMLFrameSetElement: typeof HTMLFrameSetElement;
|
357
|
+
HTMLIFrameElement: typeof HTMLIFrameElement;
|
358
|
+
HTMLEmbedElement: typeof HTMLEmbedElement;
|
359
|
+
HTMLObjectElement: typeof HTMLObjectElement;
|
360
|
+
HTMLParamElement: typeof HTMLParamElement;
|
361
|
+
HTMLVideoElement: typeof HTMLVideoElement;
|
362
|
+
HTMLAudioElement: typeof HTMLAudioElement;
|
363
|
+
HTMLTrackElement: typeof HTMLTrackElement;
|
364
|
+
|
365
|
+
SVGElement: typeof SVGElement;
|
366
|
+
SVGGraphicsElement: typeof SVGGraphicsElement;
|
367
|
+
SVGSVGElement: typeof SVGSVGElement;
|
368
|
+
SVGTitleElement: typeof SVGTitleElement;
|
369
|
+
SVGAnimatedString: typeof SVGAnimatedString;
|
370
|
+
SVGNumber: typeof SVGNumber;
|
371
|
+
SVGStringList: typeof SVGStringList;
|
372
|
+
|
373
|
+
Event: typeof Event;
|
374
|
+
CloseEvent: typeof CloseEvent;
|
375
|
+
CustomEvent: typeof CustomEvent;
|
376
|
+
MessageEvent: typeof MessageEvent;
|
377
|
+
ErrorEvent: typeof ErrorEvent;
|
378
|
+
HashChangeEvent: typeof HashChangeEvent;
|
379
|
+
PopStateEvent: typeof PopStateEvent;
|
380
|
+
StorageEvent: typeof StorageEvent;
|
381
|
+
ProgressEvent: typeof ProgressEvent;
|
382
|
+
PageTransitionEvent: typeof PageTransitionEvent;
|
383
|
+
|
384
|
+
UIEvent: typeof UIEvent;
|
385
|
+
FocusEvent: typeof FocusEvent;
|
386
|
+
MouseEvent: typeof MouseEvent;
|
387
|
+
KeyboardEvent: typeof KeyboardEvent;
|
388
|
+
TouchEvent: typeof TouchEvent;
|
389
|
+
CompositionEvent: typeof CompositionEvent;
|
390
|
+
WheelEvent: typeof WheelEvent;
|
391
|
+
|
392
|
+
BarProp: typeof BarProp;
|
393
|
+
Location: typeof Location;
|
394
|
+
History: typeof History;
|
395
|
+
Screen: typeof Screen;
|
396
|
+
Performance: typeof Performance;
|
397
|
+
Navigator: typeof Navigator;
|
398
|
+
|
399
|
+
PluginArray: typeof PluginArray;
|
400
|
+
MimeTypeArray: typeof MimeTypeArray;
|
401
|
+
Plugin: typeof Plugin;
|
402
|
+
MimeType: typeof MimeType;
|
403
|
+
|
404
|
+
FileReader: typeof FileReader;
|
405
|
+
Blob: typeof Blob;
|
406
|
+
File: typeof File;
|
407
|
+
FileList: typeof FileList;
|
408
|
+
ValidityState: typeof ValidityState;
|
409
|
+
|
410
|
+
DOMParser: typeof DOMParser;
|
411
|
+
XMLSerializer: typeof XMLSerializer;
|
412
|
+
|
413
|
+
FormData: typeof FormData;
|
414
|
+
XMLHttpRequestEventTarget: typeof XMLHttpRequestEventTarget;
|
415
|
+
XMLHttpRequestUpload: typeof XMLHttpRequestUpload;
|
416
|
+
XMLHttpRequest: typeof XMLHttpRequest;
|
417
|
+
WebSocket: typeof WebSocket;
|
418
|
+
|
419
|
+
NodeFilter: typeof NodeFilter;
|
420
|
+
NodeIterator: typeof NodeIterator;
|
421
|
+
TreeWalker: typeof TreeWalker;
|
422
|
+
|
423
|
+
AbstractRange: typeof AbstractRange;
|
424
|
+
Range: typeof Range;
|
425
|
+
StaticRange: typeof StaticRange;
|
426
|
+
Selection: typeof Selection;
|
427
|
+
|
428
|
+
Storage: typeof Storage;
|
429
|
+
|
430
|
+
CustomElementRegistry: typeof CustomElementRegistry;
|
431
|
+
ShadowRoot: typeof ShadowRoot;
|
432
|
+
|
433
|
+
MutationObserver: typeof MutationObserver;
|
434
|
+
MutationRecord: typeof MutationRecord;
|
435
|
+
|
436
|
+
Headers: typeof Headers;
|
437
|
+
AbortController: typeof AbortController;
|
438
|
+
AbortSignal: typeof AbortSignal;
|
439
|
+
|
440
|
+
/* node_modules/jsdom/level2/style.js */
|
441
|
+
StyleSheet: typeof StyleSheet;
|
442
|
+
MediaList: typeof MediaList;
|
443
|
+
CSSStyleSheet: typeof CSSStyleSheet;
|
444
|
+
CSSRule: typeof CSSRule;
|
445
|
+
CSSStyleRule: typeof CSSStyleRule;
|
446
|
+
CSSMediaRule: typeof CSSMediaRule;
|
447
|
+
CSSImportRule: typeof CSSImportRule;
|
448
|
+
CSSStyleDeclaration: typeof CSSStyleDeclaration;
|
449
|
+
|
450
|
+
/* node_modules/jsdom/level3/xpath.js */
|
451
|
+
// XPathException: typeof XPathException;
|
452
|
+
XPathExpression: typeof XPathExpression;
|
453
|
+
XPathResult: typeof XPathResult;
|
454
|
+
XPathEvaluator: typeof XPathEvaluator;
|
455
|
+
}
|
456
|
+
}
|
@@ -0,0 +1,18 @@
|
|
1
|
+
/// <reference path="base.d.ts"/>
|
2
|
+
|
3
|
+
// eslint-disable-next-line @definitelytyped/no-declare-current-package
|
4
|
+
declare module "jsdom" {
|
5
|
+
interface DOMWindow {
|
6
|
+
FinalizationRegistry: FinalizationRegistryConstructor;
|
7
|
+
WeakRef: WeakRefConstructor;
|
8
|
+
InputEvent: typeof InputEvent;
|
9
|
+
External: typeof External;
|
10
|
+
}
|
11
|
+
}
|
12
|
+
|
13
|
+
// Necessary to avoid breaking dependents because of the dependency
|
14
|
+
// on the `ESNext.WeakRef` lib:
|
15
|
+
// eslint-disable-next-line @typescript-eslint/no-empty-interface
|
16
|
+
interface FinalizationRegistryConstructor {}
|
17
|
+
// eslint-disable-next-line @typescript-eslint/no-empty-interface
|
18
|
+
interface WeakRefConstructor {}
|
@@ -0,0 +1,45 @@
|
|
1
|
+
{
|
2
|
+
"name": "@types/jsdom",
|
3
|
+
"version": "21.1.6",
|
4
|
+
"description": "TypeScript definitions for jsdom",
|
5
|
+
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/jsdom",
|
6
|
+
"license": "MIT",
|
7
|
+
"contributors": [
|
8
|
+
{
|
9
|
+
"name": "Leonard Thieu",
|
10
|
+
"githubUsername": "leonard-thieu",
|
11
|
+
"url": "https://github.com/leonard-thieu"
|
12
|
+
},
|
13
|
+
{
|
14
|
+
"name": "Johan Palmfjord",
|
15
|
+
"githubUsername": "palmfjord",
|
16
|
+
"url": "https://github.com/palmfjord"
|
17
|
+
},
|
18
|
+
{
|
19
|
+
"name": "ExE Boss",
|
20
|
+
"githubUsername": "ExE-Boss",
|
21
|
+
"url": "https://github.com/ExE-Boss"
|
22
|
+
}
|
23
|
+
],
|
24
|
+
"main": "",
|
25
|
+
"types": "index.d.ts",
|
26
|
+
"exports": {
|
27
|
+
".": {
|
28
|
+
"types": "./index.d.ts"
|
29
|
+
},
|
30
|
+
"./package.json": "./package.json"
|
31
|
+
},
|
32
|
+
"repository": {
|
33
|
+
"type": "git",
|
34
|
+
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git",
|
35
|
+
"directory": "types/jsdom"
|
36
|
+
},
|
37
|
+
"scripts": {},
|
38
|
+
"dependencies": {
|
39
|
+
"@types/node": "*",
|
40
|
+
"@types/tough-cookie": "*",
|
41
|
+
"parse5": "^7.0.0"
|
42
|
+
},
|
43
|
+
"typesPublisherContentHash": "367c61c03f27a6233d260f9ad45a105daa2a6430fc0cd81549c4edbef166c9fc",
|
44
|
+
"typeScriptVersion": "4.5"
|
45
|
+
}
|
@@ -0,0 +1,21 @@
|
|
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
|
@@ -0,0 +1,10 @@
|
|
1
|
+
import { TypeMap } from "./index";
|
2
|
+
|
3
|
+
export default class Mime {
|
4
|
+
constructor(mimes: TypeMap);
|
5
|
+
|
6
|
+
lookup(path: string, fallback?: string): string;
|
7
|
+
extension(mime: string): string | undefined;
|
8
|
+
load(filepath: string): void;
|
9
|
+
define(mimes: TypeMap): void;
|
10
|
+
}
|
@@ -0,0 +1,15 @@
|
|
1
|
+
# Installation
|
2
|
+
> `npm install --save @types/mime`
|
3
|
+
|
4
|
+
# Summary
|
5
|
+
This package contains type definitions for mime (https://github.com/broofa/node-mime).
|
6
|
+
|
7
|
+
# Details
|
8
|
+
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/mime/v1.
|
9
|
+
|
10
|
+
### Additional Details
|
11
|
+
* Last updated: Tue, 07 Nov 2023 20:08:00 GMT
|
12
|
+
* Dependencies: none
|
13
|
+
|
14
|
+
# Credits
|
15
|
+
These definitions were written by [Jeff Goddard](https://github.com/jedigo), and [Daniel Hritzkiv](https://github.com/dhritzkiv).
|
@@ -0,0 +1,31 @@
|
|
1
|
+
// Originally imported from: https://github.com/soywiz/typescript-node-definitions/mime.d.ts
|
2
|
+
|
3
|
+
export as namespace mime;
|
4
|
+
|
5
|
+
export interface TypeMap {
|
6
|
+
[key: string]: string[];
|
7
|
+
}
|
8
|
+
|
9
|
+
/**
|
10
|
+
* Look up a mime type based on extension.
|
11
|
+
*
|
12
|
+
* If not found, uses the fallback argument if provided, and otherwise
|
13
|
+
* uses `default_type`.
|
14
|
+
*/
|
15
|
+
export function lookup(path: string, fallback?: string): string;
|
16
|
+
/**
|
17
|
+
* Return a file extensions associated with a mime type.
|
18
|
+
*/
|
19
|
+
export function extension(mime: string): string | undefined;
|
20
|
+
/**
|
21
|
+
* Load an Apache2-style ".types" file.
|
22
|
+
*/
|
23
|
+
export function load(filepath: string): void;
|
24
|
+
export function define(mimes: TypeMap): void;
|
25
|
+
|
26
|
+
export interface Charsets {
|
27
|
+
lookup(mime: string, fallback: string): string;
|
28
|
+
}
|
29
|
+
|
30
|
+
export const charsets: Charsets;
|
31
|
+
export const default_type: string;
|
@@ -0,0 +1,30 @@
|
|
1
|
+
{
|
2
|
+
"name": "@types/mime",
|
3
|
+
"version": "1.3.5",
|
4
|
+
"description": "TypeScript definitions for mime",
|
5
|
+
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/mime",
|
6
|
+
"license": "MIT",
|
7
|
+
"contributors": [
|
8
|
+
{
|
9
|
+
"name": "Jeff Goddard",
|
10
|
+
"githubUsername": "jedigo",
|
11
|
+
"url": "https://github.com/jedigo"
|
12
|
+
},
|
13
|
+
{
|
14
|
+
"name": "Daniel Hritzkiv",
|
15
|
+
"githubUsername": "dhritzkiv",
|
16
|
+
"url": "https://github.com/dhritzkiv"
|
17
|
+
}
|
18
|
+
],
|
19
|
+
"main": "",
|
20
|
+
"types": "index.d.ts",
|
21
|
+
"repository": {
|
22
|
+
"type": "git",
|
23
|
+
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git",
|
24
|
+
"directory": "types/mime"
|
25
|
+
},
|
26
|
+
"scripts": {},
|
27
|
+
"dependencies": {},
|
28
|
+
"typesPublisherContentHash": "2ad7ee9a549e6721825e733c6a1a7e8bee0ca7ba93d9ab922c8f4558def52d77",
|
29
|
+
"typeScriptVersion": "4.5"
|
30
|
+
}
|
@@ -0,0 +1,21 @@
|
|
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
|
@@ -0,0 +1,15 @@
|
|
1
|
+
# Installation
|
2
|
+
> `npm install --save @types/node`
|
3
|
+
|
4
|
+
# Summary
|
5
|
+
This package contains type definitions for node (https://nodejs.org/).
|
6
|
+
|
7
|
+
# Details
|
8
|
+
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node.
|
9
|
+
|
10
|
+
### Additional Details
|
11
|
+
* Last updated: Fri, 24 Nov 2023 09:07:15 GMT
|
12
|
+
* Dependencies: [undici-types](https://npmjs.com/package/undici-types)
|
13
|
+
|
14
|
+
# Credits
|
15
|
+
These definitions were written by [Microsoft TypeScript](https://github.com/Microsoft), [Alberto Schiabel](https://github.com/jkomyno), [Alvis HT Tang](https://github.com/alvis), [Andrew Makarov](https://github.com/r3nya), [Benjamin Toueg](https://github.com/btoueg), [Chigozirim C.](https://github.com/smac89), [David Junger](https://github.com/touffy), [Deividas Bakanas](https://github.com/DeividasBakanas), [Eugene Y. Q. Shen](https://github.com/eyqs), [Hannes Magnusson](https://github.com/Hannes-Magnusson-CK), [Huw](https://github.com/hoo29), [Kelvin Jin](https://github.com/kjin), [Klaus Meinhardt](https://github.com/ajafff), [Lishude](https://github.com/islishude), [Mariusz Wiktorczyk](https://github.com/mwiktorczyk), [Mohsen Azimi](https://github.com/mohsen1), [Nicolas Even](https://github.com/n-e), [Nikita Galkin](https://github.com/galkin), [Parambir Singh](https://github.com/parambirs), [Sebastian Silbermann](https://github.com/eps1lon), [Thomas den Hollander](https://github.com/ThomasdenH), [Wilco Bakker](https://github.com/WilcoBakker), [wwwy3y3](https://github.com/wwwy3y3), [Samuel Ainsworth](https://github.com/samuela), [Kyle Uehlein](https://github.com/kuehlein), [Thanik Bhongbhibhat](https://github.com/bhongy), [Marcin Kopacz](https://github.com/chyzwar), [Trivikram Kamat](https://github.com/trivikr), [Junxiao Shi](https://github.com/yoursunny), [Ilia Baryshnikov](https://github.com/qwelias), [ExE Boss](https://github.com/ExE-Boss), [Piotr Błażejewicz](https://github.com/peterblazejewicz), [Anna Henningsen](https://github.com/addaleax), [Victor Perin](https://github.com/victorperin), [Yongsheng Zhang](https://github.com/ZYSzys), [NodeJS Contributors](https://github.com/NodeJS), [Linus Unnebäck](https://github.com/LinusU), [wafuwafu13](https://github.com/wafuwafu13), [Matteo Collina](https://github.com/mcollina), and [Dmitry Semigradsky](https://github.com/Semigradsky).
|