New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@firebase/analytics-compat

Package Overview
Dependencies
Maintainers
4
Versions
1173
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@firebase/analytics-compat - npm Package Compare versions

Comparing version 0.2.14-canary.2e2804139 to 0.2.14-canary.479226bf3

2

dist/esm/index.esm2017.js

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

const name = "@firebase/analytics-compat";
const version = "0.2.14-canary.2e2804139";
const version = "0.2.14-canary.479226bf3";

@@ -9,0 +9,0 @@ /**

@@ -13,4 +13,4 @@ 'use strict';

var name = "@firebase/analytics-compat";
var version = "0.2.14-canary.2e2804139";
const name = "@firebase/analytics-compat";
const version = "0.2.14-canary.479226bf3";

@@ -33,10 +33,10 @@ /**

*/
var AnalyticsService = /** @class */ (function () {
function AnalyticsService(app, _delegate) {
class AnalyticsService {
constructor(app, _delegate) {
this.app = app;
this._delegate = _delegate;
}
AnalyticsService.prototype.logEvent = function (eventName, eventParams, options) {
logEvent(eventName, eventParams, options) {
analytics.logEvent(this._delegate, eventName, eventParams, options);
};
}
/**

@@ -46,16 +46,15 @@ * @deprecated Use {@link logEvent} with `eventName` as 'screen_view' and add relevant `eventParams`.

*/
AnalyticsService.prototype.setCurrentScreen = function (screenName, options) {
setCurrentScreen(screenName, options) {
analytics.setCurrentScreen(this._delegate, screenName, options);
};
AnalyticsService.prototype.setUserId = function (id, options) {
}
setUserId(id, options) {
analytics.setUserId(this._delegate, id, options);
};
AnalyticsService.prototype.setUserProperties = function (properties, options) {
}
setUserProperties(properties, options) {
analytics.setUserProperties(this._delegate, properties, options);
};
AnalyticsService.prototype.setAnalyticsCollectionEnabled = function (enabled) {
}
setAnalyticsCollectionEnabled(enabled) {
analytics.setAnalyticsCollectionEnabled(this._delegate, enabled);
};
return AnalyticsService;
}());
}
}

@@ -135,10 +134,10 @@ /**

*/
var factory = function (container) {
const factory = (container) => {
// Dependencies
var app = container.getProvider('app-compat').getImmediate();
var analyticsServiceExp = container.getProvider('analytics').getImmediate();
const app = container.getProvider('app-compat').getImmediate();
const analyticsServiceExp = container.getProvider('analytics').getImmediate();
return new AnalyticsService(app, analyticsServiceExp);
};
function registerAnalytics() {
var namespaceExports = {
const namespaceExports = {
Analytics: AnalyticsService,

@@ -148,3 +147,3 @@ settings: analytics.settings,

// We removed this enum in exp so need to re-create it here for compat.
EventName: EventName
EventName
};

@@ -151,0 +150,0 @@ firebase__default["default"].INTERNAL.registerComponent(new component.Component('analytics-compat', factory, "PUBLIC" /* ComponentType.PUBLIC */)

{
"name": "@firebase/analytics-compat",
"version": "0.2.14-canary.2e2804139",
"version": "0.2.14-canary.479226bf3",
"description": "",

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

"module": "dist/esm/index.esm2017.js",
"esm5": "dist/esm/index.esm.js",
"exports": {

@@ -15,3 +14,2 @@ ".": {

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

@@ -26,6 +24,6 @@ },

"peerDependencies": {
"@firebase/app-compat": "0.2.43-canary.2e2804139"
"@firebase/app-compat": "0.2.43-canary.479226bf3"
},
"devDependencies": {
"@firebase/app-compat": "0.2.43-canary.2e2804139",
"@firebase/app-compat": "0.2.43-canary.479226bf3",
"rollup": "2.79.1",

@@ -60,6 +58,6 @@ "@rollup/plugin-json": "4.1.0",

"dependencies": {
"@firebase/component": "0.6.9-canary.2e2804139",
"@firebase/analytics": "0.10.8-canary.2e2804139",
"@firebase/analytics-types": "0.8.2-canary.2e2804139",
"@firebase/util": "1.10.0-canary.2e2804139",
"@firebase/component": "0.6.9-canary.479226bf3",
"@firebase/analytics": "0.10.8-canary.479226bf3",
"@firebase/analytics-types": "0.8.2-canary.479226bf3",
"@firebase/util": "1.10.0-canary.479226bf3",
"tslib": "^2.1.0"

@@ -66,0 +64,0 @@ },

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