Luke Childs
3307e12450
4.0.2
4 years ago
Kent C. Dodds
c682a2494f
Remove dynamic require ( #119 )
* Remove dynamic require
I'm using this module (through npm.im/got) for a serverless function and I'm getting this warning:
```
3:31:45 PM: WARNING in ../node_modules/keyv/src/index.js 18:14-40
3:31:45 PM: Critical dependency: the request of a dependency is an expression
3:31:45 PM: @ ../node_modules/cacheable-request/src/index.js
3:31:45 PM: @ ../node_modules/got/dist/source/core/index.js
3:31:45 PM: @ ../node_modules/got/dist/source/create.js
3:31:45 PM: @ ../node_modules/got/dist/source/index.js
3:31:45 PM: @ ./api.js
```
It's not technically a problem, but it is an annoyance and I'd love to avoid the warning.
This simply removes the dynamic require for static and lazy requires. Just a refactor. No functionality change here.
* fix constructor call
4 years ago
Luke Childs
b4f607adbb
4.0.1
5 years ago
Luke Childs
b7e930569b
Test against Node.js v12
5 years ago
Luke Childs
26582e3ed3
Create new keyPrefixed var for clarity
5 years ago
Romuald Quantin
3b5522ab7b
Fix double prefix with TTL.
5 years ago
greenkeeper[bot]
5d36b09db7
Update dependencies to enable Greenkeeper 🌴 ( #99 )
* chore(package): update dependencies
* docs(readme): add Greenkeeper badge
* Update README.md
Co-authored-by: Kiko Beats <josefrancisco.verdu@gmail.com>
5 years ago
Luke Childs
c9349e0456
Improve FUNDING.yml formatting
5 years ago
Luke Childs
5b12a4e6ad
Add block explorer links to FUNDING.yml
5 years ago
Luke Childs
cd318503f4
Use Bitcoin URI scheme for funding
5 years ago
Luke Childs
cddfe358e7
Create FUNDING.yml
5 years ago
Luke Childs
d13262f79e
4.0.0
5 years ago
chocolateboy
3107a363b4
API documentation: clarification that the Map-like instance metho… ( #79 )
5 years ago
Jitendra Adhikari
cce19f17bb
docs: fix minor typo ( #96 )
5 years ago
Kiko Beats
e9eeeccdb9
feat: async serialize/deserialize support ( #95 )
5 years ago
Jared Wray
a8e6ecbd9c
Add jaredwray/keyv-memcache to third-party adapters ( #92 )
5 years ago
Kiko Beats
9e68491f10
Add goto-bus-stop/keyv-firestore third party adapter ( #89 )
5 years ago
Paul Morgan III
2b4720f102
Add pmorgan3/keyv-mssql to list of third party adapters ( #90 )
5 years ago
Aditya Patadia
e0aa5aae09
updated nyc to 14.1.1
5 years ago
Aditya Patadia
a71622599f
xo updated to 0.24.0
5 years ago
Aditya Patadia
1ca93e36fc
removed nodejs v4 and v6 from travis due to EOL
5 years ago
Aditya Patadia
abef0be268
remove testing v12
6 years ago
Aditya Patadia
b23bdf41d0
start testing node v12
6 years ago
Dušan Simić
064e2ff35d
Add raw option to get() ( #42 )
If the raw option is set to true the raw DB object Keyv stores internally will be returned instead of just the value.
6 years ago
greenkeeper[bot]
b3f81193ac
fix(package): update json-buffer to version 3.0.1
6 years ago
Luke Childs
889e788238
3.1.0
6 years ago
greenkeeper[bot]
5ff35fdf1a
chore(package): update nyc to version 12.0.1
6 years ago
greenkeeper[bot]
36d76fa0fa
Update to node 10 in .travis.yml
7 years ago
Mateu Aguiló Bosch
5a256c0c70
Document keyv-dynamodb third-party adapter ( #57 )
7 years ago
Luke Childs
7024400dce
chore(package): update xo to version 0.20.1 ( #52 )
Closes #51
7 years ago
greenkeeper[bot]
38bbf0dce7
Update ava to the latest version 🚀 ( #46 )
7 years ago
Luke Childs
1b197ff8db
.gitignore yarn.lock
7 years ago
Luke Childs
8564876167
Fix syntax error in readme example
Resolves #44
7 years ago
greenkeeper[bot]
18bbee6e5b
Update ava to the latest version 🚀 ( #38 )
7 years ago
Luke Childs
afd71cb5b0
Add descriptions to third-party storage adapters
7 years ago
Luke Childs
1f7f4a7131
Fix incorrect type claim
7 years ago
MySidesTheyAreGone
57952014f0
Allow custom `serialize` and `deserialize` functions ( #33 )
7 years ago
Luke Childs
3f1057a98c
Add monthly download badge
7 years ago
greenkeeper[bot]
07ccd232ac
Update ava to the latest version 🚀 ( #37 )
7 years ago
Luke Childs
893e5cd54a
Link to third-party storage adapters ( #32 )
7 years ago
Luke Childs
155a41f2d4
3.0.0
7 years ago
Luke Childs
d2308d0d9d
Update TTL store test to reflect new behaviour
7 years ago
Luke Childs
81ed2f9541
Normalize data structure accross stores
7 years ago
greenkeeper[bot]
12c01add75
Update coveralls to the latest version 🚀 ( #27 )
7 years ago
greenkeeper[bot]
56abe8b9cd
Update timekeeper to the latest version 🚀 ( #23 )
7 years ago
Luke Childs
7e09f4d3aa
2.0.2
7 years ago
Luke Childs
64268e3038
Add .npmignore
7 years ago
greenkeeper[bot]
e721021075
Update ava to the latest version 🚀 ( #17 )
7 years ago
Luke Childs
a6bd0403c8
2.0.1
7 years ago
Luke Childs
9a280e8fab
Always run store methods inside Promise chain to ensure errors are rejected not thrown
7 years ago