Skip to content

Commit 201fc8b

Browse files
committed
deps: update old and remove unused dependencies
This commit updates all of the dependencies in package.json to their most recent versions. It also removes dependencies that were specified in package.json but not used - or only used in a `require()` statement. These changes have some ripple effects. Istanbul has not been supported for some time, so it has been replaced with nyc. The code coverage reporting tool from codacy has been updated as well. This could not be tested without having the API token. Finally, the CI job has been modified to run tests on Node.js versions 10x and 12x. All older versions of Node.js are no longer maintained. Signed-off-by: Lance Ball <[email protected]>
1 parent 4a199d4 commit 201fc8b

File tree

10 files changed

+2230
-34
lines changed

10 files changed

+2230
-34
lines changed

.travis.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
language: node_js
22
node_js:
3-
- 8
4-
- 7
5-
- 6
3+
- 12
4+
- 10
65
cache: npm
76
jobs:
87
include:
98
- stage: github release
10-
node_js: '6'
9+
node_js: '12'
1110
deploy:
1211
provider: releases
1312
api_key:
@@ -17,7 +16,7 @@ jobs:
1716
tags: true
1817

1918
- stage: npm release
20-
node_js: '6'
19+
node_js: '12'
2120
deploy:
2221
provider: npm
2322

lib/bindings/http/emitter_binary.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
var axios = require("axios");
2-
var empty = require("is-empty");
32

43
const Constants = require("./constants.js");
54

lib/specs/spec_0_2.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
var uuid = require("uuid/v4");
2-
var empty = require("is-empty");
32
var Ajv = require("ajv");
43

54
// Reserved attributes names

lib/specs/spec_0_3.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
const uuid = require("uuid/v4");
2-
const empty = require("is-empty");
32
const Ajv = require("ajv");
43

54
const {

lib/specs/spec_1.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
const uuid = require("uuid/v4");
2-
const empty = require("is-empty");
32
const Ajv = require("ajv");
4-
const URI = require("uri-js");
53

64
const {
75
asData,

0 commit comments

Comments
 (0)