Skip to content

Commit

Permalink
chore(deps): update all non-major dependencies (#97)
Browse files Browse the repository at this point in the history
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Sakamoto, Kazunori <[email protected]>
  • Loading branch information
renovate[bot] and exKAZUu authored Nov 29, 2024
1 parent 60c5a19 commit 525a8ca
Show file tree
Hide file tree
Showing 6 changed files with 1,087 additions and 1,063 deletions.
925 changes: 0 additions & 925 deletions .yarn/releases/yarn-4.4.1.cjs

This file was deleted.

934 changes: 934 additions & 0 deletions .yarn/releases/yarn-4.5.3.cjs

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion .yarnrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ plugins:
path: .yarn/plugins/plugin-auto-install.cjs
spec: 'https://github.com/WillBooster/yarn-plugin-auto-install/releases/download/v2.0.1/index.cjs'

yarnPath: .yarn/releases/yarn-4.4.1.cjs
yarnPath: .yarn/releases/yarn-4.5.3.cjs
22 changes: 11 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,32 +43,32 @@
"prettier": "@willbooster/prettier-config",
"devDependencies": {
"@types/eslint": "8.56.11",
"@types/jest": "29.5.12",
"@typescript-eslint/eslint-plugin": "8.4.0",
"@typescript-eslint/parser": "8.4.0",
"@types/jest": "29.5.14",
"@typescript-eslint/eslint-plugin": "8.16.0",
"@typescript-eslint/parser": "8.16.0",
"@willbooster/eslint-config-ts": "10.6.1",
"@willbooster/prettier-config": "9.1.3",
"build-ts": "13.1.8",
"conventional-changelog-conventionalcommits": "8.0.0",
"eslint": "8.57.0",
"eslint-config-prettier": "9.1.0",
"eslint-import-resolver-typescript": "3.6.3",
"eslint-plugin-import": "2.30.0",
"eslint-plugin-sort-class-members": "1.20.0",
"eslint-plugin-import": "2.31.0",
"eslint-plugin-sort-class-members": "1.21.0",
"eslint-plugin-sort-destructure-keys": "2.0.0",
"eslint-plugin-unicorn": "56.0.0",
"husky": "9.1.5",
"eslint-plugin-unicorn": "56.0.1",
"husky": "9.1.7",
"jest": "29.7.0",
"lint-staged": "15.2.10",
"micromatch": "4.0.8",
"pinst": "3.0.0",
"prettier": "3.3.3",
"prettier": "3.4.1",
"semantic-release": "24.2.0",
"sort-package-json": "2.10.1",
"sort-package-json": "2.12.0",
"ts-jest": "29.2.5",
"typescript": "5.5.4"
"typescript": "5.7.2"
},
"packageManager": "yarn@4.4.1",
"packageManager": "yarn@4.5.3",
"publishConfig": {
"access": "public"
}
Expand Down
6 changes: 3 additions & 3 deletions src/memoize.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ export function memoizeFactory({
const result = (target as (this: This) => Return).call(this);
if (cacheByThis.size >= maxCachedThisSize) {
const oldestKey = cacheByThis.keys().next().value;
cacheByThis.delete(oldestKey);
cacheByThis.delete(oldestKey as This);
}
cacheByThis.set(this, [result, now]);
console.log(`Exiting getter ${String(context.name)}.`);
Expand Down Expand Up @@ -100,7 +100,7 @@ export function memoizeFactory({
cacheByArgs = new Map<string, [Return, number]>();
if (cacheByThis.size >= maxCachedThisSize) {
const oldestKey = cacheByThis.keys().next().value;
cacheByThis.delete(oldestKey);
cacheByThis.delete(oldestKey as This);
}
cacheByThis.set(this, cacheByArgs);
}
Expand All @@ -110,7 +110,7 @@ export function memoizeFactory({
: (target as (...args: Args) => Return)(...args);
if (cacheByArgs.size >= maxCachedArgsSize) {
const oldestKey = cacheByArgs.keys().next().value;
cacheByArgs.delete(oldestKey);
cacheByArgs.delete(oldestKey as string);
}
cacheByArgs.set(key, [result, now]);

Expand Down
Loading

0 comments on commit 525a8ca

Please sign in to comment.