rahad-media-downloader 2.1.12 → 2.1.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.cache/replit/modules/nodejs-20.res +1 -0
- package/.cache/replit/modules/replit.res +1 -0
- package/.cache/typescript/5.4/node_modules/.package-lock.json +185 -0
- package/.cache/typescript/5.4/node_modules/@types/caseless/LICENSE +21 -0
- package/.cache/typescript/5.4/node_modules/@types/caseless/README.md +48 -0
- package/.cache/typescript/5.4/node_modules/@types/caseless/index.d.ts +29 -0
- package/.cache/typescript/5.4/node_modules/@types/caseless/package.json +35 -0
- package/.cache/typescript/5.4/node_modules/@types/domhandler/LICENSE +21 -0
- package/.cache/typescript/5.4/node_modules/@types/domhandler/README.md +92 -0
- package/.cache/typescript/5.4/node_modules/@types/domhandler/index.d.ts +73 -0
- package/.cache/typescript/5.4/node_modules/@types/domhandler/package.json +25 -0
- package/.cache/typescript/5.4/node_modules/@types/domutils/LICENSE +21 -0
- package/.cache/typescript/5.4/node_modules/@types/domutils/README.md +15 -0
- package/.cache/typescript/5.4/node_modules/@types/domutils/index.d.ts +124 -0
- package/.cache/typescript/5.4/node_modules/@types/domutils/package.json +27 -0
- package/.cache/typescript/5.4/node_modules/@types/htmlparser2/LICENSE +21 -0
- package/.cache/typescript/5.4/node_modules/@types/htmlparser2/README.md +15 -0
- package/.cache/typescript/5.4/node_modules/@types/htmlparser2/index.d.ts +120 -0
- package/.cache/typescript/5.4/node_modules/@types/htmlparser2/package.json +45 -0
- package/.cache/typescript/5.4/node_modules/@types/node/LICENSE +21 -0
- package/.cache/typescript/5.4/node_modules/@types/node/README.md +15 -0
- package/.cache/typescript/5.4/node_modules/@types/node/assert/strict.d.ts +8 -0
- package/.cache/typescript/5.4/node_modules/@types/node/assert.d.ts +1040 -0
- package/.cache/typescript/5.4/node_modules/@types/node/async_hooks.d.ts +541 -0
- package/.cache/typescript/5.4/node_modules/@types/node/buffer.d.ts +2363 -0
- package/.cache/typescript/5.4/node_modules/@types/node/child_process.d.ts +1542 -0
- package/.cache/typescript/5.4/node_modules/@types/node/cluster.d.ts +578 -0
- package/.cache/typescript/5.4/node_modules/@types/node/console.d.ts +452 -0
- package/.cache/typescript/5.4/node_modules/@types/node/constants.d.ts +19 -0
- package/.cache/typescript/5.4/node_modules/@types/node/crypto.d.ts +4522 -0
- package/.cache/typescript/5.4/node_modules/@types/node/dgram.d.ts +596 -0
- package/.cache/typescript/5.4/node_modules/@types/node/diagnostics_channel.d.ts +545 -0
- package/.cache/typescript/5.4/node_modules/@types/node/dns/promises.d.ts +473 -0
- package/.cache/typescript/5.4/node_modules/@types/node/dns.d.ts +853 -0
- package/.cache/typescript/5.4/node_modules/@types/node/dom-events.d.ts +124 -0
- package/.cache/typescript/5.4/node_modules/@types/node/domain.d.ts +170 -0
- package/.cache/typescript/5.4/node_modules/@types/node/events.d.ts +884 -0
- package/.cache/typescript/5.4/node_modules/@types/node/fs/promises.d.ts +1245 -0
- package/.cache/typescript/5.4/node_modules/@types/node/fs.d.ts +4317 -0
- package/.cache/typescript/5.4/node_modules/@types/node/globals.d.ts +411 -0
- package/.cache/typescript/5.4/node_modules/@types/node/globals.global.d.ts +1 -0
- package/.cache/typescript/5.4/node_modules/@types/node/http.d.ts +1889 -0
- package/.cache/typescript/5.4/node_modules/@types/node/http2.d.ts +2418 -0
- package/.cache/typescript/5.4/node_modules/@types/node/https.d.ts +550 -0
- package/.cache/typescript/5.4/node_modules/@types/node/index.d.ts +89 -0
- package/.cache/typescript/5.4/node_modules/@types/node/inspector.d.ts +2746 -0
- package/.cache/typescript/5.4/node_modules/@types/node/module.d.ts +315 -0
- package/.cache/typescript/5.4/node_modules/@types/node/net.d.ts +996 -0
- package/.cache/typescript/5.4/node_modules/@types/node/os.d.ts +495 -0
- package/.cache/typescript/5.4/node_modules/@types/node/package.json +217 -0
- package/.cache/typescript/5.4/node_modules/@types/node/path.d.ts +191 -0
- package/.cache/typescript/5.4/node_modules/@types/node/perf_hooks.d.ts +645 -0
- package/.cache/typescript/5.4/node_modules/@types/node/process.d.ts +1747 -0
- package/.cache/typescript/5.4/node_modules/@types/node/punycode.d.ts +117 -0
- package/.cache/typescript/5.4/node_modules/@types/node/querystring.d.ts +153 -0
- package/.cache/typescript/5.4/node_modules/@types/node/readline/promises.d.ts +150 -0
- package/.cache/typescript/5.4/node_modules/@types/node/readline.d.ts +540 -0
- package/.cache/typescript/5.4/node_modules/@types/node/repl.d.ts +430 -0
- package/.cache/typescript/5.4/node_modules/@types/node/sea.d.ts +153 -0
- package/.cache/typescript/5.4/node_modules/@types/node/stream/consumers.d.ts +12 -0
- package/.cache/typescript/5.4/node_modules/@types/node/stream/promises.d.ts +83 -0
- package/.cache/typescript/5.4/node_modules/@types/node/stream/web.d.ts +367 -0
- package/.cache/typescript/5.4/node_modules/@types/node/stream.d.ts +1707 -0
- package/.cache/typescript/5.4/node_modules/@types/node/string_decoder.d.ts +67 -0
- package/.cache/typescript/5.4/node_modules/@types/node/test.d.ts +1470 -0
- package/.cache/typescript/5.4/node_modules/@types/node/timers/promises.d.ts +97 -0
- package/.cache/typescript/5.4/node_modules/@types/node/timers.d.ts +240 -0
- package/.cache/typescript/5.4/node_modules/@types/node/tls.d.ts +1217 -0
- package/.cache/typescript/5.4/node_modules/@types/node/trace_events.d.ts +197 -0
- package/.cache/typescript/5.4/node_modules/@types/node/tty.d.ts +208 -0
- package/.cache/typescript/5.4/node_modules/@types/node/url.d.ts +944 -0
- package/.cache/typescript/5.4/node_modules/@types/node/util.d.ts +2276 -0
- package/.cache/typescript/5.4/node_modules/@types/node/v8.d.ts +764 -0
- package/.cache/typescript/5.4/node_modules/@types/node/vm.d.ts +921 -0
- package/.cache/typescript/5.4/node_modules/@types/node/wasi.d.ts +181 -0
- package/.cache/typescript/5.4/node_modules/@types/node/worker_threads.d.ts +691 -0
- package/.cache/typescript/5.4/node_modules/@types/node/zlib.d.ts +530 -0
- package/.cache/typescript/5.4/node_modules/@types/node-fetch/LICENSE +21 -0
- package/.cache/typescript/5.4/node_modules/@types/node-fetch/README.md +15 -0
- package/.cache/typescript/5.4/node_modules/@types/node-fetch/externals.d.ts +32 -0
- package/.cache/typescript/5.4/node_modules/@types/node-fetch/index.d.ts +238 -0
- package/.cache/typescript/5.4/node_modules/@types/node-fetch/package.json +83 -0
- package/.cache/typescript/5.4/node_modules/@types/qs/LICENSE +21 -0
- package/.cache/typescript/5.4/node_modules/@types/qs/README.md +15 -0
- package/.cache/typescript/5.4/node_modules/@types/qs/index.d.ts +79 -0
- package/.cache/typescript/5.4/node_modules/@types/qs/package.json +65 -0
- package/.cache/typescript/5.4/node_modules/@types/request/LICENSE +21 -0
- package/.cache/typescript/5.4/node_modules/@types/request/README.md +15 -0
- package/.cache/typescript/5.4/node_modules/@types/request/index.d.ts +395 -0
- package/.cache/typescript/5.4/node_modules/@types/request/node_modules/form-data/License +19 -0
- package/.cache/typescript/5.4/node_modules/@types/request/node_modules/form-data/README.md +350 -0
- package/.cache/typescript/5.4/node_modules/@types/request/node_modules/form-data/README.md.bak +350 -0
- package/.cache/typescript/5.4/node_modules/@types/request/node_modules/form-data/index.d.ts +51 -0
- package/.cache/typescript/5.4/node_modules/@types/request/node_modules/form-data/lib/browser.js +2 -0
- package/.cache/typescript/5.4/node_modules/@types/request/node_modules/form-data/lib/form_data.js +483 -0
- package/.cache/typescript/5.4/node_modules/@types/request/node_modules/form-data/lib/populate.js +10 -0
- package/.cache/typescript/5.4/node_modules/@types/request/node_modules/form-data/package.json +68 -0
- package/.cache/typescript/5.4/node_modules/@types/request/package.json +70 -0
- package/.cache/typescript/5.4/node_modules/@types/tough-cookie/LICENSE +21 -0
- package/.cache/typescript/5.4/node_modules/@types/tough-cookie/README.md +15 -0
- package/.cache/typescript/5.4/node_modules/@types/tough-cookie/index.d.ts +321 -0
- package/.cache/typescript/5.4/node_modules/@types/tough-cookie/package.json +35 -0
- package/.cache/typescript/5.4/node_modules/asynckit/LICENSE +21 -0
- package/.cache/typescript/5.4/node_modules/asynckit/README.md +233 -0
- package/.cache/typescript/5.4/node_modules/asynckit/bench.js +76 -0
- package/.cache/typescript/5.4/node_modules/asynckit/index.js +6 -0
- package/.cache/typescript/5.4/node_modules/asynckit/lib/abort.js +29 -0
- package/.cache/typescript/5.4/node_modules/asynckit/lib/async.js +34 -0
- package/.cache/typescript/5.4/node_modules/asynckit/lib/defer.js +26 -0
- package/.cache/typescript/5.4/node_modules/asynckit/lib/iterate.js +75 -0
- package/.cache/typescript/5.4/node_modules/asynckit/lib/readable_asynckit.js +91 -0
- package/.cache/typescript/5.4/node_modules/asynckit/lib/readable_parallel.js +25 -0
- package/.cache/typescript/5.4/node_modules/asynckit/lib/readable_serial.js +25 -0
- package/.cache/typescript/5.4/node_modules/asynckit/lib/readable_serial_ordered.js +29 -0
- package/.cache/typescript/5.4/node_modules/asynckit/lib/state.js +37 -0
- package/.cache/typescript/5.4/node_modules/asynckit/lib/streamify.js +141 -0
- package/.cache/typescript/5.4/node_modules/asynckit/lib/terminator.js +29 -0
- package/.cache/typescript/5.4/node_modules/asynckit/package.json +63 -0
- package/.cache/typescript/5.4/node_modules/asynckit/parallel.js +43 -0
- package/.cache/typescript/5.4/node_modules/asynckit/serial.js +17 -0
- package/.cache/typescript/5.4/node_modules/asynckit/serialOrdered.js +75 -0
- package/.cache/typescript/5.4/node_modules/asynckit/stream.js +21 -0
- package/.cache/typescript/5.4/node_modules/combined-stream/License +19 -0
- package/.cache/typescript/5.4/node_modules/combined-stream/Readme.md +138 -0
- package/.cache/typescript/5.4/node_modules/combined-stream/lib/combined_stream.js +208 -0
- package/.cache/typescript/5.4/node_modules/combined-stream/package.json +25 -0
- package/.cache/typescript/5.4/node_modules/combined-stream/yarn.lock +17 -0
- package/.cache/typescript/5.4/node_modules/delayed-stream/License +19 -0
- package/.cache/typescript/5.4/node_modules/delayed-stream/Makefile +7 -0
- package/.cache/typescript/5.4/node_modules/delayed-stream/Readme.md +141 -0
- package/.cache/typescript/5.4/node_modules/delayed-stream/lib/delayed_stream.js +107 -0
- package/.cache/typescript/5.4/node_modules/delayed-stream/package.json +27 -0
- package/.cache/typescript/5.4/node_modules/domelementtype/LICENSE +11 -0
- package/.cache/typescript/5.4/node_modules/domelementtype/index.js +15 -0
- package/.cache/typescript/5.4/node_modules/domelementtype/package.json +16 -0
- package/.cache/typescript/5.4/node_modules/domelementtype/readme.md +1 -0
- package/.cache/typescript/5.4/node_modules/domhandler/.travis.yml +6 -0
- package/.cache/typescript/5.4/node_modules/domhandler/LICENSE +11 -0
- package/.cache/typescript/5.4/node_modules/domhandler/index.js +217 -0
- package/.cache/typescript/5.4/node_modules/domhandler/lib/element.js +20 -0
- package/.cache/typescript/5.4/node_modules/domhandler/lib/node.js +44 -0
- package/.cache/typescript/5.4/node_modules/domhandler/package.json +41 -0
- package/.cache/typescript/5.4/node_modules/domhandler/readme.md +116 -0
- package/.cache/typescript/5.4/node_modules/domhandler/test/cases/01-basic.json +57 -0
- package/.cache/typescript/5.4/node_modules/domhandler/test/cases/02-single_tag_1.json +21 -0
- package/.cache/typescript/5.4/node_modules/domhandler/test/cases/03-single_tag_2.json +21 -0
- package/.cache/typescript/5.4/node_modules/domhandler/test/cases/04-unescaped_in_script.json +27 -0
- package/.cache/typescript/5.4/node_modules/domhandler/test/cases/05-tags_in_comment.json +18 -0
- package/.cache/typescript/5.4/node_modules/domhandler/test/cases/06-comment_in_script.json +18 -0
- package/.cache/typescript/5.4/node_modules/domhandler/test/cases/07-unescaped_in_style.json +20 -0
- package/.cache/typescript/5.4/node_modules/domhandler/test/cases/08-extra_spaces_in_tag.json +20 -0
- package/.cache/typescript/5.4/node_modules/domhandler/test/cases/09-unquoted_attrib.json +20 -0
- package/.cache/typescript/5.4/node_modules/domhandler/test/cases/10-singular_attribute.json +15 -0
- package/.cache/typescript/5.4/node_modules/domhandler/test/cases/11-text_outside_tags.json +40 -0
- package/.cache/typescript/5.4/node_modules/domhandler/test/cases/12-text_only.json +11 -0
- package/.cache/typescript/5.4/node_modules/domhandler/test/cases/13-comment_in_text.json +19 -0
- package/.cache/typescript/5.4/node_modules/domhandler/test/cases/14-comment_in_text_in_script.json +18 -0
- package/.cache/typescript/5.4/node_modules/domhandler/test/cases/15-non-verbose.json +22 -0
- package/.cache/typescript/5.4/node_modules/domhandler/test/cases/16-normalize_whitespace.json +47 -0
- package/.cache/typescript/5.4/node_modules/domhandler/test/cases/17-xml_namespace.json +18 -0
- package/.cache/typescript/5.4/node_modules/domhandler/test/cases/18-enforce_empty_tags.json +16 -0
- package/.cache/typescript/5.4/node_modules/domhandler/test/cases/19-ignore_empty_tags.json +20 -0
- package/.cache/typescript/5.4/node_modules/domhandler/test/cases/20-template_script_tags.json +20 -0
- package/.cache/typescript/5.4/node_modules/domhandler/test/cases/21-conditional_comments.json +15 -0
- package/.cache/typescript/5.4/node_modules/domhandler/test/cases/22-lowercase_tags.json +41 -0
- package/.cache/typescript/5.4/node_modules/domhandler/test/cases/23-dom-lvl1.json +131 -0
- package/.cache/typescript/5.4/node_modules/domhandler/test/cases/24-with-start-indices.json +85 -0
- package/.cache/typescript/5.4/node_modules/domhandler/test/cases/25-with-end-indices.json +86 -0
- package/.cache/typescript/5.4/node_modules/domhandler/test/tests.js +60 -0
- package/.cache/typescript/5.4/node_modules/form-data/License +19 -0
- package/.cache/typescript/5.4/node_modules/form-data/README.md.bak +358 -0
- package/.cache/typescript/5.4/node_modules/form-data/Readme.md +358 -0
- package/.cache/typescript/5.4/node_modules/form-data/index.d.ts +62 -0
- package/.cache/typescript/5.4/node_modules/form-data/lib/browser.js +2 -0
- package/.cache/typescript/5.4/node_modules/form-data/lib/form_data.js +501 -0
- package/.cache/typescript/5.4/node_modules/form-data/lib/populate.js +10 -0
- package/.cache/typescript/5.4/node_modules/form-data/package.json +68 -0
- package/.cache/typescript/5.4/node_modules/mime-db/HISTORY.md +507 -0
- package/.cache/typescript/5.4/node_modules/mime-db/LICENSE +23 -0
- package/.cache/typescript/5.4/node_modules/mime-db/README.md +100 -0
- package/.cache/typescript/5.4/node_modules/mime-db/db.json +8519 -0
- package/.cache/typescript/5.4/node_modules/mime-db/index.js +12 -0
- package/.cache/typescript/5.4/node_modules/mime-db/package.json +60 -0
- package/.cache/typescript/5.4/node_modules/mime-types/HISTORY.md +397 -0
- package/.cache/typescript/5.4/node_modules/mime-types/LICENSE +23 -0
- package/.cache/typescript/5.4/node_modules/mime-types/README.md +113 -0
- package/.cache/typescript/5.4/node_modules/mime-types/index.js +188 -0
- package/.cache/typescript/5.4/node_modules/mime-types/package.json +44 -0
- package/.cache/typescript/5.4/node_modules/types-registry/README.md +2 -0
- package/.cache/typescript/5.4/node_modules/types-registry/index.json +1 -0
- package/.cache/typescript/5.4/node_modules/types-registry/package.json +20 -0
- package/.cache/typescript/5.4/node_modules/undici-types/README.md +6 -0
- package/.cache/typescript/5.4/node_modules/undici-types/agent.d.ts +31 -0
- package/.cache/typescript/5.4/node_modules/undici-types/api.d.ts +43 -0
- package/.cache/typescript/5.4/node_modules/undici-types/balanced-pool.d.ts +18 -0
- package/.cache/typescript/5.4/node_modules/undici-types/cache.d.ts +36 -0
- package/.cache/typescript/5.4/node_modules/undici-types/client.d.ts +97 -0
- package/.cache/typescript/5.4/node_modules/undici-types/connector.d.ts +34 -0
- package/.cache/typescript/5.4/node_modules/undici-types/content-type.d.ts +21 -0
- package/.cache/typescript/5.4/node_modules/undici-types/cookies.d.ts +28 -0
- package/.cache/typescript/5.4/node_modules/undici-types/diagnostics-channel.d.ts +67 -0
- package/.cache/typescript/5.4/node_modules/undici-types/dispatcher.d.ts +241 -0
- package/.cache/typescript/5.4/node_modules/undici-types/errors.d.ts +128 -0
- package/.cache/typescript/5.4/node_modules/undici-types/fetch.d.ts +209 -0
- package/.cache/typescript/5.4/node_modules/undici-types/file.d.ts +39 -0
- package/.cache/typescript/5.4/node_modules/undici-types/filereader.d.ts +54 -0
- package/.cache/typescript/5.4/node_modules/undici-types/formdata.d.ts +108 -0
- package/.cache/typescript/5.4/node_modules/undici-types/global-dispatcher.d.ts +9 -0
- package/.cache/typescript/5.4/node_modules/undici-types/global-origin.d.ts +7 -0
- package/.cache/typescript/5.4/node_modules/undici-types/handlers.d.ts +9 -0
- package/.cache/typescript/5.4/node_modules/undici-types/header.d.ts +4 -0
- package/.cache/typescript/5.4/node_modules/undici-types/index.d.ts +63 -0
- package/.cache/typescript/5.4/node_modules/undici-types/interceptors.d.ts +5 -0
- package/.cache/typescript/5.4/node_modules/undici-types/mock-agent.d.ts +50 -0
- package/.cache/typescript/5.4/node_modules/undici-types/mock-client.d.ts +25 -0
- package/.cache/typescript/5.4/node_modules/undici-types/mock-errors.d.ts +12 -0
- package/.cache/typescript/5.4/node_modules/undici-types/mock-interceptor.d.ts +93 -0
- package/.cache/typescript/5.4/node_modules/undici-types/mock-pool.d.ts +25 -0
- package/.cache/typescript/5.4/node_modules/undici-types/package.json +55 -0
- package/.cache/typescript/5.4/node_modules/undici-types/patch.d.ts +71 -0
- package/.cache/typescript/5.4/node_modules/undici-types/pool-stats.d.ts +19 -0
- package/.cache/typescript/5.4/node_modules/undici-types/pool.d.ts +28 -0
- package/.cache/typescript/5.4/node_modules/undici-types/proxy-agent.d.ts +30 -0
- package/.cache/typescript/5.4/node_modules/undici-types/readable.d.ts +61 -0
- package/.cache/typescript/5.4/node_modules/undici-types/webidl.d.ts +220 -0
- package/.cache/typescript/5.4/node_modules/undici-types/websocket.d.ts +131 -0
- package/.cache/typescript/5.4/package-lock.json +197 -0
- package/.cache/typescript/5.4/package.json +1 -0
- package/index.js +1 -1
- package/package.json +8 -2
- package/.cache/replit/modules/nodejs-20:v36-20240502-f4453db.res +0 -1
- package/.cache/replit/modules/replit:v9-20240429-0325cbb.res +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"type":"resolve","resolvedModuleId":"nodejs-20","inputHash":"","resolutionPath":["nodejs-20"],"error":"","Changed":true}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"type":"resolve","resolvedModuleId":"replit","inputHash":"","resolutionPath":["replit"],"error":"","Changed":true}
|
|
@@ -0,0 +1,185 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "5.4",
|
|
3
|
+
"lockfileVersion": 3,
|
|
4
|
+
"requires": true,
|
|
5
|
+
"packages": {
|
|
6
|
+
"node_modules/@types/caseless": {
|
|
7
|
+
"version": "0.12.5",
|
|
8
|
+
"resolved": "https://registry.npmjs.org/@types/caseless/-/caseless-0.12.5.tgz",
|
|
9
|
+
"integrity": "sha512-hWtVTC2q7hc7xZ/RLbxapMvDMgUnDvKvMOpKal4DrMyfGBUfB1oKaZlIRr6mJL+If3bAP6sV/QneGzF6tJjZDg==",
|
|
10
|
+
"dev": true
|
|
11
|
+
},
|
|
12
|
+
"node_modules/@types/domhandler": {
|
|
13
|
+
"version": "2.4.5",
|
|
14
|
+
"resolved": "https://registry.npmjs.org/@types/domhandler/-/domhandler-2.4.5.tgz",
|
|
15
|
+
"integrity": "sha512-lANhC2grmFG1gBac/8sDAKdIXx+TzAdkJIAjEOSMA+qW3297ybACEbacJnG15aNYfrzDO6fdcoouokqAKsy6aQ==",
|
|
16
|
+
"dev": true
|
|
17
|
+
},
|
|
18
|
+
"node_modules/@types/domutils": {
|
|
19
|
+
"version": "1.7.8",
|
|
20
|
+
"resolved": "https://registry.npmjs.org/@types/domutils/-/domutils-1.7.8.tgz",
|
|
21
|
+
"integrity": "sha512-iZGboDV79ibrO3D625p9yD+VgmMDnyJocdIRJvu9Xz66R8SHfOY/XNgdjY5SFoFiLgILceVfSLt7IUhlk1Vhhg==",
|
|
22
|
+
"dev": true,
|
|
23
|
+
"dependencies": {
|
|
24
|
+
"@types/domhandler": "^2.4.0"
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
"node_modules/@types/htmlparser2": {
|
|
28
|
+
"version": "3.10.7",
|
|
29
|
+
"resolved": "https://registry.npmjs.org/@types/htmlparser2/-/htmlparser2-3.10.7.tgz",
|
|
30
|
+
"integrity": "sha512-ycBs4PNr9rY9XFFp4WkP+M1UcO49ahn0+9b24cmIY6KWy0w35rW0G8+JTTe9Rp6Wnyqn5SEHZrhCBMa0TIOxBw==",
|
|
31
|
+
"dev": true,
|
|
32
|
+
"dependencies": {
|
|
33
|
+
"@types/domhandler": "^2.4.3",
|
|
34
|
+
"@types/domutils": "*",
|
|
35
|
+
"@types/node": "*",
|
|
36
|
+
"domhandler": "^2.4.0"
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
"node_modules/@types/node": {
|
|
40
|
+
"version": "20.12.12",
|
|
41
|
+
"resolved": "https://registry.npmjs.org/@types/node/-/node-20.12.12.tgz",
|
|
42
|
+
"integrity": "sha512-eWLDGF/FOSPtAvEqeRAQ4C8LSA7M1I7i0ky1I8U7kD1J5ITyW3AsRhQrKVoWf5pFKZ2kILsEGJhsI9r93PYnOw==",
|
|
43
|
+
"dev": true,
|
|
44
|
+
"dependencies": {
|
|
45
|
+
"undici-types": "~5.26.4"
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
"node_modules/@types/node-fetch": {
|
|
49
|
+
"version": "2.6.11",
|
|
50
|
+
"resolved": "https://registry.npmjs.org/@types/node-fetch/-/node-fetch-2.6.11.tgz",
|
|
51
|
+
"integrity": "sha512-24xFj9R5+rfQJLRyM56qh+wnVSYhyXC2tkoBndtY0U+vubqNsYXGjufB2nn8Q6gt0LrARwL6UBtMCSVCwl4B1g==",
|
|
52
|
+
"dev": true,
|
|
53
|
+
"dependencies": {
|
|
54
|
+
"@types/node": "*",
|
|
55
|
+
"form-data": "^4.0.0"
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
"node_modules/@types/qs": {
|
|
59
|
+
"version": "6.9.15",
|
|
60
|
+
"resolved": "https://registry.npmjs.org/@types/qs/-/qs-6.9.15.tgz",
|
|
61
|
+
"integrity": "sha512-uXHQKES6DQKKCLh441Xv/dwxOq1TVS3JPUMlEqoEglvlhR6Mxnlew/Xq/LRVHpLyk7iK3zODe1qYHIMltO7XGg==",
|
|
62
|
+
"dev": true
|
|
63
|
+
},
|
|
64
|
+
"node_modules/@types/request": {
|
|
65
|
+
"version": "2.48.12",
|
|
66
|
+
"resolved": "https://registry.npmjs.org/@types/request/-/request-2.48.12.tgz",
|
|
67
|
+
"integrity": "sha512-G3sY+NpsA9jnwm0ixhAFQSJ3Q9JkpLZpJbI3GMv0mIAT0y3mRabYeINzal5WOChIiaTEGQYlHOKgkaM9EisWHw==",
|
|
68
|
+
"dev": true,
|
|
69
|
+
"dependencies": {
|
|
70
|
+
"@types/caseless": "*",
|
|
71
|
+
"@types/node": "*",
|
|
72
|
+
"@types/tough-cookie": "*",
|
|
73
|
+
"form-data": "^2.5.0"
|
|
74
|
+
}
|
|
75
|
+
},
|
|
76
|
+
"node_modules/@types/request/node_modules/form-data": {
|
|
77
|
+
"version": "2.5.1",
|
|
78
|
+
"resolved": "https://registry.npmjs.org/form-data/-/form-data-2.5.1.tgz",
|
|
79
|
+
"integrity": "sha512-m21N3WOmEEURgk6B9GLOE4RuWOFf28Lhh9qGYeNlGq4VDXUlJy2th2slBNU8Gp8EzloYZOibZJ7t5ecIrFSjVA==",
|
|
80
|
+
"dev": true,
|
|
81
|
+
"dependencies": {
|
|
82
|
+
"asynckit": "^0.4.0",
|
|
83
|
+
"combined-stream": "^1.0.6",
|
|
84
|
+
"mime-types": "^2.1.12"
|
|
85
|
+
},
|
|
86
|
+
"engines": {
|
|
87
|
+
"node": ">= 0.12"
|
|
88
|
+
}
|
|
89
|
+
},
|
|
90
|
+
"node_modules/@types/tough-cookie": {
|
|
91
|
+
"version": "4.0.5",
|
|
92
|
+
"resolved": "https://registry.npmjs.org/@types/tough-cookie/-/tough-cookie-4.0.5.tgz",
|
|
93
|
+
"integrity": "sha512-/Ad8+nIOV7Rl++6f1BdKxFSMgmoqEoYbHRpPcx3JEfv8VRsQe9Z4mCXeJBzxs7mbHY/XOZZuXlRNfhpVPbs6ZA==",
|
|
94
|
+
"dev": true
|
|
95
|
+
},
|
|
96
|
+
"node_modules/asynckit": {
|
|
97
|
+
"version": "0.4.0",
|
|
98
|
+
"resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz",
|
|
99
|
+
"integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==",
|
|
100
|
+
"dev": true
|
|
101
|
+
},
|
|
102
|
+
"node_modules/combined-stream": {
|
|
103
|
+
"version": "1.0.8",
|
|
104
|
+
"resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz",
|
|
105
|
+
"integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==",
|
|
106
|
+
"dev": true,
|
|
107
|
+
"dependencies": {
|
|
108
|
+
"delayed-stream": "~1.0.0"
|
|
109
|
+
},
|
|
110
|
+
"engines": {
|
|
111
|
+
"node": ">= 0.8"
|
|
112
|
+
}
|
|
113
|
+
},
|
|
114
|
+
"node_modules/delayed-stream": {
|
|
115
|
+
"version": "1.0.0",
|
|
116
|
+
"resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz",
|
|
117
|
+
"integrity": "sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==",
|
|
118
|
+
"dev": true,
|
|
119
|
+
"engines": {
|
|
120
|
+
"node": ">=0.4.0"
|
|
121
|
+
}
|
|
122
|
+
},
|
|
123
|
+
"node_modules/domelementtype": {
|
|
124
|
+
"version": "1.3.1",
|
|
125
|
+
"resolved": "https://registry.npmjs.org/domelementtype/-/domelementtype-1.3.1.tgz",
|
|
126
|
+
"integrity": "sha512-BSKB+TSpMpFI/HOxCNr1O8aMOTZ8hT3pM3GQ0w/mWRmkhEDSFJkkyzz4XQsBV44BChwGkrDfMyjVD0eA2aFV3w==",
|
|
127
|
+
"dev": true
|
|
128
|
+
},
|
|
129
|
+
"node_modules/domhandler": {
|
|
130
|
+
"version": "2.4.2",
|
|
131
|
+
"resolved": "https://registry.npmjs.org/domhandler/-/domhandler-2.4.2.tgz",
|
|
132
|
+
"integrity": "sha512-JiK04h0Ht5u/80fdLMCEmV4zkNh2BcoMFBmZ/91WtYZ8qVXSKjiw7fXMgFPnHcSZgOo3XdinHvmnDUeMf5R4wA==",
|
|
133
|
+
"dev": true,
|
|
134
|
+
"dependencies": {
|
|
135
|
+
"domelementtype": "1"
|
|
136
|
+
}
|
|
137
|
+
},
|
|
138
|
+
"node_modules/form-data": {
|
|
139
|
+
"version": "4.0.0",
|
|
140
|
+
"resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.0.tgz",
|
|
141
|
+
"integrity": "sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww==",
|
|
142
|
+
"dev": true,
|
|
143
|
+
"dependencies": {
|
|
144
|
+
"asynckit": "^0.4.0",
|
|
145
|
+
"combined-stream": "^1.0.8",
|
|
146
|
+
"mime-types": "^2.1.12"
|
|
147
|
+
},
|
|
148
|
+
"engines": {
|
|
149
|
+
"node": ">= 6"
|
|
150
|
+
}
|
|
151
|
+
},
|
|
152
|
+
"node_modules/mime-db": {
|
|
153
|
+
"version": "1.52.0",
|
|
154
|
+
"resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz",
|
|
155
|
+
"integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==",
|
|
156
|
+
"dev": true,
|
|
157
|
+
"engines": {
|
|
158
|
+
"node": ">= 0.6"
|
|
159
|
+
}
|
|
160
|
+
},
|
|
161
|
+
"node_modules/mime-types": {
|
|
162
|
+
"version": "2.1.35",
|
|
163
|
+
"resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz",
|
|
164
|
+
"integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==",
|
|
165
|
+
"dev": true,
|
|
166
|
+
"dependencies": {
|
|
167
|
+
"mime-db": "1.52.0"
|
|
168
|
+
},
|
|
169
|
+
"engines": {
|
|
170
|
+
"node": ">= 0.6"
|
|
171
|
+
}
|
|
172
|
+
},
|
|
173
|
+
"node_modules/types-registry": {
|
|
174
|
+
"version": "0.1.685",
|
|
175
|
+
"resolved": "https://registry.npmjs.org/types-registry/-/types-registry-0.1.685.tgz",
|
|
176
|
+
"integrity": "sha512-dC3Nqu/q2Ey8Jj/YV0plEub0oycMiu3VaAf+tf8X5uhtiRS4iF1BubY5cra1LIaKr+fTblxQvoVAYIPeVj1A9g=="
|
|
177
|
+
},
|
|
178
|
+
"node_modules/undici-types": {
|
|
179
|
+
"version": "5.26.5",
|
|
180
|
+
"resolved": "https://registry.npmjs.org/undici-types/-/undici-types-5.26.5.tgz",
|
|
181
|
+
"integrity": "sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==",
|
|
182
|
+
"dev": true
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
}
|
|
@@ -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,48 @@
|
|
|
1
|
+
# Installation
|
|
2
|
+
> `npm install --save @types/caseless`
|
|
3
|
+
|
|
4
|
+
# Summary
|
|
5
|
+
This package contains type definitions for caseless (https://github.com/mikeal/caseless).
|
|
6
|
+
|
|
7
|
+
# Details
|
|
8
|
+
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/caseless.
|
|
9
|
+
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/caseless/index.d.ts)
|
|
10
|
+
````ts
|
|
11
|
+
type KeyType = string;
|
|
12
|
+
type ValueType = any;
|
|
13
|
+
type RawDict = object;
|
|
14
|
+
|
|
15
|
+
declare function caseless(dict?: RawDict): caseless.Caseless;
|
|
16
|
+
|
|
17
|
+
declare namespace caseless {
|
|
18
|
+
function httpify(resp: object, headers: RawDict): Caseless;
|
|
19
|
+
|
|
20
|
+
interface Caseless {
|
|
21
|
+
set(name: KeyType, value: ValueType, clobber?: boolean): KeyType | false;
|
|
22
|
+
set(dict: RawDict): void;
|
|
23
|
+
has(name: KeyType): KeyType | false;
|
|
24
|
+
get(name: KeyType): ValueType | undefined;
|
|
25
|
+
swap(name: KeyType): void;
|
|
26
|
+
del(name: KeyType): boolean;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
interface Httpified {
|
|
30
|
+
headers: RawDict;
|
|
31
|
+
setHeader(name: KeyType, value: ValueType, clobber?: boolean): KeyType | false;
|
|
32
|
+
setHeader(dict: RawDict): void;
|
|
33
|
+
hasHeader(name: KeyType): KeyType | false;
|
|
34
|
+
getHeader(name: KeyType): ValueType | undefined;
|
|
35
|
+
removeHeader(name: KeyType): boolean;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
export = caseless;
|
|
40
|
+
|
|
41
|
+
````
|
|
42
|
+
|
|
43
|
+
### Additional Details
|
|
44
|
+
* Last updated: Mon, 06 Nov 2023 22:41:05 GMT
|
|
45
|
+
* Dependencies: none
|
|
46
|
+
|
|
47
|
+
# Credits
|
|
48
|
+
These definitions were written by [downace](https://github.com/downace), [Matt R. Wilson](https://github.com/mastermatt), and [Emily Klassen](https://github.com/forivall).
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
type KeyType = string;
|
|
2
|
+
type ValueType = any;
|
|
3
|
+
type RawDict = object;
|
|
4
|
+
|
|
5
|
+
declare function caseless(dict?: RawDict): caseless.Caseless;
|
|
6
|
+
|
|
7
|
+
declare namespace caseless {
|
|
8
|
+
function httpify(resp: object, headers: RawDict): Caseless;
|
|
9
|
+
|
|
10
|
+
interface Caseless {
|
|
11
|
+
set(name: KeyType, value: ValueType, clobber?: boolean): KeyType | false;
|
|
12
|
+
set(dict: RawDict): void;
|
|
13
|
+
has(name: KeyType): KeyType | false;
|
|
14
|
+
get(name: KeyType): ValueType | undefined;
|
|
15
|
+
swap(name: KeyType): void;
|
|
16
|
+
del(name: KeyType): boolean;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
interface Httpified {
|
|
20
|
+
headers: RawDict;
|
|
21
|
+
setHeader(name: KeyType, value: ValueType, clobber?: boolean): KeyType | false;
|
|
22
|
+
setHeader(dict: RawDict): void;
|
|
23
|
+
hasHeader(name: KeyType): KeyType | false;
|
|
24
|
+
getHeader(name: KeyType): ValueType | undefined;
|
|
25
|
+
removeHeader(name: KeyType): boolean;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
export = caseless;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@types/caseless",
|
|
3
|
+
"version": "0.12.5",
|
|
4
|
+
"description": "TypeScript definitions for caseless",
|
|
5
|
+
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/caseless",
|
|
6
|
+
"license": "MIT",
|
|
7
|
+
"contributors": [
|
|
8
|
+
{
|
|
9
|
+
"name": "downace",
|
|
10
|
+
"githubUsername": "downace",
|
|
11
|
+
"url": "https://github.com/downace"
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"name": "Matt R. Wilson",
|
|
15
|
+
"githubUsername": "mastermatt",
|
|
16
|
+
"url": "https://github.com/mastermatt"
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"name": "Emily Klassen",
|
|
20
|
+
"githubUsername": "forivall",
|
|
21
|
+
"url": "https://github.com/forivall"
|
|
22
|
+
}
|
|
23
|
+
],
|
|
24
|
+
"main": "",
|
|
25
|
+
"types": "index.d.ts",
|
|
26
|
+
"repository": {
|
|
27
|
+
"type": "git",
|
|
28
|
+
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git",
|
|
29
|
+
"directory": "types/caseless"
|
|
30
|
+
},
|
|
31
|
+
"scripts": {},
|
|
32
|
+
"dependencies": {},
|
|
33
|
+
"typesPublisherContentHash": "89139c26e367c4adc78c0db606bf3e7b208f60498430b2c167551f7169d0b81c",
|
|
34
|
+
"typeScriptVersion": "4.5"
|
|
35
|
+
}
|
|
@@ -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,92 @@
|
|
|
1
|
+
# Installation
|
|
2
|
+
> `npm install --save @types/domhandler`
|
|
3
|
+
|
|
4
|
+
# Summary
|
|
5
|
+
This package contains type definitions for domhandler (https://github.com/fb55/DomHandler#readme).
|
|
6
|
+
|
|
7
|
+
# Details
|
|
8
|
+
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/domhandler.
|
|
9
|
+
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/domhandler/index.d.ts)
|
|
10
|
+
````ts
|
|
11
|
+
export interface DomHandlerOptions {
|
|
12
|
+
/***
|
|
13
|
+
* Indicates whether the whitespace in text nodes should be normalized
|
|
14
|
+
* (= all whitespace should be replaced with single spaces). The default value is "false".
|
|
15
|
+
*/
|
|
16
|
+
normalizeWhitespace?: boolean | undefined;
|
|
17
|
+
|
|
18
|
+
/***
|
|
19
|
+
* Adds DOM level 1 properties to all elements.
|
|
20
|
+
*/
|
|
21
|
+
withDomLvl1?: boolean | undefined;
|
|
22
|
+
|
|
23
|
+
/***
|
|
24
|
+
* Indicates whether a startIndex property will be added to nodes.
|
|
25
|
+
* When the parser is used in a non-streaming fashion, startIndex is an integer
|
|
26
|
+
* indicating the position of the start of the node in the document.
|
|
27
|
+
* The default value is "false".
|
|
28
|
+
*/
|
|
29
|
+
withStartIndices?: boolean | undefined;
|
|
30
|
+
|
|
31
|
+
/***
|
|
32
|
+
* Indicates whether a endIndex property will be added to nodes.
|
|
33
|
+
* When the parser is used in a non-streaming fashion, endIndex is an integer
|
|
34
|
+
* indicating the position of the end of the node in the document.
|
|
35
|
+
* The default value is "false".
|
|
36
|
+
*/
|
|
37
|
+
withEndIndices?: boolean | undefined;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
export interface DomElement {
|
|
41
|
+
attribs?: { [s: string]: string } | undefined;
|
|
42
|
+
children?: DomElement[] | undefined;
|
|
43
|
+
data?: any;
|
|
44
|
+
name?: string | undefined;
|
|
45
|
+
next?: DomElement | undefined;
|
|
46
|
+
parent?: DomElement | undefined;
|
|
47
|
+
prev?: DomElement | undefined;
|
|
48
|
+
type?: string | undefined;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
export interface Element extends DomElement {
|
|
52
|
+
name: string;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
export interface Node extends DomElement {
|
|
56
|
+
readonly firstChild: DomElement;
|
|
57
|
+
readonly lastChild: DomElement;
|
|
58
|
+
readonly nodeType: number;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
export class DomHandler {
|
|
62
|
+
constructor(callback: (error: any, dom: DomElement[]) => any, options?: DomHandlerOptions);
|
|
63
|
+
|
|
64
|
+
onparserinit(parser: any): void;
|
|
65
|
+
|
|
66
|
+
/***
|
|
67
|
+
* Resets the handler back to starting state
|
|
68
|
+
*/
|
|
69
|
+
onreset(): void;
|
|
70
|
+
|
|
71
|
+
/***
|
|
72
|
+
* Signals the handler that parsing is done
|
|
73
|
+
*/
|
|
74
|
+
onend(): void;
|
|
75
|
+
onerror(error: Error): void;
|
|
76
|
+
onclosetag(): void;
|
|
77
|
+
onopentag(name: string, attribs: { [s: string]: string }): void;
|
|
78
|
+
ontext(data: string): void;
|
|
79
|
+
oncomment(data: string): void;
|
|
80
|
+
oncdatastart(): void;
|
|
81
|
+
oncommentend(): void;
|
|
82
|
+
onprocessinginstruction(name: string, data: string): void;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
````
|
|
86
|
+
|
|
87
|
+
### Additional Details
|
|
88
|
+
* Last updated: Mon, 06 Nov 2023 22:41:05 GMT
|
|
89
|
+
* Dependencies: none
|
|
90
|
+
|
|
91
|
+
# Credits
|
|
92
|
+
These definitions were written by [Johan Davidsson](https://github.com/johandavidson).
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
export interface DomHandlerOptions {
|
|
2
|
+
/***
|
|
3
|
+
* Indicates whether the whitespace in text nodes should be normalized
|
|
4
|
+
* (= all whitespace should be replaced with single spaces). The default value is "false".
|
|
5
|
+
*/
|
|
6
|
+
normalizeWhitespace?: boolean | undefined;
|
|
7
|
+
|
|
8
|
+
/***
|
|
9
|
+
* Adds DOM level 1 properties to all elements.
|
|
10
|
+
*/
|
|
11
|
+
withDomLvl1?: boolean | undefined;
|
|
12
|
+
|
|
13
|
+
/***
|
|
14
|
+
* Indicates whether a startIndex property will be added to nodes.
|
|
15
|
+
* When the parser is used in a non-streaming fashion, startIndex is an integer
|
|
16
|
+
* indicating the position of the start of the node in the document.
|
|
17
|
+
* The default value is "false".
|
|
18
|
+
*/
|
|
19
|
+
withStartIndices?: boolean | undefined;
|
|
20
|
+
|
|
21
|
+
/***
|
|
22
|
+
* Indicates whether a endIndex property will be added to nodes.
|
|
23
|
+
* When the parser is used in a non-streaming fashion, endIndex is an integer
|
|
24
|
+
* indicating the position of the end of the node in the document.
|
|
25
|
+
* The default value is "false".
|
|
26
|
+
*/
|
|
27
|
+
withEndIndices?: boolean | undefined;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
export interface DomElement {
|
|
31
|
+
attribs?: { [s: string]: string } | undefined;
|
|
32
|
+
children?: DomElement[] | undefined;
|
|
33
|
+
data?: any;
|
|
34
|
+
name?: string | undefined;
|
|
35
|
+
next?: DomElement | undefined;
|
|
36
|
+
parent?: DomElement | undefined;
|
|
37
|
+
prev?: DomElement | undefined;
|
|
38
|
+
type?: string | undefined;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
export interface Element extends DomElement {
|
|
42
|
+
name: string;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export interface Node extends DomElement {
|
|
46
|
+
readonly firstChild: DomElement;
|
|
47
|
+
readonly lastChild: DomElement;
|
|
48
|
+
readonly nodeType: number;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
export class DomHandler {
|
|
52
|
+
constructor(callback: (error: any, dom: DomElement[]) => any, options?: DomHandlerOptions);
|
|
53
|
+
|
|
54
|
+
onparserinit(parser: any): void;
|
|
55
|
+
|
|
56
|
+
/***
|
|
57
|
+
* Resets the handler back to starting state
|
|
58
|
+
*/
|
|
59
|
+
onreset(): void;
|
|
60
|
+
|
|
61
|
+
/***
|
|
62
|
+
* Signals the handler that parsing is done
|
|
63
|
+
*/
|
|
64
|
+
onend(): void;
|
|
65
|
+
onerror(error: Error): void;
|
|
66
|
+
onclosetag(): void;
|
|
67
|
+
onopentag(name: string, attribs: { [s: string]: string }): void;
|
|
68
|
+
ontext(data: string): void;
|
|
69
|
+
oncomment(data: string): void;
|
|
70
|
+
oncdatastart(): void;
|
|
71
|
+
oncommentend(): void;
|
|
72
|
+
onprocessinginstruction(name: string, data: string): void;
|
|
73
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@types/domhandler",
|
|
3
|
+
"version": "2.4.5",
|
|
4
|
+
"description": "TypeScript definitions for domhandler",
|
|
5
|
+
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/domhandler",
|
|
6
|
+
"license": "MIT",
|
|
7
|
+
"contributors": [
|
|
8
|
+
{
|
|
9
|
+
"name": "Johan Davidsson",
|
|
10
|
+
"githubUsername": "johandavidson",
|
|
11
|
+
"url": "https://github.com/johandavidson"
|
|
12
|
+
}
|
|
13
|
+
],
|
|
14
|
+
"main": "",
|
|
15
|
+
"types": "index.d.ts",
|
|
16
|
+
"repository": {
|
|
17
|
+
"type": "git",
|
|
18
|
+
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git",
|
|
19
|
+
"directory": "types/domhandler"
|
|
20
|
+
},
|
|
21
|
+
"scripts": {},
|
|
22
|
+
"dependencies": {},
|
|
23
|
+
"typesPublisherContentHash": "60a0dea4ceaa8d3a2845f5b3a5f65cca135472055a4143248af267f9fd234f68",
|
|
24
|
+
"typeScriptVersion": "4.5"
|
|
25
|
+
}
|
|
@@ -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/domutils`
|
|
3
|
+
|
|
4
|
+
# Summary
|
|
5
|
+
This package contains type definitions for domutils (https://github.com/FB55/domutils#readme).
|
|
6
|
+
|
|
7
|
+
# Details
|
|
8
|
+
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/domutils.
|
|
9
|
+
|
|
10
|
+
### Additional Details
|
|
11
|
+
* Last updated: Mon, 06 Nov 2023 22:41:05 GMT
|
|
12
|
+
* Dependencies: [@types/domhandler](https://npmjs.com/package/@types/domhandler)
|
|
13
|
+
|
|
14
|
+
# Credits
|
|
15
|
+
These definitions were written by [Johan Davidsson](https://github.com/johandavidson).
|