From 441749af35e036e093ae0a54f69adc73e2895d88 Mon Sep 17 00:00:00 2001 From: Thor Date: Tue, 2 Jul 2019 19:56:33 +0200 Subject: [PATCH] Upgrade runtime to nodejs10. (#76) --- README.md | 2 +- app.yaml | 2 +- package.json | 2 +- server/node/README.md | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index fcd58106..82c24137 100644 --- a/README.md +++ b/README.md @@ -76,7 +76,7 @@ All servers have the same endpoints to handle requests from the frontend and int You’ll need the following: -- [Node.js](http://nodejs.org) >= 8.x. +- [Node.js](http://nodejs.org) >= 10.x. - Modern browser that supports ES6 (Chrome to see the Payment Request, and Safari to see Apple Pay). - Stripe account to accept payments ([sign up](https://dashboard.stripe.com/register) for free). diff --git a/app.yaml b/app.yaml index fae42336..fe7800c4 100644 --- a/app.yaml +++ b/app.yaml @@ -1,6 +1,6 @@ # Configuration for Node in App Engine standard on Google Cloud Platform. -runtime: nodejs8 +runtime: nodejs10 instance_class: F1 handlers: diff --git a/package.json b/package.json index 3afa48d4..ba8fcaca 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,7 @@ "url": "https://github.com/stripe/stripe-payments-demo.git" }, "engines": { - "node": "8.x" + "node": "10.x" }, "scripts": { "start": "node server/node/server.js", diff --git a/server/node/README.md b/server/node/README.md index d8a33253..dbbbf19c 100644 --- a/server/node/README.md +++ b/server/node/README.md @@ -6,7 +6,7 @@ This directory contains the main Node implementation of the payments server. You’ll need the following: -- [Node.js](http://nodejs.org) >= 8.x. +- [Node.js](http://nodejs.org) >= 10.x. - Modern browser that supports ES6 (Chrome to see the Payment Request, and Safari to see Apple Pay). - Stripe account to accept payments ([sign up](https://dashboard.stripe.com/register) for free).