diff --git a/index.js b/index.js index 9f0090d..29d8727 100644 --- a/index.js +++ b/index.js @@ -234,7 +234,7 @@ var isSetDefault = function(v, d) { }; exports = module.exports = fastifyPlugin(session, { - fastify: '^2.0.0', + fastify: '^3.0.0', name: 'fastify-good-session', dependencies: [ 'fastify-cookie' diff --git a/package-lock.json b/package-lock.json index 2ebbe6b..36a441a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -38,12 +38,9 @@ "dev": true }, "fastify-plugin": { - "version": "1.6.0", - "resolved": "https://registry.npmjs.org/fastify-plugin/-/fastify-plugin-1.6.0.tgz", - "integrity": "sha512-lFa9txg8LZx4tljj33oG53nUXhVg0baZxtP9Pxi0dJmI0NQxzkDk5DS9kr3D7iMalUAp3mvIq16OQumc7eIvLA==", - "requires": { - "semver": "^6.0.0" - } + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/fastify-plugin/-/fastify-plugin-3.0.0.tgz", + "integrity": "sha512-ZdCvKEEd92DNLps5n0v231Bha8bkz1DjnPP/aEz37rz/q42Z5JVLmgnqR4DYuNn3NXAO3IDCPyRvgvxtJ4Ym4w==" }, "handlebars": { "version": "4.5.3", @@ -106,7 +103,8 @@ "semver": { "version": "6.3.0", "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", - "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==" + "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", + "dev": true }, "source-map": { "version": "0.6.1", diff --git a/package.json b/package.json index df9bef1..8941c1c 100644 --- a/package.json +++ b/package.json @@ -28,7 +28,7 @@ "homepage": "https://github.com/Phara0h/fastify-good-sessions#readme", "dependencies": { "cookie-signature": "^1.1.0", - "fastify-plugin": "^1.6.0" + "fastify-plugin": "^3.0.0" }, "devDependencies": { "auto-changelog": "^1.16.1"