Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

⚠️ Requires testing on preview environment: Bump lru-cache from 7.7.1 to 11.0.0 #11935

Open
wants to merge 3 commits into
base: latest
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Sep 2, 2024

Bumps lru-cache from 7.7.1 to 11.0.0.

Changelog

Sourced from lru-cache's changelog.

cringe lorg

11.0

  • Drop support for node less than v20

10.4

  • Accidental minor update, should've been patch.

10.3

  • add forceFetch() method
  • set disposeReason to 'expire' when it's the result of a TTL expiration, or 'fetch' when it's the result of an aborted or undefined-returning fetch()
  • add memo() method

10.2

  • types: implement the Map<K, V> interface

10.1

  • add cache.info(key) to get value as well as ttl and size information.

10.0

  • cache.fetch() return type is now Promise<V | undefined> instead of Promise<V | void>. This is an irrelevant change practically speaking, but can require changes for TypeScript users.

9.1

  • cache.set(key, undefined) is now an alias for cache.delete(key)

9.0

  • Use named export only, no default export.
  • Bring back minimal polyfill. If this polyfill ends up being used, then a warning is printed, as it is not safe for use outside of LRUCache.

8.0

  • The fetchContext option was renamed to context, and may no longer be set on the cache instance itself.

... (truncated)

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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @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)

@amoore108
Copy link
Contributor

lru-cache did seem to have a knock-on affect to Opera Mini: #10642

Could be something to look into again now that we have alternative analytics solution for Opera Mini.

Bumps [lru-cache](https://github.com/isaacs/node-lru-cache) from 7.7.1 to 11.0.0.
- [Changelog](https://github.com/isaacs/node-lru-cache/blob/main/CHANGELOG.md)
- [Commits](isaacs/node-lru-cache@v7.7.1...v11.0.0)

---
updated-dependencies:
- dependency-name: lru-cache
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/lru-cache-11.0.0 branch from baa7e5e to 535cc20 Compare September 2, 2024 14:15
@karinathomasbbc
Copy link
Contributor

lru-cache did seem to have a knock-on affect to Opera Mini: #10642

Could be something to look into again now that we have alternative analytics solution for Opera Mini.

@amoore108 I am going to try and fix up the PR, so that we can decide on the next steps i.e. do we put it on preview and try to test it with Opera Mini?

@amoore108
Copy link
Contributor

lru-cache did seem to have a knock-on affect to Opera Mini: #10642
Could be something to look into again now that we have alternative analytics solution for Opera Mini.

@amoore108 I am going to try and fix up the PR, so that we can decide on the next steps i.e. do we put it on preview and try to test it with Opera Mini?

Could try it and see. We have a fairly reliable why of testing the analytics events are coming through, so it should be testable on Preview.

@karinathomasbbc karinathomasbbc changed the title Bump lru-cache from 7.7.1 to 11.0.0 ⚠️ Requires testing on preview environment: Bump lru-cache from 7.7.1 to 11.0.0 Sep 2, 2024
@karinathomasbbc karinathomasbbc self-assigned this Sep 2, 2024
Copy link
Contributor

@karinathomasbbc karinathomasbbc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Requires testing on preview environment

Copy link
Contributor Author

dependabot bot commented on behalf of github Sep 9, 2024

A newer version of lru-cache exists, but since this PR has been edited by someone other than Dependabot I haven't updated it. You'll get a PR for the updated version as normal once this PR is merged.

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

Successfully merging this pull request may close these issues.

2 participants