cloudstructs 0.4.1 → 0.4.5
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/.jsii +3 -3
- package/changelog.md +6 -1
- package/lib/codecommit-mirror/index.js +2 -2
- package/lib/ecs-service-roller/index.js +2 -2
- package/lib/email-receiver/receiver.js +1 -1
- package/lib/saml-identity-provider/index.js +2 -2
- package/lib/slack-app/manifest.js +1 -1
- package/lib/slack-app/slack-app.js +2 -2
- package/lib/slack-events/index.js +1 -1
- package/lib/slack-textract/index.js +1 -1
- package/lib/state-machine-cr-provider/index.js +1 -1
- package/lib/static-website/index.js +7 -3
- package/lib/url-shortener/index.js +1 -1
- package/node_modules/@sindresorhus/is/dist/index.d.ts +4 -2
- package/node_modules/@sindresorhus/is/dist/index.js +3 -1
- package/node_modules/@sindresorhus/is/package.json +1 -1
- package/node_modules/@sindresorhus/is/readme.md +23 -0
- package/node_modules/@slack/logger/node_modules/@types/node/README.md +2 -2
- package/node_modules/@slack/logger/node_modules/@types/node/assert.d.ts +1 -1
- package/node_modules/@slack/logger/node_modules/@types/node/async_hooks.d.ts +7 -3
- package/node_modules/@slack/logger/node_modules/@types/node/buffer.d.ts +9 -9
- package/node_modules/@slack/logger/node_modules/@types/node/child_process.d.ts +1 -1
- package/node_modules/@slack/logger/node_modules/@types/node/cluster.d.ts +1 -1
- package/node_modules/@slack/logger/node_modules/@types/node/console.d.ts +1 -1
- package/node_modules/@slack/logger/node_modules/@types/node/crypto.d.ts +2 -2
- package/node_modules/@slack/logger/node_modules/@types/node/dgram.d.ts +2 -2
- package/node_modules/@slack/logger/node_modules/@types/node/diagnostics_channel.d.ts +1 -1
- package/node_modules/@slack/logger/node_modules/@types/node/dns/promises.d.ts +12 -10
- package/node_modules/@slack/logger/node_modules/@types/node/dns.d.ts +17 -12
- package/node_modules/@slack/logger/node_modules/@types/node/domain.d.ts +1 -1
- package/node_modules/@slack/logger/node_modules/@types/node/events.d.ts +2 -2
- package/node_modules/@slack/logger/node_modules/@types/node/fs/promises.d.ts +5 -5
- package/node_modules/@slack/logger/node_modules/@types/node/fs.d.ts +62 -11
- package/node_modules/@slack/logger/node_modules/@types/node/globals.d.ts +3 -3
- package/node_modules/@slack/logger/node_modules/@types/node/http.d.ts +31 -4
- package/node_modules/@slack/logger/node_modules/@types/node/http2.d.ts +6 -6
- package/node_modules/@slack/logger/node_modules/@types/node/https.d.ts +1 -1
- package/node_modules/@slack/logger/node_modules/@types/node/index.d.ts +1 -2
- package/node_modules/@slack/logger/node_modules/@types/node/inspector.d.ts +4 -5
- package/node_modules/@slack/logger/node_modules/@types/node/net.d.ts +15 -14
- package/node_modules/@slack/logger/node_modules/@types/node/os.d.ts +1 -1
- package/node_modules/@slack/logger/node_modules/@types/node/package.json +2 -7
- package/node_modules/@slack/logger/node_modules/@types/node/path.d.ts +9 -1
- package/node_modules/@slack/logger/node_modules/@types/node/perf_hooks.d.ts +6 -4
- package/node_modules/@slack/logger/node_modules/@types/node/process.d.ts +1 -1
- package/node_modules/@slack/logger/node_modules/@types/node/punycode.d.ts +1 -1
- package/node_modules/@slack/logger/node_modules/@types/node/querystring.d.ts +1 -1
- package/node_modules/@slack/logger/node_modules/@types/node/readline.d.ts +121 -14
- package/node_modules/@slack/logger/node_modules/@types/node/repl.d.ts +1 -1
- package/node_modules/@slack/logger/node_modules/@types/node/stream/web.d.ts +3 -65
- package/node_modules/@slack/logger/node_modules/@types/node/stream.d.ts +10 -10
- package/node_modules/@slack/logger/node_modules/@types/node/string_decoder.d.ts +1 -1
- package/node_modules/@slack/logger/node_modules/@types/node/timers.d.ts +1 -1
- package/node_modules/@slack/logger/node_modules/@types/node/tls.d.ts +3 -2
- package/node_modules/@slack/logger/node_modules/@types/node/trace_events.d.ts +1 -1
- package/node_modules/@slack/logger/node_modules/@types/node/tty.d.ts +1 -1
- package/node_modules/@slack/logger/node_modules/@types/node/url.d.ts +58 -18
- package/node_modules/@slack/logger/node_modules/@types/node/util.d.ts +3 -3
- package/node_modules/@slack/logger/node_modules/@types/node/v8.d.ts +3 -3
- package/node_modules/@slack/logger/node_modules/@types/node/vm.d.ts +1 -1
- package/node_modules/@slack/logger/node_modules/@types/node/wasi.d.ts +1 -1
- package/node_modules/@slack/logger/node_modules/@types/node/worker_threads.d.ts +4 -4
- package/node_modules/@slack/logger/node_modules/@types/node/zlib.d.ts +1 -1
- package/node_modules/@slack/web-api/node_modules/@types/node/README.md +2 -2
- package/node_modules/@slack/web-api/node_modules/@types/node/assert.d.ts +1 -1
- package/node_modules/@slack/web-api/node_modules/@types/node/async_hooks.d.ts +7 -3
- package/node_modules/@slack/web-api/node_modules/@types/node/buffer.d.ts +9 -9
- package/node_modules/@slack/web-api/node_modules/@types/node/child_process.d.ts +1 -1
- package/node_modules/@slack/web-api/node_modules/@types/node/cluster.d.ts +1 -1
- package/node_modules/@slack/web-api/node_modules/@types/node/console.d.ts +1 -1
- package/node_modules/@slack/web-api/node_modules/@types/node/crypto.d.ts +2 -2
- package/node_modules/@slack/web-api/node_modules/@types/node/dgram.d.ts +2 -2
- package/node_modules/@slack/web-api/node_modules/@types/node/diagnostics_channel.d.ts +1 -1
- package/node_modules/@slack/web-api/node_modules/@types/node/dns/promises.d.ts +12 -10
- package/node_modules/@slack/web-api/node_modules/@types/node/dns.d.ts +17 -12
- package/node_modules/@slack/web-api/node_modules/@types/node/domain.d.ts +1 -1
- package/node_modules/@slack/web-api/node_modules/@types/node/events.d.ts +2 -2
- package/node_modules/@slack/web-api/node_modules/@types/node/fs/promises.d.ts +5 -5
- package/node_modules/@slack/web-api/node_modules/@types/node/fs.d.ts +62 -11
- package/node_modules/@slack/web-api/node_modules/@types/node/globals.d.ts +3 -3
- package/node_modules/@slack/web-api/node_modules/@types/node/http.d.ts +31 -4
- package/node_modules/@slack/web-api/node_modules/@types/node/http2.d.ts +6 -6
- package/node_modules/@slack/web-api/node_modules/@types/node/https.d.ts +1 -1
- package/node_modules/@slack/web-api/node_modules/@types/node/index.d.ts +1 -2
- package/node_modules/@slack/web-api/node_modules/@types/node/inspector.d.ts +4 -5
- package/node_modules/@slack/web-api/node_modules/@types/node/net.d.ts +15 -14
- package/node_modules/@slack/web-api/node_modules/@types/node/os.d.ts +1 -1
- package/node_modules/@slack/web-api/node_modules/@types/node/package.json +2 -7
- package/node_modules/@slack/web-api/node_modules/@types/node/path.d.ts +9 -1
- package/node_modules/@slack/web-api/node_modules/@types/node/perf_hooks.d.ts +6 -4
- package/node_modules/@slack/web-api/node_modules/@types/node/process.d.ts +1 -1
- package/node_modules/@slack/web-api/node_modules/@types/node/punycode.d.ts +1 -1
- package/node_modules/@slack/web-api/node_modules/@types/node/querystring.d.ts +1 -1
- package/node_modules/@slack/web-api/node_modules/@types/node/readline.d.ts +121 -14
- package/node_modules/@slack/web-api/node_modules/@types/node/repl.d.ts +1 -1
- package/node_modules/@slack/web-api/node_modules/@types/node/stream/web.d.ts +3 -65
- package/node_modules/@slack/web-api/node_modules/@types/node/stream.d.ts +10 -10
- package/node_modules/@slack/web-api/node_modules/@types/node/string_decoder.d.ts +1 -1
- package/node_modules/@slack/web-api/node_modules/@types/node/timers.d.ts +1 -1
- package/node_modules/@slack/web-api/node_modules/@types/node/tls.d.ts +3 -2
- package/node_modules/@slack/web-api/node_modules/@types/node/trace_events.d.ts +1 -1
- package/node_modules/@slack/web-api/node_modules/@types/node/tty.d.ts +1 -1
- package/node_modules/@slack/web-api/node_modules/@types/node/url.d.ts +58 -18
- package/node_modules/@slack/web-api/node_modules/@types/node/util.d.ts +3 -3
- package/node_modules/@slack/web-api/node_modules/@types/node/v8.d.ts +3 -3
- package/node_modules/@slack/web-api/node_modules/@types/node/vm.d.ts +1 -1
- package/node_modules/@slack/web-api/node_modules/@types/node/wasi.d.ts +1 -1
- package/node_modules/@slack/web-api/node_modules/@types/node/worker_threads.d.ts +4 -4
- package/node_modules/@slack/web-api/node_modules/@types/node/zlib.d.ts +1 -1
- package/node_modules/@types/cacheable-request/node_modules/@types/node/README.md +2 -2
- package/node_modules/@types/cacheable-request/node_modules/@types/node/index.d.ts +0 -1
- package/node_modules/@types/cacheable-request/node_modules/@types/node/package.json +2 -7
- package/node_modules/@types/is-stream/node_modules/@types/node/README.md +2 -2
- package/node_modules/@types/is-stream/node_modules/@types/node/index.d.ts +0 -1
- package/node_modules/@types/is-stream/node_modules/@types/node/package.json +2 -7
- package/node_modules/@types/keyv/node_modules/@types/node/README.md +2 -2
- package/node_modules/@types/keyv/node_modules/@types/node/index.d.ts +0 -1
- package/node_modules/@types/keyv/node_modules/@types/node/package.json +2 -7
- package/node_modules/@types/responselike/node_modules/@types/node/README.md +2 -2
- package/node_modules/@types/responselike/node_modules/@types/node/index.d.ts +0 -1
- package/node_modules/@types/responselike/node_modules/@types/node/package.json +2 -7
- package/node_modules/follow-redirects/index.js +2 -2
- package/node_modules/follow-redirects/package.json +1 -1
- package/node_modules/keyv/.nyc_output/37411020-4142-4b08-b825-343ba2427bf7.json +1 -0
- package/node_modules/keyv/.nyc_output/cd79f2de-c8b8-4493-bc15-b2bde28efa4b.json +1 -0
- package/node_modules/keyv/.nyc_output/processinfo/37411020-4142-4b08-b825-343ba2427bf7.json +1 -0
- package/node_modules/keyv/.nyc_output/processinfo/cd79f2de-c8b8-4493-bc15-b2bde28efa4b.json +1 -0
- package/node_modules/keyv/.nyc_output/processinfo/index.json +1 -0
- package/node_modules/keyv/README.md +9 -8
- package/node_modules/keyv/package.json +5 -7
- package/node_modules/keyv/test/test.js +132 -0
- package/node_modules/keyv/test/testdb.sqlite +0 -0
- package/package.json +14 -13
- package/releasetag.txt +1 -1
- package/version.txt +1 -1
- package/node_modules/keyv/LICENSE +0 -21
|
@@ -8,9 +8,9 @@ This package contains type definitions for Node.js (https://nodejs.org/).
|
|
|
8
8
|
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node.
|
|
9
9
|
|
|
10
10
|
### Additional Details
|
|
11
|
-
* Last updated:
|
|
11
|
+
* Last updated: Tue, 18 Jan 2022 18:31:37 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
* Global values: `AbortController`, `AbortSignal`, `__dirname`, `__filename`, `console`, `exports`, `gc`, `global`, `module`, `process`, `require`
|
|
14
14
|
|
|
15
15
|
# Credits
|
|
16
|
-
These definitions were written by [Microsoft TypeScript](https://github.com/Microsoft), [DefinitelyTyped](https://github.com/DefinitelyTyped), [Alberto Schiabel](https://github.com/jkomyno), [Alvis HT Tang](https://github.com/alvis), [Andrew Makarov](https://github.com/r3nya), [Benjamin Toueg](https://github.com/btoueg), [Chigozirim C.](https://github.com/smac89), [David Junger](https://github.com/touffy), [Deividas Bakanas](https://github.com/DeividasBakanas), [Eugene Y. Q. Shen](https://github.com/eyqs), [Hannes Magnusson](https://github.com/Hannes-Magnusson-CK), [Huw](https://github.com/hoo29), [Kelvin Jin](https://github.com/kjin), [Klaus Meinhardt](https://github.com/ajafff), [Lishude](https://github.com/islishude), [Mariusz Wiktorczyk](https://github.com/mwiktorczyk), [Mohsen Azimi](https://github.com/mohsen1), [Nicolas Even](https://github.com/n-e), [Nikita Galkin](https://github.com/galkin), [Parambir Singh](https://github.com/parambirs), [Sebastian Silbermann](https://github.com/eps1lon), [Seth Westphal](https://github.com/westy92), [Simon Schick](https://github.com/SimonSchick), [Thomas den Hollander](https://github.com/ThomasdenH), [Wilco Bakker](https://github.com/WilcoBakker), [wwwy3y3](https://github.com/wwwy3y3), [Samuel Ainsworth](https://github.com/samuela), [Kyle Uehlein](https://github.com/kuehlein), [Thanik Bhongbhibhat](https://github.com/bhongy), [Marcin Kopacz](https://github.com/chyzwar), [Trivikram Kamat](https://github.com/trivikr), [Junxiao Shi](https://github.com/yoursunny), [Ilia Baryshnikov](https://github.com/qwelias), [ExE Boss](https://github.com/ExE-Boss), [
|
|
16
|
+
These definitions were written by [Microsoft TypeScript](https://github.com/Microsoft), [DefinitelyTyped](https://github.com/DefinitelyTyped), [Alberto Schiabel](https://github.com/jkomyno), [Alvis HT Tang](https://github.com/alvis), [Andrew Makarov](https://github.com/r3nya), [Benjamin Toueg](https://github.com/btoueg), [Chigozirim C.](https://github.com/smac89), [David Junger](https://github.com/touffy), [Deividas Bakanas](https://github.com/DeividasBakanas), [Eugene Y. Q. Shen](https://github.com/eyqs), [Hannes Magnusson](https://github.com/Hannes-Magnusson-CK), [Huw](https://github.com/hoo29), [Kelvin Jin](https://github.com/kjin), [Klaus Meinhardt](https://github.com/ajafff), [Lishude](https://github.com/islishude), [Mariusz Wiktorczyk](https://github.com/mwiktorczyk), [Mohsen Azimi](https://github.com/mohsen1), [Nicolas Even](https://github.com/n-e), [Nikita Galkin](https://github.com/galkin), [Parambir Singh](https://github.com/parambirs), [Sebastian Silbermann](https://github.com/eps1lon), [Seth Westphal](https://github.com/westy92), [Simon Schick](https://github.com/SimonSchick), [Thomas den Hollander](https://github.com/ThomasdenH), [Wilco Bakker](https://github.com/WilcoBakker), [wwwy3y3](https://github.com/wwwy3y3), [Samuel Ainsworth](https://github.com/samuela), [Kyle Uehlein](https://github.com/kuehlein), [Thanik Bhongbhibhat](https://github.com/bhongy), [Marcin Kopacz](https://github.com/chyzwar), [Trivikram Kamat](https://github.com/trivikr), [Junxiao Shi](https://github.com/yoursunny), [Ilia Baryshnikov](https://github.com/qwelias), [ExE Boss](https://github.com/ExE-Boss), [Piotr Błażejewicz](https://github.com/peterblazejewicz), [Anna Henningsen](https://github.com/addaleax), [Victor Perin](https://github.com/victorperin), [Yongsheng Zhang](https://github.com/ZYSzys), [NodeJS Contributors](https://github.com/NodeJS), [Linus Unnebäck](https://github.com/LinusU), and [wafuwafu13](https://github.com/wafuwafu13).
|
|
@@ -34,7 +34,6 @@
|
|
|
34
34
|
// Junxiao Shi <https://github.com/yoursunny>
|
|
35
35
|
// Ilia Baryshnikov <https://github.com/qwelias>
|
|
36
36
|
// ExE Boss <https://github.com/ExE-Boss>
|
|
37
|
-
// Surasak Chaisurin <https://github.com/Ryan-Willpower>
|
|
38
37
|
// Piotr Błażejewicz <https://github.com/peterblazejewicz>
|
|
39
38
|
// Anna Henningsen <https://github.com/addaleax>
|
|
40
39
|
// Victor Perin <https://github.com/victorperin>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/node",
|
|
3
|
-
"version": "17.0.
|
|
3
|
+
"version": "17.0.10",
|
|
4
4
|
"description": "TypeScript definitions for Node.js",
|
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
|
|
6
6
|
"license": "MIT",
|
|
@@ -175,11 +175,6 @@
|
|
|
175
175
|
"url": "https://github.com/ExE-Boss",
|
|
176
176
|
"githubUsername": "ExE-Boss"
|
|
177
177
|
},
|
|
178
|
-
{
|
|
179
|
-
"name": "Surasak Chaisurin",
|
|
180
|
-
"url": "https://github.com/Ryan-Willpower",
|
|
181
|
-
"githubUsername": "Ryan-Willpower"
|
|
182
|
-
},
|
|
183
178
|
{
|
|
184
179
|
"name": "Piotr Błażejewicz",
|
|
185
180
|
"url": "https://github.com/peterblazejewicz",
|
|
@@ -225,6 +220,6 @@
|
|
|
225
220
|
},
|
|
226
221
|
"scripts": {},
|
|
227
222
|
"dependencies": {},
|
|
228
|
-
"typesPublisherContentHash": "
|
|
223
|
+
"typesPublisherContentHash": "a2e243404f102a5fd5fbcaefab0a775ffcb1db4d09832612decbd69815f1890b",
|
|
229
224
|
"typeScriptVersion": "3.8"
|
|
230
225
|
}
|
|
@@ -8,9 +8,9 @@ This package contains type definitions for Node.js (https://nodejs.org/).
|
|
|
8
8
|
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node.
|
|
9
9
|
|
|
10
10
|
### Additional Details
|
|
11
|
-
* Last updated:
|
|
11
|
+
* Last updated: Tue, 18 Jan 2022 18:31:37 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
* Global values: `AbortController`, `AbortSignal`, `__dirname`, `__filename`, `console`, `exports`, `gc`, `global`, `module`, `process`, `require`
|
|
14
14
|
|
|
15
15
|
# Credits
|
|
16
|
-
These definitions were written by [Microsoft TypeScript](https://github.com/Microsoft), [DefinitelyTyped](https://github.com/DefinitelyTyped), [Alberto Schiabel](https://github.com/jkomyno), [Alvis HT Tang](https://github.com/alvis), [Andrew Makarov](https://github.com/r3nya), [Benjamin Toueg](https://github.com/btoueg), [Chigozirim C.](https://github.com/smac89), [David Junger](https://github.com/touffy), [Deividas Bakanas](https://github.com/DeividasBakanas), [Eugene Y. Q. Shen](https://github.com/eyqs), [Hannes Magnusson](https://github.com/Hannes-Magnusson-CK), [Huw](https://github.com/hoo29), [Kelvin Jin](https://github.com/kjin), [Klaus Meinhardt](https://github.com/ajafff), [Lishude](https://github.com/islishude), [Mariusz Wiktorczyk](https://github.com/mwiktorczyk), [Mohsen Azimi](https://github.com/mohsen1), [Nicolas Even](https://github.com/n-e), [Nikita Galkin](https://github.com/galkin), [Parambir Singh](https://github.com/parambirs), [Sebastian Silbermann](https://github.com/eps1lon), [Seth Westphal](https://github.com/westy92), [Simon Schick](https://github.com/SimonSchick), [Thomas den Hollander](https://github.com/ThomasdenH), [Wilco Bakker](https://github.com/WilcoBakker), [wwwy3y3](https://github.com/wwwy3y3), [Samuel Ainsworth](https://github.com/samuela), [Kyle Uehlein](https://github.com/kuehlein), [Thanik Bhongbhibhat](https://github.com/bhongy), [Marcin Kopacz](https://github.com/chyzwar), [Trivikram Kamat](https://github.com/trivikr), [Junxiao Shi](https://github.com/yoursunny), [Ilia Baryshnikov](https://github.com/qwelias), [ExE Boss](https://github.com/ExE-Boss), [
|
|
16
|
+
These definitions were written by [Microsoft TypeScript](https://github.com/Microsoft), [DefinitelyTyped](https://github.com/DefinitelyTyped), [Alberto Schiabel](https://github.com/jkomyno), [Alvis HT Tang](https://github.com/alvis), [Andrew Makarov](https://github.com/r3nya), [Benjamin Toueg](https://github.com/btoueg), [Chigozirim C.](https://github.com/smac89), [David Junger](https://github.com/touffy), [Deividas Bakanas](https://github.com/DeividasBakanas), [Eugene Y. Q. Shen](https://github.com/eyqs), [Hannes Magnusson](https://github.com/Hannes-Magnusson-CK), [Huw](https://github.com/hoo29), [Kelvin Jin](https://github.com/kjin), [Klaus Meinhardt](https://github.com/ajafff), [Lishude](https://github.com/islishude), [Mariusz Wiktorczyk](https://github.com/mwiktorczyk), [Mohsen Azimi](https://github.com/mohsen1), [Nicolas Even](https://github.com/n-e), [Nikita Galkin](https://github.com/galkin), [Parambir Singh](https://github.com/parambirs), [Sebastian Silbermann](https://github.com/eps1lon), [Seth Westphal](https://github.com/westy92), [Simon Schick](https://github.com/SimonSchick), [Thomas den Hollander](https://github.com/ThomasdenH), [Wilco Bakker](https://github.com/WilcoBakker), [wwwy3y3](https://github.com/wwwy3y3), [Samuel Ainsworth](https://github.com/samuela), [Kyle Uehlein](https://github.com/kuehlein), [Thanik Bhongbhibhat](https://github.com/bhongy), [Marcin Kopacz](https://github.com/chyzwar), [Trivikram Kamat](https://github.com/trivikr), [Junxiao Shi](https://github.com/yoursunny), [Ilia Baryshnikov](https://github.com/qwelias), [ExE Boss](https://github.com/ExE-Boss), [Piotr Błażejewicz](https://github.com/peterblazejewicz), [Anna Henningsen](https://github.com/addaleax), [Victor Perin](https://github.com/victorperin), [Yongsheng Zhang](https://github.com/ZYSzys), [NodeJS Contributors](https://github.com/NodeJS), [Linus Unnebäck](https://github.com/LinusU), and [wafuwafu13](https://github.com/wafuwafu13).
|
|
@@ -34,7 +34,6 @@
|
|
|
34
34
|
// Junxiao Shi <https://github.com/yoursunny>
|
|
35
35
|
// Ilia Baryshnikov <https://github.com/qwelias>
|
|
36
36
|
// ExE Boss <https://github.com/ExE-Boss>
|
|
37
|
-
// Surasak Chaisurin <https://github.com/Ryan-Willpower>
|
|
38
37
|
// Piotr Błażejewicz <https://github.com/peterblazejewicz>
|
|
39
38
|
// Anna Henningsen <https://github.com/addaleax>
|
|
40
39
|
// Victor Perin <https://github.com/victorperin>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/node",
|
|
3
|
-
"version": "17.0.
|
|
3
|
+
"version": "17.0.10",
|
|
4
4
|
"description": "TypeScript definitions for Node.js",
|
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
|
|
6
6
|
"license": "MIT",
|
|
@@ -175,11 +175,6 @@
|
|
|
175
175
|
"url": "https://github.com/ExE-Boss",
|
|
176
176
|
"githubUsername": "ExE-Boss"
|
|
177
177
|
},
|
|
178
|
-
{
|
|
179
|
-
"name": "Surasak Chaisurin",
|
|
180
|
-
"url": "https://github.com/Ryan-Willpower",
|
|
181
|
-
"githubUsername": "Ryan-Willpower"
|
|
182
|
-
},
|
|
183
178
|
{
|
|
184
179
|
"name": "Piotr Błażejewicz",
|
|
185
180
|
"url": "https://github.com/peterblazejewicz",
|
|
@@ -225,6 +220,6 @@
|
|
|
225
220
|
},
|
|
226
221
|
"scripts": {},
|
|
227
222
|
"dependencies": {},
|
|
228
|
-
"typesPublisherContentHash": "
|
|
223
|
+
"typesPublisherContentHash": "a2e243404f102a5fd5fbcaefab0a775ffcb1db4d09832612decbd69815f1890b",
|
|
229
224
|
"typeScriptVersion": "3.8"
|
|
230
225
|
}
|
|
@@ -8,9 +8,9 @@ This package contains type definitions for Node.js (https://nodejs.org/).
|
|
|
8
8
|
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node.
|
|
9
9
|
|
|
10
10
|
### Additional Details
|
|
11
|
-
* Last updated:
|
|
11
|
+
* Last updated: Tue, 18 Jan 2022 18:31:37 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
* Global values: `AbortController`, `AbortSignal`, `__dirname`, `__filename`, `console`, `exports`, `gc`, `global`, `module`, `process`, `require`
|
|
14
14
|
|
|
15
15
|
# Credits
|
|
16
|
-
These definitions were written by [Microsoft TypeScript](https://github.com/Microsoft), [DefinitelyTyped](https://github.com/DefinitelyTyped), [Alberto Schiabel](https://github.com/jkomyno), [Alvis HT Tang](https://github.com/alvis), [Andrew Makarov](https://github.com/r3nya), [Benjamin Toueg](https://github.com/btoueg), [Chigozirim C.](https://github.com/smac89), [David Junger](https://github.com/touffy), [Deividas Bakanas](https://github.com/DeividasBakanas), [Eugene Y. Q. Shen](https://github.com/eyqs), [Hannes Magnusson](https://github.com/Hannes-Magnusson-CK), [Huw](https://github.com/hoo29), [Kelvin Jin](https://github.com/kjin), [Klaus Meinhardt](https://github.com/ajafff), [Lishude](https://github.com/islishude), [Mariusz Wiktorczyk](https://github.com/mwiktorczyk), [Mohsen Azimi](https://github.com/mohsen1), [Nicolas Even](https://github.com/n-e), [Nikita Galkin](https://github.com/galkin), [Parambir Singh](https://github.com/parambirs), [Sebastian Silbermann](https://github.com/eps1lon), [Seth Westphal](https://github.com/westy92), [Simon Schick](https://github.com/SimonSchick), [Thomas den Hollander](https://github.com/ThomasdenH), [Wilco Bakker](https://github.com/WilcoBakker), [wwwy3y3](https://github.com/wwwy3y3), [Samuel Ainsworth](https://github.com/samuela), [Kyle Uehlein](https://github.com/kuehlein), [Thanik Bhongbhibhat](https://github.com/bhongy), [Marcin Kopacz](https://github.com/chyzwar), [Trivikram Kamat](https://github.com/trivikr), [Junxiao Shi](https://github.com/yoursunny), [Ilia Baryshnikov](https://github.com/qwelias), [ExE Boss](https://github.com/ExE-Boss), [
|
|
16
|
+
These definitions were written by [Microsoft TypeScript](https://github.com/Microsoft), [DefinitelyTyped](https://github.com/DefinitelyTyped), [Alberto Schiabel](https://github.com/jkomyno), [Alvis HT Tang](https://github.com/alvis), [Andrew Makarov](https://github.com/r3nya), [Benjamin Toueg](https://github.com/btoueg), [Chigozirim C.](https://github.com/smac89), [David Junger](https://github.com/touffy), [Deividas Bakanas](https://github.com/DeividasBakanas), [Eugene Y. Q. Shen](https://github.com/eyqs), [Hannes Magnusson](https://github.com/Hannes-Magnusson-CK), [Huw](https://github.com/hoo29), [Kelvin Jin](https://github.com/kjin), [Klaus Meinhardt](https://github.com/ajafff), [Lishude](https://github.com/islishude), [Mariusz Wiktorczyk](https://github.com/mwiktorczyk), [Mohsen Azimi](https://github.com/mohsen1), [Nicolas Even](https://github.com/n-e), [Nikita Galkin](https://github.com/galkin), [Parambir Singh](https://github.com/parambirs), [Sebastian Silbermann](https://github.com/eps1lon), [Seth Westphal](https://github.com/westy92), [Simon Schick](https://github.com/SimonSchick), [Thomas den Hollander](https://github.com/ThomasdenH), [Wilco Bakker](https://github.com/WilcoBakker), [wwwy3y3](https://github.com/wwwy3y3), [Samuel Ainsworth](https://github.com/samuela), [Kyle Uehlein](https://github.com/kuehlein), [Thanik Bhongbhibhat](https://github.com/bhongy), [Marcin Kopacz](https://github.com/chyzwar), [Trivikram Kamat](https://github.com/trivikr), [Junxiao Shi](https://github.com/yoursunny), [Ilia Baryshnikov](https://github.com/qwelias), [ExE Boss](https://github.com/ExE-Boss), [Piotr Błażejewicz](https://github.com/peterblazejewicz), [Anna Henningsen](https://github.com/addaleax), [Victor Perin](https://github.com/victorperin), [Yongsheng Zhang](https://github.com/ZYSzys), [NodeJS Contributors](https://github.com/NodeJS), [Linus Unnebäck](https://github.com/LinusU), and [wafuwafu13](https://github.com/wafuwafu13).
|
|
@@ -34,7 +34,6 @@
|
|
|
34
34
|
// Junxiao Shi <https://github.com/yoursunny>
|
|
35
35
|
// Ilia Baryshnikov <https://github.com/qwelias>
|
|
36
36
|
// ExE Boss <https://github.com/ExE-Boss>
|
|
37
|
-
// Surasak Chaisurin <https://github.com/Ryan-Willpower>
|
|
38
37
|
// Piotr Błażejewicz <https://github.com/peterblazejewicz>
|
|
39
38
|
// Anna Henningsen <https://github.com/addaleax>
|
|
40
39
|
// Victor Perin <https://github.com/victorperin>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/node",
|
|
3
|
-
"version": "17.0.
|
|
3
|
+
"version": "17.0.10",
|
|
4
4
|
"description": "TypeScript definitions for Node.js",
|
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
|
|
6
6
|
"license": "MIT",
|
|
@@ -175,11 +175,6 @@
|
|
|
175
175
|
"url": "https://github.com/ExE-Boss",
|
|
176
176
|
"githubUsername": "ExE-Boss"
|
|
177
177
|
},
|
|
178
|
-
{
|
|
179
|
-
"name": "Surasak Chaisurin",
|
|
180
|
-
"url": "https://github.com/Ryan-Willpower",
|
|
181
|
-
"githubUsername": "Ryan-Willpower"
|
|
182
|
-
},
|
|
183
178
|
{
|
|
184
179
|
"name": "Piotr Błażejewicz",
|
|
185
180
|
"url": "https://github.com/peterblazejewicz",
|
|
@@ -225,6 +220,6 @@
|
|
|
225
220
|
},
|
|
226
221
|
"scripts": {},
|
|
227
222
|
"dependencies": {},
|
|
228
|
-
"typesPublisherContentHash": "
|
|
223
|
+
"typesPublisherContentHash": "a2e243404f102a5fd5fbcaefab0a775ffcb1db4d09832612decbd69815f1890b",
|
|
229
224
|
"typeScriptVersion": "3.8"
|
|
230
225
|
}
|
|
@@ -8,9 +8,9 @@ This package contains type definitions for Node.js (https://nodejs.org/).
|
|
|
8
8
|
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node.
|
|
9
9
|
|
|
10
10
|
### Additional Details
|
|
11
|
-
* Last updated:
|
|
11
|
+
* Last updated: Tue, 18 Jan 2022 18:31:37 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
* Global values: `AbortController`, `AbortSignal`, `__dirname`, `__filename`, `console`, `exports`, `gc`, `global`, `module`, `process`, `require`
|
|
14
14
|
|
|
15
15
|
# Credits
|
|
16
|
-
These definitions were written by [Microsoft TypeScript](https://github.com/Microsoft), [DefinitelyTyped](https://github.com/DefinitelyTyped), [Alberto Schiabel](https://github.com/jkomyno), [Alvis HT Tang](https://github.com/alvis), [Andrew Makarov](https://github.com/r3nya), [Benjamin Toueg](https://github.com/btoueg), [Chigozirim C.](https://github.com/smac89), [David Junger](https://github.com/touffy), [Deividas Bakanas](https://github.com/DeividasBakanas), [Eugene Y. Q. Shen](https://github.com/eyqs), [Hannes Magnusson](https://github.com/Hannes-Magnusson-CK), [Huw](https://github.com/hoo29), [Kelvin Jin](https://github.com/kjin), [Klaus Meinhardt](https://github.com/ajafff), [Lishude](https://github.com/islishude), [Mariusz Wiktorczyk](https://github.com/mwiktorczyk), [Mohsen Azimi](https://github.com/mohsen1), [Nicolas Even](https://github.com/n-e), [Nikita Galkin](https://github.com/galkin), [Parambir Singh](https://github.com/parambirs), [Sebastian Silbermann](https://github.com/eps1lon), [Seth Westphal](https://github.com/westy92), [Simon Schick](https://github.com/SimonSchick), [Thomas den Hollander](https://github.com/ThomasdenH), [Wilco Bakker](https://github.com/WilcoBakker), [wwwy3y3](https://github.com/wwwy3y3), [Samuel Ainsworth](https://github.com/samuela), [Kyle Uehlein](https://github.com/kuehlein), [Thanik Bhongbhibhat](https://github.com/bhongy), [Marcin Kopacz](https://github.com/chyzwar), [Trivikram Kamat](https://github.com/trivikr), [Junxiao Shi](https://github.com/yoursunny), [Ilia Baryshnikov](https://github.com/qwelias), [ExE Boss](https://github.com/ExE-Boss), [
|
|
16
|
+
These definitions were written by [Microsoft TypeScript](https://github.com/Microsoft), [DefinitelyTyped](https://github.com/DefinitelyTyped), [Alberto Schiabel](https://github.com/jkomyno), [Alvis HT Tang](https://github.com/alvis), [Andrew Makarov](https://github.com/r3nya), [Benjamin Toueg](https://github.com/btoueg), [Chigozirim C.](https://github.com/smac89), [David Junger](https://github.com/touffy), [Deividas Bakanas](https://github.com/DeividasBakanas), [Eugene Y. Q. Shen](https://github.com/eyqs), [Hannes Magnusson](https://github.com/Hannes-Magnusson-CK), [Huw](https://github.com/hoo29), [Kelvin Jin](https://github.com/kjin), [Klaus Meinhardt](https://github.com/ajafff), [Lishude](https://github.com/islishude), [Mariusz Wiktorczyk](https://github.com/mwiktorczyk), [Mohsen Azimi](https://github.com/mohsen1), [Nicolas Even](https://github.com/n-e), [Nikita Galkin](https://github.com/galkin), [Parambir Singh](https://github.com/parambirs), [Sebastian Silbermann](https://github.com/eps1lon), [Seth Westphal](https://github.com/westy92), [Simon Schick](https://github.com/SimonSchick), [Thomas den Hollander](https://github.com/ThomasdenH), [Wilco Bakker](https://github.com/WilcoBakker), [wwwy3y3](https://github.com/wwwy3y3), [Samuel Ainsworth](https://github.com/samuela), [Kyle Uehlein](https://github.com/kuehlein), [Thanik Bhongbhibhat](https://github.com/bhongy), [Marcin Kopacz](https://github.com/chyzwar), [Trivikram Kamat](https://github.com/trivikr), [Junxiao Shi](https://github.com/yoursunny), [Ilia Baryshnikov](https://github.com/qwelias), [ExE Boss](https://github.com/ExE-Boss), [Piotr Błażejewicz](https://github.com/peterblazejewicz), [Anna Henningsen](https://github.com/addaleax), [Victor Perin](https://github.com/victorperin), [Yongsheng Zhang](https://github.com/ZYSzys), [NodeJS Contributors](https://github.com/NodeJS), [Linus Unnebäck](https://github.com/LinusU), and [wafuwafu13](https://github.com/wafuwafu13).
|
|
@@ -34,7 +34,6 @@
|
|
|
34
34
|
// Junxiao Shi <https://github.com/yoursunny>
|
|
35
35
|
// Ilia Baryshnikov <https://github.com/qwelias>
|
|
36
36
|
// ExE Boss <https://github.com/ExE-Boss>
|
|
37
|
-
// Surasak Chaisurin <https://github.com/Ryan-Willpower>
|
|
38
37
|
// Piotr Błażejewicz <https://github.com/peterblazejewicz>
|
|
39
38
|
// Anna Henningsen <https://github.com/addaleax>
|
|
40
39
|
// Victor Perin <https://github.com/victorperin>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/node",
|
|
3
|
-
"version": "17.0.
|
|
3
|
+
"version": "17.0.10",
|
|
4
4
|
"description": "TypeScript definitions for Node.js",
|
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
|
|
6
6
|
"license": "MIT",
|
|
@@ -175,11 +175,6 @@
|
|
|
175
175
|
"url": "https://github.com/ExE-Boss",
|
|
176
176
|
"githubUsername": "ExE-Boss"
|
|
177
177
|
},
|
|
178
|
-
{
|
|
179
|
-
"name": "Surasak Chaisurin",
|
|
180
|
-
"url": "https://github.com/Ryan-Willpower",
|
|
181
|
-
"githubUsername": "Ryan-Willpower"
|
|
182
|
-
},
|
|
183
178
|
{
|
|
184
179
|
"name": "Piotr Błażejewicz",
|
|
185
180
|
"url": "https://github.com/peterblazejewicz",
|
|
@@ -225,6 +220,6 @@
|
|
|
225
220
|
},
|
|
226
221
|
"scripts": {},
|
|
227
222
|
"dependencies": {},
|
|
228
|
-
"typesPublisherContentHash": "
|
|
223
|
+
"typesPublisherContentHash": "a2e243404f102a5fd5fbcaefab0a775ffcb1db4d09832612decbd69815f1890b",
|
|
229
224
|
"typeScriptVersion": "3.8"
|
|
230
225
|
}
|
|
@@ -392,9 +392,9 @@ RedirectableRequest.prototype._processResponse = function (response) {
|
|
|
392
392
|
var redirectUrlParts = url.parse(redirectUrl);
|
|
393
393
|
Object.assign(this._options, redirectUrlParts);
|
|
394
394
|
|
|
395
|
-
// Drop the
|
|
395
|
+
// Drop the confidential headers when redirecting to another domain
|
|
396
396
|
if (!(redirectUrlParts.host === currentHost || isSubdomainOf(redirectUrlParts.host, currentHost))) {
|
|
397
|
-
removeMatchingHeaders(/^authorization$/i, this._options.headers);
|
|
397
|
+
removeMatchingHeaders(/^(?:authorization|cookie)$/i, this._options.headers);
|
|
398
398
|
}
|
|
399
399
|
|
|
400
400
|
// Evaluate the beforeRedirect callback
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"/Users/jaredwray/src/github.com/jaredwray/keyv/packages/keyv/src/index.js":{"path":"/Users/jaredwray/src/github.com/jaredwray/keyv/packages/keyv/src/index.js","statementMap":{"0":{"start":{"line":3,"column":21},"end":{"line":3,"column":38}},"1":{"start":{"line":4,"column":14},"end":{"line":4,"column":36}},"2":{"start":{"line":6,"column":18},"end":{"line":22,"column":1}},"3":{"start":{"line":7,"column":18},"end":{"line":15,"column":2}},"4":{"start":{"line":16,"column":1},"end":{"line":19,"column":2}},"5":{"start":{"line":17,"column":18},"end":{"line":17,"column":66}},"6":{"start":{"line":18,"column":2},"end":{"line":18,"column":51}},"7":{"start":{"line":21,"column":1},"end":{"line":21,"column":18}},"8":{"start":{"line":26,"column":2},"end":{"line":26,"column":10}},"9":{"start":{"line":27,"column":2},"end":{"line":35,"column":4}},"10":{"start":{"line":37,"column":2},"end":{"line":40,"column":3}},"11":{"start":{"line":38,"column":26},"end":{"line":38,"column":54}},"12":{"start":{"line":39,"column":3},"end":{"line":39,"column":47}},"13":{"start":{"line":42,"column":2},"end":{"line":44,"column":3}},"14":{"start":{"line":43,"column":3},"end":{"line":43,"column":67}},"15":{"start":{"line":43,"column":40},"end":{"line":43,"column":65}},"16":{"start":{"line":46,"column":2},"end":{"line":46,"column":50}},"17":{"start":{"line":50,"column":2},"end":{"line":50,"column":41}},"18":{"start":{"line":54,"column":22},"end":{"line":54,"column":45}},"19":{"start":{"line":55,"column":20},"end":{"line":55,"column":29}},"20":{"start":{"line":56,"column":2},"end":{"line":70,"column":6}},"21":{"start":{"line":57,"column":15},"end":{"line":57,"column":37}},"22":{"start":{"line":58,"column":17},"end":{"line":58,"column":80}},"23":{"start":{"line":60,"column":4},"end":{"line":62,"column":5}},"24":{"start":{"line":61,"column":5},"end":{"line":61,"column":22}},"25":{"start":{"line":64,"column":4},"end":{"line":67,"column":5}},"26":{"start":{"line":65,"column":5},"end":{"line":65,"column":22}},"27":{"start":{"line":66,"column":5},"end":{"line":66,"column":22}},"28":{"start":{"line":69,"column":4},"end":{"line":69,"column":56}},"29":{"start":{"line":74,"column":22},"end":{"line":74,"column":45}},"30":{"start":{"line":75,"column":2},"end":{"line":77,"column":3}},"31":{"start":{"line":76,"column":3},"end":{"line":76,"column":23}},"32":{"start":{"line":79,"column":2},"end":{"line":81,"column":3}},"33":{"start":{"line":80,"column":3},"end":{"line":80,"column":19}},"34":{"start":{"line":83,"column":20},"end":{"line":83,"column":29}},"35":{"start":{"line":85,"column":2},"end":{"line":92,"column":21}},"36":{"start":{"line":87,"column":20},"end":{"line":87,"column":73}},"37":{"start":{"line":88,"column":4},"end":{"line":88,"column":31}},"38":{"start":{"line":89,"column":4},"end":{"line":89,"column":38}},"39":{"start":{"line":91,"column":18},"end":{"line":91,"column":52}},"40":{"start":{"line":92,"column":15},"end":{"line":92,"column":19}},"41":{"start":{"line":96,"column":22},"end":{"line":96,"column":45}},"42":{"start":{"line":97,"column":20},"end":{"line":97,"column":29}},"43":{"start":{"line":98,"column":2},"end":{"line":99,"column":42}},"44":{"start":{"line":99,"column":15},"end":{"line":99,"column":40}},"45":{"start":{"line":103,"column":20},"end":{"line":103,"column":29}},"46":{"start":{"line":104,"column":2},"end":{"line":105,"column":30}},"47":{"start":{"line":105,"column":15},"end":{"line":105,"column":28}},"48":{"start":{"line":109,"column":0},"end":{"line":109,"column":22}}},"fnMap":{"0":{"name":"(anonymous_0)","decl":{"start":{"line":6,"column":18},"end":{"line":6,"column":19}},"loc":{"start":{"line":6,"column":29},"end":{"line":22,"column":1}},"line":6},"1":{"name":"(anonymous_1)","decl":{"start":{"line":25,"column":1},"end":{"line":25,"column":2}},"loc":{"start":{"line":25,"column":27},"end":{"line":47,"column":2}},"line":25},"2":{"name":"(anonymous_2)","decl":{"start":{"line":43,"column":31},"end":{"line":43,"column":32}},"loc":{"start":{"line":43,"column":40},"end":{"line":43,"column":65}},"line":43},"3":{"name":"(anonymous_3)","decl":{"start":{"line":49,"column":1},"end":{"line":49,"column":2}},"loc":{"start":{"line":49,"column":20},"end":{"line":51,"column":2}},"line":49},"4":{"name":"(anonymous_4)","decl":{"start":{"line":53,"column":1},"end":{"line":53,"column":2}},"loc":{"start":{"line":53,"column":19},"end":{"line":71,"column":2}},"line":53},"5":{"name":"(anonymous_5)","decl":{"start":{"line":57,"column":9},"end":{"line":57,"column":10}},"loc":{"start":{"line":57,"column":15},"end":{"line":57,"column":37}},"line":57},"6":{"name":"(anonymous_6)","decl":{"start":{"line":58,"column":9},"end":{"line":58,"column":10}},"loc":{"start":{"line":58,"column":17},"end":{"line":58,"column":80}},"line":58},"7":{"name":"(anonymous_7)","decl":{"start":{"line":59,"column":9},"end":{"line":59,"column":10}},"loc":{"start":{"line":59,"column":17},"end":{"line":70,"column":4}},"line":59},"8":{"name":"(anonymous_8)","decl":{"start":{"line":73,"column":1},"end":{"line":73,"column":2}},"loc":{"start":{"line":73,"column":22},"end":{"line":93,"column":2}},"line":73},"9":{"name":"(anonymous_9)","decl":{"start":{"line":86,"column":9},"end":{"line":86,"column":10}},"loc":{"start":{"line":86,"column":15},"end":{"line":90,"column":4}},"line":86},"10":{"name":"(anonymous_10)","decl":{"start":{"line":91,"column":9},"end":{"line":91,"column":10}},"loc":{"start":{"line":91,"column":18},"end":{"line":91,"column":52}},"line":91},"11":{"name":"(anonymous_11)","decl":{"start":{"line":92,"column":9},"end":{"line":92,"column":10}},"loc":{"start":{"line":92,"column":15},"end":{"line":92,"column":19}},"line":92},"12":{"name":"(anonymous_12)","decl":{"start":{"line":95,"column":1},"end":{"line":95,"column":2}},"loc":{"start":{"line":95,"column":13},"end":{"line":100,"column":2}},"line":95},"13":{"name":"(anonymous_13)","decl":{"start":{"line":99,"column":9},"end":{"line":99,"column":10}},"loc":{"start":{"line":99,"column":15},"end":{"line":99,"column":40}},"line":99},"14":{"name":"(anonymous_14)","decl":{"start":{"line":102,"column":1},"end":{"line":102,"column":2}},"loc":{"start":{"line":102,"column":9},"end":{"line":106,"column":2}},"line":102},"15":{"name":"(anonymous_15)","decl":{"start":{"line":105,"column":9},"end":{"line":105,"column":10}},"loc":{"start":{"line":105,"column":15},"end":{"line":105,"column":28}},"line":105}},"branchMap":{"0":{"loc":{"start":{"line":16,"column":1},"end":{"line":19,"column":2}},"type":"if","locations":[{"start":{"line":16,"column":1},"end":{"line":19,"column":2}},{"start":{"line":16,"column":1},"end":{"line":19,"column":2}}],"line":16},"1":{"loc":{"start":{"line":16,"column":5},"end":{"line":16,"column":35}},"type":"binary-expr","locations":[{"start":{"line":16,"column":5},"end":{"line":16,"column":20}},{"start":{"line":16,"column":24},"end":{"line":16,"column":35}}],"line":16},"2":{"loc":{"start":{"line":17,"column":18},"end":{"line":17,"column":66}},"type":"binary-expr","locations":[{"start":{"line":17,"column":18},"end":{"line":17,"column":33}},{"start":{"line":17,"column":37},"end":{"line":17,"column":66}}],"line":17},"3":{"loc":{"start":{"line":33,"column":3},"end":{"line":33,"column":44}},"type":"cond-expr","locations":[{"start":{"line":33,"column":31},"end":{"line":33,"column":38}},{"start":{"line":33,"column":41},"end":{"line":33,"column":44}}],"line":33},"4":{"loc":{"start":{"line":37,"column":2},"end":{"line":40,"column":3}},"type":"if","locations":[{"start":{"line":37,"column":2},"end":{"line":40,"column":3}},{"start":{"line":37,"column":2},"end":{"line":40,"column":3}}],"line":37},"5":{"loc":{"start":{"line":42,"column":2},"end":{"line":44,"column":3}},"type":"if","locations":[{"start":{"line":42,"column":2},"end":{"line":44,"column":3}},{"start":{"line":42,"column":2},"end":{"line":44,"column":3}}],"line":42},"6":{"loc":{"start":{"line":58,"column":17},"end":{"line":58,"column":80}},"type":"cond-expr","locations":[{"start":{"line":58,"column":46},"end":{"line":58,"column":73}},{"start":{"line":58,"column":76},"end":{"line":58,"column":80}}],"line":58},"7":{"loc":{"start":{"line":60,"column":4},"end":{"line":62,"column":5}},"type":"if","locations":[{"start":{"line":60,"column":4},"end":{"line":62,"column":5}},{"start":{"line":60,"column":4},"end":{"line":62,"column":5}}],"line":60},"8":{"loc":{"start":{"line":64,"column":4},"end":{"line":67,"column":5}},"type":"if","locations":[{"start":{"line":64,"column":4},"end":{"line":67,"column":5}},{"start":{"line":64,"column":4},"end":{"line":67,"column":5}}],"line":64},"9":{"loc":{"start":{"line":64,"column":8},"end":{"line":64,"column":69}},"type":"binary-expr","locations":[{"start":{"line":64,"column":8},"end":{"line":64,"column":40}},{"start":{"line":64,"column":44},"end":{"line":64,"column":69}}],"line":64},"10":{"loc":{"start":{"line":69,"column":11},"end":{"line":69,"column":55}},"type":"cond-expr","locations":[{"start":{"line":69,"column":38},"end":{"line":69,"column":42}},{"start":{"line":69,"column":45},"end":{"line":69,"column":55}}],"line":69},"11":{"loc":{"start":{"line":69,"column":12},"end":{"line":69,"column":34}},"type":"binary-expr","locations":[{"start":{"line":69,"column":12},"end":{"line":69,"column":19}},{"start":{"line":69,"column":23},"end":{"line":69,"column":34}}],"line":69},"12":{"loc":{"start":{"line":75,"column":2},"end":{"line":77,"column":3}},"type":"if","locations":[{"start":{"line":75,"column":2},"end":{"line":77,"column":3}},{"start":{"line":75,"column":2},"end":{"line":77,"column":3}}],"line":75},"13":{"loc":{"start":{"line":79,"column":2},"end":{"line":81,"column":3}},"type":"if","locations":[{"start":{"line":79,"column":2},"end":{"line":81,"column":3}},{"start":{"line":79,"column":2},"end":{"line":81,"column":3}}],"line":79},"14":{"loc":{"start":{"line":87,"column":20},"end":{"line":87,"column":73}},"type":"cond-expr","locations":[{"start":{"line":87,"column":49},"end":{"line":87,"column":65}},{"start":{"line":87,"column":69},"end":{"line":87,"column":73}}],"line":87}},"s":{"0":1,"1":1,"2":1,"3":3,"4":3,"5":2,"6":2,"7":1,"8":187,"9":187,"10":187,"11":3,"12":3,"13":187,"14":178,"15":1,"16":187,"17":92,"18":45,"19":45,"20":45,"21":45,"22":45,"23":45,"24":9,"25":36,"26":5,"27":5,"28":31,"29":37,"30":37,"31":32,"32":37,"33":1,"34":37,"35":37,"36":37,"37":37,"38":37,"39":37,"40":37,"41":10,"42":10,"43":10,"44":10,"45":155,"46":155,"47":155,"48":1},"f":{"0":3,"1":187,"2":1,"3":92,"4":45,"5":45,"6":45,"7":45,"8":37,"9":37,"10":37,"11":37,"12":10,"13":10,"14":155,"15":155},"b":{"0":[2,1],"1":[3,3],"2":[2,2],"3":[2,185],"4":[3,184],"5":[178,9],"6":[36,9],"7":[9,36],"8":[5,31],"9":[36,13],"10":[1,30],"11":[31,1],"12":[32,5],"13":[1,36],"14":[6,31]},"_coverageSchema":"1a1c01bbd47fc00a2c39e90264f33305004495a9","hash":"68d63c1da21bdd17ca5b4661ccb46d430a48aa3d","contentHash":"600469b33bfd3413852cfb4a0f6eb2248472b9c0ecd031c4b7ee54f59a8c8e2c"}}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"parent":null,"pid":74271,"argv":["/Users/jaredwray/.nvm/versions/node/v16.13.1/bin/node","/Users/jaredwray/src/github.com/jaredwray/keyv/packages/keyv/node_modules/.bin/ava","--serial"],"execArgv":[],"cwd":"/Users/jaredwray/src/github.com/jaredwray/keyv/packages/keyv","time":1641659048071,"ppid":74270,"coverageFilename":"/Users/jaredwray/src/github.com/jaredwray/keyv/packages/keyv/.nyc_output/37411020-4142-4b08-b825-343ba2427bf7.json","externalId":"","uuid":"37411020-4142-4b08-b825-343ba2427bf7","files":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"parent":"37411020-4142-4b08-b825-343ba2427bf7","pid":74274,"argv":["/Users/jaredwray/.nvm/versions/node/v16.13.1/bin/node","/Users/jaredwray/src/github.com/jaredwray/keyv/node_modules/ava/lib/worker/subprocess.js"],"execArgv":[],"cwd":"/Users/jaredwray/src/github.com/jaredwray/keyv/packages/keyv","time":1641659048289,"ppid":74271,"coverageFilename":"/Users/jaredwray/src/github.com/jaredwray/keyv/packages/keyv/.nyc_output/cd79f2de-c8b8-4493-bc15-b2bde28efa4b.json","externalId":"","uuid":"cd79f2de-c8b8-4493-bc15-b2bde28efa4b","files":["/Users/jaredwray/src/github.com/jaredwray/keyv/packages/keyv/src/index.js"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"processes":{"37411020-4142-4b08-b825-343ba2427bf7":{"parent":null,"children":["cd79f2de-c8b8-4493-bc15-b2bde28efa4b"]},"cd79f2de-c8b8-4493-bc15-b2bde28efa4b":{"parent":"37411020-4142-4b08-b825-343ba2427bf7","children":[]}},"files":{"/Users/jaredwray/src/github.com/jaredwray/keyv/packages/keyv/src/index.js":["cd79f2de-c8b8-4493-bc15-b2bde28efa4b"]},"externalIds":{}}
|
|
@@ -102,13 +102,13 @@ const keyv = new Keyv({ serialize: JSON.stringify, deserialize: JSON.parse });
|
|
|
102
102
|
|
|
103
103
|
The official storage adapters are covered by [over 150 integration tests](https://github.com/jaredwray/keyv/actions/workflows/build.yaml) to guarantee consistent behaviour. They are lightweight, efficient wrappers over the DB clients making use of indexes and native TTLs where available.
|
|
104
104
|
|
|
105
|
-
Database | Adapter | Native TTL
|
|
106
|
-
|
|
107
|
-
Redis | [@keyv/redis](https://github.com/
|
|
108
|
-
MongoDB | [@keyv/mongo](https://github.com/
|
|
109
|
-
SQLite | [@keyv/sqlite](https://github.com/
|
|
110
|
-
PostgreSQL | [@keyv/postgres](https://github.com/
|
|
111
|
-
MySQL | [@keyv/mysql](https://github.com/
|
|
105
|
+
Database | Adapter | Native TTL
|
|
106
|
+
---|---|---
|
|
107
|
+
Redis | [@keyv/redis](https://github.com/jaredwray/keyv/tree/master/packages/redis) | Yes
|
|
108
|
+
MongoDB | [@keyv/mongo](https://github.com/jaredwray/keyv/tree/master/packages/mongo) | Yes
|
|
109
|
+
SQLite | [@keyv/sqlite](https://github.com/jaredwray/keyv/tree/master/packages/sqlite) | No
|
|
110
|
+
PostgreSQL | [@keyv/postgres](https://github.com/jaredwray/keyv/tree/master/packages/postgres) | No
|
|
111
|
+
MySQL | [@keyv/mysql](https://github.com/jaredwray/keyv/tree/master/packages/mysql) | No
|
|
112
112
|
|
|
113
113
|
## Third-party Storage Adapters
|
|
114
114
|
|
|
@@ -146,7 +146,8 @@ The following are third-party storage adapters compatible with Keyv:
|
|
|
146
146
|
- [keyv-null](https://www.npmjs.com/package/keyv-null) - Null storage adapter for Keyv
|
|
147
147
|
- [keyv-firestore ](https://github.com/goto-bus-stop/keyv-firestore) – Firebase Cloud Firestore adapter for Keyv
|
|
148
148
|
- [keyv-mssql](https://github.com/pmorgan3/keyv-mssql) - Microsoft Sql Server adapter for Keyv
|
|
149
|
-
- [keyv-memcache](https://github.com/jaredwray/keyv
|
|
149
|
+
- [keyv-memcache](https://github.com/jaredwray/keyv/tree/master/packages/memcache) - Memcache storage adapter for Keyv
|
|
150
|
+
- [keyv-azuretable](https://github.com/howlowck/keyv-azuretable) - Azure Table Storage/API adapter for Keyv
|
|
150
151
|
|
|
151
152
|
## Add Cache Support to your Module
|
|
152
153
|
|
|
@@ -1,14 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "keyv",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.5",
|
|
4
4
|
"description": "Simple key-value storage with support for multiple backends",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"scripts": {
|
|
7
|
-
"test": "xo && nyc ava
|
|
8
|
-
"
|
|
9
|
-
"
|
|
10
|
-
"test:services:stop": "docker-compose -f ./test/storage-adapters/services-compose.yaml down -v",
|
|
11
|
-
"coverage": "nyc report --reporter=text-lcov > coverage.lcov"
|
|
7
|
+
"test": "xo && nyc ava --serial",
|
|
8
|
+
"coverage": "nyc report --reporter=text-lcov > coverage.lcov",
|
|
9
|
+
"clean": "rm -rf node_modules && rm -rf .nyc_output && rm -rf coverage.lcov && rm -rf ./test/testdb.sqlite"
|
|
12
10
|
},
|
|
13
11
|
"xo": {
|
|
14
12
|
"extends": "xo-lukechilds",
|
|
@@ -44,8 +42,8 @@
|
|
|
44
42
|
"@keyv/sqlite": "*",
|
|
45
43
|
"@keyv/test-suite": "*",
|
|
46
44
|
"ava": "^3.15.0",
|
|
47
|
-
"codecov": "^3.8.3",
|
|
48
45
|
"eslint-config-xo-lukechilds": "^1.0.0",
|
|
46
|
+
"eslint-plugin-promise": "^5.1.1",
|
|
49
47
|
"nyc": "^15.1.0",
|
|
50
48
|
"this": "^1.0.2",
|
|
51
49
|
"timekeeper": "^2.0.0",
|
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
const test = require('ava');
|
|
2
|
+
const keyvTestSuite = require('@keyv/test-suite').default;
|
|
3
|
+
const { keyvOfficialTests } = require('@keyv/test-suite');
|
|
4
|
+
const Keyv = require('this');
|
|
5
|
+
const tk = require('timekeeper');
|
|
6
|
+
const KeyvSqlite = require('@keyv/sqlite');
|
|
7
|
+
|
|
8
|
+
keyvOfficialTests(test, Keyv, 'sqlite://test/testdb.sqlite', 'sqlite://non/existent/database.sqlite');
|
|
9
|
+
|
|
10
|
+
const store = () => new KeyvSqlite({ uri: 'sqlite://test/testdb.sqlite', busyTimeout: 3000 });
|
|
11
|
+
keyvTestSuite(test, Keyv, store);
|
|
12
|
+
|
|
13
|
+
test.serial('Keyv is a class', t => {
|
|
14
|
+
t.is(typeof Keyv, 'function');
|
|
15
|
+
t.throws(() => Keyv()); // eslint-disable-line new-cap
|
|
16
|
+
t.notThrows(() => new Keyv());
|
|
17
|
+
});
|
|
18
|
+
|
|
19
|
+
test.serial('Keyv accepts storage adapters', async t => {
|
|
20
|
+
const store = new Map();
|
|
21
|
+
const keyv = new Keyv({ store });
|
|
22
|
+
t.is(store.size, 0);
|
|
23
|
+
await keyv.set('foo', 'bar');
|
|
24
|
+
t.is(await keyv.get('foo'), 'bar');
|
|
25
|
+
t.is(store.size, 1);
|
|
26
|
+
});
|
|
27
|
+
|
|
28
|
+
test.serial('Keyv passes tll info to stores', async t => {
|
|
29
|
+
t.plan(1);
|
|
30
|
+
const store = new Map();
|
|
31
|
+
const storeSet = store.set;
|
|
32
|
+
store.set = (key, value, ttl) => {
|
|
33
|
+
t.is(ttl, 100);
|
|
34
|
+
storeSet.call(store, key, value, ttl);
|
|
35
|
+
};
|
|
36
|
+
|
|
37
|
+
const keyv = new Keyv({ store });
|
|
38
|
+
await keyv.set('foo', 'bar', 100);
|
|
39
|
+
});
|
|
40
|
+
|
|
41
|
+
test.serial('Keyv respects default tll option', async t => {
|
|
42
|
+
const store = new Map();
|
|
43
|
+
const keyv = new Keyv({ store, ttl: 100 });
|
|
44
|
+
await keyv.set('foo', 'bar');
|
|
45
|
+
t.is(await keyv.get('foo'), 'bar');
|
|
46
|
+
tk.freeze(Date.now() + 150);
|
|
47
|
+
t.is(await keyv.get('foo'), undefined);
|
|
48
|
+
t.is(store.size, 0);
|
|
49
|
+
tk.reset();
|
|
50
|
+
});
|
|
51
|
+
|
|
52
|
+
test.serial('.set(key, val, ttl) overwrites default tll option', async t => {
|
|
53
|
+
const startTime = Date.now();
|
|
54
|
+
tk.freeze(startTime);
|
|
55
|
+
const store = new Map();
|
|
56
|
+
const keyv = new Keyv({ store, ttl: 200 });
|
|
57
|
+
await keyv.set('foo', 'bar');
|
|
58
|
+
await keyv.set('fizz', 'buzz', 100);
|
|
59
|
+
await keyv.set('ping', 'pong', 300);
|
|
60
|
+
t.is(await keyv.get('foo'), 'bar');
|
|
61
|
+
t.is(await keyv.get('fizz'), 'buzz');
|
|
62
|
+
t.is(await keyv.get('ping'), 'pong');
|
|
63
|
+
tk.freeze(startTime + 150);
|
|
64
|
+
t.is(await keyv.get('foo'), 'bar');
|
|
65
|
+
t.is(await keyv.get('fizz'), undefined);
|
|
66
|
+
t.is(await keyv.get('ping'), 'pong');
|
|
67
|
+
tk.freeze(startTime + 250);
|
|
68
|
+
t.is(await keyv.get('foo'), undefined);
|
|
69
|
+
t.is(await keyv.get('ping'), 'pong');
|
|
70
|
+
tk.freeze(startTime + 350);
|
|
71
|
+
t.is(await keyv.get('ping'), undefined);
|
|
72
|
+
tk.reset();
|
|
73
|
+
});
|
|
74
|
+
|
|
75
|
+
test.serial('.set(key, val, ttl) where ttl is "0" overwrites default tll option and sets key to never expire', async t => {
|
|
76
|
+
const startTime = Date.now();
|
|
77
|
+
tk.freeze(startTime);
|
|
78
|
+
const store = new Map();
|
|
79
|
+
const keyv = new Keyv({ store, ttl: 200 });
|
|
80
|
+
await keyv.set('foo', 'bar', 0);
|
|
81
|
+
t.is(await keyv.get('foo'), 'bar');
|
|
82
|
+
tk.freeze(startTime + 250);
|
|
83
|
+
t.is(await keyv.get('foo'), 'bar');
|
|
84
|
+
tk.reset();
|
|
85
|
+
});
|
|
86
|
+
|
|
87
|
+
test.serial('.get(key, {raw: true}) returns the raw object instead of the value', async t => {
|
|
88
|
+
const store = new Map();
|
|
89
|
+
const keyv = new Keyv({ store });
|
|
90
|
+
await keyv.set('foo', 'bar');
|
|
91
|
+
const value = await keyv.get('foo');
|
|
92
|
+
const rawObject = await keyv.get('foo', { raw: true });
|
|
93
|
+
t.is(value, 'bar');
|
|
94
|
+
t.is(rawObject.value, 'bar');
|
|
95
|
+
});
|
|
96
|
+
|
|
97
|
+
test.serial('Keyv uses custom serializer when provided instead of json-buffer', async t => {
|
|
98
|
+
t.plan(3);
|
|
99
|
+
const store = new Map();
|
|
100
|
+
const serialize = data => {
|
|
101
|
+
t.pass();
|
|
102
|
+
return JSON.stringify(data);
|
|
103
|
+
};
|
|
104
|
+
|
|
105
|
+
const deserialize = data => {
|
|
106
|
+
t.pass();
|
|
107
|
+
return JSON.parse(data);
|
|
108
|
+
};
|
|
109
|
+
|
|
110
|
+
const keyv = new Keyv({ store, serialize, deserialize });
|
|
111
|
+
await keyv.set('foo', 'bar');
|
|
112
|
+
t.is(await keyv.get('foo'), 'bar');
|
|
113
|
+
});
|
|
114
|
+
|
|
115
|
+
test.serial('Keyv supports async serializer/deserializer', async t => {
|
|
116
|
+
t.plan(3);
|
|
117
|
+
const store = new Map();
|
|
118
|
+
|
|
119
|
+
const serialize = async data => {
|
|
120
|
+
t.pass();
|
|
121
|
+
return JSON.stringify(data);
|
|
122
|
+
};
|
|
123
|
+
|
|
124
|
+
const deserialize = async data => {
|
|
125
|
+
t.pass();
|
|
126
|
+
return JSON.parse(data);
|
|
127
|
+
};
|
|
128
|
+
|
|
129
|
+
const keyv = new Keyv({ store, serialize, deserialize });
|
|
130
|
+
await keyv.set('foo', 'bar');
|
|
131
|
+
t.is(await keyv.get('foo'), 'bar');
|
|
132
|
+
});
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -19,6 +19,7 @@
|
|
|
19
19
|
"integ:slack-app:destroy": "npx projen integ:slack-app:destroy",
|
|
20
20
|
"integ:slack-app:snapshot": "npx projen integ:slack-app:snapshot",
|
|
21
21
|
"integ:slack-app:watch": "npx projen integ:slack-app:watch",
|
|
22
|
+
"integ:snapshot-all": "npx projen integ:snapshot-all",
|
|
22
23
|
"package": "npx projen package",
|
|
23
24
|
"package-all": "npx projen package-all",
|
|
24
25
|
"package:js": "npx projen package:js",
|
|
@@ -41,33 +42,33 @@
|
|
|
41
42
|
"organization": false
|
|
42
43
|
},
|
|
43
44
|
"devDependencies": {
|
|
44
|
-
"@aws-cdk/aws-apigatewayv2-alpha": "
|
|
45
|
-
"@aws-cdk/aws-apigatewayv2-integrations-alpha": "
|
|
46
|
-
"@types/aws-lambda": "^8.10.
|
|
45
|
+
"@aws-cdk/aws-apigatewayv2-alpha": "2.1.0-alpha.0",
|
|
46
|
+
"@aws-cdk/aws-apigatewayv2-integrations-alpha": "2.1.0-alpha.0",
|
|
47
|
+
"@types/aws-lambda": "^8.10.90",
|
|
47
48
|
"@types/jest": "^26.0.24",
|
|
48
49
|
"@types/node": "^12",
|
|
49
50
|
"@types/tsscmp": "^1.0.0",
|
|
50
51
|
"@typescript-eslint/eslint-plugin": "^5",
|
|
51
52
|
"@typescript-eslint/parser": "^5",
|
|
52
|
-
"aws-cdk": "^2
|
|
53
|
+
"aws-cdk": "^2",
|
|
53
54
|
"aws-cdk-lib": "2.1.0",
|
|
54
|
-
"aws-sdk": "^2.
|
|
55
|
-
"aws-sdk-mock": "^5.5.
|
|
55
|
+
"aws-sdk": "^2.1059.0",
|
|
56
|
+
"aws-sdk-mock": "^5.5.1",
|
|
56
57
|
"constructs": "10.0.5",
|
|
57
|
-
"esbuild": "^0.14.
|
|
58
|
+
"esbuild": "^0.14.11",
|
|
58
59
|
"eslint": "^8",
|
|
59
60
|
"eslint-import-resolver-node": "^0.3.6",
|
|
60
61
|
"eslint-import-resolver-typescript": "^2.5.0",
|
|
61
|
-
"eslint-plugin-import": "^2.25.
|
|
62
|
+
"eslint-plugin-import": "^2.25.4",
|
|
62
63
|
"jest": "^26.6.3",
|
|
63
64
|
"jest-junit": "^13",
|
|
64
|
-
"jsii": "^1.
|
|
65
|
-
"jsii-diff": "^1.
|
|
65
|
+
"jsii": "^1.52.1",
|
|
66
|
+
"jsii-diff": "^1.52.1",
|
|
66
67
|
"jsii-docgen": "^1.8.110",
|
|
67
68
|
"json-schema": "^0.4.0",
|
|
68
|
-
"nock": "^13.2.
|
|
69
|
+
"nock": "^13.2.2",
|
|
69
70
|
"npm-check-updates": "^12",
|
|
70
|
-
"projen": "^0.
|
|
71
|
+
"projen": "^0.51.5",
|
|
71
72
|
"standard-version": "^9",
|
|
72
73
|
"ts-jest": "^26.5.6",
|
|
73
74
|
"ts-node": "^10.4.0",
|
|
@@ -92,7 +93,7 @@
|
|
|
92
93
|
],
|
|
93
94
|
"main": "lib/index.js",
|
|
94
95
|
"license": "Apache-2.0",
|
|
95
|
-
"version": "0.4.
|
|
96
|
+
"version": "0.4.5",
|
|
96
97
|
"jest": {
|
|
97
98
|
"testMatch": [
|
|
98
99
|
"<rootDir>/src/**/__tests__/**/*.ts?(x)",
|
package/releasetag.txt
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
v0.4.
|
|
1
|
+
v0.4.5
|
package/version.txt
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.4.
|
|
1
|
+
0.4.5
|