Skip to content

Commit

Permalink
Merge pull request #228 from willarmiros/upgrade-node-version
Browse files Browse the repository at this point in the history
Deprecate support for node 4, 6
  • Loading branch information
willarmiros authored Dec 6, 2019
2 parents a51b38f + 835fec3 commit 9159165
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 17 deletions.
2 changes: 1 addition & 1 deletion .github/stale.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Number of days of inactivity before an issue becomes stale
daysUntilStale: 60
daysUntilStale: 30
# Number of days of inactivity before a stale issue is closed
daysUntilClose: 7
# Issues with these labels will never be considered stale
Expand Down
11 changes: 0 additions & 11 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
language: node_js

node_js:
- "6"
- "8"
- "10"
- "12"
Expand All @@ -16,16 +15,6 @@ notifications:
on_success: never
on_failure: always

matrix:
include:
- node_js: "8"
env: TEST_ASYNC=test-async
- node_js: "10"
env: TEST_ASYNC=test-async
- node_js: "12"
env: TEST_ASYNC=test-async

script:
- lerna bootstrap --hoist
- lerna run test
- "if [[ $TEST_ASYNC == 'test-async' ]]; then lerna run $TEST_ASYNC || exit 0; fi"
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@

## Installing

The AWS X-Ray SDK for Node.js is compatible with Node.js version 4 and later.
The AWS X-Ray SDK for Node.js has been tested with versions 4.x through 12.x of Node.js.
The AWS X-Ray SDK for Node.js is compatible with Node.js version 8 and later.
The AWS X-Ray SDK for Node.js has been tested with versions 8.x through 12.x of Node.js.
There may be issues when running on versions of Node.js newer than 12.x.

The SDK is available from NPM. For local development, install the SDK in your project directory with npm.
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"tsd": "^0.10.0"
},
"engines": {
"node": ">= 4.x",
"node": ">= 8.x",
"npm": ">= 2.x"
}
}
4 changes: 2 additions & 2 deletions packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@
"tsd": "^0.10.0"
},
"scripts": {
"test": "mocha --recursive ./test/ -R spec && tsd",
"test": "mocha --recursive ./test/ -R spec && tsd && mocha --recursive ./test_async/ -R spec",
"test-d": "tsd",
"test-async": "./node_modules/.bin/mocha --recursive ./test_async/ -R spec"
"test-async": "mocha --recursive ./test_async/ -R spec"
},
"keywords": [
"amazon",
Expand Down

0 comments on commit 9159165

Please sign in to comment.