Skip to content

Commit e8ff0e6

Browse files
author
v1rtl
committed
chore: bump examples deps & fix inproper priority of template engine opts in @th/app
1 parent fa70c1e commit e8ff0e6

26 files changed

Lines changed: 1584 additions & 139 deletions

File tree

examples/ejs/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"type": "module",
55
"dependencies": {
66
"@tinyhttp/app": "workspace:*",
7-
"ejs": "^3.1.6"
7+
"ejs": "^3.1.8"
88
},
99
"scripts": {
1010
"start": "node index.js"

examples/eta/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@
33
"private": true,
44
"dependencies": {
55
"@tinyhttp/app": "workspace:*",
6-
"eta": "^1.12.3"
6+
"eta": "^2.0.1"
77
},
88
"scripts": {
9-
"start": "esmo index.ts"
9+
"start": "esno index.ts"
1010
},
1111
"devDependencies": {
12-
"esmo": "^0.12.1"
12+
"esno": "^0.16.3"
1313
}
1414
}

examples/file-upload/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"private": true,
44
"dependencies": {
55
"@tinyhttp/app": "workspace:*",
6-
"formidable": "3"
6+
"formidable": "^3.2.5"
77
},
88
"type": "module",
99
"scripts": {

examples/graphql/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"dependencies": {
66
"@tinyhttp/app": "workspace:*",
77
"express-graphql": "^0.12.0",
8-
"graphql": "^16.0.1"
8+
"graphql": "^16.6.0"
99
},
1010
"scripts": {
1111
"start": "node index.js"

examples/http2/index.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,5 @@ const options = {
1212
app.get('/', (req, res) => void res.send(`Hello from HTTP ${req.httpVersion} server!`))
1313

1414
createSecureServer(options, (req, res) => {
15-
// @ts-ignore
1615
app.attach(req, res)
1716
}).listen(3000)

examples/hyperapp-ssr/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
"type": "module",
55
"dependencies": {
66
"@tinyhttp/app": "workspace:*",
7-
"hyperapp": "^2.0.19",
8-
"hyperapp-render": "^4.0.0"
7+
"hyperapp": "^2.0.22",
8+
"hyperapp-render": "^4.0.1"
99
},
1010
"scripts": {
1111
"start": "node index.js"

examples/jwt/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
"private": true,
44
"dependencies": {
55
"@tinyhttp/app": "workspace:*",
6-
"@tinyhttp/jwt": "*",
7-
"@types/jsonwebtoken": "^8.5.6",
8-
"jsonwebtoken": "^8.5.1",
9-
"milliparsec": "^2.2.0"
6+
"@tinyhttp/jwt": "^1.3.1",
7+
"@types/jsonwebtoken": "^9.0.1",
8+
"jsonwebtoken": "^9.0.0",
9+
"milliparsec": "^2.2.2"
1010
},
1111
"type": "module",
1212
"scripts": {

examples/lowdb/index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import { App } from '@tinyhttp/app'
22
import { urlencoded } from 'milliparsec'
3-
import { Low, JSONFile } from 'lowdb'
3+
import { Low } from 'lowdb'
4+
import { JSONFile } from 'lowdb/node'
45

56
const app = new App()
67
const adapter = new JSONFile('db.json')

examples/lowdb/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
"type": "module",
44
"dependencies": {
55
"@tinyhttp/app": "workspace:*",
6-
"lowdb": "^3.0.0",
7-
"milliparsec": "^2.2.0"
6+
"lowdb": "^5.1.0",
7+
"milliparsec": "^2.2.2"
88
},
99
"scripts": {
1010
"start": "node index.js"

examples/neo4j/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
},
77
"dependencies": {
88
"@tinyhttp/app": "workspace:*",
9-
"neo4j-driver": "^4.4.1"
9+
"neo4j-driver": "^5.6.0"
1010
},
1111
"type": "module"
1212
}

0 commit comments

Comments
 (0)