firebase-tools 10.9.1 → 10.9.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -189,16 +189,15 @@ function parseEndpoints(manifest, id, project, defaultRegion, runtime) {
189
189
  runtime, entryPoint: ep.entryPoint }, triggered);
190
190
  (0, proto_1.copyIfPresent)(parsed, ep, "availableMemoryMb", "maxInstances", "minInstances", "concurrency", "serviceAccountEmail", "timeoutSeconds", "vpc", "labels", "ingressSettings", "environmentVariables", "cpu");
191
191
  (0, proto_1.renameIfPresent)(parsed, ep, "secretEnvironmentVariables", "secretEnvironmentVariables", (senvs) => {
192
- if (senvs && senvs.length > 0) {
193
- ep.secretEnvironmentVariables = [];
194
- for (const { key, secret } of senvs) {
195
- ep.secretEnvironmentVariables.push({
196
- key,
197
- secret: secret || key,
198
- projectId: project,
199
- });
200
- }
192
+ const secretEnvironmentVariables = [];
193
+ for (const { key, secret } of senvs) {
194
+ secretEnvironmentVariables.push({
195
+ key,
196
+ secret: secret || key,
197
+ projectId: project,
198
+ });
201
199
  }
200
+ return secretEnvironmentVariables;
202
201
  });
203
202
  allParsed.push(parsed);
204
203
  }
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "firebase-tools",
3
- "version": "10.9.1",
3
+ "version": "10.9.2",
4
4
  "lockfileVersion": 2,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "firebase-tools",
9
- "version": "10.9.1",
9
+ "version": "10.9.2",
10
10
  "license": "MIT",
11
11
  "dependencies": {
12
12
  "@google-cloud/pubsub": "^2.18.4",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "firebase-tools",
3
- "version": "10.9.1",
3
+ "version": "10.9.2",
4
4
  "description": "Command-Line Interface for Firebase",
5
5
  "main": "./lib/index.js",
6
6
  "bin": {