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

@ludens-reklame/profiler-client

Package Overview
Dependencies
Maintainers
6
Versions
61
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ludens-reklame/profiler-client - npm Package Compare versions

Comparing version 0.3.2 to 0.3.3

2

dist/Profiler.d.ts

@@ -29,2 +29,4 @@ interface Opts {

private contactRef;
private personalize;
private hasPersonalized;
constructor(opts: Opts);

@@ -31,0 +33,0 @@ push(opts: PushOpts): Promise<void>;

@@ -42,7 +42,9 @@ "use strict";

function Profiler(opts) {
this.hasPersonalized = false;
this.organization = opts.organization;
this.personalize = opts.personalize || false;
if (window && 'localStorage' in window) {
this.contactRef = window.localStorage.getItem('profilerRef');
}
if (opts.personalize) {
if (this.personalize && this.contactRef) {
this.handlePersonalizations();

@@ -162,2 +164,3 @@ }

}
this.hasPersonalized = true;
_a.label = 2;

@@ -201,2 +204,5 @@ case 2: return [3 /*break*/, 4];

this.contactRef = json.ref;
if (this.personalize && !this.hasPersonalized && this.contactRef) {
this.handlePersonalizations();
}
}

@@ -203,0 +209,0 @@ return [3 /*break*/, 4];

2

package.json
{
"name": "@ludens-reklame/profiler-client",
"version": "0.3.2",
"version": "0.3.3",
"description": "Profiler for all",

@@ -5,0 +5,0 @@ "main": "dist/index.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