Socket
Socket
Sign inDemoInstall

@comunica/bus-http

Package Overview
Dependencies
Maintainers
4
Versions
97
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@comunica/bus-http - npm Package Compare versions

Comparing version 1.22.1 to 2.0.1-alpha.5.0

components/ActorHttp.jsonld

21

lib/ActorHttp.d.ts
/// <reference types="node" />
import { KeysHttp } from '@comunica/context-entries';
import type { IAction, IActorArgs, IActorOutput, IActorTest } from '@comunica/core';
import type { IAction, IActorArgs, IActorOutput, IActorTest, Mediate } from '@comunica/core';
import { Actor } from '@comunica/core';

@@ -18,4 +17,7 @@ /**

export declare abstract class ActorHttp extends Actor<IActionHttp, IActorTest, IActorHttpOutput> {
constructor(args: IActorArgs<IActionHttp, IActorTest, IActorHttpOutput>);
/**
* @param args - @defaultNested {<default_bus> a <cc:components/Bus.jsonld#Bus>} bus
*/
constructor(args: IActorHttpArgs);
/**
* Converts WhatWG streams to Node streams if required.

@@ -51,12 +53,3 @@ * Returns the input in case the stream already is a Node stream.

}
/**
* @type {string} Context entry for the include credentials flags.
* @deprecated Import this constant from @comunica/context-entries.
*/
export declare const KEY_CONTEXT_INCLUDE_CREDENTIALS = KeysHttp.includeCredentials;
/**
* @type {string} Context entry for the authentication for a source.
* @value {string} "username:password"-pair.
* @deprecated Import this constant from @comunica/context-entries.
*/
export declare const KEY_CONTEXT_AUTH = KeysHttp.auth;
export declare type IActorHttpArgs = IActorArgs<IActionHttp, IActorTest, IActorHttpOutput>;
export declare type MediatorHttp = Mediate<IActionHttp, IActorHttpOutput>;
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.KEY_CONTEXT_AUTH = exports.KEY_CONTEXT_INCLUDE_CREDENTIALS = exports.ActorHttp = void 0;
const context_entries_1 = require("@comunica/context-entries");
exports.ActorHttp = void 0;
const core_1 = require("@comunica/core");

@@ -22,2 +21,5 @@ const readable_web_to_node_stream_1 = require("readable-web-to-node-stream");

class ActorHttp extends core_1.Actor {
/**
* @param args - @defaultNested {<default_bus> a <cc:components/Bus.jsonld#Bus>} bus
*/
constructor(args) {

@@ -58,13 +60,2 @@ super(args);

exports.ActorHttp = ActorHttp;
/**
* @type {string} Context entry for the include credentials flags.
* @deprecated Import this constant from @comunica/context-entries.
*/
exports.KEY_CONTEXT_INCLUDE_CREDENTIALS = context_entries_1.KeysHttp.includeCredentials;
/**
* @type {string} Context entry for the authentication for a source.
* @value {string} "username:password"-pair.
* @deprecated Import this constant from @comunica/context-entries.
*/
exports.KEY_CONTEXT_AUTH = context_entries_1.KeysHttp.auth;
//# sourceMappingURL=ActorHttp.js.map
The MIT License (MIT)
Copyright © 2017–2018 Ruben Taelman, Joachim Van Herwegen
Ghent University – imec, Belgium
Copyright © 2017–now Ruben Taelman, Joachim Van Herwegen
Comunica Association and Ghent University – imec, Belgium

@@ -6,0 +6,0 @@ Permission is hereby granted, free of charge, to any person obtaining a copy

{
"name": "@comunica/bus-http",
"version": "1.22.1",
"version": "2.0.1-alpha.5.0",
"description": "A comunica bus for 'http' events.",
"lsd:module": true,
"main": "index.js",
"typings": "index",
"main": "lib/index.js",
"typings": "lib/index",
"repository": {

@@ -29,11 +29,7 @@ "type": "git",

"lib/**/*.d.ts",
"lib/**/*.js",
"index.d.ts",
"index.js"
"lib/**/*.js"
],
"peerDependencies": {
"@comunica/core": "^1.0.0"
},
"dependencies": {
"@comunica/context-entries": "^1.22.0",
"@comunica/context-entries": "2.0.1-alpha.5.0",
"@comunica/core": "2.0.1-alpha.5.0",
"@types/readable-stream": "^2.3.11",

@@ -44,26 +40,8 @@ "is-stream": "^2.0.0",

},
"devDependencies": {
"@comunica/core": "^1.22.0"
},
"jest": {
"globals": {
"ts-jest": {
"tsConfig": "../../tsconfig.json"
}
},
"transform": {
"^.+\\.ts$": "ts-jest"
},
"testRegex": "(/test/.*|(\\.|/)(test|spec))\\.ts$",
"moduleFileExtensions": [
"ts",
"js"
],
"collectCoverage": true
},
"scripts": {
"build": "node \"../../node_modules/typescript/bin/tsc\"",
"validate": "npm ls"
"build": "npm run build:ts && npm run build:components",
"build:ts": "node \"../../node_modules/typescript/bin/tsc\"",
"build:components": "componentsjs-generator"
},
"gitHead": "d9adc4e150de2bc4037fff369a9c62d9032b44bc"
"gitHead": "e2ae2e9e924bf0656df60cc99774f7e560d47695"
}

@@ -20,4 +20,4 @@ # Comunica Bus HTTP

* **Context**: `"https://linkedsoftwaredependencies.org/bundles/npm/@comunica/bus-http/^1.0.0/components/context.jsonld"`
* **Bus name**: `cbh:Bus/Http`
* **Context**: `"https://linkedsoftwaredependencies.org/bundles/npm/@comunica/bus-http/^2.0.0/components/context.jsonld"`
* **Bus name**: `ActorHttp:_default_bus`

@@ -24,0 +24,0 @@ ## Creating actors on this bus

Sorry, the diff of this file is not supported yet

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