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

balena-universal-ga

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

balena-universal-ga - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1-fix-loader-inclusion-c2e664c50af611544ee72477ef97254d7407da92

vendor/ga-loader.d.ts

2

build/browser.js
"use strict";
if (window.ga === undefined) {
require('./ga-loader');
require('../vendor/ga-loader');
}

@@ -5,0 +5,0 @@ const TRACKER_NAME = 'resinAnalytics';

@@ -7,2 +7,7 @@ # Change Log

# v2.0.1
## (2020-07-15)
* Fix ga-loader inclusion [Pagan Gazzard]
# v2.0.0

@@ -9,0 +14,0 @@ ## (2020-07-15)

{
"name": "balena-universal-ga",
"version": "2.0.0",
"version": "2.0.1-fix-loader-inclusion-c2e664c50af611544ee72477ef97254d7407da92",
"description": "A CommonJS wrapper for both Node.js and browser (async) version of Google Analytics library",

@@ -8,4 +8,4 @@ "main": "build/node.js",

"scripts": {
"lint": "balena-lint -e js -e ts --typescript src/browser.js src/ga-loader.d.ts src/node.js",
"lint-fix": "balena-lint -e js -e ts --typescript --fix src/browser.js src/ga-loader.d.ts src/node.js",
"lint": "balena-lint -e js -e ts --typescript src vendor/ga-loader.d.ts",
"lint-fix": "balena-lint -e js -e ts --typescript --fix src vendor/ga-loader.d.ts",
"test": "npm run lint",

@@ -12,0 +12,0 @@ "prepare": "tsc"

if (window.ga === undefined) {
require('./ga-loader');
require('../vendor/ga-loader');
}

@@ -73,5 +73,5 @@

}
timeout = setTimeout(() => reject(new Error('Timed out')), 1000)
timeout = setTimeout(() => reject(new Error('Timed out')), 1000);
}).then(() => {
clearTimeout(timeout)
clearTimeout(timeout);
});

@@ -78,0 +78,0 @@ },

@@ -36,3 +36,3 @@ const ua = require('universal-analytics');

if (err) {
return reject(err)
return reject(err);
}

@@ -39,0 +39,0 @@ resolve(result);

@@ -22,4 +22,4 @@ {

"exclude": [
"./src/ga-loader.js"
"./vendor/ga-loader.js"
]
}

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