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

@mrporter/frontend-monitoring

Package Overview
Dependencies
Maintainers
2
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mrporter/frontend-monitoring - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

14

dist/index.js

@@ -34,11 +34,9 @@ 'use strict';

if (Math.random() < sampleRate) {
if (!this.client) {
console.log('Keen Event (Dev Mode): ', event);
} else if (event) {
var collection = event.collection;
var event_data = event.event_data;
if (!this.client) {
console.log('Keen Event (Dev Mode): ', event);
} else if (event && Math.random() < sampleRate) {
var collection = event.collection;
var event_data = event.event_data;
this.client.addEvent(collection, { event_data: event_data });
}
this.client.addEvent(collection, { event_data: event_data });
}

@@ -45,0 +43,0 @@ }

{
"name": "@mrporter/frontend-monitoring",
"version": "1.0.1",
"version": "1.0.2",
"description": "Utils and Events for MRP front end monitoring",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

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