Skip to content

Commit

Permalink
Merge pull request #25 from joshuajaco/maintenance
Browse files Browse the repository at this point in the history
Maintenance
  • Loading branch information
joshuajaco authored Nov 19, 2023
2 parents 75f43b2 + 877d073 commit c89ebda
Show file tree
Hide file tree
Showing 8 changed files with 528 additions and 394 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Use Node.js from .tool-versions
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version-file: .tool-versions
cache: "npm"
Expand Down
2 changes: 1 addition & 1 deletion .tool-versions
Original file line number Diff line number Diff line change
@@ -1 +1 @@
nodejs 20.5.0
nodejs 21.2.0
879 changes: 510 additions & 369 deletions package-lock.json

Large diffs are not rendered by default.

26 changes: 13 additions & 13 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,27 +26,27 @@
"lint": "eslint --ignore-path .gitignore --max-warnings 0 .",
"lint:fix": "npm run lint -- --fix",
"prepublishOnly": "npm run build",
"test": "nyc -r=lcov -r=text node --trace-warnings -r ts-node/register --test tests/run.ts",
"test": "nyc -r=lcov -r=text node --trace-warnings -r ts-node/register --test \"**/*.test.ts\"",
"typecheck": "tsc"
},
"dependencies": {
"@types/express": "^4.17.17",
"@types/express": "^4.17.21",
"body-parser": "^1.20.2",
"deep-equal": "^2.2.2",
"deep-equal": "^2.2.3",
"express": "^4.18.2"
},
"devDependencies": {
"@types/deep-equal": "^1.0.1",
"@typescript-eslint/eslint-plugin": "^6.2.0",
"@typescript-eslint/parser": "^6.2.0",
"eslint": "^8.46.0",
"eslint-config-prettier": "^8.9.0",
"get-port-please": "^3.0.1",
"node-mocks-http": "^1.12.2",
"@types/deep-equal": "^1.0.4",
"@typescript-eslint/eslint-plugin": "^6.11.0",
"@typescript-eslint/parser": "^6.11.0",
"eslint": "^8.54.0",
"eslint-config-prettier": "^9.0.0",
"get-port-please": "^3.1.1",
"node-mocks-http": "^1.13.0",
"nyc": "^15.1.0",
"prettier": "^3.0.0",
"rimraf": "^5.0.1",
"prettier": "^3.1.0",
"rimraf": "^5.0.5",
"ts-node": "^10.9.1",
"typescript": "^5.1.6"
"typescript": "^5.2.2"
}
}
4 changes: 2 additions & 2 deletions src/MockServer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -225,8 +225,8 @@ export class MockServer {
typeof response === "string"
? { body: response }
: typeof response === "number"
? { status: response }
: response,
? { status: response }
: response,
options,
});

Expand Down
3 changes: 0 additions & 3 deletions tests/run.ts

This file was deleted.

3 changes: 0 additions & 3 deletions tests/setup.ts

This file was deleted.

1 change: 0 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
"noEmit": true,
"esModuleInterop": true,
"module": "CommonJS",
"moduleResolution": "NodeNext",
"resolveJsonModule": true,
"isolatedModules": true,
"incremental": true
Expand Down

0 comments on commit c89ebda

Please sign in to comment.