Socket
Socket
Sign inDemoInstall

@firebase/app-compat

Package Overview
Dependencies
Maintainers
4
Versions
1151
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-canary.14b772077 to 0.2.37-canary.23581c6d9

6

dist/esm/index.esm2017.js

@@ -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.23581c6d9";

@@ -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.23581c6d9";

@@ -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.23581c6d9";

@@ -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.23581c6d9";

@@ -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.23581c6d9";

@@ -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.23581c6d9",
"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.23581c6d9",
"@firebase/util": "1.9.7-canary.23581c6d9",
"@firebase/logger": "0.4.2-canary.23581c6d9",
"@firebase/component": "0.6.8-canary.23581c6d9",
"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

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