Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@firebase/app-compat

Package Overview
Dependencies
Maintainers
4
Versions
1192
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@firebase/app-compat - npm Package Compare versions

Comparing version 0.2.37 to 0.2.38-20240730204232

4

dist/app-compat-public.d.ts

@@ -49,3 +49,3 @@ import { Compat } from '@firebase/util';

declare interface FirebaseAppContructor {
declare interface FirebaseAppConstructor {
new (): FirebaseApp;

@@ -85,3 +85,3 @@ }

*/
App: FirebaseAppContructor;
App: FirebaseAppConstructor;
};

@@ -88,0 +88,0 @@ /**

@@ -49,3 +49,3 @@ import { Compat } from '@firebase/util';

declare interface FirebaseAppContructor {
declare interface FirebaseAppConstructor {
new (): FirebaseApp;

@@ -85,3 +85,3 @@ }

*/
App: FirebaseAppContructor;
App: FirebaseAppConstructor;
};

@@ -88,0 +88,0 @@ /**

@@ -76,3 +76,3 @@ import { ErrorFactory, contains, deepExtend, createSubscribe, isBrowser } from '@firebase/util';

this._delegate.checkDestroyed();
// Initialize instance if InstatiationMode is `EXPLICIT`.
// Initialize instance if InstantiationMode is `EXPLICIT`.
const provider = this._delegate.container.getProvider(name);

@@ -373,3 +373,3 @@ if (!provider.isInitialized() &&

const name = "@firebase/app-compat";
const version = "0.2.37";
const version = "0.2.38-20240730204232";

@@ -415,3 +415,3 @@ /**

// eslint-disable-next-line @typescript-eslint/no-explicit-any
if (isBrowser() && self.firebase !== undefined) {
if (isBrowser() && window.firebase !== undefined) {
logger.warn(`

@@ -422,3 +422,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) {

@@ -425,0 +425,0 @@ logger.warn(`

@@ -92,3 +92,3 @@ import { ErrorFactory, contains, deepExtend, createSubscribe, isBrowser } from '@firebase/util';

this._delegate.checkDestroyed();
// Initialize instance if InstatiationMode is `EXPLICIT`.
// Initialize instance if InstantiationMode is `EXPLICIT`.
var provider = this._delegate.container.getProvider(name);

@@ -394,3 +394,3 @@ if (!provider.isInitialized() &&

var name = "@firebase/app-compat";
var version = "0.2.37";
var version = "0.2.38-20240730204232";

@@ -436,6 +436,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) {

@@ -442,0 +442,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;

@@ -33,3 +33,3 @@ /**

}
interface FirebaseAppContructor {
interface FirebaseAppConstructor {
new (): FirebaseApp;

@@ -80,3 +80,3 @@ }

*/
App: FirebaseAppContructor;
App: FirebaseAppConstructor;
};

@@ -83,0 +83,0 @@ /**

@@ -113,3 +113,3 @@ 'use strict';

this._delegate.checkDestroyed();
// Initialize instance if InstatiationMode is `EXPLICIT`.
// Initialize instance if InstantiationMode is `EXPLICIT`.
var provider = this._delegate.container.getProvider(name);

@@ -415,3 +415,3 @@ if (!provider.isInitialized() &&

var name = "@firebase/app-compat";
var version = "0.2.37";
var version = "0.2.38-20240730204232";

@@ -457,6 +457,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) {

@@ -463,0 +463,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";
var version = "0.2.38-20240730204232";

@@ -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";
const version = "0.2.38-20240730204232";

@@ -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;

@@ -33,3 +33,3 @@ /**

}
interface FirebaseAppContructor {
interface FirebaseAppConstructor {
new (): FirebaseApp;

@@ -80,3 +80,3 @@ }

*/
App: FirebaseAppContructor;
App: FirebaseAppConstructor;
};

@@ -83,0 +83,0 @@ /**

{
"name": "@firebase/app-compat",
"version": "0.2.37",
"version": "0.2.38-20240730204232",
"description": "The primary entrypoint to the Firebase JS SDK",

@@ -5,0 +5,0 @@ "author": "Firebase <firebase-support@google.com> (https://firebase.google.com/)",

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc