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

@hackthenorth/analytics

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hackthenorth/analytics - npm Package Compare versions

Comparing version

to
0.0.11

2

dist/logger.js

@@ -37,3 +37,3 @@ "use strict";

navigator.sendBeacon(this.config.url, JSON.stringify({
uid: this.config.uuid,
uuid: this.config.uuid,
data: data !== null && data !== void 0 ? data : this.toLog.map((_a) => {

@@ -40,0 +40,0 @@ var { startTime } = _a, x = __rest(_a, ["startTime"]);

{
"name": "@hackthenorth/analytics",
"version": "0.0.10",
"version": "0.0.11",
"description": "",

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

@@ -46,4 +46,5 @@ import { v4 as uuidv4 } from "uuid";

JSON.stringify({
uid: this.config.uuid,
data: data ?? this.toLog.map(({ startTime, ...x}) => ({...x, start_time: startTime})),
uuid: this.config.uuid,
data: data ?? this.toLog.map(
({ startTime, ...x}) => ({...x, start_time: startTime})),
})

@@ -50,0 +51,0 @@ );