Skip to content

Commit

Permalink
chore: update zeed to version 0.27.1 and upgrade related dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
holtwick committed Jan 10, 2025
1 parent 71de70c commit d7de1ac
Show file tree
Hide file tree
Showing 30 changed files with 104 additions and 104 deletions.
2 changes: 1 addition & 1 deletion examples/basic-auth/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,6 @@
"@zerva/bin": "workspace:*",
"@zerva/core": "workspace:*",
"@zerva/http": "workspace:*",
"zeed": "^0.25.4"
"zeed": "^0.27.1"
}
}
2 changes: 1 addition & 1 deletion examples/bin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"start": "LEVEL=i ZEED=* zerva"
},
"dependencies": {
"zeed": "^0.25.4"
"zeed": "^0.27.1"
},
"devDependencies": {
"@zerva/bin": "workspace:*",
Expand Down
2 changes: 1 addition & 1 deletion examples/email/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@
"dependencies": {
"@zerva/core": "workspace:*",
"@zerva/email": "workspace:*",
"zeed": "^0.25.4"
"zeed": "^0.27.1"
}
}
2 changes: 1 addition & 1 deletion examples/minimal/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@
"dependencies": {
"@zerva/core": "workspace:*",
"@zerva/http": "workspace:*",
"zeed": "^0.25.4"
"zeed": "^0.27.1"
}
}
4 changes: 2 additions & 2 deletions examples/oauth2/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@
"start": "ZEED=* LEVEL=a zerva index.ts"
},
"dependencies": {
"@types/express-session": "^1.18.0",
"@types/express-session": "^1.18.1",
"@zerva/bin": "workspace:*",
"@zerva/core": "workspace:*",
"@zerva/http": "workspace:*",
"express-session": "^1.18.1",
"zeed": "^0.25.4"
"zeed": "^0.27.1"
}
}
2 changes: 1 addition & 1 deletion examples/openapi/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,6 @@
"@zerva/core": "workspace:*",
"@zerva/http": "workspace:*",
"@zerva/openapi": "workspace:*",
"zeed": "^0.25.4"
"zeed": "^0.27.1"
}
}
2 changes: 1 addition & 1 deletion examples/plausible/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,6 @@
"@zerva/core": "workspace:*",
"@zerva/http": "workspace:*",
"@zerva/plausible": "workspace:*",
"zeed": "^0.25.4"
"zeed": "^0.27.1"
}
}
10 changes: 5 additions & 5 deletions examples/rpc/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,16 @@
},
"dependencies": {
"@zerva/rpc": "workspace:*",
"vue": "^3.5.12",
"zeed": "^0.25.4"
"vue": "^3.5.13",
"zeed": "^0.27.1"
},
"devDependencies": {
"@vitejs/plugin-vue": "^5.1.4",
"@vue/compiler-sfc": "^3.5.12",
"@vitejs/plugin-vue": "^5.2.1",
"@vue/compiler-sfc": "^3.5.13",
"@zerva/bin": "workspace:*",
"@zerva/core": "workspace:*",
"@zerva/http": "workspace:*",
"@zerva/vite": "workspace:*",
"vite": "^5.4.10"
"vite": "^6.0.7"
}
}
2 changes: 1 addition & 1 deletion examples/sandbox/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,6 @@
"@zerva/bin": "workspace:*",
"@zerva/core": "workspace:*",
"@zerva/http": "workspace:*",
"zeed": "^0.25.4"
"zeed": "^0.27.1"
}
}
12 changes: 6 additions & 6 deletions examples/vite-pwa/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,17 +23,17 @@
"vite_serve": "vite preview"
},
"dependencies": {
"vue": "^3.5.12",
"zeed": "^0.25.4"
"vue": "^3.5.13",
"zeed": "^0.27.1"
},
"devDependencies": {
"@vitejs/plugin-vue": "^5.1.4",
"@vitejs/plugin-vue": "^5.2.1",
"@zerva/bin": "workspace:*",
"@zerva/core": "workspace:*",
"@zerva/http": "workspace:*",
"@zerva/vite": "workspace:*",
"typescript": "^5.6.3",
"vite": "^5.4.10",
"vite-plugin-pwa": "^0.20.5"
"typescript": "^5.7.3",
"vite": "^6.0.7",
"vite-plugin-pwa": "^0.21.1"
}
}
10 changes: 5 additions & 5 deletions examples/vite-serviceworker/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,16 @@
"vite_serve": "vite preview"
},
"dependencies": {
"vue": "^3.5.12",
"zeed": "^0.25.4"
"vue": "^3.5.13",
"zeed": "^0.27.1"
},
"devDependencies": {
"@vitejs/plugin-vue": "^5.1.4",
"@vitejs/plugin-vue": "^5.2.1",
"@zerva/bin": "workspace:*",
"@zerva/core": "workspace:*",
"@zerva/http": "workspace:*",
"@zerva/vite": "workspace:*",
"typescript": "^5.6.3",
"vite": "^5.4.10"
"typescript": "^5.7.3",
"vite": "^6.0.7"
}
}
10 changes: 5 additions & 5 deletions examples/vite/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,16 @@
"vite_serve": "vite preview"
},
"dependencies": {
"vue": "^3.5.12"
"vue": "^3.5.13"
},
"devDependencies": {
"@vitejs/plugin-vue": "^5.1.4",
"@vitejs/plugin-vue": "^5.2.1",
"@zerva/bin": "workspace:*",
"@zerva/core": "workspace:*",
"@zerva/http": "workspace:*",
"@zerva/vite": "workspace:*",
"typescript": "^5.6.3",
"vite": "^5.4.10",
"zeed": "^0.25.4"
"typescript": "^5.7.3",
"vite": "^6.0.7",
"zeed": "^0.27.1"
}
}
10 changes: 5 additions & 5 deletions examples/websocket/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,13 @@
"@zerva/http": "workspace:*",
"@zerva/vite": "workspace:*",
"@zerva/websocket": "workspace:*",
"vue": "^3.5.12",
"zeed": "^0.25.4"
"vue": "^3.5.13",
"zeed": "^0.27.1"
},
"devDependencies": {
"@vitejs/plugin-vue": "^5.1.4",
"@vue/compiler-sfc": "^3.5.12",
"@vitejs/plugin-vue": "^5.2.1",
"@vue/compiler-sfc": "^3.5.13",
"@zerva/bin": "workspace:*",
"vite": "^5.4.10"
"vite": "^6.0.7"
}
}
24 changes: 12 additions & 12 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,20 +24,20 @@
"update": "pnpm -r update -i --latest"
},
"devDependencies": {
"@antfu/eslint-config": "^3.8.0",
"@antfu/ni": "^0.23.0",
"@types/bun": "^1.1.12",
"@antfu/eslint-config": "^3.13.0",
"@antfu/ni": "^23.2.0",
"@types/bun": "^1.1.16",
"@types/jest": "^29.5.14",
"@types/node": "^22.8.5",
"bumpp": "^9.8.0",
"eslint": "^9.13.0",
"@types/node": "^22.10.5",
"bumpp": "^9.10.0",
"eslint": "^9.17.0",
"only-allow": "^1.2.1",
"sort-package-json": "^2.10.1",
"sort-package-json": "^2.12.0",
"tsup": "^8.3.5",
"typescript": "^5.6.3",
"vite": "^5.4.10",
"vitest": "^2.1.4",
"vue-tsc": "^2.1.10",
"zeed": "^0.25.7"
"typescript": "^5.7.3",
"vite": "^6.0.7",
"vitest": "^2.1.8",
"vue-tsc": "^2.2.0",
"zeed": "^0.27.1"
}
}
4 changes: 2 additions & 2 deletions zerva-basic-auth/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,10 @@
"dependencies": {
"@zerva/core": "workspace:*",
"@zerva/http": "workspace:*",
"zeed": "^0.25.4"
"zeed": "^0.27.1"
},
"devDependencies": {
"tsup": "^8.3.5",
"typescript": "^5.6.3"
"typescript": "^5.7.3"
}
}
6 changes: 3 additions & 3 deletions zerva-bin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,10 @@
"test": "echo todo"
},
"dependencies": {
"@types/node": "^22.8.1",
"@types/node": "^22.10.5",
"display-notification": "^3.0.0",
"esbuild": "^0.24.0",
"esbuild": "^0.24.2",
"esbuild-plugin-yaml": "^0.0.1",
"zeed": "^0.25.4"
"zeed": "^0.27.1"
}
}
8 changes: 4 additions & 4 deletions zerva-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,14 +50,14 @@
"watch": "tsup src/index.ts --watch"
},
"dependencies": {
"zeed": "^0.25.4"
"zeed": "^0.27.1"
},
"devDependencies": {
"@types/jest": "^29.5.14",
"@types/node": "^22.8.1",
"@types/node": "^22.10.5",
"@zerva/bin": "workspace:*",
"tsup": "^8.3.5",
"typescript": "^5.6.3",
"vitest": "^2.1.4"
"typescript": "^5.7.3",
"vitest": "^2.1.8"
}
}
6 changes: 3 additions & 3 deletions zerva-email/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,14 +50,14 @@
"watch": "tsup src/index.ts --watch"
},
"dependencies": {
"@types/nodemailer": "^6.4.16",
"@types/nodemailer": "^6.4.17",
"@zerva/core": "workspace:*",
"@zerva/http": "workspace:*",
"nodemailer": "^6.9.16",
"zeed": "^0.25.4"
"zeed": "^0.27.1"
},
"devDependencies": {
"@types/node": "^22.8.1",
"@types/node": "^22.10.5",
"tsup": "^8.3.5"
}
}
6 changes: 3 additions & 3 deletions zerva-http-log/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,11 @@
"@zerva/http": "workspace:*",
"morgan": "^1.10.0",
"rotating-file-stream": "^3.2.5",
"zeed": "^0.25.4"
"zeed": "^0.27.1"
},
"devDependencies": {
"tsup": "^8.3.5",
"typescript": "^5.6.3",
"vite": "^5.4.10"
"typescript": "^5.7.3",
"vite": "^6.0.7"
}
}
12 changes: 6 additions & 6 deletions zerva-http/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,11 @@
"watch": "tsup src/index.ts --watch"
},
"dependencies": {
"@types/bytes": "^3.1.4",
"@types/bytes": "^3.1.5",
"@types/compressible": "^2.0.2",
"@types/cors": "^2.8.17",
"@types/express": "^5.0.0",
"@types/express-serve-static-core": "^5.0.1",
"@types/express-serve-static-core": "^5.0.4",
"@types/negotiator": "^0.6.3",
"@types/on-headers": "^1.0.3",
"@types/vary": "^1.1.3",
Expand All @@ -64,16 +64,16 @@
"cors": "^2.8.5",
"express": "^5.0.1",
"helmet": "^8.0.0",
"mime": "^4.0.4",
"mime": "^4.0.6",
"negotiator": "^1.0.0",
"on-headers": "^1.0.2",
"vary": "^1.1.2",
"zeed": "^0.25.4"
"zeed": "^0.27.1"
},
"devDependencies": {
"@zerva/bin": "workspace:*",
"tsup": "^8.3.5",
"typescript": "^5.6.3",
"vitest": "^2.1.4"
"typescript": "^5.7.3",
"vitest": "^2.1.8"
}
}
4 changes: 2 additions & 2 deletions zerva-http/src/compression.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@
* MIT Licensed
*/

