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

cross-project-diagnostics

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cross-project-diagnostics - npm Package Compare versions

Comparing version 0.1.1 to 0.1.2

1

lib/definitions.d.ts

@@ -12,2 +12,3 @@ export declare enum Level {

export declare type DiagnosticRecord = {
time: string;
module: string;

@@ -14,0 +15,0 @@ requestId: string;

9

lib/diagnostic-manager.js

@@ -95,8 +95,13 @@ "use strict";

const { funName, message, attachment } = data;
return {
const result = {
time: (new Date()).toISOString(),
module: this.diagnosticDescriptor.module,
version: this.diagnosticDescriptor.version,
requestId: this.diagnosticDescriptor.requestId,
funName, message, level: definitions_1.getLabelByLevel(level), attachment
funName, message, level: definitions_1.getLabelByLevel(level)
};
if (attachment) {
result.attachment = attachment;
}
return result;
}

@@ -103,0 +108,0 @@ }

{
"name": "cross-project-diagnostics",
"version": "0.1.1",
"version": "0.1.2",
"description": "Gapminder Cross-project Diagnostics functionality",

@@ -5,0 +5,0 @@ "author": "Vyacheslav Chub<vyacheslav.chub@valor-software.com>",

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