Sign In

@firebase/app

Package Overview
Dependencies
Maintainers
4
Versions
3765
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@firebase/app - npm Package Compare versions

Comparing version
0.15.1
to
0.16.0-20260728185501
+0
-4
dist/app-public.d.ts

@@ -164,6 +164,2 @@ /**

measurementId?: string;
/**
* ReCAPTCHA Enterprise site key associated with this app.
*/
recaptchaSiteKey?: string;
}

@@ -170,0 +166,0 @@

@@ -198,6 +198,2 @@ /**

measurementId?: string;
/**
* ReCAPTCHA Enterprise site key associated with this app.
*/
recaptchaSiteKey?: string;
}

@@ -204,0 +200,0 @@

+3
-0

@@ -43,2 +43,5 @@ /**

appName: string;
mismatchedParam: string;
oldValue: string;
newValue: string;
};

@@ -45,0 +48,0 @@ [AppError.APP_DELETED]: {

@@ -411,6 +411,2 @@ /**

measurementId?: string;
/**
* ReCAPTCHA Enterprise site key associated with this app.
*/
recaptchaSiteKey?: string;
}

@@ -417,0 +413,0 @@ /**

@@ -143,6 +143,2 @@ /**

measurementId?: string;
/**
* ReCAPTCHA Enterprise site key associated with this app.
*/
recaptchaSiteKey?: string;
}

@@ -149,0 +145,0 @@ /**

@@ -43,2 +43,5 @@ /**

appName: string;
mismatchedParam: string;
oldValue: string;
newValue: string;
};

@@ -45,0 +48,0 @@ [AppError.APP_DELETED]: {

@@ -143,6 +143,2 @@ /**

measurementId?: string;
/**
* ReCAPTCHA Enterprise site key associated with this app.
*/
recaptchaSiteKey?: string;
}

@@ -149,0 +145,0 @@ /**

@@ -61,3 +61,3 @@ import { Component, ComponentContainer } from '@firebase/component';

const name$q = "@firebase/app";
const version$1 = "0.15.1";
const version$1 = "0.16.0-20260728185501";

@@ -133,3 +133,3 @@ /**

const name = "firebase";
const version = "12.16.0";
const version = "12.17.0-20260728185501";

@@ -363,3 +363,4 @@ /**

["bad-app-name" /* AppError.BAD_APP_NAME */]: "Illegal App name: '{$appName}'",
["duplicate-app" /* AppError.DUPLICATE_APP */]: "Firebase App named '{$appName}' already exists with different options or config",
["duplicate-app" /* AppError.DUPLICATE_APP */]: "Firebase App named '{$appName}' already exists with different {$mismatchedParam}." +
" Existing: '{$oldValue}'. New: '{$newValue}'.",
["app-deleted" /* AppError.APP_DELETED */]: "Firebase App named '{$appName}' already deleted",

@@ -621,8 +622,20 @@ ["server-app-deleted" /* AppError.SERVER_APP_DELETED */]: 'Firebase Server App has been deleted',

// return the existing app if options and config deep equal the ones in the existing app.
if (deepEqual(options, existingApp.options) &&
deepEqual(config, existingApp.config)) {
return existingApp;
if (!deepEqual(options, existingApp.options)) {
throw ERROR_FACTORY.create("duplicate-app" /* AppError.DUPLICATE_APP */, {
appName: name,
mismatchedParam: 'options',
oldValue: JSON.stringify(existingApp.options),
newValue: JSON.stringify(options)
});
}
else if (!deepEqual(config, existingApp.config)) {
throw ERROR_FACTORY.create("duplicate-app" /* AppError.DUPLICATE_APP */, {
appName: name,
mismatchedParam: 'config',
oldValue: JSON.stringify(existingApp.config),
newValue: JSON.stringify(config)
});
}
else {
throw ERROR_FACTORY.create("duplicate-app" /* AppError.DUPLICATE_APP */, { appName: name });
return existingApp;
}

@@ -1238,2 +1251,18 @@ }

*/
/**
* @license
* Copyright 2019 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
registerCoreComponents('');

@@ -1240,0 +1269,0 @@

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

const name$q = "@firebase/app";
const version$1 = "0.15.1";
const version$1 = "0.16.0-20260728185501";

@@ -136,3 +136,3 @@ /**

const name = "firebase";
const version = "12.16.0";
const version = "12.17.0-20260728185501";

@@ -366,3 +366,4 @@ /**

["bad-app-name" /* AppError.BAD_APP_NAME */]: "Illegal App name: '{$appName}'",
["duplicate-app" /* AppError.DUPLICATE_APP */]: "Firebase App named '{$appName}' already exists with different options or config",
["duplicate-app" /* AppError.DUPLICATE_APP */]: "Firebase App named '{$appName}' already exists with different {$mismatchedParam}." +
" Existing: '{$oldValue}'. New: '{$newValue}'.",
["app-deleted" /* AppError.APP_DELETED */]: "Firebase App named '{$appName}' already deleted",

@@ -624,8 +625,20 @@ ["server-app-deleted" /* AppError.SERVER_APP_DELETED */]: 'Firebase Server App has been deleted',

// return the existing app if options and config deep equal the ones in the existing app.
if (util.deepEqual(options, existingApp.options) &&
util.deepEqual(config, existingApp.config)) {
return existingApp;
if (!util.deepEqual(options, existingApp.options)) {
throw ERROR_FACTORY.create("duplicate-app" /* AppError.DUPLICATE_APP */, {
appName: name,
mismatchedParam: 'options',
oldValue: JSON.stringify(existingApp.options),
newValue: JSON.stringify(options)
});
}
else if (!util.deepEqual(config, existingApp.config)) {
throw ERROR_FACTORY.create("duplicate-app" /* AppError.DUPLICATE_APP */, {
appName: name,
mismatchedParam: 'config',
oldValue: JSON.stringify(existingApp.config),
newValue: JSON.stringify(config)
});
}
else {
throw ERROR_FACTORY.create("duplicate-app" /* AppError.DUPLICATE_APP */, { appName: name });
return existingApp;
}

@@ -1241,5 +1254,21 @@ }

*/
/**
* @license
* Copyright 2019 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
registerCoreComponents('node');
Object.defineProperty(exports, 'FirebaseError', {
Object.defineProperty(exports, "FirebaseError", {
enumerable: true,

@@ -1246,0 +1275,0 @@ get: function () { return util.FirebaseError; }

{
"name": "@firebase/app",
"version": "0.15.1",
"version": "0.16.0-20260728185501",
"description": "The primary entrypoint to the Firebase JS SDK",

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

"build:release": "rollup -c rollup.config.release.js && yarn api-report && yarn typings:public",
"build:deps": "lerna run build --scope @firebase/app",
"build:deps": "lerna run build --scope @firebase/app --include-dependencies",
"dev": "rollup -c -w",

@@ -43,5 +43,5 @@ "test": "run-p --npm-path npm lint test:all",

"dependencies": {
"@firebase/util": "1.15.1",
"@firebase/util": "1.15.2-20260728185501",
"@firebase/logger": "0.5.1",
"@firebase/component": "0.7.3",
"@firebase/component": "0.7.4-20260728185501",
"idb": "7.1.1",

@@ -53,3 +53,3 @@ "tslib": "^2.1.0"

"@rollup/plugin-json": "6.1.0",
"rollup": "2.79.2",
"rollup": "4.62.2",
"rollup-plugin-replace": "2.2.0",

@@ -56,0 +56,0 @@ "rollup-plugin-typescript2": "0.37.0",

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display