@firebase/analytics
Advanced tools
Comparing version 0.2.0-0 to 0.2.0-canary.9fcd221
@@ -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.9fcd221", | ||
"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.9fcd221", | ||
"@firebase/app-types": "0.4.4-canary.9fcd221" | ||
}, | ||
"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.9fcd221", | ||
"@firebase/installations": "0.2.7-canary.9fcd221", | ||
"@firebase/util": "0.2.28-canary.9fcd221", | ||
"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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
169794
20
1874
0
+ Added@firebase/analytics-types@0.2.0-canary.9fcd221(transitive)
+ Added@firebase/app@0.4.18-canary.9fcd221(transitive)
+ Added@firebase/app-types@0.4.4-canary.9fcd221(transitive)
+ Added@firebase/installations@0.2.7-canary.9fcd221(transitive)
+ Added@firebase/installations-types@0.1.2-canary.9fcd221(transitive)
+ Added@firebase/logger@0.1.25-canary.9fcd221(transitive)
+ Added@firebase/util@0.2.28-canary.9fcd221(transitive)
+ Addeddom-storage@2.1.0(transitive)
+ Addedxmlhttprequest@1.8.0(transitive)
- Removed@firebase/analytics-types@0.2.0-0(transitive)
- Removed@firebase/app@0.10.17(transitive)
- Removed@firebase/app-types@0.9.3(transitive)
- Removed@firebase/component@0.6.11(transitive)
- Removed@firebase/installations@0.2.7(transitive)
- Removed@firebase/installations-types@0.1.2(transitive)
- Removed@firebase/logger@0.4.4(transitive)
- Removed@firebase/util@0.2.281.10.2(transitive)
- Removedidb@7.1.1(transitive)
- Removedtslib@2.8.1(transitive)