Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@ludens-reklame/profiler-client

Package Overview
Dependencies
Maintainers
9
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 2.4.0 to 2.4.1

23

dist/Profiler.js

@@ -205,7 +205,7 @@ "use strict";

return __awaiter(this, void 0, void 0, function () {
var firstParty, thirdParty, response, json, error_6;
var firstParty, thirdParty, json, error_6;
return __generator(this, function (_a) {
switch (_a.label) {
case 0:
_a.trys.push([0, 4, , 5]);
_a.trys.push([0, 3, , 4]);
if (!(document &&

@@ -215,3 +215,3 @@ 'referrer' in document &&

'location' in window &&
!this.sid)) return [3 /*break*/, 3];
!this.sid)) return [3 /*break*/, 2];
firstParty = window.location.href;

@@ -225,17 +225,14 @@ thirdParty = document.referrer;

case 1:
response = _a.sent();
json = _a.sent();
this.handlePersonalizations();
return [4 /*yield*/, response.json()];
case 2:
json = _a.sent();
if (json && 'sessionId' in json) {
this.setSid(json.sessionId);
}
_a.label = 3;
case 3: return [3 /*break*/, 5];
case 4:
_a.label = 2;
case 2: return [3 /*break*/, 4];
case 3:
error_6 = _a.sent();
console.error(error_6);
return [3 /*break*/, 5];
case 5: return [2 /*return*/];
return [3 /*break*/, 4];
case 4: return [2 /*return*/];
}

@@ -382,3 +379,3 @@ });

}
return [2 /*return*/, response];
return [2 /*return*/, responseJSON];
}

@@ -385,0 +382,0 @@ });

{
"name": "@ludens-reklame/profiler-client",
"version": "2.4.0",
"version": "2.4.1",
"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