Skip to content

Commit 726d66f

Browse files
committed
fix(checks): change the expected node version
By default Twilio Functions will now create environments using Node.js 10.17 instead of 8.10. This updates the checks, tests and docs
1 parent 94e34d7 commit 726d66f

File tree

4 files changed

+5
-6
lines changed

4 files changed

+5
-6
lines changed

.nvmrc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
8.10
1+
10.17

.travis.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,8 @@ language: node_js
22

33
node_js:
44
- 'stable'
5-
- '8'
6-
- '9'
75
- '10'
6+
- '12'
87

98
sudo: false
109

CONTRIBUTING.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ This project contains the CLI aspects of deploying Twilio Serverless as well as
1212

1313
## Requirements
1414

15-
Make sure you have Node.js 8.10 or newer installed. Due to compatibility with Twilio
16-
Functions this project has to support at least Node.js 8.10.
15+
Make sure you have Node.js 10.17 or newer installed. Due to compatibility with Twilio
16+
Functions this project has to support at least Node.js 10.17.
1717

1818
## Setup
1919

src/checks/nodejs-version.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { stripIndent } from 'common-tags';
22
import { logger } from '../utils/logger';
33

4-
const SERVERLESS_NODE_JS_VERSION = '8.10';
4+
const SERVERLESS_NODE_JS_VERSION = '10.17';
55

66
export function printVersionWarning(
77
nodeVersion: string,

0 commit comments

Comments
 (0)