@firebase/app-compat
Advanced tools
Comparing version 0.2.37-canary.14b772077 to 0.2.37-canary.3f2c12a07
@@ -372,3 +372,3 @@ import { ErrorFactory, contains, deepExtend, createSubscribe, isBrowser } from '@firebase/util'; | ||
const name = "@firebase/app-compat"; | ||
const version = "0.2.37-canary.14b772077"; | ||
const version = "0.2.37-canary.3f2c12a07"; | ||
@@ -414,3 +414,3 @@ /** | ||
// eslint-disable-next-line @typescript-eslint/no-explicit-any | ||
if (isBrowser() && self.firebase !== undefined) { | ||
if (isBrowser() && window.firebase !== undefined) { | ||
logger.warn(` | ||
@@ -421,3 +421,3 @@ Warning: Firebase is already defined in the global scope. Please make sure | ||
// eslint-disable-next-line | ||
const sdkVersion = self.firebase.SDK_VERSION; | ||
const sdkVersion = window.firebase.SDK_VERSION; | ||
if (sdkVersion && sdkVersion.indexOf('LITE') >= 0) { | ||
@@ -424,0 +424,0 @@ logger.warn(` |
@@ -393,3 +393,3 @@ import { ErrorFactory, contains, deepExtend, createSubscribe, isBrowser } from '@firebase/util'; | ||
var name = "@firebase/app-compat"; | ||
var version = "0.2.37-canary.14b772077"; | ||
var version = "0.2.37-canary.3f2c12a07"; | ||
@@ -435,6 +435,6 @@ /** | ||
// eslint-disable-next-line @typescript-eslint/no-explicit-any | ||
if (isBrowser() && self.firebase !== undefined) { | ||
if (isBrowser() && window.firebase !== undefined) { | ||
logger.warn("\n Warning: Firebase is already defined in the global scope. Please make sure\n Firebase library is only loaded once.\n "); | ||
// eslint-disable-next-line | ||
var sdkVersion = self.firebase.SDK_VERSION; | ||
var sdkVersion = window.firebase.SDK_VERSION; | ||
if (sdkVersion && sdkVersion.indexOf('LITE') >= 0) { | ||
@@ -441,0 +441,0 @@ logger.warn("\n Warning: You are trying to load Firebase while using Firebase Performance standalone script.\n You should load Firebase Performance with this instance of Firebase to avoid loading duplicate code.\n "); |
@@ -18,2 +18,7 @@ /** | ||
import { FirebaseNamespace } from './public-types'; | ||
declare global { | ||
interface Window { | ||
firebase: FirebaseNamespace; | ||
} | ||
} | ||
declare const firebase: FirebaseNamespace; | ||
@@ -20,0 +25,0 @@ export default firebase; |
@@ -414,3 +414,3 @@ 'use strict'; | ||
var name = "@firebase/app-compat"; | ||
var version = "0.2.37-canary.14b772077"; | ||
var version = "0.2.37-canary.3f2c12a07"; | ||
@@ -456,6 +456,6 @@ /** | ||
// eslint-disable-next-line @typescript-eslint/no-explicit-any | ||
if (util.isBrowser() && self.firebase !== undefined) { | ||
if (util.isBrowser() && window.firebase !== undefined) { | ||
logger.warn("\n Warning: Firebase is already defined in the global scope. Please make sure\n Firebase library is only loaded once.\n "); | ||
// eslint-disable-next-line | ||
var sdkVersion = self.firebase.SDK_VERSION; | ||
var sdkVersion = window.firebase.SDK_VERSION; | ||
if (sdkVersion && sdkVersion.indexOf('LITE') >= 0) { | ||
@@ -462,0 +462,0 @@ logger.warn("\n Warning: You are trying to load Firebase while using Firebase Performance standalone script.\n You should load Firebase Performance with this instance of Firebase to avoid loading duplicate code.\n "); |
@@ -317,3 +317,3 @@ import * as modularAPIs from '@firebase/app'; | ||
var name$1 = "@firebase/app-compat"; | ||
var version = "0.2.37-canary.14b772077"; | ||
var version = "0.2.37-canary.3f2c12a07"; | ||
@@ -320,0 +320,0 @@ /** |
@@ -295,3 +295,3 @@ import * as modularAPIs from '@firebase/app'; | ||
const name$1 = "@firebase/app-compat"; | ||
const version = "0.2.37-canary.14b772077"; | ||
const version = "0.2.37-canary.3f2c12a07"; | ||
@@ -298,0 +298,0 @@ /** |
@@ -18,2 +18,7 @@ /** | ||
import { FirebaseNamespace } from './public-types'; | ||
declare global { | ||
interface Window { | ||
firebase: FirebaseNamespace; | ||
} | ||
} | ||
declare const firebase: FirebaseNamespace; | ||
@@ -20,0 +25,0 @@ export default firebase; |
{ | ||
"name": "@firebase/app-compat", | ||
"version": "0.2.37-canary.14b772077", | ||
"version": "0.2.37-canary.3f2c12a07", | ||
"description": "The primary entrypoint to the Firebase JS SDK", | ||
@@ -44,6 +44,6 @@ "author": "Firebase <firebase-support@google.com> (https://firebase.google.com/)", | ||
"dependencies": { | ||
"@firebase/app": "0.10.7-canary.14b772077", | ||
"@firebase/util": "1.9.7-canary.14b772077", | ||
"@firebase/logger": "0.4.2-canary.14b772077", | ||
"@firebase/component": "0.6.8-canary.14b772077", | ||
"@firebase/app": "0.10.7-canary.3f2c12a07", | ||
"@firebase/util": "1.9.7-canary.3f2c12a07", | ||
"@firebase/logger": "0.4.2-canary.3f2c12a07", | ||
"@firebase/component": "0.6.8-canary.3f2c12a07", | ||
"tslib": "^2.1.0" | ||
@@ -50,0 +50,0 @@ }, |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
260879
3401
+ Added@firebase/app@0.10.7-canary.3f2c12a07(transitive)
+ Added@firebase/component@0.6.8-canary.3f2c12a07(transitive)
+ Added@firebase/logger@0.4.2-canary.3f2c12a07(transitive)
+ Added@firebase/util@1.9.7-canary.3f2c12a07(transitive)
- Removed@firebase/app@0.10.7-canary.14b772077(transitive)
- Removed@firebase/component@0.6.8-canary.14b772077(transitive)
- Removed@firebase/logger@0.4.2-canary.14b772077(transitive)
- Removed@firebase/util@1.9.7-canary.14b772077(transitive)