openwhisk-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jamestho...@apache.org
Subject [incubator-openwhisk] branch master updated: Changing default Node.js version to 10 (#4466)
Date Tue, 07 May 2019 09:54:59 GMT
This is an automated email from the ASF dual-hosted git repository.

jamesthomas pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-openwhisk.git


The following commit(s) were added to refs/heads/master by this push:
     new c68fc94  Changing default Node.js version to 10 (#4466)
c68fc94 is described below

commit c68fc94212009d3a5cd98d6ea7e06482272c487b
Author: James Thomas <james@jamesthom.as>
AuthorDate: Tue May 7 10:54:52 2019 +0100

    Changing default Node.js version to 10 (#4466)
    
    Fixes #4265
---
 ansible/files/runtimes.json |  4 ++--
 docs/actions-nodejs.md      | 10 +++++-----
 2 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/ansible/files/runtimes.json b/ansible/files/runtimes.json
index 782037d..c3e80d3 100644
--- a/ansible/files/runtimes.json
+++ b/ansible/files/runtimes.json
@@ -3,7 +3,7 @@
         "nodejs": [
             {
                 "kind": "nodejs:6",
-                "default": true,
+                "default": false,
                 "image": {
                     "prefix": "openwhisk",
                     "name": "nodejs6action",
@@ -37,7 +37,7 @@
             },
             {
                 "kind": "nodejs:10",
-                "default": false,
+                "default": true,
                 "image": {
                     "prefix": "openwhisk",
                     "name": "action-nodejs-v10",
diff --git a/docs/actions-nodejs.md b/docs/actions-nodejs.md
index d689585..45bf572 100644
--- a/docs/actions-nodejs.md
+++ b/docs/actions-nodejs.md
@@ -459,11 +459,11 @@ wsk action invoke my-action --result --param lines "[\"and now\", \"for
somethin
 
 ## Reference
 
-JavaScript actions can be executed in Node.js version 6 or Node.js version 8.
-Currently actions are executed by default in a Node.js version 6 environment.
+JavaScript actions can be executed in Node.js version 6, version 8 or version 10 environment.
+Currently actions are executed by default in a Node.js version 10 environment.
 
 ### Node.js version 6 environment
-The Node.js 6.14.4 environment will be used for an action if the `--kind` flag is explicitly
specified with a value of 'nodejs:6' when creating/updating the action.
+The Node.js  version 6.17.0 environment will be used for an action if the `--kind` flag is
explicitly specified with a value of 'nodejs:6' when creating/updating the action.
 
 The following packages are available to be used in the Node.js 6 environment:
 
@@ -520,14 +520,14 @@ The following packages are available to be used in the Node.js 6 environment:
 - [yauzl v2.7.0](https://www.npmjs.com/package/yauzl) - Yet another unzip library for node.
For zipping.
 
 ### Node.js version 8 environment
-The Node.js version 8.12.0 environment is used if the `--kind` flag is explicitly specified
with a value of 'nodejs:8' when creating or updating an Action.
+The Node.js version 8.15.1 environment is used if the `--kind` flag is explicitly specified
with a value of 'nodejs:8' when creating or updating an Action.
 
 The following packages are pre-installed in the Node.js version 8 environment:
 
 - [openwhisk v3.18.0](https://www.npmjs.com/package/openwhisk) - JavaScript client library
for the OpenWhisk platform. Provides a wrapper around the OpenWhisk APIs.
 
 ### Node.js version 10 environment
-The Node.js version 10.13.0 environment is used if the `--kind` flag is explicitly specified
with a value of 'nodejs:10' when creating or updating an Action.
+The Node.js version 10.15.2 environment is used if the `--kind` flag is explicitly specified
with a value of 'nodejs:10' when creating or updating an Action.
 
 The following packages are pre-installed in the Node.js version 10 environment:
 


Mime
View raw message