![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
lru-cache-ext
Advanced tools
Thin wrapper around lru-cache with extended functionality.
Install with npm:
$ npm install --save lru-cache-ext
Please refer to lru-cache.
Type: boolean
Default: true
When set to other than true
, the null
value is not cached with memoize
and memoizeSync
.
Only when the key is not present in cache (or has expired), valueFn
is called and placed into cache.
The cached value is returned when it becomes available (important in the case where valueFn
is async).
The cache is left empty if an error is thrown at any point in valueFn
(even asynchronous).
Useful when multiple async operation need to access the same async information.
Similar to "memoize", when key is not present (or has expired), valueFn
is called and placed into the cache.
Cached value is returned from the function.
valueFn
can be a synchronous or asynchronous function.
If valueFn
is an asynchronous function and an error is thrown asynchronously, the cache is not invalidated.
FAQs
Thin wrapper around lru-cache with extended functionality.
The npm package lru-cache-ext receives a total of 1,004 weekly downloads. As such, lru-cache-ext popularity was classified as popular.
We found that lru-cache-ext demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.