Socket
Book a DemoInstallSign in
Socket

@firebase/installations

Package Overview
Dependencies
Maintainers
4
Versions
2983
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@firebase/installations - npm Package Compare versions

Comparing version

to
0.6.18-canary.574800585

dist/esm/index.esm.js

28

dist/index.cjs.js

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

const name = "@firebase/installations";
const version = "0.6.18-20250626140224";
const version = "0.6.18-canary.574800585";

@@ -273,3 +273,3 @@ /**

}
catch (_a) {
catch {
// FID generation errored

@@ -786,3 +786,6 @@ return INVALID_FID;

if (hasAuthTokenRequestTimedOut(oldAuthToken)) {
return Object.assign(Object.assign({}, oldEntry), { authToken: { requestStatus: 0 /* RequestStatus.NOT_STARTED */ } });
return {
...oldEntry,
authToken: { requestStatus: 0 /* RequestStatus.NOT_STARTED */ }
};
}

@@ -795,3 +798,6 @@ return oldEntry;

const authToken = await generateAuthTokenRequest(installations, installationEntry);
const updatedInstallationEntry = Object.assign(Object.assign({}, installationEntry), { authToken });
const updatedInstallationEntry = {
...installationEntry,
authToken
};
await set(installations.appConfig, updatedInstallationEntry);

@@ -808,3 +814,6 @@ return authToken;

else {
const updatedInstallationEntry = Object.assign(Object.assign({}, installationEntry), { authToken: { requestStatus: 0 /* RequestStatus.NOT_STARTED */ } });
const updatedInstallationEntry = {
...installationEntry,
authToken: { requestStatus: 0 /* RequestStatus.NOT_STARTED */ }
};
await set(installations.appConfig, updatedInstallationEntry);

@@ -834,3 +843,6 @@ }

};
return Object.assign(Object.assign({}, oldEntry), { authToken: inProgressAuthToken });
return {
...oldEntry,
authToken: inProgressAuthToken
};
}

@@ -1161,4 +1173,4 @@ function hasAuthTokenRequestTimedOut(authToken) {

app.registerVersion(name, version);
// BUILD_TARGET will be replaced by values like esm2017, cjs2017, etc during the compilation
app.registerVersion(name, version, 'cjs2017');
// BUILD_TARGET will be replaced by values like esm, cjs, etc during the compilation
app.registerVersion(name, version, 'cjs2020');

@@ -1165,0 +1177,0 @@ exports.deleteInstallations = deleteInstallations;

{
"name": "@firebase/installations",
"version": "0.6.18-20250626140224",
"version": "0.6.18-canary.574800585",
"author": "Firebase <firebase-support@google.com> (https://firebase.google.com/)",
"main": "dist/index.cjs.js",
"module": "dist/esm/index.esm2017.js",
"browser": "dist/esm/index.esm2017.js",
"module": "dist/esm/index.esm.js",
"browser": "dist/esm/index.esm.js",
"exports": {

@@ -12,3 +12,3 @@ ".": {

"require": "./dist/index.cjs.js",
"default": "./dist/esm/index.esm2017.js"
"default": "./dist/esm/index.esm.js"
},

@@ -53,3 +53,3 @@ "./package.json": "./package.json"

"devDependencies": {
"@firebase/app": "0.13.2-20250626140224",
"@firebase/app": "0.13.2-canary.574800585",
"rollup": "2.79.2",

@@ -64,7 +64,7 @@ "@rollup/plugin-commonjs": "21.1.0",

"peerDependencies": {
"@firebase/app": "0.13.2-20250626140224"
"@firebase/app": "0.13.2-canary.574800585"
},
"dependencies": {
"@firebase/util": "1.12.1-20250626140224",
"@firebase/component": "0.6.18-20250626140224",
"@firebase/util": "1.12.1-canary.574800585",
"@firebase/component": "0.6.18-canary.574800585",
"idb": "7.1.1",

@@ -71,0 +71,0 @@ "tslib": "^2.1.0"

Sorry, the diff of this file is not supported yet