Compare commits

...

2 Commits

Author SHA1 Message Date
jkunz e0a5925954 v3.2.2
Default (tags) / security (push) Failing after 1s
Default (tags) / test (push) Failing after 1s
Default (tags) / release (push) Has been skipped
Default (tags) / metadata (push) Has been skipped
2026-04-30 09:52:22 +00:00
jkunz 0134354658 fix(build): enable noImplicitAny and add explicit typing for cache entry deletion 2026-04-30 09:52:22 +00:00
6 changed files with 684 additions and 647 deletions
+7
View File
@@ -1,5 +1,12 @@
# Changelog # Changelog
## 2026-04-30 - 3.2.2 - fix(build)
enable noImplicitAny and add explicit typing for cache entry deletion
- remove the build flag that allowed implicit any and configure the compiler to enforce noImplicitAny
- add an explicit string parameter and void return type to deleteCacheEntryByKey to satisfy stricter TypeScript checks
- refresh dependency versions and update the pnpm package manager version
## 2026-04-07 - 3.2.1 - fix(build) ## 2026-04-07 - 3.2.1 - fix(build)
migrate project tooling and filesystem integration to current smartfs-based stack migrate project tooling and filesystem integration to current smartfs-based stack
+10 -9
View File
@@ -1,6 +1,6 @@
{ {
"name": "@push.rocks/levelcache", "name": "@push.rocks/levelcache",
"version": "3.2.1", "version": "3.2.2",
"private": false, "private": false,
"description": "A versatile caching solution offering multi-level storage utilizing memory, disk, and Amazon S3 for efficient data management and backup.", "description": "A versatile caching solution offering multi-level storage utilizing memory, disk, and Amazon S3 for efficient data management and backup.",
"main": "dist_ts/index.js", "main": "dist_ts/index.js",
@@ -10,7 +10,7 @@
"license": "MIT", "license": "MIT",
"scripts": { "scripts": {
"test": "(tstest test/ --verbose --logfile --timeout 60)", "test": "(tstest test/ --verbose --logfile --timeout 60)",
"build": "(tsbuild tsfolders --allowimplicitany)", "build": "(tsbuild tsfolders)",
"buildDocs": "tsdoc", "buildDocs": "tsdoc",
"localPublish": "gitzone commit && pnpm run build && pnpm publish && pnpm publish --access public --registry=\"https://registry.npmjs.org\"" "localPublish": "gitzone commit && pnpm run build && pnpm publish && pnpm publish --access public --registry=\"https://registry.npmjs.org\""
}, },
@@ -18,16 +18,16 @@
"@git.zone/tsbuild": "^4.4.0", "@git.zone/tsbuild": "^4.4.0",
"@git.zone/tsrun": "^2.0.2", "@git.zone/tsrun": "^2.0.2",
"@git.zone/tstest": "^3.6.3", "@git.zone/tstest": "^3.6.3",
"@types/node": "^25.5.2" "@types/node": "^25.6.0"
}, },
"dependencies": { "dependencies": {
"@push.rocks/lik": "^6.4.0", "@push.rocks/lik": "^6.4.1",
"@push.rocks/smartbucket": "^4.6.0", "@push.rocks/smartbucket": "^4.6.1",
"@push.rocks/smartfs": "^1.5.0", "@push.rocks/smartfs": "^1.5.1",
"@push.rocks/smartjson": "^6.0.0", "@push.rocks/smartjson": "^6.0.1",
"@push.rocks/smartpath": "^6.0.0", "@push.rocks/smartpath": "^6.0.0",
"@push.rocks/smartpromise": "^4.2.3", "@push.rocks/smartpromise": "^4.2.3",
"@tsclass/tsclass": "^9.5.0" "@tsclass/tsclass": "^9.5.1"
}, },
"files": [ "files": [
"ts/**/*", "ts/**/*",
@@ -39,6 +39,7 @@
"assets/**/*", "assets/**/*",
"cli.js", "cli.js",
".smartconfig.json", ".smartconfig.json",
"license",
"readme.md" "readme.md"
], ],
"browserslist": [ "browserslist": [
@@ -63,7 +64,7 @@
"type": "git", "type": "git",
"url": "https://code.foss.global/push.rocks/levelcache.git" "url": "https://code.foss.global/push.rocks/levelcache.git"
}, },
"packageManager": "pnpm@10.14.0+sha512.ad27a79641b49c3e481a16a805baa71817a04bbe06a38d17e60e2eaee83f6a146c6a688125f5792e48dd5ba30e7da52a5cda4c3992b9ccf333f9ce223af84748", "packageManager": "pnpm@10.28.2",
"bugs": { "bugs": {
"url": "https://code.foss.global/push.rocks/levelcache/issues" "url": "https://code.foss.global/push.rocks/levelcache/issues"
} }
+663 -635
View File
File diff suppressed because it is too large Load Diff
+1 -1
View File
@@ -3,6 +3,6 @@
*/ */
export const commitinfo = { export const commitinfo = {
name: '@push.rocks/levelcache', name: '@push.rocks/levelcache',
version: '3.2.1', version: '3.2.2',
description: 'A versatile caching solution offering multi-level storage utilizing memory, disk, and Amazon S3 for efficient data management and backup.' description: 'A versatile caching solution offering multi-level storage utilizing memory, disk, and Amazon S3 for efficient data management and backup.'
} }
+1 -1
View File
@@ -104,7 +104,7 @@ export class LevelCache extends AbstractCache {
]); ]);
} }
public async deleteCacheEntryByKey(keyArg) { public async deleteCacheEntryByKey(keyArg: string): Promise<void> {
await Promise.all([ await Promise.all([
this.cacheMemoryManager.deleteCacheEntryByKey(keyArg), this.cacheMemoryManager.deleteCacheEntryByKey(keyArg),
this.cacheDiskManager.deleteCacheEntryByKey(keyArg), this.cacheDiskManager.deleteCacheEntryByKey(keyArg),
+2 -1
View File
@@ -3,9 +3,10 @@
"target": "ES2022", "target": "ES2022",
"module": "NodeNext", "module": "NodeNext",
"moduleResolution": "NodeNext", "moduleResolution": "NodeNext",
"strict": false,
"noImplicitAny": true,
"esModuleInterop": true, "esModuleInterop": true,
"verbatimModuleSyntax": true, "verbatimModuleSyntax": true,
"strict": false,
"types": ["node"] "types": ["node"]
}, },
"exclude": ["dist_*/**/*.d.ts"] "exclude": ["dist_*/**/*.d.ts"]