Socket
Socket
Sign inDemoInstall

@firebase/analytics

Package Overview
Dependencies
Maintainers
5
Versions
2447
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@firebase/analytics - npm Package Compare versions

Comparing version 0.2.0-0 to 0.2.0-canary.3eb29cb

dist/index.test.d.ts

8

dist/index.cjs.js

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

var firebase = _interopDefault(require('@firebase/app'));
var tslib_1 = require('tslib');
var tslib = require('tslib');
require('@firebase/installations');

@@ -96,3 +96,3 @@ var util = require('@firebase/util');

if (!options || !options.global) {
params = tslib_1.__assign({}, eventParams, { 'send_to': analyticsId });
params = tslib.__assign(tslib.__assign({}, eventParams), { 'send_to': analyticsId });
}

@@ -194,6 +194,6 @@ // Workaround for http://b/141370449 - third argument cannot be undefined.

function initializeGAId(app, gtagCore) {
return tslib_1.__awaiter(this, void 0, void 0, function () {
return tslib.__awaiter(this, void 0, void 0, function () {
var fid;
var _a;
return tslib_1.__generator(this, function (_b) {
return tslib.__generator(this, function (_b) {
switch (_b.label) {

@@ -200,0 +200,0 @@ case 0: return [4 /*yield*/, app.installations().getId()];

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

if (!options || !options.global) {
params = __assign({}, eventParams, { 'send_to': analyticsId });
params = __assign(__assign({}, eventParams), { 'send_to': analyticsId });
}

@@ -92,0 +92,0 @@ // Workaround for http://b/141370449 - third argument cannot be undefined.

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

if (!options || !options.global) {
params = Object.assign({}, eventParams, { 'send_to': analyticsId });
params = Object.assign(Object.assign({}, eventParams), { 'send_to': analyticsId });
}

@@ -91,0 +91,0 @@ // Workaround for http://b/141370449 - third argument cannot be undefined.

{
"name": "@firebase/analytics",
"version": "0.2.0-0",
"version": "0.2.0-canary.3eb29cb",
"description": "A analytics package for new firebase packages",

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

"peerDependencies": {
"@firebase/app": "0.x",
"@firebase/app-types": "0.x"
"@firebase/app": "0.4.18-canary.3eb29cb",
"@firebase/app-types": "0.4.4-canary.3eb29cb"
},
"dependencies": {
"@firebase/analytics-types": "0.2.0-0",
"@firebase/installations": "0.2.7",
"@firebase/util": "0.2.28",
"@firebase/analytics-types": "0.2.0-canary.3eb29cb",
"@firebase/installations": "0.2.7-canary.3eb29cb",
"@firebase/util": "0.2.28-canary.3eb29cb",
"tslib": "1.10.0"

@@ -34,13 +34,13 @@ },

"devDependencies": {
"@types/chai": "4.2.0",
"@types/chai": "4.2.3",
"@types/mocha": "5.2.7",
"@types/sinon": "7.0.13",
"@typescript-eslint/parser": "2.0.0",
"@typescript-eslint/eslint-plugin": "2.0.0",
"@typescript-eslint/eslint-plugin-tslint": "2.0.0",
"@types/sinon": "7.5.0",
"@typescript-eslint/parser": "2.3.2",
"@typescript-eslint/eslint-plugin": "2.3.2",
"@typescript-eslint/eslint-plugin-tslint": "2.3.2",
"chai": "4.2.0",
"chai-as-promised": "7.1.1",
"eslint": "5.16.0",
"eslint": "6.5.1",
"eslint-plugin-import": "2.18.2",
"mocha": "6.2.0",
"mocha": "6.2.1",
"rollup-plugin-commonjs": "10.1.0",

@@ -50,10 +50,10 @@ "rollup-plugin-json": "4.0.0",

"rollup-plugin-uglify": "6.0.3",
"sinon": "7.4.1",
"sinon": "7.5.0",
"sinon-chai": "3.3.0",
"npm-run-all": "4.1.5",
"nyc": "14.1.1",
"rollup": "1.20.3",
"ts-loader": "6.0.4",
"typescript": "3.5.3",
"webpack": "4.39.3"
"rollup": "1.23.0",
"ts-loader": "6.2.0",
"typescript": "3.6.3",
"webpack": "4.41.0"
},

@@ -60,0 +60,0 @@ "repository": {

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