Skip to content

Commit 93d6742

Browse files
committed
deps: renew all
1 parent e107c32 commit 93d6742

File tree

7 files changed

+602
-555
lines changed

7 files changed

+602
-555
lines changed

.github/workflows/validate-oldnode.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
run: yarn install && yarn add -D tsx
2626

2727
- name: ✅ Run tests
28-
run: node --import=tsx/esm --test __tests__/**/*.test.ts
28+
run: node --import=tsx/esm --test './__tests__/**/*.test.ts'
2929

3030
- name: 🏗 Run build
3131
run: yarn build

.github/workflows/validate.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ permissions: { contents: read, packages: read }
44

55
jobs:
66
testAndBuild:
7-
runs-on: ubuntu-latest
7+
runs-on: ubuntu-24.04
88
timeout-minutes: 2
99
strategy:
1010
fail-fast: false
@@ -24,7 +24,7 @@ jobs:
2424
run: yarn install
2525

2626
- name: ✅ Run tests
27-
run: yarn test >> $GITHUB_STEP_SUMMARY
27+
run: yarn tess
2828

2929
- name: 🏗 Run build
3030
run: yarn build

.yarn/releases/yarn-4.6.0.cjs renamed to .yarn/releases/yarn-4.8.1.cjs

Lines changed: 346 additions & 345 deletions
Large diffs are not rendered by default.

.yarnrc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ npmScopes:
1010
firstassethr:
1111
npmRegistryServer: "https://npm.pkg.github.com/"
1212

13-
yarnPath: .yarn/releases/yarn-4.6.0.cjs
13+
yarnPath: .yarn/releases/yarn-4.8.1.cjs

bench/mj.js

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
import { createServer } from "node:http";
2+
import { createRequestListener } from "@mjackson/node-fetch-server";
3+
import { createListener } from "../dist/main.js";
4+
5+
createServer(createRequestListener(genResponse)).listen(4501);
6+
createServer(createListener(genResponse)).listen(4502);
7+
8+
function genResponse() {
9+
return new Response("hello", { headers: { "Content-Type": "text/html" } });
10+
}

package.json

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,14 @@
22
"name": "@firstassethr/node-http-to-fetch",
33
"version": "1.3.4",
44
"devDependencies": {
5-
"@types/node": "^22.10.5",
6-
"@types/ws": "^8.5.13",
7-
"got": "^14.4.5",
8-
"prettier": "^3.4.2",
9-
"tsx": "^4.19.2",
10-
"typescript": "^5.7.3",
11-
"ws": "^8.18.0"
5+
"@mjackson/node-fetch-server": "^0.6.1",
6+
"@types/node": "^22.14.0",
7+
"@types/ws": "^8.18.1",
8+
"got": "^14.4.7",
9+
"prettier": "^3.5.3",
10+
"tsx": "^4.19.3",
11+
"typescript": "^5.8.3",
12+
"ws": "^8.18.1"
1213
},
1314
"scripts": {
1415
"test": "yarn test:path --test-reporter=spec __tests__/**/*.test.ts",
@@ -37,6 +38,6 @@
3738
"repository": "https://github.com/firstassethr/node-http-to-fetch",
3839
"types": "dist/_types/main.d.ts",
3940
"type": "module",
40-
"packageManager": "yarn@4.6.0",
41+
"packageManager": "yarn@4.8.1",
4142
"license": "UNLICENCED"
4243
}

0 commit comments

Comments
 (0)