firebase-tools 11.17.0 → 11.19.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.
Files changed (51) hide show
  1. package/lib/api.js +3 -2
  2. package/lib/commands/index.js +5 -0
  3. package/lib/commands/internaltesting-functions-discover.js +25 -0
  4. package/lib/deploy/extensions/prepare.js +6 -1
  5. package/lib/deploy/extensions/v2FunctionHelper.js +53 -0
  6. package/lib/deploy/functions/build.js +17 -2
  7. package/lib/deploy/functions/cel.js +90 -13
  8. package/lib/deploy/functions/params.js +141 -6
  9. package/lib/deploy/functions/prepare.js +40 -25
  10. package/lib/deploy/functions/release/fabricator.js +27 -1
  11. package/lib/deploy/functions/runtimes/discovery/parsing.js +7 -1
  12. package/lib/deploy/functions/runtimes/discovery/v1alpha1.js +1 -1
  13. package/lib/deploy/functions/runtimes/index.js +2 -1
  14. package/lib/deploy/functions/runtimes/node/index.js +2 -2
  15. package/lib/deploy/functions/runtimes/node/parseRuntimeAndValidateSDK.js +1 -0
  16. package/lib/deploy/functions/runtimes/node/versioning.js +30 -14
  17. package/lib/emulator/commandUtils.js +2 -1
  18. package/lib/emulator/downloadableEmulators.js +3 -3
  19. package/lib/emulator/env.js +29 -27
  20. package/lib/emulator/extensions/validation.js +2 -0
  21. package/lib/emulator/extensionsEmulator.js +1 -1
  22. package/lib/emulator/functionsEmulator.js +44 -32
  23. package/lib/emulator/storage/rules/runtime.js +2 -2
  24. package/lib/emulator/workQueue.js +11 -6
  25. package/lib/experiments.js +6 -0
  26. package/lib/extensions/billingMigrationHelper.js +2 -1
  27. package/lib/extensions/displayExtensionInfo.js +2 -1
  28. package/lib/extensions/emulator/specHelper.js +4 -3
  29. package/lib/extensions/emulator/triggerHelper.js +64 -20
  30. package/lib/extensions/extensionsHelper.js +1 -4
  31. package/lib/extensions/types.js +2 -1
  32. package/lib/extensions/utils.js +14 -1
  33. package/lib/firestore/indexes-api.js +7 -1
  34. package/lib/firestore/indexes-sort.js +4 -0
  35. package/lib/firestore/indexes.js +31 -5
  36. package/lib/firestore/util.js +5 -1
  37. package/lib/firestore/validator.js +7 -1
  38. package/lib/frameworks/angular/index.js +3 -0
  39. package/lib/frameworks/index.js +7 -1
  40. package/lib/frameworks/next/constants.js +10 -0
  41. package/lib/frameworks/next/index.js +170 -127
  42. package/lib/frameworks/next/interfaces.js +2 -0
  43. package/lib/frameworks/next/utils.js +92 -0
  44. package/lib/frameworks/nuxt/index.js +3 -0
  45. package/lib/frameworks/utils.js +24 -0
  46. package/lib/frameworks/vite/index.js +4 -1
  47. package/lib/gcp/eventarc.js +42 -0
  48. package/lib/init/features/emulators.js +1 -1
  49. package/npm-shrinkwrap.json +2 -93
  50. package/package.json +1 -4
  51. package/schema/firebase-config.json +4 -2
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "firebase-tools",
3
- "version": "11.17.0",
3
+ "version": "11.19.0",
4
4
  "lockfileVersion": 2,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "firebase-tools",
9
- "version": "11.17.0",
9
+ "version": "11.19.0",
10
10
  "license": "MIT",
11
11
  "dependencies": {
12
12
  "@google-cloud/pubsub": "^3.0.1",
@@ -76,9 +76,6 @@
76
76
  "devDependencies": {},
77
77
  "engines": {
78
78
  "node": "^14.18.0 || >=16.4.0"
79
- },
80
- "optionalDependencies": {
81
- "esbuild": "^0.15.7"
82
79
  }
83
80
  },
84
81
  "node_modules/@apidevtools/json-schema-ref-parser": {
@@ -2172,58 +2169,6 @@
2172
2169
  "integrity": "sha512-2bmlRpNKBxT/CRmPOlyISQpNj+qSeYvcym/uT0Jx2bMOlKLtSy1ZmLuVxSEKKyor/N5yhvp/ZiG1oE3DEYMSFA==",
2173
2170
  "optional": true
2174
2171
  },
