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

chore(deps): bump lru-cache from 7.14.1 to 11.0.0 in /server #47

Closed

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Aug 1, 2024

Bumps lru-cache from 7.14.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

You can trigger a rebase of this PR 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)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Aug 1, 2024
@dependabot dependabot bot requested a review from wolf31o2 as a code owner August 1, 2024 14:56
@dependabot dependabot bot added the javascript Pull requests that update Javascript code label Aug 1, 2024
Copy link

cloudflare-workers-and-pages bot commented Aug 1, 2024

Deploying blinklabs-discoin-vm-frontend with  Cloudflare Pages  Cloudflare Pages

Latest commit: 7049251
Status: ✅  Deploy successful!
Preview URL: https://a62e5b81.blinklabs-discoin-vm-frontend.pages.dev
Branch Preview URL: https://dependabot-npm-and-yarn-serv-2vf1.blinklabs-discoin-vm-frontend.pages.dev

View logs

@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/server/lru-cache-11.0.0 branch from c0dac3d to adcbeb2 Compare August 2, 2024 01:23
Copy link
Member

@wolf31o2 wolf31o2 left a comment

Choose a reason for hiding this comment

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

This currently fails when ran.

[0] /code/server/node_modules/ts-node/src/index.ts:859
[0]     return new TSError(diagnosticText, diagnosticCodes, diagnostics);
[0]            ^
[0] TSError: ⨯ Unable to compile TypeScript:
[0] utils/cache.ts(3,35): error TS2351: This expression is not constructable.
[0]   Type 'typeof import("/code/server/node_modules/lru-cache/dist/commonjs/index")' has no construct signatures.
[0] utils/cache.ts(8,34): error TS2351: This expression is not constructable.
[0]   Type 'typeof import("/code/server/node_modules/lru-cache/dist/commonjs/index")' has no construct signatures.
[0] utils/cache.ts(13,36): error TS2351: This expression is not constructable.
[0]   Type 'typeof import("/code/server/node_modules/lru-cache/dist/commonjs/index")' has no construct signatures.
[0] 
[0]     at createTSError (/code/server/node_modules/ts-node/src/index.ts:859:12)
[0]     at reportTSError (/code/server/node_modules/ts-node/src/index.ts:863:19)
[0]     at getOutput (/code/server/node_modules/ts-node/src/index.ts:1077:36)
[0]     at Object.compile (/code/server/node_modules/ts-node/src/index.ts:1433:41)
[0]     at Module.m._compile (/code/server/node_modules/ts-node/src/index.ts:1617:30)
[0]     at Module._extensions..js (node:internal/modules/cjs/loader:1588:10)
[0]     at Object.require.extensions.<computed> [as .ts] (/code/server/node_modules/ts-node/src/index.ts:1621:12)
[0]     at Module.load (node:internal/modules/cjs/loader:1282:32)
[0]     at Function.Module._load (node:internal/modules/cjs/loader:1098:12)
[0]     at TracingChannel.traceSync (node:diagnostics_channel:315:14) {
[0]   diagnosticCodes: [ 2351, 2351, 2351 ]
[0] }

@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/server/lru-cache-11.0.0 branch from adcbeb2 to 2fb5368 Compare August 2, 2024 13:36
Bumps [lru-cache](https://github.com/isaacs/node-lru-cache) from 7.14.1 to 11.0.0.
- [Changelog](https://github.com/isaacs/node-lru-cache/blob/main/CHANGELOG.md)
- [Commits](isaacs/node-lru-cache@v7.14.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/server/lru-cache-11.0.0 branch from 2fb5368 to 7049251 Compare August 7, 2024 13:20
Copy link
Contributor Author

dependabot bot commented on behalf of github Sep 9, 2024

Superseded by #94.

@dependabot dependabot bot closed this Sep 9, 2024
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/server/lru-cache-11.0.0 branch September 9, 2024 10:34
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant