firebase-admin 10.2.0 → 11.0.1

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.
Files changed (192) hide show
  1. package/README.md +1 -1
  2. package/lib/app/core.d.ts +1 -1
  3. package/lib/app/core.js +1 -1
  4. package/lib/app/credential-factory.d.ts +1 -1
  5. package/lib/app/credential-factory.js +8 -8
  6. package/lib/app/credential-internal.d.ts +7 -1
  7. package/lib/app/credential-internal.js +120 -106
  8. package/lib/app/credential.d.ts +1 -1
  9. package/lib/app/credential.js +1 -1
  10. package/lib/app/firebase-app.d.ts +1 -1
  11. package/lib/app/firebase-app.js +76 -91
  12. package/lib/app/firebase-namespace.d.ts +1 -1
  13. package/lib/app/firebase-namespace.js +209 -279
  14. package/lib/app/index.d.ts +1 -1
  15. package/lib/app/index.js +4 -4
  16. package/lib/app/lifecycle.d.ts +1 -1
  17. package/lib/app/lifecycle.js +37 -43
  18. package/lib/app-check/app-check-api-client-internal.d.ts +1 -1
  19. package/lib/app-check/app-check-api-client-internal.js +54 -73
  20. package/lib/app-check/app-check-api.d.ts +1 -1
  21. package/lib/app-check/app-check-api.js +1 -1
  22. package/lib/app-check/app-check-namespace.d.ts +1 -1
  23. package/lib/app-check/app-check-namespace.js +1 -1
  24. package/lib/app-check/app-check.d.ts +1 -1
  25. package/lib/app-check/app-check.js +17 -19
  26. package/lib/app-check/index.d.ts +1 -1
  27. package/lib/app-check/index.js +7 -7
  28. package/lib/app-check/token-generator.d.ts +1 -1
  29. package/lib/app-check/token-generator.js +47 -52
  30. package/lib/app-check/token-verifier.d.ts +1 -1
  31. package/lib/app-check/token-verifier.js +46 -50
  32. package/lib/auth/action-code-settings-builder.d.ts +1 -1
  33. package/lib/auth/action-code-settings-builder.js +10 -11
  34. package/lib/auth/auth-api-request.d.ts +1 -1
  35. package/lib/auth/auth-api-request.js +346 -393
  36. package/lib/auth/auth-config.d.ts +1 -1
  37. package/lib/auth/auth-config.js +95 -106
  38. package/lib/auth/auth-namespace.d.ts +1 -1
  39. package/lib/auth/auth-namespace.js +1 -1
  40. package/lib/auth/auth.d.ts +1 -1
  41. package/lib/auth/auth.js +20 -40
  42. package/lib/auth/base-auth.d.ts +1 -1
  43. package/lib/auth/base-auth.js +137 -144
  44. package/lib/auth/identifier.d.ts +1 -1
  45. package/lib/auth/identifier.js +2 -2
  46. package/lib/auth/index.d.ts +1 -1
  47. package/lib/auth/index.js +7 -7
  48. package/lib/auth/tenant-manager.d.ts +1 -1
  49. package/lib/auth/tenant-manager.js +49 -71
  50. package/lib/auth/tenant.d.ts +1 -1
  51. package/lib/auth/tenant.js +44 -55
  52. package/lib/auth/token-generator.d.ts +1 -1
  53. package/lib/auth/token-generator.js +49 -53
  54. package/lib/auth/token-verifier.d.ts +1 -1
  55. package/lib/auth/token-verifier.js +83 -91
  56. package/lib/auth/user-import-builder.d.ts +1 -1
  57. package/lib/auth/user-import-builder.js +70 -73
  58. package/lib/auth/user-record.d.ts +1 -1
  59. package/lib/auth/user-record.js +62 -84
  60. package/lib/credential/index.d.ts +1 -1
  61. package/lib/credential/index.js +2 -2
  62. package/lib/database/database-namespace.d.ts +1 -1
  63. package/lib/database/database-namespace.js +1 -1
  64. package/lib/database/database.d.ts +1 -1
  65. package/lib/database/database.js +92 -108
  66. package/lib/database/index.d.ts +1 -1
  67. package/lib/database/index.js +10 -10
  68. package/lib/default-namespace.d.ts +1 -1
  69. package/lib/default-namespace.js +2 -2
  70. package/lib/eventarc/cloudevent.d.ts +1 -1
  71. package/lib/eventarc/cloudevent.js +1 -1
  72. package/lib/eventarc/eventarc-client-internal.d.ts +1 -1
  73. package/lib/eventarc/eventarc-client-internal.js +63 -129
  74. package/lib/eventarc/eventarc-utils.d.ts +1 -1
  75. package/lib/eventarc/eventarc-utils.js +16 -32
  76. package/lib/eventarc/eventarc.d.ts +1 -1
  77. package/lib/eventarc/eventarc.js +51 -65
  78. package/lib/eventarc/index.d.ts +1 -1
  79. package/lib/eventarc/index.js +7 -7
  80. package/lib/firebase-namespace-api.d.ts +1 -1
  81. package/lib/firebase-namespace-api.js +8 -3
  82. package/lib/firestore/firestore-internal.d.ts +1 -1
  83. package/lib/firestore/firestore-internal.js +28 -37
  84. package/lib/firestore/firestore-namespace.d.ts +9 -1
  85. package/lib/firestore/firestore-namespace.js +2 -2
  86. package/lib/firestore/index.d.ts +2 -2
  87. package/lib/firestore/index.js +7 -7
  88. package/lib/functions/functions-api-client-internal.d.ts +19 -1
  89. package/lib/functions/functions-api-client-internal.js +83 -103
  90. package/lib/functions/functions-api.d.ts +1 -1
  91. package/lib/functions/functions-api.js +1 -1
  92. package/lib/functions/functions.d.ts +1 -1
  93. package/lib/functions/functions.js +13 -15
  94. package/lib/functions/index.d.ts +1 -1
  95. package/lib/functions/index.js +7 -7
  96. package/lib/index.d.ts +1 -1
  97. package/lib/index.js +14 -4
  98. package/lib/installations/index.d.ts +1 -1
  99. package/lib/installations/index.js +6 -6
  100. package/lib/installations/installations-namespace.d.ts +1 -1
  101. package/lib/installations/installations-namespace.js +1 -1
  102. package/lib/installations/installations-request-handler.d.ts +1 -1
  103. package/lib/installations/installations-request-handler.js +33 -36
  104. package/lib/installations/installations.d.ts +1 -1
  105. package/lib/installations/installations.js +17 -22
  106. package/lib/instance-id/index.d.ts +1 -1
  107. package/lib/instance-id/index.js +6 -6
  108. package/lib/instance-id/instance-id-namespace.d.ts +1 -1
  109. package/lib/instance-id/instance-id-namespace.js +1 -1
  110. package/lib/instance-id/instance-id.d.ts +1 -1
  111. package/lib/instance-id/instance-id.js +21 -26
  112. package/lib/machine-learning/index.d.ts +1 -1
  113. package/lib/machine-learning/index.js +7 -7
  114. package/lib/machine-learning/machine-learning-api-client.d.ts +1 -1
  115. package/lib/machine-learning/machine-learning-api-client.js +110 -124
  116. package/lib/machine-learning/machine-learning-namespace.d.ts +1 -1
  117. package/lib/machine-learning/machine-learning-namespace.js +1 -1
  118. package/lib/machine-learning/machine-learning-utils.d.ts +1 -1
  119. package/lib/machine-learning/machine-learning-utils.js +9 -24
  120. package/lib/machine-learning/machine-learning.d.ts +1 -1
  121. package/lib/machine-learning/machine-learning.js +146 -207
  122. package/lib/messaging/batch-request-internal.d.ts +1 -1
  123. package/lib/messaging/batch-request-internal.js +33 -35
  124. package/lib/messaging/index.d.ts +1 -1
  125. package/lib/messaging/index.js +7 -7
  126. package/lib/messaging/messaging-api-request-internal.d.ts +1 -1
  127. package/lib/messaging/messaging-api-request-internal.js +38 -40
  128. package/lib/messaging/messaging-api.d.ts +1 -1
  129. package/lib/messaging/messaging-api.js +1 -1
  130. package/lib/messaging/messaging-errors-internal.d.ts +1 -1
  131. package/lib/messaging/messaging-errors-internal.js +12 -13
  132. package/lib/messaging/messaging-internal.d.ts +1 -1
  133. package/lib/messaging/messaging-internal.js +51 -51
  134. package/lib/messaging/messaging-namespace.d.ts +1 -1
  135. package/lib/messaging/messaging-namespace.js +1 -1
  136. package/lib/messaging/messaging.d.ts +1 -1
  137. package/lib/messaging/messaging.js +184 -208
  138. package/lib/project-management/android-app.d.ts +1 -1
  139. package/lib/project-management/android-app.js +41 -43
  140. package/lib/project-management/app-metadata.d.ts +1 -1
  141. package/lib/project-management/app-metadata.js +1 -1
  142. package/lib/project-management/index.d.ts +1 -1
  143. package/lib/project-management/index.js +7 -7
  144. package/lib/project-management/ios-app.d.ts +1 -1
  145. package/lib/project-management/ios-app.js +25 -26
  146. package/lib/project-management/project-management-api-request-internal.d.ts +1 -1
  147. package/lib/project-management/project-management-api-request-internal.js +84 -89
  148. package/lib/project-management/project-management-namespace.d.ts +1 -1
  149. package/lib/project-management/project-management-namespace.js +1 -1
  150. package/lib/project-management/project-management.d.ts +1 -1
  151. package/lib/project-management/project-management.js +80 -87
  152. package/lib/remote-config/index.d.ts +1 -1
  153. package/lib/remote-config/index.js +7 -7
  154. package/lib/remote-config/remote-config-api-client-internal.d.ts +1 -1
  155. package/lib/remote-config/remote-config-api-client-internal.js +116 -154
  156. package/lib/remote-config/remote-config-api.d.ts +1 -1
  157. package/lib/remote-config/remote-config-api.js +1 -1
  158. package/lib/remote-config/remote-config-namespace.d.ts +1 -1
  159. package/lib/remote-config/remote-config-namespace.js +1 -1
  160. package/lib/remote-config/remote-config.d.ts +1 -1
  161. package/lib/remote-config/remote-config.js +51 -59
  162. package/lib/security-rules/index.d.ts +1 -1
  163. package/lib/security-rules/index.js +7 -7
  164. package/lib/security-rules/security-rules-api-client-internal.d.ts +3 -1
  165. package/lib/security-rules/security-rules-api-client-internal.js +118 -107
  166. package/lib/security-rules/security-rules-internal.d.ts +1 -1
  167. package/lib/security-rules/security-rules-internal.js +6 -21
  168. package/lib/security-rules/security-rules-namespace.d.ts +1 -1
  169. package/lib/security-rules/security-rules-namespace.js +1 -1
  170. package/lib/security-rules/security-rules.d.ts +1 -1
  171. package/lib/security-rules/security-rules.js +83 -92
  172. package/lib/storage/index.d.ts +1 -1
  173. package/lib/storage/index.js +7 -7
  174. package/lib/storage/storage-namespace.d.ts +1 -1
  175. package/lib/storage/storage-namespace.js +1 -1
  176. package/lib/storage/storage.d.ts +1 -1
  177. package/lib/storage/storage.js +25 -30
  178. package/lib/utils/api-request.d.ts +3 -1
  179. package/lib/utils/api-request.js +278 -356
  180. package/lib/utils/crypto-signer.d.ts +1 -1
  181. package/lib/utils/crypto-signer.js +58 -93
  182. package/lib/utils/deep-copy.d.ts +1 -1
  183. package/lib/utils/deep-copy.js +3 -3
  184. package/lib/utils/error.d.ts +1 -1
  185. package/lib/utils/error.js +611 -681
  186. package/lib/utils/index.d.ts +1 -1
  187. package/lib/utils/index.js +38 -43
  188. package/lib/utils/jwt.d.ts +1 -1
  189. package/lib/utils/jwt.js +97 -123
  190. package/lib/utils/validator.d.ts +1 -1
  191. package/lib/utils/validator.js +13 -13
  192. package/package.json +25 -10
@@ -1,4 +1,4 @@
1
- /*! firebase-admin v10.2.0 */
1
+ /*! firebase-admin v11.0.1 */
2
2
  /*!
3
3
  * @license
4
4
  * Copyright 2021 Google Inc.
@@ -1,4 +1,4 @@
1
- /*! firebase-admin v10.2.0 */
1
+ /*! firebase-admin v11.0.1 */
2
2
  "use strict";
3
3
  /*!
4
4
  * @license
@@ -16,36 +16,23 @@
16
16
  * See the License for the specific language governing permissions and
17
17
  * limitations under the License.
18
18
  */
19
- var __extends = (this && this.__extends) || (function () {
20
- var extendStatics = function (d, b) {
21
- extendStatics = Object.setPrototypeOf ||
22
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
23
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
24
- return extendStatics(d, b);
25
- };
26
- return function (d, b) {
27
- extendStatics(d, b);
28
- function __() { this.constructor = d; }
29
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
30
- };
31
- })();
32
19
  Object.defineProperty(exports, "__esModule", { value: true });
33
20
  exports.CryptoSignerErrorCode = exports.CryptoSignerError = exports.cryptoSignerFromApp = exports.IAMSigner = exports.ServiceAccountSigner = void 0;
34
- var credential_internal_1 = require("../app/credential-internal");
35
- var api_request_1 = require("./api-request");
36
- var validator = require("../utils/validator");
37
- var ALGORITHM_RS256 = 'RS256';
21
+ const credential_internal_1 = require("../app/credential-internal");
22
+ const api_request_1 = require("./api-request");
23
+ const validator = require("../utils/validator");
24
+ const ALGORITHM_RS256 = 'RS256';
38
25
  /**
39
26
  * A CryptoSigner implementation that uses an explicitly specified service account private key to
40
27
  * sign data. Performs all operations locally, and does not make any RPC calls.
41
28
  */
42
- var ServiceAccountSigner = /** @class */ (function () {
29
+ class ServiceAccountSigner {
43
30
  /**
44
31
  * Creates a new CryptoSigner instance from the given service account credential.
45
32
  *
46
33
  * @param credential - A service account credential.
47
34
  */
48
- function ServiceAccountSigner(credential) {
35
+ constructor(credential) {
49
36
  this.credential = credential;
50
37
  this.algorithm = ALGORITHM_RS256;
51
38
  if (!credential) {
@@ -58,20 +45,19 @@ var ServiceAccountSigner = /** @class */ (function () {
58
45
  /**
59
46
  * @inheritDoc
60
47
  */
61
- ServiceAccountSigner.prototype.sign = function (buffer) {
62
- var crypto = require('crypto'); // eslint-disable-line @typescript-eslint/no-var-requires
63
- var sign = crypto.createSign('RSA-SHA256');
48
+ sign(buffer) {
49
+ const crypto = require('crypto'); // eslint-disable-line @typescript-eslint/no-var-requires
50
+ const sign = crypto.createSign('RSA-SHA256');
64
51
  sign.update(buffer);
65
52
  return Promise.resolve(sign.sign(this.credential.privateKey));
66
- };
53
+ }
67
54
  /**
68
55
  * @inheritDoc
69
56
  */
70
- ServiceAccountSigner.prototype.getAccountId = function () {
57
+ getAccountId() {
71
58
  return Promise.resolve(this.credential.clientEmail);
72
- };
73
- return ServiceAccountSigner;
74
- }());
59
+ }
60
+ }
75
61
  exports.ServiceAccountSigner = ServiceAccountSigner;
76
62
  /**
77
63
  * A CryptoSigner implementation that uses the remote IAM service to sign data. If initialized without
@@ -81,8 +67,8 @@ exports.ServiceAccountSigner = ServiceAccountSigner;
81
67
  * @see https://cloud.google.com/iam/reference/rest/v1/projects.serviceAccounts/signBlob
82
68
  * @see https://cloud.google.com/compute/docs/storing-retrieving-metadata
83
69
  */
84
- var IAMSigner = /** @class */ (function () {
85
- function IAMSigner(httpClient, serviceAccountId) {
70
+ class IAMSigner {
71
+ constructor(httpClient, serviceAccountId) {
86
72
  this.algorithm = ALGORITHM_RS256;
87
73
  if (!httpClient) {
88
74
  throw new CryptoSignerError({
@@ -102,19 +88,18 @@ var IAMSigner = /** @class */ (function () {
102
88
  /**
103
89
  * @inheritDoc
104
90
  */
105
- IAMSigner.prototype.sign = function (buffer) {
106
- var _this = this;
107
- return this.getAccountId().then(function (serviceAccount) {
108
- var request = {
91
+ sign(buffer) {
92
+ return this.getAccountId().then((serviceAccount) => {
93
+ const request = {
109
94
  method: 'POST',
110
- url: "https://iamcredentials.googleapis.com/v1/projects/-/serviceAccounts/" + serviceAccount + ":signBlob",
95
+ url: `https://iamcredentials.googleapis.com/v1/projects/-/serviceAccounts/${serviceAccount}:signBlob`,
111
96
  data: { payload: buffer.toString('base64') },
112
97
  };
113
- return _this.httpClient.send(request);
114
- }).then(function (response) {
98
+ return this.httpClient.send(request);
99
+ }).then((response) => {
115
100
  // Response from IAM is base64 encoded. Decode it into a buffer and return.
116
101
  return Buffer.from(response.data.signedBlob, 'base64');
117
- }).catch(function (err) {
102
+ }).catch((err) => {
118
103
  if (err instanceof api_request_1.HttpError) {
119
104
  throw new CryptoSignerError({
120
105
  code: CryptoSignerErrorCode.SERVER_ERROR,
@@ -124,43 +109,41 @@ var IAMSigner = /** @class */ (function () {
124
109
  }
125
110
  throw err;
126
111
  });
127
- };
112
+ }
128
113
  /**
129
114
  * @inheritDoc
130
115
  */
131
- IAMSigner.prototype.getAccountId = function () {
132
- var _this = this;
116
+ getAccountId() {
133
117
  if (validator.isNonEmptyString(this.serviceAccountId)) {
134
118
  return Promise.resolve(this.serviceAccountId);
135
119
  }
136
- var request = {
120
+ const request = {
137
121
  method: 'GET',
138
122
  url: 'http://metadata/computeMetadata/v1/instance/service-accounts/default/email',
139
123
  headers: {
140
124
  'Metadata-Flavor': 'Google',
141
125
  },
142
126
  };
143
- var client = new api_request_1.HttpClient();
144
- return client.send(request).then(function (response) {
127
+ const client = new api_request_1.HttpClient();
128
+ return client.send(request).then((response) => {
145
129
  if (!response.text) {
146
130
  throw new CryptoSignerError({
147
131
  code: CryptoSignerErrorCode.INTERNAL_ERROR,
148
132
  message: 'HTTP Response missing payload',
149
133
  });
150
134
  }
151
- _this.serviceAccountId = response.text;
135
+ this.serviceAccountId = response.text;
152
136
  return response.text;
153
- }).catch(function (err) {
137
+ }).catch((err) => {
154
138
  throw new CryptoSignerError({
155
139
  code: CryptoSignerErrorCode.INVALID_CREDENTIAL,
156
140
  message: 'Failed to determine service account. Make sure to initialize ' +
157
141
  'the SDK with a service account credential. Alternatively specify a service ' +
158
- ("account with iam.serviceAccounts.signBlob permission. Original error: " + err),
142
+ `account with iam.serviceAccounts.signBlob permission. Original error: ${err}`,
159
143
  });
160
144
  });
161
- };
162
- return IAMSigner;
163
- }());
145
+ }
146
+ }
164
147
  exports.IAMSigner = IAMSigner;
165
148
  /**
166
149
  * Creates a new CryptoSigner instance for the given app. If the app has been initialized with a
@@ -170,7 +153,7 @@ exports.IAMSigner = IAMSigner;
170
153
  * @returns A CryptoSigner instance.
171
154
  */
172
155
  function cryptoSignerFromApp(app) {
173
- var credential = app.options.credential;
156
+ const credential = app.options.credential;
174
157
  if (credential instanceof credential_internal_1.ServiceAccountCredential) {
175
158
  return new ServiceAccountSigner(credential);
176
159
  }
@@ -183,55 +166,37 @@ exports.cryptoSignerFromApp = cryptoSignerFromApp;
183
166
  * @param errorInfo - The error information (code and message).
184
167
  * @constructor
185
168
  */
186
- var CryptoSignerError = /** @class */ (function (_super) {
187
- __extends(CryptoSignerError, _super);
188
- function CryptoSignerError(errorInfo) {
189
- var _this = _super.call(this, errorInfo.message) || this;
190
- _this.errorInfo = errorInfo;
169
+ class CryptoSignerError extends Error {
170
+ constructor(errorInfo) {
171
+ super(errorInfo.message);
172
+ this.errorInfo = errorInfo;
191
173
  /* tslint:disable:max-line-length */
192
174
  // Set the prototype explicitly. See the following link for more details:
193
175
  // https://github.com/Microsoft/TypeScript/wiki/Breaking-Changes#extending-built-ins-like-error-array-and-map-may-no-longer-work
194
176
  /* tslint:enable:max-line-length */
195
- _this.__proto__ = CryptoSignerError.prototype;
196
- return _this;
177
+ this.__proto__ = CryptoSignerError.prototype;
197
178
  }
198
- Object.defineProperty(CryptoSignerError.prototype, "code", {
199
- /** @returns The error code. */
200
- get: function () {
201
- return this.errorInfo.code;
202
- },
203
- enumerable: false,
204
- configurable: true
205
- });
206
- Object.defineProperty(CryptoSignerError.prototype, "message", {
207
- /** @returns The error message. */
208
- get: function () {
209
- return this.errorInfo.message;
210
- },
211
- enumerable: false,
212
- configurable: true
213
- });
214
- Object.defineProperty(CryptoSignerError.prototype, "cause", {
215
- /** @returns The error data. */
216
- get: function () {
217
- return this.errorInfo.cause;
218
- },
219
- enumerable: false,
220
- configurable: true
221
- });
222
- return CryptoSignerError;
223
- }(Error));
179
+ /** @returns The error code. */
180
+ get code() {
181
+ return this.errorInfo.code;
182
+ }
183
+ /** @returns The error message. */
184
+ get message() {
185
+ return this.errorInfo.message;
186
+ }
187
+ /** @returns The error data. */
188
+ get cause() {
189
+ return this.errorInfo.cause;
190
+ }
191
+ }
224
192
  exports.CryptoSignerError = CryptoSignerError;
225
193
  /**
226
194
  * Crypto Signer error codes and their default messages.
227
195
  */
228
- var CryptoSignerErrorCode = /** @class */ (function () {
229
- function CryptoSignerErrorCode() {
230
- }
231
- CryptoSignerErrorCode.INVALID_ARGUMENT = 'invalid-argument';
232
- CryptoSignerErrorCode.INTERNAL_ERROR = 'internal-error';
233
- CryptoSignerErrorCode.INVALID_CREDENTIAL = 'invalid-credential';
234
- CryptoSignerErrorCode.SERVER_ERROR = 'server-error';
235
- return CryptoSignerErrorCode;
236
- }());
196
+ class CryptoSignerErrorCode {
197
+ }
237
198
  exports.CryptoSignerErrorCode = CryptoSignerErrorCode;
199
+ CryptoSignerErrorCode.INVALID_ARGUMENT = 'invalid-argument';
200
+ CryptoSignerErrorCode.INTERNAL_ERROR = 'internal-error';
201
+ CryptoSignerErrorCode.INVALID_CREDENTIAL = 'invalid-credential';
202
+ CryptoSignerErrorCode.SERVER_ERROR = 'server-error';
@@ -1,4 +1,4 @@
1
- /*! firebase-admin v10.2.0 */
1
+ /*! firebase-admin v11.0.1 */
2
2
  /*!
3
3
  * @license
4
4
  * Copyright 2017 Google Inc.
@@ -1,4 +1,4 @@
1
- /*! firebase-admin v10.2.0 */
1
+ /*! firebase-admin v11.0.1 */
2
2
  "use strict";
3
3
  /*!
4
4
  * @license
@@ -51,7 +51,7 @@ function deepExtend(target, source) {
51
51
  case Date: {
52
52
  // Treat Dates like scalars; if the target date object had any child
53
53
  // properties - they will be lost!
54
- var dateValue = source;
54
+ const dateValue = source;
55
55
  return new Date(dateValue.getTime());
56
56
  }
57
57
  case Object:
@@ -67,7 +67,7 @@ function deepExtend(target, source) {
67
67
  // Not a plain Object - treat it as a scalar.
68
68
  return source;
69
69
  }
70
- for (var prop in source) {
70
+ for (const prop in source) {
71
71
  if (!Object.prototype.hasOwnProperty.call(source, prop)) {
72
72
  continue;
73
73
  }
@@ -1,4 +1,4 @@
1
- /*! firebase-admin v10.2.0 */
1
+ /*! firebase-admin v11.0.1 */
2
2
  /*!
3
3
  * @license
4
4
  * Copyright 2017 Google Inc.