firebase-tools 15.22.3 → 15.23.0
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.
- package/lib/accountExporter.js +1 -0
- package/lib/accountImporter.js +1 -0
- package/lib/apiv2.js +91 -32
- package/lib/apphosting/backend.js +11 -4
- package/lib/apphosting/localbuilds.js +50 -0
- package/lib/commands/functions-delete.js +5 -3
- package/lib/commands/functions-lifecycle-list.js +94 -0
- package/lib/commands/functions-lifecycle-run.js +29 -0
- package/lib/commands/index.js +3 -0
- package/lib/database/import.js +3 -3
- package/lib/dataconnect/webhook.js +1 -2
- package/lib/deploy/apphosting/prepare.js +100 -1
- package/lib/deploy/functions/backend.js +15 -1
- package/lib/deploy/functions/build.js +28 -0
- package/lib/deploy/functions/prepare.js +91 -2
- package/lib/deploy/functions/prompts.js +62 -0
- package/lib/deploy/functions/release/fabricator.js +79 -4
- package/lib/deploy/functions/release/index.js +42 -23
- package/lib/deploy/functions/release/lifecycle.js +113 -0
- package/lib/deploy/functions/release/planner.js +41 -5
- package/lib/deploy/functions/runtimes/discovery/index.js +4 -3
- package/lib/deploy/functions/runtimes/discovery/v1alpha1.js +50 -0
- package/lib/deploy/functions/runtimes/node/index.js +1 -2
- package/lib/deploy/functions/runtimes/python/index.js +1 -2
- package/lib/deploy/functions/validate.js +44 -1
- package/lib/deploy/hosting/uploader.js +2 -3
- package/lib/downloadUtils.js +3 -1
- package/lib/emulator/auth/operations.js +18 -8
- package/lib/emulator/downloadableEmulatorInfo.json +31 -31
- package/lib/emulator/storage/apis/gcloud.js +61 -0
- package/lib/emulator/storage/multipart.js +82 -2
- package/lib/emulator/taskQueue.js +3 -11
- package/lib/extensions/extensionsHelper.js +6 -4
- package/lib/firestore/api.js +3 -1
- package/lib/gcp/cloudtasks.js +4 -0
- package/lib/gcp/iam.js +68 -2
- package/lib/gcp/knownRoles.json +99 -0
- package/lib/gcp/resourceManager.js +42 -1
- package/lib/gemini/fdcExperience.js +2 -2
- package/lib/hosting/initMiddleware.js +1 -1
- package/lib/hosting/proxy.js +42 -20
- package/lib/management/apps.js +4 -2
- package/lib/profiler.js +1 -2
- package/lib/streamUtils.js +24 -0
- package/lib/track.js +1 -2
- package/lib/tsconfig.compile.tsbuildinfo +1 -1
- package/lib/tsconfig.publish.tsbuildinfo +1 -1
- package/lib/utils.js +4 -21
- package/package.json +2 -4
package/lib/track.js
CHANGED
|
@@ -8,7 +8,6 @@ exports.trackVSCode = trackVSCode;
|
|
|
8
8
|
exports.emulatorSession = emulatorSession;
|
|
9
9
|
exports.vscodeSession = vscodeSession;
|
|
10
10
|
exports.cliSession = cliSession;
|
|
11
|
-
const node_fetch_1 = require("node-fetch");
|
|
12
11
|
const crypto_1 = require("crypto");
|
|
13
12
|
const auth_1 = require("./auth");
|
|
14
13
|
const configstore_1 = require("./configstore");
|
|
@@ -134,7 +133,7 @@ async function _ga4Track(args) {
|
|
|
134
133
|
logger_1.logger.info(`Sending Analytics for event ${eventName} to property ${session.measurementId}`, params, body);
|
|
135
134
|
}
|
|
136
135
|
try {
|
|
137
|
-
const response = await (
|
|
136
|
+
const response = await fetch(url, {
|
|
138
137
|
method: "POST",
|
|
139
138
|
headers: {
|
|
140
139
|
"content-type": "application/json;charset=UTF-8",
|