Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit a650f78

Browse filesBrowse files
abetomoDeviaVir
authored andcommitted
Drop nodejs4.3 (motdotla#469)
* Drop Node.js 4.3 Node.js 4.3 was dropped from the document. https://docs.aws.amazon.com/lambda/latest/dg/programming-model.html * Fix version of npm release to 10 following error ``` error aws-xray-sdk-core@2.0.1: The engine "node" is incompatible with this module. Expected version ">= 4.x <= 10.x". Got "11.0.0" ```
1 parent b890e58 commit a650f78
Copy full SHA for a650f78

File tree

Expand file treeCollapse file tree

3 files changed

+3
-3
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

3 files changed

+3
-3
lines changed
Open diff view settings
Collapse file

‎.travis.yml‎

Copy file name to clipboardExpand all lines: .travis.yml
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ cache:
1515
jobs:
1616
include:
1717
- stage: npm release
18-
node_js: node
18+
node_js: 10
1919
script: echo "Deploying to npm ..."
2020
deploy:
2121
provider: npm
Collapse file

‎README.md‎

Copy file name to clipboardExpand all lines: README.md
+1-1Lines changed: 1 addition & 1 deletion
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ AWS Lambda will let you set environment variables for your function. Use the sam
205205

206206
## Node.js Runtime Configuration
207207

208-
AWS Lambda now supports Node.js 8.10, 6.10 and Node.js 4.3. Please also check the [Programming Model (Node.js)](http://docs.aws.amazon.com/lambda/latest/dg/programming-model.html) page.
208+
AWS Lambda now supports Node.js 8.10 and Node.js 6.10. Please also check the [Programming Model (Node.js)](http://docs.aws.amazon.com/lambda/latest/dg/programming-model.html) page.
209209

210210
## Post install script
211211
When running `node-lambda deploy` if you need to do some action after `npm install --production` and before deploying to AWS Lambda (e.g. replace some modules with precompiled ones or download some libraries, replace some config file depending on environment) you can create `post_install.sh` script. If the file exists the script will be executed (and output shown after execution) if not it is skipped. Environment string is passed to script as first parameter so you can use it if needed. Make sure that the script is executable.
Collapse file

‎lib/main.js‎

Copy file name to clipboardExpand all lines: lib/main.js
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ event_sources.json and ${program.eventFile} files as needed.`)
5252
}
5353

5454
run (program) {
55-
if (!['nodejs4.3', 'nodejs6.10', 'nodejs8.10'].includes(program.runtime)) {
55+
if (!['nodejs6.10', 'nodejs8.10'].includes(program.runtime)) {
5656
console.error(`Runtime [${program.runtime}] is not supported.`)
5757
process.exit(254)
5858
}

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.