fca-smart-shankar 12.0.0 → 13.0.0
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/.replit +12 -3
- package/.upm/store.json +1 -0
- package/CHANGELOG.md +2 -0
- package/README.md +0 -1
- package/generated-icon.png +0 -0
- package/index.js +507 -437
- package/package.json +378 -42
- package/replit.nix +3 -1
- package/shankar-fca.json +4 -0
- package/src/addUserToGroup.js +3 -3
- package/src/changeAdminStatus.js +2 -2
- package/src/changeArchivedStatus.js +2 -2
- package/src/changeAvatar.js +8 -8
- package/src/changeAvatarV2.js +1 -1
- package/src/changeBio.js +4 -4
- package/src/changeBlockedStatus.js +2 -2
- package/src/changeCover.js +2 -2
- package/src/changeGroupImage.js +4 -4
- package/src/changeName.js +2 -2
- package/src/changeNickname.js +2 -2
- package/src/changeThreadColor.js +3 -3
- package/src/changeThreadEmoji.js +2 -2
- package/src/changeUsername.js +3 -3
- package/src/createCommentPost.js +5 -5
- package/src/createNewGroup.js +5 -5
- package/src/createPoll.js +2 -2
- package/src/createPost.js +6 -5
- package/src/deleteMessage.js +2 -2
- package/src/deleteThread.js +2 -2
- package/src/editMessage.js +30 -18
- package/src/follow.js +8 -8
- package/src/forwardAttachment.js +2 -2
- package/src/getAccess.js +2 -2
- package/src/getAvatarUser.js +2 -2
- package/src/getCurrentUserID.js +4 -4
- package/src/getFriendsList.js +3 -3
- package/src/getMessage.js +2 -2
- package/src/getThreadHistory.js +2 -2
- package/src/getThreadHistoryDeprecated.js +2 -2
- package/src/getThreadInfo.js +1 -1
- package/src/getThreadInfoDeprecated.js +2 -2
- package/src/getThreadList.js +3 -3
- package/src/getThreadListDeprecated.js +3 -3
- package/src/getThreadPictures.js +2 -2
- package/src/getUID.js +4 -4
- package/src/getUserID.js +3 -3
- package/src/getUserInfo.js +52 -18
- package/src/handleFriendRequest.js +5 -5
- package/src/handleMessageRequest.js +2 -2
- package/src/httpGet.js +3 -3
- package/src/httpPost.js +3 -3
- package/src/httpPostFormData.js +3 -3
- package/src/listenMqtt.js +648 -659
- package/src/listenNotification.js +1 -1
- package/src/logout.js +3 -3
- package/src/markAsDelivered.js +5 -2
- package/src/markAsRead.js +5 -2
- package/src/markAsReadAll.js +2 -2
- package/src/markAsSeen.js +2 -2
- package/src/muteThread.js +2 -2
- package/src/refreshFb_dtsg.js +3 -3
- package/src/removeUserFromGroup.js +2 -2
- package/src/resolvePhotoUrl.js +2 -2
- package/src/searchStickers.js +1 -1
- package/src/sendMessage.js +11 -8
- package/src/sendMessageMqtt.js +4 -4
- package/src/sendTypingIndicator.js +14 -5
- package/src/sendTypingIndicatorV2.js +1 -1
- package/src/setMessageReaction.js +3 -3
- package/src/setPostReaction.js +4 -4
- package/src/setProfileGuard.js +3 -3
- package/src/setStoryReaction.js +1 -1
- package/src/setTitle.js +3 -3
- package/src/shareContact.js +1 -1
- package/src/shareLink.js +1 -1
- package/src/stopListenMqtt.js +5 -2
- package/src/unfriend.js +2 -2
- package/src/unsendMessage.js +2 -2
- package/src/uploadAttachment.js +2 -2
- package/test/data/shareAttach.js +146 -0
- package/test/data/something.mov +0 -0
- package/test/data/test.png +0 -0
- package/test/data/test.txt +7 -0
- package/test/test-page.js +1 -1
- package/utils.js +564 -391
- package/.cache/nix/binary-cache-v6.sqlite +0 -0
- package/.cache/nix/binary-cache-v6.sqlite-journal +0 -0
- package/.cache/replit/env/latest +0 -125
- package/.cache/replit/env/latest.json +0 -1
- package/.cache/replit/modules/nix.res +0 -1
- package/.cache/replit/modules/nodejs-20.res +0 -1
- package/.cache/replit/modules/replit.res +0 -1
- package/.cache/replit/modules.stamp +0 -0
- package/.cache/replit/nix/env.json +0 -1
- package/.cache/typescript/5.6/node_modules/.package-lock.json +0 -171
- package/.cache/typescript/5.6/node_modules/@types/bluebird/LICENSE +0 -21
- package/.cache/typescript/5.6/node_modules/@types/bluebird/README.md +0 -15
- package/.cache/typescript/5.6/node_modules/@types/bluebird/index.d.ts +0 -1365
- package/.cache/typescript/5.6/node_modules/@types/bluebird/package.json +0 -25
- package/.cache/typescript/5.6/node_modules/@types/caseless/LICENSE +0 -21
- package/.cache/typescript/5.6/node_modules/@types/caseless/README.md +0 -48
- package/.cache/typescript/5.6/node_modules/@types/caseless/index.d.ts +0 -29
- package/.cache/typescript/5.6/node_modules/@types/caseless/package.json +0 -35
- package/.cache/typescript/5.6/node_modules/@types/cheerio/LICENSE +0 -21
- package/.cache/typescript/5.6/node_modules/@types/cheerio/README.md +0 -15
- package/.cache/typescript/5.6/node_modules/@types/cheerio/index.d.ts +0 -318
- package/.cache/typescript/5.6/node_modules/@types/cheerio/package.json +0 -71
- package/.cache/typescript/5.6/node_modules/@types/mocha/LICENSE +0 -21
- package/.cache/typescript/5.6/node_modules/@types/mocha/README.md +0 -15
- package/.cache/typescript/5.6/node_modules/@types/mocha/index.d.ts +0 -2929
- package/.cache/typescript/5.6/node_modules/@types/mocha/package.json +0 -56
- package/.cache/typescript/5.6/node_modules/@types/node/LICENSE +0 -21
- package/.cache/typescript/5.6/node_modules/@types/node/README.md +0 -15
- package/.cache/typescript/5.6/node_modules/@types/node/assert/strict.d.ts +0 -8
- package/.cache/typescript/5.6/node_modules/@types/node/assert.d.ts +0 -1040
- package/.cache/typescript/5.6/node_modules/@types/node/async_hooks.d.ts +0 -541
- package/.cache/typescript/5.6/node_modules/@types/node/buffer.buffer.d.ts +0 -385
- package/.cache/typescript/5.6/node_modules/@types/node/buffer.d.ts +0 -1933
- package/.cache/typescript/5.6/node_modules/@types/node/child_process.d.ts +0 -1549
- package/.cache/typescript/5.6/node_modules/@types/node/cluster.d.ts +0 -579
- package/.cache/typescript/5.6/node_modules/@types/node/compatibility/disposable.d.ts +0 -16
- package/.cache/typescript/5.6/node_modules/@types/node/compatibility/index.d.ts +0 -9
- package/.cache/typescript/5.6/node_modules/@types/node/compatibility/indexable.d.ts +0 -23
- package/.cache/typescript/5.6/node_modules/@types/node/compatibility/iterators.d.ts +0 -21
- package/.cache/typescript/5.6/node_modules/@types/node/console.d.ts +0 -452
- package/.cache/typescript/5.6/node_modules/@types/node/constants.d.ts +0 -19
- package/.cache/typescript/5.6/node_modules/@types/node/crypto.d.ts +0 -4475
- package/.cache/typescript/5.6/node_modules/@types/node/dgram.d.ts +0 -596
- package/.cache/typescript/5.6/node_modules/@types/node/diagnostics_channel.d.ts +0 -554
- package/.cache/typescript/5.6/node_modules/@types/node/dns/promises.d.ts +0 -476
- package/.cache/typescript/5.6/node_modules/@types/node/dns.d.ts +0 -865
- package/.cache/typescript/5.6/node_modules/@types/node/dom-events.d.ts +0 -124
- package/.cache/typescript/5.6/node_modules/@types/node/domain.d.ts +0 -170
- package/.cache/typescript/5.6/node_modules/@types/node/events.d.ts +0 -931
- package/.cache/typescript/5.6/node_modules/@types/node/fs/promises.d.ts +0 -1275
- package/.cache/typescript/5.6/node_modules/@types/node/fs.d.ts +0 -4396
- package/.cache/typescript/5.6/node_modules/@types/node/globals.d.ts +0 -566
- package/.cache/typescript/5.6/node_modules/@types/node/globals.typedarray.d.ts +0 -21
- package/.cache/typescript/5.6/node_modules/@types/node/http.d.ts +0 -1958
- package/.cache/typescript/5.6/node_modules/@types/node/http2.d.ts +0 -2558
- package/.cache/typescript/5.6/node_modules/@types/node/https.d.ts +0 -543
- package/.cache/typescript/5.6/node_modules/@types/node/index.d.ts +0 -92
- package/.cache/typescript/5.6/node_modules/@types/node/inspector.d.ts +0 -3966
- package/.cache/typescript/5.6/node_modules/@types/node/module.d.ts +0 -402
- package/.cache/typescript/5.6/node_modules/@types/node/net.d.ts +0 -1001
- package/.cache/typescript/5.6/node_modules/@types/node/os.d.ts +0 -495
- package/.cache/typescript/5.6/node_modules/@types/node/package.json +0 -220
- package/.cache/typescript/5.6/node_modules/@types/node/path.d.ts +0 -200
- package/.cache/typescript/5.6/node_modules/@types/node/perf_hooks.d.ts +0 -965
- package/.cache/typescript/5.6/node_modules/@types/node/process.d.ts +0 -1963
- package/.cache/typescript/5.6/node_modules/@types/node/punycode.d.ts +0 -117
- package/.cache/typescript/5.6/node_modules/@types/node/querystring.d.ts +0 -153
- package/.cache/typescript/5.6/node_modules/@types/node/readline/promises.d.ts +0 -162
- package/.cache/typescript/5.6/node_modules/@types/node/readline.d.ts +0 -589
- package/.cache/typescript/5.6/node_modules/@types/node/repl.d.ts +0 -430
- package/.cache/typescript/5.6/node_modules/@types/node/sea.d.ts +0 -153
- package/.cache/typescript/5.6/node_modules/@types/node/sqlite.d.ts +0 -213
- package/.cache/typescript/5.6/node_modules/@types/node/stream/consumers.d.ts +0 -12
- package/.cache/typescript/5.6/node_modules/@types/node/stream/promises.d.ts +0 -90
- package/.cache/typescript/5.6/node_modules/@types/node/stream/web.d.ts +0 -609
- package/.cache/typescript/5.6/node_modules/@types/node/stream.d.ts +0 -1726
- package/.cache/typescript/5.6/node_modules/@types/node/string_decoder.d.ts +0 -67
- package/.cache/typescript/5.6/node_modules/@types/node/test.d.ts +0 -2248
- package/.cache/typescript/5.6/node_modules/@types/node/timers/promises.d.ts +0 -97
- package/.cache/typescript/5.6/node_modules/@types/node/timers.d.ts +0 -240
- package/.cache/typescript/5.6/node_modules/@types/node/tls.d.ts +0 -1226
- package/.cache/typescript/5.6/node_modules/@types/node/trace_events.d.ts +0 -197
- package/.cache/typescript/5.6/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +0 -385
- package/.cache/typescript/5.6/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +0 -19
- package/.cache/typescript/5.6/node_modules/@types/node/ts5.6/index.d.ts +0 -92
- package/.cache/typescript/5.6/node_modules/@types/node/tty.d.ts +0 -208
- package/.cache/typescript/5.6/node_modules/@types/node/url.d.ts +0 -972
- package/.cache/typescript/5.6/node_modules/@types/node/util.d.ts +0 -2371
- package/.cache/typescript/5.6/node_modules/@types/node/v8.d.ts +0 -808
- package/.cache/typescript/5.6/node_modules/@types/node/vm.d.ts +0 -976
- package/.cache/typescript/5.6/node_modules/@types/node/wasi.d.ts +0 -181
- package/.cache/typescript/5.6/node_modules/@types/node/worker_threads.d.ts +0 -745
- package/.cache/typescript/5.6/node_modules/@types/node/zlib.d.ts +0 -539
- package/.cache/typescript/5.6/node_modules/@types/request/LICENSE +0 -21
- package/.cache/typescript/5.6/node_modules/@types/request/README.md +0 -15
- package/.cache/typescript/5.6/node_modules/@types/request/index.d.ts +0 -395
- package/.cache/typescript/5.6/node_modules/@types/request/package.json +0 -70
- package/.cache/typescript/5.6/node_modules/@types/tough-cookie/LICENSE +0 -21
- package/.cache/typescript/5.6/node_modules/@types/tough-cookie/README.md +0 -15
- package/.cache/typescript/5.6/node_modules/@types/tough-cookie/index.d.ts +0 -321
- package/.cache/typescript/5.6/node_modules/@types/tough-cookie/package.json +0 -35
- package/.cache/typescript/5.6/node_modules/asynckit/LICENSE +0 -21
- package/.cache/typescript/5.6/node_modules/asynckit/README.md +0 -233
- package/.cache/typescript/5.6/node_modules/asynckit/bench.js +0 -76
- package/.cache/typescript/5.6/node_modules/asynckit/index.js +0 -6
- package/.cache/typescript/5.6/node_modules/asynckit/lib/abort.js +0 -29
- package/.cache/typescript/5.6/node_modules/asynckit/lib/async.js +0 -34
- package/.cache/typescript/5.6/node_modules/asynckit/lib/defer.js +0 -26
- package/.cache/typescript/5.6/node_modules/asynckit/lib/iterate.js +0 -75
- package/.cache/typescript/5.6/node_modules/asynckit/lib/readable_asynckit.js +0 -91
- package/.cache/typescript/5.6/node_modules/asynckit/lib/readable_parallel.js +0 -25
- package/.cache/typescript/5.6/node_modules/asynckit/lib/readable_serial.js +0 -25
- package/.cache/typescript/5.6/node_modules/asynckit/lib/readable_serial_ordered.js +0 -29
- package/.cache/typescript/5.6/node_modules/asynckit/lib/state.js +0 -37
- package/.cache/typescript/5.6/node_modules/asynckit/lib/streamify.js +0 -141
- package/.cache/typescript/5.6/node_modules/asynckit/lib/terminator.js +0 -29
- package/.cache/typescript/5.6/node_modules/asynckit/package.json +0 -63
- package/.cache/typescript/5.6/node_modules/asynckit/parallel.js +0 -43
- package/.cache/typescript/5.6/node_modules/asynckit/serial.js +0 -17
- package/.cache/typescript/5.6/node_modules/asynckit/serialOrdered.js +0 -75
- package/.cache/typescript/5.6/node_modules/asynckit/stream.js +0 -21
- package/.cache/typescript/5.6/node_modules/combined-stream/License +0 -19
- package/.cache/typescript/5.6/node_modules/combined-stream/Readme.md +0 -138
- package/.cache/typescript/5.6/node_modules/combined-stream/lib/combined_stream.js +0 -208
- package/.cache/typescript/5.6/node_modules/combined-stream/package.json +0 -25
- package/.cache/typescript/5.6/node_modules/combined-stream/yarn.lock +0 -17
- package/.cache/typescript/5.6/node_modules/delayed-stream/License +0 -19
- package/.cache/typescript/5.6/node_modules/delayed-stream/Makefile +0 -7
- package/.cache/typescript/5.6/node_modules/delayed-stream/Readme.md +0 -141
- package/.cache/typescript/5.6/node_modules/delayed-stream/lib/delayed_stream.js +0 -107
- package/.cache/typescript/5.6/node_modules/delayed-stream/package.json +0 -27
- package/.cache/typescript/5.6/node_modules/form-data/License +0 -19
- package/.cache/typescript/5.6/node_modules/form-data/Readme.md +0 -350
- package/.cache/typescript/5.6/node_modules/form-data/index.d.ts +0 -51
- package/.cache/typescript/5.6/node_modules/form-data/lib/browser.js +0 -2
- package/.cache/typescript/5.6/node_modules/form-data/lib/form_data.js +0 -484
- package/.cache/typescript/5.6/node_modules/form-data/lib/populate.js +0 -10
- package/.cache/typescript/5.6/node_modules/form-data/package.json +0 -72
- package/.cache/typescript/5.6/node_modules/mime-db/HISTORY.md +0 -507
- package/.cache/typescript/5.6/node_modules/mime-db/LICENSE +0 -23
- package/.cache/typescript/5.6/node_modules/mime-db/README.md +0 -100
- package/.cache/typescript/5.6/node_modules/mime-db/db.json +0 -8519
- package/.cache/typescript/5.6/node_modules/mime-db/index.js +0 -12
- package/.cache/typescript/5.6/node_modules/mime-db/package.json +0 -60
- package/.cache/typescript/5.6/node_modules/mime-types/HISTORY.md +0 -397
- package/.cache/typescript/5.6/node_modules/mime-types/LICENSE +0 -23
- package/.cache/typescript/5.6/node_modules/mime-types/README.md +0 -113
- package/.cache/typescript/5.6/node_modules/mime-types/index.js +0 -188
- package/.cache/typescript/5.6/node_modules/mime-types/package.json +0 -44
- package/.cache/typescript/5.6/node_modules/safe-buffer/LICENSE +0 -21
- package/.cache/typescript/5.6/node_modules/safe-buffer/README.md +0 -584
- package/.cache/typescript/5.6/node_modules/safe-buffer/index.d.ts +0 -187
- package/.cache/typescript/5.6/node_modules/safe-buffer/index.js +0 -65
- package/.cache/typescript/5.6/node_modules/safe-buffer/package.json +0 -51
- package/.cache/typescript/5.6/node_modules/types-registry/README.md +0 -2
- package/.cache/typescript/5.6/node_modules/types-registry/index.json +0 -1
- package/.cache/typescript/5.6/node_modules/types-registry/package.json +0 -20
- package/.cache/typescript/5.6/node_modules/undici-types/LICENSE +0 -21
- package/.cache/typescript/5.6/node_modules/undici-types/README.md +0 -6
- package/.cache/typescript/5.6/node_modules/undici-types/agent.d.ts +0 -31
- package/.cache/typescript/5.6/node_modules/undici-types/api.d.ts +0 -43
- package/.cache/typescript/5.6/node_modules/undici-types/balanced-pool.d.ts +0 -29
- package/.cache/typescript/5.6/node_modules/undici-types/cache.d.ts +0 -36
- package/.cache/typescript/5.6/node_modules/undici-types/client.d.ts +0 -108
- package/.cache/typescript/5.6/node_modules/undici-types/connector.d.ts +0 -34
- package/.cache/typescript/5.6/node_modules/undici-types/content-type.d.ts +0 -21
- package/.cache/typescript/5.6/node_modules/undici-types/cookies.d.ts +0 -28
- package/.cache/typescript/5.6/node_modules/undici-types/diagnostics-channel.d.ts +0 -66
- package/.cache/typescript/5.6/node_modules/undici-types/dispatcher.d.ts +0 -255
- package/.cache/typescript/5.6/node_modules/undici-types/env-http-proxy-agent.d.ts +0 -21
- package/.cache/typescript/5.6/node_modules/undici-types/errors.d.ts +0 -149
- package/.cache/typescript/5.6/node_modules/undici-types/eventsource.d.ts +0 -61
- package/.cache/typescript/5.6/node_modules/undici-types/fetch.d.ts +0 -209
- package/.cache/typescript/5.6/node_modules/undici-types/file.d.ts +0 -39
- package/.cache/typescript/5.6/node_modules/undici-types/filereader.d.ts +0 -54
- package/.cache/typescript/5.6/node_modules/undici-types/formdata.d.ts +0 -108
- package/.cache/typescript/5.6/node_modules/undici-types/global-dispatcher.d.ts +0 -9
- package/.cache/typescript/5.6/node_modules/undici-types/global-origin.d.ts +0 -7
- package/.cache/typescript/5.6/node_modules/undici-types/handlers.d.ts +0 -15
- package/.cache/typescript/5.6/node_modules/undici-types/header.d.ts +0 -4
- package/.cache/typescript/5.6/node_modules/undici-types/index.d.ts +0 -71
- package/.cache/typescript/5.6/node_modules/undici-types/interceptors.d.ts +0 -17
- package/.cache/typescript/5.6/node_modules/undici-types/mock-agent.d.ts +0 -50
- package/.cache/typescript/5.6/node_modules/undici-types/mock-client.d.ts +0 -25
- package/.cache/typescript/5.6/node_modules/undici-types/mock-errors.d.ts +0 -12
- package/.cache/typescript/5.6/node_modules/undici-types/mock-interceptor.d.ts +0 -93
- package/.cache/typescript/5.6/node_modules/undici-types/mock-pool.d.ts +0 -25
- package/.cache/typescript/5.6/node_modules/undici-types/package.json +0 -55
- package/.cache/typescript/5.6/node_modules/undici-types/patch.d.ts +0 -33
- package/.cache/typescript/5.6/node_modules/undici-types/pool-stats.d.ts +0 -19
- package/.cache/typescript/5.6/node_modules/undici-types/pool.d.ts +0 -39
- package/.cache/typescript/5.6/node_modules/undici-types/proxy-agent.d.ts +0 -28
- package/.cache/typescript/5.6/node_modules/undici-types/readable.d.ts +0 -60
- package/.cache/typescript/5.6/node_modules/undici-types/retry-agent.d.ts +0 -8
- package/.cache/typescript/5.6/node_modules/undici-types/retry-handler.d.ts +0 -116
- package/.cache/typescript/5.6/node_modules/undici-types/util.d.ts +0 -18
- package/.cache/typescript/5.6/node_modules/undici-types/webidl.d.ts +0 -222
- package/.cache/typescript/5.6/node_modules/undici-types/websocket.d.ts +0 -150
- package/.cache/typescript/5.6/package-lock.json +0 -183
- package/.cache/typescript/5.6/package.json +0 -1
@@ -1,222 +0,0 @@
|
|
1
|
-
// These types are not exported, and are only used internally
|
2
|
-
|
3
|
-
/**
|
4
|
-
* Take in an unknown value and return one that is of type T
|
5
|
-
*/
|
6
|
-
type Converter<T> = (object: unknown) => T
|
7
|
-
|
8
|
-
type SequenceConverter<T> = (object: unknown, iterable?: IterableIterator<T>) => T[]
|
9
|
-
|
10
|
-
type RecordConverter<K extends string, V> = (object: unknown) => Record<K, V>
|
11
|
-
|
12
|
-
interface ConvertToIntOpts {
|
13
|
-
clamp?: boolean
|
14
|
-
enforceRange?: boolean
|
15
|
-
}
|
16
|
-
|
17
|
-
interface WebidlErrors {
|
18
|
-
exception (opts: { header: string, message: string }): TypeError
|
19
|
-
/**
|
20
|
-
* @description Throw an error when conversion from one type to another has failed
|
21
|
-
*/
|
22
|
-
conversionFailed (opts: {
|
23
|
-
prefix: string
|
24
|
-
argument: string
|
25
|
-
types: string[]
|
26
|
-
}): TypeError
|
27
|
-
/**
|
28
|
-
* @description Throw an error when an invalid argument is provided
|
29
|
-
*/
|
30
|
-
invalidArgument (opts: {
|
31
|
-
prefix: string
|
32
|
-
value: string
|
33
|
-
type: string
|
34
|
-
}): TypeError
|
35
|
-
}
|
36
|
-
|
37
|
-
interface WebidlUtil {
|
38
|
-
/**
|
39
|
-
* @see https://tc39.es/ecma262/#sec-ecmascript-data-types-and-values
|
40
|
-
*/
|
41
|
-
Type (object: unknown):
|
42
|
-
| 'Undefined'
|
43
|
-
| 'Boolean'
|
44
|
-
| 'String'
|
45
|
-
| 'Symbol'
|
46
|
-
| 'Number'
|
47
|
-
| 'BigInt'
|
48
|
-
| 'Null'
|
49
|
-
| 'Object'
|
50
|
-
|
51
|
-
/**
|
52
|
-
* @see https://webidl.spec.whatwg.org/#abstract-opdef-converttoint
|
53
|
-
*/
|
54
|
-
ConvertToInt (
|
55
|
-
V: unknown,
|
56
|
-
bitLength: number,
|
57
|
-
signedness: 'signed' | 'unsigned',
|
58
|
-
opts?: ConvertToIntOpts
|
59
|
-
): number
|
60
|
-
|
61
|
-
/**
|
62
|
-
* @see https://webidl.spec.whatwg.org/#abstract-opdef-converttoint
|
63
|
-
*/
|
64
|
-
IntegerPart (N: number): number
|
65
|
-
|
66
|
-
/**
|
67
|
-
* Stringifies {@param V}
|
68
|
-
*/
|
69
|
-
Stringify (V: any): string
|
70
|
-
}
|
71
|
-
|
72
|
-
interface WebidlConverters {
|
73
|
-
/**
|
74
|
-
* @see https://webidl.spec.whatwg.org/#es-DOMString
|
75
|
-
*/
|
76
|
-
DOMString (V: unknown, prefix: string, argument: string, opts?: {
|
77
|
-
legacyNullToEmptyString: boolean
|
78
|
-
}): string
|
79
|
-
|
80
|
-
/**
|
81
|
-
* @see https://webidl.spec.whatwg.org/#es-ByteString
|
82
|
-
*/
|
83
|
-
ByteString (V: unknown, prefix: string, argument: string): string
|
84
|
-
|
85
|
-
/**
|
86
|
-
* @see https://webidl.spec.whatwg.org/#es-USVString
|
87
|
-
*/
|
88
|
-
USVString (V: unknown): string
|
89
|
-
|
90
|
-
/**
|
91
|
-
* @see https://webidl.spec.whatwg.org/#es-boolean
|
92
|
-
*/
|
93
|
-
boolean (V: unknown): boolean
|
94
|
-
|
95
|
-
/**
|
96
|
-
* @see https://webidl.spec.whatwg.org/#es-any
|
97
|
-
*/
|
98
|
-
any <Value>(V: Value): Value
|
99
|
-
|
100
|
-
/**
|
101
|
-
* @see https://webidl.spec.whatwg.org/#es-long-long
|
102
|
-
*/
|
103
|
-
['long long'] (V: unknown): number
|
104
|
-
|
105
|
-
/**
|
106
|
-
* @see https://webidl.spec.whatwg.org/#es-unsigned-long-long
|
107
|
-
*/
|
108
|
-
['unsigned long long'] (V: unknown): number
|
109
|
-
|
110
|
-
/**
|
111
|
-
* @see https://webidl.spec.whatwg.org/#es-unsigned-long
|
112
|
-
*/
|
113
|
-
['unsigned long'] (V: unknown): number
|
114
|
-
|
115
|
-
/**
|
116
|
-
* @see https://webidl.spec.whatwg.org/#es-unsigned-short
|
117
|
-
*/
|
118
|
-
['unsigned short'] (V: unknown, opts?: ConvertToIntOpts): number
|
119
|
-
|
120
|
-
/**
|
121
|
-
* @see https://webidl.spec.whatwg.org/#idl-ArrayBuffer
|
122
|
-
*/
|
123
|
-
ArrayBuffer (V: unknown): ArrayBufferLike
|
124
|
-
ArrayBuffer (V: unknown, opts: { allowShared: false }): ArrayBuffer
|
125
|
-
|
126
|
-
/**
|
127
|
-
* @see https://webidl.spec.whatwg.org/#es-buffer-source-types
|
128
|
-
*/
|
129
|
-
TypedArray (
|
130
|
-
V: unknown,
|
131
|
-
TypedArray: NodeJS.TypedArray | ArrayBufferLike
|
132
|
-
): NodeJS.TypedArray | ArrayBufferLike
|
133
|
-
TypedArray (
|
134
|
-
V: unknown,
|
135
|
-
TypedArray: NodeJS.TypedArray | ArrayBufferLike,
|
136
|
-
opts?: { allowShared: false }
|
137
|
-
): NodeJS.TypedArray | ArrayBuffer
|
138
|
-
|
139
|
-
/**
|
140
|
-
* @see https://webidl.spec.whatwg.org/#es-buffer-source-types
|
141
|
-
*/
|
142
|
-
DataView (V: unknown, opts?: { allowShared: boolean }): DataView
|
143
|
-
|
144
|
-
/**
|
145
|
-
* @see https://webidl.spec.whatwg.org/#BufferSource
|
146
|
-
*/
|
147
|
-
BufferSource (
|
148
|
-
V: unknown,
|
149
|
-
opts?: { allowShared: boolean }
|
150
|
-
): NodeJS.TypedArray | ArrayBufferLike | DataView
|
151
|
-
|
152
|
-
['sequence<ByteString>']: SequenceConverter<string>
|
153
|
-
|
154
|
-
['sequence<sequence<ByteString>>']: SequenceConverter<string[]>
|
155
|
-
|
156
|
-
['record<ByteString, ByteString>']: RecordConverter<string, string>
|
157
|
-
|
158
|
-
[Key: string]: (...args: any[]) => unknown
|
159
|
-
}
|
160
|
-
|
161
|
-
export interface Webidl {
|
162
|
-
errors: WebidlErrors
|
163
|
-
util: WebidlUtil
|
164
|
-
converters: WebidlConverters
|
165
|
-
|
166
|
-
/**
|
167
|
-
* @description Performs a brand-check on {@param V} to ensure it is a
|
168
|
-
* {@param cls} object.
|
169
|
-
*/
|
170
|
-
brandCheck <Interface>(V: unknown, cls: Interface, opts?: { strict?: boolean }): asserts V is Interface
|
171
|
-
|
172
|
-
/**
|
173
|
-
* @see https://webidl.spec.whatwg.org/#es-sequence
|
174
|
-
* @description Convert a value, V, to a WebIDL sequence type.
|
175
|
-
*/
|
176
|
-
sequenceConverter <Type>(C: Converter<Type>): SequenceConverter<Type>
|
177
|
-
|
178
|
-
illegalConstructor (): never
|
179
|
-
|
180
|
-
/**
|
181
|
-
* @see https://webidl.spec.whatwg.org/#es-to-record
|
182
|
-
* @description Convert a value, V, to a WebIDL record type.
|
183
|
-
*/
|
184
|
-
recordConverter <K extends string, V>(
|
185
|
-
keyConverter: Converter<K>,
|
186
|
-
valueConverter: Converter<V>
|
187
|
-
): RecordConverter<K, V>
|
188
|
-
|
189
|
-
/**
|
190
|
-
* Similar to {@link Webidl.brandCheck} but allows skipping the check if third party
|
191
|
-
* interfaces are allowed.
|
192
|
-
*/
|
193
|
-
interfaceConverter <Interface>(cls: Interface): (
|
194
|
-
V: unknown,
|
195
|
-
opts?: { strict: boolean }
|
196
|
-
) => asserts V is typeof cls
|
197
|
-
|
198
|
-
// TODO(@KhafraDev): a type could likely be implemented that can infer the return type
|
199
|
-
// from the converters given?
|
200
|
-
/**
|
201
|
-
* Converts a value, V, to a WebIDL dictionary types. Allows limiting which keys are
|
202
|
-
* allowed, values allowed, optional and required keys. Auto converts the value to
|
203
|
-
* a type given a converter.
|
204
|
-
*/
|
205
|
-
dictionaryConverter (converters: {
|
206
|
-
key: string,
|
207
|
-
defaultValue?: () => unknown,
|
208
|
-
required?: boolean,
|
209
|
-
converter: (...args: unknown[]) => unknown,
|
210
|
-
allowedValues?: unknown[]
|
211
|
-
}[]): (V: unknown) => Record<string, unknown>
|
212
|
-
|
213
|
-
/**
|
214
|
-
* @see https://webidl.spec.whatwg.org/#idl-nullable-type
|
215
|
-
* @description allows a type, V, to be null
|
216
|
-
*/
|
217
|
-
nullableConverter <T>(
|
218
|
-
converter: Converter<T>
|
219
|
-
): (V: unknown) => ReturnType<typeof converter> | null
|
220
|
-
|
221
|
-
argumentLengthCheck (args: { length: number }, min: number, context: string): void
|
222
|
-
}
|
@@ -1,150 +0,0 @@
|
|
1
|
-
/// <reference types="node" />
|
2
|
-
|
3
|
-
import type { Blob } from 'buffer'
|
4
|
-
import type { MessagePort } from 'worker_threads'
|
5
|
-
import {
|
6
|
-
EventInit,
|
7
|
-
EventListenerOptions,
|
8
|
-
AddEventListenerOptions,
|
9
|
-
EventListenerOrEventListenerObject
|
10
|
-
} from './patch'
|
11
|
-
import Dispatcher from './dispatcher'
|
12
|
-
import { HeadersInit } from './fetch'
|
13
|
-
|
14
|
-
export type BinaryType = 'blob' | 'arraybuffer'
|
15
|
-
|
16
|
-
interface WebSocketEventMap {
|
17
|
-
close: CloseEvent
|
18
|
-
error: ErrorEvent
|
19
|
-
message: MessageEvent
|
20
|
-
open: Event
|
21
|
-
}
|
22
|
-
|
23
|
-
interface WebSocket extends EventTarget {
|
24
|
-
binaryType: BinaryType
|
25
|
-
|
26
|
-
readonly bufferedAmount: number
|
27
|
-
readonly extensions: string
|
28
|
-
|
29
|
-
onclose: ((this: WebSocket, ev: WebSocketEventMap['close']) => any) | null
|
30
|
-
onerror: ((this: WebSocket, ev: WebSocketEventMap['error']) => any) | null
|
31
|
-
onmessage: ((this: WebSocket, ev: WebSocketEventMap['message']) => any) | null
|
32
|
-
onopen: ((this: WebSocket, ev: WebSocketEventMap['open']) => any) | null
|
33
|
-
|
34
|
-
readonly protocol: string
|
35
|
-
readonly readyState: number
|
36
|
-
readonly url: string
|
37
|
-
|
38
|
-
close(code?: number, reason?: string): void
|
39
|
-
send(data: string | ArrayBufferLike | Blob | ArrayBufferView): void
|
40
|
-
|
41
|
-
readonly CLOSED: number
|
42
|
-
readonly CLOSING: number
|
43
|
-
readonly CONNECTING: number
|
44
|
-
readonly OPEN: number
|
45
|
-
|
46
|
-
addEventListener<K extends keyof WebSocketEventMap>(
|
47
|
-
type: K,
|
48
|
-
listener: (this: WebSocket, ev: WebSocketEventMap[K]) => any,
|
49
|
-
options?: boolean | AddEventListenerOptions
|
50
|
-
): void
|
51
|
-
addEventListener(
|
52
|
-
type: string,
|
53
|
-
listener: EventListenerOrEventListenerObject,
|
54
|
-
options?: boolean | AddEventListenerOptions
|
55
|
-
): void
|
56
|
-
removeEventListener<K extends keyof WebSocketEventMap>(
|
57
|
-
type: K,
|
58
|
-
listener: (this: WebSocket, ev: WebSocketEventMap[K]) => any,
|
59
|
-
options?: boolean | EventListenerOptions
|
60
|
-
): void
|
61
|
-
removeEventListener(
|
62
|
-
type: string,
|
63
|
-
listener: EventListenerOrEventListenerObject,
|
64
|
-
options?: boolean | EventListenerOptions
|
65
|
-
): void
|
66
|
-
}
|
67
|
-
|
68
|
-
export declare const WebSocket: {
|
69
|
-
prototype: WebSocket
|
70
|
-
new (url: string | URL, protocols?: string | string[] | WebSocketInit): WebSocket
|
71
|
-
readonly CLOSED: number
|
72
|
-
readonly CLOSING: number
|
73
|
-
readonly CONNECTING: number
|
74
|
-
readonly OPEN: number
|
75
|
-
}
|
76
|
-
|
77
|
-
interface CloseEventInit extends EventInit {
|
78
|
-
code?: number
|
79
|
-
reason?: string
|
80
|
-
wasClean?: boolean
|
81
|
-
}
|
82
|
-
|
83
|
-
interface CloseEvent extends Event {
|
84
|
-
readonly code: number
|
85
|
-
readonly reason: string
|
86
|
-
readonly wasClean: boolean
|
87
|
-
}
|
88
|
-
|
89
|
-
export declare const CloseEvent: {
|
90
|
-
prototype: CloseEvent
|
91
|
-
new (type: string, eventInitDict?: CloseEventInit): CloseEvent
|
92
|
-
}
|
93
|
-
|
94
|
-
interface MessageEventInit<T = any> extends EventInit {
|
95
|
-
data?: T
|
96
|
-
lastEventId?: string
|
97
|
-
origin?: string
|
98
|
-
ports?: (typeof MessagePort)[]
|
99
|
-
source?: typeof MessagePort | null
|
100
|
-
}
|
101
|
-
|
102
|
-
interface MessageEvent<T = any> extends Event {
|
103
|
-
readonly data: T
|
104
|
-
readonly lastEventId: string
|
105
|
-
readonly origin: string
|
106
|
-
readonly ports: ReadonlyArray<typeof MessagePort>
|
107
|
-
readonly source: typeof MessagePort | null
|
108
|
-
initMessageEvent(
|
109
|
-
type: string,
|
110
|
-
bubbles?: boolean,
|
111
|
-
cancelable?: boolean,
|
112
|
-
data?: any,
|
113
|
-
origin?: string,
|
114
|
-
lastEventId?: string,
|
115
|
-
source?: typeof MessagePort | null,
|
116
|
-
ports?: (typeof MessagePort)[]
|
117
|
-
): void;
|
118
|
-
}
|
119
|
-
|
120
|
-
export declare const MessageEvent: {
|
121
|
-
prototype: MessageEvent
|
122
|
-
new<T>(type: string, eventInitDict?: MessageEventInit<T>): MessageEvent<T>
|
123
|
-
}
|
124
|
-
|
125
|
-
interface ErrorEventInit extends EventInit {
|
126
|
-
message?: string
|
127
|
-
filename?: string
|
128
|
-
lineno?: number
|
129
|
-
colno?: number
|
130
|
-
error?: any
|
131
|
-
}
|
132
|
-
|
133
|
-
interface ErrorEvent extends Event {
|
134
|
-
readonly message: string
|
135
|
-
readonly filename: string
|
136
|
-
readonly lineno: number
|
137
|
-
readonly colno: number
|
138
|
-
readonly error: any
|
139
|
-
}
|
140
|
-
|
141
|
-
export declare const ErrorEvent: {
|
142
|
-
prototype: ErrorEvent
|
143
|
-
new (type: string, eventInitDict?: ErrorEventInit): ErrorEvent
|
144
|
-
}
|
145
|
-
|
146
|
-
interface WebSocketInit {
|
147
|
-
protocols?: string | string[],
|
148
|
-
dispatcher?: Dispatcher,
|
149
|
-
headers?: HeadersInit
|
150
|
-
}
|
@@ -1,183 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"name": "5.6",
|
3
|
-
"lockfileVersion": 3,
|
4
|
-
"requires": true,
|
5
|
-
"packages": {
|
6
|
-
"": {
|
7
|
-
"dependencies": {
|
8
|
-
"types-registry": "^0.1.700"
|
9
|
-
},
|
10
|
-
"devDependencies": {
|
11
|
-
"@types/bluebird": "^3.5.42",
|
12
|
-
"@types/cheerio": "^0.22.35",
|
13
|
-
"@types/mocha": "^10.0.10",
|
14
|
-
"@types/node": "^22.10.2",
|
15
|
-
"@types/request": "^2.48.12"
|
16
|
-
}
|
17
|
-
},
|
18
|
-
"node_modules/@types/bluebird": {
|
19
|
-
"version": "3.5.42",
|
20
|
-
"resolved": "https://registry.npmjs.org/@types/bluebird/-/bluebird-3.5.42.tgz",
|
21
|
-
"integrity": "sha512-Jhy+MWRlro6UjVi578V/4ZGNfeCOcNCp0YaFNIUGFKlImowqwb1O/22wDVk3FDGMLqxdpOV3qQHD5fPEH4hK6A==",
|
22
|
-
"dev": true,
|
23
|
-
"license": "MIT"
|
24
|
-
},
|
25
|
-
"node_modules/@types/caseless": {
|
26
|
-
"version": "0.12.5",
|
27
|
-
"resolved": "https://registry.npmjs.org/@types/caseless/-/caseless-0.12.5.tgz",
|
28
|
-
"integrity": "sha512-hWtVTC2q7hc7xZ/RLbxapMvDMgUnDvKvMOpKal4DrMyfGBUfB1oKaZlIRr6mJL+If3bAP6sV/QneGzF6tJjZDg==",
|
29
|
-
"dev": true,
|
30
|
-
"license": "MIT"
|
31
|
-
},
|
32
|
-
"node_modules/@types/cheerio": {
|
33
|
-
"version": "0.22.35",
|
34
|
-
"resolved": "https://registry.npmjs.org/@types/cheerio/-/cheerio-0.22.35.tgz",
|
35
|
-
"integrity": "sha512-yD57BchKRvTV+JD53UZ6PD8KWY5g5rvvMLRnZR3EQBCZXiDT/HR+pKpMzFGlWNhFrXlo7VPZXtKvIEwZkAWOIA==",
|
36
|
-
"dev": true,
|
37
|
-
"license": "MIT",
|
38
|
-
"dependencies": {
|
39
|
-
"@types/node": "*"
|
40
|
-
}
|
41
|
-
},
|
42
|
-
"node_modules/@types/mocha": {
|
43
|
-
"version": "10.0.10",
|
44
|
-
"resolved": "https://registry.npmjs.org/@types/mocha/-/mocha-10.0.10.tgz",
|
45
|
-
"integrity": "sha512-xPyYSz1cMPnJQhl0CLMH68j3gprKZaTjG3s5Vi+fDgx+uhG9NOXwbVt52eFS8ECyXhyKcjDLCBEqBExKuiZb7Q==",
|
46
|
-
"dev": true,
|
47
|
-
"license": "MIT"
|
48
|
-
},
|
49
|
-
"node_modules/@types/node": {
|
50
|
-
"version": "22.10.2",
|
51
|
-
"resolved": "https://registry.npmjs.org/@types/node/-/node-22.10.2.tgz",
|
52
|
-
"integrity": "sha512-Xxr6BBRCAOQixvonOye19wnzyDiUtTeqldOOmj3CkeblonbccA12PFwlufvRdrpjXxqnmUaeiU5EOA+7s5diUQ==",
|
53
|
-
"dev": true,
|
54
|
-
"license": "MIT",
|
55
|
-
"dependencies": {
|
56
|
-
"undici-types": "~6.20.0"
|
57
|
-
}
|
58
|
-
},
|
59
|
-
"node_modules/@types/request": {
|
60
|
-
"version": "2.48.12",
|
61
|
-
"resolved": "https://registry.npmjs.org/@types/request/-/request-2.48.12.tgz",
|
62
|
-
"integrity": "sha512-G3sY+NpsA9jnwm0ixhAFQSJ3Q9JkpLZpJbI3GMv0mIAT0y3mRabYeINzal5WOChIiaTEGQYlHOKgkaM9EisWHw==",
|
63
|
-
"dev": true,
|
64
|
-
"license": "MIT",
|
65
|
-
"dependencies": {
|
66
|
-
"@types/caseless": "*",
|
67
|
-
"@types/node": "*",
|
68
|
-
"@types/tough-cookie": "*",
|
69
|
-
"form-data": "^2.5.0"
|
70
|
-
}
|
71
|
-
},
|
72
|
-
"node_modules/@types/tough-cookie": {
|
73
|
-
"version": "4.0.5",
|
74
|
-
"resolved": "https://registry.npmjs.org/@types/tough-cookie/-/tough-cookie-4.0.5.tgz",
|
75
|
-
"integrity": "sha512-/Ad8+nIOV7Rl++6f1BdKxFSMgmoqEoYbHRpPcx3JEfv8VRsQe9Z4mCXeJBzxs7mbHY/XOZZuXlRNfhpVPbs6ZA==",
|
76
|
-
"dev": true,
|
77
|
-
"license": "MIT"
|
78
|
-
},
|
79
|
-
"node_modules/asynckit": {
|
80
|
-
"version": "0.4.0",
|
81
|
-
"resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz",
|
82
|
-
"integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==",
|
83
|
-
"dev": true,
|
84
|
-
"license": "MIT"
|
85
|
-
},
|
86
|
-
"node_modules/combined-stream": {
|
87
|
-
"version": "1.0.8",
|
88
|
-
"resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz",
|
89
|
-
"integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==",
|
90
|
-
"dev": true,
|
91
|
-
"license": "MIT",
|
92
|
-
"dependencies": {
|
93
|
-
"delayed-stream": "~1.0.0"
|
94
|
-
},
|
95
|
-
"engines": {
|
96
|
-
"node": ">= 0.8"
|
97
|
-
}
|
98
|
-
},
|
99
|
-
"node_modules/delayed-stream": {
|
100
|
-
"version": "1.0.0",
|
101
|
-
"resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz",
|
102
|
-
"integrity": "sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==",
|
103
|
-
"dev": true,
|
104
|
-
"license": "MIT",
|
105
|
-
"engines": {
|
106
|
-
"node": ">=0.4.0"
|
107
|
-
}
|
108
|
-
},
|
109
|
-
"node_modules/form-data": {
|
110
|
-
"version": "2.5.2",
|
111
|
-
"resolved": "https://registry.npmjs.org/form-data/-/form-data-2.5.2.tgz",
|
112
|
-
"integrity": "sha512-GgwY0PS7DbXqajuGf4OYlsrIu3zgxD6Vvql43IBhm6MahqA5SK/7mwhtNj2AdH2z35YR34ujJ7BN+3fFC3jP5Q==",
|
113
|
-
"dev": true,
|
114
|
-
"license": "MIT",
|
115
|
-
"dependencies": {
|
116
|
-
"asynckit": "^0.4.0",
|
117
|
-
"combined-stream": "^1.0.6",
|
118
|
-
"mime-types": "^2.1.12",
|
119
|
-
"safe-buffer": "^5.2.1"
|
120
|
-
},
|
121
|
-
"engines": {
|
122
|
-
"node": ">= 0.12"
|
123
|
-
}
|
124
|
-
},
|
125
|
-
"node_modules/mime-db": {
|
126
|
-
"version": "1.52.0",
|
127
|
-
"resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz",
|
128
|
-
"integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==",
|
129
|
-
"dev": true,
|
130
|
-
"license": "MIT",
|
131
|
-
"engines": {
|
132
|
-
"node": ">= 0.6"
|
133
|
-
}
|
134
|
-
},
|
135
|
-
"node_modules/mime-types": {
|
136
|
-
"version": "2.1.35",
|
137
|
-
"resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz",
|
138
|
-
"integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==",
|
139
|
-
"dev": true,
|
140
|
-
"license": "MIT",
|
141
|
-
"dependencies": {
|
142
|
-
"mime-db": "1.52.0"
|
143
|
-
},
|
144
|
-
"engines": {
|
145
|
-
"node": ">= 0.6"
|
146
|
-
}
|
147
|
-
},
|
148
|
-
"node_modules/safe-buffer": {
|
149
|
-
"version": "5.2.1",
|
150
|
-
"resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz",
|
151
|
-
"integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==",
|
152
|
-
"dev": true,
|
153
|
-
"funding": [
|
154
|
-
{
|
155
|
-
"type": "github",
|
156
|
-
"url": "https://github.com/sponsors/feross"
|
157
|
-
},
|
158
|
-
{
|
159
|
-
"type": "patreon",
|
160
|
-
"url": "https://www.patreon.com/feross"
|
161
|
-
},
|
162
|
-
{
|
163
|
-
"type": "consulting",
|
164
|
-
"url": "https://feross.org/support"
|
165
|
-
}
|
166
|
-
],
|
167
|
-
"license": "MIT"
|
168
|
-
},
|
169
|
-
"node_modules/types-registry": {
|
170
|
-
"version": "0.1.700",
|
171
|
-
"resolved": "https://registry.npmjs.org/types-registry/-/types-registry-0.1.700.tgz",
|
172
|
-
"integrity": "sha512-xuC3Sih06S+WIgdPcy9i1iqky9bgw54CeP+GDv1p5GFSumAXCPA1rMPzlIZfbrQ67TgJbmdr3Yr2TxZv0Bcl3Q==",
|
173
|
-
"license": "MIT"
|
174
|
-
},
|
175
|
-
"node_modules/undici-types": {
|
176
|
-
"version": "6.20.0",
|
177
|
-
"resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.20.0.tgz",
|
178
|
-
"integrity": "sha512-Ny6QZ2Nju20vw1SRHe3d9jVu6gJ+4e3+MMpqu7pqE5HT6WsTSlce++GQmK5UXS8mzV8DSYHrQH+Xrf2jVcuKNg==",
|
179
|
-
"dev": true,
|
180
|
-
"license": "MIT"
|
181
|
-
}
|
182
|
-
}
|
183
|
-
}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"private":true,"dependencies":{"types-registry":"^0.1.700"},"devDependencies":{"@types/bluebird":"^3.5.42","@types/cheerio":"^0.22.35","@types/mocha":"^10.0.10","@types/node":"^22.10.2","@types/request":"^2.48.12"}}
|