firebase-tools-with-isolate 15.36.0 → 15.38.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 -1
- package/lib/accountImporter.js +15 -10
- package/lib/apiv2.js +66 -12
- package/lib/appUtils.js +103 -40
- package/lib/appdistribution/client.js +5 -1
- package/lib/apptesting/parseTestFiles.js +1 -1
- package/lib/auth.js +1 -1
- package/lib/bin/progressiveHelp.js +1 -1
- package/lib/command.js +1 -2
- package/lib/commands/appdistribution-distribute.js +5 -3
- package/lib/commands/crashlytics-events-get.js +46 -0
- package/lib/commands/crashlytics-events-list.js +68 -0
- package/lib/commands/crashlytics-heapdumps-enable.js +3 -4
- package/lib/commands/crashlytics-heapdumps-status.js +5 -3
- package/lib/commands/crashlytics-issues-get.js +65 -0
- package/lib/commands/crashlytics-reports-get.js +267 -0
- package/lib/commands/crashlytics-reports-list.js +42 -0
- package/lib/commands/dataconnect-services-list.js +8 -2
- package/lib/commands/ext-dev-init.js +1 -1
- package/lib/commands/hosting-channel-open.js +4 -1
- package/lib/commands/index.js +10 -0
- package/lib/commands/open.js +3 -1
- package/lib/commands/serve.js +1 -1
- package/lib/commands/use.js +1 -1
- package/lib/config.js +1 -1
- package/lib/crashlytics/commandUtils.js +227 -0
- package/lib/crashlytics/events.js +71 -73
- package/lib/crashlytics/filters.js +1 -1
- package/lib/crashlytics/profilingManager.js +63 -16
- package/lib/crashlytics/reports.js +5 -1
- package/lib/dataconnect/client.js +14 -8
- package/lib/deploy/dataconnect/release.js +2 -2
- package/lib/deploy/firestore/prepare.js +23 -17
- package/lib/deploy/functions/cel.js +1 -1
- package/lib/deploy/functions/deploy.js +2 -1
- package/lib/deploy/functions/prepare.js +28 -0
- package/lib/deploy/functions/release/fabricator.js +27 -3
- package/lib/deploy/functions/release/planner.js +3 -0
- package/lib/deploy/functions/runtimes/discovery/parsing.js +1 -1
- package/lib/deploy/functions/runtimes/python/index.js +3 -0
- package/lib/deploy/functions/runtimes/supported/index.js +10 -4
- package/lib/deploy/functions/runtimes/supported/types.js +13 -1
- package/lib/deploy/run/deploy.js +40 -35
- package/lib/deploy/run/prereqs.js +0 -3
- package/lib/downloadUtils.js +2 -1
- package/lib/emulator/download.js +1 -0
- package/lib/emulator/downloadableEmulatorInfo.json +31 -31
- package/lib/emulator/downloadableEmulators.js +14 -2
- package/lib/emulator/events/types.js +0 -6
- package/lib/emulator/functionsEmulator.js +73 -1
- package/lib/emulator/functionsEmulatorRuntime.js +2 -2
- package/lib/emulator/storage/cloudFunctions.js +0 -1
- package/lib/emulator/storage/rules/runtime.js +0 -3
- package/lib/emulator/taskQueue.js +0 -12
- package/lib/experiments.js +10 -0
- package/lib/extensions/extensionsHelper.js +1 -4
- package/lib/extensions/listExtensions.js +1 -1
- package/lib/extensions/replacements.json +2 -1
- package/lib/firestore/delete.js +2 -3
- package/lib/firestore/fsConfig.js +100 -41
- package/lib/frameworks/next/constants.js +17 -14
- package/lib/frameworks/next/index.js +2 -2
- package/lib/frameworks/next/utils.js +6 -8
- package/lib/gcp/cloudbilling.js +2 -2
- package/lib/gcp/cloudbuild.js +0 -77
- package/lib/gcp/cloudscheduler.js +12 -0
- package/lib/gcp/cloudtasks.js +0 -4
- package/lib/gcp/devConnect.js +0 -6
- package/lib/gcp/iam.js +15 -1
- package/lib/gcp/resourceManager.js +1 -14
- package/lib/gcp/runv2.js +0 -27
- package/lib/gcp/secretManager.js +2 -2
- package/lib/gcp/storage.js +87 -4
- package/lib/hosting/api.js +29 -23
- package/lib/hosting/implicitInit.js +1 -1
- package/lib/hosting/proxy.js +1 -1
- package/lib/init/features/dataconnect/sdk.js +15 -5
- package/lib/init/features/firestore/rules.js +1 -1
- package/lib/init/features/functions/index.js +2 -2
- package/lib/init/features/functions/npm-dependencies.js +1 -1
- package/lib/init/features/storage/rules.js +1 -1
- package/lib/localFunction.js +3 -3
- package/lib/management/apps.js +7 -0
- package/lib/management/database.js +1 -1
- package/lib/mcp/apps/init/mcp-app.js +1 -1
- package/lib/mcp/apps/update_environment/mcp-app.js +1 -1
- package/lib/mcp/index.js +10 -4
- package/lib/mcp/tools/core/get_environment.js +1 -1
- package/lib/mcp/tools/crashlytics/events.js +2 -5
- package/lib/mcp/tools/crashlytics/reports.js +5 -14
- package/lib/mcp/util/apptesting/availability.js +3 -2
- package/lib/mcp/util/crashlytics/availability.js +59 -12
- package/lib/mcp/util/dataconnect/converter.js +1 -1
- package/lib/mcp/util.js +4 -0
- package/lib/profileReport.js +1 -1
- package/lib/profiler.js +1 -1
- package/lib/requireAuth.js +11 -7
- package/lib/rulesDeploy.js +0 -1
- package/lib/throttler/throttler.js +1 -1
- package/lib/tsconfig.publish.tsbuildinfo +1 -1
- package/lib/utils.js +1 -1
- package/package.json +15 -12
- package/schema/firebase-config.json +9 -3
- package/standalone/package.json +6 -1
package/lib/utils.js
CHANGED
|
@@ -742,7 +742,7 @@ function formatFilesize(bytes, decimals = 2) {
|
|
|
742
742
|
const dm = decimals < 0 ? 0 : decimals;
|
|
743
743
|
const sizes = ["Bytes", "KB", "MB", "GB", "TB", "PB", "EB", "ZB", "YB"];
|
|
744
744
|
const i = Math.min(Math.floor(Math.log(bytes) / Math.log(k)), sizes.length - 1);
|
|
745
|
-
return parseFloat((bytes / Math.pow(k, i)).toFixed(dm))
|
|
745
|
+
return `${parseFloat((bytes / Math.pow(k, i)).toFixed(dm))} ${sizes[i]}`;
|
|
746
746
|
}
|
|
747
747
|
function pLimit(concurrency) {
|
|
748
748
|
if (!Number.isInteger(concurrency) || concurrency <= 0) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "firebase-tools-with-isolate",
|
|
3
|
-
"version": "15.
|
|
3
|
+
"version": "15.38.0",
|
|
4
4
|
"description": "Command-Line Interface for Firebase with monorepo support",
|
|
5
5
|
"main": "./lib/index.js",
|
|
6
6
|
"mcpName": "io.github.firebase/firebase-mcp",
|
|
@@ -112,7 +112,7 @@
|
|
|
112
112
|
"@google-cloud/cloud-sql-connector": "^1.3.3",
|
|
113
113
|
"@google-cloud/pubsub": "^5.2.0",
|
|
114
114
|
"@inquirer/prompts": "^7.10.1",
|
|
115
|
-
"@modelcontextprotocol/sdk": "^1.
|
|
115
|
+
"@modelcontextprotocol/sdk": "^1.32.2",
|
|
116
116
|
"abort-controller": "^3.0.0",
|
|
117
117
|
"ajv": "^8.17.1",
|
|
118
118
|
"ajv-formats": "3.0.1",
|
|
@@ -167,7 +167,7 @@
|
|
|
167
167
|
"tcp-port-used": "^1.0.2",
|
|
168
168
|
"tmp": "^0.2.3",
|
|
169
169
|
"triple-beam": "^1.3.0",
|
|
170
|
-
"undici": "^6.
|
|
170
|
+
"undici": "^6.29.1",
|
|
171
171
|
"update-notifier-cjs": "^5.1.6",
|
|
172
172
|
"winston": "^3.0.0",
|
|
173
173
|
"winston-transport": "^4.4.0",
|
|
@@ -200,6 +200,7 @@
|
|
|
200
200
|
"@types/lodash": "^4.14.149",
|
|
201
201
|
"@types/lsofi": "1.0.2",
|
|
202
202
|
"@types/marked-terminal": "^6.1.1",
|
|
203
|
+
"@types/minimatch": "^3.0.5",
|
|
203
204
|
"@types/mocha": "^9.0.0",
|
|
204
205
|
"@types/mock-fs": "4.13.4",
|
|
205
206
|
"@types/node": "^25.0.3",
|
|
@@ -231,14 +232,14 @@
|
|
|
231
232
|
"eslint-plugin-brikke": "^2.2.2",
|
|
232
233
|
"eslint-plugin-jsdoc": "^48.0.1",
|
|
233
234
|
"eslint-plugin-prettier": "^5.1.3",
|
|
234
|
-
"firebase": "^
|
|
235
|
-
"firebase-admin": "^
|
|
235
|
+
"firebase": "^12.19.0",
|
|
236
|
+
"firebase-admin": "^14.5.0",
|
|
236
237
|
"firebase-functions": "^4.3.1",
|
|
237
238
|
"google-discovery-to-swagger": "^2.1.0",
|
|
238
239
|
"googleapis": "^105.0.0",
|
|
239
240
|
"mocha": "^11.7.1",
|
|
240
241
|
"mock-fs": "5.2.0",
|
|
241
|
-
"next": "
|
|
242
|
+
"next": "^16.4.3",
|
|
242
243
|
"nock": "^13.0.5",
|
|
243
244
|
"node-mocks-http": "^1.11.0",
|
|
244
245
|
"nyc": "^18.0.0",
|
|
@@ -269,10 +270,10 @@
|
|
|
269
270
|
"ajv": "^8.17.1",
|
|
270
271
|
"chokidar": "$chokidar"
|
|
271
272
|
},
|
|
272
|
-
"hono": "^4.13.
|
|
273
|
+
"hono": "^4.13.16",
|
|
273
274
|
"@tootallnate/once": "^3.0.1",
|
|
274
275
|
"protobufjs": "^7.6.5",
|
|
275
|
-
"serialize-javascript": "^7.
|
|
276
|
+
"serialize-javascript": "^7.1.3",
|
|
276
277
|
"diff": "^8.0.4",
|
|
277
278
|
"underscore": "^1.13.8",
|
|
278
279
|
"brace-expansion": "^1.1.18",
|
|
@@ -287,15 +288,17 @@
|
|
|
287
288
|
"gaxios": {
|
|
288
289
|
"uuid": "^11.1.1"
|
|
289
290
|
},
|
|
290
|
-
"firebase-admin": {
|
|
291
|
-
"uuid": "^11.1.1"
|
|
292
|
-
},
|
|
293
291
|
"googleapis": {
|
|
294
292
|
"uuid": "^11.1.1"
|
|
295
293
|
},
|
|
296
294
|
"@google-cloud/cloud-sql-connector": {
|
|
297
295
|
"uuid": "^11.1.1"
|
|
298
|
-
}
|
|
296
|
+
},
|
|
297
|
+
"firebase-functions": {
|
|
298
|
+
"firebase-admin": "$firebase-admin"
|
|
299
|
+
},
|
|
300
|
+
"proxy-addr": "^2.0.8",
|
|
301
|
+
"@hono/node-server": "^2.1.6"
|
|
299
302
|
},
|
|
300
303
|
"allowScripts": {
|
|
301
304
|
"esbuild": true,
|
|
@@ -9,11 +9,13 @@
|
|
|
9
9
|
"nodejs20",
|
|
10
10
|
"nodejs22",
|
|
11
11
|
"nodejs24",
|
|
12
|
+
"nodejs26",
|
|
12
13
|
"python310",
|
|
13
14
|
"python311",
|
|
14
15
|
"python312",
|
|
15
16
|
"python313",
|
|
16
|
-
"python314"
|
|
17
|
+
"python314",
|
|
18
|
+
"python315"
|
|
17
19
|
],
|
|
18
20
|
"type": "string"
|
|
19
21
|
},
|
|
@@ -1001,11 +1003,13 @@
|
|
|
1001
1003
|
"nodejs20",
|
|
1002
1004
|
"nodejs22",
|
|
1003
1005
|
"nodejs24",
|
|
1006
|
+
"nodejs26",
|
|
1004
1007
|
"python310",
|
|
1005
1008
|
"python311",
|
|
1006
1009
|
"python312",
|
|
1007
1010
|
"python313",
|
|
1008
|
-
"python314"
|
|
1011
|
+
"python314",
|
|
1012
|
+
"python315"
|
|
1009
1013
|
],
|
|
1010
1014
|
"type": "string"
|
|
1011
1015
|
},
|
|
@@ -1089,11 +1093,13 @@
|
|
|
1089
1093
|
"nodejs20",
|
|
1090
1094
|
"nodejs22",
|
|
1091
1095
|
"nodejs24",
|
|
1096
|
+
"nodejs26",
|
|
1092
1097
|
"python310",
|
|
1093
1098
|
"python311",
|
|
1094
1099
|
"python312",
|
|
1095
1100
|
"python313",
|
|
1096
|
-
"python314"
|
|
1101
|
+
"python314",
|
|
1102
|
+
"python315"
|
|
1097
1103
|
],
|
|
1098
1104
|
"type": "string"
|
|
1099
1105
|
},
|
package/standalone/package.json
CHANGED
|
@@ -18,6 +18,11 @@
|
|
|
18
18
|
"user-home": "^2.0.0"
|
|
19
19
|
},
|
|
20
20
|
"pkg": {
|
|
21
|
+
"targets": [
|
|
22
|
+
"node24-linux-x64",
|
|
23
|
+
"node24-macos-x64",
|
|
24
|
+
"node24-win-x64"
|
|
25
|
+
],
|
|
21
26
|
"scripts": [
|
|
22
27
|
"node_modules/npm/lib/*.js",
|
|
23
28
|
"node_modules/npm/lib/**/*.js"
|
|
@@ -30,7 +35,7 @@
|
|
|
30
35
|
]
|
|
31
36
|
},
|
|
32
37
|
"devDependencies": {
|
|
33
|
-
"@yao-pkg/pkg": "~6.
|
|
38
|
+
"@yao-pkg/pkg": "~6.24.0",
|
|
34
39
|
"prettier": "^1.15.3"
|
|
35
40
|
}
|
|
36
41
|
}
|