2175
- "node_modules/esbuild": {
2176
- "version": "0.15.8",
2177
- "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.15.8.tgz",
2178
- "integrity": "sha512-Remsk2dmr1Ia65sU+QasE6svJbsHe62lzR+CnjpUvbZ+uSYo1SitiOWPRfZQkCu82YWZBBKXiD/j0i//XWMZ+Q==",
2179
- "devOptional": true,
2180
- "hasInstallScript": true,
2181
- "bin": {
2182
- "esbuild": "bin/esbuild"
2183
- },
2184
- "engines": {
2185
- "node": ">=12"
2186
- },
2187
- "optionalDependencies": {
2188
- "@esbuild/android-arm": "0.15.8",
2189
- "@esbuild/linux-loong64": "0.15.8",
2190
- "esbuild-android-64": "0.15.8",
2191
- "esbuild-android-arm64": "0.15.8",
2192
- "esbuild-darwin-64": "0.15.8",
2193
- "esbuild-darwin-arm64": "0.15.8",
2194
- "esbuild-freebsd-64": "0.15.8",
2195
- "esbuild-freebsd-arm64": "0.15.8",
2196
- "esbuild-linux-32": "0.15.8",
2197
- "esbuild-linux-64": "0.15.8",
2198
- "esbuild-linux-arm": "0.15.8",
2199
- "esbuild-linux-arm64": "0.15.8",
2200
- "esbuild-linux-mips64le": "0.15.8",
2201
- "esbuild-linux-ppc64le": "0.15.8",
2202
- "esbuild-linux-riscv64": "0.15.8",
2203
- "esbuild-linux-s390x": "0.15.8",
2204
- "esbuild-netbsd-64": "0.15.8",
2205
- "esbuild-openbsd-64": "0.15.8",
2206
- "esbuild-sunos-64": "0.15.8",
2207
- "esbuild-windows-32": "0.15.8",
2208
- "esbuild-windows-64": "0.15.8",
2209
- "esbuild-windows-arm64": "0.15.8"
2210
- }
2211
- },
2212
- "node_modules/esbuild-darwin-64": {
2213
- "version": "0.15.8",
2214
- "resolved": "https://registry.npmjs.org/esbuild-darwin-64/-/esbuild-darwin-64-0.15.8.tgz",
2215
- "integrity": "sha512-KaKcGfJ+yto7Fo5gAj3xwxHMd1fBIKatpCHK8znTJLVv+9+NN2/tIPBqA4w5rBwjX0UqXDeIE2v1xJP+nGEXgA==",
2216
- "cpu": [
2217
- "x64"
2218
- ],
2219
- "optional": true,
2220
- "os": [
2221
- "darwin"
2222
- ],
2223
- "engines": {
2224
- "node": ">=12"
2225
- }
2226
- },
2227
2172
  "node_modules/escalade": {
2228
2173
  "version": "3.1.1",
2229
2174
  "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz",
@@ -8562,42 +8507,6 @@
8562
8507
  "integrity": "sha512-2bmlRpNKBxT/CRmPOlyISQpNj+qSeYvcym/uT0Jx2bMOlKLtSy1ZmLuVxSEKKyor/N5yhvp/ZiG1oE3DEYMSFA==",
8563
8508
  "optional": true
8564
8509
  },
8565
- "esbuild": {
8566
- "version": "0.15.8",
8567
- "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.15.8.tgz",
8568
- "integrity": "sha512-Remsk2dmr1Ia65sU+QasE6svJbsHe62lzR+CnjpUvbZ+uSYo1SitiOWPRfZQkCu82YWZBBKXiD/j0i//XWMZ+Q==",
8569
- "devOptional": true,
8570
- "requires": {
8571
- "@esbuild/android-arm": "0.15.8",
8572
- "@esbuild/linux-loong64": "0.15.8",
8573
- "esbuild-android-64": "0.15.8",
8574
- "esbuild-android-arm64": "0.15.8",
8575
- "esbuild-darwin-64": "0.15.8",
8576
- "esbuild-darwin-arm64": "0.15.8",
8577
- "esbuild-freebsd-64": "0.15.8",
8578
- "esbuild-freebsd-arm64": "0.15.8",
8579
- "esbuild-linux-32": "0.15.8",
8580
- "esbuild-linux-64": "0.15.8",
8581
- "esbuild-linux-arm": "0.15.8",
8582
- "esbuild-linux-arm64": "0.15.8",
8583
- "esbuild-linux-mips64le": "0.15.8",
8584
- "esbuild-linux-ppc64le": "0.15.8",
8585
- "esbuild-linux-riscv64": "0.15.8",
8586
- "esbuild-linux-s390x": "0.15.8",
8587
- "esbuild-netbsd-64": "0.15.8",
8588
- "esbuild-openbsd-64": "0.15.8",
8589
- "esbuild-sunos-64": "0.15.8",
8590
- "esbuild-windows-32": "0.15.8",
8591
- "esbuild-windows-64": "0.15.8",
8592
- "esbuild-windows-arm64": "0.15.8"
8593
- }
8594
- },
8595
- "esbuild-darwin-64": {
8596
- "version": "0.15.8",
8597
- "resolved": "https://registry.npmjs.org/esbuild-darwin-64/-/esbuild-darwin-64-0.15.8.tgz",
8598
- "integrity": "sha512-KaKcGfJ+yto7Fo5gAj3xwxHMd1fBIKatpCHK8znTJLVv+9+NN2/tIPBqA4w5rBwjX0UqXDeIE2v1xJP+nGEXgA==",
8599
- "optional": true
8600
- },
8601
8510
  "escalade": {
8602
8511
  "version": "3.1.1",
8603
8512
  "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "firebase-tools",
3
- "version": "11.17.0",
3
+ "version": "11.19.0",
4
4
  "description": "Command-Line Interface for Firebase",
5
5
  "main": "./lib/index.js",
6
6
  "bin": {
@@ -118,8 +118,5 @@
118
118
  "winston": "^3.0.0",
119
119
  "winston-transport": "^4.4.0",
120
120
  "ws": "^7.2.3"
121
- },
122
- "optionalDependencies": {
123
- "esbuild": "^0.15.7"
124
121
  }
125
122
  }
@@ -388,7 +388,8 @@
388
388
  "nodejs10",
389
389
  "nodejs12",
390
390
  "nodejs14",
391
- "nodejs16"
391
+ "nodejs16",
392
+ "nodejs18"
392
393
  ],
393
394
  "type": "string"
394
395
  },
@@ -442,7 +443,8 @@
442
443
  "nodejs10",
443
444
  "nodejs12",
444
445
  "nodejs14",
445
- "nodejs16"
446
+ "nodejs16",
447
+ "nodejs18"
446
448
  ],
447
449
  "type": "string"
448
450
  },