Skip to content

Commit

Permalink
patch readme (#59)
Browse files Browse the repository at this point in the history
  • Loading branch information
denbon05 authored Nov 3, 2024
1 parent 53b0a5b commit 2656c15
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -127,5 +127,5 @@ while all other routes are ignored by the cache.

| Fastify | lcache |
| :-----: | :----: |
| 3-4.9 | 1-1.2 |
| ^4.10 | 2.x |
| 3-4.9 | 1-1.2 |
1 change: 0 additions & 1 deletion lib/models/LightCache.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ export class LightCache implements ILightCache {
this.storage.set(key, { payload });
};

// ? what about built key on hooks
has = (key: string): boolean => this.storage.has(key);

reset = (key?: string | string[]): void => {
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "fastify-lcache",
"version": "2.2.0",
"version": "2.2.1",
"description": "Light cache plugin for fastify",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down Expand Up @@ -51,4 +51,4 @@
"dependencies": {
"fastify-plugin": "^3.0.1"
}
}
}

0 comments on commit 2656c15

Please sign in to comment.