sandbornm / BlindFashion

A mobile application to assist visually impaired individuals by providing audio descriptions of clothing items while shopping
1 stars 1 forks source link

Bump mem from 5.1.1 to 6.1.0 #28

Open dependabot[bot] opened 4 years ago

dependabot[bot] commented 4 years ago

Bumps mem from 5.1.1 to 6.1.0.

Release notes

Sourced from mem's releases.

v6.1.0

  • Automatically use WeakMap when possible (#56) e8bb86c

https://github.com/sindresorhus/mem/compare/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. If you depend on this option, you should stay on mem v5 until sindresorhus/p-memoize#11 is resolved.
  • Throw when .clear() is called with a non-memoized function (#44) c73c23b

https://github.com/sindresorhus/mem/compare/v5.1.1...v6.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