Skip to content

Commit

Permalink
fix: require node.js 8.13.0 and up (http/2) (#1291)
Browse files Browse the repository at this point in the history
  • Loading branch information
JustinBeckwith authored May 17, 2019
1 parent b349304 commit 0056e70
Show file tree
Hide file tree
Showing 66 changed files with 68 additions and 66 deletions.
2 changes: 1 addition & 1 deletion appengine/analytics/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"url": "https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git"
},
"engines": {
"node": ">=8"
"node": ">=8.13.0"
},
"scripts": {
"start": "node app.js",
Expand Down
2 changes: 1 addition & 1 deletion appengine/building-an-app/build/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"url": "https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git"
},
"engines": {
"node": ">=8"
"node": ">=8.13.0"
},
"author": "Google Inc.",
"license": "Apache-2.0",
Expand Down
2 changes: 1 addition & 1 deletion appengine/building-an-app/update/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"url": "https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git"
},
"engines": {
"node": ">=8"
"node": ">=8.13.0"
},
"author": "Google Inc.",
"license": "Apache-2.0",
Expand Down
2 changes: 1 addition & 1 deletion appengine/cloudsql/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"url": "https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git"
},
"engines": {
"node": ">=8"
"node": ">=8.13.0"
},
"scripts": {
"unit-test": "mocha test/*.test.js --timeout=60000",
Expand Down
2 changes: 1 addition & 1 deletion appengine/cloudsql_postgresql/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"url": "https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git"
},
"engines": {
"node": ">=8"
"node": ">=8.13.0"
},
"scripts": {
"unit-test": "mocha test/*.test.js --timeout=30000",
Expand Down
2 changes: 1 addition & 1 deletion appengine/datastore/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"url": "https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git"
},
"engines": {
"node": ">=8"
"node": ">=8.13.0"
},
"scripts": {
"start": "node app.js",
Expand Down
2 changes: 1 addition & 1 deletion appengine/endpoints/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"url": "https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git"
},
"engines": {
"node": ">=8.0.0"
"node": ">=8.13.0"
},
"scripts": {
"deploy": "gcloud app deploy",
Expand Down
2 changes: 1 addition & 1 deletion appengine/headless-chrome/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "headless-chrome-sample",
"engines": {
"node": "8.x"
"node": ">=8.13.0"
},
"version": "1.0.0",
"description": "An example of taking screenshot with Puppeteer (Headless Chrome) in Node.js on Google App Engine.",
Expand Down
2 changes: 1 addition & 1 deletion appengine/hello-world/flexible/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"url": "https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git"
},
"engines": {
"node": ">=8.0.0"
"node": ">=8.13.0"
},
"scripts": {
"deploy": "gcloud app deploy",
Expand Down
2 changes: 1 addition & 1 deletion appengine/hello-world/standard/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"url": "https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git"
},
"engines": {
"node": ">=8"
"node": ">=8.13.0"
},
"scripts": {
"deploy": "gcloud app deploy",
Expand Down
2 changes: 1 addition & 1 deletion appengine/mailjet/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"url": "https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git"
},
"engines": {
"node": ">=8"
"node": ">=8.13.0"
},
"scripts": {
"start": "node app.js",
Expand Down
2 changes: 1 addition & 1 deletion appengine/memcached/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"license": "Apache Version 2.0",
"author": "Google Inc.",
"engines": {
"node": ">=8"
"node": ">=8.13.0"
},
"scripts": {
"start": "node app.js",
Expand Down
2 changes: 1 addition & 1 deletion appengine/metadata/flexible/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"url": "https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git"
},
"engines": {
"node": ">=8"
"node": ">=8.13.0"
},
"scripts": {
"system-test": "repo-tools test app -- server.js",
Expand Down
2 changes: 1 addition & 1 deletion appengine/metadata/standard/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"url": "https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git"
},
"engines": {
"node": ">=8"
"node": ">=8.13.0"
},
"scripts": {
"system-test": "repo-tools test app -- ./server.js",
Expand Down
2 changes: 1 addition & 1 deletion appengine/pubsub/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"license": "Apache Version 2.0",
"author": "Google Inc.",
"engines": {
"node": ">=8"
"node": ">=8.13.0"
},
"scripts": {
"start": "node app.js",
Expand Down
2 changes: 1 addition & 1 deletion appengine/redis/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"license": "Apache Version 2.0",
"author": "Google Inc.",
"engines": {
"node": ">=8"
"node": ">=8.13.0"
},
"scripts": {
"start": "node server.js",
Expand Down
2 changes: 1 addition & 1 deletion appengine/sendgrid/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"license": "Apache Version 2.0",
"author": "Google Inc.",
"engines": {
"node": ">=8"
"node": ">=8.13.0"
},
"scripts": {
"start": "node app.js",
Expand Down
2 changes: 1 addition & 1 deletion appengine/static-files/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"license": "Apache Version 2.0",
"author": "Google Inc.",
"engines": {
"node": ">=8"
"node": ">=8.13.0"
},
"scripts": {
"start": "node app.js",
Expand Down
2 changes: 1 addition & 1 deletion appengine/storage/flexible/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"test": "mocha system-test/*.test.js --timeout=30000"
},
"engines": {
"node": ">=8.0.0"
"node": ">=8.13.0"
},
"dependencies": {
"@google-cloud/storage": "^2.3.3",
Expand Down
2 changes: 1 addition & 1 deletion appengine/storage/standard/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"test": "mocha system-test/*.test.js --timeout=30000"
},
"engines": {
"node": ">=8"
"node": ">=8.13.0"
},
"dependencies": {
"@google-cloud/storage": "^2.3.3",
Expand Down
2 changes: 1 addition & 1 deletion appengine/twilio/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"license": "Apache Version 2.0",
"author": "Google Inc.",
"engines": {
"node": ">=8"
"node": ">=8.13.0"
},
"scripts": {
"start": "node app.js",
Expand Down
2 changes: 1 addition & 1 deletion appengine/typescript/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"license": "Apache Version 2.0",
"author": "Google Inc.",
"engines": {
"node": ">=8.0.0"
"node": ">=8.13.0"
},
"scripts": {
"prepare": "npm run gcp-build",
Expand Down
2 changes: 1 addition & 1 deletion appengine/websockets/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"license": "Apache Version 2.0",
"author": "Google Inc.",
"engines": {
"node": ">=8"
"node": ">=8.13.0"
},
"scripts": {
"deploy": "gcloud app deploy",
Expand Down
2 changes: 1 addition & 1 deletion auth/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"url": "https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git"
},
"engines": {
"node": ">=8"
"node": ">=8.13.0"
},
"scripts": {
"test": "repo-tools test install --cmd=npm -- run system-test",
Expand Down
2 changes: 1 addition & 1 deletion cloud-sql/mysql/mysql/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"url": "https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git"
},
"engines": {
"node": ">=8"
"node": ">=8.13.0"
},
"scripts": {
"system-test": "mocha test/*.test.js --timeout=60000 --exit",
Expand Down
2 changes: 1 addition & 1 deletion cloud-sql/postgres/knex/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"url": "https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git"
},
"engines": {
"node": ">=8"
"node": ">=8.13.0"
},
"scripts": {
"unit-test": "mocha test/*.test.js --timeout=60000 --exit",
Expand Down
2 changes: 1 addition & 1 deletion containerengine/hello-world/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"url": "https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git"
},
"engines": {
"node": ">=8.0.0"
"node": ">=8.13.0"
},
"scripts": {
"start": "node server.js",
Expand Down
2 changes: 1 addition & 1 deletion endpoints/getting-started-grpc/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"url": "https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git"
},
"engines": {
"node": ">=8"
"node": ">=8.13.0"
},
"scripts": {
"start": "node server.js",
Expand Down
2 changes: 1 addition & 1 deletion endpoints/getting-started/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"url": "https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git"
},
"engines": {
"node": ">=8.0.0"
"node": ">=8.13.0"
},
"scripts": {
"start": "node app.js",
Expand Down
2 changes: 1 addition & 1 deletion functions/background/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"url": "https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git"
},
"engines": {
"node": ">=8"
"node": ">=8.13.0"
},
"scripts": {
"test": "mocha test/*.test.js --timeout=20000"
Expand Down
2 changes: 1 addition & 1 deletion functions/billing/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "Examples of integrating Cloud Functions with billing",
"main": "index.js",
"engines": {
"node": ">=8"
"node": ">=8.13.0"
},
"scripts": {
"test": "mocha test/*.test.js --timeout=20000"
Expand Down
2 changes: 1 addition & 1 deletion functions/composer-storage-trigger/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"node-fetch": "^2.2.0"
},
"engines": {
"node": ">=8"
"node": ">=8.13.0"
},
"private": true,
"license": "Apache-2.0",
Expand Down
2 changes: 1 addition & 1 deletion functions/concepts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"url": "https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git"
},
"engines": {
"node": ">=8"
"node": ">=8.13.0"
},
"dependencies": {
"request": "^2.85.0"
Expand Down
2 changes: 1 addition & 1 deletion functions/datastore/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"url": "https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git"
},
"engines": {
"node": ">=8"
"node": ">=8.13.0"
},
"scripts": {
"e2e-test": "export FUNCTIONS_CMD='gcloud functions' && sh test/updateFunctions.sh && BASE_URL=\"https://$GCF_REGION-$GCLOUD_PROJECT.cloudfunctions.net/\" mocha test/*.test.js --timeout=60000",
Expand Down
2 changes: 1 addition & 1 deletion functions/env_vars/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"url": "https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git"
},
"engines": {
"node": ">=8"
"node": ">=8.13.0"
},
"scripts": {
"test": "mocha test/*.test.js --timeout=20000"
Expand Down
2 changes: 1 addition & 1 deletion functions/firebase/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"url": "https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git"
},
"engines": {
"node": ">=8"
"node": ">=8.13.0"
},
"scripts": {
"test": "ava -T 30s test/*.test.js"
Expand Down
2 changes: 1 addition & 1 deletion functions/headless-chrome/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"url": "https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git"
},
"engines": {
"node": ">=8"
"node": ">=8.13.0"
},
"scripts": {
"e2e-test": "export FUNCTIONS_CMD='gcloud beta functions' && sh test/updateFunctions.sh && BASE_URL=\"https://$GCF_REGION-$GCLOUD_PROJECT.cloudfunctions.net/\" && npm run test",
Expand Down
2 changes: 1 addition & 1 deletion functions/helloworld/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"url": "https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git"
},
"engines": {
"node": ">=8"
"node": ">=8.13.0"
},
"scripts": {
"e2e-test": "export FUNCTIONS_CMD='gcloud functions' && sh test/updateFunctions.sh && BASE_URL=\"https://$GCP_REGION-$GCLOUD_PROJECT.cloudfunctions.net/\" mocha test/*.test.js --timeout=60000 --exit",
Expand Down
2 changes: 1 addition & 1 deletion functions/http/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"url": "https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git"
},
"engines": {
"node": ">=8"
"node": ">=8.13.0"
},
"scripts": {
"test": "mocha test/*.test.js --timeout=60000"
Expand Down
2 changes: 1 addition & 1 deletion functions/imagemagick/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"url": "https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git"
},
"engines": {
"node": ">=8"
"node": ">=8.13.0"
},
"scripts": {
"test": "mocha test/*.test.js --timeout=20000"
Expand Down
2 changes: 1 addition & 1 deletion functions/log/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"url": "https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git"
},
"engines": {
"node": ">=8"
"node": ">=8.13.0"
},
"scripts": {
"test": "mocha test/*.test.js --timeout=20000"
Expand Down
2 changes: 1 addition & 1 deletion functions/node8/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"test": "mocha test/*.test.js --timeout=20000"
},
"engines": {
"node": ">=8"
"node": ">=8.13.0"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion functions/ocr/app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"url": "https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git"
},
"engines": {
"node": ">=8"
"node": ">=8.13.0"
},
"scripts": {
"test": "mocha test/*.test.js --timeout=20000"
Expand Down
2 changes: 1 addition & 1 deletion functions/pubsub/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"url": "https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git"
},
"engines": {
"node": ">=8"
"node": ">=8.13.0"
},
"scripts": {
"test": "mocha test/*.test.js --timeout=20000"
Expand Down
Loading

0 comments on commit 0056e70

Please sign in to comment.