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

@apigames/logger

Package Overview
Dependencies
Maintainers
1
Versions
87
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@apigames/logger - npm Package Compare versions

Comparing version 22.1.0-dev.7 to 22.1.0-dev.8

7

lib/implementations/debug.console.logger.js

@@ -25,4 +25,7 @@ "use strict";

console.log(`${messageDate.toISOString()} ${typeStr.toUpperCase()} ${message}`);
if (!(0, json_1.isEmpty)(payload)) {
console.log(`${messageDate.toISOString()} PAYLOAD ${JSON.stringify(payload)}`);
if ((0, json_1.isDefined)(payload)) {
let payloadObject = payload;
if ((0, json_1.isError)(payload))
payloadObject = { name: payload.name, message: payload.message };
console.log(`${messageDate.toISOString()} PAYLOAD ${JSON.stringify(payloadObject)}`);
}

@@ -29,0 +32,0 @@ }),

@@ -27,4 +27,7 @@ "use strict";

console.log(`${messageDate.toISOString()} ${typeStr.toUpperCase()} ${message}`);
if (!(0, json_1.isEmpty)(payload)) {
console.log(`${messageDate.toISOString()} PAYLOAD [${JSON.stringify(payload).length} bytes]`);
if ((0, json_1.isDefined)(payload)) {
let payloadObject = payload;
if ((0, json_1.isError)(payload))
payloadObject = { name: payload.name, message: payload.message };
console.log(`${messageDate.toISOString()} PAYLOAD ${JSON.stringify(payloadObject)}`);
}

@@ -31,0 +34,0 @@ }

@@ -6,3 +6,3 @@ {

"license": "UNLICENSED",
"version": "22.1.0-dev.7",
"version": "22.1.0-dev.8",
"main": "lib/index.js",

@@ -9,0 +9,0 @@ "types": "lib/index.d.ts",

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