Skip to content
This repository has been archived by the owner on Jan 16, 2024. It is now read-only.

chore(deps): update dependency mem to v8 #61

Merged
merged 1 commit into from
Jun 5, 2021
Merged

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented May 9, 2021

WhiteSource Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
mem 4.0.0 -> 8.1.1 age adoption passing confidence

Release Notes

sindresorhus/mem

v8.1.1

Compare Source

  • Don't use the same memoized function across instances when .decorator() is used (#​75) d21357c

v8.1.0

Compare Source

v8.0.0

Compare Source

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

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

Compare Source

v6.1.0

Compare Source

v6.0.1

Compare Source

  • Support overloaded functions (TypeScript types) (#​48) 809697d

v6.0.0

Compare Source

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 (Add cachePromiseRejection option sindresorhus/p-memoize#11), which is like mem, but focused on promises.
  • Throw when .clear() is called with a non-memoized function (#​44) c73c23b

v5.1.1

Compare Source

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

v5.1.0

Compare Source

Enhancements:

v5.0.0

Compare Source

Breaking:

  • Require Node.js 8 e54b59b
  • Change the default value of the cachePromiseRejection option to true (#​36) 70707ae
    We decided it's better to default to the least surprising/magic behavior.

Breaking for TypeScript users:

  • Only use a CommonJS export for the TypeScript definition
    You need to change import mem from 'mem'; to import mem = require('mem');

Enhancements:

  • Cache function reference when it's a single argument (#​35) 10f13c0

v4.3.0

Compare Source

v4.2.0

Compare Source

v4.1.0

Compare Source

  • Work around some host environments throwing on mimicFn call (#​26) e08ad85
  • Bump dependencies bdfc93a

Configuration

📅 Schedule: "every weekend" in timezone America/Toronto.

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻️ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box.

This PR has been generated by WhiteSource Renovate. View repository job log here.

@renovate renovate bot added the renovate label May 9, 2021
@renovate renovate bot changed the title chore(deps): update dependency mem to v8 chore(deps): update dependency mem to v8 - autoclosed May 15, 2021
@renovate renovate bot closed this May 15, 2021
@renovate renovate bot deleted the renovate/mem-8.x branch May 15, 2021 01:11
@renovate renovate bot changed the title chore(deps): update dependency mem to v8 - autoclosed chore(deps): update dependency mem to v8 May 21, 2021
@renovate renovate bot reopened this May 21, 2021
@renovate renovate bot restored the renovate/mem-8.x branch May 21, 2021 03:36
@renovate renovate bot changed the title chore(deps): update dependency mem to v8 chore(deps): update dependency mem to v8 - autoclosed May 24, 2021
@renovate renovate bot closed this May 24, 2021
@renovate renovate bot deleted the renovate/mem-8.x branch May 24, 2021 08:33
@renovate renovate bot changed the title chore(deps): update dependency mem to v8 - autoclosed chore(deps): update dependency mem to v8 May 27, 2021
@renovate renovate bot restored the renovate/mem-8.x branch May 27, 2021 04:19
@renovate renovate bot reopened this May 27, 2021
@renovate renovate bot force-pushed the renovate/mem-8.x branch from aff0799 to cf76fd9 Compare May 27, 2021 08:00
@renovate renovate bot force-pushed the renovate/mem-8.x branch 6 times, most recently from 330bb82 to 4a57247 Compare June 5, 2021 19:48
@renovate renovate bot force-pushed the renovate/mem-8.x branch from 4a57247 to 39cd1ae Compare June 5, 2021 19:51
@kunalnagar kunalnagar merged commit 793a73e into master Jun 5, 2021
@kunalnagar kunalnagar deleted the renovate/mem-8.x branch June 5, 2021 20:42
kunalnagar pushed a commit that referenced this pull request Jun 5, 2021
[skip ci]

### [1.0.8](v1.0.7...v1.0.8) (2021-06-05)

### Bug Fixes

* **deps:** update dependency underscore to v1.12.1 [security] ([#66](#66)) ([b7566d7](b7566d7))

### Chores

* **deps:** update dependency @types/node-fetch to v2.5.10 ([#67](#67)) ([e9c17b1](e9c17b1))
* **deps:** update dependency eslint to v7.28.0 ([#69](#69)) ([5f2a831](5f2a831))
* **deps:** update dependency eslint-config-prettier to v8.3.0 ([#71](#71)) ([0a01190](0a01190))
* **deps:** update dependency lint-staged to v11 ([#60](#60)) ([ba058e7](ba058e7))
* **deps:** update dependency mem to v8 ([#61](#61)) ([793a73e](793a73e))
* **deps:** update dependency prettier to v2.3.1 ([#64](#64)) ([e1b1622](e1b1622))
* **deps:** update dependency sort-package-json to v1.50.0 ([#56](#56)) ([5b538b5](5b538b5))
* **deps:** update dependency typescript to v4.3.2 ([#68](#68)) ([06b6ae9](06b6ae9))
* **deps:** update dependency yargs-parser to v20 ([#63](#63)) ([0f8ad74](0f8ad74))
@kunalnagar
Copy link
Member

🎉 This PR is included in version 1.0.8 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants