From 0a66a0d8090dff2dde244ff2aea0bd7985f801c8 Mon Sep 17 00:00:00 2001 From: fengmk2 Date: Wed, 8 May 2024 11:29:20 +0800 Subject: [PATCH] feat: use utility@2 (#94) ## Summary by CodeRabbit - **New Features** - Extended support for Node.js version 22 in testing workflows. - Updated the contributors list in the README and Chinese README with new profiles and links. - **Documentation** - Updated contributor profiles and reordered lists in both English and Chinese versions of README. - Adjusted project's last update timestamp in the Chinese README. - **Chores** - Updated dependency versions in `package.json` and modified test script flags. --- .github/workflows/nodejs.yml | 2 +- README.md | 8 ++++---- README.zh-CN.md | 8 ++++---- package.json | 10 +++++----- 4 files changed, 14 insertions(+), 14 deletions(-) diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index de2b11a..91904f0 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -13,4 +13,4 @@ jobs: uses: node-modules/github-actions/.github/workflows/node-test.yml@master with: os: 'ubuntu-latest, macos-latest' - version: '14, 16, 18, 20' + version: '14, 16, 18, 20, 22' diff --git a/README.md b/README.md index 834da4e..244a6ff 100644 --- a/README.md +++ b/README.md @@ -124,11 +124,11 @@ set environment NODE_CONSOLE_LOGGRE_LEVEL = 'INFO' | 'WARN' | 'ERROR' ## Contributors -|[
fengmk2](https://github.com/fengmk2)
|[
dead-horse](https://github.com/dead-horse)
|[
popomore](https://github.com/popomore)
|[
atian25](https://github.com/atian25)
|[
mansonchor](https://github.com/mansonchor)
|[
whxaxes](https://github.com/whxaxes)
| +|[
fengmk2](https://github.com/fengmk2)
|[
dead-horse](https://github.com/dead-horse)
|[
popomore](https://github.com/popomore)
|[
atian25](https://github.com/atian25)
|[
semantic-release-bot](https://github.com/semantic-release-bot)
|[
mansonchor](https://github.com/mansonchor)
| | :---: | :---: | :---: | :---: | :---: | :---: | -|[
Jeff-Tian](https://github.com/Jeff-Tian)
|[
andy-ms](https://github.com/andy-ms)
|[
luckydrq](https://github.com/luckydrq)
|[
XadillaX](https://github.com/XadillaX)
|[
linrf](https://github.com/linrf)
|[
duqingyu](https://github.com/duqingyu)
| -[
lix059](https://github.com/lix059)
|[
congyuandong](https://github.com/congyuandong)
|[
waitingsong](https://github.com/waitingsong)
+|[
whxaxes](https://github.com/whxaxes)
|[
Jeff-Tian](https://github.com/Jeff-Tian)
|[
waitingsong](https://github.com/waitingsong)
|[
sjfkai](https://github.com/sjfkai)
|[
congyuandong](https://github.com/congyuandong)
|[
lix059](https://github.com/lix059)
| +[
killagu](https://github.com/killagu)
|[
duqingyu](https://github.com/duqingyu)
|[
AmazingCaddy](https://github.com/AmazingCaddy)
|[
linrf](https://github.com/linrf)
|[
XadillaX](https://github.com/XadillaX)
|[
luckydrq](https://github.com/luckydrq)
-This project follows the git-contributor [spec](https://github.com/xudafeng/git-contributor), auto updated at `Sat Dec 10 2022 21:18:13 GMT+0800`. +This project follows the git-contributor [spec](https://github.com/xudafeng/git-contributor), auto updated at `Wed May 08 2024 09:39:22 GMT+0800`. diff --git a/README.zh-CN.md b/README.zh-CN.md index 3b0aaa8..886dfd3 100644 --- a/README.zh-CN.md +++ b/README.zh-CN.md @@ -122,11 +122,11 @@ logger.info('info'); ## Contributors -|[
fengmk2](https://github.com/fengmk2)
|[
dead-horse](https://github.com/dead-horse)
|[
popomore](https://github.com/popomore)
|[
atian25](https://github.com/atian25)
|[
mansonchor](https://github.com/mansonchor)
|[
whxaxes](https://github.com/whxaxes)
| +|[
fengmk2](https://github.com/fengmk2)
|[
dead-horse](https://github.com/dead-horse)
|[
popomore](https://github.com/popomore)
|[
atian25](https://github.com/atian25)
|[
semantic-release-bot](https://github.com/semantic-release-bot)
|[
mansonchor](https://github.com/mansonchor)
| | :---: | :---: | :---: | :---: | :---: | :---: | -|[
Jeff-Tian](https://github.com/Jeff-Tian)
|[
andy-ms](https://github.com/andy-ms)
|[
luckydrq](https://github.com/luckydrq)
|[
XadillaX](https://github.com/XadillaX)
|[
linrf](https://github.com/linrf)
|[
duqingyu](https://github.com/duqingyu)
| -[
lix059](https://github.com/lix059)
|[
congyuandong](https://github.com/congyuandong)
|[
waitingsong](https://github.com/waitingsong)
+|[
whxaxes](https://github.com/whxaxes)
|[
Jeff-Tian](https://github.com/Jeff-Tian)
|[
waitingsong](https://github.com/waitingsong)
|[
sjfkai](https://github.com/sjfkai)
|[
congyuandong](https://github.com/congyuandong)
|[
lix059](https://github.com/lix059)
| +[
killagu](https://github.com/killagu)
|[
duqingyu](https://github.com/duqingyu)
|[
AmazingCaddy](https://github.com/AmazingCaddy)
|[
linrf](https://github.com/linrf)
|[
XadillaX](https://github.com/XadillaX)
|[
luckydrq](https://github.com/luckydrq)
-This project follows the git-contributor [spec](https://github.com/xudafeng/git-contributor), auto updated at `Sat Dec 10 2022 21:18:13 GMT+0800`. +This project follows the git-contributor [spec](https://github.com/xudafeng/git-contributor), auto updated at `Wed May 08 2024 09:39:22 GMT+0800`. diff --git a/package.json b/package.json index f688366..f1abba5 100644 --- a/package.json +++ b/package.json @@ -15,14 +15,14 @@ "depd": "^2.0.0", "egg-errors": "^2.3.1", "iconv-lite": "^0.6.3", - "utility": "^1.17.0" + "utility": "^2.1.0" }, "devDependencies": { "@types/node": "^20.2.5", "beautify-benchmark": "^0.2.4", "benchmark": "^2.1.4", "coffee": "^5.5.0", - "egg-bin": "^5.5.0", + "egg-bin": "6", "eslint": "^8.29.0", "eslint-config-egg": "^12.1.0", "git-contributor": "^2.0.0", @@ -31,7 +31,7 @@ "supertest": "^6.3.3", "ts-node": "^10.9.1", "tsd": "^0.28.1", - "typescript": "^4.9.4" + "typescript": "5" }, "repository": { "type": "git", @@ -44,8 +44,8 @@ "tsd": "tsd", "lint": "eslint .", "test": "npm run lint -- --fix && npm run test-local", - "test-local": "egg-bin test --full-trace", - "cov": "egg-bin cov --full-trace", + "test-local": "egg-bin test --ts false", + "cov": "egg-bin cov --ts false", "ci": "npm run lint && npm run cov" }, "engines": {