Skip to content

Commit

Permalink
chore(): update common deps
Browse files Browse the repository at this point in the history
  • Loading branch information
chyzwar committed Jan 12, 2024
1 parent b304cbf commit 0c6eb1f
Show file tree
Hide file tree
Showing 27 changed files with 1,587 additions and 1,573 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,10 @@ jobs:
- uses: actions/checkout@v2

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'yarn'

- name: Install
run: yarn install
Expand Down
1 change: 1 addition & 0 deletions .node-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
20.10.0
670 changes: 335 additions & 335 deletions .yarn/releases/yarn-4.0.1.cjs → .yarn/releases/yarn-4.0.2.cjs

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
compressionLevel: mixed
compressionLevel: 2
enableGlobalCache: true

nodeLinker: node-modules

yarnPath: .yarn/releases/yarn-4.0.1.cjs
yarnPath: .yarn/releases/yarn-4.0.2.cjs
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,13 @@
"prepare": "husky install"
},
"devDependencies": {
"@commitlint/cli": "^18.2.0",
"@commitlint/config-conventional": "^18.1.0",
"eslint": "^8.53.0",
"@commitlint/cli": "^18.4.4",
"@commitlint/config-conventional": "^18.4.4",
"eslint": "^8.56.0",
"husky": "^8.0.3",
"jest": "^29.7.0",
"lint-staged": "^15.0.2",
"typescript": "^5.2.2"
"lint-staged": "^15.2.0",
"typescript": "^5.3.3"
},
"packageManager": "yarn@4.0.1"
"packageManager": "yarn@4.0.2"
}
4 changes: 2 additions & 2 deletions packages/event-emitter/benchmarks/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"eventemitter3": "^5.0.1"
},
"devDependencies": {
"@chyzwar/eslint-config": "^0.2.14",
"eslint": "^8.53.0"
"@chyzwar/eslint-config": "^0.2.15",
"eslint": "^8.56.0"
}
}
10 changes: 5 additions & 5 deletions packages/event-emitter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@
"author": "chyzwar",
"license": "UNLICENSED",
"devDependencies": {
"@chyzwar/eslint-config": "^0.2.14",
"@chyzwar/tsconfig": "^0.2.14",
"@swc/core": "^1.3.96",
"@chyzwar/eslint-config": "^0.2.15",
"@chyzwar/tsconfig": "^0.2.15",
"@swc/core": "^1.3.102",
"@swc/jest": "^0.2.29",
"eslint": "^8.53.0",
"eslint": "^8.56.0",
"jest": "^29.7.0",
"typescript": "^5.2.2"
"typescript": "^5.3.3"
},
"files": [
"src/",
Expand Down
8 changes: 4 additions & 4 deletions packages/generic-types/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@
"author": "chyzwar",
"license": "UNLICENSED",
"devDependencies": {
"@chyzwar/eslint-config": "^0.2.14",
"@chyzwar/tsconfig": "^0.2.14",
"eslint": "^8.53.0",
"@chyzwar/eslint-config": "^0.2.15",
"@chyzwar/tsconfig": "^0.2.15",
"eslint": "^8.56.0",
"jest": "^29.7.0",
"typescript": "^5.2.2"
"typescript": "^5.3.3"
},
"files": [
"src/",
Expand Down
12 changes: 6 additions & 6 deletions packages/http-client/examples/browser/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@
"@hyper/http-client": "0.x.x"
},
"devDependencies": {
"@chyzwar/eslint-config": "^0.2.14",
"@chyzwar/tsconfig": "^0.2.14",
"@types/node": "^18.18.8",
"eslint": "^8.53.0",
"ts-node": "^10.9.1",
"typescript": "^5.2.2"
"@chyzwar/eslint-config": "^0.2.15",
"@chyzwar/tsconfig": "^0.2.15",
"@types/node": "^20.11.0",
"eslint": "^8.56.0",
"ts-node": "^10.9.2",
"typescript": "^5.3.3"
}
}
12 changes: 6 additions & 6 deletions packages/http-client/examples/node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@
"@hyper/utils": "0.x.x"
},
"devDependencies": {
"@chyzwar/eslint-config": "^0.2.14",
"@chyzwar/tsconfig": "^0.2.14",
"@types/node": "^18.18.8",
"eslint": "^8.53.0",
"ts-node": "^10.9.1",
"typescript": "^5.2.2"
"@chyzwar/eslint-config": "^0.2.15",
"@chyzwar/tsconfig": "^0.2.15",
"@types/node": "^20.11.0",
"eslint": "^8.56.0",
"ts-node": "^10.9.2",
"typescript": "^5.3.3"
}
}
10 changes: 5 additions & 5 deletions packages/http-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,13 @@
"@hyper/utils": "0.x.x"
},
"devDependencies": {
"@chyzwar/eslint-config": "^0.2.14",
"@chyzwar/tsconfig": "^0.2.14",
"@types/node": "^18.18.8",
"eslint": "^8.53.0",
"@chyzwar/eslint-config": "^0.2.15",
"@chyzwar/tsconfig": "^0.2.15",
"@types/node": "^20.11.0",
"eslint": "^8.56.0",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"typescript": "^5.2.2"
"typescript": "^5.3.3"
},
"files": [
"src/",
Expand Down
2 changes: 1 addition & 1 deletion packages/http-server/benchmarks/body-parser/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@
"@hyper/http-server": "0.x.x",
"body-parser": "^1.20.2",
"express": "^4.18.2",
"fastify": "^4.24.3"
"fastify": "^4.25.2"
}
}
4 changes: 2 additions & 2 deletions packages/http-server/benchmarks/hello-world/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
"dependencies": {
"@hyper/http-server": "0.x.x",
"@hyper/logger": "0.x.x",
"autocannon": "^7.12.0",
"autocannon": "^7.14.0",
"express": "^4.18.2",
"fastify": "^4.24.3"
"fastify": "^4.25.2"
}
}
8 changes: 4 additions & 4 deletions packages/http-server/examples/body-parser/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@
"dependencies": {
"@hyper/http-server": "0.x.x",
"@hyper/logger": "0.x.x",
"@types/node": "^18.18.8"
"@types/node": "^20.11.0"
},
"devDependencies": {
"@chyzwar/tsconfig": "^0.2.14",
"ts-node": "^10.9.1",
"typescript": "^5.2.2"
"@chyzwar/tsconfig": "^0.2.15",
"ts-node": "^10.9.2",
"typescript": "^5.3.3"
}
}
10 changes: 5 additions & 5 deletions packages/http-server/examples/hello-world/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@
"dependencies": {
"@hyper/http-server": "0.x.x",
"@hyper/logger": "0.x.x",
"@types/node": "^18.18.8"
"@types/node": "^20.11.0"
},
"devDependencies": {
"@chyzwar/eslint-config": "^0.2.14",
"eslint": "^8.53.0",
"ts-node": "^10.9.1",
"typescript": "^5.2.2"
"@chyzwar/eslint-config": "^0.2.15",
"eslint": "^8.56.0",
"ts-node": "^10.9.2",
"typescript": "^5.3.3"
}
}
10 changes: 5 additions & 5 deletions packages/http-server/examples/middleware/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@
"license": "MIT",
"dependencies": {
"@hyper/http-server": "0.x.x",
"@types/node": "^18.18.8"
"@types/node": "^20.11.0"
},
"devDependencies": {
"@chyzwar/eslint-config": "^0.2.14",
"eslint": "^8.55.0",
"ts-node": "^10.9.1",
"typescript": "^5.2.2"
"@chyzwar/eslint-config": "^0.2.15",
"eslint": "^8.56.0",
"ts-node": "^10.9.2",
"typescript": "^5.3.3"
}
}
10 changes: 5 additions & 5 deletions packages/http-server/examples/request-logging/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@
"dependencies": {
"@hyper/http-server": "0.x.x",
"@hyper/logger": "0.x.x",
"@types/node": "^18.18.8"
"@types/node": "^20.11.0"
},
"devDependencies": {
"@chyzwar/eslint-config": "^0.2.14",
"eslint": "^8.53.0",
"ts-node": "^10.9.1",
"typescript": "^5.2.2"
"@chyzwar/eslint-config": "^0.2.15",
"eslint": "^8.56.0",
"ts-node": "^10.9.2",
"typescript": "^5.3.3"
}
}
12 changes: 6 additions & 6 deletions packages/http-server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,16 +30,16 @@
"@hyper/logger": "0.x.x",
"@hyper/utility-types": "0.x.x",
"@hyper/utils": "0.x.x",
"@types/node": "^18.18.8"
"@types/node": "^20.11.0"
},
"devDependencies": {
"@chyzwar/eslint-config": "^0.2.14",
"@chyzwar/tsconfig": "^0.2.14",
"@swc/core": "^1.3.96",
"@chyzwar/eslint-config": "^0.2.15",
"@chyzwar/tsconfig": "^0.2.15",
"@swc/core": "^1.3.102",
"@swc/jest": "^0.2.29",
"eslint": "^8.53.0",
"eslint": "^8.56.0",
"jest": "^29.7.0",
"typescript": "^5.2.2"
"typescript": "^5.3.3"
},
"files": [
"src/",
Expand Down
2 changes: 1 addition & 1 deletion packages/http-server/src/Router.ts
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@ class Router implements Handler {
* Select handle for Router
*/
private selectHandle(): void {
const path = this.path;
const {path} = this;

if (path instanceof PathString) {
this.handler = this.handlePathString;
Expand Down
7 changes: 3 additions & 4 deletions packages/http-server/src/path/PathParams.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ class PathParams implements Path {
let match: Match = false;

if (parts.length === urls.length) {
const length = urls.length;
const {length} = urls;
for (let i = 0; i < length; i++) {
if (params[i]) {
if (match) {
Expand Down Expand Up @@ -97,9 +97,8 @@ class PathParams implements Path {

const urls = url.split(Chars.Slash);
let match: Match = false;

if (urls.length >= parts.length) {
const length = parts.length;
const {length} = parts;
if (urls.length >= length) {
for (let i = 0; i < length; i++) {
if (params[i]) {
if (match) {
Expand Down
10 changes: 5 additions & 5 deletions packages/http/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,13 @@
"@hyper/utility-types": "0.x.x"
},
"devDependencies": {
"@chyzwar/eslint-config": "^0.2.14",
"@chyzwar/tsconfig": "^0.2.14",
"@swc/core": "^1.3.96",
"@chyzwar/eslint-config": "^0.2.15",
"@chyzwar/tsconfig": "^0.2.15",
"@swc/core": "^1.3.102",
"@swc/jest": "^0.2.29",
"eslint": "^8.53.0",
"eslint": "^8.56.0",
"jest": "^29.7.0",
"typescript": "^5.2.2"
"typescript": "^5.3.3"
},
"files": [
"src/",
Expand Down
1 change: 1 addition & 0 deletions packages/http/src/getContentType.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* eslint-disable @typescript-eslint/no-unsafe-enum-comparison */
import Charset from "./Charset.js";
import ContentType from "./ContentType.js";
import ContentTypes from "./ContentType.js";
Expand Down
8 changes: 4 additions & 4 deletions packages/logger/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,12 @@
"@hyper/utility-types": "0.x.x"
},
"devDependencies": {
"@chyzwar/eslint-config": "^0.2.14",
"@chyzwar/tsconfig": "^0.2.14",
"@chyzwar/eslint-config": "^0.2.15",
"@chyzwar/tsconfig": "^0.2.15",
"@jest/globals": "^29.7.0",
"eslint": "^8.53.0",
"eslint": "^8.56.0",
"jest": "^29.7.0",
"typescript": "^5.2.2"
"typescript": "^5.3.3"
},
"files": [
"src/",
Expand Down
8 changes: 4 additions & 4 deletions packages/utility-types/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@
"author": "chyzwar",
"license": "UNLICENSED",
"devDependencies": {
"@chyzwar/eslint-config": "^0.2.14",
"@chyzwar/tsconfig": "^0.2.14",
"eslint": "^8.53.0",
"@chyzwar/eslint-config": "^0.2.15",
"@chyzwar/tsconfig": "^0.2.15",
"eslint": "^8.56.0",
"jest": "^29.7.0",
"typescript": "^5.2.2"
"typescript": "^5.3.3"
},
"files": [
"src/",
Expand Down
4 changes: 2 additions & 2 deletions packages/utils/benchmark/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@
"bytes": "^3.1.2"
},
"devDependencies": {
"@chyzwar/eslint-config": "^0.2.14",
"@chyzwar/eslint-config": "^0.2.15",
"@types/benchmark": "^2.1.5",
"benchmark": "^2.1.4",
"eslint": "^8.53.0"
"eslint": "^8.56.0"
}
}
10 changes: 5 additions & 5 deletions packages/utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@
"@hyper/generic-types": "0.x.x"
},
"devDependencies": {
"@chyzwar/eslint-config": "^0.2.14",
"@chyzwar/tsconfig": "^0.2.14",
"@types/node": "^18.18.8",
"eslint": "^8.53.0",
"@chyzwar/eslint-config": "^0.2.15",
"@chyzwar/tsconfig": "^0.2.15",
"@types/node": "^20.11.0",
"eslint": "^8.56.0",
"jest": "^29.7.0",
"typescript": "^5.2.2"
"typescript": "^5.3.3"
},
"files": [
"src/",
Expand Down
Loading

0 comments on commit 0c6eb1f

Please sign in to comment.