Skip to content

Conversation

@dependabot-preview
Copy link
Contributor

Bumps mem from 4.3.0 to 8.0.0.

Release notes

Sourced from mem's releases.

v8.0.0

Breaking

  • Convert the package to TypeScript (#64) 0b5c364 The types might be slightly different than v6.
  • Require Node.js 10 (#67) 1afa53c
  • Throw on .clear(fn) if fn’s cache can't be cleared (#59) e7c8893

sindresorhus/memoize@v6.1.1...v8.0.0


What happened to v7? This version was prematurely published as v7, so we did v8 to prevent breaking for those already on v7.

v6.1.1

  • Slightly improve performance (#57) ea88c5c
  • Revert "Automatically use WeakMap when possible" (#58) 3ffde5d

sindresorhus/memoize@v6.1.0...v6.1.1

v6.1.0

  • Automatically use WeakMap when possible (#56) e8bb86c

sindresorhus/memoize@v6.0.1...v6.1.0

v6.0.1

  • Support overloaded functions (TypeScript types) (#48) 809697d009059bf177c0d556009eaee121dc2ef6

v6.0.0

Breaking

  • Simplify the default cacheKey (#43) b7a0766 It now defaults to cacheKey: x => x instead of the much more complicated previous default. This means it will now only cache the first argument, and only if it's a primitive. Previously, it tried to cache all arguments using JSON.stringify(), but this was both error-prone and slow. This change makes the memoization logic very straightforward, explicit and fast by default. See the readme for how to handle multi-argument or non-primitive value situations.
  • Drop the cachePromiseRejection option (#43) b7a0766 It was not a good fit for mem and we plan to add it to p-memoize instead (sindresorhus/p-memoize#11), which is like mem, but focused on promises.
  • Throw when .clear() is called with a non-memoized function (#44) c73c23b

sindresorhus/memoize@v5.1.1...v6.0.0

v5.1.1

  • Always use an object for the cache item to match expectations and the TypeScript definitions (#42) 1f38c3e

sindresorhus/memoize@v5.1.0...v5.1.1

v5.1.0

Enhancements:

  • Minor performance optimization (#39) c098182

sindresorhus/memoize@v5.0.0...v5.1.0

v5.0.0

Commits

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:

  • 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)

Bumps [mem](https://github.com/sindresorhus/mem) from 4.3.0 to 8.0.0.
- [Release notes](https://github.com/sindresorhus/mem/releases)
- [Commits](sindresorhus/memoize@v4.3.0...v8.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
@dependabot-preview dependabot-preview bot added the dependencies Pull requests that update a dependency file label Oct 11, 2020
@dependabot-preview
Copy link
Contributor Author

Superseded by #255.

@dependabot-preview dependabot-preview bot deleted the dependabot/npm_and_yarn/mem-8.0.0 branch May 1, 2021 05:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant