Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
4f295ed
chore: rename test-travis script to test-ci for consistency
nanotower Dec 7, 2025
1802966
feat: add CI workflow for multi-version Node.js testing
nanotower Dec 7, 2025
8bc8bb5
fix: add mocha dependency for Node.js 7.x
nanotower Dec 7, 2025
2096459
fix: update build status badge to use GitHub Actions
nanotower Dec 7, 2025
dcd141b
fix: remove 'main' branch from CI workflow triggers
nanotower Dec 7, 2025
b68ffc2
fix: update CI and coverage URLs
nanotower Dec 8, 2025
67e655a
Initial plan
Copilot Dec 8, 2025
20237c0
Replace badgen CI badge with GitHub Actions badge
Copilot Dec 8, 2025
0168b78
Merge pull request #1 from nanotower/copilot/update-readme-ci-badge
nanotower Dec 8, 2025
21a7442
fix: update CI and coverage URLs to reflect the repository ownership
nanotower Dec 8, 2025
5beee8a
Merge branch 'expressjs:master' into master
nanotower Dec 8, 2025
9a94dc4
chore: update dependencies and testing scripts in package.json
nanotower Dec 8, 2025
38408e8
fix: update Node.js CI configuration to replace istanbul with nyc
nanotower Dec 8, 2025
34d6608
chore: update HISTORY.md to include new dependencies for accepts
nanotower Dec 8, 2025
12375f5
chore: downgrade eslint version to 8.34.0
nanotower Dec 8, 2025
37724fb
chore: enhance ESLint configuration for Markdown support
nanotower Dec 8, 2025
32fb700
fix: pin dev versions
nanotower Dec 8, 2025
7e724a4
fix: add eslint-plugin-standard to Node.js failure versions
nanotower Dec 8, 2025
1a4f6d1
chore: test badges
nanotower Dec 9, 2025
a2e2fe7
chore: trigger test
nanotower Dec 9, 2025
61e0f2a
chore: add missing newline at end of package.json
nanotower Dec 9, 2025
f179ec7
chore: update CI badge URLs to point to the correct repository
nanotower Dec 9, 2025
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
11 changes: 10 additions & 1 deletion .eslintrc.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,11 @@
root: true
extends: standard
extends:
- standard
- plugin:markdown/recommended
plugins:
- markdown
overrides:
- files: '**/*.md'
processor: 'markdown/markdown'
rules:
no-param-reassign: error
40 changes: 23 additions & 17 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,72 +50,78 @@ jobs:
- name: Node.js 0.8
node-version: "0.8"
npm-i: mocha@2.5.3 supertest@1.1.0
npm-rm: istanbul
npm-rm: nyc

- name: Node.js 0.10
node-version: "0.10"
npm-i: mocha@3.5.3 supertest@2.0.0
npm-rm: istanbul
npm-i: mocha@3.5.3 nyc@10.3.2 supertest@2.0.0

- name: Node.js 0.12
node-version: "0.12"
npm-i: mocha@3.5.3 supertest@2.0.0
npm-rm: istanbul
npm-i: mocha@3.5.3 nyc@10.3.2 supertest@2.0.0
npm-rm: nyc

- name: io.js 1.x
node-version: "1"
npm-i: mocha@3.5.3 supertest@2.0.0
npm-rm: istanbul
npm-i: mocha@3.5.3 nyc@10.3.2 supertest@2.0.0
npm-rm: nyc

- name: io.js 2.x
node-version: "2"
npm-i: mocha@3.5.3 supertest@2.0.0
npm-rm: istanbul
npm-i: mocha@3.5.3 nyc@10.3.2 supertest@2.0.0
npm-rm: nyc

- name: io.js 3.x
node-version: "3"
npm-i: mocha@3.5.3 supertest@2.0.0
npm-rm: istanbul
npm-i: mocha@3.5.3 nyc@10.3.2 supertest@2.0.0
npm-rm: nyc

- name: Node.js 4.x
node-version: "4"
npm-i: mocha@5.2.0 supertest@3.4.2
npm-i: mocha@5.2.0 nyc@11.9.0 supertest@3.4.2

- name: Node.js 5.x
node-version: "5"
npm-i: mocha@5.2.0 supertest@3.4.2
npm-i: mocha@5.2.0 nyc@11.9.0 supertest@3.4.2

- name: Node.js 6.x
node-version: "6"
npm-i: mocha@6.2.2
npm-i: mocha@6.2.2 nyc@14.1.1 supertest@6.1.6

- name: Node.js 7.x
node-version: "7"
npm-i: mocha@6.2.2
npm-i: mocha@6.2.2 nyc@14.1.1 supertest@6.1.6

- name: Node.js 8.x
node-version: "8"
npm-i: mocha@7.2.0 nyc@14.1.1 supertest@6.1.6

- name: Node.js 9.x
node-version: "9"
npm-i: mocha@7.2.0 nyc@14.1.1 supertest@6.1.6

- name: Node.js 10.x
node-version: "10"
npm-i: mocha@8.4.0 supertest@6.1.6

- name: Node.js 11.x
node-version: "11"
npm-i: mocha@8.4.0 supertest@6.1.6

- name: Node.js 12.x
node-version: "12"
npm-i: mocha@9.2.2 supertest@6.1.6 eslint-plugin-standard@4.1.0

- name: Node.js 13.x
node-version: "13"

npm-i: mocha@9.2.2 supertest@6.1.6 eslint-plugin-standard@4.1.0
- name: Node.js 14.x
node-version: "14"
npm-i: mocha@9.2.2 supertest@6.1.6 eslint-plugin-standard@4.1.0

- name: Node.js 15.x
node-version: "15"
npm-i: "supertest@6.1.6"

- name: Node.js 16.x
node-version: "16"
Expand Down Expand Up @@ -207,7 +213,7 @@ jobs:
- name: Run tests
shell: bash
run: |
if npm -ps ls istanbul | grep -q istanbul; then
if npm -ps ls nyc | grep -q nyc; then
npm run test-ci
cp coverage/lcov.info "coverage/${{ matrix.name }}.lcov"
else
Expand Down
7 changes: 7 additions & 0 deletions HISTORY.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
UNRELEASED
==================
* deps: accepts": "~1.3.8"
- deps: mime-types@~2.1.34
- deps: mime-db@~1.51.0
- deps: negotiator@0.6.3

1.5.1 / 2019-05-08
==================

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

[![NPM Version][npm-version-image]][npm-url]
[![NPM Downloads][npm-downloads-image]][npm-url]
<a href="https://github.com/nanotower/errorhandler/actions/workflows/ci.yml"><img src="https://github.com/nanotower/errorhandler/actions/workflows/ci.yml/badge.svg"></a>
<a href="https://github.com/expressjs/errorhandler/actions/workflows/ci.yml"><img src="https://github.com/expressjs/errorhandler/actions/workflows/ci.yml/badge.svg"></a>
[![Test Coverage][coveralls-image]][coveralls-url]

Development-only error handler middleware.
Expand Down
25 changes: 12 additions & 13 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,21 +13,20 @@
"url": "https://opencollective.com/express"
},
"dependencies": {
"accepts": "~1.3.7",
"accepts": "~1.3.8",
"escape-html": "~1.0.3"
},
"devDependencies": {
"after": "0.8.2",
"eslint": "6.8.0",
"eslint-config-standard": "14.1.0",
"eslint-plugin-import": "2.20.1",
"eslint-plugin-markdown": "1.0.2",
"eslint-plugin-node": "9.2.0",
"eslint-plugin-promise": "4.2.1",
"eslint-plugin-standard": "4.0.1",
"istanbul": "0.4.5",
"mocha": "7.1.0",
"supertest": "4.0.2"
"eslint": "8.34.0",
"eslint-config-standard": "14.1.1",
"eslint-plugin-import": "2.27.5",
"eslint-plugin-markdown": "3.0.0",
"eslint-plugin-node": "11.1.0",
"eslint-plugin-promise": "6.1.1",
"mocha": "10.2.0",
"nyc": "15.1.0",
"supertest": "6.3.3"
},
"files": [
"public/",
Expand All @@ -41,7 +40,7 @@
"scripts": {
"lint": "eslint --plugin markdown --ext js,md .",
"test": "mocha --reporter spec --bail --check-leaks test/",
"test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --check-leaks test/",
"test-ci": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --check-leaks test/"
"test-ci": "nyc --reporter=lcov --reporter=text npm test",
"test-cov": "nyc --reporter=html --reporter=text npm test"
}
}
Loading