Skip to content

Node 12 -> Node 14 #882

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Jun 16, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
strategy:
matrix:
node-version:
- 12.x
- 14.x
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

This repository contains a collection of samples showcasing some typical uses of [Cloud Functions for Firebase](https://firebase.google.com/features/functions).

> All samples use the Node 12 runtime and require the Blaze pay-as-you-go billing plan to deploy. Learn more about Cloud Functions for Firebase's Node versions [here](https://firebase.google.com/docs/functions/manage-functions#set_nodejs_version).
> All samples use the Node 14 runtime and require the Blaze pay-as-you-go billing plan to deploy. Learn more about Cloud Functions for Firebase's Node versions [here](https://firebase.google.com/docs/functions/manage-functions#set_nodejs_version).

### What's Cloud Functions for Firebase?

Expand Down
2 changes: 1 addition & 1 deletion assistant-say-number/functions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"compile": "cp ../../tsconfig.template.json ./tsconfig-compile.json && tsc --project tsconfig-compile.json"
},
"engines": {
"node": "12"
"node": "14"
},
"private": true
}
2 changes: 1 addition & 1 deletion authenticated-json-api/functions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"compile": "cp ../../tsconfig.template.json ./tsconfig-compile.json && tsc --project tsconfig-compile.json"
},
"engines": {
"node": "12"
"node": "14"
},
"private": true
}
2 changes: 1 addition & 1 deletion authorized-https-endpoint/functions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"compile": "cp ../../tsconfig.template.json ./tsconfig-compile.json && tsc --project tsconfig-compile.json"
},
"engines": {
"node": "12"
"node": "14"
},
"private": true
}
2 changes: 1 addition & 1 deletion bigquery-import/functions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"compile": "cp ../../tsconfig.template.json ./tsconfig-compile.json && tsc --project tsconfig-compile.json"
},
"engines": {
"node": "12"
"node": "14"
},
"private": true
}
2 changes: 1 addition & 1 deletion child-count/functions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"compile": "cp ../../tsconfig.template.json ./tsconfig-compile.json && tsc --project tsconfig-compile.json"
},
"engines": {
"node": "12"
"node": "14"
},
"private": true
}
2 changes: 1 addition & 1 deletion convert-images/functions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"compile": "cp ../../tsconfig.template.json ./tsconfig-compile.json && tsc --project tsconfig-compile.json"
},
"engines": {
"node": "12"
"node": "14"
},
"private": true
}
2 changes: 1 addition & 1 deletion coupon-on-purchase/functions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"compile": "cp ../../tsconfig.template.json ./tsconfig-compile.json && tsc --project tsconfig-compile.json"
},
"engines": {
"node": "12"
"node": "14"
},
"private": true
}
2 changes: 1 addition & 1 deletion delete-old-child-nodes/functions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"firebase-functions": "^3.14.1"
},
"engines": {
"node": "12"
"node": "14"
},
"scripts": {
"compile": "cp ../../tsconfig.template.json ./tsconfig-compile.json && tsc --project tsconfig-compile.json"
Expand Down
2 changes: 1 addition & 1 deletion delete-unused-accounts-cron/functions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"compile": "cp ../../tsconfig.template.json ./tsconfig-compile.json && tsc --project tsconfig-compile.json"
},
"engines": {
"node": "12"
"node": "14"
},
"private": true
}
2 changes: 1 addition & 1 deletion developer-motivator/functions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"compile": "cp ../../tsconfig.template.json ./tsconfig-compile.json && tsc --project tsconfig-compile.json"
},
"engines": {
"node": "12"
"node": "14"
},
"private": true
}
2 changes: 1 addition & 1 deletion email-confirmation/functions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"compile": "cp ../../tsconfig.template.json ./tsconfig-compile.json && tsc --project tsconfig-compile.json"
},
"engines": {
"node": "12"
"node": "14"
},
"private": true
}
2 changes: 1 addition & 1 deletion exif-images/functions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"compile": "cp ../../tsconfig.template.json ./tsconfig-compile.json && tsc --project tsconfig-compile.json"
},
"engines": {
"node": "12"
"node": "14"
},
"private": true
}
2 changes: 1 addition & 1 deletion fcm-notifications/functions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"compile": "cp ../../tsconfig.template.json ./tsconfig-compile.json && tsc --project tsconfig-compile.json"
},
"engines": {
"node": "12"
"node": "14"
},
"private": true
}
2 changes: 1 addition & 1 deletion ffmpeg-convert-audio/functions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"compile": "cp ../../tsconfig.template.json ./tsconfig-compile.json && tsc --project tsconfig-compile.json"
},
"engines": {
"node": "12"
"node": "14"
},
"private": true
}
2 changes: 1 addition & 1 deletion fulltext-search-firestore/functions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"compile": "cp ../../tsconfig.template.json ./tsconfig-compile.json && tsc --project tsconfig-compile.json"
},
"engines": {
"node": "12"
"node": "14"
},
"private": true
}
2 changes: 1 addition & 1 deletion fulltext-search/functions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"compile": "cp ../../tsconfig.template.json ./tsconfig-compile.json && tsc --project tsconfig-compile.json"
},
"engines": {
"node": "12"
"node": "14"
},
"private": true
}
2 changes: 1 addition & 1 deletion generate-thumbnail/functions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"compile": "cp ../../tsconfig.template.json ./tsconfig-compile.json && tsc --project tsconfig-compile.json"
},
"engines": {
"node": "12"
"node": "14"
},
"private": true
}
2 changes: 1 addition & 1 deletion github-to-slack/functions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"compile": "cp ../../tsconfig.template.json ./tsconfig-compile.json && tsc --project tsconfig-compile.json"
},
"engines": {
"node": "12"
"node": "14"
},
"private": true
}
2 changes: 1 addition & 1 deletion google-sheet-sync/functions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"compile": "cp ../../tsconfig.template.json ./tsconfig-compile.json && tsc --project tsconfig-compile.json"
},
"engines": {
"node": "12"
"node": "14"
},
"private": true
}
2 changes: 1 addition & 1 deletion image-maker/functions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"compile": "cp ../../tsconfig.template.json ./tsconfig-compile.json && tsc --project tsconfig-compile.json"
},
"engines": {
"node": "12"
"node": "14"
},
"private": true
}
2 changes: 1 addition & 1 deletion image-sharp/functions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"compile": "cp ../../tsconfig.template.json ./tsconfig-compile.json && tsc --project tsconfig-compile.json"
},
"engines": {
"node": "12"
"node": "14"
},
"private": true
}
2 changes: 1 addition & 1 deletion instagram-auth/functions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"compile": "cp ../../tsconfig.template.json ./tsconfig-compile.json && tsc --project tsconfig-compile.json"
},
"engines": {
"node": "12"
"node": "14"
},
"private": true
}
2 changes: 1 addition & 1 deletion lastmodified-tracking/functions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"compile": "cp ../../tsconfig.template.json ./tsconfig-compile.json && tsc --project tsconfig-compile.json"
},
"engines": {
"node": "12"
"node": "14"
},
"private": true
}
2 changes: 1 addition & 1 deletion limit-children/functions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"compile": "cp ../../tsconfig.template.json ./tsconfig-compile.json && tsc --project tsconfig-compile.json"
},
"engines": {
"node": "12"
"node": "14"
},
"private": true
}
2 changes: 1 addition & 1 deletion linkedin-auth/functions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"compile": "cp ../../tsconfig.template.json ./tsconfig-compile.json && tsc --project tsconfig-compile.json"
},
"engines": {
"node": "12"
"node": "14"
},
"private": true
}
2 changes: 1 addition & 1 deletion message-translation/functions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"compile": "cp ../../tsconfig.template.json ./tsconfig-compile.json && tsc --project tsconfig-compile.json"
},
"engines": {
"node": "12"
"node": "14"
},
"private": true
}
2 changes: 1 addition & 1 deletion minimal-webhook/functions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"compile": "cp ../../tsconfig.template.json ./tsconfig-compile.json && tsc --project tsconfig-compile.json"
},
"engines": {
"node": "12"
"node": "14"
},
"private": true
}
2 changes: 1 addition & 1 deletion moderate-images/functions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"compile": "cp ../../tsconfig.template.json ./tsconfig-compile.json && tsc --project tsconfig-compile.json"
},
"engines": {
"node": "12"
"node": "14"
},
"private": true
}
2 changes: 1 addition & 1 deletion paypal/functions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"compile": "cp ../../tsconfig.template.json ./tsconfig-compile.json && tsc --project tsconfig-compile.json"
},
"engines": {
"node": "12"
"node": "14"
},
"private": true
}
2 changes: 1 addition & 1 deletion presence-firestore/functions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"compile": "cp ../../tsconfig.template.json ./tsconfig-compile.json && tsc --project tsconfig-compile.json"
},
"engines": {
"node": "12"
"node": "14"
},
"private": true
}
2 changes: 1 addition & 1 deletion publish-model/functions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"compile": "cp ../../tsconfig.template.json ./tsconfig-compile.json && tsc --project tsconfig-compile.json"
},
"engines": {
"node": "12"
"node": "14"
},
"dependencies": {
"firebase-admin": "^9.9.0",
Expand Down
2 changes: 1 addition & 1 deletion quickstarts/big-ben/functions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"compile": "cp ../../../tsconfig.template.json ./tsconfig-compile.json && tsc --project tsconfig-compile.json"
},
"engines": {
"node": "12"
"node": "14"
},
"private": true
}
2 changes: 1 addition & 1 deletion quickstarts/email-users/functions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"compile": "cp ../../../tsconfig.template.json ./tsconfig-compile.json && tsc --project tsconfig-compile.json"
},
"engines": {
"node": "12"
"node": "14"
},
"private": true
}
2 changes: 1 addition & 1 deletion quickstarts/pubsub-helloworld/functions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"compile": "cp ../../../tsconfig.template.json ./tsconfig-compile.json && tsc --project tsconfig-compile.json"
},
"engines": {
"node": "12"
"node": "14"
},
"private": true
}
2 changes: 1 addition & 1 deletion quickstarts/runtime-options/functions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"logs": "firebase functions:log"
},
"engines": {
"node": "12"
"node": "14"
},
"main": "index.js",
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion quickstarts/test-complete/functions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"compile": "cp ../../../tsconfig.template.json ./tsconfig-compile.json && tsc --project tsconfig-compile.json"
},
"engines": {
"node": "12"
"node": "14"
},
"dependencies": {
"firebase-admin": "^9.9.0",
Expand Down
2 changes: 1 addition & 1 deletion quickstarts/thumbnails/functions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"compile": "cp ../../../tsconfig.template.json ./tsconfig-compile.json && tsc --project tsconfig-compile.json"
},
"engines": {
"node": "12"
"node": "14"
},
"private": true
}
2 changes: 1 addition & 1 deletion quickstarts/time-server/functions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"compile": "cp ../../../tsconfig.template.json ./tsconfig-compile.json && tsc --project tsconfig-compile.json"
},
"engines": {
"node": "12"
"node": "14"
},
"private": true
}
2 changes: 1 addition & 1 deletion quickstarts/uppercase-firestore/functions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"compile": "cp ../../../tsconfig.template.json ./tsconfig-compile.json && tsc --project tsconfig-compile.json"
},
"engines": {
"node": "12"
"node": "14"
},
"private": true
}
2 changes: 1 addition & 1 deletion quickstarts/uppercase/functions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"compile": "cp ../../../tsconfig.template.json ./tsconfig-compile.json && tsc --project tsconfig-compile.json"
},
"engines": {
"node": "12"
"node": "14"
},
"private": true
}
2 changes: 1 addition & 1 deletion spotify-auth/functions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"compile": "cp ../../tsconfig.template.json ./tsconfig-compile.json && tsc --project tsconfig-compile.json"
},
"engines": {
"node": "12"
"node": "14"
},
"private": true
}
2 changes: 1 addition & 1 deletion stripe/functions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"compile": "cp ../../tsconfig.template.json ./tsconfig-compile.json && tsc --project tsconfig-compile.json"
},
"engines": {
"node": "12"
"node": "14"
},
"private": true
}
Loading