add cache.info(key) to get value as well as ttl and size
information.
10.0.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.0
cache.set(key, undefined) is now an alias for
cache.delete(key)
9.0.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.0
The fetchContext option was renamed to context, and may no
longer be set on the cache instance itself.
Rewritten in TypeScript, so pretty much all the types moved
around a lot.
The AbortController/AbortSignal polyfill is removed. For this
reason, Node version 16.14.0 or higher is now required.
Internal properties were moved to actual private class
properties.
Keys and values must not be null or undefined.
Minified export available at 'lru-cache/min', for both CJS
and MJS builds.
7.18.0
Add support for internal state investigation through the use of
a status option to has(), set(), get(), and fetch().
7.17.0
Add signal option for fetch to pass a user-supplied
AbortSignal
Add ignoreFetchAbort and allowStaleOnFetchAbort options
Note for eslint plugin authors and other API consumers
TypeScript v5.3 shipped with a type change that was incompatible with our types. This change has been fixed and will be released in v5.3.3. Until that time you can work around this error using skipLibCheck.
Bug Fixes
typescript-estree: ensure backwards compat with pre-5.3 import attributes (#7967) (810fc8c)
eslint-plugin: [class-methods-use-this] detect a problematic case for private/protected members if ignoreClassesThatImplementAnInterface is set (#7705) (155aa1f)
eslint-plugin: [no-unnecessary-condition] fix false positive with computed member access and branded key type (#7706) (f151b26)
eslint-plugin: [switch-exhaustiveness-check] enum members with new line or single quotes are not being fixed correctly (#7806) (a034d0a), closes #7768
utils: add missing fields to flat config types (#7933) (533861a)
utils: allow string processor in flat config (024ed9e)
eslint-plugin: [class-methods-use-this] detect a problematic case for private/protected members if ignoreClassesThatImplementAnInterface is set (#7705) (155aa1f)
eslint-plugin: [no-unnecessary-condition] fix false positive with computed member access and branded key type (#7706) (f151b26)
eslint-plugin: [switch-exhaustiveness-check] enum members with new line or single quotes are not being fixed correctly (#7806) (a034d0a), closes #7768
Features
[member-ordering] add accessor support for member-ordering (#7927) (3c8312d)
Note for eslint plugin authors and other API consumers
TypeScript v5.3 shipped with a type change that was incompatible with our types. This change has been fixed and will be released in v5.3.3. Until that time you can work around this error using skipLibCheck.
Bug Fixes
typescript-estree: ensure backwards compat with pre-5.3 import attributes (#7967) (810fc8c)
eslint-plugin: [class-methods-use-this] detect a problematic case for private/protected members if ignoreClassesThatImplementAnInterface is set (#7705) (155aa1f)
eslint-plugin: [no-unnecessary-condition] fix false positive with computed member access and branded key type (#7706) (f151b26)
eslint-plugin: [switch-exhaustiveness-check] enum members with new line or single quotes are not being fixed correctly (#7806) (a034d0a), closes #7768
utils: add missing fields to flat config types (#7933) (533861a)
utils: allow string processor in flat config (024ed9e)
Added: [unicorn/template-indent], (as a [special rule][unicorn/template-indent-special]). Thanks to Gürgün Dayıoğlu (@gurgunday)!
Changed: All the [formatting rules that were deprecated in ESLint 8.53.0][deprecated-8.53.0] are now excluded if you set the ESLINT_CONFIG_PRETTIER_NO_DEPRECATED environment variable.
Bumps the deps group with 11 updates:
10.0.1
10.1.0
0.61.1
0.65.0
20.9.0
20.10.4
6.11.0
6.13.2
6.11.0
6.13.2
8.53.0
8.55.0
9.0.0
9.1.0
4.0.1
5.0.2
5.2.2
5.3.3
0.17.4
0.18.1
4.5.0
5.0.7
Updates
lru-cache
from 10.0.1 to 10.1.0Changelog
Sourced from lru-cache's changelog.
... (truncated)
Commits
58e6aa8
10.1.00d3a416
add cache.info()e8feab5
10.0.38f2b01d
remove spurious semver dep6105ea7
update tests to pass on node <2032fb439
npm pkg fix744ba6d
10.0.27af4946
export types and fix links for typedocse0f005a
update tap, clock-mock, build with tshy7ea4716
add github link to typedocsUpdates
@melt-ui/svelte
from 0.61.1 to 0.65.0Release notes
Sourced from
@melt-ui/svelte
's releases.... (truncated)
Changelog
Sourced from
@melt-ui/svelte
's changelog.... (truncated)
Commits
57a386e
Version Packages (#806)ff6169e
Menu:closeOnItemClick
propbb148fe
Version Packages (#802)ef2160e
feat: returnstartValue
&endValue
from range calendar (#801)cacb930
Version Packages (#800)5f7455e
Calendar/Range Calendar: fixdata-selected
attribute (#799)4f757d9
Version Packages (#797)0978597
fix: export menu checkbox return type (#796)6ec1881
Version Packages (#794)28889c2
fix: bug with date buildersonValueChange
(#795)Updates
@types/node
from 20.9.0 to 20.10.4Commits
Updates
@typescript-eslint/eslint-plugin
from 6.11.0 to 6.13.2Release notes
Sourced from
@typescript-eslint/eslint-plugin
's releases.... (truncated)
Changelog
Sourced from
@typescript-eslint/eslint-plugin
's changelog.Commits
cc2c6d3
chore: publish v6.13.237f34f4
docs: add 'When Not To Use It' or an intentional omission notice on all rules...96abf18
chore: finish enabling no-unnecessary-condition internally (#8004)4dae083
chore: prefix all nx package scripts with npx (#7988)14f3ff0
chore: publish v6.13.139c437a
chore: publish v6.13.09093e95
chore: publish v6.12.02e535b8
chore(deps): update dependency prettier to v3.1.0 (#7938)4cfcd45
feat(eslint-plugin): [switch-exhaustiveness-check] add requireDefaultForNonUn...155aa1f
fix(eslint-plugin): [class-methods-use-this] detect a problematic case for pr...Updates
@typescript-eslint/parser
from 6.11.0 to 6.13.2Release notes
Sourced from
@typescript-eslint/parser
's releases.... (truncated)
Changelog
Sourced from
@typescript-eslint/parser
's changelog.Commits
cc2c6d3
chore: publish v6.13.24dae083
chore: prefix all nx package scripts with npx (#7988)14f3ff0
chore: publish v6.13.139c437a
chore: publish v6.13.09093e95
chore: publish v6.12.02e535b8
chore(deps): update dependency prettier to v3.1.0 (#7938)Updates
eslint
from 8.53.0 to 8.55.0Release notes
Sourced from eslint's releases.
Changelog
Sourced from eslint's changelog.
Commits
e0cb960
8.55.0969b272
Build: changelog update for 8.55.0eb8950c
chore: upgrade@eslint/js
@8
.55.0 (#17811)93df384
chore: package.json update for@eslint/js
releasefe4b954
chore: upgrade@eslint/eslintrc
@2
.1.4 (#17799)8c9e6c1
feat: importNamePattern option in no-restricted-imports (#17721)83ece2a
docs: fix typo--rules
->--rule
(#17806)bd8911d
ci: pin Node.js 21.2.0 (#17809)b29a16b
chore: fix severalcli
tests to run in the intended flat config mode (#17797)fffca5c
docs: remove "Open in Playground" buttons for removed rules (#17791)Updates
eslint-config-prettier
from 9.0.0 to 9.1.0Changelog
Sourced from eslint-config-prettier's changelog.
Commits
40c7f3d
eslint-config-prettier v9.1.04110dff
Merge pull request #271 from prettier/deprecated6d0bd92
Update tests to handle newly deprecated rules4c876b9
Move rules deprecated in ESLint 8.53.0 to the deprecated section24445c0
Use specialRule constant7827196
Group deprecated and removed rules by version48f804c
Roll back to ESLint 8.52.0 for now16f03b8
Update Prettierb06d618
Update npm packages25fc427
turn offunicorn/template-indent
(#269)Updates
postcss-load-config
from 4.0.1 to 5.0.2Changelog
Sourced from postcss-load-config's changelog.
Commits
5d8c80d
chore(release): 5.0.2b619a08
fix: use different name than __require (#257)13b09d0
chore(release): 5.0.18e8062e
Update dependencies54eb338
fix: dynamic imports on windows require file scheme (#256)c03d8f4
chore(release): 5.0.01928df0
feat: support loading esm and ts files from json config (#254)691cb42
Clean up code215f1b2
Update lock filef70b27a
Update code styleUpdates
typescript
from 5.2.2 to 5.3.3Release notes
Sourced from typescript's releases.