firebase-tools 13.24.0 → 13.24.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.
@@ -48,20 +48,20 @@ const EMULATOR_UPDATE_DETAILS = {
48
48
  },
49
49
  dataconnect: process.platform === "darwin"
50
50
  ? {
51
- version: "1.6.0",
52
- expectedSize: 25301760,
53
- expectedChecksum: "4fad7ada11b35ecea6c8aadf132a5a8a",
51
+ version: "1.6.1",
52
+ expectedSize: 25309952,
53
+ expectedChecksum: "826692eb4ed9cf11becb595c386eb7bf",
54
54
  }
55
55
  : process.platform === "win32"
56
56
  ? {
57
- version: "1.6.0",
58
- expectedSize: 25731072,
59
- expectedChecksum: "8d3a59cc79cd74199ee1d8c28012297f",
57
+ version: "1.6.1",
58
+ expectedSize: 25737728,
59
+ expectedChecksum: "1e87a3a1f95d7b21cebf18f551619167",
60
60
  }
61
61
  : {
62
- version: "1.6.0",
63
- expectedSize: 25219224,
64
- expectedChecksum: "ceb10cfca7ded004c48f7724dbc0cccf",
62
+ version: "1.6.1",
63
+ expectedSize: 25223320,
64
+ expectedChecksum: "b13218419fcaaa3ad22005ce8378412d",
65
65
  },
66
66
  };
67
67
  exports.DownloadDetails = {
@@ -35,12 +35,12 @@ exports.IMPORT_EXPORT_EMULATORS = [
35
35
  Emulators.STORAGE,
36
36
  ];
37
37
  exports.ALL_SERVICE_EMULATORS = [
38
+ ...(experiments.isEnabled("emulatorapphosting") ? [Emulators.APPHOSTING] : []),
38
39
  Emulators.AUTH,
39
40
  Emulators.FUNCTIONS,
40
41
  Emulators.FIRESTORE,
41
42
  Emulators.DATABASE,
42
43
  Emulators.HOSTING,
43
- ...(experiments.isEnabled("emulatorapphosting") ? [Emulators.APPHOSTING] : []),
44
44
  Emulators.PUBSUB,
45
45
  Emulators.STORAGE,
46
46
  Emulators.EVENTARC,
@@ -4,12 +4,10 @@ exports.doSetup = void 0;
4
4
  const clc = require("colorette");
5
5
  const logger_1 = require("../../logger");
6
6
  const prompt_1 = require("../../prompt");
7
- const ensureCloudResourceLocation_1 = require("../../ensureCloudResourceLocation");
8
7
  const templates_1 = require("../../templates");
9
8
  const RULES_TEMPLATE = (0, templates_1.readTemplateSync)("init/storage/storage.rules");
10
9
  async function doSetup(setup, config) {
11
10
  setup.config.storage = {};
12
- (0, ensureCloudResourceLocation_1.ensureLocationSet)(setup.projectLocation, "Cloud Storage");
13
11
  logger_1.logger.info();
14
12
  logger_1.logger.info("Firebase Storage Security Rules allow you to define how and when to allow");
15
13
  logger_1.logger.info("uploads and downloads. You can keep these rules in your project directory");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "firebase-tools",
3
- "version": "13.24.0",
3
+ "version": "13.24.2",
4
4
  "description": "Command-Line Interface for Firebase",
5
5
  "main": "./lib/index.js",
6
6
  "bin": {
@@ -1,12 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ensureLocationSet = void 0;
4
- const error_1 = require("./error");
5
- function ensureLocationSet(location, feature) {
6
- if (!location) {
7
- throw new error_1.FirebaseError(`Cloud resource location is not set for this project but the operation ` +
8
- `you are attempting to perform in ${feature} requires it. ` +
9
- `Please see this documentation for more details: https://firebase.google.com/docs/projects/locations`);
10
- }
11
- }
12
- exports.ensureLocationSet = ensureLocationSet;