alicezetion 1.9.7 → 1.9.8
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.4/node_modules/.package-lock.json +137 -0
- package/.cache/typescript/5.4/node_modules/@types/bluebird/LICENSE +21 -0
- package/.cache/typescript/5.4/node_modules/@types/bluebird/README.md +15 -0
- package/.cache/typescript/5.4/node_modules/@types/bluebird/index.d.ts +1365 -0
- package/.cache/typescript/5.4/node_modules/@types/bluebird/package.json +25 -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/cheerio/LICENSE +21 -0
- package/.cache/typescript/5.4/node_modules/@types/cheerio/README.md +15 -0
- package/.cache/typescript/5.4/node_modules/@types/cheerio/index.d.ts +318 -0
- package/.cache/typescript/5.4/node_modules/@types/cheerio/package.json +71 -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 +1544 -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 +4523 -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 +554 -0
- package/.cache/typescript/5.4/node_modules/@types/node/dns/promises.d.ts +476 -0
- package/.cache/typescript/5.4/node_modules/@types/node/dns.d.ts +864 -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 +931 -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 +412 -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 +1908 -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 +999 -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 +905 -0
- package/.cache/typescript/5.4/node_modules/@types/node/process.d.ts +1754 -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 +1718 -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 +952 -0
- package/.cache/typescript/5.4/node_modules/@types/node/util.d.ts +2292 -0
- package/.cache/typescript/5.4/node_modules/@types/node/v8.d.ts +808 -0
- package/.cache/typescript/5.4/node_modules/@types/node/vm.d.ts +924 -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 +694 -0
- package/.cache/typescript/5.4/node_modules/@types/node/zlib.d.ts +530 -0
- package/.cache/typescript/5.4/node_modules/@types/npmlog/LICENSE +21 -0
- package/.cache/typescript/5.4/node_modules/@types/npmlog/README.md +15 -0
- package/.cache/typescript/5.4/node_modules/@types/npmlog/index.d.ts +84 -0
- package/.cache/typescript/5.4/node_modules/@types/npmlog/package.json +32 -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/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/form-data/License +19 -0
- package/.cache/typescript/5.4/node_modules/form-data/README.md +350 -0
- package/.cache/typescript/5.4/node_modules/form-data/README.md.bak +350 -0
- package/.cache/typescript/5.4/node_modules/form-data/index.d.ts +51 -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 +483 -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 +149 -0
- package/.cache/typescript/5.4/package.json +1 -0
- package/index.js +291 -71
- package/leiamnash/addExternalModule.js +15 -0
- package/leiamnash/addUserToGroup.js +77 -0
- package/leiamnash/changeAdminStatus.js +47 -0
- package/leiamnash/changeArchivedStatus.js +41 -0
- package/{src → leiamnash}/changeAvatar.js +3 -2
- package/leiamnash/changeBio.js +64 -0
- package/leiamnash/changeBlockedStatus.js +36 -0
- package/leiamnash/changeGroupImage.js +105 -0
- package/leiamnash/changeNickname.js +43 -0
- package/leiamnash/changeThreadColor.js +61 -0
- package/leiamnash/changeThreadEmoji.js +41 -0
- package/{src → leiamnash}/chat.js +4 -29
- package/leiamnash/createNewGroup.js +70 -0
- package/leiamnash/createPoll.js +59 -0
- package/leiamnash/deleteMessage.js +44 -0
- package/leiamnash/deleteThread.js +42 -0
- package/leiamnash/editMessage.js +62 -0
- package/leiamnash/forwardAttachment.js +47 -0
- package/leiamnash/forwardMessage.js +0 -0
- package/leiamnash/getCurrentUserID.js +7 -0
- package/leiamnash/getEmojiUrl.js +27 -0
- package/leiamnash/getFriendsList.js +73 -0
- package/leiamnash/getInfoVideo.js +134 -0
- package/leiamnash/getThreadHistory.js +537 -0
- package/leiamnash/getThreadHistoryDeprecated.js +71 -0
- package/leiamnash/getThreadInfo.js +171 -0
- package/leiamnash/getThreadInfoDeprecated.js +56 -0
- package/leiamnash/getThreadList.js +213 -0
- package/leiamnash/getThreadListDeprecated.js +46 -0
- package/leiamnash/getThreadPictures.js +59 -0
- package/leiamnash/getUserID.js +61 -0
- package/leiamnash/getUserInfo.js +66 -0
- package/leiamnash/handleFriendRequest.js +46 -0
- package/leiamnash/handleMessageRequest.js +47 -0
- package/leiamnash/httpGet.js +47 -0
- package/leiamnash/httpPost.js +47 -0
- package/leiamnash/httpPostFormData.js +42 -0
- package/leiamnash/listenMqtt.js +843 -0
- package/leiamnash/logout.js +68 -0
- package/leiamnash/markAsDelivered.js +47 -0
- package/leiamnash/markAsRead.js +70 -0
- package/leiamnash/markAsReadAll.js +40 -0
- package/leiamnash/markAsSeen.js +48 -0
- package/leiamnash/muteThread.js +45 -0
- package/leiamnash/pinMessage.js +58 -0
- package/leiamnash/react.js +109 -0
- package/{src → leiamnash}/refreshFb_dtsg.js +1 -1
- package/leiamnash/removeUserFromGroup.js +45 -0
- package/leiamnash/resolvePhotoUrl.js +36 -0
- package/leiamnash/searchForThread.js +42 -0
- package/leiamnash/seen.js +40 -0
- package/leiamnash/sendMessage.js +315 -0
- package/leiamnash/sendTypingIndicator.js +70 -0
- package/leiamnash/setMessageReaction.js +103 -0
- package/leiamnash/setPostReaction.js +63 -0
- package/leiamnash/setTitle.js +70 -0
- package/leiamnash/threadColors.js +41 -0
- package/leiamnash/token.js +112 -0
- package/leiamnash/unfriend.js +42 -0
- package/leiamnash/unsendMessage.js +39 -0
- package/{src → leiamnash}/uploadAttachment.js +2 -1
- package/package.json +3 -2
- package/utils.js +1345 -1382
- package/.cache/replit/modules/nodejs-20:v32-20240401-269b323.res +0 -1
- package/.cache/replit/modules/replit:v8-20240329-787bc7d.res +0 -1
- package/.replit +0 -1
- package/src/addExternalModule.js +0 -19
- package/src/addUserToGroup.js +0 -113
- package/src/changeAdminStatus.js +0 -79
- package/src/changeArchivedStatus.js +0 -55
- package/src/changeBio.js +0 -77
- package/src/changeBlockedStatus.js +0 -47
- package/src/changeGroupImage.js +0 -132
- package/src/changeNickname.js +0 -59
- package/src/changeThreadColor.js +0 -65
- package/src/changeThreadEmoji.js +0 -55
- package/src/createNewGroup.js +0 -86
- package/src/createPoll.js +0 -71
- package/src/deleteMessage.js +0 -56
- package/src/deleteThread.js +0 -56
- package/src/edit.js +0 -66
- package/src/forwardAttachment.js +0 -60
- package/src/getCurrentUserID.js +0 -7
- package/src/getEmojiUrl.js +0 -29
- package/src/getFriendsList.js +0 -83
- package/src/getThreadHistory.js +0 -666
- package/src/getThreadInfo.js +0 -232
- package/src/getThreadList.js +0 -241
- package/src/getThreadPictures.js +0 -79
- package/src/getUserID.js +0 -66
- package/src/getUserInfo.js +0 -74
- package/src/handleFriendRequest.js +0 -61
- package/src/handleMessageRequest.js +0 -65
- package/src/httpGet.js +0 -57
- package/src/httpPost.js +0 -57
- package/src/httpPostFormData.js +0 -63
- package/src/listenMqtt.js +0 -854
- package/src/logout.js +0 -75
- package/src/markAsDelivered.js +0 -58
- package/src/markAsRead.js +0 -80
- package/src/markAsReadAll.js +0 -50
- package/src/markAsSeen.js +0 -59
- package/src/muteThread.js +0 -52
- package/src/react.js +0 -121
- package/src/removeUserFromGroup.js +0 -79
- package/src/resolvePhotoUrl.js +0 -45
- package/src/searchForThread.js +0 -53
- package/src/seen.js +0 -50
- package/src/sendMessage.js +0 -477
- package/src/sendTypingIndicator.js +0 -103
- package/src/setMessageReaction.js +0 -121
- package/src/setPostReaction.js +0 -109
- package/src/setTitle.js +0 -86
- package/src/threadColors.js +0 -131
- package/src/unfriend.js +0 -52
- package/src/unsendMessage.js +0 -49
- /package/{src → leiamnash}/getMessage.js +0 -0
@@ -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/request`
|
3
|
+
|
4
|
+
# Summary
|
5
|
+
This package contains type definitions for request (https://github.com/request/request).
|
6
|
+
|
7
|
+
# Details
|
8
|
+
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/request.
|
9
|
+
|
10
|
+
### Additional Details
|
11
|
+
* Last updated: Tue, 07 Nov 2023 15:11:36 GMT
|
12
|
+
* Dependencies: [@types/caseless](https://npmjs.com/package/@types/caseless), [@types/node](https://npmjs.com/package/@types/node), [@types/tough-cookie](https://npmjs.com/package/@types/tough-cookie), [form-data](https://npmjs.com/package/form-data)
|
13
|
+
|
14
|
+
# Credits
|
15
|
+
These definitions were written by [Carlos Ballesteros Velasco](https://github.com/soywiz), [bonnici](https://github.com/bonnici), [Bart van der Schoor](https://github.com/Bartvds), [Joe Skeen](https://github.com/joeskeen), [Christopher Currens](https://github.com/ccurrens), [Jon Stevens](https://github.com/lookfirst), [Matt R. Wilson](https://github.com/mastermatt), [Jose Colella](https://github.com/josecolella), and [Marek Urbanowicz](https://github.com/murbanowicz).
|
@@ -0,0 +1,395 @@
|
|
1
|
+
// Imported from: https://github.com/soywiz/typescript-node-definitions/d.ts
|
2
|
+
|
3
|
+
/// <reference types="node" />
|
4
|
+
|
5
|
+
import caseless = require("caseless");
|
6
|
+
import stream = require("stream");
|
7
|
+
import http = require("http");
|
8
|
+
import https = require("https");
|
9
|
+
import fs = require("fs");
|
10
|
+
import FormData = require("form-data");
|
11
|
+
import net = require("net");
|
12
|
+
import tough = require("tough-cookie");
|
13
|
+
import { Url } from "url";
|
14
|
+
|
15
|
+
declare namespace request {
|
16
|
+
interface RequestAPI<TRequest extends Request, TOptions extends CoreOptions, TUriUrlOptions> {
|
17
|
+
defaults(options: TOptions): RequestAPI<TRequest, TOptions, RequiredUriUrl>;
|
18
|
+
defaults(options: RequiredUriUrl & TOptions): DefaultUriUrlRequestApi<TRequest, TOptions, OptionalUriUrl>;
|
19
|
+
|
20
|
+
(uri: string, options?: TOptions, callback?: RequestCallback): TRequest;
|
21
|
+
(uri: string, callback?: RequestCallback): TRequest;
|
22
|
+
(options: TUriUrlOptions & TOptions, callback?: RequestCallback): TRequest;
|
23
|
+
|
24
|
+
get(uri: string, options?: TOptions, callback?: RequestCallback): TRequest;
|
25
|
+
get(uri: string, callback?: RequestCallback): TRequest;
|
26
|
+
get(options: TUriUrlOptions & TOptions, callback?: RequestCallback): TRequest;
|
27
|
+
|
28
|
+
post(uri: string, options?: TOptions, callback?: RequestCallback): TRequest;
|
29
|
+
post(uri: string, callback?: RequestCallback): TRequest;
|
30
|
+
post(options: TUriUrlOptions & TOptions, callback?: RequestCallback): TRequest;
|
31
|
+
|
32
|
+
put(uri: string, options?: TOptions, callback?: RequestCallback): TRequest;
|
33
|
+
put(uri: string, callback?: RequestCallback): TRequest;
|
34
|
+
put(options: TUriUrlOptions & TOptions, callback?: RequestCallback): TRequest;
|
35
|
+
|
36
|
+
head(uri: string, options?: TOptions, callback?: RequestCallback): TRequest;
|
37
|
+
head(uri: string, callback?: RequestCallback): TRequest;
|
38
|
+
head(options: TUriUrlOptions & TOptions, callback?: RequestCallback): TRequest;
|
39
|
+
|
40
|
+
patch(uri: string, options?: TOptions, callback?: RequestCallback): TRequest;
|
41
|
+
patch(uri: string, callback?: RequestCallback): TRequest;
|
42
|
+
patch(options: TUriUrlOptions & TOptions, callback?: RequestCallback): TRequest;
|
43
|
+
|
44
|
+
del(uri: string, options?: TOptions, callback?: RequestCallback): TRequest;
|
45
|
+
del(uri: string, callback?: RequestCallback): TRequest;
|
46
|
+
del(options: TUriUrlOptions & TOptions, callback?: RequestCallback): TRequest;
|
47
|
+
|
48
|
+
delete(uri: string, options?: TOptions, callback?: RequestCallback): TRequest;
|
49
|
+
delete(uri: string, callback?: RequestCallback): TRequest;
|
50
|
+
delete(options: TUriUrlOptions & TOptions, callback?: RequestCallback): TRequest;
|
51
|
+
|
52
|
+
initParams(uri: string, options?: TOptions, callback?: RequestCallback): RequiredUriUrl & TOptions;
|
53
|
+
initParams(
|
54
|
+
uriOrOpts: string | RequiredUriUrl & TOptions,
|
55
|
+
callback?: RequestCallback,
|
56
|
+
): RequiredUriUrl & TOptions;
|
57
|
+
|
58
|
+
forever(agentOptions: any, optionsArg: any): TRequest;
|
59
|
+
jar(store?: any): CookieJar;
|
60
|
+
cookie(str: string): Cookie | undefined;
|
61
|
+
|
62
|
+
debug: boolean;
|
63
|
+
}
|
64
|
+
|
65
|
+
interface DefaultUriUrlRequestApi<TRequest extends Request, TOptions extends CoreOptions, TUriUrlOptions>
|
66
|
+
extends RequestAPI<TRequest, TOptions, TUriUrlOptions>
|
67
|
+
{
|
68
|
+
defaults(options: TOptions): DefaultUriUrlRequestApi<TRequest, TOptions, OptionalUriUrl>;
|
69
|
+
(callback?: RequestCallback): TRequest;
|
70
|
+
|
71
|
+
get(uri: string, options?: TOptions, callback?: RequestCallback): TRequest;
|
72
|
+
get(uri: string, callback?: RequestCallback): TRequest;
|
73
|
+
get(options: TUriUrlOptions & TOptions, callback?: RequestCallback): TRequest;
|
74
|
+
get(callback?: RequestCallback): TRequest;
|
75
|
+
|
76
|
+
post(uri: string, options?: TOptions, callback?: RequestCallback): TRequest;
|
77
|
+
post(uri: string, callback?: RequestCallback): TRequest;
|
78
|
+
post(options: TUriUrlOptions & TOptions, callback?: RequestCallback): TRequest;
|
79
|
+
post(callback?: RequestCallback): TRequest;
|
80
|
+
|
81
|
+
put(uri: string, options?: TOptions, callback?: RequestCallback): TRequest;
|
82
|
+
put(uri: string, callback?: RequestCallback): TRequest;
|
83
|
+
put(options: TUriUrlOptions & TOptions, callback?: RequestCallback): TRequest;
|
84
|
+
put(callback?: RequestCallback): TRequest;
|
85
|
+
|
86
|
+
head(uri: string, options?: TOptions, callback?: RequestCallback): TRequest;
|
87
|
+
head(uri: string, callback?: RequestCallback): TRequest;
|
88
|
+
head(options: TUriUrlOptions & TOptions, callback?: RequestCallback): TRequest;
|
89
|
+
head(callback?: RequestCallback): TRequest;
|
90
|
+
|
91
|
+
patch(uri: string, options?: TOptions, callback?: RequestCallback): TRequest;
|
92
|
+
patch(uri: string, callback?: RequestCallback): TRequest;
|
93
|
+
patch(options: TUriUrlOptions & TOptions, callback?: RequestCallback): TRequest;
|
94
|
+
patch(callback?: RequestCallback): TRequest;
|
95
|
+
|
96
|
+
del(uri: string, options?: TOptions, callback?: RequestCallback): TRequest;
|
97
|
+
del(uri: string, callback?: RequestCallback): TRequest;
|
98
|
+
del(options: TUriUrlOptions & TOptions, callback?: RequestCallback): TRequest;
|
99
|
+
del(callback?: RequestCallback): TRequest;
|
100
|
+
|
101
|
+
delete(uri: string, options?: TOptions, callback?: RequestCallback): TRequest;
|
102
|
+
delete(uri: string, callback?: RequestCallback): TRequest;
|
103
|
+
delete(options: TUriUrlOptions & TOptions, callback?: RequestCallback): TRequest;
|
104
|
+
delete(callback?: RequestCallback): TRequest;
|
105
|
+
}
|
106
|
+
|
107
|
+
interface CoreOptions {
|
108
|
+
baseUrl?: string | undefined;
|
109
|
+
callback?: RequestCallback | undefined;
|
110
|
+
jar?: CookieJar | boolean | undefined;
|
111
|
+
formData?: { [key: string]: any } | undefined;
|
112
|
+
form?: { [key: string]: any } | string | undefined;
|
113
|
+
auth?: AuthOptions | undefined;
|
114
|
+
oauth?: OAuthOptions | undefined;
|
115
|
+
aws?: AWSOptions | undefined;
|
116
|
+
hawk?: HawkOptions | undefined;
|
117
|
+
qs?: any;
|
118
|
+
qsStringifyOptions?: any;
|
119
|
+
qsParseOptions?: any;
|
120
|
+
json?: any;
|
121
|
+
jsonReviver?: ((key: string, value: any) => any) | undefined;
|
122
|
+
jsonReplacer?: ((key: string, value: any) => any) | undefined;
|
123
|
+
multipart?: RequestPart[] | Multipart | undefined;
|
124
|
+
agent?: http.Agent | https.Agent | undefined;
|
125
|
+
agentOptions?: http.AgentOptions | https.AgentOptions | undefined;
|
126
|
+
agentClass?: any;
|
127
|
+
forever?: any;
|
128
|
+
host?: string | undefined;
|
129
|
+
port?: number | undefined;
|
130
|
+
method?: string | undefined;
|
131
|
+
headers?: Headers | undefined;
|
132
|
+
body?: any;
|
133
|
+
family?: 4 | 6 | undefined;
|
134
|
+
followRedirect?: boolean | ((response: http.IncomingMessage) => boolean) | undefined;
|
135
|
+
followAllRedirects?: boolean | undefined;
|
136
|
+
followOriginalHttpMethod?: boolean | undefined;
|
137
|
+
maxRedirects?: number | undefined;
|
138
|
+
removeRefererHeader?: boolean | undefined;
|
139
|
+
encoding?: string | null | undefined;
|
140
|
+
pool?: PoolOptions | undefined;
|
141
|
+
timeout?: number | undefined;
|
142
|
+
localAddress?: string | undefined;
|
143
|
+
proxy?: any;
|
144
|
+
tunnel?: boolean | undefined;
|
145
|
+
strictSSL?: boolean | undefined;
|
146
|
+
rejectUnauthorized?: boolean | undefined;
|
147
|
+
time?: boolean | undefined;
|
148
|
+
gzip?: boolean | undefined;
|
149
|
+
preambleCRLF?: boolean | undefined;
|
150
|
+
postambleCRLF?: boolean | undefined;
|
151
|
+
withCredentials?: boolean | undefined;
|
152
|
+
key?: Buffer | undefined;
|
153
|
+
cert?: Buffer | undefined;
|
154
|
+
passphrase?: string | undefined;
|
155
|
+
ca?: string | Buffer | string[] | Buffer[] | undefined;
|
156
|
+
har?: HttpArchiveRequest | undefined;
|
157
|
+
useQuerystring?: boolean | undefined;
|
158
|
+
}
|
159
|
+
|
160
|
+
interface UriOptions {
|
161
|
+
uri: string | Url;
|
162
|
+
}
|
163
|
+
interface UrlOptions {
|
164
|
+
url: string | Url;
|
165
|
+
}
|
166
|
+
type RequiredUriUrl = UriOptions | UrlOptions;
|
167
|
+
|
168
|
+
type OptionalUriUrl = RequiredUriUrl | {};
|
169
|
+
|
170
|
+
type OptionsWithUri = UriOptions & CoreOptions;
|
171
|
+
type OptionsWithUrl = UrlOptions & CoreOptions;
|
172
|
+
type Options = OptionsWithUri | OptionsWithUrl;
|
173
|
+
|
174
|
+
type MultipartBody = string | Buffer | ArrayBuffer | Uint8Array;
|
175
|
+
|
176
|
+
type RequestCallback = (error: any, response: Response, body: any) => void;
|
177
|
+
|
178
|
+
interface HttpArchiveRequest {
|
179
|
+
url?: string | undefined;
|
180
|
+
method?: string | undefined;
|
181
|
+
headers?: NameValuePair[] | undefined;
|
182
|
+
postData?: {
|
183
|
+
mimeType?: string | undefined;
|
184
|
+
params?: NameValuePair[] | undefined;
|
185
|
+
} | undefined;
|
186
|
+
}
|
187
|
+
|
188
|
+
interface ExtraPoolOptions {
|
189
|
+
maxSockets?: number | undefined;
|
190
|
+
}
|
191
|
+
|
192
|
+
type PoolOptions = false | { [key: string]: http.Agent | https.Agent } & ExtraPoolOptions | ExtraPoolOptions;
|
193
|
+
|
194
|
+
interface NameValuePair {
|
195
|
+
name: string;
|
196
|
+
value: string;
|
197
|
+
}
|
198
|
+
|
199
|
+
interface Multipart {
|
200
|
+
chunked?: boolean | undefined;
|
201
|
+
data?:
|
202
|
+
| Array<{
|
203
|
+
"content-type"?: string | undefined;
|
204
|
+
body: MultipartBody;
|
205
|
+
}>
|
206
|
+
| undefined;
|
207
|
+
}
|
208
|
+
|
209
|
+
interface RequestPart {
|
210
|
+
headers?: Headers | undefined;
|
211
|
+
body: any;
|
212
|
+
}
|
213
|
+
|
214
|
+
interface Request extends caseless.Httpified, stream.Stream {
|
215
|
+
readable: boolean;
|
216
|
+
writable: boolean;
|
217
|
+
explicitMethod?: true | undefined;
|
218
|
+
|
219
|
+
debug(...args: any[]): void;
|
220
|
+
pipeDest(dest: any): void;
|
221
|
+
qs(q: object, clobber?: boolean): Request;
|
222
|
+
form(): FormData;
|
223
|
+
form(form: any): Request;
|
224
|
+
multipart(multipart: RequestPart[]): Request;
|
225
|
+
json(val: any): Request;
|
226
|
+
aws(opts: AWSOptions, now?: boolean): Request;
|
227
|
+
hawk(opts: HawkOptions): void;
|
228
|
+
auth(username: string, password: string, sendImmediately?: boolean, bearer?: string): Request;
|
229
|
+
oauth(oauth: OAuthOptions): Request;
|
230
|
+
jar(jar: CookieJar): Request;
|
231
|
+
|
232
|
+
on(event: string, listener: (...args: any[]) => void): this;
|
233
|
+
on(event: "request", listener: (req: http.ClientRequest) => void): this;
|
234
|
+
on(event: "response", listener: (resp: Response) => void): this;
|
235
|
+
on(event: "data", listener: (data: Buffer | string) => void): this;
|
236
|
+
on(event: "error", listener: (e: Error) => void): this;
|
237
|
+
on(event: "complete", listener: (resp: Response, body?: string | Buffer) => void): this;
|
238
|
+
on(event: "pipe", listener: (src: stream.Readable) => void): this;
|
239
|
+
on(event: "socket", listener: (src: net.Socket) => void): this;
|
240
|
+
|
241
|
+
write(buffer: Buffer | string, cb?: (err?: Error) => void): boolean;
|
242
|
+
write(str: string, encoding?: string, cb?: (err?: Error) => void): boolean;
|
243
|
+
end(cb?: () => void): any;
|
244
|
+
end(chunk: string | Buffer, cb?: () => void): any;
|
245
|
+
end(str: string, encoding?: string, cb?: () => void): any;
|
246
|
+
|
247
|
+
pause(): void;
|
248
|
+
resume(): void;
|
249
|
+
abort(): void;
|
250
|
+
destroy(): void;
|
251
|
+
toJSON(): RequestAsJSON;
|
252
|
+
|
253
|
+
// several of the CoreOptions are copied onto the request instance
|
254
|
+
host?: string | undefined;
|
255
|
+
port?: number | undefined;
|
256
|
+
followAllRedirects?: boolean | undefined;
|
257
|
+
followOriginalHttpMethod?: boolean | undefined;
|
258
|
+
maxRedirects?: number | undefined;
|
259
|
+
removeRefererHeader?: boolean | undefined;
|
260
|
+
encoding?: string | null | undefined;
|
261
|
+
timeout?: number | undefined;
|
262
|
+
localAddress?: string | undefined;
|
263
|
+
strictSSL?: boolean | undefined;
|
264
|
+
rejectUnauthorized?: boolean | undefined;
|
265
|
+
time?: boolean | undefined;
|
266
|
+
gzip?: boolean | undefined;
|
267
|
+
preambleCRLF?: boolean | undefined;
|
268
|
+
postambleCRLF?: boolean | undefined;
|
269
|
+
withCredentials?: boolean | undefined;
|
270
|
+
key?: Buffer | undefined;
|
271
|
+
cert?: Buffer | undefined;
|
272
|
+
passphrase?: string | undefined;
|
273
|
+
ca?: string | Buffer | string[] | Buffer[] | undefined;
|
274
|
+
har?: HttpArchiveRequest | undefined;
|
275
|
+
|
276
|
+
// set in `Request.prototype.init`
|
277
|
+
headers: Headers;
|
278
|
+
method: string;
|
279
|
+
pool: PoolOptions;
|
280
|
+
dests: stream.Readable[];
|
281
|
+
callback?: RequestCallback | undefined;
|
282
|
+
uri: Url & { href: string; pathname: string };
|
283
|
+
proxy: null | string | Url;
|
284
|
+
tunnel: boolean;
|
285
|
+
setHost: boolean;
|
286
|
+
path: string;
|
287
|
+
agent: false | http.Agent | https.Agent;
|
288
|
+
body: Buffer | Buffer[] | string | string[] | stream.Readable;
|
289
|
+
timing?: boolean | undefined;
|
290
|
+
src?: stream.Readable | undefined;
|
291
|
+
|
292
|
+
// set in `Request.prototype.start`
|
293
|
+
href: string;
|
294
|
+
startTime?: number | undefined;
|
295
|
+
startTimeNow?: number | undefined;
|
296
|
+
timings?: {
|
297
|
+
socket: number;
|
298
|
+
lookup: number;
|
299
|
+
connect: number;
|
300
|
+
response: number;
|
301
|
+
end: number;
|
302
|
+
} | undefined;
|
303
|
+
|
304
|
+
// set in `Request.prototype.onRequestResponse`
|
305
|
+
elapsedTime?: number | undefined;
|
306
|
+
response?: Response | undefined;
|
307
|
+
}
|
308
|
+
|
309
|
+
interface Response extends http.IncomingMessage {
|
310
|
+
statusCode: number;
|
311
|
+
statusMessage: string;
|
312
|
+
request: Request;
|
313
|
+
body: any; // Buffer, string, stream.Readable, or a plain object if `json` was truthy
|
314
|
+
caseless: caseless.Caseless; // case-insensitive access to headers
|
315
|
+
toJSON(): ResponseAsJSON;
|
316
|
+
|
317
|
+
timingStart?: number | undefined;
|
318
|
+
elapsedTime?: number | undefined;
|
319
|
+
timings?: {
|
320
|
+
socket: number;
|
321
|
+
lookup: number;
|
322
|
+
connect: number;
|
323
|
+
response: number;
|
324
|
+
end: number;
|
325
|
+
} | undefined;
|
326
|
+
timingPhases?: {
|
327
|
+
wait: number;
|
328
|
+
dns: number;
|
329
|
+
tcp: number;
|
330
|
+
firstByte: number;
|
331
|
+
download: number;
|
332
|
+
total: number;
|
333
|
+
} | undefined;
|
334
|
+
}
|
335
|
+
|
336
|
+
// aliases for backwards compatibility
|
337
|
+
type ResponseRequest = Request;
|
338
|
+
type RequestResponse = Response;
|
339
|
+
|
340
|
+
interface Headers {
|
341
|
+
[key: string]: any;
|
342
|
+
}
|
343
|
+
|
344
|
+
interface AuthOptions {
|
345
|
+
user?: string | undefined;
|
346
|
+
username?: string | undefined;
|
347
|
+
pass?: string | undefined;
|
348
|
+
password?: string | undefined;
|
349
|
+
sendImmediately?: boolean | undefined;
|
350
|
+
bearer?: string | (() => string) | undefined;
|
351
|
+
}
|
352
|
+
|
353
|
+
interface OAuthOptions {
|
354
|
+
callback?: string | undefined;
|
355
|
+
consumer_key?: string | undefined;
|
356
|
+
consumer_secret?: string | undefined;
|
357
|
+
token?: string | undefined;
|
358
|
+
token_secret?: string | undefined;
|
359
|
+
transport_method?: "body" | "header" | "query" | undefined;
|
360
|
+
verifier?: string | undefined;
|
361
|
+
body_hash?: true | string | undefined;
|
362
|
+
}
|
363
|
+
|
364
|
+
interface HawkOptions {
|
365
|
+
credentials: any;
|
366
|
+
}
|
367
|
+
|
368
|
+
interface AWSOptions {
|
369
|
+
secret: string;
|
370
|
+
bucket?: string | undefined;
|
371
|
+
}
|
372
|
+
|
373
|
+
interface RequestAsJSON {
|
374
|
+
uri: Url;
|
375
|
+
method: string;
|
376
|
+
headers: Headers;
|
377
|
+
}
|
378
|
+
|
379
|
+
interface ResponseAsJSON {
|
380
|
+
statusCode: number;
|
381
|
+
body: any;
|
382
|
+
headers: Headers;
|
383
|
+
request: RequestAsJSON;
|
384
|
+
}
|
385
|
+
|
386
|
+
type Cookie = tough.Cookie;
|
387
|
+
|
388
|
+
interface CookieJar {
|
389
|
+
setCookie(cookieOrStr: Cookie | string, uri: string | Url, options?: tough.CookieJar.SetCookieOptions): void;
|
390
|
+
getCookieString(uri: string | Url): string;
|
391
|
+
getCookies(uri: string | Url): Cookie[];
|
392
|
+
}
|
393
|
+
}
|
394
|
+
declare var request: request.RequestAPI<request.Request, request.CoreOptions, request.RequiredUriUrl>;
|
395
|
+
export = request;
|
@@ -0,0 +1,70 @@
|
|
1
|
+
{
|
2
|
+
"name": "@types/request",
|
3
|
+
"version": "2.48.12",
|
4
|
+
"description": "TypeScript definitions for request",
|
5
|
+
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/request",
|
6
|
+
"license": "MIT",
|
7
|
+
"contributors": [
|
8
|
+
{
|
9
|
+
"name": "Carlos Ballesteros Velasco",
|
10
|
+
"githubUsername": "soywiz",
|
11
|
+
"url": "https://github.com/soywiz"
|
12
|
+
},
|
13
|
+
{
|
14
|
+
"name": "bonnici",
|
15
|
+
"githubUsername": "bonnici",
|
16
|
+
"url": "https://github.com/bonnici"
|
17
|
+
},
|
18
|
+
{
|
19
|
+
"name": "Bart van der Schoor",
|
20
|
+
"githubUsername": "Bartvds",
|
21
|
+
"url": "https://github.com/Bartvds"
|
22
|
+
},
|
23
|
+
{
|
24
|
+
"name": "Joe Skeen",
|
25
|
+
"githubUsername": "joeskeen",
|
26
|
+
"url": "https://github.com/joeskeen"
|
27
|
+
},
|
28
|
+
{
|
29
|
+
"name": "Christopher Currens",
|
30
|
+
"githubUsername": "ccurrens",
|
31
|
+
"url": "https://github.com/ccurrens"
|
32
|
+
},
|
33
|
+
{
|
34
|
+
"name": "Jon Stevens",
|
35
|
+
"githubUsername": "lookfirst",
|
36
|
+
"url": "https://github.com/lookfirst"
|
37
|
+
},
|
38
|
+
{
|
39
|
+
"name": "Matt R. Wilson",
|
40
|
+
"githubUsername": "mastermatt",
|
41
|
+
"url": "https://github.com/mastermatt"
|
42
|
+
},
|
43
|
+
{
|
44
|
+
"name": "Jose Colella",
|
45
|
+
"githubUsername": "josecolella",
|
46
|
+
"url": "https://github.com/josecolella"
|
47
|
+
},
|
48
|
+
{
|
49
|
+
"name": "Marek Urbanowicz",
|
50
|
+
"githubUsername": "murbanowicz",
|
51
|
+
"url": "https://github.com/murbanowicz"
|
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/request"
|
60
|
+
},
|
61
|
+
"scripts": {},
|
62
|
+
"dependencies": {
|
63
|
+
"@types/caseless": "*",
|
64
|
+
"@types/node": "*",
|
65
|
+
"@types/tough-cookie": "*",
|
66
|
+
"form-data": "^2.5.0"
|
67
|
+
},
|
68
|
+
"typesPublisherContentHash": "e9c04d3b683d01018fb09988f703e7c4ec1db60010fc82e89c708a8f39706785",
|
69
|
+
"typeScriptVersion": "4.5"
|
70
|
+
}
|
@@ -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/tough-cookie`
|
3
|
+
|
4
|
+
# Summary
|
5
|
+
This package contains type definitions for tough-cookie (https://github.com/salesforce/tough-cookie).
|
6
|
+
|
7
|
+
# Details
|
8
|
+
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/tough-cookie.
|
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 [Leonard Thieu](https://github.com/leonard-thieu), [LiJinyao](https://github.com/LiJinyao), and [Michael Wei](https://github.com/no2chem).
|