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

@artus/core

Package Overview
Dependencies
Maintainers
7
Versions
96
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@artus/core - npm Package Compare versions

Comparing version 1.0.0-beta.7 to 1.0.0-beta.8

2

lib/logger/impl.d.ts

@@ -11,3 +11,3 @@ import { BaseLogger } from './base';

fatal(message: string | Error, ...args: any[]): void;
log({ level, message, args }: LogOptions): void;
log({ level, message, splat }: LogOptions): void;
}

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

}
log({ level, message, args = [] }) {
log({ level, message, splat = [] }) {
var _a;
if (message instanceof Error) {
if (level === level_1.LoggerLevel.ERROR) {
return this.error(message, ...args);
return this.error(message, ...splat);
}

@@ -66,18 +66,18 @@ message = (_a = message.stack) !== null && _a !== void 0 ? _a : message.message;

case level_1.LoggerLevel.TRACE:
this.trace(message, ...args);
this.trace(message, ...splat);
break;
case level_1.LoggerLevel.DEBUG:
this.debug(message, ...args);
this.debug(message, ...splat);
break;
case level_1.LoggerLevel.INFO:
this.info(message, ...args);
this.info(message, ...splat);
break;
case level_1.LoggerLevel.WARN:
this.warn(message, ...args);
this.warn(message, ...splat);
break;
case level_1.LoggerLevel.ERROR:
this.error(message, ...args);
this.error(message, ...splat);
break;
case level_1.LoggerLevel.FATAL:
this.fatal(message, ...args);
this.fatal(message, ...splat);
break;

@@ -84,0 +84,0 @@ }

@@ -8,3 +8,3 @@ import { LoggerLevel } from './level';

message: string | Error;
args?: any[];
splat?: any[];
}

@@ -11,0 +11,0 @@ export interface Logger {

{
"name": "@artus/core",
"version": "1.0.0-beta.7",
"version": "1.0.0-beta.8",
"description": "Core package of Artus",

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

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