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

@comunica/core

Package Overview
Dependencies
Maintainers
3
Versions
94
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@comunica/core - npm Package Compare versions

Comparing version 1.9.2 to 1.13.0

18

lib/Actor.d.ts

@@ -39,5 +39,5 @@ import { Map } from "immutable";

* @param {ActionContext} context An optional context.
* @return {Logger} The logger or null.
* @return {Logger} The logger or undefined.
*/
static getContextLogger(context: ActionContext): Logger;
static getContextLogger(context?: ActionContext): Logger | undefined;
/**

@@ -85,9 +85,9 @@ * Check if this actor can run the given action,

deinitialize(): Promise<any>;
protected getDefaultLogData(context: ActionContext, data?: any): any;
protected logTrace(context: ActionContext, message: string, data?: any): void;
protected logDebug(context: ActionContext, message: string, data?: any): void;
protected logInfo(context: ActionContext, message: string, data?: any): void;
protected logWarn(context: ActionContext, message: string, data?: any): void;
protected logError(context: ActionContext, message: string, data?: any): void;
protected logFatal(context: ActionContext, message: string, data?: any): void;
protected getDefaultLogData(context: ActionContext | undefined, data?: any): any;
protected logTrace(context: ActionContext | undefined, message: string, data?: any): void;
protected logDebug(context: ActionContext | undefined, message: string, data?: any): void;
protected logInfo(context: ActionContext | undefined, message: string, data?: any): void;
protected logWarn(context: ActionContext | undefined, message: string, data?: any): void;
protected logError(context: ActionContext | undefined, message: string, data?: any): void;
protected logFatal(context: ActionContext | undefined, message: string, data?: any): void;
}

@@ -94,0 +94,0 @@ export interface IActorArgs<I extends IAction, T extends IActorTest, O extends IActorOutput> {

@@ -44,6 +44,6 @@ "use strict";

* @param {ActionContext} context An optional context.
* @return {Logger} The logger or null.
* @return {Logger} The logger or undefined.
*/
static getContextLogger(context) {
return context ? context.get(Logger_1.KEY_CONTEXT_LOG) : null;
return context && context.get(Logger_1.KEY_CONTEXT_LOG);
}

@@ -50,0 +50,0 @@ /**

@@ -17,2 +17,3 @@ "use strict";

}
exports.Logger = Logger;
/**

@@ -31,3 +32,2 @@ * All available logging levels.

};
exports.Logger = Logger;
/**

@@ -34,0 +34,0 @@ * @type {string} Context entry for a logger instance.

{
"name": "@comunica/core",
"version": "1.9.2",
"version": "1.13.0",
"description": "Lightweight, semantic and modular actor framework",

@@ -68,3 +68,3 @@ "lsd:module": "https://linkedsoftwaredependencies.org/bundles/npm/@comunica/core",

},
"gitHead": "bb6eef43498d23416b4e063d93e73c49f5575ff4"
"gitHead": "cd8df73fe091e3d7413147ec5301b47be2de392a"
}
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