Socket
Socket
Sign inDemoInstall

@comunica/actor-abstract-mediatyped

Package Overview
Dependencies
Maintainers
5
Versions
92
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@comunica/actor-abstract-mediatyped - npm Package Compare versions

Comparing version 2.8.2 to 2.10.0

2

lib/ActorAbstractMediaTypedFixed.d.ts

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

constructor(args: IActorArgsMediaTypedFixed<HI, HT, HO>);
testHandle(action: HI, mediaType: string, context: IActionContext): Promise<HT>;
testHandle(action: HI, mediaType: string | undefined, context: IActionContext): Promise<HT>;
/**

@@ -12,0 +12,0 @@ * Check to see if this actor can handle the given action.

@@ -18,3 +18,3 @@ "use strict";

async testHandle(action, mediaType, context) {
if (!(mediaType in this.mediaTypePriorities)) {
if (!mediaType || !(mediaType in this.mediaTypePriorities)) {
throw new Error(`Unrecognized media type: ${mediaType}`);

@@ -21,0 +21,0 @@ }

{
"name": "@comunica/actor-abstract-mediatyped",
"version": "2.8.2",
"version": "2.10.0",
"description": "An abstract actor for handling mediatypes",

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

"dependencies": {
"@comunica/core": "^2.8.2",
"@comunica/types": "^2.8.2"
"@comunica/core": "^2.10.0",
"@comunica/types": "^2.10.0"
},

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

},
"gitHead": "293cf4edac83099ee3146a68161bea6b77edf300"
"gitHead": "4d8603ca7e7606ca8eaef305e8753b3f91668f4e"
}

Sorry, the diff of this file is not supported yet

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