Skip to content
This repository was archived by the owner on Jun 4, 2025. It is now read-only.

Commit 0e7f456

Browse files
authored
chore: update dependencies (#352)
1 parent b301963 commit 0e7f456

File tree

5 files changed

+50
-49
lines changed

5 files changed

+50
-49
lines changed

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,4 +64,6 @@ test/**/*.js.map
6464

6565
type_definitions/**/*.js
6666
type_definitions/*.js
67-
package-lock.json
67+
package-lock.json
68+
69+
.DS_Store

.travis.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
language: node_js
22
node_js:
33
- stable
4-
- 8
5-
- 9
6-
- 10
7-
- 11
4+
- 16
5+
- 14
86
- 12
7+
- 10
8+
- 8
99
before_install:
1010
- npm install -g codeclimate-test-reporter
1111
after_success:

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Some utilities for the development of restify application with Inversify.
1818
You can install `inversify-restify-utils` using npm:
1919

2020
```
21-
$ npm install inversify inversify-restify-utils reflect-metadata --save
21+
$ npm install inversify inversify-restify-utils reflect-metadata restify --save
2222
```
2323

2424
The `inversify-restify-utils` type definitions are included in the npm module and require TypeScript 2.0.

package.json

Lines changed: 26 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -29,34 +29,32 @@
2929
},
3030
"homepage": "https://github.com/inversify/inversify-restify-utils#readme",
3131
"devDependencies": {
32-
"@types/bunyan": "^1.8.8",
33-
"@types/chai": "4.3.1",
34-
"@types/mocha": "5.2.7",
35-
"@types/node": "^14.18.13",
36-
"@types/restify": "^8.5.4",
37-
"@types/sinon": "7.5.2",
38-
"@types/spdy": "^3.4.5",
39-
"@types/supertest": "2.0.12",
40-
"chai": "4.3.6",
41-
"del": "^5.1.0",
42-
"gulp": "4.0.2",
43-
"gulp-istanbul": "1.1.3",
44-
"gulp-mocha": "7.0.2",
45-
"gulp-sourcemaps": "^2.6.5",
46-
"gulp-tslint": "8.1.4",
47-
"gulp-typescript": "5.0.1",
48-
"inversify": "5.1.1",
49-
"mocha": "6.2.3",
50-
"publish-please": "5.5.2",
51-
"reflect-metadata": "0.1.13",
52-
"sinon": "7.5.0",
53-
"source-map-support": "0.5.21",
54-
"supertest": "4.0.2",
55-
"tslint": "5.20.1",
56-
"typescript": "3.9.10",
57-
"updates": "^8.5.3"
32+
"@types/chai": "^4.3.4",
33+
"@types/mocha": "^10.0.1",
34+
"@types/node": "^18.11.10",
35+
"@types/restify": "^8.5.5",
36+
"@types/sinon": "^10.0.13",
37+
"@types/supertest": "^2.0.12",
38+
"chai": "^4.3.7",
39+
"del": "^6.1.1",
40+
"gulp": "^4.0.2",
41+
"gulp-istanbul": "^1.1.3",
42+
"gulp-mocha": "^8.0.0",
43+
"gulp-sourcemaps": "^3.0.0",
44+
"gulp-tslint": "^8.1.4",
45+
"gulp-typescript": "^5.0.1",
46+
"inversify": "^5.1.1",
47+
"mocha": "^10.1.0",
48+
"publish-please": "^5.5.2",
49+
"reflect-metadata": "^0.1.13",
50+
"sinon": "^15.0.0",
51+
"source-map-support": "^0.5.21",
52+
"supertest": "^6.3.1",
53+
"tslint": "^5.20.1",
54+
"typescript": "^3.9.10",
55+
"updates": "^13.2.2"
5856
},
59-
"dependencies": {
60-
"restify": "^8.6.1"
57+
"peerDependencies": {
58+
"restify": ">=8.6.1"
6159
}
6260
}

tsconfig.json

Lines changed: 16 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,24 @@
11
{
22
"compilerOptions": {
3-
"target": "es5",
4-
"lib": ["es6", "dom"],
5-
"types": ["inversify", "mocha", "reflect-metadata", "restify"],
6-
"baseUrl": ".",
3+
"lib": ["es2017"],
74
"module": "commonjs",
5+
"target": "es2017", // node 8
6+
"strict": true,
7+
"strictPropertyInitialization": false, // should be true
8+
"esModuleInterop": true,
9+
"skipLibCheck": true,
10+
"forceConsistentCasingInFileNames": true,
811
"moduleResolution": "node",
9-
"isolatedModules": false,
10-
"jsx": "react",
12+
"allowUnusedLabels": false,
13+
"allowUnreachableCode": false,
14+
"noFallthroughCasesInSwitch": true,
15+
"noImplicitReturns": true,
16+
"noUnusedLocals": true,
17+
"noUnusedParameters": false, // should be true
18+
"importsNotUsedAsValues": "remove", // should be error
19+
"types": ["inversify", "mocha", "reflect-metadata", "restify"],
1120
"experimentalDecorators": true,
1221
"emitDecoratorMetadata": true,
13-
"noImplicitAny": true,
14-
"preserveConstEnums": true,
15-
"removeComments": true,
16-
"suppressImplicitAnyIndexErrors": false,
17-
"noResolve": false,
18-
"noUnusedParameters": false,
19-
"noUnusedLocals": true,
20-
"strictNullChecks": true,
21-
"esModuleInterop": true,
22+
"removeComments": true
2223
}
2324
}

0 commit comments

Comments
 (0)