rahad-media-downloader 2.1.10 → 2.1.13
Sign up to get free protection for your applications and to get access to all the features.
- package/.cache/replit/modules/nodejs-20.res +1 -0
- package/.cache/replit/modules/replit.res +1 -0
- package/.cache/typescript/5.3/node_modules/.package-lock.json +6 -0
- package/.cache/typescript/5.3/node_modules/@types/qs/LICENSE +21 -0
- package/.cache/typescript/5.3/node_modules/@types/qs/README.md +15 -0
- package/.cache/typescript/5.3/node_modules/@types/qs/index.d.ts +79 -0
- package/.cache/typescript/5.3/node_modules/@types/qs/package.json +65 -0
- package/.cache/typescript/5.3/package-lock.json +7 -0
- package/.cache/typescript/5.3/package.json +1 -1
- 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 +37 -2
- package/.cache/replit/modules/nodejs-20:v32-20240401-269b323.res +0 -1
- package/.cache/replit/modules/replit:v8-20240329-787bc7d.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}
|
@@ -87,6 +87,12 @@
|
|
87
87
|
"integrity": "sha512-Iu174JHfLd7i/XkXY6VDrqSlPvTDQOtQI7wNAXKKOAADJ9TduRLkNdMgjGiMxSttUIZnomv81JAbAbC0DhggxA==",
|
88
88
|
"dev": true
|
89
89
|
},
|
90
|
+
"node_modules/@types/qs": {
|
91
|
+
"version": "6.9.15",
|
92
|
+
"resolved": "https://registry.npmjs.org/@types/qs/-/qs-6.9.15.tgz",
|
93
|
+
"integrity": "sha512-uXHQKES6DQKKCLh441Xv/dwxOq1TVS3JPUMlEqoEglvlhR6Mxnlew/Xq/LRVHpLyk7iK3zODe1qYHIMltO7XGg==",
|
94
|
+
"dev": true
|
95
|
+
},
|
90
96
|
"node_modules/@types/request": {
|
91
97
|
"version": "2.48.12",
|
92
98
|
"resolved": "https://registry.npmjs.org/@types/request/-/request-2.48.12.tgz",
|
@@ -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/qs`
|
3
|
+
|
4
|
+
# Summary
|
5
|
+
This package contains type definitions for qs (https://github.com/ljharb/qs).
|
6
|
+
|
7
|
+
# Details
|
8
|
+
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/qs.
|
9
|
+
|
10
|
+
### Additional Details
|
11
|
+
* Last updated: Tue, 16 Apr 2024 04:07:43 GMT
|
12
|
+
* Dependencies: none
|
13
|
+
|
14
|
+
# Credits
|
15
|
+
These definitions were written by [Roman Korneev](https://github.com/RWander), [Leon Yu](https://github.com/leonyu), [Belinda Teh](https://github.com/tehbelinda), [Melvin Lee](https://github.com/zyml), [Arturs Vonda](https://github.com/artursvonda), [Carlos Bonetti](https://github.com/CarlosBonetti), [Dan Smith](https://github.com/dpsmith3), [Hunter Perrin](https://github.com/hperrin), and [Jordan Harband](https://github.com/ljharb).
|
@@ -0,0 +1,79 @@
|
|
1
|
+
export = QueryString;
|
2
|
+
export as namespace qs;
|
3
|
+
|
4
|
+
declare namespace QueryString {
|
5
|
+
type defaultEncoder = (str: any, defaultEncoder?: any, charset?: string) => string;
|
6
|
+
type defaultDecoder = (str: string, decoder?: any, charset?: string) => string;
|
7
|
+
|
8
|
+
type BooleanOptional = boolean | undefined;
|
9
|
+
|
10
|
+
interface IStringifyBaseOptions {
|
11
|
+
delimiter?: string | undefined;
|
12
|
+
strictNullHandling?: boolean | undefined;
|
13
|
+
skipNulls?: boolean | undefined;
|
14
|
+
encode?: boolean | undefined;
|
15
|
+
encoder?:
|
16
|
+
| ((str: any, defaultEncoder: defaultEncoder, charset: string, type: "key" | "value") => string)
|
17
|
+
| undefined;
|
18
|
+
filter?: Array<string | number> | ((prefix: string, value: any) => any) | undefined;
|
19
|
+
arrayFormat?: "indices" | "brackets" | "repeat" | "comma" | undefined;
|
20
|
+
indices?: boolean | undefined;
|
21
|
+
sort?: ((a: string, b: string) => number) | undefined;
|
22
|
+
serializeDate?: ((d: Date) => string) | undefined;
|
23
|
+
format?: "RFC1738" | "RFC3986" | undefined;
|
24
|
+
encodeValuesOnly?: boolean | undefined;
|
25
|
+
addQueryPrefix?: boolean | undefined;
|
26
|
+
charset?: "utf-8" | "iso-8859-1" | undefined;
|
27
|
+
charsetSentinel?: boolean | undefined;
|
28
|
+
allowEmptyArrays?: boolean | undefined;
|
29
|
+
}
|
30
|
+
|
31
|
+
type IStringifyDynamicOptions<AllowDots extends BooleanOptional> = AllowDots extends true
|
32
|
+
? { allowDots?: AllowDots; encodeDotInKeys?: boolean }
|
33
|
+
: { allowDots?: boolean; encodeDotInKeys?: false };
|
34
|
+
|
35
|
+
type IStringifyOptions<AllowDots extends BooleanOptional = undefined> =
|
36
|
+
& IStringifyBaseOptions
|
37
|
+
& IStringifyDynamicOptions<AllowDots>;
|
38
|
+
|
39
|
+
interface IParseBaseOptions {
|
40
|
+
comma?: boolean | undefined;
|
41
|
+
delimiter?: string | RegExp | undefined;
|
42
|
+
depth?: number | false | undefined;
|
43
|
+
decoder?:
|
44
|
+
| ((str: string, defaultDecoder: defaultDecoder, charset: string, type: "key" | "value") => any)
|
45
|
+
| undefined;
|
46
|
+
arrayLimit?: number | undefined;
|
47
|
+
parseArrays?: boolean | undefined;
|
48
|
+
plainObjects?: boolean | undefined;
|
49
|
+
allowPrototypes?: boolean | undefined;
|
50
|
+
allowSparse?: boolean | undefined;
|
51
|
+
parameterLimit?: number | undefined;
|
52
|
+
strictNullHandling?: boolean | undefined;
|
53
|
+
ignoreQueryPrefix?: boolean | undefined;
|
54
|
+
charset?: "utf-8" | "iso-8859-1" | undefined;
|
55
|
+
charsetSentinel?: boolean | undefined;
|
56
|
+
interpretNumericEntities?: boolean | undefined;
|
57
|
+
allowEmptyArrays?: boolean | undefined;
|
58
|
+
duplicates?: "combine" | "first" | "last" | undefined;
|
59
|
+
}
|
60
|
+
|
61
|
+
type IParseDynamicOptions<AllowDots extends BooleanOptional> = AllowDots extends true
|
62
|
+
? { allowDots?: AllowDots; decodeDotInKeys?: boolean }
|
63
|
+
: { allowDots?: boolean; decodeDotInKeys?: false };
|
64
|
+
|
65
|
+
type IParseOptions<AllowDots extends BooleanOptional = undefined> =
|
66
|
+
& IParseBaseOptions
|
67
|
+
& IParseDynamicOptions<AllowDots>;
|
68
|
+
|
69
|
+
interface ParsedQs {
|
70
|
+
[key: string]: undefined | string | string[] | ParsedQs | ParsedQs[];
|
71
|
+
}
|
72
|
+
|
73
|
+
function stringify(obj: any, options?: IStringifyOptions<BooleanOptional>): string;
|
74
|
+
function parse(str: string, options?: IParseOptions<BooleanOptional> & { decoder?: never | undefined }): ParsedQs;
|
75
|
+
function parse(
|
76
|
+
str: string | Record<string, string>,
|
77
|
+
options?: IParseOptions<BooleanOptional>,
|
78
|
+
): { [key: string]: unknown };
|
79
|
+
}
|
@@ -0,0 +1,65 @@
|
|
1
|
+
{
|
2
|
+
"name": "@types/qs",
|
3
|
+
"version": "6.9.15",
|
4
|
+
"description": "TypeScript definitions for qs",
|
5
|
+
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/qs",
|
6
|
+
"license": "MIT",
|
7
|
+
"contributors": [
|
8
|
+
{
|
9
|
+
"name": "Roman Korneev",
|
10
|
+
"githubUsername": "RWander",
|
11
|
+
"url": "https://github.com/RWander"
|
12
|
+
},
|
13
|
+
{
|
14
|
+
"name": "Leon Yu",
|
15
|
+
"githubUsername": "leonyu",
|
16
|
+
"url": "https://github.com/leonyu"
|
17
|
+
},
|
18
|
+
{
|
19
|
+
"name": "Belinda Teh",
|
20
|
+
"githubUsername": "tehbelinda",
|
21
|
+
"url": "https://github.com/tehbelinda"
|
22
|
+
},
|
23
|
+
{
|
24
|
+
"name": "Melvin Lee",
|
25
|
+
"githubUsername": "zyml",
|
26
|
+
"url": "https://github.com/zyml"
|
27
|
+
},
|
28
|
+
{
|
29
|
+
"name": "Arturs Vonda",
|
30
|
+
"githubUsername": "artursvonda",
|
31
|
+
"url": "https://github.com/artursvonda"
|
32
|
+
},
|
33
|
+
{
|
34
|
+
"name": "Carlos Bonetti",
|
35
|
+
"githubUsername": "CarlosBonetti",
|
36
|
+
"url": "https://github.com/CarlosBonetti"
|
37
|
+
},
|
38
|
+
{
|
39
|
+
"name": "Dan Smith",
|
40
|
+
"githubUsername": "dpsmith3",
|
41
|
+
"url": "https://github.com/dpsmith3"
|
42
|
+
},
|
43
|
+
{
|
44
|
+
"name": "Hunter Perrin",
|
45
|
+
"githubUsername": "hperrin",
|
46
|
+
"url": "https://github.com/hperrin"
|
47
|
+
},
|
48
|
+
{
|
49
|
+
"name": "Jordan Harband",
|
50
|
+
"githubUsername": "ljharb",
|
51
|
+
"url": "https://github.com/ljharb"
|
52
|
+
}
|
53
|
+
],
|
54
|
+
"main": "",
|
55
|
+
"types": "index.d.ts",
|
56
|
+
"repository": {
|
57
|
+
"type": "git",
|
58
|
+
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git",
|
59
|
+
"directory": "types/qs"
|
60
|
+
},
|
61
|
+
"scripts": {},
|
62
|
+
"dependencies": {},
|
63
|
+
"typesPublisherContentHash": "1f1cbc913fb092d4ffa9230a21894f18d2826d04431244517086c6fc477dbf12",
|
64
|
+
"typeScriptVersion": "4.7"
|
65
|
+
}
|
@@ -14,6 +14,7 @@
|
|
14
14
|
"@types/jsdom": "^21.1.6",
|
15
15
|
"@types/node-fetch": "^2.6.9",
|
16
16
|
"@types/psl": "^1.1.3",
|
17
|
+
"@types/qs": "^6.9.15",
|
17
18
|
"@types/request": "^2.48.12"
|
18
19
|
}
|
19
20
|
},
|
@@ -101,6 +102,12 @@
|
|
101
102
|
"integrity": "sha512-Iu174JHfLd7i/XkXY6VDrqSlPvTDQOtQI7wNAXKKOAADJ9TduRLkNdMgjGiMxSttUIZnomv81JAbAbC0DhggxA==",
|
102
103
|
"dev": true
|
103
104
|
},
|
105
|
+
"node_modules/@types/qs": {
|
106
|
+
"version": "6.9.15",
|
107
|
+
"resolved": "https://registry.npmjs.org/@types/qs/-/qs-6.9.15.tgz",
|
108
|
+
"integrity": "sha512-uXHQKES6DQKKCLh441Xv/dwxOq1TVS3JPUMlEqoEglvlhR6Mxnlew/Xq/LRVHpLyk7iK3zODe1qYHIMltO7XGg==",
|
109
|
+
"dev": true
|
110
|
+
},
|
104
111
|
"node_modules/@types/request": {
|
105
112
|
"version": "2.48.12",
|
106
113
|
"resolved": "https://registry.npmjs.org/@types/request/-/request-2.48.12.tgz",
|
@@ -1 +1 @@
|
|
1
|
-
{"private":true,"dependencies":{"types-registry":"^0.1.684"},"devDependencies":{"@types/cheerio":"^0.22.35","@types/cookie":"^0.6.0","@types/htmlparser2":"^3.10.7","@types/jsdom":"^21.1.6","@types/node-fetch":"^2.6.9","@types/psl":"^1.1.3","@types/request":"^2.48.12"}}
|
1
|
+
{"private":true,"dependencies":{"types-registry":"^0.1.684"},"devDependencies":{"@types/cheerio":"^0.22.35","@types/cookie":"^0.6.0","@types/htmlparser2":"^3.10.7","@types/jsdom":"^21.1.6","@types/node-fetch":"^2.6.9","@types/psl":"^1.1.3","@types/qs":"^6.9.15","@types/request":"^2.48.12"}}
|
@@ -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
|