Skip to content

Commit df543dc

Browse files
authoredMar 20, 2020
Update dependencies to fix TS build issue (#638)
1 parent 9e05b7f commit df543dc

File tree

2 files changed

+15
-5
lines changed

2 files changed

+15
-5
lines changed
 

‎CHANGELOG.md

+11-1
Original file line numberDiff line numberDiff line change
@@ -1 +1,11 @@
1-
- Adds support for maxInstances.
1+
- Adds support for defining max number of instances for a function. Example:
2+
3+
```
4+
functions.runWith({
5+
maxInstances: 10
6+
}).https.onRequest(...);
7+
```
8+
9+
Learn more about max instances in the [Google Cloud documentation.](https://cloud.google.com/functions/docs/max-instances)
10+
11+
- Fixes TypeScript build error when `package-lock.json` is present by updating dependencies (Issue #637).

‎package.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
"test": "mocha"
3939
},
4040
"dependencies": {
41-
"@types/express": "^4.17.0",
41+
"@types/express": "^4.17.3",
4242
"cors": "^2.8.5",
4343
"express": "^4.17.1",
4444
"jsonwebtoken": "^8.5.1",
@@ -61,7 +61,7 @@
6161
"firebase-admin": "^8.2.0",
6262
"istanbul": "^0.4.5",
6363
"js-yaml": "^3.13.1",
64-
"jsdom": "^15.2.0",
64+
"jsdom": "^16.2.1",
6565
"mocha": "^6.1.4",
6666
"mock-require": "^3.0.3",
6767
"mz": "^2.7.0",
@@ -73,9 +73,9 @@
7373
"tslint-config-prettier": "^1.18.0",
7474
"tslint-no-unused-expression-chai": "^0.1.4",
7575
"tslint-plugin-prettier": "^2.0.1",
76-
"typedoc": "^0.14.2",
76+
"typedoc": "^0.17.1",
7777
"typescript": "^3.5.2",
78-
"yargs": "^13.2.4"
78+
"yargs": "^15.3.1"
7979
},
8080
"peerDependencies": {
8181
"firebase-admin": "^8.0.0"

0 commit comments

Comments
 (0)
Please sign in to comment.