Compare commits
2 Commits
@egg/net-t
...
@egg/net-t
Author | SHA1 | Date | |
---|---|---|---|
8e1fc7fab5 | |||
7ce872237a |
39
package-lock.json
generated
39
package-lock.json
generated
@ -23,7 +23,7 @@
|
||||
"@eslint/js": "9.9.0",
|
||||
"@lerna/conventional-commits": "6.4.1",
|
||||
"@types/lodash": "^4.17.10",
|
||||
"@types/node": "22.4.0",
|
||||
"bun-types": "^1.2.4",
|
||||
"eslint": "9.9.0",
|
||||
"eslint-plugin-simple-import-sort": "12.1.1",
|
||||
"globals": "15.9.0",
|
||||
@ -2388,13 +2388,13 @@
|
||||
"license": "MIT"
|
||||
},
|
||||
"node_modules/@types/node": {
|
||||
"version": "22.4.0",
|
||||
"resolved": "https://registry.npmjs.org/@types/node/-/node-22.4.0.tgz",
|
||||
"integrity": "sha512-49AbMDwYUz7EXxKU/r7mXOsxwFr4BYbvB7tWYxVuLdb2ibd30ijjXINSMAHiEEZk5PCRBmW1gUeisn2VMKt3cQ==",
|
||||
"version": "22.13.9",
|
||||
"resolved": "https://registry.npmjs.org/@types/node/-/node-22.13.9.tgz",
|
||||
"integrity": "sha512-acBjXdRJ3A6Pb3tqnw9HZmyR3Fiol3aGxRCK1x3d+6CDAMjl7I649wpSd+yNURCjbOUGu9tqtLKnTGxmK6CyGw==",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"undici-types": "~6.19.2"
|
||||
"undici-types": "~6.20.0"
|
||||
}
|
||||
},
|
||||
"node_modules/@types/normalize-package-data": {
|
||||
@ -2410,6 +2410,16 @@
|
||||
"integrity": "sha512-6WaYesThRMCl19iryMYP7/x2OVgCtbIVflDGFpWnb9irXI3UjYE4AzmYuiUKY1AJstGijoY+MgUszMgRxIYTYw==",
|
||||
"license": "MIT"
|
||||
},
|
||||
"node_modules/@types/ws": {
|
||||
"version": "8.5.14",
|
||||
"resolved": "https://registry.npmjs.org/@types/ws/-/ws-8.5.14.tgz",
|
||||
"integrity": "sha512-bd/YFLW+URhBzMXurx7lWByOu+xzU9+kb3RboOteXYDfW+tr+JZa99OyNmPINEGB/ahzKrEuc8rcv4gnpJmxTw==",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@types/node": "*"
|
||||
}
|
||||
},
|
||||
"node_modules/@typescript-eslint/eslint-plugin": {
|
||||
"version": "8.1.0",
|
||||
"resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.1.0.tgz",
|
||||
@ -3064,6 +3074,17 @@
|
||||
"dev": true,
|
||||
"license": "MIT"
|
||||
},
|
||||
"node_modules/bun-types": {
|
||||
"version": "1.2.4",
|
||||
"resolved": "https://registry.npmjs.org/bun-types/-/bun-types-1.2.4.tgz",
|
||||
"integrity": "sha512-nDPymR207ZZEoWD4AavvEaa/KZe/qlrbMSchqpQwovPZCKc7pwMoENjEtHgMKaAjJhy+x6vfqSBA1QU3bJgs0Q==",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@types/node": "*",
|
||||
"@types/ws": "~8.5.10"
|
||||
}
|
||||
},
|
||||
"node_modules/byte-size": {
|
||||
"version": "8.1.1",
|
||||
"resolved": "https://registry.npmjs.org/byte-size/-/byte-size-8.1.1.tgz",
|
||||
@ -11784,9 +11805,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/undici-types": {
|
||||
"version": "6.19.8",
|
||||
"resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.19.8.tgz",
|
||||
"integrity": "sha512-ve2KP6f/JnbPBFyobGHuerC9g1FYGn/F8n1LWTwNxCEzd6IfqTwUQcNXgEtmmQ6DlRrC1hrSrBnCZPokRrDHjw==",
|
||||
"version": "6.20.0",
|
||||
"resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.20.0.tgz",
|
||||
"integrity": "sha512-Ny6QZ2Nju20vw1SRHe3d9jVu6gJ+4e3+MMpqu7pqE5HT6WsTSlce++GQmK5UXS8mzV8DSYHrQH+Xrf2jVcuKNg==",
|
||||
"dev": true,
|
||||
"license": "MIT"
|
||||
},
|
||||
@ -12394,7 +12415,7 @@
|
||||
},
|
||||
"packages/net-tool": {
|
||||
"name": "@egg/net-tool",
|
||||
"version": "1.31.2",
|
||||
"version": "1.32.0",
|
||||
"license": "ISC",
|
||||
"dependencies": {
|
||||
"@egg/logger": "^1.6.0",
|
||||
|
@ -27,7 +27,7 @@
|
||||
"@eslint/js": "9.9.0",
|
||||
"@lerna/conventional-commits": "6.4.1",
|
||||
"@types/lodash": "^4.17.10",
|
||||
"@types/node": "22.4.0",
|
||||
"bun-types": "^1.2.4",
|
||||
"eslint": "9.9.0",
|
||||
"eslint-plugin-simple-import-sort": "12.1.1",
|
||||
"globals": "15.9.0",
|
||||
|
@ -3,6 +3,12 @@
|
||||
All notable changes to this project will be documented in this file.
|
||||
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
||||
|
||||
# [1.32.0](http://yingbo.im:3000/zhaoyingbo/egg_tools/compare/@egg/net-tool@1.31.2...@egg/net-tool@1.32.0) (2025-03-17)
|
||||
|
||||
### Features
|
||||
|
||||
- **net-tool:** 引入 bun-types,更新类型定义和依赖 ([7ce8722](http://yingbo.im:3000/zhaoyingbo/egg_tools/commits/7ce872237a2f89f2fddccfd5d08b84a1851ec338))
|
||||
|
||||
## [1.31.2](http://yingbo.im:3000/zhaoyingbo/egg_tools/compare/@egg/net-tool@1.31.1...@egg/net-tool@1.31.2) (2025-02-06)
|
||||
|
||||
### Bug Fixes
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@egg/net-tool",
|
||||
"version": "1.31.2",
|
||||
"version": "1.32.0",
|
||||
"description": "Net Tools for Egg projects",
|
||||
"type": "module",
|
||||
"main": "src/index.ts",
|
||||
|
@ -1,4 +1,5 @@
|
||||
import logger from "@egg/logger"
|
||||
import { Response } from "bun-types/fetch"
|
||||
import { Logger } from "winston"
|
||||
|
||||
import { NetErrorDetail, NetRequestParams } from "../types"
|
||||
|
@ -1,3 +1,5 @@
|
||||
import { Response } from "bun-types/fetch"
|
||||
|
||||
import { NetRequestParams } from "../types"
|
||||
import NetToolBase from "./base"
|
||||
|
||||
|
@ -18,7 +18,10 @@
|
||||
"declaration": true,
|
||||
"sourceMap": true,
|
||||
"rootDir": "./packages",
|
||||
"outDir": "./dist"
|
||||
"outDir": "./dist",
|
||||
"types": [
|
||||
"bun-types" // add Bun global
|
||||
]
|
||||
},
|
||||
"include": ["./packages/**/*"],
|
||||
"exclude": ["node_modules", "**/*.test.ts"]
|
||||
|
Loading…
x
Reference in New Issue
Block a user