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

@firebase/messaging-compat

Package Overview
Dependencies
Maintainers
5
Versions
1119
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@firebase/messaging-compat - npm Package Compare versions

Comparing version 0.1.0-2021720181311 to 0.1.0-2021724205917

12

dist/index.cjs.js

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

var name = "@firebase/messaging-compat";
var version = "0.1.0-2021720181311";
var version = "0.1.0-2021724205917";

@@ -80,10 +80,10 @@ /**

var messagingCompatFactory = function (container) {
if (!!navigator) {
if (self && 'ServiceWorkerGlobalScope' in self) {
// in sw
return new MessagingCompatImpl(container.getProvider('app-compat').getImmediate(), container.getProvider('messaging-sw').getImmediate());
}
else {
// in window
return new MessagingCompatImpl(container.getProvider('app-compat').getImmediate(), container.getProvider('messaging').getImmediate());
}
else {
// in sw
return new MessagingCompatImpl(container.getProvider('app-compat').getImmediate(), container.getProvider('messaging-sw').getImmediate());
}
};

@@ -90,0 +90,0 @@ function registerMessagingCompat() {

@@ -8,3 +8,3 @@ import firebase from '@firebase/app-compat';

var name = "@firebase/messaging-compat";
var version = "0.1.0-2021720181311";
var version = "0.1.0-2021724205917";

@@ -74,10 +74,10 @@ /**

var messagingCompatFactory = function (container) {
if (!!navigator) {
if (self && 'ServiceWorkerGlobalScope' in self) {
// in sw
return new MessagingCompatImpl(container.getProvider('app-compat').getImmediate(), container.getProvider('messaging-sw').getImmediate());
}
else {
// in window
return new MessagingCompatImpl(container.getProvider('app-compat').getImmediate(), container.getProvider('messaging').getImmediate());
}
else {
// in sw
return new MessagingCompatImpl(container.getProvider('app-compat').getImmediate(), container.getProvider('messaging-sw').getImmediate());
}
};

@@ -84,0 +84,0 @@ function registerMessagingCompat() {

@@ -7,3 +7,3 @@ import firebase from '@firebase/app-compat';

const name = "@firebase/messaging-compat";
const version = "0.1.0-2021720181311";
const version = "0.1.0-2021724205917";

@@ -64,10 +64,10 @@ /**

const messagingCompatFactory = (container) => {
if (!!navigator) {
if (self && 'ServiceWorkerGlobalScope' in self) {
// in sw
return new MessagingCompatImpl(container.getProvider('app-compat').getImmediate(), container.getProvider('messaging-sw').getImmediate());
}
else {
// in window
return new MessagingCompatImpl(container.getProvider('app-compat').getImmediate(), container.getProvider('messaging').getImmediate());
}
else {
// in sw
return new MessagingCompatImpl(container.getProvider('app-compat').getImmediate(), container.getProvider('messaging-sw').getImmediate());
}
};

@@ -74,0 +74,0 @@ function registerMessagingCompat() {

{
"name": "@firebase/messaging-compat",
"version": "0.1.0-2021720181311",
"version": "0.1.0-2021724205917",
"license": "Apache-2.0",

@@ -30,12 +30,12 @@ "description": "",

"peerDependencies": {
"@firebase/app-compat": "0.1.0-2021720181311"
"@firebase/app-compat": "0.1.0-2021724205917"
},
"dependencies": {
"@firebase/messaging": "0.9.0-2021720181311",
"@firebase/component": "0.5.6-2021720181311",
"@firebase/util": "1.3.0-2021720181311",
"@firebase/messaging": "0.9.0-2021724205917",
"@firebase/component": "0.5.6",
"@firebase/util": "1.3.0",
"tslib": "^2.1.0"
},
"devDependencies": {
"@firebase/app-compat": "0.1.0-2021720181311",
"@firebase/app-compat": "0.1.0-2021724205917",
"@rollup/plugin-json": "4.1.0",

@@ -42,0 +42,0 @@ "rollup-plugin-typescript2": "0.30.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