stvmallen / homebridge-roomba-stv

Homebrige plugin for Roomba 9xx
MIT License
38 stars 15 forks source link

Bump node-cache from 4.2.1 to 5.0.2 #44

Closed dependabot-preview[bot] closed 4 years ago

dependabot-preview[bot] commented 4 years ago

Bumps node-cache from 4.2.1 to 5.0.2.

Release notes *Sourced from [node-cache's releases](https://github.com/mpneuried/nodecache/releases).* > ## Fix deleteOnExpire: false > * Fixed bug where expired values were deleted even though deleteOnExpire was set to false. Thanks to [fielding-wilson](https://github.com/fielding-wilson) for [#154](https://github-redirect.dependabot.com/mpneuried/nodecache/issues/154)! > > ## Fix null values > * Fixed bug where users could not set null values. Thanks to [StefanoSega](https://github.com/StefanoSega), [jwest23](https://github.com/jwest23) and [marudor](https://github.com/marudor)! [#151](https://github-redirect.dependabot.com/mpneuried/nodecache/issues/151) [#152](https://github-redirect.dependabot.com/mpneuried/nodecache/issues/152) > > ## Drop lodash dependency and callbacks > * Remove lodash dependency > * **DROP CALLBACK SUPPORT** - Read the migration guide if you are currently using the callback based api! :warning: > * add .has(key) and method - Thanks to Regev Brody for PR [#132](https://github-redirect.dependabot.com/mpneuried/nodecache/issues/132)! > * add .mset([{key,val,ttl}]) method - Thanks to Sujesh Thekkepatt for PR [#142](https://github-redirect.dependabot.com/mpneuried/nodecache/issues/142)! > * add maxKeys setting to limit cache size - Thanks do [@​daluf](https://github.com/daluf) for PR [#141](https://github-redirect.dependabot.com/mpneuried/nodecache/issues/141)! > * Also, thank you to all other contributors that remain unnamed here! :tada: > > --- > > ## MIGRATION GUIDE :construction: > > We have dropped callback support in node-cache and you should migrate to our sync-style api! > > **If you cannot refactor right now**, you can **turn on legacy callback support** by enabling the `enableLegacyCallbacks` option. Eg: `const cache = new NodeCache({ enableLegacyCallbacks: true })` > > But we **strongly recommend to refactor your code to use the sync-api** because we will drop official callback support in Versions v6.x and onwards. > > If your code currently looks like this: > > ```javascript > cache.get("my-key", function(err, value) { > if (err) { > // ... > } > > // double equal checks for null and undefined > if (value != null) { > // hmm.... nothing here :( > } > > // do something with value > }); > ``` > > it should be rewritten to: > > ```javascript > const value = cache.get("my-key"); > > // double equal checks for null and undefined > if (value != null) { > // hmm.... nothing here :( > } > ... (truncated)
Commits - [`6117b2b`](https://github.com/node-cache/node-cache/commit/6117b2b5cd7bd9467e630d03eb2c5d62479ec945) 5.0.2 - [`483b886`](https://github.com/node-cache/node-cache/commit/483b8863956fd50b8e4bbb1957354b7d49e7d97f) v5.0.2 changelog - [`b0aa682`](https://github.com/node-cache/node-cache/commit/b0aa6820b5118eb1fdd2211e676c5477db63c5f0) Merge pull request [#156](https://github-redirect.dependabot.com/mpneuried/nodecache/issues/156) from node-cache/hotfix/154_restore_deleteOnExpire - [`6eaa26e`](https://github.com/node-cache/node-cache/commit/6eaa26e580878dc098362313c219384c1346a8fe) Revert "(get) return undefined when key is expired" - [`21a8dc0`](https://github.com/node-cache/node-cache/commit/21a8dc0422b47aa1c3fd05c5abc07d60fcf64668) add downloads badge to readme, update version badge link to point directly to... - [`f5f2cb8`](https://github.com/node-cache/node-cache/commit/f5f2cb87ff149c2bbae454bcc72a41321b723d2f) 5.0.1 - [`31203bc`](https://github.com/node-cache/node-cache/commit/31203bc4300a04bb66afb79fca38fe7cf9fb413c) changelog for 5.0.1 - [`fc88208`](https://github.com/node-cache/node-cache/commit/fc8820842b56ee74297f1095cddbefcf76835978) Merge pull request [#152](https://github-redirect.dependabot.com/mpneuried/nodecache/issues/152) from erdii/hotfix/151_cannot-set-null-values - [`7dcae80`](https://github.com/node-cache/node-cache/commit/7dcae80cba6542567d17e4be61ef34b76da15f38) fixed getValLength for null values; this fixes [#151](https://github-redirect.dependabot.com/mpneuried/nodecache/issues/151); also added a test-case - [`49b89dd`](https://github.com/node-cache/node-cache/commit/49b89ddee55428311eaab8c8d2fbb599a4ebc642) add stale bot - Additional commits viewable in [compare view](https://github.com/mpneuried/nodecache/compare/4.2.1...v5.0.2)
Maintainer changes This version was pushed to npm by [erdii](https://www.npmjs.com/~erdii), a new releaser for node-cache since your current version.


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Pull request limits (per update run and/or open at any time) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired)
dependabot-preview[bot] commented 4 years ago

Superseded by #47.