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

@comunica/core

Package Overview
Dependencies
Maintainers
5
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 2.0.7-alpha.10.0 to 2.2.0

1

lib/ActionContext.d.ts

@@ -17,2 +17,3 @@ import type { IActionContext, IActionContextKey } from '@comunica/types';

getRaw(key: string): any | undefined;
getSafe<V>(key: IActionContextKey<V>): V;
has<V>(key: IActionContextKey<V>): boolean;

@@ -19,0 +20,0 @@ hasRaw(key: string): boolean;

@@ -33,2 +33,8 @@ "use strict";

}
getSafe(key) {
if (!this.has(key)) {
throw new Error(`Context entry ${key.name} is required but not available`);
}
return this.get(key);
}
has(key) {

@@ -35,0 +41,0 @@ return this.hasRaw(key.name);

@@ -115,1 +115,3 @@ import type { ActionObserver } from './ActionObserver';

}
export declare type IReply<I extends IAction = IAction, O extends IActorOutput = IActorOutput, T extends IActorTest = IActorTest> = IActorReply<Actor<I, T, O>, I, T, O>;
export declare type IBus<I extends IAction = IAction, O extends IActorOutput = IActorOutput, T extends IActorTest = IActorTest> = Bus<Actor<I, T, O>, I, T, O>;

8

package.json
{
"name": "@comunica/core",
"version": "2.0.7-alpha.10.0",
"version": "2.2.0",
"description": "Lightweight, semantic and modular actor framework",

@@ -38,4 +38,4 @@ "lsd:module": true,

"dependencies": {
"@comunica/types": "2.0.7-alpha.10.0",
"immutable": "^3.8.2"
"@comunica/types": "^2.2.0",
"immutable": "^4.0.0"
},

@@ -47,3 +47,3 @@ "scripts": {

},
"gitHead": "9ad64da7bae9dda857e12b7bb0b3af58d5f0f2af"
"gitHead": "00d4108e46250fb94b586bfb8caf5e8b1c704160"
}
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