@firebase/util 1.11.0-canary.058afa280 → 1.11.0-canary.0e1276649

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.
@@ -2109,6 +2109,30 @@ function getModularInstance(service) {
2109
2109
  }
2110
2110
  }
2111
2111
 
2112
+ /**
2113
+ * @license
2114
+ * Copyright 2025 Google LLC
2115
+ *
2116
+ * Licensed under the Apache License, Version 2.0 (the "License");
2117
+ * you may not use this file except in compliance with the License.
2118
+ * You may obtain a copy of the License at
2119
+ *
2120
+ * http://www.apache.org/licenses/LICENSE-2.0
2121
+ *
2122
+ * Unless required by applicable law or agreed to in writing, software
2123
+ * distributed under the License is distributed on an "AS IS" BASIS,
2124
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
2125
+ * See the License for the specific language governing permissions and
2126
+ * limitations under the License.
2127
+ */
2128
+ /**
2129
+ * Checks whether host is a cloud workstation or not.
2130
+ * @public
2131
+ */
2132
+ function isCloudWorkstation(host) {
2133
+ return host.endsWith('.cloudworkstations.dev');
2134
+ }
2135
+
2112
2136
  /**
2113
2137
  * @license
2114
2138
  * Copyright 2017 Google LLC
@@ -2165,6 +2189,7 @@ exports.getUA = getUA;
2165
2189
  exports.isAdmin = isAdmin;
2166
2190
  exports.isBrowser = isBrowser;
2167
2191
  exports.isBrowserExtension = isBrowserExtension;
2192
+ exports.isCloudWorkstation = isCloudWorkstation;
2168
2193
  exports.isCloudflareWorker = isCloudflareWorker;
2169
2194
  exports.isElectron = isElectron;
2170
2195
  exports.isEmpty = isEmpty;