Skip to content

Commit b03a243

Browse files
authored
Merge pull request cloudevents#49 from lance/dependency-updates
deps: update old and remove unused dependencies
2 parents e7343b7 + aa2cef6 commit b03a243

File tree

10 files changed

+2237
-35
lines changed

10 files changed

+2237
-35
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

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
1010

1111
- Support for mTLS in v1.0 Binary and Structured Emitters: issue [#48](https://github.com/cloudevents/sdk-javascript/issues/48). Note that this fix is only valid for v1.0 and does not address the problem in v0.3 and below.
1212

13+
### Removed
14+
15+
- Removed support for Node.js 6, 7 and 8 - all of which are EOL at this point. Travis CI modified to test on Node.js 10 and 12.
16+
1317
## [1.0.0]
1418

1519
### Added

lib/bindings/http/emitter_binary.js

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

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

lib/specs/spec_0_2.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
const uuid = require("uuid/v4");
2-
const empty = require("is-empty");
3-
const Ajv = require("ajv");
1+
var uuid = require("uuid/v4");
2+
var Ajv = require("ajv");
43

54
// Reserved attributes names
65
const reserved = {

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)