import type { IncomingMessage } from 'node:http'
import type { Readable } from 'node:stream'
import { Buffer } from 'node:buffer'
import zlib from 'node:zlib'
import bytes from 'bytes'
import compressible from 'compressible'
import onHeaders from 'on-headers'
import vary from 'vary'
import type { IncomingMessage } from 'node:http'
import type { Readable } from 'node:stream'
import accepts from './accepts'

const cacheControlNoTransformRegExp = /(?:^|,)\s*?no-transform\s*?(?:,|$)/
Expand Down
8 changes: 4 additions & 4 deletions zerva-http/src/http.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
/* eslint-disable no-console */

import type { HelmetOptions } from 'helmet'
import type { AddressInfo } from 'node:net'
import type { LogConfig } from 'zeed'
import type { Express, NextFunction, Request, Response, Server, zervaHttpGetHandler, zervaHttpHandlerModes, zervaHttpInterface, zervaHttpPaths, ZervaHttpRouteDescription } from './types'
import fs from 'node:fs'
import httpModule from 'node:http'
import httpsModule from 'node:https'
Expand All @@ -9,11 +13,7 @@ import corsDefault from 'cors'
import express from 'express'
import helmetDefault from 'helmet'
import { isLocalHost, isString, LoggerFromConfig, LogLevelInfo, promisify, valueToBoolean } from 'zeed'
import type { HelmetOptions } from 'helmet'
import type { AddressInfo } from 'node:net'
import type { LogConfig } from 'zeed'
import { compressionMiddleware } from './compression'
import type { Express, NextFunction, Request, Response, Server, zervaHttpGetHandler, zervaHttpHandlerModes, zervaHttpInterface, zervaHttpPaths, ZervaHttpRouteDescription } from './types'

export * from './status'
export * from './types'
Expand Down
6 changes: 3 additions & 3 deletions zerva-mqtt/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,11 @@
},
"dependencies": {
"@zerva/core": "workspace:*",
"mqtt": "^5.10.1",
"zeed": "^0.25.4"
"mqtt": "^5.10.3",
"zeed": "^0.27.1"
},
"devDependencies": {
"@types/node": "^22.8.1",
"@types/node": "^22.10.5",
"tsup": "^8.3.5"
}
}
2 changes: 1 addition & 1 deletion zerva-openapi/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
"dependencies": {
"@zerva/core": "workspace:*",
"@zerva/http": "workspace:*",
"zeed": "^0.25.4"
"zeed": "^0.27.1"
},
"devDependencies": {
"@zerva/bin": "workspace:*",
Expand Down
Loading

0 comments on commit d7de1ac

Please sign in to comment.