Release notes
*Sourced from [mem's releases](https://github.com/sindresorhus/mem/releases).*
> ## v6.0.1
> - Support overloaded functions (TypeScript types) ([#48](https://github-redirect.dependabot.com/sindresorhus/mem/issues/48)) 809697d009059bf177c0d556009eaee121dc2ef6
>
> ## v6.0.0
> ### Breaking
>
> - Simplify the default `cacheKey` ([#43](https://github-redirect.dependabot.com/sindresorhus/mem/issues/43)) b7a0766
> It now defaults to `cacheKey: x => x` instead of the much more complicated [previous default](https://github.com/sindresorhus/mem/blob/c73c23b7565ea5f54c110e071e6e25cc0392f624/index.js#L8-L23). 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](https://github-redirect.dependabot.com/sindresorhus/mem/issues/43)) b7a0766
> It was not a good fit for `mem` and we plan to add it to `p-memoize` instead (https://github-redirect.dependabot.com/sindresorhus/p-memoize/issues/11), which is like `mem`, but focused on promises. If you depend on this option, you should stay on mem v5 until [sindresorhus/p-memoize#11](https://github-redirect.dependabot.com/sindresorhus/p-memoize/issues/11) is resolved.
> - Throw when `.clear()` is called with a non-memoized function ([#44](https://github-redirect.dependabot.com/sindresorhus/mem/issues/44)) c73c23b
>
> https://github.com/sindresorhus/mem/compare/v5.1.1...v6.0.0
Commits
- [`9d5661e`](https://github.com/sindresorhus/mem/commit/9d5661e63642c250818306f37af8497eb61e2c11) 6.0.1
- [`809697d`](https://github.com/sindresorhus/mem/commit/809697d009059bf177c0d556009eaee121dc2ef6) Support overloaded functions (TypeScript types) ([#48](https://github-redirect.dependabot.com/sindresorhus/mem/issues/48))
- [`b154f53`](https://github.com/sindresorhus/mem/commit/b154f53ad72ac76277c0cc2844febf1cd2df1795) 6.0.0
- [`3291490`](https://github.com/sindresorhus/mem/commit/329149051813b24c0f07998d542638fd0d4946a4) Meta tweaks
- [`b7a0766`](https://github.com/sindresorhus/mem/commit/b7a076691c9c786a1e162abeae7042d49f7a9406) Simplify default serializer; drop promise-related option ([#43](https://github-redirect.dependabot.com/sindresorhus/mem/issues/43))
- [`c73c23b`](https://github.com/sindresorhus/mem/commit/c73c23b7565ea5f54c110e071e6e25cc0392f624) Throw when `.clear()` is called with a non-memoized function ([#44](https://github-redirect.dependabot.com/sindresorhus/mem/issues/44))
- See full diff in [compare view](https://github.com/sindresorhus/mem/compare/v5.1.1...v6.0.1)
Maintainer changes
This version was pushed to npm by [bfred-it](https://www.npmjs.com/~bfred-it), a new releaser for mem since your current version.
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 ignore this [patch|minor|major] version` will close this PR and stop Dependabot creating any more for this minor/major 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
You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/sandbornm/BlindFashion/network/alerts).
Dependabot tried to update this pull request, but something went wrong. We're looking into it, but in the meantime you can retry the update by commenting @dependabot rebase.
Bumps mem from 5.1.1 to 6.0.1.
Release notes
*Sourced from [mem's releases](https://github.com/sindresorhus/mem/releases).* > ## v6.0.1 > - Support overloaded functions (TypeScript types) ([#48](https://github-redirect.dependabot.com/sindresorhus/mem/issues/48)) 809697d009059bf177c0d556009eaee121dc2ef6 > > ## v6.0.0 > ### Breaking > > - Simplify the default `cacheKey` ([#43](https://github-redirect.dependabot.com/sindresorhus/mem/issues/43)) b7a0766 > It now defaults to `cacheKey: x => x` instead of the much more complicated [previous default](https://github.com/sindresorhus/mem/blob/c73c23b7565ea5f54c110e071e6e25cc0392f624/index.js#L8-L23). 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](https://github-redirect.dependabot.com/sindresorhus/mem/issues/43)) b7a0766 > It was not a good fit for `mem` and we plan to add it to `p-memoize` instead (https://github-redirect.dependabot.com/sindresorhus/p-memoize/issues/11), which is like `mem`, but focused on promises. If you depend on this option, you should stay on mem v5 until [sindresorhus/p-memoize#11](https://github-redirect.dependabot.com/sindresorhus/p-memoize/issues/11) is resolved. > - Throw when `.clear()` is called with a non-memoized function ([#44](https://github-redirect.dependabot.com/sindresorhus/mem/issues/44)) c73c23b > > https://github.com/sindresorhus/mem/compare/v5.1.1...v6.0.0Commits
- [`9d5661e`](https://github.com/sindresorhus/mem/commit/9d5661e63642c250818306f37af8497eb61e2c11) 6.0.1 - [`809697d`](https://github.com/sindresorhus/mem/commit/809697d009059bf177c0d556009eaee121dc2ef6) Support overloaded functions (TypeScript types) ([#48](https://github-redirect.dependabot.com/sindresorhus/mem/issues/48)) - [`b154f53`](https://github.com/sindresorhus/mem/commit/b154f53ad72ac76277c0cc2844febf1cd2df1795) 6.0.0 - [`3291490`](https://github.com/sindresorhus/mem/commit/329149051813b24c0f07998d542638fd0d4946a4) Meta tweaks - [`b7a0766`](https://github.com/sindresorhus/mem/commit/b7a076691c9c786a1e162abeae7042d49f7a9406) Simplify default serializer; drop promise-related option ([#43](https://github-redirect.dependabot.com/sindresorhus/mem/issues/43)) - [`c73c23b`](https://github.com/sindresorhus/mem/commit/c73c23b7565ea5f54c110e071e6e25cc0392f624) Throw when `.clear()` is called with a non-memoized function ([#44](https://github-redirect.dependabot.com/sindresorhus/mem/issues/44)) - See full diff in [compare view](https://github.com/sindresorhus/mem/compare/v5.1.1...v6.0.1)Maintainer changes
This version was pushed to npm by [bfred-it](https://www.npmjs.com/~bfred-it), a new releaser for mem since your current version.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 ignore this [patch|minor|major] version` will close this PR and stop Dependabot creating any more for this minor/major 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 You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/sandbornm/BlindFashion/network/alerts).