Socket
Socket
Sign inDemoInstall

@comunica/context-entries

Package Overview
Dependencies
Maintainers
5
Versions
71
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@comunica/context-entries - npm Package Compare versions

Comparing version 2.4.0 to 2.5.0

lib/index.js.map

24

lib/Keys.d.ts

@@ -39,3 +39,23 @@ import { ActionContextKey } from '@comunica/core';

httpBodyTimeout: ActionContextKey<boolean>;
/**
* Number of retries to make on failed network calls. This only takes effect
* on errors thrown during the initial fetch() call and not while streaming the body.
*/
httpRetryCount: ActionContextKey<number>;
/**
* Delay in milliseconds to wait between fetch retries. Requires httpRetryCount to be set.
*/
httpRetryDelay: ActionContextKey<number>;
/**
* Retry fetch, if server replies with a 5xx error response. Requires httpRetryCount to be set.
*/
httpRetryOnServerError: ActionContextKey<number>;
};
export declare const KeysHttpWayback: {
/**
* Use the WayBack machine to get the most recent representation of a file if a link is broken.
* @default false
*/
recoverBrokenLinks: ActionContextKey<boolean>;
};
export declare const KeysHttpMemento: {

@@ -159,2 +179,6 @@ /**

unionDefaultGraph: ActionContextKey<boolean>;
/**
* An indicator that the operator should apply blank node localization
*/
localizeBlankNodes: ActionContextKey<boolean>;
};

@@ -161,0 +185,0 @@ export declare const KeysRdfParseJsonLd: {

26

lib/Keys.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.KeysRdfUpdateQuads = exports.KeysRdfResolveQuadPattern = exports.KeysRdfParseHtmlScript = exports.KeysRdfParseJsonLd = exports.KeysQueryOperation = exports.KeysInitQuery = exports.KeysHttpProxy = exports.KeysHttpMemento = exports.KeysHttp = exports.KeysCore = void 0;
exports.KeysRdfUpdateQuads = exports.KeysRdfResolveQuadPattern = exports.KeysRdfParseHtmlScript = exports.KeysRdfParseJsonLd = exports.KeysQueryOperation = exports.KeysInitQuery = exports.KeysHttpProxy = exports.KeysHttpMemento = exports.KeysHttpWayback = exports.KeysHttp = exports.KeysCore = void 0;
const core_1 = require("@comunica/core");

@@ -39,3 +39,23 @@ /**

httpBodyTimeout: new core_1.ActionContextKey('@comunica/bus-http:http-body-timeout'),
/**
* Number of retries to make on failed network calls. This only takes effect
* on errors thrown during the initial fetch() call and not while streaming the body.
*/
httpRetryCount: new core_1.ActionContextKey('@comunica/bus-http:http-retry-count'),
/**
* Delay in milliseconds to wait between fetch retries. Requires httpRetryCount to be set.
*/
httpRetryDelay: new core_1.ActionContextKey('@comunica/bus-http:http-retry-delay'),
/**
* Retry fetch, if server replies with a 5xx error response. Requires httpRetryCount to be set.
*/
httpRetryOnServerError: new core_1.ActionContextKey('@comunica/bus-http:http-retry-on-server-error'),
};
exports.KeysHttpWayback = {
/**
* Use the WayBack machine to get the most recent representation of a file if a link is broken.
* @default false
*/
recoverBrokenLinks: new core_1.ActionContextKey('@comunica/bus-http:recover-broken-links'),
};
exports.KeysHttpMemento = {

@@ -159,2 +179,6 @@ /**

unionDefaultGraph: new core_1.ActionContextKey('@comunica/bus-query-operation:unionDefaultGraph'),
/**
* An indicator that the operator should apply blank node localization
*/
localizeBlankNodes: new core_1.ActionContextKey('@comunica/actor-query-operation:localizeBlankNodes'),
};

@@ -161,0 +185,0 @@ exports.KeysRdfParseJsonLd = {

11

package.json
{
"name": "@comunica/context-entries",
"version": "2.4.0",
"version": "2.5.0",
"description": "A collection of reusable Comunica context key definitions.",

@@ -30,7 +30,8 @@ "main": "lib/index.js",

"lib/**/*.d.ts",
"lib/**/*.js"
"lib/**/*.js",
"lib/**/*.js.map"
],
"dependencies": {
"@comunica/core": "^2.4.0",
"@comunica/types": "^2.4.0",
"@comunica/core": "^2.5.0",
"@comunica/types": "^2.5.0",
"@rdfjs/types": "*",

@@ -43,3 +44,3 @@ "jsonld-context-parser": "^2.1.5",

},
"gitHead": "cb5a1560c9ab9ebaf3335888a1411a7e1654de1e"
"gitHead": "349d57f5d1e539200e980bdff96973c2e0b66caa"
}
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