Skip to content

Commit

Permalink
major: upgrade to fastify v5
Browse files Browse the repository at this point in the history
  • Loading branch information
Eomm committed Jul 13, 2024
1 parent 1becd5a commit 6623357
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -105,3 +105,4 @@ dist
package-lock.json
.vscode/
.tap/
asd*
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
# fastify-user-agent
User-agent information plugin for Fastify.

[![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)
[![Build Status](https://github.com/Eomm/fastify-user-agent/workflows/ci/badge.svg)](https://github.com/Eomm/fastify-user-agent/actions)
[![ci](https://github.com/Eomm/fastify-user-agent/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/Eomm/fastify-user-agent/actions/workflows/ci.yml)
[![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)


## Install
Expand All @@ -15,6 +16,7 @@ npm install fastify-user-agent

| Plugin version | Fastify version |
| -------------- |:---------------:|
| `^2.0.0` | `^5.0.0` |
| `^1.0.0` | `^4.0.0` |


Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"scripts": {
"lint": "standard",
"lint:fix": "standard --fix",
"test": "tap test/**/*.test.js"
"test": "tap --show-full-coverage"
},
"repository": {
"type": "git",
Expand All @@ -25,12 +25,12 @@
},
"homepage": "https://github.com/Eomm/fastify-user-agent#readme",
"dependencies": {
"fastify-plugin": "^4.5.1",
"fastify-plugin": "^5.0.0-pre.fv5.1",
"useragent": "^2.3.0"
},
"devDependencies": {
"fastify": "^4.27.0",
"fastify": "^5.0.0-alpha.3",
"standard": "^17.1.0",
"tap": "^19.2.2"
"tap": "^21.0.0"
}
}

0 comments on commit 6623357

Please sign in to comment.