Skip to content

Commit 526752e

Browse files
nanotowerCopilot
andauthored
feat: update patch version, dev dependencies, and CI workflow (#54)
Co-authored-by: nanotower <[email protected]> Co-authored-by: copilot-swe-agent[bot] <[email protected]>
1 parent d542c05 commit 526752e

File tree

5 files changed

+53
-32
lines changed

5 files changed

+53
-32
lines changed

.eslintrc.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,11 @@
11
root: true
2-
extends: standard
2+
extends:
3+
- standard
4+
- plugin:markdown/recommended
5+
plugins:
6+
- markdown
7+
overrides:
8+
- files: '**/*.md'
9+
processor: 'markdown/markdown'
10+
rules:
11+
no-param-reassign: error

.github/workflows/ci.yml

Lines changed: 23 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -50,72 +50,78 @@ jobs:
5050
- name: Node.js 0.8
5151
node-version: "0.8"
5252
53-
npm-rm: istanbul
53+
npm-rm: nyc
5454

5555
- name: Node.js 0.10
5656
node-version: "0.10"
57-
58-
npm-rm: istanbul
57+
5958

6059
- name: Node.js 0.12
6160
node-version: "0.12"
62-
63-
npm-rm: istanbul
61+
62+
npm-rm: nyc
6463

6564
- name: io.js 1.x
6665
node-version: "1"
67-
68-
npm-rm: istanbul
66+
67+
npm-rm: nyc
6968

7069
- name: io.js 2.x
7170
node-version: "2"
72-
73-
npm-rm: istanbul
71+
72+
npm-rm: nyc
7473

7574
- name: io.js 3.x
7675
node-version: "3"
77-
78-
npm-rm: istanbul
76+
77+
npm-rm: nyc
7978

8079
- name: Node.js 4.x
8180
node-version: "4"
82-
81+
8382

8483
- name: Node.js 5.x
8584
node-version: "5"
86-
85+
8786

8887
- name: Node.js 6.x
8988
node-version: "6"
90-
89+
9190

9291
- name: Node.js 7.x
9392
node-version: "7"
94-
93+
9594

9695
- name: Node.js 8.x
9796
node-version: "8"
97+
9898

9999
- name: Node.js 9.x
100100
node-version: "9"
101+
101102

102103
- name: Node.js 10.x
103104
node-version: "10"
105+
104106

105107
- name: Node.js 11.x
106108
node-version: "11"
109+
107110

108111
- name: Node.js 12.x
109112
node-version: "12"
113+
110114

111115
- name: Node.js 13.x
112116
node-version: "13"
113-
117+
114118
- name: Node.js 14.x
115119
node-version: "14"
120+
116121

117122
- name: Node.js 15.x
118123
node-version: "15"
124+
119125

120126
- name: Node.js 16.x
121127
node-version: "16"
@@ -207,7 +213,7 @@ jobs:
207213
- name: Run tests
208214
shell: bash
209215
run: |
210-
if npm -ps ls istanbul | grep -q istanbul; then
216+
if npm -ps ls nyc | grep -q nyc; then
211217
npm run test-ci
212218
cp coverage/lcov.info "coverage/${{ matrix.name }}.lcov"
213219
else

HISTORY.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
UNRELEASED
2+
==================
3+
* deps: accepts": "~1.3.8"
4+
- deps: mime-types@~2.1.34
5+
- deps: mime-db@~1.51.0
6+
7+
18
1.5.1 / 2019-05-08
29
==================
310

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
[![NPM Version][npm-version-image]][npm-url]
44
[![NPM Downloads][npm-downloads-image]][npm-url]
5-
<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>
5+
<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>
66
[![Test Coverage][coveralls-image]][coveralls-url]
77

88
Development-only error handler middleware.

package.json

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -13,21 +13,20 @@
1313
"url": "https://opencollective.com/express"
1414
},
1515
"dependencies": {
16-
"accepts": "~1.3.7",
16+
"accepts": "~1.3.8",
1717
"escape-html": "~1.0.3"
1818
},
1919
"devDependencies": {
2020
"after": "0.8.2",
21-
"eslint": "6.8.0",
22-
"eslint-config-standard": "14.1.0",
23-
"eslint-plugin-import": "2.20.1",
24-
"eslint-plugin-markdown": "1.0.2",
25-
"eslint-plugin-node": "9.2.0",
26-
"eslint-plugin-promise": "4.2.1",
27-
"eslint-plugin-standard": "4.0.1",
28-
"istanbul": "0.4.5",
29-
"mocha": "7.1.0",
30-
"supertest": "4.0.2"
21+
"eslint": "8.34.0",
22+
"eslint-config-standard": "14.1.1",
23+
"eslint-plugin-import": "2.27.5",
24+
"eslint-plugin-markdown": "3.0.0",
25+
"eslint-plugin-node": "11.1.0",
26+
"eslint-plugin-promise": "6.1.1",
27+
"mocha": "10.2.0",
28+
"nyc": "15.1.0",
29+
"supertest": "6.3.3"
3130
},
3231
"files": [
3332
"public/",
@@ -41,7 +40,7 @@
4140
"scripts": {
4241
"lint": "eslint --plugin markdown --ext js,md .",
4342
"test": "mocha --reporter spec --bail --check-leaks test/",
44-
"test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --check-leaks test/",
45-
"test-ci": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --check-leaks test/"
43+
"test-ci": "nyc --reporter=lcov --reporter=text npm test",
44+
"test-cov": "nyc --reporter=html --reporter=text npm test"
4645
}
4746
}

0 commit comments

Comments
 (0)