firebase-tools 10.1.0 → 10.1.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "firebase-tools",
3
- "version": "10.1.0",
3
+ "version": "10.1.1",
4
4
  "description": "Command-Line Interface for Firebase",
5
5
  "main": "./lib/index.js",
6
6
  "bin": {
@@ -145,7 +145,7 @@ const runtime = require("./runtime");
145
145
  let config;
146
146
  try {
147
147
  config = require("./config");
148
- } catch (err: any) {
148
+ } catch (err) {
149
149
  console.warn("Invalid Firepit configuration, this may be a broken build.");
150
150
  process.exit(2);
151
151
  }
@@ -684,7 +684,7 @@ node "${FindTool("npm/bin/npm-cli")[0]}" ${npmArgs.join(" ")} %*`,
684
684
 
685
685
  try {
686
686
  shell.mkdir("-p", runtimeBinsPath);
687
- } catch (err: any) {
687
+ } catch (err) {
688
688
  debug(err);
689
689
  }
690
690
 
@@ -693,7 +693,7 @@ node "${FindTool("npm/bin/npm-cli")[0]}" ${npmArgs.join(" ")} %*`,
693
693
  const runtimeBinPath = path.join(runtimeBinsPath, filename);
694
694
  try {
695
695
  shell.rm("-rf", runtimeBinPath);
696
- } catch (err: any) {
696
+ } catch (err) {
697
697
  debug(err);
698
698
  }
699
699
  fs.writeFileSync(runtimeBinPath, runtimeBins[filename]);
@@ -840,7 +840,7 @@ function uninstallLegacyFirepit() {
840
840
  installedFirebaseToolsPackage = JSON.parse(
841
841
  shell.cat(installedFirebaseToolsPackagePath)
842
842
  );
843
- } catch (err: any) {
843
+ } catch (err) {
844
844
  debug("No existing firebase-tools install found.");
845
845
  }
846
846