Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions .github/workflows/ci-module.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
name: ci

on:
push:
branches:
- master
- next
pull_request:
workflow_dispatch:
push:
branches:
- master
- next
pull_request:
workflow_dispatch:

jobs:
test:
uses: hapijs/.github/.github/workflows/ci-module.yml@min-node-18-hapi-21
test:
uses: hapijs/.github/.github/workflows/ci-module.yml@min-node-22-hapi-21
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
**/node_modules
**/package-lock.json

coverage.*
coverage/

**/.DS_Store
**/._*
Expand Down
127 changes: 73 additions & 54 deletions API.md

Large diffs are not rendered by default.

40 changes: 0 additions & 40 deletions lib/recorder.js

This file was deleted.

8 changes: 8 additions & 0 deletions oxfmt.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import DefaultOxfmtConfig from '@hapi/oxc-plugin/oxfmt';
import { defineConfig } from 'oxfmt';

import type { OxfmtConfig } from 'oxfmt';

export default defineConfig({
...DefaultOxfmtConfig,
}) as OxfmtConfig;
11 changes: 11 additions & 0 deletions oxlint.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import HapiRecommended from '@hapi/oxc-plugin/oxlint';
import { defineConfig } from 'oxlint';

import type { OxlintConfig } from 'oxlint';

export default defineConfig({
extends: [HapiRecommended],
env: {
...HapiRecommended.env,
},
}) as OxlintConfig;
55 changes: 37 additions & 18 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,32 +1,51 @@
{
"name": "@hapi/wreck",
"description": "HTTP Client Utilities",
"version": "18.1.2",
"repository": "git://github.com/hapijs/wreck",
"main": "lib/index",
"types": "lib/index.d.ts",
"description": "HTTP Client Utilities",
"keywords": [
"utilities",
"client",
"http",
"client"
"utilities"
],
"license": "BSD-3-Clause",
"repository": "git://github.com/hapijs/wreck",
"files": [
"lib"
"src",
"API.md",
"README.md"
],
"type": "module",
"types": "src/index.d.ts",
"exports": {
".": {
"types": "./src/index.d.ts",
"default": "./src/index.js"
}
},
"scripts": {
"test": "vitest run --coverage",
"typecheck": "tsc --noEmit",
"lint": "oxlint",
"lint:fix": "oxlint --fix",
"fmt": "oxfmt --check",
"fmt:fix": "oxfmt",
"check": "npm run lint && npm run fmt && npm run typecheck && npm test"
},
"dependencies": {
"@hapi/boom": "^10.0.1",
"@hapi/bourne": "^3.0.0",
"@hapi/hoek": "^11.0.2"
"@hapi/bourne": "^4.0.1",
"@hapi/hoek": "^12.0.0-rc.0"
},
"devDependencies": {
"@hapi/code": "^9.0.3",
"@hapi/lab": "^25.1.2",
"@types/node": "^17.0.31",
"typescript": "~4.6.4"
},
"scripts": {
"test": "lab -t 100 -L -a @hapi/code -m 10000 -Y",
"test-cov-html": "lab -r html -o coverage.html -a @hapi/code -m 10000"
"@hapi/oxc-plugin": "^1.0.4",
"@types/node": "^22",
"@vitest/coverage-v8": "^4.1.10",
"oxfmt": "^0.61.0",
"oxlint": "^1.76.0",
"typescript": "^6.0.3",
"vitest": "^4.1.10"
},
"license": "BSD-3-Clause"
"engines": {
"node": ">=22"
}
}
Loading