From 495625d5e70b25a77b6951d8a67ea5c97a953c08 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=BCrg=C3=BCn=20Day=C4=B1o=C4=9Flu?= Date: Wed, 7 Feb 2024 21:41:09 +0100 Subject: [PATCH] update for Fastify v5 (#276) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * update for v5 * Update .github/workflows/ci.yml Co-authored-by: Frazer Smith Signed-off-by: Gürgün Dayıoğlu * Revert "Update .github/workflows/ci.yml" This reverts commit b7a38002570369af3ff015502ebe7bd45765902e. * use replaceAll * Revert "use replaceAll" This reverts commit c691788f62b04f505870f3565e08271f519b94fb. --------- Signed-off-by: Gürgün Dayıoğlu Co-authored-by: Frazer Smith --- .github/workflows/ci.yml | 2 +- .gitignore | 3 +++ package.json | 18 +++++++++--------- 3 files changed, 13 insertions(+), 10 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7b00276..ad3ab6b 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.0.0 with: license-check: true lint: true diff --git a/.gitignore b/.gitignore index ddf91b2..2a0e36d 100644 --- a/.gitignore +++ b/.gitignore @@ -23,6 +23,9 @@ lib-cov coverage *.lcov +# tap test output +.tap + # nyc test coverage .nyc_output diff --git a/package.json b/package.json index d931100..3caffce 100644 --- a/package.json +++ b/package.json @@ -40,19 +40,19 @@ }, "homepage": "https://github.com/fastify/fastify-cookie#readme", "devDependencies": { - "@fastify/pre-commit": "^2.0.2", - "@types/node": "^20.1.0", + "@fastify/pre-commit": "^2.1.0", + "@types/node": "^20.11.6", "benchmark": "^2.1.4", - "fastify": "^4.0.0", - "sinon": "^17.0.0", + "fastify": "^4.25.2", + "sinon": "^17.0.1", "snazzy": "^9.0.0", - "standard": "^17.0.0", - "tap": "^16.0.0", - "tsd": "^0.30.0" + "standard": "^17.1.0", + "tap": "^18.6.1", + "tsd": "^0.30.4" }, "dependencies": { - "fastify-plugin": "^4.0.0", - "cookie-signature": "^1.1.0" + "fastify-plugin": "^4.5.1", + "cookie-signature": "^1.2.1" }, "tsd": { "directory": "test"