From 01266faae80c7e7dbae5976d5cf3ae671c974cb0 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 1 Apr 2024 04:16:42 +0000 Subject: [PATCH 1/4] build(deps-dev): bump tsd from 0.30.7 to 0.31.0 (#141) Bumps [tsd](https://github.com/tsdjs/tsd) from 0.30.7 to 0.31.0. - [Release notes](https://github.com/tsdjs/tsd/releases) - [Commits](https://github.com/tsdjs/tsd/compare/v0.30.7...v0.31.0) --- updated-dependencies: - dependency-name: tsd dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 1e40739..b06d5e3 100644 --- a/package.json +++ b/package.json @@ -40,7 +40,7 @@ "snazzy": "^9.0.0", "standard": "^17.1.0", "tap": "^16.3.8", - "tsd": "^0.30.0" + "tsd": "^0.31.0" }, "dependencies": { "abstract-cache": "^1.0.1", From 918a06d047f0812eca816c7e7995c2a73fb16a5c Mon Sep 17 00:00:00 2001 From: rgehbt <74761884+Gehbt@users.noreply.github.com> Date: Mon, 1 Jul 2024 18:47:16 +0800 Subject: [PATCH 2/4] fix(types): option privacy in Nodenext | Node16 (#137) --- types/index.d.ts | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/types/index.d.ts b/types/index.d.ts index 5e04d88..4322933 100644 --- a/types/index.d.ts +++ b/types/index.d.ts @@ -52,7 +52,7 @@ declare namespace fastifyCaching { ): void; /** * If AbstractCache is using useAwait = true, then this method-header must be used. - * @param key + * @param key */ get( key: string | { id: string; segment: string }, @@ -130,9 +130,8 @@ declare namespace fastifyCaching { serverExpiresIn?: number; } - export const privacy: { - privacy: Privacy; - }; + export const privacy: Privacy; + export const fastifyCaching: FastifyCaching; export { fastifyCaching as default }; } From 92f9c6300460b4f7c753db5e1d90a55ed2d0f6d2 Mon Sep 17 00:00:00 2001 From: Matteo Collina Date: Wed, 3 Jul 2024 16:33:11 +0200 Subject: [PATCH 3/4] Bumped v8.4.0 Signed-off-by: Matteo Collina --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index b06d5e3..771efe7 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@fastify/caching", - "version": "8.3.0", + "version": "8.4.0", "description": "A plugin for Fastify to enable management of cache control headers", "main": "index.js", "type": "commonjs", From ac03489a33a470ecb302bc1a8ee1cb598450c3de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=BCrg=C3=BCn=20Day=C4=B1o=C4=9Flu?= Date: Tue, 26 Mar 2024 08:00:48 +0100 Subject: [PATCH 4/4] prepare CI (#138) --- .github/workflows/ci.yml | 2 +- package.json | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7b00276..5395d92 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,7 +17,7 @@ on: jobs: test: - uses: fastify/workflows/.github/workflows/plugins-ci.yml@v3 + uses: fastify/workflows/.github/workflows/plugins-ci.yml@v4.1.0 with: license-check: true lint: true diff --git a/package.json b/package.json index 771efe7..f863efd 100644 --- a/package.json +++ b/package.json @@ -34,12 +34,12 @@ }, "homepage": "https://github.com/fastify/fastify-caching#readme", "devDependencies": { - "@fastify/pre-commit": "^2.0.2", - "@types/node": "^20.6.1", - "fastify": "^4.23.2", + "@fastify/pre-commit": "^2.1.0", + "@types/node": "^20.11.25", + "fastify": "^4.26.2", "snazzy": "^9.0.0", "standard": "^17.1.0", - "tap": "^16.3.8", + "tap": "^18.7.0", "tsd": "^0.31.0" }, "dependencies